@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,294 +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
- props?: {
58
- [k: string]: unknown;
59
- };
60
- };
61
- /**
62
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
63
- * via the `definition` "composite-comp-object".
64
- */
65
- export type CompositeCompObject = BaseCompObject & {
66
- comp: string;
67
- title?: string | null;
68
- subtitle?: string | null;
69
- children: Children;
70
- [k: string]: unknown;
71
- };
72
- /**
73
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
74
- * via the `definition` "child".
75
- */
76
- export type Child = ChildRef | ChildComposite | ChildSlot;
77
- /**
78
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
79
- * via the `definition` "children".
80
- */
81
- export type Children = Child[];
82
- /**
83
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
84
- * via the `definition` "slot-comp-object".
85
- */
86
- export type SlotCompObject = BaseCompObject & {
87
- comp: "slot";
88
- [k: string]: unknown;
89
- };
90
- /**
91
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
92
- * via the `definition` "simple-comp-object".
93
- */
94
- export type SimpleCompObject = BaseCompObject & {
95
- comp: string;
96
- label?: string;
97
- hint?: string | null;
98
- [k: string]: unknown;
99
- };
100
- /**
101
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
102
- * via the `definition` "focusable-comp-object".
103
- */
104
- export type FocusableCompObject = BaseCompObject & {
105
- comp: string;
106
- autofocus?: boolean;
107
- [k: string]: unknown;
108
- };
109
- /**
110
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
111
- * via the `definition` "items-based-comp-object".
112
- */
113
- export type ItemsBasedCompObject = BaseCompObject & {
114
- comp: string;
115
- items?: SelectItems;
116
- getItems?: GetItems;
117
- [k: string]: unknown;
118
- };
119
- /**
120
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
121
- * via the `definition` "select-items".
122
- */
123
- export type SelectItems = SelectItem[];
124
- /**
125
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
126
- * via the `definition` "get-items".
127
- */
128
- export type GetItems = {
129
- returnObjects?: boolean;
130
- itemsResults?: Expression;
131
- itemTitle?: Expression;
132
- itemKey?: Expression;
133
- itemValue?: Expression;
134
- itemIcon?: Expression;
135
- immutable?: boolean;
136
- [k: string]: unknown;
137
- } & (Expression | GetItemsFetch);
138
- /**
139
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
140
- * via the `definition` "multiple-compat-comp-object".
141
- */
142
- export type MultipleCompatCompObject = BaseCompObject & {
143
- comp: string;
144
- multiple?: boolean;
145
- separator?: string;
146
- [k: string]: unknown;
147
- };
148
- export interface HttpsJsonLayoutGithubIoNormalizedLayoutKeyword {
149
- [k: string]: unknown;
150
- }
151
- /**
152
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
153
- * via the `definition` "switch-struct".
154
- */
155
- export interface SwitchStruct {
156
- switch: BaseCompObject[];
157
- }
158
- /**
159
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
160
- * via the `definition` "base-comp-object".
161
- */
162
- export interface BaseCompObject {
163
- comp: string;
164
- if?: Expression;
165
- options?: StateNodeOptionsBase;
166
- getOptions?: Expression;
167
- defaultData?: unknown;
168
- getDefaultData?: Expression;
169
- constData?: unknown;
170
- getConstData?: Expression;
171
- transformData?: Expression;
172
- nullable?: boolean;
173
- help?: string;
174
- cols?: ColsObj;
175
- props?: StateNodePropsLib;
176
- getProps?: Expression;
177
- slots?: Slots;
178
- [k: string]: unknown;
179
- }
180
- /**
181
- * This interface was referenced by `undefined`'s JSON-Schema definition
182
- * via the `patternProperty` ".*".
183
- *
184
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
185
- * via the `definition` "expression".
186
- */
187
- export interface Expression {
188
- type: "js-fn" | "js-eval" | "js-tpl";
189
- expr: string;
190
- pure: boolean;
191
- dataAlias: string;
192
- ref?: number;
193
- [k: string]: unknown;
194
- }
195
- /**
196
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
197
- * via the `definition` "state-node-options-base-lib".
198
- */
199
- export interface StateNodeOptionsBaseLib {
200
- /**
201
- * This interface was referenced by `StateNodeOptionsBaseLib`'s JSON-Schema definition
202
- * via the `patternProperty` ".*".
203
- */
204
- [k: string]: unknown;
205
- }
206
- /**
207
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
208
- * via the `definition` "cols-obj".
209
- */
210
- export interface ColsObj {
211
- xs: number;
212
- sm?: Cols;
213
- md?: Cols;
214
- lg?: Cols;
215
- xl?: Cols;
216
- xxl?: Cols;
217
- }
218
- /**
219
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
220
- * via the `definition` "state-node-props-lib".
221
- */
222
- export interface StateNodePropsLib {
223
- /**
224
- * This interface was referenced by `StateNodePropsLib`'s JSON-Schema definition
225
- * via the `patternProperty` ".*".
226
- */
227
- [k: string]: unknown;
228
- }
229
- /**
230
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
231
- * via the `definition` "state-node-slots-lib".
232
- */
233
- export interface StateNodeSlotsLib {
234
- [k: string]: Slot;
235
- }
236
- /**
237
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
238
- * via the `definition` "child-ref".
239
- */
240
- export interface ChildRef {
241
- key: string | number;
242
- cols?: ColsObj;
243
- if?: Expression;
244
- slots?: Slots;
245
- }
246
- /**
247
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
248
- * via the `definition` "child-composite".
249
- */
250
- export interface ChildComposite {
251
- key: string | number;
252
- cols?: ColsObj;
253
- comp?: string;
254
- title?: string;
255
- subtitle?: string;
256
- children: Children;
257
- if?: Expression;
258
- slots?: Slots;
259
- }
260
- /**
261
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
262
- * via the `definition` "child-slot".
263
- */
264
- export interface ChildSlot {
265
- key: string | number;
266
- cols?: ColsObj;
267
- comp: "slot";
268
- if?: Expression;
269
- slots: Slots;
270
- }
271
- /**
272
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
273
- * via the `definition` "select-item".
274
- */
275
- export interface SelectItem {
276
- title: string;
277
- key: string;
278
- value: unknown;
279
- icon?: string;
280
- [k: string]: unknown;
281
- }
282
- /**
283
- * This interface was referenced by `HttpsJsonLayoutGithubIoNormalizedLayoutKeyword`'s JSON-Schema
284
- * via the `definition` "get-items-fetch".
285
- */
286
- export interface GetItemsFetch {
287
- url: Expression;
288
- qSearchParam?: string;
289
- searchParams?: {
290
- [k: string]: Expression;
291
- };
292
- [k: string]: unknown;
293
- }
294
- //# 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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OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IACnB,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AACD;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,IAAI,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"}