gunsmith-common 2.3.7 → 2.3.8
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/services/firearm-milling-type.service.mjs +25 -0
- package/esm2020/shared/services/index.mjs +3 -1
- package/esm2020/shared/services/milling-type-addon.service.mjs +25 -0
- package/esm2020/shared/types/index.mjs +3 -1
- package/esm2020/shared/types/milling-detail.mjs +2 -1
- package/esm2020/shared/types/milling-type-addon-option.mjs +4 -0
- package/esm2020/shared/types/milling-type-addon.mjs +7 -0
- package/esm2020/shared/types/milling-type.mjs +2 -2
- package/fesm2015/gunsmith-common.mjs +57 -2
- package/fesm2015/gunsmith-common.mjs.map +1 -1
- package/fesm2020/gunsmith-common.mjs +53 -2
- package/fesm2020/gunsmith-common.mjs.map +1 -1
- package/gunsmith-common-2.3.8.tgz +0 -0
- package/package.json +1 -1
- package/shared/services/firearm-milling-type.service.d.ts +11 -0
- package/shared/services/index.d.ts +2 -0
- package/shared/services/milling-type-addon.service.d.ts +11 -0
- package/shared/types/index.d.ts +2 -0
- package/shared/types/milling-detail.d.ts +2 -0
- package/shared/types/milling-type-addon-option.d.ts +5 -0
- package/shared/types/milling-type-addon.d.ts +8 -0
- package/shared/types/milling-type.d.ts +2 -2
- package/gunsmith-common-2.3.7.tgz +0 -0
|
@@ -303,6 +303,7 @@ var SightTypeEnum;
|
|
|
303
303
|
|
|
304
304
|
class MillingDetail {
|
|
305
305
|
constructor() {
|
|
306
|
+
this.millingAddons = [];
|
|
306
307
|
this.barrelCrown = false;
|
|
307
308
|
this.bushingInstallation = false;
|
|
308
309
|
this.opticPulled = false;
|
|
@@ -328,7 +329,7 @@ class MillingType {
|
|
|
328
329
|
this.price = 0.00;
|
|
329
330
|
this.isCosmetic = false;
|
|
330
331
|
this.mustRefinish = false;
|
|
331
|
-
this.
|
|
332
|
+
this.addons = [];
|
|
332
333
|
this.active = true;
|
|
333
334
|
}
|
|
334
335
|
}
|
|
@@ -521,6 +522,16 @@ class SlideAddon {
|
|
|
521
522
|
}
|
|
522
523
|
}
|
|
523
524
|
|
|
525
|
+
class MillingTypeAddonOption extends MillingType {
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
class MillingTypeAddon {
|
|
529
|
+
constructor() {
|
|
530
|
+
this.addonOptions = [];
|
|
531
|
+
this.active = true;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
524
535
|
class CustomerService {
|
|
525
536
|
constructor(http, env) {
|
|
526
537
|
this.http = http;
|
|
@@ -1961,6 +1972,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1961
1972
|
}]
|
|
1962
1973
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: WorkHolidayService }]; } });
|
|
1963
1974
|
|
|
1975
|
+
class MillingTypeAddonService extends BaseService {
|
|
1976
|
+
constructor(http, env) {
|
|
1977
|
+
super(http);
|
|
1978
|
+
this.http = http;
|
|
1979
|
+
this.env = env;
|
|
1980
|
+
this.urlSegments = [`${this.env.baseUrl}api/milling-types`, "addons"];
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
MillingTypeAddonService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillingTypeAddonService, deps: [{ token: i1.HttpClient }, { token: "env" }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1984
|
+
MillingTypeAddonService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillingTypeAddonService, providedIn: "root" });
|
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MillingTypeAddonService, decorators: [{
|
|
1986
|
+
type: Injectable,
|
|
1987
|
+
args: [{
|
|
1988
|
+
providedIn: "root",
|
|
1989
|
+
}]
|
|
1990
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1991
|
+
type: Inject,
|
|
1992
|
+
args: ["env"]
|
|
1993
|
+
}] }]; } });
|
|
1994
|
+
|
|
1995
|
+
class FirearmMillingTypeService extends BaseService {
|
|
1996
|
+
constructor(http, env) {
|
|
1997
|
+
super(http);
|
|
1998
|
+
this.http = http;
|
|
1999
|
+
this.env = env;
|
|
2000
|
+
this.urlSegments = [`${this.env.baseUrl}api/firearms`, "milling-types"];
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
FirearmMillingTypeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FirearmMillingTypeService, deps: [{ token: i1.HttpClient }, { token: "env" }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2004
|
+
FirearmMillingTypeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FirearmMillingTypeService, providedIn: "root" });
|
|
2005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FirearmMillingTypeService, decorators: [{
|
|
2006
|
+
type: Injectable,
|
|
2007
|
+
args: [{
|
|
2008
|
+
providedIn: "root",
|
|
2009
|
+
}]
|
|
2010
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2011
|
+
type: Inject,
|
|
2012
|
+
args: ["env"]
|
|
2013
|
+
}] }]; } });
|
|
2014
|
+
|
|
1964
2015
|
class PhonePipe {
|
|
1965
2016
|
transform(value, args) {
|
|
1966
2017
|
if (value && value.length >= 10) {
|
|
@@ -2473,5 +2524,5 @@ var NotificationType;
|
|
|
2473
2524
|
* Generated bundle index. Do not edit.
|
|
2474
2525
|
*/
|
|
2475
2526
|
|
|
2476
|
-
export { BaseService, BundleItem, ChangeOrderPackageDetail, ChangeOrderStatus, Coating, CoatingService, CoatingValue, CoatingValueService, Configuration, ConfigurationService, Customer, CustomerService, Dealer, DealerContact, DealerCoupon, DealerService, DisableControlDirective, EnumPipe, FileNamePipe, FileUploadService, FilterOptions, FinishDateHelperService, Firearm, FirearmOptic, FirearmOpticService, FirearmService, FirearmSightService, FormErrorMessageComponent, FrameMaterial, FrameMaterialPipe, GunCaliber, GunPart, GunPartOption, GunPartService, InventoryItem, InventoryService, JFile, Material, MaterialService, MillingDetail, MillingItem, MillingType, MillingTypeService, ModalHeaderComponent, MountType, MountTypeService, NewLinePipe, NotificationBarComponent, NotificationModule, NotificationService, NotificationType, Optic, OpticService, OpticSight, OpticStatus, Package, PackageItem, PackageOptionalItem, PackageOptionalItemService, PackageSelectorComponent, PackageService, PackageTotal, PackageVariation, PackageVariationOption, PackageVariationService, PhonePipe, Product, ProductService, ProjectType, PurchaseOrder, PurchaseOrderRefinishItem, PurchaseOrderService, PurchaseOrderStatus, QuickbooksService, RearSightPosition, RefinishCode, RefinishCodeService, RefinishDetail, ReportMillingItem, ReportRefinishItem, SharedModule, ShieldRMSOptions, Sight, SightMaterialService, SightMaterialType, SightService, SightType, SightTypeEnum, SightTypeService, SlideAddon, SlideAddonService, State, StateService, StatusHistoryService, Total, TotalItem, TotalsService, UserService, Vendor, VendorContact, VendorService, WaitlistAction, WaitlistCustomerService, WaitlistGun, WaitlistGunPackageDetail, WaitlistHistory, WaitlistItem, WaitlistProjectService, WaitlistService, WaitlistStatus, WorkChangeOrder, WorkHoliday, WorkHolidayService, WorkOrder, WorkOrderAction, WorkOrderDiscount, WorkOrderDiscountService, WorkOrderHistory, WorkOrderInventoryItem, WorkOrderListItem, WorkOrderNonInventoryItem, WorkOrderNonInventoryItemService, WorkOrderPackageDetail, WorkOrderRefinishItem, WorkOrderService, WorkOrderShippingItem, WorkOrderShippingItemService, WorkOrderStatus, WorkOrderType, coatingDescriptionValidator, coatingValueValidator, convertEnumToObjectArray, getCoatingValues, getCoatings, hasCoatingDescription, hasCoatingValues, refinishDetailsValidator, touchControls };
|
|
2527
|
+
export { BaseService, BundleItem, ChangeOrderPackageDetail, ChangeOrderStatus, Coating, CoatingService, CoatingValue, CoatingValueService, Configuration, ConfigurationService, Customer, CustomerService, Dealer, DealerContact, DealerCoupon, DealerService, DisableControlDirective, EnumPipe, FileNamePipe, FileUploadService, FilterOptions, FinishDateHelperService, Firearm, FirearmMillingTypeService, FirearmOptic, FirearmOpticService, FirearmService, FirearmSightService, FormErrorMessageComponent, FrameMaterial, FrameMaterialPipe, GunCaliber, GunPart, GunPartOption, GunPartService, InventoryItem, InventoryService, JFile, Material, MaterialService, MillingDetail, MillingItem, MillingType, MillingTypeAddon, MillingTypeAddonOption, MillingTypeAddonService, MillingTypeService, ModalHeaderComponent, MountType, MountTypeService, NewLinePipe, NotificationBarComponent, NotificationModule, NotificationService, NotificationType, Optic, OpticService, OpticSight, OpticStatus, Package, PackageItem, PackageOptionalItem, PackageOptionalItemService, PackageSelectorComponent, PackageService, PackageTotal, PackageVariation, PackageVariationOption, PackageVariationService, PhonePipe, Product, ProductService, ProjectType, PurchaseOrder, PurchaseOrderRefinishItem, PurchaseOrderService, PurchaseOrderStatus, QuickbooksService, RearSightPosition, RefinishCode, RefinishCodeService, RefinishDetail, ReportMillingItem, ReportRefinishItem, SharedModule, ShieldRMSOptions, Sight, SightMaterialService, SightMaterialType, SightService, SightType, SightTypeEnum, SightTypeService, SlideAddon, SlideAddonService, State, StateService, StatusHistoryService, Total, TotalItem, TotalsService, UserService, Vendor, VendorContact, VendorService, WaitlistAction, WaitlistCustomerService, WaitlistGun, WaitlistGunPackageDetail, WaitlistHistory, WaitlistItem, WaitlistProjectService, WaitlistService, WaitlistStatus, WorkChangeOrder, WorkHoliday, WorkHolidayService, WorkOrder, WorkOrderAction, WorkOrderDiscount, WorkOrderDiscountService, WorkOrderHistory, WorkOrderInventoryItem, WorkOrderListItem, WorkOrderNonInventoryItem, WorkOrderNonInventoryItemService, WorkOrderPackageDetail, WorkOrderRefinishItem, WorkOrderService, WorkOrderShippingItem, WorkOrderShippingItemService, WorkOrderStatus, WorkOrderType, coatingDescriptionValidator, coatingValueValidator, convertEnumToObjectArray, getCoatingValues, getCoatings, hasCoatingDescription, hasCoatingValues, refinishDetailsValidator, touchControls };
|
|
2477
2528
|
//# sourceMappingURL=gunsmith-common.mjs.map
|