@colijnit/sharedcomponents 262.1.4 → 262.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.
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[];
@@ -970,7 +980,7 @@ declare class StockLocationPopupComponent {
970
980
  stockBelow: boolean;
971
981
  validationMessage: string;
972
982
  constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
973
- statusForId(id: number): 0 | StockStatus;
983
+ statusForId(id: number): StockStatus | 0;
974
984
  handleStockStatusChange(status: StockStatus): void;
975
985
  handleStockStatusRemarkChange(remark: string): void;
976
986
  amountInStockChanged(data: any): void;
@@ -978,7 +988,7 @@ declare class StockLocationPopupComponent {
978
988
  handleOkClick(): void;
979
989
  togglePopup(): void;
980
990
  getStockLocations(): void;
981
- locationForNumber(number: string): "" | StockLocation;
991
+ locationForNumber(number: string): StockLocation | "";
982
992
  locationChanged(event: StockLocation): void;
983
993
  handleStockChange(): void;
984
994
  newDate(): Date;
@@ -3390,6 +3400,8 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3390
3400
  userGroupId: number;
3391
3401
  relationId: number;
3392
3402
  branchNo: string;
3403
+ draggableActivities: boolean;
3404
+ taskView: boolean;
3393
3405
  componentActivitiesMethod: OperationCallbackSimpleFunction;
3394
3406
  setHasPausedNotificationsForWorkflowProcessOperation: OperationCallbackFunctionWithValidation;
3395
3407
  openLinkClick: EventEmitter<Activity>;
@@ -3401,6 +3413,7 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3401
3413
  formCreated: EventEmitter<void>;
3402
3414
  refreshRequested: EventEmitter<void>;
3403
3415
  showUsergroupActivitiesChanged: EventEmitter<void>;
3416
+ activityDragStarted: EventEmitter<ActivityViewModel>;
3404
3417
  activeTab: PersonalActivityTabEnum;
3405
3418
  activityList: ActivityViewModel[];
3406
3419
  trackByFn(index: number, vm: ActivityViewModel): any;
@@ -3438,8 +3451,9 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3438
3451
  openFirstTask(): void;
3439
3452
  tryOpenTaskByTaskId(taskId: number): boolean;
3440
3453
  hasTaskActivity(activities: any[]): boolean;
3454
+ handleDragStart(dragEvent: DragEvent, activity: ActivityViewModel): void;
3441
3455
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentActivityListComponent, never>;
3442
- static ɵcmp: i0.ɵɵComponentDeclaration<ComponentActivityListComponent, "co-component-activity-list", never, { "table": { "alias": "table"; "required": false; }; "key": { "alias": "key"; "required": false; }; "showActivityHeader": { "alias": "showActivityHeader"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "noFreeTasks": { "alias": "noFreeTasks"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "userGroupId": { "alias": "userGroupId"; "required": false; }; "relationId": { "alias": "relationId"; "required": false; }; "branchNo": { "alias": "branchNo"; "required": false; }; "componentActivitiesMethod": { "alias": "componentActivitiesMethod"; "required": false; }; "setHasPausedNotificationsForWorkflowProcessOperation": { "alias": "setHasPausedNotificationsForWorkflowProcessOperation"; "required": false; }; "activitiesList": { "alias": "activitiesList"; "required": false; }; }, { "openLinkClick": "openLinkClick"; "amountActivityChanged": "amountActivityChanged"; "linkClicked": "linkClicked"; "formCreated": "formCreated"; "refreshRequested": "refreshRequested"; "showUsergroupActivitiesChanged": "showUsergroupActivitiesChanged"; }, never, never, false, never>;
3456
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComponentActivityListComponent, "co-component-activity-list", never, { "table": { "alias": "table"; "required": false; }; "key": { "alias": "key"; "required": false; }; "showActivityHeader": { "alias": "showActivityHeader"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "noFreeTasks": { "alias": "noFreeTasks"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "userGroupId": { "alias": "userGroupId"; "required": false; }; "relationId": { "alias": "relationId"; "required": false; }; "branchNo": { "alias": "branchNo"; "required": false; }; "draggableActivities": { "alias": "draggableActivities"; "required": false; }; "taskView": { "alias": "taskView"; "required": false; }; "componentActivitiesMethod": { "alias": "componentActivitiesMethod"; "required": false; }; "setHasPausedNotificationsForWorkflowProcessOperation": { "alias": "setHasPausedNotificationsForWorkflowProcessOperation"; "required": false; }; "activitiesList": { "alias": "activitiesList"; "required": false; }; }, { "openLinkClick": "openLinkClick"; "amountActivityChanged": "amountActivityChanged"; "linkClicked": "linkClicked"; "formCreated": "formCreated"; "refreshRequested": "refreshRequested"; "showUsergroupActivitiesChanged": "showUsergroupActivitiesChanged"; "activityDragStarted": "activityDragStarted"; }, never, never, false, never>;
3443
3457
  }
3444
3458
 
3445
3459
  declare class PersonalActivityOverviewComponent extends BaseActivityOverviewComponent {
@@ -0,0 +1,11 @@
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
+ }
@@ -0,0 +1,23 @@
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
+
@@ -0,0 +1,57 @@
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.4",
3
+ "version": "262.1.6",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",