@kengic/uni 0.3.2-beta.3
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/README.md +1 -0
- package/dist/index.css +1 -0
- package/dist/kengic-uni.js +1374 -0
- package/dist/src/components/index.d.ts +5 -0
- package/dist/src/components/uni-ui/uni-badge/uni-badge.vue.d.ts +108 -0
- package/dist/src/components/uni-ui/uni-breadcrumb/uni-breadcrumb.vue.d.ts +23 -0
- package/dist/src/components/uni-ui/uni-breadcrumb-item/uni-breadcrumb-item.vue.d.ts +30 -0
- package/dist/src/components/uni-ui/uni-calendar/calendar.d.ts +67 -0
- package/dist/src/components/uni-ui/uni-calendar/i18n/index.d.ts +39 -0
- package/dist/src/components/uni-ui/uni-calendar/uni-calendar-item.vue.d.ts +47 -0
- package/dist/src/components/uni-ui/uni-calendar/uni-calendar.vue.d.ts +166 -0
- package/dist/src/components/uni-ui/uni-calendar/util.d.ts +211 -0
- package/dist/src/components/uni-ui/uni-card/uni-card.vue.d.ts +117 -0
- package/dist/src/components/uni-ui/uni-col/uni-col.vue.d.ts +70 -0
- package/dist/src/components/uni-ui/uni-collapse/uni-collapse.vue.d.ts +45 -0
- package/dist/src/components/uni-ui/uni-collapse-item/uni-collapse-item.vue.d.ts +102 -0
- package/dist/src/components/uni-ui/uni-combox/uni-combox.vue.d.ts +95 -0
- package/dist/src/components/uni-ui/uni-countdown/i18n/index.d.ts +21 -0
- package/dist/src/components/uni-ui/uni-countdown/uni-countdown.vue.d.ts +158 -0
- package/dist/src/components/uni-ui/uni-data-checkbox/uni-data-checkbox.vue.d.ts +192 -0
- package/dist/src/components/uni-ui/uni-data-picker/uni-data-picker.vue.d.ts +267 -0
- package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-picker.d.ts +221 -0
- package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-pickerview.vue.d.ts +169 -0
- package/dist/src/components/uni-ui/uni-data-select/uni-data-select.vue.d.ts +125 -0
- package/dist/src/components/uni-ui/uni-dateformat/date-format.d.ts +6 -0
- package/dist/src/components/uni-ui/uni-dateformat/uni-dateformat.vue.d.ts +57 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/calendar-item.vue.d.ts +44 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/calendar.vue.d.ts +253 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/i18n/index.d.ts +69 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/time-picker.vue.d.ts +225 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/uni-datetime-picker.vue.d.ts +236 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/util.d.ts +171 -0
- package/dist/src/components/uni-ui/uni-drawer/keypress.d.ts +14 -0
- package/dist/src/components/uni-ui/uni-drawer/uni-drawer.vue.d.ts +78 -0
- package/dist/src/components/uni-ui/uni-easyinput/uni-easyinput.vue.d.ts +269 -0
- package/dist/src/components/uni-ui/uni-fab/uni-fab.vue.d.ts +109 -0
- package/dist/src/components/uni-ui/uni-fav/i18n/index.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-fav/uni-fav.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-file-picker/choose-and-upload-file.d.ts +4 -0
- package/dist/src/components/uni-ui/uni-file-picker/uni-file-picker.vue.d.ts +254 -0
- package/dist/src/components/uni-ui/uni-file-picker/upload-file.vue.d.ts +81 -0
- package/dist/src/components/uni-ui/uni-file-picker/upload-image.vue.d.ts +90 -0
- package/dist/src/components/uni-ui/uni-file-picker/utils.d.ts +22 -0
- package/dist/src/components/uni-ui/uni-forms/uni-forms.vue.d.ts +160 -0
- package/dist/src/components/uni-ui/uni-forms/utils.d.ts +20 -0
- package/dist/src/components/uni-ui/uni-forms/validate.d.ts +42 -0
- package/dist/src/components/uni-ui/uni-forms-item/uni-forms-item.vue.d.ts +127 -0
- package/dist/src/components/uni-ui/uni-goods-nav/i18n/index.d.ts +21 -0
- package/dist/src/components/uni-ui/uni-goods-nav/uni-goods-nav.vue.d.ts +61 -0
- package/dist/src/components/uni-ui/uni-grid/uni-grid.vue.d.ts +59 -0
- package/dist/src/components/uni-ui/uni-grid-item/uni-grid-item.vue.d.ts +26 -0
- package/dist/src/components/uni-ui/uni-group/uni-group.vue.d.ts +52 -0
- package/dist/src/components/uni-ui/uni-icons/icons.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-icons/uni-icons.vue.d.ts +56 -0
- package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list-item.vue.d.ts +45 -0
- package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list.vue.d.ts +49 -0
- package/dist/src/components/uni-ui/uni-link/uni-link.vue.d.ts +75 -0
- package/dist/src/components/uni-ui/uni-list/uni-list.vue.d.ts +53 -0
- package/dist/src/components/uni-ui/uni-list/uni-refresh.vue.d.ts +22 -0
- package/dist/src/components/uni-ui/uni-list-ad/uni-list-ad.vue.d.ts +25 -0
- package/dist/src/components/uni-ui/uni-list-chat/uni-list-chat.vue.d.ts +123 -0
- package/dist/src/components/uni-ui/uni-list-item/uni-list-item.vue.d.ts +248 -0
- package/dist/src/components/uni-ui/uni-load-more/i18n/index.d.ts +18 -0
- package/dist/src/components/uni-ui/uni-load-more/uni-load-more.vue.d.ts +89 -0
- package/dist/src/components/uni-ui/uni-nav-bar/uni-nav-bar.vue.d.ts +163 -0
- package/dist/src/components/uni-ui/uni-nav-bar/uni-status-bar.vue.d.ts +4 -0
- package/dist/src/components/uni-ui/uni-notice-bar/uni-notice-bar.vue.d.ts +138 -0
- package/dist/src/components/uni-ui/uni-number-box/uni-number-box.vue.d.ts +90 -0
- package/dist/src/components/uni-ui/uni-pagination/i18n/index.d.ts +28 -0
- package/dist/src/components/uni-ui/uni-pagination/uni-pagination.vue.d.ts +127 -0
- package/dist/src/components/uni-ui/uni-popup/i18n/index.d.ts +24 -0
- package/dist/src/components/uni-ui/uni-popup/keypress.d.ts +14 -0
- package/dist/src/components/uni-ui/uni-popup/popup.d.ts +17 -0
- package/dist/src/components/uni-ui/uni-popup/uni-popup.vue.d.ts +136 -0
- package/dist/src/components/uni-ui/uni-popup-dialog/uni-popup-dialog.vue.d.ts +123 -0
- package/dist/src/components/uni-ui/uni-popup-message/uni-popup-message.vue.d.ts +67 -0
- package/dist/src/components/uni-ui/uni-popup-share/uni-popup-share.vue.d.ts +49 -0
- package/dist/src/components/uni-ui/uni-rate/uni-rate.vue.d.ts +154 -0
- package/dist/src/components/uni-ui/uni-row/uni-row.vue.d.ts +41 -0
- package/dist/src/components/uni-ui/uni-search-bar/i18n/index.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-search-bar/uni-search-bar.vue.d.ts +126 -0
- package/dist/src/components/uni-ui/uni-section/uni-section.vue.d.ts +85 -0
- package/dist/src/components/uni-ui/uni-segmented-control/uni-segmented-control.vue.d.ts +47 -0
- package/dist/src/components/uni-ui/uni-steps/uni-steps.vue.d.ts +59 -0
- package/dist/src/components/uni-ui/uni-swipe-action/uni-swipe-action.vue.d.ts +6 -0
- package/dist/src/components/uni-ui/uni-swiper-dot/uni-swiper-dot.vue.d.ts +65 -0
- package/dist/src/components/uni-ui/uni-table/uni-table.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-tag/uni-tag.vue.d.ts +84 -0
- package/dist/src/components/uni-ui/uni-tbody/uni-tbody.vue.d.ts +2 -0
- package/dist/src/components/uni-ui/uni-td/uni-td.vue.d.ts +48 -0
- package/dist/src/components/uni-ui/uni-th/filter-dropdown.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-th/uni-th.vue.d.ts +97 -0
- package/dist/src/components/uni-ui/uni-thead/uni-thead.vue.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-title/uni-title.vue.d.ts +54 -0
- package/dist/src/components/uni-ui/uni-tooltip/uni-tooltip.vue.d.ts +23 -0
- package/dist/src/components/uni-ui/uni-tr/table-checkbox.vue.d.ts +58 -0
- package/dist/src/components/uni-ui/uni-tr/uni-tr.vue.d.ts +39 -0
- package/dist/src/components/uni-ui/uni-transition/createAnimation.d.ts +16 -0
- package/dist/src/components/uni-ui/uni-transition/uni-transition.vue.d.ts +240 -0
- package/dist/src/consts/i18n/en.d.ts +45 -0
- package/dist/src/consts/i18n/index.d.ts +90 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +45 -0
- package/dist/src/consts/index.d.ts +1 -0
- package/dist/src/helpers/tsx.helper.d.ts +13 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/kg.util.d.ts +5 -0
- package/package.json +79 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function createAnimation(option: any, _this: any): MPAnimation | undefined;
|
|
2
|
+
declare class MPAnimation {
|
|
3
|
+
constructor(options: any, _this: any);
|
|
4
|
+
options: any;
|
|
5
|
+
animation: UniApp.Animation;
|
|
6
|
+
currentStepAnimates: {};
|
|
7
|
+
next: number;
|
|
8
|
+
$: any;
|
|
9
|
+
_nvuePushAnimates(type: any, args: any): void;
|
|
10
|
+
_animateRun(styles?: {}, config?: {}): Promise<any> | undefined;
|
|
11
|
+
_nvueNextAnimate(animates: any, step: number | undefined, fn: any): void;
|
|
12
|
+
isEnd: boolean | undefined;
|
|
13
|
+
step(config?: {}): MPAnimation;
|
|
14
|
+
run(fn: any): void;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
show: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
modeClass: {
|
|
7
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
8
|
+
default(): "fade";
|
|
9
|
+
};
|
|
10
|
+
duration: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
styles: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default(): {};
|
|
17
|
+
};
|
|
18
|
+
customClass: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
onceRender: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
}, any, {
|
|
27
|
+
isShow: boolean;
|
|
28
|
+
transform: string;
|
|
29
|
+
opacity: number;
|
|
30
|
+
animationData: {};
|
|
31
|
+
durationTime: number;
|
|
32
|
+
config: {};
|
|
33
|
+
}, {
|
|
34
|
+
stylesObject(): string;
|
|
35
|
+
transformStyles(): string;
|
|
36
|
+
}, {
|
|
37
|
+
/**
|
|
38
|
+
* ref 触发 初始化动画
|
|
39
|
+
*/
|
|
40
|
+
init(obj?: {}): void;
|
|
41
|
+
/**
|
|
42
|
+
* 点击组件触发回调
|
|
43
|
+
*/
|
|
44
|
+
onClick(): void;
|
|
45
|
+
/**
|
|
46
|
+
* ref 触发 动画分组
|
|
47
|
+
* @param {Object} obj
|
|
48
|
+
*/
|
|
49
|
+
step(obj: Object, config?: {}): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
show: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
modeClass: {
|
|
55
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
56
|
+
default(): "fade";
|
|
57
|
+
};
|
|
58
|
+
duration: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
styles: {
|
|
63
|
+
type: ObjectConstructor;
|
|
64
|
+
default(): {};
|
|
65
|
+
};
|
|
66
|
+
customClass: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
onceRender: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
}>> & {
|
|
75
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}, any, {
|
|
78
|
+
isShow: boolean;
|
|
79
|
+
transform: string;
|
|
80
|
+
opacity: number;
|
|
81
|
+
animationData: {};
|
|
82
|
+
durationTime: number;
|
|
83
|
+
config: {};
|
|
84
|
+
}, {
|
|
85
|
+
stylesObject(): string;
|
|
86
|
+
transformStyles(): string;
|
|
87
|
+
}, any, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change")[], Readonly<import("vue").ExtractPropTypes<{
|
|
88
|
+
show: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
modeClass: {
|
|
93
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
94
|
+
default(): "fade";
|
|
95
|
+
};
|
|
96
|
+
duration: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
styles: {
|
|
101
|
+
type: ObjectConstructor;
|
|
102
|
+
default(): {};
|
|
103
|
+
};
|
|
104
|
+
customClass: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
onceRender: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
}>> & {
|
|
113
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
show: boolean;
|
|
117
|
+
styles: Record<string, any>;
|
|
118
|
+
duration: number;
|
|
119
|
+
modeClass: string | unknown[];
|
|
120
|
+
customClass: string;
|
|
121
|
+
onceRender: boolean;
|
|
122
|
+
}, false, {}, {
|
|
123
|
+
P: {};
|
|
124
|
+
B: {};
|
|
125
|
+
D: {};
|
|
126
|
+
C: {};
|
|
127
|
+
M: {};
|
|
128
|
+
Defaults: {};
|
|
129
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
130
|
+
show: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
modeClass: {
|
|
135
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
136
|
+
default(): "fade";
|
|
137
|
+
};
|
|
138
|
+
duration: {
|
|
139
|
+
type: NumberConstructor;
|
|
140
|
+
default: number;
|
|
141
|
+
};
|
|
142
|
+
styles: {
|
|
143
|
+
type: ObjectConstructor;
|
|
144
|
+
default(): {};
|
|
145
|
+
};
|
|
146
|
+
customClass: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
onceRender: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
}>> & {
|
|
155
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
156
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
157
|
+
}, any, {
|
|
158
|
+
isShow: boolean;
|
|
159
|
+
transform: string;
|
|
160
|
+
opacity: number;
|
|
161
|
+
animationData: {};
|
|
162
|
+
durationTime: number;
|
|
163
|
+
config: {};
|
|
164
|
+
}, {
|
|
165
|
+
stylesObject(): string;
|
|
166
|
+
transformStyles(): string;
|
|
167
|
+
}, any, {
|
|
168
|
+
show: boolean;
|
|
169
|
+
styles: Record<string, any>;
|
|
170
|
+
duration: number;
|
|
171
|
+
modeClass: string | unknown[];
|
|
172
|
+
customClass: string;
|
|
173
|
+
onceRender: boolean;
|
|
174
|
+
}> | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* ref 触发 执行动画
|
|
177
|
+
*/
|
|
178
|
+
run(fn: any): void;
|
|
179
|
+
open(): void;
|
|
180
|
+
close(type: any): void;
|
|
181
|
+
styleInit(type: any): {
|
|
182
|
+
transform: string;
|
|
183
|
+
};
|
|
184
|
+
tranfromInit(type: any): any;
|
|
185
|
+
animationType(type: any): {
|
|
186
|
+
fade: number;
|
|
187
|
+
'slide-top': string;
|
|
188
|
+
'slide-right': string;
|
|
189
|
+
'slide-bottom': string;
|
|
190
|
+
'slide-left': string;
|
|
191
|
+
'zoom-in': string;
|
|
192
|
+
'zoom-out': string;
|
|
193
|
+
};
|
|
194
|
+
animationMode(): {
|
|
195
|
+
fade: string;
|
|
196
|
+
'slide-top': string;
|
|
197
|
+
'slide-right': string;
|
|
198
|
+
'slide-bottom': string;
|
|
199
|
+
'slide-left': string;
|
|
200
|
+
'zoom-in': string;
|
|
201
|
+
'zoom-out': string;
|
|
202
|
+
};
|
|
203
|
+
toLine(name: any): any;
|
|
204
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change")[], "click" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
205
|
+
show: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
modeClass: {
|
|
210
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
211
|
+
default(): "fade";
|
|
212
|
+
};
|
|
213
|
+
duration: {
|
|
214
|
+
type: NumberConstructor;
|
|
215
|
+
default: number;
|
|
216
|
+
};
|
|
217
|
+
styles: {
|
|
218
|
+
type: ObjectConstructor;
|
|
219
|
+
default(): {};
|
|
220
|
+
};
|
|
221
|
+
customClass: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
225
|
+
onceRender: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
}>> & {
|
|
230
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
231
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
232
|
+
}, {
|
|
233
|
+
show: boolean;
|
|
234
|
+
styles: Record<string, any>;
|
|
235
|
+
duration: number;
|
|
236
|
+
modeClass: string | unknown[];
|
|
237
|
+
customClass: string;
|
|
238
|
+
onceRender: boolean;
|
|
239
|
+
}>;
|
|
240
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
kg: {
|
|
3
|
+
KgSearch: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
KgTable: {
|
|
7
|
+
column: string;
|
|
8
|
+
emptyText: string;
|
|
9
|
+
totalText: string;
|
|
10
|
+
};
|
|
11
|
+
KgTableInfo: {
|
|
12
|
+
check: string;
|
|
13
|
+
clearCheck: string;
|
|
14
|
+
clearTable: string;
|
|
15
|
+
locate: string;
|
|
16
|
+
row: string;
|
|
17
|
+
};
|
|
18
|
+
action: string;
|
|
19
|
+
add: string;
|
|
20
|
+
button: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
confirm: string;
|
|
23
|
+
confirmDelete: string;
|
|
24
|
+
copy: string;
|
|
25
|
+
create: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
deleteSuccess: string;
|
|
28
|
+
edit: string;
|
|
29
|
+
emptyText: string;
|
|
30
|
+
export: string;
|
|
31
|
+
import: string;
|
|
32
|
+
lookup: string;
|
|
33
|
+
no: string;
|
|
34
|
+
query: string;
|
|
35
|
+
required: string;
|
|
36
|
+
reset: string;
|
|
37
|
+
save: string;
|
|
38
|
+
search: string;
|
|
39
|
+
show: string;
|
|
40
|
+
tip: string;
|
|
41
|
+
update: string;
|
|
42
|
+
yes: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const KG_I18N: {
|
|
2
|
+
en: {
|
|
3
|
+
kg: {
|
|
4
|
+
KgSearch: {
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
KgTable: {
|
|
8
|
+
column: string;
|
|
9
|
+
emptyText: string;
|
|
10
|
+
totalText: string;
|
|
11
|
+
};
|
|
12
|
+
KgTableInfo: {
|
|
13
|
+
check: string;
|
|
14
|
+
clearCheck: string;
|
|
15
|
+
clearTable: string;
|
|
16
|
+
locate: string;
|
|
17
|
+
row: string;
|
|
18
|
+
};
|
|
19
|
+
action: string;
|
|
20
|
+
add: string;
|
|
21
|
+
button: string;
|
|
22
|
+
cancel: string;
|
|
23
|
+
confirm: string;
|
|
24
|
+
confirmDelete: string;
|
|
25
|
+
copy: string;
|
|
26
|
+
create: string;
|
|
27
|
+
delete: string;
|
|
28
|
+
deleteSuccess: string;
|
|
29
|
+
edit: string;
|
|
30
|
+
emptyText: string;
|
|
31
|
+
export: string;
|
|
32
|
+
import: string;
|
|
33
|
+
lookup: string;
|
|
34
|
+
no: string;
|
|
35
|
+
query: string;
|
|
36
|
+
required: string;
|
|
37
|
+
reset: string;
|
|
38
|
+
save: string;
|
|
39
|
+
search: string;
|
|
40
|
+
show: string;
|
|
41
|
+
tip: string;
|
|
42
|
+
update: string;
|
|
43
|
+
yes: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
zh_CN: {
|
|
47
|
+
kg: {
|
|
48
|
+
KgSearch: {
|
|
49
|
+
title: string;
|
|
50
|
+
};
|
|
51
|
+
KgTable: {
|
|
52
|
+
column: string;
|
|
53
|
+
emptyText: string;
|
|
54
|
+
totalText: string;
|
|
55
|
+
};
|
|
56
|
+
KgTableInfo: {
|
|
57
|
+
check: string;
|
|
58
|
+
clearCheck: string;
|
|
59
|
+
clearTable: string;
|
|
60
|
+
locate: string;
|
|
61
|
+
row: string;
|
|
62
|
+
};
|
|
63
|
+
action: string;
|
|
64
|
+
add: string;
|
|
65
|
+
button: string;
|
|
66
|
+
cancel: string;
|
|
67
|
+
confirm: string;
|
|
68
|
+
confirmDelete: string;
|
|
69
|
+
copy: string;
|
|
70
|
+
create: string;
|
|
71
|
+
delete: string;
|
|
72
|
+
deleteSuccess: string;
|
|
73
|
+
edit: string;
|
|
74
|
+
emptyText: string;
|
|
75
|
+
export: string;
|
|
76
|
+
import: string;
|
|
77
|
+
lookup: string;
|
|
78
|
+
no: string;
|
|
79
|
+
query: string;
|
|
80
|
+
required: string;
|
|
81
|
+
reset: string;
|
|
82
|
+
save: string;
|
|
83
|
+
search: string;
|
|
84
|
+
show: string;
|
|
85
|
+
tip: string;
|
|
86
|
+
update: string;
|
|
87
|
+
yes: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
kg: {
|
|
3
|
+
KgSearch: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
KgTable: {
|
|
7
|
+
column: string;
|
|
8
|
+
emptyText: string;
|
|
9
|
+
totalText: string;
|
|
10
|
+
};
|
|
11
|
+
KgTableInfo: {
|
|
12
|
+
check: string;
|
|
13
|
+
clearCheck: string;
|
|
14
|
+
clearTable: string;
|
|
15
|
+
locate: string;
|
|
16
|
+
row: string;
|
|
17
|
+
};
|
|
18
|
+
action: string;
|
|
19
|
+
add: string;
|
|
20
|
+
button: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
confirm: string;
|
|
23
|
+
confirmDelete: string;
|
|
24
|
+
copy: string;
|
|
25
|
+
create: string;
|
|
26
|
+
delete: string;
|
|
27
|
+
deleteSuccess: string;
|
|
28
|
+
edit: string;
|
|
29
|
+
emptyText: string;
|
|
30
|
+
export: string;
|
|
31
|
+
import: string;
|
|
32
|
+
lookup: string;
|
|
33
|
+
no: string;
|
|
34
|
+
query: string;
|
|
35
|
+
required: string;
|
|
36
|
+
reset: string;
|
|
37
|
+
save: string;
|
|
38
|
+
search: string;
|
|
39
|
+
show: string;
|
|
40
|
+
tip: string;
|
|
41
|
+
update: string;
|
|
42
|
+
yes: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Slots } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* 根据 name 获取 slot 的渲染结果.
|
|
4
|
+
*/
|
|
5
|
+
export declare function renderSlot(slots: Slots, name: string): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>[] | null;
|
|
8
|
+
/**
|
|
9
|
+
* 扩展 slots.
|
|
10
|
+
* @param slots 原始的 slots.
|
|
11
|
+
* @param excludes 要排除的 slot.
|
|
12
|
+
*/
|
|
13
|
+
export declare function renderSlots(slots: Slots, excludes?: string[]): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './kg.util';
|
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kengic/uni",
|
|
3
|
+
"version": "0.3.2-beta.3",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "rimraf dist && vue-tsc && vite build",
|
|
6
|
+
"build:dev": "rimraf dist && vue-tsc && vite build --mode development",
|
|
7
|
+
"publish:all:beta": "npm run bump-version:beta && npm run publish:all",
|
|
8
|
+
"publish:all:patch": "npm run bump-version:patch && npm run publish:all",
|
|
9
|
+
"publish:all:minor": "npm run bump-version:minor && npm run publish:all",
|
|
10
|
+
"publish:all:major": "npm run bump-version:major && npm run publish:all",
|
|
11
|
+
"-------------------- C": "",
|
|
12
|
+
"bump-to:luotao.c.wms-pda": "tsx scripts/bump-to.luotao.c.wms-pda.ts",
|
|
13
|
+
"copy-to:luotao.c.wms-pda": "tsx scripts/copy-to.luotao.c.wms-pda.ts",
|
|
14
|
+
"copy-to:luotao.c.wms-pda & build": "npm run build:dev && npm run copy-to:luotao.c.wms-pda",
|
|
15
|
+
"-------------------- D": "",
|
|
16
|
+
"bump-to:luotao.wms-pda": "tsx scripts/bump-to.luotao.wms-pda.ts",
|
|
17
|
+
"copy-to:luotao.wms-pda": "tsx scripts/copy-to.luotao.wms-pda.ts",
|
|
18
|
+
"copy-to:luotao.wms-pda & build": "npm run build:dev && npm run copy-to:luotao.wms-pda",
|
|
19
|
+
"--------------------": "",
|
|
20
|
+
"gen:apis:WMS": "kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
|
21
|
+
"bump-version:beta": "tsx scripts/bump.ts beta",
|
|
22
|
+
"bump-version:major": "tsx scripts/bump.ts major",
|
|
23
|
+
"bump-version:minor": "tsx scripts/bump.ts minor",
|
|
24
|
+
"bump-version:patch": "tsx scripts/bump.ts patch",
|
|
25
|
+
"publish:all": "tsx scripts/publish.ts",
|
|
26
|
+
"publish:npm": "npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"vue": "3.2.43"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@ant-design/icons-vue": "6.1.0",
|
|
33
|
+
"@iconify-icons/ant-design": "1.2.5",
|
|
34
|
+
"@iconify/vue": "4.1.1",
|
|
35
|
+
"@vueuse/core": "8.9.4",
|
|
36
|
+
"@vueuse/shared": "8.9.4",
|
|
37
|
+
"lodash-es": "4.17.21",
|
|
38
|
+
"pinia": "2.0.12"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@dcloudio/types": "3.3.3",
|
|
42
|
+
"@kengic/pont": "1.2.10-beta.37",
|
|
43
|
+
"@types/lodash-es": "~4.17.7",
|
|
44
|
+
"@types/node": "~18.14.6",
|
|
45
|
+
"@types/semver": "~7.3.13",
|
|
46
|
+
"@vitejs/plugin-vue": "~3.2.0",
|
|
47
|
+
"@vitejs/plugin-vue-jsx": "~1.3.10",
|
|
48
|
+
"chalk": "~4.1.2",
|
|
49
|
+
"less": "~4.1.3",
|
|
50
|
+
"prettier": "~2.8.4",
|
|
51
|
+
"rimraf": "~3.0.2",
|
|
52
|
+
"rollup": "~2.79.1",
|
|
53
|
+
"sass": "1.62.1",
|
|
54
|
+
"sass-loader": "10.4.1",
|
|
55
|
+
"semver": "~7.3.8",
|
|
56
|
+
"tsx": "~3.12.3",
|
|
57
|
+
"typescript": "~4.8.4",
|
|
58
|
+
"vite": "~3.2.5",
|
|
59
|
+
"vue": "~3.2.45",
|
|
60
|
+
"vue-tsc": "~1.2.0"
|
|
61
|
+
},
|
|
62
|
+
"main": "./dist/kengic-uni.js",
|
|
63
|
+
"module": "./dist/kengic-uni.js",
|
|
64
|
+
"types": "./dist/src/index.d.ts",
|
|
65
|
+
"exports": {
|
|
66
|
+
".": {
|
|
67
|
+
"import": "./dist/kengic-uni.js"
|
|
68
|
+
},
|
|
69
|
+
"./dist/index.css": "./dist/index.css"
|
|
70
|
+
},
|
|
71
|
+
"prettier": {
|
|
72
|
+
"endOfLine": "auto",
|
|
73
|
+
"printWidth": 160,
|
|
74
|
+
"semi": true,
|
|
75
|
+
"singleQuote": true,
|
|
76
|
+
"tabWidth": 4,
|
|
77
|
+
"trailingComma": "all"
|
|
78
|
+
}
|
|
79
|
+
}
|