@startinblox/core 2.0.6-beta.9 → 2.0.6
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/README.md +0 -5
- package/dist/{fr-BZZDTsmw.js → fr-ClQZ5-J-.js} +2 -2
- package/dist/{helpers-DtCY-jxq.js → helpers-4GFJ8HI8.js} +51 -54
- package/dist/helpers.js +17 -17
- package/dist/index.js +93806 -107123
- package/dist/store-CvtIOoU-.js +10014 -0
- package/dist/store.js +2 -5
- package/package.json +4 -41
- package/dist/custom-getter-4u-Xg-ue.js +0 -440
- package/dist/store-DsK-vxfo.js +0 -33973
- /package/dist/{en-BySYJZMr.js → en-D7xQ8_VL.js} +0 -0
- /package/dist/{quill.snow-C_A_QkE8.js → quill.snow-BMrontFB.js} +0 -0
- /package/dist/{slimselect-NFLzJMfV.js → slimselect-CT2Oyr_0.js} +0 -0
package/README.md
CHANGED
|
@@ -21,8 +21,6 @@ npm run dev
|
|
|
21
21
|
|
|
22
22
|
You can now see examples at [http://127.0.0.1:3000](http://127.0.0.1:3000/).
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
24
|
## Adding new features
|
|
27
25
|
To develop new features for `sib-core`, you can add an HTML example file in `/examples` directory and link it in `/index.html`.
|
|
28
26
|
Don't forget to import the framework:
|
|
@@ -32,9 +30,6 @@ Don't forget to import the framework:
|
|
|
32
30
|
```
|
|
33
31
|
You can now write HTML using `sib-core` and test it in your browser.
|
|
34
32
|
|
|
35
|
-
## Documentation
|
|
36
|
-
|
|
37
|
-
- **[Store API Documentation](./docs/store.md)** - Comprehensive guide to the StartinBlox Store API, including data retrieval, manipulation, and advanced querying capabilities.
|
|
38
33
|
|
|
39
34
|
## Testing
|
|
40
35
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const fr = {
|
|
2
|
-
"autocompletion.placeholder": "
|
|
2
|
+
"autocompletion.placeholder": "Sélectionner une valeur",
|
|
3
3
|
"autocompletion.searchPlaceholder": "Rechercher",
|
|
4
|
-
"autocompletion.searchText": "Aucun
|
|
4
|
+
"autocompletion.searchText": "Aucun résultat",
|
|
5
5
|
"solid-delete.button": "Supprimer",
|
|
6
6
|
"solid-form.submit-button": "Envoyer",
|
|
7
7
|
"solid-form.validation-error": "Erreur de validation.",
|
|
@@ -176,21 +176,21 @@ var hasRequiredRelativeToAbsoluteIri;
|
|
|
176
176
|
function requireRelativeToAbsoluteIri() {
|
|
177
177
|
if (hasRequiredRelativeToAbsoluteIri) return relativeToAbsoluteIri;
|
|
178
178
|
hasRequiredRelativeToAbsoluteIri = 1;
|
|
179
|
-
(function(exports
|
|
180
|
-
var __createBinding = relativeToAbsoluteIri && relativeToAbsoluteIri.__createBinding || (Object.create ?
|
|
179
|
+
(function(exports) {
|
|
180
|
+
var __createBinding = relativeToAbsoluteIri && relativeToAbsoluteIri.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
181
181
|
if (k2 === void 0) k2 = k;
|
|
182
182
|
Object.defineProperty(o, k2, { enumerable: true, get: function() {
|
|
183
183
|
return m[k];
|
|
184
184
|
} });
|
|
185
|
-
}
|
|
185
|
+
} : function(o, m, k, k2) {
|
|
186
186
|
if (k2 === void 0) k2 = k;
|
|
187
187
|
o[k2] = m[k];
|
|
188
|
-
})
|
|
189
|
-
var __exportStar = relativeToAbsoluteIri && relativeToAbsoluteIri.__exportStar || function(m,
|
|
190
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(
|
|
188
|
+
});
|
|
189
|
+
var __exportStar = relativeToAbsoluteIri && relativeToAbsoluteIri.__exportStar || function(m, exports2) {
|
|
190
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
191
191
|
};
|
|
192
|
-
Object.defineProperty(exports
|
|
193
|
-
__exportStar(requireResolve(), exports
|
|
192
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
193
|
+
__exportStar(requireResolve(), exports);
|
|
194
194
|
})(relativeToAbsoluteIri);
|
|
195
195
|
return relativeToAbsoluteIri;
|
|
196
196
|
}
|
|
@@ -199,9 +199,9 @@ var hasRequiredErrorCoded;
|
|
|
199
199
|
function requireErrorCoded() {
|
|
200
200
|
if (hasRequiredErrorCoded) return ErrorCoded;
|
|
201
201
|
hasRequiredErrorCoded = 1;
|
|
202
|
-
(function(exports
|
|
203
|
-
Object.defineProperty(exports
|
|
204
|
-
exports
|
|
202
|
+
(function(exports) {
|
|
203
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
204
|
+
exports.ERROR_CODES = exports.ErrorCoded = void 0;
|
|
205
205
|
class ErrorCoded2 extends Error {
|
|
206
206
|
/* istanbul ignore next */
|
|
207
207
|
constructor(message, code) {
|
|
@@ -209,7 +209,7 @@ function requireErrorCoded() {
|
|
|
209
209
|
this.code = code;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
exports
|
|
212
|
+
exports.ErrorCoded = ErrorCoded2;
|
|
213
213
|
(function(ERROR_CODES) {
|
|
214
214
|
ERROR_CODES["COLLIDING_KEYWORDS"] = "colliding keywords";
|
|
215
215
|
ERROR_CODES["CONFLICTING_INDEXES"] = "conflicting indexes";
|
|
@@ -263,7 +263,7 @@ function requireErrorCoded() {
|
|
|
263
263
|
ERROR_CODES["INVALID_STREAMING_KEY_ORDER"] = "invalid streaming key order";
|
|
264
264
|
ERROR_CODES["INVALID_EMBEDDED_NODE"] = "invalid embedded node";
|
|
265
265
|
ERROR_CODES["INVALID_ANNOTATION"] = "invalid annotation";
|
|
266
|
-
})(exports
|
|
266
|
+
})(exports.ERROR_CODES || (exports.ERROR_CODES = {}));
|
|
267
267
|
})(ErrorCoded);
|
|
268
268
|
return ErrorCoded;
|
|
269
269
|
}
|
|
@@ -854,9 +854,9 @@ var hasRequiredJsonLdContextNormalized;
|
|
|
854
854
|
function requireJsonLdContextNormalized() {
|
|
855
855
|
if (hasRequiredJsonLdContextNormalized) return JsonLdContextNormalized;
|
|
856
856
|
hasRequiredJsonLdContextNormalized = 1;
|
|
857
|
-
(function(exports
|
|
858
|
-
Object.defineProperty(exports
|
|
859
|
-
exports
|
|
857
|
+
(function(exports) {
|
|
858
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
859
|
+
exports.defaultExpandOptions = exports.JsonLdContextNormalized = void 0;
|
|
860
860
|
const relative_to_absolute_iri_1 = requireRelativeToAbsoluteIri();
|
|
861
861
|
const ErrorCoded_1 = /* @__PURE__ */ requireErrorCoded();
|
|
862
862
|
const Util_1 = /* @__PURE__ */ requireUtil();
|
|
@@ -891,7 +891,7 @@ function requireJsonLdContextNormalized() {
|
|
|
891
891
|
* @return {string} The expanded term, the term as-is, or null if it was explicitly disabled in the context.
|
|
892
892
|
* @throws If the term is aliased to an invalid value (not a string, IRI or keyword).
|
|
893
893
|
*/
|
|
894
|
-
expandTerm(term, expandVocab, options = exports
|
|
894
|
+
expandTerm(term, expandVocab, options = exports.defaultExpandOptions) {
|
|
895
895
|
const contextValue = this.contextRaw[term];
|
|
896
896
|
if (contextValue === null || contextValue && contextValue["@id"] === null) {
|
|
897
897
|
return null;
|
|
@@ -989,8 +989,8 @@ function requireJsonLdContextNormalized() {
|
|
|
989
989
|
return iri;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
|
-
exports
|
|
993
|
-
exports
|
|
992
|
+
exports.JsonLdContextNormalized = JsonLdContextNormalized2;
|
|
993
|
+
exports.defaultExpandOptions = {
|
|
994
994
|
allowPrefixForcing: true,
|
|
995
995
|
allowPrefixNonGenDelims: false,
|
|
996
996
|
allowVocabRelativeToBase: true
|
|
@@ -1681,8 +1681,8 @@ var hasRequiredJsonldContextParser;
|
|
|
1681
1681
|
function requireJsonldContextParser() {
|
|
1682
1682
|
if (hasRequiredJsonldContextParser) return jsonldContextParser;
|
|
1683
1683
|
hasRequiredJsonldContextParser = 1;
|
|
1684
|
-
(function(exports
|
|
1685
|
-
var __createBinding = jsonldContextParser && jsonldContextParser.__createBinding || (Object.create ?
|
|
1684
|
+
(function(exports) {
|
|
1685
|
+
var __createBinding = jsonldContextParser && jsonldContextParser.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1686
1686
|
if (k2 === void 0) k2 = k;
|
|
1687
1687
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1688
1688
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -1691,21 +1691,21 @@ function requireJsonldContextParser() {
|
|
|
1691
1691
|
} };
|
|
1692
1692
|
}
|
|
1693
1693
|
Object.defineProperty(o, k2, desc);
|
|
1694
|
-
}
|
|
1694
|
+
} : function(o, m, k, k2) {
|
|
1695
1695
|
if (k2 === void 0) k2 = k;
|
|
1696
1696
|
o[k2] = m[k];
|
|
1697
|
-
})
|
|
1698
|
-
var __exportStar = jsonldContextParser && jsonldContextParser.__exportStar || function(m,
|
|
1699
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(
|
|
1697
|
+
});
|
|
1698
|
+
var __exportStar = jsonldContextParser && jsonldContextParser.__exportStar || function(m, exports2) {
|
|
1699
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
1700
1700
|
};
|
|
1701
|
-
Object.defineProperty(exports
|
|
1702
|
-
__exportStar(/* @__PURE__ */ requireContextParser(), exports
|
|
1703
|
-
__exportStar(/* @__PURE__ */ requireErrorCoded(), exports
|
|
1704
|
-
__exportStar(/* @__PURE__ */ requireFetchDocumentLoader(), exports
|
|
1705
|
-
__exportStar(/* @__PURE__ */ requireIDocumentLoader(), exports
|
|
1706
|
-
__exportStar(/* @__PURE__ */ requireJsonLdContext(), exports
|
|
1707
|
-
__exportStar(/* @__PURE__ */ requireJsonLdContextNormalized(), exports
|
|
1708
|
-
__exportStar(/* @__PURE__ */ requireUtil(), exports
|
|
1701
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1702
|
+
__exportStar(/* @__PURE__ */ requireContextParser(), exports);
|
|
1703
|
+
__exportStar(/* @__PURE__ */ requireErrorCoded(), exports);
|
|
1704
|
+
__exportStar(/* @__PURE__ */ requireFetchDocumentLoader(), exports);
|
|
1705
|
+
__exportStar(/* @__PURE__ */ requireIDocumentLoader(), exports);
|
|
1706
|
+
__exportStar(/* @__PURE__ */ requireJsonLdContext(), exports);
|
|
1707
|
+
__exportStar(/* @__PURE__ */ requireJsonLdContextNormalized(), exports);
|
|
1708
|
+
__exportStar(/* @__PURE__ */ requireUtil(), exports);
|
|
1709
1709
|
})(jsonldContextParser);
|
|
1710
1710
|
return jsonldContextParser;
|
|
1711
1711
|
}
|
|
@@ -1861,7 +1861,7 @@ function fuzzyCompare(subject, search) {
|
|
|
1861
1861
|
return compareTransform(subject).includes(compareTransform(String(search)));
|
|
1862
1862
|
}
|
|
1863
1863
|
function compareTransform(str) {
|
|
1864
|
-
return str.normalize("NFD").replaceAll(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase().replaceAll("
|
|
1864
|
+
return str.normalize("NFD").replaceAll(new RegExp("\\p{Diacritic}", "gu"), "").toLowerCase().replaceAll("œ", "oe").replaceAll("æ", "ae").replaceAll(/[ ,.!?;:-`"]+/g, " ").trim();
|
|
1865
1865
|
}
|
|
1866
1866
|
const compare = {
|
|
1867
1867
|
string(subject, query) {
|
|
@@ -2078,32 +2078,29 @@ const helpers = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
2078
2078
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2079
2079
|
export {
|
|
2080
2080
|
AsyncIterableBuilder as A,
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
importCSS as b,
|
|
2085
|
-
doesResourceContainList as c,
|
|
2081
|
+
doesResourceContainList as a,
|
|
2082
|
+
fuzzyCompare as b,
|
|
2083
|
+
compare as c,
|
|
2086
2084
|
defineComponent as d,
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2085
|
+
evalTemplateString as e,
|
|
2086
|
+
findClosingBracketMatchIndex as f,
|
|
2087
|
+
generalComparator as g,
|
|
2088
|
+
asyncQuerySelector as h,
|
|
2091
2089
|
importInlineCSS as i,
|
|
2092
|
-
|
|
2090
|
+
importCSS as j,
|
|
2093
2091
|
helpers as k,
|
|
2094
|
-
|
|
2095
|
-
|
|
2092
|
+
getRawContext as l,
|
|
2093
|
+
mergeContexts as m,
|
|
2096
2094
|
normalizeContext as n,
|
|
2097
|
-
|
|
2095
|
+
isUrlOrRelativePath as o,
|
|
2098
2096
|
parseFieldsString as p,
|
|
2099
|
-
|
|
2100
|
-
|
|
2097
|
+
jsonldContextParserExports as q,
|
|
2098
|
+
stringToDom as r,
|
|
2101
2099
|
setDeepProperty as s,
|
|
2102
2100
|
transformArrayToContainer as t,
|
|
2103
2101
|
uniqID as u,
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
loadScript as z
|
|
2102
|
+
importJS as v,
|
|
2103
|
+
loadScript as w,
|
|
2104
|
+
domIsReady as x,
|
|
2105
|
+
asyncQuerySelectorAll as y
|
|
2109
2106
|
};
|
package/dist/helpers.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { A,
|
|
1
|
+
import { A, h, y, c, A as A2, d, a, x, e, f, b, g, l, j, i, v, o, w, m, n, p, s, r, t, u } from "./helpers-4GFJ8HI8.js";
|
|
2
2
|
export {
|
|
3
3
|
A as AsyncIterableBuilder,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
h as asyncQuerySelector,
|
|
5
|
+
y as asyncQuerySelectorAll,
|
|
6
|
+
c as compare,
|
|
7
7
|
A2 as default,
|
|
8
8
|
d as defineComponent,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
a as doesResourceContainList,
|
|
10
|
+
x as domIsReady,
|
|
11
|
+
e as evalTemplateString,
|
|
12
|
+
f as findClosingBracketMatchIndex,
|
|
13
|
+
b as fuzzyCompare,
|
|
14
|
+
g as generalComparator,
|
|
15
|
+
l as getRawContext,
|
|
16
|
+
j as importCSS,
|
|
17
17
|
i as importInlineCSS,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
v as importJS,
|
|
19
|
+
o as isUrlOrRelativePath,
|
|
20
|
+
w as loadScript,
|
|
21
|
+
m as mergeContexts,
|
|
22
22
|
n as normalizeContext,
|
|
23
23
|
p as parseFieldsString,
|
|
24
24
|
s as setDeepProperty,
|
|
25
|
-
|
|
25
|
+
r as stringToDom,
|
|
26
26
|
t as transformArrayToContainer,
|
|
27
27
|
u as uniqID
|
|
28
28
|
};
|