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
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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 _default: import("vue").DefineComponent<{
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;
@@ -1050,8 +1050,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
1050
1050
  visible: boolean;
1051
1051
  title: string;
1052
1052
  mode: string;
1053
- unitStr: string;
1054
1053
  showCount: boolean;
1054
+ unitStr: string;
1055
1055
  limit: number;
1056
1056
  load: Function;
1057
1057
  forceStatic: boolean;
@@ -1050,8 +1050,8 @@ declare const _default: import("vue").DefineComponent<{
1050
1050
  visible: boolean;
1051
1051
  title: string;
1052
1052
  mode: string;
1053
- unitStr: string;
1054
1053
  showCount: boolean;
1054
+ unitStr: string;
1055
1055
  limit: number;
1056
1056
  load: Function;
1057
1057
  forceStatic: boolean;
@@ -106,8 +106,8 @@ declare const BmTimelineItem: import("bm-admin-ui/es/utils/with-install").SFCWit
106
106
  default: any;
107
107
  };
108
108
  }>>, {
109
- color: string;
110
109
  label: any;
110
+ color: string;
111
111
  dot: any;
112
112
  }>>;
113
113
  export { BmTimeline, BmTimelineItem };
@@ -57,8 +57,8 @@ declare const _default: import("vue").DefineComponent<{
57
57
  default: any;
58
58
  };
59
59
  }>>, {
60
- color: string;
61
60
  label: any;
61
+ color: string;
62
62
  dot: any;
63
63
  }>;
64
64
  export default _default;
@@ -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;
@@ -18587,7 +18587,12 @@ var lodash = {exports: {}};
18587
18587
 
18588
18588
  const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
18589
18589
  __name: "product-input-in-table",
18590
- props: ["value", "disabled", "shopValue"],
18590
+ props: [
18591
+ "value",
18592
+ "disabled",
18593
+ "shopValue",
18594
+ "doNotClearAfterFilterChange"
18595
+ ],
18591
18596
  emits: ["change"],
18592
18597
  setup(__props, { emit: emits }) {
18593
18598
  const props = __props;
@@ -18608,7 +18613,9 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
18608
18613
  vue.watch(
18609
18614
  () => props.shopValue,
18610
18615
  () => {
18611
- emitChange("");
18616
+ if (!props.doNotClearAfterFilterChange) {
18617
+ emitChange("");
18618
+ }
18612
18619
  }
18613
18620
  );
18614
18621
  return (_ctx, _cache) => {
@@ -19006,9 +19013,24 @@ const _sfc_main$7 = vue.defineComponent({
19006
19013
  }
19007
19014
  });
19008
19015
  }
19009
- function handleImport() {
19016
+ async function handleImport() {
19010
19017
  if (importDisabled()) {
19011
19018
  antDesignVue.message.error("\u8BF7\u5148\u9009\u62E9\u5E97\u94FA\uFF01");
19019
+ } else if (tableConfig.value?.system === "productCenter" && [
19020
+ "F2CTemplate",
19021
+ "B2CTemplate",
19022
+ "DistributeTemp",
19023
+ "FreshTemplate",
19024
+ "activityApply"
19025
+ ].includes(tableConfig.value?.template)) {
19026
+ if (data.length > 0) {
19027
+ if (await utils__default["default"].confirmModal("\u518D\u6B21\u6279\u5BFC\u4F1A\u8986\u76D6\u5DF2\u6709\u6570\u636E")) {
19028
+ data.splice(0, data.length);
19029
+ inputRef.value.click();
19030
+ }
19031
+ } else {
19032
+ inputRef.value.click();
19033
+ }
19012
19034
  } else {
19013
19035
  inputRef.value.click();
19014
19036
  }
@@ -19297,6 +19319,13 @@ const _sfc_main$7 = vue.defineComponent({
19297
19319
  }
19298
19320
  function handlePressEnter(value, rule, row) {
19299
19321
  row[rule.field] = value;
19322
+ if (tableConfig.value?.system === "productCenter" && rule.field === "productCode") {
19323
+ Object.keys(row).forEach((key) => {
19324
+ if (!["productCode", "_X_ROW_KEY"].includes(key)) {
19325
+ row[key] = void 0;
19326
+ }
19327
+ });
19328
+ }
19300
19329
  queryProductInfo(rule, row);
19301
19330
  }
19302
19331
  function handleShopOption(value, rule, row) {
@@ -19441,6 +19470,12 @@ const _sfc_main$7 = vue.defineComponent({
19441
19470
  e.target.value = "";
19442
19471
  }
19443
19472
  }
19473
+ function getProductClearSetting(field) {
19474
+ let setting = props.rule.config.childRules?.find((rule) => {
19475
+ return rule.field === field;
19476
+ });
19477
+ return !!setting?.config?.doNotClearAfterFilterChange;
19478
+ }
19444
19479
  return (_ctx, _cache) => {
19445
19480
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
19446
19481
  vue.createElementVNode("div", _hoisted_2$4, [
@@ -19626,8 +19661,9 @@ const _sfc_main$7 = vue.defineComponent({
19626
19661
  value: row[item.field],
19627
19662
  disabled: item.disabled || pruductInputDisabled(item.config?.dataFiltering),
19628
19663
  "shop-value": vue.unref(formData)[item.config.dataFiltering],
19664
+ "do-not-clear-after-filter-change": getProductClearSetting(item.field),
19629
19665
  onChange: ($event) => handlePressEnter($event, item, row)
19630
- }, null, 8, ["value", "disabled", "shop-value", "onChange"])
19666
+ }, null, 8, ["value", "disabled", "shop-value", "do-not-clear-after-filter-change", "onChange"])
19631
19667
  ])
19632
19668
  };
19633
19669
  }),
@@ -20304,6 +20340,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
20304
20340
  props: [
20305
20341
  "associatedFields",
20306
20342
  "dataFiltering",
20343
+ "doNotClearAfterFilterChange",
20307
20344
  "required",
20308
20345
  "extraConfig",
20309
20346
  "defalutValue",
@@ -20377,7 +20414,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
20377
20414
  vue.watch(
20378
20415
  () => formData.value[props.dataFiltering],
20379
20416
  () => {
20380
- if (inputValue.value) {
20417
+ if (inputValue.value && !props.doNotClearAfterFilterChange) {
20381
20418
  reset();
20382
20419
  }
20383
20420
  }
@@ -20483,6 +20520,7 @@ var product = {
20483
20520
  required: data.effect.required,
20484
20521
  associatedFields: data.config.associatedFields,
20485
20522
  dataFiltering: data.config.dataFiltering,
20523
+ doNotClearAfterFilterChange: data.config.doNotClearAfterFilterChange,
20486
20524
  extraConfig: extraConfig,
20487
20525
  defalutValue: data.value,
20488
20526
  },
@@ -20512,6 +20550,7 @@ var product = {
20512
20550
  required: data.effect.required,
20513
20551
  associatedFields: data.config.associatedFields,
20514
20552
  dataFiltering: data.config.dataFiltering,
20553
+ doNotClearAfterFilterChange: data.config.doNotClearAfterFilterChange,
20515
20554
  defalutValue: data.value,
20516
20555
  extraConfig: extraConfig,
20517
20556
  },
@@ -4103,6 +4103,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
4103
4103
  return newRule;
4104
4104
  }
4105
4105
  function handleFormItemCopy(rule, parentRule) {
4106
+ if (!props?.dragCheckFunc(rule.config.config)) {
4107
+ return;
4108
+ }
4106
4109
  const newRule = copyRule(
4107
4110
  rule,
4108
4111
  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[];