bm-admin-ui 1.0.64-alpha → 1.0.65-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/edit-form/index.d.ts +1 -1
  2. package/es/components/edit-form/src/edit-form.vue.d.ts +1 -1
  3. package/es/components/editor/index.d.ts +8 -8
  4. package/es/components/editor/src/editor.vue.d.ts +8 -8
  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/index.d.ts +45 -4
  8. package/es/components/flow-designer/index.js +1284 -11
  9. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -5
  10. package/es/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -1
  11. package/es/components/flow-designer/src/config.d.ts +1 -0
  12. package/es/components/flow-designer/src/flow-designer.vue.d.ts +47 -4
  13. package/es/components/flow-designer/src/utils.d.ts +1 -0
  14. package/es/components/form-create/index.js +17562 -212
  15. package/es/components/form-designer/index.js +69 -12
  16. package/es/components/input-tags-display/index.d.ts +1 -1
  17. package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
  18. package/es/components/search-filter/index.d.ts +3 -3
  19. package/es/components/search-filter/src/search-filter.vue.d.ts +3 -3
  20. package/es/components/select-all/index.d.ts +10 -10
  21. package/es/components/select-all/src/selectAll.vue.d.ts +10 -10
  22. package/es/components/staffs-selector/index.d.ts +0 -1
  23. package/es/components/staffs-selector/index.js +19 -16
  24. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +0 -1
  25. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +0 -1
  26. package/es/components/timeline/index.d.ts +1 -1
  27. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  28. package/lib/components/edit-form/index.d.ts +1 -1
  29. package/lib/components/edit-form/src/edit-form.vue.d.ts +1 -1
  30. package/lib/components/editor/index.d.ts +8 -8
  31. package/lib/components/editor/src/editor.vue.d.ts +8 -8
  32. package/lib/components/feedback/index.d.ts +4 -4
  33. package/lib/components/feedback/src/bmAlert.vue.d.ts +4 -4
  34. package/lib/components/flow-designer/index.d.ts +45 -4
  35. package/lib/components/flow-designer/index.js +1285 -9
  36. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -5
  37. package/lib/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -1
  38. package/lib/components/flow-designer/src/config.d.ts +1 -0
  39. package/lib/components/flow-designer/src/flow-designer.vue.d.ts +47 -4
  40. package/lib/components/flow-designer/src/utils.d.ts +1 -0
  41. package/lib/components/form-create/index.js +17561 -211
  42. package/lib/components/form-designer/index.js +69 -12
  43. package/lib/components/input-tags-display/index.d.ts +1 -1
  44. package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
  45. package/lib/components/search-filter/index.d.ts +3 -3
  46. package/lib/components/search-filter/src/search-filter.vue.d.ts +3 -3
  47. package/lib/components/select-all/index.d.ts +10 -10
  48. package/lib/components/select-all/src/selectAll.vue.d.ts +10 -10
  49. package/lib/components/staffs-selector/index.d.ts +0 -1
  50. package/lib/components/staffs-selector/index.js +19 -16
  51. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +0 -1
  52. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +0 -1
  53. package/lib/components/timeline/index.d.ts +1 -1
  54. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  55. package/package.json +1 -1
  56. package/theme-chalk/flow-designer.css +1 -1
  57. package/theme-chalk/index.css +1 -1
  58. package/types/components/edit-form/index.d.ts +1 -1
  59. package/types/components/edit-form/src/edit-form.vue.d.ts +1 -1
  60. package/types/components/editor/index.d.ts +8 -8
  61. package/types/components/editor/src/editor.vue.d.ts +8 -8
  62. package/types/components/feedback/index.d.ts +4 -4
  63. package/types/components/feedback/src/bmAlert.vue.d.ts +4 -4
  64. package/types/components/flow-designer/index.d.ts +45 -4
  65. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +4 -5
  66. package/types/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +1 -1
  67. package/types/components/flow-designer/src/config.d.ts +1 -0
  68. package/types/components/flow-designer/src/flow-designer.vue.d.ts +47 -4
  69. package/types/components/flow-designer/src/utils.d.ts +1 -0
  70. package/types/components/input-tags-display/index.d.ts +1 -1
  71. package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
  72. package/types/components/search-filter/index.d.ts +3 -3
  73. package/types/components/search-filter/src/search-filter.vue.d.ts +3 -3
  74. package/types/components/select-all/index.d.ts +10 -10
  75. package/types/components/select-all/src/selectAll.vue.d.ts +10 -10
  76. package/types/components/staffs-selector/index.d.ts +0 -1
  77. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +0 -1
  78. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +0 -1
  79. package/types/components/timeline/index.d.ts +1 -1
  80. package/types/components/timeline/src/timeline-item.vue.d.ts +1 -1
  81. package/es/components/flow-designer/src/flow-designer-test.d.ts +0 -20
  82. package/lib/components/flow-designer/src/flow-designer-test.d.ts +0 -20
  83. package/types/components/flow-designer/src/flow-designer-test.d.ts +0 -20
@@ -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 | 3 | 1>;
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;
@@ -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 | 3 | 1>;
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;
@@ -60,11 +60,11 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
60
60
  default: (...args: any[]) => any;
61
61
  };
62
62
  }>> & {
63
- onReady?: ((...args: any[]) => any) | undefined;
64
- onChange?: ((...args: any[]) => any) | undefined;
65
- onBlur?: ((...args: any[]) => any) | undefined;
66
63
  onFocus?: ((...args: any[]) => any) | undefined;
64
+ onBlur?: ((...args: any[]) => any) | undefined;
65
+ onChange?: ((...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
  } & {
@@ -287,11 +287,11 @@ declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
287
287
  default: (...args: any[]) => any;
288
288
  };
289
289
  }>> & {
290
- onReady?: ((...args: any[]) => any) | undefined;
291
- onChange?: ((...args: any[]) => any) | undefined;
292
- onBlur?: ((...args: any[]) => any) | undefined;
293
290
  onFocus?: ((...args: any[]) => any) | undefined;
291
+ onBlur?: ((...args: any[]) => any) | undefined;
292
+ onChange?: ((...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;
@@ -60,11 +60,11 @@ declare const _default: import("vue").DefineComponent<{
60
60
  default: (...args: any[]) => any;
61
61
  };
62
62
  }>> & {
63
- onReady?: ((...args: any[]) => any) | undefined;
64
- onChange?: ((...args: any[]) => any) | undefined;
65
- onBlur?: ((...args: any[]) => any) | undefined;
66
63
  onFocus?: ((...args: any[]) => any) | undefined;
64
+ onBlur?: ((...args: any[]) => any) | undefined;
65
+ onChange?: ((...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
  } & {
@@ -287,11 +287,11 @@ declare const _default: import("vue").DefineComponent<{
287
287
  default: (...args: any[]) => any;
288
288
  };
289
289
  }>> & {
290
- onReady?: ((...args: any[]) => any) | undefined;
291
- onChange?: ((...args: any[]) => any) | undefined;
292
- onBlur?: ((...args: any[]) => any) | undefined;
293
290
  onFocus?: ((...args: any[]) => any) | undefined;
291
+ onBlur?: ((...args: any[]) => any) | undefined;
292
+ onChange?: ((...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<"success" | "error" | "warning" | "info">;
883
+ type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
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<"success" | "error" | "warning" | "info">;
919
+ type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
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<"success" | "error" | "warning" | "info">;
965
+ type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
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<"success" | "error" | "warning" | "info">;
991
+ type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
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<"success" | "error" | "warning" | "info">;
39
+ type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
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<"success" | "error" | "warning" | "info">;
75
+ type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
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<"success" | "error" | "warning" | "info">;
121
+ type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
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<"success" | "error" | "warning" | "info">;
147
+ type: import("vue-types").VueTypeDef<"error" | "success" | "warning" | "info">;
148
148
  closable: {
149
149
  type: BooleanConstructor;
150
150
  default: any;
@@ -1,7 +1,48 @@
1
- declare const BmFlowDesigner: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{}, {
2
- container: import("vue").Ref<any>;
1
+ declare const BmFlowDesigner: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
+ lineLength: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ }, {
7
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8
+ lineLength: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ };
12
+ }>> & {
13
+ onNodeCallback?: ((...args: any[]) => any) | undefined;
14
+ onLoadFinish?: ((...args: any[]) => any) | undefined;
15
+ }>>;
16
+ emit: (event: "nodeCallback" | "loadFinish", ...args: any[]) => void;
17
+ container: import("vue").Ref<null>;
3
18
  lf: any;
4
- init: () => void;
5
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
19
+ graphModel: any;
20
+ eventCenter: any;
21
+ getFlowRawData: () => {
22
+ json: any;
23
+ xml: any;
24
+ };
25
+ loadFlowData: (json: any) => void;
26
+ state: {
27
+ startId: string;
28
+ endId: string;
29
+ };
30
+ flowMethods: any;
31
+ initFlowInstance: () => void;
32
+ initFlowEvent: () => void;
33
+ focusOnZoom: (y?: any) => void;
34
+ initFlowNodes: () => void;
35
+ changePriority: (id: any, priority: any) => void;
36
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("nodeCallback" | "loadFinish")[], "nodeCallback" | "loadFinish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ lineLength: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ }>> & {
42
+ onNodeCallback?: ((...args: any[]) => any) | undefined;
43
+ onLoadFinish?: ((...args: any[]) => any) | undefined;
44
+ }, {
45
+ lineLength: number;
46
+ }>>;
6
47
  export { BmFlowDesigner };
7
48
  export default BmFlowDesigner;