@cashub/ui-elv 1.0.0

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 (304) hide show
  1. package/Tab/Tab.js +28 -0
  2. package/Tab/TabList.js +167 -0
  3. package/Tab/TabPanel.js +49 -0
  4. package/Tab/TabTab.js +105 -0
  5. package/Tab/index.js +30 -0
  6. package/Tab/subComponent/TabContext.js +9 -0
  7. package/Tab/subComponent/TabListV2.js +25 -0
  8. package/Tab/subComponent/TabPanelV2.js +52 -0
  9. package/Tab/subComponent/TabTabV2.js +63 -0
  10. package/VerticalTab/TabList.js +27 -0
  11. package/VerticalTab/TabPanel.js +52 -0
  12. package/VerticalTab/TabTab.js +70 -0
  13. package/VerticalTab/VerticalTab.js +41 -0
  14. package/VerticalTab/index.js +16 -0
  15. package/VerticalTab/subComponent/TabContext.js +9 -0
  16. package/alert/Alert.js +29 -0
  17. package/alert/index.js +13 -0
  18. package/animate/Collapse.js +71 -0
  19. package/animate/Loader.js +58 -0
  20. package/animate/NumberCounter.js +51 -0
  21. package/animate/PulseRing.js +35 -0
  22. package/animate/Spinner.js +18 -0
  23. package/animate/index.js +41 -0
  24. package/assets/css/autocomplete.css +16 -0
  25. package/assets/css/font.css +4 -0
  26. package/assets/css/global.css +2 -0
  27. package/assets/font/helvetica/Helvetica.ttf +0 -0
  28. package/assets/font/nanumGothic/NanumGothic-Bold.ttf +0 -0
  29. package/assets/font/nanumGothic/NanumGothic-ExtraBold.ttf +0 -0
  30. package/assets/font/nanumGothic/NanumGothic-Regular.ttf +0 -0
  31. package/assets/icons/app-management.png +0 -0
  32. package/assets/icons/burger-black.png +0 -0
  33. package/assets/icons/burger-white.png +0 -0
  34. package/assets/icons/burger.png +0 -0
  35. package/assets/icons/file.svg +1 -0
  36. package/assets/icons/map_icon1.png +0 -0
  37. package/assets/icons/map_icon4.png +0 -0
  38. package/assets/images/bg-aside.png +0 -0
  39. package/assets/images/bg-chart-circle.png +0 -0
  40. package/assets/images/bg-chart-triangle.png +0 -0
  41. package/assets/images/cashub-logo-only.png +0 -0
  42. package/assets/images/default-user.jpg +0 -0
  43. package/assets/images/logo-cashub.png +0 -0
  44. package/assets/images/map.png +0 -0
  45. package/assets/images/qrcode.png +0 -0
  46. package/backdrop/BaseBackdrop.js +18 -0
  47. package/backdrop/LoadingBackdrop.js +17 -0
  48. package/backdrop/ModalBackdrop.js +15 -0
  49. package/backdrop/index.js +27 -0
  50. package/badge/Badge.js +26 -0
  51. package/badge/BadgeDot.js +18 -0
  52. package/badge/BadgeFill.js +49 -0
  53. package/badge/BadgeFillTriangle.js +147 -0
  54. package/badge/BadgeWithText.js +31 -0
  55. package/badge/index.js +41 -0
  56. package/billing/BarChart.js +51 -0
  57. package/billing/Grid.js +45 -0
  58. package/billing/Header2.js +25 -0
  59. package/billing/Header3.js +37 -0
  60. package/billing/Paragraph.js +33 -0
  61. package/billing/ParagraphGroup.js +22 -0
  62. package/billing/ParagraphText.js +26 -0
  63. package/billing/Section.js +50 -0
  64. package/billing/SectionBody.js +17 -0
  65. package/billing/SectionHeader.js +26 -0
  66. package/billing/__stories__/BarChart.stories.js_bak +46 -0
  67. package/billing/__stories__/Grid.stories.js_bak +57 -0
  68. package/billing/__stories__/Header2.stories.js_bak +62 -0
  69. package/billing/__stories__/Header3.stories.js_bak +69 -0
  70. package/billing/__stories__/Paragraph.stories.js_bak +84 -0
  71. package/billing/__stories__/ParagraphGroup.stories.js_bak +68 -0
  72. package/billing/__stories__/ParagraphText.stories.js_bak +64 -0
  73. package/billing/__stories__/Section.stories.js_bak +115 -0
  74. package/billing/__stories__/SectionBody.stories.js_bak +62 -0
  75. package/billing/__stories__/SectionHeader.stories.js-bak +68 -0
  76. package/breadcrumb/Breadcrumb.js +78 -0
  77. package/breadcrumb/index.js +13 -0
  78. package/button/Button.js +154 -0
  79. package/button/ButtonGroup.js +61 -0
  80. package/button/IconButton.js +72 -0
  81. package/button/ScrollToTopButton.js +54 -0
  82. package/button/index.js +34 -0
  83. package/callout/Callout.js +52 -0
  84. package/callout/index.js +13 -0
  85. package/chart/BarChart.js +148 -0
  86. package/chart/DoughnutChart.js +118 -0
  87. package/chart/LineChart.js +146 -0
  88. package/chart/SingleBarChart.js +42 -0
  89. package/chart/index.js +52 -0
  90. package/chart/utils/centerTextPlugin.js +62 -0
  91. package/chart/utils/customTooltip.js +94 -0
  92. package/chart/utils/htmlLegendPlugin.js +89 -0
  93. package/chart/utils/index.js +27 -0
  94. package/chart/utils/padEmptyChartBar.js +53 -0
  95. package/chart/utils/yAxisTopTitlePlugin.js +49 -0
  96. package/container/FlexContainer.js +40 -0
  97. package/container/index.js +13 -0
  98. package/cropper/Cropper.js +54 -0
  99. package/cropper/CropperModalHandler.js +41 -0
  100. package/cropper/index.js +20 -0
  101. package/cropper/subComponent/CropImageModal.js +79 -0
  102. package/datetimePicker/DatePicker.js +363 -0
  103. package/datetimePicker/DatePickerV2.js +407 -0
  104. package/datetimePicker/DatetimePicker.js +240 -0
  105. package/datetimePicker/DatetimePickerV2.js +395 -0
  106. package/datetimePicker/DatetimePickerV3.js +279 -0
  107. package/datetimePicker/TimeInput.js +56 -0
  108. package/datetimePicker/TimePicker.js +317 -0
  109. package/datetimePicker/TimePickerStyle.js +64 -0
  110. package/datetimePicker/TimePickerV2.js +208 -0
  111. package/datetimePicker/accordion/Month.js +254 -0
  112. package/datetimePicker/accordion/Year.js +284 -0
  113. package/datetimePicker/hooks/index.js +27 -0
  114. package/datetimePicker/hooks/useChangeNumber.js +42 -0
  115. package/datetimePicker/hooks/useDecrease.js +38 -0
  116. package/datetimePicker/hooks/useIncrease.js +38 -0
  117. package/datetimePicker/index.js +69 -0
  118. package/datetimePicker/provider/constant.js +43 -0
  119. package/datetimePicker/subComponent/Accordion.js +373 -0
  120. package/datetimePicker/subComponent/CustomTimeInput.js +47 -0
  121. package/datetimePicker/subComponent/DateTimePickerContext.js +9 -0
  122. package/datetimePicker/utils/GMTDate.js +15 -0
  123. package/datetimePicker/utils/pad.js +13 -0
  124. package/datetimePicker/utils/toUTC0.js +13 -0
  125. package/descriptionList/DescriptionDetail.js +28 -0
  126. package/descriptionList/DescriptionList.js +25 -0
  127. package/descriptionList/DescriptionTerm.js +14 -0
  128. package/descriptionList/index.js +27 -0
  129. package/divider/Divider.js +31 -0
  130. package/divider/index.js +13 -0
  131. package/dropdown/Dropdown.js +55 -0
  132. package/dropdown/DropdownButtonOption.js +43 -0
  133. package/dropdown/DropdownContent.js +90 -0
  134. package/dropdown/DropdownDivOption.js +26 -0
  135. package/dropdown/DropdownItem.js +26 -0
  136. package/dropdown/DropdownLinkOption.js +24 -0
  137. package/dropdown/DropdownToggle.js +38 -0
  138. package/dropdown/index.js +42 -0
  139. package/dropdown/subComponent/DropdownContext.js +9 -0
  140. package/dropzone/FileDropzone.js +479 -0
  141. package/dropzone/ImageDropzone.js +334 -0
  142. package/dropzone/index.js +20 -0
  143. package/dropzone/subComponent/Message.js +26 -0
  144. package/figure/IconFigure.js +42 -0
  145. package/figure/ImageFigure.js +38 -0
  146. package/figure/index.js +20 -0
  147. package/file/HiddenFileInput.js +15 -0
  148. package/file/index.js +13 -0
  149. package/form/Checkbox.js +166 -0
  150. package/form/Fieldset.js +18 -0
  151. package/form/FormItem.js +22 -0
  152. package/form/Input.js +66 -0
  153. package/form/Label.js +61 -0
  154. package/form/MutedText.js +21 -0
  155. package/form/PasswordInput.js +47 -0
  156. package/form/RadioButton.js +103 -0
  157. package/form/SearchSelect.js +181 -0
  158. package/form/Searchbox.js +98 -0
  159. package/form/Slider.js +46 -0
  160. package/form/SwitchButton.js +105 -0
  161. package/form/Textarea.js +41 -0
  162. package/form/TreeView.js +73 -0
  163. package/form/index.js +104 -0
  164. package/grid/Column.js +46 -0
  165. package/grid/Grid.js +35 -0
  166. package/grid/index.js +20 -0
  167. package/heading/Heading1.js +21 -0
  168. package/heading/Heading2.js +28 -0
  169. package/heading/Heading3.js +49 -0
  170. package/heading/index.js +27 -0
  171. package/helmet/Helmet.js +23 -0
  172. package/helmet/index.js +20 -0
  173. package/iconbox/ApplicationIconBox.js +81 -0
  174. package/iconbox/IconBox.js +67 -0
  175. package/iconbox/IconBoxV2.js +72 -0
  176. package/iconbox/index.js +27 -0
  177. package/iconbox/subComponent/IconBoxFigure.js +50 -0
  178. package/iconbox/subComponent/IconBoxImage.js +42 -0
  179. package/image/ImageFluid.js +17 -0
  180. package/image/UploadImage.js +250 -0
  181. package/image/index.js +20 -0
  182. package/index.js +568 -0
  183. package/jsoneditor/JsonEditor.js +142 -0
  184. package/jsoneditor/index.js +13 -0
  185. package/keyframe/Pulse.js +21 -0
  186. package/keyframe/Spin.js +13 -0
  187. package/layout/Aside.js +48 -0
  188. package/layout/AsideHeader.jsx +27 -0
  189. package/layout/Backdrop.js +23 -0
  190. package/layout/Container.js +39 -0
  191. package/layout/Footer.js +45 -0
  192. package/layout/Header.jsx +55 -0
  193. package/layout/Layout.jsx +84 -0
  194. package/layout/Logo.jsx +17 -0
  195. package/layout/MenuIcon.jsx +27 -0
  196. package/layout/Sidebar.jsx +271 -0
  197. package/layout/index.js +13 -0
  198. package/link/LinkSpan.js +69 -0
  199. package/link/index.js +13 -0
  200. package/map/GoogleMap.js +448 -0
  201. package/map/GoogleReverseGeolocation.js +200 -0
  202. package/map/LeafletMap.js +231 -0
  203. package/map/LeafletReverseGeolocation.js +101 -0
  204. package/map/index.js +34 -0
  205. package/map/subComponent/BasicLeafletMap.js +34 -0
  206. package/map/subComponent/GoogleMapContainer.js +29 -0
  207. package/map/subComponent/GoogleMapPopup.js +109 -0
  208. package/map/subComponent/GoogleMapWrapper.js +40 -0
  209. package/map/subComponent/LeafletDrawControl.js +127 -0
  210. package/map/subComponent/LeafletMapContainer.js +173 -0
  211. package/map/subComponent/MapSearchBoxControl.js +54 -0
  212. package/modal/StateModal.js +178 -0
  213. package/modal/TitleModal.js +250 -0
  214. package/modal/index.js +20 -0
  215. package/package.json +54 -0
  216. package/page/Disclaimer.js +128 -0
  217. package/page/index.js +13 -0
  218. package/paginate/Paginate.js +137 -0
  219. package/paginate/index.js +13 -0
  220. package/popover/Popover.js +91 -0
  221. package/popover/index.js +13 -0
  222. package/qrcode/QRCode.js +58 -0
  223. package/qrcode/QRCodeContainter.js +34 -0
  224. package/qrcode/index.js +20 -0
  225. package/ribbon/Ribbon.js +42 -0
  226. package/ribbon/index.js +13 -0
  227. package/section/Section.js +133 -0
  228. package/section/SectionBody.js +52 -0
  229. package/section/SectionHeader.js +70 -0
  230. package/section/SectionToolbar.js +18 -0
  231. package/section/SectionToolbarItem.js +17 -0
  232. package/section/index.js +41 -0
  233. package/select/InputSelect.js +270 -0
  234. package/select/Select.js +818 -0
  235. package/select/index.js +20 -0
  236. package/select/subComponent/Checkbox.js +48 -0
  237. package/select/subComponent/Footer.js +13 -0
  238. package/select/subComponent/ListBox.js +30 -0
  239. package/select/subComponent/Option.js +45 -0
  240. package/select/subComponent/OptionGroup.js +23 -0
  241. package/select/subComponent/Options.js +32 -0
  242. package/select/subComponent/SearchBox.js +58 -0
  243. package/select/subComponent/SelectedMultipleCount.js +39 -0
  244. package/select/subComponent/SelectedMultipleTags.js +54 -0
  245. package/select/subComponent/SelectedMultipleText.js +70 -0
  246. package/select/subComponent/SelectedSingle.js +17 -0
  247. package/styles/GlobalStyle.js +334 -0
  248. package/styles/config/breakpoint.style.js +13 -0
  249. package/styles/config/header.style.js +10 -0
  250. package/styles/config/sidebar.style.js +17 -0
  251. package/styles/index.js +20 -0
  252. package/styles/mixin/backgroundColor.js +44 -0
  253. package/styles/mixin/borderColor.js +37 -0
  254. package/styles/mixin/color.js +37 -0
  255. package/styles/mixin/colorOnBackground.js +37 -0
  256. package/styles/mixin/inputPlaceholder.js +30 -0
  257. package/styles/mixin/media.js +21 -0
  258. package/styles/mixin/rounded.js +30 -0
  259. package/styles/mixin/scrollbar.js +32 -0
  260. package/styles/theme/dark.theme.js +97 -0
  261. package/styles/theme/light.theme.js +97 -0
  262. package/styles/theme/white.theme.js +97 -0
  263. package/styles/themes.js +16 -0
  264. package/table/GridTable.js +336 -0
  265. package/table/ImageBox.js +45 -0
  266. package/table/InfiniteGridTable.js +403 -0
  267. package/table/PermissionTable.js +64 -0
  268. package/table/SimpleGridTable.js +143 -0
  269. package/table/Table.js +568 -0
  270. package/table/__mock__/columns.js +70 -0
  271. package/table/__mock__/data.js +536 -0
  272. package/table/hooks/index.js +20 -0
  273. package/table/hooks/useCalculateDataRange.js +28 -0
  274. package/table/hooks/useGenerateSort.js +39 -0
  275. package/table/index.js +48 -0
  276. package/table/subComponent/BaseTableHeadCell.js +62 -0
  277. package/table/subComponent/GridTableFooter.js +24 -0
  278. package/table/subComponent/GridTableHeadCell.js +20 -0
  279. package/table/subComponent/Resizer.js +77 -0
  280. package/table/subComponent/TableFooter.js +31 -0
  281. package/table/subComponent/TableFooterInfo.js +13 -0
  282. package/table/subComponent/TableFooterPager.js +33 -0
  283. package/table/subComponent/TableHeadCell.js +19 -0
  284. package/table/subComponent/TableSort.js +38 -0
  285. package/tagify/TagifyStyle.js +60 -0
  286. package/tagify/Tags.js +56 -0
  287. package/tagify/index.js +27 -0
  288. package/tagify/templates/getCreateButtonTemplate.js +18 -0
  289. package/text/Paragraph.js +86 -0
  290. package/text/index.js +13 -0
  291. package/timeline/Timeline.js +139 -0
  292. package/timeline/index.js +13 -0
  293. package/toast/CustomToastContainer.js +45 -0
  294. package/toast/MessageContainer.js +51 -0
  295. package/toast/index.js +36 -0
  296. package/toast/show.js +39 -0
  297. package/toast/style.css +1 -0
  298. package/tooltip/Tooltip.js +140 -0
  299. package/tooltip/index.js +13 -0
  300. package/treeView/TreeViewV2.js +38 -0
  301. package/treeView/TreeflexStyle.js +49 -0
  302. package/treeView/index.js +20 -0
  303. package/wizard/Wizard.js +251 -0
  304. package/wizard/index.js +13 -0
package/index.js ADDED
@@ -0,0 +1,568 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {
7
+ Dropdown: true,
8
+ Tab: true,
9
+ TabV2: true,
10
+ VerticalTab: true
11
+ };
12
+ Object.defineProperty(exports, "Dropdown", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _dropdown.default;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "Tab", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _Tab.default;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "TabV2", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _Tab.TabV2;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "VerticalTab", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _VerticalTab.default;
34
+ }
35
+ });
36
+ var _alert = require("./alert");
37
+ Object.keys(_alert).forEach(function (key) {
38
+ if (key === "default" || key === "__esModule") return;
39
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
40
+ if (key in exports && exports[key] === _alert[key]) return;
41
+ Object.defineProperty(exports, key, {
42
+ enumerable: true,
43
+ get: function () {
44
+ return _alert[key];
45
+ }
46
+ });
47
+ });
48
+ var _animate = require("./animate");
49
+ Object.keys(_animate).forEach(function (key) {
50
+ if (key === "default" || key === "__esModule") return;
51
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
52
+ if (key in exports && exports[key] === _animate[key]) return;
53
+ Object.defineProperty(exports, key, {
54
+ enumerable: true,
55
+ get: function () {
56
+ return _animate[key];
57
+ }
58
+ });
59
+ });
60
+ var _backdrop = require("./backdrop");
61
+ Object.keys(_backdrop).forEach(function (key) {
62
+ if (key === "default" || key === "__esModule") return;
63
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
64
+ if (key in exports && exports[key] === _backdrop[key]) return;
65
+ Object.defineProperty(exports, key, {
66
+ enumerable: true,
67
+ get: function () {
68
+ return _backdrop[key];
69
+ }
70
+ });
71
+ });
72
+ var _badge = require("./badge");
73
+ Object.keys(_badge).forEach(function (key) {
74
+ if (key === "default" || key === "__esModule") return;
75
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
76
+ if (key in exports && exports[key] === _badge[key]) return;
77
+ Object.defineProperty(exports, key, {
78
+ enumerable: true,
79
+ get: function () {
80
+ return _badge[key];
81
+ }
82
+ });
83
+ });
84
+ var _breadcrumb = require("./breadcrumb");
85
+ Object.keys(_breadcrumb).forEach(function (key) {
86
+ if (key === "default" || key === "__esModule") return;
87
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
88
+ if (key in exports && exports[key] === _breadcrumb[key]) return;
89
+ Object.defineProperty(exports, key, {
90
+ enumerable: true,
91
+ get: function () {
92
+ return _breadcrumb[key];
93
+ }
94
+ });
95
+ });
96
+ var _button = require("./button");
97
+ Object.keys(_button).forEach(function (key) {
98
+ if (key === "default" || key === "__esModule") return;
99
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
100
+ if (key in exports && exports[key] === _button[key]) return;
101
+ Object.defineProperty(exports, key, {
102
+ enumerable: true,
103
+ get: function () {
104
+ return _button[key];
105
+ }
106
+ });
107
+ });
108
+ var _callout = require("./callout");
109
+ Object.keys(_callout).forEach(function (key) {
110
+ if (key === "default" || key === "__esModule") return;
111
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
112
+ if (key in exports && exports[key] === _callout[key]) return;
113
+ Object.defineProperty(exports, key, {
114
+ enumerable: true,
115
+ get: function () {
116
+ return _callout[key];
117
+ }
118
+ });
119
+ });
120
+ var _chart = require("./chart");
121
+ Object.keys(_chart).forEach(function (key) {
122
+ if (key === "default" || key === "__esModule") return;
123
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
124
+ if (key in exports && exports[key] === _chart[key]) return;
125
+ Object.defineProperty(exports, key, {
126
+ enumerable: true,
127
+ get: function () {
128
+ return _chart[key];
129
+ }
130
+ });
131
+ });
132
+ var _container = require("./container");
133
+ Object.keys(_container).forEach(function (key) {
134
+ if (key === "default" || key === "__esModule") return;
135
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
136
+ if (key in exports && exports[key] === _container[key]) return;
137
+ Object.defineProperty(exports, key, {
138
+ enumerable: true,
139
+ get: function () {
140
+ return _container[key];
141
+ }
142
+ });
143
+ });
144
+ var _cropper = require("./cropper");
145
+ Object.keys(_cropper).forEach(function (key) {
146
+ if (key === "default" || key === "__esModule") return;
147
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
148
+ if (key in exports && exports[key] === _cropper[key]) return;
149
+ Object.defineProperty(exports, key, {
150
+ enumerable: true,
151
+ get: function () {
152
+ return _cropper[key];
153
+ }
154
+ });
155
+ });
156
+ var _datetimePicker = require("./datetimePicker");
157
+ Object.keys(_datetimePicker).forEach(function (key) {
158
+ if (key === "default" || key === "__esModule") return;
159
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
160
+ if (key in exports && exports[key] === _datetimePicker[key]) return;
161
+ Object.defineProperty(exports, key, {
162
+ enumerable: true,
163
+ get: function () {
164
+ return _datetimePicker[key];
165
+ }
166
+ });
167
+ });
168
+ var _descriptionList = require("./descriptionList");
169
+ Object.keys(_descriptionList).forEach(function (key) {
170
+ if (key === "default" || key === "__esModule") return;
171
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
172
+ if (key in exports && exports[key] === _descriptionList[key]) return;
173
+ Object.defineProperty(exports, key, {
174
+ enumerable: true,
175
+ get: function () {
176
+ return _descriptionList[key];
177
+ }
178
+ });
179
+ });
180
+ var _divider = require("./divider");
181
+ Object.keys(_divider).forEach(function (key) {
182
+ if (key === "default" || key === "__esModule") return;
183
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
184
+ if (key in exports && exports[key] === _divider[key]) return;
185
+ Object.defineProperty(exports, key, {
186
+ enumerable: true,
187
+ get: function () {
188
+ return _divider[key];
189
+ }
190
+ });
191
+ });
192
+ var _dropdown = _interopRequireWildcard(require("./dropdown"));
193
+ Object.keys(_dropdown).forEach(function (key) {
194
+ if (key === "default" || key === "__esModule") return;
195
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
196
+ if (key in exports && exports[key] === _dropdown[key]) return;
197
+ Object.defineProperty(exports, key, {
198
+ enumerable: true,
199
+ get: function () {
200
+ return _dropdown[key];
201
+ }
202
+ });
203
+ });
204
+ var _dropzone = require("./dropzone");
205
+ Object.keys(_dropzone).forEach(function (key) {
206
+ if (key === "default" || key === "__esModule") return;
207
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
208
+ if (key in exports && exports[key] === _dropzone[key]) return;
209
+ Object.defineProperty(exports, key, {
210
+ enumerable: true,
211
+ get: function () {
212
+ return _dropzone[key];
213
+ }
214
+ });
215
+ });
216
+ var _figure = require("./figure");
217
+ Object.keys(_figure).forEach(function (key) {
218
+ if (key === "default" || key === "__esModule") return;
219
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
220
+ if (key in exports && exports[key] === _figure[key]) return;
221
+ Object.defineProperty(exports, key, {
222
+ enumerable: true,
223
+ get: function () {
224
+ return _figure[key];
225
+ }
226
+ });
227
+ });
228
+ var _file = require("./file");
229
+ Object.keys(_file).forEach(function (key) {
230
+ if (key === "default" || key === "__esModule") return;
231
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
232
+ if (key in exports && exports[key] === _file[key]) return;
233
+ Object.defineProperty(exports, key, {
234
+ enumerable: true,
235
+ get: function () {
236
+ return _file[key];
237
+ }
238
+ });
239
+ });
240
+ var _form = require("./form");
241
+ Object.keys(_form).forEach(function (key) {
242
+ if (key === "default" || key === "__esModule") return;
243
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
244
+ if (key in exports && exports[key] === _form[key]) return;
245
+ Object.defineProperty(exports, key, {
246
+ enumerable: true,
247
+ get: function () {
248
+ return _form[key];
249
+ }
250
+ });
251
+ });
252
+ var _grid = require("./grid");
253
+ Object.keys(_grid).forEach(function (key) {
254
+ if (key === "default" || key === "__esModule") return;
255
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
256
+ if (key in exports && exports[key] === _grid[key]) return;
257
+ Object.defineProperty(exports, key, {
258
+ enumerable: true,
259
+ get: function () {
260
+ return _grid[key];
261
+ }
262
+ });
263
+ });
264
+ var _helmet = require("./helmet");
265
+ Object.keys(_helmet).forEach(function (key) {
266
+ if (key === "default" || key === "__esModule") return;
267
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
268
+ if (key in exports && exports[key] === _helmet[key]) return;
269
+ Object.defineProperty(exports, key, {
270
+ enumerable: true,
271
+ get: function () {
272
+ return _helmet[key];
273
+ }
274
+ });
275
+ });
276
+ var _heading = require("./heading");
277
+ Object.keys(_heading).forEach(function (key) {
278
+ if (key === "default" || key === "__esModule") return;
279
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
280
+ if (key in exports && exports[key] === _heading[key]) return;
281
+ Object.defineProperty(exports, key, {
282
+ enumerable: true,
283
+ get: function () {
284
+ return _heading[key];
285
+ }
286
+ });
287
+ });
288
+ var _iconbox = require("./iconbox");
289
+ Object.keys(_iconbox).forEach(function (key) {
290
+ if (key === "default" || key === "__esModule") return;
291
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
292
+ if (key in exports && exports[key] === _iconbox[key]) return;
293
+ Object.defineProperty(exports, key, {
294
+ enumerable: true,
295
+ get: function () {
296
+ return _iconbox[key];
297
+ }
298
+ });
299
+ });
300
+ var _image = require("./image");
301
+ Object.keys(_image).forEach(function (key) {
302
+ if (key === "default" || key === "__esModule") return;
303
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
304
+ if (key in exports && exports[key] === _image[key]) return;
305
+ Object.defineProperty(exports, key, {
306
+ enumerable: true,
307
+ get: function () {
308
+ return _image[key];
309
+ }
310
+ });
311
+ });
312
+ var _jsoneditor = require("./jsoneditor");
313
+ Object.keys(_jsoneditor).forEach(function (key) {
314
+ if (key === "default" || key === "__esModule") return;
315
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
316
+ if (key in exports && exports[key] === _jsoneditor[key]) return;
317
+ Object.defineProperty(exports, key, {
318
+ enumerable: true,
319
+ get: function () {
320
+ return _jsoneditor[key];
321
+ }
322
+ });
323
+ });
324
+ var _layout = require("./layout");
325
+ Object.keys(_layout).forEach(function (key) {
326
+ if (key === "default" || key === "__esModule") return;
327
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
328
+ if (key in exports && exports[key] === _layout[key]) return;
329
+ Object.defineProperty(exports, key, {
330
+ enumerable: true,
331
+ get: function () {
332
+ return _layout[key];
333
+ }
334
+ });
335
+ });
336
+ var _link = require("./link");
337
+ Object.keys(_link).forEach(function (key) {
338
+ if (key === "default" || key === "__esModule") return;
339
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
340
+ if (key in exports && exports[key] === _link[key]) return;
341
+ Object.defineProperty(exports, key, {
342
+ enumerable: true,
343
+ get: function () {
344
+ return _link[key];
345
+ }
346
+ });
347
+ });
348
+ var _map = require("./map");
349
+ Object.keys(_map).forEach(function (key) {
350
+ if (key === "default" || key === "__esModule") return;
351
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
352
+ if (key in exports && exports[key] === _map[key]) return;
353
+ Object.defineProperty(exports, key, {
354
+ enumerable: true,
355
+ get: function () {
356
+ return _map[key];
357
+ }
358
+ });
359
+ });
360
+ var _modal = require("./modal");
361
+ Object.keys(_modal).forEach(function (key) {
362
+ if (key === "default" || key === "__esModule") return;
363
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
364
+ if (key in exports && exports[key] === _modal[key]) return;
365
+ Object.defineProperty(exports, key, {
366
+ enumerable: true,
367
+ get: function () {
368
+ return _modal[key];
369
+ }
370
+ });
371
+ });
372
+ var _page = require("./page");
373
+ Object.keys(_page).forEach(function (key) {
374
+ if (key === "default" || key === "__esModule") return;
375
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
376
+ if (key in exports && exports[key] === _page[key]) return;
377
+ Object.defineProperty(exports, key, {
378
+ enumerable: true,
379
+ get: function () {
380
+ return _page[key];
381
+ }
382
+ });
383
+ });
384
+ var _paginate = require("./paginate");
385
+ Object.keys(_paginate).forEach(function (key) {
386
+ if (key === "default" || key === "__esModule") return;
387
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
388
+ if (key in exports && exports[key] === _paginate[key]) return;
389
+ Object.defineProperty(exports, key, {
390
+ enumerable: true,
391
+ get: function () {
392
+ return _paginate[key];
393
+ }
394
+ });
395
+ });
396
+ var _popover = require("./popover");
397
+ Object.keys(_popover).forEach(function (key) {
398
+ if (key === "default" || key === "__esModule") return;
399
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
400
+ if (key in exports && exports[key] === _popover[key]) return;
401
+ Object.defineProperty(exports, key, {
402
+ enumerable: true,
403
+ get: function () {
404
+ return _popover[key];
405
+ }
406
+ });
407
+ });
408
+ var _qrcode = require("./qrcode");
409
+ Object.keys(_qrcode).forEach(function (key) {
410
+ if (key === "default" || key === "__esModule") return;
411
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
412
+ if (key in exports && exports[key] === _qrcode[key]) return;
413
+ Object.defineProperty(exports, key, {
414
+ enumerable: true,
415
+ get: function () {
416
+ return _qrcode[key];
417
+ }
418
+ });
419
+ });
420
+ var _ribbon = require("./ribbon");
421
+ Object.keys(_ribbon).forEach(function (key) {
422
+ if (key === "default" || key === "__esModule") return;
423
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
424
+ if (key in exports && exports[key] === _ribbon[key]) return;
425
+ Object.defineProperty(exports, key, {
426
+ enumerable: true,
427
+ get: function () {
428
+ return _ribbon[key];
429
+ }
430
+ });
431
+ });
432
+ var _section = require("./section");
433
+ Object.keys(_section).forEach(function (key) {
434
+ if (key === "default" || key === "__esModule") return;
435
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
436
+ if (key in exports && exports[key] === _section[key]) return;
437
+ Object.defineProperty(exports, key, {
438
+ enumerable: true,
439
+ get: function () {
440
+ return _section[key];
441
+ }
442
+ });
443
+ });
444
+ var _select = require("./select");
445
+ Object.keys(_select).forEach(function (key) {
446
+ if (key === "default" || key === "__esModule") return;
447
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
448
+ if (key in exports && exports[key] === _select[key]) return;
449
+ Object.defineProperty(exports, key, {
450
+ enumerable: true,
451
+ get: function () {
452
+ return _select[key];
453
+ }
454
+ });
455
+ });
456
+ var _styles = require("./styles");
457
+ Object.keys(_styles).forEach(function (key) {
458
+ if (key === "default" || key === "__esModule") return;
459
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
460
+ if (key in exports && exports[key] === _styles[key]) return;
461
+ Object.defineProperty(exports, key, {
462
+ enumerable: true,
463
+ get: function () {
464
+ return _styles[key];
465
+ }
466
+ });
467
+ });
468
+ var _table = require("./table");
469
+ Object.keys(_table).forEach(function (key) {
470
+ if (key === "default" || key === "__esModule") return;
471
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
472
+ if (key in exports && exports[key] === _table[key]) return;
473
+ Object.defineProperty(exports, key, {
474
+ enumerable: true,
475
+ get: function () {
476
+ return _table[key];
477
+ }
478
+ });
479
+ });
480
+ var _Tab = _interopRequireWildcard(require("./Tab"));
481
+ var _tagify = require("./tagify");
482
+ Object.keys(_tagify).forEach(function (key) {
483
+ if (key === "default" || key === "__esModule") return;
484
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
485
+ if (key in exports && exports[key] === _tagify[key]) return;
486
+ Object.defineProperty(exports, key, {
487
+ enumerable: true,
488
+ get: function () {
489
+ return _tagify[key];
490
+ }
491
+ });
492
+ });
493
+ var _text = require("./text");
494
+ Object.keys(_text).forEach(function (key) {
495
+ if (key === "default" || key === "__esModule") return;
496
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
497
+ if (key in exports && exports[key] === _text[key]) return;
498
+ Object.defineProperty(exports, key, {
499
+ enumerable: true,
500
+ get: function () {
501
+ return _text[key];
502
+ }
503
+ });
504
+ });
505
+ var _timeline = require("./timeline");
506
+ Object.keys(_timeline).forEach(function (key) {
507
+ if (key === "default" || key === "__esModule") return;
508
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
509
+ if (key in exports && exports[key] === _timeline[key]) return;
510
+ Object.defineProperty(exports, key, {
511
+ enumerable: true,
512
+ get: function () {
513
+ return _timeline[key];
514
+ }
515
+ });
516
+ });
517
+ var _toast = require("./toast");
518
+ Object.keys(_toast).forEach(function (key) {
519
+ if (key === "default" || key === "__esModule") return;
520
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
521
+ if (key in exports && exports[key] === _toast[key]) return;
522
+ Object.defineProperty(exports, key, {
523
+ enumerable: true,
524
+ get: function () {
525
+ return _toast[key];
526
+ }
527
+ });
528
+ });
529
+ var _tooltip = require("./tooltip");
530
+ Object.keys(_tooltip).forEach(function (key) {
531
+ if (key === "default" || key === "__esModule") return;
532
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
533
+ if (key in exports && exports[key] === _tooltip[key]) return;
534
+ Object.defineProperty(exports, key, {
535
+ enumerable: true,
536
+ get: function () {
537
+ return _tooltip[key];
538
+ }
539
+ });
540
+ });
541
+ var _treeView = require("./treeView");
542
+ Object.keys(_treeView).forEach(function (key) {
543
+ if (key === "default" || key === "__esModule") return;
544
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
545
+ if (key in exports && exports[key] === _treeView[key]) return;
546
+ Object.defineProperty(exports, key, {
547
+ enumerable: true,
548
+ get: function () {
549
+ return _treeView[key];
550
+ }
551
+ });
552
+ });
553
+ var _VerticalTab = _interopRequireDefault(require("./VerticalTab"));
554
+ var _wizard = require("./wizard");
555
+ Object.keys(_wizard).forEach(function (key) {
556
+ if (key === "default" || key === "__esModule") return;
557
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
558
+ if (key in exports && exports[key] === _wizard[key]) return;
559
+ Object.defineProperty(exports, key, {
560
+ enumerable: true,
561
+ get: function () {
562
+ return _wizard[key];
563
+ }
564
+ });
565
+ });
566
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
567
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
568
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = require("react");
8
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
9
+ var _jsoneditorReact = require("jsoneditor-react");
10
+ var _brace = _interopRequireDefault(require("brace"));
11
+ require("jsoneditor-react/es/editor.min.css");
12
+ require("brace/mode/json");
13
+ require("brace/theme/github");
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
+ const JsonEditor = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
17
+ let {
18
+ ...props
19
+ } = _ref;
20
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Wrapper, {
21
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsoneditorReact.JsonEditor, {
22
+ ref: ref,
23
+ ...props,
24
+ ace: _brace.default
25
+ })
26
+ });
27
+ });
28
+ const Wrapper = _styledComponents.default.div`
29
+ .jsoneditor {
30
+ border: 0;
31
+
32
+ div.jsoneditor-tree {
33
+ background: transparent;
34
+ }
35
+ }
36
+
37
+ div.jsoneditor td.jsoneditor-tree {
38
+ vertical-align: middle;
39
+ }
40
+
41
+ .jsoneditor-popover,
42
+ .jsoneditor-schema-error,
43
+ div.jsoneditor th,
44
+ div.jsoneditor td,
45
+ div.jsoneditor textarea,
46
+ div.jsoneditor select,
47
+ div.jsoneditor-field,
48
+ div.jsoneditor-value,
49
+ pre.jsoneditor-preview {
50
+ font-size: var(--font-body1);
51
+ color: var(--font-on-background);
52
+ }
53
+
54
+ div.jsoneditor select {
55
+ background: var(--color-background1);
56
+ }
57
+
58
+ div {
59
+ &.jsoneditor-readonly {
60
+ color: var(--font-on-background);
61
+ }
62
+
63
+ &.jsoneditor-value.jsoneditor-number {
64
+ color: var(--color-danger);
65
+ }
66
+
67
+ &.jsoneditor-field.jsoneditor-empty::after,
68
+ &.jsoneditor-value.jsoneditor-empty::after {
69
+ font-size: var(--font-body1);
70
+ color: var(--font-on-background);
71
+ }
72
+
73
+ &.jsoneditor-field[contenteditable='true']:focus,
74
+ &.jsoneditor-field[contenteditable='true']:hover,
75
+ &.jsoneditor-value[contenteditable='true']:focus,
76
+ &.jsoneditor-value[contenteditable='true']:hover,
77
+ &.jsoneditor-field.jsoneditor-highlight,
78
+ &.jsoneditor-value.jsoneditor-highlight {
79
+ background-color: transparent;
80
+ border: var(--border-width) solid var(--border-color);
81
+ }
82
+
83
+ &.jsoneditor-empty {
84
+ border-color: transparent;
85
+ border-style: none;
86
+ }
87
+
88
+ &.jsoneditor-tree button.jsoneditor-button {
89
+ filter: invert(100%) sepia(0%) saturate(2%) hue-rotate(78deg)
90
+ brightness(104%) contrast(101%);
91
+ }
92
+
93
+ &.jsoneditor-tree button.jsoneditor-button:focus {
94
+ background-color: transparent;
95
+ }
96
+ }
97
+
98
+ // ace editor
99
+ .ace_editor.ace-jsoneditor {
100
+ border-radius: 8px;
101
+ }
102
+
103
+ .ace_gutter {
104
+ background: rgb(59, 57, 87) !important;
105
+ color: #ffffff !important;
106
+ z-index: 0;
107
+ }
108
+
109
+ .ace-jsoneditor .ace_gutter-active-line {
110
+ background: #00001d;
111
+ }
112
+
113
+ .ace_content {
114
+ background: rgb(76, 72, 110);
115
+ z-index: 0;
116
+ }
117
+
118
+ .ace-jsoneditor .ace_marker-layer .ace_active-line {
119
+ background: #00001d;
120
+ }
121
+
122
+ .ace-jsoneditor .ace_text-layer {
123
+ color: #fff;
124
+ }
125
+
126
+ .ace-jsoneditor .ace_variable {
127
+ color: #fff;
128
+ }
129
+
130
+ .ace-jsoneditor .ace_string {
131
+ color: #11d8cd;
132
+ }
133
+
134
+ .ace-jsoneditor .ace_cursor {
135
+ border-left: 2px solid #fff;
136
+ }
137
+
138
+ .ace_hidden-cursors .ace_cursor {
139
+ opacity: 0.5;
140
+ }
141
+ `;
142
+ var _default = exports.default = JsonEditor;