@masterteam/components 0.0.290 → 0.0.292
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 +141 -18
- 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 +9 -1
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/masterteam-components-business-fields.d.ts +24 -1
- package/types/masterteam-components-entities.d.ts +48 -48
|
@@ -2407,13 +2407,21 @@ class MTDateFormatPipe {
|
|
|
2407
2407
|
}
|
|
2408
2408
|
}
|
|
2409
2409
|
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" });
|
|
2410
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: MTDateFormatPipe, isStandalone: true, name: "mtDateFormat", pure: false });
|
|
2411
2411
|
}
|
|
2412
2412
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MTDateFormatPipe, decorators: [{
|
|
2413
2413
|
type: Pipe,
|
|
2414
2414
|
args: [{
|
|
2415
2415
|
name: 'mtDateFormat',
|
|
2416
2416
|
standalone: true,
|
|
2417
|
+
// Impure on purpose: `MT_DATE_FORMATS` is commonly provided via getters
|
|
2418
|
+
// backed by an app's own settings state (e.g. a live System Settings date
|
|
2419
|
+
// format), which can resolve or change after this pipe has already
|
|
2420
|
+
// rendered. A pure pipe only re-runs `transform()` when `value`/`type`
|
|
2421
|
+
// change identity, so cells painted before the real format loads would
|
|
2422
|
+
// stay pinned to the default forever. `formatDate()` is cheap enough that
|
|
2423
|
+
// re-evaluating on each CD pass is not a meaningful cost.
|
|
2424
|
+
pure: false,
|
|
2417
2425
|
}]
|
|
2418
2426
|
}] });
|
|
2419
2427
|
/**
|