@masterteam/components 0.0.291 → 0.0.293
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/fesm2022/masterteam-components-business-fields.mjs +164 -29
- package/fesm2022/masterteam-components-business-fields.mjs.map +1 -1
- package/fesm2022/masterteam-components-entities.mjs +79 -118
- package/fesm2022/masterteam-components-entities.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs +17 -1
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/masterteam-components-business-fields.d.ts +63 -6
- package/types/masterteam-components-entities.d.ts +47 -47
- package/types/masterteam-components.d.ts +8 -0
|
@@ -1747,6 +1747,13 @@ class EntityListFieldConfig extends BaseFieldConfig {
|
|
|
1747
1747
|
*/
|
|
1748
1748
|
lookups;
|
|
1749
1749
|
context;
|
|
1750
|
+
/**
|
|
1751
|
+
* The bound value is an unapplied process submission — an Approval step's
|
|
1752
|
+
* frozen create/update/delete operations — rather than a persisted record
|
|
1753
|
+
* value. Its `rows[]` and `deletedIds` are pending intent to overlay on the
|
|
1754
|
+
* loaded records, not markers of writes the backend already applied.
|
|
1755
|
+
*/
|
|
1756
|
+
pendingSubmission;
|
|
1750
1757
|
constructor(config) {
|
|
1751
1758
|
super({ ...config, type: 'entity-list' });
|
|
1752
1759
|
this.propertyId = config.propertyId ?? null;
|
|
@@ -1754,6 +1761,7 @@ class EntityListFieldConfig extends BaseFieldConfig {
|
|
|
1754
1761
|
this.runtimeContext = config.runtimeContext ?? null;
|
|
1755
1762
|
this.lookups = config.lookups || [];
|
|
1756
1763
|
this.context = config.context;
|
|
1764
|
+
this.pendingSubmission = config.pendingSubmission ?? false;
|
|
1757
1765
|
}
|
|
1758
1766
|
}
|
|
1759
1767
|
class ScheduleItemSelectorFieldConfig extends BaseFieldConfig {
|
|
@@ -2407,13 +2415,21 @@ class MTDateFormatPipe {
|
|
|
2407
2415
|
}
|
|
2408
2416
|
}
|
|
2409
2417
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MTDateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2410
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: MTDateFormatPipe, isStandalone: true, name: "mtDateFormat" });
|
|
2418
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: MTDateFormatPipe, isStandalone: true, name: "mtDateFormat", pure: false });
|
|
2411
2419
|
}
|
|
2412
2420
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MTDateFormatPipe, decorators: [{
|
|
2413
2421
|
type: Pipe,
|
|
2414
2422
|
args: [{
|
|
2415
2423
|
name: 'mtDateFormat',
|
|
2416
2424
|
standalone: true,
|
|
2425
|
+
// Impure on purpose: `MT_DATE_FORMATS` is commonly provided via getters
|
|
2426
|
+
// backed by an app's own settings state (e.g. a live System Settings date
|
|
2427
|
+
// format), which can resolve or change after this pipe has already
|
|
2428
|
+
// rendered. A pure pipe only re-runs `transform()` when `value`/`type`
|
|
2429
|
+
// change identity, so cells painted before the real format loads would
|
|
2430
|
+
// stay pinned to the default forever. `formatDate()` is cheap enough that
|
|
2431
|
+
// re-evaluating on each CD pass is not a meaningful cost.
|
|
2432
|
+
pure: false,
|
|
2417
2433
|
}]
|
|
2418
2434
|
}] });
|
|
2419
2435
|
/**
|