@ironsource/shared-ui 2.0.2-rc.4 → 2.0.2-rc.5

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 (147) hide show
  1. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_28bb325a_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_cca772e9_lang.css +1 -0
  3. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e5202bb9_lang.css +1 -0
  4. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c6156fa0_lang.css +1 -0
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_17d78416_lang.css +1 -0
  6. package/SearchV4.vue_vue_type_style_index_0_scoped_215f0f29_lang.css +1 -0
  7. package/SnackbarV4.vue_vue_type_style_index_0_scoped_48311746_lang.css +1 -0
  8. package/TooltipV4.vue_vue_type_style_index_0_scoped_cde15298_lang.css +1 -0
  9. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  10. package/components/ThemeWrapper/index.d.ts +2 -2
  11. package/components/ThemeWrapper/index.js +4 -4
  12. package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
  13. package/components/appTrigger/index.d.ts +20 -20
  14. package/components/banner/Banner.vue.d.ts +3 -3
  15. package/components/banner/index.d.ts +7 -7
  16. package/components/button/v3/Button.vue.d.ts +6 -6
  17. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  18. package/components/button/v3/ScrollButton.vue.d.ts +1 -1
  19. package/components/button/v3/index.d.ts +23 -23
  20. package/components/button/v4/ButtonV4.vue.d.ts +12 -12
  21. package/components/button/v4/ButtonV4.vue.js +3 -3
  22. package/components/button/v4/ButtonV4.vue2.js +1 -1
  23. package/components/button/v4/IconButtonV4.vue.d.ts +8 -8
  24. package/components/button/v4/index.d.ts +116 -116
  25. package/components/checkbox/v3/index.d.ts +12 -12
  26. package/components/checkbox/v4/index.d.ts +12 -12
  27. package/components/chip/v3/Chip.vue.d.ts +1 -1
  28. package/components/chip/v3/index.d.ts +20 -20
  29. package/components/chip/v4/ChipV4.vue.d.ts +1 -1
  30. package/components/chip/v4/index.d.ts +20 -20
  31. package/components/dateRange/DateRange.vue.d.ts +1 -1
  32. package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
  33. package/components/dateRange/index.d.ts +20 -20
  34. package/components/dialog/v3/Dialog.vue.d.ts +2 -2
  35. package/components/dialog/v3/index.d.ts +25 -25
  36. package/components/dialog/v4/DialogV4.vue.d.ts +2 -2
  37. package/components/dialog/v4/index.d.ts +25 -25
  38. package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
  39. package/components/dropdown/v3/Option.vue.d.ts +1 -1
  40. package/components/dropdown/v3/index.d.ts +111 -111
  41. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +7 -7
  42. package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
  43. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +22 -25
  44. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
  45. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  46. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
  47. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +13 -13
  48. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  49. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +20 -22
  50. package/components/dropdown/v4/DropdownV4.vue.d.ts +11 -11
  51. package/components/dropdown/v4/OptionV4.vue.d.ts +6 -6
  52. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  53. package/components/dropdown/v4/OptionV4.vue2.js +17 -17
  54. package/components/dropdown/v4/index.d.ts +331 -331
  55. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  56. package/components/emptyState/v3/index.d.ts +7 -7
  57. package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
  58. package/components/filterDropdown/index.d.ts +9 -9
  59. package/components/icon/v4/IconV4.vue.d.ts +3 -3
  60. package/components/icon/v4/index.d.ts +7 -7
  61. package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
  62. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  63. package/components/includeExclude/index.d.ts +101 -101
  64. package/components/input/v3/Input.vue.d.ts +2 -2
  65. package/components/input/v3/index.d.ts +69 -69
  66. package/components/input/v4/TextField.vue.d.ts +2 -2
  67. package/components/input/v4/index.d.ts +53 -53
  68. package/components/layout/FoldableSection.vue.d.ts +1 -1
  69. package/components/layout/index.d.ts +21 -136
  70. package/components/layout/index.js +2 -4
  71. package/components/menu/Menu.vue.d.ts +1 -1
  72. package/components/menu/index.d.ts +20 -20
  73. package/components/multibar/MultiBar.vue.d.ts +1 -1
  74. package/components/multibar/index.d.ts +12 -12
  75. package/components/popover/Popover.vue.d.ts +5 -5
  76. package/components/popover/index.d.ts +58 -58
  77. package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
  78. package/components/radioButton/v3/RadioGroup.vue.d.ts +2 -2
  79. package/components/radioButton/v3/index.d.ts +42 -42
  80. package/components/radioButton/v4/RadioButtonV4.vue.d.ts +1 -1
  81. package/components/radioButton/v4/RadioGroupV4.vue.d.ts +2 -2
  82. package/components/radioButton/v4/index.d.ts +42 -42
  83. package/components/search/v3/Search.vue.d.ts +2 -2
  84. package/components/search/v3/index.d.ts +16 -16
  85. package/components/search/v4/SearchV4.vue.d.ts +1 -4
  86. package/components/search/v4/SearchV4.vue.js +5 -5
  87. package/components/search/v4/SearchV4.vue2.js +14 -15
  88. package/components/search/v4/index.d.ts +9 -12
  89. package/components/shared/FieldHelpText.vue.d.ts +1 -1
  90. package/components/shared/FieldLabel.vue.d.ts +1 -1
  91. package/components/snackbar/common/snackbar.common.d.ts +1 -1
  92. package/components/snackbar/v3/Snackbar.vue.d.ts +6 -6
  93. package/components/snackbar/v4/SnackbarV4.vue.d.ts +43 -43
  94. package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
  95. package/components/snackbar/v4/SnackbarV4.vue2.js +6 -7
  96. package/components/table/common/Table.common.js +31 -31
  97. package/components/table/v3/index.d.ts +16 -16
  98. package/components/table/v4/index.d.ts +16 -16
  99. package/components/tabs/v3/Tabs.vue.d.ts +1 -1
  100. package/components/tabs/v3/index.d.ts +20 -20
  101. package/components/tabs/v4/TabsV4.vue.d.ts +1 -1
  102. package/components/tabs/v4/index.d.ts +20 -20
  103. package/components/textArea/TextArea.vue.d.ts +1 -1
  104. package/components/textArea/index.d.ts +9 -9
  105. package/components/toggle/v3/Toggle.vue.d.ts +1 -1
  106. package/components/toggle/v3/index.d.ts +9 -9
  107. package/components/toggle/v4/ToggleV4.vue.d.ts +7 -7
  108. package/components/toggle/v4/index.d.ts +34 -34
  109. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  110. package/components/tooltip/v3/index.d.ts +34 -34
  111. package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
  112. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  113. package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
  114. package/components/tooltip/v4/index.d.ts +34 -34
  115. package/components/typography/Heading.vue.d.ts +1 -1
  116. package/components/typography/index.d.ts +20 -20
  117. package/composables/useStorage.js +9 -10
  118. package/index.d.ts +1650 -1848
  119. package/index.js +112 -118
  120. package/package.json +2 -10
  121. package/testids/index.d.ts +0 -8
  122. package/testids/index.js +11 -13
  123. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_a64a46d0_lang.css +0 -1
  124. package/AppHeader.vue_vue_type_style_index_0_scoped_5afbd3dd_lang.css +0 -1
  125. package/ButtonV4.vue_vue_type_style_index_0_scoped_38c0ed72_lang.css +0 -1
  126. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_c38e97df_lang.css +0 -1
  127. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_06dcfe6d_lang.css +0 -1
  128. package/FormRow.vue_vue_type_style_index_0_scoped_54a11bf8_lang.css +0 -1
  129. package/InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css +0 -1
  130. package/OptionV4.vue_vue_type_style_index_0_scoped_d2743070_lang.css +0 -1
  131. package/SearchV4.vue_vue_type_style_index_0_scoped_1330ea8b_lang.css +0 -1
  132. package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
  133. package/TooltipV4.vue_vue_type_style_index_0_scoped_58a19def_lang.css +0 -1
  134. package/components/appHeader/AppHeader.vue.d.ts +0 -49
  135. package/components/appHeader/AppHeader.vue.js +0 -7
  136. package/components/appHeader/AppHeader.vue2.js +0 -58
  137. package/components/appHeader/index.d.ts +0 -61
  138. package/components/appHeader/index.js +0 -6
  139. package/components/inlineCopy/InlineCopy.vue.d.ts +0 -39
  140. package/components/inlineCopy/InlineCopy.vue.js +0 -7
  141. package/components/inlineCopy/InlineCopy.vue2.js +0 -60
  142. package/components/inlineCopy/index.d.ts +0 -39
  143. package/components/inlineCopy/index.js +0 -6
  144. package/components/layout/FormRow.vue.d.ts +0 -46
  145. package/components/layout/FormRow.vue.js +0 -7
  146. package/components/layout/FormRow.vue2.js +0 -43
  147. package/mocks/optionsWithIcons.d.ts +0 -5
@@ -1,12 +1,12 @@
1
1
  declare const SearchTypes: () => import("vue").DefineComponent<{
2
- disabled: {
3
- type: import("vue").PropType<boolean>;
4
- default: boolean;
5
- };
6
2
  testId: {
7
3
  type: import("vue").PropType<string>;
8
4
  default: string;
9
5
  };
6
+ disabled: {
7
+ type: import("vue").PropType<boolean>;
8
+ default: boolean;
9
+ };
10
10
  modelValue: {
11
11
  type: import("vue").PropType<string>;
12
12
  required: true;
@@ -14,7 +14,6 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
14
14
  placeholder: {
15
15
  type: import("vue").PropType<string>;
16
16
  required: true;
17
- default: string;
18
17
  };
19
18
  autoFocus: {
20
19
  type: import("vue").PropType<boolean>;
@@ -25,14 +24,14 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
25
24
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
25
  "update:modelValue": (value: string | number) => void;
27
26
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
- disabled: {
29
- type: import("vue").PropType<boolean>;
30
- default: boolean;
31
- };
32
27
  testId: {
33
28
  type: import("vue").PropType<string>;
34
29
  default: string;
35
30
  };
31
+ disabled: {
32
+ type: import("vue").PropType<boolean>;
33
+ default: boolean;
34
+ };
36
35
  modelValue: {
37
36
  type: import("vue").PropType<string>;
38
37
  required: true;
@@ -40,7 +39,6 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
40
39
  placeholder: {
41
40
  type: import("vue").PropType<string>;
42
41
  required: true;
43
- default: string;
44
42
  };
45
43
  autoFocus: {
46
44
  type: import("vue").PropType<boolean>;
@@ -49,9 +47,8 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
49
47
  }>> & {
50
48
  "onUpdate:modelValue"?: (value: string | number) => any;
51
49
  }, {
52
- disabled: boolean;
53
50
  testId: string;
54
- placeholder: string;
51
+ disabled: boolean;
55
52
  autoFocus: boolean;
56
53
  }>[];
57
54
  export { default as Search } from './SearchV4.vue';
@@ -21,8 +21,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
21
21
  showIcon: boolean;
22
22
  }>>>, {
23
23
  text: string;
24
- variant: FeedbackVariant;
25
24
  testId: string;
25
+ variant: FeedbackVariant;
26
26
  showIcon: boolean;
27
27
  }>;
28
28
  export default _default;
@@ -29,9 +29,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
29
29
  hoverHelpTextPlacement: string;
30
30
  }>>>, {
31
31
  label: string;
32
+ testId: string;
32
33
  disabled: boolean;
33
34
  mandatory: boolean;
34
- testId: string;
35
35
  hoverHelpText: string;
36
36
  hoverHelpTextPlacement: TooltipPositions;
37
37
  }>;
@@ -1,7 +1,7 @@
1
1
  import type { CSSProperties } from 'vue';
2
2
  export declare const snackbarCommon: (props: any) => {
3
3
  visible: import("vue").Ref<boolean>;
4
- horizontalClass: import("vue").ComputedRef<"left" | "right">;
4
+ horizontalClass: import("vue").ComputedRef<"right" | "left">;
5
5
  positionStyle: import("vue").ComputedRef<CSSProperties>;
6
6
  clearTimer: () => void;
7
7
  startTimer: () => void;
@@ -11,8 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  offset: number;
12
12
  onClick: () => void;
13
13
  onClose: () => void;
14
- type?: "info" | "success" | "error";
15
- position?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
14
+ type?: "error" | "info" | "success";
15
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
16
16
  showClose?: boolean;
17
17
  title?: string;
18
18
  zIndex?: number;
@@ -37,8 +37,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
37
  offset: number;
38
38
  onClick: () => void;
39
39
  onClose: () => void;
40
- type?: "info" | "success" | "error";
41
- position?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
40
+ type?: "error" | "info" | "success";
41
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
42
42
  showClose?: boolean;
43
43
  title?: string;
44
44
  zIndex?: number;
@@ -52,9 +52,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
52
52
  }>>> & {
53
53
  onDestroy?: (...args: any[]) => any;
54
54
  }, {
55
- type: "info" | "success" | "error";
55
+ type: "error" | "info" | "success";
56
56
  title: string;
57
- position: "top-right" | "top-left" | "bottom-right" | "bottom-left";
57
+ position: "bottom-right" | "bottom-left" | "top-right" | "top-left";
58
58
  zIndex: number;
59
59
  duration: number;
60
60
  showClose: boolean;
@@ -10,50 +10,50 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  offset: number;
11
11
  onClick: () => void;
12
12
  onClose: () => void;
13
- type?: "info" | "success" | "error";
14
- position?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
13
+ type?: "error" | "info" | "success";
14
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
15
15
  showClose?: boolean;
16
16
  title?: string;
17
17
  zIndex?: number;
18
18
  actionButtons: (Partial<{
19
- disabled: boolean;
20
19
  size: "small" | "medium" | "large" | "extraLarge";
21
- color: "default" | "primary" | "danger" | "info" | "success" | "warning";
20
+ testId: string;
22
21
  variant: "text" | "contained" | "outlined";
23
- content: string;
24
22
  loading: boolean;
25
- testId: string;
23
+ content: string;
24
+ disabled: boolean;
25
+ color: "default" | "info" | "success" | "warning" | "primary" | "danger";
26
26
  startIconName: string;
27
27
  endIconName: string;
28
- startIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
29
- endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
28
+ startIconType: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
29
+ endIconType: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
30
30
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
31
- disabled: {
32
- type: import("vue").PropType<boolean>;
33
- default: boolean;
34
- };
35
31
  size: {
36
32
  type: import("vue").PropType<"small" | "medium" | "large" | "extraLarge">;
37
33
  default: string;
38
34
  };
39
- color: {
40
- type: import("vue").PropType<"default" | "primary" | "danger" | "info" | "success" | "warning">;
35
+ testId: {
36
+ type: import("vue").PropType<string>;
41
37
  default: string;
42
38
  };
43
39
  variant: {
44
40
  type: import("vue").PropType<"text" | "contained" | "outlined">;
45
41
  default: string;
46
42
  };
43
+ loading: {
44
+ type: import("vue").PropType<boolean>;
45
+ default: boolean;
46
+ };
47
47
  content: {
48
48
  type: import("vue").PropType<string>;
49
49
  default: string;
50
50
  };
51
- loading: {
51
+ disabled: {
52
52
  type: import("vue").PropType<boolean>;
53
53
  default: boolean;
54
54
  };
55
- testId: {
56
- type: import("vue").PropType<string>;
55
+ color: {
56
+ type: import("vue").PropType<"default" | "info" | "success" | "warning" | "primary" | "danger">;
57
57
  default: string;
58
58
  };
59
59
  startIconName: {
@@ -65,14 +65,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
65
65
  default: any;
66
66
  };
67
67
  startIconType: {
68
- type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
68
+ type: import("vue").PropType<"fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit">;
69
69
  default: string;
70
70
  };
71
71
  endIconType: {
72
- type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
72
+ type: import("vue").PropType<"fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit">;
73
73
  default: string;
74
74
  };
75
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "size" | "color" | "variant" | "content" | "loading" | "testId" | "startIconName" | "endIconName" | "startIconType" | "endIconType">)[];
75
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "testId" | "variant" | "loading" | "content" | "disabled" | "color" | "startIconName" | "endIconName" | "startIconType" | "endIconType">)[];
76
76
  testId: string;
77
77
  }>, {
78
78
  type: string;
@@ -95,50 +95,50 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
95
95
  offset: number;
96
96
  onClick: () => void;
97
97
  onClose: () => void;
98
- type?: "info" | "success" | "error";
99
- position?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
98
+ type?: "error" | "info" | "success";
99
+ position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
100
100
  showClose?: boolean;
101
101
  title?: string;
102
102
  zIndex?: number;
103
103
  actionButtons: (Partial<{
104
- disabled: boolean;
105
104
  size: "small" | "medium" | "large" | "extraLarge";
106
- color: "default" | "primary" | "danger" | "info" | "success" | "warning";
105
+ testId: string;
107
106
  variant: "text" | "contained" | "outlined";
108
- content: string;
109
107
  loading: boolean;
110
- testId: string;
108
+ content: string;
109
+ disabled: boolean;
110
+ color: "default" | "info" | "success" | "warning" | "primary" | "danger";
111
111
  startIconName: string;
112
112
  endIconName: string;
113
- startIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
114
- endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
113
+ startIconType: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
114
+ endIconType: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
115
115
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
116
- disabled: {
117
- type: import("vue").PropType<boolean>;
118
- default: boolean;
119
- };
120
116
  size: {
121
117
  type: import("vue").PropType<"small" | "medium" | "large" | "extraLarge">;
122
118
  default: string;
123
119
  };
124
- color: {
125
- type: import("vue").PropType<"default" | "primary" | "danger" | "info" | "success" | "warning">;
120
+ testId: {
121
+ type: import("vue").PropType<string>;
126
122
  default: string;
127
123
  };
128
124
  variant: {
129
125
  type: import("vue").PropType<"text" | "contained" | "outlined">;
130
126
  default: string;
131
127
  };
128
+ loading: {
129
+ type: import("vue").PropType<boolean>;
130
+ default: boolean;
131
+ };
132
132
  content: {
133
133
  type: import("vue").PropType<string>;
134
134
  default: string;
135
135
  };
136
- loading: {
136
+ disabled: {
137
137
  type: import("vue").PropType<boolean>;
138
138
  default: boolean;
139
139
  };
140
- testId: {
141
- type: import("vue").PropType<string>;
140
+ color: {
141
+ type: import("vue").PropType<"default" | "info" | "success" | "warning" | "primary" | "danger">;
142
142
  default: string;
143
143
  };
144
144
  startIconName: {
@@ -150,14 +150,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
150
150
  default: any;
151
151
  };
152
152
  startIconType: {
153
- type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
153
+ type: import("vue").PropType<"fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit">;
154
154
  default: string;
155
155
  };
156
156
  endIconType: {
157
- type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
157
+ type: import("vue").PropType<"fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit">;
158
158
  default: string;
159
159
  };
160
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "size" | "color" | "variant" | "content" | "loading" | "testId" | "startIconName" | "endIconName" | "startIconType" | "endIconType">)[];
160
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "testId" | "variant" | "loading" | "content" | "disabled" | "color" | "startIconName" | "endIconName" | "startIconType" | "endIconType">)[];
161
161
  testId: string;
162
162
  }>, {
163
163
  type: string;
@@ -170,11 +170,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
170
170
  }>>> & {
171
171
  onDestroy?: (...args: any[]) => any;
172
172
  }, {
173
- type: "info" | "success" | "error";
173
+ type: "error" | "info" | "success";
174
174
  title: string;
175
- position: "top-right" | "top-left" | "bottom-right" | "bottom-left";
176
- zIndex: number;
177
175
  testId: string;
176
+ position: "bottom-right" | "bottom-left" | "top-right" | "top-left";
177
+ zIndex: number;
178
178
  duration: number;
179
179
  showClose: boolean;
180
180
  }>, {
@@ -1,7 +1,7 @@
1
- import c from "./SnackbarV4.vue2.js";
2
- /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(c, [["__scopeId", "data-v-49c5ccea"]]);
1
+ import o from "./SnackbarV4.vue2.js";
2
+ /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_48311746_lang.css"; //*');
4
+ const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-48311746"]]);
5
5
  export {
6
- a as default
6
+ s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css"; import { defineComponent as $, computed as p, openBlock as n, createBlock as c, Transition as A, withCtx as f, withDirectives as g, createElementVNode as a, mergeProps as l, unref as e, createVNode as z, createTextVNode as I, toDisplayString as T, createCommentVNode as d, renderSlot as h, vShow as B, createElementBlock as N, Fragment as O, renderList as V, withModifiers as x } from "vue";
1
+ import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_48311746_lang.css"; import { defineComponent as $, computed as p, openBlock as n, createBlock as c, Transition as A, withCtx as f, withDirectives as g, createElementVNode as a, mergeProps as l, unref as e, createVNode as O, createTextVNode as I, toDisplayString as T, createCommentVNode as d, renderSlot as h, vShow as B, createElementBlock as N, Fragment as V, renderList as x, withModifiers as z } from "vue";
2
2
  import U from "../../icon/v4/IconV4.vue.js";
3
3
  import D from "../../button/v4/ButtonV4.vue.js";
4
4
  import H from "../../button/v4/IconButtonV4.vue.js";
@@ -78,10 +78,10 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
78
78
  class: "title"
79
79
  }, e(r)[e(i).TITLE]), {
80
80
  default: f(() => [
81
- z(e(U), l({
81
+ O(e(U), l({
82
82
  name: e(y).iconName,
83
83
  type: "fill",
84
- size: "20px",
84
+ size: "24px",
85
85
  class: [e(y).class, "icon-container"]
86
86
  }, e(r)[e(i).ICON]), null, 16, ["name", "class"]),
87
87
  I(" " + T(t.title), 1)
@@ -106,10 +106,9 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
106
106
  a("div", J, [
107
107
  h(m.$slots, "actions", {}, () => [
108
108
  t.actionButtons ? (n(), N("div", K, [
109
- (n(!0), N(O, null, V(t.actionButtons, (s, v) => (n(), c(e(D), l({
109
+ (n(!0), N(V, null, x(t.actionButtons, (s, v) => (n(), c(e(D), l({
110
110
  key: v,
111
- "data-testid": t.testId ? `${t.testId}-${e(i).ACTION_BUTTON}-${v}` : "",
112
- size: "small"
111
+ "data-testid": t.testId ? `${t.testId}-${e(i).ACTION_BUTTON}-${v}` : ""
113
112
  }, { ...s }), null, 16, ["data-testid"]))), 128))
114
113
  ])) : d("", !0)
115
114
  ], !0)
@@ -121,7 +120,7 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
121
120
  "icon-name": "x",
122
121
  size: "small"
123
122
  }, e(r)[e(i).CLOSE], {
124
- onClick: x(e(E), ["stop"])
123
+ onClick: z(e(E), ["stop"])
125
124
  }), null, 16, ["onClick"])) : d("", !0)
126
125
  ])
127
126
  ])
@@ -1,9 +1,9 @@
1
- import { ref as a, provide as z, computed as i, useSlots as G, onMounted as K, nextTick as N } from "vue";
1
+ import { useSlots as z, ref as a, provide as G, computed as s, onMounted as K, nextTick as N } from "vue";
2
2
  import { useVirtualList as V, useInfiniteScroll as j } from "@vueuse/core";
3
3
  import { TableContext as q } from "./TableContext.js";
4
4
  const F = 46, J = 46, Z = (o, u) => {
5
- const c = a([]);
6
- z(q, {
5
+ const v = z(), c = a([]);
6
+ G(q, {
7
7
  onClose({ rowIndex: t, cellIndex: e, value: n } = {}) {
8
8
  n && (c.value = [...c.value, t], u("saveRow", {
9
9
  rowIndex: t,
@@ -11,37 +11,37 @@ const F = 46, J = 46, Z = (o, u) => {
11
11
  value: n,
12
12
  confirm: () => {
13
13
  c.value = c.value.filter(
14
- (s) => s !== t
14
+ (i) => i !== t
15
15
  );
16
16
  }
17
17
  }));
18
18
  }
19
19
  });
20
- const m = i(() => !!o.selection), T = i(() => {
21
- const t = (m.value ? `${J}px ` : "") + (C.value ? `${F}px ` : "");
20
+ const x = s(() => !!o.selection), T = s(() => {
21
+ const t = (x.value ? `${J}px ` : "") + (g.value ? `${F}px ` : "");
22
22
  return o.columns.reduce((e, n) => {
23
- const s = n.width ? `${n.width}px` : `${n.colSpan || 1}fr`;
24
- return `${e} ${s}`;
23
+ const i = n.width ? `${n.width}px` : `${n.colSpan || 1}fr`;
24
+ return `${e} ${i}`;
25
25
  }, t);
26
- }), R = a(null), y = i(() => Array(o.loadingRowCount).fill(
26
+ }), g = s(() => !!v.expanded), R = a(null), y = s(() => Array(o.loadingRowCount).fill(
27
27
  Array(o.columns.length).fill("")
28
- )), $ = i(() => o.isLoading ? [...o.rows, ...y.value] : o.rows), { list: v, containerProps: l, wrapperProps: b } = V($, {
29
- itemHeight: (t) => h[t] ?? o.rowHeight
30
- }), H = a(null), g = a(0), x = G(), k = i(() => !!x.search), B = (t) => {
31
- l.onScroll(), g.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, u("onScroll", t.target.scrollTop);
28
+ )), H = s(() => o.isLoading ? [...o.rows, ...y.value] : o.rows), { list: C, containerProps: l, wrapperProps: $ } = V(H, {
29
+ itemHeight: g.value ? (t) => w[t] ?? o.rowHeight : o.rowHeight
30
+ }), b = a(null), h = a(0), k = s(() => !!v.search), B = (t) => {
31
+ l.onScroll(), h.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, u("onScroll", t.target.scrollTop);
32
32
  };
33
33
  K(() => {
34
- g.value = l.ref.value?.getBoundingClientRect().width, o.defaultScrollPosition && setTimeout(() => {
34
+ h.value = l.ref.value?.getBoundingClientRect().width, o.defaultScrollPosition && setTimeout(() => {
35
35
  l.ref.value?.scrollTo({
36
36
  top: o.defaultScrollPosition,
37
37
  behavior: "smooth"
38
38
  });
39
39
  }, 300);
40
40
  });
41
- const I = i(() => {
42
- const [t] = v.value;
41
+ const I = s(() => {
42
+ const [t] = C.value;
43
43
  return t && t.index > 0;
44
- }), O = i(() => l.style), P = i(() => o.columns.reduce((t, e) => (e.isSticky && (t[e.id] = A(e)), t), {}));
44
+ }), O = s(() => l.style), P = s(() => o.columns.reduce((t, e) => (e.isSticky && (t[e.id] = A(e)), t), {}));
45
45
  j(
46
46
  l.ref,
47
47
  () => {
@@ -61,37 +61,37 @@ const F = 46, J = 46, Z = (o, u) => {
61
61
  const e = o.sort.sortBy === t.id;
62
62
  if (!(t.isSortable || t.isSortable === void 0))
63
63
  return;
64
- let s = o.sort.sortOrder, f = o.sort.sortBy;
65
- e ? s = o.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, u("update:sort", { sortBy: f, sortOrder: s });
64
+ let i = o.sort.sortOrder, f = o.sort.sortBy;
65
+ e ? i = o.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, u("update:sort", { sortBy: f, sortOrder: i });
66
66
  }
67
67
  function A(t) {
68
68
  const { isSticky: e, width: n } = t;
69
69
  if (!e || !n)
70
70
  return null;
71
- const s = o.columns.findIndex((r) => r.id === t.id), f = o.columns.reduce((r, S, w) => w < s ? r + S.width : r, 0), X = o.columns.reduce((r, S, w) => w > s ? r + S.width : r, 0);
71
+ const i = o.columns.findIndex((r) => r.id === t.id), f = o.columns.reduce((r, S, m) => m < i ? r + S.width : r, 0), X = o.columns.reduce((r, S, m) => m > i ? r + S.width : r, 0);
72
72
  return {
73
73
  ...t.isStickyRight ? { right: `${X}px` } : { left: `${f}px` },
74
74
  zIndex: 1
75
75
  };
76
76
  }
77
- const d = a([]), h = {}, _ = (t) => d.value.includes(t), D = async (t, e) => {
77
+ const d = a([]), w = {}, _ = (t) => d.value.includes(t), D = async (t, e) => {
78
78
  const n = d.value.indexOf(t);
79
79
  if (n === -1) {
80
80
  d.value.push(t);
81
- const s = e.target.closest("tr");
82
- await N(), s && (h[t] = s.offsetHeight);
81
+ const i = e.target.closest("tr");
82
+ await N(), i && (w[t] = i.offsetHeight);
83
83
  } else
84
- d.value.splice(n, 1), delete h[t];
85
- }, C = i(() => !!x.expanded), M = i(() => `${o.rowHeight}px`), W = i(
84
+ d.value.splice(n, 1), delete w[t];
85
+ }, M = s(() => `${o.rowHeight}px`), W = s(
86
86
  () => `1 / span ${o.columns.length + 1}`
87
87
  );
88
88
  return {
89
- list: v,
89
+ list: C,
90
90
  containerProps: l,
91
- wrapperProps: b,
91
+ wrapperProps: $,
92
92
  activeRow: R,
93
93
  gridColumnTemplate: T,
94
- floatingActionRef: H,
94
+ floatingActionRef: b,
95
95
  scrollToTop: E,
96
96
  toggleSortOrder: L,
97
97
  columnsStickyPositions: P,
@@ -100,9 +100,9 @@ const F = 46, J = 46, Z = (o, u) => {
100
100
  containerStyle: O,
101
101
  onScroll: B,
102
102
  savingRows: c,
103
- floatingActionPosition: g,
104
- hasExpandSlot: C,
105
- hasCheckboxes: m,
103
+ floatingActionPosition: h,
104
+ hasExpandSlot: g,
105
+ hasCheckboxes: x,
106
106
  toggleExpandRow: D,
107
107
  isRowExpanded: _,
108
108
  cssRowHeight: M,
@@ -24,14 +24,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
24
24
  type: import("vue").PropType<string>;
25
25
  required: true;
26
26
  };
27
- columns: {
28
- type: import("vue").PropType<import("../common/Table.types").Column[]>;
29
- required: true;
30
- };
31
27
  testId: {
32
28
  type: import("vue").PropType<string>;
33
29
  default: string;
34
30
  };
31
+ columns: {
32
+ type: import("vue").PropType<import("../common/Table.types").Column[]>;
33
+ required: true;
34
+ };
35
35
  isLoading: {
36
36
  type: import("vue").PropType<boolean>;
37
37
  default: boolean;
@@ -118,14 +118,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
118
118
  type: import("vue").PropType<string>;
119
119
  required: true;
120
120
  };
121
- columns: {
122
- type: import("vue").PropType<import("../common/Table.types").Column[]>;
123
- required: true;
124
- };
125
121
  testId: {
126
122
  type: import("vue").PropType<string>;
127
123
  default: string;
128
124
  };
125
+ columns: {
126
+ type: import("vue").PropType<import("../common/Table.types").Column[]>;
127
+ required: true;
128
+ };
129
129
  isLoading: {
130
130
  type: import("vue").PropType<boolean>;
131
131
  default: boolean;
@@ -236,14 +236,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
236
236
  type: import("vue").PropType<string>;
237
237
  required: true;
238
238
  };
239
- columns: {
240
- type: import("vue").PropType<import("../common/Table.types").Column[]>;
241
- required: true;
242
- };
243
239
  testId: {
244
240
  type: import("vue").PropType<string>;
245
241
  default: string;
246
242
  };
243
+ columns: {
244
+ type: import("vue").PropType<import("../common/Table.types").Column[]>;
245
+ required: true;
246
+ };
247
247
  isLoading: {
248
248
  type: import("vue").PropType<boolean>;
249
249
  default: boolean;
@@ -315,14 +315,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
315
315
  type: import("vue").PropType<string>;
316
316
  required: true;
317
317
  };
318
- columns: {
319
- type: import("vue").PropType<import("../common/Table.types").Column[]>;
320
- required: true;
321
- };
322
318
  testId: {
323
319
  type: import("vue").PropType<string>;
324
320
  default: string;
325
321
  };
322
+ columns: {
323
+ type: import("vue").PropType<import("../common/Table.types").Column[]>;
324
+ required: true;
325
+ };
326
326
  isLoading: {
327
327
  type: import("vue").PropType<boolean>;
328
328
  default: boolean;