@genesislcap/foundation-forms 14.228.2-alpha-263af68.0 → 14.229.0-RPT-20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectedMultiselectControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,2CAA2C,YAC9C,MAAM,0EA8Bf,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,aAMtD,CAAC"}
1
+ {"version":3,"file":"ConnectedMultiselectControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ConnectedMultiselectControlRenderer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,eAAO,MAAM,2CAA2C,YAC9C,MAAM,0EAgCf,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,aAMtD,CAAC"}
@@ -19,6 +19,7 @@ export const ConnectedMultiselectControlRendererTemplate = (prefix = 'zero') =>
19
19
  :selectedOptions=${(x) => x.control.data || []}
20
20
  @selectionChange=${(x, c) => {
21
21
  x.control.handleChange(x.control.path, c.event.detail);
22
+ x.$emit('change');
22
23
  x.onBlur();
23
24
  }}
24
25
  id=${(x) => x.control.path}
@@ -28,6 +29,7 @@ export const ConnectedMultiselectControlRendererTemplate = (prefix = 'zero') =>
28
29
  resourceName=${(x) => { var _a; return (_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.allOptionsResourceName; }}
29
30
  value-field=${(x) => { var _a; return (_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.valueField; }}
30
31
  label-field=${(x) => { var _a; return (_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.labelField; }}
32
+ :data=${(x) => { var _a; return (_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.data; }}
31
33
  :datasourceConfig=${(x) => { var _a; return (_a = x.control.uischema.options) === null || _a === void 0 ? void 0 : _a.datasourceConfig; }}
32
34
  ></multiselect-datasource>
33
35
  </${prefix}-multiselect>
@@ -1,3 +1,3 @@
1
1
  import { and, hasType, or, schemaMatches } from '@jsonforms/core';
2
2
  import { optionIs } from './optionIs';
3
- export const isOneOfOptionMultiselect = and(optionIs('allOptionsResourceName'), or(schemaMatches((schema) => hasType(schema, 'array')), schemaMatches((schema) => schema.hasOwnProperty('oneOf') && schema.oneOf.some((s) => hasType(s, 'array')))));
3
+ export const isOneOfOptionMultiselect = and(or(optionIs('allOptionsResourceName'), optionIs('data')), or(schemaMatches((schema) => hasType(schema, 'array')), schemaMatches((schema) => schema.hasOwnProperty('oneOf') && schema.oneOf.some((s) => hasType(s, 'array')))));
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.228.2-alpha-263af68.0",
4
+ "version": "14.229.0-RPT-20.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -48,22 +48,22 @@
48
48
  }
49
49
  },
50
50
  "devDependencies": {
51
- "@genesislcap/foundation-testing": "14.228.2-alpha-263af68.0",
52
- "@genesislcap/genx": "14.228.2-alpha-263af68.0",
53
- "@genesislcap/rollup-builder": "14.228.2-alpha-263af68.0",
54
- "@genesislcap/ts-builder": "14.228.2-alpha-263af68.0",
55
- "@genesislcap/uvu-playwright-builder": "14.228.2-alpha-263af68.0",
56
- "@genesislcap/vite-builder": "14.228.2-alpha-263af68.0",
57
- "@genesislcap/webpack-builder": "14.228.2-alpha-263af68.0",
51
+ "@genesislcap/foundation-testing": "14.229.0-RPT-20.1",
52
+ "@genesislcap/genx": "14.229.0-RPT-20.1",
53
+ "@genesislcap/rollup-builder": "14.229.0-RPT-20.1",
54
+ "@genesislcap/ts-builder": "14.229.0-RPT-20.1",
55
+ "@genesislcap/uvu-playwright-builder": "14.229.0-RPT-20.1",
56
+ "@genesislcap/vite-builder": "14.229.0-RPT-20.1",
57
+ "@genesislcap/webpack-builder": "14.229.0-RPT-20.1",
58
58
  "@types/json-schema": "^7.0.11",
59
59
  "rimraf": "^5.0.0"
60
60
  },
61
61
  "dependencies": {
62
- "@genesislcap/foundation-comms": "14.228.2-alpha-263af68.0",
63
- "@genesislcap/foundation-criteria": "14.228.2-alpha-263af68.0",
64
- "@genesislcap/foundation-logger": "14.228.2-alpha-263af68.0",
65
- "@genesislcap/foundation-ui": "14.228.2-alpha-263af68.0",
66
- "@genesislcap/foundation-utils": "14.228.2-alpha-263af68.0",
62
+ "@genesislcap/foundation-comms": "14.229.0-RPT-20.1",
63
+ "@genesislcap/foundation-criteria": "14.229.0-RPT-20.1",
64
+ "@genesislcap/foundation-logger": "14.229.0-RPT-20.1",
65
+ "@genesislcap/foundation-ui": "14.229.0-RPT-20.1",
66
+ "@genesislcap/foundation-utils": "14.229.0-RPT-20.1",
67
67
  "@json-schema-tools/dereferencer": "^1.6.1",
68
68
  "@jsonforms/core": "^3.2.1",
69
69
  "@microsoft/fast-components": "2.30.6",
@@ -85,5 +85,5 @@
85
85
  "access": "public"
86
86
  },
87
87
  "customElements": "dist/custom-elements.json",
88
- "gitHead": "88473515c8ffb43f7965f9cc1d3b938e12266d07"
88
+ "gitHead": "cb0dfc6654ef83c7dc576e0d7b5b4708d335b600"
89
89
  }