@kengic/vue 0.31.2 → 0.31.3
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/kengic-vue.js +167 -160
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.d.ts +1 -1
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.d.ts +68 -42
- package/package.json +2 -1
package/dist/kengic-vue.js
CHANGED
|
@@ -167980,7 +167980,7 @@ function _interopRequireDefault(oe) {
|
|
|
167980
167980
|
return oe && oe.__esModule ? oe : { default: oe };
|
|
167981
167981
|
}
|
|
167982
167982
|
default_1 = zhTW.default = _zhCHT.default;
|
|
167983
|
-
const version = "0.31.
|
|
167983
|
+
const version = "0.31.3", cs_CZ$1 = {}, en$2 = {
|
|
167984
167984
|
"kg.KgAppSelect.businessManager": "Business Manager",
|
|
167985
167985
|
"kg.KgAppSelect.dataManager": "Data Manager",
|
|
167986
167986
|
"kg.KgAppSelect.sys": "System Config",
|
|
@@ -206644,39 +206644,7 @@ const screenful = screenfull, getProps$u = () => ({
|
|
|
206644
206644
|
})])]);
|
|
206645
206645
|
};
|
|
206646
206646
|
}
|
|
206647
|
-
}), KgCircularShuttleMonitor$1 = ""
|
|
206648
|
-
function useKgCircularShuttleMonitor() {
|
|
206649
|
-
const oe = useKgCircularShuttleMonitorStore(pinia);
|
|
206650
|
-
return new Proxy(
|
|
206651
|
-
{
|
|
206652
|
-
$Canvas$popMapData() {
|
|
206653
|
-
if (oe.$Canvas$getMapDataList.length === 0)
|
|
206654
|
-
return null;
|
|
206655
|
-
const ae = oe.$Canvas$getMapDataList[0];
|
|
206656
|
-
return oe.$Canvas$setMapDataList(without$1(oe.$Canvas$getMapDataList, ae)), ae;
|
|
206657
|
-
},
|
|
206658
|
-
$Canvas$popStatusData() {
|
|
206659
|
-
if (oe.$Canvas$getStatusDataList.length === 0)
|
|
206660
|
-
return null;
|
|
206661
|
-
const ae = oe.$Canvas$getStatusDataList[0];
|
|
206662
|
-
return oe.$Canvas$setStatusDataList(without$1(oe.$Canvas$getStatusDataList, ae)), ae;
|
|
206663
|
-
},
|
|
206664
|
-
graph: null,
|
|
206665
|
-
setProps: oe.setProps,
|
|
206666
|
-
store: oe
|
|
206667
|
-
},
|
|
206668
|
-
{
|
|
206669
|
-
get(ae, ie) {
|
|
206670
|
-
switch (ie) {
|
|
206671
|
-
case "graph":
|
|
206672
|
-
return oe.getGraph;
|
|
206673
|
-
}
|
|
206674
|
-
return Reflect.get(ae, ie);
|
|
206675
|
-
}
|
|
206676
|
-
}
|
|
206677
|
-
);
|
|
206678
|
-
}
|
|
206679
|
-
const NODE_KEY$1 = {
|
|
206647
|
+
}), KgCircularShuttleMonitor$1 = "", NODE_KEY$1 = {
|
|
206680
206648
|
AISLE: "AISLE-",
|
|
206681
206649
|
AISLE__UI__TEXT: "AISLE__UI__TEXT-",
|
|
206682
206650
|
PATH: "PATH-",
|
|
@@ -207357,7 +207325,7 @@ function useDraw$1() {
|
|
|
207357
207325
|
if ((Ai == null ? void 0 : Ai.type) === "MAP") {
|
|
207358
207326
|
Ii.clear();
|
|
207359
207327
|
const ki = oe.$Canvas$popMapData();
|
|
207360
|
-
ie.value = 0, ue.value = 0, ea.value = 0, ta.value = 0, na.value = 0, ra.value = 0, oe.store
|
|
207328
|
+
ie.value = 0, ue.value = 0, ea.value = 0, ta.value = 0, na.value = 0, ra.value = 0, oe.store.set$Canvas$CurrentStationList([]), oe.store.set$Canvas$CurrentRgvList([]), Ma(ki), Va(ki);
|
|
207361
207329
|
} else {
|
|
207362
207330
|
const ki = oe.$Canvas$popStatusData();
|
|
207363
207331
|
La(ki), Fa(), mi(ki);
|
|
@@ -207423,96 +207391,99 @@ const TAB_KEY = {
|
|
|
207423
207391
|
"#722ed1"
|
|
207424
207392
|
], useKgCircularShuttleMonitorStore = defineStore("KgCircularShuttleMonitor", {
|
|
207425
207393
|
actions: {
|
|
207426
|
-
$
|
|
207394
|
+
delete$Tab$Rgv(oe) {
|
|
207395
|
+
if (oe) {
|
|
207396
|
+
const ae = this.$Tab$rgvList.find((ie) => ie.rgvNo === oe.rgvNo);
|
|
207397
|
+
if (ae && (this.$Tab$rgvList = without$1(this.$Tab$rgvList, ae)), this.$Tab$activeKey === oe.rgvNo) {
|
|
207398
|
+
this.set$Tab$ActiveKey(TAB_KEY.RGV_SUMMARY);
|
|
207399
|
+
const ie = useDraw$1();
|
|
207400
|
+
this.set$Canvas$CurrentStationList([]), this.set$Canvas$CurrentRgvList([]), ie.onSelectChange();
|
|
207401
|
+
}
|
|
207402
|
+
}
|
|
207403
|
+
},
|
|
207404
|
+
insert$Tab$RgvList(oe) {
|
|
207405
|
+
if (oe && oe.length > 0) {
|
|
207406
|
+
for (let ae of oe)
|
|
207407
|
+
this.$Tab$rgvList.find((ie) => ie.rgvNo === ae.rgvNo) || (this.$Tab$rgvList = [...this.$Tab$rgvList, cloneDeep(ae)]);
|
|
207408
|
+
this.set$Tab$ActiveKey(oe[0].rgvNo);
|
|
207409
|
+
} else
|
|
207410
|
+
this.$Tab$activeKey !== TAB_KEY.RGV_SUMMARY && this.$Tab$activeKey !== TAB_KEY.TASK_SUMMARY && this.$Tab$activeKey !== TAB_KEY.LOG && this.set$Tab$ActiveKey(TAB_KEY.RGV_SUMMARY);
|
|
207411
|
+
},
|
|
207412
|
+
push$Canvas$MapDataList(oe) {
|
|
207413
|
+
oe && this.$Canvas$mapDataList.push(oe);
|
|
207414
|
+
},
|
|
207415
|
+
push$Canvas$StatusDataList(oe) {
|
|
207416
|
+
oe && this.$Canvas$statusDataList.push(oe);
|
|
207417
|
+
},
|
|
207418
|
+
set$AreaSelect$DataList(oe) {
|
|
207419
|
+
this.$AreaSelect$DataList$ = oe != null ? oe : [];
|
|
207420
|
+
},
|
|
207421
|
+
set$AreaSelect$IsRequesting(oe) {
|
|
207427
207422
|
this.$AreaSelect$isRequesting$ = oe != null ? oe : !1;
|
|
207428
207423
|
},
|
|
207429
|
-
$AreaSelect$
|
|
207430
|
-
this.$AreaSelect$
|
|
207424
|
+
set$AreaSelect$Value(oe) {
|
|
207425
|
+
this.$AreaSelect$Value$ = oe != null ? oe : null;
|
|
207431
207426
|
},
|
|
207432
|
-
$Canvas$
|
|
207427
|
+
set$Canvas$CurrentRgvList(oe) {
|
|
207428
|
+
var ae;
|
|
207429
|
+
this.$Canvas$currentRgvList = (ae = toRaw(oe)) != null ? ae : [];
|
|
207430
|
+
},
|
|
207431
|
+
set$Canvas$CurrentStationList(oe) {
|
|
207432
|
+
var ae;
|
|
207433
|
+
this.$Canvas$currentStationList = (ae = toRaw(oe)) != null ? ae : [];
|
|
207434
|
+
},
|
|
207435
|
+
set$Canvas$MapData(oe) {
|
|
207436
|
+
this.$Canvas$mapData = oe != null ? oe : null;
|
|
207437
|
+
},
|
|
207438
|
+
set$Canvas$MapDataList(oe) {
|
|
207439
|
+
this.$Canvas$mapDataList = oe != null ? oe : [];
|
|
207440
|
+
},
|
|
207441
|
+
set$Canvas$MapIsRequesting(oe) {
|
|
207442
|
+
this.$Canvas$mapIsRequesting = oe != null ? oe : !1;
|
|
207443
|
+
},
|
|
207444
|
+
set$Canvas$Setting$CollapseActiveKey(oe) {
|
|
207433
207445
|
this.$Canvas$Setting$CollapseActiveKey = oe != null ? oe : [];
|
|
207434
207446
|
},
|
|
207435
|
-
$Canvas$Setting$
|
|
207436
|
-
this.$Canvas$Setting$IsAisleVisible = oe != null ? oe : !
|
|
207447
|
+
set$Canvas$Setting$IsAisleVisible(oe) {
|
|
207448
|
+
this.$Canvas$Setting$IsAisleVisible = oe != null ? oe : !0;
|
|
207437
207449
|
},
|
|
207438
|
-
$Canvas$Setting$
|
|
207450
|
+
set$Canvas$Setting$IsLegendVisible(oe) {
|
|
207439
207451
|
this.$Canvas$Setting$IsLegendVisible = oe != null ? oe : !1;
|
|
207440
207452
|
},
|
|
207441
|
-
$Canvas$Setting$
|
|
207453
|
+
set$Canvas$Setting$IsRgvOnPath(oe) {
|
|
207442
207454
|
this.$Canvas$Setting$IsRgvOnPath = oe != null ? oe : !1;
|
|
207443
207455
|
},
|
|
207444
|
-
$Canvas$Setting$
|
|
207456
|
+
set$Canvas$Setting$IsRgvPathLineVisible(oe) {
|
|
207445
207457
|
this.$Canvas$Setting$IsRgvPathLineVisible = oe != null ? oe : !1;
|
|
207446
207458
|
},
|
|
207447
|
-
$Canvas$Setting$
|
|
207459
|
+
set$Canvas$Setting$IsRgvPathVisible(oe) {
|
|
207448
207460
|
this.$Canvas$Setting$IsRgvPathVisible = oe != null ? oe : !1;
|
|
207449
207461
|
},
|
|
207450
|
-
$Canvas$Setting$
|
|
207462
|
+
set$Canvas$Setting$IsSelectBlinkOn(oe) {
|
|
207451
207463
|
this.$Canvas$Setting$IsSelectBlinkOn = oe != null ? oe : !1;
|
|
207452
207464
|
},
|
|
207453
|
-
$Canvas$Setting$
|
|
207465
|
+
set$Canvas$Setting$RgvMarginY(oe) {
|
|
207454
207466
|
this.$Canvas$Setting$RgvMarginY = oe != null ? oe : 40;
|
|
207455
207467
|
},
|
|
207456
|
-
$Canvas$Setting$
|
|
207468
|
+
set$Canvas$Setting$SelectBlinkInterval(oe) {
|
|
207457
207469
|
this.$Canvas$Setting$SelectBlinkInterval = oe != null ? oe : 250;
|
|
207458
207470
|
},
|
|
207459
|
-
$Canvas$
|
|
207460
|
-
oe && this.$Canvas$mapDataList.push(oe);
|
|
207461
|
-
},
|
|
207462
|
-
$Canvas$pushStatusDataList(oe) {
|
|
207463
|
-
oe && this.$Canvas$statusDataList.push(oe);
|
|
207464
|
-
},
|
|
207465
|
-
$Canvas$setCurrentRgvList(oe) {
|
|
207466
|
-
var ae;
|
|
207467
|
-
this.$Canvas$currentRgvList = (ae = toRaw(oe)) != null ? ae : [];
|
|
207468
|
-
},
|
|
207469
|
-
$Canvas$setCurrentStationList(oe) {
|
|
207470
|
-
var ae;
|
|
207471
|
-
this.$Canvas$currentStationList = (ae = toRaw(oe)) != null ? ae : [];
|
|
207472
|
-
},
|
|
207473
|
-
$Canvas$setMapData(oe) {
|
|
207474
|
-
this.$Canvas$mapData = oe != null ? oe : null;
|
|
207475
|
-
},
|
|
207476
|
-
$Canvas$setMapDataList(oe) {
|
|
207477
|
-
this.$Canvas$mapDataList = oe != null ? oe : [];
|
|
207478
|
-
},
|
|
207479
|
-
$Canvas$setMapIsRequesting(oe) {
|
|
207480
|
-
this.$Canvas$mapIsRequesting = oe != null ? oe : !1;
|
|
207481
|
-
},
|
|
207482
|
-
$Canvas$setStatusData(oe) {
|
|
207471
|
+
set$Canvas$StatusData(oe) {
|
|
207483
207472
|
this.$Canvas$statusData = oe != null ? oe : null;
|
|
207484
207473
|
},
|
|
207485
|
-
$Canvas$
|
|
207474
|
+
set$Canvas$StatusDataList(oe) {
|
|
207486
207475
|
this.$Canvas$statusDataList = oe != null ? oe : [];
|
|
207487
207476
|
},
|
|
207488
|
-
$Canvas$
|
|
207477
|
+
set$Canvas$StatusIsRequesting(oe) {
|
|
207489
207478
|
this.$Canvas$statusIsRequesting = oe != null ? oe : !1;
|
|
207490
207479
|
},
|
|
207491
|
-
$Setting$
|
|
207480
|
+
set$Setting$IsVisible(oe) {
|
|
207492
207481
|
this.$Setting$isVisible = oe != null ? oe : !1;
|
|
207493
207482
|
},
|
|
207494
|
-
$Tab$
|
|
207495
|
-
if (oe) {
|
|
207496
|
-
const ae = this.$Tab$rgvList.find((ie) => ie.rgvNo === oe.rgvNo);
|
|
207497
|
-
if (ae && (this.$Tab$rgvList = without$1(this.$Tab$rgvList, ae)), this.$Tab$activeKey === oe.rgvNo) {
|
|
207498
|
-
this.$Tab$setActiveKey(TAB_KEY.RGV_SUMMARY);
|
|
207499
|
-
const ie = useDraw$1();
|
|
207500
|
-
this.$Canvas$setCurrentStationList([]), this.$Canvas$setCurrentRgvList([]), ie.onSelectChange();
|
|
207501
|
-
}
|
|
207502
|
-
}
|
|
207503
|
-
},
|
|
207504
|
-
$Tab$insertRgvList(oe) {
|
|
207505
|
-
if (oe && oe.length > 0) {
|
|
207506
|
-
for (let ae of oe)
|
|
207507
|
-
this.$Tab$rgvList.find((ie) => ie.rgvNo === ae.rgvNo) || (this.$Tab$rgvList = [...this.$Tab$rgvList, cloneDeep(ae)]);
|
|
207508
|
-
this.$Tab$setActiveKey(oe[0].rgvNo);
|
|
207509
|
-
} else
|
|
207510
|
-
this.$Tab$activeKey !== TAB_KEY.RGV_SUMMARY && this.$Tab$activeKey !== TAB_KEY.TASK_SUMMARY && this.$Tab$activeKey !== TAB_KEY.LOG && this.$Tab$setActiveKey(TAB_KEY.RGV_SUMMARY);
|
|
207511
|
-
},
|
|
207512
|
-
$Tab$setActiveKey(oe) {
|
|
207483
|
+
set$Tab$ActiveKey(oe) {
|
|
207513
207484
|
this.$Tab$activeKey = oe != null ? oe : TAB_KEY.RGV_SUMMARY;
|
|
207514
207485
|
},
|
|
207515
|
-
$Tab$
|
|
207486
|
+
set$Tab$RgvList(oe) {
|
|
207516
207487
|
var ae;
|
|
207517
207488
|
this.$Tab$rgvList = (ae = toRaw(oe)) != null ? ae : [];
|
|
207518
207489
|
},
|
|
@@ -207524,13 +207495,17 @@ const TAB_KEY = {
|
|
|
207524
207495
|
}
|
|
207525
207496
|
},
|
|
207526
207497
|
getters: {
|
|
207527
|
-
$AreaSelect$
|
|
207498
|
+
$AreaSelect$DataList() {
|
|
207499
|
+
var oe;
|
|
207500
|
+
return (oe = this.$AreaSelect$DataList$) != null ? oe : [];
|
|
207501
|
+
},
|
|
207502
|
+
$AreaSelect$IsRequesting() {
|
|
207528
207503
|
var oe;
|
|
207529
207504
|
return (oe = this.$AreaSelect$isRequesting$) != null ? oe : !1;
|
|
207530
207505
|
},
|
|
207531
|
-
$AreaSelect$
|
|
207506
|
+
$AreaSelect$Value() {
|
|
207532
207507
|
var oe;
|
|
207533
|
-
return (oe = this.$AreaSelect$
|
|
207508
|
+
return (oe = this.$AreaSelect$Value$) != null ? oe : null;
|
|
207534
207509
|
},
|
|
207535
207510
|
$Canvas$Setting$RgvProperty$pathColor() {
|
|
207536
207511
|
return (oe, ae) => {
|
|
@@ -207629,8 +207604,15 @@ const TAB_KEY = {
|
|
|
207629
207604
|
}
|
|
207630
207605
|
},
|
|
207631
207606
|
state: () => ({
|
|
207607
|
+
$AreaSelect$DataList$: [{
|
|
207608
|
+
text: "\u5165\u5E93\u533A",
|
|
207609
|
+
value: "RgvSubOperator001"
|
|
207610
|
+
}, {
|
|
207611
|
+
text: "\u51FA\u5E93\u533A",
|
|
207612
|
+
value: "RgvSubOperator002"
|
|
207613
|
+
}],
|
|
207614
|
+
$AreaSelect$Value$: null,
|
|
207632
207615
|
$AreaSelect$isRequesting$: !1,
|
|
207633
|
-
$AreaSelect$value: null,
|
|
207634
207616
|
$Canvas$Setting$CollapseActiveKey: ["01", "02", "03", "04", "05", "06", "07", "08", "09"],
|
|
207635
207617
|
$Canvas$Setting$IsAisleVisible: !0,
|
|
207636
207618
|
$Canvas$Setting$IsLegendVisible: !0,
|
|
@@ -207667,29 +207649,53 @@ const TAB_KEY = {
|
|
|
207667
207649
|
}
|
|
207668
207650
|
}
|
|
207669
207651
|
})
|
|
207670
|
-
})
|
|
207652
|
+
});
|
|
207653
|
+
function useKgCircularShuttleMonitor() {
|
|
207654
|
+
const oe = useKgCircularShuttleMonitorStore(pinia);
|
|
207655
|
+
return new Proxy(
|
|
207656
|
+
{
|
|
207657
|
+
$Canvas$popMapData() {
|
|
207658
|
+
if (oe.$Canvas$getMapDataList.length === 0)
|
|
207659
|
+
return null;
|
|
207660
|
+
const ae = oe.$Canvas$getMapDataList[0];
|
|
207661
|
+
return oe.set$Canvas$MapDataList(without$1(oe.$Canvas$getMapDataList, ae)), ae;
|
|
207662
|
+
},
|
|
207663
|
+
$Canvas$popStatusData() {
|
|
207664
|
+
if (oe.$Canvas$getStatusDataList.length === 0)
|
|
207665
|
+
return null;
|
|
207666
|
+
const ae = oe.$Canvas$getStatusDataList[0];
|
|
207667
|
+
return oe.set$Canvas$StatusDataList(without$1(oe.$Canvas$getStatusDataList, ae)), ae;
|
|
207668
|
+
},
|
|
207669
|
+
graph: null,
|
|
207670
|
+
setProps: oe.setProps,
|
|
207671
|
+
store: oe
|
|
207672
|
+
},
|
|
207673
|
+
{
|
|
207674
|
+
get(ae, ie) {
|
|
207675
|
+
switch (ie) {
|
|
207676
|
+
case "graph":
|
|
207677
|
+
return oe.getGraph;
|
|
207678
|
+
}
|
|
207679
|
+
return !(ie in ae) && ie in oe ? Reflect.get(oe, ie) : Reflect.get(ae, ie);
|
|
207680
|
+
}
|
|
207681
|
+
}
|
|
207682
|
+
);
|
|
207683
|
+
}
|
|
207684
|
+
const KgCircularShuttleMonitorAreaSelect = defineComponent({
|
|
207671
207685
|
name: "KgCircularShuttleMonitorAreaSelect",
|
|
207672
207686
|
setup(oe, {
|
|
207673
207687
|
emit: ae
|
|
207674
207688
|
}) {
|
|
207675
|
-
const ie = useKg(), ue =
|
|
207676
|
-
async function
|
|
207689
|
+
const ie = useKg(), ue = useKgCircularShuttleMonitor();
|
|
207690
|
+
async function ea() {
|
|
207677
207691
|
try {
|
|
207678
|
-
ue
|
|
207679
|
-
id: "1",
|
|
207680
|
-
text: "\u5165\u5E93\u533A",
|
|
207681
|
-
value: "RgvSubOperator001"
|
|
207682
|
-
}, {
|
|
207683
|
-
id: "2",
|
|
207684
|
-
text: "\u51FA\u5E93\u533A",
|
|
207685
|
-
value: "RgvSubOperator002"
|
|
207686
|
-
}], ea.value.length > 0 && ue.$AreaSelect$setValue(ea.value[0].value);
|
|
207692
|
+
ue.set$AreaSelect$IsRequesting(!0), ue.$AreaSelect$DataList.length > 0 && ue.set$AreaSelect$Value(ue.$AreaSelect$DataList[0].value);
|
|
207687
207693
|
} finally {
|
|
207688
|
-
ue
|
|
207694
|
+
ue.set$AreaSelect$IsRequesting(!1);
|
|
207689
207695
|
}
|
|
207690
207696
|
}
|
|
207691
207697
|
return onMounted(async () => {
|
|
207692
|
-
await
|
|
207698
|
+
await ea();
|
|
207693
207699
|
}), () => createVNode("div", {
|
|
207694
207700
|
class: "kg-circular-shuttle-monitor--area-select"
|
|
207695
207701
|
}, [createVNode(Tooltip$2, {
|
|
@@ -207697,23 +207703,23 @@ const TAB_KEY = {
|
|
|
207697
207703
|
placement: "topLeft"
|
|
207698
207704
|
}, {
|
|
207699
207705
|
default: () => {
|
|
207700
|
-
var
|
|
207706
|
+
var ta;
|
|
207701
207707
|
return [createVNode(Select$3, {
|
|
207702
|
-
value: (
|
|
207703
|
-
"onUpdate:value": (
|
|
207704
|
-
ue
|
|
207708
|
+
value: (ta = ue.$AreaSelect$Value) != null ? ta : "",
|
|
207709
|
+
"onUpdate:value": (na) => {
|
|
207710
|
+
ue.set$AreaSelect$Value(na);
|
|
207705
207711
|
},
|
|
207706
207712
|
getPopupContainer: () => document.querySelector(".kg-circular-shuttle-monitor--canvas"),
|
|
207707
|
-
loading: ue.$AreaSelect$
|
|
207713
|
+
loading: ue.$AreaSelect$IsRequesting,
|
|
207708
207714
|
dropdownClassName: "kg-circular-shuttle-monitor--area-select--dropdown"
|
|
207709
207715
|
}, {
|
|
207710
|
-
default: () =>
|
|
207711
|
-
key: ra
|
|
207712
|
-
value:
|
|
207716
|
+
default: () => ue.$AreaSelect$DataList.map((na, ra) => createVNode(Select$3.Option, {
|
|
207717
|
+
key: ra,
|
|
207718
|
+
value: na.value
|
|
207713
207719
|
}, {
|
|
207714
|
-
default: () => [
|
|
207720
|
+
default: () => [na.text]
|
|
207715
207721
|
})),
|
|
207716
|
-
suffixIcon: () => ue.$AreaSelect$
|
|
207722
|
+
suffixIcon: () => ue.$AreaSelect$IsRequesting ? createVNode(Icon$3, {
|
|
207717
207723
|
icon: "eos-icons:bubble-loading",
|
|
207718
207724
|
width: 14,
|
|
207719
207725
|
height: 14
|
|
@@ -207812,10 +207818,10 @@ const TAB_KEY = {
|
|
|
207812
207818
|
class: "head"
|
|
207813
207819
|
}, [createVNode("div", {
|
|
207814
207820
|
class: "title"
|
|
207815
|
-
}, [ie.t("KgCircleVisCanvas.setting")]), createVNode(Button$3, {
|
|
207821
|
+
}, [ie.t("KgCircleVisCanvas.setting", {}, "\u8BBE\u7F6E")]), createVNode(Button$3, {
|
|
207816
207822
|
class: "btn-close",
|
|
207817
207823
|
onClick: () => {
|
|
207818
|
-
ue
|
|
207824
|
+
ue.set$Setting$IsVisible(!1);
|
|
207819
207825
|
}
|
|
207820
207826
|
}, {
|
|
207821
207827
|
default: () => [createVNode(Icon$3, {
|
|
@@ -207826,7 +207832,7 @@ const TAB_KEY = {
|
|
|
207826
207832
|
}, [createVNode(Collapse$1, {
|
|
207827
207833
|
activeKey: ue.$Canvas$Setting$getCollapseActiveKey,
|
|
207828
207834
|
"onUpdate:activeKey": (ea) => {
|
|
207829
|
-
ue
|
|
207835
|
+
ue.set$Canvas$Setting$CollapseActiveKey(ea);
|
|
207830
207836
|
}
|
|
207831
207837
|
}, {
|
|
207832
207838
|
default: () => createVNode(Fragment, null, [createVNode(Collapse$1.Panel, {
|
|
@@ -207842,7 +207848,7 @@ const TAB_KEY = {
|
|
|
207842
207848
|
}, [createVNode(Switch$2, {
|
|
207843
207849
|
checked: ue.$Canvas$Setting$getIsLegendVisible,
|
|
207844
207850
|
"onUpdate:checked": (ea) => {
|
|
207845
|
-
ue
|
|
207851
|
+
ue.set$Canvas$Setting$IsLegendVisible(ea);
|
|
207846
207852
|
}
|
|
207847
207853
|
}, null)])]), createVNode("div", {
|
|
207848
207854
|
class: "item"
|
|
@@ -207853,7 +207859,7 @@ const TAB_KEY = {
|
|
|
207853
207859
|
}, [createVNode(Switch$2, {
|
|
207854
207860
|
checked: ue.$Canvas$Setting$getIsAisleVisible,
|
|
207855
207861
|
"onUpdate:checked": (ea) => {
|
|
207856
|
-
ue
|
|
207862
|
+
ue.set$Canvas$Setting$IsAisleVisible(ea);
|
|
207857
207863
|
}
|
|
207858
207864
|
}, null)])])]
|
|
207859
207865
|
}), createVNode(Collapse$1.Panel, {
|
|
@@ -207869,7 +207875,7 @@ const TAB_KEY = {
|
|
|
207869
207875
|
}, [createVNode(Switch$2, {
|
|
207870
207876
|
checked: ue.$Canvas$Setting$getIsSelectBlinkOn,
|
|
207871
207877
|
"onUpdate:checked": (ea) => {
|
|
207872
|
-
ue
|
|
207878
|
+
ue.set$Canvas$Setting$IsSelectBlinkOn(ea);
|
|
207873
207879
|
}
|
|
207874
207880
|
}, null)])]), createVNode("div", {
|
|
207875
207881
|
class: "item"
|
|
@@ -207880,7 +207886,7 @@ const TAB_KEY = {
|
|
|
207880
207886
|
}, [createVNode(InputNumber$1, {
|
|
207881
207887
|
value: ue.$Canvas$Setting$getSelectBlinkInterval,
|
|
207882
207888
|
"onUpdate:value": (ea) => {
|
|
207883
|
-
ue
|
|
207889
|
+
ue.set$Canvas$Setting$SelectBlinkInterval(ea);
|
|
207884
207890
|
},
|
|
207885
207891
|
disabled: !ue.$Canvas$Setting$getIsSelectBlinkOn,
|
|
207886
207892
|
step: 1,
|
|
@@ -207900,7 +207906,7 @@ const TAB_KEY = {
|
|
|
207900
207906
|
}, [createVNode(Switch$2, {
|
|
207901
207907
|
checked: ue.$Canvas$Setting$getIsRgvPathVisible,
|
|
207902
207908
|
"onUpdate:checked": (ea) => {
|
|
207903
|
-
ue
|
|
207909
|
+
ue.set$Canvas$Setting$IsRgvPathVisible(ea);
|
|
207904
207910
|
}
|
|
207905
207911
|
}, null)])]), createVNode("div", {
|
|
207906
207912
|
class: "item"
|
|
@@ -207911,7 +207917,7 @@ const TAB_KEY = {
|
|
|
207911
207917
|
}, [createVNode(Switch$2, {
|
|
207912
207918
|
checked: ue.$Canvas$Setting$getIsRgvOnPath,
|
|
207913
207919
|
"onUpdate:checked": (ea) => {
|
|
207914
|
-
ue
|
|
207920
|
+
ue.set$Canvas$Setting$IsRgvOnPath(ea);
|
|
207915
207921
|
},
|
|
207916
207922
|
disabled: !ue.$Canvas$Setting$getIsRgvPathVisible
|
|
207917
207923
|
}, null)])]), createVNode("div", {
|
|
@@ -207923,7 +207929,7 @@ const TAB_KEY = {
|
|
|
207923
207929
|
}, [createVNode(Switch$2, {
|
|
207924
207930
|
checked: ue.$Canvas$Setting$getIsRgvPathLineVisible,
|
|
207925
207931
|
"onUpdate:checked": (ea) => {
|
|
207926
|
-
ue
|
|
207932
|
+
ue.set$Canvas$Setting$IsRgvPathLineVisible(ea);
|
|
207927
207933
|
},
|
|
207928
207934
|
disabled: !ue.$Canvas$Setting$getIsRgvPathVisible || ue.$Canvas$Setting$getIsRgvOnPath
|
|
207929
207935
|
}, null)])])]
|
|
@@ -207972,16 +207978,16 @@ const TAB_KEY = {
|
|
|
207972
207978
|
var La;
|
|
207973
207979
|
return ((La = Ra.properties.key) == null ? void 0 : La.startsWith(NODE_KEY$1.STATION)) && Ra.properties.data.stationNo === Pa.destinationStation;
|
|
207974
207980
|
}).map((Ra) => Ra.properties.data)) != null ? wa : [];
|
|
207975
|
-
ta
|
|
207981
|
+
ta.set$Canvas$CurrentStationList(Ma.length > 0 ? [Ma[0]] : []), ta.set$Canvas$CurrentRgvList(Pa ? [Pa] : []), ma.onSelectChange();
|
|
207976
207982
|
} else if (Ca != null && Ca.startsWith(NODE_KEY$1.STATION)) {
|
|
207977
207983
|
const Pa = (ka = $a == null ? void 0 : $a.properties) == null ? void 0 : ka.data, Ma = (Na = ba.graphModel.datas.filter((Ra) => {
|
|
207978
207984
|
var La;
|
|
207979
207985
|
return ((La = Ra.properties.key) == null ? void 0 : La.startsWith(NODE_KEY$1.RGV)) && Ra.properties.data.destinationStation === Pa.stationNo;
|
|
207980
207986
|
}).map((Ra) => Ra.properties.data)) != null ? Na : [];
|
|
207981
|
-
Ma.length > 0 ? (ta
|
|
207987
|
+
Ma.length > 0 ? (ta.set$Canvas$CurrentStationList(Pa ? [Pa] : []), ta.set$Canvas$CurrentRgvList([Ma[0]])) : (ta.set$Canvas$CurrentStationList([]), ta.set$Canvas$CurrentRgvList([])), ma.onSelectChange();
|
|
207982
207988
|
} else
|
|
207983
|
-
ta
|
|
207984
|
-
return ta
|
|
207989
|
+
ta.set$Canvas$CurrentStationList([]), ta.set$Canvas$CurrentRgvList([]), ma.onSelectChange();
|
|
207990
|
+
return ta.insert$Tab$RgvList(ta.$Canvas$getCurrentRgvList), !1;
|
|
207985
207991
|
}), ea.onRightClick(async ({
|
|
207986
207992
|
graph: ba,
|
|
207987
207993
|
element: $a,
|
|
@@ -208002,7 +208008,7 @@ const TAB_KEY = {
|
|
|
208002
208008
|
element: $a
|
|
208003
208009
|
}) => !1), ea.onContextMenuOpen(async () => !1), ea.onContextMenuClose(async () => !1);
|
|
208004
208010
|
let na = null, ra = null, oa = null, aa = -1, la = 0, sa = -1, ca = null, ua = null;
|
|
208005
|
-
watch(() => ta.$AreaSelect$
|
|
208011
|
+
watch(() => ta.$AreaSelect$Value, async (ba) => {
|
|
208006
208012
|
ba && (await da(), ma.draw({
|
|
208007
208013
|
isZoomToOverview: !0,
|
|
208008
208014
|
type: "MAP"
|
|
@@ -208017,11 +208023,11 @@ const TAB_KEY = {
|
|
|
208017
208023
|
async function da() {
|
|
208018
208024
|
var ba, $a, Ca, xa, Sa, wa, ka, Na, Pa, Ma, Ra, La, Ha, Va, Fa, Ba, ja, Ua, Aa, Xa, Ja, Wa, hi, mi, yi, Oi, $i, Ei, _i, Za, Ka, Ga, pi, bi, wi, Di, Bi, Pi, Ui;
|
|
208019
208025
|
try {
|
|
208020
|
-
ta
|
|
208026
|
+
ta.set$Canvas$MapIsRequesting(!0);
|
|
208021
208027
|
const [nl, Li] = await Promise.all([httpClient().request({
|
|
208022
208028
|
method: "GET",
|
|
208023
208029
|
params: {
|
|
208024
|
-
executorId: ta.$AreaSelect$
|
|
208030
|
+
executorId: ta.$AreaSelect$Value
|
|
208025
208031
|
},
|
|
208026
208032
|
url: (Ca = ($a = (ba = ta.getProps) == null ? void 0 : ba.api) == null ? void 0 : $a.GetMap) != null ? Ca : "/was/CircleRgvMap/GetMap"
|
|
208027
208033
|
}, {
|
|
@@ -208030,7 +208036,7 @@ const TAB_KEY = {
|
|
|
208030
208036
|
}), httpClient().request({
|
|
208031
208037
|
method: "GET",
|
|
208032
208038
|
params: {
|
|
208033
|
-
executorId: ta.$AreaSelect$
|
|
208039
|
+
executorId: ta.$AreaSelect$Value
|
|
208034
208040
|
},
|
|
208035
208041
|
url: (wa = (Sa = (xa = ta.getProps) == null ? void 0 : xa.api) == null ? void 0 : Sa.GetState) != null ? wa : "/was/CircleRgvState/GetState"
|
|
208036
208042
|
}, {
|
|
@@ -208045,13 +208051,13 @@ const TAB_KEY = {
|
|
|
208045
208051
|
destinationCoordinate: (_i = (Ei = nl.data) == null ? void 0 : Ei.map) == null ? void 0 : _i.destinationCoordinate,
|
|
208046
208052
|
sourceCoordinate: (Ka = (Za = nl.data) == null ? void 0 : Za.map) == null ? void 0 : Ka.sourceCoordinate,
|
|
208047
208053
|
length: (pi = (Ga = nl.data) == null ? void 0 : Ga.map) == null ? void 0 : pi.length
|
|
208048
|
-
}), ca = (wi = (bi = nl.data) == null ? void 0 : bi.map) == null ? void 0 : wi.sourceCoordinate, ua = (Bi = (Di = nl.data) == null ? void 0 : Di.map) == null ? void 0 : Bi.destinationCoordinate, ta
|
|
208054
|
+
}), ca = (wi = (bi = nl.data) == null ? void 0 : bi.map) == null ? void 0 : wi.sourceCoordinate, ua = (Bi = (Di = nl.data) == null ? void 0 : Di.map) == null ? void 0 : Bi.destinationCoordinate, ta.set$Canvas$MapData(cloneDeep(nl.data)), ta.set$Canvas$MapDataList([nl.data]), ta.set$Canvas$StatusDataList([]), ta.set$Tab$RgvList([]), ta.set$Tab$ActiveKey(TAB_KEY.RGV_SUMMARY);
|
|
208049
208055
|
} else
|
|
208050
208056
|
notification.error({
|
|
208051
208057
|
message: (Ui = (Pi = nl == null ? void 0 : nl.message) != null ? Pi : Li == null ? void 0 : Li.message) != null ? Ui : ie.t("KgCircleVisCanvas.getMapErrorMessage")
|
|
208052
208058
|
});
|
|
208053
208059
|
} finally {
|
|
208054
|
-
ta
|
|
208060
|
+
ta.set$Canvas$MapIsRequesting(!1);
|
|
208055
208061
|
}
|
|
208056
208062
|
}
|
|
208057
208063
|
function fa(ba) {
|
|
@@ -208064,13 +208070,13 @@ const TAB_KEY = {
|
|
|
208064
208070
|
}
|
|
208065
208071
|
async function ga() {
|
|
208066
208072
|
var ba, $a, Ca, xa, Sa, wa, ka, Na, Pa, Ma, Ra, La, Ha, Va, Fa, Ba, ja, Ua, Aa, Xa, Ja;
|
|
208067
|
-
if (!!ta.$AreaSelect$
|
|
208073
|
+
if (!!ta.$AreaSelect$Value && !ta.$Canvas$getStatusIsRequesting)
|
|
208068
208074
|
try {
|
|
208069
|
-
ta
|
|
208075
|
+
ta.set$Canvas$StatusIsRequesting(!0);
|
|
208070
208076
|
const Wa = await httpClient().request({
|
|
208071
208077
|
method: "GET",
|
|
208072
208078
|
params: {
|
|
208073
|
-
executorId: ta.$AreaSelect$
|
|
208079
|
+
executorId: ta.$AreaSelect$Value
|
|
208074
208080
|
},
|
|
208075
208081
|
url: (Ca = ($a = (ba = ta.getProps) == null ? void 0 : ba.api) == null ? void 0 : $a.GetState) != null ? Ca : "/was/CircleRgvState/GetState"
|
|
208076
208082
|
}, {
|
|
@@ -208082,16 +208088,16 @@ const TAB_KEY = {
|
|
|
208082
208088
|
for (let hi of (Sa = (xa = Wa.data) == null ? void 0 : xa.rgvState) != null ? Sa : [])
|
|
208083
208089
|
if (hi.rgvNo === ((wa = ta.$Canvas$getCurrentRgvList[0]) == null ? void 0 : wa.rgvNo) && hi.destinationStation !== ((ka = ta.$Canvas$getCurrentStationList[0]) == null ? void 0 : ka.stationNo)) {
|
|
208084
208090
|
const mi = (Ma = (Pa = (Na = ta.$Canvas$getMapData) == null ? void 0 : Na.conveyor) == null ? void 0 : Pa.filter((yi) => yi.stationNo === hi.destinationStation)) != null ? Ma : [];
|
|
208085
|
-
ta
|
|
208091
|
+
ta.set$Canvas$CurrentStationList(mi.length > 0 ? [mi[0]] : []), ma.onSelectChange();
|
|
208086
208092
|
}
|
|
208087
208093
|
for (let hi of ta.$Tab$getRgvList)
|
|
208088
|
-
(La = (Ra = Wa.data) == null ? void 0 : Ra.rgvState) != null && La.find((mi) => mi.rgvNo === hi.rgvNo) || ta
|
|
208094
|
+
(La = (Ra = Wa.data) == null ? void 0 : Ra.rgvState) != null && La.find((mi) => mi.rgvNo === hi.rgvNo) || ta.delete$Tab$Rgv(hi);
|
|
208089
208095
|
if (la <= 0)
|
|
208090
|
-
ta
|
|
208096
|
+
ta.push$Canvas$StatusDataList(Wa.data);
|
|
208091
208097
|
else {
|
|
208092
208098
|
const hi = Date.now() - la, mi = Math.floor(hi / ((Va = (Ha = ta.getProps) == null ? void 0 : Ha.updateStatusInterval) != null ? Va : 25));
|
|
208093
208099
|
if (mi <= 0)
|
|
208094
|
-
ta
|
|
208100
|
+
ta.push$Canvas$StatusDataList(Wa.data);
|
|
208095
208101
|
else {
|
|
208096
208102
|
for (let yi of (Fa = Wa.data.rgvState) != null ? Fa : [])
|
|
208097
208103
|
yi.PREVIOUS_COORDINATE = (Ua = (ja = (Ba = ta.$Canvas$getStatusData) == null ? void 0 : Ba.rgvState.find((Oi) => Oi.rgvNo === yi.rgvNo)) == null ? void 0 : ja.position) != null ? Ua : yi.position;
|
|
@@ -208111,17 +208117,17 @@ const TAB_KEY = {
|
|
|
208111
208117
|
_i > ua && (_i = _i - ua + ca), $i.position = _i;
|
|
208112
208118
|
}
|
|
208113
208119
|
}
|
|
208114
|
-
ta
|
|
208120
|
+
ta.push$Canvas$StatusDataList(Oi);
|
|
208115
208121
|
}
|
|
208116
208122
|
}
|
|
208117
208123
|
}
|
|
208118
|
-
la = Date.now(), ta
|
|
208124
|
+
la = Date.now(), ta.set$Canvas$StatusData(cloneDeep(Wa.data));
|
|
208119
208125
|
} else
|
|
208120
208126
|
notification.error({
|
|
208121
208127
|
message: (Ja = Wa == null ? void 0 : Wa.message) != null ? Ja : ie.t("KgCircleVisCanvas.getStateErrorMessage")
|
|
208122
208128
|
});
|
|
208123
208129
|
} finally {
|
|
208124
|
-
ta
|
|
208130
|
+
ta.set$Canvas$StatusIsRequesting(!1);
|
|
208125
208131
|
}
|
|
208126
208132
|
}
|
|
208127
208133
|
function ha(ba) {
|
|
@@ -208144,6 +208150,7 @@ const TAB_KEY = {
|
|
|
208144
208150
|
aa !== -1 && clearInterval(aa), sa !== -1 && clearInterval(sa), ra == null || ra.stop(), na == null || na.close();
|
|
208145
208151
|
}), () => createVNode(KgCanvas, {
|
|
208146
208152
|
kgIsGridBackground: !1,
|
|
208153
|
+
kg$KgCanvasToolbarButtonMode$IsAvailable: !1,
|
|
208147
208154
|
kgCanvasToolbarFullscreen: {
|
|
208148
208155
|
kgIsShowText: !0
|
|
208149
208156
|
},
|
|
@@ -208162,12 +208169,12 @@ const TAB_KEY = {
|
|
|
208162
208169
|
marginRight: "3px"
|
|
208163
208170
|
},
|
|
208164
208171
|
onClick: () => {
|
|
208165
|
-
ta
|
|
208172
|
+
ta.set$Setting$IsVisible(!ta.$Setting$getIsVisible);
|
|
208166
208173
|
}
|
|
208167
208174
|
}, {
|
|
208168
208175
|
default: () => [createVNode(Icon$3, {
|
|
208169
208176
|
icon: "ant-design:setting-outlined"
|
|
208170
|
-
}, null), ie.t("KgCircleVisCanvas.setting")]
|
|
208177
|
+
}, null), ie.t("KgCircleVisCanvas.setting", {}, "\u8BBE\u7F6E")]
|
|
208171
208178
|
})]),
|
|
208172
208179
|
tooltip: ({
|
|
208173
208180
|
event: ba,
|
|
@@ -208265,7 +208272,7 @@ const TAB_KEY = {
|
|
|
208265
208272
|
}) {
|
|
208266
208273
|
const ie = useKg(), ue = useKgCircularShuttleMonitorStore();
|
|
208267
208274
|
function ea(ta) {
|
|
208268
|
-
ue
|
|
208275
|
+
ue.set$Canvas$CurrentStationList([]), ue.set$Canvas$CurrentRgvList([ta]), ue.insert$Tab$RgvList(ue.$Canvas$getCurrentRgvList);
|
|
208269
208276
|
}
|
|
208270
208277
|
return () => createVNode("div", {
|
|
208271
208278
|
class: "kg-circular-shuttle-monitor--offline"
|
|
@@ -208789,18 +208796,18 @@ const getProps$p = () => ({
|
|
|
208789
208796
|
kgMinHeight: 122
|
|
208790
208797
|
});
|
|
208791
208798
|
function na(la) {
|
|
208792
|
-
ue
|
|
208799
|
+
ue.delete$Tab$Rgv(la);
|
|
208793
208800
|
}
|
|
208794
208801
|
function ra(la) {
|
|
208795
208802
|
var sa, ca, ua, ma;
|
|
208796
208803
|
if ([TAB_KEY.RGV_SUMMARY, TAB_KEY.TASK_SUMMARY, TAB_KEY.LOG].includes(la))
|
|
208797
|
-
ue
|
|
208804
|
+
ue.set$Canvas$CurrentStationList([]), ue.set$Canvas$CurrentRgvList([]), ea.onSelectChange();
|
|
208798
208805
|
else {
|
|
208799
208806
|
const da = ue.$Tab$getRgvList.find((ga) => ga.rgvNo === la), fa = (ma = (ua = (ca = (sa = ue.getGraph) == null ? void 0 : sa.graphModel) == null ? void 0 : ca.datas) == null ? void 0 : ua.filter((ga) => {
|
|
208800
208807
|
var ha;
|
|
208801
208808
|
return ((ha = ga.properties.key) == null ? void 0 : ha.startsWith(NODE_KEY$1.STATION)) && ga.properties.data.stationNo === (da == null ? void 0 : da.destinationStation);
|
|
208802
208809
|
}).map((ga) => ga.properties.data)) != null ? ma : [];
|
|
208803
|
-
ue
|
|
208810
|
+
ue.set$Canvas$CurrentStationList(fa.length > 0 ? [fa[0]] : []), ue.set$Canvas$CurrentRgvList(da ? [da] : []), ea.onSelectChange();
|
|
208804
208811
|
}
|
|
208805
208812
|
}
|
|
208806
208813
|
return () => createVNode("div", {
|
|
@@ -208823,7 +208830,7 @@ const getProps$p = () => ({
|
|
|
208823
208830
|
tabPosition: "left",
|
|
208824
208831
|
activeKey: ue.$Tab$getActiveKey,
|
|
208825
208832
|
"onUpdate:activeKey": (la) => {
|
|
208826
|
-
ue
|
|
208833
|
+
ue.set$Tab$ActiveKey(la);
|
|
208827
208834
|
},
|
|
208828
208835
|
onTabClick: ra
|
|
208829
208836
|
}, {
|
package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './KgCircularShuttleMonitor.css';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 环形穿梭车可视化--库区下拉列表.
|
|
4
4
|
*/
|
|
5
5
|
export declare const KgCircularShuttleMonitorAreaSelect: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './KgCircularShuttleMonitor.css';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 环形穿梭车可视化--画布.
|
|
4
4
|
*/
|
|
5
5
|
export declare const KgCircularShuttleMonitorCanvas: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './KgCircularShuttleMonitor.css';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 环形穿梭车可视化--图例.
|
|
4
4
|
*/
|
|
5
5
|
export declare const KgCircularShuttleMonitorLegend: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './KgCircularShuttleMonitor.css';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 环形穿梭车可视化--离线区.
|
|
4
4
|
*/
|
|
5
5
|
export declare const KgCircularShuttleMonitorOffline: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './KgCircularShuttleMonitor.css';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 环形穿梭车可视化--设置面板.
|
|
4
4
|
*/
|
|
5
5
|
export declare const KgCircularShuttleMonitorSetting: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './KgCircularShuttleMonitor.css';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 环形穿梭车可视化--日志.
|
|
4
4
|
*/
|
|
5
5
|
export declare const KgCircularShuttleMonitorTabLog: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -12,7 +12,7 @@ export declare const getProps: () => {
|
|
|
12
12
|
};
|
|
13
13
|
export declare type KgCircularShuttleMonitorTabRgvProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 环形穿梭车可视化--小车信息.
|
|
16
16
|
*/
|
|
17
17
|
export declare const KgCircularShuttleMonitorTabRgv: import("vue").DefineComponent<{
|
|
18
18
|
/**
|
|
@@ -22,7 +22,7 @@ export declare type IUseKgCircularShuttleMonitor = {
|
|
|
22
22
|
setProps(props: IKgCircularShuttleMonitorProps | null | undefined): void;
|
|
23
23
|
/** 状态数据. */
|
|
24
24
|
store: ReturnType<typeof useKgCircularShuttleMonitorStore>;
|
|
25
|
-
}
|
|
25
|
+
} & ReturnType<typeof useKgCircularShuttleMonitorStore>;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
@@ -153,19 +153,26 @@ export declare type IKgCircularShuttleMonitorProps = {
|
|
|
153
153
|
};
|
|
154
154
|
export interface IKgCircularShuttleMonitorStoreState {
|
|
155
155
|
/**
|
|
156
|
-
*
|
|
156
|
+
* 库区下拉列表--列表数据.
|
|
157
157
|
*/
|
|
158
|
-
$AreaSelect$
|
|
158
|
+
$AreaSelect$DataList$: Array<{
|
|
159
|
+
text: string;
|
|
160
|
+
value: string;
|
|
161
|
+
}>;
|
|
159
162
|
/**
|
|
160
163
|
* 库区下拉列表--当前选中的值.
|
|
161
164
|
*/
|
|
162
|
-
$AreaSelect$
|
|
165
|
+
$AreaSelect$Value$: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* 库区下拉列表--是否正在请求数据.
|
|
168
|
+
*/
|
|
169
|
+
$AreaSelect$isRequesting$: boolean;
|
|
163
170
|
/**
|
|
164
171
|
* 画布--设置--当前展开面板.
|
|
165
172
|
*/
|
|
166
173
|
$Canvas$Setting$CollapseActiveKey: Array<string>;
|
|
167
174
|
/**
|
|
168
|
-
* 画布--设置--是否绘制巷道.
|
|
175
|
+
* 画布--设置--是否绘制巷道. 默认为 true.
|
|
169
176
|
*/
|
|
170
177
|
$Canvas$Setting$IsAisleVisible: boolean;
|
|
171
178
|
/**
|
|
@@ -263,8 +270,16 @@ export interface IKgCircularShuttleMonitorStoreState {
|
|
|
263
270
|
props: IKgCircularShuttleMonitorProps | null;
|
|
264
271
|
}
|
|
265
272
|
export interface IKgCircularShuttleMonitorStoreGetters {
|
|
266
|
-
|
|
267
|
-
|
|
273
|
+
/**
|
|
274
|
+
* <p>库区下拉列表--列表数据.</p>
|
|
275
|
+
* <p>默认值为 <code>[ { text: '入库区', value: 'RgvSubOperator001' }, { text: '出库区', value: 'RgvSubOperator002' } ]</code></p>
|
|
276
|
+
*/
|
|
277
|
+
$AreaSelect$DataList: Array<{
|
|
278
|
+
text: string;
|
|
279
|
+
value: string;
|
|
280
|
+
}>;
|
|
281
|
+
$AreaSelect$IsRequesting: boolean;
|
|
282
|
+
$AreaSelect$Value: string | null;
|
|
268
283
|
/**
|
|
269
284
|
* 获取小车路径颜色.
|
|
270
285
|
*
|
|
@@ -300,44 +315,12 @@ export interface IKgCircularShuttleMonitorStoreGetters {
|
|
|
300
315
|
getProps: IKgCircularShuttleMonitorProps | null;
|
|
301
316
|
}
|
|
302
317
|
export interface IKgCircularShuttleMonitorStoreActions {
|
|
303
|
-
$AreaSelect$setIsRequesting(value: boolean | null | undefined): void;
|
|
304
|
-
$AreaSelect$setValue(value: string | null | undefined): void;
|
|
305
|
-
$Canvas$Setting$setCollapseActiveKey(value: Array<string> | null | undefined): void;
|
|
306
|
-
$Canvas$Setting$setIsAisleVisible(value: boolean | null | undefined): void;
|
|
307
|
-
$Canvas$Setting$setIsLegendVisible(value: boolean | null | undefined): void;
|
|
308
|
-
$Canvas$Setting$setIsRgvOnPath(value: boolean | null | undefined): void;
|
|
309
|
-
$Canvas$Setting$setIsRgvPathLineVisible(value: boolean | null | undefined): void;
|
|
310
|
-
$Canvas$Setting$setIsRgvPathVisible(value: boolean | null | undefined): void;
|
|
311
|
-
$Canvas$Setting$setIsSelectBlinkOn(value: boolean | null | undefined): void;
|
|
312
|
-
$Canvas$Setting$setRgvMarginY(value: number | null | undefined): void;
|
|
313
|
-
$Canvas$Setting$setSelectBlinkInterval(value: number | null | undefined): void;
|
|
314
|
-
/**
|
|
315
|
-
* 画布--往地图数据列尾插入一个数据.
|
|
316
|
-
*
|
|
317
|
-
* @param value 要插入的数据.
|
|
318
|
-
*/
|
|
319
|
-
$Canvas$pushMapDataList(value: MapDTO | null | undefined): void;
|
|
320
|
-
/**
|
|
321
|
-
* 画布--往状态数据列尾插入一个数据.
|
|
322
|
-
*
|
|
323
|
-
* @param value 要插入的数据.
|
|
324
|
-
*/
|
|
325
|
-
$Canvas$pushStatusDataList(value: StatusDTO | null | undefined): void;
|
|
326
|
-
$Canvas$setCurrentRgvList(value: Array<StatusRgvVO> | null | undefined): void;
|
|
327
|
-
$Canvas$setCurrentStationList(value: Array<MapStationVO> | null | undefined): void;
|
|
328
|
-
$Canvas$setMapData(value: MapDTO | null | undefined): void;
|
|
329
|
-
$Canvas$setMapDataList(value: Array<MapDTO> | null | undefined): void;
|
|
330
|
-
$Canvas$setMapIsRequesting(value: boolean | null | undefined): void;
|
|
331
|
-
$Canvas$setStatusData(value: StatusDTO | null | undefined): void;
|
|
332
|
-
$Canvas$setStatusDataList(value: Array<StatusDTO> | null | undefined): void;
|
|
333
|
-
$Canvas$setStatusIsRequesting(value: boolean | null | undefined): void;
|
|
334
|
-
$Setting$setIsVisible(value: boolean | null | undefined): void;
|
|
335
318
|
/**
|
|
336
319
|
* 标签页--从标签页列表中删除某个小车.
|
|
337
320
|
*
|
|
338
321
|
* @param value 要删除的小车.
|
|
339
322
|
*/
|
|
340
|
-
$Tab$
|
|
323
|
+
delete$Tab$Rgv(value: StatusRgvVO | null | undefined): void;
|
|
341
324
|
/**
|
|
342
325
|
* <p>标签页--插入小车列表.</p>
|
|
343
326
|
* <p>如果某个小车已经存在标签页列表中, 则不插入.</p>
|
|
@@ -345,9 +328,52 @@ export interface IKgCircularShuttleMonitorStoreActions {
|
|
|
345
328
|
*
|
|
346
329
|
* @param value 小车列表.
|
|
347
330
|
*/
|
|
348
|
-
$Tab$
|
|
349
|
-
|
|
350
|
-
|
|
331
|
+
insert$Tab$RgvList(value: Array<StatusRgvVO> | null | undefined): void;
|
|
332
|
+
/**
|
|
333
|
+
* 画布--往地图数据列尾插入一个数据.
|
|
334
|
+
*
|
|
335
|
+
* @param value 要插入的数据.
|
|
336
|
+
*/
|
|
337
|
+
push$Canvas$MapDataList(value: MapDTO | null | undefined): void;
|
|
338
|
+
/**
|
|
339
|
+
* 画布--往状态数据列尾插入一个数据.
|
|
340
|
+
*
|
|
341
|
+
* @param value 要插入的数据.
|
|
342
|
+
*/
|
|
343
|
+
push$Canvas$StatusDataList(value: StatusDTO | null | undefined): void;
|
|
344
|
+
/**
|
|
345
|
+
* <p>库区下拉列表--设置列表数据.</p>
|
|
346
|
+
* <p>默认值为 <code>[ { text: '入库区', value: 'RgvSubOperator001' }, { text: '出库区', value: 'RgvSubOperator002' } ]</code></p>
|
|
347
|
+
*/
|
|
348
|
+
set$AreaSelect$DataList(value: Array<{
|
|
349
|
+
text: string;
|
|
350
|
+
value: string;
|
|
351
|
+
}> | null | undefined): void;
|
|
352
|
+
set$AreaSelect$IsRequesting(value: boolean | null | undefined): void;
|
|
353
|
+
set$AreaSelect$Value(value: string | null | undefined): void;
|
|
354
|
+
set$Canvas$CurrentRgvList(value: Array<StatusRgvVO> | null | undefined): void;
|
|
355
|
+
set$Canvas$CurrentStationList(value: Array<MapStationVO> | null | undefined): void;
|
|
356
|
+
set$Canvas$MapData(value: MapDTO | null | undefined): void;
|
|
357
|
+
set$Canvas$MapDataList(value: Array<MapDTO> | null | undefined): void;
|
|
358
|
+
set$Canvas$MapIsRequesting(value: boolean | null | undefined): void;
|
|
359
|
+
set$Canvas$Setting$CollapseActiveKey(value: Array<string> | null | undefined): void;
|
|
360
|
+
/**
|
|
361
|
+
* 画布--设置--是否绘制巷道. 默认为 true.
|
|
362
|
+
*/
|
|
363
|
+
set$Canvas$Setting$IsAisleVisible(value: boolean | null | undefined): void;
|
|
364
|
+
set$Canvas$Setting$IsLegendVisible(value: boolean | null | undefined): void;
|
|
365
|
+
set$Canvas$Setting$IsRgvOnPath(value: boolean | null | undefined): void;
|
|
366
|
+
set$Canvas$Setting$IsRgvPathLineVisible(value: boolean | null | undefined): void;
|
|
367
|
+
set$Canvas$Setting$IsRgvPathVisible(value: boolean | null | undefined): void;
|
|
368
|
+
set$Canvas$Setting$IsSelectBlinkOn(value: boolean | null | undefined): void;
|
|
369
|
+
set$Canvas$Setting$RgvMarginY(value: number | null | undefined): void;
|
|
370
|
+
set$Canvas$Setting$SelectBlinkInterval(value: number | null | undefined): void;
|
|
371
|
+
set$Canvas$StatusData(value: StatusDTO | null | undefined): void;
|
|
372
|
+
set$Canvas$StatusDataList(value: Array<StatusDTO> | null | undefined): void;
|
|
373
|
+
set$Canvas$StatusIsRequesting(value: boolean | null | undefined): void;
|
|
374
|
+
set$Setting$IsVisible(value: boolean | null | undefined): void;
|
|
375
|
+
set$Tab$ActiveKey(value: string | number | null | undefined): void;
|
|
376
|
+
set$Tab$RgvList(value: Array<StatusRgvVO> | null | undefined): void;
|
|
351
377
|
set$graph(value: Q.Graph | null | undefined): void;
|
|
352
378
|
setProps(value: IKgCircularShuttleMonitorProps | null | undefined): void;
|
|
353
379
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"copy-to--luotao--smartfactory.product.simulator--main": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.simulator--main.ts",
|
|
22
22
|
"copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
|
|
23
23
|
"copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
|
|
24
|
+
"copy-to--luotao--smartfactory.tyre.product-cp.view--FMS3.2": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.product-cp.view--FMS3.2.ts",
|
|
24
25
|
"----- --------------------------------------------": "",
|
|
25
26
|
"bump--major": "npm run use-node && tsx script/bump.ts major",
|
|
26
27
|
"bump--minor": "npm run use-node && tsx script/bump.ts minor",
|