@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
|
@@ -2662,6 +2662,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
2662
2662
|
}]
|
|
2663
2663
|
}] });
|
|
2664
2664
|
|
|
2665
|
+
class CancelModalComponent {
|
|
2666
|
+
constructor() {
|
|
2667
|
+
this.model = {};
|
|
2668
|
+
this.buttonClicked = new EventEmitter();
|
|
2669
|
+
this.closeButtonClicked = new EventEmitter();
|
|
2670
|
+
}
|
|
2671
|
+
onButtonClick(text) {
|
|
2672
|
+
this.buttonClicked.emit(text);
|
|
2673
|
+
}
|
|
2674
|
+
onCloseButtonClick() {
|
|
2675
|
+
this.closeButtonClicked.emit();
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
CancelModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2679
|
+
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"] }] });
|
|
2680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalComponent, decorators: [{
|
|
2681
|
+
type: Component,
|
|
2682
|
+
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: [""] }]
|
|
2683
|
+
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
2684
|
+
type: Input
|
|
2685
|
+
}], buttonClicked: [{
|
|
2686
|
+
type: Output
|
|
2687
|
+
}], closeButtonClicked: [{
|
|
2688
|
+
type: Output
|
|
2689
|
+
}] } });
|
|
2690
|
+
|
|
2691
|
+
class CancelModalModule {
|
|
2692
|
+
}
|
|
2693
|
+
CancelModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2694
|
+
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] });
|
|
2695
|
+
CancelModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalModule, imports: [[CommonModule, H4Module, ParagraphModule, IconModule, ButtonModule]] });
|
|
2696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: CancelModalModule, decorators: [{
|
|
2697
|
+
type: NgModule,
|
|
2698
|
+
args: [{
|
|
2699
|
+
declarations: [CancelModalComponent],
|
|
2700
|
+
imports: [CommonModule, H4Module, ParagraphModule, IconModule, ButtonModule],
|
|
2701
|
+
exports: [CancelModalComponent],
|
|
2702
|
+
}]
|
|
2703
|
+
}] });
|
|
2704
|
+
|
|
2665
2705
|
class OrganismsModule {
|
|
2666
2706
|
}
|
|
2667
2707
|
OrganismsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrganismsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2670,7 +2710,8 @@ OrganismsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
2670
2710
|
TaskListModule,
|
|
2671
2711
|
TypographyModule,
|
|
2672
2712
|
IconExplorerModule,
|
|
2673
|
-
CardListModule
|
|
2713
|
+
CardListModule,
|
|
2714
|
+
CancelModalModule] });
|
|
2674
2715
|
OrganismsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrganismsModule, imports: [[
|
|
2675
2716
|
CommonModule,
|
|
2676
2717
|
NoteListModule,
|
|
@@ -2678,6 +2719,7 @@ OrganismsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
2678
2719
|
TypographyModule,
|
|
2679
2720
|
IconExplorerModule,
|
|
2680
2721
|
CardListModule,
|
|
2722
|
+
CancelModalModule
|
|
2681
2723
|
]] });
|
|
2682
2724
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrganismsModule, decorators: [{
|
|
2683
2725
|
type: NgModule,
|
|
@@ -2690,6 +2732,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
2690
2732
|
TypographyModule,
|
|
2691
2733
|
IconExplorerModule,
|
|
2692
2734
|
CardListModule,
|
|
2735
|
+
CancelModalModule
|
|
2693
2736
|
],
|
|
2694
2737
|
}]
|
|
2695
2738
|
}] });
|
|
@@ -2948,10 +2991,10 @@ class TwoColumnModalTemplateComponent {
|
|
|
2948
2991
|
constructor() { }
|
|
2949
2992
|
}
|
|
2950
2993
|
TwoColumnModalTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TwoColumnModalTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2951
|
-
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"] });
|
|
2994
|
+
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"] });
|
|
2952
2995
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TwoColumnModalTemplateComponent, decorators: [{
|
|
2953
2996
|
type: Component,
|
|
2954
|
-
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"] }]
|
|
2997
|
+
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"] }]
|
|
2955
2998
|
}], ctorParameters: function () { return []; } });
|
|
2956
2999
|
|
|
2957
3000
|
class TwoColumnBodyTemplateComponent {
|
|
@@ -3040,13 +3083,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3040
3083
|
}] } });
|
|
3041
3084
|
|
|
3042
3085
|
class AdvertisePostingboardSelectionListComponent {
|
|
3043
|
-
constructor() {
|
|
3086
|
+
constructor() {
|
|
3087
|
+
this.postingBoardChange = new EventEmitter();
|
|
3088
|
+
}
|
|
3089
|
+
onPostingBoardSelect(selectedBoard) {
|
|
3090
|
+
console.log('onPostingBoardSelect');
|
|
3091
|
+
this.postingBoardChange.emit(selectedBoard);
|
|
3092
|
+
}
|
|
3093
|
+
onPriceChange(priceChangeBoard) {
|
|
3094
|
+
console.log('onPriceChange');
|
|
3095
|
+
this.postingBoardChange.emit(priceChangeBoard);
|
|
3096
|
+
}
|
|
3044
3097
|
}
|
|
3045
3098
|
AdvertisePostingboardSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AdvertisePostingboardSelectionListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3046
|
-
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"] }] });
|
|
3099
|
+
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"] }] });
|
|
3047
3100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AdvertisePostingboardSelectionListComponent, decorators: [{
|
|
3048
3101
|
type: Component,
|
|
3049
|
-
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: [""] }]
|
|
3102
|
+
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: [""] }]
|
|
3103
|
+
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3104
|
+
type: Input
|
|
3105
|
+
}], postingBoardChange: [{
|
|
3106
|
+
type: Output
|
|
3107
|
+
}] } });
|
|
3108
|
+
|
|
3109
|
+
class InvoiceAreaComponent {
|
|
3110
|
+
constructor() {
|
|
3111
|
+
this.model = {
|
|
3112
|
+
lineItems: [],
|
|
3113
|
+
title: '',
|
|
3114
|
+
};
|
|
3115
|
+
}
|
|
3116
|
+
}
|
|
3117
|
+
InvoiceAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3118
|
+
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"] }] });
|
|
3119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaComponent, decorators: [{
|
|
3120
|
+
type: Component,
|
|
3121
|
+
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"] }]
|
|
3122
|
+
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3123
|
+
type: Input
|
|
3124
|
+
}] } });
|
|
3125
|
+
|
|
3126
|
+
class OrderSummaryComponent {
|
|
3127
|
+
constructor() {
|
|
3128
|
+
this.model = {
|
|
3129
|
+
invoiceAreas: [],
|
|
3130
|
+
title: '',
|
|
3131
|
+
};
|
|
3132
|
+
}
|
|
3133
|
+
}
|
|
3134
|
+
OrderSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3135
|
+
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"] }] });
|
|
3136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryComponent, decorators: [{
|
|
3137
|
+
type: Component,
|
|
3138
|
+
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: [""] }]
|
|
3050
3139
|
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3051
3140
|
type: Input
|
|
3052
3141
|
}] } });
|
|
@@ -3063,11 +3152,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3063
3152
|
|
|
3064
3153
|
class AdvertiseModalComponent {
|
|
3065
3154
|
constructor() {
|
|
3066
|
-
this.model = {
|
|
3067
|
-
title: '',
|
|
3068
|
-
primaryButtonText: '',
|
|
3069
|
-
secondaryButtonText: '',
|
|
3070
|
-
};
|
|
3071
3155
|
this.buttonClicked = new EventEmitter();
|
|
3072
3156
|
this.closeButtonClicked = new EventEmitter();
|
|
3073
3157
|
this.fundsInfo = {
|
|
@@ -3076,20 +3160,55 @@ class AdvertiseModalComponent {
|
|
|
3076
3160
|
text: 'Sufficient Funds',
|
|
3077
3161
|
iconColor: '#00D56B',
|
|
3078
3162
|
};
|
|
3163
|
+
this.payPerClickBoards = [];
|
|
3164
|
+
this.jobBoards = [];
|
|
3165
|
+
this.jobCount = 0;
|
|
3166
|
+
this.modalTitle = '';
|
|
3079
3167
|
}
|
|
3080
3168
|
ngOnInit() {
|
|
3169
|
+
this.initialiseDefaultValues();
|
|
3170
|
+
this.updateModalHeader();
|
|
3171
|
+
this.updateOrderSummary();
|
|
3172
|
+
}
|
|
3173
|
+
initialiseDefaultValues() {
|
|
3081
3174
|
this.filteredPostingBoardList = this.model.jobBoards;
|
|
3082
|
-
this.
|
|
3175
|
+
this.jobCount = this.model.jobsToAdvertise.length;
|
|
3176
|
+
this.orderSummary = {
|
|
3177
|
+
title: 'Your Order',
|
|
3178
|
+
invoiceAreas: [
|
|
3179
|
+
{
|
|
3180
|
+
lineItems: [],
|
|
3181
|
+
title: 'Pay-Per-Click',
|
|
3182
|
+
total: {
|
|
3183
|
+
textLeft: 'Cost Programatic Boards',
|
|
3184
|
+
textRight: `x (${this.jobCount}) Jobs = $0`,
|
|
3185
|
+
},
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
lineItems: [],
|
|
3189
|
+
title: 'Job Boards',
|
|
3190
|
+
total: {
|
|
3191
|
+
textLeft: 'Cost Job Boards',
|
|
3192
|
+
textRight: `x (${this.jobCount}) Jobs = $0`,
|
|
3193
|
+
},
|
|
3194
|
+
},
|
|
3195
|
+
],
|
|
3196
|
+
total: {
|
|
3197
|
+
textLeft: '',
|
|
3198
|
+
textRight: '$0',
|
|
3199
|
+
label: 'Total:',
|
|
3200
|
+
},
|
|
3201
|
+
};
|
|
3083
3202
|
}
|
|
3084
|
-
|
|
3203
|
+
updateModalHeader() {
|
|
3085
3204
|
let subTitleTooltip = '';
|
|
3086
|
-
let
|
|
3205
|
+
let jobNumber = 1;
|
|
3087
3206
|
this.model.jobsToAdvertise.forEach((job) => {
|
|
3088
3207
|
subTitleTooltip = subTitleTooltip + `${job.jobTitle} [${job.id}]`;
|
|
3089
|
-
if (
|
|
3208
|
+
if (jobNumber != this.model.jobsToAdvertise.length) {
|
|
3090
3209
|
subTitleTooltip = subTitleTooltip + '</br>';
|
|
3091
3210
|
}
|
|
3092
|
-
|
|
3211
|
+
jobNumber++;
|
|
3093
3212
|
});
|
|
3094
3213
|
this.subTitle = {
|
|
3095
3214
|
tooltipHtml: subTitleTooltip,
|
|
@@ -3100,7 +3219,7 @@ class AdvertiseModalComponent {
|
|
|
3100
3219
|
};
|
|
3101
3220
|
}
|
|
3102
3221
|
onKeywordSearch(keyword) {
|
|
3103
|
-
this.filteredPostingBoardList = this.model.jobBoards.filter((board) => board.boardName.toLowerCase().includes(keyword));
|
|
3222
|
+
this.filteredPostingBoardList = this.model.jobBoards.filter((board) => board.boardName.toLowerCase().includes(keyword.toLowerCase()));
|
|
3104
3223
|
}
|
|
3105
3224
|
onButtonClick(text) {
|
|
3106
3225
|
this.buttonClicked.emit(text);
|
|
@@ -3108,12 +3227,59 @@ class AdvertiseModalComponent {
|
|
|
3108
3227
|
onCloseButtonClick() {
|
|
3109
3228
|
this.closeButtonClicked.emit();
|
|
3110
3229
|
}
|
|
3230
|
+
onPostingBoardChange(selectedBoard) {
|
|
3231
|
+
this.updateOrderSummary();
|
|
3232
|
+
}
|
|
3233
|
+
addLineItem(invoiceAreaIndex, selectedBoard) {
|
|
3234
|
+
this.orderSummary.invoiceAreas[invoiceAreaIndex].lineItems.push({
|
|
3235
|
+
textLeft: selectedBoard.boardName,
|
|
3236
|
+
textRight: `$${selectedBoard.boardPrice}`,
|
|
3237
|
+
});
|
|
3238
|
+
}
|
|
3239
|
+
calculateInvoiceAreaTotal(invoiceAreaIndex) {
|
|
3240
|
+
let invoiceAreaTotal = 0;
|
|
3241
|
+
this.orderSummary.invoiceAreas[invoiceAreaIndex].lineItems.forEach((li) => {
|
|
3242
|
+
invoiceAreaTotal = invoiceAreaTotal + +li.textRight.replace('$', '');
|
|
3243
|
+
});
|
|
3244
|
+
this.orderSummary.invoiceAreas[invoiceAreaIndex].total.textRight = `x (${this.model.jobsToAdvertise.length}) Jobs = $${invoiceAreaTotal * this.model.jobsToAdvertise.length}`;
|
|
3245
|
+
return invoiceAreaTotal * this.model.jobsToAdvertise.length;
|
|
3246
|
+
}
|
|
3247
|
+
calculateOrderTotal(payPerClickAreaTotal, jobBoardAreaTotal) {
|
|
3248
|
+
const selectedJobBoards = this.model.jobBoards.filter((jb) => jb.isSelected).length;
|
|
3249
|
+
const jobToAdvertiseCount = this.model.jobsToAdvertise.length;
|
|
3250
|
+
const orderSummaryText = `(${selectedJobBoards}) Boards x ${this.model.jobsToAdvertise.length} Jobs = (${selectedJobBoards * jobToAdvertiseCount}) Ads`;
|
|
3251
|
+
this.orderSummary.total = {
|
|
3252
|
+
label: 'Total:',
|
|
3253
|
+
textLeft: orderSummaryText,
|
|
3254
|
+
textRight: `$${payPerClickAreaTotal + jobBoardAreaTotal}`,
|
|
3255
|
+
};
|
|
3256
|
+
}
|
|
3257
|
+
updateOrderSummary() {
|
|
3258
|
+
this.orderSummary.invoiceAreas[0].lineItems = [];
|
|
3259
|
+
this.orderSummary.invoiceAreas[1].lineItems = [];
|
|
3260
|
+
this.model.jobBoards.forEach((jb) => {
|
|
3261
|
+
if (jb.isSelected) {
|
|
3262
|
+
if (jb.isPayPerClick) {
|
|
3263
|
+
this.addLineItem(0, jb);
|
|
3264
|
+
}
|
|
3265
|
+
else {
|
|
3266
|
+
this.addLineItem(1, jb);
|
|
3267
|
+
}
|
|
3268
|
+
}
|
|
3269
|
+
});
|
|
3270
|
+
const payPerClickAreaTotal = this.calculateInvoiceAreaTotal(0);
|
|
3271
|
+
const jobBoardAreaTotal = this.calculateInvoiceAreaTotal(1);
|
|
3272
|
+
this.calculateOrderTotal(payPerClickAreaTotal, jobBoardAreaTotal);
|
|
3273
|
+
if (this.model.jobBoards.filter((jb) => jb.isSelected).length === 0) {
|
|
3274
|
+
this.isJobBoardNextButtonDisabled = true;
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3111
3277
|
}
|
|
3112
3278
|
AdvertiseModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AdvertiseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3113
|
-
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>
|
|
3279
|
+
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"] }] });
|
|
3114
3280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AdvertiseModalComponent, decorators: [{
|
|
3115
3281
|
type: Component,
|
|
3116
|
-
args: [{ selector: 'symphony-advertise-modal', template: "<symphony-two-column-modal-template>\n <symphony-h4 sfx-modal-title>
|
|
3282
|
+
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"] }]
|
|
3117
3283
|
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3118
3284
|
type: Input
|
|
3119
3285
|
}], buttonClicked: [{
|
|
@@ -3206,12 +3372,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3206
3372
|
}]
|
|
3207
3373
|
}] });
|
|
3208
3374
|
|
|
3375
|
+
class InvoiceAreaModule {
|
|
3376
|
+
}
|
|
3377
|
+
InvoiceAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3378
|
+
InvoiceAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaModule, declarations: [InvoiceAreaComponent], imports: [CommonModule, InvoiceLineItemModule, H5Module], exports: [InvoiceAreaComponent] });
|
|
3379
|
+
InvoiceAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaModule, imports: [[CommonModule, InvoiceLineItemModule, H5Module]] });
|
|
3380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: InvoiceAreaModule, decorators: [{
|
|
3381
|
+
type: NgModule,
|
|
3382
|
+
args: [{
|
|
3383
|
+
declarations: [InvoiceAreaComponent],
|
|
3384
|
+
imports: [CommonModule, InvoiceLineItemModule, H5Module],
|
|
3385
|
+
exports: [InvoiceAreaComponent],
|
|
3386
|
+
}]
|
|
3387
|
+
}] });
|
|
3388
|
+
|
|
3389
|
+
class OrderSummaryModule {
|
|
3390
|
+
}
|
|
3391
|
+
OrderSummaryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3392
|
+
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] });
|
|
3393
|
+
OrderSummaryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryModule, imports: [[CommonModule, InvoiceAreaModule, H4Module, InvoiceLineItemModule]] });
|
|
3394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: OrderSummaryModule, decorators: [{
|
|
3395
|
+
type: NgModule,
|
|
3396
|
+
args: [{
|
|
3397
|
+
declarations: [OrderSummaryComponent],
|
|
3398
|
+
imports: [CommonModule, InvoiceAreaModule, H4Module, InvoiceLineItemModule],
|
|
3399
|
+
exports: [OrderSummaryComponent],
|
|
3400
|
+
}]
|
|
3401
|
+
}] });
|
|
3402
|
+
|
|
3209
3403
|
class ModalModule {
|
|
3210
3404
|
}
|
|
3211
3405
|
ModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3212
3406
|
ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalModule, declarations: [AdvertiseModalComponent], imports: [CommonModule,
|
|
3213
3407
|
TwoColumnModalModule,
|
|
3214
3408
|
TwoColumnBodyTemplateModule,
|
|
3409
|
+
H2Module,
|
|
3410
|
+
H3Module,
|
|
3215
3411
|
H4Module,
|
|
3216
3412
|
H5Module,
|
|
3217
3413
|
ParagraphModule,
|
|
@@ -3222,11 +3418,15 @@ ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
|
|
|
3222
3418
|
H5WithIconModule,
|
|
3223
3419
|
AdvertisePostingboardSelectionListModule,
|
|
3224
3420
|
SfxLoaderModule,
|
|
3225
|
-
AdvertiseOrderReviewModule
|
|
3421
|
+
AdvertiseOrderReviewModule,
|
|
3422
|
+
OrderSummaryModule,
|
|
3423
|
+
CancelModalModule], exports: [AdvertiseModalComponent] });
|
|
3226
3424
|
ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalModule, imports: [[
|
|
3227
3425
|
CommonModule,
|
|
3228
3426
|
TwoColumnModalModule,
|
|
3229
3427
|
TwoColumnBodyTemplateModule,
|
|
3428
|
+
H2Module,
|
|
3429
|
+
H3Module,
|
|
3230
3430
|
H4Module,
|
|
3231
3431
|
H5Module,
|
|
3232
3432
|
ParagraphModule,
|
|
@@ -3237,7 +3437,9 @@ ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "1
|
|
|
3237
3437
|
H5WithIconModule,
|
|
3238
3438
|
AdvertisePostingboardSelectionListModule,
|
|
3239
3439
|
SfxLoaderModule,
|
|
3240
|
-
AdvertiseOrderReviewModule
|
|
3440
|
+
AdvertiseOrderReviewModule,
|
|
3441
|
+
OrderSummaryModule,
|
|
3442
|
+
CancelModalModule
|
|
3241
3443
|
]] });
|
|
3242
3444
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ModalModule, decorators: [{
|
|
3243
3445
|
type: NgModule,
|
|
@@ -3247,6 +3449,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3247
3449
|
CommonModule,
|
|
3248
3450
|
TwoColumnModalModule,
|
|
3249
3451
|
TwoColumnBodyTemplateModule,
|
|
3452
|
+
H2Module,
|
|
3453
|
+
H3Module,
|
|
3250
3454
|
H4Module,
|
|
3251
3455
|
H5Module,
|
|
3252
3456
|
ParagraphModule,
|
|
@@ -3257,7 +3461,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3257
3461
|
H5WithIconModule,
|
|
3258
3462
|
AdvertisePostingboardSelectionListModule,
|
|
3259
3463
|
SfxLoaderModule,
|
|
3260
|
-
AdvertiseOrderReviewModule
|
|
3464
|
+
AdvertiseOrderReviewModule,
|
|
3465
|
+
OrderSummaryModule,
|
|
3466
|
+
CancelModalModule
|
|
3261
3467
|
],
|
|
3262
3468
|
exports: [AdvertiseModalComponent],
|
|
3263
3469
|
}]
|