@esri/solutions-components 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +10 -3
- package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{solution-store-e2fc11ac.js → solution-store-893499a5.js} +3 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +9 -2
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
- package/dist/collection/components/solution-item/solution-item.js +2 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
- package/dist/collection/utils/solution-store.js +2 -0
- package/dist/collection/utils/solution-store.js.map +1 -1
- package/dist/collection/utils/solution-store.ts +2 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
- package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
- package/dist/esm/solution-configuration.entry.js +10 -3
- package/dist/esm/solution-configuration.entry.js.map +1 -1
- package/dist/esm/solution-contents_3.entry.js +3 -1
- package/dist/esm/solution-contents_3.entry.js.map +1 -1
- package/dist/esm/{solution-store-b3c65467.js → solution-store-0c58c852.js} +3 -1
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-b25f6ebe.js → p-659edb14.js} +3 -1
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-638738f2.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/{p-7e8985f2.entry.js → p-90629c1d.entry.js} +11 -4
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-542189bc.entry.js → p-984cb687.entry.js} +17 -7
- package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/solution-store.ts +2 -0
- package/dist/solutions-components_commit.txt +9 -6
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-e2fc11ac.js.map +0 -1
- package/dist/components/ExpandToggle.js +0 -112
- package/dist/components/ExpandToggle.js.map +0 -1
- package/dist/components/Heading.js +0 -24
- package/dist/components/Heading.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -24
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/action-bar.js +0 -278
- package/dist/components/action-bar.js.map +0 -1
- package/dist/components/action-group.js +0 -151
- package/dist/components/action-group.js.map +0 -1
- package/dist/components/action-menu.js +0 -358
- package/dist/components/action-menu.js.map +0 -1
- package/dist/components/action.js +0 -216
- package/dist/components/action.js.map +0 -1
- package/dist/components/array.js +0 -17
- package/dist/components/array.js.map +0 -1
- package/dist/components/buffer-tools.d.ts +0 -11
- package/dist/components/buffer-tools.js +0 -13
- package/dist/components/buffer-tools.js.map +0 -1
- package/dist/components/buffer-tools2.js +0 -256
- package/dist/components/buffer-tools2.js.map +0 -1
- package/dist/components/button.js +0 -265
- package/dist/components/button.js.map +0 -1
- package/dist/components/calcite-accordion-item.js +0 -246
- package/dist/components/calcite-accordion-item.js.map +0 -1
- package/dist/components/calcite-accordion.js +0 -182
- package/dist/components/calcite-accordion.js.map +0 -1
- package/dist/components/calcite-action-bar.js +0 -13
- package/dist/components/calcite-action-bar.js.map +0 -1
- package/dist/components/calcite-action-group.js +0 -13
- package/dist/components/calcite-action-group.js.map +0 -1
- package/dist/components/calcite-action-menu.js +0 -13
- package/dist/components/calcite-action-menu.js.map +0 -1
- package/dist/components/calcite-action-pad.js +0 -199
- package/dist/components/calcite-action-pad.js.map +0 -1
- package/dist/components/calcite-action.js +0 -13
- package/dist/components/calcite-action.js.map +0 -1
- package/dist/components/calcite-alert.js +0 -299
- package/dist/components/calcite-alert.js.map +0 -1
- package/dist/components/calcite-avatar.js +0 -184
- package/dist/components/calcite-avatar.js.map +0 -1
- package/dist/components/calcite-block-section.js +0 -157
- package/dist/components/calcite-block-section.js.map +0 -1
- package/dist/components/calcite-block.js +0 -277
- package/dist/components/calcite-block.js.map +0 -1
- package/dist/components/calcite-button.js +0 -13
- package/dist/components/calcite-button.js.map +0 -1
- package/dist/components/calcite-card.js +0 -189
- package/dist/components/calcite-card.js.map +0 -1
- package/dist/components/calcite-checkbox.js +0 -13
- package/dist/components/calcite-checkbox.js.map +0 -1
- package/dist/components/calcite-chip.js +0 -13
- package/dist/components/calcite-chip.js.map +0 -1
- package/dist/components/calcite-color-picker-hex-input.js +0 -13
- package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
- package/dist/components/calcite-color-picker-swatch.js +0 -13
- package/dist/components/calcite-color-picker-swatch.js.map +0 -1
- package/dist/components/calcite-color-picker.js +0 -1038
- package/dist/components/calcite-color-picker.js.map +0 -1
- package/dist/components/calcite-combobox-item-group.js +0 -77
- package/dist/components/calcite-combobox-item-group.js.map +0 -1
- package/dist/components/calcite-combobox-item.js +0 -13
- package/dist/components/calcite-combobox-item.js.map +0 -1
- package/dist/components/calcite-combobox.js +0 -13
- package/dist/components/calcite-combobox.js.map +0 -1
- package/dist/components/calcite-date-picker-day.js +0 -13
- package/dist/components/calcite-date-picker-day.js.map +0 -1
- package/dist/components/calcite-date-picker-month-header.js +0 -13
- package/dist/components/calcite-date-picker-month-header.js.map +0 -1
- package/dist/components/calcite-date-picker-month.js +0 -13
- package/dist/components/calcite-date-picker-month.js.map +0 -1
- package/dist/components/calcite-date-picker.js +0 -13
- package/dist/components/calcite-date-picker.js.map +0 -1
- package/dist/components/calcite-dropdown-group.js +0 -101
- package/dist/components/calcite-dropdown-group.js.map +0 -1
- package/dist/components/calcite-dropdown-item.js +0 -237
- package/dist/components/calcite-dropdown-item.js.map +0 -1
- package/dist/components/calcite-dropdown.js +0 -13
- package/dist/components/calcite-dropdown.js.map +0 -1
- package/dist/components/calcite-fab.js +0 -146
- package/dist/components/calcite-fab.js.map +0 -1
- package/dist/components/calcite-filter.js +0 -197
- package/dist/components/calcite-filter.js.map +0 -1
- package/dist/components/calcite-flow-item.js +0 -245
- package/dist/components/calcite-flow-item.js.map +0 -1
- package/dist/components/calcite-flow.js +0 -149
- package/dist/components/calcite-flow.js.map +0 -1
- package/dist/components/calcite-graph.js +0 -13
- package/dist/components/calcite-graph.js.map +0 -1
- package/dist/components/calcite-handle.js +0 -13
- package/dist/components/calcite-handle.js.map +0 -1
- package/dist/components/calcite-icon.js +0 -13
- package/dist/components/calcite-icon.js.map +0 -1
- package/dist/components/calcite-inline-editable.js +0 -296
- package/dist/components/calcite-inline-editable.js.map +0 -1
- package/dist/components/calcite-input-date-picker.js +0 -715
- package/dist/components/calcite-input-date-picker.js.map +0 -1
- package/dist/components/calcite-input-message.js +0 -13
- package/dist/components/calcite-input-message.js.map +0 -1
- package/dist/components/calcite-input-number.js +0 -639
- package/dist/components/calcite-input-number.js.map +0 -1
- package/dist/components/calcite-input-text.js +0 -402
- package/dist/components/calcite-input-text.js.map +0 -1
- package/dist/components/calcite-input-time-picker.js +0 -436
- package/dist/components/calcite-input-time-picker.js.map +0 -1
- package/dist/components/calcite-input.js +0 -13
- package/dist/components/calcite-input.js.map +0 -1
- package/dist/components/calcite-label.js +0 -13
- package/dist/components/calcite-label.js.map +0 -1
- package/dist/components/calcite-link.js +0 -13
- package/dist/components/calcite-link.js.map +0 -1
- package/dist/components/calcite-list-item-group.js +0 -67
- package/dist/components/calcite-list-item-group.js.map +0 -1
- package/dist/components/calcite-list-item.js +0 -13
- package/dist/components/calcite-list-item.js.map +0 -1
- package/dist/components/calcite-list.js +0 -13
- package/dist/components/calcite-list.js.map +0 -1
- package/dist/components/calcite-loader.js +0 -13
- package/dist/components/calcite-loader.js.map +0 -1
- package/dist/components/calcite-modal.js +0 -500
- package/dist/components/calcite-modal.js.map +0 -1
- package/dist/components/calcite-notice.js +0 -13
- package/dist/components/calcite-notice.js.map +0 -1
- package/dist/components/calcite-option-group.js +0 -66
- package/dist/components/calcite-option-group.js.map +0 -1
- package/dist/components/calcite-option.js +0 -13
- package/dist/components/calcite-option.js.map +0 -1
- package/dist/components/calcite-pagination.js +0 -260
- package/dist/components/calcite-pagination.js.map +0 -1
- package/dist/components/calcite-panel.js +0 -13
- package/dist/components/calcite-panel.js.map +0 -1
- package/dist/components/calcite-pick-list-group.js +0 -76
- package/dist/components/calcite-pick-list-group.js.map +0 -1
- package/dist/components/calcite-pick-list-item.js +0 -13
- package/dist/components/calcite-pick-list-item.js.map +0 -1
- package/dist/components/calcite-pick-list.js +0 -175
- package/dist/components/calcite-pick-list.js.map +0 -1
- package/dist/components/calcite-popover-manager.js +0 -96
- package/dist/components/calcite-popover-manager.js.map +0 -1
- package/dist/components/calcite-popover.js +0 -13
- package/dist/components/calcite-popover.js.map +0 -1
- package/dist/components/calcite-progress.js +0 -13
- package/dist/components/calcite-progress.js.map +0 -1
- package/dist/components/calcite-radio-button-group.js +0 -134
- package/dist/components/calcite-radio-button-group.js.map +0 -1
- package/dist/components/calcite-radio-button.js +0 -312
- package/dist/components/calcite-radio-button.js.map +0 -1
- package/dist/components/calcite-radio-group-item.js +0 -13
- package/dist/components/calcite-radio-group-item.js.map +0 -1
- package/dist/components/calcite-radio-group.js +0 -13
- package/dist/components/calcite-radio-group.js.map +0 -1
- package/dist/components/calcite-rating.js +0 -203
- package/dist/components/calcite-rating.js.map +0 -1
- package/dist/components/calcite-scrim.js +0 -13
- package/dist/components/calcite-scrim.js.map +0 -1
- package/dist/components/calcite-select.js +0 -13
- package/dist/components/calcite-select.js.map +0 -1
- package/dist/components/calcite-shell-center-row.js +0 -102
- package/dist/components/calcite-shell-center-row.js.map +0 -1
- package/dist/components/calcite-shell-panel.js +0 -13
- package/dist/components/calcite-shell-panel.js.map +0 -1
- package/dist/components/calcite-shell.js +0 -13
- package/dist/components/calcite-shell.js.map +0 -1
- package/dist/components/calcite-slider.js +0 -13
- package/dist/components/calcite-slider.js.map +0 -1
- package/dist/components/calcite-sortable-list.js +0 -204
- package/dist/components/calcite-sortable-list.js.map +0 -1
- package/dist/components/calcite-split-button.js +0 -170
- package/dist/components/calcite-split-button.js.map +0 -1
- package/dist/components/calcite-stepper-item.js +0 -273
- package/dist/components/calcite-stepper-item.js.map +0 -1
- package/dist/components/calcite-stepper.js +0 -258
- package/dist/components/calcite-stepper.js.map +0 -1
- package/dist/components/calcite-switch.js +0 -13
- package/dist/components/calcite-switch.js.map +0 -1
- package/dist/components/calcite-tab-nav.js +0 -13
- package/dist/components/calcite-tab-nav.js.map +0 -1
- package/dist/components/calcite-tab-title.js +0 -13
- package/dist/components/calcite-tab-title.js.map +0 -1
- package/dist/components/calcite-tab.js +0 -13
- package/dist/components/calcite-tab.js.map +0 -1
- package/dist/components/calcite-tabs.js +0 -13
- package/dist/components/calcite-tabs.js.map +0 -1
- package/dist/components/calcite-tile-select-group.js +0 -67
- package/dist/components/calcite-tile-select-group.js.map +0 -1
- package/dist/components/calcite-tile-select.js +0 -268
- package/dist/components/calcite-tile-select.js.map +0 -1
- package/dist/components/calcite-tile.js +0 -13
- package/dist/components/calcite-tile.js.map +0 -1
- package/dist/components/calcite-time-picker.js +0 -13
- package/dist/components/calcite-time-picker.js.map +0 -1
- package/dist/components/calcite-tip-group.js +0 -43
- package/dist/components/calcite-tip-group.js.map +0 -1
- package/dist/components/calcite-tip-manager.js +0 -225
- package/dist/components/calcite-tip-manager.js.map +0 -1
- package/dist/components/calcite-tip.js +0 -164
- package/dist/components/calcite-tip.js.map +0 -1
- package/dist/components/calcite-tooltip-manager.js +0 -59
- package/dist/components/calcite-tooltip-manager.js.map +0 -1
- package/dist/components/calcite-tooltip.js +0 -13
- package/dist/components/calcite-tooltip.js.map +0 -1
- package/dist/components/calcite-tree-item.js +0 -13
- package/dist/components/calcite-tree-item.js.map +0 -1
- package/dist/components/calcite-tree.js +0 -13
- package/dist/components/calcite-tree.js.map +0 -1
- package/dist/components/calcite-value-list-item.js +0 -13
- package/dist/components/calcite-value-list-item.js.map +0 -1
- package/dist/components/calcite-value-list.js +0 -13
- package/dist/components/calcite-value-list.js.map +0 -1
- package/dist/components/check-list.d.ts +0 -11
- package/dist/components/check-list.js +0 -13
- package/dist/components/check-list.js.map +0 -1
- package/dist/components/check-list2.js +0 -128
- package/dist/components/check-list2.js.map +0 -1
- package/dist/components/checkbox.js +0 -167
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/chip.js +0 -172
- package/dist/components/chip.js.map +0 -1
- package/dist/components/color-picker-hex-input.js +0 -365
- package/dist/components/color-picker-hex-input.js.map +0 -1
- package/dist/components/color-picker-swatch.js +0 -2036
- package/dist/components/color-picker-swatch.js.map +0 -1
- package/dist/components/combobox-item.js +0 -184
- package/dist/components/combobox-item.js.map +0 -1
- package/dist/components/combobox.js +0 -914
- package/dist/components/combobox.js.map +0 -1
- package/dist/components/conditionalSlot.js +0 -52
- package/dist/components/conditionalSlot.js.map +0 -1
- package/dist/components/config-buffer-tools.d.ts +0 -11
- package/dist/components/config-buffer-tools.js +0 -185
- package/dist/components/config-buffer-tools.js.map +0 -1
- package/dist/components/config-draw-tools.d.ts +0 -11
- package/dist/components/config-draw-tools.js +0 -124
- package/dist/components/config-draw-tools.js.map +0 -1
- package/dist/components/config-layer-picker.d.ts +0 -11
- package/dist/components/config-layer-picker.js +0 -148
- package/dist/components/config-layer-picker.js.map +0 -1
- package/dist/components/config-pdf-download.d.ts +0 -11
- package/dist/components/config-pdf-download.js +0 -157
- package/dist/components/config-pdf-download.js.map +0 -1
- package/dist/components/date-picker-day.js +0 -113
- package/dist/components/date-picker-day.js.map +0 -1
- package/dist/components/date-picker-month-header.js +0 -226
- package/dist/components/date-picker-month-header.js.map +0 -1
- package/dist/components/date-picker-month.js +0 -346
- package/dist/components/date-picker-month.js.map +0 -1
- package/dist/components/date-picker.js +0 -577
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date.js +0 -182
- package/dist/components/date.js.map +0 -1
- package/dist/components/debounce.js +0 -489
- package/dist/components/debounce.js.map +0 -1
- package/dist/components/dom.js +0 -233
- package/dist/components/dom.js.map +0 -1
- package/dist/components/dropdown.js +0 -507
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter.js +0 -765
- package/dist/components/filter.js.map +0 -1
- package/dist/components/floating-ui.js +0 -1787
- package/dist/components/floating-ui.js.map +0 -1
- package/dist/components/form.js +0 -230
- package/dist/components/form.js.map +0 -1
- package/dist/components/graph.js +0 -256
- package/dist/components/graph.js.map +0 -1
- package/dist/components/guid.js +0 -26
- package/dist/components/guid.js.map +0 -1
- package/dist/components/handle.js +0 -121
- package/dist/components/handle.js.map +0 -1
- package/dist/components/icon.js +0 -204
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index.d.ts +0 -48
- package/dist/components/index.js +0 -190
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -201
- package/dist/components/index2.js.map +0 -1
- package/dist/components/input-message.js +0 -103
- package/dist/components/input-message.js.map +0 -1
- package/dist/components/input.js +0 -742
- package/dist/components/input.js.map +0 -1
- package/dist/components/interactive.js +0 -53
- package/dist/components/interactive.js.map +0 -1
- package/dist/components/interfaces.js +0 -21
- package/dist/components/interfaces.js.map +0 -1
- package/dist/components/interfaces2.js +0 -23
- package/dist/components/interfaces2.js.map +0 -1
- package/dist/components/interfaces3.js +0 -72
- package/dist/components/interfaces3.js.map +0 -1
- package/dist/components/json-editor.d.ts +0 -11
- package/dist/components/json-editor.js +0 -13
- package/dist/components/json-editor.js.map +0 -1
- package/dist/components/json-editor2.js +0 -443
- package/dist/components/json-editor2.js.map +0 -1
- package/dist/components/key.js +0 -18
- package/dist/components/key.js.map +0 -1
- package/dist/components/label.js +0 -108
- package/dist/components/label.js.map +0 -1
- package/dist/components/label2.js +0 -133
- package/dist/components/label2.js.map +0 -1
- package/dist/components/labelFormats.js +0 -212
- package/dist/components/labelFormats.js.map +0 -1
- package/dist/components/link.js +0 -125
- package/dist/components/link.js.map +0 -1
- package/dist/components/list-item.js +0 -151
- package/dist/components/list-item.js.map +0 -1
- package/dist/components/list.js +0 -85
- package/dist/components/list.js.map +0 -1
- package/dist/components/loadModules.js +0 -30
- package/dist/components/loadModules.js.map +0 -1
- package/dist/components/loader.js +0 -118
- package/dist/components/loader.js.map +0 -1
- package/dist/components/locale.js +0 -414
- package/dist/components/locale.js.map +0 -1
- package/dist/components/locale2.js +0 -415
- package/dist/components/locale2.js.map +0 -1
- package/dist/components/map-draw-tools.d.ts +0 -11
- package/dist/components/map-draw-tools.js +0 -13
- package/dist/components/map-draw-tools.js.map +0 -1
- package/dist/components/map-draw-tools2.js +0 -230
- package/dist/components/map-draw-tools2.js.map +0 -1
- package/dist/components/map-layer-picker.d.ts +0 -11
- package/dist/components/map-layer-picker.js +0 -13
- package/dist/components/map-layer-picker.js.map +0 -1
- package/dist/components/map-layer-picker2.js +0 -190
- package/dist/components/map-layer-picker2.js.map +0 -1
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -157
- package/dist/components/map-search.js.map +0 -1
- package/dist/components/map-select-tools.d.ts +0 -11
- package/dist/components/map-select-tools.js +0 -13
- package/dist/components/map-select-tools.js.map +0 -1
- package/dist/components/map-select-tools2.js +0 -555
- package/dist/components/map-select-tools2.js.map +0 -1
- package/dist/components/mapViewUtils.js +0 -131
- package/dist/components/mapViewUtils.js.map +0 -1
- package/dist/components/math.js +0 -26
- package/dist/components/math.js.map +0 -1
- package/dist/components/nonChromiumPlatformUtils.js +0 -505
- package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
- package/dist/components/notice.js +0 -194
- package/dist/components/notice.js.map +0 -1
- package/dist/components/observers.js +0 -58
- package/dist/components/observers.js.map +0 -1
- package/dist/components/openCloseComponent.js +0 -58
- package/dist/components/openCloseComponent.js.map +0 -1
- package/dist/components/option.js +0 -111
- package/dist/components/option.js.map +0 -1
- package/dist/components/panel.js +0 -461
- package/dist/components/panel.js.map +0 -1
- package/dist/components/pdf-download.d.ts +0 -11
- package/dist/components/pdf-download.js +0 -13
- package/dist/components/pdf-download.js.map +0 -1
- package/dist/components/pdf-download2.js +0 -243
- package/dist/components/pdf-download2.js.map +0 -1
- package/dist/components/pick-list-item.js +0 -257
- package/dist/components/pick-list-item.js.map +0 -1
- package/dist/components/popover.js +0 -502
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress.js +0 -62
- package/dist/components/progress.js.map +0 -1
- package/dist/components/public-notification.d.ts +0 -11
- package/dist/components/public-notification.js +0 -784
- package/dist/components/public-notification.js.map +0 -1
- package/dist/components/publicNotificationStore.js +0 -40
- package/dist/components/publicNotificationStore.js.map +0 -1
- package/dist/components/queryUtils.js +0 -163
- package/dist/components/queryUtils.js.map +0 -1
- package/dist/components/radio-group-item.js +0 -103
- package/dist/components/radio-group-item.js.map +0 -1
- package/dist/components/radio-group.js +0 -237
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/refine-selection-tools.d.ts +0 -11
- package/dist/components/refine-selection-tools.js +0 -13
- package/dist/components/refine-selection-tools.js.map +0 -1
- package/dist/components/refine-selection-tools2.js +0 -500
- package/dist/components/refine-selection-tools2.js.map +0 -1
- package/dist/components/refine-selection.d.ts +0 -11
- package/dist/components/refine-selection.js +0 -13
- package/dist/components/refine-selection.js.map +0 -1
- package/dist/components/refine-selection2.js +0 -369
- package/dist/components/refine-selection2.js.map +0 -1
- package/dist/components/resources.js +0 -26
- package/dist/components/resources.js.map +0 -1
- package/dist/components/resources2.js +0 -23
- package/dist/components/resources2.js.map +0 -1
- package/dist/components/resources3.js +0 -40
- package/dist/components/resources3.js.map +0 -1
- package/dist/components/scrim.js +0 -85
- package/dist/components/scrim.js.map +0 -1
- package/dist/components/select.js +0 -261
- package/dist/components/select.js.map +0 -1
- package/dist/components/shared-list-render.js +0 -321
- package/dist/components/shared-list-render.js.map +0 -1
- package/dist/components/shell-panel.js +0 -283
- package/dist/components/shell-panel.js.map +0 -1
- package/dist/components/shell.js +0 -123
- package/dist/components/shell.js.map +0 -1
- package/dist/components/slider.js +0 -898
- package/dist/components/slider.js.map +0 -1
- package/dist/components/solution-configuration.d.ts +0 -11
- package/dist/components/solution-configuration.js +0 -2225
- package/dist/components/solution-configuration.js.map +0 -1
- package/dist/components/solution-contents.d.ts +0 -11
- package/dist/components/solution-contents.js +0 -13
- package/dist/components/solution-contents.js.map +0 -1
- package/dist/components/solution-contents2.js +0 -130
- package/dist/components/solution-contents2.js.map +0 -1
- package/dist/components/solution-item-details.d.ts +0 -11
- package/dist/components/solution-item-details.js +0 -13
- package/dist/components/solution-item-details.js.map +0 -1
- package/dist/components/solution-item-details2.js +0 -236
- package/dist/components/solution-item-details2.js.map +0 -1
- package/dist/components/solution-item-icon.d.ts +0 -11
- package/dist/components/solution-item-icon.js +0 -13
- package/dist/components/solution-item-icon.js.map +0 -1
- package/dist/components/solution-item-icon2.js +0 -344
- package/dist/components/solution-item-icon2.js.map +0 -1
- package/dist/components/solution-item-sharing.d.ts +0 -11
- package/dist/components/solution-item-sharing.js +0 -13
- package/dist/components/solution-item-sharing.js.map +0 -1
- package/dist/components/solution-item-sharing2.js +0 -169
- package/dist/components/solution-item-sharing2.js.map +0 -1
- package/dist/components/solution-item.d.ts +0 -11
- package/dist/components/solution-item.js +0 -13
- package/dist/components/solution-item.js.map +0 -1
- package/dist/components/solution-item2.js +0 -317
- package/dist/components/solution-item2.js.map +0 -1
- package/dist/components/solution-organization-variables.d.ts +0 -11
- package/dist/components/solution-organization-variables.js +0 -13
- package/dist/components/solution-organization-variables.js.map +0 -1
- package/dist/components/solution-organization-variables2.js +0 -134
- package/dist/components/solution-organization-variables2.js.map +0 -1
- package/dist/components/solution-resource-item.d.ts +0 -11
- package/dist/components/solution-resource-item.js +0 -13
- package/dist/components/solution-resource-item.js.map +0 -1
- package/dist/components/solution-resource-item2.js +0 -358
- package/dist/components/solution-resource-item2.js.map +0 -1
- package/dist/components/solution-spatial-ref.d.ts +0 -11
- package/dist/components/solution-spatial-ref.js +0 -13
- package/dist/components/solution-spatial-ref.js.map +0 -1
- package/dist/components/solution-spatial-ref2.js +0 -21448
- package/dist/components/solution-spatial-ref2.js.map +0 -1
- package/dist/components/solution-store.js +0 -4094
- package/dist/components/solution-store.js.map +0 -1
- package/dist/components/solution-template-data.d.ts +0 -11
- package/dist/components/solution-template-data.js +0 -13
- package/dist/components/solution-template-data.js.map +0 -1
- package/dist/components/solution-template-data2.js +0 -235
- package/dist/components/solution-template-data2.js.map +0 -1
- package/dist/components/solution-variables.d.ts +0 -11
- package/dist/components/solution-variables.js +0 -13
- package/dist/components/solution-variables.js.map +0 -1
- package/dist/components/solution-variables2.js +0 -152
- package/dist/components/solution-variables2.js.map +0 -1
- package/dist/components/sortable.esm.js +0 -3028
- package/dist/components/sortable.esm.js.map +0 -1
- package/dist/components/store-manager.d.ts +0 -11
- package/dist/components/store-manager.js +0 -85
- package/dist/components/store-manager.js.map +0 -1
- package/dist/components/switch.js +0 -141
- package/dist/components/switch.js.map +0 -1
- package/dist/components/tab-nav.js +0 -243
- package/dist/components/tab-nav.js.map +0 -1
- package/dist/components/tab-title.js +0 -278
- package/dist/components/tab-title.js.map +0 -1
- package/dist/components/tab.js +0 -156
- package/dist/components/tab.js.map +0 -1
- package/dist/components/tabs.js +0 -190
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/tile.js +0 -131
- package/dist/components/tile.js.map +0 -1
- package/dist/components/time-picker.js +0 -945
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/tooltip.js +0 -401
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/tree-item.js +0 -296
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/tree.js +0 -329
- package/dist/components/tree.js.map +0 -1
- package/dist/components/utils.js +0 -121
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js +0 -53
- package/dist/components/utils2.js.map +0 -1
- package/dist/components/value-list-item.js +0 -206
- package/dist/components/value-list-item.js.map +0 -1
- package/dist/components/value-list.js +0 -335
- package/dist/components/value-list.js.map +0 -1
- package/dist/esm/solution-store-b3c65467.js.map +0 -1
- package/dist/solutions-components/p-542189bc.entry.js.map +0 -1
- package/dist/solutions-components/p-638738f2.entry.js.map +0 -1
- package/dist/solutions-components/p-7e8985f2.entry.js.map +0 -1
- package/dist/solutions-components/p-b25f6ebe.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"tooltip.js","mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,SAAS,EAAE,WAAW;AACxB,EAAE,KAAK,EAAE,OAAO;AAChB,CAAC,CAAC;AACK,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,iBAAiB,GAAG,kBAAkB;;ACVnD;AACA;AACA;AACA;AACA;AAGe,MAAM,cAAc,CAAC;AACpC,EAAE,WAAW,GAAG;AAChB;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,CAAC,kBAAkB,GAAG,IAAI,OAAO,EAAE,CAAC;AAC5C,IAAI,IAAI,CAAC,aAAa,GAAG,IAAI,OAAO,EAAE,CAAC;AACvC,IAAI,IAAI,CAAC,sBAAsB,GAAG,CAAC,CAAC;AACpC;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,CAAC,YAAY,GAAG,CAAC,YAAY,KAAK;AAC1C,MAAM,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC;AAC1C,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,kBAAkB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;AAC9F,MAAM,OAAO,kBAAkB,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;AACvD,KAAK,CAA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B,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,CAAC;QAC/C,gBAAgB,KAAK,IAAI,EAAE;GAChC;;;;;;EAMD,MAAM;IACJ,MAAM,EAAE,yBAAyB,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACxD,MAAM,SAAS,GAAG,yBAAyB,IAAI,IAAI,CAAC;IACpD,MAAM,MAAM,GAAG,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,yBAAyB,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE;QAC1L,CAAC,WAAW,CAAC,SAAS,GAAG,IAAI;QAC7B,CAAC,WAAW,CAAC,eAAe,GAAG,SAAS;OACzC,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,OAAO,MAAM,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;GAC3I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/tooltip/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/tooltip/TooltipManager.js","./node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css?tag=calcite-tooltip&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.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 arrow: \"arrow\"\n};\nexport const TOOLTIP_DELAY_MS = 500;\nexport const ARIA_DESCRIBED_BY = \"aria-describedby\";\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 { isPrimaryPointerButton } from \"../../utils/dom\";\nimport { TOOLTIP_DELAY_MS } from \"./resources\";\nexport default class TooltipManager {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n this.registeredElements = new WeakMap();\n this.hoverTimeouts = new WeakMap();\n this.registeredElementCount = 0;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.queryTooltip = (composedPath) => {\n const { registeredElements } = this;\n const registeredElement = composedPath.find((pathEl) => registeredElements.has(pathEl));\n return registeredElements.get(registeredElement);\n };\n this.keyDownHandler = (event) => {\n if (event.key === \"Escape\") {\n const { activeTooltipEl } = this;\n if (activeTooltipEl) {\n this.clearHoverTimeout(activeTooltipEl);\n this.toggleTooltip(activeTooltipEl, false);\n }\n }\n };\n this.mouseEnterShow = (event) => {\n this.hoverEvent(event, true);\n };\n this.mouseLeaveHide = (event) => {\n this.hoverEvent(event, false);\n };\n this.clickHandler = (event) => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n const clickedTooltip = this.queryTooltip(event.composedPath());\n this.clickedTooltip = clickedTooltip;\n if (clickedTooltip === null || clickedTooltip === void 0 ? void 0 : clickedTooltip.closeOnClick) {\n this.toggleTooltip(clickedTooltip, false);\n this.clearHoverTimeout(clickedTooltip);\n }\n };\n this.focusShow = (event) => {\n this.focusEvent(event, true);\n };\n this.blurHide = (event) => {\n this.focusEvent(event, false);\n };\n this.hoverToggle = (tooltip, value) => {\n const { hoverTimeouts } = this;\n hoverTimeouts.delete(tooltip);\n if (value) {\n this.closeExistingTooltip();\n }\n this.toggleTooltip(tooltip, value);\n };\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n registerElement(referenceEl, tooltip) {\n this.registeredElementCount++;\n this.registeredElements.set(referenceEl, tooltip);\n if (this.registeredElementCount === 1) {\n this.addListeners();\n }\n }\n unregisterElement(referenceEl) {\n if (this.registeredElements.delete(referenceEl)) {\n this.registeredElementCount--;\n }\n if (this.registeredElementCount === 0) {\n this.removeListeners();\n }\n }\n addListeners() {\n document.addEventListener(\"keydown\", this.keyDownHandler);\n document.addEventListener(\"pointerover\", this.mouseEnterShow, { capture: true });\n document.addEventListener(\"pointerout\", this.mouseLeaveHide, { capture: true });\n document.addEventListener(\"pointerdown\", this.clickHandler, { capture: true });\n document.addEventListener(\"focusin\", this.focusShow, { capture: true });\n document.addEventListener(\"focusout\", this.blurHide, { capture: true });\n }\n removeListeners() {\n document.removeEventListener(\"keydown\", this.keyDownHandler);\n document.removeEventListener(\"pointerover\", this.mouseEnterShow, { capture: true });\n document.removeEventListener(\"pointerout\", this.mouseLeaveHide, { capture: true });\n document.removeEventListener(\"pointerdown\", this.clickHandler, { capture: true });\n document.removeEventListener(\"focusin\", this.focusShow, { capture: true });\n document.removeEventListener(\"focusout\", this.blurHide, { capture: true });\n }\n clearHoverTimeout(tooltip) {\n const { hoverTimeouts } = this;\n if (hoverTimeouts.has(tooltip)) {\n window.clearTimeout(hoverTimeouts.get(tooltip));\n hoverTimeouts.delete(tooltip);\n }\n }\n closeExistingTooltip() {\n const { activeTooltipEl } = this;\n if (activeTooltipEl) {\n this.toggleTooltip(activeTooltipEl, false);\n }\n }\n focusTooltip(tooltip, value) {\n this.closeExistingTooltip();\n if (value) {\n this.clearHoverTimeout(tooltip);\n }\n this.toggleTooltip(tooltip, value);\n }\n toggleTooltip(tooltip, value) {\n tooltip.open = value;\n if (value) {\n this.activeTooltipEl = tooltip;\n }\n }\n hoverTooltip(tooltip, value) {\n this.clearHoverTimeout(tooltip);\n const { hoverTimeouts } = this;\n const timeoutId = window.setTimeout(() => this.hoverToggle(tooltip, value), TOOLTIP_DELAY_MS || 0);\n hoverTimeouts.set(tooltip, timeoutId);\n }\n activeTooltipHover(event) {\n const { activeTooltipEl, hoverTimeouts } = this;\n const { type } = event;\n if (!activeTooltipEl) {\n return;\n }\n if (type === \"pointerover\" && event.composedPath().includes(activeTooltipEl)) {\n this.clearHoverTimeout(activeTooltipEl);\n }\n else if (type === \"pointerout\" && !hoverTimeouts.has(activeTooltipEl)) {\n this.hoverTooltip(activeTooltipEl, false);\n }\n }\n hoverEvent(event, value) {\n const tooltip = this.queryTooltip(event.composedPath());\n this.activeTooltipHover(event);\n if (!tooltip) {\n return;\n }\n this.hoverTooltip(tooltip, value);\n }\n focusEvent(event, value) {\n const tooltip = this.queryTooltip(event.composedPath());\n if (!tooltip || tooltip === this.clickedTooltip) {\n this.clickedTooltip = null;\n return;\n }\n this.focusTooltip(tooltip, value);\n }\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 display: block;\n position: absolute;\n z-index: 999;\n}\n\n.calcite-floating-ui-anim {\n position: relative;\n transition: var(--calcite-floating-ui-transition);\n visibility: hidden;\n transition-property: transform, visibility, opacity;\n opacity: 0;\n box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);\n z-index: 1;\n border-radius: 0.25rem;\n}\n\n:host([data-placement^=bottom]) .calcite-floating-ui-anim {\n transform: translateY(-5px);\n}\n\n:host([data-placement^=top]) .calcite-floating-ui-anim {\n transform: translateY(5px);\n}\n\n:host([data-placement^=left]) .calcite-floating-ui-anim {\n transform: translateX(5px);\n}\n\n:host([data-placement^=right]) .calcite-floating-ui-anim {\n transform: translateX(-5px);\n}\n\n:host([data-placement]) .calcite-floating-ui-anim--active {\n opacity: 1;\n visibility: visible;\n transform: translate(0);\n}\n\n:host([calcite-hydrated-hidden]) {\n visibility: hidden !important;\n pointer-events: none;\n}\n\n.arrow,\n.arrow::before {\n position: absolute;\n inline-size: 8px;\n block-size: 8px;\n z-index: -1;\n}\n\n.arrow::before {\n content: \"\";\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 transform: rotate(45deg);\n background: var(--calcite-ui-foreground-1);\n}\n\n:host([data-placement^=top]) .arrow {\n inset-block-end: -4px;\n}\n\n:host([data-placement^=bottom]) .arrow {\n inset-block-start: -4px;\n}\n\n:host([data-placement^=left]) .arrow {\n direction: ltr;\n inset-inline-end: -4px;\n}\n\n:host([data-placement^=right]) .arrow {\n direction: ltr;\n inset-inline-start: -4px;\n}\n\n.container {\n position: relative;\n overflow: hidden;\n border-radius: 0.25rem;\n background-color: var(--calcite-ui-foreground-1);\n padding-block: 0.75rem;\n padding-inline: 1rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n max-inline-size: 20rem;\n max-block-size: 20rem;\n text-align: start;\n}\n\n.calcite-floating-ui-anim {\n border-radius: 0.25rem;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n background-color: var(--calcite-ui-foreground-1);\n}\n\n.arrow::before {\n outline: 1px solid var(--calcite-ui-border-3);\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 { Host, h } from \"@stencil/core\";\nimport { CSS, ARIA_DESCRIBED_BY } from \"./resources\";\nimport { guid } from \"../../utils/guid\";\nimport { connectFloatingUI, disconnectFloatingUI, defaultOffsetDistance, reposition, FloatingCSS, updateAfterClose } from \"../../utils/floating-ui\";\nimport { queryElementRoots, toAriaBoolean } from \"../../utils/dom\";\nimport TooltipManager from \"./TooltipManager\";\nconst manager = new TooltipManager();\n/**\n * @slot - A slot for adding text.\n */\nexport class Tooltip {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /** Closes the component when the `referenceElement` is clicked. */\n this.closeOnClick = false;\n /**\n * Offset the position of the component away from the `referenceElement`.\n *\n * @default 6\n */\n this.offsetDistance = defaultOffsetDistance;\n /**\n * Offset the position of the component along the `referenceElement`.\n */\n this.offsetSkidding = 0;\n /**\n * When `true`, the component is open.\n */\n this.open = false;\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * The `\"fixed\"` value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n this.overlayPositioning = \"absolute\";\n /**\n * Determines where the component will be positioned relative to the `referenceElement`.\n *\n * @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)\n */\n this.placement = \"auto\";\n this.guid = `calcite-tooltip-${guid()}`;\n this.hasLoaded = false;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.setUpReferenceElement = (warn = true) => {\n this.removeReferences();\n this.effectiveReferenceElement = this.getReferenceElement();\n connectFloatingUI(this, this.effectiveReferenceElement, this.el);\n const { el, referenceElement, effectiveReferenceElement } = this;\n if (warn && referenceElement && !effectiveReferenceElement) {\n console.warn(`${el.tagName}: reference-element id \"${referenceElement}\" was not found.`, {\n el\n });\n }\n this.addReferences();\n };\n this.getId = () => {\n return this.el.id || this.guid;\n };\n this.addReferences = () => {\n const { effectiveReferenceElement } = this;\n if (!effectiveReferenceElement) {\n return;\n }\n const id = this.getId();\n if (\"setAttribute\" in effectiveReferenceElement) {\n effectiveReferenceElement.setAttribute(ARIA_DESCRIBED_BY, id);\n }\n manager.registerElement(effectiveReferenceElement, this.el);\n };\n this.removeReferences = () => {\n const { effectiveReferenceElement } = this;\n if (!effectiveReferenceElement) {\n return;\n }\n if (\"removeAttribute\" in effectiveReferenceElement) {\n effectiveReferenceElement.removeAttribute(ARIA_DESCRIBED_BY);\n }\n manager.unregisterElement(effectiveReferenceElement);\n };\n }\n offsetDistanceOffsetHandler() {\n this.reposition(true);\n }\n offsetSkiddingHandler() {\n this.reposition(true);\n }\n openHandler(value) {\n if (value) {\n this.reposition(true);\n }\n else {\n updateAfterClose(this.el);\n }\n }\n overlayPositioningHandler() {\n this.reposition(true);\n }\n placementHandler() {\n this.reposition(true);\n }\n referenceElementHandler() {\n this.setUpReferenceElement();\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n this.setUpReferenceElement(this.hasLoaded);\n }\n componentDidLoad() {\n if (this.referenceElement && !this.effectiveReferenceElement) {\n this.setUpReferenceElement();\n }\n this.reposition(true);\n this.hasLoaded = true;\n }\n disconnectedCallback() {\n this.removeReferences();\n disconnectFloatingUI(this, this.effectiveReferenceElement, this.el);\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n /**\n * Updates the position of the component.\n *\n * @param delayed\n */\n async reposition(delayed = false) {\n const { el, effectiveReferenceElement, placement, overlayPositioning, offsetDistance, offsetSkidding, arrowEl } = this;\n return reposition(this, {\n floatingEl: el,\n referenceEl: effectiveReferenceElement,\n overlayPositioning,\n placement,\n offsetDistance,\n offsetSkidding,\n includeArrow: true,\n arrowEl,\n type: \"tooltip\"\n }, delayed);\n }\n getReferenceElement() {\n const { referenceElement, el } = this;\n return ((typeof referenceElement === \"string\"\n ? queryElementRoots(el, { id: referenceElement })\n : referenceElement) || null);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const { effectiveReferenceElement, label, open } = this;\n const displayed = effectiveReferenceElement && open;\n const hidden = !displayed;\n return (h(Host, { \"aria-hidden\": toAriaBoolean(hidden), \"aria-label\": label, \"aria-live\": \"polite\", \"calcite-hydrated-hidden\": hidden, id: this.getId(), role: \"tooltip\" }, h(\"div\", { class: {\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: displayed\n } }, h(\"div\", { class: CSS.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), h(\"div\", { class: CSS.container }, h(\"slot\", null)))));\n }\n static get is() { return \"calcite-tooltip\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tooltip.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tooltip.css\"]\n };\n }\n static get properties() {\n return {\n \"closeOnClick\": {\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\": \"Closes the component when the `referenceElement` is clicked.\"\n },\n \"attribute\": \"close-on-click\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"offsetDistance\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"6\"\n }],\n \"text\": \"Offset the position of the component away from the `referenceElement`.\"\n },\n \"attribute\": \"offset-distance\",\n \"reflect\": true,\n \"defaultValue\": \"defaultOffsetDistance\"\n },\n \"offsetSkidding\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Offset the position of the component along the `referenceElement`.\"\n },\n \"attribute\": \"offset-skidding\",\n \"reflect\": true,\n \"defaultValue\": \"0\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is open.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"overlayPositioning\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"OverlayPositioning\",\n \"resolved\": \"\\\"absolute\\\" | \\\"fixed\\\"\",\n \"references\": {\n \"OverlayPositioning\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Determines the type of positioning to use for the overlaid content.\\n\\nUsing `\\\"absolute\\\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\\n\\nThe `\\\"fixed\\\"` value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\\\"fixed\\\"`.\"\n },\n \"attribute\": \"overlay-positioning\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"absolute\\\"\"\n },\n \"placement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"LogicalPlacement\",\n \"resolved\": \"Placement | VariationPlacement | AutoPlacement | DeprecatedPlacement\",\n \"references\": {\n \"LogicalPlacement\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"see\",\n \"text\": \"[LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)\"\n }],\n \"text\": \"Determines where the component will be positioned relative to the `referenceElement`.\"\n },\n \"attribute\": \"placement\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"auto\\\"\"\n },\n \"referenceElement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ReferenceElement | string\",\n \"resolved\": \"Element | VirtualElement | string\",\n \"references\": {\n \"ReferenceElement\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The `referenceElement` to position the component according to its `\\\"placement\\\"` value.\\n\\nSetting to the `HTMLElement` is preferred so the component does not need to query the DOM for the `referenceElement`.\\n\\nHowever, a string ID of the reference element can be used.\"\n },\n \"attribute\": \"reference-element\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"effectiveReferenceElement\": {}\n };\n }\n static get methods() {\n return {\n \"reposition\": {\n \"complexType\": {\n \"signature\": \"(delayed?: boolean) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"delayed\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Updates the position of the component.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"delayed\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"offsetDistance\",\n \"methodName\": \"offsetDistanceOffsetHandler\"\n }, {\n \"propName\": \"offsetSkidding\",\n \"methodName\": \"offsetSkiddingHandler\"\n }, {\n \"propName\": \"open\",\n \"methodName\": \"openHandler\"\n }, {\n \"propName\": \"overlayPositioning\",\n \"methodName\": \"overlayPositioningHandler\"\n }, {\n \"propName\": \"placement\",\n \"methodName\": \"placementHandler\"\n }, {\n \"propName\": \"referenceElement\",\n \"methodName\": \"referenceElementHandler\"\n }];\n }\n}\n"],"version":3}
|
@@ -1,296 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
-
import { T as TreeSelectionMode } from './interfaces2.js';
|
8
|
-
import { b as getSlotted, c as getElementDir, C as CSS_UTILITY, t as toAriaBoolean, m as filterDirectChildren, n as nodeListToArray } from './dom.js';
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
10
|
-
import { u as updateHostInteraction } from './interactive.js';
|
11
|
-
import { d as defineCustomElement$2 } from './checkbox.js';
|
12
|
-
import { d as defineCustomElement$1 } from './icon.js';
|
13
|
-
|
14
|
-
/*!
|
15
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
16
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
17
|
-
* v1.0.0-beta.97
|
18
|
-
*/
|
19
|
-
const CSS = {
|
20
|
-
checkboxLabel: "checkbox-label",
|
21
|
-
checkbox: "checkbox",
|
22
|
-
chevron: "chevron",
|
23
|
-
nodeContainer: "node-container",
|
24
|
-
childrenContainer: "children-container",
|
25
|
-
bulletPointIcon: "bullet-point",
|
26
|
-
checkmarkIcon: "checkmark"
|
27
|
-
};
|
28
|
-
const SLOTS = {
|
29
|
-
children: "children"
|
30
|
-
};
|
31
|
-
const ICONS = {
|
32
|
-
bulletPoint: "bullet-point",
|
33
|
-
checkmark: "check",
|
34
|
-
chevronRight: "chevron-right",
|
35
|
-
blank: "blank"
|
36
|
-
};
|
37
|
-
|
38
|
-
const treeItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-container{--calcite-tree-padding-y:0.25rem}:host([scale=s]) .node-container .checkbox,:host([scale=s]) .node-container .chevron,:host([scale=s]) .node-container .checkmark,:host([scale=s]) .node-container .bullet-point{margin-inline:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-container{--calcite-tree-padding-y:0.5rem}:host([scale=m]) .node-container .checkbox,:host([scale=m]) .node-container .chevron,:host([scale=m]) .node-container .checkmark,:host([scale=m]) .node-container .bullet-point{margin-inline:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-container{--calcite-tree-padding-y:0.75rem}:host([scale=l]) .node-container .checkbox,:host([scale=l]) .node-container .chevron,:host([scale=l]) .node-container .checkmark,:host([scale=l]) .node-container .bullet-point{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:1;inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-color:transparent}:host(:focus:not([disabled])){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;overflow:hidden;-webkit-margin-start:1.25rem;margin-inline-start:1.25rem;transform:scaleY(0);opacity:0;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transform-origin:top}:host([expanded])>.children-container{transform:scaleY(1);opacity:1;block-size:auto}.node-container{position:relative;display:flex;align-items:center;padding-block:var(--calcite-tree-padding-y);padding-inline:0}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected])>.node-container,:host([selected])>.node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected])>.node-container .bullet-point,:host([selected])>.node-container .checkmark,:host([selected])>.node-container:hover .bullet-point,:host([selected])>.node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s])>.node-container{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m])>.node-container{-webkit-padding-start:1rem;padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l])>.node-container{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}:host([has-children])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-margin-start:0;margin-inline-start:0}:host([has-children])>.node-container .bullet-point,:host([has-children])>.node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none]))>.node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected])>.node-container[data-selection-mode=children],:host([has-children][selected])>.node-container[data-selection-mode=multi-children]{color:var(--calcite-ui-brand)}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}:host([expanded])>.node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}";
|
39
|
-
|
40
|
-
const TreeItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
41
|
-
constructor() {
|
42
|
-
super();
|
43
|
-
this.__registerHost();
|
44
|
-
this.__attachShadow();
|
45
|
-
this.calciteInternalTreeItemSelect = createEvent(this, "calciteInternalTreeItemSelect", 6);
|
46
|
-
//--------------------------------------------------------------------------
|
47
|
-
//
|
48
|
-
// Properties
|
49
|
-
//
|
50
|
-
//--------------------------------------------------------------------------
|
51
|
-
/**
|
52
|
-
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
53
|
-
*/
|
54
|
-
this.disabled = false;
|
55
|
-
/** When `true`, the component is selected. */
|
56
|
-
this.selected = false;
|
57
|
-
/** When `true`, the component is expanded. */
|
58
|
-
this.expanded = false;
|
59
|
-
/**
|
60
|
-
* @internal
|
61
|
-
*/
|
62
|
-
this.parentExpanded = false;
|
63
|
-
/**
|
64
|
-
* @internal
|
65
|
-
*/
|
66
|
-
this.depth = -1;
|
67
|
-
/**
|
68
|
-
* @internal
|
69
|
-
*/
|
70
|
-
this.hasChildren = null;
|
71
|
-
this.iconClickHandler = (event) => {
|
72
|
-
event.stopPropagation();
|
73
|
-
this.expanded = !this.expanded;
|
74
|
-
};
|
75
|
-
this.childrenClickHandler = (event) => event.stopPropagation();
|
76
|
-
//--------------------------------------------------------------------------
|
77
|
-
//
|
78
|
-
// Private Methods
|
79
|
-
//
|
80
|
-
//--------------------------------------------------------------------------
|
81
|
-
this.updateParentIsExpanded = (el, expanded) => {
|
82
|
-
const items = getSlotted(el, SLOTS.children, {
|
83
|
-
all: true,
|
84
|
-
selector: "calcite-tree-item"
|
85
|
-
});
|
86
|
-
items.forEach((item) => (item.parentExpanded = expanded));
|
87
|
-
};
|
88
|
-
this.updateAncestorTree = () => {
|
89
|
-
var _a;
|
90
|
-
if (this.selected && this.selectionMode === TreeSelectionMode.Ancestors) {
|
91
|
-
const ancestors = [];
|
92
|
-
let parent = this.parentTreeItem;
|
93
|
-
while (parent) {
|
94
|
-
ancestors.push(parent);
|
95
|
-
parent = (_a = parent.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
|
96
|
-
}
|
97
|
-
ancestors.forEach((item) => (item.indeterminate = true));
|
98
|
-
return;
|
99
|
-
}
|
100
|
-
};
|
101
|
-
}
|
102
|
-
expandedHandler(newValue) {
|
103
|
-
this.updateParentIsExpanded(this.el, newValue);
|
104
|
-
}
|
105
|
-
getselectionMode() {
|
106
|
-
this.isSelectionMultiLike =
|
107
|
-
this.selectionMode === TreeSelectionMode.Multi ||
|
108
|
-
this.selectionMode === TreeSelectionMode.MultiChildren;
|
109
|
-
}
|
110
|
-
//--------------------------------------------------------------------------
|
111
|
-
//
|
112
|
-
// Lifecycle
|
113
|
-
//
|
114
|
-
//--------------------------------------------------------------------------
|
115
|
-
connectedCallback() {
|
116
|
-
var _a;
|
117
|
-
this.parentTreeItem = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
|
118
|
-
if (this.parentTreeItem) {
|
119
|
-
const { expanded } = this.parentTreeItem;
|
120
|
-
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
121
|
-
}
|
122
|
-
connectConditionalSlotComponent(this);
|
123
|
-
}
|
124
|
-
disconnectedCallback() {
|
125
|
-
disconnectConditionalSlotComponent(this);
|
126
|
-
}
|
127
|
-
componentWillRender() {
|
128
|
-
var _a;
|
129
|
-
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
130
|
-
this.depth = 0;
|
131
|
-
let parentTree = this.el.closest("calcite-tree");
|
132
|
-
if (!parentTree) {
|
133
|
-
return;
|
134
|
-
}
|
135
|
-
this.selectionMode = parentTree.selectionMode;
|
136
|
-
this.scale = parentTree.scale || "m";
|
137
|
-
this.lines = parentTree.lines;
|
138
|
-
let nextParentTree;
|
139
|
-
while (parentTree) {
|
140
|
-
nextParentTree = (_a = parentTree.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree");
|
141
|
-
if (nextParentTree === parentTree) {
|
142
|
-
break;
|
143
|
-
}
|
144
|
-
else {
|
145
|
-
parentTree = nextParentTree;
|
146
|
-
this.depth = this.depth + 1;
|
147
|
-
}
|
148
|
-
}
|
149
|
-
}
|
150
|
-
componentDidLoad() {
|
151
|
-
this.updateAncestorTree();
|
152
|
-
}
|
153
|
-
componentDidRender() {
|
154
|
-
updateHostInteraction(this, () => this.parentExpanded || this.depth === 1);
|
155
|
-
}
|
156
|
-
render() {
|
157
|
-
const rtl = getElementDir(this.el) === "rtl";
|
158
|
-
const showBulletPoint = this.selectionMode === TreeSelectionMode.Single ||
|
159
|
-
this.selectionMode === TreeSelectionMode.Children;
|
160
|
-
const showCheckmark = this.selectionMode === TreeSelectionMode.Multi ||
|
161
|
-
this.selectionMode === TreeSelectionMode.MultiChildren;
|
162
|
-
const showBlank = this.selectionMode === TreeSelectionMode.None && !this.hasChildren;
|
163
|
-
const chevron = this.hasChildren ? (h("calcite-icon", { class: {
|
164
|
-
[CSS.chevron]: true,
|
165
|
-
[CSS_UTILITY.rtl]: rtl
|
166
|
-
}, "data-test-id": "icon", icon: ICONS.chevronRight, onClick: this.iconClickHandler, scale: "s" })) : null;
|
167
|
-
const defaultSlotNode = h("slot", { key: "default-slot" });
|
168
|
-
const checkbox = this.selectionMode === TreeSelectionMode.Ancestors ? (h("label", { class: CSS.checkboxLabel, key: "checkbox-label" }, h("calcite-checkbox", { checked: this.selected, class: CSS.checkbox, "data-test-id": "checkbox", indeterminate: this.hasChildren && this.indeterminate, scale: this.scale, tabIndex: -1 }), defaultSlotNode)) : null;
|
169
|
-
const selectedIcon = showBulletPoint
|
170
|
-
? ICONS.bulletPoint
|
171
|
-
: showCheckmark
|
172
|
-
? ICONS.checkmark
|
173
|
-
: showBlank
|
174
|
-
? ICONS.blank
|
175
|
-
: null;
|
176
|
-
const itemIndicator = selectedIcon ? (h("calcite-icon", { class: {
|
177
|
-
[CSS.bulletPointIcon]: selectedIcon === ICONS.bulletPoint,
|
178
|
-
[CSS.checkmarkIcon]: selectedIcon === ICONS.checkmark,
|
179
|
-
[CSS_UTILITY.rtl]: rtl
|
180
|
-
}, icon: selectedIcon, scale: "s" })) : null;
|
181
|
-
const hidden = !(this.parentExpanded || this.depth === 1);
|
182
|
-
return (h(Host, { "aria-expanded": this.hasChildren ? toAriaBoolean(this.expanded) : undefined, "aria-hidden": toAriaBoolean(hidden), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem" }, h("div", { class: {
|
183
|
-
[CSS.nodeContainer]: true,
|
184
|
-
[CSS_UTILITY.rtl]: rtl
|
185
|
-
}, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, checkbox ? checkbox : defaultSlotNode), h("div", { class: {
|
186
|
-
[CSS.childrenContainer]: true,
|
187
|
-
[CSS_UTILITY.rtl]: rtl
|
188
|
-
}, "data-test-id": "calcite-tree-children", onClick: this.childrenClickHandler, ref: (el) => (this.childrenSlotWrapper = el), role: this.hasChildren ? "group" : undefined }, h("slot", { name: SLOTS.children }))));
|
189
|
-
}
|
190
|
-
//--------------------------------------------------------------------------
|
191
|
-
//
|
192
|
-
// Event Listeners
|
193
|
-
//
|
194
|
-
//--------------------------------------------------------------------------
|
195
|
-
onClick(event) {
|
196
|
-
// Solve for if the item is clicked somewhere outside the slotted anchor.
|
197
|
-
// Anchor is triggered anywhere you click
|
198
|
-
const [link] = filterDirectChildren(this.el, "a");
|
199
|
-
if (link && event.composedPath()[0].tagName.toLowerCase() !== "a") {
|
200
|
-
const target = link.target === "" ? "_self" : link.target;
|
201
|
-
window.open(link.href, target);
|
202
|
-
}
|
203
|
-
this.calciteInternalTreeItemSelect.emit({
|
204
|
-
modifyCurrentSelection: this.selectionMode === TreeSelectionMode.Ancestors || this.isSelectionMultiLike,
|
205
|
-
forceToggle: false
|
206
|
-
});
|
207
|
-
}
|
208
|
-
keyDownHandler(event) {
|
209
|
-
let root;
|
210
|
-
switch (event.key) {
|
211
|
-
case " ":
|
212
|
-
this.calciteInternalTreeItemSelect.emit({
|
213
|
-
modifyCurrentSelection: this.isSelectionMultiLike,
|
214
|
-
forceToggle: false
|
215
|
-
});
|
216
|
-
event.preventDefault();
|
217
|
-
break;
|
218
|
-
case "Enter":
|
219
|
-
// activates a node, i.e., performs its default action. For parent nodes, one possible default action is to open or close the node. In single-select trees where selection does not follow focus (see note below), the default action is typically to select the focused node.
|
220
|
-
const link = nodeListToArray(this.el.children).find((el) => el.matches("a"));
|
221
|
-
if (link) {
|
222
|
-
link.click();
|
223
|
-
this.selected = true;
|
224
|
-
}
|
225
|
-
else {
|
226
|
-
this.calciteInternalTreeItemSelect.emit({
|
227
|
-
modifyCurrentSelection: this.isSelectionMultiLike,
|
228
|
-
forceToggle: false
|
229
|
-
});
|
230
|
-
}
|
231
|
-
event.preventDefault();
|
232
|
-
break;
|
233
|
-
case "Home":
|
234
|
-
root = this.el.closest("calcite-tree:not([child])");
|
235
|
-
const firstNode = root.querySelector("calcite-tree-item");
|
236
|
-
firstNode === null || firstNode === void 0 ? void 0 : firstNode.focus();
|
237
|
-
break;
|
238
|
-
case "End":
|
239
|
-
root = this.el.closest("calcite-tree:not([child])");
|
240
|
-
let currentNode = root.children[root.children.length - 1]; // last child
|
241
|
-
let currentTree = nodeListToArray(currentNode.children).find((el) => el.matches("calcite-tree"));
|
242
|
-
while (currentTree) {
|
243
|
-
currentNode = currentTree.children[root.children.length - 1];
|
244
|
-
currentTree = nodeListToArray(currentNode.children).find((el) => el.matches("calcite-tree"));
|
245
|
-
}
|
246
|
-
currentNode === null || currentNode === void 0 ? void 0 : currentNode.focus();
|
247
|
-
break;
|
248
|
-
}
|
249
|
-
}
|
250
|
-
get el() { return this; }
|
251
|
-
static get watchers() { return {
|
252
|
-
"expanded": ["expandedHandler"],
|
253
|
-
"selectionMode": ["getselectionMode"]
|
254
|
-
}; }
|
255
|
-
static get style() { return treeItemCss; }
|
256
|
-
}, [1, "calcite-tree-item", {
|
257
|
-
"disabled": [516],
|
258
|
-
"selected": [1540],
|
259
|
-
"expanded": [1540],
|
260
|
-
"parentExpanded": [4, "parent-expanded"],
|
261
|
-
"depth": [1538],
|
262
|
-
"hasChildren": [1540, "has-children"],
|
263
|
-
"lines": [1540],
|
264
|
-
"inputEnabled": [4, "input-enabled"],
|
265
|
-
"scale": [1537],
|
266
|
-
"indeterminate": [516],
|
267
|
-
"selectionMode": [1537, "selection-mode"]
|
268
|
-
}, [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"]]]);
|
269
|
-
function defineCustomElement() {
|
270
|
-
if (typeof customElements === "undefined") {
|
271
|
-
return;
|
272
|
-
}
|
273
|
-
const components = ["calcite-tree-item", "calcite-checkbox", "calcite-icon"];
|
274
|
-
components.forEach(tagName => { switch (tagName) {
|
275
|
-
case "calcite-tree-item":
|
276
|
-
if (!customElements.get(tagName)) {
|
277
|
-
customElements.define(tagName, TreeItem);
|
278
|
-
}
|
279
|
-
break;
|
280
|
-
case "calcite-checkbox":
|
281
|
-
if (!customElements.get(tagName)) {
|
282
|
-
defineCustomElement$2();
|
283
|
-
}
|
284
|
-
break;
|
285
|
-
case "calcite-icon":
|
286
|
-
if (!customElements.get(tagName)) {
|
287
|
-
defineCustomElement$1();
|
288
|
-
}
|
289
|
-
break;
|
290
|
-
} });
|
291
|
-
}
|
292
|
-
defineCustomElement();
|
293
|
-
|
294
|
-
export { TreeItem as T, defineCustomElement as d };
|
295
|
-
|
296
|
-
//# sourceMappingURL=tree-item.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"tree-item.js","mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,QAAQ,EAAE,UAAU;AACtB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,iBAA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OAAO,WAAW,EAAE;UAClB,WAAW,GAAG,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;UAC7D,WAAW,GAAG,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;SAC9F;QACD,WAAW,KAAK,IAAI,IAAI,WAAW,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,WAAW,CAAC,KAAK,EAAE,CAAC;QAC9E,MAAM;KACT;GACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/tree-item/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css?tag=calcite-tree-item&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.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 checkboxLabel: \"checkbox-label\",\n checkbox: \"checkbox\",\n chevron: \"chevron\",\n nodeContainer: \"node-container\",\n childrenContainer: \"children-container\",\n bulletPointIcon: \"bullet-point\",\n checkmarkIcon: \"checkmark\"\n};\nexport const SLOTS = {\n children: \"children\"\n};\nexport const ICONS = {\n bulletPoint: \"bullet-point\",\n checkmark: \"check\",\n chevronRight: \"chevron-right\",\n blank: \"blank\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host {\n display: block;\n max-inline-size: 100%;\n cursor: pointer;\n color: var(--calcite-ui-text-3);\n}\n\n:host([calcite-hydrated-hidden]) {\n visibility: hidden !important;\n pointer-events: none;\n}\n\n:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled] {\n /* prevent opacity stacking */\n opacity: 1;\n}\n\n:host([scale=s]) {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n:host([scale=s]) .node-container {\n --calcite-tree-padding-y: 0.25rem;\n}\n:host([scale=s]) .node-container .checkbox,\n:host([scale=s]) .node-container .chevron,\n:host([scale=s]) .node-container .checkmark,\n:host([scale=s]) .node-container .bullet-point {\n margin-inline: 0.25rem;\n}\n\n:host([scale=m]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n:host([scale=m]) .node-container {\n --calcite-tree-padding-y: 0.5rem;\n}\n:host([scale=m]) .node-container .checkbox,\n:host([scale=m]) .node-container .chevron,\n:host([scale=m]) .node-container .checkmark,\n:host([scale=m]) .node-container .bullet-point {\n margin-inline: 0.5rem;\n}\n\n:host([scale=l]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n:host([scale=l]) .node-container {\n --calcite-tree-padding-y: 0.75rem;\n}\n:host([scale=l]) .node-container .checkbox,\n:host([scale=l]) .node-container .chevron,\n:host([scale=l]) .node-container .checkmark,\n:host([scale=l]) .node-container .bullet-point {\n margin-inline: 0.75rem;\n}\n\n:host([lines]) .children-container:after {\n position: absolute;\n inset-block-start: 0px;\n z-index: 1;\n inline-size: 1px;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n block-size: 96%;\n content: \"\";\n background-color: var(--calcite-ui-border-2);\n}\n\n:host(:not([lines])) .node-container:after {\n display: none;\n}\n\n::slotted(*) {\n min-inline-size: 0px;\n max-inline-size: 100%;\n overflow-wrap: break-word;\n color: inherit;\n text-decoration: none !important;\n}\n::slotted(*):hover {\n text-decoration: none !important;\n}\n\n::slotted(a) {\n inline-size: 100%;\n text-decoration-line: none;\n}\n\n:host {\n outline-color: transparent;\n}\n\n:host(:focus:not([disabled])) {\n outline: 2px solid transparent;\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n.checkbox {\n line-height: 0;\n}\n\n.checkbox-label {\n pointer-events: none;\n display: flex;\n align-items: center;\n}\n\n.checkbox:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.children-container {\n position: relative;\n block-size: 0px;\n overflow: hidden;\n margin-inline-start: 1.25rem;\n transform: scaleY(0);\n opacity: 0;\n transition: var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;\n transform-origin: top;\n}\n:host([expanded]) > .children-container {\n transform: scaleY(1);\n opacity: 1;\n block-size: auto;\n}\n\n.node-container {\n position: relative;\n display: flex;\n align-items: center;\n padding-block: var(--calcite-tree-padding-y);\n padding-inline: 0;\n}\n.node-container .checkmark, \n.node-container .bullet-point {\n opacity: 0;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n color: var(--calcite-ui-border-1);\n}\n\n.node-container:hover .checkmark, \n.node-container:hover .bullet-point, \n:host([selected]) .node-container:hover .checkmark, \n:host([selected]) .node-container:hover .bullet-point, \n:host(:focus:not([disabled])) .node-container .checkmark, \n:host(:focus:not([disabled])) .node-container .bullet-point {\n opacity: 1;\n}\n\n:host([selected]) > .node-container, \n:host([selected]) > .node-container:hover {\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n}\n:host([selected]) > .node-container .bullet-point, \n:host([selected]) > .node-container .checkmark, \n:host([selected]) > .node-container:hover .bullet-point, \n:host([selected]) > .node-container:hover .checkmark {\n opacity: 1;\n color: var(--calcite-ui-brand);\n}\n\n:host([selection-mode=none]:not([has-children])):host([scale=s]) > .node-container {\n padding-inline-start: 0.5rem;\n}\n:host([selection-mode=none]:not([has-children])):host([scale=m]) > .node-container {\n padding-inline-start: 1rem;\n}\n:host([selection-mode=none]:not([has-children])):host([scale=l]) > .node-container {\n padding-inline-start: 1.5rem;\n}\n\n:host(:not([has-children])):host([scale=s]) > .node-container[data-selection-mode=ancestors] .checkbox {\n padding-inline-start: 1.25rem;\n}\n:host(:not([has-children])):host([scale=m]) > .node-container[data-selection-mode=ancestors] .checkbox {\n padding-inline-start: 1.5rem;\n}\n:host(:not([has-children])):host([scale=l]) > .node-container[data-selection-mode=ancestors] .checkbox {\n padding-inline-start: 1.75rem;\n}\n\n:host([has-children]) > .node-container[data-selection-mode=ancestors] .checkbox {\n margin-inline-start: 0;\n}\n\n:host([has-children]) > .node-container .bullet-point, \n:host([has-children]) > .node-container .checkmark {\n display: none;\n}\n\n:host([has-children][expanded]:not([selected]):not([selection-mode=none])) > .node-container ::slotted(*) {\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n}\n\n:host([has-children][selected]) > .node-container[data-selection-mode=children], :host([has-children][selected]) > .node-container[data-selection-mode=multi-children] {\n color: var(--calcite-ui-brand);\n}\n\n.chevron {\n position: relative;\n align-self: center;\n color: var(--calcite-ui-text-3);\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n flex: 0 0 auto;\n transform: rotate(0deg);\n}\n.calcite--rtl .chevron {\n transform: rotate(180deg);\n}\n:host([expanded]) > .node-container > .chevron {\n transform: rotate(90deg);\n}\n\n:host([selected]) .checkmark,\n:host([selected]) .bullet-point {\n color: var(--calcite-ui-brand);\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 { Host, h } from \"@stencil/core\";\nimport { TreeSelectionMode } from \"../tree/interfaces\";\nimport { nodeListToArray, getElementDir, filterDirectChildren, getSlotted, toAriaBoolean } from \"../../utils/dom\";\nimport { CSS, SLOTS, ICONS } from \"./resources\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\n/**\n * @slot - A slot for adding the component's content.\n * @slot children - A slot for adding nested `calcite-tree` elements.\n */\nexport class TreeItem {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n this.disabled = false;\n /** When `true`, the component is selected. */\n this.selected = false;\n /** When `true`, the component is expanded. */\n this.expanded = false;\n /**\n * @internal\n */\n this.parentExpanded = false;\n /**\n * @internal\n */\n this.depth = -1;\n /**\n * @internal\n */\n this.hasChildren = null;\n this.iconClickHandler = (event) => {\n event.stopPropagation();\n this.expanded = !this.expanded;\n };\n this.childrenClickHandler = (event) => event.stopPropagation();\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.updateParentIsExpanded = (el, expanded) => {\n const items = getSlotted(el, SLOTS.children, {\n all: true,\n selector: \"calcite-tree-item\"\n });\n items.forEach((item) => (item.parentExpanded = expanded));\n };\n this.updateAncestorTree = () => {\n var _a;\n if (this.selected && this.selectionMode === TreeSelectionMode.Ancestors) {\n const ancestors = [];\n let parent = this.parentTreeItem;\n while (parent) {\n ancestors.push(parent);\n parent = (_a = parent.parentElement) === null || _a === void 0 ? void 0 : _a.closest(\"calcite-tree-item\");\n }\n ancestors.forEach((item) => (item.indeterminate = true));\n return;\n }\n };\n }\n expandedHandler(newValue) {\n this.updateParentIsExpanded(this.el, newValue);\n }\n getselectionMode() {\n this.isSelectionMultiLike =\n this.selectionMode === TreeSelectionMode.Multi ||\n this.selectionMode === TreeSelectionMode.MultiChildren;\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n this.parentTreeItem = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest(\"calcite-tree-item\");\n if (this.parentTreeItem) {\n const { expanded } = this.parentTreeItem;\n this.updateParentIsExpanded(this.parentTreeItem, expanded);\n }\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n componentWillRender() {\n var _a;\n this.hasChildren = !!this.el.querySelector(\"calcite-tree\");\n this.depth = 0;\n let parentTree = this.el.closest(\"calcite-tree\");\n if (!parentTree) {\n return;\n }\n this.selectionMode = parentTree.selectionMode;\n this.scale = parentTree.scale || \"m\";\n this.lines = parentTree.lines;\n let nextParentTree;\n while (parentTree) {\n nextParentTree = (_a = parentTree.parentElement) === null || _a === void 0 ? void 0 : _a.closest(\"calcite-tree\");\n if (nextParentTree === parentTree) {\n break;\n }\n else {\n parentTree = nextParentTree;\n this.depth = this.depth + 1;\n }\n }\n }\n componentDidLoad() {\n this.updateAncestorTree();\n }\n componentDidRender() {\n updateHostInteraction(this, () => this.parentExpanded || this.depth === 1);\n }\n render() {\n const rtl = getElementDir(this.el) === \"rtl\";\n const showBulletPoint = this.selectionMode === TreeSelectionMode.Single ||\n this.selectionMode === TreeSelectionMode.Children;\n const showCheckmark = this.selectionMode === TreeSelectionMode.Multi ||\n this.selectionMode === TreeSelectionMode.MultiChildren;\n const showBlank = this.selectionMode === TreeSelectionMode.None && !this.hasChildren;\n const chevron = this.hasChildren ? (h(\"calcite-icon\", { class: {\n [CSS.chevron]: true,\n [CSS_UTILITY.rtl]: rtl\n }, \"data-test-id\": \"icon\", icon: ICONS.chevronRight, onClick: this.iconClickHandler, scale: \"s\" })) : null;\n const defaultSlotNode = h(\"slot\", { key: \"default-slot\" });\n const checkbox = this.selectionMode === TreeSelectionMode.Ancestors ? (h(\"label\", { class: CSS.checkboxLabel, key: \"checkbox-label\" }, h(\"calcite-checkbox\", { checked: this.selected, class: CSS.checkbox, \"data-test-id\": \"checkbox\", indeterminate: this.hasChildren && this.indeterminate, scale: this.scale, tabIndex: -1 }), defaultSlotNode)) : null;\n const selectedIcon = showBulletPoint\n ? ICONS.bulletPoint\n : showCheckmark\n ? ICONS.checkmark\n : showBlank\n ? ICONS.blank\n : null;\n const itemIndicator = selectedIcon ? (h(\"calcite-icon\", { class: {\n [CSS.bulletPointIcon]: selectedIcon === ICONS.bulletPoint,\n [CSS.checkmarkIcon]: selectedIcon === ICONS.checkmark,\n [CSS_UTILITY.rtl]: rtl\n }, icon: selectedIcon, scale: \"s\" })) : null;\n const hidden = !(this.parentExpanded || this.depth === 1);\n return (h(Host, { \"aria-expanded\": this.hasChildren ? toAriaBoolean(this.expanded) : undefined, \"aria-hidden\": toAriaBoolean(hidden), \"aria-selected\": this.selected ? \"true\" : showCheckmark ? \"false\" : undefined, \"calcite-hydrated-hidden\": hidden, role: \"treeitem\" }, h(\"div\", { class: {\n [CSS.nodeContainer]: true,\n [CSS_UTILITY.rtl]: rtl\n }, \"data-selection-mode\": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, checkbox ? checkbox : defaultSlotNode), h(\"div\", { class: {\n [CSS.childrenContainer]: true,\n [CSS_UTILITY.rtl]: rtl\n }, \"data-test-id\": \"calcite-tree-children\", onClick: this.childrenClickHandler, ref: (el) => (this.childrenSlotWrapper = el), role: this.hasChildren ? \"group\" : undefined }, h(\"slot\", { name: SLOTS.children }))));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n onClick(event) {\n // Solve for if the item is clicked somewhere outside the slotted anchor.\n // Anchor is triggered anywhere you click\n const [link] = filterDirectChildren(this.el, \"a\");\n if (link && event.composedPath()[0].tagName.toLowerCase() !== \"a\") {\n const target = link.target === \"\" ? \"_self\" : link.target;\n window.open(link.href, target);\n }\n this.calciteInternalTreeItemSelect.emit({\n modifyCurrentSelection: this.selectionMode === TreeSelectionMode.Ancestors || this.isSelectionMultiLike,\n forceToggle: false\n });\n }\n keyDownHandler(event) {\n let root;\n switch (event.key) {\n case \" \":\n this.calciteInternalTreeItemSelect.emit({\n modifyCurrentSelection: this.isSelectionMultiLike,\n forceToggle: false\n });\n event.preventDefault();\n break;\n case \"Enter\":\n // activates a node, i.e., performs its default action. For parent nodes, one possible default action is to open or close the node. In single-select trees where selection does not follow focus (see note below), the default action is typically to select the focused node.\n const link = nodeListToArray(this.el.children).find((el) => el.matches(\"a\"));\n if (link) {\n link.click();\n this.selected = true;\n }\n else {\n this.calciteInternalTreeItemSelect.emit({\n modifyCurrentSelection: this.isSelectionMultiLike,\n forceToggle: false\n });\n }\n event.preventDefault();\n break;\n case \"Home\":\n root = this.el.closest(\"calcite-tree:not([child])\");\n const firstNode = root.querySelector(\"calcite-tree-item\");\n firstNode === null || firstNode === void 0 ? void 0 : firstNode.focus();\n break;\n case \"End\":\n root = this.el.closest(\"calcite-tree:not([child])\");\n let currentNode = root.children[root.children.length - 1]; // last child\n let currentTree = nodeListToArray(currentNode.children).find((el) => el.matches(\"calcite-tree\"));\n while (currentTree) {\n currentNode = currentTree.children[root.children.length - 1];\n currentTree = nodeListToArray(currentNode.children).find((el) => el.matches(\"calcite-tree\"));\n }\n currentNode === null || currentNode === void 0 ? void 0 : currentNode.focus();\n break;\n }\n }\n static get is() { return \"calcite-tree-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tree-item.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tree-item.css\"]\n };\n }\n static get properties() {\n return {\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, interaction is prevented and the component is displayed with lower opacity.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is selected.\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"expanded\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is expanded.\"\n },\n \"attribute\": \"expanded\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"parentExpanded\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"parent-expanded\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"depth\": {\n \"type\": \"number\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"depth\",\n \"reflect\": true,\n \"defaultValue\": \"-1\"\n },\n \"hasChildren\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"has-children\",\n \"reflect\": true,\n \"defaultValue\": \"null\"\n },\n \"lines\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"lines\",\n \"reflect\": true\n },\n \"inputEnabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }, {\n \"name\": \"deprecated\",\n \"text\": \"Use `selectionMode=\\\"ancestors\\\"` for checkbox input.\"\n }],\n \"text\": \"Displays checkboxes (set on parent).\"\n },\n \"attribute\": \"input-enabled\",\n \"reflect\": false\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n },\n \"indeterminate\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"In ancestor selection mode, show as indeterminate when only some children are selected.\"\n },\n \"attribute\": \"indeterminate\",\n \"reflect\": true\n },\n \"selectionMode\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"TreeSelectionMode\",\n \"resolved\": \"TreeSelectionMode.Ancestors | TreeSelectionMode.Children | TreeSelectionMode.Multi | TreeSelectionMode.MultiChildren | TreeSelectionMode.None | TreeSelectionMode.Single\",\n \"references\": {\n \"TreeSelectionMode\": {\n \"location\": \"import\",\n \"path\": \"../tree/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"selection-mode\",\n \"reflect\": true\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteInternalTreeItemSelect\",\n \"name\": \"calciteInternalTreeItemSelect\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"TreeItemSelectDetail\",\n \"resolved\": \"TreeItemSelectDetail\",\n \"references\": {\n \"TreeItemSelectDetail\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"expanded\",\n \"methodName\": \"expandedHandler\"\n }, {\n \"propName\": \"selectionMode\",\n \"methodName\": \"getselectionMode\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"click\",\n \"method\": \"onClick\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"keydown\",\n \"method\": \"keyDownHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|