@object-ui/plugin-list 3.1.5 → 3.3.0

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 (33) hide show
  1. package/.turbo/turbo-build.log +83 -10
  2. package/CHANGELOG.md +22 -0
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.js +34834 -34375
  5. package/dist/index.umd.cjs +34 -33
  6. package/dist/{src → packages/plugin-list/src}/ListView.d.ts +17 -1
  7. package/dist/packages/plugin-list/src/ListView.d.ts.map +1 -0
  8. package/dist/packages/plugin-list/src/ListView.stories.d.ts.map +1 -0
  9. package/dist/packages/plugin-list/src/ObjectGallery.d.ts.map +1 -0
  10. package/dist/packages/plugin-list/src/UserFilters.d.ts.map +1 -0
  11. package/dist/packages/plugin-list/src/ViewSwitcher.d.ts.map +1 -0
  12. package/dist/packages/plugin-list/src/components/TabBar.d.ts.map +1 -0
  13. package/dist/{src → packages/plugin-list/src}/index.d.ts +1 -1
  14. package/dist/packages/plugin-list/src/index.d.ts.map +1 -0
  15. package/dist/plugin-list.css +1 -1
  16. package/package.json +11 -11
  17. package/src/ListView.tsx +41 -4
  18. package/src/__tests__/ListRefresh.test.tsx +276 -0
  19. package/src/__tests__/ListView.test.tsx +4 -2
  20. package/src/index.tsx +1 -1
  21. package/vite.config.ts +1 -0
  22. package/dist/src/ListView.d.ts.map +0 -1
  23. package/dist/src/ListView.stories.d.ts.map +0 -1
  24. package/dist/src/ObjectGallery.d.ts.map +0 -1
  25. package/dist/src/UserFilters.d.ts.map +0 -1
  26. package/dist/src/ViewSwitcher.d.ts.map +0 -1
  27. package/dist/src/components/TabBar.d.ts.map +0 -1
  28. package/dist/src/index.d.ts.map +0 -1
  29. /package/dist/{src → packages/plugin-list/src}/ListView.stories.d.ts +0 -0
  30. /package/dist/{src → packages/plugin-list/src}/ObjectGallery.d.ts +0 -0
  31. /package/dist/{src → packages/plugin-list/src}/UserFilters.d.ts +0 -0
  32. /package/dist/{src → packages/plugin-list/src}/ViewSwitcher.d.ts +0 -0
  33. /package/dist/{src → packages/plugin-list/src}/components/TabBar.d.ts +0 -0
@@ -1,24 +1,97 @@
1
1
 
2
- > @object-ui/plugin-list@3.1.5 build /home/runner/work/objectui/objectui/packages/plugin-list
2
+ > @object-ui/plugin-list@3.3.0 build /home/runner/work/objectui/objectui/packages/plugin-list
3
3
  > vite build
4
4
 
5
- vite v8.0.1 building client environment for production...
6
- 
5
+ vite v8.0.8 building client environment for production...
6
+ 
7
7
  rendering chunks...
8
8
  
9
9
  [vite:dts] Start generate declaration files...
10
- [vite:dts] Declaration files built in 16181ms.
10
+ src/ListView.tsx:348:30 - error TS7006: Parameter 's' implicitly has an 'any' type.
11
+
12
+ 348 return schema.sort.map(s => {
13
+    ~
14
+ src/ListView.tsx:379:41 - error TS7006: Parameter 't' implicitly has an 'any' type.
15
+
16
+ 379 const defaultTab = schema.tabs.find(t => t.isDefault);
17
+    ~
18
+ src/ListView.tsx:423:42 - error TS7006: Parameter 'event' implicitly has an 'any' type.
19
+
20
+ 423 const unsub = dataSource.onMutation((event) => {
21
+    ~~~~~
22
+ src/ListView.tsx:452:34 - error TS7006: Parameter 'qf' implicitly has an 'any' type.
23
+
24
+ 452 schema.quickFilters?.forEach(qf => {
25
+    ~~
26
+ src/ListView.tsx:727:61 - error TS7006: Parameter 'v' implicitly has an 'any' type.
27
+
28
+ 727 return schema.appearance.allowedVisualizations.filter(v =>
29
+    ~
30
+ src/ListView.tsx:836:55 - error TS7006: Parameter 'f' implicitly has an 'any' type.
31
+
32
+ 836 const orderMap = new Map(schema.fieldOrder.map((f, i) => [f, i]));
33
+    ~
34
+ src/ListView.tsx:836:58 - error TS7006: Parameter 'i' implicitly has an 'any' type.
35
+
36
+ 836 const orderMap = new Map(schema.fieldOrder.map((f, i) => [f, i]));
37
+    ~
38
+ src/ListView.tsx:842:16 - error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
39
+
40
+ 842 return orderA - orderB;
41
+    ~~~~~~
42
+ src/ListView.tsx:842:25 - error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
43
+
44
+ 842 return orderA - orderB;
45
+    ~~~~~~
46
+ src/ListView.tsx:1179:34 - error TS7006: Parameter 'field' implicitly has an 'any' type.
47
+
48
+ 1179 {allFields.map(field => (
49
+    ~~~~~
50
+ src/ListView.tsx:1282:34 - error TS7006: Parameter 'field' implicitly has an 'any' type.
51
+
52
+ 1282 {allFields.map(field => {
53
+    ~~~~~
54
+ src/ListView.tsx:1283:68 - error TS7006: Parameter 'f' implicitly has an 'any' type.
55
+
56
+ 1283 const isGrouped = groupingConfig?.fields?.some(f => f.field === field.name);
57
+    ~
58
+ src/ListView.tsx:1291:87 - error TS7006: Parameter 'f' implicitly has an 'any' type.
59
+
60
+ 1291 const newFields = (groupingConfig?.fields || []).filter(f => f.field !== field.name);
61
+    ~
62
+ src/ListView.tsx:1396:36 - error TS7006: Parameter 'field' implicitly has an 'any' type.
63
+
64
+ 1396 {allFields.map(field => (
65
+    ~~~~~
66
+ src/ListView.tsx:1443:75 - error TS7006: Parameter 'format' implicitly has an 'any' type.
67
+
68
+ 1443 {(resolvedExportOptions.formats || ['csv', 'json']).map(format => (
69
+    ~~~~~~
70
+ src/ListView.tsx:1590:43 - error TS7006: Parameter 'w' implicitly has an 'any' type.
71
+
72
+ 1590 iconName.split('-').map(w => w.charAt(0).toUpperCase() + w.slice(1)).join('')
73
+    ~
74
+ src/ListView.tsx:1640:37 - error TS7006: Parameter 'action' implicitly has an 'any' type.
75
+
76
+ 1640 {schema.bulkActions.map(action => (
77
+    ~~~~~~
78
+ src/ListView.tsx:1687:54 - error TS7006: Parameter 'size' implicitly has an 'any' type.
79
+
80
+ 1687 {schema.pagination.pageSizeOptions.map(size => (
81
+    ~~~~
82
+
83
+ [vite:dts] Declaration files built in 13681ms.
11
84
  
12
85
  computing gzip size...
13
- dist/plugin-list.css 119.62 kB │ gzip: 19.46 kB
14
- dist/index.js 2,062.66 kB │ gzip: 481.85 kB
86
+ dist/plugin-list.css 123.29 kB │ gzip: 19.92 kB
87
+ dist/index.js 2,078.36 kB │ gzip: 488.95 kB
15
88
 
16
89
  [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugin `vite:dts`. See https://rolldown.rs/options/checks#plugintimings for more details.
17
90
  
18
- 
91
+ 
19
92
  rendering chunks...
20
93
  computing gzip size...
21
- dist/plugin-list.css 119.62 kB │ gzip: 19.46 kB
22
- dist/index.umd.cjs 1,585.43 kB │ gzip: 428.85 kB
94
+ dist/plugin-list.css 123.29 kB │ gzip: 19.92 kB
95
+ dist/index.umd.cjs 1,595.52 kB │ gzip: 433.93 kB
23
96
 
24
- ✓ built in 22.86s
97
+ ✓ built in 20.91s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @object-ui/plugin-list
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @object-ui/types@3.3.0
8
+ - @object-ui/core@3.3.0
9
+ - @object-ui/i18n@3.3.0
10
+ - @object-ui/react@3.3.0
11
+ - @object-ui/components@3.3.0
12
+ - @object-ui/mobile@3.3.0
13
+
14
+ ## 3.2.0
15
+
16
+ ### Patch Changes
17
+
18
+ - @object-ui/types@3.2.0
19
+ - @object-ui/core@3.2.0
20
+ - @object-ui/i18n@3.2.0
21
+ - @object-ui/react@3.2.0
22
+ - @object-ui/components@3.2.0
23
+ - @object-ui/mobile@3.2.0
24
+
3
25
  ## 3.1.5
4
26
 
5
27
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './src/index'
1
+ export * from './packages/plugin-list/src/index'
2
2
  export {}