@colijnit/sharedcomponents 1.0.7 → 1.0.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.
- package/bundles/colijnit-sharedcomponents.umd.js +746 -0
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -0
- package/colijnit-sharedcomponents.d.ts +6 -0
- package/colijnit-sharedcomponents.metadata.json +1 -0
- package/esm2015/colijnit-sharedcomponents.js +7 -0
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +75 -0
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +44 -0
- package/esm2015/lib/components/docsign/docsign.component.js +225 -0
- package/esm2015/lib/components/docsign/docsign.module.js +23 -0
- package/esm2015/public-api.js +6 -0
- package/fesm2015/colijnit-sharedcomponents.js +372 -0
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -0
- package/lib/components/docsign/component/signature/signature.component.d.ts +16 -0
- package/{src/lib → lib}/components/docsign/component/signature/style/_layout.scss +0 -0
- package/{src/lib → lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
- package/{src/lib → lib}/components/docsign/component/signature/style/_theme.scss +0 -0
- package/{src/lib → lib}/components/docsign/component/signature/style/material.scss +0 -0
- package/lib/components/docsign/component/signatures/signatures.component.d.ts +12 -0
- package/{src/lib → lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
- package/{src/lib → lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
- package/{src/lib → lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
- package/{src/lib → lib}/components/docsign/component/signatures/style/material.scss +0 -0
- package/lib/components/docsign/docsign.component.d.ts +92 -0
- package/lib/components/docsign/docsign.module.d.ts +2 -0
- package/{src/lib → lib}/components/docsign/style/_layout.scss +0 -0
- package/{src/lib → lib}/components/docsign/style/_material-definition.scss +0 -0
- package/{src/lib → lib}/components/docsign/style/_theme.scss +0 -0
- package/{src/lib → lib}/components/docsign/style/material.scss +0 -0
- package/{src/lib → lib}/style/_mixin.scss +0 -0
- package/{src/lib → lib}/style/_variables.scss +0 -0
- package/package.json +25 -15
- package/public-api.d.ts +2 -0
- package/.browserslistrc +0 -16
- package/colijnit-sharedcomponents-1.0.7.tgz +0 -0
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -17
- package/src/lib/components/docsign/component/signature/signature.component.ts +0 -82
- package/src/lib/components/docsign/component/signatures/signatures.component.ts +0 -50
- package/src/lib/components/docsign/docsign.component.ts +0 -252
- package/src/lib/components/docsign/docsign.module.ts +0 -22
- package/src/lib/components/send-method-dialog/enums/send-option.ts +0 -6
- package/src/lib/components/send-method-dialog/send-method-dialog.component.ts +0 -215
- package/src/lib/components/send-method-dialog/send-method-dialog.module.ts +0 -27
- package/src/lib/components/send-method-dialog/style/_layout.scss +0 -186
- package/src/lib/components/send-method-dialog/style/_material-definition.scss +0 -1
- package/src/lib/components/send-method-dialog/style/_theme.scss +0 -7
- package/src/lib/components/send-method-dialog/style/material.scss +0 -4
- package/src/lib/components/stock/stock-information/stock-information.component.ts +0 -59
- package/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +0 -278
- package/src/lib/components/stock/stock-location/stock-location.component.ts +0 -82
- package/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts +0 -4
- package/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +0 -111
- package/src/lib/components/stock/stock.component.ts +0 -78
- package/src/lib/components/stock/stock.module.ts +0 -47
- package/src/lib/components/stock/style/_layout.scss +0 -206
- package/src/lib/components/stock/style/_material-definition.scss +0 -20
- package/src/lib/components/stock/style/_theme.scss +0 -8
- package/src/lib/components/stock/style/material.scss +0 -4
- package/src/lib/enum/icon.enum.ts +0 -22
- package/src/lib/factory/business-object-factory.ts +0 -120
- package/src/lib/factory/decorators/boolean.decorator.ts +0 -113
- package/src/lib/factory/decorators/complex-array.decorator.ts +0 -61
- package/src/lib/factory/decorators/complex-field.decorator.ts +0 -63
- package/src/lib/factory/decorators/date-field.decorator.ts +0 -41
- package/src/lib/factory/decorators/string-number.decorator.ts +0 -48
- package/src/lib/model/business-object.ts +0 -85
- package/src/lib/model/icon-svg.ts +0 -22
- package/src/lib/service/icon-cache.service.ts +0 -51
- package/src/lib/service/ione-connector-adapter.service.ts +0 -113
- package/src/lib/service/stock.service.ts +0 -35
- package/src/lib/utils/array-utils.ts +0 -202
- package/src/lib/utils/is-nill.function.ts +0 -4
- package/src/public-api.ts +0 -10
- package/src/test.ts +0 -27
- package/tsconfig.lib.json +0 -18
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, HostBinding, Input, OnInit, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {Icon} from "../../enum/icon.enum";
|
|
3
|
-
import {IconCacheService} from "../../service/icon-cache.service";
|
|
4
|
-
import {SendOption} from "./enums/send-option";
|
|
5
|
-
import {animate, state, style, transition, trigger} from "@angular/animations";
|
|
6
|
-
import {Printer} from "@colijnit/sharedapi/build/model/printer.bo";
|
|
7
|
-
import {StockService} from "../../service/stock.service";
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
selector: "ione-send-method-dialog",
|
|
11
|
-
template: `
|
|
12
|
-
<div class="send-method-dialog-wrapper">
|
|
13
|
-
<co-dialog-wizard id="sendOptionsDialog" *ngIf="showDialog" [showCloseIcon]="showExitButton" (closeClick)="closeDialogClick()">
|
|
14
|
-
<ng-container header>
|
|
15
|
-
<span [textContent]="headerTitle"></span>
|
|
16
|
-
</ng-container>
|
|
17
|
-
<div class="dialog-content-wrapper">
|
|
18
|
-
<div class="main-content-container" *ngIf="!showPrinterSelections">
|
|
19
|
-
<div class="send-options-wrapper">
|
|
20
|
-
<div class="custom-button-wrapper" *ngFor="let sendOption of sendOptions"
|
|
21
|
-
[class.selected-option]="sendOption.option === activeSendOption"
|
|
22
|
-
(click)="activeSendOption = sendOption.option">
|
|
23
|
-
<co-icon [iconData]="iconCacheService.getIcon(sendOption.iconName)"></co-icon>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
|
|
27
|
-
<div class="email-option-content" *ngIf="activeSendOption === sendOption.Email || activeSendOption === sendOption.Pdf">
|
|
28
|
-
<div class="emails-container" *ngIf="activeSendOption === sendOption.Email">
|
|
29
|
-
<co-input-checkbox
|
|
30
|
-
*ngFor="let email, let index of emails"
|
|
31
|
-
[name]="email"
|
|
32
|
-
[(model)]="models[index]"
|
|
33
|
-
[label]="email"
|
|
34
|
-
[cssClass]="'input-checkbox-wrapper'"
|
|
35
|
-
></co-input-checkbox>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<div class="lov-wrapper">
|
|
39
|
-
<co-input-combo-box
|
|
40
|
-
[(model)]="selectedLayout"
|
|
41
|
-
[collection]="layouts"
|
|
42
|
-
[forceReadonly]="true"
|
|
43
|
-
placeholder="Layout"
|
|
44
|
-
></co-input-combo-box>
|
|
45
|
-
</div>
|
|
46
|
-
|
|
47
|
-
<div class="signature-button-wrapper">
|
|
48
|
-
<div class="custom-button-wrapper signature-button" (click)="handleSignatureStart()">
|
|
49
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.SignatureField)"></co-icon>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
|
|
54
|
-
<div class="email-option-content" *ngIf="activeSendOption === sendOption.Print">
|
|
55
|
-
<div class="lov-wrapper">
|
|
56
|
-
<co-input-combo-box
|
|
57
|
-
[(model)]="selectedLayout"
|
|
58
|
-
[collection]="layouts"
|
|
59
|
-
[forceReadonly]="true"
|
|
60
|
-
placeholder="Layout"
|
|
61
|
-
></co-input-combo-box>
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
<div class="lov-wrapper clickable" (click)="togglePrinterSelection()">
|
|
65
|
-
<div class="selected-printer-wrapper">
|
|
66
|
-
<div class="printer-option-list-item">
|
|
67
|
-
<co-icon class="printer-icon" [iconData]="iconCacheService.getIcon(icons.Print)"></co-icon>
|
|
68
|
-
<div class="printer-details">
|
|
69
|
-
<span class="printer-name" [textContent]="defaultPrinter"></span>
|
|
70
|
-
<span class="printer-status" [textContent]="'Online'"></span>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
<co-icon class="select-printer-arrow" [iconData]="iconCacheService.getIcon(icons.ArrowPointRight)"></co-icon>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
|
|
77
|
-
<div class="standard-printer-wrapper">
|
|
78
|
-
<div class="standard-printer-link" (click)="showStandardPrinterOptions = !showStandardPrinterOptions">
|
|
79
|
-
<co-icon class="arrow-icon" [iconData]="iconCacheService.getIcon(icons.ArrowFatRight)"></co-icon>
|
|
80
|
-
<span class="standard-printer-message" [textContent]="'Standaard printer voor lay-out instellen'"></span>
|
|
81
|
-
</div>
|
|
82
|
-
|
|
83
|
-
<div class="standard-printer-selections" *ngIf="showStandardPrinterOptions">
|
|
84
|
-
<co-input-checkbox
|
|
85
|
-
[(model)]="models[0]"
|
|
86
|
-
[label]="'Per gebruiker instellen'"
|
|
87
|
-
[cssClass]="'input-checkbox-wrapper'"
|
|
88
|
-
></co-input-checkbox>
|
|
89
|
-
<co-input-checkbox
|
|
90
|
-
[(model)]="models[1]"
|
|
91
|
-
[label]="'Voor alle gebruikers instellen'"
|
|
92
|
-
[cssClass]="'input-checkbox-wrapper'"
|
|
93
|
-
></co-input-checkbox>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
|
|
97
|
-
<div class="print-footer-wrapper">
|
|
98
|
-
<div class="input-number-wrapper">
|
|
99
|
-
<co-input-number-picker class="number-picker"
|
|
100
|
-
[step]="1" [(model)]="amountToPrint" [min]="1"
|
|
101
|
-
[ngModelOptions]="{debounce: 1}">
|
|
102
|
-
</co-input-number-picker>
|
|
103
|
-
</div>
|
|
104
|
-
<div class="custom-button-wrapper print-button" (click)="handlePrintClicked()">
|
|
105
|
-
<span [textContent]="'Print'"></span>
|
|
106
|
-
</div>
|
|
107
|
-
<div class="custom-button-wrapper signature-button" (click)="handleSignatureStart()">
|
|
108
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.SignatureField)"></co-icon>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
|
|
114
|
-
<div class="printer-content-container" @slideInOut *ngIf="showPrinterSelections">
|
|
115
|
-
<div class="selected-printer-wrapper selection clickable" *ngFor="let printers of printerList" (click)="togglePrinterSelection()">
|
|
116
|
-
<div class="printer-option-list-item">
|
|
117
|
-
<co-icon class="printer-icon" [iconData]="iconCacheService.getIcon(icons.Print)"></co-icon>
|
|
118
|
-
<div class="printer-details">
|
|
119
|
-
<span class="printer-name" [textContent]="printers.name"></span>
|
|
120
|
-
<span class="printer-status" [textContent]="'Online'"></span>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
<co-icon class="select-printer-arrow" *ngIf="!showPrinterSelections"
|
|
124
|
-
[iconData]="iconCacheService.getIcon(icons.ArrowPointRight)"></co-icon>
|
|
125
|
-
</div>
|
|
126
|
-
</div>
|
|
127
|
-
</div>
|
|
128
|
-
</co-dialog-wizard>
|
|
129
|
-
</div>
|
|
130
|
-
`,
|
|
131
|
-
encapsulation: ViewEncapsulation.None,
|
|
132
|
-
animations: [
|
|
133
|
-
trigger('slideInOut', [
|
|
134
|
-
state('*', style({transform: 'translateX(0%)', width: '100%', opacity: '1'})),
|
|
135
|
-
state('void', style({transform: 'translateX(150%)', opacity: '0'})),
|
|
136
|
-
transition('void => *', animate(250))
|
|
137
|
-
])
|
|
138
|
-
]
|
|
139
|
-
})
|
|
140
|
-
|
|
141
|
-
export class SendMethodDialogComponent {
|
|
142
|
-
public readonly icons: typeof Icon = Icon;
|
|
143
|
-
public readonly sendOption: typeof SendOption = SendOption;
|
|
144
|
-
|
|
145
|
-
public sendOptions: {option: SendOption, iconName: Icon}[] = [
|
|
146
|
-
{ option: SendOption.Email,
|
|
147
|
-
iconName: this.icons.Email },
|
|
148
|
-
{ option: SendOption.Print,
|
|
149
|
-
iconName: this.icons.Print },
|
|
150
|
-
{ option: SendOption.Pdf,
|
|
151
|
-
iconName: this.icons.Pdf },
|
|
152
|
-
{ option: SendOption.Xml,
|
|
153
|
-
iconName: this.icons.Xml }
|
|
154
|
-
]
|
|
155
|
-
|
|
156
|
-
public activeSendOption: SendOption = SendOption.Email;
|
|
157
|
-
public amountToPrint: number = 1;
|
|
158
|
-
public showStandardPrinterOptions: boolean = false;
|
|
159
|
-
public showPrinterSelections: boolean = false;
|
|
160
|
-
public showExitButton = true;
|
|
161
|
-
public defaultPrinter: string;
|
|
162
|
-
|
|
163
|
-
public emails: any[] = ['lars.vdv@colijn-it.nl', 'david@colijn-it.nl', 'ruben@colijn-it.nl'];
|
|
164
|
-
public models: boolean[] = [false, false, true];
|
|
165
|
-
|
|
166
|
-
public layouts: any[] = ['Layout 1', 'Layout 2', 'Layout 3'];
|
|
167
|
-
public selectedLayout: 'Layout 1';
|
|
168
|
-
|
|
169
|
-
@Input()
|
|
170
|
-
public showDialog: boolean = false;
|
|
171
|
-
|
|
172
|
-
@Input()
|
|
173
|
-
public headerTitle: string;
|
|
174
|
-
|
|
175
|
-
@Input()
|
|
176
|
-
public printerList: Printer[];
|
|
177
|
-
|
|
178
|
-
@Output()
|
|
179
|
-
public startSignatureClicked: EventEmitter<any> = new EventEmitter<any>();
|
|
180
|
-
|
|
181
|
-
@Output()
|
|
182
|
-
public printButtonClicked: EventEmitter<any> = new EventEmitter<any>();
|
|
183
|
-
|
|
184
|
-
@HostBinding("class.ione-send-method-dialog")
|
|
185
|
-
public showClass(): boolean {
|
|
186
|
-
return true;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
constructor(
|
|
190
|
-
public iconCacheService: IconCacheService,
|
|
191
|
-
private _stockService: StockService
|
|
192
|
-
) { }
|
|
193
|
-
|
|
194
|
-
public closeDialogClick(): void {
|
|
195
|
-
this.showDialog = false;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
public handleSignatureStart(): void {
|
|
199
|
-
this.startSignatureClicked.emit();
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
public handlePrintClicked(): void {
|
|
203
|
-
this.printButtonClicked.emit();
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
public togglePrinterSelection(): void {
|
|
207
|
-
if (!this.showPrinterSelections) {
|
|
208
|
-
this.showPrinterSelections = true;
|
|
209
|
-
this.headerTitle = 'Printer selectie';
|
|
210
|
-
} else {
|
|
211
|
-
this.showPrinterSelections = false;
|
|
212
|
-
this.headerTitle = 'Verzendopties';
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import {
|
|
4
|
-
CoDialogPromptModule, CoDialogWizardModule, IconModule,
|
|
5
|
-
InputCheckboxModule,
|
|
6
|
-
InputComboBoxModule, InputNumberPickerModule
|
|
7
|
-
} from "@colijnit/corecomponents_v12";
|
|
8
|
-
import {SendMethodDialogComponent} from "./send-method-dialog.component";
|
|
9
|
-
|
|
10
|
-
@NgModule({
|
|
11
|
-
declarations: [
|
|
12
|
-
SendMethodDialogComponent
|
|
13
|
-
],
|
|
14
|
-
imports: [
|
|
15
|
-
CommonModule,
|
|
16
|
-
CoDialogPromptModule,
|
|
17
|
-
InputCheckboxModule,
|
|
18
|
-
InputComboBoxModule,
|
|
19
|
-
IconModule,
|
|
20
|
-
InputNumberPickerModule,
|
|
21
|
-
CoDialogWizardModule
|
|
22
|
-
],
|
|
23
|
-
exports: [
|
|
24
|
-
SendMethodDialogComponent
|
|
25
|
-
]
|
|
26
|
-
})
|
|
27
|
-
export class SendMethodDialogModule { }
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
@import "../../../style/mixin";
|
|
2
|
-
@import "../../../style/variables";
|
|
3
|
-
|
|
4
|
-
@include export-module('ione-send-method-dialog-layout') {
|
|
5
|
-
.ione-send-method-dialog {
|
|
6
|
-
.send-method-dialog-wrapper {
|
|
7
|
-
font-family: $sc-font-family;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.dialog-content-wrapper {
|
|
11
|
-
padding: 0 20px 0 20px;
|
|
12
|
-
min-width: 350px;
|
|
13
|
-
min-height: 415px;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.send-options-wrapper {
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.custom-button-wrapper {
|
|
23
|
-
width: 45px;
|
|
24
|
-
height: 45px;
|
|
25
|
-
background-color: #f5f5fa;
|
|
26
|
-
padding: 5px;
|
|
27
|
-
margin: 5px;
|
|
28
|
-
border-radius: 10px;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
|
|
31
|
-
co-icon {
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.selected-option {
|
|
38
|
-
background-color: #3e7eff;
|
|
39
|
-
|
|
40
|
-
co-icon svg {
|
|
41
|
-
path {
|
|
42
|
-
fill: white
|
|
43
|
-
}
|
|
44
|
-
rect {
|
|
45
|
-
fill: white
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.email-option-content {
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
margin: 10px 0 10px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.emails-container {
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-direction: column;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.lov-wrapper {
|
|
62
|
-
margin: 15px 0 10px;
|
|
63
|
-
border: 1px solid #f6f6f8;
|
|
64
|
-
border-radius: 10px;
|
|
65
|
-
padding: 10px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.input-checkbox-wrapper {
|
|
69
|
-
padding: 5px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.input-number-wrapper {
|
|
73
|
-
width: 85px;
|
|
74
|
-
height: 52px;
|
|
75
|
-
margin: 5px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.print-footer-wrapper {
|
|
79
|
-
display: flex;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.print-button {
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
width: 120px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.number-picker {
|
|
91
|
-
height: 52px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.signature-button-wrapper {
|
|
95
|
-
display: flex;
|
|
96
|
-
justify-content: center;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.signature-button {
|
|
100
|
-
width: 75px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.standard-printer-wrapper {
|
|
104
|
-
width: 100%;
|
|
105
|
-
margin: 15px 0 15px;
|
|
106
|
-
display: flex;
|
|
107
|
-
flex-direction: column;
|
|
108
|
-
justify-content: center;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.standard-printer-link {
|
|
112
|
-
display: flex;
|
|
113
|
-
align-items: center;
|
|
114
|
-
cursor: pointer;
|
|
115
|
-
|
|
116
|
-
co-icon svg {
|
|
117
|
-
polygon {
|
|
118
|
-
fill: #3e7eff
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.arrow-icon {
|
|
124
|
-
width: 30px;
|
|
125
|
-
height: 40px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.standard-printer-message {
|
|
129
|
-
font-family: $sc-font-family;
|
|
130
|
-
font-weight: bold;
|
|
131
|
-
color: #3e7eff;
|
|
132
|
-
font-size: 0.9em;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.standard-printer-selections {
|
|
136
|
-
display: flex;
|
|
137
|
-
flex-direction: column;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.printer-content-container {
|
|
141
|
-
display: flex;
|
|
142
|
-
flex-direction: column;
|
|
143
|
-
align-items: center;
|
|
144
|
-
padding-top: 20px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.selected-printer-wrapper {
|
|
148
|
-
display: flex;
|
|
149
|
-
align-items: center;
|
|
150
|
-
justify-content: space-between;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.printer-option-list-item {
|
|
154
|
-
display: flex;
|
|
155
|
-
align-items: center;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.printer-details {
|
|
159
|
-
display: flex;
|
|
160
|
-
flex-direction: column;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.printer-name {
|
|
164
|
-
font-weight: bold;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.printer-icon {
|
|
168
|
-
height: 50px;
|
|
169
|
-
width: 50px;
|
|
170
|
-
margin-right: 10px;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.select-printer-arrow {
|
|
174
|
-
width: 25px;
|
|
175
|
-
height: 25px;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.clickable {
|
|
179
|
-
cursor: pointer;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.selection {
|
|
183
|
-
padding: 10px;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
$cc-co-input-number-picker-border-color: #757575;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import {Component, Input, OnInit, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: "co-stock-information",
|
|
5
|
-
template: `
|
|
6
|
-
<div class="stock-info">
|
|
7
|
-
<div class="stock-info-row">
|
|
8
|
-
<div class="stock-info-row-image">
|
|
9
|
-
<div class="stock-image">
|
|
10
|
-
<co-image class="stock-image" [source]="article?.imageData"></co-image>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="stock-good-info">
|
|
14
|
-
<div>
|
|
15
|
-
<span [textContent]="article?.name"></span>
|
|
16
|
-
</div>
|
|
17
|
-
<div>
|
|
18
|
-
<span [textContent]="article?.articleNumber"></span>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="stock-status">
|
|
23
|
-
<label [textContent]="article?.stockStatus"></label>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="stock-status">
|
|
26
|
-
<label [textContent]="'STOCK'"></label>
|
|
27
|
-
<span></span>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="stock-status">
|
|
30
|
-
<label [textContent]="article?.stockAvailable"></label>
|
|
31
|
-
<span>totalAmountAvailable</span>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="stock-status">
|
|
34
|
-
<label [textContent]="'ECONOMICAL_STOCK'"></label>
|
|
35
|
-
<span></span>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="stock-status">
|
|
38
|
-
<label [textContent]="'PHYSICAL_STOCK'"></label>
|
|
39
|
-
<span></span>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
`,
|
|
43
|
-
encapsulation: ViewEncapsulation.None
|
|
44
|
-
})
|
|
45
|
-
export class StockInformationComponent {
|
|
46
|
-
|
|
47
|
-
public stockStatus: string = "medium";
|
|
48
|
-
public image: string;
|
|
49
|
-
public show: boolean = false;
|
|
50
|
-
public hideOrShowLocationTab: boolean = false;
|
|
51
|
-
|
|
52
|
-
@Input()
|
|
53
|
-
public article: any;
|
|
54
|
-
|
|
55
|
-
constructor(
|
|
56
|
-
) {
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}
|