@startinblox/core 2.0.5-beta.5 → 2.0.5
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-vZrb1UDN.js → helpers-4GFJ8HI8.js} +18 -21
- package/dist/helpers.js +17 -17
- package/dist/index.js +93391 -98045
- package/dist/store-YR4Gxt5W.js +9933 -0
- package/dist/store.js +2 -4
- package/package.json +4 -40
- package/dist/custom-getter-FYE7WERU.js +0 -440
- package/dist/store-BJtCXbgT.js +0 -32451
- /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.",
|
|
@@ -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
|
};
|