el-plus 0.0.4 → 0.0.6
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.
- package/CHANGELOG.md +12 -0
- package/README.md +85 -0
- package/dist/index.full.js +62 -22
- package/dist/index.full.min.js +1 -1
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +1 -1
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +59 -23
- package/es/components/buttons/index.d.ts +0 -30
- package/es/components/buttons/src/buttons-vue.d.ts +0 -19
- package/es/components/buttons/src/buttons.d.ts +0 -9
- package/es/components/buttons/src/buttons.mjs +0 -9
- package/es/components/buttons/src/buttons.mjs.map +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +2 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/title/index.d.ts +66 -0
- package/es/components/title/index.mjs +8 -0
- package/es/components/title/index.mjs.map +1 -0
- package/es/components/title/src/title.d.ts +19 -0
- package/es/components/title/src/title.mjs +19 -0
- package/es/components/title/src/title.mjs.map +1 -0
- package/es/components/title/src/title.vue.d.ts +33 -0
- package/es/components/title/src/title.vue.mjs +6 -0
- package/es/components/title/src/title.vue.mjs.map +1 -0
- package/es/components/title/src/title.vue2.mjs +23 -0
- package/es/components/title/src/title.vue2.mjs.map +1 -0
- package/es/components/title/style/css.d.ts +2 -0
- package/es/components/title/style/css.mjs +5 -0
- package/es/components/title/style/css.mjs.map +1 -0
- package/es/components/title/style/index.d.ts +2 -0
- package/es/components/title/style/index.mjs +5 -0
- package/es/components/title/style/index.mjs.map +1 -0
- package/es/components.mjs +10 -1
- package/es/components.mjs.map +1 -1
- package/es/index.mjs +2 -0
- package/es/index.mjs.map +1 -1
- package/es/package.json.mjs +1 -1
- package/global.d.ts +3 -2
- package/lib/components/buttons/index.d.ts +0 -30
- package/lib/components/buttons/src/buttons-vue.d.ts +0 -19
- package/lib/components/buttons/src/buttons.d.ts +0 -9
- package/lib/components/buttons/src/buttons.js +0 -9
- package/lib/components/buttons/src/buttons.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +6 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/title/index.d.ts +66 -0
- package/lib/components/title/index.js +16 -0
- package/lib/components/title/index.js.map +1 -0
- package/lib/components/title/src/title.d.ts +19 -0
- package/lib/components/title/src/title.js +23 -0
- package/lib/components/title/src/title.js.map +1 -0
- package/lib/components/title/src/title.vue.d.ts +33 -0
- package/lib/components/title/src/title.vue.js +10 -0
- package/lib/components/title/src/title.vue.js.map +1 -0
- package/lib/components/title/src/title.vue2.js +27 -0
- package/lib/components/title/src/title.vue2.js.map +1 -0
- package/lib/components/title/style/css.d.ts +2 -0
- package/lib/components/title/style/css.js +7 -0
- package/lib/components/title/style/css.js.map +1 -0
- package/lib/components/title/style/index.d.ts +2 -0
- package/lib/components/title/style/index.js +7 -0
- package/lib/components/title/style/index.js.map +1 -0
- package/lib/components.js +10 -1
- package/lib/components.js.map +1 -1
- package/lib/index.js +10 -4
- package/lib/index.js.map +1 -1
- package/lib/package.json.js +1 -1
- package/package.json +3 -2
package/global.d.ts
CHANGED
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
export interface GlobalComponents {
|
|
6
6
|
// 接口自动合并 GlobalComponents for Volar
|
|
7
|
-
EpButtons: typeof import('
|
|
7
|
+
EpButtons: typeof import('el-plus')['EpButtons']
|
|
8
8
|
EpForm: typeof import('el-plus')['EpForm']
|
|
9
9
|
EpInput: typeof import('el-plus')['EpInput']
|
|
10
10
|
EpTable: typeof import('el-plus')['EpTable']
|
|
11
11
|
EpSelect: typeof import('el-plus')['EpSelect']
|
|
12
|
-
EpSearchListPage: typeof import('
|
|
12
|
+
EpSearchListPage: typeof import('el-plus')['EpSearchListPage']
|
|
13
|
+
EpTitle: typeof import('el-plus')['EpTitle']
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -52,15 +52,6 @@ export declare const EpButtons: {
|
|
|
52
52
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
53
|
readonly __epPropKey: true;
|
|
54
54
|
};
|
|
55
|
-
readonly test: {
|
|
56
|
-
readonly type: import("vue").PropType<string>;
|
|
57
|
-
readonly required: true;
|
|
58
|
-
};
|
|
59
|
-
readonly test1: {
|
|
60
|
-
readonly type: import("vue").PropType<string>;
|
|
61
|
-
readonly required: true;
|
|
62
|
-
readonly default: "test1";
|
|
63
|
-
};
|
|
64
55
|
readonly icon: {
|
|
65
56
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
66
57
|
readonly required: false;
|
|
@@ -129,7 +120,6 @@ export declare const EpButtons: {
|
|
|
129
120
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
130
121
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
131
122
|
}>[];
|
|
132
|
-
readonly test1: string;
|
|
133
123
|
}, true, {}, {}, import("vue").GlobalComponents, {
|
|
134
124
|
[x: string]: (import("vue").ObjectDirective<import("packages/directives/repeat-click").RepeatClickEl, import("packages/directives/repeat-click").RepeatClickOptions, string, any> & {
|
|
135
125
|
name: string;
|
|
@@ -196,15 +186,6 @@ export declare const EpButtons: {
|
|
|
196
186
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
197
187
|
readonly __epPropKey: true;
|
|
198
188
|
};
|
|
199
|
-
readonly test: {
|
|
200
|
-
readonly type: import("vue").PropType<string>;
|
|
201
|
-
readonly required: true;
|
|
202
|
-
};
|
|
203
|
-
readonly test1: {
|
|
204
|
-
readonly type: import("vue").PropType<string>;
|
|
205
|
-
readonly required: true;
|
|
206
|
-
readonly default: "test1";
|
|
207
|
-
};
|
|
208
189
|
readonly icon: {
|
|
209
190
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
210
191
|
readonly required: false;
|
|
@@ -273,7 +254,6 @@ export declare const EpButtons: {
|
|
|
273
254
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
274
255
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
275
256
|
}>[];
|
|
276
|
-
readonly test1: string;
|
|
277
257
|
}>;
|
|
278
258
|
__isFragment?: never;
|
|
279
259
|
__isTeleport?: never;
|
|
@@ -300,15 +280,6 @@ export declare const EpButtons: {
|
|
|
300
280
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
301
281
|
readonly __epPropKey: true;
|
|
302
282
|
};
|
|
303
|
-
readonly test: {
|
|
304
|
-
readonly type: import("vue").PropType<string>;
|
|
305
|
-
readonly required: true;
|
|
306
|
-
};
|
|
307
|
-
readonly test1: {
|
|
308
|
-
readonly type: import("vue").PropType<string>;
|
|
309
|
-
readonly required: true;
|
|
310
|
-
readonly default: "test1";
|
|
311
|
-
};
|
|
312
283
|
readonly icon: {
|
|
313
284
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
314
285
|
readonly required: false;
|
|
@@ -377,7 +348,6 @@ export declare const EpButtons: {
|
|
|
377
348
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
378
349
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
379
350
|
}>[];
|
|
380
|
-
readonly test1: string;
|
|
381
351
|
}, {}, string, {}, import("vue").GlobalComponents, {
|
|
382
352
|
[x: string]: (import("vue").ObjectDirective<import("packages/directives/repeat-click").RepeatClickEl, import("packages/directives/repeat-click").RepeatClickOptions, string, any> & {
|
|
383
353
|
name: string;
|
|
@@ -21,15 +21,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
22
|
readonly __epPropKey: true;
|
|
23
23
|
};
|
|
24
|
-
readonly test: {
|
|
25
|
-
readonly type: import("vue").PropType<string>;
|
|
26
|
-
readonly required: true;
|
|
27
|
-
};
|
|
28
|
-
readonly test1: {
|
|
29
|
-
readonly type: import("vue").PropType<string>;
|
|
30
|
-
readonly required: true;
|
|
31
|
-
readonly default: "test1";
|
|
32
|
-
};
|
|
33
24
|
readonly icon: {
|
|
34
25
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
35
26
|
readonly required: false;
|
|
@@ -72,15 +63,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
63
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
64
|
readonly __epPropKey: true;
|
|
74
65
|
};
|
|
75
|
-
readonly test: {
|
|
76
|
-
readonly type: import("vue").PropType<string>;
|
|
77
|
-
readonly required: true;
|
|
78
|
-
};
|
|
79
|
-
readonly test1: {
|
|
80
|
-
readonly type: import("vue").PropType<string>;
|
|
81
|
-
readonly required: true;
|
|
82
|
-
readonly default: "test1";
|
|
83
|
-
};
|
|
84
66
|
readonly icon: {
|
|
85
67
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
86
68
|
readonly required: false;
|
|
@@ -149,7 +131,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
149
131
|
show?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
150
132
|
hide?: (boolean | ((T: unknown) => boolean)) | undefined;
|
|
151
133
|
}>[];
|
|
152
|
-
readonly test1: string;
|
|
153
134
|
}, {}, {}, {
|
|
154
135
|
[vRepeatClick.name]: import("vue").Directive<import("packages/directives/repeat-click").RepeatClickEl, import("packages/directives/repeat-click").RepeatClickOptions> & {
|
|
155
136
|
name: string;
|
|
@@ -33,15 +33,6 @@ export declare const buttonsProps: {
|
|
|
33
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
34
|
readonly __epPropKey: true;
|
|
35
35
|
};
|
|
36
|
-
readonly test: {
|
|
37
|
-
readonly type: PropType<string>;
|
|
38
|
-
readonly required: true;
|
|
39
|
-
};
|
|
40
|
-
readonly test1: {
|
|
41
|
-
readonly type: PropType<string>;
|
|
42
|
-
readonly required: true;
|
|
43
|
-
readonly default: "test1";
|
|
44
|
-
};
|
|
45
36
|
readonly icon: {
|
|
46
37
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
47
38
|
readonly required: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttons.js","sources":["../../../../../../packages/components/buttons/src/buttons.ts"],"sourcesContent":["import type { PropType, ExtractPublicPropTypes, VNode } from 'vue'\nimport {\n buttonProps as elButtonProps,\n // buttonEmits as elButtonEmits,\n type ButtonProps as ElButtonProps,\n} from 'element-plus'\nimport type { VisibleProps } from '@el-plus/utils/props'\nimport type { TableScope } from '@el-plus/components/table'\n\nexport type ButtonProps = Partial<\n ElButtonProps & {\n name: string\n prop: string // 唯一标识\n permission: string // 权限\n onClick: (e: MouseEvent | TableScope) => void\n scopedSlots: Record<string, () => VNode>\n confirm: boolean\n confirmText: string\n } & VisibleProps\n>\nexport const buttonsProps = {\n ...elButtonProps,\n disabled: {\n type: [Boolean, Function] as PropType<\n boolean | ((...args: any[]) => boolean)\n >,\n },\n list: {\n type: Array as PropType<ButtonProps[]>,\n default: () => [],\n },\n size: {\n ...elButtonProps.size,\n default: 'small',\n },\n type: {\n ...elButtonProps.type,\n default: 'default',\n },\n
|
|
1
|
+
{"version":3,"file":"buttons.js","sources":["../../../../../../packages/components/buttons/src/buttons.ts"],"sourcesContent":["import type { PropType, ExtractPublicPropTypes, VNode } from 'vue'\nimport {\n buttonProps as elButtonProps,\n // buttonEmits as elButtonEmits,\n type ButtonProps as ElButtonProps,\n} from 'element-plus'\nimport type { VisibleProps } from '@el-plus/utils/props'\nimport type { TableScope } from '@el-plus/components/table'\n\nexport type ButtonProps = Partial<\n ElButtonProps & {\n name: string\n prop: string // 唯一标识\n permission: string // 权限\n onClick: (e: MouseEvent | TableScope) => void\n scopedSlots: Record<string, () => VNode>\n confirm: boolean\n confirmText: string\n } & VisibleProps\n>\nexport const buttonsProps = {\n ...elButtonProps,\n disabled: {\n type: [Boolean, Function] as PropType<\n boolean | ((...args: any[]) => boolean)\n >,\n },\n list: {\n type: Array as PropType<ButtonProps[]>,\n default: () => [],\n },\n size: {\n ...elButtonProps.size,\n default: 'small',\n },\n type: {\n ...elButtonProps.type,\n default: 'default',\n },\n} as const\nexport type ButtonsProps = ExtractPublicPropTypes<typeof buttonsProps>\n// export const buttonsEmits = {\n// ...elButtonEmits,\n// }\n// export type ButtonsEmits = typeof buttonsEmits\n// export const buttonsEmitsKeys = Object.keys(buttonsEmits)\n"],"names":["elButtonProps"],"mappings":";;;;AAoBO,MAAM,YAAA,GAAe;AAAA,EAC1B,GAAGA,uBAAA;AAAA,EACH,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,CAAC,OAAA,EAAS,QAAQ;AAAA,GAG1B;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,KAAA;AAAA,IACN,OAAA,EAAS,MAAM;AAAC,GAClB;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,GAAGA,uBAAA,CAAc,IAAA;AAAA,IACjB,OAAA,EAAS;AAAA,GACX;AAAA,EACA,IAAA,EAAM;AAAA,IACJ,GAAGA,uBAAA,CAAc,IAAA;AAAA,IACjB,OAAA,EAAS;AAAA;AAEb;;;;"}
|
package/lib/components/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var index$2 = require('./input/index.js');
|
|
|
6
6
|
var index$3 = require('./searchListPage/index.js');
|
|
7
7
|
var index$4 = require('./select/index.js');
|
|
8
8
|
var index$5 = require('./table/index.js');
|
|
9
|
+
var index$6 = require('./title/index.js');
|
|
9
10
|
var buttons = require('./buttons/src/buttons.js');
|
|
10
11
|
var form = require('./form/src/form.js');
|
|
11
12
|
var formItem = require('./form/src/form-item.js');
|
|
@@ -14,6 +15,7 @@ var input = require('./input/src/input.js');
|
|
|
14
15
|
var searchListPage = require('./searchListPage/src/searchListPage.js');
|
|
15
16
|
var select = require('./select/src/select.js');
|
|
16
17
|
var table = require('./table/src/table.js');
|
|
18
|
+
var title = require('./title/src/title.js');
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
|
|
@@ -23,6 +25,7 @@ exports.EpInput = index$2.EpInput;
|
|
|
23
25
|
exports.EpSearchListPage = index$3.EpSearchListPage;
|
|
24
26
|
exports.EpSelect = index$4.EpSelect;
|
|
25
27
|
exports.EpTable = index$5.EpTable;
|
|
28
|
+
exports.EpTitle = index$6.EpTitle;
|
|
26
29
|
exports.buttonsProps = buttons.buttonsProps;
|
|
27
30
|
exports.expandFormPropsKeys = form.expandFormPropsKeys;
|
|
28
31
|
exports.formEmits = form.formEmits;
|
|
@@ -44,4 +47,7 @@ exports.expandTablePropsKeys = table.expandTablePropsKeys;
|
|
|
44
47
|
exports.tableEmits = table.tableEmits;
|
|
45
48
|
exports.tableEmitsKeys = table.tableEmitsKeys;
|
|
46
49
|
exports.tableProps = table.tableProps;
|
|
50
|
+
exports.titleEmits = title.titleEmits;
|
|
51
|
+
exports.titleEmitsKeys = title.titleEmitsKeys;
|
|
52
|
+
exports.titleProps = title.titleProps;
|
|
47
53
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const EpTitle: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
readonly max: NumberConstructor;
|
|
4
|
+
readonly min: NumberConstructor;
|
|
5
|
+
readonly radix: NumberConstructor;
|
|
6
|
+
readonly nonzero: BooleanConstructor;
|
|
7
|
+
readonly placeholder: {
|
|
8
|
+
readonly type: StringConstructor;
|
|
9
|
+
readonly default: "请输入";
|
|
10
|
+
};
|
|
11
|
+
readonly thousand: {
|
|
12
|
+
readonly type: BooleanConstructor;
|
|
13
|
+
readonly default: true;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
16
|
+
readonly nonzero: boolean;
|
|
17
|
+
readonly placeholder: string;
|
|
18
|
+
readonly thousand: boolean;
|
|
19
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
20
|
+
P: {};
|
|
21
|
+
B: {};
|
|
22
|
+
D: {};
|
|
23
|
+
C: {};
|
|
24
|
+
M: {};
|
|
25
|
+
Defaults: {};
|
|
26
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
readonly max: NumberConstructor;
|
|
28
|
+
readonly min: NumberConstructor;
|
|
29
|
+
readonly radix: NumberConstructor;
|
|
30
|
+
readonly nonzero: BooleanConstructor;
|
|
31
|
+
readonly placeholder: {
|
|
32
|
+
readonly type: StringConstructor;
|
|
33
|
+
readonly default: "请输入";
|
|
34
|
+
};
|
|
35
|
+
readonly thousand: {
|
|
36
|
+
readonly type: BooleanConstructor;
|
|
37
|
+
readonly default: true;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
40
|
+
readonly nonzero: boolean;
|
|
41
|
+
readonly placeholder: string;
|
|
42
|
+
readonly thousand: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
__isFragment?: never;
|
|
45
|
+
__isTeleport?: never;
|
|
46
|
+
__isSuspense?: never;
|
|
47
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
readonly max: NumberConstructor;
|
|
49
|
+
readonly min: NumberConstructor;
|
|
50
|
+
readonly radix: NumberConstructor;
|
|
51
|
+
readonly nonzero: BooleanConstructor;
|
|
52
|
+
readonly placeholder: {
|
|
53
|
+
readonly type: StringConstructor;
|
|
54
|
+
readonly default: "请输入";
|
|
55
|
+
};
|
|
56
|
+
readonly thousand: {
|
|
57
|
+
readonly type: BooleanConstructor;
|
|
58
|
+
readonly default: true;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
61
|
+
readonly nonzero: boolean;
|
|
62
|
+
readonly placeholder: string;
|
|
63
|
+
readonly thousand: boolean;
|
|
64
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
65
|
+
export default EpTitle;
|
|
66
|
+
export * from './src/title';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var title_vue_vue_type_script_setup_true_lang = require('./src/title.vue2.js');
|
|
6
|
+
var withInstall = require('../../utils/with-install.js');
|
|
7
|
+
var title = require('./src/title.js');
|
|
8
|
+
|
|
9
|
+
const EpTitle = withInstall.withInstall(title_vue_vue_type_script_setup_true_lang.default);
|
|
10
|
+
|
|
11
|
+
exports.titleEmits = title.titleEmits;
|
|
12
|
+
exports.titleEmitsKeys = title.titleEmitsKeys;
|
|
13
|
+
exports.titleProps = title.titleProps;
|
|
14
|
+
exports.EpTitle = EpTitle;
|
|
15
|
+
exports.default = EpTitle;
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../packages/components/title/index.ts"],"sourcesContent":["import Title from './src/title.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpTitle = withInstall(Title)\nexport default EpTitle\nexport * from './src/title'\n\n"],"names":["withInstall","Title"],"mappings":";;;;;;;;AAGO,MAAM,OAAA,GAAUA,wBAAYC,iDAAK;;;;;;;;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const titleProps: {
|
|
3
|
+
readonly max: NumberConstructor;
|
|
4
|
+
readonly min: NumberConstructor;
|
|
5
|
+
readonly radix: NumberConstructor;
|
|
6
|
+
readonly nonzero: BooleanConstructor;
|
|
7
|
+
readonly placeholder: {
|
|
8
|
+
readonly type: StringConstructor;
|
|
9
|
+
readonly default: "请输入";
|
|
10
|
+
};
|
|
11
|
+
readonly thousand: {
|
|
12
|
+
readonly type: BooleanConstructor;
|
|
13
|
+
readonly default: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type TitleProps = ExtractPropTypes<typeof titleProps>;
|
|
17
|
+
export declare const titleEmits: {};
|
|
18
|
+
export type TitleEmits = typeof titleEmits;
|
|
19
|
+
export declare const titleEmitsKeys: string[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const titleProps = {
|
|
4
|
+
max: Number,
|
|
5
|
+
min: Number,
|
|
6
|
+
radix: Number,
|
|
7
|
+
nonzero: Boolean,
|
|
8
|
+
placeholder: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "\u8BF7\u8F93\u5165"
|
|
11
|
+
},
|
|
12
|
+
thousand: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: true
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const titleEmits = {};
|
|
18
|
+
const titleEmitsKeys = Object.keys(titleEmits);
|
|
19
|
+
|
|
20
|
+
exports.titleEmits = titleEmits;
|
|
21
|
+
exports.titleEmitsKeys = titleEmitsKeys;
|
|
22
|
+
exports.titleProps = titleProps;
|
|
23
|
+
//# sourceMappingURL=title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title.js","sources":["../../../../../../packages/components/title/src/title.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const titleProps = {\n max: Number,\n min: Number,\n radix: Number,\n nonzero: Boolean,\n placeholder: {\n type: String,\n default: '请输入',\n },\n thousand: {\n type: Boolean,\n default: true,\n },\n} as const\nexport type TitleProps = ExtractPropTypes<typeof titleProps>\nexport const titleEmits = {}\nexport type TitleEmits = typeof titleEmits\nexport const titleEmitsKeys = Object.keys(titleEmits)\n"],"names":[],"mappings":";;AAEO,MAAM,UAAA,GAAa;AAAA,EACxB,GAAA,EAAK,MAAA;AAAA,EACL,GAAA,EAAK,MAAA;AAAA,EACL,KAAA,EAAO,MAAA;AAAA,EACP,OAAA,EAAS,OAAA;AAAA,EACT,WAAA,EAAa;AAAA,IACX,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA;AAEb;AAEO,MAAM,aAAa;AAEnB,MAAM,cAAA,GAAiB,MAAA,CAAO,IAAA,CAAK,UAAU;;;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
readonly max: NumberConstructor;
|
|
3
|
+
readonly min: NumberConstructor;
|
|
4
|
+
readonly radix: NumberConstructor;
|
|
5
|
+
readonly nonzero: BooleanConstructor;
|
|
6
|
+
readonly placeholder: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: "请输入";
|
|
9
|
+
};
|
|
10
|
+
readonly thousand: {
|
|
11
|
+
readonly type: BooleanConstructor;
|
|
12
|
+
readonly default: true;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
readonly max: NumberConstructor;
|
|
16
|
+
readonly min: NumberConstructor;
|
|
17
|
+
readonly radix: NumberConstructor;
|
|
18
|
+
readonly nonzero: BooleanConstructor;
|
|
19
|
+
readonly placeholder: {
|
|
20
|
+
readonly type: StringConstructor;
|
|
21
|
+
readonly default: "请输入";
|
|
22
|
+
};
|
|
23
|
+
readonly thousand: {
|
|
24
|
+
readonly type: BooleanConstructor;
|
|
25
|
+
readonly default: true;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
readonly nonzero: boolean;
|
|
29
|
+
readonly placeholder: string;
|
|
30
|
+
readonly thousand: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var title_vue_vue_type_script_setup_true_lang = require('./title.vue2.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = title_vue_vue_type_script_setup_true_lang.default;
|
|
10
|
+
//# sourceMappingURL=title.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var title = require('./title.js');
|
|
7
|
+
|
|
8
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
+
...{
|
|
10
|
+
name: "EpTitle",
|
|
11
|
+
inheritAttrs: false
|
|
12
|
+
},
|
|
13
|
+
__name: "title",
|
|
14
|
+
props: title.titleProps,
|
|
15
|
+
emits: title.titleEmits,
|
|
16
|
+
setup(__props, { emit: __emit }) {
|
|
17
|
+
vue.computed(() => {
|
|
18
|
+
return Object.keys(vue.useSlots());
|
|
19
|
+
});
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return null;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
exports.default = _sfc_main;
|
|
27
|
+
//# sourceMappingURL=title.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title.vue2.js","sources":["../../../../../../packages/components/title/src/title.vue"],"sourcesContent":["<template>\n \n</template>\n<script setup lang=\"ts\">\nimport { computed, useSlots, watch, ref, onMounted } from 'vue'\nimport { createNameSpace } from '@el-plus/utils/bem'\nimport { titleProps, titleEmits, titleEmitsKeys } from './title'\nimport type { TitleProps, TitleEmits } from './title'\nimport {\n prepareProps,\n prepareEvents,\n prepareClassNames,\n prepareStyles,\n} from '@el-plus/utils/props'\ndefineOptions({\n name: 'EpTitle',\n inheritAttrs: false,\n})\nconst bem = createNameSpace('title')\nconst props = defineProps(titleProps)\nconst emit = defineEmits(titleEmits)\nconst slots = computed(() => {\n return Object.keys(useSlots())\n})\n\n\n</script>\n"],"names":["computed","useSlots"],"mappings":";;;;;;;;;;;;;;;;AAqBA,IAAcA,aAAS,MAAM;AAC3B,MAAA,OAAO,MAAA,CAAO,IAAA,CAAKC,YAAA,EAAU,CAAA;AAAA,IAC/B,CAAC;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
package/lib/components.js
CHANGED
|
@@ -8,8 +8,17 @@ var index$2 = require('./components/input/index.js');
|
|
|
8
8
|
var index$3 = require('./components/searchListPage/index.js');
|
|
9
9
|
var index$4 = require('./components/select/index.js');
|
|
10
10
|
var index$5 = require('./components/table/index.js');
|
|
11
|
+
var index$6 = require('./components/title/index.js');
|
|
11
12
|
|
|
12
|
-
var components = [
|
|
13
|
+
var components = [
|
|
14
|
+
index.EpButtons,
|
|
15
|
+
index$1.EpForm,
|
|
16
|
+
index$2.EpInput,
|
|
17
|
+
index$3.EpSearchListPage,
|
|
18
|
+
index$4.EpSelect,
|
|
19
|
+
index$5.EpTable,
|
|
20
|
+
index$6.EpTitle
|
|
21
|
+
];
|
|
13
22
|
|
|
14
23
|
exports.default = components;
|
|
15
24
|
//# sourceMappingURL=components.js.map
|
package/lib/components.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sources":["../../../packages/el-plus/components.ts"],"sourcesContent":["import type { Plugin } from 'vue'\nimport Buttons from '@el-plus/components/buttons'\nimport Form from '@el-plus/components/form'\nimport Input from '@el-plus/components/input'\nimport SearchListPage from '@el-plus/components/searchListPage'\nimport Select from '@el-plus/components/select'\nimport Table from '@el-plus/components/table'\n\nexport default [Buttons
|
|
1
|
+
{"version":3,"file":"components.js","sources":["../../../packages/el-plus/components.ts"],"sourcesContent":["import type { Plugin } from 'vue'\nimport Buttons from '@el-plus/components/buttons'\nimport Form from '@el-plus/components/form'\nimport Input from '@el-plus/components/input'\nimport SearchListPage from '@el-plus/components/searchListPage'\nimport Select from '@el-plus/components/select'\nimport Table from '@el-plus/components/table'\nimport Title from '@el-plus/components/title'\n\nexport default [\n Buttons,\n Form,\n Input,\n SearchListPage,\n Select,\n Table,\n Title,\n] as Plugin[]\n"],"names":["Buttons","Form","Input","SearchListPage","Select","Table","Title"],"mappings":";;;;;;;;;;;;AASA,iBAAe;AAAA,EACbA,eAAA;AAAA,EACAC,cAAA;AAAA,EACAC,eAAA;AAAA,EACAC,wBAAA;AAAA,EACAC,gBAAA;AAAA,EACAC,eAAA;AAAA,EACAC;AACF,CAAA;;;;"}
|
package/lib/index.js
CHANGED
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var components = require('./components.js');
|
|
6
6
|
var _package = require('./package.json.js');
|
|
7
|
-
var index$
|
|
8
|
-
var index$
|
|
7
|
+
var index$7 = require('./directives/repeat-click/index.js');
|
|
8
|
+
var index$8 = require('./directives/permission/index.js');
|
|
9
9
|
var buttons = require('./components/buttons/src/buttons.js');
|
|
10
10
|
var index = require('./components/buttons/index.js');
|
|
11
11
|
var form = require('./components/form/src/form.js');
|
|
@@ -20,6 +20,8 @@ var select = require('./components/select/src/select.js');
|
|
|
20
20
|
var index$4 = require('./components/select/index.js');
|
|
21
21
|
var table = require('./components/table/src/table.js');
|
|
22
22
|
var index$5 = require('./components/table/index.js');
|
|
23
|
+
var title = require('./components/title/src/title.js');
|
|
24
|
+
var index$6 = require('./components/title/index.js');
|
|
23
25
|
var useRequest = require('./hooks/use-request.js');
|
|
24
26
|
|
|
25
27
|
const install = (app, options) => {
|
|
@@ -30,8 +32,8 @@ const plugin = {
|
|
|
30
32
|
version: _package.version
|
|
31
33
|
};
|
|
32
34
|
|
|
33
|
-
exports.vRepeatClick = index$
|
|
34
|
-
exports.vPermission = index$
|
|
35
|
+
exports.vRepeatClick = index$7.default;
|
|
36
|
+
exports.vPermission = index$8.default;
|
|
35
37
|
exports.buttonsProps = buttons.buttonsProps;
|
|
36
38
|
exports.EpButtons = index.EpButtons;
|
|
37
39
|
exports.expandFormPropsKeys = form.expandFormPropsKeys;
|
|
@@ -59,6 +61,10 @@ exports.tableEmits = table.tableEmits;
|
|
|
59
61
|
exports.tableEmitsKeys = table.tableEmitsKeys;
|
|
60
62
|
exports.tableProps = table.tableProps;
|
|
61
63
|
exports.EpTable = index$5.EpTable;
|
|
64
|
+
exports.titleEmits = title.titleEmits;
|
|
65
|
+
exports.titleEmitsKeys = title.titleEmitsKeys;
|
|
66
|
+
exports.titleProps = title.titleProps;
|
|
67
|
+
exports.EpTitle = index$6.EpTitle;
|
|
62
68
|
exports.useRequest = useRequest.useRequest;
|
|
63
69
|
exports.default = plugin;
|
|
64
70
|
exports.install = install;
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../packages/el-plus/index.ts"],"sourcesContent":["import type { App, Plugin } from 'vue'\nimport components from './components'\nimport { version } from './package.json'\nexport const install = (app: App, options?: Record<string, any>) => {\n components.forEach((c) => app.use(c))\n if (options) {\n }\n}\n\nconst plugin: Plugin & { version: string } = {\n install,\n version,\n}\nexport default plugin\nexport * from '@el-plus/components/index'\nexport * from '@el-plus/hooks'\nexport * from '@el-plus/directives'\n"],"names":["components","version"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../packages/el-plus/index.ts"],"sourcesContent":["import type { App, Plugin } from 'vue'\nimport components from './components'\nimport { version } from './package.json'\nexport const install = (app: App, options?: Record<string, any>) => {\n components.forEach((c) => app.use(c))\n if (options) {\n }\n}\n\nconst plugin: Plugin & { version: string } = {\n install,\n version,\n}\nexport default plugin\nexport * from '@el-plus/components/index'\nexport * from '@el-plus/hooks'\nexport * from '@el-plus/directives'\n"],"names":["components","version"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,OAAA,GAAU,CAAC,GAAA,EAAU,OAAA,KAAkC;AAClE,EAAAA,kBAAA,CAAW,QAAQ,CAAC,CAAA,KAAM,GAAA,CAAI,GAAA,CAAI,CAAC,CAAC,CAAA;AAGtC;AAEA,MAAM,MAAA,GAAuC;AAAA,EAC3C,OAAA;AAAA,WACAC;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/package.json.js
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "el-plus",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "pro base on element-plus",
|
|
5
5
|
"module": "./es/index.mjs",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"element-plus",
|
|
8
|
-
"vue3"
|
|
8
|
+
"vue3",
|
|
9
|
+
"typescript"
|
|
9
10
|
],
|
|
10
11
|
"author": "pengfei.yin",
|
|
11
12
|
"license": "MIT",
|