@esri/solutions-components 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +10 -3
- package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{solution-store-e2fc11ac.js → solution-store-893499a5.js} +3 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +9 -2
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
- package/dist/collection/components/solution-item/solution-item.js +2 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
- package/dist/collection/utils/solution-store.js +2 -0
- package/dist/collection/utils/solution-store.js.map +1 -1
- package/dist/collection/utils/solution-store.ts +2 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
- package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
- package/dist/esm/solution-configuration.entry.js +10 -3
- package/dist/esm/solution-configuration.entry.js.map +1 -1
- package/dist/esm/solution-contents_3.entry.js +3 -1
- package/dist/esm/solution-contents_3.entry.js.map +1 -1
- package/dist/esm/{solution-store-b3c65467.js → solution-store-0c58c852.js} +3 -1
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-b25f6ebe.js → p-659edb14.js} +3 -1
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-638738f2.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/{p-7e8985f2.entry.js → p-90629c1d.entry.js} +11 -4
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-542189bc.entry.js → p-984cb687.entry.js} +17 -7
- package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/solution-store.ts +2 -0
- package/dist/solutions-components_commit.txt +9 -6
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-e2fc11ac.js.map +0 -1
- package/dist/components/ExpandToggle.js +0 -112
- package/dist/components/ExpandToggle.js.map +0 -1
- package/dist/components/Heading.js +0 -24
- package/dist/components/Heading.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -24
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/action-bar.js +0 -278
- package/dist/components/action-bar.js.map +0 -1
- package/dist/components/action-group.js +0 -151
- package/dist/components/action-group.js.map +0 -1
- package/dist/components/action-menu.js +0 -358
- package/dist/components/action-menu.js.map +0 -1
- package/dist/components/action.js +0 -216
- package/dist/components/action.js.map +0 -1
- package/dist/components/array.js +0 -17
- package/dist/components/array.js.map +0 -1
- package/dist/components/buffer-tools.d.ts +0 -11
- package/dist/components/buffer-tools.js +0 -13
- package/dist/components/buffer-tools.js.map +0 -1
- package/dist/components/buffer-tools2.js +0 -256
- package/dist/components/buffer-tools2.js.map +0 -1
- package/dist/components/button.js +0 -265
- package/dist/components/button.js.map +0 -1
- package/dist/components/calcite-accordion-item.js +0 -246
- package/dist/components/calcite-accordion-item.js.map +0 -1
- package/dist/components/calcite-accordion.js +0 -182
- package/dist/components/calcite-accordion.js.map +0 -1
- package/dist/components/calcite-action-bar.js +0 -13
- package/dist/components/calcite-action-bar.js.map +0 -1
- package/dist/components/calcite-action-group.js +0 -13
- package/dist/components/calcite-action-group.js.map +0 -1
- package/dist/components/calcite-action-menu.js +0 -13
- package/dist/components/calcite-action-menu.js.map +0 -1
- package/dist/components/calcite-action-pad.js +0 -199
- package/dist/components/calcite-action-pad.js.map +0 -1
- package/dist/components/calcite-action.js +0 -13
- package/dist/components/calcite-action.js.map +0 -1
- package/dist/components/calcite-alert.js +0 -299
- package/dist/components/calcite-alert.js.map +0 -1
- package/dist/components/calcite-avatar.js +0 -184
- package/dist/components/calcite-avatar.js.map +0 -1
- package/dist/components/calcite-block-section.js +0 -157
- package/dist/components/calcite-block-section.js.map +0 -1
- package/dist/components/calcite-block.js +0 -277
- package/dist/components/calcite-block.js.map +0 -1
- package/dist/components/calcite-button.js +0 -13
- package/dist/components/calcite-button.js.map +0 -1
- package/dist/components/calcite-card.js +0 -189
- package/dist/components/calcite-card.js.map +0 -1
- package/dist/components/calcite-checkbox.js +0 -13
- package/dist/components/calcite-checkbox.js.map +0 -1
- package/dist/components/calcite-chip.js +0 -13
- package/dist/components/calcite-chip.js.map +0 -1
- package/dist/components/calcite-color-picker-hex-input.js +0 -13
- package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
- package/dist/components/calcite-color-picker-swatch.js +0 -13
- package/dist/components/calcite-color-picker-swatch.js.map +0 -1
- package/dist/components/calcite-color-picker.js +0 -1038
- package/dist/components/calcite-color-picker.js.map +0 -1
- package/dist/components/calcite-combobox-item-group.js +0 -77
- package/dist/components/calcite-combobox-item-group.js.map +0 -1
- package/dist/components/calcite-combobox-item.js +0 -13
- package/dist/components/calcite-combobox-item.js.map +0 -1
- package/dist/components/calcite-combobox.js +0 -13
- package/dist/components/calcite-combobox.js.map +0 -1
- package/dist/components/calcite-date-picker-day.js +0 -13
- package/dist/components/calcite-date-picker-day.js.map +0 -1
- package/dist/components/calcite-date-picker-month-header.js +0 -13
- package/dist/components/calcite-date-picker-month-header.js.map +0 -1
- package/dist/components/calcite-date-picker-month.js +0 -13
- package/dist/components/calcite-date-picker-month.js.map +0 -1
- package/dist/components/calcite-date-picker.js +0 -13
- package/dist/components/calcite-date-picker.js.map +0 -1
- package/dist/components/calcite-dropdown-group.js +0 -101
- package/dist/components/calcite-dropdown-group.js.map +0 -1
- package/dist/components/calcite-dropdown-item.js +0 -237
- package/dist/components/calcite-dropdown-item.js.map +0 -1
- package/dist/components/calcite-dropdown.js +0 -13
- package/dist/components/calcite-dropdown.js.map +0 -1
- package/dist/components/calcite-fab.js +0 -146
- package/dist/components/calcite-fab.js.map +0 -1
- package/dist/components/calcite-filter.js +0 -197
- package/dist/components/calcite-filter.js.map +0 -1
- package/dist/components/calcite-flow-item.js +0 -245
- package/dist/components/calcite-flow-item.js.map +0 -1
- package/dist/components/calcite-flow.js +0 -149
- package/dist/components/calcite-flow.js.map +0 -1
- package/dist/components/calcite-graph.js +0 -13
- package/dist/components/calcite-graph.js.map +0 -1
- package/dist/components/calcite-handle.js +0 -13
- package/dist/components/calcite-handle.js.map +0 -1
- package/dist/components/calcite-icon.js +0 -13
- package/dist/components/calcite-icon.js.map +0 -1
- package/dist/components/calcite-inline-editable.js +0 -296
- package/dist/components/calcite-inline-editable.js.map +0 -1
- package/dist/components/calcite-input-date-picker.js +0 -715
- package/dist/components/calcite-input-date-picker.js.map +0 -1
- package/dist/components/calcite-input-message.js +0 -13
- package/dist/components/calcite-input-message.js.map +0 -1
- package/dist/components/calcite-input-number.js +0 -639
- package/dist/components/calcite-input-number.js.map +0 -1
- package/dist/components/calcite-input-text.js +0 -402
- package/dist/components/calcite-input-text.js.map +0 -1
- package/dist/components/calcite-input-time-picker.js +0 -436
- package/dist/components/calcite-input-time-picker.js.map +0 -1
- package/dist/components/calcite-input.js +0 -13
- package/dist/components/calcite-input.js.map +0 -1
- package/dist/components/calcite-label.js +0 -13
- package/dist/components/calcite-label.js.map +0 -1
- package/dist/components/calcite-link.js +0 -13
- package/dist/components/calcite-link.js.map +0 -1
- package/dist/components/calcite-list-item-group.js +0 -67
- package/dist/components/calcite-list-item-group.js.map +0 -1
- package/dist/components/calcite-list-item.js +0 -13
- package/dist/components/calcite-list-item.js.map +0 -1
- package/dist/components/calcite-list.js +0 -13
- package/dist/components/calcite-list.js.map +0 -1
- package/dist/components/calcite-loader.js +0 -13
- package/dist/components/calcite-loader.js.map +0 -1
- package/dist/components/calcite-modal.js +0 -500
- package/dist/components/calcite-modal.js.map +0 -1
- package/dist/components/calcite-notice.js +0 -13
- package/dist/components/calcite-notice.js.map +0 -1
- package/dist/components/calcite-option-group.js +0 -66
- package/dist/components/calcite-option-group.js.map +0 -1
- package/dist/components/calcite-option.js +0 -13
- package/dist/components/calcite-option.js.map +0 -1
- package/dist/components/calcite-pagination.js +0 -260
- package/dist/components/calcite-pagination.js.map +0 -1
- package/dist/components/calcite-panel.js +0 -13
- package/dist/components/calcite-panel.js.map +0 -1
- package/dist/components/calcite-pick-list-group.js +0 -76
- package/dist/components/calcite-pick-list-group.js.map +0 -1
- package/dist/components/calcite-pick-list-item.js +0 -13
- package/dist/components/calcite-pick-list-item.js.map +0 -1
- package/dist/components/calcite-pick-list.js +0 -175
- package/dist/components/calcite-pick-list.js.map +0 -1
- package/dist/components/calcite-popover-manager.js +0 -96
- package/dist/components/calcite-popover-manager.js.map +0 -1
- package/dist/components/calcite-popover.js +0 -13
- package/dist/components/calcite-popover.js.map +0 -1
- package/dist/components/calcite-progress.js +0 -13
- package/dist/components/calcite-progress.js.map +0 -1
- package/dist/components/calcite-radio-button-group.js +0 -134
- package/dist/components/calcite-radio-button-group.js.map +0 -1
- package/dist/components/calcite-radio-button.js +0 -312
- package/dist/components/calcite-radio-button.js.map +0 -1
- package/dist/components/calcite-radio-group-item.js +0 -13
- package/dist/components/calcite-radio-group-item.js.map +0 -1
- package/dist/components/calcite-radio-group.js +0 -13
- package/dist/components/calcite-radio-group.js.map +0 -1
- package/dist/components/calcite-rating.js +0 -203
- package/dist/components/calcite-rating.js.map +0 -1
- package/dist/components/calcite-scrim.js +0 -13
- package/dist/components/calcite-scrim.js.map +0 -1
- package/dist/components/calcite-select.js +0 -13
- package/dist/components/calcite-select.js.map +0 -1
- package/dist/components/calcite-shell-center-row.js +0 -102
- package/dist/components/calcite-shell-center-row.js.map +0 -1
- package/dist/components/calcite-shell-panel.js +0 -13
- package/dist/components/calcite-shell-panel.js.map +0 -1
- package/dist/components/calcite-shell.js +0 -13
- package/dist/components/calcite-shell.js.map +0 -1
- package/dist/components/calcite-slider.js +0 -13
- package/dist/components/calcite-slider.js.map +0 -1
- package/dist/components/calcite-sortable-list.js +0 -204
- package/dist/components/calcite-sortable-list.js.map +0 -1
- package/dist/components/calcite-split-button.js +0 -170
- package/dist/components/calcite-split-button.js.map +0 -1
- package/dist/components/calcite-stepper-item.js +0 -273
- package/dist/components/calcite-stepper-item.js.map +0 -1
- package/dist/components/calcite-stepper.js +0 -258
- package/dist/components/calcite-stepper.js.map +0 -1
- package/dist/components/calcite-switch.js +0 -13
- package/dist/components/calcite-switch.js.map +0 -1
- package/dist/components/calcite-tab-nav.js +0 -13
- package/dist/components/calcite-tab-nav.js.map +0 -1
- package/dist/components/calcite-tab-title.js +0 -13
- package/dist/components/calcite-tab-title.js.map +0 -1
- package/dist/components/calcite-tab.js +0 -13
- package/dist/components/calcite-tab.js.map +0 -1
- package/dist/components/calcite-tabs.js +0 -13
- package/dist/components/calcite-tabs.js.map +0 -1
- package/dist/components/calcite-tile-select-group.js +0 -67
- package/dist/components/calcite-tile-select-group.js.map +0 -1
- package/dist/components/calcite-tile-select.js +0 -268
- package/dist/components/calcite-tile-select.js.map +0 -1
- package/dist/components/calcite-tile.js +0 -13
- package/dist/components/calcite-tile.js.map +0 -1
- package/dist/components/calcite-time-picker.js +0 -13
- package/dist/components/calcite-time-picker.js.map +0 -1
- package/dist/components/calcite-tip-group.js +0 -43
- package/dist/components/calcite-tip-group.js.map +0 -1
- package/dist/components/calcite-tip-manager.js +0 -225
- package/dist/components/calcite-tip-manager.js.map +0 -1
- package/dist/components/calcite-tip.js +0 -164
- package/dist/components/calcite-tip.js.map +0 -1
- package/dist/components/calcite-tooltip-manager.js +0 -59
- package/dist/components/calcite-tooltip-manager.js.map +0 -1
- package/dist/components/calcite-tooltip.js +0 -13
- package/dist/components/calcite-tooltip.js.map +0 -1
- package/dist/components/calcite-tree-item.js +0 -13
- package/dist/components/calcite-tree-item.js.map +0 -1
- package/dist/components/calcite-tree.js +0 -13
- package/dist/components/calcite-tree.js.map +0 -1
- package/dist/components/calcite-value-list-item.js +0 -13
- package/dist/components/calcite-value-list-item.js.map +0 -1
- package/dist/components/calcite-value-list.js +0 -13
- package/dist/components/calcite-value-list.js.map +0 -1
- package/dist/components/check-list.d.ts +0 -11
- package/dist/components/check-list.js +0 -13
- package/dist/components/check-list.js.map +0 -1
- package/dist/components/check-list2.js +0 -128
- package/dist/components/check-list2.js.map +0 -1
- package/dist/components/checkbox.js +0 -167
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/chip.js +0 -172
- package/dist/components/chip.js.map +0 -1
- package/dist/components/color-picker-hex-input.js +0 -365
- package/dist/components/color-picker-hex-input.js.map +0 -1
- package/dist/components/color-picker-swatch.js +0 -2036
- package/dist/components/color-picker-swatch.js.map +0 -1
- package/dist/components/combobox-item.js +0 -184
- package/dist/components/combobox-item.js.map +0 -1
- package/dist/components/combobox.js +0 -914
- package/dist/components/combobox.js.map +0 -1
- package/dist/components/conditionalSlot.js +0 -52
- package/dist/components/conditionalSlot.js.map +0 -1
- package/dist/components/config-buffer-tools.d.ts +0 -11
- package/dist/components/config-buffer-tools.js +0 -185
- package/dist/components/config-buffer-tools.js.map +0 -1
- package/dist/components/config-draw-tools.d.ts +0 -11
- package/dist/components/config-draw-tools.js +0 -124
- package/dist/components/config-draw-tools.js.map +0 -1
- package/dist/components/config-layer-picker.d.ts +0 -11
- package/dist/components/config-layer-picker.js +0 -148
- package/dist/components/config-layer-picker.js.map +0 -1
- package/dist/components/config-pdf-download.d.ts +0 -11
- package/dist/components/config-pdf-download.js +0 -157
- package/dist/components/config-pdf-download.js.map +0 -1
- package/dist/components/date-picker-day.js +0 -113
- package/dist/components/date-picker-day.js.map +0 -1
- package/dist/components/date-picker-month-header.js +0 -226
- package/dist/components/date-picker-month-header.js.map +0 -1
- package/dist/components/date-picker-month.js +0 -346
- package/dist/components/date-picker-month.js.map +0 -1
- package/dist/components/date-picker.js +0 -577
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date.js +0 -182
- package/dist/components/date.js.map +0 -1
- package/dist/components/debounce.js +0 -489
- package/dist/components/debounce.js.map +0 -1
- package/dist/components/dom.js +0 -233
- package/dist/components/dom.js.map +0 -1
- package/dist/components/dropdown.js +0 -507
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter.js +0 -765
- package/dist/components/filter.js.map +0 -1
- package/dist/components/floating-ui.js +0 -1787
- package/dist/components/floating-ui.js.map +0 -1
- package/dist/components/form.js +0 -230
- package/dist/components/form.js.map +0 -1
- package/dist/components/graph.js +0 -256
- package/dist/components/graph.js.map +0 -1
- package/dist/components/guid.js +0 -26
- package/dist/components/guid.js.map +0 -1
- package/dist/components/handle.js +0 -121
- package/dist/components/handle.js.map +0 -1
- package/dist/components/icon.js +0 -204
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index.d.ts +0 -48
- package/dist/components/index.js +0 -190
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -201
- package/dist/components/index2.js.map +0 -1
- package/dist/components/input-message.js +0 -103
- package/dist/components/input-message.js.map +0 -1
- package/dist/components/input.js +0 -742
- package/dist/components/input.js.map +0 -1
- package/dist/components/interactive.js +0 -53
- package/dist/components/interactive.js.map +0 -1
- package/dist/components/interfaces.js +0 -21
- package/dist/components/interfaces.js.map +0 -1
- package/dist/components/interfaces2.js +0 -23
- package/dist/components/interfaces2.js.map +0 -1
- package/dist/components/interfaces3.js +0 -72
- package/dist/components/interfaces3.js.map +0 -1
- package/dist/components/json-editor.d.ts +0 -11
- package/dist/components/json-editor.js +0 -13
- package/dist/components/json-editor.js.map +0 -1
- package/dist/components/json-editor2.js +0 -443
- package/dist/components/json-editor2.js.map +0 -1
- package/dist/components/key.js +0 -18
- package/dist/components/key.js.map +0 -1
- package/dist/components/label.js +0 -108
- package/dist/components/label.js.map +0 -1
- package/dist/components/label2.js +0 -133
- package/dist/components/label2.js.map +0 -1
- package/dist/components/labelFormats.js +0 -212
- package/dist/components/labelFormats.js.map +0 -1
- package/dist/components/link.js +0 -125
- package/dist/components/link.js.map +0 -1
- package/dist/components/list-item.js +0 -151
- package/dist/components/list-item.js.map +0 -1
- package/dist/components/list.js +0 -85
- package/dist/components/list.js.map +0 -1
- package/dist/components/loadModules.js +0 -30
- package/dist/components/loadModules.js.map +0 -1
- package/dist/components/loader.js +0 -118
- package/dist/components/loader.js.map +0 -1
- package/dist/components/locale.js +0 -414
- package/dist/components/locale.js.map +0 -1
- package/dist/components/locale2.js +0 -415
- package/dist/components/locale2.js.map +0 -1
- package/dist/components/map-draw-tools.d.ts +0 -11
- package/dist/components/map-draw-tools.js +0 -13
- package/dist/components/map-draw-tools.js.map +0 -1
- package/dist/components/map-draw-tools2.js +0 -230
- package/dist/components/map-draw-tools2.js.map +0 -1
- package/dist/components/map-layer-picker.d.ts +0 -11
- package/dist/components/map-layer-picker.js +0 -13
- package/dist/components/map-layer-picker.js.map +0 -1
- package/dist/components/map-layer-picker2.js +0 -190
- package/dist/components/map-layer-picker2.js.map +0 -1
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -157
- package/dist/components/map-search.js.map +0 -1
- package/dist/components/map-select-tools.d.ts +0 -11
- package/dist/components/map-select-tools.js +0 -13
- package/dist/components/map-select-tools.js.map +0 -1
- package/dist/components/map-select-tools2.js +0 -555
- package/dist/components/map-select-tools2.js.map +0 -1
- package/dist/components/mapViewUtils.js +0 -131
- package/dist/components/mapViewUtils.js.map +0 -1
- package/dist/components/math.js +0 -26
- package/dist/components/math.js.map +0 -1
- package/dist/components/nonChromiumPlatformUtils.js +0 -505
- package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
- package/dist/components/notice.js +0 -194
- package/dist/components/notice.js.map +0 -1
- package/dist/components/observers.js +0 -58
- package/dist/components/observers.js.map +0 -1
- package/dist/components/openCloseComponent.js +0 -58
- package/dist/components/openCloseComponent.js.map +0 -1
- package/dist/components/option.js +0 -111
- package/dist/components/option.js.map +0 -1
- package/dist/components/panel.js +0 -461
- package/dist/components/panel.js.map +0 -1
- package/dist/components/pdf-download.d.ts +0 -11
- package/dist/components/pdf-download.js +0 -13
- package/dist/components/pdf-download.js.map +0 -1
- package/dist/components/pdf-download2.js +0 -243
- package/dist/components/pdf-download2.js.map +0 -1
- package/dist/components/pick-list-item.js +0 -257
- package/dist/components/pick-list-item.js.map +0 -1
- package/dist/components/popover.js +0 -502
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress.js +0 -62
- package/dist/components/progress.js.map +0 -1
- package/dist/components/public-notification.d.ts +0 -11
- package/dist/components/public-notification.js +0 -784
- package/dist/components/public-notification.js.map +0 -1
- package/dist/components/publicNotificationStore.js +0 -40
- package/dist/components/publicNotificationStore.js.map +0 -1
- package/dist/components/queryUtils.js +0 -163
- package/dist/components/queryUtils.js.map +0 -1
- package/dist/components/radio-group-item.js +0 -103
- package/dist/components/radio-group-item.js.map +0 -1
- package/dist/components/radio-group.js +0 -237
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/refine-selection-tools.d.ts +0 -11
- package/dist/components/refine-selection-tools.js +0 -13
- package/dist/components/refine-selection-tools.js.map +0 -1
- package/dist/components/refine-selection-tools2.js +0 -500
- package/dist/components/refine-selection-tools2.js.map +0 -1
- package/dist/components/refine-selection.d.ts +0 -11
- package/dist/components/refine-selection.js +0 -13
- package/dist/components/refine-selection.js.map +0 -1
- package/dist/components/refine-selection2.js +0 -369
- package/dist/components/refine-selection2.js.map +0 -1
- package/dist/components/resources.js +0 -26
- package/dist/components/resources.js.map +0 -1
- package/dist/components/resources2.js +0 -23
- package/dist/components/resources2.js.map +0 -1
- package/dist/components/resources3.js +0 -40
- package/dist/components/resources3.js.map +0 -1
- package/dist/components/scrim.js +0 -85
- package/dist/components/scrim.js.map +0 -1
- package/dist/components/select.js +0 -261
- package/dist/components/select.js.map +0 -1
- package/dist/components/shared-list-render.js +0 -321
- package/dist/components/shared-list-render.js.map +0 -1
- package/dist/components/shell-panel.js +0 -283
- package/dist/components/shell-panel.js.map +0 -1
- package/dist/components/shell.js +0 -123
- package/dist/components/shell.js.map +0 -1
- package/dist/components/slider.js +0 -898
- package/dist/components/slider.js.map +0 -1
- package/dist/components/solution-configuration.d.ts +0 -11
- package/dist/components/solution-configuration.js +0 -2225
- package/dist/components/solution-configuration.js.map +0 -1
- package/dist/components/solution-contents.d.ts +0 -11
- package/dist/components/solution-contents.js +0 -13
- package/dist/components/solution-contents.js.map +0 -1
- package/dist/components/solution-contents2.js +0 -130
- package/dist/components/solution-contents2.js.map +0 -1
- package/dist/components/solution-item-details.d.ts +0 -11
- package/dist/components/solution-item-details.js +0 -13
- package/dist/components/solution-item-details.js.map +0 -1
- package/dist/components/solution-item-details2.js +0 -236
- package/dist/components/solution-item-details2.js.map +0 -1
- package/dist/components/solution-item-icon.d.ts +0 -11
- package/dist/components/solution-item-icon.js +0 -13
- package/dist/components/solution-item-icon.js.map +0 -1
- package/dist/components/solution-item-icon2.js +0 -344
- package/dist/components/solution-item-icon2.js.map +0 -1
- package/dist/components/solution-item-sharing.d.ts +0 -11
- package/dist/components/solution-item-sharing.js +0 -13
- package/dist/components/solution-item-sharing.js.map +0 -1
- package/dist/components/solution-item-sharing2.js +0 -169
- package/dist/components/solution-item-sharing2.js.map +0 -1
- package/dist/components/solution-item.d.ts +0 -11
- package/dist/components/solution-item.js +0 -13
- package/dist/components/solution-item.js.map +0 -1
- package/dist/components/solution-item2.js +0 -317
- package/dist/components/solution-item2.js.map +0 -1
- package/dist/components/solution-organization-variables.d.ts +0 -11
- package/dist/components/solution-organization-variables.js +0 -13
- package/dist/components/solution-organization-variables.js.map +0 -1
- package/dist/components/solution-organization-variables2.js +0 -134
- package/dist/components/solution-organization-variables2.js.map +0 -1
- package/dist/components/solution-resource-item.d.ts +0 -11
- package/dist/components/solution-resource-item.js +0 -13
- package/dist/components/solution-resource-item.js.map +0 -1
- package/dist/components/solution-resource-item2.js +0 -358
- package/dist/components/solution-resource-item2.js.map +0 -1
- package/dist/components/solution-spatial-ref.d.ts +0 -11
- package/dist/components/solution-spatial-ref.js +0 -13
- package/dist/components/solution-spatial-ref.js.map +0 -1
- package/dist/components/solution-spatial-ref2.js +0 -21448
- package/dist/components/solution-spatial-ref2.js.map +0 -1
- package/dist/components/solution-store.js +0 -4094
- package/dist/components/solution-store.js.map +0 -1
- package/dist/components/solution-template-data.d.ts +0 -11
- package/dist/components/solution-template-data.js +0 -13
- package/dist/components/solution-template-data.js.map +0 -1
- package/dist/components/solution-template-data2.js +0 -235
- package/dist/components/solution-template-data2.js.map +0 -1
- package/dist/components/solution-variables.d.ts +0 -11
- package/dist/components/solution-variables.js +0 -13
- package/dist/components/solution-variables.js.map +0 -1
- package/dist/components/solution-variables2.js +0 -152
- package/dist/components/solution-variables2.js.map +0 -1
- package/dist/components/sortable.esm.js +0 -3028
- package/dist/components/sortable.esm.js.map +0 -1
- package/dist/components/store-manager.d.ts +0 -11
- package/dist/components/store-manager.js +0 -85
- package/dist/components/store-manager.js.map +0 -1
- package/dist/components/switch.js +0 -141
- package/dist/components/switch.js.map +0 -1
- package/dist/components/tab-nav.js +0 -243
- package/dist/components/tab-nav.js.map +0 -1
- package/dist/components/tab-title.js +0 -278
- package/dist/components/tab-title.js.map +0 -1
- package/dist/components/tab.js +0 -156
- package/dist/components/tab.js.map +0 -1
- package/dist/components/tabs.js +0 -190
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/tile.js +0 -131
- package/dist/components/tile.js.map +0 -1
- package/dist/components/time-picker.js +0 -945
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/tooltip.js +0 -401
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/tree-item.js +0 -296
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/tree.js +0 -329
- package/dist/components/tree.js.map +0 -1
- package/dist/components/utils.js +0 -121
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js +0 -53
- package/dist/components/utils2.js.map +0 -1
- package/dist/components/value-list-item.js +0 -206
- package/dist/components/value-list-item.js.map +0 -1
- package/dist/components/value-list.js +0 -335
- package/dist/components/value-list.js.map +0 -1
- package/dist/esm/solution-store-b3c65467.js.map +0 -1
- package/dist/solutions-components/p-542189bc.entry.js.map +0 -1
- package/dist/solutions-components/p-638738f2.entry.js.map +0 -1
- package/dist/solutions-components/p-7e8985f2.entry.js.map +0 -1
- package/dist/solutions-components/p-b25f6ebe.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-input-number.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,mBAAmB,EAAE,uBAAuB;AAC9C,EAAE,oBAAoB,EAAE,gCAAgC;AACxD,EAAE,OAAO,EAAE,iBAAiB;AAC5B,EAAE,YAAY,EAAE,SAAS;AACzB,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,iBAAiB,EAAE,qBAAqB;AAC1C,EAAE,gBAAgB,EAAE,oBAAoB;AACxC,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;;AC1BD,MAAM,cAAc,GAAG,0xUAA0xU;;MCoBpyU,WAAW;EACtB;;;;;;;;;;;;;;IAOE,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC;;;;;;IAMzB,IAAI,CAAC,SA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,KAAK,EAAE,GAAG,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,gBAAgB,KAAK,UAAU,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,qBAAqB,GAAG,IAAI,EAAE,IAAI,CAAC,UAAU,GAAG,UAAU,GAAG,IAAI,EAAE,IAAI,CAAC,gBAAgB,KAAK,YAAY,IAAI,CAAC,IAAI,CAAC,QAAQ;QACnc,yBAAyB;QACzB,IAAI,EAAE,CAAC,CAAC,mBAAmB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE;GAC1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["COMMON_TEXT"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/input-number/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css?tag=calcite-input-number&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.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 numberButtonWrapper: \"number-button-wrapper\",\n buttonItemHorizontal: \"number-button-item--horizontal\",\n wrapper: \"element-wrapper\",\n inputWrapper: \"wrapper\",\n actionWrapper: \"action-wrapper\",\n resizeIconWrapper: \"resize-icon-wrapper\",\n numberButtonItem: \"number-button-item\"\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]) .number-button-wrapper, :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]) .number-button-wrapper, :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]) .number-button-wrapper, :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\n:host input {\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 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\n:host input {\n outline-color: transparent;\n}\n\n:host input: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\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.number-button-wrapper {\n pointer-events: none;\n order: 6;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n\n:host([number-button-type=vertical]) .wrapper {\n flex-direction: row;\n display: flex;\n}\n\n:host([number-button-type=vertical]) input {\n order: 2;\n}\n\n:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon {\n transform: rotate(-90deg);\n}\n:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon {\n transform: rotate(-90deg);\n}\n\n.number-button-item.number-button-item--horizontal[data-adjustment=down], .number-button-item.number-button-item--horizontal[data-adjustment=up] {\n order: 1;\n max-block-size: 100%;\n min-block-size: 100%;\n align-self: stretch;\n}\n.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon, .number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon {\n transform: rotate(90deg);\n}\n\n.number-button-item.number-button-item--horizontal[data-adjustment=down] {\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-input);\n border-inline-end-width: 0px;\n}\n.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover {\n background-color: var(--calcite-ui-foreground-2);\n}\n.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon {\n color: var(--calcite-ui-text-1);\n}\n\n.number-button-item.number-button-item--horizontal[data-adjustment=up] {\n order: 5;\n}\n.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover {\n background-color: var(--calcite-ui-foreground-2);\n}\n.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover {\n background-color: var(--calcite-ui-foreground-2);\n}\n:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover {\n background-color: var(--calcite-ui-foreground-2);\n}\n:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host([number-button-type=vertical]) .number-button-item[data-adjustment=down] {\n border-block-start-width: 0px;\n}\n\n.number-button-item {\n max-block-size: 50%;\n min-block-size: 50%;\n pointer-events: initial;\n margin: 0px;\n box-sizing: border-box;\n display: flex;\n cursor: pointer;\n align-items: center;\n align-self: center;\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 padding-block: 0px;\n padding-inline: 0.5rem;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n border-inline-start-width: 0px;\n}\n.number-button-item calcite-icon {\n pointer-events: none;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n.number-button-item:focus {\n background-color: var(--calcite-ui-foreground-2);\n}\n.number-button-item:focus calcite-icon {\n color: var(--calcite-ui-text-1);\n}\n.number-button-item:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n.number-button-item:disabled {\n pointer-events: none;\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:host .inline-child {\n background-color: transparent;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n:host .inline-child .editing-enabled {\n background-color: inherit;\n}\n\n:host .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, isPrimaryPointerButton, 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 { numberStringFormatter, defaultNumberingSystem, disconnectLocalized, connectLocalized, updateEffectiveLocale } from \"../../utils/locale\";\nimport { numberKeys } from \"../../utils/key\";\nimport { isValidNumber, parseNumberString, sanitizeNumberString } from \"../../utils/number\";\nimport { CSS_UTILITY, TEXT as COMMON_TEXT } from \"../../utils/resources\";\nimport { decimalPlaces } from \"../../utils/math\";\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 InputNumber {\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`, number values are displayed with a group separator corresponding to the language and country format.\n */\n this.groupSeparator = 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 * Toggles locale formatting for numbers.\n *\n * @internal\n */\n this.localeFormat = false;\n /** Specifies the placement of the buttons. */\n this.numberButtonType = \"vertical\";\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 // State\n //\n //--------------------------------------------------------------------------\n this.effectiveLocale = \"\";\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.clearInputValue(event);\n event.preventDefault();\n }\n if (event.key === \"Enter\" && !event.defaultPrevented) {\n if (submitForm(this)) {\n event.preventDefault();\n }\n }\n };\n this.clearInputValue = (nativeEvent) => {\n this.setNumberValue({\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.calciteInputNumberChange.emit();\n }\n this.previousEmittedValue = this.value;\n };\n this.inputNumberBlurHandler = () => {\n this.calciteInternalInputNumberBlur.emit();\n this.emitChangeIfUserModified();\n };\n this.inputNumberFocusHandler = (event) => {\n const slottedActionEl = getSlotted(this.el, \"action\");\n if (event.target !== slottedActionEl) {\n this.setFocus();\n }\n this.calciteInternalInputNumberFocus.emit();\n };\n this.inputNumberInputHandler = (nativeEvent) => {\n if (this.disabled || this.readOnly) {\n return;\n }\n const value = nativeEvent.target.value;\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator\n };\n const delocalizedValue = numberStringFormatter.delocalize(value);\n if (nativeEvent.inputType === \"insertFromPaste\") {\n if (!isValidNumber(delocalizedValue)) {\n nativeEvent.preventDefault();\n }\n this.setNumberValue({\n nativeEvent,\n origin: \"user\",\n value: parseNumberString(delocalizedValue)\n });\n this.childNumberEl.value = this.localizedValue;\n }\n else {\n this.setNumberValue({\n nativeEvent,\n origin: \"user\",\n value: delocalizedValue\n });\n }\n };\n this.inputNumberKeyDownHandler = (event) => {\n if (this.disabled || this.readOnly) {\n return;\n }\n if (event.key === \"ArrowUp\") {\n /* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */\n event.preventDefault();\n this.nudgeNumberValue(\"up\", event);\n return;\n }\n if (event.key === \"ArrowDown\") {\n this.nudgeNumberValue(\"down\", event);\n return;\n }\n const supportedKeys = [\n ...numberKeys,\n \"ArrowLeft\",\n \"ArrowRight\",\n \"Backspace\",\n \"Delete\",\n \"Enter\",\n \"Escape\",\n \"Tab\"\n ];\n if (event.altKey || event.ctrlKey || event.metaKey) {\n return;\n }\n const isShiftTabEvent = event.shiftKey && event.key === \"Tab\";\n if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {\n if (event.key === \"Enter\") {\n this.emitChangeIfUserModified();\n }\n return;\n }\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator\n };\n if (event.key === numberStringFormatter.decimal) {\n if (!this.value && !this.childNumberEl.value) {\n return;\n }\n if (this.value && this.childNumberEl.value.indexOf(numberStringFormatter.decimal) === -1) {\n return;\n }\n }\n if (/[eE]/.test(event.key)) {\n if (!this.value && !this.childNumberEl.value) {\n return;\n }\n if (this.value && !/[eE]/.test(this.childNumberEl.value)) {\n return;\n }\n }\n if (event.key === \"-\") {\n if (!this.value && !this.childNumberEl.value) {\n return;\n }\n if (this.value && this.childNumberEl.value.split(\"-\").length <= 2) {\n return;\n }\n }\n event.preventDefault();\n };\n this.nudgeNumberValue = (direction, nativeEvent) => {\n if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {\n return;\n }\n const inputMax = this.maxString ? parseFloat(this.maxString) : null;\n const inputMin = this.minString ? parseFloat(this.minString) : null;\n const valueNudgeDelayInMs = 100;\n this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);\n if (this.nudgeNumberValueIntervalId) {\n window.clearInterval(this.nudgeNumberValueIntervalId);\n }\n let firstValueNudge = true;\n this.nudgeNumberValueIntervalId = window.setInterval(() => {\n if (firstValueNudge) {\n firstValueNudge = false;\n return;\n }\n this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);\n }, valueNudgeDelayInMs);\n };\n this.nudgeButtonPointerUpAndOutHandler = (event) => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n window.clearInterval(this.nudgeNumberValueIntervalId);\n };\n this.nudgeButtonPointerDownHandler = (event) => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n event.preventDefault();\n const direction = event.target.dataset.adjustment;\n if (!this.disabled) {\n this.nudgeNumberValue(direction, event);\n }\n };\n this.hiddenInputChangeHandler = (event) => {\n if (event.target.name === this.name) {\n this.setNumberValue({\n value: event.target.value,\n origin: \"direct\"\n });\n }\n event.stopPropagation();\n };\n this.setChildNumberElRef = (el) => {\n this.childNumberEl = el;\n };\n this.setInputNumberValue = (newInputValue) => {\n if (!this.childNumberEl) {\n return;\n }\n this.childNumberEl.value = newInputValue;\n };\n this.setPreviousEmittedNumberValue = (newPreviousEmittedValue) => {\n this.previousEmittedValue = isValidNumber(newPreviousEmittedValue)\n ? newPreviousEmittedValue\n : \"\";\n };\n this.setPreviousNumberValue = (newPreviousValue) => {\n this.previousValue = isValidNumber(newPreviousValue) ? newPreviousValue : \"\";\n };\n this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {\n numberStringFormatter.numberFormatOptions = {\n locale: this.effectiveLocale,\n numberingSystem: this.numberingSystem,\n useGrouping: this.groupSeparator\n };\n const sanitizedValue = sanitizeNumberString((this.numberingSystem && this.numberingSystem !== \"latn\") || defaultNumberingSystem !== \"latn\"\n ? numberStringFormatter.delocalize(value)\n : value);\n const newValue = value && !sanitizedValue\n ? isValidNumber(this.previousValue)\n ? this.previousValue\n : \"\"\n : sanitizedValue;\n const newLocalizedValue = numberStringFormatter.localize(newValue);\n this.setPreviousNumberValue(previousValue || this.value);\n this.previousValueOrigin = origin;\n this.userChangedValue = origin === \"user\" && this.value !== newValue;\n this.value = newValue;\n this.localizedValue = newLocalizedValue;\n if (origin === \"direct\") {\n this.setInputNumberValue(newLocalizedValue);\n }\n if (nativeEvent) {\n const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit({\n element: this.childNumberEl,\n nativeEvent,\n value: this.value\n });\n if (calciteInputNumberInputEvent.defaultPrevented) {\n const previousLocalizedValue = numberStringFormatter.localize(this.previousValue);\n this.value = this.previousValue;\n this.localizedValue = previousLocalizedValue;\n }\n else if (committing) {\n this.emitChangeIfUserModified();\n }\n }\n };\n this.inputNumberKeyUpHandler = () => {\n window.clearInterval(this.nudgeNumberValueIntervalId);\n };\n }\n disabledWatcher() {\n this.setDisabledAction();\n }\n localeChanged() {\n updateEffectiveLocale(this);\n }\n /** watcher to update number-to-string for max */\n maxWatcher() {\n var _a;\n this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;\n }\n /** watcher to update number-to-string for min */\n minWatcher() {\n var _a;\n this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;\n }\n valueWatcher(newValue, previousValue) {\n if (!this.userChangedValue) {\n this.setNumberValue({\n origin: \"direct\",\n previousValue,\n value: newValue == null || newValue == \"\"\n ? \"\"\n : isValidNumber(newValue)\n ? newValue\n : this.previousValue || \"\"\n });\n this.warnAboutInvalidNumberValue(newValue);\n }\n this.userChangedValue = false;\n }\n updateRequestedIcon() {\n this.requestedIcon = setRequestedIcon({}, this.icon, \"number\");\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 connectLocalized(this);\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 connectLabel(this);\n connectForm(this);\n this.setPreviousEmittedNumberValue(this.value);\n this.setPreviousNumberValue(this.value);\n this.warnAboutInvalidNumberValue(this.value);\n this.setNumberValue({\n origin: \"connected\",\n value: isValidNumber(this.value) ? this.value : \"\"\n });\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 disconnectLocalized(this);\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n this.el.removeEventListener(\"calciteInternalHiddenInputChange\", this.hiddenInputChangeHandler);\n }\n componentWillLoad() {\n var _a, _b;\n this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();\n this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();\n this.requestedIcon = setRequestedIcon({}, this.icon, \"number\");\n }\n componentShouldUpdate(newValue, oldValue, property) {\n if (property === \"value\" && newValue && !isValidNumber(newValue)) {\n this.setNumberValue({\n origin: \"reset\",\n value: oldValue\n });\n return false;\n }\n return true;\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.childNumberEl) === 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.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();\n }\n onLabelClick() {\n this.setFocus();\n }\n incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {\n const { value } = this;\n const inputStep = this.step === \"any\" ? 1 : Math.abs(this.step || 1);\n const inputVal = value && value !== \"\" ? parseFloat(value) : 0;\n const adjustment = direction === \"up\" ? 1 : -1;\n const nudgedValue = inputVal + inputStep * adjustment;\n const finalValue = (typeof inputMin === \"number\" && !isNaN(inputMin) && nudgedValue < inputMin) ||\n (typeof inputMax === \"number\" && !isNaN(inputMax) && nudgedValue > inputMax)\n ? inputVal\n : nudgedValue;\n const inputValPlaces = decimalPlaces(inputVal);\n const inputStepPlaces = decimalPlaces(inputStep);\n this.setNumberValue({\n committing: true,\n nativeEvent,\n origin: \"user\",\n value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))\n });\n }\n onFormReset() {\n this.setNumberValue({\n origin: \"reset\",\n value: this.defaultValue\n });\n }\n syncHiddenFormInput(input) {\n var _a, _b, _c, _d;\n input.type = \"number\";\n input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : \"\";\n input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : \"\";\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 warnAboutInvalidNumberValue(value) {\n if (value && !isValidNumber(value)) {\n console.warn(`The specified value \"${value}\" cannot be parsed, or is out of range.`);\n }\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.clearInputValue, 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 isHorizontalNumberButton = this.numberButtonType === \"horizontal\";\n const numberButtonsHorizontalUp = (h(\"button\", { \"aria-hidden\": \"true\", class: {\n [CSS.numberButtonItem]: true,\n [CSS.buttonItemHorizontal]: isHorizontalNumberButton\n }, \"data-adjustment\": \"up\", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: \"button\" }, h(\"calcite-icon\", { icon: \"chevron-up\", scale: \"s\" })));\n const numberButtonsHorizontalDown = (h(\"button\", { \"aria-hidden\": \"true\", class: {\n [CSS.numberButtonItem]: true,\n [CSS.buttonItemHorizontal]: isHorizontalNumberButton\n }, \"data-adjustment\": \"down\", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: \"button\" }, h(\"calcite-icon\", { icon: \"chevron-down\", scale: \"s\" })));\n const numberButtonsVertical = (h(\"div\", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));\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, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: \"localized-input\", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || \"\", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: \"text\", value: this.localizedValue }));\n return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h(\"div\", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === \"rtl\" } }, this.numberButtonType === \"horizontal\" && !this.readOnly\n ? numberButtonsHorizontalDown\n : null, 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.numberButtonType === \"vertical\" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === \"horizontal\" && !this.readOnly\n ? numberButtonsHorizontalUp\n : null, h(HiddenFormInputSlot, { component: this }))));\n }\n static get is() { return \"calcite-input-number\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"input-number.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"input-number.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 \"groupSeparator\": {\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`, number values are displayed with a group separator corresponding to the language and country format.\"\n },\n \"attribute\": \"group-separator\",\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 \"locale\": {\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\": \"deprecated\",\n \"text\": \"set the global `lang` attribute on the element instead.\"\n }, {\n \"name\": \"mdn\",\n \"text\": \"[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)\"\n }],\n \"text\": \"Specifies the BCP 47 language tag for the desired language and country format.\"\n },\n \"attribute\": \"locale\",\n \"reflect\": false\n },\n \"numberingSystem\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"NumberingSystem\",\n \"resolved\": \"\\\"arab\\\" | \\\"arabext\\\" | \\\"bali\\\" | \\\"beng\\\" | \\\"deva\\\" | \\\"fullwide\\\" | \\\"gujr\\\" | \\\"guru\\\" | \\\"hanidec\\\" | \\\"khmr\\\" | \\\"knda\\\" | \\\"laoo\\\" | \\\"latn\\\" | \\\"limb\\\" | \\\"mlym\\\" | \\\"mong\\\" | \\\"mymr\\\" | \\\"orya\\\" | \\\"tamldec\\\" | \\\"telu\\\" | \\\"thai\\\" | \\\"tibt\\\"\",\n \"references\": {\n \"NumberingSystem\": {\n \"location\": \"import\",\n \"path\": \"../../utils/locale\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the Unicode numeral system used by the component for localization.\"\n },\n \"attribute\": \"numbering-system\",\n \"reflect\": true\n },\n \"localeFormat\": {\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\": \"Toggles locale formatting for numbers.\"\n },\n \"attribute\": \"locale-format\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"max\": {\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\": \"[max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)\"\n }],\n \"text\": \"Specifies the maximum value.\"\n },\n \"attribute\": \"max\",\n \"reflect\": true\n },\n \"min\": {\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\": \"[min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)\"\n }],\n \"text\": \"Specifies the minimum value.\"\n },\n \"attribute\": \"min\",\n \"reflect\": true\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 \"numberButtonType\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"InputPlacement\",\n \"resolved\": \"\\\"horizontal\\\" | \\\"none\\\" | \\\"vertical\\\"\",\n \"references\": {\n \"InputPlacement\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the placement of the buttons.\"\n },\n \"attribute\": \"number-button-type\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"vertical\\\"\"\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 \"step\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number | \\\"any\\\"\",\n \"resolved\": \"\\\"any\\\" | number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"mdn\",\n \"text\": \"[step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)\"\n }],\n \"text\": \"Specifies the granularity that the component's value must adhere to.\"\n },\n \"attribute\": \"step\",\n \"reflect\": true\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 states() {\n return {\n \"effectiveLocale\": {},\n \"localizedValue\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteInternalInputNumberFocus\",\n \"name\": \"calciteInternalInputNumberFocus\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteInternalInputNumberBlur\",\n \"name\": \"calciteInternalInputNumberBlur\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteInputNumberInput\",\n \"name\": \"calciteInputNumberInput\",\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**Note:**: The `el` and `value` event payload props are deprecated, please use the event's `target`/`currentTarget` 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\": \"calciteInputNumberChange\",\n \"name\": \"calciteInputNumberChange\",\n \"bubbles\": true,\n \"cancelable\": false,\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\": \"locale\",\n \"methodName\": \"localeChanged\"\n }, {\n \"propName\": \"max\",\n \"methodName\": \"maxWatcher\"\n }, {\n \"propName\": \"min\",\n \"methodName\": \"minWatcher\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueWatcher\"\n }, {\n \"propName\": \"icon\",\n \"methodName\": \"updateRequestedIcon\"\n }];\n }\n}\n"],"version":3}
|
@@ -1,402 +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 { T as TEXT$1, b as getSlotted, s as setRequestedIcon, g as getElementProp, c as getElementDir, C as CSS_UTILITY } from './dom.js';
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
|
9
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
10
|
-
import { c as createObserver } from './observers.js';
|
11
|
-
import { u as updateHostInteraction } from './interactive.js';
|
12
|
-
import { d as defineCustomElement$3 } from './icon.js';
|
13
|
-
import { d as defineCustomElement$2 } from './progress.js';
|
14
|
-
|
15
|
-
/*!
|
16
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
17
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
18
|
-
* v1.0.0-beta.97
|
19
|
-
*/
|
20
|
-
const CSS = {
|
21
|
-
loader: "loader",
|
22
|
-
clearButton: "clear-button",
|
23
|
-
editingEnabled: "editing-enabled",
|
24
|
-
inlineChild: "inline-child",
|
25
|
-
inputIcon: "icon",
|
26
|
-
prefix: "prefix",
|
27
|
-
suffix: "suffix",
|
28
|
-
wrapper: "element-wrapper",
|
29
|
-
inputWrapper: "wrapper",
|
30
|
-
actionWrapper: "action-wrapper",
|
31
|
-
resizeIconWrapper: "resize-icon-wrapper"
|
32
|
-
};
|
33
|
-
const SLOTS = {
|
34
|
-
action: "action"
|
35
|
-
};
|
36
|
-
const TEXT = {
|
37
|
-
clear: "Clear value"
|
38
|
-
};
|
39
|
-
|
40
|
-
const inputTextCss = "@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:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:1;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}.inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.inline-child .editing-enabled{background-color:inherit}.inline-child:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
41
|
-
|
42
|
-
const InputText = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
43
|
-
constructor() {
|
44
|
-
super();
|
45
|
-
this.__registerHost();
|
46
|
-
this.__attachShadow();
|
47
|
-
this.calciteInternalInputTextFocus = createEvent(this, "calciteInternalInputTextFocus", 7);
|
48
|
-
this.calciteInternalInputTextBlur = createEvent(this, "calciteInternalInputTextBlur", 7);
|
49
|
-
this.calciteInputTextInput = createEvent(this, "calciteInputTextInput", 7);
|
50
|
-
this.calciteInputTextChange = createEvent(this, "calciteInputTextChange", 7);
|
51
|
-
//--------------------------------------------------------------------------
|
52
|
-
//
|
53
|
-
// Properties
|
54
|
-
//
|
55
|
-
//--------------------------------------------------------------------------
|
56
|
-
/** Specifies the text alignment of the component's value. */
|
57
|
-
this.alignment = "start";
|
58
|
-
/**
|
59
|
-
* When `true`, the component is focused on page load.
|
60
|
-
*
|
61
|
-
* @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
|
62
|
-
*/
|
63
|
-
this.autofocus = false;
|
64
|
-
/**
|
65
|
-
* When `true`, a clear button is displayed when the component has a value.
|
66
|
-
*/
|
67
|
-
this.clearable = false;
|
68
|
-
/**
|
69
|
-
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
70
|
-
*
|
71
|
-
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
72
|
-
*/
|
73
|
-
this.disabled = false;
|
74
|
-
/**
|
75
|
-
* When `true`, the component will not be visible.
|
76
|
-
*
|
77
|
-
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
78
|
-
*/
|
79
|
-
this.hidden = false;
|
80
|
-
/**
|
81
|
-
* Accessible name that will appear while loading.
|
82
|
-
*
|
83
|
-
* @default "Loading"
|
84
|
-
*/
|
85
|
-
this.intlLoading = TEXT$1.loading;
|
86
|
-
/** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
|
87
|
-
this.iconFlipRtl = false;
|
88
|
-
/** When `true`, the component is in the loading state and `calcite-progress` is displayed. */
|
89
|
-
this.loading = false;
|
90
|
-
/**
|
91
|
-
* When `true`, the component's value can be read, but cannot be modified.
|
92
|
-
*
|
93
|
-
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
94
|
-
*/
|
95
|
-
this.readOnly = false;
|
96
|
-
/** When `true`, the component must have a value in order for the form to submit. */
|
97
|
-
this.required = false;
|
98
|
-
/** Specifies the size of the component. */
|
99
|
-
this.scale = "m";
|
100
|
-
/** Specifies the status of the input field, which determines message and icons. */
|
101
|
-
this.status = "idle";
|
102
|
-
/**
|
103
|
-
* @internal
|
104
|
-
*/
|
105
|
-
this.editingEnabled = false;
|
106
|
-
/** The component's value. */
|
107
|
-
this.value = "";
|
108
|
-
this.previousValueOrigin = "initial";
|
109
|
-
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
110
|
-
this.userChangedValue = false;
|
111
|
-
//--------------------------------------------------------------------------
|
112
|
-
//
|
113
|
-
// Private Methods
|
114
|
-
//
|
115
|
-
//--------------------------------------------------------------------------
|
116
|
-
this.keyDownHandler = (event) => {
|
117
|
-
if (this.readOnly || this.disabled) {
|
118
|
-
return;
|
119
|
-
}
|
120
|
-
if (this.isClearable && event.key === "Escape") {
|
121
|
-
this.clearInputTextValue(event);
|
122
|
-
event.preventDefault();
|
123
|
-
}
|
124
|
-
if (event.key === "Enter" && !event.defaultPrevented) {
|
125
|
-
if (submitForm(this)) {
|
126
|
-
event.preventDefault();
|
127
|
-
}
|
128
|
-
}
|
129
|
-
};
|
130
|
-
this.clearInputTextValue = (nativeEvent) => {
|
131
|
-
this.setValue({
|
132
|
-
committing: true,
|
133
|
-
nativeEvent,
|
134
|
-
origin: "user",
|
135
|
-
value: ""
|
136
|
-
});
|
137
|
-
};
|
138
|
-
this.emitChangeIfUserModified = () => {
|
139
|
-
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
140
|
-
this.calciteInputTextChange.emit();
|
141
|
-
}
|
142
|
-
this.previousEmittedValue = this.value;
|
143
|
-
};
|
144
|
-
this.inputTextBlurHandler = () => {
|
145
|
-
this.calciteInternalInputTextBlur.emit({
|
146
|
-
element: this.childEl,
|
147
|
-
value: this.value
|
148
|
-
});
|
149
|
-
this.emitChangeIfUserModified();
|
150
|
-
};
|
151
|
-
this.inputTextFocusHandler = (event) => {
|
152
|
-
const slottedActionEl = getSlotted(this.el, "action");
|
153
|
-
if (event.target !== slottedActionEl) {
|
154
|
-
this.setFocus();
|
155
|
-
}
|
156
|
-
this.calciteInternalInputTextFocus.emit({
|
157
|
-
element: this.childEl,
|
158
|
-
value: this.value
|
159
|
-
});
|
160
|
-
};
|
161
|
-
this.inputTextInputHandler = (nativeEvent) => {
|
162
|
-
if (this.disabled || this.readOnly) {
|
163
|
-
return;
|
164
|
-
}
|
165
|
-
this.setValue({
|
166
|
-
nativeEvent,
|
167
|
-
origin: "user",
|
168
|
-
value: nativeEvent.target.value
|
169
|
-
});
|
170
|
-
};
|
171
|
-
this.inputTextKeyDownHandler = (event) => {
|
172
|
-
if (this.disabled || this.readOnly) {
|
173
|
-
return;
|
174
|
-
}
|
175
|
-
if (event.key === "Enter") {
|
176
|
-
this.emitChangeIfUserModified();
|
177
|
-
}
|
178
|
-
};
|
179
|
-
this.hiddenInputChangeHandler = (event) => {
|
180
|
-
if (event.target.name === this.name) {
|
181
|
-
this.setValue({
|
182
|
-
value: event.target.value,
|
183
|
-
origin: "direct"
|
184
|
-
});
|
185
|
-
}
|
186
|
-
event.stopPropagation();
|
187
|
-
};
|
188
|
-
this.setChildElRef = (el) => {
|
189
|
-
this.childEl = el;
|
190
|
-
};
|
191
|
-
this.setInputValue = (newInputValue) => {
|
192
|
-
if (!this.childEl) {
|
193
|
-
return;
|
194
|
-
}
|
195
|
-
this.childEl.value = newInputValue;
|
196
|
-
};
|
197
|
-
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
198
|
-
this.previousEmittedValue = newPreviousEmittedValue;
|
199
|
-
};
|
200
|
-
this.setPreviousValue = (newPreviousValue) => {
|
201
|
-
this.previousValue = newPreviousValue;
|
202
|
-
};
|
203
|
-
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
204
|
-
this.setPreviousValue(previousValue || this.value);
|
205
|
-
this.previousValueOrigin = origin;
|
206
|
-
this.userChangedValue = origin === "user" && value !== this.value;
|
207
|
-
this.value = value;
|
208
|
-
if (origin === "direct") {
|
209
|
-
this.setInputValue(value);
|
210
|
-
}
|
211
|
-
if (nativeEvent) {
|
212
|
-
const calciteInputTextInputEvent = this.calciteInputTextInput.emit({
|
213
|
-
element: this.childEl,
|
214
|
-
nativeEvent,
|
215
|
-
value: this.value
|
216
|
-
});
|
217
|
-
if (calciteInputTextInputEvent.defaultPrevented) {
|
218
|
-
this.value = this.previousValue;
|
219
|
-
}
|
220
|
-
else if (committing) {
|
221
|
-
this.emitChangeIfUserModified();
|
222
|
-
}
|
223
|
-
}
|
224
|
-
};
|
225
|
-
}
|
226
|
-
disabledWatcher() {
|
227
|
-
this.setDisabledAction();
|
228
|
-
}
|
229
|
-
valueWatcher(newValue, previousValue) {
|
230
|
-
if (!this.userChangedValue) {
|
231
|
-
this.setValue({
|
232
|
-
origin: "direct",
|
233
|
-
previousValue,
|
234
|
-
value: !newValue ? "" : newValue
|
235
|
-
});
|
236
|
-
}
|
237
|
-
this.userChangedValue = false;
|
238
|
-
}
|
239
|
-
updateRequestedIcon() {
|
240
|
-
this.requestedIcon = setRequestedIcon({}, this.icon, "text");
|
241
|
-
}
|
242
|
-
get isClearable() {
|
243
|
-
return this.clearable && this.value.length > 0;
|
244
|
-
}
|
245
|
-
//--------------------------------------------------------------------------
|
246
|
-
//
|
247
|
-
// Lifecycle
|
248
|
-
//
|
249
|
-
//--------------------------------------------------------------------------
|
250
|
-
connectedCallback() {
|
251
|
-
var _a;
|
252
|
-
this.scale = getElementProp(this.el, "scale", this.scale);
|
253
|
-
this.status = getElementProp(this.el, "status", this.status);
|
254
|
-
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
255
|
-
if (this.inlineEditableEl) {
|
256
|
-
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
257
|
-
}
|
258
|
-
this.setPreviousEmittedValue(this.value);
|
259
|
-
this.setPreviousValue(this.value);
|
260
|
-
connectLabel(this);
|
261
|
-
connectForm(this);
|
262
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
|
263
|
-
this.setDisabledAction();
|
264
|
-
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
265
|
-
}
|
266
|
-
disconnectedCallback() {
|
267
|
-
var _a;
|
268
|
-
disconnectLabel(this);
|
269
|
-
disconnectForm(this);
|
270
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
271
|
-
this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
272
|
-
}
|
273
|
-
componentWillLoad() {
|
274
|
-
this.requestedIcon = setRequestedIcon({}, this.icon, "text");
|
275
|
-
}
|
276
|
-
componentDidRender() {
|
277
|
-
updateHostInteraction(this);
|
278
|
-
}
|
279
|
-
//--------------------------------------------------------------------------
|
280
|
-
//
|
281
|
-
// Public Methods
|
282
|
-
//
|
283
|
-
//--------------------------------------------------------------------------
|
284
|
-
/** Sets focus on the component. */
|
285
|
-
async setFocus() {
|
286
|
-
var _a;
|
287
|
-
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.focus();
|
288
|
-
}
|
289
|
-
/** Selects all text of the component's `value`. */
|
290
|
-
async selectText() {
|
291
|
-
var _a;
|
292
|
-
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.select();
|
293
|
-
}
|
294
|
-
onLabelClick() {
|
295
|
-
this.setFocus();
|
296
|
-
}
|
297
|
-
onFormReset() {
|
298
|
-
this.setValue({
|
299
|
-
origin: "reset",
|
300
|
-
value: this.defaultValue
|
301
|
-
});
|
302
|
-
}
|
303
|
-
syncHiddenFormInput(input) {
|
304
|
-
if (this.minLength != null) {
|
305
|
-
input.minLength = this.minLength;
|
306
|
-
}
|
307
|
-
if (this.maxLength != null) {
|
308
|
-
input.maxLength = this.maxLength;
|
309
|
-
}
|
310
|
-
}
|
311
|
-
setDisabledAction() {
|
312
|
-
const slottedActionEl = getSlotted(this.el, "action");
|
313
|
-
if (!slottedActionEl) {
|
314
|
-
return;
|
315
|
-
}
|
316
|
-
this.disabled
|
317
|
-
? slottedActionEl.setAttribute("disabled", "")
|
318
|
-
: slottedActionEl.removeAttribute("disabled");
|
319
|
-
}
|
320
|
-
// --------------------------------------------------------------------------
|
321
|
-
//
|
322
|
-
// Render Methods
|
323
|
-
//
|
324
|
-
// --------------------------------------------------------------------------
|
325
|
-
render() {
|
326
|
-
const dir = getElementDir(this.el);
|
327
|
-
const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
328
|
-
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" })));
|
329
|
-
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
330
|
-
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
331
|
-
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
332
|
-
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
333
|
-
[CSS.editingEnabled]: this.editingEnabled,
|
334
|
-
[CSS.inlineChild]: !!this.inlineEditableEl
|
335
|
-
}, 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 }));
|
336
|
-
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 }))));
|
337
|
-
}
|
338
|
-
get el() { return this; }
|
339
|
-
static get watchers() { return {
|
340
|
-
"disabled": ["disabledWatcher"],
|
341
|
-
"value": ["valueWatcher"],
|
342
|
-
"icon": ["updateRequestedIcon"]
|
343
|
-
}; }
|
344
|
-
static get style() { return inputTextCss; }
|
345
|
-
}, [1, "calcite-input-text", {
|
346
|
-
"alignment": [513],
|
347
|
-
"autofocus": [516],
|
348
|
-
"clearable": [516],
|
349
|
-
"disabled": [516],
|
350
|
-
"hidden": [516],
|
351
|
-
"icon": [520],
|
352
|
-
"intlClear": [1, "intl-clear"],
|
353
|
-
"intlLoading": [1, "intl-loading"],
|
354
|
-
"iconFlipRtl": [516, "icon-flip-rtl"],
|
355
|
-
"label": [1],
|
356
|
-
"loading": [516],
|
357
|
-
"maxLength": [514, "max-length"],
|
358
|
-
"minLength": [514, "min-length"],
|
359
|
-
"name": [513],
|
360
|
-
"placeholder": [1],
|
361
|
-
"prefixText": [1, "prefix-text"],
|
362
|
-
"readOnly": [516, "read-only"],
|
363
|
-
"required": [516],
|
364
|
-
"scale": [1537],
|
365
|
-
"status": [1537],
|
366
|
-
"suffixText": [1, "suffix-text"],
|
367
|
-
"editingEnabled": [1540, "editing-enabled"],
|
368
|
-
"value": [1025],
|
369
|
-
"setFocus": [64],
|
370
|
-
"selectText": [64]
|
371
|
-
}]);
|
372
|
-
function defineCustomElement$1() {
|
373
|
-
if (typeof customElements === "undefined") {
|
374
|
-
return;
|
375
|
-
}
|
376
|
-
const components = ["calcite-input-text", "calcite-icon", "calcite-progress"];
|
377
|
-
components.forEach(tagName => { switch (tagName) {
|
378
|
-
case "calcite-input-text":
|
379
|
-
if (!customElements.get(tagName)) {
|
380
|
-
customElements.define(tagName, InputText);
|
381
|
-
}
|
382
|
-
break;
|
383
|
-
case "calcite-icon":
|
384
|
-
if (!customElements.get(tagName)) {
|
385
|
-
defineCustomElement$3();
|
386
|
-
}
|
387
|
-
break;
|
388
|
-
case "calcite-progress":
|
389
|
-
if (!customElements.get(tagName)) {
|
390
|
-
defineCustomElement$2();
|
391
|
-
}
|
392
|
-
break;
|
393
|
-
} });
|
394
|
-
}
|
395
|
-
defineCustomElement$1();
|
396
|
-
|
397
|
-
const CalciteInputText = InputText;
|
398
|
-
const defineCustomElement = defineCustomElement$1;
|
399
|
-
|
400
|
-
export { CalciteInputText, defineCustomElement };
|
401
|
-
|
402
|
-
//# sourceMappingURL=calcite-input-text.js.map
|