@wizleap-inc/wiz-ui-next 2.37.0 → 2.38.0
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/dist/components/base/inputs/search-input/search-input.vue.d.ts +2 -0
- package/dist/components/base/inputs/search-input/search-popup.vue.d.ts +1 -0
- package/dist/components/base/inputs/search-selector/levenshtein-distance.d.ts +2 -0
- package/dist/components/base/inputs/search-selector/search-selector.vue.d.ts +25 -1
- package/dist/wiz-ui.es.js +2420 -2390
- package/dist/wiz-ui.umd.js +17 -17
- package/package.json +1 -1
|
@@ -88,6 +88,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
88
88
|
activeItemIndex: import("vue").Ref<number | null>;
|
|
89
89
|
hasFocus: import("vue").Ref<boolean>;
|
|
90
90
|
isBorder: import("vue").Ref<boolean>;
|
|
91
|
+
allOptionsHaveChildren: boolean;
|
|
91
92
|
valueToOption: import("vue").ComputedRef<Map<number, SearchInputOption>>;
|
|
92
93
|
state: import("vue").ComputedRef<"default" | "active">;
|
|
93
94
|
computedInputWidth: import("vue").ComputedRef<string>;
|
|
@@ -1059,6 +1060,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1059
1060
|
activeItemIndex: import("vue").Ref<number | null>;
|
|
1060
1061
|
ITEM_HEIGHT: number;
|
|
1061
1062
|
DIVIDER_HEIGHT: number;
|
|
1063
|
+
allOptionsHaveChildren: (options: SearchInputOption[]) => boolean;
|
|
1062
1064
|
checkValues: import("vue").WritableComputedRef<number[]>;
|
|
1063
1065
|
mutableSelectedItem: import("vue").ComputedRef<number[]>;
|
|
1064
1066
|
optionsRef: import("vue").Ref<HTMLElement[] | undefined>;
|
|
@@ -34,6 +34,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
activeItemIndex: import("vue").Ref<number | null>;
|
|
35
35
|
ITEM_HEIGHT: number;
|
|
36
36
|
DIVIDER_HEIGHT: number;
|
|
37
|
+
allOptionsHaveChildren: (options: SearchInputOption[]) => boolean;
|
|
37
38
|
checkValues: import("vue").WritableComputedRef<number[]>;
|
|
38
39
|
mutableSelectedItem: import("vue").ComputedRef<number[]>;
|
|
39
40
|
optionsRef: import("vue").Ref<HTMLElement[] | undefined>;
|
|
@@ -61,6 +61,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
61
61
|
type: StringConstructor;
|
|
62
62
|
required: false;
|
|
63
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* 検索対象に含む類似度の閾値を,0から1の範囲で指定します。
|
|
66
|
+
* 類似度は標準化レーベンシュタイン距離に基づいて計算され,0に近いほど類似しています。
|
|
67
|
+
* ただし,類似度の最小値が閾値を上回る場合は部分一致で検索します。
|
|
68
|
+
* @default 0.75
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
threshold: {
|
|
72
|
+
type: NumberConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
64
76
|
}, {
|
|
65
77
|
props: any;
|
|
66
78
|
emit: (event: "add" | "toggle" | "update:modelValue" | "unselect" | "setSearchValue", ...args: any[]) => void;
|
|
@@ -68,7 +80,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
68
80
|
backspaceUnselectableRef: import("vue").Ref<any>;
|
|
69
81
|
toggleDropdown: () => void;
|
|
70
82
|
deepCopy: <T>(ary: T) => T;
|
|
71
|
-
selectByLevenshteinAndPartialMatch: (options: SelectBoxOption[], target: string) => SelectBoxOption[];
|
|
72
83
|
valueToOption: import("vue").ComputedRef<{
|
|
73
84
|
[value: number]: SelectBoxOption;
|
|
74
85
|
}>;
|
|
@@ -3001,6 +3012,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
3001
3012
|
type: StringConstructor;
|
|
3002
3013
|
required: false;
|
|
3003
3014
|
};
|
|
3015
|
+
/**
|
|
3016
|
+
* 検索対象に含む類似度の閾値を,0から1の範囲で指定します。
|
|
3017
|
+
* 類似度は標準化レーベンシュタイン距離に基づいて計算され,0に近いほど類似しています。
|
|
3018
|
+
* ただし,類似度の最小値が閾値を上回る場合は部分一致で検索します。
|
|
3019
|
+
* @default 0.75
|
|
3020
|
+
*
|
|
3021
|
+
*/
|
|
3022
|
+
threshold: {
|
|
3023
|
+
type: NumberConstructor;
|
|
3024
|
+
required: false;
|
|
3025
|
+
default: number;
|
|
3026
|
+
};
|
|
3004
3027
|
}>> & {
|
|
3005
3028
|
onToggle?: ((...args: any[]) => any) | undefined;
|
|
3006
3029
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3016,5 +3039,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
3016
3039
|
multiSelectable: boolean;
|
|
3017
3040
|
addable: boolean;
|
|
3018
3041
|
showExLabel: boolean;
|
|
3042
|
+
threshold: number;
|
|
3019
3043
|
}, {}>;
|
|
3020
3044
|
export default _sfc_main;
|