bm-admin-ui 0.1.1-7 → 1.0.0-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 (35) hide show
  1. package/.pnpm-debug.log +16 -0
  2. package/es/components/button/index.d.ts +39 -17
  3. package/es/components/button/index.js +18 -9
  4. package/es/components/button/src/button.d.ts +10 -1
  5. package/es/components/button/src/button.vue.d.ts +45 -21
  6. package/es/components/flow-designer/index.js +1 -1
  7. package/es/components/form-designer/index.js +1 -1
  8. package/es/components/search-filter/index.d.ts +23 -5250
  9. package/es/components/search-filter/index.js +11 -9
  10. package/es/components/search-filter/src/search-filter.vue.d.ts +23 -5251
  11. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +0 -270
  12. package/es/components/search-filter/src/serach-filter.d.ts +3 -4
  13. package/index.esm.js +1007 -4293
  14. package/index.js +1006 -4292
  15. package/lib/components/button/index.d.ts +39 -17
  16. package/lib/components/button/index.js +17 -8
  17. package/lib/components/button/src/button.d.ts +10 -1
  18. package/lib/components/button/src/button.vue.d.ts +45 -21
  19. package/lib/components/flow-designer/index.js +1 -1
  20. package/lib/components/form-designer/index.js +1 -1
  21. package/lib/components/search-filter/index.d.ts +23 -5250
  22. package/lib/components/search-filter/index.js +10 -8
  23. package/lib/components/search-filter/src/search-filter.vue.d.ts +23 -5251
  24. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +0 -270
  25. package/lib/components/search-filter/src/serach-filter.d.ts +3 -4
  26. package/package.json +5 -5
  27. package/theme-chalk/button.css +1 -1
  28. package/theme-chalk/index.css +1 -1
  29. package/types/components/button/index.d.ts +39 -17
  30. package/types/components/button/src/button.d.ts +10 -1
  31. package/types/components/button/src/button.vue.d.ts +45 -21
  32. package/types/components/search-filter/index.d.ts +23 -5250
  33. package/types/components/search-filter/src/search-filter.vue.d.ts +23 -5251
  34. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +0 -270
  35. package/types/components/search-filter/src/serach-filter.d.ts +3 -4
@@ -0,0 +1,16 @@
1
+ {
2
+ "0 debug pnpm:scope": {
3
+ "selected": 1,
4
+ "workspacePrefix": "/Users/hesiying/work/bm-admin-ui"
5
+ },
6
+ "1 error pnpm": {
7
+ "code": "ERR_PNPM_GIT_NOT_UNCLEAN",
8
+ "hint": "If you want to disable Git checks on publish, set the \"git-checks\" setting to \"false\", or run again with \"--no-git-checks\".",
9
+ "err": {
10
+ "name": "pnpm",
11
+ "message": "Unclean working tree. Commit or stash changes first.",
12
+ "code": "ERR_PNPM_GIT_NOT_UNCLEAN",
13
+ "stack": "pnpm: Unclean working tree. Commit or stash changes first.\n at Object.handler [as publish] (/usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:170856:17)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async /usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:176081:21\n at async run (/usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:176055:34)\n at async runPnpm (/usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:176273:5)\n at async /usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:176265:7"
14
+ }
15
+ }
16
+ }
@@ -1,9 +1,23 @@
1
- declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
2
- [x: string]: unknown;
3
- }>>, {
4
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentPropsOptions<{
5
- [x: string]: unknown;
6
- }>>>> & {
1
+ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
+ size: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ type: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ }, {
11
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
12
+ size: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ type: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ }>> & {
7
21
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
8
22
  }>>;
9
23
  AButton: {
@@ -30,7 +44,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
30
44
  type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
31
45
  };
32
46
  size: {
33
- type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
47
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
34
48
  };
35
49
  loading: {
36
50
  type: import("vue").PropType<boolean | {
@@ -91,7 +105,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
91
105
  type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
92
106
  };
93
107
  size: {
94
- type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
108
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
95
109
  };
96
110
  loading: {
97
111
  type: import("vue").PropType<boolean | {
@@ -167,7 +181,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
167
181
  type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
168
182
  };
169
183
  size: {
170
- type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
184
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
171
185
  };
172
186
  loading: {
173
187
  type: import("vue").PropType<boolean | {
@@ -218,7 +232,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
218
232
  type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
219
233
  };
220
234
  size: {
221
- type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
235
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
222
236
  };
223
237
  loading: {
224
238
  type: import("vue").PropType<boolean | {
@@ -267,19 +281,27 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
267
281
  readonly Group: import("vue").DefineComponent<{
268
282
  prefixCls: StringConstructor;
269
283
  size: {
270
- type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
284
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
271
285
  };
272
286
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
273
287
  prefixCls: StringConstructor;
274
288
  size: {
275
- type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
289
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
276
290
  };
277
291
  }>>, {}>;
278
292
  };
279
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
280
- [x: string]: unknown;
281
- }>>>>, {
282
- [x: number]: string;
283
- } | {}>>;
293
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
294
+ size: {
295
+ type: StringConstructor;
296
+ default: string;
297
+ };
298
+ type: {
299
+ type: StringConstructor;
300
+ default: string;
301
+ };
302
+ }>>, {
303
+ type: string;
304
+ size: string;
305
+ }>>;
284
306
  export { BmButton };
285
307
  export default BmButton;
@@ -1,8 +1,17 @@
1
1
  import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
- import { defineComponent, openBlock, createBlock, unref, withCtx, createTextVNode } from 'vue';
2
+ import { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot } from 'vue';
3
3
  import AButton from 'ant-design-vue/lib/button';
4
4
 
5
- const buttonProps = {};
5
+ const buttonProps = {
6
+ size: {
7
+ type: String,
8
+ default: 'middle',
9
+ },
10
+ type: {
11
+ type: String,
12
+ default: 'bm-primary',
13
+ },
14
+ };
6
15
 
7
16
  var _export_sfc = (sfc, props) => {
8
17
  const target = sfc.__vccOpts || sfc;
@@ -12,7 +21,6 @@ var _export_sfc = (sfc, props) => {
12
21
  return target;
13
22
  };
14
23
 
15
- const _hoisted_1 = /* @__PURE__ */ createTextVNode("BM\u6309\u94AE");
16
24
  const __default__ = {
17
25
  name: "BmButton"
18
26
  };
@@ -20,20 +28,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
28
  ...__default__,
21
29
  props: buttonProps,
22
30
  setup(__props) {
31
+ const props = __props;
23
32
  return (_ctx, _cache) => {
24
33
  return openBlock(), createBlock(unref(AButton), {
25
- size: "large",
26
- type: "primary"
34
+ size: props.size,
35
+ type: props.type
27
36
  }, {
28
37
  default: withCtx(() => [
29
- _hoisted_1
38
+ renderSlot(_ctx.$slots, "default")
30
39
  ]),
31
- _: 1
32
- });
40
+ _: 3
41
+ }, 8, ["size", "type"]);
33
42
  };
34
43
  }
35
44
  });
36
- var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\develop\\bm-admin-ui\\packages\\components\\button\\src\\button.vue"]]);
45
+ var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/hesiying/work/bm-admin-ui/packages/components/button/src/button.vue"]]);
37
46
 
38
47
  const BmButton = withInstall(Button);
39
48
 
@@ -1,3 +1,12 @@
1
1
  import type { ExtractPropTypes } from 'vue';
2
- export declare const buttonProps: {};
2
+ export declare const buttonProps: {
3
+ size: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ type: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ };
3
12
  export declare type ButtonProps = ExtractPropTypes<typeof buttonProps>;
@@ -1,9 +1,25 @@
1
- declare const _default: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
2
- [x: string]: unknown;
3
- }>>, {
4
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentPropsOptions<{
5
- [x: string]: unknown;
6
- }>>>> & {
1
+ import type { SizeType } from 'ant-design-vue/lib/config-provider';
2
+ import type { ButtonType } from 'ant-design-vue/lib/button';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ size: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ type: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ }, {
13
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
14
+ size: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ type: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ }>> & {
7
23
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
8
24
  }>>;
9
25
  AButton: {
@@ -21,7 +37,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
21
37
  };
22
38
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
23
39
  prefixCls: StringConstructor;
24
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
40
+ type: import("vue").PropType<ButtonType>;
25
41
  htmlType: {
26
42
  type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
27
43
  default: string;
@@ -30,7 +46,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
30
46
  type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
31
47
  };
32
48
  size: {
33
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
49
+ type: import("vue").PropType<SizeType>;
34
50
  };
35
51
  loading: {
36
52
  type: import("vue").PropType<boolean | {
@@ -82,7 +98,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
82
98
  $el: any;
83
99
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
84
100
  prefixCls: StringConstructor;
85
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
101
+ type: import("vue").PropType<ButtonType>;
86
102
  htmlType: {
87
103
  type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
88
104
  default: string;
@@ -91,7 +107,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
91
107
  type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
92
108
  };
93
109
  size: {
94
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
110
+ type: import("vue").PropType<SizeType>;
95
111
  };
96
112
  loading: {
97
113
  type: import("vue").PropType<boolean | {
@@ -158,7 +174,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
158
174
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
159
175
  } & Readonly<import("vue").ExtractPropTypes<{
160
176
  prefixCls: StringConstructor;
161
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
177
+ type: import("vue").PropType<ButtonType>;
162
178
  htmlType: {
163
179
  type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
164
180
  default: string;
@@ -167,7 +183,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
167
183
  type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
168
184
  };
169
185
  size: {
170
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
186
+ type: import("vue").PropType<SizeType>;
171
187
  };
172
188
  loading: {
173
189
  type: import("vue").PropType<boolean | {
@@ -209,7 +225,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
209
225
  __isSuspense?: undefined;
210
226
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
211
227
  prefixCls: StringConstructor;
212
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
228
+ type: import("vue").PropType<ButtonType>;
213
229
  htmlType: {
214
230
  type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
215
231
  default: string;
@@ -218,7 +234,7 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
218
234
  type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
219
235
  };
220
236
  size: {
221
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
237
+ type: import("vue").PropType<SizeType>;
222
238
  };
223
239
  loading: {
224
240
  type: import("vue").PropType<boolean | {
@@ -267,18 +283,26 @@ declare const _default: import("vue").DefineComponent<Readonly<import("vue").Com
267
283
  readonly Group: import("vue").DefineComponent<{
268
284
  prefixCls: StringConstructor;
269
285
  size: {
270
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
286
+ type: import("vue").PropType<SizeType>;
271
287
  };
272
288
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
273
289
  prefixCls: StringConstructor;
274
290
  size: {
275
- type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
291
+ type: import("vue").PropType<SizeType>;
276
292
  };
277
293
  }>>, {}>;
278
294
  };
279
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
280
- [x: string]: unknown;
281
- }>>>>, {
282
- [x: number]: string;
283
- } | {}>;
295
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
296
+ size: {
297
+ type: StringConstructor;
298
+ default: string;
299
+ };
300
+ type: {
301
+ type: StringConstructor;
302
+ default: string;
303
+ };
304
+ }>>, {
305
+ type: string;
306
+ size: string;
307
+ }>;
284
308
  export default _default;
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  };
38
38
  }
39
39
  });
40
- var FlowDesigner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\develop\\bm-admin-ui\\packages\\components\\flow-designer\\src\\flow-designer.vue"]]);
40
+ var FlowDesigner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/hesiying/work/bm-admin-ui/packages/components/flow-designer/src/flow-designer.vue"]]);
41
41
 
42
42
  const BmFlowDesigner = withInstall(FlowDesigner);
43
43
 
@@ -28,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  };
29
29
  }
30
30
  });
31
- var FormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\develop\\bm-admin-ui\\packages\\components\\form-designer\\src\\form-designer.vue"]]);
31
+ var FormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/hesiying/work/bm-admin-ui/packages/components/form-designer/src/form-designer.vue"]]);
32
32
 
33
33
  const BmFormDesigner = withInstall(FormDesigner);
34
34