pds-dev-kit-web 0.4.2 → 0.5.3

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 (276) hide show
  1. package/.vscode/settings.json +49 -0
  2. package/README.md +1 -1
  3. package/dist/index.d.ts +9 -9
  4. package/dist/index.js +46 -3
  5. package/dist/src/common/assets/icons/line/PostWelcome.d.ts +4 -0
  6. package/dist/src/common/assets/icons/line/PostWelcome.js +37 -0
  7. package/dist/src/common/assets/icons/line/TenSecBack.d.ts +4 -0
  8. package/dist/src/common/assets/icons/line/TenSecBack.js +34 -0
  9. package/dist/src/common/assets/icons/line/TenSecBackArrow.d.ts +4 -0
  10. package/dist/src/common/assets/icons/line/TenSecBackArrow.js +34 -0
  11. package/dist/src/common/assets/icons/line/TenSecForward.d.ts +4 -0
  12. package/dist/src/common/assets/icons/line/TenSecForward.js +34 -0
  13. package/dist/src/common/assets/icons/line/TenSecForwardArrow.d.ts +4 -0
  14. package/dist/src/common/assets/icons/line/TenSecForwardArrow.js +34 -0
  15. package/dist/src/common/assets/icons/line/index.d.ts +5 -0
  16. package/dist/src/common/assets/icons/line/index.js +10 -0
  17. package/dist/src/common/components/Form/Form.d.ts +16 -0
  18. package/dist/src/common/components/Form/Form.js +40 -0
  19. package/dist/src/common/components/Form/index.d.ts +1 -0
  20. package/dist/src/common/components/Form/index.js +8 -0
  21. package/dist/src/common/components/index.d.ts +2 -0
  22. package/dist/src/common/components/index.js +5 -0
  23. package/dist/src/common/decorators/withFormProvider.d.ts +4 -0
  24. package/dist/src/common/decorators/withFormProvider.js +28 -0
  25. package/dist/src/common/index.d.ts +7 -3
  26. package/dist/src/common/index.js +4 -3
  27. package/dist/src/common/services/i18n/resources/en.json +2794 -2569
  28. package/dist/src/common/services/i18n/resources/es.json +280 -55
  29. package/dist/src/common/services/i18n/resources/index.d.ts +936 -36
  30. package/dist/src/common/services/i18n/resources/jp.json +280 -55
  31. package/dist/src/common/services/i18n/resources/ko.json +277 -52
  32. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +10 -7
  33. package/dist/src/common/styles/colorSet/PaletteColor_light.json +4 -1
  34. package/dist/src/common/styles/colorSet/UIColor.json +11 -3
  35. package/dist/src/common/styles/colorSet/index.d.ts +70 -56
  36. package/dist/src/common/styles/colorSet/index.js +2 -2
  37. package/dist/src/common/styles/colorSet/ui-type.d.ts +9 -1
  38. package/dist/src/common/styles/index.d.ts +2 -0
  39. package/dist/src/common/styles/theme.d.ts +2 -0
  40. package/dist/src/common/styles/theme.js +4 -2
  41. package/dist/src/common/styles/ui-colors.d.ts +0 -2
  42. package/dist/src/common/styles/ui-colors.js +3 -21
  43. package/dist/src/common/types/form.d.ts +3 -0
  44. package/dist/src/common/types/form.js +2 -0
  45. package/dist/src/common/types/icon.d.ts +4 -0
  46. package/dist/src/common/types/icon.js +2 -0
  47. package/dist/src/common/types/styled-components.d.ts +2 -0
  48. package/dist/src/common/types/uiColors.d.ts +2 -0
  49. package/dist/src/common/types/uiColors.js +2 -0
  50. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +45 -0
  51. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +265 -0
  52. package/dist/src/desktop/common/components/TextFieldBase/index.d.ts +1 -0
  53. package/dist/src/desktop/common/components/TextFieldBase/index.js +8 -0
  54. package/dist/src/desktop/common/components/index.d.ts +2 -0
  55. package/dist/src/desktop/common/components/index.js +5 -0
  56. package/dist/src/desktop/components/Card/Card.d.ts +11 -0
  57. package/dist/src/desktop/components/Card/Card.js +50 -0
  58. package/dist/src/desktop/components/Card/index.d.ts +1 -0
  59. package/dist/src/desktop/components/Card/index.js +8 -0
  60. package/dist/src/desktop/components/CardList/CardList.d.ts +10 -0
  61. package/dist/src/desktop/components/CardList/CardList.js +30 -0
  62. package/dist/src/desktop/components/CardList/index.d.ts +1 -0
  63. package/dist/src/desktop/components/CardList/index.js +8 -0
  64. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +11 -0
  65. package/dist/src/desktop/components/Checkbox/Checkbox.js +65 -0
  66. package/dist/src/desktop/components/Checkbox/index.d.ts +1 -0
  67. package/dist/src/desktop/components/Checkbox/index.js +8 -0
  68. package/dist/src/desktop/components/Chip/Chip.d.ts +19 -0
  69. package/dist/src/desktop/components/Chip/Chip.js +131 -0
  70. package/dist/src/desktop/components/Chip/index.d.ts +1 -0
  71. package/dist/src/desktop/components/Chip/index.js +8 -0
  72. package/dist/src/desktop/components/ContextMenu/ContextMenu.d.ts +7 -0
  73. package/dist/src/desktop/components/ContextMenu/ContextMenu.js +33 -0
  74. package/dist/src/desktop/components/ContextMenu/index.d.ts +1 -0
  75. package/dist/src/desktop/components/ContextMenu/index.js +8 -0
  76. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.d.ts +10 -0
  77. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +65 -0
  78. package/dist/src/desktop/components/ContextMenuItem/index.d.ts +1 -0
  79. package/dist/src/desktop/components/ContextMenuItem/index.js +8 -0
  80. package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.d.ts +39 -0
  81. package/dist/src/desktop/components/DesktopHeaderBar/DesktopHeaderBar.js +81 -0
  82. package/dist/src/desktop/components/DesktopHeaderBar/index.d.ts +1 -0
  83. package/dist/src/desktop/components/DesktopHeaderBar/index.js +8 -0
  84. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +15 -0
  85. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +125 -0
  86. package/dist/src/desktop/components/DesktopTabBar/index.d.ts +1 -0
  87. package/dist/src/desktop/components/DesktopTabBar/index.js +8 -0
  88. package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.d.ts +32 -0
  89. package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +238 -0
  90. package/dist/src/desktop/components/EditApplyTextField/index.d.ts +1 -0
  91. package/dist/src/desktop/components/EditApplyTextField/index.js +8 -0
  92. package/dist/src/desktop/components/FilterBar/FilterBar.d.ts +19 -0
  93. package/dist/src/desktop/components/FilterBar/FilterBar.js +53 -0
  94. package/dist/src/desktop/components/FilterBar/index.d.ts +1 -0
  95. package/dist/src/desktop/components/FilterBar/index.js +8 -0
  96. package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.d.ts +19 -0
  97. package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +96 -0
  98. package/dist/src/desktop/components/FloatingActionButton/index.d.ts +1 -0
  99. package/dist/src/desktop/components/FloatingActionButton/index.js +8 -0
  100. package/dist/src/desktop/components/Hero/Hero.js +0 -5
  101. package/dist/src/desktop/components/IconButton/IconButton.js +3 -4
  102. package/dist/src/desktop/components/ImageSlide/ImageSlide.d.ts +13 -0
  103. package/dist/src/desktop/components/ImageSlide/ImageSlide.js +97 -0
  104. package/dist/src/desktop/components/ImageSlide/index.d.ts +1 -0
  105. package/dist/src/desktop/components/ImageSlide/index.js +8 -0
  106. package/dist/src/desktop/components/MainButton/MainButton.d.ts +21 -0
  107. package/dist/src/desktop/components/MainButton/MainButton.js +190 -0
  108. package/dist/src/desktop/components/MainButton/index.d.ts +1 -0
  109. package/dist/src/desktop/components/MainButton/index.js +8 -0
  110. package/dist/src/desktop/components/Radio/Radio.d.ts +12 -0
  111. package/dist/src/desktop/components/Radio/Radio.js +45 -0
  112. package/dist/src/desktop/components/Radio/index.d.ts +1 -0
  113. package/dist/src/desktop/components/Radio/index.js +8 -0
  114. package/dist/src/desktop/components/ReactionButton/ReactionButton.d.ts +11 -0
  115. package/dist/src/desktop/components/ReactionButton/ReactionButton.js +108 -0
  116. package/dist/src/desktop/components/ReactionButton/index.d.ts +1 -0
  117. package/dist/src/desktop/components/ReactionButton/index.js +8 -0
  118. package/dist/src/desktop/components/Select/Select.d.ts +16 -0
  119. package/dist/src/desktop/components/Select/Select.js +136 -0
  120. package/dist/src/desktop/components/Select/index.d.ts +1 -0
  121. package/dist/src/desktop/components/Select/index.js +8 -0
  122. package/dist/src/desktop/components/StatusBlock/StatusBlock.js +1 -3
  123. package/dist/src/desktop/components/TextButton/TextButton.d.ts +11 -0
  124. package/dist/src/desktop/components/TextButton/TextButton.js +103 -0
  125. package/dist/src/desktop/components/TextButton/index.d.ts +1 -0
  126. package/dist/src/desktop/components/TextButton/index.js +8 -0
  127. package/dist/src/desktop/components/TextField/TextField.d.ts +42 -0
  128. package/dist/src/desktop/components/TextField/TextField.js +252 -0
  129. package/dist/src/desktop/components/TextField/index.d.ts +1 -0
  130. package/dist/src/desktop/components/TextField/index.js +8 -0
  131. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -1
  132. package/dist/src/desktop/components/TextLabel/TextLabel.js +7 -4
  133. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +21 -0
  134. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +149 -0
  135. package/dist/src/desktop/components/UploadIconButton/index.d.ts +1 -0
  136. package/dist/src/desktop/components/UploadIconButton/index.js +8 -0
  137. package/dist/src/desktop/components/UploadIconButton/types.d.ts +8 -0
  138. package/dist/src/desktop/components/UploadIconButton/types.js +11 -0
  139. package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +18 -0
  140. package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +173 -0
  141. package/dist/src/desktop/components/UploadMainButton/index.d.ts +1 -0
  142. package/dist/src/desktop/components/UploadMainButton/index.js +8 -0
  143. package/dist/src/desktop/components/UploadMainButton/types.d.ts +25 -0
  144. package/dist/src/desktop/components/UploadMainButton/types.js +28 -0
  145. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +12 -0
  146. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +83 -0
  147. package/dist/src/desktop/components/UploadTextButton/index.d.ts +1 -0
  148. package/dist/src/desktop/components/UploadTextButton/index.js +8 -0
  149. package/dist/src/desktop/components/UserDesktopNavBar/UserDesktopNavBar.d.ts +20 -0
  150. package/dist/src/desktop/components/UserDesktopNavBar/UserDesktopNavBar.js +104 -0
  151. package/dist/src/desktop/components/UserDesktopNavBar/index.d.ts +1 -0
  152. package/dist/src/desktop/components/UserDesktopNavBar/index.js +8 -0
  153. package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.d.ts +11 -0
  154. package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.js +74 -0
  155. package/dist/src/desktop/components/UserDesktopTabBar/index.d.ts +1 -0
  156. package/dist/src/desktop/components/UserDesktopTabBar/index.js +8 -0
  157. package/dist/src/desktop/components/index.d.ts +24 -1
  158. package/dist/src/desktop/components/index.js +47 -1
  159. package/dist/src/desktop/index.d.ts +2 -2
  160. package/dist/src/desktop/index.js +24 -1
  161. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.js +1 -1
  162. package/dist/src/hybrid/components/Icon/Icon.d.ts +2 -2
  163. package/dist/src/hybrid/components/Icon/Icon.js +1 -1
  164. package/dist/src/hybrid/components/ImageView/ImageView.d.ts +4 -2
  165. package/dist/src/hybrid/components/ImageView/ImageView.js +110 -28
  166. package/dist/src/hybrid/components/Switch/Switch.d.ts +9 -0
  167. package/dist/src/hybrid/components/Switch/Switch.js +75 -0
  168. package/dist/src/hybrid/components/Switch/index.d.ts +1 -0
  169. package/dist/src/hybrid/components/Switch/index.js +8 -0
  170. package/dist/src/hybrid/components/index.d.ts +2 -1
  171. package/dist/src/hybrid/components/index.js +3 -1
  172. package/dist/src/hybrid/index.d.ts +2 -2
  173. package/dist/src/hybrid/index.js +2 -1
  174. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +45 -0
  175. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +265 -0
  176. package/dist/src/mobile/common/components/TextFieldBase/index.d.ts +1 -0
  177. package/dist/src/mobile/common/components/TextFieldBase/index.js +8 -0
  178. package/dist/src/mobile/common/components/index.d.ts +2 -0
  179. package/dist/src/mobile/common/components/index.js +5 -0
  180. package/dist/src/mobile/components/BlogTextField/BlogTextField.d.ts +29 -0
  181. package/dist/src/mobile/components/BlogTextField/BlogTextField.js +105 -0
  182. package/dist/src/mobile/components/BlogTextField/index.d.ts +1 -0
  183. package/dist/src/mobile/components/BlogTextField/index.js +8 -0
  184. package/dist/src/mobile/components/Card/Card.d.ts +11 -0
  185. package/dist/src/mobile/components/Card/Card.js +50 -0
  186. package/dist/src/mobile/components/Card/index.d.ts +1 -0
  187. package/dist/src/mobile/components/Card/index.js +8 -0
  188. package/dist/src/mobile/components/CardList/CardList.d.ts +10 -0
  189. package/dist/src/mobile/components/CardList/CardList.js +30 -0
  190. package/dist/src/mobile/components/CardList/index.d.ts +1 -0
  191. package/dist/src/mobile/components/CardList/index.js +8 -0
  192. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +11 -0
  193. package/dist/src/mobile/components/Checkbox/Checkbox.js +62 -0
  194. package/dist/src/mobile/components/Checkbox/index.d.ts +1 -0
  195. package/dist/src/mobile/components/Checkbox/index.js +8 -0
  196. package/dist/src/mobile/components/Chip/Chip.d.ts +19 -0
  197. package/dist/src/mobile/components/Chip/Chip.js +131 -0
  198. package/dist/src/mobile/components/Chip/index.d.ts +1 -0
  199. package/dist/src/mobile/components/Chip/index.js +8 -0
  200. package/dist/src/mobile/components/ContextMenu/ContextMenu.d.ts +7 -0
  201. package/dist/src/mobile/components/ContextMenu/ContextMenu.js +33 -0
  202. package/dist/src/mobile/components/ContextMenu/index.d.ts +1 -0
  203. package/dist/src/mobile/components/ContextMenu/index.js +8 -0
  204. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.d.ts +10 -0
  205. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +62 -0
  206. package/dist/src/mobile/components/ContextMenuItem/index.d.ts +1 -0
  207. package/dist/src/mobile/components/ContextMenuItem/index.js +8 -0
  208. package/dist/src/mobile/components/IconButton/IconButton.d.ts +1 -6
  209. package/dist/src/mobile/components/IconButton/IconButton.js +3 -3
  210. package/dist/src/mobile/components/ImageSlide/ImageSlide.d.ts +13 -0
  211. package/dist/src/mobile/components/ImageSlide/ImageSlide.js +97 -0
  212. package/dist/src/mobile/components/ImageSlide/index.d.ts +1 -0
  213. package/dist/src/mobile/components/ImageSlide/index.js +8 -0
  214. package/dist/src/mobile/components/MainButton/MainButton.d.ts +21 -0
  215. package/dist/src/mobile/components/MainButton/MainButton.js +181 -0
  216. package/dist/src/mobile/components/MainButton/index.d.ts +1 -0
  217. package/dist/src/mobile/components/MainButton/index.js +8 -0
  218. package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.d.ts +19 -0
  219. package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.js +97 -0
  220. package/dist/src/mobile/components/MobileHeaderBar/index.d.ts +1 -0
  221. package/dist/src/mobile/components/MobileHeaderBar/index.js +8 -0
  222. package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +10 -0
  223. package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +46 -0
  224. package/dist/src/mobile/components/MobileTabBar/index.d.ts +1 -0
  225. package/dist/src/mobile/components/MobileTabBar/index.js +8 -0
  226. package/dist/src/mobile/components/Radio/Radio.d.ts +12 -0
  227. package/dist/src/mobile/components/Radio/Radio.js +45 -0
  228. package/dist/src/mobile/components/Radio/index.d.ts +1 -0
  229. package/dist/src/mobile/components/Radio/index.js +8 -0
  230. package/dist/src/mobile/components/ReactionButton/ReactionButton.d.ts +11 -0
  231. package/dist/src/mobile/components/ReactionButton/ReactionButton.js +108 -0
  232. package/dist/src/mobile/components/ReactionButton/index.d.ts +1 -0
  233. package/dist/src/mobile/components/ReactionButton/index.js +8 -0
  234. package/dist/src/mobile/components/Select/Select.d.ts +16 -0
  235. package/dist/src/mobile/components/Select/Select.js +132 -0
  236. package/dist/src/mobile/components/Select/index.d.ts +1 -0
  237. package/dist/src/mobile/components/Select/index.js +8 -0
  238. package/dist/src/mobile/components/StatusBlock/StatusBlock.js +1 -1
  239. package/dist/src/mobile/components/TextButton/TextButton.d.ts +11 -0
  240. package/dist/src/mobile/components/TextButton/TextButton.js +100 -0
  241. package/dist/src/mobile/components/TextButton/index.d.ts +1 -0
  242. package/dist/src/mobile/components/TextButton/index.js +8 -0
  243. package/dist/src/mobile/components/TextField/TextField.d.ts +42 -0
  244. package/dist/src/mobile/components/TextField/TextField.js +252 -0
  245. package/dist/src/mobile/components/TextField/index.d.ts +1 -0
  246. package/dist/src/mobile/components/TextField/index.js +8 -0
  247. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -1
  248. package/dist/src/mobile/components/TextLabel/TextLabel.js +7 -4
  249. package/dist/src/mobile/components/UploadIconButton/UploadIconButton.d.ts +21 -0
  250. package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +138 -0
  251. package/dist/src/mobile/components/UploadIconButton/index.d.ts +1 -0
  252. package/dist/src/mobile/components/UploadIconButton/index.js +8 -0
  253. package/dist/src/mobile/components/UploadIconButton/types.d.ts +8 -0
  254. package/dist/src/mobile/components/UploadIconButton/types.js +11 -0
  255. package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +18 -0
  256. package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +161 -0
  257. package/dist/src/mobile/components/UploadMainButton/index.d.ts +1 -0
  258. package/dist/src/mobile/components/UploadMainButton/index.js +8 -0
  259. package/dist/src/mobile/components/UploadMainButton/types.d.ts +25 -0
  260. package/dist/src/mobile/components/UploadMainButton/types.js +28 -0
  261. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +12 -0
  262. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +77 -0
  263. package/dist/src/mobile/components/UploadTextButton/index.d.ts +1 -0
  264. package/dist/src/mobile/components/UploadTextButton/index.js +8 -0
  265. package/dist/src/mobile/components/index.d.ts +20 -1
  266. package/dist/src/mobile/components/index.js +39 -1
  267. package/dist/src/mobile/index.d.ts +2 -2
  268. package/dist/src/mobile/index.js +20 -1
  269. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +3 -3
  270. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +3 -3
  271. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +2 -2
  272. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +2 -2
  273. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +2 -2
  274. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +3 -3
  275. package/dist/src/mobile/layout/LayoutMP/Containers/NavigationContainer/variation/Navigation.js +1 -1
  276. package/package.json +5 -1
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ var react_1 = __importStar(require("react"));
30
+ var react_router_dom_1 = require("react-router-dom");
31
+ var styled_components_1 = __importDefault(require("styled-components"));
32
+ var Divider_1 = require("../../../hybrid/components/Divider");
33
+ var ImageView_1 = require("../../../hybrid/components/ImageView");
34
+ var ContextMenu_1 = __importDefault(require("../ContextMenu/ContextMenu"));
35
+ var ContextMenuItem_1 = require("../ContextMenuItem");
36
+ var IconButton_1 = __importDefault(require("../IconButton/IconButton"));
37
+ var MainButton_1 = __importDefault(require("../MainButton/MainButton"));
38
+ var TextLabel_1 = require("../TextLabel");
39
+ function UserDesktopNavBar(_a) {
40
+ var logoImageSrc = _a.logoImageSrc, titleText = _a.titleText, _b = _a.menuMode, menuMode = _b === void 0 ? 'center_text' : _b, textArray = _a.textArray, userImageSrc = _a.userImageSrc, _c = _a.loginInfoMode, loginInfoMode = _c === void 0 ? 'profile' : _c, mBtnText = _a.mBtnText, _d = _a.dividerType, dividerType = _d === void 0 ? 'none' : _d, onClickLogo = _a.onClickLogo, onClickLoginInfo = _a.onClickLoginInfo;
41
+ var _e = (0, react_1.useState)(false), isContextMenuOpen = _e[0], setIsContextMenuOpen = _e[1];
42
+ var history = (0, react_router_dom_1.useHistory)();
43
+ var currentPathName = window.location.pathname;
44
+ var MAX_VISIBLE_TEXTS_NUM = 5;
45
+ var visibleTexts = getVisibleTexts(textArray);
46
+ var hiddenTexts = getHiddenTexts(textArray);
47
+ function getVisibleTexts(array) {
48
+ if (!array || !array.length) {
49
+ return [];
50
+ }
51
+ var visibleTexts = array.slice(0, MAX_VISIBLE_TEXTS_NUM);
52
+ return visibleTexts;
53
+ }
54
+ function getHiddenTexts(array) {
55
+ if (!array || array.length < MAX_VISIBLE_TEXTS_NUM) {
56
+ return [];
57
+ }
58
+ var hiddenTexts = array.slice(MAX_VISIBLE_TEXTS_NUM);
59
+ return hiddenTexts;
60
+ }
61
+ var handleOnclick = function (path) {
62
+ history.push(path);
63
+ };
64
+ return (react_1.default.createElement(S_UserDesktopNavBar, null,
65
+ react_1.default.createElement(S_NavBar, null,
66
+ logoImageSrc ? (react_1.default.createElement(S_Logo, { src: logoImageSrc, onClick: onClickLogo })) : (react_1.default.createElement(S_TextWrapper, { onClick: onClickLogo },
67
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, singleLineMode: "use", styleTheme: "headingBold", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 1 }))),
68
+ menuMode === 'center_text' && (react_1.default.createElement(S_pApps, null,
69
+ visibleTexts.map(function (value) { return (react_1.default.createElement(S_VisiblePAppWrapper, { key: value.path, onClick: function () { return handleOnclick(value.path); } }, currentPathName.includes(value.path) ? (react_1.default.createElement(TextLabel_1.TextLabel, { text: value.title, styleTheme: "body1Bold", colorTheme: "sysTextPrimary", singleLineMode: "use" })) : (react_1.default.createElement(TextLabel_1.TextLabel, { text: value.title, styleTheme: "body1Regular", colorTheme: "sysTextSecondary", singleLineMode: "use" })))); }),
70
+ hiddenTexts.length > 0 && (react_1.default.createElement(S_MorePApps, null,
71
+ react_1.default.createElement(S_IconButtonWrapper, { onClick: function () { return setIsContextMenuOpen(!isContextMenuOpen); } },
72
+ react_1.default.createElement(IconButton_1.default, { fillType: "fill", baseSize: "medium", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: 24, iconName: "ic_more", iconColorKey: "ui_cpnt_button_icon_default", shapeType: "rectangle", iconFillType: "fill" })),
73
+ react_1.default.createElement(S_ContextMenuWrapper, null, isContextMenuOpen && (react_1.default.createElement(ContextMenu_1.default, null, hiddenTexts.map(function (pApp) { return (react_1.default.createElement(ContextMenuItem_1.ContextMenuItem, { key: pApp.path, size: "medium", value: pApp.path, text: pApp.title, onClick: handleOnclick })); })))))))),
74
+ react_1.default.createElement(S_ProfileWrapper, null,
75
+ loginInfoMode === 'profile' && (react_1.default.createElement(S_ImageViewWrapper, { onClick: onClickLoginInfo },
76
+ react_1.default.createElement(ImageView_1.ImageView, { src: userImageSrc, shapeType: "circular", width: 32, ratio: "1_1", scaleType: "cover", borderMode: "use" }))),
77
+ loginInfoMode === 'button' && (react_1.default.createElement(MainButton_1.default, { size: "small", fillType: "line", text: mBtnText, onClick: onClickLoginInfo })))),
78
+ dividerType === 'solid' && react_1.default.createElement(Divider_1.Divider, null)));
79
+ }
80
+ var S_UserDesktopNavBar = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 64px;\n background-color: ", ";\n min-width: 1200px;\n"], ["\n height: 64px;\n background-color: ", ";\n min-width: 1200px;\n"])), function (_a) {
81
+ var theme = _a.theme;
82
+ return theme.ui_cpnt_userdesktopnavbar_base_area;
83
+ });
84
+ var S_MorePApps = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
85
+ var S_ProfileWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 48px;\n justify-content: flex-end;\n margin-left: 24px;\n width: 200px;\n"], ["\n align-items: center;\n display: flex;\n height: 48px;\n justify-content: flex-end;\n margin-left: 24px;\n width: 200px;\n"])));
86
+ var S_TextWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n cursor: ", ";\n margin-right: 24px;\n width: 200px;\n & > div {\n word-break: break-all;\n }\n"], ["\n cursor: ", ";\n margin-right: 24px;\n width: 200px;\n & > div {\n word-break: break-all;\n }\n"])), function (_a) {
87
+ var onClick = _a.onClick;
88
+ return (onClick ? 'pointer' : 'default');
89
+ });
90
+ var S_Logo = styled_components_1.default.img(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n height: 48px;\n margin-right: ", ";\n object-fit: contain;\n object-position: left;\n width: 180px;\n"], ["\n height: 48px;\n margin-right: ", ";\n object-fit: contain;\n object-position: left;\n width: 180px;\n"])), function (_a) {
91
+ var theme = _a.theme;
92
+ return theme.spacing.spacingE;
93
+ });
94
+ var S_NavBar = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: row;\n height: 63px;\n justify-content: space-between;\n margin-left: 24px;\n margin-right: 24px;\n"], ["\n align-items: center;\n display: flex;\n flex-direction: row;\n height: 63px;\n justify-content: space-between;\n margin-left: 24px;\n margin-right: 24px;\n"])));
95
+ var S_pApps = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n"], ["\n align-items: center;\n display: flex;\n"])));
96
+ var S_ContextMenuWrapper = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n left: 0;\n position: absolute;\n z-index: 2;\n\n @media only screen and (max-width: 960px) {\n left: unset;\n right: 0;\n }\n"], ["\n left: 0;\n position: absolute;\n z-index: 2;\n\n @media only screen and (max-width: 960px) {\n left: unset;\n right: 0;\n }\n"])));
97
+ var S_IconButtonWrapper = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject([""], [""])));
98
+ var S_VisiblePAppWrapper = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n margin-right: ", ";\n cursor: pointer;\n"], ["\n margin-right: ", ";\n cursor: pointer;\n"])), function (_a) {
99
+ var theme = _a.theme;
100
+ return theme.spacing.spacingE;
101
+ });
102
+ var S_ImageViewWrapper = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n height: 32px;\n"], ["\n height: 32px;\n"])));
103
+ exports.default = UserDesktopNavBar;
104
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11;
@@ -0,0 +1 @@
1
+ export { default as UserDesktopNavBar } from './UserDesktopNavBar';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UserDesktopNavBar = void 0;
7
+ var UserDesktopNavBar_1 = require("./UserDesktopNavBar");
8
+ Object.defineProperty(exports, "UserDesktopNavBar", { enumerable: true, get: function () { return __importDefault(UserDesktopNavBar_1).default; } });
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ declare type TextObj = {
3
+ path: string;
4
+ title: string;
5
+ };
6
+ export declare type UserDesktopTabBarProps = {
7
+ textArray: TextObj[];
8
+ styleTheme?: 'main';
9
+ };
10
+ declare function UserDesktopTabBar({ textArray, styleTheme }: UserDesktopTabBarProps): JSX.Element;
11
+ export default UserDesktopTabBar;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ var react_1 = __importDefault(require("react"));
30
+ var react_router_dom_1 = require("react-router-dom");
31
+ var styled_components_1 = __importStar(require("styled-components"));
32
+ var Divider_1 = require("../../../hybrid/components/Divider");
33
+ var TextLabel_1 = require("../TextLabel");
34
+ function UserDesktopTabBar(_a) {
35
+ var textArray = _a.textArray, _b = _a.styleTheme, styleTheme = _b === void 0 ? 'main' : _b;
36
+ var history = (0, react_router_dom_1.useHistory)();
37
+ var pathname = window.location.pathname;
38
+ var handleClick = function (value) {
39
+ if (value) {
40
+ history.push(value.path);
41
+ }
42
+ };
43
+ return (react_1.default.createElement(react_1.default.Fragment, null,
44
+ react_1.default.createElement(S_TabBar, null, textArray.map(function (value) { return (react_1.default.createElement(S_TabWrapper, { key: value.path, styleTheme: styleTheme, isActive: pathname === value.path, onClick: function () {
45
+ handleClick(value);
46
+ } },
47
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: value.title, styleTheme: pathname === value.path ? 'body2Bold' : 'body2Regular', colorTheme: pathname === value.path ? 'usrTextBrandPrimary' : 'sysTextSecondary', singleLineMode: "use" }))); })),
48
+ react_1.default.createElement(Divider_1.Divider, { direction: "horizontal" })));
49
+ }
50
+ var S_TabWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
51
+ var styleTheme = _a.styleTheme;
52
+ switch (styleTheme) {
53
+ case 'main':
54
+ return mainStyle; // TODO : 추후 styleTheme 의 enum 값이 추가되면 수정
55
+ default:
56
+ return mainStyle;
57
+ }
58
+ });
59
+ var mainStyle = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n cursor: pointer;\n display: flex;\n height: 48px;\n margin-right: ", ";\n position: relative;\n background-color: ", ";\n\n &:last-child {\n margin-right: 0;\n }\n\n &::after {\n border-bottom: ", ";\n bottom: -1px;\n content: '';\n height: 2px;\n position: absolute;\n width: 100%;\n }\n"], ["\n align-items: center;\n cursor: pointer;\n display: flex;\n height: 48px;\n margin-right: ", ";\n position: relative;\n background-color: ", ";\n\n &:last-child {\n margin-right: 0;\n }\n\n &::after {\n border-bottom: ", ";\n bottom: -1px;\n content: '';\n height: 2px;\n position: absolute;\n width: 100%;\n }\n"])), function (_a) {
60
+ var theme = _a.theme;
61
+ return theme.spacing.spacingE;
62
+ }, function (_a) {
63
+ var isActive = _a.isActive, theme = _a.theme;
64
+ return isActive && theme.ui_cpnt_tabbar_base_area;
65
+ }, function (_a) {
66
+ var isActive = _a.isActive, theme = _a.theme;
67
+ return isActive && "2px solid " + theme.ui_cpnt_tabbar_border_active_indicator_primary;
68
+ });
69
+ var S_TabBar = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n justify-content: center;\n"], ["\n align-items: center;\n background-color: ", ";\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n justify-content: center;\n"])), function (_a) {
70
+ var theme = _a.theme;
71
+ return theme.ui_cpnt_tabbar_base_area;
72
+ });
73
+ exports.default = UserDesktopTabBar;
74
+ var templateObject_1, templateObject_2, templateObject_3;
@@ -0,0 +1 @@
1
+ export { default as UserDesktopTabBar } from './UserDesktopTabBar';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UserDesktopTabBar = void 0;
7
+ var UserDesktopTabBar_1 = require("./UserDesktopTabBar");
8
+ Object.defineProperty(exports, "UserDesktopTabBar", { enumerable: true, get: function () { return __importDefault(UserDesktopTabBar_1).default; } });
@@ -1,5 +1,28 @@
1
+ import { Card } from './Card';
2
+ import { CardList } from './CardList';
3
+ import { Checkbox } from './Checkbox';
4
+ import { Chip } from './Chip';
5
+ import { ContextMenu } from './ContextMenu';
6
+ import { ContextMenuItem } from './ContextMenuItem';
7
+ import { DesktopHeaderBar } from './DesktopHeaderBar';
8
+ import { DesktopTapBar } from './DesktopTabBar';
9
+ import { EditApplyTextField } from './EditApplyTextField';
10
+ import { FilterBar } from './FilterBar';
11
+ import { FloatingActionButton } from './FloatingActionButton';
1
12
  import { Hero } from './Hero';
2
13
  import { IconButton } from './IconButton';
14
+ import { ImageSlide } from './ImageSlide';
15
+ import { MainButton } from './MainButton';
16
+ import { Radio } from './Radio';
17
+ import { ReactionButton } from './ReactionButton';
18
+ import { Select } from './Select';
3
19
  import { StatusBlock } from './StatusBlock';
20
+ import { TextButton } from './TextButton';
21
+ import { TextField } from './TextField';
4
22
  import { TextLabel } from './TextLabel';
5
- export { Hero, IconButton, StatusBlock, TextLabel };
23
+ import { UploadIconButton } from './UploadIconButton';
24
+ import { UploadMainButton } from './UploadMainButton';
25
+ import { UploadTextButton } from './UploadTextButton';
26
+ import { UserDesktopNavBar } from './UserDesktopNavBar';
27
+ import { UserDesktopTabBar } from './UserDesktopTabBar';
28
+ export { Card, CardList, Checkbox, Chip, ContextMenu, ContextMenuItem, DesktopHeaderBar, DesktopTapBar, EditApplyTextField, FilterBar, FloatingActionButton, Hero, IconButton, ImageSlide, MainButton, Radio, ReactionButton, Select, StatusBlock, TextButton, TextField, TextLabel, UploadIconButton, UploadMainButton, UploadTextButton, UserDesktopNavBar, UserDesktopTabBar };
@@ -1,11 +1,57 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextLabel = exports.StatusBlock = exports.IconButton = exports.Hero = void 0;
3
+ exports.UserDesktopTabBar = exports.UserDesktopNavBar = exports.UploadTextButton = exports.UploadMainButton = exports.UploadIconButton = exports.TextLabel = exports.TextField = exports.TextButton = exports.StatusBlock = exports.Select = exports.ReactionButton = exports.Radio = exports.MainButton = exports.ImageSlide = exports.IconButton = exports.Hero = exports.FloatingActionButton = exports.FilterBar = exports.EditApplyTextField = exports.DesktopTapBar = exports.DesktopHeaderBar = exports.ContextMenuItem = exports.ContextMenu = exports.Chip = exports.Checkbox = exports.CardList = exports.Card = void 0;
4
+ var Card_1 = require("./Card");
5
+ Object.defineProperty(exports, "Card", { enumerable: true, get: function () { return Card_1.Card; } });
6
+ var CardList_1 = require("./CardList");
7
+ Object.defineProperty(exports, "CardList", { enumerable: true, get: function () { return CardList_1.CardList; } });
8
+ var Checkbox_1 = require("./Checkbox");
9
+ Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return Checkbox_1.Checkbox; } });
10
+ var Chip_1 = require("./Chip");
11
+ Object.defineProperty(exports, "Chip", { enumerable: true, get: function () { return Chip_1.Chip; } });
12
+ var ContextMenu_1 = require("./ContextMenu");
13
+ Object.defineProperty(exports, "ContextMenu", { enumerable: true, get: function () { return ContextMenu_1.ContextMenu; } });
14
+ var ContextMenuItem_1 = require("./ContextMenuItem");
15
+ Object.defineProperty(exports, "ContextMenuItem", { enumerable: true, get: function () { return ContextMenuItem_1.ContextMenuItem; } });
16
+ var DesktopHeaderBar_1 = require("./DesktopHeaderBar");
17
+ Object.defineProperty(exports, "DesktopHeaderBar", { enumerable: true, get: function () { return DesktopHeaderBar_1.DesktopHeaderBar; } });
18
+ var DesktopTabBar_1 = require("./DesktopTabBar");
19
+ Object.defineProperty(exports, "DesktopTapBar", { enumerable: true, get: function () { return DesktopTabBar_1.DesktopTapBar; } });
20
+ var EditApplyTextField_1 = require("./EditApplyTextField");
21
+ Object.defineProperty(exports, "EditApplyTextField", { enumerable: true, get: function () { return EditApplyTextField_1.EditApplyTextField; } });
22
+ var FilterBar_1 = require("./FilterBar");
23
+ Object.defineProperty(exports, "FilterBar", { enumerable: true, get: function () { return FilterBar_1.FilterBar; } });
24
+ var FloatingActionButton_1 = require("./FloatingActionButton");
25
+ Object.defineProperty(exports, "FloatingActionButton", { enumerable: true, get: function () { return FloatingActionButton_1.FloatingActionButton; } });
4
26
  var Hero_1 = require("./Hero");
5
27
  Object.defineProperty(exports, "Hero", { enumerable: true, get: function () { return Hero_1.Hero; } });
6
28
  var IconButton_1 = require("./IconButton");
7
29
  Object.defineProperty(exports, "IconButton", { enumerable: true, get: function () { return IconButton_1.IconButton; } });
30
+ var ImageSlide_1 = require("./ImageSlide");
31
+ Object.defineProperty(exports, "ImageSlide", { enumerable: true, get: function () { return ImageSlide_1.ImageSlide; } });
32
+ var MainButton_1 = require("./MainButton");
33
+ Object.defineProperty(exports, "MainButton", { enumerable: true, get: function () { return MainButton_1.MainButton; } });
34
+ var Radio_1 = require("./Radio");
35
+ Object.defineProperty(exports, "Radio", { enumerable: true, get: function () { return Radio_1.Radio; } });
36
+ var ReactionButton_1 = require("./ReactionButton");
37
+ Object.defineProperty(exports, "ReactionButton", { enumerable: true, get: function () { return ReactionButton_1.ReactionButton; } });
38
+ var Select_1 = require("./Select");
39
+ Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return Select_1.Select; } });
8
40
  var StatusBlock_1 = require("./StatusBlock");
9
41
  Object.defineProperty(exports, "StatusBlock", { enumerable: true, get: function () { return StatusBlock_1.StatusBlock; } });
42
+ var TextButton_1 = require("./TextButton");
43
+ Object.defineProperty(exports, "TextButton", { enumerable: true, get: function () { return TextButton_1.TextButton; } });
44
+ var TextField_1 = require("./TextField");
45
+ Object.defineProperty(exports, "TextField", { enumerable: true, get: function () { return TextField_1.TextField; } });
10
46
  var TextLabel_1 = require("./TextLabel");
11
47
  Object.defineProperty(exports, "TextLabel", { enumerable: true, get: function () { return TextLabel_1.TextLabel; } });
48
+ var UploadIconButton_1 = require("./UploadIconButton");
49
+ Object.defineProperty(exports, "UploadIconButton", { enumerable: true, get: function () { return UploadIconButton_1.UploadIconButton; } });
50
+ var UploadMainButton_1 = require("./UploadMainButton");
51
+ Object.defineProperty(exports, "UploadMainButton", { enumerable: true, get: function () { return UploadMainButton_1.UploadMainButton; } });
52
+ var UploadTextButton_1 = require("./UploadTextButton");
53
+ Object.defineProperty(exports, "UploadTextButton", { enumerable: true, get: function () { return UploadTextButton_1.UploadTextButton; } });
54
+ var UserDesktopNavBar_1 = require("./UserDesktopNavBar");
55
+ Object.defineProperty(exports, "UserDesktopNavBar", { enumerable: true, get: function () { return UserDesktopNavBar_1.UserDesktopNavBar; } });
56
+ var UserDesktopTabBar_1 = require("./UserDesktopTabBar");
57
+ Object.defineProperty(exports, "UserDesktopTabBar", { enumerable: true, get: function () { return UserDesktopTabBar_1.UserDesktopTabBar; } });
@@ -9,5 +9,5 @@ import { LayoutWT } from './layout/LayoutWT';
9
9
  import { GlobalMenuContainer as WTGlobalMenuContainer } from './layout/LayoutWT/Containers';
10
10
  import { ContainersBox as WTContainersBox } from './layout/LayoutWT/ContainersBox';
11
11
  export { LayoutWT, WTGlobalMenuContainer, WTContainersBox };
12
- import { Hero as D_Hero, IconButton as D_IconButton, StatusBlock as D_StatusBlock, TextLabel as D_TextLabel } from './components';
13
- export { D_Hero, D_IconButton, D_StatusBlock, D_TextLabel };
12
+ import { Card as D_Card, CardList as D_CardList, Checkbox as D_Checkbox, Chip as D_Chip, ContextMenu as D_ContextMenu, ContextMenuItem as D_ContextMenuItem, DesktopHeaderBar as D_DesktopHeaderBar, DesktopTapBar as D_DesktopTapBar, EditApplyTextField as D_EditApplyTextField, FilterBar as D_FilterBar, FloatingActionButton as D_FloatingActionButton, Hero as D_Hero, IconButton as D_IconButton, ImageSlide as D_ImageSlide, MainButton as D_MainButton, Radio as D_Radio, ReactionButton as D_ReactionButton, Select as D_Select, StatusBlock as D_StatusBlock, TextButton as D_TextButton, TextField as D_TextField, TextLabel as D_TextLabel, UploadIconButton as D_UploadIconButton, UploadMainButton as D_UploadMainButton, UploadTextButton as D_UploadTextButton, UserDesktopNavBar as D_UserDesktopNavBar, UserDesktopTabBar as D_UserDesktopTabBar } from './components';
13
+ export { D_Card, D_CardList, D_Checkbox, D_Chip, D_ContextMenu, D_ContextMenuItem, D_DesktopHeaderBar, D_DesktopTapBar, D_EditApplyTextField, D_FilterBar, D_FloatingActionButton, D_Hero, D_IconButton, D_ImageSlide, D_MainButton, D_Radio, D_Select, D_ReactionButton, D_StatusBlock, D_TextButton, D_TextField, D_TextLabel, D_UploadIconButton, D_UploadMainButton, D_UploadTextButton, D_UserDesktopNavBar, D_UserDesktopTabBar };
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable import/order */
3
3
  /* eslint-disable import/first */
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.D_TextLabel = exports.D_StatusBlock = exports.D_IconButton = exports.D_Hero = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WFContainersBox = exports.LayoutWF = void 0;
5
+ exports.D_UserDesktopTabBar = exports.D_UserDesktopNavBar = exports.D_UploadTextButton = exports.D_UploadMainButton = exports.D_UploadIconButton = exports.D_TextLabel = exports.D_TextField = exports.D_TextButton = exports.D_StatusBlock = exports.D_ReactionButton = exports.D_Select = exports.D_Radio = exports.D_MainButton = exports.D_ImageSlide = exports.D_IconButton = exports.D_Hero = exports.D_FloatingActionButton = exports.D_FilterBar = exports.D_EditApplyTextField = exports.D_DesktopTapBar = exports.D_DesktopHeaderBar = exports.D_ContextMenuItem = exports.D_ContextMenu = exports.D_Chip = exports.D_Checkbox = exports.D_CardList = exports.D_Card = exports.WTContainersBox = exports.WTGlobalMenuContainer = exports.LayoutWT = exports.WSContainersBox = exports.WSGlobalMenuContainer = exports.LayoutWS = exports.WFContainersBox = exports.LayoutWF = void 0;
6
6
  // layoutWF
7
7
  var LayoutWF_1 = require("./layout/LayoutWF");
8
8
  Object.defineProperty(exports, "LayoutWF", { enumerable: true, get: function () { return LayoutWF_1.LayoutWF; } });
@@ -24,7 +24,30 @@ var ContainersBox_3 = require("./layout/LayoutWT/ContainersBox");
24
24
  Object.defineProperty(exports, "WTContainersBox", { enumerable: true, get: function () { return ContainersBox_3.ContainersBox; } });
25
25
  // components
26
26
  var components_1 = require("./components");
27
+ Object.defineProperty(exports, "D_Card", { enumerable: true, get: function () { return components_1.Card; } });
28
+ Object.defineProperty(exports, "D_CardList", { enumerable: true, get: function () { return components_1.CardList; } });
29
+ Object.defineProperty(exports, "D_Checkbox", { enumerable: true, get: function () { return components_1.Checkbox; } });
30
+ Object.defineProperty(exports, "D_Chip", { enumerable: true, get: function () { return components_1.Chip; } });
31
+ Object.defineProperty(exports, "D_ContextMenu", { enumerable: true, get: function () { return components_1.ContextMenu; } });
32
+ Object.defineProperty(exports, "D_ContextMenuItem", { enumerable: true, get: function () { return components_1.ContextMenuItem; } });
33
+ Object.defineProperty(exports, "D_DesktopHeaderBar", { enumerable: true, get: function () { return components_1.DesktopHeaderBar; } });
34
+ Object.defineProperty(exports, "D_DesktopTapBar", { enumerable: true, get: function () { return components_1.DesktopTapBar; } });
35
+ Object.defineProperty(exports, "D_EditApplyTextField", { enumerable: true, get: function () { return components_1.EditApplyTextField; } });
36
+ Object.defineProperty(exports, "D_FilterBar", { enumerable: true, get: function () { return components_1.FilterBar; } });
37
+ Object.defineProperty(exports, "D_FloatingActionButton", { enumerable: true, get: function () { return components_1.FloatingActionButton; } });
27
38
  Object.defineProperty(exports, "D_Hero", { enumerable: true, get: function () { return components_1.Hero; } });
28
39
  Object.defineProperty(exports, "D_IconButton", { enumerable: true, get: function () { return components_1.IconButton; } });
40
+ Object.defineProperty(exports, "D_ImageSlide", { enumerable: true, get: function () { return components_1.ImageSlide; } });
41
+ Object.defineProperty(exports, "D_MainButton", { enumerable: true, get: function () { return components_1.MainButton; } });
42
+ Object.defineProperty(exports, "D_Radio", { enumerable: true, get: function () { return components_1.Radio; } });
43
+ Object.defineProperty(exports, "D_ReactionButton", { enumerable: true, get: function () { return components_1.ReactionButton; } });
44
+ Object.defineProperty(exports, "D_Select", { enumerable: true, get: function () { return components_1.Select; } });
29
45
  Object.defineProperty(exports, "D_StatusBlock", { enumerable: true, get: function () { return components_1.StatusBlock; } });
46
+ Object.defineProperty(exports, "D_TextButton", { enumerable: true, get: function () { return components_1.TextButton; } });
47
+ Object.defineProperty(exports, "D_TextField", { enumerable: true, get: function () { return components_1.TextField; } });
30
48
  Object.defineProperty(exports, "D_TextLabel", { enumerable: true, get: function () { return components_1.TextLabel; } });
49
+ Object.defineProperty(exports, "D_UploadIconButton", { enumerable: true, get: function () { return components_1.UploadIconButton; } });
50
+ Object.defineProperty(exports, "D_UploadMainButton", { enumerable: true, get: function () { return components_1.UploadMainButton; } });
51
+ Object.defineProperty(exports, "D_UploadTextButton", { enumerable: true, get: function () { return components_1.UploadTextButton; } });
52
+ Object.defineProperty(exports, "D_UserDesktopNavBar", { enumerable: true, get: function () { return components_1.UserDesktopNavBar; } });
53
+ Object.defineProperty(exports, "D_UserDesktopTabBar", { enumerable: true, get: function () { return components_1.UserDesktopTabBar; } });
@@ -38,7 +38,7 @@ var S_ContentsContainer1 = styled_components_1.default.div(templateObject_2 || (
38
38
  var containerColor = _a.containerColor;
39
39
  return "background-color: " + containerColor;
40
40
  });
41
- var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\nbackground-color: ", ";\n border-left: 1px solid ", ";\n flex-grow: 1;\n min-width: 480px;\n ", ";\n ", ";\n"], ["\nbackground-color: ", ";\n border-left: 1px solid ", ";\n flex-grow: 1;\n min-width: 480px;\n ", ";\n ", ";\n"])), function (_a) {
41
+ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border-left: 1px solid ", ";\n flex-grow: 1;\n min-width: 480px;\n ", ";\n ", ";\n"], ["\n background-color: ", ";\n border-left: 1px solid ", ";\n flex-grow: 1;\n min-width: 480px;\n ", ";\n ", ";\n"])), function (_a) {
42
42
  var theme = _a.theme;
43
43
  return theme.ui_contentscontainer02_background;
44
44
  }, function (_a) {
@@ -6,9 +6,9 @@ export declare type FillIconNameKeys = keyof typeof fillIcons;
6
6
  export declare type LineIconNameKeys = keyof typeof lineIcons;
7
7
  export declare type UiColors = keyof typeof uiColors;
8
8
  export declare type IconProps = {
9
- iconName: FillIconNameKeys | LineIconNameKeys;
9
+ iconName?: FillIconNameKeys | LineIconNameKeys;
10
10
  size?: 12 | 16 | 20 | 24 | 32 | 48 | 56 | 64 | 72;
11
- colorKey: UiColors;
11
+ colorKey?: UiColors;
12
12
  fillType?: 'line' | 'fill';
13
13
  } & Record<string, any>;
14
14
  declare const Icon: ({ iconName, size, colorKey, fillType, ...rest }: IconProps) => JSX.Element;
@@ -30,7 +30,7 @@ var fill_1 = __importDefault(require("../../../common/assets/icons/fill"));
30
30
  var line_1 = __importDefault(require("../../../common/assets/icons/line"));
31
31
  var ui_colors_1 = require("../../../common/styles/ui-colors");
32
32
  var Icon = function (_a) {
33
- var iconName = _a.iconName, _b = _a.size, size = _b === void 0 ? 24 : _b, colorKey = _a.colorKey, _c = _a.fillType, fillType = _c === void 0 ? 'line' : _c, rest = __rest(_a, ["iconName", "size", "colorKey", "fillType"]);
33
+ var _b = _a.iconName, iconName = _b === void 0 ? 'ic_unavailable' : _b, _c = _a.size, size = _c === void 0 ? 24 : _c, _d = _a.colorKey, colorKey = _d === void 0 ? 'ui_cpnt_icon_sys_grey_01' : _d, _e = _a.fillType, fillType = _e === void 0 ? 'line' : _e, rest = __rest(_a, ["iconName", "size", "colorKey", "fillType"]);
34
34
  var SelectedIcon = fillType === 'line'
35
35
  ? line_1.default[iconName] || fill_1.default[iconName]
36
36
  : fill_1.default[iconName] || line_1.default[iconName];
@@ -4,11 +4,13 @@ export declare type ImageViewProps = {
4
4
  shapeType?: 'round' | 'circular' | 'rectangle';
5
5
  radius?: 8 | 16 | 24;
6
6
  width?: number | 'responsive';
7
- height?: number;
7
+ height?: number | 'responsive';
8
8
  noImageHeight?: number;
9
+ noImageWidth?: number;
9
10
  ratio?: '16_9' | '9_16' | '16_10' | '10_16' | '4_3' | '3_4' | '1_1' | 'auto';
10
11
  scaleType?: 'fill' | 'contain' | 'cover' | 'none';
11
12
  borderMode?: 'use' | 'none';
13
+ backgroundFillMode?: 'use' | 'none';
12
14
  };
13
- declare const ImageView: ({ src, shapeType, radius, width, height, noImageHeight, ratio, scaleType, borderMode }: ImageViewProps) => JSX.Element;
15
+ declare const ImageView: ({ src, shapeType, radius, width, height, noImageHeight, noImageWidth, ratio, scaleType, borderMode, backgroundFillMode }: ImageViewProps) => JSX.Element;
14
16
  export default ImageView;
@@ -3,36 +3,40 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
4
  return cooked;
5
5
  };
6
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
+ if (k2 === undefined) k2 = k;
8
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
6
25
  var __importDefault = (this && this.__importDefault) || function (mod) {
7
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
8
27
  };
9
28
  Object.defineProperty(exports, "__esModule", { value: true });
10
29
  var react_1 = __importDefault(require("react"));
11
- var styled_components_1 = __importDefault(require("styled-components"));
30
+ var styled_components_1 = __importStar(require("styled-components"));
12
31
  var ImageView = function (_a) {
13
- var src = _a.src, _b = _a.shapeType, shapeType = _b === void 0 ? 'round' : _b, _c = _a.radius, radius = _c === void 0 ? 8 : _c, _d = _a.width, width = _d === void 0 ? 'responsive' : _d, height = _a.height, noImageHeight = _a.noImageHeight, _e = _a.ratio, ratio = _e === void 0 ? 'auto' : _e, _f = _a.scaleType, scaleType = _f === void 0 ? 'none' : _f, _g = _a.borderMode, borderMode = _g === void 0 ? 'none' : _g;
14
- return (react_1.default.createElement(S_ImageViewWrapper, { "$width": width },
15
- react_1.default.createElement(S_ImageView, { "$src": src, shapeType: shapeType, radius: radius, "$width": width, "$height": height, noImageHeight: noImageHeight, ratio: ratio, scaleType: scaleType, borderMode: borderMode }, ratio === 'auto' && react_1.default.createElement(S_ImageViewImg, { src: src, scaleType: scaleType }))));
32
+ var src = _a.src, _b = _a.shapeType, shapeType = _b === void 0 ? 'round' : _b, _c = _a.radius, radius = _c === void 0 ? 8 : _c, width = _a.width, height = _a.height, noImageHeight = _a.noImageHeight, noImageWidth = _a.noImageWidth, _d = _a.ratio, ratio = _d === void 0 ? 'auto' : _d, _e = _a.scaleType, scaleType = _e === void 0 ? 'none' : _e, _f = _a.borderMode, borderMode = _f === void 0 ? 'none' : _f, _g = _a.backgroundFillMode, backgroundFillMode = _g === void 0 ? 'none' : _g;
33
+ return (react_1.default.createElement(react_1.default.Fragment, null, ratio === 'auto' ? (react_1.default.createElement(S_AutoImageViewWrapper, { "$height": height, "$width": width, noImageHeight: noImageHeight, noImageWidth: noImageWidth, borderMode: borderMode, shapeType: shapeType, radius: radius, backgroundFillMode: backgroundFillMode },
34
+ react_1.default.createElement(S_AutoImageView, { src: src, "$height": height, "$width": width, scaleType: scaleType }))) : (react_1.default.createElement(S_RatioImageViewWrapper, { "$width": width, borderMode: borderMode, shapeType: shapeType, radius: radius, backgroundFillMode: backgroundFillMode },
35
+ react_1.default.createElement(S_RatioImageView, { "$src": src, scaleType: scaleType, ratio: ratio })))));
16
36
  };
17
- var S_ImageViewWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-width: ", ";\n width: ", ";\n"], ["\n min-width: ", ";\n width: ", ";\n"])), function (_a) {
18
- var $width = _a.$width;
19
- return ($width === 'responsive' ? '100%' : $width + "px");
20
- }, function (_a) {
21
- var $width = _a.$width;
22
- return ($width === 'responsive' ? '100%' : $width + "px");
23
- });
24
- var S_ImageView = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-position: center;\n background-repeat: no-repeat;\n box-sizing: border-box;\n overflow: hidden;\n width: 100%;\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n"], ["\n background-position: center;\n background-repeat: no-repeat;\n box-sizing: border-box;\n overflow: hidden;\n width: 100%;\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
25
- var theme = _a.theme, $src = _a.$src;
26
- return !$src && "background-color: " + theme.ui_temp_grey_04;
27
- }, function (_a) {
28
- var $src = _a.$src, ratio = _a.ratio;
29
- return ratio !== 'auto' && "background-image: url(" + $src + ")";
30
- }, function (_a) {
31
- var $height = _a.$height, ratio = _a.ratio;
32
- return ratio === 'auto' && $height && "height: " + $height + "px";
33
- }, function (_a) {
34
- var $height = _a.$height, noImageHeight = _a.noImageHeight, ratio = _a.ratio;
35
- return ratio === 'auto' && ($height || noImageHeight) && "min-height: " + ($height || noImageHeight) + "px";
37
+ var wrapperStyle = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n ", ";\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
38
+ var theme = _a.theme, backgroundFillMode = _a.backgroundFillMode;
39
+ return backgroundFillMode === 'use' ? "background-color: " + theme.ui_temp_grey_04 : '';
36
40
  }, function (_a) {
37
41
  var borderMode = _a.borderMode, theme = _a.theme;
38
42
  return borderMode === 'use' && "border: 1px solid " + theme.ui_profile_image_border;
@@ -44,6 +48,17 @@ var S_ImageView = styled_components_1.default.div(templateObject_2 || (templateO
44
48
  circular: 'border-radius: 50%',
45
49
  rectangle: ''
46
50
  }[shapeType];
51
+ });
52
+ var S_RatioImageViewWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n min-width: ", ";\n width: ", ";\n"], ["\n ", "\n min-width: ", ";\n width: ", ";\n"])), wrapperStyle, function (_a) {
53
+ var $width = _a.$width;
54
+ return ($width === 'responsive' ? '100%' : $width + "px");
55
+ }, function (_a) {
56
+ var $width = _a.$width;
57
+ return ($width === 'responsive' ? '100%' : $width + "px");
58
+ });
59
+ var S_RatioImageView = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-position: center;\n background-repeat: no-repeat;\n width: 100%;\n ", ";\n ", ";\n ", ";\n"], ["\n background-position: center;\n background-repeat: no-repeat;\n width: 100%;\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
60
+ var theme = _a.theme, $src = _a.$src;
61
+ return $src ? "background-image: url(" + $src + ")" : "background-color: " + theme.ui_temp_grey_04;
47
62
  }, function (_a) {
48
63
  var scaleType = _a.scaleType;
49
64
  return scaleType &&
@@ -56,6 +71,7 @@ var S_ImageView = styled_components_1.default.div(templateObject_2 || (templateO
56
71
  }, function (_a) {
57
72
  var ratio = _a.ratio;
58
73
  return ratio &&
74
+ ratio !== 'auto' &&
59
75
  {
60
76
  '16_9': 'padding-top: 56.25%',
61
77
  '9_16': 'padding-top: 177.77%',
@@ -63,13 +79,79 @@ var S_ImageView = styled_components_1.default.div(templateObject_2 || (templateO
63
79
  '10_16': 'padding-top: 159.74%',
64
80
  '4_3': 'padding-top: 75%',
65
81
  '3_4': 'padding-top: 133.33%',
66
- '1_1': 'padding-top: 100%',
67
- auto: ''
82
+ '1_1': 'padding-top: 100%'
68
83
  }[ratio];
69
84
  });
70
- var S_ImageViewImg = styled_components_1.default.img(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n width: 100%;\n ", ";\n"], ["\n display: block;\n width: 100%;\n ", ";\n"])), function (_a) {
85
+ var onlyWidthWrapperStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n ", ";\n"], ["\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n ", ";\n"])), function (_a) {
86
+ var noImageHeight = _a.noImageHeight;
87
+ return (noImageHeight ? noImageHeight + "px" : 'auto');
88
+ }, function (_a) {
89
+ var $width = _a.$width;
90
+ return ($width === 'responsive' ? '100%' : $width + "px");
91
+ }, function (_a) {
92
+ var noImageHeight = _a.noImageHeight;
93
+ return (noImageHeight ? noImageHeight + "px" : 'auto');
94
+ }, function (_a) {
95
+ var $width = _a.$width;
96
+ return ($width === 'responsive' ? '100%' : $width + "px");
97
+ }, function (_a) {
98
+ var theme = _a.theme, noImageHeight = _a.noImageHeight;
99
+ return noImageHeight ? "background-color: " + theme.ui_temp_grey_04 : '';
100
+ });
101
+ var onlyHeightWrapperStyle = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n ", ";\n"], ["\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n ", ";\n"])), function (_a) {
102
+ var $height = _a.$height;
103
+ return ($height === 'responsive' ? '100%' : $height + "px");
104
+ }, function (_a) {
105
+ var noImageWidth = _a.noImageWidth;
106
+ return (noImageWidth ? noImageWidth + "px" : 'auto');
107
+ }, function (_a) {
108
+ var $height = _a.$height;
109
+ return ($height === 'responsive' ? '100%' : $height + "px");
110
+ }, function (_a) {
111
+ var noImageWidth = _a.noImageWidth;
112
+ return (noImageWidth ? noImageWidth + "px" : 'auto');
113
+ }, function (_a) {
114
+ var theme = _a.theme, noImageWidth = _a.noImageWidth;
115
+ return noImageWidth ? "background-color: " + theme.ui_temp_grey_04 : '';
116
+ });
117
+ var bothWrapperStyle = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n min-height: ", ";\n height: ", ";\n min-width: ", ";\n width: ", ";\n"], ["\n min-height: ", ";\n height: ", ";\n min-width: ", ";\n width: ", ";\n"])), function (_a) {
118
+ var $height = _a.$height;
119
+ return ($height === 'responsive' ? '100%' : $height + "px");
120
+ }, function (_a) {
121
+ var $height = _a.$height;
122
+ return ($height === 'responsive' ? '100%' : $height + "px");
123
+ }, function (_a) {
124
+ var $width = _a.$width;
125
+ return ($width === 'responsive' ? '100%' : $width + "px");
126
+ }, function (_a) {
127
+ var $width = _a.$width;
128
+ return ($width === 'responsive' ? '100%' : $width + "px");
129
+ });
130
+ var onlyWidthStyle = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 100%;\n height: auto;\n"], ["\n width: 100%;\n height: auto;\n"])));
131
+ var onlyHeightStyle = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n width: auto;\n height: 100%;\n"], ["\n width: auto;\n height: 100%;\n"])));
132
+ var bothStyle = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
133
+ var S_AutoImageViewWrapper = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n ", ";\n ", ";\n ", ";\n"], ["\n ", "\n ", ";\n ", ";\n ", ";\n"])), wrapperStyle, function (_a) {
134
+ var $width = _a.$width, $height = _a.$height;
135
+ return $width && !$height && onlyWidthWrapperStyle;
136
+ }, function (_a) {
137
+ var $width = _a.$width, $height = _a.$height;
138
+ return !$width && $height && onlyHeightWrapperStyle;
139
+ }, function (_a) {
140
+ var $width = _a.$width, $height = _a.$height;
141
+ return $width && $height && bothWrapperStyle;
142
+ });
143
+ var S_AutoImageView = styled_components_1.default.img(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n vertical-align: bottom;\n ", ";\n ", ";\n ", ";\n ", ";\n"], ["\n vertical-align: bottom;\n ", ";\n ", ";\n ", ";\n ", ";\n"])), function (_a) {
71
144
  var scaleType = _a.scaleType;
72
- return (scaleType !== 'none' ? "object-fit: " + scaleType + ";height: 100%;" : '');
145
+ return (scaleType !== 'none' ? "object-fit: " + scaleType + ";" : '');
146
+ }, function (_a) {
147
+ var $width = _a.$width, $height = _a.$height;
148
+ return $width && !$height && onlyWidthStyle;
149
+ }, function (_a) {
150
+ var $width = _a.$width, $height = _a.$height;
151
+ return !$width && $height && onlyHeightStyle;
152
+ }, function (_a) {
153
+ var $width = _a.$width, $height = _a.$height;
154
+ return $width && $height && bothStyle;
73
155
  });
74
156
  exports.default = ImageView;
75
- var templateObject_1, templateObject_2, templateObject_3;
157
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare type SwitchProps = {
3
+ status?: 'off' | 'on';
4
+ state?: 'normal' | 'disabled';
5
+ name: string;
6
+ onClick?: (status: boolean) => void;
7
+ };
8
+ declare function Switch({ status, state, name, onClick }: SwitchProps): JSX.Element;
9
+ export default Switch;