@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.
Files changed (47) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +6 -6
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.js +22 -22
  8. package/build/lowcode/view.js +16 -16
  9. package/es/components/config-provider/index.js +1 -1
  10. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +2 -1
  11. package/es/components/dataSourceComponents/dataSourceForm/utils.js +14 -2
  12. package/es/components/page/index.js +4 -4
  13. package/es/components/table/Table/utils.d.ts +1 -1
  14. package/es/locales/en-US.d.ts +1 -0
  15. package/es/locales/en-US.js +1 -0
  16. package/es/locales/zh-CN.d.ts +1 -0
  17. package/es/locales/zh-CN.js +1 -0
  18. package/es/locales/zh-TW.d.ts +1 -0
  19. package/es/locales/zh-TW.js +1 -0
  20. package/lib/components/config-provider/index.js +1 -1
  21. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +2 -1
  22. package/lib/components/dataSourceComponents/dataSourceForm/utils.js +31 -2
  23. package/lib/components/page/index.js +4 -4
  24. package/lib/components/table/Table/utils.d.ts +1 -1
  25. package/lib/locales/en-US.d.ts +1 -0
  26. package/lib/locales/en-US.js +1 -0
  27. package/lib/locales/zh-CN.d.ts +1 -0
  28. package/lib/locales/zh-CN.js +1 -0
  29. package/lib/locales/zh-TW.d.ts +1 -0
  30. package/lib/locales/zh-TW.js +1 -0
  31. package/lowcode/_utils/defaultSchema.ts +38 -0
  32. package/lowcode/data-source-form/utils.ts +32 -2
  33. package/lowcode/data-source-table/utils.tsx +6 -0
  34. package/lowcode/form-item-date-picker/snippets.ts +3 -0
  35. package/lowcode/form-item-input/snippets.ts +3 -1
  36. package/lowcode/form-item-input-number/snippets.ts +4 -0
  37. package/lowcode/form-item-input.email/snippets.ts +3 -0
  38. package/lowcode/form-item-input.json/snippets.ts +4 -1
  39. package/lowcode/form-item-input.password/snippets.ts +3 -0
  40. package/lowcode/form-item-input.phone/snippets.ts +3 -0
  41. package/lowcode/form-item-input.text-area/snippets.ts +3 -1
  42. package/lowcode/form-item-input.url/snippets.ts +3 -0
  43. package/lowcode/form-item-select/meta.ts +2 -1
  44. package/lowcode/form-item-select/snippets.ts +4 -0
  45. package/lowcode/form-item-time-picker/snippets.ts +3 -0
  46. package/lowcode/form-item-translation/snippets.ts +3 -1
  47. 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.535",
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/utils": "1.0.43",
72
+ "@pisell/date-picker": "1.0.115",
73
73
  "@pisell/icon": "0.0.10",
74
- "@pisell/date-picker": "1.0.115"
74
+ "@pisell/utils": "1.0.43"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "react": "^18.0.0",