bm-admin-ui 1.1.10-alpha → 1.1.11-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 (59) hide show
  1. package/es/components/edit-form/index.d.ts +2 -2
  2. package/es/components/edit-form/src/edit-form.vue.d.ts +2 -2
  3. package/es/components/editor/index.d.ts +4 -4
  4. package/es/components/editor/src/editor.vue.d.ts +4 -4
  5. package/es/components/feedback/index.d.ts +4 -4
  6. package/es/components/feedback/src/bmAlert.vue.d.ts +4 -4
  7. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
  8. package/es/components/form-create/index.js +44 -5
  9. package/es/components/form-designer/index.js +3 -0
  10. package/es/components/input-tags-display/index.d.ts +2 -2
  11. package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +2 -2
  12. package/es/components/search-filter/index.d.ts +1 -1
  13. package/es/components/search-filter/src/form-select-all.vue.d.ts +8 -8
  14. package/es/components/search-filter/src/search-filter.vue.d.ts +1 -1
  15. package/es/components/select-all/index.d.ts +10 -10
  16. package/es/components/select-all/src/selectAll.vue.d.ts +10 -10
  17. package/es/components/staffs-selector/index.d.ts +1 -1
  18. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  19. package/es/components/timeline/index.d.ts +1 -1
  20. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  21. package/lib/components/edit-form/index.d.ts +2 -2
  22. package/lib/components/edit-form/src/edit-form.vue.d.ts +2 -2
  23. package/lib/components/editor/index.d.ts +4 -4
  24. package/lib/components/editor/src/editor.vue.d.ts +4 -4
  25. package/lib/components/feedback/index.d.ts +4 -4
  26. package/lib/components/feedback/src/bmAlert.vue.d.ts +4 -4
  27. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
  28. package/lib/components/form-create/index.js +44 -5
  29. package/lib/components/form-designer/index.js +3 -0
  30. package/lib/components/input-tags-display/index.d.ts +2 -2
  31. package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +2 -2
  32. package/lib/components/search-filter/index.d.ts +1 -1
  33. package/lib/components/search-filter/src/form-select-all.vue.d.ts +8 -8
  34. package/lib/components/search-filter/src/search-filter.vue.d.ts +1 -1
  35. package/lib/components/select-all/index.d.ts +10 -10
  36. package/lib/components/select-all/src/selectAll.vue.d.ts +10 -10
  37. package/lib/components/staffs-selector/index.d.ts +1 -1
  38. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  39. package/lib/components/timeline/index.d.ts +1 -1
  40. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/types/components/edit-form/index.d.ts +2 -2
  43. package/types/components/edit-form/src/edit-form.vue.d.ts +2 -2
  44. package/types/components/editor/index.d.ts +4 -4
  45. package/types/components/editor/src/editor.vue.d.ts +4 -4
  46. package/types/components/feedback/index.d.ts +4 -4
  47. package/types/components/feedback/src/bmAlert.vue.d.ts +4 -4
  48. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -4
  49. package/types/components/input-tags-display/index.d.ts +2 -2
  50. package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +2 -2
  51. package/types/components/search-filter/index.d.ts +1 -1
  52. package/types/components/search-filter/src/form-select-all.vue.d.ts +8 -8
  53. package/types/components/search-filter/src/search-filter.vue.d.ts +1 -1
  54. package/types/components/select-all/index.d.ts +10 -10
  55. package/types/components/select-all/src/selectAll.vue.d.ts +10 -10
  56. package/types/components/staffs-selector/index.d.ts +1 -1
  57. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  58. package/types/components/timeline/index.d.ts +1 -1
  59. package/types/components/timeline/src/timeline-item.vue.d.ts +1 -1
@@ -48,7 +48,7 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
48
48
  tmpForm: import("vue").Ref<Record<string, any>>;
49
49
  formRef: import("vue").Ref<import("ant-design-vue").FormInstance | null>;
50
50
  colCount: import("vue").ComputedRef<2 | 1 | 3>;
51
- getValueOfOption: (key: string | undefined, defaultKey: "value" | "label", option: any) => string;
51
+ getValueOfOption: (key: string | undefined, defaultKey: "label" | "value", option: any) => string;
52
52
  getPopupContainer: (e: any) => any;
53
53
  getColsConfig: (type: "labelCol" | "wrapperCol", item: import("./src/types").Control, index?: number | undefined) => {
54
54
  flex?: string | undefined;
@@ -142,8 +142,8 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
142
142
  "onKeyup:formItem"?: ((...args: any[]) => any) | undefined;
143
143
  "onFocus:formItem"?: ((...args: any[]) => any) | undefined;
144
144
  }, {
145
- form: Record<string, any> | null;
146
145
  config: import("./src/types").FormConfig;
146
+ form: Record<string, any> | null;
147
147
  groupRules: Record<string, import("ant-design-vue/lib/form").RuleObject | import("ant-design-vue/lib/form").RuleObject[] | undefined>;
148
148
  }>>;
149
149
  export { BmEditForm };
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
47
47
  tmpForm: import("vue").Ref<Record<string, any>>;
48
48
  formRef: import("vue").Ref<FormInstance | null>;
49
49
  colCount: import("vue").ComputedRef<2 | 1 | 3>;
50
- getValueOfOption: (key: string | undefined, defaultKey: "value" | "label", option: any) => string;
50
+ getValueOfOption: (key: string | undefined, defaultKey: "label" | "value", option: any) => string;
51
51
  getPopupContainer: (e: any) => any;
52
52
  getColsConfig: (type: "labelCol" | "wrapperCol", item: import("./types").Control, index?: number | undefined) => {
53
53
  flex?: string | undefined;
@@ -141,8 +141,8 @@ declare const _default: import("vue").DefineComponent<{
141
141
  "onKeyup:formItem"?: ((...args: any[]) => any) | undefined;
142
142
  "onFocus:formItem"?: ((...args: any[]) => any) | undefined;
143
143
  }, {
144
- form: Record<string, any> | null;
145
144
  config: import("./types").FormConfig;
145
+ form: Record<string, any> | null;
146
146
  groupRules: Record<string, import("ant-design-vue/lib/form").RuleObject | import("ant-design-vue/lib/form").RuleObject[] | undefined>;
147
147
  }>;
148
148
  export default _default;
@@ -63,8 +63,8 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
63
63
  onChange?: ((...args: any[]) => any) | undefined;
64
64
  onFocus?: ((...args: any[]) => any) | undefined;
65
65
  onBlur?: ((...args: any[]) => any) | undefined;
66
- onReady?: ((...args: any[]) => any) | undefined;
67
66
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
67
+ onReady?: ((...args: any[]) => any) | undefined;
68
68
  onGetCount?: ((...args: any[]) => any) | undefined;
69
69
  }>>;
70
70
  defaultOptions: {
@@ -105,7 +105,7 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
105
105
  placeholder: string;
106
106
  readOnly: boolean;
107
107
  };
108
- emits: (event: "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", ...args: any[]) => void;
108
+ emits: (event: "focus" | "ready" | "change" | "blur" | "update:value" | "getCount", ...args: any[]) => void;
109
109
  state: {
110
110
  editorOption: {};
111
111
  quill: null;
@@ -256,7 +256,7 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
256
256
  pictureFileTypes: import("vue").Ref<string[]>;
257
257
  };
258
258
  };
259
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ready" | "change" | "blur" | "focus" | "update:value" | "getCount")[], "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
259
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "ready" | "change" | "blur" | "update:value" | "getCount")[], "focus" | "ready" | "change" | "blur" | "update:value" | "getCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
260
260
  value: import("vue-types").VueTypeValidableDef<string> & {
261
261
  default: string;
262
262
  } & {
@@ -290,8 +290,8 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
290
290
  onChange?: ((...args: any[]) => any) | undefined;
291
291
  onFocus?: ((...args: any[]) => any) | undefined;
292
292
  onBlur?: ((...args: any[]) => any) | undefined;
293
- onReady?: ((...args: any[]) => any) | undefined;
294
293
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
294
+ onReady?: ((...args: any[]) => any) | undefined;
295
295
  onGetCount?: ((...args: any[]) => any) | undefined;
296
296
  }, {
297
297
  disabled: boolean;
@@ -63,8 +63,8 @@ declare const _default: import("vue").DefineComponent<{
63
63
  onChange?: ((...args: any[]) => any) | undefined;
64
64
  onFocus?: ((...args: any[]) => any) | undefined;
65
65
  onBlur?: ((...args: any[]) => any) | undefined;
66
- onReady?: ((...args: any[]) => any) | undefined;
67
66
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
67
+ onReady?: ((...args: any[]) => any) | undefined;
68
68
  onGetCount?: ((...args: any[]) => any) | undefined;
69
69
  }>>;
70
70
  defaultOptions: {
@@ -105,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
105
105
  placeholder: string;
106
106
  readOnly: boolean;
107
107
  };
108
- emits: (event: "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", ...args: any[]) => void;
108
+ emits: (event: "focus" | "ready" | "change" | "blur" | "update:value" | "getCount", ...args: any[]) => void;
109
109
  state: {
110
110
  editorOption: {};
111
111
  quill: null;
@@ -256,7 +256,7 @@ declare const _default: import("vue").DefineComponent<{
256
256
  pictureFileTypes: import("vue").Ref<string[]>;
257
257
  };
258
258
  };
259
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ready" | "change" | "blur" | "focus" | "update:value" | "getCount")[], "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
259
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "ready" | "change" | "blur" | "update:value" | "getCount")[], "focus" | "ready" | "change" | "blur" | "update:value" | "getCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
260
260
  value: import("vue-types").VueTypeValidableDef<string> & {
261
261
  default: string;
262
262
  } & {
@@ -290,8 +290,8 @@ declare const _default: import("vue").DefineComponent<{
290
290
  onChange?: ((...args: any[]) => any) | undefined;
291
291
  onFocus?: ((...args: any[]) => any) | undefined;
292
292
  onBlur?: ((...args: any[]) => any) | undefined;
293
- onReady?: ((...args: any[]) => any) | undefined;
294
293
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
294
+ onReady?: ((...args: any[]) => any) | undefined;
295
295
  onGetCount?: ((...args: any[]) => any) | undefined;
296
296
  }, {
297
297
  disabled: boolean;
@@ -880,7 +880,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
880
880
  closable: boolean;
881
881
  banner: boolean;
882
882
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
883
- type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
883
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
884
884
  closable: {
885
885
  type: BooleanConstructor;
886
886
  default: any;
@@ -916,7 +916,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
916
916
  $emit: (event: string, ...args: any[]) => void;
917
917
  $el: any;
918
918
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
919
- type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
919
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
920
920
  closable: {
921
921
  type: BooleanConstructor;
922
922
  default: any;
@@ -962,7 +962,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
962
962
  $nextTick: typeof import("vue").nextTick;
963
963
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
964
964
  } & Readonly<import("vue").ExtractPropTypes<{
965
- type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
965
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
966
966
  closable: {
967
967
  type: BooleanConstructor;
968
968
  default: any;
@@ -988,7 +988,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
988
988
  __isTeleport?: undefined;
989
989
  __isSuspense?: undefined;
990
990
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
991
- type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
991
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
992
992
  closable: {
993
993
  type: BooleanConstructor;
994
994
  default: any;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  closable: boolean;
37
37
  banner: boolean;
38
38
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
39
- type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
39
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
40
40
  closable: {
41
41
  type: BooleanConstructor;
42
42
  default: any;
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
72
72
  $emit: (event: string, ...args: any[]) => void;
73
73
  $el: any;
74
74
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
75
- type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
75
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
76
76
  closable: {
77
77
  type: BooleanConstructor;
78
78
  default: any;
@@ -118,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
118
118
  $nextTick: typeof import("vue").nextTick;
119
119
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
120
120
  } & Readonly<import("vue").ExtractPropTypes<{
121
- type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
121
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
122
122
  closable: {
123
123
  type: BooleanConstructor;
124
124
  default: any;
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<{
144
144
  __isTeleport?: undefined;
145
145
  __isSuspense?: undefined;
146
146
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
147
- type: import("vue-types").VueTypeDef<"info" | "success" | "error" | "warning">;
147
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
148
148
  closable: {
149
149
  type: BooleanConstructor;
150
150
  default: any;
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
71
71
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
72
72
  prefixCls: StringConstructor;
73
73
  color: {
74
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "success" | "error" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
74
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
75
75
  };
76
76
  closable: {
77
77
  type: BooleanConstructor;
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
104
104
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
105
105
  prefixCls: StringConstructor;
106
106
  color: {
107
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "success" | "error" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
107
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
108
108
  };
109
109
  closable: {
110
110
  type: BooleanConstructor;
@@ -146,7 +146,7 @@ declare const _default: import("vue").DefineComponent<{
146
146
  } & Readonly<import("vue").ExtractPropTypes<{
147
147
  prefixCls: StringConstructor;
148
148
  color: {
149
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "success" | "error" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
149
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
150
150
  };
151
151
  closable: {
152
152
  type: BooleanConstructor;
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
169
169
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
170
170
  prefixCls: StringConstructor;
171
171
  color: {
172
- type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "success" | "error" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
172
+ type: import("vue").PropType<import("ant-design-vue/lib/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "processing" | "geekblue" | "volcano", string>>;
173
173
  };
174
174
  closable: {
175
175
  type: BooleanConstructor;
@@ -18573,7 +18573,12 @@ var lodash = {exports: {}};
18573
18573
 
18574
18574
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
18575
18575
  __name: "product-input-in-table",
18576
- props: ["value", "disabled", "shopValue"],
18576
+ props: [
18577
+ "value",
18578
+ "disabled",
18579
+ "shopValue",
18580
+ "doNotClearAfterFilterChange"
18581
+ ],
18577
18582
  emits: ["change"],
18578
18583
  setup(__props, { emit: emits }) {
18579
18584
  const props = __props;
@@ -18594,7 +18599,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18594
18599
  watch(
18595
18600
  () => props.shopValue,
18596
18601
  () => {
18597
- emitChange("");
18602
+ if (!props.doNotClearAfterFilterChange) {
18603
+ emitChange("");
18604
+ }
18598
18605
  }
18599
18606
  );
18600
18607
  return (_ctx, _cache) => {
@@ -18992,9 +18999,24 @@ const _sfc_main$7 = defineComponent({
18992
18999
  }
18993
19000
  });
18994
19001
  }
18995
- function handleImport() {
19002
+ async function handleImport() {
18996
19003
  if (importDisabled()) {
18997
19004
  message.error("\u8BF7\u5148\u9009\u62E9\u5E97\u94FA\uFF01");
19005
+ } else if (tableConfig.value?.system === "productCenter" && [
19006
+ "F2CTemplate",
19007
+ "B2CTemplate",
19008
+ "DistributeTemp",
19009
+ "FreshTemplate",
19010
+ "activityApply"
19011
+ ].includes(tableConfig.value?.template)) {
19012
+ if (data.length > 0) {
19013
+ if (await utils.confirmModal("\u518D\u6B21\u6279\u5BFC\u4F1A\u8986\u76D6\u5DF2\u6709\u6570\u636E")) {
19014
+ data.splice(0, data.length);
19015
+ inputRef.value.click();
19016
+ }
19017
+ } else {
19018
+ inputRef.value.click();
19019
+ }
18998
19020
  } else {
18999
19021
  inputRef.value.click();
19000
19022
  }
@@ -19283,6 +19305,13 @@ const _sfc_main$7 = defineComponent({
19283
19305
  }
19284
19306
  function handlePressEnter(value, rule, row) {
19285
19307
  row[rule.field] = value;
19308
+ if (tableConfig.value?.system === "productCenter" && rule.field === "productCode") {
19309
+ Object.keys(row).forEach((key) => {
19310
+ if (!["productCode", "_X_ROW_KEY"].includes(key)) {
19311
+ row[key] = void 0;
19312
+ }
19313
+ });
19314
+ }
19286
19315
  queryProductInfo(rule, row);
19287
19316
  }
19288
19317
  function handleShopOption(value, rule, row) {
@@ -19427,6 +19456,12 @@ const _sfc_main$7 = defineComponent({
19427
19456
  e.target.value = "";
19428
19457
  }
19429
19458
  }
19459
+ function getProductClearSetting(field) {
19460
+ let setting = props.rule.config.childRules?.find((rule) => {
19461
+ return rule.field === field;
19462
+ });
19463
+ return !!setting?.config?.doNotClearAfterFilterChange;
19464
+ }
19430
19465
  return (_ctx, _cache) => {
19431
19466
  return openBlock(), createElementBlock("div", _hoisted_1$5, [
19432
19467
  createElementVNode("div", _hoisted_2$4, [
@@ -19612,8 +19647,9 @@ const _sfc_main$7 = defineComponent({
19612
19647
  value: row[item.field],
19613
19648
  disabled: item.disabled || pruductInputDisabled(item.config?.dataFiltering),
19614
19649
  "shop-value": unref(formData)[item.config.dataFiltering],
19650
+ "do-not-clear-after-filter-change": getProductClearSetting(item.field),
19615
19651
  onChange: ($event) => handlePressEnter($event, item, row)
19616
- }, null, 8, ["value", "disabled", "shop-value", "onChange"])
19652
+ }, null, 8, ["value", "disabled", "shop-value", "do-not-clear-after-filter-change", "onChange"])
19617
19653
  ])
19618
19654
  };
19619
19655
  }),
@@ -20290,6 +20326,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20290
20326
  props: [
20291
20327
  "associatedFields",
20292
20328
  "dataFiltering",
20329
+ "doNotClearAfterFilterChange",
20293
20330
  "required",
20294
20331
  "extraConfig",
20295
20332
  "defalutValue",
@@ -20363,7 +20400,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20363
20400
  watch(
20364
20401
  () => formData.value[props.dataFiltering],
20365
20402
  () => {
20366
- if (inputValue.value) {
20403
+ if (inputValue.value && !props.doNotClearAfterFilterChange) {
20367
20404
  reset();
20368
20405
  }
20369
20406
  }
@@ -20469,6 +20506,7 @@ var product = {
20469
20506
  required: data.effect.required,
20470
20507
  associatedFields: data.config.associatedFields,
20471
20508
  dataFiltering: data.config.dataFiltering,
20509
+ doNotClearAfterFilterChange: data.config.doNotClearAfterFilterChange,
20472
20510
  extraConfig: extraConfig,
20473
20511
  defalutValue: data.value,
20474
20512
  },
@@ -20498,6 +20536,7 @@ var product = {
20498
20536
  required: data.effect.required,
20499
20537
  associatedFields: data.config.associatedFields,
20500
20538
  dataFiltering: data.config.dataFiltering,
20539
+ doNotClearAfterFilterChange: data.config.doNotClearAfterFilterChange,
20501
20540
  defalutValue: data.value,
20502
20541
  extraConfig: extraConfig,
20503
20542
  },
@@ -4093,6 +4093,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4093
4093
  return newRule;
4094
4094
  }
4095
4095
  function handleFormItemCopy(rule, parentRule) {
4096
+ if (!props?.dragCheckFunc(rule.config.config)) {
4097
+ return;
4098
+ }
4096
4099
  const newRule = copyRule(
4097
4100
  rule,
4098
4101
  rule.config.config,
@@ -125,15 +125,15 @@ declare const BmTagsDisplay: import("bm-admin-ui/es/utils/with-install").SFCWith
125
125
  onAddClick?: ((...args: any[]) => any) | undefined;
126
126
  }, {
127
127
  disabled: boolean;
128
+ placement: string;
129
+ fieldNames: Record<string, any>;
128
130
  placeholder: string;
129
131
  list: unknown[];
130
- placement: string;
131
132
  showEmpty: boolean;
132
133
  showEmptyBtn: boolean;
133
134
  unitStr: string;
134
135
  btnText: string;
135
136
  toolTipProps: Record<string, any>;
136
- fieldNames: Record<string, any>;
137
137
  alwaysInvoke: boolean;
138
138
  }>>;
139
139
  export { BmTagsDisplay };
@@ -123,15 +123,15 @@ declare const _default: import("vue").DefineComponent<{
123
123
  onAddClick?: ((...args: any[]) => any) | undefined;
124
124
  }, {
125
125
  disabled: boolean;
126
+ placement: string;
127
+ fieldNames: Record<string, any>;
126
128
  placeholder: string;
127
129
  list: unknown[];
128
- placement: string;
129
130
  showEmpty: boolean;
130
131
  showEmptyBtn: boolean;
131
132
  unitStr: string;
132
133
  btnText: string;
133
134
  toolTipProps: Record<string, any>;
134
- fieldNames: Record<string, any>;
135
135
  alwaysInvoke: boolean;
136
136
  }>;
137
137
  export default _default;
@@ -287,6 +287,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
287
287
  onSetDefault?: ((...args: any[]) => any) | undefined;
288
288
  }, {
289
289
  loading: boolean;
290
+ labelCol: Record<string, any>;
290
291
  value: Record<string, any>;
291
292
  showExpandBtn: boolean;
292
293
  showSearchIcon: boolean;
@@ -300,7 +301,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
300
301
  setDefaultConfirmConfig: Record<string, any>;
301
302
  gutter: number[];
302
303
  userRule: unknown[];
303
- labelCol: Record<string, any>;
304
304
  ruleSpan: Record<string, any>;
305
305
  fixedCount: number;
306
306
  fixedFields: string[];
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
104
104
  onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
105
105
  prefixCls: StringConstructor;
106
106
  direction: {
107
- type: import("vue").PropType<"rtl" | "ltr">;
107
+ type: import("vue").PropType<"ltr" | "rtl">;
108
108
  };
109
109
  open: {
110
110
  type: BooleanConstructor;
@@ -129,7 +129,7 @@ declare const _default: import("vue").DefineComponent<{
129
129
  };
130
130
  children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
131
131
  showAction: {
132
- type: import("vue").PropType<("focus" | "click")[]>;
132
+ type: import("vue").PropType<("click" | "focus")[]>;
133
133
  };
134
134
  id: StringConstructor;
135
135
  placement: {
@@ -267,7 +267,7 @@ declare const _default: import("vue").DefineComponent<{
267
267
  onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
268
268
  prefixCls: StringConstructor;
269
269
  direction: {
270
- type: import("vue").PropType<"rtl" | "ltr">;
270
+ type: import("vue").PropType<"ltr" | "rtl">;
271
271
  };
272
272
  open: {
273
273
  type: BooleanConstructor;
@@ -292,7 +292,7 @@ declare const _default: import("vue").DefineComponent<{
292
292
  };
293
293
  children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
294
294
  showAction: {
295
- type: import("vue").PropType<("focus" | "click")[]>;
295
+ type: import("vue").PropType<("click" | "focus")[]>;
296
296
  };
297
297
  id: StringConstructor;
298
298
  placement: {
@@ -453,7 +453,7 @@ declare const _default: import("vue").DefineComponent<{
453
453
  onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
454
454
  prefixCls: StringConstructor;
455
455
  direction: {
456
- type: import("vue").PropType<"rtl" | "ltr">;
456
+ type: import("vue").PropType<"ltr" | "rtl">;
457
457
  };
458
458
  open: {
459
459
  type: BooleanConstructor;
@@ -478,7 +478,7 @@ declare const _default: import("vue").DefineComponent<{
478
478
  };
479
479
  children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
480
480
  showAction: {
481
- type: import("vue").PropType<("focus" | "click")[]>;
481
+ type: import("vue").PropType<("click" | "focus")[]>;
482
482
  };
483
483
  id: StringConstructor;
484
484
  placement: {
@@ -606,7 +606,7 @@ declare const _default: import("vue").DefineComponent<{
606
606
  onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
607
607
  prefixCls: StringConstructor;
608
608
  direction: {
609
- type: import("vue").PropType<"rtl" | "ltr">;
609
+ type: import("vue").PropType<"ltr" | "rtl">;
610
610
  };
611
611
  open: {
612
612
  type: BooleanConstructor;
@@ -631,7 +631,7 @@ declare const _default: import("vue").DefineComponent<{
631
631
  };
632
632
  children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
633
633
  showAction: {
634
- type: import("vue").PropType<("focus" | "click")[]>;
634
+ type: import("vue").PropType<("click" | "focus")[]>;
635
635
  };
636
636
  id: StringConstructor;
637
637
  placement: {
@@ -287,6 +287,7 @@ declare const _default: import("vue").DefineComponent<{
287
287
  onSetDefault?: ((...args: any[]) => any) | undefined;
288
288
  }, {
289
289
  loading: boolean;
290
+ labelCol: Record<string, any>;
290
291
  value: Record<string, any>;
291
292
  showExpandBtn: boolean;
292
293
  showSearchIcon: boolean;
@@ -300,7 +301,6 @@ declare const _default: import("vue").DefineComponent<{
300
301
  setDefaultConfirmConfig: Record<string, any>;
301
302
  gutter: number[];
302
303
  userRule: unknown[];
303
- labelCol: Record<string, any>;
304
304
  ruleSpan: Record<string, any>;
305
305
  fixedCount: number;
306
306
  fixedFields: string[];
@@ -31,7 +31,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
31
31
  searchList: never[];
32
32
  };
33
33
  };
34
- emit: (event: "update:value" | "onChange" | "onSelectAll", ...args: any[]) => void;
34
+ emit: (event: "onChange" | "update:value" | "onSelectAll", ...args: any[]) => void;
35
35
  selectValue: any;
36
36
  selectAll: (e: any) => void;
37
37
  checkAll: (select: any, key: any) => never[];
@@ -103,7 +103,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
103
103
  onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
104
104
  prefixCls: StringConstructor;
105
105
  direction: {
106
- type: import("vue").PropType<"rtl" | "ltr">;
106
+ type: import("vue").PropType<"ltr" | "rtl">;
107
107
  };
108
108
  open: {
109
109
  type: BooleanConstructor;
@@ -128,7 +128,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
128
128
  };
129
129
  children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
130
130
  showAction: {
131
- type: import("vue").PropType<("focus" | "click")[]>;
131
+ type: import("vue").PropType<("click" | "focus")[]>;
132
132
  };
133
133
  id: StringConstructor;
134
134
  placement: {
@@ -266,7 +266,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
266
266
  onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
267
267
  prefixCls: StringConstructor;
268
268
  direction: {
269
- type: import("vue").PropType<"rtl" | "ltr">;
269
+ type: import("vue").PropType<"ltr" | "rtl">;
270
270
  };
271
271
  open: {
272
272
  type: BooleanConstructor;
@@ -291,7 +291,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
291
291
  };
292
292
  children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
293
293
  showAction: {
294
- type: import("vue").PropType<("focus" | "click")[]>;
294
+ type: import("vue").PropType<("click" | "focus")[]>;
295
295
  };
296
296
  id: StringConstructor;
297
297
  placement: {
@@ -452,7 +452,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
452
452
  onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
453
453
  prefixCls: StringConstructor;
454
454
  direction: {
455
- type: import("vue").PropType<"rtl" | "ltr">;
455
+ type: import("vue").PropType<"ltr" | "rtl">;
456
456
  };
457
457
  open: {
458
458
  type: BooleanConstructor;
@@ -477,7 +477,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
477
477
  };
478
478
  children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
479
479
  showAction: {
480
- type: import("vue").PropType<("focus" | "click")[]>;
480
+ type: import("vue").PropType<("click" | "focus")[]>;
481
481
  };
482
482
  id: StringConstructor;
483
483
  placement: {
@@ -605,7 +605,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
605
605
  onSelect: import("vue").PropType<import("ant-design-vue/lib/vc-select/Select").SelectHandler<(string | number) | import("ant-design-vue/lib/select").LabeledValue, import("ant-design-vue/lib/select").DefaultOptionType>>;
606
606
  prefixCls: StringConstructor;
607
607
  direction: {
608
- type: import("vue").PropType<"rtl" | "ltr">;
608
+ type: import("vue").PropType<"ltr" | "rtl">;
609
609
  };
610
610
  open: {
611
611
  type: BooleanConstructor;
@@ -630,7 +630,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
630
630
  };
631
631
  children: import("vue").PropType<import("ant-design-vue/lib/_util/type").VueNode[]>;
632
632
  showAction: {
633
- type: import("vue").PropType<("focus" | "click")[]>;
633
+ type: import("vue").PropType<("click" | "focus")[]>;
634
634
  };
635
635
  id: StringConstructor;
636
636
  placement: {
@@ -738,7 +738,7 @@ declare const BmSelectAll: import("bm-admin-ui/es/utils/with-install").SFCWithIn
738
738
  readonly OptGroup: import("ant-design-vue/lib/vc-select/OptGroup").OptionGroupFC;
739
739
  readonly SECRET_COMBOBOX_MODE_DO_NOT_USE: "SECRET_COMBOBOX_MODE_DO_NOT_USE";
740
740
  };
741
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "onChange" | "onSelectAll")[], "onChange" | "update:value" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
741
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onChange" | "update:value" | "onSelectAll")[], "onChange" | "update:value" | "onSelectAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
742
742
  value: {
743
743
  type: ArrayConstructor;
744
744
  required: true;