@genesislcap/grid-tabulator 14.262.1 → 14.263.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.
- package/dist/custom-elements.json +2613 -117
- package/dist/dts/cell/cell.d.ts +50 -0
- package/dist/dts/cell/cell.d.ts.map +1 -0
- package/dist/dts/cell/index.d.ts +1 -1
- package/dist/dts/cell/index.d.ts.map +1 -1
- package/dist/dts/cell-editors/date.editor.d.ts +75 -0
- package/dist/dts/cell-editors/date.editor.d.ts.map +1 -0
- package/dist/dts/cell-editors/index.d.ts +6 -0
- package/dist/dts/cell-editors/index.d.ts.map +1 -0
- package/dist/dts/cell-editors/multiselect.editor.d.ts +79 -0
- package/dist/dts/cell-editors/multiselect.editor.d.ts.map +1 -0
- package/dist/dts/cell-editors/number.editor.d.ts +76 -0
- package/dist/dts/cell-editors/number.editor.d.ts.map +1 -0
- package/dist/dts/cell-editors/select.editor.d.ts +83 -0
- package/dist/dts/cell-editors/select.editor.d.ts.map +1 -0
- package/dist/dts/cell-editors/string.editor.d.ts +67 -0
- package/dist/dts/cell-editors/string.editor.d.ts.map +1 -0
- package/dist/dts/cell-formatters/action.formatter.d.ts +45 -0
- package/dist/dts/cell-formatters/action.formatter.d.ts.map +1 -0
- package/dist/dts/cell-formatters/actions-menu.formatter.d.ts +57 -0
- package/dist/dts/cell-formatters/actions-menu.formatter.d.ts.map +1 -0
- package/dist/dts/cell-formatters/boolean.formatter.d.ts +27 -0
- package/dist/dts/cell-formatters/boolean.formatter.d.ts.map +1 -0
- package/dist/dts/cell-formatters/constants.d.ts +31 -0
- package/dist/dts/cell-formatters/constants.d.ts.map +1 -0
- package/dist/dts/cell-formatters/editable.formatter.d.ts +40 -0
- package/dist/dts/cell-formatters/editable.formatter.d.ts.map +1 -0
- package/dist/dts/cell-formatters/index.d.ts +27 -0
- package/dist/dts/cell-formatters/index.d.ts.map +1 -0
- package/dist/dts/cell-formatters/select.formatter.d.ts +43 -0
- package/dist/dts/cell-formatters/select.formatter.d.ts.map +1 -0
- package/dist/dts/cell-formatters/text.formatter.d.ts +36 -0
- package/dist/dts/cell-formatters/text.formatter.d.ts.map +1 -0
- package/dist/dts/column/column.d.ts +340 -0
- package/dist/dts/column/column.d.ts.map +1 -0
- package/dist/dts/column/index.d.ts +1 -1
- package/dist/dts/column/index.d.ts.map +1 -1
- package/dist/dts/datasource/client-side.datasource.d.ts +42 -16
- package/dist/dts/datasource/client-side.datasource.d.ts.map +1 -1
- package/dist/dts/grid-tabulator.components.d.ts +52 -4
- package/dist/dts/grid-tabulator.components.d.ts.map +1 -1
- package/dist/dts/grid-tabulator.d.ts +119 -11
- package/dist/dts/grid-tabulator.d.ts.map +1 -1
- package/dist/dts/grid-tabulator.definitions.d.ts +35 -0
- package/dist/dts/grid-tabulator.definitions.d.ts.map +1 -1
- package/dist/dts/grid-tabulator.styles.d.ts.map +1 -1
- package/dist/dts/grid-tabulator.types.d.ts +13 -1
- package/dist/dts/grid-tabulator.types.d.ts.map +1 -1
- package/dist/dts/index.d.ts +3 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/types.d.ts +27 -0
- package/dist/dts/types.d.ts.map +1 -0
- package/dist/dts/utils/index.d.ts +1 -0
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/string-utils.d.ts +17 -0
- package/dist/dts/utils/string-utils.d.ts.map +1 -0
- package/dist/esm/cell/cell.js +66 -0
- package/dist/esm/cell/index.js +1 -1
- package/dist/esm/cell-editors/date.editor.js +92 -0
- package/dist/esm/cell-editors/index.js +5 -0
- package/dist/esm/cell-editors/multiselect.editor.js +105 -0
- package/dist/esm/cell-editors/number.editor.js +84 -0
- package/dist/esm/cell-editors/select.editor.js +91 -0
- package/dist/esm/cell-editors/string.editor.js +82 -0
- package/dist/esm/cell-formatters/action.formatter.js +73 -0
- package/dist/esm/cell-formatters/actions-menu.formatter.js +68 -0
- package/dist/esm/cell-formatters/boolean.formatter.js +25 -0
- package/dist/esm/cell-formatters/constants.js +31 -0
- package/dist/esm/cell-formatters/editable.formatter.js +21 -0
- package/dist/esm/cell-formatters/index.js +26 -0
- package/dist/esm/cell-formatters/select.formatter.js +32 -0
- package/dist/esm/cell-formatters/text.formatter.js +30 -0
- package/dist/esm/column/column.js +51 -0
- package/dist/esm/column/index.js +1 -1
- package/dist/esm/datasource/client-side.datasource.js +219 -91
- package/dist/esm/grid-tabulator.components.js +24 -11
- package/dist/esm/grid-tabulator.definitions.js +30 -0
- package/dist/esm/grid-tabulator.js +392 -27
- package/dist/esm/grid-tabulator.styles.js +15 -0
- package/dist/esm/grid-tabulator.types.js +13 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/types.js +1 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/string-utils.js +32 -0
- package/dist/grid-tabulator.api.json +1703 -466
- package/dist/grid-tabulator.d.ts +1237 -124
- package/docs/api/grid-tabulator.actionformatter.md +27 -0
- package/docs/api/grid-tabulator.actionsmenuformatter.md +27 -0
- package/docs/api/grid-tabulator.booleanformatter.md +27 -0
- package/docs/api/grid-tabulator.cellrendererfunc.md +15 -0
- package/docs/api/grid-tabulator.cellrendererparams.cell.md +13 -0
- package/docs/api/grid-tabulator.cellrendererparams.data.md +13 -0
- package/docs/api/grid-tabulator.cellrendererparams.formatterparams.md +13 -0
- package/docs/api/grid-tabulator.cellrendererparams.md +23 -0
- package/docs/api/grid-tabulator.cellrendererparams.value.md +13 -0
- package/docs/api/grid-tabulator.editableformatter.md +27 -0
- package/docs/api/grid-tabulator.foundationgridtabulatorcomponents.md +50 -4
- package/docs/api/grid-tabulator.gridtabulatorcell.connectedcallback.md +15 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.destroy.md +15 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.getelement.md +15 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.init.md +22 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.md +38 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.refresh.md +22 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.renderer.md +11 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.rendererparams.md +11 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.slottedrenderer.md +11 -0
- package/docs/api/grid-tabulator.gridtabulatorcell.slottedrendererchanged.md +15 -0
- package/docs/api/grid-tabulator.gridtabulatorcelleditortypes.md +24 -0
- package/docs/api/grid-tabulator.gridtabulatorcellrenderertypes.md +1 -0
- package/docs/api/grid-tabulator.gridtabulatorcolumn.deepclone.md +15 -0
- package/docs/api/grid-tabulator.gridtabulatorcolumn.definition.md +11 -0
- package/docs/api/grid-tabulator.gridtabulatorcolumn.md +33 -0
- package/docs/api/grid-tabulator.gridtabulatorcolumn.slottedcell.md +11 -0
- package/docs/api/grid-tabulator.gridtabulatorcolumn.slottedcellchanged.md +15 -0
- package/docs/api/grid-tabulator.md +11 -5
- package/docs/api/grid-tabulator.selectformatter.md +27 -0
- package/docs/api/grid-tabulator.textformatter.md +27 -0
- package/docs/api-report.md +328 -36
- package/package.json +16 -15
- package/dist/dts/cell-renderers/action.renderer.d.ts +0 -80
- package/dist/dts/cell-renderers/action.renderer.d.ts.map +0 -1
- package/dist/dts/cell-renderers/index.d.ts +0 -2
- package/dist/dts/cell-renderers/index.d.ts.map +0 -1
- package/dist/esm/cell-renderers/action.renderer.js +0 -107
- package/dist/esm/cell-renderers/index.js +0 -1
- package/docs/api/grid-tabulator.actionheightmultiplier.md +0 -18
- package/docs/api/grid-tabulator.actionrenderer.clickhandler.md +0 -15
- package/docs/api/grid-tabulator.actionrenderer.datatestid.md +0 -11
- package/docs/api/grid-tabulator.actionrenderer.init.md +0 -22
- package/docs/api/grid-tabulator.actionrenderer.md +0 -30
- package/docs/api/grid-tabulator.actionrenderer.params.md +0 -11
- package/docs/api/grid-tabulator.actionrenderer.pendingaction.md +0 -11
- package/docs/api/grid-tabulator.actionrendererparams.md +0 -26
- package/docs/api/grid-tabulator.foundationgridtabulatoractionrenderer.md +0 -26
- package/docs/api/grid-tabulator.tabulatoractionrendererstyles.md +0 -13
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parameters for the editable formatter
|
|
3
|
+
*
|
|
4
|
+
* `value`: The raw value to be displayed
|
|
5
|
+
*
|
|
6
|
+
* `data`: The row data containing the current cell
|
|
7
|
+
*
|
|
8
|
+
* `field`: The field name in the data object
|
|
9
|
+
*
|
|
10
|
+
* `cssClass`: Optional CSS class to apply to the text
|
|
11
|
+
*
|
|
12
|
+
* `nullText`: Text to display for null/undefined values
|
|
13
|
+
*
|
|
14
|
+
* `dataTestId`: Data test ID for testing
|
|
15
|
+
*
|
|
16
|
+
* `icon`: Icon to display for edit action
|
|
17
|
+
*
|
|
18
|
+
* `prefix`: The prefix to use for element classes and components, e.g., 'foundation', 'zero', 'rapid'.
|
|
19
|
+
*
|
|
20
|
+
* @alpha
|
|
21
|
+
*/
|
|
22
|
+
export interface EditableFormatterParams {
|
|
23
|
+
value?: any;
|
|
24
|
+
data?: any;
|
|
25
|
+
field?: string;
|
|
26
|
+
cssClass?: string;
|
|
27
|
+
nullText?: string;
|
|
28
|
+
dataTestId?: string;
|
|
29
|
+
icon?: string;
|
|
30
|
+
prefix?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Formatter that displays an editable cell with validation state
|
|
34
|
+
* @param cell - The cell component provided by Tabulator
|
|
35
|
+
* @param formatterParams - Editable formatter parameters
|
|
36
|
+
* @returns HTML content for the editable cell
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export declare function editableFormatter(cell: any, formatterParams?: EditableFormatterParams): string;
|
|
40
|
+
//# sourceMappingURL=editable.formatter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editable.formatter.d.ts","sourceRoot":"","sources":["../../../src/cell-formatters/editable.formatter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,GAAG,EACT,eAAe,GAAE,uBAA4B,GAC5C,MAAM,CAuBR"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cell formatters for the grid-tabulator component.
|
|
3
|
+
* These formatters match Tabulator's approach of providing formatter functions
|
|
4
|
+
* and correspond to the cell renderers in grid-tabulator.
|
|
5
|
+
* @module cell-formatters
|
|
6
|
+
*/
|
|
7
|
+
import { ActionFormatterParams, actionFormatter } from './action.formatter';
|
|
8
|
+
import { actionsMenuFormatter, ActionsMenuFormatterParams } from './actions-menu.formatter';
|
|
9
|
+
import { booleanFormatter, BooleanFormatterParams } from './boolean.formatter';
|
|
10
|
+
import { editableFormatter, EditableFormatterParams } from './editable.formatter';
|
|
11
|
+
import { selectFormatter, SelectFormatterParams } from './select.formatter';
|
|
12
|
+
import { TextFormatterParams, textFormatter } from './text.formatter';
|
|
13
|
+
export * from './constants';
|
|
14
|
+
export { ActionFormatterParams, actionFormatter, ActionsMenuFormatterParams, actionsMenuFormatter, BooleanFormatterParams, booleanFormatter, EditableFormatterParams, editableFormatter, SelectFormatterParams, selectFormatter, TextFormatterParams, textFormatter, };
|
|
15
|
+
/**
|
|
16
|
+
* Zero formatters for Tabulator grid
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
export declare const formatters: {
|
|
20
|
+
action: typeof actionFormatter;
|
|
21
|
+
actionsMenu: typeof actionsMenuFormatter;
|
|
22
|
+
boolean: typeof booleanFormatter;
|
|
23
|
+
editable: typeof editableFormatter;
|
|
24
|
+
select: typeof selectFormatter;
|
|
25
|
+
text: typeof textFormatter;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cell-formatters/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtE,cAAc,aAAa,CAAC;AAE5B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,0BAA0B,EAC1B,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,mBAAmB,EACnB,aAAa,GACd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;;CAOtB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Option for select formatter
|
|
3
|
+
*
|
|
4
|
+
* `value`: The value to use internally
|
|
5
|
+
*
|
|
6
|
+
* `label`: The text to display
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*/
|
|
10
|
+
export interface SelectOption {
|
|
11
|
+
value: string | number;
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Parameters for the select formatter
|
|
16
|
+
*
|
|
17
|
+
* `options`: Array of options for the select
|
|
18
|
+
*
|
|
19
|
+
* `nullText`: Text to display for null/undefined values
|
|
20
|
+
*
|
|
21
|
+
* `dataTestId`: Data test ID for testing
|
|
22
|
+
*
|
|
23
|
+
* `prefix`: The prefix to use for element classes, e.g., 'foundation', 'zero', 'rapid'. Defaults to 'foundation' if not specified.
|
|
24
|
+
*
|
|
25
|
+
* @alpha
|
|
26
|
+
*/
|
|
27
|
+
export interface SelectFormatterParams {
|
|
28
|
+
options: SelectOption[];
|
|
29
|
+
nullText?: string;
|
|
30
|
+
dataTestId?: string;
|
|
31
|
+
prefix?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Formatter that displays a value from a select list of options
|
|
35
|
+
* Styled to match grid-pro select renderer.
|
|
36
|
+
*
|
|
37
|
+
* @param cell - The cell component provided by Tabulator
|
|
38
|
+
* @param formatterParams - Select formatter parameters
|
|
39
|
+
* @returns Text content for the selected option
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare function selectFormatter(cell: any, formatterParams: SelectFormatterParams): string;
|
|
43
|
+
//# sourceMappingURL=select.formatter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.formatter.d.ts","sourceRoot":"","sources":["../../../src/cell-formatters/select.formatter.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,EAAE,eAAe,EAAE,qBAAqB,GAAG,MAAM,CA2BzF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parameters for the text formatter
|
|
3
|
+
*
|
|
4
|
+
* `specialValue`: Optional special value that should be highlighted (like 2012 in the Year example)
|
|
5
|
+
*
|
|
6
|
+
* `specialColor`: Optional color for the highlighted special value
|
|
7
|
+
*
|
|
8
|
+
* `specialFontWeight`: Optional font weight for the highlighted special value
|
|
9
|
+
*
|
|
10
|
+
* `prefix`: Optional prefix for any custom elements used in formatting
|
|
11
|
+
*
|
|
12
|
+
* `dataTestId`: Optional data-test-id for testing purposes
|
|
13
|
+
*
|
|
14
|
+
* `nullText`: Optional text to display when the value is null or undefined
|
|
15
|
+
*
|
|
16
|
+
* @alpha
|
|
17
|
+
*/
|
|
18
|
+
export interface TextFormatterParams {
|
|
19
|
+
specialValue?: any;
|
|
20
|
+
specialColor?: string;
|
|
21
|
+
specialFontWeight?: string;
|
|
22
|
+
prefix?: string;
|
|
23
|
+
dataTestId?: string;
|
|
24
|
+
nullText?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Text formatter for customized display of values.
|
|
28
|
+
* Styled to match grid-pro text renderer.
|
|
29
|
+
*
|
|
30
|
+
* @param cell - The cell component provided by Tabulator
|
|
31
|
+
* @param formatterParams - Text formatter parameters
|
|
32
|
+
* @returns Text content for the cell
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare function textFormatter(cell: any, formatterParams?: TextFormatterParams): string;
|
|
36
|
+
//# sourceMappingURL=text.formatter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.formatter.d.ts","sourceRoot":"","sources":["../../../src/cell-formatters/text.formatter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,eAAe,GAAE,mBAAwB,GAAG,MAAM,CA+B1F"}
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import { ColumnDefinition } from 'tabulator-tables';
|
|
3
|
+
declare const GridTabulatorColumn_base: (new (...args: any[]) => {
|
|
4
|
+
"__#1@#_container": import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
5
|
+
"__#1@#_latestTokenCode": string;
|
|
6
|
+
"__#1@#_hasFirstLoaded": boolean;
|
|
7
|
+
"__#1@#_cleanupTimeout": NodeJS.Timeout;
|
|
8
|
+
"__#1@#_shouldForceLifecycle": boolean;
|
|
9
|
+
cloneNode(deep?: boolean): Node;
|
|
10
|
+
deepClone(): Node;
|
|
11
|
+
readonly shouldRunDisconnect: boolean;
|
|
12
|
+
readonly shouldRunConnect: boolean;
|
|
13
|
+
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
14
|
+
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
17
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
20
|
+
accessKey: string;
|
|
21
|
+
readonly accessKeyLabel: string;
|
|
22
|
+
autocapitalize: string;
|
|
23
|
+
dir: string;
|
|
24
|
+
draggable: boolean;
|
|
25
|
+
hidden: boolean;
|
|
26
|
+
inert: boolean;
|
|
27
|
+
innerText: string;
|
|
28
|
+
lang: string;
|
|
29
|
+
readonly offsetHeight: number;
|
|
30
|
+
readonly offsetLeft: number;
|
|
31
|
+
readonly offsetParent: Element;
|
|
32
|
+
readonly offsetTop: number;
|
|
33
|
+
readonly offsetWidth: number;
|
|
34
|
+
outerText: string;
|
|
35
|
+
spellcheck: boolean;
|
|
36
|
+
title: string;
|
|
37
|
+
translate: boolean;
|
|
38
|
+
attachInternals(): ElementInternals;
|
|
39
|
+
click(): void;
|
|
40
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
41
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
42
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
43
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
44
|
+
readonly attributes: NamedNodeMap;
|
|
45
|
+
readonly classList: DOMTokenList;
|
|
46
|
+
className: string;
|
|
47
|
+
readonly clientHeight: number;
|
|
48
|
+
readonly clientLeft: number;
|
|
49
|
+
readonly clientTop: number;
|
|
50
|
+
readonly clientWidth: number;
|
|
51
|
+
id: string;
|
|
52
|
+
readonly localName: string;
|
|
53
|
+
readonly namespaceURI: string;
|
|
54
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
55
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
56
|
+
outerHTML: string;
|
|
57
|
+
readonly ownerDocument: Document;
|
|
58
|
+
readonly part: DOMTokenList;
|
|
59
|
+
readonly prefix: string;
|
|
60
|
+
readonly scrollHeight: number;
|
|
61
|
+
scrollLeft: number;
|
|
62
|
+
scrollTop: number;
|
|
63
|
+
readonly scrollWidth: number;
|
|
64
|
+
readonly shadowRoot: ShadowRoot;
|
|
65
|
+
slot: string;
|
|
66
|
+
readonly tagName: string;
|
|
67
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
68
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
69
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
70
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
71
|
+
getAttribute(qualifiedName: string): string;
|
|
72
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
73
|
+
getAttributeNames(): string[];
|
|
74
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
75
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
76
|
+
getBoundingClientRect(): DOMRect;
|
|
77
|
+
getClientRects(): DOMRectList;
|
|
78
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
79
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
80
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
81
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
82
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
83
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
84
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
85
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
86
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
87
|
+
hasAttributes(): boolean;
|
|
88
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
89
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
90
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
91
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
92
|
+
matches(selectors: string): boolean;
|
|
93
|
+
releasePointerCapture(pointerId: number): void;
|
|
94
|
+
removeAttribute(qualifiedName: string): void;
|
|
95
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
96
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
97
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
98
|
+
requestPointerLock(): void;
|
|
99
|
+
scroll(options?: ScrollToOptions): void;
|
|
100
|
+
scroll(x: number, y: number): void;
|
|
101
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
102
|
+
scrollBy(x: number, y: number): void;
|
|
103
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
104
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
105
|
+
scrollTo(x: number, y: number): void;
|
|
106
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
107
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
108
|
+
setAttributeNode(attr: Attr): Attr;
|
|
109
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
110
|
+
setPointerCapture(pointerId: number): void;
|
|
111
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
112
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
113
|
+
readonly baseURI: string;
|
|
114
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
115
|
+
readonly firstChild: ChildNode;
|
|
116
|
+
readonly isConnected: boolean;
|
|
117
|
+
readonly lastChild: ChildNode;
|
|
118
|
+
readonly nextSibling: ChildNode;
|
|
119
|
+
readonly nodeName: string;
|
|
120
|
+
readonly nodeType: number;
|
|
121
|
+
nodeValue: string;
|
|
122
|
+
readonly parentElement: HTMLElement;
|
|
123
|
+
readonly parentNode: ParentNode;
|
|
124
|
+
readonly previousSibling: ChildNode;
|
|
125
|
+
textContent: string;
|
|
126
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
127
|
+
compareDocumentPosition(other: Node): number;
|
|
128
|
+
contains(other: Node): boolean;
|
|
129
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
130
|
+
hasChildNodes(): boolean;
|
|
131
|
+
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
132
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
133
|
+
isEqualNode(otherNode: Node): boolean;
|
|
134
|
+
isSameNode(otherNode: Node): boolean;
|
|
135
|
+
lookupNamespaceURI(prefix: string): string;
|
|
136
|
+
lookupPrefix(namespace: string): string;
|
|
137
|
+
normalize(): void;
|
|
138
|
+
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
139
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
140
|
+
readonly ATTRIBUTE_NODE: number;
|
|
141
|
+
readonly CDATA_SECTION_NODE: number;
|
|
142
|
+
readonly COMMENT_NODE: number;
|
|
143
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
144
|
+
readonly DOCUMENT_NODE: number;
|
|
145
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
146
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
147
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
148
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
149
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
150
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
151
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
152
|
+
readonly ELEMENT_NODE: number;
|
|
153
|
+
readonly ENTITY_NODE: number;
|
|
154
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
155
|
+
readonly NOTATION_NODE: number;
|
|
156
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
157
|
+
readonly TEXT_NODE: number;
|
|
158
|
+
dispatchEvent(event: Event): boolean;
|
|
159
|
+
ariaAtomic: string;
|
|
160
|
+
ariaAutoComplete: string;
|
|
161
|
+
ariaBusy: string;
|
|
162
|
+
ariaChecked: string;
|
|
163
|
+
ariaColCount: string;
|
|
164
|
+
ariaColIndex: string;
|
|
165
|
+
ariaColIndexText: string;
|
|
166
|
+
ariaColSpan: string;
|
|
167
|
+
ariaCurrent: string;
|
|
168
|
+
ariaDisabled: string;
|
|
169
|
+
ariaExpanded: string;
|
|
170
|
+
ariaHasPopup: string;
|
|
171
|
+
ariaHidden: string;
|
|
172
|
+
ariaInvalid: string;
|
|
173
|
+
ariaKeyShortcuts: string;
|
|
174
|
+
ariaLabel: string;
|
|
175
|
+
ariaLevel: string;
|
|
176
|
+
ariaLive: string;
|
|
177
|
+
ariaModal: string;
|
|
178
|
+
ariaMultiLine: string;
|
|
179
|
+
ariaMultiSelectable: string;
|
|
180
|
+
ariaOrientation: string;
|
|
181
|
+
ariaPlaceholder: string;
|
|
182
|
+
ariaPosInSet: string;
|
|
183
|
+
ariaPressed: string;
|
|
184
|
+
ariaReadOnly: string;
|
|
185
|
+
ariaRequired: string;
|
|
186
|
+
ariaRoleDescription: string;
|
|
187
|
+
ariaRowCount: string;
|
|
188
|
+
ariaRowIndex: string;
|
|
189
|
+
ariaRowIndexText: string;
|
|
190
|
+
ariaRowSpan: string;
|
|
191
|
+
ariaSelected: string;
|
|
192
|
+
ariaSetSize: string;
|
|
193
|
+
ariaSort: string;
|
|
194
|
+
ariaValueMax: string;
|
|
195
|
+
ariaValueMin: string;
|
|
196
|
+
ariaValueNow: string;
|
|
197
|
+
ariaValueText: string;
|
|
198
|
+
role: string;
|
|
199
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
200
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
201
|
+
after(...nodes: (string | Node)[]): void;
|
|
202
|
+
before(...nodes: (string | Node)[]): void;
|
|
203
|
+
remove(): void;
|
|
204
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
205
|
+
innerHTML: string;
|
|
206
|
+
readonly nextElementSibling: Element;
|
|
207
|
+
readonly previousElementSibling: Element;
|
|
208
|
+
readonly childElementCount: number;
|
|
209
|
+
readonly children: HTMLCollection;
|
|
210
|
+
readonly firstElementChild: Element;
|
|
211
|
+
readonly lastElementChild: Element;
|
|
212
|
+
append(...nodes: (string | Node)[]): void;
|
|
213
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
214
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
215
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
216
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
217
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
218
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
219
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
220
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
221
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
222
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
223
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
224
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
225
|
+
readonly style: CSSStyleDeclaration;
|
|
226
|
+
contentEditable: string;
|
|
227
|
+
enterKeyHint: string;
|
|
228
|
+
inputMode: string;
|
|
229
|
+
readonly isContentEditable: boolean;
|
|
230
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
231
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
232
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
233
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
234
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
235
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
236
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
237
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
238
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
239
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
240
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
241
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
242
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
243
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
244
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
245
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
246
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
247
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
248
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
249
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
250
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
251
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
252
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
253
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
254
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
255
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
256
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
257
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
258
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
259
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
260
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
261
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
262
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
263
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
264
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
265
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
266
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
267
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
268
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
269
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
270
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
271
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
272
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
273
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
274
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
275
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
276
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
277
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
278
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
279
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
280
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
281
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
282
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
283
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
284
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
285
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
286
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
287
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
288
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
289
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
290
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
291
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
292
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
293
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
294
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
295
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
296
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
297
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
298
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
299
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
300
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
301
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
302
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
303
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
304
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
305
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
306
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
307
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
308
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
309
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
310
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
311
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
312
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
313
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
314
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
315
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
316
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
317
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
318
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
319
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
320
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
321
|
+
autofocus: boolean;
|
|
322
|
+
readonly dataset: DOMStringMap;
|
|
323
|
+
nonce?: string;
|
|
324
|
+
tabIndex: number;
|
|
325
|
+
blur(): void;
|
|
326
|
+
focus(options?: FocusOptions): void;
|
|
327
|
+
}) & typeof FoundationElement;
|
|
328
|
+
/**
|
|
329
|
+
* The GridTabulator Column element.
|
|
330
|
+
* @remarks Used inside the GridTabulator element to specify column definitions for a given column.
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
export declare class GridTabulatorColumn extends GridTabulatorColumn_base {
|
|
334
|
+
slottedCell: HTMLElement[];
|
|
335
|
+
definition: Partial<ColumnDefinition>;
|
|
336
|
+
slottedCellChanged(): void;
|
|
337
|
+
deepClone(): Node;
|
|
338
|
+
}
|
|
339
|
+
export {};
|
|
340
|
+
//# sourceMappingURL=column.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column.d.ts","sourceRoot":"","sources":["../../../src/column/column.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpD;;;;GAIG;AACH,qBAWa,mBAAoB,SAAQ,wBAAiC;IACrD,WAAW,EAAE,WAAW,EAAE,CAAC;IAClC,UAAU,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAM;IAEhD,kBAAkB;IAEhB,SAAS,IAAI,IAAI;CAgB3B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './column';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/column/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/column/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { Auth, Connect, Datasource, DatasourceStatus } from '@genesislcap/foundation-comms';
|
|
2
2
|
import { Options } from 'tabulator-tables';
|
|
3
|
+
/**
|
|
4
|
+
* Delimiter for criteria in the datasource
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export declare const criteriaDelimiter = ";";
|
|
8
|
+
/**
|
|
9
|
+
* Join operator for criteria in the datasource
|
|
10
|
+
* @alpha
|
|
11
|
+
*/
|
|
12
|
+
export declare const criteriaJoin = " && ";
|
|
3
13
|
/**
|
|
4
14
|
* Transaction object to handle row data updates.
|
|
5
15
|
* @public
|
|
@@ -136,13 +146,7 @@ declare const GridTabulatorClientSideDatasource_base: (new (...args: any[]) => {
|
|
|
136
146
|
readonly parentElement: HTMLElement;
|
|
137
147
|
readonly parentNode: ParentNode;
|
|
138
148
|
readonly previousSibling: ChildNode;
|
|
139
|
-
textContent: string;
|
|
140
|
-
* Initializes the datasource and loads the data for the grid.
|
|
141
|
-
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
142
|
-
*
|
|
143
|
-
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
149
|
+
textContent: string;
|
|
146
150
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
147
151
|
compareDocumentPosition(other: Node): number;
|
|
148
152
|
contains(other: Node): boolean;
|
|
@@ -216,7 +220,7 @@ declare const GridTabulatorClientSideDatasource_base: (new (...args: any[]) => {
|
|
|
216
220
|
ariaValueNow: string;
|
|
217
221
|
ariaValueText: string;
|
|
218
222
|
role: string;
|
|
219
|
-
animate(keyframes: Keyframe[]
|
|
223
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
220
224
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
221
225
|
after(...nodes: (string | Node)[]): void;
|
|
222
226
|
before(...nodes: (string | Node)[]): void;
|
|
@@ -382,7 +386,9 @@ declare const GridTabulatorClientSideDatasource_base: (new (...args: any[]) => {
|
|
|
382
386
|
readonly clientLeft: number;
|
|
383
387
|
readonly clientTop: number;
|
|
384
388
|
readonly clientWidth: number;
|
|
385
|
-
id: string;
|
|
389
|
+
id: string; /**
|
|
390
|
+
* Allows grid data updates to be processed via and external function before applying in grid
|
|
391
|
+
*/
|
|
386
392
|
readonly localName: string;
|
|
387
393
|
readonly namespaceURI: string;
|
|
388
394
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
@@ -409,11 +415,6 @@ declare const GridTabulatorClientSideDatasource_base: (new (...args: any[]) => {
|
|
|
409
415
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
410
416
|
getBoundingClientRect(): DOMRect;
|
|
411
417
|
getClientRects(): DOMRectList;
|
|
412
|
-
/**
|
|
413
|
-
* Returns the `row-id` attribute, depending on the resource type.
|
|
414
|
-
* @remarks Will favour the `row-id` attribute if set.
|
|
415
|
-
* @internal
|
|
416
|
-
*/
|
|
417
418
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
418
419
|
getElementsByTagName<K_4_1 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4_1): HTMLCollectionOf<HTMLElementTagNameMap[K_4_1]>;
|
|
419
420
|
getElementsByTagName<K_5_1 extends keyof SVGElementTagNameMap>(qualifiedName: K_5_1): HTMLCollectionOf<SVGElementTagNameMap[K_5_1]>;
|
|
@@ -536,7 +537,7 @@ declare const GridTabulatorClientSideDatasource_base: (new (...args: any[]) => {
|
|
|
536
537
|
ariaValueNow: string;
|
|
537
538
|
ariaValueText: string;
|
|
538
539
|
role: string;
|
|
539
|
-
animate(keyframes: Keyframe[]
|
|
540
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
540
541
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
541
542
|
after(...nodes: (string | Node)[]): void;
|
|
542
543
|
before(...nodes: (string | Node)[]): void;
|
|
@@ -677,6 +678,10 @@ export declare class GridTabulatorClientSideDatasource extends GridTabulatorClie
|
|
|
677
678
|
connect: Connect;
|
|
678
679
|
datasource: Datasource;
|
|
679
680
|
deferredGridOptions: Options;
|
|
681
|
+
/**
|
|
682
|
+
* Allows storing column layouts between datasource initializations
|
|
683
|
+
*/
|
|
684
|
+
deferredColumnStates: any[];
|
|
680
685
|
criteria: string;
|
|
681
686
|
criteriaChanged(oldCriteria: string, newCriteria: string): void;
|
|
682
687
|
fields: string;
|
|
@@ -698,6 +703,10 @@ export declare class GridTabulatorClientSideDatasource extends GridTabulatorClie
|
|
|
698
703
|
*/
|
|
699
704
|
rowIdAttr: any;
|
|
700
705
|
restartOnReconnection: boolean;
|
|
706
|
+
/**
|
|
707
|
+
* Whether to keep column definitions when clearing row data
|
|
708
|
+
*/
|
|
709
|
+
keepColDefsOnClearRowData: boolean;
|
|
701
710
|
/**
|
|
702
711
|
* Allows grid data updates to be processed via and external function before applying in grid
|
|
703
712
|
*/
|
|
@@ -706,7 +715,6 @@ export declare class GridTabulatorClientSideDatasource extends GridTabulatorClie
|
|
|
706
715
|
private updateSub;
|
|
707
716
|
private connectionSub;
|
|
708
717
|
private isRequestServer;
|
|
709
|
-
datasourceStatusChanged(prev: DatasourceStatus, next: DatasourceStatus): void;
|
|
710
718
|
private requiresFullRowDataAndColDefs;
|
|
711
719
|
private dataSubWasLoggedOff;
|
|
712
720
|
private rows;
|
|
@@ -729,6 +737,10 @@ export declare class GridTabulatorClientSideDatasource extends GridTabulatorClie
|
|
|
729
737
|
* @internal
|
|
730
738
|
*/
|
|
731
739
|
private get hasDefaultRowId();
|
|
740
|
+
/**
|
|
741
|
+
* Returns the default row ID based on the resource type
|
|
742
|
+
* @internal
|
|
743
|
+
*/
|
|
732
744
|
private get defaultRowIdByResourceType();
|
|
733
745
|
/**
|
|
734
746
|
* Initializes the datasource.
|
|
@@ -757,12 +769,21 @@ export declare class GridTabulatorClientSideDatasource extends GridTabulatorClie
|
|
|
757
769
|
* @internal
|
|
758
770
|
*/
|
|
759
771
|
private clearRowData;
|
|
772
|
+
/**
|
|
773
|
+
* Handles errors by emitting an error event
|
|
774
|
+
*/
|
|
775
|
+
handleErrors(errors: string | any[]): void;
|
|
760
776
|
/**
|
|
761
777
|
* Sets the columnDefs and rowData for the grid.
|
|
762
778
|
* @remarks This should only happen once, when the grid is first initialized. Follow up updates will use the agTransaction.
|
|
763
779
|
* @internal
|
|
764
780
|
*/
|
|
765
781
|
private setRowData;
|
|
782
|
+
/**
|
|
783
|
+
* Generate column definitions from the field metadata
|
|
784
|
+
* @param fieldsMetadata - The field metadata to generate column definitions from
|
|
785
|
+
*/
|
|
786
|
+
private getColumnDefs;
|
|
766
787
|
/**
|
|
767
788
|
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
768
789
|
* Proxies to {@link @genesislcap/grid-tabulator#GridTabulatorClientSideDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
@@ -788,9 +809,14 @@ export declare class GridTabulatorClientSideDatasource extends GridTabulatorClie
|
|
|
788
809
|
private handleStreamInserts;
|
|
789
810
|
private handleStreamDeletes;
|
|
790
811
|
private handleStreamUpdates;
|
|
812
|
+
/**
|
|
813
|
+
* Emit event when the number of rows changes
|
|
814
|
+
*/
|
|
815
|
+
private handleSizeChanged;
|
|
791
816
|
private buildCriteria;
|
|
792
817
|
setFilter(fieldName: string, newFilter: string): void;
|
|
793
818
|
removeFilter(fieldName: string): void;
|
|
819
|
+
datasourceStatusChanged(prev: DatasourceStatus, next: DatasourceStatus): void;
|
|
794
820
|
}
|
|
795
821
|
export {};
|
|
796
822
|
//# sourceMappingURL=client-side.datasource.d.ts.map
|