@esri/solutions-components 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +1095 -4
- package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{solution-store-f0547fe7.js → solution-store-893499a5.js} +8 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +14 -11
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
- package/dist/collection/components/solution-item/solution-item.js +2 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
- package/dist/collection/utils/solution-store.js +2 -0
- package/dist/collection/utils/solution-store.js.map +1 -1
- package/dist/collection/utils/solution-store.ts +2 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
- package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
- package/dist/esm/solution-configuration.entry.js +1095 -4
- package/dist/esm/solution-configuration.entry.js.map +1 -1
- package/dist/esm/solution-contents_3.entry.js +3 -1
- package/dist/esm/solution-contents_3.entry.js.map +1 -1
- package/dist/esm/{solution-store-c1f6173a.js → solution-store-0c58c852.js} +4 -2
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-065830b8.js → p-659edb14.js} +4 -2
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-ee9be0ef.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/p-90629c1d.entry.js +1986 -0
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-0e7a0839.entry.js → p-984cb687.entry.js} +17 -7
- package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/solution-store.ts +2 -0
- package/dist/solutions-components_commit.txt +9 -7
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-f0547fe7.js.map +0 -1
- package/dist/components/ExpandToggle.js +0 -112
- package/dist/components/ExpandToggle.js.map +0 -1
- package/dist/components/Heading.js +0 -24
- package/dist/components/Heading.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -24
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/action-bar.js +0 -278
- package/dist/components/action-bar.js.map +0 -1
- package/dist/components/action-group.js +0 -151
- package/dist/components/action-group.js.map +0 -1
- package/dist/components/action-menu.js +0 -358
- package/dist/components/action-menu.js.map +0 -1
- package/dist/components/action.js +0 -216
- package/dist/components/action.js.map +0 -1
- package/dist/components/array.js +0 -17
- package/dist/components/array.js.map +0 -1
- package/dist/components/buffer-tools.d.ts +0 -11
- package/dist/components/buffer-tools.js +0 -13
- package/dist/components/buffer-tools.js.map +0 -1
- package/dist/components/buffer-tools2.js +0 -256
- package/dist/components/buffer-tools2.js.map +0 -1
- package/dist/components/button.js +0 -265
- package/dist/components/button.js.map +0 -1
- package/dist/components/calcite-accordion-item.js +0 -246
- package/dist/components/calcite-accordion-item.js.map +0 -1
- package/dist/components/calcite-accordion.js +0 -182
- package/dist/components/calcite-accordion.js.map +0 -1
- package/dist/components/calcite-action-bar.js +0 -13
- package/dist/components/calcite-action-bar.js.map +0 -1
- package/dist/components/calcite-action-group.js +0 -13
- package/dist/components/calcite-action-group.js.map +0 -1
- package/dist/components/calcite-action-menu.js +0 -13
- package/dist/components/calcite-action-menu.js.map +0 -1
- package/dist/components/calcite-action-pad.js +0 -199
- package/dist/components/calcite-action-pad.js.map +0 -1
- package/dist/components/calcite-action.js +0 -13
- package/dist/components/calcite-action.js.map +0 -1
- package/dist/components/calcite-alert.js +0 -299
- package/dist/components/calcite-alert.js.map +0 -1
- package/dist/components/calcite-avatar.js +0 -184
- package/dist/components/calcite-avatar.js.map +0 -1
- package/dist/components/calcite-block-section.js +0 -157
- package/dist/components/calcite-block-section.js.map +0 -1
- package/dist/components/calcite-block.js +0 -277
- package/dist/components/calcite-block.js.map +0 -1
- package/dist/components/calcite-button.js +0 -13
- package/dist/components/calcite-button.js.map +0 -1
- package/dist/components/calcite-card.js +0 -189
- package/dist/components/calcite-card.js.map +0 -1
- package/dist/components/calcite-checkbox.js +0 -13
- package/dist/components/calcite-checkbox.js.map +0 -1
- package/dist/components/calcite-chip.js +0 -13
- package/dist/components/calcite-chip.js.map +0 -1
- package/dist/components/calcite-color-picker-hex-input.js +0 -13
- package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
- package/dist/components/calcite-color-picker-swatch.js +0 -13
- package/dist/components/calcite-color-picker-swatch.js.map +0 -1
- package/dist/components/calcite-color-picker.js +0 -1038
- package/dist/components/calcite-color-picker.js.map +0 -1
- package/dist/components/calcite-combobox-item-group.js +0 -77
- package/dist/components/calcite-combobox-item-group.js.map +0 -1
- package/dist/components/calcite-combobox-item.js +0 -13
- package/dist/components/calcite-combobox-item.js.map +0 -1
- package/dist/components/calcite-combobox.js +0 -13
- package/dist/components/calcite-combobox.js.map +0 -1
- package/dist/components/calcite-date-picker-day.js +0 -13
- package/dist/components/calcite-date-picker-day.js.map +0 -1
- package/dist/components/calcite-date-picker-month-header.js +0 -13
- package/dist/components/calcite-date-picker-month-header.js.map +0 -1
- package/dist/components/calcite-date-picker-month.js +0 -13
- package/dist/components/calcite-date-picker-month.js.map +0 -1
- package/dist/components/calcite-date-picker.js +0 -13
- package/dist/components/calcite-date-picker.js.map +0 -1
- package/dist/components/calcite-dropdown-group.js +0 -101
- package/dist/components/calcite-dropdown-group.js.map +0 -1
- package/dist/components/calcite-dropdown-item.js +0 -237
- package/dist/components/calcite-dropdown-item.js.map +0 -1
- package/dist/components/calcite-dropdown.js +0 -13
- package/dist/components/calcite-dropdown.js.map +0 -1
- package/dist/components/calcite-fab.js +0 -146
- package/dist/components/calcite-fab.js.map +0 -1
- package/dist/components/calcite-filter.js +0 -197
- package/dist/components/calcite-filter.js.map +0 -1
- package/dist/components/calcite-flow-item.js +0 -245
- package/dist/components/calcite-flow-item.js.map +0 -1
- package/dist/components/calcite-flow.js +0 -149
- package/dist/components/calcite-flow.js.map +0 -1
- package/dist/components/calcite-graph.js +0 -13
- package/dist/components/calcite-graph.js.map +0 -1
- package/dist/components/calcite-handle.js +0 -13
- package/dist/components/calcite-handle.js.map +0 -1
- package/dist/components/calcite-icon.js +0 -13
- package/dist/components/calcite-icon.js.map +0 -1
- package/dist/components/calcite-inline-editable.js +0 -296
- package/dist/components/calcite-inline-editable.js.map +0 -1
- package/dist/components/calcite-input-date-picker.js +0 -715
- package/dist/components/calcite-input-date-picker.js.map +0 -1
- package/dist/components/calcite-input-message.js +0 -13
- package/dist/components/calcite-input-message.js.map +0 -1
- package/dist/components/calcite-input-number.js +0 -639
- package/dist/components/calcite-input-number.js.map +0 -1
- package/dist/components/calcite-input-text.js +0 -402
- package/dist/components/calcite-input-text.js.map +0 -1
- package/dist/components/calcite-input-time-picker.js +0 -436
- package/dist/components/calcite-input-time-picker.js.map +0 -1
- package/dist/components/calcite-input.js +0 -13
- package/dist/components/calcite-input.js.map +0 -1
- package/dist/components/calcite-label.js +0 -13
- package/dist/components/calcite-label.js.map +0 -1
- package/dist/components/calcite-link.js +0 -13
- package/dist/components/calcite-link.js.map +0 -1
- package/dist/components/calcite-list-item-group.js +0 -67
- package/dist/components/calcite-list-item-group.js.map +0 -1
- package/dist/components/calcite-list-item.js +0 -13
- package/dist/components/calcite-list-item.js.map +0 -1
- package/dist/components/calcite-list.js +0 -13
- package/dist/components/calcite-list.js.map +0 -1
- package/dist/components/calcite-loader.js +0 -13
- package/dist/components/calcite-loader.js.map +0 -1
- package/dist/components/calcite-modal.js +0 -500
- package/dist/components/calcite-modal.js.map +0 -1
- package/dist/components/calcite-notice.js +0 -13
- package/dist/components/calcite-notice.js.map +0 -1
- package/dist/components/calcite-option-group.js +0 -66
- package/dist/components/calcite-option-group.js.map +0 -1
- package/dist/components/calcite-option.js +0 -13
- package/dist/components/calcite-option.js.map +0 -1
- package/dist/components/calcite-pagination.js +0 -260
- package/dist/components/calcite-pagination.js.map +0 -1
- package/dist/components/calcite-panel.js +0 -13
- package/dist/components/calcite-panel.js.map +0 -1
- package/dist/components/calcite-pick-list-group.js +0 -76
- package/dist/components/calcite-pick-list-group.js.map +0 -1
- package/dist/components/calcite-pick-list-item.js +0 -13
- package/dist/components/calcite-pick-list-item.js.map +0 -1
- package/dist/components/calcite-pick-list.js +0 -175
- package/dist/components/calcite-pick-list.js.map +0 -1
- package/dist/components/calcite-popover-manager.js +0 -96
- package/dist/components/calcite-popover-manager.js.map +0 -1
- package/dist/components/calcite-popover.js +0 -13
- package/dist/components/calcite-popover.js.map +0 -1
- package/dist/components/calcite-progress.js +0 -13
- package/dist/components/calcite-progress.js.map +0 -1
- package/dist/components/calcite-radio-button-group.js +0 -134
- package/dist/components/calcite-radio-button-group.js.map +0 -1
- package/dist/components/calcite-radio-button.js +0 -312
- package/dist/components/calcite-radio-button.js.map +0 -1
- package/dist/components/calcite-radio-group-item.js +0 -13
- package/dist/components/calcite-radio-group-item.js.map +0 -1
- package/dist/components/calcite-radio-group.js +0 -13
- package/dist/components/calcite-radio-group.js.map +0 -1
- package/dist/components/calcite-rating.js +0 -203
- package/dist/components/calcite-rating.js.map +0 -1
- package/dist/components/calcite-scrim.js +0 -13
- package/dist/components/calcite-scrim.js.map +0 -1
- package/dist/components/calcite-select.js +0 -13
- package/dist/components/calcite-select.js.map +0 -1
- package/dist/components/calcite-shell-center-row.js +0 -102
- package/dist/components/calcite-shell-center-row.js.map +0 -1
- package/dist/components/calcite-shell-panel.js +0 -13
- package/dist/components/calcite-shell-panel.js.map +0 -1
- package/dist/components/calcite-shell.js +0 -13
- package/dist/components/calcite-shell.js.map +0 -1
- package/dist/components/calcite-slider.js +0 -13
- package/dist/components/calcite-slider.js.map +0 -1
- package/dist/components/calcite-sortable-list.js +0 -204
- package/dist/components/calcite-sortable-list.js.map +0 -1
- package/dist/components/calcite-split-button.js +0 -170
- package/dist/components/calcite-split-button.js.map +0 -1
- package/dist/components/calcite-stepper-item.js +0 -273
- package/dist/components/calcite-stepper-item.js.map +0 -1
- package/dist/components/calcite-stepper.js +0 -258
- package/dist/components/calcite-stepper.js.map +0 -1
- package/dist/components/calcite-switch.js +0 -13
- package/dist/components/calcite-switch.js.map +0 -1
- package/dist/components/calcite-tab-nav.js +0 -13
- package/dist/components/calcite-tab-nav.js.map +0 -1
- package/dist/components/calcite-tab-title.js +0 -13
- package/dist/components/calcite-tab-title.js.map +0 -1
- package/dist/components/calcite-tab.js +0 -13
- package/dist/components/calcite-tab.js.map +0 -1
- package/dist/components/calcite-tabs.js +0 -13
- package/dist/components/calcite-tabs.js.map +0 -1
- package/dist/components/calcite-tile-select-group.js +0 -67
- package/dist/components/calcite-tile-select-group.js.map +0 -1
- package/dist/components/calcite-tile-select.js +0 -268
- package/dist/components/calcite-tile-select.js.map +0 -1
- package/dist/components/calcite-tile.js +0 -13
- package/dist/components/calcite-tile.js.map +0 -1
- package/dist/components/calcite-time-picker.js +0 -13
- package/dist/components/calcite-time-picker.js.map +0 -1
- package/dist/components/calcite-tip-group.js +0 -43
- package/dist/components/calcite-tip-group.js.map +0 -1
- package/dist/components/calcite-tip-manager.js +0 -225
- package/dist/components/calcite-tip-manager.js.map +0 -1
- package/dist/components/calcite-tip.js +0 -164
- package/dist/components/calcite-tip.js.map +0 -1
- package/dist/components/calcite-tooltip-manager.js +0 -59
- package/dist/components/calcite-tooltip-manager.js.map +0 -1
- package/dist/components/calcite-tooltip.js +0 -13
- package/dist/components/calcite-tooltip.js.map +0 -1
- package/dist/components/calcite-tree-item.js +0 -13
- package/dist/components/calcite-tree-item.js.map +0 -1
- package/dist/components/calcite-tree.js +0 -13
- package/dist/components/calcite-tree.js.map +0 -1
- package/dist/components/calcite-value-list-item.js +0 -13
- package/dist/components/calcite-value-list-item.js.map +0 -1
- package/dist/components/calcite-value-list.js +0 -13
- package/dist/components/calcite-value-list.js.map +0 -1
- package/dist/components/check-list.d.ts +0 -11
- package/dist/components/check-list.js +0 -13
- package/dist/components/check-list.js.map +0 -1
- package/dist/components/check-list2.js +0 -128
- package/dist/components/check-list2.js.map +0 -1
- package/dist/components/checkbox.js +0 -167
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/chip.js +0 -172
- package/dist/components/chip.js.map +0 -1
- package/dist/components/color-picker-hex-input.js +0 -365
- package/dist/components/color-picker-hex-input.js.map +0 -1
- package/dist/components/color-picker-swatch.js +0 -2036
- package/dist/components/color-picker-swatch.js.map +0 -1
- package/dist/components/combobox-item.js +0 -184
- package/dist/components/combobox-item.js.map +0 -1
- package/dist/components/combobox.js +0 -914
- package/dist/components/combobox.js.map +0 -1
- package/dist/components/conditionalSlot.js +0 -52
- package/dist/components/conditionalSlot.js.map +0 -1
- package/dist/components/config-buffer-tools.d.ts +0 -11
- package/dist/components/config-buffer-tools.js +0 -185
- package/dist/components/config-buffer-tools.js.map +0 -1
- package/dist/components/config-draw-tools.d.ts +0 -11
- package/dist/components/config-draw-tools.js +0 -124
- package/dist/components/config-draw-tools.js.map +0 -1
- package/dist/components/config-layer-picker.d.ts +0 -11
- package/dist/components/config-layer-picker.js +0 -148
- package/dist/components/config-layer-picker.js.map +0 -1
- package/dist/components/config-pdf-download.d.ts +0 -11
- package/dist/components/config-pdf-download.js +0 -157
- package/dist/components/config-pdf-download.js.map +0 -1
- package/dist/components/date-picker-day.js +0 -113
- package/dist/components/date-picker-day.js.map +0 -1
- package/dist/components/date-picker-month-header.js +0 -226
- package/dist/components/date-picker-month-header.js.map +0 -1
- package/dist/components/date-picker-month.js +0 -346
- package/dist/components/date-picker-month.js.map +0 -1
- package/dist/components/date-picker.js +0 -577
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date.js +0 -182
- package/dist/components/date.js.map +0 -1
- package/dist/components/debounce.js +0 -489
- package/dist/components/debounce.js.map +0 -1
- package/dist/components/dom.js +0 -233
- package/dist/components/dom.js.map +0 -1
- package/dist/components/dropdown.js +0 -507
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter.js +0 -765
- package/dist/components/filter.js.map +0 -1
- package/dist/components/floating-ui.js +0 -1787
- package/dist/components/floating-ui.js.map +0 -1
- package/dist/components/form.js +0 -230
- package/dist/components/form.js.map +0 -1
- package/dist/components/graph.js +0 -256
- package/dist/components/graph.js.map +0 -1
- package/dist/components/guid.js +0 -26
- package/dist/components/guid.js.map +0 -1
- package/dist/components/handle.js +0 -121
- package/dist/components/handle.js.map +0 -1
- package/dist/components/icon.js +0 -204
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index.d.ts +0 -48
- package/dist/components/index.js +0 -190
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -201
- package/dist/components/index2.js.map +0 -1
- package/dist/components/input-message.js +0 -103
- package/dist/components/input-message.js.map +0 -1
- package/dist/components/input.js +0 -742
- package/dist/components/input.js.map +0 -1
- package/dist/components/interactive.js +0 -53
- package/dist/components/interactive.js.map +0 -1
- package/dist/components/interfaces.js +0 -21
- package/dist/components/interfaces.js.map +0 -1
- package/dist/components/interfaces2.js +0 -23
- package/dist/components/interfaces2.js.map +0 -1
- package/dist/components/interfaces3.js +0 -72
- package/dist/components/interfaces3.js.map +0 -1
- package/dist/components/json-editor.d.ts +0 -11
- package/dist/components/json-editor.js +0 -13
- package/dist/components/json-editor.js.map +0 -1
- package/dist/components/json-editor2.js +0 -443
- package/dist/components/json-editor2.js.map +0 -1
- package/dist/components/key.js +0 -18
- package/dist/components/key.js.map +0 -1
- package/dist/components/label.js +0 -108
- package/dist/components/label.js.map +0 -1
- package/dist/components/label2.js +0 -133
- package/dist/components/label2.js.map +0 -1
- package/dist/components/labelFormats.js +0 -212
- package/dist/components/labelFormats.js.map +0 -1
- package/dist/components/link.js +0 -125
- package/dist/components/link.js.map +0 -1
- package/dist/components/list-item.js +0 -151
- package/dist/components/list-item.js.map +0 -1
- package/dist/components/list.js +0 -85
- package/dist/components/list.js.map +0 -1
- package/dist/components/loadModules.js +0 -30
- package/dist/components/loadModules.js.map +0 -1
- package/dist/components/loader.js +0 -118
- package/dist/components/loader.js.map +0 -1
- package/dist/components/locale.js +0 -414
- package/dist/components/locale.js.map +0 -1
- package/dist/components/locale2.js +0 -415
- package/dist/components/locale2.js.map +0 -1
- package/dist/components/map-draw-tools.d.ts +0 -11
- package/dist/components/map-draw-tools.js +0 -13
- package/dist/components/map-draw-tools.js.map +0 -1
- package/dist/components/map-draw-tools2.js +0 -230
- package/dist/components/map-draw-tools2.js.map +0 -1
- package/dist/components/map-layer-picker.d.ts +0 -11
- package/dist/components/map-layer-picker.js +0 -13
- package/dist/components/map-layer-picker.js.map +0 -1
- package/dist/components/map-layer-picker2.js +0 -190
- package/dist/components/map-layer-picker2.js.map +0 -1
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -157
- package/dist/components/map-search.js.map +0 -1
- package/dist/components/map-select-tools.d.ts +0 -11
- package/dist/components/map-select-tools.js +0 -13
- package/dist/components/map-select-tools.js.map +0 -1
- package/dist/components/map-select-tools2.js +0 -555
- package/dist/components/map-select-tools2.js.map +0 -1
- package/dist/components/mapViewUtils.js +0 -131
- package/dist/components/mapViewUtils.js.map +0 -1
- package/dist/components/math.js +0 -26
- package/dist/components/math.js.map +0 -1
- package/dist/components/nonChromiumPlatformUtils.js +0 -505
- package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
- package/dist/components/notice.js +0 -194
- package/dist/components/notice.js.map +0 -1
- package/dist/components/observers.js +0 -58
- package/dist/components/observers.js.map +0 -1
- package/dist/components/openCloseComponent.js +0 -58
- package/dist/components/openCloseComponent.js.map +0 -1
- package/dist/components/option.js +0 -111
- package/dist/components/option.js.map +0 -1
- package/dist/components/panel.js +0 -461
- package/dist/components/panel.js.map +0 -1
- package/dist/components/pdf-download.d.ts +0 -11
- package/dist/components/pdf-download.js +0 -13
- package/dist/components/pdf-download.js.map +0 -1
- package/dist/components/pdf-download2.js +0 -243
- package/dist/components/pdf-download2.js.map +0 -1
- package/dist/components/pick-list-item.js +0 -257
- package/dist/components/pick-list-item.js.map +0 -1
- package/dist/components/popover.js +0 -502
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress.js +0 -62
- package/dist/components/progress.js.map +0 -1
- package/dist/components/public-notification.d.ts +0 -11
- package/dist/components/public-notification.js +0 -784
- package/dist/components/public-notification.js.map +0 -1
- package/dist/components/publicNotificationStore.js +0 -40
- package/dist/components/publicNotificationStore.js.map +0 -1
- package/dist/components/queryUtils.js +0 -163
- package/dist/components/queryUtils.js.map +0 -1
- package/dist/components/radio-group-item.js +0 -103
- package/dist/components/radio-group-item.js.map +0 -1
- package/dist/components/radio-group.js +0 -237
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/refine-selection-tools.d.ts +0 -11
- package/dist/components/refine-selection-tools.js +0 -13
- package/dist/components/refine-selection-tools.js.map +0 -1
- package/dist/components/refine-selection-tools2.js +0 -500
- package/dist/components/refine-selection-tools2.js.map +0 -1
- package/dist/components/refine-selection.d.ts +0 -11
- package/dist/components/refine-selection.js +0 -13
- package/dist/components/refine-selection.js.map +0 -1
- package/dist/components/refine-selection2.js +0 -369
- package/dist/components/refine-selection2.js.map +0 -1
- package/dist/components/resources.js +0 -26
- package/dist/components/resources.js.map +0 -1
- package/dist/components/resources2.js +0 -23
- package/dist/components/resources2.js.map +0 -1
- package/dist/components/resources3.js +0 -40
- package/dist/components/resources3.js.map +0 -1
- package/dist/components/scrim.js +0 -85
- package/dist/components/scrim.js.map +0 -1
- package/dist/components/select.js +0 -261
- package/dist/components/select.js.map +0 -1
- package/dist/components/shared-list-render.js +0 -321
- package/dist/components/shared-list-render.js.map +0 -1
- package/dist/components/shell-panel.js +0 -283
- package/dist/components/shell-panel.js.map +0 -1
- package/dist/components/shell.js +0 -123
- package/dist/components/shell.js.map +0 -1
- package/dist/components/slider.js +0 -898
- package/dist/components/slider.js.map +0 -1
- package/dist/components/solution-configuration.d.ts +0 -11
- package/dist/components/solution-configuration.js +0 -1141
- package/dist/components/solution-configuration.js.map +0 -1
- package/dist/components/solution-contents.d.ts +0 -11
- package/dist/components/solution-contents.js +0 -13
- package/dist/components/solution-contents.js.map +0 -1
- package/dist/components/solution-contents2.js +0 -130
- package/dist/components/solution-contents2.js.map +0 -1
- package/dist/components/solution-item-details.d.ts +0 -11
- package/dist/components/solution-item-details.js +0 -13
- package/dist/components/solution-item-details.js.map +0 -1
- package/dist/components/solution-item-details2.js +0 -236
- package/dist/components/solution-item-details2.js.map +0 -1
- package/dist/components/solution-item-icon.d.ts +0 -11
- package/dist/components/solution-item-icon.js +0 -13
- package/dist/components/solution-item-icon.js.map +0 -1
- package/dist/components/solution-item-icon2.js +0 -344
- package/dist/components/solution-item-icon2.js.map +0 -1
- package/dist/components/solution-item-sharing.d.ts +0 -11
- package/dist/components/solution-item-sharing.js +0 -13
- package/dist/components/solution-item-sharing.js.map +0 -1
- package/dist/components/solution-item-sharing2.js +0 -169
- package/dist/components/solution-item-sharing2.js.map +0 -1
- package/dist/components/solution-item.d.ts +0 -11
- package/dist/components/solution-item.js +0 -13
- package/dist/components/solution-item.js.map +0 -1
- package/dist/components/solution-item2.js +0 -317
- package/dist/components/solution-item2.js.map +0 -1
- package/dist/components/solution-organization-variables.d.ts +0 -11
- package/dist/components/solution-organization-variables.js +0 -13
- package/dist/components/solution-organization-variables.js.map +0 -1
- package/dist/components/solution-organization-variables2.js +0 -134
- package/dist/components/solution-organization-variables2.js.map +0 -1
- package/dist/components/solution-resource-item.d.ts +0 -11
- package/dist/components/solution-resource-item.js +0 -13
- package/dist/components/solution-resource-item.js.map +0 -1
- package/dist/components/solution-resource-item2.js +0 -358
- package/dist/components/solution-resource-item2.js.map +0 -1
- package/dist/components/solution-spatial-ref.d.ts +0 -11
- package/dist/components/solution-spatial-ref.js +0 -13
- package/dist/components/solution-spatial-ref.js.map +0 -1
- package/dist/components/solution-spatial-ref2.js +0 -21448
- package/dist/components/solution-spatial-ref2.js.map +0 -1
- package/dist/components/solution-store.js +0 -4094
- package/dist/components/solution-store.js.map +0 -1
- package/dist/components/solution-template-data.d.ts +0 -11
- package/dist/components/solution-template-data.js +0 -13
- package/dist/components/solution-template-data.js.map +0 -1
- package/dist/components/solution-template-data2.js +0 -235
- package/dist/components/solution-template-data2.js.map +0 -1
- package/dist/components/solution-variables.d.ts +0 -11
- package/dist/components/solution-variables.js +0 -13
- package/dist/components/solution-variables.js.map +0 -1
- package/dist/components/solution-variables2.js +0 -152
- package/dist/components/solution-variables2.js.map +0 -1
- package/dist/components/sortable.esm.js +0 -3028
- package/dist/components/sortable.esm.js.map +0 -1
- package/dist/components/store-manager.d.ts +0 -11
- package/dist/components/store-manager.js +0 -85
- package/dist/components/store-manager.js.map +0 -1
- package/dist/components/switch.js +0 -141
- package/dist/components/switch.js.map +0 -1
- package/dist/components/tab-nav.js +0 -243
- package/dist/components/tab-nav.js.map +0 -1
- package/dist/components/tab-title.js +0 -278
- package/dist/components/tab-title.js.map +0 -1
- package/dist/components/tab.js +0 -156
- package/dist/components/tab.js.map +0 -1
- package/dist/components/tabs.js +0 -190
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/tile.js +0 -131
- package/dist/components/tile.js.map +0 -1
- package/dist/components/time-picker.js +0 -945
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/tooltip.js +0 -401
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/tree-item.js +0 -296
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/tree.js +0 -329
- package/dist/components/tree.js.map +0 -1
- package/dist/components/utils.js +0 -121
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js +0 -53
- package/dist/components/utils2.js.map +0 -1
- package/dist/components/value-list-item.js +0 -206
- package/dist/components/value-list-item.js.map +0 -1
- package/dist/components/value-list.js +0 -335
- package/dist/components/value-list.js.map +0 -1
- package/dist/esm/solution-store-c1f6173a.js.map +0 -1
- package/dist/solutions-components/p-065830b8.js.map +0 -1
- package/dist/solutions-components/p-0e7a0839.entry.js.map +0 -1
- package/dist/solutions-components/p-401541a5.entry.js +0 -895
- package/dist/solutions-components/p-401541a5.entry.js.map +0 -1
- package/dist/solutions-components/p-ee9be0ef.entry.js.map +0 -1
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface SolutionItemIcon extends Components.SolutionItemIcon, HTMLElement {}
|
4
|
-
export const SolutionItemIcon: {
|
5
|
-
prototype: SolutionItemIcon;
|
6
|
-
new (): SolutionItemIcon;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { S as SolutionItemIcon$1, d as defineCustomElement$1 } from './solution-item-icon2.js';
|
7
|
-
|
8
|
-
const SolutionItemIcon = SolutionItemIcon$1;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { SolutionItemIcon, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=solution-item-icon.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"solution-item-icon.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,344 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, h, getAssetPath } from '@stencil/core/internal/client';
|
7
|
-
|
8
|
-
const solutionItemIconCss = ".item-type-icon{pointer-events:none;display:block;height:1rem;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}.item-type-icon-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.item-type-icon-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.item-type-icon-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.item-type-icon-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.item-type-icon-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.item-type-icon-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.item-type-icon-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.item-type-icon-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>.item-type-icon{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>.item-type-icon{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>.item-type-icon{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>.item-type-icon{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>.item-type-icon{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>.item-type-icon{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>.item-type-icon{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>.item-type-icon{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face .item-type-icon{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:normal}.code-face .item-type-icon b,.code-face .item-type-icon strong{font-weight:400}.code-italic .item-type-icon{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:italic}.code-italic .item-type-icon b,.code-italic .item-type-icon strong{font-weight:400}.item-type-icon{margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{-webkit-margin-end:0.375rem;margin-inline-end:0.375rem}";
|
9
|
-
|
10
|
-
const SolutionItemIcon = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
11
|
-
constructor() {
|
12
|
-
super();
|
13
|
-
this.__registerHost();
|
14
|
-
this.isPortal = false;
|
15
|
-
this.type = "";
|
16
|
-
this.typeKeywords = [];
|
17
|
-
}
|
18
|
-
//--------------------------------------------------------------------------
|
19
|
-
//
|
20
|
-
// Lifecycle
|
21
|
-
//
|
22
|
-
//--------------------------------------------------------------------------
|
23
|
-
/**
|
24
|
-
* Renders the component.
|
25
|
-
*/
|
26
|
-
render() {
|
27
|
-
return h("div", { title: this.type }, h("img", { class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
28
|
-
}
|
29
|
-
//--------------------------------------------------------------------------
|
30
|
-
//
|
31
|
-
// Properties (protected)
|
32
|
-
//
|
33
|
-
//--------------------------------------------------------------------------
|
34
|
-
//--------------------------------------------------------------------------
|
35
|
-
//
|
36
|
-
// Event Listeners
|
37
|
-
//
|
38
|
-
//--------------------------------------------------------------------------
|
39
|
-
//--------------------------------------------------------------------------
|
40
|
-
//
|
41
|
-
// Events
|
42
|
-
//
|
43
|
-
//--------------------------------------------------------------------------
|
44
|
-
//--------------------------------------------------------------------------
|
45
|
-
//
|
46
|
-
// Public Methods (async)
|
47
|
-
//
|
48
|
-
//--------------------------------------------------------------------------
|
49
|
-
//--------------------------------------------------------------------------
|
50
|
-
//
|
51
|
-
// Private Methods
|
52
|
-
//
|
53
|
-
//--------------------------------------------------------------------------
|
54
|
-
/**
|
55
|
-
* This function was copied and slightly modified from the arcgis-portal-app.
|
56
|
-
*
|
57
|
-
* This will construct the path to the icon based on type and typeKeyword info.
|
58
|
-
*
|
59
|
-
* @param type The item type
|
60
|
-
* @param typeKeywords The item typeKeywords
|
61
|
-
*/
|
62
|
-
_getIconUrl(type, typeKeywords) {
|
63
|
-
const itemType = (type && type.toLowerCase()) || "", imgDir = "./item-icons/", size = "16"; //for now we only support 16x16 pixel images
|
64
|
-
let isHosted = false, isRouteLayer = false, isMarkupLayer = false, isTable = false, isSpatiotemporal = false, isRelational = false, imgName = "";
|
65
|
-
typeKeywords = typeKeywords || [];
|
66
|
-
if (itemType.indexOf("service") > 0 || itemType === "feature collection" || itemType === "kml" || itemType === "wms" || itemType === "wmts" || itemType === "wfs") {
|
67
|
-
isHosted = typeKeywords.indexOf("Hosted Service") > -1;
|
68
|
-
if (itemType === "feature service" || itemType === "feature collection" || itemType === "kml" || itemType === "wfs") {
|
69
|
-
isTable = typeKeywords.indexOf("Table") > -1;
|
70
|
-
isRouteLayer = typeKeywords.indexOf("Route Layer") > -1;
|
71
|
-
isMarkupLayer = typeKeywords.indexOf("Markup") > -1;
|
72
|
-
isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
|
73
|
-
imgName = isSpatiotemporal && isTable ? "spatiotemporaltable" : (isTable ? "table" : (isRouteLayer ? "routelayer" : (isMarkupLayer ? "markup" : (isSpatiotemporal ? "spatiotemporal" : (isHosted ? "featureshosted" : "features")))));
|
74
|
-
}
|
75
|
-
else if (itemType === "map service" || itemType === "wms" || itemType === "wmts") {
|
76
|
-
isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
|
77
|
-
isRelational = typeKeywords.indexOf("Relational") !== -1;
|
78
|
-
if (isSpatiotemporal || isRelational) {
|
79
|
-
imgName = "mapimages";
|
80
|
-
}
|
81
|
-
else {
|
82
|
-
imgName = (isHosted || typeKeywords.indexOf("Tiled") > -1 || itemType === "wmts") ? "maptiles" : "mapimages";
|
83
|
-
}
|
84
|
-
}
|
85
|
-
else if (itemType === "scene service") {
|
86
|
-
if (typeKeywords.indexOf("Line") > -1) {
|
87
|
-
imgName = "sceneweblayerline";
|
88
|
-
}
|
89
|
-
else if (typeKeywords.indexOf("3DObject") > -1) {
|
90
|
-
imgName = "sceneweblayermultipatch";
|
91
|
-
}
|
92
|
-
else if (typeKeywords.indexOf("Point") > -1) {
|
93
|
-
imgName = "sceneweblayerpoint";
|
94
|
-
}
|
95
|
-
else if (typeKeywords.indexOf("IntegratedMesh") > -1) {
|
96
|
-
imgName = "sceneweblayermesh";
|
97
|
-
}
|
98
|
-
else if (typeKeywords.indexOf("PointCloud") > -1) {
|
99
|
-
imgName = "sceneweblayerpointcloud";
|
100
|
-
}
|
101
|
-
else if (typeKeywords.indexOf("Polygon") > -1) {
|
102
|
-
imgName = "sceneweblayerpolygon";
|
103
|
-
}
|
104
|
-
else if (typeKeywords.indexOf("Building") > -1) {
|
105
|
-
imgName = "sceneweblayerbuilding";
|
106
|
-
}
|
107
|
-
else {
|
108
|
-
imgName = "sceneweblayer";
|
109
|
-
}
|
110
|
-
}
|
111
|
-
else if (itemType === "image service") {
|
112
|
-
imgName = typeKeywords.indexOf("Elevation 3D Layer") > -1 ? "elevationlayer" : (typeKeywords.indexOf("Tiled Imagery") > -1 ? "tiledimagerylayer" : "imagery");
|
113
|
-
}
|
114
|
-
else if (itemType === "stream service") {
|
115
|
-
imgName = "streamlayer";
|
116
|
-
}
|
117
|
-
else if (itemType === "vector tile service") {
|
118
|
-
imgName = "vectortile";
|
119
|
-
}
|
120
|
-
else if (itemType === "datastore catalog service") {
|
121
|
-
imgName = "datastorecollection";
|
122
|
-
}
|
123
|
-
else if (itemType === "geocoding service") {
|
124
|
-
imgName = "geocodeservice";
|
125
|
-
}
|
126
|
-
else if (itemType === "geoprocessing service") {
|
127
|
-
imgName = (typeKeywords.indexOf("Web Tool") > -1 && (this.isPortal)) ? "tool" : "layers";
|
128
|
-
}
|
129
|
-
else {
|
130
|
-
imgName = "layers";
|
131
|
-
}
|
132
|
-
}
|
133
|
-
else if (itemType === "web map" || itemType === "cityengine web scene") {
|
134
|
-
imgName = "maps";
|
135
|
-
}
|
136
|
-
else if (itemType === "web scene") {
|
137
|
-
imgName = typeKeywords.indexOf("ViewingMode-Local") > -1 ? "webscenelocal" : "websceneglobal";
|
138
|
-
}
|
139
|
-
else if (itemType === "web mapping application" || itemType === "mobile application" || itemType === "application" ||
|
140
|
-
itemType === "operation view" || itemType === "desktop application") {
|
141
|
-
imgName = "apps";
|
142
|
-
}
|
143
|
-
else if (itemType === "map document" || itemType === "map package" || itemType === "published map" || itemType === "scene document" ||
|
144
|
-
itemType === "globe document" || itemType === "basemap package" || itemType === "mobile basemap package" || itemType === "mobile map package" ||
|
145
|
-
itemType === "project package" || itemType === "project template" || itemType === "pro map" || itemType === "layout" ||
|
146
|
-
(itemType === "layer" && typeKeywords.indexOf("ArcGIS Pro") > -1) || (itemType === "explorer map" && typeKeywords.indexOf("Explorer Document"))) {
|
147
|
-
imgName = "mapsgray";
|
148
|
-
}
|
149
|
-
else if (itemType === "service definition" || itemType === "csv" || itemType === "shapefile" || itemType === "cad drawing" || itemType === "geojson" || itemType === "360 vr experience" || itemType === "netcdf" || itemType === "administrative report") {
|
150
|
-
imgName = "datafiles";
|
151
|
-
}
|
152
|
-
else if (itemType === "explorer add in" || itemType === "desktop add in" || itemType === "windows viewer add in" || itemType === "windows viewer configuration") {
|
153
|
-
imgName = "appsgray";
|
154
|
-
}
|
155
|
-
else if (itemType === "arcgis pro add in" || itemType === "arcgis pro configuration") {
|
156
|
-
imgName = "addindesktop";
|
157
|
-
}
|
158
|
-
else if (itemType === "rule package" || itemType === "file geodatabase" || itemType === "sqlite geodatabase" || itemType === "csv collection" || itemType === "kml collection" ||
|
159
|
-
itemType === "windows mobile package" || itemType === "map template" || itemType === "desktop application template" || itemType === "gml" ||
|
160
|
-
itemType === "arcpad package" || itemType === "code sample" || itemType === "form" || itemType === "document link" ||
|
161
|
-
itemType === "operations dashboard add in" || itemType === "rules package" || itemType === "image" || itemType === "workflow manager package" ||
|
162
|
-
(itemType === "explorer map" && typeKeywords.indexOf("Explorer Mapping Application") > -1 || typeKeywords.indexOf("Document") > -1)) {
|
163
|
-
imgName = "datafilesgray";
|
164
|
-
}
|
165
|
-
else if (itemType === "network analysis service" || itemType === "geoprocessing service" ||
|
166
|
-
itemType === "geodata service" || itemType === "geometry service" || itemType === "geoprocessing package" ||
|
167
|
-
itemType === "locator package" || itemType === "geoprocessing sample" || itemType === "workflow manager service") {
|
168
|
-
imgName = "toolsgray";
|
169
|
-
}
|
170
|
-
else if (itemType === "layer" || itemType === "layer package" || itemType === "explorer layer") {
|
171
|
-
imgName = "layersgray";
|
172
|
-
}
|
173
|
-
else if (itemType === "scene package") {
|
174
|
-
imgName = "scenepackage";
|
175
|
-
}
|
176
|
-
else if (itemType === "mobile scene package") {
|
177
|
-
imgName = "mobilescenepackage";
|
178
|
-
}
|
179
|
-
else if (itemType === "tile package" || itemType === "compact tile package") {
|
180
|
-
imgName = "tilepackage";
|
181
|
-
}
|
182
|
-
else if (itemType === "task file") {
|
183
|
-
imgName = "taskfile";
|
184
|
-
}
|
185
|
-
else if (itemType === "report template") {
|
186
|
-
imgName = "report-template";
|
187
|
-
}
|
188
|
-
else if (itemType === "statistical data collection") {
|
189
|
-
imgName = "statisticaldatacollection";
|
190
|
-
}
|
191
|
-
else if (itemType === "insights workbook") {
|
192
|
-
imgName = "workbook";
|
193
|
-
}
|
194
|
-
else if (itemType === "insights model") {
|
195
|
-
imgName = "insightsmodel";
|
196
|
-
}
|
197
|
-
else if (itemType === "insights page") {
|
198
|
-
imgName = "insightspage";
|
199
|
-
}
|
200
|
-
else if (itemType === "insights theme") {
|
201
|
-
imgName = "insightstheme";
|
202
|
-
}
|
203
|
-
else if (itemType === "hub initiative") {
|
204
|
-
imgName = "hubinitiative";
|
205
|
-
}
|
206
|
-
else if (itemType === "hub page") {
|
207
|
-
imgName = "hubpage";
|
208
|
-
}
|
209
|
-
else if (itemType === "hub site application") {
|
210
|
-
imgName = "hubsite";
|
211
|
-
}
|
212
|
-
else if (itemType === "hub event") {
|
213
|
-
imgName = "hubevent";
|
214
|
-
}
|
215
|
-
else if (itemType === "relational database connection") {
|
216
|
-
imgName = "relationaldatabaseconnection";
|
217
|
-
}
|
218
|
-
else if (itemType === "big data file share") {
|
219
|
-
imgName = "datastorecollection";
|
220
|
-
}
|
221
|
-
else if (itemType === "image collection") {
|
222
|
-
imgName = "imagecollection";
|
223
|
-
}
|
224
|
-
else if (itemType === "desktop style") {
|
225
|
-
imgName = "desktopstyle";
|
226
|
-
}
|
227
|
-
else if (itemType === "style") {
|
228
|
-
imgName = "style";
|
229
|
-
}
|
230
|
-
else if (itemType === "dashboard") {
|
231
|
-
imgName = "dashboard";
|
232
|
-
}
|
233
|
-
else if (itemType === "raster function template") {
|
234
|
-
imgName = "rasterprocessingtemplate";
|
235
|
-
}
|
236
|
-
else if (itemType === "vector tile package") {
|
237
|
-
imgName = "vectortilepackage";
|
238
|
-
}
|
239
|
-
else if (itemType === "ortho mapping project") {
|
240
|
-
imgName = "orthomappingproject";
|
241
|
-
}
|
242
|
-
else if (itemType === "ortho mapping template") {
|
243
|
-
imgName = "orthomappingtemplate";
|
244
|
-
}
|
245
|
-
else if (itemType === "solution") {
|
246
|
-
imgName = "solutions";
|
247
|
-
}
|
248
|
-
else if (itemType === "geopackage") {
|
249
|
-
imgName = "geopackage";
|
250
|
-
}
|
251
|
-
else if (itemType === "deep learning package") {
|
252
|
-
imgName = "deeplearningpackage";
|
253
|
-
}
|
254
|
-
else if (itemType === "real time analytic") {
|
255
|
-
imgName = "realtimeanalytics";
|
256
|
-
}
|
257
|
-
else if (itemType === "big data analytic") {
|
258
|
-
imgName = "bigdataanalytics";
|
259
|
-
}
|
260
|
-
else if (itemType === "feed") {
|
261
|
-
imgName = "feed";
|
262
|
-
}
|
263
|
-
else if (itemType === "excalibur imagery project") {
|
264
|
-
imgName = "excaliburimageryproject";
|
265
|
-
}
|
266
|
-
else if (itemType === "notebook") {
|
267
|
-
imgName = "notebook";
|
268
|
-
}
|
269
|
-
else if (itemType === "storymap") {
|
270
|
-
imgName = "storymap";
|
271
|
-
}
|
272
|
-
else if (itemType === "survey123 add in") {
|
273
|
-
imgName = "survey123addin";
|
274
|
-
}
|
275
|
-
else if (itemType === "mission") {
|
276
|
-
imgName = "mission";
|
277
|
-
}
|
278
|
-
else if (itemType === "mission report") {
|
279
|
-
imgName = "missionreport";
|
280
|
-
}
|
281
|
-
else if (itemType === "quickcapture project") {
|
282
|
-
imgName = "quickcaptureproject";
|
283
|
-
}
|
284
|
-
else if (itemType === "pro report") {
|
285
|
-
imgName = "proreport";
|
286
|
-
}
|
287
|
-
else if (itemType === "urban model") {
|
288
|
-
imgName = "urbanmodel";
|
289
|
-
}
|
290
|
-
else if (itemType === "web experience") {
|
291
|
-
imgName = "experiencebuilder";
|
292
|
-
}
|
293
|
-
else if (itemType === "web experience template") {
|
294
|
-
imgName = "webexperiencetemplate";
|
295
|
-
}
|
296
|
-
else if (itemType === "workflow") {
|
297
|
-
imgName = "workflow";
|
298
|
-
}
|
299
|
-
else if (itemType === "kernel gateway connection") {
|
300
|
-
imgName = "kernelgatewayconnection";
|
301
|
-
}
|
302
|
-
else if (itemType === "insights script") {
|
303
|
-
imgName = "insightsscript";
|
304
|
-
}
|
305
|
-
else if (itemType === "hub initiative template") {
|
306
|
-
imgName = "hubinitiativetemplate";
|
307
|
-
}
|
308
|
-
else if (itemType === "storymap theme") {
|
309
|
-
imgName = "storymaptheme";
|
310
|
-
}
|
311
|
-
else if (itemType === "group") {
|
312
|
-
imgName = "group";
|
313
|
-
}
|
314
|
-
else {
|
315
|
-
imgName = "maps";
|
316
|
-
}
|
317
|
-
return imgName ? getAssetPath(imgDir + imgName + size + ".png") : null;
|
318
|
-
}
|
319
|
-
static get assetsDirs() { return ["item-icons"]; }
|
320
|
-
get el() { return this; }
|
321
|
-
static get style() { return solutionItemIconCss; }
|
322
|
-
}, [0, "solution-item-icon", {
|
323
|
-
"isPortal": [4, "is-portal"],
|
324
|
-
"type": [1],
|
325
|
-
"typeKeywords": [16]
|
326
|
-
}]);
|
327
|
-
function defineCustomElement() {
|
328
|
-
if (typeof customElements === "undefined") {
|
329
|
-
return;
|
330
|
-
}
|
331
|
-
const components = ["solution-item-icon"];
|
332
|
-
components.forEach(tagName => { switch (tagName) {
|
333
|
-
case "solution-item-icon":
|
334
|
-
if (!customElements.get(tagName)) {
|
335
|
-
customElements.define(tagName, SolutionItemIcon);
|
336
|
-
}
|
337
|
-
break;
|
338
|
-
} });
|
339
|
-
}
|
340
|
-
defineCustomElement();
|
341
|
-
|
342
|
-
export { SolutionItemIcon as S, defineCustomElement as d };
|
343
|
-
|
344
|
-
//# sourceMappingURL=solution-item-icon2.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"solution-item-icon2.js","mappings":";;;;;;;AAAA,MAAM,mBAAmB,GAAG,goGAAgoG;;MCuB/oG,gBAAgB;;;;oBAmBR,KAAK;gBAKT,EAAE;wBAKgB,EAAE;;;;;;;;;;EAWnC,MAAM;IACJ,OAAO,WAAK,KAAK,EAAE,IAAI,CAAC,IAAI,IAC1B,WAAK,KAAK,EAAC,sCAAsC,EAC/C,MAAM,EAAC,IAAI,EACX,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,EACnD,KAAK,EAAC,IAAI,GACV,CACE,CAAC;GACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCS,WAAW,CACnB,IAAY,EACZ,YAAsB;IAEtB,MACE,QAAQ,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,EAC7C,MAAM,GAAG,eAAe,EACxB,IAAI,GAAG,IAAI,CAAC;IACd,IACE,QAAQ,GAAG,KAAK,EAChB,YAAY,GAAG,KAAK,EACpB,aAAa,GAAG,KAAK,EACrB,OAAO,GAAG,KAAK,EACf,gBAAgB,GAAG,KAAK,EACxB,YAAY,GAAG,KAAK,EACpB,OAAO,GAAG,EAAE,CAAC;IACf,YAAY,GAAG,YAAY,IAAI,EAAE,CAAC;IAElC,IAAI,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,QAAQ,KAAK,oBAAoB,IAAI,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,KAAK,IAAI,QAAQ,KAAK,MAAM,IAAI,QAAQ,KAAK,KAAK,EAAE;MACjK,QAAQ,GAAG,YAAY,CAAC,OAAO,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAA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AI,QAAQ,KAAK,2BAA2B,EAAE;MACnD,OAAO,GAAG,yBAAyB,CAAC;KACrC;SAAM,IAAI,QAAQ,KAAK,iBAAiB,EAAE;MACzC,OAAO,GAAG,gBAAgB,CAAC;KAC5B;SAAM,IAAI,QAAQ,KAAK,yBAAyB,EAAE;MACjD,OAAO,GAAG,uBAAuB,CAAC;KACnC;SAAM,IAAI,QAAQ,KAAK,gBAAgB,EAAE;MACxC,OAAO,GAAG,eAAe,CAAC;KAC3B;SAAM,IAAI,QAAQ,KAAK,OAAO,EAAE;MAC/B,OAAO,GAAG,OAAO,CAAA;KAClB;SAAM;MACL,OAAO,GAAG,MAAM,CAAC;KAClB;IACD,OAAO,OAAO,GAAG,YAAY,CAAC,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC;GACxE;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/solution-item-icon/solution-item-icon.scss?tag=solution-item-icon","./src/components/solution-item-icon/solution-item-icon.tsx"],"sourcesContent":["/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n.item-type-icon {\r\n @apply block\r\n h-4\r\n pointer-events-none;\r\n \r\n margin-top: .15em !important;\r\n min-width: 16px;\r\n fill: currentColor;\r\n transform: rotate(\r\n 360deg\r\n );\r\n}\r\n\r\n.item-type-icon-margin {\r\n @apply m-inline-end-1.5;\r\n}\r\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { Component, Element, getAssetPath, h, Prop, VNode } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'solution-item-icon',\r\n styleUrl: 'solution-item-icon.scss',\r\n assetsDirs: ['item-icons']\r\n})\r\nexport class SolutionItemIcon {\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Host element access\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n @Element() el: HTMLSolutionItemIconElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Indicate if this is portal\r\n */\r\n @Prop() isPortal = false;\r\n\r\n /**\r\n * The type for the item\r\n */\r\n @Prop() type = \"\";\r\n\r\n /**\r\n * The typeKeywords for the item\r\n */\r\n @Prop() typeKeywords: string[] = [];\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Lifecycle\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Renders the component.\r\n */\r\n render(): VNode {\r\n return <div title={this.type}>\r\n <img class=\"item-type-icon item-type-icon-margin\"\r\n height=\"16\"\r\n src={this._getIconUrl(this.type, this.typeKeywords)}\r\n width=\"16\"\r\n />\r\n </div>;\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Event Listeners\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Events\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Public Methods (async)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Private Methods\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * This function was copied and slightly modified from the arcgis-portal-app.\r\n *\r\n * This will construct the path to the icon based on type and typeKeyword info.\r\n *\r\n * @param type The item type\r\n * @param typeKeywords The item typeKeywords\r\n */\r\n protected _getIconUrl(\r\n type: string,\r\n typeKeywords: string[]\r\n ): string {\r\n const\r\n itemType = (type && type.toLowerCase()) || \"\",\r\n imgDir = \"./item-icons/\",\r\n size = \"16\"; //for now we only support 16x16 pixel images\r\n let\r\n isHosted = false,\r\n isRouteLayer = false,\r\n isMarkupLayer = false,\r\n isTable = false,\r\n isSpatiotemporal = false,\r\n isRelational = false,\r\n imgName = \"\";\r\n typeKeywords = typeKeywords || [];\r\n\r\n if (itemType.indexOf(\"service\") > 0 || itemType === \"feature collection\" || itemType === \"kml\" || itemType === \"wms\" || itemType === \"wmts\" || itemType === \"wfs\") {\r\n isHosted = typeKeywords.indexOf(\"Hosted Service\") > -1;\r\n if (itemType === \"feature service\" || itemType === \"feature collection\" || itemType === \"kml\" || itemType === \"wfs\") {\r\n isTable = typeKeywords.indexOf(\"Table\") > -1;\r\n isRouteLayer = typeKeywords.indexOf(\"Route Layer\") > -1;\r\n isMarkupLayer = typeKeywords.indexOf(\"Markup\") > -1;\r\n isSpatiotemporal = typeKeywords.indexOf(\"Spatiotemporal\") !== -1;\r\n imgName = isSpatiotemporal && isTable ? \"spatiotemporaltable\" : (isTable ? \"table\" : (isRouteLayer ? \"routelayer\" : (isMarkupLayer ? \"markup\" : (isSpatiotemporal ? \"spatiotemporal\" : (isHosted ? \"featureshosted\" : \"features\")))));\r\n } else if (itemType === \"map service\" || itemType === \"wms\" || itemType === \"wmts\") {\r\n isSpatiotemporal = typeKeywords.indexOf(\"Spatiotemporal\") !== -1;\r\n isRelational = typeKeywords.indexOf(\"Relational\") !== -1;\r\n if (isSpatiotemporal || isRelational) {\r\n imgName = \"mapimages\";\r\n } else {\r\n imgName = (isHosted || typeKeywords.indexOf(\"Tiled\") > -1 || itemType === \"wmts\") ? \"maptiles\" : \"mapimages\";\r\n }\r\n } else if (itemType === \"scene service\") {\r\n if (typeKeywords.indexOf(\"Line\") > -1) {\r\n imgName = \"sceneweblayerline\";\r\n } else if (typeKeywords.indexOf(\"3DObject\") > -1) {\r\n imgName = \"sceneweblayermultipatch\";\r\n } else if (typeKeywords.indexOf(\"Point\") > -1) {\r\n imgName = \"sceneweblayerpoint\";\r\n } else if (typeKeywords.indexOf(\"IntegratedMesh\") > -1) {\r\n imgName = \"sceneweblayermesh\";\r\n } else if (typeKeywords.indexOf(\"PointCloud\") > -1) {\r\n imgName = \"sceneweblayerpointcloud\";\r\n } else if (typeKeywords.indexOf(\"Polygon\") > -1) {\r\n imgName = \"sceneweblayerpolygon\";\r\n } else if (typeKeywords.indexOf(\"Building\") > -1) {\r\n imgName = \"sceneweblayerbuilding\";\r\n } else {\r\n imgName = \"sceneweblayer\";\r\n }\r\n } else if (itemType === \"image service\") {\r\n imgName = typeKeywords.indexOf(\"Elevation 3D Layer\") > -1 ? \"elevationlayer\" : (typeKeywords.indexOf(\"Tiled Imagery\") > -1 ? \"tiledimagerylayer\" : \"imagery\");\r\n } else if (itemType === \"stream service\") {\r\n imgName = \"streamlayer\";\r\n } else if (itemType === \"vector tile service\") {\r\n imgName = \"vectortile\";\r\n } else if (itemType === \"datastore catalog service\") {\r\n imgName = \"datastorecollection\";\r\n } else if (itemType === \"geocoding service\") {\r\n imgName = \"geocodeservice\";\r\n } else if (itemType === \"geoprocessing service\") {\r\n imgName = (typeKeywords.indexOf(\"Web Tool\") > -1 && (this.isPortal)) ? \"tool\" : \"layers\";\r\n } else {\r\n imgName = \"layers\";\r\n }\r\n } else if (itemType === \"web map\" || itemType === \"cityengine web scene\") {\r\n imgName = \"maps\";\r\n } else if (itemType === \"web scene\") {\r\n imgName = typeKeywords.indexOf(\"ViewingMode-Local\") > -1 ? \"webscenelocal\" : \"websceneglobal\";\r\n } else if (itemType === \"web mapping application\" || itemType === \"mobile application\" || itemType === \"application\" ||\r\n itemType === \"operation view\" || itemType === \"desktop application\") {\r\n imgName = \"apps\";\r\n } else if (itemType === \"map document\" || itemType === \"map package\" || itemType === \"published map\" || itemType === \"scene document\" ||\r\n itemType === \"globe document\" || itemType === \"basemap package\" || itemType === \"mobile basemap package\" || itemType === \"mobile map package\" ||\r\n itemType === \"project package\" || itemType === \"project template\" || itemType === \"pro map\" || itemType === \"layout\" ||\r\n (itemType === \"layer\" && typeKeywords.indexOf(\"ArcGIS Pro\") > -1) || (itemType === \"explorer map\" && typeKeywords.indexOf(\"Explorer Document\"))) {\r\n imgName = \"mapsgray\";\r\n } else if (itemType === \"service definition\" || itemType === \"csv\" || itemType === \"shapefile\" || itemType === \"cad drawing\" || itemType === \"geojson\" || itemType === \"360 vr experience\" || itemType === \"netcdf\" || itemType === \"administrative report\") {\r\n imgName = \"datafiles\";\r\n } else if (itemType === \"explorer add in\" || itemType === \"desktop add in\" || itemType === \"windows viewer add in\" || itemType === \"windows viewer configuration\") {\r\n imgName = \"appsgray\";\r\n } else if (itemType === \"arcgis pro add in\" || itemType === \"arcgis pro configuration\") {\r\n imgName = \"addindesktop\";\r\n } else if (itemType === \"rule package\" || itemType === \"file geodatabase\" || itemType === \"sqlite geodatabase\" || itemType === \"csv collection\" || itemType === \"kml collection\" ||\r\n itemType === \"windows mobile package\" || itemType === \"map template\" || itemType === \"desktop application template\" || itemType === \"gml\" ||\r\n itemType === \"arcpad package\" || itemType === \"code sample\" || itemType === \"form\" || itemType === \"document link\" ||\r\n itemType === \"operations dashboard add in\" || itemType === \"rules package\" || itemType === \"image\" || itemType === \"workflow manager package\" ||\r\n (itemType === \"explorer map\" && typeKeywords.indexOf(\"Explorer Mapping Application\") > -1 || typeKeywords.indexOf(\"Document\") > -1)) {\r\n imgName = \"datafilesgray\";\r\n } else if (itemType === \"network analysis service\" || itemType === \"geoprocessing service\" ||\r\n itemType === \"geodata service\" || itemType === \"geometry service\" || itemType === \"geoprocessing package\" ||\r\n itemType === \"locator package\" || itemType === \"geoprocessing sample\" || itemType === \"workflow manager service\") {\r\n imgName = \"toolsgray\";\r\n } else if (itemType === \"layer\" || itemType === \"layer package\" || itemType === \"explorer layer\") {\r\n imgName = \"layersgray\";\r\n } else if (itemType === \"scene package\") {\r\n imgName = \"scenepackage\";\r\n } else if (itemType === \"mobile scene package\") {\r\n imgName = \"mobilescenepackage\";\r\n } else if (itemType === \"tile package\" || itemType === \"compact tile package\") {\r\n imgName = \"tilepackage\";\r\n } else if (itemType === \"task file\") {\r\n imgName = \"taskfile\";\r\n } else if (itemType === \"report template\") {\r\n imgName = \"report-template\";\r\n } else if (itemType === \"statistical data collection\") {\r\n imgName = \"statisticaldatacollection\";\r\n } else if (itemType === \"insights workbook\") {\r\n imgName = \"workbook\";\r\n } else if (itemType === \"insights model\") {\r\n imgName = \"insightsmodel\";\r\n } else if (itemType === \"insights page\") {\r\n imgName = \"insightspage\";\r\n } else if (itemType === \"insights theme\") {\r\n imgName = \"insightstheme\";\r\n } else if (itemType === \"hub initiative\") {\r\n imgName = \"hubinitiative\";\r\n } else if (itemType === \"hub page\") {\r\n imgName = \"hubpage\";\r\n } else if (itemType === \"hub site application\") {\r\n imgName = \"hubsite\";\r\n } else if (itemType === \"hub event\") {\r\n imgName = \"hubevent\";\r\n } else if (itemType === \"relational database connection\") {\r\n imgName = \"relationaldatabaseconnection\";\r\n } else if (itemType === \"big data file share\") {\r\n imgName = \"datastorecollection\";\r\n } else if (itemType === \"image collection\") {\r\n imgName = \"imagecollection\";\r\n } else if (itemType === \"desktop style\") {\r\n imgName = \"desktopstyle\";\r\n } else if (itemType === \"style\") {\r\n imgName = \"style\";\r\n } else if (itemType === \"dashboard\") {\r\n imgName = \"dashboard\";\r\n } else if (itemType === \"raster function template\") {\r\n imgName = \"rasterprocessingtemplate\";\r\n } else if (itemType === \"vector tile package\") {\r\n imgName = \"vectortilepackage\";\r\n } else if (itemType === \"ortho mapping project\") {\r\n imgName = \"orthomappingproject\";\r\n } else if (itemType === \"ortho mapping template\") {\r\n imgName = \"orthomappingtemplate\";\r\n } else if (itemType === \"solution\") {\r\n imgName = \"solutions\";\r\n } else if (itemType === \"geopackage\") {\r\n imgName = \"geopackage\";\r\n } else if (itemType === \"deep learning package\") {\r\n imgName = \"deeplearningpackage\";\r\n } else if (itemType === \"real time analytic\") {\r\n imgName = \"realtimeanalytics\";\r\n } else if (itemType === \"big data analytic\") {\r\n imgName = \"bigdataanalytics\";\r\n } else if (itemType === \"feed\") {\r\n imgName = \"feed\";\r\n } else if (itemType === \"excalibur imagery project\") {\r\n imgName = \"excaliburimageryproject\";\r\n } else if (itemType === \"notebook\") {\r\n imgName = \"notebook\";\r\n } else if (itemType === \"storymap\") {\r\n imgName = \"storymap\";\r\n } else if (itemType === \"survey123 add in\") {\r\n imgName = \"survey123addin\";\r\n } else if (itemType === \"mission\") {\r\n imgName = \"mission\";\r\n } else if (itemType === \"mission report\") {\r\n imgName = \"missionreport\";\r\n } else if (itemType === \"quickcapture project\") {\r\n imgName = \"quickcaptureproject\";\r\n } else if (itemType === \"pro report\") {\r\n imgName = \"proreport\";\r\n } else if (itemType === \"urban model\") {\r\n imgName = \"urbanmodel\";\r\n } else if (itemType === \"web experience\") {\r\n imgName = \"experiencebuilder\";\r\n } else if (itemType === \"web experience template\") {\r\n imgName = \"webexperiencetemplate\";\r\n } else if (itemType === \"workflow\") {\r\n imgName = \"workflow\";\r\n } else if (itemType === \"kernel gateway connection\") {\r\n imgName = \"kernelgatewayconnection\";\r\n } else if (itemType === \"insights script\") {\r\n imgName = \"insightsscript\";\r\n } else if (itemType === \"hub initiative template\") {\r\n imgName = \"hubinitiativetemplate\";\r\n } else if (itemType === \"storymap theme\") {\r\n imgName = \"storymaptheme\";\r\n } else if (itemType === \"group\") {\r\n imgName = \"group\"\r\n } else {\r\n imgName = \"maps\";\r\n }\r\n return imgName ? getAssetPath(imgDir + imgName + size + \".png\") : null;\r\n }\r\n}\r\n"],"version":3}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface SolutionItemSharing extends Components.SolutionItemSharing, HTMLElement {}
|
4
|
-
export const SolutionItemSharing: {
|
5
|
-
prototype: SolutionItemSharing;
|
6
|
-
new (): SolutionItemSharing;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { S as SolutionItemSharing$1, d as defineCustomElement$1 } from './solution-item-sharing2.js';
|
7
|
-
|
8
|
-
const SolutionItemSharing = SolutionItemSharing$1;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { SolutionItemSharing, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=solution-item-sharing.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"solution-item-sharing.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,169 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
7
|
-
import { s as state } from './solution-store.js';
|
8
|
-
import { g as getLocaleComponentStrings } from './locale.js';
|
9
|
-
import { d as defineCustomElement$3 } from './label.js';
|
10
|
-
import { d as defineCustomElement$2 } from './switch.js';
|
11
|
-
import { d as defineCustomElement$1 } from './solution-item-icon2.js';
|
12
|
-
|
13
|
-
const solutionItemSharingCss = ":host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
|
14
|
-
|
15
|
-
const SolutionItemSharing = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
16
|
-
constructor() {
|
17
|
-
super();
|
18
|
-
this.__registerHost();
|
19
|
-
this.__attachShadow();
|
20
|
-
this.groupId = "";
|
21
|
-
this._translations = undefined;
|
22
|
-
this.sharing = [];
|
23
|
-
}
|
24
|
-
itemIdWatchHandler() {
|
25
|
-
const itemEdit = state.getItemInfo(this.groupId);
|
26
|
-
this.sharing = itemEdit.groupDetails;
|
27
|
-
}
|
28
|
-
//--------------------------------------------------------------------------
|
29
|
-
//
|
30
|
-
// Lifecycle
|
31
|
-
//
|
32
|
-
//--------------------------------------------------------------------------
|
33
|
-
/**
|
34
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
35
|
-
*/
|
36
|
-
async componentWillLoad() {
|
37
|
-
return this._getTranslations();
|
38
|
-
}
|
39
|
-
/**
|
40
|
-
* Renders the component.
|
41
|
-
*/
|
42
|
-
render() {
|
43
|
-
return (h(Host, null, h("div", { class: "container-border" }, h("calcite-label", null, this._translations.groupInfo), this._renderItems(this.sharing))));
|
44
|
-
}
|
45
|
-
//--------------------------------------------------------------------------
|
46
|
-
//
|
47
|
-
// Event Listeners
|
48
|
-
//
|
49
|
-
//--------------------------------------------------------------------------
|
50
|
-
//--------------------------------------------------------------------------
|
51
|
-
//
|
52
|
-
// Events
|
53
|
-
//
|
54
|
-
//--------------------------------------------------------------------------
|
55
|
-
//--------------------------------------------------------------------------
|
56
|
-
//
|
57
|
-
// Public Methods (async)
|
58
|
-
//
|
59
|
-
//--------------------------------------------------------------------------
|
60
|
-
async getShareInfo() {
|
61
|
-
return this.sharing;
|
62
|
-
}
|
63
|
-
//--------------------------------------------------------------------------
|
64
|
-
//
|
65
|
-
// Private Methods
|
66
|
-
//
|
67
|
-
//--------------------------------------------------------------------------
|
68
|
-
/**
|
69
|
-
* Render share options based on the list of share details
|
70
|
-
*
|
71
|
-
* @param objs list of IItemShare objects that are used to expose and store share info for the solutions items
|
72
|
-
*/
|
73
|
-
_renderItems(objs) {
|
74
|
-
return objs && objs.length > 0
|
75
|
-
? objs.map(item => {
|
76
|
-
return (h("calcite-label", { layout: "inline" }, h("calcite-switch", { id: item.id, name: "setting", onCalciteSwitchChange: (event) => this._updateItem(event), scale: "m", switched: item.shareItem, value: "enabled" }), h("solution-item-icon", { type: item.type, typeKeywords: item.typeKeywords }), h("span", { class: "icon-text", title: item.title }, item.title)));
|
77
|
-
})
|
78
|
-
: null;
|
79
|
-
}
|
80
|
-
/**
|
81
|
-
* Update the items share prop based on the switch state
|
82
|
-
*
|
83
|
-
* @param event onCalciteSwitchChange event
|
84
|
-
*/
|
85
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
86
|
-
_updateItem(event) {
|
87
|
-
const id = event.target.id;
|
88
|
-
this.sharing = this.sharing.map((itemShare) => {
|
89
|
-
if (itemShare.id === id) {
|
90
|
-
// update the item
|
91
|
-
itemShare.shareItem = event.detail.switched;
|
92
|
-
// update the item in the store
|
93
|
-
const itemEdit = state.getItemInfo(id);
|
94
|
-
if (itemShare.shareItem) {
|
95
|
-
// Add the group to the item if it's not already there
|
96
|
-
if (!itemEdit.groups) {
|
97
|
-
itemEdit.groups = [this.groupId];
|
98
|
-
}
|
99
|
-
else if (itemEdit.groups.indexOf(this.groupId) < 0) {
|
100
|
-
itemEdit.groups.push(this.groupId);
|
101
|
-
}
|
102
|
-
}
|
103
|
-
else {
|
104
|
-
// Remove the group from the item if it's there
|
105
|
-
if (itemEdit.groups) {
|
106
|
-
const i = itemEdit.groups.indexOf(this.groupId);
|
107
|
-
if (i > -1) {
|
108
|
-
itemEdit.groups.splice(i, 1);
|
109
|
-
}
|
110
|
-
}
|
111
|
-
}
|
112
|
-
state.setItemInfo(itemEdit);
|
113
|
-
}
|
114
|
-
return itemShare;
|
115
|
-
});
|
116
|
-
}
|
117
|
-
/**
|
118
|
-
* Fetches the component's translations
|
119
|
-
*
|
120
|
-
* @protected
|
121
|
-
*/
|
122
|
-
async _getTranslations() {
|
123
|
-
const translations = await getLocaleComponentStrings(this.el);
|
124
|
-
this._translations = translations[0];
|
125
|
-
}
|
126
|
-
get el() { return this; }
|
127
|
-
static get watchers() { return {
|
128
|
-
"groupId": ["itemIdWatchHandler"]
|
129
|
-
}; }
|
130
|
-
static get style() { return solutionItemSharingCss; }
|
131
|
-
}, [1, "solution-item-sharing", {
|
132
|
-
"groupId": [1537, "group-id"],
|
133
|
-
"_translations": [32],
|
134
|
-
"sharing": [32],
|
135
|
-
"getShareInfo": [64]
|
136
|
-
}]);
|
137
|
-
function defineCustomElement() {
|
138
|
-
if (typeof customElements === "undefined") {
|
139
|
-
return;
|
140
|
-
}
|
141
|
-
const components = ["solution-item-sharing", "calcite-label", "calcite-switch", "solution-item-icon"];
|
142
|
-
components.forEach(tagName => { switch (tagName) {
|
143
|
-
case "solution-item-sharing":
|
144
|
-
if (!customElements.get(tagName)) {
|
145
|
-
customElements.define(tagName, SolutionItemSharing);
|
146
|
-
}
|
147
|
-
break;
|
148
|
-
case "calcite-label":
|
149
|
-
if (!customElements.get(tagName)) {
|
150
|
-
defineCustomElement$3();
|
151
|
-
}
|
152
|
-
break;
|
153
|
-
case "calcite-switch":
|
154
|
-
if (!customElements.get(tagName)) {
|
155
|
-
defineCustomElement$2();
|
156
|
-
}
|
157
|
-
break;
|
158
|
-
case "solution-item-icon":
|
159
|
-
if (!customElements.get(tagName)) {
|
160
|
-
defineCustomElement$1();
|
161
|
-
}
|
162
|
-
break;
|
163
|
-
} });
|
164
|
-
}
|
165
|
-
defineCustomElement();
|
166
|
-
|
167
|
-
export { SolutionItemSharing as S, defineCustomElement as d };
|
168
|
-
|
169
|
-
//# sourceMappingURL=solution-item-sharing2.js.map
|