@genesislcap/foundation-forms 14.367.2-alpha-7b42367.0 → 14.367.2

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 +1 @@
1
- {"version":3,"file":"NumberControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/NumberControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAW5C,eAAO,MAAM,6BAA6B,GAAI,SAAQ,MAAe,6DA6BpE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aAMxC,CAAC"}
1
+ {"version":3,"file":"NumberControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/NumberControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAW5C,eAAO,MAAM,6BAA6B,GAAI,SAAQ,MAAe,6DA8BpE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aAMxC,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,GAAI,SAAQ,MAAe,0EA0CvE,CAAC;AACF,eAAO,MAAM,6BAA6B,uEAEzC,CAAC"}
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,GAAI,SAAQ,MAAe,0EA2CvE,CAAC;AACF,eAAO,MAAM,6BAA6B,uEAEzC,CAAC"}
@@ -202,6 +202,34 @@ export type StringRendererOptions = {
202
202
  * @public
203
203
  */
204
204
  textarea?: boolean;
205
+ /**
206
+ * Sets the autocomplete attribute for the string renderer component.
207
+ * @public
208
+ */
209
+ autocomplete?: string;
210
+ };
211
+ /**
212
+ * Configuration options available for number renderer.
213
+ * @public
214
+ */
215
+ export type NumberRendererOptions = {
216
+ /**
217
+ * Setting this property disables number formatting in the number renderer.
218
+ * When true, raw numeric input is shown without applying Intl.NumberFormat.
219
+ * @public
220
+ */
221
+ withoutFormatting?: boolean;
222
+ /**
223
+ * Configuration options passed to Intl.NumberFormat for formatting the number.
224
+ * If not provided, a sensible default configuration is used.
225
+ * @public
226
+ */
227
+ formatOptions?: Intl.NumberFormatOptions;
228
+ /**
229
+ * Sets the autocomplete attribute for the number renderer component.
230
+ * @public
231
+ */
232
+ autocomplete?: string;
205
233
  };
206
234
  /**
207
235
  * Standard configuration options available for all renderers.
@@ -241,7 +269,7 @@ export type StandardRendererOptions = {
241
269
  * All configuration options that are available.
242
270
  * @public
243
271
  */
244
- export type UiSchemaElementOptions = ConnectedRenderersOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
272
+ export type UiSchemaElementOptions = ConnectedRenderersOptions | NumberRendererOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
245
273
  /**
246
274
  * A UiSchemaElement that displays property values in a user interface element.
247
275
  * @public
@@ -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,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACnE,O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,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;;SAGK;IACL,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;KAgBK;AACL,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;AAEF;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,GAAG,CAAC;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
@@ -17,8 +17,9 @@ export const NumberControlRendererTemplate = (prefix = 'zero') => html `
17
17
  prefix="${prefix}"
18
18
  >
19
19
  <${prefix}-number-field
20
- withFormatting=${(x) => { var _a; return (((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.withoutFormatting) ? false : true); }}
20
+ withFormatting=${(x) => { var _a; return (((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.withoutFormatting) ? false : true); }}
21
21
  :options=${(x) => { var _a; return ((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.formatOptions) || defaultOptions; }}
22
+ autocomplete=${(x) => { var _a; return ((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.autocomplete) || 'off'; }}
22
23
  :value=${(x) => (x.control.data === undefined ? '' : String(x.control.data))}
23
24
  tabindex="${(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.tabIndex; }}"
24
25
  @change=${(x, c) => {
@@ -16,6 +16,7 @@ export const getStringControlRendererTemplate = (prefix = 'zero') => html `
16
16
  >
17
17
  ${whenElse((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.textarea); }, html `
18
18
  <${prefix}-text-field
19
+ autocomplete=${(x) => { var _a; return ((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.autocomplete) || 'off'; }}
19
20
  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'); }}
20
21
  :value=${(x) => x.control.data || ''}
21
22
  @change=${changeHandler}
@@ -1615,6 +1615,41 @@
1615
1615
  ],
1616
1616
  "name": "mustMatch"
1617
1617
  },
1618
+ {
1619
+ "kind": "TypeAlias",
1620
+ "canonicalReference": "@genesislcap/foundation-forms!NumberRendererOptions:type",
1621
+ "docComment": "/**\n * Configuration options available for number renderer.\n *\n * @public\n */\n",
1622
+ "excerptTokens": [
1623
+ {
1624
+ "kind": "Content",
1625
+ "text": "export type NumberRendererOptions = "
1626
+ },
1627
+ {
1628
+ "kind": "Content",
1629
+ "text": "{\n withoutFormatting?: boolean;\n formatOptions?: "
1630
+ },
1631
+ {
1632
+ "kind": "Reference",
1633
+ "text": "Intl.NumberFormatOptions",
1634
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
1635
+ },
1636
+ {
1637
+ "kind": "Content",
1638
+ "text": ";\n autocomplete?: string;\n}"
1639
+ },
1640
+ {
1641
+ "kind": "Content",
1642
+ "text": ";"
1643
+ }
1644
+ ],
1645
+ "fileUrlPath": "src/types.ts",
1646
+ "releaseTag": "Public",
1647
+ "name": "NumberRendererOptions",
1648
+ "typeTokenRange": {
1649
+ "startIndex": 1,
1650
+ "endIndex": 4
1651
+ }
1652
+ },
1618
1653
  {
1619
1654
  "kind": "TypeAlias",
1620
1655
  "canonicalReference": "@genesislcap/foundation-forms!RendererEntry:type",
@@ -1852,7 +1887,7 @@
1852
1887
  },
1853
1888
  {
1854
1889
  "kind": "Content",
1855
- "text": "{\n isPassword?: boolean;\n textarea?: boolean;\n}"
1890
+ "text": "{\n isPassword?: boolean;\n textarea?: boolean;\n autocomplete?: string;\n}"
1856
1891
  },
1857
1892
  {
1858
1893
  "kind": "Content",
@@ -1991,6 +2026,15 @@
1991
2026
  "kind": "Content",
1992
2027
  "text": " | "
1993
2028
  },
2029
+ {
2030
+ "kind": "Reference",
2031
+ "text": "NumberRendererOptions",
2032
+ "canonicalReference": "@genesislcap/foundation-forms!NumberRendererOptions:type"
2033
+ },
2034
+ {
2035
+ "kind": "Content",
2036
+ "text": " | "
2037
+ },
1994
2038
  {
1995
2039
  "kind": "Reference",
1996
2040
  "text": "ArrayRendererOptions",
@@ -2051,7 +2095,7 @@
2051
2095
  "name": "UiSchemaElementOptions",
2052
2096
  "typeTokenRange": {
2053
2097
  "startIndex": 1,
2054
- "endIndex": 14
2098
+ "endIndex": 16
2055
2099
  }
2056
2100
  },
2057
2101
  {
@@ -1343,6 +1343,30 @@ export declare const mustMatch: (target: string) => (data: any, path: any, label
1343
1343
  params: {};
1344
1344
  }[];
1345
1345
 
1346
+ /**
1347
+ * Configuration options available for number renderer.
1348
+ * @public
1349
+ */
1350
+ export declare type NumberRendererOptions = {
1351
+ /**
1352
+ * Setting this property disables number formatting in the number renderer.
1353
+ * When true, raw numeric input is shown without applying Intl.NumberFormat.
1354
+ * @public
1355
+ */
1356
+ withoutFormatting?: boolean;
1357
+ /**
1358
+ * Configuration options passed to Intl.NumberFormat for formatting the number.
1359
+ * If not provided, a sensible default configuration is used.
1360
+ * @public
1361
+ */
1362
+ formatOptions?: Intl.NumberFormatOptions;
1363
+ /**
1364
+ * Sets the autocomplete attribute for the number renderer component.
1365
+ * @public
1366
+ */
1367
+ autocomplete?: string;
1368
+ };
1369
+
1346
1370
  /**
1347
1371
  * Defines a renderer configuration in JSON forms.
1348
1372
  * Allows to specify the renderer component,
@@ -1451,6 +1475,11 @@ export declare type StringRendererOptions = {
1451
1475
  * @public
1452
1476
  */
1453
1477
  textarea?: boolean;
1478
+ /**
1479
+ * Sets the autocomplete attribute for the string renderer component.
1480
+ * @public
1481
+ */
1482
+ autocomplete?: string;
1454
1483
  };
1455
1484
 
1456
1485
  /**
@@ -1521,7 +1550,7 @@ export declare type UiSchemaElement = {
1521
1550
  * All configuration options that are available.
1522
1551
  * @public
1523
1552
  */
1524
- export declare type UiSchemaElementOptions = ConnectedRenderersOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
1553
+ export declare type UiSchemaElementOptions = ConnectedRenderersOptions | NumberRendererOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
1525
1554
 
1526
1555
  /**
1527
1556
  * The layouts and control types, which allow you to customize the arrangement of forms.
@@ -193,6 +193,17 @@ Orientation options available for stepper renderer.
193
193
  Available aligment for labels.
194
194
 
195
195
 
196
+ </td></tr>
197
+ <tr><td>
198
+
199
+ [NumberRendererOptions](./foundation-forms.numberrendereroptions.md)
200
+
201
+
202
+ </td><td>
203
+
204
+ Configuration options available for number renderer.
205
+
206
+
196
207
  </td></tr>
197
208
  <tr><td>
198
209
 
@@ -0,0 +1,17 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-forms](./foundation-forms.md) &gt; [NumberRendererOptions](./foundation-forms.numberrendereroptions.md)
4
+
5
+ ## NumberRendererOptions type
6
+
7
+ Configuration options available for number renderer.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type NumberRendererOptions = {
13
+ withoutFormatting?: boolean;
14
+ formatOptions?: Intl.NumberFormatOptions;
15
+ autocomplete?: string;
16
+ };
17
+ ```
@@ -12,5 +12,6 @@ Configuration options available for string renderer.
12
12
  export type StringRendererOptions = {
13
13
  isPassword?: boolean;
14
14
  textarea?: boolean;
15
+ autocomplete?: string;
15
16
  };
16
17
  ```
@@ -9,7 +9,7 @@ All configuration options that are available.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- export type UiSchemaElementOptions = ConnectedRenderersOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
12
+ export type UiSchemaElementOptions = ConnectedRenderersOptions | NumberRendererOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
13
13
  ```
14
- **References:** [ConnectedRenderersOptions](./foundation-forms.connectedrenderersoptions.md)<!-- -->, [ArrayRendererOptions](./foundation-forms.arrayrendereroptions.md)<!-- -->, [CategorizationRendererOptions](./foundation-forms.categorizationrendereroptions.md)<!-- -->, [GroupRendererOptions](./foundation-forms.grouprendereroptions.md)<!-- -->, [StepperRendererOptions](./foundation-forms.stepperrendereroptions.md)<!-- -->, [StringRendererOptions](./foundation-forms.stringrendereroptions.md)<!-- -->, [StandardRendererOptions](./foundation-forms.standardrendereroptions.md)
14
+ **References:** [ConnectedRenderersOptions](./foundation-forms.connectedrenderersoptions.md)<!-- -->, [NumberRendererOptions](./foundation-forms.numberrendereroptions.md)<!-- -->, [ArrayRendererOptions](./foundation-forms.arrayrendereroptions.md)<!-- -->, [CategorizationRendererOptions](./foundation-forms.categorizationrendereroptions.md)<!-- -->, [GroupRendererOptions](./foundation-forms.grouprendereroptions.md)<!-- -->, [StepperRendererOptions](./foundation-forms.stepperrendereroptions.md)<!-- -->, [StringRendererOptions](./foundation-forms.stringrendereroptions.md)<!-- -->, [StandardRendererOptions](./foundation-forms.standardrendereroptions.md)
15
15
 
@@ -251,6 +251,13 @@ export const mustMatch: (target: string) => (data: any, path: any, label: any) =
251
251
  params: {};
252
252
  }[];
253
253
 
254
+ // @public
255
+ export type NumberRendererOptions = {
256
+ withoutFormatting?: boolean;
257
+ formatOptions?: Intl.NumberFormatOptions;
258
+ autocomplete?: string;
259
+ };
260
+
254
261
  // @public
255
262
  export type RendererEntry = {
256
263
  renderer: ViewTemplate<DispatchRenderer, any>;
@@ -288,6 +295,7 @@ export type StepperRendererOptions = CategorizationRendererOptions;
288
295
  export type StringRendererOptions = {
289
296
  isPassword?: boolean;
290
297
  textarea?: boolean;
298
+ autocomplete?: string;
291
299
  };
292
300
 
293
301
  // @public
@@ -310,7 +318,7 @@ export type UiSchemaElement = {
310
318
  };
311
319
 
312
320
  // @public
313
- export type UiSchemaElementOptions = ConnectedRenderersOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
321
+ export type UiSchemaElementOptions = ConnectedRenderersOptions | NumberRendererOptions | ArrayRendererOptions | CategorizationRendererOptions | GroupRendererOptions | StepperRendererOptions | StringRendererOptions | StandardRendererOptions;
314
322
 
315
323
  // @public
316
324
  export type UiSchemaElementType = 'Control' | 'VerticalLayout' | 'LayoutVertical2Columns' | 'Categorization' | 'Group' | 'Stepper' | 'HorizontalLayout';
@@ -320,8 +328,8 @@ export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
320
328
 
321
329
  // Warnings were encountered during analysis:
322
330
  //
323
- // src/types.ts:318:3 - (ae-forgotten-export) The symbol "Rule" needs to be exported by the entry point index.d.ts
324
- // src/types.ts:368:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
331
+ // src/types.ts:348:3 - (ae-forgotten-export) The symbol "Rule" needs to be exported by the entry point index.d.ts
332
+ // src/types.ts:398:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
325
333
 
326
334
  // (No @packageDocumentation comment for this package)
327
335
 
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.367.2-alpha-7b42367.0",
4
+ "version": "14.367.2",
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.367.2-alpha-7b42367.0",
52
- "@genesislcap/genx": "14.367.2-alpha-7b42367.0",
53
- "@genesislcap/rollup-builder": "14.367.2-alpha-7b42367.0",
54
- "@genesislcap/ts-builder": "14.367.2-alpha-7b42367.0",
55
- "@genesislcap/uvu-playwright-builder": "14.367.2-alpha-7b42367.0",
56
- "@genesislcap/vite-builder": "14.367.2-alpha-7b42367.0",
57
- "@genesislcap/webpack-builder": "14.367.2-alpha-7b42367.0",
51
+ "@genesislcap/foundation-testing": "14.367.2",
52
+ "@genesislcap/genx": "14.367.2",
53
+ "@genesislcap/rollup-builder": "14.367.2",
54
+ "@genesislcap/ts-builder": "14.367.2",
55
+ "@genesislcap/uvu-playwright-builder": "14.367.2",
56
+ "@genesislcap/vite-builder": "14.367.2",
57
+ "@genesislcap/webpack-builder": "14.367.2",
58
58
  "@types/json-schema": "^7.0.11"
59
59
  },
60
60
  "dependencies": {
61
- "@genesislcap/foundation-comms": "14.367.2-alpha-7b42367.0",
62
- "@genesislcap/foundation-criteria": "14.367.2-alpha-7b42367.0",
63
- "@genesislcap/foundation-logger": "14.367.2-alpha-7b42367.0",
64
- "@genesislcap/foundation-notifications": "14.367.2-alpha-7b42367.0",
65
- "@genesislcap/foundation-ui": "14.367.2-alpha-7b42367.0",
66
- "@genesislcap/foundation-utils": "14.367.2-alpha-7b42367.0",
61
+ "@genesislcap/foundation-comms": "14.367.2",
62
+ "@genesislcap/foundation-criteria": "14.367.2",
63
+ "@genesislcap/foundation-logger": "14.367.2",
64
+ "@genesislcap/foundation-notifications": "14.367.2",
65
+ "@genesislcap/foundation-ui": "14.367.2",
66
+ "@genesislcap/foundation-utils": "14.367.2",
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": "3806fa110744e7673917b395491c1dda07422223"
87
+ "gitHead": "6d4881bebfb13201712106f663a4a15c5dc20d69"
88
88
  }