@koi-design/uxd-ui 14.0.39 → 14.0.41
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/es/components/Calendar/Calendar.vue.d.ts +3 -3
- package/es/components/Calendar/Header.vue.d.ts +3 -3
- package/es/components/Calendar/index.d.ts +6 -6
- package/es/components/Cascader/Cascader.d.ts +1 -1
- package/es/components/DatePicker/DatePicker.vue.d.ts +3 -3
- package/es/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +3 -3
- package/es/components/DatePicker/index.d.ts +6 -6
- package/es/components/Select/RefSelect.vue.d.ts +59 -1017
- package/es/components/Select/Select.d.ts +4 -4
- package/es/components/Select/Select.type.d.ts +1 -1
- package/es/components/Select/Select.type.mjs +1 -1
- package/es/components/Select/Select.type.mjs.map +1 -1
- package/es/components/Select/Selection/Multiple.vue.d.ts +2 -2
- package/es/components/Select/Selection/Multiple.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/Select/Selection/Multiple.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/Select/Selection/MultipleBase.d.ts +253 -0
- package/es/components/Select/Selection/MultipleBase.mjs +317 -0
- package/es/components/Select/Selection/MultipleBase.mjs.map +1 -0
- package/es/components/Select/Selection/MultipleOverFlow.mjs +202 -0
- package/es/components/Select/Selection/MultipleOverFlow.mjs.map +1 -0
- package/es/components/Select/Selection/MultipleOverFlow.vue.d.ts +1191 -0
- package/es/components/Select/Selection/MultipleOverFlow.vue_vue_type_script_lang.mjs +265 -0
- package/es/components/Select/Selection/MultipleOverFlow.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/Select/Selection/Selection.mjs +90 -67
- package/es/components/Select/Selection/Selection.mjs.map +1 -1
- package/es/components/Select/Selection/Selection.vue.d.ts +57 -1015
- package/es/components/Select/hooks/useMultipleBase.d.ts +32 -0
- package/es/components/Select/hooks/useMultipleBase.mjs +211 -0
- package/es/components/Select/hooks/useMultipleBase.mjs.map +1 -0
- package/es/components/Select/index.d.ts +3 -3
- package/es/components/TreeSelect/TreeSelect.vue.d.ts +57 -1015
- package/es/components/TreeSelect/index.d.ts +1065 -2981
- package/lib/components/Calendar/Calendar.vue.d.ts +3 -3
- package/lib/components/Calendar/Header.vue.d.ts +3 -3
- package/lib/components/Calendar/index.d.ts +6 -6
- package/lib/components/Cascader/Cascader.d.ts +1 -1
- package/lib/components/DatePicker/DatePicker.vue.d.ts +3 -3
- package/lib/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +3 -3
- package/lib/components/DatePicker/index.d.ts +6 -6
- package/lib/components/Select/RefSelect.vue.d.ts +59 -1017
- package/lib/components/Select/Select.d.ts +4 -4
- package/lib/components/Select/Select.type.d.ts +1 -1
- package/lib/components/Select/Select.type.js +1 -1
- package/lib/components/Select/Select.type.js.map +1 -1
- package/lib/components/Select/Selection/Multiple.vue.d.ts +2 -2
- package/lib/components/Select/Selection/Multiple.vue_vue_type_script_lang.js +1 -1
- package/lib/components/Select/Selection/Multiple.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/Select/Selection/MultipleBase.d.ts +253 -0
- package/lib/components/Select/Selection/MultipleBase.js +326 -0
- package/lib/components/Select/Selection/MultipleBase.js.map +1 -0
- package/lib/components/Select/Selection/MultipleOverFlow.js +206 -0
- package/lib/components/Select/Selection/MultipleOverFlow.js.map +1 -0
- package/lib/components/Select/Selection/MultipleOverFlow.vue.d.ts +1191 -0
- package/lib/components/Select/Selection/MultipleOverFlow.vue_vue_type_script_lang.js +269 -0
- package/lib/components/Select/Selection/MultipleOverFlow.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/Select/Selection/Selection.js +89 -66
- package/lib/components/Select/Selection/Selection.js.map +1 -1
- package/lib/components/Select/Selection/Selection.vue.d.ts +57 -1015
- package/lib/components/Select/hooks/useMultipleBase.d.ts +32 -0
- package/lib/components/Select/hooks/useMultipleBase.js +216 -0
- package/lib/components/Select/hooks/useMultipleBase.js.map +1 -0
- package/lib/components/Select/index.d.ts +3 -3
- package/lib/components/TreeSelect/TreeSelect.vue.d.ts +57 -1015
- package/lib/components/TreeSelect/index.d.ts +1065 -2981
- package/package.json +1 -1
- package/styles/components/cascader/index.css +1 -1
- package/styles/components/form/index.css +1 -1
- package/styles/components/form/index.less +12 -1
- package/styles/components/form/var.less +1 -1
- package/styles/components/select/index.css +1 -1
- package/styles/components/select/index.less +10 -0
- package/styles/index.css +1 -1
- package/types/components/Calendar/Calendar.vue.d.ts +3 -3
- package/types/components/Calendar/Header.vue.d.ts +3 -3
- package/types/components/Calendar/index.d.ts +6 -6
- package/types/components/Cascader/Cascader.d.ts +1 -1
- package/types/components/DatePicker/DatePicker.vue.d.ts +3 -3
- package/types/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +3 -3
- package/types/components/DatePicker/index.d.ts +6 -6
- package/types/components/Select/RefSelect.vue.d.ts +59 -1017
- package/types/components/Select/Select.d.ts +4 -4
- package/types/components/Select/Select.type.d.ts +1 -1
- package/types/components/Select/Selection/Multiple.vue.d.ts +2 -2
- package/types/components/Select/Selection/MultipleBase.d.ts +253 -0
- package/types/components/Select/Selection/MultipleOverFlow.vue.d.ts +1191 -0
- package/types/components/Select/Selection/Selection.vue.d.ts +57 -1015
- package/types/components/Select/hooks/useMultipleBase.d.ts +32 -0
- package/types/components/Select/index.d.ts +3 -3
- package/types/components/TreeSelect/TreeSelect.vue.d.ts +57 -1015
- package/types/components/TreeSelect/index.d.ts +1065 -2981
- package/uxd-ui.css +1 -1
- package/uxd-ui.esm.min.mjs +7 -7
- package/uxd-ui.esm.mjs +722 -535
- package/uxd-ui.umd.js +722 -535
- package/uxd-ui.umd.min.js +7 -7
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { DisplayOption, SingleValueType } from '../Select.type';
|
|
2
|
+
export declare const REST_TAG_KEY = "__UUI_SELECT_MAX_REST_COUNT__";
|
|
3
|
+
export default function useMultipleBase(props: any, emit: any): {
|
|
4
|
+
motionAppear: import("vue").Ref<boolean, boolean>;
|
|
5
|
+
measureRef: import("vue").Ref<any, any>;
|
|
6
|
+
inputWidth: import("vue").Ref<number, number>;
|
|
7
|
+
inputValue: import("vue").ComputedRef<any>;
|
|
8
|
+
inputEditable: import("vue").ComputedRef<any>;
|
|
9
|
+
showPlaceholder: import("vue").ComputedRef<boolean>;
|
|
10
|
+
isNotRender: import("vue").ComputedRef<boolean>;
|
|
11
|
+
displayValues: import("vue").ComputedRef<any>;
|
|
12
|
+
displayRest: import("vue").ComputedRef<boolean>;
|
|
13
|
+
mergedDisplayCount: import("vue").ComputedRef<number>;
|
|
14
|
+
closable: (item: DisplayOption) => boolean;
|
|
15
|
+
onClose: (value: SingleValueType, e: any) => void;
|
|
16
|
+
onOverflowItemResize: ({ width }: {
|
|
17
|
+
width: number;
|
|
18
|
+
}, item: DisplayOption) => void;
|
|
19
|
+
onSuffixResize: ({ width }: {
|
|
20
|
+
width: number;
|
|
21
|
+
}) => void;
|
|
22
|
+
onInputMouseDown: () => void;
|
|
23
|
+
onInputChange: (val: any) => void;
|
|
24
|
+
onInputKeydown: (e: KeyboardEvent) => void;
|
|
25
|
+
onInputCompositionStart: (e: CompositionEvent) => void;
|
|
26
|
+
onInputCompositionEnd: (e: CompositionEvent) => void;
|
|
27
|
+
onInputPaste: (e: ClipboardEvent) => void;
|
|
28
|
+
REST_TAG_KEY: string;
|
|
29
|
+
getRender: (children: import("vue").VNode | import("vue").VNodeChild | string | number) => () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}>;
|
|
32
|
+
};
|
|
@@ -68,7 +68,7 @@ export declare const USelect: {
|
|
|
68
68
|
type: import("vue").PropType<(rest: import("./Select.type").DisplayOption[]) => string | import("vue").VNodeChild | import("vue/jsx-runtime").JSX.Element>;
|
|
69
69
|
};
|
|
70
70
|
maxTagTextLength: {
|
|
71
|
-
type:
|
|
71
|
+
type: import("vue").PropType<number | "responsive">;
|
|
72
72
|
};
|
|
73
73
|
tagRender: {
|
|
74
74
|
type: import("vue").PropType<import("./Select.type").TagRenderFunction>;
|
|
@@ -345,7 +345,7 @@ export declare const USelect: {
|
|
|
345
345
|
type: import("vue").PropType<(rest: import("./Select.type").DisplayOption[]) => string | import("vue").VNodeChild | import("vue/jsx-runtime").JSX.Element>;
|
|
346
346
|
};
|
|
347
347
|
maxTagTextLength: {
|
|
348
|
-
type:
|
|
348
|
+
type: import("vue").PropType<number | "responsive">;
|
|
349
349
|
};
|
|
350
350
|
tagRender: {
|
|
351
351
|
type: import("vue").PropType<import("./Select.type").TagRenderFunction>;
|
|
@@ -605,7 +605,7 @@ export declare const USelect: {
|
|
|
605
605
|
type: import("vue").PropType<(rest: import("./Select.type").DisplayOption[]) => string | import("vue").VNodeChild | import("vue/jsx-runtime").JSX.Element>;
|
|
606
606
|
};
|
|
607
607
|
maxTagTextLength: {
|
|
608
|
-
type:
|
|
608
|
+
type: import("vue").PropType<number | "responsive">;
|
|
609
609
|
};
|
|
610
610
|
tagRender: {
|
|
611
611
|
type: import("vue").PropType<import("./Select.type").TagRenderFunction>;
|