@fmsim/board 2.0.0-beta.12 → 2.0.0-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,91 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "stories/restful-attachment-selector.stories.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "meta",
12
+ "default": "{ title: 'Components/RestfulAttachmentSelector', component: 'restful-attachment-selector', argTypes: { category: { control: 'select', options: ['', 'audio', 'video', 'image', 'text', 'application'], description: '첨부파일 카테고리' }, creatable: { control: 'boolean', description: '파일 업로드 가능 여부' }, userName: { control: 'text', description: '사용자 이름' } }, parameters: { layout: 'centered' } } satisfies Meta"
13
+ },
14
+ {
15
+ "kind": "variable",
16
+ "name": "Default",
17
+ "type": {
18
+ "text": "Story"
19
+ },
20
+ "default": "{ render: args => html` <restful-attachment-selector .category=${args.category} .creatable=${args.creatable} .userName=${args.userName} style=\"width: 800px; height: 600px;\" ></restful-attachment-selector> `, args: { category: '', creatable: true, userName: 'testUser' } }"
21
+ },
22
+ {
23
+ "kind": "variable",
24
+ "name": "WithCategory",
25
+ "type": {
26
+ "text": "Story"
27
+ },
28
+ "default": "{ ...Default, args: { ...Default.args, category: 'document' } }"
29
+ },
30
+ {
31
+ "kind": "variable",
32
+ "name": "ReadOnly",
33
+ "type": {
34
+ "text": "Story"
35
+ },
36
+ "default": "{ ...Default, args: { ...Default.args, creatable: false } }"
37
+ },
38
+ {
39
+ "kind": "variable",
40
+ "name": "WithTestData",
41
+ "type": {
42
+ "text": "Story"
43
+ },
44
+ "default": "{ ...Default, args: { ...Default.args, category: 'document' }, play: async ({ canvasElement }) => { const selector = canvasElement.querySelector('restful-attachment-selector') as RestfulAttachmentSelector if (selector) { // 테스트 데이터 주입 selector.attachments = [ { id: 'test-1', name: 'test1.txt', description: 'Test file 1', mimetype: 'text/plain', encoding: '7bit', category: 'document', path: 'test1.txt', bulk: '27', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), creatorId: 'testUser', updaterId: 'testUser', fullpath: 'http://localhost:16060/mcs/lv/images/test1.txt', download: 'http://localhost:16060/mcs/lv/downloadFile/test1.txt' }, { id: 'test-2', name: 'test2.jpg', description: 'Test image', mimetype: 'image/jpeg', encoding: '7bit', category: 'image', path: 'test2.jpg', bulk: '1024', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), creatorId: 'testUser', updaterId: 'testUser', fullpath: 'http://localhost:16060/mcs/lv/images/test2.jpg', download: 'http://localhost:16060/mcs/lv/downloadFile/test2.jpg' } ] } } }"
45
+ }
46
+ ],
47
+ "exports": [
48
+ {
49
+ "kind": "js",
50
+ "name": "default",
51
+ "declaration": {
52
+ "name": "meta",
53
+ "module": "stories/restful-attachment-selector.stories.ts"
54
+ }
55
+ },
56
+ {
57
+ "kind": "js",
58
+ "name": "Default",
59
+ "declaration": {
60
+ "name": "Default",
61
+ "module": "stories/restful-attachment-selector.stories.ts"
62
+ }
63
+ },
64
+ {
65
+ "kind": "js",
66
+ "name": "WithCategory",
67
+ "declaration": {
68
+ "name": "WithCategory",
69
+ "module": "stories/restful-attachment-selector.stories.ts"
70
+ }
71
+ },
72
+ {
73
+ "kind": "js",
74
+ "name": "ReadOnly",
75
+ "declaration": {
76
+ "name": "ReadOnly",
77
+ "module": "stories/restful-attachment-selector.stories.ts"
78
+ }
79
+ },
80
+ {
81
+ "kind": "js",
82
+ "name": "WithTestData",
83
+ "declaration": {
84
+ "name": "WithTestData",
85
+ "module": "stories/restful-attachment-selector.stories.ts"
86
+ }
87
+ }
88
+ ]
89
+ },
5
90
  {
6
91
  "kind": "javascript-module",
7
92
  "path": "src/index.ts",
@@ -1597,6 +1682,14 @@
1597
1682
  },
1598
1683
  "attribute": "value"
1599
1684
  },
1685
+ {
1686
+ "kind": "field",
1687
+ "name": "boardName",
1688
+ "type": {
1689
+ "text": "string | undefined"
1690
+ },
1691
+ "privacy": "private"
1692
+ },
1600
1693
  {
1601
1694
  "kind": "field",
1602
1695
  "name": "popup",
@@ -1605,6 +1698,19 @@
1605
1698
  },
1606
1699
  "privacy": "private"
1607
1700
  },
1701
+ {
1702
+ "kind": "method",
1703
+ "name": "_resolveName",
1704
+ "privacy": "private",
1705
+ "parameters": [
1706
+ {
1707
+ "name": "id",
1708
+ "type": {
1709
+ "text": "string"
1710
+ }
1711
+ }
1712
+ ]
1713
+ },
1608
1714
  {
1609
1715
  "kind": "method",
1610
1716
  "name": "_onInputChanged",
@@ -2233,85 +2339,221 @@
2233
2339
  },
2234
2340
  {
2235
2341
  "kind": "javascript-module",
2236
- "path": "stories/restful-attachment-selector.stories.ts",
2342
+ "path": "src/data-storage/board-model-cache.ts",
2237
2343
  "declarations": [
2238
2344
  {
2239
- "kind": "variable",
2240
- "name": "meta",
2241
- "default": "{ title: 'Components/RestfulAttachmentSelector', component: 'restful-attachment-selector', argTypes: { category: { control: 'select', options: ['', 'audio', 'video', 'image', 'text', 'application'], description: '첨부파일 카테고리' }, creatable: { control: 'boolean', description: '파일 업로드 가능 여부' }, userName: { control: 'text', description: '사용자 이름' } }, parameters: { layout: 'centered' } } satisfies Meta"
2242
- },
2243
- {
2244
- "kind": "variable",
2245
- "name": "Default",
2246
- "type": {
2247
- "text": "Story"
2248
- },
2249
- "default": "{ render: args => html` <restful-attachment-selector .category=${args.category} .creatable=${args.creatable} .userName=${args.userName} style=\"width: 800px; height: 600px;\" ></restful-attachment-selector> `, args: { category: '', creatable: true, userName: 'testUser' } }"
2250
- },
2251
- {
2252
- "kind": "variable",
2253
- "name": "WithCategory",
2254
- "type": {
2255
- "text": "Story"
2256
- },
2257
- "default": "{ ...Default, args: { ...Default.args, category: 'document' } }"
2258
- },
2259
- {
2260
- "kind": "variable",
2261
- "name": "ReadOnly",
2262
- "type": {
2263
- "text": "Story"
2264
- },
2265
- "default": "{ ...Default, args: { ...Default.args, creatable: false } }"
2266
- },
2267
- {
2268
- "kind": "variable",
2269
- "name": "WithTestData",
2270
- "type": {
2271
- "text": "Story"
2272
- },
2273
- "default": "{ ...Default, args: { ...Default.args, category: 'document' }, play: async ({ canvasElement }) => { const selector = canvasElement.querySelector('restful-attachment-selector') as RestfulAttachmentSelector if (selector) { // 테스트 데이터 주입 selector.attachments = [ { id: 'test-1', name: 'test1.txt', description: 'Test file 1', mimetype: 'text/plain', encoding: '7bit', category: 'document', path: 'test1.txt', bulk: '27', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), creatorId: 'testUser', updaterId: 'testUser', fullpath: 'http://localhost:16060/mcs/lv/images/test1.txt', download: 'http://localhost:16060/mcs/lv/downloadFile/test1.txt' }, { id: 'test-2', name: 'test2.jpg', description: 'Test image', mimetype: 'image/jpeg', encoding: '7bit', category: 'image', path: 'test2.jpg', bulk: '1024', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), creatorId: 'testUser', updaterId: 'testUser', fullpath: 'http://localhost:16060/mcs/lv/images/test2.jpg', download: 'http://localhost:16060/mcs/lv/downloadFile/test2.jpg' } ] } } }"
2345
+ "kind": "class",
2346
+ "description": "",
2347
+ "name": "BoardModelCache",
2348
+ "members": [
2349
+ {
2350
+ "kind": "method",
2351
+ "name": "get",
2352
+ "static": true,
2353
+ "return": {
2354
+ "type": {
2355
+ "text": "Promise<CachedBoard | null>"
2356
+ }
2357
+ },
2358
+ "parameters": [
2359
+ {
2360
+ "name": "boardId",
2361
+ "type": {
2362
+ "text": "string"
2363
+ }
2364
+ }
2365
+ ]
2366
+ },
2367
+ {
2368
+ "kind": "method",
2369
+ "name": "put",
2370
+ "static": true,
2371
+ "return": {
2372
+ "type": {
2373
+ "text": "Promise<void>"
2374
+ }
2375
+ },
2376
+ "parameters": [
2377
+ {
2378
+ "name": "boardId",
2379
+ "type": {
2380
+ "text": "string"
2381
+ }
2382
+ },
2383
+ {
2384
+ "name": "name",
2385
+ "type": {
2386
+ "text": "string"
2387
+ }
2388
+ },
2389
+ {
2390
+ "name": "model",
2391
+ "type": {
2392
+ "text": "string"
2393
+ }
2394
+ },
2395
+ {
2396
+ "name": "updatedAt",
2397
+ "type": {
2398
+ "text": "string"
2399
+ }
2400
+ }
2401
+ ]
2402
+ },
2403
+ {
2404
+ "kind": "method",
2405
+ "name": "isValid",
2406
+ "static": true,
2407
+ "return": {
2408
+ "type": {
2409
+ "text": "Promise<boolean>"
2410
+ }
2411
+ },
2412
+ "parameters": [
2413
+ {
2414
+ "name": "boardId",
2415
+ "type": {
2416
+ "text": "string"
2417
+ }
2418
+ },
2419
+ {
2420
+ "name": "serverUpdatedAt",
2421
+ "type": {
2422
+ "text": "string"
2423
+ }
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "method",
2429
+ "name": "remove",
2430
+ "static": true,
2431
+ "return": {
2432
+ "type": {
2433
+ "text": "Promise<void>"
2434
+ }
2435
+ },
2436
+ "parameters": [
2437
+ {
2438
+ "name": "boardId",
2439
+ "type": {
2440
+ "text": "string"
2441
+ }
2442
+ }
2443
+ ]
2444
+ },
2445
+ {
2446
+ "kind": "method",
2447
+ "name": "clear",
2448
+ "static": true,
2449
+ "return": {
2450
+ "type": {
2451
+ "text": "Promise<void>"
2452
+ }
2453
+ }
2454
+ }
2455
+ ]
2274
2456
  }
2275
2457
  ],
2276
2458
  "exports": [
2277
2459
  {
2278
2460
  "kind": "js",
2279
- "name": "default",
2461
+ "name": "BoardModelCache",
2280
2462
  "declaration": {
2281
- "name": "meta",
2282
- "module": "stories/restful-attachment-selector.stories.ts"
2283
- }
2284
- },
2285
- {
2286
- "kind": "js",
2287
- "name": "Default",
2288
- "declaration": {
2289
- "name": "Default",
2290
- "module": "stories/restful-attachment-selector.stories.ts"
2291
- }
2292
- },
2293
- {
2294
- "kind": "js",
2295
- "name": "WithCategory",
2296
- "declaration": {
2297
- "name": "WithCategory",
2298
- "module": "stories/restful-attachment-selector.stories.ts"
2463
+ "name": "BoardModelCache",
2464
+ "module": "src/data-storage/board-model-cache.ts"
2299
2465
  }
2300
- },
2466
+ }
2467
+ ]
2468
+ },
2469
+ {
2470
+ "kind": "javascript-module",
2471
+ "path": "src/data-storage/data-storage.ts",
2472
+ "declarations": [
2301
2473
  {
2302
- "kind": "js",
2303
- "name": "ReadOnly",
2304
- "declaration": {
2305
- "name": "ReadOnly",
2306
- "module": "stories/restful-attachment-selector.stories.ts"
2307
- }
2308
- },
2474
+ "kind": "class",
2475
+ "description": "",
2476
+ "name": "DataStorage",
2477
+ "members": [
2478
+ {
2479
+ "kind": "field",
2480
+ "name": "id",
2481
+ "type": {
2482
+ "text": "string"
2483
+ },
2484
+ "privacy": "private",
2485
+ "default": "id"
2486
+ },
2487
+ {
2488
+ "kind": "method",
2489
+ "name": "load",
2490
+ "privacy": "public",
2491
+ "return": {
2492
+ "type": {
2493
+ "text": "Promise<any>"
2494
+ }
2495
+ },
2496
+ "parameters": [
2497
+ {
2498
+ "name": "key",
2499
+ "type": {
2500
+ "text": "Component"
2501
+ }
2502
+ }
2503
+ ]
2504
+ },
2505
+ {
2506
+ "kind": "method",
2507
+ "name": "save",
2508
+ "privacy": "public",
2509
+ "return": {
2510
+ "type": {
2511
+ "text": "Promise<void>"
2512
+ }
2513
+ },
2514
+ "parameters": [
2515
+ {
2516
+ "name": "key",
2517
+ "type": {
2518
+ "text": "Component"
2519
+ }
2520
+ },
2521
+ {
2522
+ "name": "value",
2523
+ "type": {
2524
+ "text": "any"
2525
+ }
2526
+ }
2527
+ ]
2528
+ },
2529
+ {
2530
+ "kind": "method",
2531
+ "name": "clear",
2532
+ "privacy": "public",
2533
+ "return": {
2534
+ "type": {
2535
+ "text": "Promise<void>"
2536
+ }
2537
+ },
2538
+ "parameters": [
2539
+ {
2540
+ "name": "key",
2541
+ "type": {
2542
+ "text": "Component"
2543
+ }
2544
+ }
2545
+ ]
2546
+ }
2547
+ ]
2548
+ }
2549
+ ],
2550
+ "exports": [
2309
2551
  {
2310
2552
  "kind": "js",
2311
- "name": "WithTestData",
2553
+ "name": "DataStorage",
2312
2554
  "declaration": {
2313
- "name": "WithTestData",
2314
- "module": "stories/restful-attachment-selector.stories.ts"
2555
+ "name": "DataStorage",
2556
+ "module": "src/data-storage/data-storage.ts"
2315
2557
  }
2316
2558
  }
2317
2559
  ]
@@ -3443,359 +3685,138 @@
3443
3685
  },
3444
3686
  {
3445
3687
  "kind": "javascript-module",
3446
- "path": "src/data-storage/board-model-cache.ts",
3688
+ "path": "src/layers/mcs-mouse-event-handler.ts",
3689
+ "declarations": [],
3690
+ "exports": []
3691
+ },
3692
+ {
3693
+ "kind": "javascript-module",
3694
+ "path": "src/layers/movement-layer.ts",
3447
3695
  "declarations": [
3448
3696
  {
3449
3697
  "kind": "class",
3450
3698
  "description": "",
3451
- "name": "BoardModelCache",
3699
+ "name": "MovementLayer",
3452
3700
  "members": [
3701
+ {
3702
+ "kind": "field",
3703
+ "name": "drawInstructionHandler"
3704
+ },
3705
+ {
3706
+ "kind": "field",
3707
+ "name": "clickComponentHandler"
3708
+ },
3709
+ {
3710
+ "kind": "field",
3711
+ "name": "onchangeTarget"
3712
+ },
3453
3713
  {
3454
3714
  "kind": "method",
3455
- "name": "get",
3456
- "static": true,
3457
- "return": {
3458
- "type": {
3459
- "text": "Promise<CachedBoard | null>"
3460
- }
3461
- },
3462
- "parameters": [
3463
- {
3464
- "name": "boardId",
3465
- "type": {
3466
- "text": "string"
3467
- }
3468
- }
3469
- ]
3715
+ "name": "ready"
3470
3716
  },
3471
3717
  {
3472
3718
  "kind": "method",
3473
- "name": "put",
3474
- "static": true,
3475
- "return": {
3476
- "type": {
3477
- "text": "Promise<void>"
3478
- }
3479
- },
3719
+ "name": "dispose"
3720
+ },
3721
+ {
3722
+ "kind": "field",
3723
+ "name": "pointerEvents",
3724
+ "readonly": true
3725
+ },
3726
+ {
3727
+ "kind": "field",
3728
+ "name": "capturable",
3729
+ "readonly": true
3730
+ },
3731
+ {
3732
+ "kind": "method",
3733
+ "name": "drawArrow",
3480
3734
  "parameters": [
3481
3735
  {
3482
- "name": "boardId",
3736
+ "name": "ctx",
3483
3737
  "type": {
3484
- "text": "string"
3738
+ "text": "CanvasRenderingContext2D"
3485
3739
  }
3486
3740
  },
3487
3741
  {
3488
- "name": "name",
3742
+ "name": "p1",
3489
3743
  "type": {
3490
- "text": "string"
3744
+ "text": "POINT"
3491
3745
  }
3492
3746
  },
3493
3747
  {
3494
- "name": "model",
3748
+ "name": "p2",
3495
3749
  "type": {
3496
- "text": "string"
3750
+ "text": "POINT"
3497
3751
  }
3498
3752
  },
3499
3753
  {
3500
- "name": "updatedAt",
3754
+ "name": "pathType",
3755
+ "type": {
3756
+ "text": "PathType"
3757
+ }
3758
+ },
3759
+ {
3760
+ "name": "pathStatus",
3761
+ "type": {
3762
+ "text": "PathStatus"
3763
+ }
3764
+ },
3765
+ {
3766
+ "name": "label",
3501
3767
  "type": {
3502
3768
  "text": "string"
3503
3769
  }
3770
+ },
3771
+ {
3772
+ "name": "styles",
3773
+ "optional": true,
3774
+ "type": {
3775
+ "text": "PathStyles"
3776
+ }
3504
3777
  }
3505
3778
  ]
3506
3779
  },
3507
3780
  {
3508
3781
  "kind": "method",
3509
- "name": "isValid",
3510
- "static": true,
3782
+ "name": "findSourceAndTarget",
3511
3783
  "return": {
3512
3784
  "type": {
3513
- "text": "Promise<boolean>"
3785
+ "text": "[Component?, Component?]"
3514
3786
  }
3515
3787
  },
3516
3788
  "parameters": [
3517
3789
  {
3518
- "name": "boardId",
3519
- "type": {
3520
- "text": "string"
3521
- }
3522
- },
3523
- {
3524
- "name": "serverUpdatedAt",
3790
+ "name": "path",
3525
3791
  "type": {
3526
- "text": "string"
3792
+ "text": "PATH"
3527
3793
  }
3528
3794
  }
3529
3795
  ]
3530
3796
  },
3531
3797
  {
3532
- "kind": "method",
3533
- "name": "remove",
3534
- "static": true,
3535
- "return": {
3536
- "type": {
3537
- "text": "Promise<void>"
3538
- }
3798
+ "kind": "field",
3799
+ "name": "monitoringTargets",
3800
+ "type": {
3801
+ "text": "Component[]"
3539
3802
  },
3803
+ "privacy": "private",
3804
+ "default": "[]"
3805
+ },
3806
+ {
3807
+ "kind": "method",
3808
+ "name": "clearMonitoringTargets",
3809
+ "privacy": "private"
3810
+ },
3811
+ {
3812
+ "kind": "method",
3813
+ "name": "addMonitoringTarget",
3814
+ "privacy": "private",
3540
3815
  "parameters": [
3541
3816
  {
3542
- "name": "boardId",
3817
+ "name": "targets",
3543
3818
  "type": {
3544
- "text": "string"
3545
- }
3546
- }
3547
- ]
3548
- },
3549
- {
3550
- "kind": "method",
3551
- "name": "clear",
3552
- "static": true,
3553
- "return": {
3554
- "type": {
3555
- "text": "Promise<void>"
3556
- }
3557
- }
3558
- }
3559
- ]
3560
- }
3561
- ],
3562
- "exports": [
3563
- {
3564
- "kind": "js",
3565
- "name": "BoardModelCache",
3566
- "declaration": {
3567
- "name": "BoardModelCache",
3568
- "module": "src/data-storage/board-model-cache.ts"
3569
- }
3570
- }
3571
- ]
3572
- },
3573
- {
3574
- "kind": "javascript-module",
3575
- "path": "src/data-storage/data-storage.ts",
3576
- "declarations": [
3577
- {
3578
- "kind": "class",
3579
- "description": "",
3580
- "name": "DataStorage",
3581
- "members": [
3582
- {
3583
- "kind": "field",
3584
- "name": "id",
3585
- "type": {
3586
- "text": "string"
3587
- },
3588
- "privacy": "private",
3589
- "default": "id"
3590
- },
3591
- {
3592
- "kind": "method",
3593
- "name": "load",
3594
- "privacy": "public",
3595
- "return": {
3596
- "type": {
3597
- "text": "Promise<any>"
3598
- }
3599
- },
3600
- "parameters": [
3601
- {
3602
- "name": "key",
3603
- "type": {
3604
- "text": "Component"
3605
- }
3606
- }
3607
- ]
3608
- },
3609
- {
3610
- "kind": "method",
3611
- "name": "save",
3612
- "privacy": "public",
3613
- "return": {
3614
- "type": {
3615
- "text": "Promise<void>"
3616
- }
3617
- },
3618
- "parameters": [
3619
- {
3620
- "name": "key",
3621
- "type": {
3622
- "text": "Component"
3623
- }
3624
- },
3625
- {
3626
- "name": "value",
3627
- "type": {
3628
- "text": "any"
3629
- }
3630
- }
3631
- ]
3632
- },
3633
- {
3634
- "kind": "method",
3635
- "name": "clear",
3636
- "privacy": "public",
3637
- "return": {
3638
- "type": {
3639
- "text": "Promise<void>"
3640
- }
3641
- },
3642
- "parameters": [
3643
- {
3644
- "name": "key",
3645
- "type": {
3646
- "text": "Component"
3647
- }
3648
- }
3649
- ]
3650
- }
3651
- ]
3652
- }
3653
- ],
3654
- "exports": [
3655
- {
3656
- "kind": "js",
3657
- "name": "DataStorage",
3658
- "declaration": {
3659
- "name": "DataStorage",
3660
- "module": "src/data-storage/data-storage.ts"
3661
- }
3662
- }
3663
- ]
3664
- },
3665
- {
3666
- "kind": "javascript-module",
3667
- "path": "src/layers/mcs-mouse-event-handler.ts",
3668
- "declarations": [],
3669
- "exports": []
3670
- },
3671
- {
3672
- "kind": "javascript-module",
3673
- "path": "src/layers/movement-layer.ts",
3674
- "declarations": [
3675
- {
3676
- "kind": "class",
3677
- "description": "",
3678
- "name": "MovementLayer",
3679
- "members": [
3680
- {
3681
- "kind": "field",
3682
- "name": "drawInstructionHandler"
3683
- },
3684
- {
3685
- "kind": "field",
3686
- "name": "clickComponentHandler"
3687
- },
3688
- {
3689
- "kind": "field",
3690
- "name": "onchangeTarget"
3691
- },
3692
- {
3693
- "kind": "method",
3694
- "name": "ready"
3695
- },
3696
- {
3697
- "kind": "method",
3698
- "name": "dispose"
3699
- },
3700
- {
3701
- "kind": "field",
3702
- "name": "pointerEvents",
3703
- "readonly": true
3704
- },
3705
- {
3706
- "kind": "field",
3707
- "name": "capturable",
3708
- "readonly": true
3709
- },
3710
- {
3711
- "kind": "method",
3712
- "name": "drawArrow",
3713
- "parameters": [
3714
- {
3715
- "name": "ctx",
3716
- "type": {
3717
- "text": "CanvasRenderingContext2D"
3718
- }
3719
- },
3720
- {
3721
- "name": "p1",
3722
- "type": {
3723
- "text": "POINT"
3724
- }
3725
- },
3726
- {
3727
- "name": "p2",
3728
- "type": {
3729
- "text": "POINT"
3730
- }
3731
- },
3732
- {
3733
- "name": "pathType",
3734
- "type": {
3735
- "text": "PathType"
3736
- }
3737
- },
3738
- {
3739
- "name": "pathStatus",
3740
- "type": {
3741
- "text": "PathStatus"
3742
- }
3743
- },
3744
- {
3745
- "name": "label",
3746
- "type": {
3747
- "text": "string"
3748
- }
3749
- },
3750
- {
3751
- "name": "styles",
3752
- "optional": true,
3753
- "type": {
3754
- "text": "PathStyles"
3755
- }
3756
- }
3757
- ]
3758
- },
3759
- {
3760
- "kind": "method",
3761
- "name": "findSourceAndTarget",
3762
- "return": {
3763
- "type": {
3764
- "text": "[Component?, Component?]"
3765
- }
3766
- },
3767
- "parameters": [
3768
- {
3769
- "name": "path",
3770
- "type": {
3771
- "text": "PATH"
3772
- }
3773
- }
3774
- ]
3775
- },
3776
- {
3777
- "kind": "field",
3778
- "name": "monitoringTargets",
3779
- "type": {
3780
- "text": "Component[]"
3781
- },
3782
- "privacy": "private",
3783
- "default": "[]"
3784
- },
3785
- {
3786
- "kind": "method",
3787
- "name": "clearMonitoringTargets",
3788
- "privacy": "private"
3789
- },
3790
- {
3791
- "kind": "method",
3792
- "name": "addMonitoringTarget",
3793
- "privacy": "private",
3794
- "parameters": [
3795
- {
3796
- "name": "targets",
3797
- "type": {
3798
- "text": "Component[]"
3819
+ "text": "Component[]"
3799
3820
  }
3800
3821
  }
3801
3822
  ]
@@ -4932,194 +4953,62 @@
4932
4953
  },
4933
4954
  {
4934
4955
  "kind": "javascript-module",
4935
- "path": "src/modeller/component-toolbar/component-detail.ts",
4956
+ "path": "src/modeller/property-sidebar/abstract-property.ts",
4936
4957
  "declarations": [
4937
4958
  {
4938
4959
  "kind": "class",
4939
4960
  "description": "",
4940
- "name": "ComponentDetail",
4961
+ "name": "AbstractProperty",
4941
4962
  "members": [
4942
- {
4943
- "kind": "field",
4944
- "name": "template",
4945
- "type": {
4946
- "text": "{ about: string } | null"
4947
- },
4948
- "default": "null",
4949
- "attribute": "template"
4950
- }
4951
- ],
4952
- "attributes": [
4953
- {
4954
- "name": "template",
4955
- "type": {
4956
- "text": "{ about: string } | null"
4957
- },
4958
- "default": "null",
4959
- "fieldName": "template"
4960
- }
4961
- ],
4962
- "superclass": {
4963
- "name": "LitElement",
4964
- "package": "lit"
4965
- },
4966
- "customElement": true
4967
- }
4968
- ],
4969
- "exports": [
4970
- {
4971
- "kind": "js",
4972
- "name": "ComponentDetail",
4973
- "declaration": {
4974
- "name": "ComponentDetail",
4975
- "module": "src/modeller/component-toolbar/component-detail.ts"
4976
- }
4977
- }
4978
- ]
4979
- },
4980
- {
4981
- "kind": "javascript-module",
4982
- "path": "src/modeller/component-toolbar/component-menu.ts",
4983
- "declarations": [
4984
- {
4985
- "kind": "class",
4986
- "description": "",
4987
- "name": "ComponentMenu",
4988
- "members": [
4989
- {
4990
- "kind": "field",
4991
- "name": "groups",
4992
- "type": {
4993
- "text": "Pallet[]"
4994
- },
4995
- "default": "[]",
4996
- "attribute": "groups"
4997
- },
4998
- {
4999
- "kind": "field",
5000
- "name": "scene",
5001
- "type": {
5002
- "text": "Scene | null"
5003
- },
5004
- "default": "null",
5005
- "attribute": "scene"
5006
- },
5007
- {
5008
- "kind": "field",
5009
- "name": "group",
5010
- "type": {
5011
- "text": "string | null"
5012
- },
5013
- "default": "''",
5014
- "attribute": "group"
5015
- },
5016
- {
5017
- "kind": "field",
5018
- "name": "templates",
5019
- "type": {
5020
- "text": "PalletItem[]"
5021
- },
5022
- "default": "[]"
5023
- },
5024
- {
5025
- "kind": "field",
5026
- "name": "template",
5027
- "type": {
5028
- "text": "PalletItem | any"
5029
- }
5030
- },
5031
- {
5032
- "kind": "field",
5033
- "name": "detail",
5034
- "type": {
5035
- "text": "HTMLElement"
5036
- }
5037
- },
5038
- {
5039
- "kind": "field",
5040
- "name": "scopedElements",
5041
- "static": true,
5042
- "readonly": true
5043
- },
5044
4963
  {
5045
4964
  "kind": "method",
5046
- "name": "findTemplate",
4965
+ "name": "_onValueChange",
5047
4966
  "parameters": [
5048
4967
  {
5049
- "name": "type",
4968
+ "name": "e",
5050
4969
  "type": {
5051
- "text": "string | null | undefined"
4970
+ "text": "Event"
5052
4971
  }
5053
4972
  }
5054
4973
  ]
5055
4974
  },
5056
4975
  {
5057
4976
  "kind": "method",
5058
- "name": "onHoverComponent",
4977
+ "name": "_getValueFromEventTarget",
5059
4978
  "parameters": [
5060
4979
  {
5061
- "name": "e",
4980
+ "name": "element",
5062
4981
  "type": {
5063
- "text": "MouseEvent"
4982
+ "text": "HTMLElement"
5064
4983
  }
5065
4984
  }
5066
4985
  ]
5067
4986
  },
5068
4987
  {
5069
4988
  "kind": "method",
5070
- "name": "onClickTemplate",
4989
+ "name": "_onAfterValueChange",
5071
4990
  "parameters": [
5072
4991
  {
5073
- "name": "e",
4992
+ "name": "key",
5074
4993
  "type": {
5075
- "text": "MouseEvent"
4994
+ "text": "string"
5076
4995
  }
5077
- }
5078
- ]
5079
- },
5080
- {
5081
- "kind": "method",
5082
- "name": "templateIcon",
5083
- "parameters": [
4996
+ },
5084
4997
  {
5085
- "name": "template",
4998
+ "name": "value",
5086
4999
  "type": {
5087
- "text": "PalletItem"
5000
+ "text": "any"
5088
5001
  }
5089
5002
  }
5090
5003
  ]
5091
5004
  }
5092
5005
  ],
5093
- "attributes": [
5094
- {
5095
- "name": "groups",
5096
- "type": {
5097
- "text": "Pallet[]"
5098
- },
5099
- "default": "[]",
5100
- "fieldName": "groups"
5101
- },
5102
- {
5103
- "name": "scene",
5104
- "type": {
5105
- "text": "Scene | null"
5106
- },
5107
- "default": "null",
5108
- "fieldName": "scene"
5109
- },
5006
+ "events": [
5110
5007
  {
5111
- "name": "group",
5008
+ "name": "property-change",
5112
5009
  "type": {
5113
- "text": "string | null"
5114
- },
5115
- "default": "''",
5116
- "fieldName": "group"
5117
- }
5118
- ],
5119
- "mixins": [
5120
- {
5121
- "name": "ScopedElementsMixin",
5122
- "package": "@open-wc/scoped-elements"
5010
+ "text": "CustomEvent"
5011
+ }
5123
5012
  }
5124
5013
  ],
5125
5014
  "superclass": {
@@ -5132,95 +5021,131 @@
5132
5021
  "exports": [
5133
5022
  {
5134
5023
  "kind": "js",
5135
- "name": "ComponentMenu",
5024
+ "name": "AbstractProperty",
5136
5025
  "declaration": {
5137
- "name": "ComponentMenu",
5138
- "module": "src/modeller/component-toolbar/component-menu.ts"
5026
+ "name": "AbstractProperty",
5027
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
5139
5028
  }
5140
5029
  }
5141
5030
  ]
5142
5031
  },
5143
5032
  {
5144
5033
  "kind": "javascript-module",
5145
- "path": "src/modeller/component-toolbar/component-toolbar.ts",
5034
+ "path": "src/modeller/property-sidebar/property-shared-style.ts",
5035
+ "declarations": [
5036
+ {
5037
+ "kind": "variable",
5038
+ "name": "PropertySharedStyle",
5039
+ "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; } `"
5040
+ }
5041
+ ],
5042
+ "exports": [
5043
+ {
5044
+ "kind": "js",
5045
+ "name": "PropertySharedStyle",
5046
+ "declaration": {
5047
+ "name": "PropertySharedStyle",
5048
+ "module": "src/modeller/property-sidebar/property-shared-style.ts"
5049
+ }
5050
+ }
5051
+ ]
5052
+ },
5053
+ {
5054
+ "kind": "javascript-module",
5055
+ "path": "src/modeller/property-sidebar/property-sidebar.ts",
5146
5056
  "declarations": [
5147
5057
  {
5148
5058
  "kind": "class",
5149
5059
  "description": "",
5150
- "name": "ComponentToolbar",
5060
+ "name": "PropertySidebar",
5151
5061
  "members": [
5152
5062
  {
5153
5063
  "kind": "field",
5154
- "name": "componentGroupList",
5064
+ "name": "scene",
5155
5065
  "type": {
5156
- "text": "ComponentGroup[]"
5066
+ "text": "Scene | null"
5157
5067
  },
5158
- "default": "[]",
5159
- "attribute": "componentGroupList"
5068
+ "default": "null",
5069
+ "attribute": "scene"
5160
5070
  },
5161
5071
  {
5162
5072
  "kind": "field",
5163
- "name": "group",
5073
+ "name": "bounds",
5164
5074
  "type": {
5165
- "text": "string | null | undefined"
5075
+ "text": "any"
5166
5076
  },
5167
- "attribute": "group"
5077
+ "default": "{}",
5078
+ "attribute": "bounds"
5168
5079
  },
5169
5080
  {
5170
5081
  "kind": "field",
5171
- "name": "scene",
5082
+ "name": "model",
5172
5083
  "type": {
5173
- "text": "Scene"
5084
+ "text": "Model | null"
5174
5085
  },
5175
- "attribute": "scene"
5086
+ "default": "{}",
5087
+ "attribute": "model"
5176
5088
  },
5177
5089
  {
5178
5090
  "kind": "field",
5179
- "name": "mode",
5091
+ "name": "selected",
5180
5092
  "type": {
5181
- "text": "SceneMode"
5093
+ "text": "Component[]"
5182
5094
  },
5183
- "attribute": "mode"
5095
+ "default": "[]",
5096
+ "attribute": "selected"
5184
5097
  },
5185
5098
  {
5186
5099
  "kind": "field",
5187
- "name": "shift",
5100
+ "name": "specificProps",
5188
5101
  "type": {
5189
- "text": "HTMLImageElement"
5190
- }
5102
+ "text": "any"
5103
+ },
5104
+ "attribute": "specificProps"
5191
5105
  },
5192
5106
  {
5193
5107
  "kind": "field",
5194
- "name": "menu",
5108
+ "name": "tabName",
5195
5109
  "type": {
5196
- "text": "HTMLElement"
5110
+ "text": "string | null"
5197
5111
  },
5198
- "privacy": "private"
5112
+ "default": "'specific'",
5113
+ "attribute": "tabName"
5199
5114
  },
5200
5115
  {
5201
5116
  "kind": "field",
5202
- "name": "componentsContainer",
5117
+ "name": "collapsed",
5203
5118
  "type": {
5204
- "text": "HTMLElement"
5119
+ "text": "boolean"
5205
5120
  },
5206
- "privacy": "private"
5121
+ "default": "false",
5122
+ "attribute": "collapsed"
5207
5123
  },
5208
5124
  {
5209
5125
  "kind": "field",
5210
- "name": "groups",
5126
+ "name": "fonts",
5211
5127
  "type": {
5212
- "text": "NodeListOf<HTMLElement>"
5128
+ "text": "any[]"
5213
5129
  },
5214
- "privacy": "private"
5130
+ "default": "[]",
5131
+ "attribute": "fonts"
5215
5132
  },
5216
5133
  {
5217
5134
  "kind": "field",
5218
- "name": "icons",
5135
+ "name": "propertyEditor",
5219
5136
  "type": {
5220
- "text": "{ [name: string]: string }"
5137
+ "text": "any[]"
5221
5138
  },
5222
- "privacy": "private",
5223
- "default": "{}"
5139
+ "default": "[]",
5140
+ "attribute": "propertyEditor"
5141
+ },
5142
+ {
5143
+ "kind": "field",
5144
+ "name": "propertyTarget",
5145
+ "type": {
5146
+ "text": "Component | null"
5147
+ },
5148
+ "default": "null"
5224
5149
  },
5225
5150
  {
5226
5151
  "kind": "field",
@@ -5230,90 +5155,160 @@
5230
5155
  },
5231
5156
  {
5232
5157
  "kind": "method",
5233
- "name": "onWheelEvent",
5158
+ "name": "_onPropertyChanged",
5159
+ "parameters": [
5160
+ {
5161
+ "name": "e",
5162
+ "type": {
5163
+ "text": "CustomEvent"
5164
+ }
5165
+ }
5166
+ ]
5167
+ },
5168
+ {
5169
+ "kind": "method",
5170
+ "name": "_onBoundsChanged",
5171
+ "parameters": [
5172
+ {
5173
+ "name": "e",
5174
+ "type": {
5175
+ "text": "CustomEvent"
5176
+ }
5177
+ }
5178
+ ]
5179
+ },
5180
+ {
5181
+ "kind": "method",
5182
+ "name": "_onChangedByScene"
5183
+ },
5184
+ {
5185
+ "kind": "method",
5186
+ "name": "_setPropertyTargetAsDefault"
5187
+ },
5188
+ {
5189
+ "kind": "method",
5190
+ "name": "_onCollapsed",
5234
5191
  "parameters": [
5235
5192
  {
5236
- "name": "e",
5193
+ "name": "collapsed",
5237
5194
  "type": {
5238
- "text": "Event"
5195
+ "text": "boolean"
5239
5196
  }
5240
5197
  }
5241
5198
  ]
5242
5199
  },
5243
5200
  {
5244
5201
  "kind": "method",
5245
- "name": "_setMode",
5202
+ "name": "_onSceneChanged"
5203
+ },
5204
+ {
5205
+ "kind": "method",
5206
+ "name": "_onSelectedChanged",
5246
5207
  "parameters": [
5247
5208
  {
5248
- "name": "mode",
5209
+ "name": "after",
5249
5210
  "type": {
5250
- "text": "SceneMode"
5211
+ "text": "Component[]"
5251
5212
  }
5252
5213
  }
5253
5214
  ]
5254
5215
  },
5255
5216
  {
5256
5217
  "kind": "method",
5257
- "name": "_onClickShift",
5218
+ "name": "_setPropertyTarget",
5258
5219
  "parameters": [
5259
5220
  {
5260
- "name": "e",
5221
+ "name": "newTarget",
5261
5222
  "type": {
5262
- "text": "MouseEvent"
5223
+ "text": "Component | null"
5263
5224
  }
5264
5225
  }
5265
5226
  ]
5266
5227
  },
5267
5228
  {
5268
5229
  "kind": "method",
5269
- "name": "_onClickGroup",
5230
+ "name": "_setBounds",
5270
5231
  "parameters": [
5271
5232
  {
5272
- "name": "e",
5233
+ "name": "bounds",
5273
5234
  "type": {
5274
- "text": "MouseEvent"
5235
+ "text": "BOUNDS"
5275
5236
  }
5276
5237
  }
5277
5238
  ]
5278
5239
  }
5279
5240
  ],
5280
- "events": [
5241
+ "attributes": [
5281
5242
  {
5282
- "name": "mode-changed",
5243
+ "name": "scene",
5283
5244
  "type": {
5284
- "text": "CustomEvent"
5285
- }
5286
- }
5287
- ],
5288
- "attributes": [
5245
+ "text": "Scene | null"
5246
+ },
5247
+ "default": "null",
5248
+ "fieldName": "scene"
5249
+ },
5289
5250
  {
5290
- "name": "componentGroupList",
5251
+ "name": "bounds",
5291
5252
  "type": {
5292
- "text": "ComponentGroup[]"
5253
+ "text": "any"
5254
+ },
5255
+ "default": "{}",
5256
+ "fieldName": "bounds"
5257
+ },
5258
+ {
5259
+ "name": "model",
5260
+ "type": {
5261
+ "text": "Model | null"
5262
+ },
5263
+ "default": "{}",
5264
+ "fieldName": "model"
5265
+ },
5266
+ {
5267
+ "name": "selected",
5268
+ "type": {
5269
+ "text": "Component[]"
5293
5270
  },
5294
5271
  "default": "[]",
5295
- "fieldName": "componentGroupList"
5272
+ "fieldName": "selected"
5296
5273
  },
5297
5274
  {
5298
- "name": "group",
5275
+ "name": "specificProps",
5299
5276
  "type": {
5300
- "text": "string | null | undefined"
5277
+ "text": "any"
5301
5278
  },
5302
- "fieldName": "group"
5279
+ "fieldName": "specificProps"
5303
5280
  },
5304
5281
  {
5305
- "name": "scene",
5282
+ "name": "tabName",
5306
5283
  "type": {
5307
- "text": "Scene"
5284
+ "text": "string | null"
5308
5285
  },
5309
- "fieldName": "scene"
5286
+ "default": "'specific'",
5287
+ "fieldName": "tabName"
5310
5288
  },
5311
5289
  {
5312
- "name": "mode",
5290
+ "name": "collapsed",
5313
5291
  "type": {
5314
- "text": "SceneMode"
5292
+ "text": "boolean"
5315
5293
  },
5316
- "fieldName": "mode"
5294
+ "default": "false",
5295
+ "fieldName": "collapsed"
5296
+ },
5297
+ {
5298
+ "name": "fonts",
5299
+ "type": {
5300
+ "text": "any[]"
5301
+ },
5302
+ "default": "[]",
5303
+ "fieldName": "fonts"
5304
+ },
5305
+ {
5306
+ "name": "propertyEditor",
5307
+ "type": {
5308
+ "text": "any[]"
5309
+ },
5310
+ "default": "[]",
5311
+ "fieldName": "propertyEditor"
5317
5312
  }
5318
5313
  ],
5319
5314
  "mixins": [
@@ -5332,106 +5327,204 @@
5332
5327
  "exports": [
5333
5328
  {
5334
5329
  "kind": "js",
5335
- "name": "ComponentToolbar",
5330
+ "name": "PropertySidebar",
5336
5331
  "declaration": {
5337
- "name": "ComponentToolbar",
5338
- "module": "src/modeller/component-toolbar/component-toolbar.ts"
5332
+ "name": "PropertySidebar",
5333
+ "module": "src/modeller/property-sidebar/property-sidebar.ts"
5339
5334
  }
5340
5335
  }
5341
5336
  ]
5342
5337
  },
5343
5338
  {
5344
5339
  "kind": "javascript-module",
5345
- "path": "src/modeller/component-toolbar/mode-icons.ts",
5340
+ "path": "src/modeller/component-toolbar/component-detail.ts",
5346
5341
  "declarations": [
5347
5342
  {
5348
- "kind": "variable",
5349
- "name": "ICON_EDIT_MODE",
5350
- "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> `"
5351
- },
5352
- {
5353
- "kind": "variable",
5354
- "name": "ICON_SHIFT_MODE",
5355
- "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> `"
5343
+ "kind": "class",
5344
+ "description": "",
5345
+ "name": "ComponentDetail",
5346
+ "members": [
5347
+ {
5348
+ "kind": "field",
5349
+ "name": "template",
5350
+ "type": {
5351
+ "text": "{ about: string } | null"
5352
+ },
5353
+ "default": "null",
5354
+ "attribute": "template"
5355
+ }
5356
+ ],
5357
+ "attributes": [
5358
+ {
5359
+ "name": "template",
5360
+ "type": {
5361
+ "text": "{ about: string } | null"
5362
+ },
5363
+ "default": "null",
5364
+ "fieldName": "template"
5365
+ }
5366
+ ],
5367
+ "superclass": {
5368
+ "name": "LitElement",
5369
+ "package": "lit"
5370
+ },
5371
+ "customElement": true
5356
5372
  }
5357
5373
  ],
5358
5374
  "exports": [
5359
5375
  {
5360
5376
  "kind": "js",
5361
- "name": "ICON_EDIT_MODE",
5362
- "declaration": {
5363
- "name": "ICON_EDIT_MODE",
5364
- "module": "src/modeller/component-toolbar/mode-icons.ts"
5365
- }
5366
- },
5367
- {
5368
- "kind": "js",
5369
- "name": "ICON_SHIFT_MODE",
5377
+ "name": "ComponentDetail",
5370
5378
  "declaration": {
5371
- "name": "ICON_SHIFT_MODE",
5372
- "module": "src/modeller/component-toolbar/mode-icons.ts"
5379
+ "name": "ComponentDetail",
5380
+ "module": "src/modeller/component-toolbar/component-detail.ts"
5373
5381
  }
5374
5382
  }
5375
5383
  ]
5376
5384
  },
5377
5385
  {
5378
5386
  "kind": "javascript-module",
5379
- "path": "src/modeller/property-sidebar/abstract-property.ts",
5387
+ "path": "src/modeller/component-toolbar/component-menu.ts",
5380
5388
  "declarations": [
5381
5389
  {
5382
5390
  "kind": "class",
5383
5391
  "description": "",
5384
- "name": "AbstractProperty",
5392
+ "name": "ComponentMenu",
5385
5393
  "members": [
5394
+ {
5395
+ "kind": "field",
5396
+ "name": "groups",
5397
+ "type": {
5398
+ "text": "Pallet[]"
5399
+ },
5400
+ "default": "[]",
5401
+ "attribute": "groups"
5402
+ },
5403
+ {
5404
+ "kind": "field",
5405
+ "name": "scene",
5406
+ "type": {
5407
+ "text": "Scene | null"
5408
+ },
5409
+ "default": "null",
5410
+ "attribute": "scene"
5411
+ },
5412
+ {
5413
+ "kind": "field",
5414
+ "name": "group",
5415
+ "type": {
5416
+ "text": "string | null"
5417
+ },
5418
+ "default": "''",
5419
+ "attribute": "group"
5420
+ },
5421
+ {
5422
+ "kind": "field",
5423
+ "name": "templates",
5424
+ "type": {
5425
+ "text": "PalletItem[]"
5426
+ },
5427
+ "default": "[]"
5428
+ },
5429
+ {
5430
+ "kind": "field",
5431
+ "name": "template",
5432
+ "type": {
5433
+ "text": "PalletItem | any"
5434
+ }
5435
+ },
5436
+ {
5437
+ "kind": "field",
5438
+ "name": "detail",
5439
+ "type": {
5440
+ "text": "HTMLElement"
5441
+ }
5442
+ },
5443
+ {
5444
+ "kind": "field",
5445
+ "name": "scopedElements",
5446
+ "static": true,
5447
+ "readonly": true
5448
+ },
5386
5449
  {
5387
5450
  "kind": "method",
5388
- "name": "_onValueChange",
5451
+ "name": "findTemplate",
5389
5452
  "parameters": [
5390
5453
  {
5391
- "name": "e",
5454
+ "name": "type",
5392
5455
  "type": {
5393
- "text": "Event"
5456
+ "text": "string | null | undefined"
5394
5457
  }
5395
5458
  }
5396
5459
  ]
5397
5460
  },
5398
5461
  {
5399
5462
  "kind": "method",
5400
- "name": "_getValueFromEventTarget",
5463
+ "name": "onHoverComponent",
5401
5464
  "parameters": [
5402
5465
  {
5403
- "name": "element",
5466
+ "name": "e",
5404
5467
  "type": {
5405
- "text": "HTMLElement"
5468
+ "text": "MouseEvent"
5406
5469
  }
5407
5470
  }
5408
5471
  ]
5409
5472
  },
5410
5473
  {
5411
5474
  "kind": "method",
5412
- "name": "_onAfterValueChange",
5475
+ "name": "onClickTemplate",
5413
5476
  "parameters": [
5414
5477
  {
5415
- "name": "key",
5478
+ "name": "e",
5416
5479
  "type": {
5417
- "text": "string"
5480
+ "text": "MouseEvent"
5418
5481
  }
5419
- },
5482
+ }
5483
+ ]
5484
+ },
5485
+ {
5486
+ "kind": "method",
5487
+ "name": "templateIcon",
5488
+ "parameters": [
5420
5489
  {
5421
- "name": "value",
5490
+ "name": "template",
5422
5491
  "type": {
5423
- "text": "any"
5492
+ "text": "PalletItem"
5424
5493
  }
5425
5494
  }
5426
5495
  ]
5427
5496
  }
5428
5497
  ],
5429
- "events": [
5498
+ "attributes": [
5499
+ {
5500
+ "name": "groups",
5501
+ "type": {
5502
+ "text": "Pallet[]"
5503
+ },
5504
+ "default": "[]",
5505
+ "fieldName": "groups"
5506
+ },
5507
+ {
5508
+ "name": "scene",
5509
+ "type": {
5510
+ "text": "Scene | null"
5511
+ },
5512
+ "default": "null",
5513
+ "fieldName": "scene"
5514
+ },
5515
+ {
5516
+ "name": "group",
5517
+ "type": {
5518
+ "text": "string | null"
5519
+ },
5520
+ "default": "''",
5521
+ "fieldName": "group"
5522
+ }
5523
+ ],
5524
+ "mixins": [
5430
5525
  {
5431
- "name": "property-change",
5432
- "type": {
5433
- "text": "CustomEvent"
5434
- }
5526
+ "name": "ScopedElementsMixin",
5527
+ "package": "@open-wc/scoped-elements"
5435
5528
  }
5436
5529
  ],
5437
5530
  "superclass": {
@@ -5444,131 +5537,95 @@
5444
5537
  "exports": [
5445
5538
  {
5446
5539
  "kind": "js",
5447
- "name": "AbstractProperty",
5448
- "declaration": {
5449
- "name": "AbstractProperty",
5450
- "module": "src/modeller/property-sidebar/abstract-property.ts"
5451
- }
5452
- }
5453
- ]
5454
- },
5455
- {
5456
- "kind": "javascript-module",
5457
- "path": "src/modeller/property-sidebar/property-shared-style.ts",
5458
- "declarations": [
5459
- {
5460
- "kind": "variable",
5461
- "name": "PropertySharedStyle",
5462
- "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; } `"
5463
- }
5464
- ],
5465
- "exports": [
5466
- {
5467
- "kind": "js",
5468
- "name": "PropertySharedStyle",
5540
+ "name": "ComponentMenu",
5469
5541
  "declaration": {
5470
- "name": "PropertySharedStyle",
5471
- "module": "src/modeller/property-sidebar/property-shared-style.ts"
5542
+ "name": "ComponentMenu",
5543
+ "module": "src/modeller/component-toolbar/component-menu.ts"
5472
5544
  }
5473
5545
  }
5474
5546
  ]
5475
5547
  },
5476
5548
  {
5477
5549
  "kind": "javascript-module",
5478
- "path": "src/modeller/property-sidebar/property-sidebar.ts",
5550
+ "path": "src/modeller/component-toolbar/component-toolbar.ts",
5479
5551
  "declarations": [
5480
5552
  {
5481
5553
  "kind": "class",
5482
5554
  "description": "",
5483
- "name": "PropertySidebar",
5555
+ "name": "ComponentToolbar",
5484
5556
  "members": [
5485
5557
  {
5486
5558
  "kind": "field",
5487
- "name": "scene",
5488
- "type": {
5489
- "text": "Scene | null"
5490
- },
5491
- "default": "null",
5492
- "attribute": "scene"
5493
- },
5494
- {
5495
- "kind": "field",
5496
- "name": "bounds",
5559
+ "name": "componentGroupList",
5497
5560
  "type": {
5498
- "text": "any"
5561
+ "text": "ComponentGroup[]"
5499
5562
  },
5500
- "default": "{}",
5501
- "attribute": "bounds"
5563
+ "default": "[]",
5564
+ "attribute": "componentGroupList"
5502
5565
  },
5503
5566
  {
5504
5567
  "kind": "field",
5505
- "name": "model",
5568
+ "name": "group",
5506
5569
  "type": {
5507
- "text": "Model | null"
5570
+ "text": "string | null | undefined"
5508
5571
  },
5509
- "default": "{}",
5510
- "attribute": "model"
5572
+ "attribute": "group"
5511
5573
  },
5512
5574
  {
5513
5575
  "kind": "field",
5514
- "name": "selected",
5576
+ "name": "scene",
5515
5577
  "type": {
5516
- "text": "Component[]"
5578
+ "text": "Scene"
5517
5579
  },
5518
- "default": "[]",
5519
- "attribute": "selected"
5580
+ "attribute": "scene"
5520
5581
  },
5521
5582
  {
5522
5583
  "kind": "field",
5523
- "name": "specificProps",
5584
+ "name": "mode",
5524
5585
  "type": {
5525
- "text": "any"
5586
+ "text": "SceneMode"
5526
5587
  },
5527
- "attribute": "specificProps"
5588
+ "attribute": "mode"
5528
5589
  },
5529
5590
  {
5530
5591
  "kind": "field",
5531
- "name": "tabName",
5592
+ "name": "shift",
5532
5593
  "type": {
5533
- "text": "string | null"
5534
- },
5535
- "default": "'specific'",
5536
- "attribute": "tabName"
5594
+ "text": "HTMLImageElement"
5595
+ }
5537
5596
  },
5538
5597
  {
5539
5598
  "kind": "field",
5540
- "name": "collapsed",
5599
+ "name": "menu",
5541
5600
  "type": {
5542
- "text": "boolean"
5601
+ "text": "HTMLElement"
5543
5602
  },
5544
- "default": "false",
5545
- "attribute": "collapsed"
5603
+ "privacy": "private"
5546
5604
  },
5547
5605
  {
5548
5606
  "kind": "field",
5549
- "name": "fonts",
5607
+ "name": "componentsContainer",
5550
5608
  "type": {
5551
- "text": "any[]"
5609
+ "text": "HTMLElement"
5552
5610
  },
5553
- "default": "[]",
5554
- "attribute": "fonts"
5611
+ "privacy": "private"
5555
5612
  },
5556
5613
  {
5557
5614
  "kind": "field",
5558
- "name": "propertyEditor",
5615
+ "name": "groups",
5559
5616
  "type": {
5560
- "text": "any[]"
5617
+ "text": "NodeListOf<HTMLElement>"
5561
5618
  },
5562
- "default": "[]",
5563
- "attribute": "propertyEditor"
5619
+ "privacy": "private"
5564
5620
  },
5565
5621
  {
5566
5622
  "kind": "field",
5567
- "name": "propertyTarget",
5623
+ "name": "icons",
5568
5624
  "type": {
5569
- "text": "Component | null"
5625
+ "text": "{ [name: string]: string }"
5570
5626
  },
5571
- "default": "null"
5627
+ "privacy": "private",
5628
+ "default": "{}"
5572
5629
  },
5573
5630
  {
5574
5631
  "kind": "field",
@@ -5578,160 +5635,90 @@
5578
5635
  },
5579
5636
  {
5580
5637
  "kind": "method",
5581
- "name": "_onPropertyChanged",
5582
- "parameters": [
5583
- {
5584
- "name": "e",
5585
- "type": {
5586
- "text": "CustomEvent"
5587
- }
5588
- }
5589
- ]
5590
- },
5591
- {
5592
- "kind": "method",
5593
- "name": "_onBoundsChanged",
5638
+ "name": "onWheelEvent",
5594
5639
  "parameters": [
5595
5640
  {
5596
5641
  "name": "e",
5597
5642
  "type": {
5598
- "text": "CustomEvent"
5599
- }
5600
- }
5601
- ]
5602
- },
5603
- {
5604
- "kind": "method",
5605
- "name": "_onChangedByScene"
5606
- },
5607
- {
5608
- "kind": "method",
5609
- "name": "_setPropertyTargetAsDefault"
5610
- },
5611
- {
5612
- "kind": "method",
5613
- "name": "_onCollapsed",
5614
- "parameters": [
5615
- {
5616
- "name": "collapsed",
5617
- "type": {
5618
- "text": "boolean"
5643
+ "text": "Event"
5619
5644
  }
5620
5645
  }
5621
5646
  ]
5622
5647
  },
5623
5648
  {
5624
5649
  "kind": "method",
5625
- "name": "_onSceneChanged"
5626
- },
5627
- {
5628
- "kind": "method",
5629
- "name": "_onSelectedChanged",
5650
+ "name": "_setMode",
5630
5651
  "parameters": [
5631
5652
  {
5632
- "name": "after",
5653
+ "name": "mode",
5633
5654
  "type": {
5634
- "text": "Component[]"
5655
+ "text": "SceneMode"
5635
5656
  }
5636
5657
  }
5637
5658
  ]
5638
5659
  },
5639
5660
  {
5640
5661
  "kind": "method",
5641
- "name": "_setPropertyTarget",
5662
+ "name": "_onClickShift",
5642
5663
  "parameters": [
5643
5664
  {
5644
- "name": "newTarget",
5665
+ "name": "e",
5645
5666
  "type": {
5646
- "text": "Component | null"
5667
+ "text": "MouseEvent"
5647
5668
  }
5648
5669
  }
5649
5670
  ]
5650
5671
  },
5651
5672
  {
5652
5673
  "kind": "method",
5653
- "name": "_setBounds",
5674
+ "name": "_onClickGroup",
5654
5675
  "parameters": [
5655
5676
  {
5656
- "name": "bounds",
5677
+ "name": "e",
5657
5678
  "type": {
5658
- "text": "BOUNDS"
5679
+ "text": "MouseEvent"
5659
5680
  }
5660
5681
  }
5661
5682
  ]
5662
5683
  }
5663
5684
  ],
5664
- "attributes": [
5665
- {
5666
- "name": "scene",
5667
- "type": {
5668
- "text": "Scene | null"
5669
- },
5670
- "default": "null",
5671
- "fieldName": "scene"
5672
- },
5673
- {
5674
- "name": "bounds",
5675
- "type": {
5676
- "text": "any"
5677
- },
5678
- "default": "{}",
5679
- "fieldName": "bounds"
5680
- },
5685
+ "events": [
5681
5686
  {
5682
- "name": "model",
5687
+ "name": "mode-changed",
5683
5688
  "type": {
5684
- "text": "Model | null"
5685
- },
5686
- "default": "{}",
5687
- "fieldName": "model"
5688
- },
5689
+ "text": "CustomEvent"
5690
+ }
5691
+ }
5692
+ ],
5693
+ "attributes": [
5689
5694
  {
5690
- "name": "selected",
5695
+ "name": "componentGroupList",
5691
5696
  "type": {
5692
- "text": "Component[]"
5697
+ "text": "ComponentGroup[]"
5693
5698
  },
5694
5699
  "default": "[]",
5695
- "fieldName": "selected"
5696
- },
5697
- {
5698
- "name": "specificProps",
5699
- "type": {
5700
- "text": "any"
5701
- },
5702
- "fieldName": "specificProps"
5703
- },
5704
- {
5705
- "name": "tabName",
5706
- "type": {
5707
- "text": "string | null"
5708
- },
5709
- "default": "'specific'",
5710
- "fieldName": "tabName"
5700
+ "fieldName": "componentGroupList"
5711
5701
  },
5712
5702
  {
5713
- "name": "collapsed",
5703
+ "name": "group",
5714
5704
  "type": {
5715
- "text": "boolean"
5705
+ "text": "string | null | undefined"
5716
5706
  },
5717
- "default": "false",
5718
- "fieldName": "collapsed"
5707
+ "fieldName": "group"
5719
5708
  },
5720
5709
  {
5721
- "name": "fonts",
5710
+ "name": "scene",
5722
5711
  "type": {
5723
- "text": "any[]"
5712
+ "text": "Scene"
5724
5713
  },
5725
- "default": "[]",
5726
- "fieldName": "fonts"
5714
+ "fieldName": "scene"
5727
5715
  },
5728
5716
  {
5729
- "name": "propertyEditor",
5717
+ "name": "mode",
5730
5718
  "type": {
5731
- "text": "any[]"
5719
+ "text": "SceneMode"
5732
5720
  },
5733
- "default": "[]",
5734
- "fieldName": "propertyEditor"
5721
+ "fieldName": "mode"
5735
5722
  }
5736
5723
  ],
5737
5724
  "mixins": [
@@ -5750,10 +5737,44 @@
5750
5737
  "exports": [
5751
5738
  {
5752
5739
  "kind": "js",
5753
- "name": "PropertySidebar",
5740
+ "name": "ComponentToolbar",
5754
5741
  "declaration": {
5755
- "name": "PropertySidebar",
5756
- "module": "src/modeller/property-sidebar/property-sidebar.ts"
5742
+ "name": "ComponentToolbar",
5743
+ "module": "src/modeller/component-toolbar/component-toolbar.ts"
5744
+ }
5745
+ }
5746
+ ]
5747
+ },
5748
+ {
5749
+ "kind": "javascript-module",
5750
+ "path": "src/modeller/component-toolbar/mode-icons.ts",
5751
+ "declarations": [
5752
+ {
5753
+ "kind": "variable",
5754
+ "name": "ICON_EDIT_MODE",
5755
+ "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> `"
5756
+ },
5757
+ {
5758
+ "kind": "variable",
5759
+ "name": "ICON_SHIFT_MODE",
5760
+ "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> `"
5761
+ }
5762
+ ],
5763
+ "exports": [
5764
+ {
5765
+ "kind": "js",
5766
+ "name": "ICON_EDIT_MODE",
5767
+ "declaration": {
5768
+ "name": "ICON_EDIT_MODE",
5769
+ "module": "src/modeller/component-toolbar/mode-icons.ts"
5770
+ }
5771
+ },
5772
+ {
5773
+ "kind": "js",
5774
+ "name": "ICON_SHIFT_MODE",
5775
+ "declaration": {
5776
+ "name": "ICON_SHIFT_MODE",
5777
+ "module": "src/modeller/component-toolbar/mode-icons.ts"
5757
5778
  }
5758
5779
  }
5759
5780
  ]
@@ -7985,238 +8006,35 @@
7985
8006
  "type": {
7986
8007
  "text": "any[]"
7987
8008
  },
7988
- "default": "[]",
7989
- "attribute": "props"
7990
- },
7991
- {
7992
- "kind": "field",
7993
- "name": "propertyEditor",
7994
- "type": {
7995
- "text": "any[]"
7996
- },
7997
- "default": "[]",
7998
- "attribute": "propertyEditor"
7999
- },
8000
- {
8001
- "kind": "field",
8002
- "name": "boundINeedSelected",
8003
- "type": {
8004
- "text": "any"
8005
- },
8006
- "privacy": "private"
8007
- },
8008
- {
8009
- "kind": "field",
8010
- "name": "scopedElements",
8011
- "static": true,
8012
- "readonly": true
8013
- },
8014
- {
8015
- "kind": "method",
8016
- "name": "_onValueChange",
8017
- "parameters": [
8018
- {
8019
- "name": "e",
8020
- "type": {
8021
- "text": "Event"
8022
- }
8023
- }
8024
- ],
8025
- "inheritedFrom": {
8026
- "name": "AbstractProperty",
8027
- "module": "src/modeller/property-sidebar/abstract-property.ts"
8028
- }
8029
- },
8030
- {
8031
- "kind": "method",
8032
- "name": "_isIdentifiable",
8033
- "parameters": [
8034
- {
8035
- "name": "selected",
8036
- "type": {
8037
- "text": "Component[]"
8038
- }
8039
- }
8040
- ]
8041
- },
8042
- {
8043
- "kind": "method",
8044
- "name": "_hasTextProperty",
8045
- "parameters": [
8046
- {
8047
- "name": "selected",
8048
- "type": {
8049
- "text": "Component[]"
8050
- }
8051
- }
8052
- ]
8053
- },
8054
- {
8055
- "kind": "method",
8056
- "name": "_onINeedSelected",
8057
- "parameters": [
8058
- {
8059
- "name": "e",
8060
- "type": {
8061
- "text": "CustomEvent"
8062
- }
8063
- }
8064
- ]
8065
- },
8066
- {
8067
- "kind": "method",
8068
- "name": "_getValueFromEventTarget",
8069
- "parameters": [
8070
- {
8071
- "name": "element",
8072
- "type": {
8073
- "text": "HTMLElement"
8074
- }
8075
- }
8076
- ],
8077
- "inheritedFrom": {
8078
- "name": "AbstractProperty",
8079
- "module": "src/modeller/property-sidebar/abstract-property.ts"
8080
- }
8081
- },
8082
- {
8083
- "kind": "method",
8084
- "name": "_onAfterValueChange",
8085
- "parameters": [
8086
- {
8087
- "name": "key",
8088
- "type": {
8089
- "text": "string"
8090
- }
8091
- },
8092
- {
8093
- "name": "value",
8094
- "type": {
8095
- "text": "any"
8096
- }
8097
- }
8098
- ],
8099
- "inheritedFrom": {
8100
- "name": "AbstractProperty",
8101
- "module": "src/modeller/property-sidebar/abstract-property.ts"
8102
- }
8103
- }
8104
- ],
8105
- "attributes": [
8106
- {
8107
- "name": "value",
8108
- "type": {
8109
- "text": "any"
8110
- },
8111
- "fieldName": "value"
8112
- },
8113
- {
8114
- "name": "scene",
8115
- "type": {
8116
- "text": "Scene | null"
8117
- },
8118
- "default": "null",
8119
- "fieldName": "scene"
8120
- },
8121
- {
8122
- "name": "selected",
8123
- "type": {
8124
- "text": "Component[]"
8125
- },
8126
- "default": "[]",
8127
- "fieldName": "selected"
8128
- },
8129
- {
8130
- "name": "props",
8131
- "type": {
8132
- "text": "any[]"
8133
- },
8134
- "default": "[]",
8135
- "fieldName": "props"
8136
- },
8137
- {
8138
- "name": "propertyEditor",
8139
- "type": {
8140
- "text": "any[]"
8141
- },
8142
- "default": "[]",
8143
- "fieldName": "propertyEditor"
8144
- }
8145
- ],
8146
- "mixins": [
8147
- {
8148
- "name": "ScopedElementsMixin",
8149
- "package": "@open-wc/scoped-elements"
8150
- }
8151
- ],
8152
- "superclass": {
8153
- "name": "AbstractProperty",
8154
- "module": "/src/modeller/property-sidebar/abstract-property"
8155
- },
8156
- "events": [
8157
- {
8158
- "name": "property-change",
8159
- "type": {
8160
- "text": "CustomEvent"
8161
- },
8162
- "inheritedFrom": {
8163
- "name": "AbstractProperty",
8164
- "module": "src/modeller/property-sidebar/abstract-property.ts"
8165
- }
8166
- }
8167
- ]
8168
- }
8169
- ],
8170
- "exports": [
8171
- {
8172
- "kind": "js",
8173
- "name": "PropertySpecific",
8174
- "declaration": {
8175
- "name": "PropertySpecific",
8176
- "module": "src/modeller/property-sidebar/specifics/specifics.ts"
8177
- }
8178
- }
8179
- ]
8180
- },
8181
- {
8182
- "kind": "javascript-module",
8183
- "path": "src/modeller/property-sidebar/styles/styles.ts",
8184
- "declarations": [
8185
- {
8186
- "kind": "class",
8187
- "description": "",
8188
- "name": "PropertyStyles",
8189
- "members": [
8190
- {
8191
- "kind": "field",
8192
- "name": "value",
8193
- "type": {
8194
- "text": "any"
8195
- },
8196
- "default": "{}",
8197
- "attribute": "value"
8009
+ "default": "[]",
8010
+ "attribute": "props"
8198
8011
  },
8199
8012
  {
8200
8013
  "kind": "field",
8201
- "name": "selected",
8014
+ "name": "propertyEditor",
8202
8015
  "type": {
8203
- "text": "Component[]"
8016
+ "text": "any[]"
8204
8017
  },
8205
8018
  "default": "[]",
8206
- "attribute": "selected"
8019
+ "attribute": "propertyEditor"
8207
8020
  },
8208
8021
  {
8209
8022
  "kind": "field",
8210
- "name": "fonts",
8023
+ "name": "boundINeedSelected",
8211
8024
  "type": {
8212
- "text": "any[]"
8025
+ "text": "any"
8213
8026
  },
8214
- "default": "[]",
8215
- "attribute": "fonts"
8027
+ "privacy": "private"
8028
+ },
8029
+ {
8030
+ "kind": "field",
8031
+ "name": "scopedElements",
8032
+ "static": true,
8033
+ "readonly": true
8216
8034
  },
8217
8035
  {
8218
8036
  "kind": "method",
8219
- "name": "onButtonGroupClick",
8037
+ "name": "_onValueChange",
8220
8038
  "parameters": [
8221
8039
  {
8222
8040
  "name": "e",
@@ -8224,11 +8042,27 @@
8224
8042
  "text": "Event"
8225
8043
  }
8226
8044
  }
8045
+ ],
8046
+ "inheritedFrom": {
8047
+ "name": "AbstractProperty",
8048
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
8049
+ }
8050
+ },
8051
+ {
8052
+ "kind": "method",
8053
+ "name": "_isIdentifiable",
8054
+ "parameters": [
8055
+ {
8056
+ "name": "selected",
8057
+ "type": {
8058
+ "text": "Component[]"
8059
+ }
8060
+ }
8227
8061
  ]
8228
8062
  },
8229
8063
  {
8230
8064
  "kind": "method",
8231
- "name": "_isLine",
8065
+ "name": "_hasTextProperty",
8232
8066
  "parameters": [
8233
8067
  {
8234
8068
  "name": "selected",
@@ -8240,19 +8074,15 @@
8240
8074
  },
8241
8075
  {
8242
8076
  "kind": "method",
8243
- "name": "_onValueChange",
8077
+ "name": "_onINeedSelected",
8244
8078
  "parameters": [
8245
8079
  {
8246
8080
  "name": "e",
8247
8081
  "type": {
8248
- "text": "Event"
8082
+ "text": "CustomEvent"
8249
8083
  }
8250
8084
  }
8251
- ],
8252
- "inheritedFrom": {
8253
- "name": "AbstractProperty",
8254
- "module": "src/modeller/property-sidebar/abstract-property.ts"
8255
- }
8085
+ ]
8256
8086
  },
8257
8087
  {
8258
8088
  "kind": "method",
@@ -8299,9 +8129,16 @@
8299
8129
  "type": {
8300
8130
  "text": "any"
8301
8131
  },
8302
- "default": "{}",
8303
8132
  "fieldName": "value"
8304
8133
  },
8134
+ {
8135
+ "name": "scene",
8136
+ "type": {
8137
+ "text": "Scene | null"
8138
+ },
8139
+ "default": "null",
8140
+ "fieldName": "scene"
8141
+ },
8305
8142
  {
8306
8143
  "name": "selected",
8307
8144
  "type": {
@@ -8311,17 +8148,31 @@
8311
8148
  "fieldName": "selected"
8312
8149
  },
8313
8150
  {
8314
- "name": "fonts",
8151
+ "name": "props",
8315
8152
  "type": {
8316
8153
  "text": "any[]"
8317
8154
  },
8318
8155
  "default": "[]",
8319
- "fieldName": "fonts"
8156
+ "fieldName": "props"
8157
+ },
8158
+ {
8159
+ "name": "propertyEditor",
8160
+ "type": {
8161
+ "text": "any[]"
8162
+ },
8163
+ "default": "[]",
8164
+ "fieldName": "propertyEditor"
8165
+ }
8166
+ ],
8167
+ "mixins": [
8168
+ {
8169
+ "name": "ScopedElementsMixin",
8170
+ "package": "@open-wc/scoped-elements"
8320
8171
  }
8321
8172
  ],
8322
8173
  "superclass": {
8323
8174
  "name": "AbstractProperty",
8324
- "module": "/src/modeller/property-sidebar/abstract-property.js"
8175
+ "module": "/src/modeller/property-sidebar/abstract-property"
8325
8176
  },
8326
8177
  "events": [
8327
8178
  {
@@ -8340,10 +8191,10 @@
8340
8191
  "exports": [
8341
8192
  {
8342
8193
  "kind": "js",
8343
- "name": "PropertyStyles",
8194
+ "name": "PropertySpecific",
8344
8195
  "declaration": {
8345
- "name": "PropertyStyles",
8346
- "module": "src/modeller/property-sidebar/styles/styles.ts"
8196
+ "name": "PropertySpecific",
8197
+ "module": "src/modeller/property-sidebar/specifics/specifics.ts"
8347
8198
  }
8348
8199
  }
8349
8200
  ]
@@ -8590,6 +8441,176 @@
8590
8441
  }
8591
8442
  }
8592
8443
  ]
8444
+ },
8445
+ {
8446
+ "kind": "javascript-module",
8447
+ "path": "src/modeller/property-sidebar/styles/styles.ts",
8448
+ "declarations": [
8449
+ {
8450
+ "kind": "class",
8451
+ "description": "",
8452
+ "name": "PropertyStyles",
8453
+ "members": [
8454
+ {
8455
+ "kind": "field",
8456
+ "name": "value",
8457
+ "type": {
8458
+ "text": "any"
8459
+ },
8460
+ "default": "{}",
8461
+ "attribute": "value"
8462
+ },
8463
+ {
8464
+ "kind": "field",
8465
+ "name": "selected",
8466
+ "type": {
8467
+ "text": "Component[]"
8468
+ },
8469
+ "default": "[]",
8470
+ "attribute": "selected"
8471
+ },
8472
+ {
8473
+ "kind": "field",
8474
+ "name": "fonts",
8475
+ "type": {
8476
+ "text": "any[]"
8477
+ },
8478
+ "default": "[]",
8479
+ "attribute": "fonts"
8480
+ },
8481
+ {
8482
+ "kind": "method",
8483
+ "name": "onButtonGroupClick",
8484
+ "parameters": [
8485
+ {
8486
+ "name": "e",
8487
+ "type": {
8488
+ "text": "Event"
8489
+ }
8490
+ }
8491
+ ]
8492
+ },
8493
+ {
8494
+ "kind": "method",
8495
+ "name": "_isLine",
8496
+ "parameters": [
8497
+ {
8498
+ "name": "selected",
8499
+ "type": {
8500
+ "text": "Component[]"
8501
+ }
8502
+ }
8503
+ ]
8504
+ },
8505
+ {
8506
+ "kind": "method",
8507
+ "name": "_onValueChange",
8508
+ "parameters": [
8509
+ {
8510
+ "name": "e",
8511
+ "type": {
8512
+ "text": "Event"
8513
+ }
8514
+ }
8515
+ ],
8516
+ "inheritedFrom": {
8517
+ "name": "AbstractProperty",
8518
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
8519
+ }
8520
+ },
8521
+ {
8522
+ "kind": "method",
8523
+ "name": "_getValueFromEventTarget",
8524
+ "parameters": [
8525
+ {
8526
+ "name": "element",
8527
+ "type": {
8528
+ "text": "HTMLElement"
8529
+ }
8530
+ }
8531
+ ],
8532
+ "inheritedFrom": {
8533
+ "name": "AbstractProperty",
8534
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
8535
+ }
8536
+ },
8537
+ {
8538
+ "kind": "method",
8539
+ "name": "_onAfterValueChange",
8540
+ "parameters": [
8541
+ {
8542
+ "name": "key",
8543
+ "type": {
8544
+ "text": "string"
8545
+ }
8546
+ },
8547
+ {
8548
+ "name": "value",
8549
+ "type": {
8550
+ "text": "any"
8551
+ }
8552
+ }
8553
+ ],
8554
+ "inheritedFrom": {
8555
+ "name": "AbstractProperty",
8556
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
8557
+ }
8558
+ }
8559
+ ],
8560
+ "attributes": [
8561
+ {
8562
+ "name": "value",
8563
+ "type": {
8564
+ "text": "any"
8565
+ },
8566
+ "default": "{}",
8567
+ "fieldName": "value"
8568
+ },
8569
+ {
8570
+ "name": "selected",
8571
+ "type": {
8572
+ "text": "Component[]"
8573
+ },
8574
+ "default": "[]",
8575
+ "fieldName": "selected"
8576
+ },
8577
+ {
8578
+ "name": "fonts",
8579
+ "type": {
8580
+ "text": "any[]"
8581
+ },
8582
+ "default": "[]",
8583
+ "fieldName": "fonts"
8584
+ }
8585
+ ],
8586
+ "superclass": {
8587
+ "name": "AbstractProperty",
8588
+ "module": "/src/modeller/property-sidebar/abstract-property.js"
8589
+ },
8590
+ "events": [
8591
+ {
8592
+ "name": "property-change",
8593
+ "type": {
8594
+ "text": "CustomEvent"
8595
+ },
8596
+ "inheritedFrom": {
8597
+ "name": "AbstractProperty",
8598
+ "module": "src/modeller/property-sidebar/abstract-property.ts"
8599
+ }
8600
+ }
8601
+ ]
8602
+ }
8603
+ ],
8604
+ "exports": [
8605
+ {
8606
+ "kind": "js",
8607
+ "name": "PropertyStyles",
8608
+ "declaration": {
8609
+ "name": "PropertyStyles",
8610
+ "module": "src/modeller/property-sidebar/styles/styles.ts"
8611
+ }
8612
+ }
8613
+ ]
8593
8614
  }
8594
8615
  ]
8595
8616
  }