bm-admin-ui 1.0.36-alpha → 1.0.38-alpha

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 (202) hide show
  1. package/es/components/button/index.d.ts +3 -0
  2. package/es/components/button/src/button.d.ts +12 -0
  3. package/es/components/button/src/button.vue.d.ts +306 -0
  4. package/es/components/feedback/index.d.ts +9 -0
  5. package/es/components/feedback/index.js +2 -2
  6. package/es/components/feedback/src/bmAlert.vue.d.ts +191 -0
  7. package/es/components/feedback/src/bmModal.vue.d.ts +839 -0
  8. package/es/components/float-table/index.d.ts +3 -0
  9. package/es/components/float-table/index.js +27 -36
  10. package/es/components/float-table/src/float-table.vue.d.ts +69 -0
  11. package/es/components/flow-designer/index.d.ts +3 -0
  12. package/es/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
  13. package/es/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
  14. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +247 -0
  15. package/es/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
  16. package/es/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
  17. package/es/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
  18. package/es/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
  19. package/es/components/flow-designer/src/config.d.ts +24 -0
  20. package/es/components/flow-designer/src/flow-designer-test.d.ts +20 -0
  21. package/es/components/flow-designer/src/flow-designer.d.ts +11 -0
  22. package/es/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
  23. package/es/components/flow-designer/src/utils.d.ts +29 -0
  24. package/es/components/form-create/index.js +125 -163
  25. package/es/components/form-designer/index.js +271 -233
  26. package/es/components/index.d.ts +12 -0
  27. package/es/components/index.js +1 -0
  28. package/es/components/input-tags-display/index.d.ts +3 -0
  29. package/es/components/input-tags-display/index.js +21 -29
  30. package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +128 -0
  31. package/es/components/over-tooltips/index.d.ts +3 -0
  32. package/es/components/over-tooltips/index.js +20 -27
  33. package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  34. package/es/components/search-filter/index.d.ts +3 -0
  35. package/es/components/search-filter/index.js +21 -25
  36. package/es/components/search-filter/src/search-filter.d.ts +89 -0
  37. package/es/components/search-filter/src/search-filter.vue.d.ts +234 -0
  38. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +119 -0
  39. package/es/components/select-all/index.d.ts +3 -0
  40. package/es/components/select-all/index.js +157 -0
  41. package/es/components/select-all/src/selectAll.vue.d.ts +753 -0
  42. package/es/components/shops-filter/index.d.ts +3 -0
  43. package/es/components/shops-filter/index.js +43 -58
  44. package/es/components/shops-filter/src/shops-filter.d.ts +25 -0
  45. package/es/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  46. package/es/components/staffs-selector/index.d.ts +3 -0
  47. package/es/components/staffs-selector/index.js +102 -137
  48. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
  49. package/es/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  50. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
  51. package/es/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  52. package/es/components/timeline/index.d.ts +5 -0
  53. package/es/components/timeline/index.js +7 -7
  54. package/es/components/timeline/src/props.d.ts +27 -0
  55. package/es/components/timeline/src/timeline-item.vue.d.ts +64 -0
  56. package/es/components/timeline/src/timeline.vue.d.ts +50 -0
  57. package/es/components/upload/index.d.ts +3 -0
  58. package/es/components/upload/index.js +78 -115
  59. package/es/components/upload/src/icons.d.ts +13 -0
  60. package/es/components/upload/src/upload.vue.d.ts +105 -0
  61. package/es/components/upload/utils/index.d.ts +7 -0
  62. package/es/index.d.ts +6 -0
  63. package/es/utils/bm-admin-ui-resolver.d.ts +11 -0
  64. package/es/utils/uniqueId.d.ts +1 -0
  65. package/es/utils/vxe-table.d.ts +6 -0
  66. package/es/utils/with-install.d.ts +1 -0
  67. package/index.esm.js +15003 -45855
  68. package/index.js +15004 -45855
  69. package/lib/components/button/index.d.ts +3 -0
  70. package/lib/components/button/src/button.d.ts +12 -0
  71. package/lib/components/button/src/button.vue.d.ts +306 -0
  72. package/lib/components/feedback/index.d.ts +9 -0
  73. package/lib/components/feedback/index.js +1 -1
  74. package/lib/components/feedback/src/bmAlert.vue.d.ts +191 -0
  75. package/lib/components/feedback/src/bmModal.vue.d.ts +839 -0
  76. package/lib/components/float-table/index.d.ts +3 -0
  77. package/lib/components/float-table/index.js +27 -36
  78. package/lib/components/float-table/src/float-table.vue.d.ts +69 -0
  79. package/lib/components/flow-designer/index.d.ts +3 -0
  80. package/lib/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
  81. package/lib/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
  82. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +247 -0
  83. package/lib/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
  84. package/lib/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
  85. package/lib/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
  86. package/lib/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
  87. package/lib/components/flow-designer/src/config.d.ts +24 -0
  88. package/lib/components/flow-designer/src/flow-designer-test.d.ts +20 -0
  89. package/lib/components/flow-designer/src/flow-designer.d.ts +11 -0
  90. package/lib/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
  91. package/lib/components/flow-designer/src/utils.d.ts +29 -0
  92. package/lib/components/form-create/index.js +124 -162
  93. package/lib/components/form-designer/index.js +270 -232
  94. package/lib/components/index.d.ts +12 -0
  95. package/lib/components/index.js +7 -0
  96. package/lib/components/input-tags-display/index.d.ts +3 -0
  97. package/lib/components/input-tags-display/index.js +20 -28
  98. package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +128 -0
  99. package/lib/components/over-tooltips/index.d.ts +3 -0
  100. package/lib/components/over-tooltips/index.js +20 -27
  101. package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  102. package/lib/components/search-filter/index.d.ts +3 -0
  103. package/lib/components/search-filter/index.js +21 -25
  104. package/lib/components/search-filter/src/search-filter.d.ts +89 -0
  105. package/lib/components/search-filter/src/search-filter.vue.d.ts +234 -0
  106. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +119 -0
  107. package/lib/components/select-all/index.d.ts +3 -0
  108. package/lib/components/select-all/index.js +166 -0
  109. package/lib/components/select-all/src/selectAll.vue.d.ts +753 -0
  110. package/lib/components/shops-filter/index.d.ts +3 -0
  111. package/lib/components/shops-filter/index.js +42 -57
  112. package/lib/components/shops-filter/src/shops-filter.d.ts +25 -0
  113. package/lib/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  114. package/lib/components/staffs-selector/index.d.ts +3 -0
  115. package/lib/components/staffs-selector/index.js +101 -136
  116. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
  117. package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  118. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
  119. package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  120. package/lib/components/timeline/index.d.ts +5 -0
  121. package/lib/components/timeline/index.js +7 -7
  122. package/lib/components/timeline/src/props.d.ts +27 -0
  123. package/lib/components/timeline/src/timeline-item.vue.d.ts +64 -0
  124. package/lib/components/timeline/src/timeline.vue.d.ts +50 -0
  125. package/lib/components/upload/index.d.ts +3 -0
  126. package/lib/components/upload/index.js +78 -115
  127. package/lib/components/upload/src/icons.d.ts +13 -0
  128. package/lib/components/upload/src/upload.vue.d.ts +105 -0
  129. package/lib/components/upload/utils/index.d.ts +7 -0
  130. package/lib/index.d.ts +6 -0
  131. package/lib/utils/bm-admin-ui-resolver.d.ts +11 -0
  132. package/lib/utils/uniqueId.d.ts +1 -0
  133. package/lib/utils/vxe-table.d.ts +6 -0
  134. package/lib/utils/with-install.d.ts +1 -0
  135. package/package.json +2 -2
  136. package/theme-chalk/button.css +1 -1
  137. package/theme-chalk/feedback.css +1 -1
  138. package/theme-chalk/float-table.css +1 -1
  139. package/theme-chalk/floating-vue.css +1 -1
  140. package/theme-chalk/flow-designer.css +1 -1
  141. package/theme-chalk/form-designer.css +1 -1
  142. package/theme-chalk/index.css +1 -1
  143. package/theme-chalk/modal.css +1 -1
  144. package/theme-chalk/over-tooltips.css +1 -1
  145. package/theme-chalk/search-filter.css +1 -1
  146. package/theme-chalk/select-all.css +1 -0
  147. package/theme-chalk/staffs-selector.css +1 -1
  148. package/theme-chalk/timeline.css +1 -1
  149. package/theme-chalk/upload.css +1 -1
  150. package/types/components/button/index.d.ts +3 -0
  151. package/types/components/button/src/button.d.ts +12 -0
  152. package/types/components/button/src/button.vue.d.ts +306 -0
  153. package/types/components/feedback/index.d.ts +9 -0
  154. package/types/components/feedback/src/bmAlert.vue.d.ts +191 -0
  155. package/types/components/feedback/src/bmModal.vue.d.ts +839 -0
  156. package/types/components/float-table/index.d.ts +3 -0
  157. package/types/components/float-table/src/float-table.vue.d.ts +69 -0
  158. package/types/components/flow-designer/index.d.ts +3 -0
  159. package/types/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
  160. package/types/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
  161. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +247 -0
  162. package/types/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
  163. package/types/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
  164. package/types/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
  165. package/types/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
  166. package/types/components/flow-designer/src/config.d.ts +24 -0
  167. package/types/components/flow-designer/src/flow-designer-test.d.ts +20 -0
  168. package/types/components/flow-designer/src/flow-designer.d.ts +11 -0
  169. package/types/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
  170. package/types/components/flow-designer/src/utils.d.ts +29 -0
  171. package/types/components/index.d.ts +12 -0
  172. package/types/components/input-tags-display/index.d.ts +3 -0
  173. package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +128 -0
  174. package/types/components/over-tooltips/index.d.ts +3 -0
  175. package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  176. package/types/components/search-filter/index.d.ts +3 -0
  177. package/types/components/search-filter/src/search-filter.d.ts +89 -0
  178. package/types/components/search-filter/src/search-filter.vue.d.ts +234 -0
  179. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +119 -0
  180. package/types/components/select-all/index.d.ts +3 -0
  181. package/types/components/select-all/src/selectAll.vue.d.ts +753 -0
  182. package/types/components/shops-filter/index.d.ts +3 -0
  183. package/types/components/shops-filter/src/shops-filter.d.ts +25 -0
  184. package/types/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  185. package/types/components/staffs-selector/index.d.ts +3 -0
  186. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
  187. package/types/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  188. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
  189. package/types/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  190. package/types/components/timeline/index.d.ts +5 -0
  191. package/types/components/timeline/src/props.d.ts +27 -0
  192. package/types/components/timeline/src/timeline-item.vue.d.ts +64 -0
  193. package/types/components/timeline/src/timeline.vue.d.ts +50 -0
  194. package/types/components/upload/index.d.ts +3 -0
  195. package/types/components/upload/src/icons.d.ts +13 -0
  196. package/types/components/upload/src/upload.vue.d.ts +105 -0
  197. package/types/components/upload/utils/index.d.ts +7 -0
  198. package/types/index.d.ts +6 -0
  199. package/types/utils/bm-admin-ui-resolver.d.ts +11 -0
  200. package/types/utils/uniqueId.d.ts +1 -0
  201. package/types/utils/vxe-table.d.ts +6 -0
  202. package/types/utils/with-install.d.ts +1 -0
@@ -0,0 +1,12 @@
1
+ export * from './button';
2
+ export * from './flow-designer';
3
+ export * from './feedback';
4
+ export * from './search-filter';
5
+ export * from './shops-filter';
6
+ export * from './staffs-selector/index';
7
+ export * from './float-table';
8
+ export * from './over-tooltips';
9
+ export * from './upload';
10
+ export * from './timeline';
11
+ export * from './input-tags-display';
12
+ export * from './select-all';
@@ -15,6 +15,7 @@ var overTooltips = require('./over-tooltips');
15
15
  var upload = require('./upload');
16
16
  var timeline = require('./timeline');
17
17
  var inputTagsDisplay = require('./input-tags-display');
18
+ var selectAll = require('./select-all');
18
19
 
19
20
 
20
21
 
@@ -96,3 +97,9 @@ Object.keys(inputTagsDisplay).forEach(function (k) {
96
97
  get: function () { return inputTagsDisplay[k]; }
97
98
  });
98
99
  });
100
+ Object.keys(selectAll).forEach(function (k) {
101
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
102
+ enumerable: true,
103
+ get: function () { return selectAll[k]; }
104
+ });
105
+ });
@@ -0,0 +1,3 @@
1
+ declare const BmTagsDisplay: any;
2
+ export { BmTagsDisplay };
3
+ export default BmTagsDisplay;
@@ -79,9 +79,7 @@ const _sfc_main = vue.defineComponent({
79
79
  emit("update:list", []);
80
80
  emit("clear");
81
81
  if (!props.showEmptyBtn && !props.showEmpty) {
82
- console.error(
83
- "\u4E0D\u5E94\u5C06showEmptyBtn\u4E0EshowEmpty\u90FD\u7F6E\u4E3Afalse,\u8282\u70B9\u5E76\u672A\u5B9E\u9645\u9500\u6BC1"
84
- );
82
+ console.error("\u4E0D\u5E94\u5C06showEmptyBtn\u4E0EshowEmpty\u90FD\u7F6E\u4E3Afalse,\u8282\u70B9\u5E76\u672A\u5B9E\u9645\u9500\u6BC1");
85
83
  }
86
84
  }
87
85
  function toAddTags() {
@@ -103,19 +101,15 @@ const _sfc_main = vue.defineComponent({
103
101
  placement: props.placement,
104
102
  trigger: "hover"
105
103
  });
106
- vue.watch(
107
- () => props.toolTipProps,
108
- (tooltipprop) => {
109
- tooltipConfig.value = {
110
- ...tooltipConfig.value,
111
- ...tooltipprop
112
- };
113
- },
114
- {
115
- immediate: true,
116
- deep: true
117
- }
118
- );
104
+ vue.watch(() => props.toolTipProps, (tooltipprop) => {
105
+ tooltipConfig.value = {
106
+ ...tooltipConfig.value,
107
+ ...tooltipprop
108
+ };
109
+ }, {
110
+ immediate: true,
111
+ deep: true
112
+ });
119
113
  return {
120
114
  containId,
121
115
  clear,
@@ -128,12 +122,10 @@ const _hoisted_1 = { class: "bm-tags-display" };
128
122
  const _hoisted_2 = ["id"];
129
123
  const _hoisted_3 = { class: "pop-seleted" };
130
124
  const _hoisted_4 = { class: "pop-seleted-title" };
131
- const _hoisted_5 = /* @__PURE__ */ vue.createTextVNode(" \u5DF2\u9009\u62E9");
132
- const _hoisted_6 = /* @__PURE__ */ vue.createTextVNode("\u9879 ");
133
- const _hoisted_7 = { class: "select-input-wrapper" };
134
- const _hoisted_8 = { key: 1 };
135
- const _hoisted_9 = { key: 2 };
136
- const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
125
+ const _hoisted_5 = { class: "select-input-wrapper" };
126
+ const _hoisted_6 = { key: 1 };
127
+ const _hoisted_7 = { key: 2 };
128
+ const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
137
129
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
138
130
  const _component_Tag = vue.resolveComponent("Tag");
139
131
  const _component_CloseCircleFilled = vue.resolveComponent("CloseCircleFilled");
@@ -149,9 +141,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
149
141
  title: vue.withCtx(() => [
150
142
  vue.createElementVNode("div", _hoisted_3, [
151
143
  vue.createElementVNode("div", _hoisted_4, [
152
- _hoisted_5,
144
+ vue.createTextVNode(" \u5DF2\u9009\u62E9"),
153
145
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.list.length), 1),
154
- _hoisted_6
146
+ vue.createTextVNode("\u9879 ")
155
147
  ])
156
148
  ]),
157
149
  vue.createElementVNode("div", {
@@ -173,7 +165,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
173
165
  ], 32)
174
166
  ]),
175
167
  default: vue.withCtx(() => [
176
- vue.createElementVNode("div", _hoisted_7, [
168
+ vue.createElementVNode("div", _hoisted_5, [
177
169
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.list, (item) => {
178
170
  return vue.openBlock(), vue.createBlock(_component_Tag, {
179
171
  key: item[_ctx.fieldNames.key]
@@ -199,7 +191,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
199
191
  _: 1
200
192
  }, 16)
201
193
  ], 8, _hoisted_2)) : vue.createCommentVNode("v-if", true),
202
- _ctx.showEmptyBtn && !_ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
194
+ _ctx.showEmptyBtn && !_ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
203
195
  vue.createVNode(_component_Button, {
204
196
  onClick: vue.withModifiers(_ctx.toAddTags, ["stop"])
205
197
  }, {
@@ -209,13 +201,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
209
201
  _: 1
210
202
  }, 8, ["onClick"])
211
203
  ])) : vue.createCommentVNode("v-if", true),
212
- _ctx.showEmpty && !_ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
204
+ _ctx.showEmpty && !_ctx.list.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
213
205
  vue.createElementVNode("div", {
214
206
  class: "selector-empty-input",
215
207
  onClick: _cache[4] || (_cache[4] = vue.withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
216
208
  }, " \xA0\xA0" + vue.toDisplayString(_ctx.placeholder), 1)
217
209
  ])) : vue.createCommentVNode("v-if", true),
218
- _hoisted_10
210
+ _hoisted_8
219
211
  ]);
220
212
  }
221
213
  var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
@@ -0,0 +1,128 @@
1
+ declare type ItemType = {
2
+ key: string | number | any;
3
+ title: string;
4
+ };
5
+ declare const _default: import("vue").DefineComponent<{
6
+ list: {
7
+ type: ArrayConstructor;
8
+ default: () => ItemType[];
9
+ };
10
+ showEmpty: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ showEmptyBtn: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ unitStr: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ btnText: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ toolTipProps: {
31
+ type: ObjectConstructor;
32
+ default: () => {};
33
+ };
34
+ placement: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ fieldNames: {
39
+ type: ObjectConstructor;
40
+ default: () => {
41
+ key: string;
42
+ title: string;
43
+ };
44
+ };
45
+ alwaysInvoke: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }, {
50
+ containId: string;
51
+ clear: () => void;
52
+ toAddTags: () => void;
53
+ tooltipConfig: import("vue").Ref<{
54
+ align: undefined;
55
+ arrowPointAtCenter: boolean;
56
+ autoAdjustOverflow: boolean;
57
+ color: string;
58
+ defaultVisible: boolean;
59
+ destroyTooltipOnHide: boolean;
60
+ getPopupContainer: () => HTMLElement;
61
+ mouseEnterDelay: number;
62
+ mouseLeaveDelay: number;
63
+ overlayClassName: string;
64
+ overlayStyle: null;
65
+ placement: string;
66
+ trigger: string;
67
+ }>;
68
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:list" | "addClick")[], "clear" | "update:list" | "addClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
69
+ list: {
70
+ type: ArrayConstructor;
71
+ default: () => ItemType[];
72
+ };
73
+ showEmpty: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ placeholder: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ showEmptyBtn: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ unitStr: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ btnText: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ toolTipProps: {
94
+ type: ObjectConstructor;
95
+ default: () => {};
96
+ };
97
+ placement: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ fieldNames: {
102
+ type: ObjectConstructor;
103
+ default: () => {
104
+ key: string;
105
+ title: string;
106
+ };
107
+ };
108
+ alwaysInvoke: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ }>> & {
113
+ onClear?: ((...args: any[]) => any) | undefined;
114
+ "onUpdate:list"?: ((...args: any[]) => any) | undefined;
115
+ onAddClick?: ((...args: any[]) => any) | undefined;
116
+ }, {
117
+ placeholder: string;
118
+ placement: string;
119
+ list: unknown[];
120
+ showEmpty: boolean;
121
+ showEmptyBtn: boolean;
122
+ unitStr: string;
123
+ btnText: string;
124
+ toolTipProps: Record<string, any>;
125
+ fieldNames: Record<string, any>;
126
+ alwaysInvoke: boolean;
127
+ }>;
128
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const BmOverTooltips: any;
2
+ export { BmOverTooltips };
3
+ export default BmOverTooltips;
@@ -43,19 +43,16 @@ const _sfc_main = {
43
43
  isShow: false,
44
44
  openShow: false
45
45
  });
46
- const observer = new IntersectionObserver(
47
- (entries) => {
48
- entries.forEach((item) => {
49
- if (item.intersectionRatio > 0.3) {
50
- observerDom();
51
- observer.disconnect();
52
- }
53
- });
54
- },
55
- {
56
- threshold: 0.3
57
- }
58
- );
46
+ const observer = new IntersectionObserver((entries) => {
47
+ entries.forEach((item) => {
48
+ if (item.intersectionRatio > 0.3) {
49
+ observerDom();
50
+ observer.disconnect();
51
+ }
52
+ });
53
+ }, {
54
+ threshold: 0.3
55
+ });
59
56
  function observerDom() {
60
57
  if (props.line === 1) {
61
58
  if (mySelf.value.scrollWidth > mySelf.value.clientWidth) {
@@ -71,20 +68,16 @@ const _sfc_main = {
71
68
  observer.disconnect();
72
69
  });
73
70
  let mySelf = vue.ref();
74
- vue.watch(
75
- () => props.showAlways,
76
- function(showAlways) {
77
- if (showAlways)
78
- state.openShow = showAlways;
79
- mySelf.value && observer.unobserve(mySelf.value);
80
- vue.nextTick(function() {
81
- mySelf.value && observer.observe(mySelf.value);
82
- });
83
- },
84
- {
85
- immediate: true
86
- }
87
- );
71
+ vue.watch(() => props.showAlways, function(showAlways) {
72
+ if (showAlways)
73
+ state.openShow = showAlways;
74
+ mySelf.value && observer.unobserve(mySelf.value);
75
+ vue.nextTick(function() {
76
+ mySelf.value && observer.observe(mySelf.value);
77
+ });
78
+ }, {
79
+ immediate: true
80
+ });
88
81
  const handleVisibleChange = (val) => {
89
82
  state.isShow = !state.openShow ? false : val;
90
83
  };
@@ -0,0 +1,34 @@
1
+ declare const _default: {
2
+ name: string;
3
+ props: {
4
+ title: {
5
+ type: StringConstructor;
6
+ default: undefined;
7
+ };
8
+ labelTitle: {
9
+ type: StringConstructor;
10
+ default: undefined;
11
+ };
12
+ line: {
13
+ type: NumberConstructor;
14
+ default: number;
15
+ };
16
+ width: {
17
+ type: (NumberConstructor | StringConstructor)[];
18
+ default: number;
19
+ };
20
+ showAlways: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ };
25
+ setup(props: any, context: any): {
26
+ mySelf: import("vue").Ref<any>;
27
+ handleVisibleChange: (val: any) => void;
28
+ getPopupContainer: () => HTMLElement;
29
+ mSlots: import("vue").Ref<{}>;
30
+ isShow: import("vue").Ref<boolean>;
31
+ openShow: import("vue").Ref<boolean>;
32
+ };
33
+ };
34
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const BmSearchFilter: any;
2
+ export { BmSearchFilter };
3
+ export default BmSearchFilter;
@@ -38,6 +38,10 @@ const searchResetBtnProps = {
38
38
  return [24, 16];
39
39
  },
40
40
  },
41
+ loading: {
42
+ type: Boolean,
43
+ default: false,
44
+ },
41
45
  };
42
46
  const searchFilterProps = Object.assign({ userRule: {
43
47
  type: Array,
@@ -80,8 +84,6 @@ var _export_sfc = (sfc, props) => {
80
84
  };
81
85
 
82
86
  const _hoisted_1 = { class: "bm-search-filter-actions" };
83
- const _hoisted_2 = /* @__PURE__ */ vue.createTextVNode("\u91CD\u7F6E");
84
- const _hoisted_3 = /* @__PURE__ */ vue.createTextVNode("\u67E5\u8BE2");
85
87
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
86
88
  __name: "search-reset-btn",
87
89
  props: searchResetBtnProps,
@@ -120,20 +122,21 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
120
122
  vue.createElementVNode("span", _hoisted_1, [
121
123
  vue.createVNode(_component_a_button, { onClick: handleReset }, {
122
124
  default: vue.withCtx(() => [
123
- _hoisted_2
125
+ vue.createTextVNode("\u91CD\u7F6E")
124
126
  ]),
125
127
  _: 1
126
128
  }),
127
129
  vue.createVNode(_component_a_button, {
128
130
  type: "primary",
131
+ loading: props.loading,
129
132
  onClick: handleSubmit
130
133
  }, {
131
134
  default: vue.withCtx(() => [
132
- props.showSearchIcon ? (vue.openBlock(), vue.createBlock(vue.unref(iconsVue.SearchOutlined), { key: 0 })) : vue.createCommentVNode("v-if", true),
133
- _hoisted_3
135
+ props.showSearchIcon && !props.loading ? (vue.openBlock(), vue.createBlock(vue.unref(iconsVue.SearchOutlined), { key: 0 })) : vue.createCommentVNode("v-if", true),
136
+ vue.createTextVNode("\u67E5\u8BE2 ")
134
137
  ]),
135
138
  _: 1
136
- })
139
+ }, 8, ["loading"])
137
140
  ])
138
141
  ], 4);
139
142
  };
@@ -160,7 +163,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
160
163
  showSearchIcon: props.showSearchIcon,
161
164
  expandText: props.expandText,
162
165
  collapseText: props.collapseText,
163
- gutter: props.gutter
166
+ gutter: props.gutter,
167
+ loading: props.loading
164
168
  },
165
169
  on: {
166
170
  submit() {
@@ -226,15 +230,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
226
230
  vue.onBeforeUnmount(() => {
227
231
  window.removeEventListener("resize", handleResize);
228
232
  });
229
- vue.watch(
230
- () => props.showExpandBtn,
231
- (val) => {
232
- handleShowExpandBtn(val);
233
- },
234
- {
235
- immediate: true
236
- }
237
- );
233
+ vue.watch(() => props.showExpandBtn, (val) => {
234
+ handleShowExpandBtn(val);
235
+ }, {
236
+ immediate: true
237
+ });
238
238
  const expandRule = vue.computed(() => {
239
239
  const fixedCount = props.fixedCount && props.fixedCount >= 0 ? props.fixedCount : 0;
240
240
  const fixedFields = props.fixedFields?.length ? props.fixedFields : [];
@@ -253,15 +253,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
253
253
  });
254
254
  }
255
255
  }
256
- vue.watch(
257
- isExpand,
258
- (val) => {
259
- vue.nextTick(() => handleChangeExpand(val));
260
- },
261
- {
262
- immediate: true
263
- }
264
- );
256
+ vue.watch(isExpand, (val) => {
257
+ vue.nextTick(() => handleChangeExpand(val));
258
+ }, {
259
+ immediate: true
260
+ });
265
261
  expose({
266
262
  fApi
267
263
  });
@@ -0,0 +1,89 @@
1
+ import type { ExtractPropTypes, PropType } from 'vue';
2
+ export declare const searchResetBtnProps: {
3
+ showExpandBtn: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
7
+ showSearchIcon: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ expandPlacement: {
12
+ type: PropType<"left" | "right">;
13
+ default: string;
14
+ };
15
+ expandText: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ collapseText: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ gutter: {
24
+ type: PropType<number[]>;
25
+ default(): number[];
26
+ };
27
+ loading: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ };
32
+ export declare const searchFilterProps: {
33
+ showExpandBtn: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ showSearchIcon: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ expandPlacement: {
42
+ type: PropType<"left" | "right">;
43
+ default: string;
44
+ };
45
+ expandText: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ collapseText: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ gutter: {
54
+ type: PropType<number[]>;
55
+ default(): number[];
56
+ };
57
+ loading: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ userRule: {
62
+ type: ArrayConstructor;
63
+ default(): never[];
64
+ };
65
+ labelCol: {
66
+ type: ObjectConstructor;
67
+ default(): {
68
+ flex: string;
69
+ };
70
+ };
71
+ value: {
72
+ type: ObjectConstructor;
73
+ default(): {};
74
+ };
75
+ ruleSpan: {
76
+ type: ObjectConstructor;
77
+ default(): {};
78
+ };
79
+ fixedCount: {
80
+ type: NumberConstructor;
81
+ default: number;
82
+ };
83
+ fixedFields: {
84
+ type: PropType<string[]>;
85
+ default(): never[];
86
+ };
87
+ };
88
+ export declare type SerachFilterProps = ExtractPropTypes<typeof searchFilterProps>;
89
+ export declare type SearchResetBtnProps = ExtractPropTypes<typeof searchResetBtnProps>;