@pisell/materials 2.2.53 → 2.2.55
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 +5 -5
- package/build/lowcode/preview.js +164 -148
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +39 -25
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +39 -25
- package/es/components/Pagination/index.d.ts +1 -1
- package/es/components/appVersionControl/index.d.ts +0 -1
- package/es/components/colorPicker/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -2
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.js +13 -3
- package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +2 -0
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +10 -10
- package/es/components/drag-sort-tree/index.d.ts +0 -1
- package/es/components/filter/components/items/index.d.ts +1 -0
- package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
- package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
- package/es/components/filter/components/items/text/index.d.ts +1 -0
- package/es/components/iconfont/index.js +1 -1
- package/es/components/login-and-register/index.js +23 -21
- package/es/components/login-and-register/index.less +7 -7
- package/es/components/page/index.js +23 -57
- package/es/components/pisellAnchor/index.d.ts +1 -1
- package/es/components/pisellAnchor/index.js +109 -199
- package/es/components/pisellAnchor/index.less +3 -5
- package/es/components/pisellAvatar/index.js +2 -1
- package/es/components/pisellAvatar/index.less +2 -1
- package/es/components/pisellCustomCheckboxGroup/index.js +3 -0
- package/es/components/pisellGoodPassCard/index.d.ts +47 -0
- package/es/components/pisellGoodPassCard/index.js +115 -0
- package/es/components/pisellGoodPassCard/index.less +52 -0
- package/es/components/pisellModal/components/MobileModal/index.less +4 -0
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +18 -2
- package/es/components/pisellWalletPassCard/index.d.ts +0 -1
- package/es/components/productCard/components/MultiDay/index.js +2 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +4 -3
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +3 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.js +53 -0
- package/es/components/productCard/components/Time/index.d.ts +1 -1
- package/es/components/productCard/components/Time/index.js +21 -7
- package/es/components/productCard/components/Time/index.less +29 -0
- package/es/components/productCard/index.js +5 -2
- package/es/components/productCard/locales.d.ts +6 -0
- package/es/components/productCard/locales.js +19 -1
- package/es/components/productCard/types.d.ts +4 -0
- package/es/components/productCard/utils.js +18 -2
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -1
- package/es/components/table/Table/SelectField/index.d.ts +1 -0
- package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/tabs/index.js +6 -1
- package/es/index.d.ts +10 -11
- package/es/index.js +11 -12
- package/es/locales/en-US.d.ts +28 -2
- package/es/locales/en-US.js +43 -10
- package/es/locales/zh-CN.d.ts +26 -0
- package/es/locales/zh-CN.js +29 -1
- package/es/locales/zh-TW.d.ts +26 -0
- package/es/locales/zh-TW.js +28 -1
- package/lib/components/Pagination/index.d.ts +1 -1
- package/lib/components/appVersionControl/index.d.ts +0 -1
- package/lib/components/colorPicker/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -2
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.js +12 -3
- package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.less +2 -0
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +10 -10
- package/lib/components/drag-sort-tree/index.d.ts +0 -1
- package/lib/components/filter/components/items/index.d.ts +1 -0
- package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
- package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
- package/lib/components/filter/components/items/text/index.d.ts +1 -0
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/login-and-register/index.js +23 -21
- package/lib/components/login-and-register/index.less +7 -7
- package/lib/components/page/index.js +37 -65
- package/lib/components/pisellAnchor/index.d.ts +1 -1
- package/lib/components/pisellAnchor/index.js +64 -131
- package/lib/components/pisellAnchor/index.less +3 -5
- package/lib/components/pisellAvatar/index.js +1 -1
- package/lib/components/pisellAvatar/index.less +2 -1
- package/lib/components/pisellCustomCheckboxGroup/index.js +1 -1
- package/lib/components/pisellEmpty/index.js +9 -1
- package/lib/components/pisellGoodPassCard/index.d.ts +47 -0
- package/lib/components/pisellGoodPassCard/index.js +109 -0
- package/lib/components/pisellGoodPassCard/index.less +52 -0
- package/lib/components/pisellModal/components/MobileModal/index.less +4 -0
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.js +24 -3
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
- package/lib/components/productCard/components/MultiDay/index.js +3 -2
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.js +5 -4
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +3 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.js +63 -0
- package/lib/components/productCard/components/Time/index.d.ts +1 -1
- package/lib/components/productCard/components/Time/index.js +38 -14
- package/lib/components/productCard/components/Time/index.less +29 -0
- package/lib/components/productCard/index.js +4 -1
- package/lib/components/productCard/locales.d.ts +6 -0
- package/lib/components/productCard/locales.js +7 -1
- package/lib/components/productCard/types.d.ts +4 -0
- package/lib/components/productCard/utils.js +14 -2
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -1
- package/lib/components/table/Table/SelectField/index.d.ts +1 -0
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/tabs/index.js +1 -0
- package/lib/index.d.ts +10 -11
- package/lib/index.js +12 -15
- package/lib/locales/en-US.d.ts +28 -2
- package/lib/locales/en-US.js +29 -3
- package/lib/locales/zh-CN.d.ts +26 -0
- package/lib/locales/zh-CN.js +29 -1
- package/lib/locales/zh-TW.d.ts +26 -0
- package/lib/locales/zh-TW.js +28 -1
- package/lowcode/pisell-good-pass-card/meta.ts +38 -0
- package/lowcode/pisell-good-pass-card/snippets.ts +9 -0
- package/lowcode/product-card/meta.ts +28 -0
- package/package.json +1 -1
package/es/locales/en-US.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
3
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
-
export default (_tableFilterSearch$ = {
|
|
1
|
+
export default {
|
|
7
2
|
"table-filter-search": "Search",
|
|
8
3
|
"table-filter-clear": "Clear",
|
|
9
4
|
"table-filter-filter": "Filter",
|
|
@@ -283,15 +278,53 @@ export default (_tableFilterSearch$ = {
|
|
|
283
278
|
'pisell-lowcode-navigation-menu-add-sub-menu': 'Add submenu',
|
|
284
279
|
'pisell-lowcode-navigation-menu-add-page': 'Add page',
|
|
285
280
|
'pisell-lowcode-navigation-menu-add-page-tip': 'No navigation found. Please add a submenu or page.',
|
|
281
|
+
'pisell-lowcode-navigation-menu-tag-base': "Base",
|
|
282
|
+
'pisell-lowcode-navigation-menu-tag-pisell1': "Pisell 1.0",
|
|
286
283
|
// 应用标识符
|
|
287
284
|
'pisell-data-source-form-app-identifier-pattern': 'Can only contain lowercase letters, numbers, hyphens, dots, and underscores',
|
|
288
285
|
'pisell-data-source-form-app-identifier-start-with-letter': 'Must start with a letter',
|
|
289
|
-
'pisell-data-source-form-app-identifier-special-ends': 'Cannot end with a hyphen, dot, or underscore',
|
|
290
|
-
'pisell-data-source-form-app-identifier-consecutive-special': 'Cannot contain consecutive hyphens, dots, or underscores',
|
|
291
286
|
// TODO(reilly): Added new properties to `zh-CN.ts`, so adding them here to avoid errors.
|
|
292
287
|
// Please update these translations as needed
|
|
293
288
|
'pisell-group-permissions-rule-required': 'Required',
|
|
294
289
|
'pisell-group-permissions-rule-limit': 'Maximum {{num}} characters',
|
|
295
290
|
'pisell-data-source-form-app-identifier-letters-only': 'Must start with a letter',
|
|
296
|
-
'pisell-data-source-form-app-identifier-alphanumeric': 'Can only contain letters, numbers, hyphens, dots, and underscores'
|
|
297
|
-
|
|
291
|
+
'pisell-data-source-form-app-identifier-alphanumeric': 'Can only contain letters, numbers, hyphens, dots, and underscores',
|
|
292
|
+
'pisell-data-source-form-app-identifier-special-ends': 'Cannot end with a hyphen, dot, or underscore',
|
|
293
|
+
'pisell-data-source-form-app-identifier-consecutive-special': 'Cannot contain consecutive hyphens, dots, or underscores',
|
|
294
|
+
// QR Scanner related texts
|
|
295
|
+
"qrscanner-loading": "Recognizing QR code...",
|
|
296
|
+
"qrscanner-success": "Successfully recognized: ",
|
|
297
|
+
"qrscanner-success-qrcode": "QR code successfully recognized: ",
|
|
298
|
+
"qrscanner-success-barcode": "Barcode successfully recognized: ",
|
|
299
|
+
"qrscanner-error-upload-image": "Please upload an image file",
|
|
300
|
+
"qrscanner-error-load-failed": "Failed to read file",
|
|
301
|
+
"qrscanner-error-no-code": "No QR code or barcode detected.",
|
|
302
|
+
"qrscanner-error-camera-init": "Cannot start camera. Please make sure it's authorized.",
|
|
303
|
+
"qrscanner-error-process-image": "Error processing image",
|
|
304
|
+
// 登录注册组件
|
|
305
|
+
'pisell-login-and-register-title': 'Log in to your account',
|
|
306
|
+
'pisell-login-and-register-subtitle': 'Welcome back! Please enter your details.',
|
|
307
|
+
'pisell-login-and-register-email-label': 'Email',
|
|
308
|
+
'pisell-login-and-register-email-placeholder': 'Enter your email',
|
|
309
|
+
'pisell-login-and-register-password-label': 'Password',
|
|
310
|
+
'pisell-login-and-register-password-placeholder': 'Enter your password',
|
|
311
|
+
'pisell-login-and-register-email-error': 'Please input your email!',
|
|
312
|
+
'pisell-login-and-register-email-error-valid': 'Please enter a valid email!',
|
|
313
|
+
'pisell-login-and-register-password-error': 'Please enter the correct password',
|
|
314
|
+
'pisell-login-and-register-login': 'Log in',
|
|
315
|
+
'pisell-login-and-register-google': 'Continue with Google',
|
|
316
|
+
'pisell-login-and-register-facebook': 'Continue with Facebook',
|
|
317
|
+
'pisell-login-and-register-apple': 'Continue with Apple',
|
|
318
|
+
'pisell-login-and-register-sign-up': "Don't have an account? Sign up",
|
|
319
|
+
'pisell-login-and-register-login-tab': 'Login',
|
|
320
|
+
'pisell-login-and-register-register-tab': 'Register',
|
|
321
|
+
'pisell-login-and-register-register-email-placeholder': 'Enter your email',
|
|
322
|
+
'pisell-login-and-register-register-password-placeholder': 'Create a password',
|
|
323
|
+
'pisell-login-and-register-register-button-text': 'Create account',
|
|
324
|
+
'pisell-login-and-register-remember-me': 'Remember me',
|
|
325
|
+
'pisell-login-and-register-forgot-password': 'Forgot password?',
|
|
326
|
+
// 商品券组件
|
|
327
|
+
'pisell2.text.goodpass.product-vouchers': "Product Vouchers",
|
|
328
|
+
'pisell2.text.goodpass.view-more': "View More",
|
|
329
|
+
'pisell2.text.goodpass.save': "Save"
|
|
330
|
+
};
|
package/es/locales/zh-CN.d.ts
CHANGED
|
@@ -218,6 +218,8 @@ declare const _default: {
|
|
|
218
218
|
'pisell-lowcode-navigation-menu-add-sub-menu': string;
|
|
219
219
|
'pisell-lowcode-navigation-menu-add-page': string;
|
|
220
220
|
'pisell-lowcode-navigation-menu-add-page-tip': string;
|
|
221
|
+
'pisell-lowcode-navigation-menu-tag-base': string;
|
|
222
|
+
'pisell-lowcode-navigation-menu-tag-pisell1': string;
|
|
221
223
|
'pisell-data-source-form-app-identifier-pattern': string;
|
|
222
224
|
'pisell-data-source-form-app-identifier-start-with-letter': string;
|
|
223
225
|
'pisell-data-source-form-app-identifier-special-ends': string;
|
|
@@ -231,5 +233,29 @@ declare const _default: {
|
|
|
231
233
|
"qrscanner-error-no-code": string;
|
|
232
234
|
"qrscanner-error-camera-init": string;
|
|
233
235
|
"qrscanner-error-process-image": string;
|
|
236
|
+
'pisell-login-and-register-title': string;
|
|
237
|
+
'pisell-login-and-register-subtitle': string;
|
|
238
|
+
'pisell-login-and-register-email-label': string;
|
|
239
|
+
'pisell-login-and-register-email-placeholder': string;
|
|
240
|
+
'pisell-login-and-register-password-label': string;
|
|
241
|
+
'pisell-login-and-register-password-placeholder': string;
|
|
242
|
+
'pisell-login-and-register-email-error': string;
|
|
243
|
+
'pisell-login-and-register-email-error-valid': string;
|
|
244
|
+
'pisell-login-and-register-password-error': string;
|
|
245
|
+
'pisell-login-and-register-login': string;
|
|
246
|
+
'pisell-login-and-register-google': string;
|
|
247
|
+
'pisell-login-and-register-facebook': string;
|
|
248
|
+
'pisell-login-and-register-apple': string;
|
|
249
|
+
'pisell-login-and-register-sign-up': string;
|
|
250
|
+
'pisell-login-and-register-login-tab': string;
|
|
251
|
+
'pisell-login-and-register-register-tab': string;
|
|
252
|
+
'pisell-login-and-register-register-email-placeholder': string;
|
|
253
|
+
'pisell-login-and-register-register-password-placeholder': string;
|
|
254
|
+
'pisell-login-and-register-register-button-text': string;
|
|
255
|
+
'pisell-login-and-register-remember-me': string;
|
|
256
|
+
'pisell-login-and-register-forgot-password': string;
|
|
257
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
258
|
+
'pisell2.text.goodpass.view-more': string;
|
|
259
|
+
'pisell2.text.goodpass.save': string;
|
|
234
260
|
};
|
|
235
261
|
export default _default;
|
package/es/locales/zh-CN.js
CHANGED
|
@@ -275,6 +275,8 @@ export default {
|
|
|
275
275
|
'pisell-lowcode-navigation-menu-add-sub-menu': '添加子菜单',
|
|
276
276
|
'pisell-lowcode-navigation-menu-add-page': '添加页面',
|
|
277
277
|
'pisell-lowcode-navigation-menu-add-page-tip': '没有找到导航,请添加子菜单或页面。',
|
|
278
|
+
'pisell-lowcode-navigation-menu-tag-base': "基础",
|
|
279
|
+
'pisell-lowcode-navigation-menu-tag-pisell1': "Pisell 1.0",
|
|
278
280
|
// 应用标识符
|
|
279
281
|
'pisell-data-source-form-app-identifier-pattern': '只能包含小写字母、数字、连字符、点和下划线',
|
|
280
282
|
'pisell-data-source-form-app-identifier-start-with-letter': '必须以字母开头',
|
|
@@ -289,5 +291,31 @@ export default {
|
|
|
289
291
|
"qrscanner-error-load-failed": "读取文件失败",
|
|
290
292
|
"qrscanner-error-no-code": "未检测到二维码或条形码",
|
|
291
293
|
"qrscanner-error-camera-init": "无法启动摄像头,请确保已授权",
|
|
292
|
-
"qrscanner-error-process-image": "处理图像时出错"
|
|
294
|
+
"qrscanner-error-process-image": "处理图像时出错",
|
|
295
|
+
// 登录注册组件
|
|
296
|
+
'pisell-login-and-register-title': '登录到您的账户',
|
|
297
|
+
'pisell-login-and-register-subtitle': '欢迎回来!请输入您的详细信息。',
|
|
298
|
+
'pisell-login-and-register-email-label': '邮箱',
|
|
299
|
+
'pisell-login-and-register-email-placeholder': '输入您的邮箱',
|
|
300
|
+
'pisell-login-and-register-password-label': '密码',
|
|
301
|
+
'pisell-login-and-register-password-placeholder': '输入您的密码',
|
|
302
|
+
'pisell-login-and-register-email-error': '请输入您的邮箱!',
|
|
303
|
+
'pisell-login-and-register-email-error-valid': '请输入有效的邮箱!',
|
|
304
|
+
'pisell-login-and-register-password-error': '请输入正确的密码',
|
|
305
|
+
'pisell-login-and-register-login': '登录',
|
|
306
|
+
'pisell-login-and-register-google': '继续使用Google',
|
|
307
|
+
'pisell-login-and-register-facebook': '继续使用Facebook',
|
|
308
|
+
'pisell-login-and-register-apple': '继续使用Apple',
|
|
309
|
+
'pisell-login-and-register-sign-up': "没有账户?注册",
|
|
310
|
+
'pisell-login-and-register-login-tab': '登录',
|
|
311
|
+
'pisell-login-and-register-register-tab': '注册',
|
|
312
|
+
'pisell-login-and-register-register-email-placeholder': '输入您的邮箱',
|
|
313
|
+
'pisell-login-and-register-register-password-placeholder': '创建密码',
|
|
314
|
+
'pisell-login-and-register-register-button-text': '创建账户',
|
|
315
|
+
'pisell-login-and-register-remember-me': '记住我',
|
|
316
|
+
'pisell-login-and-register-forgot-password': '忘记密码?',
|
|
317
|
+
// 商品券
|
|
318
|
+
'pisell2.text.goodpass.product-vouchers': "商品兑换券",
|
|
319
|
+
'pisell2.text.goodpass.view-more': "查看更多",
|
|
320
|
+
'pisell2.text.goodpass.save': "节省"
|
|
293
321
|
};
|
package/es/locales/zh-TW.d.ts
CHANGED
|
@@ -218,6 +218,8 @@ declare const _default: {
|
|
|
218
218
|
'pisell-lowcode-navigation-menu-add-sub-menu': string;
|
|
219
219
|
'pisell-lowcode-navigation-menu-add-page': string;
|
|
220
220
|
'pisell-lowcode-navigation-menu-add-page-tip': string;
|
|
221
|
+
'pisell-lowcode-navigation-menu-tag-base': string;
|
|
222
|
+
'pisell-lowcode-navigation-menu-tag-pisell1': string;
|
|
221
223
|
'pisell-data-source-form-app-identifier-pattern': string;
|
|
222
224
|
'pisell-data-source-form-app-identifier-start-with-letter': string;
|
|
223
225
|
'pisell-data-source-form-app-identifier-special-ends': string;
|
|
@@ -231,5 +233,29 @@ declare const _default: {
|
|
|
231
233
|
"qrscanner-error-no-code": string;
|
|
232
234
|
"qrscanner-error-camera-init": string;
|
|
233
235
|
"qrscanner-error-process-image": string;
|
|
236
|
+
'pisell-login-and-register-title': string;
|
|
237
|
+
'pisell-login-and-register-subtitle': string;
|
|
238
|
+
'pisell-login-and-register-email-label': string;
|
|
239
|
+
'pisell-login-and-register-email-placeholder': string;
|
|
240
|
+
'pisell-login-and-register-password-label': string;
|
|
241
|
+
'pisell-login-and-register-password-placeholder': string;
|
|
242
|
+
'pisell-login-and-register-email-error': string;
|
|
243
|
+
'pisell-login-and-register-email-error-valid': string;
|
|
244
|
+
'pisell-login-and-register-password-error': string;
|
|
245
|
+
'pisell-login-and-register-login': string;
|
|
246
|
+
'pisell-login-and-register-google': string;
|
|
247
|
+
'pisell-login-and-register-facebook': string;
|
|
248
|
+
'pisell-login-and-register-apple': string;
|
|
249
|
+
'pisell-login-and-register-sign-up': string;
|
|
250
|
+
'pisell-login-and-register-login-tab': string;
|
|
251
|
+
'pisell-login-and-register-register-tab': string;
|
|
252
|
+
'pisell-login-and-register-register-email-placeholder': string;
|
|
253
|
+
'pisell-login-and-register-register-password-placeholder': string;
|
|
254
|
+
'pisell-login-and-register-register-button-text': string;
|
|
255
|
+
'pisell-login-and-register-remember-me': string;
|
|
256
|
+
'pisell-login-and-register-forgot-password': string;
|
|
257
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
258
|
+
'pisell2.text.goodpass.view-more': string;
|
|
259
|
+
'pisell2.text.goodpass.save': string;
|
|
234
260
|
};
|
|
235
261
|
export default _default;
|
package/es/locales/zh-TW.js
CHANGED
|
@@ -277,6 +277,8 @@ export default {
|
|
|
277
277
|
'pisell-lowcode-navigation-menu-add-sub-menu': '添加子菜單',
|
|
278
278
|
'pisell-lowcode-navigation-menu-add-page': '添加頁面',
|
|
279
279
|
'pisell-lowcode-navigation-menu-add-page-tip': '沒有找到導航, 請添加子菜單或頁面。',
|
|
280
|
+
'pisell-lowcode-navigation-menu-tag-base': "基础",
|
|
281
|
+
'pisell-lowcode-navigation-menu-tag-pisell1': "Pisell 1.0",
|
|
280
282
|
// 应用标识符
|
|
281
283
|
'pisell-data-source-form-app-identifier-pattern': '只能包含小寫字母、數字、連字符、點和下劃線',
|
|
282
284
|
'pisell-data-source-form-app-identifier-start-with-letter': '必須以字母開頭',
|
|
@@ -291,5 +293,30 @@ export default {
|
|
|
291
293
|
"qrscanner-error-load-failed": "讀取文件失敗",
|
|
292
294
|
"qrscanner-error-no-code": "未檢測到二維碼或條形碼",
|
|
293
295
|
"qrscanner-error-camera-init": "無法啟動攝像頭,請確保已授權",
|
|
294
|
-
"qrscanner-error-process-image": "處理圖像時出錯"
|
|
296
|
+
"qrscanner-error-process-image": "處理圖像時出錯",
|
|
297
|
+
// 登录注册组件
|
|
298
|
+
'pisell-login-and-register-title': '登入到您的帳戶',
|
|
299
|
+
'pisell-login-and-register-subtitle': '歡迎回來!請輸入您的詳細信息。',
|
|
300
|
+
'pisell-login-and-register-email-label': '電子郵件',
|
|
301
|
+
'pisell-login-and-register-email-placeholder': '輸入您的電子郵件',
|
|
302
|
+
'pisell-login-and-register-password-label': '密碼',
|
|
303
|
+
'pisell-login-and-register-password-placeholder': '輸入您的密碼',
|
|
304
|
+
'pisell-login-and-register-email-error': '請輸入您的電子郵件!',
|
|
305
|
+
'pisell-login-and-register-email-error-valid': '請輸入有效的電子郵件!',
|
|
306
|
+
'pisell-login-and-register-password-error': '請輸入正確的密碼',
|
|
307
|
+
'pisell-login-and-register-login': '登入',
|
|
308
|
+
'pisell-login-and-register-google': '繼續使用Google',
|
|
309
|
+
'pisell-login-and-register-facebook': '繼續使用Facebook',
|
|
310
|
+
'pisell-login-and-register-apple': '繼續使用Apple',
|
|
311
|
+
'pisell-login-and-register-sign-up': "沒有帳戶?註冊",
|
|
312
|
+
'pisell-login-and-register-login-tab': '登入',
|
|
313
|
+
'pisell-login-and-register-register-tab': '註冊',
|
|
314
|
+
'pisell-login-and-register-register-email-placeholder': '輸入您的電子郵件',
|
|
315
|
+
'pisell-login-and-register-register-password-placeholder': '創建密碼',
|
|
316
|
+
'pisell-login-and-register-register-button-text': '創建帳戶',
|
|
317
|
+
'pisell-login-and-register-remember-me': '記住我',
|
|
318
|
+
'pisell-login-and-register-forgot-password': '忘記密碼?',
|
|
319
|
+
'pisell2.text.goodpass.product-vouchers': "商品兌換券",
|
|
320
|
+
'pisell2.text.goodpass.view-more': "查看更多",
|
|
321
|
+
'pisell2.text.goodpass.save': "節省"
|
|
295
322
|
};
|
|
@@ -5,7 +5,7 @@ export declare const paginationConfig: {
|
|
|
5
5
|
className: string;
|
|
6
6
|
defaultCurrent: number;
|
|
7
7
|
showTotal: (total: number, range: [number, number]) => string;
|
|
8
|
-
itemRender: (page: number, type: "
|
|
8
|
+
itemRender: (page: number, type: "page" | "next" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
|
|
9
9
|
responsive: boolean;
|
|
10
10
|
size: string;
|
|
11
11
|
};
|
|
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
|
|
|
43
43
|
}) => JSX.Element;
|
|
44
44
|
export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
|
|
45
45
|
options?: any;
|
|
46
|
-
optionSourceType?: "
|
|
46
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
47
47
|
labelField: string;
|
|
48
48
|
valueField: string;
|
|
49
49
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PisellMenuProps } from '../../pisellMenu/types';
|
|
3
|
+
/**
|
|
4
|
+
* @title: 数据源表单组件
|
|
5
|
+
* @description: 基于数据源动态生成表单,支持编辑、查看、禁用三种模式
|
|
6
|
+
*/
|
|
7
|
+
declare const DataSourceMenu: React.ForwardRefExoticComponent<PisellMenuProps & React.RefAttributes<any>>;
|
|
8
|
+
export default DataSourceMenu;
|
|
@@ -37,7 +37,7 @@ var import_useEngineContext = __toESM(require("../../../hooks/useEngineContext")
|
|
|
37
37
|
var import_pisellMenu = __toESM(require("../../pisellMenu"));
|
|
38
38
|
var DataSourceMenu = (0, import_react.forwardRef)(
|
|
39
39
|
(props, ref) => {
|
|
40
|
-
var _a, _b, _c, _d;
|
|
40
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
41
41
|
const { appHelper } = (0, import_useEngineContext.default)();
|
|
42
42
|
const {
|
|
43
43
|
menuItems,
|
|
@@ -47,6 +47,15 @@ var DataSourceMenu = (0, import_react.forwardRef)(
|
|
|
47
47
|
getShowChildren,
|
|
48
48
|
handleClick
|
|
49
49
|
} = (_d = (_c = (_b = (_a = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _a.getApp) == null ? void 0 : _b.call(_a)) == null ? void 0 : _c.menuManager) == null ? void 0 : _d.useMenu();
|
|
50
|
+
const translation = ((_h = (_g = (_f = (_e = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _e.getApp) == null ? void 0 : _f.call(_e)) == null ? void 0 : _g.locales) == null ? void 0 : _h.translation) || ((str) => {
|
|
51
|
+
if (!str) {
|
|
52
|
+
return "";
|
|
53
|
+
}
|
|
54
|
+
if (typeof str === "string") {
|
|
55
|
+
return str;
|
|
56
|
+
}
|
|
57
|
+
return JSON.stringify(str);
|
|
58
|
+
});
|
|
50
59
|
const renderMenuItems = (items) => {
|
|
51
60
|
return items.map((item) => {
|
|
52
61
|
if (item.hide) {
|
|
@@ -58,14 +67,14 @@ var DataSourceMenu = (0, import_react.forwardRef)(
|
|
|
58
67
|
import_pisellMenu.default.SubMenu,
|
|
59
68
|
{
|
|
60
69
|
key: item.key,
|
|
61
|
-
title: item.label,
|
|
70
|
+
title: translation(item.label),
|
|
62
71
|
icon: item.icon,
|
|
63
72
|
router: item.path
|
|
64
73
|
},
|
|
65
74
|
renderMenuItems(_children)
|
|
66
75
|
);
|
|
67
76
|
}
|
|
68
|
-
return /* @__PURE__ */ import_react.default.createElement(import_pisellMenu.default.Item, { key: item.key, icon: item.icon, router: item.path }, item.label);
|
|
77
|
+
return /* @__PURE__ */ import_react.default.createElement(import_pisellMenu.default.Item, { key: item.key, icon: item.icon, router: item.path }, translation(item.label));
|
|
69
78
|
});
|
|
70
79
|
};
|
|
71
80
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PisellMenuProps } from '../../pisellMenu/types';
|
|
3
|
+
/**
|
|
4
|
+
* @title: 数据源表单组件
|
|
5
|
+
* @description: 基于数据源动态生成表单,支持编辑、查看、禁用三种模式
|
|
6
|
+
*/
|
|
7
|
+
declare const DataSourceMenu: (props: PisellMenuProps, ref: React.Ref<any>) => JSX.Element;
|
|
8
|
+
export default DataSourceMenu;
|
|
@@ -70,7 +70,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
70
70
|
useCustomAction: boolean;
|
|
71
71
|
actionType: string;
|
|
72
72
|
openMode: "modal" | "drawer";
|
|
73
|
-
openContentSize: "small" | "
|
|
73
|
+
openContentSize: "small" | "large" | "middle";
|
|
74
74
|
openTitle: string;
|
|
75
75
|
key: string;
|
|
76
76
|
} | undefined;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
declare const Subdomain: React.FC<import("antd").InputProps & {
|
|
3
3
|
onChange: (value: string) => void;
|
|
4
4
|
onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
5
|
-
rootDomain: "custom" | "
|
|
5
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
6
6
|
customDomain?: string | undefined;
|
|
7
7
|
value?: string | undefined;
|
|
8
8
|
tenantId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
3
3
|
options?: any;
|
|
4
|
-
optionSourceType?: "
|
|
4
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
5
5
|
labelField: string;
|
|
6
6
|
valueField: string;
|
|
7
7
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -20,7 +20,7 @@ declare const formFieldMap: {
|
|
|
20
20
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
21
21
|
onChange: (value: string) => void;
|
|
22
22
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
23
|
-
rootDomain: "custom" | "
|
|
23
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
24
24
|
customDomain?: string | undefined;
|
|
25
25
|
value?: string | undefined;
|
|
26
26
|
tenantId: string;
|
|
@@ -35,7 +35,7 @@ declare const formFieldMap: {
|
|
|
35
35
|
};
|
|
36
36
|
FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
37
37
|
options?: any;
|
|
38
|
-
optionSourceType?: "
|
|
38
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
39
39
|
labelField: string;
|
|
40
40
|
valueField: string;
|
|
41
41
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -60,13 +60,11 @@ declare const formFieldMap: {
|
|
|
60
60
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
61
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
62
62
|
};
|
|
63
|
-
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./
|
|
63
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
64
64
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
65
65
|
} & {
|
|
66
66
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
67
|
-
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("
|
|
68
|
-
onChange: (value: string) => void;
|
|
69
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
67
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
70
68
|
JSON: import("react").FC<any>;
|
|
71
69
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
72
70
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
@@ -79,24 +77,26 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
79
77
|
Subdomain: import("react").FC<import("antd").InputProps & {
|
|
80
78
|
onChange: (value: string) => void;
|
|
81
79
|
onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
82
|
-
rootDomain: "custom" | "
|
|
80
|
+
rootDomain: "custom" | "xzero" | "saas";
|
|
83
81
|
customDomain?: string | undefined;
|
|
84
82
|
value?: string | undefined;
|
|
85
83
|
tenantId: string;
|
|
86
84
|
name?: string | undefined;
|
|
87
85
|
fieldKey?: string | undefined;
|
|
88
86
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
89
|
-
}) |
|
|
87
|
+
}) | (import("react").FC<{}> & {
|
|
90
88
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
91
89
|
} & {
|
|
92
90
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
93
91
|
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
94
92
|
options?: any;
|
|
95
|
-
optionSourceType?: "
|
|
93
|
+
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
96
94
|
labelField: string;
|
|
97
95
|
valueField: string;
|
|
98
96
|
extraParams?: Record<string, any> | undefined;
|
|
99
97
|
} & {
|
|
100
98
|
dataSource?: any;
|
|
101
|
-
}) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./
|
|
99
|
+
}) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
100
|
+
onChange: (value: string) => void;
|
|
101
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
102
102
|
export { getFieldComponent, formFieldMap };
|
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(iconfont_exports);
|
|
|
35
35
|
var import_icons = require("@ant-design/icons");
|
|
36
36
|
var import_react = __toESM(require("react"));
|
|
37
37
|
var MyIcon = (0, import_icons.createFromIconfontCN)({
|
|
38
|
-
scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.
|
|
38
|
+
scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.4.js"
|
|
39
39
|
// 在 iconfont.cn 上生成
|
|
40
40
|
});
|
|
41
41
|
var IconFont = (props) => {
|
|
@@ -35,49 +35,50 @@ module.exports = __toCommonJS(login_and_register_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_icons = require("@ant-design/icons");
|
|
38
|
+
var import_locales = require("../../locales/index");
|
|
38
39
|
var import_index = require("./index.less");
|
|
39
40
|
var loginAndRegister = ({
|
|
40
41
|
showLogo = true,
|
|
41
42
|
logo,
|
|
42
43
|
logoPosition = "center",
|
|
43
44
|
logoSize = { width: 48, height: 48 },
|
|
44
|
-
title = "Log in to your account",
|
|
45
|
+
title = (0, import_locales.getText)("Log in to your account"),
|
|
45
46
|
showTitle = false,
|
|
46
47
|
titleAlign = "center",
|
|
47
|
-
subtitle =
|
|
48
|
+
subtitle = (0, import_locales.getText)("pisell-login-and-register-subtit"),
|
|
48
49
|
showSubtitle = false,
|
|
49
50
|
subtitleAlign = "center",
|
|
50
51
|
loginMethods = ["email", "google", "facebook", "apple"],
|
|
51
52
|
defaultLoginMethod = "email",
|
|
52
|
-
emailLabel = "
|
|
53
|
-
passwordLabel = "
|
|
54
|
-
emailPlaceholder = "
|
|
55
|
-
passwordPlaceholder = "
|
|
53
|
+
emailLabel = (0, import_locales.getText)("pisell-login-and-register-email-label"),
|
|
54
|
+
passwordLabel = (0, import_locales.getText)("pisell-login-and-register-password-label"),
|
|
55
|
+
emailPlaceholder = (0, import_locales.getText)("pisell-login-and-register-email-placeholder"),
|
|
56
|
+
passwordPlaceholder = (0, import_locales.getText)("pisell-login-and-register-password-placeholder"),
|
|
56
57
|
emailRules = [
|
|
57
|
-
{ required: true, message: "
|
|
58
|
-
{ type: "email", message: "
|
|
58
|
+
{ required: true, message: (0, import_locales.getText)("pisell-login-and-register-email-error") },
|
|
59
|
+
{ type: "email", message: (0, import_locales.getText)("pisell-login-and-register-email-error-valid") }
|
|
59
60
|
],
|
|
60
|
-
buttonText = "Log in",
|
|
61
|
+
buttonText = (0, import_locales.getText)("Log in"),
|
|
61
62
|
socialLoginTexts = {
|
|
62
|
-
google:
|
|
63
|
-
facebook:
|
|
64
|
-
apple:
|
|
63
|
+
google: (0, import_locales.getText)("pisell-login-and-register-google"),
|
|
64
|
+
facebook: (0, import_locales.getText)("pisell-login-and-register-facebook"),
|
|
65
|
+
apple: (0, import_locales.getText)("pisell-login-and-register-apple")
|
|
65
66
|
},
|
|
66
67
|
showFooter = true,
|
|
67
68
|
showSignUp = true,
|
|
68
|
-
signUpText = "
|
|
69
|
+
signUpText = (0, import_locales.getText)("pisell-login-and-register-sign-up"),
|
|
69
70
|
signUpLink = "",
|
|
70
71
|
signUpPosition = "center",
|
|
71
72
|
otherLinks = [],
|
|
72
73
|
otherLinksPosition = "center",
|
|
73
74
|
showTabs = true,
|
|
74
|
-
loginTabText = "
|
|
75
|
-
registerTabText = "
|
|
76
|
-
registerEmailPlaceholder = "
|
|
77
|
-
registerPasswordPlaceholder = "
|
|
78
|
-
registerButtonText =
|
|
79
|
-
rememberMeText = "
|
|
80
|
-
forgotPasswordText = "
|
|
75
|
+
loginTabText = (0, import_locales.getText)("pisell-login-and-register-login-tab"),
|
|
76
|
+
registerTabText = (0, import_locales.getText)("pisell-login-and-register-register-tab"),
|
|
77
|
+
registerEmailPlaceholder = (0, import_locales.getText)("pisell-login-and-register-register-email-placeholder"),
|
|
78
|
+
registerPasswordPlaceholder = (0, import_locales.getText)("pisell-login-and-register-register-password-placeholder"),
|
|
79
|
+
registerButtonText = (0, import_locales.getText)("pisell-login-and-register-register-button-text"),
|
|
80
|
+
rememberMeText = (0, import_locales.getText)("pisell-login-and-register-remember-me"),
|
|
81
|
+
forgotPasswordText = (0, import_locales.getText)("pisell-login-and-register-forgot-password"),
|
|
81
82
|
showRememberMe = false,
|
|
82
83
|
showForgotPassword = false,
|
|
83
84
|
onLogin,
|
|
@@ -117,6 +118,7 @@ var loginAndRegister = ({
|
|
|
117
118
|
setLoading(false);
|
|
118
119
|
}
|
|
119
120
|
};
|
|
121
|
+
console.log(registerButtonText, "registerButtonText");
|
|
120
122
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-login-main" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "saas-login-container" }, showLogo && /* @__PURE__ */ import_react.default.createElement(
|
|
121
123
|
"div",
|
|
122
124
|
{
|
|
@@ -177,7 +179,7 @@ var loginAndRegister = ({
|
|
|
177
179
|
onClick: handleEmailLogin,
|
|
178
180
|
className: "saas-login-button"
|
|
179
181
|
},
|
|
180
|
-
|
|
182
|
+
(0, import_locales.getText)("pisell-login-and-register-login")
|
|
181
183
|
)) : /* @__PURE__ */ import_react.default.createElement(import_antd.Form, { form }, /* @__PURE__ */ import_react.default.createElement(
|
|
182
184
|
import_antd.Form.Item,
|
|
183
185
|
{
|