@startinblox/core 2.0.6-beta.23 → 2.0.6-beta.24

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.
@@ -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-CcdngHTz.js";
5
+ import { S as StoreService } from "./store-D93Y6gvo.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-CcdngHTz.js";
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-D93Y6gvo.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-CcdngHTz.js";
7
- import { A, D } from "./store-CcdngHTz.js";
6
+ import { __tla as __tla_1 } from "./store-D93Y6gvo.js";
7
+ import { A, D } from "./store-D93Y6gvo.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([
@@ -5934,8 +5934,9 @@ let __tla = (async () => {
5934
5934
  throw new Error(`Could not locate an offering block (used key: ${usedKey}); resolved catInfo is empty`);
5935
5935
  }
5936
5936
  const resourceId = cs["@id"];
5937
- const slug = resourceId.split("/").pop() || "unknown";
5938
- const serviceId = `${opts.temsServiceBase}${encodeURIComponent(slug)}/`;
5937
+ const rawSlug = resourceId.split("/").pop() || "unknown";
5938
+ const bareUuid = rawSlug.replace(/^urn:uuid:/i, "");
5939
+ const serviceId = `urn:uuid:${bareUuid}`;
5939
5940
  const creation_date = vc.issuanceDate;
5940
5941
  const update_date = vc.expirationDate;
5941
5942
  const name = catInfo["dcterms:title"] || catInfo["dct:title"];
@@ -5946,7 +5947,7 @@ let __tla = (async () => {
5946
5947
  ] : [];
5947
5948
  const long_description = keywords.length > 0 ? `Keywords: ${keywords.join(", ")}` : "";
5948
5949
  const categories = {
5949
- "@id": `${serviceId}categories/`,
5950
+ "@id": `${serviceId}/categories`,
5950
5951
  "@type": "ldp:Container",
5951
5952
  "ldp:contains": keywords.map((kw) => ({
5952
5953
  "@id": `${opts.temsCategoryBase}${encodeURIComponent(kw)}/`,
@@ -5966,7 +5967,7 @@ let __tla = (async () => {
5966
5967
  const creatorThumbnail = getThumbnailUrl(getCreator(catInfo));
5967
5968
  if (creatorThumbnail) imageUrls.push(creatorThumbnail);
5968
5969
  const images = {
5969
- "@id": `${serviceId}images/`,
5970
+ "@id": `${serviceId}/images`,
5970
5971
  "@type": "ldp:Container",
5971
5972
  "ldp:contains": imageUrls.map((url2) => ({
5972
5973
  "@id": `${opts.temsImageBase}${encodeURIComponent(url2.split("/").pop() || "0")}/`,
@@ -33120,7 +33121,7 @@ sh:property [
33120
33121
  window.dispatchEvent(event);
33121
33122
  }
33122
33123
  async initGetter() {
33123
- const { CustomGetter } = await import("./custom-getter-GzeAgss3.js");
33124
+ const { CustomGetter } = await import("./custom-getter-Aie6_R7w.js");
33124
33125
  return CustomGetter;
33125
33126
  }
33126
33127
  disconnectedCallback() {
package/dist/store.js CHANGED
@@ -1,4 +1,4 @@
1
- import { s, S, c, b, e, j, h, i } from "./store-CcdngHTz.js";
1
+ import { s, S, c, b, e, j, h, i } from "./store-D93Y6gvo.js";
2
2
  export {
3
3
  s as SEMANTIZER,
4
4
  S as StoreService,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startinblox/core",
3
- "version": "2.0.6-beta.23",
3
+ "version": "2.0.6-beta.24",
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",