@fmsim/board 0.0.78 → 0.0.79

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",
@@ -1672,59 +1609,63 @@
1672
1609
  },
1673
1610
  {
1674
1611
  "kind": "javascript-module",
1675
- "path": "src/component/etc.ts",
1612
+ "path": "stories/index.stories.ts",
1676
1613
  "declarations": [
1677
1614
  {
1678
1615
  "kind": "variable",
1679
- "name": "etc",
1680
- "type": {
1681
- "text": "ComponentGroup"
1682
- },
1683
- "default": "{\n name: 'etc',\n description: 'a group of components that have not yet been defined.',\n icon,\n templates: [\n {\n type: 'rect',\n description: 'rectangle shape',\n icon: rect,\n group: 'shape',\n model: {\n type: 'rect',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'ellipse',\n description: 'ellipse shape',\n icon: ellipse,\n group: 'shape',\n model: {\n type: 'ellipse',\n rx: 50,\n ry: 50,\n cx: 150,\n cy: 150,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'line',\n description: 'simple line',\n icon: lineIcon,\n group: 'line',\n model: {\n type: 'line',\n x1: 100,\n y1: 100,\n x2: 200,\n y2: 200,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 3,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'dash',\n description: 'dash line',\n icon: dash,\n group: 'line',\n model: {\n type: 'line',\n x1: 100,\n y1: 100,\n x2: 200,\n y2: 200,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 3,\n lineDash: 'round-dot',\n lineCap: 'butt'\n }\n }\n ]\n}"
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"
1684
1629
  }
1685
1630
  ],
1686
1631
  "exports": [
1687
1632
  {
1688
1633
  "kind": "js",
1689
- "name": "etc",
1634
+ "name": "default",
1690
1635
  "declaration": {
1691
- "name": "etc",
1692
- "module": "src/component/etc.ts"
1636
+ "module": "stories/index.stories.ts"
1693
1637
  }
1694
- }
1695
- ]
1696
- },
1697
- {
1698
- "kind": "javascript-module",
1699
- "path": "src/component/index.ts",
1700
- "declarations": [],
1701
- "exports": [
1638
+ },
1702
1639
  {
1703
1640
  "kind": "js",
1704
- "name": "*",
1641
+ "name": "Regular",
1705
1642
  "declaration": {
1706
- "name": "*",
1707
- "package": "./etc"
1643
+ "name": "Regular",
1644
+ "module": "stories/index.stories.ts"
1708
1645
  }
1709
- }
1710
- ]
1711
- },
1712
- {
1713
- "kind": "javascript-module",
1714
- "path": "src/component/register-default-groups.ts",
1715
- "declarations": [
1646
+ },
1716
1647
  {
1717
- "kind": "function",
1718
- "name": "registerDefaultGroups"
1719
- }
1720
- ],
1721
- "exports": [
1648
+ "kind": "js",
1649
+ "name": "CustomTitle",
1650
+ "declaration": {
1651
+ "name": "CustomTitle",
1652
+ "module": "stories/index.stories.ts"
1653
+ }
1654
+ },
1722
1655
  {
1723
1656
  "kind": "js",
1724
- "name": "registerDefaultGroups",
1657
+ "name": "CustomCounter",
1725
1658
  "declaration": {
1726
- "name": "registerDefaultGroups",
1727
- "module": "src/component/register-default-groups.ts"
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"
1728
1669
  }
1729
1670
  }
1730
1671
  ]
@@ -1821,6 +1762,65 @@
1821
1762
  }
1822
1763
  ]
1823
1764
  },
1765
+ {
1766
+ "kind": "javascript-module",
1767
+ "path": "src/component/etc.ts",
1768
+ "declarations": [
1769
+ {
1770
+ "kind": "variable",
1771
+ "name": "etc",
1772
+ "type": {
1773
+ "text": "ComponentGroup"
1774
+ },
1775
+ "default": "{\n name: 'etc',\n description: 'a group of components that have not yet been defined.',\n icon,\n templates: [\n {\n type: 'rect',\n description: 'rectangle shape',\n icon: rect,\n group: 'shape',\n model: {\n type: 'rect',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'ellipse',\n description: 'ellipse shape',\n icon: ellipse,\n group: 'shape',\n model: {\n type: 'ellipse',\n rx: 50,\n ry: 50,\n cx: 150,\n cy: 150,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'line',\n description: 'simple line',\n icon: lineIcon,\n group: 'line',\n model: {\n type: 'line',\n x1: 100,\n y1: 100,\n x2: 200,\n y2: 200,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 3,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'dash',\n description: 'dash line',\n icon: dash,\n group: 'line',\n model: {\n type: 'line',\n x1: 100,\n y1: 100,\n x2: 200,\n y2: 200,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 3,\n lineDash: 'round-dot',\n lineCap: 'butt'\n }\n }\n ]\n}"
1776
+ }
1777
+ ],
1778
+ "exports": [
1779
+ {
1780
+ "kind": "js",
1781
+ "name": "etc",
1782
+ "declaration": {
1783
+ "name": "etc",
1784
+ "module": "src/component/etc.ts"
1785
+ }
1786
+ }
1787
+ ]
1788
+ },
1789
+ {
1790
+ "kind": "javascript-module",
1791
+ "path": "src/component/index.ts",
1792
+ "declarations": [],
1793
+ "exports": [
1794
+ {
1795
+ "kind": "js",
1796
+ "name": "*",
1797
+ "declaration": {
1798
+ "name": "*",
1799
+ "package": "./etc"
1800
+ }
1801
+ }
1802
+ ]
1803
+ },
1804
+ {
1805
+ "kind": "javascript-module",
1806
+ "path": "src/component/register-default-groups.ts",
1807
+ "declarations": [
1808
+ {
1809
+ "kind": "function",
1810
+ "name": "registerDefaultGroups"
1811
+ }
1812
+ ],
1813
+ "exports": [
1814
+ {
1815
+ "kind": "js",
1816
+ "name": "registerDefaultGroups",
1817
+ "declaration": {
1818
+ "name": "registerDefaultGroups",
1819
+ "module": "src/component/register-default-groups.ts"
1820
+ }
1821
+ }
1822
+ ]
1823
+ },
1824
1824
  {
1825
1825
  "kind": "javascript-module",
1826
1826
  "path": "src/layers/mcs-mouse-event-handler.ts",
@@ -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
  ]