@startinblox/core 0.19.0-beta.23 → 0.19.0-beta.25

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.
@@ -0,0 +1,4 @@
1
+ const MarkerCluster = ".leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {\n -webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;\n -moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;\n -o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;\n transition: transform 0.3s ease-out, opacity 0.3s ease-in;\n}\n\n.leaflet-cluster-spider-leg {\n /* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */\n -webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;\n -moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;\n -o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;\n transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;\n}\n";
2
+ export {
3
+ MarkerCluster as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const MarkerCluster_Default = '.marker-cluster-small {\n background-color: rgba(181, 226, 140, 0.6);\n }\n.marker-cluster-small div {\n background-color: rgba(110, 204, 57, 0.6);\n }\n\n.marker-cluster-medium {\n background-color: rgba(241, 211, 87, 0.6);\n }\n.marker-cluster-medium div {\n background-color: rgba(240, 194, 12, 0.6);\n }\n\n.marker-cluster-large {\n background-color: rgba(253, 156, 115, 0.6);\n }\n.marker-cluster-large div {\n background-color: rgba(241, 128, 23, 0.6);\n }\n\n /* IE 6-8 fallback colors */\n.leaflet-oldie .marker-cluster-small {\n background-color: rgb(181, 226, 140);\n }\n.leaflet-oldie .marker-cluster-small div {\n background-color: rgb(110, 204, 57);\n }\n\n.leaflet-oldie .marker-cluster-medium {\n background-color: rgb(241, 211, 87);\n }\n.leaflet-oldie .marker-cluster-medium div {\n background-color: rgb(240, 194, 12);\n }\n\n.leaflet-oldie .marker-cluster-large {\n background-color: rgb(253, 156, 115);\n }\n.leaflet-oldie .marker-cluster-large div {\n background-color: rgb(241, 128, 23);\n}\n\n.marker-cluster {\n background-clip: padding-box;\n border-radius: 20px;\n }\n.marker-cluster div {\n width: 30px;\n height: 30px;\n margin-left: 5px;\n margin-top: 5px;\n\n text-align: center;\n border-radius: 15px;\n font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;\n }\n.marker-cluster span {\n line-height: 30px;\n }';
2
+ export {
3
+ MarkerCluster_Default as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const defaultTheme = "/*==== SOLID-MAP ====*/\n/* map custom marker */\n.sib-custom-marker {\n position: absolute;\n top: 40%;\n left: 50%;\n margin-left: 115px;\n border-radius: 50%;\n border: 8px solid #1c78c9;\n width: 8px;\n height: 8px;\n}\n.sib-custom-marker::after {\n position: absolute;\n content: '';\n width: 0px;\n height: 0px;\n bottom: -30px;\n left: -6px;\n border: 10px solid transparent;\n border-top-width: 17px;\n border-top-style: solid;\n border-top-color: inherit;\n}";
2
+ export {
3
+ defaultTheme as default
4
+ };
@@ -11,4 +11,3 @@ const en = {
11
11
  export {
12
12
  en as default
13
13
  };
14
- //# sourceMappingURL=en-e53105c5.js.map
@@ -11,4 +11,3 @@ const fr = {
11
11
  export {
12
12
  fr as default
13
13
  };
14
- //# sourceMappingURL=fr-a7fcdb64.js.map
@@ -1368,6 +1368,29 @@ function importCSS(...stylesheets) {
1368
1368
  }
1369
1369
  return linksElements;
1370
1370
  }
1371
+ function importInlineCSS(id, importer) {
1372
+ id = `sib-inline-css-${id}`;
1373
+ let style = document.head.querySelector(`style#${id}`);
1374
+ if (style)
1375
+ return style;
1376
+ style = document.createElement("style");
1377
+ style.id = id;
1378
+ document.head.appendChild(style);
1379
+ (async () => {
1380
+ let textContent;
1381
+ if (typeof importer === "string")
1382
+ textContent = importer;
1383
+ else {
1384
+ const imported = await importer();
1385
+ if (typeof imported === "string")
1386
+ textContent = imported;
1387
+ else
1388
+ textContent = imported.default || "";
1389
+ }
1390
+ style.textContent = textContent;
1391
+ })();
1392
+ return style;
1393
+ }
1371
1394
  function importJS(...plugins) {
1372
1395
  return plugins.map((url) => {
1373
1396
  url = new URL(url, document.baseURI).href;
@@ -1514,8 +1537,11 @@ function transformArrayToContainer(resource) {
1514
1537
  if (!Array.isArray(predicateValue) && predicateValue["@id"]) {
1515
1538
  newValue[predicate] = transformArrayToContainer(resource[predicate]);
1516
1539
  }
1517
- if (Array.isArray(predicateValue)) {
1518
- newValue[predicate] = { "ldp:contains": [...predicateValue] };
1540
+ if (Array.isArray(predicateValue) && predicateValue["@id"]) {
1541
+ newValue[predicate] = {
1542
+ "@id": predicateValue["@id"],
1543
+ "ldp:contains": [...predicateValue]
1544
+ };
1519
1545
  newValue[predicate]["ldp:contains"].forEach((childPredicate, index) => {
1520
1546
  newValue[predicate]["ldp:contains"][index] = transformArrayToContainer(childPredicate);
1521
1547
  });
@@ -1528,9 +1554,8 @@ class AsyncIterableBuilder {
1528
1554
  __privateAdd(this, _createIterable);
1529
1555
  __privateAdd(this, _next);
1530
1556
  __privateAdd(this, _nextPromise);
1531
- __privateAdd(this, _values, void 0);
1557
+ __privateAdd(this, _values, []);
1532
1558
  __privateAdd(this, _resolve, void 0);
1533
- __privateSet(this, _values, []);
1534
1559
  __privateMethod(this, _nextPromise, nextPromise_fn).call(this);
1535
1560
  this.iterable = __privateMethod(this, _createIterable, createIterable_fn).call(this);
1536
1561
  this.next = __privateMethod(this, _next, next_fn).bind(this);
@@ -1607,6 +1632,7 @@ const helpers = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
1607
1632
  findClosingBracketMatchIndex,
1608
1633
  fuzzyCompare,
1609
1634
  importCSS,
1635
+ importInlineCSS,
1610
1636
  importJS,
1611
1637
  loadScript,
1612
1638
  parseFieldsString,
@@ -1623,16 +1649,16 @@ export {
1623
1649
  defineComponent as d,
1624
1650
  evalTemplateString as e,
1625
1651
  fuzzyCompare as f,
1626
- importJS as g,
1652
+ importCSS as g,
1627
1653
  helpers as h,
1628
- importCSS as i,
1629
- domIsReady as j,
1630
- asyncQuerySelector as k,
1654
+ importInlineCSS as i,
1655
+ importJS as j,
1656
+ domIsReady as k,
1631
1657
  loadScript as l,
1632
- asyncQuerySelectorAll as m,
1658
+ asyncQuerySelector as m,
1659
+ asyncQuerySelectorAll as n,
1633
1660
  parseFieldsString as p,
1634
1661
  setDeepProperty as s,
1635
1662
  transformArrayToContainer as t,
1636
1663
  uniqID as u
1637
1664
  };
1638
- //# sourceMappingURL=helpers-411e08e4.js.map
package/dist/helpers.js CHANGED
@@ -1,17 +1,18 @@
1
- import { A, k, m, c, A as A2, d, j, e, a, f, i, g, l, p, s, b, t, u } from "./assets/helpers-411e08e4.js";
1
+ import { A, m, n, c, A as A2, d, k, e, a, f, g, i, j, l, p, s, b, t, u } from "./helpers-4tVqSOBU.js";
2
2
  export {
3
3
  A as AsyncIterableBuilder,
4
- k as asyncQuerySelector,
5
- m as asyncQuerySelectorAll,
4
+ m as asyncQuerySelector,
5
+ n as asyncQuerySelectorAll,
6
6
  c as compare,
7
7
  A2 as default,
8
8
  d as defineComponent,
9
- j as domIsReady,
9
+ k as domIsReady,
10
10
  e as evalTemplateString,
11
11
  a as findClosingBracketMatchIndex,
12
12
  f as fuzzyCompare,
13
- i as importCSS,
14
- g as importJS,
13
+ g as importCSS,
14
+ i as importInlineCSS,
15
+ j as importJS,
15
16
  l as loadScript,
16
17
  p as parseFieldsString,
17
18
  s as setDeepProperty,
@@ -19,4 +20,3 @@ export {
19
20
  t as transformArrayToContainer,
20
21
  u as uniqID
21
22
  };
22
- //# sourceMappingURL=helpers.js.map