gunsmith-common 2.1.23 → 2.1.25
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/esm2020/shared/pipes/enum.pipe.mjs +2 -2
- package/esm2020/shared/types/mount-type.mjs +4 -2
- package/fesm2015/gunsmith-common.mjs +4 -2
- package/fesm2015/gunsmith-common.mjs.map +1 -1
- package/fesm2020/gunsmith-common.mjs +4 -2
- package/fesm2020/gunsmith-common.mjs.map +1 -1
- package/package.json +1 -1
- package/shared/types/mount-type.d.ts +4 -2
|
@@ -278,8 +278,10 @@ var ChangeOrderStatus;
|
|
|
278
278
|
|
|
279
279
|
var MountType;
|
|
280
280
|
(function (MountType) {
|
|
281
|
-
MountType[MountType["
|
|
281
|
+
MountType[MountType["Standard"] = 0] = "Standard";
|
|
282
282
|
MountType[MountType["Plate"] = 1] = "Plate";
|
|
283
|
+
MountType[MountType["DeltaPointPro"] = 2] = "DeltaPointPro";
|
|
284
|
+
MountType[MountType["ShieldRMS"] = 3] = "ShieldRMS";
|
|
283
285
|
})(MountType || (MountType = {}));
|
|
284
286
|
|
|
285
287
|
var SightType;
|
|
@@ -1550,7 +1552,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1550
1552
|
|
|
1551
1553
|
class EnumPipe {
|
|
1552
1554
|
transform(value, args) {
|
|
1553
|
-
return value.replace(/([A-Z])/g, ' $
|
|
1555
|
+
return value.replace(/([^A-Z])([A-Z])/g, '$1 $2').trim();
|
|
1554
1556
|
}
|
|
1555
1557
|
}
|
|
1556
1558
|
EnumPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EnumPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|