@siemens/ix-vue 4.2.0 → 4.4.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 +54 -28
- package/dist/components.js +83 -45
- package/dist/components.js.map +1 -1
- package/dist/context/IxApplicationContext.vue.js +2 -2
- package/dist/context/IxApplicationContext.vue.js.map +1 -1
- package/dist/context/context.js +1 -1
- package/dist/delegate.js +1 -2
- package/dist/delegate.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/modal/IxOverlay.vue.js +1 -1
- package/dist/modal/IxOverlay.vue.js.map +1 -1
- package/dist/modal/Modal.vue.js +11 -13
- package/dist/modal/Modal.vue.js.map +1 -1
- package/dist/modal/index.d.ts +3 -1
- package/dist/modal/index.js +11 -11
- package/dist/modal/index.js.map +1 -1
- package/package.json +11 -11
package/dist/modal/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { closeModal as m, dismissModal as r, showModal as p, showModalLoading as i } from "@siemens/ix";
|
|
2
2
|
import { defineCustomElement as l } from "@siemens/ix/components/ix-modal.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "@stencil/vue-output-target/runtime";
|
|
@@ -106,21 +106,21 @@ import "@siemens/ix/components/ix-workflow-steps.js";
|
|
|
106
106
|
import "./ix-view.js";
|
|
107
107
|
l();
|
|
108
108
|
async function li(o) {
|
|
109
|
-
return
|
|
109
|
+
return p(o);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function di(o) {
|
|
112
|
+
return typeof o == "string" ? i(o) : i(o);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
o
|
|
114
|
+
function si(o) {
|
|
115
|
+
o?.htmlElement && r(o.htmlElement);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
o
|
|
117
|
+
function ni(o, t) {
|
|
118
|
+
o?.htmlElement && m(o.htmlElement, t);
|
|
119
119
|
}
|
|
120
120
|
export {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
ni as closeModal,
|
|
122
|
+
si as dismissModal,
|
|
123
123
|
li as showModal,
|
|
124
|
-
|
|
124
|
+
di as showModalLoading
|
|
125
125
|
};
|
|
126
126
|
//# sourceMappingURL=index.js.map
|
package/dist/modal/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/modal/index.ts"],"sourcesContent":["import {\n ModalConfig as IxModalConfig,\n showModal as _showModal,\n showModalLoading as _showModalLoading,\n dismissModal as _dismissModal,\n closeModal as _closeModal,\n ModalInstance as IxModalInstance,\n ModalLoadingContext,\n} from '@siemens/ix';\nimport { VNode } from 'vue';\nimport { defineCustomElement } from '@siemens/ix/components/ix-modal.js';\n\n// call defineCustomElement once at module level\ndefineCustomElement();\n\nexport { default as Modal } from './Modal.vue';\nexport { default as IxOverlay } from './IxOverlay.vue';\nexport * from './constants';\nexport * from './modal-slot-props';\n\nexport type ModalConfig = {\n content: VNode;\n};\n\nexport async function showModal(\n config: Omit<IxModalConfig, 'content'> & ModalConfig\n) {\n return _showModal(config);\n}\n\nexport function showModalLoading(message: string): ModalLoadingContext {\n return _showModalLoading(
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/modal/index.ts"],"sourcesContent":["import {\n ModalConfig as IxModalConfig,\n showModal as _showModal,\n showModalLoading as _showModalLoading,\n dismissModal as _dismissModal,\n closeModal as _closeModal,\n ModalInstance as IxModalInstance,\n ModalLoadingContext,\n ModalLoadingOptions,\n} from '@siemens/ix';\nimport { VNode } from 'vue';\nimport { defineCustomElement } from '@siemens/ix/components/ix-modal.js';\n\nexport type { ModalLoadingOptions } from '@siemens/ix';\n\n// call defineCustomElement once at module level\ndefineCustomElement();\n\nexport { default as Modal } from './Modal.vue';\nexport { default as IxOverlay } from './IxOverlay.vue';\nexport * from './constants';\nexport * from './modal-slot-props';\n\nexport type ModalConfig = {\n content: VNode;\n};\n\nexport async function showModal(\n config: Omit<IxModalConfig, 'content'> & ModalConfig\n) {\n return _showModal(config);\n}\n\n/** @deprecated Use ModalLoadingOptions object form instead */\nexport function showModalLoading(message: string): ModalLoadingContext;\nexport function showModalLoading(\n options: ModalLoadingOptions\n): ModalLoadingContext;\nexport function showModalLoading(\n messageOrOptions: string | ModalLoadingOptions\n): ModalLoadingContext {\n return typeof messageOrOptions === 'string'\n ? _showModalLoading(messageOrOptions)\n : _showModalLoading(messageOrOptions);\n}\n\nexport function dismissModal(modalInstance: IxModalInstance) {\n if (modalInstance?.htmlElement) {\n _dismissModal(modalInstance.htmlElement);\n }\n}\n\nexport function closeModal<T = any>(\n modalInstance: IxModalInstance,\n reason?: T\n) {\n if (modalInstance?.htmlElement) {\n _closeModal(modalInstance.htmlElement, reason);\n }\n}\n"],"names":["defineCustomElement","showModal","config","_showModal","showModalLoading","messageOrOptions","_showModalLoading","dismissModal","modalInstance","_dismissModal","closeModal","reason","_closeModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBAA,EAAA;AAWA,eAAsBC,GACpBC,GACA;AACA,SAAOC,EAAWD,CAAM;AAC1B;AAOO,SAASE,GACdC,GACqB;AACrB,SAAO,OAAOA,KAAqB,WAC/BC,EAAkBD,CAAgB,IAClCC,EAAkBD,CAAgB;AACxC;AAEO,SAASE,GAAaC,GAAgC;AAC3D,EAAIA,GAAe,eACjBC,EAAcD,EAAc,WAAW;AAE3C;AAEO,SAASE,GACdF,GACAG,GACA;AACA,EAAIH,GAAe,eACjBI,EAAYJ,EAAc,aAAaG,CAAM;AAEjD;"}
|
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": "4.
|
|
6
|
+
"version": "4.4.0",
|
|
7
7
|
"description": "Siemens iX for Vue",
|
|
8
8
|
"bugs": "https://github.com/siemens/ix/issues",
|
|
9
9
|
"repository": {
|
|
@@ -21,25 +21,25 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@siemens/ix": "~4.
|
|
25
|
-
"@stencil/vue-output-target": "^0.
|
|
24
|
+
"@siemens/ix": "~4.4.0",
|
|
25
|
+
"@stencil/vue-output-target": "^0.12.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@testing-library/vue": "^8.1.0",
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
30
|
-
"@typescript-eslint/parser": "^
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
30
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
31
31
|
"@vitejs/plugin-vue": "^5.2.3",
|
|
32
32
|
"@vitest/browser": "^3.2.4",
|
|
33
|
-
"eslint": "
|
|
33
|
+
"eslint": "^9.39.3",
|
|
34
34
|
"eslint-plugin-vue": "^9.27.0",
|
|
35
|
-
"playwright": "^1.
|
|
36
|
-
"rimraf": "^
|
|
35
|
+
"playwright": "^1.57.0",
|
|
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": "4.
|
|
42
|
+
"@siemens/ix": "4.4.0",
|
|
43
43
|
"eslint-config-ix": "1.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "pnpm clean && vite build && vue-tsc --declaration --emitDeclarationOnly --outDir dist",
|
|
51
51
|
"clean": "rimraf dist",
|
|
52
|
-
"lint": "eslint src",
|
|
52
|
+
"lint": "eslint src --ext .ts",
|
|
53
53
|
"test.setup": "playwright install chromium --with-deps",
|
|
54
54
|
"test": "vitest --config=vitest.config.ts run",
|
|
55
55
|
"test.watch": "vitest --config=vitest.config.ts"
|