@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.
Files changed (36) hide show
  1. package/package.json +1 -1
  2. package/src/components/index.js +2 -1
  3. package/src/components/types.ts +1 -0
  4. package/src/layout-keyword/schema.js +3 -0
  5. package/src/layout-keyword/schema.json +2 -1
  6. package/src/layout-keyword/types.ts +3 -0
  7. package/src/normalize.js +1 -1
  8. package/src/normalized-layout/schema.js +3 -0
  9. package/src/normalized-layout/schema.json +2 -1
  10. package/src/normalized-layout/types.ts +3 -0
  11. package/types/components/compile-types.d.ts +0 -13
  12. package/types/components/compile-types.d.ts.map +0 -1
  13. package/types/components/index.d.ts +0 -54
  14. package/types/components/index.d.ts.map +0 -1
  15. package/types/components/types.d.ts +0 -419
  16. package/types/components/types.d.ts.map +0 -1
  17. package/types/index.d.ts +0 -7
  18. package/types/index.d.ts.map +0 -1
  19. package/types/layout-keyword/index.d.ts +0 -56
  20. package/types/layout-keyword/index.d.ts.map +0 -1
  21. package/types/layout-keyword/schema.d.ts +0 -384
  22. package/types/layout-keyword/schema.d.ts.map +0 -1
  23. package/types/layout-keyword/types.d.ts +0 -219
  24. package/types/layout-keyword/types.d.ts.map +0 -1
  25. package/types/normalize.d.ts +0 -31
  26. package/types/normalize.d.ts.map +0 -1
  27. package/types/normalized-layout/index.d.ts +0 -80
  28. package/types/normalized-layout/index.d.ts.map +0 -1
  29. package/types/normalized-layout/schema.d.ts +0 -578
  30. package/types/normalized-layout/schema.d.ts.map +0 -1
  31. package/types/normalized-layout/types.d.ts +0 -291
  32. package/types/normalized-layout/types.d.ts.map +0 -1
  33. package/types/types.d.ts +0 -41
  34. package/types/types.d.ts.map +0 -1
  35. package/types/validate.d.ts +0 -8
  36. package/types/validate.d.ts.map +0 -1
@@ -1,291 +0,0 @@
1
- /**
2
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
3
- * via the `definition` "normalized-layout".
4
- */
5
- export type NormalizedLayout = SwitchStruct | BaseCompObject;
6
- /**
7
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
8
- * via the `definition` "state-node-options-base".
9
- */
10
- export type StateNodeOptionsBase = StateNodeOptionsBaseLib & {
11
- readOnly?: boolean;
12
- summary?: boolean;
13
- titleDepth?: number;
14
- density?: "default" | "comfortable" | "compact";
15
- indent?: boolean | number;
16
- /**
17
- * true is the same as 'unknown', false is the same as 'none'
18
- */
19
- removeAdditional?: boolean | ("unknown" | "error" | "none");
20
- validateOn?: "input" | "blur" | "submit";
21
- updateOn?: "input" | "blur";
22
- debounceInputMs?: number;
23
- initialValidation?: "never" | "always" | "withData";
24
- defaultOn?: "missing" | "empty" | "never";
25
- autofocus?: boolean;
26
- readOnlyPropertiesMode?: "remove" | "hide" | "show";
27
- [k: string]: unknown;
28
- };
29
- /**
30
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
31
- * via the `definition` "cols".
32
- */
33
- export type Cols = number;
34
- /**
35
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
36
- * via the `definition` "slots".
37
- */
38
- export type Slots = StateNodeSlotsLib & {
39
- before?: Slot;
40
- after?: Slot;
41
- component?: Slot;
42
- [k: string]: unknown;
43
- };
44
- /**
45
- * This interface was referenced by `StateNodeSlotsLib`'s JSON-Schema definition
46
- * via the `patternProperty` ".*".
47
- *
48
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
49
- * via the `definition` "slot".
50
- */
51
- export type Slot = {
52
- text: string;
53
- } | {
54
- markdown: string;
55
- } | {
56
- name: string;
57
- };
58
- /**
59
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
60
- * via the `definition` "composite-comp-object".
61
- */
62
- export type CompositeCompObject = BaseCompObject & {
63
- comp: string;
64
- title?: string | null;
65
- subtitle?: string | null;
66
- children: Children;
67
- [k: string]: unknown;
68
- };
69
- /**
70
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
71
- * via the `definition` "child".
72
- */
73
- export type Child = ChildRef | ChildComposite | ChildSlot;
74
- /**
75
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
76
- * via the `definition` "children".
77
- */
78
- export type Children = Child[];
79
- /**
80
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
81
- * via the `definition` "slot-comp-object".
82
- */
83
- export type SlotCompObject = BaseCompObject & {
84
- comp: "slot";
85
- [k: string]: unknown;
86
- };
87
- /**
88
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
89
- * via the `definition` "simple-comp-object".
90
- */
91
- export type SimpleCompObject = BaseCompObject & {
92
- comp: string;
93
- label?: string;
94
- hint?: string | null;
95
- [k: string]: unknown;
96
- };
97
- /**
98
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
99
- * via the `definition` "focusable-comp-object".
100
- */
101
- export type FocusableCompObject = BaseCompObject & {
102
- comp: string;
103
- autofocus?: boolean;
104
- [k: string]: unknown;
105
- };
106
- /**
107
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
108
- * via the `definition` "items-based-comp-object".
109
- */
110
- export type ItemsBasedCompObject = BaseCompObject & {
111
- comp: string;
112
- items?: SelectItems;
113
- getItems?: GetItems;
114
- [k: string]: unknown;
115
- };
116
- /**
117
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
118
- * via the `definition` "select-items".
119
- */
120
- export type SelectItems = SelectItem[];
121
- /**
122
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
123
- * via the `definition` "get-items".
124
- */
125
- export type GetItems = {
126
- returnObjects?: boolean;
127
- itemsResults?: Expression;
128
- itemTitle?: Expression;
129
- itemKey?: Expression;
130
- itemValue?: Expression;
131
- itemIcon?: Expression;
132
- immutable?: boolean;
133
- [k: string]: unknown;
134
- } & (Expression | GetItemsFetch);
135
- /**
136
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
137
- * via the `definition` "multiple-compat-comp-object".
138
- */
139
- export type MultipleCompatCompObject = BaseCompObject & {
140
- comp: string;
141
- multiple?: boolean;
142
- separator?: string;
143
- [k: string]: unknown;
144
- };
145
- export interface HttpsJsonLayoutGithubIoNormalizedLayoutKeyword {
146
- [k: string]: unknown;
147
- }
148
- /**
149
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
150
- * via the `definition` "switch-struct".
151
- */
152
- export interface SwitchStruct {
153
- switch: BaseCompObject[];
154
- }
155
- /**
156
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
157
- * via the `definition` "base-comp-object".
158
- */
159
- export interface BaseCompObject {
160
- comp: string;
161
- if?: Expression;
162
- options?: StateNodeOptionsBase;
163
- getOptions?: Expression;
164
- defaultData?: unknown;
165
- getDefaultData?: Expression;
166
- constData?: unknown;
167
- getConstData?: Expression;
168
- transformData?: Expression;
169
- nullable?: boolean;
170
- help?: string;
171
- cols?: ColsObj;
172
- props?: StateNodePropsLib;
173
- getProps?: Expression;
174
- slots?: Slots;
175
- [k: string]: unknown;
176
- }
177
- /**
178
- * This interface was referenced by `undefined`'s JSON-Schema definition
179
- * via the `patternProperty` ".*".
180
- *
181
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
182
- * via the `definition` "expression".
183
- */
184
- export interface Expression {
185
- type: "js-fn" | "js-eval" | "js-tpl";
186
- expr: string;
187
- pure: boolean;
188
- dataAlias: string;
189
- ref?: number;
190
- [k: string]: unknown;
191
- }
192
- /**
193
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
194
- * via the `definition` "state-node-options-base-lib".
195
- */
196
- export interface StateNodeOptionsBaseLib {
197
- /**
198
- * This interface was referenced by `StateNodeOptionsBaseLib`'s JSON-Schema definition
199
- * via the `patternProperty` ".*".
200
- */
201
- [k: string]: unknown;
202
- }
203
- /**
204
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
205
- * via the `definition` "cols-obj".
206
- */
207
- export interface ColsObj {
208
- xs: number;
209
- sm?: Cols;
210
- md?: Cols;
211
- lg?: Cols;
212
- xl?: Cols;
213
- xxl?: Cols;
214
- }
215
- /**
216
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
217
- * via the `definition` "state-node-props-lib".
218
- */
219
- export interface StateNodePropsLib {
220
- /**
221
- * This interface was referenced by `StateNodePropsLib`'s JSON-Schema definition
222
- * via the `patternProperty` ".*".
223
- */
224
- [k: string]: unknown;
225
- }
226
- /**
227
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
228
- * via the `definition` "state-node-slots-lib".
229
- */
230
- export interface StateNodeSlotsLib {
231
- [k: string]: Slot;
232
- }
233
- /**
234
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
235
- * via the `definition` "child-ref".
236
- */
237
- export interface ChildRef {
238
- key: string | number;
239
- cols?: ColsObj;
240
- if?: Expression;
241
- slots?: Slots;
242
- }
243
- /**
244
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
245
- * via the `definition` "child-composite".
246
- */
247
- export interface ChildComposite {
248
- key: string | number;
249
- cols?: ColsObj;
250
- comp?: string;
251
- title?: string;
252
- subtitle?: string;
253
- children: Children;
254
- if?: Expression;
255
- slots?: Slots;
256
- }
257
- /**
258
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
259
- * via the `definition` "child-slot".
260
- */
261
- export interface ChildSlot {
262
- key: string | number;
263
- cols?: ColsObj;
264
- comp: "slot";
265
- if?: Expression;
266
- slots: Slots;
267
- }
268
- /**
269
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
270
- * via the `definition` "select-item".
271
- */
272
- export interface SelectItem {
273
- title: string;
274
- key: string;
275
- value: unknown;
276
- icon?: string;
277
- [k: string]: unknown;
278
- }
279
- /**
280
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
281
- * via the `definition` "get-items-fetch".
282
- */
283
- export interface GetItemsFetch {
284
- url: Expression;
285
- qSearchParam?: string;
286
- searchParams?: {
287
- [k: string]: Expression;
288
- };
289
- [k: string]: unknown;
290
- }
291
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,cAAc,CAAC;AAC7D;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,uBAAuB,GAAG;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,CAAC,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;IAC5D,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ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,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd;AACD;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,UAAU,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE;QACb,CAAC,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;KACzB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB"}
package/types/types.d.ts DELETED
@@ -1,41 +0,0 @@
1
- import { type LayoutKeyword } from './layout-keyword/types.js';
2
- export interface SchemaFragment {
3
- layout?: LayoutKeyword;
4
- oneOfLayout?: LayoutKeyword;
5
- patternPropertiesLayout?: LayoutKeyword;
6
- type: string;
7
- format?: string;
8
- title?: string;
9
- description?: string;
10
- properties?: Record<string, any>;
11
- patternProperties?: Record<string, any>;
12
- oneOf?: any[];
13
- anyOf?: any[];
14
- allOf?: any[];
15
- items?: any;
16
- enum?: any[];
17
- examples?: any[];
18
- minimum?: number;
19
- maximum?: number;
20
- formatMinimum?: string;
21
- formatMaximum?: string;
22
- readOnly?: boolean;
23
- if?: any;
24
- then?: any;
25
- else?: any;
26
- dependencies?: Record<string, any>;
27
- dependentSchemas?: Record<string, any>;
28
- }
29
- export interface ComponentInfo {
30
- name: string;
31
- composite?: boolean;
32
- shouldDebounce?: boolean;
33
- emitsBlur?: boolean;
34
- focusable?: boolean;
35
- itemsBased?: boolean;
36
- multipleCompat?: boolean;
37
- schema?: any;
38
- isFileInput?: boolean;
39
- hintable?: boolean;
40
- }
41
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAE9D,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,WAAW,CAAC,EAAE,aAAa,CAAA;IAC3B,uBAAuB,CAAC,EAAE,aAAa,CAAA;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACvC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAA;IACb,KAAK,CAAC,EAAE,GAAG,EAAE,CAAA;IACb,KAAK,CAAC,EAAE,GAAG,EAAE,CAAA;IACb,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IACZ,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,CAAC,EAAE,GAAG,CAAA;IACR,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CACvC;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,8 +0,0 @@
1
- /**
2
- * @param {import('./types.js').ComponentInfo} component
3
- * @returns {import('ajv').ValidateFunction}
4
- */
5
- export function getComponentValidate(component: import('./types.js').ComponentInfo): import('ajv').ValidateFunction;
6
- export const ajv: ajvModule.default;
7
- import ajvModule from 'ajv/dist/2019.js';
8
- //# sourceMappingURL=validate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../src/validate.js"],"names":[],"mappings":"AAgCA;;;GAGG;AACH,gDAHW,OAAO,YAAY,EAAE,aAAa,GAChC,OAAO,KAAK,EAAE,gBAAgB,CAO1C;AA9BD,oCAUE;sBArBoB,kBAAkB"}