@ironsource/shared-ui 1.4.2-test.7 → 1.4.2
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.
- package/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Heading.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/README.md +1 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/components/appIcon/AppIcon.vue.d.ts +1 -1
- package/components/appIcon/AppIcon.vue.js +3 -3
- package/components/appIcon/index.d.ts +1 -1
- package/components/appTrigger/AppTrigger.vue.d.ts +6 -1
- package/components/appTrigger/AppTrigger.vue.js +49 -39
- package/components/appTrigger/index.d.ts +12 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +6 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +20 -19
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +6 -1
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +19 -13
- package/components/autocompleteDropdown/GroupOption.vue.d.ts +1 -1
- package/components/autocompleteDropdown/GroupOption.vue.js +3 -4
- package/components/autocompleteDropdown/index.d.ts +12 -1
- package/components/banner/Banner.vue.d.ts +10 -1
- package/components/banner/Banner.vue.js +24 -13
- package/components/banner/index.d.ts +10 -1
- package/components/button/Button.vue.d.ts +6 -1
- package/components/button/Button.vue.js +17 -15
- package/components/button/ButtonBase.vue.d.ts +1 -1
- package/components/button/ButtonBase.vue.js +11 -12
- package/components/button/IconButton.vue.d.ts +1 -1
- package/components/button/IconButton.vue.js +5 -5
- package/components/button/ScrollButton.vue.d.ts +1 -1
- package/components/button/ScrollButton.vue.js +8 -9
- package/components/button/index.d.ts +20 -9
- package/components/checkbox/Checkbox.vue.d.ts +6 -1
- package/components/checkbox/Checkbox.vue.js +33 -28
- package/components/checkbox/index.d.ts +12 -1
- package/components/chip/Chip.vue.d.ts +6 -1
- package/components/chip/Chip.vue.js +16 -11
- package/components/chip/index.d.ts +12 -1
- package/components/datePicker/DatePicker.vue.d.ts +6 -1
- package/components/datePicker/DatePicker.vue.js +22 -17
- package/components/datePicker/DatePickerMonth.vue.d.ts +6 -1
- package/components/datePicker/DatePickerMonth.vue.js +9 -7
- package/components/datePicker/index.d.ts +12 -1
- package/components/dateRange/CalendarMonth.vue.d.ts +6 -1
- package/components/dateRange/CalendarMonth.vue.js +58 -41
- package/components/dateRange/DateRange.vue.d.ts +6 -1
- package/components/dateRange/DateRange.vue.js +72 -61
- package/components/dateRange/DateRangePicker.vue.d.ts +6 -1
- package/components/dateRange/index.d.ts +12 -1
- package/components/dialog/Dialog.vue.d.ts +6 -1
- package/components/dialog/Dialog.vue.js +49 -34
- package/components/dialog/index.d.ts +12 -1
- package/components/dropdown/Dropdown.vue.d.ts +6 -1
- package/components/dropdown/Dropdown.vue.js +112 -88
- package/components/dropdown/Label.vue.d.ts +1 -1
- package/components/dropdown/Label.vue.js +3 -4
- package/components/dropdown/Option.vue.d.ts +1 -1
- package/components/dropdown/Option.vue.js +16 -17
- package/components/dropdown/SearchInput.vue.d.ts +1 -1
- package/components/dropdown/SearchInput.vue.js +6 -6
- package/components/dropdown/index.d.ts +409 -1
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +19 -21
- package/components/emptyState/index.d.ts +4 -4
- package/components/filterDropdown/AddFilterButton.vue.d.ts +3 -1
- package/components/filterDropdown/AddFilterButton.vue.js +11 -9
- package/components/filterDropdown/FilterDropdown.vue.d.ts +6 -1
- package/components/filterDropdown/FilterDropdown.vue.js +21 -20
- package/components/filterDropdown/index.d.ts +19 -2
- package/components/filtersPanel/FilterSearchInput.vue.d.ts +1 -1
- package/components/filtersPanel/FilterSearchInput.vue.js +7 -7
- package/components/filtersPanel/FiltersPanel.vue.d.ts +6 -1
- package/components/filtersPanel/FiltersPanel.vue.js +15 -12
- package/components/filtersPanel/index.d.ts +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.d.ts +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.js +3 -3
- package/components/floatingToolbar/index.d.ts +1 -1
- package/components/icon/Icon.vue.d.ts +1 -1
- package/components/icon/Icon.vue.js +4 -5
- package/components/icon/icons/index.d.ts +0 -3
- package/components/icon/icons/index.vue.js +0 -3
- package/components/icon/index.d.ts +1 -4
- package/components/icon/storyComponents/Code.vue.d.ts +1 -1
- package/components/icon/storyComponents/IconWrapper.vue.d.ts +1 -1
- package/components/icon/storyComponents/Page.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.d.ts +6 -14
- package/components/includeExclude/IncludeExclude.vue.js +123 -187
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +22 -24
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +19 -22
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +40 -42
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.js +21 -22
- package/components/includeExclude/includeExcludeMocks.d.ts +0 -12
- package/components/includeExclude/index.d.ts +28 -32
- package/components/includeExclude/index.vue.js +0 -3
- package/components/input/DollarInput.vue.d.ts +2 -2
- package/components/input/DollarInput.vue.js +3 -4
- package/components/input/Input.vue.d.ts +11 -1
- package/components/input/Input.vue.js +87 -64
- package/components/input/PasswordInput.vue.d.ts +2 -2
- package/components/input/PasswordInput.vue.js +3 -4
- package/components/input/PercentageInput.vue.d.ts +2 -2
- package/components/input/PercentageInput.vue.js +3 -4
- package/components/input/index.d.ts +36 -2
- package/components/menu/Menu.vue.d.ts +6 -1
- package/components/menu/Menu.vue.js +10 -8
- package/components/menu/index.d.ts +12 -1
- package/components/menuItem/MenuItem.vue.d.ts +1 -1
- package/components/menuItem/MenuItem.vue.js +3 -4
- package/components/menuItem/index.d.ts +1 -1
- package/components/popover/Popover.vue.d.ts +6 -1
- package/components/popover/Popover.vue.js +11 -9
- package/components/popover/index.d.ts +12 -1
- package/components/radioButton/RadioButton.vue.d.ts +6 -1
- package/components/radioButton/RadioButton.vue.js +24 -17
- package/components/radioButton/RadioGroup.vue.d.ts +6 -1
- package/components/radioButton/RadioGroup.vue.js +12 -8
- package/components/radioButton/index.d.ts +24 -2
- package/components/radioButton/useRadio.d.ts +1 -1
- package/components/search/Search.vue.d.ts +6 -1
- package/components/search/Search.vue.js +27 -21
- package/components/search/index.d.ts +12 -1
- package/components/skeleton/Skeleton.vue.d.ts +1 -1
- package/components/skeleton/Skeleton.vue.js +2 -2
- package/components/skeleton/index.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.js +26 -26
- package/components/switch/Switch.vue.d.ts +6 -1
- package/components/switch/Switch.vue.js +24 -16
- package/components/switch/index.d.ts +12 -1
- package/components/table/Table.types.d.ts +0 -1
- package/components/table/Table.vue.d.ts +6 -11
- package/components/table/Table.vue.js +80 -79
- package/components/table/TableHeaderSorter.vue.d.ts +1 -1
- package/components/table/TableHeaderSorter.vue.js +4 -4
- package/components/table/index.d.ts +12 -23
- package/components/table-cells/Editable.vue.d.ts +1 -1
- package/components/table-cells/Editable.vue.js +4 -4
- package/components/table-cells/index.d.ts +1 -1
- package/components/tabs/Tabs.vue.d.ts +6 -1
- package/components/tabs/Tabs.vue.js +29 -25
- package/components/tabs/index.d.ts +12 -1
- package/components/textArea/TextArea.vue.d.ts +6 -1
- package/components/textArea/TextArea.vue.js +32 -26
- package/components/textArea/index.d.ts +12 -1
- package/components/toggle/Toggle.vue.d.ts +11 -1
- package/components/toggle/Toggle.vue.js +48 -32
- package/components/toggle/index.d.ts +23 -1
- package/components/tooltip/TextWithTitleContent.vue.d.ts +16 -3
- package/components/tooltip/TextWithTitleContent.vue.js +17 -13
- package/components/tooltip/Tooltip.vue.d.ts +6 -1
- package/components/tooltip/Tooltip.vue.js +18 -15
- package/components/tooltip/index.d.ts +12 -1
- package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +1 -1
- package/components/typography/Heading.vue.d.ts +6 -1
- package/components/typography/Heading.vue.js +10 -7
- package/components/typography/Text.vue.d.ts +6 -1
- package/components/typography/Text.vue.js +10 -6
- package/components/typography/index.d.ts +24 -2
- package/consts/regex.d.ts +1 -0
- package/consts/regex.vue.js +3 -0
- package/consts/style.d.ts +1 -0
- package/consts/style.vue.js +3 -0
- package/index.vue.js +3 -4
- package/package.json +4 -5
- package/testids/index.d.ts +146 -0
- package/testids/index.vue.js +170 -0
- package/utils/style.d.ts +1 -0
- package/utils/style.vue.js +5 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/components/icon/icons/TableEdit.vue.d.ts +0 -2
- package/components/icon/icons/TableEdit.vue.js +0 -24
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +0 -43
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +0 -123
- package/components/table/Pagination.vue.d.ts +0 -43
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import IncludeExclude from './IncludeExclude.vue';
|
|
2
2
|
import IncludeExcludeOption from './IncludeExcludeOption.vue';
|
|
3
|
-
import IncludeExcludeOptionDraggable from './IncludeExcludeOptionDraggable.vue';
|
|
4
3
|
import IncludeExcludeAppTrigger from './IncludeExcludeAppTrigger.vue';
|
|
5
4
|
import IncludeExcludeAppHeader from './IncludeExcludeAppHeader.vue';
|
|
6
5
|
import IncludeExcludeChipFilter from './IncludeExcludeChipFilter.vue';
|
|
7
6
|
declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
7
|
+
testId: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
} & {
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
8
12
|
loading: {
|
|
9
13
|
type: import("vue").PropType<boolean>;
|
|
10
14
|
} & {
|
|
@@ -91,25 +95,18 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
91
95
|
} & {
|
|
92
96
|
default: number;
|
|
93
97
|
};
|
|
94
|
-
isDraggable: {
|
|
95
|
-
type: import("vue").PropType<boolean>;
|
|
96
|
-
} & {
|
|
97
|
-
default: boolean;
|
|
98
|
-
};
|
|
99
|
-
draggableArgs: {
|
|
100
|
-
type: import("vue").PropType<object>;
|
|
101
|
-
} & {
|
|
102
|
-
default: any;
|
|
103
|
-
};
|
|
104
98
|
keyField: {
|
|
105
99
|
type: import("vue").PropType<string>;
|
|
106
100
|
required: true;
|
|
107
101
|
};
|
|
108
102
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
109
103
|
"update:modelValue": (value: unknown) => void;
|
|
110
|
-
} & {
|
|
111
|
-
changeDragDrop: (value: unknown) => void;
|
|
112
104
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
+
testId: {
|
|
106
|
+
type: import("vue").PropType<string>;
|
|
107
|
+
} & {
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
113
110
|
loading: {
|
|
114
111
|
type: import("vue").PropType<boolean>;
|
|
115
112
|
} & {
|
|
@@ -196,24 +193,14 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
196
193
|
} & {
|
|
197
194
|
default: number;
|
|
198
195
|
};
|
|
199
|
-
isDraggable: {
|
|
200
|
-
type: import("vue").PropType<boolean>;
|
|
201
|
-
} & {
|
|
202
|
-
default: boolean;
|
|
203
|
-
};
|
|
204
|
-
draggableArgs: {
|
|
205
|
-
type: import("vue").PropType<object>;
|
|
206
|
-
} & {
|
|
207
|
-
default: any;
|
|
208
|
-
};
|
|
209
196
|
keyField: {
|
|
210
197
|
type: import("vue").PropType<string>;
|
|
211
198
|
required: true;
|
|
212
199
|
};
|
|
213
200
|
}>> & {
|
|
214
201
|
"onUpdate:modelValue"?: (value: unknown) => any;
|
|
215
|
-
onChangeDragDrop?: (value: unknown) => any;
|
|
216
202
|
}, {
|
|
203
|
+
testId: string;
|
|
217
204
|
loading: boolean;
|
|
218
205
|
placement: import("floating-vue").Placement;
|
|
219
206
|
disabled: boolean;
|
|
@@ -229,9 +216,7 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
229
216
|
alwayesOpen: boolean;
|
|
230
217
|
distanceOffset: number;
|
|
231
218
|
skiddingOffset: number;
|
|
232
|
-
|
|
233
|
-
draggableArgs: object;
|
|
234
|
-
}, {}> | import("vue").DefineComponent<{
|
|
219
|
+
}> | import("vue").DefineComponent<{
|
|
235
220
|
option: {
|
|
236
221
|
type: import("vue").PropType<unknown>;
|
|
237
222
|
required: true;
|
|
@@ -256,6 +241,11 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
256
241
|
} & {
|
|
257
242
|
default: string;
|
|
258
243
|
};
|
|
244
|
+
showCheckbox: {
|
|
245
|
+
type: import("vue").PropType<boolean>;
|
|
246
|
+
} & {
|
|
247
|
+
default: boolean;
|
|
248
|
+
};
|
|
259
249
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
260
250
|
option: {
|
|
261
251
|
type: import("vue").PropType<unknown>;
|
|
@@ -281,12 +271,18 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
281
271
|
} & {
|
|
282
272
|
default: string;
|
|
283
273
|
};
|
|
274
|
+
showCheckbox: {
|
|
275
|
+
type: import("vue").PropType<boolean>;
|
|
276
|
+
} & {
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
284
279
|
}>>, {
|
|
285
280
|
disabled: boolean;
|
|
286
281
|
subtitle: string;
|
|
287
282
|
clearable: boolean;
|
|
288
283
|
titleText: string;
|
|
289
|
-
|
|
284
|
+
showCheckbox: boolean;
|
|
285
|
+
}> | import("vue").DefineComponent<{
|
|
290
286
|
loading: {
|
|
291
287
|
type: import("vue").PropType<boolean>;
|
|
292
288
|
required: true;
|
|
@@ -324,7 +320,7 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
324
320
|
loading: boolean;
|
|
325
321
|
selected: import("./includeExcludeMocks").Application[];
|
|
326
322
|
options: import("./includeExcludeMocks").Application[];
|
|
327
|
-
}
|
|
323
|
+
}> | import("vue").DefineComponent<{
|
|
328
324
|
modelValue: {
|
|
329
325
|
type: import("vue").PropType<import("./includeExcludeMocks").Application[]>;
|
|
330
326
|
required: true;
|
|
@@ -483,7 +479,7 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
483
479
|
imgProps: any;
|
|
484
480
|
optionProps: any;
|
|
485
481
|
isLoading: boolean;
|
|
486
|
-
}
|
|
482
|
+
}> | import("vue").DefineComponent<{
|
|
487
483
|
options: {
|
|
488
484
|
type: import("vue").PropType<unknown[]>;
|
|
489
485
|
required: true;
|
|
@@ -703,5 +699,5 @@ declare const IncludeExcludeTypes: () => (import("vue").DefineComponent<{
|
|
|
703
699
|
textKey: string;
|
|
704
700
|
showImage: boolean;
|
|
705
701
|
triggerTextFunc: (option: unknown) => string;
|
|
706
|
-
}
|
|
707
|
-
export { IncludeExclude, IncludeExcludeOption,
|
|
702
|
+
}>)[];
|
|
703
|
+
export { IncludeExclude, IncludeExcludeOption, IncludeExcludeAppTrigger, IncludeExcludeAppHeader, IncludeExcludeChipFilter, IncludeExcludeTypes, };
|
|
@@ -2,8 +2,6 @@ import IncludeExclude from './IncludeExclude.vue.js';
|
|
|
2
2
|
export { default as IncludeExclude } from './IncludeExclude.vue.js';
|
|
3
3
|
import IncludeExcludeOption from './IncludeExcludeOption.vue.js';
|
|
4
4
|
export { default as IncludeExcludeOption } from './IncludeExcludeOption.vue.js';
|
|
5
|
-
import IncludeExcludeOptionDraggable from './IncludeExcludeOptionDraggable.vue.js';
|
|
6
|
-
export { default as IncludeExcludeOptionDraggable } from './IncludeExcludeOptionDraggable.vue.js';
|
|
7
5
|
import IncludeExcludeAppTrigger from './IncludeExcludeAppTrigger.vue.js';
|
|
8
6
|
export { default as IncludeExcludeAppTrigger } from './IncludeExcludeAppTrigger.vue.js';
|
|
9
7
|
import IncludeExcludeAppHeader from './IncludeExcludeAppHeader.vue.js';
|
|
@@ -14,7 +12,6 @@ export { default as IncludeExcludeChipFilter } from './IncludeExcludeChipFilter.
|
|
|
14
12
|
const IncludeExcludeTypes = () => [
|
|
15
13
|
IncludeExclude,
|
|
16
14
|
IncludeExcludeOption,
|
|
17
|
-
IncludeExcludeOptionDraggable,
|
|
18
15
|
IncludeExcludeAppTrigger,
|
|
19
16
|
IncludeExcludeAppHeader,
|
|
20
17
|
IncludeExcludeChipFilter
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Input from './Input.vue';
|
|
2
2
|
import { ExtractComponentProps } from '../../utils/extract-props';
|
|
3
3
|
export type DollarPropsType = Omit<ExtractComponentProps<typeof Input>, 'type' | 'hideNumberArrows' | 'step'>;
|
|
4
|
-
export interface DollarProps extends
|
|
4
|
+
export interface DollarProps extends DollarPropsType {
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<DollarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: number) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DollarProps>>> & {
|
|
9
9
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
10
|
-
}, {}
|
|
10
|
+
}, {}>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
13
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, unref, createTextVNode } from 'vue';
|
|
2
2
|
import Input from './Input.vue.js';
|
|
3
|
-
import '
|
|
3
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
4
|
import Text from '../typography/Text.vue.js';
|
|
5
|
-
/* empty css */
|
|
6
|
-
|
|
5
|
+
/* empty css */
|
|
7
6
|
import "../../DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
7
|
const _sfc_main = defineComponent({
|
|
9
8
|
__name: "DollarInput",
|
|
@@ -33,6 +32,6 @@ const _sfc_main = defineComponent({
|
|
|
33
32
|
};
|
|
34
33
|
}
|
|
35
34
|
});
|
|
36
|
-
var DollarInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
35
|
+
var DollarInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b96666f4"]]);
|
|
37
36
|
|
|
38
37
|
export { DollarInput as default };
|
|
@@ -15,6 +15,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
15
15
|
step?: number;
|
|
16
16
|
hoverHelpText?: string;
|
|
17
17
|
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';
|
|
18
|
+
onlyDigits?: boolean;
|
|
19
|
+
testId?: string;
|
|
18
20
|
}>, {
|
|
19
21
|
modelValue: string;
|
|
20
22
|
placeholder: string;
|
|
@@ -32,6 +34,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
32
34
|
step: number;
|
|
33
35
|
hoverHelpText: string;
|
|
34
36
|
hoverHelpTextPlacement: string;
|
|
37
|
+
onlyDigits: boolean;
|
|
38
|
+
testId: string;
|
|
35
39
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
40
|
"update:modelValue": (value: string | number) => void;
|
|
37
41
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -51,6 +55,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
51
55
|
step?: number;
|
|
52
56
|
hoverHelpText?: string;
|
|
53
57
|
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';
|
|
58
|
+
onlyDigits?: boolean;
|
|
59
|
+
testId?: string;
|
|
54
60
|
}>, {
|
|
55
61
|
modelValue: string;
|
|
56
62
|
placeholder: string;
|
|
@@ -68,12 +74,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
68
74
|
step: number;
|
|
69
75
|
hoverHelpText: string;
|
|
70
76
|
hoverHelpTextPlacement: string;
|
|
77
|
+
onlyDigits: boolean;
|
|
78
|
+
testId: string;
|
|
71
79
|
}>>> & {
|
|
72
80
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
73
81
|
}, {
|
|
74
82
|
size: 'sm' | 'lg';
|
|
75
83
|
label: string;
|
|
76
84
|
type: 'text' | 'number' | 'password';
|
|
85
|
+
testId: string;
|
|
77
86
|
disabled: boolean;
|
|
78
87
|
modelValue: string | number;
|
|
79
88
|
placeholder: string;
|
|
@@ -87,7 +96,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
87
96
|
step: number;
|
|
88
97
|
hoverHelpText: string;
|
|
89
98
|
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
|
-
|
|
99
|
+
onlyDigits: boolean;
|
|
100
|
+
}>;
|
|
91
101
|
export default _default;
|
|
92
102
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
93
103
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,36 +1,34 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, nextTick, openBlock, createElementBlock, normalizeClass,
|
|
2
|
-
import '../typography/Heading.vue.js';
|
|
3
|
-
import Text from '../typography/Text.vue.js';
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, nextTick, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString, createBlock, createCommentVNode, createElementVNode, renderSlot, mergeProps, withKeys, withModifiers } from 'vue';
|
|
4
2
|
import Icon from '../icon/Icon.vue.js';
|
|
3
|
+
import { InputTestIdModifiers } from '../../testids/index.vue.js';
|
|
4
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
5
|
+
import Text from '../typography/Text.vue.js';
|
|
6
|
+
/* empty css *//* empty css */import IconButton from '../button/IconButton.vue.js';
|
|
5
7
|
import _sfc_main$1 from '../tooltip/Tooltip.vue.js';
|
|
6
|
-
import '../
|
|
7
|
-
import
|
|
8
|
-
import '
|
|
9
|
-
|
|
10
|
-
import { useEditableContext } from '../table-cells/EditableContext.vue.js';
|
|
11
|
-
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
12
|
-
|
|
8
|
+
/* empty css */import { useEditableContext } from '../table-cells/EditableContext.vue.js';
|
|
9
|
+
import '@vueuse/core';
|
|
10
|
+
/* empty css */import { REGEX_NUMBER_INPUT } from '../../consts/regex.vue.js';
|
|
11
|
+
/* empty css */
|
|
13
12
|
import "../../Input.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
14
|
-
const _hoisted_1 =
|
|
15
|
-
const _hoisted_2 =
|
|
13
|
+
const _hoisted_1 = ["data-testid"];
|
|
14
|
+
const _hoisted_2 = ["data-testid"];
|
|
15
|
+
const _hoisted_3 = { class: "info-icon-wrapper" };
|
|
16
|
+
const _hoisted_4 = {
|
|
16
17
|
key: 0,
|
|
17
18
|
class: "icon-container icon-before"
|
|
18
19
|
};
|
|
19
|
-
const
|
|
20
|
-
const
|
|
20
|
+
const _hoisted_5 = ["value", "placeholder", "disabled", "type", "step", "data-testid", "onKeyup"];
|
|
21
|
+
const _hoisted_6 = {
|
|
21
22
|
key: 1,
|
|
22
23
|
class: "icon-container icon-after"
|
|
23
24
|
};
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
key: 1,
|
|
28
|
-
class: "extra-text-container"
|
|
29
|
-
};
|
|
25
|
+
const _hoisted_7 = { key: 2 };
|
|
26
|
+
const _hoisted_8 = { key: 3 };
|
|
27
|
+
const _hoisted_9 = ["data-testid"];
|
|
30
28
|
const __default__ = {
|
|
31
29
|
inheritAttrs: false
|
|
32
30
|
};
|
|
33
|
-
const _sfc_main = defineComponent({
|
|
31
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
32
|
...__default__,
|
|
35
33
|
__name: "Input",
|
|
36
34
|
props: {
|
|
@@ -49,7 +47,9 @@ const _sfc_main = defineComponent({
|
|
|
49
47
|
hideNumberArrows: { type: Boolean, default: false },
|
|
50
48
|
step: { default: 1 },
|
|
51
49
|
hoverHelpText: { default: "" },
|
|
52
|
-
hoverHelpTextPlacement: { default: "top" }
|
|
50
|
+
hoverHelpTextPlacement: { default: "top" },
|
|
51
|
+
onlyDigits: { type: Boolean, default: false },
|
|
52
|
+
testId: { default: "" }
|
|
53
53
|
},
|
|
54
54
|
emits: ["update:modelValue"],
|
|
55
55
|
setup(__props, { emit }) {
|
|
@@ -95,44 +95,60 @@ const _sfc_main = defineComponent({
|
|
|
95
95
|
api.onChange?.(event.target.value);
|
|
96
96
|
emit("update:modelValue", event.target.value);
|
|
97
97
|
};
|
|
98
|
+
const DECIMAL_POINT = ".";
|
|
99
|
+
const handleKeypress = (event) => {
|
|
100
|
+
if (props.onlyDigits) {
|
|
101
|
+
if (!event.key.match(REGEX_NUMBER_INPUT)) {
|
|
102
|
+
event.preventDefault();
|
|
103
|
+
} else if (event.key === DECIMAL_POINT && props.modelValue.toString().includes(DECIMAL_POINT)) {
|
|
104
|
+
event.preventDefault();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
};
|
|
98
108
|
return (_ctx, _cache) => {
|
|
99
109
|
return openBlock(), createElementBlock("div", {
|
|
100
110
|
class: normalizeClass({
|
|
101
111
|
"input-with-label-container": true,
|
|
102
|
-
"label-direction-left":
|
|
103
|
-
disabled:
|
|
104
|
-
})
|
|
112
|
+
"label-direction-left": __props.labelDirection === "left",
|
|
113
|
+
disabled: __props.disabled
|
|
114
|
+
}),
|
|
115
|
+
"data-testid": `${__props.testId}-${unref(InputTestIdModifiers).WRAPPER}`
|
|
105
116
|
}, [
|
|
106
|
-
|
|
117
|
+
__props.label && __props.labelDirection !== "inside" ? (openBlock(), createElementBlock("div", {
|
|
107
118
|
key: 0,
|
|
108
|
-
class: normalizeClass(["label-container", "direction-" +
|
|
119
|
+
class: normalizeClass(["label-container", "direction-" + __props.labelDirection]),
|
|
120
|
+
"data-testid": `${__props.testId}-${unref(InputTestIdModifiers).LABEL_CONTAINER}`
|
|
109
121
|
}, [
|
|
110
|
-
createVNode(unref(Text), {
|
|
122
|
+
createVNode(unref(Text), {
|
|
123
|
+
class: "label",
|
|
124
|
+
"data-testid": `${__props.testId}-${unref(InputTestIdModifiers).LABEL_TEXT}`
|
|
125
|
+
}, {
|
|
111
126
|
default: withCtx(() => [
|
|
112
|
-
createTextVNode(toDisplayString(
|
|
127
|
+
createTextVNode(toDisplayString(__props.label), 1)
|
|
113
128
|
]),
|
|
114
129
|
_: 1
|
|
115
|
-
}),
|
|
116
|
-
|
|
130
|
+
}, 8, ["data-testid"]),
|
|
131
|
+
__props.mandatory ? (openBlock(), createBlock(unref(Text), {
|
|
117
132
|
key: 0,
|
|
118
133
|
size: "lg",
|
|
119
|
-
class: "mandatory"
|
|
134
|
+
class: "mandatory",
|
|
135
|
+
"data-testid": `${__props.testId}-${unref(InputTestIdModifiers).MANDATORY}`
|
|
120
136
|
}, {
|
|
121
137
|
default: withCtx(() => [
|
|
122
138
|
createTextVNode("*")
|
|
123
139
|
]),
|
|
124
140
|
_: 1
|
|
125
|
-
})) : createCommentVNode("", true),
|
|
126
|
-
|
|
141
|
+
}, 8, ["data-testid"])) : createCommentVNode("", true),
|
|
142
|
+
__props.hoverHelpText ? (openBlock(), createBlock(unref(_sfc_main$1), {
|
|
127
143
|
key: 1,
|
|
128
144
|
triggers: ["hover"],
|
|
129
|
-
text:
|
|
130
|
-
placement:
|
|
145
|
+
text: __props.hoverHelpText,
|
|
146
|
+
placement: __props.hoverHelpTextPlacement,
|
|
131
147
|
size: "xs",
|
|
132
148
|
strong: true
|
|
133
149
|
}, {
|
|
134
150
|
default: withCtx(() => [
|
|
135
|
-
createElementVNode("div",
|
|
151
|
+
createElementVNode("div", _hoisted_3, [
|
|
136
152
|
createVNode(unref(Icon), {
|
|
137
153
|
class: "info-icon",
|
|
138
154
|
name: "info",
|
|
@@ -142,42 +158,44 @@ const _sfc_main = defineComponent({
|
|
|
142
158
|
]),
|
|
143
159
|
_: 1
|
|
144
160
|
}, 8, ["text", "placement"])) : createCommentVNode("", true)
|
|
145
|
-
],
|
|
161
|
+
], 10, _hoisted_2)) : createCommentVNode("", true),
|
|
146
162
|
createElementVNode("div", {
|
|
147
163
|
class: normalizeClass({
|
|
148
164
|
"input-container": true,
|
|
149
|
-
"label-inside": showLabelInside
|
|
150
|
-
error: unref(api).error?.value ||
|
|
165
|
+
"label-inside": unref(showLabelInside),
|
|
166
|
+
error: unref(api).error?.value || __props.feedbackErrorText,
|
|
151
167
|
focused: isFocused.value
|
|
152
168
|
})
|
|
153
169
|
}, [
|
|
154
|
-
_ctx.$slots["iconBefore"] ? (openBlock(), createElementBlock("div",
|
|
170
|
+
_ctx.$slots["iconBefore"] ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
155
171
|
renderSlot(_ctx.$slots, "iconBefore", {}, void 0, true)
|
|
156
172
|
])) : createCommentVNode("", true),
|
|
157
173
|
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
158
174
|
ref_key: "inputRef",
|
|
159
175
|
ref: inputRef,
|
|
160
|
-
value: unref(api).value?.value ??
|
|
161
|
-
placeholder: labelText
|
|
162
|
-
disabled:
|
|
163
|
-
type:
|
|
176
|
+
value: unref(api).value?.value ?? __props.modelValue,
|
|
177
|
+
placeholder: unref(labelText),
|
|
178
|
+
disabled: __props.disabled || __props.viewOnly,
|
|
179
|
+
type: __props.type,
|
|
164
180
|
class: ["input", {
|
|
165
|
-
[sizeClass
|
|
166
|
-
"view-only":
|
|
167
|
-
"label-inside": showLabelInside
|
|
168
|
-
"hide-arrows":
|
|
169
|
-
"input-type":
|
|
181
|
+
[unref(sizeClass)]: true,
|
|
182
|
+
"view-only": __props.viewOnly,
|
|
183
|
+
"label-inside": unref(showLabelInside),
|
|
184
|
+
"hide-arrows": __props.hideNumberArrows,
|
|
185
|
+
"input-type": __props.type
|
|
170
186
|
}],
|
|
171
|
-
step:
|
|
187
|
+
step: __props.step,
|
|
188
|
+
"data-testid": `${__props.testId}-${unref(InputTestIdModifiers).FIELD}`,
|
|
172
189
|
onInput: handleInput,
|
|
173
190
|
onFocus: _cache[0] || (_cache[0] = ($event) => isFocused.value = true),
|
|
174
191
|
onBlur: _cache[1] || (_cache[1] = ($event) => isFocused.value = false),
|
|
175
|
-
onKeyup: withKeys(withModifiers(onEnter, ["prevent"]), ["enter"])
|
|
176
|
-
|
|
177
|
-
|
|
192
|
+
onKeyup: withKeys(withModifiers(onEnter, ["prevent"]), ["enter"]),
|
|
193
|
+
onKeypress: handleKeypress
|
|
194
|
+
}), null, 16, _hoisted_5),
|
|
195
|
+
_ctx.$slots["iconAfter"] ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
178
196
|
renderSlot(_ctx.$slots, "iconAfter", {}, void 0, true)
|
|
179
197
|
])) : createCommentVNode("", true),
|
|
180
|
-
unref(api)?.confirmable && !unref(api)?.error?.value ? (openBlock(), createElementBlock("div",
|
|
198
|
+
unref(api)?.confirmable && !unref(api)?.error?.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
181
199
|
createVNode(unref(IconButton), {
|
|
182
200
|
class: "confirm-icon",
|
|
183
201
|
theme: "secondary",
|
|
@@ -193,9 +211,10 @@ const _sfc_main = defineComponent({
|
|
|
193
211
|
_: 1
|
|
194
212
|
}, 8, ["onClick"])
|
|
195
213
|
])) : createCommentVNode("", true),
|
|
196
|
-
unref(api)?.error?.value ? (openBlock(), createElementBlock("div",
|
|
214
|
+
unref(api)?.error?.value ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
197
215
|
createVNode(unref(_sfc_main$1), {
|
|
198
|
-
text: unref(api)?.error?.value
|
|
216
|
+
text: unref(api)?.error?.value,
|
|
217
|
+
"data-testid": `${__props.testId}-${unref(InputTestIdModifiers).TOOLTIP}`
|
|
199
218
|
}, {
|
|
200
219
|
default: withCtx(() => [
|
|
201
220
|
createVNode(unref(IconButton), {
|
|
@@ -213,24 +232,28 @@ const _sfc_main = defineComponent({
|
|
|
213
232
|
})
|
|
214
233
|
]),
|
|
215
234
|
_: 1
|
|
216
|
-
}, 8, ["text"])
|
|
235
|
+
}, 8, ["text", "data-testid"])
|
|
217
236
|
])) : createCommentVNode("", true)
|
|
218
237
|
], 2),
|
|
219
|
-
|
|
238
|
+
__props.feedbackErrorText || __props.feedbackHelpText ? (openBlock(), createElementBlock("div", {
|
|
239
|
+
key: 1,
|
|
240
|
+
class: "extra-text-container",
|
|
241
|
+
"data-testid": `${__props.testId}-${unref(InputTestIdModifiers).EXTRA_TEXT}`
|
|
242
|
+
}, [
|
|
220
243
|
createVNode(unref(Text), {
|
|
221
|
-
class: normalizeClass(
|
|
244
|
+
class: normalizeClass(__props.feedbackErrorText ? "error" : "help"),
|
|
222
245
|
size: "caption"
|
|
223
246
|
}, {
|
|
224
247
|
default: withCtx(() => [
|
|
225
|
-
createTextVNode(toDisplayString(
|
|
248
|
+
createTextVNode(toDisplayString(__props.feedbackErrorText || __props.feedbackHelpText), 1)
|
|
226
249
|
]),
|
|
227
250
|
_: 1
|
|
228
251
|
}, 8, ["class"])
|
|
229
|
-
])) : createCommentVNode("", true)
|
|
230
|
-
],
|
|
252
|
+
], 8, _hoisted_9)) : createCommentVNode("", true)
|
|
253
|
+
], 10, _hoisted_1);
|
|
231
254
|
};
|
|
232
255
|
}
|
|
233
256
|
});
|
|
234
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
257
|
+
var Input = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1ccecdef"]]);
|
|
235
258
|
|
|
236
259
|
export { Input as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Input from './Input.vue';
|
|
2
2
|
import { ExtractComponentProps } from '../../utils/extract-props';
|
|
3
3
|
export type PasswordPropsType = Omit<ExtractComponentProps<typeof Input>, 'type' | 'hideNumberArrows' | 'step'>;
|
|
4
|
-
export interface PasswordProps extends
|
|
4
|
+
export interface PasswordProps extends PasswordPropsType {
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PasswordProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: string | number) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PasswordProps>>> & {
|
|
9
9
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
10
|
-
}, {}
|
|
10
|
+
}, {}>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
13
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, openBlock, createBlock, mergeProps, withCtx, createVNode, unref, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import Input from './Input.vue.js';
|
|
3
|
-
import '
|
|
3
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
4
|
import Text from '../typography/Text.vue.js';
|
|
5
|
-
/* empty css */
|
|
6
|
-
|
|
5
|
+
/* empty css */
|
|
7
6
|
import "../../PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
7
|
const _sfc_main = defineComponent({
|
|
9
8
|
__name: "PasswordInput",
|
|
@@ -37,6 +36,6 @@ const _sfc_main = defineComponent({
|
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
38
|
});
|
|
40
|
-
var PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39
|
+
var PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-da9d5486"]]);
|
|
41
40
|
|
|
42
41
|
export { PasswordInput as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Input from './Input.vue';
|
|
2
2
|
import { ExtractComponentProps } from '../../utils/extract-props';
|
|
3
3
|
export type PercentagePropsType = Omit<ExtractComponentProps<typeof Input>, 'type' | 'hideNumberArrows'>;
|
|
4
|
-
export interface PercentageProps extends
|
|
4
|
+
export interface PercentageProps extends PercentagePropsType {
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PercentageProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: number) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PercentageProps>>> & {
|
|
9
9
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
10
|
-
}, {}
|
|
10
|
+
}, {}>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
13
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, unref, createTextVNode } from 'vue';
|
|
2
2
|
import Input from './Input.vue.js';
|
|
3
|
-
import '
|
|
3
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
4
|
import Text from '../typography/Text.vue.js';
|
|
5
|
-
/* empty css */
|
|
6
|
-
|
|
5
|
+
/* empty css */
|
|
7
6
|
import "../../PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
7
|
const _sfc_main = defineComponent({
|
|
9
8
|
__name: "PercentageInput",
|
|
@@ -33,6 +32,6 @@ const _sfc_main = defineComponent({
|
|
|
33
32
|
};
|
|
34
33
|
}
|
|
35
34
|
});
|
|
36
|
-
var PercentageInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
35
|
+
var PercentageInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7247a0d5"]]);
|
|
37
36
|
|
|
38
37
|
export { PercentageInput as default };
|