@siemens/ix-vue 4.3.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/READMEOSS.html +419 -1613
- package/dist/_virtual/_plugin-vue_export-helper.js +7 -6
- package/dist/_virtual/_plugin-vue_export-helper.js.map +1 -1
- package/dist/components/components.d.ts +101 -0
- package/dist/components/ix-action-card.d.ts +3 -0
- package/dist/components/ix-action-card.js +16 -0
- package/dist/components/ix-action-card.js.map +1 -0
- package/dist/components/ix-application-header.d.ts +3 -0
- package/dist/components/ix-application-header.js +25 -0
- package/dist/components/ix-application-header.js.map +1 -0
- package/dist/components/ix-application.d.ts +3 -0
- package/dist/components/ix-application.js +13 -0
- package/dist/components/ix-application.js.map +1 -0
- package/dist/components/ix-avatar.d.ts +3 -0
- package/dist/components/ix-avatar.js +14 -0
- package/dist/components/ix-avatar.js.map +1 -0
- package/dist/components/ix-blind.d.ts +3 -0
- package/dist/components/ix-blind.js +16 -0
- package/dist/components/ix-blind.js.map +1 -0
- package/dist/components/ix-breadcrumb-item.d.ts +3 -0
- package/dist/components/ix-breadcrumb-item.js +22 -0
- package/dist/components/ix-breadcrumb-item.js.map +1 -0
- package/dist/components/ix-breadcrumb.d.ts +3 -0
- package/dist/components/ix-breadcrumb.js +18 -0
- package/dist/components/ix-breadcrumb.js.map +1 -0
- package/dist/components/ix-button.d.ts +3 -0
- package/dist/components/ix-button.js +20 -0
- package/dist/components/ix-button.js.map +1 -0
- package/dist/components/ix-card-accordion.d.ts +3 -0
- package/dist/components/ix-card-accordion.js +14 -0
- package/dist/components/ix-card-accordion.js.map +1 -0
- package/dist/components/ix-card-content.d.ts +3 -0
- package/dist/components/ix-card-content.js +7 -0
- package/dist/components/ix-card-content.js.map +1 -0
- package/dist/components/ix-card-list.d.ts +3 -0
- package/dist/components/ix-card-list.js +26 -0
- package/dist/components/ix-card-list.js.map +1 -0
- package/dist/components/ix-card-title.d.ts +3 -0
- package/dist/components/ix-card-title.js +7 -0
- package/dist/components/ix-card-title.js.map +1 -0
- package/dist/components/ix-card.d.ts +3 -0
- package/dist/components/ix-card.js +11 -0
- package/dist/components/ix-card.js.map +1 -0
- package/dist/components/ix-category-filter.d.ts +3 -0
- package/dist/components/ix-category-filter.js +34 -0
- package/dist/components/ix-category-filter.js.map +1 -0
- package/dist/components/ix-checkbox-group.d.ts +3 -0
- package/dist/components/ix-checkbox-group.js +17 -0
- package/dist/components/ix-checkbox-group.js.map +1 -0
- package/dist/components/ix-checkbox.d.ts +3 -0
- package/dist/components/ix-checkbox.js +30 -0
- package/dist/components/ix-checkbox.js.map +1 -0
- package/dist/components/ix-chip.d.ts +3 -0
- package/dist/components/ix-chip.js +22 -0
- package/dist/components/ix-chip.js.map +1 -0
- package/dist/components/ix-col.d.ts +3 -0
- package/dist/components/ix-col.js +12 -0
- package/dist/components/ix-col.js.map +1 -0
- package/dist/components/ix-content-header.d.ts +3 -0
- package/dist/components/ix-content-header.js +15 -0
- package/dist/components/ix-content-header.js.map +1 -0
- package/dist/components/ix-content.d.ts +3 -0
- package/dist/components/ix-content.js +7 -0
- package/dist/components/ix-content.js.map +1 -0
- package/dist/components/ix-custom-field.d.ts +3 -0
- package/dist/components/ix-custom-field.js +16 -0
- package/dist/components/ix-custom-field.js.map +1 -0
- package/dist/components/ix-date-dropdown.d.ts +3 -0
- package/dist/components/ix-date-dropdown.js +29 -0
- package/dist/components/ix-date-dropdown.js.map +1 -0
- package/dist/components/ix-date-input.d.ts +3 -0
- package/dist/components/ix-date-input.js +53 -0
- package/dist/components/ix-date-input.js.map +1 -0
- package/dist/components/ix-date-picker.d.ts +3 -0
- package/dist/components/ix-date-picker.js +33 -0
- package/dist/components/ix-date-picker.js.map +1 -0
- package/dist/components/ix-datetime-input.d.ts +3 -0
- package/dist/components/ix-datetime-input.js +49 -0
- package/dist/components/ix-datetime-input.js.map +1 -0
- package/dist/components/ix-datetime-picker.d.ts +3 -0
- package/dist/components/ix-datetime-picker.js +35 -0
- package/dist/components/ix-datetime-picker.js.map +1 -0
- package/dist/components/ix-divider.d.ts +3 -0
- package/dist/components/ix-divider.js +7 -0
- package/dist/components/ix-divider.js.map +1 -0
- package/dist/components/ix-dropdown-button.d.ts +3 -0
- package/dist/components/ix-dropdown-button.js +23 -0
- package/dist/components/ix-dropdown-button.js.map +1 -0
- package/dist/components/ix-dropdown-header.d.ts +3 -0
- package/dist/components/ix-dropdown-header.js +9 -0
- package/dist/components/ix-dropdown-header.js.map +1 -0
- package/dist/components/ix-dropdown-item.d.ts +3 -0
- package/dist/components/ix-dropdown-item.js +24 -0
- package/dist/components/ix-dropdown-item.js.map +1 -0
- package/dist/components/ix-dropdown-quick-actions.d.ts +3 -0
- package/dist/components/ix-dropdown-quick-actions.js +7 -0
- package/dist/components/ix-dropdown-quick-actions.js.map +1 -0
- package/dist/components/ix-dropdown.d.ts +3 -0
- package/dist/components/ix-dropdown.js +41 -0
- package/dist/components/ix-dropdown.js.map +1 -0
- package/dist/components/ix-empty-state.d.ts +3 -0
- package/dist/components/ix-empty-state.js +17 -0
- package/dist/components/ix-empty-state.js.map +1 -0
- package/dist/components/ix-event-list-item.d.ts +3 -0
- package/dist/components/ix-event-list-item.js +16 -0
- package/dist/components/ix-event-list-item.js.map +1 -0
- package/dist/components/ix-event-list.d.ts +3 -0
- package/dist/components/ix-event-list.js +12 -0
- package/dist/components/ix-event-list.js.map +1 -0
- package/dist/components/ix-expanding-search.d.ts +3 -0
- package/dist/components/ix-expanding-search.js +19 -0
- package/dist/components/ix-expanding-search.js.map +1 -0
- package/dist/components/ix-field-label.d.ts +3 -0
- package/dist/components/ix-field-label.js +12 -0
- package/dist/components/ix-field-label.js.map +1 -0
- package/dist/components/ix-filter-chip.d.ts +3 -0
- package/dist/components/ix-filter-chip.js +14 -0
- package/dist/components/ix-filter-chip.js.map +1 -0
- package/dist/components/ix-flip-tile-content.d.ts +3 -0
- package/dist/components/ix-flip-tile-content.js +9 -0
- package/dist/components/ix-flip-tile-content.js.map +1 -0
- package/dist/components/ix-flip-tile.d.ts +3 -0
- package/dist/components/ix-flip-tile.js +16 -0
- package/dist/components/ix-flip-tile.js.map +1 -0
- package/dist/components/ix-group-context-menu.d.ts +3 -0
- package/dist/components/ix-group-context-menu.js +7 -0
- package/dist/components/ix-group-context-menu.js.map +1 -0
- package/dist/components/ix-group-item.d.ts +3 -0
- package/dist/components/ix-group-item.js +20 -0
- package/dist/components/ix-group-item.js.map +1 -0
- package/dist/components/ix-group.d.ts +3 -0
- package/dist/components/ix-group.js +22 -0
- package/dist/components/ix-group.js.map +1 -0
- package/dist/components/ix-helper-text.d.ts +3 -0
- package/dist/components/ix-helper-text.js +14 -0
- package/dist/components/ix-helper-text.js.map +1 -0
- package/dist/components/ix-icon-button.d.ts +3 -0
- package/dist/components/ix-icon-button.js +16 -0
- package/dist/components/ix-icon-button.js.map +1 -0
- package/dist/components/ix-icon-toggle-button.d.ts +3 -0
- package/dist/components/ix-icon-toggle-button.js +20 -0
- package/dist/components/ix-icon-toggle-button.js.map +1 -0
- package/dist/components/ix-input.d.ts +3 -0
- package/dist/components/ix-input.js +45 -0
- package/dist/components/ix-input.js.map +1 -0
- package/dist/components/ix-key-value-list.d.ts +3 -0
- package/dist/components/ix-key-value-list.js +9 -0
- package/dist/components/ix-key-value-list.js.map +1 -0
- package/dist/components/ix-key-value.d.ts +3 -0
- package/dist/components/ix-key-value.js +13 -0
- package/dist/components/ix-key-value.js.map +1 -0
- package/dist/components/ix-kpi.d.ts +3 -0
- package/dist/components/ix-kpi.js +15 -0
- package/dist/components/ix-kpi.js.map +1 -0
- package/dist/components/ix-layout-auto.d.ts +3 -0
- package/dist/components/ix-layout-auto.js +9 -0
- package/dist/components/ix-layout-auto.js.map +1 -0
- package/dist/components/ix-layout-grid.d.ts +3 -0
- package/dist/components/ix-layout-grid.js +11 -0
- package/dist/components/ix-layout-grid.js.map +1 -0
- package/dist/components/ix-link-button.d.ts +3 -0
- package/dist/components/ix-link-button.js +11 -0
- package/dist/components/ix-link-button.js.map +1 -0
- package/dist/components/ix-menu-about-item.d.ts +3 -0
- package/dist/components/ix-menu-about-item.js +13 -0
- package/dist/components/ix-menu-about-item.js.map +1 -0
- package/dist/components/ix-menu-about-news.d.ts +3 -0
- package/dist/components/ix-menu-about-news.js +19 -0
- package/dist/components/ix-menu-about-news.js.map +1 -0
- package/dist/components/ix-menu-about.d.ts +3 -0
- package/dist/components/ix-menu-about.js +18 -0
- package/dist/components/ix-menu-about.js.map +1 -0
- package/dist/components/ix-menu-avatar-item.d.ts +3 -0
- package/dist/components/ix-menu-avatar-item.js +13 -0
- package/dist/components/ix-menu-avatar-item.js.map +1 -0
- package/dist/components/ix-menu-avatar.d.ts +3 -0
- package/dist/components/ix-menu-avatar.js +20 -0
- package/dist/components/ix-menu-avatar.js.map +1 -0
- package/dist/components/ix-menu-category.d.ts +3 -0
- package/dist/components/ix-menu-category.js +15 -0
- package/dist/components/ix-menu-category.js.map +1 -0
- package/dist/components/ix-menu-item.d.ts +3 -0
- package/dist/components/ix-menu-item.js +20 -0
- package/dist/components/ix-menu-item.js.map +1 -0
- package/dist/components/ix-menu-settings-item.d.ts +3 -0
- package/dist/components/ix-menu-settings-item.js +13 -0
- package/dist/components/ix-menu-settings-item.js.map +1 -0
- package/dist/components/ix-menu-settings.d.ts +3 -0
- package/dist/components/ix-menu-settings.js +18 -0
- package/dist/components/ix-menu-settings.js.map +1 -0
- package/dist/components/ix-menu.d.ts +3 -0
- package/dist/components/ix-menu.js +32 -0
- package/dist/components/ix-menu.js.map +1 -0
- package/dist/components/ix-message-bar.d.ts +3 -0
- package/dist/components/ix-message-bar.js +15 -0
- package/dist/components/ix-message-bar.js.map +1 -0
- package/dist/components/ix-modal-content.d.ts +3 -0
- package/dist/components/ix-modal-content.js +7 -0
- package/dist/components/ix-modal-content.js.map +1 -0
- package/dist/components/ix-modal-footer.d.ts +3 -0
- package/dist/components/ix-modal-footer.js +7 -0
- package/dist/components/ix-modal-footer.js.map +1 -0
- package/dist/components/ix-modal-header.d.ts +3 -0
- package/dist/components/ix-modal-header.js +16 -0
- package/dist/components/ix-modal-header.js.map +1 -0
- package/dist/components/ix-modal.d.ts +3 -0
- package/dist/components/ix-modal.js +20 -0
- package/dist/components/ix-modal.js.map +1 -0
- package/dist/components/ix-number-input.d.ts +3 -0
- package/dist/components/ix-number-input.js +47 -0
- package/dist/components/ix-number-input.js.map +1 -0
- package/dist/components/ix-pagination.d.ts +3 -0
- package/dist/components/ix-pagination.js +25 -0
- package/dist/components/ix-pagination.js.map +1 -0
- package/dist/components/ix-pane-layout.d.ts +3 -0
- package/dist/components/ix-pane-layout.js +11 -0
- package/dist/components/ix-pane-layout.js.map +1 -0
- package/dist/components/ix-pane.d.ts +3 -0
- package/dist/components/ix-pane.js +32 -0
- package/dist/components/ix-pane.js.map +1 -0
- package/dist/components/ix-pill.d.ts +3 -0
- package/dist/components/ix-pill.js +16 -0
- package/dist/components/ix-pill.js.map +1 -0
- package/dist/components/ix-progress-indicator.d.ts +3 -0
- package/dist/components/ix-progress-indicator.js +18 -0
- package/dist/components/ix-progress-indicator.js.map +1 -0
- package/dist/components/ix-push-card.d.ts +3 -0
- package/dist/components/ix-push-card.js +16 -0
- package/dist/components/ix-push-card.js.map +1 -0
- package/dist/components/ix-radio-group.d.ts +3 -0
- package/dist/components/ix-radio-group.js +21 -0
- package/dist/components/ix-radio-group.js.map +1 -0
- package/dist/components/ix-radio.d.ts +3 -0
- package/dist/components/ix-radio.js +21 -0
- package/dist/components/ix-radio.js.map +1 -0
- package/dist/components/ix-range-field.d.ts +3 -0
- package/dist/components/ix-range-field.js +10 -0
- package/dist/components/ix-range-field.js.map +1 -0
- package/dist/components/ix-row.d.ts +3 -0
- package/dist/components/ix-row.js +7 -0
- package/dist/components/ix-row.js.map +1 -0
- package/dist/components/ix-select-item.d.ts +3 -0
- package/dist/components/ix-select-item.js +17 -0
- package/dist/components/ix-select-item.js.map +1 -0
- package/dist/components/ix-select.d.ts +3 -0
- package/dist/components/ix-select.js +53 -0
- package/dist/components/ix-select.js.map +1 -0
- package/dist/components/ix-slider.d.ts +3 -0
- package/dist/components/ix-slider.js +26 -0
- package/dist/components/ix-slider.js.map +1 -0
- package/dist/components/ix-spinner.d.ts +3 -0
- package/dist/components/ix-spinner.js +11 -0
- package/dist/components/ix-spinner.js.map +1 -0
- package/dist/components/ix-split-button.d.ts +3 -0
- package/dist/components/ix-split-button.js +22 -0
- package/dist/components/ix-split-button.js.map +1 -0
- package/dist/components/ix-tab-item.d.ts +3 -0
- package/dist/components/ix-tab-item.js +26 -0
- package/dist/components/ix-tab-item.js.map +1 -0
- package/dist/components/ix-tabs.d.ts +3 -0
- package/dist/components/ix-tabs.js +20 -0
- package/dist/components/ix-tabs.js.map +1 -0
- package/dist/components/ix-textarea.d.ts +3 -0
- package/dist/components/ix-textarea.js +45 -0
- package/dist/components/ix-textarea.js.map +1 -0
- package/dist/components/ix-tile.d.ts +3 -0
- package/dist/components/ix-tile.js +9 -0
- package/dist/components/ix-tile.js.map +1 -0
- package/dist/components/ix-time-input.d.ts +3 -0
- package/dist/components/ix-time-input.js +51 -0
- package/dist/components/ix-time-input.js.map +1 -0
- package/dist/components/ix-time-picker.d.ts +3 -0
- package/dist/components/ix-time-picker.js +31 -0
- package/dist/components/ix-time-picker.js.map +1 -0
- package/dist/components/ix-toast-container.d.ts +3 -0
- package/dist/components/ix-toast-container.js +9 -0
- package/dist/components/ix-toast-container.js.map +1 -0
- package/dist/components/ix-toast.d.ts +3 -0
- package/dist/components/ix-toast.js +19 -0
- package/dist/components/ix-toast.js.map +1 -0
- package/dist/components/ix-toggle-button.d.ts +3 -0
- package/dist/components/ix-toggle-button.js +17 -0
- package/dist/components/ix-toggle-button.js.map +1 -0
- package/dist/components/ix-toggle.d.ts +3 -0
- package/dist/components/ix-toggle.js +25 -0
- package/dist/components/ix-toggle.js.map +1 -0
- package/dist/components/ix-tooltip.d.ts +3 -0
- package/dist/components/ix-tooltip.js +15 -0
- package/dist/components/ix-tooltip.js.map +1 -0
- package/dist/components/ix-tree-item.d.ts +3 -0
- package/dist/components/ix-tree-item.js +18 -0
- package/dist/components/ix-tree-item.js.map +1 -0
- package/dist/components/ix-tree.d.ts +3 -0
- package/dist/components/ix-tree.js +22 -0
- package/dist/components/ix-tree.js.map +1 -0
- package/dist/components/ix-typography.d.ts +3 -0
- package/dist/components/ix-typography.js +12 -0
- package/dist/components/ix-typography.js.map +1 -0
- package/dist/components/ix-upload.d.ts +3 -0
- package/dist/components/ix-upload.js +23 -0
- package/dist/components/ix-upload.js.map +1 -0
- package/dist/components/ix-workflow-step.d.ts +3 -0
- package/dist/components/ix-workflow-step.js +17 -0
- package/dist/components/ix-workflow-step.js.map +1 -0
- package/dist/components/ix-workflow-steps.d.ts +3 -0
- package/dist/components/ix-workflow-steps.js +14 -0
- package/dist/components/ix-workflow-steps.js.map +1 -0
- package/dist/components.d.ts +1 -104
- package/dist/context/IxApplicationContext.vue.js +12 -12
- package/dist/context/IxApplicationContext.vue.js.map +1 -1
- package/dist/context/IxApplicationContext.vue2.js +15 -14
- package/dist/context/IxApplicationContext.vue2.js.map +1 -1
- package/dist/context/context.js +5 -5
- package/dist/context/context.js.map +1 -1
- package/dist/delegate.d.ts +1 -1
- package/dist/delegate.js +23 -18
- package/dist/delegate.js.map +1 -1
- package/dist/index.js +225 -126
- package/dist/index.js.map +1 -1
- package/dist/internal-components.js +4 -14
- package/dist/internal-components.js.map +1 -1
- package/dist/ix-icon.js +5 -5
- package/dist/ix-icon.js.map +1 -1
- package/dist/message/message.d.ts +1 -27
- package/dist/message/message.js +14 -20
- package/dist/message/message.js.map +1 -1
- package/dist/modal/IxOverlay.vue.js +62 -37
- package/dist/modal/IxOverlay.vue.js.map +1 -1
- package/dist/modal/IxOverlay.vue2.js +2 -2
- package/dist/modal/Modal.vue.js +141 -34
- package/dist/modal/Modal.vue.js.map +1 -1
- package/dist/modal/Modal.vue2.js +2 -2
- package/dist/modal/constants.js +4 -3
- package/dist/modal/constants.js.map +1 -1
- package/dist/modal/index.d.ts +3 -2
- package/dist/modal/index.js +28 -18
- package/dist/modal/index.js.map +1 -1
- package/dist/modal/ix-view.js +10 -10
- package/dist/modal/ix-view.js.map +1 -1
- package/dist/plugin.js +2 -2
- package/dist/plugin.js.map +1 -1
- package/dist/tab-set.d.ts +17 -0
- package/dist/toast/toast.d.ts +1 -1
- package/dist/toast/toast.js +31 -16
- package/dist/toast/toast.js.map +1 -1
- package/package.json +12 -12
- package/dist/components.js +0 -1390
- package/dist/components.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,130 +1,229 @@
|
|
|
1
|
-
import { IxActionCard
|
|
2
|
-
import {
|
|
1
|
+
import { IxActionCard } from "./components/ix-action-card.js";
|
|
2
|
+
import { IxApplication } from "./components/ix-application.js";
|
|
3
|
+
import { IxApplicationHeader } from "./components/ix-application-header.js";
|
|
4
|
+
import { IxAvatar } from "./components/ix-avatar.js";
|
|
5
|
+
import { IxBlind } from "./components/ix-blind.js";
|
|
6
|
+
import { IxBreadcrumb } from "./components/ix-breadcrumb.js";
|
|
7
|
+
import { IxBreadcrumbItem } from "./components/ix-breadcrumb-item.js";
|
|
8
|
+
import { IxButton } from "./components/ix-button.js";
|
|
9
|
+
import { IxCard } from "./components/ix-card.js";
|
|
10
|
+
import { IxCardAccordion } from "./components/ix-card-accordion.js";
|
|
11
|
+
import { IxCardContent } from "./components/ix-card-content.js";
|
|
12
|
+
import { IxCardList } from "./components/ix-card-list.js";
|
|
13
|
+
import { IxCardTitle } from "./components/ix-card-title.js";
|
|
14
|
+
import { IxCategoryFilter } from "./components/ix-category-filter.js";
|
|
15
|
+
import { IxCheckbox } from "./components/ix-checkbox.js";
|
|
16
|
+
import { IxCheckboxGroup } from "./components/ix-checkbox-group.js";
|
|
17
|
+
import { IxChip } from "./components/ix-chip.js";
|
|
18
|
+
import { IxCol } from "./components/ix-col.js";
|
|
19
|
+
import { IxContent } from "./components/ix-content.js";
|
|
20
|
+
import { IxContentHeader } from "./components/ix-content-header.js";
|
|
21
|
+
import { IxCustomField } from "./components/ix-custom-field.js";
|
|
22
|
+
import { IxDateDropdown } from "./components/ix-date-dropdown.js";
|
|
23
|
+
import { IxDateInput } from "./components/ix-date-input.js";
|
|
24
|
+
import { IxDatePicker } from "./components/ix-date-picker.js";
|
|
25
|
+
import { IxDatetimeInput } from "./components/ix-datetime-input.js";
|
|
26
|
+
import { IxDatetimePicker } from "./components/ix-datetime-picker.js";
|
|
27
|
+
import { IxDivider } from "./components/ix-divider.js";
|
|
28
|
+
import { IxDropdown } from "./components/ix-dropdown.js";
|
|
29
|
+
import { IxDropdownButton } from "./components/ix-dropdown-button.js";
|
|
30
|
+
import { IxDropdownHeader } from "./components/ix-dropdown-header.js";
|
|
31
|
+
import { IxDropdownItem } from "./components/ix-dropdown-item.js";
|
|
32
|
+
import { IxDropdownQuickActions } from "./components/ix-dropdown-quick-actions.js";
|
|
33
|
+
import { IxEmptyState } from "./components/ix-empty-state.js";
|
|
34
|
+
import { IxEventList } from "./components/ix-event-list.js";
|
|
35
|
+
import { IxEventListItem } from "./components/ix-event-list-item.js";
|
|
36
|
+
import { IxExpandingSearch } from "./components/ix-expanding-search.js";
|
|
37
|
+
import { IxFieldLabel } from "./components/ix-field-label.js";
|
|
38
|
+
import { IxFilterChip } from "./components/ix-filter-chip.js";
|
|
39
|
+
import { IxFlipTile } from "./components/ix-flip-tile.js";
|
|
40
|
+
import { IxFlipTileContent } from "./components/ix-flip-tile-content.js";
|
|
41
|
+
import { IxGroup } from "./components/ix-group.js";
|
|
42
|
+
import { IxGroupContextMenu } from "./components/ix-group-context-menu.js";
|
|
43
|
+
import { IxGroupItem } from "./components/ix-group-item.js";
|
|
44
|
+
import { IxHelperText } from "./components/ix-helper-text.js";
|
|
45
|
+
import { IxIconButton } from "./components/ix-icon-button.js";
|
|
46
|
+
import { IxIconToggleButton } from "./components/ix-icon-toggle-button.js";
|
|
47
|
+
import { IxInput } from "./components/ix-input.js";
|
|
48
|
+
import { IxKeyValue } from "./components/ix-key-value.js";
|
|
49
|
+
import { IxKeyValueList } from "./components/ix-key-value-list.js";
|
|
50
|
+
import { IxKpi } from "./components/ix-kpi.js";
|
|
51
|
+
import { IxLayoutAuto } from "./components/ix-layout-auto.js";
|
|
52
|
+
import { IxLayoutGrid } from "./components/ix-layout-grid.js";
|
|
53
|
+
import { IxLinkButton } from "./components/ix-link-button.js";
|
|
54
|
+
import { IxMenu } from "./components/ix-menu.js";
|
|
55
|
+
import { IxMenuAbout } from "./components/ix-menu-about.js";
|
|
56
|
+
import { IxMenuAboutItem } from "./components/ix-menu-about-item.js";
|
|
57
|
+
import { IxMenuAboutNews } from "./components/ix-menu-about-news.js";
|
|
58
|
+
import { IxMenuAvatar } from "./components/ix-menu-avatar.js";
|
|
59
|
+
import { IxMenuAvatarItem } from "./components/ix-menu-avatar-item.js";
|
|
60
|
+
import { IxMenuCategory } from "./components/ix-menu-category.js";
|
|
61
|
+
import { IxMenuItem } from "./components/ix-menu-item.js";
|
|
62
|
+
import { IxMenuSettings } from "./components/ix-menu-settings.js";
|
|
63
|
+
import { IxMenuSettingsItem } from "./components/ix-menu-settings-item.js";
|
|
64
|
+
import { IxMessageBar } from "./components/ix-message-bar.js";
|
|
65
|
+
import { IxModal } from "./components/ix-modal.js";
|
|
66
|
+
import { IxModalContent } from "./components/ix-modal-content.js";
|
|
67
|
+
import { IxModalFooter } from "./components/ix-modal-footer.js";
|
|
68
|
+
import { IxModalHeader } from "./components/ix-modal-header.js";
|
|
69
|
+
import { IxNumberInput } from "./components/ix-number-input.js";
|
|
70
|
+
import { IxPagination } from "./components/ix-pagination.js";
|
|
71
|
+
import { IxPane } from "./components/ix-pane.js";
|
|
72
|
+
import { IxPaneLayout } from "./components/ix-pane-layout.js";
|
|
73
|
+
import { IxPill } from "./components/ix-pill.js";
|
|
74
|
+
import { IxProgressIndicator } from "./components/ix-progress-indicator.js";
|
|
75
|
+
import { IxPushCard } from "./components/ix-push-card.js";
|
|
76
|
+
import { IxRadio } from "./components/ix-radio.js";
|
|
77
|
+
import { IxRadioGroup } from "./components/ix-radio-group.js";
|
|
78
|
+
import { IxRangeField } from "./components/ix-range-field.js";
|
|
79
|
+
import { IxRow } from "./components/ix-row.js";
|
|
80
|
+
import { IxSelect } from "./components/ix-select.js";
|
|
81
|
+
import { IxSelectItem } from "./components/ix-select-item.js";
|
|
82
|
+
import { IxSlider } from "./components/ix-slider.js";
|
|
83
|
+
import { IxSpinner } from "./components/ix-spinner.js";
|
|
84
|
+
import { IxSplitButton } from "./components/ix-split-button.js";
|
|
85
|
+
import { IxTabItem } from "./components/ix-tab-item.js";
|
|
86
|
+
import { IxTabs } from "./components/ix-tabs.js";
|
|
87
|
+
import { IxTextarea } from "./components/ix-textarea.js";
|
|
88
|
+
import { IxTile } from "./components/ix-tile.js";
|
|
89
|
+
import { IxTimeInput } from "./components/ix-time-input.js";
|
|
90
|
+
import { IxTimePicker } from "./components/ix-time-picker.js";
|
|
91
|
+
import { IxToast } from "./components/ix-toast.js";
|
|
92
|
+
import { IxToastContainer } from "./components/ix-toast-container.js";
|
|
93
|
+
import { IxToggle } from "./components/ix-toggle.js";
|
|
94
|
+
import { IxToggleButton } from "./components/ix-toggle-button.js";
|
|
95
|
+
import { IxTooltip } from "./components/ix-tooltip.js";
|
|
96
|
+
import { IxTree } from "./components/ix-tree.js";
|
|
97
|
+
import { IxTreeItem } from "./components/ix-tree-item.js";
|
|
98
|
+
import { IxTypography } from "./components/ix-typography.js";
|
|
99
|
+
import { IxUpload } from "./components/ix-upload.js";
|
|
100
|
+
import { IxWorkflowStep } from "./components/ix-workflow-step.js";
|
|
101
|
+
import { IxWorkflowSteps } from "./components/ix-workflow-steps.js";
|
|
102
|
+
import { default as default2 } from "./context/IxApplicationContext.vue.js";
|
|
3
103
|
import "./internal-components.js";
|
|
4
|
-
import { IxIcon
|
|
5
|
-
import { closeModal
|
|
6
|
-
import { ixPlugin
|
|
7
|
-
import { setToastPosition
|
|
8
|
-
import { showMessage
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { DATA_PORTAL_ID_ATTRIBUTE
|
|
104
|
+
import { IxIcon } from "./ix-icon.js";
|
|
105
|
+
import { closeModal, dismissModal, showModal, showModalLoading } from "./modal/index.js";
|
|
106
|
+
import { ixPlugin } from "./plugin.js";
|
|
107
|
+
import { setToastPosition, showToast } from "./toast/toast.js";
|
|
108
|
+
import { showMessage } from "./message/message.js";
|
|
109
|
+
import { default as default3 } from "./modal/IxOverlay.vue.js";
|
|
110
|
+
import { default as default4 } from "./modal/Modal.vue.js";
|
|
111
|
+
import { DATA_PORTAL_ID_ATTRIBUTE, PORTAL_ID } from "./modal/constants.js";
|
|
12
112
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
lx as showToast
|
|
113
|
+
DATA_PORTAL_ID_ATTRIBUTE,
|
|
114
|
+
IxActionCard,
|
|
115
|
+
IxApplication,
|
|
116
|
+
default2 as IxApplicationContext,
|
|
117
|
+
IxApplicationHeader,
|
|
118
|
+
IxAvatar,
|
|
119
|
+
IxBlind,
|
|
120
|
+
IxBreadcrumb,
|
|
121
|
+
IxBreadcrumbItem,
|
|
122
|
+
IxButton,
|
|
123
|
+
IxCard,
|
|
124
|
+
IxCardAccordion,
|
|
125
|
+
IxCardContent,
|
|
126
|
+
IxCardList,
|
|
127
|
+
IxCardTitle,
|
|
128
|
+
IxCategoryFilter,
|
|
129
|
+
IxCheckbox,
|
|
130
|
+
IxCheckboxGroup,
|
|
131
|
+
IxChip,
|
|
132
|
+
IxCol,
|
|
133
|
+
IxContent,
|
|
134
|
+
IxContentHeader,
|
|
135
|
+
IxCustomField,
|
|
136
|
+
IxDateDropdown,
|
|
137
|
+
IxDateInput,
|
|
138
|
+
IxDatePicker,
|
|
139
|
+
IxDatetimeInput,
|
|
140
|
+
IxDatetimePicker,
|
|
141
|
+
IxDivider,
|
|
142
|
+
IxDropdown,
|
|
143
|
+
IxDropdownButton,
|
|
144
|
+
IxDropdownHeader,
|
|
145
|
+
IxDropdownItem,
|
|
146
|
+
IxDropdownQuickActions,
|
|
147
|
+
IxEmptyState,
|
|
148
|
+
IxEventList,
|
|
149
|
+
IxEventListItem,
|
|
150
|
+
IxExpandingSearch,
|
|
151
|
+
IxFieldLabel,
|
|
152
|
+
IxFilterChip,
|
|
153
|
+
IxFlipTile,
|
|
154
|
+
IxFlipTileContent,
|
|
155
|
+
IxGroup,
|
|
156
|
+
IxGroupContextMenu,
|
|
157
|
+
IxGroupItem,
|
|
158
|
+
IxHelperText,
|
|
159
|
+
IxIcon,
|
|
160
|
+
IxIconButton,
|
|
161
|
+
IxIconToggleButton,
|
|
162
|
+
IxInput,
|
|
163
|
+
IxKeyValue,
|
|
164
|
+
IxKeyValueList,
|
|
165
|
+
IxKpi,
|
|
166
|
+
IxLayoutAuto,
|
|
167
|
+
IxLayoutGrid,
|
|
168
|
+
IxLinkButton,
|
|
169
|
+
IxMenu,
|
|
170
|
+
IxMenuAbout,
|
|
171
|
+
IxMenuAboutItem,
|
|
172
|
+
IxMenuAboutNews,
|
|
173
|
+
IxMenuAvatar,
|
|
174
|
+
IxMenuAvatarItem,
|
|
175
|
+
IxMenuCategory,
|
|
176
|
+
IxMenuItem,
|
|
177
|
+
IxMenuSettings,
|
|
178
|
+
IxMenuSettingsItem,
|
|
179
|
+
IxMessageBar,
|
|
180
|
+
IxModal,
|
|
181
|
+
IxModalContent,
|
|
182
|
+
IxModalFooter,
|
|
183
|
+
IxModalHeader,
|
|
184
|
+
IxNumberInput,
|
|
185
|
+
default3 as IxOverlay,
|
|
186
|
+
IxPagination,
|
|
187
|
+
IxPane,
|
|
188
|
+
IxPaneLayout,
|
|
189
|
+
IxPill,
|
|
190
|
+
IxProgressIndicator,
|
|
191
|
+
IxPushCard,
|
|
192
|
+
IxRadio,
|
|
193
|
+
IxRadioGroup,
|
|
194
|
+
IxRangeField,
|
|
195
|
+
IxRow,
|
|
196
|
+
IxSelect,
|
|
197
|
+
IxSelectItem,
|
|
198
|
+
IxSlider,
|
|
199
|
+
IxSpinner,
|
|
200
|
+
IxSplitButton,
|
|
201
|
+
IxTabItem,
|
|
202
|
+
IxTabs,
|
|
203
|
+
IxTextarea,
|
|
204
|
+
IxTile,
|
|
205
|
+
IxTimeInput,
|
|
206
|
+
IxTimePicker,
|
|
207
|
+
IxToast,
|
|
208
|
+
IxToastContainer,
|
|
209
|
+
IxToggle,
|
|
210
|
+
IxToggleButton,
|
|
211
|
+
IxTooltip,
|
|
212
|
+
IxTree,
|
|
213
|
+
IxTreeItem,
|
|
214
|
+
IxTypography,
|
|
215
|
+
IxUpload,
|
|
216
|
+
IxWorkflowStep,
|
|
217
|
+
IxWorkflowSteps,
|
|
218
|
+
default4 as Modal,
|
|
219
|
+
PORTAL_ID,
|
|
220
|
+
closeModal,
|
|
221
|
+
dismissModal,
|
|
222
|
+
ixPlugin,
|
|
223
|
+
setToastPosition,
|
|
224
|
+
showMessage,
|
|
225
|
+
showModal,
|
|
226
|
+
showModalLoading,
|
|
227
|
+
showToast
|
|
129
228
|
};
|
|
130
229
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import { defineCustomElement
|
|
2
|
-
import { defineCustomElement as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { defineCustomElement as n } from "@siemens/ix/components/ix-modal-loading.js";
|
|
6
|
-
import { defineCustomElement as f } from "@siemens/ix/components/ix-field-label.js";
|
|
7
|
-
import { defineCustomElement as i } from "@siemens/ix-icons/components/ix-icon.js";
|
|
8
|
-
m();
|
|
9
|
-
e();
|
|
10
|
-
o();
|
|
11
|
-
t();
|
|
12
|
-
n();
|
|
13
|
-
f();
|
|
14
|
-
i();
|
|
1
|
+
import { defineCustomElement } from "@siemens/ix/components/ix-application-switch-modal.js";
|
|
2
|
+
import { defineCustomElement as defineCustomElement$1 } from "@siemens/ix-icons/components/ix-icon.js";
|
|
3
|
+
defineCustomElement();
|
|
4
|
+
defineCustomElement$1();
|
|
15
5
|
//# sourceMappingURL=internal-components.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-components.js","sources":["../src/internal-components.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { defineCustomElement as
|
|
1
|
+
{"version":3,"file":"internal-components.js","sources":["../src/internal-components.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { defineCustomElement as defineIxApplicationSwitchModal } from '@siemens/ix/components/ix-application-switch-modal.js';\nimport { defineCustomElement as defineIxIcon } from '@siemens/ix-icons/components/ix-icon.js';\n\n/**\n * Define custom elements during usage of the library to ensure that all\n * components are registered before they are used.\n */\ndefineIxApplicationSwitchModal();\ndefineIxIcon();\n"],"names":["defineIxApplicationSwitchModal","defineIxIcon"],"mappings":";;AAeAA,oBAAA;AACAC,sBAAA;"}
|
package/dist/ix-icon.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineContainer
|
|
2
|
-
import { defineCustomElement
|
|
3
|
-
const
|
|
1
|
+
import { defineContainer } from "@stencil/vue-output-target/runtime";
|
|
2
|
+
import { defineCustomElement } from "@siemens/ix-icons/components/ix-icon.js";
|
|
3
|
+
const IxIcon = (
|
|
4
4
|
// eslint-disable-next-line no-inline-comments
|
|
5
|
-
/* @__PURE__ */
|
|
5
|
+
/* @__PURE__ */ defineContainer("ix-icon", defineCustomElement, [
|
|
6
6
|
"size",
|
|
7
7
|
"color",
|
|
8
8
|
"name"
|
|
9
9
|
])
|
|
10
10
|
);
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
IxIcon
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=ix-icon.js.map
|
package/dist/ix-icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ix-icon.js","sources":["../src/ix-icon.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport type { JSX as IxIconsJSX } from '@siemens/ix-icons';\nimport {\n defineContainer,\n type StencilVueComponent,\n} from '@stencil/vue-output-target/runtime';\nimport { defineCustomElement as defineIxIcon } from '@siemens/ix-icons/components/ix-icon.js';\n\nexport const IxIcon: StencilVueComponent<IxIconsJSX.IxIcon> =\n // eslint-disable-next-line no-inline-comments\n /*@__PURE__*/ defineContainer<IxIconsJSX.IxIcon>('ix-icon', defineIxIcon, [\n 'size',\n 'color',\n 'name',\n ]);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"ix-icon.js","sources":["../src/ix-icon.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport type { JSX as IxIconsJSX } from '@siemens/ix-icons';\nimport {\n defineContainer,\n type StencilVueComponent,\n} from '@stencil/vue-output-target/runtime';\nimport { defineCustomElement as defineIxIcon } from '@siemens/ix-icons/components/ix-icon.js';\n\nexport const IxIcon: StencilVueComponent<IxIconsJSX.IxIcon> =\n // eslint-disable-next-line no-inline-comments\n /*@__PURE__*/ defineContainer<IxIconsJSX.IxIcon>('ix-icon', defineIxIcon, [\n 'size',\n 'color',\n 'name',\n ]);\n"],"names":["defineIxIcon"],"mappings":";;AAeO,MAAM;AAAA;AAAA,EAEG,gCAAmC,WAAWA,qBAAc;AAAA,IACxE;AAAA,IACA;AAAA,IACA;AAAA,EAAA,CACD;AAAA;"}
|
|
@@ -1,27 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function showMessage<T>(config: MessageConfig<T>): Promise<TypedEvent<{
|
|
3
|
-
actionId: string;
|
|
4
|
-
payload: T;
|
|
5
|
-
}>>;
|
|
6
|
-
export declare namespace showMessage {
|
|
7
|
-
var info: (title: string, message: string, textOkay: string, textCancel?: string, payloadOkay?: unknown, payloadCancel?: unknown) => Promise<TypedEvent<{
|
|
8
|
-
actionId: string;
|
|
9
|
-
payload: unknown;
|
|
10
|
-
}>>;
|
|
11
|
-
var warning: (title: string, message: string, textOkay: string, textCancel?: string, payloadOkay?: unknown, payloadCancel?: unknown) => Promise<TypedEvent<{
|
|
12
|
-
actionId: string;
|
|
13
|
-
payload: unknown;
|
|
14
|
-
}>>;
|
|
15
|
-
var error: (title: string, message: string, textOkay: string, textCancel?: string, payloadOkay?: unknown, payloadCancel?: unknown) => Promise<TypedEvent<{
|
|
16
|
-
actionId: string;
|
|
17
|
-
payload: unknown;
|
|
18
|
-
}>>;
|
|
19
|
-
var success: (title: string, message: string, textOkay: string, textCancel?: string, payloadOkay?: unknown, payloadCancel?: unknown) => Promise<TypedEvent<{
|
|
20
|
-
actionId: string;
|
|
21
|
-
payload: unknown;
|
|
22
|
-
}>>;
|
|
23
|
-
var question: (title: string, message: string, textOkay: string, textCancel?: string, payloadOkay?: unknown, payloadCancel?: unknown) => Promise<TypedEvent<{
|
|
24
|
-
actionId: string;
|
|
25
|
-
payload: unknown;
|
|
26
|
-
}>>;
|
|
27
|
-
}
|
|
1
|
+
export declare const showMessage: import("@siemens/ix").ShowMessage;
|
package/dist/message/message.js
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineCustomElement as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
);
|
|
15
|
-
e.info = s("info");
|
|
16
|
-
e.warning = s("warning");
|
|
17
|
-
e.error = s("error");
|
|
18
|
-
e.success = s("success");
|
|
19
|
-
e.question = s("question");
|
|
1
|
+
import { createShowMessage } from "@siemens/ix/components";
|
|
2
|
+
import { defineCustomElement as defineCustomElement$4 } from "@siemens/ix/components/ix-button.js";
|
|
3
|
+
import { defineCustomElement } from "@siemens/ix/components/ix-modal.js";
|
|
4
|
+
import { defineCustomElement as defineCustomElement$2 } from "@siemens/ix/components/ix-modal-content.js";
|
|
5
|
+
import { defineCustomElement as defineCustomElement$3 } from "@siemens/ix/components/ix-modal-footer.js";
|
|
6
|
+
import { defineCustomElement as defineCustomElement$1 } from "@siemens/ix/components/ix-modal-header.js";
|
|
7
|
+
const showMessage = createShowMessage([
|
|
8
|
+
{ tag: "ix-modal", define: defineCustomElement },
|
|
9
|
+
{ tag: "ix-modal-header", define: defineCustomElement$1 },
|
|
10
|
+
{ tag: "ix-modal-content", define: defineCustomElement$2 },
|
|
11
|
+
{ tag: "ix-modal-footer", define: defineCustomElement$3 },
|
|
12
|
+
{ tag: "ix-button", define: defineCustomElement$4 }
|
|
13
|
+
]);
|
|
20
14
|
export {
|
|
21
|
-
|
|
15
|
+
showMessage
|
|
22
16
|
};
|
|
23
17
|
//# sourceMappingURL=message.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.js","sources":["../../src/message/message.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"message.js","sources":["../../src/message/message.ts"],"sourcesContent":["import { createShowMessage } from '@siemens/ix/components';\nimport { defineCustomElement as defineIxButton } from '@siemens/ix/components/ix-button.js';\nimport { defineCustomElement as defineIxModal } from '@siemens/ix/components/ix-modal.js';\nimport { defineCustomElement as defineIxModalContent } from '@siemens/ix/components/ix-modal-content.js';\nimport { defineCustomElement as defineIxModalFooter } from '@siemens/ix/components/ix-modal-footer.js';\nimport { defineCustomElement as defineIxModalHeader } from '@siemens/ix/components/ix-modal-header.js';\n\nexport const showMessage = createShowMessage([\n { tag: 'ix-modal', define: defineIxModal },\n { tag: 'ix-modal-header', define: defineIxModalHeader },\n { tag: 'ix-modal-content', define: defineIxModalContent },\n { tag: 'ix-modal-footer', define: defineIxModalFooter },\n { tag: 'ix-button', define: defineIxButton },\n]);\n"],"names":["defineIxModal","defineIxModalHeader","defineIxModalContent","defineIxModalFooter","defineIxButton"],"mappings":";;;;;;AAOO,MAAM,cAAc,kBAAkB;AAAA,EAC3C,EAAE,KAAK,YAAY,QAAQA,oBAAA;AAAA,EAC3B,EAAE,KAAK,mBAAmB,QAAQC,sBAAA;AAAA,EAClC,EAAE,KAAK,oBAAoB,QAAQC,sBAAA;AAAA,EACnC,EAAE,KAAK,mBAAmB,QAAQC,sBAAA;AAAA,EAClC,EAAE,KAAK,aAAa,QAAQC,sBAAA;AAC9B,CAAC;"}
|
|
@@ -1,52 +1,77 @@
|
|
|
1
|
-
import { defineComponent
|
|
2
|
-
import
|
|
3
|
-
import { DATA_PORTAL_ID_ATTRIBUTE
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, Fragment, renderList, createBlock, unref } from "vue";
|
|
2
|
+
import IxView from "./ix-view.js";
|
|
3
|
+
import { DATA_PORTAL_ID_ATTRIBUTE, PORTAL_ID } from "./constants.js";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "IxOverlay",
|
|
6
6
|
props: {
|
|
7
7
|
delegate: {
|
|
8
8
|
type: Object,
|
|
9
|
-
required:
|
|
9
|
+
required: true
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const resolveElementRef = ref({});
|
|
14
|
+
const viewMap = ref({});
|
|
15
|
+
const views = computed(() => {
|
|
16
|
+
return Object.keys(viewMap.value).map((key) => {
|
|
17
|
+
return {
|
|
18
|
+
id: key,
|
|
19
|
+
node: viewMap.value[key]
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
const props = __props;
|
|
24
|
+
watch(() => props.delegate, (delegate) => {
|
|
25
|
+
if (!delegate) {
|
|
19
26
|
return;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
}
|
|
28
|
+
const addOverlay = (id, view) => {
|
|
29
|
+
const _views = { ...viewMap.value };
|
|
30
|
+
_views[id] = view;
|
|
31
|
+
viewMap.value = _views;
|
|
32
|
+
};
|
|
33
|
+
const removeOverlay = (id) => {
|
|
34
|
+
const _views = { ...viewMap.value };
|
|
35
|
+
delete _views[id];
|
|
36
|
+
viewMap.value = _views;
|
|
37
|
+
};
|
|
38
|
+
delegate.attachViewToPortal = async (id, view) => {
|
|
39
|
+
addOverlay(id, view);
|
|
40
|
+
return new Promise((resolve) => {
|
|
41
|
+
const r = { ...resolveElementRef.value };
|
|
42
|
+
r[id] = resolve;
|
|
43
|
+
resolveElementRef.value = r;
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
delegate.removeViewFromPortal = async (id) => {
|
|
47
|
+
removeOverlay(id);
|
|
26
48
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
const l = e.children[0];
|
|
38
|
-
r(l);
|
|
49
|
+
delegate.portalReady();
|
|
50
|
+
}, { immediate: true });
|
|
51
|
+
watch(() => views.value, (newViews) => {
|
|
52
|
+
newViews.forEach((view) => {
|
|
53
|
+
const resolveQueue = { ...resolveElementRef.value };
|
|
54
|
+
const el = document.querySelector(`[${DATA_PORTAL_ID_ATTRIBUTE}="${view.id}"]`);
|
|
55
|
+
const resolve = resolveQueue[view.id];
|
|
56
|
+
if (el && el.children.length === 1 && resolve && typeof resolve === "function") {
|
|
57
|
+
const view2 = el.children[0];
|
|
58
|
+
resolve(view2);
|
|
39
59
|
}
|
|
40
60
|
});
|
|
41
|
-
}, { flush: "post" })
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
61
|
+
}, { flush: "post" });
|
|
62
|
+
return (_ctx, _cache) => {
|
|
63
|
+
return openBlock(true), createElementBlock(Fragment, null, renderList(views.value, (view) => {
|
|
64
|
+
return openBlock(), createBlock(unref(IxView), {
|
|
65
|
+
key: view.id,
|
|
66
|
+
id: view.id,
|
|
67
|
+
teleportId: `#${unref(PORTAL_ID)}`,
|
|
68
|
+
node: view.node
|
|
69
|
+
}, null, 8, ["id", "teleportId", "node"]);
|
|
70
|
+
}), 128);
|
|
71
|
+
};
|
|
47
72
|
}
|
|
48
73
|
});
|
|
49
74
|
export {
|
|
50
|
-
|
|
75
|
+
_sfc_main as default
|
|
51
76
|
};
|
|
52
77
|
//# sourceMappingURL=IxOverlay.vue.js.map
|