@fmsim/board 0.0.79 → 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.
- package/custom-elements.json +225 -225
- package/package.json +4 -4
package/custom-elements.json
CHANGED
|
@@ -1670,98 +1670,6 @@
|
|
|
1670
1670
|
}
|
|
1671
1671
|
]
|
|
1672
1672
|
},
|
|
1673
|
-
{
|
|
1674
|
-
"kind": "javascript-module",
|
|
1675
|
-
"path": "src/data-storage/data-storage.ts",
|
|
1676
|
-
"declarations": [
|
|
1677
|
-
{
|
|
1678
|
-
"kind": "class",
|
|
1679
|
-
"description": "",
|
|
1680
|
-
"name": "DataStorage",
|
|
1681
|
-
"members": [
|
|
1682
|
-
{
|
|
1683
|
-
"kind": "field",
|
|
1684
|
-
"name": "id",
|
|
1685
|
-
"type": {
|
|
1686
|
-
"text": "string"
|
|
1687
|
-
},
|
|
1688
|
-
"privacy": "private",
|
|
1689
|
-
"default": "id"
|
|
1690
|
-
},
|
|
1691
|
-
{
|
|
1692
|
-
"kind": "method",
|
|
1693
|
-
"name": "load",
|
|
1694
|
-
"privacy": "public",
|
|
1695
|
-
"return": {
|
|
1696
|
-
"type": {
|
|
1697
|
-
"text": "Promise<any>"
|
|
1698
|
-
}
|
|
1699
|
-
},
|
|
1700
|
-
"parameters": [
|
|
1701
|
-
{
|
|
1702
|
-
"name": "key",
|
|
1703
|
-
"type": {
|
|
1704
|
-
"text": "Component"
|
|
1705
|
-
}
|
|
1706
|
-
}
|
|
1707
|
-
]
|
|
1708
|
-
},
|
|
1709
|
-
{
|
|
1710
|
-
"kind": "method",
|
|
1711
|
-
"name": "save",
|
|
1712
|
-
"privacy": "public",
|
|
1713
|
-
"return": {
|
|
1714
|
-
"type": {
|
|
1715
|
-
"text": "Promise<void>"
|
|
1716
|
-
}
|
|
1717
|
-
},
|
|
1718
|
-
"parameters": [
|
|
1719
|
-
{
|
|
1720
|
-
"name": "key",
|
|
1721
|
-
"type": {
|
|
1722
|
-
"text": "Component"
|
|
1723
|
-
}
|
|
1724
|
-
},
|
|
1725
|
-
{
|
|
1726
|
-
"name": "value",
|
|
1727
|
-
"type": {
|
|
1728
|
-
"text": "any"
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
]
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"kind": "method",
|
|
1735
|
-
"name": "clear",
|
|
1736
|
-
"privacy": "public",
|
|
1737
|
-
"return": {
|
|
1738
|
-
"type": {
|
|
1739
|
-
"text": "Promise<void>"
|
|
1740
|
-
}
|
|
1741
|
-
},
|
|
1742
|
-
"parameters": [
|
|
1743
|
-
{
|
|
1744
|
-
"name": "key",
|
|
1745
|
-
"type": {
|
|
1746
|
-
"text": "Component"
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
]
|
|
1750
|
-
}
|
|
1751
|
-
]
|
|
1752
|
-
}
|
|
1753
|
-
],
|
|
1754
|
-
"exports": [
|
|
1755
|
-
{
|
|
1756
|
-
"kind": "js",
|
|
1757
|
-
"name": "DataStorage",
|
|
1758
|
-
"declaration": {
|
|
1759
|
-
"name": "DataStorage",
|
|
1760
|
-
"module": "src/data-storage/data-storage.ts"
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
]
|
|
1764
|
-
},
|
|
1765
1673
|
{
|
|
1766
1674
|
"kind": "javascript-module",
|
|
1767
1675
|
"path": "src/component/etc.ts",
|
|
@@ -1823,111 +1731,58 @@
|
|
|
1823
1731
|
},
|
|
1824
1732
|
{
|
|
1825
1733
|
"kind": "javascript-module",
|
|
1826
|
-
"path": "src/
|
|
1827
|
-
"declarations": [],
|
|
1828
|
-
"exports": []
|
|
1829
|
-
},
|
|
1830
|
-
{
|
|
1831
|
-
"kind": "javascript-module",
|
|
1832
|
-
"path": "src/layers/movement-layer.ts",
|
|
1734
|
+
"path": "src/data-storage/data-storage.ts",
|
|
1833
1735
|
"declarations": [
|
|
1834
1736
|
{
|
|
1835
1737
|
"kind": "class",
|
|
1836
1738
|
"description": "",
|
|
1837
|
-
"name": "
|
|
1739
|
+
"name": "DataStorage",
|
|
1838
1740
|
"members": [
|
|
1839
1741
|
{
|
|
1840
1742
|
"kind": "field",
|
|
1841
|
-
"name": "
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
"
|
|
1846
|
-
|
|
1847
|
-
{
|
|
1848
|
-
"kind": "method",
|
|
1849
|
-
"name": "ready"
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
"kind": "method",
|
|
1853
|
-
"name": "dispose"
|
|
1854
|
-
},
|
|
1855
|
-
{
|
|
1856
|
-
"kind": "field",
|
|
1857
|
-
"name": "capturable",
|
|
1858
|
-
"readonly": true
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
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
|
-
]
|
|
1743
|
+
"name": "id",
|
|
1744
|
+
"type": {
|
|
1745
|
+
"text": "string"
|
|
1746
|
+
},
|
|
1747
|
+
"privacy": "private",
|
|
1748
|
+
"default": "id"
|
|
1890
1749
|
},
|
|
1891
1750
|
{
|
|
1892
1751
|
"kind": "method",
|
|
1893
|
-
"name": "
|
|
1752
|
+
"name": "load",
|
|
1753
|
+
"privacy": "public",
|
|
1894
1754
|
"return": {
|
|
1895
1755
|
"type": {
|
|
1896
|
-
"text": "
|
|
1756
|
+
"text": "Promise<any>"
|
|
1897
1757
|
}
|
|
1898
1758
|
},
|
|
1899
1759
|
"parameters": [
|
|
1900
1760
|
{
|
|
1901
|
-
"name": "
|
|
1761
|
+
"name": "key",
|
|
1902
1762
|
"type": {
|
|
1903
|
-
"text": "
|
|
1763
|
+
"text": "Component"
|
|
1904
1764
|
}
|
|
1905
1765
|
}
|
|
1906
1766
|
]
|
|
1907
1767
|
},
|
|
1908
|
-
{
|
|
1909
|
-
"kind": "field",
|
|
1910
|
-
"name": "eventMap",
|
|
1911
|
-
"readonly": true
|
|
1912
|
-
},
|
|
1913
1768
|
{
|
|
1914
1769
|
"kind": "method",
|
|
1915
|
-
"name": "
|
|
1770
|
+
"name": "save",
|
|
1771
|
+
"privacy": "public",
|
|
1772
|
+
"return": {
|
|
1773
|
+
"type": {
|
|
1774
|
+
"text": "Promise<void>"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1916
1777
|
"parameters": [
|
|
1917
1778
|
{
|
|
1918
|
-
"name": "
|
|
1919
|
-
"type": {
|
|
1920
|
-
"text": "any"
|
|
1921
|
-
}
|
|
1922
|
-
},
|
|
1923
|
-
{
|
|
1924
|
-
"name": "before",
|
|
1779
|
+
"name": "key",
|
|
1925
1780
|
"type": {
|
|
1926
|
-
"text": "
|
|
1781
|
+
"text": "Component"
|
|
1927
1782
|
}
|
|
1928
1783
|
},
|
|
1929
1784
|
{
|
|
1930
|
-
"name": "
|
|
1785
|
+
"name": "value",
|
|
1931
1786
|
"type": {
|
|
1932
1787
|
"text": "any"
|
|
1933
1788
|
}
|
|
@@ -1936,81 +1791,32 @@
|
|
|
1936
1791
|
},
|
|
1937
1792
|
{
|
|
1938
1793
|
"kind": "method",
|
|
1939
|
-
"name": "
|
|
1794
|
+
"name": "clear",
|
|
1795
|
+
"privacy": "public",
|
|
1940
1796
|
"return": {
|
|
1941
1797
|
"type": {
|
|
1942
|
-
"text": "void"
|
|
1798
|
+
"text": "Promise<void>"
|
|
1943
1799
|
}
|
|
1944
1800
|
},
|
|
1945
1801
|
"parameters": [
|
|
1946
1802
|
{
|
|
1947
|
-
"name": "
|
|
1948
|
-
"type": {
|
|
1949
|
-
"text": "Properties"
|
|
1950
|
-
}
|
|
1951
|
-
},
|
|
1952
|
-
{
|
|
1953
|
-
"name": "before",
|
|
1803
|
+
"name": "key",
|
|
1954
1804
|
"type": {
|
|
1955
|
-
"text": "
|
|
1805
|
+
"text": "Component"
|
|
1956
1806
|
}
|
|
1957
1807
|
}
|
|
1958
1808
|
]
|
|
1959
1809
|
}
|
|
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
1810
|
]
|
|
2005
1811
|
}
|
|
2006
1812
|
],
|
|
2007
1813
|
"exports": [
|
|
2008
1814
|
{
|
|
2009
1815
|
"kind": "js",
|
|
2010
|
-
"name": "
|
|
1816
|
+
"name": "DataStorage",
|
|
2011
1817
|
"declaration": {
|
|
2012
|
-
"name": "
|
|
2013
|
-
"module": "src/
|
|
1818
|
+
"name": "DataStorage",
|
|
1819
|
+
"module": "src/data-storage/data-storage.ts"
|
|
2014
1820
|
}
|
|
2015
1821
|
}
|
|
2016
1822
|
]
|
|
@@ -2544,6 +2350,200 @@
|
|
|
2544
2350
|
}
|
|
2545
2351
|
]
|
|
2546
2352
|
},
|
|
2353
|
+
{
|
|
2354
|
+
"kind": "javascript-module",
|
|
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",
|
|
2362
|
+
"declarations": [
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "class",
|
|
2365
|
+
"description": "",
|
|
2366
|
+
"name": "MovementLayer",
|
|
2367
|
+
"members": [
|
|
2368
|
+
{
|
|
2369
|
+
"kind": "field",
|
|
2370
|
+
"name": "drawInstructionHandler"
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"kind": "field",
|
|
2374
|
+
"name": "clickComponentHandler"
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"kind": "method",
|
|
2378
|
+
"name": "ready"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"kind": "method",
|
|
2382
|
+
"name": "dispose"
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "field",
|
|
2386
|
+
"name": "capturable",
|
|
2387
|
+
"readonly": true
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
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
2547
|
{
|
|
2548
2548
|
"kind": "javascript-module",
|
|
2549
2549
|
"path": "src/selector/board-creation-popup.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fmsim/board",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.80",
|
|
4
4
|
"description": "보드 구성을 위한 기본 UI (웹)컴포넌트들을 제공합니다.",
|
|
5
5
|
"author": "heartyoh",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@fmsim/api": "^0.0.
|
|
87
|
+
"@fmsim/api": "^0.0.80",
|
|
88
88
|
"@open-wc/scoped-elements": "^2.0.0-next.6",
|
|
89
89
|
"@operato/app": "^1.3.7",
|
|
90
90
|
"@operato/data-grist": "^1.3.5",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@custom-elements-manifest/analyzer": "^0.8.1",
|
|
111
111
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
112
|
-
"@hatiolab/things-scene": "^3.
|
|
112
|
+
"@hatiolab/things-scene": "^3.3.30",
|
|
113
113
|
"@material/mwc-fab": "^0.27.0",
|
|
114
114
|
"@material/mwc-icon": "^0.27.0",
|
|
115
115
|
"@open-wc/eslint-config": "^10.0.0",
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"prettier --write"
|
|
146
146
|
]
|
|
147
147
|
},
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "ab3a9fa2a518585fbf71aef2039358d11c6b164d"
|
|
149
149
|
}
|