bm-admin-ui 1.0.90-alpha → 1.0.92-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 (103) hide show
  1. package/es/components/attachment/index.d.ts +3 -3
  2. package/es/components/attachment/src/attachment.vue.d.ts +3 -3
  3. package/es/components/breadcrumb/index.d.ts +7 -7
  4. package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  5. package/es/components/button/index.d.ts +6 -6
  6. package/es/components/button/src/button.vue.d.ts +6 -6
  7. package/es/components/cascader/__tests__/index.test.d.ts +1 -0
  8. package/es/components/cascader/_util/KeyCode.d.ts +110 -0
  9. package/es/components/cascader/index.d.ts +30 -0
  10. package/es/components/cascader/index.js +211 -0
  11. package/es/components/cascader/src/cascader.vue.d.ts +29 -0
  12. package/es/components/edit-form/index.d.ts +4 -4
  13. package/es/components/edit-form/src/edit-form.vue.d.ts +4 -4
  14. package/es/components/feedback/index.d.ts +13 -13
  15. package/es/components/feedback/src/bmAlert.vue.d.ts +6 -6
  16. package/es/components/feedback/src/bmModal.vue.d.ts +7 -7
  17. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  18. package/es/components/form-create/index.js +98 -389
  19. package/es/components/form-designer/index.js +122 -180
  20. package/es/components/index.d.ts +1 -0
  21. package/es/components/index.js +1 -0
  22. package/es/components/search-filter/index.d.ts +0 -28
  23. package/es/components/search-filter/index.js +3 -35
  24. package/es/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  25. package/es/components/search-filter/src/search-filter.d.ts +0 -16
  26. package/es/components/search-filter/src/search-filter.vue.d.ts +0 -28
  27. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +3 -29
  28. package/es/components/select-all/index.d.ts +6 -8
  29. package/es/components/select-all/index.js +15 -32
  30. package/es/components/select-all/src/selectAll.vue.d.ts +6 -8
  31. package/es/components/staffs-selector/index.d.ts +10 -10
  32. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +10 -10
  33. package/es/components/videoView/index.d.ts +1 -1
  34. package/es/components/videoView/src/videoView.vue.d.ts +1 -1
  35. package/es/utils/uniqueId.js +2 -2
  36. package/lib/components/attachment/index.d.ts +3 -3
  37. package/lib/components/attachment/src/attachment.vue.d.ts +3 -3
  38. package/lib/components/breadcrumb/index.d.ts +7 -7
  39. package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  40. package/lib/components/button/index.d.ts +6 -6
  41. package/lib/components/button/src/button.vue.d.ts +6 -6
  42. package/lib/components/cascader/__tests__/index.test.d.ts +1 -0
  43. package/lib/components/cascader/_util/KeyCode.d.ts +110 -0
  44. package/lib/components/cascader/index.d.ts +30 -0
  45. package/lib/components/cascader/index.js +216 -0
  46. package/lib/components/cascader/src/cascader.vue.d.ts +29 -0
  47. package/lib/components/edit-form/index.d.ts +4 -4
  48. package/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
  49. package/lib/components/feedback/index.d.ts +13 -13
  50. package/lib/components/feedback/src/bmAlert.vue.d.ts +6 -6
  51. package/lib/components/feedback/src/bmModal.vue.d.ts +7 -7
  52. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  53. package/lib/components/form-create/index.js +98 -389
  54. package/lib/components/form-designer/index.js +116 -174
  55. package/lib/components/index.d.ts +1 -0
  56. package/lib/components/index.js +7 -0
  57. package/lib/components/search-filter/index.d.ts +0 -28
  58. package/lib/components/search-filter/index.js +3 -36
  59. package/lib/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  60. package/lib/components/search-filter/src/search-filter.d.ts +0 -16
  61. package/lib/components/search-filter/src/search-filter.vue.d.ts +0 -28
  62. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +3 -29
  63. package/lib/components/select-all/index.d.ts +6 -8
  64. package/lib/components/select-all/index.js +14 -31
  65. package/lib/components/select-all/src/selectAll.vue.d.ts +6 -8
  66. package/lib/components/staffs-selector/index.d.ts +10 -10
  67. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +10 -10
  68. package/lib/components/videoView/index.d.ts +1 -1
  69. package/lib/components/videoView/src/videoView.vue.d.ts +1 -1
  70. package/lib/utils/uniqueId.js +2 -2
  71. package/package.json +1 -1
  72. package/theme-chalk/cascader.css +1 -0
  73. package/theme-chalk/form-designer.css +1 -1
  74. package/theme-chalk/index.css +1 -1
  75. package/theme-chalk/select-all.css +1 -1
  76. package/types/components/attachment/index.d.ts +3 -3
  77. package/types/components/attachment/src/attachment.vue.d.ts +3 -3
  78. package/types/components/breadcrumb/index.d.ts +7 -7
  79. package/types/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  80. package/types/components/button/index.d.ts +6 -6
  81. package/types/components/button/src/button.vue.d.ts +6 -6
  82. package/types/components/cascader/__tests__/index.test.d.ts +1 -0
  83. package/types/components/cascader/_util/KeyCode.d.ts +110 -0
  84. package/types/components/cascader/index.d.ts +30 -0
  85. package/types/components/cascader/src/cascader.vue.d.ts +29 -0
  86. package/types/components/edit-form/index.d.ts +4 -4
  87. package/types/components/edit-form/src/edit-form.vue.d.ts +4 -4
  88. package/types/components/feedback/index.d.ts +13 -13
  89. package/types/components/feedback/src/bmAlert.vue.d.ts +6 -6
  90. package/types/components/feedback/src/bmModal.vue.d.ts +7 -7
  91. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  92. package/types/components/index.d.ts +1 -0
  93. package/types/components/search-filter/index.d.ts +0 -28
  94. package/types/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  95. package/types/components/search-filter/src/search-filter.d.ts +0 -16
  96. package/types/components/search-filter/src/search-filter.vue.d.ts +0 -28
  97. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +3 -29
  98. package/types/components/select-all/index.d.ts +6 -8
  99. package/types/components/select-all/src/selectAll.vue.d.ts +6 -8
  100. package/types/components/staffs-selector/index.d.ts +10 -10
  101. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +10 -10
  102. package/types/components/videoView/index.d.ts +1 -1
  103. package/types/components/videoView/src/videoView.vue.d.ts +1 -1
@@ -20,7 +20,7 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
20
20
  setVisible: (value: any) => void;
21
21
  preview: (item: any) => void;
22
22
  download: (item: any) => void;
23
- readonly BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
23
+ BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
24
24
  name: string;
25
25
  props: {
26
26
  title: {
@@ -53,8 +53,8 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
53
53
  openShow: import("vue").Ref<boolean>;
54
54
  };
55
55
  }>;
56
- readonly DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
57
- readonly EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
56
+ DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
57
+ EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  file: {
60
60
  type: ObjectConstructor;
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  setVisible: (value: any) => void;
21
21
  preview: (item: any) => void;
22
22
  download: (item: any) => void;
23
- readonly BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
23
+ BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
24
24
  name: string;
25
25
  props: {
26
26
  title: {
@@ -53,8 +53,8 @@ declare const _default: import("vue").DefineComponent<{
53
53
  openShow: import("vue").Ref<boolean>;
54
54
  };
55
55
  }>;
56
- readonly DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
57
- readonly EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
56
+ DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
57
+ EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
59
  file: {
60
60
  type: ObjectConstructor;
@@ -15,7 +15,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
15
15
  onBack?: ((...args: any[]) => any) | undefined;
16
16
  }>>;
17
17
  handleJump: (path: any, backFn: any) => void;
18
- readonly ABreadcrumb: {
18
+ ABreadcrumb: {
19
19
  new (...args: any[]): {
20
20
  $: import("vue").ComponentInternalInstance;
21
21
  $data: {};
@@ -44,8 +44,8 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
44
44
  $slots: Readonly<{
45
45
  [name: string]: import("vue").Slot;
46
46
  }>;
47
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
48
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
47
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
48
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
49
49
  $emit: (event: string, ...args: any[]) => void;
50
50
  $el: any;
51
51
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -63,7 +63,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
63
63
  paths: string[];
64
64
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
65
65
  };
66
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
66
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
67
67
  beforeCreate?: (() => void) | (() => void)[] | undefined;
68
68
  created?: (() => void) | (() => void)[] | undefined;
69
69
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -78,7 +78,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
78
78
  unmounted?: (() => void) | (() => void)[] | undefined;
79
79
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
80
80
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
81
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
81
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
82
82
  };
83
83
  $forceUpdate: () => void;
84
84
  $nextTick: typeof import("vue").nextTick;
@@ -117,7 +117,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
117
117
  paths: string[];
118
118
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
119
119
  };
120
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
120
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
121
121
  readonly Item: import("vue").DefineComponent<{
122
122
  prefixCls: StringConstructor;
123
123
  href: StringConstructor;
@@ -137,7 +137,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
137
137
  prefixCls: StringConstructor;
138
138
  }>>, {}>;
139
139
  };
140
- readonly ABreadcrumbItem: import("vue").DefineComponent<{
140
+ ABreadcrumbItem: import("vue").DefineComponent<{
141
141
  prefixCls: StringConstructor;
142
142
  href: StringConstructor;
143
143
  separator: import("vue-types").VueTypeValidableDef<any>;
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  onBack?: ((...args: any[]) => any) | undefined;
16
16
  }>>;
17
17
  handleJump: (path: any, backFn: any) => void;
18
- readonly ABreadcrumb: {
18
+ ABreadcrumb: {
19
19
  new (...args: any[]): {
20
20
  $: import("vue").ComponentInternalInstance;
21
21
  $data: {};
@@ -44,8 +44,8 @@ declare const _default: import("vue").DefineComponent<{
44
44
  $slots: Readonly<{
45
45
  [name: string]: import("vue").Slot;
46
46
  }>;
47
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
48
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
47
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
48
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
49
49
  $emit: (event: string, ...args: any[]) => void;
50
50
  $el: any;
51
51
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
63
63
  paths: string[];
64
64
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
65
65
  };
66
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
66
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
67
67
  beforeCreate?: (() => void) | (() => void)[] | undefined;
68
68
  created?: (() => void) | (() => void)[] | undefined;
69
69
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
78
78
  unmounted?: (() => void) | (() => void)[] | undefined;
79
79
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
80
80
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
81
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
81
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
82
82
  };
83
83
  $forceUpdate: () => void;
84
84
  $nextTick: typeof import("vue").nextTick;
@@ -117,7 +117,7 @@ declare const _default: import("vue").DefineComponent<{
117
117
  paths: string[];
118
118
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
119
119
  };
120
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
120
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
121
121
  readonly Item: import("vue").DefineComponent<{
122
122
  prefixCls: StringConstructor;
123
123
  href: StringConstructor;
@@ -137,7 +137,7 @@ declare const _default: import("vue").DefineComponent<{
137
137
  prefixCls: StringConstructor;
138
138
  }>>, {}>;
139
139
  };
140
- readonly ABreadcrumbItem: import("vue").DefineComponent<{
140
+ ABreadcrumbItem: import("vue").DefineComponent<{
141
141
  prefixCls: StringConstructor;
142
142
  href: StringConstructor;
143
143
  separator: import("vue-types").VueTypeValidableDef<any>;
@@ -18,7 +18,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
18
18
  default: string;
19
19
  };
20
20
  }>> & {}>>;
21
- readonly AButton: {
21
+ AButton: {
22
22
  new (...args: any[]): {
23
23
  $: import("vue").ComponentInternalInstance;
24
24
  $data: {};
@@ -88,8 +88,8 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
88
88
  $slots: Readonly<{
89
89
  [name: string]: import("vue").Slot;
90
90
  }>;
91
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
92
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
91
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
92
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
93
93
  $emit: (event: string, ...args: any[]) => void;
94
94
  $el: any;
95
95
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -148,7 +148,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
148
148
  ghost: boolean;
149
149
  danger: boolean;
150
150
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
151
- }, {}, string> & {
151
+ }> & {
152
152
  beforeCreate?: (() => void) | (() => void)[] | undefined;
153
153
  created?: (() => void) | (() => void)[] | undefined;
154
154
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -163,7 +163,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
163
163
  unmounted?: (() => void) | (() => void)[] | undefined;
164
164
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
165
165
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
166
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
166
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
167
167
  };
168
168
  $forceUpdate: () => void;
169
169
  $nextTick: typeof import("vue").nextTick;
@@ -275,7 +275,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
275
275
  ghost: boolean;
276
276
  danger: boolean;
277
277
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
278
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
278
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
279
279
  readonly Group: import("vue").DefineComponent<{
280
280
  prefixCls: StringConstructor;
281
281
  size: {
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  default: string;
21
21
  };
22
22
  }>> & {}>>;
23
- readonly AButton: {
23
+ AButton: {
24
24
  new (...args: any[]): {
25
25
  $: import("vue").ComponentInternalInstance;
26
26
  $data: {};
@@ -90,8 +90,8 @@ declare const _default: import("vue").DefineComponent<{
90
90
  $slots: Readonly<{
91
91
  [name: string]: import("vue").Slot;
92
92
  }>;
93
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
94
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
93
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
94
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
95
95
  $emit: (event: string, ...args: any[]) => void;
96
96
  $el: any;
97
97
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -150,7 +150,7 @@ declare const _default: import("vue").DefineComponent<{
150
150
  ghost: boolean;
151
151
  danger: boolean;
152
152
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
153
- }, {}, string> & {
153
+ }> & {
154
154
  beforeCreate?: (() => void) | (() => void)[] | undefined;
155
155
  created?: (() => void) | (() => void)[] | undefined;
156
156
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -165,7 +165,7 @@ declare const _default: import("vue").DefineComponent<{
165
165
  unmounted?: (() => void) | (() => void)[] | undefined;
166
166
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
167
167
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
168
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
168
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
169
169
  };
170
170
  $forceUpdate: () => void;
171
171
  $nextTick: typeof import("vue").nextTick;
@@ -277,7 +277,7 @@ declare const _default: import("vue").DefineComponent<{
277
277
  ghost: boolean;
278
278
  danger: boolean;
279
279
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
280
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
280
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
281
281
  readonly Group: import("vue").DefineComponent<{
282
282
  prefixCls: StringConstructor;
283
283
  size: {
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,110 @@
1
+ declare const KeyCode: {
2
+ MAC_ENTER: number;
3
+ BACKSPACE: number;
4
+ TAB: number;
5
+ NUM_CENTER: number;
6
+ ENTER: number;
7
+ SHIFT: number;
8
+ CTRL: number;
9
+ ALT: number;
10
+ PAUSE: number;
11
+ CAPS_LOCK: number;
12
+ ESC: number;
13
+ SPACE: number;
14
+ PAGE_UP: number;
15
+ PAGE_DOWN: number;
16
+ END: number;
17
+ HOME: number;
18
+ LEFT: number;
19
+ UP: number;
20
+ RIGHT: number;
21
+ DOWN: number;
22
+ PRINT_SCREEN: number;
23
+ INSERT: number;
24
+ DELETE: number;
25
+ ZERO: number;
26
+ ONE: number;
27
+ TWO: number;
28
+ THREE: number;
29
+ FOUR: number;
30
+ FIVE: number;
31
+ SIX: number;
32
+ SEVEN: number;
33
+ EIGHT: number;
34
+ NINE: number;
35
+ QUESTION_MARK: number;
36
+ A: number;
37
+ B: number;
38
+ C: number;
39
+ D: number;
40
+ E: number;
41
+ F: number;
42
+ G: number;
43
+ H: number;
44
+ I: number;
45
+ J: number;
46
+ K: number;
47
+ L: number;
48
+ M: number;
49
+ N: number;
50
+ O: number;
51
+ P: number;
52
+ Q: number;
53
+ R: number;
54
+ S: number;
55
+ T: number;
56
+ U: number;
57
+ V: number;
58
+ W: number;
59
+ X: number;
60
+ Y: number;
61
+ Z: number;
62
+ META: number;
63
+ WIN_KEY_RIGHT: number;
64
+ CONTEXT_MENU: number;
65
+ NUM_ZERO: number;
66
+ NUM_ONE: number;
67
+ NUM_TWO: number;
68
+ NUM_THREE: number;
69
+ NUM_FOUR: number;
70
+ NUM_FIVE: number;
71
+ NUM_SIX: number;
72
+ NUM_SEVEN: number;
73
+ NUM_EIGHT: number;
74
+ NUM_NINE: number;
75
+ NUM_MULTIPLY: number;
76
+ NUM_PLUS: number;
77
+ NUM_MINUS: number;
78
+ NUM_PERIOD: number;
79
+ NUM_DIVISION: number;
80
+ F1: number;
81
+ F2: number;
82
+ F3: number;
83
+ F4: number;
84
+ F5: number;
85
+ F6: number;
86
+ F7: number;
87
+ F8: number;
88
+ F9: number;
89
+ F10: number;
90
+ F11: number;
91
+ F12: number;
92
+ NUMLOCK: number;
93
+ SEMICOLON: number;
94
+ DASH: number;
95
+ EQUALS: number;
96
+ COMMA: number;
97
+ PERIOD: number;
98
+ SLASH: number;
99
+ APOSTROPHE: number;
100
+ SINGLE_QUOTE: number;
101
+ OPEN_SQUARE_BRACKET: number;
102
+ BACKSLASH: number;
103
+ CLOSE_SQUARE_BRACKET: number;
104
+ WIN_KEY: number;
105
+ MAC_FF_META: number;
106
+ WIN_IME: number;
107
+ isTextModifyingKeyEvent: (e: KeyboardEvent) => boolean;
108
+ isCharacterKey: (keyCode: number) => boolean;
109
+ };
110
+ export default KeyCode;
@@ -0,0 +1,30 @@
1
+ declare const BmCascader: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
+ tipType: {
3
+ type: StringConstructor;
4
+ default: () => string;
5
+ };
6
+ width: {
7
+ type: NumberConstructor;
8
+ default: () => number;
9
+ };
10
+ }, {
11
+ onmouseover(): void;
12
+ onmouseout(): void;
13
+ onchange(value: any, selectedOptions: any): void;
14
+ labelNameList: import("vue").Ref<string>;
15
+ visible: import("vue").Ref<boolean>;
16
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ tipType: {
18
+ type: StringConstructor;
19
+ default: () => string;
20
+ };
21
+ width: {
22
+ type: NumberConstructor;
23
+ default: () => number;
24
+ };
25
+ }>>, {
26
+ tipType: string;
27
+ width: number;
28
+ }>>;
29
+ export { BmCascader };
30
+ export default BmCascader;
@@ -0,0 +1,211 @@
1
+ import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
+ import { defineComponent, reactive, watch, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, createBlock, createSlots, withCtx, createVNode, mergeProps, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList } from 'vue';
3
+ import { DownOutlined } from '@ant-design/icons-vue';
4
+
5
+ var _export_sfc = (sfc, props) => {
6
+ const target = sfc.__vccOpts || sfc;
7
+ for (const [key, val] of props) {
8
+ target[key] = val;
9
+ }
10
+ return target;
11
+ };
12
+
13
+ const _sfc_main = defineComponent({
14
+ name: 'BmLabelSelect',
15
+ components: { DownOutlined },
16
+ props: {
17
+ tipType: {
18
+ type: String,
19
+ default: () => {
20
+ return 'none'
21
+ },
22
+ },
23
+ width: {
24
+ type: Number,
25
+ default: () => {
26
+ return 200
27
+ },
28
+ },
29
+ },
30
+ setup(props, { emit, attrs }) {
31
+ const nameArr = (arr) => {
32
+ return arr.reduce(
33
+ (acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
34
+ []
35
+ )
36
+ };
37
+ const state = reactive({
38
+ labelNameList: '',
39
+ visible: false,
40
+ });
41
+ const methods = {
42
+ onmouseover() {
43
+ state.labelNameList.length && (state.visible = true);
44
+ },
45
+ onmouseout() {
46
+ state.labelNameList.length && (state.visible = false);
47
+ },
48
+ onchange(value, selectedOptions) {
49
+ if (attrs.multiple === '' || attrs.multiple) {
50
+ let res = selectedOptions.map((v, k) => {
51
+ return v.map((e, i) => {
52
+ return e.label
53
+ })
54
+ });
55
+ state.labelNameList = nameArr(res).join(',');
56
+ }
57
+ },
58
+ };
59
+ watch(
60
+ () => state.labelNameList.length,
61
+ (val) => {
62
+ if (!val) {
63
+ state.visible = false;
64
+ }
65
+ },
66
+ { deep: true }
67
+ );
68
+ onMounted(() => {
69
+ attrs.value?.length &&
70
+ (state.labelNameList = nameArr(attrs.value).join(','));
71
+ });
72
+ return {
73
+ ...toRefs(state),
74
+ ...methods,
75
+ }
76
+ },
77
+ });
78
+
79
+ const _hoisted_1 = {
80
+ ref: "BmLabelSelect",
81
+ class: "bm-label-select"
82
+ };
83
+ const _hoisted_2 = { style: {"margin":"8px 0 0 0"} };
84
+ const _hoisted_3 = { style: {"color":"#2243ec"} };
85
+ const _hoisted_4 = { class: "bm-label-select-labelList" };
86
+
87
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
88
+ const _component_DownOutlined = resolveComponent("DownOutlined");
89
+ const _component_a_cascader = resolveComponent("a-cascader");
90
+ const _component_a_popover = resolveComponent("a-popover");
91
+ const _component_a_tooltip = resolveComponent("a-tooltip");
92
+
93
+ return (openBlock(), createElementBlock("div", _hoisted_1, [
94
+ (_ctx.tipType === 'popover')
95
+ ? (openBlock(), createBlock(_component_a_popover, {
96
+ key: 0,
97
+ visible: _ctx.visible,
98
+ "get-popup-container":
99
+ (triggerNode) => {
100
+ return triggerNode.parentNode
101
+ }
102
+
103
+ }, createSlots({
104
+ default: withCtx(() => [
105
+ createVNode(_component_a_cascader, mergeProps(_ctx.$attrs, {
106
+ style: {
107
+ width:
108
+ _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
109
+ minWidth: _ctx.width + 'px',
110
+ },
111
+ "show-arrow": true,
112
+ onMouseover: _ctx.onmouseover,
113
+ onMouseout: _ctx.onmouseout,
114
+ onChange: _ctx.onchange
115
+ }), {
116
+ suffixIcon: withCtx(() => [
117
+ createVNode(_component_DownOutlined)
118
+ ]),
119
+ _: 1 /* STABLE */
120
+ }, 16 /* FULL_PROPS */, ["style", "onMouseover", "onMouseout", "onChange"])
121
+ ]),
122
+ _: 2 /* DYNAMIC */
123
+ }, [
124
+ (_ctx.labelNameList)
125
+ ? {
126
+ name: "title",
127
+ fn: withCtx(() => [
128
+ createElementVNode("div", _hoisted_2, [
129
+ createTextVNode(" 已选择  "),
130
+ createElementVNode("span", _hoisted_3, toDisplayString(_ctx.labelNameList ? _ctx.labelNameList.split(',')?.length : 0), 1 /* TEXT */),
131
+ createTextVNode("  项 ")
132
+ ])
133
+ ]),
134
+ key: "0"
135
+ }
136
+ : undefined,
137
+ (_ctx.labelNameList)
138
+ ? {
139
+ name: "content",
140
+ fn: withCtx(() => [
141
+ createElementVNode("div", _hoisted_4, [
142
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labelNameList.split(','), (item) => {
143
+ return (openBlock(), createElementBlock("div", {
144
+ key: item,
145
+ class: "bm-label-select-labelList-tip"
146
+ }, toDisplayString(item), 1 /* TEXT */))
147
+ }), 128 /* KEYED_FRAGMENT */))
148
+ ])
149
+ ]),
150
+ key: "1"
151
+ }
152
+ : undefined
153
+ ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["visible", "get-popup-container"]))
154
+ : (_ctx.tipType === 'tooltip')
155
+ ? (openBlock(), createBlock(_component_a_tooltip, {
156
+ key: 1,
157
+ placement: "top",
158
+ visible: _ctx.visible
159
+ }, createSlots({
160
+ default: withCtx(() => [
161
+ createVNode(_component_a_cascader, mergeProps(_ctx.$attrs, {
162
+ style: {
163
+ width:
164
+ _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
165
+ minWidth: _ctx.width + 'px',
166
+ },
167
+ "show-arrow": true,
168
+ onMouseover: _ctx.onmouseover,
169
+ onMouseout: _ctx.onmouseout,
170
+ onChange: _ctx.onchange
171
+ }), {
172
+ suffixIcon: withCtx(() => [
173
+ createVNode(_component_DownOutlined)
174
+ ]),
175
+ _: 1 /* STABLE */
176
+ }, 16 /* FULL_PROPS */, ["style", "onMouseover", "onMouseout", "onChange"])
177
+ ]),
178
+ _: 2 /* DYNAMIC */
179
+ }, [
180
+ (_ctx.labelNameList)
181
+ ? {
182
+ name: "title",
183
+ fn: withCtx(() => [
184
+ createTextVNode(toDisplayString(_ctx.labelNameList), 1 /* TEXT */)
185
+ ]),
186
+ key: "0"
187
+ }
188
+ : undefined
189
+ ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["visible"]))
190
+ : (openBlock(), createBlock(_component_a_cascader, mergeProps({
191
+ key: 2,
192
+ visible: _ctx.visible
193
+ }, _ctx.$attrs, {
194
+ style: { width: 'auto', minWidth: _ctx.width + 'px' },
195
+ "show-arrow": true,
196
+ onMouseover: _ctx.onmouseover,
197
+ onMouseout: _ctx.onmouseout,
198
+ onChange: _ctx.onchange
199
+ }), {
200
+ suffixIcon: withCtx(() => [
201
+ createVNode(_component_DownOutlined)
202
+ ]),
203
+ _: 1 /* STABLE */
204
+ }, 16 /* FULL_PROPS */, ["visible", "style", "onMouseover", "onMouseout", "onChange"]))
205
+ ], 512 /* NEED_PATCH */))
206
+ }
207
+ var cascader = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"cascader.vue"]]);
208
+
209
+ const BmCascader = withInstall(cascader);
210
+
211
+ export { BmCascader, BmCascader as default };
@@ -0,0 +1,29 @@
1
+ declare var _default: import("vue").DefineComponent<{
2
+ tipType: {
3
+ type: StringConstructor;
4
+ default: () => string;
5
+ };
6
+ width: {
7
+ type: NumberConstructor;
8
+ default: () => number;
9
+ };
10
+ }, {
11
+ onmouseover(): void;
12
+ onmouseout(): void;
13
+ onchange(value: any, selectedOptions: any): void;
14
+ labelNameList: import("vue").Ref<string>;
15
+ visible: import("vue").Ref<boolean>;
16
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ tipType: {
18
+ type: StringConstructor;
19
+ default: () => string;
20
+ };
21
+ width: {
22
+ type: NumberConstructor;
23
+ default: () => number;
24
+ };
25
+ }>>, {
26
+ tipType: string;
27
+ width: number;
28
+ }>;
29
+ export default _default;