@colijnit/sharedcomponents 262.1.5 → 262.1.7

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/index.d.ts CHANGED
@@ -702,7 +702,7 @@ declare class StockTabComponent {
702
702
  readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
703
703
  articleStockInformation: ArticleStock$1[];
704
704
  locationClicked: EventEmitter<string>;
705
- onLocationClick(data: ArticleStock$1): void;
705
+ onLocationClick(data: any): void;
706
706
  static ɵfac: i0.ɵɵFactoryDeclaration<StockTabComponent, never>;
707
707
  static ɵcmp: i0.ɵɵComponentDeclaration<StockTabComponent, "co-stock-tab", never, { "articleStockInformation": { "alias": "articleStockInformation"; "required": false; }; }, { "locationClicked": "locationClicked"; }, never, never, false, never>;
708
708
  }
@@ -720,7 +720,11 @@ declare class OrderTabComponent extends BaseStockComponent {
720
720
  private _stockService;
721
721
  private _changeDetector;
722
722
  readonly icons: typeof Icon;
723
+ protected readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
723
724
  stockLocations: StockLocation[];
725
+ hasSerie: boolean;
726
+ hasBatch: boolean;
727
+ warehouseNo: number;
724
728
  showStockTransfer: boolean;
725
729
  allWarehouses: any[];
726
730
  articleFlat: ArticleFlat;
@@ -745,7 +749,7 @@ declare class OrderTabComponent extends BaseStockComponent {
745
749
  handleTransactionNavigation(transNr: string): void;
746
750
  getGridData(): void;
747
751
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderTabComponent, never>;
748
- static ɵcmp: i0.ɵɵComponentDeclaration<OrderTabComponent, "co-order-tab", never, { "showStockTransfer": { "alias": "showStockTransfer"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; }, { "locationClicked": "locationClicked"; "transferIconClicked": "transferIconClicked"; "sendMethodDialogClicked": "sendMethodDialogClicked"; "handleStickerClicked": "handleStickerClicked"; "showStockTransferChange": "showStockTransferChange"; "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
752
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderTabComponent, "co-order-tab", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; "showStockTransfer": { "alias": "showStockTransfer"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; }, { "locationClicked": "locationClicked"; "transferIconClicked": "transferIconClicked"; "sendMethodDialogClicked": "sendMethodDialogClicked"; "handleStickerClicked": "handleStickerClicked"; "showStockTransferChange": "showStockTransferChange"; "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
749
753
  }
750
754
 
751
755
  interface Tab {
@@ -795,11 +799,16 @@ declare class OrderStockTabComponent extends BaseStockComponent {
795
799
  iconCacheService: IconCacheService;
796
800
  private _stockService;
797
801
  readonly icons: typeof Icon;
802
+ warehouseNo: number;
798
803
  data: ArticleTransaction$1[];
804
+ handleTransactionClick: EventEmitter<any>;
799
805
  constructor(iconCacheService: IconCacheService, _stockService: StockService);
806
+ handleTransactionNavigationClick(event: Event, transNr: string): void;
807
+ handleTransactionNavigation(transNr: string): void;
800
808
  protected getData(): Promise<void>;
809
+ protected readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
801
810
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderStockTabComponent, never>;
802
- static ɵcmp: i0.ɵɵComponentDeclaration<OrderStockTabComponent, "co-order-stock-tab", never, {}, {}, never, never, false, never>;
811
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderStockTabComponent, "co-order-stock-tab", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; }, { "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
803
812
  }
804
813
 
805
814
  declare class StockLocationComponent extends BaseStockComponent implements OnInit, OnDestroy {
@@ -935,6 +944,7 @@ declare class StockPrognoseComponent extends BaseStockComponent {
935
944
  iconCacheService: IconCacheService;
936
945
  private _stockService;
937
946
  readonly icons: typeof Icon;
947
+ protected readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
938
948
  set warehouseNo(value: number);
939
949
  get warehouseNo(): number;
940
950
  data: StockForecast[];
@@ -2948,6 +2958,7 @@ declare class ActivityListComponent implements OnInit, ScreenConfigAdapterCompon
2948
2958
  getRelationKind(author: RelationSmallObject): RelationKind;
2949
2959
  getDateString(date: Date): string;
2950
2960
  getActivityIcon(activity: Activity): Icon;
2961
+ getActivityClass(activity: Activity): string;
2951
2962
  showTriggers(activity: Activity): boolean;
2952
2963
  showAttachments(activity: Activity): boolean;
2953
2964
  showEmailHistory(activity: Activity): boolean;
@@ -3362,11 +3373,14 @@ declare class ComponentActivityOverviewComponent extends BaseActivityOverviewCom
3362
3373
  taskIcon: Icon;
3363
3374
  branchNo: string;
3364
3375
  showClass(): boolean;
3376
+ handleDocumentClick(): void;
3377
+ taskBoxActive: boolean;
3365
3378
  private activityColorMap;
3366
3379
  constructor(iconCacheService: IconCacheService, dialogService: CoreDialogService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService);
3367
3380
  getActivityIcon(activity: Activity): Icon;
3368
3381
  getRandomColor(): string;
3369
3382
  getColorForActivity(activity: Activity): string;
3383
+ handleOpenTasks(event: MouseEvent): void;
3370
3384
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentActivityOverviewComponent, never>;
3371
3385
  static ɵcmp: i0.ɵɵComponentDeclaration<ComponentActivityOverviewComponent, "co-component-activity-overview", never, { "remarkIcon": { "alias": "remarkIcon"; "required": false; }; "workIcon": { "alias": "workIcon"; "required": false; }; "statusIcon": { "alias": "statusIcon"; "required": false; }; "taskIcon": { "alias": "taskIcon"; "required": false; }; "branchNo": { "alias": "branchNo"; "required": false; }; }, {}, never, never, false, never>;
3372
3386
  }
@@ -3422,14 +3436,15 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3422
3436
  constructor(sharedService: SharedService);
3423
3437
  ngOnInit(): Promise<void>;
3424
3438
  ngOnDestroy(): void;
3439
+ refreshActivities(): Promise<void>;
3425
3440
  getActivities(): Promise<void>;
3426
3441
  set activitiesList(allActivities: Activity[]);
3427
3442
  get activitiesList(): Activity[];
3428
3443
  getDelegatedActivities(): Promise<void>;
3429
3444
  showUsergroupActivitiesChange(): void;
3430
- handleTriggerFired(activity: Activity): void;
3431
- handleGenericTriggerFired(activity: Activity): void;
3432
- handleFormTriggerFired(): void;
3445
+ handleTriggerFired(activity: Activity): Promise<void>;
3446
+ handleGenericTriggerFired(activity: Activity): Promise<void>;
3447
+ handleFormTriggerFired(): Promise<void>;
3433
3448
  handleFormCreation(): void;
3434
3449
  handleChangedActivity(idx: number, activity: Activity): void;
3435
3450
  deleteActivity(activity: Activity): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.5",
3
+ "version": "262.1.7",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -0,0 +1,3 @@
1
+ {
2
+ "routes": {}
3
+ }
@@ -1,11 +0,0 @@
1
- #search-preset-overview:not(.is-mobile)::ng-deep.co-dialog-wrapper::ng-deep {
2
- width: 600px;
3
- min-height: 200px;
4
- max-height: 500px;
5
-
6
- .header {
7
- padding: 1em;
8
- font-size: 14px;
9
- font-weight: bold;
10
- }
11
- }
@@ -1,23 +0,0 @@
1
- #preset-save-dialog:not(.is-mobile) .co-dialog-wrapper {
2
- width: 400px;
3
- min-height: 200px;
4
- max-height: 500px;
5
-
6
- .save-dialog-contents {
7
- width: 100%;
8
- display: flex;
9
- flex-direction: column;
10
- row-gap: 10px;
11
- padding: 10px;
12
-
13
- .co-input-text {
14
- width: 100%;
15
- }
16
-
17
- .co-list-of-values {
18
- width: 100%;
19
- }
20
- }
21
- }
22
-
23
-
@@ -1,57 +0,0 @@
1
- :host {
2
- width: 100%;
3
- padding: 2px;
4
- min-height: 30px;
5
- display: flex;
6
- .preset-button {
7
- display: block;
8
- }
9
- .pinned-presets-row {
10
- width: 100%;
11
- display: flex;
12
- flex-direction: row;
13
- column-gap: 5px;
14
- padding: 10px 10px 10px 20px;
15
- justify-content: flex-start;
16
- flex-wrap: wrap;
17
- }
18
- .presets-wrapper {
19
- display: flex;
20
- align-items: center;
21
- flex-wrap: wrap;
22
- gap: 5px
23
- }
24
- .presets {
25
- height: 16px;
26
- font-size: 10px;
27
- color: #000000;
28
- background: #f5f5fa;
29
- border-radius: 5px;
30
- padding: 2px 7px;
31
- user-select: none;
32
-
33
- &.active {
34
- color: #FFFFFF;
35
- background: red;
36
- }
37
- }
38
-
39
- .show-all-button {
40
- height: 16px;
41
- font-size: 10px;
42
- color: #000000;
43
- display: flex;
44
- align-items: center;
45
- background: #FFFFFF;
46
- border: 1px solid;
47
- border-radius: 5px;
48
- padding: 2px 7px;
49
- cursor: pointer;
50
-
51
- &:hover {
52
- background: #1A73E8;
53
- color: #FFF;
54
- filter: none;
55
- }
56
- }
57
- }