@fileverse-dev/ddoc 2.0.2-patch-6 → 2.0.2-patch-7
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/index.es.js +7 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -138570,10 +138570,12 @@ const agt = /* @__PURE__ */ q4(ogt), lgt = ({
|
|
138570
138570
|
isNavbarVisible: r,
|
138571
138571
|
setIsNavbarVisible: i
|
138572
138572
|
}) => {
|
138573
|
-
const { toolVisibility: s, setToolVisibility: o, bottomToolbar: a } = kL(
|
138574
|
-
|
138575
|
-
|
138576
|
-
|
138573
|
+
const { toolVisibility: s, setToolVisibility: o, bottomToolbar: a } = kL(
|
138574
|
+
{
|
138575
|
+
editor: t,
|
138576
|
+
onError: e
|
138577
|
+
}
|
138578
|
+
), l = wL("(max-width: 1023px)"), [c, u] = et(""), [f, d] = et(""), [h, p] = et(!0), [m, g] = et(!0), v = $e(null), k = () => {
|
138577
138579
|
if (c === null) {
|
138578
138580
|
g(!1), o(pt.NONE);
|
138579
138581
|
return;
|
@@ -138587,7 +138589,7 @@ const agt = /* @__PURE__ */ q4(ogt), lgt = ({
|
|
138587
138589
|
return;
|
138588
138590
|
}
|
138589
138591
|
let x = c;
|
138590
|
-
!c.startsWith("http://")
|
138592
|
+
!c.startsWith("http://") && !c.startsWith("https://") ? x = "https://" + c : x = c;
|
138591
138593
|
try {
|
138592
138594
|
x.match(
|
138593
138595
|
/^((http|https):\/\/)?([w|W]{3}\.)+[a-zA-Z0-9\-\.]{3,}\.[a-zA-Z]{2,}(\.[a-zA-Z]{2,})?$/
|