@3mo/data-grid 0.18.0 → 0.19.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/dist/columns/DataGridColumnBoolean.d.ts.map +1 -1
- package/dist/columns/DataGridColumnComponent.d.ts +10 -3
- package/dist/columns/DataGridColumnComponent.d.ts.map +1 -1
- package/dist/columns/DataGridColumnComponent.js +12 -11
- package/dist/columns/DataGridColumnDeletion.d.ts +0 -1
- package/dist/columns/DataGridColumnDeletion.d.ts.map +1 -1
- package/dist/columns/DataGridColumnDeletion.js +0 -1
- package/dist/columns/DataGridColumnImage.d.ts +0 -1
- package/dist/columns/DataGridColumnImage.d.ts.map +1 -1
- package/dist/columns/DataGridColumnImage.js +0 -1
- package/dist/columns/DataGridColumnText.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDate.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDateRange.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDateTime.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDateTimeBase.d.ts.map +1 -1
- package/dist/columns/date-time/DataGridColumnDateTimeRange.d.ts.map +1 -1
- package/dist/columns/number/DataGridColumnCurrency.d.ts.map +1 -1
- package/dist/columns/number/DataGridColumnNumber.d.ts.map +1 -1
- package/dist/columns/number/DataGridColumnPercent.d.ts.map +1 -1
- package/dist/custom-elements.json +474 -24
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/columns/DataGridColumnComponent.test.d.ts +0 -2
- package/dist/columns/DataGridColumnComponent.test.d.ts.map +0 -1
- package/dist/columns/DataGridColumnComponent.test.js +0 -15
|
@@ -1024,6 +1024,14 @@
|
|
|
1024
1024
|
"name": "sticky",
|
|
1025
1025
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1026
1026
|
"type": "DataGridColumnSticky | undefined"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"name": "getContentTemplate",
|
|
1030
|
+
"description": "The content template of the column."
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "getEditContentTemplate",
|
|
1034
|
+
"description": "The edit content template of the column."
|
|
1027
1035
|
}
|
|
1028
1036
|
],
|
|
1029
1037
|
"properties": [
|
|
@@ -1132,6 +1140,157 @@
|
|
|
1132
1140
|
}
|
|
1133
1141
|
]
|
|
1134
1142
|
},
|
|
1143
|
+
{
|
|
1144
|
+
"name": "mo-data-grid-column",
|
|
1145
|
+
"path": ".\\packages\\DataGrid\\columns\\DataGridColumnComponent.ts",
|
|
1146
|
+
"attributes": [
|
|
1147
|
+
{
|
|
1148
|
+
"name": "dataGrid",
|
|
1149
|
+
"type": "DataGrid<TData, any> | undefined"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"name": "width",
|
|
1153
|
+
"description": "The width of the column",
|
|
1154
|
+
"type": "string",
|
|
1155
|
+
"default": "\"max-content\""
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "hidden",
|
|
1159
|
+
"description": "Whether the column is hidden. The column can be made visible by the user in the settings panel if available.",
|
|
1160
|
+
"type": "boolean",
|
|
1161
|
+
"default": "false"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"name": "heading",
|
|
1165
|
+
"description": "The heading of the column",
|
|
1166
|
+
"type": "string",
|
|
1167
|
+
"default": "\"\""
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"name": "textAlign",
|
|
1171
|
+
"description": "The text alignment of the column",
|
|
1172
|
+
"type": "DataGridColumnAlignment",
|
|
1173
|
+
"default": "\"start\""
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"name": "description",
|
|
1177
|
+
"description": "The description of the column. It will be displayed as a tooltip on the heading.",
|
|
1178
|
+
"type": "string | undefined"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "dataSelector",
|
|
1182
|
+
"description": "The data selector of the column",
|
|
1183
|
+
"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"
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "sortDataSelector",
|
|
1187
|
+
"description": "The data selector of the column",
|
|
1188
|
+
"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"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"name": "nonSortable",
|
|
1192
|
+
"description": "Whether the column is sortable",
|
|
1193
|
+
"type": "boolean",
|
|
1194
|
+
"default": "false"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"name": "nonEditable",
|
|
1198
|
+
"description": "Whether the column is editable",
|
|
1199
|
+
"type": "boolean | Predicate<TData>",
|
|
1200
|
+
"default": "false"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "sticky",
|
|
1204
|
+
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1205
|
+
"type": "DataGridColumnSticky | undefined"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "getContentTemplate",
|
|
1209
|
+
"description": "The content template of the column."
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"name": "getEditContentTemplate",
|
|
1213
|
+
"description": "The edit content template of the column."
|
|
1214
|
+
}
|
|
1215
|
+
],
|
|
1216
|
+
"properties": [
|
|
1217
|
+
{
|
|
1218
|
+
"name": "dataGrid",
|
|
1219
|
+
"attribute": "dataGrid",
|
|
1220
|
+
"type": "DataGrid<TData, any> | undefined"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"name": "column",
|
|
1224
|
+
"type": "DataGridColumn<TData, TValue>"
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"name": "width",
|
|
1228
|
+
"attribute": "width",
|
|
1229
|
+
"description": "The width of the column",
|
|
1230
|
+
"type": "string",
|
|
1231
|
+
"default": "\"max-content\""
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "hidden",
|
|
1235
|
+
"attribute": "hidden",
|
|
1236
|
+
"description": "Whether the column is hidden. The column can be made visible by the user in the settings panel if available.",
|
|
1237
|
+
"type": "boolean",
|
|
1238
|
+
"default": "false"
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
"name": "heading",
|
|
1242
|
+
"attribute": "heading",
|
|
1243
|
+
"description": "The heading of the column",
|
|
1244
|
+
"type": "string",
|
|
1245
|
+
"default": "\"\""
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"name": "textAlign",
|
|
1249
|
+
"attribute": "textAlign",
|
|
1250
|
+
"description": "The text alignment of the column",
|
|
1251
|
+
"type": "DataGridColumnAlignment",
|
|
1252
|
+
"default": "\"start\""
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "description",
|
|
1256
|
+
"attribute": "description",
|
|
1257
|
+
"description": "The description of the column. It will be displayed as a tooltip on the heading.",
|
|
1258
|
+
"type": "string | undefined"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"name": "dataSelector",
|
|
1262
|
+
"attribute": "dataSelector",
|
|
1263
|
+
"description": "The data selector of the column",
|
|
1264
|
+
"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"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"name": "sortDataSelector",
|
|
1268
|
+
"attribute": "sortDataSelector",
|
|
1269
|
+
"description": "The data selector of the column",
|
|
1270
|
+
"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"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"name": "nonSortable",
|
|
1274
|
+
"attribute": "nonSortable",
|
|
1275
|
+
"description": "Whether the column is sortable",
|
|
1276
|
+
"type": "boolean",
|
|
1277
|
+
"default": "false"
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"name": "nonEditable",
|
|
1281
|
+
"attribute": "nonEditable",
|
|
1282
|
+
"description": "Whether the column is editable",
|
|
1283
|
+
"type": "boolean | Predicate<TData>",
|
|
1284
|
+
"default": "false"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "sticky",
|
|
1288
|
+
"attribute": "sticky",
|
|
1289
|
+
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1290
|
+
"type": "DataGridColumnSticky | undefined"
|
|
1291
|
+
}
|
|
1292
|
+
]
|
|
1293
|
+
},
|
|
1135
1294
|
{
|
|
1136
1295
|
"name": "mo-data-grid-column-deletion",
|
|
1137
1296
|
"path": ".\\packages\\DataGrid\\columns\\DataGridColumnDeletion.ts",
|
|
@@ -1212,22 +1371,22 @@
|
|
|
1212
1371
|
"name": "sticky",
|
|
1213
1372
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1214
1373
|
"type": "DataGridColumnSticky | undefined"
|
|
1215
|
-
}
|
|
1216
|
-
],
|
|
1217
|
-
"properties": [
|
|
1218
|
-
{
|
|
1219
|
-
"name": "delete",
|
|
1220
|
-
"type": "EventDispatcher<TData>"
|
|
1221
1374
|
},
|
|
1222
1375
|
{
|
|
1223
1376
|
"name": "getContentTemplate",
|
|
1377
|
+
"description": "The content template of the column.",
|
|
1224
1378
|
"type": "(_: never, data?: TData | undefined) => HTMLTemplateResult",
|
|
1225
1379
|
"default": "\"(_: never, data?: TData) => this.prevent ? html.nothing : html`\\r\\n\\t\\t<mo-icon-button icon=${this.icon}\\r\\n\\t\\t\\t${tooltip(this.tooltip ?? t('Delete position'))}\\r\\n\\t\\t\\t${style({ color: 'var(--mo-color-gray)', height: '40px', display: 'flex' })}\\r\\n\\t\\t\\t@click=${() => !data ? void 0 : this.delete.dispatch(data)}\\r\\n\\t\\t></mo-icon-button>\\r\\n\\t`\""
|
|
1226
1380
|
},
|
|
1227
1381
|
{
|
|
1228
1382
|
"name": "getEditContentTemplate",
|
|
1229
|
-
"
|
|
1230
|
-
|
|
1383
|
+
"description": "The edit content template of the column."
|
|
1384
|
+
}
|
|
1385
|
+
],
|
|
1386
|
+
"properties": [
|
|
1387
|
+
{
|
|
1388
|
+
"name": "delete",
|
|
1389
|
+
"type": "EventDispatcher<TData>"
|
|
1231
1390
|
},
|
|
1232
1391
|
{
|
|
1233
1392
|
"name": "prevent",
|
|
@@ -1323,6 +1482,13 @@
|
|
|
1323
1482
|
"attribute": "sticky",
|
|
1324
1483
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1325
1484
|
"type": "DataGridColumnSticky | undefined"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "getContentTemplate",
|
|
1488
|
+
"attribute": "getContentTemplate",
|
|
1489
|
+
"description": "The content template of the column.",
|
|
1490
|
+
"type": "(_: never, data?: TData | undefined) => HTMLTemplateResult",
|
|
1491
|
+
"default": "\"(_: never, data?: TData) => this.prevent ? html.nothing : html`\\r\\n\\t\\t<mo-icon-button icon=${this.icon}\\r\\n\\t\\t\\t${tooltip(this.tooltip ?? t('Delete position'))}\\r\\n\\t\\t\\t${style({ color: 'var(--mo-color-gray)', height: '40px', display: 'flex' })}\\r\\n\\t\\t\\t@click=${() => !data ? void 0 : this.delete.dispatch(data)}\\r\\n\\t\\t></mo-icon-button>\\r\\n\\t`\""
|
|
1326
1492
|
}
|
|
1327
1493
|
],
|
|
1328
1494
|
"events": [
|
|
@@ -1400,14 +1566,17 @@
|
|
|
1400
1566
|
"name": "sticky",
|
|
1401
1567
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1402
1568
|
"type": "DataGridColumnSticky | undefined"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "getContentTemplate",
|
|
1572
|
+
"description": "The content template of the column."
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"name": "getEditContentTemplate",
|
|
1576
|
+
"description": "The edit content template of the column."
|
|
1403
1577
|
}
|
|
1404
1578
|
],
|
|
1405
1579
|
"properties": [
|
|
1406
|
-
{
|
|
1407
|
-
"name": "getEditContentTemplate",
|
|
1408
|
-
"type": "undefined",
|
|
1409
|
-
"default": "\"undefined\""
|
|
1410
|
-
},
|
|
1411
1580
|
{
|
|
1412
1581
|
"name": "tooltipSelector",
|
|
1413
1582
|
"attribute": "tooltipSelector",
|
|
@@ -1554,6 +1723,14 @@
|
|
|
1554
1723
|
"name": "sticky",
|
|
1555
1724
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1556
1725
|
"type": "DataGridColumnSticky | undefined"
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "getContentTemplate",
|
|
1729
|
+
"description": "The content template of the column."
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"name": "getEditContentTemplate",
|
|
1733
|
+
"description": "The edit content template of the column."
|
|
1557
1734
|
}
|
|
1558
1735
|
],
|
|
1559
1736
|
"properties": [
|
|
@@ -1708,6 +1885,14 @@
|
|
|
1708
1885
|
"name": "sticky",
|
|
1709
1886
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1710
1887
|
"type": "DataGridColumnSticky | undefined"
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"name": "getContentTemplate",
|
|
1891
|
+
"description": "The content template of the column."
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"name": "getEditContentTemplate",
|
|
1895
|
+
"description": "The edit content template of the column."
|
|
1711
1896
|
}
|
|
1712
1897
|
],
|
|
1713
1898
|
"properties": [
|
|
@@ -1884,6 +2069,14 @@
|
|
|
1884
2069
|
"name": "sticky",
|
|
1885
2070
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
1886
2071
|
"type": "DataGridColumnSticky | undefined"
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
"name": "getContentTemplate",
|
|
2075
|
+
"description": "The content template of the column."
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"name": "getEditContentTemplate",
|
|
2079
|
+
"description": "The edit content template of the column."
|
|
1887
2080
|
}
|
|
1888
2081
|
],
|
|
1889
2082
|
"properties": [
|
|
@@ -2060,6 +2253,14 @@
|
|
|
2060
2253
|
"name": "sticky",
|
|
2061
2254
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
2062
2255
|
"type": "DataGridColumnSticky | undefined"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "getContentTemplate",
|
|
2259
|
+
"description": "The content template of the column."
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"name": "getEditContentTemplate",
|
|
2263
|
+
"description": "The edit content template of the column."
|
|
2063
2264
|
}
|
|
2064
2265
|
],
|
|
2065
2266
|
"properties": [
|
|
@@ -2236,6 +2437,14 @@
|
|
|
2236
2437
|
"name": "sticky",
|
|
2237
2438
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
2238
2439
|
"type": "DataGridColumnSticky | undefined"
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "getContentTemplate",
|
|
2443
|
+
"description": "The content template of the column."
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"name": "getEditContentTemplate",
|
|
2447
|
+
"description": "The edit content template of the column."
|
|
2239
2448
|
}
|
|
2240
2449
|
],
|
|
2241
2450
|
"properties": [
|
|
@@ -2440,6 +2649,14 @@
|
|
|
2440
2649
|
"name": "sticky",
|
|
2441
2650
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
2442
2651
|
"type": "DataGridColumnSticky | undefined"
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
"name": "getContentTemplate",
|
|
2655
|
+
"description": "The content template of the column."
|
|
2656
|
+
},
|
|
2657
|
+
{
|
|
2658
|
+
"name": "getEditContentTemplate",
|
|
2659
|
+
"description": "The edit content template of the column."
|
|
2443
2660
|
}
|
|
2444
2661
|
],
|
|
2445
2662
|
"properties": [
|
|
@@ -2664,6 +2881,14 @@
|
|
|
2664
2881
|
"name": "sticky",
|
|
2665
2882
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
2666
2883
|
"type": "DataGridColumnSticky | undefined"
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"name": "getContentTemplate",
|
|
2887
|
+
"description": "The content template of the column."
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"name": "getEditContentTemplate",
|
|
2891
|
+
"description": "The edit content template of the column."
|
|
2667
2892
|
}
|
|
2668
2893
|
],
|
|
2669
2894
|
"properties": [
|
|
@@ -2872,6 +3097,14 @@
|
|
|
2872
3097
|
"name": "sticky",
|
|
2873
3098
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
2874
3099
|
"type": "DataGridColumnSticky | undefined"
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"name": "getContentTemplate",
|
|
3103
|
+
"description": "The content template of the column."
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"name": "getEditContentTemplate",
|
|
3107
|
+
"description": "The edit content template of the column."
|
|
2875
3108
|
}
|
|
2876
3109
|
],
|
|
2877
3110
|
"properties": [
|
|
@@ -3931,6 +4164,14 @@
|
|
|
3931
4164
|
"name": "sticky",
|
|
3932
4165
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
3933
4166
|
"type": "DataGridColumnSticky | undefined"
|
|
4167
|
+
},
|
|
4168
|
+
{
|
|
4169
|
+
"name": "getContentTemplate",
|
|
4170
|
+
"description": "The content template of the column."
|
|
4171
|
+
},
|
|
4172
|
+
{
|
|
4173
|
+
"name": "getEditContentTemplate",
|
|
4174
|
+
"description": "The edit content template of the column."
|
|
3934
4175
|
}
|
|
3935
4176
|
],
|
|
3936
4177
|
"properties": [
|
|
@@ -4028,6 +4269,140 @@
|
|
|
4028
4269
|
}
|
|
4029
4270
|
]
|
|
4030
4271
|
},
|
|
4272
|
+
{
|
|
4273
|
+
"name": "mo-data-grid-column",
|
|
4274
|
+
"path": ".\\packages\\DataGrid\\dist\\columns\\DataGridColumnComponent.d.ts",
|
|
4275
|
+
"attributes": [
|
|
4276
|
+
{
|
|
4277
|
+
"name": "width",
|
|
4278
|
+
"description": "The width of the column",
|
|
4279
|
+
"type": "string"
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
"name": "hidden",
|
|
4283
|
+
"description": "Whether the column is hidden. The column can be made visible by the user in the settings panel if available.",
|
|
4284
|
+
"type": "boolean"
|
|
4285
|
+
},
|
|
4286
|
+
{
|
|
4287
|
+
"name": "heading",
|
|
4288
|
+
"description": "The heading of the column",
|
|
4289
|
+
"type": "string"
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
"name": "textAlign",
|
|
4293
|
+
"description": "The text alignment of the column",
|
|
4294
|
+
"type": "DataGridColumnAlignment"
|
|
4295
|
+
},
|
|
4296
|
+
{
|
|
4297
|
+
"name": "description",
|
|
4298
|
+
"description": "The description of the column. It will be displayed as a tooltip on the heading.",
|
|
4299
|
+
"type": "string | undefined"
|
|
4300
|
+
},
|
|
4301
|
+
{
|
|
4302
|
+
"name": "dataSelector",
|
|
4303
|
+
"description": "The data selector of the column",
|
|
4304
|
+
"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"
|
|
4305
|
+
},
|
|
4306
|
+
{
|
|
4307
|
+
"name": "sortDataSelector",
|
|
4308
|
+
"description": "The data selector of the column",
|
|
4309
|
+
"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"
|
|
4310
|
+
},
|
|
4311
|
+
{
|
|
4312
|
+
"name": "nonSortable",
|
|
4313
|
+
"description": "Whether the column is sortable",
|
|
4314
|
+
"type": "boolean"
|
|
4315
|
+
},
|
|
4316
|
+
{
|
|
4317
|
+
"name": "nonEditable",
|
|
4318
|
+
"description": "Whether the column is editable",
|
|
4319
|
+
"type": "boolean | Predicate<TData>"
|
|
4320
|
+
},
|
|
4321
|
+
{
|
|
4322
|
+
"name": "sticky",
|
|
4323
|
+
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4324
|
+
"type": "DataGridColumnSticky | undefined"
|
|
4325
|
+
},
|
|
4326
|
+
{
|
|
4327
|
+
"name": "getContentTemplate",
|
|
4328
|
+
"description": "The content template of the column."
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
"name": "getEditContentTemplate",
|
|
4332
|
+
"description": "The edit content template of the column."
|
|
4333
|
+
}
|
|
4334
|
+
],
|
|
4335
|
+
"properties": [
|
|
4336
|
+
{
|
|
4337
|
+
"name": "dataGrid",
|
|
4338
|
+
"type": "DataGrid<TData, any> | undefined"
|
|
4339
|
+
},
|
|
4340
|
+
{
|
|
4341
|
+
"name": "column",
|
|
4342
|
+
"type": "DataGridColumn<TData, TValue>"
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
"name": "width",
|
|
4346
|
+
"attribute": "width",
|
|
4347
|
+
"description": "The width of the column",
|
|
4348
|
+
"type": "string"
|
|
4349
|
+
},
|
|
4350
|
+
{
|
|
4351
|
+
"name": "hidden",
|
|
4352
|
+
"attribute": "hidden",
|
|
4353
|
+
"description": "Whether the column is hidden. The column can be made visible by the user in the settings panel if available.",
|
|
4354
|
+
"type": "boolean"
|
|
4355
|
+
},
|
|
4356
|
+
{
|
|
4357
|
+
"name": "heading",
|
|
4358
|
+
"attribute": "heading",
|
|
4359
|
+
"description": "The heading of the column",
|
|
4360
|
+
"type": "string"
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
"name": "textAlign",
|
|
4364
|
+
"attribute": "textAlign",
|
|
4365
|
+
"description": "The text alignment of the column",
|
|
4366
|
+
"type": "DataGridColumnAlignment"
|
|
4367
|
+
},
|
|
4368
|
+
{
|
|
4369
|
+
"name": "description",
|
|
4370
|
+
"attribute": "description",
|
|
4371
|
+
"description": "The description of the column. It will be displayed as a tooltip on the heading.",
|
|
4372
|
+
"type": "string | undefined"
|
|
4373
|
+
},
|
|
4374
|
+
{
|
|
4375
|
+
"name": "dataSelector",
|
|
4376
|
+
"attribute": "dataSelector",
|
|
4377
|
+
"description": "The data selector of the column",
|
|
4378
|
+
"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"
|
|
4379
|
+
},
|
|
4380
|
+
{
|
|
4381
|
+
"name": "sortDataSelector",
|
|
4382
|
+
"attribute": "sortDataSelector",
|
|
4383
|
+
"description": "The data selector of the column",
|
|
4384
|
+
"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"
|
|
4385
|
+
},
|
|
4386
|
+
{
|
|
4387
|
+
"name": "nonSortable",
|
|
4388
|
+
"attribute": "nonSortable",
|
|
4389
|
+
"description": "Whether the column is sortable",
|
|
4390
|
+
"type": "boolean"
|
|
4391
|
+
},
|
|
4392
|
+
{
|
|
4393
|
+
"name": "nonEditable",
|
|
4394
|
+
"attribute": "nonEditable",
|
|
4395
|
+
"description": "Whether the column is editable",
|
|
4396
|
+
"type": "boolean | Predicate<TData>"
|
|
4397
|
+
},
|
|
4398
|
+
{
|
|
4399
|
+
"name": "sticky",
|
|
4400
|
+
"attribute": "sticky",
|
|
4401
|
+
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4402
|
+
"type": "DataGridColumnSticky | undefined"
|
|
4403
|
+
}
|
|
4404
|
+
]
|
|
4405
|
+
},
|
|
4031
4406
|
{
|
|
4032
4407
|
"name": "mo-data-grid-column-deletion",
|
|
4033
4408
|
"path": ".\\packages\\DataGrid\\dist\\columns\\DataGridColumnDeletion.d.ts",
|
|
@@ -4096,20 +4471,21 @@
|
|
|
4096
4471
|
"name": "sticky",
|
|
4097
4472
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4098
4473
|
"type": "DataGridColumnSticky | undefined"
|
|
4099
|
-
}
|
|
4100
|
-
],
|
|
4101
|
-
"properties": [
|
|
4102
|
-
{
|
|
4103
|
-
"name": "delete",
|
|
4104
|
-
"type": "EventDispatcher<TData>"
|
|
4105
4474
|
},
|
|
4106
4475
|
{
|
|
4107
4476
|
"name": "getContentTemplate",
|
|
4477
|
+
"description": "The content template of the column.",
|
|
4108
4478
|
"type": "(_: never, data?: TData | undefined) => HTMLTemplateResult"
|
|
4109
4479
|
},
|
|
4110
4480
|
{
|
|
4111
4481
|
"name": "getEditContentTemplate",
|
|
4112
|
-
"
|
|
4482
|
+
"description": "The edit content template of the column."
|
|
4483
|
+
}
|
|
4484
|
+
],
|
|
4485
|
+
"properties": [
|
|
4486
|
+
{
|
|
4487
|
+
"name": "delete",
|
|
4488
|
+
"type": "EventDispatcher<TData>"
|
|
4113
4489
|
},
|
|
4114
4490
|
{
|
|
4115
4491
|
"name": "prevent",
|
|
@@ -4196,6 +4572,12 @@
|
|
|
4196
4572
|
"attribute": "sticky",
|
|
4197
4573
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4198
4574
|
"type": "DataGridColumnSticky | undefined"
|
|
4575
|
+
},
|
|
4576
|
+
{
|
|
4577
|
+
"name": "getContentTemplate",
|
|
4578
|
+
"attribute": "getContentTemplate",
|
|
4579
|
+
"description": "The content template of the column.",
|
|
4580
|
+
"type": "(_: never, data?: TData | undefined) => HTMLTemplateResult"
|
|
4199
4581
|
}
|
|
4200
4582
|
],
|
|
4201
4583
|
"events": [
|
|
@@ -4263,13 +4645,17 @@
|
|
|
4263
4645
|
"name": "sticky",
|
|
4264
4646
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4265
4647
|
"type": "DataGridColumnSticky | undefined"
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
"name": "getContentTemplate",
|
|
4651
|
+
"description": "The content template of the column."
|
|
4652
|
+
},
|
|
4653
|
+
{
|
|
4654
|
+
"name": "getEditContentTemplate",
|
|
4655
|
+
"description": "The edit content template of the column."
|
|
4266
4656
|
}
|
|
4267
4657
|
],
|
|
4268
4658
|
"properties": [
|
|
4269
|
-
{
|
|
4270
|
-
"name": "getEditContentTemplate",
|
|
4271
|
-
"type": "undefined"
|
|
4272
|
-
},
|
|
4273
4659
|
{
|
|
4274
4660
|
"name": "tooltipSelector",
|
|
4275
4661
|
"attribute": "tooltipSelector",
|
|
@@ -4399,6 +4785,14 @@
|
|
|
4399
4785
|
"name": "sticky",
|
|
4400
4786
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4401
4787
|
"type": "DataGridColumnSticky | undefined"
|
|
4788
|
+
},
|
|
4789
|
+
{
|
|
4790
|
+
"name": "getContentTemplate",
|
|
4791
|
+
"description": "The content template of the column."
|
|
4792
|
+
},
|
|
4793
|
+
{
|
|
4794
|
+
"name": "getEditContentTemplate",
|
|
4795
|
+
"description": "The edit content template of the column."
|
|
4402
4796
|
}
|
|
4403
4797
|
],
|
|
4404
4798
|
"properties": [
|
|
@@ -4535,6 +4929,14 @@
|
|
|
4535
4929
|
"name": "sticky",
|
|
4536
4930
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4537
4931
|
"type": "DataGridColumnSticky | undefined"
|
|
4932
|
+
},
|
|
4933
|
+
{
|
|
4934
|
+
"name": "getContentTemplate",
|
|
4935
|
+
"description": "The content template of the column."
|
|
4936
|
+
},
|
|
4937
|
+
{
|
|
4938
|
+
"name": "getEditContentTemplate",
|
|
4939
|
+
"description": "The edit content template of the column."
|
|
4538
4940
|
}
|
|
4539
4941
|
],
|
|
4540
4942
|
"properties": [
|
|
@@ -4691,6 +5093,14 @@
|
|
|
4691
5093
|
"name": "sticky",
|
|
4692
5094
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4693
5095
|
"type": "DataGridColumnSticky | undefined"
|
|
5096
|
+
},
|
|
5097
|
+
{
|
|
5098
|
+
"name": "getContentTemplate",
|
|
5099
|
+
"description": "The content template of the column."
|
|
5100
|
+
},
|
|
5101
|
+
{
|
|
5102
|
+
"name": "getEditContentTemplate",
|
|
5103
|
+
"description": "The edit content template of the column."
|
|
4694
5104
|
}
|
|
4695
5105
|
],
|
|
4696
5106
|
"properties": [
|
|
@@ -4847,6 +5257,14 @@
|
|
|
4847
5257
|
"name": "sticky",
|
|
4848
5258
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
4849
5259
|
"type": "DataGridColumnSticky | undefined"
|
|
5260
|
+
},
|
|
5261
|
+
{
|
|
5262
|
+
"name": "getContentTemplate",
|
|
5263
|
+
"description": "The content template of the column."
|
|
5264
|
+
},
|
|
5265
|
+
{
|
|
5266
|
+
"name": "getEditContentTemplate",
|
|
5267
|
+
"description": "The edit content template of the column."
|
|
4850
5268
|
}
|
|
4851
5269
|
],
|
|
4852
5270
|
"properties": [
|
|
@@ -5003,6 +5421,14 @@
|
|
|
5003
5421
|
"name": "sticky",
|
|
5004
5422
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
5005
5423
|
"type": "DataGridColumnSticky | undefined"
|
|
5424
|
+
},
|
|
5425
|
+
{
|
|
5426
|
+
"name": "getContentTemplate",
|
|
5427
|
+
"description": "The content template of the column."
|
|
5428
|
+
},
|
|
5429
|
+
{
|
|
5430
|
+
"name": "getEditContentTemplate",
|
|
5431
|
+
"description": "The edit content template of the column."
|
|
5006
5432
|
}
|
|
5007
5433
|
],
|
|
5008
5434
|
"properties": [
|
|
@@ -5159,6 +5585,14 @@
|
|
|
5159
5585
|
"name": "sticky",
|
|
5160
5586
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
5161
5587
|
"type": "DataGridColumnSticky | undefined"
|
|
5588
|
+
},
|
|
5589
|
+
{
|
|
5590
|
+
"name": "getContentTemplate",
|
|
5591
|
+
"description": "The content template of the column."
|
|
5592
|
+
},
|
|
5593
|
+
{
|
|
5594
|
+
"name": "getEditContentTemplate",
|
|
5595
|
+
"description": "The edit content template of the column."
|
|
5162
5596
|
}
|
|
5163
5597
|
],
|
|
5164
5598
|
"properties": [
|
|
@@ -5329,6 +5763,14 @@
|
|
|
5329
5763
|
"name": "sticky",
|
|
5330
5764
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
5331
5765
|
"type": "DataGridColumnSticky | undefined"
|
|
5766
|
+
},
|
|
5767
|
+
{
|
|
5768
|
+
"name": "getContentTemplate",
|
|
5769
|
+
"description": "The content template of the column."
|
|
5770
|
+
},
|
|
5771
|
+
{
|
|
5772
|
+
"name": "getEditContentTemplate",
|
|
5773
|
+
"description": "The edit content template of the column."
|
|
5332
5774
|
}
|
|
5333
5775
|
],
|
|
5334
5776
|
"properties": [
|
|
@@ -5483,6 +5925,14 @@
|
|
|
5483
5925
|
"name": "sticky",
|
|
5484
5926
|
"description": "The sticky position of the column, either 'start', 'end', or 'both'",
|
|
5485
5927
|
"type": "DataGridColumnSticky | undefined"
|
|
5928
|
+
},
|
|
5929
|
+
{
|
|
5930
|
+
"name": "getContentTemplate",
|
|
5931
|
+
"description": "The content template of the column."
|
|
5932
|
+
},
|
|
5933
|
+
{
|
|
5934
|
+
"name": "getEditContentTemplate",
|
|
5935
|
+
"description": "The edit content template of the column."
|
|
5486
5936
|
}
|
|
5487
5937
|
],
|
|
5488
5938
|
"properties": [
|