@json-layout/vocabulary 1.3.0 → 1.4.1
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/package.json +1 -1
- package/src/components/index.js +2 -1
- package/src/components/types.ts +1 -0
- package/src/layout-keyword/schema.js +3 -0
- package/src/layout-keyword/schema.json +2 -1
- package/src/layout-keyword/types.ts +3 -0
- package/src/normalize.js +1 -1
- package/src/normalized-layout/schema.js +3 -0
- package/src/normalized-layout/schema.json +2 -1
- package/src/normalized-layout/types.ts +3 -0
- package/types/components/compile-types.d.ts +0 -13
- package/types/components/compile-types.d.ts.map +0 -1
- package/types/components/index.d.ts +0 -54
- package/types/components/index.d.ts.map +0 -1
- package/types/components/types.d.ts +0 -419
- package/types/components/types.d.ts.map +0 -1
- package/types/index.d.ts +0 -7
- package/types/index.d.ts.map +0 -1
- package/types/layout-keyword/index.d.ts +0 -56
- package/types/layout-keyword/index.d.ts.map +0 -1
- package/types/layout-keyword/schema.d.ts +0 -384
- package/types/layout-keyword/schema.d.ts.map +0 -1
- package/types/layout-keyword/types.d.ts +0 -219
- package/types/layout-keyword/types.d.ts.map +0 -1
- package/types/normalize.d.ts +0 -31
- package/types/normalize.d.ts.map +0 -1
- package/types/normalized-layout/index.d.ts +0 -80
- package/types/normalized-layout/index.d.ts.map +0 -1
- package/types/normalized-layout/schema.d.ts +0 -578
- package/types/normalized-layout/schema.d.ts.map +0 -1
- package/types/normalized-layout/types.d.ts +0 -291
- package/types/normalized-layout/types.d.ts.map +0 -1
- package/types/types.d.ts +0 -41
- package/types/types.d.ts.map +0 -1
- package/types/validate.d.ts +0 -8
- package/types/validate.d.ts.map +0 -1
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export function isComponentName(layoutKeyword: LayoutKeyword): layoutKeyword is string;
|
|
2
|
-
export function isPartialSwitch(layoutKeyword: LayoutKeyword): layoutKeyword is import("./types.js").PartialSwitch;
|
|
3
|
-
export function isPartialChildren(layoutKeyword: LayoutKeyword): layoutKeyword is import("./types.js").PartialChildren;
|
|
4
|
-
export function isPartialChildComposite(partialChild: PartialChild): partialChild is import("./types.js").PartialChildComposite;
|
|
5
|
-
export function isPartialChildSlot(partialChild: PartialChild): partialChild is import("./types.js").PartialChildSlot;
|
|
6
|
-
export function isPartialCompObject(layoutKeyword: LayoutKeyword): layoutKeyword is import("./types.js").PartialCompObject;
|
|
7
|
-
export function isPartialGetItemsExpr(getItems: PartialGetItems): getItems is import("./types.js").PartialExpression;
|
|
8
|
-
export function isPartialGetItemsObj(getItems: PartialGetItems): getItems is import("./types.js").PartialGetItemsObj;
|
|
9
|
-
export function isPartialGetItemsFetch(getItems: PartialGetItems): getItems is import("./types.js").PartialGetItemsFetch;
|
|
10
|
-
export function isPartialSlotMarkdown(partialSlot: PartialSlot): partialSlot is import("./types.js").PartialSlotMarkdown;
|
|
11
|
-
export function isPartialSlotText(partialSlot: PartialSlot): partialSlot is import("./types.js").PartialSlotText;
|
|
12
|
-
export function isPartialSlotName(partialSlot: PartialSlot): partialSlot is import("./types.js").PartialSlotName;
|
|
13
|
-
/**
|
|
14
|
-
* @typedef {import('./types.js').LayoutKeyword} LayoutKeyword
|
|
15
|
-
* @typedef {import('./types.js').ComponentName} ComponentName
|
|
16
|
-
* @typedef {import('./types.js').PartialChildren} PartialChildren
|
|
17
|
-
* @typedef {import('./types.js').PartialChild} PartialChild
|
|
18
|
-
* @typedef {import('./types.js').PartialChildComposite} PartialChildComposite
|
|
19
|
-
* @typedef {import('./types.js').PartialChildSlot} PartialChildSlot
|
|
20
|
-
* @typedef {import('./types.js').PartialSwitch} PartialSwitch
|
|
21
|
-
* @typedef {import('./types.js').PartialCompObject} PartialCompObject
|
|
22
|
-
* @typedef {import('./types.js').PartialGetItems} PartialGetItems
|
|
23
|
-
* @typedef {import('./types.js').PartialGetItemsFetch} PartialGetItemsFetch
|
|
24
|
-
* @typedef {import('./types.js').PartialExpression} PartialExpression
|
|
25
|
-
* @typedef {import('./types.js').PartialGetItemsObj} PartialGetItemsObj
|
|
26
|
-
* @typedef {import('./types.js').PartialSlotMarkdown} PartialSlotMarkdown
|
|
27
|
-
* @typedef {import('./types.js').PartialSlotText} PartialSlotText
|
|
28
|
-
* @typedef {import('./types.js').PartialSlotName} PartialSlotName
|
|
29
|
-
* @typedef {import('./types.js').PartialSlot} PartialSlot
|
|
30
|
-
* @typedef {import('./types.js').PartialSelectItem} PartialSelectItem
|
|
31
|
-
* @typedef {{ errors: any, (layoutKeyword: any): layoutKeyword is LayoutKeyword }} ValidateLayoutKeyword
|
|
32
|
-
*/
|
|
33
|
-
export const validateLayoutKeyword: ValidateLayoutKeyword;
|
|
34
|
-
export const layoutKeywordSchema: any;
|
|
35
|
-
export type LayoutKeyword = import('./types.js').LayoutKeyword;
|
|
36
|
-
export type ComponentName = import('./types.js').ComponentName;
|
|
37
|
-
export type PartialChildren = import('./types.js').PartialChildren;
|
|
38
|
-
export type PartialChild = import('./types.js').PartialChild;
|
|
39
|
-
export type PartialChildComposite = import('./types.js').PartialChildComposite;
|
|
40
|
-
export type PartialChildSlot = import('./types.js').PartialChildSlot;
|
|
41
|
-
export type PartialSwitch = import('./types.js').PartialSwitch;
|
|
42
|
-
export type PartialCompObject = import('./types.js').PartialCompObject;
|
|
43
|
-
export type PartialGetItems = import('./types.js').PartialGetItems;
|
|
44
|
-
export type PartialGetItemsFetch = import('./types.js').PartialGetItemsFetch;
|
|
45
|
-
export type PartialExpression = import('./types.js').PartialExpression;
|
|
46
|
-
export type PartialGetItemsObj = import('./types.js').PartialGetItemsObj;
|
|
47
|
-
export type PartialSlotMarkdown = import('./types.js').PartialSlotMarkdown;
|
|
48
|
-
export type PartialSlotText = import('./types.js').PartialSlotText;
|
|
49
|
-
export type PartialSlotName = import('./types.js').PartialSlotName;
|
|
50
|
-
export type PartialSlot = import('./types.js').PartialSlot;
|
|
51
|
-
export type PartialSelectItem = import('./types.js').PartialSelectItem;
|
|
52
|
-
export type ValidateLayoutKeyword = {
|
|
53
|
-
(layoutKeyword: any): layoutKeyword is import("./types.js").LayoutKeyword;
|
|
54
|
-
errors: any;
|
|
55
|
-
};
|
|
56
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layout-keyword/index.js"],"names":[],"mappings":"AA4BW,+CAAgB,aAAa,2BAAmC;AAKhE,+CAAgB,aAAa,uDAAmC;AAKhE,iDAAgB,aAAa,yDAAqC;AAKlE,sDAAe,YAAY,8DAA0C;AAKrE,iDAAe,YAAY,yDAAqC;AAKhE,mDAAgB,aAAa,2DAAuC;AAKpE,gDAAW,eAAe,sDAAkC;AAK5D,+CAAW,eAAe,uDAAmC;AAK7D,iDAAW,eAAe,yDAAqC;AAK/D,mDAAc,WAAW,2DAAuC;AAKhE,+CAAc,WAAW,uDAAmC;AAK5D,+CAAc,WAAW,uDAAmC;AAhFvE;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,oCAAwB,qBAAqB,CAA2E;AAExH,sCAA8D;4BAtBjD,OAAO,YAAY,EAAE,aAAa;4BAClC,OAAO,YAAY,EAAE,aAAa;8BAClC,OAAO,YAAY,EAAE,eAAe;2BACpC,OAAO,YAAY,EAAE,YAAY;oCACjC,OAAO,YAAY,EAAE,qBAAqB;+BAC1C,OAAO,YAAY,EAAE,gBAAgB;4BACrC,OAAO,YAAY,EAAE,aAAa;gCAClC,OAAO,YAAY,EAAE,iBAAiB;8BACtC,OAAO,YAAY,EAAE,eAAe;mCACpC,OAAO,YAAY,EAAE,oBAAoB;gCACzC,OAAO,YAAY,EAAE,iBAAiB;iCACtC,OAAO,YAAY,EAAE,kBAAkB;kCACvC,OAAO,YAAY,EAAE,mBAAmB;8BACxC,OAAO,YAAY,EAAE,eAAe;8BACpC,OAAO,YAAY,EAAE,eAAe;0BACpC,OAAO,YAAY,EAAE,WAAW;gCAChC,OAAO,YAAY,EAAE,iBAAiB;;oBACP,GAAG;YAAxB,GAAG"}
|
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
let $id: string;
|
|
3
|
-
let $defs: {
|
|
4
|
-
"layout-keyword": {
|
|
5
|
-
title: string;
|
|
6
|
-
errorMessage: {
|
|
7
|
-
anyOf: string;
|
|
8
|
-
};
|
|
9
|
-
anyOf: {
|
|
10
|
-
$ref: string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
"partial-switch": {
|
|
14
|
-
type: string;
|
|
15
|
-
required: string[];
|
|
16
|
-
additionalProperties: boolean;
|
|
17
|
-
properties: {
|
|
18
|
-
switch: {
|
|
19
|
-
type: string;
|
|
20
|
-
items: {
|
|
21
|
-
$ref: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
"partial-comp-object": {
|
|
27
|
-
title: string;
|
|
28
|
-
type: string;
|
|
29
|
-
properties: {
|
|
30
|
-
comp: {
|
|
31
|
-
$ref: string;
|
|
32
|
-
};
|
|
33
|
-
help: {
|
|
34
|
-
type: string;
|
|
35
|
-
};
|
|
36
|
-
children: {
|
|
37
|
-
$ref: string;
|
|
38
|
-
};
|
|
39
|
-
label: {
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
hint: {
|
|
43
|
-
type: string[];
|
|
44
|
-
};
|
|
45
|
-
title: {
|
|
46
|
-
type: string[];
|
|
47
|
-
};
|
|
48
|
-
subtitle: {
|
|
49
|
-
type: string[];
|
|
50
|
-
};
|
|
51
|
-
step: {
|
|
52
|
-
type: string;
|
|
53
|
-
};
|
|
54
|
-
if: {
|
|
55
|
-
$ref: string;
|
|
56
|
-
};
|
|
57
|
-
items: {
|
|
58
|
-
type: string;
|
|
59
|
-
items: {
|
|
60
|
-
$ref: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
getItems: {
|
|
64
|
-
$ref: string;
|
|
65
|
-
};
|
|
66
|
-
listEditMode: {
|
|
67
|
-
type: string;
|
|
68
|
-
enum: string[];
|
|
69
|
-
};
|
|
70
|
-
listActions: {
|
|
71
|
-
type: string;
|
|
72
|
-
items: {
|
|
73
|
-
type: string;
|
|
74
|
-
enum: string[];
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
cols: {
|
|
78
|
-
$ref: string;
|
|
79
|
-
};
|
|
80
|
-
props: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
getProps: {
|
|
84
|
-
$ref: string;
|
|
85
|
-
};
|
|
86
|
-
slots: {
|
|
87
|
-
type: string;
|
|
88
|
-
patternProperties: {
|
|
89
|
-
".*": {
|
|
90
|
-
$ref: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
options: {
|
|
95
|
-
type: string;
|
|
96
|
-
};
|
|
97
|
-
getOptions: {
|
|
98
|
-
$ref: string;
|
|
99
|
-
};
|
|
100
|
-
messages: {
|
|
101
|
-
type: string;
|
|
102
|
-
};
|
|
103
|
-
defaultData: {};
|
|
104
|
-
getDefaultData: {
|
|
105
|
-
$ref: string;
|
|
106
|
-
};
|
|
107
|
-
constData: {};
|
|
108
|
-
getConstData: {
|
|
109
|
-
$ref: string;
|
|
110
|
-
};
|
|
111
|
-
transformData: {
|
|
112
|
-
$ref: string;
|
|
113
|
-
};
|
|
114
|
-
autofocus: {
|
|
115
|
-
type: string;
|
|
116
|
-
};
|
|
117
|
-
separator: {
|
|
118
|
-
type: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
"comp-name": {
|
|
123
|
-
title: string;
|
|
124
|
-
type: string;
|
|
125
|
-
};
|
|
126
|
-
"partial-child-ref": {
|
|
127
|
-
type: string;
|
|
128
|
-
required: string[];
|
|
129
|
-
additionalProperties: boolean;
|
|
130
|
-
properties: {
|
|
131
|
-
key: {
|
|
132
|
-
type: string[];
|
|
133
|
-
};
|
|
134
|
-
cols: {
|
|
135
|
-
$ref: string;
|
|
136
|
-
};
|
|
137
|
-
if: {
|
|
138
|
-
$ref: string;
|
|
139
|
-
};
|
|
140
|
-
slots: {
|
|
141
|
-
type: string;
|
|
142
|
-
patternProperties: {
|
|
143
|
-
".*": {
|
|
144
|
-
$ref: string;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
"partial-child-composite": {
|
|
151
|
-
type: string;
|
|
152
|
-
required: string[];
|
|
153
|
-
properties: {
|
|
154
|
-
comp: {
|
|
155
|
-
type: string;
|
|
156
|
-
};
|
|
157
|
-
title: {
|
|
158
|
-
type: string[];
|
|
159
|
-
};
|
|
160
|
-
subtitle: {
|
|
161
|
-
type: string[];
|
|
162
|
-
};
|
|
163
|
-
children: {
|
|
164
|
-
$ref: string;
|
|
165
|
-
};
|
|
166
|
-
cols: {
|
|
167
|
-
$ref: string;
|
|
168
|
-
};
|
|
169
|
-
if: {
|
|
170
|
-
$ref: string;
|
|
171
|
-
};
|
|
172
|
-
slots: {
|
|
173
|
-
type: string;
|
|
174
|
-
patternProperties: {
|
|
175
|
-
".*": {
|
|
176
|
-
$ref: string;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
"partial-child-slot": {
|
|
183
|
-
type: string;
|
|
184
|
-
properties: {
|
|
185
|
-
cols: {
|
|
186
|
-
$ref: string;
|
|
187
|
-
};
|
|
188
|
-
if: {
|
|
189
|
-
$ref: string;
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
oneOf: {
|
|
193
|
-
$ref: string;
|
|
194
|
-
}[];
|
|
195
|
-
};
|
|
196
|
-
"partial-child": {
|
|
197
|
-
anyOf: ({
|
|
198
|
-
type: string;
|
|
199
|
-
items?: undefined;
|
|
200
|
-
$ref?: undefined;
|
|
201
|
-
} | {
|
|
202
|
-
type: string;
|
|
203
|
-
items: {
|
|
204
|
-
$ref: string;
|
|
205
|
-
};
|
|
206
|
-
$ref?: undefined;
|
|
207
|
-
} | {
|
|
208
|
-
$ref: string;
|
|
209
|
-
type?: undefined;
|
|
210
|
-
items?: undefined;
|
|
211
|
-
})[];
|
|
212
|
-
};
|
|
213
|
-
"partial-children": {
|
|
214
|
-
type: string;
|
|
215
|
-
items: {
|
|
216
|
-
$ref: string;
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
"partial-expression": {
|
|
220
|
-
oneOf: ({
|
|
221
|
-
type: string;
|
|
222
|
-
$ref?: undefined;
|
|
223
|
-
} | {
|
|
224
|
-
$ref: string;
|
|
225
|
-
type?: undefined;
|
|
226
|
-
})[];
|
|
227
|
-
};
|
|
228
|
-
"partial-expression-obj": {
|
|
229
|
-
type: string;
|
|
230
|
-
required: string[];
|
|
231
|
-
properties: {
|
|
232
|
-
type: {
|
|
233
|
-
type: string;
|
|
234
|
-
enum: string[];
|
|
235
|
-
};
|
|
236
|
-
expr: {
|
|
237
|
-
type: string;
|
|
238
|
-
};
|
|
239
|
-
};
|
|
240
|
-
};
|
|
241
|
-
"partial-select-item": {
|
|
242
|
-
oneOf: ({
|
|
243
|
-
type: string;
|
|
244
|
-
properties?: undefined;
|
|
245
|
-
} | {
|
|
246
|
-
type: string;
|
|
247
|
-
properties: {
|
|
248
|
-
key: {
|
|
249
|
-
type: string;
|
|
250
|
-
};
|
|
251
|
-
title: {
|
|
252
|
-
type: string;
|
|
253
|
-
};
|
|
254
|
-
value: {};
|
|
255
|
-
};
|
|
256
|
-
})[];
|
|
257
|
-
};
|
|
258
|
-
"partial-get-items": {
|
|
259
|
-
oneOf: ({
|
|
260
|
-
type: string;
|
|
261
|
-
$ref?: undefined;
|
|
262
|
-
} | {
|
|
263
|
-
$ref: string;
|
|
264
|
-
type?: undefined;
|
|
265
|
-
})[];
|
|
266
|
-
};
|
|
267
|
-
"partial-get-items-obj": {
|
|
268
|
-
type: string;
|
|
269
|
-
allOf: ({
|
|
270
|
-
properties: {
|
|
271
|
-
itemTitle: {
|
|
272
|
-
$ref: string;
|
|
273
|
-
};
|
|
274
|
-
itemKey: {
|
|
275
|
-
$ref: string;
|
|
276
|
-
};
|
|
277
|
-
itemValue: {
|
|
278
|
-
$ref: string;
|
|
279
|
-
};
|
|
280
|
-
itemIcon: {
|
|
281
|
-
$ref: string;
|
|
282
|
-
};
|
|
283
|
-
itemsResults: {
|
|
284
|
-
$ref: string;
|
|
285
|
-
};
|
|
286
|
-
};
|
|
287
|
-
anyOf?: undefined;
|
|
288
|
-
} | {
|
|
289
|
-
anyOf: ({
|
|
290
|
-
type: string;
|
|
291
|
-
$ref?: undefined;
|
|
292
|
-
} | {
|
|
293
|
-
$ref: string;
|
|
294
|
-
type?: undefined;
|
|
295
|
-
})[];
|
|
296
|
-
properties?: undefined;
|
|
297
|
-
})[];
|
|
298
|
-
};
|
|
299
|
-
"partial-get-items-fetch": {
|
|
300
|
-
type: string;
|
|
301
|
-
required: string[];
|
|
302
|
-
properties: {
|
|
303
|
-
url: {
|
|
304
|
-
$ref: string;
|
|
305
|
-
};
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
"partial-cols": {
|
|
309
|
-
oneOf: {
|
|
310
|
-
$ref: string;
|
|
311
|
-
}[];
|
|
312
|
-
};
|
|
313
|
-
"partial-cols-obj": {
|
|
314
|
-
type: string;
|
|
315
|
-
additionalProperties: boolean;
|
|
316
|
-
properties: {
|
|
317
|
-
xs: {
|
|
318
|
-
$ref: string;
|
|
319
|
-
};
|
|
320
|
-
sm: {
|
|
321
|
-
$ref: string;
|
|
322
|
-
};
|
|
323
|
-
md: {
|
|
324
|
-
$ref: string;
|
|
325
|
-
};
|
|
326
|
-
lg: {
|
|
327
|
-
$ref: string;
|
|
328
|
-
};
|
|
329
|
-
xl: {
|
|
330
|
-
$ref: string;
|
|
331
|
-
};
|
|
332
|
-
xxl: {
|
|
333
|
-
$ref: string;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
"partial-cols-number": {
|
|
338
|
-
type: string;
|
|
339
|
-
minimum: number;
|
|
340
|
-
maximum: number;
|
|
341
|
-
};
|
|
342
|
-
"partial-slot": {
|
|
343
|
-
oneOf: ({
|
|
344
|
-
type: string;
|
|
345
|
-
$ref?: undefined;
|
|
346
|
-
} | {
|
|
347
|
-
$ref: string;
|
|
348
|
-
type?: undefined;
|
|
349
|
-
})[];
|
|
350
|
-
};
|
|
351
|
-
"partial-slot-text": {
|
|
352
|
-
type: string;
|
|
353
|
-
additionalProperties: boolean;
|
|
354
|
-
required: string[];
|
|
355
|
-
properties: {
|
|
356
|
-
text: {
|
|
357
|
-
type: string;
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
"partial-slot-markdown": {
|
|
362
|
-
type: string;
|
|
363
|
-
additionalProperties: boolean;
|
|
364
|
-
required: string[];
|
|
365
|
-
properties: {
|
|
366
|
-
markdown: {
|
|
367
|
-
type: string;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
"partial-slot-name": {
|
|
372
|
-
type: string;
|
|
373
|
-
additionalProperties: boolean;
|
|
374
|
-
required: string[];
|
|
375
|
-
properties: {
|
|
376
|
-
name: {
|
|
377
|
-
type: string;
|
|
378
|
-
};
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
}
|
|
383
|
-
export default _default;
|
|
384
|
-
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/layout-keyword/schema.js"],"names":[],"mappings":""}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
3
|
-
* via the `definition` "layout-keyword".
|
|
4
|
-
*/
|
|
5
|
-
export type LayoutKeyword = ComponentName | PartialChildren | PartialCompObject | PartialSwitch;
|
|
6
|
-
/**
|
|
7
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
8
|
-
* via the `definition` "comp-name".
|
|
9
|
-
*/
|
|
10
|
-
export type ComponentName = string;
|
|
11
|
-
/**
|
|
12
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
13
|
-
* via the `definition` "partial-child".
|
|
14
|
-
*/
|
|
15
|
-
export type PartialChild = string | PartialChild[] | PartialChildRef | PartialChildComposite | PartialChildSlot;
|
|
16
|
-
/**
|
|
17
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
18
|
-
* via the `definition` "partial-cols".
|
|
19
|
-
*/
|
|
20
|
-
export type PartialCols = PartialColsNumber | PartialColsObj;
|
|
21
|
-
/**
|
|
22
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
23
|
-
* via the `definition` "partial-cols-number".
|
|
24
|
-
*/
|
|
25
|
-
export type PartialColsNumber = number;
|
|
26
|
-
/**
|
|
27
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
28
|
-
* via the `definition` "partial-expression".
|
|
29
|
-
*/
|
|
30
|
-
export type PartialExpression = string | PartialExpressionObj;
|
|
31
|
-
/**
|
|
32
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
33
|
-
* via the `patternProperty` ".*".
|
|
34
|
-
*
|
|
35
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
36
|
-
* via the `patternProperty` ".*".
|
|
37
|
-
*
|
|
38
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
39
|
-
* via the `patternProperty` ".*".
|
|
40
|
-
*
|
|
41
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
42
|
-
* via the `definition` "partial-slot".
|
|
43
|
-
*/
|
|
44
|
-
export type PartialSlot = string | PartialSlotText | PartialSlotMarkdown | PartialSlotName;
|
|
45
|
-
export type PartialChildSlot = {
|
|
46
|
-
cols?: PartialCols;
|
|
47
|
-
if?: PartialExpression;
|
|
48
|
-
[k: string]: unknown;
|
|
49
|
-
} & PartialChildSlot1;
|
|
50
|
-
/**
|
|
51
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
52
|
-
* via the `definition` "partial-child-slot".
|
|
53
|
-
*/
|
|
54
|
-
export type PartialChildSlot1 = PartialSlotText | PartialSlotMarkdown | PartialSlotName;
|
|
55
|
-
/**
|
|
56
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
57
|
-
* via the `definition` "partial-children".
|
|
58
|
-
*/
|
|
59
|
-
export type PartialChildren = PartialChild[];
|
|
60
|
-
/**
|
|
61
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
62
|
-
* via the `definition` "partial-select-item".
|
|
63
|
-
*/
|
|
64
|
-
export type PartialSelectItem = string | {
|
|
65
|
-
key?: string;
|
|
66
|
-
title?: string;
|
|
67
|
-
value?: unknown;
|
|
68
|
-
[k: string]: unknown;
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
72
|
-
* via the `definition` "partial-get-items".
|
|
73
|
-
*/
|
|
74
|
-
export type PartialGetItems = string | PartialGetItemsObj;
|
|
75
|
-
/**
|
|
76
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
77
|
-
* via the `definition` "partial-get-items-obj".
|
|
78
|
-
*/
|
|
79
|
-
export type PartialGetItemsObj = {
|
|
80
|
-
itemTitle?: PartialExpression;
|
|
81
|
-
itemKey?: PartialExpression;
|
|
82
|
-
itemValue?: PartialExpression;
|
|
83
|
-
itemIcon?: PartialExpression;
|
|
84
|
-
itemsResults?: PartialExpression;
|
|
85
|
-
[k: string]: unknown;
|
|
86
|
-
} & ({
|
|
87
|
-
[k: string]: unknown;
|
|
88
|
-
} | PartialExpressionObj | PartialGetItemsFetch);
|
|
89
|
-
export interface HttpsJsonLayoutGithubIoLayoutKeyword {
|
|
90
|
-
[k: string]: unknown;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
94
|
-
* via the `definition` "partial-child-ref".
|
|
95
|
-
*/
|
|
96
|
-
export interface PartialChildRef {
|
|
97
|
-
key: string | number;
|
|
98
|
-
cols?: PartialCols;
|
|
99
|
-
if?: PartialExpression;
|
|
100
|
-
slots?: {
|
|
101
|
-
[k: string]: PartialSlot;
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
106
|
-
* via the `definition` "partial-cols-obj".
|
|
107
|
-
*/
|
|
108
|
-
export interface PartialColsObj {
|
|
109
|
-
xs?: PartialColsNumber;
|
|
110
|
-
sm?: PartialColsNumber;
|
|
111
|
-
md?: PartialColsNumber;
|
|
112
|
-
lg?: PartialColsNumber;
|
|
113
|
-
xl?: PartialColsNumber;
|
|
114
|
-
xxl?: PartialColsNumber;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
118
|
-
* via the `definition` "partial-expression-obj".
|
|
119
|
-
*/
|
|
120
|
-
export interface PartialExpressionObj {
|
|
121
|
-
type?: "js-fn" | "js-eval" | "js-tpl";
|
|
122
|
-
expr: string;
|
|
123
|
-
[k: string]: unknown;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
127
|
-
* via the `definition` "partial-slot-text".
|
|
128
|
-
*/
|
|
129
|
-
export interface PartialSlotText {
|
|
130
|
-
text: string;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
134
|
-
* via the `definition` "partial-slot-markdown".
|
|
135
|
-
*/
|
|
136
|
-
export interface PartialSlotMarkdown {
|
|
137
|
-
markdown: string;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
141
|
-
* via the `definition` "partial-slot-name".
|
|
142
|
-
*/
|
|
143
|
-
export interface PartialSlotName {
|
|
144
|
-
name: string;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
148
|
-
* via the `definition` "partial-child-composite".
|
|
149
|
-
*/
|
|
150
|
-
export interface PartialChildComposite {
|
|
151
|
-
comp?: string;
|
|
152
|
-
title?: string | null;
|
|
153
|
-
subtitle?: string | null;
|
|
154
|
-
children: PartialChildren;
|
|
155
|
-
cols?: PartialCols;
|
|
156
|
-
if?: PartialExpression;
|
|
157
|
-
slots?: {
|
|
158
|
-
[k: string]: PartialSlot;
|
|
159
|
-
};
|
|
160
|
-
[k: string]: unknown;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
164
|
-
* via the `definition` "partial-comp-object".
|
|
165
|
-
*/
|
|
166
|
-
export interface PartialCompObject {
|
|
167
|
-
comp?: ComponentName;
|
|
168
|
-
help?: string;
|
|
169
|
-
children?: PartialChildren;
|
|
170
|
-
label?: string;
|
|
171
|
-
hint?: string | null;
|
|
172
|
-
title?: string | null;
|
|
173
|
-
subtitle?: string | null;
|
|
174
|
-
step?: number;
|
|
175
|
-
if?: PartialExpression;
|
|
176
|
-
items?: PartialSelectItem[];
|
|
177
|
-
getItems?: PartialGetItems;
|
|
178
|
-
listEditMode?: "inline" | "inline-single" | "menu" | "dialog";
|
|
179
|
-
listActions?: ("add" | "edit" | "delete" | "sort" | "duplicate")[];
|
|
180
|
-
cols?: PartialCols;
|
|
181
|
-
props?: {
|
|
182
|
-
[k: string]: unknown;
|
|
183
|
-
};
|
|
184
|
-
getProps?: PartialExpression;
|
|
185
|
-
slots?: {
|
|
186
|
-
[k: string]: PartialSlot;
|
|
187
|
-
};
|
|
188
|
-
options?: {
|
|
189
|
-
[k: string]: unknown;
|
|
190
|
-
};
|
|
191
|
-
getOptions?: PartialExpression;
|
|
192
|
-
messages?: {
|
|
193
|
-
[k: string]: unknown;
|
|
194
|
-
};
|
|
195
|
-
defaultData?: unknown;
|
|
196
|
-
getDefaultData?: PartialExpression;
|
|
197
|
-
constData?: unknown;
|
|
198
|
-
getConstData?: PartialExpression;
|
|
199
|
-
transformData?: PartialExpression;
|
|
200
|
-
autofocus?: boolean;
|
|
201
|
-
separator?: string;
|
|
202
|
-
[k: string]: unknown;
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
206
|
-
* via the `definition` "partial-get-items-fetch".
|
|
207
|
-
*/
|
|
208
|
-
export interface PartialGetItemsFetch {
|
|
209
|
-
url: PartialExpression;
|
|
210
|
-
[k: string]: unknown;
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
|
|
214
|
-
* via the `definition` "partial-switch".
|
|
215
|
-
*/
|
|
216
|
-
export interface PartialSwitch {
|
|
217
|
-
switch: PartialCompObject[];
|
|
218
|
-
}
|
|
219
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file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