@genesislcap/grid-tabulator 14.493.0 → 14.494.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1099 -1099
  2. package/package.json +13 -13
@@ -2744,666 +2744,589 @@
2744
2744
  },
2745
2745
  {
2746
2746
  "kind": "javascript-module",
2747
- "path": "src/style/colors.ts",
2748
- "declarations": [],
2749
- "exports": []
2750
- },
2751
- {
2752
- "kind": "javascript-module",
2753
- "path": "src/style/index.ts",
2754
- "declarations": [],
2755
- "exports": [
2756
- {
2757
- "kind": "js",
2758
- "name": "*",
2759
- "declaration": {
2760
- "name": "*",
2761
- "package": "./colors"
2762
- }
2763
- },
2764
- {
2765
- "kind": "js",
2766
- "name": "*",
2767
- "declaration": {
2768
- "name": "*",
2769
- "package": "./tokens"
2770
- }
2771
- }
2772
- ]
2773
- },
2774
- {
2775
- "kind": "javascript-module",
2776
- "path": "src/style/tokens.ts",
2777
- "declarations": [],
2778
- "exports": []
2779
- },
2780
- {
2781
- "kind": "javascript-module",
2782
- "path": "src/utils/index.ts",
2783
- "declarations": [],
2784
- "exports": [
2785
- {
2786
- "kind": "js",
2787
- "name": "*",
2788
- "declaration": {
2789
- "name": "*",
2790
- "package": "./logger"
2791
- }
2792
- },
2793
- {
2794
- "kind": "js",
2795
- "name": "*",
2796
- "declaration": {
2797
- "name": "*",
2798
- "package": "./string-utils"
2799
- }
2800
- },
2801
- {
2802
- "kind": "js",
2803
- "name": "*",
2804
- "declaration": {
2805
- "name": "*",
2806
- "package": "./test-id-utils"
2807
- }
2808
- }
2809
- ]
2810
- },
2811
- {
2812
- "kind": "javascript-module",
2813
- "path": "src/utils/logger.ts",
2814
- "declarations": [
2815
- {
2816
- "kind": "variable",
2817
- "name": "logger",
2818
- "description": "Logger for the `grid-tabulator` package",
2819
- "privacy": "public"
2820
- }
2821
- ],
2822
- "exports": [
2823
- {
2824
- "kind": "js",
2825
- "name": "logger",
2826
- "declaration": {
2827
- "name": "logger",
2828
- "module": "src/utils/logger.ts"
2829
- }
2830
- }
2831
- ]
2832
- },
2833
- {
2834
- "kind": "javascript-module",
2835
- "path": "src/utils/string-utils.ts",
2747
+ "path": "src/cell/cell.ts",
2836
2748
  "declarations": [
2837
2749
  {
2838
- "kind": "function",
2839
- "name": "convertToKebabCase",
2840
- "return": {
2841
- "type": {
2842
- "text": ""
2843
- }
2844
- },
2845
- "parameters": [
2750
+ "kind": "class",
2751
+ "description": "The GridTabulator Cell element.",
2752
+ "name": "GridTabulatorCell",
2753
+ "members": [
2846
2754
  {
2847
- "name": "str",
2755
+ "kind": "field",
2756
+ "name": "renderer",
2848
2757
  "type": {
2849
- "text": "string"
2758
+ "text": "CellRendererFunc"
2850
2759
  },
2851
- "description": "The string to convert"
2852
- }
2853
- ],
2854
- "description": "Convert a string to kebab case\nExample: convertToKebabCase('helloWorld') // 'hello-world'"
2855
- },
2856
- {
2857
- "kind": "function",
2858
- "name": "mergeAndDedupColDefWithColumnState",
2859
- "return": {
2860
- "type": {
2861
- "text": ""
2862
- }
2863
- },
2864
- "parameters": [
2760
+ "privacy": "public"
2761
+ },
2865
2762
  {
2866
- "name": "colDefs",
2763
+ "kind": "field",
2764
+ "name": "rendererParams",
2867
2765
  "type": {
2868
- "text": "any[]"
2766
+ "text": "CellRendererParams"
2869
2767
  },
2870
- "description": "The column definitions"
2768
+ "privacy": "public"
2871
2769
  },
2872
2770
  {
2873
- "name": "columnState",
2771
+ "kind": "field",
2772
+ "name": "slottedRenderer",
2874
2773
  "type": {
2875
- "text": "any[]"
2774
+ "text": "HTMLElement[]"
2876
2775
  },
2877
- "description": "The column state"
2878
- }
2879
- ],
2880
- "description": "Merges and dedupes column definitions with column state"
2881
- }
2882
- ],
2883
- "exports": [
2884
- {
2885
- "kind": "js",
2886
- "name": "convertToKebabCase",
2887
- "declaration": {
2888
- "name": "convertToKebabCase",
2889
- "module": "src/utils/string-utils.ts"
2890
- }
2891
- },
2892
- {
2893
- "kind": "js",
2894
- "name": "mergeAndDedupColDefWithColumnState",
2895
- "declaration": {
2896
- "name": "mergeAndDedupColDefWithColumnState",
2897
- "module": "src/utils/string-utils.ts"
2898
- }
2899
- }
2900
- ]
2901
- },
2902
- {
2903
- "kind": "javascript-module",
2904
- "path": "src/utils/test-id-utils.ts",
2905
- "declarations": [
2906
- {
2907
- "kind": "function",
2908
- "name": "getDataTestId",
2909
- "return": {
2910
- "type": {
2911
- "text": ""
2912
- }
2913
- },
2914
- "parameters": [
2776
+ "privacy": "public"
2777
+ },
2915
2778
  {
2916
- "name": "dataTestId",
2917
- "type": {
2918
- "text": "((rowData: T) => string) | string | undefined"
2779
+ "kind": "method",
2780
+ "name": "init",
2781
+ "privacy": "public",
2782
+ "parameters": [
2783
+ {
2784
+ "name": "params",
2785
+ "type": {
2786
+ "text": "CellRendererParams"
2787
+ }
2788
+ }
2789
+ ]
2790
+ },
2791
+ {
2792
+ "kind": "method",
2793
+ "name": "getElement",
2794
+ "privacy": "public",
2795
+ "return": {
2796
+ "type": {
2797
+ "text": "HTMLElement"
2798
+ }
2799
+ }
2800
+ },
2801
+ {
2802
+ "kind": "method",
2803
+ "name": "destroy",
2804
+ "privacy": "public"
2805
+ },
2806
+ {
2807
+ "kind": "method",
2808
+ "name": "refresh",
2809
+ "privacy": "public",
2810
+ "return": {
2811
+ "type": {
2812
+ "text": "boolean"
2813
+ }
2919
2814
  },
2920
- "description": "The dataTestId value (string or function)"
2815
+ "parameters": [
2816
+ {
2817
+ "name": "params",
2818
+ "type": {
2819
+ "text": "CellRendererParams"
2820
+ }
2821
+ }
2822
+ ]
2921
2823
  },
2922
2824
  {
2923
- "name": "rowData",
2825
+ "kind": "method",
2826
+ "name": "slottedRendererChanged",
2827
+ "privacy": "public"
2828
+ },
2829
+ {
2830
+ "kind": "field",
2831
+ "name": "_presentation",
2924
2832
  "type": {
2925
- "text": "T"
2833
+ "text": "ComponentPresentation | null | undefined"
2926
2834
  },
2927
- "description": "The row data to pass to the function if dataTestId is a function"
2928
- }
2929
- ],
2930
- "description": "Resolves a dataTestId value that can be either a string or a function"
2931
- }
2932
- ],
2933
- "exports": [
2934
- {
2935
- "kind": "js",
2936
- "name": "getDataTestId",
2937
- "declaration": {
2938
- "name": "getDataTestId",
2939
- "module": "src/utils/test-id-utils.ts"
2940
- }
2941
- }
2942
- ]
2943
- },
2944
- {
2945
- "kind": "javascript-module",
2946
- "path": "src/cell-formatters/action.formatter.ts",
2947
- "declarations": [
2948
- {
2949
- "kind": "function",
2950
- "name": "actionFormatter",
2951
- "return": {
2952
- "type": {
2953
- "text": ""
2954
- }
2955
- },
2956
- "parameters": [
2835
+ "privacy": "private",
2836
+ "default": "void 0",
2837
+ "inheritedFrom": {
2838
+ "name": "FoundationElement",
2839
+ "module": "src/foundation-element/foundation-element.ts"
2840
+ }
2841
+ },
2957
2842
  {
2958
- "name": "cell",
2843
+ "kind": "field",
2844
+ "name": "$presentation",
2959
2845
  "type": {
2960
- "text": "any"
2846
+ "text": "ComponentPresentation | null"
2961
2847
  },
2962
- "description": "The cell component provided by Tabulator"
2848
+ "privacy": "public",
2849
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2850
+ "inheritedFrom": {
2851
+ "name": "FoundationElement",
2852
+ "module": "src/foundation-element/foundation-element.ts"
2853
+ }
2963
2854
  },
2964
2855
  {
2965
- "name": "formatterParams",
2966
- "default": "{}",
2856
+ "kind": "field",
2857
+ "name": "template",
2967
2858
  "type": {
2968
- "text": "ActionFormatterParams<T>"
2859
+ "text": "ElementViewTemplate | void | null"
2969
2860
  },
2970
- "description": "Action formatter parameters"
2971
- }
2972
- ],
2973
- "description": "Formatter that displays an action button in the cell.\nStyled to match grid-pro action renderer.",
2974
- "privacy": "public"
2975
- }
2976
- ],
2977
- "exports": [
2978
- {
2979
- "kind": "js",
2980
- "name": "actionFormatter",
2981
- "declaration": {
2982
- "name": "actionFormatter",
2983
- "module": "src/cell-formatters/action.formatter.ts"
2984
- }
2985
- }
2986
- ]
2987
- },
2988
- {
2989
- "kind": "javascript-module",
2990
- "path": "src/cell-formatters/actions-menu.formatter.ts",
2991
- "declarations": [
2992
- {
2993
- "kind": "function",
2994
- "name": "actionsMenuFormatter",
2995
- "return": {
2996
- "type": {
2997
- "text": ""
2998
- }
2999
- },
3000
- "parameters": [
2861
+ "privacy": "public",
2862
+ "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.",
2863
+ "inheritedFrom": {
2864
+ "name": "FoundationElement",
2865
+ "module": "src/foundation-element/foundation-element.ts"
2866
+ }
2867
+ },
3001
2868
  {
3002
- "name": "cell",
3003
- "type": {
3004
- "text": "any"
2869
+ "kind": "method",
2870
+ "name": "templateChanged",
2871
+ "privacy": "protected",
2872
+ "return": {
2873
+ "type": {
2874
+ "text": "void"
2875
+ }
3005
2876
  },
3006
- "description": "The cell component provided by Tabulator"
2877
+ "inheritedFrom": {
2878
+ "name": "FoundationElement",
2879
+ "module": "src/foundation-element/foundation-element.ts"
2880
+ }
3007
2881
  },
3008
2882
  {
3009
- "name": "formatterParams",
3010
- "default": "{}",
2883
+ "kind": "field",
2884
+ "name": "styles",
3011
2885
  "type": {
3012
- "text": "ActionsMenuFormatterParams<T>"
2886
+ "text": "ElementStyles | void | null"
3013
2887
  },
3014
- "description": "Actions menu formatter parameters"
2888
+ "privacy": "public",
2889
+ "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.",
2890
+ "inheritedFrom": {
2891
+ "name": "FoundationElement",
2892
+ "module": "src/foundation-element/foundation-element.ts"
2893
+ }
2894
+ },
2895
+ {
2896
+ "kind": "method",
2897
+ "name": "stylesChanged",
2898
+ "privacy": "protected",
2899
+ "return": {
2900
+ "type": {
2901
+ "text": "void"
2902
+ }
2903
+ },
2904
+ "inheritedFrom": {
2905
+ "name": "FoundationElement",
2906
+ "module": "src/foundation-element/foundation-element.ts"
2907
+ }
2908
+ },
2909
+ {
2910
+ "kind": "method",
2911
+ "name": "compose",
2912
+ "privacy": "public",
2913
+ "static": true,
2914
+ "return": {
2915
+ "type": {
2916
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2917
+ }
2918
+ },
2919
+ "parameters": [
2920
+ {
2921
+ "name": "this",
2922
+ "type": {
2923
+ "text": "K"
2924
+ }
2925
+ },
2926
+ {
2927
+ "name": "elementDefinition",
2928
+ "type": {
2929
+ "text": "T"
2930
+ },
2931
+ "description": "The definition of the element to create the registry\nfunction for."
2932
+ }
2933
+ ],
2934
+ "description": "Defines an element registry function with a set of element definition defaults.",
2935
+ "inheritedFrom": {
2936
+ "name": "FoundationElement",
2937
+ "module": "src/foundation-element/foundation-element.ts"
2938
+ }
3015
2939
  }
3016
2940
  ],
3017
- "description": "Formatter that displays a dropdown menu of actions in the cell.\nStyled to match grid-pro actions-menu renderer.",
3018
- "privacy": "public"
2941
+ "superclass": {
2942
+ "name": "FoundationElement",
2943
+ "package": "@microsoft/fast-foundation"
2944
+ },
2945
+ "tagName": "grid-tabulator-cell",
2946
+ "customElement": true
3019
2947
  }
3020
2948
  ],
3021
2949
  "exports": [
3022
2950
  {
3023
2951
  "kind": "js",
3024
- "name": "actionsMenuFormatter",
2952
+ "name": "GridTabulatorCell",
3025
2953
  "declaration": {
3026
- "name": "actionsMenuFormatter",
3027
- "module": "src/cell-formatters/actions-menu.formatter.ts"
2954
+ "name": "GridTabulatorCell",
2955
+ "module": "src/cell/cell.ts"
2956
+ }
2957
+ },
2958
+ {
2959
+ "kind": "custom-element-definition",
2960
+ "name": "grid-tabulator-cell",
2961
+ "declaration": {
2962
+ "name": "GridTabulatorCell",
2963
+ "module": "src/cell/cell.ts"
3028
2964
  }
3029
2965
  }
3030
2966
  ]
3031
2967
  },
3032
2968
  {
3033
2969
  "kind": "javascript-module",
3034
- "path": "src/cell-formatters/boolean.formatter.ts",
3035
- "declarations": [
3036
- {
3037
- "kind": "function",
3038
- "name": "booleanFormatter",
3039
- "return": {
3040
- "type": {
3041
- "text": ""
3042
- }
3043
- },
3044
- "parameters": [
3045
- {
3046
- "name": "cell",
3047
- "type": {
3048
- "text": "any"
3049
- },
3050
- "description": "The cell component provided by Tabulator"
3051
- },
3052
- {
3053
- "name": "formatterParams",
3054
- "default": "{}",
3055
- "type": {
3056
- "text": "BooleanFormatterParams<T>"
3057
- },
3058
- "description": "Boolean formatter parameters"
3059
- }
3060
- ],
3061
- "description": "Formatter that displays boolean values using a checkbox component.\nStyled to match grid-pro boolean renderer.",
3062
- "privacy": "public"
3063
- }
3064
- ],
2970
+ "path": "src/cell/index.ts",
2971
+ "declarations": [],
3065
2972
  "exports": [
3066
2973
  {
3067
2974
  "kind": "js",
3068
- "name": "booleanFormatter",
2975
+ "name": "*",
3069
2976
  "declaration": {
3070
- "name": "booleanFormatter",
3071
- "module": "src/cell-formatters/boolean.formatter.ts"
2977
+ "name": "*",
2978
+ "package": "./cell"
3072
2979
  }
3073
2980
  }
3074
2981
  ]
3075
2982
  },
3076
2983
  {
3077
2984
  "kind": "javascript-module",
3078
- "path": "src/cell-formatters/constants.ts",
3079
- "declarations": [],
3080
- "exports": []
3081
- },
3082
- {
3083
- "kind": "javascript-module",
3084
- "path": "src/cell-formatters/editable.formatter.ts",
2985
+ "path": "src/cell-editors/date.editor.ts",
3085
2986
  "declarations": [
3086
2987
  {
3087
- "kind": "function",
3088
- "name": "editableFormatter",
3089
- "return": {
3090
- "type": {
3091
- "text": ""
3092
- }
3093
- },
3094
- "parameters": [
2988
+ "kind": "class",
2989
+ "description": "The date editor class for grid-tabulator",
2990
+ "name": "DateEditor",
2991
+ "members": [
3095
2992
  {
3096
- "name": "cell",
2993
+ "kind": "field",
2994
+ "name": "params",
2995
+ "type": {
2996
+ "text": "DateEditorParams"
2997
+ }
2998
+ },
2999
+ {
3000
+ "kind": "field",
3001
+ "name": "dateField",
3097
3002
  "type": {
3098
3003
  "text": "any"
3004
+ }
3005
+ },
3006
+ {
3007
+ "kind": "method",
3008
+ "name": "init",
3009
+ "parameters": [
3010
+ {
3011
+ "name": "params",
3012
+ "type": {
3013
+ "text": "DateEditorParams"
3014
+ }
3015
+ }
3016
+ ],
3017
+ "description": "Initialize the editor with parameters"
3018
+ },
3019
+ {
3020
+ "kind": "method",
3021
+ "name": "getValue",
3022
+ "description": "Get current value"
3023
+ },
3024
+ {
3025
+ "kind": "method",
3026
+ "name": "getFormattedValue",
3027
+ "description": "Format value for display"
3028
+ },
3029
+ {
3030
+ "kind": "method",
3031
+ "name": "focus",
3032
+ "description": "Set focus to the input"
3033
+ },
3034
+ {
3035
+ "kind": "method",
3036
+ "name": "handleKeyDown",
3037
+ "parameters": [
3038
+ {
3039
+ "name": "event",
3040
+ "type": {
3041
+ "text": "KeyboardEvent"
3042
+ }
3043
+ }
3044
+ ],
3045
+ "description": "Process key down events"
3046
+ },
3047
+ {
3048
+ "kind": "field",
3049
+ "name": "_presentation",
3050
+ "type": {
3051
+ "text": "ComponentPresentation | null | undefined"
3099
3052
  },
3100
- "description": "The cell component provided by Tabulator"
3053
+ "privacy": "private",
3054
+ "default": "void 0",
3055
+ "inheritedFrom": {
3056
+ "name": "FoundationElement",
3057
+ "module": "src/foundation-element/foundation-element.ts"
3058
+ }
3101
3059
  },
3102
3060
  {
3103
- "name": "formatterParams",
3104
- "default": "{}",
3061
+ "kind": "field",
3062
+ "name": "$presentation",
3105
3063
  "type": {
3106
- "text": "EditableFormatterParams<T>"
3064
+ "text": "ComponentPresentation | null"
3107
3065
  },
3108
- "description": "Editable formatter parameters"
3066
+ "privacy": "public",
3067
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3068
+ "inheritedFrom": {
3069
+ "name": "FoundationElement",
3070
+ "module": "src/foundation-element/foundation-element.ts"
3071
+ }
3072
+ },
3073
+ {
3074
+ "kind": "field",
3075
+ "name": "template",
3076
+ "type": {
3077
+ "text": "ElementViewTemplate | void | null"
3078
+ },
3079
+ "privacy": "public",
3080
+ "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.",
3081
+ "inheritedFrom": {
3082
+ "name": "FoundationElement",
3083
+ "module": "src/foundation-element/foundation-element.ts"
3084
+ }
3085
+ },
3086
+ {
3087
+ "kind": "method",
3088
+ "name": "templateChanged",
3089
+ "privacy": "protected",
3090
+ "return": {
3091
+ "type": {
3092
+ "text": "void"
3093
+ }
3094
+ },
3095
+ "inheritedFrom": {
3096
+ "name": "FoundationElement",
3097
+ "module": "src/foundation-element/foundation-element.ts"
3098
+ }
3099
+ },
3100
+ {
3101
+ "kind": "field",
3102
+ "name": "styles",
3103
+ "type": {
3104
+ "text": "ElementStyles | void | null"
3105
+ },
3106
+ "privacy": "public",
3107
+ "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.",
3108
+ "inheritedFrom": {
3109
+ "name": "FoundationElement",
3110
+ "module": "src/foundation-element/foundation-element.ts"
3111
+ }
3112
+ },
3113
+ {
3114
+ "kind": "method",
3115
+ "name": "stylesChanged",
3116
+ "privacy": "protected",
3117
+ "return": {
3118
+ "type": {
3119
+ "text": "void"
3120
+ }
3121
+ },
3122
+ "inheritedFrom": {
3123
+ "name": "FoundationElement",
3124
+ "module": "src/foundation-element/foundation-element.ts"
3125
+ }
3126
+ },
3127
+ {
3128
+ "kind": "method",
3129
+ "name": "compose",
3130
+ "privacy": "public",
3131
+ "static": true,
3132
+ "return": {
3133
+ "type": {
3134
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3135
+ }
3136
+ },
3137
+ "parameters": [
3138
+ {
3139
+ "name": "this",
3140
+ "type": {
3141
+ "text": "K"
3142
+ }
3143
+ },
3144
+ {
3145
+ "name": "elementDefinition",
3146
+ "type": {
3147
+ "text": "T"
3148
+ },
3149
+ "description": "The definition of the element to create the registry\nfunction for."
3150
+ }
3151
+ ],
3152
+ "description": "Defines an element registry function with a set of element definition defaults.",
3153
+ "inheritedFrom": {
3154
+ "name": "FoundationElement",
3155
+ "module": "src/foundation-element/foundation-element.ts"
3156
+ }
3157
+ }
3158
+ ],
3159
+ "superclass": {
3160
+ "name": "FoundationElement",
3161
+ "package": "@microsoft/fast-foundation"
3162
+ }
3163
+ },
3164
+ {
3165
+ "kind": "variable",
3166
+ "name": "dateEditorStyles",
3167
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3168
+ "description": "Styles for the date editor"
3169
+ },
3170
+ {
3171
+ "kind": "function",
3172
+ "name": "getDateEditorTemplate",
3173
+ "parameters": [
3174
+ {
3175
+ "name": "prefix",
3176
+ "default": "'foundation'",
3177
+ "description": "The design system prefix to use. Defaults to 'foundation'."
3109
3178
  }
3110
3179
  ],
3111
- "description": "Formatter that displays an editable cell with validation state",
3180
+ "description": "Get a Design System prefixed date field template.",
3181
+ "return": {
3182
+ "type": {
3183
+ "text": ""
3184
+ }
3185
+ },
3112
3186
  "privacy": "public"
3113
- }
3114
- ],
3115
- "exports": [
3116
- {
3117
- "kind": "js",
3118
- "name": "editableFormatter",
3119
- "declaration": {
3120
- "name": "editableFormatter",
3121
- "module": "src/cell-formatters/editable.formatter.ts"
3122
- }
3123
- }
3124
- ]
3125
- },
3126
- {
3127
- "kind": "javascript-module",
3128
- "path": "src/cell-formatters/index.ts",
3129
- "declarations": [
3187
+ },
3130
3188
  {
3131
3189
  "kind": "variable",
3132
- "name": "formatters",
3133
- "type": {
3134
- "text": "object"
3135
- },
3136
- "default": "{\n action: actionFormatter,\n actionsMenu: actionsMenuFormatter,\n boolean: booleanFormatter,\n editable: editableFormatter,\n select: selectFormatter,\n text: textFormatter,\n}",
3137
- "description": "Zero formatters for Tabulator grid"
3190
+ "name": "foundationDateEditor",
3191
+ "description": "Definition for the date editor component"
3138
3192
  }
3139
3193
  ],
3140
3194
  "exports": [
3141
3195
  {
3142
3196
  "kind": "js",
3143
- "name": "*",
3144
- "declaration": {
3145
- "name": "*",
3146
- "package": "./constants"
3147
- }
3148
- },
3149
- {
3150
- "kind": "js",
3151
- "name": "ActionFormatterParams",
3152
- "declaration": {
3153
- "name": "ActionFormatterParams",
3154
- "module": "src/cell-formatters/index.ts"
3155
- }
3156
- },
3157
- {
3158
- "kind": "js",
3159
- "name": "actionFormatter",
3160
- "declaration": {
3161
- "name": "actionFormatter",
3162
- "module": "src/cell-formatters/index.ts"
3163
- }
3164
- },
3165
- {
3166
- "kind": "js",
3167
- "name": "ActionsMenuFormatterParams",
3168
- "declaration": {
3169
- "name": "ActionsMenuFormatterParams",
3170
- "module": "src/cell-formatters/index.ts"
3171
- }
3172
- },
3173
- {
3174
- "kind": "js",
3175
- "name": "actionsMenuFormatter",
3176
- "declaration": {
3177
- "name": "actionsMenuFormatter",
3178
- "module": "src/cell-formatters/index.ts"
3179
- }
3180
- },
3181
- {
3182
- "kind": "js",
3183
- "name": "BooleanFormatterParams",
3197
+ "name": "DateEditor",
3184
3198
  "declaration": {
3185
- "name": "BooleanFormatterParams",
3186
- "module": "src/cell-formatters/index.ts"
3199
+ "name": "DateEditor",
3200
+ "module": "src/cell-editors/date.editor.ts"
3187
3201
  }
3188
3202
  },
3189
3203
  {
3190
3204
  "kind": "js",
3191
- "name": "booleanFormatter",
3205
+ "name": "dateEditorStyles",
3192
3206
  "declaration": {
3193
- "name": "booleanFormatter",
3194
- "module": "src/cell-formatters/index.ts"
3207
+ "name": "dateEditorStyles",
3208
+ "module": "src/cell-editors/date.editor.ts"
3195
3209
  }
3196
3210
  },
3197
3211
  {
3198
3212
  "kind": "js",
3199
- "name": "EditableFormatterParams",
3213
+ "name": "getDateEditorTemplate",
3200
3214
  "declaration": {
3201
- "name": "EditableFormatterParams",
3202
- "module": "src/cell-formatters/index.ts"
3215
+ "name": "getDateEditorTemplate",
3216
+ "module": "src/cell-editors/date.editor.ts"
3203
3217
  }
3204
3218
  },
3205
3219
  {
3206
3220
  "kind": "js",
3207
- "name": "editableFormatter",
3221
+ "name": "foundationDateEditor",
3208
3222
  "declaration": {
3209
- "name": "editableFormatter",
3210
- "module": "src/cell-formatters/index.ts"
3223
+ "name": "foundationDateEditor",
3224
+ "module": "src/cell-editors/date.editor.ts"
3211
3225
  }
3212
- },
3226
+ }
3227
+ ]
3228
+ },
3229
+ {
3230
+ "kind": "javascript-module",
3231
+ "path": "src/cell-editors/index.ts",
3232
+ "declarations": [],
3233
+ "exports": [
3213
3234
  {
3214
3235
  "kind": "js",
3215
- "name": "SelectFormatterParams",
3236
+ "name": "*",
3216
3237
  "declaration": {
3217
- "name": "SelectFormatterParams",
3218
- "module": "src/cell-formatters/index.ts"
3238
+ "name": "*",
3239
+ "package": "./date.editor"
3219
3240
  }
3220
3241
  },
3221
3242
  {
3222
3243
  "kind": "js",
3223
- "name": "selectFormatter",
3244
+ "name": "*",
3224
3245
  "declaration": {
3225
- "name": "selectFormatter",
3226
- "module": "src/cell-formatters/index.ts"
3246
+ "name": "*",
3247
+ "package": "./number.editor"
3227
3248
  }
3228
3249
  },
3229
3250
  {
3230
3251
  "kind": "js",
3231
- "name": "TextFormatterParams",
3252
+ "name": "*",
3232
3253
  "declaration": {
3233
- "name": "TextFormatterParams",
3234
- "module": "src/cell-formatters/index.ts"
3254
+ "name": "*",
3255
+ "package": "./select.editor"
3235
3256
  }
3236
3257
  },
3237
3258
  {
3238
3259
  "kind": "js",
3239
- "name": "textFormatter",
3260
+ "name": "*",
3240
3261
  "declaration": {
3241
- "name": "textFormatter",
3242
- "module": "src/cell-formatters/index.ts"
3262
+ "name": "*",
3263
+ "package": "./string.editor"
3243
3264
  }
3244
3265
  },
3245
3266
  {
3246
3267
  "kind": "js",
3247
- "name": "formatters",
3248
- "declaration": {
3249
- "name": "formatters",
3250
- "module": "src/cell-formatters/index.ts"
3251
- }
3252
- }
3253
- ]
3254
- },
3255
- {
3256
- "kind": "javascript-module",
3257
- "path": "src/cell-formatters/select.formatter.ts",
3258
- "declarations": [
3259
- {
3260
- "kind": "function",
3261
- "name": "selectFormatter",
3262
- "return": {
3263
- "type": {
3264
- "text": ""
3265
- }
3266
- },
3267
- "parameters": [
3268
- {
3269
- "name": "cell",
3270
- "type": {
3271
- "text": "any"
3272
- },
3273
- "description": "The cell component provided by Tabulator"
3274
- },
3275
- {
3276
- "name": "formatterParams",
3277
- "type": {
3278
- "text": "SelectFormatterParams<T>"
3279
- },
3280
- "description": "Select formatter parameters"
3281
- }
3282
- ],
3283
- "description": "Formatter that displays a select component with options.\nReturns a wrapped div containing the select, similar to boolean.formatter.",
3284
- "privacy": "public"
3285
- }
3286
- ],
3287
- "exports": [
3288
- {
3289
- "kind": "js",
3290
- "name": "selectFormatter",
3291
- "declaration": {
3292
- "name": "selectFormatter",
3293
- "module": "src/cell-formatters/select.formatter.ts"
3294
- }
3295
- }
3296
- ]
3297
- },
3298
- {
3299
- "kind": "javascript-module",
3300
- "path": "src/cell-formatters/text.formatter.ts",
3301
- "declarations": [
3302
- {
3303
- "kind": "function",
3304
- "name": "textFormatter",
3305
- "return": {
3306
- "type": {
3307
- "text": ""
3308
- }
3309
- },
3310
- "parameters": [
3311
- {
3312
- "name": "cell",
3313
- "type": {
3314
- "text": "any"
3315
- },
3316
- "description": "The cell component provided by Tabulator"
3317
- },
3318
- {
3319
- "name": "formatterParams",
3320
- "default": "{}",
3321
- "type": {
3322
- "text": "TextFormatterParams<T>"
3323
- },
3324
- "description": "Text formatter parameters"
3325
- }
3326
- ],
3327
- "description": "Text formatter for customized display of values.\nStyled to match grid-pro text renderer.",
3328
- "privacy": "public"
3329
- }
3330
- ],
3331
- "exports": [
3332
- {
3333
- "kind": "js",
3334
- "name": "textFormatter",
3268
+ "name": "*",
3335
3269
  "declaration": {
3336
- "name": "textFormatter",
3337
- "module": "src/cell-formatters/text.formatter.ts"
3270
+ "name": "*",
3271
+ "package": "./multiselect.editor"
3338
3272
  }
3339
3273
  }
3340
3274
  ]
3341
3275
  },
3342
3276
  {
3343
3277
  "kind": "javascript-module",
3344
- "path": "src/cell/cell.ts",
3278
+ "path": "src/cell-editors/multiselect.editor.ts",
3345
3279
  "declarations": [
3346
3280
  {
3347
3281
  "kind": "class",
3348
- "description": "The GridTabulator Cell element.",
3349
- "name": "GridTabulatorCell",
3282
+ "description": "The multiselect editor class for grid-tabulator",
3283
+ "name": "MultiselectEditor",
3350
3284
  "members": [
3351
3285
  {
3352
3286
  "kind": "field",
3353
- "name": "renderer",
3354
- "type": {
3355
- "text": "CellRendererFunc"
3356
- },
3357
- "privacy": "public"
3358
- },
3359
- {
3360
- "kind": "field",
3361
- "name": "rendererParams",
3287
+ "name": "params",
3362
3288
  "type": {
3363
- "text": "CellRendererParams"
3364
- },
3365
- "privacy": "public"
3289
+ "text": "MultiselectEditorParams"
3290
+ }
3366
3291
  },
3367
3292
  {
3368
3293
  "kind": "field",
3369
- "name": "slottedRenderer",
3294
+ "name": "select",
3370
3295
  "type": {
3371
- "text": "HTMLElement[]"
3372
- },
3373
- "privacy": "public"
3296
+ "text": "any"
3297
+ }
3374
3298
  },
3375
3299
  {
3376
3300
  "kind": "method",
3377
3301
  "name": "init",
3378
- "privacy": "public",
3379
3302
  "parameters": [
3380
3303
  {
3381
3304
  "name": "params",
3382
3305
  "type": {
3383
- "text": "CellRendererParams"
3306
+ "text": "MultiselectEditorParams"
3384
3307
  }
3385
3308
  }
3386
- ]
3309
+ ],
3310
+ "description": "Initialize the editor with parameters"
3387
3311
  },
3388
3312
  {
3389
3313
  "kind": "method",
3390
- "name": "getElement",
3391
- "privacy": "public",
3314
+ "name": "getValues",
3392
3315
  "return": {
3393
3316
  "type": {
3394
- "text": "HTMLElement"
3317
+ "text": "(string | number)[]"
3395
3318
  }
3396
- }
3319
+ },
3320
+ "description": "Get current values"
3397
3321
  },
3398
3322
  {
3399
3323
  "kind": "method",
3400
- "name": "destroy",
3401
- "privacy": "public"
3324
+ "name": "focus",
3325
+ "description": "Set focus to the select"
3402
3326
  },
3403
3327
  {
3404
3328
  "kind": "method",
3405
- "name": "refresh",
3406
- "privacy": "public",
3329
+ "name": "isSelected",
3407
3330
  "return": {
3408
3331
  "type": {
3409
3332
  "text": "boolean"
@@ -3411,17 +3334,31 @@
3411
3334
  },
3412
3335
  "parameters": [
3413
3336
  {
3414
- "name": "params",
3337
+ "name": "value",
3415
3338
  "type": {
3416
- "text": "CellRendererParams"
3339
+ "text": "string | number"
3417
3340
  }
3418
3341
  }
3419
- ]
3342
+ ],
3343
+ "description": "Check if a value is selected"
3420
3344
  },
3421
3345
  {
3422
3346
  "kind": "method",
3423
- "name": "slottedRendererChanged",
3424
- "privacy": "public"
3347
+ "name": "handleKeyDown",
3348
+ "parameters": [
3349
+ {
3350
+ "name": "event",
3351
+ "type": {
3352
+ "text": "KeyboardEvent"
3353
+ }
3354
+ }
3355
+ ],
3356
+ "description": "Process key down events"
3357
+ },
3358
+ {
3359
+ "kind": "method",
3360
+ "name": "handleChange",
3361
+ "description": "Handle change event to save when selection changes"
3425
3362
  },
3426
3363
  {
3427
3364
  "kind": "field",
@@ -3538,64 +3475,91 @@
3538
3475
  "superclass": {
3539
3476
  "name": "FoundationElement",
3540
3477
  "package": "@microsoft/fast-foundation"
3541
- },
3542
- "tagName": "grid-tabulator-cell",
3543
- "customElement": true
3478
+ }
3479
+ },
3480
+ {
3481
+ "kind": "variable",
3482
+ "name": "multiselectEditorStyles",
3483
+ "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3484
+ "description": "Styles for the multiselect editor"
3485
+ },
3486
+ {
3487
+ "kind": "function",
3488
+ "name": "getMultiselectEditorTemplate",
3489
+ "parameters": [
3490
+ {
3491
+ "name": "prefix",
3492
+ "default": "'foundation'",
3493
+ "description": "The design system prefix to use. Defaults to 'foundation'."
3494
+ }
3495
+ ],
3496
+ "description": "Get a Design System prefixed Select template.",
3497
+ "return": {
3498
+ "type": {
3499
+ "text": ""
3500
+ }
3501
+ }
3502
+ },
3503
+ {
3504
+ "kind": "variable",
3505
+ "name": "foundationMultiselectEditor",
3506
+ "description": "Definition for the multiselect editor component"
3544
3507
  }
3545
3508
  ],
3546
3509
  "exports": [
3547
3510
  {
3548
3511
  "kind": "js",
3549
- "name": "GridTabulatorCell",
3512
+ "name": "MultiselectEditor",
3550
3513
  "declaration": {
3551
- "name": "GridTabulatorCell",
3552
- "module": "src/cell/cell.ts"
3514
+ "name": "MultiselectEditor",
3515
+ "module": "src/cell-editors/multiselect.editor.ts"
3553
3516
  }
3554
3517
  },
3555
3518
  {
3556
- "kind": "custom-element-definition",
3557
- "name": "grid-tabulator-cell",
3519
+ "kind": "js",
3520
+ "name": "multiselectEditorStyles",
3558
3521
  "declaration": {
3559
- "name": "GridTabulatorCell",
3560
- "module": "src/cell/cell.ts"
3522
+ "name": "multiselectEditorStyles",
3523
+ "module": "src/cell-editors/multiselect.editor.ts"
3561
3524
  }
3562
- }
3563
- ]
3564
- },
3565
- {
3566
- "kind": "javascript-module",
3567
- "path": "src/cell/index.ts",
3568
- "declarations": [],
3569
- "exports": [
3525
+ },
3570
3526
  {
3571
3527
  "kind": "js",
3572
- "name": "*",
3528
+ "name": "getMultiselectEditorTemplate",
3573
3529
  "declaration": {
3574
- "name": "*",
3575
- "package": "./cell"
3530
+ "name": "getMultiselectEditorTemplate",
3531
+ "module": "src/cell-editors/multiselect.editor.ts"
3532
+ }
3533
+ },
3534
+ {
3535
+ "kind": "js",
3536
+ "name": "foundationMultiselectEditor",
3537
+ "declaration": {
3538
+ "name": "foundationMultiselectEditor",
3539
+ "module": "src/cell-editors/multiselect.editor.ts"
3576
3540
  }
3577
3541
  }
3578
3542
  ]
3579
3543
  },
3580
3544
  {
3581
3545
  "kind": "javascript-module",
3582
- "path": "src/cell-editors/date.editor.ts",
3546
+ "path": "src/cell-editors/number.editor.ts",
3583
3547
  "declarations": [
3584
3548
  {
3585
3549
  "kind": "class",
3586
- "description": "The date editor class for grid-tabulator",
3587
- "name": "DateEditor",
3550
+ "description": "The number editor class for grid-tabulator",
3551
+ "name": "NumberEditor",
3588
3552
  "members": [
3589
3553
  {
3590
3554
  "kind": "field",
3591
3555
  "name": "params",
3592
3556
  "type": {
3593
- "text": "DateEditorParams"
3557
+ "text": "NumberEditorParams"
3594
3558
  }
3595
3559
  },
3596
3560
  {
3597
3561
  "kind": "field",
3598
- "name": "dateField",
3562
+ "name": "numberField",
3599
3563
  "type": {
3600
3564
  "text": "any"
3601
3565
  }
@@ -3607,7 +3571,7 @@
3607
3571
  {
3608
3572
  "name": "params",
3609
3573
  "type": {
3610
- "text": "DateEditorParams"
3574
+ "text": "NumberEditorParams"
3611
3575
  }
3612
3576
  }
3613
3577
  ],
@@ -3618,11 +3582,6 @@
3618
3582
  "name": "getValue",
3619
3583
  "description": "Get current value"
3620
3584
  },
3621
- {
3622
- "kind": "method",
3623
- "name": "getFormattedValue",
3624
- "description": "Format value for display"
3625
- },
3626
3585
  {
3627
3586
  "kind": "method",
3628
3587
  "name": "focus",
@@ -3760,13 +3719,13 @@
3760
3719
  },
3761
3720
  {
3762
3721
  "kind": "variable",
3763
- "name": "dateEditorStyles",
3722
+ "name": "numberEditorStyles",
3764
3723
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
3765
- "description": "Styles for the date editor"
3724
+ "description": "Styles for the number editor"
3766
3725
  },
3767
3726
  {
3768
3727
  "kind": "function",
3769
- "name": "getDateEditorTemplate",
3728
+ "name": "getNumberEditorTemplate",
3770
3729
  "parameters": [
3771
3730
  {
3772
3731
  "name": "prefix",
@@ -3774,116 +3733,68 @@
3774
3733
  "description": "The design system prefix to use. Defaults to 'foundation'."
3775
3734
  }
3776
3735
  ],
3777
- "description": "Get a Design System prefixed date field template.",
3736
+ "description": "Get a Design System prefixed number field template.",
3778
3737
  "return": {
3779
3738
  "type": {
3780
3739
  "text": ""
3781
3740
  }
3782
- },
3783
- "privacy": "public"
3741
+ }
3784
3742
  },
3785
3743
  {
3786
3744
  "kind": "variable",
3787
- "name": "foundationDateEditor",
3788
- "description": "Definition for the date editor component"
3745
+ "name": "foundationNumberEditor",
3746
+ "description": "Definition for the number editor component"
3789
3747
  }
3790
3748
  ],
3791
3749
  "exports": [
3792
3750
  {
3793
3751
  "kind": "js",
3794
- "name": "DateEditor",
3795
- "declaration": {
3796
- "name": "DateEditor",
3797
- "module": "src/cell-editors/date.editor.ts"
3798
- }
3799
- },
3800
- {
3801
- "kind": "js",
3802
- "name": "dateEditorStyles",
3803
- "declaration": {
3804
- "name": "dateEditorStyles",
3805
- "module": "src/cell-editors/date.editor.ts"
3806
- }
3807
- },
3808
- {
3809
- "kind": "js",
3810
- "name": "getDateEditorTemplate",
3811
- "declaration": {
3812
- "name": "getDateEditorTemplate",
3813
- "module": "src/cell-editors/date.editor.ts"
3814
- }
3815
- },
3816
- {
3817
- "kind": "js",
3818
- "name": "foundationDateEditor",
3819
- "declaration": {
3820
- "name": "foundationDateEditor",
3821
- "module": "src/cell-editors/date.editor.ts"
3822
- }
3823
- }
3824
- ]
3825
- },
3826
- {
3827
- "kind": "javascript-module",
3828
- "path": "src/cell-editors/index.ts",
3829
- "declarations": [],
3830
- "exports": [
3831
- {
3832
- "kind": "js",
3833
- "name": "*",
3834
- "declaration": {
3835
- "name": "*",
3836
- "package": "./date.editor"
3837
- }
3838
- },
3839
- {
3840
- "kind": "js",
3841
- "name": "*",
3752
+ "name": "NumberEditor",
3842
3753
  "declaration": {
3843
- "name": "*",
3844
- "package": "./number.editor"
3754
+ "name": "NumberEditor",
3755
+ "module": "src/cell-editors/number.editor.ts"
3845
3756
  }
3846
3757
  },
3847
3758
  {
3848
3759
  "kind": "js",
3849
- "name": "*",
3760
+ "name": "numberEditorStyles",
3850
3761
  "declaration": {
3851
- "name": "*",
3852
- "package": "./select.editor"
3762
+ "name": "numberEditorStyles",
3763
+ "module": "src/cell-editors/number.editor.ts"
3853
3764
  }
3854
3765
  },
3855
3766
  {
3856
3767
  "kind": "js",
3857
- "name": "*",
3768
+ "name": "getNumberEditorTemplate",
3858
3769
  "declaration": {
3859
- "name": "*",
3860
- "package": "./string.editor"
3770
+ "name": "getNumberEditorTemplate",
3771
+ "module": "src/cell-editors/number.editor.ts"
3861
3772
  }
3862
3773
  },
3863
3774
  {
3864
3775
  "kind": "js",
3865
- "name": "*",
3776
+ "name": "foundationNumberEditor",
3866
3777
  "declaration": {
3867
- "name": "*",
3868
- "package": "./multiselect.editor"
3778
+ "name": "foundationNumberEditor",
3779
+ "module": "src/cell-editors/number.editor.ts"
3869
3780
  }
3870
3781
  }
3871
3782
  ]
3872
3783
  },
3873
3784
  {
3874
3785
  "kind": "javascript-module",
3875
- "path": "src/cell-editors/multiselect.editor.ts",
3786
+ "path": "src/cell-editors/select.editor.ts",
3876
3787
  "declarations": [
3877
3788
  {
3878
3789
  "kind": "class",
3879
- "description": "The multiselect editor class for grid-tabulator",
3880
- "name": "MultiselectEditor",
3790
+ "description": "The select editor class for grid-tabulator",
3791
+ "name": "SelectEditor",
3881
3792
  "members": [
3882
3793
  {
3883
3794
  "kind": "field",
3884
3795
  "name": "params",
3885
3796
  "type": {
3886
- "text": "MultiselectEditorParams"
3797
+ "text": "SelectEditorParams"
3887
3798
  }
3888
3799
  },
3889
3800
  {
@@ -3900,7 +3811,7 @@
3900
3811
  {
3901
3812
  "name": "params",
3902
3813
  "type": {
3903
- "text": "MultiselectEditorParams"
3814
+ "text": "SelectEditorParams"
3904
3815
  }
3905
3816
  }
3906
3817
  ],
@@ -3908,39 +3819,16 @@
3908
3819
  },
3909
3820
  {
3910
3821
  "kind": "method",
3911
- "name": "getValues",
3912
- "return": {
3913
- "type": {
3914
- "text": "(string | number)[]"
3915
- }
3916
- },
3917
- "description": "Get current values"
3918
- },
3919
- {
3920
- "kind": "method",
3921
- "name": "focus",
3922
- "description": "Set focus to the select"
3923
- },
3924
- {
3925
- "kind": "method",
3926
- "name": "isSelected",
3927
- "return": {
3928
- "type": {
3929
- "text": "boolean"
3930
- }
3931
- },
3932
- "parameters": [
3933
- {
3934
- "name": "value",
3935
- "type": {
3936
- "text": "string | number"
3937
- }
3938
- }
3939
- ],
3940
- "description": "Check if a value is selected"
3941
- },
3942
- {
3943
- "kind": "method",
3822
+ "name": "getValue",
3823
+ "description": "Get current value"
3824
+ },
3825
+ {
3826
+ "kind": "method",
3827
+ "name": "focus",
3828
+ "description": "Set focus to the select"
3829
+ },
3830
+ {
3831
+ "kind": "method",
3944
3832
  "name": "handleKeyDown",
3945
3833
  "parameters": [
3946
3834
  {
@@ -3955,7 +3843,7 @@
3955
3843
  {
3956
3844
  "kind": "method",
3957
3845
  "name": "handleChange",
3958
- "description": "Handle change event to save when selection changes"
3846
+ "description": "Handle change event"
3959
3847
  },
3960
3848
  {
3961
3849
  "kind": "field",
@@ -4076,13 +3964,13 @@
4076
3964
  },
4077
3965
  {
4078
3966
  "kind": "variable",
4079
- "name": "multiselectEditorStyles",
3967
+ "name": "selectEditorStyles",
4080
3968
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
4081
- "description": "Styles for the multiselect editor"
3969
+ "description": "Styles for the select editor"
4082
3970
  },
4083
3971
  {
4084
3972
  "kind": "function",
4085
- "name": "getMultiselectEditorTemplate",
3973
+ "name": "getSelectEditorTemplate",
4086
3974
  "parameters": [
4087
3975
  {
4088
3976
  "name": "prefix",
@@ -4095,68 +3983,69 @@
4095
3983
  "type": {
4096
3984
  "text": ""
4097
3985
  }
4098
- }
3986
+ },
3987
+ "privacy": "public"
4099
3988
  },
4100
3989
  {
4101
3990
  "kind": "variable",
4102
- "name": "foundationMultiselectEditor",
4103
- "description": "Definition for the multiselect editor component"
3991
+ "name": "foundationSelectEditor",
3992
+ "description": "Definition for the select editor component"
4104
3993
  }
4105
3994
  ],
4106
3995
  "exports": [
4107
3996
  {
4108
3997
  "kind": "js",
4109
- "name": "MultiselectEditor",
3998
+ "name": "SelectEditor",
4110
3999
  "declaration": {
4111
- "name": "MultiselectEditor",
4112
- "module": "src/cell-editors/multiselect.editor.ts"
4000
+ "name": "SelectEditor",
4001
+ "module": "src/cell-editors/select.editor.ts"
4113
4002
  }
4114
4003
  },
4115
4004
  {
4116
4005
  "kind": "js",
4117
- "name": "multiselectEditorStyles",
4006
+ "name": "selectEditorStyles",
4118
4007
  "declaration": {
4119
- "name": "multiselectEditorStyles",
4120
- "module": "src/cell-editors/multiselect.editor.ts"
4008
+ "name": "selectEditorStyles",
4009
+ "module": "src/cell-editors/select.editor.ts"
4121
4010
  }
4122
4011
  },
4123
4012
  {
4124
4013
  "kind": "js",
4125
- "name": "getMultiselectEditorTemplate",
4014
+ "name": "getSelectEditorTemplate",
4126
4015
  "declaration": {
4127
- "name": "getMultiselectEditorTemplate",
4128
- "module": "src/cell-editors/multiselect.editor.ts"
4016
+ "name": "getSelectEditorTemplate",
4017
+ "module": "src/cell-editors/select.editor.ts"
4129
4018
  }
4130
4019
  },
4131
4020
  {
4132
4021
  "kind": "js",
4133
- "name": "foundationMultiselectEditor",
4022
+ "name": "foundationSelectEditor",
4134
4023
  "declaration": {
4135
- "name": "foundationMultiselectEditor",
4136
- "module": "src/cell-editors/multiselect.editor.ts"
4024
+ "name": "foundationSelectEditor",
4025
+ "module": "src/cell-editors/select.editor.ts"
4137
4026
  }
4138
4027
  }
4139
4028
  ]
4140
4029
  },
4141
4030
  {
4142
4031
  "kind": "javascript-module",
4143
- "path": "src/cell-editors/number.editor.ts",
4032
+ "path": "src/cell-editors/string.editor.ts",
4144
4033
  "declarations": [
4145
4034
  {
4146
4035
  "kind": "class",
4147
- "description": "The number editor class for grid-tabulator",
4148
- "name": "NumberEditor",
4036
+ "description": "The string editor class for grid-tabulator",
4037
+ "name": "StringEditor",
4149
4038
  "members": [
4150
4039
  {
4151
4040
  "kind": "field",
4152
4041
  "name": "params",
4153
4042
  "type": {
4154
- "text": "NumberEditorParams"
4043
+ "text": "StringEditorParams"
4155
4044
  }
4156
4045
  },
4157
4046
  {
4158
4047
  "kind": "field",
4159
- "name": "numberField",
4048
+ "name": "textField",
4160
4049
  "type": {
4161
4050
  "text": "any"
4162
4051
  }
@@ -4168,7 +4057,7 @@
4168
4057
  {
4169
4058
  "name": "params",
4170
4059
  "type": {
4171
- "text": "NumberEditorParams"
4060
+ "text": "StringEditorParams"
4172
4061
  }
4173
4062
  }
4174
4063
  ],
@@ -4316,13 +4205,13 @@
4316
4205
  },
4317
4206
  {
4318
4207
  "kind": "variable",
4319
- "name": "numberEditorStyles",
4208
+ "name": "stringEditorStyles",
4320
4209
  "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
4321
- "description": "Styles for the number editor"
4210
+ "description": "Styles for the string editor"
4322
4211
  },
4323
4212
  {
4324
4213
  "kind": "function",
4325
- "name": "getNumberEditorTemplate",
4214
+ "name": "getStringEditorTemplate",
4326
4215
  "parameters": [
4327
4216
  {
4328
4217
  "name": "prefix",
@@ -4330,536 +4219,647 @@
4330
4219
  "description": "The design system prefix to use. Defaults to 'foundation'."
4331
4220
  }
4332
4221
  ],
4333
- "description": "Get a Design System prefixed number field template.",
4222
+ "description": "Get a Design System prefixed text field template.",
4223
+ "return": {
4224
+ "type": {
4225
+ "text": ""
4226
+ }
4227
+ }
4228
+ },
4229
+ {
4230
+ "kind": "variable",
4231
+ "name": "foundationStringEditor",
4232
+ "description": "Definition for the string editor component"
4233
+ }
4234
+ ],
4235
+ "exports": [
4236
+ {
4237
+ "kind": "js",
4238
+ "name": "StringEditor",
4239
+ "declaration": {
4240
+ "name": "StringEditor",
4241
+ "module": "src/cell-editors/string.editor.ts"
4242
+ }
4243
+ },
4244
+ {
4245
+ "kind": "js",
4246
+ "name": "stringEditorStyles",
4247
+ "declaration": {
4248
+ "name": "stringEditorStyles",
4249
+ "module": "src/cell-editors/string.editor.ts"
4250
+ }
4251
+ },
4252
+ {
4253
+ "kind": "js",
4254
+ "name": "getStringEditorTemplate",
4255
+ "declaration": {
4256
+ "name": "getStringEditorTemplate",
4257
+ "module": "src/cell-editors/string.editor.ts"
4258
+ }
4259
+ },
4260
+ {
4261
+ "kind": "js",
4262
+ "name": "foundationStringEditor",
4263
+ "declaration": {
4264
+ "name": "foundationStringEditor",
4265
+ "module": "src/cell-editors/string.editor.ts"
4266
+ }
4267
+ }
4268
+ ]
4269
+ },
4270
+ {
4271
+ "kind": "javascript-module",
4272
+ "path": "src/cell-formatters/action.formatter.ts",
4273
+ "declarations": [
4274
+ {
4275
+ "kind": "function",
4276
+ "name": "actionFormatter",
4277
+ "return": {
4278
+ "type": {
4279
+ "text": ""
4280
+ }
4281
+ },
4282
+ "parameters": [
4283
+ {
4284
+ "name": "cell",
4285
+ "type": {
4286
+ "text": "any"
4287
+ },
4288
+ "description": "The cell component provided by Tabulator"
4289
+ },
4290
+ {
4291
+ "name": "formatterParams",
4292
+ "default": "{}",
4293
+ "type": {
4294
+ "text": "ActionFormatterParams<T>"
4295
+ },
4296
+ "description": "Action formatter parameters"
4297
+ }
4298
+ ],
4299
+ "description": "Formatter that displays an action button in the cell.\nStyled to match grid-pro action renderer.",
4300
+ "privacy": "public"
4301
+ }
4302
+ ],
4303
+ "exports": [
4304
+ {
4305
+ "kind": "js",
4306
+ "name": "actionFormatter",
4307
+ "declaration": {
4308
+ "name": "actionFormatter",
4309
+ "module": "src/cell-formatters/action.formatter.ts"
4310
+ }
4311
+ }
4312
+ ]
4313
+ },
4314
+ {
4315
+ "kind": "javascript-module",
4316
+ "path": "src/cell-formatters/actions-menu.formatter.ts",
4317
+ "declarations": [
4318
+ {
4319
+ "kind": "function",
4320
+ "name": "actionsMenuFormatter",
4321
+ "return": {
4322
+ "type": {
4323
+ "text": ""
4324
+ }
4325
+ },
4326
+ "parameters": [
4327
+ {
4328
+ "name": "cell",
4329
+ "type": {
4330
+ "text": "any"
4331
+ },
4332
+ "description": "The cell component provided by Tabulator"
4333
+ },
4334
+ {
4335
+ "name": "formatterParams",
4336
+ "default": "{}",
4337
+ "type": {
4338
+ "text": "ActionsMenuFormatterParams<T>"
4339
+ },
4340
+ "description": "Actions menu formatter parameters"
4341
+ }
4342
+ ],
4343
+ "description": "Formatter that displays a dropdown menu of actions in the cell.\nStyled to match grid-pro actions-menu renderer.",
4344
+ "privacy": "public"
4345
+ }
4346
+ ],
4347
+ "exports": [
4348
+ {
4349
+ "kind": "js",
4350
+ "name": "actionsMenuFormatter",
4351
+ "declaration": {
4352
+ "name": "actionsMenuFormatter",
4353
+ "module": "src/cell-formatters/actions-menu.formatter.ts"
4354
+ }
4355
+ }
4356
+ ]
4357
+ },
4358
+ {
4359
+ "kind": "javascript-module",
4360
+ "path": "src/cell-formatters/boolean.formatter.ts",
4361
+ "declarations": [
4362
+ {
4363
+ "kind": "function",
4364
+ "name": "booleanFormatter",
4365
+ "return": {
4366
+ "type": {
4367
+ "text": ""
4368
+ }
4369
+ },
4370
+ "parameters": [
4371
+ {
4372
+ "name": "cell",
4373
+ "type": {
4374
+ "text": "any"
4375
+ },
4376
+ "description": "The cell component provided by Tabulator"
4377
+ },
4378
+ {
4379
+ "name": "formatterParams",
4380
+ "default": "{}",
4381
+ "type": {
4382
+ "text": "BooleanFormatterParams<T>"
4383
+ },
4384
+ "description": "Boolean formatter parameters"
4385
+ }
4386
+ ],
4387
+ "description": "Formatter that displays boolean values using a checkbox component.\nStyled to match grid-pro boolean renderer.",
4388
+ "privacy": "public"
4389
+ }
4390
+ ],
4391
+ "exports": [
4392
+ {
4393
+ "kind": "js",
4394
+ "name": "booleanFormatter",
4395
+ "declaration": {
4396
+ "name": "booleanFormatter",
4397
+ "module": "src/cell-formatters/boolean.formatter.ts"
4398
+ }
4399
+ }
4400
+ ]
4401
+ },
4402
+ {
4403
+ "kind": "javascript-module",
4404
+ "path": "src/cell-formatters/constants.ts",
4405
+ "declarations": [],
4406
+ "exports": []
4407
+ },
4408
+ {
4409
+ "kind": "javascript-module",
4410
+ "path": "src/cell-formatters/editable.formatter.ts",
4411
+ "declarations": [
4412
+ {
4413
+ "kind": "function",
4414
+ "name": "editableFormatter",
4334
4415
  "return": {
4335
4416
  "type": {
4336
4417
  "text": ""
4337
4418
  }
4419
+ },
4420
+ "parameters": [
4421
+ {
4422
+ "name": "cell",
4423
+ "type": {
4424
+ "text": "any"
4425
+ },
4426
+ "description": "The cell component provided by Tabulator"
4427
+ },
4428
+ {
4429
+ "name": "formatterParams",
4430
+ "default": "{}",
4431
+ "type": {
4432
+ "text": "EditableFormatterParams<T>"
4433
+ },
4434
+ "description": "Editable formatter parameters"
4435
+ }
4436
+ ],
4437
+ "description": "Formatter that displays an editable cell with validation state",
4438
+ "privacy": "public"
4439
+ }
4440
+ ],
4441
+ "exports": [
4442
+ {
4443
+ "kind": "js",
4444
+ "name": "editableFormatter",
4445
+ "declaration": {
4446
+ "name": "editableFormatter",
4447
+ "module": "src/cell-formatters/editable.formatter.ts"
4338
4448
  }
4339
- },
4449
+ }
4450
+ ]
4451
+ },
4452
+ {
4453
+ "kind": "javascript-module",
4454
+ "path": "src/cell-formatters/index.ts",
4455
+ "declarations": [
4340
4456
  {
4341
4457
  "kind": "variable",
4342
- "name": "foundationNumberEditor",
4343
- "description": "Definition for the number editor component"
4458
+ "name": "formatters",
4459
+ "type": {
4460
+ "text": "object"
4461
+ },
4462
+ "default": "{\n action: actionFormatter,\n actionsMenu: actionsMenuFormatter,\n boolean: booleanFormatter,\n editable: editableFormatter,\n select: selectFormatter,\n text: textFormatter,\n}",
4463
+ "description": "Zero formatters for Tabulator grid"
4344
4464
  }
4345
4465
  ],
4346
4466
  "exports": [
4347
4467
  {
4348
4468
  "kind": "js",
4349
- "name": "NumberEditor",
4469
+ "name": "*",
4350
4470
  "declaration": {
4351
- "name": "NumberEditor",
4352
- "module": "src/cell-editors/number.editor.ts"
4471
+ "name": "*",
4472
+ "package": "./constants"
4353
4473
  }
4354
4474
  },
4355
4475
  {
4356
4476
  "kind": "js",
4357
- "name": "numberEditorStyles",
4477
+ "name": "ActionFormatterParams",
4358
4478
  "declaration": {
4359
- "name": "numberEditorStyles",
4360
- "module": "src/cell-editors/number.editor.ts"
4479
+ "name": "ActionFormatterParams",
4480
+ "module": "src/cell-formatters/index.ts"
4361
4481
  }
4362
4482
  },
4363
4483
  {
4364
4484
  "kind": "js",
4365
- "name": "getNumberEditorTemplate",
4485
+ "name": "actionFormatter",
4366
4486
  "declaration": {
4367
- "name": "getNumberEditorTemplate",
4368
- "module": "src/cell-editors/number.editor.ts"
4487
+ "name": "actionFormatter",
4488
+ "module": "src/cell-formatters/index.ts"
4369
4489
  }
4370
4490
  },
4371
4491
  {
4372
4492
  "kind": "js",
4373
- "name": "foundationNumberEditor",
4493
+ "name": "ActionsMenuFormatterParams",
4374
4494
  "declaration": {
4375
- "name": "foundationNumberEditor",
4376
- "module": "src/cell-editors/number.editor.ts"
4495
+ "name": "ActionsMenuFormatterParams",
4496
+ "module": "src/cell-formatters/index.ts"
4377
4497
  }
4378
- }
4379
- ]
4380
- },
4381
- {
4382
- "kind": "javascript-module",
4383
- "path": "src/cell-editors/select.editor.ts",
4384
- "declarations": [
4385
- {
4386
- "kind": "class",
4387
- "description": "The select editor class for grid-tabulator",
4388
- "name": "SelectEditor",
4389
- "members": [
4390
- {
4391
- "kind": "field",
4392
- "name": "params",
4393
- "type": {
4394
- "text": "SelectEditorParams"
4395
- }
4396
- },
4397
- {
4398
- "kind": "field",
4399
- "name": "select",
4400
- "type": {
4401
- "text": "any"
4402
- }
4403
- },
4404
- {
4405
- "kind": "method",
4406
- "name": "init",
4407
- "parameters": [
4408
- {
4409
- "name": "params",
4410
- "type": {
4411
- "text": "SelectEditorParams"
4412
- }
4413
- }
4414
- ],
4415
- "description": "Initialize the editor with parameters"
4416
- },
4417
- {
4418
- "kind": "method",
4419
- "name": "getValue",
4420
- "description": "Get current value"
4421
- },
4422
- {
4423
- "kind": "method",
4424
- "name": "focus",
4425
- "description": "Set focus to the select"
4426
- },
4427
- {
4428
- "kind": "method",
4429
- "name": "handleKeyDown",
4430
- "parameters": [
4431
- {
4432
- "name": "event",
4433
- "type": {
4434
- "text": "KeyboardEvent"
4435
- }
4436
- }
4437
- ],
4438
- "description": "Process key down events"
4439
- },
4440
- {
4441
- "kind": "method",
4442
- "name": "handleChange",
4443
- "description": "Handle change event"
4444
- },
4445
- {
4446
- "kind": "field",
4447
- "name": "_presentation",
4448
- "type": {
4449
- "text": "ComponentPresentation | null | undefined"
4450
- },
4451
- "privacy": "private",
4452
- "default": "void 0",
4453
- "inheritedFrom": {
4454
- "name": "FoundationElement",
4455
- "module": "src/foundation-element/foundation-element.ts"
4456
- }
4457
- },
4458
- {
4459
- "kind": "field",
4460
- "name": "$presentation",
4461
- "type": {
4462
- "text": "ComponentPresentation | null"
4463
- },
4464
- "privacy": "public",
4465
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4466
- "inheritedFrom": {
4467
- "name": "FoundationElement",
4468
- "module": "src/foundation-element/foundation-element.ts"
4469
- }
4470
- },
4471
- {
4472
- "kind": "field",
4473
- "name": "template",
4474
- "type": {
4475
- "text": "ElementViewTemplate | void | null"
4476
- },
4477
- "privacy": "public",
4478
- "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.",
4479
- "inheritedFrom": {
4480
- "name": "FoundationElement",
4481
- "module": "src/foundation-element/foundation-element.ts"
4482
- }
4483
- },
4484
- {
4485
- "kind": "method",
4486
- "name": "templateChanged",
4487
- "privacy": "protected",
4488
- "return": {
4489
- "type": {
4490
- "text": "void"
4491
- }
4492
- },
4493
- "inheritedFrom": {
4494
- "name": "FoundationElement",
4495
- "module": "src/foundation-element/foundation-element.ts"
4496
- }
4497
- },
4498
- {
4499
- "kind": "field",
4500
- "name": "styles",
4501
- "type": {
4502
- "text": "ElementStyles | void | null"
4503
- },
4504
- "privacy": "public",
4505
- "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.",
4506
- "inheritedFrom": {
4507
- "name": "FoundationElement",
4508
- "module": "src/foundation-element/foundation-element.ts"
4509
- }
4510
- },
4511
- {
4512
- "kind": "method",
4513
- "name": "stylesChanged",
4514
- "privacy": "protected",
4515
- "return": {
4516
- "type": {
4517
- "text": "void"
4518
- }
4519
- },
4520
- "inheritedFrom": {
4521
- "name": "FoundationElement",
4522
- "module": "src/foundation-element/foundation-element.ts"
4523
- }
4524
- },
4525
- {
4526
- "kind": "method",
4527
- "name": "compose",
4528
- "privacy": "public",
4529
- "static": true,
4530
- "return": {
4531
- "type": {
4532
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4533
- }
4534
- },
4535
- "parameters": [
4536
- {
4537
- "name": "this",
4538
- "type": {
4539
- "text": "K"
4540
- }
4541
- },
4542
- {
4543
- "name": "elementDefinition",
4544
- "type": {
4545
- "text": "T"
4546
- },
4547
- "description": "The definition of the element to create the registry\nfunction for."
4548
- }
4549
- ],
4550
- "description": "Defines an element registry function with a set of element definition defaults.",
4551
- "inheritedFrom": {
4552
- "name": "FoundationElement",
4553
- "module": "src/foundation-element/foundation-element.ts"
4554
- }
4555
- }
4556
- ],
4557
- "superclass": {
4558
- "name": "FoundationElement",
4559
- "package": "@microsoft/fast-foundation"
4498
+ },
4499
+ {
4500
+ "kind": "js",
4501
+ "name": "actionsMenuFormatter",
4502
+ "declaration": {
4503
+ "name": "actionsMenuFormatter",
4504
+ "module": "src/cell-formatters/index.ts"
4560
4505
  }
4561
4506
  },
4562
4507
  {
4563
- "kind": "variable",
4564
- "name": "selectEditorStyles",
4565
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
4566
- "description": "Styles for the select editor"
4508
+ "kind": "js",
4509
+ "name": "BooleanFormatterParams",
4510
+ "declaration": {
4511
+ "name": "BooleanFormatterParams",
4512
+ "module": "src/cell-formatters/index.ts"
4513
+ }
4567
4514
  },
4568
4515
  {
4569
- "kind": "function",
4570
- "name": "getSelectEditorTemplate",
4571
- "parameters": [
4572
- {
4573
- "name": "prefix",
4574
- "default": "'foundation'",
4575
- "description": "The design system prefix to use. Defaults to 'foundation'."
4576
- }
4577
- ],
4578
- "description": "Get a Design System prefixed Select template.",
4579
- "return": {
4580
- "type": {
4581
- "text": ""
4582
- }
4583
- },
4584
- "privacy": "public"
4516
+ "kind": "js",
4517
+ "name": "booleanFormatter",
4518
+ "declaration": {
4519
+ "name": "booleanFormatter",
4520
+ "module": "src/cell-formatters/index.ts"
4521
+ }
4585
4522
  },
4586
4523
  {
4587
- "kind": "variable",
4588
- "name": "foundationSelectEditor",
4589
- "description": "Definition for the select editor component"
4590
- }
4591
- ],
4592
- "exports": [
4524
+ "kind": "js",
4525
+ "name": "EditableFormatterParams",
4526
+ "declaration": {
4527
+ "name": "EditableFormatterParams",
4528
+ "module": "src/cell-formatters/index.ts"
4529
+ }
4530
+ },
4593
4531
  {
4594
4532
  "kind": "js",
4595
- "name": "SelectEditor",
4533
+ "name": "editableFormatter",
4596
4534
  "declaration": {
4597
- "name": "SelectEditor",
4598
- "module": "src/cell-editors/select.editor.ts"
4535
+ "name": "editableFormatter",
4536
+ "module": "src/cell-formatters/index.ts"
4599
4537
  }
4600
4538
  },
4601
4539
  {
4602
4540
  "kind": "js",
4603
- "name": "selectEditorStyles",
4541
+ "name": "SelectFormatterParams",
4604
4542
  "declaration": {
4605
- "name": "selectEditorStyles",
4606
- "module": "src/cell-editors/select.editor.ts"
4543
+ "name": "SelectFormatterParams",
4544
+ "module": "src/cell-formatters/index.ts"
4607
4545
  }
4608
4546
  },
4609
4547
  {
4610
4548
  "kind": "js",
4611
- "name": "getSelectEditorTemplate",
4549
+ "name": "selectFormatter",
4612
4550
  "declaration": {
4613
- "name": "getSelectEditorTemplate",
4614
- "module": "src/cell-editors/select.editor.ts"
4551
+ "name": "selectFormatter",
4552
+ "module": "src/cell-formatters/index.ts"
4615
4553
  }
4616
4554
  },
4617
4555
  {
4618
4556
  "kind": "js",
4619
- "name": "foundationSelectEditor",
4557
+ "name": "TextFormatterParams",
4620
4558
  "declaration": {
4621
- "name": "foundationSelectEditor",
4622
- "module": "src/cell-editors/select.editor.ts"
4559
+ "name": "TextFormatterParams",
4560
+ "module": "src/cell-formatters/index.ts"
4561
+ }
4562
+ },
4563
+ {
4564
+ "kind": "js",
4565
+ "name": "textFormatter",
4566
+ "declaration": {
4567
+ "name": "textFormatter",
4568
+ "module": "src/cell-formatters/index.ts"
4569
+ }
4570
+ },
4571
+ {
4572
+ "kind": "js",
4573
+ "name": "formatters",
4574
+ "declaration": {
4575
+ "name": "formatters",
4576
+ "module": "src/cell-formatters/index.ts"
4623
4577
  }
4624
4578
  }
4625
4579
  ]
4626
4580
  },
4627
4581
  {
4628
4582
  "kind": "javascript-module",
4629
- "path": "src/cell-editors/string.editor.ts",
4583
+ "path": "src/cell-formatters/select.formatter.ts",
4630
4584
  "declarations": [
4631
4585
  {
4632
- "kind": "class",
4633
- "description": "The string editor class for grid-tabulator",
4634
- "name": "StringEditor",
4635
- "members": [
4636
- {
4637
- "kind": "field",
4638
- "name": "params",
4639
- "type": {
4640
- "text": "StringEditorParams"
4641
- }
4642
- },
4586
+ "kind": "function",
4587
+ "name": "selectFormatter",
4588
+ "return": {
4589
+ "type": {
4590
+ "text": ""
4591
+ }
4592
+ },
4593
+ "parameters": [
4643
4594
  {
4644
- "kind": "field",
4645
- "name": "textField",
4595
+ "name": "cell",
4646
4596
  "type": {
4647
4597
  "text": "any"
4648
- }
4649
- },
4650
- {
4651
- "kind": "method",
4652
- "name": "init",
4653
- "parameters": [
4654
- {
4655
- "name": "params",
4656
- "type": {
4657
- "text": "StringEditorParams"
4658
- }
4659
- }
4660
- ],
4661
- "description": "Initialize the editor with parameters"
4662
- },
4663
- {
4664
- "kind": "method",
4665
- "name": "getValue",
4666
- "description": "Get current value"
4667
- },
4668
- {
4669
- "kind": "method",
4670
- "name": "focus",
4671
- "description": "Set focus to the input"
4672
- },
4673
- {
4674
- "kind": "method",
4675
- "name": "handleKeyDown",
4676
- "parameters": [
4677
- {
4678
- "name": "event",
4679
- "type": {
4680
- "text": "KeyboardEvent"
4681
- }
4682
- }
4683
- ],
4684
- "description": "Process key down events"
4685
- },
4686
- {
4687
- "kind": "field",
4688
- "name": "_presentation",
4689
- "type": {
4690
- "text": "ComponentPresentation | null | undefined"
4691
- },
4692
- "privacy": "private",
4693
- "default": "void 0",
4694
- "inheritedFrom": {
4695
- "name": "FoundationElement",
4696
- "module": "src/foundation-element/foundation-element.ts"
4697
- }
4698
- },
4699
- {
4700
- "kind": "field",
4701
- "name": "$presentation",
4702
- "type": {
4703
- "text": "ComponentPresentation | null"
4704
- },
4705
- "privacy": "public",
4706
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4707
- "inheritedFrom": {
4708
- "name": "FoundationElement",
4709
- "module": "src/foundation-element/foundation-element.ts"
4710
- }
4711
- },
4712
- {
4713
- "kind": "field",
4714
- "name": "template",
4715
- "type": {
4716
- "text": "ElementViewTemplate | void | null"
4717
- },
4718
- "privacy": "public",
4719
- "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.",
4720
- "inheritedFrom": {
4721
- "name": "FoundationElement",
4722
- "module": "src/foundation-element/foundation-element.ts"
4723
- }
4724
- },
4725
- {
4726
- "kind": "method",
4727
- "name": "templateChanged",
4728
- "privacy": "protected",
4729
- "return": {
4730
- "type": {
4731
- "text": "void"
4732
- }
4733
4598
  },
4734
- "inheritedFrom": {
4735
- "name": "FoundationElement",
4736
- "module": "src/foundation-element/foundation-element.ts"
4737
- }
4599
+ "description": "The cell component provided by Tabulator"
4738
4600
  },
4739
4601
  {
4740
- "kind": "field",
4741
- "name": "styles",
4602
+ "name": "formatterParams",
4742
4603
  "type": {
4743
- "text": "ElementStyles | void | null"
4604
+ "text": "SelectFormatterParams<T>"
4744
4605
  },
4745
- "privacy": "public",
4746
- "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.",
4747
- "inheritedFrom": {
4748
- "name": "FoundationElement",
4749
- "module": "src/foundation-element/foundation-element.ts"
4750
- }
4751
- },
4606
+ "description": "Select formatter parameters"
4607
+ }
4608
+ ],
4609
+ "description": "Formatter that displays a select component with options.\nReturns a wrapped div containing the select, similar to boolean.formatter.",
4610
+ "privacy": "public"
4611
+ }
4612
+ ],
4613
+ "exports": [
4614
+ {
4615
+ "kind": "js",
4616
+ "name": "selectFormatter",
4617
+ "declaration": {
4618
+ "name": "selectFormatter",
4619
+ "module": "src/cell-formatters/select.formatter.ts"
4620
+ }
4621
+ }
4622
+ ]
4623
+ },
4624
+ {
4625
+ "kind": "javascript-module",
4626
+ "path": "src/cell-formatters/text.formatter.ts",
4627
+ "declarations": [
4628
+ {
4629
+ "kind": "function",
4630
+ "name": "textFormatter",
4631
+ "return": {
4632
+ "type": {
4633
+ "text": ""
4634
+ }
4635
+ },
4636
+ "parameters": [
4752
4637
  {
4753
- "kind": "method",
4754
- "name": "stylesChanged",
4755
- "privacy": "protected",
4756
- "return": {
4757
- "type": {
4758
- "text": "void"
4759
- }
4638
+ "name": "cell",
4639
+ "type": {
4640
+ "text": "any"
4760
4641
  },
4761
- "inheritedFrom": {
4762
- "name": "FoundationElement",
4763
- "module": "src/foundation-element/foundation-element.ts"
4764
- }
4642
+ "description": "The cell component provided by Tabulator"
4765
4643
  },
4766
4644
  {
4767
- "kind": "method",
4768
- "name": "compose",
4769
- "privacy": "public",
4770
- "static": true,
4771
- "return": {
4772
- "type": {
4773
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4774
- }
4645
+ "name": "formatterParams",
4646
+ "default": "{}",
4647
+ "type": {
4648
+ "text": "TextFormatterParams<T>"
4775
4649
  },
4776
- "parameters": [
4777
- {
4778
- "name": "this",
4779
- "type": {
4780
- "text": "K"
4781
- }
4782
- },
4783
- {
4784
- "name": "elementDefinition",
4785
- "type": {
4786
- "text": "T"
4787
- },
4788
- "description": "The definition of the element to create the registry\nfunction for."
4789
- }
4790
- ],
4791
- "description": "Defines an element registry function with a set of element definition defaults.",
4792
- "inheritedFrom": {
4793
- "name": "FoundationElement",
4794
- "module": "src/foundation-element/foundation-element.ts"
4795
- }
4650
+ "description": "Text formatter parameters"
4796
4651
  }
4797
4652
  ],
4798
- "superclass": {
4799
- "name": "FoundationElement",
4800
- "package": "@microsoft/fast-foundation"
4653
+ "description": "Text formatter for customized display of values.\nStyled to match grid-pro text renderer.",
4654
+ "privacy": "public"
4655
+ }
4656
+ ],
4657
+ "exports": [
4658
+ {
4659
+ "kind": "js",
4660
+ "name": "textFormatter",
4661
+ "declaration": {
4662
+ "name": "textFormatter",
4663
+ "module": "src/cell-formatters/text.formatter.ts"
4664
+ }
4665
+ }
4666
+ ]
4667
+ },
4668
+ {
4669
+ "kind": "javascript-module",
4670
+ "path": "src/style/colors.ts",
4671
+ "declarations": [],
4672
+ "exports": []
4673
+ },
4674
+ {
4675
+ "kind": "javascript-module",
4676
+ "path": "src/style/index.ts",
4677
+ "declarations": [],
4678
+ "exports": [
4679
+ {
4680
+ "kind": "js",
4681
+ "name": "*",
4682
+ "declaration": {
4683
+ "name": "*",
4684
+ "package": "./colors"
4801
4685
  }
4802
4686
  },
4803
4687
  {
4804
- "kind": "variable",
4805
- "name": "stringEditorStyles",
4806
- "default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n`",
4807
- "description": "Styles for the string editor"
4688
+ "kind": "js",
4689
+ "name": "*",
4690
+ "declaration": {
4691
+ "name": "*",
4692
+ "package": "./tokens"
4693
+ }
4694
+ }
4695
+ ]
4696
+ },
4697
+ {
4698
+ "kind": "javascript-module",
4699
+ "path": "src/style/tokens.ts",
4700
+ "declarations": [],
4701
+ "exports": []
4702
+ },
4703
+ {
4704
+ "kind": "javascript-module",
4705
+ "path": "src/utils/index.ts",
4706
+ "declarations": [],
4707
+ "exports": [
4708
+ {
4709
+ "kind": "js",
4710
+ "name": "*",
4711
+ "declaration": {
4712
+ "name": "*",
4713
+ "package": "./logger"
4714
+ }
4715
+ },
4716
+ {
4717
+ "kind": "js",
4718
+ "name": "*",
4719
+ "declaration": {
4720
+ "name": "*",
4721
+ "package": "./string-utils"
4722
+ }
4808
4723
  },
4724
+ {
4725
+ "kind": "js",
4726
+ "name": "*",
4727
+ "declaration": {
4728
+ "name": "*",
4729
+ "package": "./test-id-utils"
4730
+ }
4731
+ }
4732
+ ]
4733
+ },
4734
+ {
4735
+ "kind": "javascript-module",
4736
+ "path": "src/utils/logger.ts",
4737
+ "declarations": [
4738
+ {
4739
+ "kind": "variable",
4740
+ "name": "logger",
4741
+ "description": "Logger for the `grid-tabulator` package",
4742
+ "privacy": "public"
4743
+ }
4744
+ ],
4745
+ "exports": [
4746
+ {
4747
+ "kind": "js",
4748
+ "name": "logger",
4749
+ "declaration": {
4750
+ "name": "logger",
4751
+ "module": "src/utils/logger.ts"
4752
+ }
4753
+ }
4754
+ ]
4755
+ },
4756
+ {
4757
+ "kind": "javascript-module",
4758
+ "path": "src/utils/string-utils.ts",
4759
+ "declarations": [
4809
4760
  {
4810
4761
  "kind": "function",
4811
- "name": "getStringEditorTemplate",
4762
+ "name": "convertToKebabCase",
4763
+ "return": {
4764
+ "type": {
4765
+ "text": ""
4766
+ }
4767
+ },
4812
4768
  "parameters": [
4813
4769
  {
4814
- "name": "prefix",
4815
- "default": "'foundation'",
4816
- "description": "The design system prefix to use. Defaults to 'foundation'."
4770
+ "name": "str",
4771
+ "type": {
4772
+ "text": "string"
4773
+ },
4774
+ "description": "The string to convert"
4817
4775
  }
4818
4776
  ],
4819
- "description": "Get a Design System prefixed text field template.",
4777
+ "description": "Convert a string to kebab case\nExample: convertToKebabCase('helloWorld') // 'hello-world'"
4778
+ },
4779
+ {
4780
+ "kind": "function",
4781
+ "name": "mergeAndDedupColDefWithColumnState",
4820
4782
  "return": {
4821
4783
  "type": {
4822
4784
  "text": ""
4823
4785
  }
4824
- }
4825
- },
4826
- {
4827
- "kind": "variable",
4828
- "name": "foundationStringEditor",
4829
- "description": "Definition for the string editor component"
4786
+ },
4787
+ "parameters": [
4788
+ {
4789
+ "name": "colDefs",
4790
+ "type": {
4791
+ "text": "any[]"
4792
+ },
4793
+ "description": "The column definitions"
4794
+ },
4795
+ {
4796
+ "name": "columnState",
4797
+ "type": {
4798
+ "text": "any[]"
4799
+ },
4800
+ "description": "The column state"
4801
+ }
4802
+ ],
4803
+ "description": "Merges and dedupes column definitions with column state"
4830
4804
  }
4831
4805
  ],
4832
4806
  "exports": [
4833
4807
  {
4834
4808
  "kind": "js",
4835
- "name": "StringEditor",
4809
+ "name": "convertToKebabCase",
4836
4810
  "declaration": {
4837
- "name": "StringEditor",
4838
- "module": "src/cell-editors/string.editor.ts"
4811
+ "name": "convertToKebabCase",
4812
+ "module": "src/utils/string-utils.ts"
4839
4813
  }
4840
4814
  },
4841
4815
  {
4842
4816
  "kind": "js",
4843
- "name": "stringEditorStyles",
4817
+ "name": "mergeAndDedupColDefWithColumnState",
4844
4818
  "declaration": {
4845
- "name": "stringEditorStyles",
4846
- "module": "src/cell-editors/string.editor.ts"
4819
+ "name": "mergeAndDedupColDefWithColumnState",
4820
+ "module": "src/utils/string-utils.ts"
4847
4821
  }
4848
- },
4822
+ }
4823
+ ]
4824
+ },
4825
+ {
4826
+ "kind": "javascript-module",
4827
+ "path": "src/utils/test-id-utils.ts",
4828
+ "declarations": [
4849
4829
  {
4850
- "kind": "js",
4851
- "name": "getStringEditorTemplate",
4852
- "declaration": {
4853
- "name": "getStringEditorTemplate",
4854
- "module": "src/cell-editors/string.editor.ts"
4855
- }
4856
- },
4830
+ "kind": "function",
4831
+ "name": "getDataTestId",
4832
+ "return": {
4833
+ "type": {
4834
+ "text": ""
4835
+ }
4836
+ },
4837
+ "parameters": [
4838
+ {
4839
+ "name": "dataTestId",
4840
+ "type": {
4841
+ "text": "((rowData: T) => string) | string | undefined"
4842
+ },
4843
+ "description": "The dataTestId value (string or function)"
4844
+ },
4845
+ {
4846
+ "name": "rowData",
4847
+ "type": {
4848
+ "text": "T"
4849
+ },
4850
+ "description": "The row data to pass to the function if dataTestId is a function"
4851
+ }
4852
+ ],
4853
+ "description": "Resolves a dataTestId value that can be either a string or a function"
4854
+ }
4855
+ ],
4856
+ "exports": [
4857
4857
  {
4858
4858
  "kind": "js",
4859
- "name": "foundationStringEditor",
4859
+ "name": "getDataTestId",
4860
4860
  "declaration": {
4861
- "name": "foundationStringEditor",
4862
- "module": "src/cell-editors/string.editor.ts"
4861
+ "name": "getDataTestId",
4862
+ "module": "src/utils/test-id-utils.ts"
4863
4863
  }
4864
4864
  }
4865
4865
  ]