@colijnit/sharedcomponents 1.0.29 → 1.0.31

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.
Files changed (134) hide show
  1. package/README.md +24 -24
  2. package/bundles/colijnit-sharedcomponents.umd.js +789 -1887
  3. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  4. package/colijnit-sharedcomponents.d.ts +40 -29
  5. package/colijnit-sharedcomponents.metadata.json +1 -1
  6. package/esm2015/colijnit-sharedcomponents.js +41 -30
  7. package/esm2015/lib/components/date-planning/date-planning.component.js +6 -4
  8. package/esm2015/lib/components/docsign/component/signature/signature.component.js +3 -3
  9. package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +7 -7
  10. package/esm2015/lib/components/docsign/docsign.component.js +5 -5
  11. package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +3 -3
  12. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +57 -0
  13. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +19 -0
  14. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +76 -0
  15. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -0
  16. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +59 -0
  17. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +23 -0
  18. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +50 -0
  19. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +26 -0
  20. package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -0
  21. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +162 -251
  22. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +12 -13
  23. package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -0
  24. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +101 -27
  25. package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +3 -1
  26. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +4 -2
  27. package/esm2015/lib/components/stock/stock.component.js +8 -1
  28. package/esm2015/lib/enum/icon.enum.js +6 -1
  29. package/esm2015/lib/model/icon-svg.js +7 -2
  30. package/esm2015/lib/model/send-method.js +8 -0
  31. package/esm2015/lib/model/time-window.bo.js +4 -4
  32. package/esm2015/lib/service/icon-cache.service.js +1 -1
  33. package/esm2015/lib/service/shared-connector.service.js +91 -121
  34. package/esm2015/lib/service/shared.service.js +11 -1
  35. package/esm2015/lib/service/stock.service.js +19 -36
  36. package/fesm2015/colijnit-sharedcomponents.js +834 -1849
  37. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  38. package/lib/components/circular-gauge/style/_layout.scss +0 -2
  39. package/lib/components/circular-gauge/style/_theme.scss +0 -2
  40. package/lib/components/circular-gauge/style/material.scss +1 -0
  41. package/lib/components/date-planning/date-planning.component.d.ts +3 -2
  42. package/lib/components/date-planning/style/_layout.scss +2 -4
  43. package/lib/components/date-planning/style/_theme.scss +2 -4
  44. package/lib/components/docsign/component/signature/style/_layout.scss +2 -4
  45. package/lib/components/docsign/component/signature/style/_theme.scss +2 -4
  46. package/lib/components/docsign/component/signature/style/material.scss +1 -3
  47. package/lib/components/docsign/component/signatures/style/_layout.scss +3 -5
  48. package/lib/components/docsign/component/signatures/style/_theme.scss +2 -4
  49. package/lib/components/docsign/component/signatures/style/material.scss +1 -2
  50. package/lib/components/docsign/style/_layout.scss +3 -5
  51. package/lib/components/docsign/style/_theme.scss +2 -4
  52. package/lib/components/docsign/style/material.scss +1 -0
  53. package/lib/components/layout-switcher/style/_layout.scss +2 -4
  54. package/lib/components/layout-switcher/style/_theme.scss +2 -4
  55. package/lib/components/layout-switcher/style/material.scss +1 -0
  56. package/lib/components/linear-gauge/style/_layout.scss +0 -2
  57. package/lib/components/linear-gauge/style/_theme.scss +0 -2
  58. package/lib/components/linear-gauge/style/material.scss +1 -0
  59. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +13 -0
  60. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -0
  61. package/lib/components/send-method-dialog/components/layout-selection/style/_layout.scss +34 -0
  62. package/lib/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +19 -0
  63. package/lib/components/send-method-dialog/components/layout-selection/style/_theme.scss +17 -0
  64. package/lib/components/send-method-dialog/components/layout-selection/style/material.scss +4 -0
  65. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +18 -0
  66. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -0
  67. package/lib/components/send-method-dialog/components/printer-selection/style/_layout.scss +59 -0
  68. package/lib/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +39 -0
  69. package/lib/components/send-method-dialog/components/printer-selection/style/_theme.scss +23 -0
  70. package/lib/components/send-method-dialog/components/printer-selection/style/material.scss +4 -0
  71. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -0
  72. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -0
  73. package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +21 -0
  74. package/lib/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +8 -0
  75. package/lib/components/send-method-dialog/components/send-method-email/style/_theme.scss +5 -0
  76. package/lib/components/send-method-dialog/components/send-method-email/style/material.scss +4 -0
  77. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +10 -0
  78. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -0
  79. package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +17 -0
  80. package/lib/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +5 -0
  81. package/lib/components/send-method-dialog/components/send-method-printer/style/_theme.scss +5 -0
  82. package/lib/components/send-method-dialog/components/send-method-printer/style/material.scss +4 -0
  83. package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -0
  84. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +53 -61
  85. package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -0
  86. package/lib/components/send-method-dialog/style/_layout.scss +44 -184
  87. package/lib/components/send-method-dialog/style/_material-definition.scss +30 -1
  88. package/lib/components/send-method-dialog/style/_theme.scss +31 -5
  89. package/lib/components/send-method-dialog/style/material.scss +5 -0
  90. package/lib/components/statusbar/style/_layout.scss +0 -2
  91. package/lib/components/statusbar/style/_theme.scss +0 -2
  92. package/lib/components/statusbar/style/material.scss +1 -0
  93. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +12 -1
  94. package/lib/components/stock/stock.component.d.ts +2 -0
  95. package/lib/components/stock/style/_layout.scss +0 -2
  96. package/lib/components/stock/style/_theme.scss +0 -3
  97. package/lib/components/stock/style/material.scss +1 -0
  98. package/lib/enum/icon.enum.d.ts +5 -0
  99. package/lib/model/send-method.d.ts +7 -0
  100. package/lib/model/time-window.bo.d.ts +1 -1
  101. package/lib/service/icon-cache.service.d.ts +1 -1
  102. package/lib/service/shared-connector.service.d.ts +21 -29
  103. package/lib/service/shared.service.d.ts +4 -0
  104. package/lib/service/stock.service.d.ts +1 -12
  105. package/lib/style/_variables.scss +5 -1
  106. package/package.json +6 -6
  107. package/esm2015/lib/components/send-method-dialog/enums/send-option.js +0 -8
  108. package/esm2015/lib/factory/business-object-factory.js +0 -120
  109. package/esm2015/lib/factory/decorators/boolean.decorator.js +0 -102
  110. package/esm2015/lib/factory/decorators/complex-array.decorator.js +0 -55
  111. package/esm2015/lib/factory/decorators/complex-field.decorator.js +0 -57
  112. package/esm2015/lib/factory/decorators/date-field.decorator.js +0 -36
  113. package/esm2015/lib/factory/decorators/string-number.decorator.js +0 -43
  114. package/esm2015/lib/model/business-object.js +0 -81
  115. package/esm2015/lib/utils/array-utils.js +0 -202
  116. package/esm2015/lib/utils/check-precision-and-scale-result.js +0 -2
  117. package/esm2015/lib/utils/check-within-stepped-bounds-result.js +0 -2
  118. package/esm2015/lib/utils/is-nill.function.js +0 -5
  119. package/esm2015/lib/utils/number-utils.js +0 -390
  120. package/esm2015/lib/utils/object-utils.js +0 -278
  121. package/lib/components/send-method-dialog/enums/send-option.d.ts +0 -6
  122. package/lib/factory/business-object-factory.d.ts +0 -23
  123. package/lib/factory/decorators/boolean.decorator.d.ts +0 -43
  124. package/lib/factory/decorators/complex-array.decorator.d.ts +0 -25
  125. package/lib/factory/decorators/complex-field.decorator.d.ts +0 -25
  126. package/lib/factory/decorators/date-field.decorator.d.ts +0 -17
  127. package/lib/factory/decorators/string-number.decorator.d.ts +0 -22
  128. package/lib/model/business-object.d.ts +0 -7
  129. package/lib/utils/array-utils.d.ts +0 -63
  130. package/lib/utils/check-precision-and-scale-result.d.ts +0 -4
  131. package/lib/utils/check-within-stepped-bounds-result.d.ts +0 -8
  132. package/lib/utils/is-nill.function.d.ts +0 -1
  133. package/lib/utils/number-utils.d.ts +0 -125
  134. 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{
@@ -1,5 +1,3 @@
1
- @import "../../../style/mixin";
2
-
3
1
  @include export-module('co-circular-gauge-theme') {
4
2
  .co-circular-gauge {
5
3
  .annotation {
@@ -1,3 +1,4 @@
1
+ @import "../../../style/mixin";
1
2
  @import "./material-definition";
2
3
  @import "./layout";
3
4
  @import "./theme";
@@ -1,8 +1,9 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from "@angular/core";
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
- dayStart: ElementRef;
19
+ showClass: boolean;
19
20
  days: Date[];
20
21
  private _selectedDate;
21
22
  constructor(_changeDetector: ChangeDetectorRef, renderer: Renderer2);
@@ -1,7 +1,5 @@
1
- @import "../../../style/mixin";
2
-
3
- @include export-module('sc-date-planning-layout') {
4
- .sc-date-planning {
1
+ @include export-module('co-date-planning-layout') {
2
+ .co-date-planning {
5
3
  display: flex;
6
4
  flex-direction: column;
7
5
  align-items: center;
@@ -1,7 +1,5 @@
1
- @import "../../../style/mixin";
2
-
3
- @include export-module('sc-date-planning-theme') {
4
- .sc-date-planning {
1
+ @include export-module('co-date-planning-theme') {
2
+ .co-date-planning {
5
3
 
6
4
  }
7
5
  }
@@ -1,7 +1,5 @@
1
- @import "../../../../../style/mixin";
2
-
3
- @include export-module('ione-signature-layout') {
4
- .ione-signature {
1
+ @include export-module('co-signature-layout') {
2
+ .co-signature {
5
3
  font-family: $sc-font-family;
6
4
  pointer-events: all;
7
5
  display: flex;
@@ -1,7 +1,5 @@
1
- @import "../../../../../style/mixin";
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,6 +1,4 @@
1
- @import "../../../../../style/variables";
1
+ @import "../../../../../style/mixin";
2
2
  @import "./material-definition";
3
3
  @import "./layout";
4
4
  @import "./theme";
5
-
6
- //@import "@colijnit/corecomponents_v12/lib/components/button/style/material";
@@ -1,14 +1,12 @@
1
- @import "../../../../../style/mixin";
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
- .ione-signature {
9
+ .co-signature {
12
10
  width: $sc-signature-width;
13
11
  height: $sc-signature-height;
14
12
  }
@@ -1,6 +1,4 @@
1
- @import "../../../../../style/mixin";
2
-
3
- @include export-module('ione-signatures-theme') {
4
- .ione-signatures {
1
+ @include export-module('co-signatures-theme') {
2
+ .co-signatures {
5
3
  }
6
4
  }
@@ -1,6 +1,5 @@
1
- @import "../../../../../style/variables";
1
+ @import "../../../../../style/mixin";
2
2
  @import "./material-definition";
3
3
  @import "./layout";
4
4
  @import "./theme";
5
-
6
5
  @import "../../../component/signature/style/material";
@@ -1,7 +1,5 @@
1
- @import "../../../style/mixin";
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
- .ione-signatures {
32
+ .co-signatures {
35
33
  position: absolute;
36
34
  width: 100%;
37
35
  left: 50%;
@@ -1,7 +1,5 @@
1
- @import "../../../style/mixin";
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,3 +1,4 @@
1
+ @import "../../../style/mixin";
1
2
  @import "./material-definition";
2
3
  @import "./layout";
3
4
  @import "./theme";
@@ -1,7 +1,5 @@
1
- @import "../../../style/mixin";
2
-
3
- @include export-module('layout-switcher-layout') {
4
- .layout-switcher {
1
+ @include export-module('co-layout-switcher-layout') {
2
+ .co-layout-switcher {
5
3
 
6
4
  position: relative;
7
5
  min-width: $layout-switcher-mask-min-width;
@@ -1,6 +1,4 @@
1
- @import "../../../style/mixin";
2
-
3
- @include export-module('layout-switcher-theme') {
4
- .layout-switcher {
1
+ @include export-module('co-layout-switcher-theme') {
2
+ .co-layout-switcher {
5
3
  }
6
4
  }
@@ -1,3 +1,4 @@
1
+ @import "../../../style/mixin";
1
2
  @import "./material-definition";
2
3
  @import "./layout";
3
4
  @import "./theme";
@@ -1,5 +1,3 @@
1
- @import "../../../style/mixin";
2
-
3
1
  @include export-module('co-linear-gauge-layout') {
4
2
  .co-linear-gauge {
5
3
  .linear-gauge {
@@ -1,5 +1,3 @@
1
- @import "../../../style/mixin";
2
-
3
1
  @include export-module('co-linear-gauge-theme') {
4
2
  .co-linear-gauge {
5
3
  }
@@ -1,3 +1,4 @@
1
+ @import "../../../style/mixin";
1
2
  @import "./material-definition";
2
3
  @import "./layout";
3
4
  @import "./theme";
@@ -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,2 @@
1
+ export declare class LayoutSelectionModule {
2
+ }
@@ -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,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -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,2 @@
1
+ export declare class PrinterSelectionModule {
2
+ }
@@ -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,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -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,2 @@
1
+ export declare class SendMethodEmailModule {
2
+ }
@@ -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,5 @@
1
+ @include export-module('co-send-method-email-theme') {
2
+ .co-send-method-email {
3
+ color: $sc-co-send-method-email-font-color;
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -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,2 @@
1
+ export declare class SendMethodPrinterModule {
2
+ }
@@ -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;
@@ -0,0 +1,5 @@
1
+ @include export-module('co-send-method-printer-theme') {
2
+ .co-send-method-printer {
3
+ color: $sc-co-send-method-printer-font-color;
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,5 @@
1
+ export declare class EmailAddressViewmodel {
2
+ checked: boolean;
3
+ emailAddress: string;
4
+ constructor(checked: boolean, emailAddress: string);
5
+ }