@lark-apaas/client-toolkit-lite 1.1.7-alpha.12 → 1.1.7-alpha.13
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.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +81 -81
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1872,7 +1872,7 @@ function IframeBridge() {
|
|
|
1872
1872
|
}, [
|
|
1873
1873
|
handleMessage
|
|
1874
1874
|
]);
|
|
1875
|
-
return /* @__PURE__ */
|
|
1875
|
+
return /* @__PURE__ */ (0, import_react8.createElement)("div", {
|
|
1876
1876
|
style: {
|
|
1877
1877
|
display: "none"
|
|
1878
1878
|
}
|
|
@@ -2251,9 +2251,9 @@ var ActiveLink = /* @__PURE__ */ (0, import_react13.forwardRef)(({ to, onClick,
|
|
|
2251
2251
|
ActiveLink.displayName = "ActiveLink";
|
|
2252
2252
|
|
|
2253
2253
|
// src/route-components/NavLink.tsx
|
|
2254
|
-
var
|
|
2254
|
+
var React9 = __toESM(require("react"), 1);
|
|
2255
2255
|
var import_react_router_dom3 = require("react-router-dom");
|
|
2256
|
-
var NavLink2 = /* @__PURE__ */
|
|
2256
|
+
var NavLink2 = /* @__PURE__ */ React9.forwardRef(({ to, children, className, style, ...props }, ref) => {
|
|
2257
2257
|
const isHashLink = typeof to === "string" && to.startsWith("#");
|
|
2258
2258
|
const location = (0, import_react_router_dom3.useLocation)();
|
|
2259
2259
|
const navigate = (0, import_react_router_dom3.useNavigate)();
|
|
@@ -2277,7 +2277,7 @@ var NavLink2 = /* @__PURE__ */ React10.forwardRef(({ to, children, className, st
|
|
|
2277
2277
|
const resolvedClassName = typeof className === "function" ? className(renderProps) : className;
|
|
2278
2278
|
const resolvedStyle = typeof style === "function" ? style(renderProps) : style;
|
|
2279
2279
|
const { caseSensitive, end, replace, state, preventScrollReset, relative, viewTransition, ...restProps } = props;
|
|
2280
|
-
return /* @__PURE__ */
|
|
2280
|
+
return /* @__PURE__ */ React9.createElement("a", {
|
|
2281
2281
|
href: to,
|
|
2282
2282
|
onClick: handleClick,
|
|
2283
2283
|
ref,
|
|
@@ -2286,7 +2286,7 @@ var NavLink2 = /* @__PURE__ */ React10.forwardRef(({ to, children, className, st
|
|
|
2286
2286
|
...restProps
|
|
2287
2287
|
}, typeof children === "function" ? children(renderProps) : children);
|
|
2288
2288
|
}
|
|
2289
|
-
return /* @__PURE__ */
|
|
2289
|
+
return /* @__PURE__ */ React9.createElement(import_react_router_dom3.NavLink, {
|
|
2290
2290
|
to,
|
|
2291
2291
|
ref,
|
|
2292
2292
|
className,
|