@siemens/ix-vue 3.2.0 → 4.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 +29 -29
- package/dist/components.d.ts +0 -3
- package/dist/components.js +357 -380
- package/dist/components.js.map +1 -1
- package/dist/context/IxApplicationContext.vue2.js +2 -5
- package/dist/context/IxApplicationContext.vue2.js.map +1 -1
- package/dist/index.js +110 -113
- package/dist/modal/Modal.vue.d.ts +2 -2
- package/dist/modal/index.js +2 -5
- package/dist/modal/index.js.map +1 -1
- package/dist/plugin.js +3 -18
- package/dist/plugin.js.map +1 -1
- package/package.json +15 -8
package/dist/index.js
CHANGED
|
@@ -1,128 +1,125 @@
|
|
|
1
|
-
import { IxActionCard as
|
|
2
|
-
import { default as
|
|
1
|
+
import { IxActionCard as t, IxApplication as o, IxApplicationHeader as r, IxAvatar as a, IxBlind as n, IxBreadcrumb as i, IxBreadcrumbItem as p, IxButton as u, IxCard as l, IxCardAccordion as d, IxCardContent as m, IxCardList as T, IxCardTitle as s, IxCategoryFilter as C, IxCheckbox as c, IxCheckboxGroup as A, IxChip as M, IxCol as g, IxContent as D, IxContentHeader as f, IxCustomField as w, IxDateDropdown as P, IxDateInput as B, IxDatePicker as b, IxDatetimePicker as y, IxDivider as L, IxDrawer as S, IxDropdown as h, IxDropdownButton as k, IxDropdownHeader as v, IxDropdownItem as F, IxDropdownQuickActions as G, IxEmptyState as R, IxEventList as E, IxEventListItem as H, IxExpandingSearch as _, IxFieldLabel as K, IxFilterChip as O, IxFlipTile as V, IxFlipTileContent as N, IxGroup as U, IxGroupContextMenu as W, IxGroupItem as Q, IxHelperText as j, IxIconButton as q, IxIconToggleButton as z, IxInput as J, IxInputGroup as X, IxKeyValue as Y, IxKeyValueList as Z, IxKpi as $, IxLayoutAuto as II, IxLayoutGrid as xI, IxLinkButton as eI, IxMenu as tI, IxMenuAbout as oI, IxMenuAboutItem as rI, IxMenuAboutNews as aI, IxMenuAvatar as nI, IxMenuAvatarItem as iI, IxMenuCategory as pI, IxMenuItem as uI, IxMenuSettings as lI, IxMenuSettingsItem as dI, IxMessageBar as mI, IxModal as TI, IxModalContent as sI, IxModalFooter as CI, IxModalHeader as cI, IxNumberInput as AI, IxPagination as MI, IxPane as gI, IxPaneLayout as DI, IxPill as fI, IxProgressIndicator as wI, IxPushCard as PI, IxRadio as BI, IxRadioGroup as bI, IxRow as yI, IxSelect as LI, IxSelectItem as SI, IxSlider as hI, IxSpinner as kI, IxSplitButton as vI, IxTabItem as FI, IxTabs as GI, IxTextarea as RI, IxTile as EI, IxTimeInput as HI, IxTimePicker as _I, IxToast as KI, IxToastContainer as OI, IxToggle as VI, IxToggleButton as NI, IxTooltip as UI, IxTree as WI, IxTreeItem as QI, IxTypography as jI, IxUpload as qI, IxValidationTooltip as zI, IxWorkflowStep as JI, IxWorkflowSteps as XI } from "./components.js";
|
|
2
|
+
import { default as ZI } from "./context/IxApplicationContext.vue.js";
|
|
3
3
|
import "./internal-components.js";
|
|
4
|
-
import { IxIcon as
|
|
5
|
-
import { showModal as
|
|
6
|
-
import { ixPlugin as
|
|
7
|
-
import { setToastPosition as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { DATA_PORTAL_ID_ATTRIBUTE as
|
|
4
|
+
import { IxIcon as Ix } from "./ix-icon.js";
|
|
5
|
+
import { showModal as ex } from "./modal/index.js";
|
|
6
|
+
import { ixPlugin as ox } from "./plugin.js";
|
|
7
|
+
import { setToastPosition as ax, showToast as nx } from "./toast/toast.js";
|
|
8
|
+
import { default as px } from "./modal/Modal.vue.js";
|
|
9
|
+
import { default as lx } from "./modal/IxOverlay.vue.js";
|
|
10
|
+
import { DATA_PORTAL_ID_ATTRIBUTE as mx, PORTAL_ID as Tx } from "./modal/constants.js";
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
mx as DATA_PORTAL_ID_ATTRIBUTE,
|
|
13
|
+
t as IxActionCard,
|
|
14
14
|
o as IxApplication,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
n as
|
|
19
|
-
i as
|
|
20
|
-
p as
|
|
21
|
-
u as
|
|
22
|
-
l as
|
|
23
|
-
d as
|
|
24
|
-
m as
|
|
25
|
-
s as IxCardContent,
|
|
15
|
+
ZI as IxApplicationContext,
|
|
16
|
+
r as IxApplicationHeader,
|
|
17
|
+
a as IxAvatar,
|
|
18
|
+
n as IxBlind,
|
|
19
|
+
i as IxBreadcrumb,
|
|
20
|
+
p as IxBreadcrumbItem,
|
|
21
|
+
u as IxButton,
|
|
22
|
+
l as IxCard,
|
|
23
|
+
d as IxCardAccordion,
|
|
24
|
+
m as IxCardContent,
|
|
26
25
|
T as IxCardList,
|
|
27
|
-
|
|
26
|
+
s as IxCardTitle,
|
|
28
27
|
C as IxCategoryFilter,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
c as IxCheckbox,
|
|
29
|
+
A as IxCheckboxGroup,
|
|
30
|
+
M as IxChip,
|
|
31
|
+
g as IxCol,
|
|
32
|
+
D as IxContent,
|
|
33
|
+
f as IxContentHeader,
|
|
34
|
+
w as IxCustomField,
|
|
36
35
|
P as IxDateDropdown,
|
|
37
|
-
|
|
36
|
+
B as IxDateInput,
|
|
38
37
|
b as IxDatePicker,
|
|
39
|
-
|
|
38
|
+
y as IxDatetimePicker,
|
|
40
39
|
L as IxDivider,
|
|
41
40
|
S as IxDrawer,
|
|
42
41
|
h as IxDropdown,
|
|
43
42
|
k as IxDropdownButton,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
43
|
+
v as IxDropdownHeader,
|
|
44
|
+
F as IxDropdownItem,
|
|
45
|
+
G as IxDropdownQuickActions,
|
|
46
|
+
R as IxEmptyState,
|
|
47
|
+
E as IxEventList,
|
|
48
|
+
H as IxEventListItem,
|
|
49
|
+
_ as IxExpandingSearch,
|
|
50
|
+
K as IxFieldLabel,
|
|
51
|
+
O as IxFilterChip,
|
|
53
52
|
V as IxFlipTile,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
53
|
+
N as IxFlipTileContent,
|
|
54
|
+
U as IxGroup,
|
|
55
|
+
W as IxGroupContextMenu,
|
|
56
|
+
Q as IxGroupItem,
|
|
57
|
+
j as IxHelperText,
|
|
58
|
+
Ix as IxIcon,
|
|
59
|
+
q as IxIconButton,
|
|
60
|
+
z as IxIconToggleButton,
|
|
61
|
+
J as IxInput,
|
|
62
|
+
X as IxInputGroup,
|
|
63
|
+
Y as IxKeyValue,
|
|
64
|
+
Z as IxKeyValueList,
|
|
65
|
+
$ as IxKpi,
|
|
66
|
+
II as IxLayoutAuto,
|
|
67
|
+
xI as IxLayoutGrid,
|
|
69
68
|
eI as IxLinkButton,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
rI as
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
TI as
|
|
82
|
-
|
|
83
|
-
CI as
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
PI as
|
|
93
|
-
|
|
94
|
-
bI as
|
|
95
|
-
|
|
96
|
-
LI as
|
|
97
|
-
SI as
|
|
98
|
-
hI as
|
|
99
|
-
kI as
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
VI as
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
ax as showModal,
|
|
126
|
-
ux as showToast
|
|
69
|
+
tI as IxMenu,
|
|
70
|
+
oI as IxMenuAbout,
|
|
71
|
+
rI as IxMenuAboutItem,
|
|
72
|
+
aI as IxMenuAboutNews,
|
|
73
|
+
nI as IxMenuAvatar,
|
|
74
|
+
iI as IxMenuAvatarItem,
|
|
75
|
+
pI as IxMenuCategory,
|
|
76
|
+
uI as IxMenuItem,
|
|
77
|
+
lI as IxMenuSettings,
|
|
78
|
+
dI as IxMenuSettingsItem,
|
|
79
|
+
mI as IxMessageBar,
|
|
80
|
+
TI as IxModal,
|
|
81
|
+
sI as IxModalContent,
|
|
82
|
+
CI as IxModalFooter,
|
|
83
|
+
cI as IxModalHeader,
|
|
84
|
+
AI as IxNumberInput,
|
|
85
|
+
lx as IxOverlay,
|
|
86
|
+
MI as IxPagination,
|
|
87
|
+
gI as IxPane,
|
|
88
|
+
DI as IxPaneLayout,
|
|
89
|
+
fI as IxPill,
|
|
90
|
+
wI as IxProgressIndicator,
|
|
91
|
+
PI as IxPushCard,
|
|
92
|
+
BI as IxRadio,
|
|
93
|
+
bI as IxRadioGroup,
|
|
94
|
+
yI as IxRow,
|
|
95
|
+
LI as IxSelect,
|
|
96
|
+
SI as IxSelectItem,
|
|
97
|
+
hI as IxSlider,
|
|
98
|
+
kI as IxSpinner,
|
|
99
|
+
vI as IxSplitButton,
|
|
100
|
+
FI as IxTabItem,
|
|
101
|
+
GI as IxTabs,
|
|
102
|
+
RI as IxTextarea,
|
|
103
|
+
EI as IxTile,
|
|
104
|
+
HI as IxTimeInput,
|
|
105
|
+
_I as IxTimePicker,
|
|
106
|
+
KI as IxToast,
|
|
107
|
+
OI as IxToastContainer,
|
|
108
|
+
VI as IxToggle,
|
|
109
|
+
NI as IxToggleButton,
|
|
110
|
+
UI as IxTooltip,
|
|
111
|
+
WI as IxTree,
|
|
112
|
+
QI as IxTreeItem,
|
|
113
|
+
jI as IxTypography,
|
|
114
|
+
qI as IxUpload,
|
|
115
|
+
zI as IxValidationTooltip,
|
|
116
|
+
JI as IxWorkflowStep,
|
|
117
|
+
XI as IxWorkflowSteps,
|
|
118
|
+
px as Modal,
|
|
119
|
+
Tx as PORTAL_ID,
|
|
120
|
+
ox as ixPlugin,
|
|
121
|
+
ax as setToastPosition,
|
|
122
|
+
ex as showModal,
|
|
123
|
+
nx as showToast
|
|
127
124
|
};
|
|
128
125
|
//# sourceMappingURL=index.js.map
|
|
@@ -92,11 +92,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
92
92
|
onDialogDismiss?: (args_0: IxModalCustomEvent<any>) => any;
|
|
93
93
|
}>, {
|
|
94
94
|
size: IxModalSize;
|
|
95
|
-
animation: boolean;
|
|
96
|
-
backdrop: boolean;
|
|
97
95
|
closeOnBackdropClick: boolean;
|
|
98
96
|
beforeDismiss: (reason?: any) => boolean | Promise<boolean>;
|
|
99
97
|
centered: boolean;
|
|
98
|
+
animation: boolean;
|
|
99
|
+
backdrop: boolean;
|
|
100
100
|
closeOnEscape: boolean;
|
|
101
101
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
102
102
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
package/dist/modal/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import "@siemens/ix/components/ix-action-card.js";
|
|
|
5
5
|
import "@siemens/ix/components/ix-application.js";
|
|
6
6
|
import "@siemens/ix/components/ix-application-header.js";
|
|
7
7
|
import "@siemens/ix/components/ix-avatar.js";
|
|
8
|
-
import "@siemens/ix/components/ix-basic-navigation.js";
|
|
9
8
|
import "@siemens/ix/components/ix-blind.js";
|
|
10
9
|
import "@siemens/ix/components/ix-breadcrumb.js";
|
|
11
10
|
import "@siemens/ix/components/ix-breadcrumb-item.js";
|
|
@@ -56,8 +55,6 @@ import "@siemens/ix/components/ix-kpi.js";
|
|
|
56
55
|
import "@siemens/ix/components/ix-layout-auto.js";
|
|
57
56
|
import "@siemens/ix/components/ix-layout-grid.js";
|
|
58
57
|
import "@siemens/ix/components/ix-link-button.js";
|
|
59
|
-
import "@siemens/ix/components/ix-map-navigation.js";
|
|
60
|
-
import "@siemens/ix/components/ix-map-navigation-overlay.js";
|
|
61
58
|
import "@siemens/ix/components/ix-menu.js";
|
|
62
59
|
import "@siemens/ix/components/ix-menu-about.js";
|
|
63
60
|
import "@siemens/ix/components/ix-menu-about-item.js";
|
|
@@ -107,10 +104,10 @@ import "@siemens/ix/components/ix-validation-tooltip.js";
|
|
|
107
104
|
import "@siemens/ix/components/ix-workflow-step.js";
|
|
108
105
|
import "@siemens/ix/components/ix-workflow-steps.js";
|
|
109
106
|
import "./ix-view.js";
|
|
110
|
-
async function
|
|
107
|
+
async function rr(o) {
|
|
111
108
|
return r(o);
|
|
112
109
|
}
|
|
113
110
|
export {
|
|
114
|
-
|
|
111
|
+
rr as showModal
|
|
115
112
|
};
|
|
116
113
|
//# 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} from '@siemens/ix';\nimport { VNode } from 'vue';\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"],"names":["showModal","config","_showModal"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/modal/index.ts"],"sourcesContent":["import {\n ModalConfig as IxModalConfig,\n showModal as _showModal,\n} from '@siemens/ix';\nimport { VNode } from 'vue';\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"],"names":["showModal","config","_showModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,eAAsBA,GACpBC,GACA;AACA,SAAOC,EAAWD,CAAM;AAC1B;"}
|
package/dist/plugin.js
CHANGED
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
|
|
4
|
-
}
|
|
5
|
-
const l = {
|
|
6
|
-
async install() {
|
|
7
|
-
o({
|
|
8
|
-
ael(e, t, n, a) {
|
|
9
|
-
e.addEventListener(r(t), n, a);
|
|
10
|
-
},
|
|
11
|
-
rel(e, t, n, a) {
|
|
12
|
-
e.removeEventListener(r(t), n, a);
|
|
13
|
-
},
|
|
14
|
-
ce(e, t) {
|
|
15
|
-
return new CustomEvent(r(e), t);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
1
|
+
const i = {
|
|
2
|
+
install() {
|
|
18
3
|
}
|
|
19
4
|
};
|
|
20
5
|
export {
|
|
21
|
-
|
|
6
|
+
i as ixPlugin
|
|
22
7
|
};
|
|
23
8
|
//# sourceMappingURL=plugin.js.map
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["../src/plugin.ts"],"sourcesContent":["import { Plugin } from 'vue';\
|
|
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":["ixPlugin"],"mappings":"AAEO,MAAMA,IAAmB;AAAA,EAC9B,UAAU;AAAA,EAEV;AACF;"}
|
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": "4.0.0",
|
|
7
7
|
"description": "Siemens iX for Vue",
|
|
8
8
|
"bugs": "https://github.com/siemens/ix/issues",
|
|
9
9
|
"repository": {
|
|
@@ -21,30 +21,37 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@siemens/ix": "~
|
|
25
|
-
"@stencil/vue-output-target": "^0.
|
|
24
|
+
"@siemens/ix": "~4.0.0",
|
|
25
|
+
"@stencil/vue-output-target": "^0.11.8"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"@testing-library/vue": "^8.1.0",
|
|
28
29
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
29
30
|
"@typescript-eslint/parser": "^5.62.0",
|
|
31
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
32
|
+
"@vitest/browser": "^3.2.4",
|
|
30
33
|
"eslint": "~8.21.0",
|
|
31
34
|
"eslint-plugin-vue": "^9.27.0",
|
|
35
|
+
"playwright": "^1.54.1",
|
|
32
36
|
"rimraf": "^3.0.2",
|
|
33
37
|
"typescript": "^5.8.3",
|
|
34
|
-
"vue": "^3.4.34",
|
|
35
38
|
"vite": "^6.3.5",
|
|
39
|
+
"vitest": "^3.2.4",
|
|
40
|
+
"vue": "^3.4.34",
|
|
36
41
|
"vue-tsc": "^2.2.10",
|
|
37
|
-
"@
|
|
38
|
-
"@siemens/ix": "3.2.0",
|
|
42
|
+
"@siemens/ix": "4.0.0",
|
|
39
43
|
"eslint-config-ix": "1.0.0"
|
|
40
44
|
},
|
|
41
45
|
"peerDependencies": {
|
|
42
|
-
"@siemens/ix-icons": "^3.
|
|
46
|
+
"@siemens/ix-icons": "^3.2.0",
|
|
43
47
|
"vue": ">=3.2.45"
|
|
44
48
|
},
|
|
45
49
|
"scripts": {
|
|
46
50
|
"build": "pnpm clean && vite build && vue-tsc --declaration --emitDeclarationOnly --outDir dist",
|
|
47
51
|
"clean": "rimraf dist",
|
|
48
|
-
"lint": "eslint src"
|
|
52
|
+
"lint": "eslint src",
|
|
53
|
+
"test.setup": "playwright install chromium --with-deps",
|
|
54
|
+
"test": "vitest --config=vitest.config.ts run",
|
|
55
|
+
"test.watch": "vitest --config=vitest.config.ts"
|
|
49
56
|
}
|
|
50
57
|
}
|