@pristy/pristy-libvue 0.30.1 → 0.30.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.
@@ -1405,6 +1405,7 @@ const M = u({
1405
1405
  ACTES_HOST: "http://actes",
1406
1406
  PORTAIL_HOST: "http://portail",
1407
1407
  MARCHES_HOST: "http://marches",
1408
+ SOCIAL_HOST: "http://social",
1408
1409
  COLLABORA_HOSTING_DISCOVERY: "http://collabora:9980/hosting/discovery",
1409
1410
  ALFRESCO_AUTH: "BASIC",
1410
1411
  ALFRESCO_ROOT: "alfresco",
@@ -1415,6 +1416,7 @@ const M = u({
1415
1416
  MENU_ESPACES: !1,
1416
1417
  MENU_ACTES: !1,
1417
1418
  MENU_MARCHES: !1,
1419
+ MENU_SOCIAL: !1,
1418
1420
  WEBDELIB: !1,
1419
1421
  DELIB_PUBLICATION: "add-tampon-actes",
1420
1422
  HIDE_SEANCE: !1,
@@ -1841,7 +1843,7 @@ const $0 = new u0(), h0 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiB
1841
1843
  function w0(b, t, l, e, c, a) {
1842
1844
  return E2(), P2("img", { src: c.src }, null, 8, D0);
1843
1845
  }
1844
- const t1 = /* @__PURE__ */ v0(R0, [["render", w0]]), p = F.global.t;
1846
+ const tt = /* @__PURE__ */ v0(R0, [["render", w0]]), p = F.global.t;
1845
1847
  class T0 {
1846
1848
  getIcon(t) {
1847
1849
  let l;
@@ -1938,7 +1940,7 @@ class T0 {
1938
1940
  return l;
1939
1941
  }
1940
1942
  }
1941
- const l1 = new T0();
1943
+ const lt = new T0();
1942
1944
  class J0 {
1943
1945
  getUser(t) {
1944
1946
  const l = {
@@ -1963,7 +1965,7 @@ class J0 {
1963
1965
  });
1964
1966
  }
1965
1967
  }
1966
- const e1 = new J0(), b1 = u({
1968
+ const et = new J0(), bt = u({
1967
1969
  id: "SearchStore",
1968
1970
  state: () => ({
1969
1971
  language: "afts",
@@ -1976,6 +1978,7 @@ const e1 = new J0(), b1 = u({
1976
1978
  },
1977
1979
  include: ["properties", "path"],
1978
1980
  sort: null,
1981
+ defaultSort: [{ type: "FIELD", field: "score", ascending: !1 }],
1979
1982
  spellcheck: null,
1980
1983
  filterQueries: [],
1981
1984
  facetQueries: [],
@@ -2022,13 +2025,19 @@ const e1 = new J0(), b1 = u({
2022
2025
  label: e.label
2023
2026
  }))
2024
2027
  },
2025
- sort: [{ type: "FIELD", field: "score", ascending: !1 }],
2028
+ sort: this.sort || this.defaultSort,
2026
2029
  facetFormat: "V2"
2027
2030
  };
2028
2031
  return x.search(l).then((e) => {
2029
2032
  this.context = e.list.context, t > 0 ? this.entries = [...this.entries, ...e.list.entries] : this.entries = e.list.entries, this.pagination = e.list.pagination;
2030
2033
  });
2031
2034
  },
2035
+ addSortField(b) {
2036
+ this.sort = b;
2037
+ },
2038
+ removeSortField() {
2039
+ this.sort = null;
2040
+ },
2032
2041
  /**
2033
2042
  *
2034
2043
  * @param bucket {query: ".." , label: ".."}
@@ -2058,12 +2067,12 @@ const e1 = new J0(), b1 = u({
2058
2067
  this.fields = this.fields.filter((t) => t.query !== b.query);
2059
2068
  }
2060
2069
  }
2061
- }), c1 = u({
2070
+ }), ct = u({
2062
2071
  id: "UserPreferencesStore",
2063
2072
  state: () => ({
2064
2073
  listView: !0
2065
2074
  })
2066
- }), a1 = u({
2075
+ }), at = u({
2067
2076
  id: "SelectionStore",
2068
2077
  state: () => ({
2069
2078
  nodes: [],
@@ -2107,7 +2116,7 @@ const e1 = new J0(), b1 = u({
2107
2116
  });
2108
2117
  }
2109
2118
  }
2110
- }), m1 = u({
2119
+ }), mt = u({
2111
2120
  id: "NavigationStore",
2112
2121
  state: () => ({
2113
2122
  currentNode: null,
@@ -2181,7 +2190,7 @@ const e1 = new J0(), b1 = u({
2181
2190
  }));
2182
2191
  }
2183
2192
  }
2184
- }), I1 = u({
2193
+ }), It = u({
2185
2194
  id: "ThemeStore",
2186
2195
  state: () => ({
2187
2196
  theme: "",
@@ -2219,7 +2228,7 @@ const e1 = new J0(), b1 = u({
2219
2228
  }
2220
2229
  });
2221
2230
  export {
2222
- t1 as PristyIcon,
2231
+ tt as PristyIcon,
2223
2232
  U0 as actionsApi,
2224
2233
  C as alfrescoApi,
2225
2234
  _0 as alfrescoFileService,
@@ -2236,12 +2245,12 @@ export {
2236
2245
  R as favoritesApi,
2237
2246
  H as groupsApi,
2238
2247
  F as i18n,
2239
- l1 as iconeService,
2248
+ lt as iconeService,
2240
2249
  S as menuService,
2241
2250
  e0 as messages,
2242
2251
  g as nodesApi,
2243
2252
  z as peopleApi,
2244
- e1 as peopleService,
2253
+ et as peopleService,
2245
2254
  y as renditionsApi,
2246
2255
  x as searchApi,
2247
2256
  N as sharedLinksApi,
@@ -2253,11 +2262,11 @@ export {
2253
2262
  p0 as useCollaboraStore,
2254
2263
  X as useConfigStore,
2255
2264
  f as useMenuStore,
2256
- m1 as useNavigationStore,
2257
- b1 as useSearchStore,
2258
- a1 as useSelectionStore,
2259
- I1 as useThemeStore,
2260
- c1 as useUserPreferencesStore,
2265
+ mt as useNavigationStore,
2266
+ bt as useSearchStore,
2267
+ at as useSelectionStore,
2268
+ It as useThemeStore,
2269
+ ct as useUserPreferencesStore,
2261
2270
  M as useUserStore,
2262
2271
  L as versionsApi,
2263
2272
  _2 as webscriptApi,