@fmsim/board 2.0.0-beta.2 → 2.0.0-beta.6

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,6 +2,91 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "stories/restful-attachment-selector.stories.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "meta",
12
+ "default": "{ title: 'Components/RestfulAttachmentSelector', component: 'restful-attachment-selector', argTypes: { category: { control: 'select', options: ['', 'audio', 'video', 'image', 'text', 'application'], description: '첨부파일 카테고리' }, creatable: { control: 'boolean', description: '파일 업로드 가능 여부' }, userName: { control: 'text', description: '사용자 이름' } }, parameters: { layout: 'centered' } } satisfies Meta"
13
+ },
14
+ {
15
+ "kind": "variable",
16
+ "name": "Default",
17
+ "type": {
18
+ "text": "Story"
19
+ },
20
+ "default": "{ render: args => html` <restful-attachment-selector .category=${args.category} .creatable=${args.creatable} .userName=${args.userName} style=\"width: 800px; height: 600px;\" ></restful-attachment-selector> `, args: { category: '', creatable: true, userName: 'testUser' } }"
21
+ },
22
+ {
23
+ "kind": "variable",
24
+ "name": "WithCategory",
25
+ "type": {
26
+ "text": "Story"
27
+ },
28
+ "default": "{ ...Default, args: { ...Default.args, category: 'document' } }"
29
+ },
30
+ {
31
+ "kind": "variable",
32
+ "name": "ReadOnly",
33
+ "type": {
34
+ "text": "Story"
35
+ },
36
+ "default": "{ ...Default, args: { ...Default.args, creatable: false } }"
37
+ },
38
+ {
39
+ "kind": "variable",
40
+ "name": "WithTestData",
41
+ "type": {
42
+ "text": "Story"
43
+ },
44
+ "default": "{ ...Default, args: { ...Default.args, category: 'document' }, play: async ({ canvasElement }) => { const selector = canvasElement.querySelector('restful-attachment-selector') as RestfulAttachmentSelector if (selector) { // 테스트 데이터 주입 selector.attachments = [ { id: 'test-1', name: 'test1.txt', description: 'Test file 1', mimetype: 'text/plain', encoding: '7bit', category: 'document', path: 'test1.txt', bulk: '27', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), creatorId: 'testUser', updaterId: 'testUser', fullpath: 'http://localhost:16060/mcs/lv/images/test1.txt', download: 'http://localhost:16060/mcs/lv/downloadFile/test1.txt' }, { id: 'test-2', name: 'test2.jpg', description: 'Test image', mimetype: 'image/jpeg', encoding: '7bit', category: 'image', path: 'test2.jpg', bulk: '1024', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), creatorId: 'testUser', updaterId: 'testUser', fullpath: 'http://localhost:16060/mcs/lv/images/test2.jpg', download: 'http://localhost:16060/mcs/lv/downloadFile/test2.jpg' } ] } } }"
45
+ }
46
+ ],
47
+ "exports": [
48
+ {
49
+ "kind": "js",
50
+ "name": "default",
51
+ "declaration": {
52
+ "name": "meta",
53
+ "module": "stories/restful-attachment-selector.stories.ts"
54
+ }
55
+ },
56
+ {
57
+ "kind": "js",
58
+ "name": "Default",
59
+ "declaration": {
60
+ "name": "Default",
61
+ "module": "stories/restful-attachment-selector.stories.ts"
62
+ }
63
+ },
64
+ {
65
+ "kind": "js",
66
+ "name": "WithCategory",
67
+ "declaration": {
68
+ "name": "WithCategory",
69
+ "module": "stories/restful-attachment-selector.stories.ts"
70
+ }
71
+ },
72
+ {
73
+ "kind": "js",
74
+ "name": "ReadOnly",
75
+ "declaration": {
76
+ "name": "ReadOnly",
77
+ "module": "stories/restful-attachment-selector.stories.ts"
78
+ }
79
+ },
80
+ {
81
+ "kind": "js",
82
+ "name": "WithTestData",
83
+ "declaration": {
84
+ "name": "WithTestData",
85
+ "module": "stories/restful-attachment-selector.stories.ts"
86
+ }
87
+ }
88
+ ]
89
+ },
5
90
  {
6
91
  "kind": "javascript-module",
7
92
  "path": "src/index.ts",
@@ -1712,85 +1797,92 @@
1712
1797
  },
1713
1798
  {
1714
1799
  "kind": "javascript-module",
1715
- "path": "stories/restful-attachment-selector.stories.ts",
1800
+ "path": "src/data-storage/data-storage.ts",
1716
1801
  "declarations": [
1717
1802
  {
1718
- "kind": "variable",
1719
- "name": "meta",
1720
- "default": "{ title: 'Components/RestfulAttachmentSelector', component: 'restful-attachment-selector', argTypes: { category: { control: 'select', options: ['', 'audio', 'video', 'image', 'text', 'application'], description: '첨부파일 카테고리' }, creatable: { control: 'boolean', description: '파일 업로드 가능 여부' }, userName: { control: 'text', description: '사용자 이름' } }, parameters: { layout: 'centered' } } satisfies Meta"
1721
- },
1722
- {
1723
- "kind": "variable",
1724
- "name": "Default",
1725
- "type": {
1726
- "text": "Story"
1727
- },
1728
- "default": "{ render: args => html` <restful-attachment-selector .category=${args.category} .creatable=${args.creatable} .userName=${args.userName} style=\"width: 800px; height: 600px;\" ></restful-attachment-selector> `, args: { category: '', creatable: true, userName: 'testUser' } }"
1729
- },
1730
- {
1731
- "kind": "variable",
1732
- "name": "WithCategory",
1733
- "type": {
1734
- "text": "Story"
1735
- },
1736
- "default": "{ ...Default, args: { ...Default.args, category: 'document' } }"
1737
- },
1738
- {
1739
- "kind": "variable",
1740
- "name": "ReadOnly",
1741
- "type": {
1742
- "text": "Story"
1743
- },
1744
- "default": "{ ...Default, args: { ...Default.args, creatable: false } }"
1745
- },
1746
- {
1747
- "kind": "variable",
1748
- "name": "WithTestData",
1749
- "type": {
1750
- "text": "Story"
1751
- },
1752
- "default": "{ ...Default, args: { ...Default.args, category: 'document' }, play: async ({ canvasElement }) => { const selector = canvasElement.querySelector('restful-attachment-selector') as RestfulAttachmentSelector if (selector) { // 테스트 데이터 주입 selector.attachments = [ { id: 'test-1', name: 'test1.txt', description: 'Test file 1', mimetype: 'text/plain', encoding: '7bit', category: 'document', path: 'test1.txt', bulk: '27', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), creatorId: 'testUser', updaterId: 'testUser', fullpath: 'http://localhost:16060/mcs/lv/images/test1.txt', download: 'http://localhost:16060/mcs/lv/downloadFile/test1.txt' }, { id: 'test-2', name: 'test2.jpg', description: 'Test image', mimetype: 'image/jpeg', encoding: '7bit', category: 'image', path: 'test2.jpg', bulk: '1024', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), creatorId: 'testUser', updaterId: 'testUser', fullpath: 'http://localhost:16060/mcs/lv/images/test2.jpg', download: 'http://localhost:16060/mcs/lv/downloadFile/test2.jpg' } ] } } }"
1803
+ "kind": "class",
1804
+ "description": "",
1805
+ "name": "DataStorage",
1806
+ "members": [
1807
+ {
1808
+ "kind": "field",
1809
+ "name": "id",
1810
+ "type": {
1811
+ "text": "string"
1812
+ },
1813
+ "privacy": "private",
1814
+ "default": "id"
1815
+ },
1816
+ {
1817
+ "kind": "method",
1818
+ "name": "load",
1819
+ "privacy": "public",
1820
+ "return": {
1821
+ "type": {
1822
+ "text": "Promise<any>"
1823
+ }
1824
+ },
1825
+ "parameters": [
1826
+ {
1827
+ "name": "key",
1828
+ "type": {
1829
+ "text": "Component"
1830
+ }
1831
+ }
1832
+ ]
1833
+ },
1834
+ {
1835
+ "kind": "method",
1836
+ "name": "save",
1837
+ "privacy": "public",
1838
+ "return": {
1839
+ "type": {
1840
+ "text": "Promise<void>"
1841
+ }
1842
+ },
1843
+ "parameters": [
1844
+ {
1845
+ "name": "key",
1846
+ "type": {
1847
+ "text": "Component"
1848
+ }
1849
+ },
1850
+ {
1851
+ "name": "value",
1852
+ "type": {
1853
+ "text": "any"
1854
+ }
1855
+ }
1856
+ ]
1857
+ },
1858
+ {
1859
+ "kind": "method",
1860
+ "name": "clear",
1861
+ "privacy": "public",
1862
+ "return": {
1863
+ "type": {
1864
+ "text": "Promise<void>"
1865
+ }
1866
+ },
1867
+ "parameters": [
1868
+ {
1869
+ "name": "key",
1870
+ "type": {
1871
+ "text": "Component"
1872
+ }
1873
+ }
1874
+ ]
1875
+ }
1876
+ ]
1753
1877
  }
1754
1878
  ],
1755
1879
  "exports": [
1756
1880
  {
1757
1881
  "kind": "js",
1758
- "name": "default",
1759
- "declaration": {
1760
- "name": "meta",
1761
- "module": "stories/restful-attachment-selector.stories.ts"
1762
- }
1763
- },
1764
- {
1765
- "kind": "js",
1766
- "name": "Default",
1767
- "declaration": {
1768
- "name": "Default",
1769
- "module": "stories/restful-attachment-selector.stories.ts"
1770
- }
1771
- },
1772
- {
1773
- "kind": "js",
1774
- "name": "WithCategory",
1775
- "declaration": {
1776
- "name": "WithCategory",
1777
- "module": "stories/restful-attachment-selector.stories.ts"
1778
- }
1779
- },
1780
- {
1781
- "kind": "js",
1782
- "name": "ReadOnly",
1783
- "declaration": {
1784
- "name": "ReadOnly",
1785
- "module": "stories/restful-attachment-selector.stories.ts"
1786
- }
1787
- },
1788
- {
1789
- "kind": "js",
1790
- "name": "WithTestData",
1882
+ "name": "DataStorage",
1791
1883
  "declaration": {
1792
- "name": "WithTestData",
1793
- "module": "stories/restful-attachment-selector.stories.ts"
1884
+ "name": "DataStorage",
1885
+ "module": "src/data-storage/data-storage.ts"
1794
1886
  }
1795
1887
  }
1796
1888
  ]
@@ -2922,114 +3014,22 @@
2922
3014
  },
2923
3015
  {
2924
3016
  "kind": "javascript-module",
2925
- "path": "src/data-storage/data-storage.ts",
3017
+ "path": "src/layers/mcs-mouse-event-handler.ts",
3018
+ "declarations": [],
3019
+ "exports": []
3020
+ },
3021
+ {
3022
+ "kind": "javascript-module",
3023
+ "path": "src/layers/movement-layer.ts",
2926
3024
  "declarations": [
2927
3025
  {
2928
3026
  "kind": "class",
2929
3027
  "description": "",
2930
- "name": "DataStorage",
3028
+ "name": "MovementLayer",
2931
3029
  "members": [
2932
3030
  {
2933
3031
  "kind": "field",
2934
- "name": "id",
2935
- "type": {
2936
- "text": "string"
2937
- },
2938
- "privacy": "private",
2939
- "default": "id"
2940
- },
2941
- {
2942
- "kind": "method",
2943
- "name": "load",
2944
- "privacy": "public",
2945
- "return": {
2946
- "type": {
2947
- "text": "Promise<any>"
2948
- }
2949
- },
2950
- "parameters": [
2951
- {
2952
- "name": "key",
2953
- "type": {
2954
- "text": "Component"
2955
- }
2956
- }
2957
- ]
2958
- },
2959
- {
2960
- "kind": "method",
2961
- "name": "save",
2962
- "privacy": "public",
2963
- "return": {
2964
- "type": {
2965
- "text": "Promise<void>"
2966
- }
2967
- },
2968
- "parameters": [
2969
- {
2970
- "name": "key",
2971
- "type": {
2972
- "text": "Component"
2973
- }
2974
- },
2975
- {
2976
- "name": "value",
2977
- "type": {
2978
- "text": "any"
2979
- }
2980
- }
2981
- ]
2982
- },
2983
- {
2984
- "kind": "method",
2985
- "name": "clear",
2986
- "privacy": "public",
2987
- "return": {
2988
- "type": {
2989
- "text": "Promise<void>"
2990
- }
2991
- },
2992
- "parameters": [
2993
- {
2994
- "name": "key",
2995
- "type": {
2996
- "text": "Component"
2997
- }
2998
- }
2999
- ]
3000
- }
3001
- ]
3002
- }
3003
- ],
3004
- "exports": [
3005
- {
3006
- "kind": "js",
3007
- "name": "DataStorage",
3008
- "declaration": {
3009
- "name": "DataStorage",
3010
- "module": "src/data-storage/data-storage.ts"
3011
- }
3012
- }
3013
- ]
3014
- },
3015
- {
3016
- "kind": "javascript-module",
3017
- "path": "src/layers/mcs-mouse-event-handler.ts",
3018
- "declarations": [],
3019
- "exports": []
3020
- },
3021
- {
3022
- "kind": "javascript-module",
3023
- "path": "src/layers/movement-layer.ts",
3024
- "declarations": [
3025
- {
3026
- "kind": "class",
3027
- "description": "",
3028
- "name": "MovementLayer",
3029
- "members": [
3030
- {
3031
- "kind": "field",
3032
- "name": "drawInstructionHandler"
3032
+ "name": "drawInstructionHandler"
3033
3033
  },
3034
3034
  {
3035
3035
  "kind": "field",
@@ -7196,50 +7196,142 @@
7196
7196
  },
7197
7197
  {
7198
7198
  "kind": "javascript-module",
7199
- "path": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts",
7199
+ "path": "src/modeller/property-sidebar/specifics/specific-properties-builder.ts",
7200
7200
  "declarations": [
7201
7201
  {
7202
- "kind": "variable",
7203
- "name": "BoxPaddingEditorStyles",
7204
- "default": "css` .box-padding { width: 100%; } .box-padding td { background: var(--url-icon-properties-padding) 50% 0 no-repeat; } .box-padding tr:nth-child(1), .box-padding tr:nth-child(3) { height: 20px; } .box-padding tr td:nth-child(1), .box-padding tr td:nth-child(3) { width: 18px; } .box-padding .slide1 { background-position: 0 0; } .box-padding .slide2 { background-position: 50% -40px; background-color: rgba(69, 46, 41, 0.2); } .box-padding .slide3 { background-position: 100% -440px; } .box-padding .slide4 { background-position: 0 -360px; background-color: rgba(69, 46, 41, 0.2); } .box-padding .slide5 { background: none; text-align: center; } .box-padding .slide6 { background-position: 100% -160px; background-color: rgba(69, 46, 41, 0.2); } .box-padding .slide7 { background-position: 0 100%; } .box-padding .slide8 { background-position: 50% -320px; background-color: rgba(69, 46, 41, 0.2); } .box-padding .slide9 { background-position: 0 0px; } .box-padding input { background-color: transparent; width: 35px; margin: 0px; padding: 0px; clear: both; float: initial; border: 1px solid #fff; border-width: 0 0 1px 0; text-align: right; font-size: 14px; } .slide5 input:nth-child(1), .slide5 input:nth-child(4) { display: block; margin: auto; } .slide5 input:nth-child(2) { float: left; } .slide5 input:nth-child(3) { float: right; margin-top: -25px; } .slide5 input:nth-child(4) { margin-top: -5px; } `"
7202
+ "kind": "class",
7203
+ "description": "",
7204
+ "name": "SpecificPropertiesBuilder",
7205
+ "members": [
7206
+ {
7207
+ "kind": "field",
7208
+ "name": "value",
7209
+ "type": {
7210
+ "text": "any"
7211
+ },
7212
+ "attribute": "value"
7213
+ },
7214
+ {
7215
+ "kind": "field",
7216
+ "name": "props",
7217
+ "type": {
7218
+ "text": "any[]"
7219
+ },
7220
+ "default": "[]",
7221
+ "attribute": "props"
7222
+ },
7223
+ {
7224
+ "kind": "field",
7225
+ "name": "propertyEditor",
7226
+ "type": {
7227
+ "text": "any"
7228
+ },
7229
+ "attribute": "propertyEditor"
7230
+ },
7231
+ {
7232
+ "kind": "method",
7233
+ "name": "_onPropsChanged",
7234
+ "parameters": [
7235
+ {
7236
+ "name": "props",
7237
+ "type": {
7238
+ "text": "any[]"
7239
+ }
7240
+ }
7241
+ ]
7242
+ },
7243
+ {
7244
+ "kind": "method",
7245
+ "name": "_setValues"
7246
+ },
7247
+ {
7248
+ "kind": "method",
7249
+ "name": "_onValueChanged",
7250
+ "parameters": [
7251
+ {
7252
+ "name": "e",
7253
+ "type": {
7254
+ "text": "Event"
7255
+ }
7256
+ }
7257
+ ]
7258
+ }
7259
+ ],
7260
+ "events": [
7261
+ {
7262
+ "name": "property-change",
7263
+ "type": {
7264
+ "text": "CustomEvent"
7265
+ }
7266
+ }
7267
+ ],
7268
+ "attributes": [
7269
+ {
7270
+ "name": "value",
7271
+ "type": {
7272
+ "text": "any"
7273
+ },
7274
+ "fieldName": "value"
7275
+ },
7276
+ {
7277
+ "name": "props",
7278
+ "type": {
7279
+ "text": "any[]"
7280
+ },
7281
+ "default": "[]",
7282
+ "fieldName": "props"
7283
+ },
7284
+ {
7285
+ "name": "propertyEditor",
7286
+ "type": {
7287
+ "text": "any"
7288
+ },
7289
+ "fieldName": "propertyEditor"
7290
+ }
7291
+ ],
7292
+ "superclass": {
7293
+ "name": "LitElement",
7294
+ "package": "lit"
7295
+ },
7296
+ "customElement": true
7205
7297
  }
7206
7298
  ],
7207
7299
  "exports": [
7208
7300
  {
7209
7301
  "kind": "js",
7210
- "name": "BoxPaddingEditorStyles",
7302
+ "name": "SpecificPropertiesBuilder",
7211
7303
  "declaration": {
7212
- "name": "BoxPaddingEditorStyles",
7213
- "module": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts"
7304
+ "name": "SpecificPropertiesBuilder",
7305
+ "module": "src/modeller/property-sidebar/specifics/specific-properties-builder.ts"
7214
7306
  }
7215
7307
  }
7216
7308
  ]
7217
7309
  },
7218
7310
  {
7219
7311
  "kind": "javascript-module",
7220
- "path": "src/modeller/property-sidebar/shapes/shapes.ts",
7312
+ "path": "src/modeller/property-sidebar/specifics/specifics.ts",
7221
7313
  "declarations": [
7222
7314
  {
7223
7315
  "kind": "class",
7224
7316
  "description": "",
7225
- "name": "PropertyShapes",
7317
+ "name": "PropertySpecific",
7226
7318
  "members": [
7227
7319
  {
7228
7320
  "kind": "field",
7229
7321
  "name": "value",
7230
7322
  "type": {
7231
- "text": "Properties | undefined"
7323
+ "text": "any"
7232
7324
  },
7233
7325
  "attribute": "value"
7234
7326
  },
7235
7327
  {
7236
7328
  "kind": "field",
7237
- "name": "bounds",
7329
+ "name": "scene",
7238
7330
  "type": {
7239
- "text": "BOUNDS | null"
7331
+ "text": "Scene | null"
7240
7332
  },
7241
7333
  "default": "null",
7242
- "attribute": "bounds"
7334
+ "attribute": "scene"
7243
7335
  },
7244
7336
  {
7245
7337
  "kind": "field",
@@ -7250,6 +7342,38 @@
7250
7342
  "default": "[]",
7251
7343
  "attribute": "selected"
7252
7344
  },
7345
+ {
7346
+ "kind": "field",
7347
+ "name": "props",
7348
+ "type": {
7349
+ "text": "any[]"
7350
+ },
7351
+ "default": "[]",
7352
+ "attribute": "props"
7353
+ },
7354
+ {
7355
+ "kind": "field",
7356
+ "name": "propertyEditor",
7357
+ "type": {
7358
+ "text": "any[]"
7359
+ },
7360
+ "default": "[]",
7361
+ "attribute": "propertyEditor"
7362
+ },
7363
+ {
7364
+ "kind": "field",
7365
+ "name": "boundINeedSelected",
7366
+ "type": {
7367
+ "text": "any"
7368
+ },
7369
+ "privacy": "private"
7370
+ },
7371
+ {
7372
+ "kind": "field",
7373
+ "name": "scopedElements",
7374
+ "static": true,
7375
+ "readonly": true
7376
+ },
7253
7377
  {
7254
7378
  "kind": "method",
7255
7379
  "name": "_onValueChange",
@@ -7268,7 +7392,7 @@
7268
7392
  },
7269
7393
  {
7270
7394
  "kind": "method",
7271
- "name": "_hasTextProperty",
7395
+ "name": "_isIdentifiable",
7272
7396
  "parameters": [
7273
7397
  {
7274
7398
  "name": "selected",
@@ -7280,7 +7404,7 @@
7280
7404
  },
7281
7405
  {
7282
7406
  "kind": "method",
7283
- "name": "_hasProperties",
7407
+ "name": "_hasTextProperty",
7284
7408
  "parameters": [
7285
7409
  {
7286
7410
  "name": "selected",
@@ -7292,60 +7416,24 @@
7292
7416
  },
7293
7417
  {
7294
7418
  "kind": "method",
7295
- "name": "_isIdentifiable",
7419
+ "name": "_onINeedSelected",
7296
7420
  "parameters": [
7297
7421
  {
7298
- "name": "selected",
7422
+ "name": "e",
7299
7423
  "type": {
7300
- "text": "Component[]"
7424
+ "text": "CustomEvent"
7301
7425
  }
7302
7426
  }
7303
7427
  ]
7304
7428
  },
7305
7429
  {
7306
7430
  "kind": "method",
7307
- "name": "_isClassIdentifiable",
7431
+ "name": "_getValueFromEventTarget",
7308
7432
  "parameters": [
7309
7433
  {
7310
- "name": "selected",
7434
+ "name": "element",
7311
7435
  "type": {
7312
- "text": "Component[]"
7313
- }
7314
- }
7315
- ]
7316
- },
7317
- {
7318
- "kind": "method",
7319
- "name": "_isLine",
7320
- "parameters": [
7321
- {
7322
- "name": "selected",
7323
- "type": {
7324
- "text": "Component[]"
7325
- }
7326
- }
7327
- ]
7328
- },
7329
- {
7330
- "kind": "method",
7331
- "name": "_is3dish",
7332
- "parameters": [
7333
- {
7334
- "name": "selected",
7335
- "type": {
7336
- "text": "Component[]"
7337
- }
7338
- }
7339
- ]
7340
- },
7341
- {
7342
- "kind": "method",
7343
- "name": "_getValueFromEventTarget",
7344
- "parameters": [
7345
- {
7346
- "name": "element",
7347
- "type": {
7348
- "text": "HTMLElement"
7436
+ "text": "HTMLElement"
7349
7437
  }
7350
7438
  }
7351
7439
  ],
@@ -7377,39 +7465,21 @@
7377
7465
  }
7378
7466
  }
7379
7467
  ],
7380
- "events": [
7381
- {
7382
- "name": "bounds-change",
7383
- "type": {
7384
- "text": "CustomEvent"
7385
- }
7386
- },
7387
- {
7388
- "name": "property-change",
7389
- "type": {
7390
- "text": "CustomEvent"
7391
- },
7392
- "inheritedFrom": {
7393
- "name": "AbstractProperty",
7394
- "module": "src/modeller/property-sidebar/abstract-property.ts"
7395
- }
7396
- }
7397
- ],
7398
7468
  "attributes": [
7399
7469
  {
7400
7470
  "name": "value",
7401
7471
  "type": {
7402
- "text": "Properties | undefined"
7472
+ "text": "any"
7403
7473
  },
7404
7474
  "fieldName": "value"
7405
7475
  },
7406
7476
  {
7407
- "name": "bounds",
7477
+ "name": "scene",
7408
7478
  "type": {
7409
- "text": "BOUNDS | null"
7479
+ "text": "Scene | null"
7410
7480
  },
7411
7481
  "default": "null",
7412
- "fieldName": "bounds"
7482
+ "fieldName": "scene"
7413
7483
  },
7414
7484
  {
7415
7485
  "name": "selected",
@@ -7418,146 +7488,67 @@
7418
7488
  },
7419
7489
  "default": "[]",
7420
7490
  "fieldName": "selected"
7421
- }
7422
- ],
7423
- "superclass": {
7424
- "name": "AbstractProperty",
7425
- "module": "/src/modeller/property-sidebar/abstract-property"
7426
- }
7427
- }
7428
- ],
7429
- "exports": [
7430
- {
7431
- "kind": "js",
7432
- "name": "PropertyShapes",
7433
- "declaration": {
7434
- "name": "PropertyShapes",
7435
- "module": "src/modeller/property-sidebar/shapes/shapes.ts"
7436
- }
7437
- }
7438
- ]
7439
- },
7440
- {
7441
- "kind": "javascript-module",
7442
- "path": "src/modeller/property-sidebar/specifics/specific-properties-builder.ts",
7443
- "declarations": [
7444
- {
7445
- "kind": "class",
7446
- "description": "",
7447
- "name": "SpecificPropertiesBuilder",
7448
- "members": [
7449
- {
7450
- "kind": "field",
7451
- "name": "value",
7452
- "type": {
7453
- "text": "any"
7454
- },
7455
- "attribute": "value"
7456
7491
  },
7457
7492
  {
7458
- "kind": "field",
7459
7493
  "name": "props",
7460
7494
  "type": {
7461
7495
  "text": "any[]"
7462
7496
  },
7463
7497
  "default": "[]",
7464
- "attribute": "props"
7498
+ "fieldName": "props"
7465
7499
  },
7466
7500
  {
7467
- "kind": "field",
7468
7501
  "name": "propertyEditor",
7469
7502
  "type": {
7470
- "text": "any"
7503
+ "text": "any[]"
7471
7504
  },
7472
- "attribute": "propertyEditor"
7473
- },
7474
- {
7475
- "kind": "method",
7476
- "name": "_onPropsChanged",
7477
- "parameters": [
7478
- {
7479
- "name": "props",
7480
- "type": {
7481
- "text": "any[]"
7482
- }
7483
- }
7484
- ]
7485
- },
7486
- {
7487
- "kind": "method",
7488
- "name": "_setValues"
7489
- },
7505
+ "default": "[]",
7506
+ "fieldName": "propertyEditor"
7507
+ }
7508
+ ],
7509
+ "mixins": [
7490
7510
  {
7491
- "kind": "method",
7492
- "name": "_onValueChanged",
7493
- "parameters": [
7494
- {
7495
- "name": "e",
7496
- "type": {
7497
- "text": "Event"
7498
- }
7499
- }
7500
- ]
7511
+ "name": "ScopedElementsMixin",
7512
+ "package": "@open-wc/scoped-elements"
7501
7513
  }
7502
7514
  ],
7515
+ "superclass": {
7516
+ "name": "AbstractProperty",
7517
+ "module": "/src/modeller/property-sidebar/abstract-property"
7518
+ },
7503
7519
  "events": [
7504
7520
  {
7505
7521
  "name": "property-change",
7506
7522
  "type": {
7507
7523
  "text": "CustomEvent"
7508
- }
7509
- }
7510
- ],
7511
- "attributes": [
7512
- {
7513
- "name": "value",
7514
- "type": {
7515
- "text": "any"
7516
7524
  },
7517
- "fieldName": "value"
7518
- },
7519
- {
7520
- "name": "props",
7521
- "type": {
7522
- "text": "any[]"
7523
- },
7524
- "default": "[]",
7525
- "fieldName": "props"
7526
- },
7527
- {
7528
- "name": "propertyEditor",
7529
- "type": {
7530
- "text": "any"
7531
- },
7532
- "fieldName": "propertyEditor"
7525
+ "inheritedFrom": {
7526
+ "name": "AbstractProperty",
7527
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
7528
+ }
7533
7529
  }
7534
- ],
7535
- "superclass": {
7536
- "name": "LitElement",
7537
- "package": "lit"
7538
- },
7539
- "customElement": true
7530
+ ]
7540
7531
  }
7541
7532
  ],
7542
7533
  "exports": [
7543
7534
  {
7544
7535
  "kind": "js",
7545
- "name": "SpecificPropertiesBuilder",
7536
+ "name": "PropertySpecific",
7546
7537
  "declaration": {
7547
- "name": "SpecificPropertiesBuilder",
7548
- "module": "src/modeller/property-sidebar/specifics/specific-properties-builder.ts"
7538
+ "name": "PropertySpecific",
7539
+ "module": "src/modeller/property-sidebar/specifics/specifics.ts"
7549
7540
  }
7550
7541
  }
7551
7542
  ]
7552
7543
  },
7553
7544
  {
7554
7545
  "kind": "javascript-module",
7555
- "path": "src/modeller/property-sidebar/specifics/specifics.ts",
7546
+ "path": "src/modeller/property-sidebar/styles/styles.ts",
7556
7547
  "declarations": [
7557
7548
  {
7558
7549
  "kind": "class",
7559
7550
  "description": "",
7560
- "name": "PropertySpecific",
7551
+ "name": "PropertyStyles",
7561
7552
  "members": [
7562
7553
  {
7563
7554
  "kind": "field",
@@ -7565,17 +7556,9 @@
7565
7556
  "type": {
7566
7557
  "text": "any"
7567
7558
  },
7559
+ "default": "{}",
7568
7560
  "attribute": "value"
7569
7561
  },
7570
- {
7571
- "kind": "field",
7572
- "name": "scene",
7573
- "type": {
7574
- "text": "Scene | null"
7575
- },
7576
- "default": "null",
7577
- "attribute": "scene"
7578
- },
7579
7562
  {
7580
7563
  "kind": "field",
7581
7564
  "name": "selected",
@@ -7587,39 +7570,16 @@
7587
7570
  },
7588
7571
  {
7589
7572
  "kind": "field",
7590
- "name": "props",
7591
- "type": {
7592
- "text": "any[]"
7593
- },
7594
- "default": "[]",
7595
- "attribute": "props"
7596
- },
7597
- {
7598
- "kind": "field",
7599
- "name": "propertyEditor",
7573
+ "name": "fonts",
7600
7574
  "type": {
7601
7575
  "text": "any[]"
7602
7576
  },
7603
7577
  "default": "[]",
7604
- "attribute": "propertyEditor"
7605
- },
7606
- {
7607
- "kind": "field",
7608
- "name": "boundINeedSelected",
7609
- "type": {
7610
- "text": "any"
7611
- },
7612
- "privacy": "private"
7613
- },
7614
- {
7615
- "kind": "field",
7616
- "name": "scopedElements",
7617
- "static": true,
7618
- "readonly": true
7578
+ "attribute": "fonts"
7619
7579
  },
7620
7580
  {
7621
7581
  "kind": "method",
7622
- "name": "_onValueChange",
7582
+ "name": "onButtonGroupClick",
7623
7583
  "parameters": [
7624
7584
  {
7625
7585
  "name": "e",
@@ -7627,27 +7587,11 @@
7627
7587
  "text": "Event"
7628
7588
  }
7629
7589
  }
7630
- ],
7631
- "inheritedFrom": {
7632
- "name": "AbstractProperty",
7633
- "module": "src/modeller/property-sidebar/abstract-property.ts"
7634
- }
7635
- },
7636
- {
7637
- "kind": "method",
7638
- "name": "_isIdentifiable",
7639
- "parameters": [
7640
- {
7641
- "name": "selected",
7642
- "type": {
7643
- "text": "Component[]"
7644
- }
7645
- }
7646
7590
  ]
7647
7591
  },
7648
7592
  {
7649
7593
  "kind": "method",
7650
- "name": "_hasTextProperty",
7594
+ "name": "_isLine",
7651
7595
  "parameters": [
7652
7596
  {
7653
7597
  "name": "selected",
@@ -7659,15 +7603,19 @@
7659
7603
  },
7660
7604
  {
7661
7605
  "kind": "method",
7662
- "name": "_onINeedSelected",
7606
+ "name": "_onValueChange",
7663
7607
  "parameters": [
7664
7608
  {
7665
7609
  "name": "e",
7666
7610
  "type": {
7667
- "text": "CustomEvent"
7611
+ "text": "Event"
7668
7612
  }
7669
7613
  }
7670
- ]
7614
+ ],
7615
+ "inheritedFrom": {
7616
+ "name": "AbstractProperty",
7617
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
7618
+ }
7671
7619
  },
7672
7620
  {
7673
7621
  "kind": "method",
@@ -7714,16 +7662,9 @@
7714
7662
  "type": {
7715
7663
  "text": "any"
7716
7664
  },
7665
+ "default": "{}",
7717
7666
  "fieldName": "value"
7718
7667
  },
7719
- {
7720
- "name": "scene",
7721
- "type": {
7722
- "text": "Scene | null"
7723
- },
7724
- "default": "null",
7725
- "fieldName": "scene"
7726
- },
7727
7668
  {
7728
7669
  "name": "selected",
7729
7670
  "type": {
@@ -7733,31 +7674,17 @@
7733
7674
  "fieldName": "selected"
7734
7675
  },
7735
7676
  {
7736
- "name": "props",
7737
- "type": {
7738
- "text": "any[]"
7739
- },
7740
- "default": "[]",
7741
- "fieldName": "props"
7742
- },
7743
- {
7744
- "name": "propertyEditor",
7677
+ "name": "fonts",
7745
7678
  "type": {
7746
7679
  "text": "any[]"
7747
7680
  },
7748
7681
  "default": "[]",
7749
- "fieldName": "propertyEditor"
7750
- }
7751
- ],
7752
- "mixins": [
7753
- {
7754
- "name": "ScopedElementsMixin",
7755
- "package": "@open-wc/scoped-elements"
7682
+ "fieldName": "fonts"
7756
7683
  }
7757
7684
  ],
7758
7685
  "superclass": {
7759
7686
  "name": "AbstractProperty",
7760
- "module": "/src/modeller/property-sidebar/abstract-property"
7687
+ "module": "/src/modeller/property-sidebar/abstract-property.js"
7761
7688
  },
7762
7689
  "events": [
7763
7690
  {
@@ -7776,57 +7703,133 @@
7776
7703
  "exports": [
7777
7704
  {
7778
7705
  "kind": "js",
7779
- "name": "PropertySpecific",
7706
+ "name": "PropertyStyles",
7780
7707
  "declaration": {
7781
- "name": "PropertySpecific",
7782
- "module": "src/modeller/property-sidebar/specifics/specifics.ts"
7708
+ "name": "PropertyStyles",
7709
+ "module": "src/modeller/property-sidebar/styles/styles.ts"
7783
7710
  }
7784
7711
  }
7785
7712
  ]
7786
7713
  },
7787
7714
  {
7788
7715
  "kind": "javascript-module",
7789
- "path": "src/modeller/property-sidebar/styles/styles.ts",
7716
+ "path": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts",
7717
+ "declarations": [
7718
+ {
7719
+ "kind": "variable",
7720
+ "name": "BoxPaddingEditorStyles",
7721
+ "default": "css` .box-padding { width: 100%; } .box-padding td { background: var(--url-icon-properties-padding) 50% 0 no-repeat; } .box-padding tr:nth-child(1), .box-padding tr:nth-child(3) { height: 20px; } .box-padding tr td:nth-child(1), .box-padding tr td:nth-child(3) { width: 18px; } .box-padding .slide1 { background-position: 0 0; } .box-padding .slide2 { background-position: 50% -40px; background-color: rgba(69, 46, 41, 0.2); } .box-padding .slide3 { background-position: 100% -440px; } .box-padding .slide4 { background-position: 0 -360px; background-color: rgba(69, 46, 41, 0.2); } .box-padding .slide5 { background: none; text-align: center; } .box-padding .slide6 { background-position: 100% -160px; background-color: rgba(69, 46, 41, 0.2); } .box-padding .slide7 { background-position: 0 100%; } .box-padding .slide8 { background-position: 50% -320px; background-color: rgba(69, 46, 41, 0.2); } .box-padding .slide9 { background-position: 0 0px; } .box-padding input { background-color: transparent; width: 35px; margin: 0px; padding: 0px; clear: both; float: initial; border: 1px solid #fff; border-width: 0 0 1px 0; text-align: right; font-size: 14px; } .slide5 input:nth-child(1), .slide5 input:nth-child(4) { display: block; margin: auto; } .slide5 input:nth-child(2) { float: left; } .slide5 input:nth-child(3) { float: right; margin-top: -25px; } .slide5 input:nth-child(4) { margin-top: -5px; } `"
7722
+ }
7723
+ ],
7724
+ "exports": [
7725
+ {
7726
+ "kind": "js",
7727
+ "name": "BoxPaddingEditorStyles",
7728
+ "declaration": {
7729
+ "name": "BoxPaddingEditorStyles",
7730
+ "module": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts"
7731
+ }
7732
+ }
7733
+ ]
7734
+ },
7735
+ {
7736
+ "kind": "javascript-module",
7737
+ "path": "src/modeller/property-sidebar/shapes/shapes.ts",
7790
7738
  "declarations": [
7791
7739
  {
7792
7740
  "kind": "class",
7793
7741
  "description": "",
7794
- "name": "PropertyStyles",
7742
+ "name": "PropertyShapes",
7795
7743
  "members": [
7796
7744
  {
7797
7745
  "kind": "field",
7798
7746
  "name": "value",
7799
7747
  "type": {
7800
- "text": "any"
7748
+ "text": "Properties | undefined"
7801
7749
  },
7802
- "default": "{}",
7803
7750
  "attribute": "value"
7804
7751
  },
7805
7752
  {
7806
7753
  "kind": "field",
7807
- "name": "selected",
7754
+ "name": "bounds",
7808
7755
  "type": {
7809
- "text": "Component[]"
7756
+ "text": "BOUNDS | null"
7810
7757
  },
7811
- "default": "[]",
7812
- "attribute": "selected"
7758
+ "default": "null",
7759
+ "attribute": "bounds"
7813
7760
  },
7814
7761
  {
7815
7762
  "kind": "field",
7816
- "name": "fonts",
7763
+ "name": "selected",
7817
7764
  "type": {
7818
- "text": "any[]"
7765
+ "text": "Component[]"
7819
7766
  },
7820
7767
  "default": "[]",
7821
- "attribute": "fonts"
7768
+ "attribute": "selected"
7822
7769
  },
7823
7770
  {
7824
- "kind": "field",
7825
- "name": "fontAvailable",
7826
- "type": {
7827
- "text": "boolean"
7828
- },
7829
- "default": "false"
7771
+ "kind": "method",
7772
+ "name": "_onValueChange",
7773
+ "parameters": [
7774
+ {
7775
+ "name": "e",
7776
+ "type": {
7777
+ "text": "Event"
7778
+ }
7779
+ }
7780
+ ],
7781
+ "inheritedFrom": {
7782
+ "name": "AbstractProperty",
7783
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
7784
+ }
7785
+ },
7786
+ {
7787
+ "kind": "method",
7788
+ "name": "_hasTextProperty",
7789
+ "parameters": [
7790
+ {
7791
+ "name": "selected",
7792
+ "type": {
7793
+ "text": "Component[]"
7794
+ }
7795
+ }
7796
+ ]
7797
+ },
7798
+ {
7799
+ "kind": "method",
7800
+ "name": "_hasProperties",
7801
+ "parameters": [
7802
+ {
7803
+ "name": "selected",
7804
+ "type": {
7805
+ "text": "Component[]"
7806
+ }
7807
+ }
7808
+ ]
7809
+ },
7810
+ {
7811
+ "kind": "method",
7812
+ "name": "_isIdentifiable",
7813
+ "parameters": [
7814
+ {
7815
+ "name": "selected",
7816
+ "type": {
7817
+ "text": "Component[]"
7818
+ }
7819
+ }
7820
+ ]
7821
+ },
7822
+ {
7823
+ "kind": "method",
7824
+ "name": "_isClassIdentifiable",
7825
+ "parameters": [
7826
+ {
7827
+ "name": "selected",
7828
+ "type": {
7829
+ "text": "Component[]"
7830
+ }
7831
+ }
7832
+ ]
7830
7833
  },
7831
7834
  {
7832
7835
  "kind": "method",
@@ -7842,19 +7845,15 @@
7842
7845
  },
7843
7846
  {
7844
7847
  "kind": "method",
7845
- "name": "_onValueChange",
7848
+ "name": "_is3dish",
7846
7849
  "parameters": [
7847
7850
  {
7848
- "name": "e",
7851
+ "name": "selected",
7849
7852
  "type": {
7850
- "text": "Event"
7853
+ "text": "Component[]"
7851
7854
  }
7852
7855
  }
7853
- ],
7854
- "inheritedFrom": {
7855
- "name": "AbstractProperty",
7856
- "module": "src/modeller/property-sidebar/abstract-property.ts"
7857
- }
7856
+ ]
7858
7857
  },
7859
7858
  {
7860
7859
  "kind": "method",
@@ -7895,57 +7894,62 @@
7895
7894
  }
7896
7895
  }
7897
7896
  ],
7897
+ "events": [
7898
+ {
7899
+ "name": "bounds-change",
7900
+ "type": {
7901
+ "text": "CustomEvent"
7902
+ }
7903
+ },
7904
+ {
7905
+ "name": "property-change",
7906
+ "type": {
7907
+ "text": "CustomEvent"
7908
+ },
7909
+ "inheritedFrom": {
7910
+ "name": "AbstractProperty",
7911
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
7912
+ }
7913
+ }
7914
+ ],
7898
7915
  "attributes": [
7899
7916
  {
7900
7917
  "name": "value",
7901
7918
  "type": {
7902
- "text": "any"
7919
+ "text": "Properties | undefined"
7903
7920
  },
7904
- "default": "{}",
7905
7921
  "fieldName": "value"
7906
7922
  },
7907
7923
  {
7908
- "name": "selected",
7924
+ "name": "bounds",
7909
7925
  "type": {
7910
- "text": "Component[]"
7926
+ "text": "BOUNDS | null"
7911
7927
  },
7912
- "default": "[]",
7913
- "fieldName": "selected"
7928
+ "default": "null",
7929
+ "fieldName": "bounds"
7914
7930
  },
7915
7931
  {
7916
- "name": "fonts",
7932
+ "name": "selected",
7917
7933
  "type": {
7918
- "text": "any[]"
7934
+ "text": "Component[]"
7919
7935
  },
7920
7936
  "default": "[]",
7921
- "fieldName": "fonts"
7937
+ "fieldName": "selected"
7922
7938
  }
7923
7939
  ],
7924
7940
  "superclass": {
7925
7941
  "name": "AbstractProperty",
7926
- "module": "/src/modeller/property-sidebar/abstract-property.js"
7927
- },
7928
- "events": [
7929
- {
7930
- "name": "property-change",
7931
- "type": {
7932
- "text": "CustomEvent"
7933
- },
7934
- "inheritedFrom": {
7935
- "name": "AbstractProperty",
7936
- "module": "src/modeller/property-sidebar/abstract-property.ts"
7937
- }
7938
- }
7939
- ]
7942
+ "module": "/src/modeller/property-sidebar/abstract-property"
7943
+ }
7940
7944
  }
7941
7945
  ],
7942
7946
  "exports": [
7943
7947
  {
7944
7948
  "kind": "js",
7945
- "name": "PropertyStyles",
7949
+ "name": "PropertyShapes",
7946
7950
  "declaration": {
7947
- "name": "PropertyStyles",
7948
- "module": "src/modeller/property-sidebar/styles/styles.ts"
7951
+ "name": "PropertyShapes",
7952
+ "module": "src/modeller/property-sidebar/shapes/shapes.ts"
7949
7953
  }
7950
7954
  }
7951
7955
  ]