@ironsource/shared-ui 2.1.11-test.5 → 2.1.11-test.51

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 (182) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +1 -0
  2. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +1 -0
  5. package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +1 -0
  7. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +1 -0
  8. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
  9. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8f96cf5a_lang.css +1 -0
  10. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
  11. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
  12. package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
  13. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
  14. package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
  15. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
  16. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
  17. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
  18. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
  19. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
  20. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
  21. package/README.md +4 -15
  22. package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
  23. package/SortableItem.vue_vue_type_style_index_0_scoped_7cb676f1_lang.css +1 -0
  24. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
  25. package/SortableList.vue_vue_type_style_index_0_scoped_156c01ca_lang.css +1 -0
  26. package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +1 -0
  27. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  28. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
  29. package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +1 -0
  30. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
  31. package/Typography.vue_vue_type_style_index_0_scoped_a14013a5_lang.css +1 -0
  32. package/components/autocomplete/Autocomplete.vue2.js +3 -2
  33. package/components/button/v3/Button.vue.d.ts +6 -6
  34. package/components/button/v3/index.d.ts +14 -14
  35. package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
  36. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  37. package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
  38. package/components/button/v4/index.d.ts +9 -3
  39. package/components/chart/Chart.vue.d.ts +17 -4
  40. package/components/chart/Chart.vue.js +5 -5
  41. package/components/chart/Chart.vue2.js +127 -110
  42. package/components/chart/ChartHeader.vue.d.ts +13 -6
  43. package/components/chart/ChartHeader.vue.js +2 -2
  44. package/components/chart/ChartHeader.vue2.js +32 -29
  45. package/components/chart/ChartLegend.vue.d.ts +5 -0
  46. package/components/chart/ChartLegend.vue.js +3 -3
  47. package/components/chart/ChartLegend.vue2.js +99 -49
  48. package/components/chart/ChartTooltip.vue.d.ts +4 -5
  49. package/components/chart/ChartTooltip.vue.js +2 -2
  50. package/components/chart/ChartTooltip.vue2.js +64 -43
  51. package/components/chart/SettingsHeader.vue2.js +3 -2
  52. package/components/chart/index.d.ts +74 -35
  53. package/components/chart/mockData.d.ts +15 -2
  54. package/components/chart/types.d.ts +15 -1
  55. package/components/chart/utils/utils.js +5 -5
  56. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  57. package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
  58. package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
  59. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  60. package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
  61. package/components/dialog/v4/DialogV4.vue.d.ts +15 -0
  62. package/components/dialog/v4/DialogV4.vue.js +3 -3
  63. package/components/dialog/v4/DialogV4.vue2.js +80 -73
  64. package/components/dialog/v4/index.d.ts +58 -1
  65. package/components/dropdown/common/Dropdown.common.js +200 -189
  66. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  67. package/components/dropdown/v3/index.d.ts +39 -39
  68. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
  69. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +15 -0
  70. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
  71. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +42 -20
  72. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  73. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
  74. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
  75. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  76. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +88 -47
  77. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +110 -0
  78. package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
  79. package/components/dropdown/v4/ConditionalDropdown.vue2.js +224 -0
  80. package/components/dropdown/v4/DropdownV4.vue.d.ts +32 -11
  81. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  82. package/components/dropdown/v4/DropdownV4.vue2.js +153 -138
  83. package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
  84. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  85. package/components/dropdown/v4/OptionV4.vue2.js +135 -98
  86. package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
  87. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  88. package/components/dropdown/v4/TreeDropdown.vue2.js +165 -120
  89. package/components/dropdown/v4/index.d.ts +443 -110
  90. package/components/dropdown/v4/index.js +6 -3
  91. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  92. package/components/emptyState/v3/index.d.ts +7 -7
  93. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  94. package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
  95. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +2 -2
  96. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
  97. package/components/forms/FormCard.vue.js +3 -3
  98. package/components/forms/FormCard.vue2.js +1 -1
  99. package/components/icon/v4/consts.d.ts +1 -1
  100. package/components/icon/v4/consts.js +1 -1
  101. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  102. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  103. package/components/inlineCopy/InlineCopy.vue2.js +24 -22
  104. package/components/inlineCopy/index.d.ts +9 -0
  105. package/components/input/v4/TextField.vue.js +3 -3
  106. package/components/input/v4/TextField.vue2.js +12 -12
  107. package/components/multibar/MultiBarMenu.vue2.js +3 -2
  108. package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
  109. package/components/popover/v4/PopoverV4.vue.js +4 -3
  110. package/components/popover/v4/PopoverV4.vue2.js +40 -24
  111. package/components/popover/v4/index.d.ts +55 -11
  112. package/components/snackbar/v4/SnackbarV4.vue.d.ts +7 -116
  113. package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
  114. package/components/snackbar/v4/SnackbarV4.vue2.js +62 -60
  115. package/components/sortableList/SortableItem.vue.js +3 -3
  116. package/components/sortableList/SortableItem.vue2.js +57 -56
  117. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  118. package/components/sortableList/SortableItemLabel.vue2.js +20 -23
  119. package/components/sortableList/SortableList.vue.d.ts +1 -1
  120. package/components/sortableList/SortableList.vue.js +3 -3
  121. package/components/sortableList/SortableList.vue2.js +82 -76
  122. package/components/sortableList/index.d.ts +4 -4
  123. package/components/table/common/Table.common.d.ts +1 -1
  124. package/components/table/common/Table.common.js +83 -77
  125. package/components/table/common/Table.types.d.ts +1 -1
  126. package/components/table/common/consts.d.ts +4 -0
  127. package/components/table/common/consts.js +7 -0
  128. package/components/table/v3/Table.vue.d.ts +1 -1
  129. package/components/table/v3/index.d.ts +5 -5
  130. package/components/table/v4/DataGrid.vue.d.ts +12 -2
  131. package/components/table/v4/DataGrid.vue.js +2 -2
  132. package/components/table/v4/DataGrid.vue2.js +164 -155
  133. package/components/table/v4/DataGridMenu.vue.js +5 -5
  134. package/components/table/v4/DataGridMenu.vue2.js +4 -3
  135. package/components/table/v4/index.d.ts +64 -26
  136. package/components/table-cells/common/Editable.common.js +24 -19
  137. package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
  138. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  139. package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
  140. package/components/tooltip/v4/index.d.ts +39 -1
  141. package/components/typography/v4/Typography.vue.js +3 -3
  142. package/components/typography/v4/Typography.vue2.js +24 -18
  143. package/composables/useFormValidation.d.ts +1 -1
  144. package/design-foundation.stories/icons/iconsData.d.ts +1 -1
  145. package/index.d.ts +1426 -320
  146. package/index.js +1 -1
  147. package/mocks/options.d.ts +48 -6
  148. package/mocks/words.d.ts +1 -1
  149. package/package.json +3 -239
  150. package/style/v4/grid.css +1 -1
  151. package/style/v4/grid.css.map +1 -1
  152. package/style/v4/spacings.scss +1 -0
  153. package/testids/index.d.ts +1 -0
  154. package/testids/index.js +13 -13
  155. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
  156. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
  157. package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
  158. package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +0 -1
  159. package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +0 -1
  160. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +0 -1
  161. package/CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css +0 -1
  162. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
  163. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
  164. package/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
  165. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
  166. package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +0 -1
  167. package/DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css +0 -1
  168. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
  169. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
  170. package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
  171. package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
  172. package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
  173. package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
  174. package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
  175. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
  176. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
  177. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +0 -1
  178. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
  179. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
  180. package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
  181. package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
  182. package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
@@ -8,8 +8,8 @@ declare const DataGridTypes: () => (({
8
8
  $data: {};
9
9
  $props: Partial<{
10
10
  sort: import("../common/Table.types").Sort;
11
- title: string;
12
11
  search: string;
12
+ title: string;
13
13
  testId: string;
14
14
  isLoading: boolean;
15
15
  searchAutoFocus: boolean;
@@ -33,19 +33,21 @@ declare const DataGridTypes: () => (({
33
33
  zIndexBase: number;
34
34
  rowCustomClassKey: string;
35
35
  rowDataKey: string;
36
+ isSelectionSticky: boolean;
37
+ isSelectionBordered: boolean;
36
38
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
37
39
  sort: {
38
40
  type: import("vue").PropType<import("../common/Table.types").Sort>;
39
41
  default: any;
40
42
  };
41
- title: {
42
- type: import("vue").PropType<string>;
43
- default: string;
44
- };
45
43
  search: {
46
44
  type: import("vue").PropType<string>;
47
45
  default: any;
48
46
  };
47
+ title: {
48
+ type: import("vue").PropType<string>;
49
+ default: string;
50
+ };
49
51
  testId: {
50
52
  type: import("vue").PropType<string>;
51
53
  default: string;
@@ -146,18 +148,26 @@ declare const DataGridTypes: () => (({
146
148
  type: import("vue").PropType<string>;
147
149
  default: string;
148
150
  };
151
+ isSelectionSticky: {
152
+ type: import("vue").PropType<boolean>;
153
+ default: boolean;
154
+ };
155
+ isSelectionBordered: {
156
+ type: import("vue").PropType<boolean>;
157
+ default: boolean;
158
+ };
149
159
  }>> & {
150
160
  onSelectAll?: (value: boolean) => any;
161
+ onLoadMore?: () => any;
151
162
  "onUpdate:search"?: (query: string) => any;
152
163
  onOnScroll?: (event: Event) => any;
153
164
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
154
165
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
155
- onLoadMore?: () => any;
156
166
  onOnClearSearch?: () => any;
157
167
  "onUpdate:selection"?: (selection: unknown[]) => any;
158
168
  onSelectRow?: (value: boolean) => any;
159
169
  onClickRow?: (rowIndex: number) => any;
160
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "zIndexBase" | "rowCustomClassKey" | "rowDataKey">;
170
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "search" | "title" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "zIndexBase" | "rowCustomClassKey" | "rowDataKey" | "isSelectionSticky" | "isSelectionBordered">;
161
171
  $attrs: {
162
172
  [x: string]: unknown;
163
173
  };
@@ -169,21 +179,21 @@ declare const DataGridTypes: () => (({
169
179
  }>;
170
180
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
171
181
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
172
- $emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "update:search", query: string) => void) & ((event: "onClearSearch") => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "loadMore") => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "selectRow", value: boolean) => void) & ((event: "clickRow", rowIndex: number) => void);
182
+ $emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "loadMore") => void) & ((event: "onClearSearch") => void) & ((event: "update:search", query: string) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "selectRow", value: boolean) => void) & ((event: "clickRow", rowIndex: number) => void);
173
183
  $el: any;
174
184
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
175
185
  sort: {
176
186
  type: import("vue").PropType<import("../common/Table.types").Sort>;
177
187
  default: any;
178
188
  };
179
- title: {
180
- type: import("vue").PropType<string>;
181
- default: string;
182
- };
183
189
  search: {
184
190
  type: import("vue").PropType<string>;
185
191
  default: any;
186
192
  };
193
+ title: {
194
+ type: import("vue").PropType<string>;
195
+ default: string;
196
+ };
187
197
  testId: {
188
198
  type: import("vue").PropType<string>;
189
199
  default: string;
@@ -284,13 +294,21 @@ declare const DataGridTypes: () => (({
284
294
  type: import("vue").PropType<string>;
285
295
  default: string;
286
296
  };
297
+ isSelectionSticky: {
298
+ type: import("vue").PropType<boolean>;
299
+ default: boolean;
300
+ };
301
+ isSelectionBordered: {
302
+ type: import("vue").PropType<boolean>;
303
+ default: boolean;
304
+ };
287
305
  }>> & {
288
306
  onSelectAll?: (value: boolean) => any;
307
+ onLoadMore?: () => any;
289
308
  "onUpdate:search"?: (query: string) => any;
290
309
  onOnScroll?: (event: Event) => any;
291
310
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
292
311
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
293
- onLoadMore?: () => any;
294
312
  onOnClearSearch?: () => any;
295
313
  "onUpdate:selection"?: (selection: unknown[]) => any;
296
314
  onSelectRow?: (value: boolean) => any;
@@ -310,8 +328,8 @@ declare const DataGridTypes: () => (({
310
328
  clickRow: (rowIndex: number) => void;
311
329
  }, string, {
312
330
  sort: import("../common/Table.types").Sort;
313
- title: string;
314
331
  search: string;
332
+ title: string;
315
333
  testId: string;
316
334
  isLoading: boolean;
317
335
  searchAutoFocus: boolean;
@@ -335,6 +353,8 @@ declare const DataGridTypes: () => (({
335
353
  zIndexBase: number;
336
354
  rowCustomClassKey: string;
337
355
  rowDataKey: string;
356
+ isSelectionSticky: boolean;
357
+ isSelectionBordered: boolean;
338
358
  }, {}, string> & {
339
359
  beforeCreate?: (() => void) | (() => void)[];
340
360
  created?: (() => void) | (() => void)[];
@@ -360,14 +380,14 @@ declare const DataGridTypes: () => (({
360
380
  type: import("vue").PropType<import("../common/Table.types").Sort>;
361
381
  default: any;
362
382
  };
363
- title: {
364
- type: import("vue").PropType<string>;
365
- default: string;
366
- };
367
383
  search: {
368
384
  type: import("vue").PropType<string>;
369
385
  default: any;
370
386
  };
387
+ title: {
388
+ type: import("vue").PropType<string>;
389
+ default: string;
390
+ };
371
391
  testId: {
372
392
  type: import("vue").PropType<string>;
373
393
  default: string;
@@ -468,13 +488,21 @@ declare const DataGridTypes: () => (({
468
488
  type: import("vue").PropType<string>;
469
489
  default: string;
470
490
  };
491
+ isSelectionSticky: {
492
+ type: import("vue").PropType<boolean>;
493
+ default: boolean;
494
+ };
495
+ isSelectionBordered: {
496
+ type: import("vue").PropType<boolean>;
497
+ default: boolean;
498
+ };
471
499
  }>> & {
472
500
  onSelectAll?: (value: boolean) => any;
501
+ onLoadMore?: () => any;
473
502
  "onUpdate:search"?: (query: string) => any;
474
503
  onOnScroll?: (event: Event) => any;
475
504
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
476
505
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
477
- onLoadMore?: () => any;
478
506
  onOnClearSearch?: () => any;
479
507
  "onUpdate:selection"?: (selection: unknown[]) => any;
480
508
  onSelectRow?: (value: boolean) => any;
@@ -490,14 +518,14 @@ declare const DataGridTypes: () => (({
490
518
  type: import("vue").PropType<import("../common/Table.types").Sort>;
491
519
  default: any;
492
520
  };
493
- title: {
494
- type: import("vue").PropType<string>;
495
- default: string;
496
- };
497
521
  search: {
498
522
  type: import("vue").PropType<string>;
499
523
  default: any;
500
524
  };
525
+ title: {
526
+ type: import("vue").PropType<string>;
527
+ default: string;
528
+ };
501
529
  testId: {
502
530
  type: import("vue").PropType<string>;
503
531
  default: string;
@@ -598,13 +626,21 @@ declare const DataGridTypes: () => (({
598
626
  type: import("vue").PropType<string>;
599
627
  default: string;
600
628
  };
629
+ isSelectionSticky: {
630
+ type: import("vue").PropType<boolean>;
631
+ default: boolean;
632
+ };
633
+ isSelectionBordered: {
634
+ type: import("vue").PropType<boolean>;
635
+ default: boolean;
636
+ };
601
637
  }>> & {
602
638
  onSelectAll?: (value: boolean) => any;
639
+ onLoadMore?: () => any;
603
640
  "onUpdate:search"?: (query: string) => any;
604
641
  onOnScroll?: (event: Event) => any;
605
642
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
606
643
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
607
- onLoadMore?: () => any;
608
644
  onOnClearSearch?: () => any;
609
645
  "onUpdate:selection"?: (selection: unknown[]) => any;
610
646
  onSelectRow?: (value: boolean) => any;
@@ -624,8 +660,8 @@ declare const DataGridTypes: () => (({
624
660
  clickRow: (rowIndex: number) => void;
625
661
  }, string, {
626
662
  sort: import("../common/Table.types").Sort;
627
- title: string;
628
663
  search: string;
664
+ title: string;
629
665
  testId: string;
630
666
  isLoading: boolean;
631
667
  searchAutoFocus: boolean;
@@ -649,6 +685,8 @@ declare const DataGridTypes: () => (({
649
685
  zIndexBase: number;
650
686
  rowCustomClassKey: string;
651
687
  rowDataKey: string;
688
+ isSelectionSticky: boolean;
689
+ isSelectionBordered: boolean;
652
690
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
653
691
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
654
692
  column: import("../common/Table.types").Column;
@@ -906,7 +944,7 @@ declare const DataGridTypes: () => (({
906
944
  }>;
907
945
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
908
946
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
909
- $emit: ((event: "onScroll", scrollTop: number) => void) & ((event: "update:search", query: string) => void) & ((event: "onClearSearch") => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent & {
947
+ $emit: ((event: "onScroll", scrollTop: number) => void) & ((event: "onClearSearch") => void) & ((event: "update:search", query: string) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent & {
910
948
  tableIndex: number;
911
949
  }) => void) & ((event: "clickRow", rowIndex: number, tableIndex: number) => void);
912
950
  $el: any;
@@ -1,50 +1,55 @@
1
- import { ref as t, provide as d } from "vue";
2
- import { useTableContext as f } from "../../table/common/TableContext.js";
3
- import { EditableContext as C } from "./EditableContext.js";
4
- import { onClickOutside as m } from "@vueuse/core";
5
- const k = (e) => {
6
- const l = t(!1), n = t(e.cell), o = t(e.saveOnClickOutside), i = t(null), r = f("Editable"), a = t(null), v = () => {
7
- if (e.cell === n.value) {
1
+ import { ref as n, provide as f, watch as d } from "vue";
2
+ import { useTableContext as C } from "../../table/common/TableContext.js";
3
+ import { EditableContext as m } from "./EditableContext.js";
4
+ import { onClickOutside as x } from "@vueuse/core";
5
+ const E = (e) => {
6
+ const l = n(!1), t = n(e.cell), i = n(e.saveOnClickOutside), o = n(null), r = C("Editable"), a = n(null), v = () => {
7
+ if (e.cell === t.value) {
8
8
  l.value = !1;
9
9
  return;
10
10
  }
11
- const u = e.validateFunction?.(n.value);
11
+ const u = e.validateFunction?.(t.value);
12
12
  a.value = u, !u && (r.onClose({
13
13
  rowIndex: e.rowIndex,
14
14
  cellIndex: e.cellIndex,
15
- value: n.value
15
+ value: t.value
16
16
  }), l.value = !1);
17
17
  };
18
- d(C, {
18
+ f(m, {
19
19
  focusable: !0,
20
- value: n,
20
+ value: t,
21
21
  error: a,
22
22
  confirmable: !0,
23
- saveOnClickOutside: o.value,
23
+ saveOnClickOutside: i.value,
24
24
  onChange(u) {
25
- n.value = u, a.value = e.validateFunction?.(n.value);
25
+ t.value = u, a.value = e.validateFunction?.(t.value);
26
26
  },
27
27
  onClose: v
28
28
  });
29
29
  const c = () => {
30
30
  l.value || e.isLoading || (l.value = !l.value);
31
31
  }, s = () => {
32
- n.value = e.cell, a.value = null;
32
+ t.value = e.cell, a.value = null;
33
33
  };
34
- return m(i, () => {
34
+ return x(o, () => {
35
35
  if (l.value) {
36
- if (o.value) {
36
+ if (i.value) {
37
37
  v();
38
38
  return;
39
39
  }
40
40
  l.value = !1, s(), r.onClose();
41
41
  }
42
- }), {
42
+ }), d(
43
+ () => e.cell,
44
+ () => {
45
+ l.value || (t.value = e.cell);
46
+ }
47
+ ), {
43
48
  onEdit: c,
44
- target: i,
49
+ target: o,
45
50
  isEditing: l
46
51
  };
47
52
  };
48
53
  export {
49
- k as editableCommon
54
+ E as editableCommon
50
55
  };
@@ -11,6 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  testId?: string;
12
12
  distance?: string | number;
13
13
  container?: string;
14
+ shown?: boolean;
15
+ autoHide?: boolean;
14
16
  }>, {
15
17
  text: any;
16
18
  header: any;
@@ -23,6 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
25
  testId: string;
24
26
  distance: string;
25
27
  container: string;
28
+ shown: any;
29
+ autoHide: boolean;
26
30
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
31
  show: () => void;
28
32
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -37,6 +41,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
41
  testId?: string;
38
42
  distance?: string | number;
39
43
  container?: string;
44
+ shown?: boolean;
45
+ autoHide?: boolean;
40
46
  }>, {
41
47
  text: any;
42
48
  header: any;
@@ -49,6 +55,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
49
55
  testId: string;
50
56
  distance: string;
51
57
  container: string;
58
+ shown: any;
59
+ autoHide: boolean;
52
60
  }>>> & {
53
61
  onShow?: () => any;
54
62
  }, {
@@ -63,6 +71,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
63
71
  disabled: boolean;
64
72
  distance: string | number;
65
73
  container: string;
74
+ shown: boolean;
75
+ autoHide: boolean;
66
76
  }>, {
67
77
  default?(_: {}): any;
68
78
  tooltip?(_: {
@@ -1,8 +1,8 @@
1
1
  import o from "./TooltipV4.vue2.js";
2
2
  /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css"; //*');
3
+ // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css"; //*');
4
4
  // import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-fcdb9d02"]]);
5
+ const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-82b46d6d"]]);
6
6
  export {
7
7
  l as default
8
8
  };
@@ -1,14 +1,14 @@
1
- import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as h, openBlock as l, createBlock as d, unref as t, mergeProps as f, withCtx as r, renderSlot as u, createTextVNode as p, toDisplayString as y, createElementVNode as T } from "vue";
1
+ import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as c, openBlock as l, createBlock as d, unref as t, mergeProps as f, withCtx as n, renderSlot as m, createTextVNode as p, toDisplayString as y, createElementVNode as T } from "vue";
2
2
  import g from "./TextWithTitleContent.vue.js";
3
- import { Tooltip as x } from "floating-vue";
3
+ import { Tooltip as w } from "floating-vue";
4
4
  import { TooltipTestIdModifiers as i } from "../../../testids/index.js";
5
- import v from "../../typography/v4/Typography.vue.js";
6
- import { tooltipCommon as b } from "../common/Tooltip.common.js";
7
- import { useTestIdAttrs as w } from "../../../utils/testIds.js";
8
- const I = {
5
+ import x from "../../typography/v4/Typography.vue.js";
6
+ import { tooltipCommon as v } from "../common/Tooltip.common.js";
7
+ import { useTestIdAttrs as b } from "../../../utils/testIds.js";
8
+ const B = {
9
9
  ref: "container",
10
10
  class: "container"
11
- }, D = /* @__PURE__ */ h({
11
+ }, D = /* @__PURE__ */ c({
12
12
  __name: "TooltipV4",
13
13
  props: {
14
14
  text: { default: null },
@@ -21,12 +21,14 @@ const I = {
21
21
  disabled: { type: Boolean, default: !1 },
22
22
  testId: { default: "" },
23
23
  distance: { default: "10" },
24
- container: { default: "body" }
24
+ container: { default: "body" },
25
+ shown: { type: Boolean, default: null },
26
+ autoHide: { type: Boolean, default: !0 }
25
27
  },
26
28
  emits: ["show"],
27
- setup(e, { emit: c }) {
28
- const n = e, { textForDisplay: o } = b(n), s = w(n.testId, i);
29
- return (a, m) => (l(), d(t(x), f({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
29
+ setup(e, { emit: h }) {
30
+ const r = e, { textForDisplay: o } = v(r), s = b(r.testId, i);
31
+ return (a, u) => (l(), d(t(w), f({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
30
32
  theme: e.theme,
31
33
  "no-auto-focus": "",
32
34
  triggers: e.triggers,
@@ -36,33 +38,34 @@ const I = {
36
38
  "popper-class": [e.theme, e.placement, "v4-tooltip"],
37
39
  class: ["v4-tooltip"],
38
40
  distance: e.distance,
39
- "auto-hide": "",
40
- onApplyShow: m[0] || (m[0] = (k) => c("show"))
41
+ "auto-hide": e.autoHide,
42
+ shown: e.shown,
43
+ onApplyShow: u[0] || (u[0] = (I) => h("show"))
41
44
  }), {
42
- popper: r(() => [
43
- u(a.$slots, "tooltip", { text: t(o) }, () => [
45
+ popper: n(() => [
46
+ m(a.$slots, "tooltip", { text: t(o) }, () => [
44
47
  e.header ? (l(), d(g, {
45
48
  key: 1,
46
49
  text: e.text,
47
50
  header: e.header
48
- }, null, 8, ["text", "header"])) : (l(), d(t(v), f({
51
+ }, null, 8, ["text", "header"])) : (l(), d(t(x), f({
49
52
  key: 0,
50
53
  variant: "body2"
51
54
  }, t(s)[t(i).TEXT]), {
52
- default: r(() => [
55
+ default: n(() => [
53
56
  p(y(t(o)), 1)
54
57
  ]),
55
58
  _: 1
56
59
  }, 16))
57
60
  ], !0)
58
61
  ]),
59
- default: r(() => [
60
- T("div", I, [
61
- u(a.$slots, "default", {}, void 0, !0)
62
+ default: n(() => [
63
+ T("div", B, [
64
+ m(a.$slots, "default", {}, void 0, !0)
62
65
  ], 512)
63
66
  ]),
64
67
  _: 3
65
- }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance"]));
68
+ }, 16, ["theme", "triggers", "delay", "placement", "disabled", "popper-class", "distance", "auto-hide", "shown"]));
66
69
  }
67
70
  });
68
71
  export {
@@ -15,6 +15,8 @@ declare const TooltipTypes: () => ({
15
15
  disabled: boolean;
16
16
  distance: string | number;
17
17
  container: string;
18
+ shown: boolean;
19
+ autoHide: boolean;
18
20
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
19
21
  header: {
20
22
  type: import("vue").PropType<string>;
@@ -60,9 +62,17 @@ declare const TooltipTypes: () => ({
60
62
  type: import("vue").PropType<string>;
61
63
  default: string;
62
64
  };
65
+ shown: {
66
+ type: import("vue").PropType<boolean>;
67
+ default: any;
68
+ };
69
+ autoHide: {
70
+ type: import("vue").PropType<boolean>;
71
+ default: boolean;
72
+ };
63
73
  }>> & {
64
74
  onShow?: () => any;
65
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container">;
75
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide">;
66
76
  $attrs: {
67
77
  [x: string]: unknown;
68
78
  };
@@ -121,6 +131,14 @@ declare const TooltipTypes: () => ({
121
131
  type: import("vue").PropType<string>;
122
132
  default: string;
123
133
  };
134
+ shown: {
135
+ type: import("vue").PropType<boolean>;
136
+ default: any;
137
+ };
138
+ autoHide: {
139
+ type: import("vue").PropType<boolean>;
140
+ default: boolean;
141
+ };
124
142
  }>> & {
125
143
  onShow?: () => any;
126
144
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -137,6 +155,8 @@ declare const TooltipTypes: () => ({
137
155
  disabled: boolean;
138
156
  distance: string | number;
139
157
  container: string;
158
+ shown: boolean;
159
+ autoHide: boolean;
140
160
  }, {}, string> & {
141
161
  beforeCreate?: (() => void) | (() => void)[];
142
162
  created?: (() => void) | (() => void)[];
@@ -202,6 +222,14 @@ declare const TooltipTypes: () => ({
202
222
  type: import("vue").PropType<string>;
203
223
  default: string;
204
224
  };
225
+ shown: {
226
+ type: import("vue").PropType<boolean>;
227
+ default: any;
228
+ };
229
+ autoHide: {
230
+ type: import("vue").PropType<boolean>;
231
+ default: boolean;
232
+ };
205
233
  }>> & {
206
234
  onShow?: () => any;
207
235
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -253,6 +281,14 @@ declare const TooltipTypes: () => ({
253
281
  type: import("vue").PropType<string>;
254
282
  default: string;
255
283
  };
284
+ shown: {
285
+ type: import("vue").PropType<boolean>;
286
+ default: any;
287
+ };
288
+ autoHide: {
289
+ type: import("vue").PropType<boolean>;
290
+ default: boolean;
291
+ };
256
292
  }>> & {
257
293
  onShow?: () => any;
258
294
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -269,6 +305,8 @@ declare const TooltipTypes: () => ({
269
305
  disabled: boolean;
270
306
  distance: string | number;
271
307
  container: string;
308
+ shown: boolean;
309
+ autoHide: boolean;
272
310
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
273
311
  $slots: {
274
312
  default?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./Typography.vue2.js";
2
2
  /* empty css */import p from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css"; //*');
4
- const t = /* @__PURE__ */ p(o, [["__scopeId", "data-v-992962bc"]]);
3
+ // import "../../../Typography.vue_vue_type_style_index_0_scoped_a14013a5_lang.css"; //*');
4
+ const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-a14013a5"]]);
5
5
  export {
6
- t as default
6
+ s as default
7
7
  };
@@ -1,6 +1,7 @@
1
- import "../../../Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css"; import { defineComponent as m, ref as y, computed as l, openBlock as o, createBlock as i, unref as e, withCtx as s, resolveDynamicComponent as d, normalizeClass as f, renderSlot as h } from "vue";
2
- import T from "../../tooltip/v4/TooltipV4.vue.js";
3
- const C = /* @__PURE__ */ m({
1
+ import "../../../Typography.vue_vue_type_style_index_0_scoped_a14013a5_lang.css"; import { defineComponent as v, ref as f, computed as d, openBlock as o, createBlock as i, unref as a, withCtx as s, resolveDynamicComponent as h, normalizeClass as b, renderSlot as p } from "vue";
2
+ import y from "../../tooltip/v4/TooltipV4.vue.js";
3
+ import { useResizeObserver as T } from "@vueuse/core";
4
+ const L = /* @__PURE__ */ v({
4
5
  __name: "Typography",
5
6
  props: {
6
7
  isTruncated: { type: Boolean },
@@ -11,7 +12,7 @@ const C = /* @__PURE__ */ m({
11
12
  variant: { default: "body1" }
12
13
  },
13
14
  setup(t) {
14
- const n = t, a = y(null), b = {
15
+ const l = t, e = f(null), n = f(!1), m = {
15
16
  title: "font-title",
16
17
  h1: "font-heading-1",
17
18
  h2: "font-heading-2",
@@ -33,8 +34,8 @@ const C = /* @__PURE__ */ m({
33
34
  chart1: "font-chart-1",
34
35
  chart2: "font-chart-2",
35
36
  overline: "font-overline"
36
- }, r = l(() => {
37
- switch (n.variant) {
37
+ }, r = d(() => {
38
+ switch (l.variant) {
38
39
  case "title":
39
40
  return "h1";
40
41
  case "h1":
@@ -43,43 +44,48 @@ const C = /* @__PURE__ */ m({
43
44
  case "h4":
44
45
  case "h5":
45
46
  case "h6":
46
- return n.variant;
47
+ return l.variant;
47
48
  default:
48
49
  return "span";
49
50
  }
50
- }), c = l(() => b[n.variant]), p = l(() => a.value ? a.value.scrollWidth > a.value.clientWidth : !1);
51
- return (u, v) => t.withTooltip && t.isTruncated ? (o(), i(e(T), {
51
+ }), u = d(() => m[l.variant]);
52
+ return T(e, () => {
53
+ if (!e.value)
54
+ return n.value = !1;
55
+ n.value = // Note: These values are rounded which can make edge cases sometimes
56
+ e.value.scrollWidth > e.value.clientWidth;
57
+ }), (c, g) => t.withTooltip && t.isTruncated ? (o(), i(a(y), {
52
58
  key: 0,
53
59
  placement: t.tooltipPlacement,
54
- disabled: !e(p),
60
+ disabled: !n.value,
55
61
  text: t.tooltipText,
56
62
  class: "typography-tooltip",
57
63
  "test-id": t.tooltipTestId
58
64
  }, {
59
65
  default: s(() => [
60
- (o(), i(d(e(r)), {
66
+ (o(), i(h(a(r)), {
61
67
  ref_key: "textElement",
62
- ref: a,
63
- class: f(["antialiased", { [e(c)]: !0, truncate: t.isTruncated }])
68
+ ref: e,
69
+ class: b(["antialiased", { [a(u)]: !0, truncate: t.isTruncated }])
64
70
  }, {
65
71
  default: s(() => [
66
- h(u.$slots, "default", {}, void 0, !0)
72
+ p(c.$slots, "default", {}, void 0, !0)
67
73
  ]),
68
74
  _: 3
69
75
  }, 8, ["class"]))
70
76
  ]),
71
77
  _: 3
72
- }, 8, ["placement", "disabled", "text", "test-id"])) : (o(), i(d(e(r)), {
78
+ }, 8, ["placement", "disabled", "text", "test-id"])) : (o(), i(h(a(r)), {
73
79
  key: 1,
74
- class: f(["antialiased", { [e(c)]: !0, truncate: t.isTruncated }])
80
+ class: b(["antialiased", { [a(u)]: !0, truncate: t.isTruncated }])
75
81
  }, {
76
82
  default: s(() => [
77
- h(u.$slots, "default", {}, void 0, !0)
83
+ p(c.$slots, "default", {}, void 0, !0)
78
84
  ]),
79
85
  _: 3
80
86
  }, 8, ["class"]));
81
87
  }
82
88
  });
83
89
  export {
84
- C as default
90
+ L as default
85
91
  };