@pisell/materials 1.0.365 → 1.0.367

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 (138) 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 +2 -2
  6. package/build/lowcode/preview.js +142 -142
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +22 -22
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +22 -22
  11. package/es/components/iconfont/index.js +1 -1
  12. package/es/components/page/index.js +11 -6
  13. package/es/components/pisell-config-provider/context.d.ts +2 -3
  14. package/es/components/pisell-config-provider/index.d.ts +1 -0
  15. package/es/components/pisell-config-provider/index.js +5 -3
  16. package/es/components/pisellAlert/index.d.ts +12 -0
  17. package/es/components/pisellAlert/index.js +67 -0
  18. package/es/components/pisellAlert/index.less +149 -0
  19. package/es/components/pisellCard/index.d.ts +2 -42
  20. package/es/components/pisellCard/index.js +5 -78
  21. package/es/components/pisellCard/index.less +5 -85
  22. package/es/components/pisellCardList/index.d.ts +7 -4
  23. package/es/components/pisellCardList/index.js +22 -59
  24. package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
  25. package/es/components/pisellCheckboxGroup/index.js +8 -7
  26. package/es/components/pisellInformationEntry/Input/index.d.ts +8 -0
  27. package/es/components/pisellInformationEntry/Input/index.js +47 -0
  28. package/es/components/pisellInformationEntry/Input/index.less +14 -0
  29. package/es/components/pisellInformationEntry/Scan/index.d.ts +8 -0
  30. package/es/components/pisellInformationEntry/Scan/index.js +24 -0
  31. package/es/components/pisellInformationEntry/Scan/index.less +8 -0
  32. package/es/components/pisellInformationEntry/constants.d.ts +3 -0
  33. package/es/components/pisellInformationEntry/constants.js +21 -0
  34. package/es/components/pisellInformationEntry/index.d.ts +31 -0
  35. package/es/components/pisellInformationEntry/index.js +188 -0
  36. package/es/components/pisellInformationEntry/index.less +40 -0
  37. package/es/components/pisellInformationEntry/utils.d.ts +4 -0
  38. package/es/components/pisellInformationEntry/utils.js +38 -0
  39. package/es/components/pisellModal/components/Information/index.js +4 -3
  40. package/es/components/pisellModal/components/Information/index.less +3 -2
  41. package/es/components/pisellModal/components/MobileModal/index.less +1 -0
  42. package/es/components/pisellModal/components/PcModal/index.d.ts +1 -1
  43. package/es/components/pisellModal/components/PcModal/index.less +8 -0
  44. package/es/components/pisellModal/constants.js +1 -1
  45. package/es/components/pisellScan/index.d.ts +14 -0
  46. package/es/components/pisellScan/index.js +73 -0
  47. package/es/components/pisellScan/index.less +12 -0
  48. package/es/components/pisellWalletPassCard/bg.jpeg +0 -0
  49. package/es/components/pisellWalletPassCard/index.d.ts +50 -0
  50. package/es/components/pisellWalletPassCard/index.js +91 -0
  51. package/es/components/pisellWalletPassCard/index.less +100 -0
  52. package/es/index.d.ts +6 -1
  53. package/es/index.js +9 -2
  54. package/es/locales/en-US.d.ts +6 -0
  55. package/es/locales/en-US.js +9 -1
  56. package/es/locales/index.js +3 -1
  57. package/es/locales/zh-CN.d.ts +6 -0
  58. package/es/locales/zh-CN.js +9 -1
  59. package/es/locales/zh-TW.d.ts +6 -0
  60. package/es/locales/zh-TW.js +9 -1
  61. package/es/utils/locale.js +2 -1
  62. package/lib/components/iconfont/index.js +1 -1
  63. package/lib/components/page/index.js +13 -6
  64. package/lib/components/pisell-config-provider/context.d.ts +2 -3
  65. package/lib/components/pisell-config-provider/index.d.ts +1 -0
  66. package/lib/components/pisell-config-provider/index.js +8 -2
  67. package/lib/components/pisellAlert/index.d.ts +12 -0
  68. package/lib/components/pisellAlert/index.js +95 -0
  69. package/lib/components/pisellAlert/index.less +149 -0
  70. package/lib/components/pisellCard/index.d.ts +2 -42
  71. package/lib/components/pisellCard/index.js +5 -54
  72. package/lib/components/pisellCard/index.less +5 -85
  73. package/lib/components/pisellCardList/index.d.ts +7 -4
  74. package/lib/components/pisellCardList/index.js +21 -59
  75. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
  76. package/lib/components/pisellCheckboxGroup/index.js +9 -7
  77. package/lib/components/pisellInformationEntry/Input/index.d.ts +8 -0
  78. package/lib/components/pisellInformationEntry/Input/index.js +54 -0
  79. package/lib/components/pisellInformationEntry/Input/index.less +14 -0
  80. package/lib/components/pisellInformationEntry/Scan/index.d.ts +8 -0
  81. package/lib/components/pisellInformationEntry/Scan/index.js +63 -0
  82. package/lib/components/pisellInformationEntry/Scan/index.less +8 -0
  83. package/lib/components/pisellInformationEntry/constants.d.ts +3 -0
  84. package/lib/components/pisellInformationEntry/constants.js +49 -0
  85. package/lib/components/pisellInformationEntry/index.d.ts +31 -0
  86. package/lib/components/pisellInformationEntry/index.js +162 -0
  87. package/lib/components/pisellInformationEntry/index.less +40 -0
  88. package/lib/components/pisellInformationEntry/utils.d.ts +4 -0
  89. package/lib/components/pisellInformationEntry/utils.js +40 -0
  90. package/lib/components/pisellModal/components/Information/index.js +3 -3
  91. package/lib/components/pisellModal/components/Information/index.less +3 -2
  92. package/lib/components/pisellModal/components/MobileModal/index.less +1 -0
  93. package/lib/components/pisellModal/components/PcModal/index.d.ts +1 -1
  94. package/lib/components/pisellModal/components/PcModal/index.less +8 -0
  95. package/lib/components/pisellModal/constants.js +1 -1
  96. package/lib/components/pisellScan/index.d.ts +14 -0
  97. package/lib/components/pisellScan/index.js +103 -0
  98. package/lib/components/pisellScan/index.less +12 -0
  99. package/lib/components/pisellWalletPassCard/bg.jpeg +0 -0
  100. package/lib/components/pisellWalletPassCard/index.d.ts +50 -0
  101. package/lib/components/pisellWalletPassCard/index.js +99 -0
  102. package/lib/components/pisellWalletPassCard/index.less +100 -0
  103. package/lib/index.d.ts +6 -1
  104. package/lib/index.js +20 -3
  105. package/lib/locales/en-US.d.ts +6 -0
  106. package/lib/locales/en-US.js +9 -1
  107. package/lib/locales/index.js +3 -1
  108. package/lib/locales/zh-CN.d.ts +6 -0
  109. package/lib/locales/zh-CN.js +9 -1
  110. package/lib/locales/zh-TW.d.ts +6 -0
  111. package/lib/locales/zh-TW.js +9 -1
  112. package/lib/utils/locale.js +2 -1
  113. package/lowcode/pisell-alert/meta.ts +117 -0
  114. package/lowcode/pisell-alert/snippets.ts +50 -0
  115. package/lowcode/pisell-card/__screenshots__/card-1.png +0 -0
  116. package/lowcode/pisell-card/meta.ts +76 -165
  117. package/lowcode/pisell-card/snippets.ts +1 -11
  118. package/lowcode/pisell-information-entry/meta.ts +131 -0
  119. package/lowcode/pisell-information-entry/snippets.ts +17 -0
  120. package/lowcode/pisell-modal/meta.ts +31 -31
  121. package/lowcode/pisell-modal.information/meta.ts +7 -0
  122. package/lowcode/pisell-scan/meta.ts +53 -0
  123. package/lowcode/pisell-scan/snippets.ts +13 -0
  124. package/lowcode/pisell-wallet-pass-card/meta.ts +189 -0
  125. package/lowcode/pisell-wallet-pass-card/snippets.ts +20 -0
  126. package/package.json +5 -4
  127. package/build/lowcode/assets/7b1c7af5ce9e37e4b40ea53fea6ccfd9.jpeg +0 -0
  128. package/build/lowcode/render/default/assets/7b1c7af5ce9e37e4b40ea53fea6ccfd9.jpeg +0 -0
  129. package/dist/umd/materials.min.css +0 -1
  130. package/dist/umd/materials.min.js +0 -1
  131. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  132. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  133. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  134. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  135. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  136. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  137. package/es/components/pisellCard/bg.jpeg +0 -0
  138. package/lib/components/pisellCard/bg.jpeg +0 -0
@@ -0,0 +1,131 @@
1
+ import snippets from './snippets';
2
+
3
+ export default {
4
+ snippets,
5
+ componentName: 'PisellInformationEntry',
6
+ title: '信息录入',
7
+ category: '表单',
8
+ docUrl: '',
9
+ screenshot: '',
10
+ devMode: 'proCode',
11
+ npm: {
12
+ package: '@pisell/materials',
13
+ version: '1.0.1',
14
+ exportName: 'PisellInformationEntry',
15
+ main: 'src/index.tsx',
16
+ destructuring: true,
17
+ subName: '',
18
+ },
19
+ props: [
20
+ {
21
+ name: 'entryModes',
22
+ title: { label: '录入方式', tip: '录入方式' },
23
+ propType: {
24
+ type: 'arrayOf',
25
+ value: {
26
+ type: 'shape',
27
+ value: [
28
+ {
29
+ name: 'type',
30
+ title: { label: '录入类型', tip: '录入类型' },
31
+ propType: {
32
+ type: 'oneOf',
33
+ value: ['scanCode', 'input', 'scanner', 'nfc'],
34
+ },
35
+ },
36
+ {
37
+ name: 'name',
38
+ propType: ['string', 'number'],
39
+ description: '文案',
40
+ defaultValue: '选项值',
41
+ },
42
+ {
43
+ name: 'disabled',
44
+ propType: 'bool',
45
+ description: '是否禁用',
46
+ defaultValue: false,
47
+ },
48
+ ],
49
+ },
50
+ },
51
+ setter: {
52
+ componentName: 'ArraySetter',
53
+ props: {
54
+ itemSetter: {
55
+ componentName: 'ObjectSetter',
56
+ props: {
57
+ config: {
58
+ items: [
59
+ {
60
+ name: 'type',
61
+ title: '录入类型',
62
+ isRequired: true,
63
+ setter: [
64
+ {
65
+ componentName: 'SelectSetter',
66
+ mode: "single",
67
+ props: (target) => {
68
+ // console.log(target,'targettarget',target.parent.parent.parent.getPropValue("entryModes"));
69
+ const typeValues = target.parent.parent.parent.getPropValue("entryModes").filter(Boolean).map(item => item?.type);
70
+ console.log(typeValues,'typeValues');
71
+ return {
72
+ options: [
73
+ {
74
+ title: '扫码',
75
+ value: 'scanCode',
76
+ disabled: typeValues.includes('scanCode'),
77
+ },
78
+ {
79
+ title: '手动输入',
80
+ value: 'input',
81
+ disabled: typeValues.includes('input'),
82
+ },
83
+ {
84
+ title: '扫描枪(外设)',
85
+ value: 'scanner',
86
+ disabled: typeValues.includes('scanner'),
87
+ },
88
+ {
89
+ title: 'NFC(外设)',
90
+ value: 'nfc',
91
+ disabled: typeValues.includes('nfc'),
92
+ },
93
+ ],
94
+ };
95
+ },
96
+ },
97
+ 'VariableSetter',
98
+ ],
99
+ },
100
+ {
101
+ name: 'name',
102
+ title: '文案',
103
+ setter: ['StringSetter', 'NumberSetter', 'VariableSetter'],
104
+ isRequired: true,
105
+ },
106
+ ],
107
+ },
108
+ },
109
+ initialValue: {
110
+ type: "",
111
+ name: "",
112
+ }
113
+ },
114
+ },
115
+ },
116
+ },
117
+ {
118
+ name: 'title',
119
+ title: { label: '标题文案', tip: '标题文案' },
120
+ propType: { type: 'oneOfType', value: ['string', 'node'] },
121
+ setter: ['PisellI18nSetter', 'SlotSetter'],
122
+ },
123
+ {
124
+ name: 'searchDescribe',
125
+ title: { label: '搜索框描述文案', tip: '搜索框描述文案' },
126
+ propType: { type: 'oneOfType', value: ['string', 'node'] },
127
+ setter: ['PisellI18nSetter', 'SlotSetter'],
128
+ },
129
+ ],
130
+ configure: { supports: { style: true } },
131
+ };
@@ -0,0 +1,17 @@
1
+ export default [
2
+ {
3
+ title: '信息录入',
4
+ schema: {
5
+ componentName: 'PisellInformationEntry',
6
+ props: {
7
+ entryModes: [
8
+ { type: 'scanCode' },
9
+ { type: 'input' },
10
+ { type: 'scanner' },
11
+ { type: 'nfc' },
12
+ ],
13
+ title: "",
14
+ },
15
+ },
16
+ },
17
+ ];
@@ -53,37 +53,37 @@ export default {
53
53
  ],
54
54
  defaultValue: null,
55
55
  },
56
- {
57
- name: 'size',
58
- title: {
59
- label: 'size',
60
- tip: '弹框大小',
61
- },
62
- propType: { type: 'oneOf', value: ['large', 'middle', 'small'] },
63
- setter: [
64
- {
65
- componentName: 'RadioGroupSetter',
66
- props: {
67
- options: [
68
- {
69
- title: 'large',
70
- value: 'large',
71
- },
72
- {
73
- title: 'middle',
74
- value: 'middle',
75
- },
76
- {
77
- title: 'small',
78
- value: 'small',
79
- },
80
- ],
81
- },
82
- },
83
- 'VariableSetter',
84
- ],
85
- defaultValue: 'middle',
86
- },
56
+ // {
57
+ // name: 'size',
58
+ // title: {
59
+ // label: 'size',
60
+ // tip: '弹框大小',
61
+ // },
62
+ // propType: { type: 'oneOf', value: ['large', 'middle', 'small'] },
63
+ // setter: [
64
+ // {
65
+ // componentName: 'RadioGroupSetter',
66
+ // props: {
67
+ // options: [
68
+ // {
69
+ // title: 'large',
70
+ // value: 'large',
71
+ // },
72
+ // {
73
+ // title: 'middle',
74
+ // value: 'middle',
75
+ // },
76
+ // {
77
+ // title: 'small',
78
+ // value: 'small',
79
+ // },
80
+ // ],
81
+ // },
82
+ // },
83
+ // 'VariableSetter',
84
+ // ],
85
+ // defaultValue: 'middle',
86
+ // },
87
87
  {
88
88
  name: 'headerDivider',
89
89
  title: { label: '顶部区域分割线', tip: '顶部区域分割线是否可见' },
@@ -43,6 +43,13 @@ export default {
43
43
  setter: 'BoolSetter',
44
44
  defaultValue: true,
45
45
  },
46
+ {
47
+ name: 'footerDivider',
48
+ title: { label: '顶部区域分割线', tip: '顶部区域分割线是否可见' },
49
+ propType: 'bool',
50
+ setter: 'BoolSetter',
51
+ defaultValue: true,
52
+ },
46
53
  {
47
54
  name: "okText",
48
55
  title: { label: "确认按钮文字", tip: "确认按钮文字" },
@@ -0,0 +1,53 @@
1
+ import snippets from './snippets';
2
+
3
+ export default {
4
+ snippets,
5
+ componentName: 'PisellScan',
6
+ title: '扫描组件',
7
+ category: '表单',
8
+ docUrl: '',
9
+ screenshot: '',
10
+ devMode: 'proCode',
11
+ npm: {
12
+ package: '@pisell/materials',
13
+ version: '1.0.1',
14
+ exportName: 'PisellScan',
15
+ main: 'src/index.tsx',
16
+ destructuring: true,
17
+ subName: '',
18
+ },
19
+ props: [
20
+ {
21
+ name: 'width',
22
+ title: { label: '宽度', tip: '宽度' },
23
+ propType: { type: 'oneOfType', value: ['string', 'number'] },
24
+ defaultValue: 200,
25
+ },
26
+ {
27
+ name: 'height',
28
+ title: { label: '高度', tip: '高度' },
29
+ propType: { type: 'oneOfType', value: ['string', 'number'] },
30
+ defaultValue: 200,
31
+ },
32
+ {
33
+ name: 'borderRadius',
34
+ title: { label: '圆角度数', tip: '圆角度数' },
35
+ propType: { type: 'oneOfType', value: ['string', 'number'] },
36
+ defaultValue: 0,
37
+ },
38
+ ],
39
+ configure: {
40
+ component: {
41
+ isContainer: true,
42
+ },
43
+ supports: { style: true,
44
+ events: [
45
+ {
46
+ name: 'onChange',
47
+ template:
48
+ "onChange(value,${extParams}){\n// 扫描内容变化时的回调\nconsole.log('onChange',value);}",
49
+ },
50
+ ],
51
+ },
52
+ },
53
+ };
@@ -0,0 +1,13 @@
1
+ export default [
2
+ {
3
+ title: 'Scan',
4
+ schema: {
5
+ componentName: 'PisellScan',
6
+ props: {
7
+ width: 200,
8
+ height: 200,
9
+ borderRadius: 0,
10
+ },
11
+ },
12
+ },
13
+ ];
@@ -0,0 +1,189 @@
1
+ import snippets from './snippets';
2
+
3
+ export default {
4
+ snippets,
5
+ componentName: 'PisellWalletPassCard',
6
+ title: 'PisellWalletPassCard',
7
+ category: '数据展示',
8
+ docUrl: '',
9
+ screenshot: '',
10
+ devMode: 'proCode',
11
+ npm: {
12
+ package: '@pisell/materials',
13
+ version: '1.0.1',
14
+ exportName: 'PisellWalletPassCard',
15
+ main: 'src/index.tsx',
16
+ destructuring: true,
17
+ subName: '',
18
+ },
19
+ props: [
20
+ {
21
+ name: "platform",
22
+ title: {
23
+ label: "平台",
24
+ },
25
+ propType: { type: "oneOf", value: ["h5", "pc", "ipad"] },
26
+ setter: [
27
+ {
28
+ componentName: "RadioGroupSetter",
29
+ props: {
30
+ options: [
31
+ {
32
+ title: "h5",
33
+ value: "h5",
34
+ },
35
+ {
36
+ title: "pc",
37
+ value: "pc",
38
+ },
39
+ {
40
+ title: "ipad",
41
+ value: "ipad",
42
+ },
43
+ ],
44
+ },
45
+ },
46
+ "VariableSetter",
47
+ ],
48
+ defaultValue: "pc",
49
+ },
50
+ {
51
+ name: "themeMode",
52
+ title: {
53
+ label: "选择类型",
54
+ },
55
+ propType: { type: "oneOf", value: ["light", "dark", null] },
56
+ setter: [
57
+ {
58
+ componentName: "RadioGroupSetter",
59
+ props: {
60
+ options: [
61
+ {
62
+ title: "Light",
63
+ value: "light",
64
+ },
65
+ {
66
+ title: "Dark",
67
+ value: "dark",
68
+ },
69
+ ],
70
+ },
71
+ },
72
+ "VariableSetter",
73
+ ],
74
+ defaultValue: "light",
75
+ },
76
+ {
77
+ name: 'name',
78
+ title: { label: '商品名称', tip: '商品名称' },
79
+ propType: 'string',
80
+ setter: 'StringSetter'
81
+ },
82
+ {
83
+ name: 'showName',
84
+ title: { label: '显示商品名称', tip: '显示商品名称' },
85
+ propType: 'bool',
86
+ setter: 'BoolSetter',
87
+ defaultValue: true,
88
+ },
89
+ {
90
+ name: 'storeName',
91
+ title: { label: '共享店铺名称', tip: '共享店铺名称' },
92
+ propType: 'string',
93
+ setter: 'StringSetter'
94
+ },
95
+ {
96
+ name: 'showStoreName',
97
+ title: { label: '显示共享店铺名称', tip: '显示共享店铺名称' },
98
+ propType: 'bool',
99
+ setter: 'BoolSetter',
100
+ defaultValue: true,
101
+ },
102
+ {
103
+ name: 'redeem',
104
+ title: { label: '使用金额', tip: '使用金额' },
105
+ propType: 'string',
106
+ setter: ['StringSetter', 'NumberSetter', 'VariableSetter'],
107
+ },
108
+ {
109
+ name: 'showRedeem',
110
+ title: { label: '显示使用金额', tip: '显示使用金额' },
111
+ propType: 'bool',
112
+ setter: 'BoolSetter',
113
+ defaultValue: true,
114
+ },
115
+ {
116
+ name: 'balance',
117
+ title: { label: '余额', tip: '余额' },
118
+ propType: 'string',
119
+ setter: ['StringSetter', 'NumberSetter', 'VariableSetter'],
120
+ },
121
+ {
122
+ name: 'showBalance',
123
+ title: { label: '显示余额', tip: '显示余额' },
124
+ propType: 'bool',
125
+ setter: 'BoolSetter',
126
+ defaultValue: true,
127
+ },
128
+ {
129
+ name: 'code',
130
+ title: { label: '识别码编号', tip: '识别码编号' },
131
+ propType: 'string',
132
+ setter: ['StringSetter', 'NumberSetter', 'VariableSetter'],
133
+ },
134
+ {
135
+ name: 'showCode',
136
+ title: { label: '显示识别码编号', tip: '显示识别码编号' },
137
+ propType: 'bool',
138
+ setter: 'BoolSetter',
139
+ defaultValue: true,
140
+ },
141
+ {
142
+ name: 'validDate',
143
+ title: { label: '有效期', tip: '有效期' },
144
+ propType: 'string',
145
+ setter: ['StringSetter', 'VariableSetter'],
146
+ },
147
+ {
148
+ name: 'showValidDate',
149
+ title: { label: '显示有效期', tip: '显示有效期' },
150
+ propType: 'bool',
151
+ setter: 'BoolSetter',
152
+ defaultValue: true,
153
+ },
154
+ {
155
+ name: 'showDetail',
156
+ title: { label: '显示查看详情按钮', tip: '显示查看详情按钮' },
157
+ propType: 'bool',
158
+ setter: 'BoolSetter',
159
+ defaultValue: true,
160
+ },
161
+ {
162
+ name: 'qrCode',
163
+ title: { label: '二维码', tip: '二维码' },
164
+ propType: 'string',
165
+ setter: ['StringSetter', 'VariableSetter'],
166
+ },
167
+ {
168
+ name: 'showQrCode',
169
+ title: { label: '显示识别码二维码', tip: '显示识别码二维码' },
170
+ propType: 'bool',
171
+ setter: 'BoolSetter',
172
+ defaultValue: true,
173
+ },
174
+ {
175
+ name: 'cover',
176
+ title: { label: '识别码卡封面', tip: '识别码卡封面' },
177
+ propType: 'string',
178
+ setter: ['StringSetter', 'VariableSetter'],
179
+ },
180
+ {
181
+ name: 'showCover',
182
+ title: { label: '显示识别码卡封面', tip: '显示识别码卡封面' },
183
+ propType: 'bool',
184
+ setter: 'BoolSetter',
185
+ defaultValue: true,
186
+ },
187
+ ],
188
+ configure: { supports: { style: true } },
189
+ };
@@ -0,0 +1,20 @@
1
+ export default [
2
+ {
3
+ title: '识别码卡片',
4
+ schema: {
5
+ componentName: 'PisellWalletPassCard',
6
+ props: {
7
+ name: '张三',
8
+ qrCode: 'https://gw.alipayobjects.com/zos/rmsportal/mqaQswcyDLRpBpr.png',
9
+ storeName: '张三的店铺',
10
+ balance: 100,
11
+ code: 'Walletpass code',
12
+ validDate: '2022-01-01',
13
+ redeem: 1000,
14
+ disabled: false,
15
+ disabledReason: '',
16
+ cover: '',
17
+ },
18
+ },
19
+ },
20
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.365",
3
+ "version": "1.0.367",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -62,9 +62,10 @@
62
62
  "react-window": "^1.8.10",
63
63
  "react-virtualized-auto-sizer": "^1.0.20",
64
64
  "crypto-js": "^4.2.0",
65
- "@pisell/utils": "1.0.29",
66
- "@pisell/date-picker": "1.0.91",
67
- "@pisell/icon": "0.0.10"
65
+ "@zxing/library": "0.21.2",
66
+ "@pisell/utils": "1.0.30",
67
+ "@pisell/icon": "0.0.10",
68
+ "@pisell/date-picker": "1.0.92"
68
69
  },
69
70
  "peerDependencies": {
70
71
  "react": "^18.0.0",
@@ -1 +0,0 @@
1
- .materials-grid{display:flex;flex-direction:column;height:100%;width:100%}.materials-grid-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-header .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-actions .left-wrap{align-items:center;display:flex;flex:1 1}.materials-grid-actions .left-wrap .pisell-lowcode-form-item{margin-bottom:0}.materials-grid-actions .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions .right-wrap .icon{cursor:pointer;transition:.2s}.materials-grid-actions .right-wrap .icon:hover{color:var(--theme-color)}.materials-grid-actions .right-wrap .button{align-items:center;display:flex;font-size:12px;height:28px;justify-content:center}.filter-dropdown-wrap{display:flex;flex-direction:column;max-height:400px;max-width:calc(100vw - 24px);min-width:250px;padding:4px;width:400px}.filter-dropdown-wrap .filter-dropdown-wrap-content{flex:1 1;overflow:auto}.filter-dropdown-wrap .filter-dropdown-drag-item{align-items:center;background:#f9fafb;background:var(--gray-50,#f9fafb);border-radius:8px;display:flex;margin-bottom:12px;padding:8px 12px 12px}.filter-dropdown-wrap .filter-dropdown-drag-item .dots-six-icon{color:#98a2b3;cursor:pointer;font-size:24px}.filter-dropdown-wrap .filter-dropdown-drag-item .pisell-lowcode-form-item{margin-bottom:0}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right{flex:1 1;margin-left:16px}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right .filter-dropdown-drag-item-title{color:#777;color:var(--text-text-2,#777);font-size:14px;font-style:normal;font-weight:600;line-height:20px}.filter-dropdown-container-wrap{border-bottom:1px solid #e2e2e2;border-bottom:1px solid var(--surface-surface-4,#e2e2e2);margin-bottom:20px;min-height:70px}.filter-dropdown-container-wrap:last-child{border:none}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap{align-items:center;color:#919191;color:var(--text-text-3,#919191);display:flex;font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin-bottom:12px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-title{color:#101828;color:var(--gray-900,#101828);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-right:6px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-icon-help{color:#98a2b3;color:var(--gray-400,#98a2b3);font-size:20px}.filter-dropdown-container-wrap .filter-dropdown-container-filter-wrap{min-height:80px}.materials-sort-list-empty{color:#5a5a5a;display:block;padding-top:22px;text-align:center}.materials-grid-summary{margin-bottom:16px}.grid-view-table-wrap{position:relative}.materials-grid-paginator{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:center;margin:0!important;padding:0 20px;width:100%}.materials-grid-paginator .pisell-lowcode-pagination-total-text{color:#667085;color:var(--gray-500,#667085);font-size:14px;font-style:normal;font-weight:500;margin-right:auto}.materials-grid-paginator .pisell-lowcode-pagination-item{border:1px solid #d0d5dd;border-radius:0;border-right:0;margin:0;position:relative}.materials-grid-paginator .pisell-lowcode-pagination-jump-next,.materials-grid-paginator .pisell-lowcode-pagination-jump-prev{border:1px solid #d0d5dd;border-radius:0;border-right:none;margin:0}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover .pisell-lowcode-pagination-item-link-icon{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active:hover{border-color:#d0d5dd!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active{background-color:rgba(0,0,0,.06)}.materials-grid-paginator .pisell-lowcode-pagination-item-active a{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-prev{align-items:center;border:1px solid #d0d5dd;border-radius:8px 0 0 8px;border-right:none;display:flex;justify-content:center;margin:0;min-width:auto}.materials-grid-paginator .pisell-lowcode-pagination-next{align-items:center;border:1px solid #d0d5dd;border-radius:0 8px 8px 0;display:flex;justify-content:center;margin:0;min-width:auto}.paginator-page-btn{align-items:center;border-radius:4px 4px 4px 4px;color:#344054;color:var(--gray-700,#344054);cursor:pointer;display:flex;font-size:12px;font-weight:400;justify-content:center;padding:10px 16px;transition:.2s;-ms-user-select:none;user-select:none}.paginator-page-btn .paginator-page-btn-text{font-weight:600}.paginator-page-btn .paginator-page-btn-left-icon,.paginator-page-btn .paginator-page-btn-right-icon{font-size:20px}.paginator-page-btn .paginator-page-btn-left-icon{margin-right:8px}.paginator-page-btn .paginator-page-btn-right-icon{margin-left:8px}.paginator-page-btn.left{margin-right:auto}.paginator-page-btn.left .icon{font-size:18px;margin-right:8px}.paginator-page-btn.right{margin-left:auto}.paginator-page-btn.right .icon{font-size:18px;margin-left:8px;transform:rotate(180deg)}.materials-grid-paginator-mini{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:space-between;margin:0!important;overflow:hidden;padding:0 20px;width:100%}.materials-grid-paginator-mini .paginator-page-btn{padding:8px}.materials-grid-paginator-mini .materials-grid-paginator-center{align-items:center;display:flex;gap:4px;justify-content:center}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-text{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:400}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-value{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:500}.materials-grid-paginator-mini .pisell-lowcode-pagination-next,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev{border:1px solid #d0d5dd;border-radius:8px;margin:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-left-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-left-icon{margin-right:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-right-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-right-icon{margin-left:0}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.materials-grid-table-header-cell{align-items:center;display:flex;height:44px;padding:0 14px}.materials-grid-table-header-cell .field-icon{color:#777;font-size:18px}.materials-grid-table-header-cell .materials-grid-table-header-cell-content{color:#1b1b1b;flex:auto;font-size:14px;font-weight:600;overflow:hidden;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.materials-grid-table-header-cell .actions{align-items:center;display:flex;gap:8px}.materials-grid-table-header-cell .actions .action{color:#ababab;cursor:pointer;font-size:14px}.editable-cell-value-wrap{height:100%;width:100%}.materials-grid-table-cell{height:1px;padding:0!important}.cell-provider{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:100%;justify-content:center;padding:12px;position:relative;width:100%}.cell-provider.focus{box-shadow:var(--theme-color) 0 0 0 1px!important}