gunsmith-common 2.3.18 → 2.3.20
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/gunsmith-common.mjs +4 -4
- package/esm2020/notification/fade-out.animation.mjs +10 -10
- package/esm2020/notification/index.mjs +4 -4
- package/esm2020/notification/notification-bar/notification-bar.component.mjs +43 -43
- package/esm2020/notification/notification-message.mjs +3 -3
- package/esm2020/notification/notification-type.enum.mjs +6 -6
- package/esm2020/notification/notification.module.mjs +26 -26
- package/esm2020/notification/notification.service.mjs +21 -21
- package/esm2020/public_api.mjs +14 -14
- package/esm2020/shared/controls/form-error-message/form-error-message.component.mjs +17 -17
- package/esm2020/shared/controls/modal-header/modal-header.component.mjs +25 -25
- package/esm2020/shared/directives/disable-control.directive.mjs +24 -24
- package/esm2020/shared/directives/index.mjs +3 -3
- package/esm2020/shared/directives/refinish-details-validators.mjs +45 -45
- package/esm2020/shared/pipes/enum.pipe.mjs +16 -16
- package/esm2020/shared/pipes/file-name.pipe.mjs +16 -16
- package/esm2020/shared/pipes/frame-material.pipe.mjs +24 -24
- package/esm2020/shared/pipes/index.mjs +6 -6
- package/esm2020/shared/pipes/new-line.pipe.mjs +16 -16
- package/esm2020/shared/pipes/phone.pipe.mjs +19 -19
- package/esm2020/shared/services/base.service.mjs +50 -50
- package/esm2020/shared/services/coating-value.service.mjs +25 -25
- package/esm2020/shared/services/coating.service.mjs +25 -25
- package/esm2020/shared/services/configuration.service.mjs +32 -32
- package/esm2020/shared/services/customer.service.mjs +47 -47
- package/esm2020/shared/services/dealer.service.mjs +31 -31
- package/esm2020/shared/services/file-upload.service.mjs +34 -34
- package/esm2020/shared/services/finish-date-helper.service.mjs +69 -69
- package/esm2020/shared/services/firearm-milling-type.service.mjs +25 -25
- package/esm2020/shared/services/firearm-optic.service.mjs +31 -31
- package/esm2020/shared/services/firearm-sight.service.mjs +25 -25
- package/esm2020/shared/services/firearm.service.mjs +31 -31
- package/esm2020/shared/services/gun-part.service.mjs +46 -46
- package/esm2020/shared/services/index.mjs +44 -44
- package/esm2020/shared/services/inventory.service.mjs +25 -25
- package/esm2020/shared/services/material.service.mjs +30 -30
- package/esm2020/shared/services/milling-type-addon.service.mjs +25 -25
- package/esm2020/shared/services/milling-type.service.mjs +25 -25
- package/esm2020/shared/services/mount-type.service.mjs +25 -25
- package/esm2020/shared/services/optic.service.mjs +28 -28
- package/esm2020/shared/services/package-optional-item.service.mjs +25 -25
- package/esm2020/shared/services/package-variation.service.mjs +25 -25
- package/esm2020/shared/services/package.service.mjs +49 -49
- package/esm2020/shared/services/product.service.mjs +29 -29
- package/esm2020/shared/services/purchase-order.service.mjs +87 -87
- package/esm2020/shared/services/quickbooks.service.mjs +30 -30
- package/esm2020/shared/services/refinish-code.service.mjs +35 -35
- package/esm2020/shared/services/sight-material.service.mjs +25 -25
- package/esm2020/shared/services/sight-type.service.mjs +25 -25
- package/esm2020/shared/services/sight.service.mjs +28 -28
- package/esm2020/shared/services/slide-addon.service.mjs +25 -25
- package/esm2020/shared/services/state.service.mjs +26 -26
- package/esm2020/shared/services/status-history.service.mjs +40 -40
- package/esm2020/shared/services/totals.service.mjs +50 -50
- package/esm2020/shared/services/user.service.mjs +26 -26
- package/esm2020/shared/services/vendor.service.mjs +42 -42
- package/esm2020/shared/services/waitlist-customer.service.mjs +41 -41
- package/esm2020/shared/services/waitlist-project.service.mjs +38 -38
- package/esm2020/shared/services/waitlist.service.mjs +100 -100
- package/esm2020/shared/services/work-holiday.service.mjs +32 -32
- package/esm2020/shared/services/work-order-discount.service.mjs +25 -25
- package/esm2020/shared/services/work-order-non-inventory-item.service.mjs +25 -25
- package/esm2020/shared/services/work-order-shipping-item.service.mjs +25 -25
- package/esm2020/shared/services/work-order.service.mjs +214 -214
- package/esm2020/shared/shared.module.mjs +59 -59
- package/esm2020/shared/types/address.mjs +3 -3
- package/esm2020/shared/types/billing-info.mjs +3 -3
- package/esm2020/shared/types/bundle-item.mjs +6 -6
- package/esm2020/shared/types/change-order-package-detail.mjs +7 -7
- package/esm2020/shared/types/change-order-status.mjs +9 -9
- package/esm2020/shared/types/coating-value.mjs +6 -6
- package/esm2020/shared/types/coating.mjs +8 -8
- package/esm2020/shared/types/configuration.mjs +3 -3
- package/esm2020/shared/types/customer.mjs +6 -6
- package/esm2020/shared/types/dealer-contact.mjs +3 -3
- package/esm2020/shared/types/dealer-coupon.mjs +3 -3
- package/esm2020/shared/types/dealer.mjs +8 -8
- package/esm2020/shared/types/filter-options.mjs +9 -9
- package/esm2020/shared/types/firearm-optic.mjs +11 -11
- package/esm2020/shared/types/firearm.mjs +6 -6
- package/esm2020/shared/types/frame-material.mjs +8 -8
- package/esm2020/shared/types/gun-caliber.mjs +7 -7
- package/esm2020/shared/types/gun-part-option.mjs +3 -3
- package/esm2020/shared/types/gun-part.mjs +11 -11
- package/esm2020/shared/types/index.mjs +85 -85
- package/esm2020/shared/types/inventory-item.mjs +12 -12
- package/esm2020/shared/types/j-file.mjs +3 -3
- package/esm2020/shared/types/material.mjs +6 -6
- package/esm2020/shared/types/milling-detail.mjs +10 -10
- package/esm2020/shared/types/milling-item.mjs +6 -6
- package/esm2020/shared/types/milling-type-addon-option.mjs +4 -4
- package/esm2020/shared/types/milling-type-addon.mjs +7 -7
- package/esm2020/shared/types/milling-type.mjs +11 -11
- package/esm2020/shared/types/mount-type.mjs +6 -6
- package/esm2020/shared/types/optic-report-item.mjs +2 -2
- package/esm2020/shared/types/optic-sight.mjs +4 -4
- package/esm2020/shared/types/optic-status.mjs +7 -7
- package/esm2020/shared/types/optic.mjs +7 -7
- package/esm2020/shared/types/package-item.mjs +3 -3
- package/esm2020/shared/types/package-optional-item.mjs +7 -7
- package/esm2020/shared/types/package-total.mjs +3 -3
- package/esm2020/shared/types/package-variation-option.mjs +6 -6
- package/esm2020/shared/types/package-variation.mjs +8 -8
- package/esm2020/shared/types/package.mjs +13 -13
- package/esm2020/shared/types/product.mjs +3 -3
- package/esm2020/shared/types/project-type.mjs +7 -7
- package/esm2020/shared/types/purchase-order-refinish-item.mjs +3 -3
- package/esm2020/shared/types/purchase-order-status.mjs +8 -8
- package/esm2020/shared/types/purchase-order.mjs +9 -9
- package/esm2020/shared/types/rear-sight-position.mjs +6 -6
- package/esm2020/shared/types/refinish-code.mjs +3 -3
- package/esm2020/shared/types/refinish-detail.mjs +3 -3
- package/esm2020/shared/types/report-milling-item.mjs +3 -3
- package/esm2020/shared/types/report-refinish-item.mjs +3 -3
- package/esm2020/shared/types/shield-rms-options.mjs +6 -6
- package/esm2020/shared/types/sight-material-type.mjs +6 -6
- package/esm2020/shared/types/sight-report-item.mjs +2 -2
- package/esm2020/shared/types/sight-type-enum.mjs +7 -7
- package/esm2020/shared/types/sight-type.mjs +6 -6
- package/esm2020/shared/types/sight.mjs +6 -6
- package/esm2020/shared/types/simple-type.mjs +2 -2
- package/esm2020/shared/types/slide-addon.mjs +7 -7
- package/esm2020/shared/types/state.mjs +3 -3
- package/esm2020/shared/types/total-item.mjs +3 -3
- package/esm2020/shared/types/total.mjs +3 -3
- package/esm2020/shared/types/vendor-contact.mjs +3 -3
- package/esm2020/shared/types/vendor.mjs +7 -7
- package/esm2020/shared/types/waitlist-action.mjs +9 -9
- package/esm2020/shared/types/waitlist-gun-package-detail.mjs +7 -7
- package/esm2020/shared/types/waitlist-gun.mjs +15 -15
- package/esm2020/shared/types/waitlist-history.mjs +3 -3
- package/esm2020/shared/types/waitlist-item.mjs +13 -13
- package/esm2020/shared/types/waitlist-status.mjs +18 -18
- package/esm2020/shared/types/work-change-order.mjs +3 -3
- package/esm2020/shared/types/work-holiday.mjs +3 -3
- package/esm2020/shared/types/work-order-action.mjs +7 -7
- package/esm2020/shared/types/work-order-billing-transaction.mjs +3 -3
- package/esm2020/shared/types/work-order-discount.mjs +4 -4
- package/esm2020/shared/types/work-order-history.mjs +3 -3
- package/esm2020/shared/types/work-order-inventory-item.mjs +3 -3
- package/esm2020/shared/types/work-order-list-item.mjs +3 -3
- package/esm2020/shared/types/work-order-non-inventory-item.mjs +3 -3
- package/esm2020/shared/types/work-order-package-detail.mjs +7 -7
- package/esm2020/shared/types/work-order-refinish-item.mjs +3 -3
- package/esm2020/shared/types/work-order-shipping-item.mjs +3 -3
- package/esm2020/shared/types/work-order-status.mjs +18 -18
- package/esm2020/shared/types/work-order-total.mjs +3 -3
- package/esm2020/shared/types/work-order-type.mjs +8 -8
- package/esm2020/shared/types/work-order.mjs +20 -20
- package/esm2020/shared/utils/coating-helpers.mjs +22 -22
- package/esm2020/shared/utils/enum-object.mjs +10 -10
- package/esm2020/shared/utils/index.mjs +4 -4
- package/esm2020/shared/utils/invalid-form-control-toucher.mjs +7 -7
- package/fesm2015/gunsmith-common.mjs +2183 -2183
- package/fesm2015/gunsmith-common.mjs.map +1 -1
- package/fesm2020/gunsmith-common.mjs +2101 -2101
- package/fesm2020/gunsmith-common.mjs.map +1 -1
- package/gunsmith-common-2.3.20.tgz +0 -0
- package/gunsmith-common.d.ts +5 -5
- package/notification/fade-out.animation.d.ts +2 -2
- package/notification/index.d.ts +3 -3
- package/notification/notification-bar/notification-bar.component.d.ts +18 -18
- package/notification/notification-message.d.ts +6 -6
- package/notification/notification-type.enum.d.ts +4 -4
- package/notification/notification.module.d.ts +8 -8
- package/notification/notification.service.d.ts +12 -12
- package/package.json +1 -1
- package/public_api.d.ts +10 -10
- package/shared/controls/form-error-message/form-error-message.component.d.ts +8 -8
- package/shared/controls/modal-header/modal-header.component.d.ts +11 -11
- package/shared/directives/disable-control.directive.d.ts +9 -9
- package/shared/directives/index.d.ts +2 -2
- package/shared/directives/refinish-details-validators.d.ts +4 -4
- package/shared/pipes/enum.pipe.d.ts +7 -7
- package/shared/pipes/file-name.pipe.d.ts +7 -7
- package/shared/pipes/frame-material.pipe.d.ts +11 -11
- package/shared/pipes/index.d.ts +5 -5
- package/shared/pipes/new-line.pipe.d.ts +7 -7
- package/shared/pipes/phone.pipe.d.ts +7 -7
- package/shared/services/base.service.d.ts +17 -17
- package/shared/services/coating-value.service.d.ts +11 -11
- package/shared/services/coating.service.d.ts +11 -11
- package/shared/services/configuration.service.d.ts +15 -15
- package/shared/services/customer.service.d.ts +17 -17
- package/shared/services/dealer.service.d.ts +15 -15
- package/shared/services/file-upload.service.d.ts +13 -13
- package/shared/services/finish-date-helper.service.d.ts +17 -17
- package/shared/services/firearm-milling-type.service.d.ts +11 -11
- package/shared/services/firearm-optic.service.d.ts +13 -13
- package/shared/services/firearm-sight.service.d.ts +11 -11
- package/shared/services/firearm.service.d.ts +15 -15
- package/shared/services/gun-part.service.d.ts +16 -16
- package/shared/services/index.d.ts +43 -43
- package/shared/services/inventory.service.d.ts +11 -11
- package/shared/services/material.service.d.ts +13 -13
- package/shared/services/milling-type-addon.service.d.ts +11 -11
- package/shared/services/milling-type.service.d.ts +11 -11
- package/shared/services/mount-type.service.d.ts +11 -11
- package/shared/services/optic.service.d.ts +13 -13
- package/shared/services/package-optional-item.service.d.ts +11 -11
- package/shared/services/package-variation.service.d.ts +11 -11
- package/shared/services/package.service.d.ts +16 -16
- package/shared/services/product.service.d.ts +15 -15
- package/shared/services/purchase-order.service.d.ts +27 -27
- package/shared/services/quickbooks.service.d.ts +12 -12
- package/shared/services/refinish-code.service.d.ts +16 -16
- package/shared/services/sight-material.service.d.ts +11 -11
- package/shared/services/sight-type.service.d.ts +11 -11
- package/shared/services/sight.service.d.ts +13 -13
- package/shared/services/slide-addon.service.d.ts +11 -11
- package/shared/services/state.service.d.ts +13 -13
- package/shared/services/status-history.service.d.ts +14 -14
- package/shared/services/totals.service.d.ts +15 -15
- package/shared/services/user.service.d.ts +12 -12
- package/shared/services/vendor.service.d.ts +17 -17
- package/shared/services/waitlist-customer.service.d.ts +16 -16
- package/shared/services/waitlist-project.service.d.ts +17 -17
- package/shared/services/waitlist.service.d.ts +28 -28
- package/shared/services/work-holiday.service.d.ts +15 -15
- package/shared/services/work-order-discount.service.d.ts +11 -11
- package/shared/services/work-order-non-inventory-item.service.d.ts +11 -11
- package/shared/services/work-order-shipping-item.service.d.ts +11 -11
- package/shared/services/work-order.service.d.ts +59 -59
- package/shared/shared.module.d.ts +17 -17
- package/shared/types/address.d.ts +11 -11
- package/shared/types/billing-info.d.ts +6 -6
- package/shared/types/bundle-item.d.ts +11 -11
- package/shared/types/change-order-package-detail.d.ts +10 -10
- package/shared/types/change-order-status.d.ts +7 -7
- package/shared/types/coating-value.d.ts +7 -7
- package/shared/types/coating.d.ts +14 -14
- package/shared/types/configuration.d.ts +17 -17
- package/shared/types/customer.d.ts +14 -14
- package/shared/types/dealer-contact.d.ts +9 -9
- package/shared/types/dealer-coupon.d.ts +5 -5
- package/shared/types/dealer.d.ts +25 -25
- package/shared/types/filter-options.d.ts +6 -6
- package/shared/types/firearm-optic.d.ts +21 -21
- package/shared/types/firearm.d.ts +10 -10
- package/shared/types/frame-material.d.ts +6 -6
- package/shared/types/gun-caliber.d.ts +5 -5
- package/shared/types/gun-part-option.d.ts +9 -9
- package/shared/types/gun-part.d.ts +14 -14
- package/shared/types/index.d.ts +84 -84
- package/shared/types/inventory-item.d.ts +14 -14
- package/shared/types/j-file.d.ts +5 -5
- package/shared/types/material.d.ts +6 -6
- package/shared/types/milling-detail.d.ts +26 -26
- package/shared/types/milling-item.d.ts +23 -23
- package/shared/types/milling-type-addon-option.d.ts +5 -5
- package/shared/types/milling-type-addon.d.ts +8 -8
- package/shared/types/milling-type.d.ts +16 -16
- package/shared/types/mount-type.d.ts +9 -9
- package/shared/types/optic-report-item.d.ts +13 -13
- package/shared/types/optic-sight.d.ts +8 -8
- package/shared/types/optic-status.d.ts +5 -5
- package/shared/types/optic.d.ts +11 -11
- package/shared/types/package-item.d.ts +9 -9
- package/shared/types/package-optional-item.d.ts +20 -20
- package/shared/types/package-total.d.ts +5 -5
- package/shared/types/package-variation-option.d.ts +16 -16
- package/shared/types/package-variation.d.ts +10 -10
- package/shared/types/package.d.ts +18 -18
- package/shared/types/product.d.ts +7 -7
- package/shared/types/project-type.d.ts +5 -5
- package/shared/types/purchase-order-refinish-item.d.ts +18 -18
- package/shared/types/purchase-order-status.d.ts +6 -6
- package/shared/types/purchase-order.d.ts +11 -11
- package/shared/types/rear-sight-position.d.ts +4 -4
- package/shared/types/refinish-code.d.ts +9 -9
- package/shared/types/refinish-detail.d.ts +13 -13
- package/shared/types/report-milling-item.d.ts +18 -16
- package/shared/types/report-refinish-item.d.ts +20 -20
- package/shared/types/shield-rms-options.d.ts +4 -4
- package/shared/types/sight-material-type.d.ts +6 -6
- package/shared/types/sight-report-item.d.ts +10 -10
- package/shared/types/sight-type-enum.d.ts +5 -5
- package/shared/types/sight-type.d.ts +8 -8
- package/shared/types/sight.d.ts +15 -15
- package/shared/types/simple-type.d.ts +6 -6
- package/shared/types/slide-addon.d.ts +20 -20
- package/shared/types/state.d.ts +4 -4
- package/shared/types/total-item.d.ts +4 -4
- package/shared/types/total.d.ts +5 -5
- package/shared/types/vendor-contact.d.ts +9 -9
- package/shared/types/vendor.d.ts +20 -20
- package/shared/types/waitlist-action.d.ts +7 -7
- package/shared/types/waitlist-gun-package-detail.d.ts +10 -10
- package/shared/types/waitlist-gun.d.ts +29 -29
- package/shared/types/waitlist-history.d.ts +8 -8
- package/shared/types/waitlist-item.d.ts +28 -28
- package/shared/types/waitlist-status.d.ts +16 -16
- package/shared/types/work-change-order.d.ts +12 -12
- package/shared/types/work-holiday.d.ts +4 -4
- package/shared/types/work-order-action.d.ts +5 -5
- package/shared/types/work-order-billing-transaction.d.ts +15 -15
- package/shared/types/work-order-discount.d.ts +8 -8
- package/shared/types/work-order-history.d.ts +8 -8
- package/shared/types/work-order-inventory-item.d.ts +7 -7
- package/shared/types/work-order-list-item.d.ts +15 -15
- package/shared/types/work-order-non-inventory-item.d.ts +8 -8
- package/shared/types/work-order-package-detail.d.ts +10 -10
- package/shared/types/work-order-refinish-item.d.ts +18 -18
- package/shared/types/work-order-shipping-item.d.ts +7 -7
- package/shared/types/work-order-status.d.ts +16 -16
- package/shared/types/work-order-total.d.ts +6 -6
- package/shared/types/work-order-type.d.ts +6 -6
- package/shared/types/work-order.d.ts +40 -40
- package/shared/utils/coating-helpers.d.ts +5 -5
- package/shared/utils/enum-object.d.ts +5 -5
- package/shared/utils/index.d.ts +3 -3
- package/shared/utils/invalid-form-control-toucher.d.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3Vuc21pdGgtY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvZ3Vuc21pdGgtY29tbW9uL3NyYy9ndW5zbWl0aC1jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { trigger, animate, style, transition } from '@angular/animations';
|
|
2
|
-
export const fadeOutAnimation = trigger('fadeOutAnimation', [
|
|
3
|
-
transition('true => void', [
|
|
4
|
-
style({
|
|
5
|
-
opacity: 1
|
|
6
|
-
}),
|
|
7
|
-
animate('0.2s', style({ opacity: 0 })),
|
|
8
|
-
])
|
|
9
|
-
]);
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { trigger, animate, style, transition } from '@angular/animations';
|
|
2
|
+
export const fadeOutAnimation = trigger('fadeOutAnimation', [
|
|
3
|
+
transition('true => void', [
|
|
4
|
+
style({
|
|
5
|
+
opacity: 1
|
|
6
|
+
}),
|
|
7
|
+
animate('0.2s', style({ opacity: 0 })),
|
|
8
|
+
])
|
|
9
|
+
]);
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS1vdXQuYW5pbWF0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZ3Vuc21pdGgtY29tbW9uL3NyYy9ub3RpZmljYXRpb24vZmFkZS1vdXQuYW5pbWF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQTRCLE1BQU0scUJBQXFCLENBQUM7QUFFcEcsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQzNCLE9BQU8sQ0FBQyxrQkFBa0IsRUFBRTtJQUMxQixVQUFVLENBQUMsY0FBYyxFQUFFO1FBQ3pCLEtBQUssQ0FBQztZQUNKLE9BQU8sRUFBRSxDQUFDO1NBQ1gsQ0FBQztRQUNGLE9BQU8sQ0FDTCxNQUFNLEVBQ04sS0FBSyxDQUFDLEVBQUUsT0FBTyxFQUFFLENBQUMsRUFBQyxDQUFDLENBQ3JCO0tBQ0YsQ0FBQztDQUNILENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHRyaWdnZXIsIGFuaW1hdGUsIHN0eWxlLCB0cmFuc2l0aW9uLCBBbmltYXRpb25UcmlnZ2VyTWV0YWRhdGEgfSBmcm9tICdAYW5ndWxhci9hbmltYXRpb25zJztcblxuZXhwb3J0IGNvbnN0IGZhZGVPdXRBbmltYXRpb246IEFuaW1hdGlvblRyaWdnZXJNZXRhZGF0YSA9XG4gIHRyaWdnZXIoJ2ZhZGVPdXRBbmltYXRpb24nLCBbXG4gICAgdHJhbnNpdGlvbigndHJ1ZSA9PiB2b2lkJywgW1xuICAgICAgc3R5bGUoe1xuICAgICAgICBvcGFjaXR5OiAxXG4gICAgICB9KSxcbiAgICAgIGFuaW1hdGUoXG4gICAgICAgICcwLjJzJyxcbiAgICAgICAgc3R5bGUoeyBvcGFjaXR5OiAwfSlcbiAgICAgICksXG4gICAgXSlcbiAgXSk7XG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './notification-bar/notification-bar.component';
|
|
2
|
-
export * from './notification-type.enum';
|
|
3
|
-
export * from './notification.service';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './notification-bar/notification-bar.component';
|
|
2
|
+
export * from './notification-type.enum';
|
|
3
|
+
export * from './notification.service';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9ndW5zbWl0aC1jb21tb24vc3JjL25vdGlmaWNhdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtDQUErQyxDQUFDO0FBQzlELGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbm90aWZpY2F0aW9uLWJhci9ub3RpZmljYXRpb24tYmFyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL25vdGlmaWNhdGlvbi10eXBlLmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9ub3RpZmljYXRpb24uc2VydmljZSc7XG4iXX0=
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { NotificationService } from '../notification.service';
|
|
3
|
-
import { fadeOutAnimation } from '../fade-out.animation';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../notification.service";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
export class NotificationBarComponent {
|
|
8
|
-
constructor(notificationService) {
|
|
9
|
-
this.notificationService = notificationService;
|
|
10
|
-
this.messages = [];
|
|
11
|
-
}
|
|
12
|
-
get viewMessages() {
|
|
13
|
-
if (this.messages.length > 3) {
|
|
14
|
-
return this.messages.slice(0).reverse().slice(0, 2);
|
|
15
|
-
}
|
|
16
|
-
return this.messages.slice(0).reverse();
|
|
17
|
-
}
|
|
18
|
-
;
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
this.notificationService.messageUpdated.subscribe(message => {
|
|
21
|
-
this.messages.push(message);
|
|
22
|
-
setTimeout(() => {
|
|
23
|
-
this.messages.shift();
|
|
24
|
-
}, 4000);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
getIconClass(message) {
|
|
28
|
-
return {
|
|
29
|
-
'fa-exclamation-triangle': message.type == 1,
|
|
30
|
-
'fa-info-circle': message.type == 0,
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
shouldFade() {
|
|
34
|
-
return this.messages.length < 3;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
NotificationBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationBarComponent, deps: [{ token: i1.NotificationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
-
NotificationBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: NotificationBarComponent, selector: "app-notification-bar", ngImport: i0, template: "<div class=\"notification-bar\" *ngIf=\"messages.length\">\
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationBarComponent, decorators: [{
|
|
40
|
-
type: Component,
|
|
41
|
-
args: [{ selector: 'app-notification-bar', animations: [fadeOutAnimation], template: "<div class=\"notification-bar\" *ngIf=\"messages.length\">\
|
|
42
|
-
}], ctorParameters: function () { return [{ type: i1.NotificationService }]; } });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { NotificationService } from '../notification.service';
|
|
3
|
+
import { fadeOutAnimation } from '../fade-out.animation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../notification.service";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
export class NotificationBarComponent {
|
|
8
|
+
constructor(notificationService) {
|
|
9
|
+
this.notificationService = notificationService;
|
|
10
|
+
this.messages = [];
|
|
11
|
+
}
|
|
12
|
+
get viewMessages() {
|
|
13
|
+
if (this.messages.length > 3) {
|
|
14
|
+
return this.messages.slice(0).reverse().slice(0, 2);
|
|
15
|
+
}
|
|
16
|
+
return this.messages.slice(0).reverse();
|
|
17
|
+
}
|
|
18
|
+
;
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this.notificationService.messageUpdated.subscribe(message => {
|
|
21
|
+
this.messages.push(message);
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
this.messages.shift();
|
|
24
|
+
}, 4000);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
getIconClass(message) {
|
|
28
|
+
return {
|
|
29
|
+
'fa-exclamation-triangle': message.type == 1,
|
|
30
|
+
'fa-info-circle': message.type == 0,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
shouldFade() {
|
|
34
|
+
return this.messages.length < 3;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
NotificationBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationBarComponent, deps: [{ token: i1.NotificationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
NotificationBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: NotificationBarComponent, selector: "app-notification-bar", ngImport: i0, template: "<div class=\"notification-bar\" *ngIf=\"messages.length\">\n <div *ngFor=\"let message of viewMessages\" class=\"notification-pill\" [class.error]=\"message.type == 1\" [@fadeOutAnimation]=\"shouldFade()\">\n <i class=\"fa\" [ngClass]=\"getIconClass(message)\"></i> <span class=\"ms-1\">{{message.message}}</span>\n </div>\n <div *ngIf=\"messages.length > 3\" class=\"notification-pill\">{{messages.length - 2}} more...</div>\n</div>\n", styles: [".notification-bar{position:fixed;top:0;left:0;right:0;z-index:1000001;pointer-events:none}.notification-bar .notification-pill{max-width:300px;margin:10px auto;border-radius:4px;color:#000;background:#181818;padding:8px;text-align:center;color:#fff}.notification-bar .error{color:#711e16!important;background:#f8d8d4!important}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [fadeOutAnimation] });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationBarComponent, decorators: [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: 'app-notification-bar', animations: [fadeOutAnimation], template: "<div class=\"notification-bar\" *ngIf=\"messages.length\">\n <div *ngFor=\"let message of viewMessages\" class=\"notification-pill\" [class.error]=\"message.type == 1\" [@fadeOutAnimation]=\"shouldFade()\">\n <i class=\"fa\" [ngClass]=\"getIconClass(message)\"></i> <span class=\"ms-1\">{{message.message}}</span>\n </div>\n <div *ngIf=\"messages.length > 3\" class=\"notification-pill\">{{messages.length - 2}} more...</div>\n</div>\n", styles: [".notification-bar{position:fixed;top:0;left:0;right:0;z-index:1000001;pointer-events:none}.notification-bar .notification-pill{max-width:300px;margin:10px auto;border-radius:4px;color:#000;background:#181818;padding:8px;text-align:center;color:#fff}.notification-bar .error{color:#711e16!important;background:#f8d8d4!important}\n"] }]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i1.NotificationService }]; } });
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ndW5zbWl0aC1jb21tb24vc3JjL25vdGlmaWNhdGlvbi9ub3RpZmljYXRpb24tYmFyL25vdGlmaWNhdGlvbi1iYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZ3Vuc21pdGgtY29tbW9uL3NyYy9ub3RpZmljYXRpb24vbm90aWZpY2F0aW9uLWJhci9ub3RpZmljYXRpb24tYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzlELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDOzs7O0FBU3pELE1BQU0sT0FBTyx3QkFBd0I7SUFXbkMsWUFBb0IsbUJBQXdDO1FBQXhDLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBcUI7UUFUNUQsYUFBUSxHQUEwQixFQUFFLENBQUM7SUFTMkIsQ0FBQztJQVBqRSxJQUFJLFlBQVk7UUFDZCxJQUFJLElBQUksQ0FBQyxRQUFRLENBQUMsTUFBTSxHQUFHLENBQUMsRUFBRTtZQUM1QixPQUFPLElBQUksQ0FBQyxRQUFRLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQ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Z3RoID4gM1wiIGNsYXNzPVwibm90aWZpY2F0aW9uLXBpbGxcIj57e21lc3NhZ2VzLmxlbmd0aCAtIDJ9fSBtb3JlLi4uPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export class NotificationMessage {
|
|
2
|
-
}
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export class NotificationMessage {
|
|
2
|
+
}
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLW1lc3NhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9ndW5zbWl0aC1jb21tb24vc3JjL25vdGlmaWNhdGlvbi9ub3RpZmljYXRpb24tbWVzc2FnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sbUJBQW1CO0NBSS9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTm90aWZpY2F0aW9uVHlwZSB9IGZyb20gJy4vbm90aWZpY2F0aW9uLXR5cGUuZW51bSc7XG5cbmV4cG9ydCBjbGFzcyBOb3RpZmljYXRpb25NZXNzYWdlIHtcbiAgaW5kZXg6IG51bWJlcjtcbiAgdHlwZTogTm90aWZpY2F0aW9uVHlwZTtcbiAgbWVzc2FnZTogc3RyaW5nO1xufVxuIl19
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export var NotificationType;
|
|
2
|
-
(function (NotificationType) {
|
|
3
|
-
NotificationType[NotificationType["Info"] = 0] = "Info";
|
|
4
|
-
NotificationType[NotificationType["Error"] = 1] = "Error";
|
|
5
|
-
})(NotificationType || (NotificationType = {}));
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export var NotificationType;
|
|
2
|
+
(function (NotificationType) {
|
|
3
|
+
NotificationType[NotificationType["Info"] = 0] = "Info";
|
|
4
|
+
NotificationType[NotificationType["Error"] = 1] = "Error";
|
|
5
|
+
})(NotificationType || (NotificationType = {}));
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2d1bnNtaXRoLWNvbW1vbi9zcmMvbm90aWZpY2F0aW9uL25vdGlmaWNhdGlvbi10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksZ0JBR1g7QUFIRCxXQUFZLGdCQUFnQjtJQUMxQix1REFBSSxDQUFBO0lBQ0oseURBQUssQ0FBQTtBQUNQLENBQUMsRUFIVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBRzNCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gTm90aWZpY2F0aW9uVHlwZSB7XG4gIEluZm8sXG4gIEVycm9yXG59XG4iXX0=
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NotificationBarComponent } from './notification-bar/notification-bar.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class NotificationModule {
|
|
6
|
-
}
|
|
7
|
-
NotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationModule, declarations: [NotificationBarComponent], imports: [CommonModule], exports: [NotificationBarComponent] });
|
|
9
|
-
NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationModule, imports: [[
|
|
10
|
-
CommonModule
|
|
11
|
-
]] });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationModule, decorators: [{
|
|
13
|
-
type: NgModule,
|
|
14
|
-
args: [{
|
|
15
|
-
imports: [
|
|
16
|
-
CommonModule
|
|
17
|
-
],
|
|
18
|
-
exports: [
|
|
19
|
-
NotificationBarComponent
|
|
20
|
-
],
|
|
21
|
-
declarations: [
|
|
22
|
-
NotificationBarComponent
|
|
23
|
-
]
|
|
24
|
-
}]
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NotificationBarComponent } from './notification-bar/notification-bar.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class NotificationModule {
|
|
6
|
+
}
|
|
7
|
+
NotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationModule, declarations: [NotificationBarComponent], imports: [CommonModule], exports: [NotificationBarComponent] });
|
|
9
|
+
NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationModule, imports: [[
|
|
10
|
+
CommonModule
|
|
11
|
+
]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
imports: [
|
|
16
|
+
CommonModule
|
|
17
|
+
],
|
|
18
|
+
exports: [
|
|
19
|
+
NotificationBarComponent
|
|
20
|
+
],
|
|
21
|
+
declarations: [
|
|
22
|
+
NotificationBarComponent
|
|
23
|
+
]
|
|
24
|
+
}]
|
|
25
|
+
}] });
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2d1bnNtaXRoLWNvbW1vbi9zcmMvbm90aWZpY2F0aW9uL25vdGlmaWNhdGlvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sK0NBQStDLENBQUM7O0FBYXpGLE1BQU0sT0FBTyxrQkFBa0I7O2dIQUFsQixrQkFBa0I7aUhBQWxCLGtCQUFrQixpQkFIM0Isd0JBQXdCLGFBTnhCLFlBQVksYUFHWix3QkFBd0I7aUhBTWYsa0JBQWtCLFlBVnBCO1lBQ1AsWUFBWTtTQUNiOzRGQVFVLGtCQUFrQjtrQkFYOUIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1Asd0JBQXdCO3FCQUN6QjtvQkFDRCxZQUFZLEVBQUU7d0JBQ1osd0JBQXdCO3FCQUN6QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTm90aWZpY2F0aW9uQmFyQ29tcG9uZW50IH0gZnJvbSAnLi9ub3RpZmljYXRpb24tYmFyL25vdGlmaWNhdGlvbi1iYXIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgTm90aWZpY2F0aW9uQmFyQ29tcG9uZW50XG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIE5vdGlmaWNhdGlvbkJhckNvbXBvbmVudFxuICBdXG59KVxuZXhwb3J0IGNsYXNzIE5vdGlmaWNhdGlvbk1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class NotificationService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.messageUpdatedSource = new Subject();
|
|
7
|
-
this.messageUpdated = this.messageUpdatedSource.asObservable();
|
|
8
|
-
}
|
|
9
|
-
addMessage(type, message) {
|
|
10
|
-
this.messageUpdatedSource.next({ index: 0, type: type, message: message });
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
-
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationService, decorators: [{
|
|
16
|
-
type: Injectable,
|
|
17
|
-
args: [{
|
|
18
|
-
providedIn: 'root'
|
|
19
|
-
}]
|
|
20
|
-
}], ctorParameters: function () { return []; } });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class NotificationService {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.messageUpdatedSource = new Subject();
|
|
7
|
+
this.messageUpdated = this.messageUpdatedSource.asObservable();
|
|
8
|
+
}
|
|
9
|
+
addMessage(type, message) {
|
|
10
|
+
this.messageUpdatedSource.next({ index: 0, type: type, message: message });
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NotificationService, decorators: [{
|
|
16
|
+
type: Injectable,
|
|
17
|
+
args: [{
|
|
18
|
+
providedIn: 'root'
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: function () { return []; } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9ndW5zbWl0aC1jb21tb24vc3JjL25vdGlmaWNhdGlvbi9ub3RpZmljYXRpb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxPQUFPLEVBQWMsTUF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WVzc2FnZVVwZGF0ZWQ6IE9ic2VydmFibGU8Tm90aWZpY2F0aW9uTWVzc2FnZT4gPSB0aGlzLm1lc3NhZ2VVcGRhdGVkU291cmNlLmFzT2JzZXJ2YWJsZSgpO1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgYWRkTWVzc2FnZSh0eXBlOiBOb3RpZmljYXRpb25UeXBlLCBtZXNzYWdlOiBzdHJpbmcpIHtcbiAgICB0aGlzLm1lc3NhZ2VVcGRhdGVkU291cmNlLm5leHQoeyBpbmRleDogMCwgdHlwZTogdHlwZSwgbWVzc2FnZTogbWVzc2FnZSB9KTtcbiAgfVxufVxuIl19
|
package/esm2020/public_api.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of gunsmith-common
|
|
3
|
-
*/
|
|
4
|
-
export * from './shared/utils';
|
|
5
|
-
export * from './shared/types';
|
|
6
|
-
export * from './shared/services';
|
|
7
|
-
export * from './shared/pipes';
|
|
8
|
-
export * from './shared/directives';
|
|
9
|
-
export * from "./shared/controls/form-error-message/form-error-message.component";
|
|
10
|
-
export * from "./shared/controls/modal-header/modal-header.component";
|
|
11
|
-
export * from './shared/shared.module';
|
|
12
|
-
export * from './notification/notification.module';
|
|
13
|
-
export * from './notification';
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of gunsmith-common
|
|
3
|
+
*/
|
|
4
|
+
export * from './shared/utils';
|
|
5
|
+
export * from './shared/types';
|
|
6
|
+
export * from './shared/services';
|
|
7
|
+
export * from './shared/pipes';
|
|
8
|
+
export * from './shared/directives';
|
|
9
|
+
export * from "./shared/controls/form-error-message/form-error-message.component";
|
|
10
|
+
export * from "./shared/controls/modal-header/modal-header.component";
|
|
11
|
+
export * from './shared/shared.module';
|
|
12
|
+
export * from './notification/notification.module';
|
|
13
|
+
export * from './notification';
|
|
14
|
+
//# sourceMappingURL=data:application/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CAqIGZyb20gJy4vc2hhcmVkL3NoYXJlZC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9ub3RpZmljYXRpb24vbm90aWZpY2F0aW9uLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL25vdGlmaWNhdGlvbic7XG4iXX0=
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { AbstractControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class FormErrorMessageComponent {
|
|
6
|
-
}
|
|
7
|
-
FormErrorMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
FormErrorMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormErrorMessageComponent, selector: "cgw-error-message", inputs: { control: "control", controlName: "controlName" }, ngImport: i0, template: "<div *ngIf=\"control.invalid && (control.dirty || control.touched)\" class=\"error-container text-danger\">\
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormErrorMessageComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'cgw-error-message', template: "<div *ngIf=\"control.invalid && (control.dirty || control.touched)\" class=\"error-container text-danger\">\
|
|
12
|
-
}], propDecorators: { control: [{
|
|
13
|
-
type: Input
|
|
14
|
-
}], controlName: [{
|
|
15
|
-
type: Input
|
|
16
|
-
}] } });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class FormErrorMessageComponent {
|
|
6
|
+
}
|
|
7
|
+
FormErrorMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
FormErrorMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormErrorMessageComponent, selector: "cgw-error-message", inputs: { control: "control", controlName: "controlName" }, ngImport: i0, template: "<div *ngIf=\"control.invalid && (control.dirty || control.touched)\" class=\"error-container text-danger\">\n <div *ngIf=\"control.errors.required\">\n {{controlName}} is required.\n </div>\n</div>\n", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormErrorMessageComponent, decorators: [{
|
|
10
|
+
type: Component,
|
|
11
|
+
args: [{ selector: 'cgw-error-message', template: "<div *ngIf=\"control.invalid && (control.dirty || control.touched)\" class=\"error-container text-danger\">\n <div *ngIf=\"control.errors.required\">\n {{controlName}} is required.\n </div>\n</div>\n", styles: [""] }]
|
|
12
|
+
}], propDecorators: { control: [{
|
|
13
|
+
type: Input
|
|
14
|
+
}], controlName: [{
|
|
15
|
+
type: Input
|
|
16
|
+
}] } });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1lcnJvci1tZXNzYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2d1bnNtaXRoLWNvbW1vbi9zcmMvc2hhcmVkL2NvbnRyb2xzL2Zvcm0tZXJyb3ItbWVzc2FnZS9mb3JtLWVycm9yLW1lc3NhZ2UuY29tcG9uZW50LnRzIiwiLi4v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gKm5nSWY9XCJjb250cm9sLmludmFsaWQgJiYgKGNvbnRyb2wuZGlydHkgfHwgY29udHJvbC50b3VjaGVkKVwiIGNsYXNzPVwiZXJyb3ItY29udGFpbmVyIHRleHQtZGFuZ2VyXCI+XG4gIDxkaXYgKm5nSWY9XCJjb250cm9sLmVycm9ycy5yZXF1aXJlZFwiPlxuICAgIHt7Y29udHJvbE5hbWV9fSBpcyByZXF1aXJlZC5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Component, Output, EventEmitter, Input } from "@angular/core";
|
|
2
|
-
import { FormGroup } from "@angular/forms";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class ModalHeaderComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.close = new EventEmitter();
|
|
7
|
-
}
|
|
8
|
-
onCloseClick(e) {
|
|
9
|
-
e.preventDefault();
|
|
10
|
-
this.close.emit(e);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
ModalHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ModalHeaderComponent, selector: "cgw-modal-header", inputs: { headerTitle: "headerTitle", form: "form" }, outputs: { close: "close" }, ngImport: i0, template: "<div class=\"modal-header\">\
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{ selector: 'cgw-modal-header', template: "<div class=\"modal-header\">\
|
|
18
|
-
}], propDecorators: { headerTitle: [{
|
|
19
|
-
type: Input
|
|
20
|
-
}], form: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], close: [{
|
|
23
|
-
type: Output
|
|
24
|
-
}] } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Output, EventEmitter, Input } from "@angular/core";
|
|
2
|
+
import { FormGroup } from "@angular/forms";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class ModalHeaderComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.close = new EventEmitter();
|
|
7
|
+
}
|
|
8
|
+
onCloseClick(e) {
|
|
9
|
+
e.preventDefault();
|
|
10
|
+
this.close.emit(e);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
ModalHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
ModalHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ModalHeaderComponent, selector: "cgw-modal-header", inputs: { headerTitle: "headerTitle", form: "form" }, outputs: { close: "close" }, ngImport: i0, template: "<div class=\"modal-header\">\n <div class=\"modal-title\">\n <a href=\"#\" (click)=\"onCloseClick($event)\" title=\"Close\"><i class=\"fas fa-arrow-left text-white\"></i></a>\n <span class=\"ms-2\">{{headerTitle}}</span>\n </div>\n <button class=\"btn btn-primary btn-sm float-end\"\n type=\"submit\"\n title=\"Save\"\n [class.btn-warning]=\"form.dirty\"\n [class.btn-primary]=\"!form.dirty\"\n [disabled]=\"form.invalid\">\n <i class=\"fa-fw far fa-save\"></i>\n </button>\n </div>\n", styles: [""] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{ selector: 'cgw-modal-header', template: "<div class=\"modal-header\">\n <div class=\"modal-title\">\n <a href=\"#\" (click)=\"onCloseClick($event)\" title=\"Close\"><i class=\"fas fa-arrow-left text-white\"></i></a>\n <span class=\"ms-2\">{{headerTitle}}</span>\n </div>\n <button class=\"btn btn-primary btn-sm float-end\"\n type=\"submit\"\n title=\"Save\"\n [class.btn-warning]=\"form.dirty\"\n [class.btn-primary]=\"!form.dirty\"\n [disabled]=\"form.invalid\">\n <i class=\"fa-fw far fa-save\"></i>\n </button>\n </div>\n", styles: [""] }]
|
|
18
|
+
}], propDecorators: { headerTitle: [{
|
|
19
|
+
type: Input
|
|
20
|
+
}], form: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}], close: [{
|
|
23
|
+
type: Output
|
|
24
|
+
}] } });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2d1bnNtaXRoLWNvbW1vbi9zcmMvc2hhcmVkL2NvbnRyb2xzL21vZGFsLWhlYWRlci9tb2RhbC1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZ3Vuc21pdGgtY29tbW9uL3NyYy9zaGFyZWQvY29udHJvbHMvbW9kYWwtaGVhZGVyL21vZGFsLWhlYWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7QUFPM0MsTUFBTSxPQUFPLG9CQUFvQjtJQUxqQztRQVVZLFVBQUssR0FBRyxJQUFJLFlBQVksRUFBMkIsQ0FBQTtLQU05RDtJQUpDLFlBQVksQ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9zZS5lbWl0KGUpO1xuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwibW9kYWwtaGVhZGVyXCI+XG4gICAgPGRpdiBjbGFzcz1cIm1vZGFsLXRpdGxlXCI+XG4gICAgICA8YSBocmVmPVwiI1wiIChjbGljayk9XCJvbkNsb3NlQ2xpY2soJGV2ZW50KVwiIHRpdGxlPVwiQ2xvc2VcIj48aSBjbGFzcz1cImZhcyBmYS1hcnJvdy1sZWZ0IHRleHQtd2hpdGVcIj48L2k+PC9hPlxuICAgICAgPHNwYW4gY2xhc3M9XCJtcy0yXCI+e3toZWFkZXJUaXRsZX19PC9zcGFuPlxuICAgIDwvZGl2PlxuICAgIDxidXR0b24gY2xhc3M9XCJidG4gYnRuLXByaW1hcnkgYnRuLXNtIGZsb2F0LWVuZFwiXG4gICAgICAgICAgICB0eXBlPVwic3VibWl0XCJcbiAgICAgICAgICAgIHRpdGxlPVwiU2F2ZVwiXG4gICAgICAgICAgICBbY2xhc3MuYnRuLXdhcm5pbmddPVwiZm9ybS5kaXJ0eVwiXG4gICAgICAgICAgICBbY2xhc3MuYnRuLXByaW1hcnldPVwiIWZvcm0uZGlydHlcIlxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImZvcm0uaW52YWxpZFwiPlxuICAgICAgPGkgY2xhc3M9XCJmYS1mdyBmYXIgZmEtc2F2ZVwiPjwvaT5cbiAgICA8L2J1dHRvbj5cbiAgPC9kaXY+XG4iXX0=
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/forms";
|
|
5
|
-
export class DisableControlDirective {
|
|
6
|
-
constructor(ngControl) {
|
|
7
|
-
this.ngControl = ngControl;
|
|
8
|
-
}
|
|
9
|
-
set disableControl(condition) {
|
|
10
|
-
const action = condition ? 'disable' : 'enable';
|
|
11
|
-
this.ngControl.control[action]();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DisableControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisableControlDirective, deps: [{ token: i1.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
-
DisableControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DisableControlDirective, selector: "[disableControl]", inputs: { disableControl: "disableControl" }, ngImport: i0 });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisableControlDirective, decorators: [{
|
|
17
|
-
type: Directive,
|
|
18
|
-
args: [{
|
|
19
|
-
selector: '[disableControl]'
|
|
20
|
-
}]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: i1.NgControl }]; }, propDecorators: { disableControl: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/forms";
|
|
5
|
+
export class DisableControlDirective {
|
|
6
|
+
constructor(ngControl) {
|
|
7
|
+
this.ngControl = ngControl;
|
|
8
|
+
}
|
|
9
|
+
set disableControl(condition) {
|
|
10
|
+
const action = condition ? 'disable' : 'enable';
|
|
11
|
+
this.ngControl.control[action]();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
DisableControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisableControlDirective, deps: [{ token: i1.NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
DisableControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DisableControlDirective, selector: "[disableControl]", inputs: { disableControl: "disableControl" }, ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisableControlDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[disableControl]'
|
|
20
|
+
}]
|
|
21
|
+
}], ctorParameters: function () { return [{ type: i1.NgControl }]; }, propDecorators: { disableControl: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzYWJsZS1jb250cm9sLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2d1bnNtaXRoLWNvbW1vbi9zcmMvc2hhcmVkL2RpcmVjdGl2ZXMvZGlzYWJsZS1jb250cm9sLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7OztBQUszQyxNQUFNLE9BQU8sdUJBQXVCO0lBT2xDLFlBQW9CLFNBQW9CO1FBQXBCLGNBQVMsR0FBVCxTQUFTLENBQVc7SUFBSSxDQUFDO0lBTjdDLElBQWEsY0FBYyxDQUFDLFNBQWtCO1FBQzVDLE1BQU0sTUFBTSxHQUFHLFNBQVMsQ0FBQyxDQUFDLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUM7UUFDaEQsSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQztJQUNuQyxDQUFDOztxSEFKVSx1QkFBdUI7eUdBQXZCLHVCQUF1Qjs0RkFBdkIsdUJBQXVCO2tCQUhuQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxrQkFBa0I7aUJBQzdCO2dHQUVjLGNBQWM7c0JBQTFCLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBOZ0NvbnRyb2wgfSBmcm9tICdAYW5ndWxhci9mb3Jtcyc7XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1tkaXNhYmxlQ29udHJvbF0nXG59KVxuZXhwb3J0IGNsYXNzIERpc2FibGVDb250cm9sRGlyZWN0aXZlIHtcbiAgQElucHV0KCkgc2V0IGRpc2FibGVDb250cm9sKGNvbmRpdGlvbjogYm9vbGVhbikge1xuICAgIGNvbnN0IGFjdGlvbiA9IGNvbmRpdGlvbiA/ICdkaXNhYmxlJyA6ICdlbmFibGUnO1xuICAgIHRoaXMubmdDb250cm9sLmNvbnRyb2xbYWN0aW9uXSgpO1xuICB9XG5cblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIG5nQ29udHJvbDogTmdDb250cm9sKSB7IH1cblxufVxuIl19
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './disable-control.directive';
|
|
2
|
-
export * from './refinish-details-validators';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './disable-control.directive';
|
|
2
|
+
export * from './refinish-details-validators';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ndW5zbWl0aC1jb21tb24vc3JjL3NoYXJlZC9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGlzYWJsZS1jb250cm9sLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3JlZmluaXNoLWRldGFpbHMtdmFsaWRhdG9ycyc7XG4iXX0=
|