@esri/solutions-components 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +1095 -4
- package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{solution-store-f0547fe7.js → solution-store-893499a5.js} +8 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +14 -11
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
- package/dist/collection/components/solution-item/solution-item.js +2 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
- package/dist/collection/utils/solution-store.js +2 -0
- package/dist/collection/utils/solution-store.js.map +1 -1
- package/dist/collection/utils/solution-store.ts +2 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
- package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
- package/dist/esm/solution-configuration.entry.js +1095 -4
- package/dist/esm/solution-configuration.entry.js.map +1 -1
- package/dist/esm/solution-contents_3.entry.js +3 -1
- package/dist/esm/solution-contents_3.entry.js.map +1 -1
- package/dist/esm/{solution-store-c1f6173a.js → solution-store-0c58c852.js} +4 -2
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-065830b8.js → p-659edb14.js} +4 -2
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-ee9be0ef.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/p-90629c1d.entry.js +1986 -0
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-0e7a0839.entry.js → p-984cb687.entry.js} +17 -7
- package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/solution-store.ts +2 -0
- package/dist/solutions-components_commit.txt +9 -7
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-f0547fe7.js.map +0 -1
- package/dist/components/ExpandToggle.js +0 -112
- package/dist/components/ExpandToggle.js.map +0 -1
- package/dist/components/Heading.js +0 -24
- package/dist/components/Heading.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -24
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/action-bar.js +0 -278
- package/dist/components/action-bar.js.map +0 -1
- package/dist/components/action-group.js +0 -151
- package/dist/components/action-group.js.map +0 -1
- package/dist/components/action-menu.js +0 -358
- package/dist/components/action-menu.js.map +0 -1
- package/dist/components/action.js +0 -216
- package/dist/components/action.js.map +0 -1
- package/dist/components/array.js +0 -17
- package/dist/components/array.js.map +0 -1
- package/dist/components/buffer-tools.d.ts +0 -11
- package/dist/components/buffer-tools.js +0 -13
- package/dist/components/buffer-tools.js.map +0 -1
- package/dist/components/buffer-tools2.js +0 -256
- package/dist/components/buffer-tools2.js.map +0 -1
- package/dist/components/button.js +0 -265
- package/dist/components/button.js.map +0 -1
- package/dist/components/calcite-accordion-item.js +0 -246
- package/dist/components/calcite-accordion-item.js.map +0 -1
- package/dist/components/calcite-accordion.js +0 -182
- package/dist/components/calcite-accordion.js.map +0 -1
- package/dist/components/calcite-action-bar.js +0 -13
- package/dist/components/calcite-action-bar.js.map +0 -1
- package/dist/components/calcite-action-group.js +0 -13
- package/dist/components/calcite-action-group.js.map +0 -1
- package/dist/components/calcite-action-menu.js +0 -13
- package/dist/components/calcite-action-menu.js.map +0 -1
- package/dist/components/calcite-action-pad.js +0 -199
- package/dist/components/calcite-action-pad.js.map +0 -1
- package/dist/components/calcite-action.js +0 -13
- package/dist/components/calcite-action.js.map +0 -1
- package/dist/components/calcite-alert.js +0 -299
- package/dist/components/calcite-alert.js.map +0 -1
- package/dist/components/calcite-avatar.js +0 -184
- package/dist/components/calcite-avatar.js.map +0 -1
- package/dist/components/calcite-block-section.js +0 -157
- package/dist/components/calcite-block-section.js.map +0 -1
- package/dist/components/calcite-block.js +0 -277
- package/dist/components/calcite-block.js.map +0 -1
- package/dist/components/calcite-button.js +0 -13
- package/dist/components/calcite-button.js.map +0 -1
- package/dist/components/calcite-card.js +0 -189
- package/dist/components/calcite-card.js.map +0 -1
- package/dist/components/calcite-checkbox.js +0 -13
- package/dist/components/calcite-checkbox.js.map +0 -1
- package/dist/components/calcite-chip.js +0 -13
- package/dist/components/calcite-chip.js.map +0 -1
- package/dist/components/calcite-color-picker-hex-input.js +0 -13
- package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
- package/dist/components/calcite-color-picker-swatch.js +0 -13
- package/dist/components/calcite-color-picker-swatch.js.map +0 -1
- package/dist/components/calcite-color-picker.js +0 -1038
- package/dist/components/calcite-color-picker.js.map +0 -1
- package/dist/components/calcite-combobox-item-group.js +0 -77
- package/dist/components/calcite-combobox-item-group.js.map +0 -1
- package/dist/components/calcite-combobox-item.js +0 -13
- package/dist/components/calcite-combobox-item.js.map +0 -1
- package/dist/components/calcite-combobox.js +0 -13
- package/dist/components/calcite-combobox.js.map +0 -1
- package/dist/components/calcite-date-picker-day.js +0 -13
- package/dist/components/calcite-date-picker-day.js.map +0 -1
- package/dist/components/calcite-date-picker-month-header.js +0 -13
- package/dist/components/calcite-date-picker-month-header.js.map +0 -1
- package/dist/components/calcite-date-picker-month.js +0 -13
- package/dist/components/calcite-date-picker-month.js.map +0 -1
- package/dist/components/calcite-date-picker.js +0 -13
- package/dist/components/calcite-date-picker.js.map +0 -1
- package/dist/components/calcite-dropdown-group.js +0 -101
- package/dist/components/calcite-dropdown-group.js.map +0 -1
- package/dist/components/calcite-dropdown-item.js +0 -237
- package/dist/components/calcite-dropdown-item.js.map +0 -1
- package/dist/components/calcite-dropdown.js +0 -13
- package/dist/components/calcite-dropdown.js.map +0 -1
- package/dist/components/calcite-fab.js +0 -146
- package/dist/components/calcite-fab.js.map +0 -1
- package/dist/components/calcite-filter.js +0 -197
- package/dist/components/calcite-filter.js.map +0 -1
- package/dist/components/calcite-flow-item.js +0 -245
- package/dist/components/calcite-flow-item.js.map +0 -1
- package/dist/components/calcite-flow.js +0 -149
- package/dist/components/calcite-flow.js.map +0 -1
- package/dist/components/calcite-graph.js +0 -13
- package/dist/components/calcite-graph.js.map +0 -1
- package/dist/components/calcite-handle.js +0 -13
- package/dist/components/calcite-handle.js.map +0 -1
- package/dist/components/calcite-icon.js +0 -13
- package/dist/components/calcite-icon.js.map +0 -1
- package/dist/components/calcite-inline-editable.js +0 -296
- package/dist/components/calcite-inline-editable.js.map +0 -1
- package/dist/components/calcite-input-date-picker.js +0 -715
- package/dist/components/calcite-input-date-picker.js.map +0 -1
- package/dist/components/calcite-input-message.js +0 -13
- package/dist/components/calcite-input-message.js.map +0 -1
- package/dist/components/calcite-input-number.js +0 -639
- package/dist/components/calcite-input-number.js.map +0 -1
- package/dist/components/calcite-input-text.js +0 -402
- package/dist/components/calcite-input-text.js.map +0 -1
- package/dist/components/calcite-input-time-picker.js +0 -436
- package/dist/components/calcite-input-time-picker.js.map +0 -1
- package/dist/components/calcite-input.js +0 -13
- package/dist/components/calcite-input.js.map +0 -1
- package/dist/components/calcite-label.js +0 -13
- package/dist/components/calcite-label.js.map +0 -1
- package/dist/components/calcite-link.js +0 -13
- package/dist/components/calcite-link.js.map +0 -1
- package/dist/components/calcite-list-item-group.js +0 -67
- package/dist/components/calcite-list-item-group.js.map +0 -1
- package/dist/components/calcite-list-item.js +0 -13
- package/dist/components/calcite-list-item.js.map +0 -1
- package/dist/components/calcite-list.js +0 -13
- package/dist/components/calcite-list.js.map +0 -1
- package/dist/components/calcite-loader.js +0 -13
- package/dist/components/calcite-loader.js.map +0 -1
- package/dist/components/calcite-modal.js +0 -500
- package/dist/components/calcite-modal.js.map +0 -1
- package/dist/components/calcite-notice.js +0 -13
- package/dist/components/calcite-notice.js.map +0 -1
- package/dist/components/calcite-option-group.js +0 -66
- package/dist/components/calcite-option-group.js.map +0 -1
- package/dist/components/calcite-option.js +0 -13
- package/dist/components/calcite-option.js.map +0 -1
- package/dist/components/calcite-pagination.js +0 -260
- package/dist/components/calcite-pagination.js.map +0 -1
- package/dist/components/calcite-panel.js +0 -13
- package/dist/components/calcite-panel.js.map +0 -1
- package/dist/components/calcite-pick-list-group.js +0 -76
- package/dist/components/calcite-pick-list-group.js.map +0 -1
- package/dist/components/calcite-pick-list-item.js +0 -13
- package/dist/components/calcite-pick-list-item.js.map +0 -1
- package/dist/components/calcite-pick-list.js +0 -175
- package/dist/components/calcite-pick-list.js.map +0 -1
- package/dist/components/calcite-popover-manager.js +0 -96
- package/dist/components/calcite-popover-manager.js.map +0 -1
- package/dist/components/calcite-popover.js +0 -13
- package/dist/components/calcite-popover.js.map +0 -1
- package/dist/components/calcite-progress.js +0 -13
- package/dist/components/calcite-progress.js.map +0 -1
- package/dist/components/calcite-radio-button-group.js +0 -134
- package/dist/components/calcite-radio-button-group.js.map +0 -1
- package/dist/components/calcite-radio-button.js +0 -312
- package/dist/components/calcite-radio-button.js.map +0 -1
- package/dist/components/calcite-radio-group-item.js +0 -13
- package/dist/components/calcite-radio-group-item.js.map +0 -1
- package/dist/components/calcite-radio-group.js +0 -13
- package/dist/components/calcite-radio-group.js.map +0 -1
- package/dist/components/calcite-rating.js +0 -203
- package/dist/components/calcite-rating.js.map +0 -1
- package/dist/components/calcite-scrim.js +0 -13
- package/dist/components/calcite-scrim.js.map +0 -1
- package/dist/components/calcite-select.js +0 -13
- package/dist/components/calcite-select.js.map +0 -1
- package/dist/components/calcite-shell-center-row.js +0 -102
- package/dist/components/calcite-shell-center-row.js.map +0 -1
- package/dist/components/calcite-shell-panel.js +0 -13
- package/dist/components/calcite-shell-panel.js.map +0 -1
- package/dist/components/calcite-shell.js +0 -13
- package/dist/components/calcite-shell.js.map +0 -1
- package/dist/components/calcite-slider.js +0 -13
- package/dist/components/calcite-slider.js.map +0 -1
- package/dist/components/calcite-sortable-list.js +0 -204
- package/dist/components/calcite-sortable-list.js.map +0 -1
- package/dist/components/calcite-split-button.js +0 -170
- package/dist/components/calcite-split-button.js.map +0 -1
- package/dist/components/calcite-stepper-item.js +0 -273
- package/dist/components/calcite-stepper-item.js.map +0 -1
- package/dist/components/calcite-stepper.js +0 -258
- package/dist/components/calcite-stepper.js.map +0 -1
- package/dist/components/calcite-switch.js +0 -13
- package/dist/components/calcite-switch.js.map +0 -1
- package/dist/components/calcite-tab-nav.js +0 -13
- package/dist/components/calcite-tab-nav.js.map +0 -1
- package/dist/components/calcite-tab-title.js +0 -13
- package/dist/components/calcite-tab-title.js.map +0 -1
- package/dist/components/calcite-tab.js +0 -13
- package/dist/components/calcite-tab.js.map +0 -1
- package/dist/components/calcite-tabs.js +0 -13
- package/dist/components/calcite-tabs.js.map +0 -1
- package/dist/components/calcite-tile-select-group.js +0 -67
- package/dist/components/calcite-tile-select-group.js.map +0 -1
- package/dist/components/calcite-tile-select.js +0 -268
- package/dist/components/calcite-tile-select.js.map +0 -1
- package/dist/components/calcite-tile.js +0 -13
- package/dist/components/calcite-tile.js.map +0 -1
- package/dist/components/calcite-time-picker.js +0 -13
- package/dist/components/calcite-time-picker.js.map +0 -1
- package/dist/components/calcite-tip-group.js +0 -43
- package/dist/components/calcite-tip-group.js.map +0 -1
- package/dist/components/calcite-tip-manager.js +0 -225
- package/dist/components/calcite-tip-manager.js.map +0 -1
- package/dist/components/calcite-tip.js +0 -164
- package/dist/components/calcite-tip.js.map +0 -1
- package/dist/components/calcite-tooltip-manager.js +0 -59
- package/dist/components/calcite-tooltip-manager.js.map +0 -1
- package/dist/components/calcite-tooltip.js +0 -13
- package/dist/components/calcite-tooltip.js.map +0 -1
- package/dist/components/calcite-tree-item.js +0 -13
- package/dist/components/calcite-tree-item.js.map +0 -1
- package/dist/components/calcite-tree.js +0 -13
- package/dist/components/calcite-tree.js.map +0 -1
- package/dist/components/calcite-value-list-item.js +0 -13
- package/dist/components/calcite-value-list-item.js.map +0 -1
- package/dist/components/calcite-value-list.js +0 -13
- package/dist/components/calcite-value-list.js.map +0 -1
- package/dist/components/check-list.d.ts +0 -11
- package/dist/components/check-list.js +0 -13
- package/dist/components/check-list.js.map +0 -1
- package/dist/components/check-list2.js +0 -128
- package/dist/components/check-list2.js.map +0 -1
- package/dist/components/checkbox.js +0 -167
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/chip.js +0 -172
- package/dist/components/chip.js.map +0 -1
- package/dist/components/color-picker-hex-input.js +0 -365
- package/dist/components/color-picker-hex-input.js.map +0 -1
- package/dist/components/color-picker-swatch.js +0 -2036
- package/dist/components/color-picker-swatch.js.map +0 -1
- package/dist/components/combobox-item.js +0 -184
- package/dist/components/combobox-item.js.map +0 -1
- package/dist/components/combobox.js +0 -914
- package/dist/components/combobox.js.map +0 -1
- package/dist/components/conditionalSlot.js +0 -52
- package/dist/components/conditionalSlot.js.map +0 -1
- package/dist/components/config-buffer-tools.d.ts +0 -11
- package/dist/components/config-buffer-tools.js +0 -185
- package/dist/components/config-buffer-tools.js.map +0 -1
- package/dist/components/config-draw-tools.d.ts +0 -11
- package/dist/components/config-draw-tools.js +0 -124
- package/dist/components/config-draw-tools.js.map +0 -1
- package/dist/components/config-layer-picker.d.ts +0 -11
- package/dist/components/config-layer-picker.js +0 -148
- package/dist/components/config-layer-picker.js.map +0 -1
- package/dist/components/config-pdf-download.d.ts +0 -11
- package/dist/components/config-pdf-download.js +0 -157
- package/dist/components/config-pdf-download.js.map +0 -1
- package/dist/components/date-picker-day.js +0 -113
- package/dist/components/date-picker-day.js.map +0 -1
- package/dist/components/date-picker-month-header.js +0 -226
- package/dist/components/date-picker-month-header.js.map +0 -1
- package/dist/components/date-picker-month.js +0 -346
- package/dist/components/date-picker-month.js.map +0 -1
- package/dist/components/date-picker.js +0 -577
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date.js +0 -182
- package/dist/components/date.js.map +0 -1
- package/dist/components/debounce.js +0 -489
- package/dist/components/debounce.js.map +0 -1
- package/dist/components/dom.js +0 -233
- package/dist/components/dom.js.map +0 -1
- package/dist/components/dropdown.js +0 -507
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter.js +0 -765
- package/dist/components/filter.js.map +0 -1
- package/dist/components/floating-ui.js +0 -1787
- package/dist/components/floating-ui.js.map +0 -1
- package/dist/components/form.js +0 -230
- package/dist/components/form.js.map +0 -1
- package/dist/components/graph.js +0 -256
- package/dist/components/graph.js.map +0 -1
- package/dist/components/guid.js +0 -26
- package/dist/components/guid.js.map +0 -1
- package/dist/components/handle.js +0 -121
- package/dist/components/handle.js.map +0 -1
- package/dist/components/icon.js +0 -204
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index.d.ts +0 -48
- package/dist/components/index.js +0 -190
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -201
- package/dist/components/index2.js.map +0 -1
- package/dist/components/input-message.js +0 -103
- package/dist/components/input-message.js.map +0 -1
- package/dist/components/input.js +0 -742
- package/dist/components/input.js.map +0 -1
- package/dist/components/interactive.js +0 -53
- package/dist/components/interactive.js.map +0 -1
- package/dist/components/interfaces.js +0 -21
- package/dist/components/interfaces.js.map +0 -1
- package/dist/components/interfaces2.js +0 -23
- package/dist/components/interfaces2.js.map +0 -1
- package/dist/components/interfaces3.js +0 -72
- package/dist/components/interfaces3.js.map +0 -1
- package/dist/components/json-editor.d.ts +0 -11
- package/dist/components/json-editor.js +0 -13
- package/dist/components/json-editor.js.map +0 -1
- package/dist/components/json-editor2.js +0 -443
- package/dist/components/json-editor2.js.map +0 -1
- package/dist/components/key.js +0 -18
- package/dist/components/key.js.map +0 -1
- package/dist/components/label.js +0 -108
- package/dist/components/label.js.map +0 -1
- package/dist/components/label2.js +0 -133
- package/dist/components/label2.js.map +0 -1
- package/dist/components/labelFormats.js +0 -212
- package/dist/components/labelFormats.js.map +0 -1
- package/dist/components/link.js +0 -125
- package/dist/components/link.js.map +0 -1
- package/dist/components/list-item.js +0 -151
- package/dist/components/list-item.js.map +0 -1
- package/dist/components/list.js +0 -85
- package/dist/components/list.js.map +0 -1
- package/dist/components/loadModules.js +0 -30
- package/dist/components/loadModules.js.map +0 -1
- package/dist/components/loader.js +0 -118
- package/dist/components/loader.js.map +0 -1
- package/dist/components/locale.js +0 -414
- package/dist/components/locale.js.map +0 -1
- package/dist/components/locale2.js +0 -415
- package/dist/components/locale2.js.map +0 -1
- package/dist/components/map-draw-tools.d.ts +0 -11
- package/dist/components/map-draw-tools.js +0 -13
- package/dist/components/map-draw-tools.js.map +0 -1
- package/dist/components/map-draw-tools2.js +0 -230
- package/dist/components/map-draw-tools2.js.map +0 -1
- package/dist/components/map-layer-picker.d.ts +0 -11
- package/dist/components/map-layer-picker.js +0 -13
- package/dist/components/map-layer-picker.js.map +0 -1
- package/dist/components/map-layer-picker2.js +0 -190
- package/dist/components/map-layer-picker2.js.map +0 -1
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -157
- package/dist/components/map-search.js.map +0 -1
- package/dist/components/map-select-tools.d.ts +0 -11
- package/dist/components/map-select-tools.js +0 -13
- package/dist/components/map-select-tools.js.map +0 -1
- package/dist/components/map-select-tools2.js +0 -555
- package/dist/components/map-select-tools2.js.map +0 -1
- package/dist/components/mapViewUtils.js +0 -131
- package/dist/components/mapViewUtils.js.map +0 -1
- package/dist/components/math.js +0 -26
- package/dist/components/math.js.map +0 -1
- package/dist/components/nonChromiumPlatformUtils.js +0 -505
- package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
- package/dist/components/notice.js +0 -194
- package/dist/components/notice.js.map +0 -1
- package/dist/components/observers.js +0 -58
- package/dist/components/observers.js.map +0 -1
- package/dist/components/openCloseComponent.js +0 -58
- package/dist/components/openCloseComponent.js.map +0 -1
- package/dist/components/option.js +0 -111
- package/dist/components/option.js.map +0 -1
- package/dist/components/panel.js +0 -461
- package/dist/components/panel.js.map +0 -1
- package/dist/components/pdf-download.d.ts +0 -11
- package/dist/components/pdf-download.js +0 -13
- package/dist/components/pdf-download.js.map +0 -1
- package/dist/components/pdf-download2.js +0 -243
- package/dist/components/pdf-download2.js.map +0 -1
- package/dist/components/pick-list-item.js +0 -257
- package/dist/components/pick-list-item.js.map +0 -1
- package/dist/components/popover.js +0 -502
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress.js +0 -62
- package/dist/components/progress.js.map +0 -1
- package/dist/components/public-notification.d.ts +0 -11
- package/dist/components/public-notification.js +0 -784
- package/dist/components/public-notification.js.map +0 -1
- package/dist/components/publicNotificationStore.js +0 -40
- package/dist/components/publicNotificationStore.js.map +0 -1
- package/dist/components/queryUtils.js +0 -163
- package/dist/components/queryUtils.js.map +0 -1
- package/dist/components/radio-group-item.js +0 -103
- package/dist/components/radio-group-item.js.map +0 -1
- package/dist/components/radio-group.js +0 -237
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/refine-selection-tools.d.ts +0 -11
- package/dist/components/refine-selection-tools.js +0 -13
- package/dist/components/refine-selection-tools.js.map +0 -1
- package/dist/components/refine-selection-tools2.js +0 -500
- package/dist/components/refine-selection-tools2.js.map +0 -1
- package/dist/components/refine-selection.d.ts +0 -11
- package/dist/components/refine-selection.js +0 -13
- package/dist/components/refine-selection.js.map +0 -1
- package/dist/components/refine-selection2.js +0 -369
- package/dist/components/refine-selection2.js.map +0 -1
- package/dist/components/resources.js +0 -26
- package/dist/components/resources.js.map +0 -1
- package/dist/components/resources2.js +0 -23
- package/dist/components/resources2.js.map +0 -1
- package/dist/components/resources3.js +0 -40
- package/dist/components/resources3.js.map +0 -1
- package/dist/components/scrim.js +0 -85
- package/dist/components/scrim.js.map +0 -1
- package/dist/components/select.js +0 -261
- package/dist/components/select.js.map +0 -1
- package/dist/components/shared-list-render.js +0 -321
- package/dist/components/shared-list-render.js.map +0 -1
- package/dist/components/shell-panel.js +0 -283
- package/dist/components/shell-panel.js.map +0 -1
- package/dist/components/shell.js +0 -123
- package/dist/components/shell.js.map +0 -1
- package/dist/components/slider.js +0 -898
- package/dist/components/slider.js.map +0 -1
- package/dist/components/solution-configuration.d.ts +0 -11
- package/dist/components/solution-configuration.js +0 -1141
- package/dist/components/solution-configuration.js.map +0 -1
- package/dist/components/solution-contents.d.ts +0 -11
- package/dist/components/solution-contents.js +0 -13
- package/dist/components/solution-contents.js.map +0 -1
- package/dist/components/solution-contents2.js +0 -130
- package/dist/components/solution-contents2.js.map +0 -1
- package/dist/components/solution-item-details.d.ts +0 -11
- package/dist/components/solution-item-details.js +0 -13
- package/dist/components/solution-item-details.js.map +0 -1
- package/dist/components/solution-item-details2.js +0 -236
- package/dist/components/solution-item-details2.js.map +0 -1
- package/dist/components/solution-item-icon.d.ts +0 -11
- package/dist/components/solution-item-icon.js +0 -13
- package/dist/components/solution-item-icon.js.map +0 -1
- package/dist/components/solution-item-icon2.js +0 -344
- package/dist/components/solution-item-icon2.js.map +0 -1
- package/dist/components/solution-item-sharing.d.ts +0 -11
- package/dist/components/solution-item-sharing.js +0 -13
- package/dist/components/solution-item-sharing.js.map +0 -1
- package/dist/components/solution-item-sharing2.js +0 -169
- package/dist/components/solution-item-sharing2.js.map +0 -1
- package/dist/components/solution-item.d.ts +0 -11
- package/dist/components/solution-item.js +0 -13
- package/dist/components/solution-item.js.map +0 -1
- package/dist/components/solution-item2.js +0 -317
- package/dist/components/solution-item2.js.map +0 -1
- package/dist/components/solution-organization-variables.d.ts +0 -11
- package/dist/components/solution-organization-variables.js +0 -13
- package/dist/components/solution-organization-variables.js.map +0 -1
- package/dist/components/solution-organization-variables2.js +0 -134
- package/dist/components/solution-organization-variables2.js.map +0 -1
- package/dist/components/solution-resource-item.d.ts +0 -11
- package/dist/components/solution-resource-item.js +0 -13
- package/dist/components/solution-resource-item.js.map +0 -1
- package/dist/components/solution-resource-item2.js +0 -358
- package/dist/components/solution-resource-item2.js.map +0 -1
- package/dist/components/solution-spatial-ref.d.ts +0 -11
- package/dist/components/solution-spatial-ref.js +0 -13
- package/dist/components/solution-spatial-ref.js.map +0 -1
- package/dist/components/solution-spatial-ref2.js +0 -21448
- package/dist/components/solution-spatial-ref2.js.map +0 -1
- package/dist/components/solution-store.js +0 -4094
- package/dist/components/solution-store.js.map +0 -1
- package/dist/components/solution-template-data.d.ts +0 -11
- package/dist/components/solution-template-data.js +0 -13
- package/dist/components/solution-template-data.js.map +0 -1
- package/dist/components/solution-template-data2.js +0 -235
- package/dist/components/solution-template-data2.js.map +0 -1
- package/dist/components/solution-variables.d.ts +0 -11
- package/dist/components/solution-variables.js +0 -13
- package/dist/components/solution-variables.js.map +0 -1
- package/dist/components/solution-variables2.js +0 -152
- package/dist/components/solution-variables2.js.map +0 -1
- package/dist/components/sortable.esm.js +0 -3028
- package/dist/components/sortable.esm.js.map +0 -1
- package/dist/components/store-manager.d.ts +0 -11
- package/dist/components/store-manager.js +0 -85
- package/dist/components/store-manager.js.map +0 -1
- package/dist/components/switch.js +0 -141
- package/dist/components/switch.js.map +0 -1
- package/dist/components/tab-nav.js +0 -243
- package/dist/components/tab-nav.js.map +0 -1
- package/dist/components/tab-title.js +0 -278
- package/dist/components/tab-title.js.map +0 -1
- package/dist/components/tab.js +0 -156
- package/dist/components/tab.js.map +0 -1
- package/dist/components/tabs.js +0 -190
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/tile.js +0 -131
- package/dist/components/tile.js.map +0 -1
- package/dist/components/time-picker.js +0 -945
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/tooltip.js +0 -401
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/tree-item.js +0 -296
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/tree.js +0 -329
- package/dist/components/tree.js.map +0 -1
- package/dist/components/utils.js +0 -121
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js +0 -53
- package/dist/components/utils2.js.map +0 -1
- package/dist/components/value-list-item.js +0 -206
- package/dist/components/value-list-item.js.map +0 -1
- package/dist/components/value-list.js +0 -335
- package/dist/components/value-list.js.map +0 -1
- package/dist/esm/solution-store-c1f6173a.js.map +0 -1
- package/dist/solutions-components/p-065830b8.js.map +0 -1
- package/dist/solutions-components/p-0e7a0839.entry.js.map +0 -1
- package/dist/solutions-components/p-401541a5.entry.js +0 -895
- package/dist/solutions-components/p-401541a5.entry.js.map +0 -1
- package/dist/solutions-components/p-ee9be0ef.entry.js.map +0 -1
package/dist/components/dom.js
DELETED
@@ -1,233 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { g as guid } from './guid.js';
|
7
|
-
|
8
|
-
/*!
|
9
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
10
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
11
|
-
* v1.0.0-beta.97
|
12
|
-
*/
|
13
|
-
const autoTheme = "calcite-theme-auto";
|
14
|
-
const darkTheme = "calcite-theme-dark";
|
15
|
-
const lightTheme = "calcite-theme-light";
|
16
|
-
const CSS_UTILITY = {
|
17
|
-
autoTheme,
|
18
|
-
darkTheme,
|
19
|
-
lightTheme,
|
20
|
-
rtl: "calcite--rtl"
|
21
|
-
};
|
22
|
-
const TEXT = {
|
23
|
-
loading: "Loading"
|
24
|
-
};
|
25
|
-
|
26
|
-
/*!
|
27
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
28
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
29
|
-
* v1.0.0-beta.97
|
30
|
-
*/
|
31
|
-
/**
|
32
|
-
* This helper will guarantee an ID on the provided element.
|
33
|
-
*
|
34
|
-
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
35
|
-
*
|
36
|
-
* @param el
|
37
|
-
* @returns {string} The element's ID.
|
38
|
-
*/
|
39
|
-
function ensureId(el) {
|
40
|
-
if (!el) {
|
41
|
-
return "";
|
42
|
-
}
|
43
|
-
return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);
|
44
|
-
}
|
45
|
-
function nodeListToArray(nodeList) {
|
46
|
-
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
47
|
-
}
|
48
|
-
function getThemeName(el) {
|
49
|
-
const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);
|
50
|
-
return (closestElWithTheme === null || closestElWithTheme === void 0 ? void 0 : closestElWithTheme.classList.contains("calcite-theme-dark")) ? "dark" : "light";
|
51
|
-
}
|
52
|
-
function getElementDir(el) {
|
53
|
-
const prop = "dir";
|
54
|
-
const selector = `[${prop}]`;
|
55
|
-
const closest = closestElementCrossShadowBoundary(el, selector);
|
56
|
-
return closest ? closest.getAttribute(prop) : "ltr";
|
57
|
-
}
|
58
|
-
function getElementProp(el, prop, fallbackValue) {
|
59
|
-
const selector = `[${prop}]`;
|
60
|
-
const closest = el.closest(selector);
|
61
|
-
return closest ? closest.getAttribute(prop) : fallbackValue;
|
62
|
-
}
|
63
|
-
function getRootNode(el) {
|
64
|
-
return el.getRootNode();
|
65
|
-
}
|
66
|
-
function getHost(root) {
|
67
|
-
return root.host || null;
|
68
|
-
}
|
69
|
-
/**
|
70
|
-
* This helper queries an element's rootNode and any ancestor rootNodes.
|
71
|
-
*
|
72
|
-
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
73
|
-
*
|
74
|
-
* @param element
|
75
|
-
* @param root0
|
76
|
-
* @param root0.selector
|
77
|
-
* @param root0.id
|
78
|
-
* @returns {Element} The element.
|
79
|
-
*/
|
80
|
-
function queryElementRoots(element, { selector, id }) {
|
81
|
-
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
82
|
-
// Based on: https://stackoverflow.com/q/54520554/194216
|
83
|
-
function queryFrom(el) {
|
84
|
-
if (!el) {
|
85
|
-
return null;
|
86
|
-
}
|
87
|
-
if (el.assignedSlot) {
|
88
|
-
el = el.assignedSlot;
|
89
|
-
}
|
90
|
-
const rootNode = getRootNode(el);
|
91
|
-
const found = id
|
92
|
-
? "getElementById" in rootNode
|
93
|
-
? /*
|
94
|
-
Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.
|
95
|
-
https://github.com/Esri/calcite-components/pull/4280
|
96
|
-
*/
|
97
|
-
rootNode.getElementById(id)
|
98
|
-
: null
|
99
|
-
: selector
|
100
|
-
? rootNode.querySelector(selector)
|
101
|
-
: null;
|
102
|
-
const host = getHost(rootNode);
|
103
|
-
return found ? found : host ? queryFrom(host) : null;
|
104
|
-
}
|
105
|
-
return queryFrom(element);
|
106
|
-
}
|
107
|
-
function closestElementCrossShadowBoundary(element, selector) {
|
108
|
-
// based on https://stackoverflow.com/q/54520554/194216
|
109
|
-
function closestFrom(el) {
|
110
|
-
return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;
|
111
|
-
}
|
112
|
-
return closestFrom(element);
|
113
|
-
}
|
114
|
-
/**
|
115
|
-
* This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.
|
116
|
-
*
|
117
|
-
* Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
|
118
|
-
*
|
119
|
-
* @param element
|
120
|
-
* @param onVisit
|
121
|
-
*/
|
122
|
-
function walkUpAncestry(element, onVisit) {
|
123
|
-
return visit(element, onVisit);
|
124
|
-
}
|
125
|
-
function visit(node, onVisit) {
|
126
|
-
if (!node) {
|
127
|
-
return;
|
128
|
-
}
|
129
|
-
const result = onVisit(node);
|
130
|
-
if (result !== undefined) {
|
131
|
-
return result;
|
132
|
-
}
|
133
|
-
const { parentNode } = node;
|
134
|
-
return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);
|
135
|
-
}
|
136
|
-
function containsCrossShadowBoundary(element, maybeDescendant) {
|
137
|
-
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
138
|
-
}
|
139
|
-
function isCalciteFocusable(el) {
|
140
|
-
return typeof (el === null || el === void 0 ? void 0 : el.setFocus) === "function";
|
141
|
-
}
|
142
|
-
async function focusElement(el) {
|
143
|
-
if (!el) {
|
144
|
-
return;
|
145
|
-
}
|
146
|
-
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
147
|
-
}
|
148
|
-
const defaultSlotSelector = ":not([slot])";
|
149
|
-
function getSlotted(element, slotName, options) {
|
150
|
-
if (slotName && !Array.isArray(slotName) && typeof slotName !== "string") {
|
151
|
-
options = slotName;
|
152
|
-
slotName = null;
|
153
|
-
}
|
154
|
-
const slotSelector = slotName
|
155
|
-
? Array.isArray(slotName)
|
156
|
-
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
157
|
-
: `[slot="${slotName}"]`
|
158
|
-
: defaultSlotSelector;
|
159
|
-
if (options === null || options === void 0 ? void 0 : options.all) {
|
160
|
-
return queryMultiple(element, slotSelector, options);
|
161
|
-
}
|
162
|
-
return querySingle(element, slotSelector, options);
|
163
|
-
}
|
164
|
-
function getDirectChildren(el, selector) {
|
165
|
-
return el ? Array.from(el.children || []).filter((child) => child === null || child === void 0 ? void 0 : child.matches(selector)) : [];
|
166
|
-
}
|
167
|
-
function queryMultiple(element, slotSelector, options) {
|
168
|
-
let matches = slotSelector === defaultSlotSelector
|
169
|
-
? getDirectChildren(element, defaultSlotSelector)
|
170
|
-
: Array.from(element.querySelectorAll(slotSelector));
|
171
|
-
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
172
|
-
matches = (options === null || options === void 0 ? void 0 : options.matches) ? matches.filter((el) => el === null || el === void 0 ? void 0 : el.matches(options.matches)) : matches;
|
173
|
-
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
174
|
-
return selector
|
175
|
-
? matches
|
176
|
-
.map((item) => Array.from(item.querySelectorAll(selector)))
|
177
|
-
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])
|
178
|
-
.filter((match) => !!match)
|
179
|
-
: matches;
|
180
|
-
}
|
181
|
-
function querySingle(element, slotSelector, options) {
|
182
|
-
let match = slotSelector === defaultSlotSelector
|
183
|
-
? getDirectChildren(element, defaultSlotSelector)[0] || null
|
184
|
-
: element.querySelector(slotSelector);
|
185
|
-
match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
|
186
|
-
match = (options === null || options === void 0 ? void 0 : options.matches) ? ((match === null || match === void 0 ? void 0 : match.matches(options.matches)) ? match : null) : match;
|
187
|
-
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
188
|
-
return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
|
189
|
-
}
|
190
|
-
function filterDirectChildren(el, selector) {
|
191
|
-
return Array.from(el.children).filter((child) => child.matches(selector));
|
192
|
-
}
|
193
|
-
// set a default icon from a defined set or allow an override with an icon name string
|
194
|
-
function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
195
|
-
if (typeof iconValue === "string" && iconValue !== "") {
|
196
|
-
return iconValue;
|
197
|
-
}
|
198
|
-
else if (iconValue === "") {
|
199
|
-
return iconObject[matchedValue];
|
200
|
-
}
|
201
|
-
}
|
202
|
-
function intersects(rect1, rect2) {
|
203
|
-
return !(rect2.left > rect1.right ||
|
204
|
-
rect2.right < rect1.left ||
|
205
|
-
rect2.top > rect1.bottom ||
|
206
|
-
rect2.bottom < rect1.top);
|
207
|
-
}
|
208
|
-
/**
|
209
|
-
* This helper makes sure that boolean aria attributes are properly converted to a string.
|
210
|
-
*
|
211
|
-
* It should only be used for aria attributes that require a string value of "true" or "false".
|
212
|
-
*
|
213
|
-
* @param value
|
214
|
-
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
215
|
-
*/
|
216
|
-
function toAriaBoolean(value) {
|
217
|
-
return Boolean(value).toString();
|
218
|
-
}
|
219
|
-
/**
|
220
|
-
* This helper returns true if the pointer event fired from the primary button of the device.
|
221
|
-
*
|
222
|
-
* See https://www.w3.org/TR/pointerevents/#the-button-property.
|
223
|
-
*
|
224
|
-
* @param event
|
225
|
-
* @returns {boolean}
|
226
|
-
*/
|
227
|
-
function isPrimaryPointerButton(event) {
|
228
|
-
return !!(event.isPrimary && event.button === 0);
|
229
|
-
}
|
230
|
-
|
231
|
-
export { CSS_UTILITY as C, TEXT as T, autoTheme as a, getSlotted as b, getElementDir as c, darkTheme as d, getThemeName as e, focusElement as f, getElementProp as g, ensureId as h, isPrimaryPointerButton as i, isCalciteFocusable as j, closestElementCrossShadowBoundary as k, intersects as l, filterDirectChildren as m, nodeListToArray as n, getRootNode as o, containsCrossShadowBoundary as p, queryElementRoots as q, setRequestedIcon as s, toAriaBoolean as t };
|
232
|
-
|
233
|
-
//# sourceMappingURL=dom.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"dom.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACY,MAAC,SAAS,GAAG,qBAAqB;AAClC,MAAC,SAAS,GAAG,qBAAqB;AAC9C,MAAM,UAAU,GAAG,qBAAqB,CAAC;AAe7B,MAAC,WAAW,GAAG;AAC3B,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,UAAU;AACZ,EAAE,GAAG,EAAE,cAAc;AACrB,EAAE;AACU,MAAC,IAAI,GAAG;AACpB,EAAE,OAAO,EAAE,SAAS;AACpB;;AC9BA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,QAAQ,CAAC,EAAE,EAAE;AAC7B,EAAE,IAAI,CAAC,EAAE,EAAE;AACX,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE,CAAC,EAAE,GA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"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/resources.js","./node_modules/@esri/calcite-components/dist/collection/utils/dom.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const autoTheme = \"calcite-theme-auto\";\nexport const darkTheme = \"calcite-theme-dark\";\nconst lightTheme = \"calcite-theme-light\";\nexport const THEMES = [\n {\n name: \"light\",\n className: lightTheme\n },\n {\n name: \"dark\",\n className: darkTheme\n },\n {\n name: \"auto\",\n className: autoTheme\n }\n];\nexport const CSS_UTILITY = {\n autoTheme,\n darkTheme,\n lightTheme,\n rtl: \"calcite--rtl\"\n};\nexport const TEXT = {\n loading: \"Loading\"\n};\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { CSS_UTILITY } from \"./resources\";\nimport { guid } from \"./guid\";\n/**\n * This helper will guarantee an ID on the provided element.\n *\n * If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.\n *\n * @param el\n * @returns {string} The element's ID.\n */\nexport function ensureId(el) {\n if (!el) {\n return \"\";\n }\n return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);\n}\nexport function nodeListToArray(nodeList) {\n return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);\n}\nexport function getThemeName(el) {\n const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);\n return (closestElWithTheme === null || closestElWithTheme === void 0 ? void 0 : closestElWithTheme.classList.contains(\"calcite-theme-dark\")) ? \"dark\" : \"light\";\n}\nexport function getElementDir(el) {\n const prop = \"dir\";\n const selector = `[${prop}]`;\n const closest = closestElementCrossShadowBoundary(el, selector);\n return closest ? closest.getAttribute(prop) : \"ltr\";\n}\nexport function getElementProp(el, prop, fallbackValue) {\n const selector = `[${prop}]`;\n const closest = el.closest(selector);\n return closest ? closest.getAttribute(prop) : fallbackValue;\n}\nexport function getRootNode(el) {\n return el.getRootNode();\n}\nexport function getHost(root) {\n return root.host || null;\n}\n/**\n * This helper queries an element's rootNode and any ancestor rootNodes.\n *\n * If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.\n *\n * @param element\n * @param root0\n * @param root0.selector\n * @param root0.id\n * @returns {Element} The element.\n */\nexport function queryElementRoots(element, { selector, id }) {\n // Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.\n // Based on: https://stackoverflow.com/q/54520554/194216\n function queryFrom(el) {\n if (!el) {\n return null;\n }\n if (el.assignedSlot) {\n el = el.assignedSlot;\n }\n const rootNode = getRootNode(el);\n const found = id\n ? \"getElementById\" in rootNode\n ? /*\n Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.\n https://github.com/Esri/calcite-components/pull/4280\n */\n rootNode.getElementById(id)\n : null\n : selector\n ? rootNode.querySelector(selector)\n : null;\n const host = getHost(rootNode);\n return found ? found : host ? queryFrom(host) : null;\n }\n return queryFrom(element);\n}\nexport function closestElementCrossShadowBoundary(element, selector) {\n // based on https://stackoverflow.com/q/54520554/194216\n function closestFrom(el) {\n return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;\n }\n return closestFrom(element);\n}\n/**\n * This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.\n *\n * Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function\n *\n * @param element\n * @param onVisit\n */\nexport function walkUpAncestry(element, onVisit) {\n return visit(element, onVisit);\n}\nfunction visit(node, onVisit) {\n if (!node) {\n return;\n }\n const result = onVisit(node);\n if (result !== undefined) {\n return result;\n }\n const { parentNode } = node;\n return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);\n}\nexport function containsCrossShadowBoundary(element, maybeDescendant) {\n return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));\n}\nexport function isCalciteFocusable(el) {\n return typeof (el === null || el === void 0 ? void 0 : el.setFocus) === \"function\";\n}\nexport async function focusElement(el) {\n if (!el) {\n return;\n }\n return isCalciteFocusable(el) ? el.setFocus() : el.focus();\n}\nconst defaultSlotSelector = \":not([slot])\";\nexport function getSlotted(element, slotName, options) {\n if (slotName && !Array.isArray(slotName) && typeof slotName !== \"string\") {\n options = slotName;\n slotName = null;\n }\n const slotSelector = slotName\n ? Array.isArray(slotName)\n ? slotName.map((name) => `[slot=\"${name}\"]`).join(\",\")\n : `[slot=\"${slotName}\"]`\n : defaultSlotSelector;\n if (options === null || options === void 0 ? void 0 : options.all) {\n return queryMultiple(element, slotSelector, options);\n }\n return querySingle(element, slotSelector, options);\n}\nfunction getDirectChildren(el, selector) {\n return el ? Array.from(el.children || []).filter((child) => child === null || child === void 0 ? void 0 : child.matches(selector)) : [];\n}\nfunction queryMultiple(element, slotSelector, options) {\n let matches = slotSelector === defaultSlotSelector\n ? getDirectChildren(element, defaultSlotSelector)\n : Array.from(element.querySelectorAll(slotSelector));\n matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);\n matches = (options === null || options === void 0 ? void 0 : options.matches) ? matches.filter((el) => el === null || el === void 0 ? void 0 : el.matches(options.matches)) : matches;\n const selector = options === null || options === void 0 ? void 0 : options.selector;\n return selector\n ? matches\n .map((item) => Array.from(item.querySelectorAll(selector)))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])\n .filter((match) => !!match)\n : matches;\n}\nfunction querySingle(element, slotSelector, options) {\n let match = slotSelector === defaultSlotSelector\n ? getDirectChildren(element, defaultSlotSelector)[0] || null\n : element.querySelector(slotSelector);\n match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;\n match = (options === null || options === void 0 ? void 0 : options.matches) ? ((match === null || match === void 0 ? void 0 : match.matches(options.matches)) ? match : null) : match;\n const selector = options === null || options === void 0 ? void 0 : options.selector;\n return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;\n}\nexport function filterDirectChildren(el, selector) {\n return Array.from(el.children).filter((child) => child.matches(selector));\n}\n// set a default icon from a defined set or allow an override with an icon name string\nexport function setRequestedIcon(iconObject, iconValue, matchedValue) {\n if (typeof iconValue === \"string\" && iconValue !== \"\") {\n return iconValue;\n }\n else if (iconValue === \"\") {\n return iconObject[matchedValue];\n }\n}\nexport function intersects(rect1, rect2) {\n return !(rect2.left > rect1.right ||\n rect2.right < rect1.left ||\n rect2.top > rect1.bottom ||\n rect2.bottom < rect1.top);\n}\n/**\n * This helper makes sure that boolean aria attributes are properly converted to a string.\n *\n * It should only be used for aria attributes that require a string value of \"true\" or \"false\".\n *\n * @param value\n * @returns {string} The string conversion of a boolean value (\"true\" | \"false\").\n */\nexport function toAriaBoolean(value) {\n return Boolean(value).toString();\n}\n/**\n * This helper returns true if the pointer event fired from the primary button of the device.\n *\n * See https://www.w3.org/TR/pointerevents/#the-button-property.\n *\n * @param event\n * @returns {boolean}\n */\nexport function isPrimaryPointerButton(event) {\n return !!(event.isPrimary && event.button === 0);\n}\n"],"version":3}
|