igniteui-grid-lite 0.4.0-beta.1 → 0.4.0-beta.3

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