@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
@@ -1,1014 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
9
|
-
|
10
|
-
const index = require('./index-6654298b.js');
|
11
|
-
const filter = require('./filter-8be5307a.js');
|
12
|
-
const interactive = require('./interactive-39ec70c2.js');
|
13
|
-
const loadable = require('./loadable-30ee9cda.js');
|
14
|
-
const locale = require('./locale-180f4242.js');
|
15
|
-
const t9n = require('./t9n-44f8e750.js');
|
16
|
-
const debounce = require('./debounce-69c3bada.js');
|
17
|
-
const dom = require('./dom-5fd13fa0.js');
|
18
|
-
const observers = require('./observers-f7aad52c.js');
|
19
|
-
const utils = require('./utils-da61890c.js');
|
20
|
-
const form = require('./form-bbb48e39.js');
|
21
|
-
const label = require('./label-345b79b7.js');
|
22
|
-
require('./key-5b33d77d.js');
|
23
|
-
require('./guid-66679eda.js');
|
24
|
-
require('./resources-17e31c94.js');
|
25
|
-
|
26
|
-
/*!
|
27
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
28
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
29
|
-
* v1.4.2
|
30
|
-
*/
|
31
|
-
const CSS$2 = {
|
32
|
-
container: "container",
|
33
|
-
searchIcon: "search-icon"
|
34
|
-
};
|
35
|
-
const ICONS = {
|
36
|
-
search: "search",
|
37
|
-
close: "x"
|
38
|
-
};
|
39
|
-
const DEBOUNCE_TIMEOUT = 250;
|
40
|
-
|
41
|
-
const filterCss = "@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([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;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
|
42
|
-
|
43
|
-
const Filter = class {
|
44
|
-
constructor(hostRef) {
|
45
|
-
index.registerInstance(this, hostRef);
|
46
|
-
this.calciteFilterChange = index.createEvent(this, "calciteFilterChange", 6);
|
47
|
-
// --------------------------------------------------------------------------
|
48
|
-
//
|
49
|
-
// Private Methods
|
50
|
-
//
|
51
|
-
// --------------------------------------------------------------------------
|
52
|
-
this.filter = debounce.debounce((value, emit = false) => this.updateFiltered(filter.filter(this.items, value), emit), DEBOUNCE_TIMEOUT);
|
53
|
-
this.inputHandler = (event) => {
|
54
|
-
const target = event.target;
|
55
|
-
this.value = target.value;
|
56
|
-
this.filter(target.value, true);
|
57
|
-
};
|
58
|
-
this.keyDownHandler = (event) => {
|
59
|
-
if (event.key === "Escape") {
|
60
|
-
this.clear();
|
61
|
-
event.preventDefault();
|
62
|
-
}
|
63
|
-
if (event.key === "Enter") {
|
64
|
-
event.preventDefault();
|
65
|
-
}
|
66
|
-
};
|
67
|
-
this.clear = () => {
|
68
|
-
this.value = "";
|
69
|
-
this.filter("", true);
|
70
|
-
this.setFocus();
|
71
|
-
};
|
72
|
-
this.items = [];
|
73
|
-
this.disabled = false;
|
74
|
-
this.filteredItems = [];
|
75
|
-
this.placeholder = undefined;
|
76
|
-
this.scale = "m";
|
77
|
-
this.value = "";
|
78
|
-
this.messages = undefined;
|
79
|
-
this.messageOverrides = undefined;
|
80
|
-
this.effectiveLocale = undefined;
|
81
|
-
this.defaultMessages = undefined;
|
82
|
-
}
|
83
|
-
watchItemsHandler() {
|
84
|
-
this.filter(this.value);
|
85
|
-
}
|
86
|
-
onMessagesChange() {
|
87
|
-
/* wired up by t9n util */
|
88
|
-
}
|
89
|
-
valueHandler(value) {
|
90
|
-
this.filter(value);
|
91
|
-
}
|
92
|
-
effectiveLocaleChange() {
|
93
|
-
t9n.updateMessages(this, this.effectiveLocale);
|
94
|
-
}
|
95
|
-
//--------------------------------------------------------------------------
|
96
|
-
//
|
97
|
-
// Lifecycle
|
98
|
-
//
|
99
|
-
//--------------------------------------------------------------------------
|
100
|
-
async componentWillLoad() {
|
101
|
-
loadable.setUpLoadableComponent(this);
|
102
|
-
this.updateFiltered(filter.filter(this.items, this.value));
|
103
|
-
await t9n.setUpMessages(this);
|
104
|
-
}
|
105
|
-
connectedCallback() {
|
106
|
-
locale.connectLocalized(this);
|
107
|
-
t9n.connectMessages(this);
|
108
|
-
}
|
109
|
-
componentDidRender() {
|
110
|
-
interactive.updateHostInteraction(this);
|
111
|
-
}
|
112
|
-
disconnectedCallback() {
|
113
|
-
locale.disconnectLocalized(this);
|
114
|
-
t9n.disconnectMessages(this);
|
115
|
-
}
|
116
|
-
componentDidLoad() {
|
117
|
-
loadable.setComponentLoaded(this);
|
118
|
-
}
|
119
|
-
// --------------------------------------------------------------------------
|
120
|
-
//
|
121
|
-
// Public Methods
|
122
|
-
//
|
123
|
-
// --------------------------------------------------------------------------
|
124
|
-
/** Sets focus on the component. */
|
125
|
-
async setFocus() {
|
126
|
-
var _a;
|
127
|
-
await loadable.componentLoaded(this);
|
128
|
-
(_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
|
129
|
-
}
|
130
|
-
updateFiltered(filtered, emit = false) {
|
131
|
-
this.filteredItems.length = 0;
|
132
|
-
this.filteredItems = this.filteredItems.concat(filtered);
|
133
|
-
if (emit) {
|
134
|
-
this.calciteFilterChange.emit();
|
135
|
-
}
|
136
|
-
}
|
137
|
-
// --------------------------------------------------------------------------
|
138
|
-
//
|
139
|
-
// Render Methods
|
140
|
-
//
|
141
|
-
// --------------------------------------------------------------------------
|
142
|
-
render() {
|
143
|
-
const { disabled, scale } = this;
|
144
|
-
return (index.h(index.Fragment, null, index.h("div", { class: CSS$2.container }, index.h("label", null, index.h("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
145
|
-
// eslint-disable-next-line react/jsx-sort-props
|
146
|
-
ref: (el) => {
|
147
|
-
this.textInput = el;
|
148
|
-
} })))));
|
149
|
-
}
|
150
|
-
static get delegatesFocus() { return true; }
|
151
|
-
static get assetsDirs() { return ["assets"]; }
|
152
|
-
get el() { return index.getElement(this); }
|
153
|
-
static get watchers() { return {
|
154
|
-
"items": ["watchItemsHandler"],
|
155
|
-
"messageOverrides": ["onMessagesChange"],
|
156
|
-
"value": ["valueHandler"],
|
157
|
-
"effectiveLocale": ["effectiveLocaleChange"]
|
158
|
-
}; }
|
159
|
-
};
|
160
|
-
Filter.style = filterCss;
|
161
|
-
|
162
|
-
/*!
|
163
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
164
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
165
|
-
* v1.4.2
|
166
|
-
*/
|
167
|
-
const CSS$1 = {
|
168
|
-
container: "container",
|
169
|
-
table: "table",
|
170
|
-
scrim: "scrim",
|
171
|
-
tableContainer: "table-container",
|
172
|
-
sticky: "sticky-pos"
|
173
|
-
};
|
174
|
-
const debounceTimeout = 0;
|
175
|
-
|
176
|
-
const listCss = "@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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{position:relative;z-index:var(--calcite-app-z-index);box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%}::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)}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky)}calcite-filter{-webkit-margin-after:1px;margin-block-end:1px}";
|
177
|
-
|
178
|
-
const listItemSelector = "calcite-list-item";
|
179
|
-
const parentSelector = "calcite-list-item-group, calcite-list-item";
|
180
|
-
const List = class {
|
181
|
-
constructor(hostRef) {
|
182
|
-
index.registerInstance(this, hostRef);
|
183
|
-
this.calciteListChange = index.createEvent(this, "calciteListChange", 6);
|
184
|
-
this.calciteListFilter = index.createEvent(this, "calciteListFilter", 6);
|
185
|
-
this.listItems = [];
|
186
|
-
this.enabledListItems = [];
|
187
|
-
this.mutationObserver = observers.createObserver("mutation", () => this.updateListItems());
|
188
|
-
// --------------------------------------------------------------------------
|
189
|
-
//
|
190
|
-
// Private Methods
|
191
|
-
//
|
192
|
-
// --------------------------------------------------------------------------
|
193
|
-
this.handleDefaultSlotChange = (event) => {
|
194
|
-
utils.updateListItemChildren(utils.getListItemChildren(event));
|
195
|
-
};
|
196
|
-
this.setActiveListItem = () => {
|
197
|
-
const { enabledListItems } = this;
|
198
|
-
if (!enabledListItems.some((item) => item.active)) {
|
199
|
-
if (enabledListItems[0]) {
|
200
|
-
enabledListItems[0].active = true;
|
201
|
-
}
|
202
|
-
}
|
203
|
-
};
|
204
|
-
this.updateSelectedItems = (emit = false) => {
|
205
|
-
this.selectedItems = this.enabledListItems.filter((item) => item.selected);
|
206
|
-
if (emit) {
|
207
|
-
this.calciteListChange.emit();
|
208
|
-
}
|
209
|
-
};
|
210
|
-
this.updateFilteredItems = (emit = false) => {
|
211
|
-
const { listItems, filteredData, filterText } = this;
|
212
|
-
const values = filteredData.map((item) => item.value);
|
213
|
-
const lastDescendantItems = listItems === null || listItems === void 0 ? void 0 : listItems.filter((listItem) => listItems.every((li) => li === listItem || !listItem.contains(li)));
|
214
|
-
const filteredItems = listItems.filter((item) => !filterText || values.includes(item.value)) || [];
|
215
|
-
const visibleParents = new WeakSet();
|
216
|
-
lastDescendantItems.forEach((listItem) => this.filterElements({ el: listItem, filteredItems, visibleParents }));
|
217
|
-
this.filteredItems = filteredItems;
|
218
|
-
if (emit) {
|
219
|
-
this.calciteListFilter.emit();
|
220
|
-
}
|
221
|
-
};
|
222
|
-
this.handleFilter = (event) => {
|
223
|
-
event.stopPropagation();
|
224
|
-
const { filteredItems, value } = event.currentTarget;
|
225
|
-
this.filteredData = filteredItems;
|
226
|
-
this.filterText = value;
|
227
|
-
this.updateListItems(true);
|
228
|
-
};
|
229
|
-
this.getItemData = () => {
|
230
|
-
return this.listItems.map((item) => ({
|
231
|
-
label: item.label,
|
232
|
-
description: item.description,
|
233
|
-
metadata: item.metadata,
|
234
|
-
value: item.value
|
235
|
-
}));
|
236
|
-
};
|
237
|
-
this.updateListItems = debounce.debounce((emit = false) => {
|
238
|
-
const { selectionAppearance, selectionMode } = this;
|
239
|
-
const items = this.queryListItems();
|
240
|
-
items.forEach((item) => {
|
241
|
-
item.selectionAppearance = selectionAppearance;
|
242
|
-
item.selectionMode = selectionMode;
|
243
|
-
});
|
244
|
-
this.listItems = items;
|
245
|
-
if (this.filterEnabled) {
|
246
|
-
this.dataForFilter = this.getItemData();
|
247
|
-
if (this.filterEl) {
|
248
|
-
this.filterEl.items = this.dataForFilter;
|
249
|
-
}
|
250
|
-
}
|
251
|
-
this.updateFilteredItems(emit);
|
252
|
-
this.enabledListItems = items.filter((item) => !item.disabled && !item.closed);
|
253
|
-
this.setActiveListItem();
|
254
|
-
this.updateSelectedItems(emit);
|
255
|
-
}, debounceTimeout);
|
256
|
-
this.queryListItems = () => {
|
257
|
-
return Array.from(this.el.querySelectorAll(listItemSelector));
|
258
|
-
};
|
259
|
-
this.focusRow = (focusEl) => {
|
260
|
-
const { enabledListItems } = this;
|
261
|
-
if (!focusEl) {
|
262
|
-
return;
|
263
|
-
}
|
264
|
-
enabledListItems.forEach((listItem) => (listItem.active = listItem === focusEl));
|
265
|
-
focusEl.setFocus();
|
266
|
-
};
|
267
|
-
this.isNavigable = (listItem) => {
|
268
|
-
var _a;
|
269
|
-
const parentListItemEl = (_a = listItem.parentElement) === null || _a === void 0 ? void 0 : _a.closest(listItemSelector);
|
270
|
-
if (!parentListItemEl) {
|
271
|
-
return true;
|
272
|
-
}
|
273
|
-
return parentListItemEl.open && this.isNavigable(parentListItemEl);
|
274
|
-
};
|
275
|
-
this.handleListKeydown = (event) => {
|
276
|
-
if (event.defaultPrevented) {
|
277
|
-
return;
|
278
|
-
}
|
279
|
-
const { key } = event;
|
280
|
-
const filteredItems = this.enabledListItems.filter((listItem) => this.isNavigable(listItem));
|
281
|
-
const currentIndex = filteredItems.findIndex((listItem) => listItem.active);
|
282
|
-
if (key === "ArrowDown") {
|
283
|
-
event.preventDefault();
|
284
|
-
const nextIndex = currentIndex + 1;
|
285
|
-
if (filteredItems[nextIndex]) {
|
286
|
-
this.focusRow(filteredItems[nextIndex]);
|
287
|
-
}
|
288
|
-
}
|
289
|
-
else if (key === "ArrowUp") {
|
290
|
-
event.preventDefault();
|
291
|
-
const prevIndex = currentIndex - 1;
|
292
|
-
if (filteredItems[prevIndex]) {
|
293
|
-
this.focusRow(filteredItems[prevIndex]);
|
294
|
-
}
|
295
|
-
}
|
296
|
-
else if (key === "Home") {
|
297
|
-
event.preventDefault();
|
298
|
-
const homeItem = filteredItems[0];
|
299
|
-
if (homeItem) {
|
300
|
-
this.focusRow(homeItem);
|
301
|
-
}
|
302
|
-
}
|
303
|
-
else if (key === "End") {
|
304
|
-
event.preventDefault();
|
305
|
-
const endItem = filteredItems[filteredItems.length - 1];
|
306
|
-
if (endItem) {
|
307
|
-
this.focusRow(endItem);
|
308
|
-
}
|
309
|
-
}
|
310
|
-
};
|
311
|
-
this.disabled = false;
|
312
|
-
this.filterEnabled = false;
|
313
|
-
this.filteredItems = [];
|
314
|
-
this.filteredData = [];
|
315
|
-
this.filterPlaceholder = undefined;
|
316
|
-
this.filterText = undefined;
|
317
|
-
this.label = undefined;
|
318
|
-
this.loading = false;
|
319
|
-
this.openable = false;
|
320
|
-
this.selectedItems = [];
|
321
|
-
this.selectionMode = "none";
|
322
|
-
this.selectionAppearance = "icon";
|
323
|
-
this.dataForFilter = [];
|
324
|
-
}
|
325
|
-
handleFilterEnabledChange() {
|
326
|
-
this.updateListItems();
|
327
|
-
}
|
328
|
-
handleSelectionAppearanceChange() {
|
329
|
-
this.updateListItems();
|
330
|
-
}
|
331
|
-
handleCalciteInternalFocusPreviousItem(event) {
|
332
|
-
event.stopPropagation();
|
333
|
-
const { enabledListItems } = this;
|
334
|
-
const currentIndex = enabledListItems.findIndex((listItem) => listItem.active);
|
335
|
-
const prevIndex = currentIndex - 1;
|
336
|
-
if (enabledListItems[prevIndex]) {
|
337
|
-
this.focusRow(enabledListItems[prevIndex]);
|
338
|
-
}
|
339
|
-
}
|
340
|
-
handleCalciteInternalListItemActive(event) {
|
341
|
-
const target = event.target;
|
342
|
-
const { listItems } = this;
|
343
|
-
listItems.forEach((listItem) => {
|
344
|
-
listItem.active = listItem === target;
|
345
|
-
});
|
346
|
-
}
|
347
|
-
handleCalciteListItemSelect() {
|
348
|
-
this.updateSelectedItems(true);
|
349
|
-
}
|
350
|
-
handleCalciteInternalListItemSelect(event) {
|
351
|
-
const target = event.target;
|
352
|
-
const { listItems, selectionMode } = this;
|
353
|
-
listItems.forEach((listItem) => {
|
354
|
-
if (selectionMode === "single" || selectionMode === "single-persist") {
|
355
|
-
listItem.selected = listItem === target;
|
356
|
-
}
|
357
|
-
});
|
358
|
-
this.updateSelectedItems();
|
359
|
-
}
|
360
|
-
handleCalciteListItemClose() {
|
361
|
-
this.updateListItems(true);
|
362
|
-
}
|
363
|
-
//--------------------------------------------------------------------------
|
364
|
-
//
|
365
|
-
// Lifecycle
|
366
|
-
//
|
367
|
-
//--------------------------------------------------------------------------
|
368
|
-
connectedCallback() {
|
369
|
-
var _a;
|
370
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
371
|
-
this.updateListItems();
|
372
|
-
}
|
373
|
-
disconnectedCallback() {
|
374
|
-
var _a;
|
375
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
376
|
-
}
|
377
|
-
componentWillLoad() {
|
378
|
-
loadable.setUpLoadableComponent(this);
|
379
|
-
}
|
380
|
-
componentDidRender() {
|
381
|
-
interactive.updateHostInteraction(this);
|
382
|
-
}
|
383
|
-
componentDidLoad() {
|
384
|
-
loadable.setComponentLoaded(this);
|
385
|
-
const { filterEl } = this;
|
386
|
-
const filteredItems = filterEl === null || filterEl === void 0 ? void 0 : filterEl.filteredItems;
|
387
|
-
if (filteredItems) {
|
388
|
-
this.filteredData = filteredItems;
|
389
|
-
}
|
390
|
-
this.updateListItems();
|
391
|
-
}
|
392
|
-
// --------------------------------------------------------------------------
|
393
|
-
//
|
394
|
-
// Public Methods
|
395
|
-
//
|
396
|
-
// --------------------------------------------------------------------------
|
397
|
-
/** Sets focus on the component's first focusable element. */
|
398
|
-
async setFocus() {
|
399
|
-
var _a;
|
400
|
-
await loadable.componentLoaded(this);
|
401
|
-
(_a = this.enabledListItems.find((listItem) => listItem.active)) === null || _a === void 0 ? void 0 : _a.setFocus();
|
402
|
-
}
|
403
|
-
// --------------------------------------------------------------------------
|
404
|
-
//
|
405
|
-
// Render Methods
|
406
|
-
//
|
407
|
-
// --------------------------------------------------------------------------
|
408
|
-
render() {
|
409
|
-
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
410
|
-
return (index.h("div", { class: CSS$1.container }, loading ? index.h("calcite-scrim", { class: CSS$1.scrim, loading: loading }) : null, index.h("table", { "aria-busy": dom.toAriaBoolean(loading), "aria-label": label || "", class: CSS$1.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (index.h("thead", null, index.h("tr", { class: { [CSS$1.sticky]: true } }, index.h("th", { colSpan: utils.MAX_COLUMNS }, index.h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, value: filterText,
|
411
|
-
// eslint-disable-next-line react/jsx-sort-props
|
412
|
-
ref: (el) => (this.filterEl = el) }))))) : null, index.h("tbody", { class: CSS$1.tableContainer }, index.h("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
413
|
-
}
|
414
|
-
filterElements({ el, filteredItems, visibleParents }) {
|
415
|
-
const hidden = !visibleParents.has(el) && !filteredItems.includes(el);
|
416
|
-
el.hidden = hidden;
|
417
|
-
const closestParent = el.parentElement.closest(parentSelector);
|
418
|
-
if (!closestParent) {
|
419
|
-
return;
|
420
|
-
}
|
421
|
-
if (!hidden) {
|
422
|
-
visibleParents.add(closestParent);
|
423
|
-
}
|
424
|
-
this.filterElements({
|
425
|
-
el: closestParent,
|
426
|
-
filteredItems,
|
427
|
-
visibleParents
|
428
|
-
});
|
429
|
-
}
|
430
|
-
get el() { return index.getElement(this); }
|
431
|
-
static get watchers() { return {
|
432
|
-
"filterEnabled": ["handleFilterEnabledChange"],
|
433
|
-
"selectionMode": ["handleSelectionAppearanceChange"],
|
434
|
-
"selectionAppearance": ["handleSelectionAppearanceChange"]
|
435
|
-
}; }
|
436
|
-
};
|
437
|
-
List.style = listCss;
|
438
|
-
|
439
|
-
const listItemCss = "@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;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);-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))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}.container--border-selected{-webkit-border-start:4px solid var(--calcite-ui-brand);border-inline-start:4px solid var(--calcite-ui-brand)}.container--border-unselected{-webkit-border-start:4px solid transparent;border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{z-index:var(--calcite-app-z-index-sticky);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand))}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}[hidden]{display:none}";
|
440
|
-
|
441
|
-
const focusMap = new Map();
|
442
|
-
const listSelector = "calcite-list";
|
443
|
-
const ListItem = class {
|
444
|
-
constructor(hostRef) {
|
445
|
-
index.registerInstance(this, hostRef);
|
446
|
-
this.calciteListItemSelect = index.createEvent(this, "calciteListItemSelect", 6);
|
447
|
-
this.calciteListItemClose = index.createEvent(this, "calciteListItemClose", 6);
|
448
|
-
this.calciteInternalListItemSelect = index.createEvent(this, "calciteInternalListItemSelect", 6);
|
449
|
-
this.calciteInternalListItemActive = index.createEvent(this, "calciteInternalListItemActive", 6);
|
450
|
-
this.calciteInternalFocusPreviousItem = index.createEvent(this, "calciteInternalFocusPreviousItem", 6);
|
451
|
-
// --------------------------------------------------------------------------
|
452
|
-
//
|
453
|
-
// Private Methods
|
454
|
-
//
|
455
|
-
// --------------------------------------------------------------------------
|
456
|
-
this.closeClickHandler = () => {
|
457
|
-
this.closed = true;
|
458
|
-
this.calciteListItemClose.emit();
|
459
|
-
};
|
460
|
-
this.handleContentSlotChange = (event) => {
|
461
|
-
this.hasCustomContent = dom.slotChangeHasAssignedElement(event);
|
462
|
-
};
|
463
|
-
this.handleActionsStartSlotChange = (event) => {
|
464
|
-
this.hasActionsStart = dom.slotChangeHasAssignedElement(event);
|
465
|
-
};
|
466
|
-
this.handleActionsEndSlotChange = (event) => {
|
467
|
-
this.hasActionsEnd = dom.slotChangeHasAssignedElement(event);
|
468
|
-
};
|
469
|
-
this.handleContentStartSlotChange = (event) => {
|
470
|
-
this.hasContentStart = dom.slotChangeHasAssignedElement(event);
|
471
|
-
};
|
472
|
-
this.handleContentEndSlotChange = (event) => {
|
473
|
-
this.hasContentEnd = dom.slotChangeHasAssignedElement(event);
|
474
|
-
};
|
475
|
-
this.handleDefaultSlotChange = (event) => {
|
476
|
-
const { parentListEl } = this;
|
477
|
-
const listItemChildren = utils.getListItemChildren(event);
|
478
|
-
utils.updateListItemChildren(listItemChildren);
|
479
|
-
const openable = !!listItemChildren.length;
|
480
|
-
if (openable && parentListEl && !parentListEl.openable) {
|
481
|
-
parentListEl.openable = true;
|
482
|
-
}
|
483
|
-
this.openable = openable;
|
484
|
-
if (!openable) {
|
485
|
-
this.open = false;
|
486
|
-
}
|
487
|
-
};
|
488
|
-
this.toggleOpen = () => {
|
489
|
-
this.open = !this.open;
|
490
|
-
};
|
491
|
-
this.itemClicked = (event) => {
|
492
|
-
if (event.defaultPrevented) {
|
493
|
-
return;
|
494
|
-
}
|
495
|
-
this.toggleSelected();
|
496
|
-
this.calciteInternalListItemActive.emit();
|
497
|
-
};
|
498
|
-
this.toggleSelected = () => {
|
499
|
-
const { selectionMode, selected } = this;
|
500
|
-
if (this.disabled) {
|
501
|
-
return;
|
502
|
-
}
|
503
|
-
if (selectionMode === "multiple" || selectionMode === "single") {
|
504
|
-
this.selected = !selected;
|
505
|
-
}
|
506
|
-
else if (selectionMode === "single-persist") {
|
507
|
-
this.selected = true;
|
508
|
-
}
|
509
|
-
this.calciteListItemSelect.emit();
|
510
|
-
};
|
511
|
-
this.handleItemKeyDown = (event) => {
|
512
|
-
if (event.defaultPrevented) {
|
513
|
-
return;
|
514
|
-
}
|
515
|
-
const { key } = event;
|
516
|
-
const composedPath = event.composedPath();
|
517
|
-
const { containerEl, contentEl, actionsStartEl, actionsEndEl, open, openable } = this;
|
518
|
-
const cells = [actionsStartEl, contentEl, actionsEndEl].filter(Boolean);
|
519
|
-
const currentIndex = cells.findIndex((cell) => composedPath.includes(cell));
|
520
|
-
if (key === "Enter") {
|
521
|
-
event.preventDefault();
|
522
|
-
this.toggleSelected();
|
523
|
-
}
|
524
|
-
else if (key === "ArrowRight") {
|
525
|
-
event.preventDefault();
|
526
|
-
const nextIndex = currentIndex + 1;
|
527
|
-
if (currentIndex === -1) {
|
528
|
-
if (!open && openable) {
|
529
|
-
this.open = true;
|
530
|
-
this.focusCell(null);
|
531
|
-
}
|
532
|
-
else if (cells[0]) {
|
533
|
-
this.focusCell(cells[0]);
|
534
|
-
}
|
535
|
-
}
|
536
|
-
else if (cells[currentIndex] && cells[nextIndex]) {
|
537
|
-
this.focusCell(cells[nextIndex]);
|
538
|
-
}
|
539
|
-
}
|
540
|
-
else if (key === "ArrowLeft") {
|
541
|
-
event.preventDefault();
|
542
|
-
const prevIndex = currentIndex - 1;
|
543
|
-
if (currentIndex === -1) {
|
544
|
-
this.focusCell(null);
|
545
|
-
if (open && openable) {
|
546
|
-
this.open = false;
|
547
|
-
}
|
548
|
-
else {
|
549
|
-
this.calciteInternalFocusPreviousItem.emit();
|
550
|
-
}
|
551
|
-
}
|
552
|
-
else if (currentIndex === 0) {
|
553
|
-
this.focusCell(null);
|
554
|
-
containerEl.focus();
|
555
|
-
}
|
556
|
-
else if (cells[currentIndex] && cells[prevIndex]) {
|
557
|
-
this.focusCell(cells[prevIndex]);
|
558
|
-
}
|
559
|
-
}
|
560
|
-
};
|
561
|
-
this.focusCellNull = () => {
|
562
|
-
this.focusCell(null);
|
563
|
-
};
|
564
|
-
this.focusCell = (focusEl, saveFocusIndex = true) => {
|
565
|
-
const { contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
|
566
|
-
if (saveFocusIndex) {
|
567
|
-
focusMap.set(parentListEl, null);
|
568
|
-
}
|
569
|
-
[actionsStartEl, contentEl, actionsEndEl].filter(Boolean).forEach((tableCell, cellIndex) => {
|
570
|
-
const tabIndexAttr = "tabindex";
|
571
|
-
if (tableCell === focusEl) {
|
572
|
-
tableCell.setAttribute(tabIndexAttr, "0");
|
573
|
-
saveFocusIndex && focusMap.set(parentListEl, cellIndex);
|
574
|
-
}
|
575
|
-
else {
|
576
|
-
tableCell.removeAttribute(tabIndexAttr);
|
577
|
-
}
|
578
|
-
});
|
579
|
-
focusEl === null || focusEl === void 0 ? void 0 : focusEl.focus();
|
580
|
-
};
|
581
|
-
this.active = false;
|
582
|
-
this.closable = false;
|
583
|
-
this.closed = false;
|
584
|
-
this.description = undefined;
|
585
|
-
this.disabled = false;
|
586
|
-
this.label = undefined;
|
587
|
-
this.metadata = undefined;
|
588
|
-
this.open = false;
|
589
|
-
this.setSize = null;
|
590
|
-
this.setPosition = null;
|
591
|
-
this.selected = false;
|
592
|
-
this.value = undefined;
|
593
|
-
this.selectionMode = null;
|
594
|
-
this.selectionAppearance = null;
|
595
|
-
this.messageOverrides = undefined;
|
596
|
-
this.messages = undefined;
|
597
|
-
this.effectiveLocale = "";
|
598
|
-
this.defaultMessages = undefined;
|
599
|
-
this.level = null;
|
600
|
-
this.visualLevel = null;
|
601
|
-
this.parentListEl = undefined;
|
602
|
-
this.openable = false;
|
603
|
-
this.hasActionsStart = false;
|
604
|
-
this.hasActionsEnd = false;
|
605
|
-
this.hasCustomContent = false;
|
606
|
-
this.hasContentStart = false;
|
607
|
-
this.hasContentEnd = false;
|
608
|
-
}
|
609
|
-
activeHandler(active) {
|
610
|
-
if (!active) {
|
611
|
-
this.focusCell(null, false);
|
612
|
-
}
|
613
|
-
}
|
614
|
-
handleSelectedChange(value) {
|
615
|
-
if (value) {
|
616
|
-
this.calciteInternalListItemSelect.emit();
|
617
|
-
}
|
618
|
-
}
|
619
|
-
onMessagesChange() {
|
620
|
-
/* wired up by t9n util */
|
621
|
-
}
|
622
|
-
effectiveLocaleChange() {
|
623
|
-
t9n.updateMessages(this, this.effectiveLocale);
|
624
|
-
}
|
625
|
-
connectedCallback() {
|
626
|
-
locale.connectLocalized(this);
|
627
|
-
t9n.connectMessages(this);
|
628
|
-
const { el } = this;
|
629
|
-
this.parentListEl = el.closest(listSelector);
|
630
|
-
this.level = utils.getDepth(el) + 1;
|
631
|
-
this.visualLevel = utils.getDepth(el, true);
|
632
|
-
this.setSelectionDefaults();
|
633
|
-
}
|
634
|
-
async componentWillLoad() {
|
635
|
-
loadable.setUpLoadableComponent(this);
|
636
|
-
await t9n.setUpMessages(this);
|
637
|
-
}
|
638
|
-
componentDidLoad() {
|
639
|
-
loadable.setComponentLoaded(this);
|
640
|
-
}
|
641
|
-
componentDidRender() {
|
642
|
-
interactive.updateHostInteraction(this, "managed");
|
643
|
-
}
|
644
|
-
disconnectedCallback() {
|
645
|
-
locale.disconnectLocalized(this);
|
646
|
-
t9n.disconnectMessages(this);
|
647
|
-
}
|
648
|
-
// --------------------------------------------------------------------------
|
649
|
-
//
|
650
|
-
// Public Methods
|
651
|
-
//
|
652
|
-
// --------------------------------------------------------------------------
|
653
|
-
/** Sets focus on the component. */
|
654
|
-
async setFocus() {
|
655
|
-
await loadable.componentLoaded(this);
|
656
|
-
const { containerEl, contentEl, actionsStartEl, actionsEndEl, parentListEl } = this;
|
657
|
-
const focusIndex = focusMap.get(parentListEl);
|
658
|
-
if (typeof focusIndex === "number") {
|
659
|
-
const cells = [actionsStartEl, contentEl, actionsEndEl].filter(Boolean);
|
660
|
-
if (cells[focusIndex]) {
|
661
|
-
this.focusCell(cells[focusIndex]);
|
662
|
-
}
|
663
|
-
else {
|
664
|
-
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
665
|
-
}
|
666
|
-
return;
|
667
|
-
}
|
668
|
-
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
669
|
-
}
|
670
|
-
// --------------------------------------------------------------------------
|
671
|
-
//
|
672
|
-
// Render Methods
|
673
|
-
//
|
674
|
-
// --------------------------------------------------------------------------
|
675
|
-
renderSelected() {
|
676
|
-
const { selected, selectionMode, selectionAppearance } = this;
|
677
|
-
if (selectionMode === "none" || selectionAppearance === "border") {
|
678
|
-
return null;
|
679
|
-
}
|
680
|
-
return (index.h("td", { class: utils.CSS.selectionContainer, key: "selection-container", onClick: this.itemClicked }, index.h("calcite-icon", { icon: selected
|
681
|
-
? selectionMode === "multiple"
|
682
|
-
? utils.ICONS.selectedMultiple
|
683
|
-
: utils.ICONS.selectedSingle
|
684
|
-
: utils.ICONS.unselected, scale: "s" })));
|
685
|
-
}
|
686
|
-
renderOpen() {
|
687
|
-
const { el, open, openable, parentListEl } = this;
|
688
|
-
const dir = dom.getElementDir(el);
|
689
|
-
return openable ? (index.h("td", { class: utils.CSS.openContainer, key: "open-container", onClick: this.toggleOpen }, index.h("calcite-icon", { icon: open ? utils.ICONS.open : dir === "rtl" ? utils.ICONS.closedRTL : utils.ICONS.closedLTR, scale: "s" }))) : (parentListEl === null || parentListEl === void 0 ? void 0 : parentListEl.openable) ? (index.h("td", { class: utils.CSS.openContainer, key: "open-container", onClick: this.itemClicked }, index.h("calcite-icon", { icon: utils.ICONS.blank, scale: "s" }))) : null;
|
690
|
-
}
|
691
|
-
renderActionsStart() {
|
692
|
-
const { label, hasActionsStart } = this;
|
693
|
-
return (index.h("td", { "aria-label": label, class: utils.CSS.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
694
|
-
// eslint-disable-next-line react/jsx-sort-props
|
695
|
-
ref: (el) => (this.actionsStartEl = el) }, index.h("slot", { name: utils.SLOTS.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
696
|
-
}
|
697
|
-
renderActionsEnd() {
|
698
|
-
const { label, hasActionsEnd, closable, messages } = this;
|
699
|
-
return (index.h("td", { "aria-label": label, class: utils.CSS.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
700
|
-
// eslint-disable-next-line react/jsx-sort-props
|
701
|
-
ref: (el) => (this.actionsEndEl = el) }, index.h("slot", { name: utils.SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (index.h("calcite-action", { appearance: "transparent", icon: utils.ICONS.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
702
|
-
}
|
703
|
-
renderContentStart() {
|
704
|
-
const { hasContentStart } = this;
|
705
|
-
return (index.h("div", { class: utils.CSS.contentStart, hidden: !hasContentStart }, index.h("slot", { name: utils.SLOTS.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
706
|
-
}
|
707
|
-
renderCustomContent() {
|
708
|
-
const { hasCustomContent } = this;
|
709
|
-
return (index.h("div", { class: utils.CSS.customContent, hidden: !hasCustomContent }, index.h("slot", { name: utils.SLOTS.content, onSlotchange: this.handleContentSlotChange })));
|
710
|
-
}
|
711
|
-
renderContentEnd() {
|
712
|
-
const { hasContentEnd } = this;
|
713
|
-
return (index.h("div", { class: utils.CSS.contentEnd, hidden: !hasContentEnd }, index.h("slot", { name: utils.SLOTS.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
714
|
-
}
|
715
|
-
renderContentProperties() {
|
716
|
-
const { label, description, hasCustomContent } = this;
|
717
|
-
return !hasCustomContent && (!!label || !!description) ? (index.h("div", { class: utils.CSS.content, key: "content" }, label ? (index.h("div", { class: utils.CSS.label, key: "label" }, label)) : null, description ? (index.h("div", { class: utils.CSS.description, key: "description" }, description)) : null)) : null;
|
718
|
-
}
|
719
|
-
renderContentContainer() {
|
720
|
-
const { description, label, selectionMode, hasCustomContent } = this;
|
721
|
-
const hasCenterContent = hasCustomContent || !!label || !!description;
|
722
|
-
const content = [
|
723
|
-
this.renderContentStart(),
|
724
|
-
this.renderCustomContent(),
|
725
|
-
this.renderContentProperties(),
|
726
|
-
this.renderContentEnd()
|
727
|
-
];
|
728
|
-
return (index.h("td", { "aria-label": label, class: {
|
729
|
-
[utils.CSS.contentContainer]: true,
|
730
|
-
[utils.CSS.contentContainerSelectable]: selectionMode !== "none",
|
731
|
-
[utils.CSS.contentContainerHasCenterContent]: hasCenterContent
|
732
|
-
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
733
|
-
// eslint-disable-next-line react/jsx-sort-props
|
734
|
-
ref: (el) => (this.contentEl = el) }, content));
|
735
|
-
}
|
736
|
-
render() {
|
737
|
-
const { openable, open, level, setPosition, setSize, active, label, selected, selectionAppearance, selectionMode, closed } = this;
|
738
|
-
const showBorder = selectionMode !== "none" && selectionAppearance === "border";
|
739
|
-
const borderSelected = showBorder && selected;
|
740
|
-
const borderUnselected = showBorder && !selected;
|
741
|
-
return (index.h(index.Host, null, index.h("tr", { "aria-expanded": openable ? dom.toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": dom.toAriaBoolean(selected), "aria-setsize": setSize, class: {
|
742
|
-
[utils.CSS.container]: true,
|
743
|
-
[utils.CSS.containerBorderSelected]: borderSelected,
|
744
|
-
[utils.CSS.containerBorderUnselected]: borderUnselected
|
745
|
-
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
746
|
-
// eslint-disable-next-line react/jsx-sort-props
|
747
|
-
ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), index.h("div", { class: {
|
748
|
-
[utils.CSS.nestedContainer]: true,
|
749
|
-
[utils.CSS.nestedContainerHidden]: openable && !open
|
750
|
-
} }, index.h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
751
|
-
}
|
752
|
-
setSelectionDefaults() {
|
753
|
-
const { parentListEl, selectionMode, selectionAppearance } = this;
|
754
|
-
if (!parentListEl) {
|
755
|
-
return;
|
756
|
-
}
|
757
|
-
if (!selectionMode) {
|
758
|
-
this.selectionMode = parentListEl.selectionMode;
|
759
|
-
}
|
760
|
-
if (!selectionAppearance) {
|
761
|
-
this.selectionAppearance = parentListEl.selectionAppearance;
|
762
|
-
}
|
763
|
-
}
|
764
|
-
static get assetsDirs() { return ["assets"]; }
|
765
|
-
get el() { return index.getElement(this); }
|
766
|
-
static get watchers() { return {
|
767
|
-
"active": ["activeHandler"],
|
768
|
-
"selected": ["handleSelectedChange"],
|
769
|
-
"messageOverrides": ["onMessagesChange"],
|
770
|
-
"effectiveLocale": ["effectiveLocaleChange"]
|
771
|
-
}; }
|
772
|
-
};
|
773
|
-
ListItem.style = listItemCss;
|
774
|
-
|
775
|
-
const segmentedControlCss = "@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;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
776
|
-
|
777
|
-
const SegmentedControl = class {
|
778
|
-
constructor(hostRef) {
|
779
|
-
index.registerInstance(this, hostRef);
|
780
|
-
this.calciteSegmentedControlChange = index.createEvent(this, "calciteSegmentedControlChange", 6);
|
781
|
-
//--------------------------------------------------------------------------
|
782
|
-
//
|
783
|
-
// Event Listeners
|
784
|
-
//
|
785
|
-
//--------------------------------------------------------------------------
|
786
|
-
this.handleClick = (event) => {
|
787
|
-
if (this.disabled) {
|
788
|
-
return;
|
789
|
-
}
|
790
|
-
if (event.target.localName === "calcite-segmented-control-item") {
|
791
|
-
this.selectItem(event.target, true);
|
792
|
-
}
|
793
|
-
};
|
794
|
-
this.appearance = "solid";
|
795
|
-
this.disabled = false;
|
796
|
-
this.form = undefined;
|
797
|
-
this.required = false;
|
798
|
-
this.layout = "horizontal";
|
799
|
-
this.name = undefined;
|
800
|
-
this.scale = "m";
|
801
|
-
this.value = null;
|
802
|
-
this.selectedItem = undefined;
|
803
|
-
this.width = "auto";
|
804
|
-
}
|
805
|
-
valueHandler(value) {
|
806
|
-
const items = this.getItems();
|
807
|
-
items.forEach((item) => (item.checked = item.value === value));
|
808
|
-
}
|
809
|
-
handleSelectedItemChange(newItem, oldItem) {
|
810
|
-
this.value = newItem === null || newItem === void 0 ? void 0 : newItem.value;
|
811
|
-
if (newItem === oldItem) {
|
812
|
-
return;
|
813
|
-
}
|
814
|
-
const items = this.getItems();
|
815
|
-
const match = items.filter((item) => item === newItem).pop();
|
816
|
-
if (match) {
|
817
|
-
this.selectItem(match);
|
818
|
-
}
|
819
|
-
else if (items[0]) {
|
820
|
-
items[0].tabIndex = 0;
|
821
|
-
}
|
822
|
-
}
|
823
|
-
//--------------------------------------------------------------------------
|
824
|
-
//
|
825
|
-
// Lifecycle
|
826
|
-
//
|
827
|
-
//--------------------------------------------------------------------------
|
828
|
-
componentWillLoad() {
|
829
|
-
loadable.setUpLoadableComponent(this);
|
830
|
-
const items = this.getItems();
|
831
|
-
const lastChecked = items.filter((item) => item.checked).pop();
|
832
|
-
if (lastChecked) {
|
833
|
-
this.selectItem(lastChecked);
|
834
|
-
}
|
835
|
-
else if (items[0]) {
|
836
|
-
items[0].tabIndex = 0;
|
837
|
-
}
|
838
|
-
}
|
839
|
-
componentDidLoad() {
|
840
|
-
form.afterConnectDefaultValueSet(this, this.value);
|
841
|
-
loadable.setComponentLoaded(this);
|
842
|
-
}
|
843
|
-
connectedCallback() {
|
844
|
-
label.connectLabel(this);
|
845
|
-
form.connectForm(this);
|
846
|
-
}
|
847
|
-
disconnectedCallback() {
|
848
|
-
label.disconnectLabel(this);
|
849
|
-
form.disconnectForm(this);
|
850
|
-
}
|
851
|
-
componentDidRender() {
|
852
|
-
interactive.updateHostInteraction(this);
|
853
|
-
}
|
854
|
-
render() {
|
855
|
-
return (index.h(index.Host, { onClick: this.handleClick, role: "radiogroup" }, index.h("slot", null), index.h(form.HiddenFormInputSlot, { component: this })));
|
856
|
-
}
|
857
|
-
handleSelected(event) {
|
858
|
-
event.preventDefault();
|
859
|
-
this.selectItem(event.target);
|
860
|
-
event.stopPropagation();
|
861
|
-
}
|
862
|
-
handleKeyDown(event) {
|
863
|
-
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
864
|
-
const { key } = event;
|
865
|
-
const { el, selectedItem } = this;
|
866
|
-
if (keys.indexOf(key) === -1) {
|
867
|
-
return;
|
868
|
-
}
|
869
|
-
let adjustedKey = key;
|
870
|
-
if (dom.getElementDir(el) === "rtl") {
|
871
|
-
if (key === "ArrowRight") {
|
872
|
-
adjustedKey = "ArrowLeft";
|
873
|
-
}
|
874
|
-
if (key === "ArrowLeft") {
|
875
|
-
adjustedKey = "ArrowRight";
|
876
|
-
}
|
877
|
-
}
|
878
|
-
const items = this.getItems();
|
879
|
-
let selectedIndex = -1;
|
880
|
-
items.forEach((item, index) => {
|
881
|
-
if (item === selectedItem) {
|
882
|
-
selectedIndex = index;
|
883
|
-
}
|
884
|
-
});
|
885
|
-
switch (adjustedKey) {
|
886
|
-
case "ArrowLeft":
|
887
|
-
case "ArrowUp":
|
888
|
-
event.preventDefault();
|
889
|
-
const previous = selectedIndex < 1 ? items[items.length - 1] : items[selectedIndex - 1];
|
890
|
-
this.selectItem(previous, true);
|
891
|
-
return;
|
892
|
-
case "ArrowRight":
|
893
|
-
case "ArrowDown":
|
894
|
-
event.preventDefault();
|
895
|
-
const next = selectedIndex === -1 ? items[1] : items[selectedIndex + 1] || items[0];
|
896
|
-
this.selectItem(next, true);
|
897
|
-
return;
|
898
|
-
case " ":
|
899
|
-
event.preventDefault();
|
900
|
-
this.selectItem(event.target, true);
|
901
|
-
return;
|
902
|
-
default:
|
903
|
-
return;
|
904
|
-
}
|
905
|
-
}
|
906
|
-
// --------------------------------------------------------------------------
|
907
|
-
//
|
908
|
-
// Methods
|
909
|
-
//
|
910
|
-
// --------------------------------------------------------------------------
|
911
|
-
/** Sets focus on the component. */
|
912
|
-
async setFocus() {
|
913
|
-
var _a;
|
914
|
-
await loadable.componentLoaded(this);
|
915
|
-
(_a = (this.selectedItem || this.getItems()[0])) === null || _a === void 0 ? void 0 : _a.focus();
|
916
|
-
}
|
917
|
-
//--------------------------------------------------------------------------
|
918
|
-
//
|
919
|
-
// Private Methods
|
920
|
-
//
|
921
|
-
//--------------------------------------------------------------------------
|
922
|
-
onLabelClick() {
|
923
|
-
this.setFocus();
|
924
|
-
}
|
925
|
-
getItems() {
|
926
|
-
return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"));
|
927
|
-
}
|
928
|
-
selectItem(selected, emit = false) {
|
929
|
-
if (selected === this.selectedItem) {
|
930
|
-
return;
|
931
|
-
}
|
932
|
-
const items = this.getItems();
|
933
|
-
let match = null;
|
934
|
-
items.forEach((item) => {
|
935
|
-
const matches = item === selected;
|
936
|
-
if ((matches && !item.checked) || (!matches && item.checked)) {
|
937
|
-
item.checked = matches;
|
938
|
-
}
|
939
|
-
item.tabIndex = matches ? 0 : -1;
|
940
|
-
if (matches) {
|
941
|
-
match = item;
|
942
|
-
if (emit) {
|
943
|
-
this.calciteSegmentedControlChange.emit();
|
944
|
-
}
|
945
|
-
}
|
946
|
-
});
|
947
|
-
this.selectedItem = match;
|
948
|
-
if (match) {
|
949
|
-
match.focus();
|
950
|
-
}
|
951
|
-
}
|
952
|
-
get el() { return index.getElement(this); }
|
953
|
-
static get watchers() { return {
|
954
|
-
"value": ["valueHandler"],
|
955
|
-
"selectedItem": ["handleSelectedItemChange"]
|
956
|
-
}; }
|
957
|
-
};
|
958
|
-
SegmentedControl.style = segmentedControlCss;
|
959
|
-
|
960
|
-
/*!
|
961
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
962
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
963
|
-
* v1.4.2
|
964
|
-
*/
|
965
|
-
const SLOTS = {
|
966
|
-
input: "input"
|
967
|
-
};
|
968
|
-
const CSS = {
|
969
|
-
segmentedControlItemIcon: "segmented-control-item-icon"
|
970
|
-
};
|
971
|
-
|
972
|
-
const segmentedControlItemCss = "@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;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon{color:highlightText}}.segmented-control-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-start]) .label--scale-s .segmented-control-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .segmented-control-item-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .segmented-control-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .segmented-control-item-icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .segmented-control-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-end]) .label--scale-l .segmented-control-item-icon{-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
973
|
-
|
974
|
-
const SegmentedControlItem = class {
|
975
|
-
constructor(hostRef) {
|
976
|
-
index.registerInstance(this, hostRef);
|
977
|
-
this.calciteInternalSegmentedControlItemChange = index.createEvent(this, "calciteInternalSegmentedControlItemChange", 6);
|
978
|
-
this.checked = false;
|
979
|
-
this.iconFlipRtl = false;
|
980
|
-
this.iconStart = undefined;
|
981
|
-
this.iconEnd = undefined;
|
982
|
-
this.value = undefined;
|
983
|
-
}
|
984
|
-
handleCheckedChange() {
|
985
|
-
this.calciteInternalSegmentedControlItemChange.emit();
|
986
|
-
}
|
987
|
-
render() {
|
988
|
-
const { checked, value } = this;
|
989
|
-
const scale = dom.getElementProp(this.el, "scale", "m");
|
990
|
-
const appearance = dom.getElementProp(this.el, "appearance", "solid");
|
991
|
-
const layout = dom.getElementProp(this.el, "layout", "horizontal");
|
992
|
-
const iconStartEl = this.iconStart ? (index.h("calcite-icon", { class: CSS.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
993
|
-
const iconEndEl = this.iconEnd ? (index.h("calcite-icon", { class: CSS.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
994
|
-
return (index.h(index.Host, { "aria-checked": dom.toAriaBoolean(checked), "aria-label": value, role: "radio" }, index.h("label", { class: {
|
995
|
-
"label--scale-s": scale === "s",
|
996
|
-
"label--scale-m": scale === "m",
|
997
|
-
"label--scale-l": scale === "l",
|
998
|
-
"label--horizontal": layout === "horizontal",
|
999
|
-
"label--outline": appearance === "outline",
|
1000
|
-
"label--outline-fill": appearance === "outline-fill"
|
1001
|
-
} }, this.iconStart ? iconStartEl : null, index.h("slot", null, value), index.h("slot", { name: SLOTS.input }), this.iconEnd ? iconEndEl : null)));
|
1002
|
-
}
|
1003
|
-
get el() { return index.getElement(this); }
|
1004
|
-
static get watchers() { return {
|
1005
|
-
"checked": ["handleCheckedChange"]
|
1006
|
-
}; }
|
1007
|
-
};
|
1008
|
-
SegmentedControlItem.style = segmentedControlItemCss;
|
1009
|
-
|
1010
|
-
exports.calcite_filter = Filter;
|
1011
|
-
exports.calcite_list = List;
|
1012
|
-
exports.calcite_list_item = ListItem;
|
1013
|
-
exports.calcite_segmented_control = SegmentedControl;
|
1014
|
-
exports.calcite_segmented_control_item = SegmentedControlItem;
|