@esri/solutions-components 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/solution-config-modal/resources.json +22 -0
- package/dist/assets/t9n/solution-config-modal/resources_en.json +22 -0
- package/dist/cjs/ExpandToggle-73df0d51.js +2 -0
- package/dist/cjs/ExpandToggle-73df0d51.js.map +1 -0
- package/dist/cjs/Heading-6b7b374c.js +2 -0
- package/dist/cjs/Heading-6b7b374c.js.map +1 -0
- package/dist/cjs/_commonjsHelpers-6aafa5de.js +2 -0
- package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +1 -0
- package/dist/cjs/app-globals-2f48e57e.js +2 -0
- package/dist/cjs/app-globals-2f48e57e.js.map +1 -0
- package/dist/cjs/array-ace6d4b5.js +2 -0
- package/dist/cjs/array-ace6d4b5.js.map +1 -0
- package/dist/cjs/buffer-tools_6.cjs.entry.js +2 -0
- package/dist/cjs/buffer-tools_6.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -0
- package/dist/cjs/calcite-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +20 -401
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action_2.cjs.entry.js +425 -71
- package/dist/cjs/calcite-action_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-alert.cjs.entry.js +2 -0
- package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +2 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js +2 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-block.cjs.entry.js +2 -0
- package/dist/cjs/calcite-block.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-card.cjs.entry.js +2 -0
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -0
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-chip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-date-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -0
- package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-filter.cjs.entry.js +2 -0
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -0
- package/dist/cjs/calcite-flow.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-graph.cjs.entry.js +2 -0
- package/dist/cjs/calcite-graph.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -0
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -0
- package/dist/cjs/calcite-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -0
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-text.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-label.cjs.entry.js +2 -0
- package/dist/cjs/calcite-label.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-link.cjs.entry.js +2 -0
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-list_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-loader.cjs.entry.js +97 -0
- package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-configuration.cjs.entry.js → calcite-modal_2.cjs.entry.js} +452 -6
- package/dist/cjs/calcite-modal_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-option-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-option-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-option_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-option_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/{calcite-shell-panel_14.cjs.entry.js → calcite-panel_12.cjs.entry.js} +469 -711
- package/dist/cjs/calcite-panel_12.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-popover-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-radio-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-rating.cjs.entry.js +2 -0
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -0
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -0
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-stepper.cjs.entry.js +2 -0
- package/dist/cjs/calcite-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-switch.cjs.entry.js +2 -0
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile-select.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-time-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-time-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tooltip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tree_3.cjs.entry.js.map +1 -0
- package/dist/cjs/check-list.cjs.entry.js +2 -0
- package/dist/cjs/check-list.cjs.entry.js.map +1 -0
- package/dist/cjs/conditionalSlot-2defe83d.js +2 -0
- package/dist/cjs/conditionalSlot-2defe83d.js.map +1 -0
- package/dist/cjs/config-buffer-tools.cjs.entry.js +2 -0
- package/dist/cjs/config-buffer-tools.cjs.entry.js.map +1 -0
- package/dist/cjs/config-draw-tools.cjs.entry.js +2 -0
- package/dist/cjs/config-draw-tools.cjs.entry.js.map +1 -0
- package/dist/cjs/config-layer-picker.cjs.entry.js +2 -0
- package/dist/cjs/config-layer-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/config-pdf-download.cjs.entry.js +2 -0
- package/dist/cjs/config-pdf-download.cjs.entry.js.map +1 -0
- package/dist/cjs/date-e21b2052.js +2 -0
- package/dist/cjs/date-e21b2052.js.map +1 -0
- package/dist/cjs/debounce-69c3bada.js +2 -0
- package/dist/cjs/debounce-69c3bada.js.map +1 -0
- package/dist/cjs/dom-4a580af6.js +2 -0
- package/dist/cjs/dom-4a580af6.js.map +1 -0
- package/dist/cjs/filter-325f654f.js +2 -0
- package/dist/cjs/filter-325f654f.js.map +1 -0
- package/dist/cjs/floating-ui-ca1bcead.js +2 -0
- package/dist/cjs/floating-ui-ca1bcead.js.map +1 -0
- package/dist/cjs/form-45849654.js +2 -0
- package/dist/cjs/form-45849654.js.map +1 -0
- package/dist/cjs/guid-84ac4d91.js +2 -0
- package/dist/cjs/guid-84ac4d91.js.map +1 -0
- package/dist/cjs/index-7af21b6f.js +2 -0
- package/dist/cjs/index-7af21b6f.js.map +1 -0
- package/dist/cjs/index-a86078a0.js +2 -0
- package/dist/cjs/index-a86078a0.js.map +1 -0
- package/dist/cjs/index-d7f9770d.js +2 -0
- package/dist/cjs/index-d7f9770d.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/interactive-0a68ab99.js +2 -0
- package/dist/cjs/interactive-0a68ab99.js.map +1 -0
- package/dist/cjs/interfaces-ab603e16.js +2 -0
- package/dist/cjs/interfaces-ab603e16.js.map +1 -0
- package/dist/cjs/interfaces-e76f31e9.js +2 -0
- package/dist/cjs/interfaces-e76f31e9.js.map +1 -0
- package/dist/cjs/key-55aca5c0.js +2 -0
- package/dist/cjs/key-55aca5c0.js.map +1 -0
- package/dist/cjs/label-24fcd8a5.js +2 -0
- package/dist/cjs/label-24fcd8a5.js.map +1 -0
- package/dist/cjs/labelFormats-3236d2e0.js +2 -0
- package/dist/cjs/labelFormats-3236d2e0.js.map +1 -0
- package/dist/cjs/loadModules-38269f99.js +2 -0
- package/dist/cjs/loadModules-38269f99.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -1
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/locale-73cab8e8.js +2 -0
- package/dist/cjs/locale-73cab8e8.js.map +1 -0
- package/dist/cjs/locale-746a095d.js +2 -0
- package/dist/cjs/locale-746a095d.js.map +1 -0
- package/dist/cjs/map-search.cjs.entry.js +2 -0
- package/dist/cjs/map-search.cjs.entry.js.map +1 -0
- package/dist/cjs/mapViewUtils-67cfc412.js +2 -0
- package/dist/cjs/mapViewUtils-67cfc412.js.map +1 -0
- package/dist/cjs/math-460fffaf.js +2 -0
- package/dist/cjs/math-460fffaf.js.map +1 -0
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +2 -0
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +1 -0
- package/dist/cjs/observers-5311faf8.js +2 -0
- package/dist/cjs/observers-5311faf8.js.map +1 -0
- package/dist/cjs/openCloseComponent-bf986132.js +2 -0
- package/dist/cjs/openCloseComponent-bf986132.js.map +1 -0
- package/dist/cjs/public-notification.cjs.entry.js +2 -0
- package/dist/cjs/public-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/publicNotificationStore-6a3d40b3.js +2 -0
- package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +1 -0
- package/dist/cjs/publicNotificationUtils-9d585d8d.js +2 -0
- package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +1 -0
- package/dist/cjs/resources-1f785471.js +2 -0
- package/dist/cjs/resources-1f785471.js.map +1 -0
- package/dist/cjs/resources-2260d186.js +2 -0
- package/dist/cjs/resources-2260d186.js.map +1 -0
- package/dist/cjs/resources-2a9862c7.js +2 -0
- package/dist/cjs/resources-2a9862c7.js.map +1 -0
- package/dist/cjs/resources-308edbd8.js +2 -0
- package/dist/cjs/resources-308edbd8.js.map +1 -0
- package/dist/cjs/resources-6152b073.js +2 -0
- package/dist/cjs/resources-6152b073.js.map +1 -0
- package/dist/cjs/resources-808cfca8.js +2 -0
- package/dist/cjs/resources-808cfca8.js.map +1 -0
- package/dist/cjs/resources-9c55e05c.js +2 -0
- package/dist/cjs/resources-9c55e05c.js.map +1 -0
- package/dist/cjs/resources-aa19bf8c.js +2 -0
- package/dist/cjs/resources-aa19bf8c.js.map +1 -0
- package/dist/cjs/resources-b56bce71.js +2 -0
- package/dist/cjs/resources-b56bce71.js.map +1 -0
- package/dist/cjs/resources-cc7f63b0.js +2 -0
- package/dist/cjs/resources-cc7f63b0.js.map +1 -0
- package/dist/cjs/shared-list-render-4c7d84bf.js +2 -0
- package/dist/cjs/shared-list-render-4c7d84bf.js.map +1 -0
- package/dist/cjs/solution-config-modal.cjs.entry.js +131 -0
- package/dist/cjs/solution-config-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-contents_3.cjs.entry.js → solution-contents_7.cjs.entry.js} +665 -2
- package/dist/cjs/solution-contents_7.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-store-e2fc11ac.js → solution-store-09b3fc53.js} +5 -3
- package/dist/cjs/solution-store-09b3fc53.js.map +1 -0
- package/dist/cjs/solutions-components.cjs.js +3 -1
- package/dist/cjs/solutions-components.cjs.js.map +1 -0
- package/dist/cjs/sortable.esm-bf47019d.js +2 -0
- package/dist/cjs/sortable.esm-bf47019d.js.map +1 -0
- package/dist/cjs/store-manager.cjs.entry.js +2 -0
- package/dist/cjs/store-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/time-3f5577cb.js +2 -0
- package/dist/cjs/time-3f5577cb.js.map +1 -0
- package/dist/cjs/utils-120bbbeb.js +2 -0
- package/dist/cjs/utils-120bbbeb.js.map +1 -0
- package/dist/cjs/utils-b4236001.js +2 -0
- package/dist/cjs/utils-b4236001.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -0
- package/dist/collection/components/buffer-tools/buffer-tools.js.map +1 -0
- package/dist/collection/components/check-list/check-list.js +1 -0
- package/dist/collection/components/check-list/check-list.js.map +1 -0
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +1 -0
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +1 -0
- package/dist/collection/components/config-draw-tools/config-draw-tools.js +1 -0
- package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +1 -0
- package/dist/collection/components/config-layer-picker/config-layer-picker.js +1 -0
- package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +1 -0
- package/dist/collection/components/config-pdf-download/config-pdf-download.js +1 -0
- package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +1 -0
- package/dist/collection/components/json-editor/json-editor.js +1 -0
- package/dist/collection/components/json-editor/json-editor.js.map +1 -0
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -0
- package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +1 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +1 -0
- package/dist/collection/components/map-search/map-search.js +1 -0
- package/dist/collection/components/map-search/map-search.js.map +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js.map +1 -0
- package/dist/collection/components/pdf-download/pdf-download.js +1 -0
- package/dist/collection/components/pdf-download/pdf-download.js.map +1 -0
- package/dist/collection/components/public-notification/public-notification.js +1 -0
- package/dist/collection/components/public-notification/public-notification.js.map +1 -0
- package/dist/collection/components/refine-selection/refine-selection.js +1 -0
- package/dist/collection/components/refine-selection/refine-selection.js.map +1 -0
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +1 -0
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +1 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.css +91 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.js +245 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +24 -11
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -0
- package/dist/collection/components/solution-contents/solution-contents.js +1 -0
- package/dist/collection/components/solution-contents/solution-contents.js.map +1 -0
- package/dist/collection/components/solution-item/solution-item.js +1 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -0
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -0
- package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +1 -0
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -0
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +1 -0
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -0
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +1 -0
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -0
- package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +1 -0
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -0
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +1 -0
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +1 -0
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +1 -0
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -0
- package/dist/collection/components/solution-template-data/solution-template-data.js.map +1 -0
- package/dist/collection/components/solution-variables/solution-variables.js +1 -0
- package/dist/collection/components/solution-variables/solution-variables.js.map +1 -0
- package/dist/collection/components/store-manager/store-manager.js +1 -0
- package/dist/collection/components/store-manager/store-manager.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/common.js +1 -0
- package/dist/collection/utils/common.js.map +1 -0
- package/dist/collection/utils/csvUtils.js +1 -0
- package/dist/collection/utils/csvUtils.js.map +1 -0
- package/dist/collection/utils/interfaces.js +1 -0
- package/dist/collection/utils/interfaces.js.map +1 -0
- package/dist/collection/utils/languageUtil.js +1 -0
- package/dist/collection/utils/languageUtil.js.map +1 -0
- package/dist/collection/utils/loadModules.js +1 -0
- package/dist/collection/utils/loadModules.js.map +1 -0
- package/dist/collection/utils/locale.js +1 -0
- package/dist/collection/utils/locale.js.map +1 -0
- package/dist/collection/utils/mapViewUtils.js +1 -0
- package/dist/collection/utils/mapViewUtils.js.map +1 -0
- package/dist/collection/utils/publicNotificationStore.js +1 -0
- package/dist/collection/utils/publicNotificationStore.js.map +1 -0
- package/dist/collection/utils/publicNotificationUtils.js +1 -0
- package/dist/collection/utils/publicNotificationUtils.js.map +1 -0
- package/dist/collection/utils/queryUtils.js +1 -0
- package/dist/collection/utils/queryUtils.js.map +1 -0
- package/dist/collection/utils/solution-store.js +4 -3
- package/dist/collection/utils/solution-store.js.map +1 -0
- package/dist/collection/utils/solution-store.ts +3 -3
- package/dist/collection/utils/templates.js +1 -0
- package/dist/collection/utils/templates.js.map +1 -0
- package/dist/collection/utils/test/testUtils.js +1 -0
- package/dist/collection/utils/test/testUtils.js.map +1 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/esm/ExpandToggle-b7d1fb3c.js +2 -0
- package/dist/esm/ExpandToggle-b7d1fb3c.js.map +1 -0
- package/dist/esm/Heading-1efb4837.js +2 -0
- package/dist/esm/Heading-1efb4837.js.map +1 -0
- package/dist/esm/_commonjsHelpers-8fd39c50.js +2 -0
- package/dist/esm/_commonjsHelpers-8fd39c50.js.map +1 -0
- package/dist/esm/app-globals-09b9efee.js +2 -0
- package/dist/esm/app-globals-09b9efee.js.map +1 -0
- package/dist/esm/array-2ab3b18f.js +2 -0
- package/dist/esm/array-2ab3b18f.js.map +1 -0
- package/dist/esm/buffer-tools_6.entry.js +4 -2
- package/dist/esm/buffer-tools_6.entry.js.map +1 -0
- package/dist/esm/calcite-accordion-item.entry.js +2 -0
- package/dist/esm/calcite-accordion-item.entry.js.map +1 -0
- package/dist/esm/calcite-accordion.entry.js +2 -0
- package/dist/esm/calcite-accordion.entry.js.map +1 -0
- package/dist/esm/calcite-action-bar_6.entry.js +4 -2
- package/dist/esm/calcite-action-bar_6.entry.js.map +1 -0
- package/dist/esm/calcite-action-group.entry.js +2 -0
- package/dist/esm/calcite-action-group.entry.js.map +1 -0
- package/dist/esm/calcite-action-menu_2.entry.js +22 -403
- package/dist/esm/calcite-action-menu_2.entry.js.map +1 -0
- package/dist/esm/calcite-action-pad.entry.js +2 -0
- package/dist/esm/calcite-action-pad.entry.js.map +1 -0
- package/dist/esm/calcite-action_2.entry.js +426 -72
- package/dist/esm/calcite-action_2.entry.js.map +1 -0
- package/dist/esm/calcite-alert.entry.js +2 -0
- package/dist/esm/calcite-alert.entry.js.map +1 -0
- package/dist/esm/calcite-avatar.entry.js +2 -0
- package/dist/esm/calcite-avatar.entry.js.map +1 -0
- package/dist/esm/calcite-block-section.entry.js +2 -0
- package/dist/esm/calcite-block-section.entry.js.map +1 -0
- package/dist/esm/calcite-block.entry.js +2 -0
- package/dist/esm/calcite-block.entry.js.map +1 -0
- package/dist/esm/calcite-button.entry.js +2 -0
- package/dist/esm/calcite-button.entry.js.map +1 -0
- package/dist/esm/calcite-card.entry.js +2 -0
- package/dist/esm/calcite-card.entry.js.map +1 -0
- package/dist/esm/calcite-checkbox.entry.js +2 -0
- package/dist/esm/calcite-checkbox.entry.js.map +1 -0
- package/dist/esm/calcite-chip.entry.js +2 -0
- package/dist/esm/calcite-chip.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker-hex-input.entry.js +2 -0
- package/dist/esm/calcite-color-picker-hex-input.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker-swatch.entry.js +2 -0
- package/dist/esm/calcite-color-picker-swatch.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker.entry.js +2 -0
- package/dist/esm/calcite-color-picker.entry.js.map +1 -0
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -0
- package/dist/esm/calcite-combobox-item-group.entry.js.map +1 -0
- package/dist/esm/calcite-combobox_3.entry.js +4 -2
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +2 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js.map +1 -0
- package/dist/esm/calcite-date-picker.entry.js +2 -0
- package/dist/esm/calcite-date-picker.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown-group.entry.js +2 -0
- package/dist/esm/calcite-dropdown-group.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown-item.entry.js +2 -0
- package/dist/esm/calcite-dropdown-item.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown.entry.js +2 -0
- package/dist/esm/calcite-dropdown.entry.js.map +1 -0
- package/dist/esm/calcite-fab.entry.js +2 -0
- package/dist/esm/calcite-fab.entry.js.map +1 -0
- package/dist/esm/calcite-filter.entry.js +2 -0
- package/dist/esm/calcite-filter.entry.js.map +1 -0
- package/dist/esm/calcite-flow-item.entry.js +2 -0
- package/dist/esm/calcite-flow-item.entry.js.map +1 -0
- package/dist/esm/calcite-flow.entry.js +2 -0
- package/dist/esm/calcite-flow.entry.js.map +1 -0
- package/dist/esm/calcite-graph.entry.js +2 -0
- package/dist/esm/calcite-graph.entry.js.map +1 -0
- package/dist/esm/calcite-handle.entry.js +2 -0
- package/dist/esm/calcite-handle.entry.js.map +1 -0
- package/dist/esm/calcite-icon.entry.js +2 -0
- package/dist/esm/calcite-icon.entry.js.map +1 -0
- package/dist/esm/calcite-inline-editable.entry.js +2 -0
- package/dist/esm/calcite-inline-editable.entry.js.map +1 -0
- package/dist/esm/calcite-input-date-picker.entry.js +2 -0
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -0
- package/dist/esm/calcite-input-number.entry.js +2 -0
- package/dist/esm/calcite-input-number.entry.js.map +1 -0
- package/dist/esm/calcite-input-text.entry.js +2 -0
- package/dist/esm/calcite-input-text.entry.js.map +1 -0
- package/dist/esm/calcite-input-time-picker.entry.js +2 -0
- package/dist/esm/calcite-input-time-picker.entry.js.map +1 -0
- package/dist/esm/calcite-input_2.entry.js +2 -0
- package/dist/esm/calcite-input_2.entry.js.map +1 -0
- package/dist/esm/calcite-label.entry.js +2 -0
- package/dist/esm/calcite-label.entry.js.map +1 -0
- package/dist/esm/calcite-link.entry.js +2 -0
- package/dist/esm/calcite-link.entry.js.map +1 -0
- package/dist/esm/calcite-list-item-group.entry.js +2 -0
- package/dist/esm/calcite-list-item-group.entry.js.map +1 -0
- package/dist/esm/calcite-list_2.entry.js +2 -0
- package/dist/esm/calcite-list_2.entry.js.map +1 -0
- package/dist/esm/calcite-loader.entry.js +93 -0
- package/dist/esm/calcite-loader.entry.js.map +1 -0
- package/dist/esm/{solution-configuration.entry.js → calcite-modal_2.entry.js} +454 -9
- package/dist/esm/calcite-modal_2.entry.js.map +1 -0
- package/dist/esm/calcite-option-group.entry.js +2 -0
- package/dist/esm/calcite-option-group.entry.js.map +1 -0
- package/dist/esm/calcite-option_2.entry.js +2 -0
- package/dist/esm/calcite-option_2.entry.js.map +1 -0
- package/dist/esm/calcite-pagination.entry.js +2 -0
- package/dist/esm/calcite-pagination.entry.js.map +1 -0
- package/dist/esm/{calcite-shell-panel_14.entry.js → calcite-panel_12.entry.js} +468 -708
- package/dist/esm/calcite-panel_12.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list-group.entry.js +2 -0
- package/dist/esm/calcite-pick-list-group.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list-item.entry.js +2 -0
- package/dist/esm/calcite-pick-list-item.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list.entry.js +2 -0
- package/dist/esm/calcite-pick-list.entry.js.map +1 -0
- package/dist/esm/calcite-popover-manager.entry.js +2 -0
- package/dist/esm/calcite-popover-manager.entry.js.map +1 -0
- package/dist/esm/calcite-radio-button-group.entry.js +2 -0
- package/dist/esm/calcite-radio-button-group.entry.js.map +1 -0
- package/dist/esm/calcite-radio-button.entry.js +2 -0
- package/dist/esm/calcite-radio-button.entry.js.map +1 -0
- package/dist/esm/calcite-rating.entry.js +2 -0
- package/dist/esm/calcite-rating.entry.js.map +1 -0
- package/dist/esm/calcite-shell-center-row.entry.js +2 -0
- package/dist/esm/calcite-shell-center-row.entry.js.map +1 -0
- package/dist/esm/calcite-sortable-list.entry.js +2 -0
- package/dist/esm/calcite-sortable-list.entry.js.map +1 -0
- package/dist/esm/calcite-split-button.entry.js +2 -0
- package/dist/esm/calcite-split-button.entry.js.map +1 -0
- package/dist/esm/calcite-stepper-item.entry.js +2 -0
- package/dist/esm/calcite-stepper-item.entry.js.map +1 -0
- package/dist/esm/calcite-stepper.entry.js +2 -0
- package/dist/esm/calcite-stepper.entry.js.map +1 -0
- package/dist/esm/calcite-switch.entry.js +2 -0
- package/dist/esm/calcite-switch.entry.js.map +1 -0
- package/dist/esm/calcite-tile-select-group.entry.js +2 -0
- package/dist/esm/calcite-tile-select-group.entry.js.map +1 -0
- package/dist/esm/calcite-tile-select.entry.js +2 -0
- package/dist/esm/calcite-tile-select.entry.js.map +1 -0
- package/dist/esm/calcite-tile.entry.js +2 -0
- package/dist/esm/calcite-tile.entry.js.map +1 -0
- package/dist/esm/calcite-time-picker.entry.js +2 -0
- package/dist/esm/calcite-time-picker.entry.js.map +1 -0
- package/dist/esm/calcite-tip-group.entry.js +2 -0
- package/dist/esm/calcite-tip-group.entry.js.map +1 -0
- package/dist/esm/calcite-tip-manager.entry.js +2 -0
- package/dist/esm/calcite-tip-manager.entry.js.map +1 -0
- package/dist/esm/calcite-tip.entry.js +2 -0
- package/dist/esm/calcite-tip.entry.js.map +1 -0
- package/dist/esm/calcite-tooltip-manager.entry.js +2 -0
- package/dist/esm/calcite-tooltip-manager.entry.js.map +1 -0
- package/dist/esm/calcite-tooltip.entry.js +2 -0
- package/dist/esm/calcite-tooltip.entry.js.map +1 -0
- package/dist/esm/calcite-tree_3.entry.js +2 -0
- package/dist/esm/calcite-tree_3.entry.js.map +1 -0
- package/dist/esm/check-list.entry.js +2 -0
- package/dist/esm/check-list.entry.js.map +1 -0
- package/dist/esm/conditionalSlot-bb4cab11.js +2 -0
- package/dist/esm/conditionalSlot-bb4cab11.js.map +1 -0
- package/dist/esm/config-buffer-tools.entry.js +2 -0
- package/dist/esm/config-buffer-tools.entry.js.map +1 -0
- package/dist/esm/config-draw-tools.entry.js +2 -0
- package/dist/esm/config-draw-tools.entry.js.map +1 -0
- package/dist/esm/config-layer-picker.entry.js +4 -2
- package/dist/esm/config-layer-picker.entry.js.map +1 -0
- package/dist/esm/config-pdf-download.entry.js +2 -0
- package/dist/esm/config-pdf-download.entry.js.map +1 -0
- package/dist/esm/date-45de0016.js +2 -0
- package/dist/esm/date-45de0016.js.map +1 -0
- package/dist/esm/debounce-4c884e5c.js +2 -0
- package/dist/esm/debounce-4c884e5c.js.map +1 -0
- package/dist/esm/dom-e593bf85.js +2 -0
- package/dist/esm/dom-e593bf85.js.map +1 -0
- package/dist/esm/filter-82935f2d.js +2 -0
- package/dist/esm/filter-82935f2d.js.map +1 -0
- package/dist/esm/floating-ui-69a55a27.js +2 -0
- package/dist/esm/floating-ui-69a55a27.js.map +1 -0
- package/dist/esm/form-dbfde8ce.js +2 -0
- package/dist/esm/form-dbfde8ce.js.map +1 -0
- package/dist/esm/guid-15fce7c0.js +2 -0
- package/dist/esm/guid-15fce7c0.js.map +1 -0
- package/dist/esm/index-15022d11.js +2 -0
- package/dist/esm/index-15022d11.js.map +1 -0
- package/dist/esm/index-9c882a6e.js +2 -0
- package/dist/esm/index-9c882a6e.js.map +1 -0
- package/dist/esm/index-d33ebc35.js +2 -0
- package/dist/esm/index-d33ebc35.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/interactive-822ffed6.js +2 -0
- package/dist/esm/interactive-822ffed6.js.map +1 -0
- package/dist/esm/interfaces-1bdfc3a8.js +72 -0
- package/dist/esm/interfaces-1bdfc3a8.js.map +1 -0
- package/dist/esm/interfaces-4ae145eb.js +2 -0
- package/dist/esm/interfaces-4ae145eb.js.map +1 -0
- package/dist/esm/key-acb660e7.js +2 -0
- package/dist/esm/key-acb660e7.js.map +1 -0
- package/dist/esm/label-d411de44.js +2 -0
- package/dist/esm/label-d411de44.js.map +1 -0
- package/dist/esm/labelFormats-b37958c3.js +2 -0
- package/dist/esm/labelFormats-b37958c3.js.map +1 -0
- package/dist/esm/loadModules-d3b50f95.js +2 -0
- package/dist/esm/loadModules-d3b50f95.js.map +1 -0
- package/dist/esm/loader.js +3 -1
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/locale-0b490b02.js +2 -0
- package/dist/esm/locale-0b490b02.js.map +1 -0
- package/dist/esm/locale-0e10d7e5.js +2 -0
- package/dist/esm/locale-0e10d7e5.js.map +1 -0
- package/dist/esm/map-search.entry.js +2 -0
- package/dist/esm/map-search.entry.js.map +1 -0
- package/dist/esm/mapViewUtils-809947c8.js +284 -0
- package/dist/esm/mapViewUtils-809947c8.js.map +1 -0
- package/dist/esm/math-552c5420.js +2 -0
- package/dist/esm/math-552c5420.js.map +1 -0
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js +2 -0
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +1 -0
- package/dist/esm/observers-31601001.js +2 -0
- package/dist/esm/observers-31601001.js.map +1 -0
- package/dist/esm/openCloseComponent-5caff873.js +2 -0
- package/dist/esm/openCloseComponent-5caff873.js.map +1 -0
- package/dist/esm/public-notification.entry.js +4 -2
- package/dist/esm/public-notification.entry.js.map +1 -0
- package/dist/esm/publicNotificationStore-060c59c8.js +2 -0
- package/dist/esm/publicNotificationStore-060c59c8.js.map +1 -0
- package/dist/esm/publicNotificationUtils-5cb5a607.js +2 -0
- package/dist/esm/publicNotificationUtils-5cb5a607.js.map +1 -0
- package/dist/esm/resources-2235e4ff.js +2 -0
- package/dist/esm/resources-2235e4ff.js.map +1 -0
- package/dist/esm/resources-3d641588.js +2 -0
- package/dist/esm/resources-3d641588.js.map +1 -0
- package/dist/esm/resources-436ae282.js +2 -0
- package/dist/esm/resources-436ae282.js.map +1 -0
- package/dist/esm/resources-4d02cb48.js +2 -0
- package/dist/esm/resources-4d02cb48.js.map +1 -0
- package/dist/esm/resources-78132e50.js +2 -0
- package/dist/esm/resources-78132e50.js.map +1 -0
- package/dist/esm/resources-7d4a587f.js +2 -0
- package/dist/esm/resources-7d4a587f.js.map +1 -0
- package/dist/esm/resources-971845d1.js +2 -0
- package/dist/esm/resources-971845d1.js.map +1 -0
- package/dist/esm/resources-9eb63965.js +2 -0
- package/dist/esm/resources-9eb63965.js.map +1 -0
- package/dist/esm/resources-d60362c3.js +2 -0
- package/dist/esm/resources-d60362c3.js.map +1 -0
- package/dist/esm/resources-e3a5cf27.js +2 -0
- package/dist/esm/resources-e3a5cf27.js.map +1 -0
- package/dist/esm/shared-list-render-4e9d47a3.js +2 -0
- package/dist/esm/shared-list-render-4e9d47a3.js.map +1 -0
- package/dist/esm/solution-config-modal.entry.js +127 -0
- package/dist/esm/solution-config-modal.entry.js.map +1 -0
- package/dist/esm/{solution-contents_3.entry.js → solution-contents_7.entry.js} +662 -3
- package/dist/esm/solution-contents_7.entry.js.map +1 -0
- package/dist/esm/{solution-store-b3c65467.js → solution-store-d8519c64.js} +6 -4
- package/dist/esm/solution-store-d8519c64.js.map +1 -0
- package/dist/esm/solutions-components.js +3 -1
- package/dist/esm/solutions-components.js.map +1 -0
- package/dist/esm/sortable.esm-3b2eaa5c.js +2 -0
- package/dist/esm/sortable.esm-3b2eaa5c.js.map +1 -0
- package/dist/esm/store-manager.entry.js +2 -0
- package/dist/esm/store-manager.entry.js.map +1 -0
- package/dist/esm/time-f014778c.js +2 -0
- package/dist/esm/time-f014778c.js.map +1 -0
- package/dist/esm/utils-3f4ee4c3.js +2 -0
- package/dist/esm/utils-3f4ee4c3.js.map +1 -0
- package/dist/esm/utils-583554bc.js +2 -0
- package/dist/esm/utils-583554bc.js.map +1 -0
- package/dist/solutions-components/index.esm.js +2 -0
- package/dist/solutions-components/index.esm.js.map +1 -0
- package/dist/solutions-components/p-06dab43c.entry.js +140 -0
- package/dist/solutions-components/p-06dab43c.entry.js.map +1 -0
- package/dist/solutions-components/p-0bbe4865.entry.js +620 -0
- package/dist/solutions-components/p-0bbe4865.entry.js.map +1 -0
- package/dist/solutions-components/p-0fddf8a4.entry.js +349 -0
- package/dist/solutions-components/p-0fddf8a4.entry.js.map +1 -0
- package/dist/solutions-components/p-11068040.entry.js +1121 -0
- package/dist/solutions-components/p-11068040.entry.js.map +1 -0
- package/dist/solutions-components/p-11bc6805.entry.js +87 -0
- package/dist/solutions-components/p-11bc6805.entry.js.map +1 -0
- package/dist/solutions-components/p-13b37f05.js +308 -3
- package/dist/solutions-components/p-13b37f05.js.map +1 -0
- package/dist/solutions-components/p-1dfb5fae.entry.js +713 -0
- package/dist/solutions-components/p-1dfb5fae.entry.js.map +1 -0
- package/dist/solutions-components/p-1e15b1a3.js +183 -2
- package/dist/solutions-components/p-1e15b1a3.js.map +1 -0
- package/dist/solutions-components/p-1e5bc9c3.entry.js +96 -0
- package/dist/solutions-components/p-1e5bc9c3.entry.js.map +1 -0
- package/dist/solutions-components/p-1ed05745.entry.js +214 -0
- package/dist/solutions-components/p-1ed05745.entry.js.map +1 -0
- package/dist/solutions-components/p-20bdf42f.js +407 -14
- package/dist/solutions-components/p-20bdf42f.js.map +1 -0
- package/dist/solutions-components/p-22574d83.entry.js +74 -0
- package/dist/solutions-components/p-22574d83.entry.js.map +1 -0
- package/dist/solutions-components/p-23904a3d.js +401 -3
- package/dist/solutions-components/p-23904a3d.js.map +1 -0
- package/dist/solutions-components/p-26484399.entry.js +108 -0
- package/dist/solutions-components/p-26484399.entry.js.map +1 -0
- package/dist/solutions-components/p-2910dd9e.js +4094 -0
- package/dist/solutions-components/p-2910dd9e.js.map +1 -0
- package/dist/solutions-components/p-29bdbd3e.entry.js +280 -0
- package/dist/solutions-components/p-29bdbd3e.entry.js.map +1 -0
- package/dist/solutions-components/p-2ac06389.js +25 -16
- package/dist/solutions-components/p-2ac06389.js.map +1 -0
- package/dist/solutions-components/p-2bce7fa2.entry.js +45 -0
- package/dist/solutions-components/p-2bce7fa2.entry.js.map +1 -0
- package/dist/solutions-components/p-2e9ed892.js +48 -1
- package/dist/solutions-components/p-2e9ed892.js.map +1 -0
- package/dist/solutions-components/p-2f12ff1b.entry.js +202 -0
- package/dist/solutions-components/p-2f12ff1b.entry.js.map +1 -0
- package/dist/solutions-components/p-30810b45.entry.js +1250 -0
- package/dist/solutions-components/p-30810b45.entry.js.map +1 -0
- package/dist/solutions-components/p-32a67cb2.js +207 -2
- package/dist/solutions-components/p-32a67cb2.js.map +1 -0
- package/dist/solutions-components/p-341ff921.entry.js +449 -0
- package/dist/solutions-components/p-341ff921.entry.js.map +1 -0
- package/dist/solutions-components/p-36ce64e4.entry.js +215 -0
- package/dist/solutions-components/p-36ce64e4.entry.js.map +1 -0
- package/dist/solutions-components/p-374a5031.js +107 -2
- package/dist/solutions-components/p-374a5031.js.map +1 -0
- package/dist/solutions-components/p-38ddadf2.entry.js +342 -0
- package/dist/solutions-components/p-38ddadf2.entry.js.map +1 -0
- package/dist/solutions-components/p-3b010ce1.js +19 -1
- package/dist/solutions-components/p-3b010ce1.js.map +1 -0
- package/dist/solutions-components/p-3f6b0af4.js +221 -2
- package/dist/solutions-components/p-3f6b0af4.js.map +1 -0
- package/dist/solutions-components/p-400e1427.entry.js +236 -0
- package/dist/solutions-components/p-400e1427.entry.js.map +1 -0
- package/dist/solutions-components/p-40d7cf01.entry.js +228 -0
- package/dist/solutions-components/p-40d7cf01.entry.js.map +1 -0
- package/dist/solutions-components/p-45556aff.entry.js +215 -0
- package/dist/solutions-components/p-45556aff.entry.js.map +1 -0
- package/dist/solutions-components/p-49aaa793.entry.js +95 -0
- package/dist/solutions-components/p-49aaa793.entry.js.map +1 -0
- package/dist/solutions-components/p-4e32bf8c.js +484 -1
- package/dist/solutions-components/p-4e32bf8c.js.map +1 -0
- package/dist/solutions-components/p-4e89b243.entry.js +479 -0
- package/dist/solutions-components/p-4e89b243.entry.js.map +1 -0
- package/dist/solutions-components/p-515637fb.entry.js +183 -0
- package/dist/solutions-components/p-515637fb.entry.js.map +1 -0
- package/dist/solutions-components/p-5243a654.entry.js +147 -0
- package/dist/solutions-components/p-5243a654.entry.js.map +1 -0
- package/dist/solutions-components/p-55673790.entry.js +82 -0
- package/dist/solutions-components/p-55673790.entry.js.map +1 -0
- package/dist/solutions-components/p-56350bff.js +173 -2
- package/dist/solutions-components/p-56350bff.js.map +1 -0
- package/dist/solutions-components/p-58b374c0.entry.js +347 -0
- package/dist/solutions-components/p-58b374c0.entry.js.map +1 -0
- package/dist/solutions-components/p-58c69df2.js +2024 -2
- package/dist/solutions-components/p-58c69df2.js.map +1 -0
- package/dist/solutions-components/p-59fd6684.entry.js +22 -0
- package/dist/solutions-components/p-59fd6684.entry.js.map +1 -0
- package/dist/solutions-components/p-5b0d7c7d.js +35 -16
- package/dist/solutions-components/p-5b0d7c7d.js.map +1 -0
- package/dist/solutions-components/p-5b20090f.entry.js +22189 -0
- package/dist/solutions-components/p-5b20090f.entry.js.map +1 -0
- package/dist/solutions-components/p-5cf33602.js +43 -2
- package/dist/solutions-components/p-5cf33602.js.map +1 -0
- package/dist/solutions-components/p-600e23c6.js +1770 -2
- package/dist/solutions-components/p-600e23c6.js.map +1 -0
- package/dist/solutions-components/p-61398a7b.entry.js +74 -0
- package/dist/solutions-components/p-61398a7b.entry.js.map +1 -0
- package/dist/solutions-components/p-63a05701.entry.js +45 -0
- package/dist/solutions-components/p-63a05701.entry.js.map +1 -0
- package/dist/solutions-components/p-63f6e8f1.js +16 -1
- package/dist/solutions-components/p-63f6e8f1.js.map +1 -0
- package/dist/solutions-components/p-64a2040e.entry.js +63 -0
- package/dist/solutions-components/p-64a2040e.entry.js.map +1 -0
- package/dist/solutions-components/p-64c63eb2.entry.js +157 -0
- package/dist/solutions-components/p-64c63eb2.entry.js.map +1 -0
- package/dist/solutions-components/p-6940e2fd.entry.js +100 -0
- package/dist/solutions-components/p-6940e2fd.entry.js.map +1 -0
- package/dist/solutions-components/p-69900b68.entry.js +152 -0
- package/dist/solutions-components/p-69900b68.entry.js.map +1 -0
- package/dist/solutions-components/p-699125b6.entry.js +44 -0
- package/dist/solutions-components/p-699125b6.entry.js.map +1 -0
- package/dist/solutions-components/p-6d0899c8.entry.js +118 -0
- package/dist/solutions-components/p-6d0899c8.entry.js.map +1 -0
- package/dist/solutions-components/p-6e0da576.js +15 -1
- package/dist/solutions-components/p-6e0da576.js.map +1 -0
- package/dist/solutions-components/p-6fe17794.js +11 -1
- package/dist/solutions-components/p-6fe17794.js.map +1 -0
- package/dist/solutions-components/p-708a63a8.js +14 -1
- package/dist/solutions-components/p-708a63a8.js.map +1 -0
- package/dist/solutions-components/p-729708a3.js +16 -1
- package/dist/solutions-components/p-729708a3.js.map +1 -0
- package/dist/solutions-components/p-73e23995.js +8 -1
- package/dist/solutions-components/p-73e23995.js.map +1 -0
- package/dist/solutions-components/p-75f54a34.entry.js +883 -0
- package/dist/solutions-components/p-75f54a34.entry.js.map +1 -0
- package/dist/solutions-components/p-77182c3a.js +3017 -1
- package/dist/solutions-components/p-77182c3a.js.map +1 -0
- package/dist/solutions-components/p-794ba85d.entry.js +175 -0
- package/dist/solutions-components/p-794ba85d.entry.js.map +1 -0
- package/dist/solutions-components/p-79cde78e.entry.js +203 -0
- package/dist/solutions-components/p-79cde78e.entry.js.map +1 -0
- package/dist/solutions-components/p-7a2c75a4.entry.js +230 -0
- package/dist/solutions-components/p-7a2c75a4.entry.js.map +1 -0
- package/dist/solutions-components/p-7daea1df.js +43 -1
- package/dist/solutions-components/p-7daea1df.js.map +1 -0
- package/dist/solutions-components/p-7de77097.entry.js +162 -0
- package/dist/solutions-components/p-7de77097.entry.js.map +1 -0
- package/dist/solutions-components/p-7f2b74a9.entry.js +56 -0
- package/dist/solutions-components/p-7f2b74a9.entry.js.map +1 -0
- package/dist/solutions-components/p-81e606c0.entry.js +915 -0
- package/dist/solutions-components/p-81e606c0.entry.js.map +1 -0
- package/dist/solutions-components/p-86908777.js +62 -3
- package/dist/solutions-components/p-86908777.js.map +1 -0
- package/dist/solutions-components/p-87a0ccb4.entry.js +254 -0
- package/dist/solutions-components/p-87a0ccb4.entry.js.map +1 -0
- package/dist/solutions-components/p-93d3119d.js +1950 -1
- package/dist/solutions-components/p-93d3119d.js.map +1 -0
- package/dist/solutions-components/p-958e2979.entry.js +111 -0
- package/dist/solutions-components/p-958e2979.entry.js.map +1 -0
- package/dist/solutions-components/p-95ddb529.entry.js +181 -0
- package/dist/solutions-components/p-95ddb529.entry.js.map +1 -0
- package/dist/solutions-components/p-991ee695.js +111 -1
- package/dist/solutions-components/p-991ee695.js.map +1 -0
- package/dist/solutions-components/p-99d9b624.entry.js +177 -0
- package/dist/solutions-components/p-99d9b624.entry.js.map +1 -0
- package/dist/solutions-components/p-9a9955db.js +43 -1
- package/dist/solutions-components/p-9a9955db.js.map +1 -0
- package/dist/solutions-components/p-9d925d5b.entry.js +233 -0
- package/dist/solutions-components/p-9d925d5b.entry.js.map +1 -0
- package/dist/solutions-components/p-9dc0210f.entry.js +125 -0
- package/dist/solutions-components/p-9dc0210f.entry.js.map +1 -0
- package/dist/solutions-components/p-9ef1328a.entry.js +542 -0
- package/dist/solutions-components/p-9ef1328a.entry.js.map +1 -0
- package/dist/solutions-components/p-9fec2884.entry.js +216 -0
- package/dist/solutions-components/p-9fec2884.entry.js.map +1 -0
- package/dist/solutions-components/p-a1786d11.entry.js +2380 -0
- package/dist/solutions-components/p-a1786d11.entry.js.map +1 -0
- package/dist/solutions-components/p-a2ada355.entry.js +135 -0
- package/dist/solutions-components/p-a2ada355.entry.js.map +1 -0
- package/dist/solutions-components/p-a57adb27.entry.js +154 -0
- package/dist/solutions-components/p-a57adb27.entry.js.map +1 -0
- package/dist/solutions-components/p-a80b3880.js +16 -1
- package/dist/solutions-components/p-a80b3880.js.map +1 -0
- package/dist/solutions-components/p-a88dd457.entry.js +123 -0
- package/dist/solutions-components/p-a88dd457.entry.js.map +1 -0
- package/dist/solutions-components/p-ac6efd19.entry.js +57 -0
- package/dist/solutions-components/p-ac6efd19.entry.js.map +1 -0
- package/dist/solutions-components/p-ae1fd76b.js +13 -1
- package/dist/solutions-components/p-ae1fd76b.js.map +1 -0
- package/dist/solutions-components/p-afffa81a.entry.js +140 -0
- package/dist/solutions-components/p-afffa81a.entry.js.map +1 -0
- package/dist/solutions-components/p-b0f3ed4d.entry.js +376 -0
- package/dist/solutions-components/p-b0f3ed4d.entry.js.map +1 -0
- package/dist/solutions-components/p-b359dc78.js +43 -1
- package/dist/solutions-components/p-b359dc78.js.map +1 -0
- package/dist/solutions-components/p-b66cba3e.entry.js +97 -0
- package/dist/solutions-components/p-b66cba3e.entry.js.map +1 -0
- package/dist/solutions-components/p-b6c2f470.entry.js +574 -0
- package/dist/solutions-components/p-b6c2f470.entry.js.map +1 -0
- package/dist/solutions-components/p-b978636e.js +16 -1
- package/dist/solutions-components/p-b978636e.js.map +1 -0
- package/dist/solutions-components/p-bd19837e.entry.js +96 -0
- package/dist/solutions-components/p-bd19837e.entry.js.map +1 -0
- package/dist/solutions-components/p-be8cc144.entry.js +567 -0
- package/dist/solutions-components/p-be8cc144.entry.js.map +1 -0
- package/dist/solutions-components/p-bfd20deb.entry.js +80 -0
- package/dist/solutions-components/p-bfd20deb.entry.js.map +1 -0
- package/dist/{esm/mapViewUtils-09f1e7bd.js → solutions-components/p-c20bd963.js} +3 -1
- package/dist/solutions-components/p-c20bd963.js.map +1 -0
- package/dist/solutions-components/p-c2c8442d.entry.js +140 -0
- package/dist/solutions-components/p-c2c8442d.entry.js.map +1 -0
- package/dist/solutions-components/p-c3f93cec.entry.js +158 -0
- package/dist/solutions-components/p-c3f93cec.entry.js.map +1 -0
- package/dist/solutions-components/p-c5721b0f.entry.js +127 -0
- package/dist/solutions-components/p-c5721b0f.entry.js.map +1 -0
- package/dist/solutions-components/p-c818e661.entry.js +107 -0
- package/dist/solutions-components/p-c818e661.entry.js.map +1 -0
- package/dist/solutions-components/p-c9870dc4.entry.js +38 -0
- package/dist/solutions-components/p-c9870dc4.entry.js.map +1 -0
- package/dist/solutions-components/p-cbd9fecf.js +500 -2
- package/dist/solutions-components/p-cbd9fecf.js.map +1 -0
- package/dist/solutions-components/p-cf59eb16.entry.js +2423 -0
- package/dist/solutions-components/p-cf59eb16.entry.js.map +1 -0
- package/dist/solutions-components/p-cfb300c6.entry.js +250 -0
- package/dist/solutions-components/p-cfb300c6.entry.js.map +1 -0
- package/dist/solutions-components/p-d48a24e6.js +756 -2
- package/dist/solutions-components/p-d48a24e6.js.map +1 -0
- package/dist/solutions-components/p-dbad98e8.js +124 -2
- package/dist/solutions-components/p-dbad98e8.js.map +1 -0
- package/dist/solutions-components/p-dd79118e.entry.js +708 -0
- package/dist/solutions-components/p-dd79118e.entry.js.map +1 -0
- package/dist/solutions-components/p-de5416e8.js +30 -1
- package/dist/solutions-components/p-de5416e8.js.map +1 -0
- package/dist/solutions-components/p-de881187.entry.js +87 -0
- package/dist/solutions-components/p-de881187.entry.js.map +1 -0
- package/dist/solutions-components/p-e1905f7b.entry.js +120 -0
- package/dist/solutions-components/p-e1905f7b.entry.js.map +1 -0
- package/dist/solutions-components/p-e405ebe8.entry.js +93 -0
- package/dist/solutions-components/p-e405ebe8.entry.js.map +1 -0
- package/dist/solutions-components/p-e515767a.entry.js +116 -0
- package/dist/solutions-components/p-e515767a.entry.js.map +1 -0
- package/dist/solutions-components/p-e611d8c8.js +30 -1
- package/dist/solutions-components/p-e611d8c8.js.map +1 -0
- package/dist/solutions-components/p-e6a695a5.js +103 -2
- package/dist/solutions-components/p-e6a695a5.js.map +1 -0
- package/dist/solutions-components/p-e6fb9cde.entry.js +1872 -0
- package/dist/solutions-components/p-e6fb9cde.entry.js.map +1 -0
- package/dist/solutions-components/p-e947d3b0.js +7 -1
- package/dist/solutions-components/p-e947d3b0.js.map +1 -0
- package/dist/solutions-components/p-e99b1247.js +207 -1
- package/dist/solutions-components/p-e99b1247.js.map +1 -0
- package/dist/solutions-components/p-eb5b78c3.entry.js +125 -0
- package/dist/solutions-components/p-eb5b78c3.entry.js.map +1 -0
- package/dist/solutions-components/p-eb976965.js +35 -3
- package/dist/solutions-components/p-eb976965.js.map +1 -0
- package/dist/solutions-components/p-ed075c2f.entry.js +186 -0
- package/dist/solutions-components/p-ed075c2f.entry.js.map +1 -0
- package/dist/solutions-components/p-eeb0321d.js +15 -2
- package/dist/solutions-components/p-eeb0321d.js.map +1 -0
- package/dist/solutions-components/p-ef6f9e24.entry.js +609 -0
- package/dist/solutions-components/p-ef6f9e24.entry.js.map +1 -0
- package/dist/solutions-components/p-f0294899.entry.js +84 -0
- package/dist/solutions-components/p-f0294899.entry.js.map +1 -0
- package/dist/{esm/interfaces-e2a2064d.js → solutions-components/p-f04fdb9a.js} +3 -1
- package/dist/solutions-components/p-f04fdb9a.js.map +1 -0
- package/dist/solutions-components/p-f477f146.entry.js +310 -0
- package/dist/solutions-components/p-f477f146.entry.js.map +1 -0
- package/dist/solutions-components/p-f48821a2.js +60 -7
- package/dist/solutions-components/p-f48821a2.js.map +1 -0
- package/dist/solutions-components/p-f496ed0c.entry.js +150 -0
- package/dist/solutions-components/p-f496ed0c.entry.js.map +1 -0
- package/dist/solutions-components/p-f759a6e7.js +196 -1
- package/dist/solutions-components/p-f759a6e7.js.map +1 -0
- package/dist/solutions-components/p-fc884dd6.js +30 -16
- package/dist/solutions-components/p-fc884dd6.js.map +1 -0
- package/dist/solutions-components/solutions-components.css +10531 -1
- package/dist/solutions-components/solutions-components.esm.js +22 -1
- package/dist/solutions-components/solutions-components.esm.js.map +1 -0
- package/dist/solutions-components/utils/solution-store.ts +3 -3
- package/dist/solutions-components_commit.txt +8 -6
- package/dist/types/components/solution-config-modal/solution-config-modal.d.ts +69 -0
- package/dist/types/components/solution-configuration/solution-configuration.d.ts +4 -2
- package/dist/types/components.d.ts +43 -5
- package/dist/types/preact.d.ts +4 -0
- package/package.json +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -447
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -437
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -62
- package/dist/esm/calcite-modal.entry.js +0 -443
- package/dist/esm/calcite-panel_2.entry.js +0 -432
- package/dist/esm/calcite-scrim.entry.js +0 -58
- package/dist/solutions-components/p-006c6ae1.entry.js +0 -11
- package/dist/solutions-components/p-04a37fc0.entry.js +0 -6
- package/dist/solutions-components/p-062dbde8.entry.js +0 -6
- package/dist/solutions-components/p-0b941521.entry.js +0 -11
- package/dist/solutions-components/p-0c80eb51.entry.js +0 -11
- package/dist/solutions-components/p-10501e21.entry.js +0 -23
- package/dist/solutions-components/p-109e4684.entry.js +0 -6
- package/dist/solutions-components/p-12dfd43e.entry.js +0 -11
- package/dist/solutions-components/p-1c3bcd99.entry.js +0 -12
- package/dist/solutions-components/p-1c589630.entry.js +0 -6
- package/dist/solutions-components/p-1fb471cf.entry.js +0 -11
- package/dist/solutions-components/p-23275dbd.entry.js +0 -6
- package/dist/solutions-components/p-236d76e7.entry.js +0 -11
- package/dist/solutions-components/p-29246858.entry.js +0 -11
- package/dist/solutions-components/p-2af67c67.entry.js +0 -6
- package/dist/solutions-components/p-2bee764f.entry.js +0 -11
- package/dist/solutions-components/p-2f6b4f04.entry.js +0 -6
- package/dist/solutions-components/p-305ae3fe.entry.js +0 -11
- package/dist/solutions-components/p-343e325d.entry.js +0 -11
- package/dist/solutions-components/p-3485601e.entry.js +0 -6
- package/dist/solutions-components/p-395e9b6c.entry.js +0 -6
- package/dist/solutions-components/p-39c5f2d2.entry.js +0 -6
- package/dist/solutions-components/p-3c4f2257.entry.js +0 -11
- package/dist/solutions-components/p-3c8ec7a3.entry.js +0 -12
- package/dist/solutions-components/p-4130fbcd.entry.js +0 -11
- package/dist/solutions-components/p-421cbb15.entry.js +0 -6
- package/dist/solutions-components/p-43fa414d.entry.js +0 -11
- package/dist/solutions-components/p-4760f22a.entry.js +0 -6
- package/dist/solutions-components/p-4fb6d2cf.entry.js +0 -11
- package/dist/solutions-components/p-54384555.entry.js +0 -11
- package/dist/solutions-components/p-5493f036.entry.js +0 -6
- package/dist/solutions-components/p-551fd063.entry.js +0 -11
- package/dist/solutions-components/p-5a61ef0d.entry.js +0 -6
- package/dist/solutions-components/p-6a3ce8f6.entry.js +0 -6
- package/dist/solutions-components/p-6b9dc092.js +0 -21
- package/dist/solutions-components/p-6be581f5.entry.js +0 -6
- package/dist/solutions-components/p-6cf432f9.entry.js +0 -11
- package/dist/solutions-components/p-70368b2b.entry.js +0 -6
- package/dist/solutions-components/p-708ffad0.entry.js +0 -11
- package/dist/solutions-components/p-7321ba65.entry.js +0 -11
- package/dist/solutions-components/p-75b35018.entry.js +0 -11
- package/dist/solutions-components/p-764c0a90.entry.js +0 -11
- package/dist/solutions-components/p-77031b01.entry.js +0 -11
- package/dist/solutions-components/p-778a1b4a.entry.js +0 -11
- package/dist/solutions-components/p-7cdc6089.entry.js +0 -6
- package/dist/solutions-components/p-81467529.entry.js +0 -6
- package/dist/solutions-components/p-834380d6.entry.js +0 -11
- package/dist/solutions-components/p-89cc843b.entry.js +0 -11
- package/dist/solutions-components/p-8e3a2736.entry.js +0 -11
- package/dist/solutions-components/p-8e8b182f.entry.js +0 -12
- package/dist/solutions-components/p-8f052987.entry.js +0 -11
- package/dist/solutions-components/p-93790a9e.entry.js +0 -37
- package/dist/solutions-components/p-9bbee464.entry.js +0 -6
- package/dist/solutions-components/p-9bdd4abe.entry.js +0 -17
- package/dist/solutions-components/p-a4a7d49d.entry.js +0 -17
- package/dist/solutions-components/p-a7036d68.entry.js +0 -11
- package/dist/solutions-components/p-ac91cd40.entry.js +0 -11
- package/dist/solutions-components/p-acd0a09f.entry.js +0 -11
- package/dist/solutions-components/p-acd3b2bf.entry.js +0 -11
- package/dist/solutions-components/p-aea937fb.entry.js +0 -12
- package/dist/solutions-components/p-b1b36556.entry.js +0 -11
- package/dist/solutions-components/p-b25f6ebe.js +0 -257
- package/dist/solutions-components/p-b2ae8634.entry.js +0 -6
- package/dist/solutions-components/p-ba104266.entry.js +0 -11
- package/dist/solutions-components/p-bfcab358.entry.js +0 -11
- package/dist/solutions-components/p-c848d1bd.entry.js +0 -29
- package/dist/solutions-components/p-c9766584.entry.js +0 -6
- package/dist/solutions-components/p-d2cc1b94.entry.js +0 -12
- package/dist/solutions-components/p-d51a72d2.entry.js +0 -11
- package/dist/solutions-components/p-d88fe54b.entry.js +0 -18
- package/dist/solutions-components/p-daee23cc.entry.js +0 -11
- package/dist/solutions-components/p-db7d14d5.entry.js +0 -12
- package/dist/solutions-components/p-dc724c1d.entry.js +0 -11
- package/dist/solutions-components/p-dc7bc20f.entry.js +0 -11
- package/dist/solutions-components/p-de242ea9.entry.js +0 -6
- package/dist/solutions-components/p-e4ebb82a.entry.js +0 -11
- package/dist/solutions-components/p-e64c5c11.entry.js +0 -6
- package/dist/solutions-components/p-e9e47eab.entry.js +0 -6
- package/dist/solutions-components/p-eb3be6d4.entry.js +0 -6
- package/dist/solutions-components/p-ed27c151.entry.js +0 -6
- package/dist/solutions-components/p-ef170bb1.entry.js +0 -6
- package/dist/solutions-components/p-f044863f.entry.js +0 -16
- package/dist/solutions-components/p-f0bae2f0.entry.js +0 -37
- package/dist/solutions-components/p-f5a3b34f.entry.js +0 -23
- package/dist/solutions-components/p-fa2575c2.entry.js +0 -6
- package/dist/solutions-components/p-fe0fdd8b.js +0 -36
@@ -3,26 +3,441 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h,
|
7
|
-
import {
|
8
|
-
import {
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement, f as forceUpdate, H as Host } from './index-15022d11.js';
|
7
|
+
import { S as SLOTS$4, C as CSS$3, I as ICONS$1, T as TEXT$1, H as HEADING_LEVEL } from './resources-9eb63965.js';
|
8
|
+
import { b as getElementDir, t as toAriaBoolean, a as getSlotted, i as isPrimaryPointerButton, n as nodeListToArray, l as filterDirectChildren, g as getElementProp } from './dom-e593bf85.js';
|
9
|
+
import { H as Heading } from './Heading-1efb4837.js';
|
10
|
+
import { S as SLOTS$5 } from './resources-d60362c3.js';
|
11
|
+
import { u as updateHostInteraction } from './interactive-822ffed6.js';
|
12
|
+
import { c as createObserver } from './observers-31601001.js';
|
9
13
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-bb4cab11.js';
|
14
|
+
import { c as clamp } from './math-552c5420.js';
|
10
15
|
import { g as guid } from './guid-15fce7c0.js';
|
11
|
-
import { c as createObserver } from './observers-31601001.js';
|
12
|
-
import { u as updateHostInteraction } from './interactive-822ffed6.js';
|
13
16
|
import { S as Sortable } from './sortable.esm-3b2eaa5c.js';
|
14
17
|
import { o as getItemIndex, m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, p as moveItemIndex, i as initialize, b as initializeObserver, c as cleanUpObserver, j as calciteListFocusOutHandler, r as removeItem, e as calciteListItemChangeHandler, f as calciteInternalListItemValueChangeHandler, l as setUpItems, n as setFocus, L as List } from './shared-list-render-4e9d47a3.js';
|
15
18
|
import { I as ICON_TYPES$1 } from './resources-2235e4ff.js';
|
16
|
-
import { C as CSS$
|
19
|
+
import { C as CSS$4, S as SLOTS$6 } from './resources-e3a5cf27.js';
|
17
20
|
import { g as getLocaleComponentStrings } from './locale-0e10d7e5.js';
|
18
|
-
import { s as state, E as EFileType } from './solution-store-b3c65467.js';
|
19
|
-
import { c as EUpdateType } from './interfaces-e2a2064d.js';
|
20
21
|
import './resources-436ae282.js';
|
21
22
|
import './array-2ab3b18f.js';
|
22
23
|
import './resources-78132e50.js';
|
23
24
|
import './debounce-4c884e5c.js';
|
24
25
|
import './_commonjsHelpers-8fd39c50.js';
|
25
|
-
|
26
|
+
|
27
|
+
const panelCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}.header{-webkit-border-after:1px solid;border-block-end:1px solid;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{-webkit-margin-after:0px;margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{-webkit-margin-start:auto;margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{-webkit-border-before:1px solid;border-block-start:1px solid;position:sticky;inset-block-end:0px;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";
|
28
|
+
|
29
|
+
const Panel = class {
|
30
|
+
constructor(hostRef) {
|
31
|
+
registerInstance(this, hostRef);
|
32
|
+
this.calcitePanelClose = createEvent(this, "calcitePanelClose", 6);
|
33
|
+
this.calcitePanelDismiss = createEvent(this, "calcitePanelDismiss", 6);
|
34
|
+
this.calcitePanelDismissedChange = createEvent(this, "calcitePanelDismissedChange", 6);
|
35
|
+
this.calcitePanelScroll = createEvent(this, "calcitePanelScroll", 6);
|
36
|
+
this.calcitePanelBackClick = createEvent(this, "calcitePanelBackClick", 6);
|
37
|
+
// --------------------------------------------------------------------------
|
38
|
+
//
|
39
|
+
// Properties
|
40
|
+
//
|
41
|
+
// --------------------------------------------------------------------------
|
42
|
+
/**
|
43
|
+
* When `true`, hides the component.
|
44
|
+
*
|
45
|
+
* @deprecated use `closed` instead.
|
46
|
+
*/
|
47
|
+
this.dismissed = false;
|
48
|
+
/** When `true`, the component will be hidden. */
|
49
|
+
this.closed = false;
|
50
|
+
/**
|
51
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
52
|
+
*/
|
53
|
+
this.disabled = false;
|
54
|
+
/**
|
55
|
+
* When `true`, a close button is added to the component.
|
56
|
+
*
|
57
|
+
* @deprecated use `closable` instead
|
58
|
+
*/
|
59
|
+
this.dismissible = false;
|
60
|
+
/** When `true`, displays a close button in the trailing side of the header. */
|
61
|
+
this.closable = false;
|
62
|
+
/**
|
63
|
+
* When `true`, displays a back button in the header.
|
64
|
+
*
|
65
|
+
* @deprecated use `calcite-flow-item` instead.
|
66
|
+
*/
|
67
|
+
this.showBackButton = false;
|
68
|
+
/**
|
69
|
+
* When `true`, a busy indicator is displayed.
|
70
|
+
*/
|
71
|
+
this.loading = false;
|
72
|
+
/**
|
73
|
+
* When `true`, the action menu items in the `header-menu-actions` slot are open.
|
74
|
+
*/
|
75
|
+
this.menuOpen = false;
|
76
|
+
this.resizeObserver = createObserver("resize", () => this.resizeHandler());
|
77
|
+
this.hasStartActions = false;
|
78
|
+
this.hasEndActions = false;
|
79
|
+
this.hasMenuItems = false;
|
80
|
+
this.hasHeaderContent = false;
|
81
|
+
this.hasFooterContent = false;
|
82
|
+
this.hasFooterActions = false;
|
83
|
+
this.hasFab = false;
|
84
|
+
// --------------------------------------------------------------------------
|
85
|
+
//
|
86
|
+
// Private Methods
|
87
|
+
//
|
88
|
+
// --------------------------------------------------------------------------
|
89
|
+
this.resizeHandler = () => {
|
90
|
+
const { panelScrollEl } = this;
|
91
|
+
if (!panelScrollEl ||
|
92
|
+
typeof panelScrollEl.scrollHeight !== "number" ||
|
93
|
+
typeof panelScrollEl.offsetHeight !== "number") {
|
94
|
+
return;
|
95
|
+
}
|
96
|
+
panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;
|
97
|
+
};
|
98
|
+
this.setContainerRef = (node) => {
|
99
|
+
this.containerEl = node;
|
100
|
+
};
|
101
|
+
this.setCloseRef = (node) => {
|
102
|
+
this.closeButtonEl = node;
|
103
|
+
};
|
104
|
+
this.setBackRef = (node) => {
|
105
|
+
this.backButtonEl = node;
|
106
|
+
};
|
107
|
+
this.panelKeyDownHandler = (event) => {
|
108
|
+
if (this.closable && event.key === "Escape" && !event.defaultPrevented) {
|
109
|
+
this.close();
|
110
|
+
event.preventDefault();
|
111
|
+
}
|
112
|
+
};
|
113
|
+
this.close = () => {
|
114
|
+
this.closed = true;
|
115
|
+
this.calcitePanelDismiss.emit();
|
116
|
+
this.calcitePanelClose.emit();
|
117
|
+
};
|
118
|
+
this.panelScrollHandler = () => {
|
119
|
+
this.calcitePanelScroll.emit();
|
120
|
+
};
|
121
|
+
this.backButtonClick = () => {
|
122
|
+
this.calcitePanelBackClick.emit();
|
123
|
+
};
|
124
|
+
this.handleHeaderActionsStartSlotChange = (event) => {
|
125
|
+
const elements = event.target.assignedElements({
|
126
|
+
flatten: true
|
127
|
+
});
|
128
|
+
this.hasStartActions = !!elements.length;
|
129
|
+
};
|
130
|
+
this.handleHeaderActionsEndSlotChange = (event) => {
|
131
|
+
const elements = event.target.assignedElements({
|
132
|
+
flatten: true
|
133
|
+
});
|
134
|
+
this.hasEndActions = !!elements.length;
|
135
|
+
};
|
136
|
+
this.handleHeaderMenuActionsSlotChange = (event) => {
|
137
|
+
const elements = event.target.assignedElements({
|
138
|
+
flatten: true
|
139
|
+
});
|
140
|
+
this.hasMenuItems = !!elements.length;
|
141
|
+
};
|
142
|
+
this.handleHeaderContentSlotChange = (event) => {
|
143
|
+
const elements = event.target.assignedElements({
|
144
|
+
flatten: true
|
145
|
+
});
|
146
|
+
this.hasHeaderContent = !!elements.length;
|
147
|
+
};
|
148
|
+
this.handleFooterSlotChange = (event) => {
|
149
|
+
const elements = event.target.assignedElements({
|
150
|
+
flatten: true
|
151
|
+
});
|
152
|
+
this.hasFooterContent = !!elements.length;
|
153
|
+
};
|
154
|
+
this.handleFooterActionsSlotChange = (event) => {
|
155
|
+
const elements = event.target.assignedElements({
|
156
|
+
flatten: true
|
157
|
+
});
|
158
|
+
this.hasFooterActions = !!elements.length;
|
159
|
+
};
|
160
|
+
this.handleFabSlotChange = (event) => {
|
161
|
+
const elements = event.target.assignedElements({
|
162
|
+
flatten: true
|
163
|
+
});
|
164
|
+
this.hasFab = !!elements.length;
|
165
|
+
};
|
166
|
+
this.setPanelScrollEl = (el) => {
|
167
|
+
var _a, _b;
|
168
|
+
this.panelScrollEl = el;
|
169
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
170
|
+
if (el) {
|
171
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
172
|
+
this.resizeHandler();
|
173
|
+
}
|
174
|
+
};
|
175
|
+
}
|
176
|
+
dismissedHandler(value) {
|
177
|
+
this.closed = value;
|
178
|
+
this.calcitePanelDismissedChange.emit();
|
179
|
+
}
|
180
|
+
closedHandler(value) {
|
181
|
+
this.dismissed = value;
|
182
|
+
}
|
183
|
+
dismissibleHandler(value) {
|
184
|
+
this.closable = value;
|
185
|
+
}
|
186
|
+
closableHandler(value) {
|
187
|
+
this.dismissible = value;
|
188
|
+
}
|
189
|
+
//--------------------------------------------------------------------------
|
190
|
+
//
|
191
|
+
// Lifecycle
|
192
|
+
//
|
193
|
+
//--------------------------------------------------------------------------
|
194
|
+
componentDidRender() {
|
195
|
+
updateHostInteraction(this);
|
196
|
+
}
|
197
|
+
// --------------------------------------------------------------------------
|
198
|
+
//
|
199
|
+
// Lifecycle
|
200
|
+
//
|
201
|
+
// --------------------------------------------------------------------------
|
202
|
+
connectedCallback() {
|
203
|
+
const isClosed = this.dismissed || this.closed;
|
204
|
+
const isClosable = this.dismissible || this.closable;
|
205
|
+
if (isClosed) {
|
206
|
+
this.dismissedHandler(isClosed);
|
207
|
+
this.closedHandler(isClosed);
|
208
|
+
}
|
209
|
+
if (isClosable) {
|
210
|
+
this.dismissibleHandler(isClosable);
|
211
|
+
this.closableHandler(isClosable);
|
212
|
+
}
|
213
|
+
}
|
214
|
+
disconnectedCallback() {
|
215
|
+
var _a;
|
216
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
217
|
+
}
|
218
|
+
// --------------------------------------------------------------------------
|
219
|
+
//
|
220
|
+
// Methods
|
221
|
+
//
|
222
|
+
// --------------------------------------------------------------------------
|
223
|
+
/**
|
224
|
+
* Sets focus on the component.
|
225
|
+
*
|
226
|
+
* @param focusId
|
227
|
+
*/
|
228
|
+
async setFocus(focusId) {
|
229
|
+
const { backButtonEl, closeButtonEl, containerEl } = this;
|
230
|
+
if (focusId === "back-button") {
|
231
|
+
backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
|
232
|
+
return;
|
233
|
+
}
|
234
|
+
if (focusId === "dismiss-button") {
|
235
|
+
closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
|
236
|
+
return;
|
237
|
+
}
|
238
|
+
if (backButtonEl) {
|
239
|
+
backButtonEl.setFocus();
|
240
|
+
return;
|
241
|
+
}
|
242
|
+
if (closeButtonEl) {
|
243
|
+
closeButtonEl.setFocus();
|
244
|
+
return;
|
245
|
+
}
|
246
|
+
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
247
|
+
}
|
248
|
+
/**
|
249
|
+
* Scrolls the component's content to a specified set of coordinates.
|
250
|
+
*
|
251
|
+
* @example
|
252
|
+
* myCalciteFlowItem.scrollContentTo({
|
253
|
+
* left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
|
254
|
+
* top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
|
255
|
+
* behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
|
256
|
+
* });
|
257
|
+
* @param options
|
258
|
+
*/
|
259
|
+
async scrollContentTo(options) {
|
260
|
+
var _a;
|
261
|
+
(_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
|
262
|
+
}
|
263
|
+
// --------------------------------------------------------------------------
|
264
|
+
//
|
265
|
+
// Render Methods
|
266
|
+
//
|
267
|
+
// --------------------------------------------------------------------------
|
268
|
+
renderBackButton() {
|
269
|
+
const { el } = this;
|
270
|
+
const rtl = getElementDir(el) === "rtl";
|
271
|
+
const { showBackButton, intlBack, backButtonClick } = this;
|
272
|
+
const label = intlBack || TEXT$1.back;
|
273
|
+
const icon = rtl ? ICONS$1.backRight : ICONS$1.backLeft;
|
274
|
+
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$3.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$4.headerActionsStart, text: label })) : null;
|
275
|
+
}
|
276
|
+
renderHeaderContent() {
|
277
|
+
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
278
|
+
const headingNode = heading ? (h(Heading, { class: CSS$3.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;
|
279
|
+
const descriptionNode = description || summary ? h("span", { class: CSS$3.description }, description || summary) : null;
|
280
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS$3.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
281
|
+
}
|
282
|
+
/**
|
283
|
+
* Allows user to override the entire header-content node.
|
284
|
+
*/
|
285
|
+
renderHeaderSlottedContent() {
|
286
|
+
return (h("div", { class: CSS$3.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, h("slot", { name: SLOTS$4.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
287
|
+
}
|
288
|
+
renderHeaderStartActions() {
|
289
|
+
const { hasStartActions } = this;
|
290
|
+
return (h("div", { class: { [CSS$3.headerActionsStart]: true, [CSS$3.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, h("slot", { name: SLOTS$4.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
291
|
+
}
|
292
|
+
renderHeaderActionsEnd() {
|
293
|
+
const { close, hasEndActions, intlClose, closable } = this;
|
294
|
+
const text = intlClose || TEXT$1.close;
|
295
|
+
const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS$1.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
296
|
+
const slotNode = (h("slot", { name: SLOTS$4.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
297
|
+
const showContainer = hasEndActions || closableNode;
|
298
|
+
return (h("div", { class: { [CSS$3.headerActionsEnd]: true, [CSS$3.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
299
|
+
}
|
300
|
+
renderMenu() {
|
301
|
+
const { hasMenuItems, intlOptions, menuOpen } = this;
|
302
|
+
return (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || TEXT$1.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$1.menu, slot: SLOTS$5.trigger, text: intlOptions || TEXT$1.options }), h("slot", { name: SLOTS$4.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
303
|
+
}
|
304
|
+
renderHeaderNode() {
|
305
|
+
const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
306
|
+
const headerContentNode = this.renderHeaderContent();
|
307
|
+
const showHeader = showBackButton ||
|
308
|
+
hasHeaderContent ||
|
309
|
+
headerContentNode ||
|
310
|
+
hasStartActions ||
|
311
|
+
hasEndActions ||
|
312
|
+
closable ||
|
313
|
+
hasMenuItems;
|
314
|
+
return (h("header", { class: CSS$3.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
315
|
+
}
|
316
|
+
renderFooterNode() {
|
317
|
+
const { hasFooterContent, hasFooterActions } = this;
|
318
|
+
const showFooter = hasFooterContent || hasFooterActions;
|
319
|
+
return (h("footer", { class: CSS$3.footer, hidden: !showFooter }, h("slot", { key: "footer-slot", name: SLOTS$4.footer, onSlotchange: this.handleFooterSlotChange }), h("slot", { key: "footer-actions-slot", name: SLOTS$4.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
320
|
+
}
|
321
|
+
renderContent() {
|
322
|
+
const { hasFab } = this;
|
323
|
+
const defaultSlotNode = h("slot", { key: "default-slot" });
|
324
|
+
const containerNode = hasFab ? (h("section", { class: CSS$3.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
325
|
+
return (h("div", { class: {
|
326
|
+
[CSS$3.contentWrapper]: true,
|
327
|
+
[CSS$3.contentContainer]: !hasFab,
|
328
|
+
[CSS$3.contentHeight]: hasFab
|
329
|
+
}, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
330
|
+
}
|
331
|
+
renderFab() {
|
332
|
+
return (h("div", { class: CSS$3.fabContainer, hidden: !this.hasFab }, h("slot", { name: SLOTS$4.fab, onSlotchange: this.handleFabSlotChange })));
|
333
|
+
}
|
334
|
+
render() {
|
335
|
+
const { loading, panelKeyDownHandler, closed, closable } = this;
|
336
|
+
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS$3.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
337
|
+
return (h(Fragment, null, loading ? h("calcite-scrim", { loading: loading }) : null, panelNode));
|
338
|
+
}
|
339
|
+
get el() { return getElement(this); }
|
340
|
+
static get watchers() { return {
|
341
|
+
"dismissed": ["dismissedHandler"],
|
342
|
+
"closed": ["closedHandler"],
|
343
|
+
"dismissible": ["dismissibleHandler"],
|
344
|
+
"closable": ["closableHandler"]
|
345
|
+
}; }
|
346
|
+
};
|
347
|
+
Panel.style = panelCss;
|
348
|
+
|
349
|
+
/*!
|
350
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
351
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
352
|
+
* v1.0.0-beta.97
|
353
|
+
*/
|
354
|
+
const CSS$2 = {
|
355
|
+
main: "main",
|
356
|
+
mainReversed: "main--reversed",
|
357
|
+
content: "content",
|
358
|
+
contentBehind: "content--behind",
|
359
|
+
footer: "footer"
|
360
|
+
};
|
361
|
+
const SLOTS$3 = {
|
362
|
+
centerRow: "center-row",
|
363
|
+
primaryPanel: "primary-panel",
|
364
|
+
contextualPanel: "contextual-panel",
|
365
|
+
panelStart: "panel-start",
|
366
|
+
panelEnd: "panel-end",
|
367
|
+
header: "header",
|
368
|
+
footer: "footer"
|
369
|
+
};
|
370
|
+
|
371
|
+
const shellCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.main--reversed{flex-direction:row-reverse}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";
|
372
|
+
|
373
|
+
const Shell = class {
|
374
|
+
constructor(hostRef) {
|
375
|
+
registerInstance(this, hostRef);
|
376
|
+
// --------------------------------------------------------------------------
|
377
|
+
//
|
378
|
+
// Properties
|
379
|
+
//
|
380
|
+
// --------------------------------------------------------------------------
|
381
|
+
/**
|
382
|
+
* Positions the center content behind any `calcite-shell-panel`s.
|
383
|
+
*/
|
384
|
+
this.contentBehind = false;
|
385
|
+
}
|
386
|
+
// --------------------------------------------------------------------------
|
387
|
+
//
|
388
|
+
// Lifecycle
|
389
|
+
//
|
390
|
+
// --------------------------------------------------------------------------
|
391
|
+
connectedCallback() {
|
392
|
+
connectConditionalSlotComponent(this);
|
393
|
+
}
|
394
|
+
disconnectedCallback() {
|
395
|
+
disconnectConditionalSlotComponent(this);
|
396
|
+
}
|
397
|
+
// --------------------------------------------------------------------------
|
398
|
+
//
|
399
|
+
// Render Methods
|
400
|
+
//
|
401
|
+
// --------------------------------------------------------------------------
|
402
|
+
renderHeader() {
|
403
|
+
const hasHeader = !!getSlotted(this.el, SLOTS$3.header);
|
404
|
+
return hasHeader ? h("slot", { key: "header", name: SLOTS$3.header }) : null;
|
405
|
+
}
|
406
|
+
renderContent() {
|
407
|
+
const defaultSlotNode = h("slot", { key: "default-slot" });
|
408
|
+
const centerRowSlotNode = h("slot", { key: "center-row-slot", name: SLOTS$3.centerRow });
|
409
|
+
const contentContainerKey = "content-container";
|
410
|
+
const content = !!this.contentBehind
|
411
|
+
? [
|
412
|
+
h("div", { class: {
|
413
|
+
[CSS$2.content]: true,
|
414
|
+
[CSS$2.contentBehind]: true
|
415
|
+
}, key: contentContainerKey }, defaultSlotNode),
|
416
|
+
centerRowSlotNode
|
417
|
+
]
|
418
|
+
: [
|
419
|
+
h("div", { class: CSS$2.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
420
|
+
];
|
421
|
+
return content;
|
422
|
+
}
|
423
|
+
renderFooter() {
|
424
|
+
const hasFooter = !!getSlotted(this.el, SLOTS$3.footer);
|
425
|
+
return hasFooter ? (h("div", { class: CSS$2.footer, key: "footer" }, h("slot", { name: SLOTS$3.footer }))) : null;
|
426
|
+
}
|
427
|
+
renderMain() {
|
428
|
+
const primaryPanel = getSlotted(this.el, SLOTS$3.primaryPanel);
|
429
|
+
const mainClasses = {
|
430
|
+
[CSS$2.main]: true,
|
431
|
+
[CSS$2.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
|
432
|
+
};
|
433
|
+
return (h("div", { class: mainClasses }, h("slot", { name: SLOTS$3.primaryPanel }), h("slot", { name: SLOTS$3.panelStart }), this.renderContent(), h("slot", { name: SLOTS$3.panelEnd }), h("slot", { name: SLOTS$3.contextualPanel })));
|
434
|
+
}
|
435
|
+
render() {
|
436
|
+
return (h(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter()));
|
437
|
+
}
|
438
|
+
get el() { return getElement(this); }
|
439
|
+
};
|
440
|
+
Shell.style = shellCss;
|
26
441
|
|
27
442
|
/*!
|
28
443
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -1377,19 +1792,19 @@ const ValueListItem = class {
|
|
1377
1792
|
renderActionsEnd() {
|
1378
1793
|
const { el } = this;
|
1379
1794
|
const hasActionsEnd = getSlotted(el, SLOTS.actionsEnd);
|
1380
|
-
return hasActionsEnd ? (h("slot", { name: SLOTS.actionsEnd, slot: SLOTS$
|
1795
|
+
return hasActionsEnd ? (h("slot", { name: SLOTS.actionsEnd, slot: SLOTS$6.actionsEnd })) : null;
|
1381
1796
|
}
|
1382
1797
|
renderActionsStart() {
|
1383
1798
|
const { el } = this;
|
1384
1799
|
const hasActionsStart = getSlotted(el, SLOTS.actionsStart);
|
1385
|
-
return hasActionsStart ? (h("slot", { name: SLOTS.actionsStart, slot: SLOTS$
|
1800
|
+
return hasActionsStart ? (h("slot", { name: SLOTS.actionsStart, slot: SLOTS$6.actionsStart })) : null;
|
1386
1801
|
}
|
1387
1802
|
renderHandle() {
|
1388
1803
|
const { icon } = this;
|
1389
1804
|
if (icon === ICON_TYPES$1.grip) {
|
1390
1805
|
return (h("span", { class: {
|
1391
|
-
[CSS$
|
1392
|
-
[CSS$
|
1806
|
+
[CSS$4.handle]: true,
|
1807
|
+
[CSS$4.handleActivated]: this.handleActivated
|
1393
1808
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, h("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|
1394
1809
|
}
|
1395
1810
|
}
|
@@ -1790,24 +2205,18 @@ const JsonEditor = class {
|
|
1790
2205
|
};
|
1791
2206
|
JsonEditor.style = jsonEditorCss;
|
1792
2207
|
|
1793
|
-
const
|
2208
|
+
const solutionOrganizationVariablesCss = ":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{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";
|
1794
2209
|
|
1795
|
-
const
|
2210
|
+
const SolutionOrganizationVariables = class {
|
1796
2211
|
constructor(hostRef) {
|
1797
2212
|
registerInstance(this, hostRef);
|
1798
|
-
this.
|
1799
|
-
this.
|
1800
|
-
|
1801
|
-
description: "",
|
1802
|
-
licenseInfo: "",
|
1803
|
-
snippet: "",
|
1804
|
-
tags: [],
|
1805
|
-
title: ""
|
1806
|
-
};
|
1807
|
-
this.itemEdit = undefined;
|
2213
|
+
this.organizationVariableSelected = createEvent(this, "organizationVariableSelected", 7);
|
2214
|
+
this.value = "";
|
2215
|
+
this._organizationVariables = [];
|
1808
2216
|
this._translations = undefined;
|
1809
|
-
|
1810
|
-
|
2217
|
+
}
|
2218
|
+
valueWatchHandler() {
|
2219
|
+
this._organizationVariables = JSON.parse(this.value);
|
1811
2220
|
}
|
1812
2221
|
//--------------------------------------------------------------------------
|
1813
2222
|
//
|
@@ -1820,70 +2229,14 @@ const SolutionItemDetails = class {
|
|
1820
2229
|
async componentWillLoad() {
|
1821
2230
|
return this._getTranslations();
|
1822
2231
|
}
|
1823
|
-
async componentWillRender() {
|
1824
|
-
this.itemEdit = state.getItemInfo(this.itemId);
|
1825
|
-
if (this.itemEdit) {
|
1826
|
-
this.itemDetails = this.itemEdit.item;
|
1827
|
-
this.itemType = this.itemDetails.type;
|
1828
|
-
}
|
1829
|
-
return Promise.resolve();
|
1830
|
-
}
|
1831
2232
|
/**
|
1832
2233
|
* Renders the component.
|
1833
2234
|
*/
|
1834
2235
|
render() {
|
1835
|
-
return (h(Host, null, h("div",
|
1836
|
-
}
|
1837
|
-
componentDidRender() {
|
1838
|
-
this._loadThumb();
|
1839
|
-
}
|
1840
|
-
//--------------------------------------------------------------------------
|
1841
|
-
//
|
1842
|
-
// Event Listeners
|
1843
|
-
//
|
1844
|
-
//--------------------------------------------------------------------------
|
1845
|
-
/**
|
1846
|
-
* Updates the component's value with changes to the input fields.
|
1847
|
-
*/
|
1848
|
-
inputReceivedHandler(event) {
|
1849
|
-
switch (event.target.id) {
|
1850
|
-
case "item-title":
|
1851
|
-
this.itemDetails.title = event.target.value;
|
1852
|
-
this._updateStore();
|
1853
|
-
break;
|
1854
|
-
case "item-snippet":
|
1855
|
-
if (event.target.value.length > 250) {
|
1856
|
-
event.target.value = event.target.value.substring(0, 250);
|
1857
|
-
}
|
1858
|
-
this.itemDetails.snippet = event.target.value;
|
1859
|
-
this._updateLengthLabel(this.itemDetails.snippet);
|
1860
|
-
this._updateStore();
|
1861
|
-
break;
|
1862
|
-
case "item-description":
|
1863
|
-
this.itemDetails.description = event.target.value;
|
1864
|
-
this._updateStore();
|
1865
|
-
break;
|
1866
|
-
case "item-tags":
|
1867
|
-
this.itemDetails.tags = event.target.value;
|
1868
|
-
this._updateStore();
|
1869
|
-
break;
|
1870
|
-
case "item-credits":
|
1871
|
-
this.itemDetails.accessInformation = event.target.value;
|
1872
|
-
this._updateStore();
|
1873
|
-
break;
|
1874
|
-
case "item-terms":
|
1875
|
-
this.itemDetails.licenseInfo = event.target.value;
|
1876
|
-
this._updateStore();
|
1877
|
-
break;
|
1878
|
-
}
|
2236
|
+
return (h(Host, null, h("div", null, h("h4", { class: "org-var-header" }, this._translations.orgVariables)), h("div", { class: "container-border" }, h("calcite-tree", { id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
1879
2237
|
}
|
1880
2238
|
//--------------------------------------------------------------------------
|
1881
2239
|
//
|
1882
|
-
// Events
|
1883
|
-
//
|
1884
|
-
//--------------------------------------------------------------------------
|
1885
|
-
//--------------------------------------------------------------------------
|
1886
|
-
//
|
1887
2240
|
// Public Methods (async)
|
1888
2241
|
//
|
1889
2242
|
//--------------------------------------------------------------------------
|
@@ -1893,67 +2246,27 @@ const SolutionItemDetails = class {
|
|
1893
2246
|
//
|
1894
2247
|
//--------------------------------------------------------------------------
|
1895
2248
|
/**
|
1896
|
-
*
|
1897
|
-
*
|
1898
|
-
*/
|
1899
|
-
_getThumbnail() {
|
1900
|
-
this.browseForThumbnail.click();
|
1901
|
-
}
|
1902
|
-
/**
|
1903
|
-
* Load the templates thumbnail
|
1904
|
-
*
|
1905
|
-
*/
|
1906
|
-
_loadThumb() {
|
1907
|
-
var _a;
|
1908
|
-
if (this.thumbnail && ((_a = this.itemEdit) === null || _a === void 0 ? void 0 : _a.thumbnail)) {
|
1909
|
-
// Show the thumbnail
|
1910
|
-
this.thumbnail.src = URL.createObjectURL(this.itemEdit.thumbnail);
|
1911
|
-
this.thumbnailContainer.classList.remove("empty-box");
|
1912
|
-
this.thumbnail.classList.remove("display-none");
|
1913
|
-
}
|
1914
|
-
else {
|
1915
|
-
// Replace the thumbnail with an empty box
|
1916
|
-
this.thumbnailContainer.classList.add("empty-box");
|
1917
|
-
this.thumbnail.classList.add("display-none");
|
1918
|
-
}
|
1919
|
-
}
|
1920
|
-
/**
|
1921
|
-
* Updates the length label to reflect the current number of characters
|
1922
|
-
* relative to the max number of characters supported.
|
2249
|
+
* Renders the organization based variable items the user can insert at runtime
|
1923
2250
|
*
|
1924
|
-
* @param
|
1925
|
-
*/
|
1926
|
-
_updateLengthLabel(phrase) {
|
1927
|
-
this.itemSnippetCount.innerText =
|
1928
|
-
this._translations.snippetCountPattern.replace("{{n}}", phrase.length.toString());
|
1929
|
-
}
|
1930
|
-
/**
|
1931
|
-
* Add or remove the value from the store
|
2251
|
+
* @param objs a list of organization variables to render
|
1932
2252
|
*/
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
2253
|
+
_renderHierarchy(objs) {
|
2254
|
+
const hierarchy = objs.map(obj => {
|
2255
|
+
return (h("calcite-tree-item", { onClick: () => this._treeItemSelected(obj.id, obj.value) }, obj.title));
|
2256
|
+
});
|
2257
|
+
return hierarchy;
|
1937
2258
|
}
|
1938
2259
|
/**
|
1939
|
-
*
|
2260
|
+
* Publishes the `organizationVariableSelected` event containing `itemId`, the id of the selected variable and the value of the variable.
|
1940
2261
|
*
|
1941
|
-
* @param
|
1942
|
-
* @param
|
1943
|
-
* should be false on the initial load but true the rest of the time
|
2262
|
+
* @param itemId Item id as reported by click event
|
2263
|
+
* @param value Variable id as reported by click event
|
1944
2264
|
*/
|
1945
|
-
|
1946
|
-
|
1947
|
-
|
1948
|
-
|
1949
|
-
|
1950
|
-
this.thumbnail.src = URL.createObjectURL(files[0]);
|
1951
|
-
// Update info in store
|
1952
|
-
this.itemEdit = state.getItemInfo(this.itemId);
|
1953
|
-
this.itemEdit.thumbnail = files[0];
|
1954
|
-
state.replaceItemThumbnail(this.itemEdit);
|
1955
|
-
}
|
1956
|
-
}
|
2265
|
+
_treeItemSelected(itemId, value) {
|
2266
|
+
this.organizationVariableSelected.emit({
|
2267
|
+
itemId,
|
2268
|
+
value
|
2269
|
+
});
|
1957
2270
|
}
|
1958
2271
|
/**
|
1959
2272
|
* Fetches the component's translations
|
@@ -1965,21 +2278,24 @@ const SolutionItemDetails = class {
|
|
1965
2278
|
this._translations = translations[0];
|
1966
2279
|
}
|
1967
2280
|
get el() { return getElement(this); }
|
2281
|
+
static get watchers() { return {
|
2282
|
+
"value": ["valueWatchHandler"]
|
2283
|
+
}; }
|
1968
2284
|
};
|
1969
|
-
|
2285
|
+
SolutionOrganizationVariables.style = solutionOrganizationVariablesCss;
|
1970
2286
|
|
1971
|
-
const
|
2287
|
+
const solutionVariablesCss = ":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{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
|
1972
2288
|
|
1973
|
-
const
|
2289
|
+
const SolutionVariables = class {
|
1974
2290
|
constructor(hostRef) {
|
1975
2291
|
registerInstance(this, hostRef);
|
1976
|
-
this.
|
2292
|
+
this.solutionVariableSelected = createEvent(this, "solutionVariableSelected", 7);
|
2293
|
+
this.value = "";
|
2294
|
+
this._solutionVariables = [];
|
1977
2295
|
this._translations = undefined;
|
1978
|
-
this.sharing = [];
|
1979
2296
|
}
|
1980
|
-
|
1981
|
-
|
1982
|
-
this.sharing = itemEdit.groupDetails;
|
2297
|
+
valueWatchHandler() {
|
2298
|
+
this._solutionVariables = JSON.parse(this.value);
|
1983
2299
|
}
|
1984
2300
|
//--------------------------------------------------------------------------
|
1985
2301
|
//
|
@@ -1989,572 +2305,14 @@ const SolutionItemSharing = class {
|
|
1989
2305
|
/**
|
1990
2306
|
* StencilJS: Called once just after the component is first connected to the DOM.
|
1991
2307
|
*/
|
1992
|
-
|
2308
|
+
componentWillLoad() {
|
1993
2309
|
return this._getTranslations();
|
1994
2310
|
}
|
1995
2311
|
/**
|
1996
2312
|
* Renders the component.
|
1997
2313
|
*/
|
1998
2314
|
render() {
|
1999
|
-
return (h(Host, null, h("div", { class: "container-border" }, h("calcite-
|
2000
|
-
}
|
2001
|
-
//--------------------------------------------------------------------------
|
2002
|
-
//
|
2003
|
-
// Event Listeners
|
2004
|
-
//
|
2005
|
-
//--------------------------------------------------------------------------
|
2006
|
-
//--------------------------------------------------------------------------
|
2007
|
-
//
|
2008
|
-
// Events
|
2009
|
-
//
|
2010
|
-
//--------------------------------------------------------------------------
|
2011
|
-
//--------------------------------------------------------------------------
|
2012
|
-
//
|
2013
|
-
// Public Methods (async)
|
2014
|
-
//
|
2015
|
-
//--------------------------------------------------------------------------
|
2016
|
-
async getShareInfo() {
|
2017
|
-
return this.sharing;
|
2018
|
-
}
|
2019
|
-
//--------------------------------------------------------------------------
|
2020
|
-
//
|
2021
|
-
// Private Methods
|
2022
|
-
//
|
2023
|
-
//--------------------------------------------------------------------------
|
2024
|
-
/**
|
2025
|
-
* Render share options based on the list of share details
|
2026
|
-
*
|
2027
|
-
* @param objs list of IItemShare objects that are used to expose and store share info for the solutions items
|
2028
|
-
*/
|
2029
|
-
_renderItems(objs) {
|
2030
|
-
return objs && objs.length > 0
|
2031
|
-
? objs.map(item => {
|
2032
|
-
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)));
|
2033
|
-
})
|
2034
|
-
: null;
|
2035
|
-
}
|
2036
|
-
/**
|
2037
|
-
* Update the items share prop based on the switch state
|
2038
|
-
*
|
2039
|
-
* @param event onCalciteSwitchChange event
|
2040
|
-
*/
|
2041
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
2042
|
-
_updateItem(event) {
|
2043
|
-
const id = event.target.id;
|
2044
|
-
this.sharing = this.sharing.map((itemShare) => {
|
2045
|
-
if (itemShare.id === id) {
|
2046
|
-
// update the item
|
2047
|
-
itemShare.shareItem = event.detail.switched;
|
2048
|
-
// update the item in the store
|
2049
|
-
const itemEdit = state.getItemInfo(id);
|
2050
|
-
if (itemShare.shareItem) {
|
2051
|
-
// Add the group to the item if it's not already there
|
2052
|
-
if (!itemEdit.groups) {
|
2053
|
-
itemEdit.groups = [this.groupId];
|
2054
|
-
}
|
2055
|
-
else if (itemEdit.groups.indexOf(this.groupId) < 0) {
|
2056
|
-
itemEdit.groups.push(this.groupId);
|
2057
|
-
}
|
2058
|
-
}
|
2059
|
-
else {
|
2060
|
-
// Remove the group from the item if it's there
|
2061
|
-
if (itemEdit.groups) {
|
2062
|
-
const i = itemEdit.groups.indexOf(this.groupId);
|
2063
|
-
if (i > -1) {
|
2064
|
-
itemEdit.groups.splice(i, 1);
|
2065
|
-
}
|
2066
|
-
}
|
2067
|
-
}
|
2068
|
-
state.setItemInfo(itemEdit);
|
2069
|
-
}
|
2070
|
-
return itemShare;
|
2071
|
-
});
|
2072
|
-
}
|
2073
|
-
/**
|
2074
|
-
* Fetches the component's translations
|
2075
|
-
*
|
2076
|
-
* @protected
|
2077
|
-
*/
|
2078
|
-
async _getTranslations() {
|
2079
|
-
const translations = await getLocaleComponentStrings(this.el);
|
2080
|
-
this._translations = translations[0];
|
2081
|
-
}
|
2082
|
-
get el() { return getElement(this); }
|
2083
|
-
static get watchers() { return {
|
2084
|
-
"groupId": ["itemIdWatchHandler"]
|
2085
|
-
}; }
|
2086
|
-
};
|
2087
|
-
SolutionItemSharing.style = solutionItemSharingCss;
|
2088
|
-
|
2089
|
-
const solutionOrganizationVariablesCss = ":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{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";
|
2090
|
-
|
2091
|
-
const SolutionOrganizationVariables = class {
|
2092
|
-
constructor(hostRef) {
|
2093
|
-
registerInstance(this, hostRef);
|
2094
|
-
this.organizationVariableSelected = createEvent(this, "organizationVariableSelected", 7);
|
2095
|
-
this.value = "";
|
2096
|
-
this._organizationVariables = [];
|
2097
|
-
this._translations = undefined;
|
2098
|
-
}
|
2099
|
-
valueWatchHandler() {
|
2100
|
-
this._organizationVariables = JSON.parse(this.value);
|
2101
|
-
}
|
2102
|
-
//--------------------------------------------------------------------------
|
2103
|
-
//
|
2104
|
-
// Lifecycle
|
2105
|
-
//
|
2106
|
-
//--------------------------------------------------------------------------
|
2107
|
-
/**
|
2108
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
2109
|
-
*/
|
2110
|
-
async componentWillLoad() {
|
2111
|
-
return this._getTranslations();
|
2112
|
-
}
|
2113
|
-
/**
|
2114
|
-
* Renders the component.
|
2115
|
-
*/
|
2116
|
-
render() {
|
2117
|
-
return (h(Host, null, h("div", null, h("h4", { class: "org-var-header" }, this._translations.orgVariables)), h("div", { class: "container-border" }, h("calcite-tree", { id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
2118
|
-
}
|
2119
|
-
//--------------------------------------------------------------------------
|
2120
|
-
//
|
2121
|
-
// Public Methods (async)
|
2122
|
-
//
|
2123
|
-
//--------------------------------------------------------------------------
|
2124
|
-
//--------------------------------------------------------------------------
|
2125
|
-
//
|
2126
|
-
// Private Methods
|
2127
|
-
//
|
2128
|
-
//--------------------------------------------------------------------------
|
2129
|
-
/**
|
2130
|
-
* Renders the organization based variable items the user can insert at runtime
|
2131
|
-
*
|
2132
|
-
* @param objs a list of organization variables to render
|
2133
|
-
*/
|
2134
|
-
_renderHierarchy(objs) {
|
2135
|
-
const hierarchy = objs.map(obj => {
|
2136
|
-
return (h("calcite-tree-item", { onClick: () => this._treeItemSelected(obj.id, obj.value) }, obj.title));
|
2137
|
-
});
|
2138
|
-
return hierarchy;
|
2139
|
-
}
|
2140
|
-
/**
|
2141
|
-
* Publishes the `organizationVariableSelected` event containing `itemId`, the id of the selected variable and the value of the variable.
|
2142
|
-
*
|
2143
|
-
* @param itemId Item id as reported by click event
|
2144
|
-
* @param value Variable id as reported by click event
|
2145
|
-
*/
|
2146
|
-
_treeItemSelected(itemId, value) {
|
2147
|
-
this.organizationVariableSelected.emit({
|
2148
|
-
itemId,
|
2149
|
-
value
|
2150
|
-
});
|
2151
|
-
}
|
2152
|
-
/**
|
2153
|
-
* Fetches the component's translations
|
2154
|
-
*
|
2155
|
-
* @protected
|
2156
|
-
*/
|
2157
|
-
async _getTranslations() {
|
2158
|
-
const translations = await getLocaleComponentStrings(this.el);
|
2159
|
-
this._translations = translations[0];
|
2160
|
-
}
|
2161
|
-
get el() { return getElement(this); }
|
2162
|
-
static get watchers() { return {
|
2163
|
-
"value": ["valueWatchHandler"]
|
2164
|
-
}; }
|
2165
|
-
};
|
2166
|
-
SolutionOrganizationVariables.style = solutionOrganizationVariablesCss;
|
2167
|
-
|
2168
|
-
const solutionResourceItemCss = ":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}.resource-item{padding:1rem}.resource-button{-webkit-margin-end:1rem;margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";
|
2169
|
-
|
2170
|
-
const SolutionResourceItem = class {
|
2171
|
-
constructor(hostRef) {
|
2172
|
-
registerInstance(this, hostRef);
|
2173
|
-
this._removedResources = {};
|
2174
|
-
this.authentication = undefined;
|
2175
|
-
this.itemId = "";
|
2176
|
-
this.resourceFilePaths = [];
|
2177
|
-
this.resources = [];
|
2178
|
-
this._translations = undefined;
|
2179
|
-
}
|
2180
|
-
itemIdWatchHandler() {
|
2181
|
-
const item = state.getItemInfo(this.itemId);
|
2182
|
-
this.resourceFilePaths = item.resourceFilePaths;
|
2183
|
-
this.resources = item.resources.map(
|
2184
|
-
// False linting error
|
2185
|
-
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
|
2186
|
-
(path) => path.substring(path.lastIndexOf("/") + 1));
|
2187
|
-
}
|
2188
|
-
//--------------------------------------------------------------------------
|
2189
|
-
//
|
2190
|
-
// Lifecycle
|
2191
|
-
//
|
2192
|
-
//--------------------------------------------------------------------------
|
2193
|
-
/**
|
2194
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
2195
|
-
*/
|
2196
|
-
componentWillLoad() {
|
2197
|
-
return this._getTranslations();
|
2198
|
-
}
|
2199
|
-
/**
|
2200
|
-
* Renders the component.
|
2201
|
-
*/
|
2202
|
-
render() {
|
2203
|
-
const hasValidResources = this._hasValidResources();
|
2204
|
-
return (h(Host, null, h("div", { class: "resource-item" }, h("div", { class: "margin-bottom-1" }, h("calcite-button", { appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
2205
|
-
}
|
2206
|
-
//--------------------------------------------------------------------------
|
2207
|
-
//
|
2208
|
-
// Event Listeners
|
2209
|
-
//
|
2210
|
-
//--------------------------------------------------------------------------
|
2211
|
-
//--------------------------------------------------------------------------
|
2212
|
-
//
|
2213
|
-
// Events
|
2214
|
-
//
|
2215
|
-
//--------------------------------------------------------------------------
|
2216
|
-
//--------------------------------------------------------------------------
|
2217
|
-
//
|
2218
|
-
// Public Methods (async)
|
2219
|
-
//
|
2220
|
-
//--------------------------------------------------------------------------
|
2221
|
-
//--------------------------------------------------------------------------
|
2222
|
-
//
|
2223
|
-
// Private Methods
|
2224
|
-
//
|
2225
|
-
//--------------------------------------------------------------------------
|
2226
|
-
/**
|
2227
|
-
* Render resources while avoiding thumbnail resoures that are managed by solution-item
|
2228
|
-
*
|
2229
|
-
*/
|
2230
|
-
_renderResourceList() {
|
2231
|
-
return (h("calcite-value-list", { multiple: true }, this.resourceFilePaths.reduce((prev, cur) => {
|
2232
|
-
if (cur.type !== EFileType.Thumbnail) {
|
2233
|
-
prev.push(this._renderResource(cur));
|
2234
|
-
}
|
2235
|
-
return prev;
|
2236
|
-
}, [])));
|
2237
|
-
}
|
2238
|
-
/**
|
2239
|
-
* Render the resource and supporting actions for download/update/delete/(reset..if deleted)
|
2240
|
-
*
|
2241
|
-
* @param resource the filename and url used to interact with the resource
|
2242
|
-
*/
|
2243
|
-
_renderResource(resource) {
|
2244
|
-
const resettable = resource.updateType === EUpdateType.Remove;
|
2245
|
-
const fullname = resource.folder ? resource.folder + "/" + resource.filename : resource.filename;
|
2246
|
-
return (h("calcite-value-list-item", { class: resettable ? "disabled" : "", label: fullname, nonInteractive: true, value: resource.url }, h("calcite-action-group", { "expand-disabled": "true", layout: "horizontal", slot: "actions-end" }, h("calcite-action", { disabled: resettable, icon: "download", label: this._translations.download, onClick: () => this._download(resource.url, resource.filename), scale: "m", text: this._translations.download, title: this._translations.download }), h("calcite-action", { disabled: resettable, icon: "upload-to", label: this._translations.update, onClick: () => this._upload(resource), scale: "m", text: this._translations.update, title: this._translations.update }), h("calcite-action", { disabled: resettable, icon: "trash", label: this._translations.delete, onClick: () => this._delete(resource), scale: "m", text: this._translations.delete, title: this._translations.delete }), resettable ? h("calcite-action", { icon: "reset", label: this._translations.reset, onClick: () => this._reset(resource.filename), scale: "m", text: this._translations.reset, title: this._translations.reset }) : h("div", { class: "display-none" }))));
|
2247
|
-
}
|
2248
|
-
/**
|
2249
|
-
* Adds the name to the deleted array so it will be skipped while rendering
|
2250
|
-
* but still exist if the user chooses to reset
|
2251
|
-
*
|
2252
|
-
* @param resource the resource to be updated
|
2253
|
-
*/
|
2254
|
-
_delete(resource) {
|
2255
|
-
resource.updateType = EUpdateType.Remove;
|
2256
|
-
this.resourceFilePaths = [...this.resourceFilePaths]; // to trigger refresh
|
2257
|
-
this._updateStore();
|
2258
|
-
}
|
2259
|
-
/**
|
2260
|
-
* Remove the name from the deleted array so it will again be rendered
|
2261
|
-
*
|
2262
|
-
* @param name the name to be added to the deleted array
|
2263
|
-
*/
|
2264
|
-
_reset(name) {
|
2265
|
-
// need to make sure I know if this reset is from the source or a new one
|
2266
|
-
// Because the item's `resources` array is not updated until (and if) the solution is saved,
|
2267
|
-
// we can use it for the reset info
|
2268
|
-
this.resources.some(resourceName => resourceName === name) ?
|
2269
|
-
// Undo removing an existing resource
|
2270
|
-
this.resourceFilePaths = this.resourceFilePaths.map(p => {
|
2271
|
-
if (p.filename === name) {
|
2272
|
-
p.updateType = EUpdateType.None;
|
2273
|
-
}
|
2274
|
-
return p;
|
2275
|
-
}) :
|
2276
|
-
// Undo cancelling the adding of a resource
|
2277
|
-
this.resourceFilePaths = this.resourceFilePaths.map(p => {
|
2278
|
-
if (p.filename === name) {
|
2279
|
-
p.updateType = EUpdateType.Add;
|
2280
|
-
}
|
2281
|
-
return p;
|
2282
|
-
});
|
2283
|
-
this._updateStore();
|
2284
|
-
}
|
2285
|
-
/**
|
2286
|
-
* Download all of the templates resources
|
2287
|
-
*
|
2288
|
-
*/
|
2289
|
-
_downloadAll() {
|
2290
|
-
this.resourceFilePaths.forEach((resource) => {
|
2291
|
-
this._download(resource.url, resource.filename);
|
2292
|
-
});
|
2293
|
-
}
|
2294
|
-
/**
|
2295
|
-
* Download the current resource
|
2296
|
-
*
|
2297
|
-
* @param url the resource url
|
2298
|
-
* @param name the resource name
|
2299
|
-
*/
|
2300
|
-
_download(url, name) {
|
2301
|
-
// files that have been added manually do not need to be requested from the item
|
2302
|
-
if (url.startsWith("blob")) {
|
2303
|
-
this.downloadFile(url, name);
|
2304
|
-
}
|
2305
|
-
else {
|
2306
|
-
const _url = `${url}?token=${this.authentication.token}`;
|
2307
|
-
void this.fetchAndDownload(_url, name);
|
2308
|
-
}
|
2309
|
-
}
|
2310
|
-
/**
|
2311
|
-
* Dynamically creates an anchor and downloads the file
|
2312
|
-
*
|
2313
|
-
* @param url the url of the resource
|
2314
|
-
* @param name the name of the resource
|
2315
|
-
*/
|
2316
|
-
downloadFile(url, name) {
|
2317
|
-
const link = document.createElement("a");
|
2318
|
-
link.href = url;
|
2319
|
-
link.download = name;
|
2320
|
-
link.target = "_blank";
|
2321
|
-
link.click();
|
2322
|
-
}
|
2323
|
-
/**
|
2324
|
-
* Check if the template resources have any non-thumbnail resources
|
2325
|
-
*
|
2326
|
-
* @returns true if we have data resources and false if only thumbnail
|
2327
|
-
*/
|
2328
|
-
_hasValidResources() {
|
2329
|
-
return this.resourceFilePaths.some(r => r.url.indexOf("_info_thumbnail") < 0);
|
2330
|
-
}
|
2331
|
-
/**
|
2332
|
-
* Fetches and downloads the resource from the solution
|
2333
|
-
*
|
2334
|
-
* @param url the url of the resource
|
2335
|
-
* @param name the name of the resource
|
2336
|
-
*/
|
2337
|
-
async fetchAndDownload(url, name) {
|
2338
|
-
const image = await fetch(url);
|
2339
|
-
const b = await image.blob();
|
2340
|
-
const bURL = URL.createObjectURL(b);
|
2341
|
-
this.downloadFile(bURL, name);
|
2342
|
-
}
|
2343
|
-
/**
|
2344
|
-
* Create an input element to support the uploading of the resource and upload the resource
|
2345
|
-
*
|
2346
|
-
* @param resource the resource to be updated
|
2347
|
-
*/
|
2348
|
-
_upload(resource) {
|
2349
|
-
const _input = document.createElement("input");
|
2350
|
-
_input.classList.add("display-none");
|
2351
|
-
_input.onchange = this._updateResource.bind(this, resource);
|
2352
|
-
_input.type = "file";
|
2353
|
-
_input.click();
|
2354
|
-
}
|
2355
|
-
/**
|
2356
|
-
* Create an input element to support the uploading of a resource and add the new resource
|
2357
|
-
*
|
2358
|
-
*/
|
2359
|
-
_addNewResource() {
|
2360
|
-
const _input = document.createElement("input");
|
2361
|
-
_input.classList.add("display-none");
|
2362
|
-
_input.onchange = this._add.bind(this);
|
2363
|
-
_input.type = "file";
|
2364
|
-
_input.click();
|
2365
|
-
}
|
2366
|
-
/**
|
2367
|
-
* Replace the resource file path when update action is used
|
2368
|
-
*
|
2369
|
-
* @param resourcePath the resource to be updated
|
2370
|
-
* @param event the input event that contains the file
|
2371
|
-
*/
|
2372
|
-
_updateResource(resourcePath, event) {
|
2373
|
-
const files = event.target.files;
|
2374
|
-
if (files && files[0]) {
|
2375
|
-
resourcePath.blob = files[0];
|
2376
|
-
resourcePath.updateType = EUpdateType.Update;
|
2377
|
-
this._updateStore();
|
2378
|
-
}
|
2379
|
-
}
|
2380
|
-
/**
|
2381
|
-
* Add the new resource to the resource file paths
|
2382
|
-
*
|
2383
|
-
* @param event the inputs event that contains the new file
|
2384
|
-
*/
|
2385
|
-
_add(event) {
|
2386
|
-
const files = event.target.files;
|
2387
|
-
if (files && files[0]) {
|
2388
|
-
const url = URL.createObjectURL(files[0]);
|
2389
|
-
const filename = files[0].name;
|
2390
|
-
// Add the item if it's not already in the resource file paths list
|
2391
|
-
if (!this.resourceFilePaths.some(r => r.filename === filename && r.url === url)) {
|
2392
|
-
this.resourceFilePaths = [
|
2393
|
-
...this.resourceFilePaths,
|
2394
|
-
{
|
2395
|
-
url,
|
2396
|
-
type: EFileType.Data,
|
2397
|
-
folder: undefined,
|
2398
|
-
filename,
|
2399
|
-
blob: files[0],
|
2400
|
-
updateType: EUpdateType.Add
|
2401
|
-
}
|
2402
|
-
];
|
2403
|
-
this._updateStore();
|
2404
|
-
}
|
2405
|
-
}
|
2406
|
-
}
|
2407
|
-
/**
|
2408
|
-
* Add or remove the value from the store
|
2409
|
-
*/
|
2410
|
-
_updateStore() {
|
2411
|
-
const item = state.getItemInfo(this.itemId);
|
2412
|
-
item.resourceFilePaths = this.resourceFilePaths;
|
2413
|
-
state.setItemInfo(item);
|
2414
|
-
}
|
2415
|
-
/**
|
2416
|
-
* Fetches the component's translations
|
2417
|
-
*
|
2418
|
-
* @protected
|
2419
|
-
*/
|
2420
|
-
async _getTranslations() {
|
2421
|
-
const translations = await getLocaleComponentStrings(this.el);
|
2422
|
-
this._translations = translations[0];
|
2423
|
-
}
|
2424
|
-
get el() { return getElement(this); }
|
2425
|
-
static get watchers() { return {
|
2426
|
-
"itemId": ["itemIdWatchHandler"]
|
2427
|
-
}; }
|
2428
|
-
};
|
2429
|
-
SolutionResourceItem.style = solutionResourceItemCss;
|
2430
|
-
|
2431
|
-
const solutionTemplateDataCss = ":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";
|
2432
|
-
|
2433
|
-
const SolutionTemplateData = class {
|
2434
|
-
//--------------------------------------------------------------------------
|
2435
|
-
//
|
2436
|
-
// Lifecycle
|
2437
|
-
//
|
2438
|
-
//--------------------------------------------------------------------------
|
2439
|
-
constructor(hostRef) {
|
2440
|
-
registerInstance(this, hostRef);
|
2441
|
-
this._initializing = false;
|
2442
|
-
this.instanceid = "";
|
2443
|
-
this.itemId = "";
|
2444
|
-
this.organizationVariables = "";
|
2445
|
-
this.solutionVariables = "";
|
2446
|
-
this.varsOpen = true;
|
2447
|
-
this._translations = undefined;
|
2448
|
-
this.value = "";
|
2449
|
-
window.addEventListener("solutionEditorContentChanged", (evt) => {
|
2450
|
-
if (this.itemId) {
|
2451
|
-
const { id, contents } = evt.detail;
|
2452
|
-
const [itemId, instanceId] = id.split("|");
|
2453
|
-
if (itemId == this.itemId && instanceId === this.instanceid) {
|
2454
|
-
if (!this._initializing && contents.length > 0) {
|
2455
|
-
const itemEdit = state.getItemInfo(itemId);
|
2456
|
-
if (instanceId === "data") {
|
2457
|
-
itemEdit.data = JSON.parse(contents);
|
2458
|
-
}
|
2459
|
-
else {
|
2460
|
-
itemEdit.properties = JSON.parse(contents);
|
2461
|
-
}
|
2462
|
-
state.setItemInfo(itemEdit);
|
2463
|
-
}
|
2464
|
-
this._initializing = false;
|
2465
|
-
}
|
2466
|
-
}
|
2467
|
-
});
|
2468
|
-
}
|
2469
|
-
itemIdWatchHandler() {
|
2470
|
-
this._initializing = true;
|
2471
|
-
this.value = JSON.stringify(this.instanceid === "data"
|
2472
|
-
? state.getItemInfo(this.itemId).data
|
2473
|
-
: state.getItemInfo(this.itemId).properties, null, 2);
|
2474
|
-
}
|
2475
|
-
/**
|
2476
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
2477
|
-
*/
|
2478
|
-
componentWillLoad() {
|
2479
|
-
return this._getTranslations();
|
2480
|
-
}
|
2481
|
-
/**
|
2482
|
-
* Renders the component.
|
2483
|
-
*/
|
2484
|
-
render() {
|
2485
|
-
return (h(Host, null, h("div", { class: "solution-data-container" }, h("calcite-shell", { class: "light var-container", dir: "ltr" }, h("calcite-panel", { class: "json-editor" }, h("div", { class: "solution-data-child-container calcite-match-height" }, h("json-editor", { class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), h("calcite-shell-panel", { "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { value: this.organizationVariables })), h("div", { class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { value: this.solutionVariables }))))))));
|
2486
|
-
}
|
2487
|
-
//--------------------------------------------------------------------------
|
2488
|
-
//
|
2489
|
-
// Event Listeners
|
2490
|
-
//
|
2491
|
-
//--------------------------------------------------------------------------
|
2492
|
-
//--------------------------------------------------------------------------
|
2493
|
-
//
|
2494
|
-
// Events
|
2495
|
-
//
|
2496
|
-
//--------------------------------------------------------------------------
|
2497
|
-
//--------------------------------------------------------------------------
|
2498
|
-
//
|
2499
|
-
// Public Methods (async)
|
2500
|
-
//
|
2501
|
-
//--------------------------------------------------------------------------
|
2502
|
-
//--------------------------------------------------------------------------
|
2503
|
-
//
|
2504
|
-
// Private Methods
|
2505
|
-
//
|
2506
|
-
//--------------------------------------------------------------------------
|
2507
|
-
/**
|
2508
|
-
* Toggle varsOpen prop to show/hide variable containers
|
2509
|
-
*/
|
2510
|
-
_toggleVars() {
|
2511
|
-
this.varsOpen = !this.varsOpen;
|
2512
|
-
}
|
2513
|
-
/**
|
2514
|
-
* Fetches the component's translations
|
2515
|
-
*
|
2516
|
-
* @protected
|
2517
|
-
*/
|
2518
|
-
async _getTranslations() {
|
2519
|
-
const translations = await getLocaleComponentStrings(this.el);
|
2520
|
-
this._translations = translations[0];
|
2521
|
-
}
|
2522
|
-
get el() { return getElement(this); }
|
2523
|
-
static get watchers() { return {
|
2524
|
-
"itemId": ["itemIdWatchHandler"]
|
2525
|
-
}; }
|
2526
|
-
};
|
2527
|
-
SolutionTemplateData.style = solutionTemplateDataCss;
|
2528
|
-
|
2529
|
-
const solutionVariablesCss = ":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{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
|
2530
|
-
|
2531
|
-
const SolutionVariables = class {
|
2532
|
-
constructor(hostRef) {
|
2533
|
-
registerInstance(this, hostRef);
|
2534
|
-
this.solutionVariableSelected = createEvent(this, "solutionVariableSelected", 7);
|
2535
|
-
this.value = "";
|
2536
|
-
this._solutionVariables = [];
|
2537
|
-
this._translations = undefined;
|
2538
|
-
}
|
2539
|
-
valueWatchHandler() {
|
2540
|
-
this._solutionVariables = JSON.parse(this.value);
|
2541
|
-
}
|
2542
|
-
//--------------------------------------------------------------------------
|
2543
|
-
//
|
2544
|
-
// Lifecycle
|
2545
|
-
//
|
2546
|
-
//--------------------------------------------------------------------------
|
2547
|
-
/**
|
2548
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
2549
|
-
*/
|
2550
|
-
componentWillLoad() {
|
2551
|
-
return this._getTranslations();
|
2552
|
-
}
|
2553
|
-
/**
|
2554
|
-
* Renders the component.
|
2555
|
-
*/
|
2556
|
-
render() {
|
2557
|
-
return (h(Host, null, h("div", null, h("h4", { class: "org-var-header" }, this._translations.solVariables)), h("div", { class: "container-border" }, h("calcite-tree", { id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
2315
|
+
return (h(Host, null, h("div", null, h("h4", { class: "org-var-header" }, this._translations.solVariables)), h("div", { class: "container-border" }, h("calcite-tree", { id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
2558
2316
|
}
|
2559
2317
|
//--------------------------------------------------------------------------
|
2560
2318
|
//
|
@@ -2617,4 +2375,6 @@ const SolutionVariables = class {
|
|
2617
2375
|
};
|
2618
2376
|
SolutionVariables.style = solutionVariablesCss;
|
2619
2377
|
|
2620
|
-
export { ShellPanel as calcite_shell_panel, Tab as calcite_tab, TabNav as calcite_tab_nav, TabTitle as calcite_tab_title, Tabs as calcite_tabs, ValueList as calcite_value_list, ValueListItem as calcite_value_list_item, JsonEditor as json_editor,
|
2378
|
+
export { Panel as calcite_panel, Shell as calcite_shell, ShellPanel as calcite_shell_panel, Tab as calcite_tab, TabNav as calcite_tab_nav, TabTitle as calcite_tab_title, Tabs as calcite_tabs, ValueList as calcite_value_list, ValueListItem as calcite_value_list_item, JsonEditor as json_editor, SolutionOrganizationVariables as solution_organization_variables, SolutionVariables as solution_variables };
|
2379
|
+
|
2380
|
+
//# sourceMappingURL=calcite-panel_12.entry.js.map
|