igniteui-grid-lite 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/components/cell.d.ts +2 -0
  2. package/components/cell.js +8 -1
  3. package/components/cell.js.map +1 -1
  4. package/components/grid.d.ts +0 -2
  5. package/components/grid.js +19 -17
  6. package/components/grid.js.map +1 -1
  7. package/controllers/data-operation.d.ts +1 -1
  8. package/controllers/data-operation.js.map +1 -1
  9. package/controllers/dom.d.ts +1 -1
  10. package/controllers/dom.js.map +1 -1
  11. package/controllers/filter.d.ts +10 -0
  12. package/controllers/filter.js +22 -1
  13. package/controllers/filter.js.map +1 -1
  14. package/controllers/state.d.ts +1 -1
  15. package/controllers/state.js +2 -0
  16. package/controllers/state.js.map +1 -1
  17. package/custom-elements.json +1947 -1936
  18. package/define.js.map +1 -1
  19. package/docs/igniteui-grid-lite.json +8046 -0
  20. package/internal/types.js.map +1 -1
  21. package/operations/filter/types.js.map +1 -1
  22. package/operations/sort/types.js.map +1 -1
  23. package/package.json +1 -1
  24. package/styles/themes/dark/grid.bootstrap.css.js +1 -1
  25. package/styles/themes/dark/grid.bootstrap.css.js.map +1 -1
  26. package/styles/themes/dark/grid.fluent.css.js +1 -1
  27. package/styles/themes/dark/grid.fluent.css.js.map +1 -1
  28. package/styles/themes/dark/grid.indigo.css.js +1 -1
  29. package/styles/themes/dark/grid.indigo.css.js.map +1 -1
  30. package/styles/themes/dark/grid.material.css.js +1 -1
  31. package/styles/themes/dark/grid.material.css.js.map +1 -1
  32. package/styles/themes/dark/grid.shared.css.js +1 -1
  33. package/styles/themes/dark/grid.shared.css.js.map +1 -1
  34. package/styles/themes/light/grid.bootstrap.css.js +1 -1
  35. package/styles/themes/light/grid.bootstrap.css.js.map +1 -1
  36. package/styles/themes/light/grid.fluent.css.js +1 -1
  37. package/styles/themes/light/grid.fluent.css.js.map +1 -1
  38. package/styles/themes/light/grid.indigo.css.js +1 -1
  39. package/styles/themes/light/grid.indigo.css.js.map +1 -1
  40. package/styles/themes/light/grid.material.css.js +1 -1
  41. package/styles/themes/light/grid.material.css.js.map +1 -1
  42. package/styles/themes/light/grid.shared.css.js +1 -1
  43. package/styles/themes/light/grid.shared.css.js.map +1 -1
  44. package/docs/.nojekyll +0 -1
  45. package/docs/assets/hierarchy.js +0 -1
  46. package/docs/assets/highlight.css +0 -85
  47. package/docs/assets/icons.js +0 -18
  48. package/docs/assets/icons.svg +0 -1
  49. package/docs/assets/main.js +0 -60
  50. package/docs/assets/navigation.js +0 -1
  51. package/docs/assets/search.js +0 -1
  52. package/docs/assets/style.css +0 -1633
  53. package/docs/classes/IgcGridLite.html +0 -75
  54. package/docs/classes/IgcGridLiteColumn.html +0 -44
  55. package/docs/hierarchy.html +0 -1
  56. package/docs/index.html +0 -217
  57. package/docs/interfaces/BaseColumnConfiguration.html +0 -34
  58. package/docs/interfaces/BaseColumnSortConfiguration.html +0 -4
  59. package/docs/interfaces/BaseFilterExpression.html +0 -15
  60. package/docs/interfaces/BaseIgcCellContext.html +0 -10
  61. package/docs/interfaces/BaseSortingExpression.html +0 -12
  62. package/docs/interfaces/DataPipelineConfiguration.html +0 -6
  63. package/docs/interfaces/GridLiteSortingOptions.html +0 -4
  64. package/docs/interfaces/IgcFilteredEvent.html +0 -6
  65. package/docs/interfaces/IgcFilteringEvent.html +0 -12
  66. package/docs/interfaces/IgcGridLiteEventMap.html +0 -17
  67. package/docs/interfaces/IgcHeaderContext.html +0 -6
  68. package/docs/media/LICENSE +0 -9
  69. package/docs/modules.html +0 -1
  70. package/docs/types/BaseSortComparer.html +0 -2
  71. package/docs/types/ColumnConfiguration.html +0 -2
  72. package/docs/types/ColumnSortConfiguration.html +0 -2
  73. package/docs/types/DataPipelineHook.html +0 -2
  74. package/docs/types/DataPipelineParams.html +0 -8
  75. package/docs/types/DataType.html +0 -2
  76. package/docs/types/FilterCriteria.html +0 -6
  77. package/docs/types/FilterExpression.html +0 -2
  78. package/docs/types/IgcCellContext.html +0 -2
  79. package/docs/types/Keys.html +0 -2
  80. package/docs/types/PropertyType.html +0 -2
  81. package/docs/types/SortComparer.html +0 -2
  82. package/docs/types/SortState.html +0 -2
  83. package/docs/types/SortingDirection.html +0 -3
  84. package/docs/types/SortingExpression.html +0 -2
@@ -298,954 +298,1126 @@
298
298
  },
299
299
  {
300
300
  "kind": "javascript-module",
301
- "path": "src/components/cell.ts",
301
+ "path": "src/controllers/data-operation.ts",
302
302
  "declarations": [
303
303
  {
304
304
  "kind": "class",
305
- "description": "Component representing a DOM cell of the Igc grid.",
306
- "name": "IgcGridLiteCell",
305
+ "description": "",
306
+ "name": "DataOperationsController",
307
307
  "members": [
308
308
  {
309
309
  "kind": "field",
310
- "name": "tagName",
311
- "privacy": "public",
312
- "static": true,
313
- "readonly": true
314
- },
315
- {
316
- "kind": "method",
317
- "name": "register",
318
- "privacy": "public",
319
- "static": true,
320
- "return": {
321
- "type": {
322
- "text": "void"
323
- }
324
- }
310
+ "name": "sorting",
311
+ "privacy": "protected",
312
+ "default": "new SortDataOperation<T>()"
325
313
  },
326
314
  {
327
315
  "kind": "field",
328
- "name": "_adoptedStylesController",
329
- "privacy": "private",
330
- "readonly": true
316
+ "name": "filtering",
317
+ "privacy": "protected",
318
+ "default": "new FilterDataOperation<T>()"
331
319
  },
332
320
  {
333
- "kind": "field",
334
- "name": "adoptRootStyles",
335
- "type": {
336
- "text": "boolean"
337
- },
338
- "privacy": "public",
339
- "default": "false"
321
+ "kind": "method",
322
+ "name": "hostConnected",
323
+ "privacy": "public"
340
324
  },
341
325
  {
342
326
  "kind": "field",
343
- "name": "value",
344
- "type": {
345
- "text": "PropertyType<T>"
346
- },
347
- "privacy": "public",
348
- "description": "The value which will be rendered by the component."
327
+ "name": "hasCustomSort",
328
+ "privacy": "protected",
329
+ "readonly": true
349
330
  },
350
331
  {
351
332
  "kind": "field",
352
- "name": "column",
353
- "type": {
354
- "text": "ColumnConfiguration<T>"
355
- },
356
- "privacy": "public",
357
- "description": "A reference to the column configuration object."
333
+ "name": "hasCustomFilter",
334
+ "privacy": "protected",
335
+ "readonly": true
358
336
  },
359
337
  {
360
338
  "kind": "field",
361
- "name": "active",
362
- "type": {
363
- "text": "boolean"
364
- },
365
- "privacy": "public",
366
- "default": "false",
367
- "description": "Indicates whether this is the active cell in the grid.",
368
- "attribute": "active",
369
- "reflects": true
339
+ "name": "customFilter",
340
+ "privacy": "protected",
341
+ "readonly": true
370
342
  },
371
343
  {
372
344
  "kind": "field",
373
- "name": "row",
374
- "type": {
375
- "text": "IgcGridLiteRow<T>"
376
- },
377
- "privacy": "public",
378
- "description": "The parent row component holding this cell."
345
+ "name": "customSort",
346
+ "privacy": "protected",
347
+ "readonly": true
379
348
  },
380
349
  {
381
- "kind": "field",
382
- "name": "rowIndex",
383
- "type": {
384
- "text": "number"
385
- },
350
+ "kind": "method",
351
+ "name": "apply",
386
352
  "privacy": "public",
387
- "default": "-1"
388
- },
389
- {
390
- "kind": "field",
391
- "name": "cellTemplate",
392
- "type": {
393
- "text": "(context: IgcCellContext<T>) => unknown | undefined"
394
- },
395
- "privacy": "public"
396
- },
397
- {
398
- "kind": "field",
399
- "name": "context",
400
- "type": {
401
- "text": "IgcCellContext<T>"
402
- },
403
- "privacy": "protected",
404
- "readonly": true
353
+ "parameters": [
354
+ {
355
+ "name": "data",
356
+ "type": {
357
+ "text": "T[]"
358
+ }
359
+ },
360
+ {
361
+ "name": "state",
362
+ "type": {
363
+ "text": "StateController<T>"
364
+ }
365
+ }
366
+ ]
405
367
  }
406
- ],
407
- "attributes": [
368
+ ]
369
+ },
370
+ {
371
+ "kind": "function",
372
+ "name": "createDataOperationsController",
373
+ "return": {
374
+ "type": {
375
+ "text": "DataOperationsController<T>"
376
+ }
377
+ },
378
+ "parameters": [
408
379
  {
409
- "name": "active",
380
+ "name": "host",
410
381
  "type": {
411
- "text": "boolean"
412
- },
413
- "default": "false",
414
- "description": "Indicates whether this is the active cell in the grid.",
415
- "fieldName": "active"
382
+ "text": "GridHost<T>"
383
+ }
416
384
  }
417
- ],
418
- "superclass": {
419
- "name": "LitElement",
420
- "package": "lit"
421
- },
422
- "customElement": true
385
+ ]
423
386
  }
424
387
  ],
425
388
  "exports": [
426
389
  {
427
390
  "kind": "js",
428
- "name": "default",
391
+ "name": "DataOperationsController",
429
392
  "declaration": {
430
- "name": "IgcGridLiteCell",
431
- "module": "src/components/cell.ts"
393
+ "name": "DataOperationsController",
394
+ "module": "src/controllers/data-operation.ts"
395
+ }
396
+ },
397
+ {
398
+ "kind": "js",
399
+ "name": "createDataOperationsController",
400
+ "declaration": {
401
+ "name": "createDataOperationsController",
402
+ "module": "src/controllers/data-operation.ts"
432
403
  }
433
404
  }
434
405
  ]
435
406
  },
436
407
  {
437
408
  "kind": "javascript-module",
438
- "path": "src/components/column.ts",
409
+ "path": "src/controllers/dom.ts",
439
410
  "declarations": [
440
411
  {
441
412
  "kind": "class",
442
413
  "description": "",
443
- "name": "IgcGridLiteColumn",
414
+ "name": "GridDOMController",
444
415
  "members": [
445
416
  {
446
417
  "kind": "field",
447
- "name": "tagName",
448
- "privacy": "public",
449
- "static": true,
450
- "readonly": true
451
- },
452
- {
453
- "kind": "method",
454
- "name": "register",
455
- "privacy": "public",
456
- "static": true,
457
- "return": {
458
- "type": {
459
- "text": "void"
460
- }
461
- }
462
- },
463
- {
464
- "kind": "field",
465
- "name": "_setConfig",
418
+ "name": "_host",
466
419
  "type": {
467
- "text": "(config: BaseColumnConfiguration<T>) => void | undefined"
420
+ "text": "GridHost<T>"
468
421
  },
469
422
  "privacy": "protected",
470
- "description": "Callback context to notify the parent grid about configuration changes"
423
+ "readonly": true,
424
+ "default": "host"
471
425
  },
472
426
  {
473
427
  "kind": "field",
474
- "name": "field",
428
+ "name": "_state",
475
429
  "type": {
476
- "text": "Keys<T>"
430
+ "text": "StateController<T>"
477
431
  },
478
- "privacy": "public",
479
- "description": "The field from the data for this column.",
480
- "attribute": "field"
432
+ "privacy": "protected",
433
+ "readonly": true,
434
+ "default": "state"
481
435
  },
482
436
  {
483
437
  "kind": "field",
484
- "name": "dataType",
438
+ "name": "columnSizes",
485
439
  "type": {
486
- "text": "'number' | 'string' | 'boolean' | undefined"
440
+ "text": "StyleInfo"
487
441
  },
488
442
  "privacy": "public",
489
- "default": "'string'",
490
- "description": "The data type of the column's values.",
491
- "attribute": "data-type"
443
+ "default": "{}"
492
444
  },
493
445
  {
494
- "kind": "field",
495
- "name": "header",
496
- "type": {
497
- "text": "string | undefined"
498
- },
446
+ "kind": "method",
447
+ "name": "hostConnected",
499
448
  "privacy": "public",
500
- "description": "The header text of the column.",
501
- "attribute": "header"
449
+ "return": {
450
+ "type": {
451
+ "text": "void"
452
+ }
453
+ }
502
454
  },
503
455
  {
504
- "kind": "field",
505
- "name": "width",
506
- "type": {
507
- "text": "string | undefined"
508
- },
456
+ "kind": "method",
457
+ "name": "hostUpdate",
509
458
  "privacy": "public",
510
- "description": "The width of the column.",
511
- "attribute": "width"
459
+ "return": {
460
+ "type": {
461
+ "text": "void"
462
+ }
463
+ }
512
464
  },
513
465
  {
514
- "kind": "field",
515
- "name": "hidden",
516
- "type": {
517
- "text": "boolean"
518
- },
466
+ "kind": "method",
467
+ "name": "setScrollOffset",
519
468
  "privacy": "public",
520
- "default": "false",
521
- "description": "Indicates whether the column is hidden.",
522
- "attribute": "hidden"
469
+ "return": {
470
+ "type": {
471
+ "text": "void"
472
+ }
473
+ }
523
474
  },
524
475
  {
525
- "kind": "field",
526
- "name": "resizable",
527
- "type": {
528
- "text": "boolean"
529
- },
530
- "privacy": "public",
531
- "default": "false",
532
- "description": "Indicates whether the column is resizable.",
533
- "attribute": "resizable"
476
+ "kind": "method",
477
+ "name": "setGridColumnSizes",
478
+ "privacy": "protected",
479
+ "return": {
480
+ "type": {
481
+ "text": "void"
482
+ }
483
+ }
534
484
  },
535
485
  {
536
- "kind": "field",
537
- "name": "sortable",
538
- "type": {
539
- "text": "boolean"
540
- },
486
+ "kind": "method",
487
+ "name": "getActiveRowStyles",
541
488
  "privacy": "public",
542
- "default": "false",
543
- "description": "Indicates whether the column is sortable.",
544
- "attribute": "sortable"
545
- },
489
+ "return": {
490
+ "type": {
491
+ "text": "StyleInfo"
492
+ }
493
+ },
494
+ "parameters": [
495
+ {
496
+ "name": "index",
497
+ "type": {
498
+ "text": "number"
499
+ }
500
+ }
501
+ ]
502
+ }
503
+ ]
504
+ },
505
+ {
506
+ "kind": "function",
507
+ "name": "createDomController",
508
+ "return": {
509
+ "type": {
510
+ "text": "GridDOMController<T>"
511
+ }
512
+ },
513
+ "parameters": [
546
514
  {
547
- "kind": "field",
548
- "name": "sortingCaseSensitive",
515
+ "name": "host",
549
516
  "type": {
550
- "text": "boolean"
551
- },
552
- "privacy": "public",
553
- "default": "false",
554
- "description": "Whether sort operations will be case sensitive.",
555
- "attribute": "sorting-case-sensitive"
517
+ "text": "GridHost<T>"
518
+ }
556
519
  },
557
520
  {
558
- "kind": "field",
559
- "name": "sortConfiguration",
521
+ "name": "state",
560
522
  "type": {
561
- "text": "ColumnSortConfiguration<T> | undefined"
562
- },
563
- "privacy": "public",
564
- "description": "Sort configuration for the column (e.g., custom comparer)."
565
- },
523
+ "text": "StateController<T>"
524
+ }
525
+ }
526
+ ]
527
+ }
528
+ ],
529
+ "exports": [
530
+ {
531
+ "kind": "js",
532
+ "name": "GridDOMController",
533
+ "declaration": {
534
+ "name": "GridDOMController",
535
+ "module": "src/controllers/dom.ts"
536
+ }
537
+ },
538
+ {
539
+ "kind": "js",
540
+ "name": "createDomController",
541
+ "declaration": {
542
+ "name": "createDomController",
543
+ "module": "src/controllers/dom.ts"
544
+ }
545
+ }
546
+ ]
547
+ },
548
+ {
549
+ "kind": "javascript-module",
550
+ "path": "src/controllers/filter.ts",
551
+ "declarations": [
552
+ {
553
+ "kind": "class",
554
+ "description": "",
555
+ "name": "FilterController",
556
+ "members": [
566
557
  {
567
558
  "kind": "field",
568
- "name": "filterable",
559
+ "name": "_stateController",
569
560
  "type": {
570
- "text": "boolean"
561
+ "text": "StateController<T>"
571
562
  },
572
- "privacy": "public",
573
- "default": "false",
574
- "description": "Indicates whether the column is filterable.",
575
- "attribute": "filterable"
563
+ "privacy": "private",
564
+ "readonly": true,
565
+ "default": "state"
576
566
  },
577
567
  {
578
568
  "kind": "field",
579
- "name": "filteringCaseSensitive",
569
+ "name": "state",
580
570
  "type": {
581
- "text": "boolean"
571
+ "text": "FilterState<T>"
582
572
  },
583
573
  "privacy": "public",
584
- "default": "false",
585
- "description": "Whether filter operations will be case sensitive.",
586
- "attribute": "filtering-case-sensitive"
574
+ "default": "new FilterState()"
587
575
  },
588
576
  {
589
577
  "kind": "field",
590
- "name": "headerTemplate",
591
- "type": {
592
- "text": "(params: IgcHeaderContext<T>) => unknown | undefined"
593
- },
578
+ "name": "host",
594
579
  "privacy": "public",
595
- "description": "Custom header template for the column."
580
+ "readonly": true
596
581
  },
597
582
  {
598
583
  "kind": "field",
599
- "name": "cellTemplate",
584
+ "name": "filterRow",
600
585
  "type": {
601
- "text": "(params: IgcCellContext<T, any>) => unknown | undefined"
586
+ "text": "IgcFilterRow<T> | null"
602
587
  },
603
588
  "privacy": "public",
604
- "description": "Custom cell template for the column."
605
- }
606
- ],
607
- "attributes": [
608
- {
609
- "name": "field",
610
- "type": {
611
- "text": "Keys<T>"
612
- },
613
- "description": "The field from the data for this column.",
614
- "fieldName": "field"
589
+ "readonly": true
615
590
  },
616
591
  {
617
- "name": "data-type",
618
- "type": {
619
- "text": "'number' | 'string' | 'boolean' | undefined"
620
- },
621
- "default": "'string'",
622
- "description": "The data type of the column's values.",
623
- "fieldName": "dataType"
592
+ "kind": "field",
593
+ "name": "#virtualizer",
594
+ "privacy": "private",
595
+ "readonly": true
624
596
  },
625
597
  {
626
- "name": "header",
627
- "type": {
628
- "text": "string | undefined"
629
- },
630
- "description": "The header text of the column.",
631
- "fieldName": "header"
598
+ "kind": "method",
599
+ "name": "#emitFilteringEvent",
600
+ "privacy": "private",
601
+ "parameters": [
602
+ {
603
+ "name": "expression",
604
+ "type": {
605
+ "text": "FilterExpression<T>"
606
+ }
607
+ },
608
+ {
609
+ "name": "type",
610
+ "type": {
611
+ "text": "'add' | 'modify' | 'remove'"
612
+ }
613
+ }
614
+ ]
632
615
  },
633
616
  {
634
- "name": "width",
635
- "type": {
636
- "text": "string | undefined"
637
- },
638
- "description": "The width of the column.",
639
- "fieldName": "width"
617
+ "kind": "method",
618
+ "name": "#emitFilteredEvent",
619
+ "privacy": "private",
620
+ "parameters": [
621
+ {
622
+ "name": "detail",
623
+ "optional": true,
624
+ "type": {
625
+ "text": "IgcFilteredEvent<T>"
626
+ }
627
+ }
628
+ ]
640
629
  },
641
630
  {
642
- "name": "hidden",
643
- "type": {
644
- "text": "boolean"
645
- },
646
- "default": "false",
647
- "description": "Indicates whether the column is hidden.",
648
- "fieldName": "hidden"
631
+ "kind": "method",
632
+ "name": "#filter",
633
+ "privacy": "private",
634
+ "parameters": [
635
+ {
636
+ "name": "expression",
637
+ "type": {
638
+ "text": "FilterExpression<T> | FilterExpression<T>[]"
639
+ }
640
+ }
641
+ ]
649
642
  },
650
643
  {
651
- "name": "resizable",
652
- "type": {
653
- "text": "boolean"
654
- },
655
- "default": "false",
656
- "description": "Indicates whether the column is resizable.",
657
- "fieldName": "resizable"
644
+ "kind": "method",
645
+ "name": "hostConnected",
646
+ "privacy": "public"
658
647
  },
659
648
  {
660
- "name": "sortable",
661
- "type": {
662
- "text": "boolean"
663
- },
664
- "default": "false",
665
- "description": "Indicates whether the column is sortable.",
666
- "fieldName": "sortable"
649
+ "kind": "method",
650
+ "name": "hostUpdate",
651
+ "privacy": "public",
652
+ "return": {
653
+ "type": {
654
+ "text": "void"
655
+ }
656
+ }
667
657
  },
668
658
  {
669
- "name": "sorting-case-sensitive",
670
- "type": {
671
- "text": "boolean"
672
- },
673
- "default": "false",
674
- "description": "Whether sort operations will be case sensitive.",
675
- "fieldName": "sortingCaseSensitive"
659
+ "kind": "method",
660
+ "name": "get",
661
+ "privacy": "public",
662
+ "parameters": [
663
+ {
664
+ "name": "key",
665
+ "type": {
666
+ "text": "Keys<T>"
667
+ }
668
+ }
669
+ ]
676
670
  },
677
671
  {
678
- "name": "filterable",
679
- "type": {
680
- "text": "boolean"
681
- },
682
- "default": "false",
683
- "description": "Indicates whether the column is filterable.",
684
- "fieldName": "filterable"
672
+ "kind": "method",
673
+ "name": "reset",
674
+ "privacy": "public",
675
+ "parameters": [
676
+ {
677
+ "name": "key",
678
+ "optional": true,
679
+ "type": {
680
+ "text": "Keys<T>"
681
+ }
682
+ }
683
+ ]
685
684
  },
686
685
  {
687
- "name": "filtering-case-sensitive",
686
+ "kind": "method",
687
+ "name": "setActiveColumn",
688
+ "privacy": "public",
689
+ "parameters": [
690
+ {
691
+ "name": "column",
692
+ "optional": true,
693
+ "type": {
694
+ "text": "ColumnConfiguration<T>"
695
+ }
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "kind": "method",
701
+ "name": "getDefaultExpression",
702
+ "privacy": "public",
703
+ "parameters": [
704
+ {
705
+ "name": "column",
706
+ "type": {
707
+ "text": "ColumnConfiguration<T>"
708
+ }
709
+ }
710
+ ]
711
+ },
712
+ {
713
+ "kind": "method",
714
+ "name": "removeAllExpressions",
715
+ "privacy": "public",
716
+ "parameters": [
717
+ {
718
+ "name": "key",
719
+ "type": {
720
+ "text": "Keys<T>"
721
+ }
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "kind": "method",
727
+ "name": "removeExpression",
728
+ "privacy": "public",
729
+ "parameters": [
730
+ {
731
+ "name": "expression",
732
+ "type": {
733
+ "text": "FilterExpression<T>"
734
+ }
735
+ }
736
+ ]
737
+ },
738
+ {
739
+ "kind": "method",
740
+ "name": "filterWithEvent",
741
+ "privacy": "public",
742
+ "parameters": [
743
+ {
744
+ "name": "expression",
745
+ "type": {
746
+ "text": "FilterExpression<T>"
747
+ }
748
+ },
749
+ {
750
+ "name": "type",
751
+ "type": {
752
+ "text": "'add' | 'modify' | 'remove'"
753
+ }
754
+ }
755
+ ]
756
+ },
757
+ {
758
+ "kind": "method",
759
+ "name": "filter",
760
+ "privacy": "public",
761
+ "parameters": [
762
+ {
763
+ "name": "expression",
764
+ "type": {
765
+ "text": "FilterExpression<T> | FilterExpression<T>[]"
766
+ }
767
+ }
768
+ ]
769
+ },
770
+ {
771
+ "kind": "method",
772
+ "name": "setRaw",
773
+ "privacy": "public",
774
+ "parameters": [
775
+ {
776
+ "name": "expressions",
777
+ "type": {
778
+ "text": "FilterExpression<T>[]"
779
+ }
780
+ }
781
+ ],
782
+ "description": "Stores expressions directly in the filter state without requiring column configuration.\nUsed when setting initial filter expressions before columns are available."
783
+ },
784
+ {
785
+ "kind": "method",
786
+ "name": "resolveConditions",
787
+ "privacy": "public",
788
+ "description": "Resolves any string conditions in the current filter state using available column configuration.\nCalled after columns become available to finalize deferred expressions."
789
+ }
790
+ ]
791
+ }
792
+ ],
793
+ "exports": [
794
+ {
795
+ "kind": "js",
796
+ "name": "FilterController",
797
+ "declaration": {
798
+ "name": "FilterController",
799
+ "module": "src/controllers/filter.ts"
800
+ }
801
+ }
802
+ ]
803
+ },
804
+ {
805
+ "kind": "javascript-module",
806
+ "path": "src/controllers/navigation.ts",
807
+ "declarations": [
808
+ {
809
+ "kind": "class",
810
+ "description": "",
811
+ "name": "NavigationController",
812
+ "members": [
813
+ {
814
+ "kind": "field",
815
+ "name": "handlers",
816
+ "privacy": "protected",
817
+ "default": "new Map( Object.entries({ ArrowDown: this.arrowDown, ArrowUp: this.arrowUp, ArrowLeft: this.arrowLeft, ArrowRight: this.arrowRight, Home: this.home, End: this.end, }) )"
818
+ },
819
+ {
820
+ "kind": "field",
821
+ "name": "_virtualizer",
822
+ "privacy": "protected",
823
+ "readonly": true
824
+ },
825
+ {
826
+ "kind": "field",
827
+ "name": "_navigationState",
828
+ "privacy": "protected",
829
+ "default": "NAVIGATION_STATE"
830
+ },
831
+ {
832
+ "kind": "field",
833
+ "name": "_active",
834
+ "privacy": "protected",
835
+ "default": "SENTINEL_NODE"
836
+ },
837
+ {
838
+ "kind": "field",
839
+ "name": "nextNode",
840
+ "privacy": "protected",
841
+ "readonly": true
842
+ },
843
+ {
844
+ "kind": "field",
845
+ "name": "_columns",
846
+ "privacy": "protected",
847
+ "readonly": true
848
+ },
849
+ {
850
+ "kind": "field",
851
+ "name": "_firstColumn",
852
+ "privacy": "protected",
853
+ "readonly": true
854
+ },
855
+ {
856
+ "kind": "method",
857
+ "name": "getPreviousColumn",
858
+ "privacy": "protected",
859
+ "parameters": [
860
+ {
861
+ "name": "key",
862
+ "type": {
863
+ "text": "Keys<T>"
864
+ }
865
+ }
866
+ ]
867
+ },
868
+ {
869
+ "kind": "method",
870
+ "name": "getNextColumn",
871
+ "privacy": "protected",
872
+ "parameters": [
873
+ {
874
+ "name": "key",
875
+ "type": {
876
+ "text": "Keys<T>"
877
+ }
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "kind": "method",
883
+ "name": "queryRowByIndex",
884
+ "privacy": "protected",
885
+ "parameters": [
886
+ {
887
+ "name": "index",
888
+ "type": {
889
+ "text": "number"
890
+ }
891
+ }
892
+ ]
893
+ },
894
+ {
895
+ "kind": "method",
896
+ "name": "scrollToCell",
897
+ "privacy": "protected",
898
+ "parameters": [
899
+ {
900
+ "name": "node",
901
+ "type": {
902
+ "text": "ActiveNode<T>"
903
+ }
904
+ }
905
+ ]
906
+ },
907
+ {
908
+ "kind": "field",
909
+ "name": "active",
688
910
  "type": {
689
- "text": "boolean"
911
+ "text": "ActiveNode<T>"
690
912
  },
691
- "default": "false",
692
- "description": "Whether filter operations will be case sensitive.",
693
- "fieldName": "filteringCaseSensitive"
913
+ "privacy": "public"
914
+ },
915
+ {
916
+ "kind": "method",
917
+ "name": "home",
918
+ "privacy": "protected"
919
+ },
920
+ {
921
+ "kind": "method",
922
+ "name": "end",
923
+ "privacy": "protected"
924
+ },
925
+ {
926
+ "kind": "method",
927
+ "name": "arrowDown",
928
+ "privacy": "protected"
929
+ },
930
+ {
931
+ "kind": "method",
932
+ "name": "arrowUp",
933
+ "privacy": "protected"
934
+ },
935
+ {
936
+ "kind": "method",
937
+ "name": "arrowLeft",
938
+ "privacy": "protected"
939
+ },
940
+ {
941
+ "kind": "method",
942
+ "name": "arrowRight",
943
+ "privacy": "protected"
944
+ },
945
+ {
946
+ "kind": "method",
947
+ "name": "hostDisconnected",
948
+ "privacy": "public"
949
+ },
950
+ {
951
+ "kind": "method",
952
+ "name": "navigate",
953
+ "privacy": "public",
954
+ "parameters": [
955
+ {
956
+ "name": "event",
957
+ "type": {
958
+ "text": "KeyboardEvent"
959
+ }
960
+ }
961
+ ]
962
+ },
963
+ {
964
+ "kind": "method",
965
+ "name": "navigateTo",
966
+ "privacy": "public",
967
+ "parameters": [
968
+ {
969
+ "name": "row",
970
+ "type": {
971
+ "text": "number"
972
+ }
973
+ },
974
+ {
975
+ "name": "column",
976
+ "optional": true,
977
+ "type": {
978
+ "text": "Keys<T>"
979
+ }
980
+ },
981
+ {
982
+ "name": "activate",
983
+ "default": "false"
984
+ }
985
+ ]
694
986
  }
695
- ],
696
- "superclass": {
697
- "name": "LitElement",
698
- "package": "lit"
699
- },
700
- "tagName": "igc-grid-lite-column",
701
- "customElement": true
987
+ ]
702
988
  }
703
989
  ],
704
990
  "exports": [
705
991
  {
706
992
  "kind": "js",
707
- "name": "IgcGridLiteColumn",
993
+ "name": "NavigationController",
708
994
  "declaration": {
709
- "name": "IgcGridLiteColumn",
710
- "module": "src/components/column.ts"
995
+ "name": "NavigationController",
996
+ "module": "src/controllers/navigation.ts"
711
997
  }
712
998
  }
713
999
  ]
714
1000
  },
715
1001
  {
716
1002
  "kind": "javascript-module",
717
- "path": "src/components/filter-row.ts",
1003
+ "path": "src/controllers/resize.ts",
718
1004
  "declarations": [
719
1005
  {
720
1006
  "kind": "class",
721
1007
  "description": "",
722
- "name": "IgcFilterRow",
1008
+ "name": "ResizeController",
723
1009
  "members": [
724
1010
  {
725
1011
  "kind": "field",
726
- "name": "tagName",
727
- "privacy": "public",
728
- "static": true,
729
- "readonly": true
730
- },
731
- {
732
- "kind": "method",
733
- "name": "register",
1012
+ "name": "indicatorActive",
1013
+ "type": {
1014
+ "text": "boolean"
1015
+ },
734
1016
  "privacy": "public",
735
- "static": true
736
- },
737
- {
738
- "kind": "field",
739
- "name": "_adoptedStylesController",
740
- "privacy": "private",
741
- "readonly": true
1017
+ "default": "false"
742
1018
  },
743
1019
  {
744
1020
  "kind": "field",
745
- "name": "state",
1021
+ "name": "indicatorOffset",
746
1022
  "type": {
747
- "text": "StateController<T>"
1023
+ "text": "number"
748
1024
  },
749
- "privacy": "public"
1025
+ "privacy": "public",
1026
+ "default": "0"
750
1027
  },
751
1028
  {
752
- "kind": "field",
753
- "name": "isNumeric",
754
- "privacy": "protected",
755
- "readonly": true
1029
+ "kind": "method",
1030
+ "name": "#maxSize",
1031
+ "privacy": "private",
1032
+ "parameters": [
1033
+ {
1034
+ "name": "key",
1035
+ "type": {
1036
+ "text": "Keys<T>"
1037
+ }
1038
+ },
1039
+ {
1040
+ "name": "headerWidth",
1041
+ "type": {
1042
+ "text": "number"
1043
+ }
1044
+ }
1045
+ ]
756
1046
  },
757
1047
  {
758
- "kind": "field",
759
- "name": "filterController",
760
- "privacy": "protected",
761
- "readonly": true
1048
+ "kind": "method",
1049
+ "name": "start",
1050
+ "privacy": "public",
1051
+ "parameters": [
1052
+ {
1053
+ "name": "header",
1054
+ "type": {
1055
+ "text": "IgcGridLiteHeader<T>"
1056
+ },
1057
+ "description": "the"
1058
+ }
1059
+ ],
1060
+ "description": "Begins resizing a column by showing and positioning the resize indicator in relation to the column."
762
1061
  },
763
1062
  {
764
- "kind": "field",
765
- "name": "condition",
766
- "privacy": "protected",
767
- "readonly": true
1063
+ "kind": "method",
1064
+ "name": "stop",
1065
+ "privacy": "public",
1066
+ "description": "Stops and resets the resizing state."
768
1067
  },
769
1068
  {
770
- "kind": "field",
771
- "name": "active",
772
- "type": {
773
- "text": "boolean"
774
- },
1069
+ "kind": "method",
1070
+ "name": "resize",
775
1071
  "privacy": "public",
776
- "default": "false"
1072
+ "parameters": [
1073
+ {
1074
+ "name": "column",
1075
+ "type": {
1076
+ "text": "ColumnConfiguration<T>"
1077
+ }
1078
+ },
1079
+ {
1080
+ "name": "width",
1081
+ "type": {
1082
+ "text": "number"
1083
+ }
1084
+ },
1085
+ {
1086
+ "name": "sizerOffset",
1087
+ "optional": true,
1088
+ "type": {
1089
+ "text": "number"
1090
+ }
1091
+ }
1092
+ ]
777
1093
  },
778
1094
  {
779
- "kind": "field",
780
- "name": "input",
781
- "type": {
782
- "text": "IgcInputComponent"
783
- },
784
- "privacy": "public"
1095
+ "kind": "method",
1096
+ "name": "autosize",
1097
+ "privacy": "public",
1098
+ "parameters": [
1099
+ {
1100
+ "name": "column",
1101
+ "type": {
1102
+ "text": "ColumnConfiguration<T>"
1103
+ }
1104
+ },
1105
+ {
1106
+ "name": "header",
1107
+ "type": {
1108
+ "text": "IgcGridLiteHeader<T>"
1109
+ }
1110
+ }
1111
+ ]
785
1112
  },
786
1113
  {
787
- "kind": "field",
788
- "name": "conditionElement",
789
- "type": {
790
- "text": "IgcIconComponent"
791
- },
1114
+ "kind": "method",
1115
+ "name": "hostConnected",
792
1116
  "privacy": "public"
793
1117
  },
794
1118
  {
795
- "kind": "field",
796
- "name": "dropdown",
797
- "type": {
798
- "text": "IgcDropdownComponent"
799
- },
800
- "privacy": "public"
801
- },
1119
+ "kind": "method",
1120
+ "name": "renderIndicator",
1121
+ "privacy": "public",
1122
+ "description": "Renders the resize indicator in the grid."
1123
+ }
1124
+ ]
1125
+ }
1126
+ ],
1127
+ "exports": [
1128
+ {
1129
+ "kind": "js",
1130
+ "name": "ResizeController",
1131
+ "declaration": {
1132
+ "name": "ResizeController",
1133
+ "module": "src/controllers/resize.ts"
1134
+ }
1135
+ }
1136
+ ]
1137
+ },
1138
+ {
1139
+ "kind": "javascript-module",
1140
+ "path": "src/controllers/sort.ts",
1141
+ "declarations": [
1142
+ {
1143
+ "kind": "class",
1144
+ "description": "",
1145
+ "name": "SortController",
1146
+ "members": [
802
1147
  {
803
1148
  "kind": "field",
804
- "name": "column",
1149
+ "name": "state",
805
1150
  "type": {
806
- "text": "ColumnConfiguration<T>"
1151
+ "text": "SortState<T>"
807
1152
  },
808
1153
  "privacy": "public",
809
- "default": "DEFAULT_COLUMN_CONFIG"
1154
+ "default": "new Map()"
810
1155
  },
811
1156
  {
812
1157
  "kind": "field",
813
- "name": "expression",
814
- "type": {
815
- "text": "FilterExpression<T>"
816
- },
817
- "privacy": "public"
1158
+ "name": "#isMultipleSort",
1159
+ "privacy": "private",
1160
+ "readonly": true
818
1161
  },
819
1162
  {
820
1163
  "kind": "field",
821
- "name": "adoptRootStyles",
822
- "type": {
823
- "text": "boolean"
824
- },
825
- "privacy": "public",
826
- "default": "false"
827
- },
828
- {
829
- "kind": "method",
830
- "name": "_handleThemeChange",
831
- "privacy": "private"
832
- },
833
- {
834
- "kind": "method",
835
- "name": "#setDefaultExpression",
836
- "privacy": "private"
1164
+ "name": "#isTriStateSort",
1165
+ "privacy": "private",
1166
+ "readonly": true
837
1167
  },
838
1168
  {
839
1169
  "kind": "method",
840
- "name": "#removeExpression",
1170
+ "name": "#resolveSortOptions",
841
1171
  "privacy": "private",
842
1172
  "parameters": [
843
1173
  {
844
- "name": "expression",
1174
+ "name": "column",
1175
+ "optional": true,
845
1176
  "type": {
846
- "text": "FilterExpression<T>"
1177
+ "text": "ColumnConfiguration<T>"
847
1178
  }
848
1179
  }
849
1180
  ]
850
1181
  },
851
1182
  {
852
1183
  "kind": "method",
853
- "name": "#show",
854
- "privacy": "private"
855
- },
856
- {
857
- "kind": "method",
858
- "name": "#handleConditionChanged",
1184
+ "name": "#createDefaultExpression",
859
1185
  "privacy": "private",
860
1186
  "parameters": [
861
1187
  {
862
- "name": "event",
1188
+ "name": "key",
863
1189
  "type": {
864
- "text": "CustomEvent<IgcDropdownItemComponent>"
1190
+ "text": "Keys<T>"
865
1191
  }
866
1192
  }
867
1193
  ]
868
1194
  },
869
1195
  {
870
1196
  "kind": "method",
871
- "name": "#handleInput",
1197
+ "name": "#orderBy",
872
1198
  "privacy": "private",
1199
+ "return": {
1200
+ "type": {
1201
+ "text": "SortingDirection"
1202
+ }
1203
+ },
873
1204
  "parameters": [
874
1205
  {
875
- "name": "event",
1206
+ "name": "dir",
1207
+ "optional": true,
876
1208
  "type": {
877
- "text": "CustomEvent<string>"
1209
+ "text": "SortingDirection"
878
1210
  }
879
1211
  }
880
1212
  ]
881
1213
  },
882
1214
  {
883
1215
  "kind": "method",
884
- "name": "#handleKeydown",
1216
+ "name": "#emitSortingEvent",
885
1217
  "privacy": "private",
886
1218
  "parameters": [
887
1219
  {
888
- "name": "event",
1220
+ "name": "detail",
889
1221
  "type": {
890
- "text": "KeyboardEvent"
1222
+ "text": "SortingExpression<T>"
891
1223
  }
892
1224
  }
893
1225
  ]
894
1226
  },
895
1227
  {
896
1228
  "kind": "method",
897
- "name": "#handleResetClick",
898
- "privacy": "private"
899
- },
900
- {
901
- "kind": "method",
902
- "name": "#openDropdownList",
903
- "privacy": "private"
904
- },
905
- {
906
- "kind": "method",
907
- "name": "activeChanged",
908
- "privacy": "protected"
909
- },
910
- {
911
- "kind": "method",
912
- "name": "#chipCriteriaFor",
1229
+ "name": "#emitSortedEvent",
913
1230
  "privacy": "private",
914
1231
  "parameters": [
915
1232
  {
916
- "name": "expression",
1233
+ "name": "detail",
917
1234
  "type": {
918
- "text": "FilterExpression<T>"
1235
+ "text": "SortingExpression<T>"
919
1236
  }
920
1237
  }
921
1238
  ]
922
1239
  },
923
1240
  {
924
1241
  "kind": "method",
925
- "name": "#chipSelectFor",
1242
+ "name": "#setExpression",
926
1243
  "privacy": "private",
927
1244
  "parameters": [
928
1245
  {
929
1246
  "name": "expression",
930
1247
  "type": {
931
- "text": "FilterExpression<T>"
1248
+ "text": "SortingExpression<T>"
932
1249
  }
933
1250
  }
934
1251
  ]
935
1252
  },
936
1253
  {
937
1254
  "kind": "method",
938
- "name": "#chipRemoveFor",
939
- "privacy": "private",
1255
+ "name": "sortFromHeaderClick",
1256
+ "privacy": "public",
940
1257
  "parameters": [
941
1258
  {
942
- "name": "expression",
1259
+ "name": "column",
943
1260
  "type": {
944
- "text": "FilterExpression<T>"
1261
+ "text": "ColumnConfiguration<T>"
945
1262
  }
946
1263
  }
947
1264
  ]
948
1265
  },
949
1266
  {
950
1267
  "kind": "method",
951
- "name": "renderCriteriaButton",
952
- "privacy": "protected",
1268
+ "name": "prepareExpression",
1269
+ "privacy": "public",
1270
+ "return": {
1271
+ "type": {
1272
+ "text": "SortingExpression<T>"
1273
+ }
1274
+ },
953
1275
  "parameters": [
954
1276
  {
955
- "name": "expr",
956
- "type": {
957
- "text": "FilterExpression<T>"
958
- }
959
- },
960
- {
961
- "name": "index",
1277
+ "name": "column",
962
1278
  "type": {
963
- "text": "number"
1279
+ "text": "ColumnConfiguration<T>"
964
1280
  }
965
1281
  }
966
1282
  ]
967
1283
  },
968
1284
  {
969
1285
  "kind": "method",
970
- "name": "renderExpressionChip",
971
- "privacy": "protected",
1286
+ "name": "reset",
1287
+ "privacy": "public",
972
1288
  "parameters": [
973
1289
  {
974
- "name": "props",
1290
+ "name": "key",
1291
+ "optional": true,
975
1292
  "type": {
976
- "text": "ExpressionChipProps<T>"
1293
+ "text": "Keys<T>"
977
1294
  }
978
1295
  }
979
1296
  ]
980
1297
  },
981
1298
  {
982
1299
  "kind": "method",
983
- "name": "renderActiveChips",
984
- "privacy": "protected"
985
- },
986
- {
987
- "kind": "method",
988
- "name": "renderFilterActions",
989
- "privacy": "protected"
990
- },
991
- {
992
- "kind": "method",
993
- "name": "renderDropdown",
994
- "privacy": "protected"
995
- },
996
- {
997
- "kind": "method",
998
- "name": "renderDropdownTarget",
999
- "privacy": "protected"
1000
- },
1001
- {
1002
- "kind": "method",
1003
- "name": "renderInputArea",
1004
- "privacy": "protected"
1005
- },
1006
- {
1007
- "kind": "method",
1008
- "name": "renderActiveState",
1009
- "privacy": "protected"
1010
- },
1011
- {
1012
- "kind": "method",
1013
- "name": "renderInactiveChips",
1300
+ "name": "_sort",
1014
1301
  "privacy": "protected",
1015
1302
  "parameters": [
1016
1303
  {
1017
- "name": "column",
1018
- "type": {
1019
- "text": "ColumnConfiguration<T>"
1020
- }
1021
- },
1022
- {
1023
- "name": "state",
1304
+ "name": "expressions",
1024
1305
  "type": {
1025
- "text": "FilterExpressionTree<T>"
1306
+ "text": "SortingExpression<T> | SortingExpression<T>[]"
1026
1307
  }
1027
1308
  }
1028
1309
  ]
1029
1310
  },
1030
1311
  {
1031
1312
  "kind": "method",
1032
- "name": "renderFilterState",
1033
- "privacy": "protected",
1313
+ "name": "sort",
1314
+ "privacy": "public",
1034
1315
  "parameters": [
1035
1316
  {
1036
- "name": "column",
1317
+ "name": "expressions",
1037
1318
  "type": {
1038
- "text": "ColumnConfiguration<T>"
1319
+ "text": "SortingExpression<T> | SortingExpression<T>[]"
1039
1320
  }
1040
1321
  }
1041
1322
  ]
1042
1323
  },
1043
1324
  {
1044
1325
  "kind": "method",
1045
- "name": "renderInactiveState",
1046
- "privacy": "protected"
1326
+ "name": "hostConnected",
1327
+ "privacy": "public"
1047
1328
  }
1048
- ],
1049
- "superclass": {
1050
- "name": "LitElement",
1051
- "package": "lit"
1052
- },
1053
- "customElement": true
1329
+ ]
1054
1330
  }
1055
1331
  ],
1056
1332
  "exports": [
1057
1333
  {
1058
1334
  "kind": "js",
1059
- "name": "default",
1335
+ "name": "SortController",
1060
1336
  "declaration": {
1061
- "name": "IgcFilterRow",
1062
- "module": "src/components/filter-row.ts"
1337
+ "name": "SortController",
1338
+ "module": "src/controllers/sort.ts"
1063
1339
  }
1064
1340
  }
1065
1341
  ]
1066
1342
  },
1067
1343
  {
1068
1344
  "kind": "javascript-module",
1069
- "path": "src/components/grid.ts",
1345
+ "path": "src/controllers/state.ts",
1070
1346
  "declarations": [
1071
1347
  {
1072
1348
  "kind": "class",
1073
- "description": "IgcGridLite is a web component for displaying data in a tabular format quick and easy.\n\nOut of the box it provides row virtualization, sort and filter operations (client and server side),\nthe ability to template cells and headers and column hiding.",
1074
- "name": "IgcGridLite",
1349
+ "description": "",
1350
+ "name": "StateController",
1075
1351
  "members": [
1076
1352
  {
1077
1353
  "kind": "field",
1078
- "name": "tagName",
1079
- "privacy": "public",
1080
- "static": true,
1081
- "readonly": true
1082
- },
1083
- {
1084
- "kind": "method",
1085
- "name": "register",
1086
- "privacy": "public",
1087
- "static": true,
1088
- "return": {
1089
- "type": {
1090
- "text": "void"
1091
- }
1092
- }
1093
- },
1094
- {
1095
- "kind": "field",
1096
- "name": "_stateController",
1097
- "privacy": "protected",
1098
- "readonly": true
1099
- },
1100
- {
1101
- "kind": "field",
1102
- "name": "_domController",
1103
- "privacy": "protected",
1104
- "readonly": true
1105
- },
1106
- {
1107
- "kind": "field",
1108
- "name": "_dataController",
1109
- "privacy": "protected",
1110
- "readonly": true
1111
- },
1112
- {
1113
- "kind": "field",
1114
- "name": "_stateProvider",
1115
- "privacy": "protected",
1116
- "readonly": true,
1117
- "default": "new ContextProvider(this, { context: GRID_STATE_CONTEXT, initialValue: this._stateController, })"
1118
- },
1119
- {
1120
- "kind": "field",
1121
- "name": "_columnUpdateProvider",
1122
- "privacy": "protected",
1123
- "readonly": true,
1124
- "default": "new ContextProvider(this, { context: COLUMN_UPDATE_CONTEXT, initialValue: ((config: ColumnConfiguration<T>) => { this._updateConfiguration(config); }) as any, })"
1125
- },
1126
- {
1127
- "kind": "field",
1128
- "name": "_initialSortExpressions",
1129
- "type": {
1130
- "text": "SortingExpression<T>[]"
1131
- },
1132
- "privacy": "private",
1133
- "default": "[]"
1134
- },
1135
- {
1136
- "kind": "field",
1137
- "name": "_initialFilterExpressions",
1138
- "type": {
1139
- "text": "FilterExpression<T>[]"
1140
- },
1141
- "privacy": "private",
1142
- "default": "[]"
1143
- },
1144
- {
1145
- "kind": "method",
1146
- "name": "_updateObservers",
1147
- "privacy": "private",
1148
- "return": {
1149
- "type": {
1150
- "text": "void"
1151
- }
1152
- }
1153
- },
1154
- {
1155
- "kind": "method",
1156
- "name": "_updateConfiguration",
1157
- "privacy": "private",
1158
- "return": {
1159
- "type": {
1160
- "text": "void"
1161
- }
1162
- },
1163
- "parameters": [
1164
- {
1165
- "name": "config",
1166
- "type": {
1167
- "text": "ColumnConfiguration<T>"
1168
- }
1169
- }
1170
- ]
1171
- },
1172
- {
1173
- "kind": "field",
1174
- "name": "_dataState",
1354
+ "name": "_columns",
1175
1355
  "type": {
1176
- "text": "T[]"
1356
+ "text": "ColumnConfiguration<T>[]"
1177
1357
  },
1178
- "privacy": "protected",
1358
+ "privacy": "private",
1179
1359
  "default": "[]"
1180
1360
  },
1181
1361
  {
1182
1362
  "kind": "field",
1183
- "name": "adoptRootStyles",
1363
+ "name": "_observersCallback",
1184
1364
  "type": {
1185
- "text": "boolean"
1365
+ "text": "() => void"
1186
1366
  },
1187
- "privacy": "public",
1188
- "default": "false",
1189
- "attribute": "adopt-root-styles",
1190
- "reflects": true
1367
+ "privacy": "private",
1368
+ "readonly": true,
1369
+ "default": "observersCallback"
1191
1370
  },
1192
1371
  {
1193
1372
  "kind": "field",
1194
- "name": "data",
1373
+ "name": "host",
1195
1374
  "type": {
1196
- "text": "T[]"
1375
+ "text": "GridHost<T>"
1197
1376
  },
1198
1377
  "privacy": "public",
1199
- "default": "[]",
1200
- "description": "The data source for the grid."
1378
+ "readonly": true,
1379
+ "description": "The grid host element.",
1380
+ "default": "host"
1201
1381
  },
1202
1382
  {
1203
1383
  "kind": "field",
1204
- "name": "autoGenerate",
1384
+ "name": "sorting",
1205
1385
  "type": {
1206
- "text": "boolean"
1386
+ "text": "SortController<T>"
1207
1387
  },
1208
1388
  "privacy": "public",
1209
- "default": "false",
1210
- "description": "Whether the grid will try to \"resolve\" its column configuration based on the passed\ndata source.",
1211
- "attribute": "auto-generate"
1389
+ "readonly": true,
1390
+ "default": "new SortController(this.host)"
1212
1391
  },
1213
1392
  {
1214
1393
  "kind": "field",
1215
- "name": "sortingOptions",
1394
+ "name": "filtering",
1216
1395
  "type": {
1217
- "text": "GridLiteSortingOptions"
1396
+ "text": "FilterController<T>"
1218
1397
  },
1219
1398
  "privacy": "public",
1220
- "default": "{ mode: 'multiple', }",
1221
- "description": "Sort configuration property for the grid."
1399
+ "readonly": true,
1400
+ "default": "new FilterController(this)"
1222
1401
  },
1223
1402
  {
1224
1403
  "kind": "field",
1225
- "name": "dataPipelineConfiguration",
1404
+ "name": "navigation",
1226
1405
  "type": {
1227
- "text": "DataPipelineConfiguration<T>"
1406
+ "text": "NavigationController<T>"
1228
1407
  },
1229
1408
  "privacy": "public",
1230
- "description": "Configuration object which controls remote data operations for the grid."
1409
+ "readonly": true,
1410
+ "default": "new NavigationController(this)"
1231
1411
  },
1232
1412
  {
1233
1413
  "kind": "field",
1234
- "name": "sortingExpressions",
1235
- "privacy": "public",
1236
- "description": "Get the sort state for the grid.",
1414
+ "name": "resizing",
1237
1415
  "type": {
1238
- "text": "SortingExpression<T>[]"
1239
- }
1240
- },
1241
- {
1242
- "kind": "field",
1243
- "name": "filterExpressions",
1416
+ "text": "ResizeController<T>"
1417
+ },
1244
1418
  "privacy": "public",
1245
- "description": "Get the filter state for the grid.",
1246
- "type": {
1247
- "text": "FilterExpression<T>[]"
1248
- }
1419
+ "readonly": true,
1420
+ "default": "new ResizeController(this.host)"
1249
1421
  },
1250
1422
  {
1251
1423
  "kind": "field",
@@ -1258,211 +1430,67 @@
1258
1430
  },
1259
1431
  {
1260
1432
  "kind": "field",
1261
- "name": "rows",
1433
+ "name": "headerRow",
1434
+ "type": {
1435
+ "text": "IgcGridLiteHeaderRow<T> | null"
1436
+ },
1262
1437
  "privacy": "public",
1263
- "description": "Returns the collection of rendered row elements in the grid.",
1438
+ "description": "Returns the header row element of the grid.",
1264
1439
  "readonly": true
1265
1440
  },
1266
1441
  {
1267
1442
  "kind": "field",
1268
- "name": "dataView",
1443
+ "name": "filterRow",
1269
1444
  "type": {
1270
- "text": "ReadonlyArray<T>"
1445
+ "text": "IgcFilterRow<T> | null"
1271
1446
  },
1272
1447
  "privacy": "public",
1273
- "description": "Returns the state of the data source after sort/filter operations\nhave been applied.",
1448
+ "description": "Returns the filter row element of the grid.",
1274
1449
  "readonly": true
1275
1450
  },
1276
1451
  {
1277
1452
  "kind": "field",
1278
- "name": "totalItems",
1453
+ "name": "rows",
1279
1454
  "type": {
1280
- "text": "number"
1455
+ "text": "IgcGridLiteRow<T>[]"
1281
1456
  },
1282
1457
  "privacy": "public",
1283
- "description": "The total number of items in the IgcGridLite.dataView collection.",
1458
+ "description": "Returns the data row elements of the grid.",
1284
1459
  "readonly": true
1285
1460
  },
1286
1461
  {
1287
- "kind": "method",
1288
- "name": "dataChanged",
1289
- "privacy": "protected"
1290
- },
1291
- {
1292
- "kind": "method",
1293
- "name": "pipeline",
1294
- "privacy": "protected"
1295
- },
1296
- {
1297
- "kind": "method",
1298
- "name": "_hasAssignedColumns",
1299
- "privacy": "private",
1300
- "return": {
1301
- "type": {
1302
- "text": "boolean"
1303
- }
1304
- }
1305
- },
1306
- {
1307
- "kind": "method",
1308
- "name": "_handleSlotChange",
1309
- "privacy": "private",
1310
- "return": {
1311
- "type": {
1312
- "text": "void"
1313
- }
1314
- },
1315
- "parameters": [
1316
- {
1317
- "name": "event",
1318
- "type": {
1319
- "text": "Event"
1320
- }
1321
- }
1322
- ]
1323
- },
1324
- {
1325
- "kind": "method",
1326
- "name": "filter",
1327
- "privacy": "public",
1328
- "return": {
1329
- "type": {
1330
- "text": "void"
1331
- }
1462
+ "kind": "field",
1463
+ "name": "virtualizer",
1464
+ "type": {
1465
+ "text": "IgcVirtualizer | null"
1332
1466
  },
1333
- "parameters": [
1334
- {
1335
- "name": "config",
1336
- "type": {
1337
- "text": "FilterExpression<T> | FilterExpression<T>[]"
1338
- }
1339
- }
1340
- ],
1341
- "description": "Performs a filter operation in the grid based on the passed expression(s)."
1342
- },
1343
- {
1344
- "kind": "method",
1345
- "name": "sort",
1346
- "privacy": "public",
1347
- "parameters": [
1348
- {
1349
- "name": "expressions",
1350
- "type": {
1351
- "text": "SortingExpression<T> | SortingExpression<T>[]"
1352
- }
1353
- }
1354
- ],
1355
- "description": "Performs a sort operation in the grid based on the passed expression(s)."
1356
- },
1357
- {
1358
- "kind": "method",
1359
- "name": "clearSort",
1360
1467
  "privacy": "public",
1361
- "return": {
1362
- "type": {
1363
- "text": "void"
1364
- }
1365
- },
1366
- "parameters": [
1367
- {
1368
- "name": "key",
1369
- "optional": true,
1370
- "type": {
1371
- "text": "Keys<T>"
1372
- }
1373
- }
1374
- ],
1375
- "description": "Resets the current sort state of the control."
1468
+ "description": "Returns the virtualizer element of the grid.",
1469
+ "readonly": true
1376
1470
  },
1377
1471
  {
1378
- "kind": "method",
1379
- "name": "clearFilter",
1380
- "privacy": "public",
1381
- "return": {
1382
- "type": {
1383
- "text": "void"
1384
- }
1472
+ "kind": "field",
1473
+ "name": "active",
1474
+ "type": {
1475
+ "text": "ActiveNode<T>"
1385
1476
  },
1386
- "parameters": [
1387
- {
1388
- "name": "key",
1389
- "optional": true,
1390
- "type": {
1391
- "text": "Keys<T>"
1392
- }
1393
- }
1394
- ],
1395
- "description": "Resets the current filter state of the control."
1396
- },
1397
- {
1398
- "kind": "method",
1399
- "name": "navigateTo",
1400
1477
  "privacy": "public",
1401
- "parameters": [
1402
- {
1403
- "name": "row",
1404
- "type": {
1405
- "text": "number"
1406
- },
1407
- "description": "The row index to navigate to"
1408
- },
1409
- {
1410
- "name": "column",
1411
- "optional": true,
1412
- "type": {
1413
- "text": "Keys<T>"
1414
- },
1415
- "description": "The column field to navigate to, if any"
1416
- },
1417
- {
1418
- "name": "activate",
1419
- "default": "false",
1420
- "description": "Optionally also activate the navigated cell"
1421
- }
1422
- ],
1423
- "description": "Navigates to a position in the grid based on provided row index and column field."
1478
+ "description": "Sets the currently active node in the grid."
1424
1479
  },
1425
1480
  {
1426
1481
  "kind": "method",
1427
- "name": "getColumn",
1482
+ "name": "hostUpdate",
1428
1483
  "privacy": "public",
1429
- "return": {
1430
- "type": {
1431
- "text": "ColumnConfiguration<T> | undefined"
1432
- }
1433
- },
1434
- "parameters": [
1435
- {
1436
- "name": "id",
1437
- "type": {
1438
- "text": "Keys<T> | number"
1439
- }
1440
- }
1441
- ],
1442
- "description": "Returns a ColumnConfiguration for a given column."
1443
- },
1444
- {
1445
- "kind": "method",
1446
- "name": "_bodyClickHandler",
1447
- "privacy": "protected",
1448
1484
  "return": {
1449
1485
  "type": {
1450
1486
  "text": "void"
1451
1487
  }
1452
- },
1453
- "parameters": [
1454
- {
1455
- "name": "event",
1456
- "type": {
1457
- "text": "PointerEvent"
1458
- }
1459
- }
1460
- ]
1488
+ }
1461
1489
  },
1462
1490
  {
1463
1491
  "kind": "method",
1464
- "name": "_bodyKeydownHandler",
1465
- "privacy": "protected",
1492
+ "name": "setColumnConfiguration",
1493
+ "privacy": "public",
1466
1494
  "return": {
1467
1495
  "type": {
1468
1496
  "text": "void"
@@ -1470,74 +1498,26 @@
1470
1498
  },
1471
1499
  "parameters": [
1472
1500
  {
1473
- "name": "event",
1501
+ "name": "columns",
1474
1502
  "type": {
1475
- "text": "KeyboardEvent"
1503
+ "text": "ColumnConfiguration<T>[]"
1476
1504
  }
1477
1505
  }
1478
1506
  ]
1479
1507
  },
1480
- {
1481
- "kind": "field",
1482
- "name": "_renderRow",
1483
- "type": {
1484
- "text": "RenderItemFunction<T>"
1485
- },
1486
- "privacy": "protected"
1487
- },
1488
1508
  {
1489
1509
  "kind": "method",
1490
- "name": "_renderHeaderRow",
1491
- "privacy": "protected"
1492
- },
1493
- {
1494
- "kind": "method",
1495
- "name": "_renderBody",
1496
- "privacy": "protected"
1497
- },
1498
- {
1499
- "kind": "method",
1500
- "name": "_renderFilterRow",
1501
- "privacy": "protected"
1502
- },
1503
- {
1504
- "kind": "method",
1505
- "name": "addEventListener",
1510
+ "name": "setAutoColumnConfiguration",
1506
1511
  "privacy": "public",
1507
1512
  "return": {
1508
1513
  "type": {
1509
1514
  "text": "void"
1510
1515
  }
1511
- },
1512
- "parameters": [
1513
- {
1514
- "name": "type",
1515
- "type": {
1516
- "text": "K"
1517
- }
1518
- },
1519
- {
1520
- "name": "listener",
1521
- "type": {
1522
- "text": "(this: HTMLElement, ev: M[K]) => any"
1523
- }
1524
- },
1525
- {
1526
- "name": "options",
1527
- "optional": true,
1528
- "type": {
1529
- "text": "boolean | AddEventListenerOptions"
1530
- }
1531
- }
1532
- ],
1533
- "inheritedFrom": {
1534
- "name": "EventEmitterBase",
1535
- "module": "src/internal/mixins/event-emitter.ts"
1536
1516
  }
1537
1517
  },
1538
1518
  {
1539
1519
  "kind": "method",
1540
- "name": "removeEventListener",
1520
+ "name": "updateColumnsConfiguration",
1541
1521
  "privacy": "public",
1542
1522
  "return": {
1543
1523
  "type": {
@@ -1546,134 +1526,212 @@
1546
1526
  },
1547
1527
  "parameters": [
1548
1528
  {
1549
- "name": "type",
1550
- "type": {
1551
- "text": "K"
1552
- }
1553
- },
1554
- {
1555
- "name": "listener",
1556
- "type": {
1557
- "text": "(this: HTMLElement, ev: M[K]) => any"
1558
- }
1559
- },
1560
- {
1561
- "name": "options",
1562
- "optional": true,
1529
+ "name": "config",
1563
1530
  "type": {
1564
- "text": "boolean | EventListenerOptions"
1531
+ "text": "ColumnConfiguration<T>[]"
1565
1532
  }
1566
1533
  }
1567
- ],
1568
- "inheritedFrom": {
1569
- "name": "EventEmitterBase",
1570
- "module": "src/internal/mixins/event-emitter.ts"
1534
+ ]
1535
+ }
1536
+ ]
1537
+ },
1538
+ {
1539
+ "kind": "function",
1540
+ "name": "createStateController",
1541
+ "return": {
1542
+ "type": {
1543
+ "text": "StateController<T>"
1544
+ }
1545
+ },
1546
+ "parameters": [
1547
+ {
1548
+ "name": "host",
1549
+ "type": {
1550
+ "text": "GridHost<T>"
1551
+ }
1552
+ },
1553
+ {
1554
+ "name": "observersCallback",
1555
+ "type": {
1556
+ "text": "() => void"
1571
1557
  }
1558
+ }
1559
+ ]
1560
+ }
1561
+ ],
1562
+ "exports": [
1563
+ {
1564
+ "kind": "js",
1565
+ "name": "StateController",
1566
+ "declaration": {
1567
+ "name": "StateController",
1568
+ "module": "src/controllers/state.ts"
1569
+ }
1570
+ },
1571
+ {
1572
+ "kind": "js",
1573
+ "name": "createStateController",
1574
+ "declaration": {
1575
+ "name": "createStateController",
1576
+ "module": "src/controllers/state.ts"
1577
+ }
1578
+ }
1579
+ ]
1580
+ },
1581
+ {
1582
+ "kind": "javascript-module",
1583
+ "path": "src/components/cell.ts",
1584
+ "declarations": [
1585
+ {
1586
+ "kind": "class",
1587
+ "description": "Component representing a DOM cell of the Igc grid.",
1588
+ "name": "IgcGridLiteCell",
1589
+ "members": [
1590
+ {
1591
+ "kind": "field",
1592
+ "name": "tagName",
1593
+ "privacy": "public",
1594
+ "static": true,
1595
+ "readonly": true
1572
1596
  },
1573
1597
  {
1574
1598
  "kind": "method",
1575
- "name": "emitEvent",
1599
+ "name": "register",
1576
1600
  "privacy": "public",
1601
+ "static": true,
1577
1602
  "return": {
1578
1603
  "type": {
1579
- "text": "boolean"
1580
- }
1581
- },
1582
- "parameters": [
1583
- {
1584
- "name": "type",
1585
- "type": {
1586
- "text": "K"
1587
- }
1588
- },
1589
- {
1590
- "name": "eventInitDict",
1591
- "optional": true,
1592
- "type": {
1593
- "text": "CustomEventInit<D>"
1594
- }
1604
+ "text": "void"
1595
1605
  }
1596
- ],
1597
- "inheritedFrom": {
1598
- "name": "EventEmitterBase",
1599
- "module": "src/internal/mixins/event-emitter.ts"
1600
1606
  }
1601
- }
1602
- ],
1603
- "events": [
1607
+ },
1604
1608
  {
1605
- "description": "Emitted when sorting is initiated through the UI.",
1606
- "name": "sorting"
1609
+ "kind": "field",
1610
+ "name": "_adoptedStylesController",
1611
+ "privacy": "private",
1612
+ "readonly": true
1607
1613
  },
1608
1614
  {
1609
- "description": "Emitted when a sort operation initiated through the UI has completed.",
1610
- "name": "sorted"
1615
+ "kind": "field",
1616
+ "name": "adoptRootStyles",
1617
+ "type": {
1618
+ "text": "boolean"
1619
+ },
1620
+ "privacy": "public",
1621
+ "default": "false"
1611
1622
  },
1612
1623
  {
1613
- "description": "Emitted when filtering is initiated through the UI.",
1614
- "name": "filtering"
1624
+ "kind": "field",
1625
+ "name": "value",
1626
+ "type": {
1627
+ "text": "PropertyType<T>"
1628
+ },
1629
+ "privacy": "public",
1630
+ "description": "The value which will be rendered by the component."
1615
1631
  },
1616
1632
  {
1617
- "description": "Emitted when a filter operation initiated through the UI has completed.",
1618
- "name": "filtered"
1633
+ "kind": "field",
1634
+ "name": "column",
1635
+ "type": {
1636
+ "text": "ColumnConfiguration<T>"
1637
+ },
1638
+ "privacy": "public",
1639
+ "description": "A reference to the column configuration object."
1619
1640
  },
1620
1641
  {
1642
+ "kind": "field",
1643
+ "name": "active",
1621
1644
  "type": {
1622
- "text": "CustomEvent"
1645
+ "text": "boolean"
1623
1646
  },
1624
- "inheritedFrom": {
1625
- "name": "EventEmitterBase",
1626
- "module": "src/internal/mixins/event-emitter.ts"
1627
- }
1628
- }
1629
- ],
1630
- "attributes": [
1647
+ "privacy": "public",
1648
+ "default": "false",
1649
+ "description": "Indicates whether this is the active cell in the grid.",
1650
+ "attribute": "active",
1651
+ "reflects": true
1652
+ },
1631
1653
  {
1632
- "name": "auto-generate",
1654
+ "kind": "field",
1655
+ "name": "row",
1656
+ "type": {
1657
+ "text": "IgcGridLiteRow<T>"
1658
+ },
1659
+ "privacy": "public",
1660
+ "description": "The parent row component holding this cell."
1661
+ },
1662
+ {
1663
+ "kind": "field",
1664
+ "name": "rowIndex",
1665
+ "type": {
1666
+ "text": "number"
1667
+ },
1668
+ "privacy": "public",
1669
+ "default": "-1"
1670
+ },
1671
+ {
1672
+ "kind": "field",
1673
+ "name": "cellTemplate",
1674
+ "type": {
1675
+ "text": "(context: IgcCellContext<T>) => unknown | undefined"
1676
+ },
1677
+ "privacy": "public"
1678
+ },
1679
+ {
1680
+ "kind": "field",
1681
+ "name": "context",
1682
+ "type": {
1683
+ "text": "IgcCellContext<T>"
1684
+ },
1685
+ "privacy": "protected",
1686
+ "readonly": true
1687
+ },
1688
+ {
1689
+ "kind": "field",
1690
+ "name": "_shouldAdoptStyles",
1633
1691
  "type": {
1634
1692
  "text": "boolean"
1635
1693
  },
1636
- "default": "false",
1637
- "description": "Whether the grid will try to \"resolve\" its column configuration based on the passed\ndata source.",
1638
- "fieldName": "autoGenerate",
1639
- "attribute": "auto-generate"
1640
- },
1694
+ "privacy": "private",
1695
+ "readonly": true
1696
+ }
1697
+ ],
1698
+ "attributes": [
1641
1699
  {
1642
- "name": "adopt-root-styles",
1700
+ "name": "active",
1643
1701
  "type": {
1644
1702
  "text": "boolean"
1645
1703
  },
1646
1704
  "default": "false",
1647
- "fieldName": "adoptRootStyles"
1705
+ "description": "Indicates whether this is the active cell in the grid.",
1706
+ "fieldName": "active"
1648
1707
  }
1649
1708
  ],
1650
1709
  "superclass": {
1651
- "name": "EventEmitterBase",
1652
- "module": "/src/internal/mixins/event-emitter.js"
1710
+ "name": "LitElement",
1711
+ "package": "lit"
1653
1712
  },
1654
- "tagName": "igc-grid-lite",
1655
1713
  "customElement": true
1656
1714
  }
1657
1715
  ],
1658
1716
  "exports": [
1659
1717
  {
1660
1718
  "kind": "js",
1661
- "name": "IgcGridLite",
1719
+ "name": "default",
1662
1720
  "declaration": {
1663
- "name": "IgcGridLite",
1664
- "module": "src/components/grid.ts"
1721
+ "name": "IgcGridLiteCell",
1722
+ "module": "src/components/cell.ts"
1665
1723
  }
1666
1724
  }
1667
1725
  ]
1668
1726
  },
1669
1727
  {
1670
1728
  "kind": "javascript-module",
1671
- "path": "src/components/header-row.ts",
1729
+ "path": "src/components/column.ts",
1672
1730
  "declarations": [
1673
1731
  {
1674
1732
  "kind": "class",
1675
1733
  "description": "",
1676
- "name": "IgcGridLiteHeaderRow",
1734
+ "name": "IgcGridLiteColumn",
1677
1735
  "members": [
1678
1736
  {
1679
1737
  "kind": "field",
@@ -1695,85 +1753,264 @@
1695
1753
  },
1696
1754
  {
1697
1755
  "kind": "field",
1698
- "name": "_state",
1756
+ "name": "_setConfig",
1699
1757
  "type": {
1700
- "text": "StateController<T> | undefined"
1758
+ "text": "(config: BaseColumnConfiguration<T>) => void | undefined"
1701
1759
  },
1702
- "privacy": "private",
1703
- "readonly": true
1760
+ "privacy": "protected",
1761
+ "description": "Callback context to notify the parent grid about configuration changes"
1704
1762
  },
1705
1763
  {
1706
1764
  "kind": "field",
1707
- "name": "adoptRootStyles",
1765
+ "name": "field",
1766
+ "type": {
1767
+ "text": "Keys<T>"
1768
+ },
1769
+ "privacy": "public",
1770
+ "description": "The field from the data for this column.",
1771
+ "attribute": "field"
1772
+ },
1773
+ {
1774
+ "kind": "field",
1775
+ "name": "dataType",
1776
+ "type": {
1777
+ "text": "'number' | 'string' | 'boolean' | undefined"
1778
+ },
1779
+ "privacy": "public",
1780
+ "default": "'string'",
1781
+ "description": "The data type of the column's values.",
1782
+ "attribute": "data-type"
1783
+ },
1784
+ {
1785
+ "kind": "field",
1786
+ "name": "header",
1787
+ "type": {
1788
+ "text": "string | undefined"
1789
+ },
1790
+ "privacy": "public",
1791
+ "description": "The header text of the column.",
1792
+ "attribute": "header"
1793
+ },
1794
+ {
1795
+ "kind": "field",
1796
+ "name": "width",
1797
+ "type": {
1798
+ "text": "string | undefined"
1799
+ },
1800
+ "privacy": "public",
1801
+ "description": "The width of the column.",
1802
+ "attribute": "width"
1803
+ },
1804
+ {
1805
+ "kind": "field",
1806
+ "name": "hidden",
1708
1807
  "type": {
1709
1808
  "text": "boolean"
1710
1809
  },
1711
1810
  "privacy": "public",
1712
- "default": "false"
1811
+ "default": "false",
1812
+ "description": "Indicates whether the column is hidden.",
1813
+ "attribute": "hidden"
1713
1814
  },
1714
1815
  {
1715
1816
  "kind": "field",
1716
- "name": "columns",
1817
+ "name": "resizable",
1717
1818
  "type": {
1718
- "text": "ColumnConfiguration<T>[]"
1819
+ "text": "boolean"
1719
1820
  },
1720
1821
  "privacy": "public",
1721
- "default": "[]"
1822
+ "default": "false",
1823
+ "description": "Indicates whether the column is resizable.",
1824
+ "attribute": "resizable"
1722
1825
  },
1723
1826
  {
1724
1827
  "kind": "field",
1725
- "name": "headers",
1828
+ "name": "sortable",
1726
1829
  "type": {
1727
- "text": "IgcGridLiteHeader<T>[]"
1830
+ "text": "boolean"
1728
1831
  },
1729
1832
  "privacy": "public",
1730
- "readonly": true
1833
+ "default": "false",
1834
+ "description": "Indicates whether the column is sortable.",
1835
+ "attribute": "sortable"
1731
1836
  },
1732
1837
  {
1733
- "kind": "method",
1734
- "name": "_setActiveFilterColumn",
1735
- "privacy": "private",
1736
- "return": {
1737
- "type": {
1738
- "text": "void"
1739
- }
1838
+ "kind": "field",
1839
+ "name": "sortingCaseSensitive",
1840
+ "type": {
1841
+ "text": "boolean"
1740
1842
  },
1741
- "parameters": [
1742
- {
1743
- "name": "event",
1744
- "type": {
1745
- "text": "PointerEvent"
1746
- }
1747
- }
1748
- ]
1843
+ "privacy": "public",
1844
+ "default": "false",
1845
+ "description": "Whether sort operations will be case sensitive.",
1846
+ "attribute": "sorting-case-sensitive"
1847
+ },
1848
+ {
1849
+ "kind": "field",
1850
+ "name": "sortConfiguration",
1851
+ "type": {
1852
+ "text": "ColumnSortConfiguration<T> | undefined"
1853
+ },
1854
+ "privacy": "public",
1855
+ "description": "Sort configuration for the column (e.g., custom comparer)."
1856
+ },
1857
+ {
1858
+ "kind": "field",
1859
+ "name": "filterable",
1860
+ "type": {
1861
+ "text": "boolean"
1862
+ },
1863
+ "privacy": "public",
1864
+ "default": "false",
1865
+ "description": "Indicates whether the column is filterable.",
1866
+ "attribute": "filterable"
1867
+ },
1868
+ {
1869
+ "kind": "field",
1870
+ "name": "filteringCaseSensitive",
1871
+ "type": {
1872
+ "text": "boolean"
1873
+ },
1874
+ "privacy": "public",
1875
+ "default": "false",
1876
+ "description": "Whether filter operations will be case sensitive.",
1877
+ "attribute": "filtering-case-sensitive"
1878
+ },
1879
+ {
1880
+ "kind": "field",
1881
+ "name": "headerTemplate",
1882
+ "type": {
1883
+ "text": "(params: IgcHeaderContext<T>) => unknown | undefined"
1884
+ },
1885
+ "privacy": "public",
1886
+ "description": "Custom header template for the column."
1887
+ },
1888
+ {
1889
+ "kind": "field",
1890
+ "name": "cellTemplate",
1891
+ "type": {
1892
+ "text": "(params: IgcCellContext<T, any>) => unknown | undefined"
1893
+ },
1894
+ "privacy": "public",
1895
+ "description": "Custom cell template for the column."
1896
+ }
1897
+ ],
1898
+ "attributes": [
1899
+ {
1900
+ "name": "field",
1901
+ "type": {
1902
+ "text": "Keys<T>"
1903
+ },
1904
+ "description": "The field from the data for this column.",
1905
+ "fieldName": "field"
1906
+ },
1907
+ {
1908
+ "name": "data-type",
1909
+ "type": {
1910
+ "text": "'number' | 'string' | 'boolean' | undefined"
1911
+ },
1912
+ "default": "'string'",
1913
+ "description": "The data type of the column's values.",
1914
+ "fieldName": "dataType"
1915
+ },
1916
+ {
1917
+ "name": "header",
1918
+ "type": {
1919
+ "text": "string | undefined"
1920
+ },
1921
+ "description": "The header text of the column.",
1922
+ "fieldName": "header"
1923
+ },
1924
+ {
1925
+ "name": "width",
1926
+ "type": {
1927
+ "text": "string | undefined"
1928
+ },
1929
+ "description": "The width of the column.",
1930
+ "fieldName": "width"
1931
+ },
1932
+ {
1933
+ "name": "hidden",
1934
+ "type": {
1935
+ "text": "boolean"
1936
+ },
1937
+ "default": "false",
1938
+ "description": "Indicates whether the column is hidden.",
1939
+ "fieldName": "hidden"
1940
+ },
1941
+ {
1942
+ "name": "resizable",
1943
+ "type": {
1944
+ "text": "boolean"
1945
+ },
1946
+ "default": "false",
1947
+ "description": "Indicates whether the column is resizable.",
1948
+ "fieldName": "resizable"
1949
+ },
1950
+ {
1951
+ "name": "sortable",
1952
+ "type": {
1953
+ "text": "boolean"
1954
+ },
1955
+ "default": "false",
1956
+ "description": "Indicates whether the column is sortable.",
1957
+ "fieldName": "sortable"
1958
+ },
1959
+ {
1960
+ "name": "sorting-case-sensitive",
1961
+ "type": {
1962
+ "text": "boolean"
1963
+ },
1964
+ "default": "false",
1965
+ "description": "Whether sort operations will be case sensitive.",
1966
+ "fieldName": "sortingCaseSensitive"
1967
+ },
1968
+ {
1969
+ "name": "filterable",
1970
+ "type": {
1971
+ "text": "boolean"
1972
+ },
1973
+ "default": "false",
1974
+ "description": "Indicates whether the column is filterable.",
1975
+ "fieldName": "filterable"
1976
+ },
1977
+ {
1978
+ "name": "filtering-case-sensitive",
1979
+ "type": {
1980
+ "text": "boolean"
1981
+ },
1982
+ "default": "false",
1983
+ "description": "Whether filter operations will be case sensitive.",
1984
+ "fieldName": "filteringCaseSensitive"
1749
1985
  }
1750
1986
  ],
1751
1987
  "superclass": {
1752
1988
  "name": "LitElement",
1753
1989
  "package": "lit"
1754
1990
  },
1991
+ "tagName": "igc-grid-lite-column",
1755
1992
  "customElement": true
1756
1993
  }
1757
1994
  ],
1758
1995
  "exports": [
1759
1996
  {
1760
1997
  "kind": "js",
1761
- "name": "default",
1998
+ "name": "IgcGridLiteColumn",
1762
1999
  "declaration": {
1763
- "name": "IgcGridLiteHeaderRow",
1764
- "module": "src/components/header-row.ts"
2000
+ "name": "IgcGridLiteColumn",
2001
+ "module": "src/components/column.ts"
1765
2002
  }
1766
2003
  }
1767
2004
  ]
1768
2005
  },
1769
2006
  {
1770
2007
  "kind": "javascript-module",
1771
- "path": "src/components/header.ts",
2008
+ "path": "src/components/filter-row.ts",
1772
2009
  "declarations": [
1773
2010
  {
1774
2011
  "kind": "class",
1775
2012
  "description": "",
1776
- "name": "IgcGridLiteHeader",
2013
+ "name": "IgcFilterRow",
1777
2014
  "members": [
1778
2015
  {
1779
2016
  "kind": "field",
@@ -1786,12 +2023,7 @@
1786
2023
  "kind": "method",
1787
2024
  "name": "register",
1788
2025
  "privacy": "public",
1789
- "static": true,
1790
- "return": {
1791
- "type": {
1792
- "text": "void"
1793
- }
1794
- }
2026
+ "static": true
1795
2027
  },
1796
2028
  {
1797
2029
  "kind": "field",
@@ -1801,30 +2033,60 @@
1801
2033
  },
1802
2034
  {
1803
2035
  "kind": "field",
1804
- "name": "context",
2036
+ "name": "state",
1805
2037
  "type": {
1806
- "text": "IgcHeaderContext<T>"
2038
+ "text": "StateController<T>"
1807
2039
  },
2040
+ "privacy": "public"
2041
+ },
2042
+ {
2043
+ "kind": "field",
2044
+ "name": "isNumeric",
1808
2045
  "privacy": "protected",
1809
2046
  "readonly": true
1810
2047
  },
1811
2048
  {
1812
2049
  "kind": "field",
1813
- "name": "isSortable",
2050
+ "name": "filterController",
1814
2051
  "privacy": "protected",
1815
2052
  "readonly": true
1816
2053
  },
1817
2054
  {
1818
2055
  "kind": "field",
1819
- "name": "resizeController",
2056
+ "name": "condition",
1820
2057
  "privacy": "protected",
1821
2058
  "readonly": true
1822
2059
  },
1823
2060
  {
1824
2061
  "kind": "field",
1825
- "name": "state",
2062
+ "name": "active",
1826
2063
  "type": {
1827
- "text": "StateController<T>"
2064
+ "text": "boolean"
2065
+ },
2066
+ "privacy": "public",
2067
+ "default": "false"
2068
+ },
2069
+ {
2070
+ "kind": "field",
2071
+ "name": "input",
2072
+ "type": {
2073
+ "text": "IgcInputComponent"
2074
+ },
2075
+ "privacy": "public"
2076
+ },
2077
+ {
2078
+ "kind": "field",
2079
+ "name": "conditionElement",
2080
+ "type": {
2081
+ "text": "IgcIconComponent"
2082
+ },
2083
+ "privacy": "public"
2084
+ },
2085
+ {
2086
+ "kind": "field",
2087
+ "name": "dropdown",
2088
+ "type": {
2089
+ "text": "IgcDropdownComponent"
1828
2090
  },
1829
2091
  "privacy": "public"
1830
2092
  },
@@ -1834,6 +2096,15 @@
1834
2096
  "type": {
1835
2097
  "text": "ColumnConfiguration<T>"
1836
2098
  },
2099
+ "privacy": "public",
2100
+ "default": "DEFAULT_COLUMN_CONFIG"
2101
+ },
2102
+ {
2103
+ "kind": "field",
2104
+ "name": "expression",
2105
+ "type": {
2106
+ "text": "FilterExpression<T>"
2107
+ },
1837
2108
  "privacy": "public"
1838
2109
  },
1839
2110
  {
@@ -1852,395 +2123,259 @@
1852
2123
  },
1853
2124
  {
1854
2125
  "kind": "method",
1855
- "name": "#addResizeEventHandlers",
2126
+ "name": "#setDefaultExpression",
1856
2127
  "privacy": "private"
1857
2128
  },
1858
2129
  {
1859
2130
  "kind": "method",
1860
- "name": "#handleClick",
2131
+ "name": "#removeExpression",
1861
2132
  "privacy": "private",
1862
2133
  "parameters": [
1863
2134
  {
1864
- "name": "e",
2135
+ "name": "expression",
1865
2136
  "type": {
1866
- "text": "Event"
2137
+ "text": "FilterExpression<T>"
1867
2138
  }
1868
2139
  }
1869
2140
  ]
1870
2141
  },
1871
2142
  {
1872
- "kind": "field",
1873
- "name": "#handleResize",
2143
+ "kind": "method",
2144
+ "name": "#show",
1874
2145
  "privacy": "private"
1875
2146
  },
1876
2147
  {
1877
2148
  "kind": "method",
1878
- "name": "#handleResizeStart",
2149
+ "name": "#handleConditionChanged",
1879
2150
  "privacy": "private",
1880
2151
  "parameters": [
1881
2152
  {
1882
- "name": "ev",
2153
+ "name": "event",
1883
2154
  "type": {
1884
- "text": "PointerEvent"
2155
+ "text": "CustomEvent<IgcDropdownItemComponent>"
1885
2156
  }
1886
2157
  }
1887
2158
  ]
1888
2159
  },
1889
- {
1890
- "kind": "field",
1891
- "name": "#handlePointerLost",
1892
- "privacy": "private"
1893
- },
1894
- {
1895
- "kind": "field",
1896
- "name": "#handleAutosize",
1897
- "privacy": "private"
1898
- },
1899
- {
1900
- "kind": "method",
1901
- "name": "renderSortPart",
1902
- "privacy": "protected"
1903
- },
1904
- {
1905
- "kind": "method",
1906
- "name": "renderContentPart",
1907
- "privacy": "protected"
1908
- },
1909
2160
  {
1910
2161
  "kind": "method",
1911
- "name": "renderResizePart",
1912
- "privacy": "protected"
1913
- }
1914
- ],
1915
- "superclass": {
1916
- "name": "LitElement",
1917
- "package": "lit"
1918
- },
1919
- "customElement": true
1920
- }
1921
- ],
1922
- "exports": [
1923
- {
1924
- "kind": "js",
1925
- "name": "default",
1926
- "declaration": {
1927
- "name": "IgcGridLiteHeader",
1928
- "module": "src/components/header.ts"
1929
- }
1930
- }
1931
- ]
1932
- },
1933
- {
1934
- "kind": "javascript-module",
1935
- "path": "src/components/row.ts",
1936
- "declarations": [
1937
- {
1938
- "kind": "class",
1939
- "description": "Component representing the DOM row in the IgcGridLite.",
1940
- "name": "IgcGridLiteRow",
1941
- "members": [
1942
- {
1943
- "kind": "field",
1944
- "name": "tagName",
1945
- "privacy": "public",
1946
- "static": true,
1947
- "readonly": true
2162
+ "name": "#handleInput",
2163
+ "privacy": "private",
2164
+ "parameters": [
2165
+ {
2166
+ "name": "event",
2167
+ "type": {
2168
+ "text": "CustomEvent<string>"
2169
+ }
2170
+ }
2171
+ ]
1948
2172
  },
1949
2173
  {
1950
2174
  "kind": "method",
1951
- "name": "register",
1952
- "privacy": "public",
1953
- "static": true,
1954
- "return": {
1955
- "type": {
1956
- "text": "void"
2175
+ "name": "#handleKeydown",
2176
+ "privacy": "private",
2177
+ "parameters": [
2178
+ {
2179
+ "name": "event",
2180
+ "type": {
2181
+ "text": "KeyboardEvent"
2182
+ }
1957
2183
  }
1958
- }
1959
- },
1960
- {
1961
- "kind": "field",
1962
- "name": "adoptRootStyles",
1963
- "type": {
1964
- "text": "boolean"
1965
- },
1966
- "privacy": "public",
1967
- "default": "false"
1968
- },
1969
- {
1970
- "kind": "field",
1971
- "name": "data",
1972
- "type": {
1973
- "text": "T | undefined"
1974
- },
1975
- "privacy": "public"
1976
- },
1977
- {
1978
- "kind": "field",
1979
- "name": "columns",
1980
- "type": {
1981
- "text": "Array<ColumnConfiguration<T>>"
1982
- },
1983
- "privacy": "public",
1984
- "default": "[]"
1985
- },
1986
- {
1987
- "kind": "field",
1988
- "name": "activeNode",
1989
- "type": {
1990
- "text": "ActiveNode<T> | undefined"
1991
- },
1992
- "privacy": "public"
1993
- },
1994
- {
1995
- "kind": "field",
1996
- "name": "index",
1997
- "type": {
1998
- "text": "number"
1999
- },
2000
- "privacy": "public",
2001
- "default": "-1"
2184
+ ]
2002
2185
  },
2003
2186
  {
2004
- "kind": "field",
2005
- "name": "cells",
2006
- "type": {
2007
- "text": "IgcGridLiteCell<T>[]"
2008
- },
2009
- "privacy": "public",
2010
- "readonly": true
2011
- }
2012
- ],
2013
- "superclass": {
2014
- "name": "LitElement",
2015
- "package": "lit"
2016
- },
2017
- "customElement": true
2018
- }
2019
- ],
2020
- "exports": [
2021
- {
2022
- "kind": "js",
2023
- "name": "default",
2024
- "declaration": {
2025
- "name": "IgcGridLiteRow",
2026
- "module": "src/components/row.ts"
2027
- }
2028
- }
2029
- ]
2030
- },
2031
- {
2032
- "kind": "javascript-module",
2033
- "path": "src/components/virtualizer.ts",
2034
- "declarations": [
2035
- {
2036
- "kind": "class",
2037
- "description": "",
2038
- "name": "IgcVirtualizer",
2039
- "members": [
2187
+ "kind": "method",
2188
+ "name": "#handleResetClick",
2189
+ "privacy": "private"
2190
+ },
2040
2191
  {
2041
- "kind": "field",
2042
- "name": "tagName",
2043
- "privacy": "public",
2044
- "static": true,
2045
- "readonly": true
2192
+ "kind": "method",
2193
+ "name": "#openDropdownList",
2194
+ "privacy": "private"
2046
2195
  },
2047
2196
  {
2048
- "kind": "field",
2049
- "name": "layout",
2050
- "type": {
2051
- "text": "LitVirtualizer['layout']"
2052
- },
2053
- "privacy": "public",
2054
- "default": "{ type: IgcFlowLayout, }"
2197
+ "kind": "method",
2198
+ "name": "activeChanged",
2199
+ "privacy": "protected"
2055
2200
  },
2056
2201
  {
2057
2202
  "kind": "method",
2058
- "name": "register",
2059
- "privacy": "public",
2060
- "static": true,
2061
- "return": {
2062
- "type": {
2063
- "text": "void"
2203
+ "name": "#chipCriteriaFor",
2204
+ "privacy": "private",
2205
+ "parameters": [
2206
+ {
2207
+ "name": "expression",
2208
+ "type": {
2209
+ "text": "FilterExpression<T>"
2210
+ }
2064
2211
  }
2065
- }
2212
+ ]
2066
2213
  },
2067
2214
  {
2068
- "kind": "field",
2069
- "name": "scroller",
2070
- "type": {
2071
- "text": "boolean"
2072
- },
2073
- "privacy": "public",
2074
- "default": "true"
2075
- }
2076
- ],
2077
- "superclass": {
2078
- "name": "LitVirtualizer",
2079
- "package": "@lit-labs/virtualizer/LitVirtualizer.js"
2080
- }
2081
- }
2082
- ],
2083
- "exports": [
2084
- {
2085
- "kind": "js",
2086
- "name": "default",
2087
- "declaration": {
2088
- "name": "IgcVirtualizer",
2089
- "module": "src/components/virtualizer.ts"
2090
- }
2091
- }
2092
- ]
2093
- },
2094
- {
2095
- "kind": "javascript-module",
2096
- "path": "src/controllers/data-operation.ts",
2097
- "declarations": [
2098
- {
2099
- "kind": "class",
2100
- "description": "",
2101
- "name": "DataOperationsController",
2102
- "members": [
2215
+ "kind": "method",
2216
+ "name": "#chipSelectFor",
2217
+ "privacy": "private",
2218
+ "parameters": [
2219
+ {
2220
+ "name": "expression",
2221
+ "type": {
2222
+ "text": "FilterExpression<T>"
2223
+ }
2224
+ }
2225
+ ]
2226
+ },
2103
2227
  {
2104
- "kind": "field",
2105
- "name": "sorting",
2228
+ "kind": "method",
2229
+ "name": "#chipRemoveFor",
2230
+ "privacy": "private",
2231
+ "parameters": [
2232
+ {
2233
+ "name": "expression",
2234
+ "type": {
2235
+ "text": "FilterExpression<T>"
2236
+ }
2237
+ }
2238
+ ]
2239
+ },
2240
+ {
2241
+ "kind": "method",
2242
+ "name": "renderCriteriaButton",
2106
2243
  "privacy": "protected",
2107
- "default": "new SortDataOperation<T>()"
2244
+ "parameters": [
2245
+ {
2246
+ "name": "expr",
2247
+ "type": {
2248
+ "text": "FilterExpression<T>"
2249
+ }
2250
+ },
2251
+ {
2252
+ "name": "index",
2253
+ "type": {
2254
+ "text": "number"
2255
+ }
2256
+ }
2257
+ ]
2108
2258
  },
2109
2259
  {
2110
- "kind": "field",
2111
- "name": "filtering",
2260
+ "kind": "method",
2261
+ "name": "renderExpressionChip",
2112
2262
  "privacy": "protected",
2113
- "default": "new FilterDataOperation<T>()"
2263
+ "parameters": [
2264
+ {
2265
+ "name": "props",
2266
+ "type": {
2267
+ "text": "ExpressionChipProps<T>"
2268
+ }
2269
+ }
2270
+ ]
2114
2271
  },
2115
2272
  {
2116
2273
  "kind": "method",
2117
- "name": "hostConnected",
2118
- "privacy": "public"
2274
+ "name": "renderActiveChips",
2275
+ "privacy": "protected"
2119
2276
  },
2120
2277
  {
2121
- "kind": "field",
2122
- "name": "hasCustomSort",
2123
- "privacy": "protected",
2124
- "readonly": true
2278
+ "kind": "method",
2279
+ "name": "renderFilterActions",
2280
+ "privacy": "protected"
2125
2281
  },
2126
2282
  {
2127
- "kind": "field",
2128
- "name": "hasCustomFilter",
2129
- "privacy": "protected",
2130
- "readonly": true
2283
+ "kind": "method",
2284
+ "name": "renderDropdown",
2285
+ "privacy": "protected"
2131
2286
  },
2132
2287
  {
2133
- "kind": "field",
2134
- "name": "customFilter",
2135
- "privacy": "protected",
2136
- "readonly": true
2288
+ "kind": "method",
2289
+ "name": "renderDropdownTarget",
2290
+ "privacy": "protected"
2137
2291
  },
2138
2292
  {
2139
- "kind": "field",
2140
- "name": "customSort",
2141
- "privacy": "protected",
2142
- "readonly": true
2293
+ "kind": "method",
2294
+ "name": "renderInputArea",
2295
+ "privacy": "protected"
2143
2296
  },
2144
2297
  {
2145
2298
  "kind": "method",
2146
- "name": "apply",
2147
- "privacy": "public",
2299
+ "name": "renderActiveState",
2300
+ "privacy": "protected"
2301
+ },
2302
+ {
2303
+ "kind": "method",
2304
+ "name": "renderInactiveChips",
2305
+ "privacy": "protected",
2148
2306
  "parameters": [
2149
2307
  {
2150
- "name": "data",
2308
+ "name": "column",
2151
2309
  "type": {
2152
- "text": "T[]"
2310
+ "text": "ColumnConfiguration<T>"
2153
2311
  }
2154
2312
  },
2155
2313
  {
2156
2314
  "name": "state",
2157
2315
  "type": {
2158
- "text": "StateController<T>"
2316
+ "text": "FilterExpressionTree<T>"
2159
2317
  }
2160
2318
  }
2161
2319
  ]
2162
- }
2163
- ]
2164
- },
2165
- {
2166
- "kind": "function",
2167
- "name": "createDataOperationsController",
2168
- "return": {
2169
- "type": {
2170
- "text": "DataOperationsController<T>"
2171
- }
2172
- },
2173
- "parameters": [
2320
+ },
2174
2321
  {
2175
- "name": "host",
2176
- "type": {
2177
- "text": "GridHost<T>"
2178
- }
2322
+ "kind": "method",
2323
+ "name": "renderFilterState",
2324
+ "privacy": "protected",
2325
+ "parameters": [
2326
+ {
2327
+ "name": "column",
2328
+ "type": {
2329
+ "text": "ColumnConfiguration<T>"
2330
+ }
2331
+ }
2332
+ ]
2333
+ },
2334
+ {
2335
+ "kind": "method",
2336
+ "name": "renderInactiveState",
2337
+ "privacy": "protected"
2179
2338
  }
2180
- ]
2339
+ ],
2340
+ "superclass": {
2341
+ "name": "LitElement",
2342
+ "package": "lit"
2343
+ },
2344
+ "customElement": true
2181
2345
  }
2182
2346
  ],
2183
2347
  "exports": [
2184
2348
  {
2185
2349
  "kind": "js",
2186
- "name": "createDataOperationsController",
2187
- "declaration": {
2188
- "name": "createDataOperationsController",
2189
- "module": "src/controllers/data-operation.ts"
2190
- }
2191
- },
2192
- {
2193
- "kind": "js",
2194
- "name": "DataOperationsController",
2350
+ "name": "default",
2195
2351
  "declaration": {
2196
- "name": "DataOperationsController",
2197
- "module": "src/controllers/data-operation.ts"
2352
+ "name": "IgcFilterRow",
2353
+ "module": "src/components/filter-row.ts"
2198
2354
  }
2199
2355
  }
2200
2356
  ]
2201
2357
  },
2202
2358
  {
2203
2359
  "kind": "javascript-module",
2204
- "path": "src/controllers/dom.ts",
2360
+ "path": "src/components/grid.ts",
2205
2361
  "declarations": [
2206
2362
  {
2207
2363
  "kind": "class",
2208
- "description": "",
2209
- "name": "GridDOMController",
2210
- "members": [
2211
- {
2212
- "kind": "field",
2213
- "name": "_host",
2214
- "type": {
2215
- "text": "GridHost<T>"
2216
- },
2217
- "privacy": "protected",
2218
- "readonly": true,
2219
- "default": "host"
2220
- },
2221
- {
2222
- "kind": "field",
2223
- "name": "_state",
2224
- "type": {
2225
- "text": "StateController<T>"
2226
- },
2227
- "privacy": "protected",
2228
- "readonly": true,
2229
- "default": "state"
2230
- },
2364
+ "description": "IgcGridLite is a web component for displaying data in a tabular format quick and easy.\n\nOut of the box it provides row virtualization, sort and filter operations (client and server side),\nthe ability to template cells and headers and column hiding.",
2365
+ "name": "IgcGridLite",
2366
+ "members": [
2231
2367
  {
2232
2368
  "kind": "field",
2233
- "name": "columnSizes",
2234
- "type": {
2235
- "text": "StyleInfo"
2236
- },
2369
+ "name": "tagName",
2237
2370
  "privacy": "public",
2238
- "default": "{}"
2371
+ "static": true,
2372
+ "readonly": true
2239
2373
  },
2240
2374
  {
2241
2375
  "kind": "method",
2242
- "name": "hostConnected",
2376
+ "name": "register",
2243
2377
  "privacy": "public",
2378
+ "static": true,
2244
2379
  "return": {
2245
2380
  "type": {
2246
2381
  "text": "void"
@@ -2248,29 +2383,41 @@
2248
2383
  }
2249
2384
  },
2250
2385
  {
2251
- "kind": "method",
2252
- "name": "hostUpdate",
2253
- "privacy": "public",
2254
- "return": {
2255
- "type": {
2256
- "text": "void"
2257
- }
2258
- }
2386
+ "kind": "field",
2387
+ "name": "_stateController",
2388
+ "privacy": "protected",
2389
+ "readonly": true
2259
2390
  },
2260
2391
  {
2261
- "kind": "method",
2262
- "name": "setScrollOffset",
2263
- "privacy": "public",
2264
- "return": {
2265
- "type": {
2266
- "text": "void"
2267
- }
2268
- }
2392
+ "kind": "field",
2393
+ "name": "_domController",
2394
+ "privacy": "protected",
2395
+ "readonly": true
2269
2396
  },
2270
2397
  {
2271
- "kind": "method",
2272
- "name": "setGridColumnSizes",
2398
+ "kind": "field",
2399
+ "name": "_dataController",
2400
+ "privacy": "protected",
2401
+ "readonly": true
2402
+ },
2403
+ {
2404
+ "kind": "field",
2405
+ "name": "_stateProvider",
2273
2406
  "privacy": "protected",
2407
+ "readonly": true,
2408
+ "default": "new ContextProvider(this, { context: GRID_STATE_CONTEXT, initialValue: this._stateController, })"
2409
+ },
2410
+ {
2411
+ "kind": "field",
2412
+ "name": "_columnUpdateProvider",
2413
+ "privacy": "protected",
2414
+ "readonly": true,
2415
+ "default": "new ContextProvider(this, { context: COLUMN_UPDATE_CONTEXT, initialValue: ((config: ColumnConfiguration<T>) => { this._updateConfiguration(config); }) as any, })"
2416
+ },
2417
+ {
2418
+ "kind": "method",
2419
+ "name": "_updateObservers",
2420
+ "privacy": "private",
2274
2421
  "return": {
2275
2422
  "type": {
2276
2423
  "text": "void"
@@ -2279,983 +2426,911 @@
2279
2426
  },
2280
2427
  {
2281
2428
  "kind": "method",
2282
- "name": "getActiveRowStyles",
2283
- "privacy": "public",
2429
+ "name": "_updateConfiguration",
2430
+ "privacy": "private",
2284
2431
  "return": {
2285
2432
  "type": {
2286
- "text": "StyleInfo"
2433
+ "text": "void"
2287
2434
  }
2288
2435
  },
2289
2436
  "parameters": [
2290
2437
  {
2291
- "name": "index",
2438
+ "name": "config",
2292
2439
  "type": {
2293
- "text": "number"
2440
+ "text": "ColumnConfiguration<T>"
2294
2441
  }
2295
2442
  }
2296
2443
  ]
2297
- }
2298
- ]
2299
- },
2300
- {
2301
- "kind": "function",
2302
- "name": "createDomController",
2303
- "return": {
2304
- "type": {
2305
- "text": "GridDOMController<T>"
2306
- }
2307
- },
2308
- "parameters": [
2444
+ },
2309
2445
  {
2310
- "name": "host",
2446
+ "kind": "field",
2447
+ "name": "_dataState",
2311
2448
  "type": {
2312
- "text": "GridHost<T>"
2313
- }
2449
+ "text": "T[]"
2450
+ },
2451
+ "privacy": "protected",
2452
+ "default": "[]"
2314
2453
  },
2315
2454
  {
2316
- "name": "state",
2455
+ "kind": "field",
2456
+ "name": "adoptRootStyles",
2317
2457
  "type": {
2318
- "text": "StateController<T>"
2319
- }
2320
- }
2321
- ]
2322
- }
2323
- ],
2324
- "exports": [
2325
- {
2326
- "kind": "js",
2327
- "name": "createDomController",
2328
- "declaration": {
2329
- "name": "createDomController",
2330
- "module": "src/controllers/dom.ts"
2331
- }
2332
- },
2333
- {
2334
- "kind": "js",
2335
- "name": "GridDOMController",
2336
- "declaration": {
2337
- "name": "GridDOMController",
2338
- "module": "src/controllers/dom.ts"
2339
- }
2340
- }
2341
- ]
2342
- },
2343
- {
2344
- "kind": "javascript-module",
2345
- "path": "src/controllers/filter.ts",
2346
- "declarations": [
2347
- {
2348
- "kind": "class",
2349
- "description": "",
2350
- "name": "FilterController",
2351
- "members": [
2458
+ "text": "boolean"
2459
+ },
2460
+ "privacy": "public",
2461
+ "default": "false",
2462
+ "attribute": "adopt-root-styles",
2463
+ "reflects": true
2464
+ },
2352
2465
  {
2353
2466
  "kind": "field",
2354
- "name": "_stateController",
2467
+ "name": "data",
2355
2468
  "type": {
2356
- "text": "StateController<T>"
2469
+ "text": "T[]"
2357
2470
  },
2358
- "privacy": "private",
2359
- "readonly": true,
2360
- "default": "state"
2471
+ "privacy": "public",
2472
+ "default": "[]",
2473
+ "description": "The data source for the grid."
2361
2474
  },
2362
2475
  {
2363
2476
  "kind": "field",
2364
- "name": "state",
2477
+ "name": "autoGenerate",
2365
2478
  "type": {
2366
- "text": "FilterState<T>"
2479
+ "text": "boolean"
2367
2480
  },
2368
2481
  "privacy": "public",
2369
- "default": "new FilterState()"
2482
+ "default": "false",
2483
+ "description": "Whether the grid will try to \"resolve\" its column configuration based on the passed\ndata source.",
2484
+ "attribute": "auto-generate"
2370
2485
  },
2371
2486
  {
2372
2487
  "kind": "field",
2373
- "name": "host",
2488
+ "name": "sortingOptions",
2489
+ "type": {
2490
+ "text": "GridLiteSortingOptions"
2491
+ },
2374
2492
  "privacy": "public",
2375
- "readonly": true
2493
+ "default": "{ mode: 'multiple', }",
2494
+ "description": "Sort configuration property for the grid."
2376
2495
  },
2377
2496
  {
2378
2497
  "kind": "field",
2379
- "name": "filterRow",
2498
+ "name": "dataPipelineConfiguration",
2380
2499
  "type": {
2381
- "text": "IgcFilterRow<T> | null"
2500
+ "text": "DataPipelineConfiguration<T>"
2501
+ },
2502
+ "privacy": "public",
2503
+ "description": "Configuration object which controls remote data operations for the grid."
2504
+ },
2505
+ {
2506
+ "kind": "field",
2507
+ "name": "sortingExpressions",
2508
+ "privacy": "public",
2509
+ "description": "Get the sort state for the grid.",
2510
+ "type": {
2511
+ "text": "SortingExpression<T>[]"
2512
+ }
2513
+ },
2514
+ {
2515
+ "kind": "field",
2516
+ "name": "filterExpressions",
2517
+ "privacy": "public",
2518
+ "description": "Get the filter state for the grid.",
2519
+ "type": {
2520
+ "text": "FilterExpression<T>[]"
2521
+ }
2522
+ },
2523
+ {
2524
+ "kind": "field",
2525
+ "name": "columns",
2526
+ "type": {
2527
+ "text": "ColumnConfiguration<T>[]"
2382
2528
  },
2383
2529
  "privacy": "public",
2384
2530
  "readonly": true
2385
2531
  },
2386
2532
  {
2387
2533
  "kind": "field",
2388
- "name": "#virtualizer",
2389
- "privacy": "private",
2534
+ "name": "rows",
2535
+ "privacy": "public",
2536
+ "description": "Returns the collection of rendered row elements in the grid.",
2390
2537
  "readonly": true
2391
2538
  },
2392
2539
  {
2393
- "kind": "method",
2394
- "name": "#emitFilteringEvent",
2395
- "privacy": "private",
2396
- "parameters": [
2397
- {
2398
- "name": "expression",
2399
- "type": {
2400
- "text": "FilterExpression<T>"
2401
- }
2402
- },
2403
- {
2404
- "name": "type",
2405
- "type": {
2406
- "text": "'add' | 'modify' | 'remove'"
2407
- }
2408
- }
2409
- ]
2540
+ "kind": "field",
2541
+ "name": "dataView",
2542
+ "type": {
2543
+ "text": "ReadonlyArray<T>"
2544
+ },
2545
+ "privacy": "public",
2546
+ "description": "Returns the state of the data source after sort/filter operations\nhave been applied.",
2547
+ "readonly": true
2410
2548
  },
2411
2549
  {
2412
- "kind": "method",
2413
- "name": "#emitFilteredEvent",
2414
- "privacy": "private",
2415
- "parameters": [
2416
- {
2417
- "name": "detail",
2418
- "optional": true,
2419
- "type": {
2420
- "text": "IgcFilteredEvent<T>"
2421
- }
2422
- }
2423
- ]
2550
+ "kind": "field",
2551
+ "name": "totalItems",
2552
+ "type": {
2553
+ "text": "number"
2554
+ },
2555
+ "privacy": "public",
2556
+ "description": "The total number of items in the IgcGridLite.dataView collection.",
2557
+ "readonly": true
2424
2558
  },
2425
2559
  {
2426
- "kind": "method",
2427
- "name": "#filter",
2428
- "privacy": "private",
2429
- "parameters": [
2430
- {
2431
- "name": "expression",
2432
- "type": {
2433
- "text": "FilterExpression<T> | FilterExpression<T>[]"
2434
- }
2435
- }
2436
- ]
2560
+ "kind": "method",
2561
+ "name": "dataChanged",
2562
+ "privacy": "protected"
2437
2563
  },
2438
2564
  {
2439
2565
  "kind": "method",
2440
- "name": "hostConnected",
2441
- "privacy": "public"
2566
+ "name": "pipeline",
2567
+ "privacy": "protected"
2442
2568
  },
2443
2569
  {
2444
2570
  "kind": "method",
2445
- "name": "hostUpdate",
2446
- "privacy": "public",
2571
+ "name": "_hasAssignedColumns",
2572
+ "privacy": "private",
2447
2573
  "return": {
2448
2574
  "type": {
2449
- "text": "void"
2575
+ "text": "boolean"
2450
2576
  }
2451
2577
  }
2452
2578
  },
2453
2579
  {
2454
2580
  "kind": "method",
2455
- "name": "get",
2456
- "privacy": "public",
2457
- "parameters": [
2458
- {
2459
- "name": "key",
2460
- "type": {
2461
- "text": "Keys<T>"
2462
- }
2581
+ "name": "_handleSlotChange",
2582
+ "privacy": "private",
2583
+ "return": {
2584
+ "type": {
2585
+ "text": "void"
2463
2586
  }
2464
- ]
2465
- },
2466
- {
2467
- "kind": "method",
2468
- "name": "reset",
2469
- "privacy": "public",
2587
+ },
2470
2588
  "parameters": [
2471
2589
  {
2472
- "name": "key",
2473
- "optional": true,
2590
+ "name": "event",
2474
2591
  "type": {
2475
- "text": "Keys<T>"
2592
+ "text": "Event"
2476
2593
  }
2477
2594
  }
2478
2595
  ]
2479
2596
  },
2480
2597
  {
2481
2598
  "kind": "method",
2482
- "name": "setActiveColumn",
2599
+ "name": "filter",
2483
2600
  "privacy": "public",
2601
+ "return": {
2602
+ "type": {
2603
+ "text": "void"
2604
+ }
2605
+ },
2484
2606
  "parameters": [
2485
2607
  {
2486
- "name": "column",
2487
- "optional": true,
2608
+ "name": "config",
2488
2609
  "type": {
2489
- "text": "ColumnConfiguration<T>"
2610
+ "text": "FilterExpression<T> | FilterExpression<T>[]"
2490
2611
  }
2491
2612
  }
2492
- ]
2613
+ ],
2614
+ "description": "Performs a filter operation in the grid based on the passed expression(s)."
2493
2615
  },
2494
2616
  {
2495
2617
  "kind": "method",
2496
- "name": "getDefaultExpression",
2618
+ "name": "sort",
2497
2619
  "privacy": "public",
2498
2620
  "parameters": [
2499
2621
  {
2500
- "name": "column",
2622
+ "name": "expressions",
2501
2623
  "type": {
2502
- "text": "ColumnConfiguration<T>"
2624
+ "text": "SortingExpression<T> | SortingExpression<T>[]"
2503
2625
  }
2504
2626
  }
2505
- ]
2627
+ ],
2628
+ "description": "Performs a sort operation in the grid based on the passed expression(s)."
2506
2629
  },
2507
2630
  {
2508
2631
  "kind": "method",
2509
- "name": "removeAllExpressions",
2632
+ "name": "clearSort",
2510
2633
  "privacy": "public",
2634
+ "return": {
2635
+ "type": {
2636
+ "text": "void"
2637
+ }
2638
+ },
2511
2639
  "parameters": [
2512
2640
  {
2513
2641
  "name": "key",
2642
+ "optional": true,
2514
2643
  "type": {
2515
2644
  "text": "Keys<T>"
2516
2645
  }
2517
2646
  }
2518
- ]
2647
+ ],
2648
+ "description": "Resets the current sort state of the control."
2519
2649
  },
2520
2650
  {
2521
2651
  "kind": "method",
2522
- "name": "removeExpression",
2652
+ "name": "clearFilter",
2523
2653
  "privacy": "public",
2654
+ "return": {
2655
+ "type": {
2656
+ "text": "void"
2657
+ }
2658
+ },
2524
2659
  "parameters": [
2525
2660
  {
2526
- "name": "expression",
2661
+ "name": "key",
2662
+ "optional": true,
2527
2663
  "type": {
2528
- "text": "FilterExpression<T>"
2664
+ "text": "Keys<T>"
2529
2665
  }
2530
2666
  }
2531
- ]
2667
+ ],
2668
+ "description": "Resets the current filter state of the control."
2532
2669
  },
2533
2670
  {
2534
2671
  "kind": "method",
2535
- "name": "filterWithEvent",
2672
+ "name": "navigateTo",
2536
2673
  "privacy": "public",
2537
2674
  "parameters": [
2538
2675
  {
2539
- "name": "expression",
2676
+ "name": "row",
2540
2677
  "type": {
2541
- "text": "FilterExpression<T>"
2542
- }
2678
+ "text": "number"
2679
+ },
2680
+ "description": "The row index to navigate to"
2543
2681
  },
2544
2682
  {
2545
- "name": "type",
2683
+ "name": "column",
2684
+ "optional": true,
2546
2685
  "type": {
2547
- "text": "'add' | 'modify' | 'remove'"
2548
- }
2686
+ "text": "Keys<T>"
2687
+ },
2688
+ "description": "The column field to navigate to, if any"
2689
+ },
2690
+ {
2691
+ "name": "activate",
2692
+ "default": "false",
2693
+ "description": "Optionally also activate the navigated cell"
2549
2694
  }
2550
- ]
2695
+ ],
2696
+ "description": "Navigates to a position in the grid based on provided row index and column field."
2551
2697
  },
2552
2698
  {
2553
2699
  "kind": "method",
2554
- "name": "filter",
2700
+ "name": "getColumn",
2555
2701
  "privacy": "public",
2556
- "parameters": [
2557
- {
2558
- "name": "expression",
2559
- "type": {
2560
- "text": "FilterExpression<T> | FilterExpression<T>[]"
2561
- }
2702
+ "return": {
2703
+ "type": {
2704
+ "text": "ColumnConfiguration<T> | undefined"
2562
2705
  }
2563
- ]
2564
- }
2565
- ]
2566
- }
2567
- ],
2568
- "exports": [
2569
- {
2570
- "kind": "js",
2571
- "name": "FilterController",
2572
- "declaration": {
2573
- "name": "FilterController",
2574
- "module": "src/controllers/filter.ts"
2575
- }
2576
- }
2577
- ]
2578
- },
2579
- {
2580
- "kind": "javascript-module",
2581
- "path": "src/controllers/navigation.ts",
2582
- "declarations": [
2583
- {
2584
- "kind": "class",
2585
- "description": "",
2586
- "name": "NavigationController",
2587
- "members": [
2588
- {
2589
- "kind": "field",
2590
- "name": "handlers",
2591
- "privacy": "protected",
2592
- "default": "new Map( Object.entries({ ArrowDown: this.arrowDown, ArrowUp: this.arrowUp, ArrowLeft: this.arrowLeft, ArrowRight: this.arrowRight, Home: this.home, End: this.end, }) )"
2593
- },
2594
- {
2595
- "kind": "field",
2596
- "name": "_virtualizer",
2597
- "privacy": "protected",
2598
- "readonly": true
2599
- },
2600
- {
2601
- "kind": "field",
2602
- "name": "_navigationState",
2603
- "privacy": "protected",
2604
- "default": "NAVIGATION_STATE"
2605
- },
2606
- {
2607
- "kind": "field",
2608
- "name": "_active",
2609
- "privacy": "protected",
2610
- "default": "SENTINEL_NODE"
2611
- },
2612
- {
2613
- "kind": "field",
2614
- "name": "nextNode",
2615
- "privacy": "protected",
2616
- "readonly": true
2617
- },
2618
- {
2619
- "kind": "field",
2620
- "name": "_columns",
2621
- "privacy": "protected",
2622
- "readonly": true
2623
- },
2624
- {
2625
- "kind": "field",
2626
- "name": "_firstColumn",
2627
- "privacy": "protected",
2628
- "readonly": true
2629
- },
2630
- {
2631
- "kind": "method",
2632
- "name": "getPreviousColumn",
2633
- "privacy": "protected",
2706
+ },
2634
2707
  "parameters": [
2635
2708
  {
2636
- "name": "key",
2709
+ "name": "id",
2637
2710
  "type": {
2638
- "text": "Keys<T>"
2711
+ "text": "Keys<T> | number"
2639
2712
  }
2640
2713
  }
2641
- ]
2714
+ ],
2715
+ "description": "Returns a ColumnConfiguration for a given column."
2642
2716
  },
2643
2717
  {
2644
2718
  "kind": "method",
2645
- "name": "getNextColumn",
2719
+ "name": "_bodyClickHandler",
2646
2720
  "privacy": "protected",
2647
- "parameters": [
2648
- {
2649
- "name": "key",
2650
- "type": {
2651
- "text": "Keys<T>"
2652
- }
2721
+ "return": {
2722
+ "type": {
2723
+ "text": "void"
2653
2724
  }
2654
- ]
2655
- },
2656
- {
2657
- "kind": "method",
2658
- "name": "queryRowByIndex",
2659
- "privacy": "protected",
2725
+ },
2660
2726
  "parameters": [
2661
2727
  {
2662
- "name": "index",
2728
+ "name": "event",
2663
2729
  "type": {
2664
- "text": "number"
2730
+ "text": "PointerEvent"
2665
2731
  }
2666
2732
  }
2667
2733
  ]
2668
2734
  },
2669
2735
  {
2670
2736
  "kind": "method",
2671
- "name": "scrollToCell",
2737
+ "name": "_bodyKeydownHandler",
2672
2738
  "privacy": "protected",
2739
+ "return": {
2740
+ "type": {
2741
+ "text": "void"
2742
+ }
2743
+ },
2673
2744
  "parameters": [
2674
2745
  {
2675
- "name": "node",
2746
+ "name": "event",
2676
2747
  "type": {
2677
- "text": "ActiveNode<T>"
2748
+ "text": "KeyboardEvent"
2678
2749
  }
2679
2750
  }
2680
2751
  ]
2681
2752
  },
2682
2753
  {
2683
2754
  "kind": "field",
2684
- "name": "active",
2755
+ "name": "_renderRow",
2685
2756
  "type": {
2686
- "text": "ActiveNode<T>"
2687
- },
2688
- "privacy": "public"
2689
- },
2690
- {
2691
- "kind": "method",
2692
- "name": "home",
2693
- "privacy": "protected"
2694
- },
2695
- {
2696
- "kind": "method",
2697
- "name": "end",
2698
- "privacy": "protected"
2699
- },
2700
- {
2701
- "kind": "method",
2702
- "name": "arrowDown",
2757
+ "text": "RenderItemFunction<T>"
2758
+ },
2703
2759
  "privacy": "protected"
2704
2760
  },
2705
2761
  {
2706
2762
  "kind": "method",
2707
- "name": "arrowUp",
2763
+ "name": "_renderHeaderRow",
2708
2764
  "privacy": "protected"
2709
2765
  },
2710
2766
  {
2711
2767
  "kind": "method",
2712
- "name": "arrowLeft",
2768
+ "name": "_renderBody",
2713
2769
  "privacy": "protected"
2714
2770
  },
2715
2771
  {
2716
2772
  "kind": "method",
2717
- "name": "arrowRight",
2773
+ "name": "_renderFilterRow",
2718
2774
  "privacy": "protected"
2719
2775
  },
2720
2776
  {
2721
2777
  "kind": "method",
2722
- "name": "hostDisconnected",
2723
- "privacy": "public"
2778
+ "name": "addEventListener",
2779
+ "privacy": "public",
2780
+ "return": {
2781
+ "type": {
2782
+ "text": "void"
2783
+ }
2784
+ },
2785
+ "parameters": [
2786
+ {
2787
+ "name": "type",
2788
+ "type": {
2789
+ "text": "K"
2790
+ }
2791
+ },
2792
+ {
2793
+ "name": "listener",
2794
+ "type": {
2795
+ "text": "(this: HTMLElement, ev: M[K]) => any"
2796
+ }
2797
+ },
2798
+ {
2799
+ "name": "options",
2800
+ "optional": true,
2801
+ "type": {
2802
+ "text": "boolean | AddEventListenerOptions"
2803
+ }
2804
+ }
2805
+ ],
2806
+ "inheritedFrom": {
2807
+ "name": "EventEmitterBase",
2808
+ "module": "src/internal/mixins/event-emitter.ts"
2809
+ }
2724
2810
  },
2725
2811
  {
2726
2812
  "kind": "method",
2727
- "name": "navigate",
2813
+ "name": "removeEventListener",
2728
2814
  "privacy": "public",
2815
+ "return": {
2816
+ "type": {
2817
+ "text": "void"
2818
+ }
2819
+ },
2729
2820
  "parameters": [
2730
2821
  {
2731
- "name": "event",
2822
+ "name": "type",
2732
2823
  "type": {
2733
- "text": "KeyboardEvent"
2824
+ "text": "K"
2825
+ }
2826
+ },
2827
+ {
2828
+ "name": "listener",
2829
+ "type": {
2830
+ "text": "(this: HTMLElement, ev: M[K]) => any"
2831
+ }
2832
+ },
2833
+ {
2834
+ "name": "options",
2835
+ "optional": true,
2836
+ "type": {
2837
+ "text": "boolean | EventListenerOptions"
2734
2838
  }
2735
2839
  }
2736
- ]
2840
+ ],
2841
+ "inheritedFrom": {
2842
+ "name": "EventEmitterBase",
2843
+ "module": "src/internal/mixins/event-emitter.ts"
2844
+ }
2737
2845
  },
2738
2846
  {
2739
2847
  "kind": "method",
2740
- "name": "navigateTo",
2848
+ "name": "emitEvent",
2741
2849
  "privacy": "public",
2850
+ "return": {
2851
+ "type": {
2852
+ "text": "boolean"
2853
+ }
2854
+ },
2742
2855
  "parameters": [
2743
2856
  {
2744
- "name": "row",
2857
+ "name": "type",
2745
2858
  "type": {
2746
- "text": "number"
2859
+ "text": "K"
2747
2860
  }
2748
2861
  },
2749
2862
  {
2750
- "name": "column",
2863
+ "name": "eventInitDict",
2751
2864
  "optional": true,
2752
2865
  "type": {
2753
- "text": "Keys<T>"
2866
+ "text": "CustomEventInit<D>"
2754
2867
  }
2755
- },
2756
- {
2757
- "name": "activate",
2758
- "default": "false"
2759
2868
  }
2760
- ]
2869
+ ],
2870
+ "inheritedFrom": {
2871
+ "name": "EventEmitterBase",
2872
+ "module": "src/internal/mixins/event-emitter.ts"
2873
+ }
2761
2874
  }
2762
- ]
2875
+ ],
2876
+ "events": [
2877
+ {
2878
+ "description": "Emitted when sorting is initiated through the UI.",
2879
+ "name": "sorting"
2880
+ },
2881
+ {
2882
+ "description": "Emitted when a sort operation initiated through the UI has completed.",
2883
+ "name": "sorted"
2884
+ },
2885
+ {
2886
+ "description": "Emitted when filtering is initiated through the UI.",
2887
+ "name": "filtering"
2888
+ },
2889
+ {
2890
+ "description": "Emitted when a filter operation initiated through the UI has completed.",
2891
+ "name": "filtered"
2892
+ },
2893
+ {
2894
+ "type": {
2895
+ "text": "CustomEvent"
2896
+ },
2897
+ "inheritedFrom": {
2898
+ "name": "EventEmitterBase",
2899
+ "module": "src/internal/mixins/event-emitter.ts"
2900
+ }
2901
+ }
2902
+ ],
2903
+ "attributes": [
2904
+ {
2905
+ "name": "auto-generate",
2906
+ "type": {
2907
+ "text": "boolean"
2908
+ },
2909
+ "default": "false",
2910
+ "description": "Whether the grid will try to \"resolve\" its column configuration based on the passed\ndata source.",
2911
+ "fieldName": "autoGenerate",
2912
+ "attribute": "auto-generate"
2913
+ },
2914
+ {
2915
+ "name": "adopt-root-styles",
2916
+ "type": {
2917
+ "text": "boolean"
2918
+ },
2919
+ "default": "false",
2920
+ "fieldName": "adoptRootStyles"
2921
+ }
2922
+ ],
2923
+ "superclass": {
2924
+ "name": "EventEmitterBase",
2925
+ "module": "/src/internal/mixins/event-emitter.js"
2926
+ },
2927
+ "tagName": "igc-grid-lite",
2928
+ "customElement": true
2763
2929
  }
2764
2930
  ],
2765
2931
  "exports": [
2766
2932
  {
2767
2933
  "kind": "js",
2768
- "name": "NavigationController",
2934
+ "name": "IgcGridLite",
2769
2935
  "declaration": {
2770
- "name": "NavigationController",
2771
- "module": "src/controllers/navigation.ts"
2936
+ "name": "IgcGridLite",
2937
+ "module": "src/components/grid.ts"
2772
2938
  }
2773
2939
  }
2774
2940
  ]
2775
2941
  },
2776
2942
  {
2777
2943
  "kind": "javascript-module",
2778
- "path": "src/controllers/resize.ts",
2944
+ "path": "src/components/header-row.ts",
2779
2945
  "declarations": [
2780
2946
  {
2781
2947
  "kind": "class",
2782
2948
  "description": "",
2783
- "name": "ResizeController",
2949
+ "name": "IgcGridLiteHeaderRow",
2784
2950
  "members": [
2785
2951
  {
2786
2952
  "kind": "field",
2787
- "name": "indicatorActive",
2788
- "type": {
2789
- "text": "boolean"
2790
- },
2791
- "privacy": "public",
2792
- "default": "false"
2793
- },
2794
- {
2795
- "kind": "field",
2796
- "name": "indicatorOffset",
2797
- "type": {
2798
- "text": "number"
2799
- },
2953
+ "name": "tagName",
2800
2954
  "privacy": "public",
2801
- "default": "0"
2955
+ "static": true,
2956
+ "readonly": true
2802
2957
  },
2803
2958
  {
2804
2959
  "kind": "method",
2805
- "name": "#maxSize",
2806
- "privacy": "private",
2807
- "parameters": [
2808
- {
2809
- "name": "key",
2810
- "type": {
2811
- "text": "Keys<T>"
2812
- }
2813
- },
2814
- {
2815
- "name": "headerWidth",
2816
- "type": {
2817
- "text": "number"
2818
- }
2960
+ "name": "register",
2961
+ "privacy": "public",
2962
+ "static": true,
2963
+ "return": {
2964
+ "type": {
2965
+ "text": "void"
2819
2966
  }
2820
- ]
2967
+ }
2821
2968
  },
2822
2969
  {
2823
- "kind": "method",
2824
- "name": "start",
2825
- "privacy": "public",
2826
- "parameters": [
2827
- {
2828
- "name": "header",
2829
- "type": {
2830
- "text": "IgcGridLiteHeader<T>"
2831
- },
2832
- "description": "the"
2833
- }
2834
- ],
2835
- "description": "Begins resizing a column by showing and positioning the resize indicator in relation to the column."
2970
+ "kind": "field",
2971
+ "name": "_state",
2972
+ "type": {
2973
+ "text": "StateController<T> | undefined"
2974
+ },
2975
+ "privacy": "private",
2976
+ "readonly": true
2836
2977
  },
2837
2978
  {
2838
- "kind": "method",
2839
- "name": "stop",
2979
+ "kind": "field",
2980
+ "name": "adoptRootStyles",
2981
+ "type": {
2982
+ "text": "boolean"
2983
+ },
2840
2984
  "privacy": "public",
2841
- "description": "Stops and resets the resizing state."
2985
+ "default": "false"
2842
2986
  },
2843
2987
  {
2844
- "kind": "method",
2845
- "name": "resize",
2846
- "privacy": "public",
2847
- "parameters": [
2848
- {
2849
- "name": "column",
2850
- "type": {
2851
- "text": "ColumnConfiguration<T>"
2852
- }
2853
- },
2854
- {
2855
- "name": "width",
2856
- "type": {
2857
- "text": "number"
2858
- }
2859
- },
2860
- {
2861
- "name": "sizerOffset",
2862
- "optional": true,
2863
- "type": {
2864
- "text": "number"
2865
- }
2866
- }
2867
- ]
2988
+ "kind": "field",
2989
+ "name": "columns",
2990
+ "type": {
2991
+ "text": "ColumnConfiguration<T>[]"
2992
+ },
2993
+ "privacy": "public",
2994
+ "default": "[]"
2868
2995
  },
2869
2996
  {
2870
- "kind": "method",
2871
- "name": "autosize",
2997
+ "kind": "field",
2998
+ "name": "headers",
2999
+ "type": {
3000
+ "text": "IgcGridLiteHeader<T>[]"
3001
+ },
2872
3002
  "privacy": "public",
3003
+ "readonly": true
3004
+ },
3005
+ {
3006
+ "kind": "method",
3007
+ "name": "_setActiveFilterColumn",
3008
+ "privacy": "private",
3009
+ "return": {
3010
+ "type": {
3011
+ "text": "void"
3012
+ }
3013
+ },
2873
3014
  "parameters": [
2874
3015
  {
2875
- "name": "column",
2876
- "type": {
2877
- "text": "ColumnConfiguration<T>"
2878
- }
2879
- },
2880
- {
2881
- "name": "header",
3016
+ "name": "event",
2882
3017
  "type": {
2883
- "text": "IgcGridLiteHeader<T>"
3018
+ "text": "PointerEvent"
2884
3019
  }
2885
3020
  }
2886
3021
  ]
2887
- },
2888
- {
2889
- "kind": "method",
2890
- "name": "hostConnected",
2891
- "privacy": "public"
2892
- },
2893
- {
2894
- "kind": "method",
2895
- "name": "renderIndicator",
2896
- "privacy": "public",
2897
- "description": "Renders the resize indicator in the grid."
2898
3022
  }
2899
- ]
3023
+ ],
3024
+ "superclass": {
3025
+ "name": "LitElement",
3026
+ "package": "lit"
3027
+ },
3028
+ "customElement": true
2900
3029
  }
2901
3030
  ],
2902
3031
  "exports": [
2903
3032
  {
2904
3033
  "kind": "js",
2905
- "name": "ResizeController",
3034
+ "name": "default",
2906
3035
  "declaration": {
2907
- "name": "ResizeController",
2908
- "module": "src/controllers/resize.ts"
3036
+ "name": "IgcGridLiteHeaderRow",
3037
+ "module": "src/components/header-row.ts"
2909
3038
  }
2910
3039
  }
2911
3040
  ]
2912
3041
  },
2913
3042
  {
2914
3043
  "kind": "javascript-module",
2915
- "path": "src/controllers/sort.ts",
3044
+ "path": "src/components/header.ts",
2916
3045
  "declarations": [
2917
3046
  {
2918
3047
  "kind": "class",
2919
3048
  "description": "",
2920
- "name": "SortController",
3049
+ "name": "IgcGridLiteHeader",
2921
3050
  "members": [
2922
3051
  {
2923
3052
  "kind": "field",
2924
- "name": "state",
2925
- "type": {
2926
- "text": "SortState<T>"
2927
- },
3053
+ "name": "tagName",
2928
3054
  "privacy": "public",
2929
- "default": "new Map()"
3055
+ "static": true,
3056
+ "readonly": true
3057
+ },
3058
+ {
3059
+ "kind": "method",
3060
+ "name": "register",
3061
+ "privacy": "public",
3062
+ "static": true,
3063
+ "return": {
3064
+ "type": {
3065
+ "text": "void"
3066
+ }
3067
+ }
2930
3068
  },
2931
3069
  {
2932
3070
  "kind": "field",
2933
- "name": "#isMultipleSort",
3071
+ "name": "_adoptedStylesController",
2934
3072
  "privacy": "private",
2935
3073
  "readonly": true
2936
3074
  },
2937
3075
  {
2938
3076
  "kind": "field",
2939
- "name": "#isTriStateSort",
2940
- "privacy": "private",
3077
+ "name": "context",
3078
+ "type": {
3079
+ "text": "IgcHeaderContext<T>"
3080
+ },
3081
+ "privacy": "protected",
2941
3082
  "readonly": true
2942
3083
  },
2943
3084
  {
2944
- "kind": "method",
2945
- "name": "#resolveSortOptions",
2946
- "privacy": "private",
2947
- "parameters": [
2948
- {
2949
- "name": "column",
2950
- "optional": true,
2951
- "type": {
2952
- "text": "ColumnConfiguration<T>"
2953
- }
2954
- }
2955
- ]
3085
+ "kind": "field",
3086
+ "name": "isSortable",
3087
+ "privacy": "protected",
3088
+ "readonly": true
2956
3089
  },
2957
3090
  {
2958
- "kind": "method",
2959
- "name": "#createDefaultExpression",
2960
- "privacy": "private",
2961
- "parameters": [
2962
- {
2963
- "name": "key",
2964
- "type": {
2965
- "text": "Keys<T>"
2966
- }
2967
- }
2968
- ]
3091
+ "kind": "field",
3092
+ "name": "resizeController",
3093
+ "privacy": "protected",
3094
+ "readonly": true
2969
3095
  },
2970
3096
  {
2971
- "kind": "method",
2972
- "name": "#orderBy",
2973
- "privacy": "private",
2974
- "return": {
2975
- "type": {
2976
- "text": "SortingDirection"
2977
- }
3097
+ "kind": "field",
3098
+ "name": "state",
3099
+ "type": {
3100
+ "text": "StateController<T>"
2978
3101
  },
2979
- "parameters": [
2980
- {
2981
- "name": "dir",
2982
- "optional": true,
2983
- "type": {
2984
- "text": "SortingDirection"
2985
- }
2986
- }
2987
- ]
3102
+ "privacy": "public"
3103
+ },
3104
+ {
3105
+ "kind": "field",
3106
+ "name": "column",
3107
+ "type": {
3108
+ "text": "ColumnConfiguration<T>"
3109
+ },
3110
+ "privacy": "public"
3111
+ },
3112
+ {
3113
+ "kind": "field",
3114
+ "name": "adoptRootStyles",
3115
+ "type": {
3116
+ "text": "boolean"
3117
+ },
3118
+ "privacy": "public",
3119
+ "default": "false"
2988
3120
  },
2989
3121
  {
2990
3122
  "kind": "method",
2991
- "name": "#emitSortingEvent",
2992
- "privacy": "private",
2993
- "parameters": [
2994
- {
2995
- "name": "detail",
2996
- "type": {
2997
- "text": "SortingExpression<T>"
2998
- }
2999
- }
3000
- ]
3123
+ "name": "_handleThemeChange",
3124
+ "privacy": "private"
3001
3125
  },
3002
3126
  {
3003
3127
  "kind": "method",
3004
- "name": "#emitSortedEvent",
3005
- "privacy": "private",
3006
- "parameters": [
3007
- {
3008
- "name": "detail",
3009
- "type": {
3010
- "text": "SortingExpression<T>"
3011
- }
3012
- }
3013
- ]
3128
+ "name": "#addResizeEventHandlers",
3129
+ "privacy": "private"
3014
3130
  },
3015
3131
  {
3016
3132
  "kind": "method",
3017
- "name": "#setExpression",
3133
+ "name": "#handleClick",
3018
3134
  "privacy": "private",
3019
3135
  "parameters": [
3020
3136
  {
3021
- "name": "expression",
3137
+ "name": "e",
3022
3138
  "type": {
3023
- "text": "SortingExpression<T>"
3139
+ "text": "Event"
3024
3140
  }
3025
3141
  }
3026
3142
  ]
3027
3143
  },
3028
3144
  {
3029
- "kind": "method",
3030
- "name": "sortFromHeaderClick",
3031
- "privacy": "public",
3032
- "parameters": [
3033
- {
3034
- "name": "column",
3035
- "type": {
3036
- "text": "ColumnConfiguration<T>"
3037
- }
3038
- }
3039
- ]
3145
+ "kind": "field",
3146
+ "name": "#handleResize",
3147
+ "privacy": "private"
3040
3148
  },
3041
3149
  {
3042
3150
  "kind": "method",
3043
- "name": "prepareExpression",
3044
- "privacy": "public",
3045
- "return": {
3046
- "type": {
3047
- "text": "SortingExpression<T>"
3048
- }
3049
- },
3151
+ "name": "#handleResizeStart",
3152
+ "privacy": "private",
3050
3153
  "parameters": [
3051
3154
  {
3052
- "name": "column",
3155
+ "name": "ev",
3053
3156
  "type": {
3054
- "text": "ColumnConfiguration<T>"
3157
+ "text": "PointerEvent"
3055
3158
  }
3056
3159
  }
3057
3160
  ]
3058
3161
  },
3059
3162
  {
3060
- "kind": "method",
3061
- "name": "reset",
3062
- "privacy": "public",
3063
- "parameters": [
3064
- {
3065
- "name": "key",
3066
- "optional": true,
3067
- "type": {
3068
- "text": "Keys<T>"
3069
- }
3070
- }
3071
- ]
3163
+ "kind": "field",
3164
+ "name": "#handlePointerLost",
3165
+ "privacy": "private"
3072
3166
  },
3073
3167
  {
3074
- "kind": "method",
3075
- "name": "_sort",
3076
- "privacy": "protected",
3077
- "parameters": [
3078
- {
3079
- "name": "expressions",
3080
- "type": {
3081
- "text": "SortingExpression<T> | SortingExpression<T>[]"
3082
- }
3083
- }
3084
- ]
3168
+ "kind": "field",
3169
+ "name": "#handleAutosize",
3170
+ "privacy": "private"
3085
3171
  },
3086
3172
  {
3087
3173
  "kind": "method",
3088
- "name": "sort",
3089
- "privacy": "public",
3090
- "parameters": [
3091
- {
3092
- "name": "expressions",
3093
- "type": {
3094
- "text": "SortingExpression<T> | SortingExpression<T>[]"
3095
- }
3096
- }
3097
- ]
3174
+ "name": "renderSortPart",
3175
+ "privacy": "protected"
3176
+ },
3177
+ {
3178
+ "kind": "method",
3179
+ "name": "renderContentPart",
3180
+ "privacy": "protected"
3098
3181
  },
3099
3182
  {
3100
3183
  "kind": "method",
3101
- "name": "hostConnected",
3102
- "privacy": "public"
3184
+ "name": "renderResizePart",
3185
+ "privacy": "protected"
3103
3186
  }
3104
- ]
3187
+ ],
3188
+ "superclass": {
3189
+ "name": "LitElement",
3190
+ "package": "lit"
3191
+ },
3192
+ "customElement": true
3105
3193
  }
3106
3194
  ],
3107
3195
  "exports": [
3108
3196
  {
3109
3197
  "kind": "js",
3110
- "name": "SortController",
3198
+ "name": "default",
3111
3199
  "declaration": {
3112
- "name": "SortController",
3113
- "module": "src/controllers/sort.ts"
3200
+ "name": "IgcGridLiteHeader",
3201
+ "module": "src/components/header.ts"
3114
3202
  }
3115
3203
  }
3116
3204
  ]
3117
3205
  },
3118
3206
  {
3119
3207
  "kind": "javascript-module",
3120
- "path": "src/controllers/state.ts",
3208
+ "path": "src/components/row.ts",
3121
3209
  "declarations": [
3122
3210
  {
3123
3211
  "kind": "class",
3124
- "description": "",
3125
- "name": "StateController",
3212
+ "description": "Component representing the DOM row in the IgcGridLite.",
3213
+ "name": "IgcGridLiteRow",
3126
3214
  "members": [
3127
3215
  {
3128
3216
  "kind": "field",
3129
- "name": "_columns",
3130
- "type": {
3131
- "text": "ColumnConfiguration<T>[]"
3132
- },
3133
- "privacy": "private",
3134
- "default": "[]"
3135
- },
3136
- {
3137
- "kind": "field",
3138
- "name": "_observersCallback",
3139
- "type": {
3140
- "text": "() => void"
3141
- },
3142
- "privacy": "private",
3143
- "readonly": true,
3144
- "default": "observersCallback"
3145
- },
3146
- {
3147
- "kind": "field",
3148
- "name": "host",
3149
- "type": {
3150
- "text": "GridHost<T>"
3151
- },
3152
- "privacy": "public",
3153
- "readonly": true,
3154
- "description": "The grid host element.",
3155
- "default": "host"
3156
- },
3157
- {
3158
- "kind": "field",
3159
- "name": "sorting",
3160
- "type": {
3161
- "text": "SortController<T>"
3162
- },
3217
+ "name": "tagName",
3163
3218
  "privacy": "public",
3164
- "readonly": true,
3165
- "default": "new SortController(this.host)"
3219
+ "static": true,
3220
+ "readonly": true
3166
3221
  },
3167
3222
  {
3168
- "kind": "field",
3169
- "name": "filtering",
3170
- "type": {
3171
- "text": "FilterController<T>"
3172
- },
3223
+ "kind": "method",
3224
+ "name": "register",
3173
3225
  "privacy": "public",
3174
- "readonly": true,
3175
- "default": "new FilterController(this)"
3226
+ "static": true,
3227
+ "return": {
3228
+ "type": {
3229
+ "text": "void"
3230
+ }
3231
+ }
3176
3232
  },
3177
3233
  {
3178
3234
  "kind": "field",
3179
- "name": "navigation",
3235
+ "name": "adoptRootStyles",
3180
3236
  "type": {
3181
- "text": "NavigationController<T>"
3237
+ "text": "boolean"
3182
3238
  },
3183
3239
  "privacy": "public",
3184
- "readonly": true,
3185
- "default": "new NavigationController(this)"
3240
+ "default": "false"
3186
3241
  },
3187
3242
  {
3188
3243
  "kind": "field",
3189
- "name": "resizing",
3244
+ "name": "data",
3190
3245
  "type": {
3191
- "text": "ResizeController<T>"
3246
+ "text": "T | undefined"
3192
3247
  },
3193
- "privacy": "public",
3194
- "readonly": true,
3195
- "default": "new ResizeController(this.host)"
3248
+ "privacy": "public"
3196
3249
  },
3197
3250
  {
3198
3251
  "kind": "field",
3199
3252
  "name": "columns",
3200
3253
  "type": {
3201
- "text": "ColumnConfiguration<T>[]"
3254
+ "text": "Array<ColumnConfiguration<T>>"
3202
3255
  },
3203
3256
  "privacy": "public",
3204
- "readonly": true
3257
+ "default": "[]"
3205
3258
  },
3206
3259
  {
3207
3260
  "kind": "field",
3208
- "name": "headerRow",
3261
+ "name": "activeNode",
3209
3262
  "type": {
3210
- "text": "IgcGridLiteHeaderRow<T> | null"
3263
+ "text": "ActiveNode<T> | undefined"
3211
3264
  },
3212
- "privacy": "public",
3213
- "description": "Returns the header row element of the grid.",
3214
- "readonly": true
3265
+ "privacy": "public"
3215
3266
  },
3216
3267
  {
3217
3268
  "kind": "field",
3218
- "name": "filterRow",
3269
+ "name": "index",
3219
3270
  "type": {
3220
- "text": "IgcFilterRow<T> | null"
3271
+ "text": "number"
3221
3272
  },
3222
3273
  "privacy": "public",
3223
- "description": "Returns the filter row element of the grid.",
3224
- "readonly": true
3274
+ "default": "-1"
3225
3275
  },
3226
3276
  {
3227
3277
  "kind": "field",
3228
- "name": "rows",
3278
+ "name": "cells",
3229
3279
  "type": {
3230
- "text": "IgcGridLiteRow<T>[]"
3280
+ "text": "IgcGridLiteCell<T>[]"
3231
3281
  },
3232
3282
  "privacy": "public",
3233
- "description": "Returns the data row elements of the grid.",
3234
3283
  "readonly": true
3235
- },
3284
+ }
3285
+ ],
3286
+ "superclass": {
3287
+ "name": "LitElement",
3288
+ "package": "lit"
3289
+ },
3290
+ "customElement": true
3291
+ }
3292
+ ],
3293
+ "exports": [
3294
+ {
3295
+ "kind": "js",
3296
+ "name": "default",
3297
+ "declaration": {
3298
+ "name": "IgcGridLiteRow",
3299
+ "module": "src/components/row.ts"
3300
+ }
3301
+ }
3302
+ ]
3303
+ },
3304
+ {
3305
+ "kind": "javascript-module",
3306
+ "path": "src/components/virtualizer.ts",
3307
+ "declarations": [
3308
+ {
3309
+ "kind": "class",
3310
+ "description": "",
3311
+ "name": "IgcVirtualizer",
3312
+ "members": [
3236
3313
  {
3237
3314
  "kind": "field",
3238
- "name": "virtualizer",
3239
- "type": {
3240
- "text": "IgcVirtualizer | null"
3241
- },
3315
+ "name": "tagName",
3242
3316
  "privacy": "public",
3243
- "description": "Returns the virtualizer element of the grid.",
3317
+ "static": true,
3244
3318
  "readonly": true
3245
3319
  },
3246
3320
  {
3247
3321
  "kind": "field",
3248
- "name": "active",
3322
+ "name": "layout",
3249
3323
  "type": {
3250
- "text": "ActiveNode<T>"
3324
+ "text": "LitVirtualizer['layout']"
3251
3325
  },
3252
3326
  "privacy": "public",
3253
- "description": "Sets the currently active node in the grid."
3327
+ "default": "{ type: IgcFlowLayout, }"
3254
3328
  },
3255
3329
  {
3256
3330
  "kind": "method",
3257
- "name": "hostUpdate",
3331
+ "name": "register",
3258
3332
  "privacy": "public",
3333
+ "static": true,
3259
3334
  "return": {
3260
3335
  "type": {
3261
3336
  "text": "void"
@@ -3263,92 +3338,28 @@
3263
3338
  }
3264
3339
  },
3265
3340
  {
3266
- "kind": "method",
3267
- "name": "setColumnConfiguration",
3268
- "privacy": "public",
3269
- "return": {
3270
- "type": {
3271
- "text": "void"
3272
- }
3341
+ "kind": "field",
3342
+ "name": "scroller",
3343
+ "type": {
3344
+ "text": "boolean"
3273
3345
  },
3274
- "parameters": [
3275
- {
3276
- "name": "columns",
3277
- "type": {
3278
- "text": "ColumnConfiguration<T>[]"
3279
- }
3280
- }
3281
- ]
3282
- },
3283
- {
3284
- "kind": "method",
3285
- "name": "setAutoColumnConfiguration",
3286
- "privacy": "public",
3287
- "return": {
3288
- "type": {
3289
- "text": "void"
3290
- }
3291
- }
3292
- },
3293
- {
3294
- "kind": "method",
3295
- "name": "updateColumnsConfiguration",
3296
3346
  "privacy": "public",
3297
- "return": {
3298
- "type": {
3299
- "text": "void"
3300
- }
3301
- },
3302
- "parameters": [
3303
- {
3304
- "name": "config",
3305
- "type": {
3306
- "text": "ColumnConfiguration<T>[]"
3307
- }
3308
- }
3309
- ]
3310
- }
3311
- ]
3312
- },
3313
- {
3314
- "kind": "function",
3315
- "name": "createStateController",
3316
- "return": {
3317
- "type": {
3318
- "text": "StateController<T>"
3319
- }
3320
- },
3321
- "parameters": [
3322
- {
3323
- "name": "host",
3324
- "type": {
3325
- "text": "GridHost<T>"
3326
- }
3327
- },
3328
- {
3329
- "name": "observersCallback",
3330
- "type": {
3331
- "text": "() => void"
3332
- }
3347
+ "default": "true"
3333
3348
  }
3334
- ]
3349
+ ],
3350
+ "superclass": {
3351
+ "name": "LitVirtualizer",
3352
+ "package": "@lit-labs/virtualizer/LitVirtualizer.js"
3353
+ }
3335
3354
  }
3336
3355
  ],
3337
3356
  "exports": [
3338
3357
  {
3339
3358
  "kind": "js",
3340
- "name": "createStateController",
3341
- "declaration": {
3342
- "name": "createStateController",
3343
- "module": "src/controllers/state.ts"
3344
- }
3345
- },
3346
- {
3347
- "kind": "js",
3348
- "name": "StateController",
3359
+ "name": "default",
3349
3360
  "declaration": {
3350
- "name": "StateController",
3351
- "module": "src/controllers/state.ts"
3361
+ "name": "IgcVirtualizer",
3362
+ "module": "src/components/virtualizer.ts"
3352
3363
  }
3353
3364
  }
3354
3365
  ]