@ajaxjs/ui 1.5.2 → 1.5.4
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/dist/ajaxjs-ui.cjs.js +43 -1
- package/dist/ajaxjs-ui.es.js +13252 -194
- package/dist/ajaxjs-ui.umd.js +43 -1
- package/dist/types/index.d.ts +255 -0
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -4,5 +4,260 @@ export { default as MyButton } from './components/MyButton.vue';
|
|
|
4
4
|
export { default as HtmlEditor } from './components/html-editor/HtmlEditor.vue';
|
|
5
5
|
export declare const admin: {
|
|
6
6
|
HomePage: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
7
|
+
Login: import('vue').DefineComponent<{}, {}, {
|
|
8
|
+
msg: string;
|
|
9
|
+
autoLogin: boolean;
|
|
10
|
+
}, {}, {
|
|
11
|
+
hide(): void;
|
|
12
|
+
handleSubmit(valid: boolean, { username, password }: {
|
|
13
|
+
username: string;
|
|
14
|
+
password: string;
|
|
15
|
+
}): void;
|
|
16
|
+
forgetPsw(): void;
|
|
17
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
};
|
|
19
|
+
export declare const system: {
|
|
20
|
+
Article: import('vue').DefineComponent<{}, {}, any>;
|
|
21
|
+
DataDict: import('vue').DefineComponent<{}, {}, any>;
|
|
22
|
+
Schedule: import('vue').DefineComponent<{}, {}, {}, {}, {
|
|
23
|
+
trigger(id: number): void;
|
|
24
|
+
del(id: number): void;
|
|
25
|
+
pause(id: number): void;
|
|
26
|
+
resume(id: number): void;
|
|
27
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
28
|
+
ListLoader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
29
|
+
apiPrefix: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
createRoute: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
editRoute: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
defaultAction: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
id: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
showSearch: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
modalInfo: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
required: false;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
showCreateBtn: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
showEditBtn: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
editBtnAsView: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
}>, {}, {
|
|
74
|
+
widgetName_: string;
|
|
75
|
+
cfg: {
|
|
76
|
+
fields: never[];
|
|
77
|
+
};
|
|
78
|
+
listApiUrl_: string;
|
|
79
|
+
colDefId: number;
|
|
80
|
+
list: TableListConfig;
|
|
81
|
+
isShowForm: boolean;
|
|
82
|
+
bindingFormId: number;
|
|
83
|
+
}, {}, {
|
|
84
|
+
getRemoteColDef(): void;
|
|
85
|
+
renderConfig(cfg: ListFactory_ListConfig_New): void;
|
|
86
|
+
getData(): void;
|
|
87
|
+
onPageNoChange(pageNo: number): void;
|
|
88
|
+
handleChangePageSize(pageSize: number): void;
|
|
89
|
+
reset(): void;
|
|
90
|
+
onCreate(id: number): void;
|
|
91
|
+
onEdit(id: number): void;
|
|
92
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
+
apiPrefix: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
required: false;
|
|
96
|
+
};
|
|
97
|
+
createRoute: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
required: false;
|
|
100
|
+
};
|
|
101
|
+
editRoute: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
required: false;
|
|
104
|
+
};
|
|
105
|
+
defaultAction: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
required: false;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
id: {
|
|
111
|
+
type: NumberConstructor;
|
|
112
|
+
required: false;
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
showSearch: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
required: false;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
modalInfo: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
required: false;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
showCreateBtn: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
showEditBtn: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
editBtnAsView: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{}>, {
|
|
138
|
+
id: number;
|
|
139
|
+
defaultAction: boolean;
|
|
140
|
+
showSearch: boolean;
|
|
141
|
+
modalInfo: boolean;
|
|
142
|
+
showCreateBtn: boolean;
|
|
143
|
+
showEditBtn: boolean;
|
|
144
|
+
editBtnAsView: boolean;
|
|
145
|
+
}, {}, {
|
|
146
|
+
FormLoader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
147
|
+
id: {
|
|
148
|
+
type: NumberConstructor;
|
|
149
|
+
required: false;
|
|
150
|
+
};
|
|
151
|
+
isShowInfoBtn: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
required: false;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
isShowBtns: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
required: false;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
}>, {
|
|
162
|
+
FromRenderer: import('vue').Ref<any, any>;
|
|
163
|
+
}, {
|
|
164
|
+
formId: number;
|
|
165
|
+
entityId: number;
|
|
166
|
+
cfg: {
|
|
167
|
+
fields: never[];
|
|
168
|
+
};
|
|
169
|
+
status: number;
|
|
170
|
+
oldJson: null;
|
|
171
|
+
}, {}, {
|
|
172
|
+
load(): void;
|
|
173
|
+
resetFields(): void;
|
|
174
|
+
create(): void;
|
|
175
|
+
update(): void;
|
|
176
|
+
_getSaveData(): any;
|
|
177
|
+
loadInfo(): void;
|
|
178
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
179
|
+
id: {
|
|
180
|
+
type: NumberConstructor;
|
|
181
|
+
required: false;
|
|
182
|
+
};
|
|
183
|
+
isShowInfoBtn: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
required: false;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
isShowBtns: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
required: false;
|
|
191
|
+
default: boolean;
|
|
192
|
+
};
|
|
193
|
+
}>> & Readonly<{}>, {
|
|
194
|
+
isShowInfoBtn: boolean;
|
|
195
|
+
isShowBtns: boolean;
|
|
196
|
+
}, {}, {
|
|
197
|
+
FromRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
198
|
+
cfg: {
|
|
199
|
+
type: ObjectConstructor;
|
|
200
|
+
required: true;
|
|
201
|
+
};
|
|
202
|
+
}>, {}, {
|
|
203
|
+
index: number;
|
|
204
|
+
formDynamic: {
|
|
205
|
+
fields: any;
|
|
206
|
+
};
|
|
207
|
+
data: {};
|
|
208
|
+
status: number;
|
|
209
|
+
}, {}, {
|
|
210
|
+
handleAdd(): void;
|
|
211
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
212
|
+
cfg: {
|
|
213
|
+
type: ObjectConstructor;
|
|
214
|
+
required: true;
|
|
215
|
+
};
|
|
216
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
217
|
+
ItemRender: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
218
|
+
item: {
|
|
219
|
+
type: ObjectConstructor;
|
|
220
|
+
};
|
|
221
|
+
data: ObjectConstructor;
|
|
222
|
+
status: NumberConstructor;
|
|
223
|
+
}>, {}, {}, {}, {
|
|
224
|
+
showDataDict(fieldName: string): void;
|
|
225
|
+
handleModelUpdate(e: string, name: string): void;
|
|
226
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
227
|
+
item: {
|
|
228
|
+
type: ObjectConstructor;
|
|
229
|
+
};
|
|
230
|
+
data: ObjectConstructor;
|
|
231
|
+
status: NumberConstructor;
|
|
232
|
+
}>> & Readonly<{}>, {}, {}, {
|
|
233
|
+
FileUpload: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
234
|
+
value: {
|
|
235
|
+
required: true;
|
|
236
|
+
};
|
|
237
|
+
uploadUrl: {
|
|
238
|
+
type: StringConstructor;
|
|
239
|
+
required: true;
|
|
240
|
+
};
|
|
241
|
+
}>, {}, {
|
|
242
|
+
_v: unknown;
|
|
243
|
+
}, {}, {
|
|
244
|
+
downloadFile(): void;
|
|
245
|
+
showFile(file: any): void;
|
|
246
|
+
onSuccess(response: any, file: any): void;
|
|
247
|
+
fireData(): void;
|
|
248
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
249
|
+
value: {
|
|
250
|
+
required: true;
|
|
251
|
+
};
|
|
252
|
+
uploadUrl: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
required: true;
|
|
255
|
+
};
|
|
256
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
257
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
258
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
259
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
260
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
261
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
262
|
};
|
|
8
263
|
export { getQueryParam } from './utils/utils';
|
package/dist/ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.aj-form-html-editor ul.toolbar{border:1px solid #C5C5C5;border-radius:4px 4px 0 0;border-bottom:0;background-color:#e8e7e4;width:100%;min-height:30px;margin:0;box-sizing:border-box;padding:3px 4px}.aj-form-html-editor ul.toolbar>li{list-style:none;float:left;cursor:pointer}.aj-form-html-editor ul.toolbar>li>i{border:1px solid transparent;min-width:25px;height:20px;line-height:20px;text-align:center;display:block}.aj-form-html-editor ul.toolbar>li>i.text-icon{font-family:Times New Roman;font-weight:700;font-style:normal}.aj-form-html-editor ul.toolbar>li>i.fontAwesome{padding-top:2px;font: 18px/1 FontAwesome}.aj-form-html-editor ul.toolbar>li>i:hover{border-right-color:#aaa;border-bottom-color:#aaa;border-top-color:#fff;border-left-color:#fff}.aj-form-html-editor ul.toolbar>li>i:active{border-right-color:#f3f8fc;border-bottom-color:#f3f8fc;border-top-color:#ccc;border-left-color:#ccc}.aj-form-html-editor ul.toolbar>li ul li{padding:3px;cursor:pointer}.aj-form-html-editor ul.toolbar>li ul li:hover{background-color:#d3d3d3}.aj-form-html-editor ul.toolbar>li .cleanHTML{background-size:16px 16px}.aj-form-html-editor ul.toolbar>li .noBg{background-image:none}.aj-form-html-editor .editorBody iframe,.aj-form-html-editor .editorBody textarea{border:1px solid #C5C5C5;border-radius:0 0 4px 4px;border-top-width:0;box-sizing:border-box;background-color:#fff;min-height:300px;width:100%}.aj-form-html-editor .editorBody iframe.hide{display:none}.aj-form-html-editor .editorBody textarea{resize:none;display:none}.aj-form-html-editor .editorBody textarea.show{display:block}.aj-form-html-editor .colorPicker{width:210px;border:1px solid #D3D3D3;position:absolute}.aj-form-html-editor .colorPicker table{border-collapse:collapse}.aj-form-html-editor .colorPicker .colorhead{height:23px;line-height:23px;font-weight:700;width:100%}.aj-form-html-editor .colorPicker .colortitle{margin-left:6px;font-size:12px}.aj-form-html-editor .colorPicker .colorpanel td{border:1px solid #000;height:10px;width:10px;overflow:hidden;font-size:1px;cursor:pointer}.aj-form-html-editor .fontfamilyChoser a,.aj-form-html-editor .fontsizeChoser a{display:block;padding:2px;color:#000;line-height:120%;text-decoration:none}.aj-form-html-editor .fontfamilyChoser a:hover,.aj-form-html-editor .fontsizeChoser a:hover{background:#e5e5e5}.aj-form-html-editor .dorpdown{position:relative}.aj-form-html-editor .dorpdown:hover .fontfamilyChoser,.aj-form-html-editor .dorpdown .fontfamilyChoser:hover,.aj-form-html-editor .dorpdown:hover .fontsizeChoser,.aj-form-html-editor .dorpdown .fontsizeChoser:hover,.aj-form-html-editor .dorpdown:hover .colorPicker,.aj-form-html-editor .dorpdown .colorPicker:hover{display:block}.aj-form-html-editor .dorpdown>div{display:none;position:absolute;top:22px;left:0;background-color:#f5f5f5;border:1px solid lightgray;border-top:0;padding:5px;width:230px}.aj-form-html-editor .dorpdown .fontsizeChoser{top:inherit;right:0}
|
|
1
|
+
.aj-form-html-editor ul.toolbar{border:1px solid #C5C5C5;border-radius:4px 4px 0 0;border-bottom:0;background-color:#e8e7e4;width:100%;min-height:30px;margin:0;box-sizing:border-box;padding:3px 4px}.aj-form-html-editor ul.toolbar>li{list-style:none;float:left;cursor:pointer}.aj-form-html-editor ul.toolbar>li>i{border:1px solid transparent;min-width:25px;height:20px;line-height:20px;text-align:center;display:block}.aj-form-html-editor ul.toolbar>li>i.text-icon{font-family:Times New Roman;font-weight:700;font-style:normal}.aj-form-html-editor ul.toolbar>li>i.fontAwesome{padding-top:2px;font: 18px/1 FontAwesome}.aj-form-html-editor ul.toolbar>li>i:hover{border-right-color:#aaa;border-bottom-color:#aaa;border-top-color:#fff;border-left-color:#fff}.aj-form-html-editor ul.toolbar>li>i:active{border-right-color:#f3f8fc;border-bottom-color:#f3f8fc;border-top-color:#ccc;border-left-color:#ccc}.aj-form-html-editor ul.toolbar>li ul li{padding:3px;cursor:pointer}.aj-form-html-editor ul.toolbar>li ul li:hover{background-color:#d3d3d3}.aj-form-html-editor ul.toolbar>li .cleanHTML{background-size:16px 16px}.aj-form-html-editor ul.toolbar>li .noBg{background-image:none}.aj-form-html-editor .editorBody iframe,.aj-form-html-editor .editorBody textarea{border:1px solid #C5C5C5;border-radius:0 0 4px 4px;border-top-width:0;box-sizing:border-box;background-color:#fff;min-height:300px;width:100%}.aj-form-html-editor .editorBody iframe.hide{display:none}.aj-form-html-editor .editorBody textarea{resize:none;display:none}.aj-form-html-editor .editorBody textarea.show{display:block}.aj-form-html-editor .colorPicker{width:210px;border:1px solid #D3D3D3;position:absolute}.aj-form-html-editor .colorPicker table{border-collapse:collapse}.aj-form-html-editor .colorPicker .colorhead{height:23px;line-height:23px;font-weight:700;width:100%}.aj-form-html-editor .colorPicker .colortitle{margin-left:6px;font-size:12px}.aj-form-html-editor .colorPicker .colorpanel td{border:1px solid #000;height:10px;width:10px;overflow:hidden;font-size:1px;cursor:pointer}.aj-form-html-editor .fontfamilyChoser a,.aj-form-html-editor .fontsizeChoser a{display:block;padding:2px;color:#000;line-height:120%;text-decoration:none}.aj-form-html-editor .fontfamilyChoser a:hover,.aj-form-html-editor .fontsizeChoser a:hover{background:#e5e5e5}.aj-form-html-editor .dorpdown{position:relative}.aj-form-html-editor .dorpdown:hover .fontfamilyChoser,.aj-form-html-editor .dorpdown .fontfamilyChoser:hover,.aj-form-html-editor .dorpdown:hover .fontsizeChoser,.aj-form-html-editor .dorpdown .fontsizeChoser:hover,.aj-form-html-editor .dorpdown:hover .colorPicker,.aj-form-html-editor .dorpdown .colorPicker:hover{display:block}.aj-form-html-editor .dorpdown>div{display:none;position:absolute;top:22px;left:0;background-color:#f5f5f5;border:1px solid lightgray;border-top:0;padding:5px;width:230px}.aj-form-html-editor .dorpdown .fontsizeChoser{top:inherit;right:0}.mask[data-v-2149b790]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;-webkit-backdrop-filter:blur(2px) opacity(.7);backdrop-filter:blur(2px) opacity(.7);background:#000000b3}.login[data-v-2149b790]{width:400px;margin:10% auto 0;background-color:#fff;padding:3%;border-radius:5px;box-shadow:2px 4px 5px #0006}.login h1[data-v-2149b790]{font-size:20px;letter-spacing:2px;margin-bottom:20px}.login .auto-login[data-v-2149b790]{margin-bottom:14px;text-align:left}.login .auto-login span[data-v-2149b790]{color:red}.login a[data-v-2149b790]{float:right}.html-content img{max-width:60%}.btns[data-v-6ef96497]{text-align:center;padding:20px 0}.btns Button[data-v-6ef96497]{width:130px;letter-spacing:3px;margin-right:30px}.toolbar[data-v-ed548002]{margin-bottom:20px;overflow:hidden;float:right}.toolbar .ivu-ml[data-v-ed548002]{float:right;padding-top:10px}.ivu-mt.ivu-text-right[data-v-ed548002]{text-align:right;margin-top:20px}.common-search-panel[data-v-ed548002]{width:380px;float:left}.common-search-panel .ivu-input-type-text[data-v-ed548002]{width:200px;margin:0 10px 16px 0}Button[data-v-80f72d55]{margin-right:10px}
|