@genesislcap/foundation-zero-grid-tabulator 14.262.1 → 14.262.2

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 (41) hide show
  1. package/dist/custom-elements.json +782 -198
  2. package/dist/dts/cell-formatters/action.formatter.d.ts +12 -0
  3. package/dist/dts/cell-formatters/action.formatter.d.ts.map +1 -0
  4. package/dist/dts/cell-formatters/actions-menu.formatter.d.ts +12 -0
  5. package/dist/dts/cell-formatters/actions-menu.formatter.d.ts.map +1 -0
  6. package/dist/dts/cell-formatters/boolean.formatter.d.ts +12 -0
  7. package/dist/dts/cell-formatters/boolean.formatter.d.ts.map +1 -0
  8. package/dist/dts/cell-formatters/editable.formatter.d.ts +12 -0
  9. package/dist/dts/cell-formatters/editable.formatter.d.ts.map +1 -0
  10. package/dist/dts/cell-formatters/index.d.ts +25 -0
  11. package/dist/dts/cell-formatters/index.d.ts.map +1 -0
  12. package/dist/dts/cell-formatters/select.formatter.d.ts +12 -0
  13. package/dist/dts/cell-formatters/select.formatter.d.ts.map +1 -0
  14. package/dist/dts/cell-formatters/text.formatter.d.ts +12 -0
  15. package/dist/dts/cell-formatters/text.formatter.d.ts.map +1 -0
  16. package/dist/dts/grid-tabulator.d.ts +1 -2
  17. package/dist/dts/grid-tabulator.d.ts.map +1 -1
  18. package/dist/dts/index.d.ts +6 -5
  19. package/dist/dts/index.d.ts.map +1 -1
  20. package/dist/dts/utils/index.d.ts +2 -0
  21. package/dist/dts/utils/index.d.ts.map +1 -0
  22. package/dist/dts/utils/init-grid.d.ts +9 -0
  23. package/dist/dts/utils/init-grid.d.ts.map +1 -0
  24. package/dist/esm/cell-formatters/action.formatter.js +14 -0
  25. package/dist/esm/cell-formatters/actions-menu.formatter.js +14 -0
  26. package/dist/esm/cell-formatters/boolean.formatter.js +14 -0
  27. package/dist/esm/cell-formatters/editable.formatter.js +14 -0
  28. package/dist/esm/cell-formatters/index.js +27 -0
  29. package/dist/esm/cell-formatters/select.formatter.js +14 -0
  30. package/dist/esm/cell-formatters/text.formatter.js +14 -0
  31. package/dist/esm/grid-tabulator.js +6 -5
  32. package/dist/esm/index.js +6 -5
  33. package/dist/esm/utils/index.js +1 -0
  34. package/dist/esm/utils/init-grid.js +10 -0
  35. package/package.json +14 -14
  36. package/dist/dts/cell-renderers/action.renderer.d.ts +0 -23
  37. package/dist/dts/cell-renderers/action.renderer.d.ts.map +0 -1
  38. package/dist/dts/cell-renderers/index.d.ts +0 -2
  39. package/dist/dts/cell-renderers/index.d.ts.map +0 -1
  40. package/dist/esm/cell-renderers/action.renderer.js +0 -39
  41. package/dist/esm/cell-renderers/index.js +0 -1
@@ -313,6 +313,18 @@
313
313
  "module": "src/grid-tabulator.ts"
314
314
  }
315
315
  },
316
+ {
317
+ "kind": "field",
318
+ "name": "persistFilterModelKey",
319
+ "type": {
320
+ "text": "string"
321
+ },
322
+ "description": "The key to use for persisting the filter model in local browser or KV storage.",
323
+ "inheritedFrom": {
324
+ "name": "GridTabulator",
325
+ "module": "src/grid-tabulator.ts"
326
+ }
327
+ },
316
328
  {
317
329
  "kind": "field",
318
330
  "name": "rowHeight",
@@ -325,6 +337,85 @@
325
337
  "module": "src/grid-tabulator.ts"
326
338
  }
327
339
  },
340
+ {
341
+ "kind": "field",
342
+ "name": "headerCaseType",
343
+ "type": {
344
+ "text": "GridTabulatorCaseType"
345
+ },
346
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
347
+ "privacy": "public",
348
+ "inheritedFrom": {
349
+ "name": "GridTabulator",
350
+ "module": "src/grid-tabulator.ts"
351
+ }
352
+ },
353
+ {
354
+ "kind": "field",
355
+ "name": "gridAutosizingEnabled",
356
+ "type": {
357
+ "text": "boolean"
358
+ },
359
+ "default": "false",
360
+ "description": "Boolean attribute to control whether the grid autosizes the columns upon interaction.\nThis will disable the column widths from being manually set, and doesn't save the widths\nin local storage if you are using `persist-column-state-key`.",
361
+ "inheritedFrom": {
362
+ "name": "GridTabulator",
363
+ "module": "src/grid-tabulator.ts"
364
+ }
365
+ },
366
+ {
367
+ "kind": "field",
368
+ "name": "enableCellFlashing",
369
+ "type": {
370
+ "text": "boolean"
371
+ },
372
+ "default": "false",
373
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
374
+ "inheritedFrom": {
375
+ "name": "GridTabulator",
376
+ "module": "src/grid-tabulator.ts"
377
+ }
378
+ },
379
+ {
380
+ "kind": "field",
381
+ "name": "enableRowFlashing",
382
+ "type": {
383
+ "text": "boolean"
384
+ },
385
+ "default": "false",
386
+ "description": "If true, will enable row flashing for all rows",
387
+ "inheritedFrom": {
388
+ "name": "GridTabulator",
389
+ "module": "src/grid-tabulator.ts"
390
+ }
391
+ },
392
+ {
393
+ "kind": "field",
394
+ "name": "showHeaderFilters",
395
+ "type": {
396
+ "text": "boolean"
397
+ },
398
+ "default": "false",
399
+ "description": "If true, will show header filters on columns by default",
400
+ "inheritedFrom": {
401
+ "name": "GridTabulator",
402
+ "module": "src/grid-tabulator.ts"
403
+ }
404
+ },
405
+ {
406
+ "kind": "field",
407
+ "name": "columnComponentName",
408
+ "type": {
409
+ "text": "string"
410
+ },
411
+ "default": "'grid-tabulator-column'",
412
+ "description": "The column component name used for querying child column elements",
413
+ "privacy": "public",
414
+ "inheritedFrom": {
415
+ "name": "GridTabulator",
416
+ "module": "src/grid-tabulator.ts"
417
+ }
418
+ },
328
419
  {
329
420
  "kind": "field",
330
421
  "name": "rehydrationAttempted",
@@ -338,6 +429,120 @@
338
429
  "module": "src/grid-tabulator.ts"
339
430
  }
340
431
  },
432
+ {
433
+ "kind": "field",
434
+ "name": "gridComponents",
435
+ "type": {
436
+ "text": "{ [componentName: string]: any }"
437
+ },
438
+ "privacy": "private",
439
+ "default": "{\n // Using the new formatter approach, these components are no longer needed\n }",
440
+ "description": "Map of the available cell renderers",
441
+ "inheritedFrom": {
442
+ "name": "GridTabulator",
443
+ "module": "src/grid-tabulator.ts"
444
+ }
445
+ },
446
+ {
447
+ "kind": "method",
448
+ "name": "registerCellFormatters",
449
+ "privacy": "private",
450
+ "parameters": [
451
+ {
452
+ "name": "customFormatters",
453
+ "type": {
454
+ "text": "any"
455
+ }
456
+ }
457
+ ],
458
+ "description": "Register custom cell formatters in the top-level formatters registry",
459
+ "inheritedFrom": {
460
+ "name": "GridTabulator",
461
+ "module": "src/grid-tabulator.ts"
462
+ }
463
+ },
464
+ {
465
+ "kind": "method",
466
+ "name": "processColumnFormatters",
467
+ "privacy": "private",
468
+ "parameters": [
469
+ {
470
+ "name": "columns",
471
+ "type": {
472
+ "text": "any[]"
473
+ },
474
+ "description": "Array of column definitions"
475
+ },
476
+ {
477
+ "name": "formatters",
478
+ "type": {
479
+ "text": "any"
480
+ },
481
+ "description": "Available formatter functions"
482
+ }
483
+ ],
484
+ "description": "Process column formatters - convert string formatter names to function references",
485
+ "inheritedFrom": {
486
+ "name": "GridTabulator",
487
+ "module": "src/grid-tabulator.ts"
488
+ }
489
+ },
490
+ {
491
+ "kind": "method",
492
+ "name": "registerCellEditors",
493
+ "privacy": "private",
494
+ "description": "Register our custom cell editors with Tabulator",
495
+ "inheritedFrom": {
496
+ "name": "GridTabulator",
497
+ "module": "src/grid-tabulator.ts"
498
+ }
499
+ },
500
+ {
501
+ "kind": "method",
502
+ "name": "formatColumnHeaders",
503
+ "privacy": "private",
504
+ "parameters": [
505
+ {
506
+ "name": "columns",
507
+ "type": {
508
+ "text": "any[]"
509
+ }
510
+ }
511
+ ],
512
+ "description": "Format column headers based on headerCaseType setting",
513
+ "inheritedFrom": {
514
+ "name": "GridTabulator",
515
+ "module": "src/grid-tabulator.ts"
516
+ }
517
+ },
518
+ {
519
+ "kind": "method",
520
+ "name": "applyCellFlashing",
521
+ "privacy": "private",
522
+ "parameters": [
523
+ {
524
+ "name": "columns",
525
+ "type": {
526
+ "text": "any[]"
527
+ }
528
+ }
529
+ ],
530
+ "description": "Apply cell flashing to columns if enableCellFlashing is true",
531
+ "inheritedFrom": {
532
+ "name": "GridTabulator",
533
+ "module": "src/grid-tabulator.ts"
534
+ }
535
+ },
536
+ {
537
+ "kind": "method",
538
+ "name": "bindResizeEvents",
539
+ "privacy": "private",
540
+ "description": "Bind events to handle responsive grid resizing",
541
+ "inheritedFrom": {
542
+ "name": "GridTabulator",
543
+ "module": "src/grid-tabulator.ts"
544
+ }
545
+ },
341
546
  {
342
547
  "kind": "field",
343
548
  "name": "statePersistanceEnabled",
@@ -449,6 +654,36 @@
449
654
  "module": "src/grid-tabulator.ts"
450
655
  }
451
656
  },
657
+ {
658
+ "kind": "method",
659
+ "name": "refreshCells",
660
+ "description": "Refresh the grid cells",
661
+ "privacy": "public",
662
+ "inheritedFrom": {
663
+ "name": "GridTabulator",
664
+ "module": "src/grid-tabulator.ts"
665
+ }
666
+ },
667
+ {
668
+ "kind": "method",
669
+ "name": "clearFilters",
670
+ "description": "Clear all filters",
671
+ "privacy": "public",
672
+ "inheritedFrom": {
673
+ "name": "GridTabulator",
674
+ "module": "src/grid-tabulator.ts"
675
+ }
676
+ },
677
+ {
678
+ "kind": "method",
679
+ "name": "redraw",
680
+ "description": "Redraw the table",
681
+ "privacy": "public",
682
+ "inheritedFrom": {
683
+ "name": "GridTabulator",
684
+ "module": "src/grid-tabulator.ts"
685
+ }
686
+ },
452
687
  {
453
688
  "kind": "field",
454
689
  "name": "fontFaceDestroy",
@@ -487,6 +722,55 @@
487
722
  "module": "src/grid-tabulator.ts"
488
723
  }
489
724
  },
725
+ {
726
+ "kind": "method",
727
+ "name": "mergeColumnDefsFromTemplate",
728
+ "privacy": "private",
729
+ "return": {
730
+ "type": {
731
+ "text": ""
732
+ }
733
+ },
734
+ "parameters": [
735
+ {
736
+ "name": "options",
737
+ "type": {
738
+ "text": "Options"
739
+ },
740
+ "description": "The Tabulator options object"
741
+ }
742
+ ],
743
+ "description": "Merges columnd definitions from child elements and options",
744
+ "inheritedFrom": {
745
+ "name": "GridTabulator",
746
+ "module": "src/grid-tabulator.ts"
747
+ }
748
+ },
749
+ {
750
+ "kind": "method",
751
+ "name": "getTemplateColumnDefs",
752
+ "privacy": "private",
753
+ "return": {
754
+ "type": {
755
+ "text": ""
756
+ }
757
+ },
758
+ "description": "Gets column definitions from child column elements",
759
+ "inheritedFrom": {
760
+ "name": "GridTabulator",
761
+ "module": "src/grid-tabulator.ts"
762
+ }
763
+ },
764
+ {
765
+ "kind": "method",
766
+ "name": "registerFormattersWithTabulator",
767
+ "privacy": "private",
768
+ "description": "Register our formatters with Tabulator's formatter registry, if available",
769
+ "inheritedFrom": {
770
+ "name": "GridTabulator",
771
+ "module": "src/grid-tabulator.ts"
772
+ }
773
+ },
490
774
  {
491
775
  "kind": "field",
492
776
  "name": "_presentation",
@@ -641,6 +925,18 @@
641
925
  "module": "src/grid-tabulator.ts"
642
926
  }
643
927
  },
928
+ {
929
+ "name": "persist-filter-model-key",
930
+ "type": {
931
+ "text": "string"
932
+ },
933
+ "description": "The key to use for persisting the filter model in local browser or KV storage.",
934
+ "fieldName": "persistFilterModelKey",
935
+ "inheritedFrom": {
936
+ "name": "GridTabulator",
937
+ "module": "src/grid-tabulator.ts"
938
+ }
939
+ },
644
940
  {
645
941
  "name": "rowHeight",
646
942
  "type": {
@@ -667,28 +963,92 @@
667
963
  "name": "GridTabulator",
668
964
  "module": "src/grid-tabulator.ts"
669
965
  }
670
- }
671
- ]
672
- },
673
- {
674
- "kind": "variable",
675
- "name": "zeroGridTabulatorShadowOptions",
676
- "type": {
677
- "text": "ShadowRootInit"
678
- },
679
- "default": "gridTabulatorShadowOptions"
680
- },
681
- {
682
- "kind": "variable",
683
- "name": "zeroGridTabulatorDefaultConfig",
684
- "default": "defaultGridTabulatorConfig"
685
- },
686
- {
687
- "kind": "variable",
688
- "name": "zeroGridTabulator"
689
- }
690
- ],
691
- "exports": [
966
+ },
967
+ {
968
+ "name": "header-case-type",
969
+ "type": {
970
+ "text": "GridTabulatorCaseType"
971
+ },
972
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
973
+ "fieldName": "headerCaseType",
974
+ "inheritedFrom": {
975
+ "name": "GridTabulator",
976
+ "module": "src/grid-tabulator.ts"
977
+ }
978
+ },
979
+ {
980
+ "name": "grid-autosizing",
981
+ "type": {
982
+ "text": "boolean"
983
+ },
984
+ "default": "false",
985
+ "description": "Boolean attribute to control whether the grid autosizes the columns upon interaction.\nThis will disable the column widths from being manually set, and doesn't save the widths\nin local storage if you are using `persist-column-state-key`.",
986
+ "fieldName": "gridAutosizingEnabled",
987
+ "inheritedFrom": {
988
+ "name": "GridTabulator",
989
+ "module": "src/grid-tabulator.ts"
990
+ }
991
+ },
992
+ {
993
+ "name": "enable-cell-flashing",
994
+ "type": {
995
+ "text": "boolean"
996
+ },
997
+ "default": "false",
998
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
999
+ "fieldName": "enableCellFlashing",
1000
+ "inheritedFrom": {
1001
+ "name": "GridTabulator",
1002
+ "module": "src/grid-tabulator.ts"
1003
+ }
1004
+ },
1005
+ {
1006
+ "name": "enable-row-flashing",
1007
+ "type": {
1008
+ "text": "boolean"
1009
+ },
1010
+ "default": "false",
1011
+ "description": "If true, will enable row flashing for all rows",
1012
+ "fieldName": "enableRowFlashing",
1013
+ "inheritedFrom": {
1014
+ "name": "GridTabulator",
1015
+ "module": "src/grid-tabulator.ts"
1016
+ }
1017
+ },
1018
+ {
1019
+ "name": "show-header-filters",
1020
+ "type": {
1021
+ "text": "boolean"
1022
+ },
1023
+ "default": "false",
1024
+ "description": "If true, will show header filters on columns by default",
1025
+ "fieldName": "showHeaderFilters",
1026
+ "inheritedFrom": {
1027
+ "name": "GridTabulator",
1028
+ "module": "src/grid-tabulator.ts"
1029
+ }
1030
+ }
1031
+ ]
1032
+ },
1033
+ {
1034
+ "kind": "variable",
1035
+ "name": "zeroGridTabulatorShadowOptions",
1036
+ "type": {
1037
+ "text": "ShadowRootInit"
1038
+ },
1039
+ "default": "gridTabulatorShadowOptions"
1040
+ },
1041
+ {
1042
+ "kind": "variable",
1043
+ "name": "zeroGridTabulatorDefaultConfig",
1044
+ "default": "defaultGridTabulatorConfig"
1045
+ },
1046
+ {
1047
+ "kind": "variable",
1048
+ "name": "zeroGridTabulator"
1049
+ }
1050
+ ],
1051
+ "exports": [
692
1052
  {
693
1053
  "kind": "js",
694
1054
  "name": "ZeroGridTabulator",
@@ -733,7 +1093,7 @@
733
1093
  "name": "*",
734
1094
  "declaration": {
735
1095
  "name": "*",
736
- "package": "./grid-tabulator"
1096
+ "package": "./cell-formatters"
737
1097
  }
738
1098
  },
739
1099
  {
@@ -741,7 +1101,7 @@
741
1101
  "name": "*",
742
1102
  "declaration": {
743
1103
  "name": "*",
744
- "package": "./grid-tabulator.styles"
1104
+ "package": "./style"
745
1105
  }
746
1106
  },
747
1107
  {
@@ -749,7 +1109,7 @@
749
1109
  "name": "*",
750
1110
  "declaration": {
751
1111
  "name": "*",
752
- "package": "./grid-tabulator.template"
1112
+ "package": "./themes"
753
1113
  }
754
1114
  },
755
1115
  {
@@ -757,7 +1117,7 @@
757
1117
  "name": "*",
758
1118
  "declaration": {
759
1119
  "name": "*",
760
- "package": "./cell-renderers"
1120
+ "package": "./utils"
761
1121
  }
762
1122
  },
763
1123
  {
@@ -765,7 +1125,7 @@
765
1125
  "name": "*",
766
1126
  "declaration": {
767
1127
  "name": "*",
768
- "package": "./themes"
1128
+ "package": "./grid-components"
769
1129
  }
770
1130
  },
771
1131
  {
@@ -773,7 +1133,7 @@
773
1133
  "name": "*",
774
1134
  "declaration": {
775
1135
  "name": "*",
776
- "package": "./style"
1136
+ "package": "./grid-tabulator.styles"
777
1137
  }
778
1138
  },
779
1139
  {
@@ -781,7 +1141,15 @@
781
1141
  "name": "*",
782
1142
  "declaration": {
783
1143
  "name": "*",
784
- "package": "./grid-components"
1144
+ "package": "./grid-tabulator.template"
1145
+ }
1146
+ },
1147
+ {
1148
+ "kind": "js",
1149
+ "name": "*",
1150
+ "declaration": {
1151
+ "name": "*",
1152
+ "package": "./grid-tabulator"
785
1153
  }
786
1154
  },
787
1155
  {
@@ -796,228 +1164,393 @@
796
1164
  },
797
1165
  {
798
1166
  "kind": "javascript-module",
799
- "path": "src/cell-renderers/action.renderer.ts",
1167
+ "path": "src/cell-formatters/action.formatter.ts",
800
1168
  "declarations": [
801
1169
  {
802
- "kind": "class",
803
- "description": "",
804
- "name": "ZeroTabulatorActionRenderer",
805
- "superclass": {
806
- "name": "ActionRenderer",
807
- "package": "@genesislcap/grid-tabulator"
1170
+ "kind": "function",
1171
+ "name": "actionFormatter",
1172
+ "return": {
1173
+ "type": {
1174
+ "text": ""
1175
+ }
808
1176
  },
809
- "tagName": "%%prefix%%-grid-tabulator-action-renderer",
810
- "customElement": true,
811
- "members": [
1177
+ "parameters": [
812
1178
  {
813
- "kind": "field",
814
- "name": "params",
1179
+ "name": "cell",
815
1180
  "type": {
816
- "text": "ActionRendererParams"
1181
+ "text": "any"
817
1182
  },
818
- "privacy": "public",
819
- "inheritedFrom": {
820
- "name": "ActionRenderer",
821
- "module": "src/cell-renderers/action.renderer.ts"
822
- }
1183
+ "description": "The cell component provided by Tabulator"
823
1184
  },
824
1185
  {
825
- "kind": "field",
826
- "name": "pendingAction",
1186
+ "name": "formatterParams",
1187
+ "default": "{}",
827
1188
  "type": {
828
- "text": "boolean"
1189
+ "text": "ActionFormatterParams"
829
1190
  },
830
- "privacy": "public",
831
- "inheritedFrom": {
832
- "name": "ActionRenderer",
833
- "module": "src/cell-renderers/action.renderer.ts"
834
- }
835
- },
836
- {
837
- "kind": "method",
838
- "name": "init",
839
- "privacy": "public",
840
- "parameters": [
841
- {
842
- "name": "params",
843
- "type": {
844
- "text": "ActionRendererParams"
845
- }
846
- }
847
- ],
848
- "inheritedFrom": {
849
- "name": "ActionRenderer",
850
- "module": "src/cell-renderers/action.renderer.ts"
851
- }
852
- },
853
- {
854
- "kind": "method",
855
- "name": "clickHandler",
856
- "privacy": "public",
857
- "inheritedFrom": {
858
- "name": "ActionRenderer",
859
- "module": "src/cell-renderers/action.renderer.ts"
860
- }
861
- },
862
- {
863
- "kind": "field",
864
- "name": "dataTestId",
865
- "readonly": true,
866
- "inheritedFrom": {
867
- "name": "ActionRenderer",
868
- "module": "src/cell-renderers/action.renderer.ts"
869
- }
870
- },
1191
+ "description": "Action formatter parameters"
1192
+ }
1193
+ ],
1194
+ "description": "Zero-styled action formatter for Tabulator.\nThis simply uses the base formatter with the 'zero' prefix.",
1195
+ "privacy": "public"
1196
+ }
1197
+ ],
1198
+ "exports": [
1199
+ {
1200
+ "kind": "js",
1201
+ "name": "actionFormatter",
1202
+ "declaration": {
1203
+ "name": "actionFormatter",
1204
+ "module": "src/cell-formatters/action.formatter.ts"
1205
+ }
1206
+ }
1207
+ ]
1208
+ },
1209
+ {
1210
+ "kind": "javascript-module",
1211
+ "path": "src/cell-formatters/actions-menu.formatter.ts",
1212
+ "declarations": [
1213
+ {
1214
+ "kind": "function",
1215
+ "name": "actionsMenuFormatter",
1216
+ "return": {
1217
+ "type": {
1218
+ "text": ""
1219
+ }
1220
+ },
1221
+ "parameters": [
871
1222
  {
872
- "kind": "field",
873
- "name": "_presentation",
1223
+ "name": "cell",
874
1224
  "type": {
875
- "text": "ComponentPresentation | null | undefined"
1225
+ "text": "any"
876
1226
  },
877
- "privacy": "private",
878
- "default": "void 0",
879
- "inheritedFrom": {
880
- "name": "FoundationElement",
881
- "module": "src/foundation-element/foundation-element.ts"
882
- }
1227
+ "description": "The cell component provided by Tabulator"
883
1228
  },
884
1229
  {
885
- "kind": "field",
886
- "name": "$presentation",
1230
+ "name": "formatterParams",
1231
+ "default": "{}",
887
1232
  "type": {
888
- "text": "ComponentPresentation | null"
1233
+ "text": "ActionsMenuFormatterParams"
889
1234
  },
890
- "privacy": "public",
891
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
892
- "inheritedFrom": {
893
- "name": "FoundationElement",
894
- "module": "src/foundation-element/foundation-element.ts"
895
- }
896
- },
1235
+ "description": "Actions menu formatter parameters"
1236
+ }
1237
+ ],
1238
+ "description": "Zero-styled actions menu formatter for Tabulator.\nThis simply uses the base formatter with the 'zero' prefix.",
1239
+ "privacy": "public"
1240
+ }
1241
+ ],
1242
+ "exports": [
1243
+ {
1244
+ "kind": "js",
1245
+ "name": "actionsMenuFormatter",
1246
+ "declaration": {
1247
+ "name": "actionsMenuFormatter",
1248
+ "module": "src/cell-formatters/actions-menu.formatter.ts"
1249
+ }
1250
+ }
1251
+ ]
1252
+ },
1253
+ {
1254
+ "kind": "javascript-module",
1255
+ "path": "src/cell-formatters/boolean.formatter.ts",
1256
+ "declarations": [
1257
+ {
1258
+ "kind": "function",
1259
+ "name": "booleanFormatter",
1260
+ "return": {
1261
+ "type": {
1262
+ "text": ""
1263
+ }
1264
+ },
1265
+ "parameters": [
897
1266
  {
898
- "kind": "field",
899
- "name": "template",
1267
+ "name": "cell",
900
1268
  "type": {
901
- "text": "ElementViewTemplate | void | null"
1269
+ "text": "any"
902
1270
  },
903
- "privacy": "public",
904
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
905
- "inheritedFrom": {
906
- "name": "FoundationElement",
907
- "module": "src/foundation-element/foundation-element.ts"
908
- }
1271
+ "description": "The cell component provided by Tabulator"
909
1272
  },
910
1273
  {
911
- "kind": "method",
912
- "name": "templateChanged",
913
- "privacy": "protected",
914
- "return": {
915
- "type": {
916
- "text": "void"
917
- }
918
- },
919
- "inheritedFrom": {
920
- "name": "FoundationElement",
921
- "module": "src/foundation-element/foundation-element.ts"
922
- }
923
- },
924
- {
925
- "kind": "field",
926
- "name": "styles",
1274
+ "name": "formatterParams",
1275
+ "default": "{}",
927
1276
  "type": {
928
- "text": "ElementStyles | void | null"
1277
+ "text": "BooleanFormatterParams"
929
1278
  },
930
- "privacy": "public",
931
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
932
- "inheritedFrom": {
933
- "name": "FoundationElement",
934
- "module": "src/foundation-element/foundation-element.ts"
935
- }
936
- },
1279
+ "description": "Boolean formatter parameters"
1280
+ }
1281
+ ],
1282
+ "description": "Zero-styled boolean formatter for Tabulator.\nThis simply uses the base formatter with the 'zero' prefix.",
1283
+ "privacy": "public"
1284
+ }
1285
+ ],
1286
+ "exports": [
1287
+ {
1288
+ "kind": "js",
1289
+ "name": "booleanFormatter",
1290
+ "declaration": {
1291
+ "name": "booleanFormatter",
1292
+ "module": "src/cell-formatters/boolean.formatter.ts"
1293
+ }
1294
+ }
1295
+ ]
1296
+ },
1297
+ {
1298
+ "kind": "javascript-module",
1299
+ "path": "src/cell-formatters/editable.formatter.ts",
1300
+ "declarations": [
1301
+ {
1302
+ "kind": "function",
1303
+ "name": "editableFormatter",
1304
+ "return": {
1305
+ "type": {
1306
+ "text": ""
1307
+ }
1308
+ },
1309
+ "parameters": [
937
1310
  {
938
- "kind": "method",
939
- "name": "stylesChanged",
940
- "privacy": "protected",
941
- "return": {
942
- "type": {
943
- "text": "void"
944
- }
1311
+ "name": "cell",
1312
+ "type": {
1313
+ "text": "any"
945
1314
  },
946
- "inheritedFrom": {
947
- "name": "FoundationElement",
948
- "module": "src/foundation-element/foundation-element.ts"
949
- }
1315
+ "description": "The cell component provided by Tabulator"
950
1316
  },
951
1317
  {
952
- "kind": "method",
953
- "name": "compose",
954
- "privacy": "public",
955
- "static": true,
956
- "return": {
957
- "type": {
958
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
959
- }
1318
+ "name": "formatterParams",
1319
+ "default": "{}",
1320
+ "type": {
1321
+ "text": "EditableFormatterParams"
960
1322
  },
961
- "parameters": [
962
- {
963
- "name": "this",
964
- "type": {
965
- "text": "K"
966
- }
967
- },
968
- {
969
- "name": "elementDefinition",
970
- "type": {
971
- "text": "T"
972
- },
973
- "description": "The definition of the element to create the registry\nfunction for."
974
- }
975
- ],
976
- "description": "Defines an element registry function with a set of element definition defaults.",
977
- "inheritedFrom": {
978
- "name": "FoundationElement",
979
- "module": "src/foundation-element/foundation-element.ts"
980
- }
1323
+ "description": "Editable formatter parameters"
981
1324
  }
982
- ]
983
- },
1325
+ ],
1326
+ "description": "Zero-styled editable formatter for Tabulator.\nThis simply uses the base formatter with the 'zero' prefix.",
1327
+ "privacy": "public"
1328
+ }
1329
+ ],
1330
+ "exports": [
1331
+ {
1332
+ "kind": "js",
1333
+ "name": "editableFormatter",
1334
+ "declaration": {
1335
+ "name": "editableFormatter",
1336
+ "module": "src/cell-formatters/editable.formatter.ts"
1337
+ }
1338
+ }
1339
+ ]
1340
+ },
1341
+ {
1342
+ "kind": "javascript-module",
1343
+ "path": "src/cell-formatters/index.ts",
1344
+ "declarations": [
984
1345
  {
985
1346
  "kind": "variable",
986
- "name": "zeroTabulatorActionRenderer",
987
- "description": "The Zero Action Renderer",
988
- "privacy": "public"
1347
+ "name": "zeroFormatters",
1348
+ "type": {
1349
+ "text": "object"
1350
+ },
1351
+ "default": "{\n action: zeroActionFormatter,\n actionsMenu: zeroActionsMenuFormatter,\n boolean: zeroBooleanFormatter,\n editable: zeroEditableFormatter,\n select: zeroSelectFormatter,\n text: zeroTextFormatter,\n}",
1352
+ "description": "Zero formatters for Tabulator grid"
989
1353
  }
990
1354
  ],
991
1355
  "exports": [
992
1356
  {
993
1357
  "kind": "js",
994
- "name": "ZeroTabulatorActionRenderer",
1358
+ "name": "ActionFormatterParams",
1359
+ "declaration": {
1360
+ "name": "ActionFormatterParams",
1361
+ "module": "src/cell-formatters/index.ts"
1362
+ }
1363
+ },
1364
+ {
1365
+ "kind": "js",
1366
+ "name": "ActionsMenuFormatterParams",
1367
+ "declaration": {
1368
+ "name": "ActionsMenuFormatterParams",
1369
+ "module": "src/cell-formatters/index.ts"
1370
+ }
1371
+ },
1372
+ {
1373
+ "kind": "js",
1374
+ "name": "BooleanFormatterParams",
1375
+ "declaration": {
1376
+ "name": "BooleanFormatterParams",
1377
+ "module": "src/cell-formatters/index.ts"
1378
+ }
1379
+ },
1380
+ {
1381
+ "kind": "js",
1382
+ "name": "EditableFormatterParams",
1383
+ "declaration": {
1384
+ "name": "EditableFormatterParams",
1385
+ "module": "src/cell-formatters/index.ts"
1386
+ }
1387
+ },
1388
+ {
1389
+ "kind": "js",
1390
+ "name": "FormatterTypes",
1391
+ "declaration": {
1392
+ "name": "FormatterTypes",
1393
+ "module": "src/cell-formatters/index.ts"
1394
+ }
1395
+ },
1396
+ {
1397
+ "kind": "js",
1398
+ "name": "SelectFormatterParams",
1399
+ "declaration": {
1400
+ "name": "SelectFormatterParams",
1401
+ "module": "src/cell-formatters/index.ts"
1402
+ }
1403
+ },
1404
+ {
1405
+ "kind": "js",
1406
+ "name": "TextFormatterParams",
995
1407
  "declaration": {
996
- "name": "ZeroTabulatorActionRenderer",
997
- "module": "src/cell-renderers/action.renderer.ts"
1408
+ "name": "TextFormatterParams",
1409
+ "module": "src/cell-formatters/index.ts"
998
1410
  }
999
1411
  },
1000
1412
  {
1001
1413
  "kind": "js",
1002
- "name": "zeroTabulatorActionRenderer",
1414
+ "name": "zeroActionFormatter",
1003
1415
  "declaration": {
1004
- "name": "zeroTabulatorActionRenderer",
1005
- "module": "src/cell-renderers/action.renderer.ts"
1416
+ "name": "zeroActionFormatter",
1417
+ "module": "src/cell-formatters/index.ts"
1418
+ }
1419
+ },
1420
+ {
1421
+ "kind": "js",
1422
+ "name": "zeroActionsMenuFormatter",
1423
+ "declaration": {
1424
+ "name": "zeroActionsMenuFormatter",
1425
+ "module": "src/cell-formatters/index.ts"
1426
+ }
1427
+ },
1428
+ {
1429
+ "kind": "js",
1430
+ "name": "zeroBooleanFormatter",
1431
+ "declaration": {
1432
+ "name": "zeroBooleanFormatter",
1433
+ "module": "src/cell-formatters/index.ts"
1434
+ }
1435
+ },
1436
+ {
1437
+ "kind": "js",
1438
+ "name": "zeroEditableFormatter",
1439
+ "declaration": {
1440
+ "name": "zeroEditableFormatter",
1441
+ "module": "src/cell-formatters/index.ts"
1442
+ }
1443
+ },
1444
+ {
1445
+ "kind": "js",
1446
+ "name": "zeroSelectFormatter",
1447
+ "declaration": {
1448
+ "name": "zeroSelectFormatter",
1449
+ "module": "src/cell-formatters/index.ts"
1450
+ }
1451
+ },
1452
+ {
1453
+ "kind": "js",
1454
+ "name": "zeroTextFormatter",
1455
+ "declaration": {
1456
+ "name": "zeroTextFormatter",
1457
+ "module": "src/cell-formatters/index.ts"
1458
+ }
1459
+ },
1460
+ {
1461
+ "kind": "js",
1462
+ "name": "zeroFormatters",
1463
+ "declaration": {
1464
+ "name": "zeroFormatters",
1465
+ "module": "src/cell-formatters/index.ts"
1006
1466
  }
1007
1467
  }
1008
1468
  ]
1009
1469
  },
1010
1470
  {
1011
1471
  "kind": "javascript-module",
1012
- "path": "src/cell-renderers/index.ts",
1013
- "declarations": [],
1472
+ "path": "src/cell-formatters/select.formatter.ts",
1473
+ "declarations": [
1474
+ {
1475
+ "kind": "function",
1476
+ "name": "selectFormatter",
1477
+ "return": {
1478
+ "type": {
1479
+ "text": ""
1480
+ }
1481
+ },
1482
+ "parameters": [
1483
+ {
1484
+ "name": "cell",
1485
+ "type": {
1486
+ "text": "any"
1487
+ },
1488
+ "description": "The cell component provided by Tabulator"
1489
+ },
1490
+ {
1491
+ "name": "formatterParams",
1492
+ "default": "{ options: [] }",
1493
+ "type": {
1494
+ "text": "SelectFormatterParams"
1495
+ },
1496
+ "description": "Select formatter parameters"
1497
+ }
1498
+ ],
1499
+ "description": "Zero-styled select formatter for Tabulator.\nThis simply uses the base formatter with the 'zero' prefix.",
1500
+ "privacy": "public"
1501
+ }
1502
+ ],
1014
1503
  "exports": [
1015
1504
  {
1016
1505
  "kind": "js",
1017
- "name": "*",
1506
+ "name": "selectFormatter",
1018
1507
  "declaration": {
1019
- "name": "*",
1020
- "package": "./action.renderer"
1508
+ "name": "selectFormatter",
1509
+ "module": "src/cell-formatters/select.formatter.ts"
1510
+ }
1511
+ }
1512
+ ]
1513
+ },
1514
+ {
1515
+ "kind": "javascript-module",
1516
+ "path": "src/cell-formatters/text.formatter.ts",
1517
+ "declarations": [
1518
+ {
1519
+ "kind": "function",
1520
+ "name": "textFormatter",
1521
+ "return": {
1522
+ "type": {
1523
+ "text": ""
1524
+ }
1525
+ },
1526
+ "parameters": [
1527
+ {
1528
+ "name": "cell",
1529
+ "type": {
1530
+ "text": "any"
1531
+ },
1532
+ "description": "The cell component provided by Tabulator"
1533
+ },
1534
+ {
1535
+ "name": "formatterParams",
1536
+ "default": "{}",
1537
+ "type": {
1538
+ "text": "TextFormatterParams"
1539
+ },
1540
+ "description": "Text formatter parameters"
1541
+ }
1542
+ ],
1543
+ "description": "Zero-styled text formatter for Tabulator.\nThis simply uses the base formatter with the 'zero' prefix.",
1544
+ "privacy": "public"
1545
+ }
1546
+ ],
1547
+ "exports": [
1548
+ {
1549
+ "kind": "js",
1550
+ "name": "textFormatter",
1551
+ "declaration": {
1552
+ "name": "textFormatter",
1553
+ "module": "src/cell-formatters/text.formatter.ts"
1021
1554
  }
1022
1555
  }
1023
1556
  ]
@@ -1124,6 +1657,57 @@
1124
1657
  }
1125
1658
  ]
1126
1659
  },
1660
+ {
1661
+ "kind": "javascript-module",
1662
+ "path": "src/utils/index.ts",
1663
+ "declarations": [],
1664
+ "exports": [
1665
+ {
1666
+ "kind": "js",
1667
+ "name": "*",
1668
+ "declaration": {
1669
+ "name": "*",
1670
+ "package": "./init-grid"
1671
+ }
1672
+ }
1673
+ ]
1674
+ },
1675
+ {
1676
+ "kind": "javascript-module",
1677
+ "path": "src/utils/init-grid.ts",
1678
+ "declarations": [
1679
+ {
1680
+ "kind": "function",
1681
+ "name": "initZeroGridTabulator",
1682
+ "return": {
1683
+ "type": {
1684
+ "text": ""
1685
+ }
1686
+ },
1687
+ "parameters": [
1688
+ {
1689
+ "name": "options",
1690
+ "default": "{}",
1691
+ "type": {
1692
+ "text": "Options"
1693
+ },
1694
+ "description": "The tabulator options"
1695
+ }
1696
+ ],
1697
+ "description": "Initialize a Zero Grid Tabulator with Zero-specific formatters"
1698
+ }
1699
+ ],
1700
+ "exports": [
1701
+ {
1702
+ "kind": "js",
1703
+ "name": "initZeroGridTabulator",
1704
+ "declaration": {
1705
+ "name": "initZeroGridTabulator",
1706
+ "module": "src/utils/init-grid.ts"
1707
+ }
1708
+ }
1709
+ ]
1710
+ },
1127
1711
  {
1128
1712
  "kind": "javascript-module",
1129
1713
  "path": "src/themes/genesis-rapid/theme-genesis-rapid-css.ts",