@json-layout/vocabulary 0.1.0 → 0.3.0
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 +4 -2
- package/src/layout-keyword/schema.js +51 -19
- package/src/layout-keyword/schema.json +32 -12
- package/src/layout-keyword/types.ts +18 -3
- package/src/layout-keyword/validate.js +1 -1
- package/src/normalize.js +244 -110
- package/src/normalized-layout/index.js +16 -1
- package/src/normalized-layout/schema.js +219 -31
- package/src/normalized-layout/schema.json +101 -20
- package/src/normalized-layout/types.ts +69 -7
- package/src/normalized-layout/validate.js +1 -1
- package/src/types.ts +2 -0
- package/types/layout-keyword/schema.d.ts +47 -20
- package/types/layout-keyword/types.d.ts +8 -3
- package/types/layout-keyword/types.d.ts.map +1 -1
- package/types/layout-keyword/validate.d.ts +3 -4
- package/types/layout-keyword/validate.d.ts.map +1 -1
- package/types/normalize.d.ts +5 -2
- package/types/normalize.d.ts.map +1 -1
- package/types/normalized-layout/index.d.ts +11 -0
- package/types/normalized-layout/index.d.ts.map +1 -1
- package/types/normalized-layout/schema.d.ts +179 -28
- package/types/normalized-layout/types.d.ts +65 -8
- package/types/normalized-layout/types.d.ts.map +1 -1
- package/types/normalized-layout/validate.d.ts +3 -3
- package/types/normalized-layout/validate.d.ts.map +1 -1
- package/types/types.d.ts +2 -0
- package/types/types.d.ts.map +1 -1
package/src/types.ts
CHANGED
|
@@ -6,12 +6,14 @@ export interface SchemaFragment {
|
|
|
6
6
|
type: string
|
|
7
7
|
format?: string
|
|
8
8
|
title?: string
|
|
9
|
+
description?: string
|
|
9
10
|
properties?: Record<string, any>
|
|
10
11
|
oneOf?: any[]
|
|
11
12
|
anyOf?: any[]
|
|
12
13
|
allOf?: any[]
|
|
13
14
|
items?: any
|
|
14
15
|
enum?: any[]
|
|
16
|
+
examples?: any[]
|
|
15
17
|
minimum?: number
|
|
16
18
|
maximum?: number
|
|
17
19
|
formatMinimum?: string
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
let $id: string;
|
|
3
|
-
let title: string;
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export let $id: string;
|
|
3
|
+
export let title: string;
|
|
4
|
+
export namespace errorMessage {
|
|
5
|
+
let anyOf: string;
|
|
6
|
+
}
|
|
7
|
+
let anyOf_1: {
|
|
6
8
|
$ref: string;
|
|
7
9
|
}[];
|
|
8
|
-
|
|
10
|
+
export { anyOf_1 as anyOf };
|
|
11
|
+
export let $defs: {
|
|
9
12
|
"partial-switch": {
|
|
10
13
|
type: string;
|
|
11
14
|
required: string[];
|
|
@@ -87,11 +90,23 @@ declare namespace _default {
|
|
|
87
90
|
messages: {
|
|
88
91
|
type: string;
|
|
89
92
|
};
|
|
93
|
+
defaultData: {
|
|
94
|
+
$ref: string;
|
|
95
|
+
};
|
|
96
|
+
constData: {
|
|
97
|
+
$ref: string;
|
|
98
|
+
};
|
|
99
|
+
autofocus: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
90
102
|
};
|
|
91
103
|
};
|
|
92
104
|
"comp-name": {
|
|
93
105
|
title: string;
|
|
94
106
|
type: string;
|
|
107
|
+
errorMessage: {
|
|
108
|
+
enum: string;
|
|
109
|
+
};
|
|
95
110
|
enum: string[];
|
|
96
111
|
};
|
|
97
112
|
"partial-child": {
|
|
@@ -173,23 +188,35 @@ declare namespace _default {
|
|
|
173
188
|
};
|
|
174
189
|
"partial-get-items-obj": {
|
|
175
190
|
type: string;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
191
|
+
allOf: ({
|
|
192
|
+
properties: {
|
|
193
|
+
itemTitle: {
|
|
194
|
+
$ref: string;
|
|
195
|
+
};
|
|
196
|
+
itemKey: {
|
|
197
|
+
$ref: string;
|
|
198
|
+
};
|
|
199
|
+
itemValue: {
|
|
200
|
+
$ref: string;
|
|
201
|
+
};
|
|
202
|
+
itemIcon: {
|
|
203
|
+
$ref: string;
|
|
204
|
+
};
|
|
205
|
+
itemsResults: {
|
|
206
|
+
$ref: string;
|
|
207
|
+
};
|
|
185
208
|
};
|
|
186
|
-
|
|
209
|
+
anyOf?: undefined;
|
|
210
|
+
} | {
|
|
211
|
+
anyOf: ({
|
|
212
|
+
type: string;
|
|
213
|
+
$ref?: undefined;
|
|
214
|
+
} | {
|
|
187
215
|
$ref: string;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}[];
|
|
216
|
+
type?: undefined;
|
|
217
|
+
})[];
|
|
218
|
+
properties?: undefined;
|
|
219
|
+
})[];
|
|
193
220
|
};
|
|
194
221
|
"partial-get-items-fetch": {
|
|
195
222
|
type: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type LayoutKeyword = ComponentName | PartialChildren | PartialCompObject | PartialSwitch;
|
|
2
|
-
export type ComponentName = "none" | "text-field" | "number-field" | "textarea" | "checkbox" | "switch" | "slider" | "date-picker" | "date-time-picker" | "time-picker" | "color-picker" | "section" | "list" | "select" | "tabs" | "vertical-tabs" | "expansion-panels";
|
|
2
|
+
export type ComponentName = "none" | "text-field" | "number-field" | "textarea" | "markdown" | "checkbox" | "switch" | "slider" | "date-picker" | "date-time-picker" | "time-picker" | "color-picker" | "combobox" | "number-combobox" | "section" | "list" | "select" | "autocomplete" | "tabs" | "vertical-tabs" | "expansion-panels" | "stepper" | "one-of-select";
|
|
3
3
|
export type PartialChild = PartialChild1 & {
|
|
4
4
|
key?: string | number;
|
|
5
5
|
cols?: PartialCols;
|
|
@@ -18,10 +18,12 @@ export type PartialGetItemsObj = {
|
|
|
18
18
|
itemTitle?: PartialExpression;
|
|
19
19
|
itemKey?: PartialExpression;
|
|
20
20
|
itemValue?: PartialExpression;
|
|
21
|
+
itemIcon?: PartialExpression;
|
|
21
22
|
itemsResults?: PartialExpression;
|
|
22
23
|
[k: string]: unknown;
|
|
23
|
-
} &
|
|
24
|
-
|
|
24
|
+
} & ({
|
|
25
|
+
[k: string]: unknown;
|
|
26
|
+
} | PartialExpressionObj | PartialGetItemsFetch);
|
|
25
27
|
export type PartialCols = PartialColsNumber | PartialColsObj;
|
|
26
28
|
export type PartialColsNumber = number;
|
|
27
29
|
/**
|
|
@@ -56,6 +58,9 @@ export interface PartialCompObject {
|
|
|
56
58
|
messages?: {
|
|
57
59
|
[k: string]: unknown;
|
|
58
60
|
};
|
|
61
|
+
defaultData?: PartialExpression;
|
|
62
|
+
constData?: PartialExpression;
|
|
63
|
+
autofocus?: boolean;
|
|
59
64
|
[k: string]: unknown;
|
|
60
65
|
}
|
|
61
66
|
export interface PartialExpressionObj {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/layout-keyword/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,eAAe,GAAG,iBAAiB,GAAG,aAAa,CAAC;AAChG,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,YAAY,GACZ,cAAc,GACd,UAAU,GACV,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,kBAAkB,GAClB,aAAa,GACb,cAAc,GACd,SAAS,GACT,MAAM,GACN,QAAQ,GACR,MAAM,GACN,eAAe,GACf,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/layout-keyword/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,eAAe,GAAG,iBAAiB,GAAG,aAAa,CAAC;AAChG,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,YAAY,GACZ,cAAc,GACd,UAAU,GACV,UAAU,GACV,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,kBAAkB,GAClB,aAAa,GACb,cAAc,GACd,UAAU,GACV,iBAAiB,GACjB,SAAS,GACT,MAA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WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,iBAAiB,CAAC;IACvB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,GAAG,CAAC,EAAE,iBAAiB,CAAC;CACzB;AACD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,iBAAiB,EAAE,CAAC;CAC7B"}
|
|
@@ -7,18 +7,17 @@ export function validate(data: any, { instancePath, parentData, parentDataProper
|
|
|
7
7
|
}): boolean;
|
|
8
8
|
export namespace validate {
|
|
9
9
|
namespace evaluated {
|
|
10
|
-
let props: boolean;
|
|
11
10
|
let dynamicProps: boolean;
|
|
12
11
|
let dynamicItems: boolean;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
|
-
export default
|
|
16
|
-
declare function
|
|
14
|
+
export default validate22;
|
|
15
|
+
declare function validate22(data: any, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors }?: {
|
|
17
16
|
instancePath?: string | undefined;
|
|
18
17
|
parentData: any;
|
|
19
18
|
parentDataProperty: any;
|
|
20
19
|
rootData?: any;
|
|
21
20
|
dynamicAnchors?: {} | undefined;
|
|
22
21
|
}): boolean;
|
|
23
|
-
declare namespace
|
|
22
|
+
declare namespace validate22 { }
|
|
24
23
|
//# sourceMappingURL=validate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/layout-keyword/validate.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/layout-keyword/validate.js"],"names":[],"mappings":"AACqgoD;;;;;;YAAy+J;;;;;;;;AAAz+J;;;;;;YAAy+J"}
|
package/types/normalize.d.ts
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
* @param {string} schemaPath
|
|
4
4
|
* @param {(text: string) => string} markdown
|
|
5
5
|
* @param {'oneOf'} [arrayChild]
|
|
6
|
-
* @returns {NormalizedLayout}
|
|
6
|
+
* @returns {{layout: NormalizedLayout, errors: string[]}}
|
|
7
7
|
*/
|
|
8
|
-
export function normalizeLayoutFragment(schemaFragment: SchemaFragment, schemaPath: string, markdown?: (text: string) => string, arrayChild?: "oneOf" | undefined):
|
|
8
|
+
export function normalizeLayoutFragment(schemaFragment: SchemaFragment, schemaPath: string, markdown?: (text: string) => string, arrayChild?: "oneOf" | undefined): {
|
|
9
|
+
layout: NormalizedLayout;
|
|
10
|
+
errors: string[];
|
|
11
|
+
};
|
|
9
12
|
export type Child = import('./index.js').Child;
|
|
10
13
|
export type Children = import('./index.js').Children;
|
|
11
14
|
export type CompObject = import('./index.js').CompObject;
|
package/types/normalize.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../src/normalize.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../src/normalize.js"],"names":[],"mappings":"AA+ZA;;;;;;GAMG;AACH,wDANW,cAAc,cACd,MAAM,oBACC,MAAM,KAAK,MAAM,qCAEtB;IAAC,MAAM,EAAE,gBAAgB,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAC,CA0BxD;oBA1bY,OAAO,YAAY,EAAE,KAAK;uBAC1B,OAAO,YAAY,EAAE,QAAQ;yBAC7B,OAAO,YAAY,EAAE,UAAU;yBAC/B,OAAO,YAAY,EAAE,UAAU;+BAC/B,OAAO,YAAY,EAAE,gBAAgB;4BACrC,OAAO,YAAY,EAAE,aAAa;8BAClC,OAAO,YAAY,EAAE,eAAe;gCACpC,OAAO,YAAY,EAAE,iBAAiB;6BACtC,OAAO,YAAY,EAAE,cAAc"}
|
|
@@ -9,6 +9,10 @@ export function isSectionLayout(layout: CompObject): layout is import("./types.j
|
|
|
9
9
|
export function isCompositeLayout(layout: CompObject): layout is import("./types.js").CompositeCompObject;
|
|
10
10
|
export function isTextFieldLayout(layout: CompObject): layout is import("./types.js").TextField;
|
|
11
11
|
export function isSelectLayout(layout: CompObject): layout is import("./types.js").Select;
|
|
12
|
+
export function isFocusableLayout(layout: CompObject): layout is import("./types.js").CompObject & {
|
|
13
|
+
autofocus: boolean;
|
|
14
|
+
};
|
|
15
|
+
export function isItemsLayout(layout: CompObject): layout is import("./types.js").Combobox | import("./types.js").Select | import("./types.js").Autocomplete;
|
|
12
16
|
export function isGetItemsExpression(getItems: GetItems): getItems is import("./types.js").Expression;
|
|
13
17
|
export function isGetItemsFetch(getItems: GetItems): getItems is import("./types.js").GetItemsFetch;
|
|
14
18
|
export function isTextSlot(slot: Slot): slot is {
|
|
@@ -28,6 +32,7 @@ export function isNameSlot(slot: Slot): slot is {
|
|
|
28
32
|
* @typedef {import('./types.js').GetItems} GetItems
|
|
29
33
|
* @typedef {import('./types.js').Expression} Expression
|
|
30
34
|
* @typedef {import('./types.js').Select} Select
|
|
35
|
+
* @typedef {import('./types.js').Autocomplete} Autocomplete
|
|
31
36
|
* @typedef {import('./types.js').SelectItem} SelectItem
|
|
32
37
|
* @typedef {import('./types.js').SelectItems} SelectItems
|
|
33
38
|
* @typedef {import('./types.js').GetItemsFetch} GetItemsFetch
|
|
@@ -48,7 +53,9 @@ export function isNameSlot(slot: Slot): slot is {
|
|
|
48
53
|
* @typedef {import('./types.js').Tabs} Tabs
|
|
49
54
|
* @typedef {import('./types.js').VerticalTabs} VerticalTabs
|
|
50
55
|
* @typedef {import('./types.js').ExpansionPanels} ExpansionPanels
|
|
56
|
+
* @typedef {import('./types.js').Stepper} Stepper
|
|
51
57
|
* @typedef {import('./types.js').List} List
|
|
58
|
+
* @typedef {import('./types.js').Combobox} Combobox
|
|
52
59
|
* @typedef {import('./types.js').Cols} Cols
|
|
53
60
|
* @typedef {import('./types.js').ColsObj} ColsObj
|
|
54
61
|
* @typedef {import('./types.js').StateNodeOptions} StateNodeOptions
|
|
@@ -57,6 +64,7 @@ export function isNameSlot(slot: Slot): slot is {
|
|
|
57
64
|
*/
|
|
58
65
|
export const validateNormalizedLayout: ValidateNormalizedLayout;
|
|
59
66
|
export const normalizedLayoutSchema: any;
|
|
67
|
+
export const compositeCompNames: string[];
|
|
60
68
|
export type NormalizedLayout = import('./types.js').NormalizedLayout;
|
|
61
69
|
export type SwitchStruct = import('./types.js').SwitchStruct;
|
|
62
70
|
export type CompObject = import('./types.js').CompObject;
|
|
@@ -64,6 +72,7 @@ export type Section = import('./types.js').Section;
|
|
|
64
72
|
export type GetItems = import('./types.js').GetItems;
|
|
65
73
|
export type Expression = import('./types.js').Expression;
|
|
66
74
|
export type Select = import('./types.js').Select;
|
|
75
|
+
export type Autocomplete = import('./types.js').Autocomplete;
|
|
67
76
|
export type SelectItem = import('./types.js').SelectItem;
|
|
68
77
|
export type SelectItems = import('./types.js').SelectItems;
|
|
69
78
|
export type GetItemsFetch = import('./types.js').GetItemsFetch;
|
|
@@ -84,7 +93,9 @@ export type CompositeCompObject = import('./types.js').CompositeCompObject;
|
|
|
84
93
|
export type Tabs = import('./types.js').Tabs;
|
|
85
94
|
export type VerticalTabs = import('./types.js').VerticalTabs;
|
|
86
95
|
export type ExpansionPanels = import('./types.js').ExpansionPanels;
|
|
96
|
+
export type Stepper = import('./types.js').Stepper;
|
|
87
97
|
export type List = import('./types.js').List;
|
|
98
|
+
export type Combobox = import('./types.js').Combobox;
|
|
88
99
|
export type Cols = import('./types.js').Cols;
|
|
89
100
|
export type ColsObj = import('./types.js').ColsObj;
|
|
90
101
|
export type StateNodeOptions = import('./types.js').StateNodeOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/index.js"],"names":[],"mappings":"AA8CW,uCAAS,gBAAgB,+CAA2B;AAKpD,qCAAS,gBAAgB,6CAAyB;AAKlD,yCAAQ,KAAK;;;;6CAAyC;AAKtD,wCAAS,UAAU,0CAAsB;AAOzC,0CAAS,UAAU,sDAAkC;AAKrD,0CAAS,UAAU,4CAAwB;AAK3C,uCAAS,UAAU,yCAAqB;AAKxC,0CAAS,UAAU;eAAwC,OAAO;EAAC;AAKnE,sCAAS,UAAU,6GAA+C;AAKlE,+CAAW,QAAQ,+CAA2B;AAK9C,0CAAW,QAAQ,kDAA8B;AAKjD,iCAAO,IAAI;UAAoB,MAAM;EAAC;AAMtC,qCAAO,IAAI;cAAwB,MAAM;EAAC;AAM1C,iCAAO,IAAI;UAAoB,MAAM;EAAC;AAhHjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,uCAAwB,wBAAwB,CAA6D;AAE7G,yCAAiE;AAsBjE,0CAAqG;+BA9DxF,OAAO,YAAY,EAAE,gBAAgB;2BACrC,OAAO,YAAY,EAAE,YAAY;yBACjC,OAAO,YAAY,EAAE,UAAU;sBAC/B,OAAO,YAAY,EAAE,OAAO;uBAC5B,OAAO,YAAY,EAAE,QAAQ;yBAC7B,OAAO,YAAY,EAAE,UAAU;qBAC/B,OAAO,YAAY,EAAE,MAAM;2BAC3B,OAAO,YAAY,EAAE,YAAY;yBACjC,OAAO,YAAY,EAAE,UAAU;0BAC/B,OAAO,YAAY,EAAE,WAAW;4BAChC,OAAO,YAAY,EAAE,aAAa;wBAClC,OAAO,YAAY,EAAE,SAAS;uBAC9B,OAAO,YAAY,EAAE,QAAQ;0BAC7B,OAAO,YAAY,EAAE,WAAW;qBAChC,OAAO,YAAY,EAAE,MAAM;uBAC3B,OAAO,YAAY,EAAE,QAAQ;qBAC7B,OAAO,YAAY,EAAE,MAAM;yBAC3B,OAAO,YAAY,EAAE,UAAU;yBAC/B,OAAO,YAAY,EAAE,UAAU;6BAC/B,OAAO,YAAY,EAAE,cAAc;0BACnC,OAAO,YAAY,EAAE,WAAW;0BAChC,OAAO,YAAY,EAAE,WAAW;oBAChC,OAAO,YAAY,EAAE,KAAK;uBAC1B,OAAO,YAAY,EAAE,QAAQ;kCAC7B,OAAO,YAAY,EAAE,mBAAmB;mBACxC,OAAO,YAAY,EAAE,IAAI;2BACzB,OAAO,YAAY,EAAE,YAAY;8BACjC,OAAO,YAAY,EAAE,eAAe;sBACpC,OAAO,YAAY,EAAE,OAAO;mBAC5B,OAAO,YAAY,EAAE,IAAI;uBACzB,OAAO,YAAY,EAAE,QAAQ;mBAC7B,OAAO,YAAY,EAAE,IAAI;sBACzB,OAAO,YAAY,EAAE,OAAO;+BAC5B,OAAO,YAAY,EAAE,gBAAgB;mBACrC,OAAO,YAAY,EAAE,IAAI;;oBACM,GAAG;YAAxB,GAAG"}
|
|
@@ -27,6 +27,15 @@ declare namespace _default {
|
|
|
27
27
|
if: {
|
|
28
28
|
$ref: string;
|
|
29
29
|
};
|
|
30
|
+
defaultData: {
|
|
31
|
+
$ref: string;
|
|
32
|
+
};
|
|
33
|
+
constData: {
|
|
34
|
+
$ref: string;
|
|
35
|
+
};
|
|
36
|
+
nullable: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
30
39
|
help: {
|
|
31
40
|
type: string;
|
|
32
41
|
};
|
|
@@ -162,6 +171,24 @@ declare namespace _default {
|
|
|
162
171
|
};
|
|
163
172
|
};
|
|
164
173
|
};
|
|
174
|
+
stepper: {
|
|
175
|
+
type: string;
|
|
176
|
+
required: string[];
|
|
177
|
+
properties: {
|
|
178
|
+
comp: {
|
|
179
|
+
const: string;
|
|
180
|
+
};
|
|
181
|
+
title: {
|
|
182
|
+
type: string[];
|
|
183
|
+
};
|
|
184
|
+
subtitle: {
|
|
185
|
+
type: string[];
|
|
186
|
+
};
|
|
187
|
+
children: {
|
|
188
|
+
$ref: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
165
192
|
child: {
|
|
166
193
|
type: string;
|
|
167
194
|
unevaluatedProperties: boolean;
|
|
@@ -246,6 +273,9 @@ declare namespace _default {
|
|
|
246
273
|
label: {
|
|
247
274
|
type: string;
|
|
248
275
|
};
|
|
276
|
+
autofocus: {
|
|
277
|
+
type: string;
|
|
278
|
+
};
|
|
249
279
|
};
|
|
250
280
|
};
|
|
251
281
|
"number-field": {
|
|
@@ -258,6 +288,9 @@ declare namespace _default {
|
|
|
258
288
|
label: {
|
|
259
289
|
type: string;
|
|
260
290
|
};
|
|
291
|
+
autofocus: {
|
|
292
|
+
type: string;
|
|
293
|
+
};
|
|
261
294
|
step: {
|
|
262
295
|
type: string;
|
|
263
296
|
};
|
|
@@ -279,6 +312,24 @@ declare namespace _default {
|
|
|
279
312
|
label: {
|
|
280
313
|
type: string;
|
|
281
314
|
};
|
|
315
|
+
autofocus: {
|
|
316
|
+
type: string;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
markdown: {
|
|
321
|
+
type: string;
|
|
322
|
+
required: string[];
|
|
323
|
+
properties: {
|
|
324
|
+
comp: {
|
|
325
|
+
const: string;
|
|
326
|
+
};
|
|
327
|
+
label: {
|
|
328
|
+
type: string;
|
|
329
|
+
};
|
|
330
|
+
autofocus: {
|
|
331
|
+
type: string;
|
|
332
|
+
};
|
|
282
333
|
};
|
|
283
334
|
};
|
|
284
335
|
checkbox: {
|
|
@@ -403,7 +454,7 @@ declare namespace _default {
|
|
|
403
454
|
};
|
|
404
455
|
};
|
|
405
456
|
};
|
|
406
|
-
|
|
457
|
+
combobox: {
|
|
407
458
|
type: string;
|
|
408
459
|
required: string[];
|
|
409
460
|
properties: {
|
|
@@ -413,56 +464,154 @@ declare namespace _default {
|
|
|
413
464
|
label: {
|
|
414
465
|
type: string;
|
|
415
466
|
};
|
|
467
|
+
autofocus: {
|
|
468
|
+
type: string;
|
|
469
|
+
};
|
|
416
470
|
items: {
|
|
417
471
|
$ref: string;
|
|
418
472
|
};
|
|
419
473
|
getItems: {
|
|
420
474
|
$ref: string;
|
|
421
475
|
};
|
|
476
|
+
multiple: {
|
|
477
|
+
type: string;
|
|
478
|
+
};
|
|
422
479
|
};
|
|
423
480
|
};
|
|
424
|
-
"
|
|
481
|
+
"number-combobox": {
|
|
425
482
|
type: string;
|
|
426
|
-
|
|
427
|
-
|
|
483
|
+
required: string[];
|
|
484
|
+
properties: {
|
|
485
|
+
comp: {
|
|
486
|
+
const: string;
|
|
487
|
+
};
|
|
488
|
+
label: {
|
|
489
|
+
type: string;
|
|
490
|
+
};
|
|
491
|
+
autofocus: {
|
|
492
|
+
type: string;
|
|
493
|
+
};
|
|
494
|
+
items: {
|
|
495
|
+
$ref: string;
|
|
496
|
+
};
|
|
497
|
+
getItems: {
|
|
498
|
+
$ref: string;
|
|
499
|
+
};
|
|
500
|
+
multiple: {
|
|
501
|
+
type: string;
|
|
502
|
+
};
|
|
503
|
+
step: {
|
|
504
|
+
type: string;
|
|
505
|
+
};
|
|
506
|
+
min: {
|
|
507
|
+
type: string;
|
|
508
|
+
};
|
|
509
|
+
max: {
|
|
510
|
+
type: string;
|
|
511
|
+
};
|
|
428
512
|
};
|
|
429
513
|
};
|
|
430
|
-
|
|
514
|
+
select: {
|
|
431
515
|
type: string;
|
|
432
516
|
required: string[];
|
|
433
517
|
properties: {
|
|
434
|
-
|
|
518
|
+
comp: {
|
|
519
|
+
const: string;
|
|
520
|
+
};
|
|
521
|
+
label: {
|
|
435
522
|
type: string;
|
|
436
523
|
};
|
|
437
|
-
|
|
524
|
+
autofocus: {
|
|
525
|
+
type: string;
|
|
526
|
+
};
|
|
527
|
+
items: {
|
|
528
|
+
$ref: string;
|
|
529
|
+
};
|
|
530
|
+
getItems: {
|
|
531
|
+
$ref: string;
|
|
532
|
+
};
|
|
533
|
+
multiple: {
|
|
438
534
|
type: string;
|
|
439
535
|
};
|
|
440
|
-
value: {};
|
|
441
536
|
};
|
|
442
537
|
};
|
|
443
|
-
|
|
538
|
+
autocomplete: {
|
|
444
539
|
type: string;
|
|
540
|
+
required: string[];
|
|
445
541
|
properties: {
|
|
446
|
-
|
|
542
|
+
comp: {
|
|
543
|
+
const: string;
|
|
544
|
+
};
|
|
545
|
+
label: {
|
|
447
546
|
type: string;
|
|
448
|
-
readOnly: boolean;
|
|
449
547
|
};
|
|
450
|
-
|
|
451
|
-
|
|
548
|
+
autofocus: {
|
|
549
|
+
type: string;
|
|
452
550
|
};
|
|
453
|
-
|
|
551
|
+
items: {
|
|
454
552
|
$ref: string;
|
|
455
553
|
};
|
|
456
|
-
|
|
554
|
+
getItems: {
|
|
457
555
|
$ref: string;
|
|
458
556
|
};
|
|
459
|
-
|
|
460
|
-
|
|
557
|
+
multiple: {
|
|
558
|
+
type: string;
|
|
461
559
|
};
|
|
462
560
|
};
|
|
463
|
-
|
|
561
|
+
};
|
|
562
|
+
"select-items": {
|
|
563
|
+
type: string;
|
|
564
|
+
items: {
|
|
464
565
|
$ref: string;
|
|
465
|
-
}
|
|
566
|
+
};
|
|
567
|
+
};
|
|
568
|
+
"select-item": {
|
|
569
|
+
type: string;
|
|
570
|
+
required: string[];
|
|
571
|
+
properties: {
|
|
572
|
+
title: {
|
|
573
|
+
type: string;
|
|
574
|
+
};
|
|
575
|
+
key: {
|
|
576
|
+
type: string;
|
|
577
|
+
};
|
|
578
|
+
value: {};
|
|
579
|
+
icon: {
|
|
580
|
+
type: string;
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
"get-items": {
|
|
585
|
+
type: string;
|
|
586
|
+
allOf: ({
|
|
587
|
+
properties: {
|
|
588
|
+
returnObjects: {
|
|
589
|
+
type: string;
|
|
590
|
+
readOnly: boolean;
|
|
591
|
+
};
|
|
592
|
+
itemsResults: {
|
|
593
|
+
$ref: string;
|
|
594
|
+
};
|
|
595
|
+
itemTitle: {
|
|
596
|
+
$ref: string;
|
|
597
|
+
};
|
|
598
|
+
itemKey: {
|
|
599
|
+
$ref: string;
|
|
600
|
+
};
|
|
601
|
+
itemValue: {
|
|
602
|
+
$ref: string;
|
|
603
|
+
};
|
|
604
|
+
itemIcon: {
|
|
605
|
+
$ref: string;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
oneOf?: undefined;
|
|
609
|
+
} | {
|
|
610
|
+
oneOf: {
|
|
611
|
+
$ref: string;
|
|
612
|
+
}[];
|
|
613
|
+
properties?: undefined;
|
|
614
|
+
})[];
|
|
466
615
|
};
|
|
467
616
|
"get-items-fetch": {
|
|
468
617
|
type: string;
|
|
@@ -471,6 +620,17 @@ declare namespace _default {
|
|
|
471
620
|
url: {
|
|
472
621
|
$ref: string;
|
|
473
622
|
};
|
|
623
|
+
qSearchParam: {
|
|
624
|
+
type: string;
|
|
625
|
+
};
|
|
626
|
+
searchParams: {
|
|
627
|
+
type: string;
|
|
628
|
+
patternProperties: {
|
|
629
|
+
".*": {
|
|
630
|
+
$ref: string;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
};
|
|
474
634
|
};
|
|
475
635
|
};
|
|
476
636
|
"one-of-select": {
|
|
@@ -480,15 +640,6 @@ declare namespace _default {
|
|
|
480
640
|
comp: {
|
|
481
641
|
const: string;
|
|
482
642
|
};
|
|
483
|
-
if: {
|
|
484
|
-
$ref: string;
|
|
485
|
-
};
|
|
486
|
-
label: {
|
|
487
|
-
type: string;
|
|
488
|
-
};
|
|
489
|
-
help: {
|
|
490
|
-
type: string;
|
|
491
|
-
};
|
|
492
643
|
};
|
|
493
644
|
};
|
|
494
645
|
expression: {
|