@ironsource/shared-ui 2.2.0-rc.5 → 2.2.0-rc.7

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 (114) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
  2. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css +1 -0
  3. package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
  4. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  5. package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
  6. package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
  7. package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +1 -0
  8. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +1 -0
  9. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
  10. package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
  11. package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
  12. package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
  13. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
  14. package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
  15. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
  16. package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
  17. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
  18. package/SwitchV4.vue_vue_type_style_index_0_scoped_0a80c49f_lang.css +1 -0
  19. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
  20. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
  21. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  22. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
  23. package/components/alert/Alert.vue.d.ts +3 -8
  24. package/components/alert/Alert.vue.js +2 -2
  25. package/components/alert/Alert.vue2.js +48 -46
  26. package/components/alert/index.d.ts +8 -27
  27. package/components/appHeader/AppHeader.vue.js +2 -2
  28. package/components/appHeader/AppHeader.vue2.js +44 -45
  29. package/components/button/v4/ButtonV4.vue.js +4 -4
  30. package/components/button/v4/ButtonV4.vue2.js +1 -1
  31. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  32. package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
  33. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  34. package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
  35. package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
  36. package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
  37. package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
  38. package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
  39. package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
  40. package/components/chip/v4/ChipV4.vue.js +3 -3
  41. package/components/chip/v4/ChipV4.vue2.js +1 -1
  42. package/components/columnPicker/ColumnPicker.vue.js +2 -2
  43. package/components/columnPicker/ColumnPicker.vue2.js +1 -1
  44. package/components/dialog/v4/DialogV4.vue.js +4 -4
  45. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  46. package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
  47. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
  48. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  49. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
  50. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  51. package/components/dropdown/v4/DropdownV4.vue2.js +2 -2
  52. package/components/dropdown/v4/GroupOption.vue.js +3 -3
  53. package/components/dropdown/v4/GroupOption.vue2.js +1 -1
  54. package/components/helpText/HelpText.vue.d.ts +68 -0
  55. package/components/helpText/HelpText.vue.js +7 -0
  56. package/components/helpText/HelpText.vue2.js +45 -0
  57. package/components/helpText/index.d.ts +190 -0
  58. package/components/helpText/index.js +6 -0
  59. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  60. package/components/icon/v4/IconV4.vue.js +2 -2
  61. package/components/icon/v4/IconV4.vue2.js +27 -26
  62. package/components/icon/v4/index.d.ts +20 -1
  63. package/components/input/v4/TextField.vue.js +2 -2
  64. package/components/input/v4/TextField.vue2.js +1 -1
  65. package/components/link/Link.vue.d.ts +3 -3
  66. package/components/link/Link.vue.js +5 -5
  67. package/components/link/Link.vue2.js +1 -1
  68. package/components/link/index.d.ts +7 -7
  69. package/components/multibar/MultiBar.vue.js +3 -3
  70. package/components/multibar/MultiBar.vue2.js +1 -1
  71. package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
  72. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
  73. package/components/switch/v4/SwitchV4.vue.js +2 -2
  74. package/components/switch/v4/SwitchV4.vue2.js +1 -1
  75. package/components/table/v4/DataGrid.vue.js +4 -4
  76. package/components/table/v4/DataGrid.vue2.js +59 -59
  77. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  78. package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
  79. package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
  80. package/index.d.ts +41 -2
  81. package/index.js +95 -91
  82. package/package.json +7 -2
  83. package/style/v4/colors.scss +89 -84
  84. package/style/v4/grid.css +1 -1
  85. package/style/v4/grid.css.map +1 -1
  86. package/testids/index.d.ts +4 -0
  87. package/testids/index.js +38 -37
  88. package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
  89. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
  90. package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
  91. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
  92. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
  93. package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
  94. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
  95. package/DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css +0 -1
  96. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_3bc0f416_lang.css +0 -1
  97. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
  98. package/DropdownV4.vue_vue_type_style_index_0_scoped_445ebb01_lang.css +0 -1
  99. package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
  100. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  101. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
  102. package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
  103. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
  104. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
  105. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
  106. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
  107. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
  108. package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
  109. package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
  110. package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
  111. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
  112. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
  113. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
  114. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
@@ -2,7 +2,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
2
2
  href?: string;
3
3
  disabled?: boolean;
4
4
  color?: "default" | "primary";
5
- variant?: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
5
+ variant?: "button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel";
6
6
  iconName?: string;
7
7
  iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
8
8
  iconPosition?: "end" | "start";
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
30
30
  href?: string;
31
31
  disabled?: boolean;
32
32
  color?: "default" | "primary";
33
- variant?: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
33
+ variant?: "button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel";
34
34
  iconName?: string;
35
35
  iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
36
36
  iconPosition?: "end" | "start";
@@ -56,7 +56,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
56
56
  onClick?: () => any;
57
57
  }, {
58
58
  testId: string;
59
- variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
59
+ variant: "button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel";
60
60
  withTooltip: boolean;
61
61
  tooltipText: string;
62
62
  isTruncated: boolean;
@@ -1,7 +1,7 @@
1
- import o from "./Link.vue2.js";
2
- /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css"; //*');
4
- const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-1a766750"]]);
1
+ import e from "./Link.vue2.js";
2
+ /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css"; //*');
4
+ const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-fe0e7f6f"]]);
5
5
  export {
6
- p as default
6
+ t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css"; import { defineComponent as m, openBlock as n, createBlock as l, unref as t, mergeProps as c, withCtx as y, createCommentVNode as d, renderSlot as T } from "vue";
1
+ import "../../Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css"; import { defineComponent as m, openBlock as n, createBlock as l, unref as t, mergeProps as c, withCtx as y, createCommentVNode as d, renderSlot as T } from "vue";
2
2
  import k from "../typography/v4/Typography.vue.js";
3
3
  import r from "../icon/v4/IconV4.vue.js";
4
4
  import "../icon/v4/IconFlag.vue.js";
@@ -4,7 +4,7 @@ declare const LinkTypes: () => ({
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  testId: string;
7
- variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
7
+ variant: "button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel";
8
8
  withTooltip: boolean;
9
9
  tooltipText: string;
10
10
  isTruncated: boolean;
@@ -21,7 +21,7 @@ declare const LinkTypes: () => ({
21
21
  default: string;
22
22
  };
23
23
  variant: {
24
- type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
24
+ type: import("vue").PropType<"button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel">;
25
25
  default: string;
26
26
  };
27
27
  withTooltip: {
@@ -86,7 +86,7 @@ declare const LinkTypes: () => ({
86
86
  default: string;
87
87
  };
88
88
  variant: {
89
- type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
89
+ type: import("vue").PropType<"button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel">;
90
90
  default: string;
91
91
  };
92
92
  withTooltip: {
@@ -135,7 +135,7 @@ declare const LinkTypes: () => ({
135
135
  click: () => void;
136
136
  }, string, {
137
137
  testId: string;
138
- variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
138
+ variant: "button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel";
139
139
  withTooltip: boolean;
140
140
  tooltipText: string;
141
141
  isTruncated: boolean;
@@ -172,7 +172,7 @@ declare const LinkTypes: () => ({
172
172
  default: string;
173
173
  };
174
174
  variant: {
175
- type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
175
+ type: import("vue").PropType<"button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel">;
176
176
  default: string;
177
177
  };
178
178
  withTooltip: {
@@ -227,7 +227,7 @@ declare const LinkTypes: () => ({
227
227
  default: string;
228
228
  };
229
229
  variant: {
230
- type: import("vue").PropType<"button" | "body1" | "body2" | "subtitle1" | "subtitle2">;
230
+ type: import("vue").PropType<"button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel">;
231
231
  default: string;
232
232
  };
233
233
  withTooltip: {
@@ -276,7 +276,7 @@ declare const LinkTypes: () => ({
276
276
  click: () => void;
277
277
  }, string, {
278
278
  testId: string;
279
- variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
279
+ variant: "button" | "caption" | "body1" | "body2" | "subtitle1" | "subtitle2" | "chipLabel";
280
280
  withTooltip: boolean;
281
281
  tooltipText: string;
282
282
  isTruncated: boolean;
@@ -1,7 +1,7 @@
1
1
  import o from "./MultiBar.vue2.js";
2
2
  /* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css"; //*');
4
- const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-71617643"]]);
3
+ // import "../../MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css"; //*');
4
+ const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-c4395fb6"]]);
5
5
  export {
6
- p as default
6
+ c as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as u, Transition as g, withCtx as c, unref as t, createElementBlock as r, mergeProps as B, createElementVNode as V, createTextVNode as h, toDisplayString as A, createCommentVNode as m, Fragment as z, renderList as M, normalizeClass as N } from "vue";
1
+ import "../../MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as u, Transition as g, withCtx as c, unref as t, createElementBlock as r, mergeProps as B, createElementVNode as V, createTextVNode as h, toDisplayString as A, createCommentVNode as m, Fragment as z, renderList as M, normalizeClass as N } from "vue";
2
2
  import { useVModel as $ } from "@vueuse/core";
3
3
  import E from "../typography/v4/Typography.vue.js";
4
4
  import S from "../button/v4/ButtonV4.vue.js";
@@ -1,7 +1,7 @@
1
1
  import o from "./RadioButtonV4.vue2.js";
2
2
  /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css"; //*');
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-05c7bca2"]]);
3
+ // import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css"; //*');
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4f3c7037"]]);
5
5
  export {
6
- s as default
6
+ c as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css"; import { defineComponent as R, ref as g, inject as k, computed as c, openBlock as b, createElementBlock as B, normalizeClass as v, unref as e, createElementVNode as l, withDirectives as w, mergeProps as m, isRef as C, vModelRadio as L, renderSlot as N, createVNode as T, withCtx as V, createTextVNode as h, toDisplayString as y, createBlock as A, createCommentVNode as x } from "vue";
1
+ import "../../../RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css"; import { defineComponent as R, ref as g, inject as k, computed as c, openBlock as b, createElementBlock as B, normalizeClass as v, unref as e, createElementVNode as l, withDirectives as w, mergeProps as m, isRef as C, vModelRadio as L, renderSlot as N, createVNode as T, withCtx as V, createTextVNode as h, toDisplayString as y, createBlock as A, createCommentVNode as x } from "vue";
2
2
  import I from "../../typography/v4/Typography.vue.js";
3
3
  import { radioGroupKey as G } from "../common/useRadio.js";
4
4
  import { RadioTestIdModifiers as r } from "../../../testids/index.js";
@@ -1,7 +1,7 @@
1
1
  import o from "./SwitchV4.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-cd6621a7"]]);
3
+ // import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_0a80c49f_lang.css"; //*');
4
+ const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-0a80c49f"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; import { defineComponent as T, ref as h, onMounted as k, openBlock as c, createElementBlock as r, normalizeClass as m, unref as a, Fragment as x, renderList as V, createBlock as w, withCtx as y, createVNode as C } from "vue";
1
+ import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_0a80c49f_lang.css"; import { defineComponent as T, ref as h, onMounted as k, openBlock as c, createElementBlock as r, normalizeClass as m, unref as a, Fragment as x, renderList as V, createBlock as w, withCtx as y, createVNode as C } from "vue";
2
2
  import { useVModel as I } from "@vueuse/core";
3
3
  import { SwitchTestIdModifiers as u } from "../../../testids/index.js";
4
4
  import "../../button/v4/ButtonV4.vue.js";
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGrid.vue2.js";
2
- /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css"; //*');
4
- const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3673e156"]]);
2
+ /* empty css */import c from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css"; //*');
4
+ const e = /* @__PURE__ */ c(o, [["__scopeId", "data-v-cd41c5ca"]]);
5
5
  export {
6
- a as default
6
+ e as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as y, createBlock as I, isRef as pe, createSlots as ve, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as x, renderList as C, createVNode as k, createTextVNode as P, toDisplayString as O, mergeProps as L } from "vue";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as y, createBlock as I, isRef as pe, createSlots as ve, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as x, renderList as C, createVNode as k, createTextVNode as P, toDisplayString as O, mergeProps as L } from "vue";
2
2
  import V from "../../typography/v4/Typography.vue.js";
3
3
  import xe from "../../skeleton/v4/SkeletonV4.vue.js";
4
4
  import Ce from "../../emptyState/v4/EmptyStateV4.vue.js";
@@ -71,14 +71,14 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
71
71
  },
72
72
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
73
73
  setup(l, { expose: m, emit: f }) {
74
- const s = l;
75
- me((a) => ({
76
- fa71c02a: l.zIndexBase,
77
- "0a21f61f": t(le),
78
- "5d6e0550": t(G),
79
- "43e43a46": t(fe)
74
+ const a = l;
75
+ me((s) => ({
76
+ "423d7fe6": l.zIndexBase,
77
+ "38b7f4c1": t(le),
78
+ "9b4c490c": t(G),
79
+ "243617e8": t(fe)
80
80
  }));
81
- const p = be(), q = (a) => s.rowCustomClassKey && s.rows[a] ? s.rows[a][s.rowCustomClassKey] : "", {
81
+ const p = be(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
82
82
  list: $,
83
83
  containerProps: z,
84
84
  wrapperProps: J,
@@ -95,56 +95,56 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
95
95
  cssExpandGridCol: le,
96
96
  isRowExpanded: M,
97
97
  hasCheckboxes: D,
98
- activeMenuRow: ae,
99
- scrollTo: se
100
- } = Te(s, f), W = u(() => !!p.footer), ie = u(
101
- () => s.title || p.title || _.value || p["table-header-actions"] || p["table-header-pre-search"]
98
+ activeMenuRow: se,
99
+ scrollTo: ae
100
+ } = Te(a, f), W = u(() => !!p.footer), ie = u(
101
+ () => a.title || p.title || _.value || p["table-header-actions"] || p["table-header-pre-search"]
102
102
  ), v = u({
103
- get: () => s.search,
104
- set: (a) => f("update:search", a)
105
- }), oe = u(() => s.selection.length || 0), F = u(() => {
106
- const a = s.rows.map((o, e) => s.getRowId(o, e));
107
- return !!a.length && a.every((o) => E(o));
108
- }), E = (a) => s.selection.findIndex((o) => s.selectedMatcher(a, o)) !== -1, de = (a) => {
109
- E(a) ? (B(
110
- s.selection.filter(
111
- (o) => !s.selectedMatcher(a, o)
103
+ get: () => a.search,
104
+ set: (s) => f("update:search", s)
105
+ }), oe = u(() => a.selection.length || 0), F = u(() => {
106
+ const s = a.rows.map((o, e) => a.getRowId(o, e));
107
+ return !!s.length && s.every((o) => E(o));
108
+ }), E = (s) => a.selection.findIndex((o) => a.selectedMatcher(s, o)) !== -1, de = (s) => {
109
+ E(s) ? (B(
110
+ a.selection.filter(
111
+ (o) => !a.selectedMatcher(s, o)
112
112
  )
113
- ), f("selectRow", !1)) : (B([...s.selection, a]), f("selectRow", !0));
113
+ ), f("selectRow", !1)) : (B([...a.selection, s]), f("selectRow", !0));
114
114
  }, ne = () => {
115
115
  if (F.value)
116
116
  B([]), f("selectAll", !1);
117
117
  else {
118
- const a = s.rows.map((o, e) => s.getRowId(o, e)).filter((o) => !E(o));
119
- B([...s.selection, ...a]), f("selectAll", !0);
118
+ const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
119
+ B([...a.selection, ...s]), f("selectAll", !0);
120
120
  }
121
- }, B = (a) => {
122
- f("update:selection", a);
123
- }, re = (a) => !s.isLoading && T.value === a, ce = u(
124
- () => s.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
121
+ }, B = (s) => {
122
+ f("update:selection", s);
123
+ }, re = (s) => !a.isLoading && T.value === s, ce = u(
124
+ () => a.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
125
125
  ), ue = u(
126
- () => s.emptyStateSubtitle ? s.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
126
+ () => a.emptyStateSubtitle ? a.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
127
127
  ), N = u(() => ({
128
128
  class: {
129
- sticky: s.isSelectionSticky,
130
- bordered: s.isSelectionBordered
129
+ sticky: a.isSelectionSticky,
130
+ bordered: a.isSelectionBordered
131
131
  },
132
- style: s.isSelectionSticky ? H.value[Ae] : null
133
- })), he = (a) => ({
134
- sticky: a.isSticky,
135
- isStickyRight: a.isStickyRight,
136
- bordered: a.isBordered,
137
- isTextRight: a.isTextRight
132
+ style: a.isSelectionSticky ? H.value[Ae] : null
133
+ })), he = (s) => ({
134
+ sticky: s.isSticky,
135
+ isStickyRight: s.isStickyRight,
136
+ bordered: s.isBordered,
137
+ isTextRight: s.isTextRight
138
138
  }), Y = u(
139
- () => s.columns.map((a) => he(a))
140
- ), ye = (a) => ({
141
- minHeight: (typeof s.rowHeight == "function" ? s.rowHeight(a) : s.rowHeight) + "px"
142
- }), A = u(() => $.value.reduce((a, o) => (a[o.index] = ye(o.index), a), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
139
+ () => a.columns.map((s) => he(s))
140
+ ), ye = (s) => ({
141
+ minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(s) : a.rowHeight) + "px"
142
+ }), A = u(() => $.value.reduce((s, o) => (s[o.index] = ye(o.index), s), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
143
143
  () => Se.value - j - X
144
144
  );
145
145
  return m({
146
- scrollTo: se
147
- }), (a, o) => (i(), d("div", {
146
+ scrollTo: ae
147
+ }), (s, o) => (i(), d("div", {
148
148
  class: "table-container",
149
149
  "data-testid": `${l.testId}-${t(R).CONTAINER}`,
150
150
  onMouseleave: o[3] || (o[3] = (e) => T.value = null)
@@ -173,24 +173,24 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
173
173
  onOnClearSearch: o[1] || (o[1] = (e) => f("onClearSearch"))
174
174
  }, ve({
175
175
  title: g(() => [
176
- r(a.$slots, "title")
176
+ r(s.$slots, "title")
177
177
  ]),
178
178
  search: g(() => [
179
- r(a.$slots, "search")
179
+ r(s.$slots, "search")
180
180
  ]),
181
181
  _: 2
182
182
  }, [
183
183
  t(p)["table-header-pre-search"] ? {
184
184
  name: "table-header-pre-search",
185
185
  fn: g(() => [
186
- r(a.$slots, "table-header-pre-search")
186
+ r(s.$slots, "table-header-pre-search")
187
187
  ]),
188
188
  key: "0"
189
189
  } : void 0,
190
190
  t(p)["table-header-actions"] ? {
191
191
  name: "table-header-actions",
192
192
  fn: g(() => [
193
- r(a.$slots, "table-header-actions")
193
+ r(s.$slots, "table-header-actions")
194
194
  ]),
195
195
  key: "1"
196
196
  } : void 0
@@ -206,7 +206,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
206
206
  key: e.id,
207
207
  class: y(["section-container", { sticky: e.isSticky }])
208
208
  }, [
209
- r(a.$slots, `section-${e.id}`, {}, () => [
209
+ r(s.$slots, `section-${e.id}`, {}, () => [
210
210
  b("div", {
211
211
  style: S({ width: e.width + "px" }),
212
212
  class: y({ section: !0 })
@@ -228,7 +228,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
228
228
  key: 0,
229
229
  class: "checkbox-cell"
230
230
  }, t(N)), [
231
- r(a.$slots, "select-all-checkbox", {}, () => [
231
+ r(s.$slots, "select-all-checkbox", {}, () => [
232
232
  k(t(Q), {
233
233
  disabled: l.isLoading,
234
234
  "is-checked": t(F),
@@ -249,7 +249,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
249
249
  onClick: (n) => e.isSortable ? t(Z)(e) : null
250
250
  }, [
251
251
  b("div", Fe, [
252
- r(a.$slots, `header-${e.id}`, { column: e }, () => [
252
+ r(s.$slots, `header-${e.id}`, { column: e }, () => [
253
253
  k(t(Re), {
254
254
  text: e.helpText,
255
255
  disabled: !e.helpText || l.helpTooltipVariant === "icon",
@@ -278,7 +278,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
278
278
  "hover-help-text-placement": e.helpTextPlacement,
279
279
  "test-id": `help-tooltip-${e.id}`
280
280
  }, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
281
- r(a.$slots, `after-header-${e.id}`, { column: e }),
281
+ r(s.$slots, `after-header-${e.id}`, { column: e }),
282
282
  e.isSortable && e.id === l.sort?.sortBy ? (i(), I(He, {
283
283
  key: 1,
284
284
  "sort-order": l.sort.sortOrder
@@ -299,7 +299,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
299
299
  }),
300
300
  style: S(e.isSticky ? t(H)[e.id] : null)
301
301
  }, [
302
- r(a.$slots, `total-${e.id}`, { column: e }, () => [
302
+ r(s.$slots, `total-${e.id}`, { column: e }, () => [
303
303
  h === 0 ? (i(), I(t(V), {
304
304
  key: 0,
305
305
  variant: "h6"
@@ -324,7 +324,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
324
324
  class: y(["table-row", {
325
325
  loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
326
326
  active: t(T) === e.index,
327
- activeMenu: t(ae) === e.index,
327
+ activeMenu: t(se) === e.index,
328
328
  expanded: t(w) && t(M)(e.index),
329
329
  [q(e.index)]: !0
330
330
  }]),
@@ -371,7 +371,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
371
371
  key: 0,
372
372
  class: y(["table-cell", { last: n === e.data.length - 1 }])
373
373
  }, [
374
- r(a.$slots, `cell-${l.columns[n].id}`, {
374
+ r(s.$slots, `cell-${l.columns[n].id}`, {
375
375
  cell: e.data[n],
376
376
  isLoading: t(U).includes(e.index),
377
377
  cellIndex: n,
@@ -385,18 +385,18 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
385
385
  _: 2
386
386
  }, 1024)
387
387
  ])
388
- ], 2)) : r(a.$slots, "loader", { key: 1 }, () => [
388
+ ], 2)) : r(s.$slots, "loader", { key: 1 }, () => [
389
389
  k(t(xe), { round: "" })
390
390
  ])
391
391
  ], 6))), 128)),
392
392
  t(w) && t(M)(e.index) ? (i(), d("div", Ge, [
393
- r(a.$slots, "expanded", {
393
+ r(s.$slots, "expanded", {
394
394
  row: e,
395
395
  gridColumnTemplate: t(G)
396
396
  })
397
397
  ])) : c("", !0),
398
398
  re(e.index) ? (i(), d("div", Ke, [
399
- r(a.$slots, "floating-row", {
399
+ r(s.$slots, "floating-row", {
400
400
  row: e,
401
401
  rowIndex: e.index
402
402
  })
@@ -408,7 +408,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
408
408
  l.useAvailableHeight ? { height: `${t(ge)}px` } : {}
409
409
  )
410
410
  }, [
411
- r(a.$slots, "empty-state", {}, () => [
411
+ r(s.$slots, "empty-state", {}, () => [
412
412
  k(t(Ce), {
413
413
  class: "empty-state",
414
414
  title: l.emptyStateTitle,
@@ -422,7 +422,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
422
422
  ])
423
423
  ], 46, Le),
424
424
  t(W) ? (i(), d("div", Ue, [
425
- r(a.$slots, "footer")
425
+ r(s.$slots, "footer")
426
426
  ])) : c("", !0)
427
427
  ], 40, Pe));
428
428
  }
@@ -1,7 +1,7 @@
1
1
  import e from "./TextAreaV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4114ef89"]]);
3
+ // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0feea75e"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
1
+ import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
2
2
  import v from "../../shared/FieldLabel.vue.js";
3
3
  import k from "../../shared/FieldMaxLength.vue.js";
4
4
  import T from "../../shared/FieldHelpText.vue.js";
@@ -2,18 +2,19 @@ export declare const colorPaletteLight: {
2
2
  background: {
3
3
  default: string;
4
4
  paper: string;
5
- backdrop: string;
6
5
  'modal-elevation': string;
7
- 'modal-elevation-0': string;
8
- 'modal-elevation-1': string;
9
- 'modal-elevation-2': string;
10
- 'modal-elevation-3': string;
11
- 'modal-elevation-4': string;
12
- 'modal-elevation-5': string;
13
- 'modal-elevation-6': string;
14
- 'modal-elevation-7': string;
15
- 'modal-elevation-8': string;
16
- 'modal-elevation-9': string;
6
+ backdrop: string;
7
+ 'paper-elevation-0': string;
8
+ 'paper-elevation-1': string;
9
+ 'paper-elevation-2': string;
10
+ 'paper-elevation-3': string;
11
+ 'paper-elevation-4': string;
12
+ 'paper-elevation-5': string;
13
+ 'paper-elevation-6': string;
14
+ 'paper-elevation-7': string;
15
+ 'paper-elevation-8': string;
16
+ 'paper-elevation-9': string;
17
+ inset: string;
17
18
  };
18
19
  action: {
19
20
  primary: string;
@@ -21,23 +22,27 @@ export declare const colorPaletteLight: {
21
22
  hover: string;
22
23
  selected: string;
23
24
  disabled: string;
24
- disabledBackground: string;
25
+ 'disabled-background': string;
25
26
  focus: string;
26
- outlinedBorder: string;
27
+ 'outlined-border': string;
27
28
  };
28
29
  default: {
29
- light: string;
30
30
  main: string;
31
+ lighter: string;
32
+ light: string;
31
33
  dark: string;
32
- outlinedBorder: string;
33
- contrastText: string;
34
- buttonContrastText: string;
34
+ darker: string;
35
+ 'contrast-text': string;
36
+ 'outlined-border': string;
37
+ 'main-8-p': string;
38
+ 'main-50-p': string;
39
+ 'button-contrast-text': string;
35
40
  };
36
41
  common: {
37
42
  white: string;
38
43
  black: string;
39
- inverseWhite: string;
40
- inverseBlack: string;
44
+ 'inverse-white': string;
45
+ 'inverse-black': string;
41
46
  divider: string;
42
47
  'divider-elevation-0': string;
43
48
  };
@@ -50,64 +55,64 @@ export declare const colorPaletteLight: {
50
55
  lighter: string;
51
56
  light: string;
52
57
  main: string;
53
- main8p: string;
54
- main50p: string;
58
+ 'main-8-p': string;
59
+ 'main-50-p': string;
55
60
  dark: string;
56
61
  darker: string;
57
- outlinedBorder: string;
58
- contrastText: string;
59
- buttonContrastText: string;
62
+ 'outlined-border': string;
63
+ 'contrast-text': string;
64
+ 'button-contrast-text': string;
60
65
  };
61
66
  info: {
62
67
  lighter: string;
63
68
  light: string;
64
69
  main: string;
65
- main8p: string;
66
- main50p: string;
70
+ 'main-8-p': string;
71
+ 'main-50-p': string;
67
72
  dark: string;
68
73
  darker: string;
69
- outlinedBorder: string;
70
- contrastText: string;
71
- buttonContrastText: string;
74
+ 'outlined-border': string;
75
+ 'contrast-text': string;
76
+ 'button-contrast-text': string;
72
77
  };
73
78
  success: {
74
79
  lighter: string;
75
80
  light: string;
76
81
  main: string;
77
- main8p: string;
78
- main50p: string;
82
+ 'main-8-p': string;
83
+ 'main-50-p': string;
79
84
  dark: string;
80
85
  darker: string;
81
- outlinedBorder: string;
82
- contrastText: string;
83
- buttonContrastText: string;
86
+ 'outlined-border': string;
87
+ 'contrast-text': string;
88
+ 'button-contrast-text': string;
84
89
  };
85
90
  warning: {
86
91
  lighter: string;
87
92
  light: string;
88
93
  main: string;
89
- main8p: string;
90
- main50p: string;
94
+ 'main-8-p': string;
95
+ 'main-50-p': string;
91
96
  dark: string;
92
97
  darker: string;
93
- outlinedBorder: string;
94
- contrastText: string;
95
- buttonContrastText: string;
98
+ 'outlined-border': string;
99
+ 'contrast-text': string;
100
+ 'button-contrast-text': string;
96
101
  };
97
102
  error: {
98
103
  lighter: string;
99
104
  light: string;
100
105
  main: string;
101
- main8p: string;
102
- main50p: string;
106
+ 'main-8-p': string;
107
+ 'main-50-p': string;
103
108
  dark: string;
104
109
  darker: string;
105
- outlinedBorder: string;
106
- contrastText: string;
107
- buttonContrastText: string;
110
+ 'outlined-border': string;
111
+ 'contrast-text': string;
112
+ 'button-contrast-text': string;
108
113
  };
109
- 'A/B test': {
110
- 'A Control': string;
111
- 'B test': string;
114
+ ab: {
115
+ a: string;
116
+ b: string;
112
117
  };
113
118
  };