@piveau/dpi 0.2.0-alpha.35 → 0.2.0-alpha.36

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.
@@ -1,7 +1,7 @@
1
1
  import o from "./ActionCard.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6a94ad48"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-98155283"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,74 +1,78 @@
1
- import { defineComponent as v, computed as y, createElementBlock as s, openBlock as a, normalizeClass as V, createElementVNode as n, createBlock as _, withCtx as l, renderSlot as t, createCommentVNode as i, createVNode as p } from "vue";
2
- import c from "./ButtonV3.vue.js";
1
+ import { defineComponent as C, computed as v, createElementBlock as a, openBlock as t, normalizeClass as B, createElementVNode as l, createCommentVNode as r, createBlock as V, withCtx as i, renderSlot as o, createVNode as p } from "vue";
2
+ import u from "./ButtonV3.vue.js";
3
3
  import k from "./SummaryBox.vue.js";
4
- const B = { class: "dpiV3_Card_Header" }, $ = {
4
+ const _ = { class: "dpiV3_Card_Header" }, $ = {
5
5
  key: 1,
6
6
  class: "standalone-text"
7
- }, h = { class: "dpiV3_Card_Actions" }, E = { class: "dpiV3_Card_Body" }, A = /* @__PURE__ */ v({
7
+ }, h = { class: "dpiV3_Card_Actions" }, E = {
8
+ key: 0,
9
+ class: "dpiV3_Card_Body"
10
+ }, N = /* @__PURE__ */ C({
8
11
  __name: "ActionCard",
9
12
  props: {
10
13
  variant: { default: "default" },
11
14
  noEdit: { type: Boolean, default: !1 },
12
15
  noDelete: { type: Boolean, default: !0 },
13
- spaced: { type: Boolean, default: !1 }
16
+ spaced: { type: Boolean, default: !1 },
17
+ showBody: { type: Boolean, default: !0 }
14
18
  },
15
19
  emits: ["edit", "delete"],
16
- setup(u, { emit: m }) {
17
- const d = u, r = m, f = y(() => ({
20
+ setup(m, { emit: c }) {
21
+ const d = m, n = c, f = v(() => ({
18
22
  "V3-typography": !0,
19
23
  dpiV3_Card: !0,
20
24
  "dpiV3_Card--default": d.variant === "default",
21
25
  "dpiV3_Card--error": d.variant === "error",
22
26
  "dpiV3_Card--spaced": d.spaced
23
27
  }));
24
- return (e, o) => (a(), s("div", {
25
- class: V(f.value)
28
+ return (e, s) => (t(), a("div", {
29
+ class: B(f.value)
26
30
  }, [
27
- n("div", B, [
28
- e.$slots["standalone-name"] ? (a(), s("span", $, [
29
- t(e.$slots, "standalone-name")
30
- ])) : (a(), _(k, { key: 0 }, {
31
- title: l(() => [
32
- t(e.$slots, "sub-title")
31
+ l("div", _, [
32
+ e.$slots["standalone-name"] ? (t(), a("span", $, [
33
+ o(e.$slots, "standalone-name")
34
+ ])) : (t(), V(k, { key: 0 }, {
35
+ title: i(() => [
36
+ o(e.$slots, "sub-title")
33
37
  ]),
34
- default: l(() => [
35
- t(e.$slots, "title")
38
+ default: i(() => [
39
+ o(e.$slots, "title")
36
40
  ]),
37
41
  _: 3
38
42
  })),
39
- n("div", h, [
40
- e.noEdit ? i("", !0) : (a(), s("div", {
43
+ l("div", h, [
44
+ e.noEdit ? r("", !0) : (t(), a("div", {
41
45
  key: 0,
42
- onClick: o[0] || (o[0] = (C) => r("edit"))
46
+ onClick: s[0] || (s[0] = (y) => n("edit"))
43
47
  }, [
44
- t(e.$slots, "edit-icon", {}, () => [
45
- p(c, {
48
+ o(e.$slots, "edit-icon", {}, () => [
49
+ p(u, {
46
50
  size: "large",
47
51
  "icon-start": "pen",
48
52
  variant: "secondary"
49
53
  })
50
54
  ])
51
55
  ])),
52
- e.noDelete ? (a(), s("div", {
56
+ e.noDelete ? (t(), a("div", {
53
57
  key: 1,
54
- onClick: o[1] || (o[1] = (C) => r("delete"))
58
+ onClick: s[1] || (s[1] = (y) => n("delete"))
55
59
  }, [
56
- t(e.$slots, "delete-icon", {}, () => [
57
- p(c, {
60
+ o(e.$slots, "delete-icon", {}, () => [
61
+ p(u, {
58
62
  size: "large",
59
63
  "icon-start": "Trash",
60
64
  variant: "secondary"
61
65
  })
62
66
  ])
63
- ])) : i("", !0)
67
+ ])) : r("", !0)
64
68
  ])
65
69
  ]),
66
- n("div", E, [
67
- t(e.$slots, "default")
68
- ])
70
+ e.showBody && e.$slots.default ? (t(), a("div", E, [
71
+ o(e.$slots, "default")
72
+ ])) : r("", !0)
69
73
  ], 2));
70
74
  }
71
75
  });
72
76
  export {
73
- A as default
77
+ N as default
74
78
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ReviewStep.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-09fc3c2b"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-43209a7f"]]);
5
5
  export {
6
- c as default
6
+ a as default
7
7
  };