@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.
- package/Alert.vue_vue_type_style_index_0_scoped_72bcdcd0_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_f9d4e49d_lang.css +1 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_c7af6b8e_lang.css +1 -0
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_23e22560_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_9b108af3_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_24014c62_lang.css +1 -0
- package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_276bd901_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +1 -0
- package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +1 -0
- package/TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_dca4c102_lang.css +1 -0
- package/components/alert/Alert.vue.d.ts +75 -0
- package/components/alert/Alert.vue.js +7 -0
- package/components/alert/Alert.vue2.js +87 -0
- package/components/alert/index.d.ts +220 -0
- package/components/alert/index.js +6 -0
- package/components/appHeader/AppHeader.vue.js +3 -3
- package/components/appHeader/AppHeader.vue2.js +29 -26
- package/components/autocomplete/Autocomplete.vue.d.ts +115 -0
- package/components/autocomplete/Autocomplete.vue.js +7 -0
- package/components/autocomplete/Autocomplete.vue2.js +89 -0
- package/components/autocomplete/index.d.ts +364 -0
- package/components/autocomplete/index.js +6 -0
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/ButtonBase.vue.d.ts +1 -1
- package/components/button/v3/IconButton.vue.d.ts +1 -1
- package/components/button/v3/index.d.ts +34 -34
- package/components/button/v4/ButtonV4.vue.d.ts +1 -1
- package/components/button/v4/IconButtonV4.vue.d.ts +1 -1
- package/components/button/v4/index.d.ts +40 -40
- package/components/checkbox/v3/index.d.ts +12 -12
- package/components/checkbox/v4/index.d.ts +12 -12
- package/components/chip/v3/Chip.vue.d.ts +1 -1
- package/components/chip/v3/index.d.ts +20 -20
- package/components/chip/v4/ChipV4.vue.d.ts +1 -1
- package/components/chip/v4/index.d.ts +20 -20
- package/components/dialog/v4/index.d.ts +17 -17
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +34 -33
- package/components/dropdown/v3/Dropdown.vue.d.ts +11 -11
- package/components/dropdown/v3/index.d.ts +159 -159
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +4 -4
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +71 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +7 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +36 -0
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.d.ts +66 -0
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +7 -0
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +50 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +7 -7
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +29 -22
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +143 -130
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +9 -0
- package/components/dropdown/v4/index.d.ts +705 -610
- package/components/dropdown/v4/index.js +16 -10
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/filterDropdown/index.d.ts +8 -8
- package/components/forms/FormCard.vue.d.ts +5 -0
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +62 -36
- package/components/forms/FormRow.vue.d.ts +10 -0
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +22 -29
- package/components/forms/index.d.ts +59 -2
- package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +2 -2
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +3 -3
- package/components/includeExclude/index.d.ts +168 -168
- package/components/input/v3/Input.vue.d.ts +3 -3
- package/components/input/v3/index.d.ts +82 -82
- package/components/input/v4/TextField.vue.d.ts +7 -7
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +83 -90
- package/components/input/v4/index.d.ts +122 -122
- package/components/multibar/MultiBarMenu.vue2.js +13 -11
- package/components/search/v3/Search.vue.d.ts +1 -1
- package/components/search/v3/index.d.ts +9 -9
- package/components/shared/FieldMaxLength.vue.d.ts +34 -0
- package/components/shared/FieldMaxLength.vue.js +7 -0
- package/components/shared/FieldMaxLength.vue2.js +24 -0
- package/components/skeleton/v4/index.d.ts +2 -2
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +12 -12
- package/components/table/common/Table.types.d.ts +3 -0
- package/components/table/v4/DataGrid.vue.d.ts +2 -2
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +129 -123
- package/components/table/v4/DataGridMenu.vue2.js +13 -11
- package/components/table/v4/HelpIcon.vue.d.ts +40 -0
- package/components/table/v4/HelpIcon.vue.js +7 -0
- package/components/table/v4/HelpIcon.vue2.js +32 -0
- package/components/table/v4/index.d.ts +39 -39
- package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
- package/components/table-cells/v4/index.d.ts +20 -20
- package/components/tabs/v3/Tabs.vue.d.ts +1 -1
- package/components/tabs/v3/index.d.ts +20 -20
- package/components/textArea/v3/TextArea.vue.js +7 -0
- package/components/textArea/{TextArea.vue2.js → v3/TextArea.vue2.js} +4 -4
- package/components/textArea/v4/TextAreaV4.vue.d.ts +100 -0
- package/components/textArea/v4/TextAreaV4.vue.js +7 -0
- package/components/textArea/v4/TextAreaV4.vue2.js +74 -0
- package/components/textArea/v4/index.d.ts +136 -0
- package/components/textArea/v4/index.js +6 -0
- package/components/toggle/v3/Toggle.vue.d.ts +1 -1
- package/components/toggle/v3/index.d.ts +9 -9
- package/components/toggle/v4/ToggleV4.vue.d.ts +1 -1
- package/components/toggle/v4/index.d.ts +28 -28
- package/components/typography/index.d.ts +12 -12
- package/index.d.ts +2479 -1935
- package/index.js +131 -123
- package/package.json +11 -2
- package/testids/index.d.ts +9 -1
- package/testids/index.js +25 -24
- package/AppHeader.vue_vue_type_style_index_0_scoped_95908b8d_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_4baf9e57_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_78c1497e_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_ad5e4be0_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_39f48410_lang.css +0 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_889b62ac_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_473bab9b_lang.css +0 -1
- package/components/textArea/TextArea.vue.js +0 -7
- /package/components/textArea/{TextArea.vue.d.ts → v3/TextArea.vue.d.ts} +0 -0
- /package/components/textArea/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/textArea/{index.js → v3/index.js} +0 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
modelValue?: string | number;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
size?: "small" | "medium" | "large";
|
|
6
|
+
label?: string;
|
|
7
|
+
labelDirection?: "top" | "inside";
|
|
8
|
+
mandatory?: boolean;
|
|
9
|
+
hoverHelpText?: string;
|
|
10
|
+
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";
|
|
11
|
+
options: unknown[] | {
|
|
12
|
+
id: string;
|
|
13
|
+
text: string;
|
|
14
|
+
}[];
|
|
15
|
+
displayValue: (option: unknown) => string;
|
|
16
|
+
optionNameKey?: string;
|
|
17
|
+
optionsListWidth?: string;
|
|
18
|
+
onSearch?: (option: any, term: string) => boolean;
|
|
19
|
+
testId?: string;
|
|
20
|
+
}>, {
|
|
21
|
+
modelValue: string;
|
|
22
|
+
placeholder: string;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
size: string;
|
|
25
|
+
label: string;
|
|
26
|
+
labelDirection: string;
|
|
27
|
+
mandatory: boolean;
|
|
28
|
+
hoverHelpText: string;
|
|
29
|
+
hoverHelpTextPlacement: string;
|
|
30
|
+
onSearch: any;
|
|
31
|
+
optionNameKey: string;
|
|
32
|
+
optionsListWidth: any;
|
|
33
|
+
testId: string;
|
|
34
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
"update:modelValue": (value: string | number) => void;
|
|
36
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
37
|
+
modelValue?: string | number;
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
size?: "small" | "medium" | "large";
|
|
41
|
+
label?: string;
|
|
42
|
+
labelDirection?: "top" | "inside";
|
|
43
|
+
mandatory?: boolean;
|
|
44
|
+
hoverHelpText?: string;
|
|
45
|
+
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";
|
|
46
|
+
options: unknown[] | {
|
|
47
|
+
id: string;
|
|
48
|
+
text: string;
|
|
49
|
+
}[];
|
|
50
|
+
displayValue: (option: unknown) => string;
|
|
51
|
+
optionNameKey?: string;
|
|
52
|
+
optionsListWidth?: string;
|
|
53
|
+
onSearch?: (option: any, term: string) => boolean;
|
|
54
|
+
testId?: string;
|
|
55
|
+
}>, {
|
|
56
|
+
modelValue: string;
|
|
57
|
+
placeholder: string;
|
|
58
|
+
disabled: boolean;
|
|
59
|
+
size: string;
|
|
60
|
+
label: string;
|
|
61
|
+
labelDirection: string;
|
|
62
|
+
mandatory: boolean;
|
|
63
|
+
hoverHelpText: string;
|
|
64
|
+
hoverHelpTextPlacement: string;
|
|
65
|
+
onSearch: any;
|
|
66
|
+
optionNameKey: string;
|
|
67
|
+
optionsListWidth: any;
|
|
68
|
+
testId: string;
|
|
69
|
+
}>>> & {
|
|
70
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
71
|
+
}, {
|
|
72
|
+
label: string;
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
size: "small" | "medium" | "large";
|
|
75
|
+
mandatory: boolean;
|
|
76
|
+
testId: string;
|
|
77
|
+
hoverHelpText: string;
|
|
78
|
+
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";
|
|
79
|
+
modelValue: string | number;
|
|
80
|
+
placeholder: string;
|
|
81
|
+
labelDirection: "top" | "inside";
|
|
82
|
+
onSearch: (option: any, term: string) => boolean;
|
|
83
|
+
optionNameKey: string;
|
|
84
|
+
optionsListWidth: string;
|
|
85
|
+
}>, {
|
|
86
|
+
default?(_: {
|
|
87
|
+
option: unknown;
|
|
88
|
+
selected: boolean;
|
|
89
|
+
active: boolean;
|
|
90
|
+
disabled: any;
|
|
91
|
+
}): any;
|
|
92
|
+
}>;
|
|
93
|
+
export default _default;
|
|
94
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
95
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
96
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
97
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
98
|
+
} : {
|
|
99
|
+
type: import('vue').PropType<T[K]>;
|
|
100
|
+
required: true;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
type __VLS_WithDefaults<P, D> = {
|
|
104
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
105
|
+
default: D[K];
|
|
106
|
+
}> : P[K];
|
|
107
|
+
};
|
|
108
|
+
type __VLS_Prettify<T> = {
|
|
109
|
+
[K in keyof T]: T[K];
|
|
110
|
+
} & {};
|
|
111
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
112
|
+
new (): {
|
|
113
|
+
$slots: S;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./Autocomplete.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Autocomplete.vue_vue_type_style_index_0_scoped_c7af6b8e_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c7af6b8e"]]);
|
|
5
|
+
export {
|
|
6
|
+
p as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import "../../Autocomplete.vue_vue_type_style_index_0_scoped_c7af6b8e_lang.css"; import { defineComponent as h, computed as b, ref as r, watchEffect as y, openBlock as V, createBlock as x, unref as s, withCtx as f, createVNode as w, isRef as g, renderSlot as S, normalizeProps as k, guardReactiveProps as z } from "vue";
|
|
2
|
+
import C from "../dropdown/v4/DropdownV4.vue.js";
|
|
3
|
+
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
|
+
import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
5
|
+
import "../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
6
|
+
import "../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
7
|
+
import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
8
|
+
import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
9
|
+
import "../dropdown/v4/OptionV4.vue.js";
|
|
10
|
+
import F from "../input/v4/TextField.vue.js";
|
|
11
|
+
import { useVModel as I } from "@vueuse/core";
|
|
12
|
+
const R = /* @__PURE__ */ h({
|
|
13
|
+
__name: "Autocomplete",
|
|
14
|
+
props: {
|
|
15
|
+
modelValue: { default: "" },
|
|
16
|
+
placeholder: { default: "" },
|
|
17
|
+
disabled: { type: Boolean, default: !1 },
|
|
18
|
+
size: { default: "small" },
|
|
19
|
+
label: { default: "" },
|
|
20
|
+
labelDirection: { default: "top" },
|
|
21
|
+
mandatory: { type: Boolean, default: !1 },
|
|
22
|
+
hoverHelpText: { default: "" },
|
|
23
|
+
hoverHelpTextPlacement: { default: "top" },
|
|
24
|
+
options: null,
|
|
25
|
+
displayValue: null,
|
|
26
|
+
optionNameKey: { default: "" },
|
|
27
|
+
optionsListWidth: { default: null },
|
|
28
|
+
onSearch: { type: Function, default: null },
|
|
29
|
+
testId: { default: "" }
|
|
30
|
+
},
|
|
31
|
+
emits: ["update:modelValue"],
|
|
32
|
+
setup(e, { emit: p }) {
|
|
33
|
+
const a = e, d = I(a, "modelValue", p), m = (t) => {
|
|
34
|
+
t !== void 0 && (d.value = a.displayValue(t));
|
|
35
|
+
}, c = (t, l) => a.displayValue(t).toLowerCase().replace(/\s+/g, "").includes(l.toLowerCase().replace(/\s+/g, "")), n = b(() => {
|
|
36
|
+
const t = d.value.toString();
|
|
37
|
+
return (a.options || []).filter((l) => a.displayValue(l) !== t).filter(
|
|
38
|
+
(l) => a.onSearch !== null ? a.onSearch(l, t) : c(l, t)
|
|
39
|
+
);
|
|
40
|
+
}), o = r(!1), u = r(!1);
|
|
41
|
+
y(() => {
|
|
42
|
+
a.disabled ? o.value = !1 : u.value && n.value.length ? o.value = !0 : n.value.length === 0 && (o.value = !1);
|
|
43
|
+
});
|
|
44
|
+
const v = () => {
|
|
45
|
+
a.disabled || !o.value && n.value.length && (o.value = !0);
|
|
46
|
+
};
|
|
47
|
+
return (t, l) => (V(), x(s(C), {
|
|
48
|
+
"is-open": o.value,
|
|
49
|
+
"onUpdate:is-open": l[3] || (l[3] = (i) => o.value = i),
|
|
50
|
+
class: "autocomplete-dropdown",
|
|
51
|
+
"display-value": e.displayValue,
|
|
52
|
+
options: s(n),
|
|
53
|
+
"option-name-key": e.optionNameKey,
|
|
54
|
+
"options-list-width": e.optionsListWidth,
|
|
55
|
+
disabled: e.disabled,
|
|
56
|
+
"search-auto-focus": !1,
|
|
57
|
+
"full-width": !1,
|
|
58
|
+
"test-id": e.testId,
|
|
59
|
+
"onUpdate:selected": m
|
|
60
|
+
}, {
|
|
61
|
+
"dropdown-trigger": f(() => [
|
|
62
|
+
w(s(F), {
|
|
63
|
+
modelValue: s(d),
|
|
64
|
+
"onUpdate:modelValue": l[0] || (l[0] = (i) => g(d) ? d.value = i : null),
|
|
65
|
+
class: "autocomplete-field",
|
|
66
|
+
placeholder: e.placeholder,
|
|
67
|
+
disabled: e.disabled,
|
|
68
|
+
size: e.size,
|
|
69
|
+
label: e.label,
|
|
70
|
+
"label-direction": e.labelDirection,
|
|
71
|
+
mandatory: e.mandatory,
|
|
72
|
+
"hover-help-text": e.hoverHelpText,
|
|
73
|
+
"hover-help-text-placemen": e.hoverHelpTextPlacement,
|
|
74
|
+
"test-id": e.testId,
|
|
75
|
+
onFocusin: l[1] || (l[1] = (i) => u.value = !0),
|
|
76
|
+
onFocusout: l[2] || (l[2] = (i) => u.value = !1),
|
|
77
|
+
onClick: v
|
|
78
|
+
}, null, 8, ["modelValue", "placeholder", "disabled", "size", "label", "label-direction", "mandatory", "hover-help-text", "hover-help-text-placemen", "test-id"])
|
|
79
|
+
]),
|
|
80
|
+
default: f((i) => [
|
|
81
|
+
S(t.$slots, "default", k(z(i)), void 0, !0)
|
|
82
|
+
]),
|
|
83
|
+
_: 3
|
|
84
|
+
}, 8, ["is-open", "display-value", "options", "option-name-key", "options-list-width", "disabled", "test-id"]));
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
export {
|
|
88
|
+
R as default
|
|
89
|
+
};
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import Autocomplete from './Autocomplete.vue';
|
|
2
|
+
declare const AutocompleteTypes: () => ({
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
label: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
size: "small" | "medium" | "large";
|
|
10
|
+
mandatory: boolean;
|
|
11
|
+
testId: string;
|
|
12
|
+
hoverHelpText: string;
|
|
13
|
+
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";
|
|
14
|
+
modelValue: string | number;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
labelDirection: "top" | "inside";
|
|
17
|
+
onSearch: (option: any, term: string) => boolean;
|
|
18
|
+
optionNameKey: string;
|
|
19
|
+
optionsListWidth: string;
|
|
20
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
label: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: import("vue").PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
size: {
|
|
30
|
+
type: import("vue").PropType<"small" | "medium" | "large">;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
mandatory: {
|
|
34
|
+
type: import("vue").PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
testId: {
|
|
38
|
+
type: import("vue").PropType<string>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
options: {
|
|
42
|
+
type: import("vue").PropType<unknown[] | {
|
|
43
|
+
id: string;
|
|
44
|
+
text: string;
|
|
45
|
+
}[]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
hoverHelpText: {
|
|
49
|
+
type: import("vue").PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
hoverHelpTextPlacement: {
|
|
53
|
+
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">;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
modelValue: {
|
|
57
|
+
type: import("vue").PropType<string | number>;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
placeholder: {
|
|
61
|
+
type: import("vue").PropType<string>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
labelDirection: {
|
|
65
|
+
type: import("vue").PropType<"top" | "inside">;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
onSearch: {
|
|
69
|
+
type: import("vue").PropType<(option: any, term: string) => boolean>;
|
|
70
|
+
default: any;
|
|
71
|
+
};
|
|
72
|
+
displayValue: {
|
|
73
|
+
type: import("vue").PropType<(option: unknown) => string>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
optionNameKey: {
|
|
77
|
+
type: import("vue").PropType<string>;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
optionsListWidth: {
|
|
81
|
+
type: import("vue").PropType<string>;
|
|
82
|
+
default: any;
|
|
83
|
+
};
|
|
84
|
+
}>> & {
|
|
85
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
86
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "modelValue" | "placeholder" | "labelDirection" | "onSearch" | "optionNameKey" | "optionsListWidth">;
|
|
87
|
+
$attrs: {
|
|
88
|
+
[x: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
$refs: {
|
|
91
|
+
[x: string]: unknown;
|
|
92
|
+
};
|
|
93
|
+
$slots: Readonly<{
|
|
94
|
+
[name: string]: import("vue").Slot;
|
|
95
|
+
}>;
|
|
96
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
97
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
98
|
+
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
99
|
+
$el: any;
|
|
100
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
101
|
+
label: {
|
|
102
|
+
type: import("vue").PropType<string>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
disabled: {
|
|
106
|
+
type: import("vue").PropType<boolean>;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
size: {
|
|
110
|
+
type: import("vue").PropType<"small" | "medium" | "large">;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
mandatory: {
|
|
114
|
+
type: import("vue").PropType<boolean>;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
testId: {
|
|
118
|
+
type: import("vue").PropType<string>;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
options: {
|
|
122
|
+
type: import("vue").PropType<unknown[] | {
|
|
123
|
+
id: string;
|
|
124
|
+
text: string;
|
|
125
|
+
}[]>;
|
|
126
|
+
required: true;
|
|
127
|
+
};
|
|
128
|
+
hoverHelpText: {
|
|
129
|
+
type: import("vue").PropType<string>;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
hoverHelpTextPlacement: {
|
|
133
|
+
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">;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
modelValue: {
|
|
137
|
+
type: import("vue").PropType<string | number>;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
placeholder: {
|
|
141
|
+
type: import("vue").PropType<string>;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
labelDirection: {
|
|
145
|
+
type: import("vue").PropType<"top" | "inside">;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
onSearch: {
|
|
149
|
+
type: import("vue").PropType<(option: any, term: string) => boolean>;
|
|
150
|
+
default: any;
|
|
151
|
+
};
|
|
152
|
+
displayValue: {
|
|
153
|
+
type: import("vue").PropType<(option: unknown) => string>;
|
|
154
|
+
required: true;
|
|
155
|
+
};
|
|
156
|
+
optionNameKey: {
|
|
157
|
+
type: import("vue").PropType<string>;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
160
|
+
optionsListWidth: {
|
|
161
|
+
type: import("vue").PropType<string>;
|
|
162
|
+
default: any;
|
|
163
|
+
};
|
|
164
|
+
}>> & {
|
|
165
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
166
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
167
|
+
"update:modelValue": (value: string | number) => void;
|
|
168
|
+
}, string, {
|
|
169
|
+
label: string;
|
|
170
|
+
disabled: boolean;
|
|
171
|
+
size: "small" | "medium" | "large";
|
|
172
|
+
mandatory: boolean;
|
|
173
|
+
testId: string;
|
|
174
|
+
hoverHelpText: string;
|
|
175
|
+
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";
|
|
176
|
+
modelValue: string | number;
|
|
177
|
+
placeholder: string;
|
|
178
|
+
labelDirection: "top" | "inside";
|
|
179
|
+
onSearch: (option: any, term: string) => boolean;
|
|
180
|
+
optionNameKey: string;
|
|
181
|
+
optionsListWidth: string;
|
|
182
|
+
}, {}, string> & {
|
|
183
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
184
|
+
created?: (() => void) | (() => void)[];
|
|
185
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
186
|
+
mounted?: (() => void) | (() => void)[];
|
|
187
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
188
|
+
updated?: (() => void) | (() => void)[];
|
|
189
|
+
activated?: (() => void) | (() => void)[];
|
|
190
|
+
deactivated?: (() => void) | (() => void)[];
|
|
191
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
192
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
193
|
+
destroyed?: (() => void) | (() => void)[];
|
|
194
|
+
unmounted?: (() => void) | (() => void)[];
|
|
195
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
196
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
197
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
198
|
+
};
|
|
199
|
+
$forceUpdate: () => void;
|
|
200
|
+
$nextTick: typeof import("vue").nextTick;
|
|
201
|
+
$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;
|
|
202
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
203
|
+
label: {
|
|
204
|
+
type: import("vue").PropType<string>;
|
|
205
|
+
default: string;
|
|
206
|
+
};
|
|
207
|
+
disabled: {
|
|
208
|
+
type: import("vue").PropType<boolean>;
|
|
209
|
+
default: boolean;
|
|
210
|
+
};
|
|
211
|
+
size: {
|
|
212
|
+
type: import("vue").PropType<"small" | "medium" | "large">;
|
|
213
|
+
default: string;
|
|
214
|
+
};
|
|
215
|
+
mandatory: {
|
|
216
|
+
type: import("vue").PropType<boolean>;
|
|
217
|
+
default: boolean;
|
|
218
|
+
};
|
|
219
|
+
testId: {
|
|
220
|
+
type: import("vue").PropType<string>;
|
|
221
|
+
default: string;
|
|
222
|
+
};
|
|
223
|
+
options: {
|
|
224
|
+
type: import("vue").PropType<unknown[] | {
|
|
225
|
+
id: string;
|
|
226
|
+
text: string;
|
|
227
|
+
}[]>;
|
|
228
|
+
required: true;
|
|
229
|
+
};
|
|
230
|
+
hoverHelpText: {
|
|
231
|
+
type: import("vue").PropType<string>;
|
|
232
|
+
default: string;
|
|
233
|
+
};
|
|
234
|
+
hoverHelpTextPlacement: {
|
|
235
|
+
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">;
|
|
236
|
+
default: string;
|
|
237
|
+
};
|
|
238
|
+
modelValue: {
|
|
239
|
+
type: import("vue").PropType<string | number>;
|
|
240
|
+
default: string;
|
|
241
|
+
};
|
|
242
|
+
placeholder: {
|
|
243
|
+
type: import("vue").PropType<string>;
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
labelDirection: {
|
|
247
|
+
type: import("vue").PropType<"top" | "inside">;
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
onSearch: {
|
|
251
|
+
type: import("vue").PropType<(option: any, term: string) => boolean>;
|
|
252
|
+
default: any;
|
|
253
|
+
};
|
|
254
|
+
displayValue: {
|
|
255
|
+
type: import("vue").PropType<(option: unknown) => string>;
|
|
256
|
+
required: true;
|
|
257
|
+
};
|
|
258
|
+
optionNameKey: {
|
|
259
|
+
type: import("vue").PropType<string>;
|
|
260
|
+
default: string;
|
|
261
|
+
};
|
|
262
|
+
optionsListWidth: {
|
|
263
|
+
type: import("vue").PropType<string>;
|
|
264
|
+
default: any;
|
|
265
|
+
};
|
|
266
|
+
}>> & {
|
|
267
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
268
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
269
|
+
__isFragment?: never;
|
|
270
|
+
__isTeleport?: never;
|
|
271
|
+
__isSuspense?: never;
|
|
272
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
273
|
+
label: {
|
|
274
|
+
type: import("vue").PropType<string>;
|
|
275
|
+
default: string;
|
|
276
|
+
};
|
|
277
|
+
disabled: {
|
|
278
|
+
type: import("vue").PropType<boolean>;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
281
|
+
size: {
|
|
282
|
+
type: import("vue").PropType<"small" | "medium" | "large">;
|
|
283
|
+
default: string;
|
|
284
|
+
};
|
|
285
|
+
mandatory: {
|
|
286
|
+
type: import("vue").PropType<boolean>;
|
|
287
|
+
default: boolean;
|
|
288
|
+
};
|
|
289
|
+
testId: {
|
|
290
|
+
type: import("vue").PropType<string>;
|
|
291
|
+
default: string;
|
|
292
|
+
};
|
|
293
|
+
options: {
|
|
294
|
+
type: import("vue").PropType<unknown[] | {
|
|
295
|
+
id: string;
|
|
296
|
+
text: string;
|
|
297
|
+
}[]>;
|
|
298
|
+
required: true;
|
|
299
|
+
};
|
|
300
|
+
hoverHelpText: {
|
|
301
|
+
type: import("vue").PropType<string>;
|
|
302
|
+
default: string;
|
|
303
|
+
};
|
|
304
|
+
hoverHelpTextPlacement: {
|
|
305
|
+
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">;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
modelValue: {
|
|
309
|
+
type: import("vue").PropType<string | number>;
|
|
310
|
+
default: string;
|
|
311
|
+
};
|
|
312
|
+
placeholder: {
|
|
313
|
+
type: import("vue").PropType<string>;
|
|
314
|
+
default: string;
|
|
315
|
+
};
|
|
316
|
+
labelDirection: {
|
|
317
|
+
type: import("vue").PropType<"top" | "inside">;
|
|
318
|
+
default: string;
|
|
319
|
+
};
|
|
320
|
+
onSearch: {
|
|
321
|
+
type: import("vue").PropType<(option: any, term: string) => boolean>;
|
|
322
|
+
default: any;
|
|
323
|
+
};
|
|
324
|
+
displayValue: {
|
|
325
|
+
type: import("vue").PropType<(option: unknown) => string>;
|
|
326
|
+
required: true;
|
|
327
|
+
};
|
|
328
|
+
optionNameKey: {
|
|
329
|
+
type: import("vue").PropType<string>;
|
|
330
|
+
default: string;
|
|
331
|
+
};
|
|
332
|
+
optionsListWidth: {
|
|
333
|
+
type: import("vue").PropType<string>;
|
|
334
|
+
default: any;
|
|
335
|
+
};
|
|
336
|
+
}>> & {
|
|
337
|
+
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
338
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
339
|
+
"update:modelValue": (value: string | number) => void;
|
|
340
|
+
}, string, {
|
|
341
|
+
label: string;
|
|
342
|
+
disabled: boolean;
|
|
343
|
+
size: "small" | "medium" | "large";
|
|
344
|
+
mandatory: boolean;
|
|
345
|
+
testId: string;
|
|
346
|
+
hoverHelpText: string;
|
|
347
|
+
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";
|
|
348
|
+
modelValue: string | number;
|
|
349
|
+
placeholder: string;
|
|
350
|
+
labelDirection: "top" | "inside";
|
|
351
|
+
onSearch: (option: any, term: string) => boolean;
|
|
352
|
+
optionNameKey: string;
|
|
353
|
+
optionsListWidth: string;
|
|
354
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
355
|
+
$slots: {
|
|
356
|
+
default?(_: {
|
|
357
|
+
option: unknown;
|
|
358
|
+
selected: boolean;
|
|
359
|
+
active: boolean;
|
|
360
|
+
disabled: any;
|
|
361
|
+
}): any;
|
|
362
|
+
};
|
|
363
|
+
}))[];
|
|
364
|
+
export { Autocomplete, AutocompleteTypes };
|