@fmsim/board 0.0.78 → 0.0.80

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.
@@ -2,69 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "stories/index.stories.ts",
8
- "declarations": [
9
- {
10
- "kind": "variable",
11
- "name": "Regular"
12
- },
13
- {
14
- "kind": "variable",
15
- "name": "CustomTitle"
16
- },
17
- {
18
- "kind": "variable",
19
- "name": "CustomCounter"
20
- },
21
- {
22
- "kind": "variable",
23
- "name": "SlottedContent"
24
- }
25
- ],
26
- "exports": [
27
- {
28
- "kind": "js",
29
- "name": "default",
30
- "declaration": {
31
- "module": "stories/index.stories.ts"
32
- }
33
- },
34
- {
35
- "kind": "js",
36
- "name": "Regular",
37
- "declaration": {
38
- "name": "Regular",
39
- "module": "stories/index.stories.ts"
40
- }
41
- },
42
- {
43
- "kind": "js",
44
- "name": "CustomTitle",
45
- "declaration": {
46
- "name": "CustomTitle",
47
- "module": "stories/index.stories.ts"
48
- }
49
- },
50
- {
51
- "kind": "js",
52
- "name": "CustomCounter",
53
- "declaration": {
54
- "name": "CustomCounter",
55
- "module": "stories/index.stories.ts"
56
- }
57
- },
58
- {
59
- "kind": "js",
60
- "name": "SlottedContent",
61
- "declaration": {
62
- "name": "SlottedContent",
63
- "module": "stories/index.stories.ts"
64
- }
65
- }
66
- ]
67
- },
68
5
  {
69
6
  "kind": "javascript-module",
70
7
  "path": "src/index.ts",
@@ -1670,6 +1607,69 @@
1670
1607
  "declarations": [],
1671
1608
  "exports": []
1672
1609
  },
1610
+ {
1611
+ "kind": "javascript-module",
1612
+ "path": "stories/index.stories.ts",
1613
+ "declarations": [
1614
+ {
1615
+ "kind": "variable",
1616
+ "name": "Regular"
1617
+ },
1618
+ {
1619
+ "kind": "variable",
1620
+ "name": "CustomTitle"
1621
+ },
1622
+ {
1623
+ "kind": "variable",
1624
+ "name": "CustomCounter"
1625
+ },
1626
+ {
1627
+ "kind": "variable",
1628
+ "name": "SlottedContent"
1629
+ }
1630
+ ],
1631
+ "exports": [
1632
+ {
1633
+ "kind": "js",
1634
+ "name": "default",
1635
+ "declaration": {
1636
+ "module": "stories/index.stories.ts"
1637
+ }
1638
+ },
1639
+ {
1640
+ "kind": "js",
1641
+ "name": "Regular",
1642
+ "declaration": {
1643
+ "name": "Regular",
1644
+ "module": "stories/index.stories.ts"
1645
+ }
1646
+ },
1647
+ {
1648
+ "kind": "js",
1649
+ "name": "CustomTitle",
1650
+ "declaration": {
1651
+ "name": "CustomTitle",
1652
+ "module": "stories/index.stories.ts"
1653
+ }
1654
+ },
1655
+ {
1656
+ "kind": "js",
1657
+ "name": "CustomCounter",
1658
+ "declaration": {
1659
+ "name": "CustomCounter",
1660
+ "module": "stories/index.stories.ts"
1661
+ }
1662
+ },
1663
+ {
1664
+ "kind": "js",
1665
+ "name": "SlottedContent",
1666
+ "declaration": {
1667
+ "name": "SlottedContent",
1668
+ "module": "stories/index.stories.ts"
1669
+ }
1670
+ }
1671
+ ]
1672
+ },
1673
1673
  {
1674
1674
  "kind": "javascript-module",
1675
1675
  "path": "src/component/etc.ts",
@@ -1823,293 +1823,99 @@
1823
1823
  },
1824
1824
  {
1825
1825
  "kind": "javascript-module",
1826
- "path": "src/layers/mcs-mouse-event-handler.ts",
1827
- "declarations": [],
1828
- "exports": []
1826
+ "path": "src/modeller/edit-toolbar-style.ts",
1827
+ "declarations": [
1828
+ {
1829
+ "kind": "variable",
1830
+ "name": "style",
1831
+ "default": "css`\n :host {\n color: white;\n background-color: var(--edit-toolbar-background-color, #394e64);\n\n overflow-x: hidden;\n }\n\n [tools] {\n display: flex;\n align-items: center;\n overflow: none;\n padding: 0px 10px;\n }\n\n [tools] > * {\n padding: 0px;\n }\n\n [tools] > span[button] {\n min-width: 30px;\n }\n\n [tools] > span[padding] {\n flex: 1;\n }\n\n [tools] > .vline {\n display: block;\n flex: none;\n border-left: 1px solid rgba(255, 255, 255, 0.2);\n border-right: 1px solid rgba(0, 0, 0, 0.15);\n width: 0px;\n height: 18px;\n margin: 0 3px;\n }\n\n span[button] {\n min-height: 35px;\n\n background: var(--url-icon-htoolbar) no-repeat;\n background-position-x: 50%;\n opacity: 0.8;\n }\n span[button]:hover {\n opacity: 1;\n background-color: rgba(0, 0, 0, 0.1);\n cursor: pointer;\n }\n\n #fullscreen,\n #toggle-property {\n flex: none;\n }\n\n #align-left {\n background-position-y: 8px;\n }\n\n #align-center {\n background-position-y: -42px;\n }\n\n #align-right {\n background-position-y: -92px;\n }\n\n #align-top {\n background-position-y: -142px;\n }\n\n #align-middle {\n background-position-y: -192px;\n }\n\n #align-bottom {\n background-position-y: -242px;\n }\n\n #undo {\n background-position-y: -592px;\n }\n\n #redo {\n background-position-y: -642px;\n }\n\n #front {\n background-position-y: -292px;\n }\n\n #back {\n background-position-y: -342px;\n }\n\n #forward {\n background-position-y: -392px;\n }\n\n #backward {\n background-position-y: -442px;\n }\n\n #symmetry-x {\n background-position-y: -492px;\n }\n\n #symmetry-y {\n background-position-y: -542px;\n }\n\n #group {\n background-position-y: -492px;\n }\n\n #ungroup {\n background-position-y: -542px;\n }\n\n #fullscreen {\n background-position-y: -692px;\n }\n\n #toggle-property {\n background-position-y: -692px;\n float: right;\n }\n\n #zoomin {\n background-position-y: -742px;\n }\n\n #zoomout {\n background-position-y: -792px;\n }\n\n #fit-scene {\n background-position-y: -1492px;\n }\n\n #cut {\n background-position-y: -842px;\n }\n\n #copy {\n background-position-y: -892px;\n }\n\n #paste {\n background-position-y: -942px;\n }\n\n #delete {\n background-position-y: -992px;\n }\n\n #font-increase {\n background-position-y: -1042px;\n }\n\n #font-decrease {\n background-position-y: -1092px;\n }\n\n #style-copy {\n background-position-y: -1142px;\n }\n\n #context-menu {\n background-position-y: -692px;\n }\n\n #symmetry-x {\n background-position-y: -1192px;\n }\n\n #symmetry-y {\n background-position-y: -1242px;\n }\n\n #rotate-cw {\n background-position-y: -1292px;\n }\n\n #rotate-ccw {\n background-position-y: -1342px;\n }\n\n #distribute-horizontal {\n background-position-y: -1542px;\n }\n\n #distribute-vertical {\n background-position-y: -1593px;\n }\n\n #toggle-property {\n background-position-y: -1392px;\n }\n\n #preview {\n background-position-y: -1640px;\n }\n\n /* bigger buttons */\n #fullscreen {\n background: var(--url-icon-fullscreen) 50% 10px no-repeat;\n width: var(--edit-toolbar-bigger-icon-size);\n height: var(--edit-toolbar-bigger-icon-size);\n border-left: var(--edit-toolbar-bigger-icon-line);\n }\n\n #toggle-property {\n background: var(--url-icon-collapse) 80% 10px no-repeat;\n width: var(--edit-toolbar-bigger-icon-size);\n height: var(--edit-toolbar-bigger-icon-size);\n border-left: var(--edit-toolbar-bigger-icon-line);\n }\n\n #toggle-property[active] {\n background: var(--url-icon-collapse-active) 80% 10px no-repeat;\n }\n`"
1832
+ }
1833
+ ],
1834
+ "exports": [
1835
+ {
1836
+ "kind": "js",
1837
+ "name": "style",
1838
+ "declaration": {
1839
+ "name": "style",
1840
+ "module": "src/modeller/edit-toolbar-style.ts"
1841
+ }
1842
+ }
1843
+ ]
1829
1844
  },
1830
1845
  {
1831
1846
  "kind": "javascript-module",
1832
- "path": "src/layers/movement-layer.ts",
1847
+ "path": "src/modeller/edit-toolbar.ts",
1833
1848
  "declarations": [
1834
1849
  {
1835
1850
  "kind": "class",
1836
1851
  "description": "",
1837
- "name": "MovementLayer",
1852
+ "name": "EditToolbar",
1838
1853
  "members": [
1839
1854
  {
1840
1855
  "kind": "field",
1841
- "name": "drawInstructionHandler"
1856
+ "name": "scene",
1857
+ "type": {
1858
+ "text": "Scene | undefined"
1859
+ },
1860
+ "attribute": "scene"
1842
1861
  },
1843
1862
  {
1844
1863
  "kind": "field",
1845
- "name": "clickComponentHandler"
1864
+ "name": "selected",
1865
+ "type": {
1866
+ "text": "any[]"
1867
+ },
1868
+ "default": "[]",
1869
+ "attribute": "selected"
1846
1870
  },
1847
1871
  {
1848
- "kind": "method",
1849
- "name": "ready"
1872
+ "kind": "field",
1873
+ "name": "hideProperty",
1874
+ "type": {
1875
+ "text": "boolean"
1876
+ },
1877
+ "default": "false",
1878
+ "attribute": "hideProperty"
1850
1879
  },
1851
1880
  {
1852
- "kind": "method",
1853
- "name": "dispose"
1881
+ "kind": "field",
1882
+ "name": "cliped",
1883
+ "type": {
1884
+ "text": "string | undefined"
1885
+ },
1886
+ "privacy": "private"
1854
1887
  },
1855
1888
  {
1856
1889
  "kind": "field",
1857
- "name": "capturable",
1858
- "readonly": true
1890
+ "name": "redo",
1891
+ "type": {
1892
+ "text": "HTMLElement"
1893
+ },
1894
+ "privacy": "private"
1859
1895
  },
1860
1896
  {
1861
- "kind": "method",
1862
- "name": "drawArrow",
1863
- "parameters": [
1864
- {
1865
- "name": "ctx",
1866
- "type": {
1867
- "text": "CanvasRenderingContext2D"
1868
- }
1869
- },
1870
- {
1871
- "name": "p0",
1872
- "type": {
1873
- "text": "POINT"
1874
- }
1875
- },
1876
- {
1877
- "name": "p1",
1878
- "type": {
1879
- "text": "POINT"
1880
- }
1881
- },
1882
- {
1883
- "name": "headLength",
1884
- "default": "10",
1885
- "type": {
1886
- "text": "number"
1887
- }
1888
- }
1889
- ]
1897
+ "kind": "field",
1898
+ "name": "undo",
1899
+ "type": {
1900
+ "text": "HTMLElement"
1901
+ },
1902
+ "privacy": "private"
1890
1903
  },
1891
1904
  {
1892
- "kind": "method",
1893
- "name": "findSourceAndTarget",
1894
- "return": {
1895
- "type": {
1896
- "text": "[Component?, Component?]"
1897
- }
1905
+ "kind": "field",
1906
+ "name": "fullscreen",
1907
+ "type": {
1908
+ "text": "HTMLElement"
1898
1909
  },
1899
- "parameters": [
1900
- {
1901
- "name": "path",
1902
- "type": {
1903
- "text": "PATH"
1904
- }
1905
- }
1906
- ]
1910
+ "privacy": "private"
1907
1911
  },
1908
1912
  {
1909
1913
  "kind": "field",
1910
- "name": "eventMap",
1911
- "readonly": true
1912
- },
1913
- {
1914
- "kind": "method",
1915
- "name": "onchangeModelLayer",
1916
- "parameters": [
1917
- {
1918
- "name": "after",
1919
- "type": {
1920
- "text": "any"
1921
- }
1922
- },
1923
- {
1924
- "name": "before",
1925
- "type": {
1926
- "text": "any"
1927
- }
1928
- },
1929
- {
1930
- "name": "hint",
1931
- "type": {
1932
- "text": "any"
1933
- }
1934
- }
1935
- ]
1936
- },
1937
- {
1938
- "kind": "method",
1939
- "name": "onchangeData",
1940
- "return": {
1941
- "type": {
1942
- "text": "void"
1943
- }
1944
- },
1945
- "parameters": [
1946
- {
1947
- "name": "after",
1948
- "type": {
1949
- "text": "Properties"
1950
- }
1951
- },
1952
- {
1953
- "name": "before",
1954
- "type": {
1955
- "text": "Properties"
1956
- }
1957
- }
1958
- ]
1959
- }
1960
- ],
1961
- "superclass": {
1962
- "name": "Layer",
1963
- "package": "@hatiolab/things-scene"
1964
- }
1965
- }
1966
- ],
1967
- "exports": [
1968
- {
1969
- "kind": "js",
1970
- "name": "default",
1971
- "declaration": {
1972
- "name": "MovementLayer",
1973
- "module": "src/layers/movement-layer.ts"
1974
- }
1975
- }
1976
- ]
1977
- },
1978
- {
1979
- "kind": "javascript-module",
1980
- "path": "src/layers/tooltip-decorator.ts",
1981
- "declarations": [
1982
- {
1983
- "kind": "function",
1984
- "name": "tooltipDecorator",
1985
- "parameters": [
1986
- {
1987
- "name": "component",
1988
- "type": {
1989
- "text": "Component"
1990
- }
1991
- },
1992
- {
1993
- "name": "context",
1994
- "type": {
1995
- "text": "CanvasRenderingContext2D"
1996
- }
1997
- },
1998
- {
1999
- "name": "delta",
2000
- "type": {
2001
- "text": "number"
2002
- }
2003
- }
2004
- ]
2005
- }
2006
- ],
2007
- "exports": [
2008
- {
2009
- "kind": "js",
2010
- "name": "default",
2011
- "declaration": {
2012
- "name": "tooltipDecorator",
2013
- "module": "src/layers/tooltip-decorator.ts"
2014
- }
2015
- }
2016
- ]
2017
- },
2018
- {
2019
- "kind": "javascript-module",
2020
- "path": "src/modeller/edit-toolbar-style.ts",
2021
- "declarations": [
2022
- {
2023
- "kind": "variable",
2024
- "name": "style",
2025
- "default": "css`\n :host {\n color: white;\n background-color: var(--edit-toolbar-background-color, #394e64);\n\n overflow-x: hidden;\n }\n\n [tools] {\n display: flex;\n align-items: center;\n overflow: none;\n padding: 0px 10px;\n }\n\n [tools] > * {\n padding: 0px;\n }\n\n [tools] > span[button] {\n min-width: 30px;\n }\n\n [tools] > span[padding] {\n flex: 1;\n }\n\n [tools] > .vline {\n display: block;\n flex: none;\n border-left: 1px solid rgba(255, 255, 255, 0.2);\n border-right: 1px solid rgba(0, 0, 0, 0.15);\n width: 0px;\n height: 18px;\n margin: 0 3px;\n }\n\n span[button] {\n min-height: 35px;\n\n background: var(--url-icon-htoolbar) no-repeat;\n background-position-x: 50%;\n opacity: 0.8;\n }\n span[button]:hover {\n opacity: 1;\n background-color: rgba(0, 0, 0, 0.1);\n cursor: pointer;\n }\n\n #fullscreen,\n #toggle-property {\n flex: none;\n }\n\n #align-left {\n background-position-y: 8px;\n }\n\n #align-center {\n background-position-y: -42px;\n }\n\n #align-right {\n background-position-y: -92px;\n }\n\n #align-top {\n background-position-y: -142px;\n }\n\n #align-middle {\n background-position-y: -192px;\n }\n\n #align-bottom {\n background-position-y: -242px;\n }\n\n #undo {\n background-position-y: -592px;\n }\n\n #redo {\n background-position-y: -642px;\n }\n\n #front {\n background-position-y: -292px;\n }\n\n #back {\n background-position-y: -342px;\n }\n\n #forward {\n background-position-y: -392px;\n }\n\n #backward {\n background-position-y: -442px;\n }\n\n #symmetry-x {\n background-position-y: -492px;\n }\n\n #symmetry-y {\n background-position-y: -542px;\n }\n\n #group {\n background-position-y: -492px;\n }\n\n #ungroup {\n background-position-y: -542px;\n }\n\n #fullscreen {\n background-position-y: -692px;\n }\n\n #toggle-property {\n background-position-y: -692px;\n float: right;\n }\n\n #zoomin {\n background-position-y: -742px;\n }\n\n #zoomout {\n background-position-y: -792px;\n }\n\n #fit-scene {\n background-position-y: -1492px;\n }\n\n #cut {\n background-position-y: -842px;\n }\n\n #copy {\n background-position-y: -892px;\n }\n\n #paste {\n background-position-y: -942px;\n }\n\n #delete {\n background-position-y: -992px;\n }\n\n #font-increase {\n background-position-y: -1042px;\n }\n\n #font-decrease {\n background-position-y: -1092px;\n }\n\n #style-copy {\n background-position-y: -1142px;\n }\n\n #context-menu {\n background-position-y: -692px;\n }\n\n #symmetry-x {\n background-position-y: -1192px;\n }\n\n #symmetry-y {\n background-position-y: -1242px;\n }\n\n #rotate-cw {\n background-position-y: -1292px;\n }\n\n #rotate-ccw {\n background-position-y: -1342px;\n }\n\n #distribute-horizontal {\n background-position-y: -1542px;\n }\n\n #distribute-vertical {\n background-position-y: -1593px;\n }\n\n #toggle-property {\n background-position-y: -1392px;\n }\n\n #preview {\n background-position-y: -1640px;\n }\n\n /* bigger buttons */\n #fullscreen {\n background: var(--url-icon-fullscreen) 50% 10px no-repeat;\n width: var(--edit-toolbar-bigger-icon-size);\n height: var(--edit-toolbar-bigger-icon-size);\n border-left: var(--edit-toolbar-bigger-icon-line);\n }\n\n #toggle-property {\n background: var(--url-icon-collapse) 80% 10px no-repeat;\n width: var(--edit-toolbar-bigger-icon-size);\n height: var(--edit-toolbar-bigger-icon-size);\n border-left: var(--edit-toolbar-bigger-icon-line);\n }\n\n #toggle-property[active] {\n background: var(--url-icon-collapse-active) 80% 10px no-repeat;\n }\n`"
2026
- }
2027
- ],
2028
- "exports": [
2029
- {
2030
- "kind": "js",
2031
- "name": "style",
2032
- "declaration": {
2033
- "name": "style",
2034
- "module": "src/modeller/edit-toolbar-style.ts"
2035
- }
2036
- }
2037
- ]
2038
- },
2039
- {
2040
- "kind": "javascript-module",
2041
- "path": "src/modeller/edit-toolbar.ts",
2042
- "declarations": [
2043
- {
2044
- "kind": "class",
2045
- "description": "",
2046
- "name": "EditToolbar",
2047
- "members": [
2048
- {
2049
- "kind": "field",
2050
- "name": "scene",
2051
- "type": {
2052
- "text": "Scene | undefined"
2053
- },
2054
- "attribute": "scene"
2055
- },
2056
- {
2057
- "kind": "field",
2058
- "name": "selected",
2059
- "type": {
2060
- "text": "any[]"
2061
- },
2062
- "default": "[]",
2063
- "attribute": "selected"
2064
- },
2065
- {
2066
- "kind": "field",
2067
- "name": "hideProperty",
2068
- "type": {
2069
- "text": "boolean"
2070
- },
2071
- "default": "false",
2072
- "attribute": "hideProperty"
2073
- },
2074
- {
2075
- "kind": "field",
2076
- "name": "cliped",
2077
- "type": {
2078
- "text": "string | undefined"
2079
- },
2080
- "privacy": "private"
2081
- },
2082
- {
2083
- "kind": "field",
2084
- "name": "redo",
2085
- "type": {
2086
- "text": "HTMLElement"
2087
- },
2088
- "privacy": "private"
2089
- },
2090
- {
2091
- "kind": "field",
2092
- "name": "undo",
2093
- "type": {
2094
- "text": "HTMLElement"
2095
- },
2096
- "privacy": "private"
2097
- },
2098
- {
2099
- "kind": "field",
2100
- "name": "fullscreen",
2101
- "type": {
2102
- "text": "HTMLElement"
2103
- },
2104
- "privacy": "private"
2105
- },
2106
- {
2107
- "kind": "field",
2108
- "name": "cut",
2109
- "type": {
2110
- "text": "HTMLElement"
2111
- },
2112
- "privacy": "private"
1914
+ "name": "cut",
1915
+ "type": {
1916
+ "text": "HTMLElement"
1917
+ },
1918
+ "privacy": "private"
2113
1919
  },
2114
1920
  {
2115
1921
  "kind": "field",
@@ -2546,67 +2352,261 @@
2546
2352
  },
2547
2353
  {
2548
2354
  "kind": "javascript-module",
2549
- "path": "src/selector/board-creation-popup.ts",
2355
+ "path": "src/layers/mcs-mouse-event-handler.ts",
2356
+ "declarations": [],
2357
+ "exports": []
2358
+ },
2359
+ {
2360
+ "kind": "javascript-module",
2361
+ "path": "src/layers/movement-layer.ts",
2550
2362
  "declarations": [
2551
2363
  {
2552
2364
  "kind": "class",
2553
2365
  "description": "",
2554
- "name": "BoardCreationPopup",
2366
+ "name": "MovementLayer",
2555
2367
  "members": [
2556
2368
  {
2557
2369
  "kind": "field",
2558
- "name": "defaultGroup",
2559
- "type": {
2560
- "text": "string | undefined"
2561
- },
2562
- "attribute": "defaultGroup"
2370
+ "name": "drawInstructionHandler"
2563
2371
  },
2564
2372
  {
2565
2373
  "kind": "field",
2566
- "name": "groups",
2567
- "type": {
2568
- "text": "{ id: string; name: string }[] | undefined"
2569
- },
2570
- "attribute": "groups"
2374
+ "name": "clickComponentHandler"
2571
2375
  },
2572
2376
  {
2573
2377
  "kind": "method",
2574
- "name": "onClickSubmit"
2575
- }
2576
- ],
2577
- "events": [
2578
- {
2579
- "name": "create-board",
2580
- "type": {
2581
- "text": "CustomEvent"
2582
- }
2583
- }
2584
- ],
2585
- "attributes": [
2378
+ "name": "ready"
2379
+ },
2586
2380
  {
2587
- "name": "defaultGroup",
2588
- "type": {
2589
- "text": "string | undefined"
2590
- },
2591
- "fieldName": "defaultGroup"
2381
+ "kind": "method",
2382
+ "name": "dispose"
2592
2383
  },
2593
2384
  {
2594
- "name": "groups",
2595
- "type": {
2596
- "text": "{ id: string; name: string }[] | undefined"
2597
- },
2598
- "fieldName": "groups"
2599
- }
2600
- ],
2601
- "mixins": [
2385
+ "kind": "field",
2386
+ "name": "capturable",
2387
+ "readonly": true
2388
+ },
2602
2389
  {
2603
- "name": "localize(i18next)",
2604
- "module": "src/selector/board-creation-popup.ts"
2605
- }
2606
- ],
2607
- "superclass": {
2608
- "name": "LitElement",
2609
- "package": "lit"
2390
+ "kind": "method",
2391
+ "name": "drawArrow",
2392
+ "parameters": [
2393
+ {
2394
+ "name": "ctx",
2395
+ "type": {
2396
+ "text": "CanvasRenderingContext2D"
2397
+ }
2398
+ },
2399
+ {
2400
+ "name": "p0",
2401
+ "type": {
2402
+ "text": "POINT"
2403
+ }
2404
+ },
2405
+ {
2406
+ "name": "p1",
2407
+ "type": {
2408
+ "text": "POINT"
2409
+ }
2410
+ },
2411
+ {
2412
+ "name": "headLength",
2413
+ "default": "10",
2414
+ "type": {
2415
+ "text": "number"
2416
+ }
2417
+ }
2418
+ ]
2419
+ },
2420
+ {
2421
+ "kind": "method",
2422
+ "name": "findSourceAndTarget",
2423
+ "return": {
2424
+ "type": {
2425
+ "text": "[Component?, Component?]"
2426
+ }
2427
+ },
2428
+ "parameters": [
2429
+ {
2430
+ "name": "path",
2431
+ "type": {
2432
+ "text": "PATH"
2433
+ }
2434
+ }
2435
+ ]
2436
+ },
2437
+ {
2438
+ "kind": "field",
2439
+ "name": "eventMap",
2440
+ "readonly": true
2441
+ },
2442
+ {
2443
+ "kind": "method",
2444
+ "name": "onchangeModelLayer",
2445
+ "parameters": [
2446
+ {
2447
+ "name": "after",
2448
+ "type": {
2449
+ "text": "any"
2450
+ }
2451
+ },
2452
+ {
2453
+ "name": "before",
2454
+ "type": {
2455
+ "text": "any"
2456
+ }
2457
+ },
2458
+ {
2459
+ "name": "hint",
2460
+ "type": {
2461
+ "text": "any"
2462
+ }
2463
+ }
2464
+ ]
2465
+ },
2466
+ {
2467
+ "kind": "method",
2468
+ "name": "onchangeData",
2469
+ "return": {
2470
+ "type": {
2471
+ "text": "void"
2472
+ }
2473
+ },
2474
+ "parameters": [
2475
+ {
2476
+ "name": "after",
2477
+ "type": {
2478
+ "text": "Properties"
2479
+ }
2480
+ },
2481
+ {
2482
+ "name": "before",
2483
+ "type": {
2484
+ "text": "Properties"
2485
+ }
2486
+ }
2487
+ ]
2488
+ }
2489
+ ],
2490
+ "superclass": {
2491
+ "name": "Layer",
2492
+ "package": "@hatiolab/things-scene"
2493
+ }
2494
+ }
2495
+ ],
2496
+ "exports": [
2497
+ {
2498
+ "kind": "js",
2499
+ "name": "default",
2500
+ "declaration": {
2501
+ "name": "MovementLayer",
2502
+ "module": "src/layers/movement-layer.ts"
2503
+ }
2504
+ }
2505
+ ]
2506
+ },
2507
+ {
2508
+ "kind": "javascript-module",
2509
+ "path": "src/layers/tooltip-decorator.ts",
2510
+ "declarations": [
2511
+ {
2512
+ "kind": "function",
2513
+ "name": "tooltipDecorator",
2514
+ "parameters": [
2515
+ {
2516
+ "name": "component",
2517
+ "type": {
2518
+ "text": "Component"
2519
+ }
2520
+ },
2521
+ {
2522
+ "name": "context",
2523
+ "type": {
2524
+ "text": "CanvasRenderingContext2D"
2525
+ }
2526
+ },
2527
+ {
2528
+ "name": "delta",
2529
+ "type": {
2530
+ "text": "number"
2531
+ }
2532
+ }
2533
+ ]
2534
+ }
2535
+ ],
2536
+ "exports": [
2537
+ {
2538
+ "kind": "js",
2539
+ "name": "default",
2540
+ "declaration": {
2541
+ "name": "tooltipDecorator",
2542
+ "module": "src/layers/tooltip-decorator.ts"
2543
+ }
2544
+ }
2545
+ ]
2546
+ },
2547
+ {
2548
+ "kind": "javascript-module",
2549
+ "path": "src/selector/board-creation-popup.ts",
2550
+ "declarations": [
2551
+ {
2552
+ "kind": "class",
2553
+ "description": "",
2554
+ "name": "BoardCreationPopup",
2555
+ "members": [
2556
+ {
2557
+ "kind": "field",
2558
+ "name": "defaultGroup",
2559
+ "type": {
2560
+ "text": "string | undefined"
2561
+ },
2562
+ "attribute": "defaultGroup"
2563
+ },
2564
+ {
2565
+ "kind": "field",
2566
+ "name": "groups",
2567
+ "type": {
2568
+ "text": "{ id: string; name: string }[] | undefined"
2569
+ },
2570
+ "attribute": "groups"
2571
+ },
2572
+ {
2573
+ "kind": "method",
2574
+ "name": "onClickSubmit"
2575
+ }
2576
+ ],
2577
+ "events": [
2578
+ {
2579
+ "name": "create-board",
2580
+ "type": {
2581
+ "text": "CustomEvent"
2582
+ }
2583
+ }
2584
+ ],
2585
+ "attributes": [
2586
+ {
2587
+ "name": "defaultGroup",
2588
+ "type": {
2589
+ "text": "string | undefined"
2590
+ },
2591
+ "fieldName": "defaultGroup"
2592
+ },
2593
+ {
2594
+ "name": "groups",
2595
+ "type": {
2596
+ "text": "{ id: string; name: string }[] | undefined"
2597
+ },
2598
+ "fieldName": "groups"
2599
+ }
2600
+ ],
2601
+ "mixins": [
2602
+ {
2603
+ "name": "localize(i18next)",
2604
+ "module": "src/selector/board-creation-popup.ts"
2605
+ }
2606
+ ],
2607
+ "superclass": {
2608
+ "name": "LitElement",
2609
+ "package": "lit"
2610
2610
  },
2611
2611
  "tagName": "board-creation-popup",
2612
2612
  "customElement": true
@@ -5758,97 +5758,221 @@
5758
5758
  },
5759
5759
  {
5760
5760
  "kind": "javascript-module",
5761
- "path": "src/modeller/property-sidebar/specifics/specific-properties-builder.ts",
5761
+ "path": "src/modeller/property-sidebar/inspector/inspector.ts",
5762
5762
  "declarations": [
5763
5763
  {
5764
5764
  "kind": "class",
5765
5765
  "description": "",
5766
- "name": "SpecificPropertiesBuilder",
5766
+ "name": "SceneInspector",
5767
5767
  "members": [
5768
5768
  {
5769
5769
  "kind": "field",
5770
- "name": "value",
5770
+ "name": "scene",
5771
5771
  "type": {
5772
- "text": "any"
5772
+ "text": "Scene | undefined"
5773
5773
  },
5774
- "attribute": "value"
5774
+ "attribute": "scene"
5775
5775
  },
5776
5776
  {
5777
5777
  "kind": "field",
5778
- "name": "props",
5778
+ "name": "searchText",
5779
5779
  "type": {
5780
- "text": "any[]"
5780
+ "text": "string"
5781
5781
  },
5782
- "default": "[]",
5783
- "attribute": "props"
5782
+ "privacy": "private",
5783
+ "default": "''"
5784
5784
  },
5785
5785
  {
5786
5786
  "kind": "field",
5787
- "name": "propertyEditor",
5787
+ "name": "_extendedMap",
5788
5788
  "type": {
5789
5789
  "text": "any"
5790
5790
  },
5791
- "attribute": "propertyEditor"
5791
+ "privacy": "private"
5792
+ },
5793
+ {
5794
+ "kind": "field",
5795
+ "name": "show",
5796
+ "type": {
5797
+ "text": "boolean"
5798
+ },
5799
+ "privacy": "private",
5800
+ "default": "false"
5792
5801
  },
5793
5802
  {
5794
5803
  "kind": "method",
5795
- "name": "_onPropsChanged",
5804
+ "name": "disconnectScene",
5796
5805
  "parameters": [
5797
5806
  {
5798
- "name": "props",
5807
+ "name": "scene",
5808
+ "optional": true,
5799
5809
  "type": {
5800
- "text": "any[]"
5810
+ "text": "Scene"
5801
5811
  }
5802
5812
  }
5803
5813
  ]
5804
5814
  },
5805
5815
  {
5806
5816
  "kind": "method",
5807
- "name": "_setValues"
5817
+ "name": "refresh"
5818
+ },
5819
+ {
5820
+ "kind": "field",
5821
+ "name": "sortableConfig",
5822
+ "type": {
5823
+ "text": "Sortable.Options"
5824
+ },
5825
+ "default": "{\n group: 'inspector',\n animation: 150,\n draggable: '.component',\n swapThreshold: 1,\n onSort: this.onSort.bind(this)\n }"
5808
5826
  },
5809
5827
  {
5810
5828
  "kind": "method",
5811
- "name": "_onValueChanged",
5829
+ "name": "onSort",
5812
5830
  "parameters": [
5813
5831
  {
5814
5832
  "name": "e",
5815
5833
  "type": {
5816
- "text": "Event"
5834
+ "text": "Sortable.SortableEvent"
5817
5835
  }
5818
5836
  }
5819
5837
  ]
5820
- }
5821
- ],
5822
- "events": [
5838
+ },
5823
5839
  {
5824
- "name": "property-change",
5825
- "type": {
5826
- "text": "CustomEvent"
5827
- }
5828
- }
5829
- ],
5830
- "attributes": [
5840
+ "kind": "method",
5841
+ "name": "_onclick",
5842
+ "parameters": [
5843
+ {
5844
+ "name": "e",
5845
+ "type": {
5846
+ "text": "MouseEvent"
5847
+ }
5848
+ }
5849
+ ]
5850
+ },
5831
5851
  {
5832
- "name": "value",
5833
- "type": {
5834
- "text": "any"
5835
- },
5836
- "fieldName": "value"
5852
+ "kind": "method",
5853
+ "name": "_ondblclick",
5854
+ "parameters": [
5855
+ {
5856
+ "name": "e",
5857
+ "type": {
5858
+ "text": "MouseEvent"
5859
+ }
5860
+ }
5861
+ ]
5837
5862
  },
5838
5863
  {
5839
- "name": "props",
5840
- "type": {
5841
- "text": "any[]"
5864
+ "kind": "field",
5865
+ "name": "extendedMap",
5866
+ "readonly": true
5867
+ },
5868
+ {
5869
+ "kind": "method",
5870
+ "name": "getNodeHandleClass",
5871
+ "parameters": [
5872
+ {
5873
+ "name": "component",
5874
+ "type": {
5875
+ "text": "Component"
5876
+ }
5877
+ }
5878
+ ]
5879
+ },
5880
+ {
5881
+ "kind": "method",
5882
+ "name": "isExtended",
5883
+ "parameters": [
5884
+ {
5885
+ "name": "component",
5886
+ "type": {
5887
+ "text": "Component"
5888
+ }
5889
+ }
5890
+ ]
5891
+ },
5892
+ {
5893
+ "kind": "method",
5894
+ "name": "toggleExtended",
5895
+ "parameters": [
5896
+ {
5897
+ "name": "component",
5898
+ "type": {
5899
+ "text": "Component"
5900
+ }
5901
+ }
5902
+ ]
5903
+ },
5904
+ {
5905
+ "kind": "method",
5906
+ "name": "toggleHidden",
5907
+ "parameters": [
5908
+ {
5909
+ "name": "component",
5910
+ "type": {
5911
+ "text": "Component"
5912
+ }
5913
+ }
5914
+ ]
5915
+ },
5916
+ {
5917
+ "kind": "method",
5918
+ "name": "selectComponent",
5919
+ "parameters": [
5920
+ {
5921
+ "name": "component",
5922
+ "type": {
5923
+ "text": "Component"
5924
+ }
5925
+ }
5926
+ ]
5927
+ },
5928
+ {
5929
+ "kind": "method",
5930
+ "name": "shouldBeShown",
5931
+ "return": {
5932
+ "type": {
5933
+ "text": "boolean"
5934
+ }
5842
5935
  },
5843
- "default": "[]",
5844
- "fieldName": "props"
5936
+ "parameters": [
5937
+ {
5938
+ "name": "component",
5939
+ "type": {
5940
+ "text": "Component"
5941
+ }
5942
+ }
5943
+ ]
5845
5944
  },
5846
5945
  {
5847
- "name": "propertyEditor",
5946
+ "kind": "method",
5947
+ "name": "renderComponent",
5948
+ "return": {
5949
+ "type": {
5950
+ "text": "TemplateResult"
5951
+ }
5952
+ },
5953
+ "parameters": [
5954
+ {
5955
+ "name": "component",
5956
+ "type": {
5957
+ "text": "Component"
5958
+ }
5959
+ },
5960
+ {
5961
+ "name": "depth",
5962
+ "type": {
5963
+ "text": "number"
5964
+ }
5965
+ }
5966
+ ]
5967
+ }
5968
+ ],
5969
+ "attributes": [
5970
+ {
5971
+ "name": "scene",
5848
5972
  "type": {
5849
- "text": "any"
5973
+ "text": "Scene | undefined"
5850
5974
  },
5851
- "fieldName": "propertyEditor"
5975
+ "fieldName": "scene"
5852
5976
  }
5853
5977
  ],
5854
5978
  "superclass": {
@@ -5861,39 +5985,60 @@
5861
5985
  "exports": [
5862
5986
  {
5863
5987
  "kind": "js",
5864
- "name": "SpecificPropertiesBuilder",
5988
+ "name": "SceneInspector",
5865
5989
  "declaration": {
5866
- "name": "SpecificPropertiesBuilder",
5867
- "module": "src/modeller/property-sidebar/specifics/specific-properties-builder.ts"
5990
+ "name": "SceneInspector",
5991
+ "module": "src/modeller/property-sidebar/inspector/inspector.ts"
5868
5992
  }
5869
5993
  }
5870
5994
  ]
5871
5995
  },
5872
5996
  {
5873
5997
  "kind": "javascript-module",
5874
- "path": "src/modeller/property-sidebar/specifics/specifics.ts",
5998
+ "path": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts",
5999
+ "declarations": [
6000
+ {
6001
+ "kind": "variable",
6002
+ "name": "BoxPaddingEditorStyles",
6003
+ "default": "css`\n .box-padding {\n width: 100%;\n }\n\n .box-padding td {\n background: var(--url-icon-properties-padding) 50% 0 no-repeat;\n }\n\n .box-padding tr:nth-child(1),\n .box-padding tr:nth-child(3) {\n height: 20px;\n }\n\n .box-padding tr td:nth-child(1),\n .box-padding tr td:nth-child(3) {\n width: 18px;\n }\n\n .box-padding .slide1 {\n background-position: 0 0;\n }\n\n .box-padding .slide2 {\n background-position: 50% -40px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide3 {\n background-position: 100% -440px;\n }\n\n .box-padding .slide4 {\n background-position: 0 -360px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide5 {\n background: none;\n text-align: center;\n }\n\n .box-padding .slide6 {\n background-position: 100% -160px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide7 {\n background-position: 0 100%;\n }\n\n .box-padding .slide8 {\n background-position: 50% -320px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide9 {\n background-position: 0 0px;\n }\n\n .box-padding input {\n background-color: transparent;\n width: 35px;\n margin: 0px;\n padding: 0px;\n clear: both;\n float: initial;\n border: 1px solid #fff;\n border-width: 0 0 1px 0;\n text-align: right;\n font-size: 14px;\n }\n\n .slide5 input:nth-child(1),\n .slide5 input:nth-child(4) {\n display: block;\n margin: auto;\n }\n\n .slide5 input:nth-child(2) {\n float: left;\n }\n\n .slide5 input:nth-child(3) {\n float: right;\n margin-top: -25px;\n }\n\n .slide5 input:nth-child(4) {\n margin-top: -5px;\n }\n`"
6004
+ }
6005
+ ],
6006
+ "exports": [
6007
+ {
6008
+ "kind": "js",
6009
+ "name": "BoxPaddingEditorStyles",
6010
+ "declaration": {
6011
+ "name": "BoxPaddingEditorStyles",
6012
+ "module": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts"
6013
+ }
6014
+ }
6015
+ ]
6016
+ },
6017
+ {
6018
+ "kind": "javascript-module",
6019
+ "path": "src/modeller/property-sidebar/shapes/shapes.ts",
5875
6020
  "declarations": [
5876
6021
  {
5877
6022
  "kind": "class",
5878
6023
  "description": "",
5879
- "name": "PropertySpecific",
6024
+ "name": "PropertyShapes",
5880
6025
  "members": [
5881
6026
  {
5882
6027
  "kind": "field",
5883
6028
  "name": "value",
5884
6029
  "type": {
5885
- "text": "any"
6030
+ "text": "Properties | undefined"
5886
6031
  },
5887
6032
  "attribute": "value"
5888
6033
  },
5889
6034
  {
5890
6035
  "kind": "field",
5891
- "name": "scene",
6036
+ "name": "bounds",
5892
6037
  "type": {
5893
- "text": "Scene | null"
6038
+ "text": "BOUNDS | null"
5894
6039
  },
5895
6040
  "default": "null",
5896
- "attribute": "scene"
6041
+ "attribute": "bounds"
5897
6042
  },
5898
6043
  {
5899
6044
  "kind": "field",
@@ -5904,38 +6049,6 @@
5904
6049
  "default": "[]",
5905
6050
  "attribute": "selected"
5906
6051
  },
5907
- {
5908
- "kind": "field",
5909
- "name": "props",
5910
- "type": {
5911
- "text": "any[]"
5912
- },
5913
- "default": "[]",
5914
- "attribute": "props"
5915
- },
5916
- {
5917
- "kind": "field",
5918
- "name": "propertyEditor",
5919
- "type": {
5920
- "text": "any[]"
5921
- },
5922
- "default": "[]",
5923
- "attribute": "propertyEditor"
5924
- },
5925
- {
5926
- "kind": "field",
5927
- "name": "boundINeedSelected",
5928
- "type": {
5929
- "text": "any"
5930
- },
5931
- "privacy": "private"
5932
- },
5933
- {
5934
- "kind": "field",
5935
- "name": "scopedElements",
5936
- "static": true,
5937
- "readonly": true
5938
- },
5939
6052
  {
5940
6053
  "kind": "method",
5941
6054
  "name": "_onValueChange",
@@ -5952,6 +6065,30 @@
5952
6065
  "module": "src/modeller/property-sidebar/abstract-property.ts"
5953
6066
  }
5954
6067
  },
6068
+ {
6069
+ "kind": "method",
6070
+ "name": "_hasTextProperty",
6071
+ "parameters": [
6072
+ {
6073
+ "name": "selected",
6074
+ "type": {
6075
+ "text": "Component[]"
6076
+ }
6077
+ }
6078
+ ]
6079
+ },
6080
+ {
6081
+ "kind": "method",
6082
+ "name": "_hasProperties",
6083
+ "parameters": [
6084
+ {
6085
+ "name": "selected",
6086
+ "type": {
6087
+ "text": "Component[]"
6088
+ }
6089
+ }
6090
+ ]
6091
+ },
5955
6092
  {
5956
6093
  "kind": "method",
5957
6094
  "name": "_isIdentifiable",
@@ -5966,7 +6103,7 @@
5966
6103
  },
5967
6104
  {
5968
6105
  "kind": "method",
5969
- "name": "_hasTextProperty",
6106
+ "name": "_isClassIdentifiable",
5970
6107
  "parameters": [
5971
6108
  {
5972
6109
  "name": "selected",
@@ -5978,12 +6115,24 @@
5978
6115
  },
5979
6116
  {
5980
6117
  "kind": "method",
5981
- "name": "_onINeedSelected",
6118
+ "name": "_isLine",
5982
6119
  "parameters": [
5983
6120
  {
5984
- "name": "e",
6121
+ "name": "selected",
5985
6122
  "type": {
5986
- "text": "CustomEvent"
6123
+ "text": "Component[]"
6124
+ }
6125
+ }
6126
+ ]
6127
+ },
6128
+ {
6129
+ "kind": "method",
6130
+ "name": "_is3dish",
6131
+ "parameters": [
6132
+ {
6133
+ "name": "selected",
6134
+ "type": {
6135
+ "text": "Component[]"
5987
6136
  }
5988
6137
  }
5989
6138
  ]
@@ -6027,21 +6176,39 @@
6027
6176
  }
6028
6177
  }
6029
6178
  ],
6179
+ "events": [
6180
+ {
6181
+ "name": "bounds-change",
6182
+ "type": {
6183
+ "text": "CustomEvent"
6184
+ }
6185
+ },
6186
+ {
6187
+ "name": "property-change",
6188
+ "type": {
6189
+ "text": "CustomEvent"
6190
+ },
6191
+ "inheritedFrom": {
6192
+ "name": "AbstractProperty",
6193
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
6194
+ }
6195
+ }
6196
+ ],
6030
6197
  "attributes": [
6031
6198
  {
6032
6199
  "name": "value",
6033
6200
  "type": {
6034
- "text": "any"
6201
+ "text": "Properties | undefined"
6035
6202
  },
6036
6203
  "fieldName": "value"
6037
6204
  },
6038
6205
  {
6039
- "name": "scene",
6206
+ "name": "bounds",
6040
6207
  "type": {
6041
- "text": "Scene | null"
6208
+ "text": "BOUNDS | null"
6042
6209
  },
6043
6210
  "default": "null",
6044
- "fieldName": "scene"
6211
+ "fieldName": "bounds"
6045
6212
  },
6046
6213
  {
6047
6214
  "name": "selected",
@@ -6050,276 +6217,118 @@
6050
6217
  },
6051
6218
  "default": "[]",
6052
6219
  "fieldName": "selected"
6053
- },
6054
- {
6055
- "name": "props",
6056
- "type": {
6057
- "text": "any[]"
6058
- },
6059
- "default": "[]",
6060
- "fieldName": "props"
6061
- },
6062
- {
6063
- "name": "propertyEditor",
6064
- "type": {
6065
- "text": "any[]"
6066
- },
6067
- "default": "[]",
6068
- "fieldName": "propertyEditor"
6069
- }
6070
- ],
6071
- "mixins": [
6072
- {
6073
- "name": "ScopedElementsMixin",
6074
- "package": "@open-wc/scoped-elements"
6075
6220
  }
6076
6221
  ],
6077
6222
  "superclass": {
6078
6223
  "name": "AbstractProperty",
6079
6224
  "module": "/src/modeller/property-sidebar/abstract-property"
6080
- },
6081
- "events": [
6082
- {
6083
- "name": "property-change",
6084
- "type": {
6085
- "text": "CustomEvent"
6086
- },
6087
- "inheritedFrom": {
6088
- "name": "AbstractProperty",
6089
- "module": "src/modeller/property-sidebar/abstract-property.ts"
6090
- }
6091
- }
6092
- ]
6225
+ }
6093
6226
  }
6094
6227
  ],
6095
6228
  "exports": [
6096
6229
  {
6097
6230
  "kind": "js",
6098
- "name": "PropertySpecific",
6231
+ "name": "PropertyShapes",
6099
6232
  "declaration": {
6100
- "name": "PropertySpecific",
6101
- "module": "src/modeller/property-sidebar/specifics/specifics.ts"
6233
+ "name": "PropertyShapes",
6234
+ "module": "src/modeller/property-sidebar/shapes/shapes.ts"
6102
6235
  }
6103
6236
  }
6104
6237
  ]
6105
6238
  },
6106
6239
  {
6107
6240
  "kind": "javascript-module",
6108
- "path": "src/modeller/property-sidebar/inspector/inspector.ts",
6241
+ "path": "src/modeller/property-sidebar/specifics/specific-properties-builder.ts",
6109
6242
  "declarations": [
6110
6243
  {
6111
6244
  "kind": "class",
6112
6245
  "description": "",
6113
- "name": "SceneInspector",
6246
+ "name": "SpecificPropertiesBuilder",
6114
6247
  "members": [
6115
6248
  {
6116
6249
  "kind": "field",
6117
- "name": "scene",
6118
- "type": {
6119
- "text": "Scene | undefined"
6120
- },
6121
- "attribute": "scene"
6122
- },
6123
- {
6124
- "kind": "field",
6125
- "name": "searchText",
6126
- "type": {
6127
- "text": "string"
6128
- },
6129
- "privacy": "private",
6130
- "default": "''"
6131
- },
6132
- {
6133
- "kind": "field",
6134
- "name": "_extendedMap",
6250
+ "name": "value",
6135
6251
  "type": {
6136
6252
  "text": "any"
6137
6253
  },
6138
- "privacy": "private"
6139
- },
6140
- {
6141
- "kind": "field",
6142
- "name": "show",
6143
- "type": {
6144
- "text": "boolean"
6145
- },
6146
- "privacy": "private",
6147
- "default": "false"
6148
- },
6149
- {
6150
- "kind": "method",
6151
- "name": "disconnectScene",
6152
- "parameters": [
6153
- {
6154
- "name": "scene",
6155
- "optional": true,
6156
- "type": {
6157
- "text": "Scene"
6158
- }
6159
- }
6160
- ]
6161
- },
6162
- {
6163
- "kind": "method",
6164
- "name": "refresh"
6254
+ "attribute": "value"
6165
6255
  },
6166
6256
  {
6167
6257
  "kind": "field",
6168
- "name": "sortableConfig",
6258
+ "name": "props",
6169
6259
  "type": {
6170
- "text": "Sortable.Options"
6260
+ "text": "any[]"
6171
6261
  },
6172
- "default": "{\n group: 'inspector',\n animation: 150,\n draggable: '.component',\n swapThreshold: 1,\n onSort: this.onSort.bind(this)\n }"
6173
- },
6174
- {
6175
- "kind": "method",
6176
- "name": "onSort",
6177
- "parameters": [
6178
- {
6179
- "name": "e",
6180
- "type": {
6181
- "text": "Sortable.SortableEvent"
6182
- }
6183
- }
6184
- ]
6185
- },
6186
- {
6187
- "kind": "method",
6188
- "name": "_onclick",
6189
- "parameters": [
6190
- {
6191
- "name": "e",
6192
- "type": {
6193
- "text": "MouseEvent"
6194
- }
6195
- }
6196
- ]
6197
- },
6198
- {
6199
- "kind": "method",
6200
- "name": "_ondblclick",
6201
- "parameters": [
6202
- {
6203
- "name": "e",
6204
- "type": {
6205
- "text": "MouseEvent"
6206
- }
6207
- }
6208
- ]
6209
- },
6210
- {
6211
- "kind": "field",
6212
- "name": "extendedMap",
6213
- "readonly": true
6214
- },
6215
- {
6216
- "kind": "method",
6217
- "name": "getNodeHandleClass",
6218
- "parameters": [
6219
- {
6220
- "name": "component",
6221
- "type": {
6222
- "text": "Component"
6223
- }
6224
- }
6225
- ]
6226
- },
6227
- {
6228
- "kind": "method",
6229
- "name": "isExtended",
6230
- "parameters": [
6231
- {
6232
- "name": "component",
6233
- "type": {
6234
- "text": "Component"
6235
- }
6236
- }
6237
- ]
6238
- },
6239
- {
6240
- "kind": "method",
6241
- "name": "toggleExtended",
6242
- "parameters": [
6243
- {
6244
- "name": "component",
6245
- "type": {
6246
- "text": "Component"
6247
- }
6248
- }
6249
- ]
6262
+ "default": "[]",
6263
+ "attribute": "props"
6250
6264
  },
6251
6265
  {
6252
- "kind": "method",
6253
- "name": "toggleHidden",
6254
- "parameters": [
6255
- {
6256
- "name": "component",
6257
- "type": {
6258
- "text": "Component"
6259
- }
6260
- }
6261
- ]
6266
+ "kind": "field",
6267
+ "name": "propertyEditor",
6268
+ "type": {
6269
+ "text": "any"
6270
+ },
6271
+ "attribute": "propertyEditor"
6262
6272
  },
6263
6273
  {
6264
6274
  "kind": "method",
6265
- "name": "selectComponent",
6275
+ "name": "_onPropsChanged",
6266
6276
  "parameters": [
6267
6277
  {
6268
- "name": "component",
6278
+ "name": "props",
6269
6279
  "type": {
6270
- "text": "Component"
6280
+ "text": "any[]"
6271
6281
  }
6272
6282
  }
6273
6283
  ]
6274
6284
  },
6275
6285
  {
6276
6286
  "kind": "method",
6277
- "name": "shouldBeShown",
6278
- "return": {
6279
- "type": {
6280
- "text": "boolean"
6281
- }
6282
- },
6283
- "parameters": [
6284
- {
6285
- "name": "component",
6286
- "type": {
6287
- "text": "Component"
6288
- }
6289
- }
6290
- ]
6287
+ "name": "_setValues"
6291
6288
  },
6292
6289
  {
6293
6290
  "kind": "method",
6294
- "name": "renderComponent",
6295
- "return": {
6296
- "type": {
6297
- "text": "TemplateResult"
6298
- }
6299
- },
6291
+ "name": "_onValueChanged",
6300
6292
  "parameters": [
6301
6293
  {
6302
- "name": "component",
6303
- "type": {
6304
- "text": "Component"
6305
- }
6306
- },
6307
- {
6308
- "name": "depth",
6294
+ "name": "e",
6309
6295
  "type": {
6310
- "text": "number"
6296
+ "text": "Event"
6311
6297
  }
6312
6298
  }
6313
6299
  ]
6314
6300
  }
6315
6301
  ],
6302
+ "events": [
6303
+ {
6304
+ "name": "property-change",
6305
+ "type": {
6306
+ "text": "CustomEvent"
6307
+ }
6308
+ }
6309
+ ],
6316
6310
  "attributes": [
6317
6311
  {
6318
- "name": "scene",
6312
+ "name": "value",
6319
6313
  "type": {
6320
- "text": "Scene | undefined"
6314
+ "text": "any"
6321
6315
  },
6322
- "fieldName": "scene"
6316
+ "fieldName": "value"
6317
+ },
6318
+ {
6319
+ "name": "props",
6320
+ "type": {
6321
+ "text": "any[]"
6322
+ },
6323
+ "default": "[]",
6324
+ "fieldName": "props"
6325
+ },
6326
+ {
6327
+ "name": "propertyEditor",
6328
+ "type": {
6329
+ "text": "any"
6330
+ },
6331
+ "fieldName": "propertyEditor"
6323
6332
  }
6324
6333
  ],
6325
6334
  "superclass": {
@@ -6332,60 +6341,39 @@
6332
6341
  "exports": [
6333
6342
  {
6334
6343
  "kind": "js",
6335
- "name": "SceneInspector",
6336
- "declaration": {
6337
- "name": "SceneInspector",
6338
- "module": "src/modeller/property-sidebar/inspector/inspector.ts"
6339
- }
6340
- }
6341
- ]
6342
- },
6343
- {
6344
- "kind": "javascript-module",
6345
- "path": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts",
6346
- "declarations": [
6347
- {
6348
- "kind": "variable",
6349
- "name": "BoxPaddingEditorStyles",
6350
- "default": "css`\n .box-padding {\n width: 100%;\n }\n\n .box-padding td {\n background: var(--url-icon-properties-padding) 50% 0 no-repeat;\n }\n\n .box-padding tr:nth-child(1),\n .box-padding tr:nth-child(3) {\n height: 20px;\n }\n\n .box-padding tr td:nth-child(1),\n .box-padding tr td:nth-child(3) {\n width: 18px;\n }\n\n .box-padding .slide1 {\n background-position: 0 0;\n }\n\n .box-padding .slide2 {\n background-position: 50% -40px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide3 {\n background-position: 100% -440px;\n }\n\n .box-padding .slide4 {\n background-position: 0 -360px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide5 {\n background: none;\n text-align: center;\n }\n\n .box-padding .slide6 {\n background-position: 100% -160px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide7 {\n background-position: 0 100%;\n }\n\n .box-padding .slide8 {\n background-position: 50% -320px;\n background-color: rgba(69, 46, 41, 0.2);\n }\n\n .box-padding .slide9 {\n background-position: 0 0px;\n }\n\n .box-padding input {\n background-color: transparent;\n width: 35px;\n margin: 0px;\n padding: 0px;\n clear: both;\n float: initial;\n border: 1px solid #fff;\n border-width: 0 0 1px 0;\n text-align: right;\n font-size: 14px;\n }\n\n .slide5 input:nth-child(1),\n .slide5 input:nth-child(4) {\n display: block;\n margin: auto;\n }\n\n .slide5 input:nth-child(2) {\n float: left;\n }\n\n .slide5 input:nth-child(3) {\n float: right;\n margin-top: -25px;\n }\n\n .slide5 input:nth-child(4) {\n margin-top: -5px;\n }\n`"
6351
- }
6352
- ],
6353
- "exports": [
6354
- {
6355
- "kind": "js",
6356
- "name": "BoxPaddingEditorStyles",
6344
+ "name": "SpecificPropertiesBuilder",
6357
6345
  "declaration": {
6358
- "name": "BoxPaddingEditorStyles",
6359
- "module": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts"
6346
+ "name": "SpecificPropertiesBuilder",
6347
+ "module": "src/modeller/property-sidebar/specifics/specific-properties-builder.ts"
6360
6348
  }
6361
6349
  }
6362
6350
  ]
6363
6351
  },
6364
6352
  {
6365
6353
  "kind": "javascript-module",
6366
- "path": "src/modeller/property-sidebar/shapes/shapes.ts",
6354
+ "path": "src/modeller/property-sidebar/specifics/specifics.ts",
6367
6355
  "declarations": [
6368
6356
  {
6369
6357
  "kind": "class",
6370
6358
  "description": "",
6371
- "name": "PropertyShapes",
6359
+ "name": "PropertySpecific",
6372
6360
  "members": [
6373
6361
  {
6374
6362
  "kind": "field",
6375
6363
  "name": "value",
6376
6364
  "type": {
6377
- "text": "Properties | undefined"
6365
+ "text": "any"
6378
6366
  },
6379
6367
  "attribute": "value"
6380
6368
  },
6381
6369
  {
6382
6370
  "kind": "field",
6383
- "name": "bounds",
6371
+ "name": "scene",
6384
6372
  "type": {
6385
- "text": "BOUNDS | null"
6373
+ "text": "Scene | null"
6386
6374
  },
6387
6375
  "default": "null",
6388
- "attribute": "bounds"
6376
+ "attribute": "scene"
6389
6377
  },
6390
6378
  {
6391
6379
  "kind": "field",
@@ -6396,6 +6384,38 @@
6396
6384
  "default": "[]",
6397
6385
  "attribute": "selected"
6398
6386
  },
6387
+ {
6388
+ "kind": "field",
6389
+ "name": "props",
6390
+ "type": {
6391
+ "text": "any[]"
6392
+ },
6393
+ "default": "[]",
6394
+ "attribute": "props"
6395
+ },
6396
+ {
6397
+ "kind": "field",
6398
+ "name": "propertyEditor",
6399
+ "type": {
6400
+ "text": "any[]"
6401
+ },
6402
+ "default": "[]",
6403
+ "attribute": "propertyEditor"
6404
+ },
6405
+ {
6406
+ "kind": "field",
6407
+ "name": "boundINeedSelected",
6408
+ "type": {
6409
+ "text": "any"
6410
+ },
6411
+ "privacy": "private"
6412
+ },
6413
+ {
6414
+ "kind": "field",
6415
+ "name": "scopedElements",
6416
+ "static": true,
6417
+ "readonly": true
6418
+ },
6399
6419
  {
6400
6420
  "kind": "method",
6401
6421
  "name": "_onValueChange",
@@ -6412,30 +6432,6 @@
6412
6432
  "module": "src/modeller/property-sidebar/abstract-property.ts"
6413
6433
  }
6414
6434
  },
6415
- {
6416
- "kind": "method",
6417
- "name": "_hasTextProperty",
6418
- "parameters": [
6419
- {
6420
- "name": "selected",
6421
- "type": {
6422
- "text": "Component[]"
6423
- }
6424
- }
6425
- ]
6426
- },
6427
- {
6428
- "kind": "method",
6429
- "name": "_hasProperties",
6430
- "parameters": [
6431
- {
6432
- "name": "selected",
6433
- "type": {
6434
- "text": "Component[]"
6435
- }
6436
- }
6437
- ]
6438
- },
6439
6435
  {
6440
6436
  "kind": "method",
6441
6437
  "name": "_isIdentifiable",
@@ -6450,19 +6446,7 @@
6450
6446
  },
6451
6447
  {
6452
6448
  "kind": "method",
6453
- "name": "_isClassIdentifiable",
6454
- "parameters": [
6455
- {
6456
- "name": "selected",
6457
- "type": {
6458
- "text": "Component[]"
6459
- }
6460
- }
6461
- ]
6462
- },
6463
- {
6464
- "kind": "method",
6465
- "name": "_isLine",
6449
+ "name": "_hasTextProperty",
6466
6450
  "parameters": [
6467
6451
  {
6468
6452
  "name": "selected",
@@ -6474,12 +6458,12 @@
6474
6458
  },
6475
6459
  {
6476
6460
  "kind": "method",
6477
- "name": "_is3dish",
6461
+ "name": "_onINeedSelected",
6478
6462
  "parameters": [
6479
6463
  {
6480
- "name": "selected",
6464
+ "name": "e",
6481
6465
  "type": {
6482
- "text": "Component[]"
6466
+ "text": "CustomEvent"
6483
6467
  }
6484
6468
  }
6485
6469
  ]
@@ -6523,39 +6507,21 @@
6523
6507
  }
6524
6508
  }
6525
6509
  ],
6526
- "events": [
6527
- {
6528
- "name": "bounds-change",
6529
- "type": {
6530
- "text": "CustomEvent"
6531
- }
6532
- },
6533
- {
6534
- "name": "property-change",
6535
- "type": {
6536
- "text": "CustomEvent"
6537
- },
6538
- "inheritedFrom": {
6539
- "name": "AbstractProperty",
6540
- "module": "src/modeller/property-sidebar/abstract-property.ts"
6541
- }
6542
- }
6543
- ],
6544
6510
  "attributes": [
6545
6511
  {
6546
6512
  "name": "value",
6547
6513
  "type": {
6548
- "text": "Properties | undefined"
6514
+ "text": "any"
6549
6515
  },
6550
6516
  "fieldName": "value"
6551
6517
  },
6552
6518
  {
6553
- "name": "bounds",
6519
+ "name": "scene",
6554
6520
  "type": {
6555
- "text": "BOUNDS | null"
6521
+ "text": "Scene | null"
6556
6522
  },
6557
6523
  "default": "null",
6558
- "fieldName": "bounds"
6524
+ "fieldName": "scene"
6559
6525
  },
6560
6526
  {
6561
6527
  "name": "selected",
@@ -6564,21 +6530,55 @@
6564
6530
  },
6565
6531
  "default": "[]",
6566
6532
  "fieldName": "selected"
6533
+ },
6534
+ {
6535
+ "name": "props",
6536
+ "type": {
6537
+ "text": "any[]"
6538
+ },
6539
+ "default": "[]",
6540
+ "fieldName": "props"
6541
+ },
6542
+ {
6543
+ "name": "propertyEditor",
6544
+ "type": {
6545
+ "text": "any[]"
6546
+ },
6547
+ "default": "[]",
6548
+ "fieldName": "propertyEditor"
6549
+ }
6550
+ ],
6551
+ "mixins": [
6552
+ {
6553
+ "name": "ScopedElementsMixin",
6554
+ "package": "@open-wc/scoped-elements"
6567
6555
  }
6568
6556
  ],
6569
6557
  "superclass": {
6570
6558
  "name": "AbstractProperty",
6571
6559
  "module": "/src/modeller/property-sidebar/abstract-property"
6572
- }
6560
+ },
6561
+ "events": [
6562
+ {
6563
+ "name": "property-change",
6564
+ "type": {
6565
+ "text": "CustomEvent"
6566
+ },
6567
+ "inheritedFrom": {
6568
+ "name": "AbstractProperty",
6569
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
6570
+ }
6571
+ }
6572
+ ]
6573
6573
  }
6574
6574
  ],
6575
6575
  "exports": [
6576
6576
  {
6577
6577
  "kind": "js",
6578
- "name": "PropertyShapes",
6578
+ "name": "PropertySpecific",
6579
6579
  "declaration": {
6580
- "name": "PropertyShapes",
6581
- "module": "src/modeller/property-sidebar/shapes/shapes.ts"
6580
+ "name": "PropertySpecific",
6581
+ "module": "src/modeller/property-sidebar/specifics/specifics.ts"
6582
6582
  }
6583
6583
  }
6584
6584
  ]