@vaadin/grid-pro 24.0.0-alpha5 → 24.0.0-alpha7

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,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/grid-pro",
4
- "version": "24.0.0-alpha5",
4
+ "version": "24.0.0-alpha7",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -149,44 +149,9 @@
149
149
  },
150
150
  {
151
151
  "name": "vaadin-grid-pro",
152
- "description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha5/#/elements/vaadin-grid) documentation for details.\n\n```\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha5/#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha5/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha5/#/elements/vaadin-select).",
152
+ "description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha7/#/elements/vaadin-grid) documentation for details.\n\n```\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha7/#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha7/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/24.0.0-alpha7/#/elements/vaadin-select).",
153
153
  "extension": true,
154
154
  "attributes": [
155
- {
156
- "name": "?multiSort",
157
- "description": "When `true`, all `<vaadin-grid-sorter>` are applied for sorting.",
158
- "value": {
159
- "kind": "expression"
160
- }
161
- },
162
- {
163
- "name": "?multiSortOnShiftClick",
164
- "description": "When `true`, Shift-clicking an unsorted column's sorter adds it to the multi-sort.\nShift + Space does the same action via keyboard. This property has precedence over the\n`multiSort` property. If `multiSortOnShiftClick` is true, the multiSort property is effectively ignored.",
165
- "value": {
166
- "kind": "expression"
167
- }
168
- },
169
- {
170
- "name": "?columnReorderingAllowed",
171
- "description": "Set to true to allow column reordering.",
172
- "value": {
173
- "kind": "expression"
174
- }
175
- },
176
- {
177
- "name": "?rowsDraggable",
178
- "description": "Marks the grid's rows to be available for dragging.",
179
- "value": {
180
- "kind": "expression"
181
- }
182
- },
183
- {
184
- "name": "?allRowsVisible",
185
- "description": "If true, the grid's height is defined by its rows.\n\nEffectively, this disables the grid's virtual scrolling so that all the rows are rendered in the DOM at once.\nIf the grid has a large number of items, using the feature is discouraged to avoid performance issues.",
186
- "value": {
187
- "kind": "expression"
188
- }
189
- },
190
155
  {
191
156
  "name": "?enterNextRow",
192
157
  "description": "When true, pressing Enter while in cell edit mode\nwill move focus to the editable cell in the next row\n(Shift + Enter - same, but for previous row).",
@@ -208,202 +173,6 @@
208
173
  "kind": "expression"
209
174
  }
210
175
  },
211
- {
212
- "name": ".activeItem",
213
- "description": "The item user has last interacted with. Turns to `null` after user deactivates\nthe item by re-interacting with the currently active item.",
214
- "value": {
215
- "kind": "expression"
216
- }
217
- },
218
- {
219
- "name": ".items",
220
- "description": "An array containing the items which will be passed to renderer functions.",
221
- "value": {
222
- "kind": "expression"
223
- }
224
- },
225
- {
226
- "name": ".size",
227
- "description": "The number of root-level items in the grid.",
228
- "value": {
229
- "kind": "expression"
230
- }
231
- },
232
- {
233
- "name": ".pageSize",
234
- "description": "Number of items fetched at a time from the dataprovider.",
235
- "value": {
236
- "kind": "expression"
237
- }
238
- },
239
- {
240
- "name": ".dataProvider",
241
- "description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filters` Currently applied filters\n\n`params.sortOrders` Currently applied sorting orders\n\n`params.parentItem` When tree is used, and sublevel items\nare requested, reference to parent item of the requested sublevel.\nOtherwise `undefined`.\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items. When tree sublevel items\n are requested, total number of items in the requested sublevel.\n Optional when tree is not used, required for tree.",
242
- "value": {
243
- "kind": "expression"
244
- }
245
- },
246
- {
247
- "name": ".itemHasChildrenPath",
248
- "description": "Path to an item sub-property that indicates whether the item has child items.",
249
- "value": {
250
- "kind": "expression"
251
- }
252
- },
253
- {
254
- "name": ".itemIdPath",
255
- "description": "Path to an item sub-property that identifies the item.",
256
- "value": {
257
- "kind": "expression"
258
- }
259
- },
260
- {
261
- "name": ".expandedItems",
262
- "description": "An array that contains the expanded items.",
263
- "value": {
264
- "kind": "expression"
265
- }
266
- },
267
- {
268
- "name": ".detailsOpenedItems",
269
- "description": "An array containing references to items with open row details.",
270
- "value": {
271
- "kind": "expression"
272
- }
273
- },
274
- {
275
- "name": ".rowDetailsRenderer",
276
- "description": "Custom function for rendering the content of the row details.\nReceives three arguments:\n\n- `root` The row details content DOM element. Append your content to it.\n- `grid` The `<vaadin-grid>` element.\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.level` The number of the item's tree sublevel, starts from 0.\n - `model.expanded` True if the item's tree sublevel is expanded.\n - `model.selected` True if the item is selected.",
277
- "value": {
278
- "kind": "expression"
279
- }
280
- },
281
- {
282
- "name": ".selectedItems",
283
- "description": "An array that contains the selected items.",
284
- "value": {
285
- "kind": "expression"
286
- }
287
- },
288
- {
289
- "name": ".multiSortPriority",
290
- "description": "Controls how columns are added to the sort order when using multi-sort.\nThe sort order is visually indicated by numbers in grid sorters placed in column headers.\n\nBy default, whenever an unsorted column is sorted, or the sort-direction of a column is\nchanged, that column gets sort priority 1, thus affecting the priority for all the other\nsorted columns. This is identical to using `multi-sort-priority=\"prepend\"`.\n\nUsing this property allows to change this behavior so that sorting an unsorted column\nwould add it to the \"end\" of the sort, and changing column's sort direction would retain\nit's previous priority. To set this, use `multi-sort-priority=\"append\"`.",
291
- "value": {
292
- "kind": "expression"
293
- }
294
- },
295
- {
296
- "name": ".cellClassNameGenerator",
297
- "description": "A function that allows generating CSS class names for grid cells\nbased on their row and column. The return value should be the generated\nclass name as a string, or multiple class names separated by whitespace\ncharacters.\n\nReceives two arguments:\n- `column` The `<vaadin-grid-column>` element (`undefined` for details-cell).\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
298
- "value": {
299
- "kind": "expression"
300
- }
301
- },
302
- {
303
- "name": ".cellPartNameGenerator",
304
- "description": "A function that allows generating CSS `part` names for grid cells in Shadow DOM based\non their row and column, for styling from outside using the `::part()` selector.\n\nThe return value should be the generated part name as a string, or multiple part names\nseparated by whitespace characters.\n\nReceives two arguments:\n- `column` The `<vaadin-grid-column>` element (`undefined` for details-cell).\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
305
- "value": {
306
- "kind": "expression"
307
- }
308
- },
309
- {
310
- "name": ".dropMode",
311
- "description": "Defines the locations within the Grid row where an element can be dropped.\n\nPossible values are:\n- `between`: The drop event can happen between Grid rows.\n- `on-top`: The drop event can happen on top of Grid rows.\n- `on-top-or-between`: The drop event can happen either on top of or between Grid rows.\n- `on-grid`: The drop event will not happen on any specific row, it will show the drop target outline around the whole grid.",
312
- "value": {
313
- "kind": "expression"
314
- }
315
- },
316
- {
317
- "name": ".dragFilter",
318
- "description": "A function that filters dragging of specific grid rows. The return value should be false\nif dragging of the row should be disabled.\n\nReceives one argument:\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
319
- "value": {
320
- "kind": "expression"
321
- }
322
- },
323
- {
324
- "name": ".dropFilter",
325
- "description": "A function that filters dropping on specific grid rows. The return value should be false\nif dropping on the row should be disabled.\n\nReceives one argument:\n- `model` The object with the properties related with\n the rendered item, contains:\n - `model.index` The index of the item.\n - `model.item` The item.\n - `model.expanded` Sublevel toggle state.\n - `model.level` Level of the tree represented with a horizontal offset of the toggle button.\n - `model.selected` Selected state.",
326
- "value": {
327
- "kind": "expression"
328
- }
329
- },
330
- {
331
- "name": "@active-item-changed",
332
- "description": "Fired when the `activeItem` property changes.",
333
- "value": {
334
- "kind": "expression"
335
- }
336
- },
337
- {
338
- "name": "@cell-activate",
339
- "description": "Fired when the cell is activated with click or keyboard.",
340
- "value": {
341
- "kind": "expression"
342
- }
343
- },
344
- {
345
- "name": "@column-resize",
346
- "description": "Fired when a column in the grid is resized by the user.",
347
- "value": {
348
- "kind": "expression"
349
- }
350
- },
351
- {
352
- "name": "@expanded-items-changed",
353
- "description": "Fired when the `expandedItems` property changes.",
354
- "value": {
355
- "kind": "expression"
356
- }
357
- },
358
- {
359
- "name": "@loading-changed",
360
- "description": "Fired when the `loading` property changes.",
361
- "value": {
362
- "kind": "expression"
363
- }
364
- },
365
- {
366
- "name": "@selected-items-changed",
367
- "description": "Fired when the `selectedItems` property changes.",
368
- "value": {
369
- "kind": "expression"
370
- }
371
- },
372
- {
373
- "name": "@cell-focus",
374
- "description": "Fired when a cell is focused with click or keyboard navigation.\n\nUse context property of @see {@link GridCellFocusEvent} to get detail information about the event.",
375
- "value": {
376
- "kind": "expression"
377
- }
378
- },
379
- {
380
- "name": "@column-reorder",
381
- "description": "Fired when the columns in the grid are reordered.",
382
- "value": {
383
- "kind": "expression"
384
- }
385
- },
386
- {
387
- "name": "@grid-dragend",
388
- "description": "Fired when the dragging of the rows ends.",
389
- "value": {
390
- "kind": "expression"
391
- }
392
- },
393
- {
394
- "name": "@grid-dragstart",
395
- "description": "Fired when starting to drag grid rows.",
396
- "value": {
397
- "kind": "expression"
398
- }
399
- },
400
- {
401
- "name": "@grid-drop",
402
- "description": "Fired when a drop occurs on top of the grid.",
403
- "value": {
404
- "kind": "expression"
405
- }
406
- },
407
176
  {
408
177
  "name": "@cell-edit-started",
409
178
  "description": "Fired when the user starts editing a grid cell.",
@@ -418,20 +187,6 @@
418
187
  "kind": "expression"
419
188
  }
420
189
  },
421
- {
422
- "name": "@size-changed",
423
- "description": "Fired when the `size` property changes.",
424
- "value": {
425
- "kind": "expression"
426
- }
427
- },
428
- {
429
- "name": "@data-provider-changed",
430
- "description": "Fired when the `dataProvider` property changes.",
431
- "value": {
432
- "kind": "expression"
433
- }
434
- },
435
190
  {
436
191
  "name": "@enter-next-row-changed",
437
192
  "description": "Fired when the `enterNextRow` property changes.",