@esri/solutions-components 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/card-manager/resources.json +2 -1
- package/dist/assets/t9n/card-manager/resources_en.json +2 -1
- package/dist/assets/t9n/comment-card/resources.json +2 -1
- package/dist/assets/t9n/comment-card/resources_en.json +2 -1
- package/dist/assets/t9n/crowdsource-manager/resources.json +2 -1
- package/dist/assets/t9n/crowdsource-manager/resources_en.json +2 -1
- package/dist/assets/t9n/edit-card/resources.json +3 -0
- package/dist/assets/t9n/edit-card/resources_en.json +3 -0
- package/dist/assets/t9n/info-card/resources.json +6 -0
- package/dist/assets/t9n/info-card/resources_en.json +6 -0
- package/dist/assets/t9n/layer-table/resources.json +10 -1
- package/dist/assets/t9n/layer-table/resources_en.json +10 -1
- package/dist/assets/t9n/map-card/resources.json +1 -7
- package/dist/assets/t9n/map-card/resources_en.json +1 -7
- package/dist/assets/t9n/map-tools/resources.json +9 -0
- package/dist/assets/t9n/map-tools/resources_en.json +9 -0
- package/dist/assets/t9n/media-card/resources.json +2 -1
- package/dist/assets/t9n/media-card/resources_en.json +2 -1
- package/dist/cjs/ExpandToggle-df2e8eee.js +117 -0
- package/dist/cjs/FloatingArrow-d1fa2c13.js +48 -0
- package/dist/cjs/Heading-9abe4b02.js +25 -0
- package/dist/cjs/app-globals-953584e9.js +64 -0
- package/dist/cjs/ar-88fbb2bf.js +98 -0
- package/dist/cjs/array-38a9541f.js +17 -0
- package/dist/cjs/bg-53305961.js +79 -0
- package/dist/cjs/browser-e514d838.js +24 -0
- package/dist/cjs/bs-8fb0c8a8.js +48 -0
- package/dist/cjs/buffer-tools_4.cjs.entry.js +17 -14
- package/dist/cjs/ca-33170ec7.js +68 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +10 -7
- package/dist/cjs/calcite-action-bar_2.cjs.entry.js +655 -0
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +384 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action_2.cjs.entry.js +407 -69
- package/dist/cjs/calcite-alert.cjs.entry.js +23 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +8 -8
- package/dist/cjs/calcite-block.cjs.entry.js +170 -0
- package/dist/cjs/calcite-button.cjs.entry.js +15 -12
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -8
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -6
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -11
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +15 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +1868 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +17 -10
- package/dist/cjs/calcite-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +13 -6
- package/dist/cjs/calcite-filter_3.cjs.entry.js +778 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -11
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
- package/dist/cjs/calcite-handle.cjs.entry.js +136 -0
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -11
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -13
- package/dist/cjs/calcite-input-text_4.cjs.entry.js +1852 -0
- package/dist/cjs/calcite-input-time-picker-a27cc51a.js +1624 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +15 -14
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -13
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +12 -5
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +8 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +80 -0
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
- package/dist/cjs/calcite-notice.cjs.entry.js +139 -0
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
- package/dist/cjs/calcite-panel_2.cjs.entry.js +17 -14
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -12
- package/dist/cjs/calcite-pick-list.cjs.entry.js +146 -0
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +35 -6
- package/dist/cjs/calcite-radio-button.cjs.entry.js +56 -26
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -12
- package/dist/cjs/calcite-scrim.cjs.entry.js +44 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +258 -0
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +32 -25
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -7
- package/dist/cjs/calcite-split-button.cjs.entry.js +122 -0
- package/dist/cjs/calcite-stack.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -8
- package/dist/cjs/calcite-stepper.cjs.entry.js +3 -3
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -8
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -12
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +8 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +10 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_3.cjs.entry.js +15 -48
- package/dist/cjs/card-manager_3.cjs.entry.js +658 -0
- package/dist/cjs/conditionalSlot-981d22ef.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +22 -10
- package/dist/cjs/cs-00bf51dd.js +144 -0
- package/dist/cjs/da-b4fe1bf6.js +63 -0
- package/dist/cjs/date-c378755c.js +250 -0
- package/dist/cjs/de-9df08c96.js +88 -0
- package/dist/cjs/de-at-dac7c3a1.js +87 -0
- package/dist/cjs/de-ch-2e005f38.js +87 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +3 -3
- package/dist/cjs/dom-af578b3b.js +954 -0
- package/dist/cjs/downloadUtils-6d4e269f.js +2729 -0
- package/dist/cjs/edit-card_2.cjs.entry.js +339 -0
- package/dist/cjs/el-bea67f78.js +63 -0
- package/dist/cjs/en-au-1d459a65.js +63 -0
- package/dist/cjs/en-ca-edc65793.js +62 -0
- package/dist/cjs/en-gb-6346d6a4.js +66 -0
- package/dist/cjs/es-aa822160.js +63 -0
- package/dist/cjs/es-mx-64988455.js +62 -0
- package/dist/cjs/et-e5a47682.js +89 -0
- package/dist/cjs/fi-92ac3b85.js +112 -0
- package/dist/cjs/filter-56d64d02.js +765 -0
- package/dist/cjs/floating-ui-b2a26a9a.js +1874 -0
- package/dist/cjs/focusTrapComponent-65d39be9.js +851 -0
- package/dist/cjs/form-f62ca3df.js +288 -0
- package/dist/cjs/fr-1c9ab5db.js +65 -0
- package/dist/cjs/fr-ch-67ccddcd.js +63 -0
- package/dist/cjs/guid-100bd1be.js +26 -0
- package/dist/cjs/he-2306f19e.js +102 -0
- package/dist/cjs/hi-18b2364f.js +62 -0
- package/dist/cjs/hr-f47dfd73.js +77 -0
- package/dist/cjs/hu-9533083e.js +85 -0
- package/dist/cjs/id-b98eb252.js +63 -0
- package/dist/cjs/index.es-fc923796.js +10808 -0
- package/dist/cjs/interactive-e8f05d26.js +147 -0
- package/dist/cjs/interfaces-ad03ec39.js +85 -0
- package/dist/cjs/it-43222f60.js +63 -0
- package/dist/cjs/it-ch-f9eb4007.js +63 -0
- package/dist/cjs/ja-8c6ec082.js +69 -0
- package/dist/cjs/key-2522c20b.js +19 -0
- package/dist/cjs/ko-d2889748.js +69 -0
- package/dist/cjs/label-71d4d3b5.js +136 -0
- package/dist/cjs/loadable-6571b6b9.js +69 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-83870af6.js +570 -0
- package/dist/cjs/lt-1ebac21f.js +94 -0
- package/dist/cjs/lv-cb236d46.js +63 -0
- package/dist/cjs/map-tools.cjs.entry.js +111 -0
- package/dist/cjs/mapViewUtils-efc49df7.js +369 -0
- package/dist/cjs/math-0eb2ec5c.js +28 -0
- package/dist/cjs/mk-00e34bda.js +63 -0
- package/dist/cjs/nb-6e0d9b4c.js +64 -0
- package/dist/cjs/nl-bb4f7d59.js +64 -0
- package/dist/cjs/observers-5c9538b2.js +53 -0
- package/dist/cjs/openCloseComponent-0b7ace48.js +100 -0
- package/dist/cjs/pl-2cf4efab.js +111 -0
- package/dist/cjs/pt-4c4a3aa2.js +64 -0
- package/dist/cjs/pt-br-6abb7f76.js +62 -0
- package/dist/cjs/public-notification.cjs.entry.js +18 -5
- package/dist/cjs/resources-11930a56.js +22 -0
- package/dist/cjs/resources-31971fd8.js +39 -0
- package/dist/cjs/resources-3910592f.js +20 -0
- package/dist/cjs/resources-3a47be9f.js +32 -0
- package/dist/cjs/resources-6c4c932c.js +2057 -0
- package/dist/cjs/resources-c751bdd1.js +50 -0
- package/dist/cjs/resources-d4061075.js +27 -0
- package/dist/cjs/resources-d8a4240f.js +23 -0
- package/dist/cjs/resources-e4e8d49f.js +27 -0
- package/dist/cjs/ro-c257efaf.js +63 -0
- package/dist/cjs/ru-e31a6ee1.js +123 -0
- package/dist/cjs/shared-list-render-d4e4e7b1.js +364 -0
- package/dist/cjs/sk-4d6d340c.js +145 -0
- package/dist/cjs/sl-01804d73.js +63 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-store-bd956f06.js +4100 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/sortableComponent-76967993.js +3087 -0
- package/dist/cjs/sr-76730aad.js +98 -0
- package/dist/cjs/sv-c1e40108.js +68 -0
- package/dist/cjs/t9n-f82f4304.js +100 -0
- package/dist/cjs/th-758abef8.js +62 -0
- package/dist/cjs/time-a1d60db6.js +208 -0
- package/dist/cjs/tr-36efd084.js +63 -0
- package/dist/cjs/uk-f5a49848.js +101 -0
- package/dist/cjs/utils-300573e5.js +64 -0
- package/dist/cjs/utils-369d7746.js +218 -0
- package/dist/cjs/utils-46e2a6ec.js +55 -0
- package/dist/cjs/utils-cedf26ae.js +87 -0
- package/dist/cjs/vi-f87def37.js +67 -0
- package/dist/cjs/zh-cn-6d3c38fc.js +91 -0
- package/dist/cjs/zh-hk-1bd0e62f.js +68 -0
- package/dist/cjs/zh-tw-40912bdf.js +89 -0
- package/dist/collection/collection-manifest.json +2 -5
- package/dist/collection/components/card-manager/card-manager.css +26 -9
- package/dist/collection/components/card-manager/card-manager.js +96 -29
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +39 -7
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +22 -10
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +5 -5
- package/dist/collection/components/edit-card/edit-card.css +54 -0
- package/dist/collection/components/edit-card/edit-card.js +294 -0
- package/dist/collection/components/info-card/info-card.css +21 -0
- package/dist/collection/components/info-card/info-card.js +199 -36
- package/dist/collection/components/layer-table/layer-table.css +19 -2
- package/dist/collection/components/layer-table/layer-table.js +222 -75
- package/dist/collection/components/map-card/map-card.css +8 -2
- package/dist/collection/components/map-card/map-card.js +24 -93
- package/dist/collection/components/map-layer-picker/map-layer-picker.css +9 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +145 -45
- package/dist/collection/components/map-select-tools/map-select-tools.js +3 -4
- package/dist/collection/components/map-tools/map-tools.css +31 -0
- package/dist/collection/components/map-tools/map-tools.js +196 -0
- package/dist/collection/components/pdf-download/pdf-download.js +19 -1
- package/dist/collection/components/public-notification/public-notification.js +51 -3
- package/dist/collection/components/refine-selection/refine-selection.js +2 -2
- package/dist/collection/demos/buffer-tools.html +2 -2
- package/dist/collection/demos/card-manager.html +49 -3
- package/dist/collection/demos/crowdsource-manager.html +15 -5
- package/dist/collection/demos/crowdsource-reporter.html +2 -2
- package/dist/collection/demos/demo-map.html +2 -2
- package/dist/collection/demos/edit-card.html +34 -0
- package/dist/collection/demos/index.html +1 -1
- package/dist/collection/demos/layer-table.html +2 -2
- package/dist/collection/demos/list-item.html +2 -2
- package/dist/collection/demos/map-card.html +2 -2
- package/dist/collection/demos/map-draw-tools.html +2 -2
- package/dist/collection/demos/map-layer-picker.html +2 -2
- package/dist/collection/demos/map-select-tools.html +2 -2
- package/dist/collection/utils/downloadUtils.js +1 -1
- package/dist/collection/utils/downloadUtils.ts +1 -1
- package/dist/collection/utils/interfaces.js +5 -0
- package/dist/collection/utils/interfaces.ts +18 -6
- package/dist/collection/utils/queryUtils.js +39 -2
- package/dist/collection/utils/queryUtils.ts +48 -3
- package/dist/components/ExpandToggle.js +5 -7
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +19 -19
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +4 -2
- package/dist/components/alert.js +328 -0
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/browser.js +21 -0
- package/dist/components/button.js +4 -2
- package/dist/components/calcite-accordion-item.js +6 -3
- package/dist/components/calcite-action-pad.js +3 -3
- package/dist/components/calcite-alert.js +1 -310
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +227 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-chip-group.js +4 -2
- package/dist/components/calcite-color-picker.js +3 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +9 -3
- package/dist/components/calcite-flow-item.js +4 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -2
- package/dist/components/calcite-input-date-picker.js +7 -4
- package/dist/components/calcite-input-time-picker.js +5 -3
- package/dist/components/calcite-list-item-group.js +6 -2
- package/dist/components/calcite-menu-item.js +2 -2
- package/dist/components/calcite-modal.js +408 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-pick-list.js +159 -1
- package/dist/components/calcite-radio-button-group.js +38 -7
- package/dist/components/calcite-radio-button.js +50 -21
- package/dist/components/calcite-rating.js +4 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +5 -3
- package/dist/components/calcite-split-button.js +167 -1
- package/dist/components/calcite-stack.js +2 -2
- package/dist/components/calcite-stepper-item.js +3 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-text-area.js +5 -3
- package/dist/components/calcite-tile-select-group.js +7 -1
- package/dist/components/calcite-tile-select.js +4 -2
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/card-manager.js +1 -133
- package/dist/components/card-manager2.js +177 -0
- package/dist/components/checkbox.js +3 -1
- package/dist/components/chip.js +5 -3
- package/dist/components/color-picker-hex-input.js +3 -3
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/combobox-item.js +4 -2
- package/dist/components/combobox.js +5 -3
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +93 -69
- package/dist/components/date-picker-day.js +8 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +3 -3
- package/dist/components/dom.js +3 -3
- package/dist/components/downloadUtils.js +2 -2
- package/dist/components/dropdown-group.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/dropdown.js +6 -4
- package/dist/components/edit-card.d.ts +11 -0
- package/dist/components/edit-card.js +11 -0
- package/dist/components/edit-card2.js +201 -0
- package/dist/components/filter.js +4 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +228 -179
- package/dist/components/focusTrapComponent.js +47 -5
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.d.ts +2 -5
- package/dist/components/index.js +3 -6
- package/dist/components/info-card2.js +183 -28
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +6 -4
- package/dist/components/input-text.js +5 -3
- package/dist/components/input.js +6 -4
- package/dist/components/interactive.js +80 -10
- package/dist/components/interfaces.js +6 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/layer-table2.js +221 -117
- package/dist/components/link.js +8 -2
- package/dist/components/list-item2.js +7 -7
- package/dist/components/list.js +8 -8
- package/dist/components/loadable.js +1 -1
- package/dist/components/locale2.js +7 -4
- package/dist/components/map-card2.js +65 -92
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-layer-picker2.js +133 -239
- package/dist/components/map-select-tools2.js +38 -14
- package/dist/components/map-tools.d.ts +11 -0
- package/dist/components/map-tools.js +11 -0
- package/dist/components/map-tools2.js +176 -0
- package/dist/components/mapViewUtils.js +204 -0
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/notice.js +2 -2
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +5 -3
- package/dist/components/pdf-download2.js +3 -1
- package/dist/components/pick-list-item.js +4 -2
- package/dist/components/popover.js +3 -3
- package/dist/components/public-notification.js +57 -23
- package/dist/components/queryUtils.js +11 -17
- package/dist/components/refine-selection2.js +36 -11
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +39 -2
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +3 -1
- package/dist/components/select.js +5 -3
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +2 -2
- package/dist/components/slider.js +4 -2
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/switch.js +4 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +4 -2
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +4 -2
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +45 -28
- package/dist/components/tree-item.js +9 -43
- package/dist/components/tree.js +2 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +3 -3
- package/dist/components/utils3.js +2 -2
- package/dist/components/value-list-item.js +4 -2
- package/dist/components/value-list.js +6 -4
- package/dist/esm/ExpandToggle-4683a6dc.js +109 -0
- package/dist/esm/FloatingArrow-fa0da351.js +46 -0
- package/dist/esm/Heading-14bfe249.js +22 -0
- package/dist/esm/app-globals-b5877644.js +62 -0
- package/dist/esm/ar-8e6281b5.js +96 -0
- package/dist/esm/array-e32fb269.js +15 -0
- package/dist/esm/bg-89c46a11.js +77 -0
- package/dist/esm/browser-f8ca09b7.js +21 -0
- package/dist/esm/bs-567a72ac.js +46 -0
- package/dist/esm/buffer-tools_4.entry.js +17 -14
- package/dist/esm/ca-0d08cce0.js +66 -0
- package/dist/esm/calcite-accordion-item.entry.js +10 -7
- package/dist/esm/calcite-action-bar_2.entry.js +650 -0
- package/dist/esm/calcite-action-group_2.entry.js +379 -0
- package/dist/esm/calcite-action-pad.entry.js +15 -15
- package/dist/esm/calcite-action_2.entry.js +408 -70
- package/dist/esm/calcite-alert.entry.js +23 -12
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +8 -8
- package/dist/esm/calcite-block.entry.js +166 -0
- package/dist/esm/calcite-button.entry.js +15 -12
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox.entry.js +11 -8
- package/dist/esm/calcite-chip-group.entry.js +9 -6
- package/dist/esm/calcite-chip.entry.js +14 -11
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +15 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
- package/dist/esm/calcite-combobox_6.entry.js +1859 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +17 -10
- package/dist/esm/calcite-date-picker.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +13 -6
- package/dist/esm/calcite-filter_3.entry.js +772 -0
- package/dist/esm/calcite-flow-item.entry.js +14 -11
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph.entry.js +3 -3
- package/dist/esm/calcite-handle.entry.js +132 -0
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -11
- package/dist/esm/calcite-input-date-picker.entry.js +23 -19
- package/dist/esm/calcite-input-number.entry.js +16 -13
- package/dist/esm/calcite-input-text_4.entry.js +1845 -0
- package/dist/esm/calcite-input-time-picker-d5606a45.js +1621 -0
- package/dist/esm/calcite-input-time-picker.entry.js +15 -14
- package/dist/esm/calcite-input_2.entry.js +16 -13
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +12 -5
- package/dist/esm/calcite-list-item-group.entry.js +8 -3
- package/dist/esm/calcite-loader.entry.js +76 -0
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +5 -5
- package/dist/esm/calcite-notice.entry.js +135 -0
- package/dist/esm/calcite-option_2.entry.js +12 -9
- package/dist/esm/calcite-pagination.entry.js +9 -9
- package/dist/esm/calcite-panel_2.entry.js +17 -14
- package/dist/esm/calcite-pick-list-group.entry.js +7 -7
- package/dist/esm/calcite-pick-list-item.entry.js +15 -12
- package/dist/esm/calcite-pick-list.entry.js +142 -0
- package/dist/esm/calcite-radio-button-group.entry.js +35 -6
- package/dist/esm/calcite-radio-button.entry.js +57 -27
- package/dist/esm/calcite-rating.entry.js +15 -12
- package/dist/esm/calcite-scrim.entry.js +44 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +253 -0
- package/dist/esm/calcite-shell-center-row.entry.js +6 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +32 -25
- package/dist/esm/calcite-sortable-list.entry.js +10 -7
- package/dist/esm/calcite-split-button.entry.js +118 -0
- package/dist/esm/calcite-stack.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -8
- package/dist/esm/calcite-stepper.entry.js +3 -3
- package/dist/esm/calcite-switch.entry.js +11 -8
- package/dist/esm/calcite-text-area.entry.js +15 -12
- package/dist/esm/calcite-tile-select-group.entry.js +8 -1
- package/dist/esm/calcite-tile-select.entry.js +7 -4
- package/dist/esm/calcite-tile.entry.js +10 -7
- package/dist/esm/calcite-time-picker.entry.js +10 -10
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/calcite-tree_3.entry.js +15 -48
- package/dist/esm/card-manager_3.entry.js +652 -0
- package/dist/esm/conditionalSlot-b651e48a.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +22 -10
- package/dist/esm/cs-4ea5bb28.js +142 -0
- package/dist/esm/da-8121b2c6.js +61 -0
- package/dist/esm/date-3f48db3f.js +235 -0
- package/dist/esm/de-4f0e6db4.js +86 -0
- package/dist/esm/de-at-6f914992.js +85 -0
- package/dist/esm/de-ch-ba51285a.js +85 -0
- package/dist/esm/deduct-calculator.entry.js +3 -3
- package/dist/esm/dom-03275741.js +927 -0
- package/dist/esm/downloadUtils-1092cb0f.js +2723 -0
- package/dist/esm/edit-card_2.entry.js +334 -0
- package/dist/esm/el-2fb644ad.js +61 -0
- package/dist/esm/en-au-469a4963.js +61 -0
- package/dist/esm/en-ca-a110f04a.js +60 -0
- package/dist/esm/en-gb-04dd59df.js +64 -0
- package/dist/esm/es-901bbd11.js +61 -0
- package/dist/esm/es-mx-c3cff8d1.js +60 -0
- package/dist/esm/et-0ded5035.js +87 -0
- package/dist/esm/fi-767e7505.js +110 -0
- package/dist/esm/filter-4ba3be5f.js +763 -0
- package/dist/esm/floating-ui-1e70279f.js +1866 -0
- package/dist/esm/focusTrapComponent-eaa62505.js +846 -0
- package/dist/esm/form-8396f037.js +280 -0
- package/dist/esm/fr-ch-8c34f192.js +61 -0
- package/dist/esm/fr-e6bda0a2.js +63 -0
- package/dist/esm/guid-1fbbc894.js +24 -0
- package/dist/esm/he-00779397.js +100 -0
- package/dist/esm/hi-f3d5ecb7.js +60 -0
- package/dist/esm/hr-1d8c2cad.js +75 -0
- package/dist/esm/hu-4290c5fe.js +83 -0
- package/dist/esm/id-58d1a3cb.js +61 -0
- package/dist/esm/index.es-08a48fdd.js +10722 -0
- package/dist/esm/interactive-e5b2cca0.js +143 -0
- package/dist/esm/interfaces-bf20e69c.js +85 -0
- package/dist/esm/it-ch-74c5b6dd.js +61 -0
- package/dist/esm/it-ef33898d.js +61 -0
- package/dist/esm/ja-7f21d57b.js +67 -0
- package/dist/esm/key-d6bc268b.js +16 -0
- package/dist/esm/ko-0790a2d9.js +67 -0
- package/dist/esm/label-6db1573f.js +130 -0
- package/dist/esm/loadable-3cf62971.js +65 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-ead7fa24.js +558 -0
- package/dist/esm/lt-6e66fa4a.js +92 -0
- package/dist/esm/lv-0c39ca8e.js +61 -0
- package/dist/esm/map-tools.entry.js +107 -0
- package/dist/esm/mapViewUtils-a787c6a8.js +356 -0
- package/dist/esm/math-5e1080da.js +25 -0
- package/dist/esm/mk-0e1b5772.js +61 -0
- package/dist/esm/nb-8b0c8dcb.js +62 -0
- package/dist/esm/nl-89c00bbe.js +62 -0
- package/dist/esm/observers-76deadbc.js +51 -0
- package/dist/esm/openCloseComponent-7d3ca222.js +96 -0
- package/dist/esm/pl-2c7583e1.js +109 -0
- package/dist/esm/pt-br-0544aa11.js +60 -0
- package/dist/esm/pt-eb653341.js +62 -0
- package/dist/esm/public-notification.entry.js +18 -5
- package/dist/esm/resources-3600c05b.js +46 -0
- package/dist/esm/resources-4d6ec614.js +24 -0
- package/dist/esm/resources-684bbbfe.js +23 -0
- package/dist/esm/resources-85e89a13.js +19 -0
- package/dist/esm/resources-885142d2.js +2048 -0
- package/dist/esm/resources-a3b9b875.js +20 -0
- package/dist/esm/resources-e7e4115c.js +35 -0
- package/dist/esm/resources-ee3b03a3.js +28 -0
- package/dist/esm/resources-f5948e92.js +20 -0
- package/dist/esm/ro-f5c8d5e2.js +61 -0
- package/dist/esm/ru-7725d9a9.js +121 -0
- package/dist/esm/shared-list-render-19de1661.js +342 -0
- package/dist/esm/sk-606ae6cd.js +143 -0
- package/dist/esm/sl-8a06145d.js +61 -0
- package/dist/esm/solution-configuration.entry.js +2 -2
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-store-c107ca4d.js +4092 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/sortableComponent-dab8ef70.js +3082 -0
- package/dist/esm/sr-7eff7ca4.js +96 -0
- package/dist/esm/sv-0ab2f707.js +66 -0
- package/dist/esm/t9n-ece1047e.js +95 -0
- package/dist/esm/th-29a9e340.js +60 -0
- package/dist/esm/time-7b08c631.js +195 -0
- package/dist/esm/tr-6748b764.js +61 -0
- package/dist/esm/uk-de4e1b64.js +99 -0
- package/dist/esm/utils-33f2d835.js +200 -0
- package/dist/esm/utils-43f27af6.js +61 -0
- package/dist/esm/utils-a29ac888.js +45 -0
- package/dist/esm/utils-d1d9ff93.js +79 -0
- package/dist/esm/vi-6830c744.js +65 -0
- package/dist/esm/zh-cn-ad4dc9be.js +89 -0
- package/dist/esm/zh-hk-81513d7a.js +66 -0
- package/dist/esm/zh-tw-4ff4db52.js +87 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +11 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +3 -2
- package/dist/solutions-components/assets/icon/circlePause16.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause16F.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause24.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause24F.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause32.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause32F.json +1 -0
- package/dist/solutions-components/assets/icon/h3Hexagon16.json +1 -0
- package/dist/solutions-components/assets/icon/h3Hexagon24.json +1 -0
- package/dist/solutions-components/assets/icon/h3Hexagon32.json +1 -0
- package/dist/solutions-components/assets/icon/merge216.json +1 -0
- package/dist/solutions-components/assets/icon/merge224.json +1 -0
- package/dist/solutions-components/assets/icon/merge232.json +1 -0
- package/dist/solutions-components/assets/icon/recycleBin16.json +1 -0
- package/dist/solutions-components/assets/icon/recycleBin24.json +1 -0
- package/dist/solutions-components/assets/icon/recycleBin32.json +1 -0
- package/dist/solutions-components/assets/icon/transverseHexagon16.json +1 -0
- package/dist/solutions-components/assets/icon/transverseHexagon24.json +1 -0
- package/dist/solutions-components/assets/icon/transverseHexagon32.json +1 -0
- package/dist/solutions-components/assets/icon/unmerge16.json +1 -0
- package/dist/solutions-components/assets/icon/unmerge24.json +1 -0
- package/dist/solutions-components/assets/icon/unmerge32.json +1 -0
- package/dist/solutions-components/demos/buffer-tools.html +2 -2
- package/dist/solutions-components/demos/card-manager.html +49 -3
- package/dist/solutions-components/demos/crowdsource-manager.html +15 -5
- package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
- package/dist/solutions-components/demos/demo-map.html +2 -2
- package/dist/solutions-components/demos/edit-card.html +34 -0
- package/dist/solutions-components/demos/index.html +1 -1
- package/dist/solutions-components/demos/layer-table.html +2 -2
- package/dist/solutions-components/demos/list-item.html +2 -2
- package/dist/solutions-components/demos/map-card.html +2 -2
- package/dist/solutions-components/demos/map-draw-tools.html +2 -2
- package/dist/solutions-components/demos/map-layer-picker.html +2 -2
- package/dist/solutions-components/demos/map-select-tools.html +2 -2
- package/dist/solutions-components/p-0036e829.js +11 -0
- package/dist/solutions-components/p-004eb0a6.entry.js +6 -0
- package/dist/solutions-components/p-04c41e35.js +6 -0
- package/dist/solutions-components/p-058f02c9.js +6 -0
- package/dist/solutions-components/p-05f6859f.js +11 -0
- package/dist/solutions-components/p-0641aa9b.js +36 -0
- package/dist/solutions-components/p-0bb57140.js +16 -0
- package/dist/solutions-components/p-0d2c9050.js +6 -0
- package/dist/solutions-components/p-0e024d20.entry.js +11 -0
- package/dist/solutions-components/p-0ef9e367.entry.js +17 -0
- package/dist/solutions-components/p-0ff7b311.js +16 -0
- package/dist/solutions-components/p-1085b789.js +11 -0
- package/dist/solutions-components/p-10dd03be.js +6 -0
- package/dist/solutions-components/p-10e93b31.entry.js +11 -0
- package/dist/solutions-components/p-132843d2.entry.js +11 -0
- package/dist/solutions-components/p-13a8349e.js +6 -0
- package/dist/solutions-components/p-16146013.js +6 -0
- package/dist/solutions-components/p-161ac069.entry.js +6 -0
- package/dist/solutions-components/p-16643fca.entry.js +11 -0
- package/dist/solutions-components/p-1aca2237.js +17 -0
- package/dist/solutions-components/p-1b69c50d.entry.js +11 -0
- package/dist/solutions-components/p-1d81a92e.entry.js +11 -0
- package/dist/solutions-components/p-1f1bd18d.js +11 -0
- package/dist/solutions-components/p-214657d6.entry.js +6 -0
- package/dist/solutions-components/p-2284cd37.js +11 -0
- package/dist/solutions-components/p-22c4225f.entry.js +11 -0
- package/dist/solutions-components/p-2455a61f.entry.js +11 -0
- package/dist/solutions-components/p-293a0267.entry.js +11 -0
- package/dist/solutions-components/p-2c049a6d.entry.js +37 -0
- package/dist/solutions-components/p-2d651417.js +6 -0
- package/dist/solutions-components/p-2f632334.entry.js +11 -0
- package/dist/solutions-components/p-309d3096.js +6 -0
- package/dist/solutions-components/p-34737573.js +6 -0
- package/dist/solutions-components/p-35195436.entry.js +11 -0
- package/dist/solutions-components/p-37a78329.js +6 -0
- package/dist/solutions-components/p-386dbde1.js +6 -0
- package/dist/solutions-components/p-3b57fcc6.js +11 -0
- package/dist/solutions-components/p-40bdd836.js +11 -0
- package/dist/solutions-components/p-41f5a5fc.js +12 -0
- package/dist/solutions-components/p-438560cf.js +6 -0
- package/dist/solutions-components/p-474b00d7.entry.js +11 -0
- package/dist/solutions-components/p-4766a668.entry.js +6 -0
- package/dist/solutions-components/p-4989e987.js +6 -0
- package/dist/solutions-components/p-4aab2c0d.entry.js +6 -0
- package/dist/solutions-components/p-4b738e52.entry.js +11 -0
- package/dist/solutions-components/p-4ea9094a.js +6 -0
- package/dist/solutions-components/p-5173b841.js +11 -0
- package/dist/solutions-components/p-5652bbda.js +6 -0
- package/dist/solutions-components/p-57fa8ff3.entry.js +6 -0
- package/dist/solutions-components/p-58448ac4.entry.js +11 -0
- package/dist/solutions-components/p-5a6ca63b.entry.js +35 -0
- package/dist/solutions-components/p-5a6f8f15.entry.js +17 -0
- package/dist/solutions-components/p-5b260e5f.js +61 -0
- package/dist/solutions-components/p-5bab0d9d.entry.js +11 -0
- package/dist/solutions-components/p-5ca01455.entry.js +11 -0
- package/dist/solutions-components/p-5f05045a.entry.js +6 -0
- package/dist/solutions-components/p-5fc99541.js +257 -0
- package/dist/solutions-components/p-60dba0cb.js +11 -0
- package/dist/solutions-components/p-610ff7ca.js +6 -0
- package/dist/solutions-components/p-612c38cc.js +6 -0
- package/dist/solutions-components/p-628f2a83.entry.js +11 -0
- package/dist/solutions-components/p-62a49383.js +6 -0
- package/dist/solutions-components/p-6305f474.entry.js +18 -0
- package/dist/solutions-components/p-67d0ce8c.entry.js +11 -0
- package/dist/solutions-components/p-67d75135.js +6 -0
- package/dist/solutions-components/p-693bafa4.js +6 -0
- package/dist/solutions-components/p-6960ce47.js +6 -0
- package/dist/solutions-components/p-696de9a4.entry.js +6 -0
- package/dist/solutions-components/p-69cd4b76.entry.js +17 -0
- package/dist/solutions-components/p-6c1d694f.js +6 -0
- package/dist/solutions-components/p-743451a5.entry.js +6 -0
- package/dist/solutions-components/p-7479f322.entry.js +28 -0
- package/dist/solutions-components/p-74a2d025.entry.js +6 -0
- package/dist/solutions-components/p-75ed8af0.entry.js +12 -0
- package/dist/solutions-components/p-76716055.js +6 -0
- package/dist/solutions-components/p-77649e3a.js +11 -0
- package/dist/solutions-components/p-7764def7.js +11 -0
- package/dist/solutions-components/p-781480c2.entry.js +6 -0
- package/dist/solutions-components/p-7a42ffab.js +11 -0
- package/dist/solutions-components/p-7ab9d4a8.js +11 -0
- package/dist/solutions-components/p-7cbe5354.js +6 -0
- package/dist/solutions-components/p-7f3c3a5d.entry.js +11 -0
- package/dist/solutions-components/p-7fd8e783.js +18 -0
- package/dist/solutions-components/p-800e94cb.entry.js +11 -0
- package/dist/solutions-components/p-81c695d6.entry.js +11 -0
- package/dist/solutions-components/p-8249c47b.js +11 -0
- package/dist/solutions-components/p-82922f3a.entry.js +37 -0
- package/dist/solutions-components/p-841a5f97.entry.js +6 -0
- package/dist/solutions-components/p-84d9dacf.entry.js +11 -0
- package/dist/solutions-components/p-87cc78f1.js +6 -0
- package/dist/solutions-components/p-892d0a1d.js +6 -0
- package/dist/solutions-components/p-8bf81a2e.js +11 -0
- package/dist/solutions-components/p-8e003792.js +6 -0
- package/dist/solutions-components/p-8e541da0.js +6 -0
- package/dist/solutions-components/p-944c2f33.entry.js +11 -0
- package/dist/solutions-components/p-9630e3b7.js +11 -0
- package/dist/solutions-components/p-96bd78ec.entry.js +11 -0
- package/dist/solutions-components/p-978b9ba3.entry.js +6 -0
- package/dist/solutions-components/p-99b55177.js +11 -0
- package/dist/solutions-components/p-9a19cfb6.js +6 -0
- package/dist/solutions-components/p-9ab03591.js +21 -0
- package/dist/solutions-components/p-9bc20eff.entry.js +6 -0
- package/dist/solutions-components/p-9c42e5ca.js +6 -0
- package/dist/solutions-components/p-9ed9ea6a.js +6 -0
- package/dist/solutions-components/p-9f214b82.entry.js +11 -0
- package/dist/solutions-components/p-a3b55d2b.js +6 -0
- package/dist/solutions-components/p-a5d44d7d.js +11 -0
- package/dist/solutions-components/p-a62c1b3c.entry.js +6 -0
- package/dist/solutions-components/p-a6730996.js +6 -0
- package/dist/solutions-components/p-a738e38f.js +11 -0
- package/dist/solutions-components/p-a74094e4.js +17 -0
- package/dist/solutions-components/p-a8253173.js +6 -0
- package/dist/solutions-components/p-a94f0d7b.entry.js +11 -0
- package/dist/solutions-components/p-a9dab418.entry.js +11 -0
- package/dist/solutions-components/p-ac36a101.js +6 -0
- package/dist/solutions-components/p-ad60a547.js +474 -0
- package/dist/solutions-components/p-b018bd03.js +6 -0
- package/dist/solutions-components/p-b39e12ab.js +6 -0
- package/dist/solutions-components/p-b4c65a27.entry.js +6 -0
- package/dist/solutions-components/p-b64401a3.entry.js +6 -0
- package/dist/solutions-components/p-b70a3d8d.entry.js +11 -0
- package/dist/solutions-components/p-b940aa2f.entry.js +6 -0
- package/dist/solutions-components/p-b9a21972.js +6 -0
- package/dist/solutions-components/p-ba34ef55.js +6 -0
- package/dist/solutions-components/p-ba8ec9b6.entry.js +35 -0
- package/dist/solutions-components/p-bb322078.entry.js +11 -0
- package/dist/solutions-components/p-bc6ce0ff.js +6 -0
- package/dist/solutions-components/p-c0738483.entry.js +11 -0
- package/dist/solutions-components/p-c2316631.entry.js +16 -0
- package/dist/solutions-components/p-c2a141cc.js +11 -0
- package/dist/solutions-components/p-c2d148da.js +11 -0
- package/dist/solutions-components/p-c52de940.entry.js +11 -0
- package/dist/solutions-components/p-c844e615.js +12 -0
- package/dist/solutions-components/p-c8835780.js +11 -0
- package/dist/solutions-components/p-ca67597d.js +6 -0
- package/dist/solutions-components/p-ca6edad0.js +11 -0
- package/dist/solutions-components/p-ccf5c0ff.entry.js +11 -0
- package/dist/solutions-components/p-cd9579c6.js +11 -0
- package/dist/solutions-components/p-ce57ecf3.entry.js +6 -0
- package/dist/solutions-components/p-d042dd6a.entry.js +12 -0
- package/dist/solutions-components/p-d088d13a.entry.js +6 -0
- package/dist/solutions-components/p-d102a71f.js +6 -0
- package/dist/solutions-components/p-d164a8b0.entry.js +12 -0
- package/dist/solutions-components/p-d17b0020.entry.js +11 -0
- package/dist/solutions-components/p-d4c9dda7.entry.js +11 -0
- package/dist/solutions-components/p-d5104492.js +6 -0
- package/dist/solutions-components/p-d60a77a4.js +11 -0
- package/dist/solutions-components/p-d866ff25.js +11 -0
- package/dist/solutions-components/p-dac4f4cb.js +6 -0
- package/dist/solutions-components/p-db08ef87.js +11 -0
- package/dist/solutions-components/p-db546438.entry.js +11 -0
- package/dist/solutions-components/p-de9d2167.entry.js +11 -0
- package/dist/solutions-components/p-e0af78a4.js +6 -0
- package/dist/solutions-components/p-e13ba5ae.js +6 -0
- package/dist/solutions-components/p-e320f0ed.entry.js +11 -0
- package/dist/solutions-components/p-e5d839f8.js +6 -0
- package/dist/solutions-components/p-e5e20990.js +11 -0
- package/dist/solutions-components/p-e617f6e9.js +6 -0
- package/dist/solutions-components/p-ea7c74b7.entry.js +11 -0
- package/dist/solutions-components/p-eafc4b73.js +11 -0
- package/dist/solutions-components/p-ed2eea7f.entry.js +23 -0
- package/dist/solutions-components/p-ed65f44c.entry.js +11 -0
- package/dist/solutions-components/p-f08e454f.entry.js +11 -0
- package/dist/solutions-components/p-f1d4f341.js +6 -0
- package/dist/solutions-components/p-f54ca1e4.entry.js +11 -0
- package/dist/solutions-components/p-f62c655b.entry.js +11 -0
- package/dist/solutions-components/p-f68a8cd4.entry.js +11 -0
- package/dist/solutions-components/p-f6ec5e80.js +11 -0
- package/dist/solutions-components/p-f9b91640.js +11 -0
- package/dist/solutions-components/p-fae853e9.js +16 -0
- package/dist/solutions-components/p-fb233add.entry.js +6 -0
- package/dist/solutions-components/p-ff27b297.js +11 -0
- package/dist/solutions-components/p-ffb12960.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +1 -1
- package/dist/solutions-components/utils/interfaces.ts +18 -6
- package/dist/solutions-components/utils/queryUtils.ts +48 -3
- package/dist/types/components/card-manager/card-manager.d.ts +33 -5
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +12 -4
- package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +2 -2
- package/dist/types/components/edit-card/edit-card.d.ts +136 -0
- package/dist/types/components/info-card/info-card.d.ts +89 -9
- package/dist/types/components/layer-table/layer-table.d.ts +102 -33
- package/dist/types/components/map-card/map-card.d.ts +12 -42
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +50 -11
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +1 -1
- package/dist/types/components/map-tools/map-tools.d.ts +87 -0
- package/dist/types/components/pdf-download/pdf-download.d.ts +4 -0
- package/dist/types/components/public-notification/public-notification.d.ts +18 -2
- package/dist/types/components/refine-selection/refine-selection.d.ts +1 -1
- package/dist/types/components.d.ts +169 -117
- package/dist/types/preact.d.ts +10 -13
- package/dist/types/utils/interfaces.d.ts +16 -4
- package/dist/types/utils/queryUtils.d.ts +17 -1
- package/package.json +2 -2
- package/dist/assets/t9n/edit-record-modal/resources.json +0 -8
- package/dist/assets/t9n/edit-record-modal/resources_en.json +0 -8
- package/dist/cjs/ExpandToggle-8e23a37e.js +0 -119
- package/dist/cjs/FloatingArrow-7747dddf.js +0 -48
- package/dist/cjs/Heading-52c0152b.js +0 -25
- package/dist/cjs/add-record-modal.cjs.entry.js +0 -106
- package/dist/cjs/app-globals-cd063150.js +0 -64
- package/dist/cjs/ar-06e23092.js +0 -97
- package/dist/cjs/array-cb509bfb.js +0 -17
- package/dist/cjs/bg-b197c685.js +0 -78
- package/dist/cjs/bs-b7279fd9.js +0 -47
- package/dist/cjs/ca-c127e2c7.js +0 -67
- package/dist/cjs/calcite-action-bar_4.cjs.entry.js +0 -629
- package/dist/cjs/calcite-action-group.cjs.entry.js +0 -116
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -691
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -1156
- package/dist/cjs/calcite-dropdown_5.cjs.entry.js +0 -866
- package/dist/cjs/calcite-filter_5.cjs.entry.js +0 -1014
- package/dist/cjs/calcite-input-text_5.cjs.entry.js +0 -1969
- package/dist/cjs/calcite-input-time-picker-1c90d5aa.js +0 -1622
- package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -413
- package/dist/cjs/card-manager.cjs.entry.js +0 -91
- package/dist/cjs/comment-card.cjs.entry.js +0 -75
- package/dist/cjs/conditionalSlot-df3ccf68.js +0 -63
- package/dist/cjs/cs-f482fe72.js +0 -143
- package/dist/cjs/da-b8ab4c7b.js +0 -62
- package/dist/cjs/date-23702871.js +0 -250
- package/dist/cjs/de-6bc1f7ac.js +0 -87
- package/dist/cjs/de-at-46963b6b.js +0 -86
- package/dist/cjs/de-ch-160af810.js +0 -86
- package/dist/cjs/dom-5fd13fa0.js +0 -954
- package/dist/cjs/downloadUtils-fd585157.js +0 -2729
- package/dist/cjs/el-64fa4e5b.js +0 -62
- package/dist/cjs/en-au-d6d05b1c.js +0 -62
- package/dist/cjs/en-ca-e4c76e21.js +0 -61
- package/dist/cjs/en-gb-bbc542f7.js +0 -65
- package/dist/cjs/es-13c046da.js +0 -62
- package/dist/cjs/es-mx-bc0dcd4b.js +0 -61
- package/dist/cjs/et-96792c05.js +0 -88
- package/dist/cjs/fi-228557cc.js +0 -111
- package/dist/cjs/filter-8be5307a.js +0 -765
- package/dist/cjs/floating-ui-72d35286.js +0 -1825
- package/dist/cjs/focusTrapComponent-8e851fe9.js +0 -809
- package/dist/cjs/form-bbb48e39.js +0 -288
- package/dist/cjs/fr-cfe747ac.js +0 -64
- package/dist/cjs/fr-ch-ff5aa897.js +0 -62
- package/dist/cjs/guid-66679eda.js +0 -26
- package/dist/cjs/he-fb6d2d39.js +0 -101
- package/dist/cjs/hi-30c7826f.js +0 -61
- package/dist/cjs/hr-c1eab940.js +0 -76
- package/dist/cjs/hu-fba39a67.js +0 -84
- package/dist/cjs/id-b5e6f8ba.js +0 -62
- package/dist/cjs/index.es-d125163b.js +0 -10808
- package/dist/cjs/info-card_2.cjs.entry.js +0 -203
- package/dist/cjs/interactive-39ec70c2.js +0 -75
- package/dist/cjs/interfaces-842c84a1.js +0 -80
- package/dist/cjs/it-ca0d0aac.js +0 -62
- package/dist/cjs/it-ch-65c41132.js +0 -62
- package/dist/cjs/ja-a5f9afc7.js +0 -68
- package/dist/cjs/key-5b33d77d.js +0 -19
- package/dist/cjs/ko-852f5312.js +0 -68
- package/dist/cjs/label-345b79b7.js +0 -136
- package/dist/cjs/layer-table_2.cjs.entry.js +0 -517
- package/dist/cjs/loadable-30ee9cda.js +0 -69
- package/dist/cjs/locale-180f4242.js +0 -567
- package/dist/cjs/lt-255c3b01.js +0 -93
- package/dist/cjs/lv-7ed56721.js +0 -62
- package/dist/cjs/map-search.cjs.entry.js +0 -176
- package/dist/cjs/mapViewUtils-9c67134b.js +0 -375
- package/dist/cjs/math-c948c17d.js +0 -28
- package/dist/cjs/mk-f6d33563.js +0 -62
- package/dist/cjs/nb-bd0ca554.js +0 -63
- package/dist/cjs/nl-eadfdfb4.js +0 -63
- package/dist/cjs/observers-f7aad52c.js +0 -53
- package/dist/cjs/openCloseComponent-84b60d30.js +0 -100
- package/dist/cjs/pl-c9d0eeb6.js +0 -110
- package/dist/cjs/pt-abc4d582.js +0 -63
- package/dist/cjs/pt-br-217ada13.js +0 -61
- package/dist/cjs/resources-1687ac3b.js +0 -27
- package/dist/cjs/resources-17e31c94.js +0 -32
- package/dist/cjs/resources-2194e840.js +0 -2057
- package/dist/cjs/resources-5d9c0817.js +0 -23
- package/dist/cjs/resources-840442cb.js +0 -22
- package/dist/cjs/resources-8f85e83e.js +0 -27
- package/dist/cjs/resources-b2a52eac.js +0 -50
- package/dist/cjs/resources-b9022801.js +0 -39
- package/dist/cjs/resources-c050c6cd.js +0 -20
- package/dist/cjs/ro-1618e102.js +0 -62
- package/dist/cjs/ru-a23bea65.js +0 -122
- package/dist/cjs/shared-list-render-e49ee33c.js +0 -364
- package/dist/cjs/sk-dcacc22d.js +0 -144
- package/dist/cjs/sl-313d5585.js +0 -62
- package/dist/cjs/solution-store-ca4639d5.js +0 -4100
- package/dist/cjs/sortableComponent-e91c4b54.js +0 -3087
- package/dist/cjs/sr-c7b2c043.js +0 -97
- package/dist/cjs/sv-d8327a96.js +0 -67
- package/dist/cjs/t9n-44f8e750.js +0 -100
- package/dist/cjs/th-871548cb.js +0 -61
- package/dist/cjs/time-0ae619db.js +0 -208
- package/dist/cjs/tr-799e3306.js +0 -62
- package/dist/cjs/uk-eb7261c3.js +0 -100
- package/dist/cjs/utils-3c384fb2.js +0 -55
- package/dist/cjs/utils-49d0aa19.js +0 -218
- package/dist/cjs/utils-5c1c33cf.js +0 -64
- package/dist/cjs/utils-da61890c.js +0 -87
- package/dist/cjs/vi-ebbac61c.js +0 -66
- package/dist/cjs/zh-cn-dfcfe1fe.js +0 -90
- package/dist/cjs/zh-hk-64eeb0f6.js +0 -67
- package/dist/cjs/zh-tw-3d6f9661.js +0 -88
- package/dist/collection/components/add-record-modal/add-record-modal.css +0 -36
- package/dist/collection/components/add-record-modal/add-record-modal.js +0 -149
- package/dist/collection/components/comment-card/comment-card.css +0 -19
- package/dist/collection/components/comment-card/comment-card.js +0 -89
- package/dist/collection/components/edit-record-modal/edit-record-modal.css +0 -35
- package/dist/collection/components/edit-record-modal/edit-record-modal.js +0 -141
- package/dist/collection/components/map-search/map-search.css +0 -24
- package/dist/collection/components/map-search/map-search.js +0 -284
- package/dist/collection/components/media-card/media-card.css +0 -58
- package/dist/collection/components/media-card/media-card.js +0 -187
- package/dist/collection/demos/add-record-modal.html +0 -34
- package/dist/collection/demos/comment-card.html +0 -81
- package/dist/collection/demos/edit-record-modal.html +0 -34
- package/dist/collection/demos/map-search.html +0 -81
- package/dist/collection/demos/media-card.html +0 -71
- package/dist/components/add-record-modal.d.ts +0 -11
- package/dist/components/add-record-modal.js +0 -171
- package/dist/components/block.js +0 -232
- package/dist/components/comment-card.d.ts +0 -11
- package/dist/components/comment-card.js +0 -90
- package/dist/components/edit-record-modal.d.ts +0 -11
- package/dist/components/edit-record-modal.js +0 -11
- package/dist/components/edit-record-modal2.js +0 -161
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -195
- package/dist/components/media-card.d.ts +0 -11
- package/dist/components/media-card.js +0 -11
- package/dist/components/media-card2.js +0 -177
- package/dist/components/modal.js +0 -415
- package/dist/components/pick-list.js +0 -164
- package/dist/components/split-button.js +0 -168
- package/dist/esm/ExpandToggle-ed0c4899.js +0 -111
- package/dist/esm/FloatingArrow-e769cdda.js +0 -46
- package/dist/esm/Heading-c36f4400.js +0 -22
- package/dist/esm/add-record-modal.entry.js +0 -102
- package/dist/esm/app-globals-4c1c4b90.js +0 -62
- package/dist/esm/ar-5fce09b4.js +0 -95
- package/dist/esm/array-af5e433b.js +0 -15
- package/dist/esm/bg-88930ab8.js +0 -76
- package/dist/esm/bs-83095544.js +0 -45
- package/dist/esm/ca-2452be3f.js +0 -65
- package/dist/esm/calcite-action-bar_4.entry.js +0 -622
- package/dist/esm/calcite-action-group.entry.js +0 -112
- package/dist/esm/calcite-action-menu_2.entry.js +0 -686
- package/dist/esm/calcite-combobox_3.entry.js +0 -1150
- package/dist/esm/calcite-dropdown_5.entry.js +0 -858
- package/dist/esm/calcite-filter_5.entry.js +0 -1006
- package/dist/esm/calcite-input-text_5.entry.js +0 -1961
- package/dist/esm/calcite-input-time-picker-379ab2c4.js +0 -1619
- package/dist/esm/calcite-tooltip.entry.js +0 -409
- package/dist/esm/card-manager.entry.js +0 -87
- package/dist/esm/comment-card.entry.js +0 -71
- package/dist/esm/conditionalSlot-e9ec914f.js +0 -60
- package/dist/esm/cs-c4999998.js +0 -141
- package/dist/esm/da-6e7eb415.js +0 -60
- package/dist/esm/date-85b54b18.js +0 -235
- package/dist/esm/de-39db71ff.js +0 -85
- package/dist/esm/de-at-0b43fa52.js +0 -84
- package/dist/esm/de-ch-345e1007.js +0 -84
- package/dist/esm/dom-e14bb980.js +0 -927
- package/dist/esm/downloadUtils-c4d8f012.js +0 -2723
- package/dist/esm/el-3d3eb2d9.js +0 -60
- package/dist/esm/en-au-f85fb0f9.js +0 -60
- package/dist/esm/en-ca-ae24e23b.js +0 -59
- package/dist/esm/en-gb-9f56a48f.js +0 -63
- package/dist/esm/es-00ec702d.js +0 -60
- package/dist/esm/es-mx-5fb19224.js +0 -59
- package/dist/esm/et-1a294618.js +0 -86
- package/dist/esm/fi-1bcfd731.js +0 -109
- package/dist/esm/filter-09439c1d.js +0 -763
- package/dist/esm/floating-ui-421b8ed2.js +0 -1817
- package/dist/esm/focusTrapComponent-45081255.js +0 -804
- package/dist/esm/form-58f5ab7c.js +0 -280
- package/dist/esm/fr-3a844513.js +0 -62
- package/dist/esm/fr-ch-32438415.js +0 -60
- package/dist/esm/guid-5c8ddb45.js +0 -24
- package/dist/esm/he-4d2d41f5.js +0 -99
- package/dist/esm/hi-e5a5cf07.js +0 -59
- package/dist/esm/hr-003c79cb.js +0 -74
- package/dist/esm/hu-a679b97b.js +0 -82
- package/dist/esm/id-8ce09f04.js +0 -60
- package/dist/esm/index.es-ba252f56.js +0 -10722
- package/dist/esm/info-card_2.entry.js +0 -198
- package/dist/esm/interactive-eaa1e00b.js +0 -73
- package/dist/esm/interfaces-523c6558.js +0 -80
- package/dist/esm/it-8a20f6f9.js +0 -60
- package/dist/esm/it-ch-b829ceb9.js +0 -60
- package/dist/esm/ja-ab479dce.js +0 -66
- package/dist/esm/key-2c25459c.js +0 -16
- package/dist/esm/ko-a523df7c.js +0 -66
- package/dist/esm/label-10a81bc6.js +0 -130
- package/dist/esm/layer-table_2.entry.js +0 -512
- package/dist/esm/loadable-fca3f617.js +0 -65
- package/dist/esm/locale-b550eae4.js +0 -555
- package/dist/esm/lt-6061d0cc.js +0 -91
- package/dist/esm/lv-c8234418.js +0 -60
- package/dist/esm/map-search.entry.js +0 -172
- package/dist/esm/mapViewUtils-06a77be9.js +0 -362
- package/dist/esm/math-778f9699.js +0 -25
- package/dist/esm/mk-d08e7df4.js +0 -60
- package/dist/esm/nb-35ca03d9.js +0 -61
- package/dist/esm/nl-e815c488.js +0 -61
- package/dist/esm/observers-b17e5da7.js +0 -51
- package/dist/esm/openCloseComponent-1aef0328.js +0 -96
- package/dist/esm/pl-a1c11e8b.js +0 -108
- package/dist/esm/pt-8874bd08.js +0 -61
- package/dist/esm/pt-br-cb76472e.js +0 -59
- package/dist/esm/resources-09757d0c.js +0 -23
- package/dist/esm/resources-23bce35b.js +0 -20
- package/dist/esm/resources-6c49ff61.js +0 -2048
- package/dist/esm/resources-78b20773.js +0 -20
- package/dist/esm/resources-a9874e81.js +0 -28
- package/dist/esm/resources-ac65ccee.js +0 -35
- package/dist/esm/resources-bf1eeffc.js +0 -24
- package/dist/esm/resources-c59151a8.js +0 -19
- package/dist/esm/resources-f5fec753.js +0 -46
- package/dist/esm/ro-0e8b863a.js +0 -60
- package/dist/esm/ru-f3224893.js +0 -120
- package/dist/esm/shared-list-render-86d8dcb7.js +0 -342
- package/dist/esm/sk-eccf534f.js +0 -142
- package/dist/esm/sl-a8e0c24f.js +0 -60
- package/dist/esm/solution-store-70f874f8.js +0 -4092
- package/dist/esm/sortableComponent-267e5853.js +0 -3082
- package/dist/esm/sr-0e5973cb.js +0 -95
- package/dist/esm/sv-ff8fbe95.js +0 -65
- package/dist/esm/t9n-4c43412c.js +0 -95
- package/dist/esm/th-90f7d79c.js +0 -59
- package/dist/esm/time-18f4bea6.js +0 -195
- package/dist/esm/tr-8a61ecaa.js +0 -60
- package/dist/esm/uk-cb40a88d.js +0 -98
- package/dist/esm/utils-701a66a0.js +0 -45
- package/dist/esm/utils-d5304067.js +0 -200
- package/dist/esm/utils-e59e3392.js +0 -79
- package/dist/esm/utils-fbb44364.js +0 -61
- package/dist/esm/vi-03f26f71.js +0 -64
- package/dist/esm/zh-cn-b40fefb9.js +0 -88
- package/dist/esm/zh-hk-846adb7a.js +0 -65
- package/dist/esm/zh-tw-5e6c0c4c.js +0 -86
- package/dist/solutions-components/demos/add-record-modal.html +0 -34
- package/dist/solutions-components/demos/comment-card.html +0 -81
- package/dist/solutions-components/demos/edit-record-modal.html +0 -34
- package/dist/solutions-components/demos/map-search.html +0 -81
- package/dist/solutions-components/demos/media-card.html +0 -71
- package/dist/solutions-components/p-0004c7cf.js +0 -11
- package/dist/solutions-components/p-028fe399.js +0 -11
- package/dist/solutions-components/p-02934a73.js +0 -6
- package/dist/solutions-components/p-0350a94c.js +0 -6
- package/dist/solutions-components/p-03630cc2.js +0 -11
- package/dist/solutions-components/p-0c0ae47e.entry.js +0 -6
- package/dist/solutions-components/p-100a644d.js +0 -6
- package/dist/solutions-components/p-10ee8954.js +0 -11
- package/dist/solutions-components/p-14b581f0.js +0 -6
- package/dist/solutions-components/p-156616b5.js +0 -6
- package/dist/solutions-components/p-163f9453.entry.js +0 -22
- package/dist/solutions-components/p-16a85289.entry.js +0 -11
- package/dist/solutions-components/p-18c285a2.entry.js +0 -6
- package/dist/solutions-components/p-1c6b3fcc.js +0 -11
- package/dist/solutions-components/p-1ff86baf.js +0 -6
- package/dist/solutions-components/p-21894ee1.entry.js +0 -6
- package/dist/solutions-components/p-21d890eb.js +0 -11
- package/dist/solutions-components/p-22367f3b.entry.js +0 -11
- package/dist/solutions-components/p-224fc498.js +0 -6
- package/dist/solutions-components/p-253c9105.entry.js +0 -11
- package/dist/solutions-components/p-274e2b43.entry.js +0 -16
- package/dist/solutions-components/p-29de380e.entry.js +0 -23
- package/dist/solutions-components/p-2ab62909.entry.js +0 -12
- package/dist/solutions-components/p-2ba08c44.js +0 -11
- package/dist/solutions-components/p-2c91149c.entry.js +0 -17
- package/dist/solutions-components/p-2d79dcaa.entry.js +0 -6
- package/dist/solutions-components/p-2e02d0c6.js +0 -6
- package/dist/solutions-components/p-2fb33412.js +0 -6
- package/dist/solutions-components/p-2ff245e3.entry.js +0 -11
- package/dist/solutions-components/p-309ab62c.entry.js +0 -6
- package/dist/solutions-components/p-30fff23a.js +0 -6
- package/dist/solutions-components/p-31084785.entry.js +0 -11
- package/dist/solutions-components/p-322657e1.js +0 -6
- package/dist/solutions-components/p-333fece7.js +0 -11
- package/dist/solutions-components/p-33f7b5ad.entry.js +0 -12
- package/dist/solutions-components/p-34b5fd3f.js +0 -11
- package/dist/solutions-components/p-354a1a55.js +0 -16
- package/dist/solutions-components/p-360652a6.js +0 -6
- package/dist/solutions-components/p-361a2107.js +0 -6
- package/dist/solutions-components/p-36b68fb9.js +0 -11
- package/dist/solutions-components/p-3918da18.js +0 -6
- package/dist/solutions-components/p-3965e731.js +0 -6
- package/dist/solutions-components/p-3b2f8f0d.entry.js +0 -11
- package/dist/solutions-components/p-3ed956eb.js +0 -36
- package/dist/solutions-components/p-3fba8b91.js +0 -6
- package/dist/solutions-components/p-40494687.js +0 -11
- package/dist/solutions-components/p-441a995d.js +0 -11
- package/dist/solutions-components/p-453cd5e4.entry.js +0 -11
- package/dist/solutions-components/p-460d4659.entry.js +0 -11
- package/dist/solutions-components/p-486ea405.js +0 -11
- package/dist/solutions-components/p-48fd5600.entry.js +0 -11
- package/dist/solutions-components/p-4a0899a1.entry.js +0 -6
- package/dist/solutions-components/p-4a7214b3.js +0 -6
- package/dist/solutions-components/p-4a86a776.js +0 -474
- package/dist/solutions-components/p-4f308c0c.entry.js +0 -11
- package/dist/solutions-components/p-50ebdbe1.entry.js +0 -6
- package/dist/solutions-components/p-55a4d846.entry.js +0 -18
- package/dist/solutions-components/p-563863b1.entry.js +0 -11
- package/dist/solutions-components/p-56ee8fcf.entry.js +0 -6
- package/dist/solutions-components/p-5730082b.entry.js +0 -17
- package/dist/solutions-components/p-5798a8e1.entry.js +0 -11
- package/dist/solutions-components/p-5a9f7d1d.entry.js +0 -11
- package/dist/solutions-components/p-5dc70753.entry.js +0 -6
- package/dist/solutions-components/p-5ed755a2.entry.js +0 -37
- package/dist/solutions-components/p-5f9044e9.entry.js +0 -6
- package/dist/solutions-components/p-67dce98d.js +0 -11
- package/dist/solutions-components/p-681822de.entry.js +0 -11
- package/dist/solutions-components/p-68ae67e2.js +0 -6
- package/dist/solutions-components/p-6aabe903.entry.js +0 -6
- package/dist/solutions-components/p-6aeb2614.entry.js +0 -6
- package/dist/solutions-components/p-6b0437e2.js +0 -11
- package/dist/solutions-components/p-6b16e621.js +0 -17
- package/dist/solutions-components/p-6bca27ae.entry.js +0 -6
- package/dist/solutions-components/p-6e8fc013.js +0 -11
- package/dist/solutions-components/p-6f090d92.entry.js +0 -11
- package/dist/solutions-components/p-71f15882.js +0 -6
- package/dist/solutions-components/p-72bd2198.js +0 -6
- package/dist/solutions-components/p-734fb637.entry.js +0 -11
- package/dist/solutions-components/p-737ebddb.js +0 -6
- package/dist/solutions-components/p-74ab524f.entry.js +0 -17
- package/dist/solutions-components/p-751105bf.entry.js +0 -11
- package/dist/solutions-components/p-758a5902.js +0 -6
- package/dist/solutions-components/p-75d44bac.entry.js +0 -11
- package/dist/solutions-components/p-76fd5733.js +0 -11
- package/dist/solutions-components/p-78315271.entry.js +0 -11
- package/dist/solutions-components/p-78719506.js +0 -257
- package/dist/solutions-components/p-7903b163.js +0 -12
- package/dist/solutions-components/p-7b49e5e3.js +0 -11
- package/dist/solutions-components/p-7b4a714b.js +0 -11
- package/dist/solutions-components/p-7b7091d4.js +0 -16
- package/dist/solutions-components/p-7c96a204.entry.js +0 -11
- package/dist/solutions-components/p-7d1fd0ab.js +0 -11
- package/dist/solutions-components/p-7d3582a2.js +0 -18
- package/dist/solutions-components/p-7d5a1cdb.js +0 -11
- package/dist/solutions-components/p-7dfb2d00.entry.js +0 -17
- package/dist/solutions-components/p-7ed79fea.entry.js +0 -6
- package/dist/solutions-components/p-805d62b8.js +0 -6
- package/dist/solutions-components/p-817b174b.js +0 -6
- package/dist/solutions-components/p-851fd101.entry.js +0 -6
- package/dist/solutions-components/p-85706e85.js +0 -11
- package/dist/solutions-components/p-8b1bac08.entry.js +0 -11
- package/dist/solutions-components/p-90abad32.js +0 -6
- package/dist/solutions-components/p-9151a991.js +0 -17
- package/dist/solutions-components/p-918b08f8.js +0 -6
- package/dist/solutions-components/p-92123a6f.js +0 -6
- package/dist/solutions-components/p-92de1de9.js +0 -21
- package/dist/solutions-components/p-93015b7f.entry.js +0 -29
- package/dist/solutions-components/p-963026b1.js +0 -11
- package/dist/solutions-components/p-96601723.entry.js +0 -11
- package/dist/solutions-components/p-966deb61.js +0 -16
- package/dist/solutions-components/p-987fc85a.js +0 -6
- package/dist/solutions-components/p-9ae83468.js +0 -6
- package/dist/solutions-components/p-9d8ba56e.js +0 -11
- package/dist/solutions-components/p-a3539120.js +0 -11
- package/dist/solutions-components/p-a36a4f4c.entry.js +0 -11
- package/dist/solutions-components/p-a390ad52.js +0 -6
- package/dist/solutions-components/p-a4f6cb03.js +0 -6
- package/dist/solutions-components/p-a58a83f5.entry.js +0 -11
- package/dist/solutions-components/p-a5f966da.js +0 -6
- package/dist/solutions-components/p-a717b838.entry.js +0 -11
- package/dist/solutions-components/p-aa2b508b.js +0 -6
- package/dist/solutions-components/p-ad77361c.entry.js +0 -11
- package/dist/solutions-components/p-b05c0dab.js +0 -6
- package/dist/solutions-components/p-b2175b0f.js +0 -11
- package/dist/solutions-components/p-b32b130a.entry.js +0 -11
- package/dist/solutions-components/p-b34f269f.entry.js +0 -6
- package/dist/solutions-components/p-b4b19fd3.entry.js +0 -37
- package/dist/solutions-components/p-b62c14e9.entry.js +0 -23
- package/dist/solutions-components/p-b85c70ff.js +0 -6
- package/dist/solutions-components/p-b9569aa8.js +0 -6
- package/dist/solutions-components/p-b9df29d5.entry.js +0 -6
- package/dist/solutions-components/p-c68c6cfc.js +0 -6
- package/dist/solutions-components/p-c7f63eae.entry.js +0 -6
- package/dist/solutions-components/p-c80b582f.js +0 -11
- package/dist/solutions-components/p-c9c400b0.js +0 -6
- package/dist/solutions-components/p-cfdcbbc4.entry.js +0 -11
- package/dist/solutions-components/p-d0a0d58e.js +0 -6
- package/dist/solutions-components/p-d0bd5dc8.js +0 -11
- package/dist/solutions-components/p-d13c5d43.js +0 -6
- package/dist/solutions-components/p-d2dfbb78.entry.js +0 -11
- package/dist/solutions-components/p-d4c7b0b0.entry.js +0 -11
- package/dist/solutions-components/p-d54d34a3.entry.js +0 -11
- package/dist/solutions-components/p-d6c1abd1.js +0 -11
- package/dist/solutions-components/p-d7e59435.entry.js +0 -35
- package/dist/solutions-components/p-dadd5bfb.js +0 -11
- package/dist/solutions-components/p-dc9c209f.entry.js +0 -11
- package/dist/solutions-components/p-e12458f7.js +0 -6
- package/dist/solutions-components/p-e1384eb6.entry.js +0 -6
- package/dist/solutions-components/p-e13bc246.entry.js +0 -18
- package/dist/solutions-components/p-e19a5718.entry.js +0 -11
- package/dist/solutions-components/p-e470b2c7.entry.js +0 -6
- package/dist/solutions-components/p-e4e33d1c.js +0 -6
- package/dist/solutions-components/p-e6330f55.entry.js +0 -11
- package/dist/solutions-components/p-e7b96c06.js +0 -11
- package/dist/solutions-components/p-e84ff0f8.entry.js +0 -6
- package/dist/solutions-components/p-e90f8998.entry.js +0 -11
- package/dist/solutions-components/p-e9f43fe1.entry.js +0 -11
- package/dist/solutions-components/p-ebd369cf.js +0 -6
- package/dist/solutions-components/p-eda91258.entry.js +0 -11
- package/dist/solutions-components/p-ee853883.entry.js +0 -11
- package/dist/solutions-components/p-eea493bc.js +0 -6
- package/dist/solutions-components/p-eec28f93.js +0 -6
- package/dist/solutions-components/p-eee3969d.entry.js +0 -11
- package/dist/solutions-components/p-f03a6d9c.js +0 -61
- package/dist/solutions-components/p-f1aaf8d9.entry.js +0 -6
- package/dist/solutions-components/p-f226673c.js +0 -11
- package/dist/solutions-components/p-f546e45d.js +0 -6
- package/dist/solutions-components/p-fa3d2b1f.js +0 -6
- package/dist/solutions-components/p-fb33ea5f.js +0 -6
- package/dist/solutions-components/p-fb553e61.js +0 -6
- package/dist/solutions-components/p-fb8aa15c.entry.js +0 -11
- package/dist/types/components/add-record-modal/add-record-modal.d.ts +0 -68
- package/dist/types/components/comment-card/comment-card.d.ts +0 -26
- package/dist/types/components/edit-record-modal/edit-record-modal.d.ts +0 -49
- package/dist/types/components/map-search/map-search.d.ts +0 -120
- package/dist/types/components/media-card/media-card.d.ts +0 -80
@@ -0,0 +1,16 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{h as n,j as t,k as e,l as r,e as o,m as u}from"./p-1aca2237.js";
|
7
|
+
/*!
|
8
|
+
* focus-trap 7.4.3
|
9
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
10
|
+
*/function i(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function a(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?i(Object(e),!0).forEach((function(t){c(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function c(n,t,e){return(t=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var f=function(n){return"Tab"===n.key||9===n.keyCode},s=function(n){return f(n)&&!n.shiftKey},l=function(n){return f(n)&&n.shiftKey},v=function(n){return setTimeout(n,0)},d=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},b=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},p=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},w=[];
|
11
|
+
/*!
|
12
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
13
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
14
|
+
* v1.4.3
|
15
|
+
*/
|
16
|
+
const h=[];function y(i,c){const{el:y}=i,m=c?.focusTrapEl||y;if(!m)return;const F={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:m,setReturnFocus:n=>(o(n),!1),...c?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:h};i.focusTrap=function(o,u){var i,c=(null==u?void 0:u.document)||document,h=(null==u?void 0:u.trapStack)||w,y=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:s,isKeyBackward:l},u),m={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},F=function(n,t,e){return n&&void 0!==n[t]?n[t]:y[e||t]},O=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return m.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},j=function(n){var t=y[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var u=t;if("string"==typeof t&&!(u=c.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return u},k=function(){var n=j("initialFocus");if(!1===n)return!1;if(void 0===n||!r(n,y.tabbableOptions))if(O(c.activeElement)>=0)n=c.activeElement;else{var t=m.tabbableGroups[0];n=t&&t.firstTabbableNode||j("fallbackFocus")}if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},D=function(){if(m.containerGroups=m.containers.map((function(r){var o=n(r,y.tabbableOptions),u=t(r,y.tabbableOptions);return{container:r,tabbableNodes:o,focusableNodes:u,firstTabbableNode:o.length>0?o[0]:null,lastTabbableNode:o.length>0?o[o.length-1]:null,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.findIndex((function(t){return t===n}));if(!(r<0))return t?u.slice(r+1).find((function(n){return e(n,y.tabbableOptions)})):u.slice(0,r).reverse().find((function(n){return e(n,y.tabbableOptions)}))}}})),m.tabbableGroups=m.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),m.tabbableGroups.length<=0&&!j("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},T=function n(t){!1!==t&&t!==c.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!y.preventScroll}),m.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(k()))},g=function(n){var t=j("setReturnFocus",n);return t||!1!==t&&n},E=function(n){var t=p(n);O(t,n)>=0||(b(y.clickOutsideDeactivates,n)?i.deactivate({returnFocus:y.returnFocusOnDeactivate}):b(y.allowOutsideClick,n)||n.preventDefault())},P=function(n){var t=p(n),e=O(t,n)>=0;e||t instanceof Document?e&&(m.mostRecentlyFocusedNode=t):(n.stopImmediatePropagation(),T(m.mostRecentlyFocusedNode||k()))},A=function(n){if(("Escape"===(t=n).key||"Esc"===t.key||27===t.keyCode)&&!1!==b(y.escapeDeactivates,n))return n.preventDefault(),void i.deactivate();var t;(y.isKeyForward(n)||y.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=p(n);D();var u=null;if(m.tabbableGroups.length>0){var i=O(o,n),a=i>=0?m.containerGroups[i]:void 0;if(i<0)u=t?m.tabbableGroups[m.tabbableGroups.length-1].lastTabbableNode:m.tabbableGroups[0].firstTabbableNode;else if(t){var c=d(m.tabbableGroups,(function(n){return o===n.firstTabbableNode}));c<0&&(a.container===o||r(o,y.tabbableOptions)&&!e(o,y.tabbableOptions)&&!a.nextTabbableNode(o,!1))&&(c=i),c>=0?u=m.tabbableGroups[0===c?m.tabbableGroups.length-1:c-1].lastTabbableNode:f(n)||(u=a.nextTabbableNode(o,!1))}else{var s=d(m.tabbableGroups,(function(n){return o===n.lastTabbableNode}));s<0&&(a.container===o||r(o,y.tabbableOptions)&&!e(o,y.tabbableOptions)&&!a.nextTabbableNode(o))&&(s=i),s>=0?u=m.tabbableGroups[s===m.tabbableGroups.length-1?0:s+1].firstTabbableNode:f(n)||(u=a.nextTabbableNode(o))}}else u=j("fallbackFocus");u&&(f(n)&&n.preventDefault(),T(u))}(n,y.isKeyBackward(n))},N=function(n){var t=p(n);O(t,n)>=0||b(y.clickOutsideDeactivates,n)||b(y.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},R=function(){if(m.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(h,i),m.delayInitialFocusTimer=y.delayInitialFocus?v((function(){T(k())})):T(k()),c.addEventListener("focusin",P,!0),c.addEventListener("mousedown",E,{capture:!0,passive:!1}),c.addEventListener("touchstart",E,{capture:!0,passive:!1}),c.addEventListener("click",N,{capture:!0,passive:!1}),c.addEventListener("keydown",A,{capture:!0,passive:!1}),i},S=function(){if(m.active)return c.removeEventListener("focusin",P,!0),c.removeEventListener("mousedown",E,!0),c.removeEventListener("touchstart",E,!0),c.removeEventListener("click",N,!0),c.removeEventListener("keydown",A,!0),i},C="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===m.mostRecentlyFocusedNode}))}))&&T(k())})):void 0,B=function(){C&&(C.disconnect(),m.active&&!m.paused&&m.containers.map((function(n){C.observe(n,{subtree:!0,childList:!0})})))};return(i={get active(){return m.active},get paused(){return m.paused},activate:function(n){if(m.active)return this;var t=F(n,"onActivate"),e=F(n,"onPostActivate"),r=F(n,"checkCanFocusTrap");r||D(),m.active=!0,m.paused=!1,m.nodeFocusedBeforeActivation=c.activeElement,null==t||t();var o=function(){r&&D(),R(),B(),null==e||e()};return r?(r(m.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!m.active)return this;var t=a({onDeactivate:y.onDeactivate,onPostDeactivate:y.onPostDeactivate,checkCanReturnFocus:y.checkCanReturnFocus},n);clearTimeout(m.delayInitialFocusTimer),m.delayInitialFocusTimer=void 0,S(),m.active=!1,m.paused=!1,B(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(h,i);var e=F(t,"onDeactivate"),r=F(t,"onPostDeactivate"),o=F(t,"checkCanReturnFocus"),u=F(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var c=function(){v((function(){u&&T(g(m.nodeFocusedBeforeActivation)),null==r||r()}))};return u&&o?(o(g(m.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(n){if(m.paused||!m.active)return this;var t=F(n,"onPause"),e=F(n,"onPostPause");return m.paused=!0,null==t||t(),S(),B(),null==e||e(),this},unpause:function(n){if(!m.paused||!m.active)return this;var t=F(n,"onUnpause"),e=F(n,"onPostUnpause");return m.paused=!1,null==t||t(),D(),R(),B(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return m.containers=t.map((function(n){return"string"==typeof n?c.querySelector(n):n})),m.active&&D(),B(),this}}).updateContainerElements(o),i}(m,F)}function m(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function F(n,t){n.focusTrap?.deactivate(t)}function O(n){n.focusTrap?.updateContainerElements(n.el)}export{m as a,y as c,F as d,O as u}
|
@@ -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 i}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var e={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"câteva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(i){return i}};i.locale(e,null,!0);export default e;
|
@@ -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,h as e,H as n,g as a}from"./p-f8be5d5f.js";import{a as o,i as s,v as r,b as l}from"./p-1aca2237.js";import{s as c,c as h,d as u,H as d}from"./p-c844e615.js";import{c as m,d as p,u as b}from"./p-41f5a5fc.js";import{n as f}from"./p-40bdd836.js";import{c as v,d as g,g as x}from"./p-8bf81a2e.js";import{s as y,a as k,c as w}from"./p-5173b841.js";import{n as z,i as D,p as _,s as j,e as I,c as E,d as C,B as L}from"./p-0ff7b311.js";import{c as F}from"./p-99b55177.js";import{C as W}from"./p-c2d148da.js";import{u as K,c as V,d as H,s as N}from"./p-db08ef87.js";import"./p-a738e38f.js";import"./p-d60a77a4.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const P="number-button-item--horizontal",R="number-button-item",T={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"},A=class{constructor(e){t(this,e),this.calciteInternalInputFocus=i(this,"calciteInternalInputFocus",6),this.calciteInternalInputBlur=i(this,"calciteInternalInputBlur",6),this.calciteInputInput=i(this,"calciteInputInput",7),this.calciteInputChange=i(this,"calciteInputChange",6),this.childElType="input",this.previousValueOrigin="initial",this.mutationObserver=F("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||c(this)&&t.preventDefault())},this.clearInputValue=t=>{this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&(this.calciteInputChange.emit(),this.setPreviousEmittedValue(this.value))},this.inputBlurHandler=()=>{this.calciteInternalInputBlur.emit(),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=o(this.el,"action");t.target!==i&&this.setFocus()},this.inputFocusHandler=()=>{this.calciteInternalInputFocus.emit()},this.inputChangeHandler=()=>{"file"===this.type&&(this.files=this.childEl.files)},this.inputInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=t.target.value;z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const e=z.delocalize(i);"insertFromPaste"===t.inputType?(D(e)||t.preventDefault(),this.setValue({nativeEvent:t,origin:"user",value:_(e)}),this.childNumberEl.value=this.localizedValue):this.setValue({nativeEvent:t,origin:"user",value:e})},this.inputNumberKeyDownHandler=t=>{if("number"!==this.type||this.disabled||this.readOnly)return;if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...f,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)||e)"Enter"===t.key&&this.emitChangeIfUserModified();else{if(z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},t.key===z.decimal){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(z.decimal))return}if(/[eE]/.test(t.key)){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()}},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat||"number"!==this.type)return;const e=this.maxString?parseFloat(this.maxString):null,n=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,n,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let a=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{a?a=!1:this.incrementOrDecrementNumberValue(t,e,n,i)}),150)},this.numberButtonPointerUpAndOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.numberButtonPointerDownHandler=t=>{s(t)&&(t.preventDefault(),this.disabled||this.nudgeNumberValue(t.target.dataset.adjustment,t))},this.hiddenInputChangeHandler=t=>{t.target.name===this.name&&this.setValue({value:t.target.value,origin:"direct"}),t.stopPropagation()},this.setChildElRef=t=>{this.childEl=t},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputValue=t=>{("text"!==this.type||this.childEl)&&("number"!==this.type||this.childNumberEl)&&(this[`child${"number"===this.type?"Number":""}El`].value=t)},this.setPreviousEmittedValue=t=>{this.previousEmittedValue=this.normalizeValue(t)},this.setPreviousValue=t=>{this.previousValue=this.normalizeValue(t)},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:n,value:a})=>{if(this.setPreviousValue(null!=n?n:this.value),this.previousValueOrigin=e,"number"===this.type){z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator,signDisplay:"never"};const t=j(this.numberingSystem&&"latn"!==this.numberingSystem||"latn"!==I?z.delocalize(a):a),i=a&&!t?D(this.previousValue)?this.previousValue:"":t,n=z.localize(i);this.localizedValue=n,this.userChangedValue="user"===e&&this.value!==i,this.value=["-","."].includes(i)?"":i}else this.userChangedValue="user"===e&&this.value!==a,this.value=a;"direct"===e&&(this.setInputValue(a),this.previousEmittedValue=a),i&&(this.calciteInputInput.emit().defaultPrevented?(this.value=this.previousValue,this.localizedValue="number"===this.type?z.localize(this.previousValue):this.previousValue):t&&this.emitChangeIfUserModified())},this.inputKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.form=void 0,this.groupSeparator=!1,this.hidden=!1,this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.numberingSystem=void 0,this.localeFormat=!1,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.name=void 0,this.numberButtonType="vertical",this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=void 0,this.autocomplete=void 0,this.pattern=void 0,this.accept=void 0,this.multiple=!1,this.inputMode="text",this.enterKeyHint=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.type="text",this.value="",this.files=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.localizedValue=void 0,this.slottedActionElDisabledInternally=!1}disabledWatcher(){this.setDisabledAction()}maxWatcher(){var t;this.maxString=(null===(t=this.max)||void 0===t?void 0:t.toString())||null}minWatcher(){var t;this.minString=(null===(t=this.min)||void 0===t?void 0:t.toString())||null}onMessagesChange(){}valueWatcher(t,i){this.userChangedValue||(this.setValue({origin:"direct",previousValue:i,value:null==t||""==t?"":"number"===this.type?D(t)?t:this.previousValue||"":t}),this.warnAboutInvalidNumberValue(t)),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=r(T,this.icon,this.type)}get isClearable(){return!this.isTextarea&&(this.clearable||"search"===this.type)&&this.value.length>0}get isTextarea(){return"textarea"===this.childElType}effectiveLocaleChange(){K(this,this.effectiveLocale)}connectedCallback(){var t;m(this),E(this),V(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),v(this),h(this),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),"number"===this.type&&(this.warnAboutInvalidNumberValue(this.value),this.setValue({origin:"connected",value:D(this.value)?this.value:""})),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}disconnectedCallback(){var t;p(this),g(this),u(this),C(this),H(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.el.removeEventListener("calciteInternalHiddenInputChange",this.hiddenInputChangeHandler)}async componentWillLoad(){var t,i;y(this),this.childElType="textarea"===this.type?"textarea":"input",this.maxString=null===(t=this.max)||void 0===t?void 0:t.toString(),this.minString=null===(i=this.min)||void 0===i?void 0:i.toString(),this.requestedIcon=r(T,this.icon,this.type),await N(this)}componentDidLoad(){k(this)}componentShouldUpdate(t,i,e){return!("number"===this.type&&"value"===e&&t&&!D(t)&&(this.setValue({origin:"reset",value:i}),1))}componentDidRender(){b(this)}async setFocus(){var t,i;await w(this),"number"===this.type?null===(t=this.childNumberEl)||void 0===t||t.focus():null===(i=this.childEl)||void 0===i||i.focus()}async selectText(){var t,i;"number"===this.type?null===(t=this.childNumberEl)||void 0===t||t.select():null===(i=this.childEl)||void 0===i||i.select()}async internalSyncChildElValue(){"number"===this.type?this.childNumberEl.value=this.value:this.childEl.value=this.value}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,n){const{value:a}=this,o="up"===t?1:-1,s="any"===this.step?1:Math.abs(this.step||1),r=new L(""!==a?a:"0").add(""+s*o),l="number"==typeof e&&!isNaN(e)&&r.subtract(`${e}`).isNegative?`${e}`:"number"!=typeof i||isNaN(i)||r.subtract(`${i}`).isNegative?r.toString():`${i}`;this.setValue({committing:!0,nativeEvent:n,origin:"user",value:l})}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){var i,e,n,a;const{type:o}=this;t.type=o,"number"===o?(t.min=null!==(e=null===(i=this.min)||void 0===i?void 0:i.toString(10))&&void 0!==e?e:"",t.max=null!==(a=null===(n=this.max)||void 0===n?void 0:n.toString(10))&&void 0!==a?a:""):"text"===o&&(null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength))}setDisabledAction(){const t=o(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}normalizeValue(t){return"number"===this.type?D(t)?t:"":t}warnAboutInvalidNumberValue(t){"number"===this.type&&t&&!D(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=l(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.messages.loading,type:"indeterminate"})),a=e("button",{"aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"}),s="horizontal"===this.numberButtonType,r=e("button",{"aria-hidden":"true",class:{[R]:!0,[P]:s},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.numberButtonPointerDownHandler,onPointerOut:this.numberButtonPointerUpAndOutHandler,onPointerUp:this.numberButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-up",scale:"l"===this.scale?"m":"s"})),c=e("button",{"aria-hidden":"true",class:{[R]:!0,[P]:s},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.numberButtonPointerDownHandler,onPointerOut:this.numberButtonPointerUpAndOutHandler,onPointerUp:this.numberButtonPointerUpAndOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-down",scale:"l"===this.scale?"m":"s"})),h=e("div",{class:"number-button-wrapper"},r,c),u=e("div",{class:"prefix"},this.prefixText),m=e("div",{class:"suffix"},this.suffixText),p="number"===this.type?e("input",{accept:this.accept,"aria-label":x(this),autocomplete:this.autocomplete,autofocus:!!this.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,multiple:this.multiple,name:void 0,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputKeyUpHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,type:"text",value:this.localizedValue,ref:this.setChildNumberElRef}):null,b="number"!==this.type?[e(this.childElType,{accept:this.accept,"aria-label":x(this),autocomplete:this.autocomplete,autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.enterKeyHint,inputMode:this.inputMode,max:this.maxString,maxLength:this.maxLength,min:this.minString,minLength:this.minLength,multiple:this.multiple,name:this.name,onBlur:this.inputBlurHandler,onChange:this.inputChangeHandler,onFocus:this.inputFocusHandler,onInput:this.inputInputHandler,onKeyDown:this.inputKeyDownHandler,onKeyUp:this.inputKeyUpHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,required:!!this.required||null,step:this.step,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:this.type,value:this.value,ref:this.setChildElRef}),this.isTextarea?e("div",{class:"resize-icon-wrapper"},e("calcite-icon",{icon:"chevron-down",scale:"l"===this.scale?"m":"s"})):null]:null;return e(n,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[W.rtl]:"rtl"===t}},"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:c,this.prefixText?u:null,e("div",{class:"element-wrapper"},p,b,this.isClearable?a:null,this.requestedIcon?o:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),"number"!==this.type||"vertical"!==this.numberButtonType||this.readOnly?null:h,this.suffixText?m:null,"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:r,e(d,{component:this})))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};A.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) textarea{block-size:1.5rem;min-block-size:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) input[type=file]{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=s]) textarea{block-size:auto;padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) textarea{min-block-size:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) input[type=file]{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=m]) textarea{block-size:auto;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) textarea{min-block-size:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) input[type=file]{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([scale=l]) textarea{block-size:auto;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([disabled]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host textarea,:host input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-color:transparent}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3.5rem;padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.icon,.resize-icon-wrapper{z-index:var(--calcite-app-z-index)}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{position:absolute;inset-block-end:0px;box-sizing:border-box;padding-block:0px;padding-inline:0.25rem;inset-inline-end:0}.resize-icon-wrapper{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{inset-block-end:0.25rem;inset-inline-end:0.25rem;transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-block:1px;padding-inline:0.5rem}:host([type=file][scale=m]) input{padding-block:0.25rem;padding-inline:0.75rem}:host([type=file][scale=l]) input{padding-block:0.5rem;padding-inline:1rem}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::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}";const O=class{constructor(i){t(this,i),this.type="determinate",this.value=0,this.label=void 0,this.text=void 0,this.reversed=!1}render(){return e("div",{"aria-label":this.label||this.text,"aria-valuemax":1,"aria-valuemin":0,"aria-valuenow":this.value,role:"progressbar"},e("div",{class:"track"},e("div",{class:{bar:!0,indeterminate:"indeterminate"===this.type,reversed:this.reversed},style:"determinate"===this.type?{width:100*this.value+"%"}:{}})),this.text?e("div",{class:"text"},this.text):null)}get el(){return a(this)}};O.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-app-z-index);inline-size:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{z-index:var(--calcite-app-z-index);background-color:var(--calcite-ui-brand)}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%, 0, 0)}50%{inline-size:40%}100%{transform:translate3d(600%, 0, 0)}}";export{A as calcite_input,O as calcite_progress}
|
@@ -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 e,c as t,h as i,H as a,g as n,a as o}from"./p-f8be5d5f.js";import{e as c,n as s,z as r,a as l,o as d,b as m,t as h,x as p}from"./p-1aca2237.js";import{c as u,d as g}from"./p-7a42ffab.js";import{c as f,d as b,u as k}from"./p-41f5a5fc.js";import{C as y}from"./p-c2d148da.js";import"./p-a738e38f.js";import"./p-99b55177.js";import"./p-d60a77a4.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/function v(e,t){const i="down"===t?"nextElementSibling":"previousElementSibling";let a=e,n=null;for(;a?.matches("calcite-tree-item");){if(!a.disabled){n=a;break}a=a[i]}return n}const w=class{constructor(i){e(this,i),this.calciteTreeSelect=t(this,"calciteTreeSelect",6),this.lines=!1,this.child=void 0,this.scale="m",this.selectionMode="single",this.selectedItems=[]}componentWillRender(){var e;const t=null===(e=this.el.parentElement)||void 0===e?void 0:e.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}render(){return i(a,{"aria-multiselectable":this.child?void 0:("multiple"===this.selectionMode||"multichildren"===this.selectionMode).toString(),role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const e=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");c(e)}}onFocusIn(e){(e.relatedTarget===this.el||!this.el.contains(e.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(e){!this.el.contains(e.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onClick(e){const t=e.target,i=s(t.querySelectorAll("calcite-tree-item"));if(this.child)return;if(this.child||(e.preventDefault(),e.stopPropagation()),"ancestors"===this.selectionMode&&!this.child)return void this.updateAncestorTree(e);const a="none"===this.selectionMode,n=null!==this.selectionMode&&(!t.hasChildren||t.hasChildren&&("children"===this.selectionMode||"multichildren"===this.selectionMode)),o="multichildren"===this.selectionMode&&t.hasChildren,c=!a&&e.detail.modifyCurrentSelection&&("multiple"===this.selectionMode||"multichildren"===this.selectionMode),r=!c&&(("single"===this.selectionMode||"multiple"===this.selectionMode)&&i.length<=0||"children"===this.selectionMode||"multichildren"===this.selectionMode),l=["children","multichildren"].includes(this.selectionMode)||["single","multiple"].includes(this.selectionMode)&&t.hasChildren&&!e.detail.forceToggle;if(!this.child){const d=[];n&&d.push(t),r&&s(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((e=>{d.includes(e)||(e.selected=!1)})),l&&(["single","multiple"].includes(this.selectionMode)?t.expanded=!t.expanded:"multichildren"===this.selectionMode?t.expanded=!t.selected:"children"===this.selectionMode&&(t.expanded=!t.selected||!t.expanded)),o&&i.forEach((e=>{e.selected=!1,e.hasChildren&&(e.expanded=!1)})),c&&window.getSelection().removeAllRanges(),c&&t.selected||e.detail.forceToggle?d.forEach((e=>{e.disabled||(e.selected=!1)})):a||d.forEach((e=>{e.disabled||(e.selected=!0)}))}this.selectedItems=a?[t]:s(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit(),e.stopPropagation()}keyDownHandler(e){var t;const i=this.el.closest("calcite-tree:not([child])"),a=e.target;if(i===this.el&&"CALCITE-TREE-ITEM"===a.tagName&&this.el.contains(a))if("ArrowDown"!==e.key){if("ArrowUp"===e.key){const t=v(a.previousElementSibling,"up");t&&(t.focus(),e.preventDefault())}if("ArrowLeft"===e.key&&!a.disabled){if(a.hasChildren&&a.expanded)return a.expanded=!1,void e.preventDefault();const t=a.parentElement.closest("calcite-tree-item");return!t||a.hasChildren&&!1!==a.expanded?void 0:(t.focus(),void e.preventDefault())}"ArrowRight"!==e.key||a.disabled||a.hasChildren&&(a.expanded&&r(this.el).activeElement===a?(null===(t=v(a.querySelector("calcite-tree-item"),"down"))||void 0===t||t.focus(),e.preventDefault()):(a.expanded=!0,e.preventDefault()))}else{const t=v(a.nextElementSibling,"down");t&&(t.focus(),e.preventDefault())}}updateAncestorTree(e){const t=e.target;if(t.disabled)return;const i=[];let a=t.parentElement.closest("calcite-tree-item");for(;a;)i.push(a),a=a.parentElement.closest("calcite-tree-item");const n=Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")),o=n.filter((e=>!e.hasChildren)),c=n.filter((e=>e.hasChildren)),r=t.hasChildren?!(t.selected||t.indeterminate):!t.selected;function l(e,t){const i=e.filter((e=>e.selected)),a=e.filter((e=>!e.selected));t.selected=i.length===e.length,t.indeterminate=i.length>0&&a.length>0}o.forEach((e=>{e.selected=r,e.indeterminate=!1})),c.forEach((e=>{l(Array.from(e.querySelectorAll(":scope > calcite-tree > calcite-tree-item")),e)})),t.hasChildren?l(n,t):(t.selected=r,t.indeterminate=!1),i.forEach((e=>{const t=s(e.querySelectorAll("calcite-tree-item")),i=t.filter((e=>e.selected));if(0===i.length)return e.selected=!1,void(e.indeterminate=!1);const a=i.length<t.length;e.indeterminate=a,e.selected=!a})),this.selectedItems=s(this.el.querySelectorAll("calcite-tree-item")).filter((e=>e.selected)),this.calciteTreeSelect.emit()}getRootTabIndex(){return this.child?-1:0}get el(){return n(this)}};w.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
15
|
+
* v1.4.3
|
16
|
+
*/
|
17
|
+
const x="children",_="bullet-point",z="check",D=class{constructor(i){e(this,i),this.calciteInternalTreeItemSelect=t(this,"calciteInternalTreeItemSelect",6),this.iconClickHandler=e=>{e.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=e=>e.stopPropagation(),this.updateParentIsExpanded=(e,t)=>{l(e,x,{all:!0,selector:"calcite-tree-item"}).forEach((e=>e.parentExpanded=t))},this.actionsEndSlotChangeHandler=e=>{this.hasEndActions=d(e)},this.disabled=!1,this.expanded=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.selected=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.lines=void 0,this.scale=void 0,this.indeterminate=!1,this.selectionMode=void 0,this.updateAfterInitialRender=!1,this.hasEndActions=!1}expandedHandler(e){this.updateParentIsExpanded(this.el,e)}getSelectionMode(){this.isSelectionMultiLike="multiple"===this.selectionMode||"multichildren"===this.selectionMode}connectedCallback(){var e;if(this.parentTreeItem=null===(e=this.el.parentElement)||void 0===e?void 0:e.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:e}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,e)}u(this),f(this)}disconnectedCallback(){g(this),b(this)}componentWillRender(){var e;this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let t,i=this.el.closest("calcite-tree");if(i)for(this.selectionMode=i.selectionMode,this.scale=i.scale||"m",this.lines=i.lines;i&&(t=null===(e=i.parentElement)||void 0===e?void 0:e.closest("calcite-tree"),t!==i);)i=t,this.depth=this.depth+1}componentWillLoad(){requestAnimationFrame((()=>this.updateAfterInitialRender=!0))}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){k(this,(()=>this.parentExpanded||1===this.depth))}render(){const e="rtl"===m(this.el),t="single"===this.selectionMode||"children"===this.selectionMode,n="multiple"===this.selectionMode||"multichildren"===this.selectionMode,o="none"===this.selectionMode&&!this.hasChildren,c=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[y.rtl]:e},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"l"===this.scale?"m":"s"}):null,s=i("slot",{key:"default-slot"}),r="ancestors"===this.selectionMode?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),s):null,l=t?_:n?z:o?"blank":null,d=l?i("calcite-icon",{class:{"bullet-point":l===_,checkmark:l===z,[y.rtl]:e},icon:l,scale:"l"===this.scale?"m":"s"}):null,p=!(this.parentExpanded||1===this.depth),u=this.updateAfterInitialRender&&this.expanded,{hasEndActions:g}=this,f=i("slot",{key:"actionsEndSlot",name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}),b=i("calcite-icon",{class:"icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"});return i(a,{"aria-expanded":this.hasChildren?h(u):void 0,"aria-hidden":h(p),"aria-selected":this.selected?"true":n?"false":void 0,"calcite-hydrated-hidden":p,role:"treeitem"},i("div",{class:{"item--expanded":u}},i("div",{class:"node-actions-container"},i("div",{class:{"node-container":!0,[y.rtl]:e},"data-selection-mode":this.selectionMode,ref:e=>this.defaultSlotWrapper=e},c,d,this.iconStart?b:null,r||s),i("div",{class:"actions-end",hidden:!g,ref:e=>this.actionSlotWrapper=e},f)),i("div",{class:{"children-container":!0,[y.rtl]:e},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,role:this.hasChildren?"group":void 0},i("slot",{name:x}))))}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;const[t]=p(this.el,"a");t&&"a"!==e.composedPath()[0].tagName.toLowerCase()&&window.open(t.href,""===t.target?"_self":t.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:"ancestors"===this.selectionMode||this.isSelectionMultiLike,forceToggle:!1})}keyDownHandler(e){let t;if(!this.isActionEndEvent(e))switch(e.key){case" ":if("none"===this.selectionMode)return;this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),e.preventDefault();break;case"Enter":if("none"===this.selectionMode)return;const i=s(this.el.children).find((e=>e.matches("a")));i?(i.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),e.preventDefault();break;case"Home":t=this.el.closest("calcite-tree:not([child])");const a=t.querySelector("calcite-tree-item");null==a||a.focus();break;case"End":t=this.el.closest("calcite-tree:not([child])");let n=t.children[t.children.length-1],o=s(n.children).find((e=>e.matches("calcite-tree")));for(;o;)n=o.children[t.children.length-1],o=s(n.children).find((e=>e.matches("calcite-tree")));null==n||n.focus()}}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper)}updateAncestorTree(){const e=this.parentTreeItem;if("ancestors"===this.selectionMode&&e)if(this.selected){const t=this.el.parentElement,i=Array.from(null==t?void 0:t.children),a=i.filter((e=>e.selected));i.length===a.length?(e.selected=!0,e.indeterminate=!1):a.length>0&&(e.indeterminate=!0)}else this.indeterminate&&(this.parentTreeItem.indeterminate=!0)}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],selectionMode:["getSelectionMode"]}}};D.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}[hidden]{display:none}.node-actions-container{display:flex;justify-content:space-between}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-actions-container{min-block-size:1.5rem}:host([scale=s]) .node-actions-container .node-container .checkbox,:host([scale=s]) .node-actions-container .node-container .chevron,:host([scale=s]) .node-actions-container .node-container .checkmark,:host([scale=s]) .node-actions-container .node-container .bullet-point{margin-inline:0.25rem}:host([scale=s]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-actions-container{min-block-size:2rem}:host([scale=m]) .node-actions-container .node-container .checkbox,:host([scale=m]) .node-actions-container .node-container .chevron,:host([scale=m]) .node-actions-container .node-container .checkmark,:host([scale=m]) .node-actions-container .node-container .bullet-point{margin-inline:0.5rem}:host([scale=m]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-actions-container{min-block-size:2.75rem}:host([scale=l]) .node-actions-container .node-container .checkbox,:host([scale=l]) .node-actions-container .node-container .chevron,:host([scale=l]) .node-actions-container .node-container .checkmark,:host([scale=l]) .node-actions-container .node-container .bullet-point{margin-inline:0.75rem}:host([scale=l]) .node-actions-container .node-container .icon-start{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-app-z-index);inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-color:transparent}:host:focus,:host:active{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host(:focus:not([disabled])){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;-webkit-margin-start:1.25rem;margin-inline-start:1.25rem;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;align-items:center}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .node-container .bullet-point,:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s]) .node-container{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m]) .node-container{-webkit-padding-start:1rem;padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l]) .node-container{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s]) .node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m]) .node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l]) .node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}:host([has-children]) .node-container[data-selection-mode=ancestors] .checkbox{-webkit-margin-start:0;margin-inline-start:0}:host([has-children]) .node-container .bullet-point,:host([has-children]) .node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none])) .node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected]) .node-container[data-selection-mode=children],:host([has-children][selected]) .node-container[data-selection-mode=multichildren]{color:var(--calcite-ui-brand)}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}';const j=class{constructor(t){e(this,t),this.isPortal=!1,this.type="",this.typeKeywords=[]}render(){return i("div",{title:this.type},i("img",{class:"item-type-icon item-type-icon-margin",height:"16",src:this._getIconUrl(this.type,this.typeKeywords),width:"16"}))}_getIconUrl(e,t){const i=e&&e.toLowerCase()||"";let a=!1,n=!1,c=!1,s=!1,r=!1,l=!1,d="";return t=t||[],i.indexOf("service")>0||"feature collection"===i||"kml"===i||"wms"===i||"wmts"===i||"wfs"===i?(a=t.indexOf("Hosted Service")>-1,"feature service"===i||"feature collection"===i||"kml"===i||"wfs"===i?(s=t.indexOf("Table")>-1,n=t.indexOf("Route Layer")>-1,c=t.indexOf("Markup")>-1,r=-1!==t.indexOf("Spatiotemporal"),d=r&&s?"spatiotemporaltable":s?"table":n?"routelayer":c?"markup":r?"spatiotemporal":a?"featureshosted":"features"):"map service"===i||"wms"===i||"wmts"===i?(r=-1!==t.indexOf("Spatiotemporal"),l=-1!==t.indexOf("Relational"),d=r||l?"mapimages":a||t.indexOf("Tiled")>-1||"wmts"===i?"maptiles":"mapimages"):d="scene service"===i?t.indexOf("Line")>-1?"sceneweblayerline":t.indexOf("3DObject")>-1?"sceneweblayermultipatch":t.indexOf("Point")>-1?"sceneweblayerpoint":t.indexOf("IntegratedMesh")>-1?"sceneweblayermesh":t.indexOf("PointCloud")>-1?"sceneweblayerpointcloud":t.indexOf("Polygon")>-1?"sceneweblayerpolygon":t.indexOf("Building")>-1?"sceneweblayerbuilding":"sceneweblayer":"image service"===i?t.indexOf("Elevation 3D Layer")>-1?"elevationlayer":t.indexOf("Tiled Imagery")>-1?"tiledimagerylayer":"imagery":"stream service"===i?"streamlayer":"vector tile service"===i?"vectortile":"datastore catalog service"===i?"datastorecollection":"geocoding service"===i?"geocodeservice":"geoprocessing service"===i&&t.indexOf("Web Tool")>-1&&this.isPortal?"tool":"layers"):d="web map"===i||"cityengine web scene"===i?"maps":"web scene"===i?t.indexOf("ViewingMode-Local")>-1?"webscenelocal":"websceneglobal":"web mapping application"===i||"mobile application"===i||"application"===i||"operation view"===i||"desktop application"===i?"apps":"map document"===i||"map package"===i||"published map"===i||"scene document"===i||"globe document"===i||"basemap package"===i||"mobile basemap package"===i||"mobile map package"===i||"project package"===i||"project template"===i||"pro map"===i||"layout"===i||"layer"===i&&t.indexOf("ArcGIS Pro")>-1||"explorer map"===i&&t.indexOf("Explorer Document")?"mapsgray":"service definition"===i||"csv"===i||"shapefile"===i||"cad drawing"===i||"geojson"===i||"360 vr experience"===i||"netcdf"===i||"administrative report"===i?"datafiles":"explorer add in"===i||"desktop add in"===i||"windows viewer add in"===i||"windows viewer configuration"===i?"appsgray":"arcgis pro add in"===i||"arcgis pro configuration"===i?"addindesktop":"rule package"===i||"file geodatabase"===i||"sqlite geodatabase"===i||"csv collection"===i||"kml collection"===i||"windows mobile package"===i||"map template"===i||"desktop application template"===i||"gml"===i||"arcpad package"===i||"code sample"===i||"form"===i||"document link"===i||"operations dashboard add in"===i||"rules package"===i||"image"===i||"workflow manager package"===i||"explorer map"===i&&t.indexOf("Explorer Mapping Application")>-1||t.indexOf("Document")>-1?"datafilesgray":"network analysis service"===i||"geoprocessing service"===i||"geodata service"===i||"geometry service"===i||"geoprocessing package"===i||"locator package"===i||"geoprocessing sample"===i||"workflow manager service"===i?"toolsgray":"layer"===i||"layer package"===i||"explorer layer"===i?"layersgray":"scene package"===i?"scenepackage":"mobile scene package"===i?"mobilescenepackage":"tile package"===i||"compact tile package"===i?"tilepackage":"task file"===i?"taskfile":"report template"===i?"report-template":"statistical data collection"===i?"statisticaldatacollection":"insights workbook"===i?"workbook":"insights model"===i?"insightsmodel":"insights page"===i?"insightspage":"insights theme"===i?"insightstheme":"hub initiative"===i?"hubinitiative":"hub page"===i?"hubpage":"hub site application"===i?"hubsite":"hub event"===i?"hubevent":"relational database connection"===i?"relationaldatabaseconnection":"big data file share"===i?"datastorecollection":"image collection"===i?"imagecollection":"desktop style"===i?"desktopstyle":"style"===i?"style":"dashboard"===i?"dashboard":"raster function template"===i?"rasterprocessingtemplate":"vector tile package"===i?"vectortilepackage":"ortho mapping project"===i?"orthomappingproject":"ortho mapping template"===i?"orthomappingtemplate":"solution"===i?"solutions":"geopackage"===i?"geopackage":"deep learning package"===i?"deeplearningpackage":"real time analytic"===i?"realtimeanalytics":"big data analytic"===i?"bigdataanalytics":"feed"===i?"feed":"excalibur imagery project"===i?"excaliburimageryproject":"notebook"===i?"notebook":"storymap"===i?"storymap":"survey123 add in"===i?"survey123addin":"mission"===i?"mission":"mission report"===i?"missionreport":"quickcapture project"===i?"quickcaptureproject":"pro report"===i?"proreport":"urban model"===i?"urbanmodel":"web experience"===i?"experiencebuilder":"web experience template"===i?"webexperiencetemplate":"workflow"===i?"workflow":"kernel gateway connection"===i?"kernelgatewayconnection":"insights script"===i?"insightsscript":"hub initiative template"===i?"hubinitiativetemplate":"storymap theme"===i?"storymaptheme":"group"===i?"group":"maps",d?o("./item-icons/"+d+"16.png"):null}static get assetsDirs(){return["item-icons"]}get el(){return n(this)}};j.style='.item-type-icon{pointer-events:none;display:block;height:1rem;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}.item-type-icon-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.item-type-icon-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.item-type-icon-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.item-type-icon-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.item-type-icon-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.item-type-icon-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.item-type-icon-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.item-type-icon-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face .item-type-icon{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face .item-type-icon b,.code-face .item-type-icon strong{font-weight:400}.code-italic .item-type-icon{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic .item-type-icon b,.code-italic .item-type-icon strong{font-weight:400}.item-type-icon{margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{-webkit-margin-end:0.375rem;margin-inline-end:0.375rem}';export{w as calcite_tree,D as calcite_tree_item,j as solution_item_icon}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{c as t,d as n}from"./p-1aca2237.js";import{n as e}from"./p-40bdd836.js";import{c as s}from"./p-99b55177.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const i=new RegExp("\\.(0+)?$"),r=new RegExp("0+$");class a{constructor(t){if(t instanceof a)return t;const[n,e]=function(t){const n=t.split(/[eE]/);if(1===n.length)return t;const e=+t;if(Number.isSafeInteger(e))return`${e}`;const s="-"===t.charAt(0),r=+n[1],a=n[0].split("."),u=(s?a[0].substring(1):a[0])||"",o=a[1]||"",h=r>0?`${u}${((t,n)=>{const e=n>t.length?`${t}${"0".repeat(n-t.length)}`:t;return`${e.slice(0,n)}.${e.slice(n)}`})(o,r)}`:`${((t,n)=>{const e=Math.abs(n)-t.length,s=e>0?`${"0".repeat(e)}${t}`:t;return`${s.slice(0,n)}.${s.slice(n)}`})(u,r)}${o}`;return`${s?"-":""}${"."===h.charAt(0)?"0":""}${h.replace(i,"").replace(c,"")}`}(t).split(".").concat("");this.value=BigInt(n+e.padEnd(a.DECIMALS,"0").slice(0,a.DECIMALS))+BigInt(a.ROUNDED&&e[a.DECIMALS]>="5"),this.isNegative="-"===t.charAt(0)}getIntegersAndDecimals(){const t=this.value.toString().replace("-","").padStart(a.DECIMALS+1,"0");return{integers:t.slice(0,-a.DECIMALS),decimals:t.slice(-a.DECIMALS).replace(r,"")}}toString(){const{integers:t,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${t}${n.length?"."+n:""}`}formatToParts(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals(),s=t.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&s.unshift({type:"minusSign",value:t.minusSign}),e.length&&(s.push({type:"decimal",value:t.decimal}),e.split("").forEach((t=>s.push({type:"fraction",value:t})))),s}format(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();return`${this.isNegative?t.minusSign:""}${t.numberFormatter.format(BigInt(n))}${e.length?`${t.decimal}${e.split("").map((n=>t.numberFormatter.format(Number(n)))).join("")}`:""}`}add(t){return a.fromBigInt(this.value+new a(t).value)}subtract(t){return a.fromBigInt(this.value-new a(t).value)}multiply(t){return a._divRound(this.value*new a(t).value,a.SHIFT)}divide(t){return a._divRound(this.value*a.SHIFT,new a(t).value)}}function u(t){return!(!t||isNaN(Number(t)))}function o(t){return t&&(n=t,e.some((t=>n.includes(t))))?$(t,(t=>{let n=!1;const s=t.split("").filter(((t,s)=>t.match(/\./g)&&!n?(n=!0,!0):!(!t.match(/\-/g)||0!==s)||e.includes(t))).reduce(((t,n)=>t+n));return u(s)?new a(s).toString():""})):"";var n;
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
15
|
+
* v1.4.3
|
16
|
+
*/}a.DECIMALS=100,a.ROUNDED=!0,a.SHIFT=BigInt("1"+"0".repeat(a.DECIMALS)),a._divRound=(t,n)=>a.fromBigInt(t/n+(a.ROUNDED?t*BigInt(2)/n%BigInt(2):BigInt(0))),a.fromBigInt=t=>Object.assign(Object.create(a.prototype),{value:t,isNegative:t<BigInt(0)});const c=/^([-0])0+(?=\d)/,h=/(?!^\.)\.$/,l=/(?!^-)-/g,g=/^-\b0\b\.?0*$/,m=t=>$(t,(t=>{const n=t.replace(l,"").replace(h,"").replace(c,"$1");return u(n)?g.test(n)?n:new a(n).toString():t}));function $(t,n){if(!t)return t;const e=t.toLowerCase().indexOf("e")+1;return e?t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((t,e)=>n(1===e?t.replace(/\./g,""):t))).join("e").replace(/^e/,"1e"):n(t)}const d="en",b=["ar","bg","bs","ca","cs","da","de","el",d,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],f=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",d,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],p=["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"],w=t=>p.includes(t),v=(new Intl.NumberFormat).resolvedOptions().numberingSystem,I="arab"!==v&&w(v)?v:"latn",B=t=>w(t)?t:I;function E(t,n="cldr"){const e="cldr"===n?f:b;return t?e.includes(t)?t:"nb"===(t=t.toLowerCase())?"no":"t9n"===n&&"pt"===t?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,((t,n,e)=>`${n}-${e.toUpperCase()}`)),e.includes(t)||(t=t.split("-")[0])),"zh"===t?"zh-CN":e.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),d)):d}const N=new Set;function j(n){!function(n){n.effectiveLocale=function(n){return n.el.lang||t(n.el,"[lang]")?.lang||document.documentElement.lang||d}(n)}(n),0===N.size&&x?.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"],subtree:!0}),N.add(n)}function k(t){N.delete(t),0===N.size&&x.disconnect()}const x=s("mutation",(e=>{e.forEach((e=>{const s=e.target;N.forEach((e=>{if(!n(s,e.el))return;const i=t(e.el,"[lang]");if(!i)return void(e.effectiveLocale=d);const r=i.lang;e.effectiveLocale=i.hasAttribute("lang")&&""===r?d:r}))}))})),y=new class{constructor(){this.delocalize=t=>this._numberFormatOptions?$(t,(t=>t.replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):t,this.localize=t=>this._numberFormatOptions?$(t,(t=>u(t.trim())?new a(t.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):t)):t}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(t){if(t.locale=E(t?.locale),t.numberingSystem=B(t?.numberingSystem),!this._numberFormatOptions&&t.locale===d&&t.numberingSystem===I&&2===Object.keys(t).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(t))return;this._numberFormatOptions=t,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const n=new Map(this._digits.map(((t,n)=>[t,n]))),e=new Intl.NumberFormat(this._numberFormatOptions.locale,{numberingSystem:this._numberFormatOptions.numberingSystem}).formatToParts(-12345678.9);this._actualGroup=e.find((t=>"group"===t.type)).value,this._group=0===this._actualGroup.trim().length?" ":this._actualGroup,this._decimal=e.find((t=>"decimal"===t.type)).value,this._minusSign=e.find((t=>"minusSign"===t.type)).value,this._getDigitIndex=t=>n.get(t)}};let R,S;function z(t,n){t=E(t),R||(R=new Map),S!==t&&(R.clear(),S=t);const e=function(t={}){return Object.entries(t).sort((([t],[n])=>t.localeCompare(n))).map((t=>`${t[0]}-${t[1]}`)).flat().join(":")}(n),s=R.get(e);if(s)return s;const i=new Intl.DateTimeFormat(t,n);return R.set(e,i),i}export{a as B,z as a,B as b,j as c,k as d,I as e,E as g,u as i,y as n,o as p,m as s}
|
@@ -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-components/blob/master/LICENSE.md for details.
|
9
|
+
* v1.4.3
|
10
|
+
*/
|
11
|
+
const s={sticky:"sticky-pos"};var c;!function(s){s.circle="circle",s.square="square",s.grip="grip"}(c||(c={}));const n={menuActions:"menu-actions"};export{s as C,c as I,n as S}
|
@@ -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 a}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var e={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};a.locale(e,null,!0);export default e;
|
@@ -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,h as a,H as i,g as n}from"./p-f8be5d5f.js";import{s as e,f as s,e as o}from"./p-1aca2237.js";import{s as r,a as c,c as l}from"./p-5173b841.js";import{c as m,d as h}from"./p-0ff7b311.js";import{u as f,c as p,s as d,d as u}from"./p-db08ef87.js";import{c as g}from"./p-99b55177.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-40bdd836.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const y=["lang","role"],v=new Map;let b;function x(t,a,i=!1){const{el:n}=t,e=i?t.globalAttributes:{};a.filter((t=>!!y.includes(t)&&!!n.hasAttribute(t))).forEach((t=>{const a=n.getAttribute(t);null!==a&&(e[t]=a)})),t.globalAttributes=e}function w(t){t.forEach((({target:t})=>{const[a,i]=v.get(t);x(a,i.attributeFilter)}))}const D=class{constructor(a){t(this,a),this.menuItems=[],this.handleMenuSlotChange=t=>{this.menuItems=e(t),this.setMenuItemLayout(this.menuItems,this.layout)},this.label=void 0,this.layout="horizontal",this.messageOverrides=void 0,this.messages=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.globalAttributes={role:"menubar"}}handleLayoutChange(t){this.setMenuItemLayout(this.menuItems,t)}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){m(this),p(this),function(t,a){const{el:i}=t,n={attributeFilter:a};v.set(i,[t,n]),x(t,a,!0),b||(b=g("mutation",w)),b.observe(i,n)}(this,["role"])}async componentWillLoad(){r(this),await d(this)}componentDidLoad(){c(this)}disconnectedCallback(){h(this),u(this),function(t){v.delete(t.el),w(b.takeRecords()),b.disconnect();for(const[t,[,a]]of v.entries())b.observe(t,a)}(this)}async setFocus(){await l(this),this.el.focus()}calciteInternalNavMenuItemKeyEvent(t){const a=t.target,i=t.detail.children,n=t.detail.event.key;t.stopPropagation(),"ArrowDown"===n?"vertical"===a.layout?s(this.menuItems,a,"next",!1):t.detail.isSubmenuOpen&&i[0].setFocus():"ArrowUp"===n?"vertical"===this.layout?s(this.menuItems,a,"previous",!1):t.detail.isSubmenuOpen&&i[i.length-1].setFocus():"ArrowRight"===n?"horizontal"===this.layout?s(this.menuItems,a,"next",!1):t.detail.isSubmenuOpen&&i[0].setFocus():"ArrowLeft"===n?"horizontal"===this.layout?s(this.menuItems,a,"previous",!1):t.detail.isSubmenuOpen&&this.focusParentElement(t.target):"Escape"===n&&this.focusParentElement(t.target),t.preventDefault()}focusParentElement(t){const a=t.parentElement;a&&(o(a),a.open=!1)}setMenuItemLayout(t,a){t.forEach((t=>{t.layout=a,"menubar"===this.globalAttributes.role&&(t.isTopLevelItem=!0,t.topLevelMenuLayout=this.layout)}))}render(){return a(i,null,a("ul",Object.assign({"aria-label":this.label},this.globalAttributes),a("slot",{onSlotchange:this.handleMenuSlotChange})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{layout:["handleLayoutChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};D.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:flex}ul{margin:0px;display:inline-flex;block-size:100%;align-items:center;padding:0px}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}";export{D as calcite_menu}
|
@@ -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 a,h as i,g as t}from"./p-f8be5d5f.js";import{c as e,d as n}from"./p-0ff7b311.js";import{u as c,c as s,s as r,d as o}from"./p-db08ef87.js";import{c as l}from"./p-99b55177.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-40bdd836.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const m=class{constructor(i){a(this,i),this.resizeObserver=l("resize",(()=>this.handleResize())),this.storeLoaderEl=a=>{this.loaderEl=a,this.handleResize()},this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.loaderScale=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){c(this,this.effectiveLocale)}connectedCallback(){e(this),s(this)}async componentWillLoad(){await r(this)}disconnectedCallback(){n(this),o(this)}render(){const{el:a,loading:t,messages:e}=this,n=a.innerHTML.trim().length>0,c=t?i("calcite-loader",{label:e.loading,ref:this.storeLoaderEl,scale:this.loaderScale}):null,s=n?i("div",{class:"content"},i("slot",null)):null;return i("div",{class:"scrim"},c,s)}getScale(a){return a<72?"s":a>=480?"l":"m"}handleResize(){var a;const{loaderEl:i,el:t}=this;i&&(this.loaderScale=this.getScale(null!==(a=Math.min(t.clientHeight,t.clientWidth))&&void 0!==a?a:0))}static get assetsDirs(){return["assets"]}get el(){return t(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};m.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}";export{m as calcite_scrim}
|
@@ -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-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),m="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),p="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function s(_,r,t){var m,p;return"m"===t?r?"минута":"минуту":_+" "+(m=+_,p={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),m%10==1&&m%100!=11?p[0]:m%10>=2&&m%10<=4&&(m%100<10||m%100>=20)?p[1]:p[2])}var e=function(_,m){return o.test(m)?r[_.month()]:t[_.month()]};e.s=t,e.f=r;var a=function(_,r){return o.test(r)?m[_.month()]:p[_.month()]};a.s=p,a.f=m;var i={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:e,monthsShort:a,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:s,mm:s,h:"час",hh:s,d:"день",dd:s,M:"месяц",MM:s,y:"год",yy:s},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(i,null,!0);export default 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{d as e}from"./p-ca6edad0.js";import"./p-f8be5d5f.js";import"./p-c844e615.js";import"./p-1aca2237.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-41f5a5fc.js";import"./p-d60a77a4.js";import"./p-40bdd836.js";import"./p-8bf81a2e.js";import"./p-5173b841.js";import"./p-0ff7b311.js";import"./p-99b55177.js";import"./p-0bb57140.js";import"./p-2284cd37.js";import"./p-db08ef87.js";var r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function a(e,a,t){var i=r[t];return Array.isArray(i)&&(i=i[a?0:1]),i.replace("%d",e)}var t={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};e.locale(t,null,!0);export default t;
|
@@ -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,F as a,g as n,c as e}from"./p-f8be5d5f.js";import{c as o,d as s}from"./p-7a42ffab.js";import{a as c,t as r,i as l,e as m}from"./p-1aca2237.js";import{c as d,s as h,a as p}from"./p-5173b841.js";import{c as u,d as f}from"./p-0ff7b311.js";import{u as g,c as v,d as x,s as y}from"./p-db08ef87.js";import{S as b,C as w,I as D}from"./p-9630e3b7.js";import{S as k,I as _}from"./p-3b57fcc6.js";import{g as I}from"./p-60dba0cb.js";import{g as z}from"./p-a738e38f.js";import{i as M}from"./p-40bdd836.js";import"./p-99b55177.js";import"./p-c2d148da.js";const j=class{constructor(i){t(this,i),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await d(this),this.el.focus()}connectedCallback(){u(this),v(this),o(this)}disconnectedCallback(){f(this),x(this),s(this)}async componentWillLoad(){h(this),await y(this)}componentDidLoad(){p(this)}renderTooltip(){const{el:t}=this;return c(t,k.menuTooltip)?i("slot",{name:k.menuTooltip,slot:b.tooltip}):null}renderMenu(){const{el:t,expanded:a,menuOpen:n,scale:e,layout:o,messages:s}=this;return c(t,k.menuActions)?i("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:s.more,onCalciteActionMenuOpen:this.setMenuOpen,open:n,placement:"horizontal"===o?"bottom-start":"leading-start",scale:e},i("calcite-action",{icon:_.menu,scale:e,slot:b.trigger,text:s.more,textEnabled:a}),i("slot",{name:k.menuActions}),this.renderTooltip()):null}render(){return i(a,null,i("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};j.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';const E=["ArrowUp","ArrowDown","End","Home"],C=class{constructor(i){t(this,i),this.calciteActionMenuOpen=e(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${z()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:i,open:a,label:n}=this,e=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==e&&(this.disconnectMenuButtonEl(),this.menuButtonEl=e,this.setTooltipReferenceElement(),e&&(e.active=a,e.setAttribute("aria-controls",i),e.setAttribute("aria-expanded",r(a)),e.setAttribute("aria-haspopup","true"),e.id||(e.id=t),e.label||(e.label=n),e.text||(e.text=n),e.addEventListener("pointerdown",this.menuButtonClick),e.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("pointerdown",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.slottedMenuButtonEl=i[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=t=>{l(t)&&this.toggleOpen()},this.updateTooltip=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")));this.tooltipEl=i[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:i,menuButtonEl:a,open:n}=this;t&&(t.referenceElement=i||n?null:a)},this.updateAction=(t,i)=>{const{guid:a,activeMenuItemIndex:n}=this,e=`${a}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=e),t.active=i===n},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.handleDefaultSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-action")));this.actionElements=i},this.menuButtonKeyDown=t=>{const{key:i}=t,{actionElements:a,activeMenuItemIndex:n,open:e}=this;if(a.length){if(M(i)){if(t.preventDefault(),!e)return void this.toggleOpen();const i=a[n];i?i.click():this.toggleOpen(!1)}if("Tab"!==i)return"Escape"===i?(this.toggleOpen(!1),void t.preventDefault()):void this.handleActionNavigation(t,i,a);this.open=!1}},this.handleActionNavigation=(t,i,a)=>{if(!this.isValidKey(i,E))return;if(t.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==i&&"ArrowDown"!==i||(this.activeMenuItemIndex=0),void("End"!==i&&"ArrowUp"!==i||(this.activeMenuItemIndex=a.length-1));"Home"===i&&(this.activeMenuItemIndex=0),"End"===i&&(this.activeMenuItemIndex=a.length-1);const n=this.activeMenuItemIndex;"ArrowUp"===i&&(this.activeMenuItemIndex=I(Math.max(n-1,-1),a.length)),"ArrowDown"===i&&(this.activeMenuItemIndex=I(n+1,a.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t},this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}componentWillLoad(){h(this)}componentDidLoad(){p(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}closeCalciteActionMenuOnClick(t){l(t)&&(t.composedPath().includes(this.el)||(this.open=!1))}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){await d(this),m(this.menuButtonEl)}renderMenuButton(){const{label:t,scale:a,expanded:n}=this;return i("slot",{name:b.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{class:w.defaultTrigger,icon:D.menu,scale:a,text:t,textEnabled:n,ref:this.setDefaultMenuButtonEl}))}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:a,open:n,menuId:e,menuButtonEl:o,label:s,placement:c,overlayPositioning:r,flipPlacements:l}=this,m=t[a];return i("calcite-popover",{flipPlacements:l,focusTrapDisabled:!0,label:s,offsetDistance:0,open:n,overlayPositioning:r,placement:c,pointerDisabled:!0,referenceElement:o},i("div",{"aria-activedescendant":(null==m?void 0:m.id)||null,"aria-labelledby":null==o?void 0:o.id,class:w.menu,id:e,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(a,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:b.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};C.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{box-sizing:border-box;display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:0px}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{flex-direction:column;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{j as calcite_action_group,C as calcite_action_menu}
|
@@ -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 a,h as t,H as i,g as e}from"./p-f8be5d5f.js";import{c as n,u as c,d as o}from"./p-41f5a5fc.js";import{g as r,M as l}from"./p-0036e829.js";import"./p-d60a77a4.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const s=class{constructor(t){a(this,t),this.disabled=!1,this.heading=void 0,this.visualLevel=null}connectedCallback(){const{el:a}=this;this.visualLevel=r(a,!0),n(this)}componentDidRender(){c(this)}disconnectedCallback(){o(this)}render(){const{heading:a,visualLevel:e}=this;return t(i,null,t("tr",{class:"container",style:{"--calcite-list-item-spacing-indent-multiplier":`${e}`}},t("td",{class:"heading",colSpan:l},a)),t("slot",null))}get el(){return e(this)}};s.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.heading{-webkit-padding-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier));padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}::slotted(calcite-list-item){-webkit-margin-after:1px;margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}[hidden]{display:none}";export{s as calcite_list_item_group}
|
@@ -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{g as n}from"./p-a738e38f.js";import{C as t}from"./p-c2d148da.js";
|
7
|
+
/*!
|
8
|
+
* tabbable 6.1.2
|
9
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
10
|
+
*/
|
11
|
+
var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,u=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&u.call(n,e)&&o.unshift(n),o.filter(r)},l=function n(t,r,o){for(var i=[],f=Array.from(t);f.length;){var l=f.shift();if(!a(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),s=n(c.length?c:l.children,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:l,candidates:s})}else{u.call(l,e)&&o.filter(l)&&(r||!t.includes(l))&&i.push(l);var d=l.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(l),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(l));if(d&&v){var p=n(!0===d?l.children:d.children,!0,o);o.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else f.unshift.apply(f,l.children)}}return i},c=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},s=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},d=function(n){return"INPUT"===n.tagName},v=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},p=function(n,t){return!(t.disabled||a(t)||function(n){return d(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=u.call(n,"details>summary:first-of-type");if(u.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return v(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,l=i(n);if(f&&!f.shadowRoot&&!0===e(f))return v(n);n=n.assignedSlot?n.assignedSlot:f||l===n.ownerDocument?f:l.host}n=a}if(function(n){var t,r,e,o,u=n&&i(n),a=null===(t=u)||void 0===t?void 0:t.host,f=!1;if(u&&u!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var l,c,s;f=!(null===(c=a=null===(l=u=i(a))||void 0===l?void 0:l.host)||void 0===c||null===(s=c.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!u.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},y=function(n,t){return!(function(n){return function(n){return d(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||i(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||c(t)<0||!p(n,t))},m=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},w=function n(t){var r=[],e=[];return t.forEach((function(t,o){var u=!!t.scopeParent,i=u?t.scopeParent:t,a=c(i,u),f=u?n(t.candidates):i;0===a?u?r.push.apply(r,f):r.push(i):e.push({documentOrder:o,tabIndex:a,item:t,isScope:u,content:f})})),e.sort(s).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},E=function(n,t){var r;return r=(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:y.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:m}):f(n,t.includeContainer,y.bind(null,t)),w(r)},h=function(n,t){return(t=t||{}).getShadowRoot?l([n],t.includeContainer,{filter:p.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,p.bind(null,t))},A=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,e)&&y(t,n)},S=r.concat("iframe").join(","),g=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==u.call(n,S)&&p(t,n)};
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
15
|
+
* v1.4.3
|
16
|
+
*/
|
17
|
+
const b={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function N(n){return Array.isArray(n)?n:Array.from(n)}function T(n){return C(n,`.${t.darkMode}, .${t.lightMode}`)?.classList.contains("calcite-mode-dark")?"dark":"light"}function x(n){const t=C(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function $(n,t,r){const e=n.closest(`[${t}]`);return e?e.getAttribute(t):r}function L(n){return n.getRootNode()}function R(n){const t=L(n);return"host"in t?t:null}function D(n){return n.host||null}function k(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=L(e),u=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,i=D(o);return u||(i?n(i):null)}(n)}function C(n,t){return function n(r){return r?r.closest(t)||n(D(L(r))):null}(n)}function O(n,t){return U(n,t)}function U(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return U(e instanceof ShadowRoot?e.host:e,t)}function P(n,t){return!!O(t,(t=>t===n||void 0))}async function j(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function B(n){n&&(E(n,b)[0]||n).focus()}const z=":not([slot])";function F(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:z;return r?.all?function(n,t,r){let e=t===z?M(n,z):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===z?M(n,z)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function M(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function q(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function G(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function V(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function X(n){return Boolean(n).toString()}function Y(n){return!!H(n).length}function H(n){return n.target.assignedElements({flatten:!0})}function J(n){return!(!n.isPrimary||0!==n.button)}const K=(n,t,r,e=!0)=>{const o=n.indexOf(t);let u;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),u="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],j(u),u};export{F as a,x as b,C as c,P as d,j as e,K as f,$ as g,E as h,J as i,h as j,A as k,g as l,b as m,N as n,Y as o,B as p,k as q,I as r,H as s,X as t,T as u,G as v,V as w,q as x,R as y,L as z}
|
@@ -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 a,h as i,g as n}from"./p-f8be5d5f.js";import{c as e,d as o,u as r}from"./p-41f5a5fc.js";import{c as s}from"./p-99b55177.js";import{d as c,c as l,o as d,a as m}from"./p-7fd8e783.js";import{e as h}from"./p-1aca2237.js";import"./p-d60a77a4.js";import"./p-a738e38f.js";import"./p-c2d148da.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const p=class{constructor(i){t(this,i),this.calciteListOrderChange=a(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=s("mutation",(()=>{this.setUpSorting()})),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(),e(this)}disconnectedCallback(){o(this),c(this),this.endObserving()}componentDidRender(){r(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}handleNudgeEvent(t){const{direction:a}=t.detail,i=t.composedPath().find((t=>t.matches(this.handleSelector))),n=this.items.find((a=>a.contains(i)||t.composedPath().includes(a))),e=this.items.length-1,o=this.items.indexOf(n);let r,s=!1;"up"===a?0===o?s=!0:r=o-1:o===e?r=0:o===e-1?s=!0:r=o+2,this.endObserving(),s?n.parentElement.appendChild(n):n.parentElement.insertBefore(n,this.items[r]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame((()=>h(i))),"activated"in i&&(i.activated=!0)}setUpSorting(){const{dragSelector:t,group:a,handleSelector:i}=this;this.items=Array.from(this.el.children);const n={dataIdAttr:"id",group:a,handle:i,onStart:()=>{this.endObserving(),d(this)},onEnd:()=>{m(this),this.beginObserving()},onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}};t&&(n.draggable=t),l(this,n)}beginObserving(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}endObserving(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){const{layout:t}=this,a="horizontal"===t||!1;return i("div",{class:{container:!0,"container--vertical":!a,"container--horizontal":a}},i("slot",null))}get el(){return n(this)}};p.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{p 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 i,g as a}from"./p-f8be5d5f.js";import{c as n,d as o}from"./p-7a42ffab.js";import{t as r,a as c}from"./p-1aca2237.js";import{c as s,d as l}from"./p-0ff7b311.js";import{c as d,d as m,s as h,u as f}from"./p-db08ef87.js";import"./p-99b55177.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-40bdd836.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const p="thumbnail",u="title",g="subtitle",b="footer-start",v="footer-end",w=class{constructor(i){t(this,i),this.calciteCardSelect=e(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){n(this),s(this),d(this)}disonnectedCallback(){o(this),l(this),m(this)}async componentWillLoad(){await h(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),e=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,e&&this.renderThumbnail(),i("section",{"aria-busy":r(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!e&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return c(this.el,p)?i("section",{class:"thumbnail-wrapper"},i("slot",{name:p})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.messages.select}))}renderHeader(){const{el:t}=this,e=c(t,u),a=c(t,g);return e||a?i("header",{class:"header"},i("slot",{name:u}),i("slot",{name:g})):null}renderFooter(){const{el:t}=this,e=c(t,b),a=c(t,v);return e||a?i("footer",{class:"footer"},i("slot",{name:b}),i("slot",{name:v})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{-webkit-margin-before:auto;margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{-webkit-padding-end:2rem;padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}";export{w as calcite_card}
|
@@ -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{a as n}from"./p-f8be5d5f.js";import{c as o}from"./p-a5d44d7d.js";import{g as s}from"./p-0ff7b311.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const t={},a={};async function r(o){const f=s(o);if(t[f])return t[f];a[f]||(a[f]=fetch(n(`./assets/date-picker/nls/${f}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${f}" not found or invalid, falling back to english`),r("en")))));const i=await a[f];return t[f]=i,i}function f(n){return n.map(((n,s)=>o(n,1===s)))}export{r as a,f 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{r as t,c as i,h as a,g as e}from"./p-f8be5d5f.js";import{f as n,t as s}from"./p-1aca2237.js";import{c,d as o,u as r}from"./p-41f5a5fc.js";import{c as l}from"./p-99b55177.js";import{a as h,s as m,c as d}from"./p-5173b841.js";import"./p-a738e38f.js";import"./p-c2d148da.js";import"./p-d60a77a4.js";const p=class{constructor(a){t(this,a),this.calciteChipGroupSelect=i(this,"calciteChipGroupSelect",6),this.mutationObserver=l("mutation",(()=>this.updateItems())),this.items=[],this.updateItems=t=>{this.items=(t?t.target:this.slotRefEl).assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-chip"))),this.items.forEach((t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(t,i)=>{i&&this.items.forEach((t=>{const a=i===t;switch(this.selectionMode){case"multiple":a&&(t.selected=!t.selected);break;case"single":t.selected=!!a&&!t.selected;break;case"single-persist":t.selected=!!a}})),this.selectedItems=this.items.filter((t=>t.selected)),t&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){var t;c(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}componentDidRender(){o(this),r(this)}componentDidLoad(){h(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}async componentWillLoad(){m(this)}calciteInternalChipKeyEventListener(t){if(t.composedPath().includes(this.el)){const i=this.items.filter((t=>!t.disabled));switch(t.detail.key){case"ArrowRight":n(i,t.detail.target,"next");break;case"ArrowLeft":n(i,t.detail.target,"previous");break;case"Home":n(i,t.detail.target,"first");break;case"End":n(i,t.detail.target,"last")}}}calciteChipCloseListener(t){const i=t.target;this.items.includes(i)&&(this.items.indexOf(i)>0?n(this.items,i,"previous"):0===this.items.indexOf(i)?n(this.items,i,"next"):n(this.items,i,"first")),this.items=this.items.filter((t=>t!==i))}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!0,t.target)}async setFocus(){var t;await d(this),this.disabled||null===(t=this.selectedItems[0]||this.items[0])||void 0===t||t.setFocus()}render(){const t="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return a("div",{"aria-disabled":s(this.disabled),"aria-label":this.label,class:"container",role:t},a("slot",{onSlotchange:this.updateItems,ref:t=>this.slotRefEl=t}))}get el(){return e(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};p.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{p as calcite_chip_group}
|
@@ -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{a as n,i as e,b as t}from"./p-0ff7b311.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.4.3
|
11
|
+
*/const r=5;function u(e,r,u=!0){const i={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:t(r)};return u&&(i.second="2-digit"),n(e,i)}function i(n){const e=n.toString();return n>=0&&n<=9?e.padStart(2,"0"):e}function o(n){if(!c(n))return null;const[e,t,r]=n.split(":"),u=i(parseInt(e)),o=i(parseInt(t));return r?`${u}:${o}:${i(parseInt(r))}`:`${u}:${o}`}function s(n,e){return a("meridiem",u(n,e).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function a(n,e){if(!n||!e)return null;if("hourSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"hour"===n))),t=e.indexOf(e.find((({type:n})=>"minute"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("minuteSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"minute"===n))),t=e.indexOf(e.find((({type:n})=>"second"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("secondSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"second"===n))),t=e[n+1];return t&&"literal"===t.type&&t.value?.trim()||null}return e.find((({type:e})=>"meridiem"==n?"dayPeriod"===e:e===n))?.value||null}function l(n){if(!e(n))return null;const t=parseInt(n);return t>=0&&t<=11?"AM":"PM"}function c(n){if(!n||n.startsWith(":")||n.endsWith(":"))return!1;const t=n.split(":");if(!(t.length>1&&t.length<4))return!1;const[r,u,i]=t,o=parseInt(t[0]),s=parseInt(t[1]),a=parseInt(t[2]),l=e(r)&&o>=0&&o<24,c=e(u)&&s>=0&&s<60,f=e(i)&&a>=0&&a<60;return!!(l&&c&&!i||l&&c&&f)||void 0}function f({value:n,part:t,locale:r,numberingSystem:i}){if(!function(n,t){if("meridiem"===t)return"AM"===n||"PM"===n;if(!e(n))return!1;const r=Number(n);return"hour"===t?r>=0&&r<24:r>=0&&r<60}(n,t))return;const o=parseInt(n),s=new Date(Date.UTC(0,0,0,"hour"===t?o:"meridiem"===t?"AM"===n?0:12:0,"minute"===t?o:0,"second"===t?o:0));return s?a(t,u(r,i).formatToParts(s)):void 0}function m({value:n,locale:e,numberingSystem:t,includeSeconds:r=!0}){if(!c(n))return null;const{hour:i,minute:o,second:s="0"}=I(n),a=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(o),parseInt(s)));return u(e,t,r)?.format(a)||null}function d({value:n,locale:e,numberingSystem:t}){if(!c(n))return null;const{hour:r,minute:i,second:o="0"}=I(n),s=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(i),parseInt(o)));if(s){const n=u(e,t).formatToParts(s);return{localizedHour:a("hour",n),localizedHourSuffix:a("hourSuffix",n),localizedMinute:a("minute",n),localizedMinuteSuffix:a("minuteSuffix",n),localizedSecond:a("second",n),localizedSecondSuffix:a("secondSuffix",n),localizedMeridiem:a("meridiem",n)}}return null}function p({value:n,locale:e,numberingSystem:t}){if(!c(n))return null;const{hour:r,minute:i,second:o="0"}=I(n),s=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(i),parseInt(o)));return s?u(e,t).formatToParts(s):null}function I(n){if(c(n)){const[e,t,r]=n.split(":");return{hour:e,minute:t,second:r}}return{hour:null,minute:null,second:null}}function S(n,e=!0){if(!c(n))return"";const{hour:t,minute:r,second:u}=I(n);let o=`${i(parseInt(t))}:${i(parseInt(r))}`;return e&&(o+=`:${i(parseInt(e&&u||"0"))}`),o}export{d as a,p as b,i as c,f as d,s as e,o as f,l as g,c as i,m as l,r as m,I as p,S as t}
|