@genesislcap/foundation-forms 14.402.1-alpha-36d4e79d7.0 → 14.403.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.
@@ -1791,6 +1791,30 @@
1791
1791
  "kind": "field",
1792
1792
  "name": "uiSchema"
1793
1793
  },
1794
+ {
1795
+ "kind": "field",
1796
+ "name": "isGridView",
1797
+ "type": {
1798
+ "text": "boolean"
1799
+ },
1800
+ "default": "false"
1801
+ },
1802
+ {
1803
+ "kind": "field",
1804
+ "name": "gridViewHeaderCells",
1805
+ "type": {
1806
+ "text": "GridHeaderCell[]"
1807
+ },
1808
+ "default": "[]"
1809
+ },
1810
+ {
1811
+ "kind": "field",
1812
+ "name": "gridViewUiSchema",
1813
+ "type": {
1814
+ "text": "any"
1815
+ },
1816
+ "default": "null"
1817
+ },
1794
1818
  {
1795
1819
  "kind": "method",
1796
1820
  "name": "controlChanged"
@@ -2686,7 +2710,7 @@
2686
2710
  {
2687
2711
  "kind": "variable",
2688
2712
  "name": "LayoutHorizontalRendererTemplate",
2689
- "default": "html`\n <template>\n <layout-wrapper :control=${(x) => x.control}>\n <div\n style=\"\n display: flex;\n flex-direction: row;\n gap: 10px\"\n >\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <dispatch-renderer\n ?submitted=${(x, ctx) => ctx.parent.submitted}\n :dispatch=${(x, ctx) => ctx.parent.dispatch}\n :jsonforms=${(x, ctx) => ctx.parent.jsonforms}\n :prefix=${(x, ctx) => ctx.parent.prefix}\n :props=${(x, ctx) => ({\n uischema: x,\n schema: ctx.parent.control.schema,\n renderers: ctx.parent.control.renderers,\n path: ctx.parent.control.path,\n enabled: ctx.parent.control.enabled,\n })}\n ></dispatch-renderer>\n `,\n )}\n </div>\n </layout-wrapper>\n </template>\n`"
2713
+ "default": "html`\n <template>\n <layout-wrapper :control=${(x) => x.control}>\n <div\n style=\"\n display: flex;\n flex-direction: row;\n gap: 10px\"\n >\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <dispatch-renderer\n style=\"flex: 1; min-width: 0\"\n ?submitted=${(x, ctx) => ctx.parent.submitted}\n :dispatch=${(x, ctx) => ctx.parent.dispatch}\n :jsonforms=${(x, ctx) => ctx.parent.jsonforms}\n :prefix=${(x, ctx) => ctx.parent.prefix}\n :props=${(x, ctx) => ({\n uischema: x,\n schema: ctx.parent.control.schema,\n renderers: ctx.parent.control.renderers,\n path: ctx.parent.control.path,\n enabled: ctx.parent.control.enabled,\n })}\n ></dispatch-renderer>\n `,\n )}\n </div>\n </layout-wrapper>\n </template>\n`"
2690
2714
  },
2691
2715
  {
2692
2716
  "kind": "variable",
@@ -1,10 +1,18 @@
1
1
  import { FASTElement } from '@microsoft/fast-element';
2
+ type GridHeaderCell = {
3
+ label: string;
4
+ required: boolean;
5
+ tooltip?: string;
6
+ };
2
7
  export declare const ArrayListWrapperRendererTemplate: (prefix?: string) => import("@microsoft/fast-element").ViewTemplate<any, any>;
3
8
  export declare class ArrayListWrapper extends FASTElement {
4
9
  form: any;
5
10
  control: any;
6
11
  schema: any;
7
12
  uiSchema: any;
13
+ isGridView: boolean;
14
+ gridViewHeaderCells: GridHeaderCell[];
15
+ gridViewUiSchema: any;
8
16
  controlChanged(): void;
9
17
  addItem(): void;
10
18
  deleteItem(index: number): void;
@@ -14,4 +22,5 @@ export declare class ArrayListWrapper extends FASTElement {
14
22
  */
15
23
  submitRow(index: number): void;
16
24
  }
25
+ export {};
17
26
  //# sourceMappingURL=ArrayListWrapperRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArrayListWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ArrayListWrapperRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AA0CjC,eAAO,MAAM,gCAAgC,GAAI,SAAQ,MAAe,6DAoFvE,CAAC;AA8JF,qBAOa,gBAAiB,SAAQ,WAAW;IACnC,IAAI,MAAC;IACL,OAAO,MAAC;IACR,MAAM,MAAC;IACP,QAAQ,MAAC;IAErB,cAAc;IAgBd,OAAO;IAOP,UAAU,CAAC,KAAK,EAAE,MAAM;IAIxB;;;OAGG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM;CAGxB"}
1
+ {"version":3,"file":"ArrayListWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ArrayListWrapperRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AAIjC,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAsFF,eAAO,MAAM,gCAAgC,GAAI,SAAQ,MAAe,6DA8HvE,CAAC;AAsRF,qBAOa,gBAAiB,SAAQ,WAAW;IACnC,IAAI,MAAC;IACL,OAAO,MAAC;IACR,MAAM,MAAC;IACP,QAAQ,MAAC;IACT,UAAU,EAAE,OAAO,CAAS;IAC5B,mBAAmB,EAAE,cAAc,EAAE,CAAM;IAC3C,gBAAgB,EAAE,GAAG,CAAQ;IAEzC,cAAc;IAoBd,OAAO;IAOP,UAAU,CAAC,KAAK,EAAE,MAAM;IAIxB;;;OAGG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM;CAGxB"}
@@ -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;AAIjC,eAAO,MAAM,8BAA8B,0DAoD1C,CAAC;AAqEF,qBAKa,cAAe,SAAQ,WAAW;IACjC,OAAO,MAAC;IACR,SAAS,MAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACuB,SAAS,EAAE,OAAO,CAAS;IACzE,MAAM,EAAE,MAAM,CAAC;IAErB,IACI,eAAe,YAOlB;IAED,IACI,aAAa,WAMhB;IAED,IACI,kBAAkB,6DAGrB;IAED,IACI,UAAU,WAOb;CACF"}
1
+ {"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAML,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,8BAA8B,0DAoD1C,CAAC;AAqEF,qBAKa,cAAe,SAAQ,WAAW;IACjC,OAAO,MAAC;IACR,SAAS,MAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACuB,SAAS,EAAE,OAAO,CAAS;IACzE,MAAM,EAAE,MAAM,CAAC;IAErB,IACI,eAAe,YAOlB;IAED,IACI,aAAa,WAOhB;IAED,IACI,kBAAkB,6DAGrB;IAED,IACI,UAAU,WAOb;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutHorizontalRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutHorizontalRenderer.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gCAAgC,0DA8B5C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,GAInC,CAAC"}
1
+ {"version":3,"file":"LayoutHorizontalRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutHorizontalRenderer.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gCAAgC,0DA+B5C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,GAInC,CAAC"}
@@ -165,6 +165,24 @@ export type ArrayRendererOptions = {
165
165
  * ```
166
166
  */
167
167
  canDelete?: (item: any) => boolean;
168
+ /**
169
+ * When true, renders column labels once as a header row at the top and data rows
170
+ * as a compact, table-like grid. Labels inside each row's controls are suppressed.
171
+ * @public
172
+ *
173
+ * @example
174
+ * ```ts
175
+ * {
176
+ * type: 'Control',
177
+ * scope: '#/properties/array',
178
+ * options: <ArrayRendererOptions>{
179
+ * gridView: true,
180
+ * addLabel: 'Add row',
181
+ * }
182
+ * }
183
+ * ```
184
+ */
185
+ gridView?: boolean;
168
186
  };
169
187
  /**
170
188
  * Orientation options available for stepper renderer.
@@ -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,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,YAAY,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,gBAAgB,GAChB,wBAAwB,GACxB,gBAAgB,GAChB,gBAAgB,GAChB,OAAO,GACP,SAAS,GACT,kBAAkB,CAAC;AAEvB;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,UAAU,GAAG,YAAY,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,MAAM,CAAC;AAEhD;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IACrC;;;OAGG;IACH,UAAU,CAAC,E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KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC;;OAEG;IACH,MAAM,EAAE,oBAAoB,EAAE,CAAC;CAChC,CAAC"}
@@ -1,8 +1,43 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { Generate, composePaths, createDefaultValue } from '@jsonforms/core';
3
3
  import { designUnit } from '@microsoft/fast-components';
4
- import { html, css, observable, customElement, FASTElement, repeat, } from '@microsoft/fast-element';
4
+ import { html, css, observable, customElement, FASTElement, repeat, when, } from '@microsoft/fast-element';
5
5
  import { logger } from '../../utils';
6
+ const toTitleCase = (str) => str
7
+ .replace(/([A-Z])/g, ' $1')
8
+ .replace(/[_.-]+/g, ' ')
9
+ .trim()
10
+ .replace(/^./, (s) => s.toUpperCase());
11
+ const getPropertyNameFromScope = (scope) => { var _a; return (_a = scope === null || scope === void 0 ? void 0 : scope.split('/').pop()) !== null && _a !== void 0 ? _a : ''; };
12
+ const computeGridHeaderCells = (uiSchema, schema) => {
13
+ if (!(uiSchema === null || uiSchema === void 0 ? void 0 : uiSchema.elements))
14
+ return [];
15
+ const requiredProperties = Array.isArray(schema === null || schema === void 0 ? void 0 : schema.required) ? schema.required : [];
16
+ return uiSchema.elements.map((el) => {
17
+ var _a, _b, _c, _d;
18
+ const propName = getPropertyNameFromScope(el.scope);
19
+ const label = el.label === false
20
+ ? ''
21
+ : typeof el.label === 'string'
22
+ ? el.label
23
+ : ((_c = (_b = (_a = schema === null || schema === void 0 ? void 0 : schema.properties) === null || _a === void 0 ? void 0 : _a[propName]) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : toTitleCase(propName));
24
+ return {
25
+ label,
26
+ required: requiredProperties.includes(propName),
27
+ tooltip: (_d = el === null || el === void 0 ? void 0 : el.options) === null || _d === void 0 ? void 0 : _d.tooltip,
28
+ };
29
+ });
30
+ };
31
+ const buildGridViewUiSchema = (uiSchema) => {
32
+ if (!(uiSchema === null || uiSchema === void 0 ? void 0 : uiSchema.elements))
33
+ return uiSchema;
34
+ return Object.assign(Object.assign({}, uiSchema), { elements: uiSchema.elements.map((el) => {
35
+ if (el.elements) {
36
+ return buildGridViewUiSchema(el);
37
+ }
38
+ return Object.assign(Object.assign({}, el), { label: false, options: Object.assign(Object.assign({}, el.options), { hideLabel: true, tooltip: undefined }) });
39
+ }) });
40
+ };
6
41
  const resolveRowUiSchema = (childUiSchema, index, rowData, formData, fallback) => {
7
42
  if (typeof childUiSchema === 'function') {
8
43
  const result = childUiSchema(index, rowData, formData);
@@ -33,10 +68,33 @@ const isRowDisabled = (ctx) => isRowInStatus(ctx, 'success');
33
68
  const isRowSubmitting = (ctx) => isRowInStatus(ctx, 'submitting');
34
69
  export const ArrayListWrapperRendererTemplate = (prefix = 'zero') => html `
35
70
  <template>
71
+ ${when((x) => x.isGridView, html `
72
+ <div class="grid-header">
73
+ <span class="grid-header-status-spacer"></span>
74
+ ${repeat((x) => x.gridViewHeaderCells, html `
75
+ <span class="grid-header-cell">
76
+ <span class="grid-header-label-text">${(x) => x.label}</span>
77
+ ${when((x) => x.required, html `
78
+ <span class="grid-header-required-indicator">*</span>
79
+ `)}
80
+ ${when((x) => x.tooltip, html `
81
+ <${prefix}-icon
82
+ class="grid-header-tooltip"
83
+ tooltip="${(x) => x.tooltip}"
84
+ tooltip-id="${(x, ctx) => `array-grid-header-${ctx.parent.control.path.replace(/[^a-zA-Z0-9]/g, '-')}-${ctx.index}-tooltip`}"
85
+ ></${prefix}-icon>
86
+ `)}
87
+ </span>
88
+ `)}
89
+ <span class="grid-header-actions">Actions</span>
90
+ </div>
91
+ `)}
36
92
  ${repeat((x) => Array(x.control.data), html `
37
93
  <div class="array-list ${(x, ctx) => {
38
94
  const rowStatus = getRowStatus(ctx);
39
- return rowStatus ? `row-status-${rowStatus.status}` : '';
95
+ const statusClass = rowStatus ? `row-status-${rowStatus.status}` : '';
96
+ const gridClass = ctx.parent.isGridView ? 'grid-row' : '';
97
+ return [statusClass, gridClass].filter(Boolean).join(' ');
40
98
  }}"
41
99
  data-row-index="${(x, ctx) => ctx.index}"
42
100
  >
@@ -63,7 +121,13 @@ export const ArrayListWrapperRendererTemplate = (prefix = 'zero') => html `
63
121
  const childSchema = (_a = ctx.parent.control.uischema.options) === null || _a === void 0 ? void 0 : _a.childUiSchema;
64
122
  const formData = (_c = (_b = ctx.parent.form.jsonforms) === null || _b === void 0 ? void 0 : _b.core) === null || _c === void 0 ? void 0 : _c.data;
65
123
  const rowData = (_d = ctx.parent.control.data) === null || _d === void 0 ? void 0 : _d[ctx.index];
66
- const uischema = resolveRowUiSchema(childSchema, ctx.index, rowData, formData, ctx.parent.uiSchema);
124
+ let uischema = resolveRowUiSchema(childSchema, ctx.index, rowData, formData, ctx.parent.uiSchema);
125
+ if (ctx.parent.isGridView) {
126
+ uischema =
127
+ uischema === ctx.parent.uiSchema
128
+ ? ctx.parent.gridViewUiSchema
129
+ : buildGridViewUiSchema(uischema);
130
+ }
67
131
  return {
68
132
  uischema,
69
133
  schema: ctx.parent.schema,
@@ -114,6 +178,8 @@ const styles = css `
114
178
  display: flex;
115
179
  flex-direction: column;
116
180
  gap: calc(${designUnit} * 3px);
181
+ --grid-status-track-width: calc(${designUnit} * 8px);
182
+ --grid-actions-track-width: calc(${designUnit} * 16px);
117
183
 
118
184
  /* Row status color tokens - can be overridden via CSS custom properties */
119
185
  --row-status-success-color: var(--success-color, #28a745);
@@ -262,20 +328,150 @@ const styles = css `
262
328
  flex-direction: column;
263
329
  gap: 8px;
264
330
  }
331
+
332
+ /* ── Grid view ────────────────────────────────────────────── */
333
+
334
+ .grid-header {
335
+ display: flex;
336
+ align-items: center;
337
+ gap: 10px;
338
+ padding: calc(${designUnit} * 2px) calc(${designUnit} * 3px);
339
+ padding-left: calc(${designUnit} * 2px + 3px);
340
+ border-bottom: 2px solid var(--neutral-stroke-rest, rgba(0, 0, 0, 0.12));
341
+ font-weight: 700;
342
+ font-size: 0.85em;
343
+ color: var(--neutral-foreground-hint, rgb(135, 155, 166));
344
+ text-transform: uppercase;
345
+ letter-spacing: 0.04em;
346
+ }
347
+
348
+ .grid-header-status-spacer {
349
+ width: var(--grid-status-track-width);
350
+ min-width: var(--grid-status-track-width);
351
+ flex: 0 0 var(--grid-status-track-width);
352
+ flex-shrink: 0;
353
+ }
354
+
355
+ .grid-header-cell {
356
+ flex: 1;
357
+ min-width: 0;
358
+ overflow: hidden;
359
+ text-overflow: ellipsis;
360
+ white-space: nowrap;
361
+ display: flex;
362
+ align-items: center;
363
+ gap: 4px;
364
+ }
365
+
366
+ .grid-header-actions {
367
+ width: var(--grid-actions-track-width);
368
+ min-width: var(--grid-actions-track-width);
369
+ flex: 0 0 var(--grid-actions-track-width);
370
+ text-align: center;
371
+ }
372
+
373
+ .grid-header-label-text {
374
+ overflow: hidden;
375
+ text-overflow: ellipsis;
376
+ }
377
+
378
+ .grid-header-required-indicator {
379
+ color: var(--accent-foreground-rest, #0078d4);
380
+ }
381
+
382
+ .grid-header-tooltip {
383
+ color: var(--neutral-foreground-rest, rgb(217, 223, 224));
384
+ cursor: help;
385
+ }
386
+
387
+ .array-list.grid-row {
388
+ border: none;
389
+ border-radius: 0;
390
+ box-shadow: none;
391
+ padding: calc(${designUnit} * 2px) calc(${designUnit} * 3px);
392
+ padding-left: calc(${designUnit} * 2px + 3px);
393
+ border-bottom: 1px solid var(--neutral-stroke-subtle, rgba(0, 0, 0, 0.06));
394
+ transition: background-color 0.1s ease;
395
+ --wrapper-root-margin-bottom: 0;
396
+ gap: 10px;
397
+ }
398
+
399
+ .array-list.grid-row::before {
400
+ display: none;
401
+ }
402
+
403
+ .array-list.grid-row:nth-child(odd) {
404
+ background-color: var(--neutral-layer-2, rgba(0, 0, 0, 0.02));
405
+ }
406
+
407
+ .array-list.grid-row:nth-child(even) {
408
+ background-color: var(--neutral-layer-1, #fff);
409
+ }
410
+
411
+ .array-list.grid-row:hover {
412
+ background-color: var(--neutral-fill-stealth-hover, rgba(0, 0, 0, 0.06));
413
+ box-shadow: none;
414
+ }
415
+
416
+ .array-list.grid-row > dispatch-renderer {
417
+ --control-label-margin: 0;
418
+ }
419
+
420
+ .array-list.grid-row .row-status-indicator {
421
+ width: var(--grid-status-track-width);
422
+ min-width: var(--grid-status-track-width);
423
+ margin-right: 0;
424
+ flex: 0 0 var(--grid-status-track-width);
425
+ }
426
+
427
+ .array-list.grid-row .button-group {
428
+ width: var(--grid-actions-track-width);
429
+ min-width: var(--grid-actions-track-width);
430
+ flex: 0 0 var(--grid-actions-track-width);
431
+ align-items: center;
432
+ }
433
+
434
+ .array-list.grid-row .item-control-btn {
435
+ margin-left: 0;
436
+ }
437
+
438
+ .array-list.grid-row.row-status-success {
439
+ background-color: color-mix(in srgb, var(--row-status-success-color), transparent 90%);
440
+ }
441
+
442
+ .array-list.grid-row.row-status-failed {
443
+ background-color: color-mix(in srgb, var(--row-status-failed-color), transparent 90%);
444
+ }
445
+
446
+ .array-list.grid-row.row-status-submitting {
447
+ background-color: color-mix(in srgb, var(--row-status-submitting-color), transparent 95%);
448
+ }
265
449
  `;
266
450
  let ArrayListWrapper = class ArrayListWrapper extends FASTElement {
451
+ constructor() {
452
+ super(...arguments);
453
+ this.isGridView = false;
454
+ this.gridViewHeaderCells = [];
455
+ this.gridViewUiSchema = null;
456
+ }
267
457
  controlChanged() {
268
- var _a;
458
+ var _a, _b;
269
459
  this.schema = this.control.schema;
270
- const childUiSchema = (_a = this.control.uischema.options) === null || _a === void 0 ? void 0 : _a.childUiSchema;
460
+ this.isGridView = !!((_a = this.control.uischema.options) === null || _a === void 0 ? void 0 : _a.gridView);
461
+ const childUiSchema = (_b = this.control.uischema.options) === null || _b === void 0 ? void 0 : _b.childUiSchema;
271
462
  // Only use static childUiSchema; when it's a function, resolve per-row in template
272
463
  if (childUiSchema && typeof childUiSchema !== 'function') {
273
464
  this.uiSchema = childUiSchema;
274
- return;
275
465
  }
276
- const arrayUiSchema = Generate.uiSchema(this.schema);
277
- this.uiSchema = Object.assign(Object.assign({}, arrayUiSchema), { type: 'HorizontalLayout' });
278
- logger.debug('Auto generated uiSchema for layout array:', this.uiSchema);
466
+ else {
467
+ const arrayUiSchema = Generate.uiSchema(this.schema);
468
+ this.uiSchema = Object.assign(Object.assign({}, arrayUiSchema), { type: 'HorizontalLayout' });
469
+ logger.debug('Auto generated uiSchema for layout array:', this.uiSchema);
470
+ }
471
+ if (this.isGridView) {
472
+ this.gridViewHeaderCells = computeGridHeaderCells(this.uiSchema, this.schema);
473
+ this.gridViewUiSchema = buildGridViewUiSchema(this.uiSchema);
474
+ }
279
475
  }
280
476
  addItem() {
281
477
  this.control.addItem(this.control.path, createDefaultValue(this.control.schema, this.control.rootSchema))();
@@ -303,6 +499,15 @@ __decorate([
303
499
  __decorate([
304
500
  observable
305
501
  ], ArrayListWrapper.prototype, "uiSchema", void 0);
502
+ __decorate([
503
+ observable
504
+ ], ArrayListWrapper.prototype, "isGridView", void 0);
505
+ __decorate([
506
+ observable
507
+ ], ArrayListWrapper.prototype, "gridViewHeaderCells", void 0);
508
+ __decorate([
509
+ observable
510
+ ], ArrayListWrapper.prototype, "gridViewUiSchema", void 0);
306
511
  ArrayListWrapper = __decorate([
307
512
  customElement({
308
513
  name: 'array-list-wrapper',
@@ -59,7 +59,7 @@ const styles = css `
59
59
  }
60
60
 
61
61
  .wrapperRoot {
62
- margin-bottom: calc(var(--design-unit) * 4px);
62
+ margin-bottom: var(--wrapper-root-margin-bottom, calc(var(--design-unit) * 4px));
63
63
  }
64
64
 
65
65
  .wrapperRoot.labelLeft {
@@ -119,6 +119,9 @@ let ControlWrapper = class ControlWrapper extends FASTElement {
119
119
  return !isDescriptionHidden(this.control.visible, this.control.description, this.control.isFocused, !!this.control.config.showUnfocusedDescription);
120
120
  }
121
121
  get computedLabel() {
122
+ var _a, _b, _c;
123
+ if ((_c = (_b = (_a = this.control) === null || _a === void 0 ? void 0 : _a.uischema) === null || _b === void 0 ? void 0 : _b.options) === null || _c === void 0 ? void 0 : _c.hideLabel)
124
+ return '';
122
125
  return computeLabel(this.control.label, this.control.required, !!this.control.config.hideRequiredAsterisk);
123
126
  }
124
127
  get getPrefixedTooltip() {
@@ -14,6 +14,7 @@ export const LayoutHorizontalRendererTemplate = html `
14
14
  >
15
15
  ${repeat((x) => x.control.uischema.elements, html `
16
16
  <dispatch-renderer
17
+ style="flex: 1; min-width: 0"
17
18
  ?submitted=${(x, ctx) => ctx.parent.submitted}
18
19
  :dispatch=${(x, ctx) => ctx.parent.dispatch}
19
20
  :jsonforms=${(x, ctx) => ctx.parent.jsonforms}
@@ -201,7 +201,7 @@
201
201
  },
202
202
  {
203
203
  "kind": "Content",
204
- "text": ";\n addLabel?: string;\n deleteLabel?: string;\n border?: boolean;\n canDelete?: (item: any) => boolean;\n}"
204
+ "text": ";\n addLabel?: string;\n deleteLabel?: string;\n border?: boolean;\n canDelete?: (item: any) => boolean;\n gridView?: boolean;\n}"
205
205
  },
206
206
  {
207
207
  "kind": "Content",
@@ -108,6 +108,24 @@ export declare type ArrayRendererOptions = {
108
108
  * ```
109
109
  */
110
110
  canDelete?: (item: any) => boolean;
111
+ /**
112
+ * When true, renders column labels once as a header row at the top and data rows
113
+ * as a compact, table-like grid. Labels inside each row's controls are suppressed.
114
+ * @public
115
+ *
116
+ * @example
117
+ * ```ts
118
+ * {
119
+ * type: 'Control',
120
+ * scope: '#/properties/array',
121
+ * options: <ArrayRendererOptions>{
122
+ * gridView: true,
123
+ * addLabel: 'Add row',
124
+ * }
125
+ * }
126
+ * ```
127
+ */
128
+ gridView?: boolean;
111
129
  };
112
130
 
113
131
  /**
@@ -15,6 +15,7 @@ export type ArrayRendererOptions = {
15
15
  deleteLabel?: string;
16
16
  border?: boolean;
17
17
  canDelete?: (item: any) => boolean;
18
+ gridView?: boolean;
18
19
  };
19
20
  ```
20
21
  **References:** [UiSchema](./foundation-forms.uischema.md)<!-- -->, [ChildUiSchemaResolver](./foundation-forms.childuischemaresolver.md)
@@ -36,6 +36,7 @@ export type ArrayRendererOptions = {
36
36
  deleteLabel?: string;
37
37
  border?: boolean;
38
38
  canDelete?: (item: any) => boolean;
39
+ gridView?: boolean;
39
40
  };
40
41
 
41
42
  // @public
@@ -412,8 +413,8 @@ export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
412
413
 
413
414
  // Warnings were encountered during analysis:
414
415
  //
415
- // src/types.ts:378:3 - (ae-forgotten-export) The symbol "Rule" needs to be exported by the entry point index.d.ts
416
- // src/types.ts:428:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
416
+ // src/types.ts:397:3 - (ae-forgotten-export) The symbol "Rule" needs to be exported by the entry point index.d.ts
417
+ // src/types.ts:447:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
417
418
 
418
419
  // (No @packageDocumentation comment for this package)
419
420
 
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.402.1-alpha-36d4e79d7.0",
4
+ "version": "14.403.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -50,23 +50,23 @@
50
50
  }
51
51
  },
52
52
  "devDependencies": {
53
- "@genesislcap/foundation-testing": "14.402.1-alpha-36d4e79d7.0",
54
- "@genesislcap/genx": "14.402.1-alpha-36d4e79d7.0",
55
- "@genesislcap/rollup-builder": "14.402.1-alpha-36d4e79d7.0",
56
- "@genesislcap/ts-builder": "14.402.1-alpha-36d4e79d7.0",
57
- "@genesislcap/uvu-playwright-builder": "14.402.1-alpha-36d4e79d7.0",
58
- "@genesislcap/vite-builder": "14.402.1-alpha-36d4e79d7.0",
59
- "@genesislcap/webpack-builder": "14.402.1-alpha-36d4e79d7.0",
53
+ "@genesislcap/foundation-testing": "14.403.0",
54
+ "@genesislcap/genx": "14.403.0",
55
+ "@genesislcap/rollup-builder": "14.403.0",
56
+ "@genesislcap/ts-builder": "14.403.0",
57
+ "@genesislcap/uvu-playwright-builder": "14.403.0",
58
+ "@genesislcap/vite-builder": "14.403.0",
59
+ "@genesislcap/webpack-builder": "14.403.0",
60
60
  "@types/json-schema": "^7.0.11",
61
61
  "@types/papaparse": "^5.3.14"
62
62
  },
63
63
  "dependencies": {
64
- "@genesislcap/foundation-comms": "14.402.1-alpha-36d4e79d7.0",
65
- "@genesislcap/foundation-criteria": "14.402.1-alpha-36d4e79d7.0",
66
- "@genesislcap/foundation-logger": "14.402.1-alpha-36d4e79d7.0",
67
- "@genesislcap/foundation-notifications": "14.402.1-alpha-36d4e79d7.0",
68
- "@genesislcap/foundation-ui": "14.402.1-alpha-36d4e79d7.0",
69
- "@genesislcap/foundation-utils": "14.402.1-alpha-36d4e79d7.0",
64
+ "@genesislcap/foundation-comms": "14.403.0",
65
+ "@genesislcap/foundation-criteria": "14.403.0",
66
+ "@genesislcap/foundation-logger": "14.403.0",
67
+ "@genesislcap/foundation-notifications": "14.403.0",
68
+ "@genesislcap/foundation-ui": "14.403.0",
69
+ "@genesislcap/foundation-utils": "14.403.0",
70
70
  "@json-schema-tools/dereferencer": "^1.6.1",
71
71
  "@jsonforms/core": "^3.2.1",
72
72
  "@microsoft/fast-components": "2.30.6",
@@ -88,5 +88,5 @@
88
88
  "access": "public"
89
89
  },
90
90
  "customElements": "dist/custom-elements.json",
91
- "gitHead": "8c1f803c994e0432e902604d3a8f0a61b0546e33"
91
+ "gitHead": "9e1e2d8c0309a4b540c65de0ebf8acd44f4ce73b"
92
92
  }