@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":"calcite-input-text.js","mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,WAAW,EAAE,cAAc;AAC7B,EAAE,cAAc,EAAE,iBAAiB;AACnC,EAAE,WAAW,EAAE,cAAc;AAC7B,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,OAAO,EAAE,iBAAiB;AAC5B,EAAE,YAAY,EAAE,SAAS;AACzB,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,iBAAiB,EAAE,qBAAqB;AAC1C,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,MAAM,EAAE,QAAQ;AAClB,CAAC,CAAC;AACK,MAAM,IAAI,GAAG;AACpB,EAAE,KAAK,EAAE,aAAa;AACtB,CAAC;;ACvBD,MAAM,YAAY,GAAG,2kOAA2kO;;MCgBnlO,SAAS;EACpB;;;;;;;;;;;;;;IAOE,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC;;;;;;IAMzB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;;;;IAIvB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;;;;;;IAMvB,IAAI,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AqB,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,YAAY,GAAG,IAAI,EAAE,CAAC,WAAW,CAAC,GAAG,GAAG,GAAG,KAAK,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,UAAU,GAAG,UAAU,GAAG,IAAI,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,GAAG,gBAAgB,GAAG,IAAI,EAAE,IAAI,CAAC,aAAa,GAAG,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,GAAG,UAAU,GAAG,IAAI,EAAE,CAAC,CAAC,mBAAmB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE;GAC3gB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["COMMON_TEXT"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/input-text/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css?tag=calcite-input-text&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n loader: \"loader\",\n clearButton: \"clear-button\",\n editingEnabled: \"editing-enabled\",\n inlineChild: \"inline-child\",\n inputIcon: \"icon\",\n prefix: \"prefix\",\n suffix: \"suffix\",\n wrapper: \"element-wrapper\",\n inputWrapper: \"wrapper\",\n actionWrapper: \"action-wrapper\",\n resizeIconWrapper: \"resize-icon-wrapper\"\n};\nexport const SLOTS = {\n action: \"action\"\n};\nexport const TEXT = {\n clear: \"Clear value\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host {\n display: block;\n}\n\n:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix {\n block-size: 1.5rem;\n padding-inline: 0.5rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n:host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button {\n block-size: 1.5rem;\n}\n:host([scale=s]) .clear-button {\n min-block-size: 1.5rem;\n min-inline-size: 1.5rem;\n}\n\n:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix {\n block-size: 2rem;\n padding-inline: 0.75rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n:host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button {\n block-size: 2rem;\n}\n:host([scale=m]) .clear-button {\n min-block-size: 2rem;\n min-inline-size: 2rem;\n}\n\n:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix {\n block-size: 2.75rem;\n padding-inline: 1rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n:host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button {\n block-size: 2.75rem;\n}\n:host([scale=l]) .clear-button {\n min-block-size: 2.75rem;\n min-inline-size: 2.75rem;\n}\n\n:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled] {\n /* prevent opacity stacking */\n opacity: 1;\n}\n\ninput {\n transition: var(--calcite-animation-timing), block-size 0, outline-offset 0s;\n -webkit-appearance: none;\n position: relative;\n margin: 0px;\n box-sizing: border-box;\n display: flex;\n max-block-size: 100%;\n inline-size: 100%;\n max-inline-size: 100%;\n flex: 1 1 0%;\n border-radius: 0px;\n background-color: var(--calcite-ui-foreground-1);\n font-family: inherit;\n font-weight: var(--calcite-font-weight-normal);\n color: var(--calcite-ui-text-1);\n}\n\n:host input {\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-input);\n color: var(--calcite-ui-text-1);\n}\n:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder {\n font-weight: var(--calcite-font-weight-normal);\n color: var(--calcite-ui-text-3);\n}\n:host input:focus {\n border-color: var(--calcite-ui-brand);\n color: var(--calcite-ui-text-1);\n}\n:host input[readonly] {\n background-color: var(--calcite-ui-background);\n font-weight: var(--calcite-font-weight-medium);\n}\n:host input[readonly]:focus {\n color: var(--calcite-ui-text-1);\n}\n:host calcite-icon {\n color: var(--calcite-ui-text-3);\n}\n\ninput {\n outline-color: transparent;\n}\n\ninput:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n:host([status=invalid]) input {\n border-color: var(--calcite-ui-danger);\n}\n:host([status=invalid]) input:focus {\n outline: 2px solid var(--calcite-ui-danger);\n outline-offset: -2px;\n}\n\n:host([scale=s]) .icon {\n inset-inline-start: 0.5rem;\n}\n\n:host([scale=m]) .icon {\n inset-inline-start: 0.75rem;\n}\n\n:host([scale=l]) .icon {\n inset-inline-start: 1rem;\n}\n\n:host([icon][scale=s]) input {\n padding-inline-start: 2rem;\n}\n\n:host([icon][scale=m]) input {\n padding-inline-start: 2.5rem;\n}\n\n:host([icon][scale=l]) input {\n padding-inline-start: 3rem;\n}\n\n.element-wrapper {\n position: relative;\n order: 3;\n display: inline-flex;\n flex: 1 1 0%;\n align-items: center;\n}\n\n.icon {\n pointer-events: none;\n position: absolute;\n z-index: 1;\n display: block;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n\ninput[type=text]::-ms-clear, \ninput[type=text]::-ms-reveal {\n display: none;\n block-size: 0px;\n inline-size: 0px;\n}\n\n.clear-button {\n pointer-events: initial;\n order: 4;\n margin: 0px;\n box-sizing: border-box;\n display: flex;\n min-block-size: 100%;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n align-self: stretch;\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 outline-color: transparent;\n border-inline-start-width: 0px;\n}\n.clear-button:hover {\n background-color: var(--calcite-ui-foreground-2);\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n.clear-button:hover calcite-icon {\n color: var(--calcite-ui-text-1);\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n.clear-button:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n.clear-button:active calcite-icon {\n color: var(--calcite-ui-text-1);\n}\n.clear-button:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n.clear-button:disabled {\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n.loader {\n inset-block-start: 1px;\n inset-inline: 1px;\n pointer-events: none;\n position: absolute;\n display: block;\n}\n\n.action-wrapper {\n order: 7;\n display: flex;\n}\n\n.prefix, \n.suffix {\n box-sizing: border-box;\n display: flex;\n block-size: auto;\n min-block-size: 100%;\n -webkit-user-select: none;\n user-select: none;\n align-content: center;\n align-items: center;\n overflow-wrap: break-word;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-input);\n background-color: var(--calcite-ui-background);\n font-weight: var(--calcite-font-weight-medium);\n line-height: 1;\n color: var(--calcite-ui-text-2);\n}\n\n.prefix {\n order: 2;\n border-inline-end-width: 0px;\n}\n\n.suffix {\n order: 5;\n border-inline-start-width: 0px;\n}\n\n:host([alignment=start]) input {\n text-align: start;\n}\n\n:host([alignment=end]) input {\n text-align: end;\n}\n\n.wrapper {\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n:host(.no-bottom-border) input {\n border-block-end-width: 0px;\n}\n\n:host(.border-top-color-one) input {\n border-block-start-color: var(--calcite-ui-border-1);\n}\n\n.inline-child {\n background-color: transparent;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n.inline-child .editing-enabled {\n background-color: inherit;\n}\n\n.inline-child:not(.editing-enabled) {\n display: flex;\n cursor: pointer;\n border-color: transparent;\n padding-inline-start: 0;\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 { getElementDir, getElementProp, getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport { CSS, SLOTS, TEXT } from \"./resources\";\nimport { connectLabel, disconnectLabel, getLabelText } from \"../../utils/label\";\nimport { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from \"../../utils/form\";\nimport { CSS_UTILITY, TEXT as COMMON_TEXT } from \"../../utils/resources\";\nimport { createObserver } from \"../../utils/observers\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\n/**\n * @slot action - A slot for positioning a button next to the component.\n */\nexport class InputText {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** Specifies the text alignment of the component's value. */\n this.alignment = \"start\";\n /**\n * When `true`, the component is focused on page load.\n *\n * @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)\n */\n this.autofocus = false;\n /**\n * When `true`, a clear button is displayed when the component has a value.\n */\n this.clearable = false;\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n *\n * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)\n */\n this.disabled = false;\n /**\n * When `true`, the component will not be visible.\n *\n * @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)\n */\n this.hidden = false;\n /**\n * Accessible name that will appear while loading.\n *\n * @default \"Loading\"\n */\n this.intlLoading = COMMON_TEXT.loading;\n /** When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`). */\n this.iconFlipRtl = false;\n /** When `true`, the component is in the loading state and `calcite-progress` is displayed. */\n this.loading = false;\n /**\n * When `true`, the component's value can be read, but cannot be modified.\n *\n * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)\n */\n this.readOnly = false;\n /** When `true`, the component must have a value in order for the form to submit. */\n this.required = false;\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /** Specifies the status of the input field, which determines message and icons. */\n this.status = \"idle\";\n /**\n * @internal\n */\n this.editingEnabled = false;\n /** The component's value. */\n this.value = \"\";\n this.previousValueOrigin = \"initial\";\n this.mutationObserver = createObserver(\"mutation\", () => this.setDisabledAction());\n this.userChangedValue = false;\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.keyDownHandler = (event) => {\n if (this.readOnly || this.disabled) {\n return;\n }\n if (this.isClearable && event.key === \"Escape\") {\n this.clearInputTextValue(event);\n event.preventDefault();\n }\n if (event.key === \"Enter\" && !event.defaultPrevented) {\n if (submitForm(this)) {\n event.preventDefault();\n }\n }\n };\n this.clearInputTextValue = (nativeEvent) => {\n this.setValue({\n committing: true,\n nativeEvent,\n origin: \"user\",\n value: \"\"\n });\n };\n this.emitChangeIfUserModified = () => {\n if (this.previousValueOrigin === \"user\" && this.value !== this.previousEmittedValue) {\n this.calciteInputTextChange.emit();\n }\n this.previousEmittedValue = this.value;\n };\n this.inputTextBlurHandler = () => {\n this.calciteInternalInputTextBlur.emit({\n element: this.childEl,\n value: this.value\n });\n this.emitChangeIfUserModified();\n };\n this.inputTextFocusHandler = (event) => {\n const slottedActionEl = getSlotted(this.el, \"action\");\n if (event.target !== slottedActionEl) {\n this.setFocus();\n }\n this.calciteInternalInputTextFocus.emit({\n element: this.childEl,\n value: this.value\n });\n };\n this.inputTextInputHandler = (nativeEvent) => {\n if (this.disabled || this.readOnly) {\n return;\n }\n this.setValue({\n nativeEvent,\n origin: \"user\",\n value: nativeEvent.target.value\n });\n };\n this.inputTextKeyDownHandler = (event) => {\n if (this.disabled || this.readOnly) {\n return;\n }\n if (event.key === \"Enter\") {\n this.emitChangeIfUserModified();\n }\n };\n this.hiddenInputChangeHandler = (event) => {\n if (event.target.name === this.name) {\n this.setValue({\n value: event.target.value,\n origin: \"direct\"\n });\n }\n event.stopPropagation();\n };\n this.setChildElRef = (el) => {\n this.childEl = el;\n };\n this.setInputValue = (newInputValue) => {\n if (!this.childEl) {\n return;\n }\n this.childEl.value = newInputValue;\n };\n this.setPreviousEmittedValue = (newPreviousEmittedValue) => {\n this.previousEmittedValue = newPreviousEmittedValue;\n };\n this.setPreviousValue = (newPreviousValue) => {\n this.previousValue = newPreviousValue;\n };\n this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {\n this.setPreviousValue(previousValue || this.value);\n this.previousValueOrigin = origin;\n this.userChangedValue = origin === \"user\" && value !== this.value;\n this.value = value;\n if (origin === \"direct\") {\n this.setInputValue(value);\n }\n if (nativeEvent) {\n const calciteInputTextInputEvent = this.calciteInputTextInput.emit({\n element: this.childEl,\n nativeEvent,\n value: this.value\n });\n if (calciteInputTextInputEvent.defaultPrevented) {\n this.value = this.previousValue;\n }\n else if (committing) {\n this.emitChangeIfUserModified();\n }\n }\n };\n }\n disabledWatcher() {\n this.setDisabledAction();\n }\n valueWatcher(newValue, previousValue) {\n if (!this.userChangedValue) {\n this.setValue({\n origin: \"direct\",\n previousValue,\n value: !newValue ? \"\" : newValue\n });\n }\n this.userChangedValue = false;\n }\n updateRequestedIcon() {\n this.requestedIcon = setRequestedIcon({}, this.icon, \"text\");\n }\n get isClearable() {\n return this.clearable && this.value.length > 0;\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n this.scale = getElementProp(this.el, \"scale\", this.scale);\n this.status = getElementProp(this.el, \"status\", this.status);\n this.inlineEditableEl = this.el.closest(\"calcite-inline-editable\");\n if (this.inlineEditableEl) {\n this.editingEnabled = this.inlineEditableEl.editingEnabled || false;\n }\n this.setPreviousEmittedValue(this.value);\n this.setPreviousValue(this.value);\n connectLabel(this);\n connectForm(this);\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });\n this.setDisabledAction();\n this.el.addEventListener(\"calciteInternalHiddenInputChange\", this.hiddenInputChangeHandler);\n }\n disconnectedCallback() {\n var _a;\n disconnectLabel(this);\n disconnectForm(this);\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n this.el.removeEventListener(\"calciteInternalHiddenInputChange\", this.hiddenInputChangeHandler);\n }\n componentWillLoad() {\n this.requestedIcon = setRequestedIcon({}, this.icon, \"text\");\n }\n componentDidRender() {\n updateHostInteraction(this);\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n var _a;\n (_a = this.childEl) === null || _a === void 0 ? void 0 : _a.focus();\n }\n /** Selects all text of the component's `value`. */\n async selectText() {\n var _a;\n (_a = this.childEl) === null || _a === void 0 ? void 0 : _a.select();\n }\n onLabelClick() {\n this.setFocus();\n }\n onFormReset() {\n this.setValue({\n origin: \"reset\",\n value: this.defaultValue\n });\n }\n syncHiddenFormInput(input) {\n if (this.minLength != null) {\n input.minLength = this.minLength;\n }\n if (this.maxLength != null) {\n input.maxLength = this.maxLength;\n }\n }\n setDisabledAction() {\n const slottedActionEl = getSlotted(this.el, \"action\");\n if (!slottedActionEl) {\n return;\n }\n this.disabled\n ? slottedActionEl.setAttribute(\"disabled\", \"\")\n : slottedActionEl.removeAttribute(\"disabled\");\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const dir = getElementDir(this.el);\n const loader = (h(\"div\", { class: CSS.loader }, h(\"calcite-progress\", { label: this.intlLoading, type: \"indeterminate\" })));\n const inputClearButton = (h(\"button\", { \"aria-label\": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: \"button\" }, h(\"calcite-icon\", { icon: \"x\", scale: \"s\" })));\n const iconEl = (h(\"calcite-icon\", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: \"s\" }));\n const prefixText = h(\"div\", { class: CSS.prefix }, this.prefixText);\n const suffixText = h(\"div\", { class: CSS.suffix }, this.suffixText);\n const childEl = (h(\"input\", { \"aria-label\": getLabelText(this), autofocus: this.autofocus ? true : null, class: {\n [CSS.editingEnabled]: this.editingEnabled,\n [CSS.inlineChild]: !!this.inlineEditableEl\n }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, placeholder: this.placeholder || \"\", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: \"text\", value: this.value }));\n return (h(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, h(\"div\", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === \"rtl\" } }, this.prefixText ? prefixText : null, h(\"div\", { class: CSS.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h(\"div\", { class: CSS.actionWrapper }, h(\"slot\", { name: SLOTS.action })), this.suffixText ? suffixText : null, h(HiddenFormInputSlot, { component: this }))));\n }\n static get is() { return \"calcite-input-text\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"input-text.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"input-text.css\"]\n };\n }\n static get properties() {\n return {\n \"alignment\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Position\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Position\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the text alignment of the component's value.\"\n },\n \"attribute\": \"alignment\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"start\\\"\"\n },\n \"autofocus\": {\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\": \"mdn\",\n \"text\": \"[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)\"\n }],\n \"text\": \"When `true`, the component is focused on page load.\"\n },\n \"attribute\": \"autofocus\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"clearable\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, a clear button is displayed when the component has a value.\"\n },\n \"attribute\": \"clearable\",\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 \"name\": \"mdn\",\n \"text\": \"[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)\"\n }],\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 \"hidden\": {\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\": \"mdn\",\n \"text\": \"[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)\"\n }],\n \"text\": \"When `true`, the component will not be visible.\"\n },\n \"attribute\": \"hidden\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"icon\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | boolean\",\n \"resolved\": \"boolean | string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": true\n },\n \"intlClear\": {\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\": \"A text label that will appear on the clear button for screen readers.\"\n },\n \"attribute\": \"intl-clear\",\n \"reflect\": false\n },\n \"intlLoading\": {\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 \"name\": \"default\",\n \"text\": \"\\\"Loading\\\"\"\n }],\n \"text\": \"Accessible name that will appear while loading.\"\n },\n \"attribute\": \"intl-loading\",\n \"reflect\": false,\n \"defaultValue\": \"COMMON_TEXT.loading\"\n },\n \"iconFlipRtl\": {\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`, the icon will be flipped when the element direction is right-to-left (`\\\"rtl\\\"`).\"\n },\n \"attribute\": \"icon-flip-rtl\",\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\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's button or hyperlink.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"loading\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is in the loading state and `calcite-progress` is displayed.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"maxLength\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"mdn\",\n \"text\": \"[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)\"\n }],\n \"text\": \"Specifies the maximum length of text for the component's value.\"\n },\n \"attribute\": \"max-length\",\n \"reflect\": true\n },\n \"minLength\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"mdn\",\n \"text\": \"[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)\"\n }],\n \"text\": \"Specifies the minimum length of text for the component's value.\"\n },\n \"attribute\": \"min-length\",\n \"reflect\": true\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 \"name\": \"mdn\",\n \"text\": \"[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)\"\n }],\n \"text\": \"Specifies the name of the component.\"\n },\n \"attribute\": \"name\",\n \"reflect\": true\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\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"mdn\",\n \"text\": \"[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)\"\n }],\n \"text\": \"Specifies placeholder text for the component.\"\n },\n \"attribute\": \"placeholder\",\n \"reflect\": false\n },\n \"prefixText\": {\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\": \"Adds text to the start of the component.\"\n },\n \"attribute\": \"prefix-text\",\n \"reflect\": false\n },\n \"readOnly\": {\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\": \"mdn\",\n \"text\": \"[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)\"\n }],\n \"text\": \"When `true`, the component's value can be read, but cannot be modified.\"\n },\n \"attribute\": \"read-only\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\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 \"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 \"scale\": {\n \"type\": \"string\",\n \"mutable\": true,\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 \"status\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Status\",\n \"resolved\": \"\\\"idle\\\" | \\\"invalid\\\" | \\\"valid\\\"\",\n \"references\": {\n \"Status\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the status of the input field, which determines message and icons.\"\n },\n \"attribute\": \"status\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"idle\\\"\"\n },\n \"suffixText\": {\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\": \"Adds text to the end of the component.\"\n },\n \"attribute\": \"suffix-text\",\n \"reflect\": false\n },\n \"editingEnabled\": {\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\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"editing-enabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The component's value.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteInternalInputTextFocus\",\n \"name\": \"calciteInternalInputTextFocus\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"{\\n element: HTMLInputElement;\\n value: string;\\n }\",\n \"resolved\": \"{ element: HTMLInputElement; value: string; }\",\n \"references\": {\n \"HTMLInputElement\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteInternalInputTextBlur\",\n \"name\": \"calciteInternalInputTextBlur\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"{ element: HTMLInputElement; value: string }\",\n \"resolved\": \"{ element: HTMLInputElement; value: string; }\",\n \"references\": {\n \"HTMLInputElement\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteInputTextInput\",\n \"name\": \"calciteInputTextInput\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires each time a new value is typed.\"\n },\n \"complexType\": {\n \"original\": \"{\\n element: HTMLInputElement;\\n nativeEvent: MouseEvent | KeyboardEvent | InputEvent;\\n value: string;\\n }\",\n \"resolved\": \"{ element: HTMLInputElement; nativeEvent: KeyboardEvent | MouseEvent | InputEvent; value: string; }\",\n \"references\": {\n \"HTMLInputElement\": {\n \"location\": \"global\"\n },\n \"MouseEvent\": {\n \"location\": \"global\"\n },\n \"KeyboardEvent\": {\n \"location\": \"global\"\n },\n \"InputEvent\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteInputTextChange\",\n \"name\": \"calciteInputTextChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires each time a new value is typed and committed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\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 \"selectText\": {\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\": \"Selects all text of the component's `value`.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"disabled\",\n \"methodName\": \"disabledWatcher\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueWatcher\"\n }, {\n \"propName\": \"icon\",\n \"methodName\": \"updateRequestedIcon\"\n }];\n }\n}\n"],"version":3}
|
@@ -1,436 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
-
import { g as guid } from './guid.js';
|
8
|
-
import { l as localizeTimeString, f as formatTimeString, i as isValidTime, d as defineCustomElement$2 } from './time-picker.js';
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
|
10
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
11
|
-
import { u as updateHostInteraction } from './interactive.js';
|
12
|
-
import { n as numberStringFormatter, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale2.js';
|
13
|
-
import { n as numberKeys } from './key.js';
|
14
|
-
import { d as defineCustomElement$8 } from './action.js';
|
15
|
-
import { d as defineCustomElement$7 } from './icon.js';
|
16
|
-
import { d as defineCustomElement$6 } from './input.js';
|
17
|
-
import { d as defineCustomElement$5 } from './loader.js';
|
18
|
-
import { d as defineCustomElement$4 } from './popover.js';
|
19
|
-
import { d as defineCustomElement$3 } from './progress.js';
|
20
|
-
|
21
|
-
const inputTimePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
22
|
-
|
23
|
-
const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
24
|
-
constructor() {
|
25
|
-
super();
|
26
|
-
this.__registerHost();
|
27
|
-
this.__attachShadow();
|
28
|
-
this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
|
29
|
-
//--------------------------------------------------------------------------
|
30
|
-
//
|
31
|
-
// Properties
|
32
|
-
//
|
33
|
-
//--------------------------------------------------------------------------
|
34
|
-
/**
|
35
|
-
* When `true`, the component is active.
|
36
|
-
*
|
37
|
-
* @deprecated Use `open` instead.
|
38
|
-
*/
|
39
|
-
this.active = false;
|
40
|
-
/** When `true`, displays the `calcite-time-picker` component. */
|
41
|
-
this.open = false;
|
42
|
-
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
43
|
-
this.disabled = false;
|
44
|
-
/**
|
45
|
-
* When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.
|
46
|
-
*
|
47
|
-
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
48
|
-
*/
|
49
|
-
this.readOnly = false;
|
50
|
-
/**
|
51
|
-
* When `true`, the component must have a value in order for the form to submit.
|
52
|
-
*
|
53
|
-
* @internal
|
54
|
-
*/
|
55
|
-
this.required = false;
|
56
|
-
/** Specifies the size of the component. */
|
57
|
-
this.scale = "m";
|
58
|
-
/**
|
59
|
-
* Determines the type of positioning to use for the overlaid content.
|
60
|
-
*
|
61
|
-
* Using `"absolute"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.
|
62
|
-
*
|
63
|
-
* `"fixed"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
64
|
-
*
|
65
|
-
*/
|
66
|
-
this.overlayPositioning = "absolute";
|
67
|
-
/**
|
68
|
-
* Determines where the popover will be positioned relative to the input.
|
69
|
-
*
|
70
|
-
* @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)
|
71
|
-
*/
|
72
|
-
this.placement = "auto";
|
73
|
-
/** Specifies the granularity the component's `value` must adhere to (in seconds). */
|
74
|
-
this.step = 60;
|
75
|
-
/** The component's value in UTC (always 24-hour format). */
|
76
|
-
this.value = null;
|
77
|
-
/** whether the value of the input was changed as a result of user typing or not */
|
78
|
-
this.internalValueChange = false;
|
79
|
-
this.previousValidValue = null;
|
80
|
-
this.referenceElementId = `input-time-picker-${guid()}`;
|
81
|
-
//--------------------------------------------------------------------------
|
82
|
-
//
|
83
|
-
// State
|
84
|
-
//
|
85
|
-
//--------------------------------------------------------------------------
|
86
|
-
this.effectiveLocale = "";
|
87
|
-
//--------------------------------------------------------------------------
|
88
|
-
//
|
89
|
-
// Event Listeners
|
90
|
-
//
|
91
|
-
//--------------------------------------------------------------------------
|
92
|
-
this.calciteInternalInputBlurHandler = () => {
|
93
|
-
this.open = false;
|
94
|
-
const shouldIncludeSeconds = this.shouldIncludeSeconds();
|
95
|
-
const { effectiveLocale: locale, numberingSystem, value, calciteInputEl } = this;
|
96
|
-
numberStringFormatter.numberFormatOptions = {
|
97
|
-
locale,
|
98
|
-
numberingSystem,
|
99
|
-
useGrouping: false
|
100
|
-
};
|
101
|
-
const delocalizedValue = numberStringFormatter.delocalize(calciteInputEl.value);
|
102
|
-
const localizedInputValue = localizeTimeString({
|
103
|
-
value: delocalizedValue,
|
104
|
-
includeSeconds: shouldIncludeSeconds,
|
105
|
-
locale,
|
106
|
-
numberingSystem
|
107
|
-
});
|
108
|
-
this.setInputValue(localizedInputValue ||
|
109
|
-
localizeTimeString({ value, locale, numberingSystem, includeSeconds: shouldIncludeSeconds }));
|
110
|
-
};
|
111
|
-
this.calciteInternalInputFocusHandler = (event) => {
|
112
|
-
if (!this.readOnly) {
|
113
|
-
this.open = true;
|
114
|
-
event.stopPropagation();
|
115
|
-
}
|
116
|
-
};
|
117
|
-
this.calciteInputInputHandler = (event) => {
|
118
|
-
const target = event.target;
|
119
|
-
numberStringFormatter.numberFormatOptions = {
|
120
|
-
locale: this.effectiveLocale,
|
121
|
-
numberingSystem: this.numberingSystem,
|
122
|
-
useGrouping: false
|
123
|
-
};
|
124
|
-
const delocalizedValue = numberStringFormatter.delocalize(target.value);
|
125
|
-
this.setValue({ value: delocalizedValue });
|
126
|
-
// only translate the numerals until blur
|
127
|
-
const localizedValue = delocalizedValue
|
128
|
-
.split("")
|
129
|
-
.map((char) => numberKeys.includes(char)
|
130
|
-
? numberStringFormatter.numberFormatter.format(Number(char))
|
131
|
-
: char)
|
132
|
-
.join("");
|
133
|
-
this.setInputValue(localizedValue);
|
134
|
-
};
|
135
|
-
this.timePickerChangeHandler = (event) => {
|
136
|
-
event.stopPropagation();
|
137
|
-
const target = event.target;
|
138
|
-
const value = target.value;
|
139
|
-
this.setValue({ value, origin: "time-picker" });
|
140
|
-
};
|
141
|
-
// --------------------------------------------------------------------------
|
142
|
-
//
|
143
|
-
// Private Methods
|
144
|
-
//
|
145
|
-
// --------------------------------------------------------------------------
|
146
|
-
this.keyDownHandler = (event) => {
|
147
|
-
const { defaultPrevented, key } = event;
|
148
|
-
if (defaultPrevented) {
|
149
|
-
return;
|
150
|
-
}
|
151
|
-
if (key === "Enter") {
|
152
|
-
if (submitForm(this)) {
|
153
|
-
event.preventDefault();
|
154
|
-
}
|
155
|
-
}
|
156
|
-
if (key === "Escape" && this.open) {
|
157
|
-
this.open = false;
|
158
|
-
event.preventDefault();
|
159
|
-
}
|
160
|
-
};
|
161
|
-
this.setCalcitePopoverEl = (el) => {
|
162
|
-
this.popoverEl = el;
|
163
|
-
};
|
164
|
-
this.setCalciteInputEl = (el) => {
|
165
|
-
this.calciteInputEl = el;
|
166
|
-
};
|
167
|
-
this.setCalciteTimePickerEl = (el) => {
|
168
|
-
this.calciteTimePickerEl = el;
|
169
|
-
};
|
170
|
-
this.setInputValue = (newInputValue) => {
|
171
|
-
if (!this.calciteInputEl) {
|
172
|
-
return;
|
173
|
-
}
|
174
|
-
this.calciteInputEl.value = newInputValue;
|
175
|
-
};
|
176
|
-
this.setValue = ({ value, origin = "input" }) => {
|
177
|
-
const previousValue = this.value;
|
178
|
-
const newValue = formatTimeString(value);
|
179
|
-
const newLocalizedValue = localizeTimeString({
|
180
|
-
value: newValue,
|
181
|
-
locale: this.effectiveLocale,
|
182
|
-
numberingSystem: this.numberingSystem,
|
183
|
-
includeSeconds: this.shouldIncludeSeconds()
|
184
|
-
});
|
185
|
-
this.internalValueChange = origin !== "external" && origin !== "loading";
|
186
|
-
const shouldEmit = origin !== "loading" &&
|
187
|
-
origin !== "external" &&
|
188
|
-
((value !== this.previousValidValue && !value) ||
|
189
|
-
!!(!this.previousValidValue && newValue) ||
|
190
|
-
(newValue !== this.previousValidValue && newValue));
|
191
|
-
if (value) {
|
192
|
-
if (shouldEmit) {
|
193
|
-
this.previousValidValue = newValue;
|
194
|
-
}
|
195
|
-
if (newValue && newValue !== this.value) {
|
196
|
-
this.value = newValue;
|
197
|
-
}
|
198
|
-
this.localizedValue = newLocalizedValue;
|
199
|
-
}
|
200
|
-
else {
|
201
|
-
this.value = value;
|
202
|
-
this.localizedValue = null;
|
203
|
-
}
|
204
|
-
if (origin === "time-picker" || origin === "external") {
|
205
|
-
this.setInputValue(newLocalizedValue);
|
206
|
-
}
|
207
|
-
if (shouldEmit) {
|
208
|
-
const changeEvent = this.calciteInputTimePickerChange.emit();
|
209
|
-
if (changeEvent.defaultPrevented) {
|
210
|
-
this.internalValueChange = false;
|
211
|
-
this.value = previousValue;
|
212
|
-
this.setInputValue(previousValue);
|
213
|
-
this.previousValidValue = previousValue;
|
214
|
-
}
|
215
|
-
else {
|
216
|
-
this.previousValidValue = newValue;
|
217
|
-
}
|
218
|
-
}
|
219
|
-
};
|
220
|
-
}
|
221
|
-
activeHandler(value) {
|
222
|
-
this.open = value;
|
223
|
-
}
|
224
|
-
openHandler(value) {
|
225
|
-
this.active = value;
|
226
|
-
if (this.disabled || this.readOnly) {
|
227
|
-
this.open = false;
|
228
|
-
return;
|
229
|
-
}
|
230
|
-
if (value) {
|
231
|
-
this.reposition(true);
|
232
|
-
}
|
233
|
-
}
|
234
|
-
handleDisabledAndReadOnlyChange(value) {
|
235
|
-
if (!value) {
|
236
|
-
this.open = false;
|
237
|
-
}
|
238
|
-
}
|
239
|
-
localeChanged() {
|
240
|
-
updateEffectiveLocale(this);
|
241
|
-
}
|
242
|
-
valueWatcher(newValue) {
|
243
|
-
if (!this.internalValueChange) {
|
244
|
-
this.setValue({ value: newValue, origin: "external" });
|
245
|
-
}
|
246
|
-
this.internalValueChange = false;
|
247
|
-
}
|
248
|
-
effectiveLocaleWatcher() {
|
249
|
-
this.setInputValue(localizeTimeString({
|
250
|
-
value: this.value,
|
251
|
-
locale: this.effectiveLocale,
|
252
|
-
numberingSystem: this.numberingSystem,
|
253
|
-
includeSeconds: this.shouldIncludeSeconds()
|
254
|
-
}));
|
255
|
-
}
|
256
|
-
clickHandler(event) {
|
257
|
-
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
258
|
-
return;
|
259
|
-
}
|
260
|
-
this.setFocus();
|
261
|
-
}
|
262
|
-
timePickerBlurHandler(event) {
|
263
|
-
event.preventDefault();
|
264
|
-
event.stopPropagation();
|
265
|
-
this.open = false;
|
266
|
-
}
|
267
|
-
timePickerFocusHandler(event) {
|
268
|
-
event.preventDefault();
|
269
|
-
event.stopPropagation();
|
270
|
-
if (!this.readOnly) {
|
271
|
-
this.open = true;
|
272
|
-
}
|
273
|
-
}
|
274
|
-
// --------------------------------------------------------------------------
|
275
|
-
//
|
276
|
-
// Public Methods
|
277
|
-
//
|
278
|
-
// --------------------------------------------------------------------------
|
279
|
-
/** Sets focus on the component. */
|
280
|
-
async setFocus() {
|
281
|
-
var _a;
|
282
|
-
(_a = this.calciteInputEl) === null || _a === void 0 ? void 0 : _a.setFocus();
|
283
|
-
}
|
284
|
-
/**
|
285
|
-
* Updates the position of the component.
|
286
|
-
*
|
287
|
-
* @param delayed
|
288
|
-
*/
|
289
|
-
async reposition(delayed = false) {
|
290
|
-
var _a;
|
291
|
-
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
292
|
-
}
|
293
|
-
onLabelClick() {
|
294
|
-
this.setFocus();
|
295
|
-
}
|
296
|
-
shouldIncludeSeconds() {
|
297
|
-
return this.step < 60;
|
298
|
-
}
|
299
|
-
//--------------------------------------------------------------------------
|
300
|
-
//
|
301
|
-
// Lifecycle
|
302
|
-
//
|
303
|
-
//--------------------------------------------------------------------------
|
304
|
-
connectedCallback() {
|
305
|
-
connectLocalized(this);
|
306
|
-
const { active, open } = this;
|
307
|
-
if (this.value) {
|
308
|
-
this.setValue({ value: isValidTime(this.value) ? this.value : undefined, origin: "loading" });
|
309
|
-
}
|
310
|
-
connectLabel(this);
|
311
|
-
connectForm(this);
|
312
|
-
if (open) {
|
313
|
-
this.active = open;
|
314
|
-
}
|
315
|
-
else if (active) {
|
316
|
-
this.open = active;
|
317
|
-
}
|
318
|
-
}
|
319
|
-
componentDidLoad() {
|
320
|
-
this.setInputValue(this.localizedValue);
|
321
|
-
}
|
322
|
-
disconnectedCallback() {
|
323
|
-
disconnectLabel(this);
|
324
|
-
disconnectForm(this);
|
325
|
-
disconnectLocalized(this);
|
326
|
-
}
|
327
|
-
componentDidRender() {
|
328
|
-
updateHostInteraction(this);
|
329
|
-
}
|
330
|
-
// --------------------------------------------------------------------------
|
331
|
-
//
|
332
|
-
// Render Methods
|
333
|
-
//
|
334
|
-
// --------------------------------------------------------------------------
|
335
|
-
render() {
|
336
|
-
const popoverId = `${this.referenceElementId}-popover`;
|
337
|
-
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.effectiveLocale, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), h(HiddenFormInputSlot, { component: this })));
|
338
|
-
}
|
339
|
-
get el() { return this; }
|
340
|
-
static get watchers() { return {
|
341
|
-
"active": ["activeHandler"],
|
342
|
-
"open": ["openHandler"],
|
343
|
-
"disabled": ["handleDisabledAndReadOnlyChange"],
|
344
|
-
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
345
|
-
"locale": ["localeChanged"],
|
346
|
-
"value": ["valueWatcher"],
|
347
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
348
|
-
}; }
|
349
|
-
static get style() { return inputTimePickerCss; }
|
350
|
-
}, [1, "calcite-input-time-picker", {
|
351
|
-
"active": [1540],
|
352
|
-
"open": [1540],
|
353
|
-
"disabled": [516],
|
354
|
-
"readOnly": [516, "read-only"],
|
355
|
-
"intlHour": [1, "intl-hour"],
|
356
|
-
"intlHourDown": [1, "intl-hour-down"],
|
357
|
-
"intlHourUp": [1, "intl-hour-up"],
|
358
|
-
"intlMeridiem": [1, "intl-meridiem"],
|
359
|
-
"intlMeridiemDown": [1, "intl-meridiem-down"],
|
360
|
-
"intlMeridiemUp": [1, "intl-meridiem-up"],
|
361
|
-
"intlMinute": [1, "intl-minute"],
|
362
|
-
"intlMinuteDown": [1, "intl-minute-down"],
|
363
|
-
"intlMinuteUp": [1, "intl-minute-up"],
|
364
|
-
"intlSecond": [1, "intl-second"],
|
365
|
-
"intlSecondDown": [1, "intl-second-down"],
|
366
|
-
"intlSecondUp": [1, "intl-second-up"],
|
367
|
-
"locale": [1025],
|
368
|
-
"name": [1],
|
369
|
-
"numberingSystem": [1, "numbering-system"],
|
370
|
-
"required": [516],
|
371
|
-
"scale": [513],
|
372
|
-
"overlayPositioning": [1, "overlay-positioning"],
|
373
|
-
"placement": [513],
|
374
|
-
"step": [2],
|
375
|
-
"value": [1025],
|
376
|
-
"effectiveLocale": [32],
|
377
|
-
"localizedValue": [32],
|
378
|
-
"setFocus": [64],
|
379
|
-
"reposition": [64]
|
380
|
-
}, [[0, "click", "clickHandler"], [0, "calciteInternalTimePickerBlur", "timePickerBlurHandler"], [0, "calciteInternalTimePickerFocus", "timePickerFocusHandler"]]]);
|
381
|
-
function defineCustomElement$1() {
|
382
|
-
if (typeof customElements === "undefined") {
|
383
|
-
return;
|
384
|
-
}
|
385
|
-
const components = ["calcite-input-time-picker", "calcite-action", "calcite-icon", "calcite-input", "calcite-loader", "calcite-popover", "calcite-progress", "calcite-time-picker"];
|
386
|
-
components.forEach(tagName => { switch (tagName) {
|
387
|
-
case "calcite-input-time-picker":
|
388
|
-
if (!customElements.get(tagName)) {
|
389
|
-
customElements.define(tagName, InputTimePicker);
|
390
|
-
}
|
391
|
-
break;
|
392
|
-
case "calcite-action":
|
393
|
-
if (!customElements.get(tagName)) {
|
394
|
-
defineCustomElement$8();
|
395
|
-
}
|
396
|
-
break;
|
397
|
-
case "calcite-icon":
|
398
|
-
if (!customElements.get(tagName)) {
|
399
|
-
defineCustomElement$7();
|
400
|
-
}
|
401
|
-
break;
|
402
|
-
case "calcite-input":
|
403
|
-
if (!customElements.get(tagName)) {
|
404
|
-
defineCustomElement$6();
|
405
|
-
}
|
406
|
-
break;
|
407
|
-
case "calcite-loader":
|
408
|
-
if (!customElements.get(tagName)) {
|
409
|
-
defineCustomElement$5();
|
410
|
-
}
|
411
|
-
break;
|
412
|
-
case "calcite-popover":
|
413
|
-
if (!customElements.get(tagName)) {
|
414
|
-
defineCustomElement$4();
|
415
|
-
}
|
416
|
-
break;
|
417
|
-
case "calcite-progress":
|
418
|
-
if (!customElements.get(tagName)) {
|
419
|
-
defineCustomElement$3();
|
420
|
-
}
|
421
|
-
break;
|
422
|
-
case "calcite-time-picker":
|
423
|
-
if (!customElements.get(tagName)) {
|
424
|
-
defineCustomElement$2();
|
425
|
-
}
|
426
|
-
break;
|
427
|
-
} });
|
428
|
-
}
|
429
|
-
defineCustomElement$1();
|
430
|
-
|
431
|
-
const CalciteInputTimePicker = InputTimePicker;
|
432
|
-
const defineCustomElement = defineCustomElement$1;
|
433
|
-
|
434
|
-
export { CalciteInputTimePicker, defineCustomElement };
|
435
|
-
|
436
|
-
//# sourceMappingURL=calcite-input-time-picker.js.map
|