@fmsim/board 2.0.0-beta.31 → 2.0.0-beta.34

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,91 +2,6 @@
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
- },
90
5
  {
91
6
  "kind": "javascript-module",
92
7
  "path": "src/index.ts",
@@ -1958,7 +1873,7 @@
1958
1873
  "text": "array"
1959
1874
  },
1960
1875
  "privacy": "private",
1961
- "default": "[1, 2, 4, 8]"
1876
+ "default": "[1, 1.5, 2]"
1962
1877
  },
1963
1878
  {
1964
1879
  "kind": "field",
@@ -2441,168 +2356,474 @@
2441
2356
  },
2442
2357
  {
2443
2358
  "kind": "javascript-module",
2444
- "path": "src/component/etc.ts",
2359
+ "path": "stories/restful-attachment-selector.stories.ts",
2445
2360
  "declarations": [
2446
2361
  {
2447
2362
  "kind": "variable",
2448
- "name": "icon",
2449
- "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}};} </style> <g> <circle class=\"st0\" cx=\"7.1\" cy=\"15\" r=\"2\"/> <circle class=\"st0\" cx=\"15\" cy=\"15\" r=\"2\"/> <circle class=\"st0\" cx=\"22.9\" cy=\"15\" r=\"2\"/> </g> </svg> `"
2363
+ "name": "meta",
2364
+ "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"
2450
2365
  },
2451
2366
  {
2452
2367
  "kind": "variable",
2453
- "name": "etc",
2368
+ "name": "Default",
2454
2369
  "type": {
2455
- "text": "ComponentGroup"
2370
+ "text": "Story"
2456
2371
  },
2457
- "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 } } ] }"
2372
+ "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' } }"
2373
+ },
2374
+ {
2375
+ "kind": "variable",
2376
+ "name": "WithCategory",
2377
+ "type": {
2378
+ "text": "Story"
2379
+ },
2380
+ "default": "{ ...Default, args: { ...Default.args, category: 'document' } }"
2381
+ },
2382
+ {
2383
+ "kind": "variable",
2384
+ "name": "ReadOnly",
2385
+ "type": {
2386
+ "text": "Story"
2387
+ },
2388
+ "default": "{ ...Default, args: { ...Default.args, creatable: false } }"
2389
+ },
2390
+ {
2391
+ "kind": "variable",
2392
+ "name": "WithTestData",
2393
+ "type": {
2394
+ "text": "Story"
2395
+ },
2396
+ "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' } ] } } }"
2458
2397
  }
2459
2398
  ],
2460
2399
  "exports": [
2461
2400
  {
2462
2401
  "kind": "js",
2463
- "name": "etc",
2402
+ "name": "default",
2464
2403
  "declaration": {
2465
- "name": "etc",
2466
- "module": "src/component/etc.ts"
2404
+ "name": "meta",
2405
+ "module": "stories/restful-attachment-selector.stories.ts"
2467
2406
  }
2468
- }
2469
- ]
2470
- },
2471
- {
2472
- "kind": "javascript-module",
2473
- "path": "src/component/index.ts",
2474
- "declarations": [],
2475
- "exports": [
2407
+ },
2476
2408
  {
2477
2409
  "kind": "js",
2478
- "name": "*",
2410
+ "name": "Default",
2479
2411
  "declaration": {
2480
- "name": "*",
2481
- "module": "src/component/restful-attachment-selector.js"
2412
+ "name": "Default",
2413
+ "module": "stories/restful-attachment-selector.stories.ts"
2482
2414
  }
2483
2415
  },
2484
2416
  {
2485
2417
  "kind": "js",
2486
- "name": "*",
2418
+ "name": "WithCategory",
2487
2419
  "declaration": {
2488
- "name": "*",
2489
- "module": "src/component/restful-input-fill-style.js"
2420
+ "name": "WithCategory",
2421
+ "module": "stories/restful-attachment-selector.stories.ts"
2490
2422
  }
2491
2423
  },
2492
2424
  {
2493
2425
  "kind": "js",
2494
- "name": "*",
2426
+ "name": "ReadOnly",
2495
2427
  "declaration": {
2496
- "name": "*",
2497
- "module": "src/component/etc.js"
2428
+ "name": "ReadOnly",
2429
+ "module": "stories/restful-attachment-selector.stories.ts"
2498
2430
  }
2499
- }
2500
- ]
2501
- },
2502
- {
2503
- "kind": "javascript-module",
2504
- "path": "src/component/register-default-groups.ts",
2505
- "declarations": [
2506
- {
2507
- "kind": "function",
2508
- "name": "registerDefaultGroups"
2509
- }
2510
- ],
2511
- "exports": [
2431
+ },
2512
2432
  {
2513
2433
  "kind": "js",
2514
- "name": "registerDefaultGroups",
2434
+ "name": "WithTestData",
2515
2435
  "declaration": {
2516
- "name": "registerDefaultGroups",
2517
- "module": "src/component/register-default-groups.ts"
2436
+ "name": "WithTestData",
2437
+ "module": "stories/restful-attachment-selector.stories.ts"
2518
2438
  }
2519
2439
  }
2520
2440
  ]
2521
2441
  },
2522
2442
  {
2523
2443
  "kind": "javascript-module",
2524
- "path": "src/component/restful-attachment-creation-card.ts",
2444
+ "path": "src/data-storage/board-model-cache.ts",
2525
2445
  "declarations": [
2526
2446
  {
2527
2447
  "kind": "class",
2528
2448
  "description": "",
2529
- "name": "RestfulAttachmentCreationCard",
2449
+ "name": "BoardModelCache",
2530
2450
  "members": [
2531
- {
2532
- "kind": "field",
2533
- "name": "defaultCategory",
2534
- "type": {
2535
- "text": "string | undefined"
2536
- },
2537
- "attribute": "defaultCategory"
2538
- },
2539
- {
2540
- "kind": "field",
2541
- "name": "categories",
2542
- "type": {
2543
- "text": "string[]"
2544
- },
2545
- "default": "[]",
2546
- "attribute": "categories"
2547
- },
2548
- {
2549
- "kind": "field",
2550
- "name": "_files",
2551
- "type": {
2552
- "text": "any[]"
2553
- },
2554
- "default": "[]",
2555
- "attribute": "_files"
2556
- },
2557
- {
2558
- "kind": "field",
2559
- "name": "_currentCategory",
2560
- "type": {
2561
- "text": "string | undefined"
2562
- },
2563
- "attribute": "_currentCategory"
2564
- },
2565
- {
2566
- "kind": "field",
2567
- "name": "fileId",
2568
- "type": {
2569
- "text": "string | undefined"
2570
- },
2571
- "attribute": "fileId"
2572
- },
2573
2451
  {
2574
2452
  "kind": "method",
2575
- "name": "onClickFlip",
2453
+ "name": "get",
2454
+ "static": true,
2455
+ "return": {
2456
+ "type": {
2457
+ "text": "Promise<CachedBoard | null>"
2458
+ }
2459
+ },
2576
2460
  "parameters": [
2577
2461
  {
2578
- "name": "e",
2462
+ "name": "boardId",
2579
2463
  "type": {
2580
- "text": "Event"
2464
+ "text": "string"
2581
2465
  }
2582
2466
  }
2583
2467
  ]
2584
2468
  },
2585
2469
  {
2586
2470
  "kind": "method",
2587
- "name": "onClickSubmit",
2471
+ "name": "put",
2472
+ "static": true,
2473
+ "return": {
2474
+ "type": {
2475
+ "text": "Promise<void>"
2476
+ }
2477
+ },
2588
2478
  "parameters": [
2589
2479
  {
2590
- "name": "e",
2480
+ "name": "boardId",
2591
2481
  "type": {
2592
- "text": "Event"
2482
+ "text": "string"
2593
2483
  }
2594
- }
2595
- ]
2596
- },
2597
- {
2598
- "kind": "method",
2599
- "name": "reset"
2600
- }
2601
- ],
2602
- "events": [
2603
- {
2604
- "name": "create-attachment",
2605
- "type": {
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
+ },
2663
+ {
2664
+ "kind": "javascript-module",
2665
+ "path": "src/component/etc.ts",
2666
+ "declarations": [
2667
+ {
2668
+ "kind": "variable",
2669
+ "name": "icon",
2670
+ "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}};} </style> <g> <circle class=\"st0\" cx=\"7.1\" cy=\"15\" r=\"2\"/> <circle class=\"st0\" cx=\"15\" cy=\"15\" r=\"2\"/> <circle class=\"st0\" cx=\"22.9\" cy=\"15\" r=\"2\"/> </g> </svg> `"
2671
+ },
2672
+ {
2673
+ "kind": "variable",
2674
+ "name": "etc",
2675
+ "type": {
2676
+ "text": "ComponentGroup"
2677
+ },
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 } } ] }"
2679
+ }
2680
+ ],
2681
+ "exports": [
2682
+ {
2683
+ "kind": "js",
2684
+ "name": "etc",
2685
+ "declaration": {
2686
+ "name": "etc",
2687
+ "module": "src/component/etc.ts"
2688
+ }
2689
+ }
2690
+ ]
2691
+ },
2692
+ {
2693
+ "kind": "javascript-module",
2694
+ "path": "src/component/index.ts",
2695
+ "declarations": [],
2696
+ "exports": [
2697
+ {
2698
+ "kind": "js",
2699
+ "name": "*",
2700
+ "declaration": {
2701
+ "name": "*",
2702
+ "module": "src/component/restful-attachment-selector.js"
2703
+ }
2704
+ },
2705
+ {
2706
+ "kind": "js",
2707
+ "name": "*",
2708
+ "declaration": {
2709
+ "name": "*",
2710
+ "module": "src/component/restful-input-fill-style.js"
2711
+ }
2712
+ },
2713
+ {
2714
+ "kind": "js",
2715
+ "name": "*",
2716
+ "declaration": {
2717
+ "name": "*",
2718
+ "module": "src/component/etc.js"
2719
+ }
2720
+ }
2721
+ ]
2722
+ },
2723
+ {
2724
+ "kind": "javascript-module",
2725
+ "path": "src/component/register-default-groups.ts",
2726
+ "declarations": [
2727
+ {
2728
+ "kind": "function",
2729
+ "name": "registerDefaultGroups"
2730
+ }
2731
+ ],
2732
+ "exports": [
2733
+ {
2734
+ "kind": "js",
2735
+ "name": "registerDefaultGroups",
2736
+ "declaration": {
2737
+ "name": "registerDefaultGroups",
2738
+ "module": "src/component/register-default-groups.ts"
2739
+ }
2740
+ }
2741
+ ]
2742
+ },
2743
+ {
2744
+ "kind": "javascript-module",
2745
+ "path": "src/component/restful-attachment-creation-card.ts",
2746
+ "declarations": [
2747
+ {
2748
+ "kind": "class",
2749
+ "description": "",
2750
+ "name": "RestfulAttachmentCreationCard",
2751
+ "members": [
2752
+ {
2753
+ "kind": "field",
2754
+ "name": "defaultCategory",
2755
+ "type": {
2756
+ "text": "string | undefined"
2757
+ },
2758
+ "attribute": "defaultCategory"
2759
+ },
2760
+ {
2761
+ "kind": "field",
2762
+ "name": "categories",
2763
+ "type": {
2764
+ "text": "string[]"
2765
+ },
2766
+ "default": "[]",
2767
+ "attribute": "categories"
2768
+ },
2769
+ {
2770
+ "kind": "field",
2771
+ "name": "_files",
2772
+ "type": {
2773
+ "text": "any[]"
2774
+ },
2775
+ "default": "[]",
2776
+ "attribute": "_files"
2777
+ },
2778
+ {
2779
+ "kind": "field",
2780
+ "name": "_currentCategory",
2781
+ "type": {
2782
+ "text": "string | undefined"
2783
+ },
2784
+ "attribute": "_currentCategory"
2785
+ },
2786
+ {
2787
+ "kind": "field",
2788
+ "name": "fileId",
2789
+ "type": {
2790
+ "text": "string | undefined"
2791
+ },
2792
+ "attribute": "fileId"
2793
+ },
2794
+ {
2795
+ "kind": "method",
2796
+ "name": "onClickFlip",
2797
+ "parameters": [
2798
+ {
2799
+ "name": "e",
2800
+ "type": {
2801
+ "text": "Event"
2802
+ }
2803
+ }
2804
+ ]
2805
+ },
2806
+ {
2807
+ "kind": "method",
2808
+ "name": "onClickSubmit",
2809
+ "parameters": [
2810
+ {
2811
+ "name": "e",
2812
+ "type": {
2813
+ "text": "Event"
2814
+ }
2815
+ }
2816
+ ]
2817
+ },
2818
+ {
2819
+ "kind": "method",
2820
+ "name": "reset"
2821
+ }
2822
+ ],
2823
+ "events": [
2824
+ {
2825
+ "name": "create-attachment",
2826
+ "type": {
2606
2827
  "text": "CustomEvent"
2607
2828
  }
2608
2829
  }
@@ -3548,239 +3769,18 @@
3548
3769
  "exports": [
3549
3770
  {
3550
3771
  "kind": "js",
3551
- "name": "RestfulInputBackgroundPattern",
3552
- "declaration": {
3553
- "name": "RestfulInputBackgroundPattern",
3554
- "module": "src/component/restrul-input-background-pattern.ts"
3555
- }
3556
- },
3557
- {
3558
- "kind": "custom-element-definition",
3559
- "name": "restful-input-background-pattern",
3560
- "declaration": {
3561
- "name": "RestfulInputBackgroundPattern",
3562
- "module": "src/component/restrul-input-background-pattern.ts"
3563
- }
3564
- }
3565
- ]
3566
- },
3567
- {
3568
- "kind": "javascript-module",
3569
- "path": "src/data-storage/board-model-cache.ts",
3570
- "declarations": [
3571
- {
3572
- "kind": "class",
3573
- "description": "",
3574
- "name": "BoardModelCache",
3575
- "members": [
3576
- {
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",
3772
+ "name": "RestfulInputBackgroundPattern",
3781
3773
  "declaration": {
3782
- "name": "DataStorage",
3783
- "module": "src/data-storage/data-storage.ts"
3774
+ "name": "RestfulInputBackgroundPattern",
3775
+ "module": "src/component/restrul-input-background-pattern.ts"
3776
+ }
3777
+ },
3778
+ {
3779
+ "kind": "custom-element-definition",
3780
+ "name": "restful-input-background-pattern",
3781
+ "declaration": {
3782
+ "name": "RestfulInputBackgroundPattern",
3783
+ "module": "src/component/restrul-input-background-pattern.ts"
3784
3784
  }
3785
3785
  }
3786
3786
  ]
@@ -7552,264 +7552,24 @@
7552
7552
  }
7553
7553
  ],
7554
7554
  "mixins": [
7555
- {
7556
- "name": "ScopedElementsMixin",
7557
- "package": "@open-wc/scoped-elements"
7558
- }
7559
- ],
7560
- "superclass": {
7561
- "name": "AbstractProperty",
7562
- "module": "/src/modeller/property-sidebar/abstract-property.js"
7563
- }
7564
- }
7565
- ],
7566
- "exports": [
7567
- {
7568
- "kind": "js",
7569
- "name": "PropertyDataBinding",
7570
- "declaration": {
7571
- "name": "PropertyDataBinding",
7572
- "module": "src/modeller/property-sidebar/data-binding/data-binding.ts"
7573
- }
7574
- }
7575
- ]
7576
- },
7577
- {
7578
- "kind": "javascript-module",
7579
- "path": "src/modeller/property-sidebar/inspector/inspector.ts",
7580
- "declarations": [
7581
- {
7582
- "kind": "class",
7583
- "description": "",
7584
- "name": "SceneInspector",
7585
- "members": [
7586
- {
7587
- "kind": "field",
7588
- "name": "scene",
7589
- "type": {
7590
- "text": "Scene | undefined"
7591
- },
7592
- "attribute": "scene"
7593
- },
7594
- {
7595
- "kind": "field",
7596
- "name": "searchText",
7597
- "type": {
7598
- "text": "string"
7599
- },
7600
- "privacy": "private",
7601
- "default": "''"
7602
- },
7603
- {
7604
- "kind": "field",
7605
- "name": "_extendedMap",
7606
- "type": {
7607
- "text": "any"
7608
- },
7609
- "privacy": "private"
7610
- },
7611
- {
7612
- "kind": "field",
7613
- "name": "show",
7614
- "type": {
7615
- "text": "boolean"
7616
- },
7617
- "privacy": "private",
7618
- "default": "false"
7619
- },
7620
- {
7621
- "kind": "field",
7622
- "name": "count",
7623
- "type": {
7624
- "text": "number"
7625
- },
7626
- "privacy": "private",
7627
- "default": "-1"
7628
- },
7629
- {
7630
- "kind": "method",
7631
- "name": "disconnectScene",
7632
- "parameters": [
7633
- {
7634
- "name": "scene",
7635
- "optional": true,
7636
- "type": {
7637
- "text": "Scene"
7638
- }
7639
- }
7640
- ]
7641
- },
7642
- {
7643
- "kind": "method",
7644
- "name": "refresh"
7645
- },
7646
- {
7647
- "kind": "method",
7648
- "name": "_onclick",
7649
- "parameters": [
7650
- {
7651
- "name": "e",
7652
- "type": {
7653
- "text": "MouseEvent"
7654
- }
7655
- }
7656
- ]
7657
- },
7658
- {
7659
- "kind": "method",
7660
- "name": "_ondblclick",
7661
- "parameters": [
7662
- {
7663
- "name": "e",
7664
- "type": {
7665
- "text": "MouseEvent"
7666
- }
7667
- }
7668
- ]
7669
- },
7670
- {
7671
- "kind": "field",
7672
- "name": "extendedMap",
7673
- "readonly": true
7674
- },
7675
- {
7676
- "kind": "method",
7677
- "name": "getNodeHandleClass",
7678
- "parameters": [
7679
- {
7680
- "name": "component",
7681
- "type": {
7682
- "text": "Component"
7683
- }
7684
- }
7685
- ]
7686
- },
7687
- {
7688
- "kind": "method",
7689
- "name": "isExtended",
7690
- "parameters": [
7691
- {
7692
- "name": "component",
7693
- "type": {
7694
- "text": "Component"
7695
- }
7696
- }
7697
- ]
7698
- },
7699
- {
7700
- "kind": "method",
7701
- "name": "toggleExtended",
7702
- "parameters": [
7703
- {
7704
- "name": "component",
7705
- "type": {
7706
- "text": "Component"
7707
- }
7708
- }
7709
- ]
7710
- },
7711
- {
7712
- "kind": "method",
7713
- "name": "toggleHidden",
7714
- "parameters": [
7715
- {
7716
- "name": "component",
7717
- "type": {
7718
- "text": "Component"
7719
- }
7720
- }
7721
- ]
7722
- },
7723
- {
7724
- "kind": "method",
7725
- "name": "selectComponent",
7726
- "parameters": [
7727
- {
7728
- "name": "component",
7729
- "type": {
7730
- "text": "Component"
7731
- }
7732
- },
7733
- {
7734
- "name": "append",
7735
- "default": "false",
7736
- "type": {
7737
- "text": "boolean"
7738
- }
7739
- }
7740
- ]
7741
- },
7742
- {
7743
- "kind": "method",
7744
- "name": "shouldBeShown",
7745
- "return": {
7746
- "type": {
7747
- "text": "boolean"
7748
- }
7749
- },
7750
- "parameters": [
7751
- {
7752
- "name": "component",
7753
- "type": {
7754
- "text": "Component"
7755
- }
7756
- },
7757
- {
7758
- "name": "counting",
7759
- "default": "false",
7760
- "type": {
7761
- "text": "boolean"
7762
- }
7763
- }
7764
- ]
7765
- },
7766
- {
7767
- "kind": "method",
7768
- "name": "renderComponent",
7769
- "return": {
7770
- "type": {
7771
- "text": "TemplateResult"
7772
- }
7773
- },
7774
- "parameters": [
7775
- {
7776
- "name": "component",
7777
- "type": {
7778
- "text": "Component"
7779
- }
7780
- },
7781
- {
7782
- "name": "depth",
7783
- "type": {
7784
- "text": "number"
7785
- }
7786
- }
7787
- ]
7788
- }
7789
- ],
7790
- "attributes": [
7791
- {
7792
- "name": "scene",
7793
- "type": {
7794
- "text": "Scene | undefined"
7795
- },
7796
- "fieldName": "scene"
7555
+ {
7556
+ "name": "ScopedElementsMixin",
7557
+ "package": "@open-wc/scoped-elements"
7797
7558
  }
7798
7559
  ],
7799
7560
  "superclass": {
7800
- "name": "LitElement",
7801
- "package": "lit"
7802
- },
7803
- "customElement": true
7561
+ "name": "AbstractProperty",
7562
+ "module": "/src/modeller/property-sidebar/abstract-property.js"
7563
+ }
7804
7564
  }
7805
7565
  ],
7806
7566
  "exports": [
7807
7567
  {
7808
7568
  "kind": "js",
7809
- "name": "SceneInspector",
7569
+ "name": "PropertyDataBinding",
7810
7570
  "declaration": {
7811
- "name": "SceneInspector",
7812
- "module": "src/modeller/property-sidebar/inspector/inspector.ts"
7571
+ "name": "PropertyDataBinding",
7572
+ "module": "src/modeller/property-sidebar/data-binding/data-binding.ts"
7813
7573
  }
7814
7574
  }
7815
7575
  ]
@@ -8383,6 +8143,246 @@
8383
8143
  }
8384
8144
  ]
8385
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
8373
+ }
8374
+ ],
8375
+ "exports": [
8376
+ {
8377
+ "kind": "js",
8378
+ "name": "SceneInspector",
8379
+ "declaration": {
8380
+ "name": "SceneInspector",
8381
+ "module": "src/modeller/property-sidebar/inspector/inspector.ts"
8382
+ }
8383
+ }
8384
+ ]
8385
+ },
8386
8386
  {
8387
8387
  "kind": "javascript-module",
8388
8388
  "path": "src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts",