bkui-vue 1.0.3-beta.60 → 1.0.3-beta.60.scrollbar.3
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/index.cjs.js +52 -50
- package/dist/index.esm.js +14664 -13976
- package/dist/index.umd.js +52 -50
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +7 -8
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/cascader/index.js +38 -42
- package/lib/checkbox/index.js +6 -7
- package/lib/collapse/index.js +11 -12
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/index.js +10 -13
- package/lib/components.d.ts +0 -1
- package/lib/components.js +1 -2
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +10 -12
- package/lib/date-picker/index.js +2 -2
- package/lib/dialog/dialog.css +9 -7
- package/lib/dialog/dialog.variable.css +9 -7
- package/lib/dialog/index.js +4 -4
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +2 -3
- package/lib/dropdown/index.js +6 -8
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +2 -3
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/index.js +10 -11
- package/lib/info-box/index.js +4 -5
- package/lib/input/index.js +4 -4
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +11 -12
- package/lib/menu/index.js +2 -3
- package/lib/message/index.js +1 -1
- package/lib/modal/hooks.d.ts +1 -1
- package/lib/modal/index.d.ts +0 -3
- package/lib/modal/index.js +26 -25
- package/lib/modal/modal.css +9 -7
- package/lib/modal/modal.d.ts +0 -1
- package/lib/modal/modal.less +18 -11
- package/lib/modal/modal.variable.css +9 -7
- package/lib/navigation/index.js +7 -9
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +9 -10
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +26 -30
- package/lib/pop-confirm/index.js +4 -5
- package/lib/popover/index.js +26 -30
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +5 -6
- package/lib/radio/index.js +6 -7
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.d.ts +12 -327
- package/lib/search-select/index.js +350 -633
- package/lib/search-select/input.d.ts +1 -6
- package/lib/search-select/search-select.css +6 -20
- package/lib/search-select/search-select.d.ts +4 -109
- package/lib/search-select/search-select.less +12 -16
- package/lib/search-select/search-select.variable.css +6 -20
- package/lib/search-select/selected.d.ts +5 -107
- package/lib/search-select/utils.d.ts +1 -13
- package/lib/select/index.d.ts +0 -23
- package/lib/select/index.js +5 -8
- package/lib/select/select.d.ts +0 -11
- package/lib/shared/index.js +5 -8
- package/lib/sideslider/index.js +4 -4
- package/lib/sideslider/sideslider.css +5 -0
- package/lib/sideslider/sideslider.less +14 -8
- package/lib/sideslider/sideslider.variable.css +5 -0
- package/lib/slider/index.js +19 -20
- package/lib/steps/index.js +4 -4
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.js +3 -4
- package/lib/table/const.d.ts +1 -1
- package/lib/table/index.js +24 -26
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/table.css +96 -42
- package/lib/table/table.less +41 -56
- package/lib/table/table.variable.css +96 -42
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.js +2 -2
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +3 -4
- package/lib/timeline/index.js +0 -1
- package/lib/tree/index.js +10 -12
- package/lib/tree/tree.css +75 -2
- package/lib/tree/tree.variable.css +75 -2
- package/lib/upload/index.d.ts +0 -12
- package/lib/upload/index.js +34 -25
- package/lib/upload/props.d.ts +0 -3
- package/lib/upload/upload-trigger.d.ts +0 -6
- package/lib/upload/upload.d.ts +0 -6
- package/lib/virtual-render/bk-scrollbar.css +74 -0
- package/lib/virtual-render/bk-scrollbar.d.ts +10 -0
- package/lib/virtual-render/bk-scrollbar.less +93 -0
- package/lib/virtual-render/bk-scrollbar.variable.css +203 -0
- package/lib/virtual-render/index.d.ts +4 -0
- package/lib/virtual-render/index.js +2346 -233
- package/lib/virtual-render/props.d.ts +7 -0
- package/lib/virtual-render/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/virtual-render/scrollbar-core/helpers.d.ts +5 -0
- package/lib/virtual-render/scrollbar-core/index.d.ts +213 -0
- package/lib/virtual-render/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/virtual-render/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +23 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +75 -2
- package/lib/virtual-render/virtual-render.d.ts +2 -0
- package/lib/virtual-render/virtual-render.less +2 -2
- package/lib/virtual-render/virtual-render.variable.css +75 -2
- package/package.json +4 -1
package/lib/radio/index.js
CHANGED
@@ -66,7 +66,7 @@ function toPrimitive(t, r) {
|
|
66
66
|
|
67
67
|
function toPropertyKey(t) {
|
68
68
|
var i = toPrimitive(t, "string");
|
69
|
-
return "symbol" == _typeof(i) ? i :
|
69
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
70
70
|
}
|
71
71
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
72
72
|
|
@@ -147,7 +147,7 @@ function _slicedToArray(arr, i) {
|
|
147
147
|
;// CONCATENATED MODULE: external "vue"
|
148
148
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
149
149
|
var external_vue_y = x => () => x
|
150
|
-
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["
|
150
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
151
151
|
;// CONCATENATED MODULE: external "../config-provider"
|
152
152
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
153
153
|
var config_provider_y = x => () => x
|
@@ -515,7 +515,6 @@ var radioButtonProps = {
|
|
515
515
|
|
516
516
|
|
517
517
|
|
518
|
-
|
519
518
|
var radioGroupProps = {
|
520
519
|
name: shared_namespaceObject.PropTypes.string.def(''),
|
521
520
|
modelValue: shared_namespaceObject.PropTypes.oneOfType([String, Number, Boolean]),
|
@@ -524,7 +523,7 @@ var radioGroupProps = {
|
|
524
523
|
type: shared_namespaceObject.PropTypes.oneOf(['tab', 'capsule', 'card']).def('tab'),
|
525
524
|
size: shared_namespaceObject.PropTypes.size()
|
526
525
|
};
|
527
|
-
/* harmony default export */ const radio_group = (
|
526
|
+
/* harmony default export */ const radio_group = (defineComponent({
|
528
527
|
name: 'RadioGroup',
|
529
528
|
props: radioGroupProps,
|
530
529
|
emits: {
|
@@ -557,13 +556,13 @@ var radioGroupProps = {
|
|
557
556
|
context.emit('update:modelValue', nextValue);
|
558
557
|
context.emit('change', nextValue);
|
559
558
|
};
|
560
|
-
|
559
|
+
provide(radioGroupKey, {
|
561
560
|
props: props,
|
562
561
|
register: register,
|
563
562
|
unregister: unregister,
|
564
563
|
handleChange: handleChange
|
565
564
|
});
|
566
|
-
|
565
|
+
watch(function () {
|
567
566
|
return props.modelValue;
|
568
567
|
}, function () {
|
569
568
|
if (props.withValidate) {
|
@@ -571,7 +570,7 @@ var radioGroupProps = {
|
|
571
570
|
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
572
571
|
}
|
573
572
|
});
|
574
|
-
|
573
|
+
onMounted(function () {
|
575
574
|
if (props.modelValue === '') {
|
576
575
|
return;
|
577
576
|
}
|
package/lib/rate/index.js
CHANGED
@@ -63,7 +63,7 @@ function toPrimitive(t, r) {
|
|
63
63
|
|
64
64
|
function toPropertyKey(t) {
|
65
65
|
var i = toPrimitive(t, "string");
|
66
|
-
return "symbol" == _typeof(i) ? i :
|
66
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
67
67
|
}
|
68
68
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
69
69
|
|
@@ -64,7 +64,7 @@ function toPrimitive(t, r) {
|
|
64
64
|
|
65
65
|
function toPropertyKey(t) {
|
66
66
|
var i = toPrimitive(t, "string");
|
67
|
-
return "symbol" == _typeof(i) ? i :
|
67
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
68
68
|
}
|
69
69
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
70
70
|
|
@@ -44,7 +44,7 @@ declare const BkSearchSelect: {
|
|
44
44
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
45
45
|
onSearch?: (...args: any[]) => any;
|
46
46
|
}, {
|
47
|
-
inputRef: import("vue").Ref<import("vue").
|
47
|
+
inputRef: import("vue").Ref<import("vue").DefineComponent<{
|
48
48
|
data: {
|
49
49
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
50
50
|
required: true;
|
@@ -65,10 +65,6 @@ declare const BkSearchSelect: {
|
|
65
65
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
66
66
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
67
67
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
68
|
-
}>> & {
|
69
|
-
onFocus?: (...args: any[]) => any;
|
70
|
-
onDelete?: (...args: any[]) => any;
|
71
|
-
onAdd?: (...args: any[]) => any;
|
72
68
|
}, {
|
73
69
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
74
70
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -101,19 +97,14 @@ declare const BkSearchSelect: {
|
|
101
97
|
};
|
102
98
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
103
99
|
handleClickOutside: (e: MouseEvent) => void;
|
104
|
-
handleInputFocus: () => void;
|
100
|
+
handleInputFocus: (e: FocusEvent) => void;
|
105
101
|
handleInputChange: (event: Event) => void;
|
106
|
-
handleInputPaste: (event: ClipboardEvent) => void;
|
107
102
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
108
103
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
109
104
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
110
105
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
111
106
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
112
107
|
resolveClassName: (cls: string) => string;
|
113
|
-
inputFocusForWrapper: () => void;
|
114
|
-
inputEnterForWrapper: () => Promise<void>;
|
115
|
-
inputClearForWrapper: () => void;
|
116
|
-
deleteInputTextNode: () => void;
|
117
108
|
t: import("vue").ComputedRef<{
|
118
109
|
pleaseSelect: string;
|
119
110
|
loading: string;
|
@@ -124,7 +115,7 @@ declare const BkSearchSelect: {
|
|
124
115
|
and: string;
|
125
116
|
logical: string;
|
126
117
|
}>;
|
127
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps
|
118
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], "focus" | "delete" | "add", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
128
119
|
data: {
|
129
120
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
130
121
|
required: true;
|
@@ -154,99 +145,7 @@ declare const BkSearchSelect: {
|
|
154
145
|
conditions: import("./utils").ICommonItem[];
|
155
146
|
showInputBefore: boolean;
|
156
147
|
showCondition: boolean;
|
157
|
-
},
|
158
|
-
P: {};
|
159
|
-
B: {};
|
160
|
-
D: {};
|
161
|
-
C: {};
|
162
|
-
M: {};
|
163
|
-
Defaults: {};
|
164
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
165
|
-
data: {
|
166
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
167
|
-
required: true;
|
168
|
-
};
|
169
|
-
showInputBefore: BooleanConstructor;
|
170
|
-
showCondition: BooleanConstructor;
|
171
|
-
clickOutside: FunctionConstructor;
|
172
|
-
placeholder: StringConstructor;
|
173
|
-
conditions: {
|
174
|
-
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
175
|
-
default: () => any[];
|
176
|
-
};
|
177
|
-
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
178
|
-
mode: {
|
179
|
-
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
180
|
-
default: import("./utils").SearchInputMode;
|
181
|
-
};
|
182
|
-
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
183
|
-
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
184
|
-
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
185
|
-
}>> & {
|
186
|
-
onFocus?: (...args: any[]) => any;
|
187
|
-
onDelete?: (...args: any[]) => any;
|
188
|
-
onAdd?: (...args: any[]) => any;
|
189
|
-
}, {
|
190
|
-
popoverRef: import("vue").Ref<HTMLDivElement>;
|
191
|
-
inputRef: import("vue").Ref<HTMLDivElement>;
|
192
|
-
keyword: import("vue").Ref<string>;
|
193
|
-
loading: import("vue").Ref<boolean>;
|
194
|
-
remoteMenuList: import("vue").Ref<{
|
195
|
-
id: string;
|
196
|
-
name: string;
|
197
|
-
disabled?: boolean;
|
198
|
-
realId?: string;
|
199
|
-
value?: {
|
200
|
-
name: string;
|
201
|
-
id: string;
|
202
|
-
realId?: string;
|
203
|
-
isSelected?: boolean;
|
204
|
-
logical?: import("./utils").SearchLogical;
|
205
|
-
};
|
206
|
-
isSelected?: boolean;
|
207
|
-
logical?: import("./utils").SearchLogical;
|
208
|
-
}[]>;
|
209
|
-
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
210
|
-
menuHoverId: import("vue").Ref<string>;
|
211
|
-
isFocus: import("vue").Ref<boolean>;
|
212
|
-
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
213
|
-
showPopover: import("vue").Ref<boolean>;
|
214
|
-
showNoSelectValueError: import("vue").Ref<boolean>;
|
215
|
-
debounceSetMenuList: {
|
216
|
-
(this: any): any;
|
217
|
-
cancel(): void;
|
218
|
-
};
|
219
|
-
documentArrowEvent: (e: KeyboardEvent) => void;
|
220
|
-
handleClickOutside: (e: MouseEvent) => void;
|
221
|
-
handleInputFocus: () => void;
|
222
|
-
handleInputChange: (event: Event) => void;
|
223
|
-
handleInputPaste: (event: ClipboardEvent) => void;
|
224
|
-
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
225
|
-
handleInputKeyup: (event: KeyboardEvent) => void;
|
226
|
-
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
227
|
-
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
228
|
-
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
229
|
-
resolveClassName: (cls: string) => string;
|
230
|
-
inputFocusForWrapper: () => void;
|
231
|
-
inputEnterForWrapper: () => Promise<void>;
|
232
|
-
inputClearForWrapper: () => void;
|
233
|
-
deleteInputTextNode: () => void;
|
234
|
-
t: import("vue").ComputedRef<{
|
235
|
-
pleaseSelect: string;
|
236
|
-
loading: string;
|
237
|
-
filterQueryMustHasValue: string;
|
238
|
-
ok: string;
|
239
|
-
cancel: string;
|
240
|
-
or: string;
|
241
|
-
and: string;
|
242
|
-
logical: string;
|
243
|
-
}>;
|
244
|
-
}, {}, {}, {}, {
|
245
|
-
mode: import("./utils").SearchInputMode;
|
246
|
-
conditions: import("./utils").ICommonItem[];
|
247
|
-
showInputBefore: boolean;
|
248
|
-
showCondition: boolean;
|
249
|
-
}>>;
|
148
|
+
}, {}>>;
|
250
149
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
251
150
|
isFocus: import("vue").Ref<boolean>;
|
252
151
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -270,7 +169,6 @@ declare const BkSearchSelect: {
|
|
270
169
|
}[];
|
271
170
|
condition: string;
|
272
171
|
logical: import("./utils").SearchLogical;
|
273
|
-
nameRenderkey: string;
|
274
172
|
searchItem: {
|
275
173
|
id: string;
|
276
174
|
name: string;
|
@@ -340,9 +238,6 @@ declare const BkSearchSelect: {
|
|
340
238
|
readonly showLogical: boolean;
|
341
239
|
isSpecialType: () => boolean;
|
342
240
|
addValue: (item: import("./utils").ICommonItem) => void;
|
343
|
-
str2Values: (str: string) => import("./utils").ICommonItem[];
|
344
|
-
addValues: (str: string, mergeValues?: boolean) => void;
|
345
|
-
getValue: (str: string) => import("./utils").ICommonItem;
|
346
241
|
toValue: () => import("./utils").ISearchValue;
|
347
242
|
toValueKey: () => string;
|
348
243
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|
@@ -477,7 +372,7 @@ declare const BkSearchSelect: {
|
|
477
372
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
478
373
|
onSearch?: (...args: any[]) => any;
|
479
374
|
}, {
|
480
|
-
inputRef: import("vue").Ref<import("vue").
|
375
|
+
inputRef: import("vue").Ref<import("vue").DefineComponent<{
|
481
376
|
data: {
|
482
377
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
483
378
|
required: true;
|
@@ -498,10 +393,6 @@ declare const BkSearchSelect: {
|
|
498
393
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
499
394
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
500
395
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
501
|
-
}>> & {
|
502
|
-
onFocus?: (...args: any[]) => any;
|
503
|
-
onDelete?: (...args: any[]) => any;
|
504
|
-
onAdd?: (...args: any[]) => any;
|
505
396
|
}, {
|
506
397
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
507
398
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -534,19 +425,14 @@ declare const BkSearchSelect: {
|
|
534
425
|
};
|
535
426
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
536
427
|
handleClickOutside: (e: MouseEvent) => void;
|
537
|
-
handleInputFocus: () => void;
|
428
|
+
handleInputFocus: (e: FocusEvent) => void;
|
538
429
|
handleInputChange: (event: Event) => void;
|
539
|
-
handleInputPaste: (event: ClipboardEvent) => void;
|
540
430
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
541
431
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
542
432
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
543
433
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
544
434
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
545
435
|
resolveClassName: (cls: string) => string;
|
546
|
-
inputFocusForWrapper: () => void;
|
547
|
-
inputEnterForWrapper: () => Promise<void>;
|
548
|
-
inputClearForWrapper: () => void;
|
549
|
-
deleteInputTextNode: () => void;
|
550
436
|
t: import("vue").ComputedRef<{
|
551
437
|
pleaseSelect: string;
|
552
438
|
loading: string;
|
@@ -557,7 +443,7 @@ declare const BkSearchSelect: {
|
|
557
443
|
and: string;
|
558
444
|
logical: string;
|
559
445
|
}>;
|
560
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps
|
446
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], "focus" | "delete" | "add", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
561
447
|
data: {
|
562
448
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
563
449
|
required: true;
|
@@ -587,99 +473,7 @@ declare const BkSearchSelect: {
|
|
587
473
|
conditions: import("./utils").ICommonItem[];
|
588
474
|
showInputBefore: boolean;
|
589
475
|
showCondition: boolean;
|
590
|
-
},
|
591
|
-
P: {};
|
592
|
-
B: {};
|
593
|
-
D: {};
|
594
|
-
C: {};
|
595
|
-
M: {};
|
596
|
-
Defaults: {};
|
597
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
598
|
-
data: {
|
599
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
600
|
-
required: true;
|
601
|
-
};
|
602
|
-
showInputBefore: BooleanConstructor;
|
603
|
-
showCondition: BooleanConstructor;
|
604
|
-
clickOutside: FunctionConstructor;
|
605
|
-
placeholder: StringConstructor;
|
606
|
-
conditions: {
|
607
|
-
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
608
|
-
default: () => any[];
|
609
|
-
};
|
610
|
-
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
611
|
-
mode: {
|
612
|
-
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
613
|
-
default: import("./utils").SearchInputMode;
|
614
|
-
};
|
615
|
-
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
616
|
-
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
617
|
-
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
618
|
-
}>> & {
|
619
|
-
onFocus?: (...args: any[]) => any;
|
620
|
-
onDelete?: (...args: any[]) => any;
|
621
|
-
onAdd?: (...args: any[]) => any;
|
622
|
-
}, {
|
623
|
-
popoverRef: import("vue").Ref<HTMLDivElement>;
|
624
|
-
inputRef: import("vue").Ref<HTMLDivElement>;
|
625
|
-
keyword: import("vue").Ref<string>;
|
626
|
-
loading: import("vue").Ref<boolean>;
|
627
|
-
remoteMenuList: import("vue").Ref<{
|
628
|
-
id: string;
|
629
|
-
name: string;
|
630
|
-
disabled?: boolean;
|
631
|
-
realId?: string;
|
632
|
-
value?: {
|
633
|
-
name: string;
|
634
|
-
id: string;
|
635
|
-
realId?: string;
|
636
|
-
isSelected?: boolean;
|
637
|
-
logical?: import("./utils").SearchLogical;
|
638
|
-
};
|
639
|
-
isSelected?: boolean;
|
640
|
-
logical?: import("./utils").SearchLogical;
|
641
|
-
}[]>;
|
642
|
-
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
643
|
-
menuHoverId: import("vue").Ref<string>;
|
644
|
-
isFocus: import("vue").Ref<boolean>;
|
645
|
-
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
646
|
-
showPopover: import("vue").Ref<boolean>;
|
647
|
-
showNoSelectValueError: import("vue").Ref<boolean>;
|
648
|
-
debounceSetMenuList: {
|
649
|
-
(this: any): any;
|
650
|
-
cancel(): void;
|
651
|
-
};
|
652
|
-
documentArrowEvent: (e: KeyboardEvent) => void;
|
653
|
-
handleClickOutside: (e: MouseEvent) => void;
|
654
|
-
handleInputFocus: () => void;
|
655
|
-
handleInputChange: (event: Event) => void;
|
656
|
-
handleInputPaste: (event: ClipboardEvent) => void;
|
657
|
-
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
658
|
-
handleInputKeyup: (event: KeyboardEvent) => void;
|
659
|
-
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
660
|
-
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
661
|
-
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
662
|
-
resolveClassName: (cls: string) => string;
|
663
|
-
inputFocusForWrapper: () => void;
|
664
|
-
inputEnterForWrapper: () => Promise<void>;
|
665
|
-
inputClearForWrapper: () => void;
|
666
|
-
deleteInputTextNode: () => void;
|
667
|
-
t: import("vue").ComputedRef<{
|
668
|
-
pleaseSelect: string;
|
669
|
-
loading: string;
|
670
|
-
filterQueryMustHasValue: string;
|
671
|
-
ok: string;
|
672
|
-
cancel: string;
|
673
|
-
or: string;
|
674
|
-
and: string;
|
675
|
-
logical: string;
|
676
|
-
}>;
|
677
|
-
}, {}, {}, {}, {
|
678
|
-
mode: import("./utils").SearchInputMode;
|
679
|
-
conditions: import("./utils").ICommonItem[];
|
680
|
-
showInputBefore: boolean;
|
681
|
-
showCondition: boolean;
|
682
|
-
}>>;
|
476
|
+
}, {}>>;
|
683
477
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
684
478
|
isFocus: import("vue").Ref<boolean>;
|
685
479
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -703,7 +497,6 @@ declare const BkSearchSelect: {
|
|
703
497
|
}[];
|
704
498
|
condition: string;
|
705
499
|
logical: import("./utils").SearchLogical;
|
706
|
-
nameRenderkey: string;
|
707
500
|
searchItem: {
|
708
501
|
id: string;
|
709
502
|
name: string;
|
@@ -773,9 +566,6 @@ declare const BkSearchSelect: {
|
|
773
566
|
readonly showLogical: boolean;
|
774
567
|
isSpecialType: () => boolean;
|
775
568
|
addValue: (item: import("./utils").ICommonItem) => void;
|
776
|
-
str2Values: (str: string) => import("./utils").ICommonItem[];
|
777
|
-
addValues: (str: string, mergeValues?: boolean) => void;
|
778
|
-
getValue: (str: string) => import("./utils").ICommonItem;
|
779
569
|
toValue: () => import("./utils").ISearchValue;
|
780
570
|
toValueKey: () => string;
|
781
571
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|
@@ -863,7 +653,7 @@ declare const BkSearchSelect: {
|
|
863
653
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
864
654
|
onSearch?: (...args: any[]) => any;
|
865
655
|
}, {
|
866
|
-
inputRef: import("vue").Ref<import("vue").
|
656
|
+
inputRef: import("vue").Ref<import("vue").DefineComponent<{
|
867
657
|
data: {
|
868
658
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
869
659
|
required: true;
|
@@ -884,10 +674,6 @@ declare const BkSearchSelect: {
|
|
884
674
|
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
885
675
|
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
886
676
|
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
887
|
-
}>> & {
|
888
|
-
onFocus?: (...args: any[]) => any;
|
889
|
-
onDelete?: (...args: any[]) => any;
|
890
|
-
onAdd?: (...args: any[]) => any;
|
891
677
|
}, {
|
892
678
|
popoverRef: import("vue").Ref<HTMLDivElement>;
|
893
679
|
inputRef: import("vue").Ref<HTMLDivElement>;
|
@@ -920,19 +706,14 @@ declare const BkSearchSelect: {
|
|
920
706
|
};
|
921
707
|
documentArrowEvent: (e: KeyboardEvent) => void;
|
922
708
|
handleClickOutside: (e: MouseEvent) => void;
|
923
|
-
handleInputFocus: () => void;
|
709
|
+
handleInputFocus: (e: FocusEvent) => void;
|
924
710
|
handleInputChange: (event: Event) => void;
|
925
|
-
handleInputPaste: (event: ClipboardEvent) => void;
|
926
711
|
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
927
712
|
handleInputKeyup: (event: KeyboardEvent) => void;
|
928
713
|
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
929
714
|
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
930
715
|
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
931
716
|
resolveClassName: (cls: string) => string;
|
932
|
-
inputFocusForWrapper: () => void;
|
933
|
-
inputEnterForWrapper: () => Promise<void>;
|
934
|
-
inputClearForWrapper: () => void;
|
935
|
-
deleteInputTextNode: () => void;
|
936
717
|
t: import("vue").ComputedRef<{
|
937
718
|
pleaseSelect: string;
|
938
719
|
loading: string;
|
@@ -943,44 +724,7 @@ declare const BkSearchSelect: {
|
|
943
724
|
and: string;
|
944
725
|
logical: string;
|
945
726
|
}>;
|
946
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps
|
947
|
-
data: {
|
948
|
-
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
949
|
-
required: true;
|
950
|
-
};
|
951
|
-
showInputBefore: BooleanConstructor;
|
952
|
-
showCondition: BooleanConstructor;
|
953
|
-
clickOutside: FunctionConstructor;
|
954
|
-
placeholder: StringConstructor;
|
955
|
-
conditions: {
|
956
|
-
type: import("vue").PropType<import("./utils").ICommonItem[]>;
|
957
|
-
default: () => any[];
|
958
|
-
};
|
959
|
-
defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
|
960
|
-
mode: {
|
961
|
-
type: import("vue").PropType<import("./utils").SearchInputMode>;
|
962
|
-
default: import("./utils").SearchInputMode;
|
963
|
-
};
|
964
|
-
getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
|
965
|
-
validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
|
966
|
-
valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
|
967
|
-
}>> & {
|
968
|
-
onFocus?: (...args: any[]) => any;
|
969
|
-
onDelete?: (...args: any[]) => any;
|
970
|
-
onAdd?: (...args: any[]) => any;
|
971
|
-
}, {
|
972
|
-
mode: import("./utils").SearchInputMode;
|
973
|
-
conditions: import("./utils").ICommonItem[];
|
974
|
-
showInputBefore: boolean;
|
975
|
-
showCondition: boolean;
|
976
|
-
}, true, {}, {}, {
|
977
|
-
P: {};
|
978
|
-
B: {};
|
979
|
-
D: {};
|
980
|
-
C: {};
|
981
|
-
M: {};
|
982
|
-
Defaults: {};
|
983
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
727
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "delete" | "add")[], "focus" | "delete" | "add", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
984
728
|
data: {
|
985
729
|
type: import("vue").PropType<import("./utils").ISearchItem[]>;
|
986
730
|
required: true;
|
@@ -1006,66 +750,11 @@ declare const BkSearchSelect: {
|
|
1006
750
|
onDelete?: (...args: any[]) => any;
|
1007
751
|
onAdd?: (...args: any[]) => any;
|
1008
752
|
}, {
|
1009
|
-
popoverRef: import("vue").Ref<HTMLDivElement>;
|
1010
|
-
inputRef: import("vue").Ref<HTMLDivElement>;
|
1011
|
-
keyword: import("vue").Ref<string>;
|
1012
|
-
loading: import("vue").Ref<boolean>;
|
1013
|
-
remoteMenuList: import("vue").Ref<{
|
1014
|
-
id: string;
|
1015
|
-
name: string;
|
1016
|
-
disabled?: boolean;
|
1017
|
-
realId?: string;
|
1018
|
-
value?: {
|
1019
|
-
name: string;
|
1020
|
-
id: string;
|
1021
|
-
realId?: string;
|
1022
|
-
isSelected?: boolean;
|
1023
|
-
logical?: import("./utils").SearchLogical;
|
1024
|
-
};
|
1025
|
-
isSelected?: boolean;
|
1026
|
-
logical?: import("./utils").SearchLogical;
|
1027
|
-
}[]>;
|
1028
|
-
menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
|
1029
|
-
menuHoverId: import("vue").Ref<string>;
|
1030
|
-
isFocus: import("vue").Ref<boolean>;
|
1031
|
-
usingItem: import("vue").Ref<import("./utils").SelectedItem>;
|
1032
|
-
showPopover: import("vue").Ref<boolean>;
|
1033
|
-
showNoSelectValueError: import("vue").Ref<boolean>;
|
1034
|
-
debounceSetMenuList: {
|
1035
|
-
(this: any): any;
|
1036
|
-
cancel(): void;
|
1037
|
-
};
|
1038
|
-
documentArrowEvent: (e: KeyboardEvent) => void;
|
1039
|
-
handleClickOutside: (e: MouseEvent) => void;
|
1040
|
-
handleInputFocus: () => void;
|
1041
|
-
handleInputChange: (event: Event) => void;
|
1042
|
-
handleInputPaste: (event: ClipboardEvent) => void;
|
1043
|
-
handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
|
1044
|
-
handleInputKeyup: (event: KeyboardEvent) => void;
|
1045
|
-
handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
|
1046
|
-
handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
|
1047
|
-
handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
|
1048
|
-
resolveClassName: (cls: string) => string;
|
1049
|
-
inputFocusForWrapper: () => void;
|
1050
|
-
inputEnterForWrapper: () => Promise<void>;
|
1051
|
-
inputClearForWrapper: () => void;
|
1052
|
-
deleteInputTextNode: () => void;
|
1053
|
-
t: import("vue").ComputedRef<{
|
1054
|
-
pleaseSelect: string;
|
1055
|
-
loading: string;
|
1056
|
-
filterQueryMustHasValue: string;
|
1057
|
-
ok: string;
|
1058
|
-
cancel: string;
|
1059
|
-
or: string;
|
1060
|
-
and: string;
|
1061
|
-
logical: string;
|
1062
|
-
}>;
|
1063
|
-
}, {}, {}, {}, {
|
1064
753
|
mode: import("./utils").SearchInputMode;
|
1065
754
|
conditions: import("./utils").ICommonItem[];
|
1066
755
|
showInputBefore: boolean;
|
1067
756
|
showCondition: boolean;
|
1068
|
-
}>>;
|
757
|
+
}, {}>>;
|
1069
758
|
wrapRef: import("vue").Ref<HTMLDivElement>;
|
1070
759
|
isFocus: import("vue").Ref<boolean>;
|
1071
760
|
copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
|
@@ -1089,7 +778,6 @@ declare const BkSearchSelect: {
|
|
1089
778
|
}[];
|
1090
779
|
condition: string;
|
1091
780
|
logical: import("./utils").SearchLogical;
|
1092
|
-
nameRenderkey: string;
|
1093
781
|
searchItem: {
|
1094
782
|
id: string;
|
1095
783
|
name: string;
|
@@ -1159,9 +847,6 @@ declare const BkSearchSelect: {
|
|
1159
847
|
readonly showLogical: boolean;
|
1160
848
|
isSpecialType: () => boolean;
|
1161
849
|
addValue: (item: import("./utils").ICommonItem) => void;
|
1162
|
-
str2Values: (str: string) => import("./utils").ICommonItem[];
|
1163
|
-
addValues: (str: string, mergeValues?: boolean) => void;
|
1164
|
-
getValue: (str: string) => import("./utils").ICommonItem;
|
1165
850
|
toValue: () => import("./utils").ISearchValue;
|
1166
851
|
toValueKey: () => string;
|
1167
852
|
isInValueList: (item: import("./utils").ICommonItem) => boolean;
|