@next-bricks/data-view 0.15.24 → 0.17.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/bricks.json +5 -3
- package/dist/chunks/1577.ecfef312.js +2 -0
- package/dist/chunks/1577.ecfef312.js.map +1 -0
- package/dist/chunks/{1646.70c36960.js → 1646.05542f8f.js} +2 -2
- package/dist/chunks/{7746.d613e8b6.js.map → 1646.05542f8f.js.map} +1 -1
- package/dist/chunks/1874.fd357791.js +2 -0
- package/dist/chunks/1874.fd357791.js.map +1 -0
- package/dist/chunks/{2108.7ad0a99c.js → 2108.75b79d61.js} +2 -2
- package/dist/chunks/2108.75b79d61.js.map +1 -0
- package/dist/chunks/{3458.e1664a75.js → 3458.19480d28.js} +2 -2
- package/dist/chunks/{3458.e1664a75.js.map → 3458.19480d28.js.map} +1 -1
- package/dist/chunks/4049.95dfd91d.js +2 -0
- package/dist/chunks/{4049.77be2912.js.map → 4049.95dfd91d.js.map} +1 -1
- package/dist/chunks/4550.36a028b4.js +2 -0
- package/dist/chunks/{4550.18341e69.js.map → 4550.36a028b4.js.map} +1 -1
- package/dist/chunks/4635.1f848248.js +2 -0
- package/dist/chunks/4635.1f848248.js.map +1 -0
- package/dist/chunks/{4991.165874d4.js → 4991.67b1f2ed.js} +2 -2
- package/dist/chunks/4991.67b1f2ed.js.map +1 -0
- package/dist/chunks/5114.89597ba9.js +2 -0
- package/dist/chunks/5114.89597ba9.js.map +1 -0
- package/dist/chunks/{5151.5b1df597.js → 5151.317d0e3c.js} +2 -2
- package/dist/chunks/{5151.5b1df597.js.map → 5151.317d0e3c.js.map} +1 -1
- package/dist/chunks/{5381.cdb632ce.js → 5381.d524e3cc.js} +2 -2
- package/dist/chunks/{5381.cdb632ce.js.map → 5381.d524e3cc.js.map} +1 -1
- package/dist/chunks/{5636.04e20f8a.js → 5636.ab16f40e.js} +2 -2
- package/dist/chunks/{5636.04e20f8a.js.map → 5636.ab16f40e.js.map} +1 -1
- package/dist/chunks/5725.bfd3ae6b.js +2 -0
- package/dist/chunks/{7672.0eebcd73.js.map → 5725.bfd3ae6b.js.map} +1 -1
- package/dist/chunks/6205.48912d41.js +2 -0
- package/dist/chunks/{6205.dafb1737.js.map → 6205.48912d41.js.map} +1 -1
- package/dist/chunks/6473.cde0f162.js +2 -0
- package/dist/chunks/{6473.860c166a.js.map → 6473.cde0f162.js.map} +1 -1
- package/dist/chunks/{6660.161f25eb.js → 6660.3e611bb3.js} +2 -2
- package/dist/chunks/{6660.161f25eb.js.map → 6660.3e611bb3.js.map} +1 -1
- package/dist/chunks/7164.0608e010.js +2 -0
- package/dist/chunks/{7164.350797e2.js.map → 7164.0608e010.js.map} +1 -1
- package/dist/chunks/7672.fe022a23.js +2 -0
- package/dist/chunks/{5725.b4ca3ca8.js.map → 7672.fe022a23.js.map} +1 -1
- package/dist/chunks/{7746.d613e8b6.js → 7746.ebb00411.js} +2 -2
- package/dist/chunks/{1646.70c36960.js.map → 7746.ebb00411.js.map} +1 -1
- package/dist/chunks/8588.087e8f97.js +2 -0
- package/dist/chunks/8588.087e8f97.js.map +1 -0
- package/dist/chunks/{8691.d300572b.js → 8691.4a9dd998.js} +2 -2
- package/dist/chunks/{8691.d300572b.js.map → 8691.4a9dd998.js.map} +1 -1
- package/dist/chunks/app-wall-card-item.2cd77e32.js +3 -0
- package/dist/chunks/app-wall-card-item.2cd77e32.js.map +1 -0
- package/dist/chunks/app-wall-relation-line.acea64ca.js +3 -0
- package/dist/chunks/app-wall-relation-line.acea64ca.js.map +1 -0
- package/dist/chunks/app-wall-system-card.7ee27171.js +2 -0
- package/dist/chunks/app-wall-system-card.7ee27171.js.map +1 -0
- package/dist/chunks/app-wall.d99406d6.js +2 -0
- package/dist/chunks/app-wall.d99406d6.js.map +1 -0
- package/dist/chunks/battery-chart.8e793849.js +2 -0
- package/dist/chunks/battery-chart.8e793849.js.map +1 -0
- package/dist/chunks/brick-notification.252fdf71.js +2 -0
- package/dist/chunks/brick-notification.252fdf71.js.map +1 -0
- package/dist/chunks/cabinet-app-layer.c3156126.js +3 -0
- package/dist/chunks/cabinet-app-layer.c3156126.js.map +1 -0
- package/dist/chunks/cabinet-button.dafeb310.js +2 -0
- package/dist/chunks/cabinet-button.dafeb310.js.map +1 -0
- package/dist/chunks/cabinet-container.346f6ad2.js +3 -0
- package/dist/chunks/cabinet-container.346f6ad2.js.map +1 -0
- package/dist/chunks/cabinet-graph.6fb80562.js +2 -0
- package/dist/chunks/cabinet-graph.6fb80562.js.map +1 -0
- package/dist/chunks/cabinet-node.a6b6ec50.js +3 -0
- package/dist/chunks/cabinet-node.a6b6ec50.js.map +1 -0
- package/dist/chunks/cabinet-thumbnail.9d80efaa.js +3 -0
- package/dist/chunks/cabinet-thumbnail.9d80efaa.js.map +1 -0
- package/dist/chunks/complex-search.3c0d20e7.js +2 -0
- package/dist/chunks/complex-search.3c0d20e7.js.map +1 -0
- package/dist/chunks/dropdown-menu.99b11850.js +3 -0
- package/dist/chunks/dropdown-menu.99b11850.js.map +1 -0
- package/dist/chunks/gauge-chart.79b7367f.js +2 -0
- package/dist/chunks/gauge-chart.79b7367f.js.map +1 -0
- package/dist/chunks/{gear-background.10f27ebf.js → gear-background.7fa31a86.js} +2 -2
- package/dist/chunks/gear-background.7fa31a86.js.map +1 -0
- package/dist/chunks/graph-layout-grid.d4de0c9e.js +2 -0
- package/dist/chunks/graph-layout-grid.d4de0c9e.js.map +1 -0
- package/dist/chunks/graph-node.444dd8f0.js +2 -0
- package/dist/chunks/graph-node.444dd8f0.js.map +1 -0
- package/dist/chunks/graph-text.1968abff.js +2 -0
- package/dist/chunks/graph-text.1968abff.js.map +1 -0
- package/dist/chunks/{grid-background.4c458cf3.js → grid-background.8e76ec03.js} +2 -2
- package/dist/chunks/grid-background.8e76ec03.js.map +1 -0
- package/dist/chunks/hi-tech-button.a0479319.js +2 -0
- package/dist/chunks/hi-tech-button.a0479319.js.map +1 -0
- package/dist/chunks/lights-component-title.9dae5318.js +2 -0
- package/dist/chunks/lights-component-title.9dae5318.js.map +1 -0
- package/dist/chunks/loading-panel.797beb0d.js +2 -0
- package/dist/chunks/loading-panel.797beb0d.js.map +1 -0
- package/dist/chunks/main.4039fb2d.js +2 -0
- package/dist/chunks/main.4039fb2d.js.map +1 -0
- package/dist/chunks/modern-style-component-title.8f7c81a6.js +2 -0
- package/dist/chunks/modern-style-component-title.8f7c81a6.js.map +1 -0
- package/dist/chunks/modern-style-page-title.8cfafe41.js +2 -0
- package/dist/chunks/modern-style-page-title.8cfafe41.js.map +1 -0
- package/dist/chunks/modern-style-treemap.c56798a6.js +3 -0
- package/dist/chunks/modern-style-treemap.c56798a6.js.map +1 -0
- package/dist/chunks/particle-animation.dfe139b8.js +2 -0
- package/dist/chunks/particle-animation.dfe139b8.js.map +1 -0
- package/dist/chunks/radar-chart.edeb980f.js +2 -0
- package/dist/chunks/radar-chart.edeb980f.js.map +1 -0
- package/dist/chunks/simple-card-item.227bfcfc.js +3 -0
- package/dist/chunks/simple-card-item.227bfcfc.js.map +1 -0
- package/dist/chunks/tabs-drawer.0567e674.js +3 -0
- package/dist/chunks/tabs-drawer.0567e674.js.map +1 -0
- package/dist/chunks/{tabs-page-title.cbfb62a6.js → tabs-page-title.38fece11.js} +3 -3
- package/dist/chunks/tabs-page-title.38fece11.js.LICENSE.txt +5 -0
- package/dist/chunks/tabs-page-title.38fece11.js.map +1 -0
- package/dist/chunks/tech-mesh-base-view.65357e72.js +2 -0
- package/dist/chunks/tech-mesh-base-view.65357e72.js.map +1 -0
- package/dist/chunks/title-text.fc46a9d0.js +2 -0
- package/dist/chunks/title-text.fc46a9d0.js.map +1 -0
- package/dist/chunks/{top-title-bar.1af24a3a.js → top-title-bar.c1fc48e6.js} +2 -2
- package/dist/chunks/top-title-bar.c1fc48e6.js.map +1 -0
- package/dist/examples.json +3 -0
- package/dist/images/9ed60655.png +0 -0
- package/dist/index.146e5254.js +2 -0
- package/dist/index.146e5254.js.map +1 -0
- package/dist/manifest.json +85 -17
- package/dist/types.json +287 -5
- package/dist-types/app-wall/card-item/index.d.ts +6 -15
- package/dist-types/app-wall/index.d.ts +27 -12
- package/dist-types/app-wall/interface.d.ts +5 -1
- package/dist-types/app-wall/utils.d.ts +4 -3
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/simple-card-item/index.d.ts +47 -0
- package/dist-types/simple-card-item/index.spec.d.ts +1 -0
- package/docs/simple-card-item.md +9 -0
- package/package.json +4 -4
- package/dist/chunks/1874.a273dacc.js +0 -2
- package/dist/chunks/1874.a273dacc.js.map +0 -1
- package/dist/chunks/2108.7ad0a99c.js.map +0 -1
- package/dist/chunks/4049.77be2912.js +0 -2
- package/dist/chunks/4550.18341e69.js +0 -2
- package/dist/chunks/4991.165874d4.js.map +0 -1
- package/dist/chunks/5114.f4058c94.js +0 -2
- package/dist/chunks/5114.f4058c94.js.map +0 -1
- package/dist/chunks/5491.4cefaf87.js +0 -2
- package/dist/chunks/5491.4cefaf87.js.map +0 -1
- package/dist/chunks/5725.b4ca3ca8.js +0 -2
- package/dist/chunks/6205.dafb1737.js +0 -2
- package/dist/chunks/6301.6aae1ef6.js +0 -2
- package/dist/chunks/6301.6aae1ef6.js.map +0 -1
- package/dist/chunks/6473.860c166a.js +0 -2
- package/dist/chunks/7164.350797e2.js +0 -2
- package/dist/chunks/7672.0eebcd73.js +0 -2
- package/dist/chunks/8588.38b4d80c.js +0 -2
- package/dist/chunks/8588.38b4d80c.js.map +0 -1
- package/dist/chunks/app-wall-card-item.6370ffe9.js +0 -3
- package/dist/chunks/app-wall-card-item.6370ffe9.js.map +0 -1
- package/dist/chunks/app-wall-relation-line.5f50c11a.js +0 -3
- package/dist/chunks/app-wall-relation-line.5f50c11a.js.map +0 -1
- package/dist/chunks/app-wall-system-card.3689a316.js +0 -2
- package/dist/chunks/app-wall-system-card.3689a316.js.map +0 -1
- package/dist/chunks/app-wall.45e4ed2d.js +0 -2
- package/dist/chunks/app-wall.45e4ed2d.js.map +0 -1
- package/dist/chunks/battery-chart.30cd7bd7.js +0 -2
- package/dist/chunks/battery-chart.30cd7bd7.js.map +0 -1
- package/dist/chunks/brick-notification.abfff7fc.js +0 -2
- package/dist/chunks/brick-notification.abfff7fc.js.map +0 -1
- package/dist/chunks/cabinet-app-layer.ee8abd14.js +0 -3
- package/dist/chunks/cabinet-app-layer.ee8abd14.js.map +0 -1
- package/dist/chunks/cabinet-button.c42d9b83.js +0 -2
- package/dist/chunks/cabinet-button.c42d9b83.js.map +0 -1
- package/dist/chunks/cabinet-container.1b4a0384.js +0 -3
- package/dist/chunks/cabinet-container.1b4a0384.js.map +0 -1
- package/dist/chunks/cabinet-graph.944d364c.js +0 -2
- package/dist/chunks/cabinet-graph.944d364c.js.map +0 -1
- package/dist/chunks/cabinet-node.c9f3edfe.js +0 -3
- package/dist/chunks/cabinet-node.c9f3edfe.js.map +0 -1
- package/dist/chunks/cabinet-thumbnail.a17755d3.js +0 -3
- package/dist/chunks/cabinet-thumbnail.a17755d3.js.map +0 -1
- package/dist/chunks/complex-search.89f53789.js +0 -2
- package/dist/chunks/complex-search.89f53789.js.map +0 -1
- package/dist/chunks/dropdown-menu.fdffa397.js +0 -3
- package/dist/chunks/dropdown-menu.fdffa397.js.map +0 -1
- package/dist/chunks/gauge-chart.bb0a3847.js +0 -2
- package/dist/chunks/gauge-chart.bb0a3847.js.map +0 -1
- package/dist/chunks/gear-background.10f27ebf.js.map +0 -1
- package/dist/chunks/graph-layout-grid.c9e76f1e.js +0 -2
- package/dist/chunks/graph-layout-grid.c9e76f1e.js.map +0 -1
- package/dist/chunks/graph-node.8bfc13d9.js +0 -2
- package/dist/chunks/graph-node.8bfc13d9.js.map +0 -1
- package/dist/chunks/graph-text.9c59fbe3.js +0 -2
- package/dist/chunks/graph-text.9c59fbe3.js.map +0 -1
- package/dist/chunks/grid-background.4c458cf3.js.map +0 -1
- package/dist/chunks/hi-tech-button.e7f05f51.js +0 -2
- package/dist/chunks/hi-tech-button.e7f05f51.js.map +0 -1
- package/dist/chunks/lights-component-title.f734d195.js +0 -2
- package/dist/chunks/lights-component-title.f734d195.js.map +0 -1
- package/dist/chunks/loading-panel.a0443ec6.js +0 -2
- package/dist/chunks/loading-panel.a0443ec6.js.map +0 -1
- package/dist/chunks/main.8c05278d.js +0 -2
- package/dist/chunks/main.8c05278d.js.map +0 -1
- package/dist/chunks/modern-style-component-title.087a82fc.js +0 -2
- package/dist/chunks/modern-style-component-title.087a82fc.js.map +0 -1
- package/dist/chunks/modern-style-page-title.f1949619.js +0 -2
- package/dist/chunks/modern-style-page-title.f1949619.js.map +0 -1
- package/dist/chunks/modern-style-treemap.0d75766b.js +0 -3
- package/dist/chunks/modern-style-treemap.0d75766b.js.map +0 -1
- package/dist/chunks/particle-animation.44056b29.js +0 -2
- package/dist/chunks/particle-animation.44056b29.js.map +0 -1
- package/dist/chunks/radar-chart.d16ecbc5.js +0 -2
- package/dist/chunks/radar-chart.d16ecbc5.js.map +0 -1
- package/dist/chunks/tabs-drawer.c545e02a.js +0 -3
- package/dist/chunks/tabs-drawer.c545e02a.js.map +0 -1
- package/dist/chunks/tabs-page-title.cbfb62a6.js.map +0 -1
- package/dist/chunks/tech-mesh-base-view.955bc75b.js +0 -2
- package/dist/chunks/tech-mesh-base-view.955bc75b.js.map +0 -1
- package/dist/chunks/title-text.3ca1f916.js +0 -2
- package/dist/chunks/title-text.3ca1f916.js.map +0 -1
- package/dist/chunks/top-title-bar.1af24a3a.js.map +0 -1
- package/dist/index.6c66ec12.js +0 -2
- package/dist/index.6c66ec12.js.map +0 -1
- /package/dist/chunks/{app-wall-card-item.6370ffe9.js.LICENSE.txt → app-wall-card-item.2cd77e32.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{app-wall-relation-line.5f50c11a.js.LICENSE.txt → app-wall-relation-line.acea64ca.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-app-layer.ee8abd14.js.LICENSE.txt → cabinet-app-layer.c3156126.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-container.1b4a0384.js.LICENSE.txt → cabinet-container.346f6ad2.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-node.c9f3edfe.js.LICENSE.txt → cabinet-node.a6b6ec50.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-thumbnail.a17755d3.js.LICENSE.txt → cabinet-thumbnail.9d80efaa.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{dropdown-menu.fdffa397.js.LICENSE.txt → dropdown-menu.99b11850.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{modern-style-treemap.0d75766b.js.LICENSE.txt → modern-style-treemap.c56798a6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-drawer.c545e02a.js.LICENSE.txt → simple-card-item.227bfcfc.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-page-title.cbfb62a6.js.LICENSE.txt → tabs-drawer.0567e674.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -1843,6 +1843,135 @@
|
|
|
1843
1843
|
"events": [],
|
|
1844
1844
|
"methods": []
|
|
1845
1845
|
},
|
|
1846
|
+
"data-view.simple-card-item": {
|
|
1847
|
+
"properties": [
|
|
1848
|
+
{
|
|
1849
|
+
"name": "status",
|
|
1850
|
+
"annotation": {
|
|
1851
|
+
"type": "union",
|
|
1852
|
+
"types": [
|
|
1853
|
+
{
|
|
1854
|
+
"type": "jsLiteral",
|
|
1855
|
+
"value": "normal"
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"type": "jsLiteral",
|
|
1859
|
+
"value": "warning"
|
|
1860
|
+
}
|
|
1861
|
+
]
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "cardTitle",
|
|
1866
|
+
"annotation": {
|
|
1867
|
+
"type": "keyword",
|
|
1868
|
+
"value": "string"
|
|
1869
|
+
}
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"name": "description",
|
|
1873
|
+
"annotation": {
|
|
1874
|
+
"type": "keyword",
|
|
1875
|
+
"value": "string"
|
|
1876
|
+
}
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "color",
|
|
1880
|
+
"annotation": {
|
|
1881
|
+
"type": "indexedAccess",
|
|
1882
|
+
"objectType": {
|
|
1883
|
+
"type": "reference",
|
|
1884
|
+
"typeName": {
|
|
1885
|
+
"type": "qualifiedName",
|
|
1886
|
+
"left": {
|
|
1887
|
+
"type": "identifier",
|
|
1888
|
+
"name": "React"
|
|
1889
|
+
},
|
|
1890
|
+
"right": {
|
|
1891
|
+
"type": "identifier",
|
|
1892
|
+
"name": "CSSProperties"
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
"indexType": {
|
|
1897
|
+
"type": "jsLiteral",
|
|
1898
|
+
"value": "color"
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"name": "descriptionList",
|
|
1904
|
+
"annotation": {
|
|
1905
|
+
"type": "array",
|
|
1906
|
+
"elementType": {
|
|
1907
|
+
"type": "reference",
|
|
1908
|
+
"typeName": {
|
|
1909
|
+
"type": "identifier",
|
|
1910
|
+
"name": "descriptionListItem"
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"name": "background",
|
|
1917
|
+
"annotation": {
|
|
1918
|
+
"type": "indexedAccess",
|
|
1919
|
+
"objectType": {
|
|
1920
|
+
"type": "reference",
|
|
1921
|
+
"typeName": {
|
|
1922
|
+
"type": "qualifiedName",
|
|
1923
|
+
"left": {
|
|
1924
|
+
"type": "identifier",
|
|
1925
|
+
"name": "React"
|
|
1926
|
+
},
|
|
1927
|
+
"right": {
|
|
1928
|
+
"type": "identifier",
|
|
1929
|
+
"name": "CSSProperties"
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"indexType": {
|
|
1934
|
+
"type": "jsLiteral",
|
|
1935
|
+
"value": "background"
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
],
|
|
1940
|
+
"events": [],
|
|
1941
|
+
"methods": [],
|
|
1942
|
+
"types": [
|
|
1943
|
+
{
|
|
1944
|
+
"type": "interface",
|
|
1945
|
+
"name": "descriptionListItem",
|
|
1946
|
+
"body": [
|
|
1947
|
+
{
|
|
1948
|
+
"type": "propertySignature",
|
|
1949
|
+
"key": {
|
|
1950
|
+
"type": "identifier",
|
|
1951
|
+
"name": "key"
|
|
1952
|
+
},
|
|
1953
|
+
"annotation": {
|
|
1954
|
+
"type": "keyword",
|
|
1955
|
+
"value": "string"
|
|
1956
|
+
},
|
|
1957
|
+
"computed": false
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
"type": "propertySignature",
|
|
1961
|
+
"key": {
|
|
1962
|
+
"type": "identifier",
|
|
1963
|
+
"name": "value"
|
|
1964
|
+
},
|
|
1965
|
+
"annotation": {
|
|
1966
|
+
"type": "keyword",
|
|
1967
|
+
"value": "string"
|
|
1968
|
+
},
|
|
1969
|
+
"computed": false
|
|
1970
|
+
}
|
|
1971
|
+
]
|
|
1972
|
+
}
|
|
1973
|
+
]
|
|
1974
|
+
},
|
|
1846
1975
|
"data-view.loading-panel": {
|
|
1847
1976
|
"properties": [
|
|
1848
1977
|
{
|
|
@@ -2733,6 +2862,40 @@
|
|
|
2733
2862
|
"type": "keyword",
|
|
2734
2863
|
"value": "boolean"
|
|
2735
2864
|
}
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"name": "disabledDefaultClickEvent",
|
|
2868
|
+
"annotation": {
|
|
2869
|
+
"type": "keyword",
|
|
2870
|
+
"value": "boolean"
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"name": "cardSize",
|
|
2875
|
+
"annotation": {
|
|
2876
|
+
"type": "reference",
|
|
2877
|
+
"typeName": {
|
|
2878
|
+
"type": "identifier",
|
|
2879
|
+
"name": "CardSize"
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"name": "cardBrickName",
|
|
2885
|
+
"annotation": {
|
|
2886
|
+
"type": "reference",
|
|
2887
|
+
"typeName": {
|
|
2888
|
+
"type": "identifier",
|
|
2889
|
+
"name": "AppWallCardBrickNameType"
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
"name": "containerId",
|
|
2895
|
+
"annotation": {
|
|
2896
|
+
"type": "keyword",
|
|
2897
|
+
"value": "string"
|
|
2898
|
+
}
|
|
2736
2899
|
}
|
|
2737
2900
|
],
|
|
2738
2901
|
"events": [
|
|
@@ -2783,6 +2946,18 @@
|
|
|
2783
2946
|
}
|
|
2784
2947
|
}
|
|
2785
2948
|
}
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"name": "card.click",
|
|
2952
|
+
"detail": {
|
|
2953
|
+
"annotation": {
|
|
2954
|
+
"type": "reference",
|
|
2955
|
+
"typeName": {
|
|
2956
|
+
"type": "identifier",
|
|
2957
|
+
"name": "AppData"
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2786
2961
|
}
|
|
2787
2962
|
],
|
|
2788
2963
|
"methods": [],
|
|
@@ -2831,11 +3006,23 @@
|
|
|
2831
3006
|
"name": "cardItemProps"
|
|
2832
3007
|
},
|
|
2833
3008
|
"annotation": {
|
|
2834
|
-
"type": "
|
|
2835
|
-
"
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
3009
|
+
"type": "intersection",
|
|
3010
|
+
"types": [
|
|
3011
|
+
{
|
|
3012
|
+
"type": "reference",
|
|
3013
|
+
"typeName": {
|
|
3014
|
+
"type": "identifier",
|
|
3015
|
+
"name": "AppWallCardItemProps"
|
|
3016
|
+
}
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"type": "reference",
|
|
3020
|
+
"typeName": {
|
|
3021
|
+
"type": "identifier",
|
|
3022
|
+
"name": "SimpleCardItemProps"
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
3025
|
+
]
|
|
2839
3026
|
},
|
|
2840
3027
|
"computed": false
|
|
2841
3028
|
},
|
|
@@ -2903,6 +3090,101 @@
|
|
|
2903
3090
|
}
|
|
2904
3091
|
]
|
|
2905
3092
|
}
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"type": "interface",
|
|
3096
|
+
"name": "CardSize",
|
|
3097
|
+
"body": [
|
|
3098
|
+
{
|
|
3099
|
+
"type": "propertySignature",
|
|
3100
|
+
"key": {
|
|
3101
|
+
"type": "identifier",
|
|
3102
|
+
"name": "width"
|
|
3103
|
+
},
|
|
3104
|
+
"annotation": {
|
|
3105
|
+
"type": "keyword",
|
|
3106
|
+
"value": "number"
|
|
3107
|
+
},
|
|
3108
|
+
"computed": false
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
"type": "propertySignature",
|
|
3112
|
+
"key": {
|
|
3113
|
+
"type": "identifier",
|
|
3114
|
+
"name": "height"
|
|
3115
|
+
},
|
|
3116
|
+
"annotation": {
|
|
3117
|
+
"type": "keyword",
|
|
3118
|
+
"value": "number"
|
|
3119
|
+
},
|
|
3120
|
+
"computed": false
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"type": "propertySignature",
|
|
3124
|
+
"key": {
|
|
3125
|
+
"type": "identifier",
|
|
3126
|
+
"name": "outerWidth"
|
|
3127
|
+
},
|
|
3128
|
+
"annotation": {
|
|
3129
|
+
"type": "keyword",
|
|
3130
|
+
"value": "number"
|
|
3131
|
+
},
|
|
3132
|
+
"computed": false
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
"type": "propertySignature",
|
|
3136
|
+
"key": {
|
|
3137
|
+
"type": "identifier",
|
|
3138
|
+
"name": "outerHeight"
|
|
3139
|
+
},
|
|
3140
|
+
"annotation": {
|
|
3141
|
+
"type": "keyword",
|
|
3142
|
+
"value": "number"
|
|
3143
|
+
},
|
|
3144
|
+
"computed": false
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
"type": "propertySignature",
|
|
3148
|
+
"key": {
|
|
3149
|
+
"type": "identifier",
|
|
3150
|
+
"name": "lgWidth"
|
|
3151
|
+
},
|
|
3152
|
+
"annotation": {
|
|
3153
|
+
"type": "keyword",
|
|
3154
|
+
"value": "number"
|
|
3155
|
+
},
|
|
3156
|
+
"computed": false
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"type": "propertySignature",
|
|
3160
|
+
"key": {
|
|
3161
|
+
"type": "identifier",
|
|
3162
|
+
"name": "lgHeight"
|
|
3163
|
+
},
|
|
3164
|
+
"annotation": {
|
|
3165
|
+
"type": "keyword",
|
|
3166
|
+
"value": "number"
|
|
3167
|
+
},
|
|
3168
|
+
"computed": false
|
|
3169
|
+
}
|
|
3170
|
+
]
|
|
3171
|
+
},
|
|
3172
|
+
{
|
|
3173
|
+
"type": "typeAlias",
|
|
3174
|
+
"name": "AppWallCardBrickNameType",
|
|
3175
|
+
"annotation": {
|
|
3176
|
+
"type": "union",
|
|
3177
|
+
"types": [
|
|
3178
|
+
{
|
|
3179
|
+
"type": "jsLiteral",
|
|
3180
|
+
"value": "data-view.app-wall-card-item"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"type": "jsLiteral",
|
|
3184
|
+
"value": "data-view.simple-card-item"
|
|
3185
|
+
}
|
|
3186
|
+
]
|
|
3187
|
+
}
|
|
2906
3188
|
}
|
|
2907
3189
|
]
|
|
2908
3190
|
},
|
|
@@ -15,25 +15,16 @@ export interface AppWallCardItemProps {
|
|
|
15
15
|
*/
|
|
16
16
|
declare class AppWallCardItem extends ReactNextElement implements AppWallCardItemProps {
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
* @default "normal"
|
|
21
|
-
* @description 状态
|
|
22
|
-
*/
|
|
18
|
+
* 状态
|
|
19
|
+
*/
|
|
23
20
|
accessor status: "normal" | "warning";
|
|
24
21
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
* @default
|
|
28
|
-
* @description 标题
|
|
29
|
-
*/
|
|
22
|
+
* 标题
|
|
23
|
+
*/
|
|
30
24
|
accessor cardTitle: string;
|
|
31
25
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
* @default
|
|
35
|
-
* @description 描述
|
|
36
|
-
*/
|
|
26
|
+
* 描述
|
|
27
|
+
*/
|
|
37
28
|
accessor description: string;
|
|
38
29
|
render(): JSX.Element;
|
|
39
30
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ReactNextElement } from "@next-core/react-element";
|
|
3
3
|
import type { AppData, Relation } from "./utils.js";
|
|
4
|
+
import { AppWallCardBrickNameType, CardSize } from "./interface.js";
|
|
4
5
|
export interface AppWallProps {
|
|
6
|
+
cardSize: CardSize;
|
|
5
7
|
dataSource: AppData[];
|
|
6
8
|
relations: Relation[];
|
|
7
9
|
useDblclick?: boolean;
|
|
@@ -10,6 +12,10 @@ export interface AppWallProps {
|
|
|
10
12
|
leftBtnOnClick?: (data: AppData) => void;
|
|
11
13
|
rightBtnOnClick?: (data: AppData) => void;
|
|
12
14
|
handleCardDbClick?: (data: AppData) => void;
|
|
15
|
+
disabledDefaultClickEvent?: boolean;
|
|
16
|
+
handleCardClick?: (data: AppData) => void;
|
|
17
|
+
cardBrickName: AppWallCardBrickNameType;
|
|
18
|
+
containerId?: string;
|
|
13
19
|
}
|
|
14
20
|
/**
|
|
15
21
|
* @id data-view.app-wall
|
|
@@ -22,32 +28,41 @@ export interface AppWallProps {
|
|
|
22
28
|
declare class AppWall extends ReactNextElement implements AppWallProps {
|
|
23
29
|
#private;
|
|
24
30
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @required
|
|
27
|
-
* @description 数据
|
|
31
|
+
* 数据
|
|
28
32
|
*/
|
|
29
33
|
accessor dataSource: AppData[];
|
|
30
34
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @required
|
|
33
|
-
* @description 关系
|
|
35
|
+
* 关系
|
|
34
36
|
*/
|
|
35
37
|
accessor relations: Relation[];
|
|
36
38
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @required
|
|
39
|
-
* @description 是否使用双击事件,开启之后卡片不会触发内部dblclick事件展示梯台
|
|
39
|
+
* 是否使用双击事件,开启之后卡片不会触发内部dblclick事件展示梯台
|
|
40
40
|
*/
|
|
41
41
|
accessor useDblclick: boolean;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @required
|
|
45
|
-
* @description 是否使用内置的distanceConfig配置
|
|
43
|
+
* 是否使用内置的distanceConfig配置
|
|
46
44
|
*/
|
|
47
45
|
accessor useDistanceConfig: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* 是否禁用触发默认单击事件,开启之后卡片不会触发内部click事件展示卡片,直接跑出了点击事件
|
|
48
|
+
*/
|
|
49
|
+
accessor disabledDefaultClickEvent: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* 卡的大小配置,注意这里卡片大小宽高将影响T台大小展示
|
|
52
|
+
*/
|
|
53
|
+
accessor cardSize: CardSize;
|
|
54
|
+
/**
|
|
55
|
+
* 卡片支持的构件类型
|
|
56
|
+
*/
|
|
57
|
+
accessor cardBrickName: AppWallCardBrickNameType;
|
|
58
|
+
/**
|
|
59
|
+
* 容器id,用于监听容器大小
|
|
60
|
+
*/
|
|
61
|
+
accessor containerId: string;
|
|
48
62
|
handleLeftClick: (data: AppData) => void;
|
|
49
63
|
handleRightClick: (data: AppData) => void;
|
|
50
64
|
handleCardDbClick: (data: AppData) => void;
|
|
65
|
+
handleCardClick: (data: AppData) => void;
|
|
51
66
|
render(): JSX.Element;
|
|
52
67
|
}
|
|
53
68
|
export { AppWall };
|
|
@@ -2,6 +2,8 @@ import { Vector3Tuple, Object3D } from "three";
|
|
|
2
2
|
import { CSS3DObject } from "three/examples/jsm/renderers/CSS3DRenderer.js";
|
|
3
3
|
import { CabinetThumbnailProps } from "../cabinet/cabinet-thumbnail/index.jsx";
|
|
4
4
|
import { AppData } from "./utils.js";
|
|
5
|
+
import { AppWallCardItem } from "./card-item/index.js";
|
|
6
|
+
import { SimpleCardItem } from "../simple-card-item/index.js";
|
|
5
7
|
interface TrapezoidalObjectData {
|
|
6
8
|
width: number;
|
|
7
9
|
height: number;
|
|
@@ -22,7 +24,7 @@ export type Position = {
|
|
|
22
24
|
y: number;
|
|
23
25
|
z: number;
|
|
24
26
|
};
|
|
25
|
-
export type Grid = Omit<Position,
|
|
27
|
+
export type Grid = Omit<Position, "z">;
|
|
26
28
|
export type Target = AppData & Grid;
|
|
27
29
|
export interface Targets {
|
|
28
30
|
table: Object3D[];
|
|
@@ -68,4 +70,6 @@ export interface RegisterEvents {
|
|
|
68
70
|
isShowRelations: boolean;
|
|
69
71
|
enable: boolean;
|
|
70
72
|
}
|
|
73
|
+
export type AppWallCardBrickNameType = "data-view.app-wall-card-item" | "data-view.simple-card-item";
|
|
74
|
+
export type AppWallCardBrickEleType = AppWallCardItem & SimpleCardItem;
|
|
71
75
|
export {};
|
|
@@ -6,11 +6,12 @@ import "./system-card/index.js";
|
|
|
6
6
|
import type { AppWallCardItemProps } from "./card-item/index.js";
|
|
7
7
|
import type { AppWallRelationLineProps } from "./relation-line/index.js";
|
|
8
8
|
import type { SystemCardProps } from "./system-card/index.js";
|
|
9
|
-
import { TrapezoidalObjectProps, TrapezoidalProps, bounds, CardSize, DistanceConfig, Position, Target, Ele } from "./interface.js";
|
|
9
|
+
import { TrapezoidalObjectProps, TrapezoidalProps, bounds, CardSize, DistanceConfig, Position, Target, Ele, AppWallCardBrickNameType } from "./interface.js";
|
|
10
|
+
import { SimpleCardItemProps } from "../simple-card-item/index.js";
|
|
10
11
|
export interface AppData {
|
|
11
12
|
key: string;
|
|
12
13
|
status: "normal" | "warning";
|
|
13
|
-
cardItemProps: AppWallCardItemProps;
|
|
14
|
+
cardItemProps: AppWallCardItemProps & SimpleCardItemProps;
|
|
14
15
|
systemCardProps: SystemCardProps;
|
|
15
16
|
trapezoidalProps: TrapezoidalProps;
|
|
16
17
|
}
|
|
@@ -87,4 +88,4 @@ export declare const computeCurvePosition: (data: Target, cardSize: CardSize, ma
|
|
|
87
88
|
export declare const createCurveTarget: (data: Target, cardSize: CardSize, maxX: number, maxY: number, angle: number, radius: number) => Object3D<import("three").Event>;
|
|
88
89
|
export declare const computeCameraDistance: (camera: PerspectiveCamera, bounds: bounds, distanceConfig: DistanceConfig[], length: number) => number;
|
|
89
90
|
export declare const getAppRelations: (object: CSS3DObject, relationsData: Relation[]) => Relation[];
|
|
90
|
-
export declare const findElementByEvent: (e: MouseEvent) => Ele;
|
|
91
|
+
export declare const findElementByEvent: (e: MouseEvent, tagName: AppWallCardBrickNameType) => Ele;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactNextElement } from "@next-core/react-element";
|
|
3
|
+
import "@next-core/theme";
|
|
4
|
+
interface descriptionListItem {
|
|
5
|
+
key: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SimpleCardItemProps {
|
|
9
|
+
cardTitle: string;
|
|
10
|
+
description: string;
|
|
11
|
+
status?: "normal" | "warning";
|
|
12
|
+
color?: React.CSSProperties["color"];
|
|
13
|
+
background?: React.CSSProperties["background"];
|
|
14
|
+
descriptionList?: descriptionListItem[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 构件 `data-view.simple-card-item`
|
|
18
|
+
*/
|
|
19
|
+
export declare class SimpleCardItem extends ReactNextElement {
|
|
20
|
+
/**
|
|
21
|
+
* 状态
|
|
22
|
+
*/
|
|
23
|
+
accessor status: "normal" | "warning";
|
|
24
|
+
/**
|
|
25
|
+
* 标题
|
|
26
|
+
*/
|
|
27
|
+
accessor cardTitle: string;
|
|
28
|
+
/**
|
|
29
|
+
* 描述
|
|
30
|
+
*/
|
|
31
|
+
accessor description: string;
|
|
32
|
+
/**
|
|
33
|
+
* 字体颜色
|
|
34
|
+
*/
|
|
35
|
+
accessor color: React.CSSProperties["color"];
|
|
36
|
+
/**
|
|
37
|
+
* 字体颜色
|
|
38
|
+
*/
|
|
39
|
+
accessor descriptionList: descriptionListItem[];
|
|
40
|
+
/**
|
|
41
|
+
* 背景颜色
|
|
42
|
+
*/
|
|
43
|
+
accessor background: React.CSSProperties["background"];
|
|
44
|
+
render(): JSX.Element;
|
|
45
|
+
}
|
|
46
|
+
export declare function SimpleCardItemComponent(props: SimpleCardItemProps): JSX.Element;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/data-view",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/data-view",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"postpublish": "mv package.json.bak package.json"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@next-core/build-next-bricks": "^1.14.
|
|
38
|
-
"@next-core/test-next": "^1.0.
|
|
37
|
+
"@next-core/build-next-bricks": "^1.14.3",
|
|
38
|
+
"@next-core/test-next": "^1.0.11",
|
|
39
39
|
"@types/d3-hierarchy": "^3.1.2",
|
|
40
40
|
"@types/three": "^0.150.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "637bb42177c8d3b436edf906cafed40708c0ed44"
|
|
43
43
|
}
|