ednl-liftstatus-web-components 1.62.6 → 1.63.0
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/cjs/{api-b_eLx-8f.js → api-aJkn6GAA.js} +1 -1
- package/dist/cjs/{error-message-CiYy98qb.js → error-message-BGSyIOKs.js} +1 -1
- package/dist/cjs/{icons-xHIbPZk8.js → icons-BxXtMaak.js} +1 -1
- package/dist/cjs/{locale-state-BR4WqALC.js → locale-state-CSzvyXag.js} +1 -1
- package/dist/cjs/ls-3d-scene.cjs.entry.js +32 -9
- package/dist/cjs/ls-counters.cjs.entry.js +7 -7
- package/dist/cjs/ls-data.cjs.entry.js +252 -251
- package/dist/cjs/ls-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/ls-energy-usage.cjs.entry.js +7 -7
- package/dist/cjs/ls-history-swimlane.cjs.entry.js +7 -7
- package/dist/cjs/ls-indicator.cjs.entry.js +3 -3
- package/dist/cjs/ls-recent-stops.cjs.entry.js +5 -5
- package/dist/cjs/ls-reset-steering.cjs.entry.js +5 -5
- package/dist/cjs/ls-status-count.cjs.entry.js +7 -7
- package/dist/cjs/ls-status-history.cjs.entry.js +11 -11
- package/dist/cjs/ls-status-item.cjs.entry.js +6 -7
- package/dist/cjs/ls-status-messages.cjs.entry.js +12 -13
- package/dist/cjs/ls-status.cjs.entry.js +12 -6
- package/dist/cjs/ls-swimlane.cjs.entry.js +7 -7
- package/dist/cjs/{nl-deIv6WRm.js → nl-CL-nUKrW.js} +1 -1
- package/dist/cjs/{period-BeITs0Af.js → period-CrbNyBW4.js} +1 -1
- package/dist/cjs/{safe-relative-time-CBLCx1S2.js → safe-relative-time-CUETUSUN.js} +2 -2
- package/dist/cjs/{sensorInfo-CxlcXKvx.js → sensorInfo-DtGIgpj7.js} +1 -1
- package/dist/cjs/{sortBy-BxklLsbW.js → sortBy-ppaCwaHQ.js} +2 -2
- package/dist/cjs/{status-codes.store-a-jBzlPR.js → status-codes.store-CGd1edG5.js} +2 -2
- package/dist/cjs/{store-BtH6O4f1.js → store-BAC0TOVe.js} +3 -3
- package/dist/cjs/{store-error-ZdVHSlmr.js → store-error-BAkEv9uP.js} +1 -1
- package/dist/cjs/{swimlane-constants-B61B7DfG.js → swimlane-constants-1RbOUJd2.js} +3 -3
- package/dist/cjs/{timestamps-YAzoaGW9.js → timestamps-CRSUzveY.js} +1 -1
- package/dist/collection/components/ls-3d-scene/ls-3d-scene.js +26 -3
- package/dist/collection/components/ls-data/ls-data.js +8 -18
- package/dist/collection/components/ls-status/ls-status.css +14 -44
- package/dist/collection/components/ls-status/ls-status.js +9 -2
- package/dist/collection/components/ls-status-item/ls-status-item.js +0 -1
- package/dist/collection/components/ls-status-messages/ls-status-messages.js +1 -2
- package/dist/collection/utils/i18n.js +1 -1
- package/dist/collection/utils/session-permissions.js +31 -0
- package/dist/collection/utils/translations.js +2 -2
- package/dist/components/ls-3d-scene.js +2 -2
- package/dist/components/ls-data.js +1 -1
- package/dist/components/ls-status-item2.js +1 -1
- package/dist/components/ls-status-messages.js +1 -1
- package/dist/components/ls-status.js +1 -1
- package/dist/components/store.js +1 -1
- package/dist/ednl-liftstatus-web-components/ednl-liftstatus-web-components.esm.js +1 -1
- package/dist/ednl-liftstatus-web-components/{p-fd9e1198.entry.js → p-04595102.entry.js} +3 -3
- package/dist/ednl-liftstatus-web-components/{p-7e9725e6.entry.js → p-2615134f.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-68e42cbd.entry.js → p-2b75a7d2.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-371e008d.entry.js → p-30589dd5.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-9ca17383.entry.js → p-62c2b6c3.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-be58ace0.entry.js → p-6b87d7ce.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-0f56a53c.entry.js → p-733e88db.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/p-89b2d1b9.entry.js +1 -0
- package/dist/ednl-liftstatus-web-components/{p-Cf7Lbc0z.js → p-BNxe5sye.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-BucRqlox.js → p-BzZBVh5g.js} +1 -1
- package/dist/ednl-liftstatus-web-components/p-C6oaoze0.js +1 -0
- package/dist/ednl-liftstatus-web-components/{p-DfJ7ioh1.js → p-CLES5Am0.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-CHSuuhXi.js → p-Ca9AC73B.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-DQlE1zu7.js → p-CdeZiu7c.js} +2 -2
- package/dist/ednl-liftstatus-web-components/{p-oXKYyJvZ.js → p-CgCghaxm.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-DgvGVe0N.js → p-DLRaBvIG.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-B32Q57bV.js → p-DaX0LFcX.js} +1 -1
- package/dist/ednl-liftstatus-web-components/p-DsHc6WQA.js +1 -0
- package/dist/ednl-liftstatus-web-components/{p-Bi7Pai2y.js → p-KqTGckud.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-33d51f40.entry.js → p-b41161e0.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/p-d2a2bc87.entry.js +1 -0
- package/dist/ednl-liftstatus-web-components/p-e86e455e.entry.js +1 -0
- package/dist/ednl-liftstatus-web-components/{p-4fa53eab.entry.js → p-ef76bad7.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-b2b20bb5.entry.js → p-f3e9060c.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/{p-2ea7667d.entry.js → p-f8701d09.entry.js} +1 -1
- package/dist/ednl-liftstatus-web-components/p-fba515aa.entry.js +1 -0
- package/dist/ednl-liftstatus-web-components/{p-CSz-bdBa.js → p-phJ06479.js} +1 -1
- package/dist/ednl-liftstatus-web-components/p-tot2w84b.js +1 -0
- package/dist/esm/{api-DpFacoTO.js → api-BUzvfGGW.js} +1 -1
- package/dist/esm/{error-message-NOptv-Qh.js → error-message-C2b9H2YF.js} +1 -1
- package/dist/esm/{icons-DrvzczEk.js → icons-BoAHA__R.js} +1 -1
- package/dist/esm/{locale-state-Ba00TvuN.js → locale-state-CHnOQQR4.js} +1 -1
- package/dist/esm/ls-3d-scene.entry.js +32 -9
- package/dist/esm/ls-counters.entry.js +7 -7
- package/dist/esm/ls-data.entry.js +252 -251
- package/dist/esm/ls-date-picker.entry.js +3 -3
- package/dist/esm/ls-energy-usage.entry.js +7 -7
- package/dist/esm/ls-history-swimlane.entry.js +7 -7
- package/dist/esm/ls-indicator.entry.js +3 -3
- package/dist/esm/ls-recent-stops.entry.js +5 -5
- package/dist/esm/ls-reset-steering.entry.js +5 -5
- package/dist/esm/ls-status-count.entry.js +7 -7
- package/dist/esm/ls-status-history.entry.js +11 -11
- package/dist/esm/ls-status-item.entry.js +6 -7
- package/dist/esm/ls-status-messages.entry.js +12 -13
- package/dist/esm/ls-status.entry.js +12 -6
- package/dist/esm/ls-swimlane.entry.js +7 -7
- package/dist/esm/{nl-CJE9jR6B.js → nl-CmpRuLW2.js} +1 -1
- package/dist/esm/{period-DyNrPE-O.js → period-Cm0dAx9i.js} +1 -1
- package/dist/esm/{safe-relative-time-DIoJRCJ2.js → safe-relative-time-Qxu7nzxG.js} +2 -2
- package/dist/esm/{sensorInfo-DuUSCegx.js → sensorInfo-CShcDZJf.js} +1 -1
- package/dist/esm/{sortBy-CkXKwZ1N.js → sortBy-Df_dAg6n.js} +2 -2
- package/dist/esm/{status-codes.store-Bv7Lt8pg.js → status-codes.store-B3IAgopg.js} +2 -2
- package/dist/esm/{store-C3172vr5.js → store-DVq1H2mX.js} +3 -3
- package/dist/esm/{store-error-u0pJr8bm.js → store-error-42bJsoV9.js} +1 -1
- package/dist/esm/{swimlane-constants-DR-XruVD.js → swimlane-constants-D_o0Jc2n.js} +3 -3
- package/dist/esm/{timestamps-BcA1RVEW.js → timestamps-jRr2jcpH.js} +1 -1
- package/dist/types/components/ls-3d-scene/ls-3d-scene.d.ts +5 -0
- package/dist/types/components/ls-status/ls-status.d.ts +3 -0
- package/dist/types/utils/session-permissions.d.ts +10 -0
- package/dist/types/utils/translations.d.ts +2 -2
- package/package.json +11 -12
- package/dist/ednl-liftstatus-web-components/p-2cf3b37d.entry.js +0 -1
- package/dist/ednl-liftstatus-web-components/p-82509fb6.entry.js +0 -1
- package/dist/ednl-liftstatus-web-components/p-BKlcnfRl.js +0 -1
- package/dist/ednl-liftstatus-web-components/p-CD7qqCYG.js +0 -1
- package/dist/ednl-liftstatus-web-components/p-DKv3Sgsd.js +0 -1
- package/dist/ednl-liftstatus-web-components/p-a883c37d.entry.js +0 -1
- package/dist/ednl-liftstatus-web-components/p-c27d416e.entry.js +0 -1
- /package/dist/ednl-liftstatus-web-components/{p-bXk7HZ2Z.js → p-muNbdGiY.js} +0 -0
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BRUAq2EB.js');
|
|
4
4
|
var sensors = require('./sensors-DqBjrPzl.js');
|
|
5
|
-
var store = require('./store-
|
|
6
|
-
var safeRelativeTime = require('./safe-relative-time-
|
|
7
|
-
require('./nl-
|
|
8
|
-
var errorMessage = require('./error-message-
|
|
9
|
-
var localeState = require('./locale-state-
|
|
10
|
-
var storeError = require('./store-error-
|
|
5
|
+
var store = require('./store-BAC0TOVe.js');
|
|
6
|
+
var safeRelativeTime = require('./safe-relative-time-CUETUSUN.js');
|
|
7
|
+
require('./nl-CL-nUKrW.js');
|
|
8
|
+
var errorMessage = require('./error-message-BGSyIOKs.js');
|
|
9
|
+
var localeState = require('./locale-state-CSzvyXag.js');
|
|
10
|
+
var storeError = require('./store-error-BAkEv9uP.js');
|
|
11
11
|
var isNil = require('./isNil-B-fGcnNC.js');
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -55088,7 +55088,7 @@ const Ls3dScene = class {
|
|
|
55088
55088
|
},
|
|
55089
55089
|
};
|
|
55090
55090
|
const snapshot = (_d = this.store) === null || _d === void 0 ? void 0 : _d.state.currentSensorData;
|
|
55091
|
-
if (snapshot !== undefined) {
|
|
55091
|
+
if (snapshot !== undefined && !this.errorState.hasError) {
|
|
55092
55092
|
this.processSensorUpdate(snapshot, true);
|
|
55093
55093
|
// Ensure initial movement state is visually applied once the model is ready.
|
|
55094
55094
|
const initialMovement = snapshot.values[sensors.SENSOR.MovementState];
|
|
@@ -55492,6 +55492,25 @@ const Ls3dScene = class {
|
|
|
55492
55492
|
})
|
|
55493
55493
|
.start();
|
|
55494
55494
|
};
|
|
55495
|
+
/**
|
|
55496
|
+
* A lost connection leaves the last known movement in place, so the blurred
|
|
55497
|
+
* scene would keep suggesting a lift in motion. Stops without easing out.
|
|
55498
|
+
*/
|
|
55499
|
+
this.freezeMovement = () => {
|
|
55500
|
+
if (!isNil.isNil(this.arrowUp))
|
|
55501
|
+
this.hideNode(this.arrowUp);
|
|
55502
|
+
if (!isNil.isNil(this.arrowDown))
|
|
55503
|
+
this.hideNode(this.arrowDown);
|
|
55504
|
+
this.stopPulseArrowAnimation();
|
|
55505
|
+
this.stopDoorAnimation();
|
|
55506
|
+
this.animateTheFloor = false;
|
|
55507
|
+
this.isEasingIn = false;
|
|
55508
|
+
this.isEasingOut = false;
|
|
55509
|
+
if (this.floorAnimationTween !== null) {
|
|
55510
|
+
this.floorAnimationTween.stop();
|
|
55511
|
+
this.floorAnimationTween = null;
|
|
55512
|
+
}
|
|
55513
|
+
};
|
|
55495
55514
|
this.stopAnimateFloorsIndicator = (elevatorDirection) => {
|
|
55496
55515
|
const indicator = this.floorSeparatorIndicator;
|
|
55497
55516
|
if (isNil.isNil(indicator)) {
|
|
@@ -55771,6 +55790,7 @@ const Ls3dScene = class {
|
|
|
55771
55790
|
errorMessage.applyErrorMessage(this.canvas, errorMessage.getErrorMessageForDisplay(this.errorState.messageKey, this.store.state.locale));
|
|
55772
55791
|
}
|
|
55773
55792
|
this.clearTimer();
|
|
55793
|
+
this.freezeMovement();
|
|
55774
55794
|
return;
|
|
55775
55795
|
}
|
|
55776
55796
|
// No error detected
|
|
@@ -55780,6 +55800,9 @@ const Ls3dScene = class {
|
|
|
55780
55800
|
messageKey: undefined,
|
|
55781
55801
|
type: store.ErrorType.None,
|
|
55782
55802
|
};
|
|
55803
|
+
// Movement is only (re)started when the sensor value differs from the
|
|
55804
|
+
// last applied one, and the frozen scene no longer shows that value.
|
|
55805
|
+
this.movementState = undefined;
|
|
55783
55806
|
}
|
|
55784
55807
|
if (!isNil.isNil(this.canvas)) {
|
|
55785
55808
|
errorMessage.clearErrorMessage(this.canvas);
|
|
@@ -55986,9 +56009,9 @@ const Ls3dScene = class {
|
|
|
55986
56009
|
render() {
|
|
55987
56010
|
var _a, _b, _c;
|
|
55988
56011
|
const effectiveLastUpdate = this.lastUpdate === undefined || this.lastUpdate === 0 ? ((_b = (_a = this.store) === null || _a === void 0 ? void 0 : _a.state.currentSensorData.lastUpdate) !== null && _b !== void 0 ? _b : 0) : this.lastUpdate;
|
|
55989
|
-
return (index.h(index.Host, { key: '
|
|
56012
|
+
return (index.h(index.Host, { key: '4bb7a465cf45aa583e5ec0acb8fab74c7bb072aa' }, index.h("div", { key: '70a06fceee0f12cf2bc05e9dc1c522fc023a3cb7', class: "canvas", ref: el => {
|
|
55990
56013
|
this.canvas = el;
|
|
55991
|
-
} }, index.h("ls-indicator", { key: '
|
|
56014
|
+
} }, index.h("ls-indicator", { key: 'f03b525f176478278e326b8981f1c6bce4aec1cb', class: "current-floor", "sensor-id": sensors.SENSOR.CurrentStop, "id-key": this.idKey }), index.h("ls-indicator", { key: 'cf9e365cfe9c49e706e0624eb73851e2d6cd9285', class: "last-passed-floor", "sensor-id": sensors.SENSOR.LastPassedStop, "id-key": this.idKey }), index.h("div", { key: '1b2b2e2f8be8c6eb5cfa265b4abbb7b8d9ee5847', class: "last-update" }, safeRelativeTime.getSafeRelativeTime(effectiveLastUpdate, (_c = this.store) === null || _c === void 0 ? void 0 : _c.state.locale))), index.h("slot", { key: '2af78d783681325a1bfc281d37ccf560f207d95f' })));
|
|
55992
56015
|
}
|
|
55993
56016
|
static get assetsDirs() { return ["assets"]; }
|
|
55994
56017
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BRUAq2EB.js');
|
|
4
|
-
var store = require('./store-
|
|
5
|
-
require('./nl-
|
|
6
|
-
var api = require('./api-
|
|
7
|
-
var errorMessage = require('./error-message-
|
|
8
|
-
var localeState = require('./locale-state-
|
|
4
|
+
var store = require('./store-BAC0TOVe.js');
|
|
5
|
+
require('./nl-CL-nUKrW.js');
|
|
6
|
+
var api = require('./api-aJkn6GAA.js');
|
|
7
|
+
var errorMessage = require('./error-message-BGSyIOKs.js');
|
|
8
|
+
var localeState = require('./locale-state-CSzvyXag.js');
|
|
9
9
|
var sensors = require('./sensors-DqBjrPzl.js');
|
|
10
|
-
var period = require('./period-
|
|
11
|
-
var storeError = require('./store-error-
|
|
10
|
+
var period = require('./period-CrbNyBW4.js');
|
|
11
|
+
var storeError = require('./store-error-BAkEv9uP.js');
|
|
12
12
|
var emDash = require('./em-dash-BaIXt_2W.js');
|
|
13
13
|
var isNil = require('./isNil-B-fGcnNC.js');
|
|
14
14
|
var debounce = require('./debounce-DUdTuYyk.js');
|