bm-admin-ui 1.0.85-alpha → 1.0.87-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 (105) hide show
  1. package/es/components/attachment/index.d.ts +3 -3
  2. package/es/components/attachment/src/attachment.vue.d.ts +3 -3
  3. package/es/components/breadcrumb/index.d.ts +7 -7
  4. package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  5. package/es/components/button/index.d.ts +6 -6
  6. package/es/components/button/src/button.vue.d.ts +6 -6
  7. package/es/components/edit-form/index.d.ts +4 -4
  8. package/es/components/edit-form/index.js +1 -1
  9. package/es/components/edit-form/src/edit-form.vue.d.ts +4 -4
  10. package/es/components/feedback/index.d.ts +12 -12
  11. package/es/components/feedback/src/bmAlert.vue.d.ts +6 -6
  12. package/es/components/feedback/src/bmModal.vue.d.ts +6 -6
  13. package/es/components/flow-designer/index.js +1 -1
  14. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  15. package/es/components/index.d.ts +0 -1
  16. package/es/components/search-filter/index.d.ts +48 -2
  17. package/es/components/search-filter/index.js +60 -5
  18. package/es/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  19. package/es/components/search-filter/src/search-filter.d.ts +25 -1
  20. package/es/components/search-filter/src/search-filter.vue.d.ts +48 -2
  21. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +47 -5
  22. package/es/components/select-all/index.d.ts +6 -6
  23. package/es/components/select-all/src/selectAll.vue.d.ts +6 -6
  24. package/es/components/shops-filter/index.js +33 -5
  25. package/es/components/staffs-selector/index.d.ts +16 -16
  26. package/es/components/staffs-selector/src/departmentCmp.vue.d.ts +3 -3
  27. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +3 -3
  28. package/es/components/staffs-selector/src/radioCmp.vue.d.ts +2 -2
  29. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +16 -16
  30. package/es/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
  31. package/es/components/videoView/index.d.ts +1 -1
  32. package/es/components/videoView/src/videoView.vue.d.ts +1 -1
  33. package/lib/components/attachment/index.d.ts +3 -3
  34. package/lib/components/attachment/src/attachment.vue.d.ts +3 -3
  35. package/lib/components/breadcrumb/index.d.ts +7 -7
  36. package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  37. package/lib/components/button/index.d.ts +6 -6
  38. package/lib/components/button/src/button.vue.d.ts +6 -6
  39. package/lib/components/edit-form/index.d.ts +4 -4
  40. package/lib/components/edit-form/index.js +1 -1
  41. package/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
  42. package/lib/components/feedback/index.d.ts +12 -12
  43. package/lib/components/feedback/src/bmAlert.vue.d.ts +6 -6
  44. package/lib/components/feedback/src/bmModal.vue.d.ts +6 -6
  45. package/lib/components/flow-designer/index.js +1 -1
  46. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  47. package/lib/components/index.d.ts +0 -1
  48. package/lib/components/search-filter/index.d.ts +48 -2
  49. package/lib/components/search-filter/index.js +59 -4
  50. package/lib/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  51. package/lib/components/search-filter/src/search-filter.d.ts +25 -1
  52. package/lib/components/search-filter/src/search-filter.vue.d.ts +48 -2
  53. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +47 -5
  54. package/lib/components/select-all/index.d.ts +6 -6
  55. package/lib/components/select-all/src/selectAll.vue.d.ts +6 -6
  56. package/lib/components/shops-filter/index.js +33 -5
  57. package/lib/components/staffs-selector/index.d.ts +16 -16
  58. package/lib/components/staffs-selector/src/departmentCmp.vue.d.ts +3 -3
  59. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +3 -3
  60. package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +2 -2
  61. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +16 -16
  62. package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
  63. package/lib/components/videoView/index.d.ts +1 -1
  64. package/lib/components/videoView/src/videoView.vue.d.ts +1 -1
  65. package/package.json +34 -34
  66. package/theme-chalk/index.css +1 -1
  67. package/theme-chalk/search-filter.css +1 -1
  68. package/theme-chalk/shops-filter.css +1 -1
  69. package/types/components/attachment/index.d.ts +3 -3
  70. package/types/components/attachment/src/attachment.vue.d.ts +3 -3
  71. package/types/components/breadcrumb/index.d.ts +7 -7
  72. package/types/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  73. package/types/components/button/index.d.ts +6 -6
  74. package/types/components/button/src/button.vue.d.ts +6 -6
  75. package/types/components/edit-form/index.d.ts +4 -4
  76. package/types/components/edit-form/src/edit-form.vue.d.ts +4 -4
  77. package/types/components/feedback/index.d.ts +12 -12
  78. package/types/components/feedback/src/bmAlert.vue.d.ts +6 -6
  79. package/types/components/feedback/src/bmModal.vue.d.ts +6 -6
  80. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  81. package/types/components/index.d.ts +0 -1
  82. package/types/components/search-filter/index.d.ts +48 -2
  83. package/types/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  84. package/types/components/search-filter/src/search-filter.d.ts +25 -1
  85. package/types/components/search-filter/src/search-filter.vue.d.ts +48 -2
  86. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +47 -5
  87. package/types/components/select-all/index.d.ts +6 -6
  88. package/types/components/select-all/src/selectAll.vue.d.ts +6 -6
  89. package/types/components/staffs-selector/index.d.ts +16 -16
  90. package/types/components/staffs-selector/src/departmentCmp.vue.d.ts +3 -3
  91. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +3 -3
  92. package/types/components/staffs-selector/src/radioCmp.vue.d.ts +2 -2
  93. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +16 -16
  94. package/types/components/staffs-selector/src/variedCmp.vue.d.ts +3 -3
  95. package/types/components/videoView/index.d.ts +1 -1
  96. package/types/components/videoView/src/videoView.vue.d.ts +1 -1
  97. package/es/components/shops-filter/index.d.ts +0 -99
  98. package/es/components/shops-filter/src/shops-filter.d.ts +0 -25
  99. package/es/components/shops-filter/src/shops-filter.vue.d.ts +0 -98
  100. package/lib/components/shops-filter/index.d.ts +0 -99
  101. package/lib/components/shops-filter/src/shops-filter.d.ts +0 -25
  102. package/lib/components/shops-filter/src/shops-filter.vue.d.ts +0 -98
  103. package/types/components/shops-filter/index.d.ts +0 -99
  104. package/types/components/shops-filter/src/shops-filter.d.ts +0 -25
  105. package/types/components/shops-filter/src/shops-filter.vue.d.ts +0 -98
@@ -19,6 +19,18 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
+ showSetDefaultBtn: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ setDefaultText: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ setDefaultId: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
22
34
  gutter: {
23
35
  type: import("vue").PropType<number[]>;
24
36
  default(): number[];
@@ -75,6 +87,18 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
75
87
  type: StringConstructor;
76
88
  default: string;
77
89
  };
90
+ showSetDefaultBtn: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ setDefaultText: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ setDefaultId: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
78
102
  gutter: {
79
103
  type: import("vue").PropType<number[]>;
80
104
  default(): number[];
@@ -114,8 +138,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
114
138
  onSubmit?: ((...args: any[]) => any) | undefined;
115
139
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
116
140
  onExpand?: ((...args: any[]) => any) | undefined;
141
+ onSetDefault?: ((...args: any[]) => any) | undefined;
117
142
  }>>;
118
- emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
143
+ emits: (event: "submit" | "reset" | "update:value" | "expand" | "setDefault", ...args: any[]) => void;
119
144
  isExpand: import("vue").Ref<boolean>;
120
145
  searchResetBtnRule: {
121
146
  type: string;
@@ -123,6 +148,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
123
148
  showExpandBtn: boolean;
124
149
  showSearchIcon: boolean;
125
150
  expandText: string;
151
+ showSetDefaultBtn: boolean;
152
+ setDefaultText: string;
153
+ setDefaultId: string;
126
154
  collapseText: string;
127
155
  gutter: number[];
128
156
  loading: boolean;
@@ -131,6 +159,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
131
159
  submit: () => void;
132
160
  reset: () => void;
133
161
  expand: (value: any) => void;
162
+ setDefault: () => void;
134
163
  };
135
164
  }[];
136
165
  fApi: any;
@@ -151,12 +180,13 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
151
180
  submitBtn: boolean;
152
181
  };
153
182
  rule: import("vue").ComputedRef<unknown[]>;
183
+ updateRulesDefault: (data?: {}) => void;
154
184
  handleShowExpandBtn: (val: any) => void;
155
185
  handleChange: () => void;
156
186
  handleResize: () => void;
157
187
  expandRule: import("vue").ComputedRef<unknown[]>;
158
188
  handleChangeExpand: (value: any) => void;
159
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "update:value" | "expand")[], "submit" | "reset" | "update:value" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
189
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "update:value" | "expand" | "setDefault")[], "submit" | "reset" | "update:value" | "expand" | "setDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
160
190
  showExpandBtn: {
161
191
  type: BooleanConstructor;
162
192
  default: boolean;
@@ -177,6 +207,18 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
177
207
  type: StringConstructor;
178
208
  default: string;
179
209
  };
210
+ showSetDefaultBtn: {
211
+ type: BooleanConstructor;
212
+ default: boolean;
213
+ };
214
+ setDefaultText: {
215
+ type: StringConstructor;
216
+ default: string;
217
+ };
218
+ setDefaultId: {
219
+ type: StringConstructor;
220
+ default: string;
221
+ };
180
222
  gutter: {
181
223
  type: import("vue").PropType<number[]>;
182
224
  default(): number[];
@@ -216,6 +258,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
216
258
  onSubmit?: ((...args: any[]) => any) | undefined;
217
259
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
218
260
  onExpand?: ((...args: any[]) => any) | undefined;
261
+ onSetDefault?: ((...args: any[]) => any) | undefined;
219
262
  }, {
220
263
  loading: boolean;
221
264
  labelCol: Record<string, any>;
@@ -225,6 +268,9 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
225
268
  expandPlacement: "left" | "right";
226
269
  expandText: string;
227
270
  collapseText: string;
271
+ showSetDefaultBtn: boolean;
272
+ setDefaultText: string;
273
+ setDefaultId: string;
228
274
  gutter: number[];
229
275
  userRule: unknown[];
230
276
  ruleSpan: Record<string, any>;
@@ -1,8 +1,9 @@
1
1
  import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
- import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, unref, createTextVNode, toDisplayString, createBlock, createCommentVNode, createElementVNode, createVNode, withCtx, getCurrentInstance, reactive, watch, mergeProps, isRef, withModifiers, h, onBeforeUnmount, nextTick, normalizeClass } from 'vue';
2
+ import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, unref, toDisplayString, createCommentVNode, createTextVNode, createBlock, createElementVNode, createVNode, withCtx, getCurrentInstance, reactive, watch, mergeProps, isRef, withModifiers, h, onBeforeUnmount, nextTick, normalizeClass } from 'vue';
3
3
  import FormCreateCtr from '@form-create/ant-design-vue';
4
4
  import { UpOutlined, DownOutlined, SearchOutlined } from '@ant-design/icons-vue';
5
5
  import ASelect from 'ant-design-vue/lib/select';
6
+ import { cloneDeep } from 'lodash-es';
6
7
 
7
8
  const searchResetBtnProps = {
8
9
  showExpandBtn: {
@@ -25,6 +26,18 @@ const searchResetBtnProps = {
25
26
  type: String,
26
27
  default: '收起',
27
28
  },
29
+ showSetDefaultBtn: {
30
+ type: Boolean,
31
+ default: false,
32
+ },
33
+ setDefaultText: {
34
+ type: String,
35
+ default: '设为默认条件',
36
+ },
37
+ setDefaultId: {
38
+ type: String,
39
+ default: '',
40
+ },
28
41
  gutter: {
29
42
  type: Array,
30
43
  default() {
@@ -80,7 +93,7 @@ const _hoisted_1$1 = { class: "bm-search-filter-actions" };
80
93
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
81
94
  __name: "search-reset-btn",
82
95
  props: searchResetBtnProps,
83
- emits: ["submit", "reset", "expand"],
96
+ emits: ["submit", "reset", "expand", "setDefault"],
84
97
  setup(__props, { emit: emits }) {
85
98
  const props = __props;
86
99
  const isExpand = ref(false);
@@ -98,14 +111,22 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
98
111
  function handleReset() {
99
112
  emits("reset");
100
113
  }
114
+ function handleSetDefault() {
115
+ emits("setDefault");
116
+ }
101
117
  return (_ctx, _cache) => {
102
118
  const _component_a_button = resolveComponent("a-button");
103
119
  return openBlock(), createElementBlock("div", {
104
120
  class: "bm-search-filter-btn",
105
121
  style: normalizeStyle(unref(wrapperStyle))
106
122
  }, [
107
- props.showExpandBtn ? (openBlock(), createElementBlock("span", {
123
+ _ctx.showSetDefaultBtn ? (openBlock(), createElementBlock("span", {
108
124
  key: 0,
125
+ class: "bm-search-filter-default",
126
+ onClick: handleSetDefault
127
+ }, toDisplayString(props.setDefaultText), 1)) : createCommentVNode("v-if", true),
128
+ props.showExpandBtn ? (openBlock(), createElementBlock("span", {
129
+ key: 1,
109
130
  class: "bm-search-filter-expand",
110
131
  onClick: handleExpandBtnChange
111
132
  }, [
@@ -303,7 +324,13 @@ const __default__ = {
303
324
  const _sfc_main = /* @__PURE__ */ defineComponent({
304
325
  ...__default__,
305
326
  props: searchFilterProps,
306
- emits: ["update:value", "submit", "reset", "expand"],
327
+ emits: [
328
+ "update:value",
329
+ "submit",
330
+ "reset",
331
+ "expand",
332
+ "setDefault"
333
+ ],
307
334
  setup(__props, { expose, emit: emits }) {
308
335
  const props = __props;
309
336
  FormCreateCtr.component("SearchResetBtn", SearchResetBtn);
@@ -317,6 +344,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
317
344
  showExpandBtn: props.showExpandBtn,
318
345
  showSearchIcon: props.showSearchIcon,
319
346
  expandText: props.expandText,
347
+ showSetDefaultBtn: props.showSetDefaultBtn,
348
+ setDefaultText: props.setDefaultText,
349
+ setDefaultId: props.setDefaultId,
320
350
  collapseText: props.collapseText,
321
351
  gutter: props.gutter,
322
352
  loading: props.loading
@@ -327,12 +357,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
327
357
  },
328
358
  reset() {
329
359
  fApi.value?.resetFields?.();
330
- console.log(1112);
331
360
  emits("reset");
332
361
  },
333
362
  expand(value) {
334
363
  isExpand.value = value;
335
364
  emits("expand", value);
365
+ },
366
+ setDefault() {
367
+ if (props.setDefaultId) {
368
+ window.localStorage.setItem(
369
+ props.setDefaultId,
370
+ JSON.stringify(fApi.value.formData())
371
+ );
372
+ }
373
+ emits("setDefault", fApi.value.formData());
374
+ updateRulesDefault(fApi.value.formData());
336
375
  }
337
376
  }
338
377
  }
@@ -359,6 +398,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
359
398
  return [];
360
399
  return [...props.userRule, ...searchResetBtnRule];
361
400
  });
401
+ function updateRulesDefault(data = {}) {
402
+ function setDefaultCore(config) {
403
+ if (config?.__fc__?.defaultValue) {
404
+ config.__fc__.defaultValue = void 0;
405
+ }
406
+ if (config.field && data[config.field] && config?.__fc__) {
407
+ config.__fc__.defaultValue = cloneDeep(data[config.field]);
408
+ }
409
+ config.children?.forEach((sonConfig) => {
410
+ setDefaultCore(sonConfig);
411
+ });
412
+ }
413
+ rule.value?.forEach((item) => {
414
+ setDefaultCore(item);
415
+ });
416
+ }
362
417
  function handleShowExpandBtn(val) {
363
418
  searchResetBtnRule[0].props.showExpandBtn = val;
364
419
  }
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
32
32
  }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
33
  [key: string]: any;
34
34
  }>;
35
- readonly ASelect: {
35
+ ASelect: {
36
36
  new (...args: any[]): {
37
37
  $: import("vue").ComponentInternalInstance;
38
38
  $data: {};
@@ -212,8 +212,8 @@ declare const _default: import("vue").DefineComponent<{
212
212
  $slots: Readonly<{
213
213
  [name: string]: import("vue").Slot;
214
214
  }>;
215
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
216
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
215
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
216
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
217
217
  $emit: (event: string, ...args: any[]) => void;
218
218
  $el: any;
219
219
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -382,7 +382,7 @@ declare const _default: import("vue").DefineComponent<{
382
382
  defaultActiveFirstOption: boolean;
383
383
  labelInValue: boolean;
384
384
  bordered: boolean;
385
- }, {}, string> & {
385
+ }> & {
386
386
  beforeCreate?: (() => void) | (() => void)[] | undefined;
387
387
  created?: (() => void) | (() => void)[] | undefined;
388
388
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -397,7 +397,7 @@ declare const _default: import("vue").DefineComponent<{
397
397
  unmounted?: (() => void) | (() => void)[] | undefined;
398
398
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
399
399
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
400
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
400
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
401
401
  };
402
402
  $forceUpdate: () => void;
403
403
  $nextTick: typeof import("vue").nextTick;
@@ -721,7 +721,7 @@ declare const _default: import("vue").DefineComponent<{
721
721
  defaultActiveFirstOption: boolean;
722
722
  labelInValue: boolean;
723
723
  bordered: boolean;
724
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
724
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
725
725
  readonly Option: import("ant-design-vue/lib/vc-select/Option").OptionFC;
726
726
  readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
727
727
  readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
@@ -20,6 +20,18 @@ export declare const searchResetBtnProps: {
20
20
  type: StringConstructor;
21
21
  default: string;
22
22
  };
23
+ showSetDefaultBtn: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ setDefaultText: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ setDefaultId: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
23
35
  gutter: {
24
36
  type: PropType<number[]>;
25
37
  default(): number[];
@@ -50,6 +62,18 @@ export declare const searchFilterProps: {
50
62
  type: StringConstructor;
51
63
  default: string;
52
64
  };
65
+ showSetDefaultBtn: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ setDefaultText: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ setDefaultId: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
53
77
  gutter: {
54
78
  type: PropType<number[]>;
55
79
  default(): number[];
@@ -85,5 +109,5 @@ export declare const searchFilterProps: {
85
109
  default(): never[];
86
110
  };
87
111
  };
88
- export declare type SerachFilterProps = ExtractPropTypes<typeof searchFilterProps>;
112
+ export declare type SearchFilterProps = ExtractPropTypes<typeof searchFilterProps>;
89
113
  export declare type SearchResetBtnProps = ExtractPropTypes<typeof searchResetBtnProps>;
@@ -19,6 +19,18 @@ declare const _default: import("vue").DefineComponent<{
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
+ showSetDefaultBtn: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ setDefaultText: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ setDefaultId: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
22
34
  gutter: {
23
35
  type: import("vue").PropType<number[]>;
24
36
  default(): number[];
@@ -75,6 +87,18 @@ declare const _default: import("vue").DefineComponent<{
75
87
  type: StringConstructor;
76
88
  default: string;
77
89
  };
90
+ showSetDefaultBtn: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ setDefaultText: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ setDefaultId: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
78
102
  gutter: {
79
103
  type: import("vue").PropType<number[]>;
80
104
  default(): number[];
@@ -114,8 +138,9 @@ declare const _default: import("vue").DefineComponent<{
114
138
  onSubmit?: ((...args: any[]) => any) | undefined;
115
139
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
116
140
  onExpand?: ((...args: any[]) => any) | undefined;
141
+ onSetDefault?: ((...args: any[]) => any) | undefined;
117
142
  }>>;
118
- emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
143
+ emits: (event: "submit" | "reset" | "update:value" | "expand" | "setDefault", ...args: any[]) => void;
119
144
  isExpand: import("vue").Ref<boolean>;
120
145
  searchResetBtnRule: {
121
146
  type: string;
@@ -123,6 +148,9 @@ declare const _default: import("vue").DefineComponent<{
123
148
  showExpandBtn: boolean;
124
149
  showSearchIcon: boolean;
125
150
  expandText: string;
151
+ showSetDefaultBtn: boolean;
152
+ setDefaultText: string;
153
+ setDefaultId: string;
126
154
  collapseText: string;
127
155
  gutter: number[];
128
156
  loading: boolean;
@@ -131,6 +159,7 @@ declare const _default: import("vue").DefineComponent<{
131
159
  submit: () => void;
132
160
  reset: () => void;
133
161
  expand: (value: any) => void;
162
+ setDefault: () => void;
134
163
  };
135
164
  }[];
136
165
  fApi: any;
@@ -151,12 +180,13 @@ declare const _default: import("vue").DefineComponent<{
151
180
  submitBtn: boolean;
152
181
  };
153
182
  rule: import("vue").ComputedRef<unknown[]>;
183
+ updateRulesDefault: (data?: {}) => void;
154
184
  handleShowExpandBtn: (val: any) => void;
155
185
  handleChange: () => void;
156
186
  handleResize: () => void;
157
187
  expandRule: import("vue").ComputedRef<unknown[]>;
158
188
  handleChangeExpand: (value: any) => void;
159
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "update:value" | "expand")[], "submit" | "reset" | "update:value" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
189
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "update:value" | "expand" | "setDefault")[], "submit" | "reset" | "update:value" | "expand" | "setDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
160
190
  showExpandBtn: {
161
191
  type: BooleanConstructor;
162
192
  default: boolean;
@@ -177,6 +207,18 @@ declare const _default: import("vue").DefineComponent<{
177
207
  type: StringConstructor;
178
208
  default: string;
179
209
  };
210
+ showSetDefaultBtn: {
211
+ type: BooleanConstructor;
212
+ default: boolean;
213
+ };
214
+ setDefaultText: {
215
+ type: StringConstructor;
216
+ default: string;
217
+ };
218
+ setDefaultId: {
219
+ type: StringConstructor;
220
+ default: string;
221
+ };
180
222
  gutter: {
181
223
  type: import("vue").PropType<number[]>;
182
224
  default(): number[];
@@ -216,6 +258,7 @@ declare const _default: import("vue").DefineComponent<{
216
258
  onSubmit?: ((...args: any[]) => any) | undefined;
217
259
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
218
260
  onExpand?: ((...args: any[]) => any) | undefined;
261
+ onSetDefault?: ((...args: any[]) => any) | undefined;
219
262
  }, {
220
263
  loading: boolean;
221
264
  labelCol: Record<string, any>;
@@ -225,6 +268,9 @@ declare const _default: import("vue").DefineComponent<{
225
268
  expandPlacement: "left" | "right";
226
269
  expandText: string;
227
270
  collapseText: string;
271
+ showSetDefaultBtn: boolean;
272
+ setDefaultText: string;
273
+ setDefaultId: string;
228
274
  gutter: number[];
229
275
  userRule: unknown[];
230
276
  ruleSpan: Record<string, any>;
@@ -19,6 +19,18 @@ declare const _default: import("vue").DefineComponent<{
19
19
  type: StringConstructor;
20
20
  default: string;
21
21
  };
22
+ showSetDefaultBtn: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ setDefaultText: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ setDefaultId: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
22
34
  gutter: {
23
35
  type: import("vue").PropType<number[]>;
24
36
  default(): number[];
@@ -49,6 +61,18 @@ declare const _default: import("vue").DefineComponent<{
49
61
  type: StringConstructor;
50
62
  default: string;
51
63
  };
64
+ showSetDefaultBtn: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ setDefaultText: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
72
+ setDefaultId: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
52
76
  gutter: {
53
77
  type: import("vue").PropType<number[]>;
54
78
  default(): number[];
@@ -61,8 +85,9 @@ declare const _default: import("vue").DefineComponent<{
61
85
  onReset?: ((...args: any[]) => any) | undefined;
62
86
  onSubmit?: ((...args: any[]) => any) | undefined;
63
87
  onExpand?: ((...args: any[]) => any) | undefined;
88
+ onSetDefault?: ((...args: any[]) => any) | undefined;
64
89
  }>>;
65
- emits: (event: "submit" | "reset" | "expand", ...args: any[]) => void;
90
+ emits: (event: "submit" | "reset" | "expand" | "setDefault", ...args: any[]) => void;
66
91
  isExpand: import("vue").Ref<boolean>;
67
92
  wrapperStyle: import("vue").ComputedRef<{
68
93
  paddingLeft: string;
@@ -71,10 +96,11 @@ declare const _default: import("vue").DefineComponent<{
71
96
  handleExpandBtnChange: () => void;
72
97
  handleSubmit: () => void;
73
98
  handleReset: () => void;
74
- readonly DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
75
- readonly UpOutlined: import("@ant-design/icons-vue/lib/icons/UpOutlined").UpOutlinedIconType;
76
- readonly SearchOutlined: import("@ant-design/icons-vue/lib/icons/SearchOutlined").SearchOutlinedIconType;
77
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "expand")[], "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
99
+ handleSetDefault: () => void;
100
+ DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
101
+ UpOutlined: import("@ant-design/icons-vue/lib/icons/UpOutlined").UpOutlinedIconType;
102
+ SearchOutlined: import("@ant-design/icons-vue/lib/icons/SearchOutlined").SearchOutlinedIconType;
103
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "expand" | "setDefault")[], "submit" | "reset" | "expand" | "setDefault", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
78
104
  showExpandBtn: {
79
105
  type: BooleanConstructor;
80
106
  default: boolean;
@@ -95,6 +121,18 @@ declare const _default: import("vue").DefineComponent<{
95
121
  type: StringConstructor;
96
122
  default: string;
97
123
  };
124
+ showSetDefaultBtn: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ setDefaultText: {
129
+ type: StringConstructor;
130
+ default: string;
131
+ };
132
+ setDefaultId: {
133
+ type: StringConstructor;
134
+ default: string;
135
+ };
98
136
  gutter: {
99
137
  type: import("vue").PropType<number[]>;
100
138
  default(): number[];
@@ -107,6 +145,7 @@ declare const _default: import("vue").DefineComponent<{
107
145
  onReset?: ((...args: any[]) => any) | undefined;
108
146
  onSubmit?: ((...args: any[]) => any) | undefined;
109
147
  onExpand?: ((...args: any[]) => any) | undefined;
148
+ onSetDefault?: ((...args: any[]) => any) | undefined;
110
149
  }, {
111
150
  loading: boolean;
112
151
  showExpandBtn: boolean;
@@ -114,6 +153,9 @@ declare const _default: import("vue").DefineComponent<{
114
153
  expandPlacement: "left" | "right";
115
154
  expandText: string;
116
155
  collapseText: string;
156
+ showSetDefaultBtn: boolean;
157
+ setDefaultText: string;
158
+ setDefaultId: string;
117
159
  gutter: number[];
118
160
  }>;
119
161
  export default _default;
@@ -40,7 +40,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
40
40
  }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
41
  [key: string]: any;
42
42
  }>;
43
- readonly ASelect: {
43
+ ASelect: {
44
44
  new (...args: any[]): {
45
45
  $: import("vue").ComponentInternalInstance;
46
46
  $data: {};
@@ -220,8 +220,8 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
220
220
  $slots: Readonly<{
221
221
  [name: string]: import("vue").Slot;
222
222
  }>;
223
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
224
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
223
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
224
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
225
225
  $emit: (event: string, ...args: any[]) => void;
226
226
  $el: any;
227
227
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -390,7 +390,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
390
390
  defaultActiveFirstOption: boolean;
391
391
  labelInValue: boolean;
392
392
  bordered: boolean;
393
- }, {}, string> & {
393
+ }> & {
394
394
  beforeCreate?: (() => void) | (() => void)[] | undefined;
395
395
  created?: (() => void) | (() => void)[] | undefined;
396
396
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -405,7 +405,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
405
405
  unmounted?: (() => void) | (() => void)[] | undefined;
406
406
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
407
407
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
408
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
408
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
409
409
  };
410
410
  $forceUpdate: () => void;
411
411
  $nextTick: typeof import("vue").nextTick;
@@ -729,7 +729,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
729
729
  defaultActiveFirstOption: boolean;
730
730
  labelInValue: boolean;
731
731
  bordered: boolean;
732
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
732
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
733
733
  readonly Option: import("ant-design-vue/lib/vc-select/Option").OptionFC;
734
734
  readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
735
735
  readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
41
  [key: string]: any;
42
42
  }>;
43
- readonly ASelect: {
43
+ ASelect: {
44
44
  new (...args: any[]): {
45
45
  $: import("vue").ComponentInternalInstance;
46
46
  $data: {};
@@ -220,8 +220,8 @@ declare const _default: import("vue").DefineComponent<{
220
220
  $slots: Readonly<{
221
221
  [name: string]: import("vue").Slot;
222
222
  }>;
223
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
224
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
223
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
224
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
225
225
  $emit: (event: string, ...args: any[]) => void;
226
226
  $el: any;
227
227
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -390,7 +390,7 @@ declare const _default: import("vue").DefineComponent<{
390
390
  defaultActiveFirstOption: boolean;
391
391
  labelInValue: boolean;
392
392
  bordered: boolean;
393
- }, {}, string> & {
393
+ }> & {
394
394
  beforeCreate?: (() => void) | (() => void)[] | undefined;
395
395
  created?: (() => void) | (() => void)[] | undefined;
396
396
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -405,7 +405,7 @@ declare const _default: import("vue").DefineComponent<{
405
405
  unmounted?: (() => void) | (() => void)[] | undefined;
406
406
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
407
407
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
408
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
408
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
409
409
  };
410
410
  $forceUpdate: () => void;
411
411
  $nextTick: typeof import("vue").nextTick;
@@ -729,7 +729,7 @@ declare const _default: import("vue").DefineComponent<{
729
729
  defaultActiveFirstOption: boolean;
730
730
  labelInValue: boolean;
731
731
  bordered: boolean;
732
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
732
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
733
733
  readonly Option: import("ant-design-vue/lib/vc-select/Option").OptionFC;
734
734
  readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
735
735
  readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";