@genesislcap/foundation-forms 14.199.2 → 14.200.0
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/custom-elements.json +6 -2
- package/dist/dts/jsonforms/renderers/BooleanControlRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/ConnectedMultiselectControlRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/ConnectedSelectControlRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/ControlWrapperRenderer.d.ts +1 -0
- package/dist/dts/jsonforms/renderers/ControlWrapperRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/DateControlRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/EnumControlRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/LayoutArrayRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/NumberControlRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/StringArrayControlRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/StringControlRenderer.d.ts.map +1 -1
- package/dist/dts/types.d.ts +23 -2
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/jsonforms/renderers/BooleanControlRenderer.js +1 -0
- package/dist/esm/jsonforms/renderers/ConnectedMultiselectControlRenderer.js +1 -0
- package/dist/esm/jsonforms/renderers/ConnectedSelectControlRenderer.js +1 -0
- package/dist/esm/jsonforms/renderers/ControlWrapperRenderer.js +20 -1
- package/dist/esm/jsonforms/renderers/DateControlRenderer.js +1 -0
- package/dist/esm/jsonforms/renderers/EnumControlRenderer.js +1 -0
- package/dist/esm/jsonforms/renderers/LayoutArrayRenderer.js +1 -0
- package/dist/esm/jsonforms/renderers/NumberControlRenderer.js +1 -0
- package/dist/esm/jsonforms/renderers/StringArrayControlRenderer.js +1 -0
- package/dist/esm/jsonforms/renderers/StringControlRenderer.js +1 -0
- package/dist/foundation-forms.api.json +99 -2
- package/dist/foundation-forms.d.ts +26 -2
- package/docs/api/foundation-forms.labelplacementoptions.md +17 -0
- package/docs/api/foundation-forms.labelplacementtype.md +13 -0
- package/docs/api/foundation-forms.md +3 -0
- package/docs/api/foundation-forms.uischema.md +2 -2
- package/docs/api/foundation-forms.uischemaoptions.md +15 -0
- package/docs/api-report.md +14 -3
- package/package.json +14 -14
|
@@ -1503,7 +1503,7 @@
|
|
|
1503
1503
|
{
|
|
1504
1504
|
"kind": "variable",
|
|
1505
1505
|
"name": "ControlWrapperRendererTemplate",
|
|
1506
|
-
"default": "html`\n <template>\n ${when(\n (x) => x.control?.visible,\n html`\n <div\n class
|
|
1506
|
+
"default": "html`\n <template>\n ${when(\n (x) => x.control?.visible,\n html`\n <div\n class=${(x) =>\n classNames(\n ['wrapperRoot', true],\n ['labelLeft', x.jsonForms?.core?.uischema?.options?.labelPlacement === 'left'],\n )}\n id=${(x) => x.control.path + '-wrapper'}\n data-test-id=${(x) => x.control.path + '-wrapper'}\n >\n ${when(\n (x) => !x.hideLabel,\n html`\n <div for=\"${(x) => x.control.path + '-wrapper'}\" class=\"label\">\n ${(x) => x.computedLabel}\n </div>\n `,\n )}\n\n <div class=\"wrapper\">\n <slot></slot>\n </div>\n <div class=\"${(x) => (x.control.errors && x.touched ? 'error' : 'description')}\">\n ${(x) =>\n x.control.errors && x.touched\n ? x.control.errors\n : x.showDescription\n ? x.control.description\n : ''}\n </div>\n </div>\n `,\n )}\n </template>\n`"
|
|
1507
1507
|
},
|
|
1508
1508
|
{
|
|
1509
1509
|
"kind": "class",
|
|
@@ -1514,6 +1514,10 @@
|
|
|
1514
1514
|
"kind": "field",
|
|
1515
1515
|
"name": "control"
|
|
1516
1516
|
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "field",
|
|
1519
|
+
"name": "jsonForms"
|
|
1520
|
+
},
|
|
1517
1521
|
{
|
|
1518
1522
|
"kind": "field",
|
|
1519
1523
|
"name": "touched",
|
|
@@ -1840,7 +1844,7 @@
|
|
|
1840
1844
|
{
|
|
1841
1845
|
"kind": "variable",
|
|
1842
1846
|
"name": "LayoutArrayRendererTemplate",
|
|
1843
|
-
"default": "html`\n <template>\n <control-wrapper\n :control=${(x) => x.control}\n :touched=${(x) => x.touched}\n ?submitted=${(x) => x.submitted}\n >\n <array-list-wrapper :form=${(x) => x} :control=${(x) => x.control}></array-list-wrapper>\n </control-wrapper>\n </template>\n`"
|
|
1847
|
+
"default": "html`\n <template>\n <control-wrapper\n :control=${(x) => x.control}\n :jsonForms=${(x) => x.jsonforms}\n :touched=${(x) => x.touched}\n ?submitted=${(x) => x.submitted}\n >\n <array-list-wrapper :form=${(x) => x} :control=${(x) => x.control}></array-list-wrapper>\n </control-wrapper>\n </template>\n`"
|
|
1844
1848
|
},
|
|
1845
1849
|
{
|
|
1846
1850
|
"kind": "variable",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/BooleanControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,eAAO,MAAM,8BAA8B,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"BooleanControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/BooleanControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,eAAO,MAAM,8BAA8B,YAAY,MAAM,0EAuB5D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,aAMjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectedMultiselectControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,2CAA2C,YAC9C,MAAM,
|
|
1
|
+
{"version":3,"file":"ConnectedMultiselectControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,2CAA2C,YAC9C,MAAM,0EA6Bf,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,aAMtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectedSelectControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ConnectedSelectControlRenderer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,sCAAsC,YACzC,MAAM,
|
|
1
|
+
{"version":3,"file":"ConnectedSelectControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ConnectedSelectControlRenderer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,sCAAsC,YACzC,MAAM,0EAkCf,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,GAMjD,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { FASTElement } from '@microsoft/fast-element';
|
|
|
2
2
|
export declare const ControlWrapperRendererTemplate: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
3
3
|
export declare class ControlWrapper extends FASTElement {
|
|
4
4
|
control: any;
|
|
5
|
+
jsonForms: any;
|
|
5
6
|
touched: boolean;
|
|
6
7
|
hideLabel: boolean;
|
|
7
8
|
get showDescription(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAML,WAAW,EAGZ,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAML,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAGjC,eAAO,MAAM,8BAA8B,0DAsC1C,CAAC;AAsCF,qBAKa,cAAe,SAAQ,WAAW;IACjC,OAAO,MAAC;IACR,SAAS,MAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACuB,SAAS,EAAE,OAAO,CAAS;IAE/E,IACI,eAAe,YAOlB;IAED,IACI,aAAa,WAMhB;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/DateControlRenderer.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,2BAA2B,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"DateControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/DateControlRenderer.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,2BAA2B,YAAY,MAAM,6DAwCzD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,GAMtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/EnumControlRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,cAAc,EAEd,iBAAiB,EACjB,cAAc,EAEd,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAQzB,eAAO,MAAM,0BAA0B,UAC9B,cAAc,YACX,iBAAiB,GAAG,cAAc,KAC3C,mBAAmB,GAAG,cAwBxB,CAAC;AAwBF,eAAO,MAAM,2BAA2B,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"EnumControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/EnumControlRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,cAAc,EAEd,iBAAiB,EACjB,cAAc,EAEd,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAQzB,eAAO,MAAM,0BAA0B,UAC9B,cAAc,YACX,iBAAiB,GAAG,cAAc,KAC3C,mBAAmB,GAAG,cAwBxB,CAAC;AAwBF,eAAO,MAAM,2BAA2B,YAAY,MAAM,6DAyBzD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,GAMtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutArrayRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutArrayRenderer.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"LayoutArrayRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutArrayRenderer.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,2BAA2B,0DAWvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,GAKtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/NumberControlRenderer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6BAA6B,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"NumberControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/NumberControlRenderer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6BAA6B,YAAY,MAAM,6DA2B3D,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,GAMxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StringArrayControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/StringArrayControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAWvD,eAAO,MAAM,qCAAqC,YACxC,MAAM,
|
|
1
|
+
{"version":3,"file":"StringArrayControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/StringArrayControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAWvD,eAAO,MAAM,qCAAqC,YACxC,MAAM,0EAsBf,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,aAM9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StringControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/StringControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AASvD,eAAO,MAAM,gCAAgC,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"StringControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/StringControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AASvD,eAAO,MAAM,gCAAgC,YAAY,MAAM,0EAuC9D,CAAC;AACF,eAAO,MAAM,6BAA6B,uEAEzC,CAAC"}
|
package/dist/dts/types.d.ts
CHANGED
|
@@ -15,6 +15,11 @@ export type UiSchemaElementType = 'Control' | 'VerticalLayout' | 'LayoutVertical
|
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
17
|
export type StepperOrientationType = 'vertical' | 'horizontal';
|
|
18
|
+
/**
|
|
19
|
+
* Available aligment for labels.
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type LabelPlacementType = 'top' | 'left';
|
|
18
23
|
/**
|
|
19
24
|
* Available configuration options for connected combobox/multiselect.
|
|
20
25
|
* @public
|
|
@@ -74,6 +79,22 @@ export type StepperOrientationOptions = {
|
|
|
74
79
|
*/
|
|
75
80
|
orientation?: StepperOrientationType;
|
|
76
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* Orientation options available for stepper renderer.
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export type LabelPlacementOptions = {
|
|
87
|
+
/**
|
|
88
|
+
* Configuration options available for the labels alignment renderer which set the renderer top or left.
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
labelPlacement?: LabelPlacementType;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* All configuration options that are available.
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
|
|
77
98
|
/**
|
|
78
99
|
* Configuration options available for categorization renderer.
|
|
79
100
|
* @public
|
|
@@ -199,10 +220,10 @@ export type UiSchema = {
|
|
|
199
220
|
*/
|
|
200
221
|
elements: UiSchemaElement[];
|
|
201
222
|
/**
|
|
202
|
-
*
|
|
223
|
+
* Optional attribute options that determine how the control is rendered.
|
|
203
224
|
* @public
|
|
204
225
|
*/
|
|
205
|
-
options?:
|
|
226
|
+
options?: UiSchemaOptions;
|
|
206
227
|
};
|
|
207
228
|
/** @public */
|
|
208
229
|
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;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'@jsonforms/core';
|
|
3
3
|
import { html, css, when, observable, customElement, FASTElement, volatile, attr, } from '@microsoft/fast-element';
|
|
4
|
+
import { classNames } from '@microsoft/fast-web-utilities';
|
|
4
5
|
export const ControlWrapperRendererTemplate = html `
|
|
5
6
|
<template>
|
|
6
7
|
${when((x) => { var _a; return (_a = x.control) === null || _a === void 0 ? void 0 : _a.visible; }, html `
|
|
7
8
|
<div
|
|
8
|
-
class
|
|
9
|
+
class=${(x) => {
|
|
10
|
+
var _a, _b, _c, _d;
|
|
11
|
+
return classNames(['wrapperRoot', true], ['labelLeft', ((_d = (_c = (_b = (_a = x.jsonForms) === null || _a === void 0 ? void 0 : _a.core) === null || _b === void 0 ? void 0 : _b.uischema) === null || _c === void 0 ? void 0 : _c.options) === null || _d === void 0 ? void 0 : _d.labelPlacement) === 'left']);
|
|
12
|
+
}}
|
|
9
13
|
id=${(x) => x.control.path + '-wrapper'}
|
|
10
14
|
data-test-id=${(x) => x.control.path + '-wrapper'}
|
|
11
15
|
>
|
|
@@ -33,6 +37,11 @@ const styles = css `
|
|
|
33
37
|
.wrapperRoot {
|
|
34
38
|
margin-bottom: calc(var(--design-unit) * 4px);
|
|
35
39
|
}
|
|
40
|
+
|
|
41
|
+
.wrapperRoot.labelLeft {
|
|
42
|
+
display: flex;
|
|
43
|
+
}
|
|
44
|
+
|
|
36
45
|
.label {
|
|
37
46
|
color: var(--neutral-foreground-hint);
|
|
38
47
|
margin-bottom: calc(var(--design-unit) * 1px);
|
|
@@ -40,6 +49,13 @@ const styles = css `
|
|
|
40
49
|
justify-content: space-between;
|
|
41
50
|
}
|
|
42
51
|
|
|
52
|
+
.labelLeft .label {
|
|
53
|
+
min-width: calc(var(--design-unit) * 30px);
|
|
54
|
+
margin-right: calc(var(--design-unit) * 2px);
|
|
55
|
+
align-items: center;
|
|
56
|
+
margin-bottom: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
43
59
|
.error {
|
|
44
60
|
font-size: 12px;
|
|
45
61
|
color: #f9644d;
|
|
@@ -67,6 +83,9 @@ let ControlWrapper = class ControlWrapper extends FASTElement {
|
|
|
67
83
|
__decorate([
|
|
68
84
|
observable
|
|
69
85
|
], ControlWrapper.prototype, "control", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
observable
|
|
88
|
+
], ControlWrapper.prototype, "jsonForms", void 0);
|
|
70
89
|
__decorate([
|
|
71
90
|
observable
|
|
72
91
|
], ControlWrapper.prototype, "touched", void 0);
|
|
@@ -1211,6 +1211,67 @@
|
|
|
1211
1211
|
"endIndex": 2
|
|
1212
1212
|
}
|
|
1213
1213
|
},
|
|
1214
|
+
{
|
|
1215
|
+
"kind": "TypeAlias",
|
|
1216
|
+
"canonicalReference": "@genesislcap/foundation-forms!LabelPlacementOptions:type",
|
|
1217
|
+
"docComment": "/**\n * Orientation options available for stepper renderer.\n *\n * @public\n */\n",
|
|
1218
|
+
"excerptTokens": [
|
|
1219
|
+
{
|
|
1220
|
+
"kind": "Content",
|
|
1221
|
+
"text": "export type LabelPlacementOptions = "
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"kind": "Content",
|
|
1225
|
+
"text": "{\n labelPlacement?: "
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"kind": "Reference",
|
|
1229
|
+
"text": "LabelPlacementType",
|
|
1230
|
+
"canonicalReference": "@genesislcap/foundation-forms!LabelPlacementType:type"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"kind": "Content",
|
|
1234
|
+
"text": ";\n}"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"kind": "Content",
|
|
1238
|
+
"text": ";"
|
|
1239
|
+
}
|
|
1240
|
+
],
|
|
1241
|
+
"fileUrlPath": "src/types.ts",
|
|
1242
|
+
"releaseTag": "Public",
|
|
1243
|
+
"name": "LabelPlacementOptions",
|
|
1244
|
+
"typeTokenRange": {
|
|
1245
|
+
"startIndex": 1,
|
|
1246
|
+
"endIndex": 4
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"kind": "TypeAlias",
|
|
1251
|
+
"canonicalReference": "@genesislcap/foundation-forms!LabelPlacementType:type",
|
|
1252
|
+
"docComment": "/**\n * Available aligment for labels.\n *\n * @public\n */\n",
|
|
1253
|
+
"excerptTokens": [
|
|
1254
|
+
{
|
|
1255
|
+
"kind": "Content",
|
|
1256
|
+
"text": "export type LabelPlacementType = "
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"kind": "Content",
|
|
1260
|
+
"text": "'top' | 'left'"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"kind": "Content",
|
|
1264
|
+
"text": ";"
|
|
1265
|
+
}
|
|
1266
|
+
],
|
|
1267
|
+
"fileUrlPath": "src/types.ts",
|
|
1268
|
+
"releaseTag": "Public",
|
|
1269
|
+
"name": "LabelPlacementType",
|
|
1270
|
+
"typeTokenRange": {
|
|
1271
|
+
"startIndex": 1,
|
|
1272
|
+
"endIndex": 2
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1214
1275
|
{
|
|
1215
1276
|
"kind": "Variable",
|
|
1216
1277
|
"canonicalReference": "@genesislcap/foundation-forms!mustMatch:var",
|
|
@@ -1519,8 +1580,8 @@
|
|
|
1519
1580
|
},
|
|
1520
1581
|
{
|
|
1521
1582
|
"kind": "Reference",
|
|
1522
|
-
"text": "
|
|
1523
|
-
"canonicalReference": "@genesislcap/foundation-forms!
|
|
1583
|
+
"text": "UiSchemaOptions",
|
|
1584
|
+
"canonicalReference": "@genesislcap/foundation-forms!UiSchemaOptions:type"
|
|
1524
1585
|
},
|
|
1525
1586
|
{
|
|
1526
1587
|
"kind": "Content",
|
|
@@ -1698,6 +1759,42 @@
|
|
|
1698
1759
|
"startIndex": 1,
|
|
1699
1760
|
"endIndex": 2
|
|
1700
1761
|
}
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"kind": "TypeAlias",
|
|
1765
|
+
"canonicalReference": "@genesislcap/foundation-forms!UiSchemaOptions:type",
|
|
1766
|
+
"docComment": "/**\n * All configuration options that are available.\n *\n * @public\n */\n",
|
|
1767
|
+
"excerptTokens": [
|
|
1768
|
+
{
|
|
1769
|
+
"kind": "Content",
|
|
1770
|
+
"text": "export type UiSchemaOptions = "
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"kind": "Reference",
|
|
1774
|
+
"text": "StepperOrientationOptions",
|
|
1775
|
+
"canonicalReference": "@genesislcap/foundation-forms!StepperOrientationOptions:type"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "Content",
|
|
1779
|
+
"text": " | "
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
"kind": "Reference",
|
|
1783
|
+
"text": "LabelPlacementOptions",
|
|
1784
|
+
"canonicalReference": "@genesislcap/foundation-forms!LabelPlacementOptions:type"
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"kind": "Content",
|
|
1788
|
+
"text": ";"
|
|
1789
|
+
}
|
|
1790
|
+
],
|
|
1791
|
+
"fileUrlPath": "src/types.ts",
|
|
1792
|
+
"releaseTag": "Public",
|
|
1793
|
+
"name": "UiSchemaOptions",
|
|
1794
|
+
"typeTokenRange": {
|
|
1795
|
+
"startIndex": 1,
|
|
1796
|
+
"endIndex": 4
|
|
1797
|
+
}
|
|
1701
1798
|
}
|
|
1702
1799
|
]
|
|
1703
1800
|
}
|
|
@@ -710,6 +710,24 @@ export declare const getPrefixedForm: (prefix: any) => ViewTemplate<Form, any>;
|
|
|
710
710
|
*/
|
|
711
711
|
export declare type GroupRendererOptions = CategorizationRendererOptions;
|
|
712
712
|
|
|
713
|
+
/**
|
|
714
|
+
* Orientation options available for stepper renderer.
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
export declare type LabelPlacementOptions = {
|
|
718
|
+
/**
|
|
719
|
+
* Configuration options available for the labels alignment renderer which set the renderer top or left.
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
labelPlacement?: LabelPlacementType;
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Available aligment for labels.
|
|
727
|
+
* @public
|
|
728
|
+
*/
|
|
729
|
+
export declare type LabelPlacementType = 'top' | 'left';
|
|
730
|
+
|
|
713
731
|
export { Layout }
|
|
714
732
|
|
|
715
733
|
/** @internal */
|
|
@@ -828,10 +846,10 @@ export declare type UiSchema = {
|
|
|
828
846
|
*/
|
|
829
847
|
elements: UiSchemaElement[];
|
|
830
848
|
/**
|
|
831
|
-
*
|
|
849
|
+
* Optional attribute options that determine how the control is rendered.
|
|
832
850
|
* @public
|
|
833
851
|
*/
|
|
834
|
-
options?:
|
|
852
|
+
options?: UiSchemaOptions;
|
|
835
853
|
};
|
|
836
854
|
|
|
837
855
|
export { UISchemaElement }
|
|
@@ -886,4 +904,10 @@ export declare type UiSchemaElementOptions = ConnectedRenderersOptions | ArrayRe
|
|
|
886
904
|
* */
|
|
887
905
|
export declare type UiSchemaElementType = 'Control' | 'VerticalLayout' | 'LayoutVertical2Columns' | 'Categorization' | 'Group' | 'Stepper' | 'HorizontalLayout';
|
|
888
906
|
|
|
907
|
+
/**
|
|
908
|
+
* All configuration options that are available.
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
export declare type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
|
|
912
|
+
|
|
889
913
|
export { }
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [LabelPlacementOptions](./foundation-forms.labelplacementoptions.md)
|
|
4
|
+
|
|
5
|
+
## LabelPlacementOptions type
|
|
6
|
+
|
|
7
|
+
Orientation options available for stepper renderer.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export type LabelPlacementOptions = {
|
|
13
|
+
labelPlacement?: LabelPlacementType;
|
|
14
|
+
};
|
|
15
|
+
```
|
|
16
|
+
**References:** [LabelPlacementType](./foundation-forms.labelplacementtype.md)
|
|
17
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [LabelPlacementType](./foundation-forms.labelplacementtype.md)
|
|
4
|
+
|
|
5
|
+
## LabelPlacementType type
|
|
6
|
+
|
|
7
|
+
Available aligment for labels.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export type LabelPlacementType = 'top' | 'left';
|
|
13
|
+
```
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
| [CategorizationRendererOptions](./foundation-forms.categorizationrendereroptions.md) | Configuration options available for categorization renderer. |
|
|
30
30
|
| [ConnectedRenderersOptions](./foundation-forms.connectedrenderersoptions.md) | Available configuration options for connected combobox/multiselect. |
|
|
31
31
|
| [GroupRendererOptions](./foundation-forms.grouprendereroptions.md) | Configuration options available for group renderer. |
|
|
32
|
+
| [LabelPlacementOptions](./foundation-forms.labelplacementoptions.md) | Orientation options available for stepper renderer. |
|
|
33
|
+
| [LabelPlacementType](./foundation-forms.labelplacementtype.md) | Available aligment for labels. |
|
|
32
34
|
| [RendererEntry](./foundation-forms.rendererentry.md) | |
|
|
33
35
|
| [StandardRendererOptions](./foundation-forms.standardrendereroptions.md) | Standard configuration options available for all renderers. |
|
|
34
36
|
| [StepperOrientationOptions](./foundation-forms.stepperorientationoptions.md) | Orientation options available for stepper renderer. |
|
|
@@ -39,4 +41,5 @@
|
|
|
39
41
|
| [UiSchemaElement](./foundation-forms.uischemaelement.md) | A UiSchemaElement that displays property values in a user interface element. |
|
|
40
42
|
| [UiSchemaElementOptions](./foundation-forms.uischemaelementoptions.md) | All configuration options that are available. |
|
|
41
43
|
| [UiSchemaElementType](./foundation-forms.uischemaelementtype.md) | The layouts and control types, which allow you to customize the arrangement of forms. |
|
|
44
|
+
| [UiSchemaOptions](./foundation-forms.uischemaoptions.md) | All configuration options that are available. |
|
|
42
45
|
|
|
@@ -12,8 +12,8 @@ The UI schema, which is passed to JSON Forms, describes the general layout of a
|
|
|
12
12
|
export type UiSchema = {
|
|
13
13
|
type: UiSchemaElementType;
|
|
14
14
|
elements: UiSchemaElement[];
|
|
15
|
-
options?:
|
|
15
|
+
options?: UiSchemaOptions;
|
|
16
16
|
};
|
|
17
17
|
```
|
|
18
|
-
**References:** [UiSchemaElementType](./foundation-forms.uischemaelementtype.md)<!-- -->, [UiSchemaElement](./foundation-forms.uischemaelement.md)<!-- -->, [
|
|
18
|
+
**References:** [UiSchemaElementType](./foundation-forms.uischemaelementtype.md)<!-- -->, [UiSchemaElement](./foundation-forms.uischemaelement.md)<!-- -->, [UiSchemaOptions](./foundation-forms.uischemaoptions.md)
|
|
19
19
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [UiSchemaOptions](./foundation-forms.uischemaoptions.md)
|
|
4
|
+
|
|
5
|
+
## UiSchemaOptions type
|
|
6
|
+
|
|
7
|
+
All configuration options that are available.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
|
|
13
|
+
```
|
|
14
|
+
**References:** [StepperOrientationOptions](./foundation-forms.stepperorientationoptions.md)<!-- -->, [LabelPlacementOptions](./foundation-forms.labelplacementoptions.md)
|
|
15
|
+
|
package/docs/api-report.md
CHANGED
|
@@ -183,6 +183,14 @@ export const getPrefixedForm: (prefix: any) => ViewTemplate<Form, any>;
|
|
|
183
183
|
// @public
|
|
184
184
|
export type GroupRendererOptions = CategorizationRendererOptions;
|
|
185
185
|
|
|
186
|
+
// @public
|
|
187
|
+
export type LabelPlacementOptions = {
|
|
188
|
+
labelPlacement?: LabelPlacementType;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
// @public
|
|
192
|
+
export type LabelPlacementType = 'top' | 'left';
|
|
193
|
+
|
|
186
194
|
export { Layout }
|
|
187
195
|
|
|
188
196
|
// Warning: (ae-internal-missing-underscore) The name "logger" should be prefixed with an underscore because the declaration is marked as @internal
|
|
@@ -240,7 +248,7 @@ export type StringRendererOptions = {
|
|
|
240
248
|
export type UiSchema = {
|
|
241
249
|
type: UiSchemaElementType;
|
|
242
250
|
elements: UiSchemaElement[];
|
|
243
|
-
options?:
|
|
251
|
+
options?: UiSchemaOptions;
|
|
244
252
|
};
|
|
245
253
|
|
|
246
254
|
export { UISchemaElement }
|
|
@@ -261,10 +269,13 @@ export type UiSchemaElementOptions = ConnectedRenderersOptions | ArrayRendererOp
|
|
|
261
269
|
// @public
|
|
262
270
|
export type UiSchemaElementType = 'Control' | 'VerticalLayout' | 'LayoutVertical2Columns' | 'Categorization' | 'Group' | 'Stepper' | 'HorizontalLayout';
|
|
263
271
|
|
|
272
|
+
// @public
|
|
273
|
+
export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
|
|
274
|
+
|
|
264
275
|
// Warnings were encountered during analysis:
|
|
265
276
|
//
|
|
266
|
-
// src/types.ts:
|
|
267
|
-
// src/types.ts:
|
|
277
|
+
// src/types.ts:234:3 - (ae-forgotten-export) The symbol "Rule" needs to be exported by the entry point index.d.ts
|
|
278
|
+
// src/types.ts:268:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
|
|
268
279
|
|
|
269
280
|
// (No @packageDocumentation comment for this package)
|
|
270
281
|
|
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.200.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -48,22 +48,22 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@genesislcap/foundation-testing": "14.
|
|
52
|
-
"@genesislcap/genx": "14.
|
|
53
|
-
"@genesislcap/rollup-builder": "14.
|
|
54
|
-
"@genesislcap/ts-builder": "14.
|
|
55
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
56
|
-
"@genesislcap/vite-builder": "14.
|
|
57
|
-
"@genesislcap/webpack-builder": "14.
|
|
51
|
+
"@genesislcap/foundation-testing": "14.200.0",
|
|
52
|
+
"@genesislcap/genx": "14.200.0",
|
|
53
|
+
"@genesislcap/rollup-builder": "14.200.0",
|
|
54
|
+
"@genesislcap/ts-builder": "14.200.0",
|
|
55
|
+
"@genesislcap/uvu-playwright-builder": "14.200.0",
|
|
56
|
+
"@genesislcap/vite-builder": "14.200.0",
|
|
57
|
+
"@genesislcap/webpack-builder": "14.200.0",
|
|
58
58
|
"@types/json-schema": "^7.0.11",
|
|
59
59
|
"rimraf": "^5.0.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@genesislcap/foundation-comms": "14.
|
|
63
|
-
"@genesislcap/foundation-criteria": "14.
|
|
64
|
-
"@genesislcap/foundation-logger": "14.
|
|
65
|
-
"@genesislcap/foundation-ui": "14.
|
|
66
|
-
"@genesislcap/foundation-utils": "14.
|
|
62
|
+
"@genesislcap/foundation-comms": "14.200.0",
|
|
63
|
+
"@genesislcap/foundation-criteria": "14.200.0",
|
|
64
|
+
"@genesislcap/foundation-logger": "14.200.0",
|
|
65
|
+
"@genesislcap/foundation-ui": "14.200.0",
|
|
66
|
+
"@genesislcap/foundation-utils": "14.200.0",
|
|
67
67
|
"@json-schema-tools/dereferencer": "^1.6.1",
|
|
68
68
|
"@jsonforms/core": "^3.2.1",
|
|
69
69
|
"@microsoft/fast-components": "^2.30.6",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
86
|
"customElements": "dist/custom-elements.json",
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "bf780abc088779d4155e228e348279a4825cfc39"
|
|
88
88
|
}
|