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

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 (133) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_72bcdcd0_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_c7af6b8e_lang.css +1 -0
  4. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_23e22560_lang.css +1 -0
  5. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +1 -0
  6. package/DataGrid.vue_vue_type_style_index_0_scoped_9b108af3_lang.css +1 -0
  7. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +1 -0
  8. package/DropdownV4.vue_vue_type_style_index_0_scoped_24014c62_lang.css +1 -0
  9. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +1 -0
  10. package/FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css +1 -0
  11. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +1 -0
  12. package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +1 -0
  13. package/TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css +1 -0
  14. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +1 -0
  15. package/TextField.vue_vue_type_style_index_0_scoped_dca4c102_lang.css +1 -0
  16. package/components/alert/Alert.vue.d.ts +75 -0
  17. package/components/alert/Alert.vue.js +7 -0
  18. package/components/alert/Alert.vue2.js +87 -0
  19. package/components/alert/index.d.ts +220 -0
  20. package/components/alert/index.js +6 -0
  21. package/components/appHeader/AppHeader.vue.js +3 -3
  22. package/components/appHeader/AppHeader.vue2.js +29 -26
  23. package/components/autocomplete/Autocomplete.vue.d.ts +115 -0
  24. package/components/autocomplete/Autocomplete.vue.js +7 -0
  25. package/components/autocomplete/Autocomplete.vue2.js +89 -0
  26. package/components/autocomplete/index.d.ts +364 -0
  27. package/components/autocomplete/index.js +6 -0
  28. package/components/button/v3/Button.vue.d.ts +6 -6
  29. package/components/button/v3/ButtonBase.vue.d.ts +1 -1
  30. package/components/button/v3/IconButton.vue.d.ts +1 -1
  31. package/components/button/v3/index.d.ts +34 -34
  32. package/components/button/v4/ButtonV4.vue.d.ts +1 -1
  33. package/components/button/v4/IconButtonV4.vue.d.ts +1 -1
  34. package/components/button/v4/index.d.ts +40 -40
  35. package/components/checkbox/v3/index.d.ts +12 -12
  36. package/components/checkbox/v4/index.d.ts +12 -12
  37. package/components/chip/v3/Chip.vue.d.ts +1 -1
  38. package/components/chip/v3/index.d.ts +20 -20
  39. package/components/chip/v4/ChipV4.vue.d.ts +1 -1
  40. package/components/chip/v4/index.d.ts +20 -20
  41. package/components/dialog/v4/index.d.ts +17 -17
  42. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  43. package/components/dropdown/common/Dropdown.common.js +34 -33
  44. package/components/dropdown/v3/Dropdown.vue.d.ts +11 -11
  45. package/components/dropdown/v3/index.d.ts +159 -159
  46. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +4 -4
  47. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +71 -0
  48. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +7 -0
  49. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +36 -0
  50. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.d.ts +66 -0
  51. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +7 -0
  52. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +50 -0
  53. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
  54. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +7 -7
  55. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  56. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
  57. package/components/dropdown/v4/DropdownV4.vue.d.ts +29 -22
  58. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  59. package/components/dropdown/v4/DropdownV4.vue2.js +143 -130
  60. package/components/dropdown/v4/dropdownStoryArgs.d.ts +9 -0
  61. package/components/dropdown/v4/index.d.ts +705 -610
  62. package/components/dropdown/v4/index.js +16 -10
  63. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  64. package/components/emptyState/v3/index.d.ts +7 -7
  65. package/components/filterDropdown/index.d.ts +8 -8
  66. package/components/forms/FormCard.vue.d.ts +5 -0
  67. package/components/forms/FormCard.vue.js +3 -3
  68. package/components/forms/FormCard.vue2.js +62 -36
  69. package/components/forms/FormRow.vue.d.ts +10 -0
  70. package/components/forms/FormRow.vue.js +3 -3
  71. package/components/forms/FormRow.vue2.js +22 -29
  72. package/components/forms/index.d.ts +59 -2
  73. package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
  74. package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +2 -2
  75. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +3 -3
  76. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +3 -3
  77. package/components/includeExclude/index.d.ts +168 -168
  78. package/components/input/v3/Input.vue.d.ts +3 -3
  79. package/components/input/v3/index.d.ts +82 -82
  80. package/components/input/v4/TextField.vue.d.ts +7 -7
  81. package/components/input/v4/TextField.vue.js +3 -3
  82. package/components/input/v4/TextField.vue2.js +83 -90
  83. package/components/input/v4/index.d.ts +122 -122
  84. package/components/multibar/MultiBarMenu.vue2.js +13 -11
  85. package/components/search/v3/Search.vue.d.ts +1 -1
  86. package/components/search/v3/index.d.ts +9 -9
  87. package/components/shared/FieldMaxLength.vue.d.ts +34 -0
  88. package/components/shared/FieldMaxLength.vue.js +7 -0
  89. package/components/shared/FieldMaxLength.vue2.js +24 -0
  90. package/components/skeleton/v4/index.d.ts +2 -2
  91. package/components/snackbar/v4/SnackbarV4.vue.d.ts +12 -12
  92. package/components/table/common/Table.types.d.ts +3 -0
  93. package/components/table/v4/DataGrid.vue.d.ts +2 -2
  94. package/components/table/v4/DataGrid.vue.js +3 -3
  95. package/components/table/v4/DataGrid.vue2.js +129 -123
  96. package/components/table/v4/DataGridMenu.vue2.js +13 -11
  97. package/components/table/v4/HelpIcon.vue.d.ts +40 -0
  98. package/components/table/v4/HelpIcon.vue.js +7 -0
  99. package/components/table/v4/HelpIcon.vue2.js +32 -0
  100. package/components/table/v4/index.d.ts +39 -39
  101. package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
  102. package/components/table-cells/v4/index.d.ts +20 -20
  103. package/components/tabs/v3/Tabs.vue.d.ts +1 -1
  104. package/components/tabs/v3/index.d.ts +20 -20
  105. package/components/textArea/v3/TextArea.vue.js +7 -0
  106. package/components/textArea/{TextArea.vue2.js → v3/TextArea.vue2.js} +4 -4
  107. package/components/textArea/v4/TextAreaV4.vue.d.ts +100 -0
  108. package/components/textArea/v4/TextAreaV4.vue.js +7 -0
  109. package/components/textArea/v4/TextAreaV4.vue2.js +74 -0
  110. package/components/textArea/v4/index.d.ts +136 -0
  111. package/components/textArea/v4/index.js +6 -0
  112. package/components/toggle/v3/Toggle.vue.d.ts +1 -1
  113. package/components/toggle/v3/index.d.ts +9 -9
  114. package/components/toggle/v4/ToggleV4.vue.d.ts +1 -1
  115. package/components/toggle/v4/index.d.ts +28 -28
  116. package/components/typography/index.d.ts +12 -12
  117. package/index.d.ts +2479 -1935
  118. package/index.js +131 -123
  119. package/package.json +11 -2
  120. package/testids/index.d.ts +9 -1
  121. package/testids/index.js +25 -24
  122. package/AppHeader.vue_vue_type_style_index_0_scoped_95908b8d_lang.css +0 -1
  123. package/DataGrid.vue_vue_type_style_index_0_scoped_4baf9e57_lang.css +0 -1
  124. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css +0 -1
  125. package/DropdownV4.vue_vue_type_style_index_0_scoped_78c1497e_lang.css +0 -1
  126. package/FormCard.vue_vue_type_style_index_0_scoped_ad5e4be0_lang.css +0 -1
  127. package/FormRow.vue_vue_type_style_index_0_scoped_39f48410_lang.css +0 -1
  128. package/TextArea.vue_vue_type_style_index_0_scoped_889b62ac_lang.css +0 -1
  129. package/TextField.vue_vue_type_style_index_0_scoped_473bab9b_lang.css +0 -1
  130. package/components/textArea/TextArea.vue.js +0 -7
  131. /package/components/textArea/{TextArea.vue.d.ts → v3/TextArea.vue.d.ts} +0 -0
  132. /package/components/textArea/{index.d.ts → v3/index.d.ts} +0 -0
  133. /package/components/textArea/{index.js → v3/index.js} +0 -0
@@ -85,13 +85,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
85
85
  size: 'sm' | 'lg';
86
86
  mandatory: boolean;
87
87
  testId: string;
88
- modelValue: string | number;
89
- placeholder: string;
90
- autoFocus: boolean;
91
88
  hoverHelpText: string;
92
89
  hoverHelpTextPlacement: 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
90
+ modelValue: string | number;
91
+ placeholder: string;
93
92
  viewOnly: boolean;
94
93
  labelDirection: 'inside' | 'top' | 'left';
94
+ autoFocus: boolean;
95
95
  hideNumberArrows: boolean;
96
96
  step: number;
97
97
  onlyDigits: boolean;
@@ -13,13 +13,13 @@ declare const InputTypes: () => (({
13
13
  size: "sm" | "lg";
14
14
  mandatory: boolean;
15
15
  testId: string;
16
- modelValue: string | number;
17
- placeholder: string;
18
- autoFocus: boolean;
19
16
  hoverHelpText: string;
20
17
  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";
18
+ modelValue: string | number;
19
+ placeholder: string;
21
20
  viewOnly: boolean;
22
21
  labelDirection: "left" | "top" | "inside";
22
+ autoFocus: boolean;
23
23
  hideNumberArrows: boolean;
24
24
  step: number;
25
25
  onlyDigits: boolean;
@@ -50,18 +50,6 @@ declare const InputTypes: () => (({
50
50
  type: import("vue").PropType<string>;
51
51
  default: string;
52
52
  };
53
- modelValue: {
54
- type: import("vue").PropType<string | number>;
55
- default: string;
56
- };
57
- placeholder: {
58
- type: import("vue").PropType<string>;
59
- default: string;
60
- };
61
- autoFocus: {
62
- type: import("vue").PropType<boolean>;
63
- default: boolean;
64
- };
65
53
  hoverHelpText: {
66
54
  type: import("vue").PropType<string>;
67
55
  default: string;
@@ -70,6 +58,14 @@ declare const InputTypes: () => (({
70
58
  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">;
71
59
  default: string;
72
60
  };
61
+ modelValue: {
62
+ type: import("vue").PropType<string | number>;
63
+ default: string;
64
+ };
65
+ placeholder: {
66
+ type: import("vue").PropType<string>;
67
+ default: string;
68
+ };
73
69
  viewOnly: {
74
70
  type: import("vue").PropType<boolean>;
75
71
  default: boolean;
@@ -78,6 +74,10 @@ declare const InputTypes: () => (({
78
74
  type: import("vue").PropType<"left" | "top" | "inside">;
79
75
  default: string;
80
76
  };
77
+ autoFocus: {
78
+ type: import("vue").PropType<boolean>;
79
+ default: boolean;
80
+ };
81
81
  hideNumberArrows: {
82
82
  type: import("vue").PropType<boolean>;
83
83
  default: boolean;
@@ -100,7 +100,7 @@ declare const InputTypes: () => (({
100
100
  };
101
101
  }>> & {
102
102
  "onUpdate:modelValue"?: (value: string | number) => any;
103
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "modelValue" | "placeholder" | "autoFocus" | "hoverHelpText" | "hoverHelpTextPlacement" | "viewOnly" | "labelDirection" | "hideNumberArrows" | "step" | "onlyDigits" | "feedbackHelpText" | "feedbackErrorText">;
103
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "modelValue" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "feedbackHelpText" | "feedbackErrorText">;
104
104
  $attrs: {
105
105
  [x: string]: unknown;
106
106
  };
@@ -139,18 +139,6 @@ declare const InputTypes: () => (({
139
139
  type: import("vue").PropType<string>;
140
140
  default: string;
141
141
  };
142
- modelValue: {
143
- type: import("vue").PropType<string | number>;
144
- default: string;
145
- };
146
- placeholder: {
147
- type: import("vue").PropType<string>;
148
- default: string;
149
- };
150
- autoFocus: {
151
- type: import("vue").PropType<boolean>;
152
- default: boolean;
153
- };
154
142
  hoverHelpText: {
155
143
  type: import("vue").PropType<string>;
156
144
  default: string;
@@ -159,6 +147,14 @@ declare const InputTypes: () => (({
159
147
  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">;
160
148
  default: string;
161
149
  };
150
+ modelValue: {
151
+ type: import("vue").PropType<string | number>;
152
+ default: string;
153
+ };
154
+ placeholder: {
155
+ type: import("vue").PropType<string>;
156
+ default: string;
157
+ };
162
158
  viewOnly: {
163
159
  type: import("vue").PropType<boolean>;
164
160
  default: boolean;
@@ -167,6 +163,10 @@ declare const InputTypes: () => (({
167
163
  type: import("vue").PropType<"left" | "top" | "inside">;
168
164
  default: string;
169
165
  };
166
+ autoFocus: {
167
+ type: import("vue").PropType<boolean>;
168
+ default: boolean;
169
+ };
170
170
  hideNumberArrows: {
171
171
  type: import("vue").PropType<boolean>;
172
172
  default: boolean;
@@ -198,13 +198,13 @@ declare const InputTypes: () => (({
198
198
  size: "sm" | "lg";
199
199
  mandatory: boolean;
200
200
  testId: string;
201
- modelValue: string | number;
202
- placeholder: string;
203
- autoFocus: boolean;
204
201
  hoverHelpText: string;
205
202
  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";
203
+ modelValue: string | number;
204
+ placeholder: string;
206
205
  viewOnly: boolean;
207
206
  labelDirection: "left" | "top" | "inside";
207
+ autoFocus: boolean;
208
208
  hideNumberArrows: boolean;
209
209
  step: number;
210
210
  onlyDigits: boolean;
@@ -255,18 +255,6 @@ declare const InputTypes: () => (({
255
255
  type: import("vue").PropType<string>;
256
256
  default: string;
257
257
  };
258
- modelValue: {
259
- type: import("vue").PropType<string | number>;
260
- default: string;
261
- };
262
- placeholder: {
263
- type: import("vue").PropType<string>;
264
- default: string;
265
- };
266
- autoFocus: {
267
- type: import("vue").PropType<boolean>;
268
- default: boolean;
269
- };
270
258
  hoverHelpText: {
271
259
  type: import("vue").PropType<string>;
272
260
  default: string;
@@ -275,6 +263,14 @@ declare const InputTypes: () => (({
275
263
  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">;
276
264
  default: string;
277
265
  };
266
+ modelValue: {
267
+ type: import("vue").PropType<string | number>;
268
+ default: string;
269
+ };
270
+ placeholder: {
271
+ type: import("vue").PropType<string>;
272
+ default: string;
273
+ };
278
274
  viewOnly: {
279
275
  type: import("vue").PropType<boolean>;
280
276
  default: boolean;
@@ -283,6 +279,10 @@ declare const InputTypes: () => (({
283
279
  type: import("vue").PropType<"left" | "top" | "inside">;
284
280
  default: string;
285
281
  };
282
+ autoFocus: {
283
+ type: import("vue").PropType<boolean>;
284
+ default: boolean;
285
+ };
286
286
  hideNumberArrows: {
287
287
  type: import("vue").PropType<boolean>;
288
288
  default: boolean;
@@ -334,18 +334,6 @@ declare const InputTypes: () => (({
334
334
  type: import("vue").PropType<string>;
335
335
  default: string;
336
336
  };
337
- modelValue: {
338
- type: import("vue").PropType<string | number>;
339
- default: string;
340
- };
341
- placeholder: {
342
- type: import("vue").PropType<string>;
343
- default: string;
344
- };
345
- autoFocus: {
346
- type: import("vue").PropType<boolean>;
347
- default: boolean;
348
- };
349
337
  hoverHelpText: {
350
338
  type: import("vue").PropType<string>;
351
339
  default: string;
@@ -354,6 +342,14 @@ declare const InputTypes: () => (({
354
342
  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">;
355
343
  default: string;
356
344
  };
345
+ modelValue: {
346
+ type: import("vue").PropType<string | number>;
347
+ default: string;
348
+ };
349
+ placeholder: {
350
+ type: import("vue").PropType<string>;
351
+ default: string;
352
+ };
357
353
  viewOnly: {
358
354
  type: import("vue").PropType<boolean>;
359
355
  default: boolean;
@@ -362,6 +358,10 @@ declare const InputTypes: () => (({
362
358
  type: import("vue").PropType<"left" | "top" | "inside">;
363
359
  default: string;
364
360
  };
361
+ autoFocus: {
362
+ type: import("vue").PropType<boolean>;
363
+ default: boolean;
364
+ };
365
365
  hideNumberArrows: {
366
366
  type: import("vue").PropType<boolean>;
367
367
  default: boolean;
@@ -393,13 +393,13 @@ declare const InputTypes: () => (({
393
393
  size: "sm" | "lg";
394
394
  mandatory: boolean;
395
395
  testId: string;
396
- modelValue: string | number;
397
- placeholder: string;
398
- autoFocus: boolean;
399
396
  hoverHelpText: string;
400
397
  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";
398
+ modelValue: string | number;
399
+ placeholder: string;
401
400
  viewOnly: boolean;
402
401
  labelDirection: "left" | "top" | "inside";
402
+ autoFocus: boolean;
403
403
  hideNumberArrows: boolean;
404
404
  step: number;
405
405
  onlyDigits: boolean;
@@ -494,33 +494,33 @@ declare const InputTypes: () => (({
494
494
  testId: {
495
495
  type: import("vue").PropType<string>;
496
496
  };
497
- modelValue: {
498
- type: import("vue").PropType<string | number>;
499
- };
500
- placeholder: {
501
- type: import("vue").PropType<string>;
502
- };
503
- "onUpdate:modelValue": {
504
- type: import("vue").PropType<(value: string | number) => any>;
505
- };
506
- autoFocus: {
507
- type: import("vue").PropType<boolean>;
508
- };
509
497
  hoverHelpText: {
510
498
  type: import("vue").PropType<string>;
511
499
  };
512
500
  hoverHelpTextPlacement: {
513
501
  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">;
514
502
  };
503
+ modelValue: {
504
+ type: import("vue").PropType<string | number>;
505
+ };
506
+ placeholder: {
507
+ type: import("vue").PropType<string>;
508
+ };
515
509
  viewOnly: {
516
510
  type: import("vue").PropType<boolean>;
517
511
  };
518
512
  labelDirection: {
519
513
  type: import("vue").PropType<"left" | "top" | "inside">;
520
514
  };
515
+ autoFocus: {
516
+ type: import("vue").PropType<boolean>;
517
+ };
521
518
  onlyDigits: {
522
519
  type: import("vue").PropType<boolean>;
523
520
  };
521
+ "onUpdate:modelValue": {
522
+ type: import("vue").PropType<(value: string | number) => any>;
523
+ };
524
524
  feedbackHelpText: {
525
525
  type: import("vue").PropType<string>;
526
526
  };
@@ -613,33 +613,33 @@ declare const InputTypes: () => (({
613
613
  testId: {
614
614
  type: import("vue").PropType<string>;
615
615
  };
616
- modelValue: {
617
- type: import("vue").PropType<string | number>;
618
- };
619
- placeholder: {
620
- type: import("vue").PropType<string>;
621
- };
622
- "onUpdate:modelValue": {
623
- type: import("vue").PropType<(value: string | number) => any>;
624
- };
625
- autoFocus: {
626
- type: import("vue").PropType<boolean>;
627
- };
628
616
  hoverHelpText: {
629
617
  type: import("vue").PropType<string>;
630
618
  };
631
619
  hoverHelpTextPlacement: {
632
620
  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">;
633
621
  };
622
+ modelValue: {
623
+ type: import("vue").PropType<string | number>;
624
+ };
625
+ placeholder: {
626
+ type: import("vue").PropType<string>;
627
+ };
634
628
  viewOnly: {
635
629
  type: import("vue").PropType<boolean>;
636
630
  };
637
631
  labelDirection: {
638
632
  type: import("vue").PropType<"left" | "top" | "inside">;
639
633
  };
634
+ autoFocus: {
635
+ type: import("vue").PropType<boolean>;
636
+ };
640
637
  onlyDigits: {
641
638
  type: import("vue").PropType<boolean>;
642
639
  };
640
+ "onUpdate:modelValue": {
641
+ type: import("vue").PropType<(value: string | number) => any>;
642
+ };
643
643
  feedbackHelpText: {
644
644
  type: import("vue").PropType<string>;
645
645
  };
@@ -120,24 +120,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
120
120
  size: FieldSize;
121
121
  mandatory: boolean;
122
122
  testId: string;
123
- modelValue: string | number;
124
- placeholder: string;
125
- autoFocus: boolean;
126
- prefix: string;
127
123
  hoverHelpText: string;
128
124
  hoverHelpTextPlacement: TooltipPositions;
129
- feedbackText: string;
130
- feedbackVariant: FeedbackVariant;
125
+ maxLength: number;
126
+ modelValue: string | number;
127
+ placeholder: string;
131
128
  viewOnly: boolean;
132
129
  labelDirection: LabelDirection;
130
+ autoFocus: boolean;
133
131
  hideNumberArrows: boolean;
134
132
  step: number;
135
133
  onlyDigits: boolean;
134
+ prefix: string;
136
135
  suffix: string;
137
- maxLength: number;
138
136
  showApply: boolean;
139
137
  inlineError: boolean;
140
138
  inlineErrorText: string;
139
+ feedbackText: string;
140
+ feedbackVariant: FeedbackVariant;
141
141
  showFeedbackTextIcon: boolean;
142
142
  }>, {
143
143
  iconBefore?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import e from "./TextField.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TextField.vue_vue_type_style_index_0_scoped_473bab9b_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-473bab9b"]]);
3
+ // import "../../../TextField.vue_vue_type_style_index_0_scoped_dca4c102_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-dca4c102"]]);
5
5
  export {
6
- p as default
6
+ s as default
7
7
  };
@@ -1,31 +1,29 @@
1
- import "../../../TextField.vue_vue_type_style_index_0_scoped_473bab9b_lang.css"; import { defineComponent as K, computed as w, ref as G, openBlock as l, createElementBlock as o, mergeProps as y, unref as t, createBlock as u, createCommentVNode as n, createElementVNode as g, normalizeClass as M, renderSlot as F, withCtx as v, createTextVNode as h, toDisplayString as x, withKeys as W, withModifiers as S, createVNode as b, pushScopeId as j, popScopeId as q } from "vue";
2
- import p from "../../icon/v4/IconV4.vue.js";
3
- import J from "../../tooltip/v4/TooltipV4.vue.js";
4
- import T from "../../typography/v4/Typography.vue.js";
1
+ import "../../../TextField.vue_vue_type_style_index_0_scoped_dca4c102_lang.css"; import { defineComponent as K, computed as h, ref as M, openBlock as l, createElementBlock as r, mergeProps as y, unref as t, createBlock as d, createCommentVNode as n, createElementVNode as L, normalizeClass as G, renderSlot as V, withCtx as b, createTextVNode as C, toDisplayString as E, withKeys as W, withModifiers as F, createVNode as p } from "vue";
2
+ import v from "../../icon/v4/IconV4.vue.js";
3
+ import j from "../../tooltip/v4/TooltipV4.vue.js";
4
+ import $ from "../../typography/v4/Typography.vue.js";
5
5
  import { InputTestIdModifiers as f } from "../../../testids/index.js";
6
- import { inputCommon as Q } from "../common/Input.common.js";
7
- import U from "../../shared/FieldLabel.vue.js";
8
- import X from "../../shared/FieldHelpText.vue.js";
9
- import { useTestIdAttrs as Y } from "../../../utils/testIds.js";
10
- const Z = (e) => (j("data-v-473bab9b"), e = e(), q(), e), _ = {
6
+ import { inputCommon as q } from "../common/Input.common.js";
7
+ import J from "../../shared/FieldLabel.vue.js";
8
+ import Q from "../../shared/FieldHelpText.vue.js";
9
+ import U from "../../shared/FieldMaxLength.vue.js";
10
+ import { useTestIdAttrs as X } from "../../../utils/testIds.js";
11
+ const Y = {
11
12
  key: 0,
12
13
  class: "icon-container icon-before"
13
- }, ee = ["value", "placeholder", "disabled", "type", "step", "maxlength"], te = ["onClick"], le = {
14
+ }, Z = ["value", "placeholder", "disabled", "type", "step", "maxlength"], _ = ["onClick"], ee = {
14
15
  key: 3,
15
16
  class: "inline-error"
16
- }, ae = {
17
+ }, te = {
17
18
  key: 6,
18
19
  class: "icon-container icon-after"
19
- }, ne = {
20
+ }, le = {
20
21
  key: 1,
21
22
  class: "footer"
22
- }, ie = {
23
- key: 1,
24
- class: "max-length"
25
- }, oe = /* @__PURE__ */ Z(() => /* @__PURE__ */ g("span", { class: "max-length__divider" }, "/", -1)), de = {
23
+ }, ae = {
26
24
  inheritAttrs: !1
27
- }, xe = /* @__PURE__ */ K({
28
- ...de,
25
+ }, ye = /* @__PURE__ */ K({
26
+ ...ae,
29
27
  __name: "TextField",
30
28
  props: {
31
29
  modelValue: { default: "" },
@@ -55,31 +53,31 @@ const Z = (e) => (j("data-v-473bab9b"), e = e(), q(), e), _ = {
55
53
  inlineErrorText: { default: "" }
56
54
  },
57
55
  emits: ["update:modelValue", "apply"],
58
- setup(e, { expose: $, emit: I }) {
59
- const s = e, c = Y(s.testId, f), P = () => {
60
- s.showApply ? I("apply") : d?.confirmable && O();
61
- }, z = () => A.value.focus(), {
62
- onConfirm: O,
63
- onEnter: B,
64
- inputRef: A,
65
- isFocused: k,
66
- showLabelInside: V,
67
- api: d,
68
- labelText: D,
69
- sizeClass: N,
70
- handleInput: C,
71
- handleKeypress: E
72
- } = Q(s, I), L = w(() => d.value?.value ?? s.modelValue), H = w(() => (L.value || "").length), m = G(!1), R = w(() => m.value && s.type === "password" ? "text" : s.type);
73
- return $({
74
- manualFocus: z
75
- }), (r, a) => (l(), o("div", y({
56
+ setup(e, { expose: P, emit: k }) {
57
+ const s = e, c = X(s.testId, f), z = () => {
58
+ s.showApply ? k("apply") : o?.confirmable && D();
59
+ }, O = () => T.value.focus(), {
60
+ onConfirm: D,
61
+ onEnter: w,
62
+ inputRef: T,
63
+ isFocused: x,
64
+ showLabelInside: g,
65
+ api: o,
66
+ labelText: N,
67
+ sizeClass: S,
68
+ handleInput: I,
69
+ handleKeypress: B
70
+ } = q(s, k), A = h(() => o.value?.value ?? s.modelValue), H = h(() => (A.value || "").length), m = M(!1), R = h(() => m.value && s.type === "password" ? "text" : s.type);
71
+ return P({
72
+ manualFocus: O
73
+ }), (u, a) => (l(), r("div", y({
76
74
  class: {
77
75
  "input-with-label-container": !0,
78
76
  disabled: e.disabled,
79
77
  [`variant-${e.feedbackVariant}`]: !0
80
78
  }
81
79
  }, t(c)[t(f).WRAPPER]), [
82
- e.label && e.labelDirection !== "inside" ? (l(), u(U, {
80
+ e.label && e.labelDirection !== "inside" ? (l(), d(J, {
83
81
  key: 0,
84
82
  label: e.label,
85
83
  mandatory: e.mandatory,
@@ -88,72 +86,72 @@ const Z = (e) => (j("data-v-473bab9b"), e = e(), q(), e), _ = {
88
86
  disabled: e.disabled,
89
87
  "test-id": e.testId
90
88
  }, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : n("", !0),
91
- g("div", {
92
- class: M({
89
+ L("div", {
90
+ class: G({
93
91
  "input-container": !0,
94
- "label-inside": t(V),
95
- focused: t(k)
92
+ "label-inside": t(g),
93
+ focused: t(x)
96
94
  })
97
95
  }, [
98
- r.$slots.iconBefore ? (l(), o("div", _, [
99
- F(r.$slots, "iconBefore", {}, void 0, !0)
96
+ u.$slots.iconBefore ? (l(), r("div", Y, [
97
+ V(u.$slots, "iconBefore", {}, void 0, !0)
100
98
  ])) : n("", !0),
101
- e.prefix ? (l(), u(t(T), {
99
+ e.prefix ? (l(), d(t($), {
102
100
  key: 1,
103
101
  class: "prefix-text",
104
102
  variant: "body1"
105
103
  }, {
106
- default: v(() => [
107
- h(x(e.prefix), 1)
104
+ default: b(() => [
105
+ C(E(e.prefix), 1)
108
106
  ]),
109
107
  _: 1
110
108
  })) : n("", !0),
111
- g("input", y({ ...r.$attrs, ...t(c)[t(f).FIELD] }, {
109
+ L("input", y({ ...u.$attrs, ...t(c)[t(f).FIELD] }, {
112
110
  ref_key: "inputRef",
113
- ref: A,
114
- value: t(L),
115
- placeholder: t(D),
111
+ ref: T,
112
+ value: t(A),
113
+ placeholder: t(N),
116
114
  disabled: e.disabled || e.viewOnly,
117
115
  type: t(R),
118
116
  class: ["input", {
119
- [t(N)]: !0,
117
+ [t(S)]: !0,
120
118
  "view-only": e.viewOnly,
121
- "label-inside": t(V),
119
+ "label-inside": t(g),
122
120
  "hide-arrows": e.hideNumberArrows,
123
121
  "input-type": e.type
124
122
  }],
125
123
  step: e.step,
126
124
  maxlength: e.maxLength,
127
125
  onInput: a[0] || (a[0] = //@ts-ignore
128
- (...i) => t(C) && t(C)(...i)),
129
- onFocus: a[1] || (a[1] = (i) => k.value = !0),
130
- onBlur: a[2] || (a[2] = (i) => k.value = !1),
131
- onKeyup: a[3] || (a[3] = W(S(
126
+ (...i) => t(I) && t(I)(...i)),
127
+ onFocus: a[1] || (a[1] = (i) => x.value = !0),
128
+ onBlur: a[2] || (a[2] = (i) => x.value = !1),
129
+ onKeyup: a[3] || (a[3] = W(F(
132
130
  //@ts-ignore
133
- (...i) => t(B) && t(B)(...i),
131
+ (...i) => t(w) && t(w)(...i),
134
132
  ["prevent"]
135
133
  ), ["enter"])),
136
134
  onKeypress: a[4] || (a[4] = //@ts-ignore
137
- (...i) => t(E) && t(E)(...i))
138
- }), null, 16, ee),
139
- e.showApply || t(d)?.confirmable && !t(d)?.error?.value ? (l(), o("div", {
135
+ (...i) => t(B) && t(B)(...i))
136
+ }), null, 16, Z),
137
+ e.showApply || t(o)?.confirmable && !t(o)?.error?.value ? (l(), r("div", {
140
138
  key: 2,
141
139
  class: "apply-button",
142
- onClick: S(P, ["stop", "prevent"])
140
+ onClick: F(z, ["stop", "prevent"])
143
141
  }, [
144
- b(t(p), {
142
+ p(t(v), {
145
143
  name: "check",
146
144
  size: "20px"
147
145
  })
148
- ], 8, te)) : n("", !0),
149
- e.inlineError || t(d)?.error?.value ? (l(), o("div", le, [
150
- b(t(J), y({
151
- disabled: !e.inlineErrorText && !t(d)?.error?.value,
152
- text: e.inlineErrorText || t(d)?.error?.value,
146
+ ], 8, _)) : n("", !0),
147
+ e.inlineError || t(o)?.error?.value ? (l(), r("div", ee, [
148
+ p(t(j), y({
149
+ disabled: !e.inlineErrorText && !t(o)?.error?.value,
150
+ text: e.inlineErrorText || t(o)?.error?.value,
153
151
  "test-id": e.testId
154
152
  }, t(c)[t(f).TOOLTIP]), {
155
- default: v(() => [
156
- b(t(p), {
153
+ default: b(() => [
154
+ p(t(v), {
157
155
  name: "warning-circle",
158
156
  size: "16px"
159
157
  })
@@ -161,58 +159,53 @@ const Z = (e) => (j("data-v-473bab9b"), e = e(), q(), e), _ = {
161
159
  _: 1
162
160
  }, 16, ["disabled", "text", "test-id"])
163
161
  ])) : n("", !0),
164
- e.suffix ? (l(), u(t(T), {
162
+ e.suffix ? (l(), d(t($), {
165
163
  key: 4,
166
164
  class: "suffix-text",
167
165
  variant: "body1"
168
166
  }, {
169
- default: v(() => [
170
- h(x(e.suffix), 1)
167
+ default: b(() => [
168
+ C(E(e.suffix), 1)
171
169
  ]),
172
170
  _: 1
173
171
  })) : n("", !0),
174
- e.type === "password" ? (l(), o("div", y({
172
+ e.type === "password" ? (l(), r("div", y({
175
173
  key: 5,
176
174
  class: "password-visibility-toggle"
177
175
  }, t(c)[t(f).TOGGLE_PASSWORD], {
178
176
  onClick: a[5] || (a[5] = (i) => m.value = !m.value)
179
177
  }), [
180
- m.value ? (l(), u(t(p), {
178
+ m.value ? (l(), d(t(v), {
181
179
  key: 0,
182
180
  name: "eye",
183
181
  size: "16px"
184
- })) : (l(), u(t(p), {
182
+ })) : (l(), d(t(v), {
185
183
  key: 1,
186
184
  name: "eye-slash",
187
185
  size: "16px"
188
186
  }))
189
187
  ], 16)) : n("", !0),
190
- r.$slots.iconAfter ? (l(), o("div", ae, [
191
- F(r.$slots, "iconAfter", {}, void 0, !0)
188
+ u.$slots.iconAfter ? (l(), r("div", te, [
189
+ V(u.$slots, "iconAfter", {}, void 0, !0)
192
190
  ])) : n("", !0)
193
191
  ], 2),
194
- e.feedbackText || e.maxLength ? (l(), o("div", ne, [
195
- e.feedbackText ? (l(), u(X, {
192
+ e.feedbackText || e.maxLength ? (l(), r("div", le, [
193
+ e.feedbackText ? (l(), d(Q, {
196
194
  key: 0,
197
195
  text: e.feedbackText,
198
196
  variant: e.feedbackVariant,
199
197
  "show-icon": e.showFeedbackTextIcon,
200
198
  "test-id": e.testId
201
199
  }, null, 8, ["text", "variant", "show-icon", "test-id"])) : n("", !0),
202
- e.maxLength ? (l(), o("div", ie, [
203
- b(t(T), { variant: "caption" }, {
204
- default: v(() => [
205
- h(x(t(H)) + " ", 1),
206
- oe,
207
- h(" " + x(e.maxLength), 1)
208
- ]),
209
- _: 1
210
- })
211
- ])) : n("", !0)
200
+ e.maxLength ? (l(), d(U, {
201
+ key: 1,
202
+ "current-length": t(H),
203
+ "max-length": e.maxLength
204
+ }, null, 8, ["current-length", "max-length"])) : n("", !0)
212
205
  ])) : n("", !0)
213
206
  ], 16));
214
207
  }
215
208
  });
216
209
  export {
217
- xe as default
210
+ ye as default
218
211
  };