@startinblox/core 2.0.5-beta.1 → 2.0.5-beta.3
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 +5 -0
- package/dist/{custom-getter-CdE12ajn.js → custom-getter-BvGSkLWj.js} +2 -2
- package/dist/{helpers-dFpcGbvl.js → helpers-Bew5Yvdt.js} +8 -5
- package/dist/helpers.js +6 -6
- package/dist/index.js +2318 -2249
- package/dist/store-BCbgTvQh.js +31939 -0
- package/dist/store.js +3 -2
- package/package.json +38 -3
- package/dist/store-CttBeG15.js +0 -9394
package/README.md
CHANGED
|
@@ -21,6 +21,8 @@ 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
|
+
|
|
24
26
|
## Adding new features
|
|
25
27
|
To develop new features for `sib-core`, you can add an HTML example file in `/examples` directory and link it in `/index.html`.
|
|
26
28
|
Don't forget to import the framework:
|
|
@@ -30,6 +32,9 @@ Don't forget to import the framework:
|
|
|
30
32
|
```
|
|
31
33
|
You can now write HTML using `sib-core` and test it in your browser.
|
|
32
34
|
|
|
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.
|
|
33
38
|
|
|
34
39
|
## Testing
|
|
35
40
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { q as mergeContexts, o as getRawContext, n as normalizeContext } from "./helpers-
|
|
5
|
-
import { S as StoreService } from "./store-
|
|
4
|
+
import { q as mergeContexts, o as getRawContext, n as normalizeContext } from "./helpers-Bew5Yvdt.js";
|
|
5
|
+
import { S as StoreService } from "./store-BCbgTvQh.js";
|
|
6
6
|
const store = StoreService.getInstance();
|
|
7
7
|
class CustomGetter {
|
|
8
8
|
// search attributes to give to server
|
|
@@ -2078,6 +2078,8 @@ const helpers = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
2078
2078
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2079
2079
|
export {
|
|
2080
2080
|
AsyncIterableBuilder as A,
|
|
2081
|
+
domIsReady as B,
|
|
2082
|
+
asyncQuerySelectorAll as C,
|
|
2081
2083
|
doesResourceContainList as a,
|
|
2082
2084
|
fuzzyCompare as b,
|
|
2083
2085
|
compare as c,
|
|
@@ -2095,12 +2097,13 @@ export {
|
|
|
2095
2097
|
getRawContext as o,
|
|
2096
2098
|
parseFieldsString as p,
|
|
2097
2099
|
mergeContexts as q,
|
|
2098
|
-
|
|
2100
|
+
requireJsonldContextParser as r,
|
|
2099
2101
|
setDeepProperty as s,
|
|
2100
2102
|
transformArrayToContainer as t,
|
|
2101
2103
|
uniqID as u,
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2104
|
+
requireErrorCoded as v,
|
|
2105
|
+
requireLink as w,
|
|
2106
|
+
stringToDom as x,
|
|
2107
|
+
importJS as y,
|
|
2108
|
+
loadScript as z
|
|
2106
2109
|
};
|
package/dist/helpers.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A, h,
|
|
1
|
+
import { A, h, C, c, A as A2, d, a, B, e, f, b, g, o, j, i, y, l, z, q, n, p, s, x, t, u } from "./helpers-Bew5Yvdt.js";
|
|
2
2
|
export {
|
|
3
3
|
A as AsyncIterableBuilder,
|
|
4
4
|
h as asyncQuerySelector,
|
|
5
|
-
|
|
5
|
+
C as asyncQuerySelectorAll,
|
|
6
6
|
c as compare,
|
|
7
7
|
A2 as default,
|
|
8
8
|
d as defineComponent,
|
|
9
9
|
a as doesResourceContainList,
|
|
10
|
-
|
|
10
|
+
B as domIsReady,
|
|
11
11
|
e as evalTemplateString,
|
|
12
12
|
f as findClosingBracketMatchIndex,
|
|
13
13
|
b as fuzzyCompare,
|
|
@@ -15,14 +15,14 @@ export {
|
|
|
15
15
|
o as getRawContext,
|
|
16
16
|
j as importCSS,
|
|
17
17
|
i as importInlineCSS,
|
|
18
|
-
|
|
18
|
+
y as importJS,
|
|
19
19
|
l as isUrlOrRelativePath,
|
|
20
|
-
|
|
20
|
+
z as loadScript,
|
|
21
21
|
q as mergeContexts,
|
|
22
22
|
n as normalizeContext,
|
|
23
23
|
p as parseFieldsString,
|
|
24
24
|
s as setDeepProperty,
|
|
25
|
-
|
|
25
|
+
x as stringToDom,
|
|
26
26
|
t as transformArrayToContainer,
|
|
27
27
|
u as uniqID
|
|
28
28
|
};
|