@pisell/materials 6.0.5 → 6.0.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/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 +7 -7
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +21 -53
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +18 -50
- package/es/components/config-provider/index.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +20 -11
- package/es/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/group/index.less +2 -2
- package/es/components/dataSourceComponents/dataSourceForm/index.js +4 -2
- package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +4 -0
- package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.js +11 -3
- package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.js +10 -3
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +3 -2
- package/es/components/dataSourceComponents/dataSourceForm/serve.js +36 -20
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +50 -35
- package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +5 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +3 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +38 -10
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +6 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +4 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +14 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +48 -4
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/index.js +4 -2
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +15 -1
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.js +7 -1
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +16 -1
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +1 -1
- package/es/components/dataSourceComponents/fields/Select/index.js +7 -1
- package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +4 -1
- package/es/components/dataSourceComponents/fields/Upload/serve.js +10 -31
- package/es/components/dataSourceComponents/hooks/useActions.d.ts +2 -1
- package/es/components/dataSourceComponents/hooks/useActions.js +73 -36
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +7 -0
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +3 -1
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +53 -6
- package/es/components/login-and-register/index.d.ts +82 -0
- package/es/components/login-and-register/index.js +360 -0
- package/es/components/login-and-register/index.less +211 -0
- package/es/components/organizationTenantSwitcher/defaultLogo.png +0 -0
- package/es/components/organizationTenantSwitcher/index.d.ts +17 -0
- package/es/components/organizationTenantSwitcher/index.js +96 -0
- package/es/components/organizationTenantSwitcher/index.less +88 -0
- package/es/components/page/index.js +8 -6
- package/es/components/page-header/index.d.ts +14 -0
- package/es/components/page-header/index.js +36 -0
- package/es/components/page-header/index.less +45 -0
- package/es/components/pisellAvatar/index.d.ts +19 -0
- package/es/components/pisellAvatar/index.js +89 -0
- package/es/components/pisellAvatar/index.less +26 -0
- package/es/components/pisellModal/components/PcModal/index.js +1 -1
- package/es/components/pisellTags/index.d.ts +13 -0
- package/es/components/pisellTags/index.js +83 -0
- package/es/components/pisellTags/index.less +17 -0
- package/es/components/pisellTags/utils.d.ts +1 -0
- package/es/components/pisellTags/utils.js +89 -0
- package/es/components/pisellText/components/Amount/index.js +1 -1
- package/es/components/profileMenu/index.d.ts +26 -0
- package/es/components/profileMenu/index.js +115 -0
- package/es/components/profileMenu/index.less +135 -0
- package/es/components/select/index.js +3 -2
- package/es/components/table/Header/index.js +8 -11
- package/es/index.d.ts +6 -0
- package/es/index.js +7 -1
- package/es/locales/en-US.d.ts +1 -0
- package/es/locales/en-US.js +1 -0
- package/es/locales/zh-CN.d.ts +1 -0
- package/es/locales/zh-CN.js +1 -0
- package/es/locales/zh-TW.d.ts +1 -0
- package/es/locales/zh-TW.js +1 -0
- package/lib/components/config-provider/index.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +22 -4
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/group/index.less +2 -2
- package/lib/components/dataSourceComponents/dataSourceForm/index.js +3 -2
- package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +4 -0
- package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.js +17 -3
- package/lib/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.js +16 -6
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +3 -2
- package/lib/components/dataSourceComponents/dataSourceForm/serve.js +9 -5
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +19 -9
- package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +5 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +3 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +51 -5
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +6 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +4 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +14 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +46 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/index.js +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +15 -1
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +6 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +17 -2
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +1 -1
- package/lib/components/dataSourceComponents/fields/Select/index.js +5 -1
- package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +4 -1
- package/lib/components/dataSourceComponents/fields/Upload/serve.js +20 -12
- package/lib/components/dataSourceComponents/hooks/useActions.d.ts +2 -1
- package/lib/components/dataSourceComponents/hooks/useActions.js +25 -7
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +7 -0
- package/lib/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +3 -1
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +48 -7
- package/lib/components/login-and-register/index.d.ts +82 -0
- package/lib/components/login-and-register/index.js +261 -0
- package/lib/components/login-and-register/index.less +211 -0
- package/lib/components/organizationTenantSwitcher/defaultLogo.png +0 -0
- package/lib/components/organizationTenantSwitcher/index.d.ts +17 -0
- package/lib/components/organizationTenantSwitcher/index.js +119 -0
- package/lib/components/organizationTenantSwitcher/index.less +88 -0
- package/lib/components/page/index.js +6 -6
- package/lib/components/page-header/index.d.ts +14 -0
- package/lib/components/page-header/index.js +63 -0
- package/lib/components/page-header/index.less +45 -0
- package/lib/components/pisellAvatar/index.d.ts +19 -0
- package/lib/components/pisellAvatar/index.js +108 -0
- package/lib/components/pisellAvatar/index.less +26 -0
- package/lib/components/pisellModal/components/PcModal/index.js +1 -1
- package/lib/components/pisellTags/index.d.ts +13 -0
- package/lib/components/pisellTags/index.js +113 -0
- package/lib/components/pisellTags/index.less +17 -0
- package/lib/components/pisellTags/utils.d.ts +1 -0
- package/lib/components/pisellTags/utils.js +86 -0
- package/lib/components/pisellText/components/Amount/index.js +2 -2
- package/lib/components/profileMenu/index.d.ts +26 -0
- package/lib/components/profileMenu/index.js +113 -0
- package/lib/components/profileMenu/index.less +135 -0
- package/lib/components/select/index.js +2 -1
- package/lib/components/table/Header/index.js +11 -1
- package/lib/index.d.ts +6 -0
- package/lib/index.js +18 -0
- package/lib/locales/en-US.d.ts +1 -0
- package/lib/locales/en-US.js +1 -0
- package/lib/locales/zh-CN.d.ts +1 -0
- package/lib/locales/zh-CN.js +1 -0
- package/lib/locales/zh-TW.d.ts +1 -0
- package/lib/locales/zh-TW.js +1 -0
- package/lowcode/_utils/defaultSchema.ts +64 -0
- package/lowcode/data-source-form/meta.ts +130 -0
- package/lowcode/data-source-form/utils.ts +33 -3
- package/lowcode/data-source-table/meta.ts +420 -3
- package/lowcode/data-source-table/utils.tsx +6 -0
- package/lowcode/form-item-date-picker/snippets.ts +3 -0
- package/lowcode/form-item-input/snippets.ts +3 -1
- package/lowcode/form-item-input-number/snippets.ts +4 -0
- package/lowcode/form-item-input.email/snippets.ts +3 -0
- package/lowcode/form-item-input.json/snippets.ts +4 -1
- package/lowcode/form-item-input.password/snippets.ts +3 -0
- package/lowcode/form-item-input.phone/snippets.ts +3 -0
- package/lowcode/form-item-input.text-area/snippets.ts +3 -1
- package/lowcode/form-item-input.url/snippets.ts +3 -0
- package/lowcode/form-item-select/meta.ts +2 -1
- package/lowcode/form-item-select/snippets.ts +6 -0
- package/lowcode/form-item-time-picker/snippets.ts +3 -0
- package/lowcode/form-item-translation/snippets.ts +3 -1
- package/lowcode/login-and-register/meta.ts +541 -0
- package/lowcode/login-and-register/snippets.ts +38 -0
- package/lowcode/organization-tenant-switch/meta.ts +127 -0
- package/lowcode/page-header/meta.ts +68 -124
- package/lowcode/page-header/snippets.ts +1 -1
- package/lowcode/pisell-avatar/__screenshots__/avatar-1.jpg +0 -0
- package/lowcode/pisell-avatar/meta.ts +111 -0
- package/lowcode/pisell-avatar/snippets.ts +14 -0
- package/lowcode/pisell-tags/__screenshots__/tag-1.png +0 -0
- package/lowcode/pisell-tags/meta.ts +123 -0
- package/lowcode/pisell-tags/snippets.ts +14 -0
- package/lowcode/profile-menu/meta.ts +175 -0
- package/lowcode/profile-menu/snippets.ts +71 -0
- package/lowcode/submit-button/meta.ts +6 -0
- package/package.json +3 -3
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import snippets from './snippets';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
snippets,
|
|
5
|
+
componentName: 'ProfileMenu',
|
|
6
|
+
title: '个人中心菜单',
|
|
7
|
+
category: '通用',
|
|
8
|
+
npm: {
|
|
9
|
+
package: '@pisell/materials',
|
|
10
|
+
version: '1.0.0',
|
|
11
|
+
exportName: 'ProfileMenu',
|
|
12
|
+
main: 'src/index.tsx',
|
|
13
|
+
destructuring: true,
|
|
14
|
+
subName: '',
|
|
15
|
+
},
|
|
16
|
+
props: [
|
|
17
|
+
{
|
|
18
|
+
title: {
|
|
19
|
+
label: "入口菜单设置"
|
|
20
|
+
},
|
|
21
|
+
display: "block",
|
|
22
|
+
type: "group",
|
|
23
|
+
items: [
|
|
24
|
+
{
|
|
25
|
+
name: 'showBadge',
|
|
26
|
+
title: { label: '显示徽标', tip: '是否在头像右上角显示徽标' },
|
|
27
|
+
propType: 'bool',
|
|
28
|
+
defaultValue: false,
|
|
29
|
+
setter: 'BoolSetter',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: 'badgeCount',
|
|
33
|
+
title: { label: '徽标数量', tip: '徽标显示的数字' },
|
|
34
|
+
propType: 'number',
|
|
35
|
+
defaultValue: 1,
|
|
36
|
+
setter: 'NumberSetter',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'menuIcon',
|
|
40
|
+
title: { label: '菜单图标', tip: '左侧菜单图标' },
|
|
41
|
+
propType: { type: 'oneOfType', value: ['string', 'node'] },
|
|
42
|
+
setter: [{
|
|
43
|
+
componentName: 'IconSetter',
|
|
44
|
+
}, {
|
|
45
|
+
componentName: 'SlotSetter',
|
|
46
|
+
}],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'userName',
|
|
50
|
+
title: { label: '用户名', tip: '显示的用户名' },
|
|
51
|
+
propType: 'string',
|
|
52
|
+
setter: 'StringSetter',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'email',
|
|
56
|
+
title: { label: '邮箱', tip: '显示的邮箱地址' },
|
|
57
|
+
propType: 'string',
|
|
58
|
+
setter: 'StringSetter',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'isShowUserName',
|
|
62
|
+
title: { label: '显示用户名', tip: '是否显示用户名' },
|
|
63
|
+
propType: 'bool',
|
|
64
|
+
defaultValue: false,
|
|
65
|
+
setter: 'BoolSetter',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'isShowEmail',
|
|
69
|
+
title: { label: '显示邮箱', tip: '是否显示邮箱' },
|
|
70
|
+
propType: 'bool',
|
|
71
|
+
defaultValue: false,
|
|
72
|
+
setter: 'BoolSetter',
|
|
73
|
+
},
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
title: {
|
|
78
|
+
label: "菜单字段设置"
|
|
79
|
+
},
|
|
80
|
+
display: "block",
|
|
81
|
+
type: "group",
|
|
82
|
+
items: [
|
|
83
|
+
{
|
|
84
|
+
name: 'isShowUserInfo',
|
|
85
|
+
title: {
|
|
86
|
+
label: '显示用户信息展示区域',
|
|
87
|
+
tip: '在下拉菜单顶部显示用户信息'
|
|
88
|
+
},
|
|
89
|
+
propType: 'bool',
|
|
90
|
+
defaultValue: false,
|
|
91
|
+
setter: 'BoolSetter',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: 'menuItems',
|
|
95
|
+
title: { label: '下拉菜单项', tip: '下拉菜单的配置项' },
|
|
96
|
+
propType: {
|
|
97
|
+
type: 'arrayOf',
|
|
98
|
+
value: {
|
|
99
|
+
type: 'shape',
|
|
100
|
+
value: {
|
|
101
|
+
key: 'string',
|
|
102
|
+
label: 'string',
|
|
103
|
+
icon: 'node',
|
|
104
|
+
danger: 'bool',
|
|
105
|
+
disabled: 'bool',
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
setter: {
|
|
110
|
+
componentName: 'ArraySetter',
|
|
111
|
+
props: {
|
|
112
|
+
itemSetter: {
|
|
113
|
+
componentName: 'ObjectSetter',
|
|
114
|
+
props: {
|
|
115
|
+
config: {
|
|
116
|
+
items: [
|
|
117
|
+
{
|
|
118
|
+
name: 'key',
|
|
119
|
+
title: '唯一标识',
|
|
120
|
+
setter: 'StringSetter',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: 'label',
|
|
124
|
+
title: '菜单项文本',
|
|
125
|
+
setter: 'StringSetter',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: 'icon',
|
|
129
|
+
title: '图标',
|
|
130
|
+
setter: 'IconSetter',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'danger',
|
|
134
|
+
title: '危险项',
|
|
135
|
+
setter: 'BoolSetter',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: 'disabled',
|
|
139
|
+
title: '禁用',
|
|
140
|
+
setter: 'BoolSetter',
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'placement',
|
|
151
|
+
title: { label: '弹出位置', tip: '下拉菜单弹出的位置' },
|
|
152
|
+
propType: {
|
|
153
|
+
type: 'oneOf',
|
|
154
|
+
value: ['bottomLeft', 'bottomCenter', 'bottomRight', 'topLeft', 'topCenter', 'topRight'],
|
|
155
|
+
},
|
|
156
|
+
defaultValue: 'bottomRight',
|
|
157
|
+
setter: {
|
|
158
|
+
componentName: 'SelectSetter',
|
|
159
|
+
props: {
|
|
160
|
+
options: [
|
|
161
|
+
{ label: '左下', value: 'bottomLeft' },
|
|
162
|
+
{ label: '下居中', value: 'bottomCenter' },
|
|
163
|
+
{ label: '右下', value: 'bottomRight' },
|
|
164
|
+
{ label: '左上', value: 'topLeft' },
|
|
165
|
+
{ label: '上居中', value: 'topCenter' },
|
|
166
|
+
{ label: '右上', value: 'topRight' },
|
|
167
|
+
],
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
configure: { supports: { style: true, className: true } },
|
|
175
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
avatar: {
|
|
12
|
+
src: 'https://gimg3.baidu.com/topone/src=https%3A%2F%2Fbkimg.cdn.bcebos.com%2Fsmart%2F9f2f070828381f30e924fc5514595b086e061c955a8c-bkimg-process%2Cv_1%2Crw_1%2Crh_1%2Cmaxl_800%2Cpad_1%3Fx-bce-process%3Dimage%2Fresize%2Cm_pad%2Cw_348%2Ch_348%2Ccolor_ffffff&refer=http%3A%2F%2Fwww.baidu.com&app=2011&size=f200,200&n=0&g=0n&er=404&q=75&fmt=auto&maxorilen2heic=2000000?sec=1737219600&t=2b8ad3e14f26d66ed678724e7e1235fd',
|
|
13
|
+
alt: 'avatar',
|
|
14
|
+
},
|
|
15
|
+
menuIcon: {
|
|
16
|
+
type: "JSSlot",
|
|
17
|
+
value: [
|
|
18
|
+
{
|
|
19
|
+
componentName: "Icon",
|
|
20
|
+
props: {
|
|
21
|
+
type: "MenuOutlined",
|
|
22
|
+
size: 20,
|
|
23
|
+
rotate: 0,
|
|
24
|
+
spin: false,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
menuItems: [
|
|
30
|
+
{
|
|
31
|
+
key: 'account',
|
|
32
|
+
label: 'My Account',
|
|
33
|
+
icon: {
|
|
34
|
+
type: "JSSlot",
|
|
35
|
+
value: [
|
|
36
|
+
{
|
|
37
|
+
componentName: "Icon",
|
|
38
|
+
props: {
|
|
39
|
+
type: "UserOutlined",
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
type: 'divider',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
key: 'logout',
|
|
50
|
+
label: 'Log Out',
|
|
51
|
+
icon: {
|
|
52
|
+
type: "JSSlot",
|
|
53
|
+
value: [
|
|
54
|
+
{
|
|
55
|
+
componentName: "Icon",
|
|
56
|
+
props: {
|
|
57
|
+
type: "LogoutOutlined",
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
danger: true,
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
placement: 'bottomRight',
|
|
66
|
+
showBadge: false,
|
|
67
|
+
badgeCount: 1,
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
];
|
|
@@ -763,6 +763,12 @@ const SubmitButtonMeta: ComponentMetadata = {
|
|
|
763
763
|
'target => !!target.getProps().getPropValue("href")?.trim()',
|
|
764
764
|
},
|
|
765
765
|
},
|
|
766
|
+
{
|
|
767
|
+
name: 'customSubmit',
|
|
768
|
+
title: '自定义提交',
|
|
769
|
+
propType: 'func',
|
|
770
|
+
setter: 'FunctionSetter',
|
|
771
|
+
},
|
|
766
772
|
],
|
|
767
773
|
},
|
|
768
774
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.7",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
66
66
|
"crypto-js": "^4.2.0",
|
|
67
67
|
"@zxing/library": "0.21.2",
|
|
68
|
-
"@pisell/
|
|
68
|
+
"@pisell/date-picker": "1.0.100",
|
|
69
69
|
"@pisell/icon": "0.0.11",
|
|
70
|
-
"@pisell/
|
|
70
|
+
"@pisell/utils": "1.0.42"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "^18.0.0",
|