rez-table-listing-mui 1.3.53 → 1.3.55

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez-table-listing-mui",
3
- "version": "1.3.53",
3
+ "version": "1.3.55",
4
4
  "type": "module",
5
5
  "description": "A rez table listing component built on TanStack Table",
6
6
  "main": "dist/index.js",
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var resolve = require('@rollup/plugin-node-resolve');
6
+ var commonjs = require('@rollup/plugin-commonjs');
7
+ var typescript = require('@rollup/plugin-typescript');
8
+ var terser = require('@rollup/plugin-terser');
9
+ var dts = require('rollup-plugin-dts');
10
+ var peerDepsExternal = require('rollup-plugin-peer-deps-external');
11
+ var postcss = require('rollup-plugin-postcss');
12
+
13
+ const packageJson = require("./package.json");
14
+
15
+ var rollup_config = [
16
+ {
17
+ input: "src/index.ts",
18
+ output: [
19
+ {
20
+ file: packageJson.main,
21
+ format: "cjs",
22
+ sourcemap: true,
23
+ },
24
+ {
25
+ file: packageJson.module,
26
+ format: "esm",
27
+ sourcemap: true,
28
+ },
29
+ ],
30
+ plugins: [
31
+ peerDepsExternal(),
32
+ resolve(),
33
+ commonjs(),
34
+ typescript({ tsconfig: "./tsconfig.json" }),
35
+ terser(),
36
+ postcss(),
37
+ ],
38
+ external: ["react", "react-dom"],
39
+ },
40
+ {
41
+ input: "src/index.ts",
42
+ output: [{ file: packageJson.types }],
43
+ plugins: [dts.default()],
44
+ external: [/\.scss/],
45
+ },
46
+ ];
47
+
48
+ exports.default = rollup_config;
@@ -80,6 +80,7 @@ const ColumnTab = ({
80
80
 
81
81
  const mappedColumns: ColumnItem[] =
82
82
  columnTabAttributes?.map((column) => ({
83
+ ...column,
83
84
  label: column?.name,
84
85
  value: column?.attribute_key,
85
86
  })) || [];
@@ -543,7 +543,9 @@ function ListingView() {
543
543
  columnsDataLoading={metaQuery.isPending}
544
544
  quickTabAttributes={quickTabAttributes?.data}
545
545
  quickTabAttributesLoading={quickTabAttributes?.isLoading}
546
- columnTabAttributes={settingsColumnAttributes?.data?.slice(0, 25)}
546
+ columnTabAttributes={settingsColumnAttributes?.data?.filter(
547
+ (item) => item.attribute_key
548
+ )}
547
549
  columnAttributesLoading={settingsColumnAttributes?.isLoading}
548
550
  sortingTabAttributes={sortingTabAttributes?.data}
549
551
  sortingTabAttributesLoading={sortingTabAttributes?.isLoading}