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

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 (69) hide show
  1. package/AppHeader.vue_vue_type_style_index_0_scoped_95908b8d_lang.css +1 -0
  2. package/CardPanel.vue_vue_type_style_index_0_scoped_7d0acb11_lang.css +1 -0
  3. package/CheckboxV4.vue_vue_type_style_index_0_scoped_d25514d1_lang.css +1 -0
  4. package/DataGrid.vue_vue_type_style_index_0_scoped_4baf9e57_lang.css +1 -0
  5. package/DataGridMenu.vue_vue_type_style_index_0_scoped_13f1ce76_lang.css +1 -0
  6. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +1 -0
  7. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +1 -0
  8. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +1 -0
  9. package/FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_lang.css +1 -0
  10. package/FormRow.vue_vue_type_style_index_0_scoped_39f48410_lang.css +1 -0
  11. package/InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css +1 -0
  12. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css +1 -0
  13. package/components/appHeader/AppHeader.vue.js +3 -3
  14. package/components/appHeader/AppHeader.vue2.js +42 -35
  15. package/components/checkbox/v4/CheckboxV4.vue.js +4 -4
  16. package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
  17. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +11 -12
  18. package/components/checkbox/v4/icons/UncheckedState.vue.js +12 -11
  19. package/components/dropdown/common/Dropdown.common.js +93 -92
  20. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +15 -0
  21. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  22. package/components/emptyState/v4/EmptyStateV4.vue2.js +41 -27
  23. package/components/emptyState/v4/index.d.ts +58 -1
  24. package/components/forms/CardPanel.vue.d.ts +20 -0
  25. package/components/forms/CardPanel.vue.js +2 -2
  26. package/components/forms/CardPanel.vue2.js +26 -14
  27. package/components/forms/FormRow.vue.js +4 -4
  28. package/components/forms/FormRow.vue2.js +1 -1
  29. package/components/forms/index.d.ts +77 -1
  30. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  31. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  32. package/components/inlineCopy/InlineCopy.vue2.js +22 -21
  33. package/components/inlineCopy/index.d.ts +9 -0
  34. package/components/radioButton/v4/RadioButtonV4.vue.js +4 -4
  35. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
  36. package/components/shared/FieldLabel.vue.d.ts +5 -0
  37. package/components/shared/FieldLabel.vue.js +3 -3
  38. package/components/shared/FieldLabel.vue2.js +63 -46
  39. package/components/table/common/Table.common.d.ts +1 -0
  40. package/components/table/common/Table.common.js +64 -60
  41. package/components/table/common/TableContext.d.ts +1 -0
  42. package/components/table/v4/DataGrid.vue.js +4 -4
  43. package/components/table/v4/DataGrid.vue2.js +71 -69
  44. package/components/table/v4/DataGridMenu.vue.d.ts +5 -5
  45. package/components/table/v4/DataGridMenu.vue.js +4 -4
  46. package/components/table/v4/DataGridMenu.vue2.js +46 -47
  47. package/components/table/v4/DataGridRowsCounter.vue.d.ts +15 -0
  48. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  49. package/components/table/v4/DataGridRowsCounter.vue2.js +22 -19
  50. package/components/table/v4/index.d.ts +32 -5
  51. package/components/table-cells/common/Editable.common.js +15 -15
  52. package/components/table-cells/v4/EditableV4.vue.d.ts +10 -0
  53. package/components/table-cells/v4/EditableV4.vue.js +3 -3
  54. package/components/table-cells/v4/EditableV4.vue2.js +31 -22
  55. package/components/table-cells/v4/index.d.ts +43 -1
  56. package/index.d.ts +284 -14
  57. package/package.json +1 -1
  58. package/AppHeader.vue_vue_type_style_index_0_scoped_aa538d40_lang.css +0 -1
  59. package/CardPanel.vue_vue_type_style_index_0_scoped_d2b5d12f_lang.css +0 -1
  60. package/CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css +0 -1
  61. package/DataGrid.vue_vue_type_style_index_0_scoped_d5635f1b_lang.css +0 -1
  62. package/DataGridMenu.vue_vue_type_style_index_0_scoped_92d83650_lang.css +0 -1
  63. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_9e366543_lang.css +0 -1
  64. package/EditableV4.vue_vue_type_style_index_0_scoped_df325b51_lang.css +0 -1
  65. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_b8373c2d_lang.css +0 -1
  66. package/FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css +0 -1
  67. package/FormRow.vue_vue_type_style_index_0_scoped_017dc22e_lang.css +0 -1
  68. package/InlineCopy.vue_vue_type_style_index_0_scoped_117ac157_lang.css +0 -1
  69. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css +0 -1
@@ -1,12 +1,32 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  noPadding?: boolean;
3
+ label?: string;
4
+ description?: 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";
3
7
  }>, {
4
8
  noPadding: boolean;
9
+ label: string;
10
+ description: string;
11
+ hoverHelpText: string;
12
+ hoverHelpTextPlacement: string;
5
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<{
6
14
  noPadding?: boolean;
15
+ label?: string;
16
+ description?: 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";
7
19
  }>, {
8
20
  noPadding: boolean;
21
+ label: string;
22
+ description: string;
23
+ hoverHelpText: string;
24
+ hoverHelpTextPlacement: string;
9
25
  }>>>, {
26
+ label: string;
27
+ description: string;
28
+ hoverHelpText: string;
29
+ 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
30
  noPadding: boolean;
11
31
  }>, {
12
32
  default?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./CardPanel.vue2.js";
2
2
  /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../CardPanel.vue_vue_type_style_index_0_scoped_d2b5d12f_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-d2b5d12f"]]);
3
+ // import "../../CardPanel.vue_vue_type_style_index_0_scoped_7d0acb11_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-7d0acb11"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -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
  };
@@ -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_39f48410_lang.css"; //*');
4
+ const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-39f48410"]]);
5
5
  export {
6
- c as default
6
+ p as default
7
7
  };
@@ -1,4 +1,4 @@
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";
1
+ import "../../FormRow.vue_vue_type_style_index_0_scoped_39f48410_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
2
  import n from "../typography/v4/Typography.vue.js";
3
3
  const p = { class: "form-row" }, _ = ["data-testid"], h = { class: "content" }, B = /* @__PURE__ */ c({
4
4
  __name: "FormRow",
@@ -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: {
@@ -3,26 +3,31 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
3
3
  size: 'small' | 'medium';
4
4
  testId: string;
5
5
  hideTextValue: boolean;
6
+ iconSize?: string;
6
7
  }>, {
7
8
  size: string;
8
9
  text: string;
9
10
  testId: string;
10
11
  hideTextValue: boolean;
12
+ iconSize: any;
11
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<{
12
14
  text: string;
13
15
  size: 'small' | 'medium';
14
16
  testId: string;
15
17
  hideTextValue: boolean;
18
+ iconSize?: string;
16
19
  }>, {
17
20
  size: string;
18
21
  text: string;
19
22
  testId: string;
20
23
  hideTextValue: boolean;
24
+ iconSize: any;
21
25
  }>>>, {
22
26
  text: string;
23
27
  size: 'small' | 'medium';
24
28
  testId: string;
25
29
  hideTextValue: boolean;
30
+ iconSize: string;
26
31
  }>;
27
32
  export default _default;
28
33
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./InlineCopy.vue2.js";
2
2
  /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../InlineCopy.vue_vue_type_style_index_0_scoped_117ac157_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-117ac157"]]);
3
+ // import "../../InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2a9e8782"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,21 +1,22 @@
1
- import "../../InlineCopy.vue_vue_type_style_index_0_scoped_117ac157_lang.css"; import { defineComponent as d, computed as f, openBlock as s, createElementBlock as y, createBlock as x, unref as e, mergeProps as i, withCtx as c, createTextVNode as C, toDisplayString as T, createCommentVNode as I, createVNode as l } from "vue";
2
- import h from "../icon/v4/IconV4.vue.js";
3
- import k from "../typography/v4/Typography.vue.js";
4
- import { useClipboard as V } from "@vueuse/core";
5
- import { Snackbar as z } from "../snackbar/v4/index.js";
6
- import B from "../tooltip/v4/TooltipV4.vue.js";
7
- import { useTestIdAttrs as _ } from "../../utils/testIds.js";
8
- import { InlineCopyTestIdModifiers as r } from "../../testids/index.js";
1
+ import "../../InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css"; import { defineComponent as d, computed as f, openBlock as a, createElementBlock as y, createBlock as x, unref as e, mergeProps as c, withCtx as s, createTextVNode as C, toDisplayString as T, createCommentVNode as z, createVNode as l } from "vue";
2
+ import I from "../icon/v4/IconV4.vue.js";
3
+ import h from "../typography/v4/Typography.vue.js";
4
+ import { useClipboard as k } from "@vueuse/core";
5
+ import { Snackbar as S } from "../snackbar/v4/index.js";
6
+ import V from "../tooltip/v4/TooltipV4.vue.js";
7
+ import { useTestIdAttrs as B } from "../../utils/testIds.js";
8
+ import { InlineCopyTestIdModifiers as i } from "../../testids/index.js";
9
9
  const M = /* @__PURE__ */ d({
10
10
  __name: "InlineCopy",
11
11
  props: {
12
12
  text: { default: "" },
13
13
  size: { default: "small" },
14
14
  testId: { default: "" },
15
- hideTextValue: { type: Boolean, default: !1 }
15
+ hideTextValue: { type: Boolean, default: !1 },
16
+ iconSize: { default: null }
16
17
  },
17
18
  setup(t) {
18
- const o = t, { copy: n, copied: p } = V({}), m = f(() => {
19
+ const o = t, { copy: n, copied: p } = k({}), m = f(() => {
19
20
  switch (o.size) {
20
21
  case "medium":
21
22
  return "0.875rem";
@@ -24,33 +25,33 @@ const M = /* @__PURE__ */ d({
24
25
  return "0.75rem";
25
26
  }
26
27
  }), u = async () => {
27
- await n(o.text), p.value && z({
28
+ await n(o.text), p.value && S({
28
29
  title: "Copied successfully",
29
30
  type: "success",
30
31
  duration: 2e3
31
32
  });
32
- }, a = _(o.testId, r);
33
- return (N, S) => (s(), y("div", {
33
+ }, r = B(o.testId, i);
34
+ return (N, b) => (a(), y("div", {
34
35
  class: "inline-copy",
35
36
  onClick: u
36
37
  }, [
37
- t.hideTextValue ? I("", !0) : (s(), x(e(k), i({
38
+ t.hideTextValue ? z("", !0) : (a(), x(e(h), c({
38
39
  key: 0,
39
40
  variant: "caption",
40
41
  style: { fontSize: e(m) }
41
- }, e(a)[e(r).TEXT]), {
42
- default: c(() => [
42
+ }, e(r)[e(i).TEXT]), {
43
+ default: s(() => [
43
44
  C(T(t.text), 1)
44
45
  ]),
45
46
  _: 1
46
47
  }, 16, ["style"])),
47
- l(e(B), { text: "Copy to clipboar" }, {
48
- default: c(() => [
49
- l(e(h), i({
48
+ l(e(V), { text: "Copy to clipboard" }, {
49
+ default: s(() => [
50
+ l(e(I), c({
50
51
  class: "icon-copy",
51
52
  name: "copy",
52
- size: "16px"
53
- }, e(a)[e(r).COPY_BTN]), null, 16)
53
+ size: t.iconSize || "16px"
54
+ }, e(r)[e(i).COPY_BTN]), null, 16, ["size"])
54
55
  ]),
55
56
  _: 1
56
57
  })
@@ -20,6 +20,10 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
20
20
  required: true;
21
21
  default: boolean;
22
22
  };
23
+ iconSize: {
24
+ type: import("vue").PropType<string>;
25
+ default: any;
26
+ };
23
27
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
28
  text: {
25
29
  type: import("vue").PropType<string>;
@@ -41,10 +45,15 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
41
45
  required: true;
42
46
  default: boolean;
43
47
  };
48
+ iconSize: {
49
+ type: import("vue").PropType<string>;
50
+ default: any;
51
+ };
44
52
  }>>, {
45
53
  text: string;
46
54
  size: "small" | "medium";
47
55
  testId: string;
48
56
  hideTextValue: boolean;
57
+ iconSize: string;
49
58
  }>[];
50
59
  export { InlineCopy, InlineCopyTypes };
@@ -1,7 +1,7 @@
1
1
  import o from "./RadioButtonV4.vue2.js";
2
- /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-14be812e"]]);
2
+ /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css"; //*');
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cb3a12c6"]]);
5
5
  export {
6
- p as default
6
+ s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css"; import { defineComponent as h, ref as y, inject as g, computed as n, openBlock as I, createElementBlock as R, normalizeClass as p, unref as e, createElementVNode as r, withDirectives as E, mergeProps as v, isRef as k, vModelRadio as B, renderSlot as T, createVNode as w, withCtx as x, createTextVNode as A, toDisplayString as C } from "vue";
1
+ import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css"; import { defineComponent as h, ref as y, inject as g, computed as n, openBlock as I, createElementBlock as R, normalizeClass as p, unref as e, createElementVNode as r, withDirectives as E, mergeProps as v, isRef as k, vModelRadio as B, renderSlot as T, createVNode as w, withCtx as x, createTextVNode as A, toDisplayString as C } from "vue";
2
2
  import D from "../../typography/v4/Typography.vue.js";
3
3
  import { radioGroupKey as G } from "../common/useRadio.js";
4
4
  import { RadioTestIdModifiers as u } from "../../../testids/index.js";
@@ -1,6 +1,7 @@
1
1
  import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  label: string;
4
+ description?: string;
4
5
  mandatory?: boolean;
5
6
  disabled?: boolean;
6
7
  hoverHelpText?: string;
@@ -8,6 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
8
9
  testId?: string;
9
10
  }>, {
10
11
  label: string;
12
+ description: string;
11
13
  testId: string;
12
14
  mandatory: boolean;
13
15
  disabled: boolean;
@@ -15,6 +17,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
15
17
  hoverHelpTextPlacement: string;
16
18
  }>, {}, 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<{
17
19
  label: string;
20
+ description?: string;
18
21
  mandatory?: boolean;
19
22
  disabled?: boolean;
20
23
  hoverHelpText?: string;
@@ -22,6 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
22
25
  testId?: string;
23
26
  }>, {
24
27
  label: string;
28
+ description: string;
25
29
  testId: string;
26
30
  mandatory: boolean;
27
31
  disabled: boolean;
@@ -32,6 +36,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
32
36
  disabled: boolean;
33
37
  mandatory: boolean;
34
38
  testId: string;
39
+ description: string;
35
40
  hoverHelpText: string;
36
41
  hoverHelpTextPlacement: TooltipPositions;
37
42
  }>;
@@ -1,7 +1,7 @@
1
1
  import e from "./FieldLabel.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-526af548"]]);
3
+ // import "../../FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_lang.css"; //*');
4
+ const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-5c2a70ad"]]);
5
5
  export {
6
- a as default
6
+ t as default
7
7
  };
@@ -1,13 +1,17 @@
1
- import "../../FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css"; import { defineComponent as c, openBlock as r, createElementBlock as u, mergeProps as o, unref as e, createVNode as n, withCtx as d, createTextVNode as s, toDisplayString as p, createBlock as i, createCommentVNode as m } from "vue";
2
- import T from "../icon/v3/Icon.vue.js";
3
- import b from "../tooltip/v4/TooltipV4.vue.js";
4
- import f from "../typography/v4/Typography.vue.js";
1
+ import "../../FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_lang.css"; import { defineComponent as p, openBlock as o, createElementBlock as m, Fragment as T, createElementVNode as b, mergeProps as d, unref as e, createVNode as r, withCtx as i, createTextVNode as n, toDisplayString as f, createBlock as u, createCommentVNode as s } from "vue";
2
+ import h from "../icon/v3/Icon.vue.js";
3
+ import y from "../tooltip/v4/TooltipV4.vue.js";
4
+ import c from "../typography/v4/Typography.vue.js";
5
5
  import { FieldLabelTestIdModifiers as a } from "../../testids/index.js";
6
- import { useTestIdAttrs as x } from "../../utils/testIds.js";
7
- const H = /* @__PURE__ */ c({
6
+ import { useTestIdAttrs as v } from "../../utils/testIds.js";
7
+ const x = {
8
+ key: 0,
9
+ class: "description"
10
+ }, L = /* @__PURE__ */ p({
8
11
  __name: "FieldLabel",
9
12
  props: {
10
13
  label: { default: "" },
14
+ description: { default: "" },
11
15
  mandatory: { type: Boolean, default: !1 },
12
16
  disabled: { type: Boolean, default: !1 },
13
17
  hoverHelpText: { default: "" },
@@ -15,47 +19,60 @@ const H = /* @__PURE__ */ c({
15
19
  testId: { default: "" }
16
20
  },
17
21
  setup(t) {
18
- const l = x(t.testId, a);
19
- return (y, v) => (r(), u("div", o({
20
- class: ["field-label", { "field-label--disabled": t.disabled }]
21
- }, e(l)[e(a).CONTAINER]), [
22
- n(e(f), o({
23
- class: "label",
24
- variant: "inputLabel"
25
- }, e(l)[e(a).TEXT]), {
26
- default: d(() => [
27
- s(p(t.label), 1)
28
- ]),
29
- _: 1
30
- }, 16),
31
- t.mandatory ? (r(), i(e(f), o({
32
- key: 0,
33
- variant: "h3",
34
- class: "mandatory"
35
- }, e(l)[e(a).MANDATORY]), {
36
- default: d(() => [
37
- s("*")
38
- ]),
39
- _: 1
40
- }, 16)) : m("", !0),
41
- t.hoverHelpText ? (r(), i(e(b), o({
42
- key: 1,
43
- triggers: ["hover"],
44
- text: t.hoverHelpText,
45
- placement: t.hoverHelpTextPlacement
46
- }, e(l)[e(a).TOOLTIP], { "test-id": t.testId }), {
47
- default: d(() => [
48
- n(e(T), {
49
- class: "info-icon",
50
- name: "question",
51
- "font-size": "sm"
52
- })
53
- ]),
54
- _: 1
55
- }, 16, ["text", "placement", "test-id"])) : m("", !0)
56
- ], 16));
22
+ const l = v(t.testId, a);
23
+ return (N, g) => (o(), m(T, null, [
24
+ b("div", d({
25
+ class: ["field-label", {
26
+ "field-label--disabled": t.disabled,
27
+ "field-label--with-description": !!t.description
28
+ }]
29
+ }, e(l)[e(a).CONTAINER]), [
30
+ r(e(c), d({
31
+ class: "label",
32
+ variant: "inputLabel"
33
+ }, e(l)[e(a).TEXT]), {
34
+ default: i(() => [
35
+ n(f(t.label), 1)
36
+ ]),
37
+ _: 1
38
+ }, 16),
39
+ t.mandatory ? (o(), u(e(c), d({
40
+ key: 0,
41
+ variant: "h3",
42
+ class: "mandatory"
43
+ }, e(l)[e(a).MANDATORY]), {
44
+ default: i(() => [
45
+ n("*")
46
+ ]),
47
+ _: 1
48
+ }, 16)) : s("", !0),
49
+ t.hoverHelpText ? (o(), u(e(y), d({
50
+ key: 1,
51
+ triggers: ["hover"],
52
+ text: t.hoverHelpText,
53
+ placement: t.hoverHelpTextPlacement
54
+ }, e(l)[e(a).TOOLTIP], { "test-id": t.testId }), {
55
+ default: i(() => [
56
+ r(e(h), {
57
+ class: "info-icon",
58
+ name: "question",
59
+ "font-size": "sm"
60
+ })
61
+ ]),
62
+ _: 1
63
+ }, 16, ["text", "placement", "test-id"])) : s("", !0)
64
+ ], 16),
65
+ t.description ? (o(), m("div", x, [
66
+ r(e(c), { variant: "body2" }, {
67
+ default: i(() => [
68
+ n(f(t.description), 1)
69
+ ]),
70
+ _: 1
71
+ })
72
+ ])) : s("", !0)
73
+ ], 64));
57
74
  }
58
75
  });
59
76
  export {
60
- H as default
77
+ L as default
61
78
  };
@@ -32,4 +32,5 @@ export declare const tableCommon: (props: any, emit: any) => {
32
32
  isRowExpanded: (rowIndex: number) => boolean;
33
33
  cssRowHeight: import("vue").ComputedRef<string>;
34
34
  cssExpandGridCol: import("vue").ComputedRef<string>;
35
+ activeMenuRow: import("vue").Ref<number>;
35
36
  };