bkui-vue 1.0.3-beta.60 → 1.0.3-beta.60.scrollbar.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.
Files changed (216) hide show
  1. package/dist/index.cjs.js +52 -50
  2. package/dist/index.esm.js +14678 -13989
  3. package/dist/index.umd.js +52 -50
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +1 -1
  7. package/lib/alert/index.js +1 -1
  8. package/lib/animate-number/index.js +7 -8
  9. package/lib/badge/index.js +1 -1
  10. package/lib/breadcrumb/index.js +1 -1
  11. package/lib/button/index.js +1 -1
  12. package/lib/card/index.js +1 -1
  13. package/lib/cascader/index.js +38 -42
  14. package/lib/checkbox/index.js +6 -7
  15. package/lib/collapse/index.js +11 -12
  16. package/lib/collapse-transition/index.js +3 -4
  17. package/lib/color-picker/index.js +10 -13
  18. package/lib/components.d.ts +0 -1
  19. package/lib/components.js +1 -2
  20. package/lib/config-provider/index.js +1 -1
  21. package/lib/container/index.js +10 -12
  22. package/lib/date-picker/index.js +2 -2
  23. package/lib/dialog/dialog.css +9 -7
  24. package/lib/dialog/dialog.variable.css +9 -7
  25. package/lib/dialog/index.js +4 -4
  26. package/lib/directives/index.js +1 -1
  27. package/lib/divider/index.js +2 -3
  28. package/lib/dropdown/index.js +6 -8
  29. package/lib/exception/index.js +1 -1
  30. package/lib/fixed-navbar/index.js +2 -3
  31. package/lib/form/index.js +1 -1
  32. package/lib/icon/angle-double-down-line.js +1 -1
  33. package/lib/icon/angle-double-left-line.js +1 -1
  34. package/lib/icon/angle-double-left.js +1 -1
  35. package/lib/icon/angle-double-right-line.js +1 -1
  36. package/lib/icon/angle-double-right.js +1 -1
  37. package/lib/icon/angle-double-up-line.js +1 -1
  38. package/lib/icon/angle-down-fill.js +1 -1
  39. package/lib/icon/angle-down-line.js +1 -1
  40. package/lib/icon/angle-down.js +1 -1
  41. package/lib/icon/angle-left.js +1 -1
  42. package/lib/icon/angle-right.js +1 -1
  43. package/lib/icon/angle-up-fill.js +1 -1
  44. package/lib/icon/angle-up.js +1 -1
  45. package/lib/icon/archive-fill.js +1 -1
  46. package/lib/icon/arrows-left.js +1 -1
  47. package/lib/icon/arrows-right.js +1 -1
  48. package/lib/icon/assistant.js +1 -1
  49. package/lib/icon/audio-fill.js +1 -1
  50. package/lib/icon/bk.js +1 -1
  51. package/lib/icon/circle.js +1 -1
  52. package/lib/icon/close-line.js +1 -1
  53. package/lib/icon/close.js +1 -1
  54. package/lib/icon/code.js +1 -1
  55. package/lib/icon/cog-shape.js +1 -1
  56. package/lib/icon/collapse-left.js +1 -1
  57. package/lib/icon/copy-shape.js +1 -1
  58. package/lib/icon/copy.js +1 -1
  59. package/lib/icon/data-shape.js +1 -1
  60. package/lib/icon/del.js +1 -1
  61. package/lib/icon/doc-fill.js +1 -1
  62. package/lib/icon/done.js +1 -1
  63. package/lib/icon/down-shape.js +1 -1
  64. package/lib/icon/down-small.js +1 -1
  65. package/lib/icon/edit-line.js +1 -1
  66. package/lib/icon/ellipsis.js +1 -1
  67. package/lib/icon/enlarge-line.js +1 -1
  68. package/lib/icon/error.js +1 -1
  69. package/lib/icon/excel-fill.js +1 -1
  70. package/lib/icon/exclamation-circle-shape.js +1 -1
  71. package/lib/icon/eye.js +1 -1
  72. package/lib/icon/filliscreen-line.js +1 -1
  73. package/lib/icon/fix-line.js +1 -1
  74. package/lib/icon/fix-shape.js +1 -1
  75. package/lib/icon/folder-open.js +1 -1
  76. package/lib/icon/folder-shape-open.js +1 -1
  77. package/lib/icon/folder-shape.js +1 -1
  78. package/lib/icon/folder.js +1 -1
  79. package/lib/icon/funnel.js +1 -1
  80. package/lib/icon/grag-fill.js +1 -1
  81. package/lib/icon/help-document-fill.js +1 -1
  82. package/lib/icon/help-fill.js +1 -1
  83. package/lib/icon/help.js +1 -1
  84. package/lib/icon/image-fill.js +1 -1
  85. package/lib/icon/img-error.js +1 -1
  86. package/lib/icon/img-placehoulder.js +1 -1
  87. package/lib/icon/info-line.js +1 -1
  88. package/lib/icon/info.js +1 -1
  89. package/lib/icon/left-shape.js +1 -1
  90. package/lib/icon/left-turn-line.js +1 -1
  91. package/lib/icon/loading.js +1 -1
  92. package/lib/icon/narrow-line.js +1 -1
  93. package/lib/icon/original.js +1 -1
  94. package/lib/icon/pdf-fill.js +1 -1
  95. package/lib/icon/play-shape.js +1 -1
  96. package/lib/icon/plus.js +1 -1
  97. package/lib/icon/ppt-fill.js +1 -1
  98. package/lib/icon/qq.js +1 -1
  99. package/lib/icon/right-shape.js +1 -1
  100. package/lib/icon/right-turn-line.js +1 -1
  101. package/lib/icon/search.js +1 -1
  102. package/lib/icon/share.js +1 -1
  103. package/lib/icon/spinner.js +1 -1
  104. package/lib/icon/success.js +1 -1
  105. package/lib/icon/switcher-loading.js +1 -1
  106. package/lib/icon/text-all.js +1 -1
  107. package/lib/icon/text-file.js +1 -1
  108. package/lib/icon/text-fill.js +1 -1
  109. package/lib/icon/transfer.js +1 -1
  110. package/lib/icon/tree-application-shape.js +1 -1
  111. package/lib/icon/unfull-screen.js +1 -1
  112. package/lib/icon/unvisible.js +1 -1
  113. package/lib/icon/up-shape.js +1 -1
  114. package/lib/icon/upload.js +1 -1
  115. package/lib/icon/video-fill.js +1 -1
  116. package/lib/icon/warn.js +1 -1
  117. package/lib/icon/weixin-pro.js +1 -1
  118. package/lib/icon/weixin.js +1 -1
  119. package/lib/image/index.js +10 -11
  120. package/lib/info-box/index.js +4 -5
  121. package/lib/input/index.js +4 -4
  122. package/lib/link/index.js +2 -2
  123. package/lib/loading/index.js +11 -12
  124. package/lib/menu/index.js +2 -3
  125. package/lib/message/index.js +1 -1
  126. package/lib/modal/hooks.d.ts +1 -1
  127. package/lib/modal/index.d.ts +0 -3
  128. package/lib/modal/index.js +26 -25
  129. package/lib/modal/modal.css +9 -7
  130. package/lib/modal/modal.d.ts +0 -1
  131. package/lib/modal/modal.less +18 -11
  132. package/lib/modal/modal.variable.css +9 -7
  133. package/lib/navigation/index.js +7 -9
  134. package/lib/notify/index.js +1 -1
  135. package/lib/overflow-title/index.js +9 -10
  136. package/lib/pagination/index.js +1 -1
  137. package/lib/plugin-popover/index.js +26 -30
  138. package/lib/pop-confirm/index.js +4 -5
  139. package/lib/popover/index.js +26 -30
  140. package/lib/popover2/index.js +2 -2
  141. package/lib/process/index.js +4 -4
  142. package/lib/progress/index.js +5 -6
  143. package/lib/radio/index.js +6 -7
  144. package/lib/rate/index.js +1 -1
  145. package/lib/resize-layout/index.js +1 -1
  146. package/lib/search-select/index.d.ts +12 -327
  147. package/lib/search-select/index.js +350 -633
  148. package/lib/search-select/input.d.ts +2 -7
  149. package/lib/search-select/search-select.css +6 -20
  150. package/lib/search-select/search-select.d.ts +4 -109
  151. package/lib/search-select/search-select.less +12 -16
  152. package/lib/search-select/search-select.variable.css +6 -20
  153. package/lib/search-select/selected.d.ts +5 -107
  154. package/lib/search-select/utils.d.ts +1 -13
  155. package/lib/select/index.d.ts +9 -32
  156. package/lib/select/index.js +5 -8
  157. package/lib/select/select.d.ts +3 -14
  158. package/lib/shared/index.js +5 -8
  159. package/lib/sideslider/index.js +4 -4
  160. package/lib/sideslider/sideslider.css +5 -0
  161. package/lib/sideslider/sideslider.less +14 -8
  162. package/lib/sideslider/sideslider.variable.css +5 -0
  163. package/lib/slider/index.d.ts +3 -3
  164. package/lib/slider/index.js +19 -20
  165. package/lib/slider/slider.d.ts +1 -1
  166. package/lib/steps/index.d.ts +3 -3
  167. package/lib/steps/index.js +4 -4
  168. package/lib/steps/steps.d.ts +1 -1
  169. package/lib/swiper/index.js +1 -1
  170. package/lib/switcher/index.js +1 -1
  171. package/lib/tab/index.d.ts +4 -4
  172. package/lib/tab/index.js +3 -4
  173. package/lib/tab/tab.d.ts +1 -1
  174. package/lib/table/const.d.ts +1 -1
  175. package/lib/table/index.d.ts +9 -9
  176. package/lib/table/index.js +24 -26
  177. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  178. package/lib/table/table.css +96 -42
  179. package/lib/table/table.d.ts +3 -3
  180. package/lib/table/table.less +41 -56
  181. package/lib/table/table.variable.css +96 -42
  182. package/lib/table/use-render.d.ts +1 -1
  183. package/lib/table-column/index.js +2 -2
  184. package/lib/tag/index.js +1 -1
  185. package/lib/tag-input/index.js +3 -4
  186. package/lib/timeline/index.js +0 -1
  187. package/lib/transfer/index.d.ts +3 -3
  188. package/lib/transfer/transfer.d.ts +1 -1
  189. package/lib/tree/index.js +10 -12
  190. package/lib/tree/tree.css +75 -2
  191. package/lib/tree/tree.variable.css +75 -2
  192. package/lib/upload/index.d.ts +4 -16
  193. package/lib/upload/index.js +34 -25
  194. package/lib/upload/props.d.ts +0 -3
  195. package/lib/upload/upload-trigger.d.ts +0 -6
  196. package/lib/upload/upload.d.ts +1 -7
  197. package/lib/virtual-render/bk-scrollbar.css +74 -0
  198. package/lib/virtual-render/bk-scrollbar.d.ts +10 -0
  199. package/lib/virtual-render/bk-scrollbar.less +93 -0
  200. package/lib/virtual-render/bk-scrollbar.variable.css +203 -0
  201. package/lib/virtual-render/index.d.ts +4 -0
  202. package/lib/virtual-render/index.js +2542 -235
  203. package/lib/virtual-render/props.d.ts +7 -0
  204. package/lib/virtual-render/scrollbar-core/can-use-dom.d.ts +2 -0
  205. package/lib/virtual-render/scrollbar-core/helpers.d.ts +5 -0
  206. package/lib/virtual-render/scrollbar-core/index.d.ts +213 -0
  207. package/lib/virtual-render/scrollbar-core/mouse-wheel.d.ts +5 -0
  208. package/lib/virtual-render/scrollbar-core/scrollbar-width.d.ts +1 -0
  209. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  210. package/lib/virtual-render/use-scrollbar.d.ts +23 -0
  211. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  212. package/lib/virtual-render/virtual-render.css +75 -2
  213. package/lib/virtual-render/virtual-render.d.ts +2 -0
  214. package/lib/virtual-render/virtual-render.less +2 -2
  215. package/lib/virtual-render/virtual-render.variable.css +75 -2
  216. package/package.json +5 -1
@@ -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 : String(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, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
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 = ((0,external_vue_namespaceObject.defineComponent)({
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
- (0,external_vue_namespaceObject.provide)(radioGroupKey, {
559
+ provide(radioGroupKey, {
561
560
  props: props,
562
561
  register: register,
563
562
  unregister: unregister,
564
563
  handleChange: handleChange
565
564
  });
566
- (0,external_vue_namespaceObject.watch)(function () {
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
- (0,external_vue_namespaceObject.onMounted)(function () {
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 : String(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 : String(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").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
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 & Readonly<import("vue").ExtractPropTypes<{
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;
@@ -147,106 +138,14 @@ declare const BkSearchSelect: {
147
138
  valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
148
139
  }>> & {
149
140
  onFocus?: (...args: any[]) => any;
150
- onDelete?: (...args: any[]) => any;
151
141
  onAdd?: (...args: any[]) => any;
152
- }, {
153
- mode: import("./utils").SearchInputMode;
154
- conditions: import("./utils").ICommonItem[];
155
- showInputBefore: boolean;
156
- showCondition: boolean;
157
- }, true, {}, {}, {
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
142
  onDelete?: (...args: any[]) => any;
188
- onAdd?: (...args: any[]) => any;
189
143
  }, {
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
144
  mode: import("./utils").SearchInputMode;
246
145
  conditions: import("./utils").ICommonItem[];
247
146
  showInputBefore: boolean;
248
147
  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").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
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 & Readonly<import("vue").ExtractPropTypes<{
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;
@@ -580,106 +466,14 @@ declare const BkSearchSelect: {
580
466
  valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
581
467
  }>> & {
582
468
  onFocus?: (...args: any[]) => any;
583
- onDelete?: (...args: any[]) => any;
584
469
  onAdd?: (...args: any[]) => any;
585
- }, {
586
- mode: import("./utils").SearchInputMode;
587
- conditions: import("./utils").ICommonItem[];
588
- showInputBefore: boolean;
589
- showCondition: boolean;
590
- }, true, {}, {}, {
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
470
  onDelete?: (...args: any[]) => any;
621
- onAdd?: (...args: any[]) => any;
622
471
  }, {
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
472
  mode: import("./utils").SearchInputMode;
679
473
  conditions: import("./utils").ICommonItem[];
680
474
  showInputBefore: boolean;
681
475
  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").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
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,7 +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 & 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<{
947
728
  data: {
948
729
  type: import("vue").PropType<import("./utils").ISearchItem[]>;
949
730
  required: true;
@@ -966,106 +747,14 @@ declare const BkSearchSelect: {
966
747
  valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
967
748
  }>> & {
968
749
  onFocus?: (...args: any[]) => any;
969
- onDelete?: (...args: any[]) => any;
970
750
  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<{
984
- data: {
985
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
986
- required: true;
987
- };
988
- showInputBefore: BooleanConstructor;
989
- showCondition: BooleanConstructor;
990
- clickOutside: FunctionConstructor;
991
- placeholder: StringConstructor;
992
- conditions: {
993
- type: import("vue").PropType<import("./utils").ICommonItem[]>;
994
- default: () => any[];
995
- };
996
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
997
- mode: {
998
- type: import("vue").PropType<import("./utils").SearchInputMode>;
999
- default: import("./utils").SearchInputMode;
1000
- };
1001
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
1002
- validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
1003
- valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
1004
- }>> & {
1005
- onFocus?: (...args: any[]) => any;
1006
751
  onDelete?: (...args: any[]) => any;
1007
- 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;