@vaadin/crud 25.1.0-alpha9 → 25.1.0-beta2
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/custom-elements.json +217 -1834
- package/package.json +16 -16
- package/src/vaadin-crud-mixin.js +1 -4
- package/web-types.json +37 -17
- package/web-types.lit.json +4 -4
package/custom-elements.json
CHANGED
|
@@ -47,85 +47,6 @@
|
|
|
47
47
|
}
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
|
-
{
|
|
51
|
-
"kind": "javascript-module",
|
|
52
|
-
"path": "src/vaadin-crud-controllers.js",
|
|
53
|
-
"declarations": [
|
|
54
|
-
{
|
|
55
|
-
"kind": "class",
|
|
56
|
-
"description": "A controller for initializing slotted button.",
|
|
57
|
-
"name": "ButtonSlotController",
|
|
58
|
-
"members": [
|
|
59
|
-
{
|
|
60
|
-
"kind": "field",
|
|
61
|
-
"name": "theme",
|
|
62
|
-
"default": "theme"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"kind": "field",
|
|
66
|
-
"name": "type",
|
|
67
|
-
"default": "type"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"superclass": {
|
|
71
|
-
"name": "SlotController",
|
|
72
|
-
"package": "@vaadin/component-base/src/slot-controller.js"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"kind": "class",
|
|
77
|
-
"description": "A controller for initializing slotted form.",
|
|
78
|
-
"name": "FormSlotController",
|
|
79
|
-
"members": [],
|
|
80
|
-
"superclass": {
|
|
81
|
-
"name": "SlotController",
|
|
82
|
-
"package": "@vaadin/component-base/src/slot-controller.js"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"kind": "class",
|
|
87
|
-
"description": "A controller for initializing slotted grid.",
|
|
88
|
-
"name": "GridSlotController",
|
|
89
|
-
"members": [],
|
|
90
|
-
"superclass": {
|
|
91
|
-
"name": "SlotController",
|
|
92
|
-
"package": "@vaadin/component-base/src/slot-controller.js"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"exports": [
|
|
97
|
-
{
|
|
98
|
-
"kind": "js",
|
|
99
|
-
"name": "ButtonSlotController",
|
|
100
|
-
"declaration": {
|
|
101
|
-
"name": "ButtonSlotController",
|
|
102
|
-
"module": "src/vaadin-crud-controllers.js"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"kind": "js",
|
|
107
|
-
"name": "FormSlotController",
|
|
108
|
-
"declaration": {
|
|
109
|
-
"name": "FormSlotController",
|
|
110
|
-
"module": "src/vaadin-crud-controllers.js"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"kind": "js",
|
|
115
|
-
"name": "GridSlotController",
|
|
116
|
-
"declaration": {
|
|
117
|
-
"name": "GridSlotController",
|
|
118
|
-
"module": "src/vaadin-crud-controllers.js"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"kind": "javascript-module",
|
|
125
|
-
"path": "src/vaadin-crud-dialog.js",
|
|
126
|
-
"declarations": [],
|
|
127
|
-
"exports": []
|
|
128
|
-
},
|
|
129
50
|
{
|
|
130
51
|
"kind": "javascript-module",
|
|
131
52
|
"path": "src/vaadin-crud-edit-column.js",
|
|
@@ -466,1821 +387,301 @@
|
|
|
466
387
|
"description": "Custom part name for the header cell.",
|
|
467
388
|
"fieldName": "headerPartName",
|
|
468
389
|
"inheritedFrom": {
|
|
469
|
-
"name": "ColumnBaseMixin",
|
|
470
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"name": "header-renderer",
|
|
475
|
-
"type": {
|
|
476
|
-
"text": "GridHeaderFooterRenderer | null | undefined"
|
|
477
|
-
},
|
|
478
|
-
"description": "Custom function for rendering the header content.\nReceives two arguments:\n\n- `root` The header cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` element.",
|
|
479
|
-
"fieldName": "headerRenderer",
|
|
480
|
-
"inheritedFrom": {
|
|
481
|
-
"name": "ColumnBaseMixin",
|
|
482
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"name": "hidden",
|
|
487
|
-
"type": {
|
|
488
|
-
"text": "boolean"
|
|
489
|
-
},
|
|
490
|
-
"description": "When set to true, the cells for this column are hidden.",
|
|
491
|
-
"fieldName": "hidden",
|
|
492
|
-
"inheritedFrom": {
|
|
493
|
-
"name": "ColumnBaseMixin",
|
|
494
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"name": "path",
|
|
499
|
-
"type": {
|
|
500
|
-
"text": "string"
|
|
501
|
-
},
|
|
502
|
-
"description": "Path to an item sub-property whose value gets displayed in the column body cells.\nThe property name is also shown in the column header if an explicit header or renderer isn't defined.",
|
|
503
|
-
"fieldName": "path",
|
|
504
|
-
"inheritedFrom": {
|
|
505
|
-
"name": "GridColumnMixin",
|
|
506
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "renderer",
|
|
511
|
-
"type": {
|
|
512
|
-
"text": "GridBodyRenderer | null | undefined"
|
|
513
|
-
},
|
|
514
|
-
"description": "Custom function for rendering the cell content.\nReceives three arguments:\n\n- `root` The cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` 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.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.\n - `model.detailsOpened` Details opened state.\n - `model.hasChildren` Whether the item has children.",
|
|
515
|
-
"fieldName": "renderer",
|
|
516
|
-
"inheritedFrom": {
|
|
517
|
-
"name": "GridColumnMixin",
|
|
518
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"name": "resizable",
|
|
523
|
-
"type": {
|
|
524
|
-
"text": "boolean"
|
|
525
|
-
},
|
|
526
|
-
"description": "When set to true, the column is user-resizable.",
|
|
527
|
-
"default": "false",
|
|
528
|
-
"fieldName": "resizable",
|
|
529
|
-
"inheritedFrom": {
|
|
530
|
-
"name": "ColumnBaseMixin",
|
|
531
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"name": "row-header",
|
|
536
|
-
"type": {
|
|
537
|
-
"text": "boolean"
|
|
538
|
-
},
|
|
539
|
-
"description": "When true, the cells for this column will be rendered with the `role` attribute\nset as `rowheader`, instead of the `gridcell` role value used by default.\n\nWhen a column is set as row header, its cells will be announced by screen readers\nwhile navigating to help user identify the current row as uniquely as possible.",
|
|
540
|
-
"fieldName": "rowHeader",
|
|
541
|
-
"inheritedFrom": {
|
|
542
|
-
"name": "ColumnBaseMixin",
|
|
543
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
544
|
-
}
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
"name": "text-align",
|
|
548
|
-
"type": {
|
|
549
|
-
"text": "GridColumnTextAlign | null | undefined"
|
|
550
|
-
},
|
|
551
|
-
"description": "Aligns the columns cell content horizontally.\nSupported values: \"start\", \"center\" and \"end\".",
|
|
552
|
-
"fieldName": "textAlign",
|
|
553
|
-
"inheritedFrom": {
|
|
554
|
-
"name": "ColumnBaseMixin",
|
|
555
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "width",
|
|
560
|
-
"type": {
|
|
561
|
-
"text": "string"
|
|
562
|
-
},
|
|
563
|
-
"description": "Width of the cells for this column.\n\nPlease note that using the `em` length unit is discouraged as\nit might lead to misalignment issues if the header, body, and footer\ncells have different font sizes. Instead, use `rem` if you need\na length unit relative to the font size.",
|
|
564
|
-
"fieldName": "width",
|
|
565
|
-
"inheritedFrom": {
|
|
566
|
-
"name": "GridColumnMixin",
|
|
567
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
],
|
|
571
|
-
"superclass": {
|
|
572
|
-
"name": "GridColumn",
|
|
573
|
-
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
574
|
-
},
|
|
575
|
-
"tagName": "vaadin-crud-edit-column",
|
|
576
|
-
"customElement": true,
|
|
577
|
-
"events": []
|
|
578
|
-
}
|
|
579
|
-
],
|
|
580
|
-
"exports": [
|
|
581
|
-
{
|
|
582
|
-
"kind": "js",
|
|
583
|
-
"name": "CrudEditColumn",
|
|
584
|
-
"declaration": {
|
|
585
|
-
"name": "CrudEditColumn",
|
|
586
|
-
"module": "src/vaadin-crud-edit-column.js"
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
]
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"kind": "javascript-module",
|
|
593
|
-
"path": "src/vaadin-crud-edit.js",
|
|
594
|
-
"declarations": [
|
|
595
|
-
{
|
|
596
|
-
"kind": "class",
|
|
597
|
-
"description": "`<vaadin-crud-edit>` is a helper element for `<vaadin-grid-column>` that provides\nan easily themable button that fires an `edit` event with the row item as detail\nwhen clicked.\n\nTypical usage is in a `<vaadin-grid-column>` of a custom `<vaadin-grid>` inside\na `<vaadin-crud>` to enable editing.",
|
|
598
|
-
"name": "CrudEdit",
|
|
599
|
-
"members": [
|
|
600
|
-
{
|
|
601
|
-
"kind": "field",
|
|
602
|
-
"name": "disabled",
|
|
603
|
-
"privacy": "public",
|
|
604
|
-
"type": {
|
|
605
|
-
"text": "boolean"
|
|
606
|
-
},
|
|
607
|
-
"description": "When disabled, the button is rendered as \"dimmed\" and prevents all\nuser interactions (mouse and keyboard).\n\nSince disabled buttons are not focusable and cannot react to hover\nevents by default, it can cause accessibility issues by making them\nentirely invisible to assistive technologies, and prevents the use\nof Tooltips to explain why the action is not available. This can be\naddressed by enabling the feature flag `accessibleDisabledButtons`,\nwhich makes disabled buttons focusable and hoverable, while still\npreventing them from being triggered:\n\n```js\n// Set before any button is attached to the DOM.\nwindow.Vaadin.featureFlags.accessibleDisabledButtons = true\n```",
|
|
608
|
-
"attribute": "disabled",
|
|
609
|
-
"inheritedFrom": {
|
|
610
|
-
"name": "Button",
|
|
611
|
-
"package": "@vaadin/button/src/vaadin-button.js"
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
],
|
|
615
|
-
"superclass": {
|
|
616
|
-
"name": "Button",
|
|
617
|
-
"package": "@vaadin/button/src/vaadin-button.js"
|
|
618
|
-
},
|
|
619
|
-
"tagName": "vaadin-crud-edit",
|
|
620
|
-
"customElement": true,
|
|
621
|
-
"attributes": [
|
|
622
|
-
{
|
|
623
|
-
"name": "disabled",
|
|
624
|
-
"type": {
|
|
625
|
-
"text": "boolean"
|
|
626
|
-
},
|
|
627
|
-
"description": "When disabled, the button is rendered as \"dimmed\" and prevents all\nuser interactions (mouse and keyboard).\n\nSince disabled buttons are not focusable and cannot react to hover\nevents by default, it can cause accessibility issues by making them\nentirely invisible to assistive technologies, and prevents the use\nof Tooltips to explain why the action is not available. This can be\naddressed by enabling the feature flag `accessibleDisabledButtons`,\nwhich makes disabled buttons focusable and hoverable, while still\npreventing them from being triggered:\n\n```js\n// Set before any button is attached to the DOM.\nwindow.Vaadin.featureFlags.accessibleDisabledButtons = true\n```",
|
|
628
|
-
"fieldName": "disabled",
|
|
629
|
-
"inheritedFrom": {
|
|
630
|
-
"name": "Button",
|
|
631
|
-
"package": "@vaadin/button/src/vaadin-button.js"
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
"name": "tabindex",
|
|
636
|
-
"type": {
|
|
637
|
-
"text": "number"
|
|
638
|
-
},
|
|
639
|
-
"description": "Indicates whether the element can be focused and where it participates in sequential keyboard navigation.",
|
|
640
|
-
"fieldName": "tabindex",
|
|
641
|
-
"inheritedFrom": {
|
|
642
|
-
"name": "Button",
|
|
643
|
-
"package": "@vaadin/button/src/vaadin-button.js"
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
],
|
|
647
|
-
"events": []
|
|
648
|
-
}
|
|
649
|
-
],
|
|
650
|
-
"exports": [
|
|
651
|
-
{
|
|
652
|
-
"kind": "js",
|
|
653
|
-
"name": "CrudEdit",
|
|
654
|
-
"declaration": {
|
|
655
|
-
"name": "CrudEdit",
|
|
656
|
-
"module": "src/vaadin-crud-edit.js"
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
]
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
"kind": "javascript-module",
|
|
663
|
-
"path": "src/vaadin-crud-form.js",
|
|
664
|
-
"declarations": [
|
|
665
|
-
{
|
|
666
|
-
"kind": "class",
|
|
667
|
-
"description": "An element used internally by `<vaadin-crud>`. Not intended to be used separately.",
|
|
668
|
-
"name": "CrudForm",
|
|
669
|
-
"members": [
|
|
670
|
-
{
|
|
671
|
-
"kind": "field",
|
|
672
|
-
"name": "autoResponsive",
|
|
673
|
-
"privacy": "public",
|
|
674
|
-
"type": {
|
|
675
|
-
"text": "boolean"
|
|
676
|
-
},
|
|
677
|
-
"description": "When set to `true`, the component automatically creates and adjusts columns based on\nthe container's width. Columns have a fixed width defined by `columnWidth` and their\nnumber increases up to the limit set by `maxColumns`. The component dynamically adjusts\nthe number of columns as the container size changes. When this mode is enabled,\n`responsiveSteps` are ignored.\n\nBy default, each field is placed on a new row. To organize fields into rows, there are\ntwo options:\n\n1. Use `<vaadin-form-row>` to explicitly group fields into rows.\n\n2. Enable the `autoRows` property to automatically arrange fields in available columns,\n wrapping to a new row when necessary. `<br>` elements can be used to force a new row.\n\nThe auto-responsive mode is disabled by default. To enable it for an individual instance,\nuse this property. Alternatively, if you want it to be enabled for all instances by default,\nenable the `defaultAutoResponsiveFormLayout` feature flag before `<vaadin-form-layout>`\nelements are added to the DOM:\n\n```js\nwindow.Vaadin.featureFlags.defaultAutoResponsiveFormLayout = true;\n```",
|
|
678
|
-
"attribute": "auto-responsive",
|
|
679
|
-
"inheritedFrom": {
|
|
680
|
-
"name": "FormLayoutMixin",
|
|
681
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
682
|
-
}
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
"kind": "field",
|
|
686
|
-
"name": "autoRows",
|
|
687
|
-
"privacy": "public",
|
|
688
|
-
"type": {
|
|
689
|
-
"text": "boolean"
|
|
690
|
-
},
|
|
691
|
-
"description": "When enabled with `autoResponsive`, distributes fields across columns\nby placing each field in the next available column and wrapping to\nthe next row when the current row is full. `<br>` elements can be\nused to force a new row.\n\nThe default value is `false`.",
|
|
692
|
-
"attribute": "auto-rows",
|
|
693
|
-
"inheritedFrom": {
|
|
694
|
-
"name": "FormLayoutMixin",
|
|
695
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
696
|
-
}
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"kind": "field",
|
|
700
|
-
"name": "columnWidth",
|
|
701
|
-
"privacy": "public",
|
|
702
|
-
"type": {
|
|
703
|
-
"text": "string"
|
|
704
|
-
},
|
|
705
|
-
"description": "When `autoResponsive` is enabled, defines the width of each column.\nThe value must be defined in CSS length units, e.g. `100px`.\n\nIf the column width isn't explicitly set, it defaults to `12em`\nor `--vaadin-field-default-width` if that CSS property is defined.",
|
|
706
|
-
"attribute": "column-width",
|
|
707
|
-
"inheritedFrom": {
|
|
708
|
-
"name": "FormLayoutMixin",
|
|
709
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
"kind": "field",
|
|
714
|
-
"name": "exclude",
|
|
715
|
-
"privacy": "public",
|
|
716
|
-
"description": "A list of item fields that should not be mapped to form fields.\n\nWhen [`include`](#/elements/vaadin-crud-form#property-include) is defined, this property is ignored.\n\nDefault is to exclude any private property.",
|
|
717
|
-
"type": {
|
|
718
|
-
"text": "string | RegExp"
|
|
719
|
-
},
|
|
720
|
-
"attribute": "exclude",
|
|
721
|
-
"inheritedFrom": {
|
|
722
|
-
"name": "IncludedMixin",
|
|
723
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"kind": "field",
|
|
728
|
-
"name": "expandColumns",
|
|
729
|
-
"privacy": "public",
|
|
730
|
-
"type": {
|
|
731
|
-
"text": "boolean"
|
|
732
|
-
},
|
|
733
|
-
"description": "When `autoResponsive` is enabled, specifies whether the columns should expand\nin width to evenly fill any remaining space after all columns have been created.\n\nThe default value is `false`.",
|
|
734
|
-
"attribute": "expand-columns",
|
|
735
|
-
"inheritedFrom": {
|
|
736
|
-
"name": "FormLayoutMixin",
|
|
737
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
"kind": "field",
|
|
742
|
-
"name": "expandFields",
|
|
743
|
-
"privacy": "public",
|
|
744
|
-
"type": {
|
|
745
|
-
"text": "boolean"
|
|
746
|
-
},
|
|
747
|
-
"description": "When `autoResponsive` is enabled, specifies whether fields should stretch\nto take up all available space within columns. This setting also applies\nto fields inside `<vaadin-form-item>` elements.\n\nThe default value is `false`.",
|
|
748
|
-
"attribute": "expand-fields",
|
|
749
|
-
"inheritedFrom": {
|
|
750
|
-
"name": "FormLayoutMixin",
|
|
751
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"kind": "field",
|
|
756
|
-
"name": "include",
|
|
757
|
-
"privacy": "public",
|
|
758
|
-
"description": "A list of item properties that should be mapped to form fields.\n\nWhen it is defined [`exclude`](#/elements/vaadin-crud-form#property-exclude) is ignored.",
|
|
759
|
-
"type": {
|
|
760
|
-
"text": "string | !Array<string> | undefined"
|
|
761
|
-
},
|
|
762
|
-
"attribute": "include",
|
|
763
|
-
"inheritedFrom": {
|
|
764
|
-
"name": "IncludedMixin",
|
|
765
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
"kind": "field",
|
|
770
|
-
"name": "item",
|
|
771
|
-
"privacy": "public",
|
|
772
|
-
"type": {
|
|
773
|
-
"text": "unknown"
|
|
774
|
-
},
|
|
775
|
-
"description": "The item being edited.",
|
|
776
|
-
"attribute": "item"
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
"kind": "field",
|
|
780
|
-
"name": "labelsAside",
|
|
781
|
-
"privacy": "public",
|
|
782
|
-
"type": {
|
|
783
|
-
"text": "boolean"
|
|
784
|
-
},
|
|
785
|
-
"description": "When enabled with `autoResponsive`, `<vaadin-form-item>` prefers positioning\nlabels beside the fields. If the layout is too narrow to fit a single column\nwith a side label, the component will automatically switch labels to their\ndefault position above the fields.\n\nThe default value is `false`.\n\nTo customize the label width and the gap between the label and the field,\nuse the following CSS properties:\n\n- `--vaadin-form-layout-label-width`\n- `--vaadin-form-layout-label-spacing`",
|
|
786
|
-
"attribute": "labels-aside",
|
|
787
|
-
"inheritedFrom": {
|
|
788
|
-
"name": "FormLayoutMixin",
|
|
789
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
790
|
-
}
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"kind": "field",
|
|
794
|
-
"name": "maxColumns",
|
|
795
|
-
"privacy": "public",
|
|
796
|
-
"type": {
|
|
797
|
-
"text": "number"
|
|
798
|
-
},
|
|
799
|
-
"description": "When `autoResponsive` is enabled, defines the maximum number of columns\nthat the layout can create. The layout will create columns up to this\nlimit based on the available container width.\n\nThe default value is `10`.",
|
|
800
|
-
"attribute": "max-columns",
|
|
801
|
-
"inheritedFrom": {
|
|
802
|
-
"name": "FormLayoutMixin",
|
|
803
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"kind": "field",
|
|
808
|
-
"name": "minColumns",
|
|
809
|
-
"privacy": "public",
|
|
810
|
-
"type": {
|
|
811
|
-
"text": "number"
|
|
812
|
-
},
|
|
813
|
-
"description": "When `autoResponsive` is enabled, defines the minimum number of columns\nthat the layout can create. The layout will create columns at least up\nto this limit.\n\nThe default value is `1`.",
|
|
814
|
-
"attribute": "min-columns",
|
|
815
|
-
"inheritedFrom": {
|
|
816
|
-
"name": "FormLayoutMixin",
|
|
817
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
818
|
-
}
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"kind": "field",
|
|
822
|
-
"name": "responsiveSteps",
|
|
823
|
-
"privacy": "public",
|
|
824
|
-
"type": {
|
|
825
|
-
"text": "!Array<!FormLayoutResponsiveStep>"
|
|
826
|
-
},
|
|
827
|
-
"description": "Allows specifying a responsive behavior with the number of columns\nand the label position depending on the layout width.\n\nFormat: array of objects, each object defines one responsive step\nwith `minWidth` CSS length, `columns` number, and optional\n`labelsPosition` string of `\"aside\"` or `\"top\"`. At least one item is required.\n\nNOTE: Responsive steps are ignored in auto-responsive mode, which may be\nenabled explicitly via the `autoResponsive` property or implicitly\nif the following feature flag is set:\n\n```js\nwindow.Vaadin.featureFlags.defaultAutoResponsiveFormLayout = true\n```\n\n#### Examples\n\n```javascript\nformLayout.responsiveSteps = [{columns: 1}];\n// The layout is always a single column, labels aside.\n```\n\n```javascript\nformLayout.responsiveSteps = [\n {minWidth: 0, columns: 1},\n {minWidth: '40em', columns: 2}\n];\n// Sets two responsive steps:\n// 1. When the layout width is < 40em, one column, labels aside.\n// 2. Width >= 40em, two columns, labels aside.\n```\n\n```javascript\nformLayout.responsiveSteps = [\n {minWidth: 0, columns: 1, labelsPosition: 'top'},\n {minWidth: '20em', columns: 1},\n {minWidth: '40em', columns: 2}\n];\n// Default value. Three responsive steps:\n// 1. Width < 20em, one column, labels on top.\n// 2. 20em <= width < 40em, one column, labels aside.\n// 3. Width >= 40em, two columns, labels aside.\n```",
|
|
828
|
-
"attribute": "responsive-steps",
|
|
829
|
-
"inheritedFrom": {
|
|
830
|
-
"name": "FormLayoutMixin",
|
|
831
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
],
|
|
835
|
-
"attributes": [
|
|
836
|
-
{
|
|
837
|
-
"name": "auto-responsive",
|
|
838
|
-
"type": {
|
|
839
|
-
"text": "boolean"
|
|
840
|
-
},
|
|
841
|
-
"description": "When set to `true`, the component automatically creates and adjusts columns based on\nthe container's width. Columns have a fixed width defined by `columnWidth` and their\nnumber increases up to the limit set by `maxColumns`. The component dynamically adjusts\nthe number of columns as the container size changes. When this mode is enabled,\n`responsiveSteps` are ignored.\n\nBy default, each field is placed on a new row. To organize fields into rows, there are\ntwo options:\n\n1. Use `<vaadin-form-row>` to explicitly group fields into rows.\n\n2. Enable the `autoRows` property to automatically arrange fields in available columns,\n wrapping to a new row when necessary. `<br>` elements can be used to force a new row.\n\nThe auto-responsive mode is disabled by default. To enable it for an individual instance,\nuse this property. Alternatively, if you want it to be enabled for all instances by default,\nenable the `defaultAutoResponsiveFormLayout` feature flag before `<vaadin-form-layout>`\nelements are added to the DOM:\n\n```js\nwindow.Vaadin.featureFlags.defaultAutoResponsiveFormLayout = true;\n```",
|
|
842
|
-
"fieldName": "autoResponsive",
|
|
843
|
-
"inheritedFrom": {
|
|
844
|
-
"name": "FormLayoutMixin",
|
|
845
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"name": "auto-rows",
|
|
850
|
-
"type": {
|
|
851
|
-
"text": "boolean"
|
|
852
|
-
},
|
|
853
|
-
"description": "When enabled with `autoResponsive`, distributes fields across columns\nby placing each field in the next available column and wrapping to\nthe next row when the current row is full. `<br>` elements can be\nused to force a new row.\n\nThe default value is `false`.",
|
|
854
|
-
"fieldName": "autoRows",
|
|
855
|
-
"inheritedFrom": {
|
|
856
|
-
"name": "FormLayoutMixin",
|
|
857
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
858
|
-
}
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"name": "column-width",
|
|
862
|
-
"type": {
|
|
863
|
-
"text": "string"
|
|
864
|
-
},
|
|
865
|
-
"description": "When `autoResponsive` is enabled, defines the width of each column.\nThe value must be defined in CSS length units, e.g. `100px`.\n\nIf the column width isn't explicitly set, it defaults to `12em`\nor `--vaadin-field-default-width` if that CSS property is defined.",
|
|
866
|
-
"fieldName": "columnWidth",
|
|
867
|
-
"inheritedFrom": {
|
|
868
|
-
"name": "FormLayoutMixin",
|
|
869
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"name": "exclude",
|
|
874
|
-
"description": "A list of item fields that should not be mapped to form fields.\n\nWhen [`include`](#/elements/vaadin-crud-form#property-include) is defined, this property is ignored.\n\nDefault is to exclude any private property.",
|
|
875
|
-
"type": {
|
|
876
|
-
"text": "string | RegExp"
|
|
877
|
-
},
|
|
878
|
-
"fieldName": "exclude",
|
|
879
|
-
"inheritedFrom": {
|
|
880
|
-
"name": "IncludedMixin",
|
|
881
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"name": "expand-columns",
|
|
886
|
-
"type": {
|
|
887
|
-
"text": "boolean"
|
|
888
|
-
},
|
|
889
|
-
"description": "When `autoResponsive` is enabled, specifies whether the columns should expand\nin width to evenly fill any remaining space after all columns have been created.\n\nThe default value is `false`.",
|
|
890
|
-
"fieldName": "expandColumns",
|
|
891
|
-
"inheritedFrom": {
|
|
892
|
-
"name": "FormLayoutMixin",
|
|
893
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
894
|
-
}
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"name": "expand-fields",
|
|
898
|
-
"type": {
|
|
899
|
-
"text": "boolean"
|
|
900
|
-
},
|
|
901
|
-
"description": "When `autoResponsive` is enabled, specifies whether fields should stretch\nto take up all available space within columns. This setting also applies\nto fields inside `<vaadin-form-item>` elements.\n\nThe default value is `false`.",
|
|
902
|
-
"fieldName": "expandFields",
|
|
903
|
-
"inheritedFrom": {
|
|
904
|
-
"name": "FormLayoutMixin",
|
|
905
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
906
|
-
}
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
"name": "labels-aside",
|
|
910
|
-
"type": {
|
|
911
|
-
"text": "boolean"
|
|
912
|
-
},
|
|
913
|
-
"description": "When enabled with `autoResponsive`, `<vaadin-form-item>` prefers positioning\nlabels beside the fields. If the layout is too narrow to fit a single column\nwith a side label, the component will automatically switch labels to their\ndefault position above the fields.\n\nThe default value is `false`.\n\nTo customize the label width and the gap between the label and the field,\nuse the following CSS properties:\n\n- `--vaadin-form-layout-label-width`\n- `--vaadin-form-layout-label-spacing`",
|
|
914
|
-
"fieldName": "labelsAside",
|
|
915
|
-
"inheritedFrom": {
|
|
916
|
-
"name": "FormLayoutMixin",
|
|
917
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
"name": "max-columns",
|
|
922
|
-
"type": {
|
|
923
|
-
"text": "number"
|
|
924
|
-
},
|
|
925
|
-
"description": "When `autoResponsive` is enabled, defines the maximum number of columns\nthat the layout can create. The layout will create columns up to this\nlimit based on the available container width.\n\nThe default value is `10`.",
|
|
926
|
-
"fieldName": "maxColumns",
|
|
927
|
-
"inheritedFrom": {
|
|
928
|
-
"name": "FormLayoutMixin",
|
|
929
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
930
|
-
}
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"name": "min-columns",
|
|
934
|
-
"type": {
|
|
935
|
-
"text": "number"
|
|
936
|
-
},
|
|
937
|
-
"description": "When `autoResponsive` is enabled, defines the minimum number of columns\nthat the layout can create. The layout will create columns at least up\nto this limit.\n\nThe default value is `1`.",
|
|
938
|
-
"fieldName": "minColumns",
|
|
939
|
-
"inheritedFrom": {
|
|
940
|
-
"name": "FormLayoutMixin",
|
|
941
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout-mixin.js"
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
],
|
|
945
|
-
"mixins": [
|
|
946
|
-
{
|
|
947
|
-
"name": "IncludedMixin",
|
|
948
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
949
|
-
}
|
|
950
|
-
],
|
|
951
|
-
"superclass": {
|
|
952
|
-
"name": "FormLayout",
|
|
953
|
-
"package": "@vaadin/form-layout/src/vaadin-form-layout.js"
|
|
954
|
-
},
|
|
955
|
-
"tagName": "vaadin-crud-form",
|
|
956
|
-
"customElement": true,
|
|
957
|
-
"events": []
|
|
958
|
-
}
|
|
959
|
-
],
|
|
960
|
-
"exports": [
|
|
961
|
-
{
|
|
962
|
-
"kind": "js",
|
|
963
|
-
"name": "CrudForm",
|
|
964
|
-
"declaration": {
|
|
965
|
-
"name": "CrudForm",
|
|
966
|
-
"module": "src/vaadin-crud-form.js"
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
]
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"kind": "javascript-module",
|
|
973
|
-
"path": "src/vaadin-crud-grid-mixin.js",
|
|
974
|
-
"declarations": [
|
|
975
|
-
{
|
|
976
|
-
"kind": "mixin",
|
|
977
|
-
"description": "A mixin providing common crud-grid functionality.",
|
|
978
|
-
"name": "CrudGridMixin",
|
|
979
|
-
"members": [
|
|
980
|
-
{
|
|
981
|
-
"kind": "field",
|
|
982
|
-
"name": "exclude",
|
|
983
|
-
"privacy": "public",
|
|
984
|
-
"description": "A list of item fields that should not be mapped to form fields.\n\nWhen [`include`](#/elements/vaadin-crud-form#property-include) is defined, this property is ignored.\n\nDefault is to exclude any private property.",
|
|
985
|
-
"type": {
|
|
986
|
-
"text": "string | RegExp"
|
|
987
|
-
},
|
|
988
|
-
"attribute": "exclude",
|
|
989
|
-
"inheritedFrom": {
|
|
990
|
-
"name": "IncludedMixin",
|
|
991
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
"kind": "field",
|
|
996
|
-
"name": "hideEditColumn",
|
|
997
|
-
"privacy": "public",
|
|
998
|
-
"type": {
|
|
999
|
-
"text": "boolean"
|
|
1000
|
-
},
|
|
1001
|
-
"description": "Determines whether the edit column should be hidden.",
|
|
1002
|
-
"attribute": "hide-edit-column"
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"kind": "field",
|
|
1006
|
-
"name": "include",
|
|
1007
|
-
"privacy": "public",
|
|
1008
|
-
"description": "A list of item properties that should be mapped to form fields.\n\nWhen it is defined [`exclude`](#/elements/vaadin-crud-form#property-exclude) is ignored.",
|
|
1009
|
-
"type": {
|
|
1010
|
-
"text": "string | !Array<string> | undefined"
|
|
1011
|
-
},
|
|
1012
|
-
"attribute": "include",
|
|
1013
|
-
"inheritedFrom": {
|
|
1014
|
-
"name": "IncludedMixin",
|
|
1015
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
1016
|
-
}
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
"kind": "field",
|
|
1020
|
-
"name": "noFilter",
|
|
1021
|
-
"privacy": "public",
|
|
1022
|
-
"description": "Disable filtering in the generated columns.",
|
|
1023
|
-
"attribute": "no-filter"
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
"kind": "field",
|
|
1027
|
-
"name": "noHead",
|
|
1028
|
-
"privacy": "public",
|
|
1029
|
-
"description": "Do not add headers to columns.",
|
|
1030
|
-
"attribute": "no-head"
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"kind": "field",
|
|
1034
|
-
"name": "noSort",
|
|
1035
|
-
"privacy": "public",
|
|
1036
|
-
"description": "Disable sorting in the generated columns.",
|
|
1037
|
-
"attribute": "no-sort"
|
|
1038
|
-
}
|
|
1039
|
-
],
|
|
1040
|
-
"attributes": [
|
|
1041
|
-
{
|
|
1042
|
-
"name": "exclude",
|
|
1043
|
-
"description": "A list of item fields that should not be mapped to form fields.\n\nWhen [`include`](#/elements/vaadin-crud-form#property-include) is defined, this property is ignored.\n\nDefault is to exclude any private property.",
|
|
1044
|
-
"type": {
|
|
1045
|
-
"text": "string | RegExp"
|
|
1046
|
-
},
|
|
1047
|
-
"fieldName": "exclude",
|
|
1048
|
-
"inheritedFrom": {
|
|
1049
|
-
"name": "IncludedMixin",
|
|
1050
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
1051
|
-
}
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"name": "hide-edit-column",
|
|
1055
|
-
"type": {
|
|
1056
|
-
"text": "boolean"
|
|
1057
|
-
},
|
|
1058
|
-
"description": "Determines whether the edit column should be hidden.",
|
|
1059
|
-
"fieldName": "hideEditColumn"
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"name": "no-filter",
|
|
1063
|
-
"description": "Disable filtering in the generated columns.",
|
|
1064
|
-
"fieldName": "noFilter"
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
"name": "no-head",
|
|
1068
|
-
"description": "Do not add headers to columns.",
|
|
1069
|
-
"fieldName": "noHead"
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"name": "no-sort",
|
|
1073
|
-
"description": "Disable sorting in the generated columns.",
|
|
1074
|
-
"fieldName": "noSort"
|
|
1075
|
-
}
|
|
1076
|
-
],
|
|
1077
|
-
"mixins": [
|
|
1078
|
-
{
|
|
1079
|
-
"name": "IncludedMixin",
|
|
1080
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
1081
|
-
}
|
|
1082
|
-
],
|
|
1083
|
-
"parameters": [
|
|
1084
|
-
{
|
|
1085
|
-
"name": "superClass"
|
|
1086
|
-
}
|
|
1087
|
-
]
|
|
1088
|
-
}
|
|
1089
|
-
],
|
|
1090
|
-
"exports": [
|
|
1091
|
-
{
|
|
1092
|
-
"kind": "js",
|
|
1093
|
-
"name": "CrudGridMixin",
|
|
1094
|
-
"declaration": {
|
|
1095
|
-
"name": "CrudGridMixin",
|
|
1096
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
]
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"kind": "javascript-module",
|
|
1103
|
-
"path": "src/vaadin-crud-grid.js",
|
|
1104
|
-
"declarations": [
|
|
1105
|
-
{
|
|
1106
|
-
"kind": "class",
|
|
1107
|
-
"description": "An element used internally by `<vaadin-crud>`. Not intended to be used separately.",
|
|
1108
|
-
"name": "CrudGrid",
|
|
1109
|
-
"members": [
|
|
1110
|
-
{
|
|
1111
|
-
"kind": "field",
|
|
1112
|
-
"name": "accessibleName",
|
|
1113
|
-
"privacy": "public",
|
|
1114
|
-
"type": {
|
|
1115
|
-
"text": "string"
|
|
1116
|
-
},
|
|
1117
|
-
"description": "String used to label the grid to screen reader users.",
|
|
1118
|
-
"attribute": "accessible-name",
|
|
1119
|
-
"inheritedFrom": {
|
|
1120
|
-
"name": "A11yMixin",
|
|
1121
|
-
"package": "@vaadin/grid/src/vaadin-grid-a11y-mixin.js"
|
|
1122
|
-
}
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
"kind": "field",
|
|
1126
|
-
"name": "activeItem",
|
|
1127
|
-
"privacy": "public",
|
|
1128
|
-
"type": {
|
|
1129
|
-
"text": "GridItem"
|
|
1130
|
-
},
|
|
1131
|
-
"description": "The item user has last interacted with. Turns to `null` after user deactivates\nthe item by re-interacting with the currently active item.",
|
|
1132
|
-
"attribute": "active-item",
|
|
1133
|
-
"inheritedFrom": {
|
|
1134
|
-
"name": "ActiveItemMixin",
|
|
1135
|
-
"package": "@vaadin/grid/src/vaadin-grid-active-item-mixin.js"
|
|
1136
|
-
}
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
"kind": "field",
|
|
1140
|
-
"name": "allRowsVisible",
|
|
1141
|
-
"privacy": "public",
|
|
1142
|
-
"type": {
|
|
1143
|
-
"text": "boolean"
|
|
1144
|
-
},
|
|
1145
|
-
"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.",
|
|
1146
|
-
"attribute": "all-rows-visible",
|
|
1147
|
-
"inheritedFrom": {
|
|
1148
|
-
"name": "GridMixin",
|
|
1149
|
-
"package": "@vaadin/grid/src/vaadin-grid-mixin.js"
|
|
1150
|
-
}
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
"kind": "field",
|
|
1154
|
-
"name": "cellPartNameGenerator",
|
|
1155
|
-
"privacy": "public",
|
|
1156
|
-
"type": {
|
|
1157
|
-
"text": "GridCellPartNameGenerator | null | undefined"
|
|
1158
|
-
},
|
|
1159
|
-
"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.",
|
|
1160
|
-
"attribute": "cell-part-name-generator",
|
|
1161
|
-
"inheritedFrom": {
|
|
1162
|
-
"name": "StylingMixin",
|
|
1163
|
-
"package": "@vaadin/grid/src/vaadin-grid-styling-mixin.js"
|
|
1164
|
-
}
|
|
1165
|
-
},
|
|
1166
|
-
{
|
|
1167
|
-
"kind": "method",
|
|
1168
|
-
"name": "clearCache",
|
|
1169
|
-
"description": "Clears the cached pages and reloads data from dataprovider when needed.",
|
|
1170
|
-
"inheritedFrom": {
|
|
1171
|
-
"name": "DataProviderMixin",
|
|
1172
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1173
|
-
}
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
"kind": "method",
|
|
1177
|
-
"name": "closeItemDetails",
|
|
1178
|
-
"parameters": [
|
|
1179
|
-
{
|
|
1180
|
-
"name": "item",
|
|
1181
|
-
"type": {
|
|
1182
|
-
"text": "!GridItem"
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
],
|
|
1186
|
-
"description": "Close the details row of a given item.",
|
|
1187
|
-
"inheritedFrom": {
|
|
1188
|
-
"name": "RowDetailsMixin",
|
|
1189
|
-
"package": "@vaadin/grid/src/vaadin-grid-row-details-mixin.js"
|
|
1190
|
-
}
|
|
1191
|
-
},
|
|
1192
|
-
{
|
|
1193
|
-
"kind": "method",
|
|
1194
|
-
"name": "collapseItem",
|
|
1195
|
-
"parameters": [
|
|
1196
|
-
{
|
|
1197
|
-
"name": "item",
|
|
1198
|
-
"type": {
|
|
1199
|
-
"text": "!GridItem"
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
],
|
|
1203
|
-
"description": "Collapses the given item tree.",
|
|
1204
|
-
"inheritedFrom": {
|
|
1205
|
-
"name": "DataProviderMixin",
|
|
1206
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
{
|
|
1210
|
-
"kind": "field",
|
|
1211
|
-
"name": "columnRendering",
|
|
1212
|
-
"privacy": "public",
|
|
1213
|
-
"type": {
|
|
1214
|
-
"text": "!ColumnRendering"
|
|
1215
|
-
},
|
|
1216
|
-
"description": "Allows you to choose between modes for rendering columns in the grid:\n\n\"eager\" (default): All columns are rendered upfront, regardless of their visibility within the viewport.\nThis mode should generally be preferred, as it avoids the limitations imposed by the \"lazy\" mode.\nUse this mode unless the grid has a large number of columns and performance outweighs the limitations\nin priority.\n\n\"lazy\": Optimizes the rendering of cells when there are multiple columns in the grid by virtualizing\nhorizontal scrolling. In this mode, body cells are rendered only when their corresponding columns are\ninside the visible viewport.\n\nUsing \"lazy\" rendering should be used only if you're dealing with a large number of columns and performance\nis your highest priority. For most use cases, the default \"eager\" mode is recommended due to the\nlimitations imposed by the \"lazy\" mode.\n\nWhen using the \"lazy\" mode, keep the following limitations in mind:\n\n- Row Height: When only a number of columns are visible at once, the height of a row can only be that of\nthe highest cell currently visible on that row. Make sure each cell on a single row has the same height\nas all other cells on that row. If row cells have different heights, users may experience jumpiness when\nscrolling the grid horizontally as lazily rendered cells with different heights are scrolled into view.\n\n- Auto-width Columns: For the columns that are initially outside the visible viewport but still use auto-width,\nonly the header content is taken into account when calculating the column width because the body cells\nof the columns outside the viewport are not initially rendered.\n\n- Screen Reader Compatibility: Screen readers may not be able to associate the focused cells with the correct\nheaders when only a subset of the body cells on a row is rendered.\n\n- Keyboard Navigation: Tabbing through focusable elements inside the grid body may not work as expected because\nsome of the columns that would include focusable elements in the body cells may be outside the visible viewport\nand thus not rendered.",
|
|
1217
|
-
"attribute": "column-rendering",
|
|
1218
|
-
"inheritedFrom": {
|
|
1219
|
-
"name": "ScrollMixin",
|
|
1220
|
-
"package": "@vaadin/grid/src/vaadin-grid-scroll-mixin.js"
|
|
1221
|
-
}
|
|
1222
|
-
},
|
|
1223
|
-
{
|
|
1224
|
-
"kind": "field",
|
|
1225
|
-
"name": "columnReorderingAllowed",
|
|
1226
|
-
"privacy": "public",
|
|
1227
|
-
"type": {
|
|
1228
|
-
"text": "boolean"
|
|
1229
|
-
},
|
|
1230
|
-
"description": "Set to true to allow column reordering.",
|
|
1231
|
-
"attribute": "column-reordering-allowed",
|
|
1232
|
-
"inheritedFrom": {
|
|
1233
|
-
"name": "ColumnReorderingMixin",
|
|
1234
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-reordering-mixin.js"
|
|
1235
|
-
}
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"kind": "field",
|
|
1239
|
-
"name": "dataProvider",
|
|
1240
|
-
"privacy": "public",
|
|
1241
|
-
"type": {
|
|
1242
|
-
"text": "GridDataProvider | null | undefined"
|
|
1243
|
-
},
|
|
1244
|
-
"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.",
|
|
1245
|
-
"attribute": "data-provider",
|
|
1246
|
-
"inheritedFrom": {
|
|
1247
|
-
"name": "DataProviderMixin",
|
|
1248
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1249
|
-
}
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"kind": "method",
|
|
1253
|
-
"name": "deselectItem",
|
|
1254
|
-
"parameters": [
|
|
1255
|
-
{
|
|
1256
|
-
"name": "item",
|
|
1257
|
-
"description": "The item object",
|
|
1258
|
-
"type": {
|
|
1259
|
-
"text": "!GridItem"
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
],
|
|
1263
|
-
"description": "Deselects the given item if it is already selected.",
|
|
1264
|
-
"inheritedFrom": {
|
|
1265
|
-
"name": "SelectionMixin",
|
|
1266
|
-
"package": "@vaadin/grid/src/vaadin-grid-selection-mixin.js"
|
|
1267
|
-
}
|
|
1268
|
-
},
|
|
1269
|
-
{
|
|
1270
|
-
"kind": "field",
|
|
1271
|
-
"name": "detailsOpenedItems",
|
|
1272
|
-
"privacy": "public",
|
|
1273
|
-
"type": {
|
|
1274
|
-
"text": "!Array<!GridItem>"
|
|
1275
|
-
},
|
|
1276
|
-
"description": "An array containing references to items with open row details.",
|
|
1277
|
-
"attribute": "details-opened-items",
|
|
1278
|
-
"inheritedFrom": {
|
|
1279
|
-
"name": "RowDetailsMixin",
|
|
1280
|
-
"package": "@vaadin/grid/src/vaadin-grid-row-details-mixin.js"
|
|
1281
|
-
}
|
|
1282
|
-
},
|
|
1283
|
-
{
|
|
1284
|
-
"kind": "field",
|
|
1285
|
-
"name": "dragFilter",
|
|
1286
|
-
"privacy": "public",
|
|
1287
|
-
"type": {
|
|
1288
|
-
"text": "GridDragAndDropFilter | null | undefined"
|
|
1289
|
-
},
|
|
1290
|
-
"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.",
|
|
1291
|
-
"attribute": "drag-filter",
|
|
1292
|
-
"inheritedFrom": {
|
|
1293
|
-
"name": "DragAndDropMixin",
|
|
1294
|
-
"package": "@vaadin/grid/src/vaadin-grid-drag-and-drop-mixin.js"
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
{
|
|
1298
|
-
"kind": "field",
|
|
1299
|
-
"name": "dropFilter",
|
|
1300
|
-
"privacy": "public",
|
|
1301
|
-
"type": {
|
|
1302
|
-
"text": "GridDragAndDropFilter | null | undefined"
|
|
1303
|
-
},
|
|
1304
|
-
"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.",
|
|
1305
|
-
"attribute": "drop-filter",
|
|
1306
|
-
"inheritedFrom": {
|
|
1307
|
-
"name": "DragAndDropMixin",
|
|
1308
|
-
"package": "@vaadin/grid/src/vaadin-grid-drag-and-drop-mixin.js"
|
|
1309
|
-
}
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"kind": "field",
|
|
1313
|
-
"name": "dropMode",
|
|
1314
|
-
"privacy": "public",
|
|
1315
|
-
"type": {
|
|
1316
|
-
"text": "GridDropMode | null | undefined"
|
|
1317
|
-
},
|
|
1318
|
-
"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.",
|
|
1319
|
-
"attribute": "drop-mode",
|
|
1320
|
-
"inheritedFrom": {
|
|
1321
|
-
"name": "DragAndDropMixin",
|
|
1322
|
-
"package": "@vaadin/grid/src/vaadin-grid-drag-and-drop-mixin.js"
|
|
1323
|
-
}
|
|
1324
|
-
},
|
|
1325
|
-
{
|
|
1326
|
-
"kind": "field",
|
|
1327
|
-
"name": "exclude",
|
|
1328
|
-
"privacy": "public",
|
|
1329
|
-
"description": "A list of item fields that should not be mapped to form fields.\n\nWhen [`include`](#/elements/vaadin-crud-form#property-include) is defined, this property is ignored.\n\nDefault is to exclude any private property.",
|
|
1330
|
-
"type": {
|
|
1331
|
-
"text": "string | RegExp"
|
|
1332
|
-
},
|
|
1333
|
-
"attribute": "exclude",
|
|
1334
|
-
"inheritedFrom": {
|
|
1335
|
-
"name": "IncludedMixin",
|
|
1336
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
1337
|
-
}
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
"kind": "field",
|
|
1341
|
-
"name": "expandedItems",
|
|
1342
|
-
"privacy": "public",
|
|
1343
|
-
"type": {
|
|
1344
|
-
"text": "!Array<!GridItem>"
|
|
1345
|
-
},
|
|
1346
|
-
"description": "An array that contains the expanded items.",
|
|
1347
|
-
"attribute": "expanded-items",
|
|
1348
|
-
"inheritedFrom": {
|
|
1349
|
-
"name": "DataProviderMixin",
|
|
1350
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
"kind": "method",
|
|
1355
|
-
"name": "expandItem",
|
|
1356
|
-
"parameters": [
|
|
1357
|
-
{
|
|
1358
|
-
"name": "item",
|
|
1359
|
-
"type": {
|
|
1360
|
-
"text": "!GridItem"
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
],
|
|
1364
|
-
"description": "Expands the given item tree.",
|
|
1365
|
-
"inheritedFrom": {
|
|
1366
|
-
"name": "DataProviderMixin",
|
|
1367
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1368
|
-
}
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"kind": "method",
|
|
1372
|
-
"name": "filterDragAndDrop",
|
|
1373
|
-
"description": "Runs the `dragFilter` and `dropFilter` hooks for the visible cells.\nIf the filter depends on varying conditions, you may need to\ncall this function manually in order to update the draggability when\nthe conditions change.",
|
|
1374
|
-
"inheritedFrom": {
|
|
1375
|
-
"name": "DragAndDropMixin",
|
|
1376
|
-
"package": "@vaadin/grid/src/vaadin-grid-drag-and-drop-mixin.js"
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
{
|
|
1380
|
-
"kind": "method",
|
|
1381
|
-
"name": "generateCellPartNames",
|
|
1382
|
-
"description": "Runs the `cellPartNameGenerator` for the visible cells.\nIf the generator depends on varying conditions, you need to\ncall this function manually in order to update the styles when\nthe conditions change.",
|
|
1383
|
-
"inheritedFrom": {
|
|
1384
|
-
"name": "StylingMixin",
|
|
1385
|
-
"package": "@vaadin/grid/src/vaadin-grid-styling-mixin.js"
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
{
|
|
1389
|
-
"kind": "method",
|
|
1390
|
-
"name": "getEventContext",
|
|
1391
|
-
"parameters": [
|
|
1392
|
-
{
|
|
1393
|
-
"name": "event",
|
|
1394
|
-
"type": {
|
|
1395
|
-
"text": "!Event"
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
],
|
|
1399
|
-
"description": "Returns an object with context information about the event target:\n- `item`: the data object corresponding to the targeted row (not specified when targeting header or footer)\n- `column`: the column element corresponding to the targeted cell (not specified when targeting row details)\n- `section`: whether the event targeted the body, header, footer or details of the grid\n\nThese additional properties are included when `item` is specified:\n- `index`: the index of the item\n- `selected`: the selected state of the item\n- `detailsOpened`: whether the row details are open for the item\n- `expanded`: the expanded state of the tree toggle\n- `level`: the tree hierarchy level\n- `hasChildren`: whether the item has children\n\nThe returned object is populated only when a grid cell, header, footer or row details is found in `event.composedPath()`.\nThis means mostly mouse and keyboard events. If such a grid part is not found in the path, an empty object is returned.\nThis may be the case eg. if the event is fired on the `<vaadin-grid>` element and not any deeper in the DOM, or if\nthe event targets the empty part of the grid body.",
|
|
1400
|
-
"return": {
|
|
1401
|
-
"type": {
|
|
1402
|
-
"text": "GridEventContext"
|
|
1403
|
-
}
|
|
1404
|
-
},
|
|
1405
|
-
"inheritedFrom": {
|
|
1406
|
-
"name": "EventContextMixin",
|
|
1407
|
-
"package": "@vaadin/grid/src/vaadin-grid-event-context-mixin.js"
|
|
1408
|
-
}
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
"kind": "method",
|
|
1412
|
-
"name": "getItemId",
|
|
1413
|
-
"parameters": [
|
|
1414
|
-
{
|
|
1415
|
-
"name": "item",
|
|
1416
|
-
"type": {
|
|
1417
|
-
"text": "!GridItem"
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
],
|
|
1421
|
-
"description": "Returns a value that identifies the item. Uses `itemIdPath` if available.\nCan be customized by overriding.",
|
|
1422
|
-
"return": {
|
|
1423
|
-
"type": {
|
|
1424
|
-
"text": "!GridItem | !unknown"
|
|
1425
|
-
}
|
|
1426
|
-
},
|
|
1427
|
-
"inheritedFrom": {
|
|
1428
|
-
"name": "DataProviderMixin",
|
|
1429
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1430
|
-
}
|
|
1431
|
-
},
|
|
1432
|
-
{
|
|
1433
|
-
"kind": "field",
|
|
1434
|
-
"name": "hideEditColumn",
|
|
1435
|
-
"privacy": "public",
|
|
1436
|
-
"type": {
|
|
1437
|
-
"text": "boolean"
|
|
1438
|
-
},
|
|
1439
|
-
"description": "Determines whether the edit column should be hidden.",
|
|
1440
|
-
"attribute": "hide-edit-column",
|
|
1441
|
-
"inheritedFrom": {
|
|
1442
|
-
"name": "CrudGridMixin",
|
|
1443
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
1444
|
-
}
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"kind": "field",
|
|
1448
|
-
"name": "include",
|
|
1449
|
-
"privacy": "public",
|
|
1450
|
-
"description": "A list of item properties that should be mapped to form fields.\n\nWhen it is defined [`exclude`](#/elements/vaadin-crud-form#property-exclude) is ignored.",
|
|
1451
|
-
"type": {
|
|
1452
|
-
"text": "string | !Array<string> | undefined"
|
|
1453
|
-
},
|
|
1454
|
-
"attribute": "include",
|
|
1455
|
-
"inheritedFrom": {
|
|
1456
|
-
"name": "IncludedMixin",
|
|
1457
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
1458
|
-
}
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
"kind": "field",
|
|
1462
|
-
"name": "isItemSelectable",
|
|
1463
|
-
"privacy": "public",
|
|
1464
|
-
"type": {
|
|
1465
|
-
"text": "(item: !GridItem) => boolean"
|
|
1466
|
-
},
|
|
1467
|
-
"description": "A function to check whether a specific item in the grid may be\nselected or deselected by the user. Used by the selection column to\nconditionally enable to disable checkboxes for individual items. This\nfunction does not prevent programmatic selection/deselection of\nitems. Changing the function does not modify the currently selected\nitems.\n\nConfiguring this function hides the select all checkbox of the grid\nselection column, which means users can not select or deselect all\nitems anymore, nor do they get feedback on whether all items are\nselected or not.\n\nReceives an item instance and should return a boolean indicating\nwhether users may change the selection state of that item.",
|
|
1468
|
-
"attribute": "is-item-selectable",
|
|
1469
|
-
"inheritedFrom": {
|
|
1470
|
-
"name": "SelectionMixin",
|
|
1471
|
-
"package": "@vaadin/grid/src/vaadin-grid-selection-mixin.js"
|
|
1472
|
-
}
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
"kind": "field",
|
|
1476
|
-
"name": "itemHasChildrenPath",
|
|
1477
|
-
"privacy": "public",
|
|
1478
|
-
"type": {
|
|
1479
|
-
"text": "string"
|
|
1480
|
-
},
|
|
1481
|
-
"description": "Path to an item sub-property that indicates whether the item has child items.",
|
|
1482
|
-
"attribute": "item-has-children-path",
|
|
1483
|
-
"inheritedFrom": {
|
|
1484
|
-
"name": "DataProviderMixin",
|
|
1485
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1486
|
-
}
|
|
1487
|
-
},
|
|
1488
|
-
{
|
|
1489
|
-
"kind": "field",
|
|
1490
|
-
"name": "itemIdPath",
|
|
1491
|
-
"privacy": "public",
|
|
1492
|
-
"type": {
|
|
1493
|
-
"text": "string"
|
|
1494
|
-
},
|
|
1495
|
-
"description": "Path to an item sub-property that identifies the item.",
|
|
1496
|
-
"attribute": "item-id-path",
|
|
1497
|
-
"inheritedFrom": {
|
|
1498
|
-
"name": "DataProviderMixin",
|
|
1499
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1500
|
-
}
|
|
1501
|
-
},
|
|
1502
|
-
{
|
|
1503
|
-
"kind": "field",
|
|
1504
|
-
"name": "items",
|
|
1505
|
-
"privacy": "public",
|
|
1506
|
-
"type": {
|
|
1507
|
-
"text": "Array<!GridItem> | undefined"
|
|
1508
|
-
},
|
|
1509
|
-
"description": "An array containing the items which will be passed to renderer functions.",
|
|
1510
|
-
"attribute": "items",
|
|
1511
|
-
"inheritedFrom": {
|
|
1512
|
-
"name": "ArrayDataProviderMixin",
|
|
1513
|
-
"package": "@vaadin/grid/src/vaadin-grid-array-data-provider-mixin.js"
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
|
-
{
|
|
1517
|
-
"kind": "field",
|
|
1518
|
-
"name": "loading",
|
|
1519
|
-
"privacy": "public",
|
|
1520
|
-
"type": {
|
|
1521
|
-
"text": "boolean"
|
|
1522
|
-
},
|
|
1523
|
-
"description": "`true` while data is being requested from the data provider.",
|
|
1524
|
-
"attribute": "loading",
|
|
1525
|
-
"inheritedFrom": {
|
|
1526
|
-
"name": "DataProviderMixin",
|
|
1527
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1528
|
-
}
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
"kind": "field",
|
|
1532
|
-
"name": "multiSort",
|
|
1533
|
-
"privacy": "public",
|
|
1534
|
-
"type": {
|
|
1535
|
-
"text": "boolean"
|
|
1536
|
-
},
|
|
1537
|
-
"description": "When `true`, all `<vaadin-grid-sorter>` are applied for sorting.",
|
|
1538
|
-
"attribute": "multi-sort",
|
|
1539
|
-
"inheritedFrom": {
|
|
1540
|
-
"name": "SortMixin",
|
|
1541
|
-
"package": "@vaadin/grid/src/vaadin-grid-sort-mixin.js"
|
|
1542
|
-
}
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
"kind": "field",
|
|
1546
|
-
"name": "multiSortOnShiftClick",
|
|
1547
|
-
"privacy": "public",
|
|
1548
|
-
"type": {
|
|
1549
|
-
"text": "boolean"
|
|
1550
|
-
},
|
|
1551
|
-
"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.",
|
|
1552
|
-
"attribute": "multi-sort-on-shift-click",
|
|
1553
|
-
"inheritedFrom": {
|
|
1554
|
-
"name": "SortMixin",
|
|
1555
|
-
"package": "@vaadin/grid/src/vaadin-grid-sort-mixin.js"
|
|
1556
|
-
}
|
|
1557
|
-
},
|
|
1558
|
-
{
|
|
1559
|
-
"kind": "field",
|
|
1560
|
-
"name": "multiSortPriority",
|
|
1561
|
-
"privacy": "public",
|
|
1562
|
-
"type": {
|
|
1563
|
-
"text": "string"
|
|
1564
|
-
},
|
|
1565
|
-
"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\"`.",
|
|
1566
|
-
"attribute": "multi-sort-priority",
|
|
1567
|
-
"inheritedFrom": {
|
|
1568
|
-
"name": "SortMixin",
|
|
1569
|
-
"package": "@vaadin/grid/src/vaadin-grid-sort-mixin.js"
|
|
1570
|
-
}
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
"kind": "field",
|
|
1574
|
-
"name": "noFilter",
|
|
1575
|
-
"privacy": "public",
|
|
1576
|
-
"description": "Disable filtering in the generated columns.",
|
|
1577
|
-
"attribute": "no-filter",
|
|
1578
|
-
"inheritedFrom": {
|
|
1579
|
-
"name": "CrudGridMixin",
|
|
1580
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
1581
|
-
}
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
"kind": "field",
|
|
1585
|
-
"name": "noHead",
|
|
1586
|
-
"privacy": "public",
|
|
1587
|
-
"description": "Do not add headers to columns.",
|
|
1588
|
-
"attribute": "no-head",
|
|
1589
|
-
"inheritedFrom": {
|
|
1590
|
-
"name": "CrudGridMixin",
|
|
1591
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
1592
|
-
}
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "field",
|
|
1596
|
-
"name": "noSort",
|
|
1597
|
-
"privacy": "public",
|
|
1598
|
-
"description": "Disable sorting in the generated columns.",
|
|
1599
|
-
"attribute": "no-sort",
|
|
1600
|
-
"inheritedFrom": {
|
|
1601
|
-
"name": "CrudGridMixin",
|
|
1602
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
1603
|
-
}
|
|
1604
|
-
},
|
|
1605
|
-
{
|
|
1606
|
-
"kind": "method",
|
|
1607
|
-
"name": "openItemDetails",
|
|
1608
|
-
"parameters": [
|
|
1609
|
-
{
|
|
1610
|
-
"name": "item",
|
|
1611
|
-
"type": {
|
|
1612
|
-
"text": "!GridItem"
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
],
|
|
1616
|
-
"description": "Open the details row of a given item.",
|
|
1617
|
-
"inheritedFrom": {
|
|
1618
|
-
"name": "RowDetailsMixin",
|
|
1619
|
-
"package": "@vaadin/grid/src/vaadin-grid-row-details-mixin.js"
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"kind": "field",
|
|
1624
|
-
"name": "pageSize",
|
|
1625
|
-
"privacy": "public",
|
|
1626
|
-
"type": {
|
|
1627
|
-
"text": "number"
|
|
1628
|
-
},
|
|
1629
|
-
"description": "Number of items fetched at a time from the dataprovider.",
|
|
1630
|
-
"attribute": "page-size",
|
|
1631
|
-
"inheritedFrom": {
|
|
1632
|
-
"name": "DataProviderMixin",
|
|
1633
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1634
|
-
}
|
|
1635
|
-
},
|
|
1636
|
-
{
|
|
1637
|
-
"kind": "method",
|
|
1638
|
-
"name": "recalculateColumnWidths",
|
|
1639
|
-
"description": "Updates the `width` of all columns which have `autoWidth` set to `true`.",
|
|
1640
|
-
"inheritedFrom": {
|
|
1641
|
-
"name": "ColumnAutoWidthMixin",
|
|
1642
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-auto-width-mixin.js"
|
|
1643
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
{
|
|
1646
|
-
"kind": "method",
|
|
1647
|
-
"name": "requestContentUpdate",
|
|
1648
|
-
"description": "Requests an update for the content of cells.\n\nWhile performing the update, the following renderers are invoked:\n- `Grid.rowDetailsRenderer`\n- `GridColumn.renderer`\n- `GridColumn.headerRenderer`\n- `GridColumn.footerRenderer`\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested.",
|
|
1649
|
-
"inheritedFrom": {
|
|
1650
|
-
"name": "GridMixin",
|
|
1651
|
-
"package": "@vaadin/grid/src/vaadin-grid-mixin.js"
|
|
1652
|
-
}
|
|
1653
|
-
},
|
|
1654
|
-
{
|
|
1655
|
-
"kind": "field",
|
|
1656
|
-
"name": "rowDetailsRenderer",
|
|
1657
|
-
"privacy": "public",
|
|
1658
|
-
"type": {
|
|
1659
|
-
"text": "GridRowDetailsRenderer | null | undefined"
|
|
1660
|
-
},
|
|
1661
|
-
"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.",
|
|
1662
|
-
"attribute": "row-details-renderer",
|
|
1663
|
-
"inheritedFrom": {
|
|
1664
|
-
"name": "RowDetailsMixin",
|
|
1665
|
-
"package": "@vaadin/grid/src/vaadin-grid-row-details-mixin.js"
|
|
1666
|
-
}
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"kind": "field",
|
|
1670
|
-
"name": "rowsDraggable",
|
|
1671
|
-
"privacy": "public",
|
|
1672
|
-
"type": {
|
|
1673
|
-
"text": "boolean"
|
|
1674
|
-
},
|
|
1675
|
-
"description": "Marks the grid's rows to be available for dragging.",
|
|
1676
|
-
"attribute": "rows-draggable",
|
|
1677
|
-
"inheritedFrom": {
|
|
1678
|
-
"name": "DragAndDropMixin",
|
|
1679
|
-
"package": "@vaadin/grid/src/vaadin-grid-drag-and-drop-mixin.js"
|
|
1680
|
-
}
|
|
1681
|
-
},
|
|
1682
|
-
{
|
|
1683
|
-
"kind": "method",
|
|
1684
|
-
"name": "scrollToColumn",
|
|
1685
|
-
"parameters": [
|
|
1686
|
-
{
|
|
1687
|
-
"name": "indexOrColumn",
|
|
1688
|
-
"description": "Column element or column index",
|
|
1689
|
-
"type": {
|
|
1690
|
-
"text": "GridColumn | number"
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
],
|
|
1694
|
-
"description": "Scrolls horizontally so that the column becomes visible in the viewport.\n\nThe column can be specified either by its index (among visible columns\nin visual order) or by the column element itself.",
|
|
1695
|
-
"inheritedFrom": {
|
|
1696
|
-
"name": "ScrollMixin",
|
|
1697
|
-
"package": "@vaadin/grid/src/vaadin-grid-scroll-mixin.js"
|
|
1698
|
-
}
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
"kind": "method",
|
|
1702
|
-
"name": "scrollToIndex",
|
|
1703
|
-
"parameters": [
|
|
1704
|
-
{
|
|
1705
|
-
"name": "indexes",
|
|
1706
|
-
"description": "Row indexes to scroll to",
|
|
1707
|
-
"type": {
|
|
1708
|
-
"text": "...number"
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
],
|
|
1712
|
-
"description": "Scroll to a specific row index in the virtual list. Note that the row index is\nnot always the same for any particular item. For example, sorting or filtering\nitems can affect the row index related to an item.\n\nThe `indexes` parameter can be either a single number or multiple numbers.\nThe grid will first try to scroll to the item at the first index on the top level.\nIn case the item at the first index is expanded, the grid will then try scroll to the\nitem at the second index within the children of the expanded first item, and so on.\nEach given index points to a child of the item at the previous index.\n\nUsing `Infinity` as an index will point to the last item on the level.",
|
|
1713
|
-
"inheritedFrom": {
|
|
1714
|
-
"name": "DataProviderMixin",
|
|
1715
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1716
|
-
}
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"kind": "field",
|
|
1720
|
-
"name": "selectedItems",
|
|
1721
|
-
"privacy": "public",
|
|
1722
|
-
"type": {
|
|
1723
|
-
"text": "!Array<!GridItem>"
|
|
1724
|
-
},
|
|
1725
|
-
"description": "An array that contains the selected items.",
|
|
1726
|
-
"attribute": "selected-items",
|
|
1727
|
-
"inheritedFrom": {
|
|
1728
|
-
"name": "SelectionMixin",
|
|
1729
|
-
"package": "@vaadin/grid/src/vaadin-grid-selection-mixin.js"
|
|
1730
|
-
}
|
|
1731
|
-
},
|
|
1732
|
-
{
|
|
1733
|
-
"kind": "method",
|
|
1734
|
-
"name": "selectItem",
|
|
1735
|
-
"parameters": [
|
|
1736
|
-
{
|
|
1737
|
-
"name": "item",
|
|
1738
|
-
"description": "The item object",
|
|
1739
|
-
"type": {
|
|
1740
|
-
"text": "!GridItem"
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
],
|
|
1744
|
-
"description": "Selects the given item.",
|
|
1745
|
-
"inheritedFrom": {
|
|
1746
|
-
"name": "SelectionMixin",
|
|
1747
|
-
"package": "@vaadin/grid/src/vaadin-grid-selection-mixin.js"
|
|
1748
|
-
}
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
"kind": "method",
|
|
1752
|
-
"name": "setDefaultMultiSortPriority",
|
|
1753
|
-
"static": true,
|
|
1754
|
-
"parameters": [
|
|
1755
|
-
{
|
|
1756
|
-
"name": "priority",
|
|
1757
|
-
"type": {
|
|
1758
|
-
"text": "string"
|
|
1759
|
-
}
|
|
1760
|
-
}
|
|
1761
|
-
],
|
|
1762
|
-
"description": "Sets the default multi-sort priority to use for all grid instances.\nThis method should be called before creating any grid instances.\nChanging this setting does not affect the default for existing grids.",
|
|
1763
|
-
"inheritedFrom": {
|
|
1764
|
-
"name": "SortMixin",
|
|
1765
|
-
"package": "@vaadin/grid/src/vaadin-grid-sort-mixin.js"
|
|
1766
|
-
}
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"kind": "field",
|
|
1770
|
-
"name": "size",
|
|
1771
|
-
"privacy": "public",
|
|
1772
|
-
"type": {
|
|
1773
|
-
"text": "number"
|
|
1774
|
-
},
|
|
1775
|
-
"description": "The number of root-level items in the grid.",
|
|
1776
|
-
"attribute": "size",
|
|
1777
|
-
"inheritedFrom": {
|
|
1778
|
-
"name": "DataProviderMixin",
|
|
1779
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1780
|
-
}
|
|
1781
|
-
}
|
|
1782
|
-
],
|
|
1783
|
-
"mixins": [
|
|
1784
|
-
{
|
|
1785
|
-
"name": "CrudGridMixin",
|
|
1786
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
1787
|
-
}
|
|
1788
|
-
],
|
|
1789
|
-
"superclass": {
|
|
1790
|
-
"name": "Grid",
|
|
1791
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
1792
|
-
},
|
|
1793
|
-
"attributes": [
|
|
1794
|
-
{
|
|
1795
|
-
"name": "accessible-name",
|
|
1796
|
-
"type": {
|
|
1797
|
-
"text": "string"
|
|
1798
|
-
},
|
|
1799
|
-
"description": "String used to label the grid to screen reader users.",
|
|
1800
|
-
"fieldName": "accessibleName",
|
|
1801
|
-
"inheritedFrom": {
|
|
1802
|
-
"name": "A11yMixin",
|
|
1803
|
-
"package": "@vaadin/grid/src/vaadin-grid-a11y-mixin.js"
|
|
1804
|
-
}
|
|
1805
|
-
},
|
|
1806
|
-
{
|
|
1807
|
-
"name": "active-item",
|
|
1808
|
-
"type": {
|
|
1809
|
-
"text": "GridItem"
|
|
1810
|
-
},
|
|
1811
|
-
"description": "The item user has last interacted with. Turns to `null` after user deactivates\nthe item by re-interacting with the currently active item.",
|
|
1812
|
-
"fieldName": "activeItem",
|
|
1813
|
-
"inheritedFrom": {
|
|
1814
|
-
"name": "ActiveItemMixin",
|
|
1815
|
-
"package": "@vaadin/grid/src/vaadin-grid-active-item-mixin.js"
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
{
|
|
1819
|
-
"name": "all-rows-visible",
|
|
1820
|
-
"type": {
|
|
1821
|
-
"text": "boolean"
|
|
1822
|
-
},
|
|
1823
|
-
"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.",
|
|
1824
|
-
"fieldName": "allRowsVisible",
|
|
1825
|
-
"inheritedFrom": {
|
|
1826
|
-
"name": "GridMixin",
|
|
1827
|
-
"package": "@vaadin/grid/src/vaadin-grid-mixin.js"
|
|
1828
|
-
}
|
|
1829
|
-
},
|
|
1830
|
-
{
|
|
1831
|
-
"name": "cell-part-name-generator",
|
|
1832
|
-
"type": {
|
|
1833
|
-
"text": "GridCellPartNameGenerator | null | undefined"
|
|
1834
|
-
},
|
|
1835
|
-
"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.",
|
|
1836
|
-
"fieldName": "cellPartNameGenerator",
|
|
1837
|
-
"inheritedFrom": {
|
|
1838
|
-
"name": "StylingMixin",
|
|
1839
|
-
"package": "@vaadin/grid/src/vaadin-grid-styling-mixin.js"
|
|
1840
|
-
}
|
|
1841
|
-
},
|
|
1842
|
-
{
|
|
1843
|
-
"name": "column-rendering",
|
|
1844
|
-
"type": {
|
|
1845
|
-
"text": "!ColumnRendering"
|
|
1846
|
-
},
|
|
1847
|
-
"description": "Allows you to choose between modes for rendering columns in the grid:\n\n\"eager\" (default): All columns are rendered upfront, regardless of their visibility within the viewport.\nThis mode should generally be preferred, as it avoids the limitations imposed by the \"lazy\" mode.\nUse this mode unless the grid has a large number of columns and performance outweighs the limitations\nin priority.\n\n\"lazy\": Optimizes the rendering of cells when there are multiple columns in the grid by virtualizing\nhorizontal scrolling. In this mode, body cells are rendered only when their corresponding columns are\ninside the visible viewport.\n\nUsing \"lazy\" rendering should be used only if you're dealing with a large number of columns and performance\nis your highest priority. For most use cases, the default \"eager\" mode is recommended due to the\nlimitations imposed by the \"lazy\" mode.\n\nWhen using the \"lazy\" mode, keep the following limitations in mind:\n\n- Row Height: When only a number of columns are visible at once, the height of a row can only be that of\nthe highest cell currently visible on that row. Make sure each cell on a single row has the same height\nas all other cells on that row. If row cells have different heights, users may experience jumpiness when\nscrolling the grid horizontally as lazily rendered cells with different heights are scrolled into view.\n\n- Auto-width Columns: For the columns that are initially outside the visible viewport but still use auto-width,\nonly the header content is taken into account when calculating the column width because the body cells\nof the columns outside the viewport are not initially rendered.\n\n- Screen Reader Compatibility: Screen readers may not be able to associate the focused cells with the correct\nheaders when only a subset of the body cells on a row is rendered.\n\n- Keyboard Navigation: Tabbing through focusable elements inside the grid body may not work as expected because\nsome of the columns that would include focusable elements in the body cells may be outside the visible viewport\nand thus not rendered.",
|
|
1848
|
-
"fieldName": "columnRendering",
|
|
1849
|
-
"inheritedFrom": {
|
|
1850
|
-
"name": "ScrollMixin",
|
|
1851
|
-
"package": "@vaadin/grid/src/vaadin-grid-scroll-mixin.js"
|
|
1852
|
-
}
|
|
1853
|
-
},
|
|
1854
|
-
{
|
|
1855
|
-
"name": "column-reordering-allowed",
|
|
1856
|
-
"type": {
|
|
1857
|
-
"text": "boolean"
|
|
1858
|
-
},
|
|
1859
|
-
"description": "Set to true to allow column reordering.",
|
|
1860
|
-
"fieldName": "columnReorderingAllowed",
|
|
1861
|
-
"inheritedFrom": {
|
|
1862
|
-
"name": "ColumnReorderingMixin",
|
|
1863
|
-
"package": "@vaadin/grid/src/vaadin-grid-column-reordering-mixin.js"
|
|
1864
|
-
}
|
|
1865
|
-
},
|
|
1866
|
-
{
|
|
1867
|
-
"name": "data-provider",
|
|
1868
|
-
"type": {
|
|
1869
|
-
"text": "GridDataProvider | null | undefined"
|
|
1870
|
-
},
|
|
1871
|
-
"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.",
|
|
1872
|
-
"fieldName": "dataProvider",
|
|
1873
|
-
"inheritedFrom": {
|
|
1874
|
-
"name": "DataProviderMixin",
|
|
1875
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1876
|
-
}
|
|
1877
|
-
},
|
|
1878
|
-
{
|
|
1879
|
-
"name": "drag-filter",
|
|
1880
|
-
"type": {
|
|
1881
|
-
"text": "GridDragAndDropFilter | null | undefined"
|
|
1882
|
-
},
|
|
1883
|
-
"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.",
|
|
1884
|
-
"fieldName": "dragFilter",
|
|
1885
|
-
"inheritedFrom": {
|
|
1886
|
-
"name": "DragAndDropMixin",
|
|
1887
|
-
"package": "@vaadin/grid/src/vaadin-grid-drag-and-drop-mixin.js"
|
|
1888
|
-
}
|
|
1889
|
-
},
|
|
1890
|
-
{
|
|
1891
|
-
"name": "drop-filter",
|
|
1892
|
-
"type": {
|
|
1893
|
-
"text": "GridDragAndDropFilter | null | undefined"
|
|
1894
|
-
},
|
|
1895
|
-
"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.",
|
|
1896
|
-
"fieldName": "dropFilter",
|
|
1897
|
-
"inheritedFrom": {
|
|
1898
|
-
"name": "DragAndDropMixin",
|
|
1899
|
-
"package": "@vaadin/grid/src/vaadin-grid-drag-and-drop-mixin.js"
|
|
1900
|
-
}
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"name": "drop-mode",
|
|
1904
|
-
"type": {
|
|
1905
|
-
"text": "GridDropMode | null | undefined"
|
|
1906
|
-
},
|
|
1907
|
-
"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.",
|
|
1908
|
-
"fieldName": "dropMode",
|
|
1909
|
-
"inheritedFrom": {
|
|
1910
|
-
"name": "DragAndDropMixin",
|
|
1911
|
-
"package": "@vaadin/grid/src/vaadin-grid-drag-and-drop-mixin.js"
|
|
1912
|
-
}
|
|
1913
|
-
},
|
|
1914
|
-
{
|
|
1915
|
-
"name": "exclude",
|
|
1916
|
-
"description": "A list of item fields that should not be mapped to form fields.\n\nWhen [`include`](#/elements/vaadin-crud-form#property-include) is defined, this property is ignored.\n\nDefault is to exclude any private property.",
|
|
1917
|
-
"type": {
|
|
1918
|
-
"text": "string | RegExp"
|
|
1919
|
-
},
|
|
1920
|
-
"fieldName": "exclude",
|
|
1921
|
-
"inheritedFrom": {
|
|
1922
|
-
"name": "IncludedMixin",
|
|
1923
|
-
"module": "src/vaadin-crud-include-mixin.js"
|
|
1924
|
-
}
|
|
1925
|
-
},
|
|
1926
|
-
{
|
|
1927
|
-
"name": "hide-edit-column",
|
|
1928
|
-
"type": {
|
|
1929
|
-
"text": "boolean"
|
|
1930
|
-
},
|
|
1931
|
-
"description": "Determines whether the edit column should be hidden.",
|
|
1932
|
-
"fieldName": "hideEditColumn",
|
|
1933
|
-
"inheritedFrom": {
|
|
1934
|
-
"name": "CrudGridMixin",
|
|
1935
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
1936
|
-
}
|
|
1937
|
-
},
|
|
1938
|
-
{
|
|
1939
|
-
"name": "interacting",
|
|
1940
|
-
"type": {
|
|
1941
|
-
"text": "boolean"
|
|
1942
|
-
},
|
|
1943
|
-
"description": "Indicates whether the grid is currently in interaction mode.\nIn interaction mode the user is currently interacting with a control,\nsuch as an input or a select, within a cell.\nIn interaction mode keyboard navigation between cells is disabled.\nInteraction mode also prevents the focus target cell of that section of\nthe grid from receiving focus, allowing the user to switch focus to\ncontrols in adjacent cells, rather than focussing the outer cell\nitself.",
|
|
1944
|
-
"fieldName": "interacting",
|
|
1945
|
-
"inheritedFrom": {
|
|
1946
|
-
"name": "KeyboardNavigationMixin",
|
|
1947
|
-
"package": "@vaadin/grid/src/vaadin-grid-keyboard-navigation-mixin.js"
|
|
1948
|
-
}
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"name": "is-attached",
|
|
1952
|
-
"fieldName": "isAttached",
|
|
1953
|
-
"inheritedFrom": {
|
|
1954
|
-
"name": "GridMixin",
|
|
1955
|
-
"package": "@vaadin/grid/src/vaadin-grid-mixin.js"
|
|
1956
|
-
}
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"name": "is-item-selectable",
|
|
1960
|
-
"type": {
|
|
1961
|
-
"text": "(item: !GridItem) => boolean"
|
|
1962
|
-
},
|
|
1963
|
-
"description": "A function to check whether a specific item in the grid may be\nselected or deselected by the user. Used by the selection column to\nconditionally enable to disable checkboxes for individual items. This\nfunction does not prevent programmatic selection/deselection of\nitems. Changing the function does not modify the currently selected\nitems.\n\nConfiguring this function hides the select all checkbox of the grid\nselection column, which means users can not select or deselect all\nitems anymore, nor do they get feedback on whether all items are\nselected or not.\n\nReceives an item instance and should return a boolean indicating\nwhether users may change the selection state of that item.",
|
|
1964
|
-
"fieldName": "isItemSelectable",
|
|
1965
|
-
"inheritedFrom": {
|
|
1966
|
-
"name": "SelectionMixin",
|
|
1967
|
-
"package": "@vaadin/grid/src/vaadin-grid-selection-mixin.js"
|
|
1968
|
-
}
|
|
1969
|
-
},
|
|
1970
|
-
{
|
|
1971
|
-
"name": "item-has-children-path",
|
|
1972
|
-
"type": {
|
|
1973
|
-
"text": "string"
|
|
1974
|
-
},
|
|
1975
|
-
"description": "Path to an item sub-property that indicates whether the item has child items.",
|
|
1976
|
-
"fieldName": "itemHasChildrenPath",
|
|
1977
|
-
"inheritedFrom": {
|
|
1978
|
-
"name": "DataProviderMixin",
|
|
1979
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1980
|
-
}
|
|
1981
|
-
},
|
|
1982
|
-
{
|
|
1983
|
-
"name": "item-id-path",
|
|
1984
|
-
"type": {
|
|
1985
|
-
"text": "string"
|
|
1986
|
-
},
|
|
1987
|
-
"description": "Path to an item sub-property that identifies the item.",
|
|
1988
|
-
"fieldName": "itemIdPath",
|
|
1989
|
-
"inheritedFrom": {
|
|
1990
|
-
"name": "DataProviderMixin",
|
|
1991
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
1992
|
-
}
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
"name": "loading",
|
|
1996
|
-
"type": {
|
|
1997
|
-
"text": "boolean"
|
|
1998
|
-
},
|
|
1999
|
-
"description": "`true` while data is being requested from the data provider.",
|
|
2000
|
-
"fieldName": "loading",
|
|
2001
|
-
"inheritedFrom": {
|
|
2002
|
-
"name": "DataProviderMixin",
|
|
2003
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
2004
|
-
}
|
|
2005
|
-
},
|
|
2006
|
-
{
|
|
2007
|
-
"name": "multi-sort",
|
|
2008
|
-
"type": {
|
|
2009
|
-
"text": "boolean"
|
|
2010
|
-
},
|
|
2011
|
-
"description": "When `true`, all `<vaadin-grid-sorter>` are applied for sorting.",
|
|
2012
|
-
"fieldName": "multiSort",
|
|
2013
|
-
"inheritedFrom": {
|
|
2014
|
-
"name": "SortMixin",
|
|
2015
|
-
"package": "@vaadin/grid/src/vaadin-grid-sort-mixin.js"
|
|
2016
|
-
}
|
|
2017
|
-
},
|
|
2018
|
-
{
|
|
2019
|
-
"name": "multi-sort-on-shift-click",
|
|
2020
|
-
"type": {
|
|
2021
|
-
"text": "boolean"
|
|
2022
|
-
},
|
|
2023
|
-
"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.",
|
|
2024
|
-
"fieldName": "multiSortOnShiftClick",
|
|
2025
|
-
"inheritedFrom": {
|
|
2026
|
-
"name": "SortMixin",
|
|
2027
|
-
"package": "@vaadin/grid/src/vaadin-grid-sort-mixin.js"
|
|
2028
|
-
}
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
"name": "multi-sort-priority",
|
|
2032
|
-
"type": {
|
|
2033
|
-
"text": "string"
|
|
2034
|
-
},
|
|
2035
|
-
"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\"`.",
|
|
2036
|
-
"fieldName": "multiSortPriority",
|
|
2037
|
-
"inheritedFrom": {
|
|
2038
|
-
"name": "SortMixin",
|
|
2039
|
-
"package": "@vaadin/grid/src/vaadin-grid-sort-mixin.js"
|
|
2040
|
-
}
|
|
2041
|
-
},
|
|
2042
|
-
{
|
|
2043
|
-
"name": "no-filter",
|
|
2044
|
-
"description": "Disable filtering in the generated columns.",
|
|
2045
|
-
"fieldName": "noFilter",
|
|
2046
|
-
"inheritedFrom": {
|
|
2047
|
-
"name": "CrudGridMixin",
|
|
2048
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
2049
|
-
}
|
|
2050
|
-
},
|
|
2051
|
-
{
|
|
2052
|
-
"name": "no-head",
|
|
2053
|
-
"description": "Do not add headers to columns.",
|
|
2054
|
-
"fieldName": "noHead",
|
|
2055
|
-
"inheritedFrom": {
|
|
2056
|
-
"name": "CrudGridMixin",
|
|
2057
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
2058
|
-
}
|
|
2059
|
-
},
|
|
2060
|
-
{
|
|
2061
|
-
"name": "no-sort",
|
|
2062
|
-
"description": "Disable sorting in the generated columns.",
|
|
2063
|
-
"fieldName": "noSort",
|
|
2064
|
-
"inheritedFrom": {
|
|
2065
|
-
"name": "CrudGridMixin",
|
|
2066
|
-
"module": "src/vaadin-crud-grid-mixin.js"
|
|
2067
|
-
}
|
|
2068
|
-
},
|
|
2069
|
-
{
|
|
2070
|
-
"name": "page-size",
|
|
2071
|
-
"type": {
|
|
2072
|
-
"text": "number"
|
|
2073
|
-
},
|
|
2074
|
-
"description": "Number of items fetched at a time from the dataprovider.",
|
|
2075
|
-
"fieldName": "pageSize",
|
|
2076
|
-
"inheritedFrom": {
|
|
2077
|
-
"name": "DataProviderMixin",
|
|
2078
|
-
"package": "@vaadin/grid/src/vaadin-grid-data-provider-mixin.js"
|
|
390
|
+
"name": "ColumnBaseMixin",
|
|
391
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2079
392
|
}
|
|
2080
393
|
},
|
|
2081
394
|
{
|
|
2082
|
-
"name": "
|
|
395
|
+
"name": "header-renderer",
|
|
2083
396
|
"type": {
|
|
2084
|
-
"text": "
|
|
397
|
+
"text": "GridHeaderFooterRenderer | null | undefined"
|
|
2085
398
|
},
|
|
2086
|
-
"description": "Custom function for rendering the content
|
|
2087
|
-
"fieldName": "
|
|
399
|
+
"description": "Custom function for rendering the header content.\nReceives two arguments:\n\n- `root` The header cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` element.",
|
|
400
|
+
"fieldName": "headerRenderer",
|
|
2088
401
|
"inheritedFrom": {
|
|
2089
|
-
"name": "
|
|
2090
|
-
"package": "@vaadin/grid/src/vaadin-grid-
|
|
402
|
+
"name": "ColumnBaseMixin",
|
|
403
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2091
404
|
}
|
|
2092
405
|
},
|
|
2093
406
|
{
|
|
2094
|
-
"name": "
|
|
407
|
+
"name": "hidden",
|
|
2095
408
|
"type": {
|
|
2096
409
|
"text": "boolean"
|
|
2097
410
|
},
|
|
2098
|
-
"description": "
|
|
2099
|
-
"fieldName": "
|
|
411
|
+
"description": "When set to true, the cells for this column are hidden.",
|
|
412
|
+
"fieldName": "hidden",
|
|
2100
413
|
"inheritedFrom": {
|
|
2101
|
-
"name": "
|
|
2102
|
-
"package": "@vaadin/grid/src/vaadin-grid-
|
|
414
|
+
"name": "ColumnBaseMixin",
|
|
415
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2103
416
|
}
|
|
2104
417
|
},
|
|
2105
418
|
{
|
|
2106
|
-
"name": "
|
|
419
|
+
"name": "path",
|
|
2107
420
|
"type": {
|
|
2108
|
-
"text": "
|
|
421
|
+
"text": "string"
|
|
2109
422
|
},
|
|
2110
|
-
"description": "
|
|
2111
|
-
"fieldName": "
|
|
423
|
+
"description": "Path to an item sub-property whose value gets displayed in the column body cells.\nThe property name is also shown in the column header if an explicit header or renderer isn't defined.",
|
|
424
|
+
"fieldName": "path",
|
|
2112
425
|
"inheritedFrom": {
|
|
2113
|
-
"name": "
|
|
2114
|
-
"package": "@vaadin/grid/src/vaadin-grid-
|
|
426
|
+
"name": "GridColumnMixin",
|
|
427
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2115
428
|
}
|
|
2116
429
|
},
|
|
2117
430
|
{
|
|
2118
|
-
"name": "
|
|
431
|
+
"name": "renderer",
|
|
2119
432
|
"type": {
|
|
2120
|
-
"text": "
|
|
433
|
+
"text": "GridBodyRenderer | null | undefined"
|
|
2121
434
|
},
|
|
2122
|
-
"description": "
|
|
2123
|
-
"fieldName": "
|
|
435
|
+
"description": "Custom function for rendering the cell content.\nReceives three arguments:\n\n- `root` The cell content DOM element. Append your content to it.\n- `column` The `<vaadin-grid-column>` 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.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.\n - `model.detailsOpened` Details opened state.\n - `model.hasChildren` Whether the item has children.",
|
|
436
|
+
"fieldName": "renderer",
|
|
2124
437
|
"inheritedFrom": {
|
|
2125
|
-
"name": "
|
|
2126
|
-
"package": "@vaadin/
|
|
438
|
+
"name": "GridColumnMixin",
|
|
439
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2127
440
|
}
|
|
2128
|
-
}
|
|
2129
|
-
],
|
|
2130
|
-
"events": [
|
|
441
|
+
},
|
|
2131
442
|
{
|
|
443
|
+
"name": "resizable",
|
|
2132
444
|
"type": {
|
|
2133
|
-
"text": "
|
|
445
|
+
"text": "boolean"
|
|
2134
446
|
},
|
|
2135
|
-
"description": "
|
|
2136
|
-
"
|
|
447
|
+
"description": "When set to true, the column is user-resizable.",
|
|
448
|
+
"default": "false",
|
|
449
|
+
"fieldName": "resizable",
|
|
2137
450
|
"inheritedFrom": {
|
|
2138
|
-
"name": "
|
|
2139
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
451
|
+
"name": "ColumnBaseMixin",
|
|
452
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2140
453
|
}
|
|
2141
454
|
},
|
|
2142
455
|
{
|
|
456
|
+
"name": "row-header",
|
|
2143
457
|
"type": {
|
|
2144
|
-
"text": "
|
|
458
|
+
"text": "boolean"
|
|
2145
459
|
},
|
|
2146
|
-
"description": "
|
|
2147
|
-
"
|
|
460
|
+
"description": "When true, the cells for this column will be rendered with the `role` attribute\nset as `rowheader`, instead of the `gridcell` role value used by default.\n\nWhen a column is set as row header, its cells will be announced by screen readers\nwhile navigating to help user identify the current row as uniquely as possible.",
|
|
461
|
+
"fieldName": "rowHeader",
|
|
2148
462
|
"inheritedFrom": {
|
|
2149
|
-
"name": "
|
|
2150
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
463
|
+
"name": "ColumnBaseMixin",
|
|
464
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2151
465
|
}
|
|
2152
466
|
},
|
|
2153
467
|
{
|
|
468
|
+
"name": "text-align",
|
|
2154
469
|
"type": {
|
|
2155
|
-
"text": "
|
|
470
|
+
"text": "GridColumnTextAlign | null | undefined"
|
|
2156
471
|
},
|
|
2157
|
-
"description": "
|
|
2158
|
-
"
|
|
472
|
+
"description": "Aligns the columns cell content horizontally.\nSupported values: \"start\", \"center\" and \"end\".",
|
|
473
|
+
"fieldName": "textAlign",
|
|
2159
474
|
"inheritedFrom": {
|
|
2160
|
-
"name": "
|
|
2161
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
475
|
+
"name": "ColumnBaseMixin",
|
|
476
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2162
477
|
}
|
|
2163
478
|
},
|
|
2164
479
|
{
|
|
480
|
+
"name": "width",
|
|
2165
481
|
"type": {
|
|
2166
|
-
"text": "
|
|
482
|
+
"text": "string"
|
|
2167
483
|
},
|
|
2168
|
-
"description": "
|
|
2169
|
-
"
|
|
484
|
+
"description": "Width of the cells for this column.\n\nPlease note that using the `em` length unit is discouraged as\nit might lead to misalignment issues if the header, body, and footer\ncells have different font sizes. Instead, use `rem` if you need\na length unit relative to the font size.",
|
|
485
|
+
"fieldName": "width",
|
|
2170
486
|
"inheritedFrom": {
|
|
2171
|
-
"name": "
|
|
2172
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
487
|
+
"name": "GridColumnMixin",
|
|
488
|
+
"package": "@vaadin/grid/src/vaadin-grid-column-mixin.js"
|
|
2173
489
|
}
|
|
2174
|
-
}
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"superclass": {
|
|
493
|
+
"name": "GridColumn",
|
|
494
|
+
"package": "@vaadin/grid/src/vaadin-grid-column.js"
|
|
495
|
+
},
|
|
496
|
+
"tagName": "vaadin-crud-edit-column",
|
|
497
|
+
"customElement": true,
|
|
498
|
+
"events": []
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"exports": [
|
|
502
|
+
{
|
|
503
|
+
"kind": "js",
|
|
504
|
+
"name": "CrudEditColumn",
|
|
505
|
+
"declaration": {
|
|
506
|
+
"name": "CrudEditColumn",
|
|
507
|
+
"module": "src/vaadin-crud-edit-column.js"
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
]
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"kind": "javascript-module",
|
|
514
|
+
"path": "src/vaadin-crud-edit.js",
|
|
515
|
+
"declarations": [
|
|
516
|
+
{
|
|
517
|
+
"kind": "class",
|
|
518
|
+
"description": "`<vaadin-crud-edit>` is a helper element for `<vaadin-grid-column>` that provides\nan easily themable button that fires an `edit` event with the row item as detail\nwhen clicked.\n\nTypical usage is in a `<vaadin-grid-column>` of a custom `<vaadin-grid>` inside\na `<vaadin-crud>` to enable editing.",
|
|
519
|
+
"name": "CrudEdit",
|
|
520
|
+
"members": [
|
|
2175
521
|
{
|
|
522
|
+
"kind": "field",
|
|
523
|
+
"name": "disabled",
|
|
524
|
+
"privacy": "public",
|
|
2176
525
|
"type": {
|
|
2177
|
-
"text": "
|
|
526
|
+
"text": "boolean"
|
|
2178
527
|
},
|
|
2179
|
-
"description": "
|
|
2180
|
-
"
|
|
528
|
+
"description": "When disabled, the button is rendered as \"dimmed\" and prevents all\nuser interactions (mouse and keyboard).\n\nSince disabled buttons are not focusable and cannot react to hover\nevents by default, it can cause accessibility issues by making them\nentirely invisible to assistive technologies, and prevents the use\nof Tooltips to explain why the action is not available. This can be\naddressed by enabling the feature flag `accessibleDisabledButtons`,\nwhich makes disabled buttons focusable and hoverable, while still\npreventing them from being triggered:\n\n```js\n// Set before any button is attached to the DOM.\nwindow.Vaadin.featureFlags.accessibleDisabledButtons = true\n```",
|
|
529
|
+
"attribute": "disabled",
|
|
2181
530
|
"inheritedFrom": {
|
|
2182
|
-
"name": "
|
|
2183
|
-
"package": "@vaadin/
|
|
531
|
+
"name": "Button",
|
|
532
|
+
"package": "@vaadin/button/src/vaadin-button.js"
|
|
2184
533
|
}
|
|
2185
|
-
}
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"superclass": {
|
|
537
|
+
"name": "Button",
|
|
538
|
+
"package": "@vaadin/button/src/vaadin-button.js"
|
|
539
|
+
},
|
|
540
|
+
"tagName": "vaadin-crud-edit",
|
|
541
|
+
"customElement": true,
|
|
542
|
+
"attributes": [
|
|
2186
543
|
{
|
|
544
|
+
"name": "disabled",
|
|
2187
545
|
"type": {
|
|
2188
|
-
"text": "
|
|
546
|
+
"text": "boolean"
|
|
2189
547
|
},
|
|
2190
|
-
"description": "
|
|
2191
|
-
"
|
|
548
|
+
"description": "When disabled, the button is rendered as \"dimmed\" and prevents all\nuser interactions (mouse and keyboard).\n\nSince disabled buttons are not focusable and cannot react to hover\nevents by default, it can cause accessibility issues by making them\nentirely invisible to assistive technologies, and prevents the use\nof Tooltips to explain why the action is not available. This can be\naddressed by enabling the feature flag `accessibleDisabledButtons`,\nwhich makes disabled buttons focusable and hoverable, while still\npreventing them from being triggered:\n\n```js\n// Set before any button is attached to the DOM.\nwindow.Vaadin.featureFlags.accessibleDisabledButtons = true\n```",
|
|
549
|
+
"fieldName": "disabled",
|
|
2192
550
|
"inheritedFrom": {
|
|
2193
|
-
"name": "
|
|
2194
|
-
"package": "@vaadin/
|
|
551
|
+
"name": "Button",
|
|
552
|
+
"package": "@vaadin/button/src/vaadin-button.js"
|
|
2195
553
|
}
|
|
2196
|
-
}
|
|
554
|
+
}
|
|
555
|
+
],
|
|
556
|
+
"events": []
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"exports": [
|
|
560
|
+
{
|
|
561
|
+
"kind": "js",
|
|
562
|
+
"name": "CrudEdit",
|
|
563
|
+
"declaration": {
|
|
564
|
+
"name": "CrudEdit",
|
|
565
|
+
"module": "src/vaadin-crud-edit.js"
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"kind": "javascript-module",
|
|
572
|
+
"path": "src/vaadin-crud-grid-mixin.js",
|
|
573
|
+
"declarations": [
|
|
574
|
+
{
|
|
575
|
+
"kind": "mixin",
|
|
576
|
+
"description": "A mixin providing common crud-grid functionality.",
|
|
577
|
+
"name": "CrudGridMixin",
|
|
578
|
+
"members": [
|
|
2197
579
|
{
|
|
580
|
+
"kind": "field",
|
|
581
|
+
"name": "exclude",
|
|
582
|
+
"privacy": "public",
|
|
583
|
+
"description": "A list of item fields that should not be mapped to form fields.\n\nWhen [`include`](#/elements/vaadin-crud-form#property-include) is defined, this property is ignored.\n\nDefault is to exclude any private property.",
|
|
2198
584
|
"type": {
|
|
2199
|
-
"text": "
|
|
585
|
+
"text": "string | RegExp"
|
|
2200
586
|
},
|
|
2201
|
-
"
|
|
2202
|
-
"name": "expanded-items-changed",
|
|
587
|
+
"attribute": "exclude",
|
|
2203
588
|
"inheritedFrom": {
|
|
2204
|
-
"name": "
|
|
2205
|
-
"
|
|
589
|
+
"name": "IncludedMixin",
|
|
590
|
+
"module": "src/vaadin-crud-include-mixin.js"
|
|
2206
591
|
}
|
|
2207
592
|
},
|
|
2208
593
|
{
|
|
594
|
+
"kind": "field",
|
|
595
|
+
"name": "hideEditColumn",
|
|
596
|
+
"privacy": "public",
|
|
2209
597
|
"type": {
|
|
2210
|
-
"text": "
|
|
598
|
+
"text": "boolean"
|
|
2211
599
|
},
|
|
2212
|
-
"description": "
|
|
2213
|
-
"
|
|
2214
|
-
"inheritedFrom": {
|
|
2215
|
-
"name": "Grid",
|
|
2216
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2217
|
-
}
|
|
600
|
+
"description": "Determines whether the edit column should be hidden.",
|
|
601
|
+
"attribute": "hide-edit-column"
|
|
2218
602
|
},
|
|
2219
603
|
{
|
|
604
|
+
"kind": "field",
|
|
605
|
+
"name": "include",
|
|
606
|
+
"privacy": "public",
|
|
607
|
+
"description": "A list of item properties that should be mapped to form fields.\n\nWhen it is defined [`exclude`](#/elements/vaadin-crud-form#property-exclude) is ignored.",
|
|
2220
608
|
"type": {
|
|
2221
|
-
"text": "
|
|
609
|
+
"text": "string | !Array<string> | undefined"
|
|
2222
610
|
},
|
|
2223
|
-
"
|
|
2224
|
-
"name": "grid-dragstart",
|
|
611
|
+
"attribute": "include",
|
|
2225
612
|
"inheritedFrom": {
|
|
2226
|
-
"name": "
|
|
2227
|
-
"
|
|
613
|
+
"name": "IncludedMixin",
|
|
614
|
+
"module": "src/vaadin-crud-include-mixin.js"
|
|
2228
615
|
}
|
|
2229
616
|
},
|
|
2230
617
|
{
|
|
2231
|
-
"
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
"description": "
|
|
2235
|
-
"
|
|
2236
|
-
"inheritedFrom": {
|
|
2237
|
-
"name": "Grid",
|
|
2238
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2239
|
-
}
|
|
618
|
+
"kind": "field",
|
|
619
|
+
"name": "noFilter",
|
|
620
|
+
"privacy": "public",
|
|
621
|
+
"description": "Disable filtering in the generated columns.",
|
|
622
|
+
"attribute": "no-filter"
|
|
2240
623
|
},
|
|
2241
624
|
{
|
|
2242
|
-
"
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
"description": "
|
|
2246
|
-
"
|
|
2247
|
-
"inheritedFrom": {
|
|
2248
|
-
"name": "Grid",
|
|
2249
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2250
|
-
}
|
|
625
|
+
"kind": "field",
|
|
626
|
+
"name": "noHead",
|
|
627
|
+
"privacy": "public",
|
|
628
|
+
"description": "Do not add headers to columns.",
|
|
629
|
+
"attribute": "no-head"
|
|
2251
630
|
},
|
|
2252
631
|
{
|
|
632
|
+
"kind": "field",
|
|
633
|
+
"name": "noSort",
|
|
634
|
+
"privacy": "public",
|
|
635
|
+
"description": "Disable sorting in the generated columns.",
|
|
636
|
+
"attribute": "no-sort"
|
|
637
|
+
}
|
|
638
|
+
],
|
|
639
|
+
"attributes": [
|
|
640
|
+
{
|
|
641
|
+
"name": "exclude",
|
|
642
|
+
"description": "A list of item fields that should not be mapped to form fields.\n\nWhen [`include`](#/elements/vaadin-crud-form#property-include) is defined, this property is ignored.\n\nDefault is to exclude any private property.",
|
|
2253
643
|
"type": {
|
|
2254
|
-
"text": "
|
|
644
|
+
"text": "string | RegExp"
|
|
2255
645
|
},
|
|
2256
|
-
"
|
|
2257
|
-
"name": "loading-changed",
|
|
646
|
+
"fieldName": "exclude",
|
|
2258
647
|
"inheritedFrom": {
|
|
2259
|
-
"name": "
|
|
2260
|
-
"
|
|
648
|
+
"name": "IncludedMixin",
|
|
649
|
+
"module": "src/vaadin-crud-include-mixin.js"
|
|
2261
650
|
}
|
|
2262
651
|
},
|
|
2263
652
|
{
|
|
653
|
+
"name": "hide-edit-column",
|
|
2264
654
|
"type": {
|
|
2265
|
-
"text": "
|
|
655
|
+
"text": "boolean"
|
|
2266
656
|
},
|
|
2267
|
-
"description": "
|
|
2268
|
-
"
|
|
2269
|
-
"inheritedFrom": {
|
|
2270
|
-
"name": "Grid",
|
|
2271
|
-
"package": "@vaadin/grid/src/vaadin-grid.js"
|
|
2272
|
-
}
|
|
657
|
+
"description": "Determines whether the edit column should be hidden.",
|
|
658
|
+
"fieldName": "hideEditColumn"
|
|
2273
659
|
},
|
|
2274
660
|
{
|
|
2275
|
-
"
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
"
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
661
|
+
"name": "no-filter",
|
|
662
|
+
"description": "Disable filtering in the generated columns.",
|
|
663
|
+
"fieldName": "noFilter"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"name": "no-head",
|
|
667
|
+
"description": "Do not add headers to columns.",
|
|
668
|
+
"fieldName": "noHead"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"name": "no-sort",
|
|
672
|
+
"description": "Disable sorting in the generated columns.",
|
|
673
|
+
"fieldName": "noSort"
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"mixins": [
|
|
677
|
+
{
|
|
678
|
+
"name": "IncludedMixin",
|
|
679
|
+
"module": "src/vaadin-crud-include-mixin.js"
|
|
680
|
+
}
|
|
681
|
+
],
|
|
682
|
+
"parameters": [
|
|
683
|
+
{
|
|
684
|
+
"name": "superClass"
|
|
2284
685
|
}
|
|
2285
686
|
]
|
|
2286
687
|
}
|
|
@@ -2288,10 +689,10 @@
|
|
|
2288
689
|
"exports": [
|
|
2289
690
|
{
|
|
2290
691
|
"kind": "js",
|
|
2291
|
-
"name": "
|
|
692
|
+
"name": "CrudGridMixin",
|
|
2292
693
|
"declaration": {
|
|
2293
|
-
"name": "
|
|
2294
|
-
"module": "src/vaadin-crud-grid.js"
|
|
694
|
+
"name": "CrudGridMixin",
|
|
695
|
+
"module": "src/vaadin-crud-grid-mixin.js"
|
|
2295
696
|
}
|
|
2296
697
|
}
|
|
2297
698
|
]
|
|
@@ -2609,19 +1010,9 @@
|
|
|
2609
1010
|
"kind": "field",
|
|
2610
1011
|
"name": "i18n",
|
|
2611
1012
|
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following JSON structure and default values:\n\n```js\n{\n newItem: 'New item',\n editItem: 'Edit item',\n saveItem: 'Save',\n cancel: 'Cancel',\n deleteItem: 'Delete...',\n editLabel: 'Edit',\n confirm: {\n delete: {\n title: 'Confirm delete',\n content: 'Are you sure you want to delete the selected item? This action cannot be undone.',\n button: {\n confirm: 'Delete',\n dismiss: 'Cancel'\n }\n },\n cancel: {\n title: 'Unsaved changes',\n content: 'There are unsaved modifications to the item.',\n button: {\n confirm: 'Discard',\n dismiss: 'Continue editing'\n }\n }\n }\n}\n```",
|
|
2612
|
-
"
|
|
2613
|
-
"
|
|
2614
|
-
|
|
2615
|
-
}
|
|
2616
|
-
},
|
|
2617
|
-
"parameters": [
|
|
2618
|
-
{
|
|
2619
|
-
"name": "value",
|
|
2620
|
-
"type": {
|
|
2621
|
-
"text": "Object"
|
|
2622
|
-
}
|
|
2623
|
-
}
|
|
2624
|
-
],
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "Object"
|
|
1015
|
+
},
|
|
2625
1016
|
"inheritedFrom": {
|
|
2626
1017
|
"name": "I18nMixin",
|
|
2627
1018
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -2683,7 +1074,8 @@
|
|
|
2683
1074
|
"text": "number"
|
|
2684
1075
|
},
|
|
2685
1076
|
"description": "Number of items in the data set which is reported by the grid.\nTypically it reflects the number of filtered items displayed in the grid.\n\nNote: As with `<vaadin-grid>`, this property updates automatically only\nif `items` is used for data.",
|
|
2686
|
-
"attribute": "size"
|
|
1077
|
+
"attribute": "size",
|
|
1078
|
+
"readonly": true
|
|
2687
1079
|
}
|
|
2688
1080
|
],
|
|
2689
1081
|
"attributes": [
|
|
@@ -2886,19 +1278,9 @@
|
|
|
2886
1278
|
"kind": "field",
|
|
2887
1279
|
"name": "i18n",
|
|
2888
1280
|
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following JSON structure and default values:\n\n```js\n{\n newItem: 'New item',\n editItem: 'Edit item',\n saveItem: 'Save',\n cancel: 'Cancel',\n deleteItem: 'Delete...',\n editLabel: 'Edit',\n confirm: {\n delete: {\n title: 'Confirm delete',\n content: 'Are you sure you want to delete the selected item? This action cannot be undone.',\n button: {\n confirm: 'Delete',\n dismiss: 'Cancel'\n }\n },\n cancel: {\n title: 'Unsaved changes',\n content: 'There are unsaved modifications to the item.',\n button: {\n confirm: 'Discard',\n dismiss: 'Continue editing'\n }\n }\n }\n}\n```",
|
|
2889
|
-
"
|
|
2890
|
-
"
|
|
2891
|
-
|
|
2892
|
-
}
|
|
2893
|
-
},
|
|
2894
|
-
"parameters": [
|
|
2895
|
-
{
|
|
2896
|
-
"name": "value",
|
|
2897
|
-
"type": {
|
|
2898
|
-
"text": "Object"
|
|
2899
|
-
}
|
|
2900
|
-
}
|
|
2901
|
-
],
|
|
1281
|
+
"type": {
|
|
1282
|
+
"text": "Object"
|
|
1283
|
+
},
|
|
2902
1284
|
"inheritedFrom": {
|
|
2903
1285
|
"name": "I18nMixin",
|
|
2904
1286
|
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
@@ -2985,6 +1367,7 @@
|
|
|
2985
1367
|
},
|
|
2986
1368
|
"description": "Number of items in the data set which is reported by the grid.\nTypically it reflects the number of filtered items displayed in the grid.\n\nNote: As with `<vaadin-grid>`, this property updates automatically only\nif `items` is used for data.",
|
|
2987
1369
|
"attribute": "size",
|
|
1370
|
+
"readonly": true,
|
|
2988
1371
|
"inheritedFrom": {
|
|
2989
1372
|
"name": "CrudMixin",
|
|
2990
1373
|
"module": "src/vaadin-crud-mixin.js"
|