@pisell/materials 1.0.475 → 1.0.477

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 (39) 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/preview.js +4 -4
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +15 -15
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +15 -15
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +25 -12
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +14 -3
  13. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  14. package/es/components/dataSourceComponents/fields/Input.Phone/index.d.ts +1 -1
  15. package/es/components/dataSourceComponents/fields/index.d.ts +5 -5
  16. package/es/components/walletCard/index.js +7 -5
  17. package/es/components/walletCard/index.less +39 -0
  18. package/es/locales/en-US.d.ts +2 -0
  19. package/es/locales/en-US.js +4 -1
  20. package/es/locales/zh-CN.d.ts +2 -0
  21. package/es/locales/zh-CN.js +4 -1
  22. package/es/locales/zh-TW.d.ts +2 -0
  23. package/es/locales/zh-TW.js +4 -1
  24. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +25 -12
  25. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +18 -2
  26. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  27. package/lib/components/dataSourceComponents/fields/Input.Phone/index.d.ts +1 -1
  28. package/lib/components/dataSourceComponents/fields/index.d.ts +5 -5
  29. package/lib/components/walletCard/index.js +6 -4
  30. package/lib/components/walletCard/index.less +39 -0
  31. package/lib/locales/en-US.d.ts +2 -0
  32. package/lib/locales/en-US.js +4 -1
  33. package/lib/locales/zh-CN.d.ts +2 -0
  34. package/lib/locales/zh-CN.js +4 -1
  35. package/lib/locales/zh-TW.d.ts +2 -0
  36. package/lib/locales/zh-TW.js +4 -1
  37. package/lowcode/data-source-table/meta.ts +1 -2
  38. package/lowcode/data-source-table/utils.tsx +9 -0
  39. package/package.json +3 -3
@@ -178,5 +178,8 @@ var zh_CN_default = {
178
178
  // 数字格式化
179
179
  "pisell-number-format-thousand": "千",
180
180
  "pisell-number-format-million": "百万",
181
- "pisell-number-format-billion": "十亿"
181
+ "pisell-number-format-billion": "十亿",
182
+ //walletCard 组件
183
+ "walletCard-done": "完成",
184
+ "walletCard-qrcode": "二维码"
182
185
  };
@@ -144,5 +144,7 @@ declare const _default: {
144
144
  'pisell-number-format-thousand': string;
145
145
  'pisell-number-format-million': string;
146
146
  'pisell-number-format-billion': string;
147
+ 'walletCard-done': string;
148
+ 'walletCard-qrcode': string;
147
149
  };
148
150
  export default _default;
@@ -179,5 +179,8 @@ var zh_TW_default = {
179
179
  // 數字格式化
180
180
  "pisell-number-format-thousand": "千",
181
181
  "pisell-number-format-million": "百萬",
182
- "pisell-number-format-billion": "十億"
182
+ "pisell-number-format-billion": "十億",
183
+ //walletCard 组件
184
+ "walletCard-done": "完成",
185
+ "walletCard-qrcode": "二維碼"
183
186
  };
@@ -14,8 +14,7 @@ import {
14
14
  setDefaultSort,
15
15
  } from './utils';
16
16
  import { getVariable, setBatchVariables } from '../data-source-form/utils';
17
- import { omit, uuid } from '../_utils/utils';
18
- import { MetaType } from '../_utils/type';
17
+ import { uuid } from '../_utils/utils';
19
18
  import { IPublicTypeFieldConfig } from '@alilc/lowcode-types';
20
19
  import { getFormItemGeneralInfoGroup } from '../_utils/defaultSchema';
21
20
 
@@ -176,6 +176,15 @@ export const resetTableProps = (target: any) => {
176
176
  show: false,
177
177
  storageMode: 'localStorage',
178
178
  });
179
+ target.getProps().setPropValue('search', {
180
+ show: false,
181
+ placeholder: 'Search',
182
+ });
183
+ target.getProps().setPropValue('titleButtons', {
184
+ show: false,
185
+ items: [],
186
+ maxCount: 3,
187
+ });
179
188
  clearVariables(target);
180
189
  };
181
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.475",
3
+ "version": "1.0.477",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -68,8 +68,8 @@
68
68
  "styled-components": "^6.0.0-rc.3",
69
69
  "libphonenumber-js": "^1.11.17",
70
70
  "@pisell/date-picker": "1.0.113",
71
- "@pisell/icon": "0.0.10",
72
- "@pisell/utils": "1.0.43"
71
+ "@pisell/utils": "1.0.43",
72
+ "@pisell/icon": "0.0.10"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": "^18.0.0",