impact-ui 4.0.8 → 4.0.9

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.
@@ -1,4 +1,4 @@
1
- var dist = {};
1
+ var reactIs = { exports: {} };
2
2
  export {
3
- dist as __exports
3
+ reactIs as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var reactIs = { exports: {} };
1
+ var dist = {};
2
2
  export {
3
- reactIs as __module
3
+ dist as __exports
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,yBAAyB,CAAC;AAEjC;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,SAAS,wHAiIrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,yBAAyB,CAAC;AAEjC;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,SAAS,wHA+HrB,CAAC"}
@@ -33,7 +33,6 @@ const Accordion = forwardRef(
33
33
  },
34
34
  [onChange, setExpanded]
35
35
  );
36
- console.log("14-aug");
37
36
  const handleMultiAccordionChange = useCallback(
38
37
  (value) => {
39
38
  if (onChange) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAG9B,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,MAAM,wHA4JlB,CAAC;AAIF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAG9B,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,MAAM,wHA0JlB,CAAC;AAIF,eAAe,MAAM,CAAC"}
@@ -119,7 +119,6 @@ const Button = forwardRef(
119
119
  }
120
120
  );
121
121
  }
122
- console.log(" new depoloyed");
123
122
  return /* @__PURE__ */ jsxs(
124
123
  Button$1,
125
124
  {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.tsx"],"names":[],"mappings":"AAuBA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAK7B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAonDhD,eAAO,MAAM,KAAK,6GAUhB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.tsx"],"names":[],"mappings":"AAuBA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAK7B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAmnDhD,eAAO,MAAM,KAAK,6GAUhB,CAAC"}
@@ -514,12 +514,10 @@ const TableContent = forwardRef(
514
514
  },
515
515
  headerComponent: customHeaderComponent ? customHeaderComponent : AgGridHeaderWrapper
516
516
  };
517
- if (child.filter === "agDateColumnFilter" && !((_a2 = child.filterParams) == null ? void 0 : _a2.comparator)) {
517
+ if (child.filter === "agDateColumnFilter") {
518
518
  obj.filterParams = {
519
519
  ...child.filterParams,
520
- // Enable all filter buttons/operators
521
520
  buttons: ["apply", "clear", "reset"],
522
- // Explicitly enable all date filter options
523
521
  filterOptions: [
524
522
  "equals",
525
523
  "notEqual",
@@ -529,17 +527,15 @@ const TableContent = forwardRef(
529
527
  "greaterThanOrEqual",
530
528
  "inRange"
531
529
  ],
532
- // Suppress the filter options UI (we're using advance search)
533
530
  suppressAndOrCondition: true,
534
- // Add comparator for date comparison
535
- comparator: (filterLocalDateAtMidnight, cellValue) => {
531
+ comparator: ((_a2 = child.filterParams) == null ? void 0 : _a2.comparator) ?? ((filterLocalDateAtMidnight, cellValue) => {
536
532
  if (!cellValue) return -1;
537
533
  const cellDate = new Date(cellValue);
538
534
  cellDate.setHours(0, 0, 0, 0);
539
535
  if (cellDate < filterLocalDateAtMidnight) return -1;
540
536
  if (cellDate > filterLocalDateAtMidnight) return 1;
541
537
  return 0;
542
- }
538
+ })
543
539
  };
544
540
  }
545
541
  if (child.enableMultiSelect && child.thirdOptionAsDropdown) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAK7B,eAAO,MAAM,QAAQ,mFA6oBpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableOld/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAK7B,eAAO,MAAM,QAAQ,mFA+oBpB,CAAC"}
@@ -215,7 +215,9 @@ const OldTable = forwardRef(
215
215
  return cols.map((child) => {
216
216
  const obj = {
217
217
  ...child,
218
- cellClass: (child.cellClass || "") + (child.editable ? " editable-ag-cell" : "") + (["number", "int", "percentage", "dollar", "trend", "float"].includes(child.type) ? " number-cell" : "") + (rowHeight === 46 ? " default-cell" : rowHeight === 30 ? " compact-cell" : " comfort-cell"),
218
+ cellClass: (child.cellClass || "") + (child.editable ? " editable-ag-cell" : "") + (["number", "int", "percentage", "dollar", "trend", "float", "euro"].includes(
219
+ child.type
220
+ ) ? " number-cell" : "") + (rowHeight === 46 ? " default-cell" : rowHeight === 30 ? " compact-cell" : " comfort-cell"),
219
221
  headerClass: (child.headerClass || "") + (["number", "int", "percentage", "dollar", "trend", "float"].includes(child.type) ? " number-cell" : ""),
220
222
  width: child.checkboxSelection || child.headerCheckboxSelection ? viewPoint === "list" ? "48px" : "40px" : child.width || void 0,
221
223
  headerComponentParams: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "generatedAt": "2026-09-02T14:26:13.613Z",
3
+ "generatedAt": "2026-09-04T14:15:45.242Z",
4
4
  "components": {
5
5
  "Menu": {
6
6
  "title": "Components/Menu",
@@ -1,4 +1,4 @@
1
- import { __module as reactIs } from "../../../../_virtual/index14.js";
1
+ import { __module as reactIs } from "../../../../_virtual/index13.js";
2
2
  import { __require as requireReactIs_production_min } from "./cjs/react-is.production.min.js";
3
3
  import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
4
4
  if (process.env.NODE_ENV === "production") {
@@ -1,4 +1,4 @@
1
- import { __exports as dist } from "../../../_virtual/index13.js";
1
+ import { __exports as dist } from "../../../_virtual/index14.js";
2
2
  import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
3
  import { __require as requireArray_prototype_flat } from "../../array.prototype.flat/index.js";
4
4
  import { __require as requireGlobalCache } from "../../global-cache/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impact-ui",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "description": "Impact Analytics UI library",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",
@@ -1,363 +0,0 @@
1
- export declare const rowData: {
2
- product_group_id: number;
3
- product_group_name: string;
4
- product_group_description: string;
5
- product_group_type: string;
6
- created_by_user: string;
7
- modified_by_user: string;
8
- created_at: string;
9
- modified_at: string;
10
- group_under_process: number;
11
- products_count: number;
12
- markdown_products_count: number;
13
- strategies_count: number;
14
- promos_count: number;
15
- is_excluded_in_event: boolean;
16
- currency_symbols: never[];
17
- source_application: string;
18
- l0_name: string;
19
- l1_name: string;
20
- l2_name: string;
21
- is_centrally_managed: boolean;
22
- price_list_code: string;
23
- markets: string[];
24
- }[];
25
- export declare const columnDefs: ({
26
- field: string;
27
- colId: string;
28
- headerName: string;
29
- sortable: boolean;
30
- filter: boolean;
31
- resizable: boolean;
32
- editable: boolean;
33
- hide: boolean;
34
- pinned: string;
35
- width: number;
36
- minWidth: number;
37
- enableRowGroup: boolean;
38
- enablePivot: boolean;
39
- enableValue: boolean;
40
- rowDrag: boolean;
41
- checkboxSelection: boolean;
42
- headerCheckboxSelection: boolean;
43
- headerCheckboxSelectionFilteredOnly: boolean;
44
- autoHeight: boolean;
45
- wrapText: boolean;
46
- suppressSizeToFit: boolean;
47
- suppressAutoSize: boolean;
48
- suppressMenu: boolean;
49
- suppressMovable: boolean;
50
- lockPinned: boolean;
51
- lockVisible: boolean;
52
- type: string;
53
- isSearchable: boolean;
54
- advanceSearchEnabled: boolean;
55
- formatter?: undefined;
56
- _formatterCode?: undefined;
57
- cellRendererParams?: undefined;
58
- cellDataType?: undefined;
59
- filterParams?: undefined;
60
- flex?: undefined;
61
- } | {
62
- field: string;
63
- colId: string;
64
- headerName: string;
65
- sortable: boolean;
66
- filter: string;
67
- resizable: boolean;
68
- editable: boolean;
69
- hide: boolean;
70
- pinned: string;
71
- minWidth: number;
72
- enableRowGroup: boolean;
73
- enablePivot: boolean;
74
- enableValue: boolean;
75
- rowDrag: boolean;
76
- checkboxSelection: boolean;
77
- headerCheckboxSelection: boolean;
78
- autoHeight: boolean;
79
- wrapText: boolean;
80
- suppressSizeToFit: boolean;
81
- suppressAutoSize: boolean;
82
- suppressMenu: boolean;
83
- suppressMovable: boolean;
84
- lockPinned: boolean;
85
- lockVisible: boolean;
86
- type: string;
87
- isSearchable: boolean;
88
- advanceSearchEnabled: boolean;
89
- formatter: string;
90
- _formatterCode: string;
91
- cellRendererParams: {
92
- icons: {
93
- processing: {
94
- key: string;
95
- trueValue: number;
96
- };
97
- };
98
- disableKey?: undefined;
99
- disableOperator?: undefined;
100
- };
101
- width?: undefined;
102
- headerCheckboxSelectionFilteredOnly?: undefined;
103
- cellDataType?: undefined;
104
- filterParams?: undefined;
105
- flex?: undefined;
106
- } | {
107
- field: string;
108
- colId: string;
109
- headerName: string;
110
- sortable: boolean;
111
- filter: string;
112
- resizable: boolean;
113
- editable: boolean;
114
- hide: boolean;
115
- width: number;
116
- minWidth: number;
117
- enableRowGroup: boolean;
118
- enablePivot: boolean;
119
- enableValue: boolean;
120
- rowDrag: boolean;
121
- checkboxSelection: boolean;
122
- headerCheckboxSelection: boolean;
123
- autoHeight: boolean;
124
- wrapText: boolean;
125
- suppressSizeToFit: boolean;
126
- suppressAutoSize: boolean;
127
- suppressMenu: boolean;
128
- suppressMovable: boolean;
129
- lockPinned: boolean;
130
- lockVisible: boolean;
131
- type: string;
132
- isSearchable: boolean;
133
- advanceSearchEnabled: boolean;
134
- formatter: string;
135
- _formatterCode: string;
136
- pinned?: undefined;
137
- headerCheckboxSelectionFilteredOnly?: undefined;
138
- cellRendererParams?: undefined;
139
- cellDataType?: undefined;
140
- filterParams?: undefined;
141
- flex?: undefined;
142
- } | {
143
- field: string;
144
- colId: string;
145
- headerName: string;
146
- sortable: boolean;
147
- filter: string;
148
- resizable: boolean;
149
- editable: boolean;
150
- hide: boolean;
151
- width: number;
152
- minWidth: number;
153
- enableRowGroup: boolean;
154
- enablePivot: boolean;
155
- enableValue: boolean;
156
- rowDrag: boolean;
157
- checkboxSelection: boolean;
158
- headerCheckboxSelection: boolean;
159
- autoHeight: boolean;
160
- wrapText: boolean;
161
- suppressSizeToFit: boolean;
162
- suppressAutoSize: boolean;
163
- suppressMenu: boolean;
164
- suppressMovable: boolean;
165
- lockPinned: boolean;
166
- lockVisible: boolean;
167
- cellDataType: string;
168
- type: string;
169
- isSearchable: boolean;
170
- advanceSearchEnabled: boolean;
171
- formatter: string;
172
- _formatterCode: string;
173
- pinned?: undefined;
174
- headerCheckboxSelectionFilteredOnly?: undefined;
175
- cellRendererParams?: undefined;
176
- filterParams?: undefined;
177
- flex?: undefined;
178
- } | {
179
- field: string;
180
- colId: string;
181
- headerName: string;
182
- sortable: boolean;
183
- filter: string;
184
- resizable: boolean;
185
- editable: boolean;
186
- hide: boolean;
187
- width: number;
188
- minWidth: number;
189
- enableRowGroup: boolean;
190
- enablePivot: boolean;
191
- enableValue: boolean;
192
- rowDrag: boolean;
193
- checkboxSelection: boolean;
194
- headerCheckboxSelection: boolean;
195
- autoHeight: boolean;
196
- wrapText: boolean;
197
- suppressSizeToFit: boolean;
198
- suppressAutoSize: boolean;
199
- suppressMenu: boolean;
200
- suppressMovable: boolean;
201
- lockPinned: boolean;
202
- lockVisible: boolean;
203
- cellDataType: string;
204
- type: string;
205
- isSearchable: boolean;
206
- advanceSearchEnabled: boolean;
207
- pinned?: undefined;
208
- headerCheckboxSelectionFilteredOnly?: undefined;
209
- formatter?: undefined;
210
- _formatterCode?: undefined;
211
- cellRendererParams?: undefined;
212
- filterParams?: undefined;
213
- flex?: undefined;
214
- } | {
215
- field: string;
216
- colId: string;
217
- headerName: string;
218
- sortable: boolean;
219
- filter: string;
220
- resizable: boolean;
221
- editable: boolean;
222
- hide: boolean;
223
- width: number;
224
- minWidth: number;
225
- enableRowGroup: boolean;
226
- enablePivot: boolean;
227
- enableValue: boolean;
228
- rowDrag: boolean;
229
- checkboxSelection: boolean;
230
- headerCheckboxSelection: boolean;
231
- autoHeight: boolean;
232
- wrapText: boolean;
233
- suppressSizeToFit: boolean;
234
- suppressAutoSize: boolean;
235
- suppressMenu: boolean;
236
- suppressMovable: boolean;
237
- lockPinned: boolean;
238
- lockVisible: boolean;
239
- type: string;
240
- isSearchable: boolean;
241
- advanceSearchEnabled: boolean;
242
- pinned?: undefined;
243
- headerCheckboxSelectionFilteredOnly?: undefined;
244
- formatter?: undefined;
245
- _formatterCode?: undefined;
246
- cellRendererParams?: undefined;
247
- cellDataType?: undefined;
248
- filterParams?: undefined;
249
- flex?: undefined;
250
- } | {
251
- field: string;
252
- colId: string;
253
- headerName: string;
254
- sortable: boolean;
255
- filter: string;
256
- resizable: boolean;
257
- editable: boolean;
258
- hide: boolean;
259
- minWidth: number;
260
- enableRowGroup: boolean;
261
- enablePivot: boolean;
262
- enableValue: boolean;
263
- rowDrag: boolean;
264
- checkboxSelection: boolean;
265
- headerCheckboxSelection: boolean;
266
- autoHeight: boolean;
267
- wrapText: boolean;
268
- suppressSizeToFit: boolean;
269
- suppressAutoSize: boolean;
270
- suppressMenu: boolean;
271
- suppressMovable: boolean;
272
- lockPinned: boolean;
273
- lockVisible: boolean;
274
- type: string;
275
- isSearchable: boolean;
276
- advanceSearchEnabled: boolean;
277
- formatter: string;
278
- _formatterCode: string;
279
- pinned?: undefined;
280
- width?: undefined;
281
- headerCheckboxSelectionFilteredOnly?: undefined;
282
- cellRendererParams?: undefined;
283
- cellDataType?: undefined;
284
- filterParams?: undefined;
285
- flex?: undefined;
286
- } | {
287
- field: string;
288
- colId: string;
289
- headerName: string;
290
- sortable: boolean;
291
- filter: string;
292
- resizable: boolean;
293
- editable: boolean;
294
- hide: boolean;
295
- width: number;
296
- minWidth: number;
297
- enableRowGroup: boolean;
298
- enablePivot: boolean;
299
- enableValue: boolean;
300
- rowDrag: boolean;
301
- checkboxSelection: boolean;
302
- headerCheckboxSelection: boolean;
303
- autoHeight: boolean;
304
- wrapText: boolean;
305
- suppressSizeToFit: boolean;
306
- suppressAutoSize: boolean;
307
- suppressMenu: boolean;
308
- suppressMovable: boolean;
309
- lockPinned: boolean;
310
- lockVisible: boolean;
311
- type: string;
312
- isSearchable: boolean;
313
- advanceSearchEnabled: boolean;
314
- formatter: string;
315
- _formatterCode: string;
316
- filterParams: {};
317
- pinned?: undefined;
318
- headerCheckboxSelectionFilteredOnly?: undefined;
319
- cellRendererParams?: undefined;
320
- cellDataType?: undefined;
321
- flex?: undefined;
322
- } | {
323
- field: string;
324
- colId: string;
325
- headerName: string;
326
- sortable: boolean;
327
- filter: string;
328
- resizable: boolean;
329
- editable: boolean;
330
- hide: boolean;
331
- minWidth: number;
332
- flex: number;
333
- enableRowGroup: boolean;
334
- enablePivot: boolean;
335
- enableValue: boolean;
336
- rowDrag: boolean;
337
- checkboxSelection: boolean;
338
- headerCheckboxSelection: boolean;
339
- autoHeight: boolean;
340
- wrapText: boolean;
341
- suppressSizeToFit: boolean;
342
- suppressAutoSize: boolean;
343
- suppressMenu: boolean;
344
- suppressMovable: boolean;
345
- lockPinned: boolean;
346
- lockVisible: boolean;
347
- type: string;
348
- isSearchable: boolean;
349
- advanceSearchEnabled: boolean;
350
- formatter: string;
351
- _formatterCode: string;
352
- cellRendererParams: {
353
- disableKey: string;
354
- disableOperator: string;
355
- icons?: undefined;
356
- };
357
- pinned?: undefined;
358
- width?: undefined;
359
- headerCheckboxSelectionFilteredOnly?: undefined;
360
- cellDataType?: undefined;
361
- filterParams?: undefined;
362
- })[];
363
- //# sourceMappingURL=productGroupTableData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productGroupTableData.d.ts","sourceRoot":"","sources":["../../src/dev/productGroupTableData.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;GA0lBnB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6dtB,CAAC"}