@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,85 +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 } from '@stencil/core/internal/client';
|
7
|
-
|
8
|
-
const StoreManager$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
9
|
-
constructor() {
|
10
|
-
super();
|
11
|
-
this.__registerHost();
|
12
|
-
this.stateLoaded = createEvent(this, "stateLoaded", 7);
|
13
|
-
this.value = "";
|
14
|
-
this.templates = [];
|
15
|
-
this.authentication = undefined;
|
16
|
-
}
|
17
|
-
//--------------------------------------------------------------------------
|
18
|
-
//
|
19
|
-
// Lifecycle
|
20
|
-
//
|
21
|
-
//--------------------------------------------------------------------------
|
22
|
-
connectedCallback() {
|
23
|
-
this._initValueObserver();
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* Renders the component.
|
27
|
-
*/
|
28
|
-
render() {
|
29
|
-
return (null);
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Initialize the observer that will monitor and respond to changes in the value.
|
33
|
-
* When we get a new value we are dealinmg with a new solution and need to fetch the items data and load the state.
|
34
|
-
*/
|
35
|
-
_initValueObserver() {
|
36
|
-
//const self = this;
|
37
|
-
this._valueObserver = new MutationObserver(ml => {
|
38
|
-
ml.some(mutation => {
|
39
|
-
const newValue = mutation.target[mutation.attributeName];
|
40
|
-
if (mutation.type === 'attributes' && mutation.attributeName === "value" &&
|
41
|
-
newValue !== mutation.oldValue && newValue !== "") {
|
42
|
-
/*
|
43
|
-
const v = JSON.parse(newValue);
|
44
|
-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
45
|
-
getItemDataAsJson(v, self.authentication).then(data => {
|
46
|
-
state.models = getModels(Array.isArray(v) ? v : [v], self.authentication, v);
|
47
|
-
state.featureServices = getFeatureServices(Array.isArray(v) ? v : [v])
|
48
|
-
state.get("spatialReferenceInfo") = getSpatialReferenceInfo(state.featureServices, data);
|
49
|
-
self.templates = v;
|
50
|
-
self.stateLoaded.emit(state);
|
51
|
-
});
|
52
|
-
*/
|
53
|
-
return true;
|
54
|
-
}
|
55
|
-
});
|
56
|
-
});
|
57
|
-
this._valueObserver.observe(this.el, { attributes: true, attributeOldValue: true });
|
58
|
-
}
|
59
|
-
get el() { return this; }
|
60
|
-
}, [0, "store-manager", {
|
61
|
-
"value": [1537],
|
62
|
-
"templates": [1040],
|
63
|
-
"authentication": [1040]
|
64
|
-
}]);
|
65
|
-
function defineCustomElement$1() {
|
66
|
-
if (typeof customElements === "undefined") {
|
67
|
-
return;
|
68
|
-
}
|
69
|
-
const components = ["store-manager"];
|
70
|
-
components.forEach(tagName => { switch (tagName) {
|
71
|
-
case "store-manager":
|
72
|
-
if (!customElements.get(tagName)) {
|
73
|
-
customElements.define(tagName, StoreManager$1);
|
74
|
-
}
|
75
|
-
break;
|
76
|
-
} });
|
77
|
-
}
|
78
|
-
defineCustomElement$1();
|
79
|
-
|
80
|
-
const StoreManager = StoreManager$1;
|
81
|
-
const defineCustomElement = defineCustomElement$1;
|
82
|
-
|
83
|
-
export { StoreManager, defineCustomElement };
|
84
|
-
|
85
|
-
//# sourceMappingURL=store-manager.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"store-manager.js","mappings":";;;;;;;MAmCaA,cAAY;;;;;iBAmByB,EAAE;qBAKS,EAAE;;;;;;;;EAa7D,iBAAiB;IACf,IAAI,CAAC,kBAAkB,EAAE,CAAC;GAC3B;;;;EAKD,MAAM;IACJ,QAAQ,IAAI,EAAE;GACf;;;;;EAsBS,kBAAkB;;IAE1B,IAAI,CAAC,cAAc,GAAG,IAAI,gBAAgB,CAAC,EAAE;MAC3C,EAAE,CAAC,IAAI,CAAC,QAAQ;QACd,MAAM,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QACzD,IAAI,QAAQ,CAAC,IAAI,KAAK,YAAY,IAAI,QAAQ,CAAC,aAAa,KAAK,OAAO;UACtE,QAAQ,KAAK,QAAQ,CAAC,QAAQ,IAAI,QAAQ,KAAK,EAAE,EAAE;;;;;;;;;;;;UAYnD,OAAO,IAAI,CAAC;SACb;OACF,CAAC,CAAA;KACH,CAAC,CAAC;IACH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC;GACrF;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["StoreManager"],"sources":["./src/components/store-manager/store-manager.tsx"],"sourcesContent":["/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n/**\r\n * The json-editor componet leverages a stencil/store to manage data.\r\n * If a component uses the json-editor but does not have logic to hydrate the store this component can be used.\r\n * It will create and hydrate the store based on the value provided.\r\n *\r\n * The value must be a string so it can be observed by the MutationObserver implemented below.\r\n * The observer does not notify when passing complex attributes as you can with stencil.\r\n *\r\n *\r\n*/\r\n\r\nimport { Component, Element, Event, EventEmitter, Prop, VNode } from '@stencil/core';\r\n//import { state } from '../../utils/editStore';\r\nimport { /*getItemDataAsJson,*/ UserSession } from '@esri/solution-common';\r\n\r\n@Component({\r\n tag: 'store-manager',\r\n shadow: false\r\n})\r\nexport class StoreManager {\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Host element access\r\n //\r\n //--------------------------------------------------------------------------\r\n @Element() el: HTMLStoreManagerElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Contains source json as a string\r\n *\r\n */\r\n @Prop({ mutable: true, reflect: true }) value = \"\";\r\n\r\n /**\r\n * Templates for the current solution\r\n */\r\n @Prop({ mutable: true, reflect: true }) templates: any[] = [];\r\n\r\n /**\r\n * Credentials for requests\r\n */\r\n @Prop({ mutable: true }) authentication: UserSession;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Lifecycle\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n connectedCallback(): void {\r\n this._initValueObserver();\r\n }\r\n\r\n /**\r\n * Renders the component.\r\n */\r\n render(): VNode {\r\n return (null);\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Events\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n @Event() stateLoaded: EventEmitter<any>;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Private Methods\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n protected _valueObserver;\r\n\r\n /**\r\n * Initialize the observer that will monitor and respond to changes in the value.\r\n * When we get a new value we are dealinmg with a new solution and need to fetch the items data and load the state.\r\n */\r\n protected _initValueObserver(): void {\r\n //const self = this;\r\n this._valueObserver = new MutationObserver(ml => {\r\n ml.some(mutation => {\r\n const newValue = mutation.target[mutation.attributeName];\r\n if (mutation.type === 'attributes' && mutation.attributeName === \"value\" &&\r\n newValue !== mutation.oldValue && newValue !== \"\") {\r\n /*\r\n const v = JSON.parse(newValue);\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n getItemDataAsJson(v, self.authentication).then(data => {\r\n state.models = getModels(Array.isArray(v) ? v : [v], self.authentication, v);\r\n state.featureServices = getFeatureServices(Array.isArray(v) ? v : [v])\r\n state.get(\"spatialReferenceInfo\") = getSpatialReferenceInfo(state.featureServices, data);\r\n self.templates = v;\r\n self.stateLoaded.emit(state);\r\n });\r\n */\r\n return true;\r\n }\r\n })\r\n });\r\n this._valueObserver.observe(this.el, { attributes: true, attributeOldValue: true });\r\n }\r\n}\r\n"],"version":3}
|
@@ -1,141 +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 { f as focusElement, t as toAriaBoolean } from './dom.js';
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
|
9
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
10
|
-
import { u as updateHostInteraction } from './interactive.js';
|
11
|
-
import { i as isActivationKey } from './key.js';
|
12
|
-
|
13
|
-
const switchCss = "@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([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::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}";
|
14
|
-
|
15
|
-
const Switch = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
16
|
-
constructor() {
|
17
|
-
super();
|
18
|
-
this.__registerHost();
|
19
|
-
this.__attachShadow();
|
20
|
-
this.calciteSwitchChange = createEvent(this, "calciteSwitchChange", 6);
|
21
|
-
//--------------------------------------------------------------------------
|
22
|
-
//
|
23
|
-
// Properties
|
24
|
-
//
|
25
|
-
//--------------------------------------------------------------------------
|
26
|
-
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
27
|
-
this.disabled = false;
|
28
|
-
/** Specifies the size of the component. */
|
29
|
-
this.scale = "m";
|
30
|
-
/**
|
31
|
-
* When `true`, the component is checked.
|
32
|
-
*
|
33
|
-
* @deprecated use `checked` instead.
|
34
|
-
*/
|
35
|
-
this.switched = false;
|
36
|
-
/** When `true`, the component is checked. */
|
37
|
-
this.checked = false;
|
38
|
-
//--------------------------------------------------------------------------
|
39
|
-
//
|
40
|
-
// Private Methods
|
41
|
-
//
|
42
|
-
//--------------------------------------------------------------------------
|
43
|
-
this.keyDownHandler = (event) => {
|
44
|
-
if (!this.disabled && isActivationKey(event.key)) {
|
45
|
-
this.toggle();
|
46
|
-
event.preventDefault();
|
47
|
-
}
|
48
|
-
};
|
49
|
-
this.clickHandler = () => {
|
50
|
-
this.toggle();
|
51
|
-
};
|
52
|
-
this.setSwitchEl = (el) => {
|
53
|
-
this.switchEl = el;
|
54
|
-
};
|
55
|
-
}
|
56
|
-
switchedWatcher(switched) {
|
57
|
-
this.checked = switched;
|
58
|
-
}
|
59
|
-
//--------------------------------------------------------------------------
|
60
|
-
//
|
61
|
-
// Public Methods
|
62
|
-
//
|
63
|
-
//--------------------------------------------------------------------------
|
64
|
-
/** Sets focus on the component. */
|
65
|
-
async setFocus() {
|
66
|
-
focusElement(this.switchEl);
|
67
|
-
}
|
68
|
-
onLabelClick() {
|
69
|
-
if (!this.disabled) {
|
70
|
-
this.toggle();
|
71
|
-
this.setFocus();
|
72
|
-
}
|
73
|
-
}
|
74
|
-
toggle() {
|
75
|
-
this.checked = !this.checked;
|
76
|
-
this.calciteSwitchChange.emit({
|
77
|
-
switched: this.checked
|
78
|
-
});
|
79
|
-
}
|
80
|
-
//--------------------------------------------------------------------------
|
81
|
-
//
|
82
|
-
// Lifecycle
|
83
|
-
//
|
84
|
-
//--------------------------------------------------------------------------
|
85
|
-
connectedCallback() {
|
86
|
-
const initiallyChecked = this.checked || this.switched;
|
87
|
-
if (initiallyChecked) {
|
88
|
-
// if either prop is set, we ensure both are synced initially
|
89
|
-
this.switched = this.checked = initiallyChecked;
|
90
|
-
}
|
91
|
-
connectLabel(this);
|
92
|
-
connectForm(this);
|
93
|
-
}
|
94
|
-
disconnectedCallback() {
|
95
|
-
disconnectLabel(this);
|
96
|
-
disconnectForm(this);
|
97
|
-
}
|
98
|
-
componentDidRender() {
|
99
|
-
updateHostInteraction(this);
|
100
|
-
}
|
101
|
-
// --------------------------------------------------------------------------
|
102
|
-
//
|
103
|
-
// Render Methods
|
104
|
-
//
|
105
|
-
// --------------------------------------------------------------------------
|
106
|
-
render() {
|
107
|
-
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: "container", ref: this.setSwitchEl, role: "switch", tabIndex: 0 }, h("div", { class: "track" }, h("div", { class: "handle" })), h(HiddenFormInputSlot, { component: this }))));
|
108
|
-
}
|
109
|
-
get el() { return this; }
|
110
|
-
static get watchers() { return {
|
111
|
-
"switched": ["switchedWatcher"]
|
112
|
-
}; }
|
113
|
-
static get style() { return switchCss; }
|
114
|
-
}, [1, "calcite-switch", {
|
115
|
-
"disabled": [516],
|
116
|
-
"label": [1],
|
117
|
-
"name": [513],
|
118
|
-
"scale": [513],
|
119
|
-
"switched": [1540],
|
120
|
-
"checked": [1540],
|
121
|
-
"value": [8],
|
122
|
-
"setFocus": [64]
|
123
|
-
}]);
|
124
|
-
function defineCustomElement() {
|
125
|
-
if (typeof customElements === "undefined") {
|
126
|
-
return;
|
127
|
-
}
|
128
|
-
const components = ["calcite-switch"];
|
129
|
-
components.forEach(tagName => { switch (tagName) {
|
130
|
-
case "calcite-switch":
|
131
|
-
if (!customElements.get(tagName)) {
|
132
|
-
customElements.define(tagName, Switch);
|
133
|
-
}
|
134
|
-
break;
|
135
|
-
} });
|
136
|
-
}
|
137
|
-
defineCustomElement();
|
138
|
-
|
139
|
-
export { Switch as S, defineCustomElement as d };
|
140
|
-
|
141
|
-
//# sourceMappingURL=switch.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"switch.js","mappings":";;;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,27HAA27H;;MCWh8H,MAAM;EACjB;;;;;;;;;;;IAOE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;IAEtB,IAAI,CAAC,KAAK,GAAG,GAAG,CA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AC,CAAC;GACnB;EACD,oBAAoB;IAClB,eAAe,CAAC,IAAI,CAAC,CAAC;IACtB,cAAc,CAAC,IAAI,CAAC,CAAC;GACtB;EACD,kBAAkB;IAChB,qBAAqB,CAAC,IAAI,CAAC,CAAC;GAC7B;;;;;;EAMD,MAAM;IACJ,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,cAAc,EAAE,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,mBAAmB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE;GACjW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css?tag=calcite-switch&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/switch/switch.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host([scale=s]) .container {\n block-size: 0.75rem;\n}\n:host([scale=s]) .track {\n block-size: 0.75rem;\n inline-size: 1.5rem;\n}\n:host([scale=s]) .handle {\n block-size: 0.5rem;\n inline-size: 0.5rem;\n}\n\n:host([scale=m]) .container {\n block-size: 1rem;\n}\n:host([scale=m]) .track {\n block-size: 1rem;\n inline-size: 2rem;\n}\n:host([scale=m]) .handle {\n block-size: 0.75rem;\n inline-size: 0.75rem;\n}\n\n:host([scale=l]) .container {\n block-size: 1.5rem;\n}\n:host([scale=l]) .track {\n block-size: 1.5rem;\n inline-size: 3rem;\n}\n:host([scale=l]) .handle {\n block-size: 1.25rem;\n inline-size: 1.25rem;\n}\n\n:host {\n position: relative;\n display: inline-block;\n inline-size: auto;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n vertical-align: middle;\n tap-highlight-color: transparent;\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 {\n inline-size: auto;\n outline-color: transparent;\n}\n\n.track {\n pointer-events: none;\n position: relative;\n box-sizing: border-box;\n display: inline-block;\n border-radius: 9999px;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-2);\n background-color: var(--calcite-ui-foreground-2);\n vertical-align: top;\n transition-property: all;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.handle {\n pointer-events: none;\n position: absolute;\n display: block;\n border-radius: 9999px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--calcite-ui-border-input);\n background-color: var(--calcite-ui-foreground-1);\n transition-property: all;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n inset-block-start: -1px;\n inset-inline: -1px auto;\n}\n\n:host(:hover) .handle, \n:host(:focus) .handle {\n border-color: var(--calcite-ui-brand);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-brand);\n}\n\n:host([checked]) .track {\n border-color: var(--calcite-ui-brand-hover);\n background-color: var(--calcite-ui-brand);\n}\n:host([checked]) .handle {\n border-color: var(--calcite-ui-brand);\n inset-inline: auto -1px;\n}\n\n:host([checked]:hover) .track {\n border-color: var(--calcite-ui-brand-hover);\n background-color: var(--calcite-ui-brand);\n}\n:host([checked]:hover) .handle {\n border-color: var(--calcite-ui-brand-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-brand-hover);\n}\n\n@media (forced-colors: active) {\n :host([checked]) .track {\n background-color: canvasText;\n }\n}\n.container:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\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 { focusElement, toAriaBoolean } from \"../../utils/dom\";\nimport { connectLabel, disconnectLabel, getLabelText } from \"../../utils/label\";\nimport { connectForm, disconnectForm, HiddenFormInputSlot } from \"../../utils/form\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nexport class Switch {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n this.disabled = false;\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /**\n * When `true`, the component is checked.\n *\n * @deprecated use `checked` instead.\n */\n this.switched = false;\n /** When `true`, the component is checked. */\n this.checked = false;\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.keyDownHandler = (event) => {\n if (!this.disabled && isActivationKey(event.key)) {\n this.toggle();\n event.preventDefault();\n }\n };\n this.clickHandler = () => {\n this.toggle();\n };\n this.setSwitchEl = (el) => {\n this.switchEl = el;\n };\n }\n switchedWatcher(switched) {\n this.checked = switched;\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n focusElement(this.switchEl);\n }\n onLabelClick() {\n if (!this.disabled) {\n this.toggle();\n this.setFocus();\n }\n }\n toggle() {\n this.checked = !this.checked;\n this.calciteSwitchChange.emit({\n switched: this.checked\n });\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n const initiallyChecked = this.checked || this.switched;\n if (initiallyChecked) {\n // if either prop is set, we ensure both are synced initially\n this.switched = this.checked = initiallyChecked;\n }\n connectLabel(this);\n connectForm(this);\n }\n disconnectedCallback() {\n disconnectLabel(this);\n disconnectForm(this);\n }\n componentDidRender() {\n updateHostInteraction(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h(\"div\", { \"aria-checked\": toAriaBoolean(this.checked), \"aria-label\": getLabelText(this), class: \"container\", ref: this.setSwitchEl, role: \"switch\", tabIndex: 0 }, h(\"div\", { class: \"track\" }, h(\"div\", { class: \"handle\" })), h(HiddenFormInputSlot, { component: this }))));\n }\n static get is() { return \"calcite-switch\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"switch.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"switch.css\"]\n };\n }\n static get properties() {\n return {\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, interaction is prevented and the component is displayed with lower opacity.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"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.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"name\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the name of the component on form submission.\"\n },\n \"attribute\": \"name\",\n \"reflect\": true\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the component.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"switched\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `checked` instead.\"\n }],\n \"text\": \"When `true`, the component is checked.\"\n },\n \"attribute\": \"switched\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"checked\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is checked.\"\n },\n \"attribute\": \"checked\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"value\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\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 }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteSwitchChange\",\n \"name\": \"calciteSwitchChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the `checked` value has changed.\\n\\n**Note:** The event payload is deprecated, use the component's `checked` property 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 }\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 };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"switched\",\n \"methodName\": \"switchedWatcher\"\n }];\n }\n}\n"],"version":3}
|
@@ -1,243 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
-
import { c as getElementDir, m as filterDirectChildren } from './dom.js';
|
8
|
-
import { c as createObserver } from './observers.js';
|
9
|
-
|
10
|
-
const tabNavCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:flex}:host([scale=s]){min-block-size:1.5rem}:host([scale=m]){min-block-size:2rem}:host([scale=l]){min-block-size:2.75rem}.tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}.tab-nav-active-indicator-container{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([position=below]) .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host([position=bottom]) .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host([position=below]) .tab-nav-active-indicator-container{inset-block-start:0px;inset-block-end:unset}:host([position=bottom]) .tab-nav-active-indicator-container{inset-block-end:unset;inset-block-start:0px}:host([bordered]) .tab-nav-active-indicator-container{inset-block-end:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}:host([bordered][position=bottom]) .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}";
|
11
|
-
|
12
|
-
const TabNav = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
13
|
-
constructor() {
|
14
|
-
super();
|
15
|
-
this.__registerHost();
|
16
|
-
this.__attachShadow();
|
17
|
-
this.calciteTabChange = createEvent(this, "calciteTabChange", 6);
|
18
|
-
this.calciteInternalTabChange = createEvent(this, "calciteInternalTabChange", 6);
|
19
|
-
/**
|
20
|
-
* @internal
|
21
|
-
*/
|
22
|
-
this.scale = "m";
|
23
|
-
/**
|
24
|
-
* @internal
|
25
|
-
*/
|
26
|
-
this.layout = "inline";
|
27
|
-
/**
|
28
|
-
* @internal
|
29
|
-
*/
|
30
|
-
this.position = "bottom";
|
31
|
-
/**
|
32
|
-
* @internal
|
33
|
-
*/
|
34
|
-
this.bordered = false;
|
35
|
-
this.animationActiveDuration = 0.3;
|
36
|
-
this.resizeObserver = createObserver("resize", () => {
|
37
|
-
// remove active indicator transition duration during resize to prevent wobble
|
38
|
-
this.activeIndicatorEl.style.transitionDuration = "0s";
|
39
|
-
this.updateActiveWidth();
|
40
|
-
this.updateOffsetPosition();
|
41
|
-
});
|
42
|
-
//--------------------------------------------------------------------------
|
43
|
-
//
|
44
|
-
// Private Methods
|
45
|
-
//
|
46
|
-
//--------------------------------------------------------------------------
|
47
|
-
this.handleContainerScroll = () => {
|
48
|
-
// remove active indicator transition duration while container is scrolling to prevent wobble
|
49
|
-
this.activeIndicatorEl.style.transitionDuration = "0s";
|
50
|
-
this.updateOffsetPosition();
|
51
|
-
};
|
52
|
-
}
|
53
|
-
async selectedTabChanged() {
|
54
|
-
if (localStorage &&
|
55
|
-
this.storageId &&
|
56
|
-
this.selectedTab !== undefined &&
|
57
|
-
this.selectedTab !== null) {
|
58
|
-
localStorage.setItem(`calcite-tab-nav-${this.storageId}`, JSON.stringify(this.selectedTab));
|
59
|
-
}
|
60
|
-
this.calciteInternalTabChange.emit({
|
61
|
-
tab: this.selectedTab
|
62
|
-
});
|
63
|
-
this.selectedTabEl = await this.getTabTitleById(this.selectedTab);
|
64
|
-
}
|
65
|
-
selectedTabElChanged() {
|
66
|
-
this.updateOffsetPosition();
|
67
|
-
this.updateActiveWidth();
|
68
|
-
// reset the animation time on tab selection
|
69
|
-
this.activeIndicatorEl.style.transitionDuration = `${this.animationActiveDuration}s`;
|
70
|
-
}
|
71
|
-
//--------------------------------------------------------------------------
|
72
|
-
//
|
73
|
-
// Lifecycle
|
74
|
-
//
|
75
|
-
//--------------------------------------------------------------------------
|
76
|
-
connectedCallback() {
|
77
|
-
var _a;
|
78
|
-
this.parentTabsEl = this.el.closest("calcite-tabs");
|
79
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el);
|
80
|
-
}
|
81
|
-
disconnectedCallback() {
|
82
|
-
var _a;
|
83
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
84
|
-
}
|
85
|
-
componentWillLoad() {
|
86
|
-
const storageKey = `calcite-tab-nav-${this.storageId}`;
|
87
|
-
if (localStorage && this.storageId && localStorage.getItem(storageKey)) {
|
88
|
-
const storedTab = JSON.parse(localStorage.getItem(storageKey));
|
89
|
-
this.selectedTab = storedTab;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
componentWillRender() {
|
93
|
-
const { parentTabsEl } = this;
|
94
|
-
this.layout = parentTabsEl === null || parentTabsEl === void 0 ? void 0 : parentTabsEl.layout;
|
95
|
-
this.position = parentTabsEl === null || parentTabsEl === void 0 ? void 0 : parentTabsEl.position;
|
96
|
-
this.scale = parentTabsEl === null || parentTabsEl === void 0 ? void 0 : parentTabsEl.scale;
|
97
|
-
this.bordered = parentTabsEl === null || parentTabsEl === void 0 ? void 0 : parentTabsEl.bordered;
|
98
|
-
// fix issue with active tab-title not lining up with blue indicator
|
99
|
-
if (this.selectedTabEl) {
|
100
|
-
this.updateOffsetPosition();
|
101
|
-
}
|
102
|
-
}
|
103
|
-
componentDidRender() {
|
104
|
-
// if every tab title is active select the first tab.
|
105
|
-
if (this.tabTitles.length &&
|
106
|
-
this.tabTitles.every((title) => !title.active) &&
|
107
|
-
!this.selectedTab) {
|
108
|
-
this.tabTitles[0].getTabIdentifier().then((tab) => {
|
109
|
-
this.calciteInternalTabChange.emit({
|
110
|
-
tab
|
111
|
-
});
|
112
|
-
});
|
113
|
-
}
|
114
|
-
}
|
115
|
-
render() {
|
116
|
-
const dir = getElementDir(this.el);
|
117
|
-
const width = `${this.indicatorWidth}px`;
|
118
|
-
const offset = `${this.indicatorOffset}px`;
|
119
|
-
const indicatorStyle = dir !== "rtl" ? { width, left: offset } : { width, right: offset };
|
120
|
-
return (h(Host, { role: "tablist" }, h("div", { class: "tab-nav", onScroll: this.handleContainerScroll, ref: (el) => (this.tabNavEl = el) }, h("div", { class: "tab-nav-active-indicator-container", ref: (el) => (this.activeIndicatorContainerEl = el) }, h("div", { class: "tab-nav-active-indicator", ref: (el) => (this.activeIndicatorEl = el), style: indicatorStyle })), h("slot", null))));
|
121
|
-
}
|
122
|
-
//--------------------------------------------------------------------------
|
123
|
-
//
|
124
|
-
// Event Listeners
|
125
|
-
//
|
126
|
-
//--------------------------------------------------------------------------
|
127
|
-
focusPreviousTabHandler(event) {
|
128
|
-
const currentIndex = this.getIndexOfTabTitle(event.target, this.enabledTabTitles);
|
129
|
-
const previousTab = this.enabledTabTitles[currentIndex - 1] ||
|
130
|
-
this.enabledTabTitles[this.enabledTabTitles.length - 1];
|
131
|
-
previousTab === null || previousTab === void 0 ? void 0 : previousTab.focus();
|
132
|
-
event.stopPropagation();
|
133
|
-
event.preventDefault();
|
134
|
-
}
|
135
|
-
focusNextTabHandler(event) {
|
136
|
-
const currentIndex = this.getIndexOfTabTitle(event.target, this.enabledTabTitles);
|
137
|
-
const nextTab = this.enabledTabTitles[currentIndex + 1] || this.enabledTabTitles[0];
|
138
|
-
nextTab === null || nextTab === void 0 ? void 0 : nextTab.focus();
|
139
|
-
event.stopPropagation();
|
140
|
-
event.preventDefault();
|
141
|
-
}
|
142
|
-
internalActivateTabHandler(event) {
|
143
|
-
this.selectedTab = event.detail.tab
|
144
|
-
? event.detail.tab
|
145
|
-
: this.getIndexOfTabTitle(event.target);
|
146
|
-
event.stopPropagation();
|
147
|
-
event.preventDefault();
|
148
|
-
}
|
149
|
-
activateTabHandler(event) {
|
150
|
-
this.calciteTabChange.emit({
|
151
|
-
tab: this.selectedTab
|
152
|
-
});
|
153
|
-
event.stopPropagation();
|
154
|
-
event.preventDefault();
|
155
|
-
}
|
156
|
-
/**
|
157
|
-
* Check for active tabs on register and update selected
|
158
|
-
*
|
159
|
-
* @param event
|
160
|
-
*/
|
161
|
-
updateTabTitles(event) {
|
162
|
-
if (event.target.active) {
|
163
|
-
this.selectedTab = event.detail;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
globalInternalTabChangeHandler(event) {
|
167
|
-
if (this.syncId &&
|
168
|
-
event.target !== this.el &&
|
169
|
-
event.target.syncId === this.syncId &&
|
170
|
-
this.selectedTab !== event.detail.tab) {
|
171
|
-
this.selectedTab = event.detail.tab;
|
172
|
-
}
|
173
|
-
event.stopPropagation();
|
174
|
-
}
|
175
|
-
iconStartChangeHandler() {
|
176
|
-
this.updateActiveWidth();
|
177
|
-
}
|
178
|
-
updateOffsetPosition() {
|
179
|
-
var _a, _b, _c, _d, _e;
|
180
|
-
const dir = getElementDir(this.el);
|
181
|
-
const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
|
182
|
-
const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;
|
183
|
-
const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;
|
184
|
-
const offsetRight = navWidth - (tabLeft + tabWidth);
|
185
|
-
this.indicatorOffset =
|
186
|
-
dir !== "rtl" ? tabLeft - ((_d = this.tabNavEl) === null || _d === void 0 ? void 0 : _d.scrollLeft) : offsetRight + ((_e = this.tabNavEl) === null || _e === void 0 ? void 0 : _e.scrollLeft);
|
187
|
-
}
|
188
|
-
updateActiveWidth() {
|
189
|
-
var _a;
|
190
|
-
this.indicatorWidth = (_a = this.selectedTabEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;
|
191
|
-
}
|
192
|
-
getIndexOfTabTitle(el, tabTitles = this.tabTitles) {
|
193
|
-
// In most cases, since these indexes correlate with tab contents, we want to consider all tab titles.
|
194
|
-
// However, when doing relative index operations, it makes sense to pass in this.enabledTabTitles as the 2nd arg.
|
195
|
-
return tabTitles.indexOf(el);
|
196
|
-
}
|
197
|
-
async getTabTitleById(id) {
|
198
|
-
return Promise.all(this.tabTitles.map((el) => el.getTabIdentifier())).then((ids) => {
|
199
|
-
return this.tabTitles[ids.indexOf(id)];
|
200
|
-
});
|
201
|
-
}
|
202
|
-
get tabTitles() {
|
203
|
-
return filterDirectChildren(this.el, "calcite-tab-title");
|
204
|
-
}
|
205
|
-
get enabledTabTitles() {
|
206
|
-
return filterDirectChildren(this.el, "calcite-tab-title:not([disabled])");
|
207
|
-
}
|
208
|
-
get el() { return this; }
|
209
|
-
static get watchers() { return {
|
210
|
-
"selectedTab": ["selectedTabChanged"],
|
211
|
-
"selectedTabEl": ["selectedTabElChanged"]
|
212
|
-
}; }
|
213
|
-
static get style() { return tabNavCss; }
|
214
|
-
}, [1, "calcite-tab-nav", {
|
215
|
-
"storageId": [513, "storage-id"],
|
216
|
-
"syncId": [513, "sync-id"],
|
217
|
-
"scale": [1537],
|
218
|
-
"layout": [1537],
|
219
|
-
"position": [1537],
|
220
|
-
"bordered": [1540],
|
221
|
-
"indicatorOffset": [1026, "indicator-offset"],
|
222
|
-
"indicatorWidth": [1026, "indicator-width"],
|
223
|
-
"selectedTab": [32],
|
224
|
-
"selectedTabEl": [32]
|
225
|
-
}, [[0, "calciteInternalTabsFocusPrevious", "focusPreviousTabHandler"], [0, "calciteInternalTabsFocusNext", "focusNextTabHandler"], [0, "calciteInternalTabsActivate", "internalActivateTabHandler"], [0, "calciteTabsActivate", "activateTabHandler"], [0, "calciteInternalTabTitleRegister", "updateTabTitles"], [16, "calciteInternalTabChange", "globalInternalTabChangeHandler"], [0, "calciteInternalTabIconChanged", "iconStartChangeHandler"]]]);
|
226
|
-
function defineCustomElement() {
|
227
|
-
if (typeof customElements === "undefined") {
|
228
|
-
return;
|
229
|
-
}
|
230
|
-
const components = ["calcite-tab-nav"];
|
231
|
-
components.forEach(tagName => { switch (tagName) {
|
232
|
-
case "calcite-tab-nav":
|
233
|
-
if (!customElements.get(tagName)) {
|
234
|
-
customElements.define(tagName, TabNav);
|
235
|
-
}
|
236
|
-
break;
|
237
|
-
} });
|
238
|
-
}
|
239
|
-
defineCustomElement();
|
240
|
-
|
241
|
-
export { TabNav as T, defineCustomElement as d };
|
242
|
-
|
243
|
-
//# sourceMappingURL=tab-nav.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"tab-nav.js","mappings":";;;;;;;;;AAAA,MAAM,SAAS,GAAG,ksFAAksF;;MCWvsF,MAAM;EACjB;;;;;;;;;IAIE,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;;;;IAIjB,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;;;;IAIvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;;;;IAIzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACtB,IAAI,CAAC,uBAAuB,GAAG,GAAG,CAAC;IACnC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,QAAQ,EAAE;;MAE7C,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,kBAAkB,GAAG,IAAI,CAAC;MACvD,IAAI,CAAC,iBAAiB,EAAE,CAAC;MACzB,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B,CAAC,CAAC;;;;;;IAMH,IAAI,CAAC,qBAAqB,GAAG;;MAE3B,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,kBAAkB,GAAG,IAAI,CAAC;MACvD,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B,CAAC;GACH;EACD,MAAM,kBAAkB;IACtB,IAAI,YAAY;MACd,IAAI,CAAC,SAAS;MACd,IAAI,CAAC,WAAW,KAAK,SAAS;MAC9B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EAAE,CAAC,UAAU,CAAC,GAAG,WAAW,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,QAAQ,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC;GACjM;EACD,iBAAiB;IACf,IAAI,EAAE,CAAC;IACP,IAAI,CAAC,cAAc,GAAG,CAAC,EAAE,GAAG,IAAI,CAAC,aAAa,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC;GACrG;EACD,kBAAkB,CAAC,EAAE,EAAE,SAAS,GAAG,IAAI,CAAC,SAAS;;;IAG/C,OAAO,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;GAC9B;EACD,MAAM,eAAe,CAAC,EAAE;IACtB,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG;MAC7E,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;KACxC,CAAC,CAAC;GACJ;EACD,IAAI,SAAS;IACX,OAAO,oBAAoB,CAAC,IAAI,CAAC,EAAE,EAAE,mBAAmB,CAAC,CAAC;GAC3D;EACD,IAAI,gBAAgB;IAClB,OAAO,oBAAoB,CAAC,IAAI,CAAC,EAAE,EAAE,mCAAmC,CAAC,CAAC;GAC3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css?tag=calcite-tab-nav&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n position: relative;\n display: flex;\n}\n\n:host([scale=s]) {\n min-block-size: 1.5rem;\n}\n\n:host([scale=m]) {\n min-block-size: 2rem;\n}\n\n:host([scale=l]) {\n min-block-size: 2.75rem;\n}\n\n.tab-nav {\n display: flex;\n inline-size: 100%;\n justify-content: flex-start;\n overflow: auto;\n}\n\n.tab-nav-active-indicator-container {\n position: absolute;\n inset-inline: 0px;\n inset-block-end: 0px;\n block-size: 0.125rem;\n inline-size: 100%;\n overflow: hidden;\n}\n\n.tab-nav-active-indicator {\n position: absolute;\n inset-block-end: 0px;\n display: block;\n block-size: 0.125rem;\n background-color: var(--calcite-ui-brand);\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n:host([position=below]) .tab-nav-active-indicator {\n inset-block-end: unset;\n inset-block-start: 0px;\n}\n\n:host([position=bottom]) .tab-nav-active-indicator {\n inset-block-end: unset;\n inset-block-start: 0px;\n}\n\n:host([position=below]) .tab-nav-active-indicator-container {\n inset-block-start: 0px;\n inset-block-end: unset;\n}\n\n:host([position=bottom]) .tab-nav-active-indicator-container {\n inset-block-end: unset;\n inset-block-start: 0px;\n}\n\n:host([bordered]) .tab-nav-active-indicator-container {\n inset-block-end: unset;\n}\n\n:host([bordered][position=below]) .tab-nav-active-indicator-container {\n inset-block-end: 0;\n inset-block-start: unset;\n}\n\n:host([bordered][position=bottom]) .tab-nav-active-indicator-container {\n inset-block-end: 0;\n inset-block-start: unset;\n}\n\n@media (forced-colors: active) {\n .tab-nav-active-indicator {\n background-color: highlight;\n }\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Host } from \"@stencil/core\";\nimport { getElementDir, filterDirectChildren } from \"../../utils/dom\";\nimport { createObserver } from \"../../utils/observers\";\n/**\n * @slot - A slot for adding `calcite-tab-title`s.\n */\nexport class TabNav {\n constructor() {\n /**\n * @internal\n */\n this.scale = \"m\";\n /**\n * @internal\n */\n this.layout = \"inline\";\n /**\n * @internal\n */\n this.position = \"bottom\";\n /**\n * @internal\n */\n this.bordered = false;\n this.animationActiveDuration = 0.3;\n this.resizeObserver = createObserver(\"resize\", () => {\n // remove active indicator transition duration during resize to prevent wobble\n this.activeIndicatorEl.style.transitionDuration = \"0s\";\n this.updateActiveWidth();\n this.updateOffsetPosition();\n });\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.handleContainerScroll = () => {\n // remove active indicator transition duration while container is scrolling to prevent wobble\n this.activeIndicatorEl.style.transitionDuration = \"0s\";\n this.updateOffsetPosition();\n };\n }\n async selectedTabChanged() {\n if (localStorage &&\n this.storageId &&\n this.selectedTab !== undefined &&\n this.selectedTab !== null) {\n localStorage.setItem(`calcite-tab-nav-${this.storageId}`, JSON.stringify(this.selectedTab));\n }\n this.calciteInternalTabChange.emit({\n tab: this.selectedTab\n });\n this.selectedTabEl = await this.getTabTitleById(this.selectedTab);\n }\n selectedTabElChanged() {\n this.updateOffsetPosition();\n this.updateActiveWidth();\n // reset the animation time on tab selection\n this.activeIndicatorEl.style.transitionDuration = `${this.animationActiveDuration}s`;\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n this.parentTabsEl = this.el.closest(\"calcite-tabs\");\n (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el);\n }\n disconnectedCallback() {\n var _a;\n (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n const storageKey = `calcite-tab-nav-${this.storageId}`;\n if (localStorage && this.storageId && localStorage.getItem(storageKey)) {\n const storedTab = JSON.parse(localStorage.getItem(storageKey));\n this.selectedTab = storedTab;\n }\n }\n componentWillRender() {\n const { parentTabsEl } = this;\n this.layout = parentTabsEl === null || parentTabsEl === void 0 ? void 0 : parentTabsEl.layout;\n this.position = parentTabsEl === null || parentTabsEl === void 0 ? void 0 : parentTabsEl.position;\n this.scale = parentTabsEl === null || parentTabsEl === void 0 ? void 0 : parentTabsEl.scale;\n this.bordered = parentTabsEl === null || parentTabsEl === void 0 ? void 0 : parentTabsEl.bordered;\n // fix issue with active tab-title not lining up with blue indicator\n if (this.selectedTabEl) {\n this.updateOffsetPosition();\n }\n }\n componentDidRender() {\n // if every tab title is active select the first tab.\n if (this.tabTitles.length &&\n this.tabTitles.every((title) => !title.active) &&\n !this.selectedTab) {\n this.tabTitles[0].getTabIdentifier().then((tab) => {\n this.calciteInternalTabChange.emit({\n tab\n });\n });\n }\n }\n render() {\n const dir = getElementDir(this.el);\n const width = `${this.indicatorWidth}px`;\n const offset = `${this.indicatorOffset}px`;\n const indicatorStyle = dir !== \"rtl\" ? { width, left: offset } : { width, right: offset };\n return (h(Host, { role: \"tablist\" }, h(\"div\", { class: \"tab-nav\", onScroll: this.handleContainerScroll, ref: (el) => (this.tabNavEl = el) }, h(\"div\", { class: \"tab-nav-active-indicator-container\", ref: (el) => (this.activeIndicatorContainerEl = el) }, h(\"div\", { class: \"tab-nav-active-indicator\", ref: (el) => (this.activeIndicatorEl = el), style: indicatorStyle })), h(\"slot\", null))));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n focusPreviousTabHandler(event) {\n const currentIndex = this.getIndexOfTabTitle(event.target, this.enabledTabTitles);\n const previousTab = this.enabledTabTitles[currentIndex - 1] ||\n this.enabledTabTitles[this.enabledTabTitles.length - 1];\n previousTab === null || previousTab === void 0 ? void 0 : previousTab.focus();\n event.stopPropagation();\n event.preventDefault();\n }\n focusNextTabHandler(event) {\n const currentIndex = this.getIndexOfTabTitle(event.target, this.enabledTabTitles);\n const nextTab = this.enabledTabTitles[currentIndex + 1] || this.enabledTabTitles[0];\n nextTab === null || nextTab === void 0 ? void 0 : nextTab.focus();\n event.stopPropagation();\n event.preventDefault();\n }\n internalActivateTabHandler(event) {\n this.selectedTab = event.detail.tab\n ? event.detail.tab\n : this.getIndexOfTabTitle(event.target);\n event.stopPropagation();\n event.preventDefault();\n }\n activateTabHandler(event) {\n this.calciteTabChange.emit({\n tab: this.selectedTab\n });\n event.stopPropagation();\n event.preventDefault();\n }\n /**\n * Check for active tabs on register and update selected\n *\n * @param event\n */\n updateTabTitles(event) {\n if (event.target.active) {\n this.selectedTab = event.detail;\n }\n }\n globalInternalTabChangeHandler(event) {\n if (this.syncId &&\n event.target !== this.el &&\n event.target.syncId === this.syncId &&\n this.selectedTab !== event.detail.tab) {\n this.selectedTab = event.detail.tab;\n }\n event.stopPropagation();\n }\n iconStartChangeHandler() {\n this.updateActiveWidth();\n }\n updateOffsetPosition() {\n var _a, _b, _c, _d, _e;\n const dir = getElementDir(this.el);\n const navWidth = (_a = this.activeIndicatorContainerEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;\n const tabLeft = (_b = this.selectedTabEl) === null || _b === void 0 ? void 0 : _b.offsetLeft;\n const tabWidth = (_c = this.selectedTabEl) === null || _c === void 0 ? void 0 : _c.offsetWidth;\n const offsetRight = navWidth - (tabLeft + tabWidth);\n this.indicatorOffset =\n dir !== \"rtl\" ? tabLeft - ((_d = this.tabNavEl) === null || _d === void 0 ? void 0 : _d.scrollLeft) : offsetRight + ((_e = this.tabNavEl) === null || _e === void 0 ? void 0 : _e.scrollLeft);\n }\n updateActiveWidth() {\n var _a;\n this.indicatorWidth = (_a = this.selectedTabEl) === null || _a === void 0 ? void 0 : _a.offsetWidth;\n }\n getIndexOfTabTitle(el, tabTitles = this.tabTitles) {\n // In most cases, since these indexes correlate with tab contents, we want to consider all tab titles.\n // However, when doing relative index operations, it makes sense to pass in this.enabledTabTitles as the 2nd arg.\n return tabTitles.indexOf(el);\n }\n async getTabTitleById(id) {\n return Promise.all(this.tabTitles.map((el) => el.getTabIdentifier())).then((ids) => {\n return this.tabTitles[ids.indexOf(id)];\n });\n }\n get tabTitles() {\n return filterDirectChildren(this.el, \"calcite-tab-title\");\n }\n get enabledTabTitles() {\n return filterDirectChildren(this.el, \"calcite-tab-title:not([disabled])\");\n }\n static get is() { return \"calcite-tab-nav\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tab-nav.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tab-nav.css\"]\n };\n }\n static get properties() {\n return {\n \"storageId\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the name when saving selected `calcite-tab` data to `localStorage`.\"\n },\n \"attribute\": \"storage-id\",\n \"reflect\": true\n },\n \"syncId\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies text to update multiple components to keep in sync if one changes.\"\n },\n \"attribute\": \"sync-id\",\n \"reflect\": true\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 \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"layout\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"TabLayout\",\n \"resolved\": \"\\\"center\\\" | \\\"inline\\\"\",\n \"references\": {\n \"TabLayout\": {\n \"location\": \"import\",\n \"path\": \"../tabs/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"layout\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"inline\\\"\"\n },\n \"position\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"TabPosition\",\n \"resolved\": \"\\\"above\\\" | \\\"below\\\" | \\\"bottom\\\" | \\\"top\\\"\",\n \"references\": {\n \"TabPosition\": {\n \"location\": \"import\",\n \"path\": \"../tabs/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"position\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"bottom\\\"\"\n },\n \"bordered\": {\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\": \"bordered\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"indicatorOffset\": {\n \"type\": \"number\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\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\": \"indicator-offset\",\n \"reflect\": false\n },\n \"indicatorWidth\": {\n \"type\": \"number\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\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\": \"indicator-width\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"selectedTab\": {},\n \"selectedTabEl\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteTabChange\",\n \"name\": \"calciteTabChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"see\",\n \"text\": \"[TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)\"\n }],\n \"text\": \"Emits when the selected `calcite-tab` changes.\"\n },\n \"complexType\": {\n \"original\": \"TabChangeEventDetail\",\n \"resolved\": \"TabChangeEventDetail\",\n \"references\": {\n \"TabChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../tab/interfaces\"\n }\n }\n }\n }, {\n \"method\": \"calciteInternalTabChange\",\n \"name\": \"calciteInternalTabChange\",\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\": \"TabChangeEventDetail\",\n \"resolved\": \"TabChangeEventDetail\",\n \"references\": {\n \"TabChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../tab/interfaces\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"selectedTab\",\n \"methodName\": \"selectedTabChanged\"\n }, {\n \"propName\": \"selectedTabEl\",\n \"methodName\": \"selectedTabElChanged\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"calciteInternalTabsFocusPrevious\",\n \"method\": \"focusPreviousTabHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalTabsFocusNext\",\n \"method\": \"focusNextTabHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalTabsActivate\",\n \"method\": \"internalActivateTabHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteTabsActivate\",\n \"method\": \"activateTabHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalTabTitleRegister\",\n \"method\": \"updateTabTitles\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalTabChange\",\n \"method\": \"globalInternalTabChangeHandler\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalTabIconChanged\",\n \"method\": \"iconStartChangeHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|