zova-module-a-openapi 5.1.46 → 5.1.47
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,3 +1,4 @@
|
|
|
1
|
+
import type { IResourceRenderBlockOptionsBlock } from './block.js';
|
|
1
2
|
export interface IFormLayout {
|
|
2
3
|
children: IFormLayoutNode[];
|
|
3
4
|
}
|
|
@@ -13,12 +14,18 @@ export interface IFormLayoutField {
|
|
|
13
14
|
name: string;
|
|
14
15
|
span?: IFormLayoutResponsiveColumns;
|
|
15
16
|
}
|
|
17
|
+
export interface IFormLayoutBlock {
|
|
18
|
+
type: 'block';
|
|
19
|
+
block: IResourceRenderBlockOptionsBlock;
|
|
20
|
+
span?: IFormLayoutResponsiveColumns;
|
|
21
|
+
}
|
|
22
|
+
export type IFormLayoutLeaf = IFormLayoutField | IFormLayoutBlock;
|
|
16
23
|
export interface IFormLayoutGroup {
|
|
17
24
|
type: 'group';
|
|
18
25
|
id?: string;
|
|
19
26
|
title?: string;
|
|
20
27
|
description?: string;
|
|
21
|
-
children: Array<
|
|
28
|
+
children: Array<IFormLayoutLeaf | IFormLayoutGroup | IFormLayoutSection>;
|
|
22
29
|
}
|
|
23
30
|
export interface IFormLayoutSection {
|
|
24
31
|
type: 'section';
|
|
@@ -27,7 +34,7 @@ export interface IFormLayoutSection {
|
|
|
27
34
|
description?: string;
|
|
28
35
|
layout?: TypeFormLayoutSectionLayout;
|
|
29
36
|
columns?: IFormLayoutResponsiveColumns;
|
|
30
|
-
children:
|
|
37
|
+
children: IFormLayoutLeaf[];
|
|
31
38
|
}
|
|
32
39
|
export interface IFormLayoutTabs {
|
|
33
40
|
type: 'tabs';
|
|
@@ -38,7 +45,7 @@ export interface IFormLayoutTab {
|
|
|
38
45
|
type: 'tab';
|
|
39
46
|
id?: string;
|
|
40
47
|
title: string;
|
|
41
|
-
children: Array<
|
|
48
|
+
children: Array<IFormLayoutLeaf | IFormLayoutGroup | IFormLayoutSection>;
|
|
42
49
|
}
|
|
43
|
-
export type IFormLayoutNode =
|
|
50
|
+
export type IFormLayoutNode = IFormLayoutLeaf | IFormLayoutGroup | IFormLayoutSection | IFormLayoutTabs;
|
|
44
51
|
//# sourceMappingURL=formLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/types/resource/formLayout.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;CAC7B;AAED,MAAM,MAAM,qBAAqB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAElD,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1D,MAAM,WAAW,4BAA4B;IAC3C,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,EAAE,CAAC,EAAE,qBAAqB,CAAC;IAC3B,EAAE,CAAC,EAAE,qBAAqB,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,4BAA4B,CAAC;CACrC;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/types/resource/formLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,YAAY,CAAC;AAEnE,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;CAC7B;AAED,MAAM,MAAM,qBAAqB,GAAG,CAAC,GAAG,CAAC,GAAG,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AW,cAAc;IAC7B,IAAI,EAAE,KAAK,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,eAAe,GAAG,gBAAgB,GAAG,kBAAkB,CAAC,CAAC;CAC1E;AAED,MAAM,MAAM,eAAe,GACvB,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { IResourceRenderBlockOptionsBlock } from './block.js';
|
|
2
|
+
|
|
1
3
|
export interface IFormLayout {
|
|
2
4
|
children: IFormLayoutNode[];
|
|
3
5
|
}
|
|
@@ -18,12 +20,20 @@ export interface IFormLayoutField {
|
|
|
18
20
|
span?: IFormLayoutResponsiveColumns;
|
|
19
21
|
}
|
|
20
22
|
|
|
23
|
+
export interface IFormLayoutBlock {
|
|
24
|
+
type: 'block';
|
|
25
|
+
block: IResourceRenderBlockOptionsBlock;
|
|
26
|
+
span?: IFormLayoutResponsiveColumns;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type IFormLayoutLeaf = IFormLayoutField | IFormLayoutBlock;
|
|
30
|
+
|
|
21
31
|
export interface IFormLayoutGroup {
|
|
22
32
|
type: 'group';
|
|
23
33
|
id?: string;
|
|
24
34
|
title?: string;
|
|
25
35
|
description?: string;
|
|
26
|
-
children: Array<
|
|
36
|
+
children: Array<IFormLayoutLeaf | IFormLayoutGroup | IFormLayoutSection>;
|
|
27
37
|
}
|
|
28
38
|
|
|
29
39
|
export interface IFormLayoutSection {
|
|
@@ -33,7 +43,7 @@ export interface IFormLayoutSection {
|
|
|
33
43
|
description?: string;
|
|
34
44
|
layout?: TypeFormLayoutSectionLayout;
|
|
35
45
|
columns?: IFormLayoutResponsiveColumns;
|
|
36
|
-
children:
|
|
46
|
+
children: IFormLayoutLeaf[];
|
|
37
47
|
}
|
|
38
48
|
|
|
39
49
|
export interface IFormLayoutTabs {
|
|
@@ -46,11 +56,11 @@ export interface IFormLayoutTab {
|
|
|
46
56
|
type: 'tab';
|
|
47
57
|
id?: string;
|
|
48
58
|
title: string;
|
|
49
|
-
children: Array<
|
|
59
|
+
children: Array<IFormLayoutLeaf | IFormLayoutGroup | IFormLayoutSection>;
|
|
50
60
|
}
|
|
51
61
|
|
|
52
62
|
export type IFormLayoutNode =
|
|
53
|
-
|
|
|
63
|
+
| IFormLayoutLeaf
|
|
54
64
|
| IFormLayoutGroup
|
|
55
65
|
| IFormLayoutSection
|
|
56
66
|
| IFormLayoutTabs;
|