@symphony-talent/component-library 3.5.0 → 3.8.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/atoms/tooltip-wrapper/tooltip-wrapper.component.mjs +4 -4
- package/esm2020/lib/molecules/advertise-order-review/advertise-order-review.component.mjs +14 -0
- package/esm2020/lib/molecules/advertise-order-review/advertise-order-review.module.mjs +20 -0
- package/esm2020/lib/molecules/h5-with-icon/h5-with-icon.component.mjs +3 -3
- package/esm2020/lib/molecules/h5-with-icon/h5-with-icon.model.mjs +1 -1
- package/esm2020/lib/molecules/h5-with-icon/h5-with-icon.module.mjs +4 -20
- package/esm2020/lib/molecules/invoice-line-item/invoice-line-item.component.mjs +22 -0
- package/esm2020/lib/molecules/invoice-line-item/invoice-line-item.model.mjs +2 -0
- package/esm2020/lib/molecules/invoice-line-item/invoice-line-item.module.mjs +20 -0
- package/esm2020/lib/molecules/molecules.module.mjs +6 -2
- package/esm2020/lib/organisms/advertise-postingboard-selection-list/advertise-postingboard-selection-list.component.mjs +17 -5
- 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/pages/modals/advertise-modal/advertise-modal.component.mjs +142 -25
- package/esm2020/lib/pages/modals/advertise-modal/advertise-modal.model.mjs +1 -1
- package/esm2020/lib/pages/modals/advertise-modal/advertise-modal.module.mjs +22 -2
- package/esm2020/lib/templates/admin-list/admin-list.component.mjs +3 -3
- package/esm2020/lib/templates/modal-templates/two-column-body-template/two-column-body-template.component.mjs +8 -5
- package/esm2020/lib/templates/modal-templates/two-column-modal-template/two-column-modal-template.component.mjs +3 -3
- package/esm2020/projects/component-library/lib/atoms/tooltip-wrapper/tooltip-wrapper.component.mjs +4 -4
- package/esm2020/projects/component-library/lib/molecules/advertise-order-review/advertise-order-review.component.mjs +14 -0
- package/esm2020/projects/component-library/lib/molecules/advertise-order-review/advertise-order-review.module.mjs +20 -0
- package/esm2020/projects/component-library/lib/molecules/h5-with-icon/h5-with-icon.component.mjs +3 -3
- package/esm2020/projects/component-library/lib/molecules/h5-with-icon/h5-with-icon.model.mjs +1 -1
- package/esm2020/projects/component-library/lib/molecules/h5-with-icon/h5-with-icon.module.mjs +4 -20
- package/esm2020/projects/component-library/lib/molecules/invoice-line-item/invoice-line-item.component.mjs +22 -0
- package/esm2020/projects/component-library/lib/molecules/invoice-line-item/invoice-line-item.model.mjs +2 -0
- package/esm2020/projects/component-library/lib/molecules/invoice-line-item/invoice-line-item.module.mjs +20 -0
- package/esm2020/projects/component-library/lib/molecules/molecules.module.mjs +6 -2
- 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/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/pages/modals/advertise-modal/advertise-modal.component.mjs +142 -25
- 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 +22 -2
- package/esm2020/projects/component-library/lib/templates/admin-list/admin-list.component.mjs +3 -3
- package/esm2020/projects/component-library/lib/templates/modal-templates/two-column-body-template/two-column-body-template.component.mjs +8 -5
- package/esm2020/projects/component-library/lib/templates/modal-templates/two-column-modal-template/two-column-modal-template.component.mjs +3 -3
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +300 -52
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2015/symphony-talent-component-library.mjs +300 -52
- package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +300 -52
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library.mjs +300 -52
- package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
- package/lib/atoms/tooltip-wrapper/tooltip-wrapper.component.d.ts +2 -2
- package/lib/molecules/advertise-order-review/advertise-order-review.component.d.ts +6 -0
- package/lib/molecules/advertise-order-review/advertise-order-review.module.d.ts +10 -0
- package/lib/molecules/h5-with-icon/h5-with-icon.model.d.ts +1 -1
- package/lib/molecules/h5-with-icon/h5-with-icon.module.d.ts +2 -3
- package/lib/molecules/invoice-line-item/invoice-line-item.component.d.ts +8 -0
- package/lib/molecules/invoice-line-item/invoice-line-item.model.d.ts +5 -0
- package/lib/molecules/invoice-line-item/invoice-line-item.module.d.ts +10 -0
- package/lib/molecules/molecules.module.d.ts +2 -1
- package/lib/organisms/advertise-postingboard-selection-list/advertise-postingboard-selection-list.component.d.ts +5 -1
- 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/pages/modals/advertise-modal/advertise-modal.component.d.ts +20 -1
- package/lib/pages/modals/advertise-modal/advertise-modal.model.d.ts +2 -9
- package/lib/pages/modals/advertise-modal/advertise-modal.module.d.ts +15 -10
- package/lib/templates/modal-templates/two-column-body-template/two-column-body-template.component.d.ts +2 -1
- package/lib/templates/modal-templates/two-column-modal-template/two-column-modal-template.component.d.ts +1 -1
- package/package.json +1 -1
- package/projects/component-library/global-assets/spacing.scss +8 -0
- package/projects/component-library/global.scss +33 -32
- package/projects/component-library/lib/atoms/tooltip-wrapper/tooltip-wrapper.component.d.ts +2 -2
- package/projects/component-library/lib/molecules/advertise-order-review/advertise-order-review.component.d.ts +6 -0
- package/projects/component-library/lib/molecules/advertise-order-review/advertise-order-review.module.d.ts +10 -0
- package/projects/component-library/lib/molecules/h5-with-icon/h5-with-icon.model.d.ts +1 -1
- package/projects/component-library/lib/molecules/h5-with-icon/h5-with-icon.module.d.ts +2 -3
- package/projects/component-library/lib/molecules/invoice-line-item/invoice-line-item.component.d.ts +8 -0
- package/projects/component-library/lib/molecules/invoice-line-item/invoice-line-item.model.d.ts +5 -0
- package/projects/component-library/lib/molecules/invoice-line-item/invoice-line-item.module.d.ts +10 -0
- package/projects/component-library/lib/molecules/molecules.module.d.ts +2 -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/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/pages/modals/advertise-modal/advertise-modal.component.d.ts +20 -1
- package/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.model.d.ts +2 -9
- package/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.module.d.ts +15 -10
- package/projects/component-library/lib/templates/modal-templates/two-column-body-template/two-column-body-template.component.d.ts +2 -1
- package/projects/component-library/lib/templates/modal-templates/two-column-modal-template/two-column-modal-template.component.d.ts +1 -1
package/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.component.d.ts
CHANGED
|
@@ -1,16 +1,35 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { OrderSummaryModel } from '../../../organisms/order-summary/order-summary.model';
|
|
3
|
+
import { H5WithIconModel } from '../../../molecules/h5-with-icon/h5-with-icon.model';
|
|
2
4
|
import { AdvertiseModalModel, PostingBoardsSelectionModel } from './advertise-modal.model';
|
|
5
|
+
import { InvoiceModel } from '../../../molecules/invoice-line-item/invoice-line-item.model';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
export declare class AdvertiseModalComponent implements OnInit {
|
|
5
8
|
model: Partial<AdvertiseModalModel>;
|
|
6
9
|
buttonClicked: EventEmitter<string>;
|
|
7
10
|
closeButtonClicked: EventEmitter<string>;
|
|
8
11
|
filteredPostingBoardList: PostingBoardsSelectionModel[];
|
|
12
|
+
orderSummary: OrderSummaryModel;
|
|
13
|
+
subTitle: H5WithIconModel;
|
|
14
|
+
fundsInfo: H5WithIconModel;
|
|
15
|
+
payPerClickBoards: InvoiceModel[];
|
|
16
|
+
jobBoards: InvoiceModel[];
|
|
17
|
+
jobCount: number;
|
|
18
|
+
modalTitle: string;
|
|
19
|
+
isJobBoardNextButtonDisabled: boolean;
|
|
9
20
|
constructor();
|
|
10
21
|
ngOnInit(): void;
|
|
11
|
-
|
|
22
|
+
initialiseDefaultValues(): void;
|
|
23
|
+
updateModalHeader(): void;
|
|
24
|
+
onKeywordSearch(keyword: string): void;
|
|
12
25
|
onButtonClick(text: string): void;
|
|
13
26
|
onCloseButtonClick(): void;
|
|
27
|
+
onPostingBoardChange(selectedBoard: PostingBoardsSelectionModel): void;
|
|
28
|
+
addLineItem(invoiceAreaIndex: number, selectedBoard: PostingBoardsSelectionModel): void;
|
|
29
|
+
removeLineItem(invoiceAreaIndex: number, selectedBoard: PostingBoardsSelectionModel): void;
|
|
30
|
+
calculateInvoiceAreaTotal(invoiceAreaIndex: number): number;
|
|
31
|
+
calculateOrderTotal(payPerClickAreaTotal: number, jobBoardAreaTotal: number): void;
|
|
32
|
+
updateOrderSummary(): void;
|
|
14
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdvertiseModalComponent, never>;
|
|
15
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdvertiseModalComponent, "symphony-advertise-modal", never, { "model": "model"; }, { "buttonClicked": "buttonClicked"; "closeButtonClicked": "closeButtonClicked"; }, never, never>;
|
|
16
35
|
}
|
package/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.model.d.ts
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import { H5WithIconModel } from '../../../molecules/h5-with-icon/h5-with-icon.model';
|
|
2
1
|
export interface AdvertiseModalModel {
|
|
3
|
-
title: string;
|
|
4
|
-
subtitle: H5WithIconModel;
|
|
5
2
|
showFunds: boolean;
|
|
6
|
-
fundsInfo: H5WithIconModel;
|
|
7
|
-
primaryButtonText: string;
|
|
8
|
-
secondaryButtonText: string;
|
|
9
|
-
backButtonText: string;
|
|
10
3
|
jobsToAdvertise: AdvertiseJobModel[];
|
|
11
4
|
jobBoards: PostingBoardsSelectionModel[];
|
|
12
|
-
isJobBoardsLoading: boolean;
|
|
13
5
|
hasJobBoardsLoadingFailed: boolean;
|
|
14
|
-
currency: string;
|
|
15
6
|
navigation: AdvertiseModalNavigation;
|
|
7
|
+
isLoading: boolean;
|
|
16
8
|
}
|
|
17
9
|
export interface AdvertiseJobModel {
|
|
18
10
|
id: number;
|
|
@@ -34,4 +26,5 @@ export interface AdvertiseModalNavigation {
|
|
|
34
26
|
showOrderProcessing: boolean;
|
|
35
27
|
showConfirmation: boolean;
|
|
36
28
|
showCancel: boolean;
|
|
29
|
+
showProcessing: boolean;
|
|
37
30
|
}
|
package/projects/component-library/lib/pages/modals/advertise-modal/advertise-modal.module.d.ts
CHANGED
|
@@ -3,17 +3,22 @@ import * as i1 from "./advertise-modal.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../../../templates/modal-templates/two-column-modal-template/two-column-modal-template.module";
|
|
5
5
|
import * as i4 from "../../../templates/modal-templates/two-column-body-template/two-column-body-template.module";
|
|
6
|
-
import * as i5 from "../../../atoms/
|
|
7
|
-
import * as i6 from "../../../atoms/
|
|
8
|
-
import * as i7 from "../../../atoms/
|
|
9
|
-
import * as i8 from "../../../atoms/
|
|
10
|
-
import * as i9 from "../../../atoms/
|
|
11
|
-
import * as i10 from "../../../atoms/
|
|
12
|
-
import * as i11 from "../../../
|
|
13
|
-
import * as i12 from "../../../
|
|
14
|
-
import * as i13 from "../../../
|
|
6
|
+
import * as i5 from "../../../atoms/h2/h2.module";
|
|
7
|
+
import * as i6 from "../../../atoms/h3/h3.module";
|
|
8
|
+
import * as i7 from "../../../atoms/h4/h4.module";
|
|
9
|
+
import * as i8 from "../../../atoms/h5/h5.module";
|
|
10
|
+
import * as i9 from "../../../atoms/paragraph/paragraph.module";
|
|
11
|
+
import * as i10 from "../../../atoms/icon/icon.module";
|
|
12
|
+
import * as i11 from "../../../atoms/input-text/input-text.module";
|
|
13
|
+
import * as i12 from "../../../atoms/button/button.module";
|
|
14
|
+
import * as i13 from "../../../templates/placeholder/placeholder.module";
|
|
15
|
+
import * as i14 from "../../../molecules/h5-with-icon/h5-with-icon.module";
|
|
16
|
+
import * as i15 from "../../../organisms/advertise-postingboard-selection-list/advertise-postingboard-selection-list.module";
|
|
17
|
+
import * as i16 from "../../../atoms/sfx-loader/sfx-loader.module";
|
|
18
|
+
import * as i17 from "../../../molecules/advertise-order-review/advertise-order-review.module";
|
|
19
|
+
import * as i18 from "../../../organisms/order-summary/order-summary.module";
|
|
15
20
|
export declare class ModalModule {
|
|
16
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalModule, [typeof i1.AdvertiseModalComponent], [typeof i2.CommonModule, typeof i3.TwoColumnModalModule, typeof i4.TwoColumnBodyTemplateModule, typeof i5.
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalModule, [typeof i1.AdvertiseModalComponent], [typeof i2.CommonModule, typeof i3.TwoColumnModalModule, typeof i4.TwoColumnBodyTemplateModule, typeof i5.H2Module, typeof i6.H3Module, typeof i7.H4Module, typeof i8.H5Module, typeof i9.ParagraphModule, typeof i10.IconModule, typeof i11.InputTextModule, typeof i12.ButtonModule, typeof i13.PlaceholderModule, typeof i14.H5WithIconModule, typeof i15.AdvertisePostingboardSelectionListModule, typeof i16.SfxLoaderModule, typeof i17.AdvertiseOrderReviewModule, typeof i18.OrderSummaryModule], [typeof i1.AdvertiseModalComponent]>;
|
|
18
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<ModalModule>;
|
|
19
24
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TwoColumnBodyTemplateComponent {
|
|
3
|
+
showHeader: boolean;
|
|
3
4
|
constructor();
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TwoColumnBodyTemplateComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TwoColumnBodyTemplateComponent, "symphony-two-column-body-template", never, {}, {}, never, ["[sfx-left-col-header]", "[sfx-right-col-header]", "[sfx-left-column]", "[sfx-right-column]"]>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TwoColumnBodyTemplateComponent, "symphony-two-column-body-template", never, { "showHeader": "showHeader"; }, {}, never, ["[sfx-left-col-header]", "[sfx-right-col-header]", "[sfx-left-column]", "[sfx-right-column]"]>;
|
|
6
7
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class TwoColumnModalTemplateComponent {
|
|
3
3
|
constructor();
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<TwoColumnModalTemplateComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TwoColumnModalTemplateComponent, "symphony-two-column-modal-template", never, {}, {}, never, ["[sfx-modal-title]", "[sfx-close-button]", "[sfx-modal-subtitle]", "[sfx-modal-body-area]", "[sfx-button-secondary]", "[sfx-button-primary]"]>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TwoColumnModalTemplateComponent, "symphony-two-column-modal-template", never, {}, {}, never, ["[sfx-modal-title]", "[sfx-close-button]", "[sfx-modal-subtitle]", "[sfx-modal-body-area]", "[sfx-button-back]", "[sfx-button-secondary]", "[sfx-button-primary]"]>;
|
|
6
6
|
}
|