@piveau/dpi 0.2.0-alpha.42 → 0.2.0-alpha.43

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.
@@ -7,7 +7,7 @@ import { whenever as B1, useWindowScroll as E1 } from "@vueuse/core";
7
7
  import "axios";
8
8
  import "jquery";
9
9
  import { has as U, isNil as c1 } from "lodash-es";
10
- import { defineComponent as A1, resolveComponent as r, createElementBlock as d, openBlock as p, createCommentVNode as h, createElementVNode as i, createBlock as C1, withModifiers as U1, withCtx as n, createVNode as t, Fragment as f1, renderList as v1, normalizeClass as N1, createTextVNode as S1, toDisplayString as I, computed as M, ref as v, markRaw as R1, toRef as z1, watch as g1, nextTick as G1 } from "vue";
10
+ import { defineComponent as A1, resolveComponent as r, createElementBlock as d, openBlock as p, createCommentVNode as h, createElementVNode as i, createBlock as C1, withModifiers as U1, withCtx as n, createVNode as t, Fragment as f1, renderList as v1, normalizeClass as N1, createTextVNode as S1, toDisplayString as _, computed as M, ref as v, markRaw as R1, toRef as z1, watch as g1, nextTick as G1 } from "vue";
11
11
  import { useI18n as W1 } from "vue-i18n";
12
12
  import { useRouter as q1 } from "vue-router";
13
13
  import { mapActions as h1, mapGetters as V1 } from "vuex";
@@ -45,8 +45,8 @@ import be from "../HappyFlowComponents/ui/LogoV3.vue.js";
45
45
  import ye from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
46
46
  import ke from "../HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js";
47
47
  import Pe from "../HappyFlowComponents/ui/ProcessSteps/DatasetStep.vue.js";
48
- import _e from "../HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js";
49
- import Ie from "../HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js";
48
+ import Ie from "../HappyFlowComponents/ui/ProcessSteps/HardwareStep.vue.js";
49
+ import _e from "../HappyFlowComponents/ui/ProcessSteps/ProcessStepsOverviewStep.vue.js";
50
50
  import Me from "../HappyFlowComponents/ui/ProcessSteps/SoftwareStep.vue.js";
51
51
  import Fe from "../HappyFlowComponents/ui/Projektphasen/InitiierenStep.vue.js";
52
52
  import Le from "../HappyFlowComponents/ui/Projektphasen/PlanenStep.vue.js";
@@ -110,7 +110,7 @@ const ze = A1({
110
110
  ProjectOrganisationStep: pe,
111
111
  SoftwareStep: Me,
112
112
  DatasetStep: Pe,
113
- HardwareStep: _e,
113
+ HardwareStep: Ie,
114
114
  OptionalDataStep: ke,
115
115
  InitiierenStep: Fe,
116
116
  UmstezenStep: je,
@@ -120,7 +120,7 @@ const ze = A1({
120
120
  DataProcessingBasicInformationStep: Ce,
121
121
  DataVisualisationBasicInformationStep: ve,
122
122
  DataSimulationBasicInformationStep: fe,
123
- ProcessStepsOverviewStep: Ie,
123
+ ProcessStepsOverviewStep: _e,
124
124
  ReviewStep: $e,
125
125
  ProjektPhasenOverviewStep: Te,
126
126
  Card: me,
@@ -336,7 +336,7 @@ const ze = A1({
336
336
  set(l) {
337
337
  Z(l.id);
338
338
  }
339
- }), b1 = v(!1), { organization: y1, catalogProject: k1, startFetchPermissions: P1, userRoles: _1, permissions: I1 } = ne({
339
+ }), b1 = v(!1), { organization: y1, catalogProject: k1, startFetchPermissions: P1, userRoles: I1, permissions: _1 } = ne({
340
340
  keycloak: ((l1 = (s1 = e.authentication) == null ? void 0 : s1.keycloak) == null ? void 0 : l1.url) || "https://keycloak.twin.bydata.de",
341
341
  realm: ((d1 = (p1 = e.authentication) == null ? void 0 : p1.keycloak) == null ? void 0 : d1.realm) || "piveau",
342
342
  audience: "piveau-hub-repo"
@@ -357,7 +357,7 @@ const ze = A1({
357
357
  const P = a1("dpiForm");
358
358
  if (P)
359
359
  if (S.includes("#")) {
360
- const [_, $1] = S.split("#"), u1 = P.at([_]);
360
+ const [I, $1] = S.split("#"), u1 = P.at([I]);
361
361
  if (!u1)
362
362
  return;
363
363
  const n1 = u1.at(["$self", $1]);
@@ -365,10 +365,10 @@ const ze = A1({
365
365
  return;
366
366
  n1._value = {}, m1(n1);
367
367
  } else {
368
- const _ = P.at([S]);
369
- if (!_)
368
+ const I = P.at([S]);
369
+ if (!I)
370
370
  return;
371
- _._value = {}, m1(_);
371
+ I._value = {}, m1(I);
372
372
  }
373
373
  });
374
374
  }
@@ -412,8 +412,8 @@ const ze = A1({
412
412
  isSubmittingLoading: F1,
413
413
  organization: y1,
414
414
  catalogProject: k1,
415
- userRoles: _1,
416
- permissions: I1
415
+ userRoles: I1,
416
+ permissions: _1
417
417
  };
418
418
  }
419
419
  }), Ge = { class: "input-page-project form-container V3-typography" }, We = {
@@ -604,13 +604,13 @@ function vt(e, o, u, y, F, g) {
604
604
  }
605
605
  }, [
606
606
  i("div", et, [
607
- i("div", tt, I(A + 1), 1),
607
+ i("div", tt, _(A + 1), 1),
608
608
  e.checkStepValidity(c) ? (p(), d("span", {
609
609
  key: 0,
610
610
  class: "step--errors",
611
- textContent: I(s.errorCount + s.blockingCount)
611
+ textContent: _(s.errorCount + s.blockingCount)
612
612
  }, null, 8, ot)) : h("", !0),
613
- S1(I(e.$t(`message.dataupload.steps.${c}Step`)), 1)
613
+ S1(_(e.$t(`message.dataupload.steps.${c}Step`)), 1)
614
614
  ]),
615
615
  A != Object.keys(e.steps).length ? (p(), d("div", it)) : h("", !0)
616
616
  ], 10, xe))), 128)),
@@ -622,7 +622,7 @@ function vt(e, o, u, y, F, g) {
622
622
  i("div", rt, [
623
623
  i("details", st, [
624
624
  o[15] || (o[15] = i("summary", null, "Form Values", -1)),
625
- i("pre", lt, I(JSON.stringify(e.formValues, null, 2)), 1)
625
+ i("pre", lt, _(JSON.stringify(e.formValues, null, 2)), 1)
626
626
  ]),
627
627
  t(m, null, {
628
628
  title: n(() => o[16] || (o[16] = [
@@ -873,8 +873,9 @@ function vt(e, o, u, y, F, g) {
873
873
  default: n(() => [
874
874
  t(t1, {
875
875
  modelValue: e.formValues,
876
- "onUpdate:modelValue": o[7] || (o[7] = (s) => e.formValues = s)
877
- }, null, 8, ["modelValue"])
876
+ "onUpdate:modelValue": o[7] || (o[7] = (s) => e.formValues = s),
877
+ edit: e.isEditMode
878
+ }, null, 8, ["modelValue", "edit"])
878
879
  ]),
879
880
  _: 1
880
881
  }),
@@ -921,7 +922,7 @@ function vt(e, o, u, y, F, g) {
921
922
  e.showErrorSummary && e.validationMessages.length ? (p(), d("div", Ct, [
922
923
  o[17] || (o[17] = i("h4", null, "Bitte korrigieren Sie die folgenden Fehler:", -1)),
923
924
  i("ul", ft, [
924
- (p(!0), d(f1, null, v1(e.validationMessages, (s) => (p(), d("li", { key: s }, I(s), 1))), 128))
925
+ (p(!0), d(f1, null, v1(e.validationMessages, (s) => (p(), d("li", { key: s }, _(s), 1))), 128))
925
926
  ])
926
927
  ])) : h("", !0),
927
928
  o[19] || (o[19] = i("hr", null, null, -1)),
@@ -943,7 +944,7 @@ function vt(e, o, u, y, F, g) {
943
944
  ], 512)) : h("", !0)
944
945
  ]);
945
946
  }
946
- const I3 = /* @__PURE__ */ Ae(ze, [["render", vt]]);
947
+ const _3 = /* @__PURE__ */ Ae(ze, [["render", vt]]);
947
948
  export {
948
- I3 as default
949
+ _3 as default
949
950
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@piveau/dpi",
3
3
  "type": "module",
4
- "version": "0.2.0-alpha.42",
4
+ "version": "0.2.0-alpha.43",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "*.css",