ednl-liftstatus-web-components 1.6.0 → 1.7.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.
Files changed (87) hide show
  1. package/dist/cjs/ednl-liftstatus-web-components.cjs.js +2 -2
  2. package/dist/cjs/{index-b5d10454.js → index-5589581f.js} +15 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/ls-3d-scene_8.cjs.entry.js +96465 -0
  5. package/dist/cjs/ls-counters.cjs.entry.js +1 -1
  6. package/dist/cjs/ls-history.cjs.entry.js +1 -1
  7. package/dist/cjs/ls-status-history.cjs.entry.js +1 -1
  8. package/dist/collection/collection-manifest.json +1 -0
  9. package/dist/collection/components/ls-3d-scene/ls-3d-scene.js +1 -1
  10. package/dist/collection/components/ls-indicator/ls-indicator.js +1 -1
  11. package/dist/collection/components/ls-recent-stops/ls-recent-stops.js +2 -1
  12. package/dist/collection/components/ls-status/ls-status.js +2 -2
  13. package/dist/collection/components/ls-status-item/ls-status-item.js +6 -6
  14. package/dist/collection/components/ls-status-messages/ls-status-messages.css +80 -0
  15. package/dist/collection/components/ls-status-messages/ls-status-messages.js +134 -0
  16. package/dist/collection/components/ls-swimlane/ls-swimlane.js +3 -1
  17. package/dist/collection/store.js +9278 -1
  18. package/dist/custom-elements/index.d.ts +6 -0
  19. package/dist/custom-elements/index.js +9404 -10
  20. package/dist/ednl-liftstatus-web-components/ednl-liftstatus-web-components.css +2 -2
  21. package/dist/ednl-liftstatus-web-components/ednl-liftstatus-web-components.esm.js +1 -1
  22. package/dist/ednl-liftstatus-web-components/{p-a0ef071b.entry.js → p-02d4fbbb.entry.js} +1 -1
  23. package/dist/ednl-liftstatus-web-components/{p-89ad1f6c.entry.js → p-4ff6e800.entry.js} +1 -1
  24. package/dist/ednl-liftstatus-web-components/p-5169b6d6.entry.js +3 -0
  25. package/dist/ednl-liftstatus-web-components/p-9b904655.js +1 -0
  26. package/dist/ednl-liftstatus-web-components/{p-d56bddc2.entry.js → p-a49bbeae.entry.js} +1 -1
  27. package/dist/esm/ednl-liftstatus-web-components.js +2 -2
  28. package/dist/esm/{index-6306be70.js → index-a4f084a4.js} +15 -0
  29. package/dist/esm/loader.js +2 -2
  30. package/dist/esm/ls-3d-scene_8.entry.js +96454 -0
  31. package/dist/esm/ls-counters.entry.js +1 -1
  32. package/dist/esm/ls-history.entry.js +1 -1
  33. package/dist/esm/ls-status-history.entry.js +1 -1
  34. package/dist/types/components/ls-data/types.d.ts +215 -0
  35. package/dist/types/components/ls-indicator/ls-indicator.d.ts +3 -0
  36. package/dist/types/components/ls-status-item/ls-status-item.d.ts +5 -7
  37. package/dist/types/components/ls-status-messages/ls-status-messages.d.ts +42 -0
  38. package/dist/types/components.d.ts +29 -2
  39. package/dist/types/store.d.ts +9277 -0
  40. package/dist/types/utils/types.d.ts +234 -0
  41. package/package.json +1 -1
  42. package/dist/cjs/dayjs.min-42b4712a.js +0 -9
  43. package/dist/cjs/global-9027a413.js +0 -7
  44. package/dist/cjs/isEmpty-437e2887.js +0 -72
  45. package/dist/cjs/ls-3d-scene.cjs.entry.js +0 -50687
  46. package/dist/cjs/ls-data.cjs.entry.js +0 -9957
  47. package/dist/cjs/ls-indicator.cjs.entry.js +0 -38
  48. package/dist/cjs/ls-recent-stops.cjs.entry.js +0 -16762
  49. package/dist/cjs/ls-status-item.cjs.entry.js +0 -43
  50. package/dist/cjs/ls-status.cjs.entry.js +0 -24
  51. package/dist/cjs/ls-swimlane.cjs.entry.js +0 -1040
  52. package/dist/cjs/process-es6-39ef8921.js +0 -227
  53. package/dist/cjs/pubsub-5a5af33e.js +0 -385
  54. package/dist/cjs/store-1909bcd3.js +0 -199
  55. package/dist/cjs/transform-57fbd12b.js +0 -6963
  56. package/dist/cjs/values-e1bf1cf4.js +0 -939
  57. package/dist/ednl-liftstatus-web-components/p-08fe7342.entry.js +0 -1
  58. package/dist/ednl-liftstatus-web-components/p-1adfa076.js +0 -1
  59. package/dist/ednl-liftstatus-web-components/p-229b62fa.entry.js +0 -3
  60. package/dist/ednl-liftstatus-web-components/p-251fca23.entry.js +0 -1
  61. package/dist/ednl-liftstatus-web-components/p-2d180048.js +0 -1
  62. package/dist/ednl-liftstatus-web-components/p-3eb7d9ca.js +0 -1
  63. package/dist/ednl-liftstatus-web-components/p-66ca7523.entry.js +0 -1
  64. package/dist/ednl-liftstatus-web-components/p-89992d8e.js +0 -1
  65. package/dist/ednl-liftstatus-web-components/p-8d558661.js +0 -1
  66. package/dist/ednl-liftstatus-web-components/p-8f852ed5.entry.js +0 -1
  67. package/dist/ednl-liftstatus-web-components/p-a7b39b3c.js +0 -1
  68. package/dist/ednl-liftstatus-web-components/p-ac4b9712.js +0 -1
  69. package/dist/ednl-liftstatus-web-components/p-b8177bd9.entry.js +0 -1
  70. package/dist/ednl-liftstatus-web-components/p-d090c3c5.js +0 -1
  71. package/dist/ednl-liftstatus-web-components/p-d691795e.entry.js +0 -1
  72. package/dist/ednl-liftstatus-web-components/p-e369b114.js +0 -1
  73. package/dist/esm/dayjs.min-3ec7a1f5.js +0 -7
  74. package/dist/esm/global-e1c7e609.js +0 -5
  75. package/dist/esm/isEmpty-078ceec3.js +0 -70
  76. package/dist/esm/ls-3d-scene.entry.js +0 -50683
  77. package/dist/esm/ls-data.entry.js +0 -9953
  78. package/dist/esm/ls-indicator.entry.js +0 -34
  79. package/dist/esm/ls-recent-stops.entry.js +0 -16758
  80. package/dist/esm/ls-status-item.entry.js +0 -39
  81. package/dist/esm/ls-status.entry.js +0 -20
  82. package/dist/esm/ls-swimlane.entry.js +0 -1036
  83. package/dist/esm/process-es6-6fcfb3fc.js +0 -225
  84. package/dist/esm/pubsub-be011690.js +0 -380
  85. package/dist/esm/store-555131e7.js +0 -197
  86. package/dist/esm/transform-787c3a23.js +0 -6806
  87. package/dist/esm/values-5e76f985.js +0 -914
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-b5d10454.js');
3
+ const index = require('./index-5589581f.js');
4
4
 
5
5
  /*
6
6
  Stencil Client Patch Browser v2.9.0 | MIT Licensed | https://stenciljs.com
@@ -15,5 +15,5 @@ const patchBrowser = () => {
15
15
  };
16
16
 
17
17
  patchBrowser().then(options => {
18
- return index.bootstrapLazy([["ls-3d-scene.cjs",[[1,"ls-3d-scene",{"sensor500":[32],"sensor515":[32],"sensor514":[32]}]]],["ls-status.cjs",[[1,"ls-status",{"sensorIds":[1,"sensor-ids"]}]]],["ls-counters.cjs",[[1,"ls-counters"]]],["ls-data.cjs",[[1,"ls-data",{"accessToken":[1,"access-token"]}]]],["ls-history.cjs",[[1,"ls-history"]]],["ls-recent-stops.cjs",[[4,"ls-recent-stops",{"chartLoading":[32]}]]],["ls-status-history.cjs",[[1,"ls-status-history"]]],["ls-swimlane.cjs",[[4,"ls-swimlane"]]],["ls-indicator.cjs",[[1,"ls-indicator",{"sensorId":[8,"sensor-id"],"dataLabel":[32],"sensorData":[32]}]]],["ls-status-item.cjs",[[1,"ls-status-item",{"sensorId":[2,"sensor-id"],"dataLabel":[32],"sensorData":[32],"timestamp":[32]}]]]], options);
18
+ return index.bootstrapLazy([["ls-counters.cjs",[[1,"ls-counters"]]],["ls-history.cjs",[[1,"ls-history"]]],["ls-status-history.cjs",[[1,"ls-status-history"]]],["ls-3d-scene_8.cjs",[[1,"ls-3d-scene",{"sensor500":[32],"sensor515":[32],"sensor514":[32]}],[1,"ls-status",{"sensorIds":[1,"sensor-ids"]}],[1,"ls-data",{"accessToken":[1,"access-token"]}],[4,"ls-recent-stops",{"chartLoading":[32]}],[1,"ls-status-messages",{"showTitle":[4,"show-title"],"statusMessages":[32],"lastChange":[32],"time":[32]}],[4,"ls-swimlane"],[1,"ls-indicator",{"sensorId":[8,"sensor-id"],"dataLabel":[32],"sensorData":[32]}],[1,"ls-status-item",{"sensorId":[2,"sensor-id"],"sensorData":[32],"timestamp":[32]}]]]], options);
19
19
  });
@@ -1024,6 +1024,11 @@ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1024
1024
  const parsePropertyValue = (propValue, propType) => {
1025
1025
  // ensure this value is of the correct prop type
1026
1026
  if (propValue != null && !isComplexType(propValue)) {
1027
+ if (propType & 4 /* Boolean */) {
1028
+ // per the HTML spec, any string value means it is a boolean true value
1029
+ // but we'll cheat here and say that the string "false" is the boolean false
1030
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
1031
+ }
1027
1032
  if (propType & 2 /* Number */) {
1028
1033
  // force it to be a number
1029
1034
  return parseFloat(propValue);
@@ -1185,6 +1190,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1185
1190
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1186
1191
  }
1187
1192
  endNewInstance();
1193
+ fireConnectedCallback(hostRef.$lazyInstance$);
1188
1194
  }
1189
1195
  if (Cstr.style) {
1190
1196
  // this component has styles but we haven't registered them yet
@@ -1213,6 +1219,11 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1213
1219
  schedule();
1214
1220
  }
1215
1221
  };
1222
+ const fireConnectedCallback = (instance) => {
1223
+ {
1224
+ safeCall(instance, 'connectedCallback');
1225
+ }
1226
+ };
1216
1227
  const connectedCallback = (elm) => {
1217
1228
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1218
1229
  const hostRef = getHostRef(elm);
@@ -1260,6 +1271,10 @@ const connectedCallback = (elm) => {
1260
1271
  initializeComponent(elm, hostRef, cmpMeta);
1261
1272
  }
1262
1273
  }
1274
+ else {
1275
+ // fire off connectedCallback() on component instance
1276
+ fireConnectedCallback(hostRef.$lazyInstance$);
1277
+ }
1263
1278
  endConnected();
1264
1279
  }
1265
1280
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b5d10454.js');
5
+ const index = require('./index-5589581f.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.9.0 | MIT Licensed | https://stenciljs.com
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["ls-3d-scene.cjs",[[1,"ls-3d-scene",{"sensor500":[32],"sensor515":[32],"sensor514":[32]}]]],["ls-status.cjs",[[1,"ls-status",{"sensorIds":[1,"sensor-ids"]}]]],["ls-counters.cjs",[[1,"ls-counters"]]],["ls-data.cjs",[[1,"ls-data",{"accessToken":[1,"access-token"]}]]],["ls-history.cjs",[[1,"ls-history"]]],["ls-recent-stops.cjs",[[4,"ls-recent-stops",{"chartLoading":[32]}]]],["ls-status-history.cjs",[[1,"ls-status-history"]]],["ls-swimlane.cjs",[[4,"ls-swimlane"]]],["ls-indicator.cjs",[[1,"ls-indicator",{"sensorId":[8,"sensor-id"],"dataLabel":[32],"sensorData":[32]}]]],["ls-status-item.cjs",[[1,"ls-status-item",{"sensorId":[2,"sensor-id"],"dataLabel":[32],"sensorData":[32],"timestamp":[32]}]]]], options);
17
+ return index.bootstrapLazy([["ls-counters.cjs",[[1,"ls-counters"]]],["ls-history.cjs",[[1,"ls-history"]]],["ls-status-history.cjs",[[1,"ls-status-history"]]],["ls-3d-scene_8.cjs",[[1,"ls-3d-scene",{"sensor500":[32],"sensor515":[32],"sensor514":[32]}],[1,"ls-status",{"sensorIds":[1,"sensor-ids"]}],[1,"ls-data",{"accessToken":[1,"access-token"]}],[4,"ls-recent-stops",{"chartLoading":[32]}],[1,"ls-status-messages",{"showTitle":[4,"show-title"],"statusMessages":[32],"lastChange":[32],"time":[32]}],[4,"ls-swimlane"],[1,"ls-indicator",{"sensorId":[8,"sensor-id"],"dataLabel":[32],"sensorData":[32]}],[1,"ls-status-item",{"sensorId":[2,"sensor-id"],"sensorData":[32],"timestamp":[32]}]]]], options);
18
18
  });
19
19
  };
20
20