@lcap/nasl 3.8.2-alpha.2 → 3.8.2-alpha.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/out/common/ComponentAPI.d.ts +9 -0
- package/out/concepts/AuthLogicForCallInterface__.js +21 -6
- package/out/concepts/AuthLogicForCallInterface__.js.map +1 -1
- package/out/concepts/BindAttribute__.js +11 -3
- package/out/concepts/BindAttribute__.js.map +1 -1
- package/out/concepts/BusinessComponent__.js +24 -8
- package/out/concepts/BusinessComponent__.js.map +1 -1
- package/out/concepts/BusinessLogic__.js +21 -6
- package/out/concepts/BusinessLogic__.js.map +1 -1
- package/out/concepts/CallInterface__.js +2 -1
- package/out/concepts/CallInterface__.js.map +1 -1
- package/out/concepts/CallLogic__.js +1 -1
- package/out/concepts/CallLogic__.js.map +1 -1
- package/out/concepts/Logic__.js +43 -16
- package/out/concepts/Logic__.js.map +1 -1
- package/out/concepts/MemberExpression__.js +19 -13
- package/out/concepts/MemberExpression__.js.map +1 -1
- package/out/concepts/OverriddenLogic__.js +21 -6
- package/out/concepts/OverriddenLogic__.js.map +1 -1
- package/out/concepts/Param__.js +5 -4
- package/out/concepts/Param__.js.map +1 -1
- package/out/concepts/Structure__.js +4 -4
- package/out/concepts/Structure__.js.map +1 -1
- package/out/concepts/ViewElement__.js +0 -5
- package/out/concepts/ViewElement__.js.map +1 -1
- package/out/concepts/View__.js +50 -19
- package/out/concepts/View__.js.map +1 -1
- package/out/concepts/basics/stdlib/nasl.processV2.js +78 -0
- package/out/concepts/basics/stdlib/nasl.processV2.js.map +1 -1
- package/out/generator/genBundleFiles.js +1 -1
- package/out/generator/genBundleFiles.js.map +1 -1
- package/out/natural/genNaturalTS.d.ts +10 -5
- package/out/natural/genNaturalTS.js +34 -25
- package/out/natural/genNaturalTS.js.map +1 -1
- package/out/natural/getContext/getUILib.js +2 -2
- package/out/natural/getContext/getUILib.js.map +1 -1
- package/out/natural/getContext/index.d.ts +5 -2
- package/out/natural/getContext/index.js +105 -12
- package/out/natural/getContext/index.js.map +1 -1
- package/out/natural/getContext/naslStdlibMap.js +8 -8
- package/out/natural/getContext/naslStdlibMap.js.map +1 -1
- package/out/natural/tools.d.ts +8 -0
- package/out/natural/tools.js +52 -1
- package/out/natural/tools.js.map +1 -1
- package/out/server/getMemberIdentifier.js +11 -17
- package/out/server/getMemberIdentifier.js.map +1 -1
- package/out/server/naslServer.js +1 -1
- package/out/server/naslServer.js.map +1 -1
- package/out/translator/types.d.ts +2 -0
- package/package.json +1 -1
- package/sandbox/stdlib/nasl.processV2.ts +19 -0
- package/sandbox-natural/stdlib/nasl.core.d.ts +54 -0
- package/sandbox-natural/stdlib/nasl.oql.d.ts +22 -0
- package/sandbox-natural/stdlib/{nasl.ui.pre.d.ts → nasl.ui.d.ts} +20 -44
- package/sandbox-natural/stdlib/nasl.ui.h5.d.ts +1684 -1643
- package/sandbox-natural/stdlib/nasl.ui.h5.json +15746 -15045
- package/sandbox-natural/stdlib/nasl.ui.pc.d.ts +5341 -5154
- package/sandbox-natural/stdlib/nasl.ui.pc.json +31176 -30681
- package/sandbox-natural/stdlib/{nasl.util.ts → nasl.util.d.ts} +43 -37
- package/src/common/ComponentAPI.ts +7 -0
- package/src/concepts/AuthLogicForCallInterface__.ts +23 -6
- package/src/concepts/BindAttribute__.ts +17 -12
- package/src/concepts/BusinessComponent__.ts +26 -8
- package/src/concepts/BusinessLogic__.ts +23 -6
- package/src/concepts/CallInterface__.ts +2 -2
- package/src/concepts/CallLogic__.ts +1 -1
- package/src/concepts/Logic__.ts +58 -32
- package/src/concepts/MemberExpression__.ts +20 -13
- package/src/concepts/OverriddenLogic__.ts +23 -6
- package/src/concepts/Param__.ts +5 -4
- package/src/concepts/Structure__.ts +4 -4
- package/src/concepts/ViewElement__.ts +1 -7
- package/src/concepts/View__.ts +55 -21
- package/src/concepts/basics/stdlib/nasl.processV2.ts +79 -0
- package/src/generator/genBundleFiles.ts +1 -1
- package/src/natural/genNaturalTS.ts +43 -27
- package/src/natural/getContext/getUILib.ts +2 -2
- package/src/natural/getContext/index.ts +85 -10
- package/src/natural/getContext/naslStdlibMap.ts +8 -8
- package/src/natural/tools.ts +50 -1
- package/src/server/getMemberIdentifier.ts +14 -14
- package/src/server/naslServer.ts +1 -1
- package/src/translator/types.ts +2 -0
- package/test/concepts/member-expression/__snapshots__/toJS.spec.ts.snap +1 -1
- package/test/concepts/member-expression/__snapshots__/toVue.spec.ts.snap +1 -1
- package/sandbox-natural/stdlib/nasl.core.ts +0 -47
- package/sandbox-natural/stdlib/nasl.oql.ts +0 -14
- package/sandbox-natural/stdlib/nasl.ui.ts +0 -63
|
@@ -3,1753 +3,1794 @@
|
|
|
3
3
|
/// <reference types="@nasl/types" />
|
|
4
4
|
/// <reference types="@nasl/types" />
|
|
5
5
|
declare namespace nasl.ui {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
6
|
+
class VanArea extends ViewComponent {
|
|
7
|
+
constructor(options?: Partial<VanAreaOptions>);
|
|
8
|
+
}
|
|
9
|
+
class VanAreaOptions extends ViewComponentOptions {
|
|
10
|
+
private labelField;
|
|
11
|
+
isNew: nasl.core.Boolean;
|
|
12
|
+
value: nasl.core.String;
|
|
13
|
+
areaListprop: {
|
|
14
|
+
province_list: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
17
|
+
city_list: {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
20
|
+
county_list: {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
title: nasl.core.String;
|
|
25
|
+
confirmButtonText: nasl.core.String;
|
|
26
|
+
cancelButtonText: nasl.core.String;
|
|
27
|
+
visibleItemCount: nasl.core.Integer;
|
|
28
|
+
columnsNum: nasl.core.Integer;
|
|
29
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
30
|
+
converter: 'name' | 'code';
|
|
31
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
32
|
+
readonly: nasl.core.Boolean;
|
|
33
|
+
disabled: nasl.core.Boolean;
|
|
34
|
+
placeholder: nasl.core.String;
|
|
35
|
+
preview: nasl.core.Boolean;
|
|
36
|
+
onConfirm: (values: nasl.collection.List<{
|
|
37
|
+
code: nasl.core.String;
|
|
38
|
+
name: nasl.core.String;
|
|
39
|
+
}>, index: nasl.collection.List<nasl.core.Integer>, value: nasl.core.String) => void;
|
|
40
|
+
onCancel: (event: nasl.ui.BaseEvent) => void;
|
|
41
|
+
onChange: (event: nasl.ui.BaseEvent) => void;
|
|
42
|
+
slotTitle: () => Array<ViewComponent>;
|
|
43
|
+
slotPannelTitle: () => Array<ViewComponent>;
|
|
44
|
+
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
45
|
+
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
46
|
+
}
|
|
46
47
|
}
|
|
47
48
|
declare namespace nasl.ui {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
class VanBadge extends ViewComponent {
|
|
50
|
+
constructor(options?: Partial<VanBadgeOptions>);
|
|
51
|
+
}
|
|
52
|
+
class VanBadgeOptions extends ViewComponentOptions {
|
|
53
|
+
content: nasl.core.Decimal;
|
|
54
|
+
max: nasl.core.Decimal;
|
|
55
|
+
dot: nasl.core.Boolean;
|
|
56
|
+
slotDefault: () => Array<ViewComponent>;
|
|
57
|
+
}
|
|
57
58
|
}
|
|
58
59
|
declare namespace nasl.ui {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
60
|
+
class VanButton extends ViewComponent {
|
|
61
|
+
constructor(options?: Partial<VanButtonOptions>);
|
|
62
|
+
}
|
|
63
|
+
class VanButtonOptions extends ViewComponentOptions {
|
|
64
|
+
private to;
|
|
65
|
+
replace: nasl.core.Boolean;
|
|
66
|
+
text: nasl.core.String;
|
|
67
|
+
type: 'info' | 'info_secondary' | 'default' | 'warning' | 'warning_secondary' | 'danger' | 'danger_secondary';
|
|
68
|
+
block: 'spanb' | 'blockb';
|
|
69
|
+
icon: nasl.core.String;
|
|
70
|
+
iconPosition: 'left' | 'right';
|
|
71
|
+
linkType: 'destination' | 'download';
|
|
72
|
+
hrefAndTo: nasl.core.String;
|
|
73
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
74
|
+
disabled: nasl.core.Boolean;
|
|
75
|
+
loading: nasl.core.Boolean;
|
|
76
|
+
loadingText: nasl.core.String;
|
|
77
|
+
size: 'large' | 'middle' | 'normal' | 'small' | 'mini';
|
|
78
|
+
squareroud: 'square' | 'round';
|
|
79
|
+
hairline: nasl.core.Boolean;
|
|
80
|
+
onClick: (event: nasl.ui.BaseEvent) => void;
|
|
81
|
+
}
|
|
81
82
|
}
|
|
82
83
|
declare namespace nasl.ui {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
84
|
+
class VanCalendar extends ViewComponent {
|
|
85
|
+
constructor(options?: Partial<VanCalendarOptions>);
|
|
86
|
+
reset(): any;
|
|
87
|
+
}
|
|
88
|
+
class VanCalendarOptions extends ViewComponentOptions {
|
|
89
|
+
private labelField;
|
|
90
|
+
private type;
|
|
91
|
+
isNew: nasl.core.Boolean;
|
|
92
|
+
value: nasl.core.String | nasl.core.Date;
|
|
93
|
+
minDate: nasl.core.String | nasl.core.Date;
|
|
94
|
+
maxDate: nasl.core.String | nasl.core.Date;
|
|
95
|
+
title: nasl.core.String;
|
|
96
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
97
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
98
|
+
readonly: nasl.core.Boolean;
|
|
99
|
+
disabled: nasl.core.Boolean;
|
|
100
|
+
placeholder: nasl.core.String;
|
|
101
|
+
preview: nasl.core.Boolean;
|
|
102
|
+
onConfirm: (event: nasl.core.Date) => void;
|
|
103
|
+
onSelect: (event: nasl.core.Date) => void;
|
|
104
|
+
onCancel: (event: nasl.ui.BaseEvent) => void;
|
|
105
|
+
slotTitle: () => Array<ViewComponent>;
|
|
106
|
+
slotPannelTitle: () => Array<ViewComponent>;
|
|
107
|
+
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
108
|
+
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
109
|
+
}
|
|
108
110
|
}
|
|
109
111
|
declare namespace nasl.ui {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
112
|
+
class VanCapsules extends ViewComponent {
|
|
113
|
+
constructor(options?: Partial<VanCapsulesOptions>);
|
|
114
|
+
}
|
|
115
|
+
class VanCapsulesOptions extends ViewComponentOptions {
|
|
116
|
+
value: any;
|
|
117
|
+
cancelable: nasl.core.Boolean;
|
|
118
|
+
multiple: nasl.core.Boolean;
|
|
119
|
+
readonly: nasl.core.Boolean;
|
|
120
|
+
disabled: nasl.core.Boolean;
|
|
121
|
+
onSelect: (event: {
|
|
122
|
+
value: any;
|
|
123
|
+
}) => void;
|
|
124
|
+
onChange: (event: {
|
|
125
|
+
value: any;
|
|
126
|
+
}) => void;
|
|
127
|
+
slotDefault: () => Array<VanCapsulesItem | VanCapsulesGroup>;
|
|
128
|
+
}
|
|
129
|
+
class VanCapsulesItem extends ViewComponent {
|
|
130
|
+
constructor(options?: Partial<VanCapsulesItemOptions>);
|
|
131
|
+
}
|
|
132
|
+
class VanCapsulesItemOptions extends ViewComponentOptions {
|
|
133
|
+
value: any;
|
|
134
|
+
label: nasl.core.String;
|
|
135
|
+
flag: nasl.core.Boolean;
|
|
136
|
+
disabled: nasl.core.Boolean;
|
|
137
|
+
slotDefault: () => Array<ViewComponent>;
|
|
138
|
+
}
|
|
139
|
+
class VanCapsulesGroup extends ViewComponent {
|
|
140
|
+
constructor(options?: Partial<VanCapsulesGroupOptions>);
|
|
141
|
+
}
|
|
142
|
+
class VanCapsulesGroupOptions extends ViewComponentOptions {
|
|
143
|
+
slotDefault: () => Array<VanCapsulesItem>;
|
|
144
|
+
}
|
|
143
145
|
}
|
|
144
146
|
declare namespace nasl.ui {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
147
|
+
class VanCardu extends ViewComponent {
|
|
148
|
+
constructor(options?: Partial<VanCarduOptions>);
|
|
149
|
+
}
|
|
150
|
+
class VanCarduOptions extends ViewComponentOptions {
|
|
151
|
+
linkType: 'destination' | 'download';
|
|
152
|
+
hrefAndTo: nasl.core.String;
|
|
153
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
154
|
+
private width;
|
|
155
|
+
sr: 's' | 'r';
|
|
156
|
+
shadow: nasl.core.Boolean;
|
|
157
|
+
border: nasl.core.Boolean;
|
|
158
|
+
split: nasl.core.Boolean;
|
|
159
|
+
onClick: (event: {
|
|
160
|
+
altKey: nasl.core.Boolean;
|
|
161
|
+
button: nasl.core.Integer;
|
|
162
|
+
clientX: nasl.core.Integer;
|
|
163
|
+
clientY: nasl.core.Integer;
|
|
164
|
+
ctrlKey: nasl.core.Boolean;
|
|
165
|
+
metaKey: nasl.core.Boolean;
|
|
166
|
+
movementX: nasl.core.Integer;
|
|
167
|
+
movementY: nasl.core.Integer;
|
|
168
|
+
offsetX: nasl.core.Integer;
|
|
169
|
+
offsetY: nasl.core.Integer;
|
|
170
|
+
pageX: nasl.core.Integer;
|
|
171
|
+
pageY: nasl.core.Integer;
|
|
172
|
+
screenX: nasl.core.Integer;
|
|
173
|
+
screenY: nasl.core.Integer;
|
|
174
|
+
which: nasl.core.Integer;
|
|
175
|
+
}) => void;
|
|
176
|
+
slotDefault: () => Array<ViewComponent>;
|
|
177
|
+
slotCover: () => Array<ViewComponent>;
|
|
178
|
+
slotHead: () => Array<ViewComponent>;
|
|
179
|
+
}
|
|
178
180
|
}
|
|
179
181
|
declare namespace nasl.ui {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
182
|
+
class VanCascader<T, V> extends ViewComponent {
|
|
183
|
+
constructor(options?: Partial<VanCascaderOptions<T, V>>);
|
|
184
|
+
value: VanCascaderOptions<T, V>['value'];
|
|
185
|
+
filterText: nasl.core.String;
|
|
186
|
+
}
|
|
187
|
+
class VanCascaderOptions<T, V> extends ViewComponentOptions {
|
|
188
|
+
private labelField;
|
|
189
|
+
treeDisplay: nasl.core.Boolean;
|
|
190
|
+
value: V;
|
|
191
|
+
dataSource: nasl.collection.List<T> | {
|
|
192
|
+
total: nasl.core.Integer;
|
|
193
|
+
list: nasl.collection.List<T>;
|
|
194
|
+
};
|
|
195
|
+
dataSchema: T;
|
|
196
|
+
textField: (item: T) => any;
|
|
197
|
+
valueField: (item: T) => V;
|
|
198
|
+
parentField: (item: T) => any;
|
|
199
|
+
childrenField: (item: T) => any;
|
|
200
|
+
placeholder: nasl.core.String;
|
|
201
|
+
title: nasl.core.String;
|
|
202
|
+
tabPlaceholder: nasl.core.String;
|
|
203
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
204
|
+
filterable: nasl.core.Boolean;
|
|
205
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
206
|
+
readonly: nasl.core.Boolean;
|
|
207
|
+
disabled: nasl.core.Boolean;
|
|
208
|
+
onFinish: (event: {
|
|
209
|
+
value: V;
|
|
210
|
+
}) => void;
|
|
211
|
+
onChange: (event: {
|
|
212
|
+
value: V;
|
|
213
|
+
}) => void;
|
|
214
|
+
slotOption: (current: Current<T>) => Array<ViewComponent>;
|
|
215
|
+
slotTitle: () => Array<ViewComponent>;
|
|
216
|
+
}
|
|
215
217
|
}
|
|
216
218
|
declare namespace nasl.ui {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
219
|
+
class VanCellGroup extends ViewComponent {
|
|
220
|
+
constructor(options?: Partial<VanCellGroupOptions>);
|
|
221
|
+
}
|
|
222
|
+
class VanCellGroupOptions extends ViewComponentOptions {
|
|
223
|
+
inset: nasl.core.Boolean;
|
|
224
|
+
slotDefault: () => Array<VanCell>;
|
|
225
|
+
}
|
|
226
|
+
class VanCell extends ViewComponent {
|
|
227
|
+
constructor(options?: Partial<VanCellOptions>);
|
|
228
|
+
}
|
|
229
|
+
class VanCellOptions extends ViewComponentOptions {
|
|
230
|
+
private title;
|
|
231
|
+
private rtitle;
|
|
232
|
+
private label;
|
|
233
|
+
value: nasl.core.String;
|
|
234
|
+
isLink: nasl.core.Boolean;
|
|
235
|
+
arrowDirection: 'left' | 'up' | 'down' | 'right';
|
|
236
|
+
center: nasl.core.Boolean;
|
|
237
|
+
icon: nasl.core.String;
|
|
238
|
+
linkType: 'destination' | 'download';
|
|
239
|
+
hrefAndTo: nasl.core.String;
|
|
240
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
241
|
+
onClick: (event: {
|
|
242
|
+
altKey: nasl.core.Boolean;
|
|
243
|
+
button: nasl.core.Integer;
|
|
244
|
+
clientX: nasl.core.Integer;
|
|
245
|
+
clientY: nasl.core.Integer;
|
|
246
|
+
ctrlKey: nasl.core.Boolean;
|
|
247
|
+
metaKey: nasl.core.Boolean;
|
|
248
|
+
movementX: nasl.core.Integer;
|
|
249
|
+
movementY: nasl.core.Integer;
|
|
250
|
+
offsetX: nasl.core.Integer;
|
|
251
|
+
offsetY: nasl.core.Integer;
|
|
252
|
+
pageX: nasl.core.Integer;
|
|
253
|
+
pageY: nasl.core.Integer;
|
|
254
|
+
screenX: nasl.core.Integer;
|
|
255
|
+
screenY: nasl.core.Integer;
|
|
256
|
+
which: nasl.core.Integer;
|
|
257
|
+
}) => void;
|
|
258
|
+
slotDefault: () => Array<ViewComponent>;
|
|
259
|
+
slotTitle: () => Array<ViewComponent>;
|
|
260
|
+
private slotRightIcon;
|
|
261
|
+
}
|
|
260
262
|
}
|
|
261
263
|
declare namespace nasl.ui {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
264
|
+
class VanCheckboxGroup<T, V, C> extends ViewComponent {
|
|
265
|
+
constructor(options?: Partial<VanCheckboxGroupOptions<T, V, C>>);
|
|
266
|
+
value: VanCheckboxGroupOptions<T, V, C>['value'];
|
|
267
|
+
data: VanCheckboxGroupOptions<T, V, C>['dataSource'];
|
|
268
|
+
}
|
|
269
|
+
class VanCheckboxGroupOptions<T, V, C> extends ViewComponentOptions {
|
|
270
|
+
dataSource: nasl.collection.List<T> | {
|
|
271
|
+
total: nasl.core.Integer;
|
|
272
|
+
list: nasl.collection.List<T>;
|
|
273
|
+
};
|
|
274
|
+
dataSchema: T;
|
|
275
|
+
value: C extends 'none' ? nasl.collection.List<V> : nasl.core.String;
|
|
276
|
+
max: nasl.core.Integer;
|
|
277
|
+
min: nasl.core.Integer;
|
|
278
|
+
valueField: (item: T) => V;
|
|
279
|
+
direction: 'horizontal' | 'vertical';
|
|
280
|
+
column: nasl.core.Integer;
|
|
281
|
+
converter: 'join' | 'join:|' | 'join:;' | 'json' | 'none';
|
|
282
|
+
disabled: nasl.core.Boolean;
|
|
283
|
+
preview: nasl.core.Boolean;
|
|
284
|
+
onChange: (event: {
|
|
285
|
+
value: nasl.collection.List<V>;
|
|
286
|
+
}) => void;
|
|
287
|
+
slotDefault: () => Array<VanCheckbox<V>>;
|
|
288
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
289
|
+
}
|
|
290
|
+
class VanCheckbox<V> extends ViewComponent {
|
|
291
|
+
constructor(options?: Partial<VanCheckboxOptions<V>>);
|
|
292
|
+
}
|
|
293
|
+
class VanCheckboxOptions<V> extends ViewComponentOptions {
|
|
294
|
+
private title;
|
|
295
|
+
label: V;
|
|
296
|
+
shape: 'square' | 'round';
|
|
297
|
+
labelPosition: 'right' | 'left';
|
|
298
|
+
value: nasl.core.Boolean;
|
|
299
|
+
disabled: nasl.core.Boolean;
|
|
300
|
+
readonly: nasl.core.Boolean;
|
|
301
|
+
onClick: (event: {
|
|
302
|
+
altKey: nasl.core.Boolean;
|
|
303
|
+
button: nasl.core.Integer;
|
|
304
|
+
clientX: nasl.core.Integer;
|
|
305
|
+
clientY: nasl.core.Integer;
|
|
306
|
+
ctrlKey: nasl.core.Boolean;
|
|
307
|
+
metaKey: nasl.core.Boolean;
|
|
308
|
+
movementX: nasl.core.Integer;
|
|
309
|
+
movementY: nasl.core.Integer;
|
|
310
|
+
offsetX: nasl.core.Integer;
|
|
311
|
+
offsetY: nasl.core.Integer;
|
|
312
|
+
pageX: nasl.core.Integer;
|
|
313
|
+
pageY: nasl.core.Integer;
|
|
314
|
+
screenX: nasl.core.Integer;
|
|
315
|
+
screenY: nasl.core.Integer;
|
|
316
|
+
which: nasl.core.Integer;
|
|
317
|
+
}) => void;
|
|
318
|
+
slotDefault: () => Array<ViewComponent>;
|
|
319
|
+
}
|
|
317
320
|
}
|
|
318
321
|
declare namespace nasl.ui {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
322
|
+
class VanCircle extends ViewComponent {
|
|
323
|
+
constructor(options?: Partial<VanCircleOptions>);
|
|
324
|
+
}
|
|
325
|
+
class VanCircleOptions extends ViewComponentOptions {
|
|
326
|
+
private text;
|
|
327
|
+
value: nasl.core.Decimal;
|
|
328
|
+
clockwise: nasl.core.Boolean;
|
|
329
|
+
size: nasl.core.Decimal;
|
|
330
|
+
color: nasl.core.String;
|
|
331
|
+
layerColor: nasl.core.String;
|
|
332
|
+
fill: nasl.core.String;
|
|
333
|
+
strokeWidth: nasl.core.Decimal;
|
|
334
|
+
slotDefault: () => Array<ViewComponent>;
|
|
335
|
+
}
|
|
333
336
|
}
|
|
334
337
|
declare namespace nasl.ui {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
338
|
+
class VanCollapse extends ViewComponent {
|
|
339
|
+
constructor(options?: Partial<VanCollapseOptions>);
|
|
340
|
+
}
|
|
341
|
+
class VanCollapseOptions extends ViewComponentOptions {
|
|
342
|
+
value: nasl.core.String;
|
|
343
|
+
accordion: nasl.core.Boolean;
|
|
344
|
+
onChange: (event: nasl.core.String) => void;
|
|
345
|
+
slotDefault: () => Array<VanCollapseItem>;
|
|
346
|
+
}
|
|
347
|
+
class VanCollapseItem extends ViewComponent {
|
|
348
|
+
toggle(expanded?: nasl.core.Boolean): any;
|
|
349
|
+
constructor(options?: Partial<VanCollapseItemOptions>);
|
|
350
|
+
}
|
|
351
|
+
class VanCollapseItemOptions extends ViewComponentOptions {
|
|
352
|
+
private title;
|
|
353
|
+
name: nasl.core.String | nasl.core.Integer;
|
|
354
|
+
isLink: nasl.core.Boolean;
|
|
355
|
+
disabled: nasl.core.Boolean;
|
|
356
|
+
onOpen: (event: nasl.ui.BaseEvent) => void;
|
|
357
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
358
|
+
slotTitle: () => Array<ViewComponent>;
|
|
359
|
+
slotDefault: () => Array<ViewComponent>;
|
|
360
|
+
}
|
|
358
361
|
}
|
|
359
362
|
declare namespace nasl.ui {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}
|
|
363
|
+
class VanDatetimePicker extends ViewComponent {
|
|
364
|
+
constructor(options?: Partial<VanDatetimePickerOptions>);
|
|
365
|
+
open(): any;
|
|
366
|
+
close(): any;
|
|
367
|
+
}
|
|
368
|
+
class VanDatetimePickerOptions extends ViewComponentOptions {
|
|
369
|
+
private labelField;
|
|
370
|
+
type: 'time' | 'date' | 'datetime';
|
|
371
|
+
unit: 'date' | 'week' | 'month' | 'quarter' | 'year' | 'minute' | 'second';
|
|
372
|
+
showFormatter: 'YYYY年M月D日' | 'YYYY-MM-DD' | 'M/D/YYYY' | 'D/M/YYYY' | 'GGGG-W周' | 'GGGG年第W周' | 'GGGG-WWWW' | 'YYYY年M月' | 'YYYY-MM' | 'M/YYYY' | 'YYYY年第Q季度' | 'YYYY年QQ' | 'YYYY-QQ' | 'YYYY年' | 'YYYY' | 'HH:mm:ss' | 'HH时mm分ss秒' | 'HH:mm' | 'HH时mm分' | 'YYYY-MM-DD HH:mm:ss' | 'YYYY年M月D日 HH时mm分ss秒' | 'YYYY-MM-DD HH:mm HH:mm' | 'YYYY年M月D日 HH时mm分';
|
|
373
|
+
advancedFormatEnable: nasl.core.Boolean;
|
|
374
|
+
advancedFormatValue: nasl.core.String;
|
|
375
|
+
range: nasl.core.Boolean;
|
|
376
|
+
startValue: nasl.core.String | nasl.core.DateTime | nasl.core.Date | nasl.core.Time;
|
|
377
|
+
endValue: nasl.core.String | nasl.core.DateTime | nasl.core.Date | nasl.core.Time;
|
|
378
|
+
isNew: nasl.core.Boolean;
|
|
379
|
+
value: nasl.core.String | nasl.core.DateTime | nasl.core.Date | nasl.core.Time;
|
|
380
|
+
minDate: nasl.core.String | nasl.core.DateTime | nasl.core.Date | nasl.core.Time;
|
|
381
|
+
maxDate: nasl.core.String | nasl.core.DateTime | nasl.core.Date | nasl.core.Time;
|
|
382
|
+
maxHour: nasl.core.Integer;
|
|
383
|
+
minHour: nasl.core.Integer;
|
|
384
|
+
maxMinute: nasl.core.Integer;
|
|
385
|
+
minMinute: nasl.core.Integer;
|
|
386
|
+
converter: 'format' | 'timestamp' | 'json' | 'date';
|
|
387
|
+
private displayFormat;
|
|
388
|
+
title: nasl.core.String;
|
|
389
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
390
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
391
|
+
readonly: nasl.core.Boolean;
|
|
392
|
+
disabled: nasl.core.Boolean;
|
|
393
|
+
placeholder: nasl.core.String;
|
|
394
|
+
preview: nasl.core.Boolean;
|
|
395
|
+
onConfirm: (event: nasl.core.String) => void;
|
|
396
|
+
onCancel: (event: nasl.ui.BaseEvent) => void;
|
|
397
|
+
slotTitle: () => Array<ViewComponent>;
|
|
398
|
+
slotTop: () => Array<ViewComponent>;
|
|
399
|
+
slotBottom: () => Array<ViewComponent>;
|
|
400
|
+
slotPannelTitle: () => Array<ViewComponent>;
|
|
401
|
+
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
402
|
+
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
403
|
+
}
|
|
404
|
+
class VanDatetimePickerActionSlot extends ViewComponent {
|
|
405
|
+
constructor(options?: Partial<VanDatetimePickerActionSlotOptions>);
|
|
406
|
+
}
|
|
407
|
+
class VanDatetimePickerActionSlotOptions extends ViewComponentOptions {
|
|
408
|
+
targetMethod: 'confirm' | 'cancel';
|
|
409
|
+
slotDefault: () => Array<ViewComponent>;
|
|
410
|
+
}
|
|
411
|
+
class VanPickerActionSlot extends ViewComponent {
|
|
412
|
+
constructor(options?: Partial<VanPickerActionSlotOptions>);
|
|
413
|
+
}
|
|
414
|
+
class VanPickerActionSlotOptions extends ViewComponentOptions {
|
|
415
|
+
targetMethod: 'confirm' | 'cancel' | 'none';
|
|
416
|
+
slotDefault: () => Array<ViewComponent>;
|
|
417
|
+
}
|
|
416
418
|
}
|
|
417
419
|
declare namespace nasl.ui {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
420
|
+
class VanDialog extends ViewComponent {
|
|
421
|
+
constructor(options?: Partial<VanDialogOptions>);
|
|
422
|
+
openModal(): any;
|
|
423
|
+
closeModal(): any;
|
|
424
|
+
}
|
|
425
|
+
class VanDialogOptions extends ViewComponentOptions {
|
|
426
|
+
private showConfirmButton;
|
|
427
|
+
private showCancelButton;
|
|
428
|
+
value: nasl.core.Boolean;
|
|
429
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
430
|
+
onOpen: (event: nasl.ui.BaseEvent) => void;
|
|
431
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
432
|
+
slotDefault: () => Array<ViewComponent>;
|
|
433
|
+
slotFooter: () => Array<ViewComponent>;
|
|
434
|
+
}
|
|
433
435
|
}
|
|
434
436
|
declare namespace nasl.ui {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
437
|
+
class VanDivider extends ViewComponent {
|
|
438
|
+
constructor(options?: Partial<VanDividerOptions>);
|
|
439
|
+
}
|
|
440
|
+
class VanDividerOptions extends ViewComponentOptions {
|
|
441
|
+
contentPosition: 'center' | 'left' | 'right';
|
|
442
|
+
private title;
|
|
443
|
+
dashed: 'b' | 'a';
|
|
444
|
+
slotDefault: () => Array<ViewComponent>;
|
|
445
|
+
}
|
|
444
446
|
}
|
|
445
447
|
declare namespace nasl.ui {
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
448
|
+
class VanDropdownMenu extends ViewComponent {
|
|
449
|
+
constructor(options?: Partial<VanDropdownMenuOptions>);
|
|
450
|
+
}
|
|
451
|
+
class VanDropdownMenuOptions extends ViewComponentOptions {
|
|
452
|
+
private value;
|
|
453
|
+
private route;
|
|
454
|
+
direction: 'up' | 'down';
|
|
455
|
+
overlay: nasl.core.Boolean;
|
|
456
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
457
|
+
slotDefault: () => Array<VanDropdownMenu>;
|
|
458
|
+
}
|
|
459
|
+
class VanDropdownItem extends ViewComponent {
|
|
460
|
+
constructor(options?: Partial<VanDropdownItemOptions>);
|
|
461
|
+
toggle(show?: nasl.core.Boolean): any;
|
|
462
|
+
}
|
|
463
|
+
class VanDropdownItemOptions extends ViewComponentOptions {
|
|
464
|
+
value: nasl.core.String;
|
|
465
|
+
title: nasl.core.String;
|
|
466
|
+
shutself: nasl.core.Boolean;
|
|
467
|
+
disabled: nasl.core.Boolean;
|
|
468
|
+
onChange: (event: nasl.core.String) => void;
|
|
469
|
+
onOpen: (event: nasl.ui.BaseEvent) => void;
|
|
470
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
471
|
+
slotDefault: () => Array<VanDropdownItemSon>;
|
|
472
|
+
}
|
|
473
|
+
class VanDropdownItemSon extends ViewComponent {
|
|
474
|
+
constructor(options?: Partial<VanDropdownItemSonOptions>);
|
|
475
|
+
}
|
|
476
|
+
class VanDropdownItemSonOptions extends ViewComponentOptions {
|
|
477
|
+
private rtitle;
|
|
478
|
+
private label;
|
|
479
|
+
value: nasl.core.String;
|
|
480
|
+
isLink: nasl.core.Boolean;
|
|
481
|
+
arrowDirection: 'left' | 'up' | 'down' | 'right';
|
|
482
|
+
center: nasl.core.Boolean;
|
|
483
|
+
title: nasl.core.String;
|
|
484
|
+
icon: nasl.core.String;
|
|
485
|
+
linkType: 'destination' | 'download';
|
|
486
|
+
hrefAndTo: nasl.core.String;
|
|
487
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
488
|
+
onClick: (event: {
|
|
489
|
+
altKey: nasl.core.Boolean;
|
|
490
|
+
button: nasl.core.Integer;
|
|
491
|
+
clientX: nasl.core.Integer;
|
|
492
|
+
clientY: nasl.core.Integer;
|
|
493
|
+
ctrlKey: nasl.core.Boolean;
|
|
494
|
+
metaKey: nasl.core.Boolean;
|
|
495
|
+
movementX: nasl.core.Integer;
|
|
496
|
+
movementY: nasl.core.Integer;
|
|
497
|
+
offsetX: nasl.core.Integer;
|
|
498
|
+
offsetY: nasl.core.Integer;
|
|
499
|
+
pageX: nasl.core.Integer;
|
|
500
|
+
pageY: nasl.core.Integer;
|
|
501
|
+
screenX: nasl.core.Integer;
|
|
502
|
+
screenY: nasl.core.Integer;
|
|
503
|
+
which: nasl.core.Integer;
|
|
504
|
+
}) => void;
|
|
505
|
+
slotDefault: () => Array<ViewComponent>;
|
|
506
|
+
private slotRightIcon;
|
|
507
|
+
}
|
|
506
508
|
}
|
|
507
509
|
declare namespace nasl.ui {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
510
|
+
class VanFieldinput extends ViewComponent {
|
|
511
|
+
constructor(options?: Partial<VanFieldinputOptions>);
|
|
512
|
+
focus(): any;
|
|
513
|
+
blur(): any;
|
|
514
|
+
clear(): any;
|
|
515
|
+
}
|
|
516
|
+
class VanFieldinputOptions extends ViewComponentOptions {
|
|
517
|
+
private prefix;
|
|
518
|
+
private suffix;
|
|
519
|
+
value: nasl.core.String;
|
|
520
|
+
type: 'text' | 'password' | 'integer' | 'rndinteger' | 'point' | 'card';
|
|
521
|
+
placeholder: nasl.core.String;
|
|
522
|
+
maxlength: nasl.core.Integer;
|
|
523
|
+
keyboardTitle: nasl.core.String;
|
|
524
|
+
confirmText: nasl.core.String;
|
|
525
|
+
confirmSize: 'default' | 'large';
|
|
526
|
+
clearable: nasl.core.Boolean;
|
|
527
|
+
readonly: nasl.core.Boolean;
|
|
528
|
+
disabled: nasl.core.Boolean;
|
|
529
|
+
inputstyle: 'input' | 'password';
|
|
530
|
+
keytheme: 'native' | 'custom';
|
|
531
|
+
keyboardTheme: 'default' | 'custom';
|
|
532
|
+
preview: nasl.core.Boolean;
|
|
533
|
+
onInput: (event: nasl.ui.BaseEvent) => void;
|
|
534
|
+
onChange: (event: nasl.core.String) => void;
|
|
535
|
+
onFocus: (event: nasl.ui.BaseEvent) => void;
|
|
536
|
+
onBlur: (event: nasl.ui.BaseEvent) => void;
|
|
537
|
+
onClear: (event: nasl.ui.BaseEvent) => void;
|
|
538
|
+
onEnoughkey: (event: nasl.core.String) => void;
|
|
539
|
+
onClickConfirm: (event: nasl.core.String) => void;
|
|
540
|
+
}
|
|
538
541
|
}
|
|
539
542
|
declare namespace nasl.ui {
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
543
|
+
class VanFieldtextarea extends ViewComponent {
|
|
544
|
+
constructor(options?: Partial<VanFieldtextareaOptions>);
|
|
545
|
+
focus(): any;
|
|
546
|
+
blur(): any;
|
|
547
|
+
clear(): any;
|
|
548
|
+
}
|
|
549
|
+
class VanFieldtextareaOptions extends ViewComponentOptions {
|
|
550
|
+
private prefix;
|
|
551
|
+
private suffix;
|
|
552
|
+
value: nasl.core.String;
|
|
553
|
+
placeholder: nasl.core.String;
|
|
554
|
+
maxlength: nasl.core.Integer;
|
|
555
|
+
showWordLimit: nasl.core.Boolean;
|
|
556
|
+
autosize: nasl.core.Boolean | {
|
|
557
|
+
maxHeight: nasl.core.Integer;
|
|
558
|
+
minHeight: nasl.core.Integer;
|
|
559
|
+
};
|
|
560
|
+
clearable: nasl.core.Boolean;
|
|
561
|
+
readonly: nasl.core.Boolean;
|
|
562
|
+
disabled: nasl.core.Boolean;
|
|
563
|
+
preview: nasl.core.Boolean;
|
|
564
|
+
onInput: (event: nasl.ui.BaseEvent) => void;
|
|
565
|
+
onChange: (event: nasl.core.String) => void;
|
|
566
|
+
onFocus: (event: nasl.ui.BaseEvent) => void;
|
|
567
|
+
onBlur: (event: nasl.ui.BaseEvent) => void;
|
|
568
|
+
onClear: (event: nasl.ui.BaseEvent) => void;
|
|
569
|
+
}
|
|
566
570
|
}
|
|
567
571
|
declare namespace nasl.ui {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
572
|
+
class VanForComponents<T> extends ViewComponent {
|
|
573
|
+
constructor(options?: Partial<VanForComponentsOptions<T>>);
|
|
574
|
+
data: VanForComponentsOptions<T>['dataSource'];
|
|
575
|
+
}
|
|
576
|
+
class VanForComponentsOptions<T> extends ViewComponentOptions {
|
|
577
|
+
dataSource: nasl.collection.List<T> | {
|
|
578
|
+
total: nasl.core.Integer;
|
|
579
|
+
list: nasl.collection.List<T>;
|
|
580
|
+
};
|
|
581
|
+
dataSchema: T;
|
|
582
|
+
colnum: nasl.core.Decimal;
|
|
583
|
+
wrap: nasl.core.Boolean;
|
|
584
|
+
equalWidth: nasl.core.Boolean;
|
|
585
|
+
slotDefault: (current?: Current<T>) => Array<ViewComponent>;
|
|
586
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
587
|
+
}
|
|
584
588
|
}
|
|
585
589
|
declare namespace nasl.ui {
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
590
|
+
class VanForm extends ViewComponent {
|
|
591
|
+
constructor(options?: Partial<VanFormOptions>);
|
|
592
|
+
validate(name?: nasl.core.String | nasl.collection.List<nasl.core.String>): nasl.ui.ValidateResult;
|
|
593
|
+
}
|
|
594
|
+
class VanFormOptions extends ViewComponentOptions {
|
|
595
|
+
private labelAlign;
|
|
596
|
+
private inputAlign;
|
|
597
|
+
onSubmit: (event: {}) => void;
|
|
598
|
+
onFailed: (event: {
|
|
599
|
+
values: {};
|
|
600
|
+
}) => void;
|
|
601
|
+
slotDefault: () => Array<VanField>;
|
|
602
|
+
}
|
|
603
|
+
class VanField extends ViewComponent {
|
|
604
|
+
constructor(options?: Partial<VanFieldOptions>);
|
|
605
|
+
}
|
|
606
|
+
class VanFieldOptions extends ViewComponentOptions {
|
|
607
|
+
private value;
|
|
608
|
+
private name;
|
|
609
|
+
private type;
|
|
610
|
+
private label;
|
|
611
|
+
private size;
|
|
612
|
+
private placeholder;
|
|
613
|
+
labelLayout: 'inline' | 'block';
|
|
614
|
+
required: nasl.core.Boolean;
|
|
615
|
+
rules: nasl.collection.List<nasl.core.String>;
|
|
616
|
+
border: nasl.core.Boolean;
|
|
617
|
+
slotInput: () => Array<ViewComponent>;
|
|
618
|
+
slotTitle: () => Array<ViewComponent>;
|
|
619
|
+
}
|
|
616
620
|
}
|
|
617
621
|
declare namespace nasl.ui {
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
622
|
+
class VanGallery<T> extends ViewComponent {
|
|
623
|
+
constructor(options?: Partial<VanGalleryOptions<T>>);
|
|
624
|
+
}
|
|
625
|
+
class VanGalleryOptions<T> extends ViewComponentOptions {
|
|
626
|
+
dataSource: nasl.collection.List<T> | {
|
|
627
|
+
total: nasl.core.Integer;
|
|
628
|
+
list: nasl.collection.List<T>;
|
|
629
|
+
};
|
|
630
|
+
}
|
|
627
631
|
}
|
|
628
632
|
declare namespace nasl.ui {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
633
|
+
class VanIconv extends ViewComponent {
|
|
634
|
+
constructor(options?: Partial<VanIconvOptions>);
|
|
635
|
+
}
|
|
636
|
+
class VanIconvOptions extends ViewComponentOptions {
|
|
637
|
+
name: nasl.core.String;
|
|
638
|
+
icotype: 'only' | 'top' | 'left';
|
|
639
|
+
linkType: 'destination' | 'download';
|
|
640
|
+
hrefAndTo: nasl.core.String;
|
|
641
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
642
|
+
onClick: (event: nasl.ui.BaseEvent) => void;
|
|
643
|
+
slotDefault: () => Array<ViewComponent>;
|
|
644
|
+
}
|
|
641
645
|
}
|
|
642
646
|
declare namespace nasl.ui {
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
647
|
+
class VanImage extends ViewComponent {
|
|
648
|
+
constructor(options?: Partial<VanImageOptions>);
|
|
649
|
+
}
|
|
650
|
+
class VanImageOptions extends ViewComponentOptions {
|
|
651
|
+
loadingType: 'loading' | 'none' | 'placeholder';
|
|
652
|
+
placeholderSrc: nasl.core.String;
|
|
653
|
+
src: nasl.core.String;
|
|
654
|
+
fit: 'contain' | 'scale-down' | 'none' | 'fill' | 'cover';
|
|
655
|
+
sr: 's' | 'r';
|
|
656
|
+
preview: nasl.core.Boolean;
|
|
657
|
+
onClick: (event: {
|
|
658
|
+
altKey: nasl.core.Boolean;
|
|
659
|
+
button: nasl.core.Integer;
|
|
660
|
+
clientX: nasl.core.Integer;
|
|
661
|
+
clientY: nasl.core.Integer;
|
|
662
|
+
ctrlKey: nasl.core.Boolean;
|
|
663
|
+
metaKey: nasl.core.Boolean;
|
|
664
|
+
movementX: nasl.core.Integer;
|
|
665
|
+
movementY: nasl.core.Integer;
|
|
666
|
+
offsetX: nasl.core.Integer;
|
|
667
|
+
offsetY: nasl.core.Integer;
|
|
668
|
+
pageX: nasl.core.Integer;
|
|
669
|
+
pageY: nasl.core.Integer;
|
|
670
|
+
screenX: nasl.core.Integer;
|
|
671
|
+
screenY: nasl.core.Integer;
|
|
672
|
+
which: nasl.core.Integer;
|
|
673
|
+
}) => void;
|
|
674
|
+
}
|
|
671
675
|
}
|
|
672
676
|
declare namespace nasl.ui {
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
677
|
+
class VanLinearLayout extends ViewComponent {
|
|
678
|
+
constructor(options?: Partial<VanLinearLayoutOptions>);
|
|
679
|
+
openLoading(): any;
|
|
680
|
+
closeLoading(): any;
|
|
681
|
+
}
|
|
682
|
+
class VanLinearLayoutOptions extends ViewComponentOptions {
|
|
683
|
+
private display;
|
|
684
|
+
gap: 'shrink' | 'none' | 'mini' | 'small' | 'large' | 'normal';
|
|
685
|
+
layout: 'none' | 'inline' | 'block';
|
|
686
|
+
loadingIcon: nasl.core.String;
|
|
687
|
+
loadingIconRotate: nasl.core.Boolean;
|
|
688
|
+
loadingText: nasl.core.String;
|
|
689
|
+
mode: 'inline' | 'block' | 'flex';
|
|
690
|
+
direction: 'horizontal' | 'vertical';
|
|
691
|
+
justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
692
|
+
alignment: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
693
|
+
_alignment: 'start' | 'center' | 'end' | 'stretch';
|
|
694
|
+
_justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
695
|
+
wrap: nasl.core.Boolean;
|
|
696
|
+
onClick: (event: nasl.ui.BaseEvent) => void;
|
|
697
|
+
slotDefault: () => Array<ViewComponent>;
|
|
698
|
+
}
|
|
695
699
|
}
|
|
696
700
|
declare namespace nasl.ui {
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
mode: 'closeable' | 'link' | 'normal';
|
|
703
|
-
scrollable: nasl.core.Boolean;
|
|
704
|
-
wrapable: nasl.core.Boolean;
|
|
705
|
-
linkType: 'destination' | 'download';
|
|
706
|
-
hrefAndTo: nasl.core.String;
|
|
707
|
-
target: '_blank' | '_self' | '_parent' | '_top';
|
|
708
|
-
onClick: (event: {
|
|
709
|
-
altKey: nasl.core.Boolean;
|
|
710
|
-
button: nasl.core.Integer;
|
|
711
|
-
clientX: nasl.core.Integer;
|
|
712
|
-
clientY: nasl.core.Integer;
|
|
713
|
-
ctrlKey: nasl.core.Boolean;
|
|
714
|
-
metaKey: nasl.core.Boolean;
|
|
715
|
-
movementX: nasl.core.Integer;
|
|
716
|
-
movementY: nasl.core.Integer;
|
|
717
|
-
offsetX: nasl.core.Integer;
|
|
718
|
-
offsetY: nasl.core.Integer;
|
|
719
|
-
pageX: nasl.core.Integer;
|
|
720
|
-
pageY: nasl.core.Integer;
|
|
721
|
-
screenX: nasl.core.Integer;
|
|
722
|
-
screenY: nasl.core.Integer;
|
|
723
|
-
which: nasl.core.Integer;
|
|
724
|
-
}) => any;
|
|
725
|
-
onClose: (event: any) => any;
|
|
726
|
-
onRout: (event: any) => any;
|
|
727
|
-
slotDefault: () => Array<ViewComponent>;
|
|
728
|
-
}
|
|
701
|
+
class VanMyProcess extends ViewComponent {
|
|
702
|
+
constructor(options?: Partial<VanMyProcessOptions>);
|
|
703
|
+
}
|
|
704
|
+
class VanMyProcessOptions extends ViewComponentOptions {
|
|
705
|
+
}
|
|
729
706
|
}
|
|
730
707
|
declare namespace nasl.ui {
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
cancelButtonText: nasl.core.String;
|
|
764
|
-
visibleItemCount: nasl.core.Integer;
|
|
765
|
-
inputAlign: 'left' | 'center' | 'right';
|
|
766
|
-
showToolbar: nasl.core.Boolean;
|
|
767
|
-
filterable: nasl.core.Boolean;
|
|
768
|
-
multiple: nasl.core.Boolean;
|
|
769
|
-
enableSelectAll: nasl.core.Boolean;
|
|
770
|
-
enableSelectedCount: nasl.core.Boolean;
|
|
771
|
-
closeOnClickOverlay: nasl.core.Boolean;
|
|
772
|
-
initialLoad: nasl.core.Boolean;
|
|
773
|
-
readonly: nasl.core.Boolean;
|
|
774
|
-
disabled: nasl.core.Boolean;
|
|
775
|
-
onConfirm: (event: M extends true ? nasl.collection.List<V> : V) => any;
|
|
776
|
-
onCancel: (event: any) => any;
|
|
777
|
-
onChange: (event: any) => any;
|
|
778
|
-
slotOption: (current: Current<T>) => Array<ViewComponent>;
|
|
779
|
-
slotTitle: () => Array<ViewComponent>;
|
|
780
|
-
slotPannelTitle: () => Array<ViewComponent>;
|
|
781
|
-
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
782
|
-
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
783
|
-
}
|
|
708
|
+
class VanNoticeBar extends ViewComponent {
|
|
709
|
+
constructor(options?: Partial<VanNoticeBarOptions>);
|
|
710
|
+
}
|
|
711
|
+
class VanNoticeBarOptions extends ViewComponentOptions {
|
|
712
|
+
private text;
|
|
713
|
+
mode: 'closeable' | 'link' | 'normal';
|
|
714
|
+
scrollable: nasl.core.Boolean;
|
|
715
|
+
wrapable: nasl.core.Boolean;
|
|
716
|
+
linkType: 'destination' | 'download';
|
|
717
|
+
hrefAndTo: nasl.core.String;
|
|
718
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
719
|
+
onClick: (event: {
|
|
720
|
+
altKey: nasl.core.Boolean;
|
|
721
|
+
button: nasl.core.Integer;
|
|
722
|
+
clientX: nasl.core.Integer;
|
|
723
|
+
clientY: nasl.core.Integer;
|
|
724
|
+
ctrlKey: nasl.core.Boolean;
|
|
725
|
+
metaKey: nasl.core.Boolean;
|
|
726
|
+
movementX: nasl.core.Integer;
|
|
727
|
+
movementY: nasl.core.Integer;
|
|
728
|
+
offsetX: nasl.core.Integer;
|
|
729
|
+
offsetY: nasl.core.Integer;
|
|
730
|
+
pageX: nasl.core.Integer;
|
|
731
|
+
pageY: nasl.core.Integer;
|
|
732
|
+
screenX: nasl.core.Integer;
|
|
733
|
+
screenY: nasl.core.Integer;
|
|
734
|
+
which: nasl.core.Integer;
|
|
735
|
+
}) => void;
|
|
736
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
737
|
+
onRout: (event: nasl.ui.BaseEvent) => void;
|
|
738
|
+
slotDefault: () => Array<ViewComponent>;
|
|
739
|
+
}
|
|
784
740
|
}
|
|
785
741
|
declare namespace nasl.ui {
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
742
|
+
class VanPickerson<T, V, M extends nasl.core.Boolean, P extends nasl.core.Boolean> extends ViewComponent {
|
|
743
|
+
constructor(options?: Partial<VanPickersonOptions<T, V, M, P>>);
|
|
744
|
+
value: VanPickersonOptions<T, V, M, P>['value'];
|
|
745
|
+
data: VanPickersonOptions<T, V, M, P>['dataSource'];
|
|
746
|
+
page: nasl.core.Integer;
|
|
747
|
+
size: nasl.core.Integer;
|
|
748
|
+
filterText: nasl.core.String;
|
|
749
|
+
reload(): any;
|
|
750
|
+
}
|
|
751
|
+
class VanPickersonOptions<T, V, M extends nasl.core.Boolean, P extends nasl.core.Boolean> extends ViewComponentOptions {
|
|
752
|
+
private labelField;
|
|
753
|
+
private defaultIndex;
|
|
754
|
+
isNew: nasl.core.Boolean;
|
|
755
|
+
value: M extends true ? nasl.collection.List<V> : V;
|
|
756
|
+
dataSource: nasl.collection.List<T> | {
|
|
757
|
+
total: nasl.core.Integer;
|
|
758
|
+
list: nasl.collection.List<T>;
|
|
759
|
+
};
|
|
760
|
+
dataSchema: T;
|
|
761
|
+
valueField: (item: T) => V;
|
|
762
|
+
textField: (item: T) => any;
|
|
763
|
+
pageSize: nasl.core.Decimal;
|
|
764
|
+
sorting: {
|
|
765
|
+
field: nasl.core.String;
|
|
766
|
+
order: nasl.core.String;
|
|
767
|
+
};
|
|
768
|
+
matchMethod: 'includes' | 'startsWith' | 'endsWith';
|
|
769
|
+
pageable: nasl.core.Boolean;
|
|
770
|
+
type: 'picker' | 'list';
|
|
771
|
+
placeholder: nasl.core.String;
|
|
772
|
+
title: nasl.core.String;
|
|
773
|
+
confirmButtonText: nasl.core.String;
|
|
774
|
+
cancelButtonText: nasl.core.String;
|
|
775
|
+
visibleItemCount: nasl.core.Integer;
|
|
776
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
777
|
+
showToolbar: nasl.core.Boolean;
|
|
778
|
+
filterable: nasl.core.Boolean;
|
|
779
|
+
multiple: nasl.core.Boolean;
|
|
780
|
+
enableSelectAll: nasl.core.Boolean;
|
|
781
|
+
enableSelectedCount: nasl.core.Boolean;
|
|
782
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
783
|
+
initialLoad: nasl.core.Boolean;
|
|
784
|
+
readonly: nasl.core.Boolean;
|
|
785
|
+
disabled: nasl.core.Boolean;
|
|
786
|
+
preview: nasl.core.Boolean;
|
|
787
|
+
onConfirm: (event: M extends true ? nasl.collection.List<V> : V) => void;
|
|
788
|
+
onCancel: (event: nasl.ui.BaseEvent) => void;
|
|
789
|
+
onChange: (event: nasl.ui.BaseEvent) => void;
|
|
790
|
+
slotOption: (current: Current<T>) => Array<ViewComponent>;
|
|
791
|
+
slotTitle: () => Array<ViewComponent>;
|
|
792
|
+
slotPannelTitle: () => Array<ViewComponent>;
|
|
793
|
+
slotPickerTop: () => Array<VanPickerActionSlot>;
|
|
794
|
+
slotPickerBottom: () => Array<VanPickerActionSlot>;
|
|
795
|
+
}
|
|
810
796
|
}
|
|
811
797
|
declare namespace nasl.ui {
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
798
|
+
class VanPopover extends ViewComponent {
|
|
799
|
+
openModal(): any;
|
|
800
|
+
closeModal(): any;
|
|
801
|
+
constructor(options?: Partial<VanPopoverOptions>);
|
|
802
|
+
}
|
|
803
|
+
class VanPopoverOptions extends ViewComponentOptions {
|
|
804
|
+
value: nasl.core.Boolean;
|
|
805
|
+
overlay: nasl.core.Boolean;
|
|
806
|
+
closeOnClickAction: nasl.core.Boolean;
|
|
807
|
+
theme: 'dark' | 'light';
|
|
808
|
+
placement: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
809
|
+
onSelect: (event: nasl.ui.BaseEvent) => void;
|
|
810
|
+
onOpen: (event: nasl.ui.BaseEvent) => void;
|
|
811
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
812
|
+
slotDefault: () => Array<VanPopoverItem>;
|
|
813
|
+
}
|
|
814
|
+
class VanPopoverItem extends ViewComponent {
|
|
815
|
+
constructor(options?: Partial<VanPopoverItemOptions>);
|
|
816
|
+
}
|
|
817
|
+
class VanPopoverItemOptions extends ViewComponentOptions {
|
|
818
|
+
text: nasl.core.String;
|
|
819
|
+
disabled: nasl.core.Boolean;
|
|
820
|
+
onClick: (event: nasl.ui.BaseEvent) => any;
|
|
821
|
+
}
|
|
827
822
|
}
|
|
828
823
|
declare namespace nasl.ui {
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
}
|
|
824
|
+
class VanPopup extends ViewComponent {
|
|
825
|
+
constructor(options?: Partial<VanPopupOptions>);
|
|
826
|
+
openModal(): any;
|
|
827
|
+
closeModal(): any;
|
|
828
|
+
}
|
|
829
|
+
class VanPopupOptions extends ViewComponentOptions {
|
|
830
|
+
value: nasl.core.Boolean;
|
|
831
|
+
position: 'top' | 'bottom' | 'right' | 'left';
|
|
832
|
+
closeOnClickOverlay: nasl.core.Boolean;
|
|
833
|
+
onClick: (event: nasl.ui.BaseEvent) => void;
|
|
834
|
+
onClickOverlay: (event: nasl.ui.BaseEvent) => void;
|
|
835
|
+
onOpen: (event: nasl.ui.BaseEvent) => void;
|
|
836
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
837
|
+
slotDefault: () => Array<ViewComponent>;
|
|
838
|
+
}
|
|
845
839
|
}
|
|
846
840
|
declare namespace nasl.ui {
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
};
|
|
857
|
-
dataSchema: T;
|
|
858
|
-
value: V;
|
|
859
|
-
icon: nasl.core.String;
|
|
860
|
-
direction: 'horizontal' | 'vertical';
|
|
861
|
-
column: nasl.core.Integer;
|
|
862
|
-
disabled: nasl.core.Boolean;
|
|
863
|
-
readonly: nasl.core.Boolean;
|
|
864
|
-
onChange: (event: V) => any;
|
|
865
|
-
slotDefault: () => Array<VanRadio<V>>;
|
|
866
|
-
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
867
|
-
}
|
|
868
|
-
class VanRadio<V> extends ViewComponent {
|
|
869
|
-
constructor(options?: Partial<VanRadioOptions<V>>);
|
|
870
|
-
}
|
|
871
|
-
class VanRadioOptions<V> extends ViewComponentOptions {
|
|
872
|
-
private title;
|
|
873
|
-
name: nasl.core.String;
|
|
874
|
-
icon: nasl.core.String;
|
|
875
|
-
labelPosition: 'right' | 'left';
|
|
876
|
-
disabled: nasl.core.Boolean;
|
|
877
|
-
onClick: (event: {
|
|
878
|
-
altKey: nasl.core.Boolean;
|
|
879
|
-
button: nasl.core.Integer;
|
|
880
|
-
clientX: nasl.core.Integer;
|
|
881
|
-
clientY: nasl.core.Integer;
|
|
882
|
-
ctrlKey: nasl.core.Boolean;
|
|
883
|
-
metaKey: nasl.core.Boolean;
|
|
884
|
-
movementX: nasl.core.Integer;
|
|
885
|
-
movementY: nasl.core.Integer;
|
|
886
|
-
offsetX: nasl.core.Integer;
|
|
887
|
-
offsetY: nasl.core.Integer;
|
|
888
|
-
pageX: nasl.core.Integer;
|
|
889
|
-
pageY: nasl.core.Integer;
|
|
890
|
-
screenX: nasl.core.Integer;
|
|
891
|
-
screenY: nasl.core.Integer;
|
|
892
|
-
which: nasl.core.Integer;
|
|
893
|
-
}) => any;
|
|
894
|
-
slotDefault: () => Array<ViewComponent>;
|
|
895
|
-
}
|
|
841
|
+
class VanProcessButton extends ViewComponent {
|
|
842
|
+
constructor(options?: Partial<VanProcessButtonOptions>);
|
|
843
|
+
}
|
|
844
|
+
class VanProcessButtonOptions extends ViewComponentOptions {
|
|
845
|
+
linkType: 'destination';
|
|
846
|
+
hrefAndTo: nasl.core.String;
|
|
847
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
848
|
+
placement: 'top-start' | 'bottom-start';
|
|
849
|
+
}
|
|
896
850
|
}
|
|
897
851
|
declare namespace nasl.ui {
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
count: nasl.core.Integer;
|
|
904
|
-
icon: nasl.core.String;
|
|
905
|
-
voidIcon: nasl.core.String;
|
|
906
|
-
allowHalf: nasl.core.Boolean;
|
|
907
|
-
readonly: nasl.core.Boolean;
|
|
908
|
-
disabled: nasl.core.Boolean;
|
|
909
|
-
size: nasl.core.Decimal;
|
|
910
|
-
gutter: nasl.core.Decimal;
|
|
911
|
-
color: nasl.core.String;
|
|
912
|
-
voidColor: nasl.core.String;
|
|
913
|
-
disabledColor: nasl.core.String;
|
|
914
|
-
onChange: (event: nasl.core.Decimal) => any;
|
|
915
|
-
}
|
|
852
|
+
class VanProcessInfo extends ViewComponent {
|
|
853
|
+
constructor(options?: Partial<VanProcessInfoOptions>);
|
|
854
|
+
}
|
|
855
|
+
class VanProcessInfoOptions extends ViewComponentOptions {
|
|
856
|
+
}
|
|
916
857
|
}
|
|
917
858
|
declare namespace nasl.ui {
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
859
|
+
class VanProcessRecord extends ViewComponent {
|
|
860
|
+
constructor(options?: Partial<VanProcessRecordOptions>);
|
|
861
|
+
}
|
|
862
|
+
class VanProcessRecordOptions extends ViewComponentOptions {
|
|
863
|
+
type: 'list' | 'timeline';
|
|
864
|
+
}
|
|
923
865
|
}
|
|
924
866
|
declare namespace nasl.ui {
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
alignment: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
942
|
-
_alignment: 'start' | 'center' | 'end' | 'stretch';
|
|
943
|
-
justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
944
|
-
wrap: nasl.core.Boolean;
|
|
945
|
-
gap: 'shrink' | 'none' | 'small' | 'normal' | 'large';
|
|
946
|
-
span: nasl.core.Integer;
|
|
947
|
-
offset: nasl.core.Integer;
|
|
948
|
-
mode: 'inline' | 'flex';
|
|
949
|
-
slotDefault: () => Array<ViewComponent>;
|
|
950
|
-
}
|
|
867
|
+
class VanProgress extends ViewComponent {
|
|
868
|
+
constructor(options?: Partial<VanProgressOptions>);
|
|
869
|
+
}
|
|
870
|
+
class VanProgressOptions extends ViewComponentOptions {
|
|
871
|
+
value: nasl.core.Decimal;
|
|
872
|
+
pivotText: nasl.core.String;
|
|
873
|
+
showPivot: nasl.core.Boolean;
|
|
874
|
+
custom: nasl.core.Boolean;
|
|
875
|
+
inactive: nasl.core.Boolean;
|
|
876
|
+
strokeWidth: nasl.core.Decimal;
|
|
877
|
+
color: nasl.core.String;
|
|
878
|
+
trackColor: nasl.core.String;
|
|
879
|
+
textColor: nasl.core.String;
|
|
880
|
+
pivotColor: nasl.core.String;
|
|
881
|
+
slotDefault: () => Array<ViewComponent>;
|
|
882
|
+
}
|
|
951
883
|
}
|
|
952
884
|
declare namespace nasl.ui {
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
885
|
+
class VanRadioGroup<T, V> extends ViewComponent {
|
|
886
|
+
constructor(options?: Partial<VanRadioGroupOptions<T, V>>);
|
|
887
|
+
value: VanRadioGroupOptions<T, V>['value'];
|
|
888
|
+
data: VanRadioGroupOptions<T, V>['dataSource'];
|
|
889
|
+
}
|
|
890
|
+
class VanRadioGroupOptions<T, V> extends ViewComponentOptions {
|
|
891
|
+
dataSource: nasl.collection.List<T> | {
|
|
892
|
+
total: nasl.core.Integer;
|
|
893
|
+
list: nasl.collection.List<T>;
|
|
894
|
+
};
|
|
895
|
+
dataSchema: T;
|
|
896
|
+
value: V;
|
|
897
|
+
icon: nasl.core.String;
|
|
898
|
+
direction: 'horizontal' | 'vertical';
|
|
899
|
+
column: nasl.core.Integer;
|
|
900
|
+
disabled: nasl.core.Boolean;
|
|
901
|
+
readonly: nasl.core.Boolean;
|
|
902
|
+
preview: nasl.core.Boolean;
|
|
903
|
+
onChange: (event: V) => void;
|
|
904
|
+
slotDefault: () => Array<VanRadio<V>>;
|
|
905
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
906
|
+
}
|
|
907
|
+
class VanRadio<V> extends ViewComponent {
|
|
908
|
+
constructor(options?: Partial<VanRadioOptions<V>>);
|
|
909
|
+
}
|
|
910
|
+
class VanRadioOptions<V> extends ViewComponentOptions {
|
|
911
|
+
private title;
|
|
912
|
+
name: nasl.core.String | nasl.core.Integer | nasl.core.Boolean;
|
|
913
|
+
icon: nasl.core.String;
|
|
914
|
+
labelPosition: 'right' | 'left';
|
|
915
|
+
disabled: nasl.core.Boolean;
|
|
916
|
+
onClick: (event: {
|
|
917
|
+
altKey: nasl.core.Boolean;
|
|
918
|
+
button: nasl.core.Integer;
|
|
919
|
+
clientX: nasl.core.Integer;
|
|
920
|
+
clientY: nasl.core.Integer;
|
|
921
|
+
ctrlKey: nasl.core.Boolean;
|
|
922
|
+
metaKey: nasl.core.Boolean;
|
|
923
|
+
movementX: nasl.core.Integer;
|
|
924
|
+
movementY: nasl.core.Integer;
|
|
925
|
+
offsetX: nasl.core.Integer;
|
|
926
|
+
offsetY: nasl.core.Integer;
|
|
927
|
+
pageX: nasl.core.Integer;
|
|
928
|
+
pageY: nasl.core.Integer;
|
|
929
|
+
screenX: nasl.core.Integer;
|
|
930
|
+
screenY: nasl.core.Integer;
|
|
931
|
+
which: nasl.core.Integer;
|
|
932
|
+
}) => void;
|
|
933
|
+
slotDefault: () => Array<ViewComponent>;
|
|
934
|
+
}
|
|
994
935
|
}
|
|
995
936
|
declare namespace nasl.ui {
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
linkType: 'destination' | 'download';
|
|
1015
|
-
hrefAndTo: nasl.core.String;
|
|
1016
|
-
target: '_blank' | '_self' | '_parent' | '_top';
|
|
1017
|
-
disabled: nasl.core.Boolean;
|
|
1018
|
-
onClick: (event: nasl.core.Integer) => any;
|
|
1019
|
-
slotTitle: () => Array<ViewComponent>;
|
|
1020
|
-
}
|
|
937
|
+
class VanRate extends ViewComponent {
|
|
938
|
+
constructor(options?: Partial<VanRateOptions>);
|
|
939
|
+
}
|
|
940
|
+
class VanRateOptions extends ViewComponentOptions {
|
|
941
|
+
value: nasl.core.Decimal;
|
|
942
|
+
count: nasl.core.Integer;
|
|
943
|
+
icon: nasl.core.String;
|
|
944
|
+
voidIcon: nasl.core.String;
|
|
945
|
+
allowHalf: nasl.core.Boolean;
|
|
946
|
+
readonly: nasl.core.Boolean;
|
|
947
|
+
disabled: nasl.core.Boolean;
|
|
948
|
+
size: nasl.core.Decimal;
|
|
949
|
+
gutter: nasl.core.Decimal;
|
|
950
|
+
color: nasl.core.String;
|
|
951
|
+
voidColor: nasl.core.String;
|
|
952
|
+
disabledColor: nasl.core.String;
|
|
953
|
+
onChange: (event: nasl.core.Decimal) => void;
|
|
954
|
+
}
|
|
1021
955
|
}
|
|
1022
956
|
declare namespace nasl.ui {
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
max: nasl.core.Decimal;
|
|
1029
|
-
min: nasl.core.Decimal;
|
|
1030
|
-
range: nasl.core.Boolean;
|
|
1031
|
-
custom: nasl.core.Boolean;
|
|
1032
|
-
disabled: nasl.core.Boolean;
|
|
1033
|
-
vertical: nasl.core.Boolean;
|
|
1034
|
-
step: nasl.core.Decimal | nasl.core.String;
|
|
1035
|
-
barHeight: nasl.core.Decimal;
|
|
1036
|
-
buttonSize: nasl.core.Decimal;
|
|
1037
|
-
activeColor: nasl.core.String;
|
|
1038
|
-
inactiveColor: nasl.core.String;
|
|
1039
|
-
onInput: (event: nasl.core.Decimal) => any;
|
|
1040
|
-
onChange: (event: nasl.core.Decimal) => any;
|
|
1041
|
-
onDragStart: (event: any) => any;
|
|
1042
|
-
onDragEnd: (event: any) => any;
|
|
1043
|
-
slotButton: () => Array<ViewComponent>;
|
|
1044
|
-
}
|
|
957
|
+
class VanRouterView extends ViewComponent {
|
|
958
|
+
constructor(options?: Partial<VanRouterViewOptions>);
|
|
959
|
+
}
|
|
960
|
+
class VanRouterViewOptions extends ViewComponentOptions {
|
|
961
|
+
}
|
|
1045
962
|
}
|
|
1046
963
|
declare namespace nasl.ui {
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
disableMinus: nasl.core.Boolean;
|
|
1074
|
-
disableInput: nasl.core.Boolean;
|
|
1075
|
-
disabled: nasl.core.Boolean;
|
|
1076
|
-
theme: 'fang' | 'round';
|
|
1077
|
-
step: nasl.core.String | nasl.core.Decimal;
|
|
1078
|
-
align: 'left' | 'center' | 'right';
|
|
1079
|
-
onClick: (event: any) => any;
|
|
1080
|
-
onChange: (event: nasl.core.Decimal | nasl.core.Integer) => any;
|
|
1081
|
-
}
|
|
964
|
+
class VanRow extends ViewComponent {
|
|
965
|
+
constructor(options?: Partial<VanRowOptions>);
|
|
966
|
+
}
|
|
967
|
+
class VanRowOptions extends ViewComponentOptions {
|
|
968
|
+
type: '-' | 'flex';
|
|
969
|
+
justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
970
|
+
alignment: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
971
|
+
gutter: '0' | '10' | '20' | '30';
|
|
972
|
+
slotDefault: () => Array<VanCol>;
|
|
973
|
+
}
|
|
974
|
+
class VanCol extends ViewComponent {
|
|
975
|
+
constructor(options?: Partial<VanColOptions>);
|
|
976
|
+
}
|
|
977
|
+
class VanColOptions extends ViewComponentOptions {
|
|
978
|
+
direction: 'horizontal' | 'vertical';
|
|
979
|
+
_justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
980
|
+
alignment: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
981
|
+
_alignment: 'start' | 'center' | 'end' | 'stretch';
|
|
982
|
+
justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
|
|
983
|
+
wrap: nasl.core.Boolean;
|
|
984
|
+
gap: 'shrink' | 'none' | 'small' | 'normal' | 'large';
|
|
985
|
+
span: nasl.core.Integer;
|
|
986
|
+
offset: nasl.core.Integer;
|
|
987
|
+
mode: 'inline' | 'flex';
|
|
988
|
+
slotDefault: () => Array<ViewComponent>;
|
|
989
|
+
}
|
|
1082
990
|
}
|
|
1083
991
|
declare namespace nasl.ui {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
992
|
+
class VanSearch extends ViewComponent {
|
|
993
|
+
constructor(options?: Partial<VanSearchOptions>);
|
|
994
|
+
}
|
|
995
|
+
class VanSearchOptions extends ViewComponentOptions {
|
|
996
|
+
private actiontext;
|
|
997
|
+
value: nasl.core.String;
|
|
998
|
+
maxlength: nasl.core.Integer;
|
|
999
|
+
placeholder: nasl.core.String;
|
|
1000
|
+
cleartrigger: 'always' | 'focus';
|
|
1001
|
+
inputAlign: 'left' | 'center' | 'right';
|
|
1002
|
+
iconalign: 'left' | 'right';
|
|
1003
|
+
clearable: nasl.core.Boolean;
|
|
1004
|
+
readonly: nasl.core.Boolean;
|
|
1005
|
+
disabled: nasl.core.Boolean;
|
|
1006
|
+
shape: 'square' | 'round';
|
|
1007
|
+
onSearch: (event: nasl.core.String) => void;
|
|
1008
|
+
onIconsearch: (event: {
|
|
1009
|
+
altKey: nasl.core.Boolean;
|
|
1010
|
+
button: nasl.core.Integer;
|
|
1011
|
+
clientX: nasl.core.Integer;
|
|
1012
|
+
clientY: nasl.core.Integer;
|
|
1013
|
+
ctrlKey: nasl.core.Boolean;
|
|
1014
|
+
metaKey: nasl.core.Boolean;
|
|
1015
|
+
movementX: nasl.core.Integer;
|
|
1016
|
+
movementY: nasl.core.Integer;
|
|
1017
|
+
offsetX: nasl.core.Integer;
|
|
1018
|
+
offsetY: nasl.core.Integer;
|
|
1019
|
+
pageX: nasl.core.Integer;
|
|
1020
|
+
pageY: nasl.core.Integer;
|
|
1021
|
+
screenX: nasl.core.Integer;
|
|
1022
|
+
screenY: nasl.core.Integer;
|
|
1023
|
+
which: nasl.core.Integer;
|
|
1024
|
+
}) => void;
|
|
1025
|
+
onInput: (event: nasl.core.String) => void;
|
|
1026
|
+
onFocus: (event: nasl.ui.BaseEvent) => void;
|
|
1027
|
+
onBlur: (event: nasl.ui.BaseEvent) => void;
|
|
1028
|
+
onClickinput: (event: nasl.ui.BaseEvent) => void;
|
|
1029
|
+
onClear: (event: nasl.ui.BaseEvent) => void;
|
|
1030
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1031
|
+
slotAction: () => Array<ViewComponent>;
|
|
1032
|
+
}
|
|
1113
1033
|
}
|
|
1114
1034
|
declare namespace nasl.ui {
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
pageX: nasl.core.Integer;
|
|
1141
|
-
pageY: nasl.core.Integer;
|
|
1142
|
-
screenX: nasl.core.Integer;
|
|
1143
|
-
screenY: nasl.core.Integer;
|
|
1144
|
-
which: nasl.core.Integer;
|
|
1145
|
-
}) => any;
|
|
1146
|
-
slotDefault: () => Array<ViewComponent>;
|
|
1147
|
-
}
|
|
1035
|
+
class VanSidebar extends ViewComponent {
|
|
1036
|
+
constructor(options?: Partial<VanSidebarOptions>);
|
|
1037
|
+
}
|
|
1038
|
+
class VanSidebarOptions extends ViewComponentOptions {
|
|
1039
|
+
value: nasl.core.String;
|
|
1040
|
+
route: nasl.core.Boolean;
|
|
1041
|
+
onChange: (event: nasl.ui.BaseEvent) => void;
|
|
1042
|
+
slotDefault: () => Array<VanSidebarItem>;
|
|
1043
|
+
}
|
|
1044
|
+
class VanSidebarItem extends ViewComponent {
|
|
1045
|
+
constructor(options?: Partial<VanSidebarItemOptions>);
|
|
1046
|
+
}
|
|
1047
|
+
class VanSidebarItemOptions extends ViewComponentOptions {
|
|
1048
|
+
value: nasl.core.String;
|
|
1049
|
+
showbaget: nasl.core.Boolean;
|
|
1050
|
+
badge: nasl.core.Decimal;
|
|
1051
|
+
badgemax: nasl.core.Decimal;
|
|
1052
|
+
private title;
|
|
1053
|
+
linkType: 'destination' | 'download';
|
|
1054
|
+
hrefAndTo: nasl.core.String;
|
|
1055
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
1056
|
+
disabled: nasl.core.Boolean;
|
|
1057
|
+
onClick: (event: nasl.core.Integer) => void;
|
|
1058
|
+
slotTitle: () => Array<ViewComponent>;
|
|
1059
|
+
}
|
|
1148
1060
|
}
|
|
1149
1061
|
declare namespace nasl.ui {
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1062
|
+
class VanSlider extends ViewComponent {
|
|
1063
|
+
constructor(options?: Partial<VanSliderOptions>);
|
|
1064
|
+
}
|
|
1065
|
+
class VanSliderOptions extends ViewComponentOptions {
|
|
1066
|
+
value: nasl.core.Decimal;
|
|
1067
|
+
max: nasl.core.Decimal;
|
|
1068
|
+
min: nasl.core.Decimal;
|
|
1069
|
+
range: nasl.core.Boolean;
|
|
1070
|
+
custom: nasl.core.Boolean;
|
|
1071
|
+
disabled: nasl.core.Boolean;
|
|
1072
|
+
vertical: nasl.core.Boolean;
|
|
1073
|
+
step: nasl.core.Decimal;
|
|
1074
|
+
barHeight: nasl.core.Decimal;
|
|
1075
|
+
buttonSize: nasl.core.Decimal;
|
|
1076
|
+
activeColor: nasl.core.String;
|
|
1077
|
+
inactiveColor: nasl.core.String;
|
|
1078
|
+
onInput: (event: nasl.core.Decimal) => void;
|
|
1079
|
+
onChange: (event: nasl.core.Decimal) => void;
|
|
1080
|
+
onDragStart: (event: nasl.ui.BaseEvent) => void;
|
|
1081
|
+
onDragEnd: (event: nasl.ui.BaseEvent) => void;
|
|
1082
|
+
slotButton: () => Array<ViewComponent>;
|
|
1083
|
+
}
|
|
1163
1084
|
}
|
|
1164
1085
|
declare namespace nasl.ui {
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1086
|
+
class VanStepperNew extends ViewComponent {
|
|
1087
|
+
constructor(options?: Partial<VanStepperNewOptions>);
|
|
1088
|
+
}
|
|
1089
|
+
class VanStepperNewOptions extends ViewComponentOptions {
|
|
1090
|
+
value: nasl.core.Decimal | nasl.core.Integer;
|
|
1091
|
+
min: nasl.core.Decimal;
|
|
1092
|
+
max: nasl.core.Decimal;
|
|
1093
|
+
decimalLength: nasl.core.Integer;
|
|
1094
|
+
decimalPlacesValue: nasl.core.Integer;
|
|
1095
|
+
decimalPlacesOmitZero: nasl.core.Boolean;
|
|
1096
|
+
thousandths: nasl.core.Boolean;
|
|
1097
|
+
percentSign: nasl.core.Boolean;
|
|
1098
|
+
unitType: 'prefix' | 'suffix';
|
|
1099
|
+
unitValue: nasl.core.String;
|
|
1100
|
+
advancedFormatEnable: nasl.core.Boolean;
|
|
1101
|
+
advancedFormatValue: nasl.core.String;
|
|
1102
|
+
placeholder: nasl.core.String;
|
|
1103
|
+
showPlus: nasl.core.Boolean;
|
|
1104
|
+
showMinus: nasl.core.Boolean;
|
|
1105
|
+
disablePlus: nasl.core.Boolean;
|
|
1106
|
+
disableMinus: nasl.core.Boolean;
|
|
1107
|
+
disableInput: nasl.core.Boolean;
|
|
1108
|
+
disabled: nasl.core.Boolean;
|
|
1109
|
+
theme: 'fang' | 'round';
|
|
1110
|
+
step: nasl.core.Decimal;
|
|
1111
|
+
align: 'left' | 'center' | 'right';
|
|
1112
|
+
preview: nasl.core.Boolean;
|
|
1113
|
+
onClick: (event: nasl.ui.BaseEvent) => void;
|
|
1114
|
+
onChange: (event: nasl.core.Decimal | nasl.core.Integer) => void;
|
|
1115
|
+
}
|
|
1191
1116
|
}
|
|
1192
1117
|
declare namespace nasl.ui {
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
metaKey: nasl.core.Boolean;
|
|
1223
|
-
movementX: nasl.core.Integer;
|
|
1224
|
-
movementY: nasl.core.Integer;
|
|
1225
|
-
offsetX: nasl.core.Integer;
|
|
1226
|
-
offsetY: nasl.core.Integer;
|
|
1227
|
-
pageX: nasl.core.Integer;
|
|
1228
|
-
pageY: nasl.core.Integer;
|
|
1229
|
-
screenX: nasl.core.Integer;
|
|
1230
|
-
screenY: nasl.core.Integer;
|
|
1231
|
-
which: nasl.core.Integer;
|
|
1232
|
-
}) => any;
|
|
1233
|
-
slotDefault: () => Array<ViewComponent>;
|
|
1234
|
-
}
|
|
1118
|
+
class VanSteps<T> extends ViewComponent {
|
|
1119
|
+
constructor(options?: Partial<VanStepsOptions<T>>);
|
|
1120
|
+
}
|
|
1121
|
+
class VanStepsOptions<T> extends ViewComponentOptions {
|
|
1122
|
+
dataSource: nasl.collection.List<T> | {
|
|
1123
|
+
total: nasl.core.Integer;
|
|
1124
|
+
list: nasl.collection.List<T>;
|
|
1125
|
+
};
|
|
1126
|
+
dataSchema: T;
|
|
1127
|
+
value: nasl.core.Integer;
|
|
1128
|
+
direction: 'horizontal' | 'vertical';
|
|
1129
|
+
readonly: nasl.core.Boolean;
|
|
1130
|
+
disabled: nasl.core.Boolean;
|
|
1131
|
+
onChangestep: (event: nasl.core.Integer) => void;
|
|
1132
|
+
slotDefault: () => Array<VanStep>;
|
|
1133
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
1134
|
+
}
|
|
1135
|
+
class VanStep extends ViewComponent {
|
|
1136
|
+
constructor(options?: Partial<VanStepOptions>);
|
|
1137
|
+
}
|
|
1138
|
+
class VanStepOptions extends ViewComponentOptions {
|
|
1139
|
+
status: 'wait' | 'process' | 'finish' | 'error';
|
|
1140
|
+
icon: nasl.core.String;
|
|
1141
|
+
readonly: nasl.core.Boolean;
|
|
1142
|
+
disabled: nasl.core.Boolean;
|
|
1143
|
+
onClicktitle: (event: nasl.core.Integer) => void;
|
|
1144
|
+
onClickicon: (event: nasl.core.Integer) => void;
|
|
1145
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1146
|
+
}
|
|
1235
1147
|
}
|
|
1236
1148
|
declare namespace nasl.ui {
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1149
|
+
class VanSwipe<T> extends ViewComponent {
|
|
1150
|
+
constructor(options?: Partial<VanSwipeOptions<T>>);
|
|
1151
|
+
}
|
|
1152
|
+
class VanSwipeOptions<T> extends ViewComponentOptions {
|
|
1153
|
+
dataSource: nasl.collection.List<T> | {
|
|
1154
|
+
total: nasl.core.Integer;
|
|
1155
|
+
list: nasl.collection.List<T>;
|
|
1156
|
+
};
|
|
1157
|
+
dataSchema: T;
|
|
1158
|
+
private loop;
|
|
1159
|
+
private showIndicators;
|
|
1160
|
+
duration: nasl.core.Decimal;
|
|
1161
|
+
touchable: nasl.core.Boolean;
|
|
1162
|
+
slotDefault: () => Array<VanSwipeItem>;
|
|
1163
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
1164
|
+
}
|
|
1165
|
+
class VanSwipeItem extends ViewComponent {
|
|
1166
|
+
constructor(options?: Partial<VanSwipeItemOptions>);
|
|
1167
|
+
}
|
|
1168
|
+
class VanSwipeItemOptions extends ViewComponentOptions {
|
|
1169
|
+
onClick: (event: {
|
|
1170
|
+
altKey: nasl.core.Boolean;
|
|
1171
|
+
button: nasl.core.Integer;
|
|
1172
|
+
clientX: nasl.core.Integer;
|
|
1173
|
+
clientY: nasl.core.Integer;
|
|
1174
|
+
ctrlKey: nasl.core.Boolean;
|
|
1175
|
+
metaKey: nasl.core.Boolean;
|
|
1176
|
+
movementX: nasl.core.Integer;
|
|
1177
|
+
movementY: nasl.core.Integer;
|
|
1178
|
+
offsetX: nasl.core.Integer;
|
|
1179
|
+
offsetY: nasl.core.Integer;
|
|
1180
|
+
pageX: nasl.core.Integer;
|
|
1181
|
+
pageY: nasl.core.Integer;
|
|
1182
|
+
screenX: nasl.core.Integer;
|
|
1183
|
+
screenY: nasl.core.Integer;
|
|
1184
|
+
which: nasl.core.Integer;
|
|
1185
|
+
}) => void;
|
|
1186
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1187
|
+
}
|
|
1265
1188
|
}
|
|
1266
1189
|
declare namespace nasl.ui {
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
clientX: nasl.core.Integer;
|
|
1281
|
-
clientY: nasl.core.Integer;
|
|
1282
|
-
ctrlKey: nasl.core.Boolean;
|
|
1283
|
-
metaKey: nasl.core.Boolean;
|
|
1284
|
-
movementX: nasl.core.Integer;
|
|
1285
|
-
movementY: nasl.core.Integer;
|
|
1286
|
-
offsetX: nasl.core.Integer;
|
|
1287
|
-
offsetY: nasl.core.Integer;
|
|
1288
|
-
pageX: nasl.core.Integer;
|
|
1289
|
-
pageY: nasl.core.Integer;
|
|
1290
|
-
screenX: nasl.core.Integer;
|
|
1291
|
-
screenY: nasl.core.Integer;
|
|
1292
|
-
which: nasl.core.Integer;
|
|
1293
|
-
}) => any;
|
|
1294
|
-
onBeforeClose: (event: any) => any;
|
|
1295
|
-
onClose: (event: any) => any;
|
|
1296
|
-
slotDefault: () => Array<ViewComponent>;
|
|
1297
|
-
}
|
|
1190
|
+
class VanSwipeCell extends ViewComponent {
|
|
1191
|
+
constructor(options?: Partial<VanSwipeCellOptions>);
|
|
1192
|
+
close(): any;
|
|
1193
|
+
}
|
|
1194
|
+
class VanSwipeCellOptions extends ViewComponentOptions {
|
|
1195
|
+
leftWidth: nasl.core.String;
|
|
1196
|
+
rightWidth: nasl.core.String;
|
|
1197
|
+
disabled: nasl.core.Boolean;
|
|
1198
|
+
onClick: (event: nasl.core.String) => void;
|
|
1199
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1200
|
+
slotRight: () => Array<ViewComponent>;
|
|
1201
|
+
slotLeft: () => Array<ViewComponent>;
|
|
1202
|
+
}
|
|
1298
1203
|
}
|
|
1299
1204
|
declare namespace nasl.ui {
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
}
|
|
1205
|
+
class VanSwitch extends ViewComponent {
|
|
1206
|
+
constructor(options?: Partial<VanSwitchOptions>);
|
|
1207
|
+
}
|
|
1208
|
+
class VanSwitchOptions extends ViewComponentOptions {
|
|
1209
|
+
value: nasl.core.Boolean;
|
|
1210
|
+
disabled: nasl.core.Boolean;
|
|
1211
|
+
readonly: nasl.core.Boolean;
|
|
1212
|
+
onClick: (event: {
|
|
1213
|
+
altKey: nasl.core.Boolean;
|
|
1214
|
+
button: nasl.core.Integer;
|
|
1215
|
+
clientX: nasl.core.Integer;
|
|
1216
|
+
clientY: nasl.core.Integer;
|
|
1217
|
+
ctrlKey: nasl.core.Boolean;
|
|
1218
|
+
metaKey: nasl.core.Boolean;
|
|
1219
|
+
movementX: nasl.core.Integer;
|
|
1220
|
+
movementY: nasl.core.Integer;
|
|
1221
|
+
offsetX: nasl.core.Integer;
|
|
1222
|
+
offsetY: nasl.core.Integer;
|
|
1223
|
+
pageX: nasl.core.Integer;
|
|
1224
|
+
pageY: nasl.core.Integer;
|
|
1225
|
+
screenX: nasl.core.Integer;
|
|
1226
|
+
screenY: nasl.core.Integer;
|
|
1227
|
+
which: nasl.core.Integer;
|
|
1228
|
+
}) => void;
|
|
1229
|
+
onChange: (event: nasl.core.Boolean) => void;
|
|
1230
|
+
}
|
|
1327
1231
|
}
|
|
1328
1232
|
declare namespace nasl.ui {
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1233
|
+
class VanTabbar extends ViewComponent {
|
|
1234
|
+
constructor(options?: Partial<VanTabbarOptions>);
|
|
1235
|
+
}
|
|
1236
|
+
class VanTabbarOptions extends ViewComponentOptions {
|
|
1237
|
+
value: nasl.core.String;
|
|
1238
|
+
fixed: nasl.core.Boolean;
|
|
1239
|
+
route: nasl.core.Boolean;
|
|
1240
|
+
border: nasl.core.Boolean;
|
|
1241
|
+
onChange: (event: nasl.core.String) => void;
|
|
1242
|
+
slotDefault: () => Array<VanTabbarItem>;
|
|
1243
|
+
}
|
|
1244
|
+
class VanTabbarItem extends ViewComponent {
|
|
1245
|
+
constructor(options?: Partial<VanTabbarItemOptions>);
|
|
1246
|
+
}
|
|
1247
|
+
class VanTabbarItemOptions extends ViewComponentOptions {
|
|
1248
|
+
name: nasl.core.String;
|
|
1249
|
+
showbaget: nasl.core.Boolean;
|
|
1250
|
+
badge: nasl.core.Decimal;
|
|
1251
|
+
badgemax: nasl.core.Decimal;
|
|
1252
|
+
icon: nasl.core.String;
|
|
1253
|
+
linkType: 'destination' | 'download';
|
|
1254
|
+
hrefAndTo: nasl.core.String;
|
|
1255
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
1256
|
+
onClick: (event: {
|
|
1257
|
+
altKey: nasl.core.Boolean;
|
|
1258
|
+
button: nasl.core.Integer;
|
|
1259
|
+
clientX: nasl.core.Integer;
|
|
1260
|
+
clientY: nasl.core.Integer;
|
|
1261
|
+
ctrlKey: nasl.core.Boolean;
|
|
1262
|
+
metaKey: nasl.core.Boolean;
|
|
1263
|
+
movementX: nasl.core.Integer;
|
|
1264
|
+
movementY: nasl.core.Integer;
|
|
1265
|
+
offsetX: nasl.core.Integer;
|
|
1266
|
+
offsetY: nasl.core.Integer;
|
|
1267
|
+
pageX: nasl.core.Integer;
|
|
1268
|
+
pageY: nasl.core.Integer;
|
|
1269
|
+
screenX: nasl.core.Integer;
|
|
1270
|
+
screenY: nasl.core.Integer;
|
|
1271
|
+
which: nasl.core.Integer;
|
|
1272
|
+
}) => void;
|
|
1273
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1274
|
+
}
|
|
1344
1275
|
}
|
|
1345
1276
|
declare namespace nasl.ui {
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
lcapIsCompress: nasl.core.Boolean;
|
|
1375
|
-
readonly: nasl.core.Boolean;
|
|
1376
|
-
disabled: nasl.core.Boolean;
|
|
1377
|
-
onClickUpload: (event: {
|
|
1378
|
-
altKey: nasl.core.Boolean;
|
|
1379
|
-
button: nasl.core.Integer;
|
|
1380
|
-
clientX: nasl.core.Integer;
|
|
1381
|
-
clientY: nasl.core.Integer;
|
|
1382
|
-
ctrlKey: nasl.core.Boolean;
|
|
1383
|
-
metaKey: nasl.core.Boolean;
|
|
1384
|
-
movementX: nasl.core.Integer;
|
|
1385
|
-
movementY: nasl.core.Integer;
|
|
1386
|
-
offsetX: nasl.core.Integer;
|
|
1387
|
-
offsetY: nasl.core.Integer;
|
|
1388
|
-
pageX: nasl.core.Integer;
|
|
1389
|
-
pageY: nasl.core.Integer;
|
|
1390
|
-
screenX: nasl.core.Integer;
|
|
1391
|
-
screenY: nasl.core.Integer;
|
|
1392
|
-
which: nasl.core.Integer;
|
|
1393
|
-
}) => any;
|
|
1394
|
-
onOversize: (event: {
|
|
1395
|
-
file: {
|
|
1396
|
-
name: nasl.core.String;
|
|
1397
|
-
size: nasl.core.Integer;
|
|
1398
|
-
type: nasl.core.String;
|
|
1399
|
-
};
|
|
1400
|
-
message: nasl.core.String;
|
|
1401
|
-
name: nasl.core.String;
|
|
1402
|
-
size: nasl.core.Integer;
|
|
1403
|
-
status: nasl.core.String;
|
|
1404
|
-
uid: nasl.core.Integer;
|
|
1405
|
-
}) => any;
|
|
1406
|
-
onDelete: (event: {
|
|
1407
|
-
massage: nasl.core.String;
|
|
1408
|
-
name: nasl.core.String;
|
|
1409
|
-
size: nasl.core.Integer;
|
|
1410
|
-
uid: nasl.core.Integer;
|
|
1411
|
-
url: nasl.core.String;
|
|
1412
|
-
index: nasl.core.Integer;
|
|
1413
|
-
}) => any;
|
|
1414
|
-
onStart: (event: {
|
|
1415
|
-
file: {
|
|
1416
|
-
name: nasl.core.String;
|
|
1417
|
-
size: nasl.core.Integer;
|
|
1418
|
-
type: nasl.core.String;
|
|
1419
|
-
};
|
|
1420
|
-
item: {
|
|
1421
|
-
message: nasl.core.String;
|
|
1422
|
-
name: nasl.core.String;
|
|
1423
|
-
percent: nasl.core.Integer;
|
|
1424
|
-
size: nasl.core.Integer;
|
|
1425
|
-
status: nasl.core.String;
|
|
1426
|
-
uid: nasl.core.Integer;
|
|
1427
|
-
url: nasl.core.String;
|
|
1428
|
-
};
|
|
1429
|
-
}) => any;
|
|
1430
|
-
onProgress: (event: {
|
|
1431
|
-
file: {
|
|
1432
|
-
name: nasl.core.String;
|
|
1433
|
-
size: nasl.core.Integer;
|
|
1434
|
-
type: nasl.core.String;
|
|
1435
|
-
};
|
|
1436
|
-
item: {
|
|
1437
|
-
message: nasl.core.String;
|
|
1438
|
-
name: nasl.core.String;
|
|
1439
|
-
percent: nasl.core.Integer;
|
|
1440
|
-
size: nasl.core.Integer;
|
|
1441
|
-
status: nasl.core.String;
|
|
1442
|
-
uid: nasl.core.Integer;
|
|
1443
|
-
url: nasl.core.String;
|
|
1444
|
-
response: {
|
|
1445
|
-
filePath: nasl.core.String;
|
|
1446
|
-
msg: nasl.core.String;
|
|
1447
|
-
result: nasl.core.String;
|
|
1448
|
-
success: nasl.core.Boolean;
|
|
1449
|
-
};
|
|
1450
|
-
};
|
|
1451
|
-
}) => any;
|
|
1452
|
-
onSuccess: (event: {
|
|
1453
|
-
file: {
|
|
1454
|
-
name: nasl.core.String;
|
|
1455
|
-
size: nasl.core.Integer;
|
|
1456
|
-
type: nasl.core.String;
|
|
1457
|
-
};
|
|
1458
|
-
item: {
|
|
1459
|
-
message: nasl.core.String;
|
|
1460
|
-
name: nasl.core.String;
|
|
1461
|
-
percent: nasl.core.Integer;
|
|
1462
|
-
size: nasl.core.Integer;
|
|
1463
|
-
status: nasl.core.String;
|
|
1464
|
-
uid: nasl.core.Integer;
|
|
1465
|
-
url: nasl.core.String;
|
|
1466
|
-
response: {
|
|
1467
|
-
filePath: nasl.core.String;
|
|
1468
|
-
msg: nasl.core.String;
|
|
1469
|
-
result: nasl.core.String;
|
|
1470
|
-
success: nasl.core.Boolean;
|
|
1471
|
-
};
|
|
1472
|
-
};
|
|
1473
|
-
}) => any;
|
|
1474
|
-
onError: (event: {
|
|
1475
|
-
file: {
|
|
1476
|
-
name: nasl.core.String;
|
|
1477
|
-
size: nasl.core.Integer;
|
|
1478
|
-
type: nasl.core.String;
|
|
1479
|
-
};
|
|
1480
|
-
item: {
|
|
1481
|
-
message: nasl.core.String;
|
|
1482
|
-
name: nasl.core.String;
|
|
1483
|
-
percent: nasl.core.Integer;
|
|
1484
|
-
size: nasl.core.Integer;
|
|
1485
|
-
status: nasl.core.String;
|
|
1486
|
-
uid: nasl.core.Integer;
|
|
1487
|
-
url: nasl.core.String;
|
|
1488
|
-
response: {
|
|
1489
|
-
filePath: nasl.core.String;
|
|
1490
|
-
msg: nasl.core.String;
|
|
1491
|
-
result: nasl.core.String;
|
|
1492
|
-
success: nasl.core.Boolean;
|
|
1493
|
-
};
|
|
1494
|
-
};
|
|
1495
|
-
}) => any;
|
|
1496
|
-
slotDefault: () => Array<ViewComponent>;
|
|
1497
|
-
}
|
|
1277
|
+
class VanTabs extends ViewComponent {
|
|
1278
|
+
constructor(options?: Partial<VanTabsOptions>);
|
|
1279
|
+
}
|
|
1280
|
+
class VanTabsOptions extends ViewComponentOptions {
|
|
1281
|
+
value: nasl.core.String;
|
|
1282
|
+
type: 'line' | 'card';
|
|
1283
|
+
sticky: nasl.core.Boolean;
|
|
1284
|
+
scrollspystr: 'no' | 'scrollspy';
|
|
1285
|
+
swipeable: nasl.core.Boolean;
|
|
1286
|
+
animated: nasl.core.Boolean;
|
|
1287
|
+
disabled: nasl.core.Boolean;
|
|
1288
|
+
onClick: (event: nasl.core.String) => void;
|
|
1289
|
+
onChange: (event: nasl.core.String) => void;
|
|
1290
|
+
slotDefault: () => Array<VanTab>;
|
|
1291
|
+
}
|
|
1292
|
+
class VanTab extends ViewComponent {
|
|
1293
|
+
constructor(options?: Partial<VanTabOptions>);
|
|
1294
|
+
}
|
|
1295
|
+
class VanTabOptions extends ViewComponentOptions {
|
|
1296
|
+
private title;
|
|
1297
|
+
name: nasl.core.String;
|
|
1298
|
+
badgebtn: nasl.core.Boolean;
|
|
1299
|
+
badge: nasl.core.Decimal;
|
|
1300
|
+
badgemax: nasl.core.Decimal;
|
|
1301
|
+
disabled: nasl.core.Boolean;
|
|
1302
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1303
|
+
slotTitle: () => Array<ViewComponent>;
|
|
1304
|
+
}
|
|
1498
1305
|
}
|
|
1499
1306
|
declare namespace nasl.ui {
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1307
|
+
class VanTag extends ViewComponent {
|
|
1308
|
+
constructor(options?: Partial<VanTagOptions>);
|
|
1309
|
+
}
|
|
1310
|
+
class VanTagOptions extends ViewComponentOptions {
|
|
1311
|
+
type: 'primary' | 'success' | 'danger' | 'warning';
|
|
1312
|
+
mark: nasl.core.Boolean;
|
|
1313
|
+
closeable: nasl.core.Boolean;
|
|
1314
|
+
size: 'large' | 'medium' | 'small';
|
|
1315
|
+
round: nasl.core.Boolean;
|
|
1316
|
+
plain: nasl.core.Boolean;
|
|
1317
|
+
onClick: (event: {
|
|
1318
|
+
altKey: nasl.core.Boolean;
|
|
1319
|
+
button: nasl.core.Integer;
|
|
1320
|
+
clientX: nasl.core.Integer;
|
|
1321
|
+
clientY: nasl.core.Integer;
|
|
1322
|
+
ctrlKey: nasl.core.Boolean;
|
|
1323
|
+
metaKey: nasl.core.Boolean;
|
|
1324
|
+
movementX: nasl.core.Integer;
|
|
1325
|
+
movementY: nasl.core.Integer;
|
|
1326
|
+
offsetX: nasl.core.Integer;
|
|
1327
|
+
offsetY: nasl.core.Integer;
|
|
1328
|
+
pageX: nasl.core.Integer;
|
|
1329
|
+
pageY: nasl.core.Integer;
|
|
1330
|
+
screenX: nasl.core.Integer;
|
|
1331
|
+
screenY: nasl.core.Integer;
|
|
1332
|
+
which: nasl.core.Integer;
|
|
1333
|
+
}) => void;
|
|
1334
|
+
onBeforeClose: (event: nasl.ui.BaseEvent) => void;
|
|
1335
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
1336
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1337
|
+
}
|
|
1523
1338
|
}
|
|
1524
1339
|
declare namespace nasl.ui {
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1340
|
+
class VanText extends ViewComponent {
|
|
1341
|
+
constructor(options?: Partial<VanTextOptions>);
|
|
1342
|
+
}
|
|
1343
|
+
class VanTextOptions extends ViewComponentOptions {
|
|
1344
|
+
text: nasl.core.String;
|
|
1345
|
+
color: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'disabled';
|
|
1346
|
+
display: 'inline' | 'block';
|
|
1347
|
+
overflow: 'normal' | 'ellipsis' | 'break' | 'nowrap';
|
|
1348
|
+
size: 'small' | 'normal' | 'large' | 'huge';
|
|
1349
|
+
onClick: (event: {
|
|
1350
|
+
altKey: nasl.core.Boolean;
|
|
1351
|
+
button: nasl.core.Integer;
|
|
1352
|
+
clientX: nasl.core.Integer;
|
|
1353
|
+
clientY: nasl.core.Integer;
|
|
1354
|
+
ctrlKey: nasl.core.Boolean;
|
|
1355
|
+
metaKey: nasl.core.Boolean;
|
|
1356
|
+
movementX: nasl.core.Integer;
|
|
1357
|
+
movementY: nasl.core.Integer;
|
|
1358
|
+
offsetX: nasl.core.Integer;
|
|
1359
|
+
offsetY: nasl.core.Integer;
|
|
1360
|
+
pageX: nasl.core.Integer;
|
|
1361
|
+
pageY: nasl.core.Integer;
|
|
1362
|
+
screenX: nasl.core.Integer;
|
|
1363
|
+
screenY: nasl.core.Integer;
|
|
1364
|
+
which: nasl.core.Integer;
|
|
1365
|
+
}) => void;
|
|
1366
|
+
}
|
|
1541
1367
|
}
|
|
1542
1368
|
declare namespace nasl.ui {
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
onStop: (event: any) => any;
|
|
1559
|
-
}
|
|
1369
|
+
class VanToast extends ViewComponent {
|
|
1370
|
+
constructor(options?: Partial<VanToastOptions>);
|
|
1371
|
+
open(): any;
|
|
1372
|
+
close(): any;
|
|
1373
|
+
}
|
|
1374
|
+
class VanToastOptions extends ViewComponentOptions {
|
|
1375
|
+
private value;
|
|
1376
|
+
message: nasl.core.String;
|
|
1377
|
+
type: 'success' | 'warning' | 'fail' | 'loading' | 'custom';
|
|
1378
|
+
customIcon: nasl.core.String;
|
|
1379
|
+
duration: nasl.core.Integer;
|
|
1380
|
+
private position;
|
|
1381
|
+
onOpen: (event: nasl.ui.BaseEvent) => void;
|
|
1382
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
1383
|
+
}
|
|
1560
1384
|
}
|
|
1561
1385
|
declare namespace nasl.ui {
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1386
|
+
class VanUploader extends ViewComponent {
|
|
1387
|
+
constructor(options?: Partial<VanUploaderOptions>);
|
|
1388
|
+
chooseFile(): any;
|
|
1389
|
+
}
|
|
1390
|
+
class VanUploaderOptions extends ViewComponentOptions {
|
|
1391
|
+
private resultType;
|
|
1392
|
+
value: nasl.collection.List<{
|
|
1393
|
+
name: nasl.core.String;
|
|
1394
|
+
url: nasl.core.String;
|
|
1395
|
+
size: nasl.core.Integer;
|
|
1396
|
+
}> | nasl.core.String;
|
|
1397
|
+
name: nasl.core.String;
|
|
1398
|
+
accept: nasl.core.String;
|
|
1399
|
+
url: nasl.core.String;
|
|
1400
|
+
headers: Object;
|
|
1401
|
+
data: Object;
|
|
1402
|
+
withCredentials: nasl.core.Boolean;
|
|
1403
|
+
urlField: nasl.core.String;
|
|
1404
|
+
converter: 'json' | 'simple';
|
|
1405
|
+
private autoUpload;
|
|
1406
|
+
multiple: nasl.core.Boolean;
|
|
1407
|
+
maxCount: nasl.core.Integer;
|
|
1408
|
+
maxSize: nasl.core.Decimal;
|
|
1409
|
+
capture: 'waga' | 'camera';
|
|
1410
|
+
access: 'public' | 'private';
|
|
1411
|
+
ttl: nasl.core.Boolean;
|
|
1412
|
+
ttlValue: nasl.core.Integer;
|
|
1413
|
+
viaOriginURL: nasl.core.Boolean;
|
|
1414
|
+
lcapIsCompress: nasl.core.Boolean;
|
|
1415
|
+
readonly: nasl.core.Boolean;
|
|
1416
|
+
disabled: nasl.core.Boolean;
|
|
1417
|
+
preview: nasl.core.Boolean;
|
|
1418
|
+
onClickUpload: (event: {
|
|
1419
|
+
altKey: nasl.core.Boolean;
|
|
1420
|
+
button: nasl.core.Integer;
|
|
1421
|
+
clientX: nasl.core.Integer;
|
|
1422
|
+
clientY: nasl.core.Integer;
|
|
1423
|
+
ctrlKey: nasl.core.Boolean;
|
|
1424
|
+
metaKey: nasl.core.Boolean;
|
|
1425
|
+
movementX: nasl.core.Integer;
|
|
1426
|
+
movementY: nasl.core.Integer;
|
|
1427
|
+
offsetX: nasl.core.Integer;
|
|
1428
|
+
offsetY: nasl.core.Integer;
|
|
1429
|
+
pageX: nasl.core.Integer;
|
|
1430
|
+
pageY: nasl.core.Integer;
|
|
1431
|
+
screenX: nasl.core.Integer;
|
|
1432
|
+
screenY: nasl.core.Integer;
|
|
1433
|
+
which: nasl.core.Integer;
|
|
1434
|
+
}) => void;
|
|
1435
|
+
onOversize: (event: {
|
|
1436
|
+
file: {
|
|
1437
|
+
name: nasl.core.String;
|
|
1438
|
+
size: nasl.core.Integer;
|
|
1439
|
+
type: nasl.core.String;
|
|
1440
|
+
};
|
|
1441
|
+
message: nasl.core.String;
|
|
1442
|
+
name: nasl.core.String;
|
|
1443
|
+
size: nasl.core.Integer;
|
|
1444
|
+
status: nasl.core.String;
|
|
1445
|
+
uid: nasl.core.Integer;
|
|
1446
|
+
}) => void;
|
|
1447
|
+
onDelete: (event: {
|
|
1448
|
+
massage: nasl.core.String;
|
|
1449
|
+
name: nasl.core.String;
|
|
1450
|
+
size: nasl.core.Integer;
|
|
1451
|
+
uid: nasl.core.Integer;
|
|
1452
|
+
url: nasl.core.String;
|
|
1453
|
+
index: nasl.core.Integer;
|
|
1454
|
+
}) => void;
|
|
1455
|
+
onStart: (event: {
|
|
1456
|
+
file: {
|
|
1457
|
+
name: nasl.core.String;
|
|
1458
|
+
size: nasl.core.Integer;
|
|
1459
|
+
type: nasl.core.String;
|
|
1460
|
+
};
|
|
1461
|
+
item: {
|
|
1462
|
+
message: nasl.core.String;
|
|
1463
|
+
name: nasl.core.String;
|
|
1464
|
+
percent: nasl.core.Integer;
|
|
1465
|
+
size: nasl.core.Integer;
|
|
1466
|
+
status: nasl.core.String;
|
|
1467
|
+
uid: nasl.core.Integer;
|
|
1468
|
+
url: nasl.core.String;
|
|
1469
|
+
};
|
|
1470
|
+
}) => void;
|
|
1471
|
+
onProgress: (event: {
|
|
1472
|
+
file: {
|
|
1473
|
+
name: nasl.core.String;
|
|
1474
|
+
size: nasl.core.Integer;
|
|
1475
|
+
type: nasl.core.String;
|
|
1476
|
+
};
|
|
1477
|
+
item: {
|
|
1478
|
+
message: nasl.core.String;
|
|
1479
|
+
name: nasl.core.String;
|
|
1480
|
+
percent: nasl.core.Integer;
|
|
1481
|
+
size: nasl.core.Integer;
|
|
1482
|
+
status: nasl.core.String;
|
|
1483
|
+
uid: nasl.core.Integer;
|
|
1484
|
+
url: nasl.core.String;
|
|
1485
|
+
response: {
|
|
1486
|
+
filePath: nasl.core.String;
|
|
1487
|
+
msg: nasl.core.String;
|
|
1488
|
+
result: nasl.core.String;
|
|
1489
|
+
success: nasl.core.Boolean;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
}) => void;
|
|
1493
|
+
onSuccess: (event: {
|
|
1494
|
+
file: {
|
|
1495
|
+
name: nasl.core.String;
|
|
1496
|
+
size: nasl.core.Integer;
|
|
1497
|
+
type: nasl.core.String;
|
|
1498
|
+
};
|
|
1499
|
+
item: {
|
|
1500
|
+
message: nasl.core.String;
|
|
1501
|
+
name: nasl.core.String;
|
|
1502
|
+
percent: nasl.core.Integer;
|
|
1503
|
+
size: nasl.core.Integer;
|
|
1504
|
+
status: nasl.core.String;
|
|
1505
|
+
uid: nasl.core.Integer;
|
|
1506
|
+
url: nasl.core.String;
|
|
1507
|
+
response: {
|
|
1508
|
+
filePath: nasl.core.String;
|
|
1509
|
+
msg: nasl.core.String;
|
|
1510
|
+
result: nasl.core.String;
|
|
1511
|
+
success: nasl.core.Boolean;
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
}) => void;
|
|
1515
|
+
onError: (event: {
|
|
1516
|
+
file: {
|
|
1517
|
+
name: nasl.core.String;
|
|
1518
|
+
size: nasl.core.Integer;
|
|
1519
|
+
type: nasl.core.String;
|
|
1520
|
+
};
|
|
1521
|
+
item: {
|
|
1522
|
+
message: nasl.core.String;
|
|
1523
|
+
name: nasl.core.String;
|
|
1524
|
+
percent: nasl.core.Integer;
|
|
1525
|
+
size: nasl.core.Integer;
|
|
1526
|
+
status: nasl.core.String;
|
|
1527
|
+
uid: nasl.core.Integer;
|
|
1528
|
+
url: nasl.core.String;
|
|
1529
|
+
response: {
|
|
1530
|
+
filePath: nasl.core.String;
|
|
1531
|
+
msg: nasl.core.String;
|
|
1532
|
+
result: nasl.core.String;
|
|
1533
|
+
success: nasl.core.Boolean;
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
}) => void;
|
|
1537
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1538
|
+
}
|
|
1610
1539
|
}
|
|
1611
1540
|
declare namespace nasl.ui {
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1541
|
+
class VanAbsoluteLayout extends ViewComponent {
|
|
1542
|
+
constructor(options?: Partial<VanAbsoluteLayoutOptions>);
|
|
1543
|
+
}
|
|
1544
|
+
class VanAbsoluteLayoutOptions extends ViewComponentOptions {
|
|
1545
|
+
onClick: (event: {
|
|
1546
|
+
altKey: nasl.core.Boolean;
|
|
1547
|
+
button: nasl.core.Integer;
|
|
1548
|
+
clientX: nasl.core.Integer;
|
|
1549
|
+
clientY: nasl.core.Integer;
|
|
1550
|
+
ctrlKey: nasl.core.Boolean;
|
|
1551
|
+
metaKey: nasl.core.Boolean;
|
|
1552
|
+
movementX: nasl.core.Integer;
|
|
1553
|
+
movementY: nasl.core.Integer;
|
|
1554
|
+
offsetX: nasl.core.Integer;
|
|
1555
|
+
offsetY: nasl.core.Integer;
|
|
1556
|
+
pageX: nasl.core.Integer;
|
|
1557
|
+
pageY: nasl.core.Integer;
|
|
1558
|
+
screenX: nasl.core.Integer;
|
|
1559
|
+
screenY: nasl.core.Integer;
|
|
1560
|
+
which: nasl.core.Integer;
|
|
1561
|
+
}) => void;
|
|
1562
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1563
|
+
}
|
|
1619
1564
|
}
|
|
1620
1565
|
declare namespace nasl.ui {
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
altKey: nasl.core.Boolean;
|
|
1638
|
-
button: nasl.core.Integer;
|
|
1639
|
-
clientX: nasl.core.Integer;
|
|
1640
|
-
clientY: nasl.core.Integer;
|
|
1641
|
-
ctrlKey: nasl.core.Boolean;
|
|
1642
|
-
metaKey: nasl.core.Boolean;
|
|
1643
|
-
movementX: nasl.core.Integer;
|
|
1644
|
-
movementY: nasl.core.Integer;
|
|
1645
|
-
offsetX: nasl.core.Integer;
|
|
1646
|
-
offsetY: nasl.core.Integer;
|
|
1647
|
-
pageX: nasl.core.Integer;
|
|
1648
|
-
pageY: nasl.core.Integer;
|
|
1649
|
-
screenX: nasl.core.Integer;
|
|
1650
|
-
screenY: nasl.core.Integer;
|
|
1651
|
-
which: nasl.core.Integer;
|
|
1652
|
-
}) => any;
|
|
1653
|
-
}
|
|
1566
|
+
class VanCopy extends ViewComponent {
|
|
1567
|
+
constructor(options?: Partial<VanCopyOptions>);
|
|
1568
|
+
}
|
|
1569
|
+
class VanCopyOptions extends ViewComponentOptions {
|
|
1570
|
+
private text;
|
|
1571
|
+
private successText;
|
|
1572
|
+
private feedback;
|
|
1573
|
+
private placement;
|
|
1574
|
+
private hideDelay;
|
|
1575
|
+
value: nasl.core.String;
|
|
1576
|
+
disabled: nasl.core.Boolean;
|
|
1577
|
+
onCopy: (event: {
|
|
1578
|
+
value: nasl.core.String;
|
|
1579
|
+
}) => void;
|
|
1580
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1581
|
+
}
|
|
1654
1582
|
}
|
|
1655
1583
|
declare namespace nasl.ui {
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
private matchMethod;
|
|
1674
|
-
private caseSensitive;
|
|
1675
|
-
private size;
|
|
1676
|
-
dataSource: nasl.collection.List<T> | {
|
|
1677
|
-
total: nasl.core.Integer;
|
|
1678
|
-
list: nasl.collection.List<T>;
|
|
1679
|
-
};
|
|
1680
|
-
dataSchema: T;
|
|
1681
|
-
valueField: (item: T) => V;
|
|
1682
|
-
textField: (item: T) => any;
|
|
1683
|
-
value: M extends true ? nasl.collection.List<V> : V;
|
|
1684
|
-
pageable: '' | 'auto-more' | 'load-more' | 'pagination';
|
|
1685
|
-
pageSize: nasl.core.Integer;
|
|
1686
|
-
private pageNumber;
|
|
1687
|
-
filterable: nasl.core.Boolean;
|
|
1688
|
-
placeholder: nasl.core.String;
|
|
1689
|
-
clearable: nasl.core.Boolean;
|
|
1690
|
-
private selectable;
|
|
1691
|
-
multiple: nasl.core.Boolean;
|
|
1692
|
-
selectedIcon: nasl.core.String;
|
|
1693
|
-
unselectedIcon: nasl.core.String;
|
|
1694
|
-
pullRefresh: nasl.core.Boolean;
|
|
1695
|
-
pullingText: nasl.core.String;
|
|
1696
|
-
loosingText: nasl.core.String;
|
|
1697
|
-
successText: nasl.core.String;
|
|
1698
|
-
successDuration: nasl.core.Integer;
|
|
1699
|
-
pullDistance: nasl.core.Decimal;
|
|
1700
|
-
hiddenempty: nasl.core.Boolean;
|
|
1701
|
-
initialLoad: nasl.core.Boolean;
|
|
1702
|
-
designerMode: 'success' | 'empty' | 'loading' | 'error';
|
|
1703
|
-
loadingText: nasl.core.String;
|
|
1704
|
-
loading: nasl.core.Boolean;
|
|
1705
|
-
errorText: nasl.core.String;
|
|
1706
|
-
error: nasl.core.Boolean;
|
|
1707
|
-
emptyText: nasl.core.String;
|
|
1708
|
-
striped: nasl.core.Boolean;
|
|
1709
|
-
onInput: (event: M extends true ? nasl.collection.List<V> : V) => any;
|
|
1710
|
-
onSelect: (event: {
|
|
1711
|
-
selected: nasl.core.Boolean;
|
|
1712
|
-
item: T;
|
|
1713
|
-
value: M extends true ? nasl.collection.List<V> : V;
|
|
1714
|
-
}) => any;
|
|
1715
|
-
onChange: (event: {
|
|
1716
|
-
item: T;
|
|
1717
|
-
value: M extends true ? nasl.collection.List<V> : V;
|
|
1718
|
-
}) => any;
|
|
1719
|
-
onBeforeLoad: (event: any) => any;
|
|
1720
|
-
onLoad: (event: any) => any;
|
|
1721
|
-
slotDefault: () => Array<VanCell>;
|
|
1722
|
-
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
1723
|
-
slotPrev: () => Array<ViewComponent>;
|
|
1724
|
-
slotNext: () => Array<ViewComponent>;
|
|
1725
|
-
}
|
|
1584
|
+
class VanCountDownNew extends ViewComponent {
|
|
1585
|
+
start(): any;
|
|
1586
|
+
pause(): any;
|
|
1587
|
+
continue(): any;
|
|
1588
|
+
stop(): any;
|
|
1589
|
+
constructor(options?: Partial<VanCountDownNewOptions>);
|
|
1590
|
+
}
|
|
1591
|
+
class VanCountDownNewOptions extends ViewComponentOptions {
|
|
1592
|
+
timer: nasl.core.Integer;
|
|
1593
|
+
reverse: 'positive' | 'negative';
|
|
1594
|
+
autostart: nasl.core.Boolean;
|
|
1595
|
+
hideMinute: nasl.core.Boolean;
|
|
1596
|
+
onStart: (event: nasl.ui.BaseEvent) => void;
|
|
1597
|
+
onPause: (event: nasl.ui.BaseEvent) => void;
|
|
1598
|
+
onContinue: (event: nasl.ui.BaseEvent) => void;
|
|
1599
|
+
onStop: (event: nasl.ui.BaseEvent) => void;
|
|
1600
|
+
}
|
|
1726
1601
|
}
|
|
1727
1602
|
declare namespace nasl.ui {
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1603
|
+
class VanGridView<T, V, P extends nasl.core.Boolean, M extends nasl.core.Boolean> extends ViewComponent {
|
|
1604
|
+
constructor(options?: Partial<VanGridViewOptions<T, V, P, M>>);
|
|
1605
|
+
data: VanGridViewOptions<T, V, P, M>['dataSource'];
|
|
1606
|
+
page: nasl.core.Integer;
|
|
1607
|
+
size: nasl.core.Integer;
|
|
1608
|
+
filterText: nasl.core.String;
|
|
1609
|
+
sort: nasl.core.String;
|
|
1610
|
+
order: nasl.core.String;
|
|
1611
|
+
reload(): any;
|
|
1612
|
+
}
|
|
1613
|
+
class VanGridViewOptions<T, V, P extends nasl.core.Boolean, M extends nasl.core.Boolean> extends ViewComponentOptions {
|
|
1614
|
+
private value;
|
|
1615
|
+
private valueField;
|
|
1616
|
+
private cancelable;
|
|
1617
|
+
private multiple;
|
|
1618
|
+
private clearable;
|
|
1619
|
+
dataSource: nasl.collection.List<T> | {
|
|
1620
|
+
total: nasl.core.Integer;
|
|
1621
|
+
list: nasl.collection.List<T>;
|
|
1622
|
+
};
|
|
1623
|
+
dataSchema: T;
|
|
1624
|
+
pageable: '' | 'auto-more' | 'load-more';
|
|
1625
|
+
pageSize: nasl.core.Integer;
|
|
1626
|
+
private pageNumber;
|
|
1627
|
+
filterable: nasl.core.Boolean;
|
|
1628
|
+
remotePaging: nasl.core.Boolean;
|
|
1629
|
+
remoteFiltering: nasl.core.Boolean;
|
|
1630
|
+
pullRefresh: nasl.core.Boolean;
|
|
1631
|
+
pullingText: nasl.core.String;
|
|
1632
|
+
loosingText: nasl.core.String;
|
|
1633
|
+
successText: nasl.core.String;
|
|
1634
|
+
successDuration: nasl.core.Integer;
|
|
1635
|
+
pullDistance: nasl.core.Decimal;
|
|
1636
|
+
placeholder: nasl.core.String;
|
|
1637
|
+
initialLoad: nasl.core.Boolean;
|
|
1638
|
+
loadingText: nasl.core.String;
|
|
1639
|
+
private error;
|
|
1640
|
+
errorText: nasl.core.String;
|
|
1641
|
+
emptyText: nasl.core.String;
|
|
1642
|
+
iffall: nasl.core.Boolean;
|
|
1643
|
+
col: nasl.core.Integer;
|
|
1644
|
+
private readonly;
|
|
1645
|
+
private disabled;
|
|
1646
|
+
textField: (item: T) => any;
|
|
1647
|
+
onLoad: (event: nasl.ui.BaseEvent) => void;
|
|
1648
|
+
slotDefault: () => Array<VanCardu>;
|
|
1649
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
declare namespace nasl.ui {
|
|
1653
|
+
class VanIframe extends ViewComponent {
|
|
1654
|
+
constructor(options?: Partial<VanIframeOptions>);
|
|
1655
|
+
}
|
|
1656
|
+
class VanIframeOptions extends ViewComponentOptions {
|
|
1657
|
+
src: nasl.core.String;
|
|
1658
|
+
onLoad: (event: nasl.ui.BaseEvent) => void;
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
declare namespace nasl.ui {
|
|
1662
|
+
class VanLink extends ViewComponent {
|
|
1663
|
+
constructor(options?: Partial<VanLinkOptions>);
|
|
1664
|
+
}
|
|
1665
|
+
class VanLinkOptions extends ViewComponentOptions {
|
|
1666
|
+
private to;
|
|
1667
|
+
private replace;
|
|
1668
|
+
private append;
|
|
1669
|
+
private decoration;
|
|
1670
|
+
text: nasl.core.String;
|
|
1671
|
+
color: 'default' | 'light' | 'success' | 'warning' | 'danger';
|
|
1672
|
+
display: 'inline' | 'block';
|
|
1673
|
+
linkType: 'destination' | 'download';
|
|
1674
|
+
hrefAndTo: nasl.core.String;
|
|
1675
|
+
target: '_blank' | '_self' | '_parent' | '_top';
|
|
1676
|
+
disabled: nasl.core.Boolean;
|
|
1677
|
+
onClick: (event: {
|
|
1678
|
+
altKey: nasl.core.Boolean;
|
|
1679
|
+
button: nasl.core.Integer;
|
|
1680
|
+
clientX: nasl.core.Integer;
|
|
1681
|
+
clientY: nasl.core.Integer;
|
|
1682
|
+
ctrlKey: nasl.core.Boolean;
|
|
1683
|
+
metaKey: nasl.core.Boolean;
|
|
1684
|
+
movementX: nasl.core.Integer;
|
|
1685
|
+
movementY: nasl.core.Integer;
|
|
1686
|
+
offsetX: nasl.core.Integer;
|
|
1687
|
+
offsetY: nasl.core.Integer;
|
|
1688
|
+
pageX: nasl.core.Integer;
|
|
1689
|
+
pageY: nasl.core.Integer;
|
|
1690
|
+
screenX: nasl.core.Integer;
|
|
1691
|
+
screenY: nasl.core.Integer;
|
|
1692
|
+
which: nasl.core.Integer;
|
|
1693
|
+
}) => void;
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
declare namespace nasl.ui {
|
|
1697
|
+
class VanListView<T, V, P, M> extends ViewComponent {
|
|
1698
|
+
constructor(options?: Partial<VanListViewOptions<T, V, P, M>>);
|
|
1699
|
+
data: VanListViewOptions<T, V, P, M>['dataSource'];
|
|
1700
|
+
page: nasl.core.Integer;
|
|
1701
|
+
size: nasl.core.Integer;
|
|
1702
|
+
filterText: nasl.core.String;
|
|
1703
|
+
reload(): any;
|
|
1704
|
+
}
|
|
1705
|
+
class VanListViewOptions<T, V, P, M> extends ViewComponentOptions {
|
|
1706
|
+
private readonly;
|
|
1707
|
+
private disabled;
|
|
1708
|
+
private cancelable;
|
|
1709
|
+
private showHead;
|
|
1710
|
+
private title;
|
|
1711
|
+
private showFoot;
|
|
1712
|
+
private remotePaging;
|
|
1713
|
+
private remoteFiltering;
|
|
1714
|
+
private matchMethod;
|
|
1715
|
+
private caseSensitive;
|
|
1716
|
+
private size;
|
|
1717
|
+
dataSource: nasl.collection.List<T> | {
|
|
1718
|
+
total: nasl.core.Integer;
|
|
1719
|
+
list: nasl.collection.List<T>;
|
|
1720
|
+
};
|
|
1721
|
+
dataSchema: T;
|
|
1722
|
+
valueField: (item: T) => V;
|
|
1723
|
+
textField: (item: T) => any;
|
|
1724
|
+
value: M extends true ? nasl.collection.List<V> : V;
|
|
1725
|
+
pageable: '' | 'auto-more' | 'load-more' | 'pagination';
|
|
1726
|
+
pageSize: nasl.core.Integer;
|
|
1727
|
+
private pageNumber;
|
|
1728
|
+
filterable: nasl.core.Boolean;
|
|
1729
|
+
placeholder: nasl.core.String;
|
|
1730
|
+
clearable: nasl.core.Boolean;
|
|
1731
|
+
private selectable;
|
|
1732
|
+
multiple: nasl.core.Boolean;
|
|
1733
|
+
selectedIcon: nasl.core.String;
|
|
1734
|
+
unselectedIcon: nasl.core.String;
|
|
1735
|
+
pullRefresh: nasl.core.Boolean;
|
|
1736
|
+
pullingText: nasl.core.String;
|
|
1737
|
+
loosingText: nasl.core.String;
|
|
1738
|
+
successText: nasl.core.String;
|
|
1739
|
+
successDuration: nasl.core.Integer;
|
|
1740
|
+
pullDistance: nasl.core.Decimal;
|
|
1741
|
+
hiddenempty: nasl.core.Boolean;
|
|
1742
|
+
initialLoad: nasl.core.Boolean;
|
|
1743
|
+
designerMode: 'success' | 'empty' | 'loading' | 'error';
|
|
1744
|
+
loadingText: nasl.core.String;
|
|
1745
|
+
loading: nasl.core.Boolean;
|
|
1746
|
+
errorText: nasl.core.String;
|
|
1747
|
+
error: nasl.core.Boolean;
|
|
1748
|
+
emptyText: nasl.core.String;
|
|
1749
|
+
striped: nasl.core.Boolean;
|
|
1750
|
+
onInput: (event: M extends true ? nasl.collection.List<V> : V) => void;
|
|
1751
|
+
onSelect: (event: {
|
|
1752
|
+
selected: nasl.core.Boolean;
|
|
1753
|
+
item: T;
|
|
1754
|
+
value: M extends true ? nasl.collection.List<V> : V;
|
|
1755
|
+
}) => void;
|
|
1756
|
+
onChange: (event: {
|
|
1757
|
+
item: T;
|
|
1758
|
+
value: M extends true ? nasl.collection.List<V> : V;
|
|
1759
|
+
}) => void;
|
|
1760
|
+
onBeforeLoad: (event: nasl.ui.BaseEvent) => void;
|
|
1761
|
+
onLoad: (event: nasl.ui.BaseEvent) => void;
|
|
1762
|
+
slotDefault: () => Array<VanCell>;
|
|
1763
|
+
slotItem: (current: Current<T>) => Array<ViewComponent>;
|
|
1764
|
+
slotPrev: () => Array<ViewComponent>;
|
|
1765
|
+
slotNext: () => Array<ViewComponent>;
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
declare namespace nasl.ui {
|
|
1769
|
+
class VanPopupCombination extends ViewComponent {
|
|
1770
|
+
constructor(options?: Partial<VanPopupCombinationOptions>);
|
|
1771
|
+
open(): any;
|
|
1772
|
+
close(): any;
|
|
1773
|
+
toggle(opened?: nasl.core.Boolean): any;
|
|
1774
|
+
update(): any;
|
|
1775
|
+
scheduleUpdate(): any;
|
|
1776
|
+
}
|
|
1777
|
+
class VanPopupCombinationOptions extends ViewComponentOptions {
|
|
1778
|
+
private trigger;
|
|
1779
|
+
private offset;
|
|
1780
|
+
private followCursor;
|
|
1781
|
+
private mergeBorders;
|
|
1782
|
+
title: nasl.core.String;
|
|
1783
|
+
opened: nasl.core.Boolean;
|
|
1784
|
+
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
1785
|
+
hideDelay: nasl.core.Integer;
|
|
1786
|
+
display: 'inline' | 'block';
|
|
1787
|
+
private ellipsis;
|
|
1788
|
+
disabled: nasl.core.Boolean;
|
|
1789
|
+
onBeforeOpen: (event: nasl.ui.BaseEvent) => void;
|
|
1790
|
+
onOpen: (event: nasl.ui.BaseEvent) => void;
|
|
1791
|
+
onBeforeClose: (event: nasl.ui.BaseEvent) => void;
|
|
1792
|
+
onClose: (event: nasl.ui.BaseEvent) => void;
|
|
1793
|
+
slotDefault: () => Array<ViewComponent>;
|
|
1794
|
+
slotReference: () => Array<ViewComponent>;
|
|
1795
|
+
}
|
|
1755
1796
|
}
|