@genesislcap/foundation-forms 14.459.0 → 14.461.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 +21 -5
- package/dist/dts/form.styles.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/ArrayListWrapperRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/CategorizationWrapperRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/ControlWrapperRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/LayoutFormGridRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/LayoutGroupRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/LayoutHorizontalRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/LayoutVertical2ColumnsRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/VerticalCategorizationWrapperRenderer.d.ts.map +1 -1
- package/dist/dts/jsonforms/renderers/dispatch-renderer.d.ts +3 -0
- package/dist/dts/jsonforms/renderers/dispatch-renderer.d.ts.map +1 -1
- package/dist/dts/types.d.ts +17 -0
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/form.styles.js +48 -0
- package/dist/esm/jsonforms/renderers/ArrayListWrapperRenderer.js +14 -12
- package/dist/esm/jsonforms/renderers/CategorizationWrapperRenderer.js +3 -5
- package/dist/esm/jsonforms/renderers/ControlWrapperRenderer.js +3 -1
- package/dist/esm/jsonforms/renderers/EnumControlRenderer.js +1 -1
- package/dist/esm/jsonforms/renderers/LayoutFormGridRenderer.js +1 -7
- package/dist/esm/jsonforms/renderers/LayoutGroupRenderer.js +2 -11
- package/dist/esm/jsonforms/renderers/LayoutHorizontalRenderer.js +2 -7
- package/dist/esm/jsonforms/renderers/LayoutRenderer.js +2 -2
- package/dist/esm/jsonforms/renderers/LayoutVertical2ColumnsRenderer.js +2 -8
- package/dist/esm/jsonforms/renderers/NumberControlRenderer.js +1 -1
- package/dist/esm/jsonforms/renderers/StringControlRenderer.js +2 -2
- package/dist/esm/jsonforms/renderers/VerticalCategorizationWrapperRenderer.js +16 -6
- package/dist/esm/jsonforms/renderers/dispatch-renderer.js +26 -1
- package/dist/foundation-forms.api.json +1 -1
- package/dist/foundation-forms.d.ts +20 -0
- package/package.json +15 -15
|
@@ -3050,7 +3050,7 @@
|
|
|
3050
3050
|
{
|
|
3051
3051
|
"kind": "variable",
|
|
3052
3052
|
"name": "LayoutFormGridRendererTemplate",
|
|
3053
|
-
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n innerTemplate: html<DispatchRenderer>`\n <div
|
|
3053
|
+
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n innerTemplate: html<DispatchRenderer>`\n <div class=\"fl-form-grid-layout\">\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 `,\n })}\n </template>\n`"
|
|
3054
3054
|
},
|
|
3055
3055
|
{
|
|
3056
3056
|
"kind": "variable",
|
|
@@ -3087,7 +3087,7 @@
|
|
|
3087
3087
|
{
|
|
3088
3088
|
"kind": "variable",
|
|
3089
3089
|
"name": "LayoutGroupRendererTemplate",
|
|
3090
|
-
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n hideLabel: true,\n innerTemplate: html<DispatchRenderer>`\n <div>\n ${when(\n (x) => x.control.label,\n html<DispatchRenderer>`\n <div
|
|
3090
|
+
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n hideLabel: true,\n innerTemplate: html<DispatchRenderer>`\n <div class=\"fl-group-layout\">\n ${when(\n (x) => x.control.label,\n html<DispatchRenderer>`\n <div for=\"${(x) => x.control.path + '-wrapper'}\" class=\"fl-group-label\">\n ${(x) => x.control.label}\n </div>\n `,\n )}\n ${repeat(\n (x) => x.control.uischema.options.childElements,\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 `,\n })}\n </template>\n`"
|
|
3091
3091
|
},
|
|
3092
3092
|
{
|
|
3093
3093
|
"kind": "variable",
|
|
@@ -3124,7 +3124,7 @@
|
|
|
3124
3124
|
{
|
|
3125
3125
|
"kind": "variable",
|
|
3126
3126
|
"name": "LayoutHorizontalRendererTemplate",
|
|
3127
|
-
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n innerTemplate: html<DispatchRenderer>`\n <div
|
|
3127
|
+
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n innerTemplate: html<DispatchRenderer>`\n <div class=\"fl-horizontal-layout\">\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <dispatch-renderer\n class=\"fl-horizontal-layout-item\"\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 `,\n })}\n </template>\n`"
|
|
3128
3128
|
},
|
|
3129
3129
|
{
|
|
3130
3130
|
"kind": "variable",
|
|
@@ -3180,7 +3180,7 @@
|
|
|
3180
3180
|
{
|
|
3181
3181
|
"kind": "variable",
|
|
3182
3182
|
"name": "LayoutRendererTemplate",
|
|
3183
|
-
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n innerTemplate: html<DispatchRenderer>`\n <div>\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 `,\n })}\n </template>\n`"
|
|
3183
|
+
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n innerTemplate: html<DispatchRenderer>`\n <div class=\"fl-vertical-layout\">\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 `,\n })}\n </template>\n`"
|
|
3184
3184
|
},
|
|
3185
3185
|
{
|
|
3186
3186
|
"kind": "variable",
|
|
@@ -3314,7 +3314,7 @@
|
|
|
3314
3314
|
{
|
|
3315
3315
|
"kind": "variable",
|
|
3316
3316
|
"name": "LayoutVertical2ColumnsRendererTemplate",
|
|
3317
|
-
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n innerTemplate: html<DispatchRenderer>`\n <div
|
|
3317
|
+
"default": "html<DispatchRenderer>`\n <template>\n ${layoutWrapperTemplate({\n innerTemplate: html<DispatchRenderer>`\n <div class=\"fl-2-column-layout\">\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <div class=\"fl-2-column-item\">\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 </div>\n `,\n )}\n </div>\n `,\n })}\n </template>\n`"
|
|
3318
3318
|
},
|
|
3319
3319
|
{
|
|
3320
3320
|
"kind": "variable",
|
|
@@ -4366,6 +4366,14 @@
|
|
|
4366
4366
|
"kind": "field",
|
|
4367
4367
|
"name": "prefix"
|
|
4368
4368
|
},
|
|
4369
|
+
{
|
|
4370
|
+
"kind": "field",
|
|
4371
|
+
"name": "depth",
|
|
4372
|
+
"type": {
|
|
4373
|
+
"text": "number"
|
|
4374
|
+
},
|
|
4375
|
+
"default": "1"
|
|
4376
|
+
},
|
|
4369
4377
|
{
|
|
4370
4378
|
"kind": "method",
|
|
4371
4379
|
"name": "prefixChanged"
|
|
@@ -4382,6 +4390,14 @@
|
|
|
4382
4390
|
"kind": "field",
|
|
4383
4391
|
"name": "determinedRenderer",
|
|
4384
4392
|
"readonly": true
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
"kind": "field",
|
|
4396
|
+
"name": "hostClasses",
|
|
4397
|
+
"type": {
|
|
4398
|
+
"text": "string"
|
|
4399
|
+
},
|
|
4400
|
+
"readonly": true
|
|
4385
4401
|
}
|
|
4386
4402
|
],
|
|
4387
4403
|
"superclass": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.styles.d.ts","sourceRoot":"","sources":["../../src/form.styles.ts"],"names":[],"mappings":"AAMA,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,GAAI,SAAQ,MAAe,WAK7D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"form.styles.d.ts","sourceRoot":"","sources":["../../src/form.styles.ts"],"names":[],"mappings":"AAMA,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,GAAI,SAAQ,MAAe,WAK7D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,iDAoIhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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;AAgGF,eAAO,MAAM,gCAAgC,GAAI,SAAQ,MAAe,
|
|
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;AAgGF,eAAO,MAAM,gCAAgC,GAAI,SAAQ,MAAe,6DAoIvE,CAAC;AAuRF,qBAQa,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":"CategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/CategorizationWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAA2C,eAAe,EAAE,MAAM,aAAa,CAAC;AAEvF;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,GAAG,GAAG,MAAM,CAMrF;AAED,eAAO,MAAM,oBAAoB,iDAKhC,CAAC;AAEF,eAAO,MAAM,qCAAqC,GAChD,eAAe,+
|
|
1
|
+
{"version":3,"file":"CategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/CategorizationWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAA2C,eAAe,EAAE,MAAM,aAAa,CAAC;AAEvF;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,GAAG,GAAG,MAAM,CAMrF;AAED,eAAO,MAAM,oBAAoB,iDAKhC,CAAC;AAEF,eAAO,MAAM,qCAAqC,GAChD,eAAe,+EA4DhB,CAAC;AAkBF,qBAQa,qBAAsB,SAAQ,WAAW;IACxC,IAAI,MAAC;IACL,OAAO,MAAC;IACR,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAgB;IAEpD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAIjC,eAAe,CAAC,KAAK,EAAE,KAAK;IAO5B,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO;CAQjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,YAAY,EAQb,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,cAAc,MAAM,
|
|
1
|
+
{"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,YAAY,EAQb,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,cAAc,MAAM,oDA0D3D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,iDAA6C,CAAC;AAE/E,UAAU,qBAAqB;IAC7B;;;;OAIG;IACH,aAAa,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAC9C,0EAA0E;IAC1E,MAAM,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,SAAS,qBAAqB,KAC7B,YAAY,CAAC,gBAAgB,CA8D/B,CAAC;AA2CF,4BAA4B;AAC5B,eAAO,MAAM,8BAA8B,wBAoD1C,CAAC;AAoEF;;;;GAIG;AACH,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;IAEZ,iBAAiB;IAQ1B,IACI,eAAe,YAOlB;IAED,IACI,aAAa,WAOhB;IAED,IACI,kBAAkB,2BAGrB;IAED,IACI,UAAU,WAOb;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutFormGridRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutFormGridRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"LayoutFormGridRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutFormGridRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,8BAA8B,uEA2B1C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,GAIjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutGroupRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutGroupRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"LayoutGroupRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutGroupRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,2BAA2B,uEAoCvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,GAItC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutHorizontalRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutHorizontalRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"LayoutHorizontalRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutHorizontalRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,gCAAgC,uEA4B5C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,GAInC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutVertical2ColumnsRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVertical2ColumnsRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,sCAAsC,
|
|
1
|
+
{"version":3,"file":"LayoutVertical2ColumnsRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVertical2ColumnsRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,sCAAsC,uEA6BlD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,GAIzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalCategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,qBAAqB,EAA4B,MAAM,iCAAiC,CAAC;AAElG,eAAO,MAAM,6CAA6C,GACxD,eAAe,
|
|
1
|
+
{"version":3,"file":"VerticalCategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,qBAAqB,EAA4B,MAAM,iCAAiC,CAAC;AAElG,eAAO,MAAM,6CAA6C,GACxD,eAAe,uFAwEhB,CAAC;AAmEF,qBAQa,6BAA8B,SAAQ,qBAAqB;IAChE,MAAM,EAAE,MAAM,CAAM;IAE1B,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAMjD,iBAAiB;CAIlB"}
|
|
@@ -13,10 +13,13 @@ export declare class DispatchRenderer extends FASTElement {
|
|
|
13
13
|
control: any;
|
|
14
14
|
renderer: any;
|
|
15
15
|
prefix: any;
|
|
16
|
+
depth: number;
|
|
16
17
|
prefixChanged(): void;
|
|
17
18
|
createRenderer: () => void;
|
|
18
19
|
onBlur(): void;
|
|
19
20
|
get determinedRenderer(): any;
|
|
21
|
+
get hostClasses(): string;
|
|
22
|
+
connectedCallback(): void;
|
|
20
23
|
disconnectedCallback(): void;
|
|
21
24
|
}
|
|
22
25
|
//# sourceMappingURL=dispatch-renderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispatch-renderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/dispatch-renderer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EAMZ,MAAM,yBAAyB,CAAC;AAsBjC,qBAMa,gBAAiB,SAAQ,WAAW;IACnC,SAAS,MAAC;IACtB,gBAAgB;IAIJ,KAAK,MAAC;IAClB,YAAY;IAGA,OAAO,MAAC;IAEpB,OAAO,CAAC,UAAU,CAAS;IAE3B,IAAI,SAAS,IAAI,OAAO,CAGvB;IAED,IAAI,SAAS,CAAC,KAAK,EAAE,OAAO,EAI3B;IAED,gBAAgB;IAGJ,QAAQ,MAAC;IACT,OAAO,MAAC;IACR,QAAQ,MAAC;IACT,MAAM,MAAC;
|
|
1
|
+
{"version":3,"file":"dispatch-renderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/dispatch-renderer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EAMZ,MAAM,yBAAyB,CAAC;AAsBjC,qBAMa,gBAAiB,SAAQ,WAAW;IACnC,SAAS,MAAC;IACtB,gBAAgB;IAIJ,KAAK,MAAC;IAClB,YAAY;IAGA,OAAO,MAAC;IAEpB,OAAO,CAAC,UAAU,CAAS;IAE3B,IAAI,SAAS,IAAI,OAAO,CAGvB;IAED,IAAI,SAAS,CAAC,KAAK,EAAE,OAAO,EAI3B;IAED,gBAAgB;IAGJ,QAAQ,MAAC;IACT,OAAO,MAAC;IACR,QAAQ,MAAC;IACT,MAAM,MAAC;IACP,KAAK,EAAE,MAAM,CAAK;IAC9B,aAAa;IAIb,cAAc,aAmBZ;IAEF,MAAM;IAIN,IAAI,kBAAkB,QAgBrB;IAED,IAAI,WAAW,IAAI,MAAM,CAOxB;IACD,iBAAiB;IAWjB,oBAAoB;CAKrB"}
|
package/dist/dts/types.d.ts
CHANGED
|
@@ -273,6 +273,23 @@ export type ArrayRendererOptions = {
|
|
|
273
273
|
* ```
|
|
274
274
|
*/
|
|
275
275
|
gridView?: boolean;
|
|
276
|
+
/**
|
|
277
|
+
* When false, hides the per-row status indicator that shows submission state
|
|
278
|
+
* (pending, success, or failure). Defaults to true.
|
|
279
|
+
* @public
|
|
280
|
+
*
|
|
281
|
+
* @example
|
|
282
|
+
* ```ts
|
|
283
|
+
* {
|
|
284
|
+
* type: 'Control',
|
|
285
|
+
* scope: '#/properties/array',
|
|
286
|
+
* options: <ArrayRendererOptions>{
|
|
287
|
+
* showRowStatusIndicator: false,
|
|
288
|
+
* }
|
|
289
|
+
* }
|
|
290
|
+
* ```
|
|
291
|
+
*/
|
|
292
|
+
showRowStatusIndicator?: boolean;
|
|
276
293
|
};
|
|
277
294
|
/**
|
|
278
295
|
* Orientation options available for stepper renderer.
|
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,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,oBAAoB,EACrB,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,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,EAAE,MAAM,CAAC;IACpB;;;OAGG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;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,GAAG,CAAC;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,GAAG,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,GAAG,CAAC;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,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"}
|
package/dist/esm/form.styles.js
CHANGED
|
@@ -88,6 +88,54 @@ export const foundationFormStyles = css `
|
|
|
88
88
|
0 2px 4px rgb(0 0 0 / 6%),
|
|
89
89
|
0 6px 12px rgb(0 0 0 / 8%);
|
|
90
90
|
}
|
|
91
|
+
|
|
92
|
+
/* ── Layout wrappers ────────────────────────────────────────────────────── */
|
|
93
|
+
|
|
94
|
+
.fl-layout-label {
|
|
95
|
+
color: var(--neutral-foreground-hint);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.fl-vertical-layout {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.fl-horizontal-layout {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: row;
|
|
106
|
+
gap: calc(${designUnit} * 2px);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.fl-horizontal-layout-item {
|
|
110
|
+
flex: 1;
|
|
111
|
+
min-width: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.fl-form-grid-layout {
|
|
115
|
+
display: grid;
|
|
116
|
+
grid-template-columns: repeat(4, 1fr);
|
|
117
|
+
gap: calc(${designUnit} * 2px);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.fl-2-column-layout {
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-flow: row wrap;
|
|
123
|
+
justify-content: space-between;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.fl-2-column-item {
|
|
127
|
+
width: 49%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.fl-group-label {
|
|
131
|
+
color: var(--neutral-foreground-rest);
|
|
132
|
+
padding-bottom: calc(${designUnit} * 1px);
|
|
133
|
+
margin-bottom: calc(${designUnit} * 2px);
|
|
134
|
+
font-weight: 600;
|
|
135
|
+
font-size: var(--type-ramp-base-font-size);
|
|
136
|
+
display: flex;
|
|
137
|
+
justify-content: space-between;
|
|
138
|
+
}
|
|
91
139
|
`.withBehaviors(forcedColorsStylesheetBehavior(css `
|
|
92
140
|
foundation-form {
|
|
93
141
|
background: ${SystemColors.Canvas};
|
|
@@ -109,19 +109,21 @@ export const ArrayListWrapperRendererTemplate = (prefix = 'zero') => html `
|
|
|
109
109
|
}}"
|
|
110
110
|
data-row-index="${(x, ctx) => ctx.index}"
|
|
111
111
|
>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
112
|
+
${when((_x, ctx) => { var _a; return ((_a = ctx.parent.control.uischema.options) === null || _a === void 0 ? void 0 : _a.showRowStatusIndicator) !== false; }, html `
|
|
113
|
+
<div class="row-status-indicator">
|
|
114
|
+
<${prefix}-progress-ring class="status-spinner"></${prefix}-progress-ring>
|
|
115
|
+
<${prefix}-icon name="check-circle" class="status-icon status-success"></${prefix}-icon>
|
|
116
|
+
<${prefix}-icon
|
|
117
|
+
name="times-circle"
|
|
118
|
+
class="status-icon status-failed"
|
|
119
|
+
title="${(x, ctx) => {
|
|
119
120
|
var _a;
|
|
120
121
|
const rowStatus = getRowStatus(ctx);
|
|
121
122
|
return ((_a = rowStatus === null || rowStatus === void 0 ? void 0 : rowStatus.errors) === null || _a === void 0 ? void 0 : _a.map((e) => e.TEXT).join(', ')) || 'Failed';
|
|
122
123
|
}}"
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
></${prefix}-icon>
|
|
125
|
+
</div>
|
|
126
|
+
`)}
|
|
125
127
|
<dispatch-renderer
|
|
126
128
|
:submitted=${(x, ctx) => ctx.parent.form.submitted}
|
|
127
129
|
:dispatch=${(x, ctx) => ctx.parent.form.dispatch}
|
|
@@ -186,7 +188,6 @@ export const ArrayListWrapperRendererTemplate = (prefix = 'zero') => html `
|
|
|
186
188
|
`;
|
|
187
189
|
const styles = css `
|
|
188
190
|
array-list-wrapper {
|
|
189
|
-
padding-left: calc(${designUnit} * 1px);
|
|
190
191
|
display: flex;
|
|
191
192
|
flex-direction: column;
|
|
192
193
|
gap: calc(${designUnit} * 3px);
|
|
@@ -194,8 +195,8 @@ const styles = css `
|
|
|
194
195
|
--grid-actions-track-width: calc(${designUnit} * 16px);
|
|
195
196
|
|
|
196
197
|
/* Row status color tokens - can be overridden via CSS custom properties */
|
|
197
|
-
--row-status-success-color: var(--success-
|
|
198
|
-
--row-status-failed-color: var(--error-
|
|
198
|
+
--row-status-success-color: var(--success-foreground-rest, #28a745);
|
|
199
|
+
--row-status-failed-color: var(--error-foreground-rest, #dc3545);
|
|
199
200
|
--row-status-submitting-color: var(--accent-fill-rest, #0078d4);
|
|
200
201
|
|
|
201
202
|
/* Array item card styling - industrial/utilitarian aesthetic */
|
|
@@ -203,6 +204,7 @@ const styles = css `
|
|
|
203
204
|
--array-item-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.06), 0 6px 12px rgba(0, 0, 0, 0.08);
|
|
204
205
|
--array-item-border: 1px solid var(--neutral-stroke-rest, rgba(0, 0, 0, 0.12));
|
|
205
206
|
--array-item-radius: calc(${designUnit} * 2px);
|
|
207
|
+
width: 100%;
|
|
206
208
|
}
|
|
207
209
|
|
|
208
210
|
array-list-wrapper .array-list {
|
|
@@ -29,9 +29,10 @@ export const tabControlIconStyles = css `
|
|
|
29
29
|
`;
|
|
30
30
|
export const CategorizationWrapperRendererTemplate = (prefix = 'zero') => html `
|
|
31
31
|
<template>
|
|
32
|
-
<${prefix}-tabs class="tabs-container" @change=${(x, ctx) => x.handleTabChange(ctx.event)}>
|
|
32
|
+
<${prefix}-tabs appearance="secondary" class="tabs-container" @change=${(x, ctx) => x.handleTabChange(ctx.event)}>
|
|
33
33
|
${repeat((x) => x.control.uischema.elements, html `
|
|
34
34
|
<${prefix}-tab
|
|
35
|
+
appearance="secondary"
|
|
35
36
|
class="${(x, ctx) => {
|
|
36
37
|
var _a, _b, _c;
|
|
37
38
|
const custom = computeCategoryClassName(x, (_c = (_b = (_a = ctx.parent.form) === null || _a === void 0 ? void 0 : _a.jsonforms) === null || _b === void 0 ? void 0 : _b.core) === null || _c === void 0 ? void 0 : _c.data);
|
|
@@ -49,6 +50,7 @@ export const CategorizationWrapperRendererTemplate = (prefix = 'zero') => html `
|
|
|
49
50
|
${when((x, ctx) => ctx.parent.isMounted(ctx.index), html `
|
|
50
51
|
${repeat((x) => x.options.childElements, html `
|
|
51
52
|
<dispatch-renderer
|
|
53
|
+
class="fl-categorization-item"
|
|
52
54
|
:submitted=${(x, ctx) => ctx.parentContext.parent.form.submitted}
|
|
53
55
|
:dispatch=${(x, ctx) => ctx.parentContext.parent.form.dispatch}
|
|
54
56
|
:jsonforms=${(x, ctx) => ctx.parentContext.parent.form.jsonforms}
|
|
@@ -74,10 +76,6 @@ const styles = css `
|
|
|
74
76
|
border-bottom: none;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
|
-
categorization-wrapper .tab-control {
|
|
78
|
-
box-shadow: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
79
|
categorization-wrapper .tab-control .tab-control-icon {
|
|
82
80
|
margin-left: 3px;
|
|
83
81
|
color: #f9644d;
|
|
@@ -25,6 +25,7 @@ export const controlWrapperStylesFor = (hostSelector) => css `
|
|
|
25
25
|
justify-content: space-between;
|
|
26
26
|
font-weight: 700;
|
|
27
27
|
cursor: default;
|
|
28
|
+
font-size: var(--type-ramp-base-font-size);
|
|
28
29
|
}
|
|
29
30
|
${hostSelector} .foundation-control-wrapper-label.visually-hidden {
|
|
30
31
|
position: absolute;
|
|
@@ -46,7 +47,8 @@ export const controlWrapperStylesFor = (hostSelector) => css `
|
|
|
46
47
|
}
|
|
47
48
|
${hostSelector} .labelLeft .foundation-control-wrapper-label {
|
|
48
49
|
flex: 0 1 auto;
|
|
49
|
-
width: calc(var(--design-unit) * 30px);
|
|
50
|
+
width: var(--form-label-left-width, calc(var(--design-unit) * 30px));
|
|
51
|
+
min-width: var(--form-label-left-width, calc(var(--design-unit) * 30px));
|
|
50
52
|
margin-right: calc(var(--design-unit) * 2px);
|
|
51
53
|
align-items: center;
|
|
52
54
|
margin-bottom: 0;
|
|
@@ -59,7 +59,7 @@ export const EnumControlRendererTemplate = (prefix = 'zero') => html `
|
|
|
59
59
|
prefix,
|
|
60
60
|
innerTemplate: html `
|
|
61
61
|
<${prefix}-combobox
|
|
62
|
-
style="width: 100
|
|
62
|
+
style="width: 100%"
|
|
63
63
|
autocomplete=${(x) => { var _a; return (((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.filterMode) === 'startsWith' ? 'both' : 'list'); }}
|
|
64
64
|
filter-mode=${(x) => { var _a; return ((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.filterMode) || 'contains'; }}
|
|
65
65
|
?disabled=${(x) => !x.control.enabled}
|
|
@@ -6,13 +6,7 @@ export const LayoutFormGridRendererTemplate = html `
|
|
|
6
6
|
<template>
|
|
7
7
|
${layoutWrapperTemplate({
|
|
8
8
|
innerTemplate: html `
|
|
9
|
-
<div
|
|
10
|
-
style="
|
|
11
|
-
display: grid;
|
|
12
|
-
grid-template-columns: repeat(4, 1fr);
|
|
13
|
-
gap: 8px;
|
|
14
|
-
"
|
|
15
|
-
>
|
|
9
|
+
<div class="fl-form-grid-layout">
|
|
16
10
|
${repeat((x) => x.control.uischema.elements, html `
|
|
17
11
|
<dispatch-renderer
|
|
18
12
|
:submitted=${(x, ctx) => ctx.parent.submitted}
|
|
@@ -7,18 +7,9 @@ export const LayoutGroupRendererTemplate = html `
|
|
|
7
7
|
${layoutWrapperTemplate({
|
|
8
8
|
hideLabel: true,
|
|
9
9
|
innerTemplate: html `
|
|
10
|
-
<div>
|
|
10
|
+
<div class="fl-group-layout">
|
|
11
11
|
${when((x) => x.control.label, html `
|
|
12
|
-
<div
|
|
13
|
-
for="${(x) => x.control.path + '-wrapper'}"
|
|
14
|
-
style="color: var(--neutral-foreground-rest);
|
|
15
|
-
padding-bottom: calc(var(--design-unit) * 1px);
|
|
16
|
-
margin-bottom: calc(var(--design-unit) * 4px);
|
|
17
|
-
font-weight: 600;
|
|
18
|
-
font-size: var(--type-ramp-base-font-size);
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: space-between;"
|
|
21
|
-
>
|
|
12
|
+
<div for="${(x) => x.control.path + '-wrapper'}" class="fl-group-label">
|
|
22
13
|
${(x) => x.control.label}
|
|
23
14
|
</div>
|
|
24
15
|
`)}
|
|
@@ -6,15 +6,10 @@ export const LayoutHorizontalRendererTemplate = html `
|
|
|
6
6
|
<template>
|
|
7
7
|
${layoutWrapperTemplate({
|
|
8
8
|
innerTemplate: html `
|
|
9
|
-
<div
|
|
10
|
-
style="
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
gap: 10px"
|
|
14
|
-
>
|
|
9
|
+
<div class="fl-horizontal-layout">
|
|
15
10
|
${repeat((x) => x.control.uischema.elements, html `
|
|
16
11
|
<dispatch-renderer
|
|
17
|
-
|
|
12
|
+
class="fl-horizontal-layout-item"
|
|
18
13
|
:submitted=${(x, ctx) => ctx.parent.submitted}
|
|
19
14
|
:dispatch=${(x, ctx) => ctx.parent.dispatch}
|
|
20
15
|
:jsonforms=${(x, ctx) => ctx.parent.jsonforms}
|
|
@@ -15,7 +15,7 @@ export const layoutWrapperTemplate = (options) => {
|
|
|
15
15
|
const { innerTemplate, hideLabel = false } = options;
|
|
16
16
|
return html `
|
|
17
17
|
${when((x) => { var _a; return !!((_a = x.control) === null || _a === void 0 ? void 0 : _a.label) && !hideLabel; }, html `
|
|
18
|
-
<div
|
|
18
|
+
<div class="fl-layout-label">${(x) => x.control.label}</div>
|
|
19
19
|
`)}
|
|
20
20
|
${when((x) => { var _a; return (_a = x.control) === null || _a === void 0 ? void 0 : _a.visible; }, innerTemplate)}
|
|
21
21
|
`;
|
|
@@ -24,7 +24,7 @@ export const LayoutRendererTemplate = html `
|
|
|
24
24
|
<template>
|
|
25
25
|
${layoutWrapperTemplate({
|
|
26
26
|
innerTemplate: html `
|
|
27
|
-
<div>
|
|
27
|
+
<div class="fl-vertical-layout">
|
|
28
28
|
${repeat((x) => x.control.uischema.elements, html `
|
|
29
29
|
<dispatch-renderer
|
|
30
30
|
:submitted=${(x, ctx) => ctx.parent.submitted}
|
|
@@ -6,15 +6,9 @@ export const LayoutVertical2ColumnsRendererTemplate = html `
|
|
|
6
6
|
<template>
|
|
7
7
|
${layoutWrapperTemplate({
|
|
8
8
|
innerTemplate: html `
|
|
9
|
-
<div
|
|
10
|
-
style="
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
flex-wrap: wrap;
|
|
14
|
-
justify-content: space-between;"
|
|
15
|
-
>
|
|
9
|
+
<div class="fl-2-column-layout">
|
|
16
10
|
${repeat((x) => x.control.uischema.elements, html `
|
|
17
|
-
<div
|
|
11
|
+
<div class="fl-2-column-item">
|
|
18
12
|
<dispatch-renderer
|
|
19
13
|
:submitted=${(x, ctx) => ctx.parent.submitted}
|
|
20
14
|
:dispatch=${(x, ctx) => ctx.parent.dispatch}
|
|
@@ -28,7 +28,7 @@ export const NumberControlRendererTemplate = (prefix = 'zero') => html `
|
|
|
28
28
|
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; }}"
|
|
29
29
|
@change=${handleNumberChange}
|
|
30
30
|
@input=${(x, c) => { var _a; return (((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.changeOnInput) ? handleNumberChange(x, c) : undefined); }}
|
|
31
|
-
placeholder=${(x) => x.control.uischema.placeholder ||
|
|
31
|
+
placeholder=${(x) => x.control.uischema.placeholder || ''}
|
|
32
32
|
id=${(x) => x.control.path}
|
|
33
33
|
data-test-id=${(x) => x.control.path}
|
|
34
34
|
?required=${(x) => x.control.required}
|
|
@@ -36,7 +36,7 @@ export const getStringControlRendererTemplate = (prefix = 'zero') => html `
|
|
|
36
36
|
:value=${(x) => x.control.data || ''}
|
|
37
37
|
@input=${(x, c) => { var _a; return (((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.changeOnInput) ? changeHandler(x, c) : undefined); }}
|
|
38
38
|
@change=${changeHandler}
|
|
39
|
-
placeholder=${(x) => x.control.uischema.placeholder ||
|
|
39
|
+
placeholder=${(x) => x.control.uischema.placeholder || ''}
|
|
40
40
|
id=${(x) => x.control.path}
|
|
41
41
|
data-test-id=${(x) => x.control.path}
|
|
42
42
|
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; }}"
|
|
@@ -50,7 +50,7 @@ export const getStringControlRendererTemplate = (prefix = 'zero') => html `
|
|
|
50
50
|
:value=${(x) => x.control.data || ''}
|
|
51
51
|
@input=${(x, c) => { var _a; return (((_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.changeOnInput) ? changeHandler(x, c) : undefined); }}
|
|
52
52
|
@change=${changeHandler}
|
|
53
|
-
placeholder=${(x) => x.control.uischema.placeholder ||
|
|
53
|
+
placeholder=${(x) => x.control.uischema.placeholder || ''}
|
|
54
54
|
id=${(x) => x.control.path}
|
|
55
55
|
data-test-id=${(x) => x.control.path}
|
|
56
56
|
?required=${(x) => x.control.required}
|
|
@@ -27,10 +27,17 @@ export const VerticalCategorizationWrapperRendererTemplate = (prefix = 'zero') =
|
|
|
27
27
|
</${prefix}-tab>
|
|
28
28
|
`, { positioning: true })}
|
|
29
29
|
${repeat((x) => x.control.uischema.elements, html `
|
|
30
|
-
<${prefix}-tab-panel
|
|
30
|
+
<${prefix}-tab-panel
|
|
31
|
+
class="${(x, ctx) => {
|
|
32
|
+
var _a, _b, _c;
|
|
33
|
+
const custom = computeCategoryClassName(x, (_c = (_b = (_a = ctx.parent.form) === null || _a === void 0 ? void 0 : _a.jsonforms) === null || _b === void 0 ? void 0 : _b.core) === null || _c === void 0 ? void 0 : _c.data);
|
|
34
|
+
return classNames('tab-panel-control', [custom, !!custom]);
|
|
35
|
+
}}"
|
|
36
|
+
>
|
|
31
37
|
${when((x, ctx) => ctx.parent.isMounted(ctx.index), html `
|
|
32
38
|
${repeat((x) => x.options.childElements, html `
|
|
33
39
|
<dispatch-renderer
|
|
40
|
+
class="fl-vertical-categorization-item"
|
|
34
41
|
:submitted=${(x, ctx) => ctx.parentContext.parent.form.submitted}
|
|
35
42
|
:dispatch=${(x, ctx) => ctx.parentContext.parent.form.dispatch}
|
|
36
43
|
:jsonforms=${(x, ctx) => ctx.parentContext.parent.form.jsonforms}
|
|
@@ -55,13 +62,17 @@ const styles = css `
|
|
|
55
62
|
display: block;
|
|
56
63
|
height: var(--vertical-categorization-height, auto);
|
|
57
64
|
overflow: hidden;
|
|
65
|
+
> rapid-tabs {
|
|
66
|
+
border: 1px solid var(--neutral-stroke-rest);
|
|
67
|
+
border-radius: calc(var(--control-corner-radius) * 1px);
|
|
68
|
+
}
|
|
58
69
|
}
|
|
59
70
|
vertical-categorization-wrapper .tabs-container::part(tablist) {
|
|
60
71
|
display: flex;
|
|
61
72
|
flex-direction: column;
|
|
62
73
|
height: auto;
|
|
63
74
|
min-height: 100%;
|
|
64
|
-
width: 160px;
|
|
75
|
+
width: var(--vertical-categorization-width, 160px);
|
|
65
76
|
background-color: transparent;
|
|
66
77
|
border-bottom: none;
|
|
67
78
|
border-right: calc(var(--stroke-width, 1) * 1px) solid
|
|
@@ -71,10 +82,9 @@ const styles = css `
|
|
|
71
82
|
|
|
72
83
|
/* Reset the column layout above on horizontal categorization-wrappers nested inside the vertical one (e.g. Detailed View). */
|
|
73
84
|
vertical-categorization-wrapper categorization-wrapper .tabs-container::part(tablist) {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
border-right: none;
|
|
85
|
+
display: grid;
|
|
86
|
+
border-right: 0;
|
|
87
|
+
width: 100%;
|
|
78
88
|
}
|
|
79
89
|
|
|
80
90
|
vertical-categorization-wrapper .tabs-container .tab-control {
|
|
@@ -4,7 +4,7 @@ import { FASTElement, html, css, observable, Observable, customElement, } from '
|
|
|
4
4
|
import maxBy from 'lodash/maxBy';
|
|
5
5
|
import { logger } from '../../utils';
|
|
6
6
|
const template = html `
|
|
7
|
-
<template>${(x) => x.determinedRenderer.renderer}</template>
|
|
7
|
+
<template class="${(x) => x.hostClasses}">${(x) => x.determinedRenderer.renderer}</template>
|
|
8
8
|
`;
|
|
9
9
|
const styles = css ``;
|
|
10
10
|
const useControl = (props, jsonforms, dispatch, stateMapper, dispatchMapper) => {
|
|
@@ -17,6 +17,7 @@ let DispatchRenderer = class DispatchRenderer extends FASTElement {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments);
|
|
19
19
|
this._submitted = false;
|
|
20
|
+
this.depth = 1;
|
|
20
21
|
this.createRenderer = () => {
|
|
21
22
|
if (!this.jsonforms || !this.dispatch || !this.props) {
|
|
22
23
|
return;
|
|
@@ -69,6 +70,27 @@ let DispatchRenderer = class DispatchRenderer extends FASTElement {
|
|
|
69
70
|
return rendererEntry;
|
|
70
71
|
}
|
|
71
72
|
}
|
|
73
|
+
get hostClasses() {
|
|
74
|
+
var _a, _b, _c, _d, _e, _f;
|
|
75
|
+
const uischema = (_a = this.props) === null || _a === void 0 ? void 0 : _a.uischema;
|
|
76
|
+
const levelClass = `dr-level-${this.depth}`;
|
|
77
|
+
if (!uischema)
|
|
78
|
+
return levelClass;
|
|
79
|
+
const type = (_c = (_b = uischema.type) === null || _b === void 0 ? void 0 : _b.toLowerCase()) !== null && _c !== void 0 ? _c : '';
|
|
80
|
+
const field = (_f = (_e = (_d = uischema.scope) === null || _d === void 0 ? void 0 : _d.split('/').pop()) === null || _e === void 0 ? void 0 : _e.toLowerCase()) !== null && _f !== void 0 ? _f : '';
|
|
81
|
+
return [type && `dr-${type}`, field && `dr-${field}`, levelClass].filter(Boolean).join(' ');
|
|
82
|
+
}
|
|
83
|
+
connectedCallback() {
|
|
84
|
+
super.connectedCallback();
|
|
85
|
+
let depth = 1;
|
|
86
|
+
let el = this.parentElement;
|
|
87
|
+
while (el) {
|
|
88
|
+
if (el.tagName.toLowerCase() === 'dispatch-renderer')
|
|
89
|
+
depth += 1;
|
|
90
|
+
el = el.parentElement;
|
|
91
|
+
}
|
|
92
|
+
this.depth = depth;
|
|
93
|
+
}
|
|
72
94
|
disconnectedCallback() {
|
|
73
95
|
super.disconnectedCallback();
|
|
74
96
|
this.touched = false;
|
|
@@ -96,6 +118,9 @@ __decorate([
|
|
|
96
118
|
__decorate([
|
|
97
119
|
observable
|
|
98
120
|
], DispatchRenderer.prototype, "prefix", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
observable
|
|
123
|
+
], DispatchRenderer.prototype, "depth", void 0);
|
|
99
124
|
DispatchRenderer = __decorate([
|
|
100
125
|
customElement({
|
|
101
126
|
name: 'dispatch-renderer',
|
|
@@ -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 canAdd?: boolean | ((array: any[]) => boolean);\n gridView?: boolean;\n}"
|
|
204
|
+
"text": ";\n addLabel?: string;\n deleteLabel?: string;\n border?: boolean;\n canDelete?: (item: any) => boolean;\n canAdd?: boolean | ((array: any[]) => boolean);\n gridView?: boolean;\n showRowStatusIndicator?: boolean;\n}"
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
"kind": "Content",
|
|
@@ -157,6 +157,23 @@ export declare type ArrayRendererOptions = {
|
|
|
157
157
|
* ```
|
|
158
158
|
*/
|
|
159
159
|
gridView?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* When false, hides the per-row status indicator that shows submission state
|
|
162
|
+
* (pending, success, or failure). Defaults to true.
|
|
163
|
+
* @public
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* ```ts
|
|
167
|
+
* {
|
|
168
|
+
* type: 'Control',
|
|
169
|
+
* scope: '#/properties/array',
|
|
170
|
+
* options: <ArrayRendererOptions>{
|
|
171
|
+
* showRowStatusIndicator: false,
|
|
172
|
+
* }
|
|
173
|
+
* }
|
|
174
|
+
* ```
|
|
175
|
+
*/
|
|
176
|
+
showRowStatusIndicator?: boolean;
|
|
160
177
|
};
|
|
161
178
|
|
|
162
179
|
/**
|
|
@@ -467,10 +484,13 @@ declare class DispatchRenderer extends FASTElement {
|
|
|
467
484
|
control: any;
|
|
468
485
|
renderer: any;
|
|
469
486
|
prefix: any;
|
|
487
|
+
depth: number;
|
|
470
488
|
prefixChanged(): void;
|
|
471
489
|
createRenderer: () => void;
|
|
472
490
|
onBlur(): void;
|
|
473
491
|
get determinedRenderer(): any;
|
|
492
|
+
get hostClasses(): string;
|
|
493
|
+
connectedCallback(): void;
|
|
474
494
|
disconnectedCallback(): void;
|
|
475
495
|
}
|
|
476
496
|
|
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.461.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@genesislcap/foundation-testing": "14.
|
|
63
|
-
"@genesislcap/genx": "14.
|
|
64
|
-
"@genesislcap/rollup-builder": "14.
|
|
65
|
-
"@genesislcap/ts-builder": "14.
|
|
66
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
67
|
-
"@genesislcap/vite-builder": "14.
|
|
68
|
-
"@genesislcap/webpack-builder": "14.
|
|
62
|
+
"@genesislcap/foundation-testing": "14.461.0",
|
|
63
|
+
"@genesislcap/genx": "14.461.0",
|
|
64
|
+
"@genesislcap/rollup-builder": "14.461.0",
|
|
65
|
+
"@genesislcap/ts-builder": "14.461.0",
|
|
66
|
+
"@genesislcap/uvu-playwright-builder": "14.461.0",
|
|
67
|
+
"@genesislcap/vite-builder": "14.461.0",
|
|
68
|
+
"@genesislcap/webpack-builder": "14.461.0",
|
|
69
69
|
"@types/json-schema": "^7.0.11",
|
|
70
70
|
"@types/papaparse": "^5.3.14"
|
|
71
71
|
},
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@genesislcap/foundation-comms": "14.
|
|
86
|
-
"@genesislcap/foundation-criteria": "14.
|
|
87
|
-
"@genesislcap/foundation-logger": "14.
|
|
88
|
-
"@genesislcap/foundation-notifications": "14.
|
|
89
|
-
"@genesislcap/foundation-ui": "14.
|
|
90
|
-
"@genesislcap/foundation-utils": "14.
|
|
85
|
+
"@genesislcap/foundation-comms": "14.461.0",
|
|
86
|
+
"@genesislcap/foundation-criteria": "14.461.0",
|
|
87
|
+
"@genesislcap/foundation-logger": "14.461.0",
|
|
88
|
+
"@genesislcap/foundation-notifications": "14.461.0",
|
|
89
|
+
"@genesislcap/foundation-ui": "14.461.0",
|
|
90
|
+
"@genesislcap/foundation-utils": "14.461.0",
|
|
91
91
|
"@json-schema-tools/dereferencer": "^1.6.1",
|
|
92
92
|
"@jsonforms/core": "^3.2.1",
|
|
93
93
|
"@microsoft/fast-components": "2.30.6",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"access": "public"
|
|
110
110
|
},
|
|
111
111
|
"customElements": "dist/custom-elements.json",
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "d87c27bf9e91f6f5d1cf51992e7892df9434c9be"
|
|
113
113
|
}
|