@pisell/materials 1.0.535 → 1.0.537
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 +6 -6
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.js +22 -22
- package/build/lowcode/view.js +16 -16
- package/es/components/config-provider/index.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +2 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +14 -2
- package/es/components/page/index.js +4 -4
- package/es/components/table/Table/utils.d.ts +1 -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/utils.d.ts +2 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +31 -2
- package/lib/components/page/index.js +4 -4
- package/lib/components/table/Table/utils.d.ts +1 -1
- 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 +38 -0
- package/lowcode/data-source-form/utils.ts +32 -2
- 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 +4 -0
- package/lowcode/form-item-time-picker/snippets.ts +3 -0
- package/lowcode/form-item-translation/snippets.ts +3 -1
- package/package.json +3 -3
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { selectPlaceholder, selectMultiplePlaceholder } from "../_utils/defaultSchema";
|
|
2
|
+
|
|
1
3
|
export default [
|
|
2
4
|
{
|
|
3
5
|
title: '单项选择器',
|
|
@@ -7,6 +9,7 @@ export default [
|
|
|
7
9
|
componentName: 'FormItemSelect',
|
|
8
10
|
props: {
|
|
9
11
|
allowClear: true,
|
|
12
|
+
placeholder: selectPlaceholder,
|
|
10
13
|
optionSourceType: 'default',
|
|
11
14
|
optionFilterProp: 'label',
|
|
12
15
|
styleType: "antd",
|
|
@@ -36,6 +39,7 @@ export default [
|
|
|
36
39
|
props: {
|
|
37
40
|
allowClear: true,
|
|
38
41
|
mode: 'multiple',
|
|
42
|
+
placeholder: selectMultiplePlaceholder,
|
|
39
43
|
optionSourceType: 'default',
|
|
40
44
|
optionFilterProp: 'label',
|
|
41
45
|
styleType: "antd",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { timePickerPlaceholder } from "../_utils/defaultSchema";
|
|
2
|
+
|
|
1
3
|
export default [
|
|
2
4
|
{
|
|
3
5
|
title: '时间录入',
|
|
@@ -6,6 +8,7 @@ export default [
|
|
|
6
8
|
title: '时间录入',
|
|
7
9
|
componentName: 'FormItemTimePicker',
|
|
8
10
|
props: {
|
|
11
|
+
placeholder: timePickerPlaceholder,
|
|
9
12
|
format: 'HH:mm'
|
|
10
13
|
},
|
|
11
14
|
},
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { inputPlaceholder } from "../_utils/defaultSchema";
|
|
2
|
+
|
|
1
3
|
export default [
|
|
2
4
|
{
|
|
3
5
|
title: '多语言文本',
|
|
@@ -5,7 +7,7 @@ export default [
|
|
|
5
7
|
componentName: 'FormItemTranslation',
|
|
6
8
|
title: '多语言文本',
|
|
7
9
|
props: {
|
|
8
|
-
placeholder:
|
|
10
|
+
placeholder: inputPlaceholder,
|
|
9
11
|
allowClear: true,
|
|
10
12
|
},
|
|
11
13
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.537",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"libphonenumber-js": "^1.11.17",
|
|
70
70
|
"swiper": "^8.4.7",
|
|
71
71
|
"react-barcode": "^1.5.3",
|
|
72
|
-
"@pisell/
|
|
72
|
+
"@pisell/date-picker": "1.0.115",
|
|
73
73
|
"@pisell/icon": "0.0.10",
|
|
74
|
-
"@pisell/
|
|
74
|
+
"@pisell/utils": "1.0.43"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"react": "^18.0.0",
|