@bigbinary/neeto-filters-frontend 2.11.20 → 2.12.1
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/README.md +29 -0
- package/dist/index.cjs.js +2302 -2953
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +2304 -2956
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/types.d.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-filters-frontend",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "Manage filters across neeto products.",
|
|
5
5
|
"author": "BigBinary",
|
|
6
6
|
"license": "MIT",
|
|
@@ -87,8 +87,10 @@
|
|
|
87
87
|
"html-loader": "4.2.0",
|
|
88
88
|
"html-webpack-plugin": "5.5.0",
|
|
89
89
|
"husky": "7.0.4",
|
|
90
|
-
"i18next": "
|
|
90
|
+
"i18next": "^23.2.11",
|
|
91
|
+
"js-logger": "^1.6.1",
|
|
91
92
|
"lint-staged": "12.4.1",
|
|
93
|
+
"mixpanel-browser": "^2.47.0",
|
|
92
94
|
"postcss": "^8.4.17",
|
|
93
95
|
"postcss-import": "^15.0.0",
|
|
94
96
|
"postcss-loader": "^7.0.1",
|
|
@@ -100,7 +102,7 @@
|
|
|
100
102
|
"react": "17.0.2",
|
|
101
103
|
"react-dom": "17.0.2",
|
|
102
104
|
"react-helmet": "^6.1.0",
|
|
103
|
-
"react-i18next": "
|
|
105
|
+
"react-i18next": "^13.0.2",
|
|
104
106
|
"react-query": "3.39.2",
|
|
105
107
|
"react-router-dom": "5.3.1",
|
|
106
108
|
"react-toastify": "8.0.2",
|
package/types.d.ts
CHANGED
|
@@ -114,3 +114,19 @@ export function buildFiltersFromURL(
|
|
|
114
114
|
): filters[];
|
|
115
115
|
|
|
116
116
|
export function buildSelectorsFromURL(columns: Array<ColumnType>): selectors;
|
|
117
|
+
|
|
118
|
+
type FieldType = {
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
kind: string;
|
|
122
|
+
data: null | any;
|
|
123
|
+
resourceType?: string;
|
|
124
|
+
state?: string;
|
|
125
|
+
isSystem?: boolean;
|
|
126
|
+
isRequired?: boolean;
|
|
127
|
+
displayOrder?: number;
|
|
128
|
+
ownerType?: string;
|
|
129
|
+
ownerId?: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function buildFilterColumnsFromFields(fields: Array<FieldType>, selectedFields: string[]): ColumnType[];
|