@piveau/dpi 0.2.0-alpha.20 → 0.2.0-alpha.22
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/DataProviderInterface.vue.js +22 -16
- package/dist/packages/dpi/src/data-provider-interface/DataProviderInterface.vue2.js +34 -32
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +87 -71
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +88 -73
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +70 -55
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +50 -49
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +115 -83
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +108 -105
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +111 -107
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +127 -122
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +72 -68
- package/dist/packages/dpi/src/data-provider-interface/composables/project-transformer/encodeProject.js +38 -38
- package/dist/packages/dpi/src/data-provider-interface/composables/useDebouncedLoading.js +11 -0
- package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +37 -37
- package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +218 -216
- package/package.json +1 -1
|
@@ -1,43 +1,49 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
1
|
+
import a from "./DataProviderInterface.vue2.js";
|
|
2
|
+
import { resolveComponent as n, createElementBlock as i, openBlock as o, Fragment as d, createElementVNode as t, createBlock as m, createVNode as s } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import f from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const h = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "d-flex justify-content-center align-items-center",
|
|
8
8
|
style: { height: "100dvh", width: "100%" }
|
|
9
9
|
};
|
|
10
|
-
function g(r, e, u, y,
|
|
11
|
-
const
|
|
12
|
-
return
|
|
13
|
-
e[0] || (e[0] =
|
|
10
|
+
function g(r, e, u, y, k, _) {
|
|
11
|
+
const l = n("TheErrorDialog"), p = n("router-view"), c = n("PhCircleNotch");
|
|
12
|
+
return o(), i(d, null, [
|
|
13
|
+
e[0] || (e[0] = t("link", {
|
|
14
14
|
rel: "preconnect",
|
|
15
15
|
href: "https://fonts.googleapis.com"
|
|
16
16
|
}, null, -1)),
|
|
17
|
-
e[1] || (e[1] =
|
|
17
|
+
e[1] || (e[1] = t("link", {
|
|
18
18
|
rel: "preconnect",
|
|
19
19
|
href: "https://fonts.gstatic.com",
|
|
20
20
|
crossorigin: ""
|
|
21
21
|
}, null, -1)),
|
|
22
|
-
e[2] || (e[2] =
|
|
22
|
+
e[2] || (e[2] = t("link", {
|
|
23
23
|
href: "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",
|
|
24
24
|
rel: "stylesheet"
|
|
25
25
|
}, null, -1)),
|
|
26
|
-
(
|
|
26
|
+
(o(), i("div", {
|
|
27
27
|
key: r.property,
|
|
28
28
|
class: "dpi dpiV3_dpi"
|
|
29
29
|
}, [
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
t("div", null, [
|
|
31
|
+
s(l)
|
|
32
32
|
]),
|
|
33
|
-
r.isReady ? (
|
|
33
|
+
r.isReady ? (o(), m(p, {
|
|
34
34
|
ref: "view",
|
|
35
35
|
key: r.key
|
|
36
|
-
})) : (
|
|
36
|
+
})) : (o(), i("div", h, [
|
|
37
|
+
s(c, {
|
|
38
|
+
size: "72",
|
|
39
|
+
weight: "bold",
|
|
40
|
+
class: "dpiV3_spinningIcon"
|
|
41
|
+
})
|
|
42
|
+
]))
|
|
37
43
|
]))
|
|
38
44
|
], 64);
|
|
39
45
|
}
|
|
40
|
-
const
|
|
46
|
+
const V = /* @__PURE__ */ f(a, [["render", g]]);
|
|
41
47
|
export {
|
|
42
|
-
|
|
48
|
+
V as default
|
|
43
49
|
};
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import G from "
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import Z from "./
|
|
14
|
-
import ee from "./HappyFlowComponents/ui/
|
|
15
|
-
|
|
1
|
+
import { PhCircleNotch as j } from "@phosphor-icons/vue";
|
|
2
|
+
import { whenever as q } from "@vueuse/core";
|
|
3
|
+
import { defineComponent as _, defineAsyncComponent as D, toRef as B, computed as i, toValue as O, provide as z, watchEffect as v, ref as c, nextTick as w } from "vue";
|
|
4
|
+
import { useRoute as F } from "vue-router";
|
|
5
|
+
import { mapActions as I, mapGetters as T, useStore as J } from "vuex";
|
|
6
|
+
import { useRuntimeEnv as G } from "../composables/useRuntimeEnv.js";
|
|
7
|
+
import K from "./components/TheErrorDialog.vue.js";
|
|
8
|
+
import { autocompleteKey as H, defaultAutocompleteAdapter as Q } from "./composables/aucotomplete.js";
|
|
9
|
+
import { setupDpiContext as U } from "./composables/useDpiContext.js";
|
|
10
|
+
import { useDpiEditMode as W } from "./composables/useDpiEditMode.js";
|
|
11
|
+
import { useFormValues as X } from "./composables/useDpiFormValues.js";
|
|
12
|
+
import { useErrorDialog as Y } from "./composables/useErrorDialog.js";
|
|
13
|
+
import { config as Z } from "./config/dpi-spec-config.js";
|
|
14
|
+
import ee from "./HappyFlowComponents/ui/ButtonV3.vue.js";
|
|
15
|
+
import te from "./HappyFlowComponents/ui/DpiModalBase.vue.js";
|
|
16
|
+
const ge = _({
|
|
16
17
|
name: "DataProviderInterface",
|
|
17
18
|
components: {
|
|
18
|
-
ButtonV3:
|
|
19
|
+
ButtonV3: ee,
|
|
19
20
|
InputPage: D(() => import("./views/InputPage.vue.js")),
|
|
20
21
|
InputPageProject: D(() => import("./views/InputPageProject.vue.js")),
|
|
21
|
-
DpiModalBase:
|
|
22
|
-
TheErrorDialog:
|
|
22
|
+
DpiModalBase: te,
|
|
23
|
+
TheErrorDialog: K,
|
|
24
|
+
PhCircleNotch: j
|
|
23
25
|
},
|
|
24
26
|
props: {
|
|
25
27
|
name: {
|
|
@@ -54,7 +56,7 @@ const ve = q({
|
|
|
54
56
|
};
|
|
55
57
|
},
|
|
56
58
|
computed: {
|
|
57
|
-
...
|
|
59
|
+
...T("auth", [
|
|
58
60
|
"getIsEditMode"
|
|
59
61
|
]),
|
|
60
62
|
mode() {
|
|
@@ -89,8 +91,8 @@ const ve = q({
|
|
|
89
91
|
window.removeEventListener("scroll", this.handleScroll);
|
|
90
92
|
},
|
|
91
93
|
setup(o) {
|
|
92
|
-
const e =
|
|
93
|
-
const a =
|
|
94
|
+
const e = F(), r = J(), p = G(), h = p.content.dataProviderInterface.specification, S = Z[h], b = B(o, "dpiContext"), { formValues: g } = X(), { openErrorDialog: y } = Y(), t = i(() => {
|
|
95
|
+
const a = O(b);
|
|
94
96
|
return {
|
|
95
97
|
specification: S,
|
|
96
98
|
specificationName: h,
|
|
@@ -102,26 +104,26 @@ const ve = q({
|
|
|
102
104
|
},
|
|
103
105
|
...a
|
|
104
106
|
};
|
|
105
|
-
}),
|
|
106
|
-
|
|
107
|
-
const
|
|
107
|
+
}), C = i(() => t.value.specification), E = i(() => t.value.specificationName);
|
|
108
|
+
U(t);
|
|
109
|
+
const A = Q({
|
|
108
110
|
envs: p,
|
|
109
111
|
dpiContext: t
|
|
110
112
|
});
|
|
111
|
-
|
|
112
|
-
r.dispatch("dpiStore/setSpecification",
|
|
113
|
+
z(H, o.autocomplete || A.adapter), v(() => {
|
|
114
|
+
r.dispatch("dpiStore/setSpecification", C.value), r.dispatch("dpiStore/setSpecificationname", E.value);
|
|
113
115
|
});
|
|
114
|
-
const P = i(() => `${e.query.key}@${E.value}`), x = e.name === "DataProviderInterface-InputProject", { isReady: s, result: m, inEditModeAndRptAvailable: $, parsingErrors: n, fetchError: d, isSimpleLoaderReady: R, isMaterialized: L, isLoading: M, jsonld:
|
|
116
|
+
const P = i(() => `${e.query.key}@${E.value}`), x = e.name === "DataProviderInterface-InputProject", { isReady: s, result: m, inEditModeAndRptAvailable: $, parsingErrors: n, fetchError: d, isSimpleLoaderReady: R, isMaterialized: L, isLoading: M, jsonld: N } = W(t, x), f = c(!1);
|
|
115
117
|
v(async () => {
|
|
116
118
|
f.value || $.value && s.value && (await w(), await w(), g.value = m.value, console.log("resultus", m.value), f.value = !0);
|
|
117
119
|
});
|
|
118
|
-
const
|
|
120
|
+
const k = i(() => {
|
|
119
121
|
var a;
|
|
120
122
|
return (a = t.value.edit) != null && a.enabled ? s.value && f.value : s.value;
|
|
121
123
|
}), l = c(!1), u = c(null), V = c(!0);
|
|
122
124
|
return v(() => {
|
|
123
125
|
n.value && n.value.length > 0 ? (u.value = n.value[0], l.value = !0, y(new Error(n.value[0].message))) : (l.value = !1, u.value = null);
|
|
124
|
-
}),
|
|
126
|
+
}), q(d, () => {
|
|
125
127
|
var a;
|
|
126
128
|
u.value = {
|
|
127
129
|
code: "fetch_failed",
|
|
@@ -131,7 +133,7 @@ const ve = q({
|
|
|
131
133
|
result: m,
|
|
132
134
|
resolvedDpiContext: t,
|
|
133
135
|
key: P,
|
|
134
|
-
isReady:
|
|
136
|
+
isReady: k,
|
|
135
137
|
formValues: g,
|
|
136
138
|
showErrorModal: l,
|
|
137
139
|
currentError: u,
|
|
@@ -140,12 +142,12 @@ const ve = q({
|
|
|
140
142
|
isSimpleLoaderReady: R,
|
|
141
143
|
isMaterialized: L,
|
|
142
144
|
isLoading: M,
|
|
143
|
-
jsonld:
|
|
145
|
+
jsonld: N,
|
|
144
146
|
inEditModeAndRptAvailable: $,
|
|
145
147
|
isEditReady: s
|
|
146
148
|
};
|
|
147
149
|
}
|
|
148
150
|
});
|
|
149
151
|
export {
|
|
150
|
-
|
|
152
|
+
ge as default
|
|
151
153
|
};
|
|
@@ -1,65 +1,74 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import {
|
|
1
|
+
import { ref as v, computed as l, watch as q, createElementBlock as a, openBlock as o, createElementVNode as n, createCommentVNode as D, createTextVNode as V, createBlock as f, resolveDynamicComponent as F, unref as r, withCtx as K, createVNode as S, createStaticVNode as $, Fragment as I, renderList as T } from "vue";
|
|
2
|
+
import { PhCircleNotch as j } from "@phosphor-icons/vue";
|
|
3
|
+
import "@vueuse/core";
|
|
3
4
|
import "jquery";
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { useStore as
|
|
6
|
-
import { useRuntimeEnv as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
5
|
+
import { useRouter as G } from "vue-router";
|
|
6
|
+
import { useStore as J } from "vuex";
|
|
7
|
+
import { useRuntimeEnv as M } from "../../composables/useRuntimeEnv.js";
|
|
8
|
+
import { useDebouncedLoading as O } from "../composables/useDebouncedLoading.js";
|
|
9
|
+
import { useDatasetSearch as Q } from "../composables/useTwinbyHome.js";
|
|
10
|
+
import { useTwinbyUser as X } from "../composables/useTwinbyUser.js";
|
|
11
|
+
import { formatDate as x } from "../utils/formatDate.js";
|
|
12
|
+
import Y from "./ui/ButtonV3.vue.js";
|
|
13
|
+
import C from "./ui/TableRowV3.vue.js";
|
|
12
14
|
/* empty css */
|
|
13
|
-
import
|
|
14
|
-
const
|
|
15
|
+
import Z from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
16
|
+
const ee = { class: "dpiV3_dpiHome V3-typography" }, te = { class: "dpiV3_homeHeadWrap" }, ie = {
|
|
15
17
|
key: 0,
|
|
16
18
|
class: "copy-large-semi-bold landingText"
|
|
17
|
-
},
|
|
19
|
+
}, oe = { class: "interactionButtonsDPIHome" }, le = {
|
|
18
20
|
key: 0,
|
|
19
21
|
class: "dpiV3_table"
|
|
20
|
-
},
|
|
22
|
+
}, ae = {
|
|
21
23
|
key: 0,
|
|
22
|
-
class: "
|
|
23
|
-
},
|
|
24
|
+
class: "dpiV3_loadingSkeleton"
|
|
25
|
+
}, ne = {
|
|
24
26
|
key: 1,
|
|
25
27
|
class: "dpiV3_innerTable"
|
|
26
|
-
},
|
|
28
|
+
}, re = {
|
|
27
29
|
__name: "HomeTable",
|
|
28
|
-
setup(
|
|
29
|
-
var
|
|
30
|
-
const s =
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
|
|
30
|
+
setup(se) {
|
|
31
|
+
var _, k, y, w;
|
|
32
|
+
const s = J();
|
|
33
|
+
G(), localStorage.getItem("dpi_duplicate"), v("");
|
|
34
|
+
const h = M();
|
|
35
|
+
v({
|
|
34
36
|
loading: !1,
|
|
35
37
|
message: "",
|
|
36
38
|
confirm: () => null
|
|
37
39
|
});
|
|
38
|
-
const
|
|
39
|
-
console.log(
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
const
|
|
40
|
+
const c = l(() => s.getters["auth/getUserDrafts"].sort((t, i) => (t.id ?? "").localeCompare(i.id ?? "", "de", { sensitivity: "base", numeric: !0 })));
|
|
41
|
+
console.log(c);
|
|
42
|
+
const P = l(() => s.getters["auth/getUserData"]);
|
|
43
|
+
l(() => P.value.rtpToken);
|
|
44
|
+
const H = (t) => s.dispatch("snackbar/showSnackbar", t), z = l(() => {
|
|
43
45
|
var t, i;
|
|
44
46
|
return (i = (t = s.getters) == null ? void 0 : t["auth/getUserData"]) == null ? void 0 : i.authToken;
|
|
45
|
-
}), { useSearch:
|
|
46
|
-
Authorization: `Bearer ${
|
|
47
|
-
})), { getSearchResultsEnhanced:
|
|
47
|
+
}), { useSearch: B } = Q("https://twin.bydata.de/api/hub/search"), E = l(() => ({
|
|
48
|
+
Authorization: `Bearer ${z.value}`
|
|
49
|
+
})), { getSearchResultsEnhanced: L, query: b, isFetching: N } = B({
|
|
48
50
|
queryParams: {
|
|
49
51
|
limit: 100
|
|
50
52
|
},
|
|
51
53
|
additionalParams: {
|
|
52
54
|
accessControlPermissions: "edit,publish,delete"
|
|
53
55
|
},
|
|
54
|
-
headers:
|
|
55
|
-
}),
|
|
56
|
-
|
|
57
|
-
console.error(
|
|
58
|
-
message:
|
|
56
|
+
headers: E
|
|
57
|
+
}), d = l(() => b.error.value);
|
|
58
|
+
q(d, () => {
|
|
59
|
+
console.error(d), H({
|
|
60
|
+
message: d.value.message,
|
|
59
61
|
color: "error"
|
|
60
62
|
});
|
|
61
63
|
});
|
|
62
|
-
const
|
|
64
|
+
const { isLoading: U } = O(N), u = v(!1);
|
|
65
|
+
async function p() {
|
|
66
|
+
await new Promise((t) => setTimeout(t, 2100)), b.refetch(), u.value = !1;
|
|
67
|
+
}
|
|
68
|
+
function R() {
|
|
69
|
+
u.value = !0, p();
|
|
70
|
+
}
|
|
71
|
+
const A = l(() => U.value || u.value), m = l(() => (L.value || []).map((t) => ({
|
|
63
72
|
id: t.id,
|
|
64
73
|
title: t.title,
|
|
65
74
|
description: t.description,
|
|
@@ -71,27 +80,27 @@ const O = { class: "dpiV3_dpiHome V3-typography" }, Q = { class: "dpiV3_homeHead
|
|
|
71
80
|
allowEdit: t.allowEdit,
|
|
72
81
|
allowPublish: t.allowPublish,
|
|
73
82
|
allowDelete: t.allowDelete
|
|
74
|
-
}))), { allowedToCreate:
|
|
75
|
-
keycloak: ((
|
|
76
|
-
realm: ((
|
|
83
|
+
}))), { allowedToCreate: g } = X({
|
|
84
|
+
keycloak: ((k = (_ = h.authentication) == null ? void 0 : _.keycloak) == null ? void 0 : k.url) || "https://keycloak.twin.bydata.de",
|
|
85
|
+
realm: ((w = (y = h.authentication) == null ? void 0 : y.keycloak) == null ? void 0 : w.realm) || "piveau",
|
|
77
86
|
audience: "piveau-hub-repo"
|
|
78
87
|
});
|
|
79
|
-
return (t, i) => (
|
|
80
|
-
|
|
81
|
-
i[1] || (i[1] =
|
|
82
|
-
i[2] || (i[2] =
|
|
83
|
-
|
|
88
|
+
return (t, i) => (o(), a("div", ee, [
|
|
89
|
+
n("div", te, [
|
|
90
|
+
i[1] || (i[1] = n("h2", { class: "dpiV3_tableHeader" }, " Ihre Datensätze ", -1)),
|
|
91
|
+
i[2] || (i[2] = n("div", { class: "dpiV3_dataset-information" }, [
|
|
92
|
+
n("p", null, "Hier sehen Sie alle Datensätze, die Sie bearbeiten oder veröffentlichen können.")
|
|
84
93
|
], -1)),
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
]))) :
|
|
90
|
-
|
|
91
|
-
(
|
|
92
|
-
default:
|
|
93
|
-
|
|
94
|
-
disabled: !
|
|
94
|
+
m.value.length === 0 && c.value.length === 0 ? (o(), a("p", ie, i[0] || (i[0] = [
|
|
95
|
+
V(" Willkommen im Data Provider Interface ✨ ", -1),
|
|
96
|
+
n("br", null, null, -1),
|
|
97
|
+
V("Beginnen Sie mit der Erstellung Ihres ersten Datensatzes! ", -1)
|
|
98
|
+
]))) : D("", !0),
|
|
99
|
+
n("div", oe, [
|
|
100
|
+
(o(), f(F(r(g) ? "RouterLink" : "span"), { to: { name: "DataProviderInterface-Input", query: { locale: "de", edit: !1 }, params: { property: "datasets" } } }, {
|
|
101
|
+
default: K(() => [
|
|
102
|
+
S(Y, {
|
|
103
|
+
disabled: !r(g),
|
|
95
104
|
"button-text": "Neuen Datensatz erstellen",
|
|
96
105
|
size: "large"
|
|
97
106
|
}, null, 8, ["disabled"])
|
|
@@ -100,41 +109,48 @@ const O = { class: "dpiV3_dpiHome V3-typography" }, Q = { class: "dpiV3_homeHead
|
|
|
100
109
|
}))
|
|
101
110
|
])
|
|
102
111
|
]),
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
112
|
+
m.value.length > 0 || c.value.length > 0 ? (o(), a("div", le, [
|
|
113
|
+
A.value ? (o(), a("div", ae, [
|
|
114
|
+
S(r(j), {
|
|
115
|
+
size: 48,
|
|
116
|
+
weight: "bold",
|
|
117
|
+
class: "dpiV3_spinningIcon"
|
|
118
|
+
})
|
|
119
|
+
])) : (o(), a("div", ne, [
|
|
120
|
+
i[3] || (i[3] = $('<div class="dpiV3_tableHeadWrap" data-v-943cefbc><div class="dpiV3_thWrap" data-v-943cefbc><div scope="col" data-v-943cefbc><span data-v-943cefbc>Datensätze</span></div><div scope="col" class="dpiV3_statusHead" data-v-943cefbc><span data-v-943cefbc>Status</span></div></div><div class="dpiV3_blankCell" data-v-943cefbc></div></div>', 1)),
|
|
121
|
+
n("div", null, [
|
|
122
|
+
(o(!0), a(I, null, T(c.value, (e) => (o(), f(C, {
|
|
110
123
|
id: e.id,
|
|
111
124
|
key: e.id,
|
|
112
125
|
"data-cy": e,
|
|
113
126
|
catalogue: e.catalog,
|
|
114
127
|
text: e.title.de || e.title.en,
|
|
115
|
-
date: e != null && e.modified ?
|
|
128
|
+
date: e != null && e.modified ? r(x)(e == null ? void 0 : e.modified) : "-",
|
|
116
129
|
draft: "true",
|
|
117
|
-
dataset: e
|
|
130
|
+
dataset: e,
|
|
131
|
+
onActionCompleted: p
|
|
118
132
|
}, null, 8, ["id", "data-cy", "catalogue", "text", "date", "dataset"]))), 128)),
|
|
119
|
-
(
|
|
133
|
+
(o(!0), a(I, null, T(m.value, (e, W) => (o(), f(C, {
|
|
120
134
|
id: e.id,
|
|
121
|
-
key: e.id ??
|
|
135
|
+
key: e.id ?? W,
|
|
122
136
|
text: e.title || "Kein Titel in englisch oder deutsch vohanden",
|
|
123
|
-
date: e != null && e.modified ?
|
|
137
|
+
date: e != null && e.modified ? r(x)(e == null ? void 0 : e.modified) : "-",
|
|
124
138
|
dataset: e,
|
|
125
139
|
visibility: e.visibility,
|
|
126
140
|
draft: e.publicationStatus === "draft",
|
|
127
141
|
catalogue: e.catalogId,
|
|
128
142
|
"allow-edit": e.allowEdit,
|
|
129
143
|
"allow-publish": e.allowPublish,
|
|
130
|
-
"allow-delete": e.allowDelete
|
|
144
|
+
"allow-delete": e.allowDelete,
|
|
145
|
+
onStart: R,
|
|
146
|
+
onComplete: p
|
|
131
147
|
}, null, 8, ["id", "text", "date", "dataset", "visibility", "draft", "catalogue", "allow-edit", "allow-publish", "allow-delete"]))), 128))
|
|
132
148
|
])
|
|
133
149
|
]))
|
|
134
|
-
])) :
|
|
150
|
+
])) : D("", !0)
|
|
135
151
|
]));
|
|
136
152
|
}
|
|
137
|
-
},
|
|
153
|
+
}, Ve = /* @__PURE__ */ Z(re, [["__scopeId", "data-v-943cefbc"]]);
|
|
138
154
|
export {
|
|
139
|
-
|
|
155
|
+
Ve as default
|
|
140
156
|
};
|
package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ProjectTable.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cda1ef87"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|