@esri/solutions-components 0.2.1 → 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 +10 -3
- 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-e2fc11ac.js → solution-store-893499a5.js} +3 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +9 -2
- 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 +10 -3
- 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-b3c65467.js → solution-store-0c58c852.js} +3 -1
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-b25f6ebe.js → p-659edb14.js} +3 -1
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-638738f2.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/{p-7e8985f2.entry.js → p-90629c1d.entry.js} +11 -4
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-542189bc.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 -6
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-e2fc11ac.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 -2225
- 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-b3c65467.js.map +0 -1
- package/dist/solutions-components/p-542189bc.entry.js.map +0 -1
- package/dist/solutions-components/p-638738f2.entry.js.map +0 -1
- package/dist/solutions-components/p-7e8985f2.entry.js.map +0 -1
- package/dist/solutions-components/p-b25f6ebe.js.map +0 -1
@@ -1,76 +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 { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
7
|
-
import { C as CSS, S as SLOTS, H as HEADING_LEVEL } from './resources2.js';
|
8
|
-
import { b as getSlotted } from './dom.js';
|
9
|
-
import { H as Heading, c as constrainHeadingLevel } from './Heading.js';
|
10
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
11
|
-
|
12
|
-
const pickListGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){-webkit-margin-after:0px;margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";
|
13
|
-
|
14
|
-
const PickListGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
15
|
-
constructor() {
|
16
|
-
super();
|
17
|
-
this.__registerHost();
|
18
|
-
this.__attachShadow();
|
19
|
-
}
|
20
|
-
// --------------------------------------------------------------------------
|
21
|
-
//
|
22
|
-
// Lifecycle
|
23
|
-
//
|
24
|
-
// --------------------------------------------------------------------------
|
25
|
-
connectedCallback() {
|
26
|
-
connectConditionalSlotComponent(this);
|
27
|
-
}
|
28
|
-
disconnectedCallback() {
|
29
|
-
disconnectConditionalSlotComponent(this);
|
30
|
-
}
|
31
|
-
// --------------------------------------------------------------------------
|
32
|
-
//
|
33
|
-
// Render Methods
|
34
|
-
//
|
35
|
-
// --------------------------------------------------------------------------
|
36
|
-
render() {
|
37
|
-
var _a;
|
38
|
-
const { el, groupTitle, headingLevel } = this;
|
39
|
-
const hasParentItem = getSlotted(el, SLOTS.parentItem) !== null;
|
40
|
-
const sectionClasses = {
|
41
|
-
[CSS.container]: true,
|
42
|
-
[CSS.indented]: hasParentItem
|
43
|
-
};
|
44
|
-
const title = groupTitle;
|
45
|
-
const parentLevel = (_a = el.closest("calcite-pick-list")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
46
|
-
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
47
|
-
const level = headingLevel || relativeLevel || HEADING_LEVEL;
|
48
|
-
return (h(Fragment, null, title ? (h(Heading, { class: CSS.heading, level: level }, title)) : null, h("slot", { name: SLOTS.parentItem }), h("section", { class: sectionClasses }, h("slot", null))));
|
49
|
-
}
|
50
|
-
get el() { return this; }
|
51
|
-
static get style() { return pickListGroupCss; }
|
52
|
-
}, [1, "calcite-pick-list-group", {
|
53
|
-
"groupTitle": [513, "group-title"],
|
54
|
-
"headingLevel": [514, "heading-level"]
|
55
|
-
}]);
|
56
|
-
function defineCustomElement$1() {
|
57
|
-
if (typeof customElements === "undefined") {
|
58
|
-
return;
|
59
|
-
}
|
60
|
-
const components = ["calcite-pick-list-group"];
|
61
|
-
components.forEach(tagName => { switch (tagName) {
|
62
|
-
case "calcite-pick-list-group":
|
63
|
-
if (!customElements.get(tagName)) {
|
64
|
-
customElements.define(tagName, PickListGroup);
|
65
|
-
}
|
66
|
-
break;
|
67
|
-
} });
|
68
|
-
}
|
69
|
-
defineCustomElement$1();
|
70
|
-
|
71
|
-
const CalcitePickListGroup = PickListGroup;
|
72
|
-
const defineCustomElement = defineCustomElement$1;
|
73
|
-
|
74
|
-
export { CalcitePickListGroup, defineCustomElement };
|
75
|
-
|
76
|
-
//# sourceMappingURL=calcite-pick-list-group.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-pick-list-group.js","mappings":";;;;;;;;;;;AAAA,MAAM,gBAAgB,GAAG,mkEAAmkE;;MCc/kE,aAAa;;;;;;;;;;;EAMxB,iBAAiB;IACf,+BAA+B,CAAC,IAAI,CAAC,CAAC;GACvC;EACD,oBAAoB;IAClB,kCAAkC,CAAC,IAAI,CAAC,CAAC;GAC1C;;;;;;EAMD,MAAM;IACJ,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAC9C,MAAM,aAAa,GAAG,UAAU,CAAC,EAAE,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IAChE,MAAM,cAAc,GAAG;MACrB,CAAC,GAAG,CAAC,SAAS,GAAG,IAAI;MACrB,CAAC,GAAG,CAAC,QAAQ,GAAG,aAAa;KAC9B,CAAC;IACF,MAAM,KAAK,GAAG,UAAU,CAAC;IACzB,MAAM,WAAW,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC;IAChH,MAAM,aAAa,GAAG,WAAW,GAAG,qBAAqB,CAAC,WAAW,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC;IAClF,MAAM,KAAK,GAAG,YAAY,IAAI,aAAa,IAAI,aAAa,CAAC;IAC7D,QAAQ,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE;GACvM;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css?tag=calcite-pick-list-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n margin-block-end: 0.25rem;\n box-sizing: border-box;\n display: block;\n background-color: transparent;\n font-size: var(--calcite-font-size--1);\n color: var(--calcite-ui-text-2);\n}\n:host * {\n box-sizing: border-box;\n}\n\n:host(:last-child) {\n margin-block-end: 0px;\n}\n\n/* Shared styles for header elements */\n.header {\n margin: 0px;\n display: flex;\n align-content: space-between;\n align-items: center;\n fill: var(--calcite-ui-text-2);\n color: var(--calcite-ui-text-2);\n}\n\n.heading {\n margin: 0px;\n padding: 0px;\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\n.heading {\n margin-block: 0.5rem;\n margin-inline: 1rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n color: var(--calcite-ui-text-3);\n}\n\n.container--indented {\n margin-inline-start: 1.5rem;\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 { h, Fragment } from \"@stencil/core\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { HEADING_LEVEL } from \"./resources\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { Heading, constrainHeadingLevel } from \"../functional/Heading\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * @slot - A slot for adding `calcite-pick-list-item` elements.\n */\nexport class PickListGroup {\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n var _a;\n const { el, groupTitle, headingLevel } = this;\n const hasParentItem = getSlotted(el, SLOTS.parentItem) !== null;\n const sectionClasses = {\n [CSS.container]: true,\n [CSS.indented]: hasParentItem\n };\n const title = groupTitle;\n const parentLevel = (_a = el.closest(\"calcite-pick-list\")) === null || _a === void 0 ? void 0 : _a.headingLevel;\n const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;\n const level = headingLevel || relativeLevel || HEADING_LEVEL;\n return (h(Fragment, null, title ? (h(Heading, { class: CSS.heading, level: level }, title)) : null, h(\"slot\", { name: SLOTS.parentItem }), h(\"section\", { class: sectionClasses }, h(\"slot\", null))));\n }\n static get is() { return \"calcite-pick-list-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"pick-list-group.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"pick-list-group.css\"]\n };\n }\n static get properties() {\n return {\n \"groupTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the title for all nested `calcite-pick-list-item`s.\"\n },\n \"attribute\": \"group-title\",\n \"reflect\": true\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
|
@@ -1,13 +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 { P as PickListItem, d as defineCustomElement$1 } from './pick-list-item.js';
|
7
|
-
|
8
|
-
const CalcitePickListItem = PickListItem;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalcitePickListItem, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-pick-list-item.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-pick-list-item.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,175 +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 { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
7
|
-
import { I as ICON_TYPES } from './resources.js';
|
8
|
-
import { m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, i as initialize, b as initializeObserver, c as cleanUpObserver, r as removeItem, e as calciteListItemChangeHandler, f as calciteInternalListItemValueChangeHandler, j as calciteListFocusOutHandler, l as setUpItems, n as setFocus, L as List } from './shared-list-render.js';
|
9
|
-
import { c as createObserver } from './observers.js';
|
10
|
-
import { u as updateHostInteraction } from './interactive.js';
|
11
|
-
|
12
|
-
const pickListCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:1}calcite-filter{-webkit-margin-after:0px;margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";
|
13
|
-
|
14
|
-
const PickList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
15
|
-
constructor() {
|
16
|
-
super();
|
17
|
-
this.__registerHost();
|
18
|
-
this.__attachShadow();
|
19
|
-
this.calciteListChange = createEvent(this, "calciteListChange", 6);
|
20
|
-
// --------------------------------------------------------------------------
|
21
|
-
//
|
22
|
-
// Properties
|
23
|
-
//
|
24
|
-
// --------------------------------------------------------------------------
|
25
|
-
/**
|
26
|
-
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
27
|
-
*/
|
28
|
-
this.disabled = false;
|
29
|
-
/**
|
30
|
-
* When `true`, an input appears at the top of the list that can be used by end users to filter items in the list.
|
31
|
-
*/
|
32
|
-
this.filterEnabled = false;
|
33
|
-
/**
|
34
|
-
* When `true`, a busy indicator is displayed.
|
35
|
-
*/
|
36
|
-
this.loading = false;
|
37
|
-
/**
|
38
|
-
* Similar to standard radio buttons and checkboxes.
|
39
|
-
* When `true`, a user can select multiple `calcite-pick-list-item`s at a time.
|
40
|
-
* When `false`, only a single `calcite-pick-list-item` can be selected at a time,
|
41
|
-
* and a new selection will deselect previous selections.
|
42
|
-
*/
|
43
|
-
this.multiple = false;
|
44
|
-
/**
|
45
|
-
* When `true` and single selection is enabled, the selection changes when navigating `calcite-pick-list-item`s via keyboard.
|
46
|
-
*/
|
47
|
-
this.selectionFollowsFocus = false;
|
48
|
-
// --------------------------------------------------------------------------
|
49
|
-
//
|
50
|
-
// Private Properties
|
51
|
-
//
|
52
|
-
// --------------------------------------------------------------------------
|
53
|
-
this.selectedValues = new Map();
|
54
|
-
this.dataForFilter = [];
|
55
|
-
this.lastSelectedItem = null;
|
56
|
-
this.mutationObserver = createObserver("mutation", mutationObserverCallback.bind(this));
|
57
|
-
this.setFilterEl = (el) => {
|
58
|
-
this.filterEl = el;
|
59
|
-
};
|
60
|
-
this.deselectRemovedItems = deselectRemovedItems.bind(this);
|
61
|
-
this.deselectSiblingItems = deselectSiblingItems.bind(this);
|
62
|
-
this.selectSiblings = selectSiblings.bind(this);
|
63
|
-
this.handleFilter = handleFilter.bind(this);
|
64
|
-
this.getItemData = getItemData.bind(this);
|
65
|
-
this.keyDownHandler = keyDownHandler.bind(this);
|
66
|
-
}
|
67
|
-
// --------------------------------------------------------------------------
|
68
|
-
//
|
69
|
-
// Lifecycle
|
70
|
-
//
|
71
|
-
// --------------------------------------------------------------------------
|
72
|
-
connectedCallback() {
|
73
|
-
initialize.call(this);
|
74
|
-
initializeObserver.call(this);
|
75
|
-
}
|
76
|
-
disconnectedCallback() {
|
77
|
-
cleanUpObserver.call(this);
|
78
|
-
}
|
79
|
-
componentDidRender() {
|
80
|
-
updateHostInteraction(this);
|
81
|
-
}
|
82
|
-
calciteListItemRemoveHandler(event) {
|
83
|
-
removeItem.call(this, event);
|
84
|
-
}
|
85
|
-
calciteListItemChangeHandler(event) {
|
86
|
-
calciteListItemChangeHandler.call(this, event);
|
87
|
-
}
|
88
|
-
calciteInternalListItemPropsChangeHandler(event) {
|
89
|
-
event.stopPropagation();
|
90
|
-
this.setUpFilter();
|
91
|
-
}
|
92
|
-
calciteInternalListItemValueChangeHandler(event) {
|
93
|
-
calciteInternalListItemValueChangeHandler.call(this, event);
|
94
|
-
event.stopPropagation();
|
95
|
-
}
|
96
|
-
calciteListFocusOutHandler(event) {
|
97
|
-
calciteListFocusOutHandler.call(this, event);
|
98
|
-
}
|
99
|
-
// --------------------------------------------------------------------------
|
100
|
-
//
|
101
|
-
// Private Methods
|
102
|
-
//
|
103
|
-
// --------------------------------------------------------------------------
|
104
|
-
setUpItems() {
|
105
|
-
setUpItems.call(this, "calcite-pick-list-item");
|
106
|
-
}
|
107
|
-
setUpFilter() {
|
108
|
-
if (this.filterEnabled) {
|
109
|
-
this.dataForFilter = this.getItemData();
|
110
|
-
}
|
111
|
-
}
|
112
|
-
// --------------------------------------------------------------------------
|
113
|
-
//
|
114
|
-
// Public Methods
|
115
|
-
//
|
116
|
-
// --------------------------------------------------------------------------
|
117
|
-
/** Returns the component's selected `calcite-pick-list-item`s. */
|
118
|
-
async getSelectedItems() {
|
119
|
-
return this.selectedValues;
|
120
|
-
}
|
121
|
-
/**
|
122
|
-
* Sets focus on the component.
|
123
|
-
*
|
124
|
-
* @param focusId
|
125
|
-
*/
|
126
|
-
async setFocus(focusId) {
|
127
|
-
return setFocus.call(this, focusId);
|
128
|
-
}
|
129
|
-
// --------------------------------------------------------------------------
|
130
|
-
//
|
131
|
-
// Render Methods
|
132
|
-
//
|
133
|
-
// --------------------------------------------------------------------------
|
134
|
-
getIconType() {
|
135
|
-
return this.multiple ? ICON_TYPES.square : ICON_TYPES.circle;
|
136
|
-
}
|
137
|
-
render() {
|
138
|
-
return h(List, { onKeyDown: this.keyDownHandler, props: this });
|
139
|
-
}
|
140
|
-
get el() { return this; }
|
141
|
-
static get style() { return pickListCss; }
|
142
|
-
}, [1, "calcite-pick-list", {
|
143
|
-
"disabled": [516],
|
144
|
-
"filterEnabled": [516, "filter-enabled"],
|
145
|
-
"filterPlaceholder": [513, "filter-placeholder"],
|
146
|
-
"headingLevel": [514, "heading-level"],
|
147
|
-
"loading": [516],
|
148
|
-
"multiple": [516],
|
149
|
-
"selectionFollowsFocus": [516, "selection-follows-focus"],
|
150
|
-
"selectedValues": [32],
|
151
|
-
"dataForFilter": [32],
|
152
|
-
"getSelectedItems": [64],
|
153
|
-
"setFocus": [64]
|
154
|
-
}, [[0, "calciteListItemRemove", "calciteListItemRemoveHandler"], [0, "calciteListItemChange", "calciteListItemChangeHandler"], [0, "calciteInternalListItemPropsChange", "calciteInternalListItemPropsChangeHandler"], [0, "calciteInternalListItemValueChange", "calciteInternalListItemValueChangeHandler"], [0, "focusout", "calciteListFocusOutHandler"]]]);
|
155
|
-
function defineCustomElement$1() {
|
156
|
-
if (typeof customElements === "undefined") {
|
157
|
-
return;
|
158
|
-
}
|
159
|
-
const components = ["calcite-pick-list"];
|
160
|
-
components.forEach(tagName => { switch (tagName) {
|
161
|
-
case "calcite-pick-list":
|
162
|
-
if (!customElements.get(tagName)) {
|
163
|
-
customElements.define(tagName, PickList);
|
164
|
-
}
|
165
|
-
break;
|
166
|
-
} });
|
167
|
-
}
|
168
|
-
defineCustomElement$1();
|
169
|
-
|
170
|
-
const CalcitePickList = PickList;
|
171
|
-
const defineCustomElement = defineCustomElement$1;
|
172
|
-
|
173
|
-
export { CalcitePickList, defineCustomElement };
|
174
|
-
|
175
|
-
//# sourceMappingURL=calcite-pick-list.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-pick-list.js","mappings":";;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,+3EAA+3E;;MCet4E,QAAQ;EACnB;;;;;;;;;;;;;IASE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;IAItB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;;;;IAI3B,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;;;;;;;IAOrB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;IAItB,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;;;;;;IAMnC,IAAI,CAAC,cAAc,GAAG,IAAI,GAAG,EAAE,CAAC;IAChC,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;IACxB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,gBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACxF,IAAI,CAAC,WAAW,GAAG,CAAC,EAAE;MACpB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;KACpB,CAAC;IACF,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5D,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5D,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1C,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GACjD;;;;;;EAMD,iBAAiB;IACf,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtB,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GAC/B;EACD,oBAAoB;IAClB,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GAC5B;EACD,kBAAkB;IAChB,qBAAqB,CAAC,IAAI,CAAC,CAAC;GAC7B;EACD,4BAA4B,CAAC,KAAK;IAChC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;GAC9B;EACD,4BAA4B,CAAC,KAAK;IAChC,4BAA4B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;GAChD;EACD,yCAAyC,CAAC,KAAK;IAC7C,KAAK,CAAC,eAAe,EAAE,CAAC;IACxB,IAAI,CAAC,WAAW,EAAE,CAAC;GACpB;EACD,yCAAyC,CAAC,KAAK;IAC7C,yCAAyC,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5D,KAAK,CAAC,eAAe,EAAE,CAAC;GACzB;EACD,0BAA0B,CAAC,KAAK;IAC9B,0BAA0B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;GAC9C;;;;;;EAMD,UAAU;IACR,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;GACjD;EACD,WAAW;IACT,IAAI,IAAI,CAAC,aAAa,EAAE;MACtB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;KACzC;GACF;;;;;;;EAOD,MAAM,gBAAgB;IACpB,OAAO,IAAI,CAAC,cAAc,CAAC;GAC5B;;;;;;EAMD,MAAM,QAAQ,CAAC,OAAO;IACpB,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;GACrC;;;;;;EAMD,WAAW;IACT,OAAO,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;GAC9D;EACD,MAAM;IACJ,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;GACjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css?tag=calcite-pick-list&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host {\n position: relative;\n box-sizing: border-box;\n display: flex;\n flex-shrink: 0;\n flex-grow: 1;\n flex-direction: column;\n align-items: stretch;\n background-color: transparent;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n color: var(--calcite-ui-text-2);\n}\n:host * {\n box-sizing: border-box;\n}\n\n:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled] {\n /* prevent opacity stacking */\n opacity: 1;\n}\n\n:host([filter-enabled]) header {\n margin-block-end: 0.25rem;\n display: flex;\n align-items: stretch;\n justify-content: flex-end;\n background-color: var(--calcite-ui-foreground-1);\n --tw-shadow: 0 1px 0 var(--calcite-ui-border-3);\n --tw-shadow-colored: 0 1px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n:host([filter-enabled]) header.sticky-pos {\n position: sticky;\n inset-block-start: 0px;\n z-index: 1;\n}\n\ncalcite-filter {\n margin-block-end: 0px;\n}\n\n:host([loading][disabled]) {\n min-block-size: 2rem;\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 { h } from \"@stencil/core\";\nimport { ICON_TYPES } from \"./resources\";\nimport { calciteListItemChangeHandler, calciteInternalListItemValueChangeHandler, cleanUpObserver, deselectSiblingItems, deselectRemovedItems, getItemData, handleFilter, calciteListFocusOutHandler, initialize, initializeObserver, mutationObserverCallback, selectSiblings, setUpItems, keyDownHandler, setFocus, removeItem } from \"./shared-list-logic\";\nimport List from \"./shared-list-render\";\nimport { createObserver } from \"../../utils/observers\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\n/**\n * @slot - A slot for adding `calcite-pick-list-item` or `calcite-pick-list-group` elements. Items are displayed as a vertical list.\n * @slot menu-actions - A slot for adding a button and menu combination for performing actions, such as sorting.\n */\nexport class PickList {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n this.disabled = false;\n /**\n * When `true`, an input appears at the top of the list that can be used by end users to filter items in the list.\n */\n this.filterEnabled = false;\n /**\n * When `true`, a busy indicator is displayed.\n */\n this.loading = false;\n /**\n * Similar to standard radio buttons and checkboxes.\n * When `true`, a user can select multiple `calcite-pick-list-item`s at a time.\n * When `false`, only a single `calcite-pick-list-item` can be selected at a time,\n * and a new selection will deselect previous selections.\n */\n this.multiple = false;\n /**\n * When `true` and single selection is enabled, the selection changes when navigating `calcite-pick-list-item`s via keyboard.\n */\n this.selectionFollowsFocus = false;\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n this.selectedValues = new Map();\n this.dataForFilter = [];\n this.lastSelectedItem = null;\n this.mutationObserver = createObserver(\"mutation\", mutationObserverCallback.bind(this));\n this.setFilterEl = (el) => {\n this.filterEl = el;\n };\n this.deselectRemovedItems = deselectRemovedItems.bind(this);\n this.deselectSiblingItems = deselectSiblingItems.bind(this);\n this.selectSiblings = selectSiblings.bind(this);\n this.handleFilter = handleFilter.bind(this);\n this.getItemData = getItemData.bind(this);\n this.keyDownHandler = keyDownHandler.bind(this);\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n initialize.call(this);\n initializeObserver.call(this);\n }\n disconnectedCallback() {\n cleanUpObserver.call(this);\n }\n componentDidRender() {\n updateHostInteraction(this);\n }\n calciteListItemRemoveHandler(event) {\n removeItem.call(this, event);\n }\n calciteListItemChangeHandler(event) {\n calciteListItemChangeHandler.call(this, event);\n }\n calciteInternalListItemPropsChangeHandler(event) {\n event.stopPropagation();\n this.setUpFilter();\n }\n calciteInternalListItemValueChangeHandler(event) {\n calciteInternalListItemValueChangeHandler.call(this, event);\n event.stopPropagation();\n }\n calciteListFocusOutHandler(event) {\n calciteListFocusOutHandler.call(this, event);\n }\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n setUpItems() {\n setUpItems.call(this, \"calcite-pick-list-item\");\n }\n setUpFilter() {\n if (this.filterEnabled) {\n this.dataForFilter = this.getItemData();\n }\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n /** Returns the component's selected `calcite-pick-list-item`s. */\n async getSelectedItems() {\n return this.selectedValues;\n }\n /**\n * Sets focus on the component.\n *\n * @param focusId\n */\n async setFocus(focusId) {\n return setFocus.call(this, focusId);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n getIconType() {\n return this.multiple ? ICON_TYPES.square : ICON_TYPES.circle;\n }\n render() {\n return h(List, { onKeyDown: this.keyDownHandler, props: this });\n }\n static get is() { return \"calcite-pick-list\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"pick-list.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"pick-list.css\"]\n };\n }\n static get properties() {\n return {\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, interaction is prevented and the component is displayed with lower opacity.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"filterEnabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, an input appears at the top of the list that can be used by end users to filter items in the list.\"\n },\n \"attribute\": \"filter-enabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"filterPlaceholder\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Placeholder text for the filter input field.\"\n },\n \"attribute\": \"filter-placeholder\",\n \"reflect\": true\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n },\n \"loading\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, a busy indicator is displayed.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"multiple\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Similar to standard radio buttons and checkboxes.\\nWhen `true`, a user can select multiple `calcite-pick-list-item`s at a time.\\nWhen `false`, only a single `calcite-pick-list-item` can be selected at a time,\\nand a new selection will deselect previous selections.\"\n },\n \"attribute\": \"multiple\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"selectionFollowsFocus\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true` and single selection is enabled, the selection changes when navigating `calcite-pick-list-item`s via keyboard.\"\n },\n \"attribute\": \"selection-follows-focus\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"selectedValues\": {},\n \"dataForFilter\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteListChange\",\n \"name\": \"calciteListChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emits when any of the `calcite-pick-list-item` selections have changed.\"\n },\n \"complexType\": {\n \"original\": \"Map<string, HTMLCalcitePickListItemElement>\",\n \"resolved\": \"Map<string, HTMLCalcitePickListItemElement>\",\n \"references\": {\n \"Map\": {\n \"location\": \"global\"\n },\n \"HTMLCalcitePickListItemElement\": {\n \"location\": \"global\"\n }\n }\n }\n }];\n }\n static get methods() {\n return {\n \"getSelectedItems\": {\n \"complexType\": {\n \"signature\": \"() => Promise<Map<string, HTMLCalcitePickListItemElement>>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n },\n \"Map\": {\n \"location\": \"global\"\n },\n \"HTMLCalcitePickListItemElement\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<Map<string, HTMLCalcitePickListItemElement>>\"\n },\n \"docs\": {\n \"text\": \"Returns the component's selected `calcite-pick-list-item`s.\",\n \"tags\": []\n }\n },\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: ListFocusId) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n },\n \"ListFocusId\": {\n \"location\": \"import\",\n \"path\": \"./shared-list-logic\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"calciteListItemRemove\",\n \"method\": \"calciteListItemRemoveHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteListItemChange\",\n \"method\": \"calciteListItemChangeHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalListItemPropsChange\",\n \"method\": \"calciteInternalListItemPropsChangeHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalListItemValueChange\",\n \"method\": \"calciteInternalListItemValueChangeHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"focusout\",\n \"method\": \"calciteListFocusOutHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|
@@ -1,96 +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 { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
7
|
-
import { c as createObserver } from './observers.js';
|
8
|
-
|
9
|
-
const popoverManagerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";
|
10
|
-
|
11
|
-
const PopoverManager = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
12
|
-
constructor() {
|
13
|
-
super();
|
14
|
-
this.__registerHost();
|
15
|
-
this.__attachShadow();
|
16
|
-
this.mutationObserver = createObserver("mutation", () => this.setAutoClose());
|
17
|
-
// --------------------------------------------------------------------------
|
18
|
-
//
|
19
|
-
// Properties
|
20
|
-
//
|
21
|
-
// --------------------------------------------------------------------------
|
22
|
-
/**
|
23
|
-
* CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.
|
24
|
-
*
|
25
|
-
* @default `[data-calcite-popover-reference]`
|
26
|
-
*/
|
27
|
-
this.selector = "[data-calcite-popover-reference]";
|
28
|
-
/**
|
29
|
-
* Automatically closes any currently open popovers when clicking outside of a popover.
|
30
|
-
*/
|
31
|
-
this.autoClose = false;
|
32
|
-
}
|
33
|
-
autoCloseHandler() {
|
34
|
-
this.setAutoClose();
|
35
|
-
}
|
36
|
-
// --------------------------------------------------------------------------
|
37
|
-
//
|
38
|
-
// Lifecycle
|
39
|
-
//
|
40
|
-
// --------------------------------------------------------------------------
|
41
|
-
connectedCallback() {
|
42
|
-
var _a;
|
43
|
-
this.setAutoClose();
|
44
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
45
|
-
}
|
46
|
-
disconnectedCallback() {
|
47
|
-
var _a;
|
48
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
49
|
-
}
|
50
|
-
// --------------------------------------------------------------------------
|
51
|
-
//
|
52
|
-
// Render Methods
|
53
|
-
//
|
54
|
-
// --------------------------------------------------------------------------
|
55
|
-
render() {
|
56
|
-
return h("slot", null);
|
57
|
-
}
|
58
|
-
// --------------------------------------------------------------------------
|
59
|
-
//
|
60
|
-
// Private Methods
|
61
|
-
//
|
62
|
-
// --------------------------------------------------------------------------
|
63
|
-
setAutoClose() {
|
64
|
-
const { autoClose, el } = this;
|
65
|
-
el.querySelectorAll("calcite-popover").forEach((popover) => (popover.autoClose = autoClose));
|
66
|
-
}
|
67
|
-
get el() { return this; }
|
68
|
-
static get watchers() { return {
|
69
|
-
"autoClose": ["autoCloseHandler"]
|
70
|
-
}; }
|
71
|
-
static get style() { return popoverManagerCss; }
|
72
|
-
}, [1, "calcite-popover-manager", {
|
73
|
-
"selector": [513],
|
74
|
-
"autoClose": [516, "auto-close"]
|
75
|
-
}]);
|
76
|
-
function defineCustomElement$1() {
|
77
|
-
if (typeof customElements === "undefined") {
|
78
|
-
return;
|
79
|
-
}
|
80
|
-
const components = ["calcite-popover-manager"];
|
81
|
-
components.forEach(tagName => { switch (tagName) {
|
82
|
-
case "calcite-popover-manager":
|
83
|
-
if (!customElements.get(tagName)) {
|
84
|
-
customElements.define(tagName, PopoverManager);
|
85
|
-
}
|
86
|
-
break;
|
87
|
-
} });
|
88
|
-
}
|
89
|
-
defineCustomElement$1();
|
90
|
-
|
91
|
-
const CalcitePopoverManager = PopoverManager;
|
92
|
-
const defineCustomElement = defineCustomElement$1;
|
93
|
-
|
94
|
-
export { CalcitePopoverManager, defineCustomElement };
|
95
|
-
|
96
|
-
//# sourceMappingURL=calcite-popover-manager.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-popover-manager.js","mappings":";;;;;;;;AAAA,MAAM,iBAAiB,GAAG,ozCAAozC;;MCWj0C,cAAc;EACzB;;;;IACE,IAAI,CAAC,gBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;;;;;;;;;;;IAW9E,IAAI,CAAC,QAAQ,GAAG,kCAAkC,CAAC;;;;IAInD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;GACxB;EACD,gBAAgB;IACd,IAAI,CAAC,YAAY,EAAE,CAAC;GACrB;;;;;;EAMD,iBAAiB;IACf,IAAI,EAAE,CAAC;IACP,IAAI,CAAC,YAAY,EAAE,CAAC;IACpB,CAAC,EAAE,GAAG,IAAI,CAAC,gBAAgB,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;GAC3H;EACD,oBAAoB;IAClB,IAAI,EAAE,CAAC;IACP,CAAC,EAAE,GAAG,IAAI,CAAC,gBAAgB,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,UAAU,EAAE,CAAC;GACnF;;;;;;EAMD,MAAM;IACJ,OAAO,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;GACxB;;;;;;EAMD,YAAY;IACV,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC;IAC/B,EAAE,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,MAAM,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC;GAC9F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/popover-manager/popover-manager.css?tag=calcite-popover-manager&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/popover-manager/popover-manager.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n position: relative;\n display: block;\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 { h } from \"@stencil/core\";\nimport { createObserver } from \"../../utils/observers\";\n/**\n * @slot - A slot for adding elements that reference a 'calcite-popover' by the 'selector' property.\n * @deprecated No longer required for popover usage.\n */\nexport class PopoverManager {\n constructor() {\n this.mutationObserver = createObserver(\"mutation\", () => this.setAutoClose());\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.\n *\n * @default `[data-calcite-popover-reference]`\n */\n this.selector = \"[data-calcite-popover-reference]\";\n /**\n * Automatically closes any currently open popovers when clicking outside of a popover.\n */\n this.autoClose = false;\n }\n autoCloseHandler() {\n this.setAutoClose();\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n this.setAutoClose();\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n }\n disconnectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n return h(\"slot\", null);\n }\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n setAutoClose() {\n const { autoClose, el } = this;\n el.querySelectorAll(\"calcite-popover\").forEach((popover) => (popover.autoClose = autoClose));\n }\n static get is() { return \"calcite-popover-manager\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"popover-manager.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"popover-manager.css\"]\n };\n }\n static get properties() {\n return {\n \"selector\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"`[data-calcite-popover-reference]`\"\n }],\n \"text\": \"CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.\"\n },\n \"attribute\": \"selector\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"[data-calcite-popover-reference]\\\"\"\n },\n \"autoClose\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Automatically closes any currently open popovers when clicking outside of a popover.\"\n },\n \"attribute\": \"auto-close\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"autoClose\",\n \"methodName\": \"autoCloseHandler\"\n }];\n }\n}\n"],"version":3}
|
@@ -1,13 +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 { P as Popover, d as defineCustomElement$1 } from './popover.js';
|
7
|
-
|
8
|
-
const CalcitePopover = Popover;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalcitePopover, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-popover.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-popover.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,13 +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 { P as Progress, d as defineCustomElement$1 } from './progress.js';
|
7
|
-
|
8
|
-
const CalciteProgress = Progress;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalciteProgress, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-progress.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-progress.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,134 +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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
-
import { c as createObserver } from './observers.js';
|
8
|
-
|
9
|
-
const radioButtonGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}";
|
10
|
-
|
11
|
-
const RadioButtonGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
12
|
-
constructor() {
|
13
|
-
super();
|
14
|
-
this.__registerHost();
|
15
|
-
this.__attachShadow();
|
16
|
-
this.calciteRadioButtonGroupChange = createEvent(this, "calciteRadioButtonGroupChange", 6);
|
17
|
-
//--------------------------------------------------------------------------
|
18
|
-
//
|
19
|
-
// Properties
|
20
|
-
//
|
21
|
-
//--------------------------------------------------------------------------
|
22
|
-
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
23
|
-
this.disabled = false;
|
24
|
-
/** When `true`, the component is not displayed and its `calcite-radio-button`s are not focusable or checkable. */
|
25
|
-
this.hidden = false;
|
26
|
-
/** Defines the layout of the component. */
|
27
|
-
this.layout = "horizontal";
|
28
|
-
/** When `true`, the component must have a value in order for the form to submit. */
|
29
|
-
this.required = false;
|
30
|
-
/** Specifies the size of the component. */
|
31
|
-
this.scale = "m";
|
32
|
-
// --------------------------------------------------------------------------
|
33
|
-
//
|
34
|
-
// Private Properties
|
35
|
-
//
|
36
|
-
// --------------------------------------------------------------------------
|
37
|
-
this.mutationObserver = createObserver("mutation", () => this.passPropsToRadioButtons());
|
38
|
-
//--------------------------------------------------------------------------
|
39
|
-
//
|
40
|
-
// Private Methods
|
41
|
-
//
|
42
|
-
//--------------------------------------------------------------------------
|
43
|
-
this.passPropsToRadioButtons = () => {
|
44
|
-
const radioButtons = this.el.querySelectorAll("calcite-radio-button");
|
45
|
-
if (radioButtons.length > 0) {
|
46
|
-
radioButtons.forEach((radioButton) => {
|
47
|
-
radioButton.disabled = this.disabled || radioButton.disabled;
|
48
|
-
radioButton.hidden = this.hidden;
|
49
|
-
radioButton.name = this.name;
|
50
|
-
radioButton.required = this.required;
|
51
|
-
radioButton.scale = this.scale;
|
52
|
-
});
|
53
|
-
}
|
54
|
-
};
|
55
|
-
}
|
56
|
-
onDisabledChange() {
|
57
|
-
this.passPropsToRadioButtons();
|
58
|
-
}
|
59
|
-
onHiddenChange() {
|
60
|
-
this.passPropsToRadioButtons();
|
61
|
-
}
|
62
|
-
onLayoutChange() {
|
63
|
-
this.passPropsToRadioButtons();
|
64
|
-
}
|
65
|
-
onScaleChange() {
|
66
|
-
this.passPropsToRadioButtons();
|
67
|
-
}
|
68
|
-
//--------------------------------------------------------------------------
|
69
|
-
//
|
70
|
-
// Lifecycle
|
71
|
-
//
|
72
|
-
//--------------------------------------------------------------------------
|
73
|
-
connectedCallback() {
|
74
|
-
var _a;
|
75
|
-
this.passPropsToRadioButtons();
|
76
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
77
|
-
}
|
78
|
-
disconnectedCallback() {
|
79
|
-
var _a;
|
80
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
81
|
-
}
|
82
|
-
//--------------------------------------------------------------------------
|
83
|
-
//
|
84
|
-
// Event Listeners
|
85
|
-
//
|
86
|
-
//--------------------------------------------------------------------------
|
87
|
-
radioButtonChangeHandler(event) {
|
88
|
-
this.calciteRadioButtonGroupChange.emit(event.target.value);
|
89
|
-
}
|
90
|
-
// --------------------------------------------------------------------------
|
91
|
-
//
|
92
|
-
// Render Methods
|
93
|
-
//
|
94
|
-
// --------------------------------------------------------------------------
|
95
|
-
render() {
|
96
|
-
return (h(Host, { role: "radiogroup" }, h("slot", null)));
|
97
|
-
}
|
98
|
-
get el() { return this; }
|
99
|
-
static get watchers() { return {
|
100
|
-
"disabled": ["onDisabledChange"],
|
101
|
-
"hidden": ["onHiddenChange"],
|
102
|
-
"layout": ["onLayoutChange"],
|
103
|
-
"scale": ["onScaleChange"]
|
104
|
-
}; }
|
105
|
-
static get style() { return radioButtonGroupCss; }
|
106
|
-
}, [1, "calcite-radio-button-group", {
|
107
|
-
"disabled": [516],
|
108
|
-
"hidden": [516],
|
109
|
-
"layout": [513],
|
110
|
-
"name": [513],
|
111
|
-
"required": [516],
|
112
|
-
"scale": [513]
|
113
|
-
}, [[0, "calciteRadioButtonChange", "radioButtonChangeHandler"]]]);
|
114
|
-
function defineCustomElement$1() {
|
115
|
-
if (typeof customElements === "undefined") {
|
116
|
-
return;
|
117
|
-
}
|
118
|
-
const components = ["calcite-radio-button-group"];
|
119
|
-
components.forEach(tagName => { switch (tagName) {
|
120
|
-
case "calcite-radio-button-group":
|
121
|
-
if (!customElements.get(tagName)) {
|
122
|
-
customElements.define(tagName, RadioButtonGroup);
|
123
|
-
}
|
124
|
-
break;
|
125
|
-
} });
|
126
|
-
}
|
127
|
-
defineCustomElement$1();
|
128
|
-
|
129
|
-
const CalciteRadioButtonGroup = RadioButtonGroup;
|
130
|
-
const defineCustomElement = defineCustomElement$1;
|
131
|
-
|
132
|
-
export { CalciteRadioButtonGroup, defineCustomElement };
|
133
|
-
|
134
|
-
//# sourceMappingURL=calcite-radio-button-group.js.map
|