@startinblox/core 2.0.6-beta.15 → 2.0.6-beta.16
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
CHANGED
|
@@ -44,7 +44,7 @@ If you only need the store (without the full component framework), use the dedic
|
|
|
44
44
|
import { sibStore, StoreService, StoreType } from '@startinblox/core/store';
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
When loaded via a `<script>` tag, the store is also accessible via the `window.sib` namespace (e.g., `window.sib.store`, `window.sib.
|
|
47
|
+
When loaded via a `<script>` tag, the store is also accessible via the `window.sib.store` namespace (e.g., `window.sib.store.ldp`, `window.sib.store.service`). See the [Store API Documentation](./docs/store.md) for details.
|
|
48
48
|
|
|
49
49
|
## Testing
|
|
50
50
|
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { q as mergeContexts, o as getRawContext, n as normalizeContext } from "./helpers-DtCY-jxq.js";
|
|
5
|
-
import { S as StoreService } from "./store-
|
|
5
|
+
import { S as StoreService } from "./store-_V-vtjZ_.js";
|
|
6
6
|
const store = StoreService.getInstance();
|
|
7
7
|
class CustomGetter {
|
|
8
8
|
// search attributes to give to server
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 { g as getDefaultExportFromCjs, S as StoreService, b as base_context, f as formatAttributesToServerPaginationOptions, m as mergeServerSearchOptions, a as formatAttributesToServerSearchOptions, c as StoreType, d as StoreFactory, h as hasSetLocalData, e as hasQueryIndex, __tla as __tla_0 } from "./store-
|
|
4
|
+
import { g as getDefaultExportFromCjs, S as StoreService, b as base_context, f as formatAttributesToServerPaginationOptions, m as mergeServerSearchOptions, a as formatAttributesToServerSearchOptions, c as StoreType, d as StoreFactory, h as hasSetLocalData, e as hasQueryIndex, __tla as __tla_0 } from "./store-_V-vtjZ_.js";
|
|
5
5
|
import { d as defineComponent, n as normalizeContext, u as uniqID, f as fuzzyCompare, a as asyncQuerySelector, i as importInlineCSS, b as importCSS, c as doesResourceContainList, e as findClosingBracketMatchIndex, p as parseFieldsString, g as evalTemplateString, h as compare, j as generalComparator, t as transformArrayToContainer, s as setDeepProperty } from "./helpers-DtCY-jxq.js";
|
|
6
|
-
import { __tla as __tla_1 } from "./store-
|
|
7
|
-
import { A, D } from "./store-
|
|
6
|
+
import { __tla as __tla_1 } from "./store-_V-vtjZ_.js";
|
|
7
|
+
import { A, D } from "./store-_V-vtjZ_.js";
|
|
8
8
|
import { k } from "./helpers-DtCY-jxq.js";
|
|
9
9
|
let index$4, BaseWidgetMixin, index$3, CounterMixin, DspCatalogDisplay, EdcAssetsDisplay, FederationMixin, FilterMixin, GrouperMixin, HighlighterMixin, ListMixin, NextMixin, PaginateMixin, RequiredMixin, Sib, SolidAcChecker, SolidDelete, SolidDisplay, SolidForm, SolidFormSearch, SolidLang, SolidMemberAdd, SolidMemberDelete, SolidMembership, SolidTable, SolidTemplateElement, SolidWidget, SorterMixin, StoreMixin, index$2, index$1, index, TranslationMixin, ValidationMixin, WidgetMixin, b, o$2, newWidgetFactory, D2, o$1, m, widgetFactory;
|
|
10
10
|
let __tla = Promise.all([
|
|
@@ -33008,7 +33008,7 @@ sh:property [
|
|
|
33008
33008
|
window.dispatchEvent(event);
|
|
33009
33009
|
}
|
|
33010
33010
|
async initGetter() {
|
|
33011
|
-
const { CustomGetter } = await import("./custom-getter-
|
|
33011
|
+
const { CustomGetter } = await import("./custom-getter-CigSDPI6.js");
|
|
33012
33012
|
return CustomGetter;
|
|
33013
33013
|
}
|
|
33014
33014
|
disconnectedCallback() {
|
|
@@ -37601,12 +37601,14 @@ sh:property [
|
|
|
37601
37601
|
if (!window.sib) {
|
|
37602
37602
|
window.sib = {};
|
|
37603
37603
|
}
|
|
37604
|
-
window.sib.store =
|
|
37605
|
-
|
|
37606
|
-
|
|
37607
|
-
|
|
37608
|
-
|
|
37609
|
-
|
|
37604
|
+
window.sib.store = {
|
|
37605
|
+
ldp: sibStore,
|
|
37606
|
+
service: StoreService,
|
|
37607
|
+
type: StoreType,
|
|
37608
|
+
hasQueryIndex,
|
|
37609
|
+
hasSetLocalData,
|
|
37610
|
+
hasQueryIndexConjunction
|
|
37611
|
+
};
|
|
37610
37612
|
if (!window.sibStore) {
|
|
37611
37613
|
window.sibStore = sibStore;
|
|
37612
37614
|
}
|
package/dist/store.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startinblox/core",
|
|
3
|
-
"version": "2.0.6-beta.
|
|
3
|
+
"version": "2.0.6-beta.16",
|
|
4
4
|
"description": "This is a series of web component respecting both the web components standards and the Linked Data Platform convention.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|