@colijnit/sharedcomponents 1.0.30 → 1.0.32
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/bundles/colijnit-sharedcomponents.umd.js +766 -1882
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +40 -29
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +41 -30
- package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +18 -15
- package/esm2015/lib/components/date-planning/date-planning.component.js +6 -4
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +3 -3
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +7 -7
- package/esm2015/lib/components/docsign/docsign.component.js +5 -5
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +3 -3
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +14 -10
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +57 -0
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +19 -0
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +76 -0
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +59 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +23 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +50 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +26 -0
- package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -0
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +162 -251
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +12 -13
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -0
- package/esm2015/lib/components/statusbar/statusbar.component.js +14 -16
- package/esm2015/lib/components/statusbar/statusbar.module.js +4 -2
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +7 -8
- package/esm2015/lib/enum/gauge-color.enum.js +10 -0
- package/esm2015/lib/enum/icon.enum.js +6 -1
- package/esm2015/lib/model/icon-svg.js +7 -2
- package/esm2015/lib/model/send-method.js +8 -0
- package/esm2015/lib/model/time-window.bo.js +4 -4
- package/esm2015/lib/pipe/array-number.pipe.js +1 -1
- package/esm2015/lib/service/icon-cache.service.js +1 -1
- package/esm2015/lib/service/shared-connector.service.js +91 -121
- package/esm2015/lib/service/shared.service.js +11 -1
- package/esm2015/lib/service/stock.service.js +19 -36
- package/fesm2015/colijnit-sharedcomponents.js +802 -1888
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/circular-gauge/style/_layout.scss +6 -5
- package/lib/components/circular-gauge/style/_theme.scss +0 -2
- package/lib/components/circular-gauge/style/material.scss +1 -0
- package/lib/components/date-planning/date-planning.component.d.ts +3 -2
- package/lib/components/date-planning/style/_layout.scss +2 -4
- package/lib/components/date-planning/style/_theme.scss +2 -4
- package/lib/components/docsign/component/signature/style/_layout.scss +2 -4
- package/lib/components/docsign/component/signature/style/_theme.scss +2 -4
- package/lib/components/docsign/component/signature/style/material.scss +1 -3
- package/lib/components/docsign/component/signatures/style/_layout.scss +3 -5
- package/lib/components/docsign/component/signatures/style/_theme.scss +2 -4
- package/lib/components/docsign/component/signatures/style/material.scss +1 -2
- package/lib/components/docsign/style/_layout.scss +3 -5
- package/lib/components/docsign/style/_theme.scss +2 -4
- package/lib/components/docsign/style/material.scss +1 -0
- package/lib/components/layout-switcher/style/_layout.scss +2 -4
- package/lib/components/layout-switcher/style/_theme.scss +2 -4
- package/lib/components/layout-switcher/style/material.scss +1 -0
- package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +1 -6
- package/lib/components/linear-gauge/style/_layout.scss +0 -2
- package/lib/components/linear-gauge/style/_theme.scss +0 -2
- package/lib/components/linear-gauge/style/material.scss +1 -0
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +13 -0
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/layout-selection/style/_layout.scss +34 -0
- package/lib/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +19 -0
- package/lib/components/send-method-dialog/components/layout-selection/style/_theme.scss +17 -0
- package/lib/components/send-method-dialog/components/layout-selection/style/material.scss +4 -0
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +18 -0
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/printer-selection/style/_layout.scss +59 -0
- package/lib/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +39 -0
- package/lib/components/send-method-dialog/components/printer-selection/style/_theme.scss +23 -0
- package/lib/components/send-method-dialog/components/printer-selection/style/material.scss +4 -0
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -0
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +21 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +8 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/_theme.scss +5 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/material.scss +4 -0
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +10 -0
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +17 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +5 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_theme.scss +5 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/material.scss +4 -0
- package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -0
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +53 -61
- package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -0
- package/lib/components/send-method-dialog/style/_layout.scss +44 -184
- package/lib/components/send-method-dialog/style/_material-definition.scss +30 -1
- package/lib/components/send-method-dialog/style/_theme.scss +31 -5
- package/lib/components/send-method-dialog/style/material.scss +5 -0
- package/lib/components/statusbar/statusbar.component.d.ts +2 -3
- package/lib/components/statusbar/style/_layout.scss +0 -2
- package/lib/components/statusbar/style/_theme.scss +0 -2
- package/lib/components/statusbar/style/material.scss +1 -0
- package/lib/components/stock/style/_layout.scss +0 -2
- package/lib/components/stock/style/_theme.scss +0 -3
- package/lib/components/stock/style/material.scss +1 -0
- package/lib/enum/gauge-color.enum.d.ts +8 -0
- package/lib/enum/icon.enum.d.ts +5 -0
- package/lib/model/send-method.d.ts +7 -0
- package/lib/model/time-window.bo.d.ts +1 -1
- package/lib/service/icon-cache.service.d.ts +1 -1
- package/lib/service/shared-connector.service.d.ts +21 -29
- package/lib/service/shared.service.d.ts +4 -0
- package/lib/service/stock.service.d.ts +1 -12
- package/lib/style/_variables.scss +5 -1
- package/package.json +6 -6
- package/esm2015/lib/components/send-method-dialog/enums/send-option.js +0 -8
- package/esm2015/lib/factory/business-object-factory.js +0 -120
- package/esm2015/lib/factory/decorators/boolean.decorator.js +0 -102
- package/esm2015/lib/factory/decorators/complex-array.decorator.js +0 -55
- package/esm2015/lib/factory/decorators/complex-field.decorator.js +0 -57
- package/esm2015/lib/factory/decorators/date-field.decorator.js +0 -36
- package/esm2015/lib/factory/decorators/string-number.decorator.js +0 -43
- package/esm2015/lib/model/business-object.js +0 -81
- package/esm2015/lib/utils/array-utils.js +0 -202
- package/esm2015/lib/utils/check-precision-and-scale-result.js +0 -2
- package/esm2015/lib/utils/check-within-stepped-bounds-result.js +0 -2
- package/esm2015/lib/utils/is-nill.function.js +0 -5
- package/esm2015/lib/utils/number-utils.js +0 -390
- package/esm2015/lib/utils/object-utils.js +0 -278
- package/lib/components/send-method-dialog/enums/send-option.d.ts +0 -6
- package/lib/factory/business-object-factory.d.ts +0 -23
- package/lib/factory/decorators/boolean.decorator.d.ts +0 -43
- package/lib/factory/decorators/complex-array.decorator.d.ts +0 -25
- package/lib/factory/decorators/complex-field.decorator.d.ts +0 -25
- package/lib/factory/decorators/date-field.decorator.d.ts +0 -17
- package/lib/factory/decorators/string-number.decorator.d.ts +0 -22
- package/lib/model/business-object.d.ts +0 -7
- package/lib/utils/array-utils.d.ts +0 -63
- package/lib/utils/check-precision-and-scale-result.d.ts +0 -4
- package/lib/utils/check-within-stepped-bounds-result.d.ts +0 -8
- package/lib/utils/is-nill.function.d.ts +0 -1
- package/lib/utils/number-utils.d.ts +0 -125
- package/lib/utils/object-utils.d.ts +0 -40
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import "../../../style/mixin";
|
|
2
|
-
|
|
3
1
|
@include export-module('co-circular-gauge-layout') {
|
|
4
2
|
.co-circular-gauge {
|
|
5
3
|
.circular-gauge-wrapper{
|
|
@@ -13,12 +11,15 @@
|
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
.annotation {
|
|
16
|
-
display: flex;
|
|
17
|
-
justify-content: start;
|
|
18
14
|
font-family: $circular-gauge-annotation-font-family;
|
|
19
15
|
font-size: $circular-gauge-annotation-font-size;
|
|
20
16
|
font-weight: $circular-gauge-annotation-font-weight;
|
|
21
|
-
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
align-items: center;
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: -1px;
|
|
22
|
+
left: -7px;
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
2
|
import { CalendarView } from "@syncfusion/ej2-angular-calendars";
|
|
3
3
|
export declare class DatePlanningComponent {
|
|
4
4
|
private _changeDetector;
|
|
5
5
|
private renderer;
|
|
6
|
+
dayStart: ElementRef;
|
|
6
7
|
calendarNavigation: boolean;
|
|
7
8
|
showButton: boolean;
|
|
8
9
|
selectedDate: Date;
|
|
@@ -15,7 +16,7 @@ export declare class DatePlanningComponent {
|
|
|
15
16
|
readonly rangeChange: EventEmitter<Date>;
|
|
16
17
|
readonly viewChange: EventEmitter<CalendarView>;
|
|
17
18
|
readonly buttonClick: EventEmitter<MouseEvent>;
|
|
18
|
-
|
|
19
|
+
showClass: boolean;
|
|
19
20
|
days: Date[];
|
|
20
21
|
private _selectedDate;
|
|
21
22
|
constructor(_changeDetector: ChangeDetectorRef, renderer: Renderer2);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('ione-signature-theme') {
|
|
4
|
-
.ione-signature {
|
|
1
|
+
@include export-module('co-signature-theme') {
|
|
2
|
+
.co-signature {
|
|
5
3
|
background-color: $sc-signature-background-color;
|
|
6
4
|
box-shadow: $sc-signature-boxshadow;
|
|
7
5
|
.signature-header {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('ione-signatures-layout') {
|
|
4
|
-
.ione-signatures {
|
|
1
|
+
@include export-module('co-signatures-layout') {
|
|
2
|
+
.co-signatures {
|
|
5
3
|
pointer-events: none;
|
|
6
4
|
display: grid;
|
|
7
5
|
grid-template-columns: repeat(auto-fit, minmax($sc-signature-width, $sc-signature-width));
|
|
8
6
|
align-items: center;
|
|
9
7
|
justify-content: center;
|
|
10
8
|
}
|
|
11
|
-
.
|
|
9
|
+
.co-signature {
|
|
12
10
|
width: $sc-signature-width;
|
|
13
11
|
height: $sc-signature-height;
|
|
14
12
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('ione-docsign-layout') {
|
|
4
|
-
.ione-docsign {
|
|
1
|
+
@include export-module('co-docsign-layout') {
|
|
2
|
+
.co-docsign {
|
|
5
3
|
position: relative;
|
|
6
4
|
display: block;
|
|
7
5
|
width: 100%;
|
|
@@ -31,7 +29,7 @@
|
|
|
31
29
|
right: $sc-signature-button-cancel-right;
|
|
32
30
|
bottom: $sc-signature-button-cancel-bottom;
|
|
33
31
|
}
|
|
34
|
-
.
|
|
32
|
+
.co-signatures {
|
|
35
33
|
position: absolute;
|
|
36
34
|
width: 100%;
|
|
37
35
|
left: 50%;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include export-module('ione-docsign-theme') {
|
|
4
|
-
.ione-docsign {
|
|
1
|
+
@include export-module('co-docsign-theme') {
|
|
2
|
+
.co-docsign {
|
|
5
3
|
.button-sign-document {
|
|
6
4
|
background-color: $sc-signature-button-sign-background-color;
|
|
7
5
|
color: $sc-signature-button-sign-color;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Low = "#E0E0E0",
|
|
3
|
-
Medium = "#F88952",
|
|
4
|
-
High = "#5FDCB3"
|
|
5
|
-
}
|
|
1
|
+
import { GaugeColor } from "../../enum/gauge-color.enum";
|
|
6
2
|
export declare class CoLinearGaugeComponent {
|
|
7
3
|
set value(value: number);
|
|
8
4
|
get value(): number;
|
|
@@ -13,4 +9,3 @@ export declare class CoLinearGaugeComponent {
|
|
|
13
9
|
getStyle(): string;
|
|
14
10
|
private _setColor;
|
|
15
11
|
}
|
|
16
|
-
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ReportLayoutSelectionBase } from '@colijnit/mainapi/build/model/report-layout-selection-base.bo';
|
|
3
|
+
import { ReportingDocumentBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-base-request';
|
|
4
|
+
export declare class LayoutSelectionComponent implements OnInit {
|
|
5
|
+
request: ReportingDocumentBaseRequest;
|
|
6
|
+
layouts: ReportLayoutSelectionBase[];
|
|
7
|
+
requestChange: EventEmitter<ReportingDocumentBaseRequest>;
|
|
8
|
+
showClass(): boolean;
|
|
9
|
+
currentLayout: ReportLayoutSelectionBase;
|
|
10
|
+
showLayoutList: boolean;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
handleSelectLayout(reportLayout: ReportLayoutSelectionBase): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@include export-module('co-layout-selection-layout') {
|
|
2
|
+
.co-layout-selection {
|
|
3
|
+
font-family: $sc-co-layout-selection-font-family;
|
|
4
|
+
font-size: $sc-co-layout-selection-font-size;
|
|
5
|
+
.layout-selection-wrapper {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
user-select: none;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
row-gap: $sc-co-layout-selection-row-gap;
|
|
11
|
+
border-style: $sc-co-layout-selection-border-style;
|
|
12
|
+
border-width: $sc-co-layout-selection-border-width;
|
|
13
|
+
border-radius: $sc-co-layout-selection-border-radius;
|
|
14
|
+
padding: $sc-co-layout-selection-padding;
|
|
15
|
+
.layout-description {
|
|
16
|
+
font-size: $sc-co-layout-selection-description-font-size;
|
|
17
|
+
font-weight: $sc-co-layout-selection-description-font-weight;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.layouts-wrapper {
|
|
21
|
+
position: absolute;
|
|
22
|
+
transform-origin: bottom center;
|
|
23
|
+
left: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
width: 100%;
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
z-index: 1;
|
|
29
|
+
row-gap: $sc-co-layout-selection-selections-row-gap;
|
|
30
|
+
box-shadow: $sc-co-layout-selection-selections-shadow;
|
|
31
|
+
padding: $sc-co-layout-selection-selections-padding;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
$sc-co-layout-selection-font-family: $sc-font-family !default;
|
|
2
|
+
$sc-co-layout-selection-font-size: $sc-font-size !default;
|
|
3
|
+
$sc-co-layout-selection-font-color: $sc-color-font !default;
|
|
4
|
+
|
|
5
|
+
$sc-co-layout-selection-row-gap: 10px !default;
|
|
6
|
+
$sc-co-layout-selection-border-style: solid !default;
|
|
7
|
+
$sc-co-layout-selection-border-color: $sc-color-border !default;
|
|
8
|
+
$sc-co-layout-selection-border-width: 1px !default;
|
|
9
|
+
$sc-co-layout-selection-border-radius: 10px !default;
|
|
10
|
+
$sc-co-layout-selection-padding: 10px !default;
|
|
11
|
+
$sc-co-layout-selection-description-font-size: $sc-font-size !default;
|
|
12
|
+
$sc-co-layout-selection-description-font-weight: bold !default;
|
|
13
|
+
|
|
14
|
+
$sc-co-layout-selection-selections-row-gap: 10px !default;
|
|
15
|
+
$sc-co-layout-selection-selections-shadow: 0px 0px 8px rgba(1, 1, 1, 0.2) !default;
|
|
16
|
+
$sc-co-layout-selection-selections-padding: 10px 0 !default;
|
|
17
|
+
$sc-co-layout-selection-selections-background-color: white !default;
|
|
18
|
+
$sc-co-layout-selection-selections-selected-background-color: $sc-color-background !default;
|
|
19
|
+
$sc-co-layout-selection-selections-selected-description-font-color: $sc-color-action !default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@include export-module('co-layout-selection-theme') {
|
|
2
|
+
.co-layout-selection {
|
|
3
|
+
color: $sc-co-layout-selection-font-color;
|
|
4
|
+
.layout-selection-wrapper {
|
|
5
|
+
border-color: $sc-co-layout-selection-border-color;
|
|
6
|
+
&.selected {
|
|
7
|
+
background-color: $sc-co-layout-selection-selections-selected-background-color;
|
|
8
|
+
.layout-description {
|
|
9
|
+
color: $sc-co-layout-selection-selections-selected-description-font-color;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.layouts-wrapper {
|
|
14
|
+
background-color: $sc-co-layout-selection-selections-background-color;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
3
|
+
import { SharedService } from '../../../../service/shared.service';
|
|
4
|
+
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
5
|
+
import { Icon } from '../../../../enum/icon.enum';
|
|
6
|
+
import { SendMethodService } from '../../service/send-method.service';
|
|
7
|
+
export declare class PrinterSelectionComponent implements OnInit {
|
|
8
|
+
sendMethodService: SendMethodService;
|
|
9
|
+
iconService: IconCacheService;
|
|
10
|
+
private _service;
|
|
11
|
+
readonly icons: typeof Icon;
|
|
12
|
+
showClass(): boolean;
|
|
13
|
+
printers: Printer[];
|
|
14
|
+
showPrinterList: boolean;
|
|
15
|
+
constructor(sendMethodService: SendMethodService, iconService: IconCacheService, _service: SharedService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
handlePrinterClicked(printer: Printer): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@include export-module('co-printer-selection-layout') {
|
|
2
|
+
.co-printer-selection {
|
|
3
|
+
.printer-selection-wrapper {
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
user-select: none;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
row-gap: $sc-co-printer-selection-row-gap;
|
|
9
|
+
border-style: $sc-co-printer-selection-border-style;
|
|
10
|
+
border-width: $sc-co-printer-selection-border-width;
|
|
11
|
+
border-radius: $sc-co-printer-selection-border-radius;
|
|
12
|
+
padding: $sc-co-printer-selection-padding;
|
|
13
|
+
.printer-name {
|
|
14
|
+
font-size: $sc-co-printer-selection-description-font-size;
|
|
15
|
+
font-weight: $sc-co-printer-selection-description-font-weight;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.layouts-wrapper {
|
|
19
|
+
position: absolute;
|
|
20
|
+
transform-origin: bottom center;
|
|
21
|
+
left: 0;
|
|
22
|
+
bottom: 0;
|
|
23
|
+
width: 100%;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
z-index: 1;
|
|
27
|
+
row-gap: $sc-co-printer-selection-selections-row-gap;
|
|
28
|
+
box-shadow: $sc-co-printer-selection-selections-shadow;
|
|
29
|
+
padding: $sc-co-printer-selection-selections-padding;
|
|
30
|
+
}
|
|
31
|
+
.printer-list-item {
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
user-select: none;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
align-items: center;
|
|
37
|
+
column-gap: 10px;
|
|
38
|
+
height: $sc-co-printer-selection-button-height;
|
|
39
|
+
border-radius: $sc-co-printer-selection-button-radius;
|
|
40
|
+
border-style: $sc-co-printer-selection-button-border-style;
|
|
41
|
+
border-width: $sc-co-printer-selection-button-border-width;
|
|
42
|
+
padding: $sc-co-printer-selection-button-padding;
|
|
43
|
+
}
|
|
44
|
+
.printer-details {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
}
|
|
48
|
+
.printer-name {
|
|
49
|
+
font-size: $sc-co-printer-selection-printer-name-font-size;
|
|
50
|
+
font-weight: $sc-co-printer-selection-printer-name-font-weight;
|
|
51
|
+
font-style: $sc-co-printer-selection-printer-name-font-style;
|
|
52
|
+
}
|
|
53
|
+
.printer-status {
|
|
54
|
+
font-size: $sc-co-printer-selection-printer-status-font-size;
|
|
55
|
+
font-weight: $sc-co-printer-selection-printer-status-font-weight;
|
|
56
|
+
font-style: $sc-co-printer-selection-printer-status-font-style;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
$sc-co-printer-selection-font-family: $sc-font-family !default;
|
|
2
|
+
$sc-co-printer-selection-font-size: $sc-font-size !default;
|
|
3
|
+
$sc-co-printer-selection-font-color: $sc-color-font !default;
|
|
4
|
+
|
|
5
|
+
$sc-co-printer-selection-row-gap: 10px !default;
|
|
6
|
+
|
|
7
|
+
$sc-co-printer-selection-row-gap: 10px !default;
|
|
8
|
+
$sc-co-printer-selection-border-style: solid !default;
|
|
9
|
+
$sc-co-printer-selection-border-color: $sc-color-border !default;
|
|
10
|
+
$sc-co-printer-selection-border-width: 1px !default;
|
|
11
|
+
$sc-co-printer-selection-border-radius: 10px !default;
|
|
12
|
+
$sc-co-printer-selection-padding: 10px !default;
|
|
13
|
+
$sc-co-printer-selection-description-font-size: $sc-font-size !default;
|
|
14
|
+
$sc-co-printer-selection-description-font-weight: bold !default;
|
|
15
|
+
|
|
16
|
+
$sc-co-printer-selection-selections-row-gap: 10px !default;
|
|
17
|
+
$sc-co-printer-selection-selections-shadow: 0px 0px 8px rgba(1, 1, 1, 0.2) !default;
|
|
18
|
+
$sc-co-printer-selection-selections-padding: 10px 0 !default;
|
|
19
|
+
$sc-co-printer-selection-selections-background-color: white !default;
|
|
20
|
+
|
|
21
|
+
$sc-co-printer-selection-button-height: 50px !default;
|
|
22
|
+
$sc-co-printer-selection-button-radius: 10px !default;
|
|
23
|
+
$sc-co-printer-selection-button-background-color: white !default;
|
|
24
|
+
$sc-co-printer-selection-button-selected-background-color: $sc-color-background !default;
|
|
25
|
+
$sc-co-printer-selection-button-border-style: solid !default;
|
|
26
|
+
$sc-co-printer-selection-button-border-color: $sc-color-border !default;
|
|
27
|
+
$sc-co-printer-selection-button-border-width: 0 !default;
|
|
28
|
+
$sc-co-printer-selection-button-padding: 0 20px !default;
|
|
29
|
+
|
|
30
|
+
$sc-co-printer-selection-printer-details-font-color: $sc-color-font !default;
|
|
31
|
+
|
|
32
|
+
$sc-co-printer-selection-printer-name-font-size: $sc-font-size !default;
|
|
33
|
+
$sc-co-printer-selection-printer-name-font-weight: bold !default;
|
|
34
|
+
$sc-co-printer-selection-printer-name-font-style: normal !default;
|
|
35
|
+
|
|
36
|
+
$sc-co-printer-selection-printer-status-font-size: $sc-font-size !default;
|
|
37
|
+
$sc-co-printer-selection-printer-status-font-weight: normal !default;
|
|
38
|
+
$sc-co-printer-selection-printer-status-font-style: italic !default;
|
|
39
|
+
$sc-co-printer-selection-printer-selected-details-font-color: $sc-color-action !default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@include export-module('co-printer-selection-theme') {
|
|
2
|
+
.co-printer-selection {
|
|
3
|
+
.printer-selection-wrapper {
|
|
4
|
+
border-color: $sc-co-printer-selection-border-color;
|
|
5
|
+
}
|
|
6
|
+
.layouts-wrapper {
|
|
7
|
+
background-color: $sc-co-printer-selection-selections-background-color;
|
|
8
|
+
}
|
|
9
|
+
.printer-list-item {
|
|
10
|
+
background-color: $sc-co-printer-selection-button-background-color;
|
|
11
|
+
border-color: $sc-co-printer-selection-button-border-color;
|
|
12
|
+
&.selected {
|
|
13
|
+
background-color: $sc-co-printer-selection-button-selected-background-color;
|
|
14
|
+
.printer-details {
|
|
15
|
+
color: $sc-co-printer-selection-printer-selected-details-font-color;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.printer-details {
|
|
20
|
+
color: $sc-co-printer-selection-printer-details-font-color;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SendMethodService } from '../../service/send-method.service';
|
|
3
|
+
import { EmailAddressViewmodel } from '../../model/email-address-viewmodel';
|
|
4
|
+
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
5
|
+
export declare class SendMethodEmailComponent implements OnInit {
|
|
6
|
+
sendMethodService: SendMethodService;
|
|
7
|
+
emailAddresses: string[];
|
|
8
|
+
layouts: ReportLayoutSelectionEmail[];
|
|
9
|
+
showClass(): boolean;
|
|
10
|
+
emailAddressViewmodels: EmailAddressViewmodel[];
|
|
11
|
+
constructor(sendMethodService: SendMethodService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
handleCheckedEmail(emailAddressViewmodel: EmailAddressViewmodel): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@include export-module('co-send-method-email-layout') {
|
|
2
|
+
.co-send-method-email {
|
|
3
|
+
font-family: $sc-co-send-method-email-font-family;
|
|
4
|
+
font-size: $sc-co-send-method-email-font-size;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
width: 100%;
|
|
8
|
+
position: relative;
|
|
9
|
+
row-gap: $sc-co-send-method-email-row-gap;
|
|
10
|
+
padding: $sc-co-send-method-email-padding;
|
|
11
|
+
.email-address-wrapper {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
align-items: $sc-co-send-method-email-email-address-align-items;
|
|
15
|
+
padding: $sc-co-send-method-email-email-address-padding;
|
|
16
|
+
column-gap: $sc-co-send-method-email-email-address-column-gap;
|
|
17
|
+
user-select: none;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
$sc-co-send-method-email-font-family: $sc-font-family !default;
|
|
2
|
+
$sc-co-send-method-email-font-size: $sc-font-size !default;
|
|
3
|
+
$sc-co-send-method-email-font-color: $sc-color-font !default;
|
|
4
|
+
$sc-co-send-method-email-row-gap: 20px !default;
|
|
5
|
+
$sc-co-send-method-email-padding: 10px 25px !default;
|
|
6
|
+
$sc-co-send-method-email-email-address-align-items: center !default;
|
|
7
|
+
$sc-co-send-method-email-email-address-padding: 5px 0 !default;
|
|
8
|
+
$sc-co-send-method-email-email-address-column-gap: 20px !default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SendMethodService } from '../../service/send-method.service';
|
|
2
|
+
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
3
|
+
export declare class SendMethodPrinterComponent {
|
|
4
|
+
sendMethodService: SendMethodService;
|
|
5
|
+
layouts: ReportLayoutSelectionPrint[];
|
|
6
|
+
showClass(): boolean;
|
|
7
|
+
constructor(sendMethodService: SendMethodService);
|
|
8
|
+
handleDefaultPrinterUserChange(checked: boolean): void;
|
|
9
|
+
handleDefaultPrinterAllUsersChange(checked: boolean): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@include export-module('co-send-method-printer-layout') {
|
|
2
|
+
.co-send-method-printer {
|
|
3
|
+
font-family: $sc-co-send-method-printer-font-family;
|
|
4
|
+
font-size: $sc-co-send-method-printer-font-size;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
width: 100%;
|
|
8
|
+
position: relative;
|
|
9
|
+
row-gap: $sc-co-send-method-printer-row-gap;
|
|
10
|
+
padding: $sc-co-send-method-printer-padding;
|
|
11
|
+
.email-addresses-wrapper {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
overflow: auto;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
$sc-co-send-method-printer-font-family: $sc-font-family !default;
|
|
2
|
+
$sc-co-send-method-printer-font-size: $sc-font-size !default;
|
|
3
|
+
$sc-co-send-method-printer-font-color: $sc-color-font !default;
|
|
4
|
+
$sc-co-send-method-printer-row-gap: 20px !default;
|
|
5
|
+
$sc-co-send-method-printer-padding: 10px 25px !default;
|