bkui-vue 1.0.3-beta.59 → 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 (214) hide show
  1. package/dist/index.cjs.js +52 -50
  2. package/dist/index.esm.js +15711 -15010
  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 -321
  147. package/lib/search-select/index.js +224 -424
  148. package/lib/search-select/input.d.ts +2 -6
  149. package/lib/search-select/search-select.css +6 -20
  150. package/lib/search-select/search-select.d.ts +4 -107
  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 -105
  154. package/lib/search-select/utils.d.ts +1 -7
  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 -4
  193. package/lib/upload/index.js +4 -4
  194. package/lib/upload/upload.d.ts +1 -1
  195. package/lib/virtual-render/bk-scrollbar.css +74 -0
  196. package/lib/virtual-render/bk-scrollbar.d.ts +10 -0
  197. package/lib/virtual-render/bk-scrollbar.less +93 -0
  198. package/lib/virtual-render/bk-scrollbar.variable.css +203 -0
  199. package/lib/virtual-render/index.d.ts +4 -0
  200. package/lib/virtual-render/index.js +2542 -235
  201. package/lib/virtual-render/props.d.ts +7 -0
  202. package/lib/virtual-render/scrollbar-core/can-use-dom.d.ts +2 -0
  203. package/lib/virtual-render/scrollbar-core/helpers.d.ts +5 -0
  204. package/lib/virtual-render/scrollbar-core/index.d.ts +213 -0
  205. package/lib/virtual-render/scrollbar-core/mouse-wheel.d.ts +5 -0
  206. package/lib/virtual-render/scrollbar-core/scrollbar-width.d.ts +1 -0
  207. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  208. package/lib/virtual-render/use-scrollbar.d.ts +23 -0
  209. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  210. package/lib/virtual-render/virtual-render.css +75 -2
  211. package/lib/virtual-render/virtual-render.d.ts +2 -0
  212. package/lib/virtual-render/virtual-render.less +2 -2
  213. package/lib/virtual-render/virtual-render.variable.css +75 -2
  214. 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,18 +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: () => void;
115
- inputClearForWrapper: () => void;
116
108
  t: import("vue").ComputedRef<{
117
109
  pleaseSelect: string;
118
110
  loading: string;
@@ -123,7 +115,7 @@ declare const BkSearchSelect: {
123
115
  and: string;
124
116
  logical: string;
125
117
  }>;
126
- }, 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<{
127
119
  data: {
128
120
  type: import("vue").PropType<import("./utils").ISearchItem[]>;
129
121
  required: true;
@@ -146,105 +138,14 @@ declare const BkSearchSelect: {
146
138
  valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
147
139
  }>> & {
148
140
  onFocus?: (...args: any[]) => any;
149
- onDelete?: (...args: any[]) => any;
150
141
  onAdd?: (...args: any[]) => any;
151
- }, {
152
- mode: import("./utils").SearchInputMode;
153
- conditions: import("./utils").ICommonItem[];
154
- showInputBefore: boolean;
155
- showCondition: boolean;
156
- }, true, {}, {}, {
157
- P: {};
158
- B: {};
159
- D: {};
160
- C: {};
161
- M: {};
162
- Defaults: {};
163
- }, Readonly<import("vue").ExtractPropTypes<{
164
- data: {
165
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
166
- required: true;
167
- };
168
- showInputBefore: BooleanConstructor;
169
- showCondition: BooleanConstructor;
170
- clickOutside: FunctionConstructor;
171
- placeholder: StringConstructor;
172
- conditions: {
173
- type: import("vue").PropType<import("./utils").ICommonItem[]>;
174
- default: () => any[];
175
- };
176
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
177
- mode: {
178
- type: import("vue").PropType<import("./utils").SearchInputMode>;
179
- default: import("./utils").SearchInputMode;
180
- };
181
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
182
- validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
183
- valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
184
- }>> & {
185
- onFocus?: (...args: any[]) => any;
186
142
  onDelete?: (...args: any[]) => any;
187
- onAdd?: (...args: any[]) => any;
188
143
  }, {
189
- popoverRef: import("vue").Ref<HTMLDivElement>;
190
- inputRef: import("vue").Ref<HTMLDivElement>;
191
- keyword: import("vue").Ref<string>;
192
- loading: import("vue").Ref<boolean>;
193
- remoteMenuList: import("vue").Ref<{
194
- id: string;
195
- name: string;
196
- disabled?: boolean;
197
- realId?: string;
198
- value?: {
199
- name: string;
200
- id: string;
201
- realId?: string;
202
- isSelected?: boolean;
203
- logical?: import("./utils").SearchLogical;
204
- };
205
- isSelected?: boolean;
206
- logical?: import("./utils").SearchLogical;
207
- }[]>;
208
- menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
209
- menuHoverId: import("vue").Ref<string>;
210
- isFocus: import("vue").Ref<boolean>;
211
- usingItem: import("vue").Ref<import("./utils").SelectedItem>;
212
- showPopover: import("vue").Ref<boolean>;
213
- showNoSelectValueError: import("vue").Ref<boolean>;
214
- debounceSetMenuList: {
215
- (this: any): any;
216
- cancel(): void;
217
- };
218
- documentArrowEvent: (e: KeyboardEvent) => void;
219
- handleClickOutside: (e: MouseEvent) => void;
220
- handleInputFocus: () => void;
221
- handleInputChange: (event: Event) => void;
222
- handleInputPaste: (event: ClipboardEvent) => void;
223
- handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
224
- handleInputKeyup: (event: KeyboardEvent) => void;
225
- handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
226
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
227
- handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
228
- resolveClassName: (cls: string) => string;
229
- inputFocusForWrapper: () => void;
230
- inputEnterForWrapper: () => void;
231
- inputClearForWrapper: () => void;
232
- t: import("vue").ComputedRef<{
233
- pleaseSelect: string;
234
- loading: string;
235
- filterQueryMustHasValue: string;
236
- ok: string;
237
- cancel: string;
238
- or: string;
239
- and: string;
240
- logical: string;
241
- }>;
242
- }, {}, {}, {}, {
243
144
  mode: import("./utils").SearchInputMode;
244
145
  conditions: import("./utils").ICommonItem[];
245
146
  showInputBefore: boolean;
246
147
  showCondition: boolean;
247
- }>>;
148
+ }, {}>>;
248
149
  wrapRef: import("vue").Ref<HTMLDivElement>;
249
150
  isFocus: import("vue").Ref<boolean>;
250
151
  copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
@@ -268,7 +169,6 @@ declare const BkSearchSelect: {
268
169
  }[];
269
170
  condition: string;
270
171
  logical: import("./utils").SearchLogical;
271
- nameRenderkey: string;
272
172
  searchItem: {
273
173
  id: string;
274
174
  name: string;
@@ -338,9 +238,6 @@ declare const BkSearchSelect: {
338
238
  readonly showLogical: boolean;
339
239
  isSpecialType: () => boolean;
340
240
  addValue: (item: import("./utils").ICommonItem) => void;
341
- str2Values: (str: string) => import("./utils").ICommonItem[];
342
- addValues: (str: string, mergeValues?: boolean) => void;
343
- getValue: (str: string) => import("./utils").ICommonItem;
344
241
  toValue: () => import("./utils").ISearchValue;
345
242
  toValueKey: () => string;
346
243
  isInValueList: (item: import("./utils").ICommonItem) => boolean;
@@ -475,7 +372,7 @@ declare const BkSearchSelect: {
475
372
  "onUpdate:modelValue"?: (...args: any[]) => any;
476
373
  onSearch?: (...args: any[]) => any;
477
374
  }, {
478
- inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
375
+ inputRef: import("vue").Ref<import("vue").DefineComponent<{
479
376
  data: {
480
377
  type: import("vue").PropType<import("./utils").ISearchItem[]>;
481
378
  required: true;
@@ -496,10 +393,6 @@ declare const BkSearchSelect: {
496
393
  getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
497
394
  validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
498
395
  valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
499
- }>> & {
500
- onFocus?: (...args: any[]) => any;
501
- onDelete?: (...args: any[]) => any;
502
- onAdd?: (...args: any[]) => any;
503
396
  }, {
504
397
  popoverRef: import("vue").Ref<HTMLDivElement>;
505
398
  inputRef: import("vue").Ref<HTMLDivElement>;
@@ -532,18 +425,14 @@ declare const BkSearchSelect: {
532
425
  };
533
426
  documentArrowEvent: (e: KeyboardEvent) => void;
534
427
  handleClickOutside: (e: MouseEvent) => void;
535
- handleInputFocus: () => void;
428
+ handleInputFocus: (e: FocusEvent) => void;
536
429
  handleInputChange: (event: Event) => void;
537
- handleInputPaste: (event: ClipboardEvent) => void;
538
430
  handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
539
431
  handleInputKeyup: (event: KeyboardEvent) => void;
540
432
  handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
541
433
  handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
542
434
  handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
543
435
  resolveClassName: (cls: string) => string;
544
- inputFocusForWrapper: () => void;
545
- inputEnterForWrapper: () => void;
546
- inputClearForWrapper: () => void;
547
436
  t: import("vue").ComputedRef<{
548
437
  pleaseSelect: string;
549
438
  loading: string;
@@ -554,7 +443,7 @@ declare const BkSearchSelect: {
554
443
  and: string;
555
444
  logical: string;
556
445
  }>;
557
- }, 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<{
558
447
  data: {
559
448
  type: import("vue").PropType<import("./utils").ISearchItem[]>;
560
449
  required: true;
@@ -577,105 +466,14 @@ declare const BkSearchSelect: {
577
466
  valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
578
467
  }>> & {
579
468
  onFocus?: (...args: any[]) => any;
580
- onDelete?: (...args: any[]) => any;
581
469
  onAdd?: (...args: any[]) => any;
582
- }, {
583
- mode: import("./utils").SearchInputMode;
584
- conditions: import("./utils").ICommonItem[];
585
- showInputBefore: boolean;
586
- showCondition: boolean;
587
- }, true, {}, {}, {
588
- P: {};
589
- B: {};
590
- D: {};
591
- C: {};
592
- M: {};
593
- Defaults: {};
594
- }, Readonly<import("vue").ExtractPropTypes<{
595
- data: {
596
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
597
- required: true;
598
- };
599
- showInputBefore: BooleanConstructor;
600
- showCondition: BooleanConstructor;
601
- clickOutside: FunctionConstructor;
602
- placeholder: StringConstructor;
603
- conditions: {
604
- type: import("vue").PropType<import("./utils").ICommonItem[]>;
605
- default: () => any[];
606
- };
607
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
608
- mode: {
609
- type: import("vue").PropType<import("./utils").SearchInputMode>;
610
- default: import("./utils").SearchInputMode;
611
- };
612
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
613
- validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
614
- valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
615
- }>> & {
616
- onFocus?: (...args: any[]) => any;
617
470
  onDelete?: (...args: any[]) => any;
618
- onAdd?: (...args: any[]) => any;
619
471
  }, {
620
- popoverRef: import("vue").Ref<HTMLDivElement>;
621
- inputRef: import("vue").Ref<HTMLDivElement>;
622
- keyword: import("vue").Ref<string>;
623
- loading: import("vue").Ref<boolean>;
624
- remoteMenuList: import("vue").Ref<{
625
- id: string;
626
- name: string;
627
- disabled?: boolean;
628
- realId?: string;
629
- value?: {
630
- name: string;
631
- id: string;
632
- realId?: string;
633
- isSelected?: boolean;
634
- logical?: import("./utils").SearchLogical;
635
- };
636
- isSelected?: boolean;
637
- logical?: import("./utils").SearchLogical;
638
- }[]>;
639
- menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
640
- menuHoverId: import("vue").Ref<string>;
641
- isFocus: import("vue").Ref<boolean>;
642
- usingItem: import("vue").Ref<import("./utils").SelectedItem>;
643
- showPopover: import("vue").Ref<boolean>;
644
- showNoSelectValueError: import("vue").Ref<boolean>;
645
- debounceSetMenuList: {
646
- (this: any): any;
647
- cancel(): void;
648
- };
649
- documentArrowEvent: (e: KeyboardEvent) => void;
650
- handleClickOutside: (e: MouseEvent) => void;
651
- handleInputFocus: () => void;
652
- handleInputChange: (event: Event) => void;
653
- handleInputPaste: (event: ClipboardEvent) => void;
654
- handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
655
- handleInputKeyup: (event: KeyboardEvent) => void;
656
- handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
657
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
658
- handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
659
- resolveClassName: (cls: string) => string;
660
- inputFocusForWrapper: () => void;
661
- inputEnterForWrapper: () => void;
662
- inputClearForWrapper: () => void;
663
- t: import("vue").ComputedRef<{
664
- pleaseSelect: string;
665
- loading: string;
666
- filterQueryMustHasValue: string;
667
- ok: string;
668
- cancel: string;
669
- or: string;
670
- and: string;
671
- logical: string;
672
- }>;
673
- }, {}, {}, {}, {
674
472
  mode: import("./utils").SearchInputMode;
675
473
  conditions: import("./utils").ICommonItem[];
676
474
  showInputBefore: boolean;
677
475
  showCondition: boolean;
678
- }>>;
476
+ }, {}>>;
679
477
  wrapRef: import("vue").Ref<HTMLDivElement>;
680
478
  isFocus: import("vue").Ref<boolean>;
681
479
  copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
@@ -699,7 +497,6 @@ declare const BkSearchSelect: {
699
497
  }[];
700
498
  condition: string;
701
499
  logical: import("./utils").SearchLogical;
702
- nameRenderkey: string;
703
500
  searchItem: {
704
501
  id: string;
705
502
  name: string;
@@ -769,9 +566,6 @@ declare const BkSearchSelect: {
769
566
  readonly showLogical: boolean;
770
567
  isSpecialType: () => boolean;
771
568
  addValue: (item: import("./utils").ICommonItem) => void;
772
- str2Values: (str: string) => import("./utils").ICommonItem[];
773
- addValues: (str: string, mergeValues?: boolean) => void;
774
- getValue: (str: string) => import("./utils").ICommonItem;
775
569
  toValue: () => import("./utils").ISearchValue;
776
570
  toValueKey: () => string;
777
571
  isInValueList: (item: import("./utils").ICommonItem) => boolean;
@@ -859,7 +653,7 @@ declare const BkSearchSelect: {
859
653
  "onUpdate:modelValue"?: (...args: any[]) => any;
860
654
  onSearch?: (...args: any[]) => any;
861
655
  }, {
862
- inputRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
656
+ inputRef: import("vue").Ref<import("vue").DefineComponent<{
863
657
  data: {
864
658
  type: import("vue").PropType<import("./utils").ISearchItem[]>;
865
659
  required: true;
@@ -880,10 +674,6 @@ declare const BkSearchSelect: {
880
674
  getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
881
675
  validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
882
676
  valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
883
- }>> & {
884
- onFocus?: (...args: any[]) => any;
885
- onDelete?: (...args: any[]) => any;
886
- onAdd?: (...args: any[]) => any;
887
677
  }, {
888
678
  popoverRef: import("vue").Ref<HTMLDivElement>;
889
679
  inputRef: import("vue").Ref<HTMLDivElement>;
@@ -916,18 +706,14 @@ declare const BkSearchSelect: {
916
706
  };
917
707
  documentArrowEvent: (e: KeyboardEvent) => void;
918
708
  handleClickOutside: (e: MouseEvent) => void;
919
- handleInputFocus: () => void;
709
+ handleInputFocus: (e: FocusEvent) => void;
920
710
  handleInputChange: (event: Event) => void;
921
- handleInputPaste: (event: ClipboardEvent) => void;
922
711
  handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
923
712
  handleInputKeyup: (event: KeyboardEvent) => void;
924
713
  handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
925
714
  handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
926
715
  handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
927
716
  resolveClassName: (cls: string) => string;
928
- inputFocusForWrapper: () => void;
929
- inputEnterForWrapper: () => void;
930
- inputClearForWrapper: () => void;
931
717
  t: import("vue").ComputedRef<{
932
718
  pleaseSelect: string;
933
719
  loading: string;
@@ -938,7 +724,7 @@ declare const BkSearchSelect: {
938
724
  and: string;
939
725
  logical: string;
940
726
  }>;
941
- }, 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<{
942
728
  data: {
943
729
  type: import("vue").PropType<import("./utils").ISearchItem[]>;
944
730
  required: true;
@@ -961,105 +747,14 @@ declare const BkSearchSelect: {
961
747
  valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
962
748
  }>> & {
963
749
  onFocus?: (...args: any[]) => any;
964
- onDelete?: (...args: any[]) => any;
965
750
  onAdd?: (...args: any[]) => any;
966
- }, {
967
- mode: import("./utils").SearchInputMode;
968
- conditions: import("./utils").ICommonItem[];
969
- showInputBefore: boolean;
970
- showCondition: boolean;
971
- }, true, {}, {}, {
972
- P: {};
973
- B: {};
974
- D: {};
975
- C: {};
976
- M: {};
977
- Defaults: {};
978
- }, Readonly<import("vue").ExtractPropTypes<{
979
- data: {
980
- type: import("vue").PropType<import("./utils").ISearchItem[]>;
981
- required: true;
982
- };
983
- showInputBefore: BooleanConstructor;
984
- showCondition: BooleanConstructor;
985
- clickOutside: FunctionConstructor;
986
- placeholder: StringConstructor;
987
- conditions: {
988
- type: import("vue").PropType<import("./utils").ICommonItem[]>;
989
- default: () => any[];
990
- };
991
- defautUsingItem: import("vue").PropType<import("./utils").SelectedItem>;
992
- mode: {
993
- type: import("vue").PropType<import("./utils").SearchInputMode>;
994
- default: import("./utils").SearchInputMode;
995
- };
996
- getMenuList: import("vue").PropType<import("./utils").GetMenuListFunc>;
997
- validateValues: import("vue").PropType<import("./utils").ValidateValuesFunc>;
998
- valueBehavior: import("vue").PropType<import("./utils").ValueBehavior>;
999
- }>> & {
1000
- onFocus?: (...args: any[]) => any;
1001
751
  onDelete?: (...args: any[]) => any;
1002
- onAdd?: (...args: any[]) => any;
1003
752
  }, {
1004
- popoverRef: import("vue").Ref<HTMLDivElement>;
1005
- inputRef: import("vue").Ref<HTMLDivElement>;
1006
- keyword: import("vue").Ref<string>;
1007
- loading: import("vue").Ref<boolean>;
1008
- remoteMenuList: import("vue").Ref<{
1009
- id: string;
1010
- name: string;
1011
- disabled?: boolean;
1012
- realId?: string;
1013
- value?: {
1014
- name: string;
1015
- id: string;
1016
- realId?: string;
1017
- isSelected?: boolean;
1018
- logical?: import("./utils").SearchLogical;
1019
- };
1020
- isSelected?: boolean;
1021
- logical?: import("./utils").SearchLogical;
1022
- }[]>;
1023
- menuList: import("vue").Ref<import("./utils").ISearchItem[]>;
1024
- menuHoverId: import("vue").Ref<string>;
1025
- isFocus: import("vue").Ref<boolean>;
1026
- usingItem: import("vue").Ref<import("./utils").SelectedItem>;
1027
- showPopover: import("vue").Ref<boolean>;
1028
- showNoSelectValueError: import("vue").Ref<boolean>;
1029
- debounceSetMenuList: {
1030
- (this: any): any;
1031
- cancel(): void;
1032
- };
1033
- documentArrowEvent: (e: KeyboardEvent) => void;
1034
- handleClickOutside: (e: MouseEvent) => void;
1035
- handleInputFocus: () => void;
1036
- handleInputChange: (event: Event) => void;
1037
- handleInputPaste: (event: ClipboardEvent) => void;
1038
- handleLogicalChange: (logical: import("./utils").SearchLogical) => void;
1039
- handleInputKeyup: (event: KeyboardEvent) => void;
1040
- handleSelectItem: (item: import("./utils").ICommonItem, type?: import("./utils").SearchItemType) => Promise<void>;
1041
- handleSelectCondtionItem: (item: import("./utils").ICommonItem) => void;
1042
- handleMenuFooterClick: (item: import("./utils").IMenuFooterItem) => void;
1043
- resolveClassName: (cls: string) => string;
1044
- inputFocusForWrapper: () => void;
1045
- inputEnterForWrapper: () => void;
1046
- inputClearForWrapper: () => void;
1047
- t: import("vue").ComputedRef<{
1048
- pleaseSelect: string;
1049
- loading: string;
1050
- filterQueryMustHasValue: string;
1051
- ok: string;
1052
- cancel: string;
1053
- or: string;
1054
- and: string;
1055
- logical: string;
1056
- }>;
1057
- }, {}, {}, {}, {
1058
753
  mode: import("./utils").SearchInputMode;
1059
754
  conditions: import("./utils").ICommonItem[];
1060
755
  showInputBefore: boolean;
1061
756
  showCondition: boolean;
1062
- }>>;
757
+ }, {}>>;
1063
758
  wrapRef: import("vue").Ref<HTMLDivElement>;
1064
759
  isFocus: import("vue").Ref<boolean>;
1065
760
  copyData: import("vue").ShallowRef<import("./utils").ISearchItem[]>;
@@ -1083,7 +778,6 @@ declare const BkSearchSelect: {
1083
778
  }[];
1084
779
  condition: string;
1085
780
  logical: import("./utils").SearchLogical;
1086
- nameRenderkey: string;
1087
781
  searchItem: {
1088
782
  id: string;
1089
783
  name: string;
@@ -1153,9 +847,6 @@ declare const BkSearchSelect: {
1153
847
  readonly showLogical: boolean;
1154
848
  isSpecialType: () => boolean;
1155
849
  addValue: (item: import("./utils").ICommonItem) => void;
1156
- str2Values: (str: string) => import("./utils").ICommonItem[];
1157
- addValues: (str: string, mergeValues?: boolean) => void;
1158
- getValue: (str: string) => import("./utils").ICommonItem;
1159
850
  toValue: () => import("./utils").ISearchValue;
1160
851
  toValueKey: () => string;
1161
852
  isInValueList: (item: import("./utils").ICommonItem) => boolean;