@siemens/ix-vue 0.0.0-pr-1724-20250305102750 → 0.0.0-pr-1974-20250624072317
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 +421 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
- package/dist/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/dist/components.d.ts +107 -105
- package/dist/components.js +1314 -1042
- package/dist/components.js.map +1 -1
- package/dist/context/IxApplicationContext.vue.d.ts +17 -0
- package/dist/context/IxApplicationContext.vue.js +17 -0
- package/dist/context/IxApplicationContext.vue.js.map +1 -0
- package/dist/context/IxApplicationContext.vue2.js +130 -0
- package/dist/context/IxApplicationContext.vue2.js.map +1 -0
- package/dist/context/context.d.ts +6 -0
- package/dist/context/context.js +11 -0
- package/dist/context/context.js.map +1 -0
- package/dist/context.d.ts +1 -0
- package/dist/delegate.d.ts +14 -0
- package/dist/delegate.js +38 -0
- package/dist/delegate.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +128 -6
- package/dist/index.js.map +1 -1
- package/dist/internal-components.js +13 -13
- package/dist/internal-components.js.map +1 -1
- package/dist/ix-icon.d.ts +2 -1
- package/dist/ix-icon.js +14 -4
- package/dist/ix-icon.js.map +1 -1
- package/dist/modal/IxOverlay.vue.d.ts +14 -0
- package/dist/modal/IxOverlay.vue.js +52 -0
- package/dist/modal/IxOverlay.vue.js.map +1 -0
- package/dist/modal/IxOverlay.vue2.js +5 -0
- package/dist/modal/IxOverlay.vue2.js.map +1 -0
- package/dist/modal/Modal.vue.d.ts +108 -0
- package/dist/modal/Modal.vue.js +74 -0
- package/dist/modal/Modal.vue.js.map +1 -0
- package/dist/modal/Modal.vue2.js +5 -0
- package/dist/modal/Modal.vue2.js.map +1 -0
- package/dist/modal/constants.d.ts +2 -0
- package/dist/modal/constants.js +6 -0
- package/dist/modal/constants.js.map +1 -0
- package/dist/modal/index.d.ts +10 -0
- package/dist/modal/index.js +116 -0
- package/dist/modal/index.js.map +1 -0
- package/dist/modal/ix-view.d.ts +29 -0
- package/dist/modal/ix-view.js +31 -0
- package/dist/modal/ix-view.js.map +1 -0
- package/dist/modal/modal-slot-props.d.ts +4 -0
- package/dist/plugin.js +21 -19
- package/dist/plugin.js.map +1 -1
- package/dist/toast/toast.js +16 -17
- package/dist/toast/toast.js.map +1 -1
- package/dist/vue-component-lib/utils.d.ts +1 -1
- package/package.json +18 -19
- package/dist/toast/index.js +0 -2
- package/dist/toast/index.js.map +0 -1
- package/dist/vue-component-lib/utils.js +0 -112
- package/dist/vue-component-lib/utils.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,128 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { IxActionCard as e, IxApplication as o, IxApplicationHeader as a, IxAvatar as r, IxBasicNavigation as n, IxBlind as i, IxBreadcrumb as p, IxBreadcrumbItem as u, IxButton as l, IxCard as d, IxCardAccordion as m, IxCardContent as s, IxCardList as T, IxCardTitle as c, IxCategoryFilter as C, IxCheckbox as M, IxCheckboxGroup as g, IxChip as A, IxCol as D, IxContent as f, IxContentHeader as w, IxCustomField as B, IxDateDropdown as P, IxDateInput as y, IxDatePicker as b, IxDatetimePicker as v, IxDivider as L, IxDrawer as S, IxDropdown as h, IxDropdownButton as k, IxDropdownHeader as F, IxDropdownItem as G, IxDropdownQuickActions as R, IxEmptyState as E, IxEventList as H, IxEventListItem as N, IxExpandingSearch as O, IxFieldLabel as _, IxFilterChip as K, IxFlipTile as V, IxFlipTileContent as U, IxGroup as W, IxGroupContextMenu as Q, IxGroupItem as j, IxHelperText as q, IxIconButton as z, IxIconToggleButton as J, IxInput as X, IxInputGroup as Y, IxKeyValue as Z, IxKeyValueList as $, IxKpi as II, IxLayoutAuto as xI, IxLayoutGrid as tI, IxLinkButton as eI, IxMapNavigation as oI, IxMapNavigationOverlay as aI, IxMenu as rI, IxMenuAbout as nI, IxMenuAboutItem as iI, IxMenuAboutNews as pI, IxMenuAvatar as uI, IxMenuAvatarItem as lI, IxMenuCategory as dI, IxMenuItem as mI, IxMenuSettings as sI, IxMenuSettingsItem as TI, IxMessageBar as cI, IxModal as CI, IxModalContent as MI, IxModalFooter as gI, IxModalHeader as AI, IxNumberInput as DI, IxPagination as fI, IxPane as wI, IxPaneLayout as BI, IxPill as PI, IxProgressIndicator as yI, IxPushCard as bI, IxRadio as vI, IxRadioGroup as LI, IxRow as SI, IxSelect as hI, IxSelectItem as kI, IxSlider as FI, IxSpinner as GI, IxSplitButton as RI, IxTabItem as EI, IxTabs as HI, IxTextarea as NI, IxTile as OI, IxTimeInput as _I, IxTimePicker as KI, IxToast as VI, IxToastContainer as UI, IxToggle as WI, IxToggleButton as QI, IxTooltip as jI, IxTree as qI, IxTreeItem as zI, IxTypography as JI, IxUpload as XI, IxValidationTooltip as YI, IxWorkflowStep as ZI, IxWorkflowSteps as $I } from "./components.js";
|
|
2
|
+
import { default as xx } from "./context/IxApplicationContext.vue.js";
|
|
3
|
+
import "./internal-components.js";
|
|
4
|
+
import { IxIcon as ex } from "./ix-icon.js";
|
|
5
|
+
import { showModal as ax } from "./modal/index.js";
|
|
6
|
+
import { ixPlugin as nx } from "./plugin.js";
|
|
7
|
+
import { setToastPosition as px, showToast as ux } from "./toast/toast.js";
|
|
8
|
+
import { default as dx } from "./modal/Modal.vue.js";
|
|
9
|
+
import { default as sx } from "./modal/IxOverlay.vue.js";
|
|
10
|
+
import { DATA_PORTAL_ID_ATTRIBUTE as cx, PORTAL_ID as Cx } from "./modal/constants.js";
|
|
11
|
+
export {
|
|
12
|
+
cx as DATA_PORTAL_ID_ATTRIBUTE,
|
|
13
|
+
e as IxActionCard,
|
|
14
|
+
o as IxApplication,
|
|
15
|
+
xx as IxApplicationContext,
|
|
16
|
+
a as IxApplicationHeader,
|
|
17
|
+
r as IxAvatar,
|
|
18
|
+
n as IxBasicNavigation,
|
|
19
|
+
i as IxBlind,
|
|
20
|
+
p as IxBreadcrumb,
|
|
21
|
+
u as IxBreadcrumbItem,
|
|
22
|
+
l as IxButton,
|
|
23
|
+
d as IxCard,
|
|
24
|
+
m as IxCardAccordion,
|
|
25
|
+
s as IxCardContent,
|
|
26
|
+
T as IxCardList,
|
|
27
|
+
c as IxCardTitle,
|
|
28
|
+
C as IxCategoryFilter,
|
|
29
|
+
M as IxCheckbox,
|
|
30
|
+
g as IxCheckboxGroup,
|
|
31
|
+
A as IxChip,
|
|
32
|
+
D as IxCol,
|
|
33
|
+
f as IxContent,
|
|
34
|
+
w as IxContentHeader,
|
|
35
|
+
B as IxCustomField,
|
|
36
|
+
P as IxDateDropdown,
|
|
37
|
+
y as IxDateInput,
|
|
38
|
+
b as IxDatePicker,
|
|
39
|
+
v as IxDatetimePicker,
|
|
40
|
+
L as IxDivider,
|
|
41
|
+
S as IxDrawer,
|
|
42
|
+
h as IxDropdown,
|
|
43
|
+
k as IxDropdownButton,
|
|
44
|
+
F as IxDropdownHeader,
|
|
45
|
+
G as IxDropdownItem,
|
|
46
|
+
R as IxDropdownQuickActions,
|
|
47
|
+
E as IxEmptyState,
|
|
48
|
+
H as IxEventList,
|
|
49
|
+
N as IxEventListItem,
|
|
50
|
+
O as IxExpandingSearch,
|
|
51
|
+
_ as IxFieldLabel,
|
|
52
|
+
K as IxFilterChip,
|
|
53
|
+
V as IxFlipTile,
|
|
54
|
+
U as IxFlipTileContent,
|
|
55
|
+
W as IxGroup,
|
|
56
|
+
Q as IxGroupContextMenu,
|
|
57
|
+
j as IxGroupItem,
|
|
58
|
+
q as IxHelperText,
|
|
59
|
+
ex as IxIcon,
|
|
60
|
+
z as IxIconButton,
|
|
61
|
+
J as IxIconToggleButton,
|
|
62
|
+
X as IxInput,
|
|
63
|
+
Y as IxInputGroup,
|
|
64
|
+
Z as IxKeyValue,
|
|
65
|
+
$ as IxKeyValueList,
|
|
66
|
+
II as IxKpi,
|
|
67
|
+
xI as IxLayoutAuto,
|
|
68
|
+
tI as IxLayoutGrid,
|
|
69
|
+
eI as IxLinkButton,
|
|
70
|
+
oI as IxMapNavigation,
|
|
71
|
+
aI as IxMapNavigationOverlay,
|
|
72
|
+
rI as IxMenu,
|
|
73
|
+
nI as IxMenuAbout,
|
|
74
|
+
iI as IxMenuAboutItem,
|
|
75
|
+
pI as IxMenuAboutNews,
|
|
76
|
+
uI as IxMenuAvatar,
|
|
77
|
+
lI as IxMenuAvatarItem,
|
|
78
|
+
dI as IxMenuCategory,
|
|
79
|
+
mI as IxMenuItem,
|
|
80
|
+
sI as IxMenuSettings,
|
|
81
|
+
TI as IxMenuSettingsItem,
|
|
82
|
+
cI as IxMessageBar,
|
|
83
|
+
CI as IxModal,
|
|
84
|
+
MI as IxModalContent,
|
|
85
|
+
gI as IxModalFooter,
|
|
86
|
+
AI as IxModalHeader,
|
|
87
|
+
DI as IxNumberInput,
|
|
88
|
+
sx as IxOverlay,
|
|
89
|
+
fI as IxPagination,
|
|
90
|
+
wI as IxPane,
|
|
91
|
+
BI as IxPaneLayout,
|
|
92
|
+
PI as IxPill,
|
|
93
|
+
yI as IxProgressIndicator,
|
|
94
|
+
bI as IxPushCard,
|
|
95
|
+
vI as IxRadio,
|
|
96
|
+
LI as IxRadioGroup,
|
|
97
|
+
SI as IxRow,
|
|
98
|
+
hI as IxSelect,
|
|
99
|
+
kI as IxSelectItem,
|
|
100
|
+
FI as IxSlider,
|
|
101
|
+
GI as IxSpinner,
|
|
102
|
+
RI as IxSplitButton,
|
|
103
|
+
EI as IxTabItem,
|
|
104
|
+
HI as IxTabs,
|
|
105
|
+
NI as IxTextarea,
|
|
106
|
+
OI as IxTile,
|
|
107
|
+
_I as IxTimeInput,
|
|
108
|
+
KI as IxTimePicker,
|
|
109
|
+
VI as IxToast,
|
|
110
|
+
UI as IxToastContainer,
|
|
111
|
+
WI as IxToggle,
|
|
112
|
+
QI as IxToggleButton,
|
|
113
|
+
jI as IxTooltip,
|
|
114
|
+
qI as IxTree,
|
|
115
|
+
zI as IxTreeItem,
|
|
116
|
+
JI as IxTypography,
|
|
117
|
+
XI as IxUpload,
|
|
118
|
+
YI as IxValidationTooltip,
|
|
119
|
+
ZI as IxWorkflowStep,
|
|
120
|
+
$I as IxWorkflowSteps,
|
|
121
|
+
dx as Modal,
|
|
122
|
+
Cx as PORTAL_ID,
|
|
123
|
+
nx as ixPlugin,
|
|
124
|
+
px as setToastPosition,
|
|
125
|
+
ax as showModal,
|
|
126
|
+
ux as showToast
|
|
127
|
+
};
|
|
128
|
+
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineCustomElement as
|
|
2
|
-
import { defineCustomElement as
|
|
3
|
-
import { defineCustomElement as
|
|
4
|
-
import { defineCustomElement as
|
|
5
|
-
import { defineCustomElement as
|
|
6
|
-
import { defineCustomElement as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=internal-components.js.map
|
|
1
|
+
import { defineCustomElement as e } from "@siemens/ix/components/ix-application-sidebar.js";
|
|
2
|
+
import { defineCustomElement as m } from "@siemens/ix/components/ix-application-switch-modal.js";
|
|
3
|
+
import { defineCustomElement as t } from "@siemens/ix/components/ix-menu-expand-icon.js";
|
|
4
|
+
import { defineCustomElement as o } from "@siemens/ix/components/ix-date-time-card.js";
|
|
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
|
+
m();
|
|
8
|
+
e();
|
|
9
|
+
o();
|
|
10
|
+
t();
|
|
11
|
+
n();
|
|
12
|
+
f();
|
|
13
|
+
//# sourceMappingURL=internal-components.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-components.js","
|
|
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 defineIxApplicationSidebar } from '@siemens/ix/components/ix-application-sidebar.js';\nimport { defineCustomElement as defineIxApplicationSwitchModal } from '@siemens/ix/components/ix-application-switch-modal.js';\nimport { defineCustomElement as defineIxBurgerMenu } from '@siemens/ix/components/ix-menu-expand-icon.js';\nimport { defineCustomElement as defineIxDateTimeCard } from '@siemens/ix/components/ix-date-time-card.js';\nimport { defineCustomElement as defineIxModalLoading } from '@siemens/ix/components/ix-modal-loading.js';\nimport { defineCustomElement as defineIxFieldLabel } from '@siemens/ix/components/ix-field-label.js';\n\ndefineIxApplicationSwitchModal();\ndefineIxApplicationSidebar();\ndefineIxDateTimeCard();\ndefineIxBurgerMenu();\ndefineIxModalLoading();\ndefineIxFieldLabel();\n"],"names":["defineIxApplicationSwitchModal","defineIxApplicationSidebar","defineIxDateTimeCard","defineIxBurgerMenu","defineIxModalLoading","defineIxFieldLabel"],"mappings":";;;;;;AAeAA,EAA+B;AAC/BC,EAA2B;AAC3BC,EAAqB;AACrBC,EAAmB;AACnBC,EAAqB;AACrBC,EAAmB;"}
|
package/dist/ix-icon.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { JSX as IxIconsJSX } from '@siemens/ix-icons';
|
|
2
|
-
|
|
2
|
+
import { type StencilVueComponent } from '@stencil/vue-output-target/runtime';
|
|
3
|
+
export declare const IxIcon: StencilVueComponent<IxIconsJSX.IxIcon>;
|
package/dist/ix-icon.js
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import { defineContainer } from
|
|
2
|
-
import { defineCustomElement } from
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { defineContainer as o } from "@stencil/vue-output-target/runtime";
|
|
2
|
+
import { defineCustomElement as e } from "@siemens/ix-icons/components/ix-icon.js";
|
|
3
|
+
const m = (
|
|
4
|
+
// eslint-disable-next-line no-inline-comments
|
|
5
|
+
/* @__PURE__ */ o("ix-icon", e, [
|
|
6
|
+
"size",
|
|
7
|
+
"color",
|
|
8
|
+
"name"
|
|
9
|
+
])
|
|
10
|
+
);
|
|
11
|
+
export {
|
|
12
|
+
m as IxIcon
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=ix-icon.js.map
|
package/dist/ix-icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ix-icon.js","
|
|
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":["IxIcon","defineContainer","defineIxIcon"],"mappings":";;AAea,MAAAA;AAAA;AAAA,EAEG,gBAAAC,EAAmC,WAAWC,GAAc;AAAA,IACxE;AAAA,IACA;AAAA,IACA;AAAA,EACD,CAAA;AAAA;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { VueFrameworkDelegate } from '../delegate';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
delegate: {
|
|
5
|
+
type: PropType<VueFrameworkDelegate>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
delegate: {
|
|
10
|
+
type: PropType<VueFrameworkDelegate>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent as _, ref as i, computed as y, watch as d, createElementBlock as h, openBlock as m, Fragment as w, renderList as I, createBlock as O, unref as v } from "vue";
|
|
2
|
+
import T from "./ix-view.js";
|
|
3
|
+
import { DATA_PORTAL_ID_ATTRIBUTE as A, PORTAL_ID as P } from "./constants.js";
|
|
4
|
+
const B = /* @__PURE__ */ _({
|
|
5
|
+
__name: "IxOverlay",
|
|
6
|
+
props: {
|
|
7
|
+
delegate: {
|
|
8
|
+
type: Object,
|
|
9
|
+
required: !0
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
setup(p) {
|
|
13
|
+
const a = i({}), n = i({}), u = y(() => Object.keys(n.value).map((t) => ({
|
|
14
|
+
id: t,
|
|
15
|
+
node: n.value[t]
|
|
16
|
+
}))), f = p;
|
|
17
|
+
return d(() => f.delegate, (t) => {
|
|
18
|
+
if (!t)
|
|
19
|
+
return;
|
|
20
|
+
const c = (e, r) => {
|
|
21
|
+
const l = { ...n.value };
|
|
22
|
+
l[e] = r, n.value = l;
|
|
23
|
+
}, o = (e) => {
|
|
24
|
+
const r = { ...n.value };
|
|
25
|
+
delete r[e], n.value = r;
|
|
26
|
+
};
|
|
27
|
+
t.attachViewToPortal = async (e, r) => (c(e, r), new Promise((l) => {
|
|
28
|
+
const s = { ...a.value };
|
|
29
|
+
s[e] = l, a.value = s;
|
|
30
|
+
})), t.removeViewFromPortal = async (e) => {
|
|
31
|
+
o(e);
|
|
32
|
+
}, t.portalReady();
|
|
33
|
+
}, { immediate: !0 }), d(() => u.value, (t) => {
|
|
34
|
+
t.forEach((c) => {
|
|
35
|
+
const o = { ...a.value }, e = document.querySelector(`[${A}="${c.id}"]`), r = o[c.id];
|
|
36
|
+
if (e && e.children.length === 1 && r && typeof r == "function") {
|
|
37
|
+
const l = e.children[0];
|
|
38
|
+
r(l);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}, { flush: "post" }), (t, c) => (m(!0), h(w, null, I(u.value, (o) => (m(), O(v(T), {
|
|
42
|
+
key: o.id,
|
|
43
|
+
id: o.id,
|
|
44
|
+
teleportId: `#${v(P)}`,
|
|
45
|
+
node: o.node
|
|
46
|
+
}, null, 8, ["id", "teleportId", "node"]))), 128));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
B as default
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=IxOverlay.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IxOverlay.vue.js","sources":["../../src/modal/IxOverlay.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n\nimport { computed, defineProps, PropType, ref, VNode, watch } from 'vue';\nimport { VueFrameworkDelegate } from '../delegate';\nimport IxView from './ix-view';\nimport { PORTAL_ID, DATA_PORTAL_ID_ATTRIBUTE } from './constants';\n\n\nconst resolveElementRef = ref<Record<string, (value: Element | PromiseLike<Element>) => void>>({});\nconst viewMap = ref<Record<string, VNode>>({})\n\nconst views = computed(() => {\n return Object.keys(viewMap.value).map((key) => {\n return {\n id: key,\n node: viewMap.value[key],\n }\n })\n})\n\nconst props = defineProps({\n delegate: {\n type: Object as PropType<VueFrameworkDelegate>,\n required: true,\n },\n})\n\nwatch(() => props.delegate, (delegate) => {\n if (!delegate) {\n return;\n }\n\n const addOverlay = (id: string, view: VNode) => {\n const _views = { ...viewMap.value };\n _views[id] = view;\n viewMap.value = _views;\n }\n\n const removeOverlay = (id: string) => {\n const _views = { ...viewMap.value };\n delete _views[id];\n viewMap.value = _views;\n }\n\n delegate.attachViewToPortal = async (id: string, view: VNode) => {\n addOverlay(id, view);\n return new Promise<Element>((resolve) => {\n const r = { ...resolveElementRef.value };\n r[id] = resolve;\n resolveElementRef.value = r;\n });\n }\n\n delegate.removeViewFromPortal = async (id: string) => {\n removeOverlay(id);\n }\n\n delegate.portalReady()\n\n}, { immediate: true });\n\nwatch(() => views.value, (newViews) => {\n newViews.forEach((view) => {\n const resolveQueue = { ...resolveElementRef.value };\n const el = document.querySelector(`[${DATA_PORTAL_ID_ATTRIBUTE}=\"${view.id}\"]`);\n\n const resolve = resolveQueue[view.id]\n\n if (el && el.children.length === 1 && resolve && typeof resolve === 'function') {\n const view = el.children[0];\n resolve(view);\n }\n\n })\n}, { flush: 'post' });\n\n\n\n</script>\n\n<template>\n <IxView v-for=\"view in views\" :key=\"view.id\" :id=\"view.id\" :teleportId=\"`#${PORTAL_ID}`\" :node=\"view.node\">\n </IxView>\n</template>"],"names":["resolveElementRef","ref","viewMap","views","computed","key","props","__props","watch","delegate","addOverlay","id","view","_views","removeOverlay","resolve","r","newViews","resolveQueue","el","DATA_PORTAL_ID_ATTRIBUTE"],"mappings":";;;;;;;;;;;;AAQM,UAAAA,IAAoBC,EAAqE,EAAE,GAC3FC,IAAUD,EAA2B,EAAE,GAEvCE,IAAQC,EAAS,MACZ,OAAO,KAAKF,EAAQ,KAAK,EAAE,IAAI,CAACG,OAC5B;AAAA,MACH,IAAIA;AAAA,MACJ,MAAMH,EAAQ,MAAMG,CAAG;AAAA,IAC3B,EACH,CACJ,GAEKC,IAAQC;AAOd,WAAAC,EAAM,MAAMF,EAAM,UAAU,CAACG,MAAa;AACtC,UAAI,CAACA;AACD;AAGE,YAAAC,IAAa,CAACC,GAAYC,MAAgB;AAC5C,cAAMC,IAAS,EAAE,GAAGX,EAAQ,MAAM;AAClC,QAAAW,EAAOF,CAAE,IAAIC,GACbV,EAAQ,QAAQW;AAAA,MACpB,GAEMC,IAAgB,CAACH,MAAe;AAClC,cAAME,IAAS,EAAE,GAAGX,EAAQ,MAAM;AAClC,eAAOW,EAAOF,CAAE,GAChBT,EAAQ,QAAQW;AAAA,MACpB;AAES,MAAAJ,EAAA,qBAAqB,OAAOE,GAAYC,OAC7CF,EAAWC,GAAIC,CAAI,GACZ,IAAI,QAAiB,CAACG,MAAY;AACrC,cAAMC,IAAI,EAAE,GAAGhB,EAAkB,MAAM;AACvC,QAAAgB,EAAEL,CAAE,IAAII,GACRf,EAAkB,QAAQgB;AAAA,MAAA,CAC7B,IAGIP,EAAA,uBAAuB,OAAOE,MAAe;AAClD,QAAAG,EAAcH,CAAE;AAAA,MACpB,GAEAF,EAAS,YAAY;AAAA,IAAA,GAEtB,EAAE,WAAW,IAAM,GAEtBD,EAAM,MAAML,EAAM,OAAO,CAACc,MAAa;AAC1B,MAAAA,EAAA,QAAQ,CAACL,MAAS;AACvB,cAAMM,IAAe,EAAE,GAAGlB,EAAkB,MAAM,GAC5CmB,IAAK,SAAS,cAAc,IAAIC,CAAwB,KAAKR,EAAK,EAAE,IAAI,GAExEG,IAAUG,EAAaN,EAAK,EAAE;AAEhC,YAAAO,KAAMA,EAAG,SAAS,WAAW,KAAKJ,KAAW,OAAOA,KAAY,YAAY;AACtEH,gBAAAA,IAAOO,EAAG,SAAS,CAAC;AAC1B,UAAAJ,EAAQH,CAAI;AAAA,QAAA;AAAA,MAChB,CAEH;AAAA,IAAA,GACF,EAAE,OAAO,QAAQ;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IxOverlay.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { HTMLRefElement } from '..';
|
|
3
|
+
import type { IxModalSize, IxModalCustomEvent } from '@siemens/ix';
|
|
4
|
+
declare var __VLS_12: {
|
|
5
|
+
closeModal: <T>(reason?: T) => void;
|
|
6
|
+
dismissModal: <T>(reason?: T) => void;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_12) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
animation: {
|
|
13
|
+
type: BooleanConstructor[];
|
|
14
|
+
required: false;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
backdrop: {
|
|
18
|
+
type: BooleanConstructor[];
|
|
19
|
+
required: false;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
beforeDismiss: {
|
|
23
|
+
type: PropType<(reason?: any) => boolean | Promise<boolean>>;
|
|
24
|
+
required: false;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
centered: {
|
|
28
|
+
type: BooleanConstructor[];
|
|
29
|
+
required: false;
|
|
30
|
+
default: any;
|
|
31
|
+
};
|
|
32
|
+
closeOnBackdropClick: {
|
|
33
|
+
type: BooleanConstructor[];
|
|
34
|
+
required: false;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
closeOnEscape: {
|
|
38
|
+
type: BooleanConstructor[];
|
|
39
|
+
required: false;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: PropType<IxModalSize>;
|
|
44
|
+
required: false;
|
|
45
|
+
default: any;
|
|
46
|
+
};
|
|
47
|
+
}>, {
|
|
48
|
+
close: <T>(reason?: T) => void;
|
|
49
|
+
dismiss: <T>(reason?: T) => void;
|
|
50
|
+
modalElement: import("vue").Ref<HTMLRefElement<HTMLIxModalElement>, HTMLRefElement<HTMLIxModalElement>>;
|
|
51
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
52
|
+
dialogClose: (args_0: IxModalCustomEvent<any>) => any;
|
|
53
|
+
dialogDismiss: (args_0: IxModalCustomEvent<any>) => any;
|
|
54
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
animation: {
|
|
56
|
+
type: BooleanConstructor[];
|
|
57
|
+
required: false;
|
|
58
|
+
default: any;
|
|
59
|
+
};
|
|
60
|
+
backdrop: {
|
|
61
|
+
type: BooleanConstructor[];
|
|
62
|
+
required: false;
|
|
63
|
+
default: any;
|
|
64
|
+
};
|
|
65
|
+
beforeDismiss: {
|
|
66
|
+
type: PropType<(reason?: any) => boolean | Promise<boolean>>;
|
|
67
|
+
required: false;
|
|
68
|
+
default: any;
|
|
69
|
+
};
|
|
70
|
+
centered: {
|
|
71
|
+
type: BooleanConstructor[];
|
|
72
|
+
required: false;
|
|
73
|
+
default: any;
|
|
74
|
+
};
|
|
75
|
+
closeOnBackdropClick: {
|
|
76
|
+
type: BooleanConstructor[];
|
|
77
|
+
required: false;
|
|
78
|
+
default: any;
|
|
79
|
+
};
|
|
80
|
+
closeOnEscape: {
|
|
81
|
+
type: BooleanConstructor[];
|
|
82
|
+
required: false;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
size: {
|
|
86
|
+
type: PropType<IxModalSize>;
|
|
87
|
+
required: false;
|
|
88
|
+
default: any;
|
|
89
|
+
};
|
|
90
|
+
}>> & Readonly<{
|
|
91
|
+
onDialogClose?: (args_0: IxModalCustomEvent<any>) => any;
|
|
92
|
+
onDialogDismiss?: (args_0: IxModalCustomEvent<any>) => any;
|
|
93
|
+
}>, {
|
|
94
|
+
size: IxModalSize;
|
|
95
|
+
animation: boolean;
|
|
96
|
+
backdrop: boolean;
|
|
97
|
+
closeOnBackdropClick: boolean;
|
|
98
|
+
beforeDismiss: (reason?: any) => boolean | Promise<boolean>;
|
|
99
|
+
centered: boolean;
|
|
100
|
+
closeOnEscape: boolean;
|
|
101
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
102
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
103
|
+
export default _default;
|
|
104
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
105
|
+
new (): {
|
|
106
|
+
$slots: S;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as n, ref as f, createBlock as p, openBlock as u, unref as m, mergeProps as v, withCtx as c, renderSlot as g } from "vue";
|
|
2
|
+
import { IxModal as y } from "../components.js";
|
|
3
|
+
const C = /* @__PURE__ */ n({
|
|
4
|
+
__name: "Modal",
|
|
5
|
+
props: {
|
|
6
|
+
animation: {
|
|
7
|
+
type: [Boolean, void 0],
|
|
8
|
+
required: !1,
|
|
9
|
+
default: void 0
|
|
10
|
+
},
|
|
11
|
+
backdrop: {
|
|
12
|
+
type: [Boolean, void 0],
|
|
13
|
+
required: !1,
|
|
14
|
+
default: void 0
|
|
15
|
+
},
|
|
16
|
+
beforeDismiss: {
|
|
17
|
+
type: Function,
|
|
18
|
+
required: !1,
|
|
19
|
+
default: void 0
|
|
20
|
+
},
|
|
21
|
+
centered: {
|
|
22
|
+
type: [Boolean, void 0],
|
|
23
|
+
required: !1,
|
|
24
|
+
default: void 0
|
|
25
|
+
},
|
|
26
|
+
closeOnBackdropClick: {
|
|
27
|
+
type: [Boolean, void 0],
|
|
28
|
+
required: !1,
|
|
29
|
+
default: void 0
|
|
30
|
+
},
|
|
31
|
+
closeOnEscape: {
|
|
32
|
+
type: [Boolean, void 0],
|
|
33
|
+
required: !1,
|
|
34
|
+
default: void 0
|
|
35
|
+
},
|
|
36
|
+
size: {
|
|
37
|
+
type: String,
|
|
38
|
+
required: !1,
|
|
39
|
+
default: void 0
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
emits: ["dialogClose", "dialogDismiss"],
|
|
43
|
+
setup(B, { expose: t, emit: r }) {
|
|
44
|
+
const l = f(), i = r, d = (o) => {
|
|
45
|
+
var e;
|
|
46
|
+
(e = l.value) == null || e.$el.closeModal(o);
|
|
47
|
+
}, a = (o) => {
|
|
48
|
+
var e;
|
|
49
|
+
(e = l.value) == null || e.$el.dismissModal(o);
|
|
50
|
+
};
|
|
51
|
+
return t({
|
|
52
|
+
close: d,
|
|
53
|
+
dismiss: a,
|
|
54
|
+
modalElement: l
|
|
55
|
+
}), (o, e) => (u(), p(m(y), v(o.$props, {
|
|
56
|
+
onDialogClose: e[0] || (e[0] = (s) => i("dialogClose", s)),
|
|
57
|
+
onDialogDismiss: e[1] || (e[1] = (s) => i("dialogDismiss", s)),
|
|
58
|
+
ref_key: "modalRef",
|
|
59
|
+
ref: l
|
|
60
|
+
}), {
|
|
61
|
+
default: c(() => [
|
|
62
|
+
g(o.$slots, "default", {
|
|
63
|
+
closeModal: d,
|
|
64
|
+
dismissModal: a
|
|
65
|
+
})
|
|
66
|
+
]),
|
|
67
|
+
_: 3
|
|
68
|
+
}, 16));
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
export {
|
|
72
|
+
C as default
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=Modal.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.vue.js","sources":["../../src/modal/Modal.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { defineProps, PropType, ref } from 'vue'\nimport { IxModal } from '../components'\nimport { HTMLRefElement } from '..'\nimport type { ModalSlotProps } from './modal-slot-props'\nimport type { IxModalSize, IxModalCustomEvent } from '@siemens/ix';\n\nconst modalRef = ref<HTMLRefElement<HTMLIxModalElement>>()\n\ndefineProps(\n {\n animation: {\n type: [Boolean, undefined],\n required: false,\n default: undefined,\n },\n backdrop: {\n type: [Boolean, undefined],\n required: false,\n default: undefined,\n },\n beforeDismiss: {\n type: Function as PropType<(reason?: any) => boolean | Promise<boolean>>,\n required: false,\n default: undefined,\n },\n centered: {\n type: [Boolean, undefined],\n required: false,\n default: undefined,\n },\n closeOnBackdropClick: {\n type: [Boolean, undefined],\n required: false,\n default: undefined,\n },\n closeOnEscape: {\n type: [Boolean, undefined],\n required: false,\n default: undefined,\n },\n size: {\n type: String as PropType<IxModalSize>,\n required: false,\n default: undefined,\n },\n }\n)\n\nconst emit = defineEmits<{ 'dialogClose': [IxModalCustomEvent<any>], 'dialogDismiss': [IxModalCustomEvent<any>] }>()\n\nconst close: ModalSlotProps['closeModal'] = (result) => {\n modalRef.value?.$el.closeModal(result)\n}\n\nconst dismiss: ModalSlotProps['dismissModal'] = (result) => {\n modalRef.value?.$el.dismissModal(result)\n}\n\ndefineExpose({\n close,\n dismiss,\n modalElement: modalRef,\n})\n\n</script>\n\n\n<template>\n <IxModal v-bind=\"$props\" @dialog-close=\"emit('dialogClose', $event)\" @dialog-dismiss=\"emit('dialogDismiss', $event)\"\n ref=\"modalRef\">\n <slot :closeModal=\"close\" :dismissModal=\"dismiss\"></slot>\n </IxModal>\n</template>"],"names":["modalRef","ref","emit","__emit","close","result","_a","dismiss","__expose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,UAAMA,IAAWC,EAAwC,GA0CnDC,IAAOC,GAEPC,IAAsC,CAACC,MAAW;;AAC3C,OAAAC,IAAAN,EAAA,UAAA,QAAAM,EAAO,IAAI,WAAWD;AAAA,IACnC,GAEME,IAA0C,CAACF,MAAW;;AAC/C,OAAAC,IAAAN,EAAA,UAAA,QAAAM,EAAO,IAAI,aAAaD;AAAA,IACrC;AAEa,WAAAG,EAAA;AAAA,MACT,OAAAJ;AAAA,MACA,SAAAG;AAAA,MACA,cAAcP;AAAA,IAAA,CACjB;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../src/modal/constants.ts"],"sourcesContent":["export const PORTAL_ID = 'ix-portal';\nexport const DATA_PORTAL_ID_ATTRIBUTE = 'data-portal-id';\n"],"names":["PORTAL_ID","DATA_PORTAL_ID_ATTRIBUTE"],"mappings":"AAAO,MAAMA,IAAY,aACZC,IAA2B;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModalConfig as IxModalConfig } from '@siemens/ix';
|
|
2
|
+
import { VNode } from 'vue';
|
|
3
|
+
export { default as Modal } from './Modal.vue';
|
|
4
|
+
export { default as IxOverlay } from './IxOverlay.vue';
|
|
5
|
+
export * from './constants';
|
|
6
|
+
export * from './modal-slot-props';
|
|
7
|
+
export type ModalConfig = {
|
|
8
|
+
content: VNode;
|
|
9
|
+
};
|
|
10
|
+
export declare function showModal(config: Omit<IxModalConfig, 'content'> & ModalConfig): Promise<import("@siemens/ix").ModalInstance<any>>;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { showModal as r } from "@siemens/ix";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "@stencil/vue-output-target/runtime";
|
|
4
|
+
import "@siemens/ix/components/ix-action-card.js";
|
|
5
|
+
import "@siemens/ix/components/ix-application.js";
|
|
6
|
+
import "@siemens/ix/components/ix-application-header.js";
|
|
7
|
+
import "@siemens/ix/components/ix-avatar.js";
|
|
8
|
+
import "@siemens/ix/components/ix-basic-navigation.js";
|
|
9
|
+
import "@siemens/ix/components/ix-blind.js";
|
|
10
|
+
import "@siemens/ix/components/ix-breadcrumb.js";
|
|
11
|
+
import "@siemens/ix/components/ix-breadcrumb-item.js";
|
|
12
|
+
import "@siemens/ix/components/ix-button.js";
|
|
13
|
+
import "@siemens/ix/components/ix-card.js";
|
|
14
|
+
import "@siemens/ix/components/ix-card-accordion.js";
|
|
15
|
+
import "@siemens/ix/components/ix-card-content.js";
|
|
16
|
+
import "@siemens/ix/components/ix-card-list.js";
|
|
17
|
+
import "@siemens/ix/components/ix-card-title.js";
|
|
18
|
+
import "@siemens/ix/components/ix-category-filter.js";
|
|
19
|
+
import "@siemens/ix/components/ix-checkbox.js";
|
|
20
|
+
import "@siemens/ix/components/ix-checkbox-group.js";
|
|
21
|
+
import "@siemens/ix/components/ix-chip.js";
|
|
22
|
+
import "@siemens/ix/components/ix-col.js";
|
|
23
|
+
import "@siemens/ix/components/ix-content.js";
|
|
24
|
+
import "@siemens/ix/components/ix-content-header.js";
|
|
25
|
+
import "@siemens/ix/components/ix-custom-field.js";
|
|
26
|
+
import "@siemens/ix/components/ix-date-dropdown.js";
|
|
27
|
+
import "@siemens/ix/components/ix-date-input.js";
|
|
28
|
+
import "@siemens/ix/components/ix-date-picker.js";
|
|
29
|
+
import "@siemens/ix/components/ix-datetime-picker.js";
|
|
30
|
+
import "@siemens/ix/components/ix-divider.js";
|
|
31
|
+
import "@siemens/ix/components/ix-drawer.js";
|
|
32
|
+
import "@siemens/ix/components/ix-dropdown.js";
|
|
33
|
+
import "@siemens/ix/components/ix-dropdown-button.js";
|
|
34
|
+
import "@siemens/ix/components/ix-dropdown-header.js";
|
|
35
|
+
import "@siemens/ix/components/ix-dropdown-item.js";
|
|
36
|
+
import "@siemens/ix/components/ix-dropdown-quick-actions.js";
|
|
37
|
+
import "@siemens/ix/components/ix-empty-state.js";
|
|
38
|
+
import "@siemens/ix/components/ix-event-list.js";
|
|
39
|
+
import "@siemens/ix/components/ix-event-list-item.js";
|
|
40
|
+
import "@siemens/ix/components/ix-expanding-search.js";
|
|
41
|
+
import "@siemens/ix/components/ix-field-label.js";
|
|
42
|
+
import "@siemens/ix/components/ix-filter-chip.js";
|
|
43
|
+
import "@siemens/ix/components/ix-flip-tile.js";
|
|
44
|
+
import "@siemens/ix/components/ix-flip-tile-content.js";
|
|
45
|
+
import "@siemens/ix/components/ix-group.js";
|
|
46
|
+
import "@siemens/ix/components/ix-group-context-menu.js";
|
|
47
|
+
import "@siemens/ix/components/ix-group-item.js";
|
|
48
|
+
import "@siemens/ix/components/ix-helper-text.js";
|
|
49
|
+
import "@siemens/ix/components/ix-icon-button.js";
|
|
50
|
+
import "@siemens/ix/components/ix-icon-toggle-button.js";
|
|
51
|
+
import "@siemens/ix/components/ix-input.js";
|
|
52
|
+
import "@siemens/ix/components/ix-input-group.js";
|
|
53
|
+
import "@siemens/ix/components/ix-key-value.js";
|
|
54
|
+
import "@siemens/ix/components/ix-key-value-list.js";
|
|
55
|
+
import "@siemens/ix/components/ix-kpi.js";
|
|
56
|
+
import "@siemens/ix/components/ix-layout-auto.js";
|
|
57
|
+
import "@siemens/ix/components/ix-layout-grid.js";
|
|
58
|
+
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
|
+
import "@siemens/ix/components/ix-menu.js";
|
|
62
|
+
import "@siemens/ix/components/ix-menu-about.js";
|
|
63
|
+
import "@siemens/ix/components/ix-menu-about-item.js";
|
|
64
|
+
import "@siemens/ix/components/ix-menu-about-news.js";
|
|
65
|
+
import "@siemens/ix/components/ix-menu-avatar.js";
|
|
66
|
+
import "@siemens/ix/components/ix-menu-avatar-item.js";
|
|
67
|
+
import "@siemens/ix/components/ix-menu-category.js";
|
|
68
|
+
import "@siemens/ix/components/ix-menu-item.js";
|
|
69
|
+
import "@siemens/ix/components/ix-menu-settings.js";
|
|
70
|
+
import "@siemens/ix/components/ix-menu-settings-item.js";
|
|
71
|
+
import "@siemens/ix/components/ix-message-bar.js";
|
|
72
|
+
import "@siemens/ix/components/ix-modal.js";
|
|
73
|
+
import "@siemens/ix/components/ix-modal-content.js";
|
|
74
|
+
import "@siemens/ix/components/ix-modal-footer.js";
|
|
75
|
+
import "@siemens/ix/components/ix-modal-header.js";
|
|
76
|
+
import "@siemens/ix/components/ix-number-input.js";
|
|
77
|
+
import "@siemens/ix/components/ix-pagination.js";
|
|
78
|
+
import "@siemens/ix/components/ix-pane.js";
|
|
79
|
+
import "@siemens/ix/components/ix-pane-layout.js";
|
|
80
|
+
import "@siemens/ix/components/ix-pill.js";
|
|
81
|
+
import "@siemens/ix/components/ix-progress-indicator.js";
|
|
82
|
+
import "@siemens/ix/components/ix-push-card.js";
|
|
83
|
+
import "@siemens/ix/components/ix-radio.js";
|
|
84
|
+
import "@siemens/ix/components/ix-radio-group.js";
|
|
85
|
+
import "@siemens/ix/components/ix-row.js";
|
|
86
|
+
import "@siemens/ix/components/ix-select.js";
|
|
87
|
+
import "@siemens/ix/components/ix-select-item.js";
|
|
88
|
+
import "@siemens/ix/components/ix-slider.js";
|
|
89
|
+
import "@siemens/ix/components/ix-spinner.js";
|
|
90
|
+
import "@siemens/ix/components/ix-split-button.js";
|
|
91
|
+
import "@siemens/ix/components/ix-tab-item.js";
|
|
92
|
+
import "@siemens/ix/components/ix-tabs.js";
|
|
93
|
+
import "@siemens/ix/components/ix-textarea.js";
|
|
94
|
+
import "@siemens/ix/components/ix-tile.js";
|
|
95
|
+
import "@siemens/ix/components/ix-time-input.js";
|
|
96
|
+
import "@siemens/ix/components/ix-time-picker.js";
|
|
97
|
+
import "@siemens/ix/components/ix-toast.js";
|
|
98
|
+
import "@siemens/ix/components/ix-toast-container.js";
|
|
99
|
+
import "@siemens/ix/components/ix-toggle.js";
|
|
100
|
+
import "@siemens/ix/components/ix-toggle-button.js";
|
|
101
|
+
import "@siemens/ix/components/ix-tooltip.js";
|
|
102
|
+
import "@siemens/ix/components/ix-tree.js";
|
|
103
|
+
import "@siemens/ix/components/ix-tree-item.js";
|
|
104
|
+
import "@siemens/ix/components/ix-typography.js";
|
|
105
|
+
import "@siemens/ix/components/ix-upload.js";
|
|
106
|
+
import "@siemens/ix/components/ix-validation-tooltip.js";
|
|
107
|
+
import "@siemens/ix/components/ix-workflow-step.js";
|
|
108
|
+
import "@siemens/ix/components/ix-workflow-steps.js";
|
|
109
|
+
import "./ix-view.js";
|
|
110
|
+
async function mr(o) {
|
|
111
|
+
return r(o);
|
|
112
|
+
}
|
|
113
|
+
export {
|
|
114
|
+
mr as showModal
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,eAAsBA,GACpBC,GACA;AACA,SAAOC,EAAWD,CAAM;AAC1B;"}
|