@piveau/dpi 0.2.0-alpha.20 → 0.2.0-alpha.21

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.
Files changed (20) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/DataProviderInterface.vue.js +22 -16
  3. package/dist/packages/dpi/src/data-provider-interface/DataProviderInterface.vue2.js +34 -32
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +87 -71
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue.js +2 -2
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ProjectTable.vue2.js +88 -73
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +70 -55
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +50 -49
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +115 -83
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue.js +1 -1
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ReviewStep/ReviewStep.vue2.js +111 -107
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +127 -122
  15. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue.js +2 -2
  16. package/dist/packages/dpi/src/data-provider-interface/components/StepActionsSection.vue2.js +72 -68
  17. package/dist/packages/dpi/src/data-provider-interface/composables/useDebouncedLoading.js +11 -0
  18. package/dist/packages/dpi/src/data-provider-interface/composables/useProjectActions.js +37 -37
  19. package/dist/packages/dpi/src/data-provider-interface/views/InputPageProject.vue.js +218 -216
  20. package/package.json +1 -1
@@ -1,43 +1,49 @@
1
- import p from "./DataProviderInterface.vue2.js";
2
- import { resolveComponent as s, createElementBlock as n, openBlock as t, Fragment as a, createElementVNode as o, createBlock as c, createVNode as d } from "vue";
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 m = {
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, h, k) {
11
- const i = s("TheErrorDialog"), l = s("router-view");
12
- return t(), n(a, null, [
13
- e[0] || (e[0] = o("link", {
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] = o("link", {
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] = o("link", {
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
- (t(), n("div", {
26
+ (o(), i("div", {
27
27
  key: r.property,
28
28
  class: "dpi dpiV3_dpi"
29
29
  }, [
30
- o("div", null, [
31
- d(i)
30
+ t("div", null, [
31
+ s(l)
32
32
  ]),
33
- r.isReady ? (t(), c(l, {
33
+ r.isReady ? (o(), m(p, {
34
34
  ref: "view",
35
35
  key: r.key
36
- })) : (t(), n("div", m))
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 $ = /* @__PURE__ */ f(p, [["render", g]]);
46
+ const V = /* @__PURE__ */ f(a, [["render", g]]);
41
47
  export {
42
- $ as default
48
+ V as default
43
49
  };
@@ -1,25 +1,27 @@
1
- import { whenever as j } from "@vueuse/core";
2
- import { defineComponent as q, defineAsyncComponent as D, toRef as _, computed as i, toValue as B, provide as O, watchEffect as v, ref as c, nextTick as w } from "vue";
3
- import { useRoute as z } from "vue-router";
4
- import { mapActions as I, mapGetters as F, useStore as T } from "vuex";
5
- import { useRuntimeEnv as J } from "../composables/useRuntimeEnv.js";
6
- import G from "./components/TheErrorDialog.vue.js";
7
- import { autocompleteKey as K, defaultAutocompleteAdapter as H } from "./composables/aucotomplete.js";
8
- import { setupDpiContext as Q } from "./composables/useDpiContext.js";
9
- import { useDpiEditMode as U } from "./composables/useDpiEditMode.js";
10
- import { useFormValues as W } from "./composables/useDpiFormValues.js";
11
- import { useErrorDialog as X } from "./composables/useErrorDialog.js";
12
- import { config as Y } from "./config/dpi-spec-config.js";
13
- import Z from "./HappyFlowComponents/ui/ButtonV3.vue.js";
14
- import ee from "./HappyFlowComponents/ui/DpiModalBase.vue.js";
15
- const ve = q({
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: Z,
19
+ ButtonV3: ee,
19
20
  InputPage: D(() => import("./views/InputPage.vue.js")),
20
21
  InputPageProject: D(() => import("./views/InputPageProject.vue.js")),
21
- DpiModalBase: ee,
22
- TheErrorDialog: G
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
- ...F("auth", [
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 = z(), r = T(), p = J(), h = p.content.dataProviderInterface.specification, S = Y[h], b = _(o, "dpiContext"), { formValues: g } = W(), { openErrorDialog: y } = X(), t = i(() => {
93
- const a = B(b);
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
- }), A = i(() => t.value.specification), E = i(() => t.value.specificationName);
106
- Q(t);
107
- const C = H({
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
- O(K, o.autocomplete || C.adapter), v(() => {
112
- r.dispatch("dpiStore/setSpecification", A.value), r.dispatch("dpiStore/setSpecificationname", E.value);
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: k } = U(t, x), f = c(!1);
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 N = i(() => {
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
- }), j(d, () => {
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: N,
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: k,
145
+ jsonld: N,
144
146
  inEditModeAndRptAvailable: $,
145
147
  isEditReady: s
146
148
  };
147
149
  }
148
150
  });
149
151
  export {
150
- ve as default
152
+ ge as default
151
153
  };
@@ -1,65 +1,74 @@
1
- import { ref as y, computed as r, watch as U, createElementBlock as a, openBlock as l, createElementVNode as o, createCommentVNode as _, createTextVNode as k, createBlock as p, resolveDynamicComponent as L, unref as n, withCtx as R, createVNode as W, createStaticVNode as q, Fragment as w, renderList as D } from "vue";
2
- import { useDebounce as A } from "@vueuse/core";
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 F } from "vue-router";
5
- import { useStore as K } from "vuex";
6
- import { useRuntimeEnv as $ } from "../../composables/useRuntimeEnv.js";
7
- import { useDatasetSearch as j } from "../composables/useTwinbyHome.js";
8
- import { useTwinbyUser as G } from "../composables/useTwinbyUser.js";
9
- import { formatDate as V } from "../utils/formatDate.js";
10
- import J from "./ui/ButtonV3.vue.js";
11
- import S from "./ui/TableRowV3.vue.js";
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 M from "../../../../../_virtual/_plugin-vue_export-helper.js";
14
- const O = { class: "dpiV3_dpiHome V3-typography" }, Q = { class: "dpiV3_homeHeadWrap" }, X = {
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
- }, Y = { class: "interactionButtonsDPIHome" }, Z = {
19
+ }, oe = { class: "interactionButtonsDPIHome" }, le = {
18
20
  key: 0,
19
21
  class: "dpiV3_table"
20
- }, ee = {
22
+ }, ae = {
21
23
  key: 0,
22
- class: "loading-screen"
23
- }, te = {
24
+ class: "dpiV3_loadingSkeleton"
25
+ }, ne = {
24
26
  key: 1,
25
27
  class: "dpiV3_innerTable"
26
- }, ie = {
28
+ }, re = {
27
29
  __name: "HomeTable",
28
- setup(le) {
29
- var f, h, g, b;
30
- const s = K();
31
- F(), localStorage.getItem("dpi_duplicate"), y("");
32
- const m = $();
33
- y({
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 d = r(() => s.getters["auth/getUserDrafts"].sort((t, i) => (t.id ?? "").localeCompare(i.id ?? "", "de", { sensitivity: "base", numeric: !0 })));
39
- console.log(d);
40
- const I = r(() => s.getters["auth/getUserData"]);
41
- r(() => I.value.rtpToken);
42
- const T = (t) => s.dispatch("snackbar/showSnackbar", t), x = r(() => {
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: H } = j("https://twin.bydata.de/api/hub/search"), P = r(() => ({
46
- Authorization: `Bearer ${x.value}`
47
- })), { getSearchResultsEnhanced: E, isLoading: z, query: B } = H({
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: P
55
- }), c = r(() => B.error.value);
56
- U(c, () => {
57
- console.error(c), T({
58
- message: c.value.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 C = A(z, 500), u = r(() => (E.value || []).map((t) => ({
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: v } = G({
75
- keycloak: ((h = (f = m.authentication) == null ? void 0 : f.keycloak) == null ? void 0 : h.url) || "https://keycloak.twin.bydata.de",
76
- realm: ((b = (g = m.authentication) == null ? void 0 : g.keycloak) == null ? void 0 : b.realm) || "piveau",
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) => (l(), a("div", O, [
80
- o("div", Q, [
81
- i[1] || (i[1] = o("h2", { class: "dpiV3_tableHeader" }, " Ihre Datensätze ", -1)),
82
- i[2] || (i[2] = o("div", { class: "dpiV3_dataset-information" }, [
83
- o("p", null, "Hier sehen Sie alle Datensätze, die Sie bearbeiten oder veröffentlichen können.")
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
- u.value.length === 0 && d.value.length === 0 ? (l(), a("p", X, i[0] || (i[0] = [
86
- k(" Willkommen im Data Provider Interface ✨ ", -1),
87
- o("br", null, null, -1),
88
- k("Beginnen Sie mit der Erstellung Ihres ersten Datensatzes! ", -1)
89
- ]))) : _("", !0),
90
- o("div", Y, [
91
- (l(), p(L(n(v) ? "RouterLink" : "span"), { to: { name: "DataProviderInterface-Input", query: { locale: "de", edit: !1 }, params: { property: "datasets" } } }, {
92
- default: R(() => [
93
- W(J, {
94
- disabled: !n(v),
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
- u.value.length > 0 || d.value.length > 0 ? (l(), a("div", Z, [
104
- n(C) ? (l(), a("div", ee, i[3] || (i[3] = [
105
- o("p", null, "Lädt Daten...", -1)
106
- ]))) : (l(), a("div", te, [
107
- i[4] || (i[4] = q('<div class="dpiV3_tableHeadWrap" data-v-71c76df7><div class="dpiV3_thWrap" data-v-71c76df7><div scope="col" data-v-71c76df7><span data-v-71c76df7>Datensätze</span></div><div scope="col" class="dpiV3_statusHead" data-v-71c76df7><span data-v-71c76df7>Status</span></div></div><div class="dpiV3_blankCell" data-v-71c76df7></div></div>', 1)),
108
- o("div", null, [
109
- (l(!0), a(w, null, D(d.value, (e) => (l(), p(S, {
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 ? n(V)(e == null ? void 0 : 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
- (l(!0), a(w, null, D(u.value, (e, N) => (l(), p(S, {
133
+ (o(!0), a(I, null, T(m.value, (e, W) => (o(), f(C, {
120
134
  id: e.id,
121
- key: e.id ?? N,
135
+ key: e.id ?? W,
122
136
  text: e.title || "Kein Titel in englisch oder deutsch vohanden",
123
- date: e != null && e.modified ? n(V)(e == null ? void 0 : 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
- ])) : _("", !0)
150
+ ])) : D("", !0)
135
151
  ]));
136
152
  }
137
- }, ge = /* @__PURE__ */ M(ie, [["__scopeId", "data-v-71c76df7"]]);
153
+ }, Ve = /* @__PURE__ */ Z(re, [["__scopeId", "data-v-943cefbc"]]);
138
154
  export {
139
- ge as default
155
+ Ve as default
140
156
  };
@@ -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 e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1cfd553a"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cda1ef87"]]);
5
5
  export {
6
- e as default
6
+ c as default
7
7
  };