tosijs-ui 1.5.4 → 1.5.5
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/data-table.js +30 -30
- package/dist/iife.js +7 -7
- package/dist/iife.js.map +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
package/dist/data-table.js
CHANGED
|
@@ -1192,39 +1192,39 @@ export class TosiTable extends WebComponent {
|
|
|
1192
1192
|
if (menu.length) {
|
|
1193
1193
|
menu.push(null);
|
|
1194
1194
|
}
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1195
|
+
menu.push({
|
|
1196
|
+
caption: this.localized ? localize('Pin') : 'Pin',
|
|
1197
|
+
icon: 'lock',
|
|
1198
|
+
menuItems: [
|
|
1199
|
+
{
|
|
1200
|
+
caption: this.localized ? localize('Left') : 'Left',
|
|
1201
|
+
icon: 'arrowLeft',
|
|
1202
|
+
enabled: () => options.pinned !== 'left',
|
|
1203
|
+
action() {
|
|
1204
|
+
options.pinned = 'left';
|
|
1205
|
+
queueRender();
|
|
1206
|
+
},
|
|
1204
1207
|
},
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
action() {
|
|
1214
|
-
options.pinned = 'left';
|
|
1215
|
-
queueRender();
|
|
1208
|
+
{
|
|
1209
|
+
caption: this.localized ? localize('Right') : 'Right',
|
|
1210
|
+
icon: 'arrowRight',
|
|
1211
|
+
enabled: () => options.pinned !== 'right',
|
|
1212
|
+
action() {
|
|
1213
|
+
options.pinned = 'right';
|
|
1214
|
+
queueRender();
|
|
1215
|
+
},
|
|
1216
1216
|
},
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
:
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1217
|
+
{
|
|
1218
|
+
caption: this.localized ? localize('Unpin') : 'Unpin',
|
|
1219
|
+
icon: 'unlock',
|
|
1220
|
+
enabled: () => !!options.pinned,
|
|
1221
|
+
action() {
|
|
1222
|
+
delete options.pinned;
|
|
1223
|
+
queueRender();
|
|
1224
|
+
},
|
|
1225
1225
|
},
|
|
1226
|
-
|
|
1227
|
-
}
|
|
1226
|
+
],
|
|
1227
|
+
});
|
|
1228
1228
|
popMenu({
|
|
1229
1229
|
target,
|
|
1230
1230
|
localized: this.localized,
|