@genesislcap/foundation-forms 14.113.2-alpha-1bd0c13.0 → 14.114.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.
- package/dist/dts/jsonforms/renderers/StepperWrapperRenderer.d.ts.map +1 -1
- package/dist/dts/types.d.ts +4 -0
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/jsonforms/renderers/StepperWrapperRenderer.js +6 -0
- package/dist/foundation-forms.api.json +48 -4
- package/dist/foundation-forms.d.ts +5 -0
- package/docs/api/foundation-forms.md +1 -0
- package/docs/api/foundation-forms.stepperorientationtype.md +12 -0
- package/docs/api/foundation-forms.uischema.md +2 -1
- package/docs/api/foundation-forms.uischemaelementoptions.md +2 -1
- package/docs/api-report.md +6 -1
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepperWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/StepperWrapperRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAKL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"StepperWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/StepperWrapperRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAKL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,8BAA8B,0FA+C1C,CAAC;AAUF,qBAOa,cAAe,SAAQ,WAAW;IACjC,IAAI,MAAC;IACL,OAAO,MAAC;IACR,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzC,iBAAiB,IAAI,IAAI;IAezB,MAAM;IAIN,QAAQ;IAcR,eAAe;CAGhB"}
|
package/dist/dts/types.d.ts
CHANGED
|
@@ -6,8 +6,11 @@ import { DispatchRenderer } from './jsonforms/renderers/dispatch-renderer';
|
|
|
6
6
|
/** @public */
|
|
7
7
|
export type UiSchemaElementType = 'Control' | 'VerticalLayout' | any;
|
|
8
8
|
/** @public */
|
|
9
|
+
export type StepperOrientationType = 'vertical' | 'horizontal';
|
|
10
|
+
/** @public */
|
|
9
11
|
export type UiSchemaElementOptions = {
|
|
10
12
|
async?: boolean;
|
|
13
|
+
orientation?: StepperOrientationType;
|
|
11
14
|
allOptionsResourceName?: string;
|
|
12
15
|
datasourceConfig?: DatasourceOptions;
|
|
13
16
|
hidden?: boolean;
|
|
@@ -36,6 +39,7 @@ export type UiSchema = {
|
|
|
36
39
|
type: UiSchemaElementType;
|
|
37
40
|
elements: UiSchemaElement[];
|
|
38
41
|
dsPrefix?: string;
|
|
42
|
+
options?: UiSchemaElementOptions;
|
|
39
43
|
};
|
|
40
44
|
/** @public */
|
|
41
45
|
export type RendererEntry = {
|
package/dist/dts/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,cAAc;AACd,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,gBAAgB,GAAG,GAAG,CAAC;AAErE,cAAc;AACd,MAAM,MAAM,sBAA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,CAAC;CAClC,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,YAAY,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC;IAC9C,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,KAAK,mBAAmB,CAAC;CACrF,CAAC"}
|
|
@@ -6,6 +6,12 @@ export const StepperWrapperRendererTemplate = (prefix = 'zero') => html `
|
|
|
6
6
|
<${prefix}-stepper
|
|
7
7
|
class="tabs-container"
|
|
8
8
|
${ref('stepper')}
|
|
9
|
+
orientation="${(x) => {
|
|
10
|
+
var _a;
|
|
11
|
+
return ((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.orientation)
|
|
12
|
+
? x.control.uischema.options.orientation
|
|
13
|
+
: 'vertical';
|
|
14
|
+
}}"
|
|
9
15
|
@next-step=${(x) => x.nextStep()}
|
|
10
16
|
@validation-success=${(x) => x.resetValidation()}
|
|
11
17
|
@submit=${(x) => x.submit()}
|
|
@@ -1043,6 +1043,32 @@
|
|
|
1043
1043
|
"endIndex": 2
|
|
1044
1044
|
}
|
|
1045
1045
|
},
|
|
1046
|
+
{
|
|
1047
|
+
"kind": "TypeAlias",
|
|
1048
|
+
"canonicalReference": "@genesislcap/foundation-forms!StepperOrientationType:type",
|
|
1049
|
+
"docComment": "/**\n * @public\n */\n",
|
|
1050
|
+
"excerptTokens": [
|
|
1051
|
+
{
|
|
1052
|
+
"kind": "Content",
|
|
1053
|
+
"text": "export type StepperOrientationType = "
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"kind": "Content",
|
|
1057
|
+
"text": "'vertical' | 'horizontal'"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"kind": "Content",
|
|
1061
|
+
"text": ";"
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"fileUrlPath": "src/types.ts",
|
|
1065
|
+
"releaseTag": "Public",
|
|
1066
|
+
"name": "StepperOrientationType",
|
|
1067
|
+
"typeTokenRange": {
|
|
1068
|
+
"startIndex": 1,
|
|
1069
|
+
"endIndex": 2
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1046
1072
|
{
|
|
1047
1073
|
"kind": "TypeAlias",
|
|
1048
1074
|
"canonicalReference": "@genesislcap/foundation-forms!UiSchema:type",
|
|
@@ -1072,7 +1098,16 @@
|
|
|
1072
1098
|
},
|
|
1073
1099
|
{
|
|
1074
1100
|
"kind": "Content",
|
|
1075
|
-
"text": "[];\n dsPrefix?: string;\n
|
|
1101
|
+
"text": "[];\n dsPrefix?: string;\n options?: "
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"kind": "Reference",
|
|
1105
|
+
"text": "UiSchemaElementOptions",
|
|
1106
|
+
"canonicalReference": "@genesislcap/foundation-forms!UiSchemaElementOptions:type"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"kind": "Content",
|
|
1110
|
+
"text": ";\n}"
|
|
1076
1111
|
},
|
|
1077
1112
|
{
|
|
1078
1113
|
"kind": "Content",
|
|
@@ -1084,7 +1119,7 @@
|
|
|
1084
1119
|
"name": "UiSchema",
|
|
1085
1120
|
"typeTokenRange": {
|
|
1086
1121
|
"startIndex": 1,
|
|
1087
|
-
"endIndex":
|
|
1122
|
+
"endIndex": 8
|
|
1088
1123
|
}
|
|
1089
1124
|
},
|
|
1090
1125
|
{
|
|
@@ -1142,7 +1177,16 @@
|
|
|
1142
1177
|
},
|
|
1143
1178
|
{
|
|
1144
1179
|
"kind": "Content",
|
|
1145
|
-
"text": "{\n async?: boolean;\n
|
|
1180
|
+
"text": "{\n async?: boolean;\n orientation?: "
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"kind": "Reference",
|
|
1184
|
+
"text": "StepperOrientationType",
|
|
1185
|
+
"canonicalReference": "@genesislcap/foundation-forms!StepperOrientationType:type"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"kind": "Content",
|
|
1189
|
+
"text": ";\n allOptionsResourceName?: string;\n datasourceConfig?: "
|
|
1146
1190
|
},
|
|
1147
1191
|
{
|
|
1148
1192
|
"kind": "Reference",
|
|
@@ -1190,7 +1234,7 @@
|
|
|
1190
1234
|
"name": "UiSchemaElementOptions",
|
|
1191
1235
|
"typeTokenRange": {
|
|
1192
1236
|
"startIndex": 1,
|
|
1193
|
-
"endIndex":
|
|
1237
|
+
"endIndex": 12
|
|
1194
1238
|
}
|
|
1195
1239
|
},
|
|
1196
1240
|
{
|
|
@@ -281,11 +281,15 @@ export declare type RendererEntry = {
|
|
|
281
281
|
/** @public */
|
|
282
282
|
export declare const renderers: any[];
|
|
283
283
|
|
|
284
|
+
/** @public */
|
|
285
|
+
export declare type StepperOrientationType = 'vertical' | 'horizontal';
|
|
286
|
+
|
|
284
287
|
/** @public */
|
|
285
288
|
export declare type UiSchema = {
|
|
286
289
|
type: UiSchemaElementType;
|
|
287
290
|
elements: UiSchemaElement[];
|
|
288
291
|
dsPrefix?: string;
|
|
292
|
+
options?: UiSchemaElementOptions;
|
|
289
293
|
};
|
|
290
294
|
|
|
291
295
|
/** @public */
|
|
@@ -300,6 +304,7 @@ export declare type UiSchemaElement = {
|
|
|
300
304
|
/** @public */
|
|
301
305
|
export declare type UiSchemaElementOptions = {
|
|
302
306
|
async?: boolean;
|
|
307
|
+
orientation?: StepperOrientationType;
|
|
303
308
|
allOptionsResourceName?: string;
|
|
304
309
|
datasourceConfig?: DatasourceOptions;
|
|
305
310
|
hidden?: boolean;
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
| Type Alias | Description |
|
|
27
27
|
| --- | --- |
|
|
28
28
|
| [RendererEntry](./foundation-forms.rendererentry.md) | |
|
|
29
|
+
| [StepperOrientationType](./foundation-forms.stepperorientationtype.md) | |
|
|
29
30
|
| [UiSchema](./foundation-forms.uischema.md) | |
|
|
30
31
|
| [UiSchemaElement](./foundation-forms.uischemaelement.md) | |
|
|
31
32
|
| [UiSchemaElementOptions](./foundation-forms.uischemaelementoptions.md) | |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [StepperOrientationType](./foundation-forms.stepperorientationtype.md)
|
|
4
|
+
|
|
5
|
+
## StepperOrientationType type
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Signature:**
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
export type StepperOrientationType = 'vertical' | 'horizontal';
|
|
12
|
+
```
|
|
@@ -12,7 +12,8 @@ export type UiSchema = {
|
|
|
12
12
|
type: UiSchemaElementType;
|
|
13
13
|
elements: UiSchemaElement[];
|
|
14
14
|
dsPrefix?: string;
|
|
15
|
+
options?: UiSchemaElementOptions;
|
|
15
16
|
};
|
|
16
17
|
```
|
|
17
|
-
**References:** [UiSchemaElementType](./foundation-forms.uischemaelementtype.md)<!-- -->, [UiSchemaElement](./foundation-forms.uischemaelement.md)
|
|
18
|
+
**References:** [UiSchemaElementType](./foundation-forms.uischemaelementtype.md)<!-- -->, [UiSchemaElement](./foundation-forms.uischemaelement.md)<!-- -->, [UiSchemaElementOptions](./foundation-forms.uischemaelementoptions.md)
|
|
18
19
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
```typescript
|
|
11
11
|
export type UiSchemaElementOptions = {
|
|
12
12
|
async?: boolean;
|
|
13
|
+
orientation?: StepperOrientationType;
|
|
13
14
|
allOptionsResourceName?: string;
|
|
14
15
|
datasourceConfig?: DatasourceOptions;
|
|
15
16
|
hidden?: boolean;
|
|
@@ -26,5 +27,5 @@ export type UiSchemaElementOptions = {
|
|
|
26
27
|
};
|
|
27
28
|
};
|
|
28
29
|
```
|
|
29
|
-
**References:** [UiSchema](./foundation-forms.uischema.md)
|
|
30
|
+
**References:** [StepperOrientationType](./foundation-forms.stepperorientationtype.md)<!-- -->, [UiSchema](./foundation-forms.uischema.md)
|
|
30
31
|
|
package/docs/api-report.md
CHANGED
|
@@ -130,11 +130,15 @@ export type RendererEntry = {
|
|
|
130
130
|
// @public (undocumented)
|
|
131
131
|
export const renderers: any[];
|
|
132
132
|
|
|
133
|
+
// @public (undocumented)
|
|
134
|
+
export type StepperOrientationType = 'vertical' | 'horizontal';
|
|
135
|
+
|
|
133
136
|
// @public (undocumented)
|
|
134
137
|
export type UiSchema = {
|
|
135
138
|
type: UiSchemaElementType;
|
|
136
139
|
elements: UiSchemaElement[];
|
|
137
140
|
dsPrefix?: string;
|
|
141
|
+
options?: UiSchemaElementOptions;
|
|
138
142
|
};
|
|
139
143
|
|
|
140
144
|
// @public (undocumented)
|
|
@@ -149,6 +153,7 @@ export type UiSchemaElement = {
|
|
|
149
153
|
// @public (undocumented)
|
|
150
154
|
export type UiSchemaElementOptions = {
|
|
151
155
|
async?: boolean;
|
|
156
|
+
orientation?: StepperOrientationType;
|
|
152
157
|
allOptionsResourceName?: string;
|
|
153
158
|
datasourceConfig?: DatasourceOptions;
|
|
154
159
|
hidden?: boolean;
|
|
@@ -170,7 +175,7 @@ export type UiSchemaElementType = 'Control' | 'VerticalLayout' | any;
|
|
|
170
175
|
|
|
171
176
|
// Warnings were encountered during analysis:
|
|
172
177
|
//
|
|
173
|
-
// src/types.ts:
|
|
178
|
+
// src/types.ts:57:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
|
|
174
179
|
|
|
175
180
|
// (No @packageDocumentation comment for this package)
|
|
176
181
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-forms",
|
|
3
3
|
"description": "Genesis Foundation Forms",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.114.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"test:debug": "genx test --debug"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@genesislcap/foundation-testing": "14.
|
|
44
|
-
"@genesislcap/genx": "14.
|
|
43
|
+
"@genesislcap/foundation-testing": "14.114.1",
|
|
44
|
+
"@genesislcap/genx": "14.114.1",
|
|
45
45
|
"@types/json-schema": "^7.0.11",
|
|
46
46
|
"rimraf": "^3.0.2"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@genesislcap/foundation-comms": "14.
|
|
50
|
-
"@genesislcap/foundation-criteria": "14.
|
|
51
|
-
"@genesislcap/foundation-logger": "14.
|
|
52
|
-
"@genesislcap/foundation-ui": "14.
|
|
49
|
+
"@genesislcap/foundation-comms": "14.114.1",
|
|
50
|
+
"@genesislcap/foundation-criteria": "14.114.1",
|
|
51
|
+
"@genesislcap/foundation-logger": "14.114.1",
|
|
52
|
+
"@genesislcap/foundation-ui": "14.114.1",
|
|
53
53
|
"@jsonforms/core": "^3.0.0",
|
|
54
54
|
"@microsoft/fast-components": "^2.21.3",
|
|
55
55
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
71
|
"customElements": "dist/custom-elements.json",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "c3a8894c9125182a29e5f26fd70baa08ecdc143b"
|
|
73
73
|
}
|