@pristy/pristy-libvue 0.21.1 → 0.22.0
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
CHANGED
|
@@ -1767,12 +1767,12 @@ class SI {
|
|
|
1767
1767
|
let I = M.map((g) => ({
|
|
1768
1768
|
label: g.title,
|
|
1769
1769
|
class: "menu-item responsive-text",
|
|
1770
|
-
icon: "
|
|
1770
|
+
icon: "ri-folder-2-line",
|
|
1771
1771
|
to: { name: "seances", params: { id: g.name } }
|
|
1772
1772
|
}));
|
|
1773
1773
|
return I.push({
|
|
1774
1774
|
label: "Recherche",
|
|
1775
|
-
icon: "
|
|
1775
|
+
icon: "ri-search-line",
|
|
1776
1776
|
class: "menu-item responsive-text",
|
|
1777
1777
|
to: { name: "recherche-actes" }
|
|
1778
1778
|
}), I;
|
|
@@ -1785,7 +1785,7 @@ class SI {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
).map((I) => ({
|
|
1787
1787
|
label: I.target.site.title,
|
|
1788
|
-
icon: "
|
|
1788
|
+
icon: "ri-building-line",
|
|
1789
1789
|
class: "menu-item responsive-text",
|
|
1790
1790
|
to: {
|
|
1791
1791
|
name: "navigation",
|
|
@@ -1796,7 +1796,7 @@ class SI {
|
|
|
1796
1796
|
favoritesNodeToMenuItems(M) {
|
|
1797
1797
|
return M.reduce((I, g) => {
|
|
1798
1798
|
let b;
|
|
1799
|
-
const A = "folder" in g.target, D = A ? "folder" : "file", u =
|
|
1799
|
+
const A = "folder" in g.target, D = A ? "folder" : "file", u = A ? "ri-folder-2-line" : "ri-file-line", t = g.target[D].path.elements.find(
|
|
1800
1800
|
(l) => l.nodeType === "st:site"
|
|
1801
1801
|
);
|
|
1802
1802
|
if (A || (b = this.getDestinationName(g.target[D])), t != null && t.name) {
|
|
@@ -1820,7 +1820,7 @@ class SI {
|
|
|
1820
1820
|
let I = ((g = M.properties) == null ? void 0 : g["pm:typeEspace"]) === "actes";
|
|
1821
1821
|
return {
|
|
1822
1822
|
label: M.title,
|
|
1823
|
-
icon: I ? "
|
|
1823
|
+
icon: I ? "ri-folder-2-line" : "ri-building-line",
|
|
1824
1824
|
class: "menu-item responsive-text",
|
|
1825
1825
|
to: I ? {
|
|
1826
1826
|
name: "seances",
|
|
@@ -1840,7 +1840,7 @@ class SI {
|
|
|
1840
1840
|
const b = !M.isFolder && I === "edit-collabora" ? "_blank" : "";
|
|
1841
1841
|
return {
|
|
1842
1842
|
label: M.name,
|
|
1843
|
-
icon:
|
|
1843
|
+
icon: 'isFolder ? "ri-folder-2-line" : "ri-file-line"',
|
|
1844
1844
|
class: "menu-item responsive-text",
|
|
1845
1845
|
target: b,
|
|
1846
1846
|
to: M.isFolder ? {
|