@pisell/materials 1.0.830 → 1.0.831

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 (145) 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 +1 -1
  6. package/build/lowcode/render/default/view.js +3 -3
  7. package/build/lowcode/view.js +3 -3
  8. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  9. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  10. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +32 -0
  12. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  13. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  14. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  15. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  16. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  17. package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
  18. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  19. package/es/components/image/index.d.ts +10 -0
  20. package/es/components/list/index.d.ts +1 -0
  21. package/es/components/lowCodePage/index.d.ts +1 -0
  22. package/es/components/pisellAvatar/index.d.ts +19 -0
  23. package/es/components/pisellCardList/index.d.ts +73 -0
  24. package/es/components/pisellDraggable/index.js +38 -5
  25. package/es/components/pisellDropSort/PisellDropSort.js +4 -2
  26. package/es/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +4 -0
  27. package/es/components/pisellInformationEntry/index.d.ts +33 -0
  28. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  29. package/es/components/pisellLoading/index.d.ts +1 -0
  30. package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +19 -4
  31. package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  32. package/es/components/productCard/components/Header/index.d.ts +1 -0
  33. package/es/components/productCard/components/Note/index.d.ts +1 -0
  34. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  35. package/es/components/productCard/components/Sales/index.d.ts +1 -0
  36. package/es/components/productCard/locales.d.ts +81 -0
  37. package/es/components/productCard/status.d.ts +32 -0
  38. package/es/components/qrcode/index.d.ts +1 -0
  39. package/es/components/table/BasicTable/index.d.ts +1 -0
  40. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  41. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  42. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  43. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  44. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  45. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  46. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  47. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  48. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  49. package/es/components/table/View/index.d.ts +1 -0
  50. package/es/components/walletCard/Guest/index.d.ts +4 -0
  51. package/es/components/walletCard/Guide/index.d.ts +4 -0
  52. package/es/components/walletCard/index.js +2 -2
  53. package/es/locales/en-US.js +1 -1
  54. package/es/locales/zh-CN.js +1 -1
  55. package/es/locales/zh-TW.js +1 -0
  56. package/es/utils/index.d.ts +1 -1
  57. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  58. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  59. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  60. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +32 -0
  61. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  62. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  63. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  64. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  65. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  66. package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
  67. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  68. package/lib/components/image/index.d.ts +10 -0
  69. package/lib/components/list/index.d.ts +1 -0
  70. package/lib/components/lowCodePage/index.d.ts +1 -0
  71. package/lib/components/pisellAvatar/index.d.ts +19 -0
  72. package/lib/components/pisellCardList/index.d.ts +73 -0
  73. package/lib/components/pisellDraggable/index.js +18 -1
  74. package/lib/components/pisellDropSort/PisellDropSort.js +4 -2
  75. package/lib/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +4 -0
  76. package/lib/components/pisellInformationEntry/index.d.ts +33 -0
  77. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  78. package/lib/components/pisellLoading/index.d.ts +1 -0
  79. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.js +19 -4
  80. package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  81. package/lib/components/productCard/components/Header/index.d.ts +1 -0
  82. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  83. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  84. package/lib/components/productCard/components/Sales/index.d.ts +1 -0
  85. package/lib/components/productCard/locales.d.ts +81 -0
  86. package/lib/components/productCard/status.d.ts +32 -0
  87. package/lib/components/qrcode/index.d.ts +1 -0
  88. package/lib/components/table/BasicTable/index.d.ts +1 -0
  89. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  90. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  91. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  92. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  93. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  94. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  95. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  96. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  97. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  98. package/lib/components/table/View/index.d.ts +1 -0
  99. package/lib/components/walletCard/Guest/index.d.ts +4 -0
  100. package/lib/components/walletCard/Guide/index.d.ts +4 -0
  101. package/lib/components/walletCard/index.js +4 -2
  102. package/lib/locales/en-US.js +1 -0
  103. package/lib/locales/zh-CN.js +1 -0
  104. package/lib/locales/zh-TW.js +1 -0
  105. package/lib/utils/index.d.ts +1 -1
  106. package/lowcode/pisell-navigation-menu/meta.ts +12 -0
  107. package/package.json +3 -3
  108. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  109. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  110. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -16
  111. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  112. package/es/components/pisellDraggable/index.d.ts +0 -32
  113. package/es/components/pisellDropSort/PisellDropSort.d.ts +0 -5
  114. package/es/components/pisellDropSort/types.d.ts +0 -52
  115. package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  116. package/es/components/pisellNavigationMenu/types.d.ts +0 -64
  117. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -3
  118. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  119. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  120. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  121. package/es/components/table/Gallery/index.d.ts +0 -5
  122. package/es/components/table/Table/utils.d.ts +0 -173
  123. package/es/components/table/hooks/useTableSetting.d.ts +0 -22
  124. package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
  125. package/es/components/walletCard/index.d.ts +0 -67
  126. package/es/index.d.ts +0 -142
  127. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  128. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  129. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -16
  130. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  131. package/lib/components/pisellDraggable/index.d.ts +0 -32
  132. package/lib/components/pisellDropSort/PisellDropSort.d.ts +0 -5
  133. package/lib/components/pisellDropSort/types.d.ts +0 -52
  134. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  135. package/lib/components/pisellNavigationMenu/types.d.ts +0 -64
  136. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -3
  137. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  138. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  139. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  140. package/lib/components/table/Gallery/index.d.ts +0 -5
  141. package/lib/components/table/Table/utils.d.ts +0 -173
  142. package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
  143. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
  144. package/lib/components/walletCard/index.d.ts +0 -67
  145. package/lib/index.d.ts +0 -142
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: any;
3
- vertical: any;
2
+ horizontal: number;
3
+ vertical: number;
4
4
  };
5
5
  export default useGapSize;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
3
4
  export default SortRow;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewProps } from '../types';
2
3
  declare const View: (props: GridViewProps & {
3
4
  setTableSetting: (values: Record<string, any>) => void;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Guest: (props: any) => JSX.Element;
4
+ export default Guest;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const Guide: (props: any) => JSX.Element;
4
+ export default Guide;
@@ -357,7 +357,7 @@ var WalletCard = function WalletCard(props) {
357
357
  } else {
358
358
  var _props$walletGuideCon;
359
359
  // 如果游客和引导页设置了背景色,则不展示背景图
360
- if (props !== null && props !== void 0 && (_props$walletGuideCon = props.walletGuideConfig) !== null && _props$walletGuideCon !== void 0 && _props$walletGuideCon.backgroundColor || props !== null && props !== void 0 && props.backgroundColor) {
360
+ if (props !== null && props !== void 0 && (_props$walletGuideCon = props.walletGuideConfig) !== null && _props$walletGuideCon !== void 0 && _props$walletGuideCon.backgroundColor && isGuide || props !== null && props !== void 0 && props.backgroundColor && !isLogin) {
361
361
  return {
362
362
  backgroundImage: 'none'
363
363
  };
@@ -366,7 +366,7 @@ var WalletCard = function WalletCard(props) {
366
366
  backgroundImage: "url(https://file.mypisell-dev.com/pisel/image/9/".concat(mode === 'dark' ? '3d039c83ff5b84fadafb8a23c33d6cc42025_02_26_00_42_53_288_08413160975__720_456__' : '61dcbe950c9451164a6bb1d17d5bc5f02025_02_26_00_43_42_741_04853453608__720_456__', ".png)")
367
367
  };
368
368
  }
369
- }, [props.customBackgroundImage, mode, props === null || props === void 0 || (_props$walletGuideCon2 = props.walletGuideConfig) === null || _props$walletGuideCon2 === void 0 ? void 0 : _props$walletGuideCon2.backgroundColor, props === null || props === void 0 ? void 0 : props.backgroundColor]);
369
+ }, [props.customBackgroundImage, mode, props === null || props === void 0 || (_props$walletGuideCon2 = props.walletGuideConfig) === null || _props$walletGuideCon2 === void 0 ? void 0 : _props$walletGuideCon2.backgroundColor, props === null || props === void 0 ? void 0 : props.backgroundColor, isLogin, isGuide]);
370
370
  var goWallet = function goWallet() {
371
371
  // 未开启任何一个wallet pass展示,则不跳转
372
372
  if (!(items !== null && items !== void 0 && items.length)) {
@@ -273,4 +273,4 @@ export default (_tableFilterSearch$ = {
273
273
  'pisell-icon-select-select': 'Select icon'
274
274
  }, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, "subdomain-error-too-short", 'Subdomain must be at least 2 characters long'), "subdomain-error-too-long", 'Subdomain cannot exceed 60 characters'), "subdomain-error-pattern", 'Subdomain can only contain lowercase letters, numbers and hyphens'), "subdomain-error-numbers-only", 'Subdomain cannot contain only numbers'), "subdomain-error-hyphen-ends", 'Subdomain cannot start or end with a hyphen'), "subdomain-error-consecutive-hyphens", 'Subdomain cannot contain consecutive hyphens'), "subdomain-error-required", 'Please enter subdomain'), 'pisell-lowcode-app-version-control-live', 'Live'), 'pisell-lowcode-app-version-control-draft', 'Draft'), 'pisell-lowcode-app-version-control-deprecated', 'Deprecated'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-new-version', 'New version'), 'pisell-lowcode-app-version-control-promote-to-live', 'Promote to live'), 'pisell-lowcode-app-version-control-promote-version', function pisellLowcodeAppVersionControlPromoteVersion(version) {
275
275
  return "Promote version ".concat(version || "", "?");
276
- }), 'pisell-lowcode-app-version-control-promote-version-describe', 'Are you sure you want to promote this version?'), 'pisell-lowcode-app-version-control-promote-version-ok', 'Promote'), 'pisell-lowcode-app-version-control-promote-version-cancel', 'Cancel'), 'pisell-lowcode-app-version-control-version-exists', 'Version already exists'), 'pisell-lowcode-app-version-control-version-create-title', "Create new version"), 'pisell-lowcode-drop-sort-add', 'Add'), 'pisell-lowcode-navigation-menu-add-sub-menu', 'Add submenu'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-page', 'Add page'), 'pisell-lowcode-navigation-menu-add-page-tip', 'No navigation found. Please add a submenu or page.'), 'pisell-lowcode-navigation-menu-tag-base', "Base"), 'pisell-lowcode-navigation-menu-tag-pisell1', "Pisell 1.0"), 'pisell-data-source-form-app-identifier-pattern', 'Can only contain lowercase letters, numbers, hyphens, dots, and underscores'), 'pisell-data-source-form-app-identifier-start-with-letter', 'Must start with a letter'), 'pisell-group-permissions-rule-required', 'Required'), 'pisell-group-permissions-rule-limit', 'Maximum {{num}} characters'), 'pisell-data-source-form-app-identifier-letters-only', 'Must start with a letter'), 'pisell-data-source-form-app-identifier-alphanumeric', 'Can only contain letters, numbers, hyphens, dots, and underscores'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-special-ends', 'Cannot end with a hyphen, dot, or underscore'), 'pisell-data-source-form-app-identifier-consecutive-special', 'Cannot contain consecutive hyphens, dots, or underscores'), "qrscanner-loading", "Recognizing QR code..."), "qrscanner-success", "Successfully recognized: "), "qrscanner-success-qrcode", "QR code successfully recognized: "), "qrscanner-success-barcode", "Barcode successfully recognized: "), "qrscanner-error-upload-image", "Please upload an image file"), "qrscanner-error-load-failed", "Failed to read file"), "qrscanner-error-no-code", "No QR code or barcode detected."), "qrscanner-error-camera-init", "Cannot start camera. Please make sure it's authorized."), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, "qrscanner-error-process-image", "Error processing image"), 'pisell-login-and-register-title', 'Log in to your account'), 'pisell-login-and-register-subtitle', 'Welcome back! Please enter your details.'), 'pisell-login-and-register-email-label', 'Email'), 'pisell-login-and-register-email-placeholder', 'Enter your email'), 'pisell-login-and-register-password-label', 'Password'), 'pisell-login-and-register-password-placeholder', 'Enter your password'), 'pisell-login-and-register-email-error', 'Please input your email!'), 'pisell-login-and-register-email-error-valid', 'Please enter a valid email!'), 'pisell-login-and-register-password-error', 'Please enter the correct password'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-login-and-register-login', 'Log in'), 'pisell-login-and-register-google', 'Continue with Google'), 'pisell-login-and-register-facebook', 'Continue with Facebook'), 'pisell-login-and-register-apple', 'Continue with Apple'), 'pisell-login-and-register-sign-up', "Don't have an account? Sign up"), 'pisell-login-and-register-login-tab', 'Login'), 'pisell-login-and-register-register-tab', 'Register'), 'pisell-login-and-register-register-email-placeholder', 'Enter your email'), 'pisell-login-and-register-register-password-placeholder', 'Create a password'), 'pisell-login-and-register-register-button-text', 'Create account'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-login-and-register-remember-me', 'Remember me'), 'pisell-login-and-register-forgot-password', 'Forgot password?'), 'pisell-login-and-register-register-password-error', "Please input your password!"), 'pisell-login-and-register-register-password-error-valid', "Password must be at least 6 characters!"), 'pisell2.text.goodpass.product-vouchers', "Promotions & Vouchers"), 'pisell2.text.goodpass.last-settlement', "(Last payment)"), 'pisell2.text.goodpass.view-more', "View More"), 'pisell2.text.goodpass.save', "Save"), 'pisell2.text.hardware-error.fatal', "Fatal"), 'pisell2.text.hardware-error.critical', "Critical"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.normal', "Normal"), 'pisell2.text.hardware-error.info', "Info"), 'pisell2.text.hardware-error.error-center', "Error Center"), 'pisell2.text.hardware-error.error-list', "Error List"), 'pisell2.text.hardware-error.error-code', "Error Code"), 'pisell2.text.hardware-error.time', "Time"), 'pisell2.text.hardware-error.error-description', "Error Description"), 'pisell2.text.hardware-error.solution', "Solution"), 'pisell2.text.hardware-error.info-number', "Info Number"), 'pisell2.text.hardware-error.tip-content', "Tip Content"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.device.all', "All Devices"), 'pisell2.text.hardware-error.device.printer', "Printer"), 'pisell2.text.hardware-error.device.barcode-scanner', "Barcode Scanner"), 'pisell2.text.hardware-error.device.cds', "CDS"), 'pisell2.text.hardware-error.device.kds', "KDS"), 'pisell2.text.hardware-error.device.display', "Display"), 'pisell2.text.hardware-error.device.card-reader', "Card Reader"), 'pisell2.text.hardware-error.device.till', "Till"), 'pisell2.text.hardware-error.device.scale', "Scale"), 'pisell2.text.hardware-error.error-logs', "Error Logs"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.all-devices', "All Devices"), 'pisell2.text.hardware-error.all-levels', "All Levels"), 'pisell2.text.hardware-error.debug-info', "Debug Info"), 'pisell2.text.hardware-error.important-info', "Important Operation Info"), 'pisell2.text.hardware-error.error-info', "Error Info"), 'pisell2.text.hardware-error.search-logs', "Search logs..."), 'pisell2.text.hardware-error.export-logs', "Export Logs"), 'pisell2.text.hardware-error.no-errors', "No error information"), 'pisell2.text.hardware-error.no-logs', "No log records"));
276
+ }), 'pisell-lowcode-app-version-control-promote-version-describe', 'Are you sure you want to promote this version?'), 'pisell-lowcode-app-version-control-promote-version-ok', 'Promote'), 'pisell-lowcode-app-version-control-promote-version-cancel', 'Cancel'), 'pisell-lowcode-app-version-control-version-exists', 'Version already exists'), 'pisell-lowcode-app-version-control-version-create-title', "Create new version"), 'pisell-lowcode-drop-sort-add', 'Add'), 'pisell-lowcode-navigation-menu-add-sub-menu', 'Add submenu'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-page', 'Add page'), 'pisell-lowcode-navigation-menu-add-page-tip', 'No navigation found. Please add a submenu or page.'), 'pisell-lowcode-navigation-menu-tag-base', "Base"), 'pisell-lowcode-navigation-menu-tag-proCode', "Pro code"), 'pisell-lowcode-navigation-menu-tag-pisell1', "Pisell 1.0"), 'pisell-data-source-form-app-identifier-pattern', 'Can only contain lowercase letters, numbers, hyphens, dots, and underscores'), 'pisell-data-source-form-app-identifier-start-with-letter', 'Must start with a letter'), 'pisell-group-permissions-rule-required', 'Required'), 'pisell-group-permissions-rule-limit', 'Maximum {{num}} characters'), 'pisell-data-source-form-app-identifier-letters-only', 'Must start with a letter'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-alphanumeric', 'Can only contain letters, numbers, hyphens, dots, and underscores'), 'pisell-data-source-form-app-identifier-special-ends', 'Cannot end with a hyphen, dot, or underscore'), 'pisell-data-source-form-app-identifier-consecutive-special', 'Cannot contain consecutive hyphens, dots, or underscores'), "qrscanner-loading", "Recognizing QR code..."), "qrscanner-success", "Successfully recognized: "), "qrscanner-success-qrcode", "QR code successfully recognized: "), "qrscanner-success-barcode", "Barcode successfully recognized: "), "qrscanner-error-upload-image", "Please upload an image file"), "qrscanner-error-load-failed", "Failed to read file"), "qrscanner-error-no-code", "No QR code or barcode detected."), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, "qrscanner-error-camera-init", "Cannot start camera. Please make sure it's authorized."), "qrscanner-error-process-image", "Error processing image"), 'pisell-login-and-register-title', 'Log in to your account'), 'pisell-login-and-register-subtitle', 'Welcome back! Please enter your details.'), 'pisell-login-and-register-email-label', 'Email'), 'pisell-login-and-register-email-placeholder', 'Enter your email'), 'pisell-login-and-register-password-label', 'Password'), 'pisell-login-and-register-password-placeholder', 'Enter your password'), 'pisell-login-and-register-email-error', 'Please input your email!'), 'pisell-login-and-register-email-error-valid', 'Please enter a valid email!'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-login-and-register-password-error', 'Please enter the correct password'), 'pisell-login-and-register-login', 'Log in'), 'pisell-login-and-register-google', 'Continue with Google'), 'pisell-login-and-register-facebook', 'Continue with Facebook'), 'pisell-login-and-register-apple', 'Continue with Apple'), 'pisell-login-and-register-sign-up', "Don't have an account? Sign up"), 'pisell-login-and-register-login-tab', 'Login'), 'pisell-login-and-register-register-tab', 'Register'), 'pisell-login-and-register-register-email-placeholder', 'Enter your email'), 'pisell-login-and-register-register-password-placeholder', 'Create a password'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-login-and-register-register-button-text', 'Create account'), 'pisell-login-and-register-remember-me', 'Remember me'), 'pisell-login-and-register-forgot-password', 'Forgot password?'), 'pisell-login-and-register-register-password-error', "Please input your password!"), 'pisell-login-and-register-register-password-error-valid', "Password must be at least 6 characters!"), 'pisell2.text.goodpass.product-vouchers', "Promotions & Vouchers"), 'pisell2.text.goodpass.last-settlement', "(Last payment)"), 'pisell2.text.goodpass.view-more', "View More"), 'pisell2.text.goodpass.save', "Save"), 'pisell2.text.hardware-error.fatal', "Fatal"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.critical', "Critical"), 'pisell2.text.hardware-error.normal', "Normal"), 'pisell2.text.hardware-error.info', "Info"), 'pisell2.text.hardware-error.error-center', "Error Center"), 'pisell2.text.hardware-error.error-list', "Error List"), 'pisell2.text.hardware-error.error-code', "Error Code"), 'pisell2.text.hardware-error.time', "Time"), 'pisell2.text.hardware-error.error-description', "Error Description"), 'pisell2.text.hardware-error.solution', "Solution"), 'pisell2.text.hardware-error.info-number', "Info Number"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.tip-content', "Tip Content"), 'pisell2.text.hardware-error.device.all', "All Devices"), 'pisell2.text.hardware-error.device.printer', "Printer"), 'pisell2.text.hardware-error.device.barcode-scanner', "Barcode Scanner"), 'pisell2.text.hardware-error.device.cds', "CDS"), 'pisell2.text.hardware-error.device.kds', "KDS"), 'pisell2.text.hardware-error.device.display', "Display"), 'pisell2.text.hardware-error.device.card-reader', "Card Reader"), 'pisell2.text.hardware-error.device.till', "Till"), 'pisell2.text.hardware-error.device.scale', "Scale"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.error-logs', "Error Logs"), 'pisell2.text.hardware-error.all-devices', "All Devices"), 'pisell2.text.hardware-error.all-levels', "All Levels"), 'pisell2.text.hardware-error.debug-info', "Debug Info"), 'pisell2.text.hardware-error.important-info', "Important Operation Info"), 'pisell2.text.hardware-error.error-info', "Error Info"), 'pisell2.text.hardware-error.search-logs', "Search logs..."), 'pisell2.text.hardware-error.export-logs', "Export Logs"), 'pisell2.text.hardware-error.no-errors', "No error information"), 'pisell2.text.hardware-error.no-logs', "No log records"));
@@ -270,4 +270,4 @@ export default (_tableFilterSearch$ = {
270
270
  'pisell-icon-select-select': '选择图标'
271
271
  }, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, "subdomain-error-too-short", '子域名长度不能小于2个字符'), "subdomain-error-too-long", '子域名长度不能超过60个字符'), "subdomain-error-pattern", '子域名只能包含小写字母、数字和连字符'), "subdomain-error-numbers-only", '子域名不能全为数字'), "subdomain-error-hyphen-ends", '子域名不能以连字符开头或结尾'), "subdomain-error-consecutive-hyphens", '子域名不能包含连续的连字符'), 'pisell-lowcode-app-version-control-live', '正式版'), 'pisell-lowcode-app-version-control-draft', '草稿'), 'pisell-lowcode-app-version-control-deprecated', '已废弃'), 'pisell-lowcode-app-version-control-new-version', '新版本'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-to-live', '发布正式版'), 'pisell-lowcode-app-version-control-promote-version', function pisellLowcodeAppVersionControlPromoteVersion(version) {
272
272
  return "\u53D1\u5E03\u7248\u672C ".concat(version || "", "?");
273
- }), 'pisell-lowcode-app-version-control-promote-version-describe', '您确定要发布此版本吗?'), 'pisell-lowcode-app-version-control-promote-version-ok', '发布'), 'pisell-lowcode-app-version-control-promote-version-cancel', '取消'), 'pisell-lowcode-app-version-control-version-exists', '版本已存在'), 'pisell-lowcode-app-version-control-version-create-title', "创建新版本"), 'pisell-lowcode-drop-sort-add', '添加'), 'pisell-lowcode-navigation-menu-add-sub-menu', '添加子菜单'), 'pisell-lowcode-navigation-menu-add-page', '添加页面'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-page-tip', '没有找到导航,请添加子菜单或页面。'), 'pisell-lowcode-navigation-menu-tag-base', "基础"), 'pisell-lowcode-navigation-menu-tag-pisell1', "Pisell 1.0"), 'pisell-data-source-form-app-identifier-pattern', '只能包含小写字母、数字、连字符、点和下划线'), 'pisell-data-source-form-app-identifier-start-with-letter', '必须以字母开头'), 'pisell-data-source-form-app-identifier-special-ends', '不能以连字符、点或下划线结尾'), 'pisell-data-source-form-app-identifier-consecutive-special', '不能包含连续的连字符、点或下划线'), "qrscanner-loading", "正在识别二维码..."), "qrscanner-success", "识别成功: "), "qrscanner-success-qrcode", "二维码识别成功: "), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, "qrscanner-success-barcode", "条形码识别成功: "), "qrscanner-error-upload-image", "请上传图片文件"), "qrscanner-error-load-failed", "读取文件失败"), "qrscanner-error-no-code", "未检测到二维码或条形码"), "qrscanner-error-camera-init", "无法启动摄像头,请确保已授权"), "qrscanner-error-process-image", "处理图像时出错"), 'pisell-login-and-register-title', '登录到您的账户'), 'pisell-login-and-register-subtitle', '欢迎回来!请输入您的详细信息。'), 'pisell-login-and-register-email-label', '邮箱'), 'pisell-login-and-register-email-placeholder', '输入您的邮箱'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-login-and-register-password-label', '密码'), 'pisell-login-and-register-password-placeholder', '输入您的密码'), 'pisell-login-and-register-email-error', '请输入您的邮箱!'), 'pisell-login-and-register-email-error-valid', '请输入有效的邮箱!'), 'pisell-login-and-register-password-error', '请输入正确的密码'), 'pisell-login-and-register-login', '登录'), 'pisell-login-and-register-google', '继续使用Google'), 'pisell-login-and-register-facebook', '继续使用Facebook'), 'pisell-login-and-register-apple', '继续使用Apple'), 'pisell-login-and-register-sign-up', "没有账户?注册"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-login-and-register-login-tab', '登录'), 'pisell-login-and-register-register-tab', '注册'), 'pisell-login-and-register-register-email-placeholder', '输入您的邮箱'), 'pisell-login-and-register-register-password-placeholder', '创建密码'), 'pisell-login-and-register-register-button-text', '创建账户'), 'pisell-login-and-register-remember-me', '记住我'), 'pisell-login-and-register-forgot-password', '忘记密码?'), 'pisell-login-and-register-register-password-error', '请输入您的密码!'), 'pisell-login-and-register-register-password-error-valid', '密码必须至少为6个字符!'), 'pisell2.text.goodpass.product-vouchers', "优惠促销"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.goodpass.last-settlement', "(上次结算)"), 'pisell2.text.goodpass.view-more', "查看更多"), 'pisell2.text.goodpass.save', "节省"), 'pisell2.text.hardware-error.fatal', "致命错误"), 'pisell2.text.hardware-error.critical', "严重错误"), 'pisell2.text.hardware-error.normal', "一般错误"), 'pisell2.text.hardware-error.info', "提示信息"), 'pisell2.text.hardware-error.error-center', "错误中心"), 'pisell2.text.hardware-error.error-list', "错误列表"), 'pisell2.text.hardware-error.error-code', "错误代码"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.time', "时间"), 'pisell2.text.hardware-error.error-description', "错误描述"), 'pisell2.text.hardware-error.solution', "解决方案"), 'pisell2.text.hardware-error.info-number', "信息编号"), 'pisell2.text.hardware-error.tip-content', "提示内容"), 'pisell2.text.hardware-error.device.all', "全部设备"), 'pisell2.text.hardware-error.device.printer', "打印机"), 'pisell2.text.hardware-error.device.barcode-scanner', "扫码枪"), 'pisell2.text.hardware-error.device.cds', "CDS客显"), 'pisell2.text.hardware-error.device.kds', "KDS厨显"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.device.display', "扩展屏"), 'pisell2.text.hardware-error.device.card-reader', "刷卡机"), 'pisell2.text.hardware-error.device.till', "钱箱"), 'pisell2.text.hardware-error.device.scale', "称重设备"), 'pisell2.text.hardware-error.error-logs', "错误日志"), 'pisell2.text.hardware-error.all-devices', "全部设备"), 'pisell2.text.hardware-error.all-levels', "全部级别"), 'pisell2.text.hardware-error.debug-info', "调试信息"), 'pisell2.text.hardware-error.important-info', "重要操作信息"), 'pisell2.text.hardware-error.error-info', "错误信息"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.search-logs', "搜索日志..."), 'pisell2.text.hardware-error.export-logs', "导出日志"), 'pisell2.text.hardware-error.no-errors', "暂无错误信息"), 'pisell2.text.hardware-error.no-logs', "暂无日志记录"));
273
+ }), 'pisell-lowcode-app-version-control-promote-version-describe', '您确定要发布此版本吗?'), 'pisell-lowcode-app-version-control-promote-version-ok', '发布'), 'pisell-lowcode-app-version-control-promote-version-cancel', '取消'), 'pisell-lowcode-app-version-control-version-exists', '版本已存在'), 'pisell-lowcode-app-version-control-version-create-title', "创建新版本"), 'pisell-lowcode-drop-sort-add', '添加'), 'pisell-lowcode-navigation-menu-add-sub-menu', '添加子菜单'), 'pisell-lowcode-navigation-menu-add-page', '添加页面'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-page-tip', '没有找到导航,请添加子菜单或页面。'), 'pisell-lowcode-navigation-menu-tag-base', "基础"), 'pisell-lowcode-navigation-menu-tag-proCode', "Pro code"), 'pisell-lowcode-navigation-menu-tag-pisell1', "Pisell 1.0"), 'pisell-data-source-form-app-identifier-pattern', '只能包含小写字母、数字、连字符、点和下划线'), 'pisell-data-source-form-app-identifier-start-with-letter', '必须以字母开头'), 'pisell-data-source-form-app-identifier-special-ends', '不能以连字符、点或下划线结尾'), 'pisell-data-source-form-app-identifier-consecutive-special', '不能包含连续的连字符、点或下划线'), "qrscanner-loading", "正在识别二维码..."), "qrscanner-success", "识别成功: "), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, "qrscanner-success-qrcode", "二维码识别成功: "), "qrscanner-success-barcode", "条形码识别成功: "), "qrscanner-error-upload-image", "请上传图片文件"), "qrscanner-error-load-failed", "读取文件失败"), "qrscanner-error-no-code", "未检测到二维码或条形码"), "qrscanner-error-camera-init", "无法启动摄像头,请确保已授权"), "qrscanner-error-process-image", "处理图像时出错"), 'pisell-login-and-register-title', '登录到您的账户'), 'pisell-login-and-register-subtitle', '欢迎回来!请输入您的详细信息。'), 'pisell-login-and-register-email-label', '邮箱'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-login-and-register-email-placeholder', '输入您的邮箱'), 'pisell-login-and-register-password-label', '密码'), 'pisell-login-and-register-password-placeholder', '输入您的密码'), 'pisell-login-and-register-email-error', '请输入您的邮箱!'), 'pisell-login-and-register-email-error-valid', '请输入有效的邮箱!'), 'pisell-login-and-register-password-error', '请输入正确的密码'), 'pisell-login-and-register-login', '登录'), 'pisell-login-and-register-google', '继续使用Google'), 'pisell-login-and-register-facebook', '继续使用Facebook'), 'pisell-login-and-register-apple', '继续使用Apple'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-login-and-register-sign-up', "没有账户?注册"), 'pisell-login-and-register-login-tab', '登录'), 'pisell-login-and-register-register-tab', '注册'), 'pisell-login-and-register-register-email-placeholder', '输入您的邮箱'), 'pisell-login-and-register-register-password-placeholder', '创建密码'), 'pisell-login-and-register-register-button-text', '创建账户'), 'pisell-login-and-register-remember-me', '记住我'), 'pisell-login-and-register-forgot-password', '忘记密码?'), 'pisell-login-and-register-register-password-error', '请输入您的密码!'), 'pisell-login-and-register-register-password-error-valid', '密码必须至少为6个字符!'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.goodpass.product-vouchers', "优惠促销"), 'pisell2.text.goodpass.last-settlement', "(上次结算)"), 'pisell2.text.goodpass.view-more', "查看更多"), 'pisell2.text.goodpass.save', "节省"), 'pisell2.text.hardware-error.fatal', "致命错误"), 'pisell2.text.hardware-error.critical', "严重错误"), 'pisell2.text.hardware-error.normal', "一般错误"), 'pisell2.text.hardware-error.info', "提示信息"), 'pisell2.text.hardware-error.error-center', "错误中心"), 'pisell2.text.hardware-error.error-list', "错误列表"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.error-code', "错误代码"), 'pisell2.text.hardware-error.time', "时间"), 'pisell2.text.hardware-error.error-description', "错误描述"), 'pisell2.text.hardware-error.solution', "解决方案"), 'pisell2.text.hardware-error.info-number', "信息编号"), 'pisell2.text.hardware-error.tip-content', "提示内容"), 'pisell2.text.hardware-error.device.all', "全部设备"), 'pisell2.text.hardware-error.device.printer', "打印机"), 'pisell2.text.hardware-error.device.barcode-scanner', "扫码枪"), 'pisell2.text.hardware-error.device.cds', "CDS客显"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.device.kds', "KDS厨显"), 'pisell2.text.hardware-error.device.display', "扩展屏"), 'pisell2.text.hardware-error.device.card-reader', "刷卡机"), 'pisell2.text.hardware-error.device.till', "钱箱"), 'pisell2.text.hardware-error.device.scale', "称重设备"), 'pisell2.text.hardware-error.error-logs', "错误日志"), 'pisell2.text.hardware-error.all-devices', "全部设备"), 'pisell2.text.hardware-error.all-levels', "全部级别"), 'pisell2.text.hardware-error.debug-info', "调试信息"), 'pisell2.text.hardware-error.important-info', "重要操作信息"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell2.text.hardware-error.error-info', "错误信息"), 'pisell2.text.hardware-error.search-logs', "搜索日志..."), 'pisell2.text.hardware-error.export-logs', "导出日志"), 'pisell2.text.hardware-error.no-errors', "暂无错误信息"), 'pisell2.text.hardware-error.no-logs', "暂无日志记录"));
@@ -286,6 +286,7 @@ export default {
286
286
  'pisell-lowcode-navigation-menu-add-page': '添加頁面',
287
287
  'pisell-lowcode-navigation-menu-add-page-tip': '沒有找到導航, 請添加子菜單或頁面。',
288
288
  'pisell-lowcode-navigation-menu-tag-base': "基础",
289
+ 'pisell-lowcode-navigation-menu-tag-proCode': "Pro code",
289
290
  'pisell-lowcode-navigation-menu-tag-pisell1': "Pisell 1.0",
290
291
  // 应用标识符
291
292
  'pisell-data-source-form-app-identifier-pattern': '只能包含小寫字母、數字、連字符、點和下劃線',
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string | number;
2
+ export declare const getCssNumber: (val: string | number) => string;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItem: (props: any) => JSX.Element;
2
3
  export default FormItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from '../../../filter/types';
2
3
  import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
3
4
  export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
5
  };
5
6
  export default useDataSourceKey;
@@ -0,0 +1,32 @@
1
+ import { DataSourceTableProps } from '../type';
2
+ declare type Params = {
3
+ pagination?: {
4
+ page: number;
5
+ size: number;
6
+ };
7
+ order_by?: string;
8
+ tabs?: {
9
+ name: string;
10
+ filterBy: Record<string, any>;
11
+ sortBy: string;
12
+ };
13
+ };
14
+ declare const useTableQuery: (props: DataSourceTableProps) => {
15
+ queryPageConfig: {
16
+ page: number;
17
+ pageSize: number;
18
+ filter: Record<string, any>;
19
+ sort: string;
20
+ };
21
+ setQueryPageConfig: import("react").Dispatch<import("react").SetStateAction<{
22
+ page: number;
23
+ pageSize: number;
24
+ filter: Record<string, any>;
25
+ sort: string;
26
+ }>>;
27
+ handleValuesChange: (params: Params, allParams: Params) => void;
28
+ refreshData: () => void;
29
+ handleFilterChange: (changedFields: any, allFields: any) => void;
30
+ refreshCurrentPage: () => void;
31
+ };
32
+ export default useTableQuery;
@@ -0,0 +1,5 @@
1
+ import type { FC } from 'react';
2
+ import { DatePickerProps } from './type';
3
+ import './ReadPretty.less';
4
+ declare const DatePickerReadPretty: FC<DatePickerProps>;
5
+ export default DatePickerReadPretty;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { JsonProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PasswordProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UploadProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -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("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => (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("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & 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").InputProps & {
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>;
@@ -86,7 +84,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
86
84
  name?: string | undefined;
87
85
  fieldKey?: string | undefined;
88
86
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
89
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
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>;
@@ -98,5 +96,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
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("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & 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>;
99
+ }) => JSX.Element) | import("react").FC<any> | 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("./Upload/type").UploadProps & 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 };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './index.less';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { ImageProps as AntdImageProps } from 'antd';
3
+ export interface ImageProps extends Omit<AntdImageProps, 'placeholder'> {
4
+ /**
5
+ * 占位图类型
6
+ */
7
+ fallbackType?: 'image' | 'avatar' | 'product';
8
+ }
9
+ declare const Image: React.FC<ImageProps>;
10
+ export default Image;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const List: {
3
4
  (props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type LowCodePageProps = {
2
3
  id: number;
3
4
  };
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import type { AvatarProps } from 'antd';
3
+ import './index.less';
4
+ export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
5
+ export interface PisellAvatarProps extends Omit<AvatarProps, 'size' | 'shape'> {
6
+ shape?: 'circle' | 'square';
7
+ size?: AvatarSize;
8
+ src?: string;
9
+ alt?: string;
10
+ icon?: React.ReactNode;
11
+ children?: React.ReactNode;
12
+ className?: string;
13
+ style?: React.CSSProperties;
14
+ useTextAvatar?: boolean;
15
+ borderRadius?: number;
16
+ onError?: () => boolean;
17
+ }
18
+ declare const PisellAvatar: React.FC<PisellAvatarProps>;
19
+ export default PisellAvatar;
@@ -0,0 +1,73 @@
1
+ import React from 'react';
2
+ import { PisellCheckboxGroupProps } from '../pisellCheckboxGroup';
3
+ import { PisellContextType } from '../pisell-config-provider/context';
4
+ import { PisellWalletPassCardProps } from '../pisellWalletPassCard';
5
+ import './index.less';
6
+ export interface PisellCardListProps extends Omit<PisellCheckboxGroupProps, 'options'> {
7
+ platform?: PisellContextType['platform'];
8
+ /** 当用户查看完所有记录时,底部会显示此消息 */
9
+ endMessage?: React.ReactNode;
10
+ /** 加载下次数据时的加载站位 */
11
+ loader?: React.ReactNode;
12
+ /** 是否有更多数据 */
13
+ hasMore: boolean;
14
+ /** 加载更多数据回调 */
15
+ loadMoreData?: () => Promise<void>;
16
+ /** 当前list数据 */
17
+ data: PisellWalletPassCardProps[];
18
+ /** list空数据时展示内容 */
19
+ empty?: React.ReactNode;
20
+ /** 是否展示空状态 */
21
+ showEmpty?: boolean;
22
+ /** 是否展示卡片名称 */
23
+ showName?: boolean;
24
+ /** 是否展示店铺名称 */
25
+ showStoreName?: boolean;
26
+ /** 是否展示核销金额 */
27
+ showRedeem?: boolean;
28
+ /** 是否展示余额 */
29
+ showBalance?: boolean;
30
+ /** 是否展示编码 */
31
+ showCode?: boolean;
32
+ /** 是否展示到期时间 */
33
+ showValidDate?: boolean;
34
+ /** 是否展示详情按钮 */
35
+ showDetail?: boolean;
36
+ /** 是否展示二维码 */
37
+ showQrCode?: boolean;
38
+ /** 是否展示封面图 */
39
+ showCover?: boolean;
40
+ /** 是否余额货币单位 */
41
+ showBalanceSymbol?: boolean;
42
+ /** 卡片大小 */
43
+ type?: 'default' | 'mini';
44
+ /** 展示操作按钮 */
45
+ showActions?: boolean;
46
+ /** 操作按钮配置 */
47
+ actions?: {
48
+ /** 按钮展示方式 */
49
+ layout: 'expanded' | 'collapsed';
50
+ /** detail 按钮配置 */
51
+ detail?: {
52
+ visible: boolean;
53
+ iconColor: string;
54
+ };
55
+ /** edit按钮配置 */
56
+ edit?: {
57
+ visible: boolean;
58
+ iconColor: string;
59
+ dialogTitle: string;
60
+ enableDialog: boolean;
61
+ fields: {
62
+ name: string;
63
+ label: string;
64
+ };
65
+ };
66
+ };
67
+ /** 编辑编辑按钮后,弹窗展示之前 */
68
+ beforeEdit?: (value: any, index: number) => Promise<any> | boolean | void;
69
+ /** 编辑弹窗点击提交 */
70
+ onConfirmEdit?: (value: any, index: number) => void;
71
+ }
72
+ declare const _default: React.NamedExoticComponent<PisellCardListProps>;
73
+ export default _default;
@@ -103,7 +103,8 @@ function SortableTree({
103
103
  onChange,
104
104
  onRemoveBefore,
105
105
  __designMode,
106
- maxLevel = 3
106
+ maxLevel = 3,
107
+ canDrop
107
108
  }) {
108
109
  const [items, setItems] = (0, import_react.useState)([]);
109
110
  const [activeId, setActiveId] = (0, import_react.useState)(null);
@@ -230,6 +231,14 @@ function SortableTree({
230
231
  setOverId((over == null ? void 0 : over.id) ?? null);
231
232
  return;
232
233
  }
234
+ const dragItem = activeId ? flattenedItems.find((item) => item.id === activeId) : null;
235
+ const dropTarget = flattenedItems.find((item) => item.id === over.id);
236
+ if (canDrop && dragItem && dropTarget) {
237
+ const canDropResult = canDrop(dragItem, dropTarget, projected == null ? void 0 : projected.parentId);
238
+ if (!canDropResult) {
239
+ return;
240
+ }
241
+ }
233
242
  const targetParent = projected.parentId ? flattenedItems.find((item) => item.id === projected.parentId) : null;
234
243
  if (targetParent == null ? void 0 : targetParent.disabledDrop) {
235
244
  return;
@@ -251,6 +260,14 @@ function SortableTree({
251
260
  resetState();
252
261
  if (projected && over) {
253
262
  const { depth, parentId } = projected;
263
+ const dragItem = flattenedItems.find((item) => item.id === active.id);
264
+ const dropTarget = flattenedItems.find((item) => item.id === over.id);
265
+ if (canDrop && dragItem && dropTarget) {
266
+ const canDropResult = canDrop(dragItem, dropTarget, parentId);
267
+ if (!canDropResult) {
268
+ return;
269
+ }
270
+ }
254
271
  const targetParent = parentId ? flattenedItems.find((item) => item.id === parentId) : null;
255
272
  if (targetParent == null ? void 0 : targetParent.disabledDrop) {
256
273
  return;
@@ -62,7 +62,8 @@ var PisellDropSort = ({
62
62
  __designMode,
63
63
  isCustomAction,
64
64
  emptyContent,
65
- getItemStyle
65
+ getItemStyle,
66
+ canDrop
66
67
  }) => {
67
68
  const renderItem = (0, import_react.useCallback)(
68
69
  (itemProps, ref) => {
@@ -135,7 +136,8 @@ var PisellDropSort = ({
135
136
  indentationWidth: 24,
136
137
  removable: allowDelete,
137
138
  renderItem,
138
- onChange: handleChange
139
+ onChange: handleChange,
140
+ canDrop
139
141
  }
140
142
  )
141
143
  ));
@@ -0,0 +1,4 @@
1
+ export declare const useNativeScanner: (onChange?: ((val: string) => void) | undefined) => {
2
+ activeNativeScanner: () => void;
3
+ isTerminal: any;
4
+ };
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from '../pisell-config-provider/context';
3
+ import './index.less';
4
+ export declare type EntryModeType = {
5
+ /**
6
+ * 录入模式名称
7
+ * scanCode: 扫码录入
8
+ * input: 手动录入
9
+ * scanner: 扫码枪录入
10
+ * nfc: NFC录入
11
+ */
12
+ type: 'scanCode' | 'input' | 'scanner' | 'nfc';
13
+ /**
14
+ * 录入模式文案 没有使用默认文案
15
+ */
16
+ name?: string;
17
+ };
18
+ export interface PisellInformationEntryProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'onChange'> {
19
+ /** 平台 */
20
+ platform?: PisellContextType['platform'];
21
+ /** 录入模式 */
22
+ entryModes: EntryModeType[];
23
+ /** 标题文案 */
24
+ title?: React.ReactNode;
25
+ /** 搜索框描述文案 */
26
+ searchDescribe?: React.ReactNode;
27
+ /** 录入信息值改变 */
28
+ onChange?: (val: string) => void;
29
+ /** 录入类型切换时候触发的 */
30
+ onChangeType?: (val: null | EntryModeType['type']) => void;
31
+ }
32
+ declare const PisellInformationEntry: (props: PisellInformationEntryProps) => JSX.Element;
33
+ export default PisellInformationEntry;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps, ButtonProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  export interface CopyProps extends InputProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SpinProps } from 'antd';
2
3
  import './index.less';
3
4
  declare type MaskType = {