@json-layout/vocabulary 1.4.1 → 1.4.2
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 +3 -4
- package/src/layout-keyword/index.js +6 -7
- package/src/normalized-layout/index.js +3 -4
- package/src/types.ts +11 -0
- package/types/components/compile-types.d.ts +13 -0
- package/types/components/compile-types.d.ts.map +1 -0
- package/types/components/index.d.ts +54 -0
- package/types/components/index.d.ts.map +1 -0
- package/types/components/types.d.ts +420 -0
- package/types/components/types.d.ts.map +1 -0
- package/types/index.d.ts +7 -0
- package/types/index.d.ts.map +1 -0
- package/types/layout-keyword/index.d.ts +51 -0
- package/types/layout-keyword/index.d.ts.map +1 -0
- package/types/layout-keyword/schema.d.ts +387 -0
- package/types/layout-keyword/schema.d.ts.map +1 -0
- package/types/layout-keyword/types.d.ts +222 -0
- package/types/layout-keyword/types.d.ts.map +1 -0
- package/types/normalize.d.ts +31 -0
- package/types/normalize.d.ts.map +1 -0
- package/types/normalized-layout/index.d.ts +66 -0
- package/types/normalized-layout/index.d.ts.map +1 -0
- package/types/normalized-layout/schema.d.ts +583 -0
- package/types/normalized-layout/schema.d.ts.map +1 -0
- package/types/normalized-layout/types.d.ts +294 -0
- package/types/normalized-layout/types.d.ts.map +1 -0
- package/types/types.d.ts +50 -0
- package/types/types.d.ts.map +1 -0
- package/types/validate.d.ts +8 -0
- package/types/validate.d.ts.map +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {string | number} key
|
|
3
|
+
* @param {SchemaFragment} schemaFragment
|
|
4
|
+
* @param {string} schemaPath
|
|
5
|
+
* @param {Record<string, import('./types.js').ComponentInfo>} components
|
|
6
|
+
* @param {(text: string) => string} markdown
|
|
7
|
+
* @param {Array<'help' | 'hint' | 'subtitle'>} useDescription
|
|
8
|
+
* @param {string[]} [optionsKeys]
|
|
9
|
+
* @param {'oneOf' | 'patternProperties'} [schemaChild]
|
|
10
|
+
* @param {string | undefined} [knownType]
|
|
11
|
+
* @param {boolean} [knownNullable]
|
|
12
|
+
* @returns {{layout: NormalizedLayout, errors: string[]}}
|
|
13
|
+
*/
|
|
14
|
+
export function normalizeLayoutFragment(key: string | number, schemaFragment: SchemaFragment, schemaPath: string, components: Record<string, import("./types.js").ComponentInfo>, markdown: ((text: string) => string) | undefined, useDescription: Array<"help" | "hint" | "subtitle">, optionsKeys?: string[], schemaChild?: "oneOf" | "patternProperties", knownType?: string | undefined, knownNullable?: boolean): {
|
|
15
|
+
layout: NormalizedLayout;
|
|
16
|
+
errors: string[];
|
|
17
|
+
};
|
|
18
|
+
export function getSchemaFragmentType(schemaFragment: SchemaFragment): {
|
|
19
|
+
type: string | undefined;
|
|
20
|
+
nullable: boolean;
|
|
21
|
+
};
|
|
22
|
+
export type Child = import("./index.js").Child;
|
|
23
|
+
export type Children = import("./index.js").Children;
|
|
24
|
+
export type BaseCompObject = import("./index.js").BaseCompObject;
|
|
25
|
+
export type Expression = import("./index.js").Expression;
|
|
26
|
+
export type NormalizedLayout = import("./index.js").NormalizedLayout;
|
|
27
|
+
export type LayoutKeyword = import("./index.js").LayoutKeyword;
|
|
28
|
+
export type PartialChildren = import("./index.js").PartialChildren;
|
|
29
|
+
export type PartialCompObject = import("./index.js").PartialCompObject;
|
|
30
|
+
export type SchemaFragment = import("./types.js").SchemaFragment;
|
|
31
|
+
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../src/normalize.js"],"names":[],"mappings":"AAwoBA;;;;;;;;;;;;GAYG;AACH,6CAZW,MAAM,GAAG,MAAM,kBACf,cAAc,cACd,MAAM,cACN,MAAM,CAAC,MAAM,EAAE,OAAO,YAAY,EAAE,aAAa,CAAC,aAClD,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,+BACxB,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,gBACnC,MAAM,EAAE,gBACR,OAAO,GAAG,mBAAmB,cAC7B,MAAM,GAAG,SAAS,kBAClB,OAAO,GACL;IAAC,MAAM,EAAE,gBAAgB,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAC,CAuBxD;AAjYM,sDAHI,cAAc,GACZ;IAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAC,CA+BzD;oBAjUY,OAAO,YAAY,EAAE,KAAK;uBAC1B,OAAO,YAAY,EAAE,QAAQ;6BAC7B,OAAO,YAAY,EAAE,cAAc;yBACnC,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"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export function isSwitchStruct(layout: NormalizedLayout): layout is SwitchStruct;
|
|
2
|
+
export function isCompObject(layout: NormalizedLayout): layout is BaseCompObject;
|
|
3
|
+
export function childIsCompositeCompObject(child: Child): child is Child & CompositeCompObject;
|
|
4
|
+
export function childIsSlotCompObject(child: Child): child is Child & SlotCompObject;
|
|
5
|
+
export function isCompositeLayout(layout: BaseCompObject, components: Record<string, import("../types.js").ComponentInfo>): layout is CompositeCompObject;
|
|
6
|
+
export function isListLayout(layout: BaseCompObject): layout is import("../components/types.js").List;
|
|
7
|
+
export function isFocusableLayout(layout: BaseCompObject, components: Record<string, import("../types.js").ComponentInfo>): layout is FocusableCompObject;
|
|
8
|
+
export function isItemsLayout(layout: BaseCompObject, components: Record<string, import("../types.js").ComponentInfo>): layout is ItemsBasedCompObject;
|
|
9
|
+
export function isGetItemsExpression(getItems: GetItems): getItems is Expression;
|
|
10
|
+
export function isGetItemsFetch(getItems: GetItems): getItems is GetItemsFetch;
|
|
11
|
+
export function isTextSlot(slot: Slot): slot is {
|
|
12
|
+
text: string;
|
|
13
|
+
};
|
|
14
|
+
export function isMarkdownSlot(slot: Slot): slot is {
|
|
15
|
+
markdown: string;
|
|
16
|
+
};
|
|
17
|
+
export function isNameSlot(slot: Slot): slot is {
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {import('./types.js').NormalizedLayout} NormalizedLayout
|
|
22
|
+
* @typedef {import('./types.js').SwitchStruct} SwitchStruct
|
|
23
|
+
* @typedef {import('./types.js').BaseCompObject} BaseCompObject
|
|
24
|
+
* @typedef {import('./types.js').SelectItem} SelectItem
|
|
25
|
+
* @typedef {import('./types.js').SelectItems} SelectItems
|
|
26
|
+
* @typedef {import('./types.js').GetItemsFetch} GetItemsFetch
|
|
27
|
+
* @typedef {import('./types.js').Child} Child
|
|
28
|
+
* @typedef {import('./types.js').Children} Children
|
|
29
|
+
* @typedef {import('./types.js').ChildSlot} ChildSlot
|
|
30
|
+
* @typedef {import('./types.js').CompositeCompObject} CompositeCompObject
|
|
31
|
+
* @typedef {import('./types.js').SlotCompObject} SlotCompObject
|
|
32
|
+
* @typedef {import('./types.js').ItemsBasedCompObject} ItemsBasedCompObject
|
|
33
|
+
* @typedef {import('./types.js').FocusableCompObject} FocusableCompObject
|
|
34
|
+
* @typedef {import('./types.js').GetItems} GetItems
|
|
35
|
+
* @typedef {import('./types.js').Expression} Expression
|
|
36
|
+
* @typedef {import('./types.js').Cols} Cols
|
|
37
|
+
* @typedef {import('./types.js').ColsObj} ColsObj
|
|
38
|
+
* @typedef {import('./types.js').StateNodeOptionsBase} StateNodeOptionsBase
|
|
39
|
+
* @typedef {import('./types.js').StateNodePropsLib} StateNodePropsLib
|
|
40
|
+
* @typedef {import('./types.js').Slot} Slot
|
|
41
|
+
* @typedef {import('./types.js').Slots} Slots
|
|
42
|
+
*/
|
|
43
|
+
export const validateNormalizedLayout: import("../types.js").ValidateNormalizedLayout;
|
|
44
|
+
export const normalizedLayoutSchema: any;
|
|
45
|
+
export type NormalizedLayout = import("./types.js").NormalizedLayout;
|
|
46
|
+
export type SwitchStruct = import("./types.js").SwitchStruct;
|
|
47
|
+
export type BaseCompObject = import("./types.js").BaseCompObject;
|
|
48
|
+
export type SelectItem = import("./types.js").SelectItem;
|
|
49
|
+
export type SelectItems = import("./types.js").SelectItems;
|
|
50
|
+
export type GetItemsFetch = import("./types.js").GetItemsFetch;
|
|
51
|
+
export type Child = import("./types.js").Child;
|
|
52
|
+
export type Children = import("./types.js").Children;
|
|
53
|
+
export type ChildSlot = import("./types.js").ChildSlot;
|
|
54
|
+
export type CompositeCompObject = import("./types.js").CompositeCompObject;
|
|
55
|
+
export type SlotCompObject = import("./types.js").SlotCompObject;
|
|
56
|
+
export type ItemsBasedCompObject = import("./types.js").ItemsBasedCompObject;
|
|
57
|
+
export type FocusableCompObject = import("./types.js").FocusableCompObject;
|
|
58
|
+
export type GetItems = import("./types.js").GetItems;
|
|
59
|
+
export type Expression = import("./types.js").Expression;
|
|
60
|
+
export type Cols = import("./types.js").Cols;
|
|
61
|
+
export type ColsObj = import("./types.js").ColsObj;
|
|
62
|
+
export type StateNodeOptionsBase = import("./types.js").StateNodeOptionsBase;
|
|
63
|
+
export type StateNodePropsLib = import("./types.js").StateNodePropsLib;
|
|
64
|
+
export type Slot = import("./types.js").Slot;
|
|
65
|
+
export type Slots = import("./types.js").Slots;
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/index.js"],"names":[],"mappings":"AA+BW,uCAAS,gBAAgB,GAAK,MAAM,IAAI,YAAY,CAAA;AAKpD,qCAAS,gBAAgB,GAAK,MAAM,IAAI,cAAc,CAAA;AAKtD,kDAAQ,KAAK,GAAK,KAAK,IAAI,KAAK,GAAG,mBAAmB,CAAA;AAKtD,6CAAQ,KAAK,GAAK,KAAK,IAAI,KAAK,GAAG,cAAc,CAAA;AAKjD,0CAAS,cAAc,cAAc,MAAM,CAAC,MAAM,EAAE,OAAO,aAAa,EAAE,aAAa,CAAC,GAAK,MAAM,IAAI,mBAAmB,CAAA;AAK1H,qCAAS,cAAc,GAAK,MAAM,IAAI,OAAO,wBAAwB,EAAE,IAAI,CAAA;AAK3E,0CAAS,cAAc,cAAc,MAAM,CAAC,MAAM,EAAE,OAAO,aAAa,EAAE,aAAa,CAAC,GAAK,MAAM,IAAI,mBAAmB,CAAA;AAK1H,sCAAS,cAAc,cAAc,MAAM,CAAC,MAAM,EAAE,OAAO,aAAa,EAAE,aAAa,CAAC,GAAK,MAAM,IAAI,oBAAoB,CAAA;AAK3H,+CAAW,QAAQ,GAAK,QAAQ,IAAI,UAAU,CAAA;AAK9C,0CAAW,QAAQ,GAAK,QAAQ,IAAI,aAAa,CAAA;AAKjD,iCAAO,IAAI,GAAK,IAAI,IAAI;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAA;AAMtC,qCAAO,IAAI,GAAK,IAAI,IAAI;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAA;AAM1C,iCAAO,IAAI,GAAK,IAAI,IAAI;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAA;AA1FjD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,uCAAwB,OAAO,aAAa,EAAE,wBAAwB,CAA8E;AAEpJ,qCAAiD,GAAG,CAAa;+BAzBpD,OAAO,YAAY,EAAE,gBAAgB;2BACrC,OAAO,YAAY,EAAE,YAAY;6BACjC,OAAO,YAAY,EAAE,cAAc;yBACnC,OAAO,YAAY,EAAE,UAAU;0BAC/B,OAAO,YAAY,EAAE,WAAW;4BAChC,OAAO,YAAY,EAAE,aAAa;oBAClC,OAAO,YAAY,EAAE,KAAK;uBAC1B,OAAO,YAAY,EAAE,QAAQ;wBAC7B,OAAO,YAAY,EAAE,SAAS;kCAC9B,OAAO,YAAY,EAAE,mBAAmB;6BACxC,OAAO,YAAY,EAAE,cAAc;mCACnC,OAAO,YAAY,EAAE,oBAAoB;kCACzC,OAAO,YAAY,EAAE,mBAAmB;uBACxC,OAAO,YAAY,EAAE,QAAQ;yBAC7B,OAAO,YAAY,EAAE,UAAU;mBAC/B,OAAO,YAAY,EAAE,IAAI;sBACzB,OAAO,YAAY,EAAE,OAAO;mCAC5B,OAAO,YAAY,EAAE,oBAAoB;gCACzC,OAAO,YAAY,EAAE,iBAAiB;mBACtC,OAAO,YAAY,EAAE,IAAI;oBACzB,OAAO,YAAY,EAAE,KAAK"}
|
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let $id: string;
|
|
3
|
+
let $defs: {
|
|
4
|
+
"normalized-layout": {
|
|
5
|
+
title: string;
|
|
6
|
+
type: string;
|
|
7
|
+
unevaluatedProperties: boolean;
|
|
8
|
+
oneOf: {
|
|
9
|
+
$ref: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
"switch-struct": {
|
|
13
|
+
type: string;
|
|
14
|
+
required: string[];
|
|
15
|
+
additionalProperties: boolean;
|
|
16
|
+
properties: {
|
|
17
|
+
switch: {
|
|
18
|
+
type: string;
|
|
19
|
+
items: {
|
|
20
|
+
$ref: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
"base-comp-object": {
|
|
26
|
+
type: string;
|
|
27
|
+
required: string[];
|
|
28
|
+
properties: {
|
|
29
|
+
comp: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
if: {
|
|
33
|
+
$ref: string;
|
|
34
|
+
};
|
|
35
|
+
options: {
|
|
36
|
+
$ref: string;
|
|
37
|
+
};
|
|
38
|
+
getOptions: {
|
|
39
|
+
$ref: string;
|
|
40
|
+
};
|
|
41
|
+
defaultData: {};
|
|
42
|
+
getDefaultData: {
|
|
43
|
+
$ref: string;
|
|
44
|
+
};
|
|
45
|
+
constData: {};
|
|
46
|
+
getConstData: {
|
|
47
|
+
$ref: string;
|
|
48
|
+
};
|
|
49
|
+
transformData: {
|
|
50
|
+
$ref: string;
|
|
51
|
+
};
|
|
52
|
+
nullable: {
|
|
53
|
+
type: string;
|
|
54
|
+
};
|
|
55
|
+
help: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
cols: {
|
|
59
|
+
$ref: string;
|
|
60
|
+
};
|
|
61
|
+
props: {
|
|
62
|
+
$ref: string;
|
|
63
|
+
};
|
|
64
|
+
getProps: {
|
|
65
|
+
$ref: string;
|
|
66
|
+
};
|
|
67
|
+
slots: {
|
|
68
|
+
$ref: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
"composite-comp-object": {
|
|
73
|
+
allOf: ({
|
|
74
|
+
$ref: string;
|
|
75
|
+
type?: undefined;
|
|
76
|
+
required?: undefined;
|
|
77
|
+
properties?: undefined;
|
|
78
|
+
} | {
|
|
79
|
+
type: string;
|
|
80
|
+
required: string[];
|
|
81
|
+
properties: {
|
|
82
|
+
comp: {
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
title: {
|
|
86
|
+
type: string[];
|
|
87
|
+
};
|
|
88
|
+
subtitle: {
|
|
89
|
+
type: string[];
|
|
90
|
+
};
|
|
91
|
+
children: {
|
|
92
|
+
$ref: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
$ref?: undefined;
|
|
96
|
+
})[];
|
|
97
|
+
};
|
|
98
|
+
"slot-comp-object": {
|
|
99
|
+
allOf: ({
|
|
100
|
+
$ref: string;
|
|
101
|
+
type?: undefined;
|
|
102
|
+
required?: undefined;
|
|
103
|
+
properties?: undefined;
|
|
104
|
+
} | {
|
|
105
|
+
type: string;
|
|
106
|
+
required: string[];
|
|
107
|
+
properties: {
|
|
108
|
+
comp: {
|
|
109
|
+
type: string;
|
|
110
|
+
const: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
$ref?: undefined;
|
|
114
|
+
})[];
|
|
115
|
+
};
|
|
116
|
+
"simple-comp-object": {
|
|
117
|
+
allOf: ({
|
|
118
|
+
$ref: string;
|
|
119
|
+
type?: undefined;
|
|
120
|
+
required?: undefined;
|
|
121
|
+
properties?: undefined;
|
|
122
|
+
} | {
|
|
123
|
+
type: string;
|
|
124
|
+
required: string[];
|
|
125
|
+
properties: {
|
|
126
|
+
comp: {
|
|
127
|
+
type: string;
|
|
128
|
+
};
|
|
129
|
+
label: {
|
|
130
|
+
type: string;
|
|
131
|
+
};
|
|
132
|
+
hint: {
|
|
133
|
+
type: string[];
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
$ref?: undefined;
|
|
137
|
+
})[];
|
|
138
|
+
};
|
|
139
|
+
"focusable-comp-object": {
|
|
140
|
+
allOf: ({
|
|
141
|
+
$ref: string;
|
|
142
|
+
type?: undefined;
|
|
143
|
+
required?: undefined;
|
|
144
|
+
properties?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
type: string;
|
|
147
|
+
required: string[];
|
|
148
|
+
properties: {
|
|
149
|
+
comp: {
|
|
150
|
+
type: string;
|
|
151
|
+
};
|
|
152
|
+
autofocus: {
|
|
153
|
+
type: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
$ref?: undefined;
|
|
157
|
+
})[];
|
|
158
|
+
};
|
|
159
|
+
"items-based-comp-object": {
|
|
160
|
+
allOf: ({
|
|
161
|
+
$ref: string;
|
|
162
|
+
type?: undefined;
|
|
163
|
+
required?: undefined;
|
|
164
|
+
properties?: undefined;
|
|
165
|
+
} | {
|
|
166
|
+
type: string;
|
|
167
|
+
required: string[];
|
|
168
|
+
properties: {
|
|
169
|
+
comp: {
|
|
170
|
+
type: string;
|
|
171
|
+
};
|
|
172
|
+
items: {
|
|
173
|
+
$ref: string;
|
|
174
|
+
};
|
|
175
|
+
getItems: {
|
|
176
|
+
$ref: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
$ref?: undefined;
|
|
180
|
+
})[];
|
|
181
|
+
};
|
|
182
|
+
"multiple-compat-comp-object": {
|
|
183
|
+
allOf: ({
|
|
184
|
+
$ref: string;
|
|
185
|
+
type?: undefined;
|
|
186
|
+
required?: undefined;
|
|
187
|
+
properties?: undefined;
|
|
188
|
+
} | {
|
|
189
|
+
type: string;
|
|
190
|
+
required: string[];
|
|
191
|
+
properties: {
|
|
192
|
+
comp: {
|
|
193
|
+
type: string;
|
|
194
|
+
};
|
|
195
|
+
multiple: {
|
|
196
|
+
type: string;
|
|
197
|
+
};
|
|
198
|
+
separator: {
|
|
199
|
+
type: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
$ref?: undefined;
|
|
203
|
+
})[];
|
|
204
|
+
};
|
|
205
|
+
"child-ref": {
|
|
206
|
+
type: string;
|
|
207
|
+
required: string[];
|
|
208
|
+
additionalProperties: boolean;
|
|
209
|
+
properties: {
|
|
210
|
+
key: {
|
|
211
|
+
type: string[];
|
|
212
|
+
};
|
|
213
|
+
cols: {
|
|
214
|
+
$ref: string;
|
|
215
|
+
};
|
|
216
|
+
if: {
|
|
217
|
+
$ref: string;
|
|
218
|
+
};
|
|
219
|
+
slots: {
|
|
220
|
+
$ref: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
"child-composite": {
|
|
225
|
+
type: string;
|
|
226
|
+
required: string[];
|
|
227
|
+
additionalProperties: boolean;
|
|
228
|
+
properties: {
|
|
229
|
+
key: {
|
|
230
|
+
type: string[];
|
|
231
|
+
};
|
|
232
|
+
cols: {
|
|
233
|
+
$ref: string;
|
|
234
|
+
};
|
|
235
|
+
comp: {
|
|
236
|
+
type: string;
|
|
237
|
+
};
|
|
238
|
+
title: {
|
|
239
|
+
type: string;
|
|
240
|
+
};
|
|
241
|
+
subtitle: {
|
|
242
|
+
type: string;
|
|
243
|
+
};
|
|
244
|
+
children: {
|
|
245
|
+
$ref: string;
|
|
246
|
+
};
|
|
247
|
+
if: {
|
|
248
|
+
$ref: string;
|
|
249
|
+
};
|
|
250
|
+
slots: {
|
|
251
|
+
$ref: string;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
"child-slot": {
|
|
256
|
+
type: string;
|
|
257
|
+
required: string[];
|
|
258
|
+
additionalProperties: boolean;
|
|
259
|
+
properties: {
|
|
260
|
+
key: {
|
|
261
|
+
type: string[];
|
|
262
|
+
};
|
|
263
|
+
cols: {
|
|
264
|
+
$ref: string;
|
|
265
|
+
};
|
|
266
|
+
comp: {
|
|
267
|
+
const: string;
|
|
268
|
+
};
|
|
269
|
+
if: {
|
|
270
|
+
$ref: string;
|
|
271
|
+
};
|
|
272
|
+
slots: {
|
|
273
|
+
$ref: string;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
child: {
|
|
278
|
+
title: string;
|
|
279
|
+
type: string;
|
|
280
|
+
oneOf: {
|
|
281
|
+
$ref: string;
|
|
282
|
+
}[];
|
|
283
|
+
};
|
|
284
|
+
children: {
|
|
285
|
+
type: string;
|
|
286
|
+
items: {
|
|
287
|
+
$ref: string;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
"select-items": {
|
|
291
|
+
type: string;
|
|
292
|
+
items: {
|
|
293
|
+
$ref: string;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
"select-item": {
|
|
297
|
+
type: string;
|
|
298
|
+
required: string[];
|
|
299
|
+
properties: {
|
|
300
|
+
title: {
|
|
301
|
+
type: string;
|
|
302
|
+
};
|
|
303
|
+
key: {
|
|
304
|
+
type: string;
|
|
305
|
+
};
|
|
306
|
+
value: {};
|
|
307
|
+
icon: {
|
|
308
|
+
type: string;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
"get-items": {
|
|
313
|
+
type: string;
|
|
314
|
+
allOf: ({
|
|
315
|
+
properties: {
|
|
316
|
+
returnObjects: {
|
|
317
|
+
type: string;
|
|
318
|
+
readOnly: boolean;
|
|
319
|
+
};
|
|
320
|
+
itemsResults: {
|
|
321
|
+
$ref: string;
|
|
322
|
+
};
|
|
323
|
+
itemTitle: {
|
|
324
|
+
$ref: string;
|
|
325
|
+
};
|
|
326
|
+
itemKey: {
|
|
327
|
+
$ref: string;
|
|
328
|
+
};
|
|
329
|
+
itemValue: {
|
|
330
|
+
$ref: string;
|
|
331
|
+
};
|
|
332
|
+
itemIcon: {
|
|
333
|
+
$ref: string;
|
|
334
|
+
};
|
|
335
|
+
immutable: {
|
|
336
|
+
type: string;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
oneOf?: undefined;
|
|
340
|
+
} | {
|
|
341
|
+
oneOf: {
|
|
342
|
+
$ref: string;
|
|
343
|
+
}[];
|
|
344
|
+
properties?: undefined;
|
|
345
|
+
})[];
|
|
346
|
+
};
|
|
347
|
+
"get-items-fetch": {
|
|
348
|
+
type: string;
|
|
349
|
+
required: string[];
|
|
350
|
+
properties: {
|
|
351
|
+
url: {
|
|
352
|
+
$ref: string;
|
|
353
|
+
};
|
|
354
|
+
qSearchParam: {
|
|
355
|
+
type: string;
|
|
356
|
+
};
|
|
357
|
+
searchParams: {
|
|
358
|
+
type: string;
|
|
359
|
+
patternProperties: {
|
|
360
|
+
".*": {
|
|
361
|
+
$ref: string;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
expression: {
|
|
368
|
+
type: string;
|
|
369
|
+
required: string[];
|
|
370
|
+
properties: {
|
|
371
|
+
type: {
|
|
372
|
+
type: string;
|
|
373
|
+
enum: string[];
|
|
374
|
+
};
|
|
375
|
+
expr: {
|
|
376
|
+
type: string;
|
|
377
|
+
};
|
|
378
|
+
pure: {
|
|
379
|
+
type: string;
|
|
380
|
+
};
|
|
381
|
+
dataAlias: {
|
|
382
|
+
type: string;
|
|
383
|
+
};
|
|
384
|
+
ref: {
|
|
385
|
+
type: string;
|
|
386
|
+
readOnly: boolean;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
"cols-obj": {
|
|
391
|
+
type: string;
|
|
392
|
+
additionalProperties: boolean;
|
|
393
|
+
required: string[];
|
|
394
|
+
properties: {
|
|
395
|
+
xs: {
|
|
396
|
+
$ref: string;
|
|
397
|
+
default: number;
|
|
398
|
+
};
|
|
399
|
+
sm: {
|
|
400
|
+
$ref: string;
|
|
401
|
+
};
|
|
402
|
+
md: {
|
|
403
|
+
$ref: string;
|
|
404
|
+
};
|
|
405
|
+
lg: {
|
|
406
|
+
$ref: string;
|
|
407
|
+
};
|
|
408
|
+
xl: {
|
|
409
|
+
$ref: string;
|
|
410
|
+
};
|
|
411
|
+
xxl: {
|
|
412
|
+
$ref: string;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
cols: {
|
|
417
|
+
type: string;
|
|
418
|
+
minimum: number;
|
|
419
|
+
maximum: number;
|
|
420
|
+
};
|
|
421
|
+
slot: {
|
|
422
|
+
oneOf: ({
|
|
423
|
+
type: string;
|
|
424
|
+
additionalProperties: boolean;
|
|
425
|
+
required: string[];
|
|
426
|
+
properties: {
|
|
427
|
+
text: {
|
|
428
|
+
type: string;
|
|
429
|
+
};
|
|
430
|
+
markdown?: undefined;
|
|
431
|
+
name?: undefined;
|
|
432
|
+
props?: undefined;
|
|
433
|
+
};
|
|
434
|
+
} | {
|
|
435
|
+
type: string;
|
|
436
|
+
additionalProperties: boolean;
|
|
437
|
+
required: string[];
|
|
438
|
+
properties: {
|
|
439
|
+
markdown: {
|
|
440
|
+
type: string;
|
|
441
|
+
};
|
|
442
|
+
text?: undefined;
|
|
443
|
+
name?: undefined;
|
|
444
|
+
props?: undefined;
|
|
445
|
+
};
|
|
446
|
+
} | {
|
|
447
|
+
type: string;
|
|
448
|
+
additionalProperties: boolean;
|
|
449
|
+
required: string[];
|
|
450
|
+
properties: {
|
|
451
|
+
name: {
|
|
452
|
+
type: string;
|
|
453
|
+
};
|
|
454
|
+
props: {
|
|
455
|
+
type: string;
|
|
456
|
+
};
|
|
457
|
+
text?: undefined;
|
|
458
|
+
markdown?: undefined;
|
|
459
|
+
};
|
|
460
|
+
})[];
|
|
461
|
+
};
|
|
462
|
+
slots: {
|
|
463
|
+
type: string;
|
|
464
|
+
allOf: ({
|
|
465
|
+
$ref: string;
|
|
466
|
+
properties?: undefined;
|
|
467
|
+
} | {
|
|
468
|
+
properties: {
|
|
469
|
+
before: {
|
|
470
|
+
$ref: string;
|
|
471
|
+
};
|
|
472
|
+
after: {
|
|
473
|
+
$ref: string;
|
|
474
|
+
};
|
|
475
|
+
component: {
|
|
476
|
+
$ref: string;
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
$ref?: undefined;
|
|
480
|
+
})[];
|
|
481
|
+
};
|
|
482
|
+
"state-node-options-base": {
|
|
483
|
+
type: string;
|
|
484
|
+
allOf: ({
|
|
485
|
+
$ref: string;
|
|
486
|
+
properties?: undefined;
|
|
487
|
+
} | {
|
|
488
|
+
properties: {
|
|
489
|
+
readOnly: {
|
|
490
|
+
type: string;
|
|
491
|
+
default: boolean;
|
|
492
|
+
};
|
|
493
|
+
summary: {
|
|
494
|
+
type: string;
|
|
495
|
+
default: boolean;
|
|
496
|
+
};
|
|
497
|
+
titleDepth: {
|
|
498
|
+
type: string;
|
|
499
|
+
minimum: number;
|
|
500
|
+
maximum: number;
|
|
501
|
+
default: number;
|
|
502
|
+
};
|
|
503
|
+
density: {
|
|
504
|
+
type: string;
|
|
505
|
+
enum: string[];
|
|
506
|
+
default: string;
|
|
507
|
+
};
|
|
508
|
+
indent: {
|
|
509
|
+
type: string[];
|
|
510
|
+
};
|
|
511
|
+
removeAdditional: {
|
|
512
|
+
description: string;
|
|
513
|
+
default: string;
|
|
514
|
+
oneOf: ({
|
|
515
|
+
type: string;
|
|
516
|
+
enum?: undefined;
|
|
517
|
+
} | {
|
|
518
|
+
type: string;
|
|
519
|
+
enum: string[];
|
|
520
|
+
})[];
|
|
521
|
+
};
|
|
522
|
+
validateOn: {
|
|
523
|
+
type: string;
|
|
524
|
+
enum: string[];
|
|
525
|
+
default: string;
|
|
526
|
+
};
|
|
527
|
+
updateOn: {
|
|
528
|
+
type: string;
|
|
529
|
+
enum: string[];
|
|
530
|
+
default: string;
|
|
531
|
+
};
|
|
532
|
+
debounceInputMs: {
|
|
533
|
+
type: string;
|
|
534
|
+
minimum: number;
|
|
535
|
+
default: number;
|
|
536
|
+
};
|
|
537
|
+
initialValidation: {
|
|
538
|
+
type: string;
|
|
539
|
+
enum: string[];
|
|
540
|
+
default: string;
|
|
541
|
+
};
|
|
542
|
+
defaultOn: {
|
|
543
|
+
type: string;
|
|
544
|
+
enum: string[];
|
|
545
|
+
default: string;
|
|
546
|
+
};
|
|
547
|
+
autofocus: {
|
|
548
|
+
type: string;
|
|
549
|
+
default: boolean;
|
|
550
|
+
};
|
|
551
|
+
readOnlyPropertiesMode: {
|
|
552
|
+
type: string;
|
|
553
|
+
enum: string[];
|
|
554
|
+
default: string;
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
$ref?: undefined;
|
|
558
|
+
})[];
|
|
559
|
+
};
|
|
560
|
+
"state-node-options-base-lib": {
|
|
561
|
+
type: string;
|
|
562
|
+
patternProperties: {
|
|
563
|
+
".*": {};
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
"state-node-props-lib": {
|
|
567
|
+
type: string;
|
|
568
|
+
patternProperties: {
|
|
569
|
+
".*": {};
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
"state-node-slots-lib": {
|
|
573
|
+
type: string;
|
|
574
|
+
patternProperties: {
|
|
575
|
+
".*": {
|
|
576
|
+
$ref: string;
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
export default _default;
|
|
583
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/schema.js"],"names":[],"mappings":""}
|