@symphony-talent/component-library 3.7.0 → 3.9.0
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/lib/molecules/invoice-line-item/invoice-line-item.model.mjs +1 -1
- package/esm2020/lib/organisms/advertise-postingboard-selection-list/advertise-postingboard-selection-list.component.mjs +17 -5
- package/esm2020/lib/organisms/cancel-modal/cancel-modal.component.mjs +32 -0
- package/esm2020/lib/organisms/cancel-modal/cancel-modal.model.mjs +2 -0
- package/esm2020/lib/organisms/cancel-modal/cancel-modal.module.mjs +22 -0
- package/esm2020/lib/organisms/invoice-area/invoice-area.component.mjs +22 -0
- package/esm2020/lib/organisms/invoice-area/invoice-area.model.mjs +2 -0
- package/esm2020/lib/organisms/invoice-area/invoice-area.module.mjs +20 -0
- package/esm2020/lib/organisms/order-summary/order-summary.component.mjs +23 -0
- package/esm2020/lib/organisms/order-summary/order-summary.model.mjs +2 -0
- package/esm2020/lib/organisms/order-summary/order-summary.module.mjs +21 -0
- package/esm2020/lib/organisms/organisms.module.mjs +6 -2
- package/esm2020/lib/pages/modals/advertise-modal/advertise-modal.component.mjs +99 -19
- package/esm2020/lib/pages/modals/advertise-modal/advertise-modal.model.mjs +1 -1
- package/esm2020/lib/pages/modals/advertise-modal/advertise-modal.module.mjs +20 -4
- package/esm2020/lib/templates/modal-templates/two-column-modal-template/two-column-modal-template.component.mjs +2 -2
- package/esm2020/projects/component-library/lib/molecules/invoice-line-item/invoice-line-item.model.mjs +1 -1
- package/esm2020/projects/component-library/lib/organisms/advertise-postingboard-selection-list/advertise-postingboard-selection-list.component.mjs +17 -5
- package/esm2020/projects/component-library/lib/organisms/cancel-modal/cancel-modal.component.mjs +32 -0
- package/esm2020/projects/component-library/lib/organisms/cancel-modal/cancel-modal.model.mjs +2 -0
- package/esm2020/projects/component-library/lib/organisms/cancel-modal/cancel-modal.module.mjs +22 -0
- package/esm2020/projects/component-library/lib/organisms/invoice-area/invoice-area.component.mjs +22 -0
- package/esm2020/projects/component-library/lib/organisms/invoice-area/invoice-area.model.mjs +2 -0
- package/esm2020/projects/component-library/lib/organisms/invoice-area/invoice-area.module.mjs +20 -0
- package/esm2020/projects/component-library/lib/organisms/order-summary/order-summary.component.mjs +23 -0
- package/esm2020/projects/component-library/lib/organisms/order-summary/order-summary.model.mjs +2 -0
- package/esm2020/projects/component-library/lib/organisms/order-summary/order-summary.module.mjs +21 -0
- package/esm2020/projects/component-library/lib/organisms/organisms.module.mjs +6 -2
- package/esm2020/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.component.mjs +99 -19
- package/esm2020/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.model.mjs +1 -1
- package/esm2020/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.module.mjs +20 -4
- package/esm2020/projects/component-library/lib/templates/modal-templates/two-column-modal-template/two-column-modal-template.component.mjs +2 -2
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +228 -22
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2015/symphony-talent-component-library.mjs +228 -22
- package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +228 -22
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library.mjs +228 -22
- package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
- package/lib/molecules/invoice-line-item/invoice-line-item.model.d.ts +1 -1
- package/lib/organisms/advertise-postingboard-selection-list/advertise-postingboard-selection-list.component.d.ts +5 -1
- package/lib/organisms/cancel-modal/cancel-modal.component.d.ts +13 -0
- package/lib/organisms/cancel-modal/cancel-modal.model.d.ts +6 -0
- package/lib/organisms/cancel-modal/cancel-modal.module.d.ts +12 -0
- package/lib/organisms/invoice-area/invoice-area.component.d.ts +8 -0
- package/lib/organisms/invoice-area/invoice-area.model.d.ts +6 -0
- package/lib/organisms/invoice-area/invoice-area.module.d.ts +10 -0
- package/lib/organisms/order-summary/order-summary.component.d.ts +8 -0
- package/lib/organisms/order-summary/order-summary.model.d.ts +7 -0
- package/lib/organisms/order-summary/order-summary.module.d.ts +11 -0
- package/lib/organisms/organisms.module.d.ts +2 -1
- package/lib/pages/modals/advertise-modal/advertise-modal.component.d.ts +15 -1
- package/lib/pages/modals/advertise-modal/advertise-modal.model.d.ts +3 -7
- package/lib/pages/modals/advertise-modal/advertise-modal.module.d.ts +16 -12
- package/package.json +1 -1
- package/projects/component-library/global-assets/spacing.scss +4 -0
- package/projects/component-library/lib/molecules/invoice-line-item/invoice-line-item.model.d.ts +1 -1
- package/projects/component-library/lib/organisms/advertise-postingboard-selection-list/advertise-postingboard-selection-list.component.d.ts +5 -1
- package/projects/component-library/lib/organisms/cancel-modal/cancel-modal.component.d.ts +13 -0
- package/projects/component-library/lib/organisms/cancel-modal/cancel-modal.model.d.ts +6 -0
- package/projects/component-library/lib/organisms/cancel-modal/cancel-modal.module.d.ts +12 -0
- package/projects/component-library/lib/organisms/invoice-area/invoice-area.component.d.ts +8 -0
- package/projects/component-library/lib/organisms/invoice-area/invoice-area.model.d.ts +6 -0
- package/projects/component-library/lib/organisms/invoice-area/invoice-area.module.d.ts +10 -0
- package/projects/component-library/lib/organisms/order-summary/order-summary.component.d.ts +8 -0
- package/projects/component-library/lib/organisms/order-summary/order-summary.model.d.ts +7 -0
- package/projects/component-library/lib/organisms/order-summary/order-summary.module.d.ts +11 -0
- package/projects/component-library/lib/organisms/organisms.module.d.ts +2 -1
- package/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.component.d.ts +15 -1
- package/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.model.d.ts +3 -7
- package/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.module.d.ts +16 -12
|
@@ -2660,6 +2660,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
2660
2660
|
}]
|
|
2661
2661
|
}] });
|
|
2662
2662
|
|
|
2663
|
+
class CancelModalComponent {
|
|
2664
|
+
constructor() {
|
|
2665
|
+
this.model = {};
|
|
2666
|
+
this.buttonClicked = new EventEmitter();
|
|
2667
|
+
this.closeButtonClicked = new EventEmitter();
|
|
2668
|
+
}
|
|
2669
|
+
onButtonClick(text) {
|
|
2670
|
+
this.buttonClicked.emit(text);
|
|
2671
|
+
}
|
|
2672
|
+
onCloseButtonClick() {
|
|
2673
|
+
this.closeButtonClicked.emit();
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
CancelModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2677
|
+
CancelModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: CancelModalComponent, selector: "symphony-cancel-modal", inputs: { model: "model" }, outputs: { buttonClicked: "buttonClicked", closeButtonClicked: "closeButtonClicked" }, ngImport: i0, template: "<div class=\"sfx sfx-modal\">\n <section class=\"modal-header sfx-p-30 sfx-pt-40\">\n <div class=\"modal-title\">\n <div class=\"row\">\n <div class=\"col-xs-8 col-sm-8 col-md-8 col-lg-8\">\n <symphony-h4 [text]=\"model.title\"\n ></symphony-h4\n >\n </div>\n <div class=\"col-xs-4 col-sm-4 col-md-4 col-lg-4\">\n <symphony-icon\n class=\"pull-right\"\n [icon]=\"'si-close-modal'\"\n (clicked)=\"onCloseButtonClick()\"\n ></symphony-icon>\n </div> \n </div>\n </div>\n </section>\n <section class=\"modal-body sfx-p-30\">\n <symphony-paragraph [text]=\"model.content\"></symphony-paragraph>\n </section>\n <section class=\"modal-footer sfx-pt-30 sfx-pb-40\">\n <symphony-button\n [text]=\"model.btnSecondary\"\n [isSecondary]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n <symphony-button\n class=\"sfx-ml-20\"\n [text]=\"model.btnPrimary\"\n [disabled]=\"false\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n </section>\n</div>", styles: [""], components: [{ type: H4Component, selector: "symphony-h4", inputs: ["text", "isSecondary"] }, { type: IconComponent, selector: "symphony-icon", inputs: ["icon", "isSecondary", "size", "iconColor"], outputs: ["clicked"] }, { type: ParagraphComponent, selector: "symphony-paragraph", inputs: ["text", "isSecondary"] }, { type: ButtonComponent, selector: "symphony-button", inputs: ["text", "disabled", "isSecondary", "isInverse"], outputs: ["clicked"] }] });
|
|
2678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalComponent, decorators: [{
|
|
2679
|
+
type: Component,
|
|
2680
|
+
args: [{ selector: 'symphony-cancel-modal', template: "<div class=\"sfx sfx-modal\">\n <section class=\"modal-header sfx-p-30 sfx-pt-40\">\n <div class=\"modal-title\">\n <div class=\"row\">\n <div class=\"col-xs-8 col-sm-8 col-md-8 col-lg-8\">\n <symphony-h4 [text]=\"model.title\"\n ></symphony-h4\n >\n </div>\n <div class=\"col-xs-4 col-sm-4 col-md-4 col-lg-4\">\n <symphony-icon\n class=\"pull-right\"\n [icon]=\"'si-close-modal'\"\n (clicked)=\"onCloseButtonClick()\"\n ></symphony-icon>\n </div> \n </div>\n </div>\n </section>\n <section class=\"modal-body sfx-p-30\">\n <symphony-paragraph [text]=\"model.content\"></symphony-paragraph>\n </section>\n <section class=\"modal-footer sfx-pt-30 sfx-pb-40\">\n <symphony-button\n [text]=\"model.btnSecondary\"\n [isSecondary]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n <symphony-button\n class=\"sfx-ml-20\"\n [text]=\"model.btnPrimary\"\n [disabled]=\"false\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n </section>\n</div>", styles: [""] }]
|
|
2681
|
+
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
2682
|
+
type: Input
|
|
2683
|
+
}], buttonClicked: [{
|
|
2684
|
+
type: Output
|
|
2685
|
+
}], closeButtonClicked: [{
|
|
2686
|
+
type: Output
|
|
2687
|
+
}] } });
|
|
2688
|
+
|
|
2689
|
+
class CancelModalModule {
|
|
2690
|
+
}
|
|
2691
|
+
CancelModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2692
|
+
CancelModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalModule, declarations: [CancelModalComponent], imports: [CommonModule, H4Module, ParagraphModule, IconModule, ButtonModule], exports: [CancelModalComponent] });
|
|
2693
|
+
CancelModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalModule, imports: [[CommonModule, H4Module, ParagraphModule, IconModule, ButtonModule]] });
|
|
2694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalModule, decorators: [{
|
|
2695
|
+
type: NgModule,
|
|
2696
|
+
args: [{
|
|
2697
|
+
declarations: [CancelModalComponent],
|
|
2698
|
+
imports: [CommonModule, H4Module, ParagraphModule, IconModule, ButtonModule],
|
|
2699
|
+
exports: [CancelModalComponent],
|
|
2700
|
+
}]
|
|
2701
|
+
}] });
|
|
2702
|
+
|
|
2663
2703
|
class OrganismsModule {
|
|
2664
2704
|
}
|
|
2665
2705
|
OrganismsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrganismsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2668,7 +2708,8 @@ OrganismsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
2668
2708
|
TaskListModule,
|
|
2669
2709
|
TypographyModule,
|
|
2670
2710
|
IconExplorerModule,
|
|
2671
|
-
CardListModule
|
|
2711
|
+
CardListModule,
|
|
2712
|
+
CancelModalModule] });
|
|
2672
2713
|
OrganismsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrganismsModule, imports: [[
|
|
2673
2714
|
CommonModule,
|
|
2674
2715
|
NoteListModule,
|
|
@@ -2676,6 +2717,7 @@ OrganismsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
2676
2717
|
TypographyModule,
|
|
2677
2718
|
IconExplorerModule,
|
|
2678
2719
|
CardListModule,
|
|
2720
|
+
CancelModalModule
|
|
2679
2721
|
]] });
|
|
2680
2722
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrganismsModule, decorators: [{
|
|
2681
2723
|
type: NgModule,
|
|
@@ -2688,6 +2730,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
2688
2730
|
TypographyModule,
|
|
2689
2731
|
IconExplorerModule,
|
|
2690
2732
|
CardListModule,
|
|
2733
|
+
CancelModalModule
|
|
2691
2734
|
],
|
|
2692
2735
|
}]
|
|
2693
2736
|
}] });
|
|
@@ -2946,10 +2989,10 @@ class TwoColumnModalTemplateComponent {
|
|
|
2946
2989
|
constructor() { }
|
|
2947
2990
|
}
|
|
2948
2991
|
TwoColumnModalTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TwoColumnModalTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2949
|
-
TwoColumnModalTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: TwoColumnModalTemplateComponent, selector: "symphony-two-column-modal-template", ngImport: i0, template: "<div class=\"sfx sfx-modal\">\n <!-- main title -->\n <section class=\"modal-header sfx-p-30 sfx-pt-40\">\n <div class=\"modal-title sfx-pb-30\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-6 col-md-6 sfx-pr-30\">\n <ng-content select=\"[sfx-modal-title]\"></ng-content>\n </div>\n <span class=\"pull-right sfx-pr-15\" style=\"padding-top: 1px\">\n <ng-content select=\"[sfx-close-button]\"></ng-content>\n </span>\n </div>\n </div>\n <div class=\"modal-subtitle\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-6 col-md-6 sfx-pr-30\">\n <ng-content select=\"[sfx-modal-subtitle]\"></ng-content>\n </div>\n </div>\n </div>\n </section>\n <section class=\"modal-body-area sfx-pt-0\">\n <ng-content select=\"[sfx-modal-body-area]\"></ng-content>\n </section>\n <!-- footer -->\n <section class=\"modal-footer sfx-bg-black sfx-pt-30 sfx-pb-40\">\n <div class=\"col-xs-6\">\n <span class=\"sfx-pr-10 pull-left\">\n <ng-content select=\"[sfx-button-back]\"></ng-content>\n </span>\n </div>\n <div class=\"col-xs-6\">\n <div class=\"sfx-d-flex pull-right\">\n <span class=\"sfx-pr-10\">\n <ng-content select=\"[sfx-button-secondary]\"></ng-content>\n </span>\n <span class=\"sfx-pl-10\">\n <ng-content select=\"[sfx-button-primary]\"></ng-content>\n </span>\n </div>\n </div>\n </section>\n</div>\n", styles: [".pull-left{float:left}\n"] });
|
|
2992
|
+
TwoColumnModalTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: TwoColumnModalTemplateComponent, selector: "symphony-two-column-modal-template", ngImport: i0, template: "<div class=\"sfx sfx-modal\">\n <!-- main title -->\n <section class=\"modal-header sfx-p-30 sfx-pt-40\">\n <div class=\"modal-title sfx-pb-30\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-6 col-md-6 sfx-pr-30\">\n <ng-content select=\"[sfx-modal-title]\"></ng-content>\n </div>\n <span class=\"pull-right sfx-pr-15\" style=\"padding-top: 1px\">\n <ng-content select=\"[sfx-close-button]\"></ng-content>\n </span>\n </div>\n </div>\n <div class=\"modal-subtitle\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-6 col-md-6 sfx-pr-30\">\n <ng-content select=\"[sfx-modal-subtitle]\"></ng-content>\n </div>\n </div>\n </div>\n </section>\n <section class=\"modal-body-area sfx-pt-0\">\n <ng-content select=\"[sfx-modal-body-area]\"></ng-content>\n </section>\n <!-- footer -->\n <section class=\"modal-footer sfx-bg-black sfx-pt-30 sfx-pb-40\">\n <div class=\"col-xs-6\">\n <span class=\"sfx-pr-10 pull-left\">\n <ng-content select=\"[sfx-button-back]\"></ng-content>\n </span>\n </div>\n <div class=\"col-xs-6\">\n <div class=\"sfx-d-flex pull-right\">\n <span class=\"sfx-pr-10\">\n <ng-content select=\"[sfx-button-secondary]\"></ng-content>\n </span>\n <span class=\"sfx-pl-10\">\n <ng-content select=\"[sfx-button-primary]\"></ng-content>\n </span>\n </div>\n </div>\n </section>\n</div>\n", styles: [".pull-left{float:left}.modal-footer{min-height:130px}\n"] });
|
|
2950
2993
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TwoColumnModalTemplateComponent, decorators: [{
|
|
2951
2994
|
type: Component,
|
|
2952
|
-
args: [{ selector: 'symphony-two-column-modal-template', template: "<div class=\"sfx sfx-modal\">\n <!-- main title -->\n <section class=\"modal-header sfx-p-30 sfx-pt-40\">\n <div class=\"modal-title sfx-pb-30\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-6 col-md-6 sfx-pr-30\">\n <ng-content select=\"[sfx-modal-title]\"></ng-content>\n </div>\n <span class=\"pull-right sfx-pr-15\" style=\"padding-top: 1px\">\n <ng-content select=\"[sfx-close-button]\"></ng-content>\n </span>\n </div>\n </div>\n <div class=\"modal-subtitle\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-6 col-md-6 sfx-pr-30\">\n <ng-content select=\"[sfx-modal-subtitle]\"></ng-content>\n </div>\n </div>\n </div>\n </section>\n <section class=\"modal-body-area sfx-pt-0\">\n <ng-content select=\"[sfx-modal-body-area]\"></ng-content>\n </section>\n <!-- footer -->\n <section class=\"modal-footer sfx-bg-black sfx-pt-30 sfx-pb-40\">\n <div class=\"col-xs-6\">\n <span class=\"sfx-pr-10 pull-left\">\n <ng-content select=\"[sfx-button-back]\"></ng-content>\n </span>\n </div>\n <div class=\"col-xs-6\">\n <div class=\"sfx-d-flex pull-right\">\n <span class=\"sfx-pr-10\">\n <ng-content select=\"[sfx-button-secondary]\"></ng-content>\n </span>\n <span class=\"sfx-pl-10\">\n <ng-content select=\"[sfx-button-primary]\"></ng-content>\n </span>\n </div>\n </div>\n </section>\n</div>\n", styles: [".pull-left{float:left}\n"] }]
|
|
2995
|
+
args: [{ selector: 'symphony-two-column-modal-template', template: "<div class=\"sfx sfx-modal\">\n <!-- main title -->\n <section class=\"modal-header sfx-p-30 sfx-pt-40\">\n <div class=\"modal-title sfx-pb-30\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-6 col-md-6 sfx-pr-30\">\n <ng-content select=\"[sfx-modal-title]\"></ng-content>\n </div>\n <span class=\"pull-right sfx-pr-15\" style=\"padding-top: 1px\">\n <ng-content select=\"[sfx-close-button]\"></ng-content>\n </span>\n </div>\n </div>\n <div class=\"modal-subtitle\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-6 col-md-6 sfx-pr-30\">\n <ng-content select=\"[sfx-modal-subtitle]\"></ng-content>\n </div>\n </div>\n </div>\n </section>\n <section class=\"modal-body-area sfx-pt-0\">\n <ng-content select=\"[sfx-modal-body-area]\"></ng-content>\n </section>\n <!-- footer -->\n <section class=\"modal-footer sfx-bg-black sfx-pt-30 sfx-pb-40\">\n <div class=\"col-xs-6\">\n <span class=\"sfx-pr-10 pull-left\">\n <ng-content select=\"[sfx-button-back]\"></ng-content>\n </span>\n </div>\n <div class=\"col-xs-6\">\n <div class=\"sfx-d-flex pull-right\">\n <span class=\"sfx-pr-10\">\n <ng-content select=\"[sfx-button-secondary]\"></ng-content>\n </span>\n <span class=\"sfx-pl-10\">\n <ng-content select=\"[sfx-button-primary]\"></ng-content>\n </span>\n </div>\n </div>\n </section>\n</div>\n", styles: [".pull-left{float:left}.modal-footer{min-height:130px}\n"] }]
|
|
2953
2996
|
}], ctorParameters: function () { return []; } });
|
|
2954
2997
|
|
|
2955
2998
|
class TwoColumnBodyTemplateComponent {
|
|
@@ -3037,13 +3080,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3037
3080
|
}] } });
|
|
3038
3081
|
|
|
3039
3082
|
class AdvertisePostingboardSelectionListComponent {
|
|
3040
|
-
constructor() {
|
|
3083
|
+
constructor() {
|
|
3084
|
+
this.postingBoardChange = new EventEmitter();
|
|
3085
|
+
}
|
|
3086
|
+
onPostingBoardSelect(selectedBoard) {
|
|
3087
|
+
console.log('onPostingBoardSelect');
|
|
3088
|
+
this.postingBoardChange.emit(selectedBoard);
|
|
3089
|
+
}
|
|
3090
|
+
onPriceChange(priceChangeBoard) {
|
|
3091
|
+
console.log('onPriceChange');
|
|
3092
|
+
this.postingBoardChange.emit(priceChangeBoard);
|
|
3093
|
+
}
|
|
3041
3094
|
}
|
|
3042
3095
|
AdvertisePostingboardSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AdvertisePostingboardSelectionListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3043
|
-
AdvertisePostingboardSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: AdvertisePostingboardSelectionListComponent, selector: "symphony-advertise-postingboard-selection-list", inputs: { model: "model" }, ngImport: i0, template: "<symphony-advertise-postingboard-selection-item\n *ngFor=\"let item of model\"\n [model]=\"item\"\n></symphony-advertise-postingboard-selection-item>\n", styles: [""], components: [{ type: AdvertisePostingboardSelectionItemComponent, selector: "symphony-advertise-postingboard-selection-item", inputs: ["model"], outputs: ["priceChange", "postingBoardSelect"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
3096
|
+
AdvertisePostingboardSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: AdvertisePostingboardSelectionListComponent, selector: "symphony-advertise-postingboard-selection-list", inputs: { model: "model" }, outputs: { postingBoardChange: "postingBoardChange" }, ngImport: i0, template: "<symphony-advertise-postingboard-selection-item\n *ngFor=\"let item of model\"\n [model]=\"item\"\n (postingBoardSelect)=\"onPostingBoardSelect($event)\"\n (priceChange)=\"onPriceChange($event)\"\n></symphony-advertise-postingboard-selection-item>\n", styles: [""], components: [{ type: AdvertisePostingboardSelectionItemComponent, selector: "symphony-advertise-postingboard-selection-item", inputs: ["model"], outputs: ["priceChange", "postingBoardSelect"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
3044
3097
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AdvertisePostingboardSelectionListComponent, decorators: [{
|
|
3045
3098
|
type: Component,
|
|
3046
|
-
args: [{ selector: 'symphony-advertise-postingboard-selection-list', template: "<symphony-advertise-postingboard-selection-item\n *ngFor=\"let item of model\"\n [model]=\"item\"\n></symphony-advertise-postingboard-selection-item>\n", styles: [""] }]
|
|
3099
|
+
args: [{ selector: 'symphony-advertise-postingboard-selection-list', template: "<symphony-advertise-postingboard-selection-item\n *ngFor=\"let item of model\"\n [model]=\"item\"\n (postingBoardSelect)=\"onPostingBoardSelect($event)\"\n (priceChange)=\"onPriceChange($event)\"\n></symphony-advertise-postingboard-selection-item>\n", styles: [""] }]
|
|
3100
|
+
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3101
|
+
type: Input
|
|
3102
|
+
}], postingBoardChange: [{
|
|
3103
|
+
type: Output
|
|
3104
|
+
}] } });
|
|
3105
|
+
|
|
3106
|
+
class InvoiceAreaComponent {
|
|
3107
|
+
constructor() {
|
|
3108
|
+
this.model = {
|
|
3109
|
+
lineItems: [],
|
|
3110
|
+
title: '',
|
|
3111
|
+
};
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
InvoiceAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3115
|
+
InvoiceAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: InvoiceAreaComponent, selector: "symphony-invoice-area", inputs: { model: "model" }, ngImport: i0, template: "<div class=\"job-type-summary sfx-px-20\">\n <div class=\"job-type-title\">\n <symphony-h5 [text]=\"model.title\"></symphony-h5>\n </div>\n <ul class=\"invoice-list list-unstyled sfx-mb-20\">\n <li class=\"invoice-line-item\" *ngFor=\"let lineItem of model.lineItems\">\n <symphony-invoice-line-item\n [model]=\"lineItem\"\n ></symphony-invoice-line-item>\n </li>\n </ul>\n <symphony-invoice-line-item\n [model]=\"model.total\"\n ></symphony-invoice-line-item>\n</div>\n", styles: [".job-type-summary{border-bottom:1px solid #d9d9d9}\n"], components: [{ type: H5Component, selector: "symphony-h5", inputs: ["text", "isSecondary"] }, { type: InvoiceLineItemComponent, selector: "symphony-invoice-line-item", inputs: ["model"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
3116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaComponent, decorators: [{
|
|
3117
|
+
type: Component,
|
|
3118
|
+
args: [{ selector: 'symphony-invoice-area', template: "<div class=\"job-type-summary sfx-px-20\">\n <div class=\"job-type-title\">\n <symphony-h5 [text]=\"model.title\"></symphony-h5>\n </div>\n <ul class=\"invoice-list list-unstyled sfx-mb-20\">\n <li class=\"invoice-line-item\" *ngFor=\"let lineItem of model.lineItems\">\n <symphony-invoice-line-item\n [model]=\"lineItem\"\n ></symphony-invoice-line-item>\n </li>\n </ul>\n <symphony-invoice-line-item\n [model]=\"model.total\"\n ></symphony-invoice-line-item>\n</div>\n", styles: [".job-type-summary{border-bottom:1px solid #d9d9d9}\n"] }]
|
|
3119
|
+
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3120
|
+
type: Input
|
|
3121
|
+
}] } });
|
|
3122
|
+
|
|
3123
|
+
class OrderSummaryComponent {
|
|
3124
|
+
constructor() {
|
|
3125
|
+
this.model = {
|
|
3126
|
+
invoiceAreas: [],
|
|
3127
|
+
title: '',
|
|
3128
|
+
};
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
OrderSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3132
|
+
OrderSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: OrderSummaryComponent, selector: "symphony-order-summary", inputs: { model: "model" }, ngImport: i0, template: "<section class=\"order-summary\">\n <symphony-h4>{{ model.title }}</symphony-h4>\n <ul class=\"invoice-area-list list-unstyled sfx-mb-20\">\n <li\n class=\"invoice-area-item\"\n *ngFor=\"let invoiceArea of model.invoiceAreas\"\n >\n <symphony-invoice-area [model]=\"invoiceArea\"></symphony-invoice-area>\n </li>\n </ul>\n <symphony-invoice-line-item\n [model]=\"model.total\"\n ></symphony-invoice-line-item>\n</section>\n", styles: [""], components: [{ type: H4Component, selector: "symphony-h4", inputs: ["text", "isSecondary"] }, { type: InvoiceAreaComponent, selector: "symphony-invoice-area", inputs: ["model"] }, { type: InvoiceLineItemComponent, selector: "symphony-invoice-line-item", inputs: ["model"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
3133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryComponent, decorators: [{
|
|
3134
|
+
type: Component,
|
|
3135
|
+
args: [{ selector: 'symphony-order-summary', template: "<section class=\"order-summary\">\n <symphony-h4>{{ model.title }}</symphony-h4>\n <ul class=\"invoice-area-list list-unstyled sfx-mb-20\">\n <li\n class=\"invoice-area-item\"\n *ngFor=\"let invoiceArea of model.invoiceAreas\"\n >\n <symphony-invoice-area [model]=\"invoiceArea\"></symphony-invoice-area>\n </li>\n </ul>\n <symphony-invoice-line-item\n [model]=\"model.total\"\n ></symphony-invoice-line-item>\n</section>\n", styles: [""] }]
|
|
3047
3136
|
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3048
3137
|
type: Input
|
|
3049
3138
|
}] } });
|
|
@@ -3060,11 +3149,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3060
3149
|
|
|
3061
3150
|
class AdvertiseModalComponent {
|
|
3062
3151
|
constructor() {
|
|
3063
|
-
this.model = {
|
|
3064
|
-
title: '',
|
|
3065
|
-
primaryButtonText: '',
|
|
3066
|
-
secondaryButtonText: '',
|
|
3067
|
-
};
|
|
3068
3152
|
this.buttonClicked = new EventEmitter();
|
|
3069
3153
|
this.closeButtonClicked = new EventEmitter();
|
|
3070
3154
|
this.fundsInfo = {
|
|
@@ -3073,20 +3157,55 @@ class AdvertiseModalComponent {
|
|
|
3073
3157
|
text: 'Sufficient Funds',
|
|
3074
3158
|
iconColor: '#00D56B',
|
|
3075
3159
|
};
|
|
3160
|
+
this.payPerClickBoards = [];
|
|
3161
|
+
this.jobBoards = [];
|
|
3162
|
+
this.jobCount = 0;
|
|
3163
|
+
this.modalTitle = '';
|
|
3076
3164
|
}
|
|
3077
3165
|
ngOnInit() {
|
|
3166
|
+
this.initialiseDefaultValues();
|
|
3167
|
+
this.updateModalHeader();
|
|
3168
|
+
this.updateOrderSummary();
|
|
3169
|
+
}
|
|
3170
|
+
initialiseDefaultValues() {
|
|
3078
3171
|
this.filteredPostingBoardList = this.model.jobBoards;
|
|
3079
|
-
this.
|
|
3172
|
+
this.jobCount = this.model.jobsToAdvertise.length;
|
|
3173
|
+
this.orderSummary = {
|
|
3174
|
+
title: 'Your Order',
|
|
3175
|
+
invoiceAreas: [
|
|
3176
|
+
{
|
|
3177
|
+
lineItems: [],
|
|
3178
|
+
title: 'Pay-Per-Click',
|
|
3179
|
+
total: {
|
|
3180
|
+
textLeft: 'Cost Programatic Boards',
|
|
3181
|
+
textRight: `x (${this.jobCount}) Jobs = $0`,
|
|
3182
|
+
},
|
|
3183
|
+
},
|
|
3184
|
+
{
|
|
3185
|
+
lineItems: [],
|
|
3186
|
+
title: 'Job Boards',
|
|
3187
|
+
total: {
|
|
3188
|
+
textLeft: 'Cost Job Boards',
|
|
3189
|
+
textRight: `x (${this.jobCount}) Jobs = $0`,
|
|
3190
|
+
},
|
|
3191
|
+
},
|
|
3192
|
+
],
|
|
3193
|
+
total: {
|
|
3194
|
+
textLeft: '',
|
|
3195
|
+
textRight: '$0',
|
|
3196
|
+
label: 'Total:',
|
|
3197
|
+
},
|
|
3198
|
+
};
|
|
3080
3199
|
}
|
|
3081
|
-
|
|
3200
|
+
updateModalHeader() {
|
|
3082
3201
|
let subTitleTooltip = '';
|
|
3083
|
-
let
|
|
3202
|
+
let jobNumber = 1;
|
|
3084
3203
|
this.model.jobsToAdvertise.forEach((job) => {
|
|
3085
3204
|
subTitleTooltip = subTitleTooltip + `${job.jobTitle} [${job.id}]`;
|
|
3086
|
-
if (
|
|
3205
|
+
if (jobNumber != this.model.jobsToAdvertise.length) {
|
|
3087
3206
|
subTitleTooltip = subTitleTooltip + '</br>';
|
|
3088
3207
|
}
|
|
3089
|
-
|
|
3208
|
+
jobNumber++;
|
|
3090
3209
|
});
|
|
3091
3210
|
this.subTitle = {
|
|
3092
3211
|
tooltipHtml: subTitleTooltip,
|
|
@@ -3097,7 +3216,7 @@ class AdvertiseModalComponent {
|
|
|
3097
3216
|
};
|
|
3098
3217
|
}
|
|
3099
3218
|
onKeywordSearch(keyword) {
|
|
3100
|
-
this.filteredPostingBoardList = this.model.jobBoards.filter((board) => board.boardName.toLowerCase().includes(keyword));
|
|
3219
|
+
this.filteredPostingBoardList = this.model.jobBoards.filter((board) => board.boardName.toLowerCase().includes(keyword.toLowerCase()));
|
|
3101
3220
|
}
|
|
3102
3221
|
onButtonClick(text) {
|
|
3103
3222
|
this.buttonClicked.emit(text);
|
|
@@ -3105,12 +3224,59 @@ class AdvertiseModalComponent {
|
|
|
3105
3224
|
onCloseButtonClick() {
|
|
3106
3225
|
this.closeButtonClicked.emit();
|
|
3107
3226
|
}
|
|
3227
|
+
onPostingBoardChange(selectedBoard) {
|
|
3228
|
+
this.updateOrderSummary();
|
|
3229
|
+
}
|
|
3230
|
+
addLineItem(invoiceAreaIndex, selectedBoard) {
|
|
3231
|
+
this.orderSummary.invoiceAreas[invoiceAreaIndex].lineItems.push({
|
|
3232
|
+
textLeft: selectedBoard.boardName,
|
|
3233
|
+
textRight: `$${selectedBoard.boardPrice}`,
|
|
3234
|
+
});
|
|
3235
|
+
}
|
|
3236
|
+
calculateInvoiceAreaTotal(invoiceAreaIndex) {
|
|
3237
|
+
let invoiceAreaTotal = 0;
|
|
3238
|
+
this.orderSummary.invoiceAreas[invoiceAreaIndex].lineItems.forEach((li) => {
|
|
3239
|
+
invoiceAreaTotal = invoiceAreaTotal + +li.textRight.replace('$', '');
|
|
3240
|
+
});
|
|
3241
|
+
this.orderSummary.invoiceAreas[invoiceAreaIndex].total.textRight = `x (${this.model.jobsToAdvertise.length}) Jobs = $${invoiceAreaTotal * this.model.jobsToAdvertise.length}`;
|
|
3242
|
+
return invoiceAreaTotal * this.model.jobsToAdvertise.length;
|
|
3243
|
+
}
|
|
3244
|
+
calculateOrderTotal(payPerClickAreaTotal, jobBoardAreaTotal) {
|
|
3245
|
+
const selectedJobBoards = this.model.jobBoards.filter((jb) => jb.isSelected).length;
|
|
3246
|
+
const jobToAdvertiseCount = this.model.jobsToAdvertise.length;
|
|
3247
|
+
const orderSummaryText = `(${selectedJobBoards}) Boards x ${this.model.jobsToAdvertise.length} Jobs = (${selectedJobBoards * jobToAdvertiseCount}) Ads`;
|
|
3248
|
+
this.orderSummary.total = {
|
|
3249
|
+
label: 'Total:',
|
|
3250
|
+
textLeft: orderSummaryText,
|
|
3251
|
+
textRight: `$${payPerClickAreaTotal + jobBoardAreaTotal}`,
|
|
3252
|
+
};
|
|
3253
|
+
}
|
|
3254
|
+
updateOrderSummary() {
|
|
3255
|
+
this.orderSummary.invoiceAreas[0].lineItems = [];
|
|
3256
|
+
this.orderSummary.invoiceAreas[1].lineItems = [];
|
|
3257
|
+
this.model.jobBoards.forEach((jb) => {
|
|
3258
|
+
if (jb.isSelected) {
|
|
3259
|
+
if (jb.isPayPerClick) {
|
|
3260
|
+
this.addLineItem(0, jb);
|
|
3261
|
+
}
|
|
3262
|
+
else {
|
|
3263
|
+
this.addLineItem(1, jb);
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3266
|
+
});
|
|
3267
|
+
const payPerClickAreaTotal = this.calculateInvoiceAreaTotal(0);
|
|
3268
|
+
const jobBoardAreaTotal = this.calculateInvoiceAreaTotal(1);
|
|
3269
|
+
this.calculateOrderTotal(payPerClickAreaTotal, jobBoardAreaTotal);
|
|
3270
|
+
if (this.model.jobBoards.filter((jb) => jb.isSelected).length === 0) {
|
|
3271
|
+
this.isJobBoardNextButtonDisabled = true;
|
|
3272
|
+
}
|
|
3273
|
+
}
|
|
3108
3274
|
}
|
|
3109
3275
|
AdvertiseModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AdvertiseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3110
|
-
AdvertiseModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: AdvertiseModalComponent, selector: "symphony-advertise-modal", inputs: { model: "model" }, outputs: { buttonClicked: "buttonClicked", closeButtonClicked: "closeButtonClicked" }, ngImport: i0, template: "<symphony-two-column-modal-template>\n <symphony-h4 sfx-modal-title>
|
|
3276
|
+
AdvertiseModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: AdvertiseModalComponent, selector: "symphony-advertise-modal", inputs: { model: "model" }, outputs: { buttonClicked: "buttonClicked", closeButtonClicked: "closeButtonClicked" }, ngImport: i0, template: "<symphony-two-column-modal-template *ngIf=\"!model.navigation.showCancel\">\n <symphony-h4\n *ngIf=\"model.navigation.showJobBoardsSelection && !model.isLoading\"\n sfx-modal-title\n >Select Your Job Ad Buys</symphony-h4\n >\n <symphony-h4 *ngIf=\"model.navigation.showOrderReview\" sfx-modal-title\n >Review you Job Ad Buys</symphony-h4\n >\n <symphony-h4 *ngIf=\"model.navigation.showConfirmation\" sfx-modal-title\n >Confirmation of your Job Ad Buys</symphony-h4\n >\n <symphony-h4 *ngIf=\"model.navigation.showProcessing\" sfx-modal-title\n >Processing Order...</symphony-h4\n >\n <symphony-h4 *ngIf=\"model.isLoading\" sfx-modal-title\n >Loading Job Boards...</symphony-h4\n >\n <symphony-icon\n sfx-close-button\n [icon]=\"'si-close-modal'\"\n (clicked)=\"onCloseButtonClick()\"\n ></symphony-icon>\n <symphony-h5-with-icon sfx-modal-subtitle [model]=\"subTitle\">\n </symphony-h5-with-icon>\n\n <symphony-two-column-body-template\n *ngIf=\"!model.isLoading && model.navigation.showJobBoardsSelection\"\n [showHeader]=\"true\"\n sfx-modal-body-area\n >\n <symphony-input-text\n sfx-left-col-header\n [noMargin]=\"true\"\n [placeholder]=\"'Search Ad Boards'\"\n [icon]=\"'si-search-new'\"\n (textChange)=\"onKeywordSearch($event)\"\n >\n </symphony-input-text>\n <div class=\"right-col-header-inner\" sfx-right-col-header>\n <symphony-h5-with-icon\n sfx-right-col-header\n *ngIf=\"model.showFunds\"\n class=\"pull-right\"\n [model]=\"fundsInfo\"\n ></symphony-h5-with-icon>\n </div>\n <div sfx-left-column class=\"posting-boards\">\n <symphony-advertise-postingboard-selection-list\n [model]=\"filteredPostingBoardList\"\n (postingBoardChange)=\"onPostingBoardChange($event)\"\n ></symphony-advertise-postingboard-selection-list>\n </div>\n\n <symphony-order-summary\n sfx-right-column\n [model]=\"orderSummary\"\n ></symphony-order-summary>\n </symphony-two-column-body-template>\n\n <symphony-two-column-body-template\n *ngIf=\"!model.isLoading && model.navigation.showOrderReview\"\n sfx-modal-body-area\n >\n <div sfx-left-column class=\"posting-boards\">\n <symphony-advertise-order-review></symphony-advertise-order-review>\n </div>\n\n <symphony-order-summary\n sfx-right-column\n [model]=\"orderSummary\"\n ></symphony-order-summary>\n </symphony-two-column-body-template>\n\n <symphony-two-column-body-template\n *ngIf=\"!model.isLoading && model.navigation.showConfirmation\"\n sfx-modal-body-area\n >\n <symphony-order-summary\n sfx-left-column\n [model]=\"orderSummary\"\n ></symphony-order-summary>\n <div sfx-right-column class=\"posting-boards\">\n <div class=\"stage\">\n <div class=\"box bounce-7\">\n <div class=\"complete-container\">\n <symphony-h2>Your order is complete</symphony-h2>\n <div class=\"success-icon-spacing\">\n <symphony-icon\n [icon]=\"'si-confirmation'\"\n [iconColor]=\"'#00D56B'\"\n [size]=\"'50px'\"\n ></symphony-icon>\n </div>\n </div>\n </div>\n </div>\n </div>\n </symphony-two-column-body-template>\n\n <div\n *ngIf=\"!model.isLoading && model.navigation.showProcessing\"\n sfx-modal-body-area\n class=\"posting-boards sfx-p-30\"\n >\n <div class=\"processing-container\">\n <symphony-paragraph\n ><b>SmashFlyX</b> is submitting your order to your selected job boards.\n Some orders happen immediately, while others take a little more time.\n Check your order status if you don't recieve a confirmation in the next\n 24hours.</symphony-paragraph\n >\n </div>\n <div class=\"sfx-mt-80\">\n <symphony-sfx-loader></symphony-sfx-loader>\n </div>\n </div>\n\n <div class=\"loader-container\" *ngIf=\"model.isLoading\" sfx-modal-body-area>\n <symphony-sfx-loader></symphony-sfx-loader>\n </div>\n\n <symphony-button\n *ngIf=\"model.navigation.showJobBoardsSelection\"\n sfx-button-secondary\n [text]=\"'Cancel'\"\n [isSecondary]=\"true\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n <symphony-button\n *ngIf=\"model.navigation.showJobBoardsSelection\"\n sfx-button-primary\n [text]=\"'Review Order'\"\n [disabled]=\"isJobBoardNextButtonDisabled\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n\n <symphony-button\n *ngIf=\"model.navigation.showOrderReview\"\n sfx-button-back\n [text]=\"'Edit Order'\"\n [isSecondary]=\"true\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n <symphony-button\n *ngIf=\"model.navigation.showOrderReview\"\n sfx-button-secondary\n [text]=\"'Cancel'\"\n [isSecondary]=\"true\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n <symphony-button\n *ngIf=\"model.navigation.showOrderReview\"\n sfx-button-primary\n [text]=\"'Buy'\"\n [disabled]=\"false\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n\n <symphony-button\n *ngIf=\"model.navigation.showConfirmation\"\n sfx-button-primary\n [text]=\"'Finish & Close'\"\n [disabled]=\"false\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n</symphony-two-column-modal-template>\n<symphony-cancel-modal\n *ngIf=\"!model.isLoading && model.navigation.showCancel\"\n (buttonClicked)=\"onButtonClick($event)\"\n (closeButtonClicked)=\"onCloseButtonClick()\"\n [model]=\"model.cancelContent\"\n>\n</symphony-cancel-modal>\n", styles: [".right-col-header-inner{padding-top:10px}.posting-boards{height:400px;overflow-x:auto}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#fff}::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#555}.loader-container{padding-top:246px;padding-bottom:245px}.complete-container{text-align:center;margin-top:25%}.success-icon-spacing{margin-top:25px}.processing-container{width:400px;text-align:justify}.stage{display:flex;height:240px;width:100%}.box{align-self:flex-end;animation-duration:2s;animation-iteration-count:1;height:200px;margin:0 auto;transform-origin:bottom;width:200px}.bounce-7{animation-name:bounce-7;animation-timing-function:cubic-bezier(.24,.82,.24,.82)}@keyframes bounce-7{0%{transform:scale(1) translateY(0)}10%{transform:scale(1.1,.9) translateY(0)}30%{transform:scale(.9,1.1) translateY(-15px)}50%{transform:scale(1.05,.95) translateY(0)}57%{transform:scale(1) translateY(-7px)}64%{transform:scale(1) translateY(0)}to{transform:scale(1) translateY(0)}}\n"], components: [{ type: TwoColumnModalTemplateComponent, selector: "symphony-two-column-modal-template" }, { type: H4Component, selector: "symphony-h4", inputs: ["text", "isSecondary"] }, { type: IconComponent, selector: "symphony-icon", inputs: ["icon", "isSecondary", "size", "iconColor"], outputs: ["clicked"] }, { type: H5WithIconComponent, selector: "symphony-h5-with-icon", inputs: ["model"] }, { type: TwoColumnBodyTemplateComponent, selector: "symphony-two-column-body-template", inputs: ["showHeader"] }, { type: InputTextComponent, selector: "symphony-input-text", inputs: ["placeholder", "icon", "label", "isInverse", "noMargin"], outputs: ["textChange"] }, { type: AdvertisePostingboardSelectionListComponent, selector: "symphony-advertise-postingboard-selection-list", inputs: ["model"], outputs: ["postingBoardChange"] }, { type: OrderSummaryComponent, selector: "symphony-order-summary", inputs: ["model"] }, { type: AdvertiseOrderReviewComponent, selector: "symphony-advertise-order-review" }, { type: H2Component, selector: "symphony-h2", inputs: ["text", "isSecondary"] }, { type: ParagraphComponent, selector: "symphony-paragraph", inputs: ["text", "isSecondary"] }, { type: SfxLoaderComponent, selector: "symphony-sfx-loader", inputs: ["leftStyle"] }, { type: ButtonComponent, selector: "symphony-button", inputs: ["text", "disabled", "isSecondary", "isInverse"], outputs: ["clicked"] }, { type: CancelModalComponent, selector: "symphony-cancel-modal", inputs: ["model"], outputs: ["buttonClicked", "closeButtonClicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3111
3277
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AdvertiseModalComponent, decorators: [{
|
|
3112
3278
|
type: Component,
|
|
3113
|
-
args: [{ selector: 'symphony-advertise-modal', template: "<symphony-two-column-modal-template>\n <symphony-h4 sfx-modal-title>
|
|
3279
|
+
args: [{ selector: 'symphony-advertise-modal', template: "<symphony-two-column-modal-template *ngIf=\"!model.navigation.showCancel\">\n <symphony-h4\n *ngIf=\"model.navigation.showJobBoardsSelection && !model.isLoading\"\n sfx-modal-title\n >Select Your Job Ad Buys</symphony-h4\n >\n <symphony-h4 *ngIf=\"model.navigation.showOrderReview\" sfx-modal-title\n >Review you Job Ad Buys</symphony-h4\n >\n <symphony-h4 *ngIf=\"model.navigation.showConfirmation\" sfx-modal-title\n >Confirmation of your Job Ad Buys</symphony-h4\n >\n <symphony-h4 *ngIf=\"model.navigation.showProcessing\" sfx-modal-title\n >Processing Order...</symphony-h4\n >\n <symphony-h4 *ngIf=\"model.isLoading\" sfx-modal-title\n >Loading Job Boards...</symphony-h4\n >\n <symphony-icon\n sfx-close-button\n [icon]=\"'si-close-modal'\"\n (clicked)=\"onCloseButtonClick()\"\n ></symphony-icon>\n <symphony-h5-with-icon sfx-modal-subtitle [model]=\"subTitle\">\n </symphony-h5-with-icon>\n\n <symphony-two-column-body-template\n *ngIf=\"!model.isLoading && model.navigation.showJobBoardsSelection\"\n [showHeader]=\"true\"\n sfx-modal-body-area\n >\n <symphony-input-text\n sfx-left-col-header\n [noMargin]=\"true\"\n [placeholder]=\"'Search Ad Boards'\"\n [icon]=\"'si-search-new'\"\n (textChange)=\"onKeywordSearch($event)\"\n >\n </symphony-input-text>\n <div class=\"right-col-header-inner\" sfx-right-col-header>\n <symphony-h5-with-icon\n sfx-right-col-header\n *ngIf=\"model.showFunds\"\n class=\"pull-right\"\n [model]=\"fundsInfo\"\n ></symphony-h5-with-icon>\n </div>\n <div sfx-left-column class=\"posting-boards\">\n <symphony-advertise-postingboard-selection-list\n [model]=\"filteredPostingBoardList\"\n (postingBoardChange)=\"onPostingBoardChange($event)\"\n ></symphony-advertise-postingboard-selection-list>\n </div>\n\n <symphony-order-summary\n sfx-right-column\n [model]=\"orderSummary\"\n ></symphony-order-summary>\n </symphony-two-column-body-template>\n\n <symphony-two-column-body-template\n *ngIf=\"!model.isLoading && model.navigation.showOrderReview\"\n sfx-modal-body-area\n >\n <div sfx-left-column class=\"posting-boards\">\n <symphony-advertise-order-review></symphony-advertise-order-review>\n </div>\n\n <symphony-order-summary\n sfx-right-column\n [model]=\"orderSummary\"\n ></symphony-order-summary>\n </symphony-two-column-body-template>\n\n <symphony-two-column-body-template\n *ngIf=\"!model.isLoading && model.navigation.showConfirmation\"\n sfx-modal-body-area\n >\n <symphony-order-summary\n sfx-left-column\n [model]=\"orderSummary\"\n ></symphony-order-summary>\n <div sfx-right-column class=\"posting-boards\">\n <div class=\"stage\">\n <div class=\"box bounce-7\">\n <div class=\"complete-container\">\n <symphony-h2>Your order is complete</symphony-h2>\n <div class=\"success-icon-spacing\">\n <symphony-icon\n [icon]=\"'si-confirmation'\"\n [iconColor]=\"'#00D56B'\"\n [size]=\"'50px'\"\n ></symphony-icon>\n </div>\n </div>\n </div>\n </div>\n </div>\n </symphony-two-column-body-template>\n\n <div\n *ngIf=\"!model.isLoading && model.navigation.showProcessing\"\n sfx-modal-body-area\n class=\"posting-boards sfx-p-30\"\n >\n <div class=\"processing-container\">\n <symphony-paragraph\n ><b>SmashFlyX</b> is submitting your order to your selected job boards.\n Some orders happen immediately, while others take a little more time.\n Check your order status if you don't recieve a confirmation in the next\n 24hours.</symphony-paragraph\n >\n </div>\n <div class=\"sfx-mt-80\">\n <symphony-sfx-loader></symphony-sfx-loader>\n </div>\n </div>\n\n <div class=\"loader-container\" *ngIf=\"model.isLoading\" sfx-modal-body-area>\n <symphony-sfx-loader></symphony-sfx-loader>\n </div>\n\n <symphony-button\n *ngIf=\"model.navigation.showJobBoardsSelection\"\n sfx-button-secondary\n [text]=\"'Cancel'\"\n [isSecondary]=\"true\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n <symphony-button\n *ngIf=\"model.navigation.showJobBoardsSelection\"\n sfx-button-primary\n [text]=\"'Review Order'\"\n [disabled]=\"isJobBoardNextButtonDisabled\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n\n <symphony-button\n *ngIf=\"model.navigation.showOrderReview\"\n sfx-button-back\n [text]=\"'Edit Order'\"\n [isSecondary]=\"true\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n <symphony-button\n *ngIf=\"model.navigation.showOrderReview\"\n sfx-button-secondary\n [text]=\"'Cancel'\"\n [isSecondary]=\"true\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n <symphony-button\n *ngIf=\"model.navigation.showOrderReview\"\n sfx-button-primary\n [text]=\"'Buy'\"\n [disabled]=\"false\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n\n <symphony-button\n *ngIf=\"model.navigation.showConfirmation\"\n sfx-button-primary\n [text]=\"'Finish & Close'\"\n [disabled]=\"false\"\n [isInverse]=\"true\"\n (clicked)=\"onButtonClick($event)\"\n ></symphony-button>\n</symphony-two-column-modal-template>\n<symphony-cancel-modal\n *ngIf=\"!model.isLoading && model.navigation.showCancel\"\n (buttonClicked)=\"onButtonClick($event)\"\n (closeButtonClicked)=\"onCloseButtonClick()\"\n [model]=\"model.cancelContent\"\n>\n</symphony-cancel-modal>\n", styles: [".right-col-header-inner{padding-top:10px}.posting-boards{height:400px;overflow-x:auto}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#fff}::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#555}.loader-container{padding-top:246px;padding-bottom:245px}.complete-container{text-align:center;margin-top:25%}.success-icon-spacing{margin-top:25px}.processing-container{width:400px;text-align:justify}.stage{display:flex;height:240px;width:100%}.box{align-self:flex-end;animation-duration:2s;animation-iteration-count:1;height:200px;margin:0 auto;transform-origin:bottom;width:200px}.bounce-7{animation-name:bounce-7;animation-timing-function:cubic-bezier(.24,.82,.24,.82)}@keyframes bounce-7{0%{transform:scale(1) translateY(0)}10%{transform:scale(1.1,.9) translateY(0)}30%{transform:scale(.9,1.1) translateY(-15px)}50%{transform:scale(1.05,.95) translateY(0)}57%{transform:scale(1) translateY(-7px)}64%{transform:scale(1) translateY(0)}to{transform:scale(1) translateY(0)}}\n"] }]
|
|
3114
3280
|
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3115
3281
|
type: Input
|
|
3116
3282
|
}], buttonClicked: [{
|
|
@@ -3203,12 +3369,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3203
3369
|
}]
|
|
3204
3370
|
}] });
|
|
3205
3371
|
|
|
3372
|
+
class InvoiceAreaModule {
|
|
3373
|
+
}
|
|
3374
|
+
InvoiceAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3375
|
+
InvoiceAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaModule, declarations: [InvoiceAreaComponent], imports: [CommonModule, InvoiceLineItemModule, H5Module], exports: [InvoiceAreaComponent] });
|
|
3376
|
+
InvoiceAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaModule, imports: [[CommonModule, InvoiceLineItemModule, H5Module]] });
|
|
3377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaModule, decorators: [{
|
|
3378
|
+
type: NgModule,
|
|
3379
|
+
args: [{
|
|
3380
|
+
declarations: [InvoiceAreaComponent],
|
|
3381
|
+
imports: [CommonModule, InvoiceLineItemModule, H5Module],
|
|
3382
|
+
exports: [InvoiceAreaComponent],
|
|
3383
|
+
}]
|
|
3384
|
+
}] });
|
|
3385
|
+
|
|
3386
|
+
class OrderSummaryModule {
|
|
3387
|
+
}
|
|
3388
|
+
OrderSummaryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3389
|
+
OrderSummaryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryModule, declarations: [OrderSummaryComponent], imports: [CommonModule, InvoiceAreaModule, H4Module, InvoiceLineItemModule], exports: [OrderSummaryComponent] });
|
|
3390
|
+
OrderSummaryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryModule, imports: [[CommonModule, InvoiceAreaModule, H4Module, InvoiceLineItemModule]] });
|
|
3391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryModule, decorators: [{
|
|
3392
|
+
type: NgModule,
|
|
3393
|
+
args: [{
|
|
3394
|
+
declarations: [OrderSummaryComponent],
|
|
3395
|
+
imports: [CommonModule, InvoiceAreaModule, H4Module, InvoiceLineItemModule],
|
|
3396
|
+
exports: [OrderSummaryComponent],
|
|
3397
|
+
}]
|
|
3398
|
+
}] });
|
|
3399
|
+
|
|
3206
3400
|
class ModalModule {
|
|
3207
3401
|
}
|
|
3208
3402
|
ModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3209
3403
|
ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalModule, declarations: [AdvertiseModalComponent], imports: [CommonModule,
|
|
3210
3404
|
TwoColumnModalModule,
|
|
3211
3405
|
TwoColumnBodyTemplateModule,
|
|
3406
|
+
H2Module,
|
|
3407
|
+
H3Module,
|
|
3212
3408
|
H4Module,
|
|
3213
3409
|
H5Module,
|
|
3214
3410
|
ParagraphModule,
|
|
@@ -3219,11 +3415,15 @@ ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
|
|
|
3219
3415
|
H5WithIconModule,
|
|
3220
3416
|
AdvertisePostingboardSelectionListModule,
|
|
3221
3417
|
SfxLoaderModule,
|
|
3222
|
-
AdvertiseOrderReviewModule
|
|
3418
|
+
AdvertiseOrderReviewModule,
|
|
3419
|
+
OrderSummaryModule,
|
|
3420
|
+
CancelModalModule], exports: [AdvertiseModalComponent] });
|
|
3223
3421
|
ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalModule, imports: [[
|
|
3224
3422
|
CommonModule,
|
|
3225
3423
|
TwoColumnModalModule,
|
|
3226
3424
|
TwoColumnBodyTemplateModule,
|
|
3425
|
+
H2Module,
|
|
3426
|
+
H3Module,
|
|
3227
3427
|
H4Module,
|
|
3228
3428
|
H5Module,
|
|
3229
3429
|
ParagraphModule,
|
|
@@ -3234,7 +3434,9 @@ ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "1
|
|
|
3234
3434
|
H5WithIconModule,
|
|
3235
3435
|
AdvertisePostingboardSelectionListModule,
|
|
3236
3436
|
SfxLoaderModule,
|
|
3237
|
-
AdvertiseOrderReviewModule
|
|
3437
|
+
AdvertiseOrderReviewModule,
|
|
3438
|
+
OrderSummaryModule,
|
|
3439
|
+
CancelModalModule
|
|
3238
3440
|
]] });
|
|
3239
3441
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalModule, decorators: [{
|
|
3240
3442
|
type: NgModule,
|
|
@@ -3244,6 +3446,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3244
3446
|
CommonModule,
|
|
3245
3447
|
TwoColumnModalModule,
|
|
3246
3448
|
TwoColumnBodyTemplateModule,
|
|
3449
|
+
H2Module,
|
|
3450
|
+
H3Module,
|
|
3247
3451
|
H4Module,
|
|
3248
3452
|
H5Module,
|
|
3249
3453
|
ParagraphModule,
|
|
@@ -3254,7 +3458,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3254
3458
|
H5WithIconModule,
|
|
3255
3459
|
AdvertisePostingboardSelectionListModule,
|
|
3256
3460
|
SfxLoaderModule,
|
|
3257
|
-
AdvertiseOrderReviewModule
|
|
3461
|
+
AdvertiseOrderReviewModule,
|
|
3462
|
+
OrderSummaryModule,
|
|
3463
|
+
CancelModalModule
|
|
3258
3464
|
],
|
|
3259
3465
|
exports: [AdvertiseModalComponent],
|
|
3260
3466
|
}]
|