@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
package/dist/components/panel.js
DELETED
@@ -1,461 +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, Fragment } from '@stencil/core/internal/client';
|
7
|
-
import { c as getElementDir, t as toAriaBoolean } from './dom.js';
|
8
|
-
import { H as Heading } from './Heading.js';
|
9
|
-
import { S as SLOTS$1, d as defineCustomElement$5 } from './action-menu.js';
|
10
|
-
import { u as updateHostInteraction } from './interactive.js';
|
11
|
-
import { c as createObserver } from './observers.js';
|
12
|
-
import { d as defineCustomElement$6 } from './action.js';
|
13
|
-
import { d as defineCustomElement$4 } from './icon.js';
|
14
|
-
import { d as defineCustomElement$3 } from './loader.js';
|
15
|
-
import { d as defineCustomElement$2 } from './popover.js';
|
16
|
-
import { d as defineCustomElement$1 } from './scrim.js';
|
17
|
-
|
18
|
-
/*!
|
19
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
21
|
-
* v1.0.0-beta.97
|
22
|
-
*/
|
23
|
-
const CSS = {
|
24
|
-
backButton: "back-button",
|
25
|
-
container: "container",
|
26
|
-
header: "header",
|
27
|
-
heading: "heading",
|
28
|
-
summary: "summary",
|
29
|
-
description: "description",
|
30
|
-
headerContent: "header-content",
|
31
|
-
headerActions: "header-actions",
|
32
|
-
headerActionsEnd: "header-actions--end",
|
33
|
-
headerActionsStart: "header-actions--start",
|
34
|
-
contentWrapper: "content-wrapper",
|
35
|
-
contentContainer: "content-container",
|
36
|
-
contentHeight: "content-height",
|
37
|
-
fabContainer: "fab-container",
|
38
|
-
footer: "footer"
|
39
|
-
};
|
40
|
-
const ICONS = {
|
41
|
-
close: "x",
|
42
|
-
menu: "ellipsis",
|
43
|
-
backLeft: "chevron-left",
|
44
|
-
backRight: "chevron-right"
|
45
|
-
};
|
46
|
-
const SLOTS = {
|
47
|
-
headerActionsStart: "header-actions-start",
|
48
|
-
headerActionsEnd: "header-actions-end",
|
49
|
-
headerMenuActions: "header-menu-actions",
|
50
|
-
headerContent: "header-content",
|
51
|
-
fab: "fab",
|
52
|
-
footer: "footer",
|
53
|
-
footerActions: "footer-actions"
|
54
|
-
};
|
55
|
-
const TEXT = {
|
56
|
-
back: "Back",
|
57
|
-
close: "Close",
|
58
|
-
open: "Open",
|
59
|
-
options: "Options"
|
60
|
-
};
|
61
|
-
const HEADING_LEVEL = 3;
|
62
|
-
|
63
|
-
const panelCss = "@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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}.header{-webkit-border-after:1px solid;border-block-end:1px solid;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{-webkit-margin-after:0px;margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{-webkit-margin-start:auto;margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{-webkit-border-before:1px solid;border-block-start:1px solid;position:sticky;inset-block-end:0px;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";
|
64
|
-
|
65
|
-
const Panel = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
66
|
-
constructor() {
|
67
|
-
super();
|
68
|
-
this.__registerHost();
|
69
|
-
this.__attachShadow();
|
70
|
-
this.calcitePanelClose = createEvent(this, "calcitePanelClose", 6);
|
71
|
-
this.calcitePanelDismiss = createEvent(this, "calcitePanelDismiss", 6);
|
72
|
-
this.calcitePanelDismissedChange = createEvent(this, "calcitePanelDismissedChange", 6);
|
73
|
-
this.calcitePanelScroll = createEvent(this, "calcitePanelScroll", 6);
|
74
|
-
this.calcitePanelBackClick = createEvent(this, "calcitePanelBackClick", 6);
|
75
|
-
// --------------------------------------------------------------------------
|
76
|
-
//
|
77
|
-
// Properties
|
78
|
-
//
|
79
|
-
// --------------------------------------------------------------------------
|
80
|
-
/**
|
81
|
-
* When `true`, hides the component.
|
82
|
-
*
|
83
|
-
* @deprecated use `closed` instead.
|
84
|
-
*/
|
85
|
-
this.dismissed = false;
|
86
|
-
/** When `true`, the component will be hidden. */
|
87
|
-
this.closed = false;
|
88
|
-
/**
|
89
|
-
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
90
|
-
*/
|
91
|
-
this.disabled = false;
|
92
|
-
/**
|
93
|
-
* When `true`, a close button is added to the component.
|
94
|
-
*
|
95
|
-
* @deprecated use `closable` instead
|
96
|
-
*/
|
97
|
-
this.dismissible = false;
|
98
|
-
/** When `true`, displays a close button in the trailing side of the header. */
|
99
|
-
this.closable = false;
|
100
|
-
/**
|
101
|
-
* When `true`, displays a back button in the header.
|
102
|
-
*
|
103
|
-
* @deprecated use `calcite-flow-item` instead.
|
104
|
-
*/
|
105
|
-
this.showBackButton = false;
|
106
|
-
/**
|
107
|
-
* When `true`, a busy indicator is displayed.
|
108
|
-
*/
|
109
|
-
this.loading = false;
|
110
|
-
/**
|
111
|
-
* When `true`, the action menu items in the `header-menu-actions` slot are open.
|
112
|
-
*/
|
113
|
-
this.menuOpen = false;
|
114
|
-
this.resizeObserver = createObserver("resize", () => this.resizeHandler());
|
115
|
-
this.hasStartActions = false;
|
116
|
-
this.hasEndActions = false;
|
117
|
-
this.hasMenuItems = false;
|
118
|
-
this.hasHeaderContent = false;
|
119
|
-
this.hasFooterContent = false;
|
120
|
-
this.hasFooterActions = false;
|
121
|
-
this.hasFab = false;
|
122
|
-
// --------------------------------------------------------------------------
|
123
|
-
//
|
124
|
-
// Private Methods
|
125
|
-
//
|
126
|
-
// --------------------------------------------------------------------------
|
127
|
-
this.resizeHandler = () => {
|
128
|
-
const { panelScrollEl } = this;
|
129
|
-
if (!panelScrollEl ||
|
130
|
-
typeof panelScrollEl.scrollHeight !== "number" ||
|
131
|
-
typeof panelScrollEl.offsetHeight !== "number") {
|
132
|
-
return;
|
133
|
-
}
|
134
|
-
panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;
|
135
|
-
};
|
136
|
-
this.setContainerRef = (node) => {
|
137
|
-
this.containerEl = node;
|
138
|
-
};
|
139
|
-
this.setCloseRef = (node) => {
|
140
|
-
this.closeButtonEl = node;
|
141
|
-
};
|
142
|
-
this.setBackRef = (node) => {
|
143
|
-
this.backButtonEl = node;
|
144
|
-
};
|
145
|
-
this.panelKeyDownHandler = (event) => {
|
146
|
-
if (this.closable && event.key === "Escape" && !event.defaultPrevented) {
|
147
|
-
this.close();
|
148
|
-
event.preventDefault();
|
149
|
-
}
|
150
|
-
};
|
151
|
-
this.close = () => {
|
152
|
-
this.closed = true;
|
153
|
-
this.calcitePanelDismiss.emit();
|
154
|
-
this.calcitePanelClose.emit();
|
155
|
-
};
|
156
|
-
this.panelScrollHandler = () => {
|
157
|
-
this.calcitePanelScroll.emit();
|
158
|
-
};
|
159
|
-
this.backButtonClick = () => {
|
160
|
-
this.calcitePanelBackClick.emit();
|
161
|
-
};
|
162
|
-
this.handleHeaderActionsStartSlotChange = (event) => {
|
163
|
-
const elements = event.target.assignedElements({
|
164
|
-
flatten: true
|
165
|
-
});
|
166
|
-
this.hasStartActions = !!elements.length;
|
167
|
-
};
|
168
|
-
this.handleHeaderActionsEndSlotChange = (event) => {
|
169
|
-
const elements = event.target.assignedElements({
|
170
|
-
flatten: true
|
171
|
-
});
|
172
|
-
this.hasEndActions = !!elements.length;
|
173
|
-
};
|
174
|
-
this.handleHeaderMenuActionsSlotChange = (event) => {
|
175
|
-
const elements = event.target.assignedElements({
|
176
|
-
flatten: true
|
177
|
-
});
|
178
|
-
this.hasMenuItems = !!elements.length;
|
179
|
-
};
|
180
|
-
this.handleHeaderContentSlotChange = (event) => {
|
181
|
-
const elements = event.target.assignedElements({
|
182
|
-
flatten: true
|
183
|
-
});
|
184
|
-
this.hasHeaderContent = !!elements.length;
|
185
|
-
};
|
186
|
-
this.handleFooterSlotChange = (event) => {
|
187
|
-
const elements = event.target.assignedElements({
|
188
|
-
flatten: true
|
189
|
-
});
|
190
|
-
this.hasFooterContent = !!elements.length;
|
191
|
-
};
|
192
|
-
this.handleFooterActionsSlotChange = (event) => {
|
193
|
-
const elements = event.target.assignedElements({
|
194
|
-
flatten: true
|
195
|
-
});
|
196
|
-
this.hasFooterActions = !!elements.length;
|
197
|
-
};
|
198
|
-
this.handleFabSlotChange = (event) => {
|
199
|
-
const elements = event.target.assignedElements({
|
200
|
-
flatten: true
|
201
|
-
});
|
202
|
-
this.hasFab = !!elements.length;
|
203
|
-
};
|
204
|
-
this.setPanelScrollEl = (el) => {
|
205
|
-
var _a, _b;
|
206
|
-
this.panelScrollEl = el;
|
207
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
208
|
-
if (el) {
|
209
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
210
|
-
this.resizeHandler();
|
211
|
-
}
|
212
|
-
};
|
213
|
-
}
|
214
|
-
dismissedHandler(value) {
|
215
|
-
this.closed = value;
|
216
|
-
this.calcitePanelDismissedChange.emit();
|
217
|
-
}
|
218
|
-
closedHandler(value) {
|
219
|
-
this.dismissed = value;
|
220
|
-
}
|
221
|
-
dismissibleHandler(value) {
|
222
|
-
this.closable = value;
|
223
|
-
}
|
224
|
-
closableHandler(value) {
|
225
|
-
this.dismissible = value;
|
226
|
-
}
|
227
|
-
//--------------------------------------------------------------------------
|
228
|
-
//
|
229
|
-
// Lifecycle
|
230
|
-
//
|
231
|
-
//--------------------------------------------------------------------------
|
232
|
-
componentDidRender() {
|
233
|
-
updateHostInteraction(this);
|
234
|
-
}
|
235
|
-
// --------------------------------------------------------------------------
|
236
|
-
//
|
237
|
-
// Lifecycle
|
238
|
-
//
|
239
|
-
// --------------------------------------------------------------------------
|
240
|
-
connectedCallback() {
|
241
|
-
const isClosed = this.dismissed || this.closed;
|
242
|
-
const isClosable = this.dismissible || this.closable;
|
243
|
-
if (isClosed) {
|
244
|
-
this.dismissedHandler(isClosed);
|
245
|
-
this.closedHandler(isClosed);
|
246
|
-
}
|
247
|
-
if (isClosable) {
|
248
|
-
this.dismissibleHandler(isClosable);
|
249
|
-
this.closableHandler(isClosable);
|
250
|
-
}
|
251
|
-
}
|
252
|
-
disconnectedCallback() {
|
253
|
-
var _a;
|
254
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
255
|
-
}
|
256
|
-
// --------------------------------------------------------------------------
|
257
|
-
//
|
258
|
-
// Methods
|
259
|
-
//
|
260
|
-
// --------------------------------------------------------------------------
|
261
|
-
/**
|
262
|
-
* Sets focus on the component.
|
263
|
-
*
|
264
|
-
* @param focusId
|
265
|
-
*/
|
266
|
-
async setFocus(focusId) {
|
267
|
-
const { backButtonEl, closeButtonEl, containerEl } = this;
|
268
|
-
if (focusId === "back-button") {
|
269
|
-
backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
|
270
|
-
return;
|
271
|
-
}
|
272
|
-
if (focusId === "dismiss-button") {
|
273
|
-
closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
|
274
|
-
return;
|
275
|
-
}
|
276
|
-
if (backButtonEl) {
|
277
|
-
backButtonEl.setFocus();
|
278
|
-
return;
|
279
|
-
}
|
280
|
-
if (closeButtonEl) {
|
281
|
-
closeButtonEl.setFocus();
|
282
|
-
return;
|
283
|
-
}
|
284
|
-
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
285
|
-
}
|
286
|
-
/**
|
287
|
-
* Scrolls the component's content to a specified set of coordinates.
|
288
|
-
*
|
289
|
-
* @example
|
290
|
-
* myCalciteFlowItem.scrollContentTo({
|
291
|
-
* left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
|
292
|
-
* top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
|
293
|
-
* behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
|
294
|
-
* });
|
295
|
-
* @param options
|
296
|
-
*/
|
297
|
-
async scrollContentTo(options) {
|
298
|
-
var _a;
|
299
|
-
(_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
|
300
|
-
}
|
301
|
-
// --------------------------------------------------------------------------
|
302
|
-
//
|
303
|
-
// Render Methods
|
304
|
-
//
|
305
|
-
// --------------------------------------------------------------------------
|
306
|
-
renderBackButton() {
|
307
|
-
const { el } = this;
|
308
|
-
const rtl = getElementDir(el) === "rtl";
|
309
|
-
const { showBackButton, intlBack, backButtonClick } = this;
|
310
|
-
const label = intlBack || TEXT.back;
|
311
|
-
const icon = rtl ? ICONS.backRight : ICONS.backLeft;
|
312
|
-
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS.headerActionsStart, text: label })) : null;
|
313
|
-
}
|
314
|
-
renderHeaderContent() {
|
315
|
-
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
316
|
-
const headingNode = heading ? (h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;
|
317
|
-
const descriptionNode = description || summary ? h("span", { class: CSS.description }, description || summary) : null;
|
318
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
319
|
-
}
|
320
|
-
/**
|
321
|
-
* Allows user to override the entire header-content node.
|
322
|
-
*/
|
323
|
-
renderHeaderSlottedContent() {
|
324
|
-
return (h("div", { class: CSS.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, h("slot", { name: SLOTS.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
325
|
-
}
|
326
|
-
renderHeaderStartActions() {
|
327
|
-
const { hasStartActions } = this;
|
328
|
-
return (h("div", { class: { [CSS.headerActionsStart]: true, [CSS.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, h("slot", { name: SLOTS.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
329
|
-
}
|
330
|
-
renderHeaderActionsEnd() {
|
331
|
-
const { close, hasEndActions, intlClose, closable } = this;
|
332
|
-
const text = intlClose || TEXT.close;
|
333
|
-
const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
334
|
-
const slotNode = (h("slot", { name: SLOTS.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
335
|
-
const showContainer = hasEndActions || closableNode;
|
336
|
-
return (h("div", { class: { [CSS.headerActionsEnd]: true, [CSS.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
337
|
-
}
|
338
|
-
renderMenu() {
|
339
|
-
const { hasMenuItems, intlOptions, menuOpen } = this;
|
340
|
-
return (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || TEXT.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS.menu, slot: SLOTS$1.trigger, text: intlOptions || TEXT.options }), h("slot", { name: SLOTS.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
341
|
-
}
|
342
|
-
renderHeaderNode() {
|
343
|
-
const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
344
|
-
const headerContentNode = this.renderHeaderContent();
|
345
|
-
const showHeader = showBackButton ||
|
346
|
-
hasHeaderContent ||
|
347
|
-
headerContentNode ||
|
348
|
-
hasStartActions ||
|
349
|
-
hasEndActions ||
|
350
|
-
closable ||
|
351
|
-
hasMenuItems;
|
352
|
-
return (h("header", { class: CSS.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
353
|
-
}
|
354
|
-
renderFooterNode() {
|
355
|
-
const { hasFooterContent, hasFooterActions } = this;
|
356
|
-
const showFooter = hasFooterContent || hasFooterActions;
|
357
|
-
return (h("footer", { class: CSS.footer, hidden: !showFooter }, h("slot", { key: "footer-slot", name: SLOTS.footer, onSlotchange: this.handleFooterSlotChange }), h("slot", { key: "footer-actions-slot", name: SLOTS.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
358
|
-
}
|
359
|
-
renderContent() {
|
360
|
-
const { hasFab } = this;
|
361
|
-
const defaultSlotNode = h("slot", { key: "default-slot" });
|
362
|
-
const containerNode = hasFab ? (h("section", { class: CSS.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
363
|
-
return (h("div", { class: {
|
364
|
-
[CSS.contentWrapper]: true,
|
365
|
-
[CSS.contentContainer]: !hasFab,
|
366
|
-
[CSS.contentHeight]: hasFab
|
367
|
-
}, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
368
|
-
}
|
369
|
-
renderFab() {
|
370
|
-
return (h("div", { class: CSS.fabContainer, hidden: !this.hasFab }, h("slot", { name: SLOTS.fab, onSlotchange: this.handleFabSlotChange })));
|
371
|
-
}
|
372
|
-
render() {
|
373
|
-
const { loading, panelKeyDownHandler, closed, closable } = this;
|
374
|
-
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
375
|
-
return (h(Fragment, null, loading ? h("calcite-scrim", { loading: loading }) : null, panelNode));
|
376
|
-
}
|
377
|
-
get el() { return this; }
|
378
|
-
static get watchers() { return {
|
379
|
-
"dismissed": ["dismissedHandler"],
|
380
|
-
"closed": ["closedHandler"],
|
381
|
-
"dismissible": ["dismissibleHandler"],
|
382
|
-
"closable": ["closableHandler"]
|
383
|
-
}; }
|
384
|
-
static get style() { return panelCss; }
|
385
|
-
}, [1, "calcite-panel", {
|
386
|
-
"dismissed": [1540],
|
387
|
-
"closed": [1540],
|
388
|
-
"beforeBack": [16],
|
389
|
-
"disabled": [516],
|
390
|
-
"dismissible": [1540],
|
391
|
-
"closable": [1540],
|
392
|
-
"headingLevel": [514, "heading-level"],
|
393
|
-
"showBackButton": [516, "show-back-button"],
|
394
|
-
"intlBack": [1, "intl-back"],
|
395
|
-
"heightScale": [513, "height-scale"],
|
396
|
-
"widthScale": [513, "width-scale"],
|
397
|
-
"loading": [516],
|
398
|
-
"intlClose": [1, "intl-close"],
|
399
|
-
"intlOptions": [1, "intl-options"],
|
400
|
-
"heading": [1],
|
401
|
-
"summary": [1],
|
402
|
-
"description": [1],
|
403
|
-
"menuOpen": [516, "menu-open"],
|
404
|
-
"hasStartActions": [32],
|
405
|
-
"hasEndActions": [32],
|
406
|
-
"hasMenuItems": [32],
|
407
|
-
"hasHeaderContent": [32],
|
408
|
-
"hasFooterContent": [32],
|
409
|
-
"hasFooterActions": [32],
|
410
|
-
"hasFab": [32],
|
411
|
-
"setFocus": [64],
|
412
|
-
"scrollContentTo": [64]
|
413
|
-
}]);
|
414
|
-
function defineCustomElement() {
|
415
|
-
if (typeof customElements === "undefined") {
|
416
|
-
return;
|
417
|
-
}
|
418
|
-
const components = ["calcite-panel", "calcite-action", "calcite-action-menu", "calcite-icon", "calcite-loader", "calcite-popover", "calcite-scrim"];
|
419
|
-
components.forEach(tagName => { switch (tagName) {
|
420
|
-
case "calcite-panel":
|
421
|
-
if (!customElements.get(tagName)) {
|
422
|
-
customElements.define(tagName, Panel);
|
423
|
-
}
|
424
|
-
break;
|
425
|
-
case "calcite-action":
|
426
|
-
if (!customElements.get(tagName)) {
|
427
|
-
defineCustomElement$6();
|
428
|
-
}
|
429
|
-
break;
|
430
|
-
case "calcite-action-menu":
|
431
|
-
if (!customElements.get(tagName)) {
|
432
|
-
defineCustomElement$5();
|
433
|
-
}
|
434
|
-
break;
|
435
|
-
case "calcite-icon":
|
436
|
-
if (!customElements.get(tagName)) {
|
437
|
-
defineCustomElement$4();
|
438
|
-
}
|
439
|
-
break;
|
440
|
-
case "calcite-loader":
|
441
|
-
if (!customElements.get(tagName)) {
|
442
|
-
defineCustomElement$3();
|
443
|
-
}
|
444
|
-
break;
|
445
|
-
case "calcite-popover":
|
446
|
-
if (!customElements.get(tagName)) {
|
447
|
-
defineCustomElement$2();
|
448
|
-
}
|
449
|
-
break;
|
450
|
-
case "calcite-scrim":
|
451
|
-
if (!customElements.get(tagName)) {
|
452
|
-
defineCustomElement$1();
|
453
|
-
}
|
454
|
-
break;
|
455
|
-
} });
|
456
|
-
}
|
457
|
-
defineCustomElement();
|
458
|
-
|
459
|
-
export { Panel as P, SLOTS as S, defineCustomElement as d };
|
460
|
-
|
461
|
-
//# sourceMappingURL=panel.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"panel.js","mappings":";;;;;;;;;;;;;;;;;AAAA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IAAI,EAAE,SAAS,CAAC,EAAE;GAClG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ACTION_MENU_SLOTS"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/panel/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css?tag=calcite-panel&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/panel/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 backButton: \"back-button\",\n container: \"container\",\n header: \"header\",\n heading: \"heading\",\n summary: \"summary\",\n description: \"description\",\n headerContent: \"header-content\",\n headerActions: \"header-actions\",\n headerActionsEnd: \"header-actions--end\",\n headerActionsStart: \"header-actions--start\",\n contentWrapper: \"content-wrapper\",\n contentContainer: \"content-container\",\n contentHeight: \"content-height\",\n fabContainer: \"fab-container\",\n footer: \"footer\"\n};\nexport const ICONS = {\n close: \"x\",\n menu: \"ellipsis\",\n backLeft: \"chevron-left\",\n backRight: \"chevron-right\"\n};\nexport const SLOTS = {\n headerActionsStart: \"header-actions-start\",\n headerActionsEnd: \"header-actions-end\",\n headerMenuActions: \"header-menu-actions\",\n headerContent: \"header-content\",\n fab: \"fab\",\n footer: \"footer\",\n footerActions: \"footer-actions\"\n};\nexport const TEXT = {\n back: \"Back\",\n close: \"Close\",\n open: \"Open\",\n options: \"Options\"\n};\nexport const HEADING_LEVEL = 3;\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:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-panel-max-height: The maximum height of the component.\n* @prop --calcite-panel-max-width: The maximum width of the component.\n* @prop --calcite-panel-min-width: The minimum width of the component.\n*/\n:host {\n position: relative;\n display: flex;\n inline-size: 100%;\n flex: 1 1 auto;\n overflow: hidden;\n --calcite-min-header-height: calc(var(--calcite-icon-size) * 3);\n --calcite-panel-max-height: unset;\n --calcite-panel-width: 100%;\n --calcite-panel-min-width: unset;\n --calcite-panel-max-width: unset;\n}\n\n:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled] {\n /* prevent opacity stacking */\n opacity: 1;\n}\n\n/* Shared styles for header elements */\n.header {\n margin: 0px;\n display: flex;\n align-content: space-between;\n align-items: center;\n fill: var(--calcite-ui-text-2);\n color: var(--calcite-ui-text-2);\n}\n\n.heading {\n margin: 0px;\n padding: 0px;\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\n.container {\n margin: 0px;\n display: flex;\n inline-size: 100%;\n flex: 1 1 auto;\n flex-direction: column;\n align-items: stretch;\n background-color: var(--calcite-ui-background);\n padding: 0px;\n max-block-size: var(--calcite-panel-max-height);\n inline-size: var(--calcite-panel-width);\n max-inline-size: var(--calcite-panel-max-width);\n min-inline-size: var(--calcite-panel-min-width);\n transition: max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing);\n}\n\n:host([height-scale=s]) {\n --calcite-panel-max-height: 40vh;\n}\n\n:host([height-scale=m]) {\n --calcite-panel-max-height: 60vh;\n}\n\n:host([height-scale=l]) {\n --calcite-panel-max-height: 80vh;\n}\n\n:host([width-scale=s]) {\n --calcite-panel-width: calc(var(--calcite-panel-width-multiplier) * 12vw);\n --calcite-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 300px);\n --calcite-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 150px);\n}\n\n:host([width-scale=m]) {\n --calcite-panel-width: calc(var(--calcite-panel-width-multiplier) * 20vw);\n --calcite-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 420px);\n --calcite-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 240px);\n}\n\n:host([width-scale=l]) {\n --calcite-panel-width: calc(var(--calcite-panel-width-multiplier) * 45vw);\n --calcite-panel-max-width: calc(var(--calcite-panel-width-multiplier) * 680px);\n --calcite-panel-min-width: calc(var(--calcite-panel-width-multiplier) * 340px);\n}\n\n.container[hidden] {\n display: none;\n}\n\n.header {\n border-block-end: 1px solid;\n position: sticky;\n inset-block-start: 0px;\n z-index: 400;\n inline-size: 100%;\n align-items: stretch;\n justify-content: flex-start;\n background-color: var(--calcite-ui-foreground-1);\n border-block-end-color: var(--calcite-ui-border-3);\n flex: 0 0 auto;\n}\n\n.header-content {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n padding-inline: 0.75rem;\n padding-block: 0.875rem;\n margin-inline-end: auto;\n}\n.header-content .heading, \n.header-content .description {\n display: block;\n overflow-wrap: break-word;\n padding: 0px;\n}\n.header-content .heading {\n margin-inline: 0px;\n margin-block: 0px 0.25rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n font-weight: var(--calcite-font-weight-medium);\n}\n.header-content .heading:only-child {\n margin-block-end: 0px;\n}\n.header-content .description {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n color: var(--calcite-ui-text-2);\n}\n\n.back-button {\n border-width: 0px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n border-inline-end-width: 1px;\n}\n\n.header-actions {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n align-items: stretch;\n}\n\n.header-actions--end {\n margin-inline-start: auto;\n}\n\n.content-wrapper {\n overflow: auto;\n}\n\n.content-height {\n block-size: 100%;\n}\n\n.content-container {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n flex-wrap: nowrap;\n align-items: stretch;\n background-color: var(--calcite-ui-background);\n}\n\n.footer {\n border-block-start: 1px solid;\n position: sticky;\n inset-block-end: 0px;\n display: flex;\n inline-size: 100%;\n justify-content: space-evenly;\n background-color: var(--calcite-ui-foreground-1);\n border-block-start-color: var(--calcite-ui-border-3);\n flex: 0 0 auto;\n min-block-size: 3rem;\n padding: 0.5rem;\n}\n\n.fab-container {\n position: sticky;\n inset-block-end: 0px;\n z-index: 300;\n margin-block: 0px;\n margin-inline: auto;\n display: block;\n padding: 0.5rem;\n inset-inline: 0;\n inline-size: -moz-fit-content;\n inline-size: fit-content;\n}\n\n[hidden] {\n display: 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, Fragment } from \"@stencil/core\";\nimport { CSS, HEADING_LEVEL, ICONS, SLOTS, TEXT } from \"./resources\";\nimport { getElementDir, toAriaBoolean } from \"../../utils/dom\";\nimport { Heading } from \"../functional/Heading\";\nimport { SLOTS as ACTION_MENU_SLOTS } from \"../action-menu/resources\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\nimport { createObserver } from \"../../utils/observers\";\n/**\n * @slot - A slot for adding custom content.\n * @slot header-actions-start - A slot for adding actions or content to the start side of the header.\n * @slot header-actions-end - A slot for adding actions or content to the end side of the header.\n * @slot header-content - A slot for adding custom content to the header.\n * @slot header-menu-actions - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.\n * @slot fab - A slot for adding a `calcite-fab` (floating action button) to perform an action.\n * @slot footer-actions - A slot for adding buttons to the footer.\n * @slot footer - A slot for adding custom content to the footer.\n */\nexport class Panel {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, hides the component.\n *\n * @deprecated use `closed` instead.\n */\n this.dismissed = false;\n /** When `true`, the component will be hidden. */\n this.closed = false;\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n this.disabled = false;\n /**\n * When `true`, a close button is added to the component.\n *\n * @deprecated use `closable` instead\n */\n this.dismissible = false;\n /** When `true`, displays a close button in the trailing side of the header. */\n this.closable = false;\n /**\n * When `true`, displays a back button in the header.\n *\n * @deprecated use `calcite-flow-item` instead.\n */\n this.showBackButton = false;\n /**\n * When `true`, a busy indicator is displayed.\n */\n this.loading = false;\n /**\n * When `true`, the action menu items in the `header-menu-actions` slot are open.\n */\n this.menuOpen = false;\n this.resizeObserver = createObserver(\"resize\", () => this.resizeHandler());\n this.hasStartActions = false;\n this.hasEndActions = false;\n this.hasMenuItems = false;\n this.hasHeaderContent = false;\n this.hasFooterContent = false;\n this.hasFooterActions = false;\n this.hasFab = false;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.resizeHandler = () => {\n const { panelScrollEl } = this;\n if (!panelScrollEl ||\n typeof panelScrollEl.scrollHeight !== \"number\" ||\n typeof panelScrollEl.offsetHeight !== \"number\") {\n return;\n }\n panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;\n };\n this.setContainerRef = (node) => {\n this.containerEl = node;\n };\n this.setCloseRef = (node) => {\n this.closeButtonEl = node;\n };\n this.setBackRef = (node) => {\n this.backButtonEl = node;\n };\n this.panelKeyDownHandler = (event) => {\n if (this.closable && event.key === \"Escape\" && !event.defaultPrevented) {\n this.close();\n event.preventDefault();\n }\n };\n this.close = () => {\n this.closed = true;\n this.calcitePanelDismiss.emit();\n this.calcitePanelClose.emit();\n };\n this.panelScrollHandler = () => {\n this.calcitePanelScroll.emit();\n };\n this.backButtonClick = () => {\n this.calcitePanelBackClick.emit();\n };\n this.handleHeaderActionsStartSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasStartActions = !!elements.length;\n };\n this.handleHeaderActionsEndSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasEndActions = !!elements.length;\n };\n this.handleHeaderMenuActionsSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasMenuItems = !!elements.length;\n };\n this.handleHeaderContentSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasHeaderContent = !!elements.length;\n };\n this.handleFooterSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasFooterContent = !!elements.length;\n };\n this.handleFooterActionsSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasFooterActions = !!elements.length;\n };\n this.handleFabSlotChange = (event) => {\n const elements = event.target.assignedElements({\n flatten: true\n });\n this.hasFab = !!elements.length;\n };\n this.setPanelScrollEl = (el) => {\n var _a, _b;\n this.panelScrollEl = el;\n (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n if (el) {\n (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);\n this.resizeHandler();\n }\n };\n }\n dismissedHandler(value) {\n this.closed = value;\n this.calcitePanelDismissedChange.emit();\n }\n closedHandler(value) {\n this.dismissed = value;\n }\n dismissibleHandler(value) {\n this.closable = value;\n }\n closableHandler(value) {\n this.dismissible = value;\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentDidRender() {\n updateHostInteraction(this);\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n const isClosed = this.dismissed || this.closed;\n const isClosable = this.dismissible || this.closable;\n if (isClosed) {\n this.dismissedHandler(isClosed);\n this.closedHandler(isClosed);\n }\n if (isClosable) {\n this.dismissibleHandler(isClosable);\n this.closableHandler(isClosable);\n }\n }\n disconnectedCallback() {\n var _a;\n (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /**\n * Sets focus on the component.\n *\n * @param focusId\n */\n async setFocus(focusId) {\n const { backButtonEl, closeButtonEl, containerEl } = this;\n if (focusId === \"back-button\") {\n backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();\n return;\n }\n if (focusId === \"dismiss-button\") {\n closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();\n return;\n }\n if (backButtonEl) {\n backButtonEl.setFocus();\n return;\n }\n if (closeButtonEl) {\n closeButtonEl.setFocus();\n return;\n }\n containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();\n }\n /**\n * Scrolls the component's content to a specified set of coordinates.\n *\n * @example\n * myCalciteFlowItem.scrollContentTo({\n * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.\n * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element\n * behavior: \"auto\" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).\n * });\n * @param options\n */\n async scrollContentTo(options) {\n var _a;\n (_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderBackButton() {\n const { el } = this;\n const rtl = getElementDir(el) === \"rtl\";\n const { showBackButton, intlBack, backButtonClick } = this;\n const label = intlBack || TEXT.back;\n const icon = rtl ? ICONS.backRight : ICONS.backLeft;\n return showBackButton ? (h(\"calcite-action\", { \"aria-label\": label, class: CSS.backButton, icon: icon, key: \"back-button\", onClick: backButtonClick, ref: this.setBackRef, scale: \"s\", slot: SLOTS.headerActionsStart, text: label })) : null;\n }\n renderHeaderContent() {\n const { heading, headingLevel, summary, description, hasHeaderContent } = this;\n const headingNode = heading ? (h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;\n const descriptionNode = description || summary ? h(\"span\", { class: CSS.description }, description || summary) : null;\n return !hasHeaderContent && (headingNode || descriptionNode) ? (h(\"div\", { class: CSS.headerContent, key: \"header-content\" }, headingNode, descriptionNode)) : null;\n }\n /**\n * Allows user to override the entire header-content node.\n */\n renderHeaderSlottedContent() {\n return (h(\"div\", { class: CSS.headerContent, hidden: !this.hasHeaderContent, key: \"slotted-header-content\" }, h(\"slot\", { name: SLOTS.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));\n }\n renderHeaderStartActions() {\n const { hasStartActions } = this;\n return (h(\"div\", { class: { [CSS.headerActionsStart]: true, [CSS.headerActions]: true }, hidden: !hasStartActions, key: \"header-actions-start\" }, h(\"slot\", { name: SLOTS.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));\n }\n renderHeaderActionsEnd() {\n const { close, hasEndActions, intlClose, closable } = this;\n const text = intlClose || TEXT.close;\n const closableNode = closable ? (h(\"calcite-action\", { \"aria-label\": text, icon: ICONS.close, onClick: close, ref: this.setCloseRef, text: text })) : null;\n const slotNode = (h(\"slot\", { name: SLOTS.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));\n const showContainer = hasEndActions || closableNode;\n return (h(\"div\", { class: { [CSS.headerActionsEnd]: true, [CSS.headerActions]: true }, hidden: !showContainer, key: \"header-actions-end\" }, slotNode, closableNode));\n }\n renderMenu() {\n const { hasMenuItems, intlOptions, menuOpen } = this;\n return (h(\"calcite-action-menu\", { flipPlacements: [\"top\", \"bottom\"], hidden: !hasMenuItems, key: \"menu\", label: intlOptions || TEXT.options, open: menuOpen, placement: \"bottom-end\" }, h(\"calcite-action\", { icon: ICONS.menu, slot: ACTION_MENU_SLOTS.trigger, text: intlOptions || TEXT.options }), h(\"slot\", { name: SLOTS.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));\n }\n renderHeaderNode() {\n const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;\n const headerContentNode = this.renderHeaderContent();\n const showHeader = showBackButton ||\n hasHeaderContent ||\n headerContentNode ||\n hasStartActions ||\n hasEndActions ||\n closable ||\n hasMenuItems;\n return (h(\"header\", { class: CSS.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));\n }\n renderFooterNode() {\n const { hasFooterContent, hasFooterActions } = this;\n const showFooter = hasFooterContent || hasFooterActions;\n return (h(\"footer\", { class: CSS.footer, hidden: !showFooter }, h(\"slot\", { key: \"footer-slot\", name: SLOTS.footer, onSlotchange: this.handleFooterSlotChange }), h(\"slot\", { key: \"footer-actions-slot\", name: SLOTS.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));\n }\n renderContent() {\n const { hasFab } = this;\n const defaultSlotNode = h(\"slot\", { key: \"default-slot\" });\n const containerNode = hasFab ? (h(\"section\", { class: CSS.contentContainer }, defaultSlotNode)) : (defaultSlotNode);\n return (h(\"div\", { class: {\n [CSS.contentWrapper]: true,\n [CSS.contentContainer]: !hasFab,\n [CSS.contentHeight]: hasFab\n }, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));\n }\n renderFab() {\n return (h(\"div\", { class: CSS.fabContainer, hidden: !this.hasFab }, h(\"slot\", { name: SLOTS.fab, onSlotchange: this.handleFabSlotChange })));\n }\n render() {\n const { loading, panelKeyDownHandler, closed, closable } = this;\n const panelNode = (h(\"article\", { \"aria-busy\": toAriaBoolean(loading), class: CSS.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));\n return (h(Fragment, null, loading ? h(\"calcite-scrim\", { loading: loading }) : null, panelNode));\n }\n static get is() { return \"calcite-panel\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"panel.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"panel.css\"]\n };\n }\n static get properties() {\n return {\n \"dismissed\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `closed` instead.\"\n }],\n \"text\": \"When `true`, hides the component.\"\n },\n \"attribute\": \"dismissed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"closed\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component will be hidden.\"\n },\n \"attribute\": \"closed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"beforeBack\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"() => Promise<void>\",\n \"resolved\": \"() => Promise<void>\",\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcite-flow-item` instead.\"\n }],\n \"text\": \"When provided, this method will be called before it is removed from the parent flow.\"\n }\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, interaction is prevented and the component is displayed with lower opacity.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"dismissible\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `closable` instead\"\n }],\n \"text\": \"When `true`, a close button is added to the component.\"\n },\n \"attribute\": \"dismissible\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"closable\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, displays a close button in the trailing side of the header.\"\n },\n \"attribute\": \"closable\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n },\n \"showBackButton\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcite-flow-item` instead.\"\n }],\n \"text\": \"When `true`, displays a back button in the header.\"\n },\n \"attribute\": \"show-back-button\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlBack\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcite-flow-item` instead.\"\n }],\n \"text\": \"Accessible name for the component's back button. The back button will only be shown when `showBackButton` is `true`.\"\n },\n \"attribute\": \"intl-back\",\n \"reflect\": false\n },\n \"heightScale\": {\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\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the maximum height of the component.\"\n },\n \"attribute\": \"height-scale\",\n \"reflect\": true\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\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the width of the component.\"\n },\n \"attribute\": \"width-scale\",\n \"reflect\": true\n },\n \"loading\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, a busy indicator is displayed.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's close button. The close button will only be shown when `closeable` is `true`.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false\n },\n \"intlOptions\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's actions menu.\"\n },\n \"attribute\": \"intl-options\",\n \"reflect\": false\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The component header text.\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"summary\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `description` instead.\"\n }],\n \"text\": \"Summary text. A description displayed underneath the heading.\"\n },\n \"attribute\": \"summary\",\n \"reflect\": false\n },\n \"description\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A description for the component.\"\n },\n \"attribute\": \"description\",\n \"reflect\": false\n },\n \"menuOpen\": {\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 action menu items in the `header-menu-actions` slot are open.\"\n },\n \"attribute\": \"menu-open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"hasStartActions\": {},\n \"hasEndActions\": {},\n \"hasMenuItems\": {},\n \"hasHeaderContent\": {},\n \"hasFooterContent\": {},\n \"hasFooterActions\": {},\n \"hasFab\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calcitePanelClose\",\n \"name\": \"calcitePanelClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the close button is clicked.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePanelDismiss\",\n \"name\": \"calcitePanelDismiss\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcitePanelClose` instead.\"\n }],\n \"text\": \"Fires when the close button is clicked.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePanelDismissedChange\",\n \"name\": \"calcitePanelDismissedChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcitePanelClose` instead.\"\n }],\n \"text\": \"Fires when there is a change to the `dismissed` property value .\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePanelScroll\",\n \"name\": \"calcitePanelScroll\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the content is scrolled.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePanelBackClick\",\n \"name\": \"calcitePanelBackClick\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calcite-flow-item` instead.\"\n }],\n \"text\": \"Fires when the back button is clicked.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: \\\"back-button\\\" | \\\"dismiss-button\\\") => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }]\n }\n },\n \"scrollContentTo\": {\n \"complexType\": {\n \"signature\": \"(options?: ScrollToOptions) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"options\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n },\n \"ScrollToOptions\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Scrolls the component's content to a specified set of coordinates.\",\n \"tags\": [{\n \"name\": \"example\",\n \"text\": \"myCalciteFlowItem.scrollContentTo({\\n left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.\\n top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element\\n behavior: \\\"auto\\\" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).\\n});\"\n }, {\n \"name\": \"param\",\n \"text\": \"options\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"dismissed\",\n \"methodName\": \"dismissedHandler\"\n }, {\n \"propName\": \"closed\",\n \"methodName\": \"closedHandler\"\n }, {\n \"propName\": \"dismissible\",\n \"methodName\": \"dismissibleHandler\"\n }, {\n \"propName\": \"closable\",\n \"methodName\": \"closableHandler\"\n }];\n }\n}\n"],"version":3}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface PdfDownload extends Components.PdfDownload, HTMLElement {}
|
4
|
-
export const PdfDownload: {
|
5
|
-
prototype: PdfDownload;
|
6
|
-
new (): PdfDownload;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,13 +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 { P as PdfDownload$1, d as defineCustomElement$1 } from './pdf-download2.js';
|
7
|
-
|
8
|
-
const PdfDownload = PdfDownload$1;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { PdfDownload, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=pdf-download.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"pdf-download.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|