@pisell/materials 1.0.511 → 1.0.513
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +3 -3
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +21 -21
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +13 -13
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/es/components/pisellAnchor/index.js +6 -37
- package/es/components/pisellAnchor/index.less +36 -34
- package/es/components/pisellHeaderProgressBar/index.js +3 -4
- package/es/components/pisellHeaderProgressBar/index.less +0 -1
- package/es/components/pisellImageCarousels/index.d.ts +1 -0
- package/es/components/pisellImageCarousels/index.js +4 -2
- package/es/components/pisellList01/index.d.ts +1 -0
- package/es/components/pisellList01/index.js +11 -7
- package/es/components/profileMenu/index.d.ts +25 -0
- package/es/components/profileMenu/index.js +110 -0
- package/es/components/profileMenu/index.less +112 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/lib/components/pisellAnchor/index.js +8 -35
- package/lib/components/pisellAnchor/index.less +36 -34
- package/lib/components/pisellHeaderProgressBar/index.js +3 -2
- package/lib/components/pisellHeaderProgressBar/index.less +0 -1
- package/lib/components/pisellImageCarousels/index.d.ts +1 -0
- package/lib/components/pisellImageCarousels/index.js +3 -2
- package/lib/components/pisellList01/index.d.ts +1 -0
- package/lib/components/pisellList01/index.js +8 -3
- package/lib/components/profileMenu/index.d.ts +25 -0
- package/lib/components/profileMenu/index.js +118 -0
- package/lib/components/profileMenu/index.less +112 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lowcode/profile-menu/meta.ts +175 -0
- package/lowcode/profile-menu/snippets.ts +67 -0
- package/package.json +2 -2
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
title: '个人中心菜单',
|
|
4
|
+
screenshot: '',
|
|
5
|
+
schema: {
|
|
6
|
+
componentName: 'ProfileMenu',
|
|
7
|
+
props: {
|
|
8
|
+
isShowEmail: true,
|
|
9
|
+
isShowUserName: true,
|
|
10
|
+
isShowUserInfo: false,
|
|
11
|
+
menuIcon: {
|
|
12
|
+
type: "JSSlot",
|
|
13
|
+
value: [
|
|
14
|
+
{
|
|
15
|
+
componentName: "Icon",
|
|
16
|
+
props: {
|
|
17
|
+
type: "MenuOutlined",
|
|
18
|
+
size: 20,
|
|
19
|
+
rotate: 0,
|
|
20
|
+
spin: false,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
menuItems: [
|
|
26
|
+
{
|
|
27
|
+
key: 'account',
|
|
28
|
+
label: 'My Account',
|
|
29
|
+
icon: {
|
|
30
|
+
type: "JSSlot",
|
|
31
|
+
value: [
|
|
32
|
+
{
|
|
33
|
+
componentName: "Icon",
|
|
34
|
+
props: {
|
|
35
|
+
type: "UserOutlined",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
type: 'divider',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
key: 'logout',
|
|
46
|
+
label: 'Log Out',
|
|
47
|
+
icon: {
|
|
48
|
+
type: "JSSlot",
|
|
49
|
+
value: [
|
|
50
|
+
{
|
|
51
|
+
componentName: "Icon",
|
|
52
|
+
props: {
|
|
53
|
+
type: "LogoutOutlined",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
danger: true,
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
placement: 'bottomRight',
|
|
62
|
+
showBadge: false,
|
|
63
|
+
badgeCount: 1,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.513",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"styled-components": "^6.0.0-rc.3",
|
|
69
69
|
"libphonenumber-js": "^1.11.17",
|
|
70
70
|
"swiper": "^8.4.7",
|
|
71
|
-
"@pisell/utils": "1.0.43",
|
|
72
71
|
"@pisell/date-picker": "1.0.114",
|
|
72
|
+
"@pisell/utils": "1.0.43",
|
|
73
73
|
"@pisell/icon": "0.0.10"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|