@colijnit/sharedcomponents 1.0.11 → 1.0.14

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 (69) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +1946 -53
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +8 -0
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +9 -1
  6. package/esm2015/lib/components/docsign/docsign.component.js +5 -7
  7. package/esm2015/lib/components/send-method-dialog/enums/send-option.js +8 -0
  8. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +228 -0
  9. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +27 -0
  10. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +54 -0
  11. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +339 -0
  12. package/esm2015/lib/components/stock/stock-location/stock-location.component.js +62 -0
  13. package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -0
  14. package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +68 -0
  15. package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +130 -0
  16. package/esm2015/lib/components/stock/stock.component.js +112 -0
  17. package/esm2015/lib/components/stock/stock.module.js +50 -0
  18. package/esm2015/lib/enum/icon.enum.js +23 -0
  19. package/esm2015/lib/factory/business-object-factory.js +120 -0
  20. package/esm2015/lib/factory/decorators/boolean.decorator.js +102 -0
  21. package/esm2015/lib/factory/decorators/complex-array.decorator.js +55 -0
  22. package/esm2015/lib/factory/decorators/complex-field.decorator.js +57 -0
  23. package/esm2015/lib/factory/decorators/date-field.decorator.js +36 -0
  24. package/esm2015/lib/factory/decorators/string-number.decorator.js +43 -0
  25. package/esm2015/lib/model/business-object.js +81 -0
  26. package/esm2015/lib/model/icon-svg.js +22 -0
  27. package/esm2015/lib/service/icon-cache.service.js +51 -0
  28. package/esm2015/lib/service/ione-connector-adapter.service.js +251 -0
  29. package/esm2015/lib/service/stock.service.js +79 -0
  30. package/esm2015/lib/utils/array-utils.js +183 -0
  31. package/esm2015/lib/utils/is-nill.function.js +5 -0
  32. package/esm2015/public-api.js +5 -1
  33. package/fesm2015/colijnit-sharedcomponents.js +2127 -8
  34. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  35. package/lib/components/send-method-dialog/enums/send-option.d.ts +6 -0
  36. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +45 -0
  37. package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +2 -0
  38. package/lib/components/send-method-dialog/style/_layout.scss +192 -0
  39. package/lib/components/send-method-dialog/style/_material-definition.scss +1 -0
  40. package/lib/components/send-method-dialog/style/_theme.scss +7 -0
  41. package/lib/components/send-method-dialog/style/material.scss +4 -0
  42. package/lib/components/stock/stock-information/stock-information.component.d.ts +10 -0
  43. package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +60 -0
  44. package/lib/components/stock/stock-location/stock-location.component.d.ts +15 -0
  45. package/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts +4 -0
  46. package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +18 -0
  47. package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +36 -0
  48. package/lib/components/stock/stock.component.d.ts +34 -0
  49. package/lib/components/stock/stock.module.d.ts +2 -0
  50. package/lib/components/stock/style/_layout.scss +180 -0
  51. package/lib/components/stock/style/_material-definition.scss +20 -0
  52. package/lib/components/stock/style/_theme.scss +8 -0
  53. package/lib/components/stock/style/material.scss +4 -0
  54. package/lib/enum/icon.enum.d.ts +21 -0
  55. package/lib/factory/business-object-factory.d.ts +23 -0
  56. package/lib/factory/decorators/boolean.decorator.d.ts +43 -0
  57. package/lib/factory/decorators/complex-array.decorator.d.ts +25 -0
  58. package/lib/factory/decorators/complex-field.decorator.d.ts +25 -0
  59. package/lib/factory/decorators/date-field.decorator.d.ts +17 -0
  60. package/lib/factory/decorators/string-number.decorator.d.ts +22 -0
  61. package/lib/model/business-object.d.ts +7 -0
  62. package/lib/model/icon-svg.d.ts +4 -0
  63. package/lib/service/icon-cache.service.d.ts +18 -0
  64. package/lib/service/ione-connector-adapter.service.d.ts +39 -0
  65. package/lib/service/stock.service.d.ts +32 -0
  66. package/lib/utils/array-utils.d.ts +57 -0
  67. package/lib/utils/is-nill.function.d.ts +1 -0
  68. package/package.json +5 -10
  69. package/public-api.d.ts +4 -0
@@ -0,0 +1,45 @@
1
+ import { AfterViewInit, EventEmitter } 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 { Printer } from "@colijnit/sharedapi/build/model/report/printer.bo";
6
+ import { StockService } from "../../service/stock.service";
7
+ import { StockStickersPrintLayoutsBo } from "@colijnit/sharedapi/build/model/report/stock-stickers-print-layouts.bo";
8
+ import { CoDropDownListFields } from "../stock/stock-transfer/co-drop-down-list-fields.interface";
9
+ export declare class SendMethodDialogComponent implements AfterViewInit {
10
+ iconCacheService: IconCacheService;
11
+ private _stockService;
12
+ readonly icons: typeof Icon;
13
+ readonly sendOption: typeof SendOption;
14
+ sendOptions: {
15
+ option: SendOption;
16
+ iconName: Icon;
17
+ }[];
18
+ activeSendOption: SendOption;
19
+ amountToPrint: number;
20
+ showStandardPrinterOptions: boolean;
21
+ showPrinterSelections: boolean;
22
+ showExitButton: boolean;
23
+ defaultPrinter: Printer;
24
+ printTemplates: StockStickersPrintLayoutsBo[];
25
+ printTemplatesField: CoDropDownListFields;
26
+ emails: any[];
27
+ models: boolean[];
28
+ layouts: any[];
29
+ selectedLayout: 'Layout 1';
30
+ showDialog: boolean;
31
+ headerTitle: string;
32
+ printerList: Printer[];
33
+ startSignatureClicked: EventEmitter<any>;
34
+ printButtonClicked: EventEmitter<any>;
35
+ showClass(): boolean;
36
+ constructor(iconCacheService: IconCacheService, _stockService: StockService);
37
+ ngAfterViewInit(): void;
38
+ getPrinters(): Promise<void>;
39
+ closeDialogClick(): void;
40
+ handleSignatureStart(): void;
41
+ handlePrintClicked(): void;
42
+ togglePrinterSelection(): void;
43
+ onPrinterClicked(printer: any): void;
44
+ getPrintTemplates(): void;
45
+ }
@@ -0,0 +1,2 @@
1
+ export declare class SendMethodDialogModule {
2
+ }
@@ -0,0 +1,192 @@
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
+ //.co-dialog-wizard-wrapper {
18
+ // height: 50vh;
19
+ // overflow-y: auto;
20
+ //}
21
+
22
+ .send-options-wrapper {
23
+ display: flex;
24
+ justify-content: center;
25
+ }
26
+
27
+ .custom-button-wrapper {
28
+ width: 45px;
29
+ height: 45px;
30
+ background-color: #f5f5fa;
31
+ padding: 5px;
32
+ margin: 5px;
33
+ border-radius: 10px;
34
+ cursor: pointer;
35
+
36
+ co-icon {
37
+ width: 100%;
38
+ height: 100%;
39
+ }
40
+ }
41
+
42
+ .selected-option {
43
+ background-color: #3e7eff;
44
+
45
+ co-icon svg {
46
+ path {
47
+ fill: white
48
+ }
49
+ rect {
50
+ fill: white
51
+ }
52
+ }
53
+ }
54
+
55
+ .email-option-content {
56
+ display: flex;
57
+ flex-direction: column;
58
+ margin: 10px 0 10px;
59
+ }
60
+
61
+ .emails-container {
62
+ display: flex;
63
+ flex-direction: column;
64
+ }
65
+
66
+ .lov-wrapper {
67
+ margin: 15px 0 10px;
68
+ border: 1px solid #f6f6f8;
69
+ border-radius: 10px;
70
+ padding: 10px;
71
+ }
72
+
73
+ .input-checkbox-wrapper {
74
+ padding: 5px;
75
+ }
76
+
77
+ .input-number-wrapper {
78
+ width: 85px;
79
+ height: 52px;
80
+ margin: 5px;
81
+ }
82
+
83
+ .print-footer-wrapper {
84
+ display: flex;
85
+ justify-content: center;
86
+ }
87
+
88
+ .print-button {
89
+ display: flex;
90
+ align-items: center;
91
+ justify-content: center;
92
+ width: 120px;
93
+ }
94
+
95
+ .number-picker {
96
+ height: 52px;
97
+ }
98
+
99
+ .signature-button-wrapper {
100
+ display: flex;
101
+ justify-content: center;
102
+ }
103
+
104
+ .signature-button {
105
+ width: 75px;
106
+ }
107
+
108
+ .standard-printer-wrapper {
109
+ width: 100%;
110
+ margin: 15px 0 15px;
111
+ display: flex;
112
+ flex-direction: column;
113
+ justify-content: center;
114
+ }
115
+
116
+ .standard-printer-link {
117
+ display: flex;
118
+ align-items: center;
119
+ cursor: pointer;
120
+
121
+ co-icon svg {
122
+ polygon {
123
+ fill: #3e7eff
124
+ }
125
+ }
126
+ }
127
+
128
+ .arrow-icon {
129
+ width: 30px;
130
+ height: 40px;
131
+ }
132
+
133
+ .standard-printer-message {
134
+ font-family: $sc-font-family;
135
+ font-weight: bold;
136
+ color: #3e7eff;
137
+ font-size: 0.9em;
138
+ }
139
+
140
+ .standard-printer-selections {
141
+ display: flex;
142
+ flex-direction: column;
143
+ }
144
+
145
+ .printer-content-container {
146
+ flex-direction: column;
147
+ align-items: center;
148
+ padding-top: 20px;
149
+ height: 50vh;
150
+ overflow-y: auto;
151
+ }
152
+
153
+ .selected-printer-wrapper {
154
+ display: flex;
155
+ align-items: center;
156
+ justify-content: space-between;
157
+ }
158
+
159
+ .printer-option-list-item {
160
+ display: flex;
161
+ align-items: center;
162
+ }
163
+
164
+ .printer-details {
165
+ display: flex;
166
+ flex-direction: column;
167
+ }
168
+
169
+ .printer-name {
170
+ font-weight: bold;
171
+ }
172
+
173
+ .printer-icon {
174
+ height: 50px;
175
+ width: 50px;
176
+ margin-right: 10px;
177
+ }
178
+
179
+ .select-printer-arrow {
180
+ width: 25px;
181
+ height: 25px;
182
+ }
183
+
184
+ .clickable {
185
+ cursor: pointer;
186
+ }
187
+
188
+ .selection {
189
+ padding: 10px;
190
+ }
191
+ }
192
+ }
@@ -0,0 +1 @@
1
+ $cc-co-input-number-picker-border-color: #757575;
@@ -0,0 +1,7 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('ione-send-method-dialog-theme') {
4
+ .ione-send-method-dialog {
5
+
6
+ }
7
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,10 @@
1
+ import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
2
+ import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
3
+ export declare class StockInformationComponent {
4
+ image: string;
5
+ article: ArticleExtended;
6
+ articleStock: ArticleStockBo;
7
+ allAvailableStockInformation: number;
8
+ allTechnicalStockInformation: number;
9
+ constructor();
10
+ }
@@ -0,0 +1,60 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { StockService } from "../../../service/stock.service";
3
+ import { IconCacheService } from "../../../service/icon-cache.service";
4
+ import { Icon } from "../../../enum/icon.enum";
5
+ import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
6
+ import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
7
+ import { PrintStockStickers } from "@colijnit/sharedapi/build/model/print-stock-stickers";
8
+ import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
9
+ import { ArticleStockManagement } from "@colijnit/articleapi/build/model/article-stock-management";
10
+ import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
11
+ import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
12
+ import { CoDropDownListFields } from "../stock-transfer/co-drop-down-list-fields.interface";
13
+ export declare class StockInformationGridComponent {
14
+ iconCacheService: IconCacheService;
15
+ private _stockService;
16
+ readonly icons: typeof Icon;
17
+ stock: StockInformationGridComponent;
18
+ articleStockInformation: ArticleStockBo[];
19
+ stockLocationData: ArticleStockBo[];
20
+ stockHistoryInformation: StockHistoryBo[];
21
+ readonly transferIconClicked: EventEmitter<ArticleStockBo>;
22
+ readonly historyClicked: EventEmitter<any>;
23
+ image: string;
24
+ show: boolean;
25
+ hideOrShowLocationTab: boolean;
26
+ showStockHistory: boolean;
27
+ showSendMethodDialog: boolean;
28
+ inOrderInformation: StockHistoryBo[];
29
+ orderInformation: StockHistoryBo[];
30
+ hideOrShowTabs: boolean;
31
+ dataWareHouseCode: StockManagementWarehouses[];
32
+ dataWareHouseFields: CoDropDownListFields;
33
+ selectedWarehouse: any;
34
+ articleStockSearchInfo: ArticleStock;
35
+ printSticker: PrintStockStickers;
36
+ articleDetails: ArticleDetailsBo[];
37
+ selectedArticleDetailsData: ArticleDetailsBo;
38
+ showChangeStockDetails: boolean;
39
+ articleDetailsInformation: ArticleStockManagement;
40
+ tabs: string[];
41
+ activeTab: string;
42
+ get activeTabText(): string;
43
+ constructor(iconCacheService: IconCacheService, _stockService: StockService);
44
+ handleTabClick(tabData: any): void;
45
+ onLocationClick(data: ArticleStockBo): void;
46
+ handleHistoryClick(): void;
47
+ backToStockInformation(): void;
48
+ handleStockTransferClick(event: any): void;
49
+ handleBackToStockClick(): Promise<void>;
50
+ openSendMethodDialog(): void;
51
+ printStockStickers(): void;
52
+ onOkClick(): void;
53
+ onCancelClick(): void;
54
+ openDialogClick(data: any): void;
55
+ getArticleDetails(data: any): void;
56
+ getStockManagementWarehouses(data: ArticleStockBo): void;
57
+ onSelectWarehouse(event: any): void;
58
+ getInOrderData(): Promise<void>;
59
+ getOrderData(): Promise<void>;
60
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
3
+ import { StockService } from "../../../service/stock.service";
4
+ export declare class StockLocationComponent {
5
+ private _stockService;
6
+ stockLocationInformation: ArticleStock;
7
+ backToStockLines: EventEmitter<any>;
8
+ allWarehouses: any;
9
+ stockLocationColumns: any[];
10
+ constructor(_stockService: StockService);
11
+ backToStockInformation(): void;
12
+ onOkClick(): void;
13
+ onCancelClick(): void;
14
+ onSelectWarehouse(event: any): void;
15
+ }
@@ -0,0 +1,4 @@
1
+ export interface CoDropDownListFields {
2
+ text: string;
3
+ value: string;
4
+ }
@@ -0,0 +1,18 @@
1
+ import { AfterViewInit, EventEmitter } from "@angular/core";
2
+ import { StockService } from "../../../service/stock.service";
3
+ import { StockStatus } from "@colijnit/articleapi/build/model/stock-status.bo";
4
+ import { CoDropDownListFields } from "./co-drop-down-list-fields.interface";
5
+ import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
6
+ export declare class StockChangeAmountComponent implements AfterViewInit {
7
+ private _stockService;
8
+ selectedArticleDetailsData: ArticleDetailsBo;
9
+ readonly closeStockChangeAmount: EventEmitter<any>;
10
+ stockState: StockStatus[];
11
+ stockStateDropdownField: CoDropDownListFields;
12
+ constructor(_stockService: StockService);
13
+ ngAfterViewInit(): void;
14
+ closeDialogClick(): void;
15
+ handleOkClick(data: ArticleDetailsBo): Promise<void>;
16
+ handleCancelClick(): void;
17
+ getStockState(): void;
18
+ }
@@ -0,0 +1,36 @@
1
+ import { AfterViewInit, EventEmitter } from "@angular/core";
2
+ import { PrintStockStickers } from "@colijnit/articleapi/build/model/print-stock-stickers";
3
+ import { StockService } from "../../../service/stock.service";
4
+ import { CoDropDownListFields } from "./co-drop-down-list-fields.interface";
5
+ import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
6
+ import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
7
+ import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
8
+ import { StockStatus } from "@colijnit/articleapi/build/model/stock-status.bo";
9
+ import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
10
+ export declare class StockTransferComponent implements AfterViewInit {
11
+ private _stockService;
12
+ stockSticker: PrintStockStickers;
13
+ article: ArticleStockBo;
14
+ articleToTransfer: ArticleDetailsBo;
15
+ articleWarehouse: any[];
16
+ allWarehouses: any[];
17
+ handleCancelClicked: EventEmitter<any>;
18
+ handleStickerClicked: EventEmitter<any>;
19
+ allWarehousesDropdownFields: CoDropDownListFields;
20
+ allLocationDropdownFields: CoDropDownListFields;
21
+ showSendMethodDialog: boolean;
22
+ warehouses: StockManagementWarehouses[];
23
+ stockState: StockStatus[];
24
+ stockStateDropdownField: CoDropDownListFields;
25
+ locations: StockLocation[];
26
+ selectedWarehouse: any;
27
+ constructor(_stockService: StockService);
28
+ ngAfterViewInit(): void;
29
+ handleOkClick(data: ArticleDetailsBo): Promise<void>;
30
+ handleCancelClick(): void;
31
+ handleSelectedWarehouse(event: any): void;
32
+ handleStickerClick(): Promise<void>;
33
+ getStockManagementWarehouses(): void;
34
+ getStockManagementLocations(data: any): void;
35
+ getStockState(): void;
36
+ }
@@ -0,0 +1,34 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { StockService } from "../../service/stock.service";
3
+ import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
4
+ import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
5
+ import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
6
+ import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
7
+ import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
8
+ export declare class StockComponent {
9
+ stockService: StockService;
10
+ stock: StockComponent;
11
+ handleStickerClicked: EventEmitter<any>;
12
+ set options(value: any);
13
+ set article(article: any);
14
+ articleWarehouse: any[];
15
+ allWarehouses: any[];
16
+ showClass(): boolean;
17
+ showStockInformationGrid: boolean;
18
+ showStockLocation: boolean;
19
+ showStockTransfer: boolean;
20
+ stockInformation: ArticleStockBo[];
21
+ stockLocationInformation: ArticleStockBo[];
22
+ stockTransferArticle: ArticleStockBo;
23
+ stockTransferArticleDetails: ArticleDetailsBo;
24
+ articleExtended: ArticleExtended;
25
+ stockHistory: StockHistoryBo[];
26
+ allAvailableStock: number;
27
+ allTechnicalStock: number;
28
+ constructor(stockService: StockService);
29
+ backToStockLinesClicked(): void;
30
+ handleStockTransferClick(event: any): void;
31
+ backToStock(): void;
32
+ getStockHistory(): Promise<void>;
33
+ getStockInformation(data: ArticleStock): Promise<void>;
34
+ }
@@ -0,0 +1,2 @@
1
+ export declare class StockModule {
2
+ }
@@ -0,0 +1,180 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-stock-layout') {
4
+ .co-stock {
5
+
6
+ .stock-info-container {
7
+ max-width: $sc-stock-info-container-width;
8
+ padding: $sc-stock-info-container-padding;
9
+ }
10
+
11
+ .stock-info {
12
+ margin-top: $sc-stock-info-margin;
13
+ padding: $sc-stock-info-padding;
14
+ display: inline-flex;
15
+ width: 90%;
16
+ justify-content: space-between;
17
+ }
18
+
19
+ .stock-info-row {
20
+ display: inline-flex;
21
+ }
22
+
23
+ .stock-info-row-image {
24
+ display: inline-flex;
25
+ gap: $sc-stock-gap;
26
+ }
27
+
28
+ .stock-image {
29
+ height: $sc-stock-image-height;
30
+ }
31
+
32
+ .stock-good-info {
33
+ display: block;
34
+ }
35
+
36
+ .stock-status {
37
+ display: grid;
38
+ gap: $sc-stock-gap;
39
+ }
40
+
41
+ .stock-info > div:not(:first-child) {
42
+ padding: 0 10px;
43
+ border-left: $sc-stock-border-left;
44
+ }
45
+
46
+ .stock-line {
47
+ font-weight: $sc-stock-line-font-weight;
48
+ margin: $sc-stock-line-margin;
49
+ }
50
+
51
+ .stock-lines-button {
52
+ margin-bottom: 5%;
53
+ }
54
+
55
+ .tab-link {
56
+ gap: 30px;
57
+ padding: 20px 20px;
58
+ &.hide {
59
+ display: none;
60
+ }
61
+
62
+ &.show {
63
+ display: flex;
64
+ }
65
+ flex-direction: row;
66
+ }
67
+
68
+ .tab-link > div {
69
+ margin: 25px 0;
70
+ padding-right: 10px;
71
+
72
+ &.inactive {
73
+ font-weight: normal;
74
+ }
75
+ }
76
+
77
+ .stock-grid {
78
+ margin: $sc-stock-grid-margin;
79
+ }
80
+
81
+ .buttons-wrapper {
82
+ display: flex;
83
+ }
84
+
85
+ .dropdown-wrapper {
86
+ display: flex;
87
+ float: right;
88
+ max-width: 20%;
89
+ }
90
+
91
+ .stock-location-group {
92
+ margin-bottom: 20px;
93
+ display: flex;
94
+ }
95
+
96
+ .stock-location-left-group {
97
+ float: left;
98
+ display: flex;
99
+ flex: 1;
100
+ justify-content: flex-start;
101
+ }
102
+
103
+ .stock-location-right-group {
104
+ float: right;
105
+ display: flex;
106
+ flex: 1;
107
+ justify-content: flex-end;
108
+ }
109
+
110
+ .stock-button-toolbar {
111
+ display: flex;
112
+ justify-content: space-between;
113
+ margin: 10px;
114
+ }
115
+
116
+ .stock-button-left-group {
117
+ display: flex;
118
+ flex: 1;
119
+ justify-content: flex-start;
120
+
121
+ .co-button {
122
+ margin-right: 10px;
123
+ width: 100px;
124
+ }
125
+ }
126
+ .stock-button-middle-group {
127
+ display: flex;
128
+ flex: 1;
129
+ margin-top: 10px;
130
+ }
131
+
132
+ .stock-transfer-right-column {
133
+ display: flex;
134
+ flex-direction: column;
135
+ width: 25%;
136
+ float: right;
137
+ }
138
+
139
+ .stock-transfer-left-column {
140
+ display: flex;
141
+ flex-direction: column;
142
+ width: 25%;
143
+ float: left;
144
+ }
145
+
146
+ .ok-cancel-buttons {
147
+ display: flex;
148
+ justify-content: center;
149
+ padding: 25px;
150
+ }
151
+
152
+ .stock-transfer-columns {
153
+ display: flex;
154
+ width: 100%;
155
+ justify-content: space-around;
156
+ }
157
+
158
+ .tab-link-buttons {
159
+ cursor: $sc-stock-tab-link-buttons-pointer;
160
+ }
161
+
162
+ .active {
163
+ color: $sc-color-action;
164
+ }
165
+
166
+ .stock-button-back {
167
+ color: $sc-color-action;
168
+ cursor: pointer;
169
+ }
170
+
171
+ .drop-list-group {
172
+ height: $sc-stock-grid-height;
173
+ overflow-y: $sc-stock-grid-overflow-y;
174
+ }
175
+
176
+ .co-button-small {
177
+ width: 50%;
178
+ }
179
+ }
180
+ }
@@ -0,0 +1,20 @@
1
+ $sc-stock-info-margin: 10px !default;
2
+ $sc-stock-info-padding: 0 10px !default;
3
+ $sc-stock-gap: 10px !default;
4
+ $sc-stock-border-left: solid 1px lightgray !default;
5
+ $sc-stock-line-margin: 10px 0 20px 0 !default;
6
+ $sc-stock-line-font-weight: bold !default;
7
+ $sc-stock-simple-grid-header-fontsize: 14px !default;
8
+ $sc-stock-simple-grid-row-fontsize: 12px !default;
9
+ $sc-stock-simple-grid-row-border-bottom: 1px solid black !default;
10
+ $sc-stock-simple-grid-row-border: none !default;
11
+ $sc-stock-simple-grid-column-cell-padding: 10px 5px !default;
12
+ $sc-stock-tab-link-buttons-active-color: $sc-color-action !default;
13
+ $sc-stock-tab-link-buttons-pointer: pointer !default;
14
+ $sc-stock-grid-margin: 50px 0 0 0 !default;
15
+ $sc-stock-simple-grid-column-header-wrapper-border-bottom: 1px solid black !default;
16
+ $sc-stock-info-container-width: 100% !default;
17
+ $sc-stock-info-container-padding: 0px !default;
18
+ $sc-stock-image-height: 50px !default;
19
+ $sc-stock-grid-height: 300px !default;
20
+ $sc-stock-grid-overflow-y: auto !default;
@@ -0,0 +1,8 @@
1
+ @import "../../../style/mixin";
2
+ @import "./material-definition";
3
+
4
+ @include export-module('co-stock-theme') {
5
+ .co-stock {
6
+
7
+ }
8
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,21 @@
1
+ /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
2
+ export declare enum Icon {
3
+ ArrowFatRight = "arrow_fat_right",
4
+ ArrowPointDown = "arrow_point_down",
5
+ ArrowPointLeft = "arrow_point_left",
6
+ ArrowPointRight = "arrow_point_right",
7
+ CalendarDay = "calendar_day",
8
+ Cancel = "cancel",
9
+ DeliveryTruck = "delivery_truck",
10
+ EditPencil = "edit_pencil",
11
+ Email = "email",
12
+ Pdf = "pdf",
13
+ PlusRound = "plus_round",
14
+ Print = "print",
15
+ SignatureField = "signature_field",
16
+ Tag = "tag",
17
+ ThickLines = "thick_lines",
18
+ ThinLines = "thin_lines",
19
+ Txt = "txt",
20
+ Xml = "xml"
21
+ }