yahee-components 0.0.109 → 0.0.111

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, reactive as d, ref as E, onMounted as D } from "vue";
2
- import { ElOption as _, ElSelect as h, ElInput as w, ElFormItem as S, ElButton as y, ElDatePicker as T, ElForm as b } from "element-plus";
2
+ import { ElOption as _, ElSelect as b, ElInput as h, ElFormItem as w, ElButton as S, ElDatePicker as y, ElForm as N } from "element-plus";
3
3
  import "element-plus/theme-chalk/src/base.scss";
4
4
  import "element-plus/theme-chalk/src/form.scss";
5
5
  import "element-plus/theme-chalk/src/date-picker.scss";
@@ -12,18 +12,18 @@ import "element-plus/theme-chalk/src/tag.scss";
12
12
  import "element-plus/theme-chalk/src/option.scss";
13
13
  import "element-plus/theme-chalk/src/option-group.scss";
14
14
  import "element-plus/theme-chalk/src/select.scss";
15
- import { Search as v } from "@element-plus/icons-vue";
16
- import { getGlobalNotesUsers as x } from "../packages/components/api/log/index.js";
15
+ import { Search as T } from "@element-plus/icons-vue";
16
+ import { getGlobalNotesUsers as v } from "../packages/components/api/log/index.js";
17
17
  import { M2 as r } from "../utils/translate.js";
18
18
  const A = /* @__PURE__ */ f({
19
19
  __name: "operation-log-form",
20
20
  props: {
21
21
  businessKey: {
22
- type: String,
22
+ type: [String, Number],
23
23
  default: ""
24
24
  },
25
25
  businessName: {
26
- type: String,
26
+ type: [String, Number],
27
27
  default: ""
28
28
  }
29
29
  },
@@ -70,7 +70,7 @@ const A = /* @__PURE__ */ f({
70
70
  t.append(
71
71
  "filter",
72
72
  JSON.stringify({ BusinessKey: n.businessKey, BusinessName: n.businessName })
73
- ), x(t).then((e) => {
73
+ ), v(t).then((e) => {
74
74
  s.value = e || [];
75
75
  });
76
76
  }, i = l, g = (t) => {
@@ -80,21 +80,21 @@ const A = /* @__PURE__ */ f({
80
80
  a();
81
81
  });
82
82
  const m = { props: n, form: o, dataOptions: s, shortcuts: c, getData: a, emit: i, searchChange: g, get ElForm() {
83
- return b;
83
+ return N;
84
84
  }, get ElDatePicker() {
85
- return T;
86
- }, get ElButton() {
87
85
  return y;
88
- }, get ElFormItem() {
86
+ }, get ElButton() {
89
87
  return S;
90
- }, get ElInput() {
88
+ }, get ElFormItem() {
91
89
  return w;
92
- }, get ElSelect() {
90
+ }, get ElInput() {
93
91
  return h;
92
+ }, get ElSelect() {
93
+ return b;
94
94
  }, get ElOption() {
95
95
  return _;
96
96
  }, get Search() {
97
- return v;
97
+ return T;
98
98
  }, get M2() {
99
99
  return r;
100
100
  } };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yahee-components",
3
3
  "private": false,
4
- "version": "0.0.109",
4
+ "version": "0.0.111",
5
5
  "description": "深圳前海亚讯前端组件库",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -269,11 +269,11 @@ declare const _default: (( SFCWithInstall<DefineComponent<ExtractPropTypes<{
269
269
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
270
270
  logForm: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
271
271
  businessKey: {
272
- type: StringConstructor;
272
+ type: (StringConstructor | NumberConstructor)[];
273
273
  default: string;
274
274
  };
275
275
  businessName: {
276
- type: StringConstructor;
276
+ type: (StringConstructor | NumberConstructor)[];
277
277
  default: string;
278
278
  };
279
279
  }>> & Readonly<{
@@ -281,8 +281,8 @@ declare const _default: (( SFCWithInstall<DefineComponent<ExtractPropTypes<{
281
281
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
282
282
  filterChange: (...args: any[]) => void;
283
283
  }, PublicProps, {
284
- businessKey: string;
285
- businessName: string;
284
+ businessKey: string | number;
285
+ businessName: string | number;
286
286
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
287
287
  P: {};
288
288
  B: {};
@@ -292,18 +292,18 @@ declare const _default: (( SFCWithInstall<DefineComponent<ExtractPropTypes<{
292
292
  Defaults: {};
293
293
  }, Readonly< ExtractPropTypes<{
294
294
  businessKey: {
295
- type: StringConstructor;
295
+ type: (StringConstructor | NumberConstructor)[];
296
296
  default: string;
297
297
  };
298
298
  businessName: {
299
- type: StringConstructor;
299
+ type: (StringConstructor | NumberConstructor)[];
300
300
  default: string;
301
301
  };
302
302
  }>> & Readonly<{
303
303
  onFilterChange?: (...args: any[]) => any;
304
304
  }>, {}, {}, {}, {}, {
305
- businessKey: string;
306
- businessName: string;
305
+ businessKey: string | number;
306
+ businessName: string | number;
307
307
  }>;
308
308
  infiniteList: {
309
309
  $: ComponentInternalInstance;
@@ -11,11 +11,11 @@ export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<Operation
11
11
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
12
12
  logForm: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
13
13
  businessKey: {
14
- type: StringConstructor;
14
+ type: (StringConstructor | NumberConstructor)[];
15
15
  default: string;
16
16
  };
17
17
  businessName: {
18
- type: StringConstructor;
18
+ type: (StringConstructor | NumberConstructor)[];
19
19
  default: string;
20
20
  };
21
21
  }>> & Readonly<{
@@ -23,8 +23,8 @@ export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<Operation
23
23
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
24
24
  filterChange: (...args: any[]) => void;
25
25
  }, PublicProps, {
26
- businessKey: string;
27
- businessName: string;
26
+ businessKey: string | number;
27
+ businessName: string | number;
28
28
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
29
29
  P: {};
30
30
  B: {};
@@ -34,18 +34,18 @@ export declare const YaheeOperationLog: SFCWithInstall<DefineComponent<Operation
34
34
  Defaults: {};
35
35
  }, Readonly< ExtractPropTypes<{
36
36
  businessKey: {
37
- type: StringConstructor;
37
+ type: (StringConstructor | NumberConstructor)[];
38
38
  default: string;
39
39
  };
40
40
  businessName: {
41
- type: StringConstructor;
41
+ type: (StringConstructor | NumberConstructor)[];
42
42
  default: string;
43
43
  };
44
44
  }>> & Readonly<{
45
45
  onFilterChange?: (...args: any[]) => any;
46
46
  }>, {}, {}, {}, {}, {
47
- businessKey: string;
48
- businessName: string;
47
+ businessKey: string | number;
48
+ businessName: string | number;
49
49
  }>;
50
50
  infiniteList: {
51
51
  $: ComponentInternalInstance;
@@ -1,28 +1,28 @@
1
1
  import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare const _default: DefineComponent<ExtractPropTypes<{
3
3
  businessKey: {
4
- type: StringConstructor;
4
+ type: (StringConstructor | NumberConstructor)[];
5
5
  default: string;
6
6
  };
7
7
  businessName: {
8
- type: StringConstructor;
8
+ type: (StringConstructor | NumberConstructor)[];
9
9
  default: string;
10
10
  };
11
11
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
12
  filterChange: (...args: any[]) => void;
13
13
  }, string, PublicProps, Readonly< ExtractPropTypes<{
14
14
  businessKey: {
15
- type: StringConstructor;
15
+ type: (StringConstructor | NumberConstructor)[];
16
16
  default: string;
17
17
  };
18
18
  businessName: {
19
- type: StringConstructor;
19
+ type: (StringConstructor | NumberConstructor)[];
20
20
  default: string;
21
21
  };
22
22
  }>> & Readonly<{
23
23
  onFilterChange?: (...args: any[]) => any;
24
24
  }>, {
25
- businessKey: string;
26
- businessName: string;
25
+ businessKey: string | number;
26
+ businessName: string | number;
27
27
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
28
28
  export default _default;
@@ -10,11 +10,11 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
10
10
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
11
11
  logForm: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
12
12
  businessKey: {
13
- type: StringConstructor;
13
+ type: (StringConstructor | NumberConstructor)[];
14
14
  default: string;
15
15
  };
16
16
  businessName: {
17
- type: StringConstructor;
17
+ type: (StringConstructor | NumberConstructor)[];
18
18
  default: string;
19
19
  };
20
20
  }>> & Readonly<{
@@ -22,8 +22,8 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
22
22
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
23
  filterChange: (...args: any[]) => void;
24
24
  }, PublicProps, {
25
- businessKey: string;
26
- businessName: string;
25
+ businessKey: string | number;
26
+ businessName: string | number;
27
27
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
28
28
  P: {};
29
29
  B: {};
@@ -33,18 +33,18 @@ declare const _default: DefineComponent<OperationLogProps, {}, {}, {}, {}, Compo
33
33
  Defaults: {};
34
34
  }, Readonly< ExtractPropTypes<{
35
35
  businessKey: {
36
- type: StringConstructor;
36
+ type: (StringConstructor | NumberConstructor)[];
37
37
  default: string;
38
38
  };
39
39
  businessName: {
40
- type: StringConstructor;
40
+ type: (StringConstructor | NumberConstructor)[];
41
41
  default: string;
42
42
  };
43
43
  }>> & Readonly<{
44
44
  onFilterChange?: (...args: any[]) => any;
45
45
  }>, {}, {}, {}, {}, {
46
- businessKey: string;
47
- businessName: string;
46
+ businessKey: string | number;
47
+ businessName: string | number;
48
48
  }>;
49
49
  infiniteList: {
50
50
  $: ComponentInternalInstance;