yahee-components 0.0.10 → 0.0.12

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 (46) hide show
  1. package/es/api/server.js +26 -10
  2. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +218 -0
  3. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +4 -0
  4. package/es/country-platform-shop-condition/index.js +7 -0
  5. package/es/country-platform-shop-condition/style/index.css +48 -0
  6. package/es/drop-down-condition/drop-down-condition.vue.js +215 -0
  7. package/es/drop-down-condition/drop-down-condition.vue2.js +4 -0
  8. package/es/drop-down-condition/index.js +7 -0
  9. package/es/drop-down-condition/style/index.css +45 -0
  10. package/es/index.js +23 -15
  11. package/es/installs.js +18 -10
  12. package/es/left-condition/index.js +7 -0
  13. package/es/left-condition/left-condition-sub.vue.js +95 -0
  14. package/es/left-condition/left-condition-sub.vue2.js +4 -0
  15. package/es/left-condition/left-condition.vue.js +214 -0
  16. package/es/left-condition/left-condition.vue2.js +4 -0
  17. package/es/left-condition/style/index.css +11 -0
  18. package/es/left-condition-enum/index.js +7 -0
  19. package/es/left-condition-enum/left-condition-enum.vue.js +76 -0
  20. package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
  21. package/es/left-condition-enum/style/index.css +0 -0
  22. package/es/static/CommonObject.js +4 -0
  23. package/es/style.css +81 -196
  24. package/es/utils/style.js +28 -0
  25. package/es/utils/translate.js +39 -22
  26. package/lib/country-platform-shop-condition/style/index.css +48 -0
  27. package/lib/drop-down-condition/style/index.css +45 -0
  28. package/lib/left-condition/style/index.css +11 -0
  29. package/lib/left-condition-enum/style/index.css +0 -0
  30. package/lib/style.css +81 -196
  31. package/package.json +1 -1
  32. package/types/src/components.d.ts +4 -0
  33. package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
  34. package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +14 -0
  35. package/types/src/country-platform-shop-condition/index.d.ts +16 -0
  36. package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
  37. package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +38 -0
  38. package/types/src/drop-down-condition/index.d.ts +40 -0
  39. package/types/src/installs.d.ts +259 -2
  40. package/types/src/left-condition/index.d.ts +69 -0
  41. package/types/src/left-condition/left-condition-sub.vue.d.ts +47 -0
  42. package/types/src/left-condition/left-condition.d.ts +5 -0
  43. package/types/src/left-condition/left-condition.vue.d.ts +68 -0
  44. package/types/src/left-condition-enum/index.d.ts +153 -0
  45. package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
  46. package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +151 -0
@@ -0,0 +1,151 @@
1
+ import { Option } from '../static/CommonObject';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<ExtractPropTypes<{
4
+ selectList: {
5
+ type: {
6
+ (arrayLength: number): Option[];
7
+ (...items: Option[]): Option[];
8
+ new (arrayLength: number): Option[];
9
+ new (...items: Option[]): Option[];
10
+ isArray(arg: any): arg is any[];
11
+ readonly prototype: any[];
12
+ from<T>(arrayLike: ArrayLike<T>): T[];
13
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
14
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
15
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
16
+ of<T>(...items: T[]): T[];
17
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
18
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
19
+ readonly [Symbol.species]: ArrayConstructor;
20
+ };
21
+ default: () => Option[];
22
+ };
23
+ countList: {
24
+ type: {
25
+ (arrayLength: number): any[];
26
+ (...items: any[]): any[];
27
+ new (arrayLength: number): any[];
28
+ new (...items: any[]): any[];
29
+ isArray(arg: any): arg is any[];
30
+ readonly prototype: any[];
31
+ from<T>(arrayLike: ArrayLike<T>): T[];
32
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
33
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
34
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
35
+ of<T>(...items: T[]): T[];
36
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
37
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
38
+ readonly [Symbol.species]: ArrayConstructor;
39
+ };
40
+ required: false;
41
+ };
42
+ enumEntity: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ filterKey: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ totalCount: {
51
+ type: NumberConstructor;
52
+ required: false;
53
+ };
54
+ noNeedRefreshNumFilterName: {
55
+ type: StringConstructor;
56
+ required: false;
57
+ };
58
+ allIsCheckbox: {
59
+ type: BooleanConstructor;
60
+ required: false;
61
+ };
62
+ allIsEmpty: {
63
+ type: BooleanConstructor;
64
+ required: false;
65
+ };
66
+ translateUserId: {
67
+ type: BooleanConstructor;
68
+ required: false;
69
+ };
70
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
71
+ filterChange: (...args: any[]) => void;
72
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
73
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
74
+ selectList: {
75
+ type: {
76
+ (arrayLength: number): Option[];
77
+ (...items: Option[]): Option[];
78
+ new (arrayLength: number): Option[];
79
+ new (...items: Option[]): Option[];
80
+ isArray(arg: any): arg is any[];
81
+ readonly prototype: any[];
82
+ from<T>(arrayLike: ArrayLike<T>): T[];
83
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
84
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
85
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
86
+ of<T>(...items: T[]): T[];
87
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
88
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
89
+ readonly [Symbol.species]: ArrayConstructor;
90
+ };
91
+ default: () => Option[];
92
+ };
93
+ countList: {
94
+ type: {
95
+ (arrayLength: number): any[];
96
+ (...items: any[]): any[];
97
+ new (arrayLength: number): any[];
98
+ new (...items: any[]): any[];
99
+ isArray(arg: any): arg is any[];
100
+ readonly prototype: any[];
101
+ from<T>(arrayLike: ArrayLike<T>): T[];
102
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
103
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
104
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
105
+ of<T>(...items: T[]): T[];
106
+ fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
107
+ fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
108
+ readonly [Symbol.species]: ArrayConstructor;
109
+ };
110
+ required: false;
111
+ };
112
+ enumEntity: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ filterKey: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ totalCount: {
121
+ type: NumberConstructor;
122
+ required: false;
123
+ };
124
+ noNeedRefreshNumFilterName: {
125
+ type: StringConstructor;
126
+ required: false;
127
+ };
128
+ allIsCheckbox: {
129
+ type: BooleanConstructor;
130
+ required: false;
131
+ };
132
+ allIsEmpty: {
133
+ type: BooleanConstructor;
134
+ required: false;
135
+ };
136
+ translateUserId: {
137
+ type: BooleanConstructor;
138
+ required: false;
139
+ };
140
+ }>> & Readonly<{
141
+ onFilterChange?: (...args: any[]) => any;
142
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
143
+ }>, {
144
+ allIsCheckbox: boolean;
145
+ translateUserId: boolean;
146
+ selectList: Option[];
147
+ allIsEmpty: boolean;
148
+ filterKey: string;
149
+ enumEntity: string;
150
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
151
+ export default _default;