bm-admin-ui 1.0.43-alpha → 1.0.45-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 (50) hide show
  1. package/es/components/button/index.d.ts +1 -1
  2. package/es/components/button/src/button.vue.d.ts +1 -1
  3. package/es/components/editor/index.d.ts +1 -1
  4. package/es/components/editor/src/editor.vue.d.ts +1 -1
  5. package/es/components/float-table/index.d.ts +2 -2
  6. package/es/components/float-table/src/float-table.vue.d.ts +2 -2
  7. package/es/components/form-create/index.js +42 -11
  8. package/es/components/form-designer/index.js +19 -5
  9. package/es/components/input-tags-display/index.js +11 -9
  10. package/es/components/search-filter/index.d.ts +3 -3
  11. package/es/components/search-filter/src/search-filter.vue.d.ts +3 -3
  12. package/es/components/select-all/index.d.ts +1 -1
  13. package/es/components/select-all/src/selectAll.vue.d.ts +1 -1
  14. package/es/components/staffs-selector/index.d.ts +2 -2
  15. package/es/components/staffs-selector/index.js +3 -8
  16. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
  17. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +2 -2
  18. package/index.esm.js +57491 -57879
  19. package/index.js +57491 -57879
  20. package/lib/components/button/index.d.ts +1 -1
  21. package/lib/components/button/src/button.vue.d.ts +1 -1
  22. package/lib/components/editor/index.d.ts +1 -1
  23. package/lib/components/editor/src/editor.vue.d.ts +1 -1
  24. package/lib/components/float-table/index.d.ts +2 -2
  25. package/lib/components/float-table/src/float-table.vue.d.ts +2 -2
  26. package/lib/components/form-create/index.js +41 -10
  27. package/lib/components/form-designer/index.js +19 -5
  28. package/lib/components/input-tags-display/index.js +11 -9
  29. package/lib/components/search-filter/index.d.ts +3 -3
  30. package/lib/components/search-filter/src/search-filter.vue.d.ts +3 -3
  31. package/lib/components/select-all/index.d.ts +1 -1
  32. package/lib/components/select-all/src/selectAll.vue.d.ts +1 -1
  33. package/lib/components/staffs-selector/index.d.ts +2 -2
  34. package/lib/components/staffs-selector/index.js +8 -22
  35. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
  36. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +2 -2
  37. package/package.json +1 -1
  38. package/types/components/button/index.d.ts +1 -1
  39. package/types/components/button/src/button.vue.d.ts +1 -1
  40. package/types/components/editor/index.d.ts +1 -1
  41. package/types/components/editor/src/editor.vue.d.ts +1 -1
  42. package/types/components/float-table/index.d.ts +2 -2
  43. package/types/components/float-table/src/float-table.vue.d.ts +2 -2
  44. package/types/components/search-filter/index.d.ts +3 -3
  45. package/types/components/search-filter/src/search-filter.vue.d.ts +3 -3
  46. package/types/components/select-all/index.d.ts +1 -1
  47. package/types/components/select-all/src/selectAll.vue.d.ts +1 -1
  48. package/types/components/staffs-selector/index.d.ts +2 -2
  49. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
  50. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +2 -2
@@ -78,7 +78,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
78
78
  onMousedown: {
79
79
  type: import("vue").PropType<(event: MouseEvent) => void>;
80
80
  };
81
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "htmlType" | "loading" | "disabled" | "ghost" | "block" | "danger">;
81
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "htmlType" | "loading" | "ghost" | "block" | "danger">;
82
82
  $attrs: {
83
83
  [x: string]: unknown;
84
84
  };
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
80
80
  onMousedown: {
81
81
  type: import("vue").PropType<(event: MouseEvent) => void>;
82
82
  };
83
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "htmlType" | "loading" | "disabled" | "ghost" | "block" | "danger">;
83
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "htmlType" | "loading" | "ghost" | "block" | "danger">;
84
84
  $attrs: {
85
85
  [x: string]: unknown;
86
86
  };
@@ -293,8 +293,8 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
293
293
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
294
294
  onGetCount?: ((...args: any[]) => any) | undefined;
295
295
  }, {
296
- disabled: boolean;
297
296
  value: string;
297
+ disabled: boolean;
298
298
  options: {
299
299
  [key: string]: any;
300
300
  };
@@ -293,8 +293,8 @@ declare const _default: import("vue").DefineComponent<{
293
293
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
294
294
  onGetCount?: ((...args: any[]) => any) | undefined;
295
295
  }, {
296
- disabled: boolean;
297
296
  value: string;
297
+ disabled: boolean;
298
298
  options: {
299
299
  [key: string]: any;
300
300
  };
@@ -42,9 +42,9 @@ declare const BmFloatTable: import("bm-admin-ui/es/utils/with-install").SFCWithI
42
42
  gridOptions: import("vue").ComputedRef<any>;
43
43
  gridEvents: import("vue").ComputedRef<any>;
44
44
  pager: import("vue").ComputedRef<any>;
45
- simpleImage: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
46
  [key: string]: any;
47
- }> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ }> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
48
  [key: string]: any;
49
49
  }> | null | undefined)[]>;
50
50
  floatRefsId: import("vue").Ref<{}>;
@@ -42,9 +42,9 @@ declare const _default: {
42
42
  gridOptions: import("vue").ComputedRef<any>;
43
43
  gridEvents: import("vue").ComputedRef<any>;
44
44
  pager: import("vue").ComputedRef<any>;
45
- simpleImage: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
46
  [key: string]: any;
47
- }> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ }> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
48
  [key: string]: any;
49
49
  }> | null | undefined)[]>;
50
50
  floatRefsId: import("vue").Ref<{}>;
@@ -1,5 +1,5 @@
1
1
  import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
- import { h, nextTick, defineComponent, ref, watch, openBlock, createElementBlock, createVNode, unref, mergeProps, computed, normalizeStyle, Fragment, renderList, normalizeClass, reactive, createBlock, withCtx, createTextVNode, createElementVNode, toDisplayString, createCommentVNode, createStaticVNode, resolveComponent } from 'vue';
2
+ import { h, nextTick, defineComponent, ref, watch, openBlock, createElementBlock, createVNode, unref, computed, normalizeStyle, Fragment, renderList, normalizeClass, reactive, createBlock, withCtx, createTextVNode, createElementVNode, toDisplayString, createCommentVNode, inject, createStaticVNode, provide, resolveComponent } from 'vue';
3
3
  import { Input, InputNumber, Select, DatePicker, RangePicker, message, Modal, Layout, LayoutSider, Tree, LayoutContent, Button, Row, Col, Pagination, FormItemRest, Divider, Tabs, TabPane, Cascader } from 'ant-design-vue';
4
4
  import dayjs from 'dayjs';
5
5
  import Picture from 'bm-admin-ui/es/components/upload';
@@ -768,7 +768,14 @@ var _export_sfc = (sfc, props) => {
768
768
 
769
769
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
770
770
  __name: "staff-selector",
771
- props: ["placeholder", "defaultSelected", "disabled"],
771
+ props: [
772
+ "title",
773
+ "mode",
774
+ "placeholder",
775
+ "defaultSelected",
776
+ "load",
777
+ "disabled"
778
+ ],
772
779
  emits: ["change"],
773
780
  setup(__props, { emit: emits }) {
774
781
  const props = __props;
@@ -802,12 +809,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
802
809
  "show-empty": "",
803
810
  onAddClick: handleAdd
804
811
  }, null, 8, ["list", "disabled"]),
805
- createVNode(unref(BmStaffsSelector), mergeProps({
812
+ createVNode(unref(BmStaffsSelector), {
806
813
  select: selected.value,
807
814
  "onUpdate:select": _cache[1] || (_cache[1] = ($event) => selected.value = $event),
808
815
  visible: visible.value,
809
- "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visible.value = $event)
810
- }, _ctx.$attrs), null, 16, ["select", "visible"])
816
+ "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
817
+ title: __props.title,
818
+ mode: __props.mode,
819
+ load: __props.load
820
+ }, null, 8, ["select", "visible", "title", "mode", "load"])
811
821
  ]);
812
822
  };
813
823
  }
@@ -1563,9 +1573,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1563
1573
  emits: ["change"],
1564
1574
  setup(__props, { emit: emits }) {
1565
1575
  const props = __props;
1576
+ const mainShopValue = inject("mainShopValue");
1566
1577
  const activeKey = ref("\u7D20\u67501");
1567
1578
  const visible = ref(false);
1568
- computed(() => props.formCreateInject.rule.value || {});
1569
1579
  const panes = reactive([
1570
1580
  {
1571
1581
  key: "\u7D20\u67501",
@@ -1704,6 +1714,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1704
1714
  props.extraConfig.getDict().then((data) => {
1705
1715
  measrueDicts.value = data;
1706
1716
  });
1717
+ watch(mainShopValue, (val) => {
1718
+ panes.splice(0);
1719
+ activeKey.value = "\u7D20\u67501";
1720
+ panes.push({
1721
+ key: "\u7D20\u67501",
1722
+ title: "\u7D20\u67501",
1723
+ tempSelected: {}
1724
+ });
1725
+ });
1707
1726
  watch(
1708
1727
  () => panes,
1709
1728
  () => {
@@ -1771,7 +1790,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1771
1790
  }, 8, ["disabled"])
1772
1791
  ])) : (openBlock(), createBlock(unref(Button), {
1773
1792
  key: 1,
1774
- disabled: __props.disabled?.includes?.("selectBtn"),
1793
+ disabled: __props.disabled?.includes?.("selectBtn") || !unref(mainShopValue)?.value,
1775
1794
  onClick: selectTemp
1776
1795
  }, {
1777
1796
  default: withCtx(() => [
@@ -2198,11 +2217,17 @@ var product = {
2198
2217
 
2199
2218
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2200
2219
  __name: "shop-widget",
2201
- props: ["value", "extraConfig", "rule", "disabled"],
2220
+ props: [
2221
+ "value",
2222
+ "extraConfig",
2223
+ "rule",
2224
+ "disabled",
2225
+ "formCreateInject"
2226
+ ],
2202
2227
  emits: ["change"],
2203
2228
  setup(__props, { emit: emits }) {
2204
2229
  const props = __props;
2205
- const value = ref(props.value);
2230
+ const value = ref(props.value?.value);
2206
2231
  const options = ref([]);
2207
2232
  const keyword = ref("");
2208
2233
  const debounceFetch = debounce((value2) => {
@@ -2220,7 +2245,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2220
2245
  options.value = data;
2221
2246
  });
2222
2247
  }
2223
- function handleChange(value2, option) {
2248
+ function handleChange(val, option) {
2249
+ value.value = val;
2224
2250
  emits("change", option);
2225
2251
  }
2226
2252
  function handleSearch(value2) {
@@ -2231,7 +2257,6 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2231
2257
  return (_ctx, _cache) => {
2232
2258
  return openBlock(), createBlock(unref(Select), {
2233
2259
  value: value.value,
2234
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => value.value = $event),
2235
2260
  placeholder: "\u8BF7\u9009\u62E9",
2236
2261
  "show-search": "",
2237
2262
  "show-arrow": false,
@@ -2271,6 +2296,7 @@ var shop = {
2271
2296
  change(inject, value) {
2272
2297
  const rule = inject.self;
2273
2298
  rule.value = value;
2299
+ rule.props.value = value;
2274
2300
  nextTick(() => {
2275
2301
  setTimeout(() => {
2276
2302
  inject.api.validateField(rule.field);
@@ -2301,6 +2327,7 @@ var shop = {
2301
2327
  change(inject, value) {
2302
2328
  const rule = inject.self;
2303
2329
  rule.value = value;
2330
+ rule.props.value = value;
2304
2331
  nextTick(() => {
2305
2332
  setTimeout(() => {
2306
2333
  inject.api.validateField(rule.field);
@@ -2916,6 +2943,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2916
2943
  return result;
2917
2944
  }, {}) : {}
2918
2945
  );
2946
+ const mainShopValue = computed(
2947
+ () => props.value[props.fdRule.find((rule2) => rule2.name === "shop" && rule2.config.isMain)?.field]
2948
+ );
2949
+ provide("mainShopValue", mainShopValue);
2919
2950
  function setRule(fdRule) {
2920
2951
  fdRule = getRuleData(fdRule);
2921
2952
  rule.value = fdRule.map((data) => {
@@ -3239,7 +3239,15 @@ var shop = {
3239
3239
  on: {
3240
3240
  change({ api, self }, value) {
3241
3241
  if (value) {
3242
- api.mergeRule(fieldsMap$1['effect.required'], { value: true });
3242
+ api.mergeRule(fieldsMap$1['effect.required'], {
3243
+ value: true,
3244
+ props: { disabled: true },
3245
+ });
3246
+ }
3247
+ else {
3248
+ api.mergeRule(fieldsMap$1['effect.required'], {
3249
+ props: { disabled: false },
3250
+ });
3243
3251
  }
3244
3252
  },
3245
3253
  },
@@ -3517,11 +3525,16 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3517
3525
  __name: "checkbox-switch",
3518
3526
  props: ["rule"],
3519
3527
  setup(__props) {
3528
+ const props = __props;
3529
+ function handleChange() {
3530
+ props.rule.config.uploadPictureRule.required = false;
3531
+ }
3520
3532
  return (_ctx, _cache) => {
3521
3533
  return openBlock(), createElementBlock("span", _hoisted_1$2, [
3522
3534
  createVNode(unref(FormItemRest), null, {
3523
3535
  default: withCtx(() => [
3524
- createVNode(unref(Checkbox), {
3536
+ !__props.rule.config.uploadPictureRule.hidden ? (openBlock(), createBlock(unref(Checkbox), {
3537
+ key: 0,
3525
3538
  checked: __props.rule.config.uploadPictureRule.required,
3526
3539
  "onUpdate:checked": _cache[0] || (_cache[0] = ($event) => __props.rule.config.uploadPictureRule.required = $event)
3527
3540
  }, {
@@ -3529,7 +3542,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3529
3542
  createTextVNode("\u5FC5\u586B")
3530
3543
  ]),
3531
3544
  _: 1
3532
- }, 8, ["checked"]),
3545
+ }, 8, ["checked"])) : createCommentVNode("v-if", true),
3533
3546
  createVNode(unref(Switch), {
3534
3547
  checked: __props.rule.config.uploadPictureRule.hidden,
3535
3548
  "onUpdate:checked": _cache[1] || (_cache[1] = ($event) => __props.rule.config.uploadPictureRule.hidden = $event),
@@ -3537,7 +3550,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3537
3550
  "checked-children": "\u5F00",
3538
3551
  "un-checked-children": "\u5173",
3539
3552
  "checked-value": false,
3540
- "un-checked-value": true
3553
+ "un-checked-value": true,
3554
+ onChange: handleChange
3541
3555
  }, null, 8, ["checked"])
3542
3556
  ]),
3543
3557
  _: 1
@@ -4128,7 +4142,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4128
4142
  () => props.presetRules,
4129
4143
  (presetRules) => {
4130
4144
  widgetFormRules.push(...presetRules);
4131
- emits("initPresetRule", widgetFormRules);
4145
+ emits("initPresetRule", getFormRule());
4132
4146
  }
4133
4147
  );
4134
4148
  watch(
@@ -128,10 +128,9 @@ const _hoisted_1 = { class: "bm-tags-display" };
128
128
  const _hoisted_2 = ["id"];
129
129
  const _hoisted_3 = { class: "pop-seleted" };
130
130
  const _hoisted_4 = { class: "pop-seleted-title" };
131
- const _hoisted_5 = { class: "select-input-wrapper" };
132
- const _hoisted_6 = { key: 1 };
133
- const _hoisted_7 = { key: 2 };
134
- const _hoisted_8 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
131
+ const _hoisted_5 = { key: 1 };
132
+ const _hoisted_6 = { key: 2 };
133
+ const _hoisted_7 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
135
134
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
136
135
  const _component_Tag = resolveComponent("Tag");
137
136
  const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
@@ -171,7 +170,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
171
170
  ], 32)
172
171
  ]),
173
172
  default: withCtx(() => [
174
- createElementVNode("div", _hoisted_5, [
173
+ createElementVNode("div", {
174
+ class: "select-input-wrapper",
175
+ onClick: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
176
+ }, [
175
177
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
176
178
  return openBlock(), createBlock(_component_Tag, {
177
179
  key: item[_ctx.fieldNames.key]
@@ -198,7 +200,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
198
200
  _: 1
199
201
  }, 16)
200
202
  ], 8, _hoisted_2)) : createCommentVNode("v-if", true),
201
- _ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_6, [
203
+ _ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_5, [
202
204
  createVNode(_component_Button, {
203
205
  onClick: withModifiers(_ctx.toAddTags, ["stop"])
204
206
  }, {
@@ -208,13 +210,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
208
210
  _: 1
209
211
  }, 8, ["onClick"])
210
212
  ])) : createCommentVNode("v-if", true),
211
- _ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
213
+ _ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_6, [
212
214
  createElementVNode("div", {
213
215
  class: "selector-empty-input",
214
- onClick: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
216
+ onClick: _cache[5] || (_cache[5] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
215
217
  }, " \xA0\xA0" + toDisplayString(_ctx.placeholder), 1)
216
218
  ])) : createCommentVNode("v-if", true),
217
- _hoisted_8
219
+ _hoisted_7
218
220
  ]);
219
221
  }
220
222
  var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
@@ -115,7 +115,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
115
115
  onSubmit?: ((...args: any[]) => any) | undefined;
116
116
  onExpand?: ((...args: any[]) => any) | undefined;
117
117
  }>>;
118
- emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
118
+ emits: (event: "update:value" | "submit" | "reset" | "expand", ...args: any[]) => void;
119
119
  isExpand: import("vue").Ref<boolean>;
120
120
  searchResetBtnRule: {
121
121
  type: string;
@@ -156,7 +156,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
156
156
  handleResize: () => void;
157
157
  expandRule: import("vue").ComputedRef<unknown[]>;
158
158
  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<{
159
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "submit" | "reset" | "expand")[], "update:value" | "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
160
160
  showExpandBtn: {
161
161
  type: BooleanConstructor;
162
162
  default: boolean;
@@ -217,8 +217,8 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
217
217
  onSubmit?: ((...args: any[]) => any) | undefined;
218
218
  onExpand?: ((...args: any[]) => any) | undefined;
219
219
  }, {
220
- loading: boolean;
221
220
  value: Record<string, any>;
221
+ loading: boolean;
222
222
  showExpandBtn: boolean;
223
223
  showSearchIcon: boolean;
224
224
  expandPlacement: "left" | "right";
@@ -115,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{
115
115
  onSubmit?: ((...args: any[]) => any) | undefined;
116
116
  onExpand?: ((...args: any[]) => any) | undefined;
117
117
  }>>;
118
- emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
118
+ emits: (event: "update:value" | "submit" | "reset" | "expand", ...args: any[]) => void;
119
119
  isExpand: import("vue").Ref<boolean>;
120
120
  searchResetBtnRule: {
121
121
  type: string;
@@ -156,7 +156,7 @@ declare const _default: import("vue").DefineComponent<{
156
156
  handleResize: () => void;
157
157
  expandRule: import("vue").ComputedRef<unknown[]>;
158
158
  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<{
159
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "submit" | "reset" | "expand")[], "update:value" | "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
160
160
  showExpandBtn: {
161
161
  type: BooleanConstructor;
162
162
  default: boolean;
@@ -217,8 +217,8 @@ declare const _default: import("vue").DefineComponent<{
217
217
  onSubmit?: ((...args: any[]) => any) | undefined;
218
218
  onExpand?: ((...args: any[]) => any) | undefined;
219
219
  }, {
220
- loading: boolean;
221
220
  value: Record<string, any>;
221
+ loading: boolean;
222
222
  showExpandBtn: boolean;
223
223
  showSearchIcon: boolean;
224
224
  expandPlacement: "left" | "right";
@@ -210,7 +210,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
210
210
  type: BooleanConstructor;
211
211
  default: any;
212
212
  };
213
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "disabled" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
213
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
214
214
  $attrs: {
215
215
  [x: string]: unknown;
216
216
  };
@@ -210,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
210
210
  type: BooleanConstructor;
211
211
  default: any;
212
212
  };
213
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "disabled" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
213
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "loading" | "bordered" | "choiceTransitionName" | "open" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "showSearch" | "defaultOpen" | "allowClear" | "showArrow" | "autoClearSearchValue" | "filterOption" | "defaultActiveFirstOption" | "labelInValue">;
214
214
  $attrs: {
215
215
  [x: string]: unknown;
216
216
  };
@@ -910,9 +910,9 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
910
910
  searchVal: import("vue").Ref<string>;
911
911
  selectAll: import("vue").Ref<boolean>;
912
912
  indeterminate: import("vue").Ref<boolean>;
913
- emptyPic: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
913
+ emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
914
914
  [key: string]: any;
915
- }> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
915
+ }> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
916
916
  [key: string]: any;
917
917
  }> | null | undefined)[]>;
918
918
  isFulfill: import("vue").Ref<boolean>;
@@ -1,12 +1,7 @@
1
1
  import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
2
  import { readonly, ref, reactive, defineComponent, watch, toRefs, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, withDirectives, createTextVNode, vShow, renderList, toDisplayString, createBlock, createCommentVNode, h, computed, normalizeClass, withModifiers, unref } from 'vue';
3
- import AModal from 'ant-design-vue/lib/modal';
3
+ import { Checkbox, Empty, message, Radio, Input, RadioGroup, Modal } from 'ant-design-vue';
4
4
  import { SearchOutlined, LoadingOutlined, CloseCircleFilled } from '@ant-design/icons-vue';
5
- import Empty from 'ant-design-vue/lib/empty';
6
- import Checkbox from 'ant-design-vue/lib/checkbox';
7
- import message from 'ant-design-vue/lib/message';
8
- import AInput from 'ant-design-vue/lib/input';
9
- import ARadio, { Group } from 'ant-design-vue/lib/radio';
10
5
 
11
6
  const MODE = {
12
7
  RADIO: 'radio',
@@ -296,7 +291,7 @@ var multipleCmp = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_rend
296
291
 
297
292
  const _sfc_main$2 = defineComponent({
298
293
  name: "RadioCmp",
299
- components: { ARadio, AInput, ARadioGroup: Group, Empty, SearchOutlined },
294
+ components: { ARadio: Radio, AInput: Input, ARadioGroup: RadioGroup, Empty, SearchOutlined },
300
295
  props: {
301
296
  list: {
302
297
  type: Array,
@@ -905,7 +900,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
905
900
  { immediate: true, deep: true }
906
901
  );
907
902
  return (_ctx, _cache) => {
908
- return openBlock(), createBlock(unref(AModal), {
903
+ return openBlock(), createBlock(unref(Modal), {
909
904
  class: "staffs-selector-modal",
910
905
  title: _ctx.title,
911
906
  visible: _ctx.visible,
@@ -28,9 +28,9 @@ declare const _default: import("vue").DefineComponent<{
28
28
  searchVal: import("vue").Ref<string>;
29
29
  selectAll: import("vue").Ref<boolean>;
30
30
  indeterminate: import("vue").Ref<boolean>;
31
- emptyPic: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
32
  [key: string]: any;
33
- }> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ }> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
34
  [key: string]: any;
35
35
  }> | null | undefined)[]>;
36
36
  isFulfill: import("vue").Ref<boolean>;
@@ -910,9 +910,9 @@ declare const _default: import("vue").DefineComponent<{
910
910
  searchVal: import("vue").Ref<string>;
911
911
  selectAll: import("vue").Ref<boolean>;
912
912
  indeterminate: import("vue").Ref<boolean>;
913
- emptyPic: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
913
+ emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
914
914
  [key: string]: any;
915
- }> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
915
+ }> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
916
916
  [key: string]: any;
917
917
  }> | null | undefined)[]>;
918
918
  isFulfill: import("vue").Ref<boolean>;