@lark-apaas/client-toolkit 1.0.19 → 1.0.20-alpha.placeholder.2
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/lib/apis/components/PagePlaceholder.d.ts +1 -0
- package/lib/apis/components/PagePlaceholder.js +2 -0
- package/lib/apis/components/Welcome.d.ts +1 -1
- package/lib/apis/components/Welcome.js +2 -2
- package/lib/components/PagePlaceholder/index.d.ts +6 -0
- package/lib/components/PagePlaceholder/index.js +26 -0
- package/package.json +1 -1
- package/lib/components/Welcome/index.d.ts +0 -3
- package/lib/components/Welcome/index.js +0 -17
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PagePlaceholder } from '../../components/PagePlaceholder';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Welcome } from '../../components/
|
|
1
|
+
export { default as Welcome } from '../../components/PagePlaceholder';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { Welcome };
|
|
1
|
+
import PagePlaceholder from "../../components/PagePlaceholder/index.js";
|
|
2
|
+
export { PagePlaceholder as Welcome };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
const PagePlaceholder = ({ title = '页面待开发', description = '页面暂未开发,请耐心等待...' })=>/*#__PURE__*/ jsxs("center", {
|
|
4
|
+
className: "pt-10 md:pt-9 bg-background p-6 text-center",
|
|
5
|
+
children: [
|
|
6
|
+
/*#__PURE__*/ jsx("center", {
|
|
7
|
+
children: /*#__PURE__*/ jsx("img", {
|
|
8
|
+
className: "rounded-md",
|
|
9
|
+
width: "320",
|
|
10
|
+
height: "200",
|
|
11
|
+
src: "https://lf3-static.bytednsdoc.com/obj/eden-cn/LMfspH/ljhwZthlaukjlkulzlp/miao/welcome.svg",
|
|
12
|
+
alt: "Welcome"
|
|
13
|
+
})
|
|
14
|
+
}),
|
|
15
|
+
/*#__PURE__*/ jsx("div", {
|
|
16
|
+
className: "text-center text-foreground text-base font-medium mb-1 leading-6",
|
|
17
|
+
children: title
|
|
18
|
+
}),
|
|
19
|
+
/*#__PURE__*/ jsx("div", {
|
|
20
|
+
className: "text-center text-muted-foreground text-base leading-6",
|
|
21
|
+
children: description
|
|
22
|
+
})
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
const components_PagePlaceholder = PagePlaceholder;
|
|
26
|
+
export { components_PagePlaceholder as default };
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const Welcome = ()=>/*#__PURE__*/ jsxs("div", {
|
|
4
|
-
className: "flex flex-col items-center justify-center w-full h-full min-h-[70vh]",
|
|
5
|
-
children: [
|
|
6
|
-
/*#__PURE__*/ jsx("div", {
|
|
7
|
-
className: "text-xl font-bold leading-8 mb-2",
|
|
8
|
-
children: "初始化应用"
|
|
9
|
-
}),
|
|
10
|
-
/*#__PURE__*/ jsx("div", {
|
|
11
|
-
className: "leading-5",
|
|
12
|
-
children: "通过对话搭建你的专属应用"
|
|
13
|
-
})
|
|
14
|
-
]
|
|
15
|
-
});
|
|
16
|
-
const components_Welcome = Welcome;
|
|
17
|
-
export { components_Welcome as default };
|