@fmsim/board 2.0.0-beta.23 → 2.0.0-beta.29

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.
@@ -2439,6 +2439,227 @@
2439
2439
  "declarations": [],
2440
2440
  "exports": []
2441
2441
  },
2442
+ {
2443
+ "kind": "javascript-module",
2444
+ "path": "src/data-storage/board-model-cache.ts",
2445
+ "declarations": [
2446
+ {
2447
+ "kind": "class",
2448
+ "description": "",
2449
+ "name": "BoardModelCache",
2450
+ "members": [
2451
+ {
2452
+ "kind": "method",
2453
+ "name": "get",
2454
+ "static": true,
2455
+ "return": {
2456
+ "type": {
2457
+ "text": "Promise<CachedBoard | null>"
2458
+ }
2459
+ },
2460
+ "parameters": [
2461
+ {
2462
+ "name": "boardId",
2463
+ "type": {
2464
+ "text": "string"
2465
+ }
2466
+ }
2467
+ ]
2468
+ },
2469
+ {
2470
+ "kind": "method",
2471
+ "name": "put",
2472
+ "static": true,
2473
+ "return": {
2474
+ "type": {
2475
+ "text": "Promise<void>"
2476
+ }
2477
+ },
2478
+ "parameters": [
2479
+ {
2480
+ "name": "boardId",
2481
+ "type": {
2482
+ "text": "string"
2483
+ }
2484
+ },
2485
+ {
2486
+ "name": "name",
2487
+ "type": {
2488
+ "text": "string"
2489
+ }
2490
+ },
2491
+ {
2492
+ "name": "model",
2493
+ "type": {
2494
+ "text": "string"
2495
+ }
2496
+ },
2497
+ {
2498
+ "name": "updatedAt",
2499
+ "type": {
2500
+ "text": "string"
2501
+ }
2502
+ }
2503
+ ]
2504
+ },
2505
+ {
2506
+ "kind": "method",
2507
+ "name": "isValid",
2508
+ "static": true,
2509
+ "return": {
2510
+ "type": {
2511
+ "text": "Promise<boolean>"
2512
+ }
2513
+ },
2514
+ "parameters": [
2515
+ {
2516
+ "name": "boardId",
2517
+ "type": {
2518
+ "text": "string"
2519
+ }
2520
+ },
2521
+ {
2522
+ "name": "serverUpdatedAt",
2523
+ "type": {
2524
+ "text": "string"
2525
+ }
2526
+ }
2527
+ ]
2528
+ },
2529
+ {
2530
+ "kind": "method",
2531
+ "name": "remove",
2532
+ "static": true,
2533
+ "return": {
2534
+ "type": {
2535
+ "text": "Promise<void>"
2536
+ }
2537
+ },
2538
+ "parameters": [
2539
+ {
2540
+ "name": "boardId",
2541
+ "type": {
2542
+ "text": "string"
2543
+ }
2544
+ }
2545
+ ]
2546
+ },
2547
+ {
2548
+ "kind": "method",
2549
+ "name": "clear",
2550
+ "static": true,
2551
+ "return": {
2552
+ "type": {
2553
+ "text": "Promise<void>"
2554
+ }
2555
+ }
2556
+ }
2557
+ ]
2558
+ }
2559
+ ],
2560
+ "exports": [
2561
+ {
2562
+ "kind": "js",
2563
+ "name": "BoardModelCache",
2564
+ "declaration": {
2565
+ "name": "BoardModelCache",
2566
+ "module": "src/data-storage/board-model-cache.ts"
2567
+ }
2568
+ }
2569
+ ]
2570
+ },
2571
+ {
2572
+ "kind": "javascript-module",
2573
+ "path": "src/data-storage/data-storage.ts",
2574
+ "declarations": [
2575
+ {
2576
+ "kind": "class",
2577
+ "description": "",
2578
+ "name": "DataStorage",
2579
+ "members": [
2580
+ {
2581
+ "kind": "field",
2582
+ "name": "id",
2583
+ "type": {
2584
+ "text": "string"
2585
+ },
2586
+ "privacy": "private",
2587
+ "default": "id"
2588
+ },
2589
+ {
2590
+ "kind": "method",
2591
+ "name": "load",
2592
+ "privacy": "public",
2593
+ "return": {
2594
+ "type": {
2595
+ "text": "Promise<any>"
2596
+ }
2597
+ },
2598
+ "parameters": [
2599
+ {
2600
+ "name": "key",
2601
+ "type": {
2602
+ "text": "Component"
2603
+ }
2604
+ }
2605
+ ]
2606
+ },
2607
+ {
2608
+ "kind": "method",
2609
+ "name": "save",
2610
+ "privacy": "public",
2611
+ "return": {
2612
+ "type": {
2613
+ "text": "Promise<void>"
2614
+ }
2615
+ },
2616
+ "parameters": [
2617
+ {
2618
+ "name": "key",
2619
+ "type": {
2620
+ "text": "Component"
2621
+ }
2622
+ },
2623
+ {
2624
+ "name": "value",
2625
+ "type": {
2626
+ "text": "any"
2627
+ }
2628
+ }
2629
+ ]
2630
+ },
2631
+ {
2632
+ "kind": "method",
2633
+ "name": "clear",
2634
+ "privacy": "public",
2635
+ "return": {
2636
+ "type": {
2637
+ "text": "Promise<void>"
2638
+ }
2639
+ },
2640
+ "parameters": [
2641
+ {
2642
+ "name": "key",
2643
+ "type": {
2644
+ "text": "Component"
2645
+ }
2646
+ }
2647
+ ]
2648
+ }
2649
+ ]
2650
+ }
2651
+ ],
2652
+ "exports": [
2653
+ {
2654
+ "kind": "js",
2655
+ "name": "DataStorage",
2656
+ "declaration": {
2657
+ "name": "DataStorage",
2658
+ "module": "src/data-storage/data-storage.ts"
2659
+ }
2660
+ }
2661
+ ]
2662
+ },
2442
2663
  {
2443
2664
  "kind": "javascript-module",
2444
2665
  "path": "src/component/etc.ts",
@@ -2454,7 +2675,7 @@
2454
2675
  "type": {
2455
2676
  "text": "ComponentGroup"
2456
2677
  },
2457
- "default": "{ name: 'etc', description: 'a group of components that have not yet been defined.', icon, templates: [ { type: 'rect', description: 'rectangle shape', icon: rect, group: 'shape', model: { type: 'rect', left: 100, top: 100, width: 100, height: 100, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'ellipse', description: 'ellipse shape', icon: ellipse, group: 'shape', model: { type: 'ellipse', rx: 50, ry: 50, cx: 150, cy: 150, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'triangle', description: 'triangle shape', icon: triangle, group: 'shape', model: { type: 'triangle', x1: 150, y1: 100, x2: 100, y2: 200, x3: 200, y3: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'line', description: 'simple line', icon: lineIcon, group: 'line', model: { type: 'line', x1: 100, y1: 100, x2: 200, y2: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 3, lineDash: 'solid', lineCap: 'butt' } }, { type: 'dash', description: 'dash line', icon: dash, group: 'line', model: { type: 'line', x1: 100, y1: 100, x2: 200, y2: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 3, lineDash: 'round-dot', lineCap: 'butt' } }, { type: 'container', description: 'container shape', icon: container, group: 'container', model: { type: 'container', left: 100, top: 100, width: 400, height: 300, fillStyle: '#fff', strokeStyle: '#999', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'popup', description: 'popup window', icon: popup, group: 'container', model: { type: 'popup', left: 100, top: 100, width: 100, height: 100, fillStyle: '#fff', strokeStyle: 'DarkGoldenRod' } }, { type: 'floor-plate', description: 'floor plate for multi-story layout', icon: rect, group: '3d', model: { type: 'floor-plate', left: 100, top: 100, width: 500, height: 500, depth: 2, fillStyle: '#e8e8e8', strokeStyle: '#999999', alpha: 0.7 } } ] }"
2678
+ "default": "{ name: 'etc', description: 'a group of components that have not yet been defined.', icon, templates: [ { type: 'text', description: 'text', icon: text, group: 'shape', model: { type: 'text', left: 100, top: 100, width: 200, height: 50, fillStyle: 'transparent', fontColor: '#000', fontSize: 16, text: 'Text' } }, { type: 'rect', description: 'rectangle shape', icon: rect, group: 'shape', model: { type: 'rect', left: 100, top: 100, width: 100, height: 100, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'ellipse', description: 'ellipse shape', icon: ellipse, group: 'shape', model: { type: 'ellipse', rx: 50, ry: 50, cx: 150, cy: 150, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'triangle', description: 'triangle shape', icon: triangle, group: 'shape', model: { type: 'triangle', x1: 150, y1: 100, x2: 100, y2: 200, x3: 200, y3: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'line', description: 'simple line', icon: lineIcon, group: 'line', model: { type: 'line', x1: 100, y1: 100, x2: 200, y2: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 3, lineDash: 'solid', lineCap: 'butt' } }, { type: 'dash', description: 'dash line', icon: dash, group: 'line', model: { type: 'line', x1: 100, y1: 100, x2: 200, y2: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 3, lineDash: 'round-dot', lineCap: 'butt' } }, { type: 'container', description: 'container shape', icon: container, group: 'container', model: { type: 'container', left: 100, top: 100, width: 400, height: 300, fillStyle: '#fff', strokeStyle: '#999', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'popup', description: 'popup window', icon: popup, group: 'container', model: { type: 'popup', left: 100, top: 100, width: 100, height: 100, fillStyle: '#fff', strokeStyle: 'DarkGoldenRod' } }, { type: 'floor-plate', description: 'floor plate for multi-story layout', icon: rect, group: '3d', model: { type: 'floor-plate', left: 100, top: 100, width: 500, height: 500, depth: 2, fillStyle: '#e8e8e8', strokeStyle: '#999999', alpha: 0.7 } } ] }"
2458
2679
  }
2459
2680
  ],
2460
2681
  "exports": [
@@ -3566,243 +3787,22 @@
3566
3787
  },
3567
3788
  {
3568
3789
  "kind": "javascript-module",
3569
- "path": "src/data-storage/board-model-cache.ts",
3790
+ "path": "src/layers/mcs-mouse-event-handler.ts",
3791
+ "declarations": [],
3792
+ "exports": []
3793
+ },
3794
+ {
3795
+ "kind": "javascript-module",
3796
+ "path": "src/layers/movement-layer.ts",
3570
3797
  "declarations": [
3571
3798
  {
3572
3799
  "kind": "class",
3573
3800
  "description": "",
3574
- "name": "BoardModelCache",
3801
+ "name": "MovementLayer",
3575
3802
  "members": [
3576
3803
  {
3577
- "kind": "method",
3578
- "name": "get",
3579
- "static": true,
3580
- "return": {
3581
- "type": {
3582
- "text": "Promise<CachedBoard | null>"
3583
- }
3584
- },
3585
- "parameters": [
3586
- {
3587
- "name": "boardId",
3588
- "type": {
3589
- "text": "string"
3590
- }
3591
- }
3592
- ]
3593
- },
3594
- {
3595
- "kind": "method",
3596
- "name": "put",
3597
- "static": true,
3598
- "return": {
3599
- "type": {
3600
- "text": "Promise<void>"
3601
- }
3602
- },
3603
- "parameters": [
3604
- {
3605
- "name": "boardId",
3606
- "type": {
3607
- "text": "string"
3608
- }
3609
- },
3610
- {
3611
- "name": "name",
3612
- "type": {
3613
- "text": "string"
3614
- }
3615
- },
3616
- {
3617
- "name": "model",
3618
- "type": {
3619
- "text": "string"
3620
- }
3621
- },
3622
- {
3623
- "name": "updatedAt",
3624
- "type": {
3625
- "text": "string"
3626
- }
3627
- }
3628
- ]
3629
- },
3630
- {
3631
- "kind": "method",
3632
- "name": "isValid",
3633
- "static": true,
3634
- "return": {
3635
- "type": {
3636
- "text": "Promise<boolean>"
3637
- }
3638
- },
3639
- "parameters": [
3640
- {
3641
- "name": "boardId",
3642
- "type": {
3643
- "text": "string"
3644
- }
3645
- },
3646
- {
3647
- "name": "serverUpdatedAt",
3648
- "type": {
3649
- "text": "string"
3650
- }
3651
- }
3652
- ]
3653
- },
3654
- {
3655
- "kind": "method",
3656
- "name": "remove",
3657
- "static": true,
3658
- "return": {
3659
- "type": {
3660
- "text": "Promise<void>"
3661
- }
3662
- },
3663
- "parameters": [
3664
- {
3665
- "name": "boardId",
3666
- "type": {
3667
- "text": "string"
3668
- }
3669
- }
3670
- ]
3671
- },
3672
- {
3673
- "kind": "method",
3674
- "name": "clear",
3675
- "static": true,
3676
- "return": {
3677
- "type": {
3678
- "text": "Promise<void>"
3679
- }
3680
- }
3681
- }
3682
- ]
3683
- }
3684
- ],
3685
- "exports": [
3686
- {
3687
- "kind": "js",
3688
- "name": "BoardModelCache",
3689
- "declaration": {
3690
- "name": "BoardModelCache",
3691
- "module": "src/data-storage/board-model-cache.ts"
3692
- }
3693
- }
3694
- ]
3695
- },
3696
- {
3697
- "kind": "javascript-module",
3698
- "path": "src/data-storage/data-storage.ts",
3699
- "declarations": [
3700
- {
3701
- "kind": "class",
3702
- "description": "",
3703
- "name": "DataStorage",
3704
- "members": [
3705
- {
3706
- "kind": "field",
3707
- "name": "id",
3708
- "type": {
3709
- "text": "string"
3710
- },
3711
- "privacy": "private",
3712
- "default": "id"
3713
- },
3714
- {
3715
- "kind": "method",
3716
- "name": "load",
3717
- "privacy": "public",
3718
- "return": {
3719
- "type": {
3720
- "text": "Promise<any>"
3721
- }
3722
- },
3723
- "parameters": [
3724
- {
3725
- "name": "key",
3726
- "type": {
3727
- "text": "Component"
3728
- }
3729
- }
3730
- ]
3731
- },
3732
- {
3733
- "kind": "method",
3734
- "name": "save",
3735
- "privacy": "public",
3736
- "return": {
3737
- "type": {
3738
- "text": "Promise<void>"
3739
- }
3740
- },
3741
- "parameters": [
3742
- {
3743
- "name": "key",
3744
- "type": {
3745
- "text": "Component"
3746
- }
3747
- },
3748
- {
3749
- "name": "value",
3750
- "type": {
3751
- "text": "any"
3752
- }
3753
- }
3754
- ]
3755
- },
3756
- {
3757
- "kind": "method",
3758
- "name": "clear",
3759
- "privacy": "public",
3760
- "return": {
3761
- "type": {
3762
- "text": "Promise<void>"
3763
- }
3764
- },
3765
- "parameters": [
3766
- {
3767
- "name": "key",
3768
- "type": {
3769
- "text": "Component"
3770
- }
3771
- }
3772
- ]
3773
- }
3774
- ]
3775
- }
3776
- ],
3777
- "exports": [
3778
- {
3779
- "kind": "js",
3780
- "name": "DataStorage",
3781
- "declaration": {
3782
- "name": "DataStorage",
3783
- "module": "src/data-storage/data-storage.ts"
3784
- }
3785
- }
3786
- ]
3787
- },
3788
- {
3789
- "kind": "javascript-module",
3790
- "path": "src/layers/mcs-mouse-event-handler.ts",
3791
- "declarations": [],
3792
- "exports": []
3793
- },
3794
- {
3795
- "kind": "javascript-module",
3796
- "path": "src/layers/movement-layer.ts",
3797
- "declarations": [
3798
- {
3799
- "kind": "class",
3800
- "description": "",
3801
- "name": "MovementLayer",
3802
- "members": [
3803
- {
3804
- "kind": "field",
3805
- "name": "drawInstructionHandler"
3804
+ "kind": "field",
3805
+ "name": "drawInstructionHandler"
3806
3806
  },
3807
3807
  {
3808
3808
  "kind": "field",
@@ -5484,194 +5484,62 @@
5484
5484
  },
5485
5485
  {
5486
5486
  "kind": "javascript-module",
5487
- "path": "src/modeller/component-toolbar/component-detail.ts",
5487
+ "path": "src/modeller/property-sidebar/abstract-property.ts",
5488
5488
  "declarations": [
5489
5489
  {
5490
5490
  "kind": "class",
5491
5491
  "description": "",
5492
- "name": "ComponentDetail",
5492
+ "name": "AbstractProperty",
5493
5493
  "members": [
5494
5494
  {
5495
- "kind": "field",
5496
- "name": "template",
5497
- "type": {
5498
- "text": "{ about: string } | null"
5499
- },
5500
- "default": "null",
5501
- "attribute": "template"
5502
- }
5503
- ],
5504
- "attributes": [
5505
- {
5506
- "name": "template",
5507
- "type": {
5508
- "text": "{ about: string } | null"
5509
- },
5510
- "default": "null",
5511
- "fieldName": "template"
5512
- }
5513
- ],
5514
- "superclass": {
5515
- "name": "LitElement",
5516
- "package": "lit"
5517
- },
5518
- "customElement": true
5519
- }
5520
- ],
5521
- "exports": [
5522
- {
5523
- "kind": "js",
5524
- "name": "ComponentDetail",
5525
- "declaration": {
5526
- "name": "ComponentDetail",
5527
- "module": "src/modeller/component-toolbar/component-detail.ts"
5528
- }
5529
- }
5530
- ]
5531
- },
5532
- {
5533
- "kind": "javascript-module",
5534
- "path": "src/modeller/component-toolbar/component-menu.ts",
5535
- "declarations": [
5536
- {
5537
- "kind": "class",
5538
- "description": "",
5539
- "name": "ComponentMenu",
5540
- "members": [
5541
- {
5542
- "kind": "field",
5543
- "name": "groups",
5544
- "type": {
5545
- "text": "Pallet[]"
5546
- },
5547
- "default": "[]",
5548
- "attribute": "groups"
5549
- },
5550
- {
5551
- "kind": "field",
5552
- "name": "scene",
5553
- "type": {
5554
- "text": "Scene | null"
5555
- },
5556
- "default": "null",
5557
- "attribute": "scene"
5558
- },
5559
- {
5560
- "kind": "field",
5561
- "name": "group",
5562
- "type": {
5563
- "text": "string | null"
5564
- },
5565
- "default": "''",
5566
- "attribute": "group"
5567
- },
5568
- {
5569
- "kind": "field",
5570
- "name": "templates",
5571
- "type": {
5572
- "text": "PalletItem[]"
5573
- },
5574
- "default": "[]"
5575
- },
5576
- {
5577
- "kind": "field",
5578
- "name": "template",
5579
- "type": {
5580
- "text": "PalletItem | any"
5581
- }
5582
- },
5583
- {
5584
- "kind": "field",
5585
- "name": "detail",
5586
- "type": {
5587
- "text": "HTMLElement"
5588
- }
5589
- },
5590
- {
5591
- "kind": "field",
5592
- "name": "scopedElements",
5593
- "static": true,
5594
- "readonly": true
5595
- },
5596
- {
5597
- "kind": "method",
5598
- "name": "findTemplate",
5599
- "parameters": [
5600
- {
5601
- "name": "type",
5602
- "type": {
5603
- "text": "string | null | undefined"
5604
- }
5605
- }
5606
- ]
5607
- },
5495
+ "kind": "method",
5496
+ "name": "_onValueChange",
5497
+ "parameters": [
5498
+ {
5499
+ "name": "e",
5500
+ "type": {
5501
+ "text": "Event"
5502
+ }
5503
+ }
5504
+ ]
5505
+ },
5608
5506
  {
5609
5507
  "kind": "method",
5610
- "name": "onHoverComponent",
5508
+ "name": "_getValueFromEventTarget",
5611
5509
  "parameters": [
5612
5510
  {
5613
- "name": "e",
5511
+ "name": "element",
5614
5512
  "type": {
5615
- "text": "MouseEvent"
5513
+ "text": "HTMLElement"
5616
5514
  }
5617
5515
  }
5618
5516
  ]
5619
5517
  },
5620
5518
  {
5621
5519
  "kind": "method",
5622
- "name": "onClickTemplate",
5520
+ "name": "_onAfterValueChange",
5623
5521
  "parameters": [
5624
5522
  {
5625
- "name": "e",
5523
+ "name": "key",
5626
5524
  "type": {
5627
- "text": "MouseEvent"
5525
+ "text": "string"
5628
5526
  }
5629
- }
5630
- ]
5631
- },
5632
- {
5633
- "kind": "method",
5634
- "name": "templateIcon",
5635
- "parameters": [
5527
+ },
5636
5528
  {
5637
- "name": "template",
5529
+ "name": "value",
5638
5530
  "type": {
5639
- "text": "PalletItem"
5531
+ "text": "any"
5640
5532
  }
5641
5533
  }
5642
5534
  ]
5643
5535
  }
5644
5536
  ],
5645
- "attributes": [
5646
- {
5647
- "name": "groups",
5648
- "type": {
5649
- "text": "Pallet[]"
5650
- },
5651
- "default": "[]",
5652
- "fieldName": "groups"
5653
- },
5654
- {
5655
- "name": "scene",
5656
- "type": {
5657
- "text": "Scene | null"
5658
- },
5659
- "default": "null",
5660
- "fieldName": "scene"
5661
- },
5537
+ "events": [
5662
5538
  {
5663
- "name": "group",
5539
+ "name": "property-change",
5664
5540
  "type": {
5665
- "text": "string | null"
5666
- },
5667
- "default": "''",
5668
- "fieldName": "group"
5669
- }
5670
- ],
5671
- "mixins": [
5672
- {
5673
- "name": "ScopedElementsMixin",
5674
- "package": "@open-wc/scoped-elements"
5541
+ "text": "CustomEvent"
5542
+ }
5675
5543
  }
5676
5544
  ],
5677
5545
  "superclass": {
@@ -5684,95 +5552,131 @@
5684
5552
  "exports": [
5685
5553
  {
5686
5554
  "kind": "js",
5687
- "name": "ComponentMenu",
5555
+ "name": "AbstractProperty",
5688
5556
  "declaration": {
5689
- "name": "ComponentMenu",
5690
- "module": "src/modeller/component-toolbar/component-menu.ts"
5557
+ "name": "AbstractProperty",
5558
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
5691
5559
  }
5692
5560
  }
5693
5561
  ]
5694
5562
  },
5695
5563
  {
5696
5564
  "kind": "javascript-module",
5697
- "path": "src/modeller/component-toolbar/component-toolbar.ts",
5565
+ "path": "src/modeller/property-sidebar/property-shared-style.ts",
5566
+ "declarations": [
5567
+ {
5568
+ "kind": "variable",
5569
+ "name": "PropertySharedStyle",
5570
+ "default": "css` fieldset { border: none; margin: 4px; padding: 9px 4px 9px 4px; border-bottom: var(--property-sidebar-fieldset-border); color: var(--property-sidebar-fieldset-legend-color); font: var(--property-sidebar-fieldset-label); } fieldset legend { padding: 5px 0 0 5px; color: var(--property-sidebar-fieldset-legend-color); font: var(--property-sidebar-fieldset-legend); text-transform: capitalize; } select, input { border: var(--property-sidebar-fieldset-border); } ox-input-data { height: 300px; } /* property grid */ .property-grid { display: grid; grid-template-columns: repeat(10, 1fr); grid-gap: 5px; grid-auto-rows: minmax(24px, auto); align-items: center; } .property-grid > * { width: 100%; box-sizing: border-box; } .property-grid > label { grid-column: span 3; text-align: right; text-transform: capitalize; line-height: 2; } .property-grid > input, .property-grid > table, .property-grid > select, .property-grid > ox-input-angle, .property-grid > ox-buttons-radio, .property-grid > ox-input-color, [custom-editor] { grid-column: span 7; align-self: stretch; } .property-grid > .checkbox-row { grid-column: span 10; } .property-grid > .property-full-label { grid-column: span 3; text-align: right; text-transform: capitalize; } .property-grid > .property-half-label { grid-column: span 1; } .property-grid > .property-full-input { grid-column: span 7; } .property-grid > .property-half-input { grid-column: span 4; } /* checkbox-row */ .checkbox-row { display: grid; grid-template-columns: repeat(10, 1fr); grid-gap: 5px; grid-auto-rows: minmax(24px, auto); align-items: center; } .checkbox-row > input { grid-column: 4 / 5; } .checkbox-row > label { grid-column: span 6; text-align: left; } /* image resources */ .icon-only-label { grid-column: span 1; background: var(--url-icon-properties-label) no-repeat; float: left; margin: 0; align-self: stretch; } .icon-only-label.color { background-position: 100% -500px; } .icon-only-label.font-size { background-position: 100% -594px; } .icon-only-label.leading { background-position: 100% -696px; } .icon-only-label.hscale { background-position: 100% -296px; } .icon-only-label.vscale { background-position: 100% -396px; } .icon-only-label.linewidth { background-position: 100% -894px; } .icon-only-label.lineHeight { background-position: 100% -995px; } .icon-only-label.letterSpacing { background-position: 100% -1594px; } `"
5571
+ }
5572
+ ],
5573
+ "exports": [
5574
+ {
5575
+ "kind": "js",
5576
+ "name": "PropertySharedStyle",
5577
+ "declaration": {
5578
+ "name": "PropertySharedStyle",
5579
+ "module": "src/modeller/property-sidebar/property-shared-style.ts"
5580
+ }
5581
+ }
5582
+ ]
5583
+ },
5584
+ {
5585
+ "kind": "javascript-module",
5586
+ "path": "src/modeller/property-sidebar/property-sidebar.ts",
5698
5587
  "declarations": [
5699
5588
  {
5700
5589
  "kind": "class",
5701
5590
  "description": "",
5702
- "name": "ComponentToolbar",
5591
+ "name": "PropertySidebar",
5703
5592
  "members": [
5704
5593
  {
5705
5594
  "kind": "field",
5706
- "name": "componentGroupList",
5595
+ "name": "scene",
5707
5596
  "type": {
5708
- "text": "ComponentGroup[]"
5597
+ "text": "Scene | null"
5709
5598
  },
5710
- "default": "[]",
5711
- "attribute": "componentGroupList"
5599
+ "default": "null",
5600
+ "attribute": "scene"
5712
5601
  },
5713
5602
  {
5714
5603
  "kind": "field",
5715
- "name": "group",
5604
+ "name": "bounds",
5716
5605
  "type": {
5717
- "text": "string | null | undefined"
5606
+ "text": "any"
5718
5607
  },
5719
- "attribute": "group"
5608
+ "default": "{}",
5609
+ "attribute": "bounds"
5720
5610
  },
5721
5611
  {
5722
5612
  "kind": "field",
5723
- "name": "scene",
5613
+ "name": "model",
5724
5614
  "type": {
5725
- "text": "Scene"
5615
+ "text": "Model | null"
5726
5616
  },
5727
- "attribute": "scene"
5617
+ "default": "{}",
5618
+ "attribute": "model"
5728
5619
  },
5729
5620
  {
5730
5621
  "kind": "field",
5731
- "name": "mode",
5622
+ "name": "selected",
5732
5623
  "type": {
5733
- "text": "SceneMode"
5624
+ "text": "Component[]"
5734
5625
  },
5735
- "attribute": "mode"
5626
+ "default": "[]",
5627
+ "attribute": "selected"
5736
5628
  },
5737
5629
  {
5738
5630
  "kind": "field",
5739
- "name": "shift",
5631
+ "name": "specificProps",
5740
5632
  "type": {
5741
- "text": "HTMLImageElement"
5742
- }
5633
+ "text": "any"
5634
+ },
5635
+ "attribute": "specificProps"
5743
5636
  },
5744
5637
  {
5745
5638
  "kind": "field",
5746
- "name": "menu",
5639
+ "name": "tabName",
5747
5640
  "type": {
5748
- "text": "HTMLElement"
5641
+ "text": "string | null"
5749
5642
  },
5750
- "privacy": "private"
5643
+ "default": "'specific'",
5644
+ "attribute": "tabName"
5751
5645
  },
5752
5646
  {
5753
5647
  "kind": "field",
5754
- "name": "componentsContainer",
5648
+ "name": "collapsed",
5755
5649
  "type": {
5756
- "text": "HTMLElement"
5650
+ "text": "boolean"
5757
5651
  },
5758
- "privacy": "private"
5652
+ "default": "false",
5653
+ "attribute": "collapsed"
5759
5654
  },
5760
5655
  {
5761
5656
  "kind": "field",
5762
- "name": "groups",
5657
+ "name": "fonts",
5763
5658
  "type": {
5764
- "text": "NodeListOf<HTMLElement>"
5659
+ "text": "any[]"
5765
5660
  },
5766
- "privacy": "private"
5661
+ "default": "[]",
5662
+ "attribute": "fonts"
5767
5663
  },
5768
5664
  {
5769
5665
  "kind": "field",
5770
- "name": "icons",
5666
+ "name": "propertyEditor",
5771
5667
  "type": {
5772
- "text": "{ [name: string]: string }"
5668
+ "text": "any[]"
5773
5669
  },
5774
- "privacy": "private",
5775
- "default": "{}"
5670
+ "default": "[]",
5671
+ "attribute": "propertyEditor"
5672
+ },
5673
+ {
5674
+ "kind": "field",
5675
+ "name": "propertyTarget",
5676
+ "type": {
5677
+ "text": "Component | null"
5678
+ },
5679
+ "default": "null"
5776
5680
  },
5777
5681
  {
5778
5682
  "kind": "field",
@@ -5782,511 +5686,163 @@
5782
5686
  },
5783
5687
  {
5784
5688
  "kind": "method",
5785
- "name": "onWheelEvent",
5689
+ "name": "_onPropertyChanged",
5786
5690
  "parameters": [
5787
5691
  {
5788
5692
  "name": "e",
5789
5693
  "type": {
5790
- "text": "Event"
5694
+ "text": "CustomEvent"
5791
5695
  }
5792
5696
  }
5793
5697
  ]
5794
5698
  },
5795
5699
  {
5796
5700
  "kind": "method",
5797
- "name": "_setMode",
5701
+ "name": "_onBoundsChanged",
5798
5702
  "parameters": [
5799
5703
  {
5800
- "name": "mode",
5704
+ "name": "e",
5801
5705
  "type": {
5802
- "text": "SceneMode"
5706
+ "text": "CustomEvent"
5803
5707
  }
5804
5708
  }
5805
5709
  ]
5806
5710
  },
5807
5711
  {
5808
5712
  "kind": "method",
5809
- "name": "_onClickShift",
5810
- "parameters": [
5811
- {
5812
- "name": "e",
5813
- "type": {
5814
- "text": "MouseEvent"
5815
- }
5816
- }
5817
- ]
5713
+ "name": "_onChangedByScene"
5818
5714
  },
5819
5715
  {
5820
5716
  "kind": "method",
5821
- "name": "_onClickGroup",
5717
+ "name": "_setPropertyTargetAsDefault"
5718
+ },
5719
+ {
5720
+ "kind": "method",
5721
+ "name": "_onCollapsed",
5822
5722
  "parameters": [
5823
5723
  {
5824
- "name": "e",
5724
+ "name": "collapsed",
5825
5725
  "type": {
5826
- "text": "MouseEvent"
5726
+ "text": "boolean"
5827
5727
  }
5828
5728
  }
5829
5729
  ]
5830
- }
5831
- ],
5832
- "events": [
5833
- {
5834
- "name": "mode-changed",
5835
- "type": {
5836
- "text": "CustomEvent"
5837
- }
5838
- }
5839
- ],
5840
- "attributes": [
5841
- {
5842
- "name": "componentGroupList",
5843
- "type": {
5844
- "text": "ComponentGroup[]"
5845
- },
5846
- "default": "[]",
5847
- "fieldName": "componentGroupList"
5848
- },
5849
- {
5850
- "name": "group",
5851
- "type": {
5852
- "text": "string | null | undefined"
5853
- },
5854
- "fieldName": "group"
5855
5730
  },
5856
5731
  {
5857
- "name": "scene",
5858
- "type": {
5859
- "text": "Scene"
5860
- },
5861
- "fieldName": "scene"
5732
+ "kind": "method",
5733
+ "name": "_onSceneChanged"
5862
5734
  },
5863
- {
5864
- "name": "mode",
5865
- "type": {
5866
- "text": "SceneMode"
5867
- },
5868
- "fieldName": "mode"
5869
- }
5870
- ],
5871
- "mixins": [
5872
- {
5873
- "name": "ScopedElementsMixin",
5874
- "package": "@open-wc/scoped-elements"
5875
- }
5876
- ],
5877
- "superclass": {
5878
- "name": "LitElement",
5879
- "package": "lit"
5880
- },
5881
- "customElement": true
5882
- }
5883
- ],
5884
- "exports": [
5885
- {
5886
- "kind": "js",
5887
- "name": "ComponentToolbar",
5888
- "declaration": {
5889
- "name": "ComponentToolbar",
5890
- "module": "src/modeller/component-toolbar/component-toolbar.ts"
5891
- }
5892
- }
5893
- ]
5894
- },
5895
- {
5896
- "kind": "javascript-module",
5897
- "path": "src/modeller/component-toolbar/mode-icons.ts",
5898
- "declarations": [
5899
- {
5900
- "kind": "variable",
5901
- "name": "ICON_EDIT_MODE",
5902
- "default": "` <svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 30 30\" style=\"enable-background:new 0 0 30 30;\" xml:space=\"preserve\" > <style type=\"text/css\"> .st0 { fill: {{strokeColor}}; } .st1 { fill: none; stroke: {{strokeColor}}; stroke-width: 0.75; stroke-linejoin: round; stroke-miterlimit: 10; } </style> <g> <polygon class=\"st0\" points=\"2.7,3.9 2.7,22.8 7.8,17.2 16.1,16.9 \" /> <path class=\"st1\" 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 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 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 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 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 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\" /> </g> </svg> `"
5903
- },
5904
- {
5905
- "kind": "variable",
5906
- "name": "ICON_SHIFT_MODE",
5907
- "default": "` <svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 30 30\" style=\"enable-background:new 0 0 30 30;\" xml:space=\"preserve\" > <style type=\"text/css\"> .st0 { fill: {{strokeColor}}; stroke: {{strokeColor}}; fill-rule: evenodd; clip-rule: evenodd; } .st1 { fill: {{strokeColor}}; stroke: {{strokeColor}}; stroke-width: 0.75; stroke-linejoin: round; stroke-miterlimit: 10; } </style> <g> <path class=\"st0\" 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 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 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 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 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 C6.7,22.7,7,23.2,7.8,23.2z\" /> <path class=\"st1\" 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 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 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 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 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 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\" /> </g> </svg> `"
5908
- }
5909
- ],
5910
- "exports": [
5911
- {
5912
- "kind": "js",
5913
- "name": "ICON_EDIT_MODE",
5914
- "declaration": {
5915
- "name": "ICON_EDIT_MODE",
5916
- "module": "src/modeller/component-toolbar/mode-icons.ts"
5917
- }
5918
- },
5919
- {
5920
- "kind": "js",
5921
- "name": "ICON_SHIFT_MODE",
5922
- "declaration": {
5923
- "name": "ICON_SHIFT_MODE",
5924
- "module": "src/modeller/component-toolbar/mode-icons.ts"
5925
- }
5926
- }
5927
- ]
5928
- },
5929
- {
5930
- "kind": "javascript-module",
5931
- "path": "src/modeller/property-sidebar/abstract-property.ts",
5932
- "declarations": [
5933
- {
5934
- "kind": "class",
5935
- "description": "",
5936
- "name": "AbstractProperty",
5937
- "members": [
5938
5735
  {
5939
5736
  "kind": "method",
5940
- "name": "_onValueChange",
5737
+ "name": "_onSelectedChanged",
5941
5738
  "parameters": [
5942
5739
  {
5943
- "name": "e",
5740
+ "name": "after",
5944
5741
  "type": {
5945
- "text": "Event"
5742
+ "text": "Component[]"
5946
5743
  }
5947
5744
  }
5948
5745
  ]
5949
5746
  },
5950
5747
  {
5951
5748
  "kind": "method",
5952
- "name": "_getValueFromEventTarget",
5749
+ "name": "_setPropertyTarget",
5953
5750
  "parameters": [
5954
5751
  {
5955
- "name": "element",
5752
+ "name": "newTarget",
5956
5753
  "type": {
5957
- "text": "HTMLElement"
5754
+ "text": "Component | null"
5958
5755
  }
5959
5756
  }
5960
5757
  ]
5961
5758
  },
5962
5759
  {
5963
5760
  "kind": "method",
5964
- "name": "_onAfterValueChange",
5761
+ "name": "_setBounds",
5965
5762
  "parameters": [
5966
5763
  {
5967
- "name": "key",
5968
- "type": {
5969
- "text": "string"
5970
- }
5971
- },
5972
- {
5973
- "name": "value",
5764
+ "name": "bounds",
5974
5765
  "type": {
5975
- "text": "any"
5766
+ "text": "BOUNDS"
5976
5767
  }
5977
5768
  }
5978
5769
  ]
5979
5770
  }
5980
5771
  ],
5981
- "events": [
5982
- {
5983
- "name": "property-change",
5984
- "type": {
5985
- "text": "CustomEvent"
5986
- }
5987
- }
5988
- ],
5989
- "superclass": {
5990
- "name": "LitElement",
5991
- "package": "lit"
5992
- },
5993
- "customElement": true
5994
- }
5995
- ],
5996
- "exports": [
5997
- {
5998
- "kind": "js",
5999
- "name": "AbstractProperty",
6000
- "declaration": {
6001
- "name": "AbstractProperty",
6002
- "module": "src/modeller/property-sidebar/abstract-property.ts"
6003
- }
6004
- }
6005
- ]
6006
- },
6007
- {
6008
- "kind": "javascript-module",
6009
- "path": "src/modeller/property-sidebar/property-shared-style.ts",
6010
- "declarations": [
6011
- {
6012
- "kind": "variable",
6013
- "name": "PropertySharedStyle",
6014
- "default": "css` fieldset { border: none; margin: 4px; padding: 9px 4px 9px 4px; border-bottom: var(--property-sidebar-fieldset-border); color: var(--property-sidebar-fieldset-legend-color); font: var(--property-sidebar-fieldset-label); } fieldset legend { padding: 5px 0 0 5px; color: var(--property-sidebar-fieldset-legend-color); font: var(--property-sidebar-fieldset-legend); text-transform: capitalize; } select, input { border: var(--property-sidebar-fieldset-border); } ox-input-data { height: 300px; } /* property grid */ .property-grid { display: grid; grid-template-columns: repeat(10, 1fr); grid-gap: 5px; grid-auto-rows: minmax(24px, auto); align-items: center; } .property-grid > * { width: 100%; box-sizing: border-box; } .property-grid > label { grid-column: span 3; text-align: right; text-transform: capitalize; line-height: 2; } .property-grid > input, .property-grid > table, .property-grid > select, .property-grid > ox-input-angle, .property-grid > ox-buttons-radio, .property-grid > ox-input-color, [custom-editor] { grid-column: span 7; align-self: stretch; } .property-grid > .checkbox-row { grid-column: span 10; } .property-grid > .property-full-label { grid-column: span 3; text-align: right; text-transform: capitalize; } .property-grid > .property-half-label { grid-column: span 1; } .property-grid > .property-full-input { grid-column: span 7; } .property-grid > .property-half-input { grid-column: span 4; } /* checkbox-row */ .checkbox-row { display: grid; grid-template-columns: repeat(10, 1fr); grid-gap: 5px; grid-auto-rows: minmax(24px, auto); align-items: center; } .checkbox-row > input { grid-column: 4 / 5; } .checkbox-row > label { grid-column: span 6; text-align: left; } /* image resources */ .icon-only-label { grid-column: span 1; background: var(--url-icon-properties-label) no-repeat; float: left; margin: 0; align-self: stretch; } .icon-only-label.color { background-position: 100% -500px; } .icon-only-label.font-size { background-position: 100% -594px; } .icon-only-label.leading { background-position: 100% -696px; } .icon-only-label.hscale { background-position: 100% -296px; } .icon-only-label.vscale { background-position: 100% -396px; } .icon-only-label.linewidth { background-position: 100% -894px; } .icon-only-label.lineHeight { background-position: 100% -995px; } .icon-only-label.letterSpacing { background-position: 100% -1594px; } `"
6015
- }
6016
- ],
6017
- "exports": [
6018
- {
6019
- "kind": "js",
6020
- "name": "PropertySharedStyle",
6021
- "declaration": {
6022
- "name": "PropertySharedStyle",
6023
- "module": "src/modeller/property-sidebar/property-shared-style.ts"
6024
- }
6025
- }
6026
- ]
6027
- },
6028
- {
6029
- "kind": "javascript-module",
6030
- "path": "src/modeller/property-sidebar/property-sidebar.ts",
6031
- "declarations": [
6032
- {
6033
- "kind": "class",
6034
- "description": "",
6035
- "name": "PropertySidebar",
6036
- "members": [
5772
+ "attributes": [
6037
5773
  {
6038
- "kind": "field",
6039
5774
  "name": "scene",
6040
5775
  "type": {
6041
5776
  "text": "Scene | null"
6042
5777
  },
6043
5778
  "default": "null",
6044
- "attribute": "scene"
5779
+ "fieldName": "scene"
6045
5780
  },
6046
5781
  {
6047
- "kind": "field",
6048
5782
  "name": "bounds",
6049
5783
  "type": {
6050
5784
  "text": "any"
6051
5785
  },
6052
5786
  "default": "{}",
6053
- "attribute": "bounds"
5787
+ "fieldName": "bounds"
6054
5788
  },
6055
5789
  {
6056
- "kind": "field",
6057
5790
  "name": "model",
6058
5791
  "type": {
6059
5792
  "text": "Model | null"
6060
5793
  },
6061
5794
  "default": "{}",
6062
- "attribute": "model"
5795
+ "fieldName": "model"
6063
5796
  },
6064
5797
  {
6065
- "kind": "field",
6066
5798
  "name": "selected",
6067
5799
  "type": {
6068
5800
  "text": "Component[]"
6069
5801
  },
6070
5802
  "default": "[]",
6071
- "attribute": "selected"
5803
+ "fieldName": "selected"
6072
5804
  },
6073
5805
  {
6074
- "kind": "field",
6075
5806
  "name": "specificProps",
6076
5807
  "type": {
6077
5808
  "text": "any"
6078
5809
  },
6079
- "attribute": "specificProps"
5810
+ "fieldName": "specificProps"
6080
5811
  },
6081
5812
  {
6082
- "kind": "field",
6083
5813
  "name": "tabName",
6084
5814
  "type": {
6085
5815
  "text": "string | null"
6086
5816
  },
6087
5817
  "default": "'specific'",
6088
- "attribute": "tabName"
5818
+ "fieldName": "tabName"
6089
5819
  },
6090
5820
  {
6091
- "kind": "field",
6092
5821
  "name": "collapsed",
6093
5822
  "type": {
6094
5823
  "text": "boolean"
6095
5824
  },
6096
5825
  "default": "false",
6097
- "attribute": "collapsed"
5826
+ "fieldName": "collapsed"
6098
5827
  },
6099
5828
  {
6100
- "kind": "field",
6101
5829
  "name": "fonts",
6102
5830
  "type": {
6103
5831
  "text": "any[]"
6104
5832
  },
6105
5833
  "default": "[]",
6106
- "attribute": "fonts"
5834
+ "fieldName": "fonts"
6107
5835
  },
6108
5836
  {
6109
- "kind": "field",
6110
5837
  "name": "propertyEditor",
6111
5838
  "type": {
6112
5839
  "text": "any[]"
6113
5840
  },
6114
5841
  "default": "[]",
6115
- "attribute": "propertyEditor"
6116
- },
6117
- {
6118
- "kind": "field",
6119
- "name": "propertyTarget",
6120
- "type": {
6121
- "text": "Component | null"
6122
- },
6123
- "default": "null"
6124
- },
6125
- {
6126
- "kind": "field",
6127
- "name": "scopedElements",
6128
- "static": true,
6129
- "readonly": true
6130
- },
6131
- {
6132
- "kind": "method",
6133
- "name": "_onPropertyChanged",
6134
- "parameters": [
6135
- {
6136
- "name": "e",
6137
- "type": {
6138
- "text": "CustomEvent"
6139
- }
6140
- }
6141
- ]
6142
- },
6143
- {
6144
- "kind": "method",
6145
- "name": "_onBoundsChanged",
6146
- "parameters": [
6147
- {
6148
- "name": "e",
6149
- "type": {
6150
- "text": "CustomEvent"
6151
- }
6152
- }
6153
- ]
6154
- },
6155
- {
6156
- "kind": "method",
6157
- "name": "_onChangedByScene"
6158
- },
6159
- {
6160
- "kind": "method",
6161
- "name": "_setPropertyTargetAsDefault"
6162
- },
6163
- {
6164
- "kind": "method",
6165
- "name": "_onCollapsed",
6166
- "parameters": [
6167
- {
6168
- "name": "collapsed",
6169
- "type": {
6170
- "text": "boolean"
6171
- }
6172
- }
6173
- ]
6174
- },
6175
- {
6176
- "kind": "method",
6177
- "name": "_onSceneChanged"
6178
- },
6179
- {
6180
- "kind": "method",
6181
- "name": "_onSelectedChanged",
6182
- "parameters": [
6183
- {
6184
- "name": "after",
6185
- "type": {
6186
- "text": "Component[]"
6187
- }
6188
- }
6189
- ]
6190
- },
6191
- {
6192
- "kind": "method",
6193
- "name": "_setPropertyTarget",
6194
- "parameters": [
6195
- {
6196
- "name": "newTarget",
6197
- "type": {
6198
- "text": "Component | null"
6199
- }
6200
- }
6201
- ]
6202
- },
6203
- {
6204
- "kind": "method",
6205
- "name": "_setBounds",
6206
- "parameters": [
6207
- {
6208
- "name": "bounds",
6209
- "type": {
6210
- "text": "BOUNDS"
6211
- }
6212
- }
6213
- ]
6214
- }
6215
- ],
6216
- "attributes": [
6217
- {
6218
- "name": "scene",
6219
- "type": {
6220
- "text": "Scene | null"
6221
- },
6222
- "default": "null",
6223
- "fieldName": "scene"
6224
- },
6225
- {
6226
- "name": "bounds",
6227
- "type": {
6228
- "text": "any"
6229
- },
6230
- "default": "{}",
6231
- "fieldName": "bounds"
6232
- },
6233
- {
6234
- "name": "model",
6235
- "type": {
6236
- "text": "Model | null"
6237
- },
6238
- "default": "{}",
6239
- "fieldName": "model"
6240
- },
6241
- {
6242
- "name": "selected",
6243
- "type": {
6244
- "text": "Component[]"
6245
- },
6246
- "default": "[]",
6247
- "fieldName": "selected"
6248
- },
6249
- {
6250
- "name": "specificProps",
6251
- "type": {
6252
- "text": "any"
6253
- },
6254
- "fieldName": "specificProps"
6255
- },
6256
- {
6257
- "name": "tabName",
6258
- "type": {
6259
- "text": "string | null"
6260
- },
6261
- "default": "'specific'",
6262
- "fieldName": "tabName"
6263
- },
6264
- {
6265
- "name": "collapsed",
6266
- "type": {
6267
- "text": "boolean"
6268
- },
6269
- "default": "false",
6270
- "fieldName": "collapsed"
6271
- },
6272
- {
6273
- "name": "fonts",
6274
- "type": {
6275
- "text": "any[]"
6276
- },
6277
- "default": "[]",
6278
- "fieldName": "fonts"
6279
- },
6280
- {
6281
- "name": "propertyEditor",
6282
- "type": {
6283
- "text": "any[]"
6284
- },
6285
- "default": "[]",
6286
- "fieldName": "propertyEditor"
6287
- }
6288
- ],
6289
- "mixins": [
5842
+ "fieldName": "propertyEditor"
5843
+ }
5844
+ ],
5845
+ "mixins": [
6290
5846
  {
6291
5847
  "name": "ScopedElementsMixin",
6292
5848
  "package": "@open-wc/scoped-elements"
@@ -7041,18 +6597,462 @@
7041
6597
  "exports": [
7042
6598
  {
7043
6599
  "kind": "js",
7044
- "name": "default",
6600
+ "name": "default",
6601
+ "declaration": {
6602
+ "name": "OxSceneViewer",
6603
+ "module": "src/modeller/scene-viewer/ox-scene-viewer.ts"
6604
+ }
6605
+ },
6606
+ {
6607
+ "kind": "custom-element-definition",
6608
+ "name": "ox-scene-viewer",
6609
+ "declaration": {
6610
+ "name": "OxSceneViewer",
6611
+ "module": "src/modeller/scene-viewer/ox-scene-viewer.ts"
6612
+ }
6613
+ }
6614
+ ]
6615
+ },
6616
+ {
6617
+ "kind": "javascript-module",
6618
+ "path": "src/modeller/component-toolbar/component-detail.ts",
6619
+ "declarations": [
6620
+ {
6621
+ "kind": "class",
6622
+ "description": "",
6623
+ "name": "ComponentDetail",
6624
+ "members": [
6625
+ {
6626
+ "kind": "field",
6627
+ "name": "template",
6628
+ "type": {
6629
+ "text": "{ about: string } | null"
6630
+ },
6631
+ "default": "null",
6632
+ "attribute": "template"
6633
+ }
6634
+ ],
6635
+ "attributes": [
6636
+ {
6637
+ "name": "template",
6638
+ "type": {
6639
+ "text": "{ about: string } | null"
6640
+ },
6641
+ "default": "null",
6642
+ "fieldName": "template"
6643
+ }
6644
+ ],
6645
+ "superclass": {
6646
+ "name": "LitElement",
6647
+ "package": "lit"
6648
+ },
6649
+ "customElement": true
6650
+ }
6651
+ ],
6652
+ "exports": [
6653
+ {
6654
+ "kind": "js",
6655
+ "name": "ComponentDetail",
6656
+ "declaration": {
6657
+ "name": "ComponentDetail",
6658
+ "module": "src/modeller/component-toolbar/component-detail.ts"
6659
+ }
6660
+ }
6661
+ ]
6662
+ },
6663
+ {
6664
+ "kind": "javascript-module",
6665
+ "path": "src/modeller/component-toolbar/component-menu.ts",
6666
+ "declarations": [
6667
+ {
6668
+ "kind": "class",
6669
+ "description": "",
6670
+ "name": "ComponentMenu",
6671
+ "members": [
6672
+ {
6673
+ "kind": "field",
6674
+ "name": "groups",
6675
+ "type": {
6676
+ "text": "Pallet[]"
6677
+ },
6678
+ "default": "[]",
6679
+ "attribute": "groups"
6680
+ },
6681
+ {
6682
+ "kind": "field",
6683
+ "name": "scene",
6684
+ "type": {
6685
+ "text": "Scene | null"
6686
+ },
6687
+ "default": "null",
6688
+ "attribute": "scene"
6689
+ },
6690
+ {
6691
+ "kind": "field",
6692
+ "name": "group",
6693
+ "type": {
6694
+ "text": "string | null"
6695
+ },
6696
+ "default": "''",
6697
+ "attribute": "group"
6698
+ },
6699
+ {
6700
+ "kind": "field",
6701
+ "name": "templates",
6702
+ "type": {
6703
+ "text": "PalletItem[]"
6704
+ },
6705
+ "default": "[]"
6706
+ },
6707
+ {
6708
+ "kind": "field",
6709
+ "name": "template",
6710
+ "type": {
6711
+ "text": "PalletItem | any"
6712
+ }
6713
+ },
6714
+ {
6715
+ "kind": "field",
6716
+ "name": "detail",
6717
+ "type": {
6718
+ "text": "HTMLElement"
6719
+ }
6720
+ },
6721
+ {
6722
+ "kind": "field",
6723
+ "name": "scopedElements",
6724
+ "static": true,
6725
+ "readonly": true
6726
+ },
6727
+ {
6728
+ "kind": "method",
6729
+ "name": "findTemplate",
6730
+ "parameters": [
6731
+ {
6732
+ "name": "type",
6733
+ "type": {
6734
+ "text": "string | null | undefined"
6735
+ }
6736
+ }
6737
+ ]
6738
+ },
6739
+ {
6740
+ "kind": "method",
6741
+ "name": "onHoverComponent",
6742
+ "parameters": [
6743
+ {
6744
+ "name": "e",
6745
+ "type": {
6746
+ "text": "MouseEvent"
6747
+ }
6748
+ }
6749
+ ]
6750
+ },
6751
+ {
6752
+ "kind": "method",
6753
+ "name": "onClickTemplate",
6754
+ "parameters": [
6755
+ {
6756
+ "name": "e",
6757
+ "type": {
6758
+ "text": "MouseEvent"
6759
+ }
6760
+ }
6761
+ ]
6762
+ },
6763
+ {
6764
+ "kind": "method",
6765
+ "name": "templateIcon",
6766
+ "parameters": [
6767
+ {
6768
+ "name": "template",
6769
+ "type": {
6770
+ "text": "PalletItem"
6771
+ }
6772
+ }
6773
+ ]
6774
+ }
6775
+ ],
6776
+ "attributes": [
6777
+ {
6778
+ "name": "groups",
6779
+ "type": {
6780
+ "text": "Pallet[]"
6781
+ },
6782
+ "default": "[]",
6783
+ "fieldName": "groups"
6784
+ },
6785
+ {
6786
+ "name": "scene",
6787
+ "type": {
6788
+ "text": "Scene | null"
6789
+ },
6790
+ "default": "null",
6791
+ "fieldName": "scene"
6792
+ },
6793
+ {
6794
+ "name": "group",
6795
+ "type": {
6796
+ "text": "string | null"
6797
+ },
6798
+ "default": "''",
6799
+ "fieldName": "group"
6800
+ }
6801
+ ],
6802
+ "mixins": [
6803
+ {
6804
+ "name": "ScopedElementsMixin",
6805
+ "package": "@open-wc/scoped-elements"
6806
+ }
6807
+ ],
6808
+ "superclass": {
6809
+ "name": "LitElement",
6810
+ "package": "lit"
6811
+ },
6812
+ "customElement": true
6813
+ }
6814
+ ],
6815
+ "exports": [
6816
+ {
6817
+ "kind": "js",
6818
+ "name": "ComponentMenu",
6819
+ "declaration": {
6820
+ "name": "ComponentMenu",
6821
+ "module": "src/modeller/component-toolbar/component-menu.ts"
6822
+ }
6823
+ }
6824
+ ]
6825
+ },
6826
+ {
6827
+ "kind": "javascript-module",
6828
+ "path": "src/modeller/component-toolbar/component-toolbar.ts",
6829
+ "declarations": [
6830
+ {
6831
+ "kind": "class",
6832
+ "description": "",
6833
+ "name": "ComponentToolbar",
6834
+ "members": [
6835
+ {
6836
+ "kind": "field",
6837
+ "name": "componentGroupList",
6838
+ "type": {
6839
+ "text": "ComponentGroup[]"
6840
+ },
6841
+ "default": "[]",
6842
+ "attribute": "componentGroupList"
6843
+ },
6844
+ {
6845
+ "kind": "field",
6846
+ "name": "group",
6847
+ "type": {
6848
+ "text": "string | null | undefined"
6849
+ },
6850
+ "attribute": "group"
6851
+ },
6852
+ {
6853
+ "kind": "field",
6854
+ "name": "scene",
6855
+ "type": {
6856
+ "text": "Scene"
6857
+ },
6858
+ "attribute": "scene"
6859
+ },
6860
+ {
6861
+ "kind": "field",
6862
+ "name": "mode",
6863
+ "type": {
6864
+ "text": "SceneMode"
6865
+ },
6866
+ "attribute": "mode"
6867
+ },
6868
+ {
6869
+ "kind": "field",
6870
+ "name": "shift",
6871
+ "type": {
6872
+ "text": "HTMLImageElement"
6873
+ }
6874
+ },
6875
+ {
6876
+ "kind": "field",
6877
+ "name": "menu",
6878
+ "type": {
6879
+ "text": "HTMLElement"
6880
+ },
6881
+ "privacy": "private"
6882
+ },
6883
+ {
6884
+ "kind": "field",
6885
+ "name": "componentsContainer",
6886
+ "type": {
6887
+ "text": "HTMLElement"
6888
+ },
6889
+ "privacy": "private"
6890
+ },
6891
+ {
6892
+ "kind": "field",
6893
+ "name": "groups",
6894
+ "type": {
6895
+ "text": "NodeListOf<HTMLElement>"
6896
+ },
6897
+ "privacy": "private"
6898
+ },
6899
+ {
6900
+ "kind": "field",
6901
+ "name": "icons",
6902
+ "type": {
6903
+ "text": "{ [name: string]: string }"
6904
+ },
6905
+ "privacy": "private",
6906
+ "default": "{}"
6907
+ },
6908
+ {
6909
+ "kind": "field",
6910
+ "name": "scopedElements",
6911
+ "static": true,
6912
+ "readonly": true
6913
+ },
6914
+ {
6915
+ "kind": "method",
6916
+ "name": "onWheelEvent",
6917
+ "parameters": [
6918
+ {
6919
+ "name": "e",
6920
+ "type": {
6921
+ "text": "Event"
6922
+ }
6923
+ }
6924
+ ]
6925
+ },
6926
+ {
6927
+ "kind": "method",
6928
+ "name": "_setMode",
6929
+ "parameters": [
6930
+ {
6931
+ "name": "mode",
6932
+ "type": {
6933
+ "text": "SceneMode"
6934
+ }
6935
+ }
6936
+ ]
6937
+ },
6938
+ {
6939
+ "kind": "method",
6940
+ "name": "_onClickShift",
6941
+ "parameters": [
6942
+ {
6943
+ "name": "e",
6944
+ "type": {
6945
+ "text": "MouseEvent"
6946
+ }
6947
+ }
6948
+ ]
6949
+ },
6950
+ {
6951
+ "kind": "method",
6952
+ "name": "_onClickGroup",
6953
+ "parameters": [
6954
+ {
6955
+ "name": "e",
6956
+ "type": {
6957
+ "text": "MouseEvent"
6958
+ }
6959
+ }
6960
+ ]
6961
+ }
6962
+ ],
6963
+ "events": [
6964
+ {
6965
+ "name": "mode-changed",
6966
+ "type": {
6967
+ "text": "CustomEvent"
6968
+ }
6969
+ }
6970
+ ],
6971
+ "attributes": [
6972
+ {
6973
+ "name": "componentGroupList",
6974
+ "type": {
6975
+ "text": "ComponentGroup[]"
6976
+ },
6977
+ "default": "[]",
6978
+ "fieldName": "componentGroupList"
6979
+ },
6980
+ {
6981
+ "name": "group",
6982
+ "type": {
6983
+ "text": "string | null | undefined"
6984
+ },
6985
+ "fieldName": "group"
6986
+ },
6987
+ {
6988
+ "name": "scene",
6989
+ "type": {
6990
+ "text": "Scene"
6991
+ },
6992
+ "fieldName": "scene"
6993
+ },
6994
+ {
6995
+ "name": "mode",
6996
+ "type": {
6997
+ "text": "SceneMode"
6998
+ },
6999
+ "fieldName": "mode"
7000
+ }
7001
+ ],
7002
+ "mixins": [
7003
+ {
7004
+ "name": "ScopedElementsMixin",
7005
+ "package": "@open-wc/scoped-elements"
7006
+ }
7007
+ ],
7008
+ "superclass": {
7009
+ "name": "LitElement",
7010
+ "package": "lit"
7011
+ },
7012
+ "customElement": true
7013
+ }
7014
+ ],
7015
+ "exports": [
7016
+ {
7017
+ "kind": "js",
7018
+ "name": "ComponentToolbar",
7019
+ "declaration": {
7020
+ "name": "ComponentToolbar",
7021
+ "module": "src/modeller/component-toolbar/component-toolbar.ts"
7022
+ }
7023
+ }
7024
+ ]
7025
+ },
7026
+ {
7027
+ "kind": "javascript-module",
7028
+ "path": "src/modeller/component-toolbar/mode-icons.ts",
7029
+ "declarations": [
7030
+ {
7031
+ "kind": "variable",
7032
+ "name": "ICON_EDIT_MODE",
7033
+ "default": "` <svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 30 30\" style=\"enable-background:new 0 0 30 30;\" xml:space=\"preserve\" > <style type=\"text/css\"> .st0 { fill: {{strokeColor}}; } .st1 { fill: none; stroke: {{strokeColor}}; stroke-width: 0.75; stroke-linejoin: round; stroke-miterlimit: 10; } </style> <g> <polygon class=\"st0\" points=\"2.7,3.9 2.7,22.8 7.8,17.2 16.1,16.9 \" /> <path class=\"st1\" 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 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 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 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 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 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\" /> </g> </svg> `"
7034
+ },
7035
+ {
7036
+ "kind": "variable",
7037
+ "name": "ICON_SHIFT_MODE",
7038
+ "default": "` <svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 30 30\" style=\"enable-background:new 0 0 30 30;\" xml:space=\"preserve\" > <style type=\"text/css\"> .st0 { fill: {{strokeColor}}; stroke: {{strokeColor}}; fill-rule: evenodd; clip-rule: evenodd; } .st1 { fill: {{strokeColor}}; stroke: {{strokeColor}}; stroke-width: 0.75; stroke-linejoin: round; stroke-miterlimit: 10; } </style> <g> <path class=\"st0\" 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 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 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 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 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 C6.7,22.7,7,23.2,7.8,23.2z\" /> <path class=\"st1\" 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 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 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 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 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 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\" /> </g> </svg> `"
7039
+ }
7040
+ ],
7041
+ "exports": [
7042
+ {
7043
+ "kind": "js",
7044
+ "name": "ICON_EDIT_MODE",
7045
7045
  "declaration": {
7046
- "name": "OxSceneViewer",
7047
- "module": "src/modeller/scene-viewer/ox-scene-viewer.ts"
7046
+ "name": "ICON_EDIT_MODE",
7047
+ "module": "src/modeller/component-toolbar/mode-icons.ts"
7048
7048
  }
7049
7049
  },
7050
7050
  {
7051
- "kind": "custom-element-definition",
7052
- "name": "ox-scene-viewer",
7051
+ "kind": "js",
7052
+ "name": "ICON_SHIFT_MODE",
7053
7053
  "declaration": {
7054
- "name": "OxSceneViewer",
7055
- "module": "src/modeller/scene-viewer/ox-scene-viewer.ts"
7054
+ "name": "ICON_SHIFT_MODE",
7055
+ "module": "src/modeller/component-toolbar/mode-icons.ts"
7056
7056
  }
7057
7057
  }
7058
7058
  ]
@@ -8129,256 +8129,16 @@
8129
8129
  "text": "any"
8130
8130
  }
8131
8131
  }
8132
- ]
8133
- }
8134
- ],
8135
- "exports": [
8136
- {
8137
- "kind": "js",
8138
- "name": "convert",
8139
- "declaration": {
8140
- "name": "convert",
8141
- "module": "src/modeller/property-sidebar/effects/value-converter.ts"
8142
- }
8143
- }
8144
- ]
8145
- },
8146
- {
8147
- "kind": "javascript-module",
8148
- "path": "src/modeller/property-sidebar/inspector/inspector.ts",
8149
- "declarations": [
8150
- {
8151
- "kind": "class",
8152
- "description": "",
8153
- "name": "SceneInspector",
8154
- "members": [
8155
- {
8156
- "kind": "field",
8157
- "name": "scene",
8158
- "type": {
8159
- "text": "Scene | undefined"
8160
- },
8161
- "attribute": "scene"
8162
- },
8163
- {
8164
- "kind": "field",
8165
- "name": "searchText",
8166
- "type": {
8167
- "text": "string"
8168
- },
8169
- "privacy": "private",
8170
- "default": "''"
8171
- },
8172
- {
8173
- "kind": "field",
8174
- "name": "_extendedMap",
8175
- "type": {
8176
- "text": "any"
8177
- },
8178
- "privacy": "private"
8179
- },
8180
- {
8181
- "kind": "field",
8182
- "name": "show",
8183
- "type": {
8184
- "text": "boolean"
8185
- },
8186
- "privacy": "private",
8187
- "default": "false"
8188
- },
8189
- {
8190
- "kind": "field",
8191
- "name": "count",
8192
- "type": {
8193
- "text": "number"
8194
- },
8195
- "privacy": "private",
8196
- "default": "-1"
8197
- },
8198
- {
8199
- "kind": "method",
8200
- "name": "disconnectScene",
8201
- "parameters": [
8202
- {
8203
- "name": "scene",
8204
- "optional": true,
8205
- "type": {
8206
- "text": "Scene"
8207
- }
8208
- }
8209
- ]
8210
- },
8211
- {
8212
- "kind": "method",
8213
- "name": "refresh"
8214
- },
8215
- {
8216
- "kind": "method",
8217
- "name": "_onclick",
8218
- "parameters": [
8219
- {
8220
- "name": "e",
8221
- "type": {
8222
- "text": "MouseEvent"
8223
- }
8224
- }
8225
- ]
8226
- },
8227
- {
8228
- "kind": "method",
8229
- "name": "_ondblclick",
8230
- "parameters": [
8231
- {
8232
- "name": "e",
8233
- "type": {
8234
- "text": "MouseEvent"
8235
- }
8236
- }
8237
- ]
8238
- },
8239
- {
8240
- "kind": "field",
8241
- "name": "extendedMap",
8242
- "readonly": true
8243
- },
8244
- {
8245
- "kind": "method",
8246
- "name": "getNodeHandleClass",
8247
- "parameters": [
8248
- {
8249
- "name": "component",
8250
- "type": {
8251
- "text": "Component"
8252
- }
8253
- }
8254
- ]
8255
- },
8256
- {
8257
- "kind": "method",
8258
- "name": "isExtended",
8259
- "parameters": [
8260
- {
8261
- "name": "component",
8262
- "type": {
8263
- "text": "Component"
8264
- }
8265
- }
8266
- ]
8267
- },
8268
- {
8269
- "kind": "method",
8270
- "name": "toggleExtended",
8271
- "parameters": [
8272
- {
8273
- "name": "component",
8274
- "type": {
8275
- "text": "Component"
8276
- }
8277
- }
8278
- ]
8279
- },
8280
- {
8281
- "kind": "method",
8282
- "name": "toggleHidden",
8283
- "parameters": [
8284
- {
8285
- "name": "component",
8286
- "type": {
8287
- "text": "Component"
8288
- }
8289
- }
8290
- ]
8291
- },
8292
- {
8293
- "kind": "method",
8294
- "name": "selectComponent",
8295
- "parameters": [
8296
- {
8297
- "name": "component",
8298
- "type": {
8299
- "text": "Component"
8300
- }
8301
- },
8302
- {
8303
- "name": "append",
8304
- "default": "false",
8305
- "type": {
8306
- "text": "boolean"
8307
- }
8308
- }
8309
- ]
8310
- },
8311
- {
8312
- "kind": "method",
8313
- "name": "shouldBeShown",
8314
- "return": {
8315
- "type": {
8316
- "text": "boolean"
8317
- }
8318
- },
8319
- "parameters": [
8320
- {
8321
- "name": "component",
8322
- "type": {
8323
- "text": "Component"
8324
- }
8325
- },
8326
- {
8327
- "name": "counting",
8328
- "default": "false",
8329
- "type": {
8330
- "text": "boolean"
8331
- }
8332
- }
8333
- ]
8334
- },
8335
- {
8336
- "kind": "method",
8337
- "name": "renderComponent",
8338
- "return": {
8339
- "type": {
8340
- "text": "TemplateResult"
8341
- }
8342
- },
8343
- "parameters": [
8344
- {
8345
- "name": "component",
8346
- "type": {
8347
- "text": "Component"
8348
- }
8349
- },
8350
- {
8351
- "name": "depth",
8352
- "type": {
8353
- "text": "number"
8354
- }
8355
- }
8356
- ]
8357
- }
8358
- ],
8359
- "attributes": [
8360
- {
8361
- "name": "scene",
8362
- "type": {
8363
- "text": "Scene | undefined"
8364
- },
8365
- "fieldName": "scene"
8366
- }
8367
- ],
8368
- "superclass": {
8369
- "name": "LitElement",
8370
- "package": "lit"
8371
- },
8372
- "customElement": true
8132
+ ]
8373
8133
  }
8374
8134
  ],
8375
8135
  "exports": [
8376
8136
  {
8377
8137
  "kind": "js",
8378
- "name": "SceneInspector",
8138
+ "name": "convert",
8379
8139
  "declaration": {
8380
- "name": "SceneInspector",
8381
- "module": "src/modeller/property-sidebar/inspector/inspector.ts"
8140
+ "name": "convert",
8141
+ "module": "src/modeller/property-sidebar/effects/value-converter.ts"
8382
8142
  }
8383
8143
  }
8384
8144
  ]
@@ -8563,6 +8323,16 @@
8563
8323
  "static": true,
8564
8324
  "readonly": true
8565
8325
  },
8326
+ {
8327
+ "kind": "method",
8328
+ "name": "_isGroupSelected",
8329
+ "privacy": "private",
8330
+ "return": {
8331
+ "type": {
8332
+ "text": "boolean"
8333
+ }
8334
+ }
8335
+ },
8566
8336
  {
8567
8337
  "kind": "method",
8568
8338
  "name": "_onValueChange",
@@ -8900,6 +8670,246 @@
8900
8670
  }
8901
8671
  ]
8902
8672
  },
8673
+ {
8674
+ "kind": "javascript-module",
8675
+ "path": "src/modeller/property-sidebar/inspector/inspector.ts",
8676
+ "declarations": [
8677
+ {
8678
+ "kind": "class",
8679
+ "description": "",
8680
+ "name": "SceneInspector",
8681
+ "members": [
8682
+ {
8683
+ "kind": "field",
8684
+ "name": "scene",
8685
+ "type": {
8686
+ "text": "Scene | undefined"
8687
+ },
8688
+ "attribute": "scene"
8689
+ },
8690
+ {
8691
+ "kind": "field",
8692
+ "name": "searchText",
8693
+ "type": {
8694
+ "text": "string"
8695
+ },
8696
+ "privacy": "private",
8697
+ "default": "''"
8698
+ },
8699
+ {
8700
+ "kind": "field",
8701
+ "name": "_extendedMap",
8702
+ "type": {
8703
+ "text": "any"
8704
+ },
8705
+ "privacy": "private"
8706
+ },
8707
+ {
8708
+ "kind": "field",
8709
+ "name": "show",
8710
+ "type": {
8711
+ "text": "boolean"
8712
+ },
8713
+ "privacy": "private",
8714
+ "default": "false"
8715
+ },
8716
+ {
8717
+ "kind": "field",
8718
+ "name": "count",
8719
+ "type": {
8720
+ "text": "number"
8721
+ },
8722
+ "privacy": "private",
8723
+ "default": "-1"
8724
+ },
8725
+ {
8726
+ "kind": "method",
8727
+ "name": "disconnectScene",
8728
+ "parameters": [
8729
+ {
8730
+ "name": "scene",
8731
+ "optional": true,
8732
+ "type": {
8733
+ "text": "Scene"
8734
+ }
8735
+ }
8736
+ ]
8737
+ },
8738
+ {
8739
+ "kind": "method",
8740
+ "name": "refresh"
8741
+ },
8742
+ {
8743
+ "kind": "method",
8744
+ "name": "_onclick",
8745
+ "parameters": [
8746
+ {
8747
+ "name": "e",
8748
+ "type": {
8749
+ "text": "MouseEvent"
8750
+ }
8751
+ }
8752
+ ]
8753
+ },
8754
+ {
8755
+ "kind": "method",
8756
+ "name": "_ondblclick",
8757
+ "parameters": [
8758
+ {
8759
+ "name": "e",
8760
+ "type": {
8761
+ "text": "MouseEvent"
8762
+ }
8763
+ }
8764
+ ]
8765
+ },
8766
+ {
8767
+ "kind": "field",
8768
+ "name": "extendedMap",
8769
+ "readonly": true
8770
+ },
8771
+ {
8772
+ "kind": "method",
8773
+ "name": "getNodeHandleClass",
8774
+ "parameters": [
8775
+ {
8776
+ "name": "component",
8777
+ "type": {
8778
+ "text": "Component"
8779
+ }
8780
+ }
8781
+ ]
8782
+ },
8783
+ {
8784
+ "kind": "method",
8785
+ "name": "isExtended",
8786
+ "parameters": [
8787
+ {
8788
+ "name": "component",
8789
+ "type": {
8790
+ "text": "Component"
8791
+ }
8792
+ }
8793
+ ]
8794
+ },
8795
+ {
8796
+ "kind": "method",
8797
+ "name": "toggleExtended",
8798
+ "parameters": [
8799
+ {
8800
+ "name": "component",
8801
+ "type": {
8802
+ "text": "Component"
8803
+ }
8804
+ }
8805
+ ]
8806
+ },
8807
+ {
8808
+ "kind": "method",
8809
+ "name": "toggleHidden",
8810
+ "parameters": [
8811
+ {
8812
+ "name": "component",
8813
+ "type": {
8814
+ "text": "Component"
8815
+ }
8816
+ }
8817
+ ]
8818
+ },
8819
+ {
8820
+ "kind": "method",
8821
+ "name": "selectComponent",
8822
+ "parameters": [
8823
+ {
8824
+ "name": "component",
8825
+ "type": {
8826
+ "text": "Component"
8827
+ }
8828
+ },
8829
+ {
8830
+ "name": "append",
8831
+ "default": "false",
8832
+ "type": {
8833
+ "text": "boolean"
8834
+ }
8835
+ }
8836
+ ]
8837
+ },
8838
+ {
8839
+ "kind": "method",
8840
+ "name": "shouldBeShown",
8841
+ "return": {
8842
+ "type": {
8843
+ "text": "boolean"
8844
+ }
8845
+ },
8846
+ "parameters": [
8847
+ {
8848
+ "name": "component",
8849
+ "type": {
8850
+ "text": "Component"
8851
+ }
8852
+ },
8853
+ {
8854
+ "name": "counting",
8855
+ "default": "false",
8856
+ "type": {
8857
+ "text": "boolean"
8858
+ }
8859
+ }
8860
+ ]
8861
+ },
8862
+ {
8863
+ "kind": "method",
8864
+ "name": "renderComponent",
8865
+ "return": {
8866
+ "type": {
8867
+ "text": "TemplateResult"
8868
+ }
8869
+ },
8870
+ "parameters": [
8871
+ {
8872
+ "name": "component",
8873
+ "type": {
8874
+ "text": "Component"
8875
+ }
8876
+ },
8877
+ {
8878
+ "name": "depth",
8879
+ "type": {
8880
+ "text": "number"
8881
+ }
8882
+ }
8883
+ ]
8884
+ }
8885
+ ],
8886
+ "attributes": [
8887
+ {
8888
+ "name": "scene",
8889
+ "type": {
8890
+ "text": "Scene | undefined"
8891
+ },
8892
+ "fieldName": "scene"
8893
+ }
8894
+ ],
8895
+ "superclass": {
8896
+ "name": "LitElement",
8897
+ "package": "lit"
8898
+ },
8899
+ "customElement": true
8900
+ }
8901
+ ],
8902
+ "exports": [
8903
+ {
8904
+ "kind": "js",
8905
+ "name": "SceneInspector",
8906
+ "declaration": {
8907
+ "name": "SceneInspector",
8908
+ "module": "src/modeller/property-sidebar/inspector/inspector.ts"
8909
+ }
8910
+ }
8911
+ ]
8912
+ },
8903
8913
  {
8904
8914
  "kind": "javascript-module",
8905
8915
  "path": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts",