@colijnit/sharedcomponents 256.1.5 → 256.1.6

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 (34) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +351 -237
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +126 -125
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +127 -126
  6. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +2 -2
  7. package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +35 -20
  8. package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +26 -25
  9. package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +7 -4
  10. package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +3 -2
  11. package/esm2015/lib/components/stock/service/stock-module-screen-config.service.js +27 -0
  12. package/esm2015/lib/components/stock/stock-information/stock-information.component.js +30 -2
  13. package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +5 -5
  14. package/esm2015/lib/components/stock/stock.component.js +20 -7
  15. package/esm2015/lib/components/stock/stock.module.js +3 -1
  16. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  17. package/esm2015/lib/service/shared-connector.service.js +2 -2
  18. package/esm2015/lib/service/shared-event.service.js +15 -0
  19. package/esm2015/public-api.js +2 -1
  20. package/fesm2015/colijnit-sharedcomponents.js +156 -64
  21. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  22. package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +4 -1
  23. package/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.d.ts +3 -1
  24. package/lib/components/stock/components/stock-location/stock-location.component.d.ts +2 -1
  25. package/lib/components/stock/service/stock-module-screen-config.service.d.ts +9 -0
  26. package/lib/components/stock/stock-information/stock-information.component.d.ts +8 -1
  27. package/lib/components/stock/stock.component.d.ts +5 -2
  28. package/lib/components/stock/style/_layout.scss +27 -4
  29. package/lib/components/stock/style/_material-definition.scss +3 -3
  30. package/lib/components/tab-bar/style/_layout.scss +6 -3
  31. package/lib/res/dictionary/dictionaries.d.ts +26 -0
  32. package/lib/service/shared-event.service.d.ts +4 -0
  33. package/package.json +1 -1
  34. package/public-api.d.ts +1 -0
@@ -2,10 +2,13 @@ import { StockHistoryBo } from '@colijnit/articleapi/build/model/stock-history.b
2
2
  import { Icon } from '../../../../enum/icon.enum';
3
3
  import { BaseStockComponent } from '../../base/base-stock.component';
4
4
  import { StockService } from '../../../../service/stock.service';
5
+ import { SharedEventService } from "../../../../service/shared-event.service";
5
6
  export declare class AllocationStockHistoryComponent extends BaseStockComponent {
6
7
  private _stockService;
8
+ sharedEventService: SharedEventService;
7
9
  readonly icons: typeof Icon;
8
10
  data: StockHistoryBo[];
9
- constructor(_stockService: StockService);
11
+ constructor(_stockService: StockService, sharedEventService: SharedEventService);
10
12
  protected getData(): Promise<void>;
13
+ handleTransactionNavigation(docNr: string): void;
11
14
  }
@@ -13,6 +13,7 @@ export declare class StockLocationPopupComponent {
13
13
  private _stockService;
14
14
  private _changeDetector;
15
15
  readonly icons: typeof Icon;
16
+ editingRow: boolean;
16
17
  showConfirmationDialog: boolean;
17
18
  newStockLine: boolean;
18
19
  selectedArticleDetailsData: ArticleDetailsBo;
@@ -21,7 +22,8 @@ export declare class StockLocationPopupComponent {
21
22
  selectedWarehouse: StockManagementWarehouses;
22
23
  selectedLocationNo: string;
23
24
  articleStockInfo: ArticleDetailsBo[];
24
- togglePopupEvent: EventEmitter<boolean>;
25
+ togglePopupEvent: EventEmitter<void>;
26
+ saveEvent: EventEmitter<boolean>;
25
27
  updateGridData: EventEmitter<ArticleDetailsBo[]>;
26
28
  stockLocations: StockLocation[];
27
29
  stockStatus: StockStatus[];
@@ -61,5 +61,6 @@ export declare class StockLocationComponent extends BaseStockComponent implement
61
61
  locationForDescription(locationNo: string): string;
62
62
  protected getData(): Promise<void>;
63
63
  private _getWarehouseLocations;
64
- handleTogglePopup(saved: boolean): void;
64
+ handleTogglePopup(): void;
65
+ handlePopupSave(saved: boolean): void;
65
66
  }
@@ -0,0 +1,9 @@
1
+ import { BaseModuleScreenConfigService } from "@colijnit/corecomponents_v12";
2
+ import { ObjectConfiguration } from "@colijnit/ioneconnector/build/model/object-configuration";
3
+ import { SharedConnectorService } from "../../../service/shared-connector.service";
4
+ export declare class StockModuleScreenConfigService extends BaseModuleScreenConfigService {
5
+ private _sharedConnectorService;
6
+ screenModuleName: string;
7
+ constructor(_sharedConnectorService: SharedConnectorService);
8
+ protected loadConfigForModule(params: string[], insertRights?: boolean): Promise<ObjectConfiguration[]>;
9
+ }
@@ -1,9 +1,16 @@
1
1
  import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
2
+ import { SharedConnectorService } from "../../../service/shared-connector.service";
2
3
  export declare class StockInformationComponent {
4
+ private _connectorService;
3
5
  image: string;
4
- article: ArticleExtended;
6
+ set article(value: ArticleExtended);
7
+ get article(): ArticleExtended;
5
8
  articleStockState: number;
6
9
  allAvailableStockInformation: number;
7
10
  allTechnicalStockInformation: number;
8
11
  economicalStock: number;
12
+ perceptibleStorage: number;
13
+ private _article;
14
+ constructor(_connectorService: SharedConnectorService);
15
+ private _prepareImage;
9
16
  }
@@ -12,13 +12,15 @@ import { Icon } from '../../enum/icon.enum';
12
12
  import { IconCacheService } from '../../service/icon-cache.service';
13
13
  import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
14
14
  import { SharedComponentsDictionaryService } from '../../translation/shared-components-dictionary.service';
15
+ import { StockModuleScreenConfigService } from "./service/stock-module-screen-config.service";
15
16
  export declare class StockComponent implements OnDestroy, OnInit {
17
+ iconCacheService: IconCacheService;
16
18
  private _stockService;
17
19
  private _optionsService;
18
20
  private _dictionary;
19
21
  private _changeDetector;
20
22
  private _connector;
21
- iconCacheService: IconCacheService;
23
+ private _screenConfigService;
22
24
  readonly icons: typeof Icon;
23
25
  handleStickerClicked: EventEmitter<any>;
24
26
  set article(articleOrGoodId: ArticleExtended | number);
@@ -42,12 +44,13 @@ export declare class StockComponent implements OnDestroy, OnInit {
42
44
  allAvailableStock: number;
43
45
  allTechnicalStock: number;
44
46
  economicalStock: number;
47
+ perceptibleStorage: number;
45
48
  showSendMethodDialog: boolean;
46
49
  articleStockState: number;
47
50
  warehouses: StockManagementWarehouses[];
48
51
  private _subscriptions;
49
52
  private _goodId;
50
- constructor(_stockService: StockService, _optionsService: OptionsService, _dictionary: SharedComponentsDictionaryService, _changeDetector: ChangeDetectorRef, _connector: SharedConnectorService, iconCacheService: IconCacheService);
53
+ constructor(iconCacheService: IconCacheService, _stockService: StockService, _optionsService: OptionsService, _dictionary: SharedComponentsDictionaryService, _changeDetector: ChangeDetectorRef, _connector: SharedConnectorService, _screenConfigService: StockModuleScreenConfigService);
51
54
  ngOnDestroy(): void;
52
55
  ngOnInit(): void;
53
56
  handleStockTransferClick(event: any): void;
@@ -3,7 +3,7 @@
3
3
  .stock-grid {
4
4
  co-dialog {
5
5
  .co-dialog-wrapper {
6
- width: 500px;
6
+ width: 600px;
7
7
  display: flex;
8
8
  }
9
9
  .stock-dialog-header {
@@ -19,21 +19,26 @@
19
19
  }
20
20
  .dialog-wrapper {
21
21
  display: flex;
22
- gap: 5px;
22
+ gap: 10px;
23
23
  padding: 10px;
24
24
  flex-direction: column;
25
25
  }
26
26
  .stock-dialog-row {
27
27
  display: flex;
28
28
  align-items: center;
29
- gap: 5px;
29
+ gap: 20px;
30
30
  > * {
31
31
  flex: 1;
32
32
  }
33
33
  .stock-dialog-row-row {
34
34
  display: flex;
35
35
  align-items: center;
36
- gap: 5px;
36
+ gap:10px;
37
+ }
38
+ co-input-text, co-list-of-values, co-input-number-picker {
39
+ &:before {
40
+ box-shadow: none;
41
+ }
37
42
  }
38
43
  }
39
44
  }
@@ -420,6 +425,10 @@
420
425
  .simple-grid {
421
426
  height: $sc-stock-grid-height;
422
427
  overflow: auto;
428
+ thead {
429
+ position: sticky;
430
+ top: 0;
431
+ }
423
432
  .co-grid-toolbar {
424
433
  .co-icon {
425
434
  border-color: #1A73E8;
@@ -520,6 +529,20 @@
520
529
  font-size: 10px;
521
530
  &:nth-child(odd) {
522
531
  background: #f8f8fa;
532
+ &:hover {
533
+ background: #d2e3f9;
534
+ }
535
+ &.selected {
536
+ background: #d2e3f9;
537
+ }
538
+ }
539
+ &:nth-child(even) {
540
+ &:hover {
541
+ background: #d2e3f9;
542
+ }
543
+ &.selected {
544
+ background: #d2e3f9;
545
+ }
523
546
  }
524
547
  }
525
548
  .simple-grid-column-cell-field {
@@ -1,7 +1,7 @@
1
- $sc-stock-info-margin: 10px 0 20px 0 !default;
1
+ $sc-stock-info-margin: 4px 0 20px 0 !default;
2
2
  $sc-stock-info-padding: 15px 10px !default;
3
- $sc-stock-info-border-width: 1px 0 !default;
4
- $sc-stock-info-border-color: #CCCCCC !default;
3
+ $sc-stock-info-border-width: 4px 0 !default;
4
+ $sc-stock-info-border-color: #F4F4F9 !default;
5
5
  $sc-stock-gap: 10px !default;
6
6
  $sc-stock-border-left: none !default;
7
7
  $sc-stock-line-margin: 10px 0 20px 0 !default;
@@ -26,10 +26,13 @@
26
26
  font-weight: bold;
27
27
  color: $sc-color-font;
28
28
  }
29
-
29
+ &:hover {
30
+ filter: brightness(100%);
31
+ }
30
32
  &.active {
31
- background-color: white;
32
- border-bottom: 2px solid #1A73E8;
33
+ span {
34
+ color: #1A73E8;
35
+ }
33
36
  }
34
37
  }
35
38
  }
@@ -3440,6 +3440,7 @@ export declare class Dictionaries {
3440
3440
  MESSAGE_KIND: string;
3441
3441
  MESSAGE_LICENCE_EXPIRES_MONTH: string;
3442
3442
  MESSAGE_LICENSE_EXPIRED: string;
3443
+ MESSAGE_LOGGED_CLIENT_FAILURE: string;
3443
3444
  MESSAGE_LOGGED_IN: string;
3444
3445
  MESSAGE_LOGIN_FAILURE: string;
3445
3446
  MESSAGE_LOGIN_FAILURE2: string;
@@ -4461,6 +4462,7 @@ export declare class Dictionaries {
4461
4462
  IMPORT_RELATION_SUCCESS: string;
4462
4463
  IMPORT_SCHEMAS: string;
4463
4464
  IMPORT_SCHEMA_NAME: string;
4465
+ CHANGE_STOCK_LINE: string;
4464
4466
  CORRECT_ACCEPTED_ORDER: string;
4465
4467
  CORRECT_ALLOCATIONS_FIRST: string;
4466
4468
  CORRECT_ASSIGNMENT_FIRST: string;
@@ -4589,6 +4591,7 @@ export declare class Dictionaries {
4589
4591
  MUTATION_USER: string;
4590
4592
  MY_CLIENTDATA: string;
4591
4593
  MY_EMPLOYERS: string;
4594
+ MY_PLANNING: string;
4592
4595
  MY_ORDERS: string;
4593
4596
  MY_SERVICES: string;
4594
4597
  MY_SERVICE_REQUESTS: string;
@@ -6464,6 +6467,7 @@ export declare class Dictionaries {
6464
6467
  SERVICE_HISTORY: string;
6465
6468
  SERVICE_INFO: string;
6466
6469
  SHOW_ACTIVE_ADDRESSES_ONLY: string;
6470
+ ABOUT_ORDER: string;
6467
6471
  SHOW_ACTIVE_ONLY: string;
6468
6472
  SHOW_ACTIVE_PERSONS_ONLY: string;
6469
6473
  SHOW_ACTIVITIES_FOR_GROUP: string;
@@ -6953,6 +6957,7 @@ export declare class Dictionaries {
6953
6957
  STUDIO_CODE: string;
6954
6958
  SIGN_DOCUMENTS: string;
6955
6959
  SIGN_IN: string;
6960
+ SIGN_UP: string;
6956
6961
  STUK_EENHEID: string;
6957
6962
  STYLEGUIDE: string;
6958
6963
  STYLE_GROUPING: string;
@@ -7685,6 +7690,7 @@ export declare class Dictionaries {
7685
7690
  NOV_BTW_V: string;
7686
7691
  NOW: string;
7687
7692
  NOW_AVAILABLE: string;
7693
+ NO_ACCOUNT_YET: string;
7688
7694
  NO_ACTION: string;
7689
7695
  NO_ACTIVE_WORKFLOWS: string;
7690
7696
  NO_ACTIVE_WORKFLOW_FOR_TASK: string;
@@ -7730,6 +7736,9 @@ export declare class Dictionaries {
7730
7736
  NO_REPORT_DATA: string;
7731
7737
  NO_RESULTS: string;
7732
7738
  NO_RESULTS_FOUND: string;
7739
+ NO_SEARCH_RESULTS_HEADER: string;
7740
+ NO_SEARCH_RESULTS_TEXT: string;
7741
+ NO_SEARCH_RESULTS_CONTENT: string;
7733
7742
  NO_RETOUR_POSSIBLE: string;
7734
7743
  NO_RETURNS: string;
7735
7744
  NO_RETURN_WAREHOUSE: string;
@@ -8213,6 +8222,7 @@ export declare class Dictionaries {
8213
8222
  OPEN_RELATION_MANAGEMENT: string;
8214
8223
  OPEN_SALES_OVERVIEW: string;
8215
8224
  OPEN_SHOPPING_CART: string;
8225
+ OPEN_STOCK_DETAILS: string;
8216
8226
  ORDER_CANNOT_BE_COMPLETELY_ACCEPTED: string;
8217
8227
  ORDER_CODE: string;
8218
8228
  UNKNOWN_ADDRESS_CHECK_IT: string;
@@ -8337,6 +8347,7 @@ export declare class Dictionaries {
8337
8347
  WAREHOUSE_REQUIRED: string;
8338
8348
  WARNING: string;
8339
8349
  WARNING_MESSAGE_DELETE_NOTIFICATION_LINKS: string;
8350
+ PERCEPTIBLE_STORAGE: string;
8340
8351
  PURCHASE_CONFIRMATION_IMPORT: string;
8341
8352
  PURCHASE_DATE: string;
8342
8353
  PURCHASE_DESCRIPTION: string;
@@ -10887,6 +10898,7 @@ export declare class Dictionaries {
10887
10898
  ABILITY_TO_WORK: string;
10888
10899
  ABOUT_DATA: string;
10889
10900
  ABOUT_PREFIX: string;
10901
+ ABOUT_ORDER: string;
10890
10902
  ABROAD_PERFORMANCE: string;
10891
10903
  ABSENCE: string;
10892
10904
  ABSENCEFILE: string;
@@ -12916,6 +12928,7 @@ export declare class Dictionaries {
12916
12928
  COPY_SALES_ORDER: string;
12917
12929
  COPY_SALES_QUOTATION_ORDER: string;
12918
12930
  COPY_SERVICE_ORDER: string;
12931
+ COPY_LINE: string;
12919
12932
  COPY_LINK_TO_CLIPBOARD: string;
12920
12933
  COPY_TO_CLIPBOARD: string;
12921
12934
  COPY_TREE: string;
@@ -14839,6 +14852,7 @@ export declare class Dictionaries {
14839
14852
  LOCATIONS: string;
14840
14853
  LOCATION_ADVICE: string;
14841
14854
  LOCATION_FROM: string;
14855
+ LOCATION_INVENTORY: string;
14842
14856
  LOCATION_IS_NOT_VALID_WITHIN_WAREHOUSE: string;
14843
14857
  LOCATION_NOT_EDITABLE: string;
14844
14858
  LOCATION_NOT_SAME_AS_ROW: string;
@@ -15189,6 +15203,7 @@ export declare class Dictionaries {
15189
15203
  MESSAGE_KIND: string;
15190
15204
  MESSAGE_LICENCE_EXPIRES_MONTH: string;
15191
15205
  MESSAGE_LICENSE_EXPIRED: string;
15206
+ MESSAGE_LOGGED_CLIENT_FAILURE: string;
15192
15207
  MESSAGE_LOGGED_IN: string;
15193
15208
  MESSAGE_LOGIN_FAILURE2: string;
15194
15209
  MESSAGE_LOGIN_FAILURE: string;
@@ -15395,6 +15410,7 @@ export declare class Dictionaries {
15395
15410
  MY_ABSENCEFILES: string;
15396
15411
  MY_CLIENTDATA: string;
15397
15412
  MY_EMPLOYERS: string;
15413
+ MY_PLANNING: string;
15398
15414
  MY_ORDERS: string;
15399
15415
  MY_SERVICES: string;
15400
15416
  MY_SERVICE_REQUESTS: string;
@@ -15496,6 +15512,7 @@ export declare class Dictionaries {
15496
15512
  NEW_STATUS: string;
15497
15513
  NEW_STOCK: string;
15498
15514
  NEW_STOCK_LINE: string;
15515
+ CHANGE_STOCK_LINE: string;
15499
15516
  NEW_STOREROOM: string;
15500
15517
  NEW_TRANSACTION: string;
15501
15518
  NEW_USER_ACCOUNT_MESSAGE: string;
@@ -15603,6 +15620,7 @@ export declare class Dictionaries {
15603
15620
  NOVEMBER: string;
15604
15621
  NOW: string;
15605
15622
  NOW_AVAILABLE: string;
15623
+ NO_ACCOUNT_YET: string;
15606
15624
  NO_ACTION: string;
15607
15625
  NO_ACTIVE_WORKFLOWS: string;
15608
15626
  NO_ACTIVE_WORKFLOW_FOR_TASK: string;
@@ -15707,6 +15725,9 @@ export declare class Dictionaries {
15707
15725
  NO_REPORT_DATA: string;
15708
15726
  NO_RESULTS: string;
15709
15727
  NO_RESULTS_FOUND: string;
15728
+ NO_SEARCH_RESULTS_HEADER: string;
15729
+ NO_SEARCH_RESULTS_TEXT: string;
15730
+ NO_SEARCH_RESULTS_CONTENT: string;
15710
15731
  NO_RETOUR_POSSIBLE: string;
15711
15732
  NO_RETURNS: string;
15712
15733
  NO_RETURN_WAREHOUSE: string;
@@ -15899,6 +15920,7 @@ export declare class Dictionaries {
15899
15920
  OPEN_SALES_OVERVIEW: string;
15900
15921
  OPEN_SHOPPING_CART: string;
15901
15922
  OPEN_STOCK_DETAILS: string;
15923
+ PERCEPTIBLE_STORAGE: string;
15902
15924
  OPEN_TASK: string;
15903
15925
  OPEN_TEXT: string;
15904
15926
  OPEN_WEBVIEW_FAILED_NO_EXTSOURCE: string;
@@ -16866,6 +16888,8 @@ export declare class Dictionaries {
16866
16888
  RECALCULATE_ALL_PRICES: string;
16867
16889
  RECALCULATE_DELIVERYDATE_FOR_ALL_LINES: string;
16868
16890
  RECALCULATE_DEPOSIT_AMOUNT: string;
16891
+ RECALCULATE_FOR_ALL_LOCATIONS: string;
16892
+ RECALCULATE_FOR_SINGLE_LOCATION: string;
16869
16893
  RECALCULATE_TO_PAY_DOWN: string;
16870
16894
  RECEIPT: string;
16871
16895
  RECEIPT_DETAILS: string;
@@ -17796,6 +17820,7 @@ export declare class Dictionaries {
17796
17820
  SIGN_DOCUMENT: string;
17797
17821
  SIGN_DOCUMENTS: string;
17798
17822
  SIGN_IN: string;
17823
+ SIGN_UP: string;
17799
17824
  SILVER_MEDAL: string;
17800
17825
  SINCE: string;
17801
17826
  SINGLE: string;
@@ -18533,6 +18558,7 @@ export declare class Dictionaries {
18533
18558
  UPDATE_ARTICLE_PRICE: string;
18534
18559
  UPDATE_CONTAINER: string;
18535
18560
  UPDATE_DATE: string;
18561
+ UPDATE_LOCATION_INVENTORY: string;
18536
18562
  UPDATE_SEARCH_INDEXES: string;
18537
18563
  UPDATE_SINGLE_SEARCH_INDEX: string;
18538
18564
  UPDATE_STOCK: string;
@@ -0,0 +1,4 @@
1
+ import { Subject } from 'rxjs';
2
+ export declare class SharedEventService {
3
+ readonly salesOrderNavigation: Subject<string>;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "256.1.5",
3
+ "version": "256.1.6",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
package/public-api.d.ts CHANGED
@@ -31,6 +31,7 @@ export * from './lib/components/task-creator/task-creator.module';
31
31
  export * from './lib/components/role-email-selector/role-email-selector.component';
32
32
  export * from './lib/components/role-email-selector/role-email-selector.module';
33
33
  export * from './lib/service/shared.service';
34
+ export * from './lib/service/shared-event.service';
34
35
  export * from './lib/translation/shared-components-translation.module';
35
36
  export * from './lib/translation/shared-components-dictionary.service';
36
37
  export * from './lib/enum/calendar-view.enum';