@json-layout/vocabulary 1.4.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.
@@ -1,387 +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
- props: {
380
- type: string;
381
- };
382
- };
383
- };
384
- };
385
- }
386
- export default _default;
387
- //# 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,222 +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
- props?: {
146
- [k: string]: unknown;
147
- };
148
- }
149
- /**
150
- * This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
151
- * via the `definition` "partial-child-composite".
152
- */
153
- export interface PartialChildComposite {
154
- comp?: string;
155
- title?: string | null;
156
- subtitle?: string | null;
157
- children: PartialChildren;
158
- cols?: PartialCols;
159
- if?: PartialExpression;
160
- slots?: {
161
- [k: string]: PartialSlot;
162
- };
163
- [k: string]: unknown;
164
- }
165
- /**
166
- * This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
167
- * via the `definition` "partial-comp-object".
168
- */
169
- export interface PartialCompObject {
170
- comp?: ComponentName;
171
- help?: string;
172
- children?: PartialChildren;
173
- label?: string;
174
- hint?: string | null;
175
- title?: string | null;
176
- subtitle?: string | null;
177
- step?: number;
178
- if?: PartialExpression;
179
- items?: PartialSelectItem[];
180
- getItems?: PartialGetItems;
181
- listEditMode?: "inline" | "inline-single" | "menu" | "dialog";
182
- listActions?: ("add" | "edit" | "delete" | "sort" | "duplicate")[];
183
- cols?: PartialCols;
184
- props?: {
185
- [k: string]: unknown;
186
- };
187
- getProps?: PartialExpression;
188
- slots?: {
189
- [k: string]: PartialSlot;
190
- };
191
- options?: {
192
- [k: string]: unknown;
193
- };
194
- getOptions?: PartialExpression;
195
- messages?: {
196
- [k: string]: unknown;
197
- };
198
- defaultData?: unknown;
199
- getDefaultData?: PartialExpression;
200
- constData?: unknown;
201
- getConstData?: PartialExpression;
202
- transformData?: PartialExpression;
203
- autofocus?: boolean;
204
- separator?: string;
205
- [k: string]: unknown;
206
- }
207
- /**
208
- * This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
209
- * via the `definition` "partial-get-items-fetch".
210
- */
211
- export interface PartialGetItemsFetch {
212
- url: PartialExpression;
213
- [k: string]: unknown;
214
- }
215
- /**
216
- * This interface was referenced by `HttpsJsonLayoutGithubIoLayoutKeyword`'s JSON-Schema
217
- * via the `definition` "partial-switch".
218
- */
219
- export interface PartialSwitch {
220
- switch: PartialCompObject[];
221
- }
222
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/layout-keyword/types.ts"],"names":[],"mappings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AG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC,EAAE,CAAC;IACnE,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE;QACN,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,KAAK,CAAC,EAAE;QACN,CAAC,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;KAC1B,CAAC;IACF,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,QAAQ,CAAC,EAAE;QACT,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,iBAAiB,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,iBAAiB,CAAC;IACvB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,iBAAiB,EAAE,CAAC;CAC7B"}
@@ -1,31 +0,0 @@
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[] | undefined, schemaChild?: "oneOf" | "patternProperties" | undefined, knownType?: string | undefined, knownNullable?: boolean | undefined): {
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
@@ -1 +0,0 @@
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,OAAO,MAAM,EAAE,OAAO,YAAY,EAAE,aAAa,CAAC,oBAC3C,MAAM,KAAK,MAAM,+BACxB,MAAM,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC,2GAGnC,MAAM,GAAG,SAAS;YAEP,gBAAgB;YAAU,MAAM,EAAE;EAuBvD;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"}