@genesislcap/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 (135) hide show
  1. package/dist/custom-elements.json +2613 -117
  2. package/dist/dts/cell/cell.d.ts +50 -0
  3. package/dist/dts/cell/cell.d.ts.map +1 -0
  4. package/dist/dts/cell/index.d.ts +1 -1
  5. package/dist/dts/cell/index.d.ts.map +1 -1
  6. package/dist/dts/cell-editors/date.editor.d.ts +75 -0
  7. package/dist/dts/cell-editors/date.editor.d.ts.map +1 -0
  8. package/dist/dts/cell-editors/index.d.ts +6 -0
  9. package/dist/dts/cell-editors/index.d.ts.map +1 -0
  10. package/dist/dts/cell-editors/multiselect.editor.d.ts +79 -0
  11. package/dist/dts/cell-editors/multiselect.editor.d.ts.map +1 -0
  12. package/dist/dts/cell-editors/number.editor.d.ts +76 -0
  13. package/dist/dts/cell-editors/number.editor.d.ts.map +1 -0
  14. package/dist/dts/cell-editors/select.editor.d.ts +83 -0
  15. package/dist/dts/cell-editors/select.editor.d.ts.map +1 -0
  16. package/dist/dts/cell-editors/string.editor.d.ts +67 -0
  17. package/dist/dts/cell-editors/string.editor.d.ts.map +1 -0
  18. package/dist/dts/cell-formatters/action.formatter.d.ts +45 -0
  19. package/dist/dts/cell-formatters/action.formatter.d.ts.map +1 -0
  20. package/dist/dts/cell-formatters/actions-menu.formatter.d.ts +57 -0
  21. package/dist/dts/cell-formatters/actions-menu.formatter.d.ts.map +1 -0
  22. package/dist/dts/cell-formatters/boolean.formatter.d.ts +27 -0
  23. package/dist/dts/cell-formatters/boolean.formatter.d.ts.map +1 -0
  24. package/dist/dts/cell-formatters/constants.d.ts +31 -0
  25. package/dist/dts/cell-formatters/constants.d.ts.map +1 -0
  26. package/dist/dts/cell-formatters/editable.formatter.d.ts +40 -0
  27. package/dist/dts/cell-formatters/editable.formatter.d.ts.map +1 -0
  28. package/dist/dts/cell-formatters/index.d.ts +27 -0
  29. package/dist/dts/cell-formatters/index.d.ts.map +1 -0
  30. package/dist/dts/cell-formatters/select.formatter.d.ts +43 -0
  31. package/dist/dts/cell-formatters/select.formatter.d.ts.map +1 -0
  32. package/dist/dts/cell-formatters/text.formatter.d.ts +36 -0
  33. package/dist/dts/cell-formatters/text.formatter.d.ts.map +1 -0
  34. package/dist/dts/column/column.d.ts +340 -0
  35. package/dist/dts/column/column.d.ts.map +1 -0
  36. package/dist/dts/column/index.d.ts +1 -1
  37. package/dist/dts/column/index.d.ts.map +1 -1
  38. package/dist/dts/datasource/client-side.datasource.d.ts +42 -16
  39. package/dist/dts/datasource/client-side.datasource.d.ts.map +1 -1
  40. package/dist/dts/grid-tabulator.components.d.ts +52 -4
  41. package/dist/dts/grid-tabulator.components.d.ts.map +1 -1
  42. package/dist/dts/grid-tabulator.d.ts +119 -11
  43. package/dist/dts/grid-tabulator.d.ts.map +1 -1
  44. package/dist/dts/grid-tabulator.definitions.d.ts +35 -0
  45. package/dist/dts/grid-tabulator.definitions.d.ts.map +1 -1
  46. package/dist/dts/grid-tabulator.styles.d.ts.map +1 -1
  47. package/dist/dts/grid-tabulator.types.d.ts +13 -1
  48. package/dist/dts/grid-tabulator.types.d.ts.map +1 -1
  49. package/dist/dts/index.d.ts +3 -1
  50. package/dist/dts/index.d.ts.map +1 -1
  51. package/dist/dts/types.d.ts +27 -0
  52. package/dist/dts/types.d.ts.map +1 -0
  53. package/dist/dts/utils/index.d.ts +1 -0
  54. package/dist/dts/utils/index.d.ts.map +1 -1
  55. package/dist/dts/utils/string-utils.d.ts +17 -0
  56. package/dist/dts/utils/string-utils.d.ts.map +1 -0
  57. package/dist/esm/cell/cell.js +66 -0
  58. package/dist/esm/cell/index.js +1 -1
  59. package/dist/esm/cell-editors/date.editor.js +92 -0
  60. package/dist/esm/cell-editors/index.js +5 -0
  61. package/dist/esm/cell-editors/multiselect.editor.js +105 -0
  62. package/dist/esm/cell-editors/number.editor.js +84 -0
  63. package/dist/esm/cell-editors/select.editor.js +91 -0
  64. package/dist/esm/cell-editors/string.editor.js +82 -0
  65. package/dist/esm/cell-formatters/action.formatter.js +73 -0
  66. package/dist/esm/cell-formatters/actions-menu.formatter.js +68 -0
  67. package/dist/esm/cell-formatters/boolean.formatter.js +25 -0
  68. package/dist/esm/cell-formatters/constants.js +31 -0
  69. package/dist/esm/cell-formatters/editable.formatter.js +21 -0
  70. package/dist/esm/cell-formatters/index.js +26 -0
  71. package/dist/esm/cell-formatters/select.formatter.js +32 -0
  72. package/dist/esm/cell-formatters/text.formatter.js +30 -0
  73. package/dist/esm/column/column.js +51 -0
  74. package/dist/esm/column/index.js +1 -1
  75. package/dist/esm/datasource/client-side.datasource.js +219 -91
  76. package/dist/esm/grid-tabulator.components.js +24 -11
  77. package/dist/esm/grid-tabulator.definitions.js +30 -0
  78. package/dist/esm/grid-tabulator.js +392 -27
  79. package/dist/esm/grid-tabulator.styles.js +15 -0
  80. package/dist/esm/grid-tabulator.types.js +13 -0
  81. package/dist/esm/index.js +1 -1
  82. package/dist/esm/types.js +1 -0
  83. package/dist/esm/utils/index.js +1 -0
  84. package/dist/esm/utils/string-utils.js +32 -0
  85. package/dist/grid-tabulator.api.json +1703 -466
  86. package/dist/grid-tabulator.d.ts +1237 -124
  87. package/docs/api/grid-tabulator.actionformatter.md +27 -0
  88. package/docs/api/grid-tabulator.actionsmenuformatter.md +27 -0
  89. package/docs/api/grid-tabulator.booleanformatter.md +27 -0
  90. package/docs/api/grid-tabulator.cellrendererfunc.md +15 -0
  91. package/docs/api/grid-tabulator.cellrendererparams.cell.md +13 -0
  92. package/docs/api/grid-tabulator.cellrendererparams.data.md +13 -0
  93. package/docs/api/grid-tabulator.cellrendererparams.formatterparams.md +13 -0
  94. package/docs/api/grid-tabulator.cellrendererparams.md +23 -0
  95. package/docs/api/grid-tabulator.cellrendererparams.value.md +13 -0
  96. package/docs/api/grid-tabulator.editableformatter.md +27 -0
  97. package/docs/api/grid-tabulator.foundationgridtabulatorcomponents.md +50 -4
  98. package/docs/api/grid-tabulator.gridtabulatorcell.connectedcallback.md +15 -0
  99. package/docs/api/grid-tabulator.gridtabulatorcell.destroy.md +15 -0
  100. package/docs/api/grid-tabulator.gridtabulatorcell.getelement.md +15 -0
  101. package/docs/api/grid-tabulator.gridtabulatorcell.init.md +22 -0
  102. package/docs/api/grid-tabulator.gridtabulatorcell.md +38 -0
  103. package/docs/api/grid-tabulator.gridtabulatorcell.refresh.md +22 -0
  104. package/docs/api/grid-tabulator.gridtabulatorcell.renderer.md +11 -0
  105. package/docs/api/grid-tabulator.gridtabulatorcell.rendererparams.md +11 -0
  106. package/docs/api/grid-tabulator.gridtabulatorcell.slottedrenderer.md +11 -0
  107. package/docs/api/grid-tabulator.gridtabulatorcell.slottedrendererchanged.md +15 -0
  108. package/docs/api/grid-tabulator.gridtabulatorcelleditortypes.md +24 -0
  109. package/docs/api/grid-tabulator.gridtabulatorcellrenderertypes.md +1 -0
  110. package/docs/api/grid-tabulator.gridtabulatorcolumn.deepclone.md +15 -0
  111. package/docs/api/grid-tabulator.gridtabulatorcolumn.definition.md +11 -0
  112. package/docs/api/grid-tabulator.gridtabulatorcolumn.md +33 -0
  113. package/docs/api/grid-tabulator.gridtabulatorcolumn.slottedcell.md +11 -0
  114. package/docs/api/grid-tabulator.gridtabulatorcolumn.slottedcellchanged.md +15 -0
  115. package/docs/api/grid-tabulator.md +11 -5
  116. package/docs/api/grid-tabulator.selectformatter.md +27 -0
  117. package/docs/api/grid-tabulator.textformatter.md +27 -0
  118. package/docs/api-report.md +328 -36
  119. package/package.json +16 -15
  120. package/dist/dts/cell-renderers/action.renderer.d.ts +0 -80
  121. package/dist/dts/cell-renderers/action.renderer.d.ts.map +0 -1
  122. package/dist/dts/cell-renderers/index.d.ts +0 -2
  123. package/dist/dts/cell-renderers/index.d.ts.map +0 -1
  124. package/dist/esm/cell-renderers/action.renderer.js +0 -107
  125. package/dist/esm/cell-renderers/index.js +0 -1
  126. package/docs/api/grid-tabulator.actionheightmultiplier.md +0 -18
  127. package/docs/api/grid-tabulator.actionrenderer.clickhandler.md +0 -15
  128. package/docs/api/grid-tabulator.actionrenderer.datatestid.md +0 -11
  129. package/docs/api/grid-tabulator.actionrenderer.init.md +0 -22
  130. package/docs/api/grid-tabulator.actionrenderer.md +0 -30
  131. package/docs/api/grid-tabulator.actionrenderer.params.md +0 -11
  132. package/docs/api/grid-tabulator.actionrenderer.pendingaction.md +0 -11
  133. package/docs/api/grid-tabulator.actionrendererparams.md +0 -26
  134. package/docs/api/grid-tabulator.foundationgridtabulatoractionrenderer.md +0 -26
  135. package/docs/api/grid-tabulator.tabulatoractionrendererstyles.md +0 -13
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/grid-tabulator",
3
3
  "description": "Genesis Foundation Grid Tabulator",
4
- "version": "14.262.1",
4
+ "version": "14.262.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -39,31 +39,32 @@
39
39
  }
40
40
  },
41
41
  "devDependencies": {
42
- "@genesislcap/foundation-testing": "14.262.1",
43
- "@genesislcap/genx": "14.262.1",
44
- "@genesislcap/rollup-builder": "14.262.1",
45
- "@genesislcap/ts-builder": "14.262.1",
46
- "@genesislcap/uvu-playwright-builder": "14.262.1",
47
- "@genesislcap/vite-builder": "14.262.1",
48
- "@genesislcap/webpack-builder": "14.262.1",
49
- "@types/tabulator-tables": "6.2.3",
42
+ "@genesislcap/foundation-testing": "14.262.2",
43
+ "@genesislcap/genx": "14.262.2",
44
+ "@genesislcap/rollup-builder": "14.262.2",
45
+ "@genesislcap/ts-builder": "14.262.2",
46
+ "@genesislcap/uvu-playwright-builder": "14.262.2",
47
+ "@genesislcap/vite-builder": "14.262.2",
48
+ "@genesislcap/webpack-builder": "14.262.2",
49
+ "@types/tabulator-tables": "6.2.6",
50
50
  "rimraf": "^5.0.0"
51
51
  },
52
52
  "dependencies": {
53
- "@genesislcap/foundation-comms": "14.262.1",
54
- "@genesislcap/foundation-logger": "14.262.1",
55
- "@genesislcap/foundation-ui": "14.262.1",
56
- "@genesislcap/foundation-utils": "14.262.1",
53
+ "@genesislcap/foundation-comms": "14.262.2",
54
+ "@genesislcap/foundation-logger": "14.262.2",
55
+ "@genesislcap/foundation-ui": "14.262.2",
56
+ "@genesislcap/foundation-utils": "14.262.2",
57
57
  "@microsoft/fast-colors": "5.3.1",
58
58
  "@microsoft/fast-components": "2.30.6",
59
59
  "@microsoft/fast-element": "1.14.0",
60
60
  "@microsoft/fast-foundation": "2.49.6",
61
61
  "@microsoft/fast-web-utilities": "5.4.1",
62
+ "change-case": "^4.1.2",
62
63
  "rxjs": "^7.5.4",
63
64
  "tslib": "^2.3.1"
64
65
  },
65
66
  "peerDependencies": {
66
- "tabulator-tables": "6.3.0"
67
+ "tabulator-tables": "6.3.1"
67
68
  },
68
69
  "repository": {
69
70
  "type": "git",
@@ -74,5 +75,5 @@
74
75
  "access": "public"
75
76
  },
76
77
  "customElements": "dist/custom-elements.json",
77
- "gitHead": "cb79ea22c0027e331354fceac7ff86fa587d65dc"
78
+ "gitHead": "d4c7eaf9af2757646daf831ea8f2ce0c075832c0"
78
79
  }
@@ -1,80 +0,0 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
2
- /**
3
- * Parameters for the `grid-tabulator` action renderer.
4
- * @remarks For single action button scenarios.
5
- * @public
6
- */
7
- export type ActionRendererParams = {
8
- /**
9
- * Callback function triggered when the action button is clicked.
10
- * @param rowData - The data associated with the row.
11
- */
12
- actionClick?: (rowData: any) => void;
13
- /**
14
- * The name or label of the action button.
15
- */
16
- actionName?: string;
17
- /**
18
- * The appearance style of the action button.
19
- * @remarks This is a {@link @microsoft/fast-foundation#Button.appearance | Button appearance} value. Defaults to `neutral`. May have other values depending on the design system.
20
- */
21
- appearance?: string;
22
- /**
23
- * The data-test-id attribute value to be used for E2E testing.
24
- */
25
- dataTestId?: string;
26
- /**
27
- * Function to determine whether the action button should be disabled for a specific row.
28
- * @param rowData - The data associated with the row.
29
- * @returns A boolean indicating whether the button should be disabled.
30
- */
31
- isDisabled?: (rowData: any) => boolean;
32
- /**
33
- * A unique field name used to identify the action button used for E2E testing, so that the data-testid attribute value can be unique.
34
- */
35
- uniqueFieldName?: string;
36
- /**
37
- * Used to render some arbitrary content inside the action renderer button.
38
- */
39
- contentTemplate?: string;
40
- };
41
- /**
42
- * The Tabulator Action Renderer element.
43
- * @public
44
- * @tagname %%prefix%%-grid-tabulator-action-renderer
45
- */
46
- export declare class ActionRenderer extends FoundationElement {
47
- params: ActionRendererParams;
48
- pendingAction: boolean;
49
- init(params: ActionRendererParams): void;
50
- clickHandler(): Promise<void>;
51
- get dataTestId(): any;
52
- }
53
- /**
54
- * The base height multiplier for the action renderer.
55
- * @remarks Results in `--action-height-multiplier`. This is a DesignToken {@link https://www.fast.design/docs/design-systems/design-tokens/#what-is-a-design-token} value. Defaults to `0.6px`. May have other values depending on the design system or can be set to a different value.
56
- * @public
57
- */
58
- export declare const actionHeightMultiplier: import("@microsoft/fast-foundation").CSSDesignToken<string>;
59
- /**
60
- * The Tabulator Action Renderer Styles.
61
- * @public
62
- */
63
- export declare const tabulatorActionRendererStyles: import("@microsoft/fast-element").ElementStyles;
64
- /**
65
- * A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.
66
- *
67
- * @public
68
- * @remarks
69
- * HTML Element: \<foundation-grid-tabulator-action-renderer\>
70
- */
71
- export declare const foundationGridTabulatorActionRenderer: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
72
- baseName: string;
73
- styles: import("@microsoft/fast-element").ElementStyles;
74
- template: import("@microsoft/fast-element").ViewTemplate<ActionRenderer, any>;
75
- }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
76
- baseName: string;
77
- styles: import("@microsoft/fast-element").ElementStyles;
78
- template: import("@microsoft/fast-element").ViewTemplate<ActionRenderer, any>;
79
- }, typeof ActionRenderer>;
80
- //# sourceMappingURL=action.renderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/action.renderer.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG5E;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IAErC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC;IAEvC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,iBAAiB;IAE5C,MAAM,EAAE,oBAAoB,CAAC;IAG7B,aAAa,EAAE,OAAO,CAAC;IAEvB,IAAI,CAAC,MAAM,EAAE,oBAAoB;IAkC3B,YAAY;IAMzB,IAAI,UAAU,QAMb;CACF;AAID;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,6DAElC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,iDAezC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;yBAehD,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './action.renderer';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -1,107 +0,0 @@
1
- import { __awaiter, __decorate } from "tslib";
2
- import { css, html, observable } from '@microsoft/fast-element';
3
- import { DesignToken, FoundationElement } from '@microsoft/fast-foundation';
4
- /**
5
- * The Tabulator Action Renderer element.
6
- * @public
7
- * @tagname %%prefix%%-grid-tabulator-action-renderer
8
- */
9
- export class ActionRenderer extends FoundationElement {
10
- init(params) {
11
- if (!params)
12
- return;
13
- this.params = params;
14
- // params.eGridCell.addEventListener('keydown', (event: KeyboardEvent) => {
15
- // if (event.key === KeyCode.ENTER) {
16
- // this.clickHandler();
17
- // }
18
- // });
19
- }
20
- // TODO: implement alternatives from Tabulator
21
- // public getGui(): HTMLElement {
22
- // return this;
23
- // }
24
- // public refresh(params: ICellRendererParams) {
25
- // this.params = params;
26
- // return true;
27
- // }
28
- // public isDisabled(data): boolean {
29
- // if (typeof this.params?.isDisabled === 'function') {
30
- // try {
31
- // return this.params.isDisabled(data);
32
- // } catch (error) {
33
- // logger.error('Error executing grid action cell renderer isDisabled callback:', error);
34
- // }
35
- // }
36
- // return false;
37
- // }
38
- clickHandler() {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- this.pendingAction = true;
41
- // await this.params.actionClick(this.params.data);
42
- this.pendingAction = false;
43
- });
44
- }
45
- get dataTestId() {
46
- // if (this.params.dataTestId) {
47
- // return this.params.dataTestId + (this.params.data[this.params.uniqueFieldName] ?? '');
48
- // }
49
- return undefined;
50
- }
51
- }
52
- __decorate([
53
- observable
54
- ], ActionRenderer.prototype, "params", void 0);
55
- __decorate([
56
- observable
57
- ], ActionRenderer.prototype, "pendingAction", void 0);
58
- const { create } = DesignToken;
59
- /**
60
- * The base height multiplier for the action renderer.
61
- * @remarks Results in `--action-height-multiplier`. This is a DesignToken {@link https://www.fast.design/docs/design-systems/design-tokens/#what-is-a-design-token} value. Defaults to `0.6px`. May have other values depending on the design system or can be set to a different value.
62
- * @public
63
- */
64
- export const actionHeightMultiplier = create('action-height-multiplier').withDefault('0.6px');
65
- /**
66
- * The Tabulator Action Renderer Styles.
67
- * @public
68
- */
69
- export const tabulatorActionRendererStyles = css `
70
- .action-container {
71
- align-items: center;
72
- display: flex;
73
- height: 100%;
74
- justify-content: center;
75
- }
76
- .action-renderer {
77
- align-self: center;
78
- display: flex;
79
- height: calc(
80
- (var(--base-height-multiplier) + var(--density)) * var(--design-unit) *
81
- var(--action-height-multiplier)
82
- );
83
- }
84
- `;
85
- /**
86
- * A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.
87
- *
88
- * @public
89
- * @remarks
90
- * HTML Element: \<foundation-grid-tabulator-action-renderer\>
91
- */
92
- export const foundationGridTabulatorActionRenderer = ActionRenderer.compose({
93
- baseName: 'grid-tabulator-action-renderer',
94
- styles: css `
95
- ${tabulatorActionRendererStyles}
96
- `,
97
- template: html `
98
- <div class="action-container" part="action-container">
99
- <foundation-button
100
- class="action-renderer"
101
- part="action-renderer"
102
- data-test-id="${(x) => x.dataTestId}"
103
- ?disabled=${(x) => x.pendingAction}
104
- appearance="${(x) => x.params.appearance}"
105
- @click=${(x) => x.clickHandler()}">${(x) => x.params.actionName}</foundation-button>
106
- </div>`,
107
- });
@@ -1 +0,0 @@
1
- export * from './action.renderer';
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [actionHeightMultiplier](./grid-tabulator.actionheightmultiplier.md)
4
-
5
- ## actionHeightMultiplier variable
6
-
7
- The base height multiplier for the action renderer.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- actionHeightMultiplier: import("@microsoft/fast-foundation").CSSDesignToken<string>
13
- ```
14
-
15
- ## Remarks
16
-
17
- Results in `--action-height-multiplier`<!-- -->. This is a DesignToken [https://www.fast.design/docs/design-systems/design-tokens/\#what-is-a-design-token](https://www.fast.design/docs/design-systems/design-tokens/#what-is-a-design-token) value. Defaults to `0.6px`<!-- -->. May have other values depending on the design system or can be set to a different value.
18
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [ActionRenderer](./grid-tabulator.actionrenderer.md) &gt; [clickHandler](./grid-tabulator.actionrenderer.clickhandler.md)
4
-
5
- ## ActionRenderer.clickHandler() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- clickHandler(): Promise<void>;
11
- ```
12
- **Returns:**
13
-
14
- Promise&lt;void&gt;
15
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [ActionRenderer](./grid-tabulator.actionrenderer.md) &gt; [dataTestId](./grid-tabulator.actionrenderer.datatestid.md)
4
-
5
- ## ActionRenderer.dataTestId property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- get dataTestId(): any;
11
- ```
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [ActionRenderer](./grid-tabulator.actionrenderer.md) &gt; [init](./grid-tabulator.actionrenderer.init.md)
4
-
5
- ## ActionRenderer.init() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- init(params: ActionRendererParams): void;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | params | [ActionRendererParams](./grid-tabulator.actionrendererparams.md) | |
18
-
19
- **Returns:**
20
-
21
- void
22
-
@@ -1,30 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [ActionRenderer](./grid-tabulator.actionrenderer.md)
4
-
5
- ## ActionRenderer class
6
-
7
- The Tabulator Action Renderer element.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export declare class ActionRenderer extends FoundationElement
13
- ```
14
- **Extends:** FoundationElement
15
-
16
- ## Properties
17
-
18
- | Property | Modifiers | Type | Description |
19
- | --- | --- | --- | --- |
20
- | [dataTestId](./grid-tabulator.actionrenderer.datatestid.md) | <code>readonly</code> | any | |
21
- | [params](./grid-tabulator.actionrenderer.params.md) | | [ActionRendererParams](./grid-tabulator.actionrendererparams.md) | |
22
- | [pendingAction](./grid-tabulator.actionrenderer.pendingaction.md) | | boolean | |
23
-
24
- ## Methods
25
-
26
- | Method | Modifiers | Description |
27
- | --- | --- | --- |
28
- | [clickHandler()](./grid-tabulator.actionrenderer.clickhandler.md) | | |
29
- | [init(params)](./grid-tabulator.actionrenderer.init.md) | | |
30
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [ActionRenderer](./grid-tabulator.actionrenderer.md) &gt; [params](./grid-tabulator.actionrenderer.params.md)
4
-
5
- ## ActionRenderer.params property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- params: ActionRendererParams;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [ActionRenderer](./grid-tabulator.actionrenderer.md) &gt; [pendingAction](./grid-tabulator.actionrenderer.pendingaction.md)
4
-
5
- ## ActionRenderer.pendingAction property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- pendingAction: boolean;
11
- ```
@@ -1,26 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [ActionRendererParams](./grid-tabulator.actionrendererparams.md)
4
-
5
- ## ActionRendererParams type
6
-
7
- Parameters for the `grid-tabulator` action renderer.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export type ActionRendererParams = {
13
- actionClick?: (rowData: any) => void;
14
- actionName?: string;
15
- appearance?: string;
16
- dataTestId?: string;
17
- isDisabled?: (rowData: any) => boolean;
18
- uniqueFieldName?: string;
19
- contentTemplate?: string;
20
- };
21
- ```
22
-
23
- ## Remarks
24
-
25
- For single action button scenarios.
26
-
@@ -1,26 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [foundationGridTabulatorActionRenderer](./grid-tabulator.foundationgridtabulatoractionrenderer.md)
4
-
5
- ## foundationGridTabulatorActionRenderer variable
6
-
7
- A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- foundationGridTabulatorActionRenderer: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
13
- baseName: string;
14
- styles: import("@microsoft/fast-element").ElementStyles;
15
- template: import("@microsoft/fast-element").ViewTemplate<ActionRenderer, any>;
16
- }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
17
- baseName: string;
18
- styles: import("@microsoft/fast-element").ElementStyles;
19
- template: import("@microsoft/fast-element").ViewTemplate<ActionRenderer, any>;
20
- }, typeof ActionRenderer>
21
- ```
22
-
23
- ## Remarks
24
-
25
- HTML Element: &lt;<!-- -->foundation-grid-tabulator-action-renderer<!-- -->&gt;
26
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/grid-tabulator](./grid-tabulator.md) &gt; [tabulatorActionRendererStyles](./grid-tabulator.tabulatoractionrendererstyles.md)
4
-
5
- ## tabulatorActionRendererStyles variable
6
-
7
- The Tabulator Action Renderer Styles.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- tabulatorActionRendererStyles: import("@microsoft/fast-element").ElementStyles
13
- ```