@masterteam/components 0.0.302 → 0.0.303
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/assets/common.css +1 -1
- package/assets/i18n/ar.json +405 -392
- package/assets/i18n/en.json +405 -392
- package/fesm2022/masterteam-components-business-fields.mjs +500 -14
- package/fesm2022/masterteam-components-business-fields.mjs.map +1 -1
- package/fesm2022/masterteam-components-entities.mjs +101 -5
- package/fesm2022/masterteam-components-entities.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs +6 -0
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/masterteam-components-business-fields.d.ts +80 -7
- package/types/masterteam-components-entities.d.ts +38 -2
- package/types/masterteam-components.d.ts +12 -0
|
@@ -1738,6 +1738,11 @@ class SchedulePredecessorFieldConfig extends BaseFieldConfig {
|
|
|
1738
1738
|
class EntityListFieldConfig extends BaseFieldConfig {
|
|
1739
1739
|
/** EntityList property id (used in the read endpoint route). */
|
|
1740
1740
|
propertyId;
|
|
1741
|
+
/**
|
|
1742
|
+
* EntityList property key — the `forms/options/{propertyKey}` route a
|
|
1743
|
+
* Selected list's picker loads its candidates from.
|
|
1744
|
+
*/
|
|
1745
|
+
propertyKey;
|
|
1741
1746
|
/** Property configuration (sourceType, moduleId, access, snapshotMode, fields). */
|
|
1742
1747
|
configuration;
|
|
1743
1748
|
/** Runtime ids needed to call the read endpoint. */
|
|
@@ -1758,6 +1763,7 @@ class EntityListFieldConfig extends BaseFieldConfig {
|
|
|
1758
1763
|
constructor(config) {
|
|
1759
1764
|
super({ ...config, type: 'entity-list' });
|
|
1760
1765
|
this.propertyId = config.propertyId ?? null;
|
|
1766
|
+
this.propertyKey = config.propertyKey ?? '';
|
|
1761
1767
|
this.configuration = config.configuration ?? null;
|
|
1762
1768
|
this.runtimeContext = config.runtimeContext ?? null;
|
|
1763
1769
|
this.lookups = config.lookups || [];
|