igniteui-grid-lite 0.1.0 → 0.2.0

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