@genesislcap/foundation-forms 14.15.0 → 14.15.1-bny.18
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/LayoutVertical2ColumnsRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/NumberControlRenderer.d.ts.map +1 -1
- package/dist/dts/types.d.ts +1 -0
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/jsonforms/renderers/ConnectedSelectControlRenderer.js +1 -1
- package/dist/esm/jsonforms/renderers/LayoutVertical2ColumnsRenderer.js +1 -2
- package/dist/esm/jsonforms/renderers/NumberControlRenderer.js +7 -5
- package/dist/esm/jsonforms/renderers/StringControlRenderer.js +1 -1
- package/dist/foundation-forms.api.json +1 -1
- package/dist/foundation-forms.d.ts +1 -0
- package/docs/api/foundation-forms.uischemaelement.md +1 -0
- package/docs/api-report.md +2 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutVertical2ColumnsRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVertical2ColumnsRenderer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sCAAsC,
|
|
1
|
+
{"version":3,"file":"LayoutVertical2ColumnsRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVertical2ColumnsRenderer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sCAAsC,0DA6BlD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,GAIzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/NumberControlRenderer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"NumberControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/NumberControlRenderer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6BAA6B,0DAyBzC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,GAIxC,CAAC"}
|
package/dist/dts/types.d.ts
CHANGED
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,sBAAsB,GAAG;IACnC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,WAAW,EAAE,CAAC;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACb,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,eAAe,GAAG;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M,EAAE,KAAK,EAAE,MAAM,KAAK,WAAW,EAAE,CAAC;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACb,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;CAC7B,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"}
|
|
@@ -11,7 +11,7 @@ export const ConnectedSelectControlRendererTemplate = html `
|
|
|
11
11
|
>
|
|
12
12
|
<zero-combobox
|
|
13
13
|
style="width: 100%"
|
|
14
|
-
placeholder=${(x) => x.control.label}
|
|
14
|
+
placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
|
|
15
15
|
?disabled=${(x) => !x.control.enabled}
|
|
16
16
|
@value-change=${(x, c) => {
|
|
17
17
|
var _a;
|
|
@@ -4,8 +4,7 @@ import { LAYOUT2COLUMNS_RANK } from './RenderersRanks';
|
|
|
4
4
|
export const LayoutVertical2ColumnsRendererTemplate = html `
|
|
5
5
|
<template>
|
|
6
6
|
<div
|
|
7
|
-
style="
|
|
8
|
-
display: flex;
|
|
7
|
+
style="display: flex;
|
|
9
8
|
flex-direction: row;
|
|
10
9
|
flex-wrap: wrap;
|
|
11
10
|
justify-content: space-between;"
|
|
@@ -9,20 +9,22 @@ export const NumberControlRendererTemplate = html `
|
|
|
9
9
|
:touched=${(x) => x.touched}
|
|
10
10
|
?submitted=${(x) => x.submitted}
|
|
11
11
|
>
|
|
12
|
-
<zero-
|
|
13
|
-
:value=${(x) => (x.control.data === undefined ? '' : x.control.data)}
|
|
12
|
+
<zero-number-field
|
|
13
|
+
:value=${(x) => (x.control.data === undefined ? '' : String(x.control.data))}
|
|
14
14
|
@change=${(x, c) => {
|
|
15
|
-
const value = parseFloat(c.event.target.value);
|
|
15
|
+
const value = parseFloat(c.event.target.value.replace(/,/g, ''));
|
|
16
16
|
return x.control.handleChange(x.control.path, !isNaN(value) ? value : undefined);
|
|
17
17
|
}}
|
|
18
|
-
placeholder=${(x) => x.control.label}
|
|
18
|
+
placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
|
|
19
19
|
id=${(x) => x.control.path}
|
|
20
20
|
data-test-id=${(x) => x.control.path}
|
|
21
21
|
?required=${(x) => x.control.required}
|
|
22
22
|
?disabled=${(x) => !x.control.enabled}
|
|
23
|
+
withFormatting
|
|
24
|
+
hideStep
|
|
23
25
|
@blur=${(x) => x.onBlur()}
|
|
24
26
|
style="width: 100%"
|
|
25
|
-
></zero-
|
|
27
|
+
></zero-number-field>
|
|
26
28
|
</control-wrapper>
|
|
27
29
|
</template>
|
|
28
30
|
`;
|
|
@@ -11,7 +11,7 @@ export const StringControlRendererTemplate = html `
|
|
|
11
11
|
type=${(x) => { var _a, _b; return (((_b = (_a = x.control.uischema) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.isPassword) ? 'password' : 'text'); }}
|
|
12
12
|
:value=${(x) => x.control.data || ''}
|
|
13
13
|
@change=${(x, c) => x.control.handleChange(x.control.path, c.event.target.value)}
|
|
14
|
-
placeholder=${(x) => x.control.label}
|
|
14
|
+
placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
|
|
15
15
|
id=${(x) => x.control.path}
|
|
16
16
|
data-test-id=${(x) => x.control.path}
|
|
17
17
|
?required=${(x) => x.control.required}
|
package/docs/api-report.md
CHANGED
|
@@ -122,6 +122,7 @@ export type UiSchemaElement = {
|
|
|
122
122
|
type: UiSchemaElementType;
|
|
123
123
|
scope: string;
|
|
124
124
|
label?: string;
|
|
125
|
+
placeholder?: string;
|
|
125
126
|
options?: UiSchemaElementOptions;
|
|
126
127
|
};
|
|
127
128
|
|
|
@@ -146,7 +147,7 @@ export type UiSchemaElementType = 'Control' | 'VerticalLayout' | any;
|
|
|
146
147
|
|
|
147
148
|
// Warnings were encountered during analysis:
|
|
148
149
|
//
|
|
149
|
-
// src/types.ts:
|
|
150
|
+
// src/types.ts:48:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
|
|
150
151
|
|
|
151
152
|
// (No @packageDocumentation comment for this package)
|
|
152
153
|
|
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.15.
|
|
4
|
+
"version": "14.15.1-bny.18",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"test:unit:watch": "watchlist src test -- npm run test:unit"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@genesislcap/foundation-testing": "
|
|
51
|
-
"@genesislcap/genx": "
|
|
50
|
+
"@genesislcap/foundation-testing": "14.15.1-bny.18",
|
|
51
|
+
"@genesislcap/genx": "14.15.1-bny.18",
|
|
52
52
|
"@microsoft/api-documenter": "^7.19.13",
|
|
53
53
|
"@microsoft/api-extractor": "^7.31.1",
|
|
54
54
|
"@module-federation/dashboard-plugin": "2.3.0",
|
|
@@ -99,9 +99,9 @@
|
|
|
99
99
|
"webpack-merge": "^5.7.3"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@genesislcap/foundation-comms": "
|
|
103
|
-
"@genesislcap/foundation-criteria": "
|
|
104
|
-
"@genesislcap/foundation-utils": "
|
|
102
|
+
"@genesislcap/foundation-comms": "14.15.1-bny.18",
|
|
103
|
+
"@genesislcap/foundation-criteria": "14.15.1-bny.18",
|
|
104
|
+
"@genesislcap/foundation-utils": "14.15.1-bny.18",
|
|
105
105
|
"@jsonforms/core": "^3.0.0",
|
|
106
106
|
"@microsoft/fast-components": "^2.21.3",
|
|
107
107
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -121,5 +121,5 @@
|
|
|
121
121
|
"publishConfig": {
|
|
122
122
|
"access": "public"
|
|
123
123
|
},
|
|
124
|
-
"gitHead": "
|
|
124
|
+
"gitHead": "bfebbf1200ae048a48e4b1482b716ac645a73bb9"
|
|
125
125
|
}
|