@3mo/data-grid 0.21.2 → 0.22.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.
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "name": "columns",
16
16
  "description": "The columns to be displayed in the DataGrid. It is an array of objects, where each object represents a column.",
17
- "type": "DataGridColumn<TData, unknown>[]",
17
+ "type": "DataGridColumn<TData, any>[]",
18
18
  "default": "\"new Array<DataGridColumn<TData>>()\""
19
19
  },
20
20
  {
@@ -188,7 +188,7 @@
188
188
  },
189
189
  {
190
190
  "name": "columnsChange",
191
- "type": "EventDispatcher<DataGridColumn<TData, unknown>[]>"
191
+ "type": "EventDispatcher<DataGridColumn<TData, any>[]>"
192
192
  },
193
193
  {
194
194
  "name": "sidePanelOpen",
@@ -248,11 +248,11 @@
248
248
  },
249
249
  {
250
250
  "name": "extractedColumns",
251
- "type": "DataGridColumn<TData, unknown>[]"
251
+ "type": "DataGridColumn<TData, any>[]"
252
252
  },
253
253
  {
254
254
  "name": "visibleColumns",
255
- "type": "DataGridColumn<TData, unknown>[]"
255
+ "type": "DataGridColumn<TData, any>[]"
256
256
  },
257
257
  {
258
258
  "name": "hasContextMenu",
@@ -377,7 +377,7 @@
377
377
  "name": "columns",
378
378
  "attribute": "columns",
379
379
  "description": "The columns to be displayed in the DataGrid. It is an array of objects, where each object represents a column.",
380
- "type": "DataGridColumn<TData, unknown>[]",
380
+ "type": "DataGridColumn<TData, any>[]",
381
381
  "default": "\"new Array<DataGridColumn<TData>>()\""
382
382
  },
383
383
  {
@@ -572,7 +572,7 @@
572
572
  },
573
573
  {
574
574
  "name": "columnsChange",
575
- "type": "CustomEvent<DataGridColumn<TData, unknown>[]>"
575
+ "type": "CustomEvent<DataGridColumn<TData, any>[]>"
576
576
  },
577
577
  {
578
578
  "name": "sidePanelOpen",
@@ -729,7 +729,7 @@
729
729
  "attributes": [
730
730
  {
731
731
  "name": "column",
732
- "type": "DataGridColumn<unknown, unknown>"
732
+ "type": "DataGridColumn<unknown, any>"
733
733
  },
734
734
  {
735
735
  "name": "menuOpen",
@@ -741,7 +741,7 @@
741
741
  {
742
742
  "name": "column",
743
743
  "attribute": "column",
744
- "type": "DataGridColumn<unknown, unknown>"
744
+ "type": "DataGridColumn<unknown, any>"
745
745
  },
746
746
  {
747
747
  "name": "menuOpen",
@@ -840,7 +840,7 @@
840
840
  },
841
841
  {
842
842
  "name": "column",
843
- "type": "DataGridColumn<unknown, unknown>"
843
+ "type": "DataGridColumn<unknown, any>"
844
844
  }
845
845
  ],
846
846
  "properties": [
@@ -852,7 +852,7 @@
852
852
  {
853
853
  "name": "column",
854
854
  "attribute": "column",
855
- "type": "DataGridColumn<unknown, unknown>"
855
+ "type": "DataGridColumn<unknown, any>"
856
856
  }
857
857
  ]
858
858
  },
@@ -1054,6 +1054,11 @@
1054
1054
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1055
1055
  "type": "DataGridColumnSticky | undefined"
1056
1056
  },
1057
+ {
1058
+ "name": "contentStyle",
1059
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1060
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1061
+ },
1057
1062
  {
1058
1063
  "name": "getContentTemplate",
1059
1064
  "description": "The content template of the column."
@@ -1092,10 +1097,6 @@
1092
1097
  "type": "string",
1093
1098
  "default": "\"var(--mo-color-gray)\""
1094
1099
  },
1095
- {
1096
- "name": "change",
1097
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
1098
- },
1099
1100
  {
1100
1101
  "name": "dataGrid",
1101
1102
  "attribute": "dataGrid",
@@ -1170,6 +1171,12 @@
1170
1171
  "attribute": "sticky",
1171
1172
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1172
1173
  "type": "DataGridColumnSticky | undefined"
1174
+ },
1175
+ {
1176
+ "name": "contentStyle",
1177
+ "attribute": "contentStyle",
1178
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1179
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1173
1180
  }
1174
1181
  ]
1175
1182
  },
@@ -1237,6 +1244,11 @@
1237
1244
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1238
1245
  "type": "DataGridColumnSticky | undefined"
1239
1246
  },
1247
+ {
1248
+ "name": "contentStyle",
1249
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1250
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1251
+ },
1240
1252
  {
1241
1253
  "name": "getContentTemplate",
1242
1254
  "description": "The content template of the column."
@@ -1247,10 +1259,6 @@
1247
1259
  }
1248
1260
  ],
1249
1261
  "properties": [
1250
- {
1251
- "name": "change",
1252
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
1253
- },
1254
1262
  {
1255
1263
  "name": "dataGrid",
1256
1264
  "attribute": "dataGrid",
@@ -1325,6 +1333,12 @@
1325
1333
  "attribute": "sticky",
1326
1334
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1327
1335
  "type": "DataGridColumnSticky | undefined"
1336
+ },
1337
+ {
1338
+ "name": "contentStyle",
1339
+ "attribute": "contentStyle",
1340
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1341
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1328
1342
  }
1329
1343
  ]
1330
1344
  },
@@ -1409,6 +1423,11 @@
1409
1423
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1410
1424
  "type": "DataGridColumnSticky | undefined"
1411
1425
  },
1426
+ {
1427
+ "name": "contentStyle",
1428
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1429
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1430
+ },
1412
1431
  {
1413
1432
  "name": "getContentTemplate",
1414
1433
  "description": "The content template of the column.",
@@ -1445,10 +1464,6 @@
1445
1464
  "description": "The tooltip to display. Defaults to 'Delete position'",
1446
1465
  "type": "string | undefined"
1447
1466
  },
1448
- {
1449
- "name": "change",
1450
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
1451
- },
1452
1467
  {
1453
1468
  "name": "dataGrid",
1454
1469
  "attribute": "dataGrid",
@@ -1524,6 +1539,12 @@
1524
1539
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1525
1540
  "type": "DataGridColumnSticky | undefined"
1526
1541
  },
1542
+ {
1543
+ "name": "contentStyle",
1544
+ "attribute": "contentStyle",
1545
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1546
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1547
+ },
1527
1548
  {
1528
1549
  "name": "getContentTemplate",
1529
1550
  "attribute": "getContentTemplate",
@@ -1608,6 +1629,11 @@
1608
1629
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1609
1630
  "type": "DataGridColumnSticky | undefined"
1610
1631
  },
1632
+ {
1633
+ "name": "contentStyle",
1634
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1635
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1636
+ },
1611
1637
  {
1612
1638
  "name": "getContentTemplate",
1613
1639
  "description": "The content template of the column."
@@ -1624,10 +1650,6 @@
1624
1650
  "description": "The data selector of the column to use as a tooltip. If a function is provided, it will be called with the data as an argument.",
1625
1651
  "type": "(object extends Required<TData> ? string : TData extends readonly any[] ? Extract<keyof TData, `${number}`> | Extract<keyof TData, string> | SubKeyPathOf<...> : TData extends object ? Extract<...> | SubKeyPathOf<...> : never) | ((data: TData) => string | undefined) | undefined"
1626
1652
  },
1627
- {
1628
- "name": "change",
1629
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
1630
- },
1631
1653
  {
1632
1654
  "name": "dataGrid",
1633
1655
  "attribute": "dataGrid",
@@ -1702,6 +1724,12 @@
1702
1724
  "attribute": "sticky",
1703
1725
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1704
1726
  "type": "DataGridColumnSticky | undefined"
1727
+ },
1728
+ {
1729
+ "name": "contentStyle",
1730
+ "attribute": "contentStyle",
1731
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1732
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1705
1733
  }
1706
1734
  ]
1707
1735
  },
@@ -1769,6 +1797,11 @@
1769
1797
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1770
1798
  "type": "DataGridColumnSticky | undefined"
1771
1799
  },
1800
+ {
1801
+ "name": "contentStyle",
1802
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1803
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1804
+ },
1772
1805
  {
1773
1806
  "name": "getContentTemplate",
1774
1807
  "description": "The content template of the column."
@@ -1779,10 +1812,6 @@
1779
1812
  }
1780
1813
  ],
1781
1814
  "properties": [
1782
- {
1783
- "name": "change",
1784
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
1785
- },
1786
1815
  {
1787
1816
  "name": "dataGrid",
1788
1817
  "attribute": "dataGrid",
@@ -1857,6 +1886,12 @@
1857
1886
  "attribute": "sticky",
1858
1887
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1859
1888
  "type": "DataGridColumnSticky | undefined"
1889
+ },
1890
+ {
1891
+ "name": "contentStyle",
1892
+ "attribute": "contentStyle",
1893
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1894
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1860
1895
  }
1861
1896
  ]
1862
1897
  },
@@ -1941,6 +1976,11 @@
1941
1976
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
1942
1977
  "type": "DataGridColumnSticky | undefined"
1943
1978
  },
1979
+ {
1980
+ "name": "contentStyle",
1981
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
1982
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
1983
+ },
1944
1984
  {
1945
1985
  "name": "getContentTemplate",
1946
1986
  "description": "The content template of the column."
@@ -1976,10 +2016,6 @@
1976
2016
  "type": "boolean",
1977
2017
  "default": "false"
1978
2018
  },
1979
- {
1980
- "name": "change",
1981
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
1982
- },
1983
2019
  {
1984
2020
  "name": "dataGrid",
1985
2021
  "attribute": "dataGrid",
@@ -2054,6 +2090,12 @@
2054
2090
  "attribute": "sticky",
2055
2091
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2056
2092
  "type": "DataGridColumnSticky | undefined"
2093
+ },
2094
+ {
2095
+ "name": "contentStyle",
2096
+ "attribute": "contentStyle",
2097
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2098
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2057
2099
  }
2058
2100
  ]
2059
2101
  },
@@ -2138,6 +2180,11 @@
2138
2180
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2139
2181
  "type": "DataGridColumnSticky | undefined"
2140
2182
  },
2183
+ {
2184
+ "name": "contentStyle",
2185
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2186
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2187
+ },
2141
2188
  {
2142
2189
  "name": "getContentTemplate",
2143
2190
  "description": "The content template of the column."
@@ -2173,10 +2220,6 @@
2173
2220
  "type": "boolean",
2174
2221
  "default": "false"
2175
2222
  },
2176
- {
2177
- "name": "change",
2178
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
2179
- },
2180
2223
  {
2181
2224
  "name": "dataGrid",
2182
2225
  "attribute": "dataGrid",
@@ -2251,6 +2294,12 @@
2251
2294
  "attribute": "sticky",
2252
2295
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2253
2296
  "type": "DataGridColumnSticky | undefined"
2297
+ },
2298
+ {
2299
+ "name": "contentStyle",
2300
+ "attribute": "contentStyle",
2301
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2302
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2254
2303
  }
2255
2304
  ]
2256
2305
  },
@@ -2335,6 +2384,11 @@
2335
2384
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2336
2385
  "type": "DataGridColumnSticky | undefined"
2337
2386
  },
2387
+ {
2388
+ "name": "contentStyle",
2389
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2390
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2391
+ },
2338
2392
  {
2339
2393
  "name": "getContentTemplate",
2340
2394
  "description": "The content template of the column."
@@ -2370,10 +2424,6 @@
2370
2424
  "type": "boolean",
2371
2425
  "default": "false"
2372
2426
  },
2373
- {
2374
- "name": "change",
2375
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
2376
- },
2377
2427
  {
2378
2428
  "name": "dataGrid",
2379
2429
  "attribute": "dataGrid",
@@ -2448,6 +2498,12 @@
2448
2498
  "attribute": "sticky",
2449
2499
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2450
2500
  "type": "DataGridColumnSticky | undefined"
2501
+ },
2502
+ {
2503
+ "name": "contentStyle",
2504
+ "attribute": "contentStyle",
2505
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2506
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2451
2507
  }
2452
2508
  ]
2453
2509
  },
@@ -2532,6 +2588,11 @@
2532
2588
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2533
2589
  "type": "DataGridColumnSticky | undefined"
2534
2590
  },
2591
+ {
2592
+ "name": "contentStyle",
2593
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2594
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2595
+ },
2535
2596
  {
2536
2597
  "name": "getContentTemplate",
2537
2598
  "description": "The content template of the column."
@@ -2567,10 +2628,6 @@
2567
2628
  "type": "boolean",
2568
2629
  "default": "false"
2569
2630
  },
2570
- {
2571
- "name": "change",
2572
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
2573
- },
2574
2631
  {
2575
2632
  "name": "dataGrid",
2576
2633
  "attribute": "dataGrid",
@@ -2645,6 +2702,12 @@
2645
2702
  "attribute": "sticky",
2646
2703
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2647
2704
  "type": "DataGridColumnSticky | undefined"
2705
+ },
2706
+ {
2707
+ "name": "contentStyle",
2708
+ "attribute": "contentStyle",
2709
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2710
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2648
2711
  }
2649
2712
  ]
2650
2713
  },
@@ -2751,6 +2814,11 @@
2751
2814
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2752
2815
  "type": "DataGridColumnSticky | undefined"
2753
2816
  },
2817
+ {
2818
+ "name": "contentStyle",
2819
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2820
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2821
+ },
2754
2822
  {
2755
2823
  "name": "getContentTemplate",
2756
2824
  "description": "The content template of the column."
@@ -2813,10 +2881,6 @@
2813
2881
  "attribute": "stepDataSelector",
2814
2882
  "type": "(object extends Required<TData> ? string : TData extends readonly any[] ? Extract<keyof TData, `${number}`> | Extract<keyof TData, string> | SubKeyPathOf<...> : TData extends object ? Extract<...> | SubKeyPathOf<...> : never) | undefined"
2815
2883
  },
2816
- {
2817
- "name": "change",
2818
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
2819
- },
2820
2884
  {
2821
2885
  "name": "dataGrid",
2822
2886
  "attribute": "dataGrid",
@@ -2891,6 +2955,12 @@
2891
2955
  "attribute": "sticky",
2892
2956
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2893
2957
  "type": "DataGridColumnSticky | undefined"
2958
+ },
2959
+ {
2960
+ "name": "contentStyle",
2961
+ "attribute": "contentStyle",
2962
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
2963
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
2894
2964
  }
2895
2965
  ]
2896
2966
  },
@@ -2987,6 +3057,11 @@
2987
3057
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
2988
3058
  "type": "DataGridColumnSticky | undefined"
2989
3059
  },
3060
+ {
3061
+ "name": "contentStyle",
3062
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
3063
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
3064
+ },
2990
3065
  {
2991
3066
  "name": "getContentTemplate",
2992
3067
  "description": "The content template of the column."
@@ -3033,10 +3108,6 @@
3033
3108
  "attribute": "stepDataSelector",
3034
3109
  "type": "(object extends Required<TData> ? string : TData extends readonly any[] ? Extract<keyof TData, `${number}`> | Extract<keyof TData, string> | SubKeyPathOf<...> : TData extends object ? Extract<...> | SubKeyPathOf<...> : never) | undefined"
3035
3110
  },
3036
- {
3037
- "name": "change",
3038
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
3039
- },
3040
3111
  {
3041
3112
  "name": "dataGrid",
3042
3113
  "attribute": "dataGrid",
@@ -3111,6 +3182,12 @@
3111
3182
  "attribute": "sticky",
3112
3183
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
3113
3184
  "type": "DataGridColumnSticky | undefined"
3185
+ },
3186
+ {
3187
+ "name": "contentStyle",
3188
+ "attribute": "contentStyle",
3189
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
3190
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
3114
3191
  }
3115
3192
  ]
3116
3193
  },
@@ -3207,6 +3284,11 @@
3207
3284
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
3208
3285
  "type": "DataGridColumnSticky | undefined"
3209
3286
  },
3287
+ {
3288
+ "name": "contentStyle",
3289
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
3290
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
3291
+ },
3210
3292
  {
3211
3293
  "name": "getContentTemplate",
3212
3294
  "description": "The content template of the column."
@@ -3253,10 +3335,6 @@
3253
3335
  "attribute": "stepDataSelector",
3254
3336
  "type": "(object extends Required<TData> ? string : TData extends readonly any[] ? Extract<keyof TData, `${number}`> | Extract<keyof TData, string> | SubKeyPathOf<...> : TData extends object ? Extract<...> | SubKeyPathOf<...> : never) | undefined"
3255
3337
  },
3256
- {
3257
- "name": "change",
3258
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
3259
- },
3260
3338
  {
3261
3339
  "name": "dataGrid",
3262
3340
  "attribute": "dataGrid",
@@ -3331,6 +3409,12 @@
3331
3409
  "attribute": "sticky",
3332
3410
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
3333
3411
  "type": "DataGridColumnSticky | undefined"
3412
+ },
3413
+ {
3414
+ "name": "contentStyle",
3415
+ "attribute": "contentStyle",
3416
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
3417
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
3334
3418
  }
3335
3419
  ]
3336
3420
  },
@@ -3371,7 +3455,7 @@
3371
3455
  {
3372
3456
  "name": "columns",
3373
3457
  "description": "The columns to be displayed in the DataGrid. It is an array of objects, where each object represents a column.",
3374
- "type": "DataGridColumn<TData, unknown>[]"
3458
+ "type": "DataGridColumn<TData, any>[]"
3375
3459
  },
3376
3460
  {
3377
3461
  "name": "headerHidden",
@@ -3527,7 +3611,7 @@
3527
3611
  },
3528
3612
  {
3529
3613
  "name": "columnsChange",
3530
- "type": "EventDispatcher<DataGridColumn<TData, unknown>[]>"
3614
+ "type": "EventDispatcher<DataGridColumn<TData, any>[]>"
3531
3615
  },
3532
3616
  {
3533
3617
  "name": "sidePanelOpen",
@@ -3587,11 +3671,11 @@
3587
3671
  },
3588
3672
  {
3589
3673
  "name": "extractedColumns",
3590
- "type": "DataGridColumn<TData, unknown>[]"
3674
+ "type": "DataGridColumn<TData, any>[]"
3591
3675
  },
3592
3676
  {
3593
3677
  "name": "visibleColumns",
3594
- "type": "DataGridColumn<TData, unknown>[]"
3678
+ "type": "DataGridColumn<TData, any>[]"
3595
3679
  },
3596
3680
  {
3597
3681
  "name": "hasContextMenu",
@@ -3707,7 +3791,7 @@
3707
3791
  "name": "columns",
3708
3792
  "attribute": "columns",
3709
3793
  "description": "The columns to be displayed in the DataGrid. It is an array of objects, where each object represents a column.",
3710
- "type": "DataGridColumn<TData, unknown>[]"
3794
+ "type": "DataGridColumn<TData, any>[]"
3711
3795
  },
3712
3796
  {
3713
3797
  "name": "headerHidden",
@@ -3885,7 +3969,7 @@
3885
3969
  },
3886
3970
  {
3887
3971
  "name": "columnsChange",
3888
- "type": "CustomEvent<DataGridColumn<TData, unknown>[]>"
3972
+ "type": "CustomEvent<DataGridColumn<TData, any>[]>"
3889
3973
  },
3890
3974
  {
3891
3975
  "name": "sidePanelOpen",
@@ -4038,7 +4122,7 @@
4038
4122
  "properties": [
4039
4123
  {
4040
4124
  "name": "column",
4041
- "type": "DataGridColumn<unknown, unknown>"
4125
+ "type": "DataGridColumn<unknown, any>"
4042
4126
  },
4043
4127
  {
4044
4128
  "name": "menuOpen",
@@ -4117,7 +4201,7 @@
4117
4201
  },
4118
4202
  {
4119
4203
  "name": "column",
4120
- "type": "DataGridColumn<unknown, unknown>"
4204
+ "type": "DataGridColumn<unknown, any>"
4121
4205
  }
4122
4206
  ]
4123
4207
  },
@@ -4305,6 +4389,11 @@
4305
4389
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4306
4390
  "type": "DataGridColumnSticky | undefined"
4307
4391
  },
4392
+ {
4393
+ "name": "contentStyle",
4394
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
4395
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
4396
+ },
4308
4397
  {
4309
4398
  "name": "getContentTemplate",
4310
4399
  "description": "The content template of the column."
@@ -4339,10 +4428,6 @@
4339
4428
  "description": "Color of the false icon",
4340
4429
  "type": "string"
4341
4430
  },
4342
- {
4343
- "name": "change",
4344
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
4345
- },
4346
4431
  {
4347
4432
  "name": "dataGrid",
4348
4433
  "type": "DataGrid<TData, any> | undefined"
@@ -4410,6 +4495,12 @@
4410
4495
  "attribute": "sticky",
4411
4496
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4412
4497
  "type": "DataGridColumnSticky | undefined"
4498
+ },
4499
+ {
4500
+ "name": "contentStyle",
4501
+ "attribute": "contentStyle",
4502
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
4503
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
4413
4504
  }
4414
4505
  ]
4415
4506
  },
@@ -4467,6 +4558,11 @@
4467
4558
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4468
4559
  "type": "DataGridColumnSticky | undefined"
4469
4560
  },
4561
+ {
4562
+ "name": "contentStyle",
4563
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
4564
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
4565
+ },
4470
4566
  {
4471
4567
  "name": "getContentTemplate",
4472
4568
  "description": "The content template of the column."
@@ -4477,10 +4573,6 @@
4477
4573
  }
4478
4574
  ],
4479
4575
  "properties": [
4480
- {
4481
- "name": "change",
4482
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
4483
- },
4484
4576
  {
4485
4577
  "name": "dataGrid",
4486
4578
  "type": "DataGrid<TData, any> | undefined"
@@ -4548,6 +4640,12 @@
4548
4640
  "attribute": "sticky",
4549
4641
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4550
4642
  "type": "DataGridColumnSticky | undefined"
4643
+ },
4644
+ {
4645
+ "name": "contentStyle",
4646
+ "attribute": "contentStyle",
4647
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
4648
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
4551
4649
  }
4552
4650
  ]
4553
4651
  },
@@ -4620,6 +4718,11 @@
4620
4718
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4621
4719
  "type": "DataGridColumnSticky | undefined"
4622
4720
  },
4721
+ {
4722
+ "name": "contentStyle",
4723
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
4724
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
4725
+ },
4623
4726
  {
4624
4727
  "name": "getContentTemplate",
4625
4728
  "description": "The content template of the column.",
@@ -4653,10 +4756,6 @@
4653
4756
  "description": "The tooltip to display. Defaults to 'Delete position'",
4654
4757
  "type": "string | undefined"
4655
4758
  },
4656
- {
4657
- "name": "change",
4658
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
4659
- },
4660
4759
  {
4661
4760
  "name": "dataGrid",
4662
4761
  "type": "DataGrid<TData, any> | undefined"
@@ -4725,6 +4824,12 @@
4725
4824
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4726
4825
  "type": "DataGridColumnSticky | undefined"
4727
4826
  },
4827
+ {
4828
+ "name": "contentStyle",
4829
+ "attribute": "contentStyle",
4830
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
4831
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
4832
+ },
4728
4833
  {
4729
4834
  "name": "getContentTemplate",
4730
4835
  "attribute": "getContentTemplate",
@@ -4798,6 +4903,11 @@
4798
4903
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4799
4904
  "type": "DataGridColumnSticky | undefined"
4800
4905
  },
4906
+ {
4907
+ "name": "contentStyle",
4908
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
4909
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
4910
+ },
4801
4911
  {
4802
4912
  "name": "getContentTemplate",
4803
4913
  "description": "The content template of the column."
@@ -4814,10 +4924,6 @@
4814
4924
  "description": "The data selector of the column to use as a tooltip. If a function is provided, it will be called with the data as an argument.",
4815
4925
  "type": "(object extends Required<TData> ? string : TData extends readonly any[] ? Extract<keyof TData, `${number}`> | Extract<keyof TData, string> | SubKeyPathOf<...> : TData extends object ? Extract<...> | SubKeyPathOf<...> : never) | ((data: TData) => string | undefined) | undefined"
4816
4926
  },
4817
- {
4818
- "name": "change",
4819
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
4820
- },
4821
4927
  {
4822
4928
  "name": "dataGrid",
4823
4929
  "type": "DataGrid<TData, any> | undefined"
@@ -4885,6 +4991,12 @@
4885
4991
  "attribute": "sticky",
4886
4992
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4887
4993
  "type": "DataGridColumnSticky | undefined"
4994
+ },
4995
+ {
4996
+ "name": "contentStyle",
4997
+ "attribute": "contentStyle",
4998
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
4999
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
4888
5000
  }
4889
5001
  ]
4890
5002
  },
@@ -4942,6 +5054,11 @@
4942
5054
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
4943
5055
  "type": "DataGridColumnSticky | undefined"
4944
5056
  },
5057
+ {
5058
+ "name": "contentStyle",
5059
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5060
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5061
+ },
4945
5062
  {
4946
5063
  "name": "getContentTemplate",
4947
5064
  "description": "The content template of the column."
@@ -4952,10 +5069,6 @@
4952
5069
  }
4953
5070
  ],
4954
5071
  "properties": [
4955
- {
4956
- "name": "change",
4957
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
4958
- },
4959
5072
  {
4960
5073
  "name": "dataGrid",
4961
5074
  "type": "DataGrid<TData, any> | undefined"
@@ -5023,6 +5136,12 @@
5023
5136
  "attribute": "sticky",
5024
5137
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5025
5138
  "type": "DataGridColumnSticky | undefined"
5139
+ },
5140
+ {
5141
+ "name": "contentStyle",
5142
+ "attribute": "contentStyle",
5143
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5144
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5026
5145
  }
5027
5146
  ]
5028
5147
  },
@@ -5095,6 +5214,11 @@
5095
5214
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5096
5215
  "type": "DataGridColumnSticky | undefined"
5097
5216
  },
5217
+ {
5218
+ "name": "contentStyle",
5219
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5220
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5221
+ },
5098
5222
  {
5099
5223
  "name": "getContentTemplate",
5100
5224
  "description": "The content template of the column."
@@ -5127,10 +5251,6 @@
5127
5251
  "description": "Hides the date/time picker",
5128
5252
  "type": "boolean"
5129
5253
  },
5130
- {
5131
- "name": "change",
5132
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
5133
- },
5134
5254
  {
5135
5255
  "name": "dataGrid",
5136
5256
  "type": "DataGrid<TData, any> | undefined"
@@ -5198,6 +5318,12 @@
5198
5318
  "attribute": "sticky",
5199
5319
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5200
5320
  "type": "DataGridColumnSticky | undefined"
5321
+ },
5322
+ {
5323
+ "name": "contentStyle",
5324
+ "attribute": "contentStyle",
5325
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5326
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5201
5327
  }
5202
5328
  ]
5203
5329
  },
@@ -5270,6 +5396,11 @@
5270
5396
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5271
5397
  "type": "DataGridColumnSticky | undefined"
5272
5398
  },
5399
+ {
5400
+ "name": "contentStyle",
5401
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5402
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5403
+ },
5273
5404
  {
5274
5405
  "name": "getContentTemplate",
5275
5406
  "description": "The content template of the column."
@@ -5302,10 +5433,6 @@
5302
5433
  "description": "Hides the date/time picker",
5303
5434
  "type": "boolean"
5304
5435
  },
5305
- {
5306
- "name": "change",
5307
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
5308
- },
5309
5436
  {
5310
5437
  "name": "dataGrid",
5311
5438
  "type": "DataGrid<TData, any> | undefined"
@@ -5373,6 +5500,12 @@
5373
5500
  "attribute": "sticky",
5374
5501
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5375
5502
  "type": "DataGridColumnSticky | undefined"
5503
+ },
5504
+ {
5505
+ "name": "contentStyle",
5506
+ "attribute": "contentStyle",
5507
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5508
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5376
5509
  }
5377
5510
  ]
5378
5511
  },
@@ -5445,6 +5578,11 @@
5445
5578
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5446
5579
  "type": "DataGridColumnSticky | undefined"
5447
5580
  },
5581
+ {
5582
+ "name": "contentStyle",
5583
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5584
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5585
+ },
5448
5586
  {
5449
5587
  "name": "getContentTemplate",
5450
5588
  "description": "The content template of the column."
@@ -5477,10 +5615,6 @@
5477
5615
  "description": "Hides the date/time picker",
5478
5616
  "type": "boolean"
5479
5617
  },
5480
- {
5481
- "name": "change",
5482
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
5483
- },
5484
5618
  {
5485
5619
  "name": "dataGrid",
5486
5620
  "type": "DataGrid<TData, any> | undefined"
@@ -5548,6 +5682,12 @@
5548
5682
  "attribute": "sticky",
5549
5683
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5550
5684
  "type": "DataGridColumnSticky | undefined"
5685
+ },
5686
+ {
5687
+ "name": "contentStyle",
5688
+ "attribute": "contentStyle",
5689
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5690
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5551
5691
  }
5552
5692
  ]
5553
5693
  },
@@ -5620,6 +5760,11 @@
5620
5760
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5621
5761
  "type": "DataGridColumnSticky | undefined"
5622
5762
  },
5763
+ {
5764
+ "name": "contentStyle",
5765
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5766
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5767
+ },
5623
5768
  {
5624
5769
  "name": "getContentTemplate",
5625
5770
  "description": "The content template of the column."
@@ -5652,10 +5797,6 @@
5652
5797
  "description": "Hides the date/time picker",
5653
5798
  "type": "boolean"
5654
5799
  },
5655
- {
5656
- "name": "change",
5657
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
5658
- },
5659
5800
  {
5660
5801
  "name": "dataGrid",
5661
5802
  "type": "DataGrid<TData, any> | undefined"
@@ -5723,6 +5864,12 @@
5723
5864
  "attribute": "sticky",
5724
5865
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5725
5866
  "type": "DataGridColumnSticky | undefined"
5867
+ },
5868
+ {
5869
+ "name": "contentStyle",
5870
+ "attribute": "contentStyle",
5871
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5872
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5726
5873
  }
5727
5874
  ]
5728
5875
  },
@@ -5790,6 +5937,11 @@
5790
5937
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5791
5938
  "type": "DataGridColumnSticky | undefined"
5792
5939
  },
5940
+ {
5941
+ "name": "contentStyle",
5942
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
5943
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5944
+ },
5793
5945
  {
5794
5946
  "name": "getContentTemplate",
5795
5947
  "description": "The content template of the column."
@@ -5844,10 +5996,6 @@
5844
5996
  "name": "stepDataSelector",
5845
5997
  "type": "(object extends Required<TData> ? string : TData extends readonly any[] ? Extract<keyof TData, `${number}`> | Extract<keyof TData, string> | SubKeyPathOf<...> : TData extends object ? Extract<...> | SubKeyPathOf<...> : never) | undefined"
5846
5998
  },
5847
- {
5848
- "name": "change",
5849
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
5850
- },
5851
5999
  {
5852
6000
  "name": "dataGrid",
5853
6001
  "type": "DataGrid<TData, any> | undefined"
@@ -5915,6 +6063,12 @@
5915
6063
  "attribute": "sticky",
5916
6064
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5917
6065
  "type": "DataGridColumnSticky | undefined"
6066
+ },
6067
+ {
6068
+ "name": "contentStyle",
6069
+ "attribute": "contentStyle",
6070
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
6071
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
5918
6072
  }
5919
6073
  ]
5920
6074
  },
@@ -5972,6 +6126,11 @@
5972
6126
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
5973
6127
  "type": "DataGridColumnSticky | undefined"
5974
6128
  },
6129
+ {
6130
+ "name": "contentStyle",
6131
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
6132
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
6133
+ },
5975
6134
  {
5976
6135
  "name": "getContentTemplate",
5977
6136
  "description": "The content template of the column."
@@ -6010,10 +6169,6 @@
6010
6169
  "name": "stepDataSelector",
6011
6170
  "type": "(object extends Required<TData> ? string : TData extends readonly any[] ? Extract<keyof TData, `${number}`> | Extract<keyof TData, string> | SubKeyPathOf<...> : TData extends object ? Extract<...> | SubKeyPathOf<...> : never) | undefined"
6012
6171
  },
6013
- {
6014
- "name": "change",
6015
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
6016
- },
6017
6172
  {
6018
6173
  "name": "dataGrid",
6019
6174
  "type": "DataGrid<TData, any> | undefined"
@@ -6081,6 +6236,12 @@
6081
6236
  "attribute": "sticky",
6082
6237
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
6083
6238
  "type": "DataGridColumnSticky | undefined"
6239
+ },
6240
+ {
6241
+ "name": "contentStyle",
6242
+ "attribute": "contentStyle",
6243
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
6244
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
6084
6245
  }
6085
6246
  ]
6086
6247
  },
@@ -6138,6 +6299,11 @@
6138
6299
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
6139
6300
  "type": "DataGridColumnSticky | undefined"
6140
6301
  },
6302
+ {
6303
+ "name": "contentStyle",
6304
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
6305
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
6306
+ },
6141
6307
  {
6142
6308
  "name": "getContentTemplate",
6143
6309
  "description": "The content template of the column."
@@ -6176,10 +6342,6 @@
6176
6342
  "name": "stepDataSelector",
6177
6343
  "type": "(object extends Required<TData> ? string : TData extends readonly any[] ? Extract<keyof TData, `${number}`> | Extract<keyof TData, string> | SubKeyPathOf<...> : TData extends object ? Extract<...> | SubKeyPathOf<...> : never) | undefined"
6178
6344
  },
6179
- {
6180
- "name": "change",
6181
- "type": "EventDispatcher<DataGridColumnComponent<TData, TValue>>"
6182
- },
6183
6345
  {
6184
6346
  "name": "dataGrid",
6185
6347
  "type": "DataGrid<TData, any> | undefined"
@@ -6247,6 +6409,12 @@
6247
6409
  "attribute": "sticky",
6248
6410
  "description": "The sticky position of the column, either 'start', 'end', or 'both'",
6249
6411
  "type": "DataGridColumnSticky | undefined"
6412
+ },
6413
+ {
6414
+ "name": "contentStyle",
6415
+ "attribute": "contentStyle",
6416
+ "description": "The content style of the column. It can be a string, CSSResult, or a function that returns either based on the cell value and data.",
6417
+ "type": "DataGridColumnContentStyle<TData, TValue> | undefined"
6250
6418
  }
6251
6419
  ]
6252
6420
  },