bm-admin-ui 1.2.29-alpha → 1.2.30-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 (83) hide show
  1. package/es/components/attachment/index.d.ts +1 -1
  2. package/es/components/attachment/src/attachment.vue.d.ts +1 -1
  3. package/es/components/button/index.d.ts +1 -1
  4. package/es/components/button/src/button.vue.d.ts +1 -1
  5. package/es/components/cascader/index.d.ts +1 -1
  6. package/es/components/cascader/src/cascader.vue.d.ts +1 -1
  7. package/es/components/edit-form/index.d.ts +2 -2
  8. package/es/components/edit-form/src/edit-form.vue.d.ts +2 -2
  9. package/es/components/editor/index.d.ts +3 -3
  10. package/es/components/editor/src/editor.vue.d.ts +3 -3
  11. package/es/components/feedback/index.d.ts +12 -12
  12. package/es/components/feedback/src/bmAlert.vue.d.ts +5 -5
  13. package/es/components/feedback/src/bmModal.vue.d.ts +7 -7
  14. package/es/components/flow-designer/index.js +32 -10
  15. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +14 -0
  16. package/es/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -0
  17. package/es/components/form-create/index.js +743 -197
  18. package/es/components/form-designer/index.js +116 -21
  19. package/es/components/over-tooltips/index.d.ts +1 -1
  20. package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +1 -1
  21. package/es/components/staffs-selector/index.d.ts +8 -8
  22. package/es/components/staffs-selector/index.js +2 -2
  23. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  24. package/es/components/upload/index.d.ts +1 -1
  25. package/es/components/upload/src/upload.vue.d.ts +1 -1
  26. package/es/utils/index.d.ts +7 -0
  27. package/es/utils/index.js +62 -0
  28. package/es/utils/isNull.js +1 -1
  29. package/lib/components/attachment/index.d.ts +1 -1
  30. package/lib/components/attachment/src/attachment.vue.d.ts +1 -1
  31. package/lib/components/button/index.d.ts +1 -1
  32. package/lib/components/button/src/button.vue.d.ts +1 -1
  33. package/lib/components/cascader/index.d.ts +1 -1
  34. package/lib/components/cascader/src/cascader.vue.d.ts +1 -1
  35. package/lib/components/edit-form/index.d.ts +2 -2
  36. package/lib/components/edit-form/src/edit-form.vue.d.ts +2 -2
  37. package/lib/components/editor/index.d.ts +3 -3
  38. package/lib/components/editor/src/editor.vue.d.ts +3 -3
  39. package/lib/components/feedback/index.d.ts +12 -12
  40. package/lib/components/feedback/src/bmAlert.vue.d.ts +5 -5
  41. package/lib/components/feedback/src/bmModal.vue.d.ts +7 -7
  42. package/lib/components/flow-designer/index.js +32 -10
  43. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +14 -0
  44. package/lib/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -0
  45. package/lib/components/form-create/index.js +746 -197
  46. package/lib/components/form-designer/index.js +115 -20
  47. package/lib/components/over-tooltips/index.d.ts +1 -1
  48. package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +1 -1
  49. package/lib/components/staffs-selector/index.d.ts +8 -8
  50. package/lib/components/staffs-selector/index.js +2 -2
  51. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  52. package/lib/components/upload/index.d.ts +1 -1
  53. package/lib/components/upload/src/upload.vue.d.ts +1 -1
  54. package/lib/utils/index.d.ts +7 -0
  55. package/lib/utils/index.js +64 -0
  56. package/lib/utils/isNull.js +1 -1
  57. package/package.json +1 -1
  58. package/theme-chalk/attachment.css +1 -1
  59. package/theme-chalk/index.css +2 -2
  60. package/types/components/attachment/index.d.ts +1 -1
  61. package/types/components/attachment/src/attachment.vue.d.ts +1 -1
  62. package/types/components/button/index.d.ts +1 -1
  63. package/types/components/button/src/button.vue.d.ts +1 -1
  64. package/types/components/cascader/index.d.ts +1 -1
  65. package/types/components/cascader/src/cascader.vue.d.ts +1 -1
  66. package/types/components/edit-form/index.d.ts +2 -2
  67. package/types/components/edit-form/src/edit-form.vue.d.ts +2 -2
  68. package/types/components/editor/index.d.ts +3 -3
  69. package/types/components/editor/src/editor.vue.d.ts +3 -3
  70. package/types/components/feedback/index.d.ts +12 -12
  71. package/types/components/feedback/src/bmAlert.vue.d.ts +5 -5
  72. package/types/components/feedback/src/bmModal.vue.d.ts +7 -7
  73. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +14 -0
  74. package/types/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -0
  75. package/types/components/over-tooltips/index.d.ts +1 -1
  76. package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +1 -1
  77. package/types/components/staffs-selector/index.d.ts +8 -8
  78. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  79. package/types/components/upload/index.d.ts +1 -1
  80. package/types/components/upload/src/upload.vue.d.ts +1 -1
  81. package/types/utils/index.d.ts +7 -0
  82. package/es/index.js +0 -13
  83. package/lib/index.js +0 -42
@@ -36,7 +36,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
36
36
  default: number;
37
37
  };
38
38
  width: {
39
- type: (NumberConstructor | StringConstructor)[];
39
+ type: (StringConstructor | NumberConstructor)[];
40
40
  default: number;
41
41
  };
42
42
  showAlways: {
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
36
36
  default: number;
37
37
  };
38
38
  width: {
39
- type: (NumberConstructor | StringConstructor)[];
39
+ type: (StringConstructor | NumberConstructor)[];
40
40
  default: number;
41
41
  };
42
42
  showAlways: {
@@ -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, "ghost" | "danger" | "htmlType" | "loading" | "disabled" | "block">;
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, "ghost" | "danger" | "htmlType" | "loading" | "disabled" | "block">;
84
84
  $attrs: {
85
85
  [x: string]: unknown;
86
86
  };
@@ -23,8 +23,8 @@ declare const BmCascader: import("bm-admin-ui/es/utils/with-install").SFCWithIns
23
23
  default: () => number;
24
24
  };
25
25
  }>>, {
26
- tipType: string;
27
26
  width: number;
27
+ tipType: string;
28
28
  }>>;
29
29
  export { BmCascader };
30
30
  export default BmCascader;
@@ -23,7 +23,7 @@ declare var _default: import("vue").DefineComponent<{
23
23
  default: () => number;
24
24
  };
25
25
  }>>, {
26
- tipType: string;
27
26
  width: number;
27
+ tipType: string;
28
28
  }>;
29
29
  export default _default;
@@ -47,7 +47,7 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
47
47
  };
48
48
  tmpForm: import("vue").Ref<Record<string, any>>;
49
49
  formRef: import("vue").Ref<import("ant-design-vue").FormInstance | null>;
50
- colCount: import("vue").ComputedRef<2 | 3 | 1>;
50
+ colCount: import("vue").ComputedRef<2 | 1 | 3>;
51
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) => {
@@ -103,7 +103,7 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
103
103
  default: number;
104
104
  };
105
105
  width: {
106
- type: (NumberConstructor | StringConstructor)[];
106
+ type: (StringConstructor | NumberConstructor)[];
107
107
  default: number;
108
108
  };
109
109
  showAlways: {
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
46
46
  };
47
47
  tmpForm: import("vue").Ref<Record<string, any>>;
48
48
  formRef: import("vue").Ref<FormInstance | null>;
49
- colCount: import("vue").ComputedRef<2 | 3 | 1>;
49
+ colCount: import("vue").ComputedRef<2 | 1 | 3>;
50
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) => {
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
102
102
  default: number;
103
103
  };
104
104
  width: {
105
- type: (NumberConstructor | StringConstructor)[];
105
+ type: (StringConstructor | NumberConstructor)[];
106
106
  default: number;
107
107
  };
108
108
  showAlways: {
@@ -60,9 +60,9 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
60
60
  default: (...args: any[]) => any;
61
61
  };
62
62
  }>> & {
63
+ onChange?: ((...args: any[]) => any) | undefined;
63
64
  onFocus?: ((...args: any[]) => any) | undefined;
64
65
  onBlur?: ((...args: any[]) => any) | undefined;
65
- onChange?: ((...args: any[]) => any) | undefined;
66
66
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
67
67
  onReady?: ((...args: any[]) => any) | undefined;
68
68
  onGetCount?: ((...args: any[]) => any) | undefined;
@@ -139,7 +139,7 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
139
139
  default: number;
140
140
  };
141
141
  width: {
142
- type: (NumberConstructor | StringConstructor)[];
142
+ type: (StringConstructor | NumberConstructor)[];
143
143
  default: number;
144
144
  };
145
145
  showAlways: {
@@ -287,9 +287,9 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
287
287
  default: (...args: any[]) => any;
288
288
  };
289
289
  }>> & {
290
+ onChange?: ((...args: any[]) => any) | undefined;
290
291
  onFocus?: ((...args: any[]) => any) | undefined;
291
292
  onBlur?: ((...args: any[]) => any) | undefined;
292
- onChange?: ((...args: any[]) => any) | undefined;
293
293
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
294
294
  onReady?: ((...args: any[]) => any) | undefined;
295
295
  onGetCount?: ((...args: any[]) => any) | undefined;
@@ -60,9 +60,9 @@ declare const _default: import("vue").DefineComponent<{
60
60
  default: (...args: any[]) => any;
61
61
  };
62
62
  }>> & {
63
+ onChange?: ((...args: any[]) => any) | undefined;
63
64
  onFocus?: ((...args: any[]) => any) | undefined;
64
65
  onBlur?: ((...args: any[]) => any) | undefined;
65
- onChange?: ((...args: any[]) => any) | undefined;
66
66
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
67
67
  onReady?: ((...args: any[]) => any) | undefined;
68
68
  onGetCount?: ((...args: any[]) => any) | undefined;
@@ -139,7 +139,7 @@ declare const _default: import("vue").DefineComponent<{
139
139
  default: number;
140
140
  };
141
141
  width: {
142
- type: (NumberConstructor | StringConstructor)[];
142
+ type: (StringConstructor | NumberConstructor)[];
143
143
  default: number;
144
144
  };
145
145
  showAlways: {
@@ -287,9 +287,9 @@ declare const _default: import("vue").DefineComponent<{
287
287
  default: (...args: any[]) => any;
288
288
  };
289
289
  }>> & {
290
+ onChange?: ((...args: any[]) => any) | undefined;
290
291
  onFocus?: ((...args: any[]) => any) | undefined;
291
292
  onBlur?: ((...args: any[]) => any) | undefined;
292
- onChange?: ((...args: any[]) => any) | undefined;
293
293
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
294
294
  onReady?: ((...args: any[]) => any) | undefined;
295
295
  onGetCount?: ((...args: any[]) => any) | undefined;
@@ -86,7 +86,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
86
86
  type: BooleanConstructor;
87
87
  default: any;
88
88
  };
89
- width: (NumberConstructor | StringConstructor)[];
89
+ width: (StringConstructor | NumberConstructor)[];
90
90
  footer: import("vue-types").VueTypeValidableDef<any>;
91
91
  okText: import("vue-types").VueTypeValidableDef<any>;
92
92
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -232,7 +232,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
232
232
  modalRender: import("vue").PropType<(arg: {
233
233
  originVNode: import("ant-design-vue/lib/_util/type").VueNode;
234
234
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
235
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
235
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "keyboard" | "focusTriggerAfterClose">;
236
236
  $attrs: {
237
237
  [x: string]: unknown;
238
238
  };
@@ -271,7 +271,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
271
271
  type: BooleanConstructor;
272
272
  default: any;
273
273
  };
274
- width: (NumberConstructor | StringConstructor)[];
274
+ width: (StringConstructor | NumberConstructor)[];
275
275
  footer: import("vue-types").VueTypeValidableDef<any>;
276
276
  okText: import("vue-types").VueTypeValidableDef<any>;
277
277
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -476,7 +476,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
476
476
  type: BooleanConstructor;
477
477
  default: any;
478
478
  };
479
- width: (NumberConstructor | StringConstructor)[];
479
+ width: (StringConstructor | NumberConstructor)[];
480
480
  footer: import("vue-types").VueTypeValidableDef<any>;
481
481
  okText: import("vue-types").VueTypeValidableDef<any>;
482
482
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -651,7 +651,7 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
651
651
  type: BooleanConstructor;
652
652
  default: any;
653
653
  };
654
- width: (NumberConstructor | StringConstructor)[];
654
+ width: (StringConstructor | NumberConstructor)[];
655
655
  footer: import("vue-types").VueTypeValidableDef<any>;
656
656
  okText: import("vue-types").VueTypeValidableDef<any>;
657
657
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -838,9 +838,9 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
838
838
  onOk?: ((...args: any[]) => any) | undefined;
839
839
  onClose?: ((...args: any[]) => any) | undefined;
840
840
  }, {
841
- size: string;
842
- width: string;
843
841
  visible: boolean;
842
+ width: string;
843
+ size: string;
844
844
  }>>;
845
845
  declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
846
846
  type: {
@@ -870,7 +870,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
870
870
  default: string;
871
871
  };
872
872
  }>> & {}>>;
873
- getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType | undefined>;
873
+ getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/InfoCircleFilled").InfoCircleFilledIconType | undefined>;
874
874
  AAlert: {
875
875
  new (...args: any[]): {
876
876
  $: import("vue").ComponentInternalInstance;
@@ -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<"error" | "success" | "warning" | "info">;
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<"error" | "success" | "warning" | "info">;
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<"error" | "success" | "warning" | "info">;
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<"error" | "success" | "warning" | "info">;
991
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
992
992
  closable: {
993
993
  type: BooleanConstructor;
994
994
  default: any;
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
26
26
  default: string;
27
27
  };
28
28
  }>> & {}>>;
29
- getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType | undefined>;
29
+ getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/InfoCircleFilled").InfoCircleFilledIconType | undefined>;
30
30
  AAlert: {
31
31
  new (...args: any[]): {
32
32
  $: import("vue").ComponentInternalInstance;
@@ -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<"error" | "success" | "warning" | "info">;
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<"error" | "success" | "warning" | "info">;
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<"error" | "success" | "warning" | "info">;
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<"error" | "success" | "warning" | "info">;
147
+ type: import("vue-types").VueTypeDef<"info" | "error" | "success" | "warning">;
148
148
  closable: {
149
149
  type: BooleanConstructor;
150
150
  default: any;
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
80
80
  type: BooleanConstructor;
81
81
  default: any;
82
82
  };
83
- width: (NumberConstructor | StringConstructor)[];
83
+ width: (StringConstructor | NumberConstructor)[];
84
84
  footer: import("vue-types").VueTypeValidableDef<any>;
85
85
  okText: import("vue-types").VueTypeValidableDef<any>;
86
86
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
226
226
  modalRender: import("vue").PropType<(arg: {
227
227
  originVNode: import("ant-design-vue/lib/_util/type").VueNode;
228
228
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
229
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
229
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "keyboard" | "focusTriggerAfterClose">;
230
230
  $attrs: {
231
231
  [x: string]: unknown;
232
232
  };
@@ -265,7 +265,7 @@ declare const _default: import("vue").DefineComponent<{
265
265
  type: BooleanConstructor;
266
266
  default: any;
267
267
  };
268
- width: (NumberConstructor | StringConstructor)[];
268
+ width: (StringConstructor | NumberConstructor)[];
269
269
  footer: import("vue-types").VueTypeValidableDef<any>;
270
270
  okText: import("vue-types").VueTypeValidableDef<any>;
271
271
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -470,7 +470,7 @@ declare const _default: import("vue").DefineComponent<{
470
470
  type: BooleanConstructor;
471
471
  default: any;
472
472
  };
473
- width: (NumberConstructor | StringConstructor)[];
473
+ width: (StringConstructor | NumberConstructor)[];
474
474
  footer: import("vue-types").VueTypeValidableDef<any>;
475
475
  okText: import("vue-types").VueTypeValidableDef<any>;
476
476
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -645,7 +645,7 @@ declare const _default: import("vue").DefineComponent<{
645
645
  type: BooleanConstructor;
646
646
  default: any;
647
647
  };
648
- width: (NumberConstructor | StringConstructor)[];
648
+ width: (StringConstructor | NumberConstructor)[];
649
649
  footer: import("vue-types").VueTypeValidableDef<any>;
650
650
  okText: import("vue-types").VueTypeValidableDef<any>;
651
651
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -832,8 +832,8 @@ declare const _default: import("vue").DefineComponent<{
832
832
  onOk?: ((...args: any[]) => any) | undefined;
833
833
  onClose?: ((...args: any[]) => any) | undefined;
834
834
  }, {
835
- size: string;
836
- width: string;
837
835
  visible: boolean;
836
+ width: string;
837
+ size: string;
838
838
  }>;
839
839
  export default _default;
@@ -15,6 +15,10 @@ declare const _default: import("vue").DefineComponent<{
15
15
  type: StringConstructor;
16
16
  default: string;
17
17
  };
18
+ nodeClick: {
19
+ type: FunctionConstructor;
20
+ default: () => void;
21
+ };
18
22
  copyCallback: {
19
23
  type: FunctionConstructor;
20
24
  default: () => void;
@@ -41,6 +45,10 @@ declare const _default: import("vue").DefineComponent<{
41
45
  type: StringConstructor;
42
46
  default: string;
43
47
  };
48
+ nodeClick: {
49
+ type: FunctionConstructor;
50
+ default: () => void;
51
+ };
44
52
  copyCallback: {
45
53
  type: FunctionConstructor;
46
54
  default: () => void;
@@ -50,6 +58,7 @@ declare const _default: import("vue").DefineComponent<{
50
58
  default: () => void;
51
59
  };
52
60
  }>> & {}>>;
61
+ callback: () => void;
53
62
  CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
54
63
  RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
55
64
  Tag: {
@@ -227,6 +236,10 @@ declare const _default: import("vue").DefineComponent<{
227
236
  type: StringConstructor;
228
237
  default: string;
229
238
  };
239
+ nodeClick: {
240
+ type: FunctionConstructor;
241
+ default: () => void;
242
+ };
230
243
  copyCallback: {
231
244
  type: FunctionConstructor;
232
245
  default: () => void;
@@ -240,6 +253,7 @@ declare const _default: import("vue").DefineComponent<{
240
253
  desc: string;
241
254
  isCustom: boolean;
242
255
  priority: number;
256
+ nodeClick: Function;
243
257
  copyCallback: Function;
244
258
  deleteCallback: Function;
245
259
  }>;
@@ -3,6 +3,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
3
3
  }>>, {
4
4
  toEditLabel(): void;
5
5
  updateLabel(_: any): void;
6
+ inputRef: import("vue").Ref<any>;
6
7
  isEditLabel: import("vue").Ref<boolean>;
7
8
  tempLabel: any;
8
9
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:label"[], "update:label", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
@@ -14,7 +14,7 @@ declare const BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWit
14
14
  default: number;
15
15
  };
16
16
  width: {
17
- type: (NumberConstructor | StringConstructor)[];
17
+ type: (StringConstructor | NumberConstructor)[];
18
18
  default: number;
19
19
  };
20
20
  showAlways: {
@@ -14,7 +14,7 @@ declare const _default: {
14
14
  default: number;
15
15
  };
16
16
  width: {
17
- type: (NumberConstructor | StringConstructor)[];
17
+ type: (StringConstructor | NumberConstructor)[];
18
18
  default: number;
19
19
  };
20
20
  showAlways: {
@@ -82,8 +82,8 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
82
82
  default: string;
83
83
  };
84
84
  }>> & {
85
- onChange?: ((...args: any[]) => any) | undefined;
86
85
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
86
+ onChange?: ((...args: any[]) => any) | undefined;
87
87
  "onUpdate:select"?: ((...args: any[]) => any) | undefined;
88
88
  }>>;
89
89
  emit: (event: "change" | "update:visible" | "update:select", ...args: any[]) => void;
@@ -144,7 +144,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
144
144
  type: BooleanConstructor;
145
145
  default: any;
146
146
  };
147
- width: (NumberConstructor | StringConstructor)[];
147
+ width: (StringConstructor | NumberConstructor)[];
148
148
  footer: import("vue-types").VueTypeValidableDef<any>;
149
149
  okText: import("vue-types").VueTypeValidableDef<any>;
150
150
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -290,7 +290,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
290
290
  modalRender: import("vue").PropType<(arg: {
291
291
  originVNode: import("ant-design-vue/lib/_util/type").VueNode;
292
292
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
293
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
293
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "keyboard" | "focusTriggerAfterClose">;
294
294
  $attrs: {
295
295
  [x: string]: unknown;
296
296
  };
@@ -329,7 +329,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
329
329
  type: BooleanConstructor;
330
330
  default: any;
331
331
  };
332
- width: (NumberConstructor | StringConstructor)[];
332
+ width: (StringConstructor | NumberConstructor)[];
333
333
  footer: import("vue-types").VueTypeValidableDef<any>;
334
334
  okText: import("vue-types").VueTypeValidableDef<any>;
335
335
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -534,7 +534,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
534
534
  type: BooleanConstructor;
535
535
  default: any;
536
536
  };
537
- width: (NumberConstructor | StringConstructor)[];
537
+ width: (StringConstructor | NumberConstructor)[];
538
538
  footer: import("vue-types").VueTypeValidableDef<any>;
539
539
  okText: import("vue-types").VueTypeValidableDef<any>;
540
540
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -709,7 +709,7 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
709
709
  type: BooleanConstructor;
710
710
  default: any;
711
711
  };
712
- width: (NumberConstructor | StringConstructor)[];
712
+ width: (StringConstructor | NumberConstructor)[];
713
713
  footer: import("vue-types").VueTypeValidableDef<any>;
714
714
  okText: import("vue-types").VueTypeValidableDef<any>;
715
715
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -1043,12 +1043,12 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
1043
1043
  default: string;
1044
1044
  };
1045
1045
  }>> & {
1046
- onChange?: ((...args: any[]) => any) | undefined;
1047
1046
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
1047
+ onChange?: ((...args: any[]) => any) | undefined;
1048
1048
  "onUpdate:select"?: ((...args: any[]) => any) | undefined;
1049
1049
  }, {
1050
- title: string;
1051
1050
  visible: boolean;
1051
+ title: string;
1052
1052
  mode: string;
1053
1053
  showCount: boolean;
1054
1054
  unitStr: string;
@@ -82,8 +82,8 @@ declare const _default: import("vue").DefineComponent<{
82
82
  default: string;
83
83
  };
84
84
  }>> & {
85
- onChange?: ((...args: any[]) => any) | undefined;
86
85
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
86
+ onChange?: ((...args: any[]) => any) | undefined;
87
87
  "onUpdate:select"?: ((...args: any[]) => any) | undefined;
88
88
  }>>;
89
89
  emit: (event: "change" | "update:visible" | "update:select", ...args: any[]) => void;
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<{
144
144
  type: BooleanConstructor;
145
145
  default: any;
146
146
  };
147
- width: (NumberConstructor | StringConstructor)[];
147
+ width: (StringConstructor | NumberConstructor)[];
148
148
  footer: import("vue-types").VueTypeValidableDef<any>;
149
149
  okText: import("vue-types").VueTypeValidableDef<any>;
150
150
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -290,7 +290,7 @@ declare const _default: import("vue").DefineComponent<{
290
290
  modalRender: import("vue").PropType<(arg: {
291
291
  originVNode: import("ant-design-vue/lib/_util/type").VueNode;
292
292
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
293
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "keyboard" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "focusTriggerAfterClose">;
293
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "confirmLoading" | "closable" | "centered" | "maskClosable" | "forceRender" | "destroyOnClose" | "getContainer" | "bodyStyle" | "maskStyle" | "mask" | "keyboard" | "focusTriggerAfterClose">;
294
294
  $attrs: {
295
295
  [x: string]: unknown;
296
296
  };
@@ -329,7 +329,7 @@ declare const _default: import("vue").DefineComponent<{
329
329
  type: BooleanConstructor;
330
330
  default: any;
331
331
  };
332
- width: (NumberConstructor | StringConstructor)[];
332
+ width: (StringConstructor | NumberConstructor)[];
333
333
  footer: import("vue-types").VueTypeValidableDef<any>;
334
334
  okText: import("vue-types").VueTypeValidableDef<any>;
335
335
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -534,7 +534,7 @@ declare const _default: import("vue").DefineComponent<{
534
534
  type: BooleanConstructor;
535
535
  default: any;
536
536
  };
537
- width: (NumberConstructor | StringConstructor)[];
537
+ width: (StringConstructor | NumberConstructor)[];
538
538
  footer: import("vue-types").VueTypeValidableDef<any>;
539
539
  okText: import("vue-types").VueTypeValidableDef<any>;
540
540
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -709,7 +709,7 @@ declare const _default: import("vue").DefineComponent<{
709
709
  type: BooleanConstructor;
710
710
  default: any;
711
711
  };
712
- width: (NumberConstructor | StringConstructor)[];
712
+ width: (StringConstructor | NumberConstructor)[];
713
713
  footer: import("vue-types").VueTypeValidableDef<any>;
714
714
  okText: import("vue-types").VueTypeValidableDef<any>;
715
715
  okType: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").LegacyButtonType>;
@@ -1043,12 +1043,12 @@ declare const _default: import("vue").DefineComponent<{
1043
1043
  default: string;
1044
1044
  };
1045
1045
  }>> & {
1046
- onChange?: ((...args: any[]) => any) | undefined;
1047
1046
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
1047
+ onChange?: ((...args: any[]) => any) | undefined;
1048
1048
  "onUpdate:select"?: ((...args: any[]) => any) | undefined;
1049
1049
  }, {
1050
- title: string;
1051
1050
  visible: boolean;
1051
+ title: string;
1052
1052
  mode: string;
1053
1053
  showCount: boolean;
1054
1054
  unitStr: string;
@@ -19,7 +19,7 @@ declare const BmUpload: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
19
19
  default: number;
20
20
  };
21
21
  width: {
22
- type: (NumberConstructor | StringConstructor)[];
22
+ type: (StringConstructor | NumberConstructor)[];
23
23
  default: number;
24
24
  };
25
25
  showAlways: {
@@ -19,7 +19,7 @@ declare const _default: {
19
19
  default: number;
20
20
  };
21
21
  width: {
22
- type: (NumberConstructor | StringConstructor)[];
22
+ type: (StringConstructor | NumberConstructor)[];
23
23
  default: number;
24
24
  };
25
25
  showAlways: {
@@ -0,0 +1,7 @@
1
+ declare const utils: {
2
+ confirmModal(content: string | string[], title?: string, type?: string, config?: {}, cate?: string): Promise<unknown>;
3
+ toThousands(num: string | number): string;
4
+ toFixNumHasDefault(value: string | number | undefined, num?: number, isMoney?: boolean, defaultValue?: string): string;
5
+ wait(ms?: number): Promise<void>;
6
+ };
7
+ export default utils;
package/es/index.js DELETED
@@ -1,13 +0,0 @@
1
- import * as components from 'bm-admin-ui/es/components';
2
- export * from 'bm-admin-ui/es/components';
3
-
4
- const install = (app) => {
5
- Object.values(components).forEach((component) => {
6
- app.use(component);
7
- });
8
- };
9
- var index = {
10
- install,
11
- };
12
-
13
- export { index as default };