@fmsim/board 1.0.35 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.storybook/main.ts +58 -0
  2. package/.storybook/preview.ts +15 -0
  3. package/custom-elements.json +1142 -61
  4. package/dist/src/component/index.d.ts +3 -1
  5. package/dist/src/component/index.js +3 -1
  6. package/dist/src/component/index.js.map +1 -1
  7. package/dist/src/component/restful-attachment-creation-card.d.ts +18 -0
  8. package/dist/src/component/restful-attachment-creation-card.js +264 -0
  9. package/dist/src/component/restful-attachment-creation-card.js.map +1 -0
  10. package/dist/src/component/restful-attachment-selector.d.ts +36 -0
  11. package/dist/src/component/restful-attachment-selector.js +663 -0
  12. package/dist/src/component/restful-attachment-selector.js.map +1 -0
  13. package/dist/src/component/restful-file-selector.d.ts +14 -0
  14. package/dist/src/component/restful-file-selector.js +181 -0
  15. package/dist/src/component/restful-file-selector.js.map +1 -0
  16. package/dist/src/component/restful-input-attachment-selector.d.ts +16 -0
  17. package/dist/src/component/restful-input-attachment-selector.js +110 -0
  18. package/dist/src/component/restful-input-attachment-selector.js.map +1 -0
  19. package/dist/src/component/restful-input-fill-style.d.ts +45 -0
  20. package/dist/src/component/restful-input-fill-style.js +344 -0
  21. package/dist/src/component/restful-input-fill-style.js.map +1 -0
  22. package/dist/src/component/restrul-input-background-pattern.d.ts +35 -0
  23. package/dist/src/component/restrul-input-background-pattern.js +183 -0
  24. package/dist/src/component/restrul-input-background-pattern.js.map +1 -0
  25. package/dist/src/index.d.ts +1 -0
  26. package/dist/src/index.js +1 -0
  27. package/dist/src/index.js.map +1 -1
  28. package/dist/src/modeller/property-sidebar/styles/styles.d.ts +1 -0
  29. package/dist/src/modeller/property-sidebar/styles/styles.js +5 -1
  30. package/dist/src/modeller/property-sidebar/styles/styles.js.map +1 -1
  31. package/dist/src/ox-board-component-info.d.ts +1 -0
  32. package/dist/src/ox-board-component-info.js +19 -1
  33. package/dist/src/ox-board-component-info.js.map +1 -1
  34. package/dist/stories/restful-attachment-selector.stories.d.ts +30 -0
  35. package/dist/stories/restful-attachment-selector.stories.js +104 -0
  36. package/dist/stories/restful-attachment-selector.stories.js.map +1 -0
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/icons/attachment/btn-copy-link-hover.svg +4 -0
  39. package/icons/attachment/btn-copy-link.svg +4 -0
  40. package/icons/attachment/btn-delete-hover.svg +4 -0
  41. package/icons/attachment/btn-delete.svg +4 -0
  42. package/icons/attachment/btn-download-hover.svg +4 -0
  43. package/icons/attachment/btn-download.svg +4 -0
  44. package/icons/attachment/btn-zoom-hover.svg +4 -0
  45. package/icons/attachment/btn-zoom.svg +4 -0
  46. package/icons/attachment/file.svg +3 -0
  47. package/icons/board/btn-add-board.svg +5 -0
  48. package/icons/board/btn-add-list.svg +5 -0
  49. package/icons/board/btn-close-dropbox.svg +3 -0
  50. package/icons/board/btn-edit-hover.svg +4 -0
  51. package/icons/board/btn-edit.svg +4 -0
  52. package/icons/board/btn-favorite-hover-on.svg +4 -0
  53. package/icons/board/btn-favorite-hover.svg +4 -0
  54. package/icons/board/btn-favorite-on.svg +4 -0
  55. package/icons/board/btn-favorite.svg +4 -0
  56. package/icons/board/btn-info-hover.svg +3 -0
  57. package/icons/board/btn-info.svg +3 -0
  58. package/icons/board/btn-open-dropbox.svg +3 -0
  59. package/icons/board/btn-users.svg +4 -0
  60. package/icons/board/favorite_black.svg +1 -0
  61. package/icons/group-bar/btn-add-list.png +0 -0
  62. package/icons/group-bar/btn-close-dropbox.png +0 -0
  63. package/icons/group-bar/btn-edit.png +0 -0
  64. package/icons/group-bar/btn-open-dropbox-color.png +0 -0
  65. package/icons/group-bar/btn-search-name.png +0 -0
  66. package/package.json +11 -7
  67. package/stories/restful-attachment-selector.stories.ts +113 -0
  68. package/.storybook/main.js +0 -3
  69. package/dist/stories/index.stories.d.ts +0 -33
  70. package/dist/stories/index.stories.js +0 -33
  71. package/dist/stories/index.stories.js.map +0 -1
  72. package/stories/index.stories.ts +0 -52
@@ -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",
@@ -54,6 +139,14 @@
54
139
  "name": "*",
55
140
  "package": "./ox-board-list.js"
56
141
  }
142
+ },
143
+ {
144
+ "kind": "js",
145
+ "name": "*",
146
+ "declaration": {
147
+ "name": "*",
148
+ "package": "./component/index.js"
149
+ }
57
150
  }
58
151
  ]
59
152
  },
@@ -89,6 +182,14 @@
89
182
  },
90
183
  "default": "false"
91
184
  },
185
+ {
186
+ "kind": "field",
187
+ "name": "loading",
188
+ "type": {
189
+ "text": "boolean"
190
+ },
191
+ "default": "false"
192
+ },
92
193
  {
93
194
  "kind": "field",
94
195
  "name": "dragStart",
@@ -1621,122 +1722,1102 @@
1621
1722
  },
1622
1723
  {
1623
1724
  "kind": "javascript-module",
1624
- "path": "stories/index.stories.ts",
1725
+ "path": "src/component/etc.ts",
1625
1726
  "declarations": [
1626
1727
  {
1627
1728
  "kind": "variable",
1628
- "name": "Regular"
1629
- },
1630
- {
1631
- "kind": "variable",
1632
- "name": "CustomTitle"
1633
- },
1634
- {
1635
- "kind": "variable",
1636
- "name": "CustomCounter"
1637
- },
1638
- {
1639
- "kind": "variable",
1640
- "name": "SlottedContent"
1729
+ "name": "etc",
1730
+ "type": {
1731
+ "text": "ComponentGroup"
1732
+ },
1733
+ "default": "{ name: 'etc', description: 'a group of components that have not yet been defined.', icon, templates: [ { type: 'rect', description: 'rectangle shape', icon: rect, group: 'shape', model: { type: 'rect', left: 100, top: 100, width: 100, height: 100, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'ellipse', description: 'ellipse shape', icon: ellipse, group: 'shape', model: { type: 'ellipse', rx: 50, ry: 50, cx: 150, cy: 150, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'triangle', description: 'triangle shape', icon: triangle, group: 'shape', model: { type: 'triangle', x1: 150, y1: 100, x2: 100, y2: 200, x3: 200, y3: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'line', description: 'simple line', icon: lineIcon, group: 'line', model: { type: 'line', x1: 100, y1: 100, x2: 200, y2: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 3, lineDash: 'solid', lineCap: 'butt' } }, { type: 'dash', description: 'dash line', icon: dash, group: 'line', model: { type: 'line', x1: 100, y1: 100, x2: 200, y2: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 3, lineDash: 'round-dot', lineCap: 'butt' } }, { type: 'container', description: 'container shape', icon: container, group: 'container', model: { type: 'container', left: 100, top: 100, width: 400, height: 300, fillStyle: '#fff', strokeStyle: '#999', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } } ] }"
1641
1734
  }
1642
1735
  ],
1643
1736
  "exports": [
1644
1737
  {
1645
1738
  "kind": "js",
1646
- "name": "default",
1647
- "declaration": {
1648
- "module": "stories/index.stories.ts"
1649
- }
1650
- },
1651
- {
1652
- "kind": "js",
1653
- "name": "Regular",
1739
+ "name": "etc",
1654
1740
  "declaration": {
1655
- "name": "Regular",
1656
- "module": "stories/index.stories.ts"
1741
+ "name": "etc",
1742
+ "module": "src/component/etc.ts"
1657
1743
  }
1658
- },
1744
+ }
1745
+ ]
1746
+ },
1747
+ {
1748
+ "kind": "javascript-module",
1749
+ "path": "src/component/index.ts",
1750
+ "declarations": [],
1751
+ "exports": [
1659
1752
  {
1660
1753
  "kind": "js",
1661
- "name": "CustomTitle",
1754
+ "name": "*",
1662
1755
  "declaration": {
1663
- "name": "CustomTitle",
1664
- "module": "stories/index.stories.ts"
1756
+ "name": "*",
1757
+ "package": "./restful-attachment-selector.js"
1665
1758
  }
1666
1759
  },
1667
1760
  {
1668
1761
  "kind": "js",
1669
- "name": "CustomCounter",
1762
+ "name": "*",
1670
1763
  "declaration": {
1671
- "name": "CustomCounter",
1672
- "module": "stories/index.stories.ts"
1764
+ "name": "*",
1765
+ "package": "./etc.js"
1673
1766
  }
1674
1767
  },
1675
1768
  {
1676
1769
  "kind": "js",
1677
- "name": "SlottedContent",
1770
+ "name": "*",
1678
1771
  "declaration": {
1679
- "name": "SlottedContent",
1680
- "module": "stories/index.stories.ts"
1772
+ "name": "*",
1773
+ "package": "./restful-input-fill-style.js"
1681
1774
  }
1682
1775
  }
1683
1776
  ]
1684
1777
  },
1685
1778
  {
1686
1779
  "kind": "javascript-module",
1687
- "path": "src/component/etc.ts",
1780
+ "path": "src/component/register-default-groups.ts",
1688
1781
  "declarations": [
1689
1782
  {
1690
- "kind": "variable",
1691
- "name": "etc",
1692
- "type": {
1693
- "text": "ComponentGroup"
1694
- },
1695
- "default": "{ name: 'etc', description: 'a group of components that have not yet been defined.', icon, templates: [ { type: 'rect', description: 'rectangle shape', icon: rect, group: 'shape', model: { type: 'rect', left: 100, top: 100, width: 100, height: 100, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'ellipse', description: 'ellipse shape', icon: ellipse, group: 'shape', model: { type: 'ellipse', rx: 50, ry: 50, cx: 150, cy: 150, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'triangle', description: 'triangle shape', icon: triangle, group: 'shape', model: { type: 'triangle', x1: 150, y1: 100, x2: 100, y2: 200, x3: 200, y3: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } }, { type: 'line', description: 'simple line', icon: lineIcon, group: 'line', model: { type: 'line', x1: 100, y1: 100, x2: 200, y2: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 3, lineDash: 'solid', lineCap: 'butt' } }, { type: 'dash', description: 'dash line', icon: dash, group: 'line', model: { type: 'line', x1: 100, y1: 100, x2: 200, y2: 200, fillStyle: '#fff', strokeStyle: '#000', alpha: 1, hidden: false, lineWidth: 3, lineDash: 'round-dot', lineCap: 'butt' } }, { type: 'container', description: 'container shape', icon: container, group: 'container', model: { type: 'container', left: 100, top: 100, width: 400, height: 300, fillStyle: '#fff', strokeStyle: '#999', alpha: 1, hidden: false, lineWidth: 1, lineDash: 'solid', lineCap: 'butt' } } ] }"
1783
+ "kind": "function",
1784
+ "name": "registerDefaultGroups"
1696
1785
  }
1697
1786
  ],
1698
1787
  "exports": [
1699
1788
  {
1700
1789
  "kind": "js",
1701
- "name": "etc",
1790
+ "name": "registerDefaultGroups",
1702
1791
  "declaration": {
1703
- "name": "etc",
1704
- "module": "src/component/etc.ts"
1792
+ "name": "registerDefaultGroups",
1793
+ "module": "src/component/register-default-groups.ts"
1705
1794
  }
1706
1795
  }
1707
1796
  ]
1708
1797
  },
1709
1798
  {
1710
1799
  "kind": "javascript-module",
1711
- "path": "src/component/index.ts",
1712
- "declarations": [],
1800
+ "path": "src/component/restful-attachment-creation-card.ts",
1801
+ "declarations": [
1802
+ {
1803
+ "kind": "class",
1804
+ "description": "",
1805
+ "name": "RestfulAttachmentCreationCard",
1806
+ "members": [
1807
+ {
1808
+ "kind": "field",
1809
+ "name": "defaultCategory",
1810
+ "type": {
1811
+ "text": "string | undefined"
1812
+ },
1813
+ "attribute": "defaultCategory"
1814
+ },
1815
+ {
1816
+ "kind": "field",
1817
+ "name": "categories",
1818
+ "type": {
1819
+ "text": "string[]"
1820
+ },
1821
+ "default": "[]",
1822
+ "attribute": "categories"
1823
+ },
1824
+ {
1825
+ "kind": "field",
1826
+ "name": "_files",
1827
+ "type": {
1828
+ "text": "any[]"
1829
+ },
1830
+ "default": "[]",
1831
+ "attribute": "_files"
1832
+ },
1833
+ {
1834
+ "kind": "field",
1835
+ "name": "_currentCategory",
1836
+ "type": {
1837
+ "text": "string | undefined"
1838
+ },
1839
+ "attribute": "_currentCategory"
1840
+ },
1841
+ {
1842
+ "kind": "field",
1843
+ "name": "fileId",
1844
+ "type": {
1845
+ "text": "string | undefined"
1846
+ },
1847
+ "attribute": "fileId"
1848
+ },
1849
+ {
1850
+ "kind": "method",
1851
+ "name": "onClickFlip",
1852
+ "parameters": [
1853
+ {
1854
+ "name": "e",
1855
+ "type": {
1856
+ "text": "Event"
1857
+ }
1858
+ }
1859
+ ]
1860
+ },
1861
+ {
1862
+ "kind": "method",
1863
+ "name": "onClickSubmit",
1864
+ "parameters": [
1865
+ {
1866
+ "name": "e",
1867
+ "type": {
1868
+ "text": "Event"
1869
+ }
1870
+ }
1871
+ ]
1872
+ },
1873
+ {
1874
+ "kind": "method",
1875
+ "name": "reset"
1876
+ }
1877
+ ],
1878
+ "events": [
1879
+ {
1880
+ "name": "create-attachment",
1881
+ "type": {
1882
+ "text": "CustomEvent"
1883
+ }
1884
+ }
1885
+ ],
1886
+ "attributes": [
1887
+ {
1888
+ "name": "defaultCategory",
1889
+ "type": {
1890
+ "text": "string | undefined"
1891
+ },
1892
+ "fieldName": "defaultCategory"
1893
+ },
1894
+ {
1895
+ "name": "categories",
1896
+ "type": {
1897
+ "text": "string[]"
1898
+ },
1899
+ "default": "[]",
1900
+ "fieldName": "categories"
1901
+ },
1902
+ {
1903
+ "name": "_files",
1904
+ "type": {
1905
+ "text": "any[]"
1906
+ },
1907
+ "default": "[]",
1908
+ "fieldName": "_files"
1909
+ },
1910
+ {
1911
+ "name": "_currentCategory",
1912
+ "type": {
1913
+ "text": "string | undefined"
1914
+ },
1915
+ "fieldName": "_currentCategory"
1916
+ },
1917
+ {
1918
+ "name": "fileId",
1919
+ "type": {
1920
+ "text": "string | undefined"
1921
+ },
1922
+ "fieldName": "fileId"
1923
+ }
1924
+ ],
1925
+ "mixins": [
1926
+ {
1927
+ "name": "localize(i18next)",
1928
+ "module": "src/component/restful-attachment-creation-card.ts"
1929
+ }
1930
+ ],
1931
+ "superclass": {
1932
+ "name": "LitElement",
1933
+ "package": "lit"
1934
+ },
1935
+ "tagName": "restful-attachment-creation-card",
1936
+ "customElement": true
1937
+ }
1938
+ ],
1713
1939
  "exports": [
1714
1940
  {
1715
1941
  "kind": "js",
1716
- "name": "*",
1942
+ "name": "RestfulAttachmentCreationCard",
1717
1943
  "declaration": {
1718
- "name": "*",
1719
- "package": "./etc"
1944
+ "name": "RestfulAttachmentCreationCard",
1945
+ "module": "src/component/restful-attachment-creation-card.ts"
1946
+ }
1947
+ },
1948
+ {
1949
+ "kind": "custom-element-definition",
1950
+ "name": "restful-attachment-creation-card",
1951
+ "declaration": {
1952
+ "name": "RestfulAttachmentCreationCard",
1953
+ "module": "src/component/restful-attachment-creation-card.ts"
1720
1954
  }
1721
1955
  }
1722
1956
  ]
1723
1957
  },
1724
1958
  {
1725
1959
  "kind": "javascript-module",
1726
- "path": "src/component/register-default-groups.ts",
1960
+ "path": "src/component/restful-attachment-selector.ts",
1727
1961
  "declarations": [
1728
1962
  {
1729
- "kind": "function",
1730
- "name": "registerDefaultGroups"
1731
- }
1732
- ],
1733
- "exports": [
1734
- {
1735
- "kind": "js",
1736
- "name": "registerDefaultGroups",
1737
- "declaration": {
1738
- "name": "registerDefaultGroups",
1739
- "module": "src/component/register-default-groups.ts"
1963
+ "kind": "class",
1964
+ "description": "",
1965
+ "name": "RestfulAttachmentSelector",
1966
+ "members": [
1967
+ {
1968
+ "kind": "field",
1969
+ "name": "categories",
1970
+ "type": {
1971
+ "text": "string[]"
1972
+ },
1973
+ "default": "['audio', 'video', 'image', 'text', 'application']",
1974
+ "attribute": "categories"
1975
+ },
1976
+ {
1977
+ "kind": "field",
1978
+ "name": "attachments",
1979
+ "type": {
1980
+ "text": "any[]"
1981
+ },
1982
+ "default": "[]",
1983
+ "attribute": "attachments"
1984
+ },
1985
+ {
1986
+ "kind": "field",
1987
+ "name": "category",
1988
+ "type": {
1989
+ "text": "string | undefined"
1990
+ },
1991
+ "attribute": "category"
1992
+ },
1993
+ {
1994
+ "kind": "field",
1995
+ "name": "_page",
1996
+ "type": {
1997
+ "text": "number"
1998
+ },
1999
+ "default": "1",
2000
+ "attribute": "_page"
2001
+ },
2002
+ {
2003
+ "kind": "field",
2004
+ "name": "_total",
2005
+ "type": {
2006
+ "text": "number"
2007
+ },
2008
+ "default": "0",
2009
+ "attribute": "_total"
2010
+ },
2011
+ {
2012
+ "kind": "field",
2013
+ "name": "creatable",
2014
+ "type": {
2015
+ "text": "boolean | undefined"
2016
+ },
2017
+ "attribute": "creatable"
2018
+ },
2019
+ {
2020
+ "kind": "field",
2021
+ "name": "selectBoxToggle",
2022
+ "type": {
2023
+ "text": "string | null | undefined"
2024
+ },
2025
+ "attribute": "selectBoxToggle"
2026
+ },
2027
+ {
2028
+ "kind": "field",
2029
+ "name": "btnDropBoxIcon",
2030
+ "type": {
2031
+ "text": "string"
2032
+ },
2033
+ "default": "'btn-open-dropbox'",
2034
+ "attribute": "btnDropBoxIcon"
2035
+ },
2036
+ {
2037
+ "kind": "field",
2038
+ "name": "userName",
2039
+ "type": {
2040
+ "text": "string | undefined"
2041
+ },
2042
+ "attribute": "userName"
2043
+ },
2044
+ {
2045
+ "kind": "field",
2046
+ "name": "main",
2047
+ "type": {
2048
+ "text": "HTMLDivElement"
2049
+ }
2050
+ },
2051
+ {
2052
+ "kind": "field",
2053
+ "name": "creationCard",
2054
+ "type": {
2055
+ "text": "RestfulAttachmentCreationCard"
2056
+ }
2057
+ },
2058
+ {
2059
+ "kind": "method",
2060
+ "name": "toggleSelectBox"
2061
+ },
2062
+ {
2063
+ "kind": "method",
2064
+ "name": "onClickSelect",
2065
+ "parameters": [
2066
+ {
2067
+ "name": "attachment",
2068
+ "type": {
2069
+ "text": "any"
2070
+ }
2071
+ }
2072
+ ]
2073
+ },
2074
+ {
2075
+ "kind": "method",
2076
+ "name": "onAttachmentDropped",
2077
+ "parameters": [
2078
+ {
2079
+ "name": "e",
2080
+ "type": {
2081
+ "text": "Event"
2082
+ }
2083
+ }
2084
+ ]
2085
+ },
2086
+ {
2087
+ "kind": "method",
2088
+ "name": "onCreateAttachment",
2089
+ "parameters": [
2090
+ {
2091
+ "name": "e",
2092
+ "type": {
2093
+ "text": "Event"
2094
+ }
2095
+ }
2096
+ ]
2097
+ },
2098
+ {
2099
+ "kind": "method",
2100
+ "name": "onDeleteAttachment",
2101
+ "parameters": [
2102
+ {
2103
+ "name": "id",
2104
+ "type": {
2105
+ "text": "string"
2106
+ }
2107
+ }
2108
+ ]
2109
+ },
2110
+ {
2111
+ "kind": "method",
2112
+ "name": "refreshAttachments"
2113
+ },
2114
+ {
2115
+ "kind": "method",
2116
+ "name": "appendAttachments"
2117
+ },
2118
+ {
2119
+ "kind": "method",
2120
+ "name": "getAttachments",
2121
+ "parameters": [
2122
+ {
2123
+ "name": "{ page = 1, limit = 1000 }",
2124
+ "default": "{}"
2125
+ }
2126
+ ]
2127
+ },
2128
+ {
2129
+ "kind": "method",
2130
+ "name": "createAttachments",
2131
+ "parameters": [
2132
+ {
2133
+ "name": "category",
2134
+ "type": {
2135
+ "text": "string"
2136
+ }
2137
+ },
2138
+ {
2139
+ "name": "files",
2140
+ "type": {
2141
+ "text": "any[]"
2142
+ }
2143
+ },
2144
+ {
2145
+ "name": "fileId",
2146
+ "optional": true,
2147
+ "type": {
2148
+ "text": "string"
2149
+ }
2150
+ }
2151
+ ]
2152
+ },
2153
+ {
2154
+ "kind": "method",
2155
+ "name": "deleteAttachment",
2156
+ "parameters": [
2157
+ {
2158
+ "name": "id",
2159
+ "type": {
2160
+ "text": "string"
2161
+ }
2162
+ }
2163
+ ]
2164
+ },
2165
+ {
2166
+ "kind": "method",
2167
+ "name": "copy",
2168
+ "parameters": [
2169
+ {
2170
+ "name": "copied",
2171
+ "type": {
2172
+ "text": "any"
2173
+ }
2174
+ }
2175
+ ]
2176
+ }
2177
+ ],
2178
+ "events": [
2179
+ {
2180
+ "name": "attachment-selected",
2181
+ "type": {
2182
+ "text": "CustomEvent"
2183
+ }
2184
+ }
2185
+ ],
2186
+ "attributes": [
2187
+ {
2188
+ "name": "categories",
2189
+ "type": {
2190
+ "text": "string[]"
2191
+ },
2192
+ "default": "['audio', 'video', 'image', 'text', 'application']",
2193
+ "fieldName": "categories"
2194
+ },
2195
+ {
2196
+ "name": "attachments",
2197
+ "type": {
2198
+ "text": "any[]"
2199
+ },
2200
+ "default": "[]",
2201
+ "fieldName": "attachments"
2202
+ },
2203
+ {
2204
+ "name": "category",
2205
+ "type": {
2206
+ "text": "string | undefined"
2207
+ },
2208
+ "fieldName": "category"
2209
+ },
2210
+ {
2211
+ "name": "_page",
2212
+ "type": {
2213
+ "text": "number"
2214
+ },
2215
+ "default": "1",
2216
+ "fieldName": "_page"
2217
+ },
2218
+ {
2219
+ "name": "_total",
2220
+ "type": {
2221
+ "text": "number"
2222
+ },
2223
+ "default": "0",
2224
+ "fieldName": "_total"
2225
+ },
2226
+ {
2227
+ "name": "creatable",
2228
+ "type": {
2229
+ "text": "boolean | undefined"
2230
+ },
2231
+ "fieldName": "creatable"
2232
+ },
2233
+ {
2234
+ "name": "selectBoxToggle",
2235
+ "type": {
2236
+ "text": "string | null | undefined"
2237
+ },
2238
+ "fieldName": "selectBoxToggle"
2239
+ },
2240
+ {
2241
+ "name": "btnDropBoxIcon",
2242
+ "type": {
2243
+ "text": "string"
2244
+ },
2245
+ "default": "'btn-open-dropbox'",
2246
+ "fieldName": "btnDropBoxIcon"
2247
+ },
2248
+ {
2249
+ "name": "userName",
2250
+ "type": {
2251
+ "text": "string | undefined"
2252
+ },
2253
+ "fieldName": "userName"
2254
+ }
2255
+ ],
2256
+ "mixins": [
2257
+ {
2258
+ "name": "localize(i18next)",
2259
+ "module": "src/component/restful-attachment-selector.ts"
2260
+ }
2261
+ ],
2262
+ "superclass": {
2263
+ "name": "LitElement",
2264
+ "package": "lit"
2265
+ },
2266
+ "tagName": "restful-attachment-selector",
2267
+ "customElement": true
2268
+ }
2269
+ ],
2270
+ "exports": [
2271
+ {
2272
+ "kind": "js",
2273
+ "name": "RestfulAttachmentSelector",
2274
+ "declaration": {
2275
+ "name": "RestfulAttachmentSelector",
2276
+ "module": "src/component/restful-attachment-selector.ts"
2277
+ }
2278
+ },
2279
+ {
2280
+ "kind": "custom-element-definition",
2281
+ "name": "restful-attachment-selector",
2282
+ "declaration": {
2283
+ "name": "RestfulAttachmentSelector",
2284
+ "module": "src/component/restful-attachment-selector.ts"
2285
+ }
2286
+ }
2287
+ ]
2288
+ },
2289
+ {
2290
+ "kind": "javascript-module",
2291
+ "path": "src/component/restful-file-selector.ts",
2292
+ "declarations": [
2293
+ {
2294
+ "kind": "class",
2295
+ "description": "",
2296
+ "name": "RestfulFileSelector",
2297
+ "members": [
2298
+ {
2299
+ "kind": "field",
2300
+ "name": "label",
2301
+ "type": {
2302
+ "text": "string"
2303
+ },
2304
+ "default": "'select file'",
2305
+ "attribute": "label"
2306
+ },
2307
+ {
2308
+ "kind": "field",
2309
+ "name": "accept",
2310
+ "type": {
2311
+ "text": "string | undefined"
2312
+ },
2313
+ "attribute": "accept"
2314
+ },
2315
+ {
2316
+ "kind": "field",
2317
+ "name": "showFilename",
2318
+ "type": {
2319
+ "text": "boolean | undefined"
2320
+ },
2321
+ "attribute": "show-filename"
2322
+ },
2323
+ {
2324
+ "kind": "field",
2325
+ "name": "multiple",
2326
+ "type": {
2327
+ "text": "boolean"
2328
+ },
2329
+ "default": "false",
2330
+ "attribute": "multiple"
2331
+ },
2332
+ {
2333
+ "kind": "field",
2334
+ "name": "_files",
2335
+ "type": {
2336
+ "text": "any[]"
2337
+ },
2338
+ "default": "[]",
2339
+ "attribute": "_files"
2340
+ },
2341
+ {
2342
+ "kind": "field",
2343
+ "name": "fileInput",
2344
+ "type": {
2345
+ "text": "HTMLInputElement"
2346
+ }
2347
+ },
2348
+ {
2349
+ "kind": "method",
2350
+ "name": "getUUID"
2351
+ },
2352
+ {
2353
+ "kind": "method",
2354
+ "name": "onFileChange",
2355
+ "parameters": [
2356
+ {
2357
+ "name": "e",
2358
+ "type": {
2359
+ "text": "Event"
2360
+ }
2361
+ }
2362
+ ]
2363
+ },
2364
+ {
2365
+ "kind": "method",
2366
+ "name": "onImageFileChanged",
2367
+ "parameters": [
2368
+ {
2369
+ "name": "e",
2370
+ "type": {
2371
+ "text": "Event"
2372
+ }
2373
+ }
2374
+ ]
2375
+ }
2376
+ ],
2377
+ "attributes": [
2378
+ {
2379
+ "name": "label",
2380
+ "type": {
2381
+ "text": "string"
2382
+ },
2383
+ "default": "'select file'",
2384
+ "fieldName": "label"
2385
+ },
2386
+ {
2387
+ "name": "accept",
2388
+ "type": {
2389
+ "text": "string | undefined"
2390
+ },
2391
+ "fieldName": "accept"
2392
+ },
2393
+ {
2394
+ "name": "show-filename",
2395
+ "type": {
2396
+ "text": "boolean | undefined"
2397
+ },
2398
+ "fieldName": "showFilename"
2399
+ },
2400
+ {
2401
+ "name": "multiple",
2402
+ "type": {
2403
+ "text": "boolean"
2404
+ },
2405
+ "default": "false",
2406
+ "fieldName": "multiple"
2407
+ },
2408
+ {
2409
+ "name": "_files",
2410
+ "type": {
2411
+ "text": "any[]"
2412
+ },
2413
+ "default": "[]",
2414
+ "fieldName": "_files"
2415
+ }
2416
+ ],
2417
+ "superclass": {
2418
+ "name": "LitElement",
2419
+ "package": "lit"
2420
+ },
2421
+ "tagName": "restful-file-selector",
2422
+ "customElement": true
2423
+ }
2424
+ ],
2425
+ "exports": [
2426
+ {
2427
+ "kind": "js",
2428
+ "name": "RestfulFileSelector",
2429
+ "declaration": {
2430
+ "name": "RestfulFileSelector",
2431
+ "module": "src/component/restful-file-selector.ts"
2432
+ }
2433
+ },
2434
+ {
2435
+ "kind": "custom-element-definition",
2436
+ "name": "restful-file-selector",
2437
+ "declaration": {
2438
+ "name": "RestfulFileSelector",
2439
+ "module": "src/component/restful-file-selector.ts"
2440
+ }
2441
+ }
2442
+ ]
2443
+ },
2444
+ {
2445
+ "kind": "javascript-module",
2446
+ "path": "src/component/restful-input-attachment-selector.ts",
2447
+ "declarations": [
2448
+ {
2449
+ "kind": "class",
2450
+ "description": "",
2451
+ "name": "RestfulInputAttachmentSelector",
2452
+ "members": [
2453
+ {
2454
+ "kind": "field",
2455
+ "name": "value",
2456
+ "type": {
2457
+ "text": "string"
2458
+ },
2459
+ "default": "''",
2460
+ "attribute": "value"
2461
+ },
2462
+ {
2463
+ "kind": "field",
2464
+ "name": "popup",
2465
+ "type": {
2466
+ "text": "PopupHandle | undefined"
2467
+ },
2468
+ "privacy": "private"
2469
+ },
2470
+ {
2471
+ "kind": "method",
2472
+ "name": "getIconByCategory"
2473
+ },
2474
+ {
2475
+ "kind": "method",
2476
+ "name": "_onInputChanged",
2477
+ "parameters": [
2478
+ {
2479
+ "name": "e",
2480
+ "type": {
2481
+ "text": "KeyboardEvent"
2482
+ }
2483
+ }
2484
+ ]
2485
+ },
2486
+ {
2487
+ "kind": "method",
2488
+ "name": "openSelector"
2489
+ }
2490
+ ],
2491
+ "events": [
2492
+ {
2493
+ "name": "change",
2494
+ "type": {
2495
+ "text": "CustomEvent"
2496
+ }
2497
+ }
2498
+ ],
2499
+ "attributes": [
2500
+ {
2501
+ "name": "value",
2502
+ "type": {
2503
+ "text": "string"
2504
+ },
2505
+ "default": "''",
2506
+ "fieldName": "value"
2507
+ },
2508
+ {
2509
+ "name": "properties",
2510
+ "type": {
2511
+ "text": "any"
2512
+ },
2513
+ "fieldName": "properties"
2514
+ }
2515
+ ],
2516
+ "superclass": {
2517
+ "name": "LitElement",
2518
+ "package": "lit"
2519
+ },
2520
+ "tagName": "restful-input-attachment-selector",
2521
+ "customElement": true
2522
+ }
2523
+ ],
2524
+ "exports": [
2525
+ {
2526
+ "kind": "js",
2527
+ "name": "RestfulInputAttachmentSelector",
2528
+ "declaration": {
2529
+ "name": "RestfulInputAttachmentSelector",
2530
+ "module": "src/component/restful-input-attachment-selector.ts"
2531
+ }
2532
+ },
2533
+ {
2534
+ "kind": "custom-element-definition",
2535
+ "name": "restful-input-attachment-selector",
2536
+ "declaration": {
2537
+ "name": "RestfulInputAttachmentSelector",
2538
+ "module": "src/component/restful-input-attachment-selector.ts"
2539
+ }
2540
+ }
2541
+ ]
2542
+ },
2543
+ {
2544
+ "kind": "javascript-module",
2545
+ "path": "src/component/restful-input-fill-style.ts",
2546
+ "declarations": [
2547
+ {
2548
+ "kind": "class",
2549
+ "description": "",
2550
+ "name": "RestfulInputColorStyle",
2551
+ "members": [
2552
+ {
2553
+ "kind": "field",
2554
+ "name": "value",
2555
+ "type": {
2556
+ "text": "FillStyle | undefined"
2557
+ },
2558
+ "attribute": "value"
2559
+ },
2560
+ {
2561
+ "kind": "field",
2562
+ "name": "fillType",
2563
+ "type": {
2564
+ "text": "string | undefined"
2565
+ },
2566
+ "attribute": "fillType"
2567
+ },
2568
+ {
2569
+ "kind": "field",
2570
+ "name": "solid",
2571
+ "type": {
2572
+ "text": "string | undefined"
2573
+ },
2574
+ "attribute": "solid"
2575
+ },
2576
+ {
2577
+ "kind": "field",
2578
+ "name": "gradient",
2579
+ "type": {
2580
+ "text": "GradientOption | undefined"
2581
+ },
2582
+ "attribute": "gradient"
2583
+ },
2584
+ {
2585
+ "kind": "field",
2586
+ "name": "pattern",
2587
+ "type": {
2588
+ "text": "BackgroundPatternOption | undefined"
2589
+ },
2590
+ "attribute": "pattern"
2591
+ },
2592
+ {
2593
+ "kind": "field",
2594
+ "name": "colorOnly",
2595
+ "type": {
2596
+ "text": "boolean"
2597
+ },
2598
+ "default": "false",
2599
+ "attribute": "color-only"
2600
+ },
2601
+ {
2602
+ "kind": "field",
2603
+ "name": "_block_reset",
2604
+ "type": {
2605
+ "text": "boolean"
2606
+ },
2607
+ "privacy": "private",
2608
+ "default": "false"
2609
+ },
2610
+ {
2611
+ "kind": "method",
2612
+ "name": "_onChangedValue",
2613
+ "parameters": [
2614
+ {
2615
+ "name": "value",
2616
+ "type": {
2617
+ "text": "FillStyle"
2618
+ }
2619
+ }
2620
+ ]
2621
+ },
2622
+ {
2623
+ "kind": "method",
2624
+ "name": "_onChangedFillType",
2625
+ "parameters": [
2626
+ {
2627
+ "name": "e",
2628
+ "type": {
2629
+ "text": "Event"
2630
+ }
2631
+ }
2632
+ ]
2633
+ },
2634
+ {
2635
+ "kind": "method",
2636
+ "name": "_onChangedSolid",
2637
+ "parameters": [
2638
+ {
2639
+ "name": "e",
2640
+ "type": {
2641
+ "text": "Event"
2642
+ }
2643
+ }
2644
+ ]
2645
+ },
2646
+ {
2647
+ "kind": "method",
2648
+ "name": "_onChandedGradient",
2649
+ "parameters": [
2650
+ {
2651
+ "name": "e",
2652
+ "type": {
2653
+ "text": "Event"
2654
+ }
2655
+ }
2656
+ ]
2657
+ },
2658
+ {
2659
+ "kind": "method",
2660
+ "name": "_onChangedPattern",
2661
+ "parameters": [
2662
+ {
2663
+ "name": "e",
2664
+ "type": {
2665
+ "text": "Event"
2666
+ }
2667
+ }
2668
+ ]
2669
+ }
2670
+ ],
2671
+ "events": [
2672
+ {
2673
+ "name": "change",
2674
+ "type": {
2675
+ "text": "CustomEvent"
2676
+ }
2677
+ }
2678
+ ],
2679
+ "attributes": [
2680
+ {
2681
+ "name": "value",
2682
+ "type": {
2683
+ "text": "FillStyle | undefined"
2684
+ },
2685
+ "fieldName": "value"
2686
+ },
2687
+ {
2688
+ "name": "fillType",
2689
+ "type": {
2690
+ "text": "string | undefined"
2691
+ },
2692
+ "fieldName": "fillType"
2693
+ },
2694
+ {
2695
+ "name": "solid",
2696
+ "type": {
2697
+ "text": "string | undefined"
2698
+ },
2699
+ "fieldName": "solid"
2700
+ },
2701
+ {
2702
+ "name": "gradient",
2703
+ "type": {
2704
+ "text": "GradientOption | undefined"
2705
+ },
2706
+ "fieldName": "gradient"
2707
+ },
2708
+ {
2709
+ "name": "pattern",
2710
+ "type": {
2711
+ "text": "BackgroundPatternOption | undefined"
2712
+ },
2713
+ "fieldName": "pattern"
2714
+ },
2715
+ {
2716
+ "name": "color-only",
2717
+ "type": {
2718
+ "text": "boolean"
2719
+ },
2720
+ "default": "false",
2721
+ "fieldName": "colorOnly"
2722
+ }
2723
+ ],
2724
+ "superclass": {
2725
+ "name": "OxFormField",
2726
+ "package": "@operato/input"
2727
+ },
2728
+ "tagName": "restful-input-fill-style",
2729
+ "customElement": true
2730
+ }
2731
+ ],
2732
+ "exports": [
2733
+ {
2734
+ "kind": "js",
2735
+ "name": "RestfulInputColorStyle",
2736
+ "declaration": {
2737
+ "name": "RestfulInputColorStyle",
2738
+ "module": "src/component/restful-input-fill-style.ts"
2739
+ }
2740
+ },
2741
+ {
2742
+ "kind": "custom-element-definition",
2743
+ "name": "restful-input-fill-style",
2744
+ "declaration": {
2745
+ "name": "RestfulInputColorStyle",
2746
+ "module": "src/component/restful-input-fill-style.ts"
2747
+ }
2748
+ }
2749
+ ]
2750
+ },
2751
+ {
2752
+ "kind": "javascript-module",
2753
+ "path": "src/component/restrul-input-background-pattern.ts",
2754
+ "declarations": [
2755
+ {
2756
+ "kind": "class",
2757
+ "description": "컴포넌트의 fill pattern을 편집하는 element\n\nExample:\n <restful-input-background-pattern",
2758
+ "name": "RestfulInputBackgroundPattern",
2759
+ "members": [
2760
+ {
2761
+ "kind": "field",
2762
+ "name": "value",
2763
+ "type": {
2764
+ "text": "BackgroundPatternOption | undefined"
2765
+ },
2766
+ "attribute": "value"
2767
+ },
2768
+ {
2769
+ "kind": "method",
2770
+ "name": "_onChange",
2771
+ "parameters": [
2772
+ {
2773
+ "name": "e",
2774
+ "type": {
2775
+ "text": "Event"
2776
+ }
2777
+ }
2778
+ ]
2779
+ }
2780
+ ],
2781
+ "events": [
2782
+ {
2783
+ "name": "change",
2784
+ "type": {
2785
+ "text": "CustomEvent"
2786
+ }
2787
+ }
2788
+ ],
2789
+ "attributes": [
2790
+ {
2791
+ "name": "value",
2792
+ "type": {
2793
+ "text": "BackgroundPatternOption | undefined"
2794
+ },
2795
+ "fieldName": "value"
2796
+ }
2797
+ ],
2798
+ "superclass": {
2799
+ "name": "OxFormField",
2800
+ "package": "@operato/input"
2801
+ },
2802
+ "tagName": "restful-input-background-pattern",
2803
+ "customElement": true
2804
+ }
2805
+ ],
2806
+ "exports": [
2807
+ {
2808
+ "kind": "js",
2809
+ "name": "RestfulInputBackgroundPattern",
2810
+ "declaration": {
2811
+ "name": "RestfulInputBackgroundPattern",
2812
+ "module": "src/component/restrul-input-background-pattern.ts"
2813
+ }
2814
+ },
2815
+ {
2816
+ "kind": "custom-element-definition",
2817
+ "name": "restful-input-background-pattern",
2818
+ "declaration": {
2819
+ "name": "RestfulInputBackgroundPattern",
2820
+ "module": "src/component/restrul-input-background-pattern.ts"
1740
2821
  }
1741
2822
  }
1742
2823
  ]