@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
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"combobox.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,2nMAA2nM;;ACkB/oM,MAAM,OAAO,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,OAAO,KAAK,iBAAiB,CAAC;AACzD,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC;AAC7C,MAAM,cAAc,GAAG,iBAAiB,CAAC;MAI5B,QAAQ;EACnB;;;;;;;;;;;;;;;;;;;;;;IAWE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;;IAEpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;;IAElB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;IAEtB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;;;;;;;;;IASlB,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC;;;;;;IAMrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;;;;IAOtB,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;;IAE7B,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;;IAEjB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;;;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CAAC,YAAY,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,GAAG,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,OAAO,EAAE,GAAG,cAAc,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,GAAG,cAAc,GAAG,IAAI,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,iBAAiB,EAAE,GAAG,cAAc,GAAG,IAAI,EAAE,EAAE,sBAAsB,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,EAAE,EAAE,GAAG,gBAAgB,GAAG,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAC,EAAE,IAAI,CAAC,yBAAyB,EAAE,EAAE,CAAC,CAAC,mBAAmB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;GACvpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css?tag=calcite-combobox&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.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/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-combobox-input-height: Specifies the height of the component's input.\n*/\n:host {\n position: relative;\n display: block;\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([scale=s]) {\n font-size: var(--calcite-font-size--2);\n --calcite-combobox-item-spacing-unit-l: 0.5rem;\n --calcite-combobox-item-spacing-unit-s: 0.25rem;\n --calcite-combobox-input-height: 1.5rem;\n}\n\n:host([scale=m]) {\n font-size: var(--calcite-font-size--1);\n --calcite-combobox-item-spacing-unit-l: 0.75rem;\n --calcite-combobox-item-spacing-unit-s: 0.5rem;\n --calcite-combobox-input-height: 2rem;\n}\n\n:host([scale=l]) {\n font-size: var(--calcite-font-size-0);\n --calcite-combobox-item-spacing-unit-l: 1rem;\n --calcite-combobox-item-spacing-unit-s: 0.75rem;\n --calcite-combobox-input-height: 2.75rem;\n}\n\n.wrapper {\n display: flex;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-input);\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-1);\n outline-color: transparent;\n padding-block: calc(var(--calcite-combobox-item-spacing-unit-s) / 4);\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host(:focus-within) .wrapper, \n.wrapper--active {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n.wrapper--single {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n cursor: pointer;\n flex-wrap: nowrap;\n}\n\n.grid-input {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n align-items: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0px;\n}\n\n.input {\n flex-grow: 1;\n -webkit-appearance: none;\n appearance: none;\n border-style: none;\n background-color: transparent;\n padding: 0px;\n font-family: inherit;\n color: var(--calcite-ui-text-1);\n font-size: inherit;\n block-size: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n min-inline-size: 120px;\n margin-block-end: var(--calcite-combobox-item-spacing-unit-s);\n}\n.input:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.input--transparent {\n opacity: 0;\n}\n\n.input--single {\n margin-block: 0px;\n padding: 0px;\n}\n\n.wrapper--active .input-single {\n cursor: text;\n}\n\n.input--hidden {\n pointer-events: none;\n inline-size: 0px;\n min-inline-size: 0px;\n opacity: 0;\n}\n\n.input--icon {\n padding-block: 0;\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.input-wrap {\n display: flex;\n flex-grow: 1;\n}\n\n.input-wrap--single {\n flex: 1 1 0%;\n overflow: hidden;\n}\n\n.label {\n pointer-events: none;\n display: flex;\n max-inline-size: 100%;\n flex: 1 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 0px;\n font-weight: var(--calcite-font-weight-normal);\n block-size: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n}\n\n.label--icon {\n padding-inline: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon-end, \n.icon-start {\n display: flex;\n inline-size: 1rem;\n cursor: pointer;\n align-items: center;\n}\n\n.icon-end {\n flex: none;\n}\n\n.floating-ui-container {\n display: block;\n position: absolute;\n z-index: 900;\n visibility: hidden;\n pointer-events: none;\n inline-size: 0;\n block-size: 0;\n overflow: hidden;\n}\n\n.floating-ui-container .calcite-floating-ui-anim {\n position: relative;\n transition: var(--calcite-floating-ui-transition);\n visibility: hidden;\n transition-property: transform, visibility, opacity;\n opacity: 0;\n box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);\n z-index: 1;\n border-radius: 0.25rem;\n}\n.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim {\n transform: translateY(-5px);\n}\n.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim {\n transform: translateY(5px);\n}\n.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim {\n transform: translateX(5px);\n}\n.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim {\n transform: translateX(-5px);\n}\n.floating-ui-container[data-placement] .calcite-floating-ui-anim--active {\n opacity: 1;\n visibility: visible;\n transform: translate(0);\n}\n\n.floating-ui-container--active {\n pointer-events: initial;\n visibility: visible;\n inline-size: unset;\n block-size: unset;\n overflow: unset;\n}\n\n@media (forced-colors: active) {\n .wrapper,\n.floating-ui-container--active {\n border: 1px solid canvasText;\n }\n}\n.screen-readers-only {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.list-container {\n max-block-size: 45vh;\n overflow-y: auto;\n background-color: var(--calcite-ui-foreground-1);\n inline-size: var(--calcite-dropdown-width);\n}\n\n.list {\n margin: 0px;\n display: block;\n padding: 0px;\n}\n\n.list--hide {\n block-size: 0px;\n overflow: hidden;\n}\n\n.chip {\n margin-block: calc(var(--calcite-combobox-item-spacing-unit-s) / 4);\n margin-inline: 0 var(--calcite-combobox-item-spacing-unit-s);\n max-inline-size: 100%;\n}\n\n.chip--active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n.item {\n display: block;\n}\n\n::slotted(input[slot=hidden-form-input]) {\n margin: 0 !important;\n opacity: 0 !important;\n outline: none !important;\n padding: 0 !important;\n position: absolute !important;\n inset: 0 !important;\n transform: none !important;\n -webkit-appearance: none !important;\n z-index: -1 !important;\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, Host } from \"@stencil/core\";\nimport { filter } from \"../../utils/filter\";\nimport { debounce } from \"lodash-es\";\nimport { FloatingCSS, connectFloatingUI, disconnectFloatingUI, defaultMenuPlacement, filterComputedPlacements, reposition, updateAfterClose } from \"../../utils/floating-ui\";\nimport { guid } from \"../../utils/guid\";\nimport { ComboboxChildSelector, ComboboxItem, ComboboxItemGroup, TEXT } from \"./resources\";\nimport { getItemAncestors, getItemChildren, hasActiveChildren } from \"./utils\";\nimport { connectLabel, disconnectLabel, getLabelText } from \"../../utils/label\";\nimport { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from \"../../utils/form\";\nimport { createObserver } from \"../../utils/observers\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\nimport { isPrimaryPointerButton, toAriaBoolean } from \"../../utils/dom\";\nimport { connectOpenCloseComponent, disconnectOpenCloseComponent } from \"../../utils/openCloseComponent\";\nconst isGroup = (el) => el.tagName === ComboboxItemGroup;\nconst itemUidPrefix = \"combobox-item-\";\nconst chipUidPrefix = \"combobox-chip-\";\nconst labelUidPrefix = \"combobox-label-\";\nconst listboxUidPrefix = \"combobox-listbox-\";\nconst inputUidPrefix = \"combobox-input-\";\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\nexport class Combobox {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /**\n * When `true`, displays and positions the component.\n *\n * @deprecated use `open` instead.\n */\n this.active = false;\n /**When `true`, displays and positions the component. */\n this.open = false;\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n this.disabled = false;\n /** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */\n this.maxItems = 0;\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n this.overlayPositioning = \"absolute\";\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n this.required = false;\n /**\n * Specifies the selection mode -\n * `\"multi\"` (allow any number of selected items),\n * `\"single\"` (allow only one selection), or\n * `\"ancestors\"` (like `\"multi\"`, but show ancestors of selected items as selected. Only the deepest children are shown in `calcite-chip`s).\n */\n this.selectionMode = \"multi\";\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /** The component's value(s) from the selected `calcite-combobox-item`(s). */\n this.value = null;\n /**\n * Accessible name for the component's remove tag when a `calcite-combobox-item` is selected.\n *\n * @default \"Remove tag\"\n */\n this.intlRemoveTag = TEXT.removeTag;\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n this.placement = defaultMenuPlacement;\n this.internalValueChangeFlag = false;\n this.items = [];\n this.groupItems = [];\n this.selectedItems = [];\n this.visibleItems = [];\n this.activeItemIndex = -1;\n this.activeChipIndex = -1;\n this.activeDescendant = \"\";\n this.text = \"\";\n this.textInput = null;\n this.mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n this.resizeObserver = createObserver(\"resize\", () => this.setMaxScrollerHeight());\n this.guid = guid();\n this.inputHeight = 0;\n this.ignoreSelectedEventsFlag = false;\n this.openTransitionProp = \"opacity\";\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.setFilteredPlacements = () => {\n const { el, flipPlacements } = this;\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n this.getValue = () => {\n const items = this.selectedItems.map((item) => { var _a; return (_a = item === null || item === void 0 ? void 0 : item.value) === null || _a === void 0 ? void 0 : _a.toString(); });\n return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : \"\";\n };\n this.onLabelClick = () => {\n this.setFocus();\n };\n this.keydownHandler = (event) => {\n const { key } = event;\n switch (key) {\n case \"Tab\":\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n }\n else if (this.open) {\n this.open = false;\n event.preventDefault();\n }\n break;\n case \"ArrowLeft\":\n this.previousChip();\n event.preventDefault();\n break;\n case \"ArrowRight\":\n this.nextChip();\n event.preventDefault();\n break;\n case \"ArrowUp\":\n event.preventDefault();\n this.shiftActiveItemIndex(-1);\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"ArrowDown\":\n event.preventDefault();\n if (!this.open) {\n this.open = true;\n }\n this.shiftActiveItemIndex(1);\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \" \":\n if (!this.textInput.value) {\n event.preventDefault();\n this.open = true;\n this.shiftActiveItemIndex(1);\n }\n break;\n case \"Home\":\n if (!this.open) {\n return;\n }\n event.preventDefault();\n this.updateActiveItemIndex(0);\n this.scrollToActiveItem();\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"End\":\n if (!this.open) {\n return;\n }\n event.preventDefault();\n this.updateActiveItemIndex(this.visibleItems.length - 1);\n this.scrollToActiveItem();\n if (!this.comboboxInViewport()) {\n this.el.scrollIntoView();\n }\n break;\n case \"Escape\":\n this.open = false;\n event.preventDefault();\n break;\n case \"Enter\":\n if (this.activeItemIndex > -1) {\n this.toggleSelection(this.visibleItems[this.activeItemIndex]);\n event.preventDefault();\n }\n else if (this.activeChipIndex > -1) {\n this.removeActiveChip();\n event.preventDefault();\n }\n else if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n }\n else if (!event.defaultPrevented) {\n if (submitForm(this)) {\n event.preventDefault();\n }\n }\n break;\n case \"Delete\":\n case \"Backspace\":\n if (this.activeChipIndex > -1) {\n event.preventDefault();\n this.removeActiveChip();\n }\n else if (!this.text && this.isMulti()) {\n event.preventDefault();\n this.removeLastChip();\n }\n break;\n }\n };\n this.toggleCloseEnd = () => {\n this.open = false;\n this.el.removeEventListener(\"calciteComboboxClose\", this.toggleCloseEnd);\n };\n this.toggleOpenEnd = () => {\n this.open = false;\n this.el.removeEventListener(\"calciteComboboxOpen\", this.toggleOpenEnd);\n };\n this.setMaxScrollerHeight = async () => {\n const { listContainerEl, open, referenceEl } = this;\n if (!listContainerEl || !open) {\n return;\n }\n await this.reposition(true);\n const maxScrollerHeight = this.getMaxScrollerHeight();\n listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;\n await this.reposition(true);\n };\n this.calciteChipDismissHandler = (event, comboboxItem) => {\n this.open = false;\n const selection = this.items.find((item) => item === comboboxItem);\n if (selection) {\n this.toggleSelection(selection, false);\n }\n this.calciteComboboxChipDismiss.emit(event.detail);\n };\n this.clickHandler = (event) => {\n if (event.composedPath().some((node) => node.tagName === \"CALCITE-CHIP\")) {\n return;\n }\n this.open = !this.open;\n this.updateActiveItemIndex(0);\n this.setFocus();\n };\n this.setInactiveIfNotContained = (event) => {\n const composedPath = event.composedPath();\n if (!this.open || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {\n return;\n }\n if (this.allowCustomValues && this.text.trim().length) {\n this.addCustomChip(this.text);\n }\n if (this.selectionMode === \"single\") {\n if (this.textInput) {\n this.textInput.value = \"\";\n }\n this.text = \"\";\n this.filterItems(\"\");\n this.updateActiveItemIndex(-1);\n }\n this.open = false;\n };\n this.setFloatingEl = (el) => {\n this.floatingEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n this.setContainerEl = (el) => {\n this.resizeObserver.observe(el);\n this.listContainerEl = el;\n this.transitionEl = el;\n connectOpenCloseComponent(this);\n };\n this.setReferenceEl = (el) => {\n this.referenceEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n this.inputHandler = (event) => {\n const value = event.target.value;\n this.text = value;\n this.filterItems(value);\n if (value) {\n this.activeChipIndex = -1;\n }\n };\n this.filterItems = (() => {\n const find = (item, filteredData) => item &&\n filteredData.some(({ label, value }) => {\n if (isGroup(item)) {\n return value === item.label;\n }\n return (value === item.textLabel ||\n value === item.value ||\n label === item.textLabel ||\n label === item.value);\n });\n return debounce((text) => {\n const filteredData = filter(this.data, text);\n const items = this.getCombinedItems();\n items.forEach((item) => {\n const hidden = !find(item, filteredData);\n item.hidden = hidden;\n const [parent, grandparent] = item.ancestors;\n if (find(parent, filteredData) || find(grandparent, filteredData)) {\n item.hidden = false;\n }\n if (!hidden) {\n item.ancestors.forEach((ancestor) => (ancestor.hidden = false));\n }\n });\n this.visibleItems = this.getVisibleItems();\n this.calciteComboboxFilterChange.emit({ visibleItems: [...this.visibleItems], text: text });\n }, 100);\n })();\n this.internalCalciteLookupChangeEvent = () => {\n this.calciteLookupChange.emit(this.selectedItems);\n };\n this.emitCalciteLookupChange = debounce(this.internalCalciteLookupChangeEvent, 0);\n this.internalComboboxChangeEvent = () => {\n const { selectedItems } = this;\n this.calciteComboboxChange.emit({ selectedItems });\n };\n this.emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);\n this.updateItems = () => {\n this.items = this.getItems();\n this.groupItems = this.getGroupItems();\n this.data = this.getData();\n this.selectedItems = this.getSelectedItems();\n this.visibleItems = this.getVisibleItems();\n this.needsIcon = this.getNeedsIcon();\n if (!this.allowCustomValues) {\n this.setMaxScrollerHeight();\n }\n };\n this.scrollToActiveItem = () => {\n const activeItem = this.visibleItems[this.activeItemIndex];\n const height = this.calculateSingleItemHeight(activeItem);\n const { offsetHeight, scrollTop } = this.listContainerEl;\n if (offsetHeight + scrollTop < activeItem.offsetTop + height) {\n this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;\n }\n else if (activeItem.offsetTop < scrollTop) {\n this.listContainerEl.scrollTop = activeItem.offsetTop;\n }\n };\n this.comboboxFocusHandler = () => {\n var _a;\n (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();\n };\n this.comboboxBlurHandler = (event) => {\n this.setInactiveIfNotContained(event);\n };\n }\n activeHandler(value) {\n if (this.disabled) {\n this.active = false;\n this.open = false;\n return;\n }\n this.open = value;\n }\n openHandler(value) {\n if (!value) {\n updateAfterClose(this.floatingEl);\n }\n if (this.disabled) {\n this.active = false;\n this.open = false;\n return;\n }\n this.active = value;\n this.setMaxScrollerHeight();\n }\n handleDisabledChange(value) {\n if (!value) {\n this.active = false;\n this.open = false;\n }\n }\n maxItemsHandler() {\n this.setMaxScrollerHeight();\n }\n overlayPositioningHandler() {\n this.reposition(true);\n }\n valueHandler(value) {\n if (!this.internalValueChangeFlag) {\n const items = this.getItems();\n if (Array.isArray(value)) {\n items.forEach((item) => (item.selected = value.includes(item.value)));\n }\n else if (value) {\n items.forEach((item) => (item.selected = value === item.value));\n }\n else {\n items.forEach((item) => (item.selected = false));\n }\n this.updateItems();\n }\n }\n flipPlacementsHandler() {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n documentClickHandler(event) {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n this.setInactiveIfNotContained(event);\n }\n calciteComboboxItemChangeHandler(event) {\n if (this.ignoreSelectedEventsFlag) {\n return;\n }\n const target = event.target;\n const newIndex = this.visibleItems.indexOf(target);\n this.updateActiveItemIndex(newIndex);\n this.toggleSelection(target, target.selected);\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /**\n * Updates the position of the component.\n *\n * @param delayed\n */\n async reposition(delayed = false) {\n const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;\n return reposition(this, {\n floatingEl,\n referenceEl,\n overlayPositioning,\n placement,\n flipPlacements: filteredFlipPlacements,\n type: \"menu\"\n }, delayed);\n }\n /** Sets focus on the component. */\n async setFocus() {\n var _a;\n (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n connectLabel(this);\n connectForm(this);\n connectOpenCloseComponent(this);\n this.setFilteredPlacements();\n this.reposition(true);\n if (this.active) {\n this.activeHandler(this.active);\n }\n if (this.open) {\n this.openHandler(this.open);\n }\n }\n componentWillLoad() {\n this.updateItems();\n }\n componentDidLoad() {\n afterConnectDefaultValueSet(this, this.getValue());\n this.reposition(true);\n }\n componentDidRender() {\n if (this.el.offsetHeight !== this.inputHeight) {\n this.reposition(true);\n this.inputHeight = this.el.offsetHeight;\n }\n updateHostInteraction(this);\n }\n disconnectedCallback() {\n var _a, _b;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();\n disconnectLabel(this);\n disconnectForm(this);\n disconnectFloatingUI(this, this.referenceEl, this.floatingEl);\n disconnectOpenCloseComponent(this);\n }\n selectedItemsHandler() {\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n }\n /** when search text is cleared, reset active to */\n textHandler() {\n this.updateActiveItemIndex(-1);\n }\n comboboxInViewport() {\n const bounding = this.el.getBoundingClientRect();\n return (bounding.top >= 0 &&\n bounding.left >= 0 &&\n bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&\n bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));\n }\n onBeforeOpen() {\n this.calciteComboboxBeforeOpen.emit();\n }\n onOpen() {\n this.calciteComboboxOpen.emit();\n }\n onBeforeClose() {\n this.calciteComboboxBeforeClose.emit();\n }\n onClose() {\n this.calciteComboboxClose.emit();\n }\n getMaxScrollerHeight() {\n const items = this.getCombinedItems().filter((item) => !item.hidden);\n const { maxItems } = this;\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n if (items.length > maxItems) {\n items.forEach((item) => {\n if (itemsToProcess < maxItems && maxItems > 0) {\n const height = this.calculateSingleItemHeight(item);\n if (height > 0) {\n maxScrollerHeight += height;\n itemsToProcess++;\n }\n }\n });\n }\n return maxScrollerHeight;\n }\n calculateSingleItemHeight(item) {\n let height = item.offsetHeight;\n // if item has children items, don't count their height twice\n const children = Array.from(item.querySelectorAll(ComboboxChildSelector));\n children\n .map((child) => child === null || child === void 0 ? void 0 : child.offsetHeight)\n .forEach((offsetHeight) => {\n height -= offsetHeight;\n });\n return height;\n }\n getCombinedItems() {\n return [...this.groupItems, ...this.items];\n }\n toggleSelection(item, value = !item.selected) {\n if (!item) {\n return;\n }\n if (this.isMulti()) {\n item.selected = value;\n this.updateAncestors(item);\n this.selectedItems = this.getSelectedItems();\n this.emitCalciteLookupChange();\n this.emitComboboxChange();\n this.resetText();\n this.filterItems(\"\");\n }\n else {\n this.ignoreSelectedEventsFlag = true;\n this.items.forEach((el) => (el.selected = el === item ? value : false));\n this.ignoreSelectedEventsFlag = false;\n this.selectedItems = this.getSelectedItems();\n this.emitComboboxChange();\n if (this.textInput) {\n this.textInput.value = item.textLabel;\n }\n this.open = false;\n this.updateActiveItemIndex(-1);\n this.resetText();\n this.filterItems(\"\");\n }\n }\n updateAncestors(item) {\n if (this.selectionMode !== \"ancestors\") {\n return;\n }\n const ancestors = getItemAncestors(item);\n const children = getItemChildren(item);\n if (item.selected) {\n ancestors.forEach((el) => {\n el.selected = true;\n });\n }\n else {\n children.forEach((el) => (el.selected = false));\n [...ancestors].forEach((el) => {\n if (!hasActiveChildren(el)) {\n el.selected = false;\n }\n });\n }\n }\n getVisibleItems() {\n return this.items.filter((item) => !item.hidden);\n }\n getSelectedItems() {\n if (!this.isMulti()) {\n const match = this.items.find(({ selected }) => selected);\n return match ? [match] : [];\n }\n return (this.items\n .filter((item) => item.selected && (this.selectionMode !== \"ancestors\" || !hasActiveChildren(item)))\n /** Preserve order of entered tags */\n .sort((a, b) => {\n const aIdx = this.selectedItems.indexOf(a);\n const bIdx = this.selectedItems.indexOf(b);\n if (aIdx > -1 && bIdx > -1) {\n return aIdx - bIdx;\n }\n return bIdx - aIdx;\n }));\n }\n getData() {\n return this.items.map((item) => ({\n constant: item.constant,\n filterDisabled: item.filterDisabled,\n value: item.value,\n label: item.textLabel\n }));\n }\n getNeedsIcon() {\n return this.selectionMode === \"single\" && this.items.some((item) => item.icon);\n }\n resetText() {\n if (this.textInput) {\n this.textInput.value = \"\";\n }\n this.text = \"\";\n }\n getItems() {\n const items = Array.from(this.el.querySelectorAll(ComboboxItem));\n return items.filter((item) => !item.disabled);\n }\n getGroupItems() {\n return Array.from(this.el.querySelectorAll(ComboboxItemGroup));\n }\n addCustomChip(value, focus) {\n const existingItem = this.items.find((el) => el.textLabel === value);\n if (existingItem) {\n this.toggleSelection(existingItem, true);\n }\n else {\n if (!this.isMulti()) {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n }\n const item = document.createElement(ComboboxItem);\n item.value = value;\n item.textLabel = value;\n item.selected = true;\n this.el.appendChild(item);\n this.resetText();\n if (focus) {\n this.setFocus();\n }\n this.updateItems();\n this.filterItems(\"\");\n this.emitCalciteLookupChange();\n this.emitComboboxChange();\n }\n }\n removeActiveChip() {\n this.toggleSelection(this.selectedItems[this.activeChipIndex], false);\n this.setFocus();\n }\n removeLastChip() {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n this.setFocus();\n }\n previousChip() {\n if (this.text) {\n return;\n }\n const length = this.selectedItems.length - 1;\n const active = this.activeChipIndex;\n this.activeChipIndex = active === -1 ? length : Math.max(active - 1, 0);\n this.updateActiveItemIndex(-1);\n this.focusChip();\n }\n nextChip() {\n if (this.text || this.activeChipIndex === -1) {\n return;\n }\n const last = this.selectedItems.length - 1;\n const newIndex = this.activeChipIndex + 1;\n if (newIndex > last) {\n this.activeChipIndex = -1;\n this.setFocus();\n }\n else {\n this.activeChipIndex = newIndex;\n this.focusChip();\n }\n this.updateActiveItemIndex(-1);\n }\n focusChip() {\n var _a;\n const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;\n const chip = guid\n ? this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`)\n : null;\n chip === null || chip === void 0 ? void 0 : chip.setFocus();\n }\n shiftActiveItemIndex(delta) {\n const { length } = this.visibleItems;\n const newIndex = (this.activeItemIndex + length + delta) % length;\n this.updateActiveItemIndex(newIndex);\n this.scrollToActiveItem();\n }\n updateActiveItemIndex(index) {\n var _a;\n this.activeItemIndex = index;\n let activeDescendant = null;\n this.visibleItems.forEach((el, i) => {\n if (i === index) {\n el.active = true;\n activeDescendant = `${itemUidPrefix}${el.guid}`;\n }\n else {\n el.active = false;\n }\n });\n this.activeDescendant = activeDescendant;\n if (this.activeItemIndex > -1) {\n this.activeChipIndex = -1;\n (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }\n isMulti() {\n return this.selectionMode !== \"single\";\n }\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n renderChips() {\n const { activeChipIndex, scale, selectionMode, intlRemoveTag } = this;\n return this.selectedItems.map((item, i) => {\n const chipClasses = {\n chip: true,\n \"chip--active\": activeChipIndex === i\n };\n const ancestors = [...getItemAncestors(item)].reverse();\n const pathLabel = [...ancestors, item].map((el) => el.textLabel);\n const label = selectionMode !== \"ancestors\" ? item.textLabel : pathLabel.join(\" / \");\n return (h(\"calcite-chip\", { class: chipClasses, dismissLabel: intlRemoveTag, dismissible: true, icon: item.icon, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));\n });\n }\n renderInput() {\n const { guid, active, disabled, placeholder, selectionMode, selectedItems, open } = this;\n const single = selectionMode === \"single\";\n const selectedItem = selectedItems[0];\n const showLabel = !(open || active) && single && !!selectedItem;\n return (h(\"span\", { class: {\n \"input-wrap\": true,\n \"input-wrap--single\": single\n } }, showLabel && (h(\"span\", { class: {\n label: true,\n \"label--icon\": !!(selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon)\n }, key: \"label\" }, selectedItem.textLabel)), h(\"input\", { \"aria-activedescendant\": this.activeDescendant, \"aria-autocomplete\": \"list\", \"aria-controls\": `${listboxUidPrefix}${guid}`, \"aria-label\": getLabelText(this), class: {\n input: true,\n \"input--single\": true,\n \"input--transparent\": this.activeChipIndex > -1,\n \"input--hidden\": showLabel,\n \"input--icon\": !!this.placeholderIcon\n }, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: \"input\", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: \"text\" })));\n }\n renderListBoxOptions() {\n return this.visibleItems.map((item) => (h(\"li\", { \"aria-selected\": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: \"option\", tabindex: \"-1\" }, item.textLabel)));\n }\n renderFloatingUIContainer() {\n const { active, setFloatingEl, setContainerEl, open } = this;\n const classes = {\n \"list-container\": true,\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: open || active\n };\n return (h(\"div\", { \"aria-hidden\": \"true\", class: {\n \"floating-ui-container\": true,\n \"floating-ui-container--active\": open || active\n }, ref: setFloatingEl }, h(\"div\", { class: classes, ref: setContainerEl }, h(\"ul\", { class: { list: true, \"list--hide\": !(open || active) } }, h(\"slot\", null)))));\n }\n renderIconStart() {\n const { selectedItems, placeholderIcon, selectionMode } = this;\n const selectedItem = selectedItems[0];\n const selectedIcon = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon;\n const singleSelectionMode = selectionMode === \"single\";\n const iconAtStart = !this.open && selectedItem\n ? !!selectedIcon && singleSelectionMode\n : !!this.placeholderIcon && (!selectedItem || singleSelectionMode);\n return (iconAtStart && (h(\"span\", { class: \"icon-start\" }, h(\"calcite-icon\", { class: \"selected-icon\", icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: \"s\" }))));\n }\n renderIconEnd() {\n const { active, open } = this;\n return (h(\"span\", { class: \"icon-end\" }, h(\"calcite-icon\", { icon: active || open ? \"chevron-up\" : \"chevron-down\", scale: \"s\" })));\n }\n render() {\n const { active, guid, label, open } = this;\n const single = this.selectionMode === \"single\";\n return (h(Host, null, h(\"div\", { \"aria-autocomplete\": \"list\", \"aria-controls\": `${listboxUidPrefix}${guid}`, \"aria-expanded\": toAriaBoolean(open || active), \"aria-haspopup\": \"listbox\", \"aria-labelledby\": `${labelUidPrefix}${guid}`, \"aria-live\": \"polite\", \"aria-owns\": `${listboxUidPrefix}${guid}`, class: {\n wrapper: true,\n \"wrapper--single\": single || !this.selectedItems.length,\n \"wrapper--active\": open || active\n }, onClick: this.clickHandler, onKeyDown: this.keydownHandler, ref: this.setReferenceEl, role: \"combobox\" }, h(\"div\", { class: \"grid-input\" }, this.renderIconStart(), !single && this.renderChips(), h(\"label\", { class: \"screen-readers-only\", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h(\"ul\", { \"aria-labelledby\": `${labelUidPrefix}${guid}`, \"aria-multiselectable\": \"true\", class: \"screen-readers-only\", id: `${listboxUidPrefix}${guid}`, role: \"listbox\", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), h(HiddenFormInputSlot, { component: this })));\n }\n static get is() { return \"calcite-combobox\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"combobox.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"combobox.css\"]\n };\n }\n static get properties() {\n return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `open` instead.\"\n }],\n \"text\": \"When `true`, displays and positions the component.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\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`, displays and positions the component.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\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 \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"placeholder\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the placeholder text for the input.\"\n },\n \"attribute\": \"placeholder\",\n \"reflect\": false\n },\n \"placeholderIcon\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the placeholder icon for the input.\"\n },\n \"attribute\": \"placeholder-icon\",\n \"reflect\": true\n },\n \"maxItems\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar.\"\n },\n \"attribute\": \"max-items\",\n \"reflect\": true,\n \"defaultValue\": \"0\"\n },\n \"name\": {\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 name of the component on form submission.\"\n },\n \"attribute\": \"name\",\n \"reflect\": true\n },\n \"allowCustomValues\": {\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`, allows entry of custom values, which are not in the original set of items.\"\n },\n \"attribute\": \"allow-custom-values\",\n \"reflect\": true\n },\n \"overlayPositioning\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"OverlayPositioning\",\n \"resolved\": \"\\\"absolute\\\" | \\\"fixed\\\"\",\n \"references\": {\n \"OverlayPositioning\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Determines the type of positioning to use for the overlaid content.\\n\\nUsing `\\\"absolute\\\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\\n\\n`\\\"fixed\\\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\\\"fixed\\\"`.\"\n },\n \"attribute\": \"overlay-positioning\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"absolute\\\"\"\n },\n \"required\": {\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 \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"When `true`, the component must have a value in order for the form to submit.\"\n },\n \"attribute\": \"required\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"selectionMode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ComboboxSelectionMode\",\n \"resolved\": \"\\\"ancestors\\\" | \\\"multi\\\" | \\\"single\\\"\",\n \"references\": {\n \"ComboboxSelectionMode\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the selection mode -\\n`\\\"multi\\\"` (allow any number of selected items),\\n`\\\"single\\\"` (allow only one selection), or\\n`\\\"ancestors\\\"` (like `\\\"multi\\\"`, but show ancestors of selected items as selected. Only the deepest children are shown in `calcite-chip`s).\"\n },\n \"attribute\": \"selection-mode\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"multi\\\"\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the component.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string | string[]\",\n \"resolved\": \"string | string[]\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The component's value(s) from the selected `calcite-combobox-item`(s).\"\n },\n \"attribute\": \"value\",\n \"reflect\": false,\n \"defaultValue\": \"null\"\n },\n \"intlRemoveTag\": {\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\": \"\\\"Remove tag\\\"\"\n }],\n \"text\": \"Accessible name for the component's remove tag when a `calcite-combobox-item` is selected.\"\n },\n \"attribute\": \"intl-remove-tag\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.removeTag\"\n },\n \"flipPlacements\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"EffectivePlacement[]\",\n \"resolved\": \"Placement[]\",\n \"references\": {\n \"EffectivePlacement\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Defines the available placements that can be used when a flip occurs.\"\n }\n }\n };\n }\n static get states() {\n return {\n \"items\": {},\n \"groupItems\": {},\n \"selectedItems\": {},\n \"visibleItems\": {},\n \"needsIcon\": {},\n \"activeItemIndex\": {},\n \"activeChipIndex\": {},\n \"activeDescendant\": {},\n \"text\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteLookupChange\",\n \"name\": \"calciteLookupChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calciteComboboxChange` instead.\"\n }],\n \"text\": \"Fires when the selected items set changes.\"\n },\n \"complexType\": {\n \"original\": \"HTMLCalciteComboboxItemElement[]\",\n \"resolved\": \"HTMLCalciteComboboxItemElement[]\",\n \"references\": {\n \"HTMLCalciteComboboxItemElement\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteComboboxChange\",\n \"name\": \"calciteComboboxChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the selected item(s) changes.\"\n },\n \"complexType\": {\n \"original\": \"{\\n selectedItems: HTMLCalciteComboboxItemElement[];\\n }\",\n \"resolved\": \"{ selectedItems: HTMLCalciteComboboxItemElement[]; }\",\n \"references\": {\n \"HTMLCalciteComboboxItemElement\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteComboboxFilterChange\",\n \"name\": \"calciteComboboxFilterChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when text is added to filter the options list.\"\n },\n \"complexType\": {\n \"original\": \"{\\n visibleItems: HTMLCalciteComboboxItemElement[];\\n text: string;\\n }\",\n \"resolved\": \"{ visibleItems: HTMLCalciteComboboxItemElement[]; text: string; }\",\n \"references\": {\n \"HTMLCalciteComboboxItemElement\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteComboboxChipDismiss\",\n \"name\": \"calciteComboboxChipDismiss\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when a selected item in the component is dismissed via its `calcite-chip`.\\n\\n**Note:**: The event payload is deprecated, please use the `value` property on the component to determine the removed value instead.\"\n },\n \"complexType\": {\n \"original\": \"DeprecatedEventPayload\",\n \"resolved\": \"any\",\n \"references\": {\n \"DeprecatedEventPayload\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n }\n }, {\n \"method\": \"calciteComboboxBeforeClose\",\n \"name\": \"calciteComboboxBeforeClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is requested to be closed, and before the closing transition begins.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteComboboxClose\",\n \"name\": \"calciteComboboxClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is closed and animation is complete.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteComboboxBeforeOpen\",\n \"name\": \"calciteComboboxBeforeOpen\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is added to the DOM but not rendered, and before the opening transition begins.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteComboboxOpen\",\n \"name\": \"calciteComboboxOpen\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is open and animation is complete.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"reposition\": {\n \"complexType\": {\n \"signature\": \"(delayed?: boolean) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"delayed\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Updates the position of the component.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"delayed\"\n }]\n }\n },\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"active\",\n \"methodName\": \"activeHandler\"\n }, {\n \"propName\": \"open\",\n \"methodName\": \"openHandler\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"handleDisabledChange\"\n }, {\n \"propName\": \"maxItems\",\n \"methodName\": \"maxItemsHandler\"\n }, {\n \"propName\": \"overlayPositioning\",\n \"methodName\": \"overlayPositioningHandler\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueHandler\"\n }, {\n \"propName\": \"flipPlacements\",\n \"methodName\": \"flipPlacementsHandler\"\n }, {\n \"propName\": \"selectedItems\",\n \"methodName\": \"selectedItemsHandler\"\n }, {\n \"propName\": \"text\",\n \"methodName\": \"textHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"pointerdown\",\n \"method\": \"documentClickHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": true\n }, {\n \"name\": \"calciteComboboxItemChange\",\n \"method\": \"calciteComboboxItemChangeHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|
@@ -1,52 +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 { forceUpdate } from '@stencil/core/internal/client';
|
7
|
-
import { c as createObserver } from './observers.js';
|
8
|
-
|
9
|
-
/*!
|
10
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
11
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
12
|
-
* v1.0.0-beta.97
|
13
|
-
*/
|
14
|
-
const observed = new Set();
|
15
|
-
let mutationObserver;
|
16
|
-
const observerOptions = { childList: true };
|
17
|
-
/**
|
18
|
-
* Helper to set up a conditional slot component on connectedCallback.
|
19
|
-
*
|
20
|
-
* @param component
|
21
|
-
*/
|
22
|
-
function connectConditionalSlotComponent(component) {
|
23
|
-
if (!mutationObserver) {
|
24
|
-
mutationObserver = createObserver("mutation", processMutations);
|
25
|
-
}
|
26
|
-
mutationObserver.observe(component.el, observerOptions);
|
27
|
-
}
|
28
|
-
/**
|
29
|
-
* Helper to tear down a conditional slot component on disconnectedCallback.
|
30
|
-
*
|
31
|
-
* @param component
|
32
|
-
*/
|
33
|
-
function disconnectConditionalSlotComponent(component) {
|
34
|
-
observed.delete(component.el);
|
35
|
-
// we explicitly process queued mutations and disconnect and reconnect
|
36
|
-
// the observer until MutationObserver gets an `unobserve` method
|
37
|
-
// see https://github.com/whatwg/dom/issues/126
|
38
|
-
processMutations(mutationObserver.takeRecords());
|
39
|
-
mutationObserver.disconnect();
|
40
|
-
for (const [element] of observed.entries()) {
|
41
|
-
mutationObserver.observe(element, observerOptions);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
function processMutations(mutations) {
|
45
|
-
mutations.forEach(({ target }) => {
|
46
|
-
forceUpdate(target);
|
47
|
-
});
|
48
|
-
}
|
49
|
-
|
50
|
-
export { connectConditionalSlotComponent as c, disconnectConditionalSlotComponent as d };
|
51
|
-
|
52
|
-
//# sourceMappingURL=conditionalSlot.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"conditionalSlot.js","mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAGA,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAE,CAAC;AAC3B,IAAI,gBAAgB,CAAC;AACrB,MAAM,eAAe,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;AAC5C;AACA;AACA;AACA;AACA;AACO,SAAS,+BAA+B,CAAC,SAAS,EAAE;AAC3D,EAAE,IAAI,CAAC,gBAAgB,EAAE;AACzB,IAAI,gBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC;AACpE,GAAG;AACH,EAAE,gBAAgB,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC;AAC1D,CAAC;AACD;AACA;AACA;AACA;AACA;AACO,SAAS,kCAAkC,CAAC,SAAS,EAAE;AAC9D,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;AAChC;AACA;AACA;AACA,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAC;AACnD,EAAE,gBAAgB,CAAC,UAAU,EAAE,CAAC;AAChC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE;AAC9C,IAAI,gBAAgB,CAAC,OAAO,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;AACvD,GAAG;AACH,CAAC;AACD,SAAS,gBAAgB,CAAC,SAAS,EAAE;AACrC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK;AACpC,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;AACxB,GAAG,CAAC,CAAC;AACL;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/conditionalSlot.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 */\nimport { forceUpdate } from \"@stencil/core\";\nimport { createObserver } from \"./observers\";\nconst observed = new Set();\nlet mutationObserver;\nconst observerOptions = { childList: true };\n/**\n * Helper to set up a conditional slot component on connectedCallback.\n *\n * @param component\n */\nexport function connectConditionalSlotComponent(component) {\n if (!mutationObserver) {\n mutationObserver = createObserver(\"mutation\", processMutations);\n }\n mutationObserver.observe(component.el, observerOptions);\n}\n/**\n * Helper to tear down a conditional slot component on disconnectedCallback.\n *\n * @param component\n */\nexport function disconnectConditionalSlotComponent(component) {\n observed.delete(component.el);\n // we explicitly process queued mutations and disconnect and reconnect\n // the observer until MutationObserver gets an `unobserve` method\n // see https://github.com/whatwg/dom/issues/126\n processMutations(mutationObserver.takeRecords());\n mutationObserver.disconnect();\n for (const [element] of observed.entries()) {\n mutationObserver.observe(element, observerOptions);\n }\n}\nfunction processMutations(mutations) {\n mutations.forEach(({ target }) => {\n forceUpdate(target);\n });\n}\n"],"version":3}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface ConfigBufferTools extends Components.ConfigBufferTools, HTMLElement {}
|
4
|
-
export const ConfigBufferTools: {
|
5
|
-
prototype: ConfigBufferTools;
|
6
|
-
new (): ConfigBufferTools;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,185 +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, Host } from '@stencil/core/internal/client';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale.js';
|
8
|
-
import { d as defineCustomElement$7 } from './icon.js';
|
9
|
-
import { d as defineCustomElement$6 } from './input.js';
|
10
|
-
import { d as defineCustomElement$5 } from './label.js';
|
11
|
-
import { d as defineCustomElement$4 } from './option.js';
|
12
|
-
import { d as defineCustomElement$3 } from './progress.js';
|
13
|
-
import { d as defineCustomElement$2 } from './select.js';
|
14
|
-
|
15
|
-
const configBufferToolsCss = ":host{display:block}.horizontal-display{display:flex}.label-spacing{--calcite-label-margin-bottom:0}.padding-inline-end-1{-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-block-end-1{-webkit-padding-after:1rem;padding-block-end:1rem}.width-half{width:50%}.width-full{width:100%}";
|
16
|
-
|
17
|
-
const ConfigBufferTools$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
18
|
-
constructor() {
|
19
|
-
super();
|
20
|
-
this.__registerHost();
|
21
|
-
this.__attachShadow();
|
22
|
-
this.alignment = "VERTICAL";
|
23
|
-
this.distance = 100;
|
24
|
-
this.unit = undefined;
|
25
|
-
this._translations = undefined;
|
26
|
-
}
|
27
|
-
//--------------------------------------------------------------------------
|
28
|
-
//
|
29
|
-
// Watch handlers
|
30
|
-
//
|
31
|
-
//--------------------------------------------------------------------------
|
32
|
-
//--------------------------------------------------------------------------
|
33
|
-
//
|
34
|
-
// Methods (public)
|
35
|
-
//
|
36
|
-
//--------------------------------------------------------------------------
|
37
|
-
/**
|
38
|
-
* Returns a key/value pair that represents the checkbox value and checked state
|
39
|
-
*
|
40
|
-
* @returns Promise with the state of the checkboxes
|
41
|
-
*/
|
42
|
-
async getConfigInfo() {
|
43
|
-
return Promise.resolve({
|
44
|
-
"distance": this.distance,
|
45
|
-
"unit": this.unit
|
46
|
-
});
|
47
|
-
}
|
48
|
-
//--------------------------------------------------------------------------
|
49
|
-
//
|
50
|
-
// Events (public)
|
51
|
-
//
|
52
|
-
//--------------------------------------------------------------------------
|
53
|
-
//--------------------------------------------------------------------------
|
54
|
-
//
|
55
|
-
// Functions (lifecycle)
|
56
|
-
//
|
57
|
-
//--------------------------------------------------------------------------
|
58
|
-
/**
|
59
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
60
|
-
*
|
61
|
-
* @returns Promise when complete
|
62
|
-
*/
|
63
|
-
async componentWillLoad() {
|
64
|
-
await this._getTranslations();
|
65
|
-
// set the default
|
66
|
-
this.unit = this._translations.units.meters;
|
67
|
-
}
|
68
|
-
/**
|
69
|
-
* Renders the component.
|
70
|
-
*/
|
71
|
-
render() {
|
72
|
-
var _a, _b, _c;
|
73
|
-
const isHorizontal = this.alignment === "HORIZONTAL";
|
74
|
-
const displayClass = isHorizontal ? "horizontal-display" : "";
|
75
|
-
const paddingClass = isHorizontal ? "padding-inline-end-1" : "padding-block-end-1";
|
76
|
-
const widthClass = isHorizontal ? "width-half" : "width-full";
|
77
|
-
return (h(Host, null, h("div", { class: displayClass }, h("div", { class: `${paddingClass} ${widthClass}` }, h("calcite-label", { class: "label-spacing" }, (_a = this._translations) === null || _a === void 0 ? void 0 :
|
78
|
-
_a.defaultBufferDistance, h("calcite-input", { min: 0, "number-button-type": "vertical", onCalciteInputInput: (evt) => { this._distanceChanged(evt); }, type: "number", value: this.distance.toString() }))), h("div", { class: `${widthClass}` }, h("calcite-label", { class: "label-spacing" }, (_b = this._translations) === null || _b === void 0 ? void 0 :
|
79
|
-
_b.defaultUnit, h("calcite-select", { label: (_c = this._translations) === null || _c === void 0 ? void 0 : _c.defaultUnit, onCalciteSelectChange: (evt) => { this._unitSelectionChange(evt); } }, this._renderUnitOptions()))))));
|
80
|
-
}
|
81
|
-
//--------------------------------------------------------------------------
|
82
|
-
//
|
83
|
-
// Functions (protected)
|
84
|
-
//
|
85
|
-
//--------------------------------------------------------------------------
|
86
|
-
/**
|
87
|
-
* Store the user defined distance
|
88
|
-
*
|
89
|
-
* @protected
|
90
|
-
*/
|
91
|
-
_distanceChanged(evt) {
|
92
|
-
this.distance = evt.detail.value;
|
93
|
-
}
|
94
|
-
/**
|
95
|
-
* Store the user defined unit
|
96
|
-
*
|
97
|
-
* @protected
|
98
|
-
*/
|
99
|
-
_unitSelectionChange(evt) {
|
100
|
-
this.unit = evt.target.value;
|
101
|
-
}
|
102
|
-
/**
|
103
|
-
* Render the various unit options
|
104
|
-
*
|
105
|
-
* @returns Promise when complete
|
106
|
-
* @protected
|
107
|
-
*/
|
108
|
-
_renderUnitOptions() {
|
109
|
-
var _a;
|
110
|
-
const nlsUnits = ((_a = this._translations) === null || _a === void 0 ? void 0 : _a.units) || {};
|
111
|
-
const units = Object.keys(nlsUnits).map(k => nlsUnits[k]);
|
112
|
-
return units.map(unit => {
|
113
|
-
return (h("calcite-option", { label: unit, selected: unit === this.unit, value: unit }));
|
114
|
-
});
|
115
|
-
}
|
116
|
-
/**
|
117
|
-
* Fetches the component's translations
|
118
|
-
*
|
119
|
-
* @returns Promise when complete
|
120
|
-
* @protected
|
121
|
-
*/
|
122
|
-
async _getTranslations() {
|
123
|
-
const messages = await getLocaleComponentStrings(this.el);
|
124
|
-
this._translations = messages[0];
|
125
|
-
}
|
126
|
-
get el() { return this; }
|
127
|
-
static get style() { return configBufferToolsCss; }
|
128
|
-
}, [1, "config-buffer-tools", {
|
129
|
-
"alignment": [1537],
|
130
|
-
"distance": [1538],
|
131
|
-
"unit": [1544],
|
132
|
-
"_translations": [32],
|
133
|
-
"getConfigInfo": [64]
|
134
|
-
}]);
|
135
|
-
function defineCustomElement$1() {
|
136
|
-
if (typeof customElements === "undefined") {
|
137
|
-
return;
|
138
|
-
}
|
139
|
-
const components = ["config-buffer-tools", "calcite-icon", "calcite-input", "calcite-label", "calcite-option", "calcite-progress", "calcite-select"];
|
140
|
-
components.forEach(tagName => { switch (tagName) {
|
141
|
-
case "config-buffer-tools":
|
142
|
-
if (!customElements.get(tagName)) {
|
143
|
-
customElements.define(tagName, ConfigBufferTools$1);
|
144
|
-
}
|
145
|
-
break;
|
146
|
-
case "calcite-icon":
|
147
|
-
if (!customElements.get(tagName)) {
|
148
|
-
defineCustomElement$7();
|
149
|
-
}
|
150
|
-
break;
|
151
|
-
case "calcite-input":
|
152
|
-
if (!customElements.get(tagName)) {
|
153
|
-
defineCustomElement$6();
|
154
|
-
}
|
155
|
-
break;
|
156
|
-
case "calcite-label":
|
157
|
-
if (!customElements.get(tagName)) {
|
158
|
-
defineCustomElement$5();
|
159
|
-
}
|
160
|
-
break;
|
161
|
-
case "calcite-option":
|
162
|
-
if (!customElements.get(tagName)) {
|
163
|
-
defineCustomElement$4();
|
164
|
-
}
|
165
|
-
break;
|
166
|
-
case "calcite-progress":
|
167
|
-
if (!customElements.get(tagName)) {
|
168
|
-
defineCustomElement$3();
|
169
|
-
}
|
170
|
-
break;
|
171
|
-
case "calcite-select":
|
172
|
-
if (!customElements.get(tagName)) {
|
173
|
-
defineCustomElement$2();
|
174
|
-
}
|
175
|
-
break;
|
176
|
-
} });
|
177
|
-
}
|
178
|
-
defineCustomElement$1();
|
179
|
-
|
180
|
-
const ConfigBufferTools = ConfigBufferTools$1;
|
181
|
-
const defineCustomElement = defineCustomElement$1;
|
182
|
-
|
183
|
-
export { ConfigBufferTools, defineCustomElement };
|
184
|
-
|
185
|
-
//# sourceMappingURL=config-buffer-tools.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"config-buffer-tools.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,iSAAiS;;MCyBjTA,mBAAiB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AE,WAAW,EACtC,qBAAqB,EAAE,CAAC,GAAG,OAAM,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,EAAC,IAEhE,IAAI,CAAC,kBAAkB,EAAE,CACX,CACH,CACZ,CACF,CACD,EACP;GACH;;;;;;;;;;;EAaS,gBAAgB,CACxB,GAAgB;IAEhB,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC;GAClC;;;;;;EAOS,oBAAoB,CAC5B,GAAgB;IAEhB,IAAI,CAAC,IAAI,GAAI,GAAG,CAAC,MAAmC,CAAC,KAAK,CAAC;GAC5D;;;;;;;EAQS,kBAAkB;;IAC1B,MAAM,QAAQ,GAAG,CAAA,MAAA,IAAI,CAAC,aAAa,0CAAE,KAAK,KAAI,EAAE,CAAC;IACjD,MAAM,KAAK,GAAa,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IACpE,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI;MACnB,QAAQ,sBAAgB,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,KAAK,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,GAAG,EAAE;KACpF,CAAC,CAAC;GACJ;;;;;;;EAQS,MAAM,gBAAgB;IAC9B,MAAM,QAAQ,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC1D,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC,CAAC,CAAiC,CAAC;GAClE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ConfigBufferTools"],"sources":["./src/components/config-buffer-tools/config-buffer-tools.css?tag=config-buffer-tools&encapsulation=shadow","./src/components/config-buffer-tools/config-buffer-tools.tsx"],"sourcesContent":[":host {\r\n display: block;\r\n}\r\n\r\n.horizontal-display {\r\n display: flex;\r\n}\r\n\r\n.label-spacing {\r\n --calcite-label-margin-bottom: 0;\r\n}\r\n\r\n.padding-inline-end-1 {\r\n padding-inline-end: 1rem;\r\n}\r\n\r\n.padding-block-end-1 {\r\n padding-block-end: 1rem;\r\n}\r\n\r\n.width-half {\r\n width: 50%;\r\n}\r\n\r\n.width-full {\r\n width: 100%;\r\n}\r\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { Component, Element, Host, h, Method, Prop, State, VNode } from '@stencil/core';\r\nimport ConfigBufferTools_T9n from \"../../assets/t9n/config-buffer-tools/resources.json\";\r\nimport { getLocaleComponentStrings } from \"../../utils/locale\";\r\n\r\n@Component({\r\n tag: 'config-buffer-tools',\r\n styleUrl: 'config-buffer-tools.css',\r\n shadow: true,\r\n})\r\nexport class ConfigBufferTools {\r\n //--------------------------------------------------------------------------\r\n //\r\n // Host element access\r\n //\r\n //--------------------------------------------------------------------------\r\n @Element() el: HTMLConfigBufferToolsElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * \"VERTICAL\" | \"HORIZONTAL\": Specifies how the controls chould be aligned.\r\n */\r\n @Prop({mutable: true, reflect: true}) alignment: \"VERTICAL\" | \"HORIZONTAL\" = \"VERTICAL\";\r\n\r\n /**\r\n * number: Default distance value.\r\n */\r\n @Prop({mutable: true, reflect: true}) distance = 100;\r\n\r\n /**\r\n * string: Default unit value.\r\n * Should be a unit listed in assets/t9n/config-buffer-tools/resources\r\n */\r\n @Prop({mutable: true, reflect: true}) unit;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Contains the translations for this component.\r\n * All UI strings should be defined here.\r\n */\r\n @State() _translations: typeof ConfigBufferTools_T9n;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Watch handlers\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Methods (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Returns a key/value pair that represents the checkbox value and checked state\r\n *\r\n * @returns Promise with the state of the checkboxes\r\n */\r\n @Method()\r\n async getConfigInfo(): Promise<{ [key: string]: number | string }> {\r\n return Promise.resolve({\r\n \"distance\": this.distance,\r\n \"unit\": this.unit\r\n });\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Events (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Functions (lifecycle)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * StencilJS: Called once just after the component is first connected to the DOM.\r\n *\r\n * @returns Promise when complete\r\n */\r\n async componentWillLoad(): Promise<void> {\r\n await this._getTranslations();\r\n // set the default\r\n this.unit = this._translations.units.meters;\r\n }\r\n\r\n /**\r\n * Renders the component.\r\n */\r\n render() {\r\n const isHorizontal = this.alignment === \"HORIZONTAL\";\r\n const displayClass = isHorizontal ? \"horizontal-display\" : \"\";\r\n const paddingClass = isHorizontal ? \"padding-inline-end-1\" : \"padding-block-end-1\";\r\n const widthClass = isHorizontal ? \"width-half\" : \"width-full\";\r\n return (\r\n <Host>\r\n <div class={displayClass}>\r\n <div class={`${paddingClass} ${widthClass}`}>\r\n <calcite-label class=\"label-spacing\">\r\n {this._translations?.defaultBufferDistance}\r\n <calcite-input\r\n min={0}\r\n number-button-type=\"vertical\"\r\n onCalciteInputInput={(evt) => {this._distanceChanged(evt);}}\r\n type=\"number\"\r\n value={this.distance.toString()}\r\n />\r\n </calcite-label>\r\n </div>\r\n <div class={`${widthClass}`}>\r\n <calcite-label class=\"label-spacing\">\r\n {this._translations?.defaultUnit}\r\n <calcite-select\r\n label={this._translations?.defaultUnit}\r\n onCalciteSelectChange={(evt) => {this._unitSelectionChange(evt);}}\r\n >\r\n {this._renderUnitOptions()}\r\n </calcite-select>\r\n </calcite-label>\r\n </div>\r\n </div>\r\n </Host>\r\n );\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Functions (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Store the user defined distance\r\n *\r\n * @protected\r\n */\r\n protected _distanceChanged(\r\n evt: CustomEvent\r\n ): void {\r\n this.distance = evt.detail.value;\r\n }\r\n\r\n /**\r\n * Store the user defined unit\r\n *\r\n * @protected\r\n */\r\n protected _unitSelectionChange(\r\n evt: CustomEvent\r\n ): void {\r\n this.unit = (evt.target as HTMLCalciteSelectElement).value;\r\n }\r\n\r\n /**\r\n * Render the various unit options\r\n *\r\n * @returns Promise when complete\r\n * @protected\r\n */\r\n protected _renderUnitOptions(): VNode[] {\r\n const nlsUnits = this._translations?.units || {};\r\n const units: string[] = Object.keys(nlsUnits).map(k => nlsUnits[k]);\r\n return units.map(unit => {\r\n return (<calcite-option label={unit} selected={unit === this.unit} value={unit}/>);\r\n });\r\n }\r\n\r\n /**\r\n * Fetches the component's translations\r\n *\r\n * @returns Promise when complete\r\n * @protected\r\n */\r\n protected async _getTranslations(): Promise<void> {\r\n const messages = await getLocaleComponentStrings(this.el);\r\n this._translations = messages[0] as typeof ConfigBufferTools_T9n;\r\n }\r\n}\r\n"],"version":3}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface ConfigDrawTools extends Components.ConfigDrawTools, HTMLElement {}
|
4
|
-
export const ConfigDrawTools: {
|
5
|
-
prototype: ConfigDrawTools;
|
6
|
-
new (): ConfigDrawTools;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,124 +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, Host } from '@stencil/core/internal/client';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale.js';
|
8
|
-
import { d as defineCustomElement$4 } from './checkbox.js';
|
9
|
-
import { d as defineCustomElement$3 } from './label.js';
|
10
|
-
import { d as defineCustomElement$2 } from './check-list2.js';
|
11
|
-
|
12
|
-
const configDrawToolsCss = ":host{display:block}.label-spacing{--calcite-label-margin-bottom:0}.padding-block-end-1{-webkit-padding-after:1rem;padding-block-end:1rem}.padding-inline-start-1{-webkit-padding-start:1rem;padding-inline-start:1rem}";
|
13
|
-
|
14
|
-
const ConfigDrawTools$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
15
|
-
constructor() {
|
16
|
-
super();
|
17
|
-
this.__registerHost();
|
18
|
-
this.__attachShadow();
|
19
|
-
this.defaultChecked = true;
|
20
|
-
this._translations = undefined;
|
21
|
-
}
|
22
|
-
//--------------------------------------------------------------------------
|
23
|
-
//
|
24
|
-
// Watch handlers
|
25
|
-
//
|
26
|
-
//--------------------------------------------------------------------------
|
27
|
-
//--------------------------------------------------------------------------
|
28
|
-
//
|
29
|
-
// Methods (public)
|
30
|
-
//
|
31
|
-
//--------------------------------------------------------------------------
|
32
|
-
/**
|
33
|
-
* Returns a key/value pair that represents the checkbox value and checked state
|
34
|
-
*
|
35
|
-
* @returns Promise with the state of the checkboxes
|
36
|
-
*/
|
37
|
-
async getConfigInfo() {
|
38
|
-
return this._checkList.getConfigInfo();
|
39
|
-
}
|
40
|
-
//--------------------------------------------------------------------------
|
41
|
-
//
|
42
|
-
// Events (public)
|
43
|
-
//
|
44
|
-
//--------------------------------------------------------------------------
|
45
|
-
//--------------------------------------------------------------------------
|
46
|
-
//
|
47
|
-
// Functions (lifecycle)
|
48
|
-
//
|
49
|
-
//--------------------------------------------------------------------------
|
50
|
-
/**
|
51
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
52
|
-
*
|
53
|
-
* @returns Promise when complete
|
54
|
-
*/
|
55
|
-
async componentWillLoad() {
|
56
|
-
await this._getTranslations();
|
57
|
-
}
|
58
|
-
/**
|
59
|
-
* Renders the component.
|
60
|
-
*/
|
61
|
-
render() {
|
62
|
-
var _a, _b;
|
63
|
-
const nlsTypes = ((_a = this._translations) === null || _a === void 0 ? void 0 : _a.types) || {};
|
64
|
-
const types = Object.keys(nlsTypes).map(k => nlsTypes[k]);
|
65
|
-
return (h(Host, null, h("div", null, h("div", { class: "padding-block-end-1" }, h("calcite-label", { class: "label-spacing" }, (_b = this._translations) === null || _b === void 0 ? void 0 : _b.drawTools)), h("div", { class: "padding-inline-start-1" }, h("check-list", { defaultChecked: this.defaultChecked, ref: (el) => { this._checkList = el; }, values: types })))));
|
66
|
-
}
|
67
|
-
//--------------------------------------------------------------------------
|
68
|
-
//
|
69
|
-
// Functions (protected)
|
70
|
-
//
|
71
|
-
//--------------------------------------------------------------------------
|
72
|
-
/**
|
73
|
-
* Fetches the component's translations
|
74
|
-
*
|
75
|
-
* @returns Promise when complete
|
76
|
-
* @protected
|
77
|
-
*/
|
78
|
-
async _getTranslations() {
|
79
|
-
const messages = await getLocaleComponentStrings(this.el);
|
80
|
-
this._translations = messages[0];
|
81
|
-
}
|
82
|
-
get el() { return this; }
|
83
|
-
static get style() { return configDrawToolsCss; }
|
84
|
-
}, [1, "config-draw-tools", {
|
85
|
-
"defaultChecked": [516, "default-checked"],
|
86
|
-
"_translations": [32],
|
87
|
-
"getConfigInfo": [64]
|
88
|
-
}]);
|
89
|
-
function defineCustomElement$1() {
|
90
|
-
if (typeof customElements === "undefined") {
|
91
|
-
return;
|
92
|
-
}
|
93
|
-
const components = ["config-draw-tools", "calcite-checkbox", "calcite-label", "check-list"];
|
94
|
-
components.forEach(tagName => { switch (tagName) {
|
95
|
-
case "config-draw-tools":
|
96
|
-
if (!customElements.get(tagName)) {
|
97
|
-
customElements.define(tagName, ConfigDrawTools$1);
|
98
|
-
}
|
99
|
-
break;
|
100
|
-
case "calcite-checkbox":
|
101
|
-
if (!customElements.get(tagName)) {
|
102
|
-
defineCustomElement$4();
|
103
|
-
}
|
104
|
-
break;
|
105
|
-
case "calcite-label":
|
106
|
-
if (!customElements.get(tagName)) {
|
107
|
-
defineCustomElement$3();
|
108
|
-
}
|
109
|
-
break;
|
110
|
-
case "check-list":
|
111
|
-
if (!customElements.get(tagName)) {
|
112
|
-
defineCustomElement$2();
|
113
|
-
}
|
114
|
-
break;
|
115
|
-
} });
|
116
|
-
}
|
117
|
-
defineCustomElement$1();
|
118
|
-
|
119
|
-
const ConfigDrawTools = ConfigDrawTools$1;
|
120
|
-
const defineCustomElement = defineCustomElement$1;
|
121
|
-
|
122
|
-
export { ConfigDrawTools, defineCustomElement };
|
123
|
-
|
124
|
-
//# sourceMappingURL=config-draw-tools.js.map
|