@esri/solutions-components 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-9cf51aba.js +115 -0
- package/dist/cjs/FloatingArrow-f78d627c.js +48 -0
- package/dist/cjs/Heading-5b274572.js +25 -0
- package/dist/cjs/Validation-a9d22fb7.js +20 -0
- package/dist/cjs/app-globals-62e0da30.js +67 -0
- package/dist/cjs/ar-67bbaacf.js +107 -0
- package/dist/cjs/array-67eea0ed.js +17 -0
- package/dist/cjs/bg-52d767e3.js +85 -0
- package/dist/cjs/browser-02cbd1d9.js +35 -0
- package/dist/cjs/bs-abb7a3ee.js +54 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/ca-2618e485.js +74 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +12 -11
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -11
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +25 -24
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action_2.cjs.entry.js +43 -26
- package/dist/cjs/calcite-alert_4.cjs.entry.js +20 -19
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +10 -9
- package/dist/cjs/calcite-block-section.cjs.entry.js +12 -11
- package/dist/cjs/calcite-block_5.cjs.entry.js +57 -47
- package/dist/cjs/calcite-button.cjs.entry.js +19 -19
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +13 -13
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +23 -16
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +70 -55
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +23 -12
- package/dist/cjs/calcite-color-picker.cjs.entry.js +68 -22
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +7 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +47 -48
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-dialog.cjs.entry.js +306 -0
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +5 -4
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +19 -26
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter_5.cjs.entry.js +56 -54
- package/dist/cjs/calcite-flow_6.cjs.entry.js +20 -16
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -8
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-number.cjs.entry.js +30 -30
- package/dist/cjs/calcite-input-text.cjs.entry.js +23 -23
- package/dist/cjs/calcite-input-time-picker-be5ad250.js +1863 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input_2.cjs.entry.js +30 -30
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +10 -10
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu-item.cjs.entry.js +13 -12
- package/dist/cjs/calcite-menu.cjs.entry.js +10 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +11 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +41 -24
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +5 -4
- package/dist/cjs/calcite-navigation.cjs.entry.js +8 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +17 -16
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -12
- package/dist/cjs/calcite-panel_2.cjs.entry.js +102 -38
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +16 -8
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +22 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +19 -12
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -6
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +20 -17
- package/dist/cjs/calcite-sheet.cjs.entry.js +19 -18
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +9 -8
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +155 -198
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -10
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-stepper.cjs.entry.js +11 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +13 -13
- package/dist/cjs/calcite-text-area.cjs.entry.js +20 -20
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +10 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +14 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-time-picker.cjs.entry.js +32 -48
- package/dist/cjs/calcite-tip-group.cjs.entry.js +8 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +17 -9
- package/dist/cjs/calcite-tip.cjs.entry.js +19 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +56 -55
- package/dist/cjs/calcite-tree_3.cjs.entry.js +17 -17
- package/dist/cjs/component-9d0efa36.js +33 -0
- package/dist/cjs/conditionalSlot-fe01e316.js +54 -0
- package/dist/cjs/config-6a670c0d.js +41 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -1
- package/dist/cjs/cs-9566238a.js +150 -0
- package/dist/cjs/da-86f2f759.js +70 -0
- package/dist/cjs/date-163d7302.js +264 -0
- package/dist/cjs/de-at-90927f4b.js +93 -0
- package/dist/cjs/de-ch-7185b180.js +93 -0
- package/dist/cjs/de-e7327417.js +94 -0
- package/dist/cjs/dom-63b93b3b.js +1212 -0
- package/dist/cjs/el-ee1c6246.js +69 -0
- package/dist/cjs/en-au-c245e1fa.js +69 -0
- package/dist/cjs/en-ca-44552f66.js +68 -0
- package/dist/cjs/en-gb-cf4bdbbf.js +72 -0
- package/dist/cjs/es-e27b3455.js +69 -0
- package/dist/cjs/es-mx-d5455d49.js +68 -0
- package/dist/cjs/et-521fe75e.js +95 -0
- package/dist/cjs/fi-ba5f1240.js +118 -0
- package/dist/cjs/filter-adc5c5aa.js +778 -0
- package/dist/cjs/floating-ui-1ef64f13.js +2362 -0
- package/dist/cjs/focusTrapComponent-1881eaf7.js +1018 -0
- package/dist/cjs/form-4c0bbbe5.js +381 -0
- package/dist/cjs/fr-014e6869.js +71 -0
- package/dist/cjs/fr-ch-9174a431.js +69 -0
- package/dist/cjs/guid-4bc1bc0f.js +26 -0
- package/dist/cjs/he-ac6a1230.js +108 -0
- package/dist/cjs/hi-b605b081.js +68 -0
- package/dist/cjs/hr-1f50021e.js +83 -0
- package/dist/cjs/hu-0dbb012b.js +91 -0
- package/dist/cjs/id-be5cad02.js +69 -0
- package/dist/cjs/input-2d5a669d.js +60 -0
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +36 -30
- package/dist/cjs/interactive-272b8484.js +169 -0
- package/dist/cjs/it-2d267c40.js +69 -0
- package/dist/cjs/it-ch-7e63ab0d.js +69 -0
- package/dist/cjs/ja-f84367c9.js +75 -0
- package/dist/cjs/key-e4dd32ff.js +19 -0
- package/dist/cjs/ko-3b4ea66e.js +75 -0
- package/dist/cjs/label-afda7da7.js +186 -0
- package/dist/cjs/loadable-ef8f0acf.js +98 -0
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/locale-428354f0.js +584 -0
- package/dist/cjs/logger-bb2cd9dd.js +61 -0
- package/dist/cjs/lt-52ddc840.js +100 -0
- package/dist/cjs/lv-646b5876.js +69 -0
- package/dist/cjs/math-8677dfd7.js +60 -0
- package/dist/cjs/mk-bfa4f151.js +69 -0
- package/dist/cjs/nb-8d337597.js +70 -0
- package/dist/cjs/nl-da233a0d.js +70 -0
- package/dist/cjs/observers-3440c668.js +58 -0
- package/dist/cjs/openCloseComponent-f9bf524b.js +65 -0
- package/dist/cjs/pl-596b9933.js +117 -0
- package/dist/cjs/pt-bc779aca.js +70 -0
- package/dist/cjs/pt-br-ab04f8b9.js +68 -0
- package/dist/cjs/resources-2f7b1adf.js +23 -0
- package/dist/cjs/resources-361aeee1.js +68 -0
- package/dist/cjs/resources-388b6f7e.js +29 -0
- package/dist/cjs/resources-6ed4d812.js +39 -0
- package/dist/cjs/resources-8556a9ce.js +39 -0
- package/dist/cjs/resources-91cff82d.js +21 -0
- package/dist/cjs/resources-a88c66ba.js +26 -0
- package/dist/cjs/resources-cb7b739c.js +63 -0
- package/dist/cjs/resources-e3034d0f.js +27 -0
- package/dist/cjs/resources-ea500edf.js +23 -0
- package/dist/cjs/ro-8e73fabd.js +69 -0
- package/dist/cjs/ru-a9cf0c93.js +129 -0
- package/dist/cjs/shared-list-render-8da9f754.js +361 -0
- package/dist/cjs/sk-f23f0865.js +151 -0
- package/dist/cjs/sl-66cee3ca.js +171 -0
- package/dist/cjs/solutions-components.cjs.js +5 -4
- package/dist/cjs/sortableComponent-842b0585.js +2748 -0
- package/dist/cjs/sr-f6958417.js +104 -0
- package/dist/cjs/sv-b6f30578.js +74 -0
- package/dist/cjs/t9n-e5fb720b.js +108 -0
- package/dist/cjs/th-7266bbe1.js +68 -0
- package/dist/cjs/time-35e40020.js +301 -0
- package/dist/cjs/tr-0ca37955.js +69 -0
- package/dist/cjs/uk-84db760b.js +107 -0
- package/dist/cjs/utils-3f254442.js +72 -0
- package/dist/cjs/utils-42df996f.js +2304 -0
- package/dist/cjs/vi-c9c7a4bc.js +73 -0
- package/dist/cjs/zh-cn-c1bd1cac.js +97 -0
- package/dist/cjs/zh-hk-80a1b071.js +95 -0
- package/dist/cjs/zh-tw-b1d0baea.js +95 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +25 -1
- package/dist/collection/utils/interfaces.ts +2 -0
- package/dist/components/ExpandToggle.js +3 -4
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-bar.js +5 -4
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +5 -4
- package/dist/components/alert.js +9 -9
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/block.js +8 -7
- package/dist/components/browser.js +33 -0
- package/dist/components/button.js +8 -7
- package/dist/components/calcite-accordion-item.js +4 -4
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +12 -5
- package/dist/components/calcite-color-picker.js +59 -13
- package/dist/components/calcite-combobox-item-group.js +3 -3
- package/dist/components/calcite-dialog.js +390 -0
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-time-picker.js +5 -5
- package/dist/components/calcite-input-time-zone.js +3 -3
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-menu-item.js +4 -4
- package/dist/components/calcite-meter.js +2 -2
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation.js +3 -3
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +7 -1
- package/dist/components/calcite-pick-list.js +7 -1
- package/dist/components/calcite-radio-button-group.js +3 -3
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-sheet.js +12 -12
- package/dist/components/calcite-shell-center-row.js +3 -3
- package/dist/components/calcite-sortable-list.js +3 -3
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stepper-item.js +3 -3
- package/dist/components/calcite-stepper.js +3 -3
- package/dist/components/calcite-table-row.js +2 -2
- package/dist/components/calcite-table.js +5 -5
- package/dist/components/calcite-text-area.js +5 -5
- package/dist/components/calcite-tile-group.js +2 -2
- package/dist/components/calcite-tile-select-group.js +7 -1
- package/dist/components/calcite-tile-select.js +9 -3
- package/dist/components/calcite-tile.js +3 -3
- package/dist/components/calcite-tip-group.js +7 -1
- package/dist/components/calcite-tip-manager.js +7 -1
- package/dist/components/calcite-tip.js +8 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +20 -15
- package/dist/components/color-picker-hex-input.js +17 -7
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +48 -34
- package/dist/components/combobox.js +25 -25
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +12 -8
- package/dist/components/crowdsource-manager.js +3 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker.js +6 -5
- package/dist/components/date.js +1 -1
- package/dist/components/dom.js +27 -5
- package/dist/components/dropdown-group.js +2 -2
- package/dist/components/dropdown-item.js +4 -4
- package/dist/components/dropdown.js +3 -10
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +4 -4
- package/dist/components/floating-ui.js +29 -29
- package/dist/components/flow-item.js +9 -3
- package/dist/components/flow.js +2 -2
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -3
- package/dist/components/icon.js +6 -5
- package/dist/components/index.js +4 -8
- package/dist/components/input-date-picker.js +21 -17
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +15 -15
- package/dist/components/input-text.js +8 -8
- package/dist/components/input.js +14 -14
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-time-filter.js +45 -39
- package/dist/components/interactive.js +20 -22
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +4 -4
- package/dist/components/list-item.js +2 -2
- package/dist/components/list.js +2 -2
- package/dist/components/loadable.js +4 -3
- package/dist/components/loader.js +18 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/logger.js +59 -0
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/modal.js +29 -13
- package/dist/components/navigation-user.js +2 -2
- package/dist/components/notice.js +4 -4
- package/dist/components/observers.js +3 -3
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/panel.js +51 -11
- package/dist/components/pick-list-item.js +9 -3
- package/dist/components/popover.js +5 -5
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/resources.js +8 -2
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/segmented-control-item.js +2 -2
- package/dist/components/segmented-control.js +9 -5
- package/dist/components/select.js +2 -2
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +13 -11
- package/dist/components/shell.js +55 -15
- package/dist/components/slider.js +5 -5
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/stack.js +2 -2
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +4 -3
- package/dist/components/tab-nav.js +39 -70
- package/dist/components/tab-title.js +15 -10
- package/dist/components/tab.js +3 -7
- package/dist/components/table-cell.js +3 -3
- package/dist/components/table-header.js +3 -3
- package/dist/components/tabs.js +62 -88
- package/dist/components/time-picker.js +33 -38
- package/dist/components/tooltip.js +50 -50
- package/dist/components/tree-item.js +7 -7
- package/dist/components/tree.js +3 -3
- package/dist/components/utils.js +3 -3
- package/dist/components/utils2.js +8 -5
- package/dist/components/utils3.js +3 -3
- package/dist/components/value-list-item.js +8 -2
- package/dist/components/value-list.js +9 -3
- package/dist/esm/ExpandToggle-0a6958eb.js +108 -0
- package/dist/esm/FloatingArrow-3593832a.js +46 -0
- package/dist/esm/Heading-dcf63f4d.js +22 -0
- package/dist/esm/Validation-8ddc15e3.js +18 -0
- package/dist/esm/app-globals-e3c6f3f0.js +65 -0
- package/dist/esm/ar-ad19e823.js +105 -0
- package/dist/esm/array-5ce54fce.js +15 -0
- package/dist/esm/bg-d39d00d4.js +83 -0
- package/dist/esm/browser-8c71dd57.js +32 -0
- package/dist/esm/bs-5578d068.js +52 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-50d49800.js +72 -0
- package/dist/esm/calcite-accordion-item.entry.js +12 -11
- package/dist/esm/calcite-accordion.entry.js +2 -1
- package/dist/esm/calcite-action-bar.entry.js +16 -15
- package/dist/esm/calcite-action-group.entry.js +12 -11
- package/dist/esm/calcite-action-menu_3.entry.js +25 -24
- package/dist/esm/calcite-action-pad_2.entry.js +14 -13
- package/dist/esm/calcite-action_2.entry.js +43 -26
- package/dist/esm/calcite-alert_4.entry.js +20 -19
- package/dist/esm/calcite-avatar_2.entry.js +10 -9
- package/dist/esm/calcite-block-section.entry.js +12 -11
- package/dist/esm/calcite-block_5.entry.js +57 -47
- package/dist/esm/calcite-button.entry.js +19 -19
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +13 -13
- package/dist/esm/calcite-carousel-item.entry.js +2 -2
- package/dist/esm/calcite-carousel.entry.js +23 -16
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +70 -55
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +23 -12
- package/dist/esm/calcite-color-picker.entry.js +68 -22
- package/dist/esm/calcite-combobox-item-group.entry.js +7 -6
- package/dist/esm/calcite-combobox_3.entry.js +47 -48
- package/dist/esm/calcite-date-picker-day_3.entry.js +16 -16
- package/dist/esm/calcite-dialog.entry.js +302 -0
- package/dist/esm/calcite-dropdown-group_2.entry.js +5 -4
- package/dist/esm/calcite-dropdown_2.entry.js +19 -26
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter_5.entry.js +28 -26
- package/dist/esm/calcite-flow_6.entry.js +20 -16
- package/dist/esm/calcite-icon.entry.js +9 -8
- package/dist/esm/calcite-inline-editable.entry.js +16 -16
- package/dist/esm/calcite-input-number.entry.js +30 -30
- package/dist/esm/calcite-input-text.entry.js +23 -23
- package/dist/esm/calcite-input-time-picker-48568b36.js +1860 -0
- package/dist/esm/calcite-input-time-picker.entry.js +21 -21
- package/dist/esm/calcite-input-time-zone.entry.js +16 -16
- package/dist/esm/calcite-input_2.entry.js +30 -30
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +10 -10
- package/dist/esm/calcite-list-item-group.entry.js +5 -5
- package/dist/esm/calcite-menu-item.entry.js +13 -12
- package/dist/esm/calcite-menu.entry.js +10 -9
- package/dist/esm/calcite-meter.entry.js +11 -10
- package/dist/esm/calcite-modal.entry.js +41 -24
- package/dist/esm/calcite-navigation-logo.entry.js +5 -4
- package/dist/esm/calcite-navigation.entry.js +8 -7
- package/dist/esm/calcite-notice.entry.js +17 -16
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +14 -14
- package/dist/esm/calcite-pagination.entry.js +13 -12
- package/dist/esm/calcite-panel_2.entry.js +102 -38
- package/dist/esm/calcite-pick-list-group.entry.js +16 -8
- package/dist/esm/calcite-pick-list-item.entry.js +22 -15
- package/dist/esm/calcite-pick-list.entry.js +19 -12
- package/dist/esm/calcite-radio-button-group.entry.js +7 -6
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-segmented-control_2.entry.js +20 -17
- package/dist/esm/calcite-sheet.entry.js +19 -18
- package/dist/esm/calcite-shell-center-row.entry.js +9 -8
- package/dist/esm/calcite-shell-panel_14.entry.js +155 -198
- package/dist/esm/calcite-sortable-list.entry.js +10 -10
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stepper-item.entry.js +13 -13
- package/dist/esm/calcite-stepper.entry.js +11 -10
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +17 -17
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +13 -13
- package/dist/esm/calcite-text-area.entry.js +20 -20
- package/dist/esm/calcite-tile-group.entry.js +8 -8
- package/dist/esm/calcite-tile-select-group.entry.js +10 -3
- package/dist/esm/calcite-tile-select.entry.js +14 -7
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-time-picker.entry.js +32 -48
- package/dist/esm/calcite-tip-group.entry.js +8 -1
- package/dist/esm/calcite-tip-manager.entry.js +17 -9
- package/dist/esm/calcite-tip.entry.js +19 -11
- package/dist/esm/calcite-tooltip.entry.js +56 -55
- package/dist/esm/calcite-tree_3.entry.js +17 -17
- package/dist/esm/component-e3f05da5.js +30 -0
- package/dist/esm/conditionalSlot-33053690.js +51 -0
- package/dist/esm/config-6d8fa5c8.js +37 -0
- package/dist/esm/crowdsource-manager.entry.js +2 -1
- package/dist/esm/cs-c01bc02b.js +148 -0
- package/dist/esm/da-30f1c62d.js +68 -0
- package/dist/esm/date-1f2a59fd.js +248 -0
- package/dist/esm/de-at-8b651f1b.js +91 -0
- package/dist/esm/de-ch-16f901cb.js +91 -0
- package/dist/esm/de-f3ff49fe.js +92 -0
- package/dist/esm/dom-982585e7.js +1177 -0
- package/dist/esm/el-3cc5361f.js +67 -0
- package/dist/esm/en-au-5e1ae1c6.js +67 -0
- package/dist/esm/en-ca-eca7afe3.js +66 -0
- package/dist/esm/en-gb-d41a41f9.js +70 -0
- package/dist/esm/es-3119bf5f.js +67 -0
- package/dist/esm/es-mx-765f73cd.js +66 -0
- package/dist/esm/et-524d60ab.js +93 -0
- package/dist/esm/fi-103b9c33.js +116 -0
- package/dist/esm/filter-4fc9cd19.js +775 -0
- package/dist/esm/floating-ui-28a86be6.js +2354 -0
- package/dist/esm/focusTrapComponent-2dc61826.js +1013 -0
- package/dist/esm/form-9827fc54.js +372 -0
- package/dist/esm/fr-a0f46db0.js +69 -0
- package/dist/esm/fr-ch-d4198d14.js +67 -0
- package/dist/esm/guid-5c959cfd.js +24 -0
- package/dist/esm/he-88cc49d1.js +106 -0
- package/dist/esm/hi-3fb3aeaf.js +66 -0
- package/dist/esm/hr-30bc6bf7.js +81 -0
- package/dist/esm/hu-ca65e08b.js +89 -0
- package/dist/esm/id-4c1eee8c.js +67 -0
- package/dist/esm/input-bf439d4b.js +58 -0
- package/dist/esm/instant-apps-time-filter.entry.js +45 -39
- package/dist/esm/interactive-1d03c7ff.js +164 -0
- package/dist/esm/it-4cb0e1d5.js +67 -0
- package/dist/esm/it-ch-4de1f33e.js +67 -0
- package/dist/esm/ja-2d531f7b.js +73 -0
- package/dist/esm/key-7f394a98.js +16 -0
- package/dist/esm/ko-1d957d12.js +73 -0
- package/dist/esm/label-38802319.js +179 -0
- package/dist/esm/loadable-869378d9.js +93 -0
- package/dist/esm/loader.js +5 -4
- package/dist/esm/locale-53748f98.js +571 -0
- package/dist/esm/logger-c6b14fe1.js +59 -0
- package/dist/esm/lt-d09d3afe.js +98 -0
- package/dist/esm/lv-09f370a6.js +67 -0
- package/dist/esm/math-dbb62ccf.js +54 -0
- package/dist/esm/mk-f19a0976.js +67 -0
- package/dist/esm/nb-458b5aed.js +68 -0
- package/dist/esm/nl-f3c1e8a1.js +68 -0
- package/dist/esm/observers-0f4a5f9e.js +56 -0
- package/dist/esm/openCloseComponent-f118bfc5.js +63 -0
- package/dist/esm/pl-f9862e9b.js +115 -0
- package/dist/esm/pt-4e37d6f8.js +68 -0
- package/dist/esm/pt-br-30daca3c.js +66 -0
- package/dist/esm/resources-098ed485.js +62 -0
- package/dist/esm/resources-0bf41f5d.js +20 -0
- package/dist/esm/resources-124c42d1.js +35 -0
- package/dist/esm/resources-27689859.js +21 -0
- package/dist/esm/resources-3bc82696.js +34 -0
- package/dist/esm/resources-84590a8e.js +24 -0
- package/dist/esm/resources-98bf974e.js +59 -0
- package/dist/esm/resources-a4ff051c.js +23 -0
- package/dist/esm/resources-af396281.js +22 -0
- package/dist/esm/resources-cdba986a.js +19 -0
- package/dist/esm/ro-a83cfcaa.js +67 -0
- package/dist/esm/ru-bb2c629b.js +127 -0
- package/dist/esm/shared-list-render-d8c49a1f.js +339 -0
- package/dist/esm/sk-4cc2af3f.js +149 -0
- package/dist/esm/sl-0df8c942.js +169 -0
- package/dist/esm/solutions-components.js +5 -4
- package/dist/esm/sortableComponent-173802fd.js +2745 -0
- package/dist/esm/sr-8d0e01f0.js +102 -0
- package/dist/esm/sv-8971f2c2.js +72 -0
- package/dist/esm/t9n-5371b7ab.js +103 -0
- package/dist/esm/th-32517448.js +66 -0
- package/dist/esm/time-2996215a.js +286 -0
- package/dist/esm/tr-42c9ac73.js +67 -0
- package/dist/esm/uk-d1b99329.js +105 -0
- package/dist/esm/utils-67264f4a.js +2274 -0
- package/dist/esm/utils-ac0f19ea.js +60 -0
- package/dist/esm/vi-c6ff5a39.js +71 -0
- package/dist/esm/zh-cn-973d18ea.js +95 -0
- package/dist/esm/zh-hk-6fc51e3d.js +93 -0
- package/dist/esm/zh-tw-4e1d2a6a.js +93 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +6 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +8 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +152 -27
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +46 -17
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +55 -55
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +322 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +18 -22
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +76 -35
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +7 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +12 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +85 -57
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +9 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -53
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +143 -57
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +15 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/assets/action-bar/t9n/messages_ar.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_bg.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_bs.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_ca.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_cs.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_da.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_de.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_el.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_es.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_et.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_fi.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_fr.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_he.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_hr.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_hu.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_id.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_it.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_ja.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_ko.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_lt.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_lv.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_nl.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_no.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_pl.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_pt-BR.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_pt-PT.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_ro.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_ru.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_sk.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_sl.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_sr.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_sv.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_th.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_tr.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_uk.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_vi.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_zh-CN.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_zh-HK.json +3 -1
- package/dist/solutions-components/assets/action-bar/t9n/messages_zh-TW.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_ar.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_bg.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_bs.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_ca.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_cs.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_da.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_de.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_el.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_es.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_et.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_fi.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_fr.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_he.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_hr.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_hu.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_id.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_it.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_ja.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_ko.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_lt.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_lv.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_nl.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_no.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_pl.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_pt-BR.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_pt-PT.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_ro.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_ru.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_sk.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_sl.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_sr.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_sv.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_th.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_tr.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_uk.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_vi.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_zh-CN.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_zh-HK.json +3 -1
- package/dist/solutions-components/assets/action-pad/t9n/messages_zh-TW.json +3 -1
- package/dist/solutions-components/assets/date-picker/nls/en-CA.json +20 -2
- package/dist/solutions-components/assets/date-picker/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_ar.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_bg.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_bs.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_ca.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_cs.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_da.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_de.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_el.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_en.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_es.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_et.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_fi.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_fr.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_he.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_hr.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_hu.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_id.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_it.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_ja.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_ko.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_lt.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_lv.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_nl.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_no.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_pl.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_pt-BR.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_pt-PT.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_ro.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_ru.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_sk.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_sl.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_sr.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_sv.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_th.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_tr.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_uk.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_vi.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_zh-CN.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_zh-HK.json +2 -0
- package/dist/solutions-components/assets/date-picker/t9n/messages_zh-TW.json +2 -0
- package/dist/solutions-components/assets/dialog/t9n/index.d.ts +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_ar.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_bg.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_bs.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_ca.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_cs.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_da.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_de.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_el.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_en.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_es.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_et.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_fi.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_fr.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_he.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_hr.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_hu.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_id.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_it.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_ja.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_ko.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_lt.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_lv.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_nl.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_no.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_pl.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_pt-BR.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_pt-PT.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_ro.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_ru.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_sk.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_sl.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_sr.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_sv.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_th.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_tr.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_uk.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_vi.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_zh-CN.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_zh-HK.json +3 -0
- package/dist/solutions-components/assets/dialog/t9n/messages_zh-TW.json +3 -0
- package/dist/solutions-components/assets/icon/a3Landscape16.json +1 -0
- package/dist/solutions-components/assets/icon/a3Landscape24.json +1 -0
- package/dist/solutions-components/assets/icon/a3Landscape32.json +1 -0
- package/dist/solutions-components/assets/icon/a3Portrait16.json +1 -0
- package/dist/solutions-components/assets/icon/a3Portrait24.json +1 -0
- package/dist/solutions-components/assets/icon/a3Portrait32.json +1 -0
- package/dist/solutions-components/assets/icon/a4Landscape16.json +1 -0
- package/dist/solutions-components/assets/icon/a4Landscape24.json +1 -0
- package/dist/solutions-components/assets/icon/a4Landscape32.json +1 -0
- package/dist/solutions-components/assets/icon/a4Portrait16.json +1 -0
- package/dist/solutions-components/assets/icon/a4Portrait24.json +1 -0
- package/dist/solutions-components/assets/icon/a4Portrait32.json +1 -0
- package/dist/solutions-components/assets/icon/ansiALandscape16.json +1 -0
- package/dist/solutions-components/assets/icon/ansiALandscape24.json +1 -0
- package/dist/solutions-components/assets/icon/ansiALandscape32.json +1 -0
- package/dist/solutions-components/assets/icon/ansiAPortrait16.json +1 -0
- package/dist/solutions-components/assets/icon/ansiAPortrait24.json +1 -0
- package/dist/solutions-components/assets/icon/ansiAPortrait32.json +1 -0
- package/dist/solutions-components/assets/icon/ansiBLandscape16.json +1 -0
- package/dist/solutions-components/assets/icon/ansiBLandscape24.json +1 -0
- package/dist/solutions-components/assets/icon/ansiBLandscape32.json +1 -0
- package/dist/solutions-components/assets/icon/ansiBPortrait16.json +1 -0
- package/dist/solutions-components/assets/icon/ansiBPortrait24.json +1 -0
- package/dist/solutions-components/assets/icon/ansiBPortrait32.json +1 -0
- package/dist/solutions-components/assets/icon/arcgisDataStore16.json +1 -0
- package/dist/solutions-components/assets/icon/arcgisDataStore24.json +1 -0
- package/dist/solutions-components/assets/icon/arcgisDataStore32.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetLarge16.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetLarge24.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetLarge32.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetMedium16.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetMedium24.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetMedium32.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetSmall16.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetSmall24.json +1 -0
- package/dist/solutions-components/assets/icon/circleInsetSmall32.json +1 -0
- package/dist/solutions-components/assets/icon/cloudData16.json +1 -0
- package/dist/solutions-components/assets/icon/cloudData24.json +1 -0
- package/dist/solutions-components/assets/icon/cloudData32.json +1 -0
- package/dist/solutions-components/assets/icon/cloudServer16.json +1 -0
- package/dist/solutions-components/assets/icon/cloudServer24.json +1 -0
- package/dist/solutions-components/assets/icon/cloudServer32.json +1 -0
- package/dist/solutions-components/assets/icon/customPrint16.json +1 -0
- package/dist/solutions-components/assets/icon/customPrint24.json +1 -0
- package/dist/solutions-components/assets/icon/customPrint32.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetLarge16.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetLarge24.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetLarge32.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetMedium16.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetMedium24.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetMedium32.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetSmall16.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetSmall24.json +1 -0
- package/dist/solutions-components/assets/icon/diamondInsetSmall32.json +1 -0
- package/dist/solutions-components/assets/icon/exclamationPoint16.json +1 -0
- package/dist/solutions-components/assets/icon/exclamationPoint16F.json +1 -0
- package/dist/solutions-components/assets/icon/exclamationPoint24.json +1 -0
- package/dist/solutions-components/assets/icon/exclamationPoint24F.json +1 -0
- package/dist/solutions-components/assets/icon/exclamationPoint32.json +1 -0
- package/dist/solutions-components/assets/icon/exclamationPoint32F.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon216.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon224.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon232.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetLarge16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetLarge24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetLarge32.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetMedium16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetMedium24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetMedium32.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetSmall16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetSmall24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon2InsetSmall32.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetLarge16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetLarge24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetLarge32.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetMedium16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetMedium24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetMedium32.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetSmall16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetSmall24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagonInsetSmall32.json +1 -0
- package/dist/solutions-components/assets/icon/knowledgeGraphDataStore16.json +1 -0
- package/dist/solutions-components/assets/icon/knowledgeGraphDataStore24.json +1 -0
- package/dist/solutions-components/assets/icon/knowledgeGraphDataStore32.json +1 -0
- package/dist/solutions-components/assets/icon/objectstoreDataStore16.json +1 -0
- package/dist/solutions-components/assets/icon/objectstoreDataStore24.json +1 -0
- package/dist/solutions-components/assets/icon/objectstoreDataStore32.json +1 -0
- package/dist/solutions-components/assets/icon/overwriteProject16.json +1 -0
- package/dist/solutions-components/assets/icon/overwriteProject24.json +1 -0
- package/dist/solutions-components/assets/icon/overwriteProject32.json +1 -0
- package/dist/solutions-components/assets/icon/relationalDataStore16.json +1 -0
- package/dist/solutions-components/assets/icon/relationalDataStore24.json +1 -0
- package/dist/solutions-components/assets/icon/relationalDataStore32.json +1 -0
- package/dist/solutions-components/assets/icon/spatiotemporalDataStore16.json +1 -0
- package/dist/solutions-components/assets/icon/spatiotemporalDataStore24.json +1 -0
- package/dist/solutions-components/assets/icon/spatiotemporalDataStore32.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetLarge16.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetLarge24.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetLarge32.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetMedium16.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetMedium24.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetMedium32.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetSmall16.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetSmall24.json +1 -0
- package/dist/solutions-components/assets/icon/squareInsetSmall32.json +1 -0
- package/dist/solutions-components/assets/icon/tileCacheDataStore16.json +1 -0
- package/dist/solutions-components/assets/icon/tileCacheDataStore24.json +1 -0
- package/dist/solutions-components/assets/icon/tileCacheDataStore32.json +1 -0
- package/dist/solutions-components/p-016e190c.entry.js +6 -0
- package/dist/solutions-components/p-021da1d4.js +6 -0
- package/dist/solutions-components/p-02c4127b.entry.js +17 -0
- package/dist/solutions-components/p-071a9f50.entry.js +11 -0
- package/dist/solutions-components/p-09ded315.js +6 -0
- package/dist/solutions-components/p-0a877c91.entry.js +11 -0
- package/dist/solutions-components/p-0ae5f8fe.js +11 -0
- package/dist/solutions-components/p-0d654053.entry.js +11 -0
- package/dist/solutions-components/p-0dcb7d0c.js +6 -0
- package/dist/solutions-components/p-0fb2abfe.js +6 -0
- package/dist/solutions-components/p-0feb3e7f.js +6 -0
- package/dist/solutions-components/p-1452f846.js +6 -0
- package/dist/solutions-components/p-1628325d.entry.js +17 -0
- package/dist/solutions-components/p-16ae29b6.entry.js +11 -0
- package/dist/solutions-components/p-16d69510.js +16 -0
- package/dist/solutions-components/p-1931eae1.entry.js +11 -0
- package/dist/solutions-components/p-1a634d43.js +6 -0
- package/dist/solutions-components/p-1b64ce16.js +6 -0
- package/dist/solutions-components/p-1c785e3a.js +6 -0
- package/dist/solutions-components/p-1cae39b3.js +6 -0
- package/dist/solutions-components/p-1d229886.js +16 -0
- package/dist/solutions-components/p-1ddef837.entry.js +12 -0
- package/dist/solutions-components/p-210588d0.entry.js +6 -0
- package/dist/solutions-components/p-210d75fe.js +18 -0
- package/dist/solutions-components/p-2162a9d3.js +11 -0
- package/dist/solutions-components/p-22d81e03.js +11 -0
- package/dist/solutions-components/p-2327029a.js +11 -0
- package/dist/solutions-components/p-23f5aa20.entry.js +6 -0
- package/dist/solutions-components/p-24fab352.js +6 -0
- package/dist/solutions-components/p-259ce172.js +6 -0
- package/dist/solutions-components/p-262e91ea.js +11 -0
- package/dist/solutions-components/p-274c182a.entry.js +6 -0
- package/dist/solutions-components/p-29984000.js +6 -0
- package/dist/solutions-components/p-2b21f196.js +6 -0
- package/dist/solutions-components/p-2d01b83d.entry.js +11 -0
- package/dist/solutions-components/p-2e8a428a.entry.js +11 -0
- package/dist/solutions-components/p-2eb8993c.entry.js +11 -0
- package/dist/solutions-components/p-2f08fd73.js +16 -0
- package/dist/solutions-components/p-2f2118a7.entry.js +11 -0
- package/dist/solutions-components/p-31f602c0.js +11 -0
- package/dist/solutions-components/p-32ded6e5.entry.js +6 -0
- package/dist/solutions-components/p-33447b6f.js +11 -0
- package/dist/solutions-components/p-34a9bd5d.entry.js +11 -0
- package/dist/solutions-components/p-376e8412.js +11 -0
- package/dist/solutions-components/p-392c6cec.entry.js +6 -0
- package/dist/solutions-components/p-39ae36e9.js +6 -0
- package/dist/solutions-components/p-3b4170e9.entry.js +22 -0
- package/dist/solutions-components/p-3cc9861e.entry.js +17 -0
- package/dist/solutions-components/p-3e909ad8.entry.js +11 -0
- package/dist/solutions-components/p-3fcbaab8.js +11 -0
- package/dist/solutions-components/p-407d22c9.entry.js +11 -0
- package/dist/solutions-components/p-4250bde1.js +11 -0
- package/dist/solutions-components/p-440c2d17.js +11 -0
- package/dist/solutions-components/p-44194734.js +6 -0
- package/dist/solutions-components/p-482948c4.entry.js +17 -0
- package/dist/solutions-components/p-4b03ad1e.js +6 -0
- package/dist/solutions-components/p-57262e5a.js +6 -0
- package/dist/solutions-components/p-5835b3f4.entry.js +11 -0
- package/dist/solutions-components/p-583ecbf6.js +11 -0
- package/dist/solutions-components/p-595ec807.entry.js +11 -0
- package/dist/solutions-components/p-5df3d135.js +16 -0
- package/dist/solutions-components/p-5df4b021.entry.js +11 -0
- package/dist/solutions-components/p-60a80c7f.entry.js +29 -0
- package/dist/solutions-components/p-60efb594.entry.js +11 -0
- package/dist/solutions-components/p-62050072.js +6 -0
- package/dist/solutions-components/p-62414b49.js +6 -0
- package/dist/solutions-components/p-626b6acd.js +6 -0
- package/dist/solutions-components/p-66daf5ec.entry.js +17 -0
- package/dist/solutions-components/p-680ed47d.js +6 -0
- package/dist/solutions-components/p-681fbb6e.js +6 -0
- package/dist/solutions-components/p-687e9081.entry.js +11 -0
- package/dist/solutions-components/p-6b0ecd98.entry.js +11 -0
- package/dist/solutions-components/p-6b64edcd.js +6 -0
- package/dist/solutions-components/p-6c11b89e.js +6 -0
- package/dist/solutions-components/p-6d030079.js +6 -0
- package/dist/solutions-components/p-6d04189c.entry.js +6 -0
- package/dist/solutions-components/p-70a52e62.entry.js +11 -0
- package/dist/solutions-components/p-70b4e46f.js +11 -0
- package/dist/solutions-components/p-72f01088.entry.js +6 -0
- package/dist/solutions-components/p-73a1e1b9.js +6 -0
- package/dist/solutions-components/p-73ae4b9b.js +11 -0
- package/dist/solutions-components/p-756a5a7f.entry.js +12 -0
- package/dist/solutions-components/p-762eab84.js +6 -0
- package/dist/solutions-components/p-77548c28.entry.js +11 -0
- package/dist/solutions-components/p-77fa776e.entry.js +11 -0
- package/dist/solutions-components/p-78c82389.js +6 -0
- package/dist/solutions-components/p-79fd09fa.js +6 -0
- package/dist/solutions-components/p-7a2f9e5b.entry.js +16 -0
- package/dist/solutions-components/p-7a326ee8.entry.js +11 -0
- package/dist/solutions-components/p-7bdef5f5.entry.js +11 -0
- package/dist/solutions-components/p-7c585a72.js +11 -0
- package/dist/solutions-components/p-7e7ddb11.js +6 -0
- package/dist/solutions-components/p-7ed62b29.js +6 -0
- package/dist/solutions-components/p-8428237a.entry.js +11 -0
- package/dist/solutions-components/p-84478793.js +11 -0
- package/dist/solutions-components/p-8448b98b.js +17 -0
- package/dist/solutions-components/p-85512ae3.entry.js +47 -0
- package/dist/solutions-components/p-86660809.js +6 -0
- package/dist/solutions-components/p-88b55caa.entry.js +6 -0
- package/dist/solutions-components/p-8904675a.entry.js +11 -0
- package/dist/solutions-components/p-8a9257ec.entry.js +11 -0
- package/dist/solutions-components/p-8b922152.js +6 -0
- package/dist/solutions-components/p-8ce3d9f3.entry.js +11 -0
- package/dist/solutions-components/p-8ea95c9f.entry.js +11 -0
- package/dist/solutions-components/p-8f3af937.entry.js +24 -0
- package/dist/solutions-components/p-8fb95f9a.entry.js +17 -0
- package/dist/solutions-components/p-90372205.entry.js +11 -0
- package/dist/solutions-components/p-90dd8aec.js +11 -0
- package/dist/solutions-components/p-93a86792.entry.js +11 -0
- package/dist/solutions-components/p-947ef2fa.entry.js +6 -0
- package/dist/solutions-components/p-94b118d5.js +6 -0
- package/dist/solutions-components/p-94f68938.js +6 -0
- package/dist/solutions-components/p-973ff7b2.entry.js +23 -0
- package/dist/solutions-components/p-9779be82.js +6 -0
- package/dist/solutions-components/p-988fc332.entry.js +11 -0
- package/dist/solutions-components/p-9a2ab5bc.js +11 -0
- package/dist/solutions-components/p-a001f9c9.entry.js +6 -0
- package/dist/solutions-components/p-a3544947.entry.js +11 -0
- package/dist/solutions-components/p-a3e66f8e.entry.js +11 -0
- package/dist/solutions-components/p-a432be00.js +6 -0
- package/dist/solutions-components/p-a72fd9b4.js +6 -0
- package/dist/solutions-components/p-a8e556aa.js +11 -0
- package/dist/solutions-components/p-add49b80.entry.js +23 -0
- package/dist/solutions-components/p-af3a9822.js +6 -0
- package/dist/solutions-components/p-b05b7f3e.entry.js +11 -0
- package/dist/solutions-components/p-b0609d19.entry.js +11 -0
- package/dist/solutions-components/p-b06ae708.js +6 -0
- package/dist/solutions-components/p-b1c71e50.js +11 -0
- package/dist/solutions-components/p-b470a429.js +6 -0
- package/dist/solutions-components/p-b4f06fe2.entry.js +11 -0
- package/dist/solutions-components/p-bb3ce613.js +11 -0
- package/dist/solutions-components/p-c2bafa94.entry.js +6 -0
- package/dist/solutions-components/p-c5897e36.js +11 -0
- package/dist/solutions-components/p-c5d15c91.js +11 -0
- package/dist/solutions-components/p-c5f22510.js +11 -0
- package/dist/solutions-components/p-c683b3fe.entry.js +6 -0
- package/dist/solutions-components/p-c6f8bc28.js +6 -0
- package/dist/solutions-components/p-c7c0c863.entry.js +11 -0
- package/dist/solutions-components/p-c8a8591b.entry.js +11 -0
- package/dist/solutions-components/p-ca42f3d3.js +11 -0
- package/dist/solutions-components/p-ccba7d93.js +6 -0
- package/dist/solutions-components/p-cd4d69c1.js +11 -0
- package/dist/solutions-components/p-cf754ff5.js +11 -0
- package/dist/solutions-components/p-cfca5772.js +11 -0
- package/dist/solutions-components/p-d0ff7db8.js +6 -0
- package/dist/solutions-components/p-d34e12f4.entry.js +11 -0
- package/dist/solutions-components/p-d49f895d.entry.js +17 -0
- package/dist/solutions-components/p-d4e3e979.js +11 -0
- package/dist/solutions-components/p-d655a7a2.entry.js +6 -0
- package/dist/solutions-components/p-d7ee860a.js +11 -0
- package/dist/solutions-components/p-d98d3d33.js +6 -0
- package/dist/solutions-components/p-da2d0073.entry.js +6 -0
- package/dist/solutions-components/p-da9fc69b.entry.js +11 -0
- package/dist/solutions-components/p-db18bce8.entry.js +12 -0
- package/dist/solutions-components/p-e1f30753.entry.js +11 -0
- package/dist/solutions-components/p-e21efd7d.js +11 -0
- package/dist/solutions-components/p-e2f3674f.entry.js +11 -0
- package/dist/solutions-components/p-e4767cc4.entry.js +11 -0
- package/dist/solutions-components/p-e8bd5b44.entry.js +11 -0
- package/dist/solutions-components/p-ec561560.js +12 -0
- package/dist/solutions-components/p-ed95c75e.js +11 -0
- package/dist/solutions-components/p-ee056d26.js +17 -0
- package/dist/solutions-components/p-ee0a512f.entry.js +6 -0
- package/dist/solutions-components/p-eefcb751.entry.js +6 -0
- package/dist/solutions-components/p-f012ccbb.js +11 -0
- package/dist/solutions-components/p-f021c564.js +6 -0
- package/dist/solutions-components/p-f12a94e6.entry.js +29 -0
- package/dist/solutions-components/p-f39f661e.entry.js +11 -0
- package/dist/solutions-components/p-f3e54df7.entry.js +6 -0
- package/dist/solutions-components/p-f83c0ef6.js +11 -0
- package/dist/solutions-components/p-fbeba590.entry.js +11 -0
- package/dist/solutions-components/p-fc474b33.js +6 -0
- package/dist/solutions-components/p-fcfbd587.js +6 -0
- package/dist/solutions-components/p-fdf4caad.js +11 -0
- package/dist/solutions-components/p-fe43ec31.entry.js +16 -0
- package/dist/solutions-components/p-ffbecb75.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +2 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +6 -1
- package/dist/types/components.d.ts +10 -2
- package/dist/types/preact.d.ts +11 -4
- package/dist/types/utils/interfaces.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cjs/ExpandToggle-754dc404.js +0 -117
- package/dist/cjs/FloatingArrow-e81372ea.js +0 -48
- package/dist/cjs/Heading-97656cb9.js +0 -25
- package/dist/cjs/Validation-29123fe7.js +0 -20
- package/dist/cjs/app-globals-813d99ef.js +0 -71
- package/dist/cjs/ar-04cd8ef6.js +0 -107
- package/dist/cjs/array-755c4355.js +0 -17
- package/dist/cjs/bg-b0f111cc.js +0 -85
- package/dist/cjs/browser-9f13ebb0.js +0 -25
- package/dist/cjs/bs-e1dc9d02.js +0 -54
- package/dist/cjs/ca-cb0420bd.js +0 -74
- package/dist/cjs/calcite-input-time-picker-775c5e62.js +0 -1863
- package/dist/cjs/component-8ff3f229.js +0 -33
- package/dist/cjs/conditionalSlot-764a9738.js +0 -54
- package/dist/cjs/config-f0cc2786.js +0 -36
- package/dist/cjs/cs-63e42697.js +0 -150
- package/dist/cjs/da-79372248.js +0 -70
- package/dist/cjs/date-7163204c.js +0 -264
- package/dist/cjs/de-at-7db363ed.js +0 -93
- package/dist/cjs/de-ch-a020dd1a.js +0 -93
- package/dist/cjs/de-dfdd2563.js +0 -94
- package/dist/cjs/dom-93443cc1.js +0 -1189
- package/dist/cjs/el-b3d43c83.js +0 -69
- package/dist/cjs/en-au-fa44525d.js +0 -69
- package/dist/cjs/en-ca-9c2fb318.js +0 -68
- package/dist/cjs/en-gb-2c9afb17.js +0 -72
- package/dist/cjs/es-c4a51fea.js +0 -69
- package/dist/cjs/es-mx-28c17157.js +0 -68
- package/dist/cjs/et-eacdabc9.js +0 -95
- package/dist/cjs/fi-daa01bc0.js +0 -118
- package/dist/cjs/filter-10b497bc.js +0 -778
- package/dist/cjs/floating-ui-c597830e.js +0 -2356
- package/dist/cjs/focusTrapComponent-32084d52.js +0 -1018
- package/dist/cjs/form-e3e6f1e0.js +0 -381
- package/dist/cjs/fr-ch-1691a71f.js +0 -69
- package/dist/cjs/fr-e8dbc71f.js +0 -71
- package/dist/cjs/guid-9a92730c.js +0 -26
- package/dist/cjs/he-f545620c.js +0 -108
- package/dist/cjs/hi-7393728c.js +0 -68
- package/dist/cjs/hr-6cc2d286.js +0 -83
- package/dist/cjs/hu-54ff3779.js +0 -91
- package/dist/cjs/id-91ecca85.js +0 -69
- package/dist/cjs/input-816ba485.js +0 -60
- package/dist/cjs/interactive-c120e7de.js +0 -154
- package/dist/cjs/it-3e6cd7d3.js +0 -69
- package/dist/cjs/it-ch-66fbee30.js +0 -69
- package/dist/cjs/ja-f22c1a60.js +0 -75
- package/dist/cjs/key-f95b815e.js +0 -19
- package/dist/cjs/ko-8994342f.js +0 -75
- package/dist/cjs/label-c4d636db.js +0 -186
- package/dist/cjs/loadable-52223908.js +0 -94
- package/dist/cjs/locale-4d226d16.js +0 -584
- package/dist/cjs/lt-fe50a34a.js +0 -100
- package/dist/cjs/lv-21ac9d29.js +0 -69
- package/dist/cjs/math-fb91def5.js +0 -60
- package/dist/cjs/mk-fe97d42e.js +0 -69
- package/dist/cjs/nb-7578c36b.js +0 -70
- package/dist/cjs/nl-d45eb6db.js +0 -70
- package/dist/cjs/observers-304eec4e.js +0 -55
- package/dist/cjs/openCloseComponent-7cf2d6c4.js +0 -65
- package/dist/cjs/pl-fdccbe5c.js +0 -117
- package/dist/cjs/pt-br-4575c059.js +0 -68
- package/dist/cjs/pt-cfaafa67.js +0 -70
- package/dist/cjs/resources-0656887d.js +0 -68
- package/dist/cjs/resources-271906e6.js +0 -23
- package/dist/cjs/resources-543ff11e.js +0 -32
- package/dist/cjs/resources-72673508.js +0 -27
- package/dist/cjs/resources-79f932e8.js +0 -58
- package/dist/cjs/resources-82ee012d.js +0 -29
- package/dist/cjs/resources-9156820a.js +0 -23
- package/dist/cjs/resources-93e789d7.js +0 -26
- package/dist/cjs/resources-bde4229a.js +0 -39
- package/dist/cjs/resources-f65f6a7c.js +0 -21
- package/dist/cjs/ro-0bf5d05f.js +0 -69
- package/dist/cjs/ru-d0e49d68.js +0 -129
- package/dist/cjs/shared-list-render-52623507.js +0 -361
- package/dist/cjs/sk-4f884c21.js +0 -151
- package/dist/cjs/sl-fe86930f.js +0 -171
- package/dist/cjs/sortableComponent-2f51e15c.js +0 -2748
- package/dist/cjs/sr-b0257c4c.js +0 -104
- package/dist/cjs/sv-3511e4cb.js +0 -74
- package/dist/cjs/t9n-d102c87b.js +0 -104
- package/dist/cjs/th-e2e80510.js +0 -68
- package/dist/cjs/time-b80cd446.js +0 -289
- package/dist/cjs/tr-7160e9b5.js +0 -69
- package/dist/cjs/uk-0e64b638.js +0 -107
- package/dist/cjs/utils-292c3e9a.js +0 -65
- package/dist/cjs/utils-fc413133.js +0 -2303
- package/dist/cjs/vi-f72469e3.js +0 -73
- package/dist/cjs/zh-cn-7025e198.js +0 -97
- package/dist/cjs/zh-hk-f22534e9.js +0 -95
- package/dist/cjs/zh-tw-27f3a7ff.js +0 -95
- package/dist/esm/ExpandToggle-c0a054bb.js +0 -109
- package/dist/esm/FloatingArrow-431de926.js +0 -46
- package/dist/esm/Heading-23a57eec.js +0 -22
- package/dist/esm/Validation-ee7ac6f8.js +0 -18
- package/dist/esm/app-globals-96fdab2a.js +0 -69
- package/dist/esm/ar-327bcde4.js +0 -105
- package/dist/esm/array-17cb1195.js +0 -15
- package/dist/esm/bg-499f2350.js +0 -83
- package/dist/esm/browser-f1924ed5.js +0 -23
- package/dist/esm/bs-802e2d43.js +0 -52
- package/dist/esm/ca-04228768.js +0 -72
- package/dist/esm/calcite-input-time-picker-7e11453d.js +0 -1860
- package/dist/esm/component-ea2e5ffe.js +0 -30
- package/dist/esm/conditionalSlot-0618f140.js +0 -51
- package/dist/esm/config-2adddf83.js +0 -33
- package/dist/esm/cs-0076bde5.js +0 -148
- package/dist/esm/da-187b599c.js +0 -68
- package/dist/esm/date-00b3c2da.js +0 -248
- package/dist/esm/de-3284e20a.js +0 -92
- package/dist/esm/de-at-dd3830aa.js +0 -91
- package/dist/esm/de-ch-b58b2b5f.js +0 -91
- package/dist/esm/dom-adaa346d.js +0 -1155
- package/dist/esm/el-f92c7f31.js +0 -67
- package/dist/esm/en-au-ed3094f5.js +0 -67
- package/dist/esm/en-ca-fd15b47d.js +0 -66
- package/dist/esm/en-gb-7d2e22dc.js +0 -70
- package/dist/esm/es-bf031f2c.js +0 -67
- package/dist/esm/es-mx-85861ec8.js +0 -66
- package/dist/esm/et-6deeb9cb.js +0 -93
- package/dist/esm/fi-f7e6bd83.js +0 -116
- package/dist/esm/filter-9ecc3a4c.js +0 -775
- package/dist/esm/floating-ui-dc07bb5d.js +0 -2348
- package/dist/esm/focusTrapComponent-81752112.js +0 -1013
- package/dist/esm/form-ff4cee81.js +0 -372
- package/dist/esm/fr-04daf676.js +0 -69
- package/dist/esm/fr-ch-6674c1af.js +0 -67
- package/dist/esm/guid-58589598.js +0 -24
- package/dist/esm/he-de22e721.js +0 -106
- package/dist/esm/hi-ccde1f4f.js +0 -66
- package/dist/esm/hr-7c408162.js +0 -81
- package/dist/esm/hu-7505ce5f.js +0 -89
- package/dist/esm/id-4125c7ac.js +0 -67
- package/dist/esm/input-3466d6d7.js +0 -58
- package/dist/esm/interactive-8a1c50b8.js +0 -149
- package/dist/esm/it-0c390a71.js +0 -67
- package/dist/esm/it-ch-7f73197e.js +0 -67
- package/dist/esm/ja-94a95836.js +0 -73
- package/dist/esm/key-bc256b99.js +0 -16
- package/dist/esm/ko-84ff7fb0.js +0 -73
- package/dist/esm/label-82bcd527.js +0 -179
- package/dist/esm/loadable-c3166a45.js +0 -89
- package/dist/esm/locale-f6556a2c.js +0 -571
- package/dist/esm/lt-cde3f221.js +0 -98
- package/dist/esm/lv-6a7b4876.js +0 -67
- package/dist/esm/math-fd9c999c.js +0 -54
- package/dist/esm/mk-01c59dc9.js +0 -67
- package/dist/esm/nb-1f343cbc.js +0 -68
- package/dist/esm/nl-94d7af0f.js +0 -68
- package/dist/esm/observers-2621ada9.js +0 -53
- package/dist/esm/openCloseComponent-d0d2a68b.js +0 -63
- package/dist/esm/pl-da0d9361.js +0 -115
- package/dist/esm/pt-43298859.js +0 -68
- package/dist/esm/pt-br-e4543b00.js +0 -66
- package/dist/esm/resources-4a2ba5b1.js +0 -20
- package/dist/esm/resources-4cec0b1a.js +0 -21
- package/dist/esm/resources-574c2851.js +0 -54
- package/dist/esm/resources-60c8dbbc.js +0 -28
- package/dist/esm/resources-7b48e8fd.js +0 -35
- package/dist/esm/resources-9d98edf6.js +0 -24
- package/dist/esm/resources-a8d8cbdc.js +0 -22
- package/dist/esm/resources-abb95649.js +0 -19
- package/dist/esm/resources-adbe351f.js +0 -62
- package/dist/esm/resources-c48f3e92.js +0 -23
- package/dist/esm/ro-72949217.js +0 -67
- package/dist/esm/ru-53b2d958.js +0 -127
- package/dist/esm/shared-list-render-2101b438.js +0 -339
- package/dist/esm/sk-d255ac6e.js +0 -149
- package/dist/esm/sl-289eab8b.js +0 -169
- package/dist/esm/sortableComponent-065a4e74.js +0 -2745
- package/dist/esm/sr-cc4c087b.js +0 -102
- package/dist/esm/sv-55c68873.js +0 -72
- package/dist/esm/t9n-22159fb9.js +0 -99
- package/dist/esm/th-7dbf803d.js +0 -66
- package/dist/esm/time-45839eab.js +0 -274
- package/dist/esm/tr-dff2bcac.js +0 -67
- package/dist/esm/uk-9525c248.js +0 -105
- package/dist/esm/utils-63c1b697.js +0 -2274
- package/dist/esm/utils-9290add7.js +0 -54
- package/dist/esm/vi-2996069f.js +0 -71
- package/dist/esm/zh-cn-2da096d6.js +0 -95
- package/dist/esm/zh-hk-f69147fc.js +0 -93
- package/dist/esm/zh-tw-750c6061.js +0 -93
- package/dist/solutions-components/assets/icon/ai16.json +0 -1
- package/dist/solutions-components/assets/icon/ai24.json +0 -1
- package/dist/solutions-components/assets/icon/ai32.json +0 -1
- package/dist/solutions-components/assets/icon/arrowCircleDownF16.json +0 -1
- package/dist/solutions-components/assets/icon/arrowCircleDownF24.json +0 -1
- package/dist/solutions-components/assets/icon/arrowCircleDownF32.json +0 -1
- package/dist/solutions-components/assets/icon/bookmarkF16.json +0 -1
- package/dist/solutions-components/assets/icon/bookmarkF24.json +0 -1
- package/dist/solutions-components/assets/icon/bookmarkF32.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrand16.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrand24.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrand32.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrandEdit16.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrandEdit24.json +0 -1
- package/dist/solutions-components/assets/icon/codeBrandEdit32.json +0 -1
- package/dist/solutions-components/assets/icon/esriCommunity16.json +0 -1
- package/dist/solutions-components/assets/icon/esriCommunity24.json +0 -1
- package/dist/solutions-components/assets/icon/esriCommunity32.json +0 -1
- package/dist/solutions-components/assets/icon/esriCommunityGlyph16.json +0 -1
- package/dist/solutions-components/assets/icon/esriCommunityGlyph24.json +0 -1
- package/dist/solutions-components/assets/icon/esriCommunityGlyph32.json +0 -1
- package/dist/solutions-components/assets/icon/featureDisplayOrder16.json +0 -1
- package/dist/solutions-components/assets/icon/featureDisplayOrder24.json +0 -1
- package/dist/solutions-components/assets/icon/featureDisplayOrder32.json +0 -1
- package/dist/solutions-components/assets/icon/folderFill16F.json +0 -1
- package/dist/solutions-components/assets/icon/folderFill24F.json +0 -1
- package/dist/solutions-components/assets/icon/folderFill32F.json +0 -1
- package/dist/solutions-components/assets/icon/full1Column16.json +0 -1
- package/dist/solutions-components/assets/icon/full1Column24.json +0 -1
- package/dist/solutions-components/assets/icon/full1Column32.json +0 -1
- package/dist/solutions-components/assets/icon/fullMedium1Column16.json +0 -1
- package/dist/solutions-components/assets/icon/fullMedium1Column24.json +0 -1
- package/dist/solutions-components/assets/icon/fullMedium1Column32.json +0 -1
- package/dist/solutions-components/assets/icon/fullSmall1Column16.json +0 -1
- package/dist/solutions-components/assets/icon/fullSmall1Column24.json +0 -1
- package/dist/solutions-components/assets/icon/fullSmall1Column32.json +0 -1
- package/dist/solutions-components/assets/icon/i12XPlaybackSpeed16.json +0 -1
- package/dist/solutions-components/assets/icon/i12XPlaybackSpeed24.json +0 -1
- package/dist/solutions-components/assets/icon/i12XPlaybackSpeed32.json +0 -1
- package/dist/solutions-components/assets/icon/i14XPlaybackSpeed16.json +0 -1
- package/dist/solutions-components/assets/icon/i14XPlaybackSpeed24.json +0 -1
- package/dist/solutions-components/assets/icon/i14XPlaybackSpeed32.json +0 -1
- package/dist/solutions-components/assets/icon/i18XPlaybackSpeed16.json +0 -1
- package/dist/solutions-components/assets/icon/i18XPlaybackSpeed24.json +0 -1
- package/dist/solutions-components/assets/icon/i18XPlaybackSpeed32.json +0 -1
- package/dist/solutions-components/assets/icon/i1XPlaybackSpeed16.json +0 -1
- package/dist/solutions-components/assets/icon/i1XPlaybackSpeed24.json +0 -1
- package/dist/solutions-components/assets/icon/i1XPlaybackSpeed32.json +0 -1
- package/dist/solutions-components/assets/icon/i2XPlaybackSpeed16.json +0 -1
- package/dist/solutions-components/assets/icon/i2XPlaybackSpeed24.json +0 -1
- package/dist/solutions-components/assets/icon/i2XPlaybackSpeed32.json +0 -1
- package/dist/solutions-components/assets/icon/i4XPlaybackSpeed16.json +0 -1
- package/dist/solutions-components/assets/icon/i4XPlaybackSpeed24.json +0 -1
- package/dist/solutions-components/assets/icon/i4XPlaybackSpeed32.json +0 -1
- package/dist/solutions-components/assets/icon/i8XPlaybackSpeed16.json +0 -1
- package/dist/solutions-components/assets/icon/i8XPlaybackSpeed24.json +0 -1
- package/dist/solutions-components/assets/icon/i8XPlaybackSpeed32.json +0 -1
- package/dist/solutions-components/assets/icon/large2Column16.json +0 -1
- package/dist/solutions-components/assets/icon/large2Column24.json +0 -1
- package/dist/solutions-components/assets/icon/large2Column32.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingDisabled16.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingDisabled24.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingDisabled32.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingEnabled16.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingEnabled24.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingEnabled32.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingFilled16.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingFilled24.json +0 -1
- package/dist/solutions-components/assets/icon/locationSharingFilled32.json +0 -1
- package/dist/solutions-components/assets/icon/medium2Column16.json +0 -1
- package/dist/solutions-components/assets/icon/medium2Column24.json +0 -1
- package/dist/solutions-components/assets/icon/medium2Column32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle1F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle1F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle1F32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle2F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle2F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle2F32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle3F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle3F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle3F32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle4F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle4F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle4F32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle5F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle5F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle5F32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle6F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle6F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle6F32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle7F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle7F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle7F32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle8F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle8F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle8F32.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle9F16.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle9F24.json +0 -1
- package/dist/solutions-components/assets/icon/numberCircle9F32.json +0 -1
- package/dist/solutions-components/assets/icon/partlyCloud16.json +0 -1
- package/dist/solutions-components/assets/icon/partlyCloud24.json +0 -1
- package/dist/solutions-components/assets/icon/partlyCloud32.json +0 -1
- package/dist/solutions-components/assets/icon/pinTearF16.json +0 -1
- package/dist/solutions-components/assets/icon/pinTearF24.json +0 -1
- package/dist/solutions-components/assets/icon/pinTearF32.json +0 -1
- package/dist/solutions-components/assets/icon/popUpBlankF16.json +0 -1
- package/dist/solutions-components/assets/icon/popUpBlankF24.json +0 -1
- package/dist/solutions-components/assets/icon/popUpBlankF32.json +0 -1
- package/dist/solutions-components/assets/icon/radialTreeLinkChartYayout16.json +0 -1
- package/dist/solutions-components/assets/icon/radialTreeLinkChartYayout24.json +0 -1
- package/dist/solutions-components/assets/icon/radialTreeLinkChartYayout32.json +0 -1
- package/dist/solutions-components/assets/icon/satellite0F16.json +0 -1
- package/dist/solutions-components/assets/icon/satellite0F24.json +0 -1
- package/dist/solutions-components/assets/icon/satellite0F32.json +0 -1
- package/dist/solutions-components/assets/icon/satellite1F16.json +0 -1
- package/dist/solutions-components/assets/icon/satellite1F24.json +0 -1
- package/dist/solutions-components/assets/icon/satellite1F32.json +0 -1
- package/dist/solutions-components/assets/icon/satellite2F16.json +0 -1
- package/dist/solutions-components/assets/icon/satellite2F24.json +0 -1
- package/dist/solutions-components/assets/icon/satellite2F32.json +0 -1
- package/dist/solutions-components/assets/icon/satellite3F16.json +0 -1
- package/dist/solutions-components/assets/icon/satellite3F24.json +0 -1
- package/dist/solutions-components/assets/icon/satellite3F32.json +0 -1
- package/dist/solutions-components/assets/icon/sensor21.json +0 -1
- package/dist/solutions-components/assets/icon/sensor48.json +0 -1
- package/dist/solutions-components/assets/icon/sensor64.json +0 -1
- package/dist/solutions-components/assets/icon/sheildCoin16.json +0 -1
- package/dist/solutions-components/assets/icon/sheildCoin24.json +0 -1
- package/dist/solutions-components/assets/icon/sheildCoin32.json +0 -1
- package/dist/solutions-components/assets/icon/small2Column16.json +0 -1
- package/dist/solutions-components/assets/icon/small2Column24.json +0 -1
- package/dist/solutions-components/assets/icon/small2Column32.json +0 -1
- package/dist/solutions-components/p-01b59f0d.entry.js +0 -11
- package/dist/solutions-components/p-01fee5a0.entry.js +0 -6
- package/dist/solutions-components/p-02b3be2e.entry.js +0 -6
- package/dist/solutions-components/p-068ca523.entry.js +0 -11
- package/dist/solutions-components/p-078c4a95.js +0 -6
- package/dist/solutions-components/p-088941fa.js +0 -11
- package/dist/solutions-components/p-095e0d92.js +0 -11
- package/dist/solutions-components/p-0a46c7a6.js +0 -6
- package/dist/solutions-components/p-0cfa6974.entry.js +0 -11
- package/dist/solutions-components/p-0f031624.js +0 -6
- package/dist/solutions-components/p-12ab5fbb.entry.js +0 -17
- package/dist/solutions-components/p-1570096f.js +0 -6
- package/dist/solutions-components/p-1586a4c7.js +0 -11
- package/dist/solutions-components/p-158aba52.js +0 -11
- package/dist/solutions-components/p-16d8cbbf.js +0 -6
- package/dist/solutions-components/p-1978ce68.js +0 -6
- package/dist/solutions-components/p-1a2c8fac.entry.js +0 -11
- package/dist/solutions-components/p-1a37bcde.js +0 -6
- package/dist/solutions-components/p-1a822b66.entry.js +0 -11
- package/dist/solutions-components/p-1a87659d.js +0 -6
- package/dist/solutions-components/p-1b9aa18e.entry.js +0 -6
- package/dist/solutions-components/p-1eb241eb.entry.js +0 -11
- package/dist/solutions-components/p-1f2d97bb.js +0 -6
- package/dist/solutions-components/p-2034d10e.js +0 -6
- package/dist/solutions-components/p-2239e146.entry.js +0 -6
- package/dist/solutions-components/p-237d73c9.js +0 -6
- package/dist/solutions-components/p-25c7e12b.entry.js +0 -11
- package/dist/solutions-components/p-27b3d2b5.js +0 -6
- package/dist/solutions-components/p-28b8ba83.entry.js +0 -6
- package/dist/solutions-components/p-291217a6.js +0 -16
- package/dist/solutions-components/p-2980768a.js +0 -11
- package/dist/solutions-components/p-29e3db9c.entry.js +0 -11
- package/dist/solutions-components/p-2af88c69.entry.js +0 -11
- package/dist/solutions-components/p-2f7728ea.js +0 -6
- package/dist/solutions-components/p-320cc3b8.entry.js +0 -6
- package/dist/solutions-components/p-37c5f71b.entry.js +0 -11
- package/dist/solutions-components/p-3adcef85.js +0 -11
- package/dist/solutions-components/p-3b4567b4.js +0 -16
- package/dist/solutions-components/p-3c691c66.js +0 -11
- package/dist/solutions-components/p-3c80897d.entry.js +0 -11
- package/dist/solutions-components/p-3f4b968f.js +0 -6
- package/dist/solutions-components/p-411b49a7.js +0 -11
- package/dist/solutions-components/p-418880f9.entry.js +0 -6
- package/dist/solutions-components/p-41d75b33.js +0 -6
- package/dist/solutions-components/p-44733e9b.js +0 -11
- package/dist/solutions-components/p-45264a47.js +0 -6
- package/dist/solutions-components/p-47fe5663.js +0 -11
- package/dist/solutions-components/p-48cc4965.js +0 -6
- package/dist/solutions-components/p-49880909.entry.js +0 -11
- package/dist/solutions-components/p-4c44cad9.entry.js +0 -11
- package/dist/solutions-components/p-4ffcf3df.js +0 -11
- package/dist/solutions-components/p-501e851a.js +0 -6
- package/dist/solutions-components/p-50f21eab.js +0 -11
- package/dist/solutions-components/p-545b56c7.js +0 -11
- package/dist/solutions-components/p-549e8769.entry.js +0 -6
- package/dist/solutions-components/p-550cc19a.js +0 -6
- package/dist/solutions-components/p-551d7d11.js +0 -11
- package/dist/solutions-components/p-55cb457a.js +0 -6
- package/dist/solutions-components/p-56ac3f14.entry.js +0 -11
- package/dist/solutions-components/p-5b2b42e3.js +0 -11
- package/dist/solutions-components/p-5c999087.entry.js +0 -47
- package/dist/solutions-components/p-5cb08f4a.entry.js +0 -6
- package/dist/solutions-components/p-5d0072bc.entry.js +0 -17
- package/dist/solutions-components/p-5d68949a.entry.js +0 -11
- package/dist/solutions-components/p-5e1c94c6.js +0 -6
- package/dist/solutions-components/p-5e4643ec.js +0 -11
- package/dist/solutions-components/p-5fde3e77.entry.js +0 -11
- package/dist/solutions-components/p-6104417c.js +0 -17
- package/dist/solutions-components/p-622be944.entry.js +0 -17
- package/dist/solutions-components/p-675e37e3.js +0 -6
- package/dist/solutions-components/p-68517cd3.js +0 -6
- package/dist/solutions-components/p-7127d908.js +0 -6
- package/dist/solutions-components/p-730fee95.js +0 -11
- package/dist/solutions-components/p-7489016e.js +0 -6
- package/dist/solutions-components/p-77dc9d68.js +0 -12
- package/dist/solutions-components/p-78c968c8.entry.js +0 -11
- package/dist/solutions-components/p-79071a9d.entry.js +0 -11
- package/dist/solutions-components/p-79c6af97.entry.js +0 -22
- package/dist/solutions-components/p-7a607331.js +0 -16
- package/dist/solutions-components/p-7a8e915c.entry.js +0 -6
- package/dist/solutions-components/p-7af4c00e.entry.js +0 -17
- package/dist/solutions-components/p-7bb53ffb.js +0 -11
- package/dist/solutions-components/p-7ca8caf5.js +0 -6
- package/dist/solutions-components/p-80c8a8e8.entry.js +0 -11
- package/dist/solutions-components/p-80e6c7cb.entry.js +0 -6
- package/dist/solutions-components/p-82057460.entry.js +0 -11
- package/dist/solutions-components/p-86cd8247.js +0 -6
- package/dist/solutions-components/p-88d4db61.entry.js +0 -29
- package/dist/solutions-components/p-8927b656.js +0 -6
- package/dist/solutions-components/p-89fc734e.entry.js +0 -6
- package/dist/solutions-components/p-8e22949b.js +0 -11
- package/dist/solutions-components/p-8e63d535.entry.js +0 -11
- package/dist/solutions-components/p-8e700722.js +0 -6
- package/dist/solutions-components/p-901c7dc6.js +0 -11
- package/dist/solutions-components/p-906b10b1.entry.js +0 -6
- package/dist/solutions-components/p-909191f9.js +0 -6
- package/dist/solutions-components/p-9175fd62.js +0 -6
- package/dist/solutions-components/p-927abc06.entry.js +0 -6
- package/dist/solutions-components/p-92e255f9.entry.js +0 -24
- package/dist/solutions-components/p-92f58190.entry.js +0 -11
- package/dist/solutions-components/p-9461a13e.js +0 -11
- package/dist/solutions-components/p-94662faa.entry.js +0 -11
- package/dist/solutions-components/p-99b1d6ec.entry.js +0 -11
- package/dist/solutions-components/p-9a8d1173.entry.js +0 -11
- package/dist/solutions-components/p-9cb9c763.js +0 -11
- package/dist/solutions-components/p-9e5ee25d.js +0 -16
- package/dist/solutions-components/p-9ec9b482.js +0 -6
- package/dist/solutions-components/p-a35eb8ee.entry.js +0 -16
- package/dist/solutions-components/p-a485848f.entry.js +0 -6
- package/dist/solutions-components/p-a567f792.entry.js +0 -11
- package/dist/solutions-components/p-a75ca7db.entry.js +0 -11
- package/dist/solutions-components/p-a7849379.entry.js +0 -6
- package/dist/solutions-components/p-ab092c27.entry.js +0 -11
- package/dist/solutions-components/p-ac58e523.js +0 -11
- package/dist/solutions-components/p-ad750cc3.js +0 -6
- package/dist/solutions-components/p-b0b74534.js +0 -6
- package/dist/solutions-components/p-b0e30428.entry.js +0 -29
- package/dist/solutions-components/p-b55879d6.entry.js +0 -11
- package/dist/solutions-components/p-b7562961.js +0 -6
- package/dist/solutions-components/p-b7e9e6a5.entry.js +0 -11
- package/dist/solutions-components/p-b80bcd0b.entry.js +0 -6
- package/dist/solutions-components/p-b9621602.entry.js +0 -11
- package/dist/solutions-components/p-bf0e1230.js +0 -6
- package/dist/solutions-components/p-bf380938.js +0 -6
- package/dist/solutions-components/p-bfcc9e65.entry.js +0 -16
- package/dist/solutions-components/p-c276dee3.js +0 -11
- package/dist/solutions-components/p-c3878736.entry.js +0 -12
- package/dist/solutions-components/p-c47ca883.entry.js +0 -11
- package/dist/solutions-components/p-c51f745c.js +0 -11
- package/dist/solutions-components/p-c5df915f.js +0 -11
- package/dist/solutions-components/p-c95c9472.js +0 -11
- package/dist/solutions-components/p-c9c6ea51.entry.js +0 -17
- package/dist/solutions-components/p-cb480d11.js +0 -6
- package/dist/solutions-components/p-cda663c8.js +0 -6
- package/dist/solutions-components/p-cdf637e8.js +0 -6
- package/dist/solutions-components/p-ce379719.js +0 -6
- package/dist/solutions-components/p-d09efbc6.entry.js +0 -11
- package/dist/solutions-components/p-d0e51ed1.js +0 -6
- package/dist/solutions-components/p-d351bd0a.js +0 -11
- package/dist/solutions-components/p-d57736d0.entry.js +0 -12
- package/dist/solutions-components/p-d5c4edda.entry.js +0 -23
- package/dist/solutions-components/p-d66d7fba.js +0 -6
- package/dist/solutions-components/p-d6d6d741.entry.js +0 -11
- package/dist/solutions-components/p-d7716f27.js +0 -11
- package/dist/solutions-components/p-d7d12a2b.entry.js +0 -11
- package/dist/solutions-components/p-da160a85.entry.js +0 -11
- package/dist/solutions-components/p-db85e2cf.entry.js +0 -11
- package/dist/solutions-components/p-dcc5937c.js +0 -6
- package/dist/solutions-components/p-dd119c31.js +0 -17
- package/dist/solutions-components/p-df98ebc6.entry.js +0 -6
- package/dist/solutions-components/p-e0ed413a.js +0 -11
- package/dist/solutions-components/p-e1c0122d.js +0 -11
- package/dist/solutions-components/p-e2be6278.js +0 -6
- package/dist/solutions-components/p-e37e12ba.entry.js +0 -11
- package/dist/solutions-components/p-e3e593db.entry.js +0 -11
- package/dist/solutions-components/p-e538e1fe.js +0 -6
- package/dist/solutions-components/p-e756a5dc.js +0 -11
- package/dist/solutions-components/p-ea66beec.js +0 -18
- package/dist/solutions-components/p-ebe61392.entry.js +0 -11
- package/dist/solutions-components/p-ebfd1ca1.entry.js +0 -17
- package/dist/solutions-components/p-ed78ef1a.entry.js +0 -11
- package/dist/solutions-components/p-eecd63c7.js +0 -11
- package/dist/solutions-components/p-efd71a40.entry.js +0 -11
- package/dist/solutions-components/p-efd9c966.js +0 -6
- package/dist/solutions-components/p-f1e2d625.js +0 -6
- package/dist/solutions-components/p-f1f610c6.js +0 -11
- package/dist/solutions-components/p-f2e3db8e.entry.js +0 -12
- package/dist/solutions-components/p-f59b4183.entry.js +0 -11
- package/dist/solutions-components/p-f59ea7b9.js +0 -6
- package/dist/solutions-components/p-f6098fb6.entry.js +0 -23
- package/dist/solutions-components/p-f72203cb.js +0 -6
- package/dist/solutions-components/p-f85c07a7.entry.js +0 -11
- package/dist/solutions-components/p-f9a25ce5.entry.js +0 -11
- package/dist/solutions-components/p-fc2cf198.entry.js +0 -11
@@ -0,0 +1,16 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{a as i,r as s,h as t,H as n,g as e}from"./p-f4c4a2b7.js";import{a,t as o}from"./p-8448b98b.js";import{c}from"./p-2327029a.js";import{i as l}from"./p-73ae4b9b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.11.1
|
11
|
+
*/const r="flip-rtl",h={},p={},f={s:16,m:24,l:32};
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
+
* v2.11.1
|
16
|
+
*/function d({icon:i,scale:s}){const t=f[s],n=function(i){const s=!isNaN(Number(i.charAt(0))),t=i.split("-");if(t.length>0){const s=/[a-z]/i;i=t.map(((i,t)=>i.replace(s,(function(i,s){return 0===t&&0===s?i:i.toUpperCase()})))).join("")}return s?`i${i}`:i}(i),e="F"===n.charAt(n.length-1);return`${e?n.substring(0,n.length-1):n}${t}${e?"F":""}`}function b(i){return h[i]}const u=class{constructor(i){s(this,i),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.visible||this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}render(){const{el:i,flipRtl:s,pathData:e,scale:c,textLabel:l}=this,h=a(i),p=f[c],d=!!l,b=[].concat(e||"");return t(n,{key:"cc43afdebd39df596be0a30677a9be5ba0db4fe0","aria-hidden":o(!d),"aria-label":d?l:null,role:d?"img":null},t("svg",{key:"a40833fc10f8bb7f287eb0c75f7437cb18880603","aria-hidden":"true",class:{[r]:"rtl"===h&&s,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${p} ${p}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},b.map((i=>t("path","string"==typeof i?{d:i}:{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:s,scale:t,visible:n}=this;if(!l()||!s||!n)return;const e={icon:s,scale:t},a=b(d(e))||await async function(s){const t=d(s),n=b(t);if(n)return n;p[t]||(p[t]=fetch(i(`./assets/icon/${t}.json`)).then((i=>i.json())).catch((()=>(console.error(`"${t}" is not a valid calcite-ui-icon name`),""))));const e=await p[t];return h[t]=e,e}(e);s===this.icon&&(this.pathData=a)}waitUntilVisible(i){this.intersectionObserver=c("intersection",(s=>{s.forEach((s=>{s.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):i()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};u.style=":host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_icon}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,f as e,h as o,H as s,g as a}from"./p-f4c4a2b7.js";import{g as c}from"./p-90dd8aec.js";import{a as r,e as d,t as n}from"./p-8448b98b.js";import{c as h,d as l,H as b}from"./p-7c585a72.js";import{g as p}from"./p-0ae5f8fe.js";import{c as u,d as f,u as m,I as v}from"./p-ec561560.js";import{c as k,d as x,g}from"./p-d7ee860a.js";import{c as w,s as y,a as z}from"./p-f83c0ef6.js";import"./p-a8e556aa.js";import"./p-73ae4b9b.js";import"./p-bb3ce613.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.11.1
|
11
|
+
*/const C=class{constructor(e){t(this,e),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),e=t.find((t=>t.checked));return i===this.el&&!e},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let o=i;"rtl"===r(e)&&("ArrowRight"===i&&(o="ArrowLeft"),"ArrowLeft"===i&&(o="ArrowRight"));const s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name));let a=0;const d=s.length;switch(s.some(((t,i)=>{if(t.checked)return a=i,!0})),o){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(s,c(Math.max(a-1,-1),d));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(s,c(a+1,d));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}handleHiddenChange(){this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await w(this),this.disabled||d(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.el.hidden)return;const i=t.currentTarget,e=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);e&&(e.focused=!0,this.setFocus(),e.checked||(this.uncheckOtherRadioButtonsInGroup(),e.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{e(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${p()}`,this.name&&this.checkLastRadioButton(),u(this),k(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){y(this)}componentDidLoad(){z(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),x(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){m(this)}render(){const t=this.getTabIndex();return o(s,{key:"b397c382efe2d05d99fcf8a0035011c5482ccfe4",onClick:this.clickHandler,onKeyDown:this.handleKeyDown},o(v,{key:"7112738487b0bcda82d1680c08f4026330b2cfde",disabled:this.disabled},o("div",{key:"d3bedbbea15ac3e4aa5656f042a05939be2a8a68","aria-checked":n(this.checked),"aria-label":g(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},o("div",{key:"eebf3f8fffde27fd58b04cddae6966da4a079c3d",class:"radio"})),o(b,{key:"07fad35c2b428ec42382e6ede6b846d824a524f9",component:this})))}get el(){return a(this)}static get watchers(){return{hidden:["handleHiddenChange"],checked:["checkedChanged"],disabled:["disabledChanged"],name:["nameChanged"]}}};C.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';export{C as calcite_radio_button}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as t,h as o,H as i,g as r}from"./p-f4c4a2b7.js";import{c as s,u as a,d as l,I as n}from"./p-ec561560.js";import{n as c,c as d,d as h}from"./p-16d69510.js";import{s as p,a as m,c as u}from"./p-f83c0ef6.js";import{u as b,c as g,s as f,d as v}from"./p-d4e3e979.js";import"./p-73ae4b9b.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-4250bde1.js";import"./p-2327029a.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.11.1
|
11
|
+
*/const y=class{constructor(o){e(this,o),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.calciteStepperItemSelect=t(this,"calciteStepperItemSelect",6),this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{this.disabled||"horizontal"===this.layout&&e.composedPath().some((e=>e.classList?.contains("stepper-item-content")))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.iconFlipRtl=!1,this.numberingSystem=void 0,this.icon=!1,this.layout=void 0,this.messages=void 0,this.numbered=!1,this.scale="m",this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}onMessagesChange(){}effectiveLocaleWatcher(e){c.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1},b(this,this.effectiveLocale)}connectedCallback(){s(this),d(this),g(this)}async componentWillLoad(){p(this),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem(),await f(this)}componentDidLoad(){m(this)}componentDidRender(){a(this)}disconnectedCallback(){l(this),h(this),v(this)}render(){return o(i,{key:"17ebab44105dcd47e20116d179f5672241f0e1a1","aria-current":this.selected?"step":"false",onClick:this.handleItemClick,onKeyDown:this.keyDownHandler,tabIndex:this.disabled?-1:0},o(n,{key:"c95fdf5cfa8d240d70af4507fde14c8806084faf",disabled:this.disabled},o("div",{key:"6e0d539011e6596f34dc9655d8096854e68c3f04",class:"container"},this.complete&&o("span",{key:"a71bfa945714f88399e031f7001aa097f757b5ad","aria-live":"polite",class:"visually-hidden"},this.messages.complete),o("div",{key:"a6763f5e38bdcb0bf61c11ca93a31f85320c19f9",class:"stepper-item-header",ref:e=>this.headerEl=e,tabIndex:"horizontal"!==this.layout||this.disabled?null:0},this.icon?this.renderIcon():null,this.numbered?o("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,o("div",{key:"f1627f81198627f9e7647e003bc4f2bda066a42b",class:"stepper-item-header-text"},o("span",{key:"8e376729e35ae546e15db5d2bacd5222a61dc4d3",class:"stepper-item-heading"},this.heading),o("span",{key:"37e3ca75a66b5af0b7b68cd9cc539bac4b809cdf",class:"stepper-item-description"},this.description))),o("div",{key:"4a91a00313a95a4846ddeee7faec8ab48d98bcd7",class:"stepper-item-content"},o("slot",{key:"41f5c83db4618935e3fd533813e9116c68bfd5aa"})))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){await u(this),("vertical"===this.layout?this.el:this.headerEl)?.focus()}renderIcon(){let e="circle";return!this.selected||"horizontal-single"===this.layout&&(this.error||this.complete)?this.error?e="exclamationMarkCircleF":this.complete&&(e="checkCircleF"):e="circleF",o("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:e,scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return c.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},c.numberFormatter.format(this.itemPosition+1)}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};y.style=":host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;--calcite-internal-stepper-action-inline-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;--calcite-internal-stepper-action-inline-size:2.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;--calcite-internal-stepper-action-inline-size:3rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-color-text-3);opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .stepper-item-description{color:var(--calcite-color-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-color-brand)}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-color-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-color-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-color-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-color-status-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-color-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-color-status-danger-hover)}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);outline-color:transparent;grid-row:items}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{transition-duration:0s;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-color-status-danger)}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-color-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-color-status-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;box-sizing:border-box;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + 0.5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-color-status-danger)}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-color-text-2)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-color-text-3)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_stepper_item}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{h as n}from"./p-f4c4a2b7.js";import{u as t,c as i}from"./p-8448b98b.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.11.1
|
11
|
+
*/const e=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"],o="hidden-form-input";function s(n){return"checked"in n}const a=new WeakMap,c=new WeakSet;function u(n){return"CALCITE-RADIO-BUTTON"===n.nodeName?i(n,"calcite-radio-button-group"):n}const r=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function l(n){const t=n?.target,i=t?.validationMessage,o=u(t?.parentElement);if(!o)return;const s=o?.nodeName?.toLowerCase(),a=s?.split("-");if(a.length<2||"calcite"!==a[0])return;n?.preventDefault(),"validity"in o&&(o.validity=t?.validity),o.dispatchEvent(r),function(n,{status:t,message:i,icon:e}){"status"in n&&(n.status=t),"validationIcon"in n&&"string"!=typeof n.validationIcon&&(n.validationIcon=e),"validationMessage"in n&&!n.validationMessage&&(n.validationMessage=i)}(o,{message:i,icon:!0,status:"invalid"});const c=function(n){return`${n.split("-").map(((n,t)=>0===t?n:`${n[0].toUpperCase()}${n.slice(1)}`)).join("")}${e.includes(n)?"Input":"Change"}`}(s);o.addEventListener(c,(()=>{"status"in o&&(o.status="idle"),"validationIcon"in o&&!o.validationIcon&&(o.validationIcon=!1),"validationMessage"in o&&o.validationMessage===i&&(o.validationMessage=""),"validity"in o&&(o.validity=t?.validity)}),{once:!0})}function f(n){const{formEl:t}=n;return!!t&&(t.addEventListener("invalid",l,!0),t.requestSubmit(),t.removeEventListener("invalid",l,!0),requestAnimationFrame((()=>{const n=t.querySelectorAll("[status=invalid]");for(const t of n)if(t?.validationMessage){t?.setFocus();break}})),!0)}function d(n){n.formEl?.reset()}function m(n){const{el:t,value:e}=n,o=p(n);if(!o||function(n,t){if(i(t.parentElement,"[form]"))return!0;const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>c.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(o,t))return;n.formEl=o,n.defaultValue=e,s(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||v).bind(n);o.addEventListener("reset",u),a.set(n.el,u),c.add(t)}function p(n){const{el:e,form:o}=n;return o?t(e,{id:o}):i(e,"form")}function v(){"status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),s(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function b(n){const{el:t,formEl:i}=n;if(!i)return;const e=a.get(t);i.removeEventListener("reset",e),a.delete(t),n.formEl=null,c.delete(t)}function h(n,t){n.defaultValue=t}const I="calciteInternalHiddenInputInput",g=n=>{n.target.dispatchEvent(new CustomEvent(I,{bubbles:!0}))},w=n=>n.removeEventListener("input",g);function C(n,t,i){const{defaultValue:e,disabled:o,form:a,name:c,required:r}=n;t.defaultValue=e,t.disabled=o,t.name=c,t.required=r,t.tabIndex=-1,a?t.setAttribute("form",a):t.removeAttribute("form"),s(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?i||"on":""):t.value=i||"",n.syncHiddenFormInput?.(t);const l=u(n.el);if(l&&"validity"in l)for(const n in{...t?.validity})l.validity[n]=t.validity[n]}const E=({component:t})=>(function(n){const{el:t,formEl:i,name:e,value:s}=n,{ownerDocument:a}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!i||!e)return void c.forEach((n=>{w(n),n.remove()}));const u=Array.isArray(s)?s:[s],r=[],l=new Set;let f;c.forEach((t=>{const i=u.find((n=>n==t.value));null!=i?(l.add(i),C(n,t,i)):r.push(t)})),u.forEach((t=>{if(l.has(t))return;let i=r.pop();i||(i=a.createElement("input"),i.slot=o),f||(f=a.createDocumentFragment()),f.append(i),i.addEventListener("input",g),C(n,i,t)})),f&&t.append(f),r.forEach((n=>{w(n),n.remove()}))}(t),n("slot",{name:o}));export{E as H,h as a,m as c,b as d,p as f,I as i,d as r,f as s}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as p}from"./p-8b922152.js";import"./p-f4c4a2b7.js";import"./p-7c585a72.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ec561560.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";import"./p-d7ee860a.js";import"./p-bb3ce613.js";import"./p-f83c0ef6.js";import"./p-16d69510.js";import"./p-2327029a.js";import"./p-2f08fd73.js";import"./p-ca42f3d3.js";import"./p-c5f22510.js";import"./p-33447b6f.js";import"./p-d4e3e979.js";import"./p-cd4d69c1.js";import"./p-cfca5772.js";import"./p-fdf4caad.js";var _={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(p){return p+"."}};p.locale(_,null,!0);export{_ as default}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-8b922152.js";import"./p-f4c4a2b7.js";import"./p-7c585a72.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ec561560.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";import"./p-d7ee860a.js";import"./p-bb3ce613.js";import"./p-f83c0ef6.js";import"./p-16d69510.js";import"./p-2327029a.js";import"./p-2f08fd73.js";import"./p-ca42f3d3.js";import"./p-c5f22510.js";import"./p-33447b6f.js";import"./p-d4e3e979.js";import"./p-cd4d69c1.js";import"./p-cfca5772.js";import"./p-fdf4caad.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export{s as default}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,h as a,g as s}from"./p-f4c4a2b7.js";import{e as o}from"./p-8448b98b.js";import{c as e,u as i,d,I as l}from"./p-ec561560.js";import{s as r,a as c,c as n}from"./p-f83c0ef6.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-73ae4b9b.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.11.1
|
11
|
+
*/const h=class{constructor(a){t(this,a),this.appearance="solid",this.kind="brand",this.disabled=!1,this.icon="plus",this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}connectedCallback(){e(this)}componentWillLoad(){r(this)}componentDidLoad(){c(this)}componentDidRender(){i(this)}disconnectedCallback(){d(this)}async setFocus(){await n(this),o(this.buttonEl)}render(){const{appearance:t,kind:s,disabled:o,loading:e,scale:i,textEnabled:d,icon:r,label:c,text:n,iconFlipRtl:h}=this;return a(l,{key:"0466fa59a357502db1c407ffd8008f3620216bbe",disabled:o},a("calcite-button",{key:"d7cc0cf746d373240a3fb2274d3eeb6283bef052",appearance:"solid"===t?"solid":"outline-fill",class:"button",disabled:o,iconFlipRtl:h?"start":null,iconStart:r,kind:s,label:c,loading:e,ref:t=>{this.buttonEl=t},round:!0,scale:i,title:d?null:c||n||null,type:"button",width:"auto"},this.textEnabled?this.text:null))}get el(){return s(this)}};h.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:var(--calcite-shadow-md);--tw-shadow-colored:var(--calcite-shadow-md);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([hidden]){display:none}[hidden]{display:none}";export{h as calcite_fab}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
/*!
|
7
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
+
* v2.11.1
|
10
|
+
*/
|
11
|
+
const t={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},n={checked:"check",remove:"x"},a={actionsEnd:"actions-end",actionsStart:"actions-start"};export{t as C,n as I,a as S}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{g as n}from"./p-0ae5f8fe.js";import{C as t}from"./p-a8e556aa.js";
|
7
|
+
/*!
|
8
|
+
* tabbable 6.2.0
|
9
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
10
|
+
*/
|
11
|
+
var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],o=r.join(","),e="undefined"==typeof Element,i=e?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!e&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var o;void 0===r&&(r=!0);var e=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===e||"true"===e||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var e=Array.prototype.slice.apply(n.querySelectorAll(o));return t&&i.call(n,o)&&e.unshift(n),e.filter(r)},c=function n(t,r,e){for(var u=[],f=Array.from(t);f.length;){var c=f.shift();if(!a(c,!1))if("SLOT"===c.tagName){var l=c.assignedElements(),s=n(l.length?l:c.children,!0,e);e.flatten?u.push.apply(u,s):u.push({scopeParent:c,candidates:s})}else{i.call(c,o)&&e.filter(c)&&(r||!t.includes(c))&&u.push(c);var d=c.shadowRoot||"function"==typeof e.getShadowRoot&&e.getShadowRoot(c),v=!a(d,!1)&&(!e.shadowRootFilter||e.shadowRootFilter(c));if(d&&v){var p=n(!0===d?c.children:d.children,!0,e);e.flatten?u.push.apply(u,p):u.push({scopeParent:c,candidates:p})}else f.unshift.apply(f,c.children)}}return u},l=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},s=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&!l(n)?0:n.tabIndex},d=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},p=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},y=function(n,t){return!(t.disabled||a(t)||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var e=i.call(n,"details>summary:first-of-type");if(i.call(e?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return p(n)}else{if("function"==typeof o){for(var a=n;n;){var f=n.parentElement,c=u(n);if(f&&!f.shadowRoot&&!0===o(f))return p(n);n=n.assignedSlot?n.assignedSlot:f||c===n.ownerDocument?f:c.host}n=a}if(function(n){var t,r,o,e,i=n&&u(n),a=null===(t=i)||void 0===t?void 0:t.host,f=!1;if(i&&i!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(o=r.ownerDocument)&&void 0!==o&&o.contains(a)||null!=n&&null!==(e=n.ownerDocument)&&void 0!==e&&e.contains(n));!f&&a;){var c,l,s;f=!(null===(l=a=null===(c=i=u(a))||void 0===c?void 0:c.host)||void 0===l||null===(s=l.ownerDocument)||void 0===s||!s.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var o=t.children.item(r);if("LEGEND"===o.tagName)return!!i.call(t,"fieldset[disabled] *")||!o.contains(n)}return!0}t=t.parentElement}return!1}(t))},m=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||u(n),o=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(n.name));else try{t=o(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var e=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!e||e===n}(n)}(t)||s(t)<0||!y(n,t))},w=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},E=function n(t){var r=[],o=[];return t.forEach((function(t,e){var i=!!t.scopeParent,u=i?t.scopeParent:t,a=function(n,t){var r=s(n);return r<0&&t&&!l(n)?0:r}(u,i),f=i?n(t.candidates):u;0===a?i?r.push.apply(r,f):r.push(u):o.push({documentOrder:e,tabIndex:a,item:t,isScope:i,content:f})})),o.sort(d).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},h=function(n,t){var r;return r=(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):f(n,t.includeContainer,m.bind(null,t)),E(r)},A=function(n,t){return(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,y.bind(null,t))},S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,o)&&m(t,n)},g=r.concat("iframe").join(","),N=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,g)&&y(t,n)};
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
+
* v2.11.1
|
16
|
+
*/
|
17
|
+
const b={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){const r=O(n,`.${t.darkMode}, .${t.lightMode}`);return r?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function C(n){return n?parseFloat(getComputedStyle(n).inlineSize):0}function D(n){return n.getRootNode()}function L(n){const t=D(n);return"host"in t?t:null}function R(n,t){if(!n)return 0;const r=document.createElement("canvas").getContext("2d");return r.font=t,r.measureText(n).width}function k(n){return n.host||null}function F(n,{selector:t,id:r}){return function n(o){if(!o)return null;o.assignedSlot&&(o=o.assignedSlot);const e=D(o),i=r?"getElementById"in e?e.getElementById(r):null:t?e.querySelector(t):null,u=k(e);return i||(u?n(u):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(k(D(r))):null}(n)}function P(n,t){return U(n,t)}function U(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:o}=n;return U(o instanceof ShadowRoot?o.host:o,t)}function B(n,t){return!!P(t,(t=>t===n||void 0))}async function j(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function z(n){if(n)return h(n,b)[0]??n}function G(n){z(n)?.focus()}const M=":not([slot])";function q(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const o=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:M;return r?.all?function(n,t,r){let o=t===M?H(n,M):Array.from(n.querySelectorAll(t));o=r&&!1===r.direct?o:o.filter((t=>t.parentElement===n)),o=r?.matches?o.filter((n=>n?.matches(r.matches))):o;const e=r?.selector;return e?o.map((n=>Array.from(n.querySelectorAll(e)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):o}(n,o,r):function(n,t,r){let o=t===M?H(n,M)[0]||null:n.querySelector(t);o=r&&!1===r.direct||o?.parentElement===n?o:null,o=r?.matches?o?.matches(r.matches)?o:null:o;const e=r?.selector;return e?o?.querySelector(e):o}(n,o,r)}function H(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function V(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function X(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function Y(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function J(n){return Boolean(n).toString()}function K(n){return Q(n)||function(n){return!!function(n){return function(n){return n.currentTarget.assignedNodes({flatten:!0})}(n).filter((n=>n.nodeType===Node.TEXT_NODE)).map((n=>n.textContent)).join("").trim()}(n)}(n)}function Q(n){return!!W(n).length}function W(n,t){return Z(n.target,t)}function Z(n,t){const r=n.assignedElements({flatten:!0});return t?function(n,t){return n.filter((n=>n.matches(t)))}(r,t):r}function _(n){return!(!n.isPrimary||0!==n.button)}function nn(n){return 0===n.detail}const tn=(n,t,r,o=!0)=>{const e=n.indexOf(t);let i;return o&&(r="previous"===r&&0===e?"last":"next"===r&&e===n.length-1?"first":r),i="previous"===r?n[e-1]||n[o?n.length-1:e]:"next"===r?n[e+1]||n[o?0:e]:"last"===r?n[n.length-1]:n[0],j(i),i};function rn(n,t){if(n.parentNode!==t.parentNode)return!1;const r=Array.from(n.parentNode.children);return r.indexOf(n)<r.indexOf(t)}async function on(n,t,r,o){return un(n,t,"animation",r,o)}async function en(n,t,r,o){return un(n,t,"transition",r,o)}async function un(n,t,r,o,e){const i=window.getComputedStyle(n),u="transition"===r?i.transitionProperty:i.animationName,a=("transition"===r?i.transitionDuration:i.animationDuration).split(","),f=a[u.split(",").indexOf(t)]??a[0];function c(){o?.(),e?.()}if("0s"===f)return void c();const l="transition"===r?"transitionstart":"animationstart",s="transition"===r?"transitionend":"animationend",d="transition"===r?"transitioncancel":"animationcancel";return new Promise((r=>{const i=window.setTimeout((()=>{n.removeEventListener(l,u),n.removeEventListener(s,a),n.removeEventListener(d,a),c(),r()}),1e3*parseFloat(f));function u(r){r.target===n&&an(r)===t&&(window.clearTimeout(i),n.removeEventListener(l,u),o?.())}function a(o){o.target===n&&an(o)===t&&(n.removeEventListener(s,a),n.removeEventListener(d,a),e?.(),r())}n.addEventListener(l,u),n.addEventListener(s,a),n.addEventListener(d,a)}))}function an(n){return function(n){return"propertyName"in n}(n)?n.propertyName:n.animationName}export{K as A,V as B,Z as C,C as D,R as E,z as F,L as G,nn as H,$ as a,B as b,O as c,tn as d,j as e,G as f,q as g,W as h,_ as i,N as j,h as k,A as l,S as m,T as n,s as o,b as p,en as q,rn as r,Q as s,J as t,F as u,Y as v,on as w,I as x,x as y,X as z}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,f as a,g as o,H as s,d as n,F as l}from"./p-f4c4a2b7.js";import{c,d as r}from"./p-ed95c75e.js";import{a as d,i as h,h as b,s as p,n as u,d as f,B as m,t as v,C as g,e as w,g as y}from"./p-8448b98b.js";import{c as x,d as k}from"./p-16d69510.js";import{c as z}from"./p-33447b6f.js";import{c as C,s as _,d as I,u as T}from"./p-d4e3e979.js";import{C as L}from"./p-a8e556aa.js";import{g as H}from"./p-0ae5f8fe.js";import{c as S,a as j,b as W}from"./p-e3196917.js";import{c as D}from"./p-2327029a.js";import{c as A,d as E,I as F,u as M}from"./p-ec561560.js";import{g as R}from"./p-bb3ce613.js";import{i as $}from"./p-73ae4b9b.js";import{s as N,a as B,c as O}from"./p-f83c0ef6.js";import{q as P,m as V,d as U,a as J,s as q,h as G,b as K,g as X,k as Y,t as Q,i as Z,c as tt,f as et,e as it,n as at,r as ot,j as st,l as nt,o as lt,p as ct,L as rt}from"./p-1d229886.js";import{d as dt,c as ht}from"./p-210d75fe.js";import{l as bt}from"./p-b1c71e50.js";import{C as pt,S as ut}from"./p-84478793.js";import{I as ft}from"./p-31f602c0.js";import{g as mt}from"./p-d7868dd4.js";import{s as vt}from"./p-a860f365.js";import{d as gt}from"./p-80cb7c73.js";import{E as wt}from"./p-9fe07c30.js";import"./p-4250bde1.js";import"./p-90dd8aec.js";import"./p-2162a9d3.js";import"./p-c8d3207e.js";import"./p-ca42f3d3.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-dcc35070.js";import"./p-badcaf04.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.11.1
|
11
|
+
*/const yt="container",xt="content",kt="float--content",zt="content--overlay",Ct="float-all",_t=class{constructor(i){t(this,i),this.calciteInternalShellPanelResizeStart=e(this,"calciteInternalShellPanelResizeStart",6),this.calciteInternalShellPanelResizeEnd=e(this,"calciteInternalShellPanelResizeEnd",6),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:o,layout:s,contentWidthMin:n,contentWidthMax:l,initialContentWidth:c,initialContentHeight:r,contentHeightMin:h,contentHeightMax:b,position:p}=this,u=a*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const f=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],v="rtl"===d(i)&&f.includes(e)?-1:1;if("horizontal"===s?"end"===p?e===m[1]||e===f[0]:e===m[0]||e===f[1]:e===m[1]||("end"===p?e===f[0]:e===f[1])){const e=t.shiftKey?u:a;return"horizontal"===s?r+v*e:c+v*e}if("horizontal"===s?"end"===p?e===m[0]||e===f[0]:e===m[1]||e===f[1]:e===m[0]||("end"===p?e===f[1]:e===f[0])){const e=t.shiftKey?u:a;return"horizontal"===s?r-v*e:c-v*e}return"Home"===e&&"horizontal"===s&&"number"==typeof h?h:"Home"===e&&"vertical"===s&&"number"==typeof n?n:"End"===e&&"horizontal"===s&&"number"==typeof b?b:"End"===e&&"vertical"===s&&"number"==typeof l?l:"PageDown"===e?"horizontal"===s?r-u:c-u:"PageUp"===e?"horizontal"===s?r+u:c+u:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:a,initialContentHeight:o,position:s,initialClientX:n,initialClientY:l}=this,c="horizontal"===i?t.clientY-l:t.clientX-n,r="vertical"===i&&"rtl"===d(e)?-1:1,h="end"===s?-r*c:r*c;"horizontal"===i?this.setContentHeight(o+h):this.setContentWidth(a+h)},this.separatorPointerUp=t=>{h(t)&&(this.calciteInternalShellPanelResizeEnd.emit(),t.preventDefault(),window.removeEventListener("pointerup",this.separatorPointerUp),window.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;this.calciteInternalShellPanelResizeStart.emit(),t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),window.addEventListener("pointerup",this.separatorPointerUp),window.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=b(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.handleHeaderSlotChange=t=>{this.hasHeader=p(t)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale="",this.hasHeader=!1}handleDetached(t){t?this.displayMode="float-content":"float-content"!==this.displayMode&&"float"!==this.displayMode||(this.displayMode="dock")}handleDisplayMode(t){this.detached="float-content"===t||"float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){c(this),x(this),C(this)}async componentWillLoad(){await _(this)}disconnectedCallback(){r(this),this.disconnectSeparator(),k(this),I(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){T(this,this.effectiveLocale)}renderHeader(){return i("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},i("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:e,initialContentWidth:a,initialContentHeight:o,contentWidth:s,contentWidthMax:n,contentWidthMin:l,contentHeight:c,contentHeightMax:r,contentHeightMin:h,resizable:b,layout:p,displayMode:u}=this,f=d(this.el),m="float-content"!==u&&"float"!==u&&b,v=m?"horizontal"===p?c?{height:`${c}px`}:null:s?{width:`${s}px`}:null:null,g=!t&&m?i("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===p?"vertical":"horizontal","aria-valuemax":"horizontal"==p?r:n,"aria-valuemin":"horizontal"==p?h:l,"aria-valuenow":"horizontal"==p?c??o:s??a,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,w=i("div",{class:{[L.rtl]:"rtl"===f,[xt]:!0,[zt]:"overlay"===u,[kt]:"float-content"===u||"float"===u,[L.calciteAnimate]:"overlay"===u,[(()=>"horizontal"===p?"start"===e?L.calciteAnimateInDown:L.calciteAnimateInUp:"ltr"===f&&"end"===e||"rtl"===f&&"start"===e?L.calciteAnimateInLeft:L.calciteAnimateInRight)()]:"overlay"===u},hidden:t,key:"content",ref:this.storeContentEl,style:v},this.renderHeader(),i("div",{class:"content__body"},i("slot",null)),g),y=[i("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),w];return"end"===e&&y.reverse(),i("div",{class:{[yt]:!0,[Ct]:"float-all"===u}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?z(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),a(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,a=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?z(a,i,e):a}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),a=parseInt(t.getPropertyValue("width"),10);"number"!=typeof a||isNaN(a)||(this.initialContentWidth=a),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),a=parseInt(t.getPropertyValue("height"),10);"number"!=typeof a||isNaN(a)||(this.initialContentHeight=a),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};_t.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-internal-shell-panel-shadow-block-start:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-block-end:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-start:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-end:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-end:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical][width-scale=s]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=s][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=m][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][width-scale=l][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-min-height:var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}.container *{box-sizing:border-box}.container.float-all{margin-block:0.5rem;margin-inline:0.5rem}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-color-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-color-border-2)}.separator:focus{background-color:var(--calcite-color-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem))}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:0.5rem}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]:not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
+
* v2.11.1
|
16
|
+
*/
|
17
|
+
const It="container",Tt=class{constructor(e){t(this,e),this.guid=`calcite-tab-title-${H()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return i(s,{key:"03e398db2023e422338659deb076c6e6c63cd866","aria-labelledby":this.labeledBy,id:this.el.id||this.guid},i("div",{key:"371846888e92a0791d2a5a725d1525808241132e",class:{[It]:!0,[`scale-${this.scale}`]:!0},role:"tabpanel",tabIndex:this.selected?0:-1},i("section",{key:"48e3af2254269734886ed512dc3577dfafed52fa",class:"content"},i("slot",{key:"e25dd14ed3972ed4b488f7abb07484cf5e48681f"}))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return o(this)}};Tt.style=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}.container{outline-color:transparent}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([hidden]){display:none}[hidden]{display:none}";
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
21
|
+
* v2.11.1
|
22
|
+
*/
|
23
|
+
const Lt="tab-nav",Ht="tab-nav--end-overflow",St="tab-nav--start-overflow",jt="scroll-button",Wt="scroll-button-container",Dt="scroll-button-container--backward",At="scroll-button-container--forward",Et="tab-titles-slot-wrapper",Ft=class{constructor(a){t(this,a),this.calciteTabChange=e(this,"calciteTabChange",6),this.calciteInternalTabNavSlotChange=e(this,"calciteInternalTabNavSlotChange",7),this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=D("resize",(()=>{this.updateScrollingState()})),this.onTabTitleWheel=t=>{t.preventDefault();const{deltaX:e,deltaY:i}=t,a=Math.abs(e),o=Math.abs(i);let s;a===o?s="x"===this.lastScrollWheelAxis?e:i:a>o?(s=e,this.lastScrollWheelAxis="x"):(s=i,this.lastScrollWheelAxis="y"),t.currentTarget.scrollBy(("rtl"===this.effectiveDir?-1:1)*s,0)},this.onSlotChange=t=>{this.intersectionObserver?.disconnect();const e=b(t,"calcite-tab-title");e.forEach((t=>{this.intersectionObserver?.observe(t)})),this.calciteInternalTabNavSlotChange.emit(e)},this.storeTabTitleWrapperRef=t=>{this.tabTitleContainerEl=t,this.intersectionObserver=D("intersection",(()=>this.updateScrollingState()),{root:t,threshold:[0,.5,1]})},this.scrollToTabTitles=t=>{n((()=>{const e=this.tabTitleContainerEl,i=e.getBoundingClientRect(),a=Array.from(this.el.querySelectorAll("calcite-tab-title")),{effectiveDir:o}=this;"forward"===t&&a.reverse();let s=null;if(a.forEach((e=>{const a=e.getBoundingClientRect(),n=i.x+i.width,l=a.x+a.width;"forward"===t&&"ltr"===o||"backward"===t&&"rtl"===o?(a.x>n||l>n&&a.x>i.x)&&(s=e):(l<i.x||l<n&&a.x<i.x)&&(s=e)})),s){const{scrollerButtonWidth:i}=this;e.scrollTo({left:s.offsetLeft+("forward"===t&&"ltr"===o||"backward"===t&&"rtl"===o?-i:s.offsetWidth-e.clientWidth+i),behavior:"smooth"})}}))},this.scrollToNextTabTitles=()=>this.scrollToTabTitles("forward"),this.scrollToPreviousTabTitles=()=>this.scrollToTabTitles("backward"),this.handleTabFocus=(t,e,i)=>{const a=f(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(a,"instant"),t.stopPropagation()},this.onTabTitleScroll=()=>{this.updateScrollingState()},this.renderScrollButton=t=>{const{bordered:e,messages:a,hasOverflowingStartTabTitle:o,hasOverflowingEndTabTitle:s,scale:n}=this,l="end"===t;return i("div",{class:{[Wt]:!0,[Dt]:!l,[At]:l},hidden:l&&!s||!l&&!o,key:t},i("calcite-button",{appearance:e?"outline-fill":"transparent","aria-label":l?a.nextTabTitles:a.previousTabTitles,class:{[jt]:!0},iconFlipRtl:"both",iconStart:l?"chevron-right":"chevron-left",kind:"neutral",onClick:l?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles,scale:n,tabIndex:-1}))},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasOverflowingStartTabTitle=!1,this.hasOverflowingEndTabTitle=!1,this.selectedTabId=void 0}selectedTitleChanged(){this.calciteInternalTabChange.emit({tab:this.selectedTabId})}onMessagesChange(){}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs"),this.resizeObserver?.observe(this.el),x(this),C(this)}async componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}await _(this)}componentDidLoad(){this.scrollTabTitleIntoView(this.selectedTitle,"instant")}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout,this.bordered=t?.bordered,this.effectiveDir=d(this.el)}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}disconnectedCallback(){this.resizeObserver?.disconnect(),k(this),I(this)}render(){return i(s,{key:"dd1f2b015a83e243b6d5b74f5d75f6e15a380326",role:"tablist"},i("div",{key:"b855759e9b8f549fe804ed6eeae6da3c1a48ff71",class:{[Lt]:!0,[St]:!!this.hasOverflowingStartTabTitle,[Ht]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:!0,[`position-${this.position}`]:!0,[L.rtl]:"rtl"===this.effectiveDir}},this.renderScrollButton("start"),i("div",{key:"83290a1781ffe3644be2c33b4df23e02c9bc322e",class:{[Et]:!0},onScroll:this.onTabTitleScroll,onWheel:this.onTabTitleWheel,ref:this.storeTabTitleWrapperRef},i("slot",{key:"3564fbf9bfd1c05f1cec10ec330240b8d9572e07",onSlotchange:this.onSlotChange})),this.renderScrollButton("end")))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){const e=t.target;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.selectedTitle=e,this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&n((()=>{const i="ltr"===this.effectiveDir,a=this.tabTitleContainerEl,o=a.getBoundingClientRect(),s=t.getBoundingClientRect(),n=a.scrollLeft,l=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;s.left<o.left+((i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle)?this.scrollerButtonWidth:0)?a.scrollTo({left:n+(s.left-o.left)-this.scrollerButtonWidth,behavior:e}):s.right>o.right-(l?this.scrollerButtonWidth:0)&&a.scrollTo({left:n+(s.right-o.right)+this.scrollerButtonWidth,behavior:e})}))}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}async updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail,this.selectedTitle=await this.getTabTitleById(this.selectedTabId))}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}effectiveLocaleChange(){T(this,this.effectiveLocale)}async selectedTabIdChanged(){localStorage&&this.storageId&&null!=this.selectedTabId&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId})}get scrollerButtonWidth(){const{scale:t}=this;return parseInt("s"===t?S:"m"===t?j:W)}updateScrollingState(){const t=this.tabTitleContainerEl;if(!t)return;let e,i;const a=t.scrollLeft,o=t.clientWidth,s=t.scrollWidth;"ltr"===this.effectiveDir?(e=a>0,i=a+o<s):(e=a<0,i=a!==-(s-o)),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return m(this.el,"calcite-tab-title")}get enabledTabTitles(){return m(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this,i=t.selected,a=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),o=a.length;if(1===o&&e[a[0]].closable)e[a[0]].closable=!1,this.selectedTabId=a[0],i&&e[a[0]].activateTab();else if(o>1){const i=e.findIndex((e=>e===t)),s=a.find((t=>t>i));this.selectedTabId===i&&(this.selectedTabId=s||o-1,e[this.selectedTabId].activateTab())}requestAnimationFrame((()=>{e[this.selectedTabId].focus()}))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selectedTitle:["selectedTitleChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],selectedTabId:["selectedTabIdChanged"]}}};Ft.style=':host{--calcite-internal-tab-nav-gradient-start-side:left;--calcite-internal-tab-nav-gradient-end-side:right;position:relative;display:flex}.scale-s{--calcite-internal-tab-nav-scroller-button-width:24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-scroller-button-width:32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-scroller-button-width:44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side:right;--calcite-internal-tab-nav-gradient-end-side:left}.tab-nav--start-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--start-overflow.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%)}.tab-nav::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap:var(--calcite-size-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap:var(--calcite-size-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap:var(--calcite-size-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xxl)}.tab-nav,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-offset-invert-focus:1;--calcite-color-text-1:var(--calcite-color-text-3);block-size:100%}.scroll-button-container calcite-button:hover{--calcite-color-text-1:unset;--calcite-color-foreground-1:var(--calcite-color-transparent-hover);--calcite-color-foreground-3:var(--calcite-color-transparent)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward::before,:host(:not([bordered])) .scroll-button-container--forward::before{background-color:var(--calcite-color-border-3);content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward::before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward::before{inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}';
|
24
|
+
/*!
|
25
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
27
|
+
* v2.11.1
|
28
|
+
*/
|
29
|
+
const Mt="close-button",Rt="container",$t="container--bottom",Nt="content",Bt="content--has-text",Ot="icon-end",Pt="icon-present",Vt="icon-start",Ut="calcite-tab-title--icon",Jt=t=>`scale-${t}`,qt=class{constructor(i){t(this,i),this.calciteTabsActivate=e(this,"calciteTabsActivate",6),this.calciteInternalTabsActivate=e(this,"calciteInternalTabsActivate",6),this.calciteTabsClose=e(this,"calciteTabsClose",6),this.calciteInternalTabsClose=e(this,"calciteInternalTabsClose",6),this.calciteInternalTabsFocusNext=e(this,"calciteInternalTabsFocusNext",6),this.calciteInternalTabsFocusPrevious=e(this,"calciteInternalTabsFocusPrevious",6),this.calciteInternalTabsFocusFirst=e(this,"calciteInternalTabsFocusFirst",6),this.calciteInternalTabsFocusLast=e(this,"calciteInternalTabsFocusLast",6),this.calciteInternalTabTitleRegister=e(this,"calciteInternalTabTitleRegister",6),this.calciteInternalTabIconChanged=e(this,"calciteInternalTabIconChanged",6),this.closeClickHandler=()=>{this.closeTabTitleAndNotify()},this.mutationObserver=D("mutation",(()=>this.updateHasText())),this.resizeObserver=D("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${H()}`,this.selected=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.layout=void 0,this.position="top",this.scale="m",this.bordered=!1,this.tab=void 0,this.messages=void 0,this.messageOverrides=void 0,this.controls=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1}selectedHandler(){this.selected&&this.activateTab(!1)}onMessagesChange(){}connectedCallback(){A(this),x(this),C(this),this.setupTextContentObserver(),this.parentTabNavEl=this.el.closest("calcite-tab-nav"),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){this.mutationObserver?.disconnect(),document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el})),this.resizeObserver?.disconnect(),E(this),k(this),I(this)}async componentWillLoad(){await _(this),$()&&this.updateHasText(),this.tab&&this.selected&&this.activateTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.bordered=this.parentTabsEl.bordered)}render(){const{el:t,closed:e}=this,a=t.id||this.guid,o=i("calcite-icon",{key:"ad1702b0148764ff6e4aebb00ea87497d112c293",class:{[Ut]:!0,[Vt]:!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:R(this.scale)}),n=i("calcite-icon",{key:"8e7b1d4960585f34a03f40b05f9328c02a706c93",class:{[Ut]:!0,[Ot]:!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:R(this.scale)});return i(s,{key:"bd822a327a486c08dad7c9033054863de46591d6","aria-controls":this.controls,"aria-selected":v(this.selected),id:a,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},i(F,{key:"23f47db639bbe21922c8c8aa3bbcfe9b0433f2f5",disabled:this.disabled},i("div",{key:"c02773329f60ddcba7869df57f83ef5781346f62",class:{[Rt]:!0,[$t]:"bottom"===this.position,[Pt]:!!this.iconStart||!!this.iconEnd,[Jt(this.scale)]:!0},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{key:"1cc60233446099ee25cf5231ca22ab7c96647dd8",class:{[Nt]:!0,[Bt]:this.hasText}},this.iconStart?o:null,i("slot",{key:"d4c96c09ee2853b2053ed346fd1221cdfbbe750b"}),this.iconEnd?n:null),this.renderCloseButton(),i("div",{key:"487f585d1c3137a4c7354d9881bf1a777d77238c",class:"selected-indicator"}))))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:Mt,disabled:!1,key:Mt,onClick:this.closeClickHandler,ref:t=>this.closeButtonEl=t,title:e.close,type:"button"},i("calcite-icon",{icon:"x",scale:R(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){M(this)}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.activateTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit();break;case"Home":t.preventDefault(),this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault(),this.calciteInternalTabsFocusLast.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}async activateTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}effectiveLocaleChange(){T(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};qt.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:0.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-s .close-button{inline-size:1.25rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-m .close-button{inline-size:1.75rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.scale-l .close-button{inline-size:2rem}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:0.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.selected-indicator{position:absolute;display:block;block-size:0.125rem;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]) .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:not(.container--bottom){border-block-end:1px solid transparent}:host([bordered]:not([selected]):hover) .container:not(.container--bottom){border-block-end:1px solid var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([bordered][selected]) .container::after{position:absolute;display:block;block-size:0.125rem;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;background:var(--calcite-color-foreground-1);content:""}:host([bordered][selected]) .container.container--bottom::after{inset-block-start:-1px}:host([bordered][selected]:hover) .container::after{background:var(--calcite-color-foreground-2)}:host([bordered][selected]:focus) .container::after{background:transparent}:host([bordered]) .container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator{background-color:var(--calcite-color-brand)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-color-brand)}@media (forced-colors: active){.selected-indicator{background-color:highlight}}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}.close-button{display:flex;block-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-start:var(--calcite-spacing-sm);margin-inline-end:var(--calcite-spacing-px);block-size:calc(100% - var(--calcite-spacing-xxs))}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand))}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([bordered]) .container:not(.container--bottom) .close-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .close-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .close-button:focus,:host([bordered]) .container .close-button:hover,:host([bordered]) .container .close-button:active{box-shadow:0 2px 0 0 var(--calcite-color-foreground-3)}:host([bordered]) .container.container--bottom .close-button{box-shadow:0 -2px 0 0 transparent}:host([bordered]) .container.container--bottom .close-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container.container--bottom .close-button:focus,:host([bordered]) .container.container--bottom .close-button:hover,:host([bordered]) .container.container--bottom .close-button:active{box-shadow:0 -2px 0 0 var(--calcite-color-foreground-3)}:host([bordered][selected]){box-shadow:inset 0 -1px var(--calcite-color-foreground-1)}:host([bordered]:not([selected])) .container .close-button{box-shadow:0 2px 0 0 transparent}:host([bordered]:hover) .container{background-color:var(--calcite-color-foreground-2)}:host([bordered]) .container{border-inline:var(--calcite-spacing-px) solid transparent}:host([selected][bordered]) .container{border-inline-color:var(--calcite-color-border-1)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:0.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:0.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered]) .container--bottom{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}';
|
30
|
+
/*!
|
31
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
32
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
33
|
+
* v2.11.1
|
34
|
+
*/
|
35
|
+
const Gt=class{constructor(e){t(this,e),this.defaultSlotChangeHandler=t=>{this.tabs=b(t,"calcite-tab")},this.setDefaultSlotRef=t=>this.slotEl=t,this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}handleInheritableProps(){this.updateItems()}calciteInternalTabNavSlotChangeHandler(t){t.stopPropagation(),t.detail.length!==this.titles.length&&(this.titles=t.detail)}titlesWatcher(){this.updateAriaSettings(),this.updateItems()}tabsWatcher(){this.updateAriaSettings(),this.updateItems()}async updateAriaSettings(){let t,e;const i=g(this.slotEl,"calcite-tab");if(i.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=i.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id)),e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));else{const a=await Promise.all(i.map((t=>t.getTabIndex()))),o=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=a.reduce(((t,e,a)=>(t[e]=i[a].id,t)),[]),e=o.reduce(((t,e,i)=>(t[e]=this.titles[i].id,t)),[])}i.forEach((i=>i.updateAriaInfo(t,e))),this.titles.forEach((i=>i.updateAriaInfo(t,e)))}updateItems(){const{position:t,scale:e}=this,i=this.el.querySelector("calcite-tab-nav");i&&(i.position=t,i.scale=e),Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{t.parentElement===this.el&&(t.scale=e)})),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t,i.scale=e}))}connectedCallback(){this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){}render(){return i(l,{key:"fbdc57d4dbdde7b3dd75afef8d58139559fce80f"},i("slot",{key:"ecbd722566a4372f1d3ba156870bd2a7659d6e03",name:"title-group"}),i("section",{key:"8df862476d3a83acfce631bf815582cab1d7f5d2"},i("slot",{key:"06c4deb3e46c92fdbd06b66663617c1bee81c26d",onSlotchange:this.defaultSlotChangeHandler,ref:this.setDefaultSlotRef})))}get el(){return o(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"],titles:["titlesWatcher"],tabs:["tabsWatcher"]}}};Gt.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";
|
36
|
+
/*!
|
37
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
38
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
39
|
+
* v2.11.1
|
40
|
+
*/
|
41
|
+
function Kt(t,e,i){const{items:a,messages:o}=i,s=a.length,n=P(i,t)+1;return function(t,e,i,a){return t.replace("{position}",i.toString()).replace("{itemLabel}",e).replace("{total}",a.toString())}("idle"===e?o.dragHandleIdle:"active"===e?o.dragHandleActive:"change"===e?o.dragHandleChange:o.dragHandleCommit,t.label,n,s)}function Xt(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}bt.deprecated("component",{name:"value-list",removalVersion:3,suggested:"list"});const Yt=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=D("mutation",V.bind(this)),this.handleSelector=".handle",this.dragSelector="calcite-value-list-item",this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=U.bind(this),this.deselectSiblingItems=J.bind(this),this.selectSiblings=q.bind(this),this.handleFilter=G.bind(this),this.handleFilterEvent=K.bind(this),this.getItemData=X.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:e,item:i}=Xt(t);if(e&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(Kt(i,"commit",this)),!e||!i.handleActivated)return void Y.call(this,t);t.preventDefault();const{items:a}=this;if(" "===t.key&&this.updateScreenReaderText(Kt(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||a.length<=1)return;const{el:o}=this,s=Q(this,i,"ArrowUp"===t.key?"up":"down");if(s===a.length-1)o.appendChild(i);else{const t=o.children[s];o.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>w(e))),i.handleActivated=!0,this.updateHandleAriaLabel(e,Kt(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:e,item:i}=Xt(t);!i?.handleActivated&&i&&e&&this.updateHandleAriaLabel(e,Kt(i,"idle",this))},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){T(this,this.effectiveLocale)}connectedCallback(){A(this),x(this),C(this),Z.call(this),tt.call(this),this.setUpSorting()}async componentWillLoad(){N(this),await _(this)}componentDidLoad(){B(this),et.call(this)}componentDidRender(){M(this)}disconnectedCallback(){E(this),dt(this),k(this),I(this),it.call(this)}calciteListFocusOutHandler(t){at.call(this,t)}calciteListItemRemoveHandler(t){ot.call(this,t)}calciteListItemChangeHandler(t){st.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){nt.call(this,t),t.stopPropagation()}onGlobalDragStart(){it.call(this)}onGlobalDragEnd(){tt.call(this)}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){lt.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&ht(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await O(this),ct.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t="grip"),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,e){t.ariaLabel=e}handleValueListItemBlur(t){const{item:e,handle:i}=t.detail;!e?.handleActivated&&e&&this.updateHandleAriaLabel(i,Kt(e,"idle",this)),t.stopPropagation()}render(){return i(rt,{key:"226659128d8b783ff03fabc4ad086291d3ec749c",onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Yt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky)}calcite-filter{margin-block-end:1px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";
|
42
|
+
/*!
|
43
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
44
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
45
|
+
* v2.11.1
|
46
|
+
*/
|
47
|
+
const Qt="actions-end",Zt="actions-start";bt.deprecated("component",{name:"value-list-item",removalVersion:3,suggested:"list-item"});const te=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=e(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${H()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){c(this),A(this)}disconnectedCallback(){r(this),E(this)}componentWillLoad(){N(this)}componentDidLoad(){B(this)}componentDidRender(){M(this)}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){return await O(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return y(t,Qt)?i("slot",{name:Qt,slot:ut.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return y(t,Zt)?i("slot",{name:Zt,slot:ut.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:e}=this;if(t===ft.grip)return i("span",{class:{[pt.handle]:!0,[pt.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},i("calcite-icon",{flipRtl:e,icon:"drag",scale:"s"}))}render(){return i(s,{key:"d1d853c660a3a48f447a56f8635c1488f9b1f5d9",id:this.el.id||this.guid},i(F,{key:"a443b18162f5bd6a76509fbf2a834259ea480dfc",disabled:this.disabled},this.renderHandle(),i("calcite-pick-list-item",{key:"36475ef4beb9d9e874434bab09910f3034289a1f",description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd())))}get el(){return o(this)}};te.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-color-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-color-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const ee=class{constructor(e){t(this,e),this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value=""}get el(){return o(this)}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(t,a,o){t.id===i._currentModel.id&&(i._flagEditorHasErrors(o.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,a,o)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(s,{key:"160ba6c2961d67add84b4f23b4aacd2213d064b2"},i("div",{key:"bf0a77eed1d206376244526db6a261cce163ca69",id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{key:"65a0f2f69d4b7f9694a6617755c638d9ad19e168",class:"editor-controls"},i("div",{key:"3fccc399a3e2a45fe55a374c869a7a7c7533eafc",class:"editor-buttons"},i("calcite-icon",{key:"5007e48c8ecf9d5a037e062bbb3b5ee3710b18eb",id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{key:"37f8abf8027e0743e373de473421d06884f61d0b",id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"31c88e27793f4e07ccc20df6d6c88fa0d6661977",icon:"undo",scale:"s"})),i("calcite-button",{key:"56a5945e706a5c66044678f768d567286893c7b1",id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"b2a2d56e6818ee09be15114fcab357732f9f0c99",icon:"redo",scale:"s"})),i("calcite-button",{key:"63acf48f78d1f9cdcd86c5862e399be2217a16c1",id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"677f9c42bbb449fb51325a9dd4b60affd8a73cd7",icon:"compare",scale:"s"})),i("calcite-button",{key:"7cf8fac59ad4096ed541bfd1e6454cec70890c72",id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"1e2e4290e7b7254a533a99d85ea2745050b22e55",icon:"search",scale:"s"})),i("calcite-button",{key:"ec656bcb0a64a6ff6a42760710f8067eae18b9a5",id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"0210b400f5934c68c45fe61f4bf11d3efca97333",icon:"reset",scale:"s"})))),i("div",{key:"d14efe742fe79b18a436bf522e33924c2a7e72d5",class:"edit-parent"},i("div",{key:"e550bbc5968b71701220a44cba17afa9f5f61c48",id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{key:"9778b7229d2f3ec994c8a8d707a7f7b394697823",id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}_cancelEditsBtnHandler;_contentChanged;_currentModel;_diffEditor;_editor;_loaded=!1;_searchBtnHandler;_translations;_useDiffEditor=!1;_valueObserver;async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){const e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise(((t,e)=>{try{this._reset(),t({success:!0})}catch(t){e(t)}}))}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none"))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}};ee.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const ie=class{constructor(e){t(this,e),this.itemId="",this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}get el(){return o(this)}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(s,{key:"d4443b28db9314e9c6976d97af02e7af14d2a5ff"},i("div",{key:"bd2969f299df5fab6bab10a6cd6dbe7c7213aba4",class:"parent-container"},i("div",{key:"d7226027bddc89eb4ff89899ee45728534331a5d",class:"inputBottomSeparation"},i("calcite-input",{key:"9fcd5e9c9d5fe7ac652fff4fa06801fec240380f",id:"item-title",value:this.itemDetails.title})),i("div",{key:"9542faf04236ec293eff1f1abf0667ee4d26ab45",class:"inputBottomSeparation"},i("input",{key:"9a431fef50c9be4f084b33003c6be4cab65a7da0",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{key:"9ed82a0e807acd0344bd52bcef653728419d3fc1",class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{key:"230d6a270cd61f4785b7f39e951e996a7b37a1ca",class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{key:"96a6c77691e152072aa0de03f63d8ec82f1ca051",d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{key:"de04396607c0a61eb1e13bb56581aae9e939b286",class:"flex"},i("div",{key:"3df8a6cde94bc275b85db55375aaa351453c46fb",class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{key:"a5084eff2ebee0514c5cac6acf4e1b8dcaaf47d5",class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{key:"73199d7582082575282f36ecb6afed3ee6bd900e",class:"snippet-count-container"},i("calcite-input",{key:"7aa7c61d42be36c237c6bd9b72e4ec24ef6dc07d",id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{key:"9ae2f293b2cb64a475a0969b7e00951a1b55e251",class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",{key:"98cf6dd0f1f53e15c857baeb4f3a580586935762"},this._translations.description,i("label",{key:"2f54c0fd6d75e4b08e74cf5b30d9794d0375a267",id:"item-description-label"},i("calcite-input",{key:"91cf40b10f1bed0cd4bc83a988d9a4151ddec2e6",id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",{key:"4261ff6e21385fb681cb6a52dbaa8e3d75973d8b"},this._translations.tags,i("label",{key:"cde48f34fd18fe530dea6be06c8fb5e602048266",id:"item-tags-label"},i("calcite-input",{key:"e11931c90df113bd512bab39be092257ffd92e42",id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}browseForThumbnail;itemType;itemSnippetCount;inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){this.thumbnail&&this.itemEdit?.thumbnail?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,vt.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],vt.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}};ie.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const ae=class{constructor(e){t(this,e),this.groupId="",this._translations=void 0,this.sharing=[]}get el(){return o(this)}itemIdWatchHandler(){const t=vt.getItemInfo(this.groupId);this.sharing=t.groupDetails}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"7042ab9382712488f9184b305e417dd93379422f"},i("div",{key:"00baf7fac31f03b249592eb8603a74d6f93f2615",class:"container-border"},i("calcite-label",{key:"5328280b6ee86819366800e43eda0c44b55ca277"},this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const e=t.target.id;this.sharing=this.sharing.map((i=>{if(i.id===e){i.shareItem=t.target.checked;const a=vt.getItemInfo(e);if(i.shareItem)a.groups?a.groups.indexOf(this.groupId)<0&&a.groups.push(this.groupId):a.groups=[this.groupId];else if(a.groups){const t=a.groups.indexOf(this.groupId);t>-1&&a.groups.splice(t,1)}vt.setItemInfo(a)}return i}))}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{groupId:["itemIdWatchHandler"]}}};ae.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const oe=class{constructor(i){t(this,i),this.organizationVariableSelected=e(this,"organizationVariableSelected",7),this.value="",this._organizationVariables=[],this._translations=void 0}get el(){return o(this)}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"a4456905e1abde8eca22dfb6f3da81959d509b75"},i("div",{key:"8fc37e2a59237ed0cca05b096f901a82da696151"},i("h4",{key:"7bdd9e95f37297c51778a866542517048622e5ca",class:"org-var-header"},this._translations.orgVariables)),i("div",{key:"10bfcebd83ddc363f04149a03298b0c5247fd265",class:"container-border"},i("calcite-tree",{key:"1d168ebbceaf566fb8f4ddea85acba39c08bbd53",id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}organizationVariableSelected;_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.organizationVariableSelected.emit({itemId:t,value:e})}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{value:["valueWatchHandler"]}}};oe.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const se=class{constructor(e){t(this,e),this.authentication=void 0,this.itemId="",this.resourceFilePaths=[],this.resources=[],this._translations=void 0}get el(){return o(this)}itemIdWatchHandler(){const t=vt.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(s,{key:"c36fddfce9c4c97b281281ec11dfa017d496141e"},i("div",{key:"e1166173669689e9acee92cc7e53747ebcec0c09",class:"resource-item"},i("div",{key:"86c8e1d498d7b84e9587cdcf4a3bb971fc1ecaad",class:"margin-bottom-1"},i("calcite-button",{key:"f382275e75efeb5beadef582ddd343a283f014e2",appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{key:"c487e618472b047f8db71e8989f849c844682080",appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{key:"08733ba234cba9b5ea19455256fa961d23ae933b",class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_removedResources={};_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==wt.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const e=t.updateType===gt.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=gt.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((e=>e===t))?this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=gt.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=gt.Add),e))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,e){t.startsWith("blob")?this.downloadFile(t,e):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,e)}downloadFile(t,e){const i=document.createElement("a");i.href=t,i.download=e,i.target="_blank",i.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,e){const i=await fetch(t),a=await i.blob(),o=URL.createObjectURL(a);this.downloadFile(o,e)}_upload(t){const e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._updateResource.bind(this,t),e.type="file",e.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,e){const i=e.target.files;i&&i[0]&&(t.blob=i[0],t.updateType=gt.Update,this._updateStore())}_add(t){const e=t.target.files;if(e&&e[0]){const t=URL.createObjectURL(e[0]),i=e[0].name;this.resourceFilePaths.some((e=>e.filename===i&&e.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:wt.Data,folder:void 0,filename:i,blob:e[0],updateType:gt.Add}],this._updateStore())}}_updateStore(){const t=vt.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,vt.setItemInfo(t)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};se.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const ne=class{get el(){return o(this)}itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?vt.getItemInfo(this.itemId).data:vt.getItemInfo(this.itemId).properties,null,2)}constructor(e){t(this,e),this.instanceid="",this.itemId="",this.organizationVariables="",this.solutionVariables="",this.varsOpen=!0,this._translations=void 0,this.value="",window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:e,contents:i}=t.detail,[a,o]=e.split("|");if(a==this.itemId&&o===this.instanceid){if(!this._initializing&&i.length>0){const t=vt.getItemInfo(a);"data"===o?t.data=JSON.parse(i):t.properties=JSON.parse(i),vt.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"5a417f81d9b0d98ad28f9139406fee4b37204169"},i("div",{key:"0dd5d77a961473bf45f7654ccb2e0507b492a6c7",class:"solution-data-container"},i("calcite-shell",{key:"3b839b36a89f1a9db10a6ad8b3f7d088248770bc",class:"light var-container",dir:"ltr"},i("calcite-panel",{key:"9f6ce42fdad56cf7a9f6b2f9ccac707eb655f4f1",class:"json-editor"},i("div",{key:"a1ba50c8fd13cf6d4934aa72083c0519c317721d",class:"solution-data-child-container calcite-match-height"},i("json-editor",{key:"8f832aecde35b6b82e16b3d201b738fe202e86a3",class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,value:this.value}))),i("calcite-shell-panel",{key:"c24f19fcc440884123f59842b392063925b5cbf6","height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{key:"8d9c25baada3e2ca03ee192f44121d7bdab85432",class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{key:"247b542336578c5404c7246552424c16030d90a7",appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"963c1802c7828557cec5493602c3a1669e21683c",class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{key:"566f672a97401d77ed7180d5fc7b2367027fcc57",value:this.organizationVariables})),i("div",{key:"79508bfcde2ac8507acd40bbc3edceb944c3e717",class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{key:"51756082f8d13c73d7ae1349fc5625994a3354bb",value:this.solutionVariables})))))))}_initializing=!1;_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};ne.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const le=class{constructor(i){t(this,i),this.solutionVariableSelected=e(this,"solutionVariableSelected",7),this.value="",this._solutionVariables=[],this._translations=void 0}get el(){return o(this)}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"4367694cf20a2063b57679f1a955ef827eea1c05"},i("div",{key:"875e6e1532e7406ddf6cca804e421980aa23b7cd"},i("h4",{key:"b6798506cf71d3c84e2c33a3d12a0729591a73a7",class:"org-var-header"},this._translations.solVariables)),i("div",{key:"413d3c7ebae5afa05a8cb5c87f766db64f43e106",class:"container-border"},i("calcite-tree",{key:"ba5bf27e005ce7536cdfe0c8022c96cd0b4ad920",id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}solutionVariableSelected;_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){const e=t?.target?.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{value:["valueWatchHandler"]}}};le.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{_t as calcite_shell_panel,Tt as calcite_tab,Ft as calcite_tab_nav,qt as calcite_tab_title,Gt as calcite_tabs,Yt as calcite_value_list,te as calcite_value_list_item,ee as json_editor,ie as solution_item_details,ae as solution_item_sharing,oe as solution_organization_variables,se as solution_resource_item,ne as solution_template_data,le as solution_variables}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-8b922152.js";import"./p-f4c4a2b7.js";import"./p-7c585a72.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ec561560.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";import"./p-d7ee860a.js";import"./p-bb3ce613.js";import"./p-f83c0ef6.js";import"./p-16d69510.js";import"./p-2327029a.js";import"./p-2f08fd73.js";import"./p-ca42f3d3.js";import"./p-c5f22510.js";import"./p-33447b6f.js";import"./p-d4e3e979.js";import"./p-cd4d69c1.js";import"./p-cfca5772.js";import"./p-fdf4caad.js";var m={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};e.locale(m,null,!0);export{m as default}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as a,h as t,F as s}from"./p-f4c4a2b7.js";const n=class{constructor(t){e(this,t),this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return t(s,{key:"4b5a421516e7b2cc429067e3de6091cdf7308b54"},t("div",{key:"7909374c7ea80ae0b7afaf593578db7f8c5a68b8"},this.label),t("slot",{key:"8512342bd9840f9ec8a25e2bf51b00bd14b14549"}))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};n.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{n as calcite_option_group}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{h as t,r as i,c as s,H as e,g as a}from"./p-f4c4a2b7.js";import{c as n,d as o,H as r}from"./p-7c585a72.js";import{g as c}from"./p-0ae5f8fe.js";import{c as l,d as h,u as d,I as p}from"./p-ec561560.js";import{c as u,d as b}from"./p-d7ee860a.js";import{s as f,a as m,c as v}from"./p-f83c0ef6.js";import{c as g,d as y}from"./p-16d69510.js";import{u as k,c as w,s as x,d as j}from"./p-d4e3e979.js";import{f as z}from"./p-8448b98b.js";import"./p-73ae4b9b.js";import"./p-bb3ce613.js";import"./p-4250bde1.js";import"./p-2327029a.js";import"./p-a8e556aa.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.11.1
|
11
|
+
*/const C=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?void 0:"icon",icon:i?"star-f":"star",scale:s}),L=class{constructor(t){i(this,t),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t),s=t.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==i?i:0;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i),this.updateFocus(),t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i),this.updateFocus(),t.preventDefault();break;case"Tab":this.hoverValue=null}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e),this.updateFocus()},this.handleInputChange=t=>{if(!0===this.isKeyboardInteraction){const i=Number(t.target.value);this.hoverValue=i,this.value=i}},this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)},this.handleLabelPointerDown=t=>{const i=t.currentTarget,s=this.getValueFromLabelEvent(t);this.hoverValue=s,this.emit=!0,this.value=this.required||this.value!==s?s:0,i.focus()},this.handleLabelClick=t=>{t.preventDefault()},this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i},this.setLabelEl=t=>{this.labelElements.push(t)},this.emit=!1,this.guid=`calcite-ratings-${c()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){k(this,this.effectiveLocale)}connectedCallback(){l(this),g(this),w(this),u(this),n(this)}async componentWillLoad(){await x(this),f(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,fraction:e,hovered:a,id:`${this.guid}-${s}`,partial:!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s,tabIndex:this.getTabIndex(s)}}))}componentDidLoad(){m(this)}disconnectedCallback(){h(this),y(this),j(this),b(this),o(this)}componentDidRender(){d(this)}render(){return t(e,{key:"ee12a95edffb164da0311917e561aeec2caba6ad",onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},t(p,{key:"8bae6d4b7713a20a071c8fea79779a1993c43f2a",disabled:this.disabled},t("span",{key:"3e010b43efdcad46e7d167760e70b10866e4b023",class:"wrapper"},t("fieldset",{key:"6fb40f5688a7a092f6e3687bc616202d9d22b308",class:"fieldset",disabled:this.disabled},t("legend",{key:"9ad0186739326cb80ffa2ea3bb86a2760f7b19c3",class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:i,checked:s,fraction:e,hovered:a,id:n,partial:o,selected:r,value:c,tabIndex:l})=>t("label",{class:{star:!0,selected:r,hovered:a,average:i,partial:o},"data-value":c,htmlFor:n,onClick:this.handleLabelClick,onFocus:this.handleLabelFocus,onKeyDown:this.handleLabelKeyDown,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver,ref:this.setLabelEl,tabIndex:l},t("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:n,name:this.guid,onChange:this.handleInputChange,tabIndex:-1,type:"radio",value:c}),t(C,{full:r||i,scale:this.scale}),o&&t("div",{class:"fraction",style:{width:100*e+"%"}},t(C,{full:!0,partial:!0,scale:this.scale})),t("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${c}`))))),(this.count||this.average)&&this.showChip?t("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&t("span",{class:"number--average"},this.average.toString()),!!this.count&&t("span",{class:"number--count"},"(",this.count?.toString(),")")):null),t(r,{key:"353bd1c99bf548d5e214398a1e006a64a2027d5b",component:this}))))}onLabelClick(){this.setFocus()}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(t){return this.readOnly||this.value!==t&&(this.value||1!==t)?-1:0}getValueFromLabelEvent(t){return Number(t.currentTarget.getAttribute("data-value"))}getNextRatingValue(t){return 5===t?1:t+1}getPreviousRatingValue(t){return 1===t?5:t-1}async setFocus(){await v(this),z(this.el)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-color-border-input)}.star:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-color-status-warning)}.hovered,.selected{color:var(--calcite-color-brand)}.fraction{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-color-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{L as calcite_rating}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,c as t,h as c,H as o,g as e}from"./p-f4c4a2b7.js";import{c as a,d as n}from"./p-ed95c75e.js";import{g as r,a as s,t as d,c as l}from"./p-8448b98b.js";import{C as h}from"./p-a8e556aa.js";import{g as p}from"./p-bb3ce613.js";import{s as m,a as f,c as v}from"./p-f83c0ef6.js";import"./p-2327029a.js";import"./p-73ae4b9b.js";import"./p-0ae5f8fe.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.11.1
|
11
|
+
*/const g="actions-start",x="actions-end",b="header",u="section",k="section-toggle",y=class{constructor(c){i(this,c),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.storeHeaderEl=i=>{this.headerEl=i},this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){a(this)}componentWillLoad(){m(this)}componentDidLoad(){f(this)}disconnectedCallback(){n(this)}renderActionsStart(){const{el:i}=this;return r(i,g)?c("div",{class:"actions-start"},c("slot",{name:g})):null}renderActionsEnd(){const{el:i}=this;return r(i,x)?c("div",{class:"actions-end"},c("slot",{name:x})):null}render(){const{iconFlipRtl:i}=this,t=s(this.el),e=this.iconStart?c("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:p(this.scale)}):null,a=this.iconEnd?c("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:p(this.scale)}):null,{description:n}=this;return c(o,{key:"18527273c81df1f250ff8d3f9a9853cb2b4c5f5f"},c("div",{key:"ecd31555ed7a31f18409fa420be6ba539cb160fa",class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},c("div",{key:"222623088454a1cfff9a742b325fee32cdf13bf1",class:{[b]:!0,[h.rtl]:"rtl"===t}},this.renderActionsStart(),c("div",{key:"26a8f19277a0651504851933856d6a157977bdb5","aria-controls":u,"aria-expanded":d(this.expanded),class:"header-content",id:k,onClick:this.itemHeaderClickHandler,ref:this.storeHeaderEl,role:"button",tabindex:"0"},c("div",{key:"bda17228e50ad405b556f41be6352afb1a06964c",class:"header-container"},e,c("div",{key:"74c4bb8f36d8e767fd467ed5fa377243743d5606",class:"header-text"},c("span",{key:"c9c1c7858768cb544b57cca07cb43c9e0f3d9baf",class:"heading"},this.heading),n?c("span",{class:"description"},n):null),a),c("calcite-icon",{key:"94fdda4de57d6c30e1d32ec8c9455a62368bcd2c",class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:p(this.scale)})),this.renderActionsEnd()),c("section",{key:"62114306b1fe8f1d6559a9ff92282ee55b84eee3","aria-labelledby":k,class:"content",id:u},c("slot",{key:"85f56b00daadd2ceca1234f1616cb9fbda8450d7"}))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[t]=i.composedPath(),c=l(this.el,"calcite-accordion");t===c&&(this.determineActiveItem(c.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[t]=i.composedPath(),c=this.el;if(c.parentElement===t)return;const o=l(c,"calcite-accordion");t===o&&(c.iconPosition=o.iconPosition,c.iconType=o.iconType,c.scale=o.scale,i.stopPropagation())}async setFocus(){await v(this),this.headerEl.focus()}determineActiveItem(i,t){switch(i){case"multiple":this.el===t&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===t&&!this.expanded;break;case"single-persist":this.expanded=this.el===t}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return e(this)}};y.style=".icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-color-text-3);text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-color-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([expanded]){color:var(--calcite-color-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-color-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-color-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;padding-block-start:0px;color:var(--calcite-color-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-color-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-color-text-3);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-color-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-color-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-color-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-color-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-color-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-color-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-color-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_accordion_item}
|