@piveau/dpi 0.1.0-twinby.0 → 0.2.0-alpha.1

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 (34) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectDescriptionStep.vue.js +70 -0
  3. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +44 -15
  4. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +2 -2
  5. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +94 -35
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue.js +7 -0
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/Card.vue2.js +36 -0
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +31 -28
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +2 -2
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +4 -4
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/Findability/DiscoverabilityStep.vue.js +59 -0
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxDefinition.js +13 -0
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue.js +50 -0
  14. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/ListBoxFormKit.vue2.js +4 -0
  15. package/dist/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaDefinition.js +20 -0
  16. package/dist/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaFormKit.vue.js +78 -0
  17. package/dist/data-provider-interface/HappyFlowComponents/ui/TextArea/TextAreaFormKit.vue2.js +4 -0
  18. package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +74 -55
  19. package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue.js +7 -0
  20. package/dist/data-provider-interface/HappyFlowComponents/ui/WipStep.vue2.js +25 -0
  21. package/dist/data-provider-interface/components/HappyFlowLandingPage.vue.js +50 -43
  22. package/dist/data-provider-interface/components/InputPageStep.vue.js +3 -3
  23. package/dist/data-provider-interface/components/ProgressSteps.vue.js +1 -1
  24. package/dist/data-provider-interface/components/ProgressSteps.vue2.js +23 -16
  25. package/dist/data-provider-interface/components/StepActionsSection.vue.js +7 -0
  26. package/dist/data-provider-interface/components/StepActionsSection.vue2.js +54 -0
  27. package/dist/data-provider-interface/composables/useDpiStepper.js +78 -68
  28. package/dist/data-provider-interface/utils/injectionKeys.js +0 -1
  29. package/dist/data-provider-interface/views/InputPageProject.vue.js +473 -287
  30. package/dist/images/stadt.png +0 -0
  31. package/dist/stories/components/DemoStep.vue.js +36 -32
  32. package/dist/stories/components/DemoStepper.vue.js +2 -2
  33. package/dist/stories/components/DemoStepper.vue2.js +154 -90
  34. package/package.json +3 -1
@@ -1,86 +1,96 @@
1
- import { ref as G, computed as i, provide as H } from "vue";
2
- import { useStepper as J } from "@vueuse/core";
1
+ import { useStepper as G } from "@vueuse/core";
2
+ import { ref as H, computed as i, provide as J } from "vue";
3
3
  import { dpiStepperKey as M } from "../utils/injectionKeys.js";
4
4
  import O from "../utils/useSteps.js";
5
5
  function X() {
6
- const { steps: p, activeStep: o, stepPlugin: c, visitedSteps: v, subSteps: a, triggerValidation: g, triggerValidationCurrentStep: l } = O(), s = G([]), e = J(s, o.value), r = () => {
6
+ const { steps: p, activeStep: o, stepPlugin: y, visitedSteps: B, subSteps: h, triggerValidation: u, triggerValidationCurrentStep: n } = O(), s = H([]), e = G(s, o.value), r = () => {
7
7
  e.current.value && e.current.value !== o.value && (o.value = e.current.value);
8
- }, u = (t) => {
8
+ }, c = (t) => {
9
9
  s.value.includes(t) || (s.value.push(t), s.value.length === 1 && !o.value && (o.value = t, e.goTo(t)));
10
- }, S = () => {
10
+ }, v = () => {
11
11
  e.goToNext(), r();
12
- }, T = () => {
12
+ }, a = () => {
13
13
  e.goToPrevious(), r();
14
- }, f = (t) => {
14
+ }, A = (t) => {
15
15
  e.goTo(t), r();
16
- }, x = (t) => {
17
- const n = e.at(t);
18
- n && (e.goTo(n), r());
19
- }, d = i(() => e.index.value), m = i(() => e.previous.value || ""), P = i(() => e.next.value || "");
20
- H(M, {
16
+ }, C = (t) => {
17
+ const P = e.at(t);
18
+ P && (e.goTo(P), r());
19
+ }, I = i(() => e.index.value), L = i(() => e.previous.value || ""), N = i(() => e.next.value || ""), {
20
+ steps: V,
21
+ stepNames: b,
22
+ index: k,
23
+ current: D,
24
+ next: F,
25
+ previous: K,
26
+ isFirst: j,
27
+ isLast: g,
28
+ at: q,
29
+ get: w,
30
+ goTo: l,
31
+ goToNext: z,
32
+ goToPrevious: E,
33
+ goBackTo: S,
34
+ isNext: T,
35
+ isPrevious: f,
36
+ isCurrent: x,
37
+ isBefore: d,
38
+ isAfter: m
39
+ } = e;
40
+ return J(M, {
21
41
  steps: p,
22
42
  activeStep: o,
23
- registerStep: u
24
- });
25
- const {
26
- steps: y,
27
- stepNames: B,
28
- index: h,
29
- current: A,
30
- next: C,
31
- previous: I,
32
- isFirst: L,
33
- isLast: N,
34
- at: V,
35
- get: b,
36
- goTo: k,
37
- goToNext: D,
38
- goToPrevious: F,
39
- goBackTo: K,
40
- isNext: j,
41
- isPrevious: q,
42
- isCurrent: w,
43
- isBefore: z,
44
- isAfter: E
45
- } = e;
46
- return {
43
+ registerStep: c,
44
+ goTo: l,
45
+ goToNextStep: v,
46
+ goToPreviousStep: a,
47
+ goBackTo: S,
48
+ isNext: T,
49
+ isPrevious: f,
50
+ isCurrent: x,
51
+ isBefore: d,
52
+ isAfter: m,
53
+ triggerValidation: u,
54
+ triggerValidationCurrentStep: n,
55
+ isLast: g
56
+ }), {
47
57
  // Original API for backward compatibility (form validation steps)
48
58
  steps: p,
49
- subSteps: a,
59
+ subSteps: h,
50
60
  activeStep: o,
51
- activeStepIndex: d,
52
- previousStep: m,
53
- nextStep: P,
54
- visitedSteps: v,
55
- stepPlugin: c,
61
+ activeStepIndex: I,
62
+ previousStep: L,
63
+ nextStep: N,
64
+ visitedSteps: B,
65
+ stepPlugin: y,
56
66
  stepList: s,
57
- registerStep: u,
58
- goToNextStep: S,
59
- goToPreviousStep: T,
60
- goToStep: f,
61
- goToStepByIndex: x,
62
- triggerValidation: g,
63
- triggerValidationCurrentStep: l,
67
+ registerStep: c,
68
+ goToNextStep: v,
69
+ goToPreviousStep: a,
70
+ goToStep: A,
71
+ goToStepByIndex: C,
72
+ triggerValidation: u,
73
+ triggerValidationCurrentStep: n,
64
74
  // Extended useStepper utilities
65
- stepperSteps: y,
66
- stepNames: B,
67
- index: h,
68
- current: A,
69
- next: C,
70
- previous: I,
71
- isFirst: L,
72
- isLast: N,
73
- at: V,
74
- get: b,
75
- goTo: k,
76
- goToNext: D,
77
- goToPrevious: F,
78
- goBackTo: K,
79
- isNext: j,
80
- isPrevious: q,
81
- isCurrent: w,
82
- isBefore: z,
83
- isAfter: E
75
+ stepperSteps: V,
76
+ stepNames: b,
77
+ index: k,
78
+ current: D,
79
+ next: F,
80
+ previous: K,
81
+ isFirst: j,
82
+ isLast: g,
83
+ at: q,
84
+ get: w,
85
+ goTo: l,
86
+ goToNext: z,
87
+ goToPrevious: E,
88
+ goBackTo: S,
89
+ isNext: T,
90
+ isPrevious: f,
91
+ isCurrent: x,
92
+ isBefore: d,
93
+ isAfter: m
84
94
  };
85
95
  }
86
96
  export {
@@ -1,4 +1,3 @@
1
- import "vue";
2
1
  const e = Symbol("dpiStepperKey");
3
2
  export {
4
3
  e as dpiStepperKey