@seedtactics/insight-client 16.5.0 → 16.5.1
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/dist/assets/{index-WWzKpVgW.js → index-Dh5wo8Am.js} +67 -67
- package/dist/index.html +1 -1
- package/dist/network/api.d.ts +40 -2
- package/dist/network/api.js +62 -0
- package/package.json +11 -11
package/dist/index.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
</style>
|
|
47
|
-
<script type="module" crossorigin src="/assets/index-
|
|
47
|
+
<script type="module" crossorigin src="/assets/index-Dh5wo8Am.js"></script>
|
|
48
48
|
<link rel="stylesheet" crossorigin href="/assets/index-ZBfg6YlO.css">
|
|
49
49
|
</head>
|
|
50
50
|
<body>
|
package/dist/network/api.d.ts
CHANGED
|
@@ -156,6 +156,7 @@ export declare class FMSInfo implements IFMSInfo {
|
|
|
156
156
|
requireOperatorNamePromptWhenAddingMaterial?: boolean | undefined;
|
|
157
157
|
allowEditJobPlanQuantityFromQueuesPage?: string | undefined;
|
|
158
158
|
allowInvalidateMaterialOnQueuesPage?: boolean | undefined;
|
|
159
|
+
basketName?: string | undefined;
|
|
159
160
|
constructor(data?: IFMSInfo);
|
|
160
161
|
init(_data?: any): void;
|
|
161
162
|
static fromJS(data: any): FMSInfo;
|
|
@@ -187,6 +188,7 @@ export interface IFMSInfo {
|
|
|
187
188
|
requireOperatorNamePromptWhenAddingMaterial?: boolean | undefined;
|
|
188
189
|
allowEditJobPlanQuantityFromQueuesPage?: string | undefined;
|
|
189
190
|
allowInvalidateMaterialOnQueuesPage?: boolean | undefined;
|
|
191
|
+
basketName?: string | undefined;
|
|
190
192
|
}
|
|
191
193
|
export declare enum AddToQueueButton {
|
|
192
194
|
DoNotShow = "DoNotShow",
|
|
@@ -296,7 +298,10 @@ export declare enum LogType {
|
|
|
296
298
|
InvalidateCycle = "InvalidateCycle",
|
|
297
299
|
SwapMaterialOnPallet = "SwapMaterialOnPallet",
|
|
298
300
|
Rebooking = "Rebooking",
|
|
299
|
-
CancelRebooking = "CancelRebooking"
|
|
301
|
+
CancelRebooking = "CancelRebooking",
|
|
302
|
+
BasketLoadUnload = "BasketLoadUnload",
|
|
303
|
+
BasketCycle = "BasketCycle",
|
|
304
|
+
BasketInLocation = "BasketInLocation"
|
|
300
305
|
}
|
|
301
306
|
export declare class ToolUse implements IToolUse {
|
|
302
307
|
tool: string;
|
|
@@ -691,6 +696,9 @@ export declare class CurrentStatus implements ICurrentStatus {
|
|
|
691
696
|
};
|
|
692
697
|
machineLocations?: MachineLocation[] | undefined;
|
|
693
698
|
workorders?: ActiveWorkorder[] | undefined;
|
|
699
|
+
baskets?: {
|
|
700
|
+
[key: string]: BasketStatus;
|
|
701
|
+
} | undefined;
|
|
694
702
|
constructor(data?: ICurrentStatus);
|
|
695
703
|
init(_data?: any): void;
|
|
696
704
|
static fromJS(data: any): CurrentStatus;
|
|
@@ -711,6 +719,9 @@ export interface ICurrentStatus {
|
|
|
711
719
|
};
|
|
712
720
|
machineLocations?: MachineLocation[] | undefined;
|
|
713
721
|
workorders?: ActiveWorkorder[] | undefined;
|
|
722
|
+
baskets?: {
|
|
723
|
+
[key: string]: BasketStatus;
|
|
724
|
+
} | undefined;
|
|
714
725
|
}
|
|
715
726
|
export declare class HistoricJob extends Job implements IHistoricJob {
|
|
716
727
|
scheduleId?: string | undefined;
|
|
@@ -813,6 +824,7 @@ export declare class InProcessMaterial implements IInProcessMaterial {
|
|
|
813
824
|
workorderId?: string | undefined;
|
|
814
825
|
signaledInspections: string[];
|
|
815
826
|
quarantineAfterUnload?: boolean | undefined;
|
|
827
|
+
problem?: string | undefined;
|
|
816
828
|
lastCompletedMachiningRouteStopIndex?: number | undefined;
|
|
817
829
|
location: InProcessMaterialLocation;
|
|
818
830
|
action: InProcessMaterialAction;
|
|
@@ -831,6 +843,7 @@ export interface IInProcessMaterial {
|
|
|
831
843
|
workorderId?: string | undefined;
|
|
832
844
|
signaledInspections: string[];
|
|
833
845
|
quarantineAfterUnload?: boolean | undefined;
|
|
846
|
+
problem?: string | undefined;
|
|
834
847
|
lastCompletedMachiningRouteStopIndex?: number | undefined;
|
|
835
848
|
location: InProcessMaterialLocation;
|
|
836
849
|
action: InProcessMaterialAction;
|
|
@@ -841,6 +854,8 @@ export declare class InProcessMaterialLocation implements IInProcessMaterialLoca
|
|
|
841
854
|
face?: number | undefined;
|
|
842
855
|
currentQueue?: string | undefined;
|
|
843
856
|
queuePosition?: number | undefined;
|
|
857
|
+
basketId?: number | undefined;
|
|
858
|
+
basketSubPosition?: number | undefined;
|
|
844
859
|
constructor(data?: IInProcessMaterialLocation);
|
|
845
860
|
init(_data?: any): void;
|
|
846
861
|
static fromJS(data: any): InProcessMaterialLocation;
|
|
@@ -852,11 +867,14 @@ export interface IInProcessMaterialLocation {
|
|
|
852
867
|
face?: number | undefined;
|
|
853
868
|
currentQueue?: string | undefined;
|
|
854
869
|
queuePosition?: number | undefined;
|
|
870
|
+
basketId?: number | undefined;
|
|
871
|
+
basketSubPosition?: number | undefined;
|
|
855
872
|
}
|
|
856
873
|
export declare enum LocType {
|
|
857
874
|
Free = "Free",
|
|
858
875
|
OnPallet = "OnPallet",
|
|
859
|
-
InQueue = "InQueue"
|
|
876
|
+
InQueue = "InQueue",
|
|
877
|
+
InBasket = "InBasket"
|
|
860
878
|
}
|
|
861
879
|
export declare class InProcessMaterialAction implements IInProcessMaterialAction {
|
|
862
880
|
type: ActionType;
|
|
@@ -864,7 +882,10 @@ export declare class InProcessMaterialAction implements IInProcessMaterialAction
|
|
|
864
882
|
loadOntoFace?: number | undefined;
|
|
865
883
|
processAfterLoad?: number | undefined;
|
|
866
884
|
pathAfterLoad?: number | undefined;
|
|
885
|
+
loadFromBasketId?: number | undefined;
|
|
867
886
|
unloadIntoQueue?: string | undefined;
|
|
887
|
+
unloadToBasketId?: number | undefined;
|
|
888
|
+
unloadToBasketSubPosition?: number | undefined;
|
|
868
889
|
elapsedLoadUnloadTime?: string | undefined;
|
|
869
890
|
program?: string | undefined;
|
|
870
891
|
elapsedMachiningTime?: string | undefined;
|
|
@@ -880,7 +901,10 @@ export interface IInProcessMaterialAction {
|
|
|
880
901
|
loadOntoFace?: number | undefined;
|
|
881
902
|
processAfterLoad?: number | undefined;
|
|
882
903
|
pathAfterLoad?: number | undefined;
|
|
904
|
+
loadFromBasketId?: number | undefined;
|
|
883
905
|
unloadIntoQueue?: string | undefined;
|
|
906
|
+
unloadToBasketId?: number | undefined;
|
|
907
|
+
unloadToBasketSubPosition?: number | undefined;
|
|
884
908
|
elapsedLoadUnloadTime?: string | undefined;
|
|
885
909
|
program?: string | undefined;
|
|
886
910
|
elapsedMachiningTime?: string | undefined;
|
|
@@ -1004,6 +1028,20 @@ export declare enum WorkorderSerialCloseout {
|
|
|
1004
1028
|
ClosedOut = "ClosedOut",
|
|
1005
1029
|
CloseOutFailed = "CloseOutFailed"
|
|
1006
1030
|
}
|
|
1031
|
+
export declare class BasketStatus implements IBasketStatus {
|
|
1032
|
+
basketId: number;
|
|
1033
|
+
locationName: string;
|
|
1034
|
+
locationPosition?: number | undefined;
|
|
1035
|
+
constructor(data?: IBasketStatus);
|
|
1036
|
+
init(_data?: any): void;
|
|
1037
|
+
static fromJS(data: any): BasketStatus;
|
|
1038
|
+
toJSON(data?: any): any;
|
|
1039
|
+
}
|
|
1040
|
+
export interface IBasketStatus {
|
|
1041
|
+
basketId: number;
|
|
1042
|
+
locationName: string;
|
|
1043
|
+
locationPosition?: number | undefined;
|
|
1044
|
+
}
|
|
1007
1045
|
export declare class EditMaterialInLogEvents implements IEditMaterialInLogEvents {
|
|
1008
1046
|
oldMaterialID: number;
|
|
1009
1047
|
newMaterialID: number;
|
package/dist/network/api.js
CHANGED
|
@@ -2279,6 +2279,7 @@ export class FMSInfo {
|
|
|
2279
2279
|
this.requireOperatorNamePromptWhenAddingMaterial = _data["RequireOperatorNamePromptWhenAddingMaterial"];
|
|
2280
2280
|
this.allowEditJobPlanQuantityFromQueuesPage = _data["AllowEditJobPlanQuantityFromQueuesPage"];
|
|
2281
2281
|
this.allowInvalidateMaterialOnQueuesPage = _data["AllowInvalidateMaterialOnQueuesPage"];
|
|
2282
|
+
this.basketName = _data["BasketName"];
|
|
2282
2283
|
}
|
|
2283
2284
|
}
|
|
2284
2285
|
static fromJS(data) {
|
|
@@ -2322,6 +2323,7 @@ export class FMSInfo {
|
|
|
2322
2323
|
data["RequireOperatorNamePromptWhenAddingMaterial"] = this.requireOperatorNamePromptWhenAddingMaterial;
|
|
2323
2324
|
data["AllowEditJobPlanQuantityFromQueuesPage"] = this.allowEditJobPlanQuantityFromQueuesPage;
|
|
2324
2325
|
data["AllowInvalidateMaterialOnQueuesPage"] = this.allowInvalidateMaterialOnQueuesPage;
|
|
2326
|
+
data["BasketName"] = this.basketName;
|
|
2325
2327
|
return data;
|
|
2326
2328
|
}
|
|
2327
2329
|
}
|
|
@@ -2511,6 +2513,9 @@ export var LogType;
|
|
|
2511
2513
|
LogType["SwapMaterialOnPallet"] = "SwapMaterialOnPallet";
|
|
2512
2514
|
LogType["Rebooking"] = "Rebooking";
|
|
2513
2515
|
LogType["CancelRebooking"] = "CancelRebooking";
|
|
2516
|
+
LogType["BasketLoadUnload"] = "BasketLoadUnload";
|
|
2517
|
+
LogType["BasketCycle"] = "BasketCycle";
|
|
2518
|
+
LogType["BasketInLocation"] = "BasketInLocation";
|
|
2514
2519
|
})(LogType || (LogType = {}));
|
|
2515
2520
|
export class ToolUse {
|
|
2516
2521
|
constructor(data) {
|
|
@@ -3454,6 +3459,13 @@ export class CurrentStatus {
|
|
|
3454
3459
|
for (let item of _data["Workorders"])
|
|
3455
3460
|
this.workorders.push(ActiveWorkorder.fromJS(item));
|
|
3456
3461
|
}
|
|
3462
|
+
if (_data["Baskets"]) {
|
|
3463
|
+
this.baskets = {};
|
|
3464
|
+
for (let key in _data["Baskets"]) {
|
|
3465
|
+
if (_data["Baskets"].hasOwnProperty(key))
|
|
3466
|
+
this.baskets[key] = _data["Baskets"][key] ? BasketStatus.fromJS(_data["Baskets"][key]) : new BasketStatus();
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3457
3469
|
}
|
|
3458
3470
|
}
|
|
3459
3471
|
static fromJS(data) {
|
|
@@ -3506,6 +3518,13 @@ export class CurrentStatus {
|
|
|
3506
3518
|
for (let item of this.workorders)
|
|
3507
3519
|
data["Workorders"].push(item ? item.toJSON() : undefined);
|
|
3508
3520
|
}
|
|
3521
|
+
if (this.baskets) {
|
|
3522
|
+
data["Baskets"] = {};
|
|
3523
|
+
for (let key in this.baskets) {
|
|
3524
|
+
if (this.baskets.hasOwnProperty(key))
|
|
3525
|
+
data["Baskets"][key] = this.baskets[key] ? this.baskets[key].toJSON() : undefined;
|
|
3526
|
+
}
|
|
3527
|
+
}
|
|
3509
3528
|
return data;
|
|
3510
3529
|
}
|
|
3511
3530
|
}
|
|
@@ -3747,6 +3766,7 @@ export class InProcessMaterial {
|
|
|
3747
3766
|
this.signaledInspections.push(item);
|
|
3748
3767
|
}
|
|
3749
3768
|
this.quarantineAfterUnload = _data["QuarantineAfterUnload"];
|
|
3769
|
+
this.problem = _data["Problem"];
|
|
3750
3770
|
this.lastCompletedMachiningRouteStopIndex = _data["LastCompletedMachiningRouteStopIndex"];
|
|
3751
3771
|
this.location = _data["Location"] ? InProcessMaterialLocation.fromJS(_data["Location"]) : new InProcessMaterialLocation();
|
|
3752
3772
|
this.action = _data["Action"] ? InProcessMaterialAction.fromJS(_data["Action"]) : new InProcessMaterialAction();
|
|
@@ -3773,6 +3793,7 @@ export class InProcessMaterial {
|
|
|
3773
3793
|
data["SignaledInspections"].push(item);
|
|
3774
3794
|
}
|
|
3775
3795
|
data["QuarantineAfterUnload"] = this.quarantineAfterUnload;
|
|
3796
|
+
data["Problem"] = this.problem;
|
|
3776
3797
|
data["LastCompletedMachiningRouteStopIndex"] = this.lastCompletedMachiningRouteStopIndex;
|
|
3777
3798
|
data["Location"] = this.location ? this.location.toJSON() : undefined;
|
|
3778
3799
|
data["Action"] = this.action ? this.action.toJSON() : undefined;
|
|
@@ -3795,6 +3816,8 @@ export class InProcessMaterialLocation {
|
|
|
3795
3816
|
this.face = _data["Face"];
|
|
3796
3817
|
this.currentQueue = _data["CurrentQueue"];
|
|
3797
3818
|
this.queuePosition = _data["QueuePosition"];
|
|
3819
|
+
this.basketId = _data["BasketId"];
|
|
3820
|
+
this.basketSubPosition = _data["BasketSubPosition"];
|
|
3798
3821
|
}
|
|
3799
3822
|
}
|
|
3800
3823
|
static fromJS(data) {
|
|
@@ -3810,6 +3833,8 @@ export class InProcessMaterialLocation {
|
|
|
3810
3833
|
data["Face"] = this.face;
|
|
3811
3834
|
data["CurrentQueue"] = this.currentQueue;
|
|
3812
3835
|
data["QueuePosition"] = this.queuePosition;
|
|
3836
|
+
data["BasketId"] = this.basketId;
|
|
3837
|
+
data["BasketSubPosition"] = this.basketSubPosition;
|
|
3813
3838
|
return data;
|
|
3814
3839
|
}
|
|
3815
3840
|
}
|
|
@@ -3818,6 +3843,7 @@ export var LocType;
|
|
|
3818
3843
|
LocType["Free"] = "Free";
|
|
3819
3844
|
LocType["OnPallet"] = "OnPallet";
|
|
3820
3845
|
LocType["InQueue"] = "InQueue";
|
|
3846
|
+
LocType["InBasket"] = "InBasket";
|
|
3821
3847
|
})(LocType || (LocType = {}));
|
|
3822
3848
|
export class InProcessMaterialAction {
|
|
3823
3849
|
constructor(data) {
|
|
@@ -3835,7 +3861,10 @@ export class InProcessMaterialAction {
|
|
|
3835
3861
|
this.loadOntoFace = _data["LoadOntoFace"];
|
|
3836
3862
|
this.processAfterLoad = _data["ProcessAfterLoad"];
|
|
3837
3863
|
this.pathAfterLoad = _data["PathAfterLoad"];
|
|
3864
|
+
this.loadFromBasketId = _data["LoadFromBasketId"];
|
|
3838
3865
|
this.unloadIntoQueue = _data["UnloadIntoQueue"];
|
|
3866
|
+
this.unloadToBasketId = _data["UnloadToBasketId"];
|
|
3867
|
+
this.unloadToBasketSubPosition = _data["UnloadToBasketSubPosition"];
|
|
3839
3868
|
this.elapsedLoadUnloadTime = _data["ElapsedLoadUnloadTime"];
|
|
3840
3869
|
this.program = _data["Program"];
|
|
3841
3870
|
this.elapsedMachiningTime = _data["ElapsedMachiningTime"];
|
|
@@ -3855,7 +3884,10 @@ export class InProcessMaterialAction {
|
|
|
3855
3884
|
data["LoadOntoFace"] = this.loadOntoFace;
|
|
3856
3885
|
data["ProcessAfterLoad"] = this.processAfterLoad;
|
|
3857
3886
|
data["PathAfterLoad"] = this.pathAfterLoad;
|
|
3887
|
+
data["LoadFromBasketId"] = this.loadFromBasketId;
|
|
3858
3888
|
data["UnloadIntoQueue"] = this.unloadIntoQueue;
|
|
3889
|
+
data["UnloadToBasketId"] = this.unloadToBasketId;
|
|
3890
|
+
data["UnloadToBasketSubPosition"] = this.unloadToBasketSubPosition;
|
|
3859
3891
|
data["ElapsedLoadUnloadTime"] = this.elapsedLoadUnloadTime;
|
|
3860
3892
|
data["Program"] = this.program;
|
|
3861
3893
|
data["ElapsedMachiningTime"] = this.elapsedMachiningTime;
|
|
@@ -4111,6 +4143,36 @@ export var WorkorderSerialCloseout;
|
|
|
4111
4143
|
WorkorderSerialCloseout["ClosedOut"] = "ClosedOut";
|
|
4112
4144
|
WorkorderSerialCloseout["CloseOutFailed"] = "CloseOutFailed";
|
|
4113
4145
|
})(WorkorderSerialCloseout || (WorkorderSerialCloseout = {}));
|
|
4146
|
+
export class BasketStatus {
|
|
4147
|
+
constructor(data) {
|
|
4148
|
+
if (data) {
|
|
4149
|
+
for (var property in data) {
|
|
4150
|
+
if (data.hasOwnProperty(property))
|
|
4151
|
+
this[property] = data[property];
|
|
4152
|
+
}
|
|
4153
|
+
}
|
|
4154
|
+
}
|
|
4155
|
+
init(_data) {
|
|
4156
|
+
if (_data) {
|
|
4157
|
+
this.basketId = _data["BasketId"];
|
|
4158
|
+
this.locationName = _data["LocationName"];
|
|
4159
|
+
this.locationPosition = _data["LocationPosition"];
|
|
4160
|
+
}
|
|
4161
|
+
}
|
|
4162
|
+
static fromJS(data) {
|
|
4163
|
+
data = typeof data === 'object' ? data : {};
|
|
4164
|
+
let result = new BasketStatus();
|
|
4165
|
+
result.init(data);
|
|
4166
|
+
return result;
|
|
4167
|
+
}
|
|
4168
|
+
toJSON(data) {
|
|
4169
|
+
data = typeof data === 'object' ? data : {};
|
|
4170
|
+
data["BasketId"] = this.basketId;
|
|
4171
|
+
data["LocationName"] = this.locationName;
|
|
4172
|
+
data["LocationPosition"] = this.locationPosition;
|
|
4173
|
+
return data;
|
|
4174
|
+
}
|
|
4175
|
+
}
|
|
4114
4176
|
export class EditMaterialInLogEvents {
|
|
4115
4177
|
constructor(data) {
|
|
4116
4178
|
if (data) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seedtactics/insight-client",
|
|
3
|
-
"version": "16.5.
|
|
3
|
+
"version": "16.5.1",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"date-fns": "^4.1.0",
|
|
42
42
|
"highlight.js": "^11.11.1",
|
|
43
43
|
"jdenticon": "^3.3.0",
|
|
44
|
-
"jotai": "^2.17.
|
|
44
|
+
"jotai": "^2.17.1",
|
|
45
45
|
"jotai-family": "^1.0.1",
|
|
46
46
|
"jsbarcode": "^3.12.3",
|
|
47
47
|
"oidc-client-ts": "^3.4.1",
|
|
@@ -55,26 +55,26 @@
|
|
|
55
55
|
"urlpattern-polyfill": "^10.1.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@eslint/js": "^
|
|
59
|
-
"@faker-js/faker": "^10.
|
|
58
|
+
"@eslint/js": "^10.0.1",
|
|
59
|
+
"@faker-js/faker": "^10.3.0",
|
|
60
60
|
"@types/d3-interpolate-path": "^2.0.3",
|
|
61
61
|
"@types/d3-sankey": "^0.12.5",
|
|
62
62
|
"@types/d3-scale": "^4.0.9",
|
|
63
63
|
"@types/d3-shape": "^3.1.8",
|
|
64
|
-
"@types/node": "^25.
|
|
65
|
-
"@types/react": "^19.2.
|
|
64
|
+
"@types/node": "^25.2.3",
|
|
65
|
+
"@types/react": "^19.2.14",
|
|
66
66
|
"@types/react-dom": "^19.2.3",
|
|
67
|
-
"@vitejs/plugin-react": "^5.1.
|
|
68
|
-
"eslint": "^
|
|
67
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
68
|
+
"eslint": "^10.0.0",
|
|
69
69
|
"eslint-config-prettier": "^10.1.8",
|
|
70
70
|
"eslint-plugin-react": "^7.37.5",
|
|
71
71
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
72
|
-
"eslint-plugin-react-refresh": "^0.
|
|
73
|
-
"jsdom": "^
|
|
72
|
+
"eslint-plugin-react-refresh": "^0.5.0",
|
|
73
|
+
"jsdom": "^28.0.0",
|
|
74
74
|
"nswag": "^14.6.3",
|
|
75
75
|
"prettier": "^3.8.1",
|
|
76
76
|
"typescript": "^5.9.3",
|
|
77
|
-
"typescript-eslint": "^8.
|
|
77
|
+
"typescript-eslint": "^8.55.0",
|
|
78
78
|
"vite": "^7.3.1",
|
|
79
79
|
"vitest": "^4.0.18"
|
|
80
80
|
},
|