@pristy/pristy-libvue 0.30.2 → 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.
- package/dist/pristy-libvue.js +23 -16
- package/dist/pristy-libvue.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/pristy-libvue.js
CHANGED
|
@@ -1843,7 +1843,7 @@ const $0 = new u0(), h0 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiB
|
|
|
1843
1843
|
function w0(b, t, l, e, c, a) {
|
|
1844
1844
|
return E2(), P2("img", { src: c.src }, null, 8, D0);
|
|
1845
1845
|
}
|
|
1846
|
-
const
|
|
1846
|
+
const tt = /* @__PURE__ */ v0(R0, [["render", w0]]), p = F.global.t;
|
|
1847
1847
|
class T0 {
|
|
1848
1848
|
getIcon(t) {
|
|
1849
1849
|
let l;
|
|
@@ -1940,7 +1940,7 @@ class T0 {
|
|
|
1940
1940
|
return l;
|
|
1941
1941
|
}
|
|
1942
1942
|
}
|
|
1943
|
-
const
|
|
1943
|
+
const lt = new T0();
|
|
1944
1944
|
class J0 {
|
|
1945
1945
|
getUser(t) {
|
|
1946
1946
|
const l = {
|
|
@@ -1965,7 +1965,7 @@ class J0 {
|
|
|
1965
1965
|
});
|
|
1966
1966
|
}
|
|
1967
1967
|
}
|
|
1968
|
-
const
|
|
1968
|
+
const et = new J0(), bt = u({
|
|
1969
1969
|
id: "SearchStore",
|
|
1970
1970
|
state: () => ({
|
|
1971
1971
|
language: "afts",
|
|
@@ -1978,6 +1978,7 @@ const e1 = new J0(), b1 = u({
|
|
|
1978
1978
|
},
|
|
1979
1979
|
include: ["properties", "path"],
|
|
1980
1980
|
sort: null,
|
|
1981
|
+
defaultSort: [{ type: "FIELD", field: "score", ascending: !1 }],
|
|
1981
1982
|
spellcheck: null,
|
|
1982
1983
|
filterQueries: [],
|
|
1983
1984
|
facetQueries: [],
|
|
@@ -2024,13 +2025,19 @@ const e1 = new J0(), b1 = u({
|
|
|
2024
2025
|
label: e.label
|
|
2025
2026
|
}))
|
|
2026
2027
|
},
|
|
2027
|
-
sort:
|
|
2028
|
+
sort: this.sort || this.defaultSort,
|
|
2028
2029
|
facetFormat: "V2"
|
|
2029
2030
|
};
|
|
2030
2031
|
return x.search(l).then((e) => {
|
|
2031
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;
|
|
2032
2033
|
});
|
|
2033
2034
|
},
|
|
2035
|
+
addSortField(b) {
|
|
2036
|
+
this.sort = b;
|
|
2037
|
+
},
|
|
2038
|
+
removeSortField() {
|
|
2039
|
+
this.sort = null;
|
|
2040
|
+
},
|
|
2034
2041
|
/**
|
|
2035
2042
|
*
|
|
2036
2043
|
* @param bucket {query: ".." , label: ".."}
|
|
@@ -2060,12 +2067,12 @@ const e1 = new J0(), b1 = u({
|
|
|
2060
2067
|
this.fields = this.fields.filter((t) => t.query !== b.query);
|
|
2061
2068
|
}
|
|
2062
2069
|
}
|
|
2063
|
-
}),
|
|
2070
|
+
}), ct = u({
|
|
2064
2071
|
id: "UserPreferencesStore",
|
|
2065
2072
|
state: () => ({
|
|
2066
2073
|
listView: !0
|
|
2067
2074
|
})
|
|
2068
|
-
}),
|
|
2075
|
+
}), at = u({
|
|
2069
2076
|
id: "SelectionStore",
|
|
2070
2077
|
state: () => ({
|
|
2071
2078
|
nodes: [],
|
|
@@ -2109,7 +2116,7 @@ const e1 = new J0(), b1 = u({
|
|
|
2109
2116
|
});
|
|
2110
2117
|
}
|
|
2111
2118
|
}
|
|
2112
|
-
}),
|
|
2119
|
+
}), mt = u({
|
|
2113
2120
|
id: "NavigationStore",
|
|
2114
2121
|
state: () => ({
|
|
2115
2122
|
currentNode: null,
|
|
@@ -2183,7 +2190,7 @@ const e1 = new J0(), b1 = u({
|
|
|
2183
2190
|
}));
|
|
2184
2191
|
}
|
|
2185
2192
|
}
|
|
2186
|
-
}),
|
|
2193
|
+
}), It = u({
|
|
2187
2194
|
id: "ThemeStore",
|
|
2188
2195
|
state: () => ({
|
|
2189
2196
|
theme: "",
|
|
@@ -2221,7 +2228,7 @@ const e1 = new J0(), b1 = u({
|
|
|
2221
2228
|
}
|
|
2222
2229
|
});
|
|
2223
2230
|
export {
|
|
2224
|
-
|
|
2231
|
+
tt as PristyIcon,
|
|
2225
2232
|
U0 as actionsApi,
|
|
2226
2233
|
C as alfrescoApi,
|
|
2227
2234
|
_0 as alfrescoFileService,
|
|
@@ -2238,12 +2245,12 @@ export {
|
|
|
2238
2245
|
R as favoritesApi,
|
|
2239
2246
|
H as groupsApi,
|
|
2240
2247
|
F as i18n,
|
|
2241
|
-
|
|
2248
|
+
lt as iconeService,
|
|
2242
2249
|
S as menuService,
|
|
2243
2250
|
e0 as messages,
|
|
2244
2251
|
g as nodesApi,
|
|
2245
2252
|
z as peopleApi,
|
|
2246
|
-
|
|
2253
|
+
et as peopleService,
|
|
2247
2254
|
y as renditionsApi,
|
|
2248
2255
|
x as searchApi,
|
|
2249
2256
|
N as sharedLinksApi,
|
|
@@ -2255,11 +2262,11 @@ export {
|
|
|
2255
2262
|
p0 as useCollaboraStore,
|
|
2256
2263
|
X as useConfigStore,
|
|
2257
2264
|
f as useMenuStore,
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2265
|
+
mt as useNavigationStore,
|
|
2266
|
+
bt as useSearchStore,
|
|
2267
|
+
at as useSelectionStore,
|
|
2268
|
+
It as useThemeStore,
|
|
2269
|
+
ct as useUserPreferencesStore,
|
|
2263
2270
|
M as useUserStore,
|
|
2264
2271
|
L as versionsApi,
|
|
2265
2272
|
_2 as webscriptApi,
|