@piveau/dpi 0.1.0-beta.59 → 0.1.0-beta.60

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.
@@ -100,7 +100,7 @@ const ee = { key: 0 }, te = {
100
100
  i.value[e] = {
101
101
  startDate: !d,
102
102
  endDate: !n,
103
- message: `Bitte geben Sie ein ${D.join(", ")} ein.`
103
+ message: `Bitte geben Sie eine ${D.join(" und eine ")} an.`
104
104
  }, p = "unset";
105
105
  else {
106
106
  const W = new Date(d);
@@ -285,7 +285,7 @@ const ee = { key: 0 }, te = {
285
285
  ], 2);
286
286
  };
287
287
  }
288
- }, Ce = /* @__PURE__ */ x(ie, [["__scopeId", "data-v-d379ad05"]]);
288
+ }, Ce = /* @__PURE__ */ x(ie, [["__scopeId", "data-v-ffdfd502"]]);
289
289
  export {
290
290
  Ce as default
291
291
  };
@@ -19,14 +19,14 @@ const E = { class: "V3-typography dpiV3_Frame_3841" }, T = { class: "copy-large-
19
19
  const { t: x } = _(), { isEditMode: p } = V(), c = d;
20
20
  let e = m([{ isValid: "unset", "@value": "", "@language": "de" }]);
21
21
  p.value || c.context.node.input(e);
22
- const f = (t) => {
22
+ const u = (t) => {
23
23
  t.target.value != "" ? e.value[0].isValid = !0 : e.value[0].isValid = !1, e.value[0]["@value"] = t.target.value;
24
24
  };
25
25
  return (t, o) => (l(), s("div", E, [
26
26
  a("h4", null, n(t.$t("message.dataupload.datasets.dct:title.title")), 1),
27
27
  a("div", T, n(t.$t("message.dataupload.datasets.dct:title.description")), 1),
28
28
  r(h, {
29
- onInput: f,
29
+ onInput: u,
30
30
  addOnText: !1,
31
31
  datePicker: !1,
32
32
  infoIcon: !1,
@@ -37,7 +37,7 @@ const E = { class: "V3-typography dpiV3_Frame_3841" }, T = { class: "copy-large-
37
37
  showEndIcon: !1,
38
38
  showError: i(e)[0].isValid === !1
39
39
  }, null, 8, ["showError"]),
40
- i(e).find((u) => u.isValid === !1) ? (l(), s("div", y, [
40
+ i(e).find((f) => f.isValid === !1) ? (l(), s("div", y, [
41
41
  r(i(v), {
42
42
  size: 16,
43
43
  weight: "fill"
@@ -46,7 +46,7 @@ const E = { class: "V3-typography dpiV3_Frame_3841" }, T = { class: "copy-large-
46
46
  ])) : g("", !0)
47
47
  ]));
48
48
  }
49
- }, M = /* @__PURE__ */ I(b, [["__scopeId", "data-v-56919f9a"]]);
49
+ }, M = /* @__PURE__ */ I(b, [["__scopeId", "data-v-d4e351cd"]]);
50
50
  export {
51
51
  M as default
52
52
  };
@@ -39,7 +39,7 @@ const b = { class: "dpiV3InnerComponentWrap" }, E = { class: "copy-large-regular
39
39
  ])) : g("", !0)
40
40
  ]));
41
41
  }
42
- }, S = /* @__PURE__ */ v(y, [["__scopeId", "data-v-bef9c82d"]]);
42
+ }, S = /* @__PURE__ */ v(y, [["__scopeId", "data-v-c87f7644"]]);
43
43
  export {
44
44
  S as default
45
45
  };
@@ -1,10 +1,10 @@
1
1
  import { getNode as K } from "@formkit/core";
2
2
  import "@formkit/vue";
3
- import { PhNumberCircleFive as Z, PhCheckCircle as G, PhLightbulb as J } from "@phosphor-icons/vue";
3
+ import { PhNumberCircleFive as J, PhCheckCircle as Z, PhLightbulb as G } from "@phosphor-icons/vue";
4
4
  import { useWindowScroll as Q } from "@vueuse/core";
5
5
  import X from "jquery";
6
6
  import { has as I, isNil as U } from "lodash-es";
7
- import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as s, createCommentVNode as p, createElementVNode as o, createVNode as v, createBlock as b, withModifiers as N, withCtx as j, Fragment as V, renderList as _, withDirectives as z, normalizeClass as y, toDisplayString as c, vShow as H, createTextVNode as M, ref as R, markRaw as x, getCurrentInstance as ee } from "vue";
7
+ import { defineComponent as Y, resolveComponent as g, createElementBlock as r, openBlock as s, createCommentVNode as p, createElementVNode as o, createVNode as v, createBlock as b, toDisplayString as c, withModifiers as N, withCtx as j, Fragment as V, renderList as _, withDirectives as z, normalizeClass as y, vShow as H, createTextVNode as M, ref as R, markRaw as x, getCurrentInstance as ee } from "vue";
8
8
  import { useI18n as te } from "vue-i18n";
9
9
  import { mapActions as B, mapGetters as W } from "vuex";
10
10
  import ie from "../components/InputPageStep.vue.js";
@@ -91,9 +91,9 @@ const Fe = Y({
91
91
  ButtonV3: Se,
92
92
  TextButtonSmall: _e,
93
93
  Illustration: Ce,
94
- PhLightbulb: J,
95
- PhCheckCircle: G,
96
- PhNumberCircleFive: Z,
94
+ PhLightbulb: G,
95
+ PhCheckCircle: Z,
96
+ PhNumberCircleFive: J,
97
97
  ModalSimpleV3: Ve
98
98
  },
99
99
  computed: {
@@ -237,11 +237,7 @@ const Fe = Y({
237
237
  );
238
238
  }).catch((a) => {
239
239
  console.error("Fehler beim Senden der Daten:", a);
240
- }), setTimeout(() => {
241
- window.location.href = this.$router.resolve({
242
- name: "DPI-Home-HappyFlow"
243
- }).href;
244
- }, 1e3);
240
+ });
245
241
  }
246
242
  } catch (i) {
247
243
  console.log(i);
@@ -402,7 +398,7 @@ const Fe = Y({
402
398
  }, He = { key: 1 }, Me = {
403
399
  key: 0,
404
400
  class: "dpiV3_stepper"
405
- }, Re = { class: "dpiV3_steps" }, Be = ["data-step-active", "data-step-valid"], We = { class: "dpiV3_stepBubbleWrap" }, qe = ["src"], Ke = ["src"], Ze = ["textContent"], Ge = { style: { "vertical-align": "middle" } }, Je = { class: "dpiV3_subStepWrapper" }, Qe = {
401
+ }, Re = { class: "dpiV3_steps" }, Be = ["data-step-active", "data-step-valid"], We = { class: "dpiV3_stepBubbleWrap" }, qe = ["src"], Ke = ["src"], Je = ["textContent"], Ze = { style: { "vertical-align": "middle" } }, Ge = { class: "dpiV3_subStepWrapper" }, Qe = {
406
402
  key: 0,
407
403
  class: "dpiV3_seperatorHorizontalStepper"
408
404
  }, Xe = {
@@ -444,6 +440,9 @@ function jt(e, t, i, n, a, m) {
444
440
  return s(), r("div", Ae, [
445
441
  e.isInput ? (s(), r("div", Le, [
446
442
  o("div", Oe, [
443
+ o("details", null, [
444
+ o("pre", null, c(JSON.stringify(e.formValues, null, 2)), 1)
445
+ ]),
447
446
  v(L, {
448
447
  id: "dpiForm",
449
448
  modelValue: e.formValues,
@@ -537,10 +536,10 @@ function jt(e, t, i, n, a, m) {
537
536
  key: 4,
538
537
  class: "dpiV3_step--errors",
539
538
  textContent: c(l.errorCount + l.blockingCount)
540
- }, null, 8, Ze)) : p("", !0),
541
- o("span", Ge, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
539
+ }, null, 8, Je)) : p("", !0),
540
+ o("span", Ze, c(e.$t(`message.dataupload.steps.${u}Step`)), 1)
542
541
  ], 2),
543
- o("div", Je, [
542
+ o("div", Ge, [
544
543
  d + 1 != Object.keys(e.steps).length - 1 && d >= e.stepCounter ? (s(), r("div", Qe)) : p("", !0),
545
544
  d + 1 != Object.keys(e.steps).length - 1 && d < e.stepCounter ? (s(), r("div", Xe)) : p("", !0),
546
545
  e.activeStep === u ? (s(), r("div", Ye, [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@piveau/dpi",
3
3
  "type": "module",
4
- "version": "0.1.0-beta.59",
4
+ "version": "0.1.0-beta.60",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "*.css",