@pisell/materials 1.0.299 → 1.0.301

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 (37) 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 +3 -3
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +12 -12
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/components/batch-editor/fields/Price/index.d.ts +1 -0
  12. package/es/components/batch-editor/fields/Price/index.js +8 -2
  13. package/es/components/batch-editor/index.js +24 -8
  14. package/es/components/batch-editor/index.less +2 -0
  15. package/es/components/page/index.js +12 -8
  16. package/es/components/table/Table/fields/select/filterUtil/index.js +11 -1
  17. package/es/components/table/index.less +47 -2
  18. package/es/locales/en-US.d.ts +1 -0
  19. package/es/locales/en-US.js +1 -0
  20. package/es/locales/zh-CN.d.ts +1 -0
  21. package/es/locales/zh-CN.js +2 -1
  22. package/es/locales/zh-TW.d.ts +1 -0
  23. package/es/locales/zh-TW.js +2 -1
  24. package/lib/components/batch-editor/fields/Price/index.d.ts +1 -0
  25. package/lib/components/batch-editor/fields/Price/index.js +3 -2
  26. package/lib/components/batch-editor/index.js +21 -10
  27. package/lib/components/batch-editor/index.less +2 -0
  28. package/lib/components/page/index.js +6 -6
  29. package/lib/components/table/Table/fields/select/filterUtil/index.js +7 -1
  30. package/lib/components/table/index.less +47 -2
  31. package/lib/locales/en-US.d.ts +1 -0
  32. package/lib/locales/en-US.js +1 -0
  33. package/lib/locales/zh-CN.d.ts +1 -0
  34. package/lib/locales/zh-CN.js +2 -1
  35. package/lib/locales/zh-TW.d.ts +1 -0
  36. package/lib/locales/zh-TW.js +2 -1
  37. package/package.json +3 -3
@@ -2,34 +2,67 @@
2
2
  height: 100%;
3
3
  flex: 1;
4
4
  }
5
+
5
6
  .materials-grid {
6
7
  width: 100%;
7
8
  height: 100%;
8
9
  display: flex;
9
10
  flex-direction: column;
11
+
10
12
  .pisell-lowcode-table-thead {
11
13
  .pisell-lowcode-table-cell {
12
14
  padding: 0 14px;
13
15
  height: 44px;
14
16
  }
15
17
  }
18
+
16
19
  .pisell-lowcode-table-cell {
17
20
  padding: 12px;
21
+
22
+ .pisell-lowcode-table-selection {
23
+ width: 100%;
24
+ height: 100%;
25
+
26
+ .pisell-lowcode-checkbox-wrapper {
27
+ width: 100%;
28
+ height: 100%;
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ }
33
+ }
34
+ }
35
+
36
+ .cell-provider {
37
+
38
+
39
+ .pisell-lowcode-checkbox-wrapper {
40
+ width: 100%;
41
+ height: 100%;
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: center;
45
+ }
18
46
  }
47
+
19
48
  .pisell-lowcode-table-filter-column {
20
49
  align-items: center;
50
+
21
51
  .pisell-lowcode-dropdown-trigger {
22
52
  width: 25px;
23
53
  height: 25px;
24
54
  justify-content: center;
25
55
  }
56
+
26
57
  .pisell-lowcode-table-filter-trigger.active {
27
58
  background: var(--primary-100, #F4EBFF);
28
59
  }
29
60
  }
61
+
30
62
  .pisell-lowcode-table-column-sorters {
31
63
  cursor: pointer;
32
64
  }
65
+
33
66
  .pisell-table-sorter-inner {
34
67
  width: 25px;
35
68
  height: 25px;
@@ -42,47 +75,59 @@
42
75
  transition: color 0.3s;
43
76
  border-radius: 8px;
44
77
  justify-content: center;
78
+
45
79
  &:hover {
46
80
  background: var(--primary-100, #F4EBFF);
47
81
  }
48
- .pisell-table-column-sorter-up,.pisell-table-column-sorter-down {
82
+
83
+ .pisell-table-column-sorter-up,
84
+ .pisell-table-column-sorter-down {
49
85
  color: rgba(102, 112, 133, 0.65);
50
86
  font-size: 12px;
51
87
  }
88
+
52
89
  .pisell-table-column-sorter-down {
53
90
  margin-top: -0.3em;
54
91
  }
92
+
55
93
  .pisell-table-column-up {
56
94
  font-size: 20px;
57
95
  }
96
+
58
97
  .pisell-table-column-down {
59
98
  font-size: 20px;
60
99
  transform: rotate(180deg);
61
100
  }
62
101
  }
102
+
63
103
  .pisell-table-sorter-inner.active {
64
104
  background: var(--primary-100, #F4EBFF);
65
105
  cursor: pointer;
66
106
  color: #7F56D9
67
107
  }
68
108
 
69
- .pisell-lowcode-table-wrapper .pisell-lowcode-table.pisell-lowcode-table-bordered >.pisell-lowcode-table-container {
109
+ .pisell-lowcode-table-wrapper .pisell-lowcode-table.pisell-lowcode-table-bordered>.pisell-lowcode-table-container {
70
110
  border-left: none;
71
111
  }
112
+
72
113
  .pisell-lowcode-table-wrapper .pisell-lowcode-table-bordered .pisell-lowcode-table-thead tr td:first-child {
73
114
  border-left: 1px solid #EAECF0;
74
115
  }
116
+
75
117
  .pisell-lowcode-table-wrapper .pisell-lowcode-table-bordered .pisell-lowcode-table-thead tr th:first-child {
76
118
  border-left: 1px solid #EAECF0;
77
119
  }
120
+
78
121
  div.pisell-lowcode-table-selection-column {
79
122
  display: flex;
80
123
  align-items: center;
81
124
  justify-content: center;
82
125
  }
126
+
83
127
  .pisell-lowcode-table-bordered .pisell-lowcode-table-tbody .pisell-lowcode-table-selection-column {
84
128
  border-left: 1px solid #EAECF0;
85
129
  }
130
+
86
131
  .drag-sort-cell {
87
132
  .editable-cell-value-wrap {
88
133
  display: flex;
@@ -42,6 +42,7 @@ declare const _default: {
42
42
  'batch-editor-remove': string;
43
43
  'batch-editor-price': string;
44
44
  'batch-editor-cancel': string;
45
+ 'batch-editor-search': string;
45
46
  'batch-editor-confirm': string;
46
47
  'batch-editor-batch-remove': string;
47
48
  'batch-editor-quick-edit': string;
@@ -66,6 +66,7 @@ var en_US_default = {
66
66
  "batch-editor-remove": "Remove",
67
67
  "batch-editor-price": "Price",
68
68
  "batch-editor-cancel": "Cancel",
69
+ "batch-editor-search": "Search",
69
70
  "batch-editor-confirm": "Confirm",
70
71
  "batch-editor-batch-remove": "Batch remove",
71
72
  "batch-editor-quick-edit": "Quick edit",
@@ -42,6 +42,7 @@ declare const _default: {
42
42
  'batch-editor-remove': string;
43
43
  'batch-editor-price': string;
44
44
  'batch-editor-cancel': string;
45
+ 'batch-editor-search': string;
45
46
  'batch-editor-confirm': string;
46
47
  'batch-editor-batch-remove': string;
47
48
  'batch-editor-quick-edit': string;
@@ -63,9 +63,10 @@ var zh_CN_default = {
63
63
  "virtual-keyboard-time-ok": "确定",
64
64
  "batch-editor-batch-edit": "批量编辑",
65
65
  "batch-editor-actions": "操作",
66
- "batch-editor-remove": "删除",
66
+ "batch-editor-remove": "移除",
67
67
  "batch-editor-price": "价格",
68
68
  "batch-editor-cancel": "取消",
69
+ "batch-editor-search": "搜索",
69
70
  "batch-editor-confirm": "确认",
70
71
  "batch-editor-batch-remove": "批量移除",
71
72
  "batch-editor-quick-edit": "快速编辑",
@@ -42,6 +42,7 @@ declare const _default: {
42
42
  'batch-editor-remove': string;
43
43
  'batch-editor-price': string;
44
44
  'batch-editor-cancel': string;
45
+ 'batch-editor-search': string;
45
46
  'batch-editor-confirm': string;
46
47
  'batch-editor-batch-remove': string;
47
48
  'batch-editor-what-price': string;
@@ -63,9 +63,10 @@ var zh_TW_default = {
63
63
  "virtual-keyboard-time-ok": "確定",
64
64
  "batch-editor-batch-edit": "批量編輯",
65
65
  "batch-editor-actions": "操作",
66
- "batch-editor-remove": "刪除",
66
+ "batch-editor-remove": "移除",
67
67
  "batch-editor-price": "價格",
68
68
  "batch-editor-cancel": "取消",
69
+ "batch-editor-search": "搜索",
69
70
  "batch-editor-confirm": "確認",
70
71
  "batch-editor-batch-remove": "批量移除",
71
72
  "batch-editor-what-price": "什麼價格",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.299",
3
+ "version": "1.0.301",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -63,8 +63,8 @@
63
63
  "react-virtualized-auto-sizer": "^1.0.20",
64
64
  "crypto-js": "^4.2.0",
65
65
  "@pisell/utils": "1.0.25",
66
- "@pisell/date-picker": "1.0.72",
67
- "@pisell/icon": "0.0.8"
66
+ "@pisell/icon": "0.0.8",
67
+ "@pisell/date-picker": "1.0.73"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "^18.0.0",