@ironsource/shared-ui 2.1.3-rc.1 → 2.1.3-rc.11

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 (160) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_203b6bd1_lang.css +1 -0
  2. package/AppHeader.vue_vue_type_style_index_0_scoped_f9d4e49d_lang.css +1 -0
  3. package/Autocomplete.vue_vue_type_style_index_0_scoped_e36c9442_lang.css +1 -0
  4. package/CardPanel.vue_vue_type_style_index_0_scoped_7d0acb11_lang.css +1 -0
  5. package/CheckboxV4.vue_vue_type_style_index_0_scoped_d25514d1_lang.css +1 -0
  6. package/DataGrid.vue_vue_type_style_index_0_scoped_9b108af3_lang.css +1 -0
  7. package/DataGridMenu.vue_vue_type_style_index_0_scoped_13f1ce76_lang.css +1 -0
  8. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +1 -0
  9. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +1 -0
  10. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +1 -0
  11. package/FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_lang.css +1 -0
  12. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +1 -0
  13. package/FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css +1 -0
  14. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +1 -0
  15. package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +1 -0
  16. package/InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css +1 -0
  17. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css +1 -0
  18. package/TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css +1 -0
  19. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +1 -0
  20. package/TextField.vue_vue_type_style_index_0_scoped_dca4c102_lang.css +1 -0
  21. package/components/alert/Alert.vue.d.ts +68 -0
  22. package/components/alert/Alert.vue.js +7 -0
  23. package/components/alert/Alert.vue2.js +86 -0
  24. package/components/alert/index.d.ts +82 -0
  25. package/components/alert/index.js +6 -0
  26. package/components/appHeader/AppHeader.vue.js +2 -2
  27. package/components/appHeader/AppHeader.vue2.js +44 -35
  28. package/components/autocomplete/Autocomplete.vue.d.ts +117 -0
  29. package/components/autocomplete/Autocomplete.vue.js +7 -0
  30. package/components/autocomplete/Autocomplete.vue2.js +84 -0
  31. package/components/autocomplete/index.d.ts +366 -0
  32. package/components/autocomplete/index.js +6 -0
  33. package/components/button/v3/Button.vue.d.ts +6 -6
  34. package/components/button/v3/ButtonBase.vue.d.ts +1 -1
  35. package/components/button/v3/IconButton.vue.d.ts +1 -1
  36. package/components/button/v3/index.d.ts +34 -34
  37. package/components/button/v4/ButtonV4.vue.d.ts +1 -1
  38. package/components/button/v4/IconButtonV4.vue.d.ts +1 -1
  39. package/components/button/v4/index.d.ts +40 -40
  40. package/components/checkbox/v3/index.d.ts +12 -12
  41. package/components/checkbox/v4/CheckboxV4.vue.js +4 -4
  42. package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
  43. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +11 -12
  44. package/components/checkbox/v4/icons/UncheckedState.vue.js +12 -11
  45. package/components/checkbox/v4/index.d.ts +12 -12
  46. package/components/chip/v3/Chip.vue.d.ts +1 -1
  47. package/components/chip/v3/index.d.ts +20 -20
  48. package/components/chip/v4/ChipV4.vue.d.ts +1 -1
  49. package/components/chip/v4/index.d.ts +20 -20
  50. package/components/dialog/v4/index.d.ts +17 -17
  51. package/components/dropdown/common/Dropdown.common.js +93 -92
  52. package/components/dropdown/v3/Dropdown.vue.d.ts +11 -11
  53. package/components/dropdown/v3/index.d.ts +159 -159
  54. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +4 -4
  55. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
  56. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +7 -7
  57. package/components/dropdown/v4/DropdownV4.vue.d.ts +13 -13
  58. package/components/dropdown/v4/index.d.ts +573 -573
  59. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  60. package/components/emptyState/v3/index.d.ts +7 -7
  61. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +15 -0
  62. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  63. package/components/emptyState/v4/EmptyStateV4.vue2.js +41 -27
  64. package/components/emptyState/v4/index.d.ts +58 -1
  65. package/components/filterDropdown/index.d.ts +8 -8
  66. package/components/forms/CardPanel.vue.d.ts +20 -0
  67. package/components/forms/CardPanel.vue.js +2 -2
  68. package/components/forms/CardPanel.vue2.js +26 -14
  69. package/components/forms/FormCard.vue.d.ts +5 -0
  70. package/components/forms/FormCard.vue.js +3 -3
  71. package/components/forms/FormCard.vue2.js +62 -36
  72. package/components/forms/FormRow.vue.d.ts +10 -0
  73. package/components/forms/FormRow.vue.js +3 -3
  74. package/components/forms/FormRow.vue2.js +22 -29
  75. package/components/forms/index.d.ts +136 -3
  76. package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
  77. package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +2 -2
  78. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +3 -3
  79. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +3 -3
  80. package/components/includeExclude/index.d.ts +168 -168
  81. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  82. package/components/inlineCopy/InlineCopy.vue2.js +2 -2
  83. package/components/input/v3/Input.vue.d.ts +3 -3
  84. package/components/input/v3/index.d.ts +82 -82
  85. package/components/input/v4/TextField.vue.d.ts +7 -7
  86. package/components/input/v4/TextField.vue.js +3 -3
  87. package/components/input/v4/TextField.vue2.js +83 -90
  88. package/components/input/v4/index.d.ts +122 -122
  89. package/components/radioButton/v4/RadioButtonV4.vue.js +4 -4
  90. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
  91. package/components/search/v3/Search.vue.d.ts +1 -1
  92. package/components/search/v3/index.d.ts +9 -9
  93. package/components/shared/FieldLabel.vue.d.ts +5 -0
  94. package/components/shared/FieldLabel.vue.js +3 -3
  95. package/components/shared/FieldLabel.vue2.js +63 -46
  96. package/components/shared/FieldMaxLength.vue.d.ts +34 -0
  97. package/components/shared/FieldMaxLength.vue.js +7 -0
  98. package/components/shared/FieldMaxLength.vue2.js +24 -0
  99. package/components/skeleton/v4/index.d.ts +2 -2
  100. package/components/snackbar/v4/SnackbarV4.vue.d.ts +12 -12
  101. package/components/table/common/Table.common.d.ts +1 -0
  102. package/components/table/common/Table.common.js +64 -60
  103. package/components/table/common/Table.types.d.ts +3 -0
  104. package/components/table/common/TableContext.d.ts +1 -0
  105. package/components/table/v4/DataGrid.vue.d.ts +2 -2
  106. package/components/table/v4/DataGrid.vue.js +3 -3
  107. package/components/table/v4/DataGrid.vue2.js +136 -128
  108. package/components/table/v4/DataGridMenu.vue.d.ts +5 -5
  109. package/components/table/v4/DataGridMenu.vue.js +4 -4
  110. package/components/table/v4/DataGridMenu.vue2.js +46 -47
  111. package/components/table/v4/DataGridRowsCounter.vue.d.ts +15 -0
  112. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  113. package/components/table/v4/DataGridRowsCounter.vue2.js +22 -19
  114. package/components/table/v4/HelpIcon.vue.d.ts +40 -0
  115. package/components/table/v4/HelpIcon.vue.js +7 -0
  116. package/components/table/v4/HelpIcon.vue2.js +32 -0
  117. package/components/table/v4/index.d.ts +71 -44
  118. package/components/table-cells/common/Editable.common.js +15 -15
  119. package/components/table-cells/v4/EditableV4.vue.d.ts +10 -0
  120. package/components/table-cells/v4/EditableV4.vue.js +3 -3
  121. package/components/table-cells/v4/EditableV4.vue2.js +31 -22
  122. package/components/table-cells/v4/index.d.ts +43 -1
  123. package/components/tabs/v3/Tabs.vue.d.ts +1 -1
  124. package/components/tabs/v3/index.d.ts +20 -20
  125. package/components/textArea/v3/TextArea.vue.js +7 -0
  126. package/components/textArea/{TextArea.vue2.js → v3/TextArea.vue2.js} +4 -4
  127. package/components/textArea/v4/TextAreaV4.vue.d.ts +100 -0
  128. package/components/textArea/v4/TextAreaV4.vue.js +7 -0
  129. package/components/textArea/v4/TextAreaV4.vue2.js +74 -0
  130. package/components/textArea/v4/index.d.ts +136 -0
  131. package/components/textArea/v4/index.js +6 -0
  132. package/components/toggle/v3/Toggle.vue.d.ts +1 -1
  133. package/components/toggle/v3/index.d.ts +9 -9
  134. package/components/toggle/v4/ToggleV4.vue.d.ts +1 -1
  135. package/components/toggle/v4/index.d.ts +28 -28
  136. package/components/typography/index.d.ts +12 -12
  137. package/index.d.ts +2363 -1842
  138. package/index.js +131 -123
  139. package/package.json +11 -2
  140. package/testids/index.d.ts +9 -1
  141. package/testids/index.js +25 -24
  142. package/AppHeader.vue_vue_type_style_index_0_scoped_209ecc03_lang.css +0 -1
  143. package/CardPanel.vue_vue_type_style_index_0_scoped_d2b5d12f_lang.css +0 -1
  144. package/CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css +0 -1
  145. package/DataGrid.vue_vue_type_style_index_0_scoped_d5635f1b_lang.css +0 -1
  146. package/DataGridMenu.vue_vue_type_style_index_0_scoped_92d83650_lang.css +0 -1
  147. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_9e366543_lang.css +0 -1
  148. package/EditableV4.vue_vue_type_style_index_0_scoped_df325b51_lang.css +0 -1
  149. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_b8373c2d_lang.css +0 -1
  150. package/FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css +0 -1
  151. package/FormCard.vue_vue_type_style_index_0_scoped_ad5e4be0_lang.css +0 -1
  152. package/FormRow.vue_vue_type_style_index_0_scoped_017dc22e_lang.css +0 -1
  153. package/InlineCopy.vue_vue_type_style_index_0_scoped_2f0a0202_lang.css +0 -1
  154. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css +0 -1
  155. package/TextArea.vue_vue_type_style_index_0_scoped_889b62ac_lang.css +0 -1
  156. package/TextField.vue_vue_type_style_index_0_scoped_473bab9b_lang.css +0 -1
  157. package/components/textArea/TextArea.vue.js +0 -7
  158. /package/components/textArea/{TextArea.vue.d.ts → v3/TextArea.vue.d.ts} +0 -0
  159. /package/components/textArea/{index.d.ts → v3/index.d.ts} +0 -0
  160. /package/components/textArea/{index.js → v3/index.js} +0 -0
@@ -4,10 +4,17 @@ declare const EditableTypes: () => ({
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{
7
+ type: "input" | "dropdown";
7
8
  cell: string;
8
9
  validateFunction: (value: unknown) => string | boolean;
9
10
  isLoading: boolean;
11
+ displayValue: (option: unknown) => unknown;
10
12
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
13
+ type: {
14
+ type: import("vue").PropType<"input" | "dropdown">;
15
+ required: true;
16
+ default: string;
17
+ };
11
18
  cell: {
12
19
  type: import("vue").PropType<string>;
13
20
  default: string;
@@ -28,7 +35,11 @@ declare const EditableTypes: () => ({
28
35
  type: import("vue").PropType<number>;
29
36
  required: true;
30
37
  };
31
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "validateFunction" | "isLoading">;
38
+ displayValue: {
39
+ type: import("vue").PropType<(option: unknown) => unknown>;
40
+ default: (cell: unknown) => unknown;
41
+ };
42
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "cell" | "validateFunction" | "isLoading" | "displayValue">;
32
43
  $attrs: {
33
44
  [x: string]: unknown;
34
45
  };
@@ -43,6 +54,11 @@ declare const EditableTypes: () => ({
43
54
  $emit: (event: string, ...args: any[]) => void;
44
55
  $el: any;
45
56
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
57
+ type: {
58
+ type: import("vue").PropType<"input" | "dropdown">;
59
+ required: true;
60
+ default: string;
61
+ };
46
62
  cell: {
47
63
  type: import("vue").PropType<string>;
48
64
  default: string;
@@ -63,10 +79,16 @@ declare const EditableTypes: () => ({
63
79
  type: import("vue").PropType<number>;
64
80
  required: true;
65
81
  };
82
+ displayValue: {
83
+ type: import("vue").PropType<(option: unknown) => unknown>;
84
+ default: (cell: unknown) => unknown;
85
+ };
66
86
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
87
+ type: "input" | "dropdown";
67
88
  cell: string;
68
89
  validateFunction: (value: unknown) => string | boolean;
69
90
  isLoading: boolean;
91
+ displayValue: (option: unknown) => unknown;
70
92
  }, {}, string> & {
71
93
  beforeCreate?: (() => void) | (() => void)[];
72
94
  created?: (() => void) | (() => void)[];
@@ -88,6 +110,11 @@ declare const EditableTypes: () => ({
88
110
  $nextTick: typeof import("vue").nextTick;
89
111
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
90
112
  } & Readonly<import("vue").ExtractPropTypes<{
113
+ type: {
114
+ type: import("vue").PropType<"input" | "dropdown">;
115
+ required: true;
116
+ default: string;
117
+ };
91
118
  cell: {
92
119
  type: import("vue").PropType<string>;
93
120
  default: string;
@@ -108,11 +135,20 @@ declare const EditableTypes: () => ({
108
135
  type: import("vue").PropType<number>;
109
136
  required: true;
110
137
  };
138
+ displayValue: {
139
+ type: import("vue").PropType<(option: unknown) => unknown>;
140
+ default: (cell: unknown) => unknown;
141
+ };
111
142
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
112
143
  __isFragment?: never;
113
144
  __isTeleport?: never;
114
145
  __isSuspense?: never;
115
146
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
147
+ type: {
148
+ type: import("vue").PropType<"input" | "dropdown">;
149
+ required: true;
150
+ default: string;
151
+ };
116
152
  cell: {
117
153
  type: import("vue").PropType<string>;
118
154
  default: string;
@@ -133,10 +169,16 @@ declare const EditableTypes: () => ({
133
169
  type: import("vue").PropType<number>;
134
170
  required: true;
135
171
  };
172
+ displayValue: {
173
+ type: import("vue").PropType<(option: unknown) => unknown>;
174
+ default: (cell: unknown) => unknown;
175
+ };
136
176
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
177
+ type: "input" | "dropdown";
137
178
  cell: string;
138
179
  validateFunction: (value: unknown) => string | boolean;
139
180
  isLoading: boolean;
181
+ displayValue: (option: unknown) => unknown;
140
182
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
141
183
  $slots: {
142
184
  input?(_: {}): any;
@@ -26,8 +26,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
26
  }>>> & {
27
27
  "onUpdate:selectedTab"?: (tabId: string | number) => any;
28
28
  }, {
29
- size: "sm" | "md" | "lg" | "xl";
30
29
  variant: "fill" | "fix";
30
+ size: "sm" | "md" | "lg" | "xl";
31
31
  testId: string;
32
32
  tabsList: Tab[];
33
33
  }>, {
@@ -3,19 +3,19 @@ declare const TabsTypes: () => ({
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
- size: "sm" | "md" | "lg" | "xl";
7
6
  variant: "fill" | "fix";
7
+ size: "sm" | "md" | "lg" | "xl";
8
8
  testId: string;
9
9
  tabsList: import("../common/Tabs.types").Tab[];
10
10
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
11
- size: {
12
- type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
13
- default: string;
14
- };
15
11
  variant: {
16
12
  type: import("vue").PropType<"fill" | "fix">;
17
13
  default: string;
18
14
  };
15
+ size: {
16
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
17
+ default: string;
18
+ };
19
19
  testId: {
20
20
  type: import("vue").PropType<string>;
21
21
  default: string;
@@ -31,7 +31,7 @@ declare const TabsTypes: () => ({
31
31
  };
32
32
  }>> & {
33
33
  "onUpdate:selectedTab"?: (tabId: string | number) => any;
34
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "variant" | "testId" | "tabsList">;
34
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "variant" | "size" | "testId" | "tabsList">;
35
35
  $attrs: {
36
36
  [x: string]: unknown;
37
37
  };
@@ -46,14 +46,14 @@ declare const TabsTypes: () => ({
46
46
  $emit: (event: "update:selectedTab", tabId: string | number) => void;
47
47
  $el: any;
48
48
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
49
- size: {
50
- type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
51
- default: string;
52
- };
53
49
  variant: {
54
50
  type: import("vue").PropType<"fill" | "fix">;
55
51
  default: string;
56
52
  };
53
+ size: {
54
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
55
+ default: string;
56
+ };
57
57
  testId: {
58
58
  type: import("vue").PropType<string>;
59
59
  default: string;
@@ -72,8 +72,8 @@ declare const TabsTypes: () => ({
72
72
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
73
  "update:selectedTab": (tabId: string | number) => void;
74
74
  }, string, {
75
- size: "sm" | "md" | "lg" | "xl";
76
75
  variant: "fill" | "fix";
76
+ size: "sm" | "md" | "lg" | "xl";
77
77
  testId: string;
78
78
  tabsList: import("../common/Tabs.types").Tab[];
79
79
  }, {}, string> & {
@@ -97,14 +97,14 @@ declare const TabsTypes: () => ({
97
97
  $nextTick: typeof import("vue").nextTick;
98
98
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
99
99
  } & Readonly<import("vue").ExtractPropTypes<{
100
- size: {
101
- type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
102
- default: string;
103
- };
104
100
  variant: {
105
101
  type: import("vue").PropType<"fill" | "fix">;
106
102
  default: string;
107
103
  };
104
+ size: {
105
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
106
+ default: string;
107
+ };
108
108
  testId: {
109
109
  type: import("vue").PropType<string>;
110
110
  default: string;
@@ -125,14 +125,14 @@ declare const TabsTypes: () => ({
125
125
  __isTeleport?: never;
126
126
  __isSuspense?: never;
127
127
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
128
- size: {
129
- type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
130
- default: string;
131
- };
132
128
  variant: {
133
129
  type: import("vue").PropType<"fill" | "fix">;
134
130
  default: string;
135
131
  };
132
+ size: {
133
+ type: import("vue").PropType<"sm" | "md" | "lg" | "xl">;
134
+ default: string;
135
+ };
136
136
  testId: {
137
137
  type: import("vue").PropType<string>;
138
138
  default: string;
@@ -151,8 +151,8 @@ declare const TabsTypes: () => ({
151
151
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
152
152
  "update:selectedTab": (tabId: string | number) => void;
153
153
  }, string, {
154
- size: "sm" | "md" | "lg" | "xl";
155
154
  variant: "fill" | "fix";
155
+ size: "sm" | "md" | "lg" | "xl";
156
156
  testId: string;
157
157
  tabsList: import("../common/Tabs.types").Tab[];
158
158
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -0,0 +1,7 @@
1
+ import e from "./TextArea.vue2.js";
2
+ /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css"; //*');
4
+ const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-eb62e4c0"]]);
5
+ export {
6
+ c as default
7
+ };
@@ -1,7 +1,7 @@
1
- import "../../TextArea.vue_vue_type_style_index_0_scoped_889b62ac_lang.css"; import { defineComponent as x, openBlock as d, createElementBlock as l, normalizeClass as s, unref as t, createVNode as i, withCtx as c, createTextVNode as o, toDisplayString as n, createCommentVNode as u, createElementVNode as T } from "vue";
2
- import "../typography/Heading.vue.js";
3
- import f from "../typography/Text.vue.js";
4
- import { TextAreaTestIdModifiers as a } from "../../testids/index.js";
1
+ import "../../../TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css"; import { defineComponent as x, openBlock as d, createElementBlock as l, normalizeClass as s, unref as t, createVNode as i, withCtx as c, createTextVNode as o, toDisplayString as n, createCommentVNode as u, createElementVNode as T } from "vue";
2
+ import "../../typography/Heading.vue.js";
3
+ import f from "../../typography/Text.vue.js";
4
+ import { TextAreaTestIdModifiers as a } from "../../../testids/index.js";
5
5
  const h = ["data-testid"], k = ["data-testid"], E = ["value", "placeholder", "disabled", "data-testid"], I = {
6
6
  key: 1,
7
7
  class: "extra-text-container"
@@ -0,0 +1,100 @@
1
+ import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
2
+ import { FeedbackVariant } from '@/components/shared/commonTypes';
3
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ modelValue?: string;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ label?: string;
8
+ maxLength?: number;
9
+ mandatory?: boolean;
10
+ hoverHelpText?: string;
11
+ hoverHelpTextPlacement?: TooltipPositions;
12
+ feedbackVariant?: FeedbackVariant;
13
+ feedbackText?: string;
14
+ showFeedbackTextIcon?: boolean;
15
+ resize?: 'none' | 'vertical' | 'horizontal' | 'both';
16
+ height?: string;
17
+ testId?: string;
18
+ }>, {
19
+ modelValue: string;
20
+ placeholder: string;
21
+ disabled: boolean;
22
+ label: string;
23
+ maxLength: any;
24
+ mandatory: boolean;
25
+ hoverHelpText: string;
26
+ hoverHelpTextPlacement: string;
27
+ feedbackText: string;
28
+ feedbackVariant: any;
29
+ showFeedbackTextIcon: boolean;
30
+ resize: string;
31
+ testId: string;
32
+ height: any;
33
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
+ "update:modelValue": (value: string) => void;
35
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
+ modelValue?: string;
37
+ placeholder?: string;
38
+ disabled?: boolean;
39
+ label?: string;
40
+ maxLength?: number;
41
+ mandatory?: boolean;
42
+ hoverHelpText?: string;
43
+ hoverHelpTextPlacement?: TooltipPositions;
44
+ feedbackVariant?: FeedbackVariant;
45
+ feedbackText?: string;
46
+ showFeedbackTextIcon?: boolean;
47
+ resize?: 'none' | 'vertical' | 'horizontal' | 'both';
48
+ height?: string;
49
+ testId?: string;
50
+ }>, {
51
+ modelValue: string;
52
+ placeholder: string;
53
+ disabled: boolean;
54
+ label: string;
55
+ maxLength: any;
56
+ mandatory: boolean;
57
+ hoverHelpText: string;
58
+ hoverHelpTextPlacement: string;
59
+ feedbackText: string;
60
+ feedbackVariant: any;
61
+ showFeedbackTextIcon: boolean;
62
+ resize: string;
63
+ testId: string;
64
+ height: any;
65
+ }>>> & {
66
+ "onUpdate:modelValue"?: (value: string) => any;
67
+ }, {
68
+ label: string;
69
+ disabled: boolean;
70
+ height: string;
71
+ resize: 'none' | 'vertical' | 'horizontal' | 'both';
72
+ mandatory: boolean;
73
+ testId: string;
74
+ hoverHelpText: string;
75
+ hoverHelpTextPlacement: TooltipPositions;
76
+ maxLength: number;
77
+ modelValue: string;
78
+ placeholder: string;
79
+ feedbackText: string;
80
+ feedbackVariant: FeedbackVariant;
81
+ showFeedbackTextIcon: boolean;
82
+ }>;
83
+ export default _default;
84
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
85
+ type __VLS_TypePropsToRuntimeProps<T> = {
86
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
87
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
88
+ } : {
89
+ type: import('vue').PropType<T[K]>;
90
+ required: true;
91
+ };
92
+ };
93
+ type __VLS_WithDefaults<P, D> = {
94
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
95
+ default: D[K];
96
+ }> : P[K];
97
+ };
98
+ type __VLS_Prettify<T> = {
99
+ [K in keyof T]: T[K];
100
+ } & {};
@@ -0,0 +1,7 @@
1
+ import e from "./TextAreaV4.vue2.js";
2
+ /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0336a92f"]]);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,74 @@
1
+ import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css"; import { defineComponent as s, computed as b, openBlock as t, createElementBlock as i, mergeProps as c, unref as a, createBlock as n, createCommentVNode as l, createElementVNode as g } from "vue";
2
+ import v from "../../shared/FieldLabel.vue.js";
3
+ import k from "../../shared/FieldMaxLength.vue.js";
4
+ import T from "../../shared/FieldHelpText.vue.js";
5
+ import { TextAreaTestIdModifiers as u } from "../../../testids/index.js";
6
+ import { useTestIdAttrs as V } from "../../../utils/testIds.js";
7
+ const y = ["value", "placeholder", "disabled", "maxlength"], I = {
8
+ key: 1,
9
+ class: "footer"
10
+ }, w = /* @__PURE__ */ s({
11
+ __name: "TextAreaV4",
12
+ props: {
13
+ modelValue: { default: "" },
14
+ placeholder: { default: "" },
15
+ disabled: { type: Boolean, default: !1 },
16
+ label: { default: "" },
17
+ maxLength: { default: null },
18
+ mandatory: { type: Boolean, default: !1 },
19
+ hoverHelpText: { default: "" },
20
+ hoverHelpTextPlacement: { default: "top" },
21
+ feedbackVariant: { default: null },
22
+ feedbackText: { default: "" },
23
+ showFeedbackTextIcon: { type: Boolean, default: !0 },
24
+ resize: { default: "none" },
25
+ height: { default: null },
26
+ testId: { default: "" }
27
+ },
28
+ emits: ["update:modelValue"],
29
+ setup(e, { emit: h }) {
30
+ const o = e, m = (d) => {
31
+ h("update:modelValue", d.target.value);
32
+ }, x = b(() => (o.modelValue || "").length), r = V(o.testId, u);
33
+ return (d, f) => (t(), i("div", c({ class: "textarea-field" }, a(r)[a(u).WRAPPER]), [
34
+ e.label ? (t(), n(v, {
35
+ key: 0,
36
+ class: "textarea-label",
37
+ label: e.label,
38
+ mandatory: e.mandatory,
39
+ "hover-help-text": e.hoverHelpText,
40
+ "hover-help-text-placement": e.hoverHelpTextPlacement,
41
+ disabled: e.disabled,
42
+ "test-id": e.testId
43
+ }, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : l("", !0),
44
+ g("textarea", c({
45
+ class: ["textarea", {
46
+ "textarea--disabled": e.disabled,
47
+ [`textarea--variant-${e.feedbackVariant}`]: !0
48
+ }],
49
+ style: { resize: e.resize, height: e.height },
50
+ value: e.modelValue,
51
+ placeholder: e.placeholder,
52
+ disabled: e.disabled,
53
+ maxlength: e.maxLength
54
+ }, a(r)[a(u).FIELD], { onInput: m }), null, 16, y),
55
+ e.feedbackText || e.maxLength ? (t(), i("div", I, [
56
+ e.feedbackText ? (t(), n(T, {
57
+ key: 0,
58
+ text: e.feedbackText,
59
+ variant: e.feedbackVariant,
60
+ "show-icon": e.showFeedbackTextIcon,
61
+ "test-id": e.testId
62
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : l("", !0),
63
+ e.maxLength ? (t(), n(k, {
64
+ key: 1,
65
+ "current-length": a(x),
66
+ "max-length": e.maxLength
67
+ }, null, 8, ["current-length", "max-length"])) : l("", !0)
68
+ ])) : l("", !0)
69
+ ], 16));
70
+ }
71
+ });
72
+ export {
73
+ w as default
74
+ };
@@ -0,0 +1,136 @@
1
+ declare const TextAreaTypes: () => import("vue").DefineComponent<{
2
+ label: {
3
+ type: import("vue").PropType<string>;
4
+ default: string;
5
+ };
6
+ disabled: {
7
+ type: import("vue").PropType<boolean>;
8
+ default: boolean;
9
+ };
10
+ height: {
11
+ type: import("vue").PropType<string>;
12
+ default: any;
13
+ };
14
+ resize: {
15
+ type: import("vue").PropType<"both" | "none" | "horizontal" | "vertical">;
16
+ default: string;
17
+ };
18
+ mandatory: {
19
+ type: import("vue").PropType<boolean>;
20
+ default: boolean;
21
+ };
22
+ testId: {
23
+ type: import("vue").PropType<string>;
24
+ default: string;
25
+ };
26
+ hoverHelpText: {
27
+ type: import("vue").PropType<string>;
28
+ default: string;
29
+ };
30
+ hoverHelpTextPlacement: {
31
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
32
+ default: string;
33
+ };
34
+ maxLength: {
35
+ type: import("vue").PropType<number>;
36
+ default: any;
37
+ };
38
+ modelValue: {
39
+ type: import("vue").PropType<string>;
40
+ default: string;
41
+ };
42
+ placeholder: {
43
+ type: import("vue").PropType<string>;
44
+ default: string;
45
+ };
46
+ feedbackText: {
47
+ type: import("vue").PropType<string>;
48
+ default: string;
49
+ };
50
+ feedbackVariant: {
51
+ type: import("vue").PropType<"success" | "warning" | "error">;
52
+ default: any;
53
+ };
54
+ showFeedbackTextIcon: {
55
+ type: import("vue").PropType<boolean>;
56
+ default: boolean;
57
+ };
58
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
+ "update:modelValue": (value: string) => void;
60
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
61
+ label: {
62
+ type: import("vue").PropType<string>;
63
+ default: string;
64
+ };
65
+ disabled: {
66
+ type: import("vue").PropType<boolean>;
67
+ default: boolean;
68
+ };
69
+ height: {
70
+ type: import("vue").PropType<string>;
71
+ default: any;
72
+ };
73
+ resize: {
74
+ type: import("vue").PropType<"both" | "none" | "horizontal" | "vertical">;
75
+ default: string;
76
+ };
77
+ mandatory: {
78
+ type: import("vue").PropType<boolean>;
79
+ default: boolean;
80
+ };
81
+ testId: {
82
+ type: import("vue").PropType<string>;
83
+ default: string;
84
+ };
85
+ hoverHelpText: {
86
+ type: import("vue").PropType<string>;
87
+ default: string;
88
+ };
89
+ hoverHelpTextPlacement: {
90
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
91
+ default: string;
92
+ };
93
+ maxLength: {
94
+ type: import("vue").PropType<number>;
95
+ default: any;
96
+ };
97
+ modelValue: {
98
+ type: import("vue").PropType<string>;
99
+ default: string;
100
+ };
101
+ placeholder: {
102
+ type: import("vue").PropType<string>;
103
+ default: string;
104
+ };
105
+ feedbackText: {
106
+ type: import("vue").PropType<string>;
107
+ default: string;
108
+ };
109
+ feedbackVariant: {
110
+ type: import("vue").PropType<"success" | "warning" | "error">;
111
+ default: any;
112
+ };
113
+ showFeedbackTextIcon: {
114
+ type: import("vue").PropType<boolean>;
115
+ default: boolean;
116
+ };
117
+ }>> & {
118
+ "onUpdate:modelValue"?: (value: string) => any;
119
+ }, {
120
+ label: string;
121
+ disabled: boolean;
122
+ height: string;
123
+ resize: "both" | "none" | "horizontal" | "vertical";
124
+ mandatory: boolean;
125
+ testId: string;
126
+ hoverHelpText: string;
127
+ hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
128
+ maxLength: number;
129
+ modelValue: string;
130
+ placeholder: string;
131
+ feedbackText: string;
132
+ feedbackVariant: "success" | "warning" | "error";
133
+ showFeedbackTextIcon: boolean;
134
+ }>[];
135
+ export { default as TextArea } from './TextAreaV4.vue';
136
+ export { TextAreaTypes };
@@ -0,0 +1,6 @@
1
+ import e from "./TextAreaV4.vue.js";
2
+ const t = () => [e];
3
+ export {
4
+ e as TextArea,
5
+ t as TextAreaTypes
6
+ };
@@ -43,8 +43,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
43
43
  }, {
44
44
  color: string;
45
45
  testId: string;
46
- helperText: string;
47
46
  isLoading: boolean;
47
+ helperText: string;
48
48
  errorText: string;
49
49
  activeText: string;
50
50
  inactiveText: string;
@@ -7,6 +7,10 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
7
7
  type: import("vue").PropType<string>;
8
8
  default: string;
9
9
  };
10
+ isLoading: {
11
+ type: import("vue").PropType<boolean>;
12
+ default: boolean;
13
+ };
10
14
  modelValue: {
11
15
  type: import("vue").PropType<boolean>;
12
16
  required: true;
@@ -15,10 +19,6 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
15
19
  type: import("vue").PropType<string>;
16
20
  default: any;
17
21
  };
18
- isLoading: {
19
- type: import("vue").PropType<boolean>;
20
- default: boolean;
21
- };
22
22
  errorText: {
23
23
  type: import("vue").PropType<string>;
24
24
  default: any;
@@ -46,6 +46,10 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
46
46
  type: import("vue").PropType<string>;
47
47
  default: string;
48
48
  };
49
+ isLoading: {
50
+ type: import("vue").PropType<boolean>;
51
+ default: boolean;
52
+ };
49
53
  modelValue: {
50
54
  type: import("vue").PropType<boolean>;
51
55
  required: true;
@@ -54,10 +58,6 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
54
58
  type: import("vue").PropType<string>;
55
59
  default: any;
56
60
  };
57
- isLoading: {
58
- type: import("vue").PropType<boolean>;
59
- default: boolean;
60
- };
61
61
  errorText: {
62
62
  type: import("vue").PropType<string>;
63
63
  default: any;
@@ -79,8 +79,8 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
79
79
  }, {
80
80
  color: string;
81
81
  testId: string;
82
- helperText: string;
83
82
  isLoading: boolean;
83
+ helperText: string;
84
84
  errorText: string;
85
85
  activeText: string;
86
86
  inactiveText: string;
@@ -61,11 +61,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
61
  size: "small" | "medium";
62
62
  color: "primary" | "test";
63
63
  testId: string;
64
+ isLoading: boolean;
64
65
  hoverHelpText: string;
65
66
  hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
66
67
  feedbackText: string;
67
68
  feedbackVariant: "success" | "warning" | "error";
68
- isLoading: boolean;
69
69
  activeText: string;
70
70
  inactiveText: string;
71
71
  isDisabled: boolean;