@fibery/custom-app-text-editor 1.3.3 → 1.3.4
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.
|
@@ -80990,10 +80990,7 @@ var gre = Object.freeze({}), _re = "#4978D4", vre = class {
|
|
|
80990
80990
|
}), !0) : !1;
|
|
80991
80991
|
},
|
|
80992
80992
|
makeFileUrl: (e) => t(`/api/files/${encodeURIComponent(e)}`),
|
|
80993
|
-
makeEntityUrl: (t, n) => {
|
|
80994
|
-
let [r, ...i] = t.split("/"), a = `/${encodeURIComponent(r)}/${encodeURIComponent(i.join("/"))}/${encodeURIComponent(n)}`;
|
|
80995
|
-
return e() ? `${W9}${a}` : a;
|
|
80996
|
-
}
|
|
80993
|
+
makeEntityUrl: (t, n) => `${e() ? W9 : ""}/${t.replace(/ /g, "_")}/${n}`
|
|
80997
80994
|
};
|
|
80998
80995
|
}, bre = "fibery/user", K9 = "icon/icon", xre = (e = G9()) => async (t) => {
|
|
80999
80996
|
let n = await e.loadSchema(), r = (0, yre.default)(t, (e) => e.typeId);
|
|
@@ -81054,7 +81051,8 @@ var gre = Object.freeze({}), _re = "#4978D4", vre = class {
|
|
|
81054
81051
|
return e.url ? /* @__PURE__ */ F("a", {
|
|
81055
81052
|
className: i,
|
|
81056
81053
|
href: e.url,
|
|
81057
|
-
target: "
|
|
81054
|
+
target: "_blank",
|
|
81055
|
+
rel: "noopener noreferrer",
|
|
81058
81056
|
title: e.title,
|
|
81059
81057
|
onClick: (n) => {
|
|
81060
81058
|
!(n.metaKey || n.ctrlKey || n.shiftKey || n.altKey) && t?.(e) && n.preventDefault();
|