@esri/solutions-components 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +1095 -4
- package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{solution-store-f0547fe7.js → solution-store-893499a5.js} +8 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +14 -11
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
- package/dist/collection/components/solution-item/solution-item.js +2 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
- package/dist/collection/utils/solution-store.js +2 -0
- package/dist/collection/utils/solution-store.js.map +1 -1
- package/dist/collection/utils/solution-store.ts +2 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
- package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
- package/dist/esm/solution-configuration.entry.js +1095 -4
- package/dist/esm/solution-configuration.entry.js.map +1 -1
- package/dist/esm/solution-contents_3.entry.js +3 -1
- package/dist/esm/solution-contents_3.entry.js.map +1 -1
- package/dist/esm/{solution-store-c1f6173a.js → solution-store-0c58c852.js} +4 -2
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-065830b8.js → p-659edb14.js} +4 -2
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-ee9be0ef.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/p-90629c1d.entry.js +1986 -0
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-0e7a0839.entry.js → p-984cb687.entry.js} +17 -7
- package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/solution-store.ts +2 -0
- package/dist/solutions-components_commit.txt +9 -7
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-f0547fe7.js.map +0 -1
- package/dist/components/ExpandToggle.js +0 -112
- package/dist/components/ExpandToggle.js.map +0 -1
- package/dist/components/Heading.js +0 -24
- package/dist/components/Heading.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -24
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/action-bar.js +0 -278
- package/dist/components/action-bar.js.map +0 -1
- package/dist/components/action-group.js +0 -151
- package/dist/components/action-group.js.map +0 -1
- package/dist/components/action-menu.js +0 -358
- package/dist/components/action-menu.js.map +0 -1
- package/dist/components/action.js +0 -216
- package/dist/components/action.js.map +0 -1
- package/dist/components/array.js +0 -17
- package/dist/components/array.js.map +0 -1
- package/dist/components/buffer-tools.d.ts +0 -11
- package/dist/components/buffer-tools.js +0 -13
- package/dist/components/buffer-tools.js.map +0 -1
- package/dist/components/buffer-tools2.js +0 -256
- package/dist/components/buffer-tools2.js.map +0 -1
- package/dist/components/button.js +0 -265
- package/dist/components/button.js.map +0 -1
- package/dist/components/calcite-accordion-item.js +0 -246
- package/dist/components/calcite-accordion-item.js.map +0 -1
- package/dist/components/calcite-accordion.js +0 -182
- package/dist/components/calcite-accordion.js.map +0 -1
- package/dist/components/calcite-action-bar.js +0 -13
- package/dist/components/calcite-action-bar.js.map +0 -1
- package/dist/components/calcite-action-group.js +0 -13
- package/dist/components/calcite-action-group.js.map +0 -1
- package/dist/components/calcite-action-menu.js +0 -13
- package/dist/components/calcite-action-menu.js.map +0 -1
- package/dist/components/calcite-action-pad.js +0 -199
- package/dist/components/calcite-action-pad.js.map +0 -1
- package/dist/components/calcite-action.js +0 -13
- package/dist/components/calcite-action.js.map +0 -1
- package/dist/components/calcite-alert.js +0 -299
- package/dist/components/calcite-alert.js.map +0 -1
- package/dist/components/calcite-avatar.js +0 -184
- package/dist/components/calcite-avatar.js.map +0 -1
- package/dist/components/calcite-block-section.js +0 -157
- package/dist/components/calcite-block-section.js.map +0 -1
- package/dist/components/calcite-block.js +0 -277
- package/dist/components/calcite-block.js.map +0 -1
- package/dist/components/calcite-button.js +0 -13
- package/dist/components/calcite-button.js.map +0 -1
- package/dist/components/calcite-card.js +0 -189
- package/dist/components/calcite-card.js.map +0 -1
- package/dist/components/calcite-checkbox.js +0 -13
- package/dist/components/calcite-checkbox.js.map +0 -1
- package/dist/components/calcite-chip.js +0 -13
- package/dist/components/calcite-chip.js.map +0 -1
- package/dist/components/calcite-color-picker-hex-input.js +0 -13
- package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
- package/dist/components/calcite-color-picker-swatch.js +0 -13
- package/dist/components/calcite-color-picker-swatch.js.map +0 -1
- package/dist/components/calcite-color-picker.js +0 -1038
- package/dist/components/calcite-color-picker.js.map +0 -1
- package/dist/components/calcite-combobox-item-group.js +0 -77
- package/dist/components/calcite-combobox-item-group.js.map +0 -1
- package/dist/components/calcite-combobox-item.js +0 -13
- package/dist/components/calcite-combobox-item.js.map +0 -1
- package/dist/components/calcite-combobox.js +0 -13
- package/dist/components/calcite-combobox.js.map +0 -1
- package/dist/components/calcite-date-picker-day.js +0 -13
- package/dist/components/calcite-date-picker-day.js.map +0 -1
- package/dist/components/calcite-date-picker-month-header.js +0 -13
- package/dist/components/calcite-date-picker-month-header.js.map +0 -1
- package/dist/components/calcite-date-picker-month.js +0 -13
- package/dist/components/calcite-date-picker-month.js.map +0 -1
- package/dist/components/calcite-date-picker.js +0 -13
- package/dist/components/calcite-date-picker.js.map +0 -1
- package/dist/components/calcite-dropdown-group.js +0 -101
- package/dist/components/calcite-dropdown-group.js.map +0 -1
- package/dist/components/calcite-dropdown-item.js +0 -237
- package/dist/components/calcite-dropdown-item.js.map +0 -1
- package/dist/components/calcite-dropdown.js +0 -13
- package/dist/components/calcite-dropdown.js.map +0 -1
- package/dist/components/calcite-fab.js +0 -146
- package/dist/components/calcite-fab.js.map +0 -1
- package/dist/components/calcite-filter.js +0 -197
- package/dist/components/calcite-filter.js.map +0 -1
- package/dist/components/calcite-flow-item.js +0 -245
- package/dist/components/calcite-flow-item.js.map +0 -1
- package/dist/components/calcite-flow.js +0 -149
- package/dist/components/calcite-flow.js.map +0 -1
- package/dist/components/calcite-graph.js +0 -13
- package/dist/components/calcite-graph.js.map +0 -1
- package/dist/components/calcite-handle.js +0 -13
- package/dist/components/calcite-handle.js.map +0 -1
- package/dist/components/calcite-icon.js +0 -13
- package/dist/components/calcite-icon.js.map +0 -1
- package/dist/components/calcite-inline-editable.js +0 -296
- package/dist/components/calcite-inline-editable.js.map +0 -1
- package/dist/components/calcite-input-date-picker.js +0 -715
- package/dist/components/calcite-input-date-picker.js.map +0 -1
- package/dist/components/calcite-input-message.js +0 -13
- package/dist/components/calcite-input-message.js.map +0 -1
- package/dist/components/calcite-input-number.js +0 -639
- package/dist/components/calcite-input-number.js.map +0 -1
- package/dist/components/calcite-input-text.js +0 -402
- package/dist/components/calcite-input-text.js.map +0 -1
- package/dist/components/calcite-input-time-picker.js +0 -436
- package/dist/components/calcite-input-time-picker.js.map +0 -1
- package/dist/components/calcite-input.js +0 -13
- package/dist/components/calcite-input.js.map +0 -1
- package/dist/components/calcite-label.js +0 -13
- package/dist/components/calcite-label.js.map +0 -1
- package/dist/components/calcite-link.js +0 -13
- package/dist/components/calcite-link.js.map +0 -1
- package/dist/components/calcite-list-item-group.js +0 -67
- package/dist/components/calcite-list-item-group.js.map +0 -1
- package/dist/components/calcite-list-item.js +0 -13
- package/dist/components/calcite-list-item.js.map +0 -1
- package/dist/components/calcite-list.js +0 -13
- package/dist/components/calcite-list.js.map +0 -1
- package/dist/components/calcite-loader.js +0 -13
- package/dist/components/calcite-loader.js.map +0 -1
- package/dist/components/calcite-modal.js +0 -500
- package/dist/components/calcite-modal.js.map +0 -1
- package/dist/components/calcite-notice.js +0 -13
- package/dist/components/calcite-notice.js.map +0 -1
- package/dist/components/calcite-option-group.js +0 -66
- package/dist/components/calcite-option-group.js.map +0 -1
- package/dist/components/calcite-option.js +0 -13
- package/dist/components/calcite-option.js.map +0 -1
- package/dist/components/calcite-pagination.js +0 -260
- package/dist/components/calcite-pagination.js.map +0 -1
- package/dist/components/calcite-panel.js +0 -13
- package/dist/components/calcite-panel.js.map +0 -1
- package/dist/components/calcite-pick-list-group.js +0 -76
- package/dist/components/calcite-pick-list-group.js.map +0 -1
- package/dist/components/calcite-pick-list-item.js +0 -13
- package/dist/components/calcite-pick-list-item.js.map +0 -1
- package/dist/components/calcite-pick-list.js +0 -175
- package/dist/components/calcite-pick-list.js.map +0 -1
- package/dist/components/calcite-popover-manager.js +0 -96
- package/dist/components/calcite-popover-manager.js.map +0 -1
- package/dist/components/calcite-popover.js +0 -13
- package/dist/components/calcite-popover.js.map +0 -1
- package/dist/components/calcite-progress.js +0 -13
- package/dist/components/calcite-progress.js.map +0 -1
- package/dist/components/calcite-radio-button-group.js +0 -134
- package/dist/components/calcite-radio-button-group.js.map +0 -1
- package/dist/components/calcite-radio-button.js +0 -312
- package/dist/components/calcite-radio-button.js.map +0 -1
- package/dist/components/calcite-radio-group-item.js +0 -13
- package/dist/components/calcite-radio-group-item.js.map +0 -1
- package/dist/components/calcite-radio-group.js +0 -13
- package/dist/components/calcite-radio-group.js.map +0 -1
- package/dist/components/calcite-rating.js +0 -203
- package/dist/components/calcite-rating.js.map +0 -1
- package/dist/components/calcite-scrim.js +0 -13
- package/dist/components/calcite-scrim.js.map +0 -1
- package/dist/components/calcite-select.js +0 -13
- package/dist/components/calcite-select.js.map +0 -1
- package/dist/components/calcite-shell-center-row.js +0 -102
- package/dist/components/calcite-shell-center-row.js.map +0 -1
- package/dist/components/calcite-shell-panel.js +0 -13
- package/dist/components/calcite-shell-panel.js.map +0 -1
- package/dist/components/calcite-shell.js +0 -13
- package/dist/components/calcite-shell.js.map +0 -1
- package/dist/components/calcite-slider.js +0 -13
- package/dist/components/calcite-slider.js.map +0 -1
- package/dist/components/calcite-sortable-list.js +0 -204
- package/dist/components/calcite-sortable-list.js.map +0 -1
- package/dist/components/calcite-split-button.js +0 -170
- package/dist/components/calcite-split-button.js.map +0 -1
- package/dist/components/calcite-stepper-item.js +0 -273
- package/dist/components/calcite-stepper-item.js.map +0 -1
- package/dist/components/calcite-stepper.js +0 -258
- package/dist/components/calcite-stepper.js.map +0 -1
- package/dist/components/calcite-switch.js +0 -13
- package/dist/components/calcite-switch.js.map +0 -1
- package/dist/components/calcite-tab-nav.js +0 -13
- package/dist/components/calcite-tab-nav.js.map +0 -1
- package/dist/components/calcite-tab-title.js +0 -13
- package/dist/components/calcite-tab-title.js.map +0 -1
- package/dist/components/calcite-tab.js +0 -13
- package/dist/components/calcite-tab.js.map +0 -1
- package/dist/components/calcite-tabs.js +0 -13
- package/dist/components/calcite-tabs.js.map +0 -1
- package/dist/components/calcite-tile-select-group.js +0 -67
- package/dist/components/calcite-tile-select-group.js.map +0 -1
- package/dist/components/calcite-tile-select.js +0 -268
- package/dist/components/calcite-tile-select.js.map +0 -1
- package/dist/components/calcite-tile.js +0 -13
- package/dist/components/calcite-tile.js.map +0 -1
- package/dist/components/calcite-time-picker.js +0 -13
- package/dist/components/calcite-time-picker.js.map +0 -1
- package/dist/components/calcite-tip-group.js +0 -43
- package/dist/components/calcite-tip-group.js.map +0 -1
- package/dist/components/calcite-tip-manager.js +0 -225
- package/dist/components/calcite-tip-manager.js.map +0 -1
- package/dist/components/calcite-tip.js +0 -164
- package/dist/components/calcite-tip.js.map +0 -1
- package/dist/components/calcite-tooltip-manager.js +0 -59
- package/dist/components/calcite-tooltip-manager.js.map +0 -1
- package/dist/components/calcite-tooltip.js +0 -13
- package/dist/components/calcite-tooltip.js.map +0 -1
- package/dist/components/calcite-tree-item.js +0 -13
- package/dist/components/calcite-tree-item.js.map +0 -1
- package/dist/components/calcite-tree.js +0 -13
- package/dist/components/calcite-tree.js.map +0 -1
- package/dist/components/calcite-value-list-item.js +0 -13
- package/dist/components/calcite-value-list-item.js.map +0 -1
- package/dist/components/calcite-value-list.js +0 -13
- package/dist/components/calcite-value-list.js.map +0 -1
- package/dist/components/check-list.d.ts +0 -11
- package/dist/components/check-list.js +0 -13
- package/dist/components/check-list.js.map +0 -1
- package/dist/components/check-list2.js +0 -128
- package/dist/components/check-list2.js.map +0 -1
- package/dist/components/checkbox.js +0 -167
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/chip.js +0 -172
- package/dist/components/chip.js.map +0 -1
- package/dist/components/color-picker-hex-input.js +0 -365
- package/dist/components/color-picker-hex-input.js.map +0 -1
- package/dist/components/color-picker-swatch.js +0 -2036
- package/dist/components/color-picker-swatch.js.map +0 -1
- package/dist/components/combobox-item.js +0 -184
- package/dist/components/combobox-item.js.map +0 -1
- package/dist/components/combobox.js +0 -914
- package/dist/components/combobox.js.map +0 -1
- package/dist/components/conditionalSlot.js +0 -52
- package/dist/components/conditionalSlot.js.map +0 -1
- package/dist/components/config-buffer-tools.d.ts +0 -11
- package/dist/components/config-buffer-tools.js +0 -185
- package/dist/components/config-buffer-tools.js.map +0 -1
- package/dist/components/config-draw-tools.d.ts +0 -11
- package/dist/components/config-draw-tools.js +0 -124
- package/dist/components/config-draw-tools.js.map +0 -1
- package/dist/components/config-layer-picker.d.ts +0 -11
- package/dist/components/config-layer-picker.js +0 -148
- package/dist/components/config-layer-picker.js.map +0 -1
- package/dist/components/config-pdf-download.d.ts +0 -11
- package/dist/components/config-pdf-download.js +0 -157
- package/dist/components/config-pdf-download.js.map +0 -1
- package/dist/components/date-picker-day.js +0 -113
- package/dist/components/date-picker-day.js.map +0 -1
- package/dist/components/date-picker-month-header.js +0 -226
- package/dist/components/date-picker-month-header.js.map +0 -1
- package/dist/components/date-picker-month.js +0 -346
- package/dist/components/date-picker-month.js.map +0 -1
- package/dist/components/date-picker.js +0 -577
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date.js +0 -182
- package/dist/components/date.js.map +0 -1
- package/dist/components/debounce.js +0 -489
- package/dist/components/debounce.js.map +0 -1
- package/dist/components/dom.js +0 -233
- package/dist/components/dom.js.map +0 -1
- package/dist/components/dropdown.js +0 -507
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter.js +0 -765
- package/dist/components/filter.js.map +0 -1
- package/dist/components/floating-ui.js +0 -1787
- package/dist/components/floating-ui.js.map +0 -1
- package/dist/components/form.js +0 -230
- package/dist/components/form.js.map +0 -1
- package/dist/components/graph.js +0 -256
- package/dist/components/graph.js.map +0 -1
- package/dist/components/guid.js +0 -26
- package/dist/components/guid.js.map +0 -1
- package/dist/components/handle.js +0 -121
- package/dist/components/handle.js.map +0 -1
- package/dist/components/icon.js +0 -204
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index.d.ts +0 -48
- package/dist/components/index.js +0 -190
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -201
- package/dist/components/index2.js.map +0 -1
- package/dist/components/input-message.js +0 -103
- package/dist/components/input-message.js.map +0 -1
- package/dist/components/input.js +0 -742
- package/dist/components/input.js.map +0 -1
- package/dist/components/interactive.js +0 -53
- package/dist/components/interactive.js.map +0 -1
- package/dist/components/interfaces.js +0 -21
- package/dist/components/interfaces.js.map +0 -1
- package/dist/components/interfaces2.js +0 -23
- package/dist/components/interfaces2.js.map +0 -1
- package/dist/components/interfaces3.js +0 -72
- package/dist/components/interfaces3.js.map +0 -1
- package/dist/components/json-editor.d.ts +0 -11
- package/dist/components/json-editor.js +0 -13
- package/dist/components/json-editor.js.map +0 -1
- package/dist/components/json-editor2.js +0 -443
- package/dist/components/json-editor2.js.map +0 -1
- package/dist/components/key.js +0 -18
- package/dist/components/key.js.map +0 -1
- package/dist/components/label.js +0 -108
- package/dist/components/label.js.map +0 -1
- package/dist/components/label2.js +0 -133
- package/dist/components/label2.js.map +0 -1
- package/dist/components/labelFormats.js +0 -212
- package/dist/components/labelFormats.js.map +0 -1
- package/dist/components/link.js +0 -125
- package/dist/components/link.js.map +0 -1
- package/dist/components/list-item.js +0 -151
- package/dist/components/list-item.js.map +0 -1
- package/dist/components/list.js +0 -85
- package/dist/components/list.js.map +0 -1
- package/dist/components/loadModules.js +0 -30
- package/dist/components/loadModules.js.map +0 -1
- package/dist/components/loader.js +0 -118
- package/dist/components/loader.js.map +0 -1
- package/dist/components/locale.js +0 -414
- package/dist/components/locale.js.map +0 -1
- package/dist/components/locale2.js +0 -415
- package/dist/components/locale2.js.map +0 -1
- package/dist/components/map-draw-tools.d.ts +0 -11
- package/dist/components/map-draw-tools.js +0 -13
- package/dist/components/map-draw-tools.js.map +0 -1
- package/dist/components/map-draw-tools2.js +0 -230
- package/dist/components/map-draw-tools2.js.map +0 -1
- package/dist/components/map-layer-picker.d.ts +0 -11
- package/dist/components/map-layer-picker.js +0 -13
- package/dist/components/map-layer-picker.js.map +0 -1
- package/dist/components/map-layer-picker2.js +0 -190
- package/dist/components/map-layer-picker2.js.map +0 -1
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -157
- package/dist/components/map-search.js.map +0 -1
- package/dist/components/map-select-tools.d.ts +0 -11
- package/dist/components/map-select-tools.js +0 -13
- package/dist/components/map-select-tools.js.map +0 -1
- package/dist/components/map-select-tools2.js +0 -555
- package/dist/components/map-select-tools2.js.map +0 -1
- package/dist/components/mapViewUtils.js +0 -131
- package/dist/components/mapViewUtils.js.map +0 -1
- package/dist/components/math.js +0 -26
- package/dist/components/math.js.map +0 -1
- package/dist/components/nonChromiumPlatformUtils.js +0 -505
- package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
- package/dist/components/notice.js +0 -194
- package/dist/components/notice.js.map +0 -1
- package/dist/components/observers.js +0 -58
- package/dist/components/observers.js.map +0 -1
- package/dist/components/openCloseComponent.js +0 -58
- package/dist/components/openCloseComponent.js.map +0 -1
- package/dist/components/option.js +0 -111
- package/dist/components/option.js.map +0 -1
- package/dist/components/panel.js +0 -461
- package/dist/components/panel.js.map +0 -1
- package/dist/components/pdf-download.d.ts +0 -11
- package/dist/components/pdf-download.js +0 -13
- package/dist/components/pdf-download.js.map +0 -1
- package/dist/components/pdf-download2.js +0 -243
- package/dist/components/pdf-download2.js.map +0 -1
- package/dist/components/pick-list-item.js +0 -257
- package/dist/components/pick-list-item.js.map +0 -1
- package/dist/components/popover.js +0 -502
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress.js +0 -62
- package/dist/components/progress.js.map +0 -1
- package/dist/components/public-notification.d.ts +0 -11
- package/dist/components/public-notification.js +0 -784
- package/dist/components/public-notification.js.map +0 -1
- package/dist/components/publicNotificationStore.js +0 -40
- package/dist/components/publicNotificationStore.js.map +0 -1
- package/dist/components/queryUtils.js +0 -163
- package/dist/components/queryUtils.js.map +0 -1
- package/dist/components/radio-group-item.js +0 -103
- package/dist/components/radio-group-item.js.map +0 -1
- package/dist/components/radio-group.js +0 -237
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/refine-selection-tools.d.ts +0 -11
- package/dist/components/refine-selection-tools.js +0 -13
- package/dist/components/refine-selection-tools.js.map +0 -1
- package/dist/components/refine-selection-tools2.js +0 -500
- package/dist/components/refine-selection-tools2.js.map +0 -1
- package/dist/components/refine-selection.d.ts +0 -11
- package/dist/components/refine-selection.js +0 -13
- package/dist/components/refine-selection.js.map +0 -1
- package/dist/components/refine-selection2.js +0 -369
- package/dist/components/refine-selection2.js.map +0 -1
- package/dist/components/resources.js +0 -26
- package/dist/components/resources.js.map +0 -1
- package/dist/components/resources2.js +0 -23
- package/dist/components/resources2.js.map +0 -1
- package/dist/components/resources3.js +0 -40
- package/dist/components/resources3.js.map +0 -1
- package/dist/components/scrim.js +0 -85
- package/dist/components/scrim.js.map +0 -1
- package/dist/components/select.js +0 -261
- package/dist/components/select.js.map +0 -1
- package/dist/components/shared-list-render.js +0 -321
- package/dist/components/shared-list-render.js.map +0 -1
- package/dist/components/shell-panel.js +0 -283
- package/dist/components/shell-panel.js.map +0 -1
- package/dist/components/shell.js +0 -123
- package/dist/components/shell.js.map +0 -1
- package/dist/components/slider.js +0 -898
- package/dist/components/slider.js.map +0 -1
- package/dist/components/solution-configuration.d.ts +0 -11
- package/dist/components/solution-configuration.js +0 -1141
- package/dist/components/solution-configuration.js.map +0 -1
- package/dist/components/solution-contents.d.ts +0 -11
- package/dist/components/solution-contents.js +0 -13
- package/dist/components/solution-contents.js.map +0 -1
- package/dist/components/solution-contents2.js +0 -130
- package/dist/components/solution-contents2.js.map +0 -1
- package/dist/components/solution-item-details.d.ts +0 -11
- package/dist/components/solution-item-details.js +0 -13
- package/dist/components/solution-item-details.js.map +0 -1
- package/dist/components/solution-item-details2.js +0 -236
- package/dist/components/solution-item-details2.js.map +0 -1
- package/dist/components/solution-item-icon.d.ts +0 -11
- package/dist/components/solution-item-icon.js +0 -13
- package/dist/components/solution-item-icon.js.map +0 -1
- package/dist/components/solution-item-icon2.js +0 -344
- package/dist/components/solution-item-icon2.js.map +0 -1
- package/dist/components/solution-item-sharing.d.ts +0 -11
- package/dist/components/solution-item-sharing.js +0 -13
- package/dist/components/solution-item-sharing.js.map +0 -1
- package/dist/components/solution-item-sharing2.js +0 -169
- package/dist/components/solution-item-sharing2.js.map +0 -1
- package/dist/components/solution-item.d.ts +0 -11
- package/dist/components/solution-item.js +0 -13
- package/dist/components/solution-item.js.map +0 -1
- package/dist/components/solution-item2.js +0 -317
- package/dist/components/solution-item2.js.map +0 -1
- package/dist/components/solution-organization-variables.d.ts +0 -11
- package/dist/components/solution-organization-variables.js +0 -13
- package/dist/components/solution-organization-variables.js.map +0 -1
- package/dist/components/solution-organization-variables2.js +0 -134
- package/dist/components/solution-organization-variables2.js.map +0 -1
- package/dist/components/solution-resource-item.d.ts +0 -11
- package/dist/components/solution-resource-item.js +0 -13
- package/dist/components/solution-resource-item.js.map +0 -1
- package/dist/components/solution-resource-item2.js +0 -358
- package/dist/components/solution-resource-item2.js.map +0 -1
- package/dist/components/solution-spatial-ref.d.ts +0 -11
- package/dist/components/solution-spatial-ref.js +0 -13
- package/dist/components/solution-spatial-ref.js.map +0 -1
- package/dist/components/solution-spatial-ref2.js +0 -21448
- package/dist/components/solution-spatial-ref2.js.map +0 -1
- package/dist/components/solution-store.js +0 -4094
- package/dist/components/solution-store.js.map +0 -1
- package/dist/components/solution-template-data.d.ts +0 -11
- package/dist/components/solution-template-data.js +0 -13
- package/dist/components/solution-template-data.js.map +0 -1
- package/dist/components/solution-template-data2.js +0 -235
- package/dist/components/solution-template-data2.js.map +0 -1
- package/dist/components/solution-variables.d.ts +0 -11
- package/dist/components/solution-variables.js +0 -13
- package/dist/components/solution-variables.js.map +0 -1
- package/dist/components/solution-variables2.js +0 -152
- package/dist/components/solution-variables2.js.map +0 -1
- package/dist/components/sortable.esm.js +0 -3028
- package/dist/components/sortable.esm.js.map +0 -1
- package/dist/components/store-manager.d.ts +0 -11
- package/dist/components/store-manager.js +0 -85
- package/dist/components/store-manager.js.map +0 -1
- package/dist/components/switch.js +0 -141
- package/dist/components/switch.js.map +0 -1
- package/dist/components/tab-nav.js +0 -243
- package/dist/components/tab-nav.js.map +0 -1
- package/dist/components/tab-title.js +0 -278
- package/dist/components/tab-title.js.map +0 -1
- package/dist/components/tab.js +0 -156
- package/dist/components/tab.js.map +0 -1
- package/dist/components/tabs.js +0 -190
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/tile.js +0 -131
- package/dist/components/tile.js.map +0 -1
- package/dist/components/time-picker.js +0 -945
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/tooltip.js +0 -401
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/tree-item.js +0 -296
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/tree.js +0 -329
- package/dist/components/tree.js.map +0 -1
- package/dist/components/utils.js +0 -121
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js +0 -53
- package/dist/components/utils2.js.map +0 -1
- package/dist/components/value-list-item.js +0 -206
- package/dist/components/value-list-item.js.map +0 -1
- package/dist/components/value-list.js +0 -335
- package/dist/components/value-list.js.map +0 -1
- package/dist/esm/solution-store-c1f6173a.js.map +0 -1
- package/dist/solutions-components/p-065830b8.js.map +0 -1
- package/dist/solutions-components/p-0e7a0839.entry.js.map +0 -1
- package/dist/solutions-components/p-401541a5.entry.js +0 -895
- package/dist/solutions-components/p-401541a5.entry.js.map +0 -1
- package/dist/solutions-components/p-ee9be0ef.entry.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"shared-list-render.js","mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAKO,SAAS,wBAAwB,GAAG;AAC3C,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC;AACpB,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC;AACrB,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAC;AAC9B,CAAC;AACD,MAAM,oBAAoB,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACO,SAAS,UAAU,GAAG;AAC7B,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC;AACpB,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC;AACrB,EAAE,IAAI,CAAC,qBAAqB,GAAG,QAAQ,CAAC,8BAA8B,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;AACtF,CAAC;AACM,SAAS,kBAAkB,GAAG;AACrC,EAAE,IAAI,EAAE,CAAC;AACT,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,gBAAgB,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CA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BAAiB,EAAE,WAAW,EAAE,WAAW,EAAE,gBAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,KAAK;AAC9K,EAAE,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AACtC,EAAE,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,WAAW,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,WAAW,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,IAAI,EAAE,EAAE,EAAE,aAAa,IAAI,CAAC,CAAC,gBAAgB,EAAE,EAAE,YAAY,EAAE,iBAAiB,EAAE,QAAQ,EAAE,OAAO,IAAI,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAEA,OAAK,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC,CAAC,EAAE;AACtlB;;;;","names":["SLOTS"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/pick-list/shared-list-logic.js","./node_modules/@esri/calcite-components/dist/collection/components/pick-list/shared-list-render.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { debounce } from \"lodash-es\";\nimport { focusElement, getSlotted } from \"../../utils/dom\";\nimport { getRoundRobinIndex } from \"../../utils/array\";\nimport { SLOTS } from \"../pick-list-group/resources\";\nexport function mutationObserverCallback() {\n this.setUpItems();\n this.setUpFilter();\n this.deselectRemovedItems();\n}\nconst SUPPORTED_ARROW_KEYS = [\"ArrowUp\", \"ArrowDown\"];\n// --------------------------------------------------------------------------\n//\n// Lifecycle\n//\n// --------------------------------------------------------------------------\nexport function initialize() {\n this.setUpItems();\n this.setUpFilter();\n this.emitCalciteListChange = debounce(internalCalciteListChangeEvent.bind(this), 0);\n}\nexport function initializeObserver() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n}\nexport function cleanUpObserver() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n}\n// --------------------------------------------------------------------------\n//\n// Listeners\n//\n// --------------------------------------------------------------------------\nexport function calciteListItemChangeHandler(event) {\n const { selectedValues } = this;\n const { item, value, selected, shiftPressed } = event.detail;\n if (selected) {\n if (this.multiple && shiftPressed) {\n this.selectSiblings(item);\n }\n if (!this.multiple) {\n this.deselectSiblingItems(item);\n }\n selectedValues.set(value, item);\n }\n else {\n selectedValues.delete(value);\n if (this.multiple && shiftPressed) {\n this.selectSiblings(item, true);\n }\n }\n if (!this.multiple) {\n toggleSingleSelectItemTabbing(item, selected);\n if (selected) {\n focusElement(item);\n }\n }\n this.lastSelectedItem = item;\n this.emitCalciteListChange();\n}\nexport function calciteInternalListItemValueChangeHandler(event) {\n const oldValue = event.detail.oldValue;\n const selectedValues = this.selectedValues;\n if (selectedValues.has(oldValue)) {\n const item = selectedValues.get(oldValue);\n selectedValues.delete(oldValue);\n selectedValues.set(event.detail.newValue, item);\n }\n event.stopPropagation();\n}\n// --------------------------------------------------------------------------\n//\n// Private Methods\n//\n// --------------------------------------------------------------------------\nfunction isValidNavigationKey(key) {\n return !!SUPPORTED_ARROW_KEYS.find((k) => k === key);\n}\nexport function calciteListFocusOutHandler(event) {\n const { el, items, multiple, selectedValues } = this;\n if (multiple) {\n return;\n }\n const focusedInside = el.contains(event.relatedTarget);\n if (focusedInside) {\n return;\n }\n filterOutDisabled(items).forEach((item) => {\n toggleSingleSelectItemTabbing(item, selectedValues.size === 0 ? item.contains(event.target) || event.target === item : item.selected);\n });\n}\nexport function keyDownHandler(event) {\n const { key, target } = event;\n if (!isValidNavigationKey(key)) {\n return;\n }\n const { items, multiple, selectionFollowsFocus } = this;\n const { length: totalItems } = items;\n const currentIndex = items.indexOf(target);\n if (!totalItems || currentIndex === -1) {\n return;\n }\n event.preventDefault();\n const index = moveItemIndex(this, target, key === \"ArrowUp\" ? \"up\" : \"down\");\n const item = items[index];\n items.forEach((i) => toggleSingleSelectItemTabbing(i, i === item));\n if (!multiple && selectionFollowsFocus) {\n item.selected = true;\n }\n focusElement(item);\n}\nexport function moveItemIndex(list, item, direction) {\n const { items } = list;\n const { length: totalItems } = items;\n const currentIndex = items.indexOf(item);\n const directionFactor = direction === \"up\" ? -1 : 1;\n let moveOffset = 1;\n let index = getRoundRobinIndex(currentIndex + directionFactor * moveOffset++, totalItems);\n const firstMovedIndex = index;\n while (items[index].disabled) {\n index = getRoundRobinIndex(currentIndex + directionFactor * moveOffset++, totalItems);\n if (index === firstMovedIndex) {\n break;\n }\n }\n return index;\n}\nexport function getItemIndex(list, item) {\n const { items } = list;\n return items.indexOf(item);\n}\nfunction filterOutDisabled(items) {\n return items.filter((item) => !item.disabled);\n}\nexport function internalCalciteListChangeEvent() {\n this.calciteListChange.emit(this.selectedValues);\n}\nexport function removeItem(event) {\n if (event.defaultPrevented) {\n return;\n }\n const item = event.target;\n const selectedValues = this.selectedValues;\n if (item.parentElement.tagName === \"CALCITE-PICK-LIST-GROUP\" && item.slot === SLOTS.parentItem) {\n item.parentElement.remove();\n Array.from(item.parentElement.children).forEach((item) => selectedValues.delete(item.value));\n }\n else {\n item.remove();\n selectedValues.delete(item.value);\n }\n this.emitCalciteListChange();\n}\nfunction toggleSingleSelectItemTabbing(item, selectable) {\n if (item.disabled) {\n return;\n }\n // using attribute intentionally\n if (selectable) {\n item.removeAttribute(\"tabindex\");\n }\n else {\n item.setAttribute(\"tabindex\", \"-1\");\n }\n}\nexport async function setFocus(focusId) {\n var _a;\n if (this.filterEnabled && focusId === \"filter\") {\n await focusElement(this.filterEl);\n return;\n }\n const { items, multiple, selectionFollowsFocus } = this;\n if (items.length === 0) {\n return;\n }\n if (multiple) {\n return (_a = filterOutDisabled(items)[0]) === null || _a === void 0 ? void 0 : _a.setFocus();\n }\n const filtered = filterOutDisabled(items);\n const focusTarget = filtered.find((item) => item.selected) || filtered[0];\n if (selectionFollowsFocus && focusTarget) {\n focusTarget.selected = true;\n }\n return focusTarget.setFocus();\n}\nexport function setUpItems(tagName) {\n this.items = Array.from(this.el.querySelectorAll(tagName));\n let hasSelected = false;\n const { items } = this;\n items.forEach((item) => {\n item.icon = this.getIconType();\n if (!this.multiple) {\n item.disableDeselect = true;\n toggleSingleSelectItemTabbing(item, false);\n }\n if (item.selected) {\n hasSelected = true;\n toggleSingleSelectItemTabbing(item, true);\n this.selectedValues.set(item.value, item);\n }\n });\n const [first] = items;\n if (!hasSelected && first && !first.disabled) {\n toggleSingleSelectItemTabbing(first, true);\n }\n}\nexport function setUpFilter() {\n if (this.filterEnabled) {\n this.dataForFilter = this.getItemData();\n }\n}\nexport function deselectRemovedItems() {\n const selectedValues = this.selectedValues;\n const itemValues = this.items.map(({ value }) => value);\n selectedValues.forEach((selectedItem) => {\n if (!itemValues.includes(selectedItem.value)) {\n this.selectedValues.delete(selectedItem.value);\n }\n });\n}\nexport function deselectSiblingItems(item) {\n this.items.forEach((currentItem) => {\n if (currentItem.value !== item.value) {\n currentItem.toggleSelected(false);\n if (this.selectedValues.has(currentItem.value)) {\n this.selectedValues.delete(currentItem.value);\n }\n }\n });\n}\nexport function selectSiblings(item, deselect = false) {\n if (!this.lastSelectedItem) {\n return;\n }\n const { items } = this;\n const start = items.findIndex((currentItem) => {\n return currentItem.value === this.lastSelectedItem.value;\n });\n const end = items.findIndex((currentItem) => {\n return currentItem.value === item.value;\n });\n items.slice(Math.min(start, end), Math.max(start, end)).forEach((currentItem) => {\n currentItem.toggleSelected(!deselect);\n if (!deselect) {\n this.selectedValues.set(currentItem.value, currentItem);\n }\n else {\n this.selectedValues.delete(currentItem.value);\n }\n });\n}\nlet groups;\nexport function handleFilter(event) {\n const { filteredItems } = event.currentTarget;\n const values = filteredItems.map((item) => item.value);\n let hasSelectedMatch = false;\n if (!groups) {\n groups = new Set();\n }\n const matchedItems = this.items.filter((item) => {\n const parent = item.parentElement;\n const grouped = parent.matches(\"calcite-pick-list-group\");\n if (grouped) {\n groups.add(parent);\n }\n const matches = values.includes(item.value);\n item.hidden = !matches;\n if (!hasSelectedMatch) {\n hasSelectedMatch = matches && item.selected;\n }\n return matches;\n });\n groups.forEach((group) => {\n const hasAtLeastOneMatch = matchedItems.some((item) => group.contains(item));\n group.hidden = !hasAtLeastOneMatch;\n if (!hasAtLeastOneMatch) {\n return;\n }\n const parentItem = getSlotted(group, \"parent-item\");\n if (parentItem) {\n parentItem.hidden = false;\n if (matchedItems.includes(parentItem)) {\n Array.from(group.children).forEach((child) => (child.hidden = false));\n }\n }\n });\n groups.clear();\n if (matchedItems.length > 0 && !hasSelectedMatch && !this.multiple) {\n toggleSingleSelectItemTabbing(matchedItems[0], true);\n }\n}\nexport function getItemData() {\n return this.items.map((item) => ({\n label: item.label,\n description: item.description,\n metadata: item.metadata,\n value: item.value\n }));\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 { toAriaBoolean } from \"../../utils/dom\";\nimport { CSS, SLOTS } from \"./resources\";\nexport const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl, dragEnabled, storeAssistiveEl }, ...rest }) => {\n const defaultSlot = h(\"slot\", null);\n return (h(Host, { \"aria-busy\": toAriaBoolean(loading), role: \"menu\", ...rest }, h(\"section\", null, dragEnabled ? (h(\"span\", { \"aria-live\": \"assertive\", class: \"assistive-text\", ref: storeAssistiveEl })) : null, h(\"header\", { class: { [CSS.sticky]: true } }, filterEnabled ? (h(\"calcite-filter\", { \"aria-label\": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null, h(\"slot\", { name: SLOTS.menuActions })), loading ? h(\"calcite-scrim\", { loading: loading }) : null, defaultSlot)));\n};\nexport default List;\n"],"version":3}
|
@@ -1,283 +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, forceUpdate } from '@stencil/core/internal/client';
|
7
|
-
import { c as getElementDir, i as isPrimaryPointerButton, b as getSlotted } from './dom.js';
|
8
|
-
import { c as clamp } from './math.js';
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
10
|
-
|
11
|
-
/*!
|
12
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
13
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
14
|
-
* v1.0.0-beta.97
|
15
|
-
*/
|
16
|
-
const CSS = {
|
17
|
-
container: "container",
|
18
|
-
content: "content",
|
19
|
-
contentHeader: "content__header",
|
20
|
-
contentBody: "content__body",
|
21
|
-
contentDetached: "content--detached",
|
22
|
-
separator: "separator"
|
23
|
-
};
|
24
|
-
const SLOTS = {
|
25
|
-
actionBar: "action-bar",
|
26
|
-
header: "header"
|
27
|
-
};
|
28
|
-
const TEXT = {
|
29
|
-
resize: "Resize"
|
30
|
-
};
|
31
|
-
|
32
|
-
const shellPanelCss = "@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{pointer-events:none;display:flex;flex:0 1 auto;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";
|
33
|
-
|
34
|
-
const ShellPanel = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
35
|
-
constructor() {
|
36
|
-
super();
|
37
|
-
this.__registerHost();
|
38
|
-
this.__attachShadow();
|
39
|
-
this.calciteShellPanelToggle = createEvent(this, "calciteShellPanelToggle", 6);
|
40
|
-
// --------------------------------------------------------------------------
|
41
|
-
//
|
42
|
-
// Properties
|
43
|
-
//
|
44
|
-
// --------------------------------------------------------------------------
|
45
|
-
/**
|
46
|
-
* When `true`, hides the component's content area.
|
47
|
-
*/
|
48
|
-
this.collapsed = false;
|
49
|
-
/**
|
50
|
-
* When `true`, the content area displays like a floating panel.
|
51
|
-
*/
|
52
|
-
this.detached = false;
|
53
|
-
/**
|
54
|
-
* When `detached`, specifies the maximum height of the component.
|
55
|
-
*/
|
56
|
-
this.detachedHeightScale = "l";
|
57
|
-
/**
|
58
|
-
* Specifies the width of the component's content area.
|
59
|
-
*/
|
60
|
-
this.widthScale = "m";
|
61
|
-
/**
|
62
|
-
* Accessible name for the resize separator.
|
63
|
-
*
|
64
|
-
* @default "Resize"
|
65
|
-
*/
|
66
|
-
this.intlResize = TEXT.resize;
|
67
|
-
/**
|
68
|
-
* When `true` and not `detached`, the component's content area is resizable.
|
69
|
-
*/
|
70
|
-
this.resizable = false;
|
71
|
-
this.contentWidth = null;
|
72
|
-
this.initialContentWidth = null;
|
73
|
-
this.initialClientX = null;
|
74
|
-
this.contentWidthMax = null;
|
75
|
-
this.contentWidthMin = null;
|
76
|
-
this.step = 1;
|
77
|
-
this.stepMultiplier = 10;
|
78
|
-
this.storeContentEl = (contentEl) => {
|
79
|
-
this.contentEl = contentEl;
|
80
|
-
};
|
81
|
-
this.getKeyAdjustedWidth = (event) => {
|
82
|
-
const { key } = event;
|
83
|
-
const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
|
84
|
-
const multipliedStep = step * stepMultiplier;
|
85
|
-
const MOVEMENT_KEYS = [
|
86
|
-
"ArrowUp",
|
87
|
-
"ArrowDown",
|
88
|
-
"ArrowLeft",
|
89
|
-
"ArrowRight",
|
90
|
-
"Home",
|
91
|
-
"End",
|
92
|
-
"PageUp",
|
93
|
-
"PageDown"
|
94
|
-
];
|
95
|
-
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
96
|
-
event.preventDefault();
|
97
|
-
}
|
98
|
-
const dir = getElementDir(el);
|
99
|
-
const directionKeys = ["ArrowLeft", "ArrowRight"];
|
100
|
-
const directionFactor = dir === "rtl" && directionKeys.includes(key) ? -1 : 1;
|
101
|
-
const increaseKeys = key === "ArrowUp" ||
|
102
|
-
(position === "end" ? key === directionKeys[0] : key === directionKeys[1]);
|
103
|
-
if (increaseKeys) {
|
104
|
-
const stepValue = event.shiftKey ? multipliedStep : step;
|
105
|
-
return initialContentWidth + directionFactor * stepValue;
|
106
|
-
}
|
107
|
-
const decreaseKeys = key === "ArrowDown" ||
|
108
|
-
(position === "end" ? key === directionKeys[1] : key === directionKeys[0]);
|
109
|
-
if (decreaseKeys) {
|
110
|
-
const stepValue = event.shiftKey ? multipliedStep : step;
|
111
|
-
return initialContentWidth - directionFactor * stepValue;
|
112
|
-
}
|
113
|
-
if (typeof contentWidthMin === "number" && key === "Home") {
|
114
|
-
return contentWidthMin;
|
115
|
-
}
|
116
|
-
if (typeof contentWidthMax === "number" && key === "End") {
|
117
|
-
return contentWidthMax;
|
118
|
-
}
|
119
|
-
if (key === "PageDown") {
|
120
|
-
return initialContentWidth - multipliedStep;
|
121
|
-
}
|
122
|
-
if (key === "PageUp") {
|
123
|
-
return initialContentWidth + multipliedStep;
|
124
|
-
}
|
125
|
-
return null;
|
126
|
-
};
|
127
|
-
this.separatorKeyDown = (event) => {
|
128
|
-
this.setInitialContentWidth();
|
129
|
-
const width = this.getKeyAdjustedWidth(event);
|
130
|
-
if (typeof width === "number") {
|
131
|
-
this.setContentWidth(width);
|
132
|
-
}
|
133
|
-
};
|
134
|
-
this.separatorPointerMove = (event) => {
|
135
|
-
event.preventDefault();
|
136
|
-
const { el, initialContentWidth, position, initialClientX } = this;
|
137
|
-
const offset = event.clientX - initialClientX;
|
138
|
-
const dir = getElementDir(el);
|
139
|
-
const adjustmentDirection = dir === "rtl" ? -1 : 1;
|
140
|
-
const adjustedOffset = position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
141
|
-
const width = initialContentWidth + adjustedOffset;
|
142
|
-
this.setContentWidth(width);
|
143
|
-
};
|
144
|
-
this.separatorPointerUp = (event) => {
|
145
|
-
if (!isPrimaryPointerButton(event)) {
|
146
|
-
return;
|
147
|
-
}
|
148
|
-
event.preventDefault();
|
149
|
-
document.removeEventListener("pointerup", this.separatorPointerUp);
|
150
|
-
document.removeEventListener("pointermove", this.separatorPointerMove);
|
151
|
-
};
|
152
|
-
this.setInitialContentWidth = () => {
|
153
|
-
var _a;
|
154
|
-
this.initialContentWidth = (_a = this.contentEl) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width;
|
155
|
-
};
|
156
|
-
this.separatorPointerDown = (event) => {
|
157
|
-
if (!isPrimaryPointerButton(event)) {
|
158
|
-
return;
|
159
|
-
}
|
160
|
-
event.preventDefault();
|
161
|
-
const { separatorEl } = this;
|
162
|
-
separatorEl && document.activeElement !== separatorEl && separatorEl.focus();
|
163
|
-
this.setInitialContentWidth();
|
164
|
-
this.initialClientX = event.clientX;
|
165
|
-
document.addEventListener("pointerup", this.separatorPointerUp);
|
166
|
-
document.addEventListener("pointermove", this.separatorPointerMove);
|
167
|
-
};
|
168
|
-
this.connectSeparator = (separatorEl) => {
|
169
|
-
this.disconnectSeparator();
|
170
|
-
this.separatorEl = separatorEl;
|
171
|
-
separatorEl.addEventListener("pointerdown", this.separatorPointerDown);
|
172
|
-
};
|
173
|
-
this.disconnectSeparator = () => {
|
174
|
-
var _a;
|
175
|
-
(_a = this.separatorEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("pointerdown", this.separatorPointerDown);
|
176
|
-
};
|
177
|
-
}
|
178
|
-
watchHandler() {
|
179
|
-
this.calciteShellPanelToggle.emit();
|
180
|
-
}
|
181
|
-
//--------------------------------------------------------------------------
|
182
|
-
//
|
183
|
-
// Lifecycle
|
184
|
-
//
|
185
|
-
//--------------------------------------------------------------------------
|
186
|
-
connectedCallback() {
|
187
|
-
connectConditionalSlotComponent(this);
|
188
|
-
}
|
189
|
-
disconnectedCallback() {
|
190
|
-
disconnectConditionalSlotComponent(this);
|
191
|
-
this.disconnectSeparator();
|
192
|
-
}
|
193
|
-
componentDidLoad() {
|
194
|
-
this.updateAriaValues();
|
195
|
-
}
|
196
|
-
// --------------------------------------------------------------------------
|
197
|
-
//
|
198
|
-
// Render Methods
|
199
|
-
//
|
200
|
-
// --------------------------------------------------------------------------
|
201
|
-
renderHeader() {
|
202
|
-
const { el } = this;
|
203
|
-
const hasHeader = getSlotted(el, SLOTS.header);
|
204
|
-
return hasHeader ? (h("div", { class: CSS.contentHeader, key: "header" }, h("slot", { name: SLOTS.header }))) : null;
|
205
|
-
}
|
206
|
-
render() {
|
207
|
-
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
|
208
|
-
const allowResizing = !detached && resizable;
|
209
|
-
const contentNode = (h("div", { class: { [CSS.content]: true, [CSS.contentDetached]: detached }, hidden: collapsed, key: "content", ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), h("div", { class: CSS.contentBody }, h("slot", null))));
|
210
|
-
const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS.separator, key: "separator", onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
|
211
|
-
const actionBarNode = h("slot", { key: "action-bar", name: SLOTS.actionBar });
|
212
|
-
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
213
|
-
if (position === "end") {
|
214
|
-
mainNodes.reverse();
|
215
|
-
}
|
216
|
-
return h("div", { class: { [CSS.container]: true } }, mainNodes);
|
217
|
-
}
|
218
|
-
// --------------------------------------------------------------------------
|
219
|
-
//
|
220
|
-
// private Methods
|
221
|
-
//
|
222
|
-
// --------------------------------------------------------------------------
|
223
|
-
setContentWidth(width) {
|
224
|
-
const { contentWidthMax, contentWidthMin } = this;
|
225
|
-
const roundedWidth = Math.round(width);
|
226
|
-
this.contentWidth =
|
227
|
-
typeof contentWidthMax === "number" && typeof contentWidthMin === "number"
|
228
|
-
? clamp(roundedWidth, contentWidthMin, contentWidthMax)
|
229
|
-
: roundedWidth;
|
230
|
-
}
|
231
|
-
updateAriaValues() {
|
232
|
-
const { contentEl } = this;
|
233
|
-
const computedStyle = contentEl && getComputedStyle(contentEl);
|
234
|
-
if (!computedStyle) {
|
235
|
-
return;
|
236
|
-
}
|
237
|
-
const max = parseInt(computedStyle.getPropertyValue("max-width"), 10);
|
238
|
-
const min = parseInt(computedStyle.getPropertyValue("min-width"), 10);
|
239
|
-
const valueNow = parseInt(computedStyle.getPropertyValue("width"), 10);
|
240
|
-
if (typeof valueNow === "number" && !isNaN(valueNow)) {
|
241
|
-
this.initialContentWidth = valueNow;
|
242
|
-
}
|
243
|
-
if (typeof max === "number" && !isNaN(max)) {
|
244
|
-
this.contentWidthMax = max;
|
245
|
-
}
|
246
|
-
if (typeof min === "number" && !isNaN(min)) {
|
247
|
-
this.contentWidthMin = min;
|
248
|
-
}
|
249
|
-
forceUpdate(this);
|
250
|
-
}
|
251
|
-
get el() { return this; }
|
252
|
-
static get watchers() { return {
|
253
|
-
"collapsed": ["watchHandler"]
|
254
|
-
}; }
|
255
|
-
static get style() { return shellPanelCss; }
|
256
|
-
}, [1, "calcite-shell-panel", {
|
257
|
-
"collapsed": [516],
|
258
|
-
"detached": [516],
|
259
|
-
"detachedHeightScale": [513, "detached-height-scale"],
|
260
|
-
"widthScale": [513, "width-scale"],
|
261
|
-
"position": [513],
|
262
|
-
"intlResize": [1, "intl-resize"],
|
263
|
-
"resizable": [516],
|
264
|
-
"contentWidth": [32]
|
265
|
-
}]);
|
266
|
-
function defineCustomElement() {
|
267
|
-
if (typeof customElements === "undefined") {
|
268
|
-
return;
|
269
|
-
}
|
270
|
-
const components = ["calcite-shell-panel"];
|
271
|
-
components.forEach(tagName => { switch (tagName) {
|
272
|
-
case "calcite-shell-panel":
|
273
|
-
if (!customElements.get(tagName)) {
|
274
|
-
customElements.define(tagName, ShellPanel);
|
275
|
-
}
|
276
|
-
break;
|
277
|
-
} });
|
278
|
-
}
|
279
|
-
defineCustomElement();
|
280
|
-
|
281
|
-
export { ShellPanel as S, defineCustomElement as d };
|
282
|
-
|
283
|
-
//# sourceMappingURL=shell-panel.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"shell-panel.js","mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,SAAS,EAAE,WAAW;AACxB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,aAAa,EAAE,iBAAiB;AAClC,EAAE,WAAW,EAAE,eAAe;AAC9B,EAAE,eAAe,EAAE,mBAAmB;AACtC,EAAE,SAAS,EAAE,WAAW;AACxB,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,SAAS,EAAE,YAAY;AACzB,EAAE,MAAM,EAAE,QAAQ;AAClB,CAAC,CAAC;AACK,MAAM,IAAI,GAAG;AACpB,EAAE,MAAM,EAAE,QAAQ;AAClB,CAAC;;ACnBD,MAAM,aAAa,GAAG,mvLAAmvL;;MCc5vL,UAAU;EACrB;;;;;;;;;;;;;IASE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;;;;IAIvB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;IAItB,IAAI,CAAC,mBAAmB,GAAG,GAAG,CAAC;;;;IAI/B,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC;;;;;;IAMtB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC;;;;IAI9B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;IACvB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAChC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;IAC3B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC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AAQ,CAAC,aAAa,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;IACvE,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;MACpD,IAAI,CAAC,mBAAmB,GAAG,QAAQ,CAAC;KACrC;IACD,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;MAC1C,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;KAC5B;IACD,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;MAC1C,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;KAC5B;IACD,WAAW,CAAC,IAAI,CAAC,CAAC;GACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/shell-panel/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css?tag=calcite-shell-panel&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n container: \"container\",\n content: \"content\",\n contentHeader: \"content__header\",\n contentBody: \"content__body\",\n contentDetached: \"content--detached\",\n separator: \"separator\"\n};\nexport const SLOTS = {\n actionBar: \"action-bar\",\n header: \"header\"\n};\nexport const TEXT = {\n resize: \"Resize\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n pointer-events: none;\n display: flex;\n flex: 0 1 auto;\n align-items: stretch;\n --calcite-shell-panel-detached-max-height: unset;\n}\n\n.container {\n pointer-events: none;\n box-sizing: border-box;\n display: flex;\n flex: 1 1 auto;\n align-items: stretch;\n background-color: transparent;\n font-size: var(--calcite-font-size--1);\n color: var(--calcite-ui-text-2);\n}\n.container * {\n box-sizing: border-box;\n}\n\n:host(:hover) .separator:not(:hover):not(:focus), \n:host(:focus-within) .separator:not(:hover):not(:focus) {\n opacity: 1;\n background-color: var(--calcite-ui-border-3);\n}\n\n.separator {\n pointer-events: auto;\n position: absolute;\n inset-block: 0px;\n display: flex;\n block-size: 100%;\n inline-size: 0.125rem;\n background-color: transparent;\n opacity: 0;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n cursor: col-resize;\n outline: none;\n}\n.separator:hover {\n opacity: 1;\n background-color: var(--calcite-ui-border-2);\n}\n.separator:focus {\n background-color: var(--calcite-ui-brand);\n opacity: 1;\n}\n\n:host([position=start]) .separator {\n inset-inline-end: -2px;\n}\n\n:host([position=end]) .separator {\n inset-inline-start: -2px;\n}\n\n::slotted(calcite-panel), \n::slotted(calcite-flow) {\n block-size: 100%;\n inline-size: 100%;\n flex: 1 1 auto;\n max-block-size: unset;\n max-inline-size: unset;\n}\n\n::slotted(.calcite-match-height) {\n display: flex;\n flex: 1 1 auto;\n overflow: hidden;\n}\n\n.content {\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: stretch;\n align-self: stretch;\n background-color: var(--calcite-ui-background);\n padding: 0px;\n inline-size: var(--calcite-shell-panel-width);\n max-inline-size: var(--calcite-shell-panel-max-width);\n min-inline-size: var(--calcite-shell-panel-min-width);\n transition: max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);\n}\n\n.content__header {\n display: flex;\n flex: 0 1 auto;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: stretch;\n}\n\n.content__body {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n overflow: hidden;\n}\n\n:host([width-scale=s]) .content {\n --calcite-shell-panel-width: calc(var(--calcite-panel-width-multiplier) * 12vw);\n --calcite-shell-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 300px);\n --calcite-shell-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 150px);\n}\n\n:host([width-scale=m]) .content {\n --calcite-shell-panel-width: calc(var(--calcite-panel-width-multiplier) * 20vw);\n --calcite-shell-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 420px);\n --calcite-shell-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 240px);\n}\n\n:host([width-scale=l]) .content {\n --calcite-shell-panel-width: calc(var(--calcite-panel-width-multiplier) * 45vw);\n --calcite-shell-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 680px);\n --calcite-shell-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 340px);\n}\n\n:host([detached-height-scale=s]) .content--detached {\n --calcite-shell-panel-detached-max-height: 40vh;\n}\n\n:host([detached-height-scale=m]) .content--detached {\n --calcite-shell-panel-detached-max-height: 60vh;\n}\n\n:host([detached-height-scale=l]) .content--detached {\n --calcite-shell-panel-detached-max-height: 80vh;\n}\n\n.content--detached {\n margin-inline: 0.5rem;\n margin-block: 0.5rem auto;\n block-size: auto;\n overflow: hidden;\n border-radius: 0.25rem;\n --tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);\n --tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n max-block-size: var(--calcite-shell-panel-detached-max-height);\n}\n.content--detached ::slotted(calcite-panel),\n.content--detached ::slotted(calcite-flow) {\n max-block-size: unset;\n}\n\n:host([position=start]) .content--detached ::slotted(calcite-panel), \n:host([position=start]) .content--detached ::slotted(calcite-flow), \n:host([position=end]) .content--detached ::slotted(calcite-panel), \n:host([position=end]) .content--detached ::slotted(calcite-flow) {\n border-style: none;\n}\n\n.content[hidden] {\n display: none;\n}\n\nslot[name=action-bar]::slotted(calcite-action-bar), \n.content ::slotted(calcite-flow), \n.content ::slotted(calcite-panel:not([dismissed])) {\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n}\n\n:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=start]) .content ::slotted(calcite-flow),\n:host([position=start]) .content ::slotted(calcite-panel) {\n border-inline-start: none;\n}\n\n:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=end]) .content ::slotted(calcite-flow),\n:host([position=end]) .content ::slotted(calcite-panel) {\n border-inline-end: none;\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, forceUpdate } from \"@stencil/core\";\nimport { CSS, SLOTS, TEXT } from \"./resources\";\nimport { getSlotted, getElementDir, isPrimaryPointerButton } from \"../../utils/dom\";\nimport { clamp } from \"../../utils/math\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * @slot - A slot for adding content to the component.\n * @slot action-bar - A slot for adding a `calcite-action-bar` to the component.\n */\nexport class ShellPanel {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, hides the component's content area.\n */\n this.collapsed = false;\n /**\n * When `true`, the content area displays like a floating panel.\n */\n this.detached = false;\n /**\n * When `detached`, specifies the maximum height of the component.\n */\n this.detachedHeightScale = \"l\";\n /**\n * Specifies the width of the component's content area.\n */\n this.widthScale = \"m\";\n /**\n * Accessible name for the resize separator.\n *\n * @default \"Resize\"\n */\n this.intlResize = TEXT.resize;\n /**\n * When `true` and not `detached`, the component's content area is resizable.\n */\n this.resizable = false;\n this.contentWidth = null;\n this.initialContentWidth = null;\n this.initialClientX = null;\n this.contentWidthMax = null;\n this.contentWidthMin = null;\n this.step = 1;\n this.stepMultiplier = 10;\n this.storeContentEl = (contentEl) => {\n this.contentEl = contentEl;\n };\n this.getKeyAdjustedWidth = (event) => {\n const { key } = event;\n const { el, step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;\n const multipliedStep = step * stepMultiplier;\n const MOVEMENT_KEYS = [\n \"ArrowUp\",\n \"ArrowDown\",\n \"ArrowLeft\",\n \"ArrowRight\",\n \"Home\",\n \"End\",\n \"PageUp\",\n \"PageDown\"\n ];\n if (MOVEMENT_KEYS.indexOf(key) > -1) {\n event.preventDefault();\n }\n const dir = getElementDir(el);\n const directionKeys = [\"ArrowLeft\", \"ArrowRight\"];\n const directionFactor = dir === \"rtl\" && directionKeys.includes(key) ? -1 : 1;\n const increaseKeys = key === \"ArrowUp\" ||\n (position === \"end\" ? key === directionKeys[0] : key === directionKeys[1]);\n if (increaseKeys) {\n const stepValue = event.shiftKey ? multipliedStep : step;\n return initialContentWidth + directionFactor * stepValue;\n }\n const decreaseKeys = key === \"ArrowDown\" ||\n (position === \"end\" ? key === directionKeys[1] : key === directionKeys[0]);\n if (decreaseKeys) {\n const stepValue = event.shiftKey ? multipliedStep : step;\n return initialContentWidth - directionFactor * stepValue;\n }\n if (typeof contentWidthMin === \"number\" && key === \"Home\") {\n return contentWidthMin;\n }\n if (typeof contentWidthMax === \"number\" && key === \"End\") {\n return contentWidthMax;\n }\n if (key === \"PageDown\") {\n return initialContentWidth - multipliedStep;\n }\n if (key === \"PageUp\") {\n return initialContentWidth + multipliedStep;\n }\n return null;\n };\n this.separatorKeyDown = (event) => {\n this.setInitialContentWidth();\n const width = this.getKeyAdjustedWidth(event);\n if (typeof width === \"number\") {\n this.setContentWidth(width);\n }\n };\n this.separatorPointerMove = (event) => {\n event.preventDefault();\n const { el, initialContentWidth, position, initialClientX } = this;\n const offset = event.clientX - initialClientX;\n const dir = getElementDir(el);\n const adjustmentDirection = dir === \"rtl\" ? -1 : 1;\n const adjustedOffset = position === \"end\" ? -adjustmentDirection * offset : adjustmentDirection * offset;\n const width = initialContentWidth + adjustedOffset;\n this.setContentWidth(width);\n };\n this.separatorPointerUp = (event) => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n event.preventDefault();\n document.removeEventListener(\"pointerup\", this.separatorPointerUp);\n document.removeEventListener(\"pointermove\", this.separatorPointerMove);\n };\n this.setInitialContentWidth = () => {\n var _a;\n this.initialContentWidth = (_a = this.contentEl) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width;\n };\n this.separatorPointerDown = (event) => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n event.preventDefault();\n const { separatorEl } = this;\n separatorEl && document.activeElement !== separatorEl && separatorEl.focus();\n this.setInitialContentWidth();\n this.initialClientX = event.clientX;\n document.addEventListener(\"pointerup\", this.separatorPointerUp);\n document.addEventListener(\"pointermove\", this.separatorPointerMove);\n };\n this.connectSeparator = (separatorEl) => {\n this.disconnectSeparator();\n this.separatorEl = separatorEl;\n separatorEl.addEventListener(\"pointerdown\", this.separatorPointerDown);\n };\n this.disconnectSeparator = () => {\n var _a;\n (_a = this.separatorEl) === null || _a === void 0 ? void 0 : _a.removeEventListener(\"pointerdown\", this.separatorPointerDown);\n };\n }\n watchHandler() {\n this.calciteShellPanelToggle.emit();\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n this.disconnectSeparator();\n }\n componentDidLoad() {\n this.updateAriaValues();\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderHeader() {\n const { el } = this;\n const hasHeader = getSlotted(el, SLOTS.header);\n return hasHeader ? (h(\"div\", { class: CSS.contentHeader, key: \"header\" }, h(\"slot\", { name: SLOTS.header }))) : null;\n }\n render() {\n const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;\n const allowResizing = !detached && resizable;\n const contentNode = (h(\"div\", { class: { [CSS.content]: true, [CSS.contentDetached]: detached }, hidden: collapsed, key: \"content\", ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), h(\"div\", { class: CSS.contentBody }, h(\"slot\", null))));\n const separatorNode = allowResizing ? (h(\"div\", { \"aria-label\": intlResize, \"aria-orientation\": \"horizontal\", \"aria-valuemax\": contentWidthMax, \"aria-valuemin\": contentWidthMin, \"aria-valuenow\": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS.separator, key: \"separator\", onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: \"separator\", tabIndex: 0, \"touch-action\": \"none\" })) : null;\n const actionBarNode = h(\"slot\", { key: \"action-bar\", name: SLOTS.actionBar });\n const mainNodes = [actionBarNode, contentNode, separatorNode];\n if (position === \"end\") {\n mainNodes.reverse();\n }\n return h(\"div\", { class: { [CSS.container]: true } }, mainNodes);\n }\n // --------------------------------------------------------------------------\n //\n // private Methods\n //\n // --------------------------------------------------------------------------\n setContentWidth(width) {\n const { contentWidthMax, contentWidthMin } = this;\n const roundedWidth = Math.round(width);\n this.contentWidth =\n typeof contentWidthMax === \"number\" && typeof contentWidthMin === \"number\"\n ? clamp(roundedWidth, contentWidthMin, contentWidthMax)\n : roundedWidth;\n }\n updateAriaValues() {\n const { contentEl } = this;\n const computedStyle = contentEl && getComputedStyle(contentEl);\n if (!computedStyle) {\n return;\n }\n const max = parseInt(computedStyle.getPropertyValue(\"max-width\"), 10);\n const min = parseInt(computedStyle.getPropertyValue(\"min-width\"), 10);\n const valueNow = parseInt(computedStyle.getPropertyValue(\"width\"), 10);\n if (typeof valueNow === \"number\" && !isNaN(valueNow)) {\n this.initialContentWidth = valueNow;\n }\n if (typeof max === \"number\" && !isNaN(max)) {\n this.contentWidthMax = max;\n }\n if (typeof min === \"number\" && !isNaN(min)) {\n this.contentWidthMin = min;\n }\n forceUpdate(this);\n }\n static get is() { return \"calcite-shell-panel\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"shell-panel.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"shell-panel.css\"]\n };\n }\n static get properties() {\n return {\n \"collapsed\": {\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`, hides the component's content area.\"\n },\n \"attribute\": \"collapsed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"detached\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the content area displays like a floating panel.\"\n },\n \"attribute\": \"detached\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"detachedHeightScale\": {\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\": \"When `detached`, specifies the maximum height of the component.\"\n },\n \"attribute\": \"detached-height-scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"l\\\"\"\n },\n \"widthScale\": {\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 width of the component's content area.\"\n },\n \"attribute\": \"width-scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"position\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Position\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Position\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the component's position. Will be flipped when the element direction is right-to-left (`\\\"rtl\\\"`).\"\n },\n \"attribute\": \"position\",\n \"reflect\": true\n },\n \"intlResize\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Resize\\\"\"\n }],\n \"text\": \"Accessible name for the resize separator.\"\n },\n \"attribute\": \"intl-resize\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.resize\"\n },\n \"resizable\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true` and not `detached`, the component's content area is resizable.\"\n },\n \"attribute\": \"resizable\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"contentWidth\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteShellPanelToggle\",\n \"name\": \"calciteShellPanelToggle\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use a `ResizeObserver` on the component to listen for changes to its size.\"\n }],\n \"text\": \"Emitted when collapse has been toggled.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"collapsed\",\n \"methodName\": \"watchHandler\"\n }];\n }\n}\n"],"version":3}
|
package/dist/components/shell.js
DELETED
@@ -1,123 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
7
|
-
import { b as getSlotted } from './dom.js';
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
9
|
-
|
10
|
-
/*!
|
11
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
12
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
13
|
-
* v1.0.0-beta.97
|
14
|
-
*/
|
15
|
-
const CSS = {
|
16
|
-
main: "main",
|
17
|
-
mainReversed: "main--reversed",
|
18
|
-
content: "content",
|
19
|
-
contentBehind: "content--behind",
|
20
|
-
footer: "footer"
|
21
|
-
};
|
22
|
-
const SLOTS = {
|
23
|
-
centerRow: "center-row",
|
24
|
-
primaryPanel: "primary-panel",
|
25
|
-
contextualPanel: "contextual-panel",
|
26
|
-
panelStart: "panel-start",
|
27
|
-
panelEnd: "panel-end",
|
28
|
-
header: "header",
|
29
|
-
footer: "footer"
|
30
|
-
};
|
31
|
-
|
32
|
-
const shellCss = "@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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.main--reversed{flex-direction:row-reverse}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";
|
33
|
-
|
34
|
-
const Shell = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
35
|
-
constructor() {
|
36
|
-
super();
|
37
|
-
this.__registerHost();
|
38
|
-
this.__attachShadow();
|
39
|
-
// --------------------------------------------------------------------------
|
40
|
-
//
|
41
|
-
// Properties
|
42
|
-
//
|
43
|
-
// --------------------------------------------------------------------------
|
44
|
-
/**
|
45
|
-
* Positions the center content behind any `calcite-shell-panel`s.
|
46
|
-
*/
|
47
|
-
this.contentBehind = false;
|
48
|
-
}
|
49
|
-
// --------------------------------------------------------------------------
|
50
|
-
//
|
51
|
-
// Lifecycle
|
52
|
-
//
|
53
|
-
// --------------------------------------------------------------------------
|
54
|
-
connectedCallback() {
|
55
|
-
connectConditionalSlotComponent(this);
|
56
|
-
}
|
57
|
-
disconnectedCallback() {
|
58
|
-
disconnectConditionalSlotComponent(this);
|
59
|
-
}
|
60
|
-
// --------------------------------------------------------------------------
|
61
|
-
//
|
62
|
-
// Render Methods
|
63
|
-
//
|
64
|
-
// --------------------------------------------------------------------------
|
65
|
-
renderHeader() {
|
66
|
-
const hasHeader = !!getSlotted(this.el, SLOTS.header);
|
67
|
-
return hasHeader ? h("slot", { key: "header", name: SLOTS.header }) : null;
|
68
|
-
}
|
69
|
-
renderContent() {
|
70
|
-
const defaultSlotNode = h("slot", { key: "default-slot" });
|
71
|
-
const centerRowSlotNode = h("slot", { key: "center-row-slot", name: SLOTS.centerRow });
|
72
|
-
const contentContainerKey = "content-container";
|
73
|
-
const content = !!this.contentBehind
|
74
|
-
? [
|
75
|
-
h("div", { class: {
|
76
|
-
[CSS.content]: true,
|
77
|
-
[CSS.contentBehind]: true
|
78
|
-
}, key: contentContainerKey }, defaultSlotNode),
|
79
|
-
centerRowSlotNode
|
80
|
-
]
|
81
|
-
: [
|
82
|
-
h("div", { class: CSS.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
83
|
-
];
|
84
|
-
return content;
|
85
|
-
}
|
86
|
-
renderFooter() {
|
87
|
-
const hasFooter = !!getSlotted(this.el, SLOTS.footer);
|
88
|
-
return hasFooter ? (h("div", { class: CSS.footer, key: "footer" }, h("slot", { name: SLOTS.footer }))) : null;
|
89
|
-
}
|
90
|
-
renderMain() {
|
91
|
-
const primaryPanel = getSlotted(this.el, SLOTS.primaryPanel);
|
92
|
-
const mainClasses = {
|
93
|
-
[CSS.main]: true,
|
94
|
-
[CSS.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
|
95
|
-
};
|
96
|
-
return (h("div", { class: mainClasses }, h("slot", { name: SLOTS.primaryPanel }), h("slot", { name: SLOTS.panelStart }), this.renderContent(), h("slot", { name: SLOTS.panelEnd }), h("slot", { name: SLOTS.contextualPanel })));
|
97
|
-
}
|
98
|
-
render() {
|
99
|
-
return (h(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter()));
|
100
|
-
}
|
101
|
-
get el() { return this; }
|
102
|
-
static get style() { return shellCss; }
|
103
|
-
}, [1, "calcite-shell", {
|
104
|
-
"contentBehind": [516, "content-behind"]
|
105
|
-
}]);
|
106
|
-
function defineCustomElement() {
|
107
|
-
if (typeof customElements === "undefined") {
|
108
|
-
return;
|
109
|
-
}
|
110
|
-
const components = ["calcite-shell"];
|
111
|
-
components.forEach(tagName => { switch (tagName) {
|
112
|
-
case "calcite-shell":
|
113
|
-
if (!customElements.get(tagName)) {
|
114
|
-
customElements.define(tagName, Shell);
|
115
|
-
}
|
116
|
-
break;
|
117
|
-
} });
|
118
|
-
}
|
119
|
-
defineCustomElement();
|
120
|
-
|
121
|
-
export { Shell as S, defineCustomElement as d };
|
122
|
-
|
123
|
-
//# sourceMappingURL=shell.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"shell.js","mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,YAAY,EAAE,gBAAgB;AAChC,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,aAAa,EAAE,iBAAiB;AAClC,EAAE,MAAM,EAAE,QAAQ;AAClB,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,SAAS,EAAE,YAAY;AACzB,EAAE,YAAY,EAAE,eAAe;AAC/B,EAAE,eAAe,EAAE,kBAAkB;AACrC,EAAE,UAAU,EAAE,aAAa;AAC3B,EAAE,QAAQ,EAAE,WAAW;AACvB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,MAAM,EAAE,QAAQ;AAClB,CAAC;;ACpBD,MAAM,QAAQ,GAAG,0gHAA0gH;;MCmB9gH,KAAK;EAChB;;;;;;;;;;;;IASE,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;GAC5B;;;;;;EAMD,iBAAiB;IACf,+BAA+B,CAAC,IAAI,CAAC,CAAC;GACvC;EACD,oBAAoB;IAClB,kCAAkC,CAAC,IAAI,CAAC,CAAC;GAC1C;;;;;;EAMD,YAAY;IACV,MAAM,SAAS,GAAG,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtD,OAAO,SAAS,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC;GAC5E;EACD,aAAa;IACX,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,cAA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C,GAAG,KAAK,CAAC,GAAG,YAAY,CAAC,QAAQ,MAAM,KAAK;KAClH,CAAC;IACF,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE;GAClO;EACD,MAAM;IACJ,QAAQ,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,EAAE;GACzF;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/shell/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css?tag=calcite-shell&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/shell/shell.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n main: \"main\",\n mainReversed: \"main--reversed\",\n content: \"content\",\n contentBehind: \"content--behind\",\n footer: \"footer\"\n};\nexport const SLOTS = {\n centerRow: \"center-row\",\n primaryPanel: \"primary-panel\",\n contextualPanel: \"contextual-panel\",\n panelStart: \"panel-start\",\n panelEnd: \"panel-end\",\n header: \"header\",\n footer: \"footer\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n:host * {\n box-sizing: border-box;\n}\n\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-shell-tip-spacing: The left and right spacing of the `calcite-tip-manager` when slotted in the component.\n*/\n:host {\n position: absolute;\n inset: 0px;\n display: flex;\n block-size: 100%;\n inline-size: 100%;\n flex-direction: column;\n overflow: hidden;\n --calcite-shell-tip-spacing: 26vw;\n}\n\n.main {\n position: relative;\n display: flex;\n block-size: 100%;\n inline-size: 100%;\n flex: 1 1 auto;\n flex-direction: row;\n justify-content: space-between;\n overflow: hidden;\n}\n\n.main--reversed {\n flex-direction: row-reverse;\n}\n\n.content {\n display: flex;\n block-size: 100%;\n inline-size: 100%;\n flex-direction: column;\n flex-wrap: nowrap;\n overflow: auto;\n}\n\n.content ::slotted(calcite-shell-center-row), \n.content ::slotted(calcite-panel), \n.content ::slotted(calcite-flow) {\n flex: 1 1 auto;\n align-self: stretch;\n max-block-size: unset;\n}\n\n.content--behind {\n position: absolute;\n inset: 0px;\n border-width: 0px;\n z-index: calc(1 - 1);\n display: initial;\n}\n\n::slotted(calcite-shell-center-row) {\n inline-size: unset;\n}\n\n::slotted(.header .heading) {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-normal);\n}\n\nslot[name=panel-end]::slotted(calcite-shell-panel) {\n margin-inline-start: auto;\n}\n\n::slotted(calcite-shell-panel), \n::slotted(calcite-shell-center-row) {\n position: relative;\n z-index: 1;\n}\n\n::slotted(calcite-panel), \n::slotted(calcite-flow) {\n border-width: 1px;\n border-inline-start-width: 0px;\n border-inline-end-width: 0px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n}\n\nslot[name=center-row]::slotted(calcite-shell-center-row:not([detached])) {\n border-inline-start-width: 1px;\n border-inline-end-width: 1px;\n border-color: var(--calcite-ui-border-3);\n}\n\n::slotted(calcite-tip-manager) {\n position: absolute;\n z-index: 500;\n box-sizing: border-box;\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\n::slotted(calcite-tip-manager) {\n animation: in-up var(--calcite-internal-animation-timing-slow) ease-in-out;\n border-radius: 0.25rem;\n --tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n --tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n inset-block-end: 0.5rem;\n inset-inline: var(--calcite-shell-tip-spacing);\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Fragment } from \"@stencil/core\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * @slot - A slot for adding content to the component. This content will appear between any leading and trailing panels added to the component, such as a map.\n * @slot header - A slot for adding header content. This content will be positioned at the top of the component.\n * @slot footer - A slot for adding footer content. This content will be positioned at the bottom of the component.\n * @slot panel-start - A slot for adding the starting `calcite-shell-panel`.\n * @slot panel-end - A slot for adding the ending `calcite-shell-panel`.\n * @slot primary-panel - [DEPRECATED] A slot for adding the leading `calcite-shell-panel`.\n * @slot contextual-panel - [DEPRECATED] A slot for adding the trailing `calcite-shell-panel`.\n * @slot center-row - A slot for adding content to the center row.\n */\nexport class Shell {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * Positions the center content behind any `calcite-shell-panel`s.\n */\n this.contentBehind = false;\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderHeader() {\n const hasHeader = !!getSlotted(this.el, SLOTS.header);\n return hasHeader ? h(\"slot\", { key: \"header\", name: SLOTS.header }) : null;\n }\n renderContent() {\n const defaultSlotNode = h(\"slot\", { key: \"default-slot\" });\n const centerRowSlotNode = h(\"slot\", { key: \"center-row-slot\", name: SLOTS.centerRow });\n const contentContainerKey = \"content-container\";\n const content = !!this.contentBehind\n ? [\n h(\"div\", { class: {\n [CSS.content]: true,\n [CSS.contentBehind]: true\n }, key: contentContainerKey }, defaultSlotNode),\n centerRowSlotNode\n ]\n : [\n h(\"div\", { class: CSS.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)\n ];\n return content;\n }\n renderFooter() {\n const hasFooter = !!getSlotted(this.el, SLOTS.footer);\n return hasFooter ? (h(\"div\", { class: CSS.footer, key: \"footer\" }, h(\"slot\", { name: SLOTS.footer }))) : null;\n }\n renderMain() {\n const primaryPanel = getSlotted(this.el, SLOTS.primaryPanel);\n const mainClasses = {\n [CSS.main]: true,\n [CSS.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === \"end\"\n };\n return (h(\"div\", { class: mainClasses }, h(\"slot\", { name: SLOTS.primaryPanel }), h(\"slot\", { name: SLOTS.panelStart }), this.renderContent(), h(\"slot\", { name: SLOTS.panelEnd }), h(\"slot\", { name: SLOTS.contextualPanel })));\n }\n render() {\n return (h(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter()));\n }\n static get is() { return \"calcite-shell\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"shell.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"shell.css\"]\n };\n }\n static get properties() {\n return {\n \"contentBehind\": {\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\": \"Positions the center content behind any `calcite-shell-panel`s.\"\n },\n \"attribute\": \"content-behind\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
|