@dyrected/vue 2.5.59 → 2.5.60
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/components/DyrectedRichText.vue.d.ts +12 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +28 -19
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -17604,7 +17604,7 @@ var ne = /*#__PURE__*/ ((e, t) => {
|
|
|
17604
17604
|
d: "m21.5 20.5-5-5",
|
|
17605
17605
|
key: "1bylgx"
|
|
17606
17606
|
}]
|
|
17607
|
-
]),
|
|
17607
|
+
]), L_ = z("map-pin", [["path", {
|
|
17608
17608
|
d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",
|
|
17609
17609
|
key: "1r0f0z"
|
|
17610
17610
|
}], ["circle", {
|
|
@@ -17612,7 +17612,7 @@ var ne = /*#__PURE__*/ ((e, t) => {
|
|
|
17612
17612
|
cy: "10",
|
|
17613
17613
|
r: "3",
|
|
17614
17614
|
key: "ilqhr7"
|
|
17615
|
-
}]]),
|
|
17615
|
+
}]]), R_ = z("map-pinned", [
|
|
17616
17616
|
["path", {
|
|
17617
17617
|
d: "M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",
|
|
17618
17618
|
key: "11u0oz"
|
|
@@ -17627,7 +17627,7 @@ var ne = /*#__PURE__*/ ((e, t) => {
|
|
|
17627
17627
|
d: "M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",
|
|
17628
17628
|
key: "q8zwxj"
|
|
17629
17629
|
}]
|
|
17630
|
-
]),
|
|
17630
|
+
]), z_ = z("map-plus", [
|
|
17631
17631
|
["path", {
|
|
17632
17632
|
d: "m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12",
|
|
17633
17633
|
key: "svfegj"
|
|
@@ -17648,7 +17648,7 @@ var ne = /*#__PURE__*/ ((e, t) => {
|
|
|
17648
17648
|
d: "M9 3.236v15",
|
|
17649
17649
|
key: "1uimfh"
|
|
17650
17650
|
}]
|
|
17651
|
-
]),
|
|
17651
|
+
]), B_ = z("map", [
|
|
17652
17652
|
["path", {
|
|
17653
17653
|
d: "M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",
|
|
17654
17654
|
key: "169xi5"
|
|
@@ -17661,7 +17661,7 @@ var ne = /*#__PURE__*/ ((e, t) => {
|
|
|
17661
17661
|
d: "M9 3.236v15",
|
|
17662
17662
|
key: "1uimfh"
|
|
17663
17663
|
}]
|
|
17664
|
-
]),
|
|
17664
|
+
]), J = z("mars-stroke", [
|
|
17665
17665
|
["path", {
|
|
17666
17666
|
d: "m14 6 4 4",
|
|
17667
17667
|
key: "1q72g9"
|
|
@@ -32029,9 +32029,9 @@ var ne = /*#__PURE__*/ ((e, t) => {
|
|
|
32029
32029
|
MailX: () => S_,
|
|
32030
32030
|
Mailbox: () => C_,
|
|
32031
32031
|
Mails: () => w_,
|
|
32032
|
-
Map: () =>
|
|
32032
|
+
Map: () => B_,
|
|
32033
32033
|
MapMinus: () => T_,
|
|
32034
|
-
MapPin: () =>
|
|
32034
|
+
MapPin: () => L_,
|
|
32035
32035
|
MapPinCheck: () => D_,
|
|
32036
32036
|
MapPinCheckInside: () => E_,
|
|
32037
32037
|
MapPinHouse: () => O_,
|
|
@@ -32043,10 +32043,10 @@ var ne = /*#__PURE__*/ ((e, t) => {
|
|
|
32043
32043
|
MapPinPlusInside: () => N_,
|
|
32044
32044
|
MapPinX: () => I_,
|
|
32045
32045
|
MapPinXInside: () => F_,
|
|
32046
|
-
MapPinned: () =>
|
|
32047
|
-
MapPlus: () =>
|
|
32046
|
+
MapPinned: () => R_,
|
|
32047
|
+
MapPlus: () => z_,
|
|
32048
32048
|
Mars: () => V_,
|
|
32049
|
-
MarsStroke: () =>
|
|
32049
|
+
MarsStroke: () => J,
|
|
32050
32050
|
Martini: () => H_,
|
|
32051
32051
|
Maximize: () => W_,
|
|
32052
32052
|
Maximize2: () => U_,
|
|
@@ -32803,11 +32803,20 @@ var ne = /*#__PURE__*/ ((e, t) => {
|
|
|
32803
32803
|
let i = t, a = jj, o = e(() => (i.name ? a[i.name] : void 0) ?? (i.fallback ? a[i.fallback] : void 0));
|
|
32804
32804
|
return (e, t) => o.value ? (m(), n(_(o.value), d(l({ key: 0 }, e.$attrs)), null, 16)) : r("", !0);
|
|
32805
32805
|
}
|
|
32806
|
+
}), Nj = ["innerHTML"], Pj = /* @__PURE__ */ o({
|
|
32807
|
+
__name: "DyrectedRichText",
|
|
32808
|
+
props: { content: {} },
|
|
32809
|
+
setup(e) {
|
|
32810
|
+
return (t, n) => e.content ? (m(), i("div", {
|
|
32811
|
+
key: 0,
|
|
32812
|
+
innerHTML: e.content
|
|
32813
|
+
}, null, 8, Nj)) : r("", !0);
|
|
32814
|
+
}
|
|
32806
32815
|
}), Y = Symbol("dyPath");
|
|
32807
32816
|
function X(e) {
|
|
32808
32817
|
ee(Y, e);
|
|
32809
32818
|
}
|
|
32810
|
-
function
|
|
32819
|
+
function Fj(e) {
|
|
32811
32820
|
let t = c(Y, "");
|
|
32812
32821
|
return { "data-dy-path": e ? t ? `${t}.${e}` : e : t };
|
|
32813
32822
|
}
|
|
@@ -32822,7 +32831,7 @@ var Z = o({
|
|
|
32822
32831
|
setup(e, { slots: t }) {
|
|
32823
32832
|
return X(e.path), () => t.default?.();
|
|
32824
32833
|
}
|
|
32825
|
-
}),
|
|
32834
|
+
}), Ij = o({
|
|
32826
32835
|
name: "Blocks",
|
|
32827
32836
|
props: {
|
|
32828
32837
|
items: {
|
|
@@ -32858,10 +32867,10 @@ function $() {
|
|
|
32858
32867
|
if (!e) throw Error("Dyrected client not found. Use provideDyrectedClient() or the DyrectedVue plugin.");
|
|
32859
32868
|
return e;
|
|
32860
32869
|
}
|
|
32861
|
-
function
|
|
32870
|
+
function Lj(e) {
|
|
32862
32871
|
return { [Q]: e };
|
|
32863
32872
|
}
|
|
32864
|
-
function
|
|
32873
|
+
function Rj(e, t, n = {}) {
|
|
32865
32874
|
let r = $(), i = h(null), a = h(!0), o = h(null), s = async () => {
|
|
32866
32875
|
a.value = !0;
|
|
32867
32876
|
try {
|
|
@@ -32884,7 +32893,7 @@ function Ij(e, t, n = {}) {
|
|
|
32884
32893
|
refresh: s
|
|
32885
32894
|
};
|
|
32886
32895
|
}
|
|
32887
|
-
function
|
|
32896
|
+
function zj(e, t = {}) {
|
|
32888
32897
|
let n = $(), r = h([]), i = h(!0), a = h(null), o = async () => {
|
|
32889
32898
|
i.value = !0;
|
|
32890
32899
|
try {
|
|
@@ -32903,7 +32912,7 @@ function Lj(e, t = {}) {
|
|
|
32903
32912
|
refresh: o
|
|
32904
32913
|
};
|
|
32905
32914
|
}
|
|
32906
|
-
function
|
|
32915
|
+
function Bj(e, t = {}) {
|
|
32907
32916
|
let n = $(), r = h(null), i = h(!0), a = h(null), o = async () => {
|
|
32908
32917
|
i.value = !0;
|
|
32909
32918
|
try {
|
|
@@ -32924,7 +32933,7 @@ function Rj(e, t = {}) {
|
|
|
32924
32933
|
}
|
|
32925
32934
|
//#endregion
|
|
32926
32935
|
//#region src/composables/useLivePreview.ts
|
|
32927
|
-
function
|
|
32936
|
+
function Vj(e) {
|
|
32928
32937
|
let t = h(e.initialData), n = h(!1), r = e.serverURL || "*", i = !1, a = null, o = (e) => {
|
|
32929
32938
|
if (!i) return;
|
|
32930
32939
|
let t = e.target?.closest("[data-dy-path]");
|
|
@@ -32957,7 +32966,7 @@ function zj(e) {
|
|
|
32957
32966
|
}
|
|
32958
32967
|
//#endregion
|
|
32959
32968
|
//#region src/composables/useDyrectedAuth.ts
|
|
32960
|
-
function
|
|
32969
|
+
function Hj(t, n) {
|
|
32961
32970
|
let r = n.storage || (typeof window < "u" ? window.localStorage : null), i = `dyrected_token_${t}`, a = h(r?.getItem(i) || null), o = h(null), s = e(() => !!a.value), c = b({
|
|
32962
32971
|
baseUrl: n.baseUrl,
|
|
32963
32972
|
apiKey: n.apiKey,
|
|
@@ -32994,4 +33003,4 @@ function Bj(t, n) {
|
|
|
32994
33003
|
};
|
|
32995
33004
|
}
|
|
32996
33005
|
//#endregion
|
|
32997
|
-
export {
|
|
33006
|
+
export { Ij as Blocks, Q as DYRECTED_CLIENT_KEY, Y as DY_PATH_KEY, Z as DyPathScope, ne as DyrectedAdmin, Mj as DyrectedIcon, ae as DyrectedImage, A as DyrectedMedia, Pj as DyrectedRichText, X as provideDyPath, Lj as provideDyrectedClient, Fj as useDyPath, Rj as useDyrected, Hj as useDyrectedAuth, $ as useDyrectedClient, zj as useDyrectedCollection, Bj as useDyrectedGlobal, Vj as useLivePreview, w as wrapComponents, C as wrapVueComponent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dyrected/vue",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.60",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"lucide-vue-next": "^1.0.0",
|
|
22
22
|
"react": "^18.0.0 || ^19.0.0",
|
|
23
23
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
24
|
-
"@dyrected/sdk": "2.5.
|
|
25
|
-
"@dyrected/admin": "2.5.
|
|
26
|
-
"@dyrected/core": "2.5.
|
|
24
|
+
"@dyrected/sdk": "2.5.60",
|
|
25
|
+
"@dyrected/admin": "2.5.60",
|
|
26
|
+
"@dyrected/core": "2.5.60"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=18.0.0",
|