@genesislcap/foundation-forms 14.437.6 → 14.437.7-alpha-32e8d53.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.
@@ -1973,6 +1973,232 @@
1973
1973
  }
1974
1974
  ]
1975
1975
  },
1976
+ {
1977
+ "kind": "javascript-module",
1978
+ "path": "src/jsonforms/testers/isArray.ts",
1979
+ "declarations": [
1980
+ {
1981
+ "kind": "function",
1982
+ "name": "isArray",
1983
+ "parameters": [
1984
+ {
1985
+ "name": "itemsType",
1986
+ "type": {
1987
+ "text": "ArrayItemsType"
1988
+ }
1989
+ }
1990
+ ]
1991
+ }
1992
+ ],
1993
+ "exports": [
1994
+ {
1995
+ "kind": "js",
1996
+ "name": "isArray",
1997
+ "declaration": {
1998
+ "name": "isArray",
1999
+ "module": "src/jsonforms/testers/isArray.ts"
2000
+ }
2001
+ }
2002
+ ]
2003
+ },
2004
+ {
2005
+ "kind": "javascript-module",
2006
+ "path": "src/jsonforms/testers/isDate.ts",
2007
+ "declarations": [
2008
+ {
2009
+ "kind": "variable",
2010
+ "name": "isOneOfDate"
2011
+ }
2012
+ ],
2013
+ "exports": [
2014
+ {
2015
+ "kind": "js",
2016
+ "name": "isOneOfDate",
2017
+ "declaration": {
2018
+ "name": "isOneOfDate",
2019
+ "module": "src/jsonforms/testers/isDate.ts"
2020
+ }
2021
+ }
2022
+ ]
2023
+ },
2024
+ {
2025
+ "kind": "javascript-module",
2026
+ "path": "src/jsonforms/testers/isInvisible.ts",
2027
+ "declarations": [
2028
+ {
2029
+ "kind": "function",
2030
+ "name": "isInvisible",
2031
+ "return": {
2032
+ "type": {
2033
+ "text": "boolean"
2034
+ }
2035
+ },
2036
+ "parameters": [
2037
+ {
2038
+ "name": "uischema",
2039
+ "type": {
2040
+ "text": "UISchemaElement"
2041
+ }
2042
+ },
2043
+ {
2044
+ "name": "schema",
2045
+ "type": {
2046
+ "text": "JsonSchema"
2047
+ }
2048
+ },
2049
+ {
2050
+ "name": "context",
2051
+ "type": {
2052
+ "text": "TesterContext"
2053
+ }
2054
+ }
2055
+ ]
2056
+ }
2057
+ ],
2058
+ "exports": [
2059
+ {
2060
+ "kind": "js",
2061
+ "name": "isInvisible",
2062
+ "declaration": {
2063
+ "name": "isInvisible",
2064
+ "module": "src/jsonforms/testers/isInvisible.ts"
2065
+ }
2066
+ }
2067
+ ]
2068
+ },
2069
+ {
2070
+ "kind": "javascript-module",
2071
+ "path": "src/jsonforms/testers/isOneOfBoolean.ts",
2072
+ "declarations": [
2073
+ {
2074
+ "kind": "variable",
2075
+ "name": "isOneOfBoolean"
2076
+ }
2077
+ ],
2078
+ "exports": [
2079
+ {
2080
+ "kind": "js",
2081
+ "name": "isOneOfBoolean",
2082
+ "declaration": {
2083
+ "name": "isOneOfBoolean",
2084
+ "module": "src/jsonforms/testers/isOneOfBoolean.ts"
2085
+ }
2086
+ }
2087
+ ]
2088
+ },
2089
+ {
2090
+ "kind": "javascript-module",
2091
+ "path": "src/jsonforms/testers/isOneOfEnum.ts",
2092
+ "declarations": [
2093
+ {
2094
+ "kind": "variable",
2095
+ "name": "isOneOfEnum"
2096
+ }
2097
+ ],
2098
+ "exports": [
2099
+ {
2100
+ "kind": "js",
2101
+ "name": "isOneOfEnum",
2102
+ "declaration": {
2103
+ "name": "isOneOfEnum",
2104
+ "module": "src/jsonforms/testers/isOneOfEnum.ts"
2105
+ }
2106
+ }
2107
+ ]
2108
+ },
2109
+ {
2110
+ "kind": "javascript-module",
2111
+ "path": "src/jsonforms/testers/isOneOfNumber.ts",
2112
+ "declarations": [
2113
+ {
2114
+ "kind": "variable",
2115
+ "name": "isOneOfNumber"
2116
+ }
2117
+ ],
2118
+ "exports": [
2119
+ {
2120
+ "kind": "js",
2121
+ "name": "isOneOfNumber",
2122
+ "declaration": {
2123
+ "name": "isOneOfNumber",
2124
+ "module": "src/jsonforms/testers/isOneOfNumber.ts"
2125
+ }
2126
+ }
2127
+ ]
2128
+ },
2129
+ {
2130
+ "kind": "javascript-module",
2131
+ "path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
2132
+ "declarations": [
2133
+ {
2134
+ "kind": "variable",
2135
+ "name": "isOneOfOptionMultiselect"
2136
+ }
2137
+ ],
2138
+ "exports": [
2139
+ {
2140
+ "kind": "js",
2141
+ "name": "isOneOfOptionMultiselect",
2142
+ "declaration": {
2143
+ "name": "isOneOfOptionMultiselect",
2144
+ "module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
2145
+ }
2146
+ }
2147
+ ]
2148
+ },
2149
+ {
2150
+ "kind": "javascript-module",
2151
+ "path": "src/jsonforms/testers/isTime.ts",
2152
+ "declarations": [
2153
+ {
2154
+ "kind": "variable",
2155
+ "name": "isOneOfTime"
2156
+ }
2157
+ ],
2158
+ "exports": [
2159
+ {
2160
+ "kind": "js",
2161
+ "name": "isOneOfTime",
2162
+ "declaration": {
2163
+ "name": "isOneOfTime",
2164
+ "module": "src/jsonforms/testers/isTime.ts"
2165
+ }
2166
+ }
2167
+ ]
2168
+ },
2169
+ {
2170
+ "kind": "javascript-module",
2171
+ "path": "src/jsonforms/testers/optionIs.ts",
2172
+ "declarations": [
2173
+ {
2174
+ "kind": "function",
2175
+ "name": "optionIs",
2176
+ "return": {
2177
+ "type": {
2178
+ "text": "Tester"
2179
+ }
2180
+ },
2181
+ "parameters": [
2182
+ {
2183
+ "name": "optionName",
2184
+ "type": {
2185
+ "text": "string"
2186
+ }
2187
+ }
2188
+ ]
2189
+ }
2190
+ ],
2191
+ "exports": [
2192
+ {
2193
+ "kind": "js",
2194
+ "name": "optionIs",
2195
+ "declaration": {
2196
+ "name": "optionIs",
2197
+ "module": "src/jsonforms/testers/optionIs.ts"
2198
+ }
2199
+ }
2200
+ ]
2201
+ },
1976
2202
  {
1977
2203
  "kind": "javascript-module",
1978
2204
  "path": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts",
@@ -2182,6 +2408,36 @@
2182
2408
  "kind": "field",
2183
2409
  "name": "control"
2184
2410
  },
2411
+ {
2412
+ "kind": "field",
2413
+ "name": "mountedTabs",
2414
+ "type": {
2415
+ "text": "Set<number>"
2416
+ },
2417
+ "default": "new Set([0])"
2418
+ },
2419
+ {
2420
+ "kind": "method",
2421
+ "name": "isMounted",
2422
+ "return": {
2423
+ "type": {
2424
+ "text": "boolean"
2425
+ }
2426
+ },
2427
+ "parameters": [
2428
+ {
2429
+ "name": "index",
2430
+ "type": {
2431
+ "text": "number"
2432
+ }
2433
+ }
2434
+ ]
2435
+ },
2436
+ {
2437
+ "kind": "field",
2438
+ "name": "handleTabChange",
2439
+ "privacy": "private"
2440
+ },
2185
2441
  {
2186
2442
  "kind": "method",
2187
2443
  "name": "hasCategoryError",
@@ -4002,11 +4258,53 @@
4002
4258
  }
4003
4259
  },
4004
4260
  {
4005
- "kind": "method",
4006
- "name": "hasCategoryError",
4007
- "return": {
4008
- "type": {
4009
- "text": "boolean"
4261
+ "kind": "field",
4262
+ "name": "mountedTabs",
4263
+ "type": {
4264
+ "text": "Set<number>"
4265
+ },
4266
+ "default": "new Set([0])",
4267
+ "inheritedFrom": {
4268
+ "name": "CategorizationWrapper",
4269
+ "module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
4270
+ }
4271
+ },
4272
+ {
4273
+ "kind": "method",
4274
+ "name": "isMounted",
4275
+ "return": {
4276
+ "type": {
4277
+ "text": "boolean"
4278
+ }
4279
+ },
4280
+ "parameters": [
4281
+ {
4282
+ "name": "index",
4283
+ "type": {
4284
+ "text": "number"
4285
+ }
4286
+ }
4287
+ ],
4288
+ "inheritedFrom": {
4289
+ "name": "CategorizationWrapper",
4290
+ "module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
4291
+ }
4292
+ },
4293
+ {
4294
+ "kind": "field",
4295
+ "name": "handleTabChange",
4296
+ "privacy": "private",
4297
+ "inheritedFrom": {
4298
+ "name": "CategorizationWrapper",
4299
+ "module": "src/jsonforms/renderers/CategorizationWrapperRenderer.ts"
4300
+ }
4301
+ },
4302
+ {
4303
+ "kind": "method",
4304
+ "name": "hasCategoryError",
4305
+ "return": {
4306
+ "type": {
4307
+ "text": "boolean"
4010
4308
  }
4011
4309
  },
4012
4310
  "parameters": [
@@ -4177,232 +4475,6 @@
4177
4475
  }
4178
4476
  }
4179
4477
  ]
4180
- },
4181
- {
4182
- "kind": "javascript-module",
4183
- "path": "src/jsonforms/testers/isArray.ts",
4184
- "declarations": [
4185
- {
4186
- "kind": "function",
4187
- "name": "isArray",
4188
- "parameters": [
4189
- {
4190
- "name": "itemsType",
4191
- "type": {
4192
- "text": "ArrayItemsType"
4193
- }
4194
- }
4195
- ]
4196
- }
4197
- ],
4198
- "exports": [
4199
- {
4200
- "kind": "js",
4201
- "name": "isArray",
4202
- "declaration": {
4203
- "name": "isArray",
4204
- "module": "src/jsonforms/testers/isArray.ts"
4205
- }
4206
- }
4207
- ]
4208
- },
4209
- {
4210
- "kind": "javascript-module",
4211
- "path": "src/jsonforms/testers/isDate.ts",
4212
- "declarations": [
4213
- {
4214
- "kind": "variable",
4215
- "name": "isOneOfDate"
4216
- }
4217
- ],
4218
- "exports": [
4219
- {
4220
- "kind": "js",
4221
- "name": "isOneOfDate",
4222
- "declaration": {
4223
- "name": "isOneOfDate",
4224
- "module": "src/jsonforms/testers/isDate.ts"
4225
- }
4226
- }
4227
- ]
4228
- },
4229
- {
4230
- "kind": "javascript-module",
4231
- "path": "src/jsonforms/testers/isInvisible.ts",
4232
- "declarations": [
4233
- {
4234
- "kind": "function",
4235
- "name": "isInvisible",
4236
- "return": {
4237
- "type": {
4238
- "text": "boolean"
4239
- }
4240
- },
4241
- "parameters": [
4242
- {
4243
- "name": "uischema",
4244
- "type": {
4245
- "text": "UISchemaElement"
4246
- }
4247
- },
4248
- {
4249
- "name": "schema",
4250
- "type": {
4251
- "text": "JsonSchema"
4252
- }
4253
- },
4254
- {
4255
- "name": "context",
4256
- "type": {
4257
- "text": "TesterContext"
4258
- }
4259
- }
4260
- ]
4261
- }
4262
- ],
4263
- "exports": [
4264
- {
4265
- "kind": "js",
4266
- "name": "isInvisible",
4267
- "declaration": {
4268
- "name": "isInvisible",
4269
- "module": "src/jsonforms/testers/isInvisible.ts"
4270
- }
4271
- }
4272
- ]
4273
- },
4274
- {
4275
- "kind": "javascript-module",
4276
- "path": "src/jsonforms/testers/isOneOfBoolean.ts",
4277
- "declarations": [
4278
- {
4279
- "kind": "variable",
4280
- "name": "isOneOfBoolean"
4281
- }
4282
- ],
4283
- "exports": [
4284
- {
4285
- "kind": "js",
4286
- "name": "isOneOfBoolean",
4287
- "declaration": {
4288
- "name": "isOneOfBoolean",
4289
- "module": "src/jsonforms/testers/isOneOfBoolean.ts"
4290
- }
4291
- }
4292
- ]
4293
- },
4294
- {
4295
- "kind": "javascript-module",
4296
- "path": "src/jsonforms/testers/isOneOfEnum.ts",
4297
- "declarations": [
4298
- {
4299
- "kind": "variable",
4300
- "name": "isOneOfEnum"
4301
- }
4302
- ],
4303
- "exports": [
4304
- {
4305
- "kind": "js",
4306
- "name": "isOneOfEnum",
4307
- "declaration": {
4308
- "name": "isOneOfEnum",
4309
- "module": "src/jsonforms/testers/isOneOfEnum.ts"
4310
- }
4311
- }
4312
- ]
4313
- },
4314
- {
4315
- "kind": "javascript-module",
4316
- "path": "src/jsonforms/testers/isOneOfNumber.ts",
4317
- "declarations": [
4318
- {
4319
- "kind": "variable",
4320
- "name": "isOneOfNumber"
4321
- }
4322
- ],
4323
- "exports": [
4324
- {
4325
- "kind": "js",
4326
- "name": "isOneOfNumber",
4327
- "declaration": {
4328
- "name": "isOneOfNumber",
4329
- "module": "src/jsonforms/testers/isOneOfNumber.ts"
4330
- }
4331
- }
4332
- ]
4333
- },
4334
- {
4335
- "kind": "javascript-module",
4336
- "path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
4337
- "declarations": [
4338
- {
4339
- "kind": "variable",
4340
- "name": "isOneOfOptionMultiselect"
4341
- }
4342
- ],
4343
- "exports": [
4344
- {
4345
- "kind": "js",
4346
- "name": "isOneOfOptionMultiselect",
4347
- "declaration": {
4348
- "name": "isOneOfOptionMultiselect",
4349
- "module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
4350
- }
4351
- }
4352
- ]
4353
- },
4354
- {
4355
- "kind": "javascript-module",
4356
- "path": "src/jsonforms/testers/isTime.ts",
4357
- "declarations": [
4358
- {
4359
- "kind": "variable",
4360
- "name": "isOneOfTime"
4361
- }
4362
- ],
4363
- "exports": [
4364
- {
4365
- "kind": "js",
4366
- "name": "isOneOfTime",
4367
- "declaration": {
4368
- "name": "isOneOfTime",
4369
- "module": "src/jsonforms/testers/isTime.ts"
4370
- }
4371
- }
4372
- ]
4373
- },
4374
- {
4375
- "kind": "javascript-module",
4376
- "path": "src/jsonforms/testers/optionIs.ts",
4377
- "declarations": [
4378
- {
4379
- "kind": "function",
4380
- "name": "optionIs",
4381
- "return": {
4382
- "type": {
4383
- "text": "Tester"
4384
- }
4385
- },
4386
- "parameters": [
4387
- {
4388
- "name": "optionName",
4389
- "type": {
4390
- "text": "string"
4391
- }
4392
- }
4393
- ]
4394
- }
4395
- ],
4396
- "exports": [
4397
- {
4398
- "kind": "js",
4399
- "name": "optionIs",
4400
- "declaration": {
4401
- "name": "optionIs",
4402
- "module": "src/jsonforms/testers/optionIs.ts"
4403
- }
4404
- }
4405
- ]
4406
4478
  }
4407
4479
  ]
4408
4480
  }
@@ -4,6 +4,11 @@ export declare const CategorizationWrapperRendererTemplate: (prefix?: string) =>
4
4
  export declare class CategorizationWrapper extends FASTElement {
5
5
  form: any;
6
6
  control: any;
7
+ mountedTabs: Set<number>;
8
+ isMounted(index: number): boolean;
9
+ connectedCallback(): void;
10
+ disconnectedCallback(): void;
11
+ private handleTabChange;
7
12
  hasCategoryError(categoryIndex: number): boolean;
8
13
  }
9
14
  //# sourceMappingURL=CategorizationWrapperRenderer.d.ts.map
@@ -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,oBAAoB,iDAKhC,CAAC;AAEF,eAAO,MAAM,qCAAqC,GAAI,eAAe,6DA8CpE,CAAC;AAsBF,qBAQa,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,6DAoDpE,CAAC;AAsBF,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,iBAAiB;IAKjB,oBAAoB;IAKpB,OAAO,CAAC,eAAe,CAQrB;IAEF,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO;CAQjD"}
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalCategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,eAAO,MAAM,6CAA6C,GACxD,eAAe,uFAiDhB,CAAC;AAwDF,qBAQa,6BAA8B,SAAQ,qBAAqB;IAChE,MAAM,EAAE,MAAM,CAAM;IAE1B,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAMjD,iBAAiB;CAIlB"}
1
+ {"version":3,"file":"VerticalCategorizationWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/VerticalCategorizationWrapperRenderer.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,eAAO,MAAM,6CAA6C,GACxD,eAAe,uFAwDhB,CAAC;AAwDF,qBAQa,6BAA8B,SAAQ,qBAAqB;IAChE,MAAM,EAAE,MAAM,CAAM;IAE1B,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAMjD,iBAAiB;CAIlB"}
@@ -19,23 +19,25 @@ export const CategorizationWrapperRendererTemplate = (prefix = 'zero') => html `
19
19
  `, { positioning: true })}
20
20
  ${repeat((x) => x.control.uischema.elements, html `
21
21
  <${prefix}-tab-panel class="tab-panel-control">
22
- ${repeat((x) => x.options.childElements, html `
23
- <dispatch-renderer
24
- :submitted=${(x, ctx) => ctx.parentContext.parent.form.submitted}
25
- :dispatch=${(x, ctx) => ctx.parentContext.parent.form.dispatch}
26
- :jsonforms=${(x, ctx) => ctx.parentContext.parent.form.jsonforms}
27
- :prefix=${(x, ctx) => ctx.parentContext.parent.form.prefix}
28
- :props=${(x, ctx) => ({
22
+ ${when((x, ctx) => ctx.parent.isMounted(ctx.index), html `
23
+ ${repeat((x) => x.options.childElements, html `
24
+ <dispatch-renderer
25
+ :submitted=${(x, ctx) => ctx.parentContext.parent.form.submitted}
26
+ :dispatch=${(x, ctx) => ctx.parentContext.parent.form.dispatch}
27
+ :jsonforms=${(x, ctx) => ctx.parentContext.parent.form.jsonforms}
28
+ :prefix=${(x, ctx) => ctx.parentContext.parent.form.prefix}
29
+ :props=${(x, ctx) => ({
29
30
  uischema: x,
30
31
  schema: ctx.parentContext.parent.control.schema,
31
32
  renderers: ctx.parentContext.parent.control.renderers,
32
33
  path: ctx.parentContext.parent.control.path,
33
34
  enabled: ctx.parentContext.parent.control.enabled,
34
35
  })}
35
- ></dispatch-renderer>
36
+ ></dispatch-renderer>
37
+ `)}
36
38
  `)}
37
39
  </${prefix}-tab-panel>
38
- `)}
40
+ `, { positioning: true })}
39
41
  </${prefix}-tabs>
40
42
  </template>
41
43
  `;
@@ -59,6 +61,33 @@ const styles = css `
59
61
  }
60
62
  `;
61
63
  let CategorizationWrapper = class CategorizationWrapper extends FASTElement {
64
+ constructor() {
65
+ super(...arguments);
66
+ this.mountedTabs = new Set([0]);
67
+ this.handleTabChange = (event) => {
68
+ var _a;
69
+ const target = event.target;
70
+ if (!((_a = target === null || target === void 0 ? void 0 : target.localName) === null || _a === void 0 ? void 0 : _a.endsWith('-tabs')))
71
+ return;
72
+ const index = target.currentTabIndex;
73
+ if (typeof index !== 'number' || this.mountedTabs.has(index))
74
+ return;
75
+ const next = new Set(this.mountedTabs);
76
+ next.add(index);
77
+ this.mountedTabs = next;
78
+ };
79
+ }
80
+ isMounted(index) {
81
+ return this.mountedTabs.has(index);
82
+ }
83
+ connectedCallback() {
84
+ super.connectedCallback();
85
+ this.addEventListener('change', this.handleTabChange);
86
+ }
87
+ disconnectedCallback() {
88
+ this.removeEventListener('change', this.handleTabChange);
89
+ super.disconnectedCallback();
90
+ }
62
91
  hasCategoryError(categoryIndex) {
63
92
  var _a, _b, _c, _d, _e;
64
93
  if (!((_c = (_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.jsonforms) === null || _b === void 0 ? void 0 : _b.core) === null || _c === void 0 ? void 0 : _c.errors) || !((_e = (_d = this.control) === null || _d === void 0 ? void 0 : _d.uischema) === null || _e === void 0 ? void 0 : _e.elements)) {
@@ -75,6 +104,9 @@ __decorate([
75
104
  __decorate([
76
105
  observable
77
106
  ], CategorizationWrapper.prototype, "control", void 0);
107
+ __decorate([
108
+ observable
109
+ ], CategorizationWrapper.prototype, "mountedTabs", void 0);
78
110
  CategorizationWrapper = __decorate([
79
111
  customElement({
80
112
  name: 'categorization-wrapper',
@@ -16,23 +16,25 @@ export const VerticalCategorizationWrapperRendererTemplate = (prefix = 'zero') =
16
16
  `, { positioning: true })}
17
17
  ${repeat((x) => x.control.uischema.elements, html `
18
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) => ({
19
+ ${when((x, ctx) => ctx.parent.isMounted(ctx.index), html `
20
+ ${repeat((x) => x.options.childElements, html `
21
+ <dispatch-renderer
22
+ :submitted=${(x, ctx) => ctx.parentContext.parent.form.submitted}
23
+ :dispatch=${(x, ctx) => ctx.parentContext.parent.form.dispatch}
24
+ :jsonforms=${(x, ctx) => ctx.parentContext.parent.form.jsonforms}
25
+ :prefix=${(x, ctx) => ctx.parentContext.parent.form.prefix}
26
+ :props=${(x, ctx) => ({
26
27
  uischema: x,
27
28
  schema: ctx.parentContext.parent.control.schema,
28
29
  renderers: ctx.parentContext.parent.control.renderers,
29
30
  path: ctx.parentContext.parent.control.path,
30
31
  enabled: ctx.parentContext.parent.control.enabled,
31
32
  })}
32
- ></dispatch-renderer>
33
+ ></dispatch-renderer>
34
+ `)}
33
35
  `)}
34
36
  </${prefix}-tab-panel>
35
- `)}
37
+ `, { positioning: true })}
36
38
  </${prefix}-tabs>
37
39
  </template>
38
40
  `;
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.437.6",
4
+ "version": "14.437.7-alpha-32e8d53.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -55,23 +55,23 @@
55
55
  }
56
56
  },
57
57
  "devDependencies": {
58
- "@genesislcap/foundation-testing": "14.437.6",
59
- "@genesislcap/genx": "14.437.6",
60
- "@genesislcap/rollup-builder": "14.437.6",
61
- "@genesislcap/ts-builder": "14.437.6",
62
- "@genesislcap/uvu-playwright-builder": "14.437.6",
63
- "@genesislcap/vite-builder": "14.437.6",
64
- "@genesislcap/webpack-builder": "14.437.6",
58
+ "@genesislcap/foundation-testing": "14.437.7-alpha-32e8d53.0",
59
+ "@genesislcap/genx": "14.437.7-alpha-32e8d53.0",
60
+ "@genesislcap/rollup-builder": "14.437.7-alpha-32e8d53.0",
61
+ "@genesislcap/ts-builder": "14.437.7-alpha-32e8d53.0",
62
+ "@genesislcap/uvu-playwright-builder": "14.437.7-alpha-32e8d53.0",
63
+ "@genesislcap/vite-builder": "14.437.7-alpha-32e8d53.0",
64
+ "@genesislcap/webpack-builder": "14.437.7-alpha-32e8d53.0",
65
65
  "@types/json-schema": "^7.0.11",
66
66
  "@types/papaparse": "^5.3.14"
67
67
  },
68
68
  "dependencies": {
69
- "@genesislcap/foundation-comms": "14.437.6",
70
- "@genesislcap/foundation-criteria": "14.437.6",
71
- "@genesislcap/foundation-logger": "14.437.6",
72
- "@genesislcap/foundation-notifications": "14.437.6",
73
- "@genesislcap/foundation-ui": "14.437.6",
74
- "@genesislcap/foundation-utils": "14.437.6",
69
+ "@genesislcap/foundation-comms": "14.437.7-alpha-32e8d53.0",
70
+ "@genesislcap/foundation-criteria": "14.437.7-alpha-32e8d53.0",
71
+ "@genesislcap/foundation-logger": "14.437.7-alpha-32e8d53.0",
72
+ "@genesislcap/foundation-notifications": "14.437.7-alpha-32e8d53.0",
73
+ "@genesislcap/foundation-ui": "14.437.7-alpha-32e8d53.0",
74
+ "@genesislcap/foundation-utils": "14.437.7-alpha-32e8d53.0",
75
75
  "@json-schema-tools/dereferencer": "^1.6.1",
76
76
  "@jsonforms/core": "^3.2.1",
77
77
  "@microsoft/fast-components": "2.30.6",
@@ -93,5 +93,5 @@
93
93
  "access": "public"
94
94
  },
95
95
  "customElements": "dist/custom-elements.json",
96
- "gitHead": "8e8032f3226d1e6fa13ade21262a4ef7768caa9d"
96
+ "gitHead": "25ef3ab95e0b0d3dee7f0625be2bbbe24a38c7d7"
97
97
  }