@operato/board 0.3.2 → 0.3.4

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.
Files changed (97) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/custom-elements.json +1934 -1940
  3. package/dist/src/component/container.js +2 -2
  4. package/dist/src/component/container.js.map +1 -1
  5. package/dist/src/component/etc.js +3 -3
  6. package/dist/src/component/etc.js.map +1 -1
  7. package/dist/src/component/line.js +5 -5
  8. package/dist/src/component/line.js.map +1 -1
  9. package/dist/src/component/shape.js +6 -6
  10. package/dist/src/component/shape.js.map +1 -1
  11. package/dist/src/component/text-and-media.js +5 -5
  12. package/dist/src/component/text-and-media.js.map +1 -1
  13. package/dist/src/modeller/component-toolbar/component-menu.js +2 -2
  14. package/dist/src/modeller/component-toolbar/component-menu.js.map +1 -1
  15. package/dist/src/modeller/edit-toolbar-style.js +4 -4
  16. package/dist/src/modeller/edit-toolbar-style.js.map +1 -1
  17. package/dist/src/modeller/edit-toolbar.d.ts +1 -1
  18. package/dist/src/modeller/edit-toolbar.js +1 -1
  19. package/dist/src/modeller/edit-toolbar.js.map +1 -1
  20. package/dist/src/modeller/property-sidebar/effects/property-shadow.js +2 -2
  21. package/dist/src/modeller/property-sidebar/effects/property-shadow.js.map +1 -1
  22. package/dist/src/modeller/property-sidebar/inspector/inspector.d.ts +1 -1
  23. package/dist/src/modeller/property-sidebar/inspector/inspector.js +2 -2
  24. package/dist/src/modeller/property-sidebar/inspector/inspector.js.map +1 -1
  25. package/dist/src/modeller/property-sidebar/property-shared-style.js +1 -1
  26. package/dist/src/modeller/property-sidebar/property-shared-style.js.map +1 -1
  27. package/dist/src/modeller/property-sidebar/property-sidebar.js +2 -2
  28. package/dist/src/modeller/property-sidebar/property-sidebar.js.map +1 -1
  29. package/dist/src/modeller/property-sidebar/shapes/box-padding-editor-styles.js +1 -1
  30. package/dist/src/modeller/property-sidebar/shapes/box-padding-editor-styles.js.map +1 -1
  31. package/dist/src/modeller/property-sidebar/shapes/shapes.js +2 -2
  32. package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +1 -1
  33. package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js +9 -6
  34. package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js.map +1 -1
  35. package/dist/src/modeller/property-sidebar/styles/styles.js +5 -5
  36. package/dist/src/modeller/property-sidebar/styles/styles.js.map +1 -1
  37. package/dist/src/ox-board-modeller.js +20 -0
  38. package/dist/src/ox-board-modeller.js.map +1 -1
  39. package/dist/tsconfig.tsbuildinfo +1 -1
  40. package/{assets/images → icons}/components/audio.png +0 -0
  41. package/{assets/images → icons}/components/both-arrow.png +0 -0
  42. package/{assets/images → icons}/components/color-image.png +0 -0
  43. package/{assets/images → icons}/components/container.png +0 -0
  44. package/{assets/images → icons}/components/dash.png +0 -0
  45. package/{assets/images → icons}/components/donut.png +0 -0
  46. package/{assets/images → icons}/components/ellipse.png +0 -0
  47. package/{assets/images → icons}/components/forklift.png +0 -0
  48. package/{assets/images → icons}/components/gif-image.png +0 -0
  49. package/{assets/images → icons}/components/global-reference.png +0 -0
  50. package/{assets/images → icons}/components/gray-image.png +0 -0
  51. package/{assets/images → icons}/components/humidity-sensor.png +0 -0
  52. package/{assets/images → icons}/components/info-window.png +0 -0
  53. package/{assets/images → icons}/components/line.png +0 -0
  54. package/{assets/images → icons}/components/local-reference.png +0 -0
  55. package/{assets/images → icons}/components/no-image.png +0 -0
  56. package/{assets/images → icons}/components/person.png +0 -0
  57. package/{assets/images → icons}/components/polygon.png +0 -0
  58. package/{assets/images → icons}/components/polyline.png +0 -0
  59. package/{assets/images → icons}/components/popup.png +0 -0
  60. package/{assets/images → icons}/components/rect.png +0 -0
  61. package/{assets/images → icons}/components/single-arrow.png +0 -0
  62. package/{assets/images → icons}/components/star.png +0 -0
  63. package/{assets/images → icons}/components/text.png +0 -0
  64. package/{assets/images → icons}/components/triangle.png +0 -0
  65. package/icons/icon-collapse-active.png +0 -0
  66. package/icons/icon-collapse.png +0 -0
  67. package/icons/icon-fullscreen.png +0 -0
  68. package/icons/icon-htoolbar.png +0 -0
  69. package/icons/icon-properties-arrow-type.png +0 -0
  70. package/icons/icon-properties-gradient-direction.png +0 -0
  71. package/icons/icon-properties-label.png +0 -0
  72. package/icons/icon-properties-line-type.png +0 -0
  73. package/icons/icon-properties-padding.png +0 -0
  74. package/icons/icon-properties-ratio.png +0 -0
  75. package/icons/icon-properties-table.png +0 -0
  76. package/icons/icon-properties.png +0 -0
  77. package/icons/icon-shell-inspector.png +0 -0
  78. package/package.json +11 -12
  79. package/src/component/container.ts +3 -2
  80. package/src/component/etc.ts +4 -3
  81. package/src/component/line.ts +6 -5
  82. package/src/component/shape.ts +7 -6
  83. package/src/component/text-and-media.ts +6 -5
  84. package/src/modeller/component-toolbar/component-menu.ts +5 -3
  85. package/src/modeller/edit-toolbar-style.ts +4 -4
  86. package/src/modeller/edit-toolbar.ts +3 -2
  87. package/src/modeller/property-sidebar/effects/property-shadow.ts +3 -2
  88. package/src/modeller/property-sidebar/inspector/inspector.ts +4 -4
  89. package/src/modeller/property-sidebar/property-shared-style.ts +1 -1
  90. package/src/modeller/property-sidebar/property-sidebar.ts +3 -3
  91. package/src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts +1 -1
  92. package/src/modeller/property-sidebar/shapes/shapes.ts +2 -2
  93. package/src/modeller/property-sidebar/specifics/specific-properties-builder.ts +11 -7
  94. package/src/modeller/property-sidebar/styles/styles.ts +5 -5
  95. package/src/ox-board-modeller.ts +26 -0
  96. package/@types/global/index.d.ts +0 -1
  97. package/assets/images/icon-vtoolbar.png +0 -0
@@ -2,6 +2,69 @@
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
+ },
5
68
  {
6
69
  "kind": "javascript-module",
7
70
  "path": "src/index.ts",
@@ -1351,957 +1414,28 @@
1351
1414
  },
1352
1415
  {
1353
1416
  "kind": "javascript-module",
1354
- "path": "stories/index.stories.ts",
1355
- "declarations": [
1356
- {
1357
- "kind": "variable",
1358
- "name": "Regular"
1359
- },
1360
- {
1361
- "kind": "variable",
1362
- "name": "CustomTitle"
1363
- },
1364
- {
1365
- "kind": "variable",
1366
- "name": "CustomCounter"
1367
- },
1368
- {
1369
- "kind": "variable",
1370
- "name": "SlottedContent"
1371
- }
1372
- ],
1373
- "exports": [
1374
- {
1375
- "kind": "js",
1376
- "name": "default",
1377
- "declaration": {
1378
- "module": "stories/index.stories.ts"
1379
- }
1380
- },
1381
- {
1382
- "kind": "js",
1383
- "name": "Regular",
1384
- "declaration": {
1385
- "name": "Regular",
1386
- "module": "stories/index.stories.ts"
1387
- }
1388
- },
1389
- {
1390
- "kind": "js",
1391
- "name": "CustomTitle",
1392
- "declaration": {
1393
- "name": "CustomTitle",
1394
- "module": "stories/index.stories.ts"
1395
- }
1396
- },
1397
- {
1398
- "kind": "js",
1399
- "name": "CustomCounter",
1400
- "declaration": {
1401
- "name": "CustomCounter",
1402
- "module": "stories/index.stories.ts"
1403
- }
1404
- },
1405
- {
1406
- "kind": "js",
1407
- "name": "SlottedContent",
1408
- "declaration": {
1409
- "name": "SlottedContent",
1410
- "module": "stories/index.stories.ts"
1411
- }
1412
- }
1413
- ]
1414
- },
1415
- {
1416
- "kind": "javascript-module",
1417
- "path": "@types/global/index.d.ts",
1418
- "declarations": [],
1419
- "exports": []
1420
- },
1421
- {
1422
- "kind": "javascript-module",
1423
- "path": "src/component/3d.ts",
1424
- "declarations": [
1425
- {
1426
- "kind": "variable",
1427
- "name": "threed",
1428
- "type": {
1429
- "text": "ComponentGroup"
1430
- },
1431
- "default": "{\n name: '3D',\n description: 'a group of various 3D base components',\n icon,\n templates: []\n}"
1432
- }
1433
- ],
1434
- "exports": [
1435
- {
1436
- "kind": "js",
1437
- "name": "threed",
1438
- "declaration": {
1439
- "name": "threed",
1440
- "module": "src/component/3d.ts"
1441
- }
1442
- }
1443
- ]
1444
- },
1445
- {
1446
- "kind": "javascript-module",
1447
- "path": "src/component/chart-and-gauge.ts",
1448
- "declarations": [
1449
- {
1450
- "kind": "variable",
1451
- "name": "chartAndGauge",
1452
- "type": {
1453
- "text": "ComponentGroup"
1454
- },
1455
- "default": "{\n name: 'chartAndGauge',\n description: 'a group of various charts and gauges',\n icon,\n templates: []\n}"
1456
- }
1457
- ],
1458
- "exports": [
1459
- {
1460
- "kind": "js",
1461
- "name": "chartAndGauge",
1462
- "declaration": {
1463
- "name": "chartAndGauge",
1464
- "module": "src/component/chart-and-gauge.ts"
1465
- }
1466
- }
1467
- ]
1468
- },
1469
- {
1470
- "kind": "javascript-module",
1471
- "path": "src/component/container.ts",
1472
- "declarations": [
1473
- {
1474
- "kind": "variable",
1475
- "name": "container",
1476
- "type": {
1477
- "text": "ComponentGroup"
1478
- },
1479
- "default": "{\n name: 'container',\n description: 'a group of various containers',\n icon,\n templates: [\n {\n type: 'container',\n description: 'general container',\n icon: iconContainer,\n group: 'container',\n model: {\n type: 'container',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: '#999',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'popup',\n description: 'popup window',\n icon: popup,\n group: 'container',\n model: {\n type: 'popup',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: 'DarkGoldenRod',\n hidden: true\n }\n }\n ]\n}"
1480
- }
1481
- ],
1482
- "exports": [
1483
- {
1484
- "kind": "js",
1485
- "name": "container",
1486
- "declaration": {
1487
- "name": "container",
1488
- "module": "src/component/container.ts"
1489
- }
1490
- }
1491
- ]
1492
- },
1493
- {
1494
- "kind": "javascript-module",
1495
- "path": "src/component/data-source.ts",
1496
- "declarations": [
1497
- {
1498
- "kind": "variable",
1499
- "name": "dataSource",
1500
- "type": {
1501
- "text": "ComponentGroup"
1502
- },
1503
- "default": "{\n name: 'dataSource',\n description: 'a group of various data sources',\n icon,\n templates: []\n}"
1504
- }
1505
- ],
1506
- "exports": [
1507
- {
1508
- "kind": "js",
1509
- "name": "dataSource",
1510
- "declaration": {
1511
- "name": "dataSource",
1512
- "module": "src/component/data-source.ts"
1513
- }
1514
- }
1515
- ]
1516
- },
1517
- {
1518
- "kind": "javascript-module",
1519
- "path": "src/component/etc.ts",
1417
+ "path": "src/modeller/edit-toolbar-style.ts",
1520
1418
  "declarations": [
1521
1419
  {
1522
1420
  "kind": "variable",
1523
- "name": "etc",
1524
- "type": {
1525
- "text": "ComponentGroup"
1526
- },
1527
- "default": "{\n name: 'etc',\n description: 'a group of components that have not yet been defined.',\n icon,\n templates: [\n {\n type: 'info-window',\n description: 'information window',\n icon: infoWindow,\n group: 'etc',\n model: {\n type: 'info-window',\n left: 10,\n top: 10,\n width: 50,\n height: 50,\n fillStyle: '#fff',\n strokeStyle: 'DarkGoldenRod',\n hidden: true,\n frontSideTemplate:\n \"<h2 id='xxx'>\\n\\t<%= text %>\\n</h2>\\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />\",\n backSideTemplate:\n \"<h2 id='yyy'>\\n\\t<%= text %>\\n</h2>\\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />\",\n style:\n '#yyy {\\n\\tbackground-color:navy;\\n\\tcolor:white\\n}\\n#xxx, #yyy {\\n\\twhite-space:nowrap;\\n\\tmin-width:200px;\\n}'\n }\n },\n {\n type: 'local reference',\n description: 'local reference',\n icon: localReference,\n group: 'etc',\n model: {\n type: 'local-ref',\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: 'global reference',\n description: 'global reference',\n icon: globalReference,\n group: 'etc',\n model: {\n type: 'global-ref',\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}"
1421
+ "name": "style",
1422
+ "default": "css`\n :host {\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`"
1528
1423
  }
1529
1424
  ],
1530
1425
  "exports": [
1531
1426
  {
1532
1427
  "kind": "js",
1533
- "name": "etc",
1428
+ "name": "style",
1534
1429
  "declaration": {
1535
- "name": "etc",
1536
- "module": "src/component/etc.ts"
1430
+ "name": "style",
1431
+ "module": "src/modeller/edit-toolbar-style.ts"
1537
1432
  }
1538
1433
  }
1539
1434
  ]
1540
1435
  },
1541
1436
  {
1542
1437
  "kind": "javascript-module",
1543
- "path": "src/component/form.ts",
1544
- "declarations": [
1545
- {
1546
- "kind": "variable",
1547
- "name": "form",
1548
- "type": {
1549
- "text": "ComponentGroup"
1550
- },
1551
- "default": "{\n name: 'form',\n description: 'a group of various input components that make up a data entry form',\n icon,\n templates: []\n}"
1552
- }
1553
- ],
1554
- "exports": [
1555
- {
1556
- "kind": "js",
1557
- "name": "form",
1558
- "declaration": {
1559
- "name": "form",
1560
- "module": "src/component/form.ts"
1561
- }
1562
- }
1563
- ]
1564
- },
1565
- {
1566
- "kind": "javascript-module",
1567
- "path": "src/component/index.ts",
1568
- "declarations": [],
1569
- "exports": [
1570
- {
1571
- "kind": "js",
1572
- "name": "*",
1573
- "declaration": {
1574
- "name": "*",
1575
- "package": "./shape"
1576
- }
1577
- },
1578
- {
1579
- "kind": "js",
1580
- "name": "*",
1581
- "declaration": {
1582
- "name": "*",
1583
- "package": "./line"
1584
- }
1585
- },
1586
- {
1587
- "kind": "js",
1588
- "name": "*",
1589
- "declaration": {
1590
- "name": "*",
1591
- "package": "./text-and-media"
1592
- }
1593
- },
1594
- {
1595
- "kind": "js",
1596
- "name": "*",
1597
- "declaration": {
1598
- "name": "*",
1599
- "package": "./chart-and-gauge"
1600
- }
1601
- },
1602
- {
1603
- "kind": "js",
1604
- "name": "*",
1605
- "declaration": {
1606
- "name": "*",
1607
- "package": "./table"
1608
- }
1609
- },
1610
- {
1611
- "kind": "js",
1612
- "name": "*",
1613
- "declaration": {
1614
- "name": "*",
1615
- "package": "./data-source"
1616
- }
1617
- },
1618
- {
1619
- "kind": "js",
1620
- "name": "*",
1621
- "declaration": {
1622
- "name": "*",
1623
- "package": "./3d"
1624
- }
1625
- },
1626
- {
1627
- "kind": "js",
1628
- "name": "*",
1629
- "declaration": {
1630
- "name": "*",
1631
- "package": "./iot"
1632
- }
1633
- },
1634
- {
1635
- "kind": "js",
1636
- "name": "*",
1637
- "declaration": {
1638
- "name": "*",
1639
- "package": "./form"
1640
- }
1641
- },
1642
- {
1643
- "kind": "js",
1644
- "name": "*",
1645
- "declaration": {
1646
- "name": "*",
1647
- "package": "./warehouse"
1648
- }
1649
- },
1650
- {
1651
- "kind": "js",
1652
- "name": "*",
1653
- "declaration": {
1654
- "name": "*",
1655
- "package": "./container"
1656
- }
1657
- },
1658
- {
1659
- "kind": "js",
1660
- "name": "*",
1661
- "declaration": {
1662
- "name": "*",
1663
- "package": "./etc"
1664
- }
1665
- }
1666
- ]
1667
- },
1668
- {
1669
- "kind": "javascript-module",
1670
- "path": "src/component/iot.ts",
1671
- "declarations": [
1672
- {
1673
- "kind": "variable",
1674
- "name": "iot",
1675
- "type": {
1676
- "text": "ComponentGroup"
1677
- },
1678
- "default": "{\n name: 'IoT',\n description: 'a group of various IoT protocols',\n icon,\n templates: []\n}"
1679
- }
1680
- ],
1681
- "exports": [
1682
- {
1683
- "kind": "js",
1684
- "name": "iot",
1685
- "declaration": {
1686
- "name": "iot",
1687
- "module": "src/component/iot.ts"
1688
- }
1689
- }
1690
- ]
1691
- },
1692
- {
1693
- "kind": "javascript-module",
1694
- "path": "src/component/line.ts",
1695
- "declarations": [
1696
- {
1697
- "kind": "variable",
1698
- "name": "line",
1699
- "type": {
1700
- "text": "ComponentGroup"
1701
- },
1702
- "default": "{\n name: 'line',\n description: 'a group of various lines',\n icon,\n templates: [\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 type: 'single arrow',\n description: 'single arrow tip line',\n icon: singleArrow,\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: 3,\n hidden: false,\n lineWidth: 3,\n lineDash: 'solid',\n begin: 'arrow',\n lineCap: 'butt'\n }\n },\n {\n type: 'both arrow',\n description: 'both arrow tip line',\n icon: bothArrow,\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 begin: 'arrow',\n end: 'arrow',\n lineCap: 'butt'\n }\n },\n {\n type: 'polyline',\n description: 'polyline',\n icon: polyline,\n group: 'line',\n model: {\n type: 'polyline',\n path: [\n { x: 100, y: 100 },\n { x: 200, y: 100 },\n { x: 200, y: 200 },\n { x: 100, y: 200 }\n ],\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}"
1703
- }
1704
- ],
1705
- "exports": [
1706
- {
1707
- "kind": "js",
1708
- "name": "line",
1709
- "declaration": {
1710
- "name": "line",
1711
- "module": "src/component/line.ts"
1712
- }
1713
- }
1714
- ]
1715
- },
1716
- {
1717
- "kind": "javascript-module",
1718
- "path": "src/component/register-default-groups.ts",
1719
- "declarations": [
1720
- {
1721
- "kind": "function",
1722
- "name": "registerDefaultGroups"
1723
- }
1724
- ],
1725
- "exports": [
1726
- {
1727
- "kind": "js",
1728
- "name": "registerDefaultGroups",
1729
- "declaration": {
1730
- "name": "registerDefaultGroups",
1731
- "module": "src/component/register-default-groups.ts"
1732
- }
1733
- }
1734
- ]
1735
- },
1736
- {
1737
- "kind": "javascript-module",
1738
- "path": "src/component/shape.ts",
1739
- "declarations": [
1740
- {
1741
- "kind": "variable",
1742
- "name": "shape",
1743
- "type": {
1744
- "text": "ComponentGroup"
1745
- },
1746
- "default": "{\n name: 'shape',\n description: 'a group of simple basic shapes',\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: 'donut',\n description: 'donut shape',\n icon: donut,\n group: 'shape',\n model: {\n type: 'donut',\n rx: 50,\n ry: 50,\n cx: 150,\n cy: 150,\n ratio: 30,\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: 'triangle',\n description: 'triangle shape',\n icon: triangle,\n group: 'shape',\n model: {\n type: 'triangle',\n x1: 150,\n y1: 100,\n x2: 100,\n y2: 200,\n x3: 200,\n y3: 200,\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: 'polygon',\n description: 'polygon shape',\n icon: polygon,\n group: 'shape',\n model: {\n type: 'polygon',\n path: [\n { x: 100, y: 100 },\n { x: 200, y: 100 },\n { x: 200, y: 200 },\n { x: 100, y: 200 }\n ],\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: 'star',\n description: 'star shape',\n icon: star,\n group: 'shape',\n model: {\n type: 'star',\n rx: 50,\n ry: 50,\n cx: 150,\n cy: 150,\n ratio: 30,\n wing: 5,\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}"
1747
- }
1748
- ],
1749
- "exports": [
1750
- {
1751
- "kind": "js",
1752
- "name": "shape",
1753
- "declaration": {
1754
- "name": "shape",
1755
- "module": "src/component/shape.ts"
1756
- }
1757
- }
1758
- ]
1759
- },
1760
- {
1761
- "kind": "javascript-module",
1762
- "path": "src/component/table.ts",
1763
- "declarations": [
1764
- {
1765
- "kind": "variable",
1766
- "name": "table",
1767
- "type": {
1768
- "text": "ComponentGroup"
1769
- },
1770
- "default": "{\n name: 'table',\n description: 'a group of various tables',\n icon,\n templates: []\n}"
1771
- }
1772
- ],
1773
- "exports": [
1774
- {
1775
- "kind": "js",
1776
- "name": "table",
1777
- "declaration": {
1778
- "name": "table",
1779
- "module": "src/component/table.ts"
1780
- }
1781
- }
1782
- ]
1783
- },
1784
- {
1785
- "kind": "javascript-module",
1786
- "path": "src/component/text-and-media.ts",
1787
- "declarations": [
1788
- {
1789
- "kind": "variable",
1790
- "name": "textAndMedia",
1791
- "type": {
1792
- "text": "ComponentGroup"
1793
- },
1794
- "default": "{\n name: 'textAndMedia',\n description: 'a group of text and various media components',\n icon,\n templates: [\n {\n type: 'text',\n description: 'text',\n icon: text,\n group: 'textAndMedia',\n model: {\n type: 'text',\n left: 100,\n top: 100,\n width: 200,\n height: 50,\n text: 'Text',\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 5,\n lineDash: 'solid',\n lineCap: 'butt',\n textAlign: 'left',\n textBaseline: 'top',\n textWrap: false,\n fontFamily: 'serif',\n fontSize: 30\n }\n },\n {\n type: 'color image',\n description: 'color image',\n icon: colorImage,\n group: 'textAndMedia',\n model: {\n type: 'image-view',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n isGray: false,\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: 'gray image',\n description: 'gray image',\n icon: grayImage,\n group: 'textAndMedia',\n model: {\n type: 'image-view',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n isGray: true,\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: 'gif image',\n description: 'gif image',\n icon: gifImage,\n group: 'textAndMedia',\n model: {\n type: 'gif-view',\n left: 100,\n top: 100,\n width: 100,\n height: 100\n }\n },\n {\n type: 'audio',\n description: 'audio',\n icon: audio,\n group: 'textAndMedia',\n model: {\n type: 'audio',\n left: 100,\n top: 100,\n width: 100,\n height: 100\n }\n }\n ]\n}"
1795
- }
1796
- ],
1797
- "exports": [
1798
- {
1799
- "kind": "js",
1800
- "name": "textAndMedia",
1801
- "declaration": {
1802
- "name": "textAndMedia",
1803
- "module": "src/component/text-and-media.ts"
1804
- }
1805
- }
1806
- ]
1807
- },
1808
- {
1809
- "kind": "javascript-module",
1810
- "path": "src/component/warehouse.ts",
1811
- "declarations": [
1812
- {
1813
- "kind": "variable",
1814
- "name": "warehouse",
1815
- "type": {
1816
- "text": "ComponentGroup"
1817
- },
1818
- "default": "{\n name: 'warehouse',\n description: 'a group of various components used in a warehouse depiction',\n icon,\n templates: []\n}"
1819
- }
1820
- ],
1821
- "exports": [
1822
- {
1823
- "kind": "js",
1824
- "name": "warehouse",
1825
- "declaration": {
1826
- "name": "warehouse",
1827
- "module": "src/component/warehouse.ts"
1828
- }
1829
- }
1830
- ]
1831
- },
1832
- {
1833
- "kind": "javascript-module",
1834
- "path": "src/graphql/board.ts",
1835
- "declarations": [
1836
- {
1837
- "kind": "function",
1838
- "name": "fetchBoardList",
1839
- "parameters": [
1840
- {
1841
- "name": "listParam",
1842
- "default": "{}"
1843
- }
1844
- ]
1845
- },
1846
- {
1847
- "kind": "function",
1848
- "name": "fetchBoard",
1849
- "parameters": [
1850
- {
1851
- "name": "id",
1852
- "type": {
1853
- "text": "string"
1854
- }
1855
- }
1856
- ]
1857
- },
1858
- {
1859
- "kind": "function",
1860
- "name": "createBoard",
1861
- "parameters": [
1862
- {
1863
- "name": "board",
1864
- "type": {
1865
- "text": "Board"
1866
- }
1867
- }
1868
- ]
1869
- },
1870
- {
1871
- "kind": "function",
1872
- "name": "updateBoard",
1873
- "parameters": [
1874
- {
1875
- "name": "board",
1876
- "type": {
1877
- "text": "Board"
1878
- }
1879
- }
1880
- ]
1881
- },
1882
- {
1883
- "kind": "function",
1884
- "name": "deleteBoard",
1885
- "parameters": [
1886
- {
1887
- "name": "id",
1888
- "type": {
1889
- "text": "string"
1890
- }
1891
- }
1892
- ]
1893
- }
1894
- ],
1895
- "exports": [
1896
- {
1897
- "kind": "js",
1898
- "name": "fetchBoardList",
1899
- "declaration": {
1900
- "name": "fetchBoardList",
1901
- "module": "src/graphql/board.ts"
1902
- }
1903
- },
1904
- {
1905
- "kind": "js",
1906
- "name": "fetchBoard",
1907
- "declaration": {
1908
- "name": "fetchBoard",
1909
- "module": "src/graphql/board.ts"
1910
- }
1911
- },
1912
- {
1913
- "kind": "js",
1914
- "name": "createBoard",
1915
- "declaration": {
1916
- "name": "createBoard",
1917
- "module": "src/graphql/board.ts"
1918
- }
1919
- },
1920
- {
1921
- "kind": "js",
1922
- "name": "updateBoard",
1923
- "declaration": {
1924
- "name": "updateBoard",
1925
- "module": "src/graphql/board.ts"
1926
- }
1927
- },
1928
- {
1929
- "kind": "js",
1930
- "name": "deleteBoard",
1931
- "declaration": {
1932
- "name": "deleteBoard",
1933
- "module": "src/graphql/board.ts"
1934
- }
1935
- }
1936
- ]
1937
- },
1938
- {
1939
- "kind": "javascript-module",
1940
- "path": "src/graphql/favorite-board.ts",
1941
- "declarations": [
1942
- {
1943
- "kind": "function",
1944
- "name": "fetchFavoriteBoardList",
1945
- "parameters": [
1946
- {
1947
- "name": "listParam",
1948
- "default": "{}"
1949
- }
1950
- ]
1951
- }
1952
- ],
1953
- "exports": [
1954
- {
1955
- "kind": "js",
1956
- "name": "fetchFavoriteBoardList",
1957
- "declaration": {
1958
- "name": "fetchFavoriteBoardList",
1959
- "module": "src/graphql/favorite-board.ts"
1960
- }
1961
- }
1962
- ]
1963
- },
1964
- {
1965
- "kind": "javascript-module",
1966
- "path": "src/graphql/group.ts",
1967
- "declarations": [
1968
- {
1969
- "kind": "function",
1970
- "name": "fetchGroup",
1971
- "parameters": [
1972
- {
1973
- "name": "id",
1974
- "type": {
1975
- "text": "string"
1976
- }
1977
- }
1978
- ]
1979
- },
1980
- {
1981
- "kind": "function",
1982
- "name": "updateGroup",
1983
- "parameters": [
1984
- {
1985
- "name": "group",
1986
- "type": {
1987
- "text": "BoardGroup"
1988
- }
1989
- }
1990
- ]
1991
- },
1992
- {
1993
- "kind": "function",
1994
- "name": "deleteGroup",
1995
- "parameters": [
1996
- {
1997
- "name": "id",
1998
- "type": {
1999
- "text": "string"
2000
- }
2001
- }
2002
- ]
2003
- },
2004
- {
2005
- "kind": "function",
2006
- "name": "fetchGroupList"
2007
- },
2008
- {
2009
- "kind": "function",
2010
- "name": "createGroup",
2011
- "parameters": [
2012
- {
2013
- "name": "group",
2014
- "type": {
2015
- "text": "BoardGroup"
2016
- }
2017
- }
2018
- ]
2019
- },
2020
- {
2021
- "kind": "function",
2022
- "name": "joinGroup",
2023
- "parameters": [
2024
- {
2025
- "name": "boardId",
2026
- "type": {
2027
- "text": "string"
2028
- }
2029
- },
2030
- {
2031
- "name": "groupId",
2032
- "type": {
2033
- "text": "string"
2034
- }
2035
- }
2036
- ]
2037
- }
2038
- ],
2039
- "exports": [
2040
- {
2041
- "kind": "js",
2042
- "name": "fetchGroup",
2043
- "declaration": {
2044
- "name": "fetchGroup",
2045
- "module": "src/graphql/group.ts"
2046
- }
2047
- },
2048
- {
2049
- "kind": "js",
2050
- "name": "updateGroup",
2051
- "declaration": {
2052
- "name": "updateGroup",
2053
- "module": "src/graphql/group.ts"
2054
- }
2055
- },
2056
- {
2057
- "kind": "js",
2058
- "name": "deleteGroup",
2059
- "declaration": {
2060
- "name": "deleteGroup",
2061
- "module": "src/graphql/group.ts"
2062
- }
2063
- },
2064
- {
2065
- "kind": "js",
2066
- "name": "fetchGroupList",
2067
- "declaration": {
2068
- "name": "fetchGroupList",
2069
- "module": "src/graphql/group.ts"
2070
- }
2071
- },
2072
- {
2073
- "kind": "js",
2074
- "name": "createGroup",
2075
- "declaration": {
2076
- "name": "createGroup",
2077
- "module": "src/graphql/group.ts"
2078
- }
2079
- },
2080
- {
2081
- "kind": "js",
2082
- "name": "joinGroup",
2083
- "declaration": {
2084
- "name": "joinGroup",
2085
- "module": "src/graphql/group.ts"
2086
- }
2087
- }
2088
- ]
2089
- },
2090
- {
2091
- "kind": "javascript-module",
2092
- "path": "src/graphql/index.ts",
2093
- "declarations": [],
2094
- "exports": [
2095
- {
2096
- "kind": "js",
2097
- "name": "*",
2098
- "declaration": {
2099
- "name": "*",
2100
- "package": "./board"
2101
- }
2102
- },
2103
- {
2104
- "kind": "js",
2105
- "name": "*",
2106
- "declaration": {
2107
- "name": "*",
2108
- "package": "./group"
2109
- }
2110
- },
2111
- {
2112
- "kind": "js",
2113
- "name": "*",
2114
- "declaration": {
2115
- "name": "*",
2116
- "package": "./play-group"
2117
- }
2118
- },
2119
- {
2120
- "kind": "js",
2121
- "name": "*",
2122
- "declaration": {
2123
- "name": "*",
2124
- "package": "./favorite-board"
2125
- }
2126
- }
2127
- ]
2128
- },
2129
- {
2130
- "kind": "javascript-module",
2131
- "path": "src/graphql/play-group.ts",
2132
- "declarations": [
2133
- {
2134
- "kind": "function",
2135
- "name": "fetchPlayGroupList"
2136
- },
2137
- {
2138
- "kind": "function",
2139
- "name": "fetchPlayGroup",
2140
- "parameters": [
2141
- {
2142
- "name": "groupId",
2143
- "type": {
2144
- "text": "string"
2145
- }
2146
- }
2147
- ]
2148
- },
2149
- {
2150
- "kind": "function",
2151
- "name": "createPlayGroup",
2152
- "parameters": [
2153
- {
2154
- "name": "group",
2155
- "type": {
2156
- "text": "PlayGroup"
2157
- }
2158
- }
2159
- ]
2160
- },
2161
- {
2162
- "kind": "function",
2163
- "name": "updatePlayGroup",
2164
- "parameters": [
2165
- {
2166
- "name": "group",
2167
- "type": {
2168
- "text": "PlayGroup"
2169
- }
2170
- }
2171
- ]
2172
- },
2173
- {
2174
- "kind": "function",
2175
- "name": "deletePlayGroup",
2176
- "parameters": [
2177
- {
2178
- "name": "id",
2179
- "type": {
2180
- "text": "string"
2181
- }
2182
- }
2183
- ]
2184
- },
2185
- {
2186
- "kind": "function",
2187
- "name": "joinPlayGroup",
2188
- "parameters": [
2189
- {
2190
- "name": "boardId",
2191
- "type": {
2192
- "text": "string"
2193
- }
2194
- },
2195
- {
2196
- "name": "group",
2197
- "type": {
2198
- "text": "PlayGroup"
2199
- }
2200
- }
2201
- ]
2202
- },
2203
- {
2204
- "kind": "function",
2205
- "name": "leavePlayGroup",
2206
- "parameters": [
2207
- {
2208
- "name": "boardId",
2209
- "type": {
2210
- "text": "string"
2211
- }
2212
- },
2213
- {
2214
- "name": "groupId",
2215
- "type": {
2216
- "text": "string"
2217
- }
2218
- }
2219
- ]
2220
- }
2221
- ],
2222
- "exports": [
2223
- {
2224
- "kind": "js",
2225
- "name": "fetchPlayGroupList",
2226
- "declaration": {
2227
- "name": "fetchPlayGroupList",
2228
- "module": "src/graphql/play-group.ts"
2229
- }
2230
- },
2231
- {
2232
- "kind": "js",
2233
- "name": "fetchPlayGroup",
2234
- "declaration": {
2235
- "name": "fetchPlayGroup",
2236
- "module": "src/graphql/play-group.ts"
2237
- }
2238
- },
2239
- {
2240
- "kind": "js",
2241
- "name": "createPlayGroup",
2242
- "declaration": {
2243
- "name": "createPlayGroup",
2244
- "module": "src/graphql/play-group.ts"
2245
- }
2246
- },
2247
- {
2248
- "kind": "js",
2249
- "name": "updatePlayGroup",
2250
- "declaration": {
2251
- "name": "updatePlayGroup",
2252
- "module": "src/graphql/play-group.ts"
2253
- }
2254
- },
2255
- {
2256
- "kind": "js",
2257
- "name": "deletePlayGroup",
2258
- "declaration": {
2259
- "name": "deletePlayGroup",
2260
- "module": "src/graphql/play-group.ts"
2261
- }
2262
- },
2263
- {
2264
- "kind": "js",
2265
- "name": "joinPlayGroup",
2266
- "declaration": {
2267
- "name": "joinPlayGroup",
2268
- "module": "src/graphql/play-group.ts"
2269
- }
2270
- },
2271
- {
2272
- "kind": "js",
2273
- "name": "leavePlayGroup",
2274
- "declaration": {
2275
- "name": "leavePlayGroup",
2276
- "module": "src/graphql/play-group.ts"
2277
- }
2278
- }
2279
- ]
2280
- },
2281
- {
2282
- "kind": "javascript-module",
2283
- "path": "src/modeller/edit-toolbar-style.ts",
2284
- "declarations": [
2285
- {
2286
- "kind": "variable",
2287
- "name": "style",
2288
- "default": "css`\n :host {\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: url('/assets/images/icon-htoolbar.png') 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: url('/assets/images/icon-fullscreen.png') 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: url('/assets/images/icon-collapse.png') 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: url(/assets/images/icon-collapse-active.png) 80% 10px no-repeat;\n }\n`"
2289
- }
2290
- ],
2291
- "exports": [
2292
- {
2293
- "kind": "js",
2294
- "name": "style",
2295
- "declaration": {
2296
- "name": "style",
2297
- "module": "src/modeller/edit-toolbar-style.ts"
2298
- }
2299
- }
2300
- ]
2301
- },
2302
- {
2303
- "kind": "javascript-module",
2304
- "path": "src/modeller/edit-toolbar.ts",
1438
+ "path": "src/modeller/edit-toolbar.ts",
2305
1439
  "declarations": [
2306
1440
  {
2307
1441
  "kind": "class",
@@ -2789,25 +1923,436 @@
2789
1923
  "name": "LitElement",
2790
1924
  "package": "lit"
2791
1925
  },
2792
- "tagName": "edit-toolbar",
2793
- "customElement": true
1926
+ "tagName": "edit-toolbar",
1927
+ "customElement": true
1928
+ }
1929
+ ],
1930
+ "exports": [
1931
+ {
1932
+ "kind": "js",
1933
+ "name": "EditToolbar",
1934
+ "declaration": {
1935
+ "name": "EditToolbar",
1936
+ "module": "src/modeller/edit-toolbar.ts"
1937
+ }
1938
+ },
1939
+ {
1940
+ "kind": "custom-element-definition",
1941
+ "name": "edit-toolbar",
1942
+ "declaration": {
1943
+ "name": "EditToolbar",
1944
+ "module": "src/modeller/edit-toolbar.ts"
1945
+ }
1946
+ }
1947
+ ]
1948
+ },
1949
+ {
1950
+ "kind": "javascript-module",
1951
+ "path": "src/component/3d.ts",
1952
+ "declarations": [
1953
+ {
1954
+ "kind": "variable",
1955
+ "name": "threed",
1956
+ "type": {
1957
+ "text": "ComponentGroup"
1958
+ },
1959
+ "default": "{\n name: '3D',\n description: 'a group of various 3D base components',\n icon,\n templates: []\n}"
1960
+ }
1961
+ ],
1962
+ "exports": [
1963
+ {
1964
+ "kind": "js",
1965
+ "name": "threed",
1966
+ "declaration": {
1967
+ "name": "threed",
1968
+ "module": "src/component/3d.ts"
1969
+ }
1970
+ }
1971
+ ]
1972
+ },
1973
+ {
1974
+ "kind": "javascript-module",
1975
+ "path": "src/component/chart-and-gauge.ts",
1976
+ "declarations": [
1977
+ {
1978
+ "kind": "variable",
1979
+ "name": "chartAndGauge",
1980
+ "type": {
1981
+ "text": "ComponentGroup"
1982
+ },
1983
+ "default": "{\n name: 'chartAndGauge',\n description: 'a group of various charts and gauges',\n icon,\n templates: []\n}"
1984
+ }
1985
+ ],
1986
+ "exports": [
1987
+ {
1988
+ "kind": "js",
1989
+ "name": "chartAndGauge",
1990
+ "declaration": {
1991
+ "name": "chartAndGauge",
1992
+ "module": "src/component/chart-and-gauge.ts"
1993
+ }
1994
+ }
1995
+ ]
1996
+ },
1997
+ {
1998
+ "kind": "javascript-module",
1999
+ "path": "src/component/container.ts",
2000
+ "declarations": [
2001
+ {
2002
+ "kind": "variable",
2003
+ "name": "container",
2004
+ "type": {
2005
+ "text": "ComponentGroup"
2006
+ },
2007
+ "default": "{\n name: 'container',\n description: 'a group of various containers',\n icon,\n templates: [\n {\n type: 'container',\n description: 'general container',\n icon: iconContainer,\n group: 'container',\n model: {\n type: 'container',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: '#999',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'popup',\n description: 'popup window',\n icon: popup,\n group: 'container',\n model: {\n type: 'popup',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: 'DarkGoldenRod',\n hidden: true\n }\n }\n ]\n}"
2008
+ }
2009
+ ],
2010
+ "exports": [
2011
+ {
2012
+ "kind": "js",
2013
+ "name": "container",
2014
+ "declaration": {
2015
+ "name": "container",
2016
+ "module": "src/component/container.ts"
2017
+ }
2018
+ }
2019
+ ]
2020
+ },
2021
+ {
2022
+ "kind": "javascript-module",
2023
+ "path": "src/component/data-source.ts",
2024
+ "declarations": [
2025
+ {
2026
+ "kind": "variable",
2027
+ "name": "dataSource",
2028
+ "type": {
2029
+ "text": "ComponentGroup"
2030
+ },
2031
+ "default": "{\n name: 'dataSource',\n description: 'a group of various data sources',\n icon,\n templates: []\n}"
2032
+ }
2033
+ ],
2034
+ "exports": [
2035
+ {
2036
+ "kind": "js",
2037
+ "name": "dataSource",
2038
+ "declaration": {
2039
+ "name": "dataSource",
2040
+ "module": "src/component/data-source.ts"
2041
+ }
2042
+ }
2043
+ ]
2044
+ },
2045
+ {
2046
+ "kind": "javascript-module",
2047
+ "path": "src/component/etc.ts",
2048
+ "declarations": [
2049
+ {
2050
+ "kind": "variable",
2051
+ "name": "etc",
2052
+ "type": {
2053
+ "text": "ComponentGroup"
2054
+ },
2055
+ "default": "{\n name: 'etc',\n description: 'a group of components that have not yet been defined.',\n icon,\n templates: [\n {\n type: 'info-window',\n description: 'information window',\n icon: infoWindow,\n group: 'etc',\n model: {\n type: 'info-window',\n left: 10,\n top: 10,\n width: 50,\n height: 50,\n fillStyle: '#fff',\n strokeStyle: 'DarkGoldenRod',\n hidden: true,\n frontSideTemplate:\n \"<h2 id='xxx'>\\n\\t<%= text %>\\n</h2>\\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />\",\n backSideTemplate:\n \"<h2 id='yyy'>\\n\\t<%= text %>\\n</h2>\\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />\",\n style:\n '#yyy {\\n\\tbackground-color:navy;\\n\\tcolor:white\\n}\\n#xxx, #yyy {\\n\\twhite-space:nowrap;\\n\\tmin-width:200px;\\n}'\n }\n },\n {\n type: 'local reference',\n description: 'local reference',\n icon: localReference,\n group: 'etc',\n model: {\n type: 'local-ref',\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: 'global reference',\n description: 'global reference',\n icon: globalReference,\n group: 'etc',\n model: {\n type: 'global-ref',\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}"
2056
+ }
2057
+ ],
2058
+ "exports": [
2059
+ {
2060
+ "kind": "js",
2061
+ "name": "etc",
2062
+ "declaration": {
2063
+ "name": "etc",
2064
+ "module": "src/component/etc.ts"
2065
+ }
2066
+ }
2067
+ ]
2068
+ },
2069
+ {
2070
+ "kind": "javascript-module",
2071
+ "path": "src/component/form.ts",
2072
+ "declarations": [
2073
+ {
2074
+ "kind": "variable",
2075
+ "name": "form",
2076
+ "type": {
2077
+ "text": "ComponentGroup"
2078
+ },
2079
+ "default": "{\n name: 'form',\n description: 'a group of various input components that make up a data entry form',\n icon,\n templates: []\n}"
2080
+ }
2081
+ ],
2082
+ "exports": [
2083
+ {
2084
+ "kind": "js",
2085
+ "name": "form",
2086
+ "declaration": {
2087
+ "name": "form",
2088
+ "module": "src/component/form.ts"
2089
+ }
2090
+ }
2091
+ ]
2092
+ },
2093
+ {
2094
+ "kind": "javascript-module",
2095
+ "path": "src/component/index.ts",
2096
+ "declarations": [],
2097
+ "exports": [
2098
+ {
2099
+ "kind": "js",
2100
+ "name": "*",
2101
+ "declaration": {
2102
+ "name": "*",
2103
+ "package": "./shape"
2104
+ }
2105
+ },
2106
+ {
2107
+ "kind": "js",
2108
+ "name": "*",
2109
+ "declaration": {
2110
+ "name": "*",
2111
+ "package": "./line"
2112
+ }
2113
+ },
2114
+ {
2115
+ "kind": "js",
2116
+ "name": "*",
2117
+ "declaration": {
2118
+ "name": "*",
2119
+ "package": "./text-and-media"
2120
+ }
2121
+ },
2122
+ {
2123
+ "kind": "js",
2124
+ "name": "*",
2125
+ "declaration": {
2126
+ "name": "*",
2127
+ "package": "./chart-and-gauge"
2128
+ }
2129
+ },
2130
+ {
2131
+ "kind": "js",
2132
+ "name": "*",
2133
+ "declaration": {
2134
+ "name": "*",
2135
+ "package": "./table"
2136
+ }
2137
+ },
2138
+ {
2139
+ "kind": "js",
2140
+ "name": "*",
2141
+ "declaration": {
2142
+ "name": "*",
2143
+ "package": "./data-source"
2144
+ }
2145
+ },
2146
+ {
2147
+ "kind": "js",
2148
+ "name": "*",
2149
+ "declaration": {
2150
+ "name": "*",
2151
+ "package": "./3d"
2152
+ }
2153
+ },
2154
+ {
2155
+ "kind": "js",
2156
+ "name": "*",
2157
+ "declaration": {
2158
+ "name": "*",
2159
+ "package": "./iot"
2160
+ }
2161
+ },
2162
+ {
2163
+ "kind": "js",
2164
+ "name": "*",
2165
+ "declaration": {
2166
+ "name": "*",
2167
+ "package": "./form"
2168
+ }
2169
+ },
2170
+ {
2171
+ "kind": "js",
2172
+ "name": "*",
2173
+ "declaration": {
2174
+ "name": "*",
2175
+ "package": "./warehouse"
2176
+ }
2177
+ },
2178
+ {
2179
+ "kind": "js",
2180
+ "name": "*",
2181
+ "declaration": {
2182
+ "name": "*",
2183
+ "package": "./container"
2184
+ }
2185
+ },
2186
+ {
2187
+ "kind": "js",
2188
+ "name": "*",
2189
+ "declaration": {
2190
+ "name": "*",
2191
+ "package": "./etc"
2192
+ }
2193
+ }
2194
+ ]
2195
+ },
2196
+ {
2197
+ "kind": "javascript-module",
2198
+ "path": "src/component/iot.ts",
2199
+ "declarations": [
2200
+ {
2201
+ "kind": "variable",
2202
+ "name": "iot",
2203
+ "type": {
2204
+ "text": "ComponentGroup"
2205
+ },
2206
+ "default": "{\n name: 'IoT',\n description: 'a group of various IoT protocols',\n icon,\n templates: []\n}"
2207
+ }
2208
+ ],
2209
+ "exports": [
2210
+ {
2211
+ "kind": "js",
2212
+ "name": "iot",
2213
+ "declaration": {
2214
+ "name": "iot",
2215
+ "module": "src/component/iot.ts"
2216
+ }
2217
+ }
2218
+ ]
2219
+ },
2220
+ {
2221
+ "kind": "javascript-module",
2222
+ "path": "src/component/line.ts",
2223
+ "declarations": [
2224
+ {
2225
+ "kind": "variable",
2226
+ "name": "line",
2227
+ "type": {
2228
+ "text": "ComponentGroup"
2229
+ },
2230
+ "default": "{\n name: 'line',\n description: 'a group of various lines',\n icon,\n templates: [\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 type: 'single arrow',\n description: 'single arrow tip line',\n icon: singleArrow,\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: 3,\n hidden: false,\n lineWidth: 3,\n lineDash: 'solid',\n begin: 'arrow',\n lineCap: 'butt'\n }\n },\n {\n type: 'both arrow',\n description: 'both arrow tip line',\n icon: bothArrow,\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 begin: 'arrow',\n end: 'arrow',\n lineCap: 'butt'\n }\n },\n {\n type: 'polyline',\n description: 'polyline',\n icon: polyline,\n group: 'line',\n model: {\n type: 'polyline',\n path: [\n { x: 100, y: 100 },\n { x: 200, y: 100 },\n { x: 200, y: 200 },\n { x: 100, y: 200 }\n ],\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}"
2794
2231
  }
2795
2232
  ],
2796
2233
  "exports": [
2797
2234
  {
2798
2235
  "kind": "js",
2799
- "name": "EditToolbar",
2236
+ "name": "line",
2800
2237
  "declaration": {
2801
- "name": "EditToolbar",
2802
- "module": "src/modeller/edit-toolbar.ts"
2238
+ "name": "line",
2239
+ "module": "src/component/line.ts"
2803
2240
  }
2804
- },
2241
+ }
2242
+ ]
2243
+ },
2244
+ {
2245
+ "kind": "javascript-module",
2246
+ "path": "src/component/register-default-groups.ts",
2247
+ "declarations": [
2805
2248
  {
2806
- "kind": "custom-element-definition",
2807
- "name": "edit-toolbar",
2249
+ "kind": "function",
2250
+ "name": "registerDefaultGroups"
2251
+ }
2252
+ ],
2253
+ "exports": [
2254
+ {
2255
+ "kind": "js",
2256
+ "name": "registerDefaultGroups",
2808
2257
  "declaration": {
2809
- "name": "EditToolbar",
2810
- "module": "src/modeller/edit-toolbar.ts"
2258
+ "name": "registerDefaultGroups",
2259
+ "module": "src/component/register-default-groups.ts"
2260
+ }
2261
+ }
2262
+ ]
2263
+ },
2264
+ {
2265
+ "kind": "javascript-module",
2266
+ "path": "src/component/shape.ts",
2267
+ "declarations": [
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "shape",
2271
+ "type": {
2272
+ "text": "ComponentGroup"
2273
+ },
2274
+ "default": "{\n name: 'shape',\n description: 'a group of simple basic shapes',\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: 'donut',\n description: 'donut shape',\n icon: donut,\n group: 'shape',\n model: {\n type: 'donut',\n rx: 50,\n ry: 50,\n cx: 150,\n cy: 150,\n ratio: 30,\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: 'triangle',\n description: 'triangle shape',\n icon: triangle,\n group: 'shape',\n model: {\n type: 'triangle',\n x1: 150,\n y1: 100,\n x2: 100,\n y2: 200,\n x3: 200,\n y3: 200,\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: 'polygon',\n description: 'polygon shape',\n icon: polygon,\n group: 'shape',\n model: {\n type: 'polygon',\n path: [\n { x: 100, y: 100 },\n { x: 200, y: 100 },\n { x: 200, y: 200 },\n { x: 100, y: 200 }\n ],\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: 'star',\n description: 'star shape',\n icon: star,\n group: 'shape',\n model: {\n type: 'star',\n rx: 50,\n ry: 50,\n cx: 150,\n cy: 150,\n ratio: 30,\n wing: 5,\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}"
2275
+ }
2276
+ ],
2277
+ "exports": [
2278
+ {
2279
+ "kind": "js",
2280
+ "name": "shape",
2281
+ "declaration": {
2282
+ "name": "shape",
2283
+ "module": "src/component/shape.ts"
2284
+ }
2285
+ }
2286
+ ]
2287
+ },
2288
+ {
2289
+ "kind": "javascript-module",
2290
+ "path": "src/component/table.ts",
2291
+ "declarations": [
2292
+ {
2293
+ "kind": "variable",
2294
+ "name": "table",
2295
+ "type": {
2296
+ "text": "ComponentGroup"
2297
+ },
2298
+ "default": "{\n name: 'table',\n description: 'a group of various tables',\n icon,\n templates: []\n}"
2299
+ }
2300
+ ],
2301
+ "exports": [
2302
+ {
2303
+ "kind": "js",
2304
+ "name": "table",
2305
+ "declaration": {
2306
+ "name": "table",
2307
+ "module": "src/component/table.ts"
2308
+ }
2309
+ }
2310
+ ]
2311
+ },
2312
+ {
2313
+ "kind": "javascript-module",
2314
+ "path": "src/component/text-and-media.ts",
2315
+ "declarations": [
2316
+ {
2317
+ "kind": "variable",
2318
+ "name": "textAndMedia",
2319
+ "type": {
2320
+ "text": "ComponentGroup"
2321
+ },
2322
+ "default": "{\n name: 'textAndMedia',\n description: 'a group of text and various media components',\n icon,\n templates: [\n {\n type: 'text',\n description: 'text',\n icon: text,\n group: 'textAndMedia',\n model: {\n type: 'text',\n left: 100,\n top: 100,\n width: 200,\n height: 50,\n text: 'Text',\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 5,\n lineDash: 'solid',\n lineCap: 'butt',\n textAlign: 'left',\n textBaseline: 'top',\n textWrap: false,\n fontFamily: 'serif',\n fontSize: 30\n }\n },\n {\n type: 'color image',\n description: 'color image',\n icon: colorImage,\n group: 'textAndMedia',\n model: {\n type: 'image-view',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n isGray: false,\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: 'gray image',\n description: 'gray image',\n icon: grayImage,\n group: 'textAndMedia',\n model: {\n type: 'image-view',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n isGray: true,\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: 'gif image',\n description: 'gif image',\n icon: gifImage,\n group: 'textAndMedia',\n model: {\n type: 'gif-view',\n left: 100,\n top: 100,\n width: 100,\n height: 100\n }\n },\n {\n type: 'audio',\n description: 'audio',\n icon: audio,\n group: 'textAndMedia',\n model: {\n type: 'audio',\n left: 100,\n top: 100,\n width: 100,\n height: 100\n }\n }\n ]\n}"
2323
+ }
2324
+ ],
2325
+ "exports": [
2326
+ {
2327
+ "kind": "js",
2328
+ "name": "textAndMedia",
2329
+ "declaration": {
2330
+ "name": "textAndMedia",
2331
+ "module": "src/component/text-and-media.ts"
2332
+ }
2333
+ }
2334
+ ]
2335
+ },
2336
+ {
2337
+ "kind": "javascript-module",
2338
+ "path": "src/component/warehouse.ts",
2339
+ "declarations": [
2340
+ {
2341
+ "kind": "variable",
2342
+ "name": "warehouse",
2343
+ "type": {
2344
+ "text": "ComponentGroup"
2345
+ },
2346
+ "default": "{\n name: 'warehouse',\n description: 'a group of various components used in a warehouse depiction',\n icon,\n templates: []\n}"
2347
+ }
2348
+ ],
2349
+ "exports": [
2350
+ {
2351
+ "kind": "js",
2352
+ "name": "warehouse",
2353
+ "declaration": {
2354
+ "name": "warehouse",
2355
+ "module": "src/component/warehouse.ts"
2811
2356
  }
2812
2357
  }
2813
2358
  ]
@@ -3182,75 +2727,217 @@
3182
2727
  ],
3183
2728
  "exports": [
3184
2729
  {
3185
- "kind": "custom-element-definition",
3186
- "name": "ox-board-wrapper",
2730
+ "kind": "custom-element-definition",
2731
+ "name": "ox-board-wrapper",
2732
+ "declaration": {
2733
+ "name": "BoardWrapper",
2734
+ "module": "src/player/ox-board-wrapper.ts"
2735
+ }
2736
+ }
2737
+ ]
2738
+ },
2739
+ {
2740
+ "kind": "javascript-module",
2741
+ "path": "src/graphql/board.ts",
2742
+ "declarations": [
2743
+ {
2744
+ "kind": "function",
2745
+ "name": "fetchBoardList",
2746
+ "parameters": [
2747
+ {
2748
+ "name": "listParam",
2749
+ "default": "{}"
2750
+ }
2751
+ ]
2752
+ },
2753
+ {
2754
+ "kind": "function",
2755
+ "name": "fetchBoard",
2756
+ "parameters": [
2757
+ {
2758
+ "name": "id",
2759
+ "type": {
2760
+ "text": "string"
2761
+ }
2762
+ }
2763
+ ]
2764
+ },
2765
+ {
2766
+ "kind": "function",
2767
+ "name": "createBoard",
2768
+ "parameters": [
2769
+ {
2770
+ "name": "board",
2771
+ "type": {
2772
+ "text": "Board"
2773
+ }
2774
+ }
2775
+ ]
2776
+ },
2777
+ {
2778
+ "kind": "function",
2779
+ "name": "updateBoard",
2780
+ "parameters": [
2781
+ {
2782
+ "name": "board",
2783
+ "type": {
2784
+ "text": "Board"
2785
+ }
2786
+ }
2787
+ ]
2788
+ },
2789
+ {
2790
+ "kind": "function",
2791
+ "name": "deleteBoard",
2792
+ "parameters": [
2793
+ {
2794
+ "name": "id",
2795
+ "type": {
2796
+ "text": "string"
2797
+ }
2798
+ }
2799
+ ]
2800
+ }
2801
+ ],
2802
+ "exports": [
2803
+ {
2804
+ "kind": "js",
2805
+ "name": "fetchBoardList",
2806
+ "declaration": {
2807
+ "name": "fetchBoardList",
2808
+ "module": "src/graphql/board.ts"
2809
+ }
2810
+ },
2811
+ {
2812
+ "kind": "js",
2813
+ "name": "fetchBoard",
2814
+ "declaration": {
2815
+ "name": "fetchBoard",
2816
+ "module": "src/graphql/board.ts"
2817
+ }
2818
+ },
2819
+ {
2820
+ "kind": "js",
2821
+ "name": "createBoard",
2822
+ "declaration": {
2823
+ "name": "createBoard",
2824
+ "module": "src/graphql/board.ts"
2825
+ }
2826
+ },
2827
+ {
2828
+ "kind": "js",
2829
+ "name": "updateBoard",
2830
+ "declaration": {
2831
+ "name": "updateBoard",
2832
+ "module": "src/graphql/board.ts"
2833
+ }
2834
+ },
2835
+ {
2836
+ "kind": "js",
2837
+ "name": "deleteBoard",
2838
+ "declaration": {
2839
+ "name": "deleteBoard",
2840
+ "module": "src/graphql/board.ts"
2841
+ }
2842
+ }
2843
+ ]
2844
+ },
2845
+ {
2846
+ "kind": "javascript-module",
2847
+ "path": "src/graphql/favorite-board.ts",
2848
+ "declarations": [
2849
+ {
2850
+ "kind": "function",
2851
+ "name": "fetchFavoriteBoardList",
2852
+ "parameters": [
2853
+ {
2854
+ "name": "listParam",
2855
+ "default": "{}"
2856
+ }
2857
+ ]
2858
+ }
2859
+ ],
2860
+ "exports": [
2861
+ {
2862
+ "kind": "js",
2863
+ "name": "fetchFavoriteBoardList",
3187
2864
  "declaration": {
3188
- "name": "BoardWrapper",
3189
- "module": "src/player/ox-board-wrapper.ts"
2865
+ "name": "fetchFavoriteBoardList",
2866
+ "module": "src/graphql/favorite-board.ts"
3190
2867
  }
3191
2868
  }
3192
2869
  ]
3193
2870
  },
3194
2871
  {
3195
2872
  "kind": "javascript-module",
3196
- "path": "src/utils/fullscreen.ts",
2873
+ "path": "src/graphql/group.ts",
3197
2874
  "declarations": [
3198
2875
  {
3199
2876
  "kind": "function",
3200
- "name": "fullscreen",
2877
+ "name": "fetchGroup",
3201
2878
  "parameters": [
3202
2879
  {
3203
- "name": "element",
2880
+ "name": "id",
3204
2881
  "type": {
3205
- "text": "HTMLElement"
3206
- },
3207
- "description": "대상 엘리먼트"
3208
- },
2882
+ "text": "string"
2883
+ }
2884
+ }
2885
+ ]
2886
+ },
2887
+ {
2888
+ "kind": "function",
2889
+ "name": "updateGroup",
2890
+ "parameters": [
3209
2891
  {
3210
- "name": "afterfull",
3211
- "optional": true,
2892
+ "name": "group",
3212
2893
  "type": {
3213
- "text": "FullscreenCallback"
3214
- },
3215
- "description": "풀스크린이 된 이후에 호출되는 콜백함수"
3216
- },
2894
+ "text": "BoardGroup"
2895
+ }
2896
+ }
2897
+ ]
2898
+ },
2899
+ {
2900
+ "kind": "function",
2901
+ "name": "deleteGroup",
2902
+ "parameters": [
3217
2903
  {
3218
- "name": "afterfinish",
3219
- "optional": true,
2904
+ "name": "id",
3220
2905
  "type": {
3221
- "text": "FullscreenCallback"
3222
- },
3223
- "description": "풀스크린이 해제된 이후에 호출되는 콜백함수"
2906
+ "text": "string"
2907
+ }
3224
2908
  }
3225
- ],
3226
- "description": "엘리먼트를 풀스크린으로 표시되도록 한다."
2909
+ ]
3227
2910
  },
3228
2911
  {
3229
2912
  "kind": "function",
3230
- "name": "exitfullscreen"
2913
+ "name": "fetchGroupList"
3231
2914
  },
3232
2915
  {
3233
2916
  "kind": "function",
3234
- "name": "togglefullscreen",
2917
+ "name": "createGroup",
3235
2918
  "parameters": [
3236
2919
  {
3237
- "name": "element",
2920
+ "name": "group",
3238
2921
  "type": {
3239
- "text": "HTMLElement"
2922
+ "text": "BoardGroup"
3240
2923
  }
3241
- },
2924
+ }
2925
+ ]
2926
+ },
2927
+ {
2928
+ "kind": "function",
2929
+ "name": "joinGroup",
2930
+ "parameters": [
3242
2931
  {
3243
- "name": "afterfull",
3244
- "optional": true,
2932
+ "name": "boardId",
3245
2933
  "type": {
3246
- "text": "FullscreenCallback"
2934
+ "text": "string"
3247
2935
  }
3248
2936
  },
3249
2937
  {
3250
- "name": "afterfinish",
3251
- "optional": true,
2938
+ "name": "groupId",
3252
2939
  "type": {
3253
- "text": "FullscreenCallback"
2940
+ "text": "string"
3254
2941
  }
3255
2942
  }
3256
2943
  ]
@@ -3259,925 +2946,970 @@
3259
2946
  "exports": [
3260
2947
  {
3261
2948
  "kind": "js",
3262
- "name": "fullscreen",
3263
- "declaration": {
3264
- "name": "fullscreen",
3265
- "module": "src/utils/fullscreen.ts"
3266
- }
3267
- },
3268
- {
3269
- "kind": "js",
3270
- "name": "exitfullscreen",
2949
+ "name": "fetchGroup",
3271
2950
  "declaration": {
3272
- "name": "exitfullscreen",
3273
- "module": "src/utils/fullscreen.ts"
2951
+ "name": "fetchGroup",
2952
+ "module": "src/graphql/group.ts"
3274
2953
  }
3275
2954
  },
3276
2955
  {
3277
2956
  "kind": "js",
3278
- "name": "togglefullscreen",
2957
+ "name": "updateGroup",
3279
2958
  "declaration": {
3280
- "name": "togglefullscreen",
3281
- "module": "src/utils/fullscreen.ts"
3282
- }
3283
- }
3284
- ]
3285
- },
3286
- {
3287
- "kind": "javascript-module",
3288
- "path": "src/utils/os.ts",
3289
- "declarations": [
3290
- {
3291
- "kind": "function",
3292
- "name": "getOS",
3293
- "description": "method to get operating system of running browser",
3294
- "return": {
3295
- "type": {
3296
- "text": "string"
3297
- }
3298
- }
3299
- },
3300
- {
3301
- "kind": "function",
3302
- "name": "isMobileDevice",
3303
- "description": "method to tell if platform of running browser is kind of mobile device",
3304
- "return": {
3305
- "type": {
3306
- "text": "boolean"
3307
- }
3308
- }
3309
- },
3310
- {
3311
- "kind": "function",
3312
- "name": "isIOS",
3313
- "description": "method to tell if operating system of running browser is iOS",
3314
- "return": {
3315
- "type": {
3316
- "text": "boolean"
3317
- }
2959
+ "name": "updateGroup",
2960
+ "module": "src/graphql/group.ts"
3318
2961
  }
3319
2962
  },
3320
- {
3321
- "kind": "function",
3322
- "name": "isMacOS",
3323
- "description": "method to tell if operating system of running browser is MacOS",
3324
- "return": {
3325
- "type": {
3326
- "text": "boolean"
3327
- }
3328
- }
3329
- }
3330
- ],
3331
- "exports": [
3332
2963
  {
3333
2964
  "kind": "js",
3334
- "name": "getOS",
2965
+ "name": "deleteGroup",
3335
2966
  "declaration": {
3336
- "name": "getOS",
3337
- "module": "src/utils/os.ts"
2967
+ "name": "deleteGroup",
2968
+ "module": "src/graphql/group.ts"
3338
2969
  }
3339
2970
  },
3340
2971
  {
3341
2972
  "kind": "js",
3342
- "name": "isMobileDevice",
2973
+ "name": "fetchGroupList",
3343
2974
  "declaration": {
3344
- "name": "isMobileDevice",
3345
- "module": "src/utils/os.ts"
2975
+ "name": "fetchGroupList",
2976
+ "module": "src/graphql/group.ts"
3346
2977
  }
3347
2978
  },
3348
2979
  {
3349
2980
  "kind": "js",
3350
- "name": "isIOS",
2981
+ "name": "createGroup",
3351
2982
  "declaration": {
3352
- "name": "isIOS",
3353
- "module": "src/utils/os.ts"
2983
+ "name": "createGroup",
2984
+ "module": "src/graphql/group.ts"
3354
2985
  }
3355
2986
  },
3356
2987
  {
3357
2988
  "kind": "js",
3358
- "name": "isMacOS",
3359
- "declaration": {
3360
- "name": "isMacOS",
3361
- "module": "src/utils/os.ts"
3362
- }
3363
- }
3364
- ]
3365
- },
3366
- {
3367
- "kind": "javascript-module",
3368
- "path": "src/utils/swipe-listener.ts",
3369
- "declarations": [
3370
- {
3371
- "kind": "function",
3372
- "name": "SwipeListener",
3373
- "parameters": [
3374
- {
3375
- "name": "element",
3376
- "type": {
3377
- "text": "DOMElement"
3378
- },
3379
- "description": "Element on which to listen for swipe gestures."
3380
- },
3381
- {
3382
- "name": "options",
3383
- "optional": true,
3384
- "type": {
3385
- "text": "Object"
3386
- },
3387
- "description": "Optional: Options."
3388
- }
3389
- ],
3390
- "description": "Starts monitoring swipes on the given element and\nemits `swipe` event when a swipe gesture is performed.",
3391
- "return": {
3392
- "type": {
3393
- "text": "Object"
3394
- }
3395
- }
3396
- }
3397
- ],
3398
- "exports": [
3399
- {
3400
- "kind": "js",
3401
- "name": "SwipeListener",
2989
+ "name": "joinGroup",
3402
2990
  "declaration": {
3403
- "name": "SwipeListener",
3404
- "module": "src/utils/swipe-listener.ts"
2991
+ "name": "joinGroup",
2992
+ "module": "src/graphql/group.ts"
3405
2993
  }
3406
2994
  }
3407
- ]
3408
- },
3409
- {
3410
- "kind": "javascript-module",
3411
- "path": "src/modeller/component-toolbar/component-detail.ts",
3412
- "declarations": [
3413
- {
3414
- "kind": "class",
3415
- "description": "",
3416
- "name": "ComponentDetail",
3417
- "members": [
3418
- {
3419
- "kind": "field",
3420
- "name": "template",
3421
- "type": {
3422
- "text": "{ about: string } | null"
3423
- },
3424
- "default": "null",
3425
- "attribute": "template"
3426
- }
3427
- ],
3428
- "attributes": [
3429
- {
3430
- "name": "template",
3431
- "type": {
3432
- "text": "{ about: string } | null"
3433
- },
3434
- "default": "null",
3435
- "fieldName": "template"
3436
- }
3437
- ],
3438
- "superclass": {
3439
- "name": "LitElement",
3440
- "package": "lit"
3441
- },
3442
- "tagName": "component-detail",
3443
- "customElement": true
3444
- }
3445
- ],
2995
+ ]
2996
+ },
2997
+ {
2998
+ "kind": "javascript-module",
2999
+ "path": "src/graphql/index.ts",
3000
+ "declarations": [],
3446
3001
  "exports": [
3447
3002
  {
3448
- "kind": "custom-element-definition",
3449
- "name": "component-detail",
3003
+ "kind": "js",
3004
+ "name": "*",
3450
3005
  "declaration": {
3451
- "name": "ComponentDetail",
3452
- "module": "src/modeller/component-toolbar/component-detail.ts"
3006
+ "name": "*",
3007
+ "package": "./board"
3008
+ }
3009
+ },
3010
+ {
3011
+ "kind": "js",
3012
+ "name": "*",
3013
+ "declaration": {
3014
+ "name": "*",
3015
+ "package": "./group"
3016
+ }
3017
+ },
3018
+ {
3019
+ "kind": "js",
3020
+ "name": "*",
3021
+ "declaration": {
3022
+ "name": "*",
3023
+ "package": "./play-group"
3024
+ }
3025
+ },
3026
+ {
3027
+ "kind": "js",
3028
+ "name": "*",
3029
+ "declaration": {
3030
+ "name": "*",
3031
+ "package": "./favorite-board"
3453
3032
  }
3454
3033
  }
3455
3034
  ]
3456
3035
  },
3457
3036
  {
3458
3037
  "kind": "javascript-module",
3459
- "path": "src/modeller/component-toolbar/component-menu.ts",
3038
+ "path": "src/graphql/play-group.ts",
3460
3039
  "declarations": [
3461
3040
  {
3462
- "kind": "class",
3463
- "description": "",
3464
- "name": "ComponentMenu",
3465
- "members": [
3041
+ "kind": "function",
3042
+ "name": "fetchPlayGroupList"
3043
+ },
3044
+ {
3045
+ "kind": "function",
3046
+ "name": "fetchPlayGroup",
3047
+ "parameters": [
3466
3048
  {
3467
- "kind": "field",
3468
- "name": "groups",
3049
+ "name": "groupId",
3469
3050
  "type": {
3470
- "text": "Pallet[]"
3471
- },
3472
- "default": "[]",
3473
- "attribute": "groups"
3474
- },
3051
+ "text": "string"
3052
+ }
3053
+ }
3054
+ ]
3055
+ },
3056
+ {
3057
+ "kind": "function",
3058
+ "name": "createPlayGroup",
3059
+ "parameters": [
3475
3060
  {
3476
- "kind": "field",
3477
- "name": "scene",
3061
+ "name": "group",
3478
3062
  "type": {
3479
- "text": "Scene | null"
3480
- },
3481
- "default": "null",
3482
- "attribute": "scene"
3483
- },
3063
+ "text": "PlayGroup"
3064
+ }
3065
+ }
3066
+ ]
3067
+ },
3068
+ {
3069
+ "kind": "function",
3070
+ "name": "updatePlayGroup",
3071
+ "parameters": [
3484
3072
  {
3485
- "kind": "field",
3486
3073
  "name": "group",
3487
3074
  "type": {
3488
- "text": "string | null"
3489
- },
3490
- "default": "''",
3491
- "attribute": "group"
3492
- },
3075
+ "text": "PlayGroup"
3076
+ }
3077
+ }
3078
+ ]
3079
+ },
3080
+ {
3081
+ "kind": "function",
3082
+ "name": "deletePlayGroup",
3083
+ "parameters": [
3493
3084
  {
3494
- "kind": "field",
3495
- "name": "templates",
3085
+ "name": "id",
3496
3086
  "type": {
3497
- "text": "PalletItem[]"
3498
- },
3499
- "default": "[]"
3500
- },
3087
+ "text": "string"
3088
+ }
3089
+ }
3090
+ ]
3091
+ },
3092
+ {
3093
+ "kind": "function",
3094
+ "name": "joinPlayGroup",
3095
+ "parameters": [
3501
3096
  {
3502
- "kind": "field",
3503
- "name": "template",
3097
+ "name": "boardId",
3504
3098
  "type": {
3505
- "text": "PalletItem | any"
3099
+ "text": "string"
3506
3100
  }
3507
3101
  },
3508
3102
  {
3509
- "kind": "field",
3510
- "name": "detail",
3103
+ "name": "group",
3511
3104
  "type": {
3512
- "text": "HTMLElement"
3105
+ "text": "PlayGroup"
3513
3106
  }
3514
- },
3515
- {
3516
- "kind": "method",
3517
- "name": "findTemplate",
3518
- "parameters": [
3519
- {
3520
- "name": "type",
3521
- "type": {
3522
- "text": "string | null | undefined"
3523
- }
3524
- }
3525
- ]
3526
- },
3527
- {
3528
- "kind": "method",
3529
- "name": "onHoverComponent",
3530
- "parameters": [
3531
- {
3532
- "name": "e",
3533
- "type": {
3534
- "text": "MouseEvent"
3535
- }
3536
- }
3537
- ]
3538
- },
3539
- {
3540
- "kind": "method",
3541
- "name": "onClickTemplate",
3542
- "parameters": [
3543
- {
3544
- "name": "e",
3545
- "type": {
3546
- "text": "MouseEvent"
3547
- }
3548
- }
3549
- ]
3550
- },
3551
- {
3552
- "kind": "method",
3553
- "name": "templateIcon",
3554
- "parameters": [
3555
- {
3556
- "name": "template",
3557
- "type": {
3558
- "text": "PalletItem"
3559
- }
3560
- }
3561
- ]
3562
3107
  }
3563
- ],
3564
- "attributes": [
3565
- {
3566
- "name": "groups",
3567
- "type": {
3568
- "text": "Pallet[]"
3569
- },
3570
- "default": "[]",
3571
- "fieldName": "groups"
3572
- },
3108
+ ]
3109
+ },
3110
+ {
3111
+ "kind": "function",
3112
+ "name": "leavePlayGroup",
3113
+ "parameters": [
3573
3114
  {
3574
- "name": "scene",
3115
+ "name": "boardId",
3575
3116
  "type": {
3576
- "text": "Scene | null"
3577
- },
3578
- "default": "null",
3579
- "fieldName": "scene"
3117
+ "text": "string"
3118
+ }
3580
3119
  },
3581
3120
  {
3582
- "name": "group",
3121
+ "name": "groupId",
3583
3122
  "type": {
3584
- "text": "string | null"
3585
- },
3586
- "default": "''",
3587
- "fieldName": "group"
3123
+ "text": "string"
3124
+ }
3588
3125
  }
3589
- ],
3590
- "superclass": {
3591
- "name": "LitElement",
3592
- "package": "lit"
3593
- },
3594
- "tagName": "component-menu",
3595
- "customElement": true
3126
+ ]
3596
3127
  }
3597
3128
  ],
3598
3129
  "exports": [
3599
3130
  {
3600
- "kind": "custom-element-definition",
3601
- "name": "component-menu",
3131
+ "kind": "js",
3132
+ "name": "fetchPlayGroupList",
3133
+ "declaration": {
3134
+ "name": "fetchPlayGroupList",
3135
+ "module": "src/graphql/play-group.ts"
3136
+ }
3137
+ },
3138
+ {
3139
+ "kind": "js",
3140
+ "name": "fetchPlayGroup",
3141
+ "declaration": {
3142
+ "name": "fetchPlayGroup",
3143
+ "module": "src/graphql/play-group.ts"
3144
+ }
3145
+ },
3146
+ {
3147
+ "kind": "js",
3148
+ "name": "createPlayGroup",
3149
+ "declaration": {
3150
+ "name": "createPlayGroup",
3151
+ "module": "src/graphql/play-group.ts"
3152
+ }
3153
+ },
3154
+ {
3155
+ "kind": "js",
3156
+ "name": "updatePlayGroup",
3157
+ "declaration": {
3158
+ "name": "updatePlayGroup",
3159
+ "module": "src/graphql/play-group.ts"
3160
+ }
3161
+ },
3162
+ {
3163
+ "kind": "js",
3164
+ "name": "deletePlayGroup",
3165
+ "declaration": {
3166
+ "name": "deletePlayGroup",
3167
+ "module": "src/graphql/play-group.ts"
3168
+ }
3169
+ },
3170
+ {
3171
+ "kind": "js",
3172
+ "name": "joinPlayGroup",
3173
+ "declaration": {
3174
+ "name": "joinPlayGroup",
3175
+ "module": "src/graphql/play-group.ts"
3176
+ }
3177
+ },
3178
+ {
3179
+ "kind": "js",
3180
+ "name": "leavePlayGroup",
3602
3181
  "declaration": {
3603
- "name": "ComponentMenu",
3604
- "module": "src/modeller/component-toolbar/component-menu.ts"
3182
+ "name": "leavePlayGroup",
3183
+ "module": "src/graphql/play-group.ts"
3605
3184
  }
3606
3185
  }
3607
3186
  ]
3608
3187
  },
3609
3188
  {
3610
3189
  "kind": "javascript-module",
3611
- "path": "src/modeller/component-toolbar/component-toolbar.ts",
3190
+ "path": "src/utils/fullscreen.ts",
3612
3191
  "declarations": [
3613
3192
  {
3614
- "kind": "class",
3615
- "description": "",
3616
- "name": "ComponentToolbar",
3617
- "members": [
3618
- {
3619
- "kind": "field",
3620
- "name": "componentGroupList",
3621
- "type": {
3622
- "text": "ComponentGroup[]"
3623
- },
3624
- "default": "[]",
3625
- "attribute": "componentGroupList"
3626
- },
3627
- {
3628
- "kind": "field",
3629
- "name": "group",
3630
- "type": {
3631
- "text": "string | null | undefined"
3632
- },
3633
- "attribute": "group"
3634
- },
3635
- {
3636
- "kind": "field",
3637
- "name": "scene",
3638
- "type": {
3639
- "text": "Scene"
3640
- },
3641
- "attribute": "scene"
3642
- },
3643
- {
3644
- "kind": "field",
3645
- "name": "mode",
3646
- "type": {
3647
- "text": "SCENE_MODE"
3648
- },
3649
- "attribute": "mode"
3650
- },
3651
- {
3652
- "kind": "field",
3653
- "name": "shift",
3654
- "type": {
3655
- "text": "HTMLImageElement"
3656
- }
3657
- },
3193
+ "kind": "function",
3194
+ "name": "fullscreen",
3195
+ "parameters": [
3658
3196
  {
3659
- "kind": "field",
3660
- "name": "menu",
3197
+ "name": "element",
3661
3198
  "type": {
3662
3199
  "text": "HTMLElement"
3663
3200
  },
3664
- "privacy": "private"
3201
+ "description": "대상 엘리먼트"
3665
3202
  },
3666
3203
  {
3667
- "kind": "field",
3668
- "name": "groups",
3204
+ "name": "afterfull",
3205
+ "optional": true,
3669
3206
  "type": {
3670
- "text": "NodeListOf<HTMLElement>"
3207
+ "text": "FullscreenCallback"
3671
3208
  },
3672
- "privacy": "private"
3209
+ "description": "풀스크린이 된 이후에 호출되는 콜백함수"
3673
3210
  },
3674
3211
  {
3675
- "kind": "field",
3676
- "name": "icons",
3212
+ "name": "afterfinish",
3213
+ "optional": true,
3677
3214
  "type": {
3678
- "text": "{ [name: string]: string }"
3215
+ "text": "FullscreenCallback"
3679
3216
  },
3680
- "privacy": "private",
3681
- "default": "{}"
3682
- },
3683
- {
3684
- "kind": "method",
3685
- "name": "_setMode",
3686
- "parameters": [
3687
- {
3688
- "name": "mode",
3689
- "type": {
3690
- "text": "SCENE_MODE"
3691
- }
3692
- }
3693
- ]
3694
- },
3695
- {
3696
- "kind": "method",
3697
- "name": "_onClickShift",
3698
- "parameters": [
3699
- {
3700
- "name": "e",
3701
- "type": {
3702
- "text": "MouseEvent"
3703
- }
3704
- }
3705
- ]
3706
- },
3707
- {
3708
- "kind": "method",
3709
- "name": "_onClickGroup",
3710
- "parameters": [
3711
- {
3712
- "name": "e",
3713
- "type": {
3714
- "text": "MouseEvent"
3715
- }
3716
- }
3717
- ]
3217
+ "description": "풀스크린이 해제된 이후에 호출되는 콜백함수"
3718
3218
  }
3719
3219
  ],
3720
- "events": [
3220
+ "description": "엘리먼트를 풀스크린으로 표시되도록 한다."
3221
+ },
3222
+ {
3223
+ "kind": "function",
3224
+ "name": "exitfullscreen"
3225
+ },
3226
+ {
3227
+ "kind": "function",
3228
+ "name": "togglefullscreen",
3229
+ "parameters": [
3721
3230
  {
3722
- "name": "mode-changed",
3231
+ "name": "element",
3723
3232
  "type": {
3724
- "text": "CustomEvent"
3233
+ "text": "HTMLElement"
3725
3234
  }
3726
- }
3727
- ],
3728
- "attributes": [
3729
- {
3730
- "name": "componentGroupList",
3731
- "type": {
3732
- "text": "ComponentGroup[]"
3733
- },
3734
- "default": "[]",
3735
- "fieldName": "componentGroupList"
3736
- },
3737
- {
3738
- "name": "group",
3739
- "type": {
3740
- "text": "string | null | undefined"
3741
- },
3742
- "fieldName": "group"
3743
3235
  },
3744
3236
  {
3745
- "name": "scene",
3237
+ "name": "afterfull",
3238
+ "optional": true,
3746
3239
  "type": {
3747
- "text": "Scene"
3748
- },
3749
- "fieldName": "scene"
3240
+ "text": "FullscreenCallback"
3241
+ }
3750
3242
  },
3751
3243
  {
3752
- "name": "mode",
3244
+ "name": "afterfinish",
3245
+ "optional": true,
3753
3246
  "type": {
3754
- "text": "SCENE_MODE"
3755
- },
3756
- "fieldName": "mode"
3247
+ "text": "FullscreenCallback"
3248
+ }
3757
3249
  }
3758
- ],
3759
- "superclass": {
3760
- "name": "LitElement",
3761
- "package": "lit"
3762
- },
3763
- "tagName": "component-toolbar",
3764
- "customElement": true
3250
+ ]
3765
3251
  }
3766
3252
  ],
3767
3253
  "exports": [
3768
3254
  {
3769
- "kind": "custom-element-definition",
3770
- "name": "component-toolbar",
3255
+ "kind": "js",
3256
+ "name": "fullscreen",
3771
3257
  "declaration": {
3772
- "name": "ComponentToolbar",
3773
- "module": "src/modeller/component-toolbar/component-toolbar.ts"
3258
+ "name": "fullscreen",
3259
+ "module": "src/utils/fullscreen.ts"
3260
+ }
3261
+ },
3262
+ {
3263
+ "kind": "js",
3264
+ "name": "exitfullscreen",
3265
+ "declaration": {
3266
+ "name": "exitfullscreen",
3267
+ "module": "src/utils/fullscreen.ts"
3268
+ }
3269
+ },
3270
+ {
3271
+ "kind": "js",
3272
+ "name": "togglefullscreen",
3273
+ "declaration": {
3274
+ "name": "togglefullscreen",
3275
+ "module": "src/utils/fullscreen.ts"
3774
3276
  }
3775
3277
  }
3776
3278
  ]
3777
3279
  },
3778
3280
  {
3779
3281
  "kind": "javascript-module",
3780
- "path": "src/modeller/component-toolbar/mode-icons.ts",
3282
+ "path": "src/utils/os.ts",
3781
3283
  "declarations": [
3782
3284
  {
3783
- "kind": "variable",
3784
- "name": "ICON_EDIT_MODE",
3785
- "default": "`\n <svg\n version=\"1.1\"\n id=\"Layer_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 30 30\"\n style=\"enable-background:new 0 0 30 30;\"\n xml:space=\"preserve\"\n >\n <style type=\"text/css\">\n .st0 {\n fill: {{strokeColor}};\n }\n .st1 {\n fill: none;\n stroke: {{strokeColor}};\n stroke-width: 0.75;\n stroke-linejoin: round;\n stroke-miterlimit: 10;\n }\n </style>\n <g>\n <polygon class=\"st0\" points=\"2.7,3.9 2.7,22.8 7.8,17.2 16.1,16.9 \t\" />\n <path\n class=\"st1\"\n d=\"M27.7,20.1L26.1,19c-0.1,0-0.2,0-0.2,0c0,0.1,0,0.2,0,0.2l1.2,0.9h-4.9v-5l0.9,1.2c0,0,0.1,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0c0.1,0,0.1-0.1,0-0.2l-1.1-1.6c-0.1-0.1-0.2-0.1-0.2,0L20.8,16c0,0.1,0,0.2,0,0.2s0.2,0,0.2,0l0.9-1.2v5h-5\n l1.2-0.9c0.1,0,0.1-0.1,0-0.2c0-0.1-0.1-0.1-0.2,0l-1.6,1.1c0,0-0.1,0.1-0.1,0.1c0,0,0,0.1,0.1,0.1l1.6,1.1c0,0,0.1,0,0.1,0\n c0,0,0.1,0,0.1-0.1c0-0.1,0-0.2,0-0.2l-1.2-0.9h5v5L21,24.2c0-0.1-0.1-0.1-0.2,0c-0.1,0-0.1,0.1,0,0.2l1.1,1.6c0,0,0.1,0.1,0.1,0.1\n s0.1,0,0.1-0.1l1.1-1.6c0-0.1,0-0.2,0-0.2c-0.1,0-0.2,0-0.2,0l-0.9,1.2v-5h4.9l-1.2,0.9c-0.1,0-0.1,0.1,0,0.2c0,0,0.1,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0l1.6-1.1c0,0,0.1-0.1,0.1-0.1C27.7,20.2,27.7,20.1,27.7,20.1z\"\n />\n </g>\n </svg>\n`"
3285
+ "kind": "function",
3286
+ "name": "getOS",
3287
+ "description": "method to get operating system of running browser",
3288
+ "return": {
3289
+ "type": {
3290
+ "text": "string"
3291
+ }
3292
+ }
3786
3293
  },
3787
3294
  {
3788
- "kind": "variable",
3789
- "name": "ICON_SHIFT_MODE",
3790
- "default": "`\n <svg\n version=\"1.1\"\n id=\"Layer_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 30 30\"\n style=\"enable-background:new 0 0 30 30;\"\n xml:space=\"preserve\"\n >\n <style type=\"text/css\">\n .st0 {\n fill-rule: evenodd;\n clip-rule: evenodd;\n }\n .st1 {\n fill: {{strokeColor}};\n stroke: {{strokeColor}};\n stroke-width: 0.75;\n stroke-linejoin: round;\n stroke-miterlimit: 10;\n }\n </style>\n <g>\n <path\n class=\"st0\"\n d=\"M7.8,23.2c1.6,0,3.8,0,5.7,0c0.8,0,1.3-0.3,1.6-1.2c0.4-2.9,1.5-4.9,2.4-6.9s1.4-2.5,1.6-3.4\n c0.1-0.5,0.2-1.6-0.4-1.9c-0.6-0.3-1.2,0.1-1.9,1.3c-0.8,1.6-1,2-1.4,2c-0.3,0-0.1-4,0-5.4c0.1-1.3-0.6-1.8-1.3-1.8\n c-0.8-0.1-1.5,0.4-1.5,1.5c0,1.5-0.2,5.2-0.7,5.2c-0.4,0-0.3-4.3-0.6-6.7c-0.1-1-0.6-1.8-1.5-1.8C9.1,4.2,8.4,4.7,8.3,5.8\n c-0.1,1.3,1,6.7,0.5,6.7c-0.4,0-1.4-3.3-2.3-5.1C6,6.5,5.6,6,4.6,6.4C3.9,6.7,3.5,7.6,3.8,8.5c0.5,1.2,2.7,6.8,2.2,6.8\n c-0.4,0-1.4-1.4-2.7-2.1c-1.1-0.6-1.8-0.4-2.1-0.1c-0.4,0.3-0.7,1,0.9,2.8c0.6,0.6,3.1,2.3,3.7,3.2c0.7,1.3,0.6,1,0.8,2.8\n C6.7,22.7,7,23.2,7.8,23.2z\"\n />\n <path\n class=\"st1\"\n d=\"M28.7,20.1L27.1,19c-0.1,0-0.2,0-0.2,0c0,0.1,0,0.2,0,0.2l1.2,0.9h-4.9v-5l0.9,1.2c0,0,0.1,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0c0.1,0,0.1-0.1,0-0.2l-1.1-1.6c-0.1-0.1-0.2-0.1-0.2,0L21.8,16c0,0.1,0,0.2,0,0.2s0.2,0,0.2,0l0.9-1.2v5h-5\n l1.2-0.9c0.1,0,0.1-0.1,0-0.2c0-0.1-0.1-0.1-0.2,0l-1.6,1.1c0,0-0.1,0.1-0.1,0.1c0,0,0,0.1,0.1,0.1l1.6,1.1c0,0,0.1,0,0.1,0\n c0,0,0.1,0,0.1-0.1c0-0.1,0-0.2,0-0.2l-1.2-0.9h5v5L22,24.2c0-0.1-0.1-0.1-0.2,0c-0.1,0-0.1,0.1,0,0.2l1.1,1.6c0,0,0.1,0.1,0.1,0.1\n s0.1,0,0.1-0.1l1.1-1.6c0-0.1,0-0.2,0-0.2c-0.1,0-0.2,0-0.2,0l-0.9,1.2v-5h4.9l-1.2,0.9c-0.1,0-0.1,0.1,0,0.2c0,0,0.1,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0l1.6-1.1c0,0,0.1-0.1,0.1-0.1C28.7,20.2,28.7,20.1,28.7,20.1z\"\n />\n </g>\n </svg>\n`"
3295
+ "kind": "function",
3296
+ "name": "isMobileDevice",
3297
+ "description": "method to tell if platform of running browser is kind of mobile device",
3298
+ "return": {
3299
+ "type": {
3300
+ "text": "boolean"
3301
+ }
3302
+ }
3303
+ },
3304
+ {
3305
+ "kind": "function",
3306
+ "name": "isIOS",
3307
+ "description": "method to tell if operating system of running browser is iOS",
3308
+ "return": {
3309
+ "type": {
3310
+ "text": "boolean"
3311
+ }
3312
+ }
3313
+ },
3314
+ {
3315
+ "kind": "function",
3316
+ "name": "isMacOS",
3317
+ "description": "method to tell if operating system of running browser is MacOS",
3318
+ "return": {
3319
+ "type": {
3320
+ "text": "boolean"
3321
+ }
3322
+ }
3791
3323
  }
3792
3324
  ],
3793
3325
  "exports": [
3794
3326
  {
3795
3327
  "kind": "js",
3796
- "name": "ICON_EDIT_MODE",
3328
+ "name": "getOS",
3329
+ "declaration": {
3330
+ "name": "getOS",
3331
+ "module": "src/utils/os.ts"
3332
+ }
3333
+ },
3334
+ {
3335
+ "kind": "js",
3336
+ "name": "isMobileDevice",
3337
+ "declaration": {
3338
+ "name": "isMobileDevice",
3339
+ "module": "src/utils/os.ts"
3340
+ }
3341
+ },
3342
+ {
3343
+ "kind": "js",
3344
+ "name": "isIOS",
3797
3345
  "declaration": {
3798
- "name": "ICON_EDIT_MODE",
3799
- "module": "src/modeller/component-toolbar/mode-icons.ts"
3346
+ "name": "isIOS",
3347
+ "module": "src/utils/os.ts"
3800
3348
  }
3801
3349
  },
3802
3350
  {
3803
3351
  "kind": "js",
3804
- "name": "ICON_SHIFT_MODE",
3352
+ "name": "isMacOS",
3805
3353
  "declaration": {
3806
- "name": "ICON_SHIFT_MODE",
3807
- "module": "src/modeller/component-toolbar/mode-icons.ts"
3354
+ "name": "isMacOS",
3355
+ "module": "src/utils/os.ts"
3808
3356
  }
3809
3357
  }
3810
3358
  ]
3811
3359
  },
3812
3360
  {
3813
3361
  "kind": "javascript-module",
3814
- "path": "src/modeller/scene-viewer/confidential-overlay.ts",
3362
+ "path": "src/utils/swipe-listener.ts",
3815
3363
  "declarations": [
3816
3364
  {
3817
- "kind": "class",
3818
- "description": "",
3819
- "name": "ConfidentialOverlay",
3820
- "members": [
3365
+ "kind": "function",
3366
+ "name": "SwipeListener",
3367
+ "parameters": [
3821
3368
  {
3822
- "kind": "method",
3823
- "name": "_draw",
3824
- "parameters": [
3825
- {
3826
- "name": "context",
3827
- "type": {
3828
- "text": "CanvasRenderingContext2D"
3829
- }
3830
- }
3831
- ]
3369
+ "name": "element",
3370
+ "type": {
3371
+ "text": "DOMElement"
3372
+ },
3373
+ "description": "Element on which to listen for swipe gestures."
3374
+ },
3375
+ {
3376
+ "name": "options",
3377
+ "optional": true,
3378
+ "type": {
3379
+ "text": "Object"
3380
+ },
3381
+ "description": "Optional: Options."
3832
3382
  }
3833
3383
  ],
3834
- "superclass": {
3835
- "name": "SceneLayer",
3836
- "package": "@hatiolab/things-scene"
3384
+ "description": "Starts monitoring swipes on the given element and\nemits `swipe` event when a swipe gesture is performed.",
3385
+ "return": {
3386
+ "type": {
3387
+ "text": "Object"
3388
+ }
3837
3389
  }
3838
3390
  }
3839
3391
  ],
3840
3392
  "exports": [
3841
3393
  {
3842
3394
  "kind": "js",
3843
- "name": "default",
3395
+ "name": "SwipeListener",
3844
3396
  "declaration": {
3845
- "name": "ConfidentialOverlay",
3846
- "module": "src/modeller/scene-viewer/confidential-overlay.ts"
3397
+ "name": "SwipeListener",
3398
+ "module": "src/utils/swipe-listener.ts"
3847
3399
  }
3848
3400
  }
3849
3401
  ]
3850
3402
  },
3851
3403
  {
3852
3404
  "kind": "javascript-module",
3853
- "path": "src/modeller/scene-viewer/ox-scene-handler.ts",
3405
+ "path": "src/modeller/component-toolbar/component-detail.ts",
3854
3406
  "declarations": [
3855
3407
  {
3856
3408
  "kind": "class",
3857
3409
  "description": "",
3858
- "name": "OxSceneHandler",
3410
+ "name": "ComponentDetail",
3859
3411
  "members": [
3860
3412
  {
3861
3413
  "kind": "field",
3862
- "name": "type",
3863
- "type": {
3864
- "text": "string"
3865
- },
3866
- "attribute": "type"
3867
- },
3868
- {
3869
- "kind": "field",
3870
- "name": "model",
3414
+ "name": "template",
3871
3415
  "type": {
3872
- "text": "{\n type: Object\n notify: true\n }"
3416
+ "text": "{ about: string } | null"
3873
3417
  },
3874
- "attribute": "model"
3418
+ "default": "null",
3419
+ "attribute": "template"
3875
3420
  }
3876
3421
  ],
3877
3422
  "attributes": [
3878
3423
  {
3879
- "name": "type",
3880
- "type": {
3881
- "text": "string"
3882
- },
3883
- "fieldName": "type"
3884
- },
3885
- {
3886
- "name": "model",
3424
+ "name": "template",
3887
3425
  "type": {
3888
- "text": "{\n type: Object\n notify: true\n }"
3426
+ "text": "{ about: string } | null"
3889
3427
  },
3890
- "fieldName": "model"
3428
+ "default": "null",
3429
+ "fieldName": "template"
3891
3430
  }
3892
3431
  ],
3893
3432
  "superclass": {
3894
3433
  "name": "LitElement",
3895
3434
  "package": "lit"
3896
3435
  },
3897
- "tagName": "ox-scene-handler",
3436
+ "tagName": "component-detail",
3898
3437
  "customElement": true
3899
3438
  }
3900
3439
  ],
3901
3440
  "exports": [
3902
- {
3903
- "kind": "js",
3904
- "name": "default",
3905
- "declaration": {
3906
- "name": "OxSceneHandler",
3907
- "module": "src/modeller/scene-viewer/ox-scene-handler.ts"
3908
- }
3909
- },
3910
3441
  {
3911
3442
  "kind": "custom-element-definition",
3912
- "name": "ox-scene-handler",
3443
+ "name": "component-detail",
3913
3444
  "declaration": {
3914
- "name": "OxSceneHandler",
3915
- "module": "src/modeller/scene-viewer/ox-scene-handler.ts"
3445
+ "name": "ComponentDetail",
3446
+ "module": "src/modeller/component-toolbar/component-detail.ts"
3916
3447
  }
3917
3448
  }
3918
3449
  ]
3919
3450
  },
3920
3451
  {
3921
3452
  "kind": "javascript-module",
3922
- "path": "src/modeller/scene-viewer/ox-scene-layer.ts",
3453
+ "path": "src/modeller/component-toolbar/component-menu.ts",
3923
3454
  "declarations": [
3924
3455
  {
3925
3456
  "kind": "class",
3926
3457
  "description": "",
3927
- "name": "OxSceneLayer",
3458
+ "name": "ComponentMenu",
3928
3459
  "members": [
3929
3460
  {
3930
3461
  "kind": "field",
3931
- "name": "type",
3462
+ "name": "groups",
3932
3463
  "type": {
3933
- "text": "String | undefined"
3464
+ "text": "Pallet[]"
3934
3465
  },
3935
- "attribute": "type"
3466
+ "default": "[]",
3467
+ "attribute": "groups"
3936
3468
  },
3937
3469
  {
3938
3470
  "kind": "field",
3939
- "name": "text",
3471
+ "name": "scene",
3940
3472
  "type": {
3941
- "text": "String | undefined"
3473
+ "text": "Scene | null"
3942
3474
  },
3943
- "attribute": "text"
3475
+ "default": "null",
3476
+ "attribute": "scene"
3477
+ },
3478
+ {
3479
+ "kind": "field",
3480
+ "name": "group",
3481
+ "type": {
3482
+ "text": "string | null"
3483
+ },
3484
+ "default": "''",
3485
+ "attribute": "group"
3486
+ },
3487
+ {
3488
+ "kind": "field",
3489
+ "name": "templates",
3490
+ "type": {
3491
+ "text": "PalletItem[]"
3492
+ },
3493
+ "default": "[]"
3494
+ },
3495
+ {
3496
+ "kind": "field",
3497
+ "name": "template",
3498
+ "type": {
3499
+ "text": "PalletItem | any"
3500
+ }
3501
+ },
3502
+ {
3503
+ "kind": "field",
3504
+ "name": "detail",
3505
+ "type": {
3506
+ "text": "HTMLElement"
3507
+ }
3944
3508
  },
3945
3509
  {
3946
3510
  "kind": "method",
3947
- "name": "getModel"
3511
+ "name": "findTemplate",
3512
+ "parameters": [
3513
+ {
3514
+ "name": "type",
3515
+ "type": {
3516
+ "text": "string | null | undefined"
3517
+ }
3518
+ }
3519
+ ]
3520
+ },
3521
+ {
3522
+ "kind": "method",
3523
+ "name": "onHoverComponent",
3524
+ "parameters": [
3525
+ {
3526
+ "name": "e",
3527
+ "type": {
3528
+ "text": "MouseEvent"
3529
+ }
3530
+ }
3531
+ ]
3532
+ },
3533
+ {
3534
+ "kind": "method",
3535
+ "name": "onClickTemplate",
3536
+ "parameters": [
3537
+ {
3538
+ "name": "e",
3539
+ "type": {
3540
+ "text": "MouseEvent"
3541
+ }
3542
+ }
3543
+ ]
3544
+ },
3545
+ {
3546
+ "kind": "method",
3547
+ "name": "templateIcon",
3548
+ "parameters": [
3549
+ {
3550
+ "name": "template",
3551
+ "type": {
3552
+ "text": "PalletItem"
3553
+ }
3554
+ }
3555
+ ]
3948
3556
  }
3949
3557
  ],
3950
3558
  "attributes": [
3951
3559
  {
3952
- "name": "type",
3560
+ "name": "groups",
3953
3561
  "type": {
3954
- "text": "String | undefined"
3562
+ "text": "Pallet[]"
3955
3563
  },
3956
- "fieldName": "type"
3564
+ "default": "[]",
3565
+ "fieldName": "groups"
3957
3566
  },
3958
3567
  {
3959
- "name": "text",
3568
+ "name": "scene",
3960
3569
  "type": {
3961
- "text": "String | undefined"
3570
+ "text": "Scene | null"
3962
3571
  },
3963
- "fieldName": "text"
3572
+ "default": "null",
3573
+ "fieldName": "scene"
3574
+ },
3575
+ {
3576
+ "name": "group",
3577
+ "type": {
3578
+ "text": "string | null"
3579
+ },
3580
+ "default": "''",
3581
+ "fieldName": "group"
3964
3582
  }
3965
3583
  ],
3966
3584
  "superclass": {
3967
3585
  "name": "LitElement",
3968
3586
  "package": "lit"
3969
3587
  },
3970
- "tagName": "ox-scene-layer",
3588
+ "tagName": "component-menu",
3971
3589
  "customElement": true
3972
3590
  }
3973
3591
  ],
3974
3592
  "exports": [
3975
- {
3976
- "kind": "js",
3977
- "name": "default",
3978
- "declaration": {
3979
- "name": "OxSceneLayer",
3980
- "module": "src/modeller/scene-viewer/ox-scene-layer.ts"
3981
- }
3982
- },
3983
3593
  {
3984
3594
  "kind": "custom-element-definition",
3985
- "name": "ox-scene-layer",
3595
+ "name": "component-menu",
3986
3596
  "declaration": {
3987
- "name": "OxSceneLayer",
3988
- "module": "src/modeller/scene-viewer/ox-scene-layer.ts"
3597
+ "name": "ComponentMenu",
3598
+ "module": "src/modeller/component-toolbar/component-menu.ts"
3989
3599
  }
3990
3600
  }
3991
3601
  ]
3992
3602
  },
3993
3603
  {
3994
3604
  "kind": "javascript-module",
3995
- "path": "src/modeller/scene-viewer/ox-scene-player.ts",
3605
+ "path": "src/modeller/component-toolbar/component-toolbar.ts",
3996
3606
  "declarations": [
3997
3607
  {
3998
3608
  "kind": "class",
3999
3609
  "description": "",
4000
- "name": "OxScenePlayer",
3610
+ "name": "ComponentToolbar",
4001
3611
  "members": [
4002
3612
  {
4003
3613
  "kind": "field",
4004
- "name": "sceneId",
3614
+ "name": "componentGroupList",
3615
+ "type": {
3616
+ "text": "ComponentGroup[]"
3617
+ },
3618
+ "default": "[]",
3619
+ "attribute": "componentGroupList"
3620
+ },
3621
+ {
3622
+ "kind": "field",
3623
+ "name": "group",
4005
3624
  "type": {
4006
- "text": "string"
3625
+ "text": "string | null | undefined"
4007
3626
  },
4008
- "default": "''",
4009
- "attribute": "sceneId"
3627
+ "attribute": "group"
4010
3628
  },
4011
3629
  {
4012
3630
  "kind": "field",
4013
- "name": "fit",
3631
+ "name": "scene",
4014
3632
  "type": {
4015
- "text": "'none' | 'both' | 'width' | 'height' | 'center' | 'ratio'"
3633
+ "text": "Scene"
4016
3634
  },
4017
- "default": "'ratio'",
4018
- "attribute": "fit"
3635
+ "attribute": "scene"
4019
3636
  },
4020
3637
  {
4021
3638
  "kind": "field",
4022
- "name": "provider",
3639
+ "name": "mode",
4023
3640
  "type": {
4024
- "text": "any"
3641
+ "text": "SCENE_MODE"
4025
3642
  },
4026
- "attribute": "provider"
3643
+ "attribute": "mode"
4027
3644
  },
4028
3645
  {
4029
3646
  "kind": "field",
4030
- "name": "scene",
3647
+ "name": "shift",
4031
3648
  "type": {
4032
- "text": "Scene | undefined"
3649
+ "text": "HTMLImageElement"
3650
+ }
3651
+ },
3652
+ {
3653
+ "kind": "field",
3654
+ "name": "menu",
3655
+ "type": {
3656
+ "text": "HTMLElement"
3657
+ },
3658
+ "privacy": "private"
3659
+ },
3660
+ {
3661
+ "kind": "field",
3662
+ "name": "groups",
3663
+ "type": {
3664
+ "text": "NodeListOf<HTMLElement>"
4033
3665
  },
4034
3666
  "privacy": "private"
4035
3667
  },
3668
+ {
3669
+ "kind": "field",
3670
+ "name": "icons",
3671
+ "type": {
3672
+ "text": "{ [name: string]: string }"
3673
+ },
3674
+ "privacy": "private",
3675
+ "default": "{}"
3676
+ },
4036
3677
  {
4037
3678
  "kind": "method",
4038
- "name": "_releaseRef"
3679
+ "name": "_setMode",
3680
+ "parameters": [
3681
+ {
3682
+ "name": "mode",
3683
+ "type": {
3684
+ "text": "SCENE_MODE"
3685
+ }
3686
+ }
3687
+ ]
4039
3688
  },
4040
3689
  {
4041
3690
  "kind": "method",
4042
- "name": "_onSceneIdChanged"
3691
+ "name": "_onClickShift",
3692
+ "parameters": [
3693
+ {
3694
+ "name": "e",
3695
+ "type": {
3696
+ "text": "MouseEvent"
3697
+ }
3698
+ }
3699
+ ]
3700
+ },
3701
+ {
3702
+ "kind": "method",
3703
+ "name": "_onClickGroup",
3704
+ "parameters": [
3705
+ {
3706
+ "name": "e",
3707
+ "type": {
3708
+ "text": "MouseEvent"
3709
+ }
3710
+ }
3711
+ ]
3712
+ }
3713
+ ],
3714
+ "events": [
3715
+ {
3716
+ "name": "mode-changed",
3717
+ "type": {
3718
+ "text": "CustomEvent"
3719
+ }
4043
3720
  }
4044
3721
  ],
4045
3722
  "attributes": [
4046
3723
  {
4047
- "name": "sceneId",
3724
+ "name": "componentGroupList",
4048
3725
  "type": {
4049
- "text": "string"
3726
+ "text": "ComponentGroup[]"
4050
3727
  },
4051
- "default": "''",
4052
- "fieldName": "sceneId"
3728
+ "default": "[]",
3729
+ "fieldName": "componentGroupList"
4053
3730
  },
4054
3731
  {
4055
- "name": "fit",
3732
+ "name": "group",
4056
3733
  "type": {
4057
- "text": "'none' | 'both' | 'width' | 'height' | 'center' | 'ratio'"
3734
+ "text": "string | null | undefined"
4058
3735
  },
4059
- "default": "'ratio'",
4060
- "fieldName": "fit"
3736
+ "fieldName": "group"
4061
3737
  },
4062
3738
  {
4063
- "name": "provider",
3739
+ "name": "scene",
4064
3740
  "type": {
4065
- "text": "any"
3741
+ "text": "Scene"
4066
3742
  },
4067
- "fieldName": "provider"
3743
+ "fieldName": "scene"
3744
+ },
3745
+ {
3746
+ "name": "mode",
3747
+ "type": {
3748
+ "text": "SCENE_MODE"
3749
+ },
3750
+ "fieldName": "mode"
4068
3751
  }
4069
3752
  ],
4070
3753
  "superclass": {
4071
3754
  "name": "LitElement",
4072
3755
  "package": "lit"
4073
3756
  },
4074
- "tagName": "things-scene-player",
3757
+ "tagName": "component-toolbar",
4075
3758
  "customElement": true
4076
3759
  }
4077
3760
  ],
4078
3761
  "exports": [
4079
3762
  {
4080
3763
  "kind": "custom-element-definition",
4081
- "name": "things-scene-player",
3764
+ "name": "component-toolbar",
4082
3765
  "declaration": {
4083
- "name": "OxScenePlayer",
4084
- "module": "src/modeller/scene-viewer/ox-scene-player.ts"
3766
+ "name": "ComponentToolbar",
3767
+ "module": "src/modeller/component-toolbar/component-toolbar.ts"
4085
3768
  }
4086
3769
  }
4087
3770
  ]
4088
3771
  },
4089
3772
  {
4090
3773
  "kind": "javascript-module",
4091
- "path": "src/modeller/scene-viewer/ox-scene-property.ts",
3774
+ "path": "src/modeller/component-toolbar/mode-icons.ts",
3775
+ "declarations": [
3776
+ {
3777
+ "kind": "variable",
3778
+ "name": "ICON_EDIT_MODE",
3779
+ "default": "`\n <svg\n version=\"1.1\"\n id=\"Layer_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 30 30\"\n style=\"enable-background:new 0 0 30 30;\"\n xml:space=\"preserve\"\n >\n <style type=\"text/css\">\n .st0 {\n fill: {{strokeColor}};\n }\n .st1 {\n fill: none;\n stroke: {{strokeColor}};\n stroke-width: 0.75;\n stroke-linejoin: round;\n stroke-miterlimit: 10;\n }\n </style>\n <g>\n <polygon class=\"st0\" points=\"2.7,3.9 2.7,22.8 7.8,17.2 16.1,16.9 \t\" />\n <path\n class=\"st1\"\n d=\"M27.7,20.1L26.1,19c-0.1,0-0.2,0-0.2,0c0,0.1,0,0.2,0,0.2l1.2,0.9h-4.9v-5l0.9,1.2c0,0,0.1,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0c0.1,0,0.1-0.1,0-0.2l-1.1-1.6c-0.1-0.1-0.2-0.1-0.2,0L20.8,16c0,0.1,0,0.2,0,0.2s0.2,0,0.2,0l0.9-1.2v5h-5\n l1.2-0.9c0.1,0,0.1-0.1,0-0.2c0-0.1-0.1-0.1-0.2,0l-1.6,1.1c0,0-0.1,0.1-0.1,0.1c0,0,0,0.1,0.1,0.1l1.6,1.1c0,0,0.1,0,0.1,0\n c0,0,0.1,0,0.1-0.1c0-0.1,0-0.2,0-0.2l-1.2-0.9h5v5L21,24.2c0-0.1-0.1-0.1-0.2,0c-0.1,0-0.1,0.1,0,0.2l1.1,1.6c0,0,0.1,0.1,0.1,0.1\n s0.1,0,0.1-0.1l1.1-1.6c0-0.1,0-0.2,0-0.2c-0.1,0-0.2,0-0.2,0l-0.9,1.2v-5h4.9l-1.2,0.9c-0.1,0-0.1,0.1,0,0.2c0,0,0.1,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0l1.6-1.1c0,0,0.1-0.1,0.1-0.1C27.7,20.2,27.7,20.1,27.7,20.1z\"\n />\n </g>\n </svg>\n`"
3780
+ },
3781
+ {
3782
+ "kind": "variable",
3783
+ "name": "ICON_SHIFT_MODE",
3784
+ "default": "`\n <svg\n version=\"1.1\"\n id=\"Layer_1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 30 30\"\n style=\"enable-background:new 0 0 30 30;\"\n xml:space=\"preserve\"\n >\n <style type=\"text/css\">\n .st0 {\n fill-rule: evenodd;\n clip-rule: evenodd;\n }\n .st1 {\n fill: {{strokeColor}};\n stroke: {{strokeColor}};\n stroke-width: 0.75;\n stroke-linejoin: round;\n stroke-miterlimit: 10;\n }\n </style>\n <g>\n <path\n class=\"st0\"\n d=\"M7.8,23.2c1.6,0,3.8,0,5.7,0c0.8,0,1.3-0.3,1.6-1.2c0.4-2.9,1.5-4.9,2.4-6.9s1.4-2.5,1.6-3.4\n c0.1-0.5,0.2-1.6-0.4-1.9c-0.6-0.3-1.2,0.1-1.9,1.3c-0.8,1.6-1,2-1.4,2c-0.3,0-0.1-4,0-5.4c0.1-1.3-0.6-1.8-1.3-1.8\n c-0.8-0.1-1.5,0.4-1.5,1.5c0,1.5-0.2,5.2-0.7,5.2c-0.4,0-0.3-4.3-0.6-6.7c-0.1-1-0.6-1.8-1.5-1.8C9.1,4.2,8.4,4.7,8.3,5.8\n c-0.1,1.3,1,6.7,0.5,6.7c-0.4,0-1.4-3.3-2.3-5.1C6,6.5,5.6,6,4.6,6.4C3.9,6.7,3.5,7.6,3.8,8.5c0.5,1.2,2.7,6.8,2.2,6.8\n c-0.4,0-1.4-1.4-2.7-2.1c-1.1-0.6-1.8-0.4-2.1-0.1c-0.4,0.3-0.7,1,0.9,2.8c0.6,0.6,3.1,2.3,3.7,3.2c0.7,1.3,0.6,1,0.8,2.8\n C6.7,22.7,7,23.2,7.8,23.2z\"\n />\n <path\n class=\"st1\"\n d=\"M28.7,20.1L27.1,19c-0.1,0-0.2,0-0.2,0c0,0.1,0,0.2,0,0.2l1.2,0.9h-4.9v-5l0.9,1.2c0,0,0.1,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0c0.1,0,0.1-0.1,0-0.2l-1.1-1.6c-0.1-0.1-0.2-0.1-0.2,0L21.8,16c0,0.1,0,0.2,0,0.2s0.2,0,0.2,0l0.9-1.2v5h-5\n l1.2-0.9c0.1,0,0.1-0.1,0-0.2c0-0.1-0.1-0.1-0.2,0l-1.6,1.1c0,0-0.1,0.1-0.1,0.1c0,0,0,0.1,0.1,0.1l1.6,1.1c0,0,0.1,0,0.1,0\n c0,0,0.1,0,0.1-0.1c0-0.1,0-0.2,0-0.2l-1.2-0.9h5v5L22,24.2c0-0.1-0.1-0.1-0.2,0c-0.1,0-0.1,0.1,0,0.2l1.1,1.6c0,0,0.1,0.1,0.1,0.1\n s0.1,0,0.1-0.1l1.1-1.6c0-0.1,0-0.2,0-0.2c-0.1,0-0.2,0-0.2,0l-0.9,1.2v-5h4.9l-1.2,0.9c-0.1,0-0.1,0.1,0,0.2c0,0,0.1,0.1,0.1,0.1\n c0,0,0.1,0,0.1,0l1.6-1.1c0,0,0.1-0.1,0.1-0.1C28.7,20.2,28.7,20.1,28.7,20.1z\"\n />\n </g>\n </svg>\n`"
3785
+ }
3786
+ ],
3787
+ "exports": [
3788
+ {
3789
+ "kind": "js",
3790
+ "name": "ICON_EDIT_MODE",
3791
+ "declaration": {
3792
+ "name": "ICON_EDIT_MODE",
3793
+ "module": "src/modeller/component-toolbar/mode-icons.ts"
3794
+ }
3795
+ },
3796
+ {
3797
+ "kind": "js",
3798
+ "name": "ICON_SHIFT_MODE",
3799
+ "declaration": {
3800
+ "name": "ICON_SHIFT_MODE",
3801
+ "module": "src/modeller/component-toolbar/mode-icons.ts"
3802
+ }
3803
+ }
3804
+ ]
3805
+ },
3806
+ {
3807
+ "kind": "javascript-module",
3808
+ "path": "src/modeller/property-sidebar/abstract-property.ts",
4092
3809
  "declarations": [
4093
3810
  {
4094
3811
  "kind": "class",
4095
3812
  "description": "",
4096
- "name": "OxSceneProperty",
3813
+ "name": "AbstractProperty",
4097
3814
  "members": [
4098
3815
  {
4099
- "kind": "field",
4100
- "name": "name",
4101
- "type": {
4102
- "text": "string"
4103
- },
4104
- "attribute": "name"
3816
+ "kind": "method",
3817
+ "name": "_onValueChange",
3818
+ "parameters": [
3819
+ {
3820
+ "name": "e",
3821
+ "type": {
3822
+ "text": "Event"
3823
+ }
3824
+ }
3825
+ ]
4105
3826
  },
4106
3827
  {
4107
- "kind": "field",
4108
- "name": "value",
4109
- "type": {
4110
- "text": "string"
4111
- },
4112
- "attribute": "value"
3828
+ "kind": "method",
3829
+ "name": "_getValueFromEventTarget",
3830
+ "parameters": [
3831
+ {
3832
+ "name": "element",
3833
+ "type": {
3834
+ "text": "HTMLElement"
3835
+ }
3836
+ }
3837
+ ]
4113
3838
  },
4114
3839
  {
4115
- "kind": "field",
4116
- "name": "type",
4117
- "type": {
4118
- "text": "string"
4119
- },
4120
- "attribute": "type"
3840
+ "kind": "method",
3841
+ "name": "_onAfterValueChange",
3842
+ "parameters": [
3843
+ {
3844
+ "name": "key",
3845
+ "type": {
3846
+ "text": "string"
3847
+ }
3848
+ },
3849
+ {
3850
+ "name": "value",
3851
+ "type": {
3852
+ "text": "any"
3853
+ }
3854
+ }
3855
+ ]
4121
3856
  }
4122
3857
  ],
4123
- "attributes": [
4124
- {
4125
- "name": "name",
4126
- "type": {
4127
- "text": "string"
4128
- },
4129
- "fieldName": "name"
4130
- },
4131
- {
4132
- "name": "value",
4133
- "type": {
4134
- "text": "string"
4135
- },
4136
- "fieldName": "value"
4137
- },
3858
+ "events": [
4138
3859
  {
4139
- "name": "type",
3860
+ "name": "property-change",
4140
3861
  "type": {
4141
- "text": "string"
4142
- },
4143
- "fieldName": "type"
3862
+ "text": "CustomEvent"
3863
+ }
4144
3864
  }
4145
3865
  ],
4146
3866
  "superclass": {
4147
3867
  "name": "LitElement",
4148
3868
  "package": "lit"
4149
3869
  },
4150
- "tagName": "ox-scene-property",
4151
3870
  "customElement": true
4152
3871
  }
4153
3872
  ],
4154
3873
  "exports": [
4155
3874
  {
4156
3875
  "kind": "js",
4157
- "name": "default",
4158
- "declaration": {
4159
- "name": "OxSceneProperty",
4160
- "module": "src/modeller/scene-viewer/ox-scene-property.ts"
4161
- }
4162
- },
4163
- {
4164
- "kind": "custom-element-definition",
4165
- "name": "ox-scene-property",
3876
+ "name": "AbstractProperty",
3877
+ "declaration": {
3878
+ "name": "AbstractProperty",
3879
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
3880
+ }
3881
+ }
3882
+ ]
3883
+ },
3884
+ {
3885
+ "kind": "javascript-module",
3886
+ "path": "src/modeller/property-sidebar/property-shared-style.ts",
3887
+ "declarations": [
3888
+ {
3889
+ "kind": "variable",
3890
+ "name": "PropertySharedStyle",
3891
+ "default": "css`\n fieldset {\n border: none;\n margin: 4px;\n padding: 9px 4px 9px 4px;\n border-bottom: var(--property-sidebar-fieldset-border);\n color: var(--property-sidebar-fieldset-legend-color);\n font: var(--property-sidebar-fieldset-label);\n }\n\n fieldset legend {\n padding: 5px 0 0 5px;\n color: var(--property-sidebar-fieldset-legend-color);\n font: var(--property-sidebar-fieldset-legend);\n text-transform: capitalize;\n }\n\n select,\n input {\n border: var(--property-sidebar-fieldset-border);\n }\n\n /* property grid */\n .property-grid {\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n grid-auto-rows: minmax(24px, auto);\n align-items: center;\n }\n\n .property-grid > * {\n width: 100%;\n box-sizing: border-box;\n }\n\n .property-grid > label {\n grid-column: span 3;\n text-align: right;\n text-transform: capitalize;\n line-height: 2;\n }\n\n .property-grid > input,\n .property-grid > table,\n .property-grid > select,\n .property-grid > ox-input-angle,\n .property-grid > ox-buttons-radio,\n .property-grid > things-editor-color,\n [custom-editor] {\n grid-column: span 7;\n align-self: stretch;\n }\n\n .property-grid > .checkbox-row {\n grid-column: span 10;\n }\n\n .property-grid > .property-full-label {\n grid-column: span 3;\n text-align: right;\n text-transform: capitalize;\n }\n\n .property-grid > .property-half-label {\n grid-column: span 1;\n }\n\n .property-grid > .property-full-input {\n grid-column: span 7;\n }\n\n .property-grid > .property-half-input {\n grid-column: span 4;\n }\n\n /* checkbox-row */\n .checkbox-row {\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n grid-auto-rows: minmax(24px, auto);\n align-items: center;\n }\n\n .checkbox-row > input {\n grid-column: 4 / 5;\n }\n\n .checkbox-row > label {\n grid-column: span 6;\n text-align: left;\n }\n\n /* image resources */\n .icon-only-label {\n grid-column: span 1;\n\n background: var(--url-icon-properties-label) no-repeat;\n float: left;\n margin: 0;\n align-self: stretch;\n }\n\n .icon-only-label.color {\n background-position: 100% -500px;\n }\n .icon-only-label.font-size {\n background-position: 100% -594px;\n }\n .icon-only-label.leading {\n background-position: 100% -696px;\n }\n .icon-only-label.hscale {\n background-position: 100% -296px;\n }\n .icon-only-label.vscale {\n background-position: 100% -396px;\n }\n .icon-only-label.linewidth {\n background-position: 100% -894px;\n }\n .icon-only-label.lineHeight {\n background-position: 100% -995px;\n }\n`"
3892
+ }
3893
+ ],
3894
+ "exports": [
3895
+ {
3896
+ "kind": "js",
3897
+ "name": "PropertySharedStyle",
4166
3898
  "declaration": {
4167
- "name": "OxSceneProperty",
4168
- "module": "src/modeller/scene-viewer/ox-scene-property.ts"
3899
+ "name": "PropertySharedStyle",
3900
+ "module": "src/modeller/property-sidebar/property-shared-style.ts"
4169
3901
  }
4170
3902
  }
4171
3903
  ]
4172
3904
  },
4173
3905
  {
4174
3906
  "kind": "javascript-module",
4175
- "path": "src/modeller/scene-viewer/ox-scene-viewer.ts",
3907
+ "path": "src/modeller/property-sidebar/property-sidebar.ts",
4176
3908
  "declarations": [
4177
3909
  {
4178
3910
  "kind": "class",
4179
3911
  "description": "",
4180
- "name": "OxSceneViewer",
3912
+ "name": "PropertySidebar",
4181
3913
  "members": [
4182
3914
  {
4183
3915
  "kind": "field",
@@ -4190,54 +3922,21 @@
4190
3922
  },
4191
3923
  {
4192
3924
  "kind": "field",
4193
- "name": "model",
4194
- "type": {
4195
- "text": "Model | undefined"
4196
- },
4197
- "attribute": "model"
4198
- },
4199
- {
4200
- "kind": "field",
4201
- "name": "mode",
4202
- "type": {
4203
- "text": "SCENE_MODE"
4204
- },
4205
- "attribute": "mode"
4206
- },
4207
- {
4208
- "kind": "field",
4209
- "name": "screenSize",
4210
- "type": {
4211
- "text": "number"
4212
- },
4213
- "default": "13.3",
4214
- "attribute": "screenSize"
4215
- },
4216
- {
4217
- "kind": "field",
4218
- "name": "variables",
4219
- "type": {
4220
- "text": "Properties"
4221
- },
4222
- "default": "{}",
4223
- "attribute": "variables"
4224
- },
4225
- {
4226
- "kind": "field",
4227
- "name": "data",
3925
+ "name": "bounds",
4228
3926
  "type": {
4229
3927
  "text": "any"
4230
3928
  },
4231
- "attribute": "data"
3929
+ "default": "{}",
3930
+ "attribute": "bounds"
4232
3931
  },
4233
3932
  {
4234
3933
  "kind": "field",
4235
- "name": "fit",
3934
+ "name": "model",
4236
3935
  "type": {
4237
- "text": "FITMODE"
3936
+ "text": "Model | null"
4238
3937
  },
4239
- "default": "'none'",
4240
- "attribute": "fit"
3938
+ "default": "{}",
3939
+ "attribute": "model"
4241
3940
  },
4242
3941
  {
4243
3942
  "kind": "field",
@@ -4250,123 +3949,94 @@
4250
3949
  },
4251
3950
  {
4252
3951
  "kind": "field",
4253
- "name": "disposeWhenDetached",
4254
- "type": {
4255
- "text": "boolean"
4256
- },
4257
- "default": "false",
4258
- "attribute": "disposeWhenDetached"
4259
- },
4260
- {
4261
- "kind": "field",
4262
- "name": "baseUrl",
3952
+ "name": "specificProps",
4263
3953
  "type": {
4264
- "text": "string"
3954
+ "text": "any"
4265
3955
  },
4266
- "default": "''",
4267
- "attribute": "baseUrl"
3956
+ "attribute": "specificProps"
4268
3957
  },
4269
3958
  {
4270
3959
  "kind": "field",
4271
- "name": "provider",
3960
+ "name": "tabName",
4272
3961
  "type": {
4273
- "text": "any"
3962
+ "text": "string | null"
4274
3963
  },
4275
- "attribute": "provider"
3964
+ "default": "'shape'",
3965
+ "attribute": "tabName"
4276
3966
  },
4277
3967
  {
4278
3968
  "kind": "field",
4279
- "name": "name",
3969
+ "name": "collapsed",
4280
3970
  "type": {
4281
- "text": "string"
3971
+ "text": "boolean"
4282
3972
  },
4283
- "default": "'noname'",
4284
- "attribute": "name"
3973
+ "default": "false",
3974
+ "attribute": "collapsed"
4285
3975
  },
4286
3976
  {
4287
3977
  "kind": "field",
4288
- "name": "enableInspector",
3978
+ "name": "fonts",
4289
3979
  "type": {
4290
- "text": "boolean"
3980
+ "text": "any[]"
4291
3981
  },
4292
- "default": "true",
4293
- "attribute": "enableInspector"
3982
+ "default": "[]",
3983
+ "attribute": "fonts"
4294
3984
  },
4295
3985
  {
4296
3986
  "kind": "field",
4297
- "name": "showInspector",
3987
+ "name": "propertyEditor",
4298
3988
  "type": {
4299
- "text": "boolean"
3989
+ "text": "any[]"
4300
3990
  },
4301
- "default": "false",
4302
- "attribute": "showInspector"
3991
+ "default": "[]",
3992
+ "attribute": "propertyEditor"
4303
3993
  },
4304
3994
  {
4305
3995
  "kind": "field",
4306
- "name": "lastOffsetWidth",
3996
+ "name": "propertyTarget",
4307
3997
  "type": {
4308
- "text": "number | undefined"
3998
+ "text": "Component | null"
4309
3999
  },
4310
- "privacy": "private"
4311
- },
4312
- {
4313
- "kind": "method",
4314
- "name": "_setScene",
4315
- "parameters": [
4316
- {
4317
- "name": "scene",
4318
- "type": {
4319
- "text": "Scene | null"
4320
- }
4321
- }
4322
- ]
4000
+ "default": "null"
4323
4001
  },
4324
4002
  {
4325
4003
  "kind": "method",
4326
- "name": "_setMode",
4004
+ "name": "_onPropertyChanged",
4327
4005
  "parameters": [
4328
4006
  {
4329
- "name": "mode",
4007
+ "name": "e",
4330
4008
  "type": {
4331
- "text": "SCENE_MODE"
4009
+ "text": "CustomEvent"
4332
4010
  }
4333
4011
  }
4334
4012
  ]
4335
4013
  },
4336
4014
  {
4337
4015
  "kind": "method",
4338
- "name": "_setVariables",
4016
+ "name": "_onBoundsChanged",
4339
4017
  "parameters": [
4340
4018
  {
4341
- "name": "variables",
4019
+ "name": "e",
4342
4020
  "type": {
4343
- "text": "Properties"
4021
+ "text": "CustomEvent"
4344
4022
  }
4345
4023
  }
4346
4024
  ]
4347
4025
  },
4348
4026
  {
4349
4027
  "kind": "method",
4350
- "name": "_setSelected",
4351
- "parameters": [
4352
- {
4353
- "name": "selected",
4354
- "type": {
4355
- "text": "Component[]"
4356
- }
4357
- }
4358
- ]
4028
+ "name": "_onChangedByScene"
4359
4029
  },
4360
4030
  {
4361
4031
  "kind": "method",
4362
- "name": "_disposeScene"
4032
+ "name": "_setPropertyTargetAsDefault"
4363
4033
  },
4364
4034
  {
4365
4035
  "kind": "method",
4366
- "name": "resize",
4036
+ "name": "_onCollapsed",
4367
4037
  "parameters": [
4368
4038
  {
4369
- "name": "force",
4039
+ "name": "collapsed",
4370
4040
  "type": {
4371
4041
  "text": "boolean"
4372
4042
  }
@@ -4375,360 +4045,506 @@
4375
4045
  },
4376
4046
  {
4377
4047
  "kind": "method",
4378
- "name": "_onModelChanged",
4379
- "parameters": [
4380
- {
4381
- "name": "model",
4382
- "optional": true,
4383
- "type": {
4384
- "text": "Model"
4385
- }
4386
- }
4387
- ]
4048
+ "name": "_onSceneChanged"
4388
4049
  },
4389
4050
  {
4390
4051
  "kind": "method",
4391
- "name": "_onDisplayChanged",
4052
+ "name": "_onSelectedChanged",
4392
4053
  "parameters": [
4393
4054
  {
4394
- "name": "screenSize",
4055
+ "name": "after",
4395
4056
  "type": {
4396
- "text": "string | number"
4057
+ "text": "Component[]"
4397
4058
  }
4398
4059
  }
4399
4060
  ]
4400
4061
  },
4401
4062
  {
4402
4063
  "kind": "method",
4403
- "name": "_onModeChanged",
4064
+ "name": "_setPropertyTarget",
4404
4065
  "parameters": [
4405
4066
  {
4406
- "name": "mode",
4067
+ "name": "newTarget",
4407
4068
  "type": {
4408
- "text": "SCENE_MODE"
4069
+ "text": "Component | null"
4409
4070
  }
4410
4071
  }
4411
4072
  ]
4412
4073
  },
4413
4074
  {
4414
4075
  "kind": "method",
4415
- "name": "_onDataChanged",
4076
+ "name": "_setBounds",
4416
4077
  "parameters": [
4417
4078
  {
4418
- "name": "data",
4079
+ "name": "bounds",
4419
4080
  "type": {
4420
- "text": "any"
4081
+ "text": "BOUNDS"
4421
4082
  }
4422
4083
  }
4423
4084
  ]
4085
+ }
4086
+ ],
4087
+ "attributes": [
4088
+ {
4089
+ "name": "scene",
4090
+ "type": {
4091
+ "text": "Scene | null"
4092
+ },
4093
+ "default": "null",
4094
+ "fieldName": "scene"
4424
4095
  },
4425
4096
  {
4426
- "kind": "method",
4427
- "name": "_onSelectedChanged",
4428
- "parameters": [
4429
- {
4430
- "name": "after",
4431
- "type": {
4432
- "text": "Component[]"
4433
- }
4434
- }
4435
- ]
4097
+ "name": "bounds",
4098
+ "type": {
4099
+ "text": "any"
4100
+ },
4101
+ "default": "{}",
4102
+ "fieldName": "bounds"
4103
+ },
4104
+ {
4105
+ "name": "model",
4106
+ "type": {
4107
+ "text": "Model | null"
4108
+ },
4109
+ "default": "{}",
4110
+ "fieldName": "model"
4111
+ },
4112
+ {
4113
+ "name": "selected",
4114
+ "type": {
4115
+ "text": "Component[]"
4116
+ },
4117
+ "default": "[]",
4118
+ "fieldName": "selected"
4119
+ },
4120
+ {
4121
+ "name": "specificProps",
4122
+ "type": {
4123
+ "text": "any"
4124
+ },
4125
+ "fieldName": "specificProps"
4126
+ },
4127
+ {
4128
+ "name": "tabName",
4129
+ "type": {
4130
+ "text": "string | null"
4131
+ },
4132
+ "default": "'shape'",
4133
+ "fieldName": "tabName"
4134
+ },
4135
+ {
4136
+ "name": "collapsed",
4137
+ "type": {
4138
+ "text": "boolean"
4139
+ },
4140
+ "default": "false",
4141
+ "fieldName": "collapsed"
4436
4142
  },
4437
4143
  {
4438
- "kind": "method",
4439
- "name": "_onSceneModeChanged",
4440
- "parameters": [
4441
- {
4442
- "name": "after",
4443
- "type": {
4444
- "text": "SCENE_MODE"
4445
- }
4446
- }
4447
- ]
4144
+ "name": "fonts",
4145
+ "type": {
4146
+ "text": "any[]"
4147
+ },
4148
+ "default": "[]",
4149
+ "fieldName": "fonts"
4448
4150
  },
4151
+ {
4152
+ "name": "propertyEditor",
4153
+ "type": {
4154
+ "text": "any[]"
4155
+ },
4156
+ "default": "[]",
4157
+ "fieldName": "propertyEditor"
4158
+ }
4159
+ ],
4160
+ "superclass": {
4161
+ "name": "LitElement",
4162
+ "package": "lit"
4163
+ },
4164
+ "tagName": "property-sidebar",
4165
+ "customElement": true
4166
+ }
4167
+ ],
4168
+ "exports": [
4169
+ {
4170
+ "kind": "custom-element-definition",
4171
+ "name": "property-sidebar",
4172
+ "declaration": {
4173
+ "name": "PropertySidebar",
4174
+ "module": "src/modeller/property-sidebar/property-sidebar.ts"
4175
+ }
4176
+ }
4177
+ ]
4178
+ },
4179
+ {
4180
+ "kind": "javascript-module",
4181
+ "path": "src/modeller/scene-viewer/confidential-overlay.ts",
4182
+ "declarations": [
4183
+ {
4184
+ "kind": "class",
4185
+ "description": "",
4186
+ "name": "ConfidentialOverlay",
4187
+ "members": [
4449
4188
  {
4450
4189
  "kind": "method",
4451
- "name": "_onBaseUrlChanged",
4190
+ "name": "_draw",
4452
4191
  "parameters": [
4453
4192
  {
4454
- "name": "after",
4193
+ "name": "context",
4455
4194
  "type": {
4456
- "text": "string"
4195
+ "text": "CanvasRenderingContext2D"
4457
4196
  }
4458
4197
  }
4459
4198
  ]
4460
4199
  }
4461
4200
  ],
4462
- "events": [
4463
- {
4464
- "name": "scene-changed",
4465
- "type": {
4466
- "text": "CustomEvent"
4467
- }
4468
- },
4469
- {
4470
- "name": "mode-changed",
4471
- "type": {
4472
- "text": "CustomEvent"
4473
- }
4474
- },
4201
+ "superclass": {
4202
+ "name": "SceneLayer",
4203
+ "package": "@hatiolab/things-scene"
4204
+ }
4205
+ }
4206
+ ],
4207
+ "exports": [
4208
+ {
4209
+ "kind": "js",
4210
+ "name": "default",
4211
+ "declaration": {
4212
+ "name": "ConfidentialOverlay",
4213
+ "module": "src/modeller/scene-viewer/confidential-overlay.ts"
4214
+ }
4215
+ }
4216
+ ]
4217
+ },
4218
+ {
4219
+ "kind": "javascript-module",
4220
+ "path": "src/modeller/scene-viewer/ox-scene-handler.ts",
4221
+ "declarations": [
4222
+ {
4223
+ "kind": "class",
4224
+ "description": "",
4225
+ "name": "OxSceneHandler",
4226
+ "members": [
4475
4227
  {
4476
- "name": "variables-changed",
4228
+ "kind": "field",
4229
+ "name": "type",
4477
4230
  "type": {
4478
- "text": "CustomEvent"
4479
- }
4231
+ "text": "string"
4232
+ },
4233
+ "attribute": "type"
4480
4234
  },
4481
4235
  {
4482
- "name": "selected-changed",
4236
+ "kind": "field",
4237
+ "name": "model",
4483
4238
  "type": {
4484
- "text": "CustomEvent"
4485
- }
4239
+ "text": "{\n type: Object\n notify: true\n }"
4240
+ },
4241
+ "attribute": "model"
4486
4242
  }
4487
4243
  ],
4488
4244
  "attributes": [
4489
4245
  {
4490
- "name": "scene",
4246
+ "name": "type",
4491
4247
  "type": {
4492
- "text": "Scene | null"
4248
+ "text": "string"
4493
4249
  },
4494
- "default": "null",
4495
- "fieldName": "scene"
4250
+ "fieldName": "type"
4496
4251
  },
4497
4252
  {
4498
4253
  "name": "model",
4499
4254
  "type": {
4500
- "text": "Model | undefined"
4255
+ "text": "{\n type: Object\n notify: true\n }"
4501
4256
  },
4502
4257
  "fieldName": "model"
4503
- },
4258
+ }
4259
+ ],
4260
+ "superclass": {
4261
+ "name": "LitElement",
4262
+ "package": "lit"
4263
+ },
4264
+ "tagName": "ox-scene-handler",
4265
+ "customElement": true
4266
+ }
4267
+ ],
4268
+ "exports": [
4269
+ {
4270
+ "kind": "js",
4271
+ "name": "default",
4272
+ "declaration": {
4273
+ "name": "OxSceneHandler",
4274
+ "module": "src/modeller/scene-viewer/ox-scene-handler.ts"
4275
+ }
4276
+ },
4277
+ {
4278
+ "kind": "custom-element-definition",
4279
+ "name": "ox-scene-handler",
4280
+ "declaration": {
4281
+ "name": "OxSceneHandler",
4282
+ "module": "src/modeller/scene-viewer/ox-scene-handler.ts"
4283
+ }
4284
+ }
4285
+ ]
4286
+ },
4287
+ {
4288
+ "kind": "javascript-module",
4289
+ "path": "src/modeller/scene-viewer/ox-scene-layer.ts",
4290
+ "declarations": [
4291
+ {
4292
+ "kind": "class",
4293
+ "description": "",
4294
+ "name": "OxSceneLayer",
4295
+ "members": [
4504
4296
  {
4505
- "name": "mode",
4297
+ "kind": "field",
4298
+ "name": "type",
4506
4299
  "type": {
4507
- "text": "SCENE_MODE"
4300
+ "text": "String | undefined"
4508
4301
  },
4509
- "fieldName": "mode"
4302
+ "attribute": "type"
4510
4303
  },
4511
4304
  {
4512
- "name": "screenSize",
4305
+ "kind": "field",
4306
+ "name": "text",
4513
4307
  "type": {
4514
- "text": "number"
4308
+ "text": "String | undefined"
4515
4309
  },
4516
- "default": "13.3",
4517
- "fieldName": "screenSize"
4310
+ "attribute": "text"
4518
4311
  },
4519
4312
  {
4520
- "name": "variables",
4313
+ "kind": "method",
4314
+ "name": "getModel"
4315
+ }
4316
+ ],
4317
+ "attributes": [
4318
+ {
4319
+ "name": "type",
4521
4320
  "type": {
4522
- "text": "Properties"
4321
+ "text": "String | undefined"
4523
4322
  },
4524
- "default": "{}",
4525
- "fieldName": "variables"
4323
+ "fieldName": "type"
4526
4324
  },
4527
4325
  {
4528
- "name": "data",
4326
+ "name": "text",
4529
4327
  "type": {
4530
- "text": "any"
4328
+ "text": "String | undefined"
4531
4329
  },
4532
- "fieldName": "data"
4533
- },
4330
+ "fieldName": "text"
4331
+ }
4332
+ ],
4333
+ "superclass": {
4334
+ "name": "LitElement",
4335
+ "package": "lit"
4336
+ },
4337
+ "tagName": "ox-scene-layer",
4338
+ "customElement": true
4339
+ }
4340
+ ],
4341
+ "exports": [
4342
+ {
4343
+ "kind": "js",
4344
+ "name": "default",
4345
+ "declaration": {
4346
+ "name": "OxSceneLayer",
4347
+ "module": "src/modeller/scene-viewer/ox-scene-layer.ts"
4348
+ }
4349
+ },
4350
+ {
4351
+ "kind": "custom-element-definition",
4352
+ "name": "ox-scene-layer",
4353
+ "declaration": {
4354
+ "name": "OxSceneLayer",
4355
+ "module": "src/modeller/scene-viewer/ox-scene-layer.ts"
4356
+ }
4357
+ }
4358
+ ]
4359
+ },
4360
+ {
4361
+ "kind": "javascript-module",
4362
+ "path": "src/modeller/scene-viewer/ox-scene-player.ts",
4363
+ "declarations": [
4364
+ {
4365
+ "kind": "class",
4366
+ "description": "",
4367
+ "name": "OxScenePlayer",
4368
+ "members": [
4534
4369
  {
4535
- "name": "fit",
4370
+ "kind": "field",
4371
+ "name": "sceneId",
4536
4372
  "type": {
4537
- "text": "FITMODE"
4373
+ "text": "string"
4538
4374
  },
4539
- "default": "'none'",
4540
- "fieldName": "fit"
4375
+ "default": "''",
4376
+ "attribute": "sceneId"
4541
4377
  },
4542
4378
  {
4543
- "name": "selected",
4379
+ "kind": "field",
4380
+ "name": "fit",
4544
4381
  "type": {
4545
- "text": "Component[]"
4382
+ "text": "'none' | 'both' | 'width' | 'height' | 'center' | 'ratio'"
4546
4383
  },
4547
- "default": "[]",
4548
- "fieldName": "selected"
4384
+ "default": "'ratio'",
4385
+ "attribute": "fit"
4549
4386
  },
4550
4387
  {
4551
- "name": "disposeWhenDetached",
4388
+ "kind": "field",
4389
+ "name": "provider",
4552
4390
  "type": {
4553
- "text": "boolean"
4391
+ "text": "any"
4554
4392
  },
4555
- "default": "false",
4556
- "fieldName": "disposeWhenDetached"
4393
+ "attribute": "provider"
4557
4394
  },
4558
4395
  {
4559
- "name": "baseUrl",
4396
+ "kind": "field",
4397
+ "name": "scene",
4560
4398
  "type": {
4561
- "text": "string"
4399
+ "text": "Scene | undefined"
4562
4400
  },
4563
- "default": "''",
4564
- "fieldName": "baseUrl"
4401
+ "privacy": "private"
4565
4402
  },
4566
4403
  {
4567
- "name": "provider",
4568
- "type": {
4569
- "text": "any"
4570
- },
4571
- "fieldName": "provider"
4404
+ "kind": "method",
4405
+ "name": "_releaseRef"
4572
4406
  },
4573
4407
  {
4574
- "name": "name",
4408
+ "kind": "method",
4409
+ "name": "_onSceneIdChanged"
4410
+ }
4411
+ ],
4412
+ "attributes": [
4413
+ {
4414
+ "name": "sceneId",
4575
4415
  "type": {
4576
4416
  "text": "string"
4577
4417
  },
4578
- "default": "'noname'",
4579
- "fieldName": "name"
4418
+ "default": "''",
4419
+ "fieldName": "sceneId"
4580
4420
  },
4581
4421
  {
4582
- "name": "enableInspector",
4422
+ "name": "fit",
4583
4423
  "type": {
4584
- "text": "boolean"
4424
+ "text": "'none' | 'both' | 'width' | 'height' | 'center' | 'ratio'"
4585
4425
  },
4586
- "default": "true",
4587
- "fieldName": "enableInspector"
4426
+ "default": "'ratio'",
4427
+ "fieldName": "fit"
4588
4428
  },
4589
4429
  {
4590
- "name": "showInspector",
4430
+ "name": "provider",
4591
4431
  "type": {
4592
- "text": "boolean"
4432
+ "text": "any"
4593
4433
  },
4594
- "default": "false",
4595
- "fieldName": "showInspector"
4434
+ "fieldName": "provider"
4596
4435
  }
4597
4436
  ],
4598
4437
  "superclass": {
4599
4438
  "name": "LitElement",
4600
4439
  "package": "lit"
4601
4440
  },
4602
- "tagName": "ox-scene-viewer",
4441
+ "tagName": "things-scene-player",
4603
4442
  "customElement": true
4604
4443
  }
4605
4444
  ],
4606
4445
  "exports": [
4607
- {
4608
- "kind": "js",
4609
- "name": "default",
4610
- "declaration": {
4611
- "name": "OxSceneViewer",
4612
- "module": "src/modeller/scene-viewer/ox-scene-viewer.ts"
4613
- }
4614
- },
4615
4446
  {
4616
4447
  "kind": "custom-element-definition",
4617
- "name": "ox-scene-viewer",
4448
+ "name": "things-scene-player",
4618
4449
  "declaration": {
4619
- "name": "OxSceneViewer",
4620
- "module": "src/modeller/scene-viewer/ox-scene-viewer.ts"
4450
+ "name": "OxScenePlayer",
4451
+ "module": "src/modeller/scene-viewer/ox-scene-player.ts"
4621
4452
  }
4622
4453
  }
4623
4454
  ]
4624
4455
  },
4625
4456
  {
4626
4457
  "kind": "javascript-module",
4627
- "path": "src/modeller/property-sidebar/abstract-property.ts",
4458
+ "path": "src/modeller/scene-viewer/ox-scene-property.ts",
4628
4459
  "declarations": [
4629
4460
  {
4630
4461
  "kind": "class",
4631
4462
  "description": "",
4632
- "name": "AbstractProperty",
4463
+ "name": "OxSceneProperty",
4633
4464
  "members": [
4634
4465
  {
4635
- "kind": "method",
4636
- "name": "_onValueChange",
4637
- "parameters": [
4638
- {
4639
- "name": "e",
4640
- "type": {
4641
- "text": "Event"
4642
- }
4643
- }
4644
- ]
4466
+ "kind": "field",
4467
+ "name": "name",
4468
+ "type": {
4469
+ "text": "string"
4470
+ },
4471
+ "attribute": "name"
4645
4472
  },
4646
4473
  {
4647
- "kind": "method",
4648
- "name": "_getValueFromEventTarget",
4649
- "parameters": [
4650
- {
4651
- "name": "element",
4652
- "type": {
4653
- "text": "HTMLElement"
4654
- }
4655
- }
4656
- ]
4474
+ "kind": "field",
4475
+ "name": "value",
4476
+ "type": {
4477
+ "text": "string"
4478
+ },
4479
+ "attribute": "value"
4657
4480
  },
4658
4481
  {
4659
- "kind": "method",
4660
- "name": "_onAfterValueChange",
4661
- "parameters": [
4662
- {
4663
- "name": "key",
4664
- "type": {
4665
- "text": "string"
4666
- }
4667
- },
4668
- {
4669
- "name": "value",
4670
- "type": {
4671
- "text": "any"
4672
- }
4673
- }
4674
- ]
4482
+ "kind": "field",
4483
+ "name": "type",
4484
+ "type": {
4485
+ "text": "string"
4486
+ },
4487
+ "attribute": "type"
4675
4488
  }
4676
4489
  ],
4677
- "events": [
4490
+ "attributes": [
4678
4491
  {
4679
- "name": "property-change",
4492
+ "name": "name",
4680
4493
  "type": {
4681
- "text": "CustomEvent"
4682
- }
4494
+ "text": "string"
4495
+ },
4496
+ "fieldName": "name"
4497
+ },
4498
+ {
4499
+ "name": "value",
4500
+ "type": {
4501
+ "text": "string"
4502
+ },
4503
+ "fieldName": "value"
4504
+ },
4505
+ {
4506
+ "name": "type",
4507
+ "type": {
4508
+ "text": "string"
4509
+ },
4510
+ "fieldName": "type"
4683
4511
  }
4684
4512
  ],
4685
4513
  "superclass": {
4686
4514
  "name": "LitElement",
4687
4515
  "package": "lit"
4688
4516
  },
4517
+ "tagName": "ox-scene-property",
4689
4518
  "customElement": true
4690
4519
  }
4691
4520
  ],
4692
4521
  "exports": [
4693
4522
  {
4694
4523
  "kind": "js",
4695
- "name": "AbstractProperty",
4524
+ "name": "default",
4696
4525
  "declaration": {
4697
- "name": "AbstractProperty",
4698
- "module": "src/modeller/property-sidebar/abstract-property.ts"
4526
+ "name": "OxSceneProperty",
4527
+ "module": "src/modeller/scene-viewer/ox-scene-property.ts"
4699
4528
  }
4700
- }
4701
- ]
4702
- },
4703
- {
4704
- "kind": "javascript-module",
4705
- "path": "src/modeller/property-sidebar/property-shared-style.ts",
4706
- "declarations": [
4707
- {
4708
- "kind": "variable",
4709
- "name": "PropertySharedStyle",
4710
- "default": "css`\n fieldset {\n border: none;\n margin: 4px;\n padding: 9px 4px 9px 4px;\n border-bottom: var(--property-sidebar-fieldset-border);\n color: var(--property-sidebar-fieldset-legend-color);\n font: var(--property-sidebar-fieldset-label);\n }\n\n fieldset legend {\n padding: 5px 0 0 5px;\n color: var(--property-sidebar-fieldset-legend-color);\n font: var(--property-sidebar-fieldset-legend);\n text-transform: capitalize;\n }\n\n select,\n input {\n border: var(--property-sidebar-fieldset-border);\n }\n\n /* property grid */\n .property-grid {\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n grid-auto-rows: minmax(24px, auto);\n align-items: center;\n }\n\n .property-grid > * {\n width: 100%;\n box-sizing: border-box;\n }\n\n .property-grid > label {\n grid-column: span 3;\n text-align: right;\n text-transform: capitalize;\n line-height: 2;\n }\n\n .property-grid > input,\n .property-grid > table,\n .property-grid > select,\n .property-grid > ox-input-angle,\n .property-grid > ox-buttons-radio,\n .property-grid > things-editor-color,\n [custom-editor] {\n grid-column: span 7;\n align-self: stretch;\n }\n\n .property-grid > .checkbox-row {\n grid-column: span 10;\n }\n\n .property-grid > .property-full-label {\n grid-column: span 3;\n text-align: right;\n text-transform: capitalize;\n }\n\n .property-grid > .property-half-label {\n grid-column: span 1;\n }\n\n .property-grid > .property-full-input {\n grid-column: span 7;\n }\n\n .property-grid > .property-half-input {\n grid-column: span 4;\n }\n\n /* checkbox-row */\n .checkbox-row {\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n grid-auto-rows: minmax(24px, auto);\n align-items: center;\n }\n\n .checkbox-row > input {\n grid-column: 4 / 5;\n }\n\n .checkbox-row > label {\n grid-column: span 6;\n text-align: left;\n }\n\n /* image resources */\n .icon-only-label {\n grid-column: span 1;\n\n background: url(/assets/images/icon-properties-label.png) no-repeat;\n float: left;\n margin: 0;\n align-self: stretch;\n }\n\n .icon-only-label.color {\n background-position: 100% -500px;\n }\n .icon-only-label.font-size {\n background-position: 100% -594px;\n }\n .icon-only-label.leading {\n background-position: 100% -696px;\n }\n .icon-only-label.hscale {\n background-position: 100% -296px;\n }\n .icon-only-label.vscale {\n background-position: 100% -396px;\n }\n .icon-only-label.linewidth {\n background-position: 100% -894px;\n }\n .icon-only-label.lineHeight {\n background-position: 100% -995px;\n }\n`"
4711
- }
4712
- ],
4713
- "exports": [
4529
+ },
4714
4530
  {
4715
- "kind": "js",
4716
- "name": "PropertySharedStyle",
4531
+ "kind": "custom-element-definition",
4532
+ "name": "ox-scene-property",
4717
4533
  "declaration": {
4718
- "name": "PropertySharedStyle",
4719
- "module": "src/modeller/property-sidebar/property-shared-style.ts"
4534
+ "name": "OxSceneProperty",
4535
+ "module": "src/modeller/scene-viewer/ox-scene-property.ts"
4720
4536
  }
4721
4537
  }
4722
4538
  ]
4723
4539
  },
4724
4540
  {
4725
4541
  "kind": "javascript-module",
4726
- "path": "src/modeller/property-sidebar/property-sidebar.ts",
4542
+ "path": "src/modeller/scene-viewer/ox-scene-viewer.ts",
4727
4543
  "declarations": [
4728
4544
  {
4729
4545
  "kind": "class",
4730
4546
  "description": "",
4731
- "name": "PropertySidebar",
4547
+ "name": "OxSceneViewer",
4732
4548
  "members": [
4733
4549
  {
4734
4550
  "kind": "field",
@@ -4741,21 +4557,54 @@
4741
4557
  },
4742
4558
  {
4743
4559
  "kind": "field",
4744
- "name": "bounds",
4560
+ "name": "model",
4745
4561
  "type": {
4746
- "text": "any"
4562
+ "text": "Model | undefined"
4747
4563
  },
4748
- "default": "{}",
4749
- "attribute": "bounds"
4564
+ "attribute": "model"
4750
4565
  },
4751
4566
  {
4752
4567
  "kind": "field",
4753
- "name": "model",
4568
+ "name": "mode",
4754
4569
  "type": {
4755
- "text": "Model | null"
4570
+ "text": "SCENE_MODE"
4571
+ },
4572
+ "attribute": "mode"
4573
+ },
4574
+ {
4575
+ "kind": "field",
4576
+ "name": "screenSize",
4577
+ "type": {
4578
+ "text": "number"
4579
+ },
4580
+ "default": "13.3",
4581
+ "attribute": "screenSize"
4582
+ },
4583
+ {
4584
+ "kind": "field",
4585
+ "name": "variables",
4586
+ "type": {
4587
+ "text": "Properties"
4756
4588
  },
4757
4589
  "default": "{}",
4758
- "attribute": "model"
4590
+ "attribute": "variables"
4591
+ },
4592
+ {
4593
+ "kind": "field",
4594
+ "name": "data",
4595
+ "type": {
4596
+ "text": "any"
4597
+ },
4598
+ "attribute": "data"
4599
+ },
4600
+ {
4601
+ "kind": "field",
4602
+ "name": "fit",
4603
+ "type": {
4604
+ "text": "FITMODE"
4605
+ },
4606
+ "default": "'none'",
4607
+ "attribute": "fit"
4759
4608
  },
4760
4609
  {
4761
4610
  "kind": "field",
@@ -4768,94 +4617,123 @@
4768
4617
  },
4769
4618
  {
4770
4619
  "kind": "field",
4771
- "name": "specificProps",
4620
+ "name": "disposeWhenDetached",
4621
+ "type": {
4622
+ "text": "boolean"
4623
+ },
4624
+ "default": "false",
4625
+ "attribute": "disposeWhenDetached"
4626
+ },
4627
+ {
4628
+ "kind": "field",
4629
+ "name": "baseUrl",
4630
+ "type": {
4631
+ "text": "string"
4632
+ },
4633
+ "default": "''",
4634
+ "attribute": "baseUrl"
4635
+ },
4636
+ {
4637
+ "kind": "field",
4638
+ "name": "provider",
4772
4639
  "type": {
4773
4640
  "text": "any"
4774
4641
  },
4775
- "attribute": "specificProps"
4642
+ "attribute": "provider"
4776
4643
  },
4777
4644
  {
4778
4645
  "kind": "field",
4779
- "name": "tabName",
4646
+ "name": "name",
4780
4647
  "type": {
4781
- "text": "string | null"
4648
+ "text": "string"
4782
4649
  },
4783
- "default": "'shape'",
4784
- "attribute": "tabName"
4650
+ "default": "'noname'",
4651
+ "attribute": "name"
4785
4652
  },
4786
4653
  {
4787
4654
  "kind": "field",
4788
- "name": "collapsed",
4655
+ "name": "enableInspector",
4789
4656
  "type": {
4790
4657
  "text": "boolean"
4791
4658
  },
4792
- "default": "false",
4793
- "attribute": "collapsed"
4659
+ "default": "true",
4660
+ "attribute": "enableInspector"
4794
4661
  },
4795
4662
  {
4796
4663
  "kind": "field",
4797
- "name": "fonts",
4664
+ "name": "showInspector",
4798
4665
  "type": {
4799
- "text": "any[]"
4666
+ "text": "boolean"
4800
4667
  },
4801
- "default": "[]",
4802
- "attribute": "fonts"
4668
+ "default": "false",
4669
+ "attribute": "showInspector"
4803
4670
  },
4804
4671
  {
4805
4672
  "kind": "field",
4806
- "name": "propertyEditor",
4673
+ "name": "lastOffsetWidth",
4807
4674
  "type": {
4808
- "text": "any[]"
4675
+ "text": "number | undefined"
4809
4676
  },
4810
- "default": "[]",
4811
- "attribute": "propertyEditor"
4677
+ "privacy": "private"
4812
4678
  },
4813
4679
  {
4814
- "kind": "field",
4815
- "name": "propertyTarget",
4816
- "type": {
4817
- "text": "Component | null"
4818
- },
4819
- "default": "null"
4680
+ "kind": "method",
4681
+ "name": "_setScene",
4682
+ "parameters": [
4683
+ {
4684
+ "name": "scene",
4685
+ "type": {
4686
+ "text": "Scene | null"
4687
+ }
4688
+ }
4689
+ ]
4820
4690
  },
4821
4691
  {
4822
4692
  "kind": "method",
4823
- "name": "_onPropertyChanged",
4693
+ "name": "_setMode",
4824
4694
  "parameters": [
4825
4695
  {
4826
- "name": "e",
4696
+ "name": "mode",
4827
4697
  "type": {
4828
- "text": "CustomEvent"
4698
+ "text": "SCENE_MODE"
4829
4699
  }
4830
4700
  }
4831
4701
  ]
4832
4702
  },
4833
4703
  {
4834
4704
  "kind": "method",
4835
- "name": "_onBoundsChanged",
4705
+ "name": "_setVariables",
4836
4706
  "parameters": [
4837
4707
  {
4838
- "name": "e",
4708
+ "name": "variables",
4839
4709
  "type": {
4840
- "text": "CustomEvent"
4710
+ "text": "Properties"
4841
4711
  }
4842
4712
  }
4843
4713
  ]
4844
4714
  },
4845
4715
  {
4846
4716
  "kind": "method",
4847
- "name": "_onChangedByScene"
4717
+ "name": "_setSelected",
4718
+ "parameters": [
4719
+ {
4720
+ "name": "selected",
4721
+ "type": {
4722
+ "text": "Component[]"
4723
+ }
4724
+ }
4725
+ ]
4848
4726
  },
4849
4727
  {
4850
4728
  "kind": "method",
4851
- "name": "_setPropertyTargetAsDefault"
4729
+ "name": "_disposeScene"
4852
4730
  },
4853
4731
  {
4854
4732
  "kind": "method",
4855
- "name": "_onCollapsed",
4733
+ "name": "resize",
4856
4734
  "parameters": [
4857
4735
  {
4858
- "name": "collapsed",
4736
+ "name": "force",
4859
4737
  "type": {
4860
4738
  "text": "boolean"
4861
4739
  }
@@ -4864,7 +4742,52 @@
4864
4742
  },
4865
4743
  {
4866
4744
  "kind": "method",
4867
- "name": "_onSceneChanged"
4745
+ "name": "_onModelChanged",
4746
+ "parameters": [
4747
+ {
4748
+ "name": "model",
4749
+ "optional": true,
4750
+ "type": {
4751
+ "text": "Model"
4752
+ }
4753
+ }
4754
+ ]
4755
+ },
4756
+ {
4757
+ "kind": "method",
4758
+ "name": "_onDisplayChanged",
4759
+ "parameters": [
4760
+ {
4761
+ "name": "screenSize",
4762
+ "type": {
4763
+ "text": "string | number"
4764
+ }
4765
+ }
4766
+ ]
4767
+ },
4768
+ {
4769
+ "kind": "method",
4770
+ "name": "_onModeChanged",
4771
+ "parameters": [
4772
+ {
4773
+ "name": "mode",
4774
+ "type": {
4775
+ "text": "SCENE_MODE"
4776
+ }
4777
+ }
4778
+ ]
4779
+ },
4780
+ {
4781
+ "kind": "method",
4782
+ "name": "_onDataChanged",
4783
+ "parameters": [
4784
+ {
4785
+ "name": "data",
4786
+ "type": {
4787
+ "text": "any"
4788
+ }
4789
+ }
4790
+ ]
4868
4791
  },
4869
4792
  {
4870
4793
  "kind": "method",
@@ -4880,29 +4803,55 @@
4880
4803
  },
4881
4804
  {
4882
4805
  "kind": "method",
4883
- "name": "_setPropertyTarget",
4806
+ "name": "_onSceneModeChanged",
4884
4807
  "parameters": [
4885
4808
  {
4886
- "name": "newTarget",
4809
+ "name": "after",
4887
4810
  "type": {
4888
- "text": "Component | null"
4811
+ "text": "SCENE_MODE"
4889
4812
  }
4890
4813
  }
4891
4814
  ]
4892
4815
  },
4893
4816
  {
4894
4817
  "kind": "method",
4895
- "name": "_setBounds",
4818
+ "name": "_onBaseUrlChanged",
4896
4819
  "parameters": [
4897
4820
  {
4898
- "name": "bounds",
4821
+ "name": "after",
4899
4822
  "type": {
4900
- "text": "BOUNDS"
4823
+ "text": "string"
4901
4824
  }
4902
4825
  }
4903
4826
  ]
4904
4827
  }
4905
4828
  ],
4829
+ "events": [
4830
+ {
4831
+ "name": "scene-changed",
4832
+ "type": {
4833
+ "text": "CustomEvent"
4834
+ }
4835
+ },
4836
+ {
4837
+ "name": "mode-changed",
4838
+ "type": {
4839
+ "text": "CustomEvent"
4840
+ }
4841
+ },
4842
+ {
4843
+ "name": "variables-changed",
4844
+ "type": {
4845
+ "text": "CustomEvent"
4846
+ }
4847
+ },
4848
+ {
4849
+ "name": "selected-changed",
4850
+ "type": {
4851
+ "text": "CustomEvent"
4852
+ }
4853
+ }
4854
+ ],
4906
4855
  "attributes": [
4907
4856
  {
4908
4857
  "name": "scene",
@@ -4913,20 +4862,49 @@
4913
4862
  "fieldName": "scene"
4914
4863
  },
4915
4864
  {
4916
- "name": "bounds",
4865
+ "name": "model",
4917
4866
  "type": {
4918
- "text": "any"
4867
+ "text": "Model | undefined"
4919
4868
  },
4920
- "default": "{}",
4921
- "fieldName": "bounds"
4869
+ "fieldName": "model"
4922
4870
  },
4923
4871
  {
4924
- "name": "model",
4872
+ "name": "mode",
4925
4873
  "type": {
4926
- "text": "Model | null"
4874
+ "text": "SCENE_MODE"
4875
+ },
4876
+ "fieldName": "mode"
4877
+ },
4878
+ {
4879
+ "name": "screenSize",
4880
+ "type": {
4881
+ "text": "number"
4882
+ },
4883
+ "default": "13.3",
4884
+ "fieldName": "screenSize"
4885
+ },
4886
+ {
4887
+ "name": "variables",
4888
+ "type": {
4889
+ "text": "Properties"
4927
4890
  },
4928
4891
  "default": "{}",
4929
- "fieldName": "model"
4892
+ "fieldName": "variables"
4893
+ },
4894
+ {
4895
+ "name": "data",
4896
+ "type": {
4897
+ "text": "any"
4898
+ },
4899
+ "fieldName": "data"
4900
+ },
4901
+ {
4902
+ "name": "fit",
4903
+ "type": {
4904
+ "text": "FITMODE"
4905
+ },
4906
+ "default": "'none'",
4907
+ "fieldName": "fit"
4930
4908
  },
4931
4909
  {
4932
4910
  "name": "selected",
@@ -4937,60 +4915,76 @@
4937
4915
  "fieldName": "selected"
4938
4916
  },
4939
4917
  {
4940
- "name": "specificProps",
4918
+ "name": "disposeWhenDetached",
4941
4919
  "type": {
4942
- "text": "any"
4920
+ "text": "boolean"
4943
4921
  },
4944
- "fieldName": "specificProps"
4922
+ "default": "false",
4923
+ "fieldName": "disposeWhenDetached"
4945
4924
  },
4946
4925
  {
4947
- "name": "tabName",
4926
+ "name": "baseUrl",
4948
4927
  "type": {
4949
- "text": "string | null"
4928
+ "text": "string"
4950
4929
  },
4951
- "default": "'shape'",
4952
- "fieldName": "tabName"
4930
+ "default": "''",
4931
+ "fieldName": "baseUrl"
4953
4932
  },
4954
4933
  {
4955
- "name": "collapsed",
4934
+ "name": "provider",
4956
4935
  "type": {
4957
- "text": "boolean"
4936
+ "text": "any"
4958
4937
  },
4959
- "default": "false",
4960
- "fieldName": "collapsed"
4938
+ "fieldName": "provider"
4961
4939
  },
4962
4940
  {
4963
- "name": "fonts",
4941
+ "name": "name",
4964
4942
  "type": {
4965
- "text": "any[]"
4943
+ "text": "string"
4966
4944
  },
4967
- "default": "[]",
4968
- "fieldName": "fonts"
4945
+ "default": "'noname'",
4946
+ "fieldName": "name"
4969
4947
  },
4970
4948
  {
4971
- "name": "propertyEditor",
4949
+ "name": "enableInspector",
4972
4950
  "type": {
4973
- "text": "any[]"
4951
+ "text": "boolean"
4974
4952
  },
4975
- "default": "[]",
4976
- "fieldName": "propertyEditor"
4953
+ "default": "true",
4954
+ "fieldName": "enableInspector"
4955
+ },
4956
+ {
4957
+ "name": "showInspector",
4958
+ "type": {
4959
+ "text": "boolean"
4960
+ },
4961
+ "default": "false",
4962
+ "fieldName": "showInspector"
4977
4963
  }
4978
4964
  ],
4979
4965
  "superclass": {
4980
4966
  "name": "LitElement",
4981
4967
  "package": "lit"
4982
4968
  },
4983
- "tagName": "property-sidebar",
4969
+ "tagName": "ox-scene-viewer",
4984
4970
  "customElement": true
4985
4971
  }
4986
4972
  ],
4987
4973
  "exports": [
4974
+ {
4975
+ "kind": "js",
4976
+ "name": "default",
4977
+ "declaration": {
4978
+ "name": "OxSceneViewer",
4979
+ "module": "src/modeller/scene-viewer/ox-scene-viewer.ts"
4980
+ }
4981
+ },
4988
4982
  {
4989
4983
  "kind": "custom-element-definition",
4990
- "name": "property-sidebar",
4984
+ "name": "ox-scene-viewer",
4991
4985
  "declaration": {
4992
- "name": "PropertySidebar",
4993
- "module": "src/modeller/property-sidebar/property-sidebar.ts"
4986
+ "name": "OxSceneViewer",
4987
+ "module": "src/modeller/scene-viewer/ox-scene-viewer.ts"
4994
4988
  }
4995
4989
  }
4996
4990
  ]
@@ -6346,7 +6340,7 @@
6346
6340
  {
6347
6341
  "kind": "variable",
6348
6342
  "name": "BoxPaddingEditorStyles",
6349
- "default": "css`\n .box-padding {\n width: 100%;\n }\n\n .box-padding td {\n background: url(/assets/images/icon-properties-padding.png) 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`"
6343
+ "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`"
6350
6344
  }
6351
6345
  ],
6352
6346
  "exports": [