@colijnit/sharedcomponents 257.1.9 → 257.1.10

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 (45) hide show
  1. package/358.645812766f7a400d0d38.js +1 -0
  2. package/3rdpartylicenses.txt +2222 -0
  3. package/427.c5ac6ff55eed40286273.js +1 -0
  4. package/977.bd6291f9ee6f6ddf91f1.js +1 -0
  5. package/bundles/colijnit-sharedcomponents.umd.js +80 -31
  6. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  7. package/colijnit-sharedcomponents.metadata.json +1 -1
  8. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +7 -3
  9. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +5 -3
  10. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +7 -4
  11. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +20 -1
  12. package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +4 -3
  13. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +7 -2
  14. package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +32 -12
  15. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +20 -14
  16. package/esm2015/lib/enum/icon.enum.js +2 -1
  17. package/esm2015/lib/model/icon-svg.js +2 -1
  18. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  19. package/favicon.ico +0 -0
  20. package/fesm2015/colijnit-sharedcomponents.js +93 -32
  21. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  22. package/index.html +12 -0
  23. package/lib/components/login/components/input-code/style/_layout.scss +24 -0
  24. package/lib/components/login/components/input-code/style/_material-definition.scss +5 -0
  25. package/lib/components/login/components/input-code/style/_theme.scss +8 -0
  26. package/lib/components/login/components/input-code/style/material.scss +4 -0
  27. package/lib/components/login/style/_layout.scss +37 -1
  28. package/lib/components/login/style/_material-definition.scss +3 -0
  29. package/lib/components/login/style/material.scss +1 -0
  30. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +3 -2
  31. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +1 -0
  32. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +4 -3
  33. package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +4 -0
  34. package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +5 -0
  35. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +4 -10
  36. package/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.d.ts +2 -0
  37. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +3 -1
  38. package/lib/components/stock/style/_layout.scss +14 -1
  39. package/lib/enum/icon.enum.d.ts +1 -0
  40. package/lib/res/dictionary/dictionaries.d.ts +8 -0
  41. package/main.cb0160b06b63bc907f13.js +1 -0
  42. package/package.json +3 -3
  43. package/polyfills.907fe9d1887c5de17993.js +1 -0
  44. package/runtime.2f227fcce1a3e45cf104.js +1 -0
  45. package/styles.ac76ee4d03248189b18e.css +1 -0
package/index.html ADDED
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html><html lang="en"><head>
2
+ <meta charset="utf-8">
3
+ <title>Sharedcomponents</title>
4
+ <base href="/">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
7
+ <style>@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Public+Sans&display=swap);body,html{margin:0;overflow:hidden}body,html{width:100%;height:100%}*{box-sizing:border-box;padding:0;margin:0}</style><link rel="stylesheet" href="styles.ac76ee4d03248189b18e.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.ac76ee4d03248189b18e.css"></noscript></head>
8
+ <body>
9
+ <app-root></app-root>
10
+ <script src="runtime.2f227fcce1a3e45cf104.js" defer></script><script src="polyfills.907fe9d1887c5de17993.js" defer></script><script src="main.cb0160b06b63bc907f13.js" defer></script>
11
+
12
+ </body></html>
@@ -0,0 +1,24 @@
1
+ @include export-module('co-input-code-layout') {
2
+ .co-input-code {
3
+ padding: $sc-input-code-padding;
4
+ border-radius: $sc-input-code-border-radius;
5
+ .input-code-inputs {
6
+ display: flex;
7
+ align-items: center;
8
+ gap: $sc-input-code-inputs-gap;
9
+ }
10
+ input {
11
+ width: 30px;
12
+ text-align: center;
13
+ padding: 11px 5px;
14
+ border: 1px solid $sc-color-border;
15
+ border-radius: 5px;
16
+ font-size: 15px;
17
+ box-shadow: $sc-input-code-input-box-shadow;
18
+ }
19
+
20
+ .separator {
21
+ padding: 0 5px;
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,5 @@
1
+ $sc-input-code-padding: 5px !default;
2
+ $sc-input-code-background-color: $sc-color-light-accent !default;
3
+ $sc-input-code-border-radius: 5px !default;
4
+ $sc-input-code-input-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.5) !default;
5
+ $sc-input-code-inputs-gap: 4px !default;
@@ -0,0 +1,8 @@
1
+ @include export-module('co-input-code-theme') {
2
+ .co-input-code {
3
+ background-color: $sc-input-code-background-color;
4
+ input {
5
+ background-color: $sc-color-light;
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,8 +1,15 @@
1
1
  @include export-module('co-login-layout') {
2
2
  .co-login {
3
+ display: block;
3
4
  font-family: $sc-login-font-family;
4
5
  font-size: $sc-login-font-size;
5
-
6
+ padding: $sc-login-padding;
7
+ .co-form {
8
+ display: flex;
9
+ flex-direction: column;
10
+ width: 100%;
11
+ height: 100%;
12
+ }
6
13
  .field-wrapper {
7
14
  display: flex;
8
15
  flex-direction: column;
@@ -53,5 +60,34 @@
53
60
  font-size: $sc-login-login-incorrect-font-size;
54
61
  font-style: $sc-login-login-incorrect-font-style;
55
62
  }
63
+ .login-mfa-code-entry {
64
+ display: flex;
65
+ flex-direction: column;
66
+ align-items: center;
67
+ gap: 20px;
68
+ .co-form {
69
+ align-items: center;
70
+ gap: $sc-login-form-gap;
71
+ }
72
+ .co-button {
73
+ width: 100%;
74
+ place-content: center;
75
+ }
76
+ .footer {
77
+ display: flex;
78
+ width: 100%;
79
+ justify-content: space-between;
80
+ .back-button {
81
+ .co-icon {
82
+ height: 25px;
83
+ width: 25px;
84
+ }
85
+ cursor: pointer;
86
+ display: flex;
87
+ align-items: center;
88
+ gap: 15px;
89
+ }
90
+ }
91
+ }
56
92
  }
57
93
  }
@@ -4,6 +4,9 @@ $sc-login-fields-row-gap: 5px !default;
4
4
  $sc-login-login-submit-button-margin: 20px 0 0 0 !default;
5
5
  $sc-login-login-extended-margin: 10px 0 0 0 !default;
6
6
 
7
+ $sc-login-padding: 20px !default;
8
+ $sc-login-form-gap: 30px !default;
9
+
7
10
  $sc-login-login-submit-button-font-family: $sc-font-family !default;
8
11
  $sc-login-login-submit-button-font-size: $sc-font-size !default;
9
12
  $sc-login-login-submit-button-font-style: normal !default;
@@ -2,3 +2,4 @@
2
2
  @import "./_material-definition";
3
3
  @import "./_layout";
4
4
  @import "./_theme";
5
+ @import "../components/input-code/style/material";
@@ -1,14 +1,15 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ReportLayoutSelectionBase } from '@colijnit/mainapi/build/model/report-layout-selection-base.bo';
3
3
  import { ReportingDocumentBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-base-request';
4
- import { Icon } from "../../../../enum/icon.enum";
5
- import { IconCacheService } from "../../../../service/icon-cache.service";
4
+ import { Icon } from '../../../../enum/icon.enum';
5
+ import { IconCacheService } from '../../../../service/icon-cache.service';
6
6
  export declare class LayoutSelectionComponent implements OnInit {
7
7
  iconCacheService: IconCacheService;
8
8
  readonly icons: typeof Icon;
9
9
  set request(value: ReportingDocumentBaseRequest);
10
10
  layouts: ReportLayoutSelectionBase[];
11
11
  requestChange: EventEmitter<ReportingDocumentBaseRequest>;
12
+ loadDefaultPrinterName: EventEmitter<number>;
12
13
  showClass(): boolean;
13
14
  currentLayout: ReportLayoutSelectionBase;
14
15
  showLayoutList: boolean;
@@ -7,6 +7,7 @@ export declare class SendMethodEmailComponent implements OnInit {
7
7
  emailAddresses: string[];
8
8
  layouts: ReportLayoutSelectionEmail[];
9
9
  pdfDoc: any;
10
+ emailUnsignedPossible: boolean;
10
11
  showFilePreview: EventEmitter<void>;
11
12
  showClass(): boolean;
12
13
  emailAddressViewmodels: EmailAddressViewmodel[];
@@ -2,9 +2,9 @@ import { EventEmitter } from '@angular/core';
2
2
  import { SendMethodService } from '../../service/send-method.service';
3
3
  import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
4
4
  import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
5
- import { Icon } from "../../../../enum/icon.enum";
6
- import { IconCacheService } from "../../../../service/icon-cache.service";
7
- import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
5
+ import { Icon } from '../../../../enum/icon.enum';
6
+ import { IconCacheService } from '../../../../service/icon-cache.service';
7
+ import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
8
8
  export declare class SendMethodPrinterComponent {
9
9
  sendMethodService: SendMethodService;
10
10
  iconCacheService: IconCacheService;
@@ -19,6 +19,7 @@ export declare class SendMethodPrinterComponent {
19
19
  additionalFileName: string;
20
20
  additionalFileChangeEvent: EventEmitter<CoDocument>;
21
21
  showFilePreview: EventEmitter<void>;
22
+ loadDefaultPrinterName: EventEmitter<number>;
22
23
  private _defaultPrinter;
23
24
  protected readonly icons: typeof Icon;
24
25
  constructor(sendMethodService: SendMethodService, iconCacheService: IconCacheService);
@@ -6,7 +6,11 @@ export declare class SignatureButtonComponent {
6
6
  iconCacheService: IconCacheService;
7
7
  readonly icons: typeof Icon;
8
8
  request: ReportingDocumentEmailSignDocBaseRequest | ReportingDocumentPrintSignDocBaseRequest;
9
+ emailUnsignedPossible: boolean;
10
+ emailUnsigned: boolean;
9
11
  showClass(): boolean;
10
12
  constructor(iconCacheService: IconCacheService);
11
13
  handleToggleSignature(): void;
14
+ emailUnsignedChanged(checked: boolean): void;
15
+ protected readonly ReportingDocumentEmailSignDocBaseRequest: typeof ReportingDocumentEmailSignDocBaseRequest;
12
16
  }
@@ -1,5 +1,10 @@
1
1
  @include export-module('cc-signature-button-layout') {
2
2
  .co-signature-button {
3
+ display:flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ flex-direction: row;
7
+ column-gap: 5px;
3
8
  .signature-button-wrapper {
4
9
  height: $sc-co-signature-button-height;
5
10
  width: $sc-co-signature-button-width;
@@ -10,8 +10,8 @@ import { SendMethod } from '../../model/send-method';
10
10
  import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
11
11
  import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
12
12
  import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
13
- import { ReportingDocumentPrintSignDocBaseRequest } from "@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request";
14
- import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
13
+ import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
14
+ import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
15
15
  export declare const sendMethodsWithIcon: SendMethod[];
16
16
  export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
17
17
  iconCacheService: IconCacheService;
@@ -46,6 +46,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
46
46
  additionalFileName: string;
47
47
  additionalFileContents: any;
48
48
  pdfDoc: any;
49
+ emailUnsignedPossible: boolean;
49
50
  reportingDocumentPrintRequestChange: EventEmitter<ReportingDocumentPrintSignDocBaseRequest>;
50
51
  reportingDocumentEmailRequestChange: EventEmitter<ReportingDocumentEmailSignDocBaseRequest>;
51
52
  reportingDocumentPdfRequestChange: EventEmitter<ReportingDocumentPdfBaseRequest>;
@@ -54,6 +55,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
54
55
  okClick: EventEmitter<string>;
55
56
  additionalFileChangeEvent: EventEmitter<CoDocument>;
56
57
  showFilePreview: EventEmitter<void>;
58
+ loadDefaultPrinterName: EventEmitter<number>;
57
59
  showClass(): boolean;
58
60
  sendMethods: SendMethod[];
59
61
  activeSendMethod: SendMethod;
@@ -76,12 +78,4 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
76
78
  private _initDefaultSendMethod;
77
79
  private _selectDefaultSendMethod;
78
80
  private _prepareVisibleMethods;
79
- protected readonly Event: {
80
- new (type: string, eventInitDict?: EventInit): Event;
81
- prototype: Event;
82
- readonly AT_TARGET: number;
83
- readonly BUBBLING_PHASE: number;
84
- readonly CAPTURING_PHASE: number;
85
- readonly NONE: number;
86
- };
87
81
  }
@@ -17,6 +17,7 @@ export declare class StockLocationPopupComponent {
17
17
  editingRow: boolean;
18
18
  showConfirmationDialog: boolean;
19
19
  newStockLine: boolean;
20
+ deleteStockLine: boolean;
20
21
  selectedArticleDetailsData: ArticleDetailsBo;
21
22
  articleFlat: ArticleFlat;
22
23
  articleDetailsInformation: ArticleStockManagement;
@@ -29,6 +30,7 @@ export declare class StockLocationPopupComponent {
29
30
  updateGridData: EventEmitter<ArticleDetailsBo[]>;
30
31
  stockLocations: StockLocation[];
31
32
  stockStatus: StockStatus[];
33
+ stockBelow: boolean;
32
34
  constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
33
35
  statusForId(id: number): 0 | StockStatus;
34
36
  handleStockStatusChange(status: StockStatus): void;
@@ -31,6 +31,8 @@ export declare class StockLocationComponent extends BaseStockComponent implement
31
31
  articleDetails: ArticleDetailsBo;
32
32
  showConfirmationDialog: boolean;
33
33
  newStockLine: boolean;
34
+ deleteStockLine: boolean;
35
+ cannotDelete: boolean;
34
36
  showConfirmStockRow: boolean;
35
37
  articleDetailsInformation: ArticleStockManagement;
36
38
  stockStatus: StockStatus[];
@@ -54,8 +56,8 @@ export declare class StockLocationComponent extends BaseStockComponent implement
54
56
  handleStockTransferClick(event: ArticleDetailsBo): void;
55
57
  onRowSelected(row: ArticleDetailsBo): void;
56
58
  onOkClickSendLocations(row: ArticleDetailsBo): void;
59
+ handleDeleteRow(row: ArticleDetailsBo): void;
57
60
  handleAddRow(): void;
58
- handleDeleteRow(): void;
59
61
  handleOkClick(): void;
60
62
  handleStockStatusChange(status: StockStatus): void;
61
63
  handleStockStatusRemarkChange(remark: string): void;
@@ -234,7 +234,7 @@
234
234
  display: flex;
235
235
  justify-content: center;
236
236
  gap: 5px;
237
-
237
+ position: relative;
238
238
  .co-button {
239
239
  width: 100px;
240
240
  height: 36px;
@@ -608,5 +608,18 @@
608
608
  color: #1A73E8;
609
609
  text-decoration: underline;
610
610
  }
611
+ .stock-transfer-add {
612
+ align-items: center;
613
+ .minimum-stock {
614
+ position: relative;
615
+ top: 0;
616
+ }
617
+ }
618
+ .minimum-stock {
619
+ position: absolute;
620
+ color: #ff4141;
621
+ font-size: 11px;
622
+ top: -20px;
623
+ }
611
624
  }
612
625
  }
@@ -6,6 +6,7 @@ export declare enum Icon {
6
6
  ArrowDown = "arrow_down",
7
7
  ArrowDownRegular = "arrow_down_regular",
8
8
  ArrowFatRight = "arrow_fat_right",
9
+ ArrowLeftRoundOpen = "arrow_left_round_open",
9
10
  ArrowPointDown = "arrow_point_down",
10
11
  ArrowPointLeft = "arrow_point_left",
11
12
  ArrowPointRight = "arrow_point_right",
@@ -2848,6 +2848,7 @@ export declare class Dictionaries {
2848
2848
  CONDITION_OPERATOR: string;
2849
2849
  CONDITION_OPTIONS: string;
2850
2850
  CONDITION_VALUE: string;
2851
+ "DELETE_STOCK_LINE?": string;
2851
2852
  DEPARTMENT: string;
2852
2853
  DEPARTMENTS: string;
2853
2854
  DEPARTMENT_CODE: string;
@@ -6555,6 +6556,8 @@ export declare class Dictionaries {
6555
6556
  PASSWORD_ENTRY: string;
6556
6557
  PASSWORD_ENTRY_FOR: string;
6557
6558
  PASSWORD_FORGOTTEN: string;
6559
+ PASSWORD_FORGOTTEN_TEXT: string;
6560
+ PASSWORD_FORGOTTEN_TEXT_EXTRA: string;
6558
6561
  PASSWORD_KIND: string;
6559
6562
  PASSWORD_MUST_BE_10_CHARACTERS: string;
6560
6563
  PASSWORD_MUST_BE_6_CHARACTERS: string;
@@ -8923,6 +8926,7 @@ export declare class Dictionaries {
8923
8926
  STAFF_DOCTOR: string;
8924
8927
  STAFF_DOCTORS: string;
8925
8928
  STANDARD: string;
8929
+ STOCK_BELOW_ZERO_TEXT: string;
8926
8930
  LATE_PURCHASE: string;
8927
8931
  LAYERED_ARTICLES: string;
8928
8932
  LAYER_CONFIGURATION: string;
@@ -13295,6 +13299,7 @@ export declare class Dictionaries {
13295
13299
  DELETE_REMARK_QUESTION: string;
13296
13300
  DELETE_SHOPPING_CART_QUESTION: string;
13297
13301
  DELETE_STATE_AND_TRANSITIONS_QUESTION: string;
13302
+ "DELETE_STOCK_LINE?": string;
13298
13303
  DELETE_STORAGE_CAR: string;
13299
13304
  DELETE_TASK: string;
13300
13305
  DELETE_TRANSACTION: string;
@@ -16189,6 +16194,8 @@ export declare class Dictionaries {
16189
16194
  PASSWORD_ENTRY: string;
16190
16195
  PASSWORD_ENTRY_FOR: string;
16191
16196
  PASSWORD_FORGOTTEN: string;
16197
+ PASSWORD_FORGOTTEN_TEXT: string;
16198
+ PASSWORD_FORGOTTEN_TEXT_EXTRA: string;
16192
16199
  PASSWORD_KIND: string;
16193
16200
  PASSWORD_MUST_BE_10_CHARACTERS: string;
16194
16201
  PASSWORD_MUST_CONTAIN_LETTER_NUMBER_SPECIAL: string;
@@ -17995,6 +18002,7 @@ export declare class Dictionaries {
17995
18002
  STOCKTAGSWINDOW: string;
17996
18003
  STOCK_ADJUSTMENTS: string;
17997
18004
  STOCK_AVAILABLE_CHANGE_WAREHOUSE_OR_COMMISSIONCODE: string;
18005
+ STOCK_BELOW_ZERO_TEXT: string;
17998
18006
  STOCK_DATE: string;
17999
18007
  STOCK_DETAILS: string;
18000
18008
  STOCK_DIFFERENCES: string;