@genesislcap/grid-pro 14.101.4-alpha-0f9aa4a.0 → 14.102.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 +309 -1
- package/dist/dts/cell-editors/index.d.ts +1 -0
- package/dist/dts/cell-editors/index.d.ts.map +1 -1
- package/dist/dts/cell-editors/number.editor.d.ts +59 -0
- package/dist/dts/cell-editors/number.editor.d.ts.map +1 -0
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/grid-components.d.ts +10 -1
- package/dist/dts/grid-components.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +6 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +5 -10
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/grid-pro.types.d.ts +2 -1
- package/dist/dts/grid-pro.types.d.ts.map +1 -1
- package/dist/esm/cell-editors/index.js +1 -0
- package/dist/esm/cell-editors/number.editor.js +86 -0
- package/dist/esm/datasource/server-side.datasource.js +3 -0
- package/dist/esm/grid-components.js +3 -2
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +10 -10
- package/dist/esm/grid-pro.js +4 -7
- package/dist/esm/grid-pro.types.js +1 -0
- package/dist/grid-pro.api.json +887 -2
- package/dist/grid-pro.d.ts +84 -12
- package/docs/api/grid-pro.agnumbereditorstyles.md +13 -0
- package/docs/api/grid-pro.foundationgridcomponents.md +10 -1
- package/docs/api/grid-pro.foundationnumbereditor.md +24 -0
- package/docs/api/grid-pro.getnumbereditortemplate.md +13 -0
- package/docs/api/grid-pro.gridprorenderertypes.md +1 -0
- package/docs/api/grid-pro.md +5 -0
- package/docs/api/grid-pro.numbereditor.afterguiattached.md +15 -0
- package/docs/api/grid-pro.numbereditor.changehandler.md +22 -0
- package/docs/api/grid-pro.numbereditor.destroy.md +15 -0
- package/docs/api/grid-pro.numbereditor.focus.md +15 -0
- package/docs/api/grid-pro.numbereditor.getgui.md +15 -0
- package/docs/api/grid-pro.numbereditor.getvalue.md +15 -0
- package/docs/api/grid-pro.numbereditor.init.md +22 -0
- package/docs/api/grid-pro.numbereditor.input.md +11 -0
- package/docs/api/grid-pro.numbereditor.ispopup.md +15 -0
- package/docs/api/grid-pro.numbereditor.md +39 -0
- package/docs/api/grid-pro.numbereditor.params.md +11 -0
- package/docs/api/grid-pro.numbereditor.refresh.md +22 -0
- package/docs/api/grid-pro.numbereditor.value.md +11 -0
- package/docs/api/grid-pro.numbereditorparams.disabled.md +11 -0
- package/docs/api/grid-pro.numbereditorparams.formatoptions.md +11 -0
- package/docs/api/grid-pro.numbereditorparams.md +24 -0
- package/docs/api/grid-pro.numbereditorparams.placeholder.md +11 -0
- package/docs/api/grid-pro.numbereditorparams.withformatting.md +11 -0
- package/docs/api-report.md +69 -1
- package/package.json +8 -8
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n foundationGridProActionRenderer,\n foundationGridProActionsMenuRenderer,\n foundationAgBooleanRenderer,\n foundationAgTextRenderer,\n foundationAgTextFieldRenderer,\n foundationAgSelectRenderer,\n foundationGridPro,\n
|
|
15
|
+
"default": "{\n foundationGridProActionRenderer,\n foundationGridProActionsMenuRenderer,\n foundationAgBooleanRenderer,\n foundationAgTextRenderer,\n foundationAgTextFieldRenderer,\n foundationAgSelectRenderer,\n foundationGridPro,\n foundationSelectEditor,\n foundationNumberEditor,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n this[key]().register(container, ...rest);\n }\n },\n}",
|
|
16
16
|
"description": "The Grid Pro Components.",
|
|
17
17
|
"privacy": "public"
|
|
18
18
|
}
|
|
@@ -1670,6 +1670,14 @@
|
|
|
1670
1670
|
"path": "src/cell-editors/index.ts",
|
|
1671
1671
|
"declarations": [],
|
|
1672
1672
|
"exports": [
|
|
1673
|
+
{
|
|
1674
|
+
"kind": "js",
|
|
1675
|
+
"name": "*",
|
|
1676
|
+
"declaration": {
|
|
1677
|
+
"name": "*",
|
|
1678
|
+
"package": "./number.editor"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1673
1681
|
{
|
|
1674
1682
|
"kind": "js",
|
|
1675
1683
|
"name": "*",
|
|
@@ -1680,6 +1688,306 @@
|
|
|
1680
1688
|
}
|
|
1681
1689
|
]
|
|
1682
1690
|
},
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "javascript-module",
|
|
1693
|
+
"path": "src/cell-editors/number.editor.ts",
|
|
1694
|
+
"declarations": [
|
|
1695
|
+
{
|
|
1696
|
+
"kind": "class",
|
|
1697
|
+
"description": "The AG Number Editor element.",
|
|
1698
|
+
"name": "NumberEditor",
|
|
1699
|
+
"members": [
|
|
1700
|
+
{
|
|
1701
|
+
"kind": "field",
|
|
1702
|
+
"name": "params",
|
|
1703
|
+
"type": {
|
|
1704
|
+
"text": "NumberEditorParams"
|
|
1705
|
+
},
|
|
1706
|
+
"privacy": "public"
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "value",
|
|
1711
|
+
"type": {
|
|
1712
|
+
"text": "number"
|
|
1713
|
+
},
|
|
1714
|
+
"privacy": "public"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"kind": "field",
|
|
1718
|
+
"name": "input",
|
|
1719
|
+
"type": {
|
|
1720
|
+
"text": "any"
|
|
1721
|
+
},
|
|
1722
|
+
"privacy": "public"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"kind": "method",
|
|
1726
|
+
"name": "init",
|
|
1727
|
+
"privacy": "public",
|
|
1728
|
+
"parameters": [
|
|
1729
|
+
{
|
|
1730
|
+
"name": "params",
|
|
1731
|
+
"type": {
|
|
1732
|
+
"text": "NumberEditorParams"
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
]
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"kind": "method",
|
|
1739
|
+
"name": "getGui",
|
|
1740
|
+
"privacy": "public",
|
|
1741
|
+
"return": {
|
|
1742
|
+
"type": {
|
|
1743
|
+
"text": "HTMLElement"
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
"kind": "method",
|
|
1749
|
+
"name": "focus",
|
|
1750
|
+
"privacy": "public"
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"kind": "method",
|
|
1754
|
+
"name": "destroy",
|
|
1755
|
+
"privacy": "public",
|
|
1756
|
+
"return": {
|
|
1757
|
+
"type": {
|
|
1758
|
+
"text": "void"
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "method",
|
|
1764
|
+
"name": "refresh",
|
|
1765
|
+
"privacy": "public",
|
|
1766
|
+
"return": {
|
|
1767
|
+
"type": {
|
|
1768
|
+
"text": "boolean"
|
|
1769
|
+
}
|
|
1770
|
+
},
|
|
1771
|
+
"parameters": [
|
|
1772
|
+
{
|
|
1773
|
+
"name": "params",
|
|
1774
|
+
"type": {
|
|
1775
|
+
"text": "NumberEditorParams"
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
]
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"kind": "method",
|
|
1782
|
+
"name": "getValue"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "method",
|
|
1786
|
+
"name": "isPopup",
|
|
1787
|
+
"return": {
|
|
1788
|
+
"type": {
|
|
1789
|
+
"text": "boolean"
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"kind": "method",
|
|
1795
|
+
"name": "afterGuiAttached"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"kind": "method",
|
|
1799
|
+
"name": "changeHandler",
|
|
1800
|
+
"parameters": [
|
|
1801
|
+
{
|
|
1802
|
+
"name": "event"
|
|
1803
|
+
}
|
|
1804
|
+
]
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"kind": "field",
|
|
1808
|
+
"name": "_presentation",
|
|
1809
|
+
"type": {
|
|
1810
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1811
|
+
},
|
|
1812
|
+
"privacy": "private",
|
|
1813
|
+
"default": "void 0",
|
|
1814
|
+
"inheritedFrom": {
|
|
1815
|
+
"name": "FoundationElement",
|
|
1816
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1817
|
+
}
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"kind": "field",
|
|
1821
|
+
"name": "$presentation",
|
|
1822
|
+
"type": {
|
|
1823
|
+
"text": "ComponentPresentation | null"
|
|
1824
|
+
},
|
|
1825
|
+
"privacy": "public",
|
|
1826
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1827
|
+
"inheritedFrom": {
|
|
1828
|
+
"name": "FoundationElement",
|
|
1829
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "field",
|
|
1834
|
+
"name": "template",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"text": "ElementViewTemplate | void | null"
|
|
1837
|
+
},
|
|
1838
|
+
"privacy": "public",
|
|
1839
|
+
"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.",
|
|
1840
|
+
"inheritedFrom": {
|
|
1841
|
+
"name": "FoundationElement",
|
|
1842
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1843
|
+
}
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"kind": "method",
|
|
1847
|
+
"name": "templateChanged",
|
|
1848
|
+
"privacy": "protected",
|
|
1849
|
+
"return": {
|
|
1850
|
+
"type": {
|
|
1851
|
+
"text": "void"
|
|
1852
|
+
}
|
|
1853
|
+
},
|
|
1854
|
+
"inheritedFrom": {
|
|
1855
|
+
"name": "FoundationElement",
|
|
1856
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"kind": "field",
|
|
1861
|
+
"name": "styles",
|
|
1862
|
+
"type": {
|
|
1863
|
+
"text": "ElementStyles | void | null"
|
|
1864
|
+
},
|
|
1865
|
+
"privacy": "public",
|
|
1866
|
+
"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.",
|
|
1867
|
+
"inheritedFrom": {
|
|
1868
|
+
"name": "FoundationElement",
|
|
1869
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"kind": "method",
|
|
1874
|
+
"name": "stylesChanged",
|
|
1875
|
+
"privacy": "protected",
|
|
1876
|
+
"return": {
|
|
1877
|
+
"type": {
|
|
1878
|
+
"text": "void"
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
"inheritedFrom": {
|
|
1882
|
+
"name": "FoundationElement",
|
|
1883
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1884
|
+
}
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"kind": "method",
|
|
1888
|
+
"name": "compose",
|
|
1889
|
+
"privacy": "public",
|
|
1890
|
+
"static": true,
|
|
1891
|
+
"return": {
|
|
1892
|
+
"type": {
|
|
1893
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
"parameters": [
|
|
1897
|
+
{
|
|
1898
|
+
"name": "this",
|
|
1899
|
+
"type": {
|
|
1900
|
+
"text": "K"
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"name": "elementDefinition",
|
|
1905
|
+
"type": {
|
|
1906
|
+
"text": "T"
|
|
1907
|
+
},
|
|
1908
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1909
|
+
}
|
|
1910
|
+
],
|
|
1911
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1912
|
+
"inheritedFrom": {
|
|
1913
|
+
"name": "FoundationElement",
|
|
1914
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
],
|
|
1918
|
+
"superclass": {
|
|
1919
|
+
"name": "FoundationElement",
|
|
1920
|
+
"package": "@microsoft/fast-foundation"
|
|
1921
|
+
},
|
|
1922
|
+
"tagName": "%%prefix%%-number-editor",
|
|
1923
|
+
"customElement": true
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"kind": "variable",
|
|
1927
|
+
"name": "agNumberEditorStyles",
|
|
1928
|
+
"default": "css`\n :host {\n display: flex;\n }\n`",
|
|
1929
|
+
"description": "The AG Number Editor Styles.",
|
|
1930
|
+
"privacy": "public"
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"kind": "function",
|
|
1934
|
+
"name": "getNumberEditorTemplate",
|
|
1935
|
+
"parameters": [
|
|
1936
|
+
{
|
|
1937
|
+
"name": "designSystem",
|
|
1938
|
+
"default": "'foundation'",
|
|
1939
|
+
"description": "The design system prefix to use. Defaults to 'foundation'."
|
|
1940
|
+
}
|
|
1941
|
+
],
|
|
1942
|
+
"description": "Get a Design System prefixed Select template.",
|
|
1943
|
+
"return": {
|
|
1944
|
+
"type": {
|
|
1945
|
+
"text": ""
|
|
1946
|
+
}
|
|
1947
|
+
},
|
|
1948
|
+
"privacy": "public"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"kind": "variable",
|
|
1952
|
+
"name": "foundationNumberEditor",
|
|
1953
|
+
"privacy": "public"
|
|
1954
|
+
}
|
|
1955
|
+
],
|
|
1956
|
+
"exports": [
|
|
1957
|
+
{
|
|
1958
|
+
"kind": "js",
|
|
1959
|
+
"name": "NumberEditor",
|
|
1960
|
+
"declaration": {
|
|
1961
|
+
"name": "NumberEditor",
|
|
1962
|
+
"module": "src/cell-editors/number.editor.ts"
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
{
|
|
1966
|
+
"kind": "js",
|
|
1967
|
+
"name": "agNumberEditorStyles",
|
|
1968
|
+
"declaration": {
|
|
1969
|
+
"name": "agNumberEditorStyles",
|
|
1970
|
+
"module": "src/cell-editors/number.editor.ts"
|
|
1971
|
+
}
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"kind": "js",
|
|
1975
|
+
"name": "getNumberEditorTemplate",
|
|
1976
|
+
"declaration": {
|
|
1977
|
+
"name": "getNumberEditorTemplate",
|
|
1978
|
+
"module": "src/cell-editors/number.editor.ts"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "js",
|
|
1983
|
+
"name": "foundationNumberEditor",
|
|
1984
|
+
"declaration": {
|
|
1985
|
+
"name": "foundationNumberEditor",
|
|
1986
|
+
"module": "src/cell-editors/number.editor.ts"
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
]
|
|
1990
|
+
},
|
|
1683
1991
|
{
|
|
1684
1992
|
"kind": "javascript-module",
|
|
1685
1993
|
"path": "src/cell-editors/select.editor.ts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cell-editors/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cell-editors/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ICellEditorComp, ICellEditorParams } from '@ag-grid-community/core';
|
|
2
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
3
|
+
/**
|
|
4
|
+
* Parameters used to configure {@link NumberEditor}
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface NumberEditorParams extends ICellEditorParams {
|
|
8
|
+
withFormatting: boolean;
|
|
9
|
+
formatOptions: any;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The AG Number Editor element.
|
|
15
|
+
* @public
|
|
16
|
+
* @tagname %%prefix%%-number-editor
|
|
17
|
+
*/
|
|
18
|
+
export declare class NumberEditor extends FoundationElement implements ICellEditorComp {
|
|
19
|
+
params: NumberEditorParams;
|
|
20
|
+
value: number;
|
|
21
|
+
input: any;
|
|
22
|
+
init(params: NumberEditorParams): void;
|
|
23
|
+
getGui(): HTMLElement;
|
|
24
|
+
focus(): void;
|
|
25
|
+
destroy(): void;
|
|
26
|
+
refresh(params: NumberEditorParams): boolean;
|
|
27
|
+
getValue(): number;
|
|
28
|
+
isPopup(): boolean;
|
|
29
|
+
afterGuiAttached(): void;
|
|
30
|
+
changeHandler(event: any): void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The AG Number Editor Styles.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare const agNumberEditorStyles: import("@microsoft/fast-element").ElementStyles;
|
|
37
|
+
/**
|
|
38
|
+
* Get a Design System prefixed Select template.
|
|
39
|
+
* @param designSystem - The design system prefix to use. Defaults to 'foundation'.
|
|
40
|
+
* @returns A Select component template prefixed with the correct design system.
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare const getNumberEditorTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate<NumberEditor, any>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @public
|
|
47
|
+
* @remarks
|
|
48
|
+
* HTML Element: \<foundation-number-editor\>
|
|
49
|
+
*/
|
|
50
|
+
export declare const foundationNumberEditor: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
51
|
+
baseName: string;
|
|
52
|
+
styles: import("@microsoft/fast-element").ElementStyles;
|
|
53
|
+
template: import("@microsoft/fast-element").ViewTemplate<NumberEditor, any>;
|
|
54
|
+
}>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
55
|
+
baseName: string;
|
|
56
|
+
styles: import("@microsoft/fast-element").ElementStyles;
|
|
57
|
+
template: import("@microsoft/fast-element").ViewTemplate<NumberEditor, any>;
|
|
58
|
+
}, typeof NumberEditor>;
|
|
59
|
+
//# sourceMappingURL=number.editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"number.editor.d.ts","sourceRoot":"","sources":["../../../src/cell-editors/number.editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,GAAG,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,qBAAa,YAAa,SAAQ,iBAAkB,YAAW,eAAe;IACzD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,GAAG,CAAC;IAEX,IAAI,CAAC,MAAM,EAAE,kBAAkB;IAM/B,MAAM,IAAI,WAAW;IAIrB,KAAK;IAIL,OAAO,IAAI,IAAI;IAEf,OAAO,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO;IAInD,QAAQ;IAIR,OAAO,IAAI,OAAO;IAIlB,gBAAgB;IAIhB,aAAa,CAAC,KAAK,KAAA;CAIpB;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,iDAIhC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,8FAcnC,CAAC;AACF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;uBAIjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,qBAAqB,EACrB,wBAAwB,EAKzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EAMP,wBAAwB,EAIxB,cAAc,EAEd,gBAAgB,EAEjB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAa/D;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IACxC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IAEnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,qBAAa,gBAAiB,YA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S;IACf,KAAK,SAAa;IACtB,OAAO,UAAS;IAE3C,OAAO,CAAC,OAAO,CAAwB;IACvC,OAAO,CAAC,gBAAgB,CAAmB;IAC3C,OAAO,CAAC,gBAAgB,CAAmB;IAE3C,iBAAiB;IASjB,oBAAoB;IASpB,IAAI;IAgEJ,KAAK;IAOL,OAAO;IAKP,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,kBAAkB;IAU1B,IAAI,MAAM,QA2BT;YAEa,sBAAsB;IAapC,OAAO,CAAC,eAAe;CA4DxB"}
|
|
@@ -68,7 +68,7 @@ export declare const foundationGridComponents: {
|
|
|
68
68
|
styles: import("@microsoft/fast-element").ElementStyles;
|
|
69
69
|
template: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
70
70
|
}, typeof import("./grid-pro").GridPro>;
|
|
71
|
-
|
|
71
|
+
foundationSelectEditor: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
72
72
|
baseName: string;
|
|
73
73
|
styles: import("@microsoft/fast-element").ElementStyles;
|
|
74
74
|
template: import("@microsoft/fast-element").ViewTemplate<import("./cell-editors").SelectEditor, any>;
|
|
@@ -77,6 +77,15 @@ export declare const foundationGridComponents: {
|
|
|
77
77
|
styles: import("@microsoft/fast-element").ElementStyles;
|
|
78
78
|
template: import("@microsoft/fast-element").ViewTemplate<import("./cell-editors").SelectEditor, any>;
|
|
79
79
|
}, typeof import("./cell-editors").SelectEditor>;
|
|
80
|
+
foundationNumberEditor: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
81
|
+
baseName: string;
|
|
82
|
+
styles: import("@microsoft/fast-element").ElementStyles;
|
|
83
|
+
template: import("@microsoft/fast-element").ViewTemplate<import("./cell-editors").NumberEditor, any>;
|
|
84
|
+
}>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
85
|
+
baseName: string;
|
|
86
|
+
styles: import("@microsoft/fast-element").ElementStyles;
|
|
87
|
+
template: import("@microsoft/fast-element").ViewTemplate<import("./cell-editors").NumberEditor, any>;
|
|
88
|
+
}, typeof import("./cell-editors").NumberEditor>;
|
|
80
89
|
register(container?: Container, ...rest: any[]): void;
|
|
81
90
|
};
|
|
82
91
|
//# sourceMappingURL=grid-components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-components.d.ts","sourceRoot":"","sources":["../../src/grid-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAY5D;;;;GAIG;AACH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"grid-components.d.ts","sourceRoot":"","sources":["../../src/grid-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAY5D;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAUd,SAAS,WAAW,GAAG,EAAE;CAa/C,CAAC"}
|
|
@@ -255,6 +255,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
255
255
|
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
256
256
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
257
257
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
258
|
+
/**
|
|
259
|
+
* Maps the transaction data to the row data mapper function, if it exists.
|
|
260
|
+
* @param transaction - The transaction data to be mapped.
|
|
261
|
+
* @param operations - The operations to be mapped. Can be 'add', 'update' or 'remove'.
|
|
262
|
+
* @returns The mapped transaction (if the row data mapper function exists), or the original transaction.
|
|
263
|
+
*/
|
|
258
264
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
259
265
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
260
266
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,WAAW,EAAE,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AACpG,OAAO,EACL,IAAI,EACJ,OAAO,EAEP,UAAU,EAYX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAmB/D;;;GAGG;AACH,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAyLC;;;;OAIG
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,WAAW,EAAE,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AACpG,OAAO,EACL,IAAI,EACJ,OAAO,EAEP,UAAU,EAYX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAmB/D;;;GAGG;AACH,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAyLC;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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S;IAE1B,OAAO,CAAC,mBAAmB,CAAkC;IAC7D,OAAO,CAAC,MAAM,CAAwE;IAEtF,iBAAiB;IAuBjB,oBAAoB;IASX,SAAS,IAAI,IAAI;IAO1B,OAAO,KAAK,MAAM,GAEjB;IAID;;;;OAIG;IACH,OAAO,KAAK,KAAK,GAIhB;IAED;;;;OAIG;IACG,IAAI;IAyCV;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA6BL;;;OAGG;IACH,OAAO;IAKP;;OAEG;IACH,WAAW;IAIX;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAUlB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAWpB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAgBlB;;;;;OAKG;YACW,kBAAkB;IAWhC;;;;;;OAMG;YACW,gBAAgB;IA4C9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAgBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA2C9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,sBAAsB;IAmC9B,OAAO,CAAC,wBAAwB;IAUhC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAyBtB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAsDvB,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
package/dist/dts/grid-pro.d.ts
CHANGED
|
@@ -20,10 +20,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
20
20
|
deepClone(): Node;
|
|
21
21
|
readonly shouldRunDisconnect: boolean;
|
|
22
22
|
readonly shouldRunConnect: boolean;
|
|
23
|
-
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
24
|
-
* If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
|
|
25
|
-
* @remarks Defaults to true
|
|
26
|
-
*/
|
|
23
|
+
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
27
24
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
28
25
|
connectedCallback(): void;
|
|
29
26
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
@@ -87,11 +84,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
87
84
|
getAttributeNode(qualifiedName: string): Attr;
|
|
88
85
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
89
86
|
getBoundingClientRect(): DOMRect;
|
|
90
|
-
getClientRects(): DOMRectList;
|
|
91
|
-
* Because we try and resize the grid to fit using callbacks on events, this will cause
|
|
92
|
-
* a stack overflow of calls to resize, so we need to debounce it.
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
87
|
+
getClientRects(): DOMRectList;
|
|
95
88
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
96
89
|
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
97
90
|
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
@@ -136,7 +129,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
136
129
|
readonly nodeName: string;
|
|
137
130
|
readonly nodeType: number;
|
|
138
131
|
nodeValue: string;
|
|
139
|
-
readonly parentElement: HTMLElement;
|
|
132
|
+
readonly parentElement: HTMLElement; /**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
140
135
|
readonly parentNode: ParentNode;
|
|
141
136
|
readonly previousSibling: ChildNode;
|
|
142
137
|
textContent: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EACT,WAAW,EAEX,OAAO,EACP,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAIL,IAAI,EAEL,MAAM,yBAAyB,CAAC;AASjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAS/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAIzE,OAAO,EAKL,cAAc,EAEf,MAAM,kBAAkB,CAAC;AAW1B;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,UAAW,MAAM,WACa,CAAC
|
|
1
|
+
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EACT,WAAW,EAEX,OAAO,EACP,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAIL,IAAI,EAEL,MAAM,yBAAyB,CAAC;AASjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAS/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAIzE,OAAO,EAKL,cAAc,EAEf,MAAM,kBAAkB,CAAC;AAW1B;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,UAAW,MAAM,WACa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCA2Q5D;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
|
|
@@ -126,7 +126,8 @@ export declare enum GridProRendererTypes {
|
|
|
126
126
|
boolean = "boolean",
|
|
127
127
|
text = "text",
|
|
128
128
|
select = "select",
|
|
129
|
-
selectEditor = "selectEditor"
|
|
129
|
+
selectEditor = "selectEditor",
|
|
130
|
+
numberEditor = "numberEditor"
|
|
130
131
|
}
|
|
131
132
|
/**
|
|
132
133
|
* Event fired when grid is ready
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.types.d.ts","sourceRoot":"","sources":["../../src/grid-pro.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGhF;;;GAGG;AACH,oBAAY,aAAa;IACvB,eAAe,0BAA0B;IACzC,SAAS,oBAAoB;IAC7B,wBAAwB,oCAAoC;IAC5D,qBAAqB,iCAAiC;IACtD,uBAAuB,mCAAmC;IAC1D,eAAe,0BAA0B;IACzC,qBAAqB,iCAAiC;IACtD,wBAAwB,oCAAoC;IAC5D,+BAA+B,4CAA4C;IAC3E,2BAA2B,wCAAwC;IACnE,0BAA0B,uCAAuC;IACjE,qBAAqB,kCAAkC;IACvD,aAAa,yBAAyB;IACtC,yBAAyB,sCAAsC;IAC/D,6BAA6B,0CAA0C;IACvE,yBAAyB,sCAAsC;IAC/D,0CAA0C,yDAAyD;IACnG,kCAAkC,gDAAgD;IAClF,8BAA8B,4CAA4C;IAC1E,+BAA+B,6CAA6C;IAC5E,mBAAmB,+BAA+B;IAClD,WAAW,sBAAsB;IACjC,oBAAoB,gCAAgC;IACpD,cAAc,0BAA0B;IACxC,0BAA0B,uCAAuC;IACjE,6BAA6B,2CAA2C;IACxE,gBAAgB,4BAA4B;IAC5C,wBAAwB,qCAAqC;IAC7D,4BAA4B,yCAAyC;I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AAC;AAExF;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,cAAe,MAAM,WAAyB,CAAC;AAE1E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,kBAAkB,cAAe,MAAM,YAAY,eAAe,GAAG,CAAC,oDAIlF,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG;IAAE,CAAC,aAAa,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAE9D;;;GAGG;AACH,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;CAC9B;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { css, html, observable, ref } from '@microsoft/fast-element';
|
|
3
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
4
|
+
/**
|
|
5
|
+
* The AG Number Editor element.
|
|
6
|
+
* @public
|
|
7
|
+
* @tagname %%prefix%%-number-editor
|
|
8
|
+
*/
|
|
9
|
+
export class NumberEditor extends FoundationElement {
|
|
10
|
+
init(params) {
|
|
11
|
+
if (!params)
|
|
12
|
+
return;
|
|
13
|
+
this.params = params;
|
|
14
|
+
this.value = params.value;
|
|
15
|
+
}
|
|
16
|
+
getGui() {
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
focus() {
|
|
20
|
+
debugger;
|
|
21
|
+
}
|
|
22
|
+
destroy() { }
|
|
23
|
+
refresh(params) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
getValue() {
|
|
27
|
+
return this.value;
|
|
28
|
+
}
|
|
29
|
+
isPopup() {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
afterGuiAttached() {
|
|
33
|
+
this.input.focus();
|
|
34
|
+
}
|
|
35
|
+
changeHandler(event) {
|
|
36
|
+
const value = parseFloat(event.target.value);
|
|
37
|
+
this.value = !isNaN(value) ? value : undefined;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
__decorate([
|
|
41
|
+
observable
|
|
42
|
+
], NumberEditor.prototype, "params", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
observable
|
|
45
|
+
], NumberEditor.prototype, "value", void 0);
|
|
46
|
+
/**
|
|
47
|
+
* The AG Number Editor Styles.
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export const agNumberEditorStyles = css `
|
|
51
|
+
:host {
|
|
52
|
+
display: flex;
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
55
|
+
/**
|
|
56
|
+
* Get a Design System prefixed Select template.
|
|
57
|
+
* @param designSystem - The design system prefix to use. Defaults to 'foundation'.
|
|
58
|
+
* @returns A Select component template prefixed with the correct design system.
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export const getNumberEditorTemplate = (designSystem = 'foundation') => html `
|
|
62
|
+
<${designSystem}-number-field
|
|
63
|
+
${ref('input')}
|
|
64
|
+
withFormatting=${(x) => x.params.withFormatting}
|
|
65
|
+
:options=${(x) => x.params.formatOptions}
|
|
66
|
+
:value=${(x) => (x.value === undefined ? '' : String(x.value))}
|
|
67
|
+
@input=${(x, c) => {
|
|
68
|
+
x.changeHandler(c.event);
|
|
69
|
+
}}
|
|
70
|
+
placeholder=${(x) => x.params.placeholder}
|
|
71
|
+
?disabled=${(x) => x.params.disabled}
|
|
72
|
+
hideStep
|
|
73
|
+
style="width: 100%"
|
|
74
|
+
></${designSystem}-number-field>
|
|
75
|
+
`;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
* @remarks
|
|
80
|
+
* HTML Element: \<foundation-number-editor\>
|
|
81
|
+
*/
|
|
82
|
+
export const foundationNumberEditor = NumberEditor.compose({
|
|
83
|
+
baseName: 'number-editor',
|
|
84
|
+
styles: agNumberEditorStyles,
|
|
85
|
+
template: getNumberEditorTemplate(),
|
|
86
|
+
});
|
|
@@ -453,6 +453,9 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
453
453
|
const colDefBase = {};
|
|
454
454
|
colDefBase.filterParams = getFilterParamsByFieldType(field.type);
|
|
455
455
|
switch (field.type) {
|
|
456
|
+
case FieldTypeEnum.NUMBER:
|
|
457
|
+
colDefBase.cellEditor = GridProRendererTypes.numberEditor;
|
|
458
|
+
break;
|
|
456
459
|
case FieldTypeEnum.BOOLEAN:
|
|
457
460
|
if (this.agGrid.autoCellRendererByType) {
|
|
458
461
|
colDefBase.cellRenderer = GridProRendererTypes.boolean;
|