apex-grid 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/custom-elements.json +958 -906
  2. package/dist/bundle.js +6 -3
  3. package/dist/docs/assets/main.js +3 -3
  4. package/dist/docs/assets/search.js +1 -1
  5. package/dist/docs/assets/style.css +447 -362
  6. package/dist/docs/classes/ApexGrid.html +138 -112
  7. package/dist/docs/index.html +51 -57
  8. package/dist/docs/interfaces/ApexFilteredEvent.html +53 -27
  9. package/dist/docs/interfaces/ApexFilteringEvent.html +57 -31
  10. package/dist/docs/interfaces/ApexGridEventMap.html +61 -35
  11. package/dist/docs/interfaces/ApexHeaderContext.html +53 -27
  12. package/dist/docs/interfaces/BaseApexCellContext.html +62 -36
  13. package/dist/docs/interfaces/BaseColumnConfiguration.html +92 -66
  14. package/dist/docs/interfaces/BaseColumnSortConfiguration.html +54 -28
  15. package/dist/docs/interfaces/BaseFilterExpression.html +66 -40
  16. package/dist/docs/interfaces/BaseSortExpression.html +62 -36
  17. package/dist/docs/interfaces/ColumnFilterConfiguration.html +46 -20
  18. package/dist/docs/interfaces/DataPipelineConfiguration.html +53 -27
  19. package/dist/docs/interfaces/GridSortConfiguration.html +50 -24
  20. package/dist/docs/modules.html +69 -74
  21. package/dist/docs/types/ApexCellContext.html +46 -51
  22. package/dist/docs/types/BasePropertyType.html +45 -50
  23. package/dist/docs/types/BaseSortComparer.html +49 -54
  24. package/dist/docs/types/ColumnConfiguration.html +46 -51
  25. package/dist/docs/types/ColumnSortConfiguration.html +46 -51
  26. package/dist/docs/types/DataPipelineHook.html +48 -53
  27. package/dist/docs/types/DataPipelineParams.html +48 -53
  28. package/dist/docs/types/DataType.html +41 -46
  29. package/dist/docs/types/FilterCriteria.html +41 -46
  30. package/dist/docs/types/FilterExpression.html +46 -51
  31. package/dist/docs/types/Keys.html +44 -49
  32. package/dist/docs/types/PropertyType.html +45 -50
  33. package/dist/docs/types/SortComparer.html +46 -51
  34. package/dist/docs/types/SortExpression.html +46 -51
  35. package/dist/docs/types/SortState.html +44 -49
  36. package/dist/docs/types/SortingDirection.html +41 -46
  37. package/dist/src/components/cell.js +2 -1
  38. package/dist/src/components/cell.js.map +1 -1
  39. package/dist/src/components/filter-row.d.ts +1 -1
  40. package/dist/src/components/filter-row.d.ts.map +1 -1
  41. package/dist/src/components/filter-row.js +2 -1
  42. package/dist/src/components/filter-row.js.map +1 -1
  43. package/dist/src/components/grid.d.ts +1 -1
  44. package/dist/src/components/grid.d.ts.map +1 -1
  45. package/dist/src/components/grid.js +4 -1
  46. package/dist/src/components/grid.js.map +1 -1
  47. package/dist/src/components/header-row.js +2 -1
  48. package/dist/src/components/header-row.js.map +1 -1
  49. package/dist/src/components/header.d.ts +1 -1
  50. package/dist/src/components/header.d.ts.map +1 -1
  51. package/dist/src/components/header.js +2 -1
  52. package/dist/src/components/header.js.map +1 -1
  53. package/dist/src/components/row.js +2 -1
  54. package/dist/src/components/row.js.map +1 -1
  55. package/dist/src/controllers/dom.d.ts +1 -1
  56. package/dist/src/controllers/dom.d.ts.map +1 -1
  57. package/dist/src/controllers/filter.d.ts +3 -3
  58. package/dist/src/controllers/filter.d.ts.map +1 -1
  59. package/dist/src/controllers/filter.js +1 -1
  60. package/dist/src/controllers/filter.js.map +1 -1
  61. package/dist/src/controllers/navigation.d.ts +1 -1
  62. package/dist/src/controllers/navigation.d.ts.map +1 -1
  63. package/dist/src/controllers/resize.js +1 -1
  64. package/dist/src/controllers/resize.js.map +1 -1
  65. package/dist/src/controllers/sort.js +1 -1
  66. package/dist/src/controllers/sort.js.map +1 -1
  67. package/dist/src/controllers/state.d.ts +2 -2
  68. package/dist/src/controllers/state.d.ts.map +1 -1
  69. package/dist/src/internal/constants.d.ts +2 -2
  70. package/dist/src/internal/constants.d.ts.map +1 -1
  71. package/dist/src/internal/utils.d.ts +1 -1
  72. package/dist/src/internal/utils.d.ts.map +1 -1
  73. package/dist/src/operations/filter/tree.d.ts +5 -5
  74. package/dist/src/operations/filter/tree.d.ts.map +1 -1
  75. package/package.json +28 -28
@@ -46,6 +46,14 @@
46
46
  "module": "./components/grid.js"
47
47
  }
48
48
  },
49
+ {
50
+ "kind": "js",
51
+ "name": "ApexFilteredEvent",
52
+ "declaration": {
53
+ "name": "ApexFilteredEvent",
54
+ "module": "./components/grid.js"
55
+ }
56
+ },
49
57
  {
50
58
  "kind": "js",
51
59
  "name": "BooleanOperands",
@@ -309,7 +317,8 @@
309
317
  "kind": "field",
310
318
  "name": "is",
311
319
  "privacy": "public",
312
- "static": true
320
+ "static": true,
321
+ "readonly": true
313
322
  },
314
323
  {
315
324
  "kind": "method",
@@ -362,7 +371,8 @@
362
371
  "type": {
363
372
  "text": "ApexCellContext<T>"
364
373
  },
365
- "privacy": "protected"
374
+ "privacy": "protected",
375
+ "readonly": true
366
376
  }
367
377
  ],
368
378
  "attributes": [
@@ -407,7 +417,8 @@
407
417
  "kind": "field",
408
418
  "name": "is",
409
419
  "privacy": "public",
410
- "static": true
420
+ "static": true,
421
+ "readonly": true
411
422
  },
412
423
  {
413
424
  "kind": "method",
@@ -426,17 +437,20 @@
426
437
  {
427
438
  "kind": "field",
428
439
  "name": "isNumeric",
429
- "privacy": "protected"
440
+ "privacy": "protected",
441
+ "readonly": true
430
442
  },
431
443
  {
432
444
  "kind": "field",
433
445
  "name": "filterController",
434
- "privacy": "protected"
446
+ "privacy": "protected",
447
+ "readonly": true
435
448
  },
436
449
  {
437
450
  "kind": "field",
438
451
  "name": "condition",
439
- "privacy": "protected"
452
+ "privacy": "protected",
453
+ "readonly": true
440
454
  },
441
455
  {
442
456
  "kind": "field",
@@ -724,7 +738,8 @@
724
738
  "kind": "field",
725
739
  "name": "is",
726
740
  "privacy": "public",
727
- "static": true
741
+ "static": true,
742
+ "readonly": true
728
743
  },
729
744
  {
730
745
  "kind": "method",
@@ -754,7 +769,7 @@
754
769
  "kind": "field",
755
770
  "name": "stateProvider",
756
771
  "privacy": "protected",
757
- "default": "new ContextProvider(this, gridStateContext, this.stateController)"
772
+ "default": "new ContextProvider(this, {\n context: gridStateContext,\n initialValue: this.stateController,\n })"
758
773
  },
759
774
  {
760
775
  "kind": "field",
@@ -869,7 +884,8 @@
869
884
  "kind": "field",
870
885
  "name": "rows",
871
886
  "privacy": "public",
872
- "description": "Returns the collection of rendered row elements in the grid."
887
+ "description": "Returns the collection of rendered row elements in the grid.",
888
+ "readonly": true
873
889
  },
874
890
  {
875
891
  "kind": "field",
@@ -878,13 +894,15 @@
878
894
  "text": "ReadonlyArray<T>"
879
895
  },
880
896
  "privacy": "public",
881
- "description": "Returns the state of the data source after sort/filter operations\nhave been applied."
897
+ "description": "Returns the state of the data source after sort/filter operations\nhave been applied.",
898
+ "readonly": true
882
899
  },
883
900
  {
884
901
  "kind": "field",
885
902
  "name": "totalItems",
886
903
  "privacy": "public",
887
- "description": "The total number of items in the ApexGrid.dataView collection."
904
+ "description": "The total number of items in the ApexGrid.dataView collection.",
905
+ "readonly": true
888
906
  },
889
907
  {
890
908
  "kind": "method",
@@ -1214,7 +1232,8 @@
1214
1232
  "kind": "field",
1215
1233
  "name": "is",
1216
1234
  "privacy": "public",
1217
- "static": true
1235
+ "static": true,
1236
+ "readonly": true
1218
1237
  },
1219
1238
  {
1220
1239
  "kind": "method",
@@ -1250,7 +1269,8 @@
1250
1269
  {
1251
1270
  "kind": "field",
1252
1271
  "name": "headers",
1253
- "privacy": "public"
1272
+ "privacy": "public",
1273
+ "readonly": true
1254
1274
  },
1255
1275
  {
1256
1276
  "kind": "method",
@@ -1296,7 +1316,8 @@
1296
1316
  "kind": "field",
1297
1317
  "name": "is",
1298
1318
  "privacy": "public",
1299
- "static": true
1319
+ "static": true,
1320
+ "readonly": true
1300
1321
  },
1301
1322
  {
1302
1323
  "kind": "method",
@@ -1310,17 +1331,20 @@
1310
1331
  "type": {
1311
1332
  "text": "ApexHeaderContext<T>"
1312
1333
  },
1313
- "privacy": "protected"
1334
+ "privacy": "protected",
1335
+ "readonly": true
1314
1336
  },
1315
1337
  {
1316
1338
  "kind": "field",
1317
1339
  "name": "isSortable",
1318
- "privacy": "protected"
1340
+ "privacy": "protected",
1341
+ "readonly": true
1319
1342
  },
1320
1343
  {
1321
1344
  "kind": "field",
1322
1345
  "name": "resizeController",
1323
- "privacy": "protected"
1346
+ "privacy": "protected",
1347
+ "readonly": true
1324
1348
  },
1325
1349
  {
1326
1350
  "kind": "field",
@@ -1428,7 +1452,8 @@
1428
1452
  "kind": "field",
1429
1453
  "name": "is",
1430
1454
  "privacy": "public",
1431
- "static": true
1455
+ "static": true,
1456
+ "readonly": true
1432
1457
  },
1433
1458
  {
1434
1459
  "kind": "method",
@@ -1464,7 +1489,8 @@
1464
1489
  {
1465
1490
  "kind": "field",
1466
1491
  "name": "cells",
1467
- "privacy": "public"
1492
+ "privacy": "public",
1493
+ "readonly": true
1468
1494
  },
1469
1495
  {
1470
1496
  "kind": "field",
@@ -1515,7 +1541,8 @@
1515
1541
  "kind": "field",
1516
1542
  "name": "is",
1517
1543
  "privacy": "public",
1518
- "static": true
1544
+ "static": true,
1545
+ "readonly": true
1519
1546
  },
1520
1547
  {
1521
1548
  "kind": "method",
@@ -1579,22 +1606,26 @@
1579
1606
  {
1580
1607
  "kind": "field",
1581
1608
  "name": "hasCustomSort",
1582
- "privacy": "protected"
1609
+ "privacy": "protected",
1610
+ "readonly": true
1583
1611
  },
1584
1612
  {
1585
1613
  "kind": "field",
1586
1614
  "name": "hasCustomFilter",
1587
- "privacy": "protected"
1615
+ "privacy": "protected",
1616
+ "readonly": true
1588
1617
  },
1589
1618
  {
1590
1619
  "kind": "field",
1591
1620
  "name": "customFilter",
1592
- "privacy": "protected"
1621
+ "privacy": "protected",
1622
+ "readonly": true
1593
1623
  },
1594
1624
  {
1595
1625
  "kind": "field",
1596
1626
  "name": "customSort",
1597
- "privacy": "protected"
1627
+ "privacy": "protected",
1628
+ "readonly": true
1598
1629
  },
1599
1630
  {
1600
1631
  "kind": "method",
@@ -1646,7 +1677,8 @@
1646
1677
  {
1647
1678
  "kind": "field",
1648
1679
  "name": "container",
1649
- "privacy": "public"
1680
+ "privacy": "public",
1681
+ "readonly": true
1650
1682
  },
1651
1683
  {
1652
1684
  "kind": "field",
@@ -1743,12 +1775,14 @@
1743
1775
  {
1744
1776
  "kind": "field",
1745
1777
  "name": "filterRow",
1746
- "privacy": "public"
1778
+ "privacy": "public",
1779
+ "readonly": true
1747
1780
  },
1748
1781
  {
1749
1782
  "kind": "field",
1750
1783
  "name": "#virtualizer",
1751
- "privacy": "private"
1784
+ "privacy": "private",
1785
+ "readonly": true
1752
1786
  },
1753
1787
  {
1754
1788
  "kind": "method",
@@ -1773,10 +1807,10 @@
1773
1807
  "name": "#emitFilteredEvent",
1774
1808
  "parameters": [
1775
1809
  {
1776
- "name": "state",
1810
+ "name": "detail",
1777
1811
  "optional": true,
1778
1812
  "type": {
1779
- "text": "FilterExpression<T>[]"
1813
+ "text": "ApexFilteredEvent<T>"
1780
1814
  }
1781
1815
  }
1782
1816
  ]
@@ -1952,7 +1986,8 @@
1952
1986
  {
1953
1987
  "kind": "field",
1954
1988
  "name": "virtualizer",
1955
- "privacy": "protected"
1989
+ "privacy": "protected",
1990
+ "readonly": true
1956
1991
  },
1957
1992
  {
1958
1993
  "kind": "field",
@@ -1969,17 +2004,20 @@
1969
2004
  {
1970
2005
  "kind": "field",
1971
2006
  "name": "nextNode",
1972
- "privacy": "protected"
2007
+ "privacy": "protected",
2008
+ "readonly": true
1973
2009
  },
1974
2010
  {
1975
2011
  "kind": "field",
1976
2012
  "name": "columns",
1977
- "privacy": "protected"
2013
+ "privacy": "protected",
2014
+ "readonly": true
1978
2015
  },
1979
2016
  {
1980
2017
  "kind": "field",
1981
2018
  "name": "firstColumn",
1982
- "privacy": "protected"
2019
+ "privacy": "protected",
2020
+ "readonly": true
1983
2021
  },
1984
2022
  {
1985
2023
  "kind": "method",
@@ -2249,12 +2287,14 @@
2249
2287
  {
2250
2288
  "kind": "field",
2251
2289
  "name": "#isMultipleSort",
2252
- "privacy": "private"
2290
+ "privacy": "private",
2291
+ "readonly": true
2253
2292
  },
2254
2293
  {
2255
2294
  "kind": "field",
2256
2295
  "name": "#isTriStateSort",
2257
- "privacy": "private"
2296
+ "privacy": "private",
2297
+ "readonly": true
2258
2298
  },
2259
2299
  {
2260
2300
  "kind": "method",
@@ -2474,12 +2514,14 @@
2474
2514
  {
2475
2515
  "kind": "field",
2476
2516
  "name": "headerRow",
2477
- "privacy": "public"
2517
+ "privacy": "public",
2518
+ "readonly": true
2478
2519
  },
2479
2520
  {
2480
2521
  "kind": "field",
2481
2522
  "name": "scrollContainer",
2482
- "privacy": "public"
2523
+ "privacy": "public",
2524
+ "readonly": true
2483
2525
  },
2484
2526
  {
2485
2527
  "kind": "method",
@@ -2529,831 +2571,448 @@
2529
2571
  },
2530
2572
  {
2531
2573
  "kind": "javascript-module",
2532
- "path": "src/operations/base.ts",
2574
+ "path": "src/internal/constants.ts",
2533
2575
  "declarations": [
2534
2576
  {
2535
- "kind": "class",
2536
- "description": "",
2537
- "name": "DataOperation",
2538
- "members": [
2539
- {
2540
- "kind": "method",
2541
- "name": "resolveValue",
2542
- "privacy": "protected",
2543
- "parameters": [
2544
- {
2545
- "name": "record",
2546
- "type": {
2547
- "text": "T"
2548
- }
2549
- },
2550
- {
2551
- "name": "key",
2552
- "type": {
2553
- "text": "K"
2554
- }
2555
- }
2556
- ]
2557
- },
2558
- {
2559
- "kind": "method",
2560
- "name": "resolveCase",
2561
- "privacy": "protected",
2562
- "parameters": [
2563
- {
2564
- "name": "value",
2565
- "type": {
2566
- "text": "U"
2567
- }
2568
- },
2569
- {
2570
- "name": "caseSensitive",
2571
- "optional": true,
2572
- "type": {
2573
- "text": "boolean"
2574
- }
2575
- }
2576
- ]
2577
- },
2578
- {
2579
- "kind": "method",
2580
- "name": "apply",
2581
- "privacy": "public",
2582
- "return": {
2583
- "type": {
2584
- "text": "T[]"
2585
- }
2586
- },
2587
- "parameters": [
2588
- {
2589
- "name": "args",
2590
- "type": {
2591
- "text": "unknown[]"
2592
- }
2593
- }
2594
- ]
2595
- }
2596
- ]
2577
+ "kind": "variable",
2578
+ "name": "PIPELINE",
2579
+ "type": {
2580
+ "text": "string"
2581
+ },
2582
+ "default": "'pipeline'"
2583
+ },
2584
+ {
2585
+ "kind": "variable",
2586
+ "name": "SORT_ICON_ASCENDING",
2587
+ "type": {
2588
+ "text": "'arrow-upward'"
2589
+ },
2590
+ "default": "'arrow-upward'"
2591
+ },
2592
+ {
2593
+ "kind": "variable",
2594
+ "name": "SORT_ICON_DESCENDING",
2595
+ "type": {
2596
+ "text": "'arrow-downward'"
2597
+ },
2598
+ "default": "'arrow-downward'"
2599
+ },
2600
+ {
2601
+ "kind": "variable",
2602
+ "name": "MIN_COL_RESIZE_WIDTH",
2603
+ "type": {
2604
+ "text": "number"
2605
+ },
2606
+ "default": "80"
2607
+ },
2608
+ {
2609
+ "kind": "variable",
2610
+ "name": "SENTINEL_NODE",
2611
+ "type": {
2612
+ "text": "Readonly<ActiveNode<any>>"
2613
+ }
2614
+ },
2615
+ {
2616
+ "kind": "variable",
2617
+ "name": "DEFAULT_COLUMN_CONFIG"
2618
+ },
2619
+ {
2620
+ "kind": "variable",
2621
+ "name": "NAVIGATION_STATE",
2622
+ "type": {
2623
+ "text": "Map<NavigationState, ActiveNode<any>>"
2624
+ },
2625
+ "default": "new Map([\n ['previous', SENTINEL_NODE],\n ['current', SENTINEL_NODE],\n])"
2597
2626
  }
2598
2627
  ],
2599
2628
  "exports": [
2600
2629
  {
2601
2630
  "kind": "js",
2602
- "name": "default",
2631
+ "name": "PIPELINE",
2603
2632
  "declaration": {
2604
- "name": "DataOperation",
2605
- "module": "src/operations/base.ts"
2633
+ "name": "PIPELINE",
2634
+ "module": "src/internal/constants.ts"
2635
+ }
2636
+ },
2637
+ {
2638
+ "kind": "js",
2639
+ "name": "SORT_ICON_ASCENDING",
2640
+ "declaration": {
2641
+ "name": "SORT_ICON_ASCENDING",
2642
+ "module": "src/internal/constants.ts"
2643
+ }
2644
+ },
2645
+ {
2646
+ "kind": "js",
2647
+ "name": "SORT_ICON_DESCENDING",
2648
+ "declaration": {
2649
+ "name": "SORT_ICON_DESCENDING",
2650
+ "module": "src/internal/constants.ts"
2651
+ }
2652
+ },
2653
+ {
2654
+ "kind": "js",
2655
+ "name": "MIN_COL_RESIZE_WIDTH",
2656
+ "declaration": {
2657
+ "name": "MIN_COL_RESIZE_WIDTH",
2658
+ "module": "src/internal/constants.ts"
2659
+ }
2660
+ },
2661
+ {
2662
+ "kind": "js",
2663
+ "name": "SENTINEL_NODE",
2664
+ "declaration": {
2665
+ "name": "SENTINEL_NODE",
2666
+ "module": "src/internal/constants.ts"
2667
+ }
2668
+ },
2669
+ {
2670
+ "kind": "js",
2671
+ "name": "DEFAULT_COLUMN_CONFIG",
2672
+ "declaration": {
2673
+ "name": "DEFAULT_COLUMN_CONFIG",
2674
+ "module": "src/internal/constants.ts"
2675
+ }
2676
+ },
2677
+ {
2678
+ "kind": "js",
2679
+ "name": "NAVIGATION_STATE",
2680
+ "declaration": {
2681
+ "name": "NAVIGATION_STATE",
2682
+ "module": "src/internal/constants.ts"
2606
2683
  }
2607
2684
  }
2608
2685
  ]
2609
2686
  },
2610
2687
  {
2611
2688
  "kind": "javascript-module",
2612
- "path": "src/operations/filter.ts",
2689
+ "path": "src/internal/icon-registry.ts",
2613
2690
  "declarations": [
2614
2691
  {
2615
- "kind": "class",
2616
- "description": "",
2617
- "name": "FilterDataOperation",
2618
- "members": [
2619
- {
2620
- "kind": "method",
2621
- "name": "resolveFilter",
2622
- "privacy": "protected",
2623
- "parameters": [
2624
- {
2625
- "name": "record",
2626
- "type": {
2627
- "text": "T"
2628
- }
2629
- },
2630
- {
2631
- "name": "expr",
2632
- "type": {
2633
- "text": "FilterExpression<T>"
2634
- }
2635
- }
2636
- ]
2637
- },
2638
- {
2639
- "kind": "method",
2640
- "name": "match",
2641
- "privacy": "protected",
2642
- "return": {
2643
- "type": {
2644
- "text": "boolean"
2645
- }
2646
- },
2647
- "parameters": [
2648
- {
2649
- "name": "record",
2650
- "type": {
2651
- "text": "T"
2652
- }
2653
- },
2654
- {
2655
- "name": "ands",
2656
- "type": {
2657
- "text": "FilterExpression<T>[]"
2658
- }
2659
- },
2660
- {
2661
- "name": "ors",
2662
- "type": {
2663
- "text": "FilterExpression<T>[]"
2664
- }
2665
- }
2666
- ]
2667
- },
2692
+ "kind": "function",
2693
+ "name": "registerGridIcons"
2694
+ }
2695
+ ],
2696
+ "exports": [
2697
+ {
2698
+ "kind": "js",
2699
+ "name": "registerGridIcons",
2700
+ "declaration": {
2701
+ "name": "registerGridIcons",
2702
+ "module": "src/internal/icon-registry.ts"
2703
+ }
2704
+ }
2705
+ ]
2706
+ },
2707
+ {
2708
+ "kind": "javascript-module",
2709
+ "path": "src/internal/is-defined.ts",
2710
+ "declarations": [
2711
+ {
2712
+ "kind": "function",
2713
+ "name": "isDefined",
2714
+ "return": {
2715
+ "type": {
2716
+ "text": "value is NonNullable<T>"
2717
+ }
2718
+ },
2719
+ "parameters": [
2668
2720
  {
2669
- "kind": "method",
2670
- "name": "apply",
2671
- "privacy": "public",
2672
- "return": {
2673
- "type": {
2674
- "text": "T[]"
2675
- }
2676
- },
2677
- "parameters": [
2678
- {
2679
- "name": "data",
2680
- "type": {
2681
- "text": "T[]"
2682
- }
2683
- },
2684
- {
2685
- "name": "state",
2686
- "type": {
2687
- "text": "FilterState<T>"
2688
- }
2689
- }
2690
- ],
2691
- "inheritedFrom": {
2692
- "name": "DataOperation",
2693
- "module": "src/operations/base.ts"
2721
+ "name": "value",
2722
+ "type": {
2723
+ "text": "T | null | undefined"
2694
2724
  }
2695
- },
2725
+ }
2726
+ ]
2727
+ }
2728
+ ],
2729
+ "exports": [
2730
+ {
2731
+ "kind": "js",
2732
+ "name": "isDefined",
2733
+ "declaration": {
2734
+ "name": "isDefined",
2735
+ "module": "src/internal/is-defined.ts"
2736
+ }
2737
+ }
2738
+ ]
2739
+ },
2740
+ {
2741
+ "kind": "javascript-module",
2742
+ "path": "src/internal/normalize-case.ts",
2743
+ "declarations": [
2744
+ {
2745
+ "kind": "function",
2746
+ "name": "normalizeCase",
2747
+ "parameters": [
2696
2748
  {
2697
- "kind": "method",
2698
- "name": "resolveValue",
2699
- "privacy": "protected",
2700
- "parameters": [
2701
- {
2702
- "name": "record",
2703
- "type": {
2704
- "text": "T"
2705
- }
2706
- },
2707
- {
2708
- "name": "key",
2709
- "type": {
2710
- "text": "K"
2711
- }
2712
- }
2713
- ],
2714
- "inheritedFrom": {
2715
- "name": "DataOperation",
2716
- "module": "src/operations/base.ts"
2749
+ "name": "string",
2750
+ "type": {
2751
+ "text": "string"
2717
2752
  }
2718
2753
  },
2719
2754
  {
2720
- "kind": "method",
2721
- "name": "resolveCase",
2722
- "privacy": "protected",
2723
- "parameters": [
2724
- {
2725
- "name": "value",
2726
- "type": {
2727
- "text": "U"
2728
- }
2729
- },
2730
- {
2731
- "name": "caseSensitive",
2732
- "optional": true,
2733
- "type": {
2734
- "text": "boolean"
2735
- }
2736
- }
2737
- ],
2738
- "inheritedFrom": {
2739
- "name": "DataOperation",
2740
- "module": "src/operations/base.ts"
2755
+ "name": "caseSensitive",
2756
+ "optional": true,
2757
+ "type": {
2758
+ "text": "boolean"
2741
2759
  }
2742
2760
  }
2743
- ],
2744
- "superclass": {
2745
- "name": "DataOperation",
2746
- "module": "/src/operations/base.js"
2747
- }
2761
+ ]
2748
2762
  }
2749
2763
  ],
2750
2764
  "exports": [
2751
2765
  {
2752
2766
  "kind": "js",
2753
- "name": "default",
2767
+ "name": "normalizeCase",
2754
2768
  "declaration": {
2755
- "name": "FilterDataOperation",
2756
- "module": "src/operations/filter.ts"
2769
+ "name": "normalizeCase",
2770
+ "module": "src/internal/normalize-case.ts"
2757
2771
  }
2758
2772
  }
2759
2773
  ]
2760
2774
  },
2761
2775
  {
2762
2776
  "kind": "javascript-module",
2763
- "path": "src/operations/sort.ts",
2777
+ "path": "src/internal/part-map.ts",
2764
2778
  "declarations": [
2765
2779
  {
2766
- "kind": "class",
2767
- "description": "",
2768
- "name": "SortDataOperation",
2769
- "members": [
2770
- {
2771
- "kind": "field",
2772
- "name": "orderBy",
2773
- "privacy": "protected",
2774
- "default": "new Map(\n Object.entries({\n ascending: 1,\n descending: -1,\n }),\n )"
2775
- },
2780
+ "kind": "function",
2781
+ "name": "partNameMap",
2782
+ "parameters": [
2776
2783
  {
2777
- "kind": "method",
2778
- "name": "compareValues",
2779
- "privacy": "protected",
2780
- "parameters": [
2781
- {
2782
- "name": "first",
2783
- "type": {
2784
- "text": "U"
2785
- }
2786
- },
2787
- {
2788
- "name": "second",
2789
- "type": {
2790
- "text": "U"
2791
- }
2792
- }
2793
- ]
2794
- },
2784
+ "name": "parts",
2785
+ "type": {
2786
+ "text": "PartNameInfo"
2787
+ }
2788
+ }
2789
+ ]
2790
+ }
2791
+ ],
2792
+ "exports": [
2793
+ {
2794
+ "kind": "js",
2795
+ "name": "partNameMap",
2796
+ "declaration": {
2797
+ "name": "partNameMap",
2798
+ "module": "src/internal/part-map.ts"
2799
+ }
2800
+ }
2801
+ ]
2802
+ },
2803
+ {
2804
+ "kind": "javascript-module",
2805
+ "path": "src/internal/register.ts",
2806
+ "declarations": [
2807
+ {
2808
+ "kind": "function",
2809
+ "name": "registerComponent",
2810
+ "parameters": [
2795
2811
  {
2796
- "kind": "method",
2797
- "name": "compareObjects",
2798
- "privacy": "protected",
2799
- "parameters": [
2800
- {
2801
- "name": "first",
2802
- "type": {
2803
- "text": "T"
2804
- }
2805
- },
2806
- {
2807
- "name": "second",
2808
- "type": {
2809
- "text": "T"
2810
- }
2811
- },
2812
- {
2813
- "name": "expression",
2814
- "type": {
2815
- "text": "SortExpression<T>"
2816
- }
2817
- }
2818
- ]
2812
+ "name": "component",
2813
+ "type": {
2814
+ "text": "ApexComponent"
2815
+ }
2819
2816
  },
2820
2817
  {
2821
- "kind": "method",
2822
- "name": "apply",
2823
- "privacy": "public",
2824
- "return": {
2825
- "type": {
2826
- "text": "T[]"
2827
- }
2828
- },
2829
- "parameters": [
2830
- {
2831
- "name": "data",
2832
- "type": {
2833
- "text": "T[]"
2834
- }
2835
- },
2836
- {
2837
- "name": "state",
2838
- "type": {
2839
- "text": "SortState<T>"
2840
- }
2841
- }
2842
- ],
2843
- "inheritedFrom": {
2844
- "name": "DataOperation",
2845
- "module": "src/operations/base.ts"
2846
- }
2847
- },
2848
- {
2849
- "kind": "method",
2850
- "name": "resolveValue",
2851
- "privacy": "protected",
2852
- "parameters": [
2853
- {
2854
- "name": "record",
2855
- "type": {
2856
- "text": "T"
2857
- }
2858
- },
2859
- {
2860
- "name": "key",
2861
- "type": {
2862
- "text": "K"
2863
- }
2864
- }
2865
- ],
2866
- "inheritedFrom": {
2867
- "name": "DataOperation",
2868
- "module": "src/operations/base.ts"
2869
- }
2870
- },
2871
- {
2872
- "kind": "method",
2873
- "name": "resolveCase",
2874
- "privacy": "protected",
2875
- "parameters": [
2876
- {
2877
- "name": "value",
2878
- "type": {
2879
- "text": "U"
2880
- }
2881
- },
2882
- {
2883
- "name": "caseSensitive",
2884
- "optional": true,
2885
- "type": {
2886
- "text": "boolean"
2887
- }
2888
- }
2889
- ],
2890
- "inheritedFrom": {
2891
- "name": "DataOperation",
2892
- "module": "src/operations/base.ts"
2818
+ "name": "dependencies",
2819
+ "default": "[]",
2820
+ "type": {
2821
+ "text": "ApexComponent[]"
2893
2822
  }
2894
2823
  }
2895
- ],
2896
- "superclass": {
2897
- "name": "DataOperation",
2898
- "module": "/src/operations/base.js"
2899
- }
2824
+ ]
2900
2825
  }
2901
2826
  ],
2902
2827
  "exports": [
2903
2828
  {
2904
2829
  "kind": "js",
2905
- "name": "default",
2830
+ "name": "registerComponent",
2906
2831
  "declaration": {
2907
- "name": "SortDataOperation",
2908
- "module": "src/operations/sort.ts"
2832
+ "name": "registerComponent",
2833
+ "module": "src/internal/register.ts"
2834
+ }
2835
+ },
2836
+ {
2837
+ "kind": "custom-element-definition",
2838
+ "declaration": {
2839
+ "name": "component",
2840
+ "module": "src/internal/register.ts"
2909
2841
  }
2910
2842
  }
2911
2843
  ]
2912
2844
  },
2913
2845
  {
2914
2846
  "kind": "javascript-module",
2915
- "path": "src/internal/constants.ts",
2847
+ "path": "src/internal/tags.ts",
2916
2848
  "declarations": [
2917
2849
  {
2918
2850
  "kind": "variable",
2919
- "name": "PIPELINE",
2851
+ "name": "GRID_TAG",
2920
2852
  "type": {
2921
- "text": "string"
2853
+ "text": "'apex-grid'"
2922
2854
  },
2923
- "default": "'pipeline'"
2855
+ "default": "'apex-grid'"
2924
2856
  },
2925
2857
  {
2926
2858
  "kind": "variable",
2927
- "name": "SORT_ICON_ASCENDING",
2859
+ "name": "GRID_BODY",
2928
2860
  "type": {
2929
- "text": "'arrow-upward'"
2861
+ "text": "'apex-virtualizer'"
2930
2862
  },
2931
- "default": "'arrow-upward'"
2863
+ "default": "'apex-virtualizer'"
2932
2864
  },
2933
2865
  {
2934
2866
  "kind": "variable",
2935
- "name": "SORT_ICON_DESCENDING",
2867
+ "name": "GRID_HEADER_ROW_TAG",
2936
2868
  "type": {
2937
- "text": "'arrow-downward'"
2869
+ "text": "'apex-grid-header-row'"
2938
2870
  },
2939
- "default": "'arrow-downward'"
2871
+ "default": "'apex-grid-header-row'"
2940
2872
  },
2941
2873
  {
2942
2874
  "kind": "variable",
2943
- "name": "MIN_COL_RESIZE_WIDTH",
2875
+ "name": "GRID_HEADER_TAG",
2944
2876
  "type": {
2945
- "text": "number"
2877
+ "text": "'apex-grid-header'"
2946
2878
  },
2947
- "default": "80"
2879
+ "default": "'apex-grid-header'"
2948
2880
  },
2949
2881
  {
2950
2882
  "kind": "variable",
2951
- "name": "SENTINEL_NODE",
2883
+ "name": "GRID_ROW_TAG",
2952
2884
  "type": {
2953
- "text": "Readonly<ActiveNode<any>>"
2954
- }
2885
+ "text": "'apex-grid-row'"
2886
+ },
2887
+ "default": "'apex-grid-row'"
2955
2888
  },
2956
2889
  {
2957
2890
  "kind": "variable",
2958
- "name": "DEFAULT_COLUMN_CONFIG"
2891
+ "name": "GRID_CELL_TAG",
2892
+ "type": {
2893
+ "text": "'apex-grid-cell'"
2894
+ },
2895
+ "default": "'apex-grid-cell'"
2959
2896
  },
2960
2897
  {
2961
2898
  "kind": "variable",
2962
- "name": "NAVIGATION_STATE",
2899
+ "name": "GRID_FILTER_ROW_TAG",
2963
2900
  "type": {
2964
- "text": "Map<NavigationState, ActiveNode<any>>"
2901
+ "text": "'apex-filter-row'"
2965
2902
  },
2966
- "default": "new Map([\n ['previous', SENTINEL_NODE],\n ['current', SENTINEL_NODE],\n])"
2903
+ "default": "'apex-filter-row'"
2967
2904
  }
2968
2905
  ],
2969
2906
  "exports": [
2970
2907
  {
2971
2908
  "kind": "js",
2972
- "name": "PIPELINE",
2909
+ "name": "GRID_TAG",
2973
2910
  "declaration": {
2974
- "name": "PIPELINE",
2975
- "module": "src/internal/constants.ts"
2911
+ "name": "GRID_TAG",
2912
+ "module": "src/internal/tags.ts"
2976
2913
  }
2977
2914
  },
2978
2915
  {
2979
2916
  "kind": "js",
2980
- "name": "SORT_ICON_ASCENDING",
2917
+ "name": "GRID_BODY",
2981
2918
  "declaration": {
2982
- "name": "SORT_ICON_ASCENDING",
2983
- "module": "src/internal/constants.ts"
2919
+ "name": "GRID_BODY",
2920
+ "module": "src/internal/tags.ts"
2984
2921
  }
2985
2922
  },
2986
2923
  {
2987
2924
  "kind": "js",
2988
- "name": "SORT_ICON_DESCENDING",
2925
+ "name": "GRID_HEADER_ROW_TAG",
2989
2926
  "declaration": {
2990
- "name": "SORT_ICON_DESCENDING",
2991
- "module": "src/internal/constants.ts"
2927
+ "name": "GRID_HEADER_ROW_TAG",
2928
+ "module": "src/internal/tags.ts"
2992
2929
  }
2993
2930
  },
2994
2931
  {
2995
2932
  "kind": "js",
2996
- "name": "MIN_COL_RESIZE_WIDTH",
2933
+ "name": "GRID_HEADER_TAG",
2997
2934
  "declaration": {
2998
- "name": "MIN_COL_RESIZE_WIDTH",
2999
- "module": "src/internal/constants.ts"
2935
+ "name": "GRID_HEADER_TAG",
2936
+ "module": "src/internal/tags.ts"
3000
2937
  }
3001
2938
  },
3002
2939
  {
3003
2940
  "kind": "js",
3004
- "name": "SENTINEL_NODE",
2941
+ "name": "GRID_ROW_TAG",
3005
2942
  "declaration": {
3006
- "name": "SENTINEL_NODE",
3007
- "module": "src/internal/constants.ts"
2943
+ "name": "GRID_ROW_TAG",
2944
+ "module": "src/internal/tags.ts"
3008
2945
  }
3009
2946
  },
3010
2947
  {
3011
2948
  "kind": "js",
3012
- "name": "DEFAULT_COLUMN_CONFIG",
2949
+ "name": "GRID_CELL_TAG",
3013
2950
  "declaration": {
3014
- "name": "DEFAULT_COLUMN_CONFIG",
3015
- "module": "src/internal/constants.ts"
2951
+ "name": "GRID_CELL_TAG",
2952
+ "module": "src/internal/tags.ts"
3016
2953
  }
3017
2954
  },
3018
2955
  {
3019
2956
  "kind": "js",
3020
- "name": "NAVIGATION_STATE",
2957
+ "name": "GRID_FILTER_ROW_TAG",
3021
2958
  "declaration": {
3022
- "name": "NAVIGATION_STATE",
3023
- "module": "src/internal/constants.ts"
2959
+ "name": "GRID_FILTER_ROW_TAG",
2960
+ "module": "src/internal/tags.ts"
3024
2961
  }
3025
2962
  }
3026
2963
  ]
3027
2964
  },
3028
2965
  {
3029
2966
  "kind": "javascript-module",
3030
- "path": "src/internal/icon-registry.ts",
3031
- "declarations": [
3032
- {
3033
- "kind": "function",
3034
- "name": "registerGridIcons"
3035
- }
3036
- ],
3037
- "exports": [
3038
- {
3039
- "kind": "js",
3040
- "name": "registerGridIcons",
3041
- "declaration": {
3042
- "name": "registerGridIcons",
3043
- "module": "src/internal/icon-registry.ts"
3044
- }
3045
- }
3046
- ]
2967
+ "path": "src/internal/types.ts",
2968
+ "declarations": [],
2969
+ "exports": []
3047
2970
  },
3048
2971
  {
3049
2972
  "kind": "javascript-module",
3050
- "path": "src/internal/is-defined.ts",
2973
+ "path": "src/internal/utils.ts",
3051
2974
  "declarations": [
3052
2975
  {
3053
2976
  "kind": "function",
3054
- "name": "isDefined",
2977
+ "name": "applyColumnWidths",
3055
2978
  "return": {
3056
2979
  "type": {
3057
- "text": "value is NonNullable<T>"
2980
+ "text": "StyleInfo"
3058
2981
  }
3059
2982
  },
3060
2983
  "parameters": [
3061
2984
  {
3062
- "name": "value",
2985
+ "name": "columns",
3063
2986
  "type": {
3064
- "text": "T | null | undefined"
2987
+ "text": "Array<ColumnConfiguration<T>>"
3065
2988
  }
3066
2989
  }
3067
2990
  ]
3068
- }
3069
- ],
3070
- "exports": [
3071
- {
3072
- "kind": "js",
3073
- "name": "isDefined",
3074
- "declaration": {
3075
- "name": "isDefined",
3076
- "module": "src/internal/is-defined.ts"
3077
- }
3078
- }
3079
- ]
3080
- },
3081
- {
3082
- "kind": "javascript-module",
3083
- "path": "src/internal/normalize-case.ts",
3084
- "declarations": [
2991
+ },
3085
2992
  {
3086
2993
  "kind": "function",
3087
- "name": "normalizeCase",
2994
+ "name": "autoGenerateColumns",
3088
2995
  "parameters": [
3089
2996
  {
3090
- "name": "string",
2997
+ "name": "grid",
3091
2998
  "type": {
3092
- "text": "string"
2999
+ "text": "GridHost<T>"
3093
3000
  }
3094
- },
3001
+ }
3002
+ ]
3003
+ },
3004
+ {
3005
+ "kind": "function",
3006
+ "name": "asArray",
3007
+ "parameters": [
3095
3008
  {
3096
- "name": "caseSensitive",
3097
- "optional": true,
3009
+ "name": "value",
3098
3010
  "type": {
3099
- "text": "boolean"
3011
+ "text": "T | T[]"
3100
3012
  }
3101
3013
  }
3102
3014
  ]
3103
- }
3104
- ],
3105
- "exports": [
3106
- {
3107
- "kind": "js",
3108
- "name": "normalizeCase",
3109
- "declaration": {
3110
- "name": "normalizeCase",
3111
- "module": "src/internal/normalize-case.ts"
3112
- }
3113
- }
3114
- ]
3115
- },
3116
- {
3117
- "kind": "javascript-module",
3118
- "path": "src/internal/part-map.ts",
3119
- "declarations": [
3120
- {
3121
- "kind": "function",
3122
- "name": "partNameMap",
3123
- "parameters": [
3124
- {
3125
- "name": "parts",
3126
- "type": {
3127
- "text": "PartNameInfo"
3128
- }
3129
- }
3130
- ]
3131
- }
3132
- ],
3133
- "exports": [
3134
- {
3135
- "kind": "js",
3136
- "name": "partNameMap",
3137
- "declaration": {
3138
- "name": "partNameMap",
3139
- "module": "src/internal/part-map.ts"
3140
- }
3141
- }
3142
- ]
3143
- },
3144
- {
3145
- "kind": "javascript-module",
3146
- "path": "src/internal/register.ts",
3147
- "declarations": [
3148
- {
3149
- "kind": "function",
3150
- "name": "registerComponent",
3151
- "parameters": [
3152
- {
3153
- "name": "component",
3154
- "type": {
3155
- "text": "ApexComponent"
3156
- }
3157
- },
3158
- {
3159
- "name": "dependencies",
3160
- "default": "[]",
3161
- "type": {
3162
- "text": "ApexComponent[]"
3163
- }
3164
- }
3165
- ]
3166
- }
3167
- ],
3168
- "exports": [
3169
- {
3170
- "kind": "js",
3171
- "name": "registerComponent",
3172
- "declaration": {
3173
- "name": "registerComponent",
3174
- "module": "src/internal/register.ts"
3175
- }
3176
- },
3177
- {
3178
- "kind": "custom-element-definition",
3179
- "declaration": {
3180
- "name": "component",
3181
- "module": "src/internal/register.ts"
3182
- }
3183
- }
3184
- ]
3185
- },
3186
- {
3187
- "kind": "javascript-module",
3188
- "path": "src/internal/tags.ts",
3189
- "declarations": [
3190
- {
3191
- "kind": "variable",
3192
- "name": "GRID_TAG",
3193
- "type": {
3194
- "text": "'apex-grid'"
3195
- },
3196
- "default": "'apex-grid'"
3197
- },
3198
- {
3199
- "kind": "variable",
3200
- "name": "GRID_BODY",
3201
- "type": {
3202
- "text": "'apex-virtualizer'"
3203
- },
3204
- "default": "'apex-virtualizer'"
3205
- },
3206
- {
3207
- "kind": "variable",
3208
- "name": "GRID_HEADER_ROW_TAG",
3209
- "type": {
3210
- "text": "'apex-grid-header-row'"
3211
- },
3212
- "default": "'apex-grid-header-row'"
3213
- },
3214
- {
3215
- "kind": "variable",
3216
- "name": "GRID_HEADER_TAG",
3217
- "type": {
3218
- "text": "'apex-grid-header'"
3219
- },
3220
- "default": "'apex-grid-header'"
3221
- },
3222
- {
3223
- "kind": "variable",
3224
- "name": "GRID_ROW_TAG",
3225
- "type": {
3226
- "text": "'apex-grid-row'"
3227
- },
3228
- "default": "'apex-grid-row'"
3229
- },
3230
- {
3231
- "kind": "variable",
3232
- "name": "GRID_CELL_TAG",
3233
- "type": {
3234
- "text": "'apex-grid-cell'"
3235
- },
3236
- "default": "'apex-grid-cell'"
3237
- },
3238
- {
3239
- "kind": "variable",
3240
- "name": "GRID_FILTER_ROW_TAG",
3241
- "type": {
3242
- "text": "'apex-filter-row'"
3243
- },
3244
- "default": "'apex-filter-row'"
3245
- }
3246
- ],
3247
- "exports": [
3248
- {
3249
- "kind": "js",
3250
- "name": "GRID_TAG",
3251
- "declaration": {
3252
- "name": "GRID_TAG",
3253
- "module": "src/internal/tags.ts"
3254
- }
3255
- },
3256
- {
3257
- "kind": "js",
3258
- "name": "GRID_BODY",
3259
- "declaration": {
3260
- "name": "GRID_BODY",
3261
- "module": "src/internal/tags.ts"
3262
- }
3263
- },
3264
- {
3265
- "kind": "js",
3266
- "name": "GRID_HEADER_ROW_TAG",
3267
- "declaration": {
3268
- "name": "GRID_HEADER_ROW_TAG",
3269
- "module": "src/internal/tags.ts"
3270
- }
3271
- },
3272
- {
3273
- "kind": "js",
3274
- "name": "GRID_HEADER_TAG",
3275
- "declaration": {
3276
- "name": "GRID_HEADER_TAG",
3277
- "module": "src/internal/tags.ts"
3278
- }
3279
- },
3280
- {
3281
- "kind": "js",
3282
- "name": "GRID_ROW_TAG",
3283
- "declaration": {
3284
- "name": "GRID_ROW_TAG",
3285
- "module": "src/internal/tags.ts"
3286
- }
3287
- },
3288
- {
3289
- "kind": "js",
3290
- "name": "GRID_CELL_TAG",
3291
- "declaration": {
3292
- "name": "GRID_CELL_TAG",
3293
- "module": "src/internal/tags.ts"
3294
- }
3295
- },
3296
- {
3297
- "kind": "js",
3298
- "name": "GRID_FILTER_ROW_TAG",
3299
- "declaration": {
3300
- "name": "GRID_FILTER_ROW_TAG",
3301
- "module": "src/internal/tags.ts"
3302
- }
3303
- }
3304
- ]
3305
- },
3306
- {
3307
- "kind": "javascript-module",
3308
- "path": "src/internal/types.ts",
3309
- "declarations": [],
3310
- "exports": []
3311
- },
3312
- {
3313
- "kind": "javascript-module",
3314
- "path": "src/internal/utils.ts",
3315
- "declarations": [
3316
- {
3317
- "kind": "function",
3318
- "name": "applyColumnWidths",
3319
- "return": {
3320
- "type": {
3321
- "text": "StyleInfo"
3322
- }
3323
- },
3324
- "parameters": [
3325
- {
3326
- "name": "columns",
3327
- "type": {
3328
- "text": "Array<ColumnConfiguration<T>>"
3329
- }
3330
- }
3331
- ]
3332
- },
3333
- {
3334
- "kind": "function",
3335
- "name": "autoGenerateColumns",
3336
- "parameters": [
3337
- {
3338
- "name": "grid",
3339
- "type": {
3340
- "text": "GridHost<T>"
3341
- }
3342
- }
3343
- ]
3344
- },
3345
- {
3346
- "kind": "function",
3347
- "name": "asArray",
3348
- "parameters": [
3349
- {
3350
- "name": "value",
3351
- "type": {
3352
- "text": "T | T[]"
3353
- }
3354
- }
3355
- ]
3356
- },
3015
+ },
3357
3016
  {
3358
3017
  "kind": "function",
3359
3018
  "name": "getFilterOperandsFor",
@@ -3417,22 +3076,589 @@
3417
3076
  }
3418
3077
  },
3419
3078
  {
3420
- "name": "options",
3421
- "optional": true,
3079
+ "name": "options",
3080
+ "optional": true,
3081
+ "type": {
3082
+ "text": "WatchOptions"
3083
+ }
3084
+ }
3085
+ ]
3086
+ }
3087
+ ],
3088
+ "exports": [
3089
+ {
3090
+ "kind": "js",
3091
+ "name": "watch",
3092
+ "declaration": {
3093
+ "name": "watch",
3094
+ "module": "src/internal/watch.ts"
3095
+ }
3096
+ }
3097
+ ]
3098
+ },
3099
+ {
3100
+ "kind": "javascript-module",
3101
+ "path": "src/operations/base.ts",
3102
+ "declarations": [
3103
+ {
3104
+ "kind": "class",
3105
+ "description": "",
3106
+ "name": "DataOperation",
3107
+ "members": [
3108
+ {
3109
+ "kind": "method",
3110
+ "name": "resolveValue",
3111
+ "privacy": "protected",
3112
+ "parameters": [
3113
+ {
3114
+ "name": "record",
3115
+ "type": {
3116
+ "text": "T"
3117
+ }
3118
+ },
3119
+ {
3120
+ "name": "key",
3121
+ "type": {
3122
+ "text": "K"
3123
+ }
3124
+ }
3125
+ ]
3126
+ },
3127
+ {
3128
+ "kind": "method",
3129
+ "name": "resolveCase",
3130
+ "privacy": "protected",
3131
+ "parameters": [
3132
+ {
3133
+ "name": "value",
3134
+ "type": {
3135
+ "text": "U"
3136
+ }
3137
+ },
3138
+ {
3139
+ "name": "caseSensitive",
3140
+ "optional": true,
3141
+ "type": {
3142
+ "text": "boolean"
3143
+ }
3144
+ }
3145
+ ]
3146
+ },
3147
+ {
3148
+ "kind": "method",
3149
+ "name": "apply",
3150
+ "privacy": "public",
3151
+ "return": {
3152
+ "type": {
3153
+ "text": "T[]"
3154
+ }
3155
+ },
3156
+ "parameters": [
3157
+ {
3158
+ "name": "args",
3159
+ "type": {
3160
+ "text": "unknown[]"
3161
+ }
3162
+ }
3163
+ ]
3164
+ }
3165
+ ]
3166
+ }
3167
+ ],
3168
+ "exports": [
3169
+ {
3170
+ "kind": "js",
3171
+ "name": "default",
3172
+ "declaration": {
3173
+ "name": "DataOperation",
3174
+ "module": "src/operations/base.ts"
3175
+ }
3176
+ }
3177
+ ]
3178
+ },
3179
+ {
3180
+ "kind": "javascript-module",
3181
+ "path": "src/operations/filter.ts",
3182
+ "declarations": [
3183
+ {
3184
+ "kind": "class",
3185
+ "description": "",
3186
+ "name": "FilterDataOperation",
3187
+ "members": [
3188
+ {
3189
+ "kind": "method",
3190
+ "name": "resolveFilter",
3191
+ "privacy": "protected",
3192
+ "parameters": [
3193
+ {
3194
+ "name": "record",
3195
+ "type": {
3196
+ "text": "T"
3197
+ }
3198
+ },
3199
+ {
3200
+ "name": "expr",
3201
+ "type": {
3202
+ "text": "FilterExpression<T>"
3203
+ }
3204
+ }
3205
+ ]
3206
+ },
3207
+ {
3208
+ "kind": "method",
3209
+ "name": "match",
3210
+ "privacy": "protected",
3211
+ "return": {
3212
+ "type": {
3213
+ "text": "boolean"
3214
+ }
3215
+ },
3216
+ "parameters": [
3217
+ {
3218
+ "name": "record",
3219
+ "type": {
3220
+ "text": "T"
3221
+ }
3222
+ },
3223
+ {
3224
+ "name": "ands",
3225
+ "type": {
3226
+ "text": "FilterExpression<T>[]"
3227
+ }
3228
+ },
3229
+ {
3230
+ "name": "ors",
3231
+ "type": {
3232
+ "text": "FilterExpression<T>[]"
3233
+ }
3234
+ }
3235
+ ]
3236
+ },
3237
+ {
3238
+ "kind": "method",
3239
+ "name": "apply",
3240
+ "privacy": "public",
3241
+ "return": {
3242
+ "type": {
3243
+ "text": "T[]"
3244
+ }
3245
+ },
3246
+ "parameters": [
3247
+ {
3248
+ "name": "data",
3249
+ "type": {
3250
+ "text": "T[]"
3251
+ }
3252
+ },
3253
+ {
3254
+ "name": "state",
3255
+ "type": {
3256
+ "text": "FilterState<T>"
3257
+ }
3258
+ }
3259
+ ],
3260
+ "inheritedFrom": {
3261
+ "name": "DataOperation",
3262
+ "module": "src/operations/base.ts"
3263
+ }
3264
+ },
3265
+ {
3266
+ "kind": "method",
3267
+ "name": "resolveValue",
3268
+ "privacy": "protected",
3269
+ "parameters": [
3270
+ {
3271
+ "name": "record",
3272
+ "type": {
3273
+ "text": "T"
3274
+ }
3275
+ },
3276
+ {
3277
+ "name": "key",
3278
+ "type": {
3279
+ "text": "K"
3280
+ }
3281
+ }
3282
+ ],
3283
+ "inheritedFrom": {
3284
+ "name": "DataOperation",
3285
+ "module": "src/operations/base.ts"
3286
+ }
3287
+ },
3288
+ {
3289
+ "kind": "method",
3290
+ "name": "resolveCase",
3291
+ "privacy": "protected",
3292
+ "parameters": [
3293
+ {
3294
+ "name": "value",
3295
+ "type": {
3296
+ "text": "U"
3297
+ }
3298
+ },
3299
+ {
3300
+ "name": "caseSensitive",
3301
+ "optional": true,
3302
+ "type": {
3303
+ "text": "boolean"
3304
+ }
3305
+ }
3306
+ ],
3307
+ "inheritedFrom": {
3308
+ "name": "DataOperation",
3309
+ "module": "src/operations/base.ts"
3310
+ }
3311
+ }
3312
+ ],
3313
+ "superclass": {
3314
+ "name": "DataOperation",
3315
+ "module": "/src/operations/base.js"
3316
+ }
3317
+ }
3318
+ ],
3319
+ "exports": [
3320
+ {
3321
+ "kind": "js",
3322
+ "name": "default",
3323
+ "declaration": {
3324
+ "name": "FilterDataOperation",
3325
+ "module": "src/operations/filter.ts"
3326
+ }
3327
+ }
3328
+ ]
3329
+ },
3330
+ {
3331
+ "kind": "javascript-module",
3332
+ "path": "src/operations/sort.ts",
3333
+ "declarations": [
3334
+ {
3335
+ "kind": "class",
3336
+ "description": "",
3337
+ "name": "SortDataOperation",
3338
+ "members": [
3339
+ {
3340
+ "kind": "field",
3341
+ "name": "orderBy",
3342
+ "privacy": "protected",
3343
+ "default": "new Map(\n Object.entries({\n ascending: 1,\n descending: -1,\n }),\n )"
3344
+ },
3345
+ {
3346
+ "kind": "method",
3347
+ "name": "compareValues",
3348
+ "privacy": "protected",
3349
+ "parameters": [
3350
+ {
3351
+ "name": "first",
3352
+ "type": {
3353
+ "text": "U"
3354
+ }
3355
+ },
3356
+ {
3357
+ "name": "second",
3358
+ "type": {
3359
+ "text": "U"
3360
+ }
3361
+ }
3362
+ ]
3363
+ },
3364
+ {
3365
+ "kind": "method",
3366
+ "name": "compareObjects",
3367
+ "privacy": "protected",
3368
+ "parameters": [
3369
+ {
3370
+ "name": "first",
3371
+ "type": {
3372
+ "text": "T"
3373
+ }
3374
+ },
3375
+ {
3376
+ "name": "second",
3377
+ "type": {
3378
+ "text": "T"
3379
+ }
3380
+ },
3381
+ {
3382
+ "name": "expression",
3383
+ "type": {
3384
+ "text": "SortExpression<T>"
3385
+ }
3386
+ }
3387
+ ]
3388
+ },
3389
+ {
3390
+ "kind": "method",
3391
+ "name": "apply",
3392
+ "privacy": "public",
3393
+ "return": {
3394
+ "type": {
3395
+ "text": "T[]"
3396
+ }
3397
+ },
3398
+ "parameters": [
3399
+ {
3400
+ "name": "data",
3401
+ "type": {
3402
+ "text": "T[]"
3403
+ }
3404
+ },
3405
+ {
3406
+ "name": "state",
3407
+ "type": {
3408
+ "text": "SortState<T>"
3409
+ }
3410
+ }
3411
+ ],
3412
+ "inheritedFrom": {
3413
+ "name": "DataOperation",
3414
+ "module": "src/operations/base.ts"
3415
+ }
3416
+ },
3417
+ {
3418
+ "kind": "method",
3419
+ "name": "resolveValue",
3420
+ "privacy": "protected",
3421
+ "parameters": [
3422
+ {
3423
+ "name": "record",
3424
+ "type": {
3425
+ "text": "T"
3426
+ }
3427
+ },
3428
+ {
3429
+ "name": "key",
3430
+ "type": {
3431
+ "text": "K"
3432
+ }
3433
+ }
3434
+ ],
3435
+ "inheritedFrom": {
3436
+ "name": "DataOperation",
3437
+ "module": "src/operations/base.ts"
3438
+ }
3439
+ },
3440
+ {
3441
+ "kind": "method",
3442
+ "name": "resolveCase",
3443
+ "privacy": "protected",
3444
+ "parameters": [
3445
+ {
3446
+ "name": "value",
3447
+ "type": {
3448
+ "text": "U"
3449
+ }
3450
+ },
3451
+ {
3452
+ "name": "caseSensitive",
3453
+ "optional": true,
3454
+ "type": {
3455
+ "text": "boolean"
3456
+ }
3457
+ }
3458
+ ],
3459
+ "inheritedFrom": {
3460
+ "name": "DataOperation",
3461
+ "module": "src/operations/base.ts"
3462
+ }
3463
+ }
3464
+ ],
3465
+ "superclass": {
3466
+ "name": "DataOperation",
3467
+ "module": "/src/operations/base.js"
3468
+ }
3469
+ }
3470
+ ],
3471
+ "exports": [
3472
+ {
3473
+ "kind": "js",
3474
+ "name": "default",
3475
+ "declaration": {
3476
+ "name": "SortDataOperation",
3477
+ "module": "src/operations/sort.ts"
3478
+ }
3479
+ }
3480
+ ]
3481
+ },
3482
+ {
3483
+ "kind": "javascript-module",
3484
+ "path": "src/internal/mixins/event-emitter.ts",
3485
+ "declarations": [
3486
+ {
3487
+ "kind": "class",
3488
+ "description": "",
3489
+ "name": "EventEmitterBase",
3490
+ "members": [
3491
+ {
3492
+ "kind": "method",
3493
+ "name": "addEventListener",
3494
+ "privacy": "public",
3495
+ "return": {
3496
+ "type": {
3497
+ "text": "void"
3498
+ }
3499
+ },
3500
+ "parameters": [
3501
+ {
3502
+ "name": "type",
3503
+ "type": {
3504
+ "text": "K"
3505
+ }
3506
+ },
3507
+ {
3508
+ "name": "listener",
3509
+ "type": {
3510
+ "text": "(this: HTMLElement, ev: M[K]) => any"
3511
+ }
3512
+ },
3513
+ {
3514
+ "name": "options",
3515
+ "optional": true,
3516
+ "type": {
3517
+ "text": "boolean | AddEventListenerOptions"
3518
+ }
3519
+ }
3520
+ ]
3521
+ },
3522
+ {
3523
+ "kind": "method",
3524
+ "name": "addEventListener",
3525
+ "privacy": "public",
3526
+ "return": {
3527
+ "type": {
3528
+ "text": "void"
3529
+ }
3530
+ },
3531
+ "parameters": [
3532
+ {
3533
+ "name": "type",
3534
+ "type": {
3535
+ "text": "string"
3536
+ }
3537
+ },
3538
+ {
3539
+ "name": "listener",
3540
+ "type": {
3541
+ "text": "EventListenerOrEventListenerObject"
3542
+ }
3543
+ },
3544
+ {
3545
+ "name": "options",
3546
+ "optional": true,
3547
+ "type": {
3548
+ "text": "boolean | AddEventListenerOptions"
3549
+ }
3550
+ }
3551
+ ]
3552
+ },
3553
+ {
3554
+ "kind": "method",
3555
+ "name": "removeEventListener",
3556
+ "privacy": "public",
3557
+ "return": {
3558
+ "type": {
3559
+ "text": "void"
3560
+ }
3561
+ },
3562
+ "parameters": [
3563
+ {
3564
+ "name": "type",
3565
+ "type": {
3566
+ "text": "K"
3567
+ }
3568
+ },
3569
+ {
3570
+ "name": "listener",
3571
+ "type": {
3572
+ "text": "(this: HTMLElement, ev: M[K]) => any"
3573
+ }
3574
+ },
3575
+ {
3576
+ "name": "options",
3577
+ "optional": true,
3578
+ "type": {
3579
+ "text": "boolean | EventListenerOptions"
3580
+ }
3581
+ }
3582
+ ]
3583
+ },
3584
+ {
3585
+ "kind": "method",
3586
+ "name": "removeEventListener",
3587
+ "privacy": "public",
3588
+ "return": {
3589
+ "type": {
3590
+ "text": "void"
3591
+ }
3592
+ },
3593
+ "parameters": [
3594
+ {
3595
+ "name": "type",
3596
+ "type": {
3597
+ "text": "string"
3598
+ }
3599
+ },
3600
+ {
3601
+ "name": "listener",
3602
+ "type": {
3603
+ "text": "EventListenerOrEventListenerObject"
3604
+ }
3605
+ },
3606
+ {
3607
+ "name": "options",
3608
+ "optional": true,
3609
+ "type": {
3610
+ "text": "boolean | EventListenerOptions"
3611
+ }
3612
+ }
3613
+ ]
3614
+ },
3615
+ {
3616
+ "kind": "method",
3617
+ "name": "emitEvent",
3618
+ "privacy": "public",
3619
+ "return": {
3620
+ "type": {
3621
+ "text": "boolean"
3622
+ }
3623
+ },
3624
+ "parameters": [
3625
+ {
3626
+ "name": "type",
3627
+ "type": {
3628
+ "text": "K"
3629
+ }
3630
+ },
3631
+ {
3632
+ "name": "eventInitDict",
3633
+ "optional": true,
3634
+ "type": {
3635
+ "text": "CustomEventInit<D>"
3636
+ }
3637
+ }
3638
+ ]
3639
+ }
3640
+ ],
3641
+ "events": [
3642
+ {
3422
3643
  "type": {
3423
- "text": "WatchOptions"
3644
+ "text": "CustomEvent"
3424
3645
  }
3425
3646
  }
3426
- ]
3647
+ ],
3648
+ "superclass": {
3649
+ "name": "LitElement",
3650
+ "package": "lit"
3651
+ },
3652
+ "customElement": true
3427
3653
  }
3428
3654
  ],
3429
3655
  "exports": [
3430
3656
  {
3431
3657
  "kind": "js",
3432
- "name": "watch",
3658
+ "name": "EventEmitterBase",
3433
3659
  "declaration": {
3434
- "name": "watch",
3435
- "module": "src/internal/watch.ts"
3660
+ "name": "EventEmitterBase",
3661
+ "module": "src/internal/mixins/event-emitter.ts"
3436
3662
  }
3437
3663
  }
3438
3664
  ]
@@ -3458,27 +3684,32 @@
3458
3684
  {
3459
3685
  "kind": "field",
3460
3686
  "name": "empty",
3461
- "privacy": "public"
3687
+ "privacy": "public",
3688
+ "readonly": true
3462
3689
  },
3463
3690
  {
3464
3691
  "kind": "field",
3465
3692
  "name": "keys",
3466
- "privacy": "public"
3693
+ "privacy": "public",
3694
+ "readonly": true
3467
3695
  },
3468
3696
  {
3469
3697
  "kind": "field",
3470
3698
  "name": "values",
3471
- "privacy": "public"
3699
+ "privacy": "public",
3700
+ "readonly": true
3472
3701
  },
3473
3702
  {
3474
3703
  "kind": "field",
3475
3704
  "name": "ands",
3476
- "privacy": "public"
3705
+ "privacy": "public",
3706
+ "readonly": true
3477
3707
  },
3478
3708
  {
3479
3709
  "kind": "field",
3480
3710
  "name": "ors",
3481
- "privacy": "public"
3711
+ "privacy": "public",
3712
+ "readonly": true
3482
3713
  },
3483
3714
  {
3484
3715
  "kind": "method",
@@ -3572,27 +3803,32 @@
3572
3803
  {
3573
3804
  "kind": "field",
3574
3805
  "name": "empty",
3575
- "privacy": "public"
3806
+ "privacy": "public",
3807
+ "readonly": true
3576
3808
  },
3577
3809
  {
3578
3810
  "kind": "field",
3579
3811
  "name": "length",
3580
- "privacy": "public"
3812
+ "privacy": "public",
3813
+ "readonly": true
3581
3814
  },
3582
3815
  {
3583
3816
  "kind": "field",
3584
3817
  "name": "all",
3585
- "privacy": "public"
3818
+ "privacy": "public",
3819
+ "readonly": true
3586
3820
  },
3587
3821
  {
3588
3822
  "kind": "field",
3589
3823
  "name": "ands",
3590
- "privacy": "public"
3824
+ "privacy": "public",
3825
+ "readonly": true
3591
3826
  },
3592
3827
  {
3593
3828
  "kind": "field",
3594
3829
  "name": "ors",
3595
- "privacy": "public"
3830
+ "privacy": "public",
3831
+ "readonly": true
3596
3832
  },
3597
3833
  {
3598
3834
  "kind": "method",
@@ -3669,190 +3905,6 @@
3669
3905
  "declarations": [],
3670
3906
  "exports": []
3671
3907
  },
3672
- {
3673
- "kind": "javascript-module",
3674
- "path": "src/internal/mixins/event-emitter.ts",
3675
- "declarations": [
3676
- {
3677
- "kind": "class",
3678
- "description": "",
3679
- "name": "EventEmitterBase",
3680
- "members": [
3681
- {
3682
- "kind": "method",
3683
- "name": "addEventListener",
3684
- "privacy": "public",
3685
- "return": {
3686
- "type": {
3687
- "text": "void"
3688
- }
3689
- },
3690
- "parameters": [
3691
- {
3692
- "name": "type",
3693
- "type": {
3694
- "text": "K"
3695
- }
3696
- },
3697
- {
3698
- "name": "listener",
3699
- "type": {
3700
- "text": "(this: HTMLElement, ev: M[K]) => any"
3701
- }
3702
- },
3703
- {
3704
- "name": "options",
3705
- "optional": true,
3706
- "type": {
3707
- "text": "boolean | AddEventListenerOptions"
3708
- }
3709
- }
3710
- ]
3711
- },
3712
- {
3713
- "kind": "method",
3714
- "name": "addEventListener",
3715
- "privacy": "public",
3716
- "return": {
3717
- "type": {
3718
- "text": "void"
3719
- }
3720
- },
3721
- "parameters": [
3722
- {
3723
- "name": "type",
3724
- "type": {
3725
- "text": "string"
3726
- }
3727
- },
3728
- {
3729
- "name": "listener",
3730
- "type": {
3731
- "text": "EventListenerOrEventListenerObject"
3732
- }
3733
- },
3734
- {
3735
- "name": "options",
3736
- "optional": true,
3737
- "type": {
3738
- "text": "boolean | AddEventListenerOptions"
3739
- }
3740
- }
3741
- ]
3742
- },
3743
- {
3744
- "kind": "method",
3745
- "name": "removeEventListener",
3746
- "privacy": "public",
3747
- "return": {
3748
- "type": {
3749
- "text": "void"
3750
- }
3751
- },
3752
- "parameters": [
3753
- {
3754
- "name": "type",
3755
- "type": {
3756
- "text": "K"
3757
- }
3758
- },
3759
- {
3760
- "name": "listener",
3761
- "type": {
3762
- "text": "(this: HTMLElement, ev: M[K]) => any"
3763
- }
3764
- },
3765
- {
3766
- "name": "options",
3767
- "optional": true,
3768
- "type": {
3769
- "text": "boolean | EventListenerOptions"
3770
- }
3771
- }
3772
- ]
3773
- },
3774
- {
3775
- "kind": "method",
3776
- "name": "removeEventListener",
3777
- "privacy": "public",
3778
- "return": {
3779
- "type": {
3780
- "text": "void"
3781
- }
3782
- },
3783
- "parameters": [
3784
- {
3785
- "name": "type",
3786
- "type": {
3787
- "text": "string"
3788
- }
3789
- },
3790
- {
3791
- "name": "listener",
3792
- "type": {
3793
- "text": "EventListenerOrEventListenerObject"
3794
- }
3795
- },
3796
- {
3797
- "name": "options",
3798
- "optional": true,
3799
- "type": {
3800
- "text": "boolean | EventListenerOptions"
3801
- }
3802
- }
3803
- ]
3804
- },
3805
- {
3806
- "kind": "method",
3807
- "name": "emitEvent",
3808
- "privacy": "public",
3809
- "return": {
3810
- "type": {
3811
- "text": "boolean"
3812
- }
3813
- },
3814
- "parameters": [
3815
- {
3816
- "name": "type",
3817
- "type": {
3818
- "text": "K"
3819
- }
3820
- },
3821
- {
3822
- "name": "eventInitDict",
3823
- "optional": true,
3824
- "type": {
3825
- "text": "CustomEventInit<D>"
3826
- }
3827
- }
3828
- ]
3829
- }
3830
- ],
3831
- "events": [
3832
- {
3833
- "type": {
3834
- "text": "CustomEvent"
3835
- }
3836
- }
3837
- ],
3838
- "superclass": {
3839
- "name": "LitElement",
3840
- "package": "lit"
3841
- },
3842
- "customElement": true
3843
- }
3844
- ],
3845
- "exports": [
3846
- {
3847
- "kind": "js",
3848
- "name": "EventEmitterBase",
3849
- "declaration": {
3850
- "name": "EventEmitterBase",
3851
- "module": "src/internal/mixins/event-emitter.ts"
3852
- }
3853
- }
3854
- ]
3855
- },
3856
3908
  {
3857
3909
  "kind": "javascript-module",
3858
3910
  "path": "src/operations/filter/operands/boolean.ts",