@ironsource/shared-ui 2.1.3-rc.0 → 2.1.3-rc.10

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 (125) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_203b6bd1_lang.css +1 -0
  2. package/AppHeader.vue_vue_type_style_index_0_scoped_95908b8d_lang.css +1 -0
  3. package/CardPanel.vue_vue_type_style_index_0_scoped_7d0acb11_lang.css +1 -0
  4. package/CheckboxV4.vue_vue_type_style_index_0_scoped_d25514d1_lang.css +1 -0
  5. package/DataGrid.vue_vue_type_style_index_0_scoped_4baf9e57_lang.css +1 -0
  6. package/DataGridMenu.vue_vue_type_style_index_0_scoped_13f1ce76_lang.css +1 -0
  7. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +1 -0
  8. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +1 -0
  9. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +1 -0
  10. package/FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_lang.css +1 -0
  11. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +1 -0
  12. package/FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css +1 -0
  13. package/FormRow.vue_vue_type_style_index_0_scoped_c5265707_lang.css +1 -0
  14. package/InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css +1 -0
  15. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css +1 -0
  16. package/TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css +1 -0
  17. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +1 -0
  18. package/TextField.vue_vue_type_style_index_0_scoped_dca4c102_lang.css +1 -0
  19. package/components/alert/Alert.vue.d.ts +68 -0
  20. package/components/alert/Alert.vue.js +7 -0
  21. package/components/alert/Alert.vue2.js +86 -0
  22. package/components/alert/index.d.ts +82 -0
  23. package/components/alert/index.js +6 -0
  24. package/components/appHeader/AppHeader.vue.js +3 -3
  25. package/components/appHeader/AppHeader.vue2.js +42 -35
  26. package/components/button/v3/Button.vue.d.ts +6 -6
  27. package/components/button/v3/ButtonBase.vue.d.ts +1 -1
  28. package/components/button/v3/IconButton.vue.d.ts +1 -1
  29. package/components/button/v3/index.d.ts +34 -34
  30. package/components/button/v4/ButtonV4.vue.d.ts +1 -1
  31. package/components/button/v4/IconButtonV4.vue.d.ts +1 -1
  32. package/components/button/v4/index.d.ts +40 -40
  33. package/components/checkbox/v4/CheckboxV4.vue.js +4 -4
  34. package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
  35. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +11 -12
  36. package/components/checkbox/v4/icons/UncheckedState.vue.js +12 -11
  37. package/components/dialog/v4/index.d.ts +1 -1
  38. package/components/dropdown/common/Dropdown.common.js +93 -92
  39. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  40. package/components/emptyState/v3/index.d.ts +7 -7
  41. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +15 -0
  42. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  43. package/components/emptyState/v4/EmptyStateV4.vue2.js +41 -27
  44. package/components/emptyState/v4/index.d.ts +58 -1
  45. package/components/forms/CardPanel.vue.d.ts +20 -0
  46. package/components/forms/CardPanel.vue.js +2 -2
  47. package/components/forms/CardPanel.vue2.js +26 -14
  48. package/components/forms/FormCard.vue.d.ts +5 -0
  49. package/components/forms/FormCard.vue.js +3 -3
  50. package/components/forms/FormCard.vue2.js +62 -36
  51. package/components/forms/FormRow.vue.d.ts +10 -0
  52. package/components/forms/FormRow.vue.js +3 -3
  53. package/components/forms/FormRow.vue2.js +22 -29
  54. package/components/forms/index.d.ts +136 -3
  55. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  56. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  57. package/components/inlineCopy/InlineCopy.vue2.js +22 -21
  58. package/components/inlineCopy/index.d.ts +9 -0
  59. package/components/input/v4/TextField.vue.d.ts +1 -1
  60. package/components/input/v4/TextField.vue.js +3 -3
  61. package/components/input/v4/TextField.vue2.js +83 -90
  62. package/components/input/v4/index.d.ts +20 -20
  63. package/components/radioButton/v4/RadioButtonV4.vue.js +4 -4
  64. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
  65. package/components/search/v3/Search.vue.d.ts +1 -1
  66. package/components/search/v3/index.d.ts +9 -9
  67. package/components/shared/FieldLabel.vue.d.ts +5 -0
  68. package/components/shared/FieldLabel.vue.js +3 -3
  69. package/components/shared/FieldLabel.vue2.js +63 -46
  70. package/components/shared/FieldMaxLength.vue.d.ts +34 -0
  71. package/components/shared/FieldMaxLength.vue.js +7 -0
  72. package/components/shared/FieldMaxLength.vue2.js +24 -0
  73. package/components/skeleton/v4/index.d.ts +2 -2
  74. package/components/snackbar/v4/SnackbarV4.vue.d.ts +12 -12
  75. package/components/table/common/Table.common.d.ts +1 -0
  76. package/components/table/common/Table.common.js +64 -60
  77. package/components/table/common/TableContext.d.ts +1 -0
  78. package/components/table/v4/DataGrid.vue.js +4 -4
  79. package/components/table/v4/DataGrid.vue2.js +71 -69
  80. package/components/table/v4/DataGridMenu.vue.d.ts +5 -5
  81. package/components/table/v4/DataGridMenu.vue.js +4 -4
  82. package/components/table/v4/DataGridMenu.vue2.js +46 -47
  83. package/components/table/v4/DataGridRowsCounter.vue.d.ts +15 -0
  84. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  85. package/components/table/v4/DataGridRowsCounter.vue2.js +22 -19
  86. package/components/table/v4/index.d.ts +32 -5
  87. package/components/table-cells/common/Editable.common.js +15 -15
  88. package/components/table-cells/v4/EditableV4.vue.d.ts +10 -0
  89. package/components/table-cells/v4/EditableV4.vue.js +3 -3
  90. package/components/table-cells/v4/EditableV4.vue2.js +31 -22
  91. package/components/table-cells/v4/index.d.ts +43 -1
  92. package/components/tabs/v3/Tabs.vue.d.ts +1 -1
  93. package/components/tabs/v3/index.d.ts +20 -20
  94. package/components/textArea/v3/TextArea.vue.js +7 -0
  95. package/components/textArea/{TextArea.vue2.js → v3/TextArea.vue2.js} +4 -4
  96. package/components/textArea/v4/TextAreaV4.vue.d.ts +100 -0
  97. package/components/textArea/v4/TextAreaV4.vue.js +7 -0
  98. package/components/textArea/v4/TextAreaV4.vue2.js +74 -0
  99. package/components/textArea/v4/index.d.ts +136 -0
  100. package/components/textArea/v4/index.js +6 -0
  101. package/components/typography/index.d.ts +12 -12
  102. package/index.d.ts +679 -141
  103. package/index.js +113 -109
  104. package/package.json +7 -2
  105. package/testids/index.d.ts +7 -0
  106. package/testids/index.js +26 -25
  107. package/AppHeader.vue_vue_type_style_index_0_scoped_aa538d40_lang.css +0 -1
  108. package/CardPanel.vue_vue_type_style_index_0_scoped_d2b5d12f_lang.css +0 -1
  109. package/CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css +0 -1
  110. package/DataGrid.vue_vue_type_style_index_0_scoped_d5635f1b_lang.css +0 -1
  111. package/DataGridMenu.vue_vue_type_style_index_0_scoped_92d83650_lang.css +0 -1
  112. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_9e366543_lang.css +0 -1
  113. package/EditableV4.vue_vue_type_style_index_0_scoped_df325b51_lang.css +0 -1
  114. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_b8373c2d_lang.css +0 -1
  115. package/FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css +0 -1
  116. package/FormCard.vue_vue_type_style_index_0_scoped_ad5e4be0_lang.css +0 -1
  117. package/FormRow.vue_vue_type_style_index_0_scoped_017dc22e_lang.css +0 -1
  118. package/InlineCopy.vue_vue_type_style_index_0_scoped_117ac157_lang.css +0 -1
  119. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css +0 -1
  120. package/TextArea.vue_vue_type_style_index_0_scoped_889b62ac_lang.css +0 -1
  121. package/TextField.vue_vue_type_style_index_0_scoped_473bab9b_lang.css +0 -1
  122. package/components/textArea/TextArea.vue.js +0 -7
  123. /package/components/textArea/{TextArea.vue.d.ts → v3/TextArea.vue.d.ts} +0 -0
  124. /package/components/textArea/{index.d.ts → v3/index.d.ts} +0 -0
  125. /package/components/textArea/{index.js → v3/index.js} +0 -0
@@ -1,25 +1,37 @@
1
- import "../../CardPanel.vue_vue_type_style_index_0_scoped_d2b5d12f_lang.css"; import { defineComponent as t, ref as a, onMounted as r, openBlock as s, createElementBlock as d, normalizeClass as c, renderSlot as f } from "vue";
2
- const u = /* @__PURE__ */ t({
1
+ import "../../CardPanel.vue_vue_type_style_index_0_scoped_7d0acb11_lang.css"; import { defineComponent as r, ref as a, onMounted as d, openBlock as n, createElementBlock as c, normalizeClass as i, createBlock as s, createCommentVNode as p, renderSlot as u } from "vue";
2
+ import f from "../shared/FieldLabel.vue.js";
3
+ const x = /* @__PURE__ */ r({
3
4
  __name: "CardPanel",
4
5
  props: {
5
- noPadding: { type: Boolean, default: !1 }
6
+ noPadding: { type: Boolean, default: !1 },
7
+ label: { default: "" },
8
+ description: { default: "" },
9
+ hoverHelpText: { default: "" },
10
+ hoverHelpTextPlacement: { default: "top" }
6
11
  },
7
- setup(l) {
8
- const e = a(null), n = a(!1);
9
- return r(() => {
10
- n.value = e.value?.nextSibling?.classList?.contains("card-panel") || null;
11
- }), (o, i) => (s(), d("div", {
12
+ setup(e) {
13
+ const l = a(null), t = a(!1);
14
+ return d(() => {
15
+ t.value = l.value?.nextSibling?.classList?.contains("card-panel") || null;
16
+ }), (o, h) => (n(), c("div", {
12
17
  ref_key: "rootRef",
13
- ref: e,
14
- class: c(["card-panel", {
15
- "card-panel--no-padding": l.noPadding,
16
- "card-panel--has-next": n.value
18
+ ref: l,
19
+ class: i(["card-panel", {
20
+ "card-panel--no-padding": e.noPadding,
21
+ "card-panel--has-next": t.value
17
22
  }])
18
23
  }, [
19
- f(o.$slots, "default", {}, void 0, !0)
24
+ e.label ? (n(), s(f, {
25
+ key: 0,
26
+ label: e.label,
27
+ "hover-help-text": e.hoverHelpText,
28
+ "hover-help-text-placement": e.hoverHelpTextPlacement,
29
+ description: e.description
30
+ }, null, 8, ["label", "hover-help-text", "hover-help-text-placement", "description"])) : p("", !0),
31
+ u(o.$slots, "default", {}, void 0, !0)
20
32
  ], 2));
21
33
  }
22
34
  });
23
35
  export {
24
- u as default
36
+ x as default
25
37
  };
@@ -6,6 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  cancelLabel?: string;
7
7
  saveLoading?: boolean;
8
8
  testId?: string;
9
+ isLoading?: boolean;
9
10
  }>, {
10
11
  title: string;
11
12
  noPadding: boolean;
@@ -14,6 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
14
15
  saveLabel: string;
15
16
  saveLoading: boolean;
16
17
  testId: string;
18
+ isLoading: boolean;
17
19
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
20
  save: () => void;
19
21
  cancel: () => void;
@@ -25,6 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
25
27
  cancelLabel?: string;
26
28
  saveLoading?: boolean;
27
29
  testId?: string;
30
+ isLoading?: boolean;
28
31
  }>, {
29
32
  title: string;
30
33
  noPadding: boolean;
@@ -33,6 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
36
  saveLabel: string;
34
37
  saveLoading: boolean;
35
38
  testId: string;
39
+ isLoading: boolean;
36
40
  }>>> & {
37
41
  onCancel?: () => any;
38
42
  onSave?: () => any;
@@ -40,6 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
40
44
  title: string;
41
45
  testId: string;
42
46
  actionButtons: boolean;
47
+ isLoading: boolean;
43
48
  noPadding: boolean;
44
49
  saveLabel: string;
45
50
  cancelLabel: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./FormCard.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FormCard.vue_vue_type_style_index_0_scoped_ad5e4be0_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ad5e4be0"]]);
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css"; //*');
4
+ const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-276bd901"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,10 +1,14 @@
1
- import "../../FormCard.vue_vue_type_style_index_0_scoped_ad5e4be0_lang.css"; import { defineComponent as g, openBlock as v, createElementBlock as T, createElementVNode as r, mergeProps as n, unref as e, renderSlot as s, createVNode as i, withCtx as c, createTextVNode as f, toDisplayString as u, createCommentVNode as B } from "vue";
2
- import N from "../typography/v4/Typography.vue.js";
3
- import p from "../button/v4/ButtonV4.vue.js";
1
+ import "../../FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css"; import { defineComponent as T, openBlock as d, createElementBlock as c, createElementVNode as f, mergeProps as l, unref as e, renderSlot as u, createVNode as a, withCtx as m, createTextVNode as g, toDisplayString as v, createBlock as B, createCommentVNode as C } from "vue";
2
+ import p from "../typography/v4/Typography.vue.js";
3
+ import y from "../button/v4/ButtonV4.vue.js";
4
4
  import "../button/v4/IconButtonV4.vue.js";
5
- import { FormCardTestIdModifiers as a } from "../../testids/index.js";
6
- import { useTestIdAttrs as L } from "../../utils/testIds.js";
7
- const y = { class: "form-card" }, b = /* @__PURE__ */ g({
5
+ import { FormCardTestIdModifiers as o } from "../../testids/index.js";
6
+ import { useTestIdAttrs as N } from "../../utils/testIds.js";
7
+ import i from "../skeleton/v4/SkeletonV4.vue.js";
8
+ const b = { class: "form-card" }, h = {
9
+ key: 1,
10
+ class: "content-skeleton-container"
11
+ }, z = /* @__PURE__ */ T({
8
12
  __name: "FormCard",
9
13
  props: {
10
14
  title: { default: "" },
@@ -13,62 +17,84 @@ const y = { class: "form-card" }, b = /* @__PURE__ */ g({
13
17
  saveLabel: { default: "Save" },
14
18
  cancelLabel: { default: "Cancel" },
15
19
  saveLoading: { type: Boolean, default: !1 },
16
- testId: { default: "" }
20
+ testId: { default: "" },
21
+ isLoading: { type: Boolean, default: !1 }
17
22
  },
18
23
  emits: ["save", "cancel"],
19
- setup(t, { emit: m }) {
20
- const o = L(t.testId, a);
21
- return (d, l) => (v(), T("div", null, [
22
- r("div", y, [
23
- r("header", n({ class: "card-header" }, e(o)[e(a).TITLE]), [
24
- s(d.$slots, "header", {}, () => [
25
- i(e(N), { variant: "h3" }, {
26
- default: c(() => [
27
- f(u(t.title), 1)
24
+ setup(t, { emit: k }) {
25
+ const n = N(t.testId, o);
26
+ return (r, s) => (d(), c("div", null, [
27
+ f("div", b, [
28
+ f("header", l({ class: "card-header" }, e(n)[e(o).TITLE]), [
29
+ t.isLoading ? (d(), B(e(i), {
30
+ key: 1,
31
+ type: "rectangle",
32
+ size: 20,
33
+ class: "skeleton-header"
34
+ })) : u(r.$slots, "header", { key: 0 }, () => [
35
+ a(e(p), { variant: "h3" }, {
36
+ default: m(() => [
37
+ g(v(t.title), 1)
28
38
  ]),
29
39
  _: 1
30
40
  })
31
41
  ], !0)
32
42
  ], 16),
33
- r("div", n({
43
+ f("div", l({
34
44
  class: ["card-content", { "card-content--no-padding": t.noPadding }]
35
- }, e(o)[e(a).CONTENT]), [
36
- s(d.$slots, "default", {}, void 0, !0)
45
+ }, e(n)[e(o).CONTENT]), [
46
+ t.isLoading ? (d(), c("div", h, [
47
+ a(e(i), {
48
+ type: "rectangle",
49
+ size: 20,
50
+ class: "skeleton-long"
51
+ }),
52
+ a(e(i), {
53
+ class: "skeleton-short",
54
+ type: "rectangle"
55
+ }),
56
+ a(e(i), {
57
+ class: "skeleton-short",
58
+ type: "rectangle"
59
+ })
60
+ ])) : u(r.$slots, "default", { key: 0 }, void 0, !0)
37
61
  ], 16)
38
62
  ]),
39
- t.actionButtons ? (v(), T("div", n({
63
+ t.actionButtons ? (d(), c("div", l({
40
64
  key: 0,
41
65
  class: "form-actions"
42
- }, e(o)[e(a).ACTIONS]), [
43
- s(d.$slots, "footer", {}, () => [
44
- i(e(p), n({
66
+ }, e(n)[e(o).ACTIONS]), [
67
+ u(r.$slots, "footer", {}, () => [
68
+ a(e(y), l({
45
69
  class: "form-action",
46
70
  variant: "outlined",
47
71
  color: "default"
48
- }, e(o)[e(a).CANCEL_BUTTON], {
49
- onClick: l[0] || (l[0] = (C) => m("cancel"))
72
+ }, e(n)[e(o).CANCEL_BUTTON], {
73
+ disabled: t.isLoading,
74
+ onClick: s[0] || (s[0] = (L) => k("cancel"))
50
75
  }), {
51
- default: c(() => [
52
- f(u(t.cancelLabel), 1)
76
+ default: m(() => [
77
+ g(v(t.cancelLabel), 1)
53
78
  ]),
54
79
  _: 1
55
- }, 16),
56
- i(e(p), n({
80
+ }, 16, ["disabled"]),
81
+ a(e(y), l({
57
82
  class: "form-action",
58
83
  loading: t.saveLoading
59
- }, e(o)[e(a).SAVE_BUTTON], {
60
- onClick: l[1] || (l[1] = (C) => m("save"))
84
+ }, e(n)[e(o).SAVE_BUTTON], {
85
+ disabled: t.isLoading,
86
+ onClick: s[1] || (s[1] = (L) => k("save"))
61
87
  }), {
62
- default: c(() => [
63
- f(u(t.saveLabel), 1)
88
+ default: m(() => [
89
+ g(v(t.saveLabel), 1)
64
90
  ]),
65
91
  _: 1
66
- }, 16, ["loading"])
92
+ }, 16, ["loading", "disabled"])
67
93
  ], !0)
68
- ], 16)) : B("", !0)
94
+ ], 16)) : C("", !0)
69
95
  ]));
70
96
  }
71
97
  });
72
98
  export {
73
- b as default
99
+ z as default
74
100
  };
@@ -2,22 +2,32 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
2
2
  label: string;
3
3
  mandatory?: boolean;
4
4
  testId?: string;
5
+ hoverHelpText?: string;
6
+ hoverHelpTextPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
5
7
  }>, {
6
8
  label: string;
7
9
  mandatory: boolean;
8
10
  testId: string;
11
+ hoverHelpText: string;
12
+ hoverHelpTextPlacement: string;
9
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
14
  label: string;
11
15
  mandatory?: boolean;
12
16
  testId?: string;
17
+ hoverHelpText?: string;
18
+ hoverHelpTextPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
13
19
  }>, {
14
20
  label: string;
15
21
  mandatory: boolean;
16
22
  testId: string;
23
+ hoverHelpText: string;
24
+ hoverHelpTextPlacement: string;
17
25
  }>>>, {
18
26
  label: string;
19
27
  mandatory: boolean;
20
28
  testId: string;
29
+ hoverHelpText: string;
30
+ hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
21
31
  }>, {
22
32
  default?(_: {}): any;
23
33
  }>;
@@ -1,7 +1,7 @@
1
1
  import o from "./FormRow.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FormRow.vue_vue_type_style_index_0_scoped_017dc22e_lang.css"; //*');
4
- const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-017dc22e"]]);
2
+ /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../FormRow.vue_vue_type_style_index_0_scoped_c5265707_lang.css"; //*');
4
+ const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-c5265707"]]);
5
5
  export {
6
6
  c as default
7
7
  };
@@ -1,41 +1,34 @@
1
- import "../../FormRow.vue_vue_type_style_index_0_scoped_017dc22e_lang.css"; import { defineComponent as c, openBlock as t, createElementBlock as a, createVNode as i, unref as o, withCtx as l, createTextVNode as d, toDisplayString as m, createBlock as u, createCommentVNode as r, createElementVNode as f, renderSlot as y } from "vue";
2
- import n from "../typography/v4/Typography.vue.js";
3
- const p = { class: "form-row" }, _ = ["data-testid"], h = { class: "content" }, B = /* @__PURE__ */ c({
1
+ import "../../FormRow.vue_vue_type_style_index_0_scoped_c5265707_lang.css"; import { defineComponent as o, openBlock as t, createElementBlock as l, createVNode as d, createCommentVNode as n, createElementVNode as r, renderSlot as c } from "vue";
2
+ import m from "../shared/FieldLabel.vue.js";
3
+ const s = { class: "form-row" }, h = {
4
+ key: 0,
5
+ class: "label-container"
6
+ }, i = { class: "content" }, p = /* @__PURE__ */ o({
4
7
  __name: "FormRow",
5
8
  props: {
6
9
  label: { default: "" },
7
10
  mandatory: { type: Boolean, default: !1 },
8
- testId: { default: "" }
11
+ testId: { default: "" },
12
+ hoverHelpText: { default: "" },
13
+ hoverHelpTextPlacement: { default: "top" }
9
14
  },
10
15
  setup(e) {
11
- return (s, b) => (t(), a("div", p, [
12
- e.label ? (t(), a("div", {
13
- key: 0,
14
- "data-testid": e.testId,
15
- class: "label-container"
16
- }, [
17
- i(o(n), { variant: "inputLabel" }, {
18
- default: l(() => [
19
- d(m(e.label), 1)
20
- ]),
21
- _: 1
22
- }),
23
- e.mandatory ? (t(), u(o(n), {
24
- key: 0,
25
- class: "mandatory"
26
- }, {
27
- default: l(() => [
28
- d("*")
29
- ]),
30
- _: 1
31
- })) : r("", !0)
32
- ], 8, _)) : r("", !0),
33
- f("div", h, [
34
- y(s.$slots, "default", {}, void 0, !0)
16
+ return (a, f) => (t(), l("div", s, [
17
+ e.label ? (t(), l("div", h, [
18
+ d(m, {
19
+ label: e.label,
20
+ mandatory: e.mandatory,
21
+ "hover-help-text": e.hoverHelpText,
22
+ "hover-help-text-placement": e.hoverHelpTextPlacement,
23
+ "data-testid": e.testId
24
+ }, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "data-testid"])
25
+ ])) : n("", !0),
26
+ r("div", i, [
27
+ c(a.$slots, "default", {}, void 0, !0)
35
28
  ])
36
29
  ]));
37
30
  }
38
31
  });
39
32
  export {
40
- B as default
33
+ p as default
41
34
  };
@@ -7,13 +7,33 @@ declare const FormCardTypes: () => (({
7
7
  $: import("vue").ComponentInternalInstance;
8
8
  $data: {};
9
9
  $props: Partial<{
10
+ label: string;
11
+ description: string;
12
+ hoverHelpText: string;
13
+ hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
10
14
  noPadding: boolean;
11
15
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
16
+ label: {
17
+ type: import("vue").PropType<string>;
18
+ default: string;
19
+ };
20
+ description: {
21
+ type: import("vue").PropType<string>;
22
+ default: string;
23
+ };
24
+ hoverHelpText: {
25
+ type: import("vue").PropType<string>;
26
+ default: string;
27
+ };
28
+ hoverHelpTextPlacement: {
29
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
30
+ default: string;
31
+ };
12
32
  noPadding: {
13
33
  type: import("vue").PropType<boolean>;
14
34
  default: boolean;
15
35
  };
16
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "noPadding">;
36
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "description" | "hoverHelpText" | "hoverHelpTextPlacement" | "noPadding">;
17
37
  $attrs: {
18
38
  [x: string]: unknown;
19
39
  };
@@ -28,11 +48,31 @@ declare const FormCardTypes: () => (({
28
48
  $emit: (event: string, ...args: any[]) => void;
29
49
  $el: any;
30
50
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
51
+ label: {
52
+ type: import("vue").PropType<string>;
53
+ default: string;
54
+ };
55
+ description: {
56
+ type: import("vue").PropType<string>;
57
+ default: string;
58
+ };
59
+ hoverHelpText: {
60
+ type: import("vue").PropType<string>;
61
+ default: string;
62
+ };
63
+ hoverHelpTextPlacement: {
64
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
65
+ default: string;
66
+ };
31
67
  noPadding: {
32
68
  type: import("vue").PropType<boolean>;
33
69
  default: boolean;
34
70
  };
35
71
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
72
+ label: string;
73
+ description: string;
74
+ hoverHelpText: string;
75
+ hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
36
76
  noPadding: boolean;
37
77
  }, {}, string> & {
38
78
  beforeCreate?: (() => void) | (() => void)[];
@@ -55,6 +95,22 @@ declare const FormCardTypes: () => (({
55
95
  $nextTick: typeof import("vue").nextTick;
56
96
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
57
97
  } & Readonly<import("vue").ExtractPropTypes<{
98
+ label: {
99
+ type: import("vue").PropType<string>;
100
+ default: string;
101
+ };
102
+ description: {
103
+ type: import("vue").PropType<string>;
104
+ default: string;
105
+ };
106
+ hoverHelpText: {
107
+ type: import("vue").PropType<string>;
108
+ default: string;
109
+ };
110
+ hoverHelpTextPlacement: {
111
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
112
+ default: string;
113
+ };
58
114
  noPadding: {
59
115
  type: import("vue").PropType<boolean>;
60
116
  default: boolean;
@@ -64,11 +120,31 @@ declare const FormCardTypes: () => (({
64
120
  __isTeleport?: never;
65
121
  __isSuspense?: never;
66
122
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
123
+ label: {
124
+ type: import("vue").PropType<string>;
125
+ default: string;
126
+ };
127
+ description: {
128
+ type: import("vue").PropType<string>;
129
+ default: string;
130
+ };
131
+ hoverHelpText: {
132
+ type: import("vue").PropType<string>;
133
+ default: string;
134
+ };
135
+ hoverHelpTextPlacement: {
136
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
137
+ default: string;
138
+ };
67
139
  noPadding: {
68
140
  type: import("vue").PropType<boolean>;
69
141
  default: boolean;
70
142
  };
71
143
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
144
+ label: string;
145
+ description: string;
146
+ hoverHelpText: string;
147
+ hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
72
148
  noPadding: boolean;
73
149
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
74
150
  $slots: {
@@ -82,6 +158,7 @@ declare const FormCardTypes: () => (({
82
158
  title: string;
83
159
  testId: string;
84
160
  actionButtons: boolean;
161
+ isLoading: boolean;
85
162
  noPadding: boolean;
86
163
  saveLabel: string;
87
164
  cancelLabel: string;
@@ -99,6 +176,10 @@ declare const FormCardTypes: () => (({
99
176
  type: import("vue").PropType<boolean>;
100
177
  default: boolean;
101
178
  };
179
+ isLoading: {
180
+ type: import("vue").PropType<boolean>;
181
+ default: boolean;
182
+ };
102
183
  noPadding: {
103
184
  type: import("vue").PropType<boolean>;
104
185
  default: boolean;
@@ -118,7 +199,7 @@ declare const FormCardTypes: () => (({
118
199
  }>> & {
119
200
  onCancel?: () => any;
120
201
  onSave?: () => any;
121
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "testId" | "actionButtons" | "noPadding" | "saveLabel" | "cancelLabel" | "saveLoading">;
202
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "testId" | "actionButtons" | "isLoading" | "noPadding" | "saveLabel" | "cancelLabel" | "saveLoading">;
122
203
  $attrs: {
123
204
  [x: string]: unknown;
124
205
  };
@@ -145,6 +226,10 @@ declare const FormCardTypes: () => (({
145
226
  type: import("vue").PropType<boolean>;
146
227
  default: boolean;
147
228
  };
229
+ isLoading: {
230
+ type: import("vue").PropType<boolean>;
231
+ default: boolean;
232
+ };
148
233
  noPadding: {
149
234
  type: import("vue").PropType<boolean>;
150
235
  default: boolean;
@@ -171,6 +256,7 @@ declare const FormCardTypes: () => (({
171
256
  title: string;
172
257
  testId: string;
173
258
  actionButtons: boolean;
259
+ isLoading: boolean;
174
260
  noPadding: boolean;
175
261
  saveLabel: string;
176
262
  cancelLabel: string;
@@ -208,6 +294,10 @@ declare const FormCardTypes: () => (({
208
294
  type: import("vue").PropType<boolean>;
209
295
  default: boolean;
210
296
  };
297
+ isLoading: {
298
+ type: import("vue").PropType<boolean>;
299
+ default: boolean;
300
+ };
211
301
  noPadding: {
212
302
  type: import("vue").PropType<boolean>;
213
303
  default: boolean;
@@ -244,6 +334,10 @@ declare const FormCardTypes: () => (({
244
334
  type: import("vue").PropType<boolean>;
245
335
  default: boolean;
246
336
  };
337
+ isLoading: {
338
+ type: import("vue").PropType<boolean>;
339
+ default: boolean;
340
+ };
247
341
  noPadding: {
248
342
  type: import("vue").PropType<boolean>;
249
343
  default: boolean;
@@ -270,6 +364,7 @@ declare const FormCardTypes: () => (({
270
364
  title: string;
271
365
  testId: string;
272
366
  actionButtons: boolean;
367
+ isLoading: boolean;
273
368
  noPadding: boolean;
274
369
  saveLabel: string;
275
370
  cancelLabel: string;
@@ -288,6 +383,8 @@ declare const FormCardTypes: () => (({
288
383
  label: string;
289
384
  mandatory: boolean;
290
385
  testId: string;
386
+ hoverHelpText: string;
387
+ hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
291
388
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
292
389
  label: {
293
390
  type: import("vue").PropType<string>;
@@ -302,7 +399,15 @@ declare const FormCardTypes: () => (({
302
399
  type: import("vue").PropType<string>;
303
400
  default: string;
304
401
  };
305
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "mandatory" | "testId">;
402
+ hoverHelpText: {
403
+ type: import("vue").PropType<string>;
404
+ default: string;
405
+ };
406
+ hoverHelpTextPlacement: {
407
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
408
+ default: string;
409
+ };
410
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement">;
306
411
  $attrs: {
307
412
  [x: string]: unknown;
308
413
  };
@@ -330,10 +435,20 @@ declare const FormCardTypes: () => (({
330
435
  type: import("vue").PropType<string>;
331
436
  default: string;
332
437
  };
438
+ hoverHelpText: {
439
+ type: import("vue").PropType<string>;
440
+ default: string;
441
+ };
442
+ hoverHelpTextPlacement: {
443
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
444
+ default: string;
445
+ };
333
446
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
334
447
  label: string;
335
448
  mandatory: boolean;
336
449
  testId: string;
450
+ hoverHelpText: string;
451
+ hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
337
452
  }, {}, string> & {
338
453
  beforeCreate?: (() => void) | (() => void)[];
339
454
  created?: (() => void) | (() => void)[];
@@ -368,6 +483,14 @@ declare const FormCardTypes: () => (({
368
483
  type: import("vue").PropType<string>;
369
484
  default: string;
370
485
  };
486
+ hoverHelpText: {
487
+ type: import("vue").PropType<string>;
488
+ default: string;
489
+ };
490
+ hoverHelpTextPlacement: {
491
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
492
+ default: string;
493
+ };
371
494
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
372
495
  __isFragment?: never;
373
496
  __isTeleport?: never;
@@ -386,10 +509,20 @@ declare const FormCardTypes: () => (({
386
509
  type: import("vue").PropType<string>;
387
510
  default: string;
388
511
  };
512
+ hoverHelpText: {
513
+ type: import("vue").PropType<string>;
514
+ default: string;
515
+ };
516
+ hoverHelpTextPlacement: {
517
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
518
+ default: string;
519
+ };
389
520
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
390
521
  label: string;
391
522
  mandatory: boolean;
392
523
  testId: string;
524
+ hoverHelpText: string;
525
+ hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
393
526
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
394
527
  $slots: {
395
528
  default?(_: {}): any;