@pristy/pristy-libvue 0.16.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pristy-libvue.mjs +17 -17
- package/dist/pristy-libvue.umd.js +5 -5
- package/package.json +1 -1
package/dist/pristy-libvue.mjs
CHANGED
|
@@ -4765,10 +4765,10 @@ class hb {
|
|
|
4765
4765
|
"path"
|
|
4766
4766
|
]
|
|
4767
4767
|
};
|
|
4768
|
-
return me
|
|
4768
|
+
return me.getNode(M, t).then((I) => I.entry).catch((I) => I);
|
|
4769
4769
|
}
|
|
4770
4770
|
createNode(M, t) {
|
|
4771
|
-
return me
|
|
4771
|
+
return me.createNode(M, t).catch((I) => {
|
|
4772
4772
|
Q.createNodeError(I);
|
|
4773
4773
|
});
|
|
4774
4774
|
}
|
|
@@ -4783,7 +4783,7 @@ class hb {
|
|
|
4783
4783
|
"isLocked"
|
|
4784
4784
|
]
|
|
4785
4785
|
};
|
|
4786
|
-
return me
|
|
4786
|
+
return me.listNodeChildren(M, t).then((I) => {
|
|
4787
4787
|
let c = I.list.entries.map((N) => N.entry), g = c.filter(
|
|
4788
4788
|
(N) => N.name === "documentLibrary"
|
|
4789
4789
|
)[0];
|
|
@@ -4794,13 +4794,13 @@ class hb {
|
|
|
4794
4794
|
}).catch((I) => I);
|
|
4795
4795
|
}
|
|
4796
4796
|
updateNode(M, t) {
|
|
4797
|
-
return me
|
|
4797
|
+
return me.updateNode(M, t).catch((I) => {
|
|
4798
4798
|
Q.updateNodeError(I);
|
|
4799
4799
|
});
|
|
4800
4800
|
}
|
|
4801
4801
|
deleteNode(M, t) {
|
|
4802
4802
|
const I = {};
|
|
4803
|
-
return me
|
|
4803
|
+
return me.deleteNode(M, I).catch((c) => {
|
|
4804
4804
|
Q.deleteNodeError(c, t);
|
|
4805
4805
|
});
|
|
4806
4806
|
}
|
|
@@ -4808,7 +4808,7 @@ class hb {
|
|
|
4808
4808
|
const t = {
|
|
4809
4809
|
include: ["isFavorite", "properties", "path"]
|
|
4810
4810
|
};
|
|
4811
|
-
return me
|
|
4811
|
+
return me.listParents(M, t).then((I) => {
|
|
4812
4812
|
let c = I.list.entries.map((N) => N.entry), g = c[0];
|
|
4813
4813
|
return g && g.name === "documentLibrary" ? this.getParents(g.id).then((N) => ({
|
|
4814
4814
|
documentLibrary: g,
|
|
@@ -4825,14 +4825,14 @@ class hb {
|
|
|
4825
4825
|
"permissions"
|
|
4826
4826
|
]
|
|
4827
4827
|
};
|
|
4828
|
-
return me
|
|
4828
|
+
return me.listNodeChildren(M, t).then((I) => I.list.entries.map((g) => g.entry).find((g) => g.name === "documentLibrary")).catch((I) => I);
|
|
4829
4829
|
}
|
|
4830
4830
|
updateContentNode(M, t, I, c) {
|
|
4831
4831
|
let g = {
|
|
4832
4832
|
majorVersion: I,
|
|
4833
4833
|
comment: c
|
|
4834
4834
|
};
|
|
4835
|
-
return me
|
|
4835
|
+
return me.updateNodeContent(M, t, g).catch((N) => {
|
|
4836
4836
|
Q.updateContentNodeError(N);
|
|
4837
4837
|
});
|
|
4838
4838
|
}
|
|
@@ -4845,7 +4845,7 @@ class hb {
|
|
|
4845
4845
|
}, g = {
|
|
4846
4846
|
include: ["path"]
|
|
4847
4847
|
};
|
|
4848
|
-
return me
|
|
4848
|
+
return me.copyNode(M, c, g).catch((N) => {
|
|
4849
4849
|
Q.copyNodeError(N);
|
|
4850
4850
|
});
|
|
4851
4851
|
}
|
|
@@ -4858,7 +4858,7 @@ class hb {
|
|
|
4858
4858
|
}, g = {
|
|
4859
4859
|
include: ["path"]
|
|
4860
4860
|
};
|
|
4861
|
-
return me
|
|
4861
|
+
return me.moveNode(M, c, g).catch((N) => {
|
|
4862
4862
|
Q.moveNodeError(N);
|
|
4863
4863
|
});
|
|
4864
4864
|
}
|
|
@@ -4867,12 +4867,12 @@ class hb {
|
|
|
4867
4867
|
nodeId: M.id,
|
|
4868
4868
|
expiresAt: null
|
|
4869
4869
|
};
|
|
4870
|
-
return eI
|
|
4870
|
+
return eI.createSharedLink(t).catch((I) => {
|
|
4871
4871
|
Q.createSharedLinkError(I);
|
|
4872
4872
|
});
|
|
4873
4873
|
}
|
|
4874
4874
|
deleteSharedLink(M) {
|
|
4875
|
-
return eI
|
|
4875
|
+
return eI.deleteSharedLink(M).catch((t) => {
|
|
4876
4876
|
Q.deleteSharedLinkError(t);
|
|
4877
4877
|
});
|
|
4878
4878
|
}
|
|
@@ -4883,7 +4883,7 @@ class hb {
|
|
|
4883
4883
|
}, c = {
|
|
4884
4884
|
include: ["properties"]
|
|
4885
4885
|
};
|
|
4886
|
-
return jt
|
|
4886
|
+
return jt.revertVersion(M, t, I, c).catch((g) => {
|
|
4887
4887
|
Q.revertVersionError(g);
|
|
4888
4888
|
});
|
|
4889
4889
|
}
|
|
@@ -4891,7 +4891,7 @@ class hb {
|
|
|
4891
4891
|
const t = {
|
|
4892
4892
|
include: ["properties"]
|
|
4893
4893
|
};
|
|
4894
|
-
return jt
|
|
4894
|
+
return jt.listVersionHistory(M, t).catch((I) => {
|
|
4895
4895
|
Q.listNodeVersionHistoryError(I);
|
|
4896
4896
|
});
|
|
4897
4897
|
}
|
|
@@ -4899,7 +4899,7 @@ class hb {
|
|
|
4899
4899
|
const c = {
|
|
4900
4900
|
attachment: I
|
|
4901
4901
|
};
|
|
4902
|
-
return jt
|
|
4902
|
+
return jt.getVersionContent(M, t, c).catch((g) => {
|
|
4903
4903
|
Q.getVersionContentError(g);
|
|
4904
4904
|
});
|
|
4905
4905
|
}
|
|
@@ -4933,7 +4933,7 @@ class kb {
|
|
|
4933
4933
|
},
|
|
4934
4934
|
localization: { locales: ["fr_FR"] }
|
|
4935
4935
|
};
|
|
4936
|
-
return is
|
|
4936
|
+
return is.search(t).then((I) => I.list.entries.map((c) => {
|
|
4937
4937
|
let g = c.entry;
|
|
4938
4938
|
return g.title = c.entry.properties["cm:title"], g.visibility = c.entry.properties["st:siteVisibility"], g.typeEspace = c.entry.properties["pm:typeEspace"], g;
|
|
4939
4939
|
})).catch((I) => {
|
|
@@ -6729,7 +6729,7 @@ const dt = qt({
|
|
|
6729
6729
|
hostEcm: this.ALFRESCO_HOST,
|
|
6730
6730
|
authType: this.ALFRESCO_AUTH,
|
|
6731
6731
|
contextRoot: this.ALFRESCO_ROOT
|
|
6732
|
-
})
|
|
6732
|
+
});
|
|
6733
6733
|
});
|
|
6734
6734
|
}
|
|
6735
6735
|
}
|