@genesislcap/foundation-forms 14.414.0 → 14.415.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.
@@ -644,6 +644,14 @@
644
644
  "module": "./jsonforms/renderers/MulticolumnDropdownControlRenderer"
645
645
  }
646
646
  },
647
+ {
648
+ "kind": "js",
649
+ "name": "LayoutVerticalCategorizationRendererEntry",
650
+ "declaration": {
651
+ "name": "LayoutVerticalCategorizationRendererEntry",
652
+ "module": "./jsonforms/renderers/LayoutVerticalCategorizationRenderer"
653
+ }
654
+ },
647
655
  {
648
656
  "kind": "js",
649
657
  "name": "*",
@@ -1950,6 +1958,11 @@
1950
1958
  "kind": "javascript-module",
1951
1959
  "path": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts",
1952
1960
  "declarations": [
1961
+ {
1962
+ "kind": "variable",
1963
+ "name": "tabControlIconStyles",
1964
+ "default": "css`\n .tab-control-icon {\n margin-left: 3px;\n color: #f9644d;\n }\n`"
1965
+ },
1953
1966
  {
1954
1967
  "kind": "function",
1955
1968
  "name": "CategorizationWrapperRendererTemplate",
@@ -2000,6 +2013,14 @@
2000
2013
  }
2001
2014
  ],
2002
2015
  "exports": [
2016
+ {
2017
+ "kind": "js",
2018
+ "name": "tabControlIconStyles",
2019
+ "declaration": {
2020
+ "name": "tabControlIconStyles",
2021
+ "module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
2022
+ }
2023
+ },
2003
2024
  {
2004
2025
  "kind": "js",
2005
2026
  "name": "CategorizationWrapperRendererTemplate",
@@ -2965,6 +2986,43 @@
2965
2986
  }
2966
2987
  ]
2967
2988
  },
2989
+ {
2990
+ "kind": "javascript-module",
2991
+ "path": "src/jsonforms/renderers/LayoutVerticalCategorizationRenderer.ts",
2992
+ "declarations": [
2993
+ {
2994
+ "kind": "variable",
2995
+ "name": "LayoutVerticalCategorizationRendererTemplate",
2996
+ "default": "html`\n <template>\n <vertical-categorization-wrapper\n :form=${(x) => x}\n :control=${(x) => x.control}\n ></vertical-categorization-wrapper>\n </template>\n`"
2997
+ },
2998
+ {
2999
+ "kind": "variable",
3000
+ "name": "LayoutVerticalCategorizationRendererEntry",
3001
+ "type": {
3002
+ "text": "any"
3003
+ },
3004
+ "default": "{\n renderer: LayoutVerticalCategorizationRendererTemplate,\n tester: rankWith(\n LAYOUT_VERTICAL_CATEGORIZATION_RANK,\n (uiSchema) =>\n uiSchema.type === 'Categorization' && (uiSchema.options as any)?.layout === 'vertical',\n ),\n mapper: mapStateToLayoutProps,\n}"
3005
+ }
3006
+ ],
3007
+ "exports": [
3008
+ {
3009
+ "kind": "js",
3010
+ "name": "LayoutVerticalCategorizationRendererTemplate",
3011
+ "declaration": {
3012
+ "name": "LayoutVerticalCategorizationRendererTemplate",
3013
+ "module": "src/jsonforms/renderers/LayoutVerticalCategorizationRenderer.ts"
3014
+ }
3015
+ },
3016
+ {
3017
+ "kind": "js",
3018
+ "name": "LayoutVerticalCategorizationRendererEntry",
3019
+ "declaration": {
3020
+ "name": "LayoutVerticalCategorizationRendererEntry",
3021
+ "module": "src/jsonforms/renderers/LayoutVerticalCategorizationRenderer.ts"
3022
+ }
3023
+ }
3024
+ ]
3025
+ },
2968
3026
  {
2969
3027
  "kind": "javascript-module",
2970
3028
  "path": "src/jsonforms/renderers/MulticolumnDropdownControlRenderer.ts",
@@ -3147,6 +3205,14 @@
3147
3205
  },
3148
3206
  "default": "2"
3149
3207
  },
3208
+ {
3209
+ "kind": "variable",
3210
+ "name": "LAYOUT_VERTICAL_CATEGORIZATION_RANK",
3211
+ "type": {
3212
+ "text": "number"
3213
+ },
3214
+ "default": "3"
3215
+ },
3150
3216
  {
3151
3217
  "kind": "variable",
3152
3218
  "name": "LAYOUT_GROUP_RANK",
@@ -3317,6 +3383,14 @@
3317
3383
  "module": "src/jsonforms/renderers/RenderersRanks.ts"
3318
3384
  }
3319
3385
  },
3386
+ {
3387
+ "kind": "js",
3388
+ "name": "LAYOUT_VERTICAL_CATEGORIZATION_RANK",
3389
+ "declaration": {
3390
+ "name": "LAYOUT_VERTICAL_CATEGORIZATION_RANK",
3391
+ "module": "src/jsonforms/renderers/RenderersRanks.ts"
3392
+ }
3393
+ },
3320
3394
  {
3321
3395
  "kind": "js",
3322
3396
  "name": "LAYOUT_GROUP_RANK",
@@ -3627,6 +3701,98 @@
3627
3701
  }
3628
3702
  ]
3629
3703
  },
3704
+ {
3705
+ "kind": "javascript-module",
3706
+ "path": "src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts",
3707
+ "declarations": [
3708
+ {
3709
+ "kind": "function",
3710
+ "name": "VerticalCategorizationWrapperRendererTemplate",
3711
+ "parameters": [
3712
+ {
3713
+ "name": "prefix",
3714
+ "default": "'zero'"
3715
+ }
3716
+ ]
3717
+ },
3718
+ {
3719
+ "kind": "class",
3720
+ "description": "",
3721
+ "name": "VerticalCategorizationWrapper",
3722
+ "superclass": {
3723
+ "name": "CategorizationWrapper",
3724
+ "module": "/src/jsonforms/renderers/CategorizationWrapperRenderer"
3725
+ },
3726
+ "tagName": "vertical-categorization-wrapper",
3727
+ "customElement": true,
3728
+ "members": [
3729
+ {
3730
+ "kind": "field",
3731
+ "name": "form",
3732
+ "inheritedFrom": {
3733
+ "name": "CategorizationWrapper",
3734
+ "module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
3735
+ }
3736
+ },
3737
+ {
3738
+ "kind": "field",
3739
+ "name": "control",
3740
+ "inheritedFrom": {
3741
+ "name": "CategorizationWrapper",
3742
+ "module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
3743
+ }
3744
+ },
3745
+ {
3746
+ "kind": "method",
3747
+ "name": "hasCategoryError",
3748
+ "return": {
3749
+ "type": {
3750
+ "text": "boolean"
3751
+ }
3752
+ },
3753
+ "parameters": [
3754
+ {
3755
+ "name": "categoryIndex",
3756
+ "type": {
3757
+ "text": "number"
3758
+ }
3759
+ }
3760
+ ],
3761
+ "inheritedFrom": {
3762
+ "name": "CategorizationWrapper",
3763
+ "module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
3764
+ }
3765
+ }
3766
+ ]
3767
+ }
3768
+ ],
3769
+ "exports": [
3770
+ {
3771
+ "kind": "js",
3772
+ "name": "VerticalCategorizationWrapperRendererTemplate",
3773
+ "declaration": {
3774
+ "name": "VerticalCategorizationWrapperRendererTemplate",
3775
+ "module": "src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts"
3776
+ }
3777
+ },
3778
+ {
3779
+ "kind": "js",
3780
+ "name": "VerticalCategorizationWrapper",
3781
+ "declaration": {
3782
+ "name": "VerticalCategorizationWrapper",
3783
+ "module": "src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts"
3784
+ }
3785
+ },
3786
+ {
3787
+ "kind": "custom-element-definition",
3788
+ "name": "vertical-categorization-wrapper",
3789
+ "declaration": {
3790
+ "name": "VerticalCategorizationWrapper",
3791
+ "module": "src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts"
3792
+ }
3793
+ }
3794
+ ]
3795
+ },
3630
3796
  {
3631
3797
  "kind": "javascript-module",
3632
3798
  "path": "src/jsonforms/renderers/dispatch-renderer.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"form.template.d.ts","sourceRoot":"","sources":["../../src/form.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAiBnC,gBAAgB;AAChB,eAAO,MAAM,eAAe,GAAI,WAAM,8DA+FrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,2DAElC,CAAC"}
1
+ {"version":3,"file":"form.template.d.ts","sourceRoot":"","sources":["../../src/form.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAmBnC,gBAAgB;AAChB,eAAO,MAAM,eAAe,GAAI,WAAM,8DA+FrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,2DAElC,CAAC"}
@@ -3,6 +3,7 @@ export * from './form';
3
3
  export * from './form.styles';
4
4
  export * from './form.template';
5
5
  export { MulticolumnDropdownControlRendererEntry, MulticolumnDropdownControlRendererTemplate, } from './jsonforms/renderers/MulticolumnDropdownControlRenderer';
6
+ export { LayoutVerticalCategorizationRendererEntry } from './jsonforms/renderers/LayoutVerticalCategorizationRenderer';
6
7
  export * from './types';
7
8
  export * from './utils';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,OAAO,EACL,uCAAuC,EACvC,0CAA0C,GAC3C,MAAM,0DAA0D,CAAC;AAClE,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,OAAO,EACL,uCAAuC,EACvC,0CAA0C,GAC3C,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,yCAAyC,EAAE,MAAM,4DAA4D,CAAC;AACvH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { FASTElement } from '@microsoft/fast-element';
2
+ export declare const tabControlIconStyles: import("@microsoft/fast-element").ElementStyles;
2
3
  export declare const CategorizationWrapperRendererTemplate: (prefix?: string) => import("@microsoft/fast-element").ViewTemplate<any, any>;
3
4
  export declare class CategorizationWrapper extends FASTElement {
4
5
  form: any;
@@ -1 +1 @@
1
- {"version":3,"file":"CategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/CategorizationWrapperRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,qCAAqC,GAAI,eAAe,6DA8CpE,CAAC;AAsBF,qBAOa,qBAAsB,SAAQ,WAAW;IACxC,IAAI,MAAC;IACL,OAAO,MAAC;IAEpB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO;CAQjD"}
1
+ {"version":3,"file":"CategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/CategorizationWrapperRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,WAAW,EAIZ,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,oBAAoB,iDAKhC,CAAC;AAEF,eAAO,MAAM,qCAAqC,GAAI,eAAe,6DA8CpE,CAAC;AAkBF,qBAOa,qBAAsB,SAAQ,WAAW;IACxC,IAAI,MAAC;IACL,OAAO,MAAC;IAEpB,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO;CAQjD"}
@@ -0,0 +1,3 @@
1
+ export declare const LayoutVerticalCategorizationRendererTemplate: import("@microsoft/fast-element").ViewTemplate<any, any>;
2
+ export declare const LayoutVerticalCategorizationRendererEntry: any;
3
+ //# sourceMappingURL=LayoutVerticalCategorizationRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayoutVerticalCategorizationRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVerticalCategorizationRenderer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,4CAA4C,0DAOxD,CAAC;AAEF,eAAO,MAAM,yCAAyC,EAAE,GAQvD,CAAC"}
@@ -9,6 +9,7 @@ export declare const TIME_CONTROL_RANK = 4;
9
9
  export declare const LAYOUT_RANK = 2;
10
10
  export declare const LAYOUT_ARRAY_RANK = 2;
11
11
  export declare const LAYOUT_CATEGORIZATION_RANK = 2;
12
+ export declare const LAYOUT_VERTICAL_CATEGORIZATION_RANK = 3;
12
13
  export declare const LAYOUT_GROUP_RANK = 2;
13
14
  export declare const LAYOUT_HORIZONTAL_RANK = 2;
14
15
  export declare const LAYOUT_STEPPER_RANK = 3;
@@ -1 +1 @@
1
- {"version":3,"file":"RenderersRanks.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/RenderersRanks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AACtC,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAC1C,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAC5C,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,sBAAsB,IAAI,CAAC;AACxC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,qBAAqB,IAAI,CAAC;AACvC,eAAO,MAAM,iCAAiC,IAAI,CAAC;AACnD,eAAO,MAAM,sBAAsB,IAAI,CAAC;AACxC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AACtC,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAChD,eAAO,MAAM,sBAAsB,IAAI,CAAC"}
1
+ {"version":3,"file":"RenderersRanks.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/RenderersRanks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AACtC,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAC1C,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAC5C,eAAO,MAAM,mCAAmC,IAAI,CAAC;AACrD,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,sBAAsB,IAAI,CAAC;AACxC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,mBAAmB,IAAI,CAAC;AACrC,eAAO,MAAM,qBAAqB,IAAI,CAAC;AACvC,eAAO,MAAM,iCAAiC,IAAI,CAAC;AACnD,eAAO,MAAM,sBAAsB,IAAI,CAAC;AACxC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AACtC,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAChD,eAAO,MAAM,sBAAsB,IAAI,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { CategorizationWrapper } from './CategorizationWrapperRenderer';
2
+ export declare const VerticalCategorizationWrapperRendererTemplate: (prefix?: string) => import("@microsoft/fast-element").ViewTemplate<any, any>;
3
+ export declare class VerticalCategorizationWrapper extends CategorizationWrapper {
4
+ }
5
+ //# sourceMappingURL=VerticalCategorizationWrapperRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalCategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAwB,MAAM,iCAAiC,CAAC;AAE9F,eAAO,MAAM,6CAA6C,GAAI,eAAe,6DAgD5E,CAAC;AA8CF,qBAOa,6BAA8B,SAAQ,qBAAqB;CAAG"}
@@ -291,11 +291,29 @@ export type LabelPlacementOptions = {
291
291
  */
292
292
  labelPlacement?: LabelPlacementType;
293
293
  };
294
+ /**
295
+ * Layout variants available for the categorization renderer.
296
+ * @public
297
+ */
298
+ export type CategorizationLayoutType = 'vertical' | 'horizontal';
299
+ /**
300
+ * Configuration options available for the top-level UiSchema when using categorization.
301
+ * @public
302
+ */
303
+ export type CategorizationLayoutOptions = {
304
+ /**
305
+ * Controls the visual layout of the categorization renderer.
306
+ * - `'horizontal'` (default): tabs rendered along the top.
307
+ * - `'vertical'`: tabs rendered on the left-hand side with content on the right.
308
+ * @public
309
+ */
310
+ layout?: CategorizationLayoutType;
311
+ };
294
312
  /**
295
313
  * All configuration options that are available.
296
314
  * @public
297
315
  */
298
- export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
316
+ export type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions | CategorizationLayoutOptions;
299
317
  /**
300
318
  * Configuration options available for categorization renderer.
301
319
  * @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,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,iBAAi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,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"}
@@ -3,10 +3,11 @@ import { html, ref, when } from '@microsoft/fast-element';
3
3
  import { JSONForms } from './jsonforms/json-forms';
4
4
  import { ArrayListWrapper } from './jsonforms/renderers/ArrayListWrapperRenderer';
5
5
  import { CategorizationWrapper } from './jsonforms/renderers/CategorizationWrapperRenderer';
6
+ import { VerticalCategorizationWrapper } from './jsonforms/renderers/VerticalCategorizationWrapperRenderer';
6
7
  import { ControlWrapper } from './jsonforms/renderers/ControlWrapperRenderer';
7
8
  import { DispatchRenderer } from './jsonforms/renderers/dispatch-renderer';
8
9
  import { StepperWrapper } from './jsonforms/renderers/StepperWrapperRenderer';
9
- avoidTreeShaking(JSONForms, ArrayListWrapper, CategorizationWrapper, ControlWrapper, DispatchRenderer, StepperWrapper);
10
+ avoidTreeShaking(JSONForms, ArrayListWrapper, CategorizationWrapper, VerticalCategorizationWrapper, ControlWrapper, DispatchRenderer, StepperWrapper);
10
11
  /** @internal */
11
12
  export const getPrefixedForm = (prefix) => html `
12
13
  <template>
package/dist/esm/index.js CHANGED
@@ -3,5 +3,6 @@ export * from './form';
3
3
  export * from './form.styles';
4
4
  export * from './form.template';
5
5
  export { MulticolumnDropdownControlRendererEntry, MulticolumnDropdownControlRendererTemplate, } from './jsonforms/renderers/MulticolumnDropdownControlRenderer';
6
+ export { LayoutVerticalCategorizationRendererEntry } from './jsonforms/renderers/LayoutVerticalCategorizationRenderer';
6
7
  export * from './types';
7
8
  export * from './utils';
@@ -1,5 +1,11 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { html, css, observable, customElement, FASTElement, repeat, when, } from '@microsoft/fast-element';
3
+ export const tabControlIconStyles = css `
4
+ .tab-control-icon {
5
+ margin-left: 3px;
6
+ color: #f9644d;
7
+ }
8
+ `;
3
9
  export const CategorizationWrapperRendererTemplate = (prefix = 'zero') => html `
4
10
  <template>
5
11
  <${prefix}-tabs class="tabs-container">
@@ -41,11 +47,7 @@ const styles = css `
41
47
 
42
48
  .tab-control {
43
49
  box-shadow: none;
44
-
45
- .tab-control-icon {
46
- margin-left: 3px;
47
- color: #f9644d;
48
- }
50
+ ${tabControlIconStyles}
49
51
  }
50
52
 
51
53
  .tab-panel-control {
@@ -0,0 +1,16 @@
1
+ import { mapStateToLayoutProps, rankWith } from '@jsonforms/core';
2
+ import { html } from '@microsoft/fast-element';
3
+ import { LAYOUT_VERTICAL_CATEGORIZATION_RANK } from './RenderersRanks';
4
+ export const LayoutVerticalCategorizationRendererTemplate = html `
5
+ <template>
6
+ <vertical-categorization-wrapper
7
+ :form=${(x) => x}
8
+ :control=${(x) => x.control}
9
+ ></vertical-categorization-wrapper>
10
+ </template>
11
+ `;
12
+ export const LayoutVerticalCategorizationRendererEntry = {
13
+ renderer: LayoutVerticalCategorizationRendererTemplate,
14
+ tester: rankWith(LAYOUT_VERTICAL_CATEGORIZATION_RANK, (uiSchema) => { var _a; return uiSchema.type === 'Categorization' && ((_a = uiSchema.options) === null || _a === void 0 ? void 0 : _a.layout) === 'vertical'; }),
15
+ mapper: mapStateToLayoutProps,
16
+ };
@@ -9,6 +9,7 @@ export const TIME_CONTROL_RANK = 4;
9
9
  export const LAYOUT_RANK = 2;
10
10
  export const LAYOUT_ARRAY_RANK = 2;
11
11
  export const LAYOUT_CATEGORIZATION_RANK = 2;
12
+ export const LAYOUT_VERTICAL_CATEGORIZATION_RANK = 3;
12
13
  export const LAYOUT_GROUP_RANK = 2;
13
14
  export const LAYOUT_HORIZONTAL_RANK = 2;
14
15
  export const LAYOUT_STEPPER_RANK = 3;
@@ -0,0 +1,93 @@
1
+ import { __decorate } from "tslib";
2
+ import { css, customElement, html, repeat, when } from '@microsoft/fast-element';
3
+ import { CategorizationWrapper, tabControlIconStyles } from './CategorizationWrapperRenderer';
4
+ export const VerticalCategorizationWrapperRendererTemplate = (prefix = 'zero') => html `
5
+ <template>
6
+ <${prefix}-tabs class="tabs-container" orientation="vertical">
7
+ ${repeat((x) => x.control.uischema.elements, html `
8
+ <${prefix}-tab class="tab-control" appearance="secondary">
9
+ <span class="tab-label">
10
+ ${(x, ctx) => { var _a; return (_a = x.label) !== null && _a !== void 0 ? _a : `Category ${ctx.index + 1}`; }}
11
+ ${when((x, ctx) => ctx.parent.hasCategoryError(ctx.index), html `
12
+ <${prefix}-icon class="tab-control-icon" name="circle-exclamation"></${prefix}-icon>
13
+ `)}
14
+ </span>
15
+ </${prefix}-tab>
16
+ `, { positioning: true })}
17
+ ${repeat((x) => x.control.uischema.elements, html `
18
+ <${prefix}-tab-panel class="tab-panel-control">
19
+ ${repeat((x) => x.options.childElements, html `
20
+ <dispatch-renderer
21
+ ?submitted=${(x, ctx) => ctx.parentContext.parent.form.submitted}
22
+ :dispatch=${(x, ctx) => ctx.parentContext.parent.form.dispatch}
23
+ :jsonforms=${(x, ctx) => ctx.parentContext.parent.form.jsonforms}
24
+ :prefix=${(x, ctx) => ctx.parentContext.parent.form.prefix}
25
+ :props=${(x, ctx) => ({
26
+ uischema: x,
27
+ schema: ctx.parentContext.parent.control.schema,
28
+ renderers: ctx.parentContext.parent.control.renderers,
29
+ path: ctx.parentContext.parent.control.path,
30
+ enabled: ctx.parentContext.parent.control.enabled,
31
+ })}
32
+ ></dispatch-renderer>
33
+ `)}
34
+ </${prefix}-tab-panel>
35
+ `)}
36
+ </${prefix}-tabs>
37
+ </template>
38
+ `;
39
+ const styles = css `
40
+ .tabs-container::part(tablist) {
41
+ display: flex;
42
+ flex-direction: column;
43
+ height: auto;
44
+ min-height: 100%;
45
+ width: 160px;
46
+ background-color: transparent;
47
+ border-bottom: none;
48
+ border-right: calc(var(--stroke-width, 1) * 1px) solid
49
+ var(--neutral-stroke-rest, rgba(0, 0, 0, 0.12));
50
+ padding: 0;
51
+ }
52
+
53
+ .tabs-container .tab-control {
54
+ padding: 0 calc((8 + var(--design-unit) * 2 * var(--density)) * 1px);
55
+ }
56
+
57
+ .tab-label {
58
+ display: flex;
59
+ align-items: center;
60
+ width: 100%;
61
+ border-left: 3px solid transparent;
62
+ padding: 5px;
63
+ border-radius: 0 3px 3px 0;
64
+ }
65
+
66
+ .tab-control[aria-selected='true'] .tab-label {
67
+ border-left-color: var(--accent-fill-rest);
68
+ background: var(--neutral-fill-active);
69
+ }
70
+
71
+ ${tabControlIconStyles}
72
+
73
+ .tabs-container::part(tabpanel) {
74
+ border: none;
75
+ }
76
+
77
+ .tab-panel-control {
78
+ border: none;
79
+ padding-left: 16px;
80
+ }
81
+ `;
82
+ let VerticalCategorizationWrapper = class VerticalCategorizationWrapper extends CategorizationWrapper {
83
+ };
84
+ VerticalCategorizationWrapper = __decorate([
85
+ customElement({
86
+ name: 'vertical-categorization-wrapper',
87
+ styles,
88
+ template: html `
89
+ ${(x) => VerticalCategorizationWrapperRendererTemplate(x.form.prefix)}
90
+ `,
91
+ })
92
+ ], VerticalCategorizationWrapper);
93
+ export { VerticalCategorizationWrapper };
@@ -391,6 +391,67 @@
391
391
  "endIndex": 2
392
392
  }
393
393
  },
394
+ {
395
+ "kind": "TypeAlias",
396
+ "canonicalReference": "@genesislcap/foundation-forms!CategorizationLayoutOptions:type",
397
+ "docComment": "/**\n * Configuration options available for the top-level UiSchema when using categorization.\n *\n * @public\n */\n",
398
+ "excerptTokens": [
399
+ {
400
+ "kind": "Content",
401
+ "text": "export type CategorizationLayoutOptions = "
402
+ },
403
+ {
404
+ "kind": "Content",
405
+ "text": "{\n layout?: "
406
+ },
407
+ {
408
+ "kind": "Reference",
409
+ "text": "CategorizationLayoutType",
410
+ "canonicalReference": "@genesislcap/foundation-forms!CategorizationLayoutType:type"
411
+ },
412
+ {
413
+ "kind": "Content",
414
+ "text": ";\n}"
415
+ },
416
+ {
417
+ "kind": "Content",
418
+ "text": ";"
419
+ }
420
+ ],
421
+ "fileUrlPath": "src/types.ts",
422
+ "releaseTag": "Public",
423
+ "name": "CategorizationLayoutOptions",
424
+ "typeTokenRange": {
425
+ "startIndex": 1,
426
+ "endIndex": 4
427
+ }
428
+ },
429
+ {
430
+ "kind": "TypeAlias",
431
+ "canonicalReference": "@genesislcap/foundation-forms!CategorizationLayoutType:type",
432
+ "docComment": "/**\n * Layout variants available for the categorization renderer.\n *\n * @public\n */\n",
433
+ "excerptTokens": [
434
+ {
435
+ "kind": "Content",
436
+ "text": "export type CategorizationLayoutType = "
437
+ },
438
+ {
439
+ "kind": "Content",
440
+ "text": "'vertical' | 'horizontal'"
441
+ },
442
+ {
443
+ "kind": "Content",
444
+ "text": ";"
445
+ }
446
+ ],
447
+ "fileUrlPath": "src/types.ts",
448
+ "releaseTag": "Public",
449
+ "name": "CategorizationLayoutType",
450
+ "typeTokenRange": {
451
+ "startIndex": 1,
452
+ "endIndex": 2
453
+ }
454
+ },
394
455
  {
395
456
  "kind": "TypeAlias",
396
457
  "canonicalReference": "@genesislcap/foundation-forms!CategorizationRendererOptions:type",
@@ -2433,6 +2494,29 @@
2433
2494
  "endIndex": 2
2434
2495
  }
2435
2496
  },
2497
+ {
2498
+ "kind": "Variable",
2499
+ "canonicalReference": "@genesislcap/foundation-forms!LayoutVerticalCategorizationRendererEntry:var",
2500
+ "docComment": "",
2501
+ "excerptTokens": [
2502
+ {
2503
+ "kind": "Content",
2504
+ "text": "LayoutVerticalCategorizationRendererEntry: "
2505
+ },
2506
+ {
2507
+ "kind": "Content",
2508
+ "text": "any"
2509
+ }
2510
+ ],
2511
+ "fileUrlPath": "src/jsonforms/renderers/LayoutVerticalCategorizationRenderer.ts",
2512
+ "isReadonly": true,
2513
+ "releaseTag": "Public",
2514
+ "name": "LayoutVerticalCategorizationRendererEntry",
2515
+ "variableTypeTokenRange": {
2516
+ "startIndex": 1,
2517
+ "endIndex": 2
2518
+ }
2519
+ },
2436
2520
  {
2437
2521
  "kind": "Function",
2438
2522
  "canonicalReference": "@genesislcap/foundation-forms!mapCsvToSchema:function(1)",
@@ -3391,6 +3475,15 @@
3391
3475
  "text": "LabelPlacementOptions",
3392
3476
  "canonicalReference": "@genesislcap/foundation-forms!LabelPlacementOptions:type"
3393
3477
  },
3478
+ {
3479
+ "kind": "Content",
3480
+ "text": " | "
3481
+ },
3482
+ {
3483
+ "kind": "Reference",
3484
+ "text": "CategorizationLayoutOptions",
3485
+ "canonicalReference": "@genesislcap/foundation-forms!CategorizationLayoutOptions:type"
3486
+ },
3394
3487
  {
3395
3488
  "kind": "Content",
3396
3489
  "text": ";"
@@ -3401,7 +3494,7 @@
3401
3494
  "name": "UiSchemaOptions",
3402
3495
  "typeTokenRange": {
3403
3496
  "startIndex": 1,
3404
- "endIndex": 4
3497
+ "endIndex": 6
3405
3498
  }
3406
3499
  }
3407
3500
  ]
@@ -243,6 +243,26 @@ export declare type BulkSubmitSuccessItem = {
243
243
  response: any;
244
244
  };
245
245
 
246
+ /**
247
+ * Configuration options available for the top-level UiSchema when using categorization.
248
+ * @public
249
+ */
250
+ export declare type CategorizationLayoutOptions = {
251
+ /**
252
+ * Controls the visual layout of the categorization renderer.
253
+ * - `'horizontal'` (default): tabs rendered along the top.
254
+ * - `'vertical'`: tabs rendered on the left-hand side with content on the right.
255
+ * @public
256
+ */
257
+ layout?: CategorizationLayoutType;
258
+ };
259
+
260
+ /**
261
+ * Layout variants available for the categorization renderer.
262
+ * @public
263
+ */
264
+ export declare type CategorizationLayoutType = 'vertical' | 'horizontal';
265
+
246
266
  /**
247
267
  * Configuration options available for categorization renderer.
248
268
  * @public
@@ -1659,6 +1679,8 @@ export declare type LabelPlacementType = 'top' | 'left';
1659
1679
 
1660
1680
  export { Layout }
1661
1681
 
1682
+ export declare const LayoutVerticalCategorizationRendererEntry: any;
1683
+
1662
1684
  /** @internal */
1663
1685
  export declare const logger: Logger;
1664
1686
 
@@ -2079,6 +2101,6 @@ export declare type UiSchemaElementType = 'Control' | 'VerticalLayout' | 'Layout
2079
2101
  * All configuration options that are available.
2080
2102
  * @public
2081
2103
  */
2082
- export declare type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions;
2104
+ export declare type UiSchemaOptions = StepperOrientationOptions | LabelPlacementOptions | CategorizationLayoutOptions;
2083
2105
 
2084
2106
  export { }
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.414.0",
4
+ "version": "14.415.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.414.0",
54
- "@genesislcap/genx": "14.414.0",
55
- "@genesislcap/rollup-builder": "14.414.0",
56
- "@genesislcap/ts-builder": "14.414.0",
57
- "@genesislcap/uvu-playwright-builder": "14.414.0",
58
- "@genesislcap/vite-builder": "14.414.0",
59
- "@genesislcap/webpack-builder": "14.414.0",
53
+ "@genesislcap/foundation-testing": "14.415.0",
54
+ "@genesislcap/genx": "14.415.0",
55
+ "@genesislcap/rollup-builder": "14.415.0",
56
+ "@genesislcap/ts-builder": "14.415.0",
57
+ "@genesislcap/uvu-playwright-builder": "14.415.0",
58
+ "@genesislcap/vite-builder": "14.415.0",
59
+ "@genesislcap/webpack-builder": "14.415.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.414.0",
65
- "@genesislcap/foundation-criteria": "14.414.0",
66
- "@genesislcap/foundation-logger": "14.414.0",
67
- "@genesislcap/foundation-notifications": "14.414.0",
68
- "@genesislcap/foundation-ui": "14.414.0",
69
- "@genesislcap/foundation-utils": "14.414.0",
64
+ "@genesislcap/foundation-comms": "14.415.0",
65
+ "@genesislcap/foundation-criteria": "14.415.0",
66
+ "@genesislcap/foundation-logger": "14.415.0",
67
+ "@genesislcap/foundation-notifications": "14.415.0",
68
+ "@genesislcap/foundation-ui": "14.415.0",
69
+ "@genesislcap/foundation-utils": "14.415.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": "1773c265a5c49119bbf46847678b3eb155f67eb6"
91
+ "gitHead": "4b6408f6bb48961a8bd3292c96ded8a96810109d"
92
92
  }