@piveau/dpi 0.2.0-alpha.30 → 0.2.0-alpha.32
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/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +141 -140
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/ProcessStepBase.vue.js +35 -35
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as b, ref as g, reactive as D, watch as V, createElementBlock as r, openBlock as n, Fragment as c, createElementVNode as o, createVNode as d, renderSlot as p, toDisplayString as l, withCtx as u, createTextVNode as a } from "vue";
|
|
2
2
|
import v from "../ButtonV3.vue.js";
|
|
3
|
-
import
|
|
4
|
-
const x = { class: "dpi-project-process-step V3-typography" }, w = { class: "step-section" }, B = { class: "copy-large-regular" }, C = { class: "dpiV3_modalTitle deleteModalHeading" }, P = { class: "deleteModalText" }, M = { key: 0 }, S = { key: 1 }, $ = { class: "dpiV3_modalActions" }, A = /* @__PURE__ */
|
|
3
|
+
import _ from "../DpiModalBase.vue.js";
|
|
4
|
+
const x = { class: "dpi-project-process-step V3-typography" }, w = { class: "step-section" }, B = { class: "copy-large-regular" }, C = { class: "dpiV3_modalTitle deleteModalHeading" }, P = { class: "deleteModalText" }, M = { key: 0 }, S = { key: 1 }, $ = { class: "dpiV3_modalActions" }, A = /* @__PURE__ */ b({
|
|
5
5
|
__name: "ProcessStepBase",
|
|
6
6
|
props: {
|
|
7
7
|
title: {},
|
|
@@ -10,8 +10,8 @@ const x = { class: "dpi-project-process-step V3-typography" }, w = { class: "ste
|
|
|
10
10
|
removeDialogPreText: {},
|
|
11
11
|
removeDialogPostText: {}
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const i =
|
|
13
|
+
setup(y) {
|
|
14
|
+
const i = y, T = g(!1), f = g(null), e = D({
|
|
15
15
|
id: "",
|
|
16
16
|
callback: () => {
|
|
17
17
|
},
|
|
@@ -20,71 +20,71 @@ const x = { class: "dpi-project-process-step V3-typography" }, w = { class: "ste
|
|
|
20
20
|
open: !1,
|
|
21
21
|
persistent: !1
|
|
22
22
|
});
|
|
23
|
-
function
|
|
23
|
+
function k(t) {
|
|
24
24
|
e.id = t.id, e.callback = t.callback, e.resourceType = t.resourceType || "Ressource", e.resource = t.resource || "", e.open = !0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function h() {
|
|
27
27
|
e.callback(e.id), e.open = !1;
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return V(() => e.open, (t) => {
|
|
30
30
|
t || (e.open = !1);
|
|
31
|
-
}), (t,
|
|
31
|
+
}), (t, s) => (n(), r(c, null, [
|
|
32
32
|
o("div", x, [
|
|
33
33
|
o("section", w, [
|
|
34
|
-
|
|
35
|
-
o("h4", null,
|
|
34
|
+
p(t.$slots, "title", {}, () => [
|
|
35
|
+
o("h4", null, l(t.title), 1)
|
|
36
36
|
]),
|
|
37
|
-
|
|
38
|
-
o("p", B,
|
|
37
|
+
p(t.$slots, "subtitle", {}, () => [
|
|
38
|
+
o("p", B, l(t.subtitle), 1)
|
|
39
39
|
])
|
|
40
40
|
]),
|
|
41
|
-
|
|
41
|
+
p(t.$slots, "default", { confirm: k })
|
|
42
42
|
]),
|
|
43
|
-
|
|
43
|
+
d(_, {
|
|
44
44
|
modelValue: e.open,
|
|
45
|
-
"onUpdate:modelValue":
|
|
46
|
-
persistent: !
|
|
47
|
-
"initial-focus-ref":
|
|
45
|
+
"onUpdate:modelValue": s[1] || (s[1] = (m) => e.open = m),
|
|
46
|
+
persistent: !T.value,
|
|
47
|
+
"initial-focus-ref": f.value
|
|
48
48
|
}, {
|
|
49
|
-
header:
|
|
49
|
+
header: u(() => [
|
|
50
50
|
o("h2", C, [
|
|
51
|
-
i.removeDialogTitle ? (
|
|
52
|
-
|
|
53
|
-
], 64)) : (
|
|
54
|
-
|
|
51
|
+
i.removeDialogTitle ? (n(), r(c, { key: 0 }, [
|
|
52
|
+
a(l(i.removeDialogTitle), 1)
|
|
53
|
+
], 64)) : (n(), r(c, { key: 1 }, [
|
|
54
|
+
a(" Verwendete " + l(e.resourceType) + " löschen? ", 1)
|
|
55
55
|
], 64))
|
|
56
56
|
])
|
|
57
57
|
]),
|
|
58
|
-
footer:
|
|
58
|
+
footer: u(() => [
|
|
59
59
|
o("div", $, [
|
|
60
|
-
|
|
60
|
+
d(v, {
|
|
61
61
|
"button-text": "Abbrechen",
|
|
62
62
|
variant: "tertiary",
|
|
63
63
|
size: "large",
|
|
64
|
-
onClick:
|
|
64
|
+
onClick: s[0] || (s[0] = (m) => e.open = !1)
|
|
65
65
|
}),
|
|
66
|
-
|
|
66
|
+
d(v, {
|
|
67
67
|
"button-text": "Löschen",
|
|
68
68
|
variant: "primary",
|
|
69
69
|
size: "large",
|
|
70
|
-
onClick:
|
|
70
|
+
onClick: h
|
|
71
71
|
})
|
|
72
72
|
])
|
|
73
73
|
]),
|
|
74
|
-
default:
|
|
74
|
+
default: u(() => [
|
|
75
75
|
o("span", {
|
|
76
76
|
ref_key: "hiddenFocusTarget",
|
|
77
|
-
ref:
|
|
77
|
+
ref: f,
|
|
78
78
|
tabindex: "-1",
|
|
79
79
|
class: "sr-only"
|
|
80
80
|
}, null, 512),
|
|
81
81
|
o("div", P, [
|
|
82
82
|
o("p", null, [
|
|
83
|
-
i.removeDialogPreText ? (
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
i.removeDialogPreText ? (n(), r("span", M, l(i.removeDialogPreText), 1)) : (n(), r("span", S, " Möchten Sie die verwendete " + l(e.resourceType), 1)),
|
|
84
|
+
s[2] || (s[2] = a(l(" "), -1)),
|
|
85
|
+
o("strong", null, l(e.resource), 1),
|
|
86
|
+
s[3] || (s[3] = a(l(" "), -1)),
|
|
87
|
+
s[4] || (s[4] = o("span", null, " wirklich löschen? ", -1))
|
|
88
88
|
])
|
|
89
89
|
])
|
|
90
90
|
]),
|