@pristy/pristy-libvue 2.10.1 → 2.10.2
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/{ActivityHistory-DQvZaDyj.js → ActivityHistory-DCA_eJnR.js} +67 -39
- package/dist/ActivityHistory-DCA_eJnR.js.map +1 -0
- package/dist/{BookmarksComponent-4m0LZkN9.js → BookmarksComponent-CvESJUCF.js} +4 -4
- package/dist/{BookmarksComponent-4m0LZkN9.js.map → BookmarksComponent-CvESJUCF.js.map} +1 -1
- package/dist/{ChartWrapper-BmIm34tY.js → ChartWrapper-C9PVKQ1p.js} +2 -2
- package/dist/{ChartWrapper-BmIm34tY.js.map → ChartWrapper-C9PVKQ1p.js.map} +1 -1
- package/dist/{DisplayFileInDashboardComponent-CsXEaTRZ.js → DisplayFileInDashboardComponent-CMmRM0WS.js} +17 -17
- package/dist/{DisplayFileInDashboardComponent-CsXEaTRZ.js.map → DisplayFileInDashboardComponent-CMmRM0WS.js.map} +1 -1
- package/dist/{ExternalApps-BELfVDbB.js → ExternalApps-BVpexen2.js} +9 -9
- package/dist/{ExternalApps-BELfVDbB.js.map → ExternalApps-BVpexen2.js.map} +1 -1
- package/dist/{FavoriteList-BRVaj1HM.js → FavoriteList-COnDCI00.js} +10 -10
- package/dist/{FavoriteList-BRVaj1HM.js.map → FavoriteList-COnDCI00.js.map} +1 -1
- package/dist/{MarkdownComponent-CeGPGjnT.js → MarkdownComponent-CxfbrE7J.js} +4 -4
- package/dist/{MarkdownComponent-CeGPGjnT.js.map → MarkdownComponent-CxfbrE7J.js.map} +1 -1
- package/dist/{SearchInput--mu28rxD.js → SearchInput-C4q6siON.js} +2 -2
- package/dist/{SearchInput--mu28rxD.js.map → SearchInput-C4q6siON.js.map} +1 -1
- package/dist/{UnknownBlockType-ErfhzhB9.js → UnknownBlockType-xoVike-3.js} +2 -2
- package/dist/{UnknownBlockType-ErfhzhB9.js.map → UnknownBlockType-xoVike-3.js.map} +1 -1
- package/dist/{index-CI0X7RCX.js → index-BItIdB59.js} +543 -535
- package/dist/index-BItIdB59.js.map +1 -0
- package/dist/pristy-libvue.css +1 -1
- package/dist/pristy-libvue.es.js +1 -1
- package/dist/pristy-libvue.umd.js +11 -11
- package/dist/pristy-libvue.umd.js.map +1 -1
- package/dist/src/components/dashboard/DashboardAdminPage.vue.d.ts +15 -2
- package/dist/src/components/dashboard/DashboardComponent.vue.d.ts +15 -2
- package/dist/src/components/dashboard/editor/DashboardEditor.vue.d.ts +15 -2
- package/dist/src/components/dashboard/widgets/ActivityHistory.vue.d.ts +16 -3
- package/dist/src/components/search/SaveViewPopup.vue.d.ts.map +1 -1
- package/dist/src/stores/favorites.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/ActivityHistory-DQvZaDyj.js.map +0 -1
- package/dist/index-CI0X7RCX.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useStorage as d0, formatDate as
|
|
1
|
+
import { useStorage as d0, formatDate as is } from "@vueuse/core";
|
|
2
2
|
import { defineStore as Pt, mapState as kt, storeToRefs as uo, mapActions as Xl, mapStores as u0 } from "pinia";
|
|
3
3
|
import bt from "axios";
|
|
4
4
|
import { AlfrescoApi as m0, ContentApi as b0, UploadApi as p0, RenditionsApi as h0, NodesApi as y0, SitesApi as Z0, SearchApi as g0, PeopleApi as v0, FavoritesApi as W0, TrashcanApi as f0, GroupsApi as A0, SharedlinksApi as Y0, VersionsApi as M0, ActionsApi as N0, CategoriesApi as z0, CommentsApi as X0, DownloadsApi as O0, TagsApi as w0, AspectsApi as I0, TypesApi as T0, WebscriptApi as j0, ActivitiesApi as G0, DiscoveryApi as k0, AuthenticationApi as L0 } from "@alfresco/js-api";
|
|
5
|
-
import
|
|
5
|
+
import Yo from "primevue/paginator";
|
|
6
6
|
import Dt from "primevue/select";
|
|
7
|
-
import { resolveComponent as g, openBlock as n, createBlock as M, createSlots as Ba, withCtx as f, createVNode as d, resolveDirective as
|
|
8
|
-
import { VuePDF as Yi, usePDF as
|
|
7
|
+
import { resolveComponent as g, openBlock as n, createBlock as M, createSlots as Ba, withCtx as f, createVNode as d, resolveDirective as Pe, createElementBlock as u, normalizeClass as te, createElementVNode as s, withDirectives as P, createTextVNode as $, toDisplayString as b, createCommentVNode as W, Fragment as q, renderList as Ae, withKeys as tl, mergeProps as Mi, ref as D, inject as C0, computed as K, withModifiers as Ue, normalizeStyle as Xt, resolveDynamicComponent as Oi, getCurrentInstance as fn, toRef as go, renderSlot as De, vShow as ql, shallowRef as Za, watch as qe, onBeforeUnmount as Mo, unref as A, nextTick as cl, onMounted as wi, onUnmounted as li, readonly as xl, provide as An, defineAsyncComponent as Kl, normalizeProps as F0, guardReactiveProps as D0, reactive as R0, Transition as Yn } from "vue";
|
|
8
|
+
import { VuePDF as Yi, usePDF as os } from "@tato30/vue-pdf";
|
|
9
9
|
import Wt from "primevue/tooltip";
|
|
10
10
|
import ae from "primevue/button";
|
|
11
11
|
import il from "primevue/progressspinner";
|
|
@@ -31,7 +31,7 @@ import V0 from "primevue/breadcrumb";
|
|
|
31
31
|
import { useRoute as Mn, useRouter as Nn } from "vue-router";
|
|
32
32
|
import ji from "primevue/toggleswitch";
|
|
33
33
|
import Ws from "primevue/popover";
|
|
34
|
-
import
|
|
34
|
+
import Je from "primevue/inputtext";
|
|
35
35
|
import Gi from "primevue/iconfield";
|
|
36
36
|
import ki from "primevue/inputicon";
|
|
37
37
|
import fs from "primevue/image";
|
|
@@ -44,28 +44,28 @@ import Zl from "primevue/textarea";
|
|
|
44
44
|
import _a from "primevue/fileupload";
|
|
45
45
|
import Ys from "primevue/radiobutton";
|
|
46
46
|
import Ms from "primevue/autocomplete";
|
|
47
|
-
import * as
|
|
47
|
+
import * as Do from "email-validator";
|
|
48
48
|
import J0 from "primevue/chips";
|
|
49
|
-
import
|
|
49
|
+
import No from "primevue/inputgroup";
|
|
50
50
|
import Ni from "primevue/inputgroupaddon";
|
|
51
51
|
import P0 from "primevue/skeleton";
|
|
52
52
|
import Ns from "primevue/toolbar";
|
|
53
53
|
import { EditorState as Ka, StateEffect as H0, StateField as Q0, Compartment as E0, ChangeSet as B0 } from "@codemirror/state";
|
|
54
|
-
import { EditorView as Nl, keymap as
|
|
54
|
+
import { EditorView as Nl, keymap as Ro, lineNumbers as zn, ViewPlugin as _0, Decoration as So, WidgetType as K0 } from "@codemirror/view";
|
|
55
55
|
import { history as $0, defaultKeymap as Ls, historyKeymap as q0, indentWithTab as em } from "@codemirror/commands";
|
|
56
|
-
import { HighlightStyle as tm, syntaxHighlighting as Xn, StreamLanguage as
|
|
56
|
+
import { HighlightStyle as tm, syntaxHighlighting as Xn, StreamLanguage as xo, defaultHighlightStyle as lm } from "@codemirror/language";
|
|
57
57
|
import { oneDark as On } from "@codemirror/theme-one-dark";
|
|
58
58
|
import { html as wn } from "@codemirror/lang-html";
|
|
59
|
-
import { json as
|
|
59
|
+
import { json as ss } from "@codemirror/lang-json";
|
|
60
60
|
import { markdown as mo } from "@codemirror/lang-markdown";
|
|
61
|
-
import { xml as
|
|
61
|
+
import { xml as ns } from "@codemirror/lang-xml";
|
|
62
62
|
import { yaml as bo } from "@codemirror/lang-yaml";
|
|
63
|
-
import { shell as
|
|
64
|
-
import { languages as
|
|
65
|
-
import { marked as
|
|
63
|
+
import { shell as Vo } from "@codemirror/legacy-modes/mode/shell";
|
|
64
|
+
import { languages as Uo } from "@codemirror/language-data";
|
|
65
|
+
import { marked as zo } from "marked";
|
|
66
66
|
import { markedHighlight as am } from "marked-highlight";
|
|
67
67
|
import ka from "dompurify";
|
|
68
|
-
import
|
|
68
|
+
import Jo from "highlight.js";
|
|
69
69
|
import { updateSurfacePalette as Bi, updatePrimaryPalette as Cs, usePreset as Fs } from "@primeuix/themes";
|
|
70
70
|
import im from "@primeuix/themes/aura";
|
|
71
71
|
import om from "@primeuix/themes/material";
|
|
@@ -73,7 +73,7 @@ import sm from "@primeuix/themes/lara";
|
|
|
73
73
|
import nm from "@primeuix/themes/nora";
|
|
74
74
|
import va from "primevue/selectbutton";
|
|
75
75
|
import In from "primevue/knob";
|
|
76
|
-
import
|
|
76
|
+
import Xo from "primevue/card";
|
|
77
77
|
import { VueDraggableNext as Tn } from "vue-draggable-next";
|
|
78
78
|
import Ci from "primevue/multiselect";
|
|
79
79
|
import rm from "primevue/togglebutton";
|
|
@@ -86,15 +86,15 @@ import Fn from "primevue/steplist";
|
|
|
86
86
|
import Dn from "primevue/step";
|
|
87
87
|
import cm from "primevue/steppanels";
|
|
88
88
|
import dm from "primevue/steppanel";
|
|
89
|
-
import { PDFDocument as al, degrees as um, rgb as Ua, RotationTypes as mm, StandardFonts as
|
|
89
|
+
import { PDFDocument as al, degrees as um, rgb as Ua, RotationTypes as mm, StandardFonts as Po } from "pdf-lib";
|
|
90
90
|
import Rn from "primevue/splitter";
|
|
91
|
-
import
|
|
91
|
+
import rs from "primevue/splitterpanel";
|
|
92
92
|
import { useToast as Il } from "primevue/usetoast";
|
|
93
93
|
import { useConfirm as Fi } from "primevue/useconfirm";
|
|
94
94
|
import { MergeView as bm } from "@codemirror/merge";
|
|
95
95
|
import Ia from "primevue/badge";
|
|
96
96
|
import { sendableUpdates as Ds, getSyncedVersion as pm, collab as hm, receiveUpdates as ym } from "@codemirror/collab";
|
|
97
|
-
import
|
|
97
|
+
import Oo from "primevue/confirmdialog";
|
|
98
98
|
import Zm from "primevue/fieldset";
|
|
99
99
|
import gm from "primevue/colorpicker";
|
|
100
100
|
import vm from "primevue/tabview";
|
|
@@ -106,7 +106,7 @@ import Sn from "primevue/password";
|
|
|
106
106
|
import Am from "primevue/panel";
|
|
107
107
|
import Ym from "primevue/progressbar";
|
|
108
108
|
import Mm from "keycloak-js";
|
|
109
|
-
const Ke = new m0(), da = new b0(Ke), Rs = new p0(Ke),
|
|
109
|
+
const Ke = new m0(), da = new b0(Ke), Rs = new p0(Ke), Ho = new h0(Ke), $e = new y0(Ke), Bt = new Z0(Ke), zl = new g0(Ke), Oa = new v0(Ke), vo = new W0(Ke), kD = new f0(Ke), zi = new A0(Ke), bi = new Y0(Ke), Ta = new M0(Ke), LD = new N0(Ke), CD = new z0(Ke), FD = new X0(Ke), DD = new O0(Ke), RD = new w0(Ke), Ss = new I0(Ke), xs = new T0(Ke), $a = new j0(Ke), SD = new G0(Ke), xD = new k0(Ke), Nm = new L0(Ke), Ce = Pt({
|
|
110
110
|
id: "ConfigStore",
|
|
111
111
|
state: () => ({
|
|
112
112
|
INSTANCE_NAME: "/",
|
|
@@ -335,7 +335,7 @@ const Ke = new m0(), da = new b0(Ke), Rs = new p0(Ke), Po = new h0(Ke), $e = new
|
|
|
335
335
|
}, zm = {
|
|
336
336
|
name: "PaginatorComponent",
|
|
337
337
|
components: {
|
|
338
|
-
PrimePaginator:
|
|
338
|
+
PrimePaginator: Yo,
|
|
339
339
|
PrimeSelect: Dt
|
|
340
340
|
},
|
|
341
341
|
props: {
|
|
@@ -602,7 +602,7 @@ const xn = /* @__PURE__ */ se(zm, [["render", Xm]]), Mt = Pt({
|
|
|
602
602
|
return;
|
|
603
603
|
}
|
|
604
604
|
this.hasFormFields = !1, this.formFieldValues = {};
|
|
605
|
-
const e =
|
|
605
|
+
const e = os(this.url);
|
|
606
606
|
this.pdf = e.pdf, this.pages = e.pages;
|
|
607
607
|
},
|
|
608
608
|
changePageUrl(e) {
|
|
@@ -716,7 +716,7 @@ const xn = /* @__PURE__ */ se(zm, [["render", Xm]]), Mt = Pt({
|
|
|
716
716
|
class: "pdf-all-pages"
|
|
717
717
|
}, Qm = { class: "pdf-page-number" };
|
|
718
718
|
function Em(e, t, l, i, a, o) {
|
|
719
|
-
const r = g("PrimeProgressSpinner"), c = g("PrimeButton"), m = g("PrimeInputNumber"), p = g("PrimeDivider"), h = g("PrimeTag"), Z = g("VuePDF"), y = g("PrimeColumn"), v = g("PrimeDataTable"), T = g("PrimeDialog"), O =
|
|
719
|
+
const r = g("PrimeProgressSpinner"), c = g("PrimeButton"), m = g("PrimeInputNumber"), p = g("PrimeDivider"), h = g("PrimeTag"), Z = g("VuePDF"), y = g("PrimeColumn"), v = g("PrimeDataTable"), T = g("PrimeDialog"), O = Pe("tooltip");
|
|
720
720
|
return n(), u("div", {
|
|
721
721
|
ref: "pdfComponent",
|
|
722
722
|
class: te(["pdf-component-root", {
|
|
@@ -1760,7 +1760,7 @@ const ii = S0({
|
|
|
1760
1760
|
silentTranslationWarn: !0,
|
|
1761
1761
|
silentFallbackWarn: !0
|
|
1762
1762
|
}), Al = ii.global.t;
|
|
1763
|
-
class
|
|
1763
|
+
class Wo extends Error {
|
|
1764
1764
|
constructor(t, l, i) {
|
|
1765
1765
|
super(t), this.code = l, this.cause = i;
|
|
1766
1766
|
}
|
|
@@ -1774,7 +1774,7 @@ function ke(e, t) {
|
|
|
1774
1774
|
if (t.status === 400) {
|
|
1775
1775
|
let i;
|
|
1776
1776
|
if (t.response?.error?.message)
|
|
1777
|
-
throw new
|
|
1777
|
+
throw new Wo(
|
|
1778
1778
|
t.response?.error?.message,
|
|
1779
1779
|
t.status,
|
|
1780
1780
|
t
|
|
@@ -1787,7 +1787,7 @@ function ke(e, t) {
|
|
|
1787
1787
|
l = i?.error?.briefSummary || Js(e, t);
|
|
1788
1788
|
} else
|
|
1789
1789
|
l = Js(e, t);
|
|
1790
|
-
return new
|
|
1790
|
+
return new Wo(l, t.status, t);
|
|
1791
1791
|
}
|
|
1792
1792
|
class rh {
|
|
1793
1793
|
updateNodeError(t) {
|
|
@@ -1805,7 +1805,7 @@ class rh {
|
|
|
1805
1805
|
throw ke("updateNode", t);
|
|
1806
1806
|
}
|
|
1807
1807
|
uploadFileError(t, l) {
|
|
1808
|
-
throw t.status === 409 ? new
|
|
1808
|
+
throw t.status === 409 ? new Wo(
|
|
1809
1809
|
Al("error.uploadFile.409", { filename: l }),
|
|
1810
1810
|
t.status,
|
|
1811
1811
|
t
|
|
@@ -1816,7 +1816,7 @@ class rh {
|
|
|
1816
1816
|
case 403:
|
|
1817
1817
|
case 404:
|
|
1818
1818
|
case 409:
|
|
1819
|
-
throw new
|
|
1819
|
+
throw new Wo(
|
|
1820
1820
|
Al(`error.deleteNode.${t.status}`, { type: Al(l) }),
|
|
1821
1821
|
t.status,
|
|
1822
1822
|
t
|
|
@@ -1837,7 +1837,7 @@ class rh {
|
|
|
1837
1837
|
}), l.filter((i, a) => a === l.findIndex((o) => i.content === o.content));
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
|
-
function
|
|
1840
|
+
function Qo(e) {
|
|
1841
1841
|
let t;
|
|
1842
1842
|
if (e.error)
|
|
1843
1843
|
e.error.response ? t = e.error.response : e.error.message && (t = e.error.message);
|
|
@@ -2645,7 +2645,7 @@ const Nt = new dh(), Kt = Pt({
|
|
|
2645
2645
|
), this.files = this.children.filter((o) => o.isFile)) : (this.folders = [], this.files = [], this.emptyFolder = !0), this.loading = !1), i)))));
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
2648
|
-
}),
|
|
2648
|
+
}), Eo = "|";
|
|
2649
2649
|
class uh {
|
|
2650
2650
|
async getInitialTree() {
|
|
2651
2651
|
try {
|
|
@@ -2678,7 +2678,7 @@ class uh {
|
|
|
2678
2678
|
const a = [];
|
|
2679
2679
|
for (const o of l) {
|
|
2680
2680
|
let r = null;
|
|
2681
|
-
o?.nodeType === "st:site" ? r = o.id : o?.isFolder && o.name !== "documentLibrary" && (r = i ? i +
|
|
2681
|
+
o?.nodeType === "st:site" ? r = o.id : o?.isFolder && o.name !== "documentLibrary" && (r = i ? i + Eo + o.id : o.id), r && r.charAt(0) === "|" && (r = r.slice(1)), r && (a.push({ key: r, node: o }), i = r);
|
|
2682
2682
|
}
|
|
2683
2683
|
return a;
|
|
2684
2684
|
}
|
|
@@ -2688,7 +2688,7 @@ class uh {
|
|
|
2688
2688
|
let i = "", a = [];
|
|
2689
2689
|
for (const o of l) {
|
|
2690
2690
|
let r = null;
|
|
2691
|
-
r = o.id, o?.isFolder && o.name !== "documentLibrary" && (r = i ? i +
|
|
2691
|
+
r = o.id, o?.isFolder && o.name !== "documentLibrary" && (r = i ? i + Eo + o.id : o.id), r && r.charAt(0) === "|" && (r = r.slice(1)), r && (a.push({ key: r, node: o }), i = r);
|
|
2692
2692
|
}
|
|
2693
2693
|
return a;
|
|
2694
2694
|
}
|
|
@@ -2702,11 +2702,11 @@ class uh {
|
|
|
2702
2702
|
let r = "";
|
|
2703
2703
|
for (const { key: m, node: p } of t)
|
|
2704
2704
|
await a({ key: m, data: p }, l), i[m] = !0, r = m;
|
|
2705
|
-
const c = r +
|
|
2705
|
+
const c = r + Eo + o.id;
|
|
2706
2706
|
await a({ key: c, data: o }, l), i[c] = !0;
|
|
2707
2707
|
}
|
|
2708
2708
|
}
|
|
2709
|
-
const
|
|
2709
|
+
const Bo = new uh(), _i = "|", mh = {
|
|
2710
2710
|
name: "TreeExplorer",
|
|
2711
2711
|
components: {
|
|
2712
2712
|
PrimeTabs: Ii,
|
|
@@ -2758,7 +2758,7 @@ const Eo = new uh(), _i = "|", mh = {
|
|
|
2758
2758
|
async initTree() {
|
|
2759
2759
|
this.splitedKey = null;
|
|
2760
2760
|
try {
|
|
2761
|
-
return this.actionsService?.getInitialTree ? await this.actionsService.getInitialTree() : await
|
|
2761
|
+
return this.actionsService?.getInitialTree ? await this.actionsService.getInitialTree() : await Bo.getInitialTree();
|
|
2762
2762
|
} catch (e) {
|
|
2763
2763
|
return console.error("Error initializing tree:", e), [];
|
|
2764
2764
|
}
|
|
@@ -2865,7 +2865,7 @@ const Eo = new uh(), _i = "|", mh = {
|
|
|
2865
2865
|
try {
|
|
2866
2866
|
this.activeTab = Kt().isInUserHome ? 1 : 0;
|
|
2867
2867
|
let e = Kt().isInUserHome ? this.userHomesNodes : this.nodes, t = null;
|
|
2868
|
-
this.actionsService?.buildPathKeys ? t = this.actionsService.buildPathKeys(this.currentNode) : t =
|
|
2868
|
+
this.actionsService?.buildPathKeys ? t = this.actionsService.buildPathKeys(this.currentNode) : t = Bo.buildPathKeys(this.currentNode), await Bo.expandPathKeys({
|
|
2869
2869
|
keys: t,
|
|
2870
2870
|
nodes: e,
|
|
2871
2871
|
expandedKeys: this.expandedKeys,
|
|
@@ -3572,7 +3572,7 @@ const Ki = (e) => {
|
|
|
3572
3572
|
}
|
|
3573
3573
|
}
|
|
3574
3574
|
}
|
|
3575
|
-
}),
|
|
3575
|
+
}), _o = ii.global.t;
|
|
3576
3576
|
class Ih {
|
|
3577
3577
|
constructor() {
|
|
3578
3578
|
this.lruUrls = new dl({
|
|
@@ -3636,7 +3636,7 @@ class Ih {
|
|
|
3636
3636
|
]);
|
|
3637
3637
|
}
|
|
3638
3638
|
_createRendition(t, l) {
|
|
3639
|
-
return
|
|
3639
|
+
return Ho.createRendition(t, l).catch((i) => {
|
|
3640
3640
|
if (i.status === 400) {
|
|
3641
3641
|
let a = JSON.parse(i.message);
|
|
3642
3642
|
console.warn(a.error?.briefSummary);
|
|
@@ -3697,9 +3697,9 @@ class Ih {
|
|
|
3697
3697
|
*/
|
|
3698
3698
|
getRenditionUrl(t, l = "pdf") {
|
|
3699
3699
|
return Gs(
|
|
3700
|
-
async () =>
|
|
3700
|
+
async () => Ho.getRendition(t, l).then((i) => {
|
|
3701
3701
|
if (i.entry.status === "NOT_CREATED")
|
|
3702
|
-
throw
|
|
3702
|
+
throw Ho.createRendition(t, {
|
|
3703
3703
|
id: l
|
|
3704
3704
|
}), new Error("NOT_CREATED");
|
|
3705
3705
|
if (i.entry.status === "CREATED")
|
|
@@ -3939,11 +3939,11 @@ class Ih {
|
|
|
3939
3939
|
const l = t.properties["cm:lockType"], i = t.properties["cm:lockOwner"]?.displayName ?? t.properties["cm:lockOwner"]?.id;
|
|
3940
3940
|
switch (l) {
|
|
3941
3941
|
case "NODE_LOCK":
|
|
3942
|
-
return
|
|
3942
|
+
return _o("lock.nodeLock", { owner: i });
|
|
3943
3943
|
case "READ_ONLY_LOCK":
|
|
3944
|
-
return
|
|
3944
|
+
return _o("lock.readOnlyLock", { owner: i });
|
|
3945
3945
|
case "WRITE_LOCK":
|
|
3946
|
-
return
|
|
3946
|
+
return _o("lock.writeLock", { owner: i });
|
|
3947
3947
|
default:
|
|
3948
3948
|
return `Verrou inconnu (${l}).
|
|
3949
3949
|
Lock owner: ${i}`;
|
|
@@ -4342,7 +4342,7 @@ class jh {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
}
|
|
4344
4344
|
formatDate(t) {
|
|
4345
|
-
return t ?
|
|
4345
|
+
return t ? is(new Date(t), "ddd D MMM YYYY") : Ge("tasks.none");
|
|
4346
4346
|
}
|
|
4347
4347
|
formatDateWithHour(t) {
|
|
4348
4348
|
const l = new Date(t), i = String(l.getUTCDate()).padStart(2, "0"), a = l.getUTCMonth(), o = l.getUTCFullYear(), r = String(l.getUTCHours()).padStart(2, "0"), c = String(l.getUTCMinutes()).padStart(2, "0"), m = String(l.getUTCSeconds()).padStart(2, "0"), h = ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"][l.getUTCDay()], y = [
|
|
@@ -4537,7 +4537,7 @@ const st = Pt({
|
|
|
4537
4537
|
"ACS_USERNAME",
|
|
4538
4538
|
this.keycloak.idTokenParsed.preferred_username
|
|
4539
4539
|
), this.isLoggedIn = !0, t)).catch((t) => {
|
|
4540
|
-
throw this.isLoggedIn = !1,
|
|
4540
|
+
throw this.isLoggedIn = !1, Qo(t);
|
|
4541
4541
|
});
|
|
4542
4542
|
},
|
|
4543
4543
|
/**
|
|
@@ -4600,7 +4600,7 @@ const st = Pt({
|
|
|
4600
4600
|
*/
|
|
4601
4601
|
apiLogin(e, t) {
|
|
4602
4602
|
return Ke.login(e, t).then(() => (this.isLoggedIn = !0, this.getPerson())).catch((l) => {
|
|
4603
|
-
throw this.isLoggedIn = !1,
|
|
4603
|
+
throw this.isLoggedIn = !1, Qo(l);
|
|
4604
4604
|
});
|
|
4605
4605
|
},
|
|
4606
4606
|
/**
|
|
@@ -4622,7 +4622,7 @@ const st = Pt({
|
|
|
4622
4622
|
"GET",
|
|
4623
4623
|
`fr/jeci/pristy/authentication/ticket/publication/site/${e}`
|
|
4624
4624
|
).then((l) => (Ke.setTicket(l.ticket, null), window.localStorage.setItem("ACS_USERNAME", l.login), l.ticket)).catch((l) => {
|
|
4625
|
-
throw
|
|
4625
|
+
throw Qo(l);
|
|
4626
4626
|
});
|
|
4627
4627
|
}
|
|
4628
4628
|
}
|
|
@@ -4694,9 +4694,14 @@ const po = Pt({
|
|
|
4694
4694
|
const l = {
|
|
4695
4695
|
skipCount: 0,
|
|
4696
4696
|
maxItems: 200,
|
|
4697
|
-
include: ["
|
|
4697
|
+
include: ["path"]
|
|
4698
4698
|
};
|
|
4699
|
-
return Ja =
|
|
4699
|
+
return Ja = vo.listFavorites(t.person.id, l).then((i) => (this.favorites = i.list.entries.map((a) => a.entry), this.loaded = !0, this.favorites)).catch((i) => {
|
|
4700
|
+
if (i?.status === 400)
|
|
4701
|
+
return vo.listFavorites(t.person.id, {
|
|
4702
|
+
skipCount: 0,
|
|
4703
|
+
maxItems: 200
|
|
4704
|
+
}).then((a) => (this.favorites = a.list.entries.map((o) => o.entry), this.loaded = !0, this.favorites));
|
|
4700
4705
|
throw ke("loadFavorites", i);
|
|
4701
4706
|
}).finally(() => {
|
|
4702
4707
|
this.loading = !1, Ja = null;
|
|
@@ -4736,13 +4741,13 @@ class Fh {
|
|
|
4736
4741
|
createFavorite(t) {
|
|
4737
4742
|
const l = st(), i = ds();
|
|
4738
4743
|
let a = { target: {} }, o = { guid: t.id };
|
|
4739
|
-
return t.nodeType === "st:site" ? a.target = { site: o } : t.isFile ? a.target = { file: o } : a.target = { folder: o },
|
|
4744
|
+
return t.nodeType === "st:site" ? a.target = { site: o } : t.isFile ? a.target = { file: o } : a.target = { folder: o }, vo.createFavorite(l.person.id, a).then((r) => (t.isFavorite = r.entry.targetGuid === t.id, po().addFavoriteToCache(r.entry), t)).then((r) => (r.isFavorite && i.addFavorite(Qs(r), "menuFavoris"), r)).catch((r) => {
|
|
4740
4745
|
throw ke("createFavorite", r);
|
|
4741
4746
|
});
|
|
4742
4747
|
}
|
|
4743
4748
|
deleteFavoris(t) {
|
|
4744
4749
|
const l = st(), i = ds();
|
|
4745
|
-
return
|
|
4750
|
+
return vo.deleteFavorite(l.person.id, t.id).then(() => (t.isFavorite = !1, po().removeFavoriteFromCache(t.id), t)).then((a) => (a.isFavorite || i.removeFavorite(Qs(a), "menuFavoris"), a)).catch((a) => {
|
|
4746
4751
|
throw console.error(a), ke("getSharedLink", a);
|
|
4747
4752
|
});
|
|
4748
4753
|
}
|
|
@@ -5119,7 +5124,7 @@ const oi = /* @__PURE__ */ se(Rh, [["render", Vh]]), Uh = {
|
|
|
5119
5124
|
class: "ri-arrow-right-s-line breadcrumbSeparator text-2xl mb-2 mx-1"
|
|
5120
5125
|
}, e1 = { key: 3 }, t1 = { class: "p-menuitem" }, l1 = { class: "commonElementName breadcrumbElementName" }, a1 = { class: "p-menuitem" };
|
|
5121
5126
|
function i1(e, t, l, i, a, o) {
|
|
5122
|
-
const r = g("router-link"), c = g("PrimeButton"), m = g("PrimeMenu"), p = g("ActionMenu"), h =
|
|
5127
|
+
const r = g("router-link"), c = g("PrimeButton"), m = g("PrimeMenu"), p = g("ActionMenu"), h = Pe("tooltip");
|
|
5123
5128
|
return l.path ? (n(), u("div", Jh, [
|
|
5124
5129
|
s("div", Ph, [
|
|
5125
5130
|
s("div", Hh, [
|
|
@@ -5352,7 +5357,7 @@ const o1 = /* @__PURE__ */ se(Uh, [["render", i1], ["__scopeId", "data-v-dcfc5b7
|
|
|
5352
5357
|
class: "breadcrumb-text"
|
|
5353
5358
|
};
|
|
5354
5359
|
function Z1(e, t, l, i, a, o) {
|
|
5355
|
-
const r = g("router-link"), c = g("PrimeButton"), m = g("ActionMenu"), p = g("PrimeBreadcrumb"), h =
|
|
5360
|
+
const r = g("router-link"), c = g("PrimeButton"), m = g("ActionMenu"), p = g("PrimeBreadcrumb"), h = Pe("tooltip");
|
|
5356
5361
|
return l.path ? (n(), M(p, {
|
|
5357
5362
|
key: 0,
|
|
5358
5363
|
model: l.path,
|
|
@@ -5631,7 +5636,7 @@ const g1 = /* @__PURE__ */ se(s1, [["render", Z1], ["__scopeId", "data-v-9d5444a
|
|
|
5631
5636
|
class: "breadcrumb-current"
|
|
5632
5637
|
}, D1 = { class: "breadcrumb-text" };
|
|
5633
5638
|
function R1(e, t, l, i, a, o) {
|
|
5634
|
-
const r = g("router-link"), c = g("PrimeButton"), m = g("PrimeMenu"), p = g("ActionMenu"), h =
|
|
5639
|
+
const r = g("router-link"), c = g("PrimeButton"), m = g("PrimeMenu"), p = g("ActionMenu"), h = Pe("tooltip");
|
|
5635
5640
|
return i.computedPath.length > 0 ? (n(), u("div", W1, [
|
|
5636
5641
|
i.displayMode === "linear" ? (n(), u("div", f1, [
|
|
5637
5642
|
(n(!0), u(q, null, Ae(i.computedPath, (Z, y) => (n(), u(q, { key: y }, [
|
|
@@ -5960,7 +5965,7 @@ class U1 {
|
|
|
5960
5965
|
return t.indexOf("-") > 0 && (t = t.substring(0, t.indexOf("-"))), S1.includes(t) || (t = "en"), t;
|
|
5961
5966
|
}
|
|
5962
5967
|
}
|
|
5963
|
-
const
|
|
5968
|
+
const fo = new U1(), _s = ii.global.t;
|
|
5964
5969
|
class J1 {
|
|
5965
5970
|
toLocaleDateString(t) {
|
|
5966
5971
|
if (!t)
|
|
@@ -5972,13 +5977,13 @@ class J1 {
|
|
|
5972
5977
|
if (!t)
|
|
5973
5978
|
return "";
|
|
5974
5979
|
const l = new Date(t);
|
|
5975
|
-
return isNaN(l.getTime()) ? "" :
|
|
5980
|
+
return isNaN(l.getTime()) ? "" : is(l, "ddd D MMM YYYY");
|
|
5976
5981
|
}
|
|
5977
5982
|
formatDateTime(t) {
|
|
5978
5983
|
if (!t)
|
|
5979
5984
|
return "";
|
|
5980
5985
|
const l = new Date(t);
|
|
5981
|
-
return isNaN(l.getTime()) ? "" :
|
|
5986
|
+
return isNaN(l.getTime()) ? "" : is(l, "ddd D MMM YYYY - HH:mm:ss");
|
|
5982
5987
|
}
|
|
5983
5988
|
formatBool(t) {
|
|
5984
5989
|
if (t === !0)
|
|
@@ -6266,7 +6271,7 @@ const Jl = new P1(), H1 = {
|
|
|
6266
6271
|
PrimeButton: ae,
|
|
6267
6272
|
PrimeToggleSwitch: ji,
|
|
6268
6273
|
PrimePopover: Ws,
|
|
6269
|
-
PrimeInputText:
|
|
6274
|
+
PrimeInputText: Je,
|
|
6270
6275
|
PrimeIconField: Gi,
|
|
6271
6276
|
PrimeInputIcon: ki,
|
|
6272
6277
|
PrimeDivider: Ga
|
|
@@ -6354,7 +6359,7 @@ const Jl = new P1(), H1 = {
|
|
|
6354
6359
|
class: "column-toggle-section"
|
|
6355
6360
|
}, cy = { class: "column-toggle-section-header" }, dy = { class: "column-toggle-list" }, uy = ["for"];
|
|
6356
6361
|
function my(e, t, l, i, a, o) {
|
|
6357
|
-
const r = g("PrimeButton"), c = g("PrimeDivider"), m = g("PrimeInputIcon"), p = g("PrimeInputText"), h = g("PrimeIconField"), Z = g("PrimeToggleSwitch"), y = g("PrimePopover"), v =
|
|
6362
|
+
const r = g("PrimeButton"), c = g("PrimeDivider"), m = g("PrimeInputIcon"), p = g("PrimeInputText"), h = g("PrimeIconField"), Z = g("PrimeToggleSwitch"), y = g("PrimePopover"), v = Pe("tooltip");
|
|
6358
6363
|
return n(), u("span", Q1, [
|
|
6359
6364
|
P(d(r, {
|
|
6360
6365
|
type: "button",
|
|
@@ -6424,7 +6429,7 @@ function my(e, t, l, i, a, o) {
|
|
|
6424
6429
|
class: te(["column-toggle-item", { "drag-over": a.dragOverIndex === O }]),
|
|
6425
6430
|
draggable: !l.isSmallScreen,
|
|
6426
6431
|
onDragstart: (j) => !l.isSmallScreen && o.onDragStart(O, j),
|
|
6427
|
-
onDragover:
|
|
6432
|
+
onDragover: Ue((j) => !l.isSmallScreen && o.onDragOver(O), ["prevent"]),
|
|
6428
6433
|
onDragleave: t[2] || (t[2] = (j) => !l.isSmallScreen && o.onDragLeave()),
|
|
6429
6434
|
onDrop: (j) => !l.isSmallScreen && o.onDrop(O),
|
|
6430
6435
|
onDragend: t[3] || (t[3] = (j) => !l.isSmallScreen && o.onDragEnd())
|
|
@@ -6501,7 +6506,7 @@ const Ou = /* @__PURE__ */ se(H1, [["render", my], ["__scopeId", "data-v-06ffb6b
|
|
|
6501
6506
|
PrimePopover: Ws,
|
|
6502
6507
|
PrimeCheckbox: yl,
|
|
6503
6508
|
PrimeSelect: Dt,
|
|
6504
|
-
PrimeInputText:
|
|
6509
|
+
PrimeInputText: Je
|
|
6505
6510
|
},
|
|
6506
6511
|
directives: {
|
|
6507
6512
|
tooltip: Wt
|
|
@@ -6650,7 +6655,7 @@ const Ou = /* @__PURE__ */ se(H1, [["render", my], ["__scopeId", "data-v-06ffb6b
|
|
|
6650
6655
|
return vt;
|
|
6651
6656
|
},
|
|
6652
6657
|
convertBytesToSize(e) {
|
|
6653
|
-
return
|
|
6658
|
+
return fo.convertBytesToSize(e);
|
|
6654
6659
|
},
|
|
6655
6660
|
toLocaleDateString(e) {
|
|
6656
6661
|
return qa.toLocaleDateString(e);
|
|
@@ -6718,7 +6723,7 @@ const Ou = /* @__PURE__ */ se(H1, [["render", my], ["__scopeId", "data-v-06ffb6b
|
|
|
6718
6723
|
class: "filter-popover-empty"
|
|
6719
6724
|
};
|
|
6720
6725
|
function wy(e, t, l, i, a, o) {
|
|
6721
|
-
const r = g("PrimeColumn"), c = g("PrimeImage"), m = g("PristyIcon"), p = g("PrimeButton"), h = g("router-link"), Z = g("ColumnTogglePanel"), y = g("PrimeDataTable"), v = g("PrimeSelect"), T = g("PrimeInputText"), O = g("PrimeCheckbox"), j = g("PrimePopover"), w =
|
|
6726
|
+
const r = g("PrimeColumn"), c = g("PrimeImage"), m = g("PristyIcon"), p = g("PrimeButton"), h = g("router-link"), Z = g("ColumnTogglePanel"), y = g("PrimeDataTable"), v = g("PrimeSelect"), T = g("PrimeInputText"), O = g("PrimeCheckbox"), j = g("PrimePopover"), w = Pe("tooltip");
|
|
6722
6727
|
return n(), u(q, null, [
|
|
6723
6728
|
l.currentNode ? (n(), M(y, {
|
|
6724
6729
|
key: l.currentNode.id,
|
|
@@ -6809,7 +6814,7 @@ function wy(e, t, l, i, a, o) {
|
|
|
6809
6814
|
text: "",
|
|
6810
6815
|
rounded: "",
|
|
6811
6816
|
class: "filter-toggle-btn",
|
|
6812
|
-
onClick:
|
|
6817
|
+
onClick: Ue((X) => e.openFilterPopover(X, I), ["stop"])
|
|
6813
6818
|
}, null, 8, ["icon", "onClick"])), [
|
|
6814
6819
|
[w, e.$t("filter.toggle")]
|
|
6815
6820
|
]) : W("", !0)
|
|
@@ -6844,7 +6849,7 @@ function wy(e, t, l, i, a, o) {
|
|
|
6844
6849
|
rounded: "",
|
|
6845
6850
|
size: "small",
|
|
6846
6851
|
"aria-label": e.$t("restrictedPermissions"),
|
|
6847
|
-
onClick:
|
|
6852
|
+
onClick: Ue((k) => e.$emit("open-members", X.data), ["stop", "prevent"])
|
|
6848
6853
|
}, null, 8, ["aria-label", "onClick"])), [
|
|
6849
6854
|
[w, e.$t("restrictedPermissions")]
|
|
6850
6855
|
]) : W("", !0),
|
|
@@ -6902,7 +6907,7 @@ function wy(e, t, l, i, a, o) {
|
|
|
6902
6907
|
rounded: "",
|
|
6903
6908
|
size: "small",
|
|
6904
6909
|
"aria-label": e.$t("restrictedPermissions"),
|
|
6905
|
-
onClick:
|
|
6910
|
+
onClick: Ue((k) => e.$emit("open-members", X.data), ["stop", "prevent"])
|
|
6906
6911
|
}, null, 8, ["aria-label", "onClick"])), [
|
|
6907
6912
|
[w, e.$t("restrictedPermissions")]
|
|
6908
6913
|
]) : W("", !0),
|
|
@@ -7162,7 +7167,7 @@ const wu = /* @__PURE__ */ se(by, [["render", wy], ["__scopeId", "data-v-796a210
|
|
|
7162
7167
|
class: "col-date"
|
|
7163
7168
|
}, xy = { class: "col-actions" };
|
|
7164
7169
|
function Vy(e, t, l, i, a, o) {
|
|
7165
|
-
const r = g("PrimeCheckBox"), c = g("PrimeButton"), m = g("PristyIcon"), p = g("router-link"), h =
|
|
7170
|
+
const r = g("PrimeCheckBox"), c = g("PrimeButton"), m = g("PristyIcon"), p = g("router-link"), h = Pe("tooltip");
|
|
7166
7171
|
return n(!0), u(q, null, Ae(l.slotProps.items, (Z, y) => (n(), u("div", {
|
|
7167
7172
|
key: y,
|
|
7168
7173
|
class: "list-item-wrapper",
|
|
@@ -7199,7 +7204,7 @@ function Vy(e, t, l, i, a, o) {
|
|
|
7199
7204
|
rounded: "",
|
|
7200
7205
|
size: "small",
|
|
7201
7206
|
"aria-label": e.$t("restrictedPermissions"),
|
|
7202
|
-
onClick:
|
|
7207
|
+
onClick: Ue((v) => e.$emit("open-members", Z), ["stop"])
|
|
7203
7208
|
}, null, 8, ["aria-label", "onClick"])), [
|
|
7204
7209
|
[h, e.$t("restrictedPermissions")]
|
|
7205
7210
|
]) : W("", !0),
|
|
@@ -7207,7 +7212,7 @@ function Vy(e, t, l, i, a, o) {
|
|
|
7207
7212
|
P(d(m, {
|
|
7208
7213
|
class: "file-icon cursor-pointer",
|
|
7209
7214
|
"svg-file-name": o.loadIcon(Z),
|
|
7210
|
-
onClick:
|
|
7215
|
+
onClick: Ue((v) => o.clickIcon(Z), ["stop"])
|
|
7211
7216
|
}, null, 8, ["svg-file-name", "onClick"]), [
|
|
7212
7217
|
[h, o.loadIconLabel(Z)]
|
|
7213
7218
|
])
|
|
@@ -7231,7 +7236,7 @@ function Vy(e, t, l, i, a, o) {
|
|
|
7231
7236
|
]) : P((n(), u("span", {
|
|
7232
7237
|
key: 5,
|
|
7233
7238
|
class: "item-name",
|
|
7234
|
-
onClick:
|
|
7239
|
+
onClick: Ue((v) => o.nodeClicked(Z), ["stop"])
|
|
7235
7240
|
}, [
|
|
7236
7241
|
$(b(Z.name), 1)
|
|
7237
7242
|
], 8, Fy)), [
|
|
@@ -7245,7 +7250,7 @@ function Vy(e, t, l, i, a, o) {
|
|
|
7245
7250
|
Z.properties && Z.properties["cm:title"] ? P((n(), u("span", {
|
|
7246
7251
|
key: 6,
|
|
7247
7252
|
class: "item-title",
|
|
7248
|
-
onClick:
|
|
7253
|
+
onClick: Ue((v) => o.openPreviewPanel(Z), ["stop"])
|
|
7249
7254
|
}, [
|
|
7250
7255
|
$(" - " + b(Z.properties["cm:title"]), 1)
|
|
7251
7256
|
], 8, Dy)), [
|
|
@@ -7348,7 +7353,7 @@ const Uy = /* @__PURE__ */ se(Iy, [["render", Vy], ["__scopeId", "data-v-4d8d006
|
|
|
7348
7353
|
PrimePopover: Ws,
|
|
7349
7354
|
PrimeCheckbox: yl,
|
|
7350
7355
|
PrimeSelect: Dt,
|
|
7351
|
-
PrimeInputText:
|
|
7356
|
+
PrimeInputText: Je
|
|
7352
7357
|
},
|
|
7353
7358
|
directives: {
|
|
7354
7359
|
tooltip: Wt
|
|
@@ -7521,7 +7526,7 @@ const Uy = /* @__PURE__ */ se(Iy, [["render", Vy], ["__scopeId", "data-v-4d8d006
|
|
|
7521
7526
|
return t.replace(/\[(\w+)\]/g, ".$1").replace(/\["(.+?)"\]|\['(.+?)'\]/g, ".$1$2").split(".").filter(Boolean).reduce((l, i) => l && l[i] !== void 0 ? l[i] : void 0, e);
|
|
7522
7527
|
},
|
|
7523
7528
|
convertBytesToSize(e) {
|
|
7524
|
-
return
|
|
7529
|
+
return fo.convertBytesToSize(e);
|
|
7525
7530
|
},
|
|
7526
7531
|
toLocaleDateString(e) {
|
|
7527
7532
|
return qa.toLocaleDateString(e);
|
|
@@ -7553,7 +7558,7 @@ const Uy = /* @__PURE__ */ se(Iy, [["render", Vy], ["__scopeId", "data-v-4d8d006
|
|
|
7553
7558
|
class: "filter-popover-empty"
|
|
7554
7559
|
};
|
|
7555
7560
|
function i3(e, t, l, i, a, o) {
|
|
7556
|
-
const r = g("PrimeColumn"), c = g("PrimeButton"), m = g("PristyIcon"), p = g("ColumnTogglePanel"), h = g("PrimeDataTable"), Z = g("PrimeSelect"), y = g("PrimeInputText"), v = g("PrimeCheckbox"), T = g("PrimePopover"), O =
|
|
7561
|
+
const r = g("PrimeColumn"), c = g("PrimeButton"), m = g("PristyIcon"), p = g("ColumnTogglePanel"), h = g("PrimeDataTable"), Z = g("PrimeSelect"), y = g("PrimeInputText"), v = g("PrimeCheckbox"), T = g("PrimePopover"), O = Pe("tooltip");
|
|
7557
7562
|
return n(), u(q, null, [
|
|
7558
7563
|
l.currentNode ? (n(), M(h, {
|
|
7559
7564
|
key: l.currentNode.id,
|
|
@@ -7594,7 +7599,7 @@ function i3(e, t, l, i, a, o) {
|
|
|
7594
7599
|
text: "",
|
|
7595
7600
|
rounded: "",
|
|
7596
7601
|
class: "filter-toggle-btn",
|
|
7597
|
-
onClick:
|
|
7602
|
+
onClick: Ue((I) => e.openFilterPopover(I, j), ["stop"])
|
|
7598
7603
|
}, null, 8, ["icon", "onClick"])), [
|
|
7599
7604
|
[O, e.$t("filter.toggle")]
|
|
7600
7605
|
]) : W("", !0)
|
|
@@ -7622,7 +7627,7 @@ function i3(e, t, l, i, a, o) {
|
|
|
7622
7627
|
rounded: "",
|
|
7623
7628
|
size: "small",
|
|
7624
7629
|
"aria-label": e.$t("restrictedPermissions"),
|
|
7625
|
-
onClick:
|
|
7630
|
+
onClick: Ue((N) => e.$emit("open-members", I), ["stop"])
|
|
7626
7631
|
}, null, 8, ["aria-label", "onClick"])), [
|
|
7627
7632
|
[O, e.$t("restrictedPermissions")]
|
|
7628
7633
|
]) : W("", !0)
|
|
@@ -7636,14 +7641,14 @@ function i3(e, t, l, i, a, o) {
|
|
|
7636
7641
|
rounded: "",
|
|
7637
7642
|
size: "small",
|
|
7638
7643
|
"aria-label": e.$t("restrictedPermissions"),
|
|
7639
|
-
onClick:
|
|
7644
|
+
onClick: Ue((N) => e.$emit("open-members", I), ["stop"])
|
|
7640
7645
|
}, null, 8, ["aria-label", "onClick"])), [
|
|
7641
7646
|
[O, e.$t("restrictedPermissions")]
|
|
7642
7647
|
]) : W("", !0),
|
|
7643
7648
|
P(d(m, {
|
|
7644
7649
|
class: "file-icon cursor-pointer",
|
|
7645
7650
|
"svg-file-name": o.loadIcon(I),
|
|
7646
|
-
onClick:
|
|
7651
|
+
onClick: Ue((N) => o.clickIcon(I), ["stop"])
|
|
7647
7652
|
}, null, 8, ["svg-file-name", "onClick"]), [
|
|
7648
7653
|
[O, o.loadIconLabel(I)]
|
|
7649
7654
|
])
|
|
@@ -7817,7 +7822,7 @@ function i3(e, t, l, i, a, o) {
|
|
|
7817
7822
|
}, 512)
|
|
7818
7823
|
], 64);
|
|
7819
7824
|
}
|
|
7820
|
-
const
|
|
7825
|
+
const wo = /* @__PURE__ */ se(Jy, [["render", i3], ["__scopeId", "data-v-daae4667"]]), o3 = {
|
|
7821
7826
|
name: "ContentGridView",
|
|
7822
7827
|
components: {
|
|
7823
7828
|
PristyIcon: ai,
|
|
@@ -7937,7 +7942,7 @@ const Oo = /* @__PURE__ */ se(Jy, [["render", i3], ["__scopeId", "data-v-daae466
|
|
|
7937
7942
|
"aria-hidden": "true"
|
|
7938
7943
|
}, h3 = ["onClick"], y3 = ["onClick"], Z3 = ["src", "alt"], g3 = ["src", "alt", "onError"], v3 = { class: "card-footer" }, W3 = { class: "date-info" };
|
|
7939
7944
|
function f3(e, t, l, i, a, o) {
|
|
7940
|
-
const r = g("PrimeCheckBox"), c = g("PrimeButton"), m = g("router-link"), p = g("PrimeImage"), h = g("PristyIcon"), Z =
|
|
7945
|
+
const r = g("PrimeCheckBox"), c = g("PrimeButton"), m = g("router-link"), p = g("PrimeImage"), h = g("PristyIcon"), Z = Pe("tooltip");
|
|
7941
7946
|
return n(), u(q, null, [
|
|
7942
7947
|
s("div", s3, [
|
|
7943
7948
|
d(r, {
|
|
@@ -7983,7 +7988,7 @@ function f3(e, t, l, i, a, o) {
|
|
|
7983
7988
|
rounded: "",
|
|
7984
7989
|
size: "small",
|
|
7985
7990
|
"aria-label": e.$t("restrictedPermissions"),
|
|
7986
|
-
onClick:
|
|
7991
|
+
onClick: Ue((T) => e.$emit("open-members", y), ["stop"])
|
|
7987
7992
|
}, null, 8, ["aria-label", "onClick"])), [
|
|
7988
7993
|
[Z, e.$t("restrictedPermissions")]
|
|
7989
7994
|
]) : W("", !0),
|
|
@@ -8208,7 +8213,7 @@ const Tu = new A3(), Y3 = {
|
|
|
8208
8213
|
PrimeSelect: Dt,
|
|
8209
8214
|
PrimeSteps: U0,
|
|
8210
8215
|
PrimeAvatar: As,
|
|
8211
|
-
PrimeInputText:
|
|
8216
|
+
PrimeInputText: Je,
|
|
8212
8217
|
PrimeIconField: Gi,
|
|
8213
8218
|
PrimeDatePicker: Li,
|
|
8214
8219
|
PrimeTextArea: Zl,
|
|
@@ -8804,7 +8809,7 @@ const ju = /* @__PURE__ */ se(Y3, [["render", lZ], ["__scopeId", "data-v-8434fa4
|
|
|
8804
8809
|
class: "col-12 mb-2"
|
|
8805
8810
|
}, rZ = { class: "col-12 md:col-10 w-full" }, cZ = { class: "field grid" }, dZ = { class: "grid radio-display" }, uZ = { class: "col-12 md:col-6" }, mZ = { class: "field-radiobutton mb-0" }, bZ = { for: "majeure" }, pZ = { class: "col-12 md:col-6" }, hZ = { class: "field-radiobutton mb-0" }, yZ = { for: "mineure" };
|
|
8806
8811
|
function ZZ(e, t, l, i, a, o) {
|
|
8807
|
-
const r = g("PrimeButton"), c = g("PrimeFileUpload"), m = g("PrimeTextarea"), p = g("PrimeRadioButton"), h = g("PrimeDialog"), Z =
|
|
8812
|
+
const r = g("PrimeButton"), c = g("PrimeFileUpload"), m = g("PrimeTextarea"), p = g("PrimeRadioButton"), h = g("PrimeDialog"), Z = Pe("tooltip");
|
|
8808
8813
|
return n(), M(h, {
|
|
8809
8814
|
header: e.$t("importNewVersion"),
|
|
8810
8815
|
visible: "",
|
|
@@ -9688,7 +9693,7 @@ const Lu = /* @__PURE__ */ se(CZ, [["render", DZ], ["__scopeId", "data-v-089320c
|
|
|
9688
9693
|
PrimeChips: J0,
|
|
9689
9694
|
PrimeTextarea: Zl,
|
|
9690
9695
|
PrimeCheckbox: yl,
|
|
9691
|
-
PrimeInputText:
|
|
9696
|
+
PrimeInputText: Je
|
|
9692
9697
|
},
|
|
9693
9698
|
emits: ["close"],
|
|
9694
9699
|
data() {
|
|
@@ -9714,19 +9719,19 @@ const Lu = /* @__PURE__ */ se(CZ, [["render", DZ], ["__scopeId", "data-v-089320c
|
|
|
9714
9719
|
return this.$t("sendingMail.errors.errorEmptyEmail");
|
|
9715
9720
|
let e = null;
|
|
9716
9721
|
return this.to.forEach((t) => {
|
|
9717
|
-
|
|
9722
|
+
Do.validate(t) || (e = this.$t("sendingMail.errors.errorValidEmail"));
|
|
9718
9723
|
}), e;
|
|
9719
9724
|
},
|
|
9720
9725
|
checkValidCC() {
|
|
9721
9726
|
let e = null;
|
|
9722
9727
|
return this.cc.length > 0 && this.cc.forEach((t) => {
|
|
9723
|
-
|
|
9728
|
+
Do.validate(t) || (e = this.$t("sendingMail.errors.errorValidEmail"));
|
|
9724
9729
|
}), e;
|
|
9725
9730
|
},
|
|
9726
9731
|
checkValidCCI() {
|
|
9727
9732
|
let e = null;
|
|
9728
9733
|
return this.cci.length > 0 && this.cci.forEach((t) => {
|
|
9729
|
-
|
|
9734
|
+
Do.validate(t) || (e = this.$t("sendingMail.errors.errorValidEmail"));
|
|
9730
9735
|
}), e;
|
|
9731
9736
|
},
|
|
9732
9737
|
checkSubject() {
|
|
@@ -9990,8 +9995,8 @@ const Cu = /* @__PURE__ */ se(RZ, [["render", bg], ["__scopeId", "data-v-4802272
|
|
|
9990
9995
|
components: {
|
|
9991
9996
|
PrimeDialog: lt,
|
|
9992
9997
|
PrimeButton: ae,
|
|
9993
|
-
PrimeInputText:
|
|
9994
|
-
PrimeInputGroup:
|
|
9998
|
+
PrimeInputText: Je,
|
|
9999
|
+
PrimeInputGroup: No,
|
|
9995
10000
|
PrimeInputGroupAddon: Ni,
|
|
9996
10001
|
PrimeCheckbox: yl,
|
|
9997
10002
|
PrimeDatePicker: Li
|
|
@@ -10103,7 +10108,7 @@ const Cu = /* @__PURE__ */ se(RZ, [["render", bg], ["__scopeId", "data-v-4802272
|
|
|
10103
10108
|
class: "expiration-section"
|
|
10104
10109
|
}, Zg = { class: "expiration-checkbox" }, gg = { for: "expirationDate" };
|
|
10105
10110
|
function vg(e, t, l, i, a, o) {
|
|
10106
|
-
const r = g("PrimeButton"), c = g("PrimeInputText"), m = g("PrimeInputGroupAddon"), p = g("PrimeInputGroup"), h = g("PrimeCheckbox"), Z = g("PrimeDatePicker"), y = g("PrimeDialog"), v =
|
|
10111
|
+
const r = g("PrimeButton"), c = g("PrimeInputText"), m = g("PrimeInputGroupAddon"), p = g("PrimeInputGroup"), h = g("PrimeCheckbox"), Z = g("PrimeDatePicker"), y = g("PrimeDialog"), v = Pe("tooltip");
|
|
10107
10112
|
return n(), M(y, {
|
|
10108
10113
|
header: e.$t("sharelink.linkToShare"),
|
|
10109
10114
|
visible: "",
|
|
@@ -10259,7 +10264,7 @@ const Fu = /* @__PURE__ */ se(pg, [["render", vg], ["__scopeId", "data-v-5e2dde4
|
|
|
10259
10264
|
}
|
|
10260
10265
|
}, fg = { class: "ghost-row" }, Ag = { class: "ghost-name" }, Yg = { class: "ghost-badge" };
|
|
10261
10266
|
function Mg(e, t, l, i, a, o) {
|
|
10262
|
-
const r = g("PristyIcon"), c =
|
|
10267
|
+
const r = g("PristyIcon"), c = Pe("tooltip");
|
|
10263
10268
|
return n(), u("div", fg, [
|
|
10264
10269
|
d(r, {
|
|
10265
10270
|
class: "ghost-icon",
|
|
@@ -10283,7 +10288,7 @@ const Ng = /* @__PURE__ */ se(Wg, [["render", Mg], ["__scopeId", "data-v-9bc5f98
|
|
|
10283
10288
|
name: "DynamicContentView",
|
|
10284
10289
|
components: {
|
|
10285
10290
|
ActionMenu: oi,
|
|
10286
|
-
ContentCompactTableView:
|
|
10291
|
+
ContentCompactTableView: wo,
|
|
10287
10292
|
ContentGridView: Iu,
|
|
10288
10293
|
ContentTableView: wu,
|
|
10289
10294
|
CopyOrMovePopup: Yu,
|
|
@@ -11094,7 +11099,7 @@ const Bg = /* @__PURE__ */ se(Pg, [["render", Eg], ["__scopeId", "data-v-393d9e2
|
|
|
11094
11099
|
class: "toolbar-actions"
|
|
11095
11100
|
}, tv = { class: "image-container" };
|
|
11096
11101
|
function lv(e, t, l, i, a, o) {
|
|
11097
|
-
const r = g("PrimeTag"), c = g("PrimeButton"), m = g("PrimeToolBar"), p = g("PrimeImage"), h =
|
|
11102
|
+
const r = g("PrimeTag"), c = g("PrimeButton"), m = g("PrimeToolBar"), p = g("PrimeImage"), h = Pe("tooltip");
|
|
11098
11103
|
return n(), u("div", Kg, [
|
|
11099
11104
|
s("div", $g, [
|
|
11100
11105
|
d(m, { class: "sticky" }, {
|
|
@@ -11225,7 +11230,7 @@ const Du = /* @__PURE__ */ se(_g, [["render", lv], ["__scopeId", "data-v-d9cb11e
|
|
|
11225
11230
|
class: "consultation-title"
|
|
11226
11231
|
}, nv = { class: "video-container" }, rv = ["src"];
|
|
11227
11232
|
function cv(e, t, l, i, a, o) {
|
|
11228
|
-
const r = g("PrimeTag"), c = g("PrimeButton"), m = g("PrimeToolBar"), p =
|
|
11233
|
+
const r = g("PrimeTag"), c = g("PrimeButton"), m = g("PrimeToolBar"), p = Pe("tooltip");
|
|
11229
11234
|
return n(), u("div", iv, [
|
|
11230
11235
|
s("div", ov, [
|
|
11231
11236
|
d(m, { class: "sticky consultation-toolbar" }, {
|
|
@@ -11511,12 +11516,12 @@ class hl {
|
|
|
11511
11516
|
`m1(m3(t1)`, and so on.
|
|
11512
11517
|
*/
|
|
11513
11518
|
static defineModifier(t) {
|
|
11514
|
-
let l = new
|
|
11515
|
-
return (i) => i.modified.indexOf(l) > -1 ? i :
|
|
11519
|
+
let l = new Ao(t);
|
|
11520
|
+
return (i) => i.modified.indexOf(l) > -1 ? i : Ao.get(i.base || i, i.modified.concat(l).sort((a, o) => a.id - o.id));
|
|
11516
11521
|
}
|
|
11517
11522
|
}
|
|
11518
11523
|
let fv = 0;
|
|
11519
|
-
class
|
|
11524
|
+
class Ao {
|
|
11520
11525
|
constructor(t) {
|
|
11521
11526
|
this.name = t, this.instances = [], this.id = fv++;
|
|
11522
11527
|
}
|
|
@@ -11533,7 +11538,7 @@ class fo {
|
|
|
11533
11538
|
for (let c of t.set)
|
|
11534
11539
|
if (!c.modified.length)
|
|
11535
11540
|
for (let m of r)
|
|
11536
|
-
a.push(
|
|
11541
|
+
a.push(Ao.get(c, m));
|
|
11537
11542
|
return o;
|
|
11538
11543
|
}
|
|
11539
11544
|
}
|
|
@@ -11602,7 +11607,7 @@ function Mv(e, t) {
|
|
|
11602
11607
|
scope: i
|
|
11603
11608
|
};
|
|
11604
11609
|
}
|
|
11605
|
-
const We = hl.define, $i = We(), ba = We(), $s = We(ba), qs = We(ba), pa = We(), qi = We(pa),
|
|
11610
|
+
const We = hl.define, $i = We(), ba = We(), $s = We(ba), qs = We(ba), pa = We(), qi = We(pa), Ko = We(pa), Rl = We(), za = We(Rl), Cl = We(), Fl = We(), bs = We(), hi = We(bs), eo = We(), ye = {
|
|
11606
11611
|
/**
|
|
11607
11612
|
A comment.
|
|
11608
11613
|
*/
|
|
@@ -11682,15 +11687,15 @@ const We = hl.define, $i = We(), ba = We(), $s = We(ba), qs = We(ba), pa = We(),
|
|
|
11682
11687
|
/**
|
|
11683
11688
|
A number [literal](#highlight.tags.literal).
|
|
11684
11689
|
*/
|
|
11685
|
-
number:
|
|
11690
|
+
number: Ko,
|
|
11686
11691
|
/**
|
|
11687
11692
|
An integer [number](#highlight.tags.number) literal.
|
|
11688
11693
|
*/
|
|
11689
|
-
integer: We(
|
|
11694
|
+
integer: We(Ko),
|
|
11690
11695
|
/**
|
|
11691
11696
|
A floating-point [number](#highlight.tags.number) literal.
|
|
11692
11697
|
*/
|
|
11693
|
-
float: We(
|
|
11698
|
+
float: We(Ko),
|
|
11694
11699
|
/**
|
|
11695
11700
|
A boolean [literal](#highlight.tags.literal).
|
|
11696
11701
|
*/
|
|
@@ -12087,23 +12092,23 @@ const Nv = tm.define([
|
|
|
12087
12092
|
// HTML
|
|
12088
12093
|
"text/html": () => wn(),
|
|
12089
12094
|
// Markdown (with code block syntax highlighting)
|
|
12090
|
-
"text/markdown": () => mo({ codeLanguages:
|
|
12091
|
-
"text/x-markdown": () => mo({ codeLanguages:
|
|
12092
|
-
"text/x-web-markdown": () => mo({ codeLanguages:
|
|
12095
|
+
"text/markdown": () => mo({ codeLanguages: Uo }),
|
|
12096
|
+
"text/x-markdown": () => mo({ codeLanguages: Uo }),
|
|
12097
|
+
"text/x-web-markdown": () => mo({ codeLanguages: Uo }),
|
|
12093
12098
|
// JSON
|
|
12094
|
-
"application/json": () =>
|
|
12095
|
-
"text/json": () =>
|
|
12099
|
+
"application/json": () => ss(),
|
|
12100
|
+
"text/json": () => ss(),
|
|
12096
12101
|
// XML
|
|
12097
|
-
"application/xml": () =>
|
|
12098
|
-
"text/xml": () =>
|
|
12102
|
+
"application/xml": () => ns(),
|
|
12103
|
+
"text/xml": () => ns(),
|
|
12099
12104
|
// YAML
|
|
12100
12105
|
"application/x-yaml": () => bo(),
|
|
12101
12106
|
"text/yaml": () => bo(),
|
|
12102
12107
|
"text/x-yaml": () => bo(),
|
|
12103
12108
|
// Shell
|
|
12104
|
-
"application/x-sh": () =>
|
|
12105
|
-
"text/x-sh": () =>
|
|
12106
|
-
"application/x-shellscript": () =>
|
|
12109
|
+
"application/x-sh": () => xo.define(Vo),
|
|
12110
|
+
"text/x-sh": () => xo.define(Vo),
|
|
12111
|
+
"application/x-shellscript": () => xo.define(Vo)
|
|
12107
12112
|
};
|
|
12108
12113
|
function ei(e) {
|
|
12109
12114
|
if (!e)
|
|
@@ -12122,7 +12127,7 @@ function ti(e = {}) {
|
|
|
12122
12127
|
} = e, c = [
|
|
12123
12128
|
a ? On : Xn(Nv, { fallback: !0 }),
|
|
12124
12129
|
Nl.editable.of(t),
|
|
12125
|
-
|
|
12130
|
+
Ro.of([
|
|
12126
12131
|
{
|
|
12127
12132
|
key: "Mod-c",
|
|
12128
12133
|
run: (m) => {
|
|
@@ -12138,8 +12143,8 @@ function ti(e = {}) {
|
|
|
12138
12143
|
];
|
|
12139
12144
|
return o && c.push(Nl.lineWrapping), l && c.push(zn()), i ? c.push(
|
|
12140
12145
|
$0(),
|
|
12141
|
-
|
|
12142
|
-
) : c.push(
|
|
12146
|
+
Ro.of([...Ls, ...q0, em])
|
|
12147
|
+
) : c.push(Ro.of(Ls)), r && c.push(
|
|
12143
12148
|
Nl.updateListener.of((m) => {
|
|
12144
12149
|
m.docChanged && r(m.state.doc.toString());
|
|
12145
12150
|
})
|
|
@@ -12188,18 +12193,18 @@ function VD() {
|
|
|
12188
12193
|
getBaseExtensions: ti
|
|
12189
12194
|
};
|
|
12190
12195
|
}
|
|
12191
|
-
|
|
12196
|
+
zo.use(
|
|
12192
12197
|
am({
|
|
12193
12198
|
langPrefix: "hljs language-",
|
|
12194
12199
|
highlight(e, t) {
|
|
12195
|
-
if (t &&
|
|
12200
|
+
if (t && Jo.getLanguage(t))
|
|
12196
12201
|
try {
|
|
12197
|
-
return
|
|
12202
|
+
return Jo.highlight(e, { language: t }).value;
|
|
12198
12203
|
} catch (l) {
|
|
12199
12204
|
console.warn("Highlight.js error:", l);
|
|
12200
12205
|
}
|
|
12201
12206
|
try {
|
|
12202
|
-
return
|
|
12207
|
+
return Jo.highlightAuto(e).value;
|
|
12203
12208
|
} catch {
|
|
12204
12209
|
return e;
|
|
12205
12210
|
}
|
|
@@ -12341,7 +12346,7 @@ Ov();
|
|
|
12341
12346
|
function an(e) {
|
|
12342
12347
|
if (!e)
|
|
12343
12348
|
return "";
|
|
12344
|
-
const t =
|
|
12349
|
+
const t = zo.parse(e);
|
|
12345
12350
|
return ka.sanitize(t);
|
|
12346
12351
|
}
|
|
12347
12352
|
function on(e) {
|
|
@@ -12476,7 +12481,7 @@ const yi = {
|
|
|
12476
12481
|
surfaceColor: "user-surface-color",
|
|
12477
12482
|
scale: "user-scale"
|
|
12478
12483
|
};
|
|
12479
|
-
function
|
|
12484
|
+
function Io() {
|
|
12480
12485
|
const e = () => {
|
|
12481
12486
|
const w = localStorage.getItem(wt.darkMode) === "true";
|
|
12482
12487
|
return w ? document.documentElement.classList.add("app-dark") : document.documentElement.classList.remove("app-dark"), w;
|
|
@@ -12606,7 +12611,7 @@ const jv = { class: "code-viewer-wrapper" }, Gv = {
|
|
|
12606
12611
|
isSharedLink: { type: Boolean, default: !1 }
|
|
12607
12612
|
},
|
|
12608
12613
|
setup(e) {
|
|
12609
|
-
const { t } = Lt(), { isDarkMode: l } =
|
|
12614
|
+
const { t } = Lt(), { isDarkMode: l } = Io(), i = e, a = D(""), o = D(null), r = D(null), c = Za(null), m = D(!1), p = D(null), { isMarkdown: h, isHtml: Z, iframeContent: y } = xu({
|
|
12610
12615
|
content: a,
|
|
12611
12616
|
mimeType: o
|
|
12612
12617
|
}), v = () => {
|
|
@@ -12651,7 +12656,7 @@ const jv = { class: "code-viewer-wrapper" }, Gv = {
|
|
|
12651
12656
|
j && (T(), O(j));
|
|
12652
12657
|
},
|
|
12653
12658
|
{ immediate: !0 }
|
|
12654
|
-
),
|
|
12659
|
+
), Mo(() => {
|
|
12655
12660
|
T();
|
|
12656
12661
|
}), (j, w) => (n(), u("div", jv, [
|
|
12657
12662
|
m.value ? (n(), u("div", Gv, [
|
|
@@ -12750,7 +12755,7 @@ const jv = { class: "code-viewer-wrapper" }, Gv = {
|
|
|
12750
12755
|
class: "panel-header"
|
|
12751
12756
|
}, Uv = { class: "file-name" }, Jv = { class: "nav-actions" }, Pv = { class: "preview-content" };
|
|
12752
12757
|
function Hv(e, t, l, i, a, o) {
|
|
12753
|
-
const r = g("PrimeButton"), c = g("router-link"), m = g("ImageViewer"), p = g("VideoPlayer"), h = g("AudioPlayer"), Z = g("CodeMirrorViewer"), y = g("PDFComponent"), v =
|
|
12758
|
+
const r = g("PrimeButton"), c = g("router-link"), m = g("ImageViewer"), p = g("VideoPlayer"), h = g("AudioPlayer"), Z = g("CodeMirrorViewer"), y = g("PDFComponent"), v = Pe("tooltip");
|
|
12754
12759
|
return l.currentNodeDisplayed ? (n(), u("aside", {
|
|
12755
12760
|
key: 0,
|
|
12756
12761
|
class: te(["preview-panel-container", { hidden: !l.isPreviewPanelVisible }]),
|
|
@@ -13092,8 +13097,8 @@ const b5 = /* @__PURE__ */ se(c5, [["render", m5], ["__scopeId", "data-v-6cb2b56
|
|
|
13092
13097
|
ve in de || (de[ve] = Te.order ?? 999);
|
|
13093
13098
|
}
|
|
13094
13099
|
return be.sort((Te, ve) => {
|
|
13095
|
-
const me = Te.group || "__default__", Me = ve.group || "__default__",
|
|
13096
|
-
return
|
|
13100
|
+
const me = Te.group || "__default__", Me = ve.group || "__default__", He = (de[me] ?? 999) - (de[Me] ?? 999);
|
|
13101
|
+
return He !== 0 ? He : (Te.order ?? 999) - (ve.order ?? 999);
|
|
13097
13102
|
}), be;
|
|
13098
13103
|
}), V = K(() => {
|
|
13099
13104
|
const be = E.value.filter(
|
|
@@ -13110,11 +13115,11 @@ const b5 = /* @__PURE__ */ se(c5, [["render", m5], ["__scopeId", "data-v-6cb2b56
|
|
|
13110
13115
|
for (const me of be) {
|
|
13111
13116
|
const Me = me.group || "__default__";
|
|
13112
13117
|
Te[Me] || (Te[Me] = [], ve.push(Me));
|
|
13113
|
-
const
|
|
13118
|
+
const He = typeof me.disabled == "function" ? me.disabled(de) : me.disabled === !0;
|
|
13114
13119
|
Te[Me].push({
|
|
13115
13120
|
icon: G(me.icon, de),
|
|
13116
13121
|
label: me.label || G(me.tooltip, de),
|
|
13117
|
-
disabled:
|
|
13122
|
+
disabled: He,
|
|
13118
13123
|
visible: !0,
|
|
13119
13124
|
command: () => me.handler(de)
|
|
13120
13125
|
});
|
|
@@ -13177,7 +13182,7 @@ const b5 = /* @__PURE__ */ se(c5, [["render", m5], ["__scopeId", "data-v-6cb2b56
|
|
|
13177
13182
|
class: "action-separator"
|
|
13178
13183
|
}, v5 = { class: "mobile-header" }, W5 = { class: "mobile-selection-info" }, f5 = { class: "selection-text" }, A5 = { class: "mobile-selection-actions" }, Y5 = { class: "mobile-actions" };
|
|
13179
13184
|
function M5(e, t, l, i, a, o) {
|
|
13180
|
-
const r = g("PrimeButton"), c = g("ActionMenu"), m =
|
|
13185
|
+
const r = g("PrimeButton"), c = g("ActionMenu"), m = Pe("tooltip");
|
|
13181
13186
|
return n(), u("div", {
|
|
13182
13187
|
class: te(["selection-bar", { "is-mobile": i.isSmallScreen }])
|
|
13183
13188
|
}, [
|
|
@@ -13698,9 +13703,9 @@ function oW(e, t, l, i, a, o) {
|
|
|
13698
13703
|
]),
|
|
13699
13704
|
s("div", {
|
|
13700
13705
|
class: te(["folder-upload-dropzone", { "is-dragging": a.isDraggingOver }]),
|
|
13701
|
-
onDragover: t[0] || (t[0] =
|
|
13702
|
-
onDragleave: t[1] || (t[1] =
|
|
13703
|
-
onDrop: t[2] || (t[2] =
|
|
13706
|
+
onDragover: t[0] || (t[0] = Ue((...c) => o.handleDragOver && o.handleDragOver(...c), ["prevent"])),
|
|
13707
|
+
onDragleave: t[1] || (t[1] = Ue((...c) => o.handleDragLeave && o.handleDragLeave(...c), ["prevent"])),
|
|
13708
|
+
onDrop: t[2] || (t[2] = Ue((c) => o.handleDrop(c), ["prevent"]))
|
|
13704
13709
|
}, [
|
|
13705
13710
|
s("p", null, b(e.$t("dropFolder")), 1)
|
|
13706
13711
|
], 34),
|
|
@@ -13882,7 +13887,7 @@ const Jt = new uW(), mW = {
|
|
|
13882
13887
|
components: {
|
|
13883
13888
|
PrimeDialog: lt,
|
|
13884
13889
|
PrimeButton: ae,
|
|
13885
|
-
PrimeInputText:
|
|
13890
|
+
PrimeInputText: Je,
|
|
13886
13891
|
PrimeSelect: Dt
|
|
13887
13892
|
},
|
|
13888
13893
|
props: {
|
|
@@ -14110,7 +14115,7 @@ const AW = /* @__PURE__ */ se(mW, [["render", fW]]), YW = { class: "array-editor
|
|
|
14110
14115
|
"aria-hidden": "true"
|
|
14111
14116
|
}, null, -1)
|
|
14112
14117
|
])], 8, MW),
|
|
14113
|
-
p(V) ? (n(), M(A(
|
|
14118
|
+
p(V) ? (n(), M(A(Je), {
|
|
14114
14119
|
key: 0,
|
|
14115
14120
|
"model-value": V,
|
|
14116
14121
|
"onUpdate:modelValue": (C) => Z(x, C),
|
|
@@ -14139,7 +14144,7 @@ const AW = /* @__PURE__ */ se(mW, [["render", fW]]), YW = { class: "array-editor
|
|
|
14139
14144
|
key: 2,
|
|
14140
14145
|
"model-value": V[C],
|
|
14141
14146
|
"onUpdate:modelValue": (G) => y(x, C, G)
|
|
14142
|
-
}, null, 8, ["model-value", "onUpdate:modelValue"])) : (n(), M(A(
|
|
14147
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])) : (n(), M(A(Je), {
|
|
14143
14148
|
key: 3,
|
|
14144
14149
|
"model-value": V[C],
|
|
14145
14150
|
"onUpdate:modelValue": (G) => y(x, C, G),
|
|
@@ -14170,7 +14175,7 @@ const AW = /* @__PURE__ */ se(mW, [["render", fW]]), YW = { class: "array-editor
|
|
|
14170
14175
|
class: "object-property"
|
|
14171
14176
|
}, [
|
|
14172
14177
|
s("label", null, b(G), 1),
|
|
14173
|
-
d(A(
|
|
14178
|
+
d(A(Je), {
|
|
14174
14179
|
"model-value": C,
|
|
14175
14180
|
"onUpdate:modelValue": (U) => y(x, G, U),
|
|
14176
14181
|
class: "p-inputtext-sm"
|
|
@@ -14274,7 +14279,7 @@ const AW = /* @__PURE__ */ se(mW, [["render", fW]]), YW = { class: "array-editor
|
|
|
14274
14279
|
i("update:config", Z);
|
|
14275
14280
|
}, p = K(() => [...l.configData].sort((h, Z) => h.key.localeCompare(Z.key)));
|
|
14276
14281
|
return (h, Z) => (n(), u("div", CW, [
|
|
14277
|
-
(n(!0), u(q, null, Ae(p.value, (y) => (n(), M(A(
|
|
14282
|
+
(n(!0), u(q, null, Ae(p.value, (y) => (n(), M(A(Xo), {
|
|
14278
14283
|
key: y.key,
|
|
14279
14284
|
class: "config-card"
|
|
14280
14285
|
}, {
|
|
@@ -14315,7 +14320,7 @@ const AW = /* @__PURE__ */ se(mW, [["render", fW]]), YW = { class: "array-editor
|
|
|
14315
14320
|
"is-metadata": y.key === "METADATA",
|
|
14316
14321
|
"model-value": y.value,
|
|
14317
14322
|
"onUpdate:modelValue": (v) => r(y.key, v)
|
|
14318
|
-
}, null, 8, ["is-metadata", "model-value", "onUpdate:modelValue"])) : y.type === "string" || y.type === "number" ? (n(), M(A(
|
|
14323
|
+
}, null, 8, ["is-metadata", "model-value", "onUpdate:modelValue"])) : y.type === "string" || y.type === "number" ? (n(), M(A(Je), {
|
|
14319
14324
|
key: 2,
|
|
14320
14325
|
"model-value": y.value,
|
|
14321
14326
|
class: "w-full",
|
|
@@ -14422,7 +14427,7 @@ const AW = /* @__PURE__ */ se(mW, [["render", fW]]), YW = { class: "array-editor
|
|
|
14422
14427
|
}, null, 8, ["model-value"])
|
|
14423
14428
|
])) : e.item.type === "string" ? (n(), u("div", of, [
|
|
14424
14429
|
s("label", null, b(c.$t("config.table.valueHeader")), 1),
|
|
14425
|
-
d(A(
|
|
14430
|
+
d(A(Je), {
|
|
14426
14431
|
"model-value": e.item.value,
|
|
14427
14432
|
class: "w-full",
|
|
14428
14433
|
"onUpdate:modelValue": i
|
|
@@ -14611,7 +14616,7 @@ const AW = /* @__PURE__ */ se(mW, [["render", fW]]), YW = { class: "array-editor
|
|
|
14611
14616
|
class: "ri-search-line",
|
|
14612
14617
|
"aria-hidden": "true"
|
|
14613
14618
|
}, null, -1)),
|
|
14614
|
-
d(A(
|
|
14619
|
+
d(A(Je), {
|
|
14615
14620
|
modelValue: o.value,
|
|
14616
14621
|
"onUpdate:modelValue": I[0] || (I[0] = (N) => o.value = N),
|
|
14617
14622
|
placeholder: w.$t("config.splitView.filterPlaceholder"),
|
|
@@ -14743,7 +14748,7 @@ const Lf = /* @__PURE__ */ se(If, [["render", kf], ["__scopeId", "data-v-cda1f13
|
|
|
14743
14748
|
name: "ListVersionConfig",
|
|
14744
14749
|
components: {
|
|
14745
14750
|
PrimeButton: ae,
|
|
14746
|
-
PrimeCard:
|
|
14751
|
+
PrimeCard: Xo,
|
|
14747
14752
|
PrimeTextarea: Zl,
|
|
14748
14753
|
PrimeProgressSpinner: il
|
|
14749
14754
|
},
|
|
@@ -14861,7 +14866,7 @@ const Lf = /* @__PURE__ */ se(If, [["render", kf], ["__scopeId", "data-v-cda1f13
|
|
|
14861
14866
|
class: "version-empty"
|
|
14862
14867
|
};
|
|
14863
14868
|
function $f(e, t, l, i, a, o) {
|
|
14864
|
-
const r = g("PrimeButton"), c = g("PrimeProgressSpinner"), m = g("PrimeTextarea"), p = g("PrimeCard"), h =
|
|
14869
|
+
const r = g("PrimeButton"), c = g("PrimeProgressSpinner"), m = g("PrimeTextarea"), p = g("PrimeCard"), h = Pe("tooltip");
|
|
14865
14870
|
return n(), u("div", null, [
|
|
14866
14871
|
l.title ? (n(), u("span", Ff, b(l.title.toUpperCase()), 1)) : W("", !0),
|
|
14867
14872
|
s("div", Df, [
|
|
@@ -14890,7 +14895,7 @@ function $f(e, t, l, i, a, o) {
|
|
|
14890
14895
|
type: "button",
|
|
14891
14896
|
icon: "ri-download-line",
|
|
14892
14897
|
"aria-label": e.$t("download"),
|
|
14893
|
-
onClick:
|
|
14898
|
+
onClick: Ue((y) => o.download(Z.entry), ["stop"]),
|
|
14894
14899
|
severity: "secondary",
|
|
14895
14900
|
rounded: "",
|
|
14896
14901
|
text: ""
|
|
@@ -14963,7 +14968,7 @@ const qf = /* @__PURE__ */ se(Cf, [["render", $f], ["__scopeId", "data-v-8bb7c5b
|
|
|
14963
14968
|
PrimeDialog: lt,
|
|
14964
14969
|
PrimeSelect: Dt,
|
|
14965
14970
|
PrimeSelectButton: va,
|
|
14966
|
-
PrimeInputText:
|
|
14971
|
+
PrimeInputText: Je,
|
|
14967
14972
|
PrimeDatePicker: Li,
|
|
14968
14973
|
PrimeInputNumber: Ml,
|
|
14969
14974
|
PrimeButton: ae,
|
|
@@ -15331,7 +15336,7 @@ class Z9 {
|
|
|
15331
15336
|
}
|
|
15332
15337
|
}
|
|
15333
15338
|
}
|
|
15334
|
-
const fl = new Z9(), _t = ii.global.t, Pa = "env-config.json",
|
|
15339
|
+
const fl = new Z9(), _t = ii.global.t, Pa = "env-config.json", $o = "savedViews.json", nn = {
|
|
15335
15340
|
include: [
|
|
15336
15341
|
"aspectNames",
|
|
15337
15342
|
"isFavorite",
|
|
@@ -15375,12 +15380,12 @@ class g9 {
|
|
|
15375
15380
|
*/
|
|
15376
15381
|
async _getOrCreateViewsFile(t, l = !1) {
|
|
15377
15382
|
let a = (await ue.getChildrenWithOpts(t, nn, !0)).children.find(
|
|
15378
|
-
(o) => o.name ===
|
|
15383
|
+
(o) => o.name === $o
|
|
15379
15384
|
);
|
|
15380
15385
|
if (!a && l) {
|
|
15381
|
-
console.warn(`No ${
|
|
15386
|
+
console.warn(`No ${$o} file found, creating one...`);
|
|
15382
15387
|
const o = {
|
|
15383
|
-
name:
|
|
15388
|
+
name: $o,
|
|
15384
15389
|
nodeType: "cm:content"
|
|
15385
15390
|
}, r = {
|
|
15386
15391
|
personalSavedView: [],
|
|
@@ -16361,7 +16366,7 @@ const Ju = /* @__PURE__ */ se(v9, [["render", A9]]), Y9 = {
|
|
|
16361
16366
|
class: "text-color-secondary w-full overflow-hidden text-overflow-ellipsis white-space-nowrap block"
|
|
16362
16367
|
};
|
|
16363
16368
|
function D9(e, t, l, i, a, o) {
|
|
16364
|
-
const r = g("PrimeSelect"), c =
|
|
16369
|
+
const r = g("PrimeSelect"), c = Pe("tooltip");
|
|
16365
16370
|
return e.loading ? (n(), u("div", M9, [...t[2] || (t[2] = [
|
|
16366
16371
|
s("i", { class: "ri-loader-4-line ri-spin text-4xl" }, null, -1)
|
|
16367
16372
|
])])) : o.hasGroupedSearches ? (n(), u("div", z9, [
|
|
@@ -16442,8 +16447,8 @@ const Is = /* @__PURE__ */ se(Y9, [["render", D9], ["__scopeId", "data-v-8a1b953
|
|
|
16442
16447
|
PrimeStep: Dn,
|
|
16443
16448
|
PrimeStepPanels: cm,
|
|
16444
16449
|
PrimeStepPanel: dm,
|
|
16445
|
-
PrimeInputText:
|
|
16446
|
-
PrimeInputGroup:
|
|
16450
|
+
PrimeInputText: Je,
|
|
16451
|
+
PrimeInputGroup: No,
|
|
16447
16452
|
PrimeInputGroupAddon: Ni,
|
|
16448
16453
|
PrimeTextarea: Zl,
|
|
16449
16454
|
PrimeSelectButton: va,
|
|
@@ -16504,7 +16509,7 @@ const Is = /* @__PURE__ */ se(Y9, [["render", D9], ["__scopeId", "data-v-8a1b953
|
|
|
16504
16509
|
}), e;
|
|
16505
16510
|
},
|
|
16506
16511
|
isFormValid() {
|
|
16507
|
-
return !(!this.viewName || this.scope === "global" && !this.viewFileId);
|
|
16512
|
+
return !(!this.viewName || this.scope === "global" && !this.isEditMode && !this.viewFileId);
|
|
16508
16513
|
}
|
|
16509
16514
|
},
|
|
16510
16515
|
methods: {
|
|
@@ -16561,7 +16566,7 @@ function l4(e, t, l, i, a, o) {
|
|
|
16561
16566
|
d(j, {
|
|
16562
16567
|
value: a.currentStep,
|
|
16563
16568
|
"onUpdate:value": t[5] || (t[5] = (I) => a.currentStep = I),
|
|
16564
|
-
linear:
|
|
16569
|
+
linear: !o.isEditMode
|
|
16565
16570
|
}, {
|
|
16566
16571
|
default: f(() => [
|
|
16567
16572
|
d(c, null, {
|
|
@@ -16715,7 +16720,7 @@ function l4(e, t, l, i, a, o) {
|
|
|
16715
16720
|
})
|
|
16716
16721
|
]),
|
|
16717
16722
|
_: 1
|
|
16718
|
-
}, 8, ["value"])
|
|
16723
|
+
}, 8, ["value", "linear"])
|
|
16719
16724
|
]),
|
|
16720
16725
|
_: 1
|
|
16721
16726
|
}, 8, ["visible", "header"]);
|
|
@@ -16730,7 +16735,7 @@ const Ts = /* @__PURE__ */ se(R9, [["render", l4]]), a4 = {
|
|
|
16730
16735
|
PrimeAccordionContent: Ln,
|
|
16731
16736
|
UserViewsFavoritesPanel: Is,
|
|
16732
16737
|
PrimeSelectButton: va,
|
|
16733
|
-
PrimeInputText:
|
|
16738
|
+
PrimeInputText: Je,
|
|
16734
16739
|
PrimeButton: ae,
|
|
16735
16740
|
AddCriterionPopup: ws,
|
|
16736
16741
|
SaveViewPopup: Ts,
|
|
@@ -17124,7 +17129,7 @@ const Y4 = /* @__PURE__ */ se(a4, [["render", A4]]), M4 = {
|
|
|
17124
17129
|
PrimeAccordionContent: Ln,
|
|
17125
17130
|
UserViewsFavoritesPanel: Is,
|
|
17126
17131
|
PrimeSelectButton: va,
|
|
17127
|
-
PrimeInputText:
|
|
17132
|
+
PrimeInputText: Je,
|
|
17128
17133
|
PrimeAutoComplete: Ms,
|
|
17129
17134
|
PrimeButton: ae,
|
|
17130
17135
|
AddCriterionPopup: ws,
|
|
@@ -17456,7 +17461,7 @@ const Y4 = /* @__PURE__ */ se(a4, [["render", A4]]), M4 = {
|
|
|
17456
17461
|
class: "flex flex-column gap-1 w-full"
|
|
17457
17462
|
}, iA = { class: "font-semibold" }, oA = { class: "flex align-items-center" }, sA = { key: 0 };
|
|
17458
17463
|
function nA(e, t, l, i, a, o) {
|
|
17459
|
-
const r = g("PrimeButton"), c = g("PrimeAccordionHeader"), m = g("UserViewsFavoritesPanel"), p = g("PrimeAccordionContent"), h = g("PrimeAccordionPanel"), Z = g("PrimeAccordion"), y = g("PrimeSelectButton"), v = g("PrimeAutoComplete"), T = g("PrimeInputText"), O = g("PrimeDialog"), j = g("AddCriterionPopup"), w = g("SaveViewPopup"), I = g("TreeExplorer"), N =
|
|
17464
|
+
const r = g("PrimeButton"), c = g("PrimeAccordionHeader"), m = g("UserViewsFavoritesPanel"), p = g("PrimeAccordionContent"), h = g("PrimeAccordionPanel"), Z = g("PrimeAccordion"), y = g("PrimeSelectButton"), v = g("PrimeAutoComplete"), T = g("PrimeInputText"), O = g("PrimeDialog"), j = g("AddCriterionPopup"), w = g("SaveViewPopup"), I = g("TreeExplorer"), N = Pe("tooltip");
|
|
17460
17465
|
return n(), u(q, null, [
|
|
17461
17466
|
o.isSavedViewLoaded && !l.hideViewSelector ? (n(), u("div", N4, [
|
|
17462
17467
|
s("span", z4, [
|
|
@@ -17860,7 +17865,7 @@ const rA = /* @__PURE__ */ se(M4, [["render", nA]]), cA = {
|
|
|
17860
17865
|
}
|
|
17861
17866
|
}, dA = { class: "menuItem mt-3" }, uA = { key: 0 }, mA = { class: "layout-menu" }, bA = { class: "overflow-hidden text-overflow-ellipsis white-space-nowrap" };
|
|
17862
17867
|
function pA(e, t, l, i, a, o) {
|
|
17863
|
-
const r = g("router-link"), c =
|
|
17868
|
+
const r = g("router-link"), c = Pe("ripple"), m = Pe("tooltip");
|
|
17864
17869
|
return n(), u(q, null, [
|
|
17865
17870
|
s("div", dA, [
|
|
17866
17871
|
d(r, { to: "/vues" }, {
|
|
@@ -17902,7 +17907,7 @@ const hA = /* @__PURE__ */ se(cA, [["render", pA], ["__scopeId", "data-v-90814ed
|
|
|
17902
17907
|
components: {
|
|
17903
17908
|
ComplexBreadcrumb: zu,
|
|
17904
17909
|
PrimeButton: ae,
|
|
17905
|
-
PrimePaginator:
|
|
17910
|
+
PrimePaginator: Yo,
|
|
17906
17911
|
PrimeProgressSpinner: il
|
|
17907
17912
|
},
|
|
17908
17913
|
directives: {
|
|
@@ -18060,7 +18065,7 @@ const hA = /* @__PURE__ */ se(cA, [["render", pA], ["__scopeId", "data-v-90814ed
|
|
|
18060
18065
|
class: "meta-item"
|
|
18061
18066
|
};
|
|
18062
18067
|
function TA(e, t, l, i, a, o) {
|
|
18063
|
-
const r = g("PrimeProgressSpinner"), c = g("PrimeButton"), m = g("ComplexBreadcrumb"), p = g("PrimePaginator"), h =
|
|
18068
|
+
const r = g("PrimeProgressSpinner"), c = g("PrimeButton"), m = g("ComplexBreadcrumb"), p = g("PrimePaginator"), h = Pe("tooltip");
|
|
18064
18069
|
return n(), u("div", ZA, [
|
|
18065
18070
|
l.loading ? (n(), u("div", gA, [
|
|
18066
18071
|
d(r)
|
|
@@ -18092,7 +18097,7 @@ function TA(e, t, l, i, a, o) {
|
|
|
18092
18097
|
text: "",
|
|
18093
18098
|
rounded: "",
|
|
18094
18099
|
size: "small",
|
|
18095
|
-
onClick:
|
|
18100
|
+
onClick: Ue((y) => o.addSiteAsLocation(Z, !1), ["stop"])
|
|
18096
18101
|
}, null, 8, ["onClick"]), [
|
|
18097
18102
|
[
|
|
18098
18103
|
h,
|
|
@@ -18107,7 +18112,7 @@ function TA(e, t, l, i, a, o) {
|
|
|
18107
18112
|
text: "",
|
|
18108
18113
|
rounded: "",
|
|
18109
18114
|
size: "small",
|
|
18110
|
-
onClick:
|
|
18115
|
+
onClick: Ue((y) => o.addSiteAsLocation(Z, !0), ["stop"])
|
|
18111
18116
|
}, null, 8, ["onClick"]), [
|
|
18112
18117
|
[
|
|
18113
18118
|
h,
|
|
@@ -18148,7 +18153,7 @@ function TA(e, t, l, i, a, o) {
|
|
|
18148
18153
|
text: "",
|
|
18149
18154
|
rounded: "",
|
|
18150
18155
|
size: "small",
|
|
18151
|
-
onClick:
|
|
18156
|
+
onClick: Ue((y) => o.addParentAsLocation(Z, !1), ["stop"])
|
|
18152
18157
|
}, null, 8, ["onClick"]), [
|
|
18153
18158
|
[
|
|
18154
18159
|
h,
|
|
@@ -18163,7 +18168,7 @@ function TA(e, t, l, i, a, o) {
|
|
|
18163
18168
|
text: "",
|
|
18164
18169
|
rounded: "",
|
|
18165
18170
|
size: "small",
|
|
18166
|
-
onClick:
|
|
18171
|
+
onClick: Ue((y) => o.addParentAsLocation(Z, !0), ["stop"])
|
|
18167
18172
|
}, null, 8, ["onClick"]), [
|
|
18168
18173
|
[
|
|
18169
18174
|
h,
|
|
@@ -18270,7 +18275,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18270
18275
|
s("div", GA, [
|
|
18271
18276
|
s("div", kA, [
|
|
18272
18277
|
s("label", LA, b(v.$t("pdfTools.saveAs.filenameLabel")), 1),
|
|
18273
|
-
d(A(
|
|
18278
|
+
d(A(Je), {
|
|
18274
18279
|
id: "filename",
|
|
18275
18280
|
modelValue: o.value,
|
|
18276
18281
|
"onUpdate:modelValue": T[0] || (T[0] = (O) => o.value = O)
|
|
@@ -18279,7 +18284,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18279
18284
|
s("div", CA, [
|
|
18280
18285
|
s("label", FA, b(v.$t("pdfTools.saveAs.folderLabel")), 1),
|
|
18281
18286
|
s("div", DA, [
|
|
18282
|
-
d(A(
|
|
18287
|
+
d(A(Je), {
|
|
18283
18288
|
id: "location",
|
|
18284
18289
|
readonly: "",
|
|
18285
18290
|
value: p.value
|
|
@@ -18385,7 +18390,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18385
18390
|
{ label: "Helvetica", value: "Helvetica" },
|
|
18386
18391
|
{ label: "Times New Roman", value: "TimesRoman" },
|
|
18387
18392
|
{ label: "Courier", value: "Courier" }
|
|
18388
|
-
], ie = D("Helvetica"), he = D(18), be = D("#000000"), de = D(null), Te = D(!1), ve = D(null), me = D(""), Me = D(""),
|
|
18393
|
+
], ie = D("Helvetica"), he = D(18), be = D("#000000"), de = D(null), Te = D(!1), ve = D(null), me = D(""), Me = D(""), He = D(null), Qe = D(null), re = D(!1), Ye = D(""), ne = D(""), we = D(null), Ee = K(() => Ye.value && Fe(Ye.value) ? !0 : !!(we.value && we.value.id)), je = D(""), At = D([]), ut = D(!1), ze = D(!1), Le = D([]), Se = D(!1), oe = D(!1), Ve = D(null), { pdf: Be } = os(Ve), nt = D(1), ft = D(0), Yt = D(null), { pdf: zt } = os(Yt);
|
|
18389
18394
|
wi(() => {
|
|
18390
18395
|
const Y = l.id;
|
|
18391
18396
|
Y ? It(Y) : (c.value = t("pdfTools.loadError"), r.value = !1);
|
|
@@ -18400,7 +18405,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18400
18405
|
r.value = !0, c.value = null;
|
|
18401
18406
|
try {
|
|
18402
18407
|
const F = await ue.getNode(Y);
|
|
18403
|
-
|
|
18408
|
+
He.value = F, de.value = F.parentId, Me.value = F && (F.name || F.properties && F.properties["cm:name"]) || "";
|
|
18404
18409
|
const Q = vt.getContentUrl(Y);
|
|
18405
18410
|
Yt.value = Q;
|
|
18406
18411
|
const J = await fetch(Q);
|
|
@@ -18671,10 +18676,10 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18671
18676
|
}
|
|
18672
18677
|
}
|
|
18673
18678
|
}, ee = async (Y) => {
|
|
18674
|
-
if (ve.value = Y, me.value = t("pdfTools.saveAs.defaultFilename"),
|
|
18679
|
+
if (ve.value = Y, me.value = t("pdfTools.saveAs.defaultFilename"), He.value && He.value.parentId)
|
|
18675
18680
|
try {
|
|
18676
18681
|
Qe.value = await ue.getNode(
|
|
18677
|
-
|
|
18682
|
+
He.value.parentId
|
|
18678
18683
|
);
|
|
18679
18684
|
} catch (F) {
|
|
18680
18685
|
console.error("Could not fetch parent node for Save As dialog", F), Qe.value = null;
|
|
@@ -18772,14 +18777,14 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18772
18777
|
};
|
|
18773
18778
|
};
|
|
18774
18779
|
let sa = null, pl = null, na = null, El = null;
|
|
18775
|
-
const
|
|
18780
|
+
const To = (Y) => {
|
|
18776
18781
|
for (let F = O.value.length - 1; F >= 0; F--) {
|
|
18777
18782
|
const Q = O.value[F].rect;
|
|
18778
18783
|
if (Y.x >= Q.x && Y.x <= Q.x + Q.w && Y.y >= Q.y && Y.y <= Q.y + Q.h)
|
|
18779
18784
|
return F;
|
|
18780
18785
|
}
|
|
18781
18786
|
return -1;
|
|
18782
|
-
},
|
|
18787
|
+
}, jo = (Y) => {
|
|
18783
18788
|
const J = 6 * (window.devicePixelRatio || 1) / 2;
|
|
18784
18789
|
for (let ge = O.value.length - 1; ge >= 0; ge--) {
|
|
18785
18790
|
const _ = O.value[ge];
|
|
@@ -18807,12 +18812,12 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18807
18812
|
payload: { text: Q }
|
|
18808
18813
|
}), sl());
|
|
18809
18814
|
} else if (T.value === v.IMAGE || T.value === v.SELECT || T.value === v.TEXT) {
|
|
18810
|
-
const F = oa(Y), Q =
|
|
18815
|
+
const F = oa(Y), Q = jo(F);
|
|
18811
18816
|
if (Q) {
|
|
18812
18817
|
na = Q.idx, El = Q.corner, pl = { p: F, rect: { ...O.value[Q.idx].rect } }, N.value && (N.value.style.cursor = "nwse-resize");
|
|
18813
18818
|
return;
|
|
18814
18819
|
}
|
|
18815
|
-
const J =
|
|
18820
|
+
const J = To(F);
|
|
18816
18821
|
if (J !== -1 && (O.value[J].type === v.IMAGE || O.value[J].type === v.TEXT)) {
|
|
18817
18822
|
sa = J, pl = { p: F, rect: { ...O.value[J].rect } }, N.value && (N.value.style.cursor = "move");
|
|
18818
18823
|
return;
|
|
@@ -18859,7 +18864,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18859
18864
|
w: Math.abs(F.x - C.x),
|
|
18860
18865
|
h: Math.abs(F.y - C.y)
|
|
18861
18866
|
}, sl();
|
|
18862
|
-
},
|
|
18867
|
+
}, Go = () => {
|
|
18863
18868
|
if (sa !== null || na !== null) {
|
|
18864
18869
|
sa = null, na = null, El = null, pl = null, N.value && (N.value.style.cursor = "crosshair"), sl();
|
|
18865
18870
|
return;
|
|
@@ -18883,7 +18888,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
18883
18888
|
rect: { ...jl.value }
|
|
18884
18889
|
});
|
|
18885
18890
|
x = !1, C = null, jl.value = null, sl();
|
|
18886
|
-
},
|
|
18891
|
+
}, ko = () => {
|
|
18887
18892
|
x && (x = !1, C = null, jl.value = null, sl());
|
|
18888
18893
|
}, jl = D(null), sl = () => {
|
|
18889
18894
|
const Y = sa, F = N.value;
|
|
@@ -19048,7 +19053,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19048
19053
|
Q.drawImage(R, { x: S, y: L, width: Ma, height: _l, opacity: 0.98 });
|
|
19049
19054
|
}
|
|
19050
19055
|
} else if (mt.type === v.TEXT) {
|
|
19051
|
-
const z = mt.payload || {}, R = z.font === "TimesRoman" ?
|
|
19056
|
+
const z = mt.payload || {}, R = z.font === "TimesRoman" ? Po.TimesRoman : z.font === "Courier" ? Po.Courier : Po.Helvetica, le = await Y.embedFont(R), pe = Math.max(6, Number(z.size) || 18), {
|
|
19052
19057
|
r: fe,
|
|
19053
19058
|
g: Ne,
|
|
19054
19059
|
b: Oe
|
|
@@ -19110,7 +19115,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19110
19115
|
return;
|
|
19111
19116
|
const F = Hi(Y);
|
|
19112
19117
|
ci(V, F), V = F;
|
|
19113
|
-
},
|
|
19118
|
+
}, Lo = (Y) => Aa(Y.touches[0]), Gl = (Y) => Pi(Y.touches[0]), kl = () => {
|
|
19114
19119
|
E = !1, V = null;
|
|
19115
19120
|
}, Hi = (Y) => {
|
|
19116
19121
|
const Q = k.value.getBoundingClientRect(), J = window.devicePixelRatio || 1, ge = Y.clientX ?? Y.pageX, _ = Y.clientY ?? Y.pageY;
|
|
@@ -19124,7 +19129,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19124
19129
|
return;
|
|
19125
19130
|
const F = Y.getContext("2d");
|
|
19126
19131
|
F.fillStyle = "#fff", F.fillRect(0, 0, Y.width, Y.height);
|
|
19127
|
-
},
|
|
19132
|
+
}, Co = () => {
|
|
19128
19133
|
const Y = k.value;
|
|
19129
19134
|
Y && Y.toBlob(async (F) => {
|
|
19130
19135
|
w.value = await F.arrayBuffer(), T.value = v.IMAGE, X.value = !1;
|
|
@@ -19144,7 +19149,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19144
19149
|
console.error("Error loading preview PDF:", F), ft.value = 0;
|
|
19145
19150
|
}
|
|
19146
19151
|
}), (Y, F) => {
|
|
19147
|
-
const Q =
|
|
19152
|
+
const Q = Pe("tooltip");
|
|
19148
19153
|
return n(), u("div", VA, [
|
|
19149
19154
|
s("h1", null, [
|
|
19150
19155
|
$(b(Y.$t("pdfTools.title")) + " ", 1),
|
|
@@ -19225,7 +19230,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19225
19230
|
]),
|
|
19226
19231
|
s("div", e6, [
|
|
19227
19232
|
s("h3", null, b(Y.$t("pdfTools.sidebar.addWatermark")), 1),
|
|
19228
|
-
d(A(
|
|
19233
|
+
d(A(Je), {
|
|
19229
19234
|
modelValue: G.value,
|
|
19230
19235
|
"onUpdate:modelValue": F[2] || (F[2] = (J) => G.value = J),
|
|
19231
19236
|
placeholder: Y.$t("pdfTools.sidebar.watermarkTextPlaceholder"),
|
|
@@ -19282,7 +19287,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19282
19287
|
s("div", {
|
|
19283
19288
|
class: te([{ selected: Ht(J) }, "page-thumbnail"]),
|
|
19284
19289
|
onClick: (ge) => rt(J),
|
|
19285
|
-
onDblclick:
|
|
19290
|
+
onDblclick: Ue((ge) => Re(J), ["stop"])
|
|
19286
19291
|
}, [
|
|
19287
19292
|
s("div", i6, [
|
|
19288
19293
|
d(A(yl), {
|
|
@@ -19296,7 +19301,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19296
19301
|
rounded: "",
|
|
19297
19302
|
icon: "ri-clockwise-line",
|
|
19298
19303
|
"aria-label": Y.$t("pdf.rotationRigth"),
|
|
19299
|
-
onClick:
|
|
19304
|
+
onClick: Ue((ge) => Vt(J), ["stop"])
|
|
19300
19305
|
}, null, 8, ["aria-label", "onClick"]),
|
|
19301
19306
|
d(A(ae), {
|
|
19302
19307
|
"aria-label": Y.$t("pdfTools.pagePreview.openPagePreview", {
|
|
@@ -19305,7 +19310,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19305
19310
|
text: "",
|
|
19306
19311
|
rounded: "",
|
|
19307
19312
|
icon: "ri-edit-box-line",
|
|
19308
|
-
onClick:
|
|
19313
|
+
onClick: Ue((ge) => Re(J), ["stop"])
|
|
19309
19314
|
}, null, 8, ["aria-label", "onClick"])
|
|
19310
19315
|
]),
|
|
19311
19316
|
s("div", s6, [
|
|
@@ -19463,7 +19468,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19463
19468
|
]),
|
|
19464
19469
|
s("div", g6, [
|
|
19465
19470
|
s("label", v6, b(Y.$t("pdfTools.pageEditor.tools.color")), 1),
|
|
19466
|
-
d(A(
|
|
19471
|
+
d(A(Je), {
|
|
19467
19472
|
modelValue: be.value,
|
|
19468
19473
|
"onUpdate:modelValue": F[13] || (F[13] = (J) => be.value = J),
|
|
19469
19474
|
class: "input-full",
|
|
@@ -19513,9 +19518,9 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19513
19518
|
ref: N,
|
|
19514
19519
|
class: "overlay-canvas",
|
|
19515
19520
|
onMousedown: xi,
|
|
19516
|
-
onMouseleave:
|
|
19521
|
+
onMouseleave: ko,
|
|
19517
19522
|
onMousemove: Vi,
|
|
19518
|
-
onMouseup:
|
|
19523
|
+
onMouseup: Go
|
|
19519
19524
|
}, null, 544)
|
|
19520
19525
|
], 512)
|
|
19521
19526
|
], 32)
|
|
@@ -19549,7 +19554,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19549
19554
|
d(A(ae), {
|
|
19550
19555
|
text: "",
|
|
19551
19556
|
label: Y.$t("pdfTools.signaturePad.use"),
|
|
19552
|
-
onClick:
|
|
19557
|
+
onClick: Co
|
|
19553
19558
|
}, null, 8, ["label"])
|
|
19554
19559
|
])
|
|
19555
19560
|
]),
|
|
@@ -19563,9 +19568,9 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19563
19568
|
onMouseleave: kl,
|
|
19564
19569
|
onMousemove: Pi,
|
|
19565
19570
|
onMouseup: kl,
|
|
19566
|
-
onTouchstart:
|
|
19567
|
-
onTouchmove:
|
|
19568
|
-
onTouchend:
|
|
19571
|
+
onTouchstart: Ue(Lo, ["prevent"]),
|
|
19572
|
+
onTouchmove: Ue(Gl, ["prevent"]),
|
|
19573
|
+
onTouchend: Ue(kl, ["prevent"])
|
|
19569
19574
|
}, null, 544)
|
|
19570
19575
|
])
|
|
19571
19576
|
]),
|
|
@@ -19668,7 +19673,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19668
19673
|
d(A(wa), { value: 1 }, {
|
|
19669
19674
|
default: f(() => [
|
|
19670
19675
|
s("div", M6, [
|
|
19671
|
-
d(A(
|
|
19676
|
+
d(A(Je), {
|
|
19672
19677
|
modelValue: je.value,
|
|
19673
19678
|
"onUpdate:modelValue": F[17] || (F[17] = (J) => je.value = J),
|
|
19674
19679
|
placeholder: Y.$t("pdfTools.insertFromAlfresco.searchPlaceholder"),
|
|
@@ -19849,7 +19854,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19849
19854
|
s("div", aY, [
|
|
19850
19855
|
s("div", iY, [
|
|
19851
19856
|
s("label", oY, b(Y.$t("pdfTools.insertFromAlfresco.alfrescoIdUrl")), 1),
|
|
19852
|
-
d(A(
|
|
19857
|
+
d(A(Je), {
|
|
19853
19858
|
id: "alfrescoNodeId",
|
|
19854
19859
|
modelValue: Ye.value,
|
|
19855
19860
|
"onUpdate:modelValue": F[18] || (F[18] = (J) => Ye.value = J),
|
|
@@ -19910,7 +19915,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19910
19915
|
},
|
|
19911
19916
|
emits: ["update:visible", "revertVersion"],
|
|
19912
19917
|
setup(e, { emit: t }) {
|
|
19913
|
-
const { t: l } = Lt(), i = Il(), { isDarkMode: a } =
|
|
19918
|
+
const { t: l } = Lt(), i = Il(), { isDarkMode: a } = Io(), o = e, r = t, c = D(o.visible), m = D(null), p = D(null), h = D(""), Z = D(""), y = D(!1), v = D(null), T = D(null), O = D(null), j = K(() => {
|
|
19914
19919
|
if (!o.versions)
|
|
19915
19920
|
return [];
|
|
19916
19921
|
const G = o.versions.map((U) => ({
|
|
@@ -19929,10 +19934,10 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
19929
19934
|
case "text/x-markdown":
|
|
19930
19935
|
return [mo()];
|
|
19931
19936
|
case "application/json":
|
|
19932
|
-
return [
|
|
19937
|
+
return [ss()];
|
|
19933
19938
|
case "application/xml":
|
|
19934
19939
|
case "text/xml":
|
|
19935
|
-
return [
|
|
19940
|
+
return [ns()];
|
|
19936
19941
|
case "application/x-yaml":
|
|
19937
19942
|
case "text/yaml":
|
|
19938
19943
|
return [bo()];
|
|
@@ -20028,7 +20033,7 @@ const jA = /* @__PURE__ */ se(yA, [["render", TA], ["__scopeId", "data-v-0cfc30d
|
|
|
20028
20033
|
},
|
|
20029
20034
|
{ deep: !0 }
|
|
20030
20035
|
), (G, U) => {
|
|
20031
|
-
const B =
|
|
20036
|
+
const B = Pe("tooltip");
|
|
20032
20037
|
return n(), M(A(lt), {
|
|
20033
20038
|
visible: c.value,
|
|
20034
20039
|
"onUpdate:visible": [
|
|
@@ -20414,7 +20419,7 @@ class LY {
|
|
|
20414
20419
|
}
|
|
20415
20420
|
const Qa = new LY(), CY = "pristy-collab-backups", ha = "backups", FY = 1;
|
|
20416
20421
|
let Ha = null;
|
|
20417
|
-
const
|
|
20422
|
+
const qo = () => Ha ? Promise.resolve(Ha) : new Promise((e, t) => {
|
|
20418
20423
|
const l = indexedDB.open(CY, FY);
|
|
20419
20424
|
l.onupgradeneeded = (i) => {
|
|
20420
20425
|
const a = i.target.result;
|
|
@@ -20437,7 +20442,7 @@ const $o = () => Ha ? Promise.resolve(Ha) : new Promise((e, t) => {
|
|
|
20437
20442
|
*/
|
|
20438
20443
|
async saveBackup(e, t, l) {
|
|
20439
20444
|
try {
|
|
20440
|
-
const i = await
|
|
20445
|
+
const i = await qo();
|
|
20441
20446
|
return new Promise((a, o) => {
|
|
20442
20447
|
const r = i.transaction(ha, "readwrite");
|
|
20443
20448
|
r.objectStore(ha).put({
|
|
@@ -20459,7 +20464,7 @@ const $o = () => Ha ? Promise.resolve(Ha) : new Promise((e, t) => {
|
|
|
20459
20464
|
*/
|
|
20460
20465
|
async loadBackup(e) {
|
|
20461
20466
|
try {
|
|
20462
|
-
const t = await
|
|
20467
|
+
const t = await qo();
|
|
20463
20468
|
return new Promise((l, i) => {
|
|
20464
20469
|
const r = t.transaction(ha, "readonly").objectStore(ha).get(e);
|
|
20465
20470
|
r.onsuccess = () => l(r.result || null), r.onerror = (c) => i(c.target.error);
|
|
@@ -20476,7 +20481,7 @@ const $o = () => Ha ? Promise.resolve(Ha) : new Promise((e, t) => {
|
|
|
20476
20481
|
*/
|
|
20477
20482
|
async clearBackup(e) {
|
|
20478
20483
|
try {
|
|
20479
|
-
const t = await
|
|
20484
|
+
const t = await qo();
|
|
20480
20485
|
return new Promise((l, i) => {
|
|
20481
20486
|
const a = t.transaction(ha, "readwrite");
|
|
20482
20487
|
a.objectStore(ha).delete(e), a.oncomplete = () => l(), a.onerror = (r) => i(r.target.error);
|
|
@@ -20519,20 +20524,20 @@ const Hu = H0.define(), ho = Q0.define({
|
|
|
20519
20524
|
const t = e.state.field(ho), l = [];
|
|
20520
20525
|
for (const i of t)
|
|
20521
20526
|
if (i.position >= 0 && i.position <= e.state.doc.length && (l.push(
|
|
20522
|
-
|
|
20527
|
+
So.widget({
|
|
20523
20528
|
widget: new DY(i),
|
|
20524
20529
|
side: 1
|
|
20525
20530
|
}).range(i.position)
|
|
20526
20531
|
), i.anchor !== i.position)) {
|
|
20527
20532
|
const a = Math.min(i.anchor, i.position), o = Math.max(i.anchor, i.position);
|
|
20528
20533
|
l.push(
|
|
20529
|
-
|
|
20534
|
+
So.mark({
|
|
20530
20535
|
class: "cm-remote-selection",
|
|
20531
20536
|
attributes: { style: `background-color: ${i.color}33` }
|
|
20532
20537
|
}).range(a, o)
|
|
20533
20538
|
);
|
|
20534
20539
|
}
|
|
20535
|
-
return
|
|
20540
|
+
return So.set(l, !0);
|
|
20536
20541
|
}
|
|
20537
20542
|
},
|
|
20538
20543
|
{
|
|
@@ -20563,7 +20568,7 @@ function SY() {
|
|
|
20563
20568
|
() => O.value === rl.RECONNECTING
|
|
20564
20569
|
), ve = K(
|
|
20565
20570
|
() => O.value === rl.ERROR
|
|
20566
|
-
), me = K(() => a.value === Xa), Me = K(() => a.value === Ea),
|
|
20571
|
+
), me = K(() => a.value === Xa), Me = K(() => a.value === Ea), He = K(
|
|
20567
20572
|
() => o.value.filter((ce) => ce.role === Xa).length
|
|
20568
20573
|
), Qe = K(
|
|
20569
20574
|
() => o.value.filter((ce) => ce.role === Ea).length
|
|
@@ -20857,7 +20862,7 @@ function SY() {
|
|
|
20857
20862
|
isConnectionFailed: ve,
|
|
20858
20863
|
isEditor: me,
|
|
20859
20864
|
isObserver: Me,
|
|
20860
|
-
editorCount:
|
|
20865
|
+
editorCount: He,
|
|
20861
20866
|
observerCount: Qe,
|
|
20862
20867
|
hasWritePermission: re,
|
|
20863
20868
|
hasReadPermission: Ye,
|
|
@@ -21053,7 +21058,7 @@ const xY = Pt({
|
|
|
21053
21058
|
setup(e) {
|
|
21054
21059
|
const { t, te: l } = Lt(), i = Il();
|
|
21055
21060
|
Fi();
|
|
21056
|
-
const { isDarkMode: a } =
|
|
21061
|
+
const { isDarkMode: a } = Io(), o = Xs(), r = xY(), {
|
|
21057
21062
|
isCollabActive: c,
|
|
21058
21063
|
isSessionFull: m,
|
|
21059
21064
|
connectedPeers: p,
|
|
@@ -21073,7 +21078,7 @@ const xY = Pt({
|
|
|
21073
21078
|
createUpdateListener: V,
|
|
21074
21079
|
requestSave: x,
|
|
21075
21080
|
promoteToEditor: C
|
|
21076
|
-
} = SY(), G = e, U = D(""), B = D(""), H = D(null), ie = D(!1), he = D(!1), be = D(o.isSmallScreen ? "editor" : "split"), de = D(!1), Te = D(null), ve = D(null), me = D(null), Me = D(null),
|
|
21081
|
+
} = SY(), G = e, U = D(""), B = D(""), H = D(null), ie = D(!1), he = D(!1), be = D(o.isSmallScreen ? "editor" : "split"), de = D(!1), Te = D(null), ve = D(null), me = D(null), Me = D(null), He = D(null), Qe = D(null), re = Za(null), Ye = Za(null), ne = D([]), we = D(!1), Ee = D(!1), je = D(null), At = D(null), ut = D(!1), ze = D(0), Le = D(null), Se = D("");
|
|
21077
21082
|
let oe = null;
|
|
21078
21083
|
qe(
|
|
21079
21084
|
U,
|
|
@@ -21387,14 +21392,14 @@ const xY = Pt({
|
|
|
21387
21392
|
if (be.value === "split")
|
|
21388
21393
|
return Me.value;
|
|
21389
21394
|
if (be.value === "preview")
|
|
21390
|
-
return
|
|
21395
|
+
return He.value;
|
|
21391
21396
|
} else
|
|
21392
21397
|
return Qe.value;
|
|
21393
21398
|
return null;
|
|
21394
21399
|
}, Tl = (ee) => {
|
|
21395
21400
|
!ee || ee._previewInitialized || (ee.srcdoc = nt.value, ee._previewInitialized = !0);
|
|
21396
21401
|
};
|
|
21397
|
-
return qe([Me,
|
|
21402
|
+
return qe([Me, He, Qe], () => {
|
|
21398
21403
|
const ee = ml();
|
|
21399
21404
|
ee && Tl(ee);
|
|
21400
21405
|
}), qe(ft, (ee) => {
|
|
@@ -21418,11 +21423,11 @@ const xY = Pt({
|
|
|
21418
21423
|
Ze !== "preview" && It(re), Re && (await cl(), rt(!0));
|
|
21419
21424
|
}), qe(de, async () => {
|
|
21420
21425
|
he.value && be.value !== "preview" && re.value ? (It(re), await cl(), rt(!0)) : !he.value && !Ve.value && !Be.value && Ye.value && (It(Ye), await cl(), rt(!1));
|
|
21421
|
-
}),
|
|
21426
|
+
}), Mo(async () => {
|
|
21422
21427
|
c.value && await X(), It(re), It(Ye), he.value && !ie.value && !c.value && G.contentNode?.id && $e.unlockNode(G.contentNode.id).catch(() => {
|
|
21423
21428
|
});
|
|
21424
21429
|
}), (ee, Ze) => {
|
|
21425
|
-
const Re =
|
|
21430
|
+
const Re = Pe("tooltip");
|
|
21426
21431
|
return n(), u("div", VY, [
|
|
21427
21432
|
d(A(Ns), { class: "consultation-toolbar" }, {
|
|
21428
21433
|
start: f(() => [
|
|
@@ -21657,7 +21662,7 @@ const xY = Pt({
|
|
|
21657
21662
|
class: "flex-grow-1 h-full"
|
|
21658
21663
|
}, {
|
|
21659
21664
|
default: f(() => [
|
|
21660
|
-
d(A(
|
|
21665
|
+
d(A(rs), {
|
|
21661
21666
|
class: "flex",
|
|
21662
21667
|
size: 50,
|
|
21663
21668
|
"min-size": 10
|
|
@@ -21671,7 +21676,7 @@ const xY = Pt({
|
|
|
21671
21676
|
]),
|
|
21672
21677
|
_: 1
|
|
21673
21678
|
}),
|
|
21674
|
-
d(A(
|
|
21679
|
+
d(A(rs), {
|
|
21675
21680
|
class: "flex",
|
|
21676
21681
|
size: 50,
|
|
21677
21682
|
"min-size": 10
|
|
@@ -21696,7 +21701,7 @@ const xY = Pt({
|
|
|
21696
21701
|
}, null, 512)) : be.value === "preview" ? (n(), u("iframe", {
|
|
21697
21702
|
key: 2,
|
|
21698
21703
|
ref_key: "editPreviewIframe",
|
|
21699
|
-
ref:
|
|
21704
|
+
ref: He,
|
|
21700
21705
|
class: "preview-iframe w-full flex-grow-1",
|
|
21701
21706
|
sandbox: "allow-scripts allow-popups"
|
|
21702
21707
|
}, null, 512)) : W("", !0)
|
|
@@ -21819,7 +21824,7 @@ const rM = new nM(), cM = { class: "font-semibold mb-2" }, dM = { class: "m-0 li
|
|
|
21819
21824
|
alt: "Angry Cat"
|
|
21820
21825
|
}, WM = { class: "error-body" }, fM = { class: "error-card-title" }, AM = { class: "error-card-subtitle" };
|
|
21821
21826
|
function YM(e, t, l, i, a, o) {
|
|
21822
|
-
const r = g("PrimeButton"), c =
|
|
21827
|
+
const r = g("PrimeButton"), c = Pe("tooltip");
|
|
21823
21828
|
return n(), u("div", yM, [
|
|
21824
21829
|
s("div", ZM, [
|
|
21825
21830
|
s("h2", gM, b(l.errorNb), 1),
|
|
@@ -22513,7 +22518,7 @@ function OM(e = {}) {
|
|
|
22513
22518
|
X(Ye);
|
|
22514
22519
|
});
|
|
22515
22520
|
}
|
|
22516
|
-
},
|
|
22521
|
+
}, He = () => l.value === pt.READY && c && c.readyState === WebSocket.OPEN, Qe = () => c && c.readyState === WebSocket.OPEN;
|
|
22517
22522
|
return li(() => {
|
|
22518
22523
|
N();
|
|
22519
22524
|
}), {
|
|
@@ -22527,7 +22532,7 @@ function OM(e = {}) {
|
|
|
22527
22532
|
connect: I,
|
|
22528
22533
|
disconnect: N,
|
|
22529
22534
|
isConnected: Qe,
|
|
22530
|
-
isReady:
|
|
22535
|
+
isReady: He,
|
|
22531
22536
|
// Room operations
|
|
22532
22537
|
subscribeRoom: B,
|
|
22533
22538
|
unsubscribeRoom: H,
|
|
@@ -23114,7 +23119,7 @@ function $M(e, t, l, i, a, o) {
|
|
|
23114
23119
|
const Bu = /* @__PURE__ */ se(PM, [["render", $M], ["__scopeId", "data-v-5648e98b"]]), qM = {
|
|
23115
23120
|
name: "ChatRoomList",
|
|
23116
23121
|
components: {
|
|
23117
|
-
PrimeInputText:
|
|
23122
|
+
PrimeInputText: Je,
|
|
23118
23123
|
PrimeBadge: Ia
|
|
23119
23124
|
},
|
|
23120
23125
|
props: {
|
|
@@ -23645,7 +23650,7 @@ const XN = /* @__PURE__ */ se(mN, [["render", zN], ["__scopeId", "data-v-96fab46
|
|
|
23645
23650
|
}
|
|
23646
23651
|
}, wN = { class: "workspace-card-inner" }, IN = { class: "workspace-card-content" }, TN = { class: "workspace-card-header" }, jN = { class: "workspace-card-title" }, GN = { class: "workspace-card-footer" }, kN = { class: "workspace-card-meta" }, LN = { class: "workspace-card-info" };
|
|
23647
23652
|
function CN(e, t, l, i, a, o) {
|
|
23648
|
-
const r =
|
|
23653
|
+
const r = Pe("tooltip");
|
|
23649
23654
|
return n(), u("div", {
|
|
23650
23655
|
class: te(["workspace-card", { "workspace-card-clickable": l.clickable }])
|
|
23651
23656
|
}, [
|
|
@@ -23669,7 +23674,7 @@ function CN(e, t, l, i, a, o) {
|
|
|
23669
23674
|
]),
|
|
23670
23675
|
s("div", {
|
|
23671
23676
|
class: "workspace-card-actions",
|
|
23672
|
-
onClick: t[1] || (t[1] =
|
|
23677
|
+
onClick: t[1] || (t[1] = Ue(() => {
|
|
23673
23678
|
}, ["stop"]))
|
|
23674
23679
|
}, [
|
|
23675
23680
|
De(e.$slots, "actions", {}, () => [
|
|
@@ -24174,9 +24179,9 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24174
24179
|
}
|
|
24175
24180
|
], X = (ve, me) => {
|
|
24176
24181
|
fl.getView(me.name).then((Me) => {
|
|
24177
|
-
const
|
|
24182
|
+
const He = new Blob([JSON.stringify(Me, null, 2)], {
|
|
24178
24183
|
type: "application/json"
|
|
24179
|
-
}), Qe = URL.createObjectURL(
|
|
24184
|
+
}), Qe = URL.createObjectURL(He), re = document.createElement("a");
|
|
24180
24185
|
re.href = Qe, re.download = me.name, re.click(), URL.revokeObjectURL(Qe);
|
|
24181
24186
|
}).catch((Me) => {
|
|
24182
24187
|
console.error("Failed to download view", Me), o.add({
|
|
@@ -24286,14 +24291,14 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24286
24291
|
(Me) => ue.deleteNode(Me.id, "fichier")
|
|
24287
24292
|
);
|
|
24288
24293
|
Promise.allSettled(me).then((Me) => {
|
|
24289
|
-
const
|
|
24294
|
+
const He = Me.filter(
|
|
24290
24295
|
(re) => re.status === "fulfilled"
|
|
24291
24296
|
).length, Qe = Me.filter((re) => re.status === "rejected").length;
|
|
24292
|
-
|
|
24297
|
+
He > 0 && o.add({
|
|
24293
24298
|
severity: "success",
|
|
24294
24299
|
summary: c("adminViewList.deleteView.toast.success.summary"),
|
|
24295
24300
|
detail: c("adminViewList.deleteView.toast.successMultiple.detail", {
|
|
24296
|
-
count:
|
|
24301
|
+
count: He
|
|
24297
24302
|
}),
|
|
24298
24303
|
life: 3e3
|
|
24299
24304
|
}), Qe > 0 && o.add({
|
|
@@ -24314,7 +24319,7 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24314
24319
|
me.file(Ye.name, JSON.stringify(ne, null, 2));
|
|
24315
24320
|
});
|
|
24316
24321
|
await Promise.all(Me);
|
|
24317
|
-
const
|
|
24322
|
+
const He = await me.generateAsync({ type: "blob" }), Qe = URL.createObjectURL(He), re = document.createElement("a");
|
|
24318
24323
|
re.href = Qe, re.download = "vues.zip", re.click(), URL.revokeObjectURL(Qe), o.add({
|
|
24319
24324
|
severity: "success",
|
|
24320
24325
|
summary: c("adminViewList.exportAll.toast.success.summary"),
|
|
@@ -24353,13 +24358,13 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24353
24358
|
Te(me);
|
|
24354
24359
|
}, Te = async (ve) => {
|
|
24355
24360
|
let me = 0, Me = 0;
|
|
24356
|
-
for (const
|
|
24361
|
+
for (const He of ve)
|
|
24357
24362
|
try {
|
|
24358
|
-
const Qe = await
|
|
24359
|
-
let Ye =
|
|
24363
|
+
const Qe = await He.text(), re = JSON.parse(Qe);
|
|
24364
|
+
let Ye = He.name.endsWith(".json") ? He.name : `${He.name}.json`;
|
|
24360
24365
|
Ye.startsWith("vue-") || (Ye = `vue-${Ye}`), await fl.saveView(Ye, re), me++;
|
|
24361
24366
|
} catch (Qe) {
|
|
24362
|
-
console.error(`Failed to import ${
|
|
24367
|
+
console.error(`Failed to import ${He.name}`, Qe), Me++;
|
|
24363
24368
|
}
|
|
24364
24369
|
me > 0 && o.add({
|
|
24365
24370
|
severity: "success",
|
|
@@ -24406,9 +24411,9 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24406
24411
|
]),
|
|
24407
24412
|
s("div", {
|
|
24408
24413
|
class: te(["drop-zone", { "drop-zone--active": h.value }]),
|
|
24409
|
-
onDragover: me[0] || (me[0] =
|
|
24410
|
-
onDragleave: me[1] || (me[1] =
|
|
24411
|
-
onDrop:
|
|
24414
|
+
onDragover: me[0] || (me[0] = Ue((Me) => h.value = !0, ["prevent"])),
|
|
24415
|
+
onDragleave: me[1] || (me[1] = Ue((Me) => h.value = !1, ["prevent"])),
|
|
24416
|
+
onDrop: Ue(de, ["prevent"])
|
|
24412
24417
|
}, [
|
|
24413
24418
|
me[9] || (me[9] = s("i", {
|
|
24414
24419
|
class: "ri-drag-drop-line drop-zone-icon",
|
|
@@ -24475,7 +24480,7 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24475
24480
|
]) : W("", !0)
|
|
24476
24481
|
])
|
|
24477
24482
|
])) : W("", !0),
|
|
24478
|
-
d(
|
|
24483
|
+
d(wo, {
|
|
24479
24484
|
files: w.value,
|
|
24480
24485
|
"current-node": { id: "view-list" },
|
|
24481
24486
|
"datatable-column-config": N,
|
|
@@ -24485,7 +24490,7 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24485
24490
|
"onUpdate:selectedNodes": me[3] || (me[3] = (Me) => p.value = Me),
|
|
24486
24491
|
onNavigateTo: me[4] || (me[4] = (Me) => a("load-view", Me.name))
|
|
24487
24492
|
}, null, 8, ["files", "selected-nodes"]),
|
|
24488
|
-
e.views.length > j.value ? (n(), M(A(
|
|
24493
|
+
e.views.length > j.value ? (n(), M(A(Yo), {
|
|
24489
24494
|
key: 1,
|
|
24490
24495
|
first: O.value,
|
|
24491
24496
|
rows: j.value,
|
|
@@ -24497,7 +24502,7 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24497
24502
|
], 64)) : (n(), u("div", az, [
|
|
24498
24503
|
s("p", null, b(A(c)("adminViewList.existingViews.noViewsFound")), 1)
|
|
24499
24504
|
])),
|
|
24500
|
-
d(A(
|
|
24505
|
+
d(A(Oo), { group: "deleteView" }),
|
|
24501
24506
|
d(A(lt), {
|
|
24502
24507
|
visible: Z.value,
|
|
24503
24508
|
"onUpdate:visible": me[8] || (me[8] = (Me) => Z.value = Me),
|
|
@@ -24523,7 +24528,7 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24523
24528
|
s("div", iz, [
|
|
24524
24529
|
s("div", oz, [
|
|
24525
24530
|
s("label", sz, b(A(c)("adminViewList.editView.name")), 1),
|
|
24526
|
-
d(A(
|
|
24531
|
+
d(A(Je), {
|
|
24527
24532
|
id: "edit-view-name",
|
|
24528
24533
|
modelValue: v.value,
|
|
24529
24534
|
"onUpdate:modelValue": me[5] || (me[5] = (Me) => v.value = Me),
|
|
@@ -24551,31 +24556,31 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24551
24556
|
name: "DashboardComponent",
|
|
24552
24557
|
components: {
|
|
24553
24558
|
FavoriteList: Kl(
|
|
24554
|
-
() => import("./FavoriteList-
|
|
24559
|
+
() => import("./FavoriteList-COnDCI00.js")
|
|
24555
24560
|
),
|
|
24556
24561
|
ActivityHistory: Kl(
|
|
24557
|
-
() => import("./ActivityHistory-
|
|
24562
|
+
() => import("./ActivityHistory-DCA_eJnR.js")
|
|
24558
24563
|
),
|
|
24559
24564
|
ExternalApps: Kl(
|
|
24560
|
-
() => import("./ExternalApps-
|
|
24565
|
+
() => import("./ExternalApps-BVpexen2.js")
|
|
24561
24566
|
),
|
|
24562
24567
|
MarkdownComponent: Kl(
|
|
24563
|
-
() => import("./MarkdownComponent-
|
|
24568
|
+
() => import("./MarkdownComponent-CxfbrE7J.js")
|
|
24564
24569
|
),
|
|
24565
24570
|
BookmarksComponent: Kl(
|
|
24566
|
-
() => import("./BookmarksComponent-
|
|
24571
|
+
() => import("./BookmarksComponent-CvESJUCF.js")
|
|
24567
24572
|
),
|
|
24568
24573
|
SearchInput: Kl(
|
|
24569
|
-
() => import("./SearchInput
|
|
24574
|
+
() => import("./SearchInput-C4q6siON.js")
|
|
24570
24575
|
),
|
|
24571
24576
|
DisplayFileInDashboardComponent: Kl(
|
|
24572
|
-
() => import("./DisplayFileInDashboardComponent-
|
|
24577
|
+
() => import("./DisplayFileInDashboardComponent-CMmRM0WS.js")
|
|
24573
24578
|
),
|
|
24574
24579
|
ChartWrapper: Kl(
|
|
24575
|
-
() => import("./ChartWrapper-
|
|
24580
|
+
() => import("./ChartWrapper-C9PVKQ1p.js")
|
|
24576
24581
|
),
|
|
24577
24582
|
UnknownBlockType: Kl(
|
|
24578
|
-
() => import("./UnknownBlockType-
|
|
24583
|
+
() => import("./UnknownBlockType-xoVike-3.js")
|
|
24579
24584
|
)
|
|
24580
24585
|
},
|
|
24581
24586
|
props: {
|
|
@@ -24655,6 +24660,9 @@ const UD = /* @__PURE__ */ se(JN, [["render", EN], ["__scopeId", "data-v-e8d0500
|
|
|
24655
24660
|
filter: "site",
|
|
24656
24661
|
urlResolver: this.urlResolver
|
|
24657
24662
|
},
|
|
24663
|
+
myActivity: {
|
|
24664
|
+
urlResolver: this.urlResolver
|
|
24665
|
+
},
|
|
24658
24666
|
chart: {
|
|
24659
24667
|
type: e.config?.type,
|
|
24660
24668
|
data: e.config?.data,
|
|
@@ -24754,7 +24762,7 @@ function pz(e, t, l, i, a, o) {
|
|
|
24754
24762
|
], 4)) : W("", !0)
|
|
24755
24763
|
], 4)) : W("", !0);
|
|
24756
24764
|
}
|
|
24757
|
-
const $u = /* @__PURE__ */ se(dz, [["render", pz], ["__scopeId", "data-v-
|
|
24765
|
+
const $u = /* @__PURE__ */ se(dz, [["render", pz], ["__scopeId", "data-v-ec7bd30c"]]), hz = {
|
|
24758
24766
|
json: "application/json",
|
|
24759
24767
|
markdown: "text/markdown",
|
|
24760
24768
|
html: "text/html",
|
|
@@ -24804,7 +24812,7 @@ const $u = /* @__PURE__ */ se(dz, [["render", pz], ["__scopeId", "data-v-7c6397d
|
|
|
24804
24812
|
createEditor() {
|
|
24805
24813
|
if (!this.$refs.editorContainer)
|
|
24806
24814
|
return;
|
|
24807
|
-
const { isDarkMode: e } =
|
|
24815
|
+
const { isDarkMode: e } = Io(), t = hz[this.language] || "text/plain", l = ei(t), a = [...ti({
|
|
24808
24816
|
editable: !0,
|
|
24809
24817
|
showLineNumbers: !0,
|
|
24810
24818
|
enableHistory: !0,
|
|
@@ -24840,7 +24848,7 @@ const qu = /* @__PURE__ */ se(yz, [["render", gz], ["__scopeId", "data-v-2086d3a
|
|
|
24840
24848
|
PrimeDialog: lt,
|
|
24841
24849
|
PrimeButton: ae,
|
|
24842
24850
|
PrimeSplitter: Rn,
|
|
24843
|
-
PrimeSplitterPanel:
|
|
24851
|
+
PrimeSplitterPanel: rs,
|
|
24844
24852
|
CodeMirrorBase: qu
|
|
24845
24853
|
},
|
|
24846
24854
|
props: {
|
|
@@ -24861,7 +24869,7 @@ const qu = /* @__PURE__ */ se(yz, [["render", gz], ["__scopeId", "data-v-2086d3a
|
|
|
24861
24869
|
},
|
|
24862
24870
|
computed: {
|
|
24863
24871
|
markdownPreview() {
|
|
24864
|
-
const e =
|
|
24872
|
+
const e = zo.parse(this.localContent || "");
|
|
24865
24873
|
return ka.addHook("afterSanitizeAttributes", function(i) {
|
|
24866
24874
|
i.tagName === "A" && (i.setAttribute("target", "_blank"), i.setAttribute("rel", "noopener noreferrer"));
|
|
24867
24875
|
}), `
|
|
@@ -25095,7 +25103,7 @@ const Xz = /* @__PURE__ */ se(Mz, [["render", zz], ["__scopeId", "data-v-1ed6d3c
|
|
|
25095
25103
|
class: "field-example"
|
|
25096
25104
|
};
|
|
25097
25105
|
function Gz(e, t, l, i, a, o) {
|
|
25098
|
-
const r =
|
|
25106
|
+
const r = Pe("tooltip");
|
|
25099
25107
|
return n(), u("div", wz, [
|
|
25100
25108
|
s("label", {
|
|
25101
25109
|
for: l.forId,
|
|
@@ -25114,7 +25122,7 @@ function Gz(e, t, l, i, a, o) {
|
|
|
25114
25122
|
l.example ? (n(), u("small", jz, b(e.$t("dashboardAdmin.blockEditor.example")) + ": " + b(l.example), 1)) : W("", !0)
|
|
25115
25123
|
]);
|
|
25116
25124
|
}
|
|
25117
|
-
const Fa = /* @__PURE__ */ se(Oz, [["render", Gz], ["__scopeId", "data-v-335c9092"]]),
|
|
25125
|
+
const Fa = /* @__PURE__ */ se(Oz, [["render", Gz], ["__scopeId", "data-v-335c9092"]]), es = {
|
|
25118
25126
|
/**
|
|
25119
25127
|
* Validate bookmarks array structure
|
|
25120
25128
|
*/
|
|
@@ -25211,7 +25219,7 @@ const Fa = /* @__PURE__ */ se(Oz, [["render", Gz], ["__scopeId", "data-v-335c909
|
|
|
25211
25219
|
}, kz = {
|
|
25212
25220
|
name: "MarkdownConfig",
|
|
25213
25221
|
components: {
|
|
25214
|
-
PrimeInputText:
|
|
25222
|
+
PrimeInputText: Je,
|
|
25215
25223
|
PrimeTextarea: Zl,
|
|
25216
25224
|
PrimeRadioButton: Ys,
|
|
25217
25225
|
FieldLabel: Fa
|
|
@@ -25545,7 +25553,7 @@ const sX = /* @__PURE__ */ se(lX, [["render", oX], ["__scopeId", "data-v-4c9b0ee
|
|
|
25545
25553
|
components: {
|
|
25546
25554
|
PrimeDialog: lt,
|
|
25547
25555
|
PrimeButton: ae,
|
|
25548
|
-
PrimeInputText:
|
|
25556
|
+
PrimeInputText: Je,
|
|
25549
25557
|
PrimeTabView: vm,
|
|
25550
25558
|
PrimeTabPanel: wa
|
|
25551
25559
|
},
|
|
@@ -25884,7 +25892,7 @@ const sX = /* @__PURE__ */ se(lX, [["render", oX], ["__scopeId", "data-v-4c9b0ee
|
|
|
25884
25892
|
class: "no-results"
|
|
25885
25893
|
}, pX = { class: "icons-grid-container" }, hX = { class: "icons-grid" }, yX = ["onClick"];
|
|
25886
25894
|
function ZX(e, t, l, i, a, o) {
|
|
25887
|
-
const r = g("PrimeInputText"), c = g("PrimeTabPanel"), m = g("PrimeTabView"), p = g("PrimeButton"), h = g("PrimeDialog"), Z =
|
|
25895
|
+
const r = g("PrimeInputText"), c = g("PrimeTabPanel"), m = g("PrimeTabView"), p = g("PrimeButton"), h = g("PrimeDialog"), Z = Pe("tooltip");
|
|
25888
25896
|
return n(), M(h, {
|
|
25889
25897
|
visible: l.modelValue,
|
|
25890
25898
|
modal: !0,
|
|
@@ -26003,7 +26011,7 @@ const e0 = /* @__PURE__ */ se(nX, [["render", ZX], ["__scopeId", "data-v-f782280
|
|
|
26003
26011
|
PrimeButton: ae,
|
|
26004
26012
|
PrimeCheckbox: yl,
|
|
26005
26013
|
PrimeSelect: Dt,
|
|
26006
|
-
PrimeInputText:
|
|
26014
|
+
PrimeInputText: Je,
|
|
26007
26015
|
PrimeColorPicker: gm,
|
|
26008
26016
|
FieldLabel: Fa,
|
|
26009
26017
|
IconPickerDialog: e0
|
|
@@ -26172,7 +26180,7 @@ const e0 = /* @__PURE__ */ se(nX, [["render", ZX], ["__scopeId", "data-v-f782280
|
|
|
26172
26180
|
class: "field"
|
|
26173
26181
|
}, $X = { class: "form-label" }, qX = { class: "preview-box" }, eO = { class: "preview-content" }, tO = ["src"], lO = { class: "preview-label" };
|
|
26174
26182
|
function aO(e, t, l, i, a, o) {
|
|
26175
|
-
const r = g("FieldLabel"), c = g("PrimeCheckbox"), m = g("PrimeButton"), p = g("PrimeSelect"), h = g("PrimeInputText"), Z = g("PrimeColorPicker"), y = g("PrimeDialog"), v = g("IconPickerDialog"), T =
|
|
26183
|
+
const r = g("FieldLabel"), c = g("PrimeCheckbox"), m = g("PrimeButton"), p = g("PrimeSelect"), h = g("PrimeInputText"), Z = g("PrimeColorPicker"), y = g("PrimeDialog"), v = g("IconPickerDialog"), T = Pe("tooltip");
|
|
26176
26184
|
return n(), u("div", vX, [
|
|
26177
26185
|
s("div", WX, [
|
|
26178
26186
|
d(r, {
|
|
@@ -26399,7 +26407,7 @@ function aO(e, t, l, i, a, o) {
|
|
|
26399
26407
|
const iO = /* @__PURE__ */ se(gX, [["render", aO], ["__scopeId", "data-v-b352598e"]]), oO = {
|
|
26400
26408
|
name: "PdfImageConfig",
|
|
26401
26409
|
components: {
|
|
26402
|
-
PrimeInputText:
|
|
26410
|
+
PrimeInputText: Je,
|
|
26403
26411
|
FieldLabel: Fa
|
|
26404
26412
|
},
|
|
26405
26413
|
props: {
|
|
@@ -26445,7 +26453,7 @@ const mO = /* @__PURE__ */ se(cO, [["render", uO], ["__scopeId", "data-v-c797734
|
|
|
26445
26453
|
name: "BlockConfigEditor",
|
|
26446
26454
|
components: {
|
|
26447
26455
|
PrimeButton: ae,
|
|
26448
|
-
PrimeInputText:
|
|
26456
|
+
PrimeInputText: Je,
|
|
26449
26457
|
PrimeInputNumber: Ml,
|
|
26450
26458
|
PrimeSelect: Dt,
|
|
26451
26459
|
PrimeFieldset: Zm,
|
|
@@ -26650,19 +26658,19 @@ const mO = /* @__PURE__ */ se(cO, [["render", uO], ["__scopeId", "data-v-c797734
|
|
|
26650
26658
|
applyChanges() {
|
|
26651
26659
|
try {
|
|
26652
26660
|
if (this.editableBlock.type === "chart") {
|
|
26653
|
-
const e = JSON.parse(this.chartDataJson), t =
|
|
26661
|
+
const e = JSON.parse(this.chartDataJson), t = es.chartData(e);
|
|
26654
26662
|
if (!t.valid)
|
|
26655
26663
|
throw new Error(t.error);
|
|
26656
26664
|
this.editableBlock.config.data = e;
|
|
26657
26665
|
}
|
|
26658
26666
|
if (this.editableBlock.type === "bookmarks") {
|
|
26659
|
-
const e = JSON.parse(this.bookmarksJson), t =
|
|
26667
|
+
const e = JSON.parse(this.bookmarksJson), t = es.bookmarks(e);
|
|
26660
26668
|
if (!t.valid)
|
|
26661
26669
|
throw new Error(t.error);
|
|
26662
26670
|
this.editableBlock.config.bookmarks = e;
|
|
26663
26671
|
}
|
|
26664
26672
|
if (this.editableBlock.type === "externalApps") {
|
|
26665
|
-
const e = JSON.parse(this.linksJson), t =
|
|
26673
|
+
const e = JSON.parse(this.linksJson), t = es.externalApps(e);
|
|
26666
26674
|
if (!t.valid)
|
|
26667
26675
|
throw new Error(t.error);
|
|
26668
26676
|
this.editableBlock.config.links = e;
|
|
@@ -26720,7 +26728,7 @@ const mO = /* @__PURE__ */ se(cO, [["render", uO], ["__scopeId", "data-v-c797734
|
|
|
26720
26728
|
}
|
|
26721
26729
|
this.markdownPreviewError = "";
|
|
26722
26730
|
try {
|
|
26723
|
-
const l = await (await ue.getNodeContent(e, !1)).text(), i =
|
|
26731
|
+
const l = await (await ue.getNodeContent(e, !1)).text(), i = zo.parse(l);
|
|
26724
26732
|
ka.addHook("afterSanitizeAttributes", function(r) {
|
|
26725
26733
|
r.tagName === "A" && (r.setAttribute("target", "_blank"), r.setAttribute("rel", "noopener noreferrer"));
|
|
26726
26734
|
});
|
|
@@ -26811,7 +26819,7 @@ const mO = /* @__PURE__ */ se(cO, [["render", uO], ["__scopeId", "data-v-c797734
|
|
|
26811
26819
|
class: "p-error"
|
|
26812
26820
|
}, lw = { class: "browser-footer-actions" };
|
|
26813
26821
|
function aw(e, t, l, i, a, o) {
|
|
26814
|
-
const r = g("PrimeButton"), c = g("FieldLabel"), m = g("PrimeSelect"), p = g("PrimeInputText"), h = g("PrimeFieldset"), Z = g("PrimeInputNumber"), y = g("MarkdownEditorDialog"), v = g("JsonEditorDialog"), T = g("TreeExplorer"), O = g("PrimeProgressSpinner"), j = g("PrimeDialog"), w =
|
|
26822
|
+
const r = g("PrimeButton"), c = g("FieldLabel"), m = g("PrimeSelect"), p = g("PrimeInputText"), h = g("PrimeFieldset"), Z = g("PrimeInputNumber"), y = g("MarkdownEditorDialog"), v = g("JsonEditorDialog"), T = g("TreeExplorer"), O = g("PrimeProgressSpinner"), j = g("PrimeDialog"), w = Pe("tooltip");
|
|
26815
26823
|
return n(), u("div", pO, [
|
|
26816
26824
|
s("div", hO, [
|
|
26817
26825
|
s("div", null, [
|
|
@@ -27201,7 +27209,7 @@ const iw = /* @__PURE__ */ se(bO, [["render", aw], ["__scopeId", "data-v-09f8853
|
|
|
27201
27209
|
class: "block-actions"
|
|
27202
27210
|
}, dw = { class: "block-content" }, uw = { class: "block-type-badge" };
|
|
27203
27211
|
function mw(e, t, l, i, a, o) {
|
|
27204
|
-
const r = g("PrimeButton"), c = g("PrimeMenu"), m =
|
|
27212
|
+
const r = g("PrimeButton"), c = g("PrimeMenu"), m = Pe("tooltip");
|
|
27205
27213
|
return n(), u("div", {
|
|
27206
27214
|
class: te(["block-editor", {
|
|
27207
27215
|
selected: l.isSelected,
|
|
@@ -27224,7 +27232,7 @@ function mw(e, t, l, i, a, o) {
|
|
|
27224
27232
|
text: "",
|
|
27225
27233
|
rounded: "",
|
|
27226
27234
|
size: "small",
|
|
27227
|
-
onClick:
|
|
27235
|
+
onClick: Ue(o.toggleMenu, ["stop"]),
|
|
27228
27236
|
"aria-haspopup": "true",
|
|
27229
27237
|
"aria-controls": "block_menu"
|
|
27230
27238
|
}, null, 8, ["onClick"]),
|
|
@@ -27240,7 +27248,7 @@ function mw(e, t, l, i, a, o) {
|
|
|
27240
27248
|
text: "",
|
|
27241
27249
|
rounded: "",
|
|
27242
27250
|
size: "small",
|
|
27243
|
-
onClick: t[0] || (t[0] =
|
|
27251
|
+
onClick: t[0] || (t[0] = Ue((p) => e.$emit("move-to-basket", l.block), ["stop"]))
|
|
27244
27252
|
}, null, 512), [
|
|
27245
27253
|
[
|
|
27246
27254
|
m,
|
|
@@ -27254,7 +27262,7 @@ function mw(e, t, l, i, a, o) {
|
|
|
27254
27262
|
text: "",
|
|
27255
27263
|
rounded: "",
|
|
27256
27264
|
size: "small",
|
|
27257
|
-
onClick: t[1] || (t[1] =
|
|
27265
|
+
onClick: t[1] || (t[1] = Ue((p) => e.$emit("duplicate", l.block), ["stop"]))
|
|
27258
27266
|
}, null, 512), [
|
|
27259
27267
|
[
|
|
27260
27268
|
m,
|
|
@@ -27268,7 +27276,7 @@ function mw(e, t, l, i, a, o) {
|
|
|
27268
27276
|
text: "",
|
|
27269
27277
|
rounded: "",
|
|
27270
27278
|
size: "small",
|
|
27271
|
-
onClick: t[2] || (t[2] =
|
|
27279
|
+
onClick: t[2] || (t[2] = Ue((p) => e.$emit("edit", l.block), ["stop"]))
|
|
27272
27280
|
}, null, 512), [
|
|
27273
27281
|
[
|
|
27274
27282
|
m,
|
|
@@ -27283,7 +27291,7 @@ function mw(e, t, l, i, a, o) {
|
|
|
27283
27291
|
rounded: "",
|
|
27284
27292
|
size: "small",
|
|
27285
27293
|
severity: "danger",
|
|
27286
|
-
onClick: t[3] || (t[3] =
|
|
27294
|
+
onClick: t[3] || (t[3] = Ue((p) => e.$emit("delete", l.block), ["stop"]))
|
|
27287
27295
|
}, null, 512), [
|
|
27288
27296
|
[
|
|
27289
27297
|
m,
|
|
@@ -27486,7 +27494,7 @@ function kw(e, t, l, i, a, o) {
|
|
|
27486
27494
|
rounded: "",
|
|
27487
27495
|
size: "small",
|
|
27488
27496
|
severity: "secondary",
|
|
27489
|
-
onClick:
|
|
27497
|
+
onClick: Ue((m) => e.$emit("edit-block", c), ["stop"])
|
|
27490
27498
|
}, null, 8, ["onClick"]),
|
|
27491
27499
|
d(r, {
|
|
27492
27500
|
icon: "ri-delete-bin-line",
|
|
@@ -27494,7 +27502,7 @@ function kw(e, t, l, i, a, o) {
|
|
|
27494
27502
|
rounded: "",
|
|
27495
27503
|
size: "small",
|
|
27496
27504
|
severity: "danger",
|
|
27497
|
-
onClick:
|
|
27505
|
+
onClick: Ue((m) => e.$emit("delete-block", c), ["stop"])
|
|
27498
27506
|
}, null, 8, ["onClick"])
|
|
27499
27507
|
])
|
|
27500
27508
|
], 42, ww))), 128))
|
|
@@ -27527,7 +27535,7 @@ const Lw = /* @__PURE__ */ se(Ww, [["render", kw], ["__scopeId", "data-v-cf617fc
|
|
|
27527
27535
|
emits: ["minimap-click", "close"]
|
|
27528
27536
|
}, Fw = { class: "minimap-container" }, Dw = { class: "minimap-header" }, Rw = { class: "minimap-title" }, Sw = { class: "minimap-block-title" };
|
|
27529
27537
|
function xw(e, t, l, i, a, o) {
|
|
27530
|
-
const r = g("PrimeButton"), c =
|
|
27538
|
+
const r = g("PrimeButton"), c = Pe("tooltip");
|
|
27531
27539
|
return n(), u("div", Fw, [
|
|
27532
27540
|
s("div", Dw, [
|
|
27533
27541
|
s("span", Rw, b(e.$t("dashboardAdmin.minimap")), 1),
|
|
@@ -27760,7 +27768,7 @@ function qw(e, t, l) {
|
|
|
27760
27768
|
}, N = () => {
|
|
27761
27769
|
document.hidden && i.value && j();
|
|
27762
27770
|
};
|
|
27763
|
-
return document.addEventListener("visibilitychange", N),
|
|
27771
|
+
return document.addEventListener("visibilitychange", N), Mo(() => {
|
|
27764
27772
|
j(), document.removeEventListener("visibilitychange", N);
|
|
27765
27773
|
}), {
|
|
27766
27774
|
draggedBlock: i,
|
|
@@ -27879,7 +27887,7 @@ const lI = {
|
|
|
27879
27887
|
PrimeButton: ae,
|
|
27880
27888
|
PrimeInputNumber: Ml,
|
|
27881
27889
|
PrimeDialog: lt,
|
|
27882
|
-
PrimeConfirmDialog:
|
|
27890
|
+
PrimeConfirmDialog: Oo,
|
|
27883
27891
|
BlockConfigEditor: iw,
|
|
27884
27892
|
DashboardComponent: $u,
|
|
27885
27893
|
GridEditor: vw,
|
|
@@ -27948,7 +27956,7 @@ const lI = {
|
|
|
27948
27956
|
m.value = ze.id;
|
|
27949
27957
|
}, Me = () => {
|
|
27950
27958
|
y.value = !0;
|
|
27951
|
-
},
|
|
27959
|
+
}, He = (ze) => {
|
|
27952
27960
|
const Le = e.customBlockTypes.find((oe) => oe.value === ze);
|
|
27953
27961
|
return Le ? Le.defaultConfig || {} : {
|
|
27954
27962
|
markdown: {
|
|
@@ -27976,7 +27984,7 @@ ${a("dashboardAdmin.newBlockContent")}`
|
|
|
27976
27984
|
id: `block-${Date.now()}`,
|
|
27977
27985
|
type: ze,
|
|
27978
27986
|
title: Le,
|
|
27979
|
-
config:
|
|
27987
|
+
config: He(ze)
|
|
27980
27988
|
}, oe = Qe(ze);
|
|
27981
27989
|
oe && (Se.route = oe), c.value.push(Se), m.value = Se.id, h.value = !0;
|
|
27982
27990
|
}, Ye = (ze) => {
|
|
@@ -28087,7 +28095,7 @@ ${a("dashboardAdmin.newBlockContent")}`
|
|
|
28087
28095
|
};
|
|
28088
28096
|
return wi(() => {
|
|
28089
28097
|
document.addEventListener("mousemove", C), document.addEventListener("mouseup", () => G(de)), B(de);
|
|
28090
|
-
}),
|
|
28098
|
+
}), Mo(() => {
|
|
28091
28099
|
document.removeEventListener("mousemove", C), document.removeEventListener("mouseup", () => G(de));
|
|
28092
28100
|
}), {
|
|
28093
28101
|
// State
|
|
@@ -29404,7 +29412,7 @@ const ea = new eT(), tT = { class: "create-plan-actions" }, lT = {
|
|
|
29404
29412
|
};
|
|
29405
29413
|
return (c, m) => (n(), u(q, null, [
|
|
29406
29414
|
s("p", null, b(A(a)("adminClassificationLauncher.createPlan.description")), 1),
|
|
29407
|
-
d(A(
|
|
29415
|
+
d(A(No), null, {
|
|
29408
29416
|
default: f(() => [
|
|
29409
29417
|
d(A(Ni), null, {
|
|
29410
29418
|
default: f(() => [...m[2] || (m[2] = [
|
|
@@ -29412,7 +29420,7 @@ const ea = new eT(), tT = { class: "create-plan-actions" }, lT = {
|
|
|
29412
29420
|
])]),
|
|
29413
29421
|
_: 1
|
|
29414
29422
|
}),
|
|
29415
|
-
d(A(
|
|
29423
|
+
d(A(Je), {
|
|
29416
29424
|
modelValue: o.value,
|
|
29417
29425
|
"onUpdate:modelValue": m[0] || (m[0] = (p) => o.value = p),
|
|
29418
29426
|
placeholder: A(a)("adminClassificationLauncher.createPlan.placeholder"),
|
|
@@ -29746,7 +29754,7 @@ const ea = new eT(), tT = { class: "create-plan-actions" }, lT = {
|
|
|
29746
29754
|
]) : W("", !0)
|
|
29747
29755
|
])
|
|
29748
29756
|
])) : W("", !0),
|
|
29749
|
-
d(
|
|
29757
|
+
d(wo, {
|
|
29750
29758
|
files: v.value,
|
|
29751
29759
|
"current-node": { id: "classification-plans" },
|
|
29752
29760
|
"datatable-column-config": O,
|
|
@@ -29755,7 +29763,7 @@ const ea = new eT(), tT = { class: "create-plan-actions" }, lT = {
|
|
|
29755
29763
|
"onUpdate:selectedNodes": H[2] || (H[2] = (ie) => h.value = ie),
|
|
29756
29764
|
onNavigateTo: H[3] || (H[3] = (ie) => a("select-plan", ie.name))
|
|
29757
29765
|
}, null, 8, ["files", "selected-nodes"]),
|
|
29758
|
-
e.plans.length > y.value ? (n(), M(A(
|
|
29766
|
+
e.plans.length > y.value ? (n(), M(A(Yo), {
|
|
29759
29767
|
key: 1,
|
|
29760
29768
|
first: Z.value,
|
|
29761
29769
|
rows: y.value,
|
|
@@ -29782,7 +29790,7 @@ const ea = new eT(), tT = { class: "create-plan-actions" }, lT = {
|
|
|
29782
29790
|
]),
|
|
29783
29791
|
_: 1
|
|
29784
29792
|
}, 8, ["visible", "header"]),
|
|
29785
|
-
d(A(
|
|
29793
|
+
d(A(Oo), { group: "deletePlan" })
|
|
29786
29794
|
]));
|
|
29787
29795
|
}
|
|
29788
29796
|
}, mT = /* @__PURE__ */ se(uT, [["__scopeId", "data-v-615a03cb"]]), bT = { class: "p-4" }, pT = { class: "text-2xl m-0" }, PD = {
|
|
@@ -29806,7 +29814,7 @@ const ea = new eT(), tT = { class: "create-plan-actions" }, lT = {
|
|
|
29806
29814
|
return wi(() => {
|
|
29807
29815
|
c();
|
|
29808
29816
|
}), (m, p) => (n(), u("div", bT, [
|
|
29809
|
-
d(A(
|
|
29817
|
+
d(A(Xo), null, {
|
|
29810
29818
|
title: f(() => [
|
|
29811
29819
|
s("h1", pT, b(A(a)("adminClassificationLauncher.title")), 1)
|
|
29812
29820
|
]),
|
|
@@ -29845,7 +29853,7 @@ function ma(e, t, l) {
|
|
|
29845
29853
|
return h + p + Z;
|
|
29846
29854
|
}) : "";
|
|
29847
29855
|
}
|
|
29848
|
-
function
|
|
29856
|
+
function ts(e) {
|
|
29849
29857
|
const t = e.lastIndexOf("."), l = t > 0 ? e.substring(0, t) : e, i = t > 0 ? e.substring(t) : "", a = l.match(/^(.*?)\s+\((\d+)\)$/);
|
|
29850
29858
|
return a ? { baseName: a[1], increment: parseInt(a[2], 10), extension: i } : { baseName: l, increment: 0, extension: i };
|
|
29851
29859
|
}
|
|
@@ -29856,18 +29864,18 @@ function yT(e, t) {
|
|
|
29856
29864
|
const l = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set();
|
|
29857
29865
|
for (const o of t) {
|
|
29858
29866
|
i.add(o);
|
|
29859
|
-
const { baseName: r, increment: c, extension: m } =
|
|
29867
|
+
const { baseName: r, increment: c, extension: m } = ts(o), p = r + m, h = l.get(p) || 0;
|
|
29860
29868
|
c > h && l.set(p, c);
|
|
29861
29869
|
}
|
|
29862
29870
|
const a = [];
|
|
29863
29871
|
for (const o of e) {
|
|
29864
|
-
const { baseName: r, extension: c } =
|
|
29872
|
+
const { baseName: r, extension: c } = ts(o), m = r + c;
|
|
29865
29873
|
if (i.has(o)) {
|
|
29866
29874
|
const h = (l.get(m) || 0) + 1, Z = hT(r, h, c);
|
|
29867
29875
|
l.set(m, h), i.add(Z), a.push(Z);
|
|
29868
29876
|
} else {
|
|
29869
29877
|
i.add(o);
|
|
29870
|
-
const { increment: p } =
|
|
29878
|
+
const { increment: p } = ts(o), h = l.get(m) || 0;
|
|
29871
29879
|
p > h && l.set(m, p), a.push(o);
|
|
29872
29880
|
}
|
|
29873
29881
|
}
|
|
@@ -29977,7 +29985,7 @@ const Vl = new ZT(), cn = () => ({
|
|
|
29977
29985
|
}), gT = {
|
|
29978
29986
|
name: "NatureForm",
|
|
29979
29987
|
components: {
|
|
29980
|
-
PrimeInputText:
|
|
29988
|
+
PrimeInputText: Je,
|
|
29981
29989
|
PrimeMultiSelect: Ci,
|
|
29982
29990
|
PrimeDropdown: Di,
|
|
29983
29991
|
PrimeInputSwitch: zs,
|
|
@@ -30276,7 +30284,7 @@ const Vl = new ZT(), cn = () => ({
|
|
|
30276
30284
|
class: "text-center p-3 text-color-secondary"
|
|
30277
30285
|
}, VT = { class: "form-help" }, UT = { key: 0 };
|
|
30278
30286
|
function JT(e, t, l, i, a, o) {
|
|
30279
|
-
const r = g("PrimeInputText"), c = g("PrimeMultiSelect"), m = g("PrimeDropdown"), p = g("PrimeColumn"), h = g("PrimeInputSwitch"), Z = g("PrimeDataTable"), y =
|
|
30287
|
+
const r = g("PrimeInputText"), c = g("PrimeMultiSelect"), m = g("PrimeDropdown"), p = g("PrimeColumn"), h = g("PrimeInputSwitch"), Z = g("PrimeDataTable"), y = Pe("tooltip");
|
|
30280
30288
|
return n(), u("div", vT, [
|
|
30281
30289
|
s("div", WT, [
|
|
30282
30290
|
s("label", fT, b(e.$t("natureForm.name")), 1),
|
|
@@ -30506,14 +30514,14 @@ const PT = /* @__PURE__ */ se(gT, [["render", JT], ["__scopeId", "data-v-765c2f5
|
|
|
30506
30514
|
}, QT = {
|
|
30507
30515
|
name: "FieldForm",
|
|
30508
30516
|
components: {
|
|
30509
|
-
PrimeInputText:
|
|
30517
|
+
PrimeInputText: Je,
|
|
30510
30518
|
PrimeTextarea: Zl,
|
|
30511
30519
|
PrimeDropdown: Di,
|
|
30512
30520
|
PrimeButton: ae,
|
|
30513
30521
|
PrimeMessage: Ul,
|
|
30514
30522
|
PrimeInputNumber: Ml,
|
|
30515
30523
|
PrimeInputSwitch: zs,
|
|
30516
|
-
PrimeInputGroup:
|
|
30524
|
+
PrimeInputGroup: No,
|
|
30517
30525
|
PrimeInputGroupAddon: Ni
|
|
30518
30526
|
},
|
|
30519
30527
|
props: {
|
|
@@ -30981,7 +30989,7 @@ const oG = /* @__PURE__ */ se(QT, [["render", iG], ["__scopeId", "data-v-e0d8054
|
|
|
30981
30989
|
}), sG = {
|
|
30982
30990
|
name: "EmplacementForm",
|
|
30983
30991
|
components: {
|
|
30984
|
-
PrimeInputText:
|
|
30992
|
+
PrimeInputText: Je,
|
|
30985
30993
|
PrimeDropdown: Di,
|
|
30986
30994
|
PrimeMultiSelect: Ci,
|
|
30987
30995
|
PrimeInputSwitch: zs,
|
|
@@ -31205,7 +31213,7 @@ const oG = /* @__PURE__ */ se(QT, [["render", iG], ["__scopeId", "data-v-e0d8054
|
|
|
31205
31213
|
class: "text-center p-3 text-color-secondary"
|
|
31206
31214
|
}, fG = { class: "form-help" }, AG = { key: 0 };
|
|
31207
31215
|
function YG(e, t, l, i, a, o) {
|
|
31208
|
-
const r = g("PrimeInputText"), c = g("PrimeMultiSelect"), m = g("PrimeColumn"), p = g("PrimeDropdown"), h = g("PrimeInputSwitch"), Z = g("PrimeDataTable"), y =
|
|
31216
|
+
const r = g("PrimeInputText"), c = g("PrimeMultiSelect"), m = g("PrimeColumn"), p = g("PrimeDropdown"), h = g("PrimeInputSwitch"), Z = g("PrimeDataTable"), y = Pe("tooltip");
|
|
31209
31217
|
return n(), u("div", nG, [
|
|
31210
31218
|
s("div", rG, [
|
|
31211
31219
|
s("label", cG, b(e.$t("emplacementForm.code")), 1),
|
|
@@ -31225,7 +31233,7 @@ function YG(e, t, l, i, a, o) {
|
|
|
31225
31233
|
key: 0,
|
|
31226
31234
|
href: "#",
|
|
31227
31235
|
class: "type-edit-link",
|
|
31228
|
-
onClick: t[1] || (t[1] =
|
|
31236
|
+
onClick: t[1] || (t[1] = Ue((v) => a.isTypeReadOnly = !1, ["prevent"]))
|
|
31229
31237
|
}, b(e.$t("emplacementForm.editType")), 1)) : W("", !0)
|
|
31230
31238
|
]),
|
|
31231
31239
|
d(r, {
|
|
@@ -31344,7 +31352,7 @@ const MG = /* @__PURE__ */ se(sG, [["render", YG], ["__scopeId", "data-v-1563c0d
|
|
|
31344
31352
|
PrimeDialog: lt,
|
|
31345
31353
|
PrimeButton: ae,
|
|
31346
31354
|
PrimeCheckbox: yl,
|
|
31347
|
-
PrimeInputText:
|
|
31355
|
+
PrimeInputText: Je,
|
|
31348
31356
|
PrimeIconField: Gi,
|
|
31349
31357
|
PrimeInputIcon: ki
|
|
31350
31358
|
},
|
|
@@ -31532,7 +31540,7 @@ function JG(e, t, l, i, a, o) {
|
|
|
31532
31540
|
class: te(["view-selector-item", { "drag-over": !l.readonly && a.dragOverIndex === v }]),
|
|
31533
31541
|
draggable: !l.readonly,
|
|
31534
31542
|
onDragstart: (T) => !l.readonly && o.onDragStart(v, T),
|
|
31535
|
-
onDragover:
|
|
31543
|
+
onDragover: Ue((T) => !l.readonly && o.onDragOver(v), ["prevent"]),
|
|
31536
31544
|
onDragleave: t[2] || (t[2] = (T) => !l.readonly && o.onDragLeave()),
|
|
31537
31545
|
onDrop: (T) => !l.readonly && o.onDrop(v),
|
|
31538
31546
|
onDragend: t[3] || (t[3] = (T) => !l.readonly && o.onDragEnd())
|
|
@@ -31602,18 +31610,18 @@ const PG = /* @__PURE__ */ se(NG, [["render", JG], ["__scopeId", "data-v-765c68b
|
|
|
31602
31610
|
}), QG = {
|
|
31603
31611
|
name: "AdminClassificationPage",
|
|
31604
31612
|
components: {
|
|
31605
|
-
PrimeCard:
|
|
31613
|
+
PrimeCard: Xo,
|
|
31606
31614
|
PrimeButton: ae,
|
|
31607
31615
|
PrimeDataTable: Ol,
|
|
31608
31616
|
PrimeColumn: wl,
|
|
31609
31617
|
PrimeDialog: lt,
|
|
31610
|
-
PrimeConfirmDialog:
|
|
31618
|
+
PrimeConfirmDialog: Oo,
|
|
31611
31619
|
PrimeTabs: Ii,
|
|
31612
31620
|
PrimeTabList: Ti,
|
|
31613
31621
|
PrimeTab: ya,
|
|
31614
31622
|
PrimeTabPanels: gs,
|
|
31615
31623
|
PrimeTabPanel: wa,
|
|
31616
|
-
PrimeInputText:
|
|
31624
|
+
PrimeInputText: Je,
|
|
31617
31625
|
PrimeMultiSelect: Ci,
|
|
31618
31626
|
PrimeTag: La,
|
|
31619
31627
|
NatureForm: PT,
|
|
@@ -33043,12 +33051,12 @@ function y7({
|
|
|
33043
33051
|
}
|
|
33044
33052
|
};
|
|
33045
33053
|
}
|
|
33046
|
-
const
|
|
33054
|
+
const ls = "__ALL_CATEGORIES__", un = "__NO_CATEGORY__", ro = "__NO_NATURE__", Z7 = {
|
|
33047
33055
|
name: "NatureSelector",
|
|
33048
33056
|
components: {
|
|
33049
33057
|
PrimeDataTable: Ol,
|
|
33050
33058
|
PrimeColumn: wl,
|
|
33051
|
-
PrimeInputText:
|
|
33059
|
+
PrimeInputText: Je,
|
|
33052
33060
|
PrimeIconField: Gi,
|
|
33053
33061
|
PrimeInputIcon: ki,
|
|
33054
33062
|
PrimeDropdown: Di,
|
|
@@ -33064,14 +33072,14 @@ const ts = "__ALL_CATEGORIES__", un = "__NO_CATEGORY__", ro = "__NO_NATURE__", Z
|
|
|
33064
33072
|
},
|
|
33065
33073
|
emits: ["update:modelValue", "select-no-nature"],
|
|
33066
33074
|
setup(e, { emit: t }) {
|
|
33067
|
-
const { t: l } = Lt(), i = D(""), a = D(null), o = D(e.defaultCategory ||
|
|
33075
|
+
const { t: l } = Lt(), i = D(""), a = D(null), o = D(e.defaultCategory || ls), r = K(() => !e.categories || e.categories.length === 0 ? [] : [
|
|
33068
33076
|
{
|
|
33069
33077
|
label: l("classificationPlan.allCategories"),
|
|
33070
|
-
value:
|
|
33078
|
+
value: ls
|
|
33071
33079
|
},
|
|
33072
33080
|
...e.categories.map((O) => ({ label: O.label, value: O.id })),
|
|
33073
33081
|
{ label: l("classificationPlan.noCategory"), value: un }
|
|
33074
|
-
]), c = K(() => o.value ===
|
|
33082
|
+
]), c = K(() => o.value === ls ? e.natures : o.value === un ? e.natures.filter(
|
|
33075
33083
|
(T) => !T.categories || T.categories.length === 0
|
|
33076
33084
|
) : e.natures.filter(
|
|
33077
33085
|
(T) => T.categories && T.categories.includes(o.value)
|
|
@@ -33288,7 +33296,7 @@ const w7 = /* @__PURE__ */ se(Z7, [["render", O7], ["__scopeId", "data-v-efa0834
|
|
|
33288
33296
|
PrimeRating: fm,
|
|
33289
33297
|
PrimePassword: Sn,
|
|
33290
33298
|
PrimeTextarea: Zl,
|
|
33291
|
-
PrimeInputText:
|
|
33299
|
+
PrimeInputText: Je
|
|
33292
33300
|
},
|
|
33293
33301
|
props: {
|
|
33294
33302
|
fields: { type: Array, required: !0 },
|
|
@@ -33539,7 +33547,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
33539
33547
|
"upload-complete"
|
|
33540
33548
|
],
|
|
33541
33549
|
setup(e, { emit: t }) {
|
|
33542
|
-
const l = lt, i = ae, a = _a, o = Am, r = La, c = Cn, m = Fn, p = Dn, h = Ol, Z = wl, y = Dt, v = va, T = Ii, O = Ti, j = ya, w = Ym, I = Ga, N = Ml, X =
|
|
33550
|
+
const l = lt, i = ae, a = _a, o = Am, r = La, c = Cn, m = Fn, p = Dn, h = Ol, Z = wl, y = Dt, v = va, T = Ii, O = Ti, j = ya, w = Ym, I = Ga, N = Ml, X = Je, k = yl, E = Li, V = e, x = t, { t: C } = Lt(), G = Il(), U = Kt(), B = Ce(), H = K(
|
|
33543
33551
|
() => B.CLASSIFICATION_PLAN_ALLOW_NO_NATURE === !0
|
|
33544
33552
|
), ie = K({
|
|
33545
33553
|
get: () => V.inline || V.visible,
|
|
@@ -33548,7 +33556,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
33548
33556
|
}
|
|
33549
33557
|
}), he = K(() => !!V.currentNode), be = K(() => !!V.forcedPlanName), de = K(() => !!V.createFileMode), Te = K(() => 1), ve = K(
|
|
33550
33558
|
() => he.value || de.value
|
|
33551
|
-
), me = K(() => ve.value ? -1 : be.value ? 1 : 2), Me = K(() => ve.value ? be.value ? 1 : 2 : be.value ? 2 : 3),
|
|
33559
|
+
), me = K(() => ve.value ? -1 : be.value ? 1 : 2), Me = K(() => ve.value ? be.value ? 1 : 2 : be.value ? 2 : 3), He = K(() => ve.value ? be.value ? 2 : 3 : be.value ? 3 : 4), Qe = K(() => ve.value ? be.value ? 3 : 4 : be.value ? 4 : 5), re = K(() => 1), Ye = K(() => {
|
|
33552
33560
|
const S = [];
|
|
33553
33561
|
return be.value || S.push({
|
|
33554
33562
|
value: Te.value,
|
|
@@ -33560,7 +33568,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
33560
33568
|
value: Me.value,
|
|
33561
33569
|
label: C("classificationPlan.stepper.nature")
|
|
33562
33570
|
}), S.push({
|
|
33563
|
-
value:
|
|
33571
|
+
value: He.value,
|
|
33564
33572
|
label: C("classificationPlan.stepper.metadata")
|
|
33565
33573
|
}), S.push({
|
|
33566
33574
|
value: Qe.value,
|
|
@@ -33693,10 +33701,10 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
33693
33701
|
}), na = K(() => Et.value.map((S) => ({
|
|
33694
33702
|
label: S.label,
|
|
33695
33703
|
value: S.id
|
|
33696
|
-
}))), El = K(() => !Ve.value && Be.value ? ni(Be.value) : ni(null)),
|
|
33704
|
+
}))), El = K(() => !Ve.value && Be.value ? ni(Be.value) : ni(null)), To = K(() => [
|
|
33697
33705
|
{ label: C("classificationPlan.multiFile.modeMultiCategory"), value: !0 },
|
|
33698
33706
|
{ label: C("classificationPlan.multiFile.modeMonoCategory"), value: !1 }
|
|
33699
|
-
]),
|
|
33707
|
+
]), jo = K(() => ne.value === Te.value && !be.value ? C("classificationPlan.steps.selectPlan") : ne.value === me.value && !he.value ? C("classificationPlan.steps.selectFiles") : ne.value === Me.value ? C("classificationPlan.steps.selectNature") : ne.value === He.value ? Re.value ? C("classificationPlan.multiFile.configMultiple") : C("classificationPlan.multiFile.configSingle") : ne.value === Qe.value ? C("classificationPlan.steps.summary") : ""), xi = K(() => ne.value === Te.value && !be.value ? !!Se.value : ne.value === me.value && !he.value ? oe.value.length > 0 : ne.value === Me.value ? ut.value ? !0 : oe.value.length > 0 && oe.value.every((S) => !!S.natureCode) : ne.value === He.value ? oe.value.every((S, L) => qt(L)) : !1), Vi = K(() => ut.value ? !he.value && oe.value.length > 0 : oe.value.length > 0 && oe.value.every((S, L) => qt(L))), Go = K(() => gt.value !== null && oe.value[gt.value] ? oe.value[gt.value].file.name : ""), ko = K(() => ol.value?.name || ll.value || ""), jl = K(() => {
|
|
33700
33708
|
if (!V.currentNode)
|
|
33701
33709
|
return "";
|
|
33702
33710
|
const S = V.currentNode.path?.name;
|
|
@@ -33719,8 +33727,8 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
33719
33727
|
function sl(S) {
|
|
33720
33728
|
if (!S)
|
|
33721
33729
|
return "-";
|
|
33722
|
-
if (
|
|
33723
|
-
return
|
|
33730
|
+
if (fo?.convertBytesToSize)
|
|
33731
|
+
return fo.convertBytesToSize(S) || "-";
|
|
33724
33732
|
const L = ["B", "KB", "MB", "GB"];
|
|
33725
33733
|
let z = 0, R = S;
|
|
33726
33734
|
for (; R >= 1024 && z < L.length - 1; )
|
|
@@ -33776,7 +33784,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
33776
33784
|
break;
|
|
33777
33785
|
case "field": {
|
|
33778
33786
|
let Ft = L.metadata[nl];
|
|
33779
|
-
const Na = R.find((
|
|
33787
|
+
const Na = R.find((Fo) => Fo.name === nl);
|
|
33780
33788
|
if ((Ft == null || Ft === "") && Na?.optional === !0)
|
|
33781
33789
|
if (Na?.default !== void 0 && Na?.default !== null)
|
|
33782
33790
|
Ft = Na.default;
|
|
@@ -33955,7 +33963,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
33955
33963
|
}
|
|
33956
33964
|
return { filled: le, total: z.size };
|
|
33957
33965
|
}
|
|
33958
|
-
function
|
|
33966
|
+
function Lo(S) {
|
|
33959
33967
|
if (qt(S)) {
|
|
33960
33968
|
const { total: L } = Pi(S);
|
|
33961
33969
|
return C("classificationPlan.multiFile.metadataFilled", { count: L });
|
|
@@ -33985,7 +33993,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
33985
33993
|
function Qi(S) {
|
|
33986
33994
|
rt.value = 0, oe.value[0].natureCode = S, Q();
|
|
33987
33995
|
}
|
|
33988
|
-
function
|
|
33996
|
+
function Co() {
|
|
33989
33997
|
ut.value = !0, oe.value[0].natureCode = null, F();
|
|
33990
33998
|
}
|
|
33991
33999
|
function Y() {
|
|
@@ -34423,8 +34431,8 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
34423
34431
|
if (Rt) {
|
|
34424
34432
|
const Ft = ma(Rt, Oe.metadata, z);
|
|
34425
34433
|
if (Ft) {
|
|
34426
|
-
const Na = Oe.file.name.lastIndexOf("."),
|
|
34427
|
-
nl = Ft +
|
|
34434
|
+
const Na = Oe.file.name.lastIndexOf("."), Fo = Na > 0 ? Oe.file.name.substring(Na) : "";
|
|
34435
|
+
nl = Ft + Fo;
|
|
34428
34436
|
}
|
|
34429
34437
|
}
|
|
34430
34438
|
fe.push(Oe.file), Ne.push({
|
|
@@ -34549,7 +34557,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
34549
34557
|
S && (V.defaultDestinationNodeId && $e.getNode(V.defaultDestinationNodeId).then((L) => {
|
|
34550
34558
|
ul.value = L.entry.name;
|
|
34551
34559
|
}).catch(() => {
|
|
34552
|
-
}), be.value ? (Se.value = V.forcedPlanName, he.value ? (ne.value =
|
|
34560
|
+
}), be.value ? (Se.value = V.forcedPlanName, he.value ? (ne.value = Me.value, oe.value = [kl(V.currentNode)], mt()) : de.value ? (ne.value = He.value, oe.value = [
|
|
34553
34561
|
kl({ name: V.createFileMode.fileName })
|
|
34554
34562
|
], mt()) : (ne.value = me.value, V.filesToUpload && V.filesToUpload.length > 0 && (oe.value = V.filesToUpload.map(
|
|
34555
34563
|
(L) => kl(L)
|
|
@@ -34568,7 +34576,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
34568
34576
|
modal: !0,
|
|
34569
34577
|
class: "unified-upload-dialog",
|
|
34570
34578
|
style: {
|
|
34571
|
-
width: (ne.value ===
|
|
34579
|
+
width: (ne.value === He.value || ne.value === Me.value) && Re.value ? Tl.value ? "85rem" : "70rem" : "50rem",
|
|
34572
34580
|
maxHeight: "90vh"
|
|
34573
34581
|
},
|
|
34574
34582
|
onHide: _l
|
|
@@ -34599,7 +34607,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
34599
34607
|
]),
|
|
34600
34608
|
_: 1
|
|
34601
34609
|
}, 8, ["value"]),
|
|
34602
|
-
s("h4", x7, b(
|
|
34610
|
+
s("h4", x7, b(jo.value), 1),
|
|
34603
34611
|
Se.value && ne.value >= Te.value + 1 ? (n(), u("small", V7, b(A(C)("classificationPlan.summary.generalInfo")) + " : " + b(Se.value), 1)) : W("", !0)
|
|
34604
34612
|
])),
|
|
34605
34613
|
we.value ? (n(), u("div", U7, [...L[19] || (L[19] = [
|
|
@@ -34657,7 +34665,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
34657
34665
|
key: 0,
|
|
34658
34666
|
modelValue: Ve.value,
|
|
34659
34667
|
"onUpdate:modelValue": L[2] || (L[2] = (z) => Ve.value = z),
|
|
34660
|
-
options:
|
|
34668
|
+
options: To.value,
|
|
34661
34669
|
optionLabel: "label",
|
|
34662
34670
|
optionValue: "value",
|
|
34663
34671
|
allowEmpty: !1,
|
|
@@ -34834,11 +34842,11 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
34834
34842
|
categories: sa.value,
|
|
34835
34843
|
"default-category": e.defaultCategoryId,
|
|
34836
34844
|
"onUpdate:modelValue": L[1] || (L[1] = (z) => Qi(z)),
|
|
34837
|
-
onSelectNoNature:
|
|
34845
|
+
onSelectNoNature: Co
|
|
34838
34846
|
}, null, 8, ["natures", "modelValue", "allowNoNature", "categories", "default-category"]))
|
|
34839
34847
|
]))
|
|
34840
34848
|
])) : W("", !0),
|
|
34841
|
-
!we.value && ne.value ===
|
|
34849
|
+
!we.value && ne.value === He.value ? (n(), u("div", rk, [
|
|
34842
34850
|
Re.value ? (n(), u("div", mk, [
|
|
34843
34851
|
s("div", bk, [
|
|
34844
34852
|
Tl.value ? (n(), M(A(v), {
|
|
@@ -35038,7 +35046,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
35038
35046
|
]))), 128))
|
|
35039
35047
|
], 2)) : (n(), M(A(i), {
|
|
35040
35048
|
key: 2,
|
|
35041
|
-
label:
|
|
35049
|
+
label: Lo(bl(z)),
|
|
35042
35050
|
icon: qt(bl(z)) ? "ri-check-line" : "ri-edit-line",
|
|
35043
35051
|
severity: qt(bl(z)) ? "success" : void 0,
|
|
35044
35052
|
text: "",
|
|
@@ -35092,7 +35100,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
35092
35100
|
]), 1032, ["value", "pt", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "expandedRowGroups"])
|
|
35093
35101
|
])) : (n(), u("div", ck, [
|
|
35094
35102
|
s("div", dk, [
|
|
35095
|
-
d(A(r), { value:
|
|
35103
|
+
d(A(r), { value: ko.value }, null, 8, ["value"])
|
|
35096
35104
|
]),
|
|
35097
35105
|
d(mn, {
|
|
35098
35106
|
fields: A(Hl),
|
|
@@ -35200,7 +35208,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
35200
35208
|
visible: It.value,
|
|
35201
35209
|
"onUpdate:visible": L[17] || (L[17] = (z) => It.value = z),
|
|
35202
35210
|
header: A(C)("classificationPlan.multiFile.metadataTitle", {
|
|
35203
|
-
fileName:
|
|
35211
|
+
fileName: Go.value
|
|
35204
35212
|
}),
|
|
35205
35213
|
modal: "",
|
|
35206
35214
|
class: "metadata-sub-dialog",
|
|
@@ -35293,7 +35301,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
35293
35301
|
}
|
|
35294
35302
|
]), 1040));
|
|
35295
35303
|
}
|
|
35296
|
-
}, QD = /* @__PURE__ */ se(Fk, [["__scopeId", "data-v-
|
|
35304
|
+
}, QD = /* @__PURE__ */ se(Fk, [["__scopeId", "data-v-73d4ef44"]]), Sl = {
|
|
35297
35305
|
STATIC: "static",
|
|
35298
35306
|
DRAWER: "drawer",
|
|
35299
35307
|
SLIM: "slim",
|
|
@@ -35322,7 +35330,7 @@ const mn = /* @__PURE__ */ se(I7, [["render", R7], ["__scopeId", "data-v-a8a77c1
|
|
|
35322
35330
|
return !1;
|
|
35323
35331
|
const e = "ontouchstart" in window || navigator.maxTouchPoints > 0, t = navigator.userAgent || navigator.vendor || window.opera || "", i = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(t), a = navigator.platform || "", r = /iPhone|iPod|iPad|Android|webOS|BlackBerry/i.test(a);
|
|
35324
35332
|
return e && (i || r);
|
|
35325
|
-
},
|
|
35333
|
+
}, as = D(Dk()), Rk = () => {
|
|
35326
35334
|
ys.value = window.innerWidth;
|
|
35327
35335
|
};
|
|
35328
35336
|
let pn = !1;
|
|
@@ -35378,10 +35386,10 @@ function Ri() {
|
|
|
35378
35386
|
), qe(
|
|
35379
35387
|
() => ys.value <= bn,
|
|
35380
35388
|
(G, U) => {
|
|
35381
|
-
|
|
35389
|
+
as.value || (G && !U ? (Ie.sidebarActive = !1, Ie.overlayMenuActive = !1, Ie.staticMenuMobileActive = !1) : !G && U && (Ie.staticMenuMobileActive = !1, Ie.menuMode === Sl.STATIC && (Ie.staticMenuDesktopInactive = !1)));
|
|
35382
35390
|
}
|
|
35383
35391
|
);
|
|
35384
|
-
const e = K(() => Ie.overlayMenuActive || Ie.staticMenuMobileActive || Ie.sidebarActive), t = K(() => !
|
|
35392
|
+
const e = K(() => Ie.overlayMenuActive || Ie.staticMenuMobileActive || Ie.sidebarActive), t = K(() => !as.value), l = K(() => as.value), i = K(() => ys.value <= bn), a = K(() => Ie.menuMode === Sl.STATIC), o = K(() => Ie.menuMode === Sl.DRAWER), r = K(() => Ie.menuMode === Sl.SLIM), c = K(() => Ie.menuMode === Sl.SLIM_PLUS), m = K(() => Ie.menuMode === Sl.HORIZONTAL), p = K(() => i.value && !l.value ? {
|
|
35385
35393
|
"layout-static": !0,
|
|
35386
35394
|
"layout-small-screen": !0,
|
|
35387
35395
|
"layout-static-inactive": !Ie.staticMenuMobileActive,
|
|
@@ -35583,7 +35591,7 @@ const xk = {
|
|
|
35583
35591
|
class: "menu-badge"
|
|
35584
35592
|
};
|
|
35585
35593
|
function tL(e, t, l, i, a, o) {
|
|
35586
|
-
const r = g("router-link"), c =
|
|
35594
|
+
const r = g("router-link"), c = Pe("tooltip");
|
|
35587
35595
|
return n(), u("ul", Vk, [
|
|
35588
35596
|
(n(!0), u(q, null, Ae(l.items, (m, p) => (n(), u(q, {
|
|
35589
35597
|
key: m.labelKey || m.label
|
|
@@ -35782,7 +35790,7 @@ const lL = {
|
|
|
35782
35790
|
class: "profile-job"
|
|
35783
35791
|
}, sL = { class: "profile-menu" }, nL = ["href"];
|
|
35784
35792
|
function rL(e, t, l, i, a, o) {
|
|
35785
|
-
const r = g("PrimeMenu"), c = g("router-link"), m =
|
|
35793
|
+
const r = g("PrimeMenu"), c = g("router-link"), m = Pe("tooltip");
|
|
35786
35794
|
return l.isSlimMode ? (n(), u("div", {
|
|
35787
35795
|
key: 0,
|
|
35788
35796
|
class: te(["sidebar-profile-section sidebar-profile-slim", `position-${i.position}`])
|
|
@@ -36154,7 +36162,7 @@ const ZL = {
|
|
|
36154
36162
|
class: "topbar-menu-dropdown"
|
|
36155
36163
|
}, YL = ["onClick"], ML = { class: "topbar-end" }, NL = ["href"];
|
|
36156
36164
|
function zL(e, t, l, i, a, o) {
|
|
36157
|
-
const r = g("router-link"), c = g("PrimeMenu"), m =
|
|
36165
|
+
const r = g("router-link"), c = g("PrimeMenu"), m = Pe("tooltip");
|
|
36158
36166
|
return n(), u("header", gL, [
|
|
36159
36167
|
s("div", vL, [
|
|
36160
36168
|
l.showMenuButton ? (n(), u("button", {
|
|
@@ -36407,7 +36415,7 @@ const s0 = /* @__PURE__ */ se(ZL, [["render", zL], ["__scopeId", "data-v-513c723
|
|
|
36407
36415
|
}
|
|
36408
36416
|
}, OL = { class: "mobile-layout" }, wL = { class: "mobile-topbar" }, IL = { class: "mobile-topbar-start" }, TL = ["src", "alt"], jL = { class: "mobile-topbar-end" }, GL = { class: "mobile-content" }, kL = { class: "mobile-bottom-bar" }, LL = { key: 0 }, CL = { key: 1 };
|
|
36409
36417
|
function FL(e, t, l, i, a, o) {
|
|
36410
|
-
const r = g("router-link"), c = g("PrimeMenu"), m =
|
|
36418
|
+
const r = g("router-link"), c = g("PrimeMenu"), m = Pe("tooltip");
|
|
36411
36419
|
return n(), u("div", OL, [
|
|
36412
36420
|
s("header", wL, [
|
|
36413
36421
|
s("div", IL, [
|
|
@@ -36868,7 +36876,7 @@ Build: ${this.buildDate}`;
|
|
|
36868
36876
|
class: "version"
|
|
36869
36877
|
};
|
|
36870
36878
|
function BL(e, t, l, i, a, o) {
|
|
36871
|
-
const r =
|
|
36879
|
+
const r = Pe("tooltip");
|
|
36872
36880
|
return n(), u("footer", JL, [
|
|
36873
36881
|
s("div", PL, [
|
|
36874
36882
|
De(e.$slots, "left", {}, () => [
|
|
@@ -37625,7 +37633,7 @@ const lR = Pt("filingPlan", {
|
|
|
37625
37633
|
PrimeButton: ae,
|
|
37626
37634
|
PrimeMessage: Ul,
|
|
37627
37635
|
PrimeDivider: Ga,
|
|
37628
|
-
PrimeInputText:
|
|
37636
|
+
PrimeInputText: Je,
|
|
37629
37637
|
PrimePassword: Sn
|
|
37630
37638
|
},
|
|
37631
37639
|
data() {
|
|
@@ -37870,206 +37878,206 @@ function sR({ displayContext: e, onRefresh: t }) {
|
|
|
37870
37878
|
}
|
|
37871
37879
|
const nR = {
|
|
37872
37880
|
install(e) {
|
|
37873
|
-
e.component("PaginatorComponent", xn), e.component("PDFComponent", Vn), e.component("PristyIcon", ai), e.component("TreeExplorer", Ca), e.component("CopyOrMovePopup", Yu), e.component("EllipsisBreadcrumb", o1), e.component("BreadCrumbAlfresco", g1), e.component("ComplexBreadcrumb", zu), e.component("ContentTableView", wu), e.component("ContentListView", Uy), e.component("ContentCompactTableView",
|
|
37881
|
+
e.component("PaginatorComponent", xn), e.component("PDFComponent", Vn), e.component("PristyIcon", ai), e.component("TreeExplorer", Ca), e.component("CopyOrMovePopup", Yu), e.component("EllipsisBreadcrumb", o1), e.component("BreadCrumbAlfresco", g1), e.component("ComplexBreadcrumb", zu), e.component("ContentTableView", wu), e.component("ContentListView", Uy), e.component("ContentCompactTableView", wo), e.component("ContentGridView", Iu), e.component("DynamicContentView", Jg), e.component("ContentFiltersHeader", Bg), e.component("ImageViewer", Du), e.component("VideoPlayer", Ru), e.component("AudioPlayer", Su), e.component("PreviewPanel", Qv), e.component("CreateWorkflowPopup", ju), e.component("ImportNewVersionPopup", Gu), e.component("ShareLinkPopup", Fu), e.component("MemberListPopup", Lu), e.component("SendMailPopup", Cu), e.component("LayoutSelector", r5), e.component("ContentToolbar", b5), e.component("SelectionBar", N5), e.component("HelpKeyMessage", O5), e.component("SelectionStatus", a5), e.component("MemberList", ku), e.component("ActionMenu", oi), e.component("CustomToastContent", F5), e.component("UploadTargetInfo", tW), e.component("FolderUpload", Vu), e.component("ImportPopupWithWorker", dW), e.component("UploadStatus", B5), e.component("AddPairInConfigDialog", AW), e.component("ConfigDatatable", HW), e.component("ConfigItemEditor", Uu), e.component("ConfigSplitView", wf), e.component("ConfigUpload", Lf), e.component("ListVersionConfig", qf), e.component("AddCriterionPopup", ws), e.component("AdvancedSearchPanel", Y4), e.component("AdvancedViewPanel", rA), e.component("ExactSearch", Ju), e.component("FavoriteViewMenu", hA), e.component("UserViewsFavoritesPanel", Is), e.component("SaveViewPopup", Ts), e.component("ViewResultsPanel", jA), e.component("PdfToolsComponent", hY), e.component("CodeMirrorEditor", oM), e.component("DiffViewerDialog", Pu), e.component("ArrayEditor", Os), e.component("ConfigHealthBanner", bM), e.component("ErrorComponent", Qu), e.component("WorkspaceCard", Ku), e.component("WorkspaceList", UN), e.component("AppLayout", VL), e.component("AppSidebar", o0), e.component("AppTopbar", s0), e.component("AppSubmenu", a0), e.component("AppFooter", _L), e.component("AppMobileLayout", n0), e.component("SidebarProfileSection", i0), e.component("ChatPanel", XN), e.component("ChatMessage", Eu), e.component("ChatInput", Bu), e.component("ChatRoomList", _u), e.component("DashboardComponent", $u), e.component("DashboardEditor", t0), e.component("DashboardAdminPage", $I), e.component("VersionHistoryDialog", l0), e.component("IconPickerDialog", e0);
|
|
37874
37882
|
}
|
|
37875
37883
|
};
|
|
37876
37884
|
export {
|
|
37877
|
-
|
|
37885
|
+
Ju as $,
|
|
37878
37886
|
oi as A,
|
|
37879
37887
|
g1 as B,
|
|
37880
|
-
|
|
37881
|
-
|
|
37882
|
-
|
|
37883
|
-
|
|
37884
|
-
|
|
37885
|
-
|
|
37886
|
-
|
|
37887
|
-
|
|
37888
|
-
|
|
37889
|
-
|
|
37890
|
-
|
|
37891
|
-
|
|
37892
|
-
|
|
37893
|
-
|
|
37894
|
-
|
|
37895
|
-
|
|
37896
|
-
|
|
37897
|
-
|
|
37898
|
-
|
|
37899
|
-
|
|
37900
|
-
|
|
37901
|
-
|
|
37902
|
-
|
|
37903
|
-
|
|
37904
|
-
|
|
37905
|
-
|
|
37906
|
-
|
|
37907
|
-
|
|
37908
|
-
|
|
37909
|
-
|
|
37910
|
-
|
|
37911
|
-
|
|
37912
|
-
|
|
37913
|
-
|
|
37914
|
-
|
|
37915
|
-
|
|
37916
|
-
|
|
37917
|
-
|
|
37918
|
-
|
|
37919
|
-
|
|
37920
|
-
|
|
37921
|
-
|
|
37922
|
-
|
|
37923
|
-
|
|
37924
|
-
|
|
37925
|
-
|
|
37926
|
-
|
|
37927
|
-
|
|
37928
|
-
|
|
37929
|
-
|
|
37930
|
-
|
|
37931
|
-
|
|
37932
|
-
|
|
37933
|
-
|
|
37934
|
-
|
|
37935
|
-
|
|
37936
|
-
|
|
37937
|
-
|
|
37938
|
-
|
|
37939
|
-
|
|
37940
|
-
|
|
37941
|
-
|
|
37942
|
-
|
|
37943
|
-
|
|
37944
|
-
|
|
37945
|
-
|
|
37946
|
-
|
|
37947
|
-
|
|
37948
|
-
|
|
37949
|
-
|
|
37950
|
-
|
|
37951
|
-
|
|
37952
|
-
|
|
37953
|
-
|
|
37954
|
-
|
|
37955
|
-
|
|
37956
|
-
|
|
37957
|
-
|
|
37958
|
-
|
|
37959
|
-
|
|
37960
|
-
|
|
37961
|
-
|
|
37962
|
-
|
|
37963
|
-
|
|
37964
|
-
|
|
37965
|
-
|
|
37966
|
-
|
|
37967
|
-
|
|
37968
|
-
|
|
37969
|
-
|
|
37970
|
-
|
|
37971
|
-
|
|
37972
|
-
|
|
37973
|
-
|
|
37974
|
-
|
|
37975
|
-
|
|
37976
|
-
|
|
37977
|
-
|
|
37978
|
-
|
|
37979
|
-
|
|
37980
|
-
|
|
37981
|
-
|
|
37982
|
-
|
|
37983
|
-
|
|
37984
|
-
|
|
37985
|
-
|
|
37986
|
-
|
|
37987
|
-
|
|
37988
|
-
|
|
37989
|
-
|
|
37990
|
-
|
|
37991
|
-
|
|
37992
|
-
|
|
37993
|
-
|
|
37994
|
-
|
|
37995
|
-
|
|
37996
|
-
|
|
37997
|
-
|
|
37998
|
-
|
|
37999
|
-
|
|
38000
|
-
|
|
38001
|
-
|
|
38002
|
-
|
|
38003
|
-
|
|
38004
|
-
|
|
38005
|
-
|
|
38006
|
-
|
|
38007
|
-
|
|
38008
|
-
|
|
38009
|
-
|
|
38010
|
-
|
|
38011
|
-
|
|
38012
|
-
|
|
38013
|
-
|
|
38014
|
-
|
|
38015
|
-
|
|
38016
|
-
|
|
38017
|
-
|
|
38018
|
-
|
|
38019
|
-
|
|
38020
|
-
|
|
38021
|
-
|
|
38022
|
-
|
|
38023
|
-
|
|
38024
|
-
|
|
38025
|
-
|
|
38026
|
-
|
|
38027
|
-
|
|
38028
|
-
|
|
38029
|
-
|
|
38030
|
-
|
|
38031
|
-
|
|
38032
|
-
|
|
38033
|
-
|
|
38034
|
-
|
|
38035
|
-
|
|
38036
|
-
|
|
38037
|
-
|
|
38038
|
-
|
|
38039
|
-
|
|
38040
|
-
|
|
38041
|
-
|
|
38042
|
-
|
|
38043
|
-
|
|
38044
|
-
|
|
38045
|
-
|
|
38046
|
-
|
|
38047
|
-
|
|
38048
|
-
|
|
38049
|
-
|
|
38050
|
-
|
|
38051
|
-
|
|
38052
|
-
|
|
38053
|
-
|
|
38054
|
-
|
|
38055
|
-
|
|
38056
|
-
|
|
38057
|
-
|
|
38058
|
-
|
|
38059
|
-
|
|
38060
|
-
|
|
38061
|
-
|
|
38062
|
-
|
|
38063
|
-
|
|
38064
|
-
|
|
38065
|
-
|
|
38066
|
-
|
|
38067
|
-
|
|
38068
|
-
|
|
38069
|
-
|
|
38070
|
-
|
|
38071
|
-
|
|
38072
|
-
|
|
38073
|
-
|
|
37888
|
+
Bu as C,
|
|
37889
|
+
wf as D,
|
|
37890
|
+
Lf as E,
|
|
37891
|
+
pt as F,
|
|
37892
|
+
rl as G,
|
|
37893
|
+
wo as H,
|
|
37894
|
+
Bg as I,
|
|
37895
|
+
Iu as J,
|
|
37896
|
+
Uy as K,
|
|
37897
|
+
wu as L,
|
|
37898
|
+
b5 as M,
|
|
37899
|
+
Yu as N,
|
|
37900
|
+
ju as O,
|
|
37901
|
+
F5 as P,
|
|
37902
|
+
tn as Q,
|
|
37903
|
+
$I as R,
|
|
37904
|
+
$u as S,
|
|
37905
|
+
t0 as T,
|
|
37906
|
+
yo as U,
|
|
37907
|
+
Pu as V,
|
|
37908
|
+
Jg as W,
|
|
37909
|
+
o1 as X,
|
|
37910
|
+
MG as Y,
|
|
37911
|
+
Qu as Z,
|
|
37912
|
+
oR as _,
|
|
37913
|
+
ws as a,
|
|
37914
|
+
yn as a$,
|
|
37915
|
+
hA as a0,
|
|
37916
|
+
oG as a1,
|
|
37917
|
+
$D as a2,
|
|
37918
|
+
Vu as a3,
|
|
37919
|
+
Ng as a4,
|
|
37920
|
+
O5 as a5,
|
|
37921
|
+
e0 as a6,
|
|
37922
|
+
Du as a7,
|
|
37923
|
+
Gu as a8,
|
|
37924
|
+
dW as a9,
|
|
37925
|
+
i0 as aA,
|
|
37926
|
+
Ca as aB,
|
|
37927
|
+
Zn as aC,
|
|
37928
|
+
QD as aD,
|
|
37929
|
+
B5 as aE,
|
|
37930
|
+
tW as aF,
|
|
37931
|
+
Is as aG,
|
|
37932
|
+
l0 as aH,
|
|
37933
|
+
Ru as aI,
|
|
37934
|
+
JD as aJ,
|
|
37935
|
+
jA as aK,
|
|
37936
|
+
Ku as aL,
|
|
37937
|
+
UN as aM,
|
|
37938
|
+
se as aN,
|
|
37939
|
+
PD as aO,
|
|
37940
|
+
bM as aP,
|
|
37941
|
+
LD as aQ,
|
|
37942
|
+
SD as aR,
|
|
37943
|
+
Ke as aS,
|
|
37944
|
+
vt as aT,
|
|
37945
|
+
Vl as aU,
|
|
37946
|
+
ue as aV,
|
|
37947
|
+
Ss as aW,
|
|
37948
|
+
Nm as aX,
|
|
37949
|
+
CD as aY,
|
|
37950
|
+
hs as aZ,
|
|
37951
|
+
KD as a_,
|
|
37952
|
+
_D as aa,
|
|
37953
|
+
r5 as ab,
|
|
37954
|
+
qf as ac,
|
|
37955
|
+
aR as ad,
|
|
37956
|
+
Sl as ae,
|
|
37957
|
+
Zo as af,
|
|
37958
|
+
ku as ag,
|
|
37959
|
+
Lu as ah,
|
|
37960
|
+
mn as ai,
|
|
37961
|
+
qL as aj,
|
|
37962
|
+
PT as ak,
|
|
37963
|
+
w7 as al,
|
|
37964
|
+
iR as am,
|
|
37965
|
+
Vn as an,
|
|
37966
|
+
xn as ao,
|
|
37967
|
+
hY as ap,
|
|
37968
|
+
UD as aq,
|
|
37969
|
+
Qv as ar,
|
|
37970
|
+
ai as as,
|
|
37971
|
+
Xa as at,
|
|
37972
|
+
Ea as au,
|
|
37973
|
+
Ts as av,
|
|
37974
|
+
N5 as aw,
|
|
37975
|
+
a5 as ax,
|
|
37976
|
+
Cu as ay,
|
|
37977
|
+
Fu as az,
|
|
37978
|
+
AW as b,
|
|
37979
|
+
Xs as b$,
|
|
37980
|
+
no as b0,
|
|
37981
|
+
ea as b1,
|
|
37982
|
+
Qa as b2,
|
|
37983
|
+
FD as b3,
|
|
37984
|
+
nR as b4,
|
|
37985
|
+
rM as b5,
|
|
37986
|
+
Jt as b6,
|
|
37987
|
+
da as b7,
|
|
37988
|
+
Xv as b8,
|
|
37989
|
+
xD as b9,
|
|
37990
|
+
Bt as bA,
|
|
37991
|
+
RD as bB,
|
|
37992
|
+
fo as bC,
|
|
37993
|
+
kD as bD,
|
|
37994
|
+
xs as bE,
|
|
37995
|
+
Rs as bF,
|
|
37996
|
+
js as bG,
|
|
37997
|
+
wM as bH,
|
|
37998
|
+
OM as bI,
|
|
37999
|
+
y7 as bJ,
|
|
38000
|
+
VD as bK,
|
|
38001
|
+
SY as bL,
|
|
38002
|
+
xY as bM,
|
|
38003
|
+
kY as bN,
|
|
38004
|
+
Th as bO,
|
|
38005
|
+
Ce as bP,
|
|
38006
|
+
qw as bQ,
|
|
38007
|
+
po as bR,
|
|
38008
|
+
lR as bS,
|
|
38009
|
+
sR as bT,
|
|
38010
|
+
tI as bU,
|
|
38011
|
+
Ri as bV,
|
|
38012
|
+
xu as bW,
|
|
38013
|
+
ds as bX,
|
|
38014
|
+
Kt as bY,
|
|
38015
|
+
Vs as bZ,
|
|
38016
|
+
eI as b_,
|
|
38017
|
+
DD as ba,
|
|
38018
|
+
ja as bb,
|
|
38019
|
+
St as bc,
|
|
38020
|
+
us as bd,
|
|
38021
|
+
vo as be,
|
|
38022
|
+
qa as bf,
|
|
38023
|
+
sn as bg,
|
|
38024
|
+
ti as bh,
|
|
38025
|
+
ei as bi,
|
|
38026
|
+
fi as bj,
|
|
38027
|
+
zi as bk,
|
|
38028
|
+
ii as bl,
|
|
38029
|
+
Jl as bm,
|
|
38030
|
+
Bs as bn,
|
|
38031
|
+
sh as bo,
|
|
38032
|
+
$e as bp,
|
|
38033
|
+
Oa as bq,
|
|
38034
|
+
Tu as br,
|
|
38035
|
+
an as bs,
|
|
38036
|
+
Ho as bt,
|
|
38037
|
+
ma as bu,
|
|
38038
|
+
Yl as bv,
|
|
38039
|
+
gi as bw,
|
|
38040
|
+
on as bx,
|
|
38041
|
+
zl as by,
|
|
38042
|
+
bi as bz,
|
|
38043
|
+
HD as c,
|
|
38044
|
+
ps as c0,
|
|
38045
|
+
Mt as c1,
|
|
38046
|
+
kh as c2,
|
|
38047
|
+
Io as c3,
|
|
38048
|
+
ta as c4,
|
|
38049
|
+
tR as c5,
|
|
38050
|
+
st as c6,
|
|
38051
|
+
Pl as c7,
|
|
38052
|
+
$l as c8,
|
|
38053
|
+
Ta as c9,
|
|
38054
|
+
fl as ca,
|
|
38055
|
+
eR as cb,
|
|
38056
|
+
$a as cc,
|
|
38057
|
+
cs as cd,
|
|
38058
|
+
Nt as ce,
|
|
38059
|
+
Y4 as d,
|
|
38060
|
+
rA as e,
|
|
38061
|
+
qD as f,
|
|
38062
|
+
ED as g,
|
|
38063
|
+
_L as h,
|
|
38064
|
+
VL as i,
|
|
38065
|
+
n0 as j,
|
|
38066
|
+
o0 as k,
|
|
38067
|
+
a0 as l,
|
|
38068
|
+
s0 as m,
|
|
38069
|
+
Os as n,
|
|
38070
|
+
Su as o,
|
|
38071
|
+
Eu as p,
|
|
38072
|
+
XN as q,
|
|
38073
|
+
_u as r,
|
|
38074
|
+
aT as s,
|
|
38075
|
+
mT as t,
|
|
38076
|
+
oM as u,
|
|
38077
|
+
BD as v,
|
|
38078
|
+
Ou as w,
|
|
38079
|
+
zu as x,
|
|
38080
|
+
HW as y,
|
|
38081
|
+
Uu as z
|
|
38074
38082
|
};
|
|
38075
|
-
//# sourceMappingURL=index-
|
|
38083
|
+
//# sourceMappingURL=index-BItIdB59.js.map
|