@pisell/materials 1.0.572 → 1.0.574
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/meta.js +2 -2
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +17 -17
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +3 -3
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +7 -6
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +4 -3
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.js +15 -4
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +15 -13
- package/es/components/dataSourceComponents/fields/Upload/WithMode.js +3 -2
- package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/serve.js +5 -5
- package/es/components/dataSourceComponents/fields/Upload/type.d.ts +8 -0
- package/es/components/pisellModal/components/functions/index.less +3 -0
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +2 -2
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +4 -4
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.js +15 -4
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +5 -3
- package/lib/components/dataSourceComponents/fields/Upload/WithMode.js +2 -2
- package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/serve.js +5 -5
- package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +8 -0
- package/lib/components/pisellModal/components/functions/index.less +3 -0
- package/lowcode/data-source-form/meta.ts +2 -2
- package/lowcode/data-source-form/snippets.ts +10 -10
- package/lowcode/data-source-table/utils.tsx +5 -5
- package/package.json +3 -3
|
@@ -276,13 +276,13 @@ export const getFormContent = (target: any, mode: 'add' | 'edit' | 'view') => {
|
|
|
276
276
|
enable: true,
|
|
277
277
|
title: {
|
|
278
278
|
type: 'i18n',
|
|
279
|
-
en: 'Unsaved
|
|
279
|
+
en: 'Unsaved changes',
|
|
280
280
|
'zh-CN': '未保存的更改',
|
|
281
281
|
'zh-HK': '未保存的更改',
|
|
282
282
|
},
|
|
283
283
|
content: {
|
|
284
284
|
type: 'i18n',
|
|
285
|
-
en: 'You have unsaved changes.
|
|
285
|
+
en: 'You have unsaved changes. Leave anyway?',
|
|
286
286
|
'zh-CN': '您有未保存的更改,确定要离开?',
|
|
287
287
|
'zh-HK': '您有未保存的更改,確定要離開?',
|
|
288
288
|
},
|
|
@@ -294,9 +294,9 @@ export const getFormContent = (target: any, mode: 'add' | 'edit' | 'view') => {
|
|
|
294
294
|
},
|
|
295
295
|
cancelText: {
|
|
296
296
|
type: 'i18n',
|
|
297
|
-
en: '
|
|
298
|
-
'zh-CN': '
|
|
299
|
-
'zh-HK': '
|
|
297
|
+
en: 'Stay',
|
|
298
|
+
'zh-CN': '返回',
|
|
299
|
+
'zh-HK': '返回',
|
|
300
300
|
},
|
|
301
301
|
}
|
|
302
302
|
: undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.574",
|
|
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",
|
|
73
72
|
"@pisell/date-picker": "1.0.115",
|
|
74
|
-
"@pisell/icon": "0.0.10"
|
|
73
|
+
"@pisell/icon": "0.0.10",
|
|
74
|
+
"@pisell/utils": "1.0.43"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"react": "^18.0.0",
|