@siemens/ix-vue 4.4.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 +37 -12
- 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 +2 -3
- 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 +5 -5
- package/dist/components.js +0 -1401
- package/dist/components.js.map +0 -1
package/dist/modal/ix-view.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent
|
|
2
|
-
import { DATA_PORTAL_ID_ATTRIBUTE
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent, h, Teleport } from "vue";
|
|
2
|
+
import { DATA_PORTAL_ID_ATTRIBUTE } from "./constants.js";
|
|
3
|
+
const IxView = defineComponent({
|
|
4
4
|
name: "IxView",
|
|
5
5
|
props: {
|
|
6
6
|
teleportId: {
|
|
7
7
|
type: String,
|
|
8
|
-
required:
|
|
8
|
+
required: true
|
|
9
9
|
},
|
|
10
10
|
id: {
|
|
11
11
|
type: String,
|
|
12
|
-
required:
|
|
12
|
+
required: true
|
|
13
13
|
},
|
|
14
14
|
node: {
|
|
15
15
|
type: Object,
|
|
16
|
-
required:
|
|
16
|
+
required: true
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
render() {
|
|
20
|
-
const
|
|
20
|
+
const div = h(
|
|
21
21
|
"div",
|
|
22
|
-
{ [
|
|
22
|
+
{ [DATA_PORTAL_ID_ATTRIBUTE]: this.id, style: "display: contents" },
|
|
23
23
|
this.node
|
|
24
24
|
);
|
|
25
|
-
return
|
|
25
|
+
return h(Teleport, { to: this.teleportId }, div);
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
IxView as default
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=ix-view.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ix-view.js","sources":["../../src/modal/ix-view.ts"],"sourcesContent":["import { defineComponent, h, PropType, VNode, Teleport } from 'vue';\nimport { DATA_PORTAL_ID_ATTRIBUTE } from './constants';\n\nexport default defineComponent({\n name: 'IxView',\n props: {\n teleportId: {\n type: String,\n required: true,\n },\n id: {\n type: String,\n required: true,\n },\n node: {\n type: Object as PropType<VNode>,\n required: true,\n },\n },\n render() {\n const div = h(\n 'div',\n { [DATA_PORTAL_ID_ATTRIBUTE]: this.id, style: 'display: contents' },\n this.node\n );\n\n return h(Teleport, { to: this.teleportId }, div);\n },\n});\n"],"names":[
|
|
1
|
+
{"version":3,"file":"ix-view.js","sources":["../../src/modal/ix-view.ts"],"sourcesContent":["import { defineComponent, h, PropType, VNode, Teleport } from 'vue';\nimport { DATA_PORTAL_ID_ATTRIBUTE } from './constants';\n\nexport default defineComponent({\n name: 'IxView',\n props: {\n teleportId: {\n type: String,\n required: true,\n },\n id: {\n type: String,\n required: true,\n },\n node: {\n type: Object as PropType<VNode>,\n required: true,\n },\n },\n render() {\n const div = h(\n 'div',\n { [DATA_PORTAL_ID_ATTRIBUTE]: this.id, style: 'display: contents' },\n this.node\n );\n\n return h(Teleport, { to: this.teleportId }, div);\n },\n});\n"],"names":[],"mappings":";;AAGA,MAAA,SAAe,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,OAAO;AAAA,IACL,YAAY;AAAA,MACV,MAAM;AAAA,MACN,UAAU;AAAA,IAAA;AAAA,IAEZ,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAU;AAAA,IAAA;AAAA,IAEZ,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AAAA,IAAA;AAAA,EACZ;AAAA,EAEF,SAAS;AACP,UAAM,MAAM;AAAA,MACV;AAAA,MACA,EAAE,CAAC,wBAAwB,GAAG,KAAK,IAAI,OAAO,oBAAA;AAAA,MAC9C,KAAK;AAAA,IAAA;AAGP,WAAO,EAAE,UAAU,EAAE,IAAI,KAAK,WAAA,GAAc,GAAG;AAAA,EACjD;AACF,CAAC;"}
|
package/dist/plugin.js
CHANGED
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["../src/plugin.ts"],"sourcesContent":["import { Plugin } from 'vue';\n\nexport const ixPlugin: Plugin = {\n install() {\n // Plugin initialization - currently no setup required\n },\n};\n"],"names":[
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["../src/plugin.ts"],"sourcesContent":["import { Plugin } from 'vue';\n\nexport const ixPlugin: Plugin = {\n install() {\n // Plugin initialization - currently no setup required\n },\n};\n"],"names":[],"mappings":"AAEO,MAAM,WAAmB;AAAA,EAC9B,UAAU;AAAA,EAEV;AACF;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type PropType, type VNode } from 'vue';
|
|
2
|
+
export declare const IxTabSet: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
export declare const IxTabPanel: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
tabKey: {
|
|
7
|
+
type: PropType<string>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
tabKey: {
|
|
14
|
+
type: PropType<string>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/dist/toast/toast.d.ts
CHANGED
package/dist/toast/toast.js
CHANGED
|
@@ -1,22 +1,37 @@
|
|
|
1
|
-
import { getToastContainer
|
|
2
|
-
import { defineCustomElement as
|
|
3
|
-
import { defineCustomElement as
|
|
4
|
-
import { defineCustomElement
|
|
5
|
-
function
|
|
6
|
-
|
|
1
|
+
import { getToastContainer, toast } from "@siemens/ix/components";
|
|
2
|
+
import { defineCustomElement as defineCustomElement$2 } from "@siemens/ix/components/ix-toast.js";
|
|
3
|
+
import { defineCustomElement as defineCustomElement$1 } from "@siemens/ix/components/ix-toast-container.js";
|
|
4
|
+
import { defineCustomElement } from "@siemens/ix-icons/components/ix-icon.js";
|
|
5
|
+
function setToastPosition(position) {
|
|
6
|
+
getToastContainer().position = position;
|
|
7
7
|
}
|
|
8
|
-
async function
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
async function showToast(config) {
|
|
9
|
+
defineCustomElement();
|
|
10
|
+
defineCustomElement$1();
|
|
11
|
+
defineCustomElement$2();
|
|
12
|
+
if (typeof config.message === "string" && !config.action) {
|
|
13
|
+
const toastInstance2 = await toast(config);
|
|
14
|
+
return toastInstance2;
|
|
15
|
+
}
|
|
16
|
+
let clonedMessage = void 0;
|
|
17
|
+
let clonedAction = void 0;
|
|
18
|
+
if (config.message && typeof config.message !== "string") {
|
|
19
|
+
clonedMessage = config.message.cloneNode(true);
|
|
20
|
+
} else if (typeof config.message === "string") {
|
|
21
|
+
clonedMessage = config.message;
|
|
22
|
+
}
|
|
23
|
+
if (config.action) {
|
|
24
|
+
clonedAction = config.action.cloneNode(true);
|
|
25
|
+
}
|
|
26
|
+
const toastInstance = await toast({
|
|
27
|
+
...config,
|
|
28
|
+
message: clonedMessage,
|
|
29
|
+
action: clonedAction
|
|
16
30
|
});
|
|
31
|
+
return toastInstance;
|
|
17
32
|
}
|
|
18
33
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
34
|
+
setToastPosition,
|
|
35
|
+
showToast
|
|
21
36
|
};
|
|
22
37
|
//# sourceMappingURL=toast.js.map
|
package/dist/toast/toast.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.js","sources":["../../src/toast/toast.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2022 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 */\n\nimport {
|
|
1
|
+
{"version":3,"file":"toast.js","sources":["../../src/toast/toast.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2022 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 */\n\nimport type { ToastConfig as IxToastConfig } from '@siemens/ix';\nimport { getToastContainer, toast } from '@siemens/ix/components';\nimport { defineCustomElement as defineIxToast } from '@siemens/ix/components/ix-toast.js';\nimport { defineCustomElement as defineIxToastContainer } from '@siemens/ix/components/ix-toast-container.js';\nimport { defineCustomElement as defineIxIcon } from '@siemens/ix-icons/components/ix-icon.js';\n\nexport type ToastConfig = {\n message?: string | HTMLElement;\n action?: HTMLElement;\n};\n\nexport function setToastPosition(position: 'bottom-right' | 'top-right') {\n getToastContainer().position = position;\n}\n\nexport async function showToast(\n config: Omit<IxToastConfig, 'message' | 'action'> & ToastConfig\n) {\n // Define components upfront to prevent undefined components\n defineIxIcon();\n defineIxToastContainer();\n defineIxToast();\n\n if (typeof config.message === 'string' && !config.action) {\n const toastInstance = await toast(config as IxToastConfig);\n return toastInstance;\n }\n\n let clonedMessage: string | HTMLElement | undefined = undefined;\n let clonedAction: HTMLElement | undefined = undefined;\n\n if (config.message && typeof config.message !== 'string') {\n clonedMessage = config.message.cloneNode(true) as HTMLElement;\n } else if (typeof config.message === 'string') {\n clonedMessage = config.message;\n }\n\n if (config.action) {\n clonedAction = config.action.cloneNode(true) as HTMLElement;\n }\n\n const toastInstance = await toast({\n ...config,\n message: clonedMessage,\n action: clonedAction,\n });\n\n return toastInstance;\n}\n"],"names":["defineIxIcon","defineIxToastContainer","defineIxToast","toastInstance"],"mappings":";;;;AAoBO,SAAS,iBAAiB,UAAwC;AACvE,oBAAA,EAAoB,WAAW;AACjC;AAEA,eAAsB,UACpB,QACA;AAEAA,sBAAA;AACAC,wBAAA;AACAC,wBAAA;AAEA,MAAI,OAAO,OAAO,YAAY,YAAY,CAAC,OAAO,QAAQ;AACxD,UAAMC,iBAAgB,MAAM,MAAM,MAAuB;AACzD,WAAOA;AAAAA,EACT;AAEA,MAAI,gBAAkD;AACtD,MAAI,eAAwC;AAE5C,MAAI,OAAO,WAAW,OAAO,OAAO,YAAY,UAAU;AACxD,oBAAgB,OAAO,QAAQ,UAAU,IAAI;AAAA,EAC/C,WAAW,OAAO,OAAO,YAAY,UAAU;AAC7C,oBAAgB,OAAO;AAAA,EACzB;AAEA,MAAI,OAAO,QAAQ;AACjB,mBAAe,OAAO,OAAO,UAAU,IAAI;AAAA,EAC7C;AAEA,QAAM,gBAAgB,MAAM,MAAM;AAAA,IAChC,GAAG;AAAA,IACH,SAAS;AAAA,IACT,QAAQ;AAAA,EAAA,CACT;AAED,SAAO;AACT;"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"homepage": "https://ix.siemens.io",
|
|
4
4
|
"author": "Siemens AG",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "5.0.0",
|
|
7
7
|
"description": "Siemens iX for Vue",
|
|
8
8
|
"bugs": "https://github.com/siemens/ix/issues",
|
|
9
9
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@siemens/ix": "~
|
|
24
|
+
"@siemens/ix": "~5.0.0",
|
|
25
25
|
"@stencil/vue-output-target": "^0.12.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"playwright": "^1.57.0",
|
|
36
36
|
"rimraf": "^6.1.3",
|
|
37
37
|
"typescript": "^5.8.3",
|
|
38
|
-
"vite": "
|
|
38
|
+
"vite": "7.3.1",
|
|
39
39
|
"vitest": "^3.2.4",
|
|
40
40
|
"vue": "^3.4.34",
|
|
41
41
|
"vue-tsc": "^2.2.10",
|
|
42
|
-
"@siemens/ix": "
|
|
42
|
+
"@siemens/ix": "5.0.0",
|
|
43
43
|
"eslint-config-ix": "1.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@siemens/ix-icons": "^3.
|
|
46
|
+
"@siemens/ix-icons": "^3.4.0",
|
|
47
47
|
"vue": ">=3.2.45"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|