@pfct/purple 1.3.8-rc.2 → 1.4.0-npm-test.2

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 (564) hide show
  1. package/.history/.eslintrc.config_20240620114140.js +39 -0
  2. package/.history/.eslintrc.config_20240620130453.js +164 -0
  3. package/.history/.eslintrc_20230510193851.json +164 -0
  4. package/.history/.eslintrc_20240620114141.json +39 -0
  5. package/.history/.eslintrc_20240620131751.js +164 -0
  6. package/.history/.eslintrc_20240620132945.js +164 -0
  7. package/.history/.eslintrc_20240620133123.js +163 -0
  8. package/.history/.eslintrc_20240620133153.js +164 -0
  9. package/.history/.gitignore_20240620105113 +21 -0
  10. package/.history/.husky/commit-msg_20230510193851 +4 -0
  11. package/.history/.husky/commit-msg_20240620132755 +4 -0
  12. package/.history/.storybook/main_20230511183243.ts +15 -0
  13. package/.history/.storybook/main_20240620103059.ts +9 -0
  14. package/.history/.storybook/main_20240620103349.ts +15 -0
  15. package/.history/config-overrides_20230523140429.js +7 -0
  16. package/.history/config-overrides_20230523140438.js +7 -0
  17. package/.history/config-overrides_20230523140456.js +7 -0
  18. package/.history/config-overrides_20230523140500.js +7 -0
  19. package/.history/config-overrides_20230523141258.js +8 -0
  20. package/.history/config-overrides_20230523141523.js +15 -0
  21. package/.history/config-overrides_20230523141527.js +14 -0
  22. package/.history/config-overrides_20230523141528.js +14 -0
  23. package/.history/config-overrides_20230523141828.js +7 -0
  24. package/.history/config-overrides_20230523142043.js +7 -0
  25. package/.history/config-overrides_20230523144759.js +7 -0
  26. package/.history/config-overrides_20230523144844.js +7 -0
  27. package/.history/config-overrides_20230523145025.js +8 -0
  28. package/.history/config-overrides_20230523145244.js +8 -0
  29. package/.history/config-overrides_20230523145557.js +8 -0
  30. package/.history/config-overrides_20230523145640.js +8 -0
  31. package/.history/config-overrides_20230523145642.js +8 -0
  32. package/.history/config-overrides_20230523150101.js +8 -0
  33. package/.history/config-overrides_20230523150817.js +8 -0
  34. package/.history/config-overrides_20230523151011.js +8 -0
  35. package/.history/config-overrides_20230523151022.js +8 -0
  36. package/.history/config-overrides_20230523151050.js +8 -0
  37. package/.history/config-overrides_20230523151057.js +8 -0
  38. package/.history/config-overrides_20230523155303.js +5 -0
  39. package/.history/config-overrides_20230524135448.js +6 -0
  40. package/.history/e2e/pages/dist/index_20230518173449.html +15 -0
  41. package/.history/e2e/pages/dist/index_20230518182705.html +20 -0
  42. package/.history/e2e/pages/dist/index_20230522152456.html +18 -0
  43. package/.history/e2e/pages/dist/index_20230522152506.html +16 -0
  44. package/.history/e2e/pages/index_20230511135904.html +15 -0
  45. package/.history/e2e/pages/index_20230511173402.html +21 -0
  46. package/.history/e2e/pages/index_20230511173459.html +21 -0
  47. package/.history/e2e/pages/index_20230511173549.html +17 -0
  48. package/.history/e2e/pages/index_20230511174725.html +366 -0
  49. package/.history/e2e/pages/index_20230511174818.html +18 -0
  50. package/.history/e2e/pages/index_20230511175151.html +366 -0
  51. package/.history/e2e/pages/index_20230511180114.html +15 -0
  52. package/.history/e2e/pages/index_20230518182740.html +20 -0
  53. package/.history/e2e/pages/index_20230518182804.html +21 -0
  54. package/.history/e2e/pages/index_20230522153300.html +15 -0
  55. package/.history/e2e/pages/public/index_20230523135713.html +15 -0
  56. package/.history/e2e/pages/public/index_20230523141954.html +14 -0
  57. package/.history/e2e/pages/src/api/index_20230510193933.ts +26 -0
  58. package/.history/e2e/pages/src/api/index_20230511113640.ts +26 -0
  59. package/.history/e2e/pages/src/api/index_20230511151752.ts +26 -0
  60. package/.history/e2e/pages/src/components/Loading_20230511175734.tsx +12 -0
  61. package/.history/e2e/pages/src/components/Loading_20230511175931.tsx +14 -0
  62. package/.history/e2e/pages/src/index.styled_20230510193933.ts +13 -0
  63. package/.history/e2e/pages/src/index.styled_20230511151410.ts +13 -0
  64. package/.history/e2e/pages/src/index.styled_20230511151526.ts +13 -0
  65. package/.history/e2e/pages/src/index.styled_20230511151814.ts +13 -0
  66. package/.history/e2e/pages/src/index.styled_20230511172842.ts +14 -0
  67. package/.history/e2e/pages/src/index.styled_20230511172927.ts +15 -0
  68. package/.history/e2e/pages/src/index.styled_20230511172936.ts +16 -0
  69. package/.history/e2e/pages/src/index.styled_20230511173014.ts +13 -0
  70. package/.history/e2e/pages/src/index_20230510193933.tsx +64 -0
  71. package/.history/e2e/pages/src/index_20230511112721.tsx +64 -0
  72. package/.history/e2e/pages/src/index_20230511124302.tsx +77 -0
  73. package/.history/e2e/pages/src/index_20230511124322.tsx +77 -0
  74. package/.history/e2e/pages/src/index_20230511124506.tsx +72 -0
  75. package/.history/e2e/pages/src/index_20230511124716.tsx +72 -0
  76. package/.history/e2e/pages/src/index_20230511133409.tsx +72 -0
  77. package/.history/e2e/pages/src/index_20230511141608.tsx +77 -0
  78. package/.history/e2e/pages/src/index_20230511141609.tsx +77 -0
  79. package/.history/e2e/pages/src/index_20230511142059.tsx +77 -0
  80. package/.history/e2e/pages/src/index_20230511144242.tsx +77 -0
  81. package/.history/e2e/pages/src/index_20230511145239.tsx +81 -0
  82. package/.history/e2e/pages/src/index_20230511145611.tsx +81 -0
  83. package/.history/e2e/pages/src/index_20230511150038.tsx +81 -0
  84. package/.history/e2e/pages/src/index_20230511150332.tsx +87 -0
  85. package/.history/e2e/pages/src/index_20230511150409.tsx +87 -0
  86. package/.history/e2e/pages/src/index_20230511150806.tsx +96 -0
  87. package/.history/e2e/pages/src/index_20230511150921.tsx +96 -0
  88. package/.history/e2e/pages/src/index_20230511151119.tsx +96 -0
  89. package/.history/e2e/pages/src/index_20230511151212.tsx +89 -0
  90. package/.history/e2e/pages/src/index_20230511151213.tsx +89 -0
  91. package/.history/e2e/pages/src/index_20230511151402.tsx +86 -0
  92. package/.history/e2e/pages/src/index_20230511151506.tsx +79 -0
  93. package/.history/e2e/pages/src/index_20230511151508.tsx +75 -0
  94. package/.history/e2e/pages/src/index_20230511153005.tsx +71 -0
  95. package/.history/e2e/pages/src/index_20230511153107.tsx +73 -0
  96. package/.history/e2e/pages/src/index_20230511153108.tsx +73 -0
  97. package/.history/e2e/pages/src/index_20230511153531.tsx +76 -0
  98. package/.history/e2e/pages/src/index_20230511153708.tsx +73 -0
  99. package/.history/e2e/pages/src/index_20230511153839.tsx +75 -0
  100. package/.history/e2e/pages/src/index_20230511154213.tsx +81 -0
  101. package/.history/e2e/pages/src/index_20230511154216.tsx +79 -0
  102. package/.history/e2e/pages/src/index_20230511154409.tsx +83 -0
  103. package/.history/e2e/pages/src/index_20230511154449.tsx +85 -0
  104. package/.history/e2e/pages/src/index_20230511154635.tsx +91 -0
  105. package/.history/e2e/pages/src/index_20230511154636.tsx +91 -0
  106. package/.history/e2e/pages/src/index_20230511154930.tsx +96 -0
  107. package/.history/e2e/pages/src/index_20230511154944.tsx +94 -0
  108. package/.history/e2e/pages/src/index_20230511154945.tsx +93 -0
  109. package/.history/e2e/pages/src/index_20230511155010.tsx +91 -0
  110. package/.history/e2e/pages/src/index_20230511160112.tsx +92 -0
  111. package/.history/e2e/pages/src/index_20230511160930.tsx +92 -0
  112. package/.history/e2e/pages/src/index_20230511161050.tsx +92 -0
  113. package/.history/e2e/pages/src/index_20230511161157.tsx +93 -0
  114. package/.history/e2e/pages/src/index_20230511161212.tsx +93 -0
  115. package/.history/e2e/pages/src/index_20230511161244.tsx +92 -0
  116. package/.history/e2e/pages/src/index_20230511161304.tsx +92 -0
  117. package/.history/e2e/pages/src/index_20230511161307.tsx +92 -0
  118. package/.history/e2e/pages/src/index_20230511161344.tsx +92 -0
  119. package/.history/e2e/pages/src/index_20230511161426.tsx +98 -0
  120. package/.history/e2e/pages/src/index_20230511161627.tsx +101 -0
  121. package/.history/e2e/pages/src/index_20230511161654.tsx +101 -0
  122. package/.history/e2e/pages/src/index_20230511161714.tsx +102 -0
  123. package/.history/e2e/pages/src/index_20230511161721.tsx +103 -0
  124. package/.history/e2e/pages/src/index_20230511161739.tsx +105 -0
  125. package/.history/e2e/pages/src/index_20230511161856.tsx +104 -0
  126. package/.history/e2e/pages/src/index_20230511162002.tsx +105 -0
  127. package/.history/e2e/pages/src/index_20230511162106.tsx +106 -0
  128. package/.history/e2e/pages/src/index_20230511163614.tsx +109 -0
  129. package/.history/e2e/pages/src/index_20230511163744.tsx +109 -0
  130. package/.history/e2e/pages/src/index_20230511165031.tsx +112 -0
  131. package/.history/e2e/pages/src/index_20230511165033.tsx +111 -0
  132. package/.history/e2e/pages/src/index_20230511165356.tsx +112 -0
  133. package/.history/e2e/pages/src/index_20230511165613.tsx +113 -0
  134. package/.history/e2e/pages/src/index_20230511165615.tsx +113 -0
  135. package/.history/e2e/pages/src/index_20230511170431.tsx +121 -0
  136. package/.history/e2e/pages/src/index_20230511170448.tsx +122 -0
  137. package/.history/e2e/pages/src/index_20230511170740.tsx +123 -0
  138. package/.history/e2e/pages/src/index_20230511170856.tsx +123 -0
  139. package/.history/e2e/pages/src/index_20230511170952.tsx +124 -0
  140. package/.history/e2e/pages/src/index_20230511171513.tsx +119 -0
  141. package/.history/e2e/pages/src/index_20230511171555.tsx +119 -0
  142. package/.history/e2e/pages/src/index_20230511171611.tsx +119 -0
  143. package/.history/e2e/pages/src/index_20230511171832.tsx +120 -0
  144. package/.history/e2e/pages/src/index_20230511171850.tsx +120 -0
  145. package/.history/e2e/pages/src/index_20230511172356.tsx +113 -0
  146. package/.history/e2e/pages/src/index_20230511172732.tsx +118 -0
  147. package/.history/e2e/pages/src/index_20230511172752.tsx +116 -0
  148. package/.history/e2e/pages/src/index_20230511172825.tsx +116 -0
  149. package/.history/e2e/pages/src/index_20230511173028.tsx +115 -0
  150. package/.history/e2e/pages/src/index_20230511173124.tsx +114 -0
  151. package/.history/e2e/pages/src/index_20230511173144.tsx +115 -0
  152. package/.history/e2e/pages/src/index_20230511173209.tsx +119 -0
  153. package/.history/e2e/pages/src/index_20230511173213.tsx +119 -0
  154. package/.history/e2e/pages/src/index_20230511173235.tsx +123 -0
  155. package/.history/e2e/pages/src/index_20230511173238.tsx +121 -0
  156. package/.history/e2e/pages/src/index_20230511173303.tsx +121 -0
  157. package/.history/e2e/pages/src/index_20230511173312.tsx +121 -0
  158. package/.history/e2e/pages/src/index_20230511173604.tsx +121 -0
  159. package/.history/e2e/pages/src/index_20230511173623.tsx +121 -0
  160. package/.history/e2e/pages/src/index_20230511173628.tsx +121 -0
  161. package/.history/e2e/pages/src/index_20230511174842.tsx +121 -0
  162. package/.history/e2e/pages/src/index_20230511175122.tsx +121 -0
  163. package/.history/e2e/pages/src/index_20230511175133.tsx +121 -0
  164. package/.history/e2e/pages/src/index_20230511175327.tsx +121 -0
  165. package/.history/e2e/pages/src/index_20230511175329.tsx +121 -0
  166. package/.history/e2e/pages/src/index_20230511175343.tsx +121 -0
  167. package/.history/e2e/pages/src/index_20230511175344.tsx +121 -0
  168. package/.history/e2e/pages/src/index_20230511175345.tsx +121 -0
  169. package/.history/e2e/pages/src/index_20230511175412.tsx +121 -0
  170. package/.history/e2e/pages/src/index_20230511175422.tsx +121 -0
  171. package/.history/e2e/pages/src/index_20230511175426.tsx +121 -0
  172. package/.history/e2e/pages/src/index_20230511175501.tsx +121 -0
  173. package/.history/e2e/pages/src/index_20230511175515.tsx +121 -0
  174. package/.history/e2e/pages/src/index_20230511175521.tsx +121 -0
  175. package/.history/e2e/pages/src/index_20230511175530.tsx +121 -0
  176. package/.history/e2e/pages/src/index_20230511175538.tsx +123 -0
  177. package/.history/e2e/pages/src/index_20230511175542.tsx +121 -0
  178. package/.history/e2e/pages/src/index_20230511175602.tsx +121 -0
  179. package/.history/e2e/pages/src/index_20230511175621.tsx +121 -0
  180. package/.history/e2e/pages/src/index_20230511175813.tsx +116 -0
  181. package/.history/e2e/pages/src/index_20230511175819.tsx +116 -0
  182. package/.history/e2e/pages/src/index_20230511175844.tsx +116 -0
  183. package/.history/e2e/pages/src/index_20230511175845.tsx +116 -0
  184. package/.history/e2e/pages/src/index_20230511180023.tsx +118 -0
  185. package/.history/e2e/pages/src/index_20230511182316.tsx +125 -0
  186. package/.history/e2e/pages/src/index_20230511182608.tsx +125 -0
  187. package/.history/e2e/pages/src/index_20230511182609.tsx +125 -0
  188. package/.history/e2e/pages/src/index_20230511182757.tsx +125 -0
  189. package/.history/e2e/pages/src/index_20230511182903.tsx +125 -0
  190. package/.history/e2e/pages/src/index_20230511182937.tsx +126 -0
  191. package/.history/e2e/pages/src/index_20230511182948.tsx +125 -0
  192. package/.history/e2e/pages/src/index_20230511183018.tsx +125 -0
  193. package/.history/e2e/pages/src/index_20230511183133.tsx +125 -0
  194. package/.history/e2e/pages/src/index_20230512155015.tsx +125 -0
  195. package/.history/e2e/pages/src/index_20230523142330.tsx +126 -0
  196. package/.history/e2e/pages/src/index_20230523142331.tsx +126 -0
  197. package/.history/e2e/pages/src/index_20230524135532.tsx +125 -0
  198. package/.history/e2e/pages/src/index_20230524221001.tsx +125 -0
  199. package/.history/e2e/pages/src/index_20230524221118.tsx +125 -0
  200. package/.history/e2e/pages/src/util/index_20230510193933.ts +72 -0
  201. package/.history/e2e/pages/src/util/index_20230511160018.ts +73 -0
  202. package/.history/e2e/pages/src/util/index_20230511160344.ts +74 -0
  203. package/.history/e2e/pages/src/util/index_20230511160737.ts +75 -0
  204. package/.history/e2e/pages/src/util/index_20230511160755.ts +75 -0
  205. package/.history/e2e/pages/src/util/index_20230511160837.ts +73 -0
  206. package/.history/e2e/pages/src/util/index_20230511161107.ts +72 -0
  207. package/.history/e2e/pages/src/util/index_20230511172301.ts +81 -0
  208. package/.history/e2e/pages/src/util/index_20230512154151.ts +89 -0
  209. package/.history/e2e/pages/src/util/index_20230512154521.ts +98 -0
  210. package/.history/e2e/pages/src/util/index_20230512154722.ts +98 -0
  211. package/.history/e2e/pages/src/util/index_20230512154913.ts +91 -0
  212. package/.history/e2e/pages/src/util/index_20230512155144.ts +91 -0
  213. package/.history/e2e/pages/src/util/index_20230512155145.ts +91 -0
  214. package/.history/e2e/pages/src/util/index_20230512155146.ts +91 -0
  215. package/.history/e2e/pages/src/util/index_20230512155153.ts +90 -0
  216. package/.history/e2e/pages/src/util/index_20230512155624.ts +90 -0
  217. package/.history/e2e/pages/src/util/index_20230512155741.ts +90 -0
  218. package/.history/e2e/pages/src/util/index_20230512155917.ts +90 -0
  219. package/.history/e2e/pages/src/util/index_20230524221047.ts +97 -0
  220. package/.history/e2e/pages/webpack.config_20230510193933.js +30 -0
  221. package/.history/e2e/pages/webpack.config_20230511144239.js +39 -0
  222. package/.history/e2e/pages/webpack.config_20230511144341.js +39 -0
  223. package/.history/e2e/pages/webpack.config_20230511144430.js +39 -0
  224. package/.history/e2e/pages/webpack.config_20230511144644.js +41 -0
  225. package/.history/e2e/pages/webpack.config_20230511144645.js +41 -0
  226. package/.history/e2e/pages/webpack.config_20230511144753.js +41 -0
  227. package/.history/e2e/pages/webpack.config_20230511144802.js +41 -0
  228. package/.history/e2e/pages/webpack.config_20230511144845.js +41 -0
  229. package/.history/e2e/pages/webpack.config_20230511144926.js +41 -0
  230. package/.history/e2e/pages/webpack.config_20230511144934.js +41 -0
  231. package/.history/e2e/pages/webpack.config_20230511144943.js +40 -0
  232. package/.history/e2e/pages/webpack.config_20230511145020.js +39 -0
  233. package/.history/e2e/pages/webpack.config_20230511145106.js +41 -0
  234. package/.history/e2e/pages/webpack.config_20230511145716.js +41 -0
  235. package/.history/e2e/pages/webpack.config_20230511145916.js +36 -0
  236. package/.history/e2e/pages/webpack.config_20230518173344.js +37 -0
  237. package/.history/e2e/pages/webpack.config_20230518174552.js +36 -0
  238. package/.history/e2e/pages/webpack.config_20230523133653.js +35 -0
  239. package/.history/e2e/public/index_20230524155527.html +43 -0
  240. package/.history/e2e/public/index_20230524162254.html +43 -0
  241. package/.history/e2e/public/index_20230524185229.html +37 -0
  242. package/.history/e2e/public/index_20230524215646.html +13 -0
  243. package/.history/e2e/public/index_20230524215648.html +12 -0
  244. package/.history/e2e/src/api/index_20230524161035.ts +26 -0
  245. package/.history/e2e/src/api/index_20230524215532.ts +26 -0
  246. package/.history/e2e/src/components/Home/index_20230524161228.tsx +125 -0
  247. package/.history/e2e/src/components/Home/index_20230524161356.tsx +116 -0
  248. package/.history/e2e/src/components/Home/index_20230524161420.tsx +115 -0
  249. package/.history/e2e/src/components/Home/index_20230524161442.tsx +115 -0
  250. package/.history/e2e/src/components/Home/index_20230525002542.tsx +123 -0
  251. package/.history/e2e/src/components/Home/index_20230525002658.tsx +125 -0
  252. package/.history/e2e/src/components/Home/index_20230525002730.tsx +126 -0
  253. package/.history/e2e/src/index_20230524155527.tsx +19 -0
  254. package/.history/e2e/src/index_20230524161122.tsx +125 -0
  255. package/.history/e2e/src/index_20230524161206.tsx +19 -0
  256. package/.history/e2e/src/index_20230524161343.tsx +17 -0
  257. package/.history/e2e/src/index_20230524161927.tsx +12 -0
  258. package/.history/e2e/src/index_20230524161943.tsx +11 -0
  259. package/.history/e2e/src/index_20230524215444.tsx +16 -0
  260. package/.history/e2e/src/util/index_20230524222013.ts +96 -0
  261. package/.history/e2e/src/util/index_20230525000927.ts +96 -0
  262. package/.history/e2e/src/util/index_20230525000928.ts +96 -0
  263. package/.history/e2e/src/util/index_20230525001227.ts +97 -0
  264. package/.history/e2e/src/util/index_20230525001229.ts +97 -0
  265. package/.history/e2e/src/util/index_20230525001439.ts +97 -0
  266. package/.history/e2e/src/util/index_20230525001641.ts +101 -0
  267. package/.history/e2e/src/util/index_20230525001953.ts +100 -0
  268. package/.history/e2e/src/util/index_20230525002514.ts +100 -0
  269. package/.history/e2e/src/util/index_20230525002533.ts +100 -0
  270. package/.history/ops/buildspec_20240620105123.yml +17 -0
  271. package/.history/package_20240620101011.json +176 -0
  272. package/.history/package_20240620102132.json +180 -0
  273. package/.history/package_20240620102136.json +179 -0
  274. package/.history/package_20240620102151.json +179 -0
  275. package/.history/package_20240620102153.json +179 -0
  276. package/.history/package_20240620102228.json +180 -0
  277. package/.history/package_20240620102534.json +181 -0
  278. package/.history/package_20240620102955.json +180 -0
  279. package/.history/package_20240620103103.json +181 -0
  280. package/.history/package_20240620103105.json +180 -0
  281. package/.history/package_20240620103120.json +181 -0
  282. package/.history/package_20240620103532.json +181 -0
  283. package/.history/package_20240620103741.json +181 -0
  284. package/.history/package_20240620103803.json +181 -0
  285. package/.history/package_20240620105356.json +181 -0
  286. package/.history/package_20240620110005.json +181 -0
  287. package/.history/package_20240620110042.json +172 -0
  288. package/.history/package_20240620131821.json +181 -0
  289. package/.history/package_20240620133118.json +179 -0
  290. package/.history/package_20240620133317.json +179 -0
  291. package/.history/package_20240620133341.json +179 -0
  292. package/.history/package_20240620135524.json +178 -0
  293. package/.history/public/index_20230523141735.html +15 -0
  294. package/.history/public/index_20230523141958.html +14 -0
  295. package/.history/src/components/Button/BaseButton/index_20240620100732.tsx +101 -0
  296. package/.history/src/components/Button/BaseButton/index_20240704140342.tsx +103 -0
  297. package/.history/src/components/Button/BaseButton/index_20240704140358.tsx +103 -0
  298. package/.history/src/components/Button/BaseButton/index_20240704140500.tsx +101 -0
  299. package/.history/src/components/Button/BaseButton/index_20240704140632.tsx +103 -0
  300. package/.history/src/components/Button/BaseButton/index_20240704140652.tsx +106 -0
  301. package/.history/src/components/Button/BaseButton/index_20240704140700.tsx +107 -0
  302. package/.history/src/components/Button/BaseButton/index_20240704140711.tsx +108 -0
  303. package/.history/src/components/Button/BaseButton/index_20240704140714.tsx +106 -0
  304. package/.history/src/components/Button/BaseButton/index_20240704140717.tsx +106 -0
  305. package/.history/src/components/Button/BaseButton/index_20240704140900.tsx +105 -0
  306. package/.history/src/components/Button/BaseButton/index_20240704140926.tsx +106 -0
  307. package/.history/src/components/Button/BaseButton/index_20240704140954.tsx +105 -0
  308. package/.history/src/components/Button/BaseButton/index_20240704141107.tsx +105 -0
  309. package/.history/src/components/Button/BaseButton/index_20240704141112.tsx +103 -0
  310. package/.history/src/components/Button/DoubleButton/index_20240620100732.tsx +53 -0
  311. package/.history/src/components/Button/DoubleButton/index_20240620133519.tsx +53 -0
  312. package/.history/src/components/Button/DoubleButton/index_20240620133607.tsx +53 -0
  313. package/.history/src/components/Control/CheckBox/index_20231208085202.tsx +51 -0
  314. package/.history/src/components/Control/CheckBox/index_20240102131509.tsx +53 -0
  315. package/.history/src/components/Control/CheckMark/index_20231208110651.tsx +33 -0
  316. package/.history/src/components/Control/CheckMark/index_20240104141745.tsx +35 -0
  317. package/.history/src/components/Input/BaseInput/index.styled_20230518172815.ts +149 -0
  318. package/.history/src/components/Input/BaseInput/index.styled_20230620134104.ts +150 -0
  319. package/.history/src/components/Input/BaseInput/index.styled_20230620153553.ts +150 -0
  320. package/.history/src/components/Input/BaseInput/index.styled_20230620162224.ts +151 -0
  321. package/.history/src/components/Input/PostfixInput/index.styled_20230518172815.ts +71 -0
  322. package/.history/src/components/Input/PostfixInput/index.styled_20230619181154.ts +72 -0
  323. package/.history/src/components/Input/PostfixInput/index.styled_20230619181243.ts +71 -0
  324. package/.history/src/components/Input/PostfixInput/index.styled_20230619181840.ts +70 -0
  325. package/.history/src/components/Input/PostfixInput/index.styled_20230619181843.ts +70 -0
  326. package/.history/src/components/Input/PostfixInput/index.styled_20230619181844.ts +70 -0
  327. package/.history/src/components/Input/PostfixInput/index.styled_20230620110646.ts +70 -0
  328. package/.history/src/components/Input/PostfixInput/index_20231208085501.tsx +173 -0
  329. package/.history/src/components/Input/PostfixInput/index_20231208085544.tsx +174 -0
  330. package/.history/src/components/Input/PostfixInput/index_20231208085701.tsx +175 -0
  331. package/.history/src/components/Input/PostfixInput/index_20231208090034.tsx +175 -0
  332. package/.history/src/components/Input/PostfixInput/index_20231208110722.tsx +174 -0
  333. package/.history/src/components/Input/PostfixInput/index_20231208110738.tsx +175 -0
  334. package/.history/src/components/Input/PostfixInput/index_20231208110752.tsx +176 -0
  335. package/.history/src/components/Input/index.stories_20230523113113.tsx +209 -0
  336. package/.history/src/components/Input/index.stories_20230619181021.tsx +210 -0
  337. package/.history/src/components/Input/index.stories_20230619181656.tsx +210 -0
  338. package/.history/src/components/Input/index.stories_20230619184317.tsx +210 -0
  339. package/.history/src/components/Loading/index_20230510193851.ts +4 -0
  340. package/.history/src/components/Loading/index_20230511140917.ts +5 -0
  341. package/.history/src/components/Loading/index_20230511151553.ts +4 -0
  342. package/.history/src/core/TextStyles/index_20230518172815.ts +158 -0
  343. package/.history/src/core/TextStyles/index_20230522164636.ts +158 -0
  344. package/.history/src/hooks/useLayoutIsMobile_20230510193851.ts +23 -0
  345. package/.history/src/hooks/useLayoutIsMobile_20240112115425.ts +23 -0
  346. package/.history/src/library/BasicLayout/index_20240620100732.tsx +89 -0
  347. package/.history/src/library/BasicLayout/index_20240620101635.tsx +89 -0
  348. package/.history/src/library/BasicLayout/index_20240620101752.tsx +89 -0
  349. package/.history/src/library/Flex/index.stories_20231208085202.tsx +41 -0
  350. package/.history/src/library/Flex/index.stories_20240620133414.tsx +41 -0
  351. package/.history/src/storybook/extend-color-type.stories_20240620100732.tsx +613 -0
  352. package/.history/src/storybook/extend-color-type.stories_20240620133449.tsx +613 -0
  353. package/.history/src/storybook/extend-color-type.stories_20240620133541.tsx +611 -0
  354. package/.history/src/storybook/extend-color-type.stories_20240620133550.tsx +609 -0
  355. package/.history/src/storybook/extend-color-type.stories_20240620133554.tsx +609 -0
  356. package/.history/src/utils/GenerateColorStyle/single-button_20240620100732.ts +109 -0
  357. package/.history/src/utils/GenerateColorStyle/single-button_20240702153725.ts +110 -0
  358. package/.history/src/utils/GenerateColorStyle/single-button_20240702153726.ts +110 -0
  359. package/.history/src/utils/GenerateColorStyle/single-button_20240702153826.ts +105 -0
  360. package/.history/src/utils/GenerateColorStyle/single-button_20240702153909.ts +110 -0
  361. package/.history/src/utils/GenerateColorStyle/single-button_20240702153934.ts +111 -0
  362. package/.history/src/utils/GenerateColorStyle/single-button_20240702153935.ts +111 -0
  363. package/.history/src/utils/GenerateColorStyle/single-button_20240704141120.ts +109 -0
  364. package/.history/yarn_20230510193944.lock +11943 -0
  365. package/.history/yarn_20230510194159.lock +11941 -0
  366. package/.vscode/settings.json +3 -0
  367. package/dist/components/Button/BaseButton/index.js +4 -2
  368. package/package.json +1 -1
  369. package/.build-storybook/1341.036b0413.iframe.bundle.js +0 -1
  370. package/.build-storybook/172.ea02123e.iframe.bundle.js +0 -1
  371. package/.build-storybook/1965.108e3614.iframe.bundle.js +0 -121
  372. package/.build-storybook/1965.108e3614.iframe.bundle.js.map +0 -1
  373. package/.build-storybook/2109.fd83da5e.iframe.bundle.js +0 -46
  374. package/.build-storybook/2109.fd83da5e.iframe.bundle.js.map +0 -1
  375. package/.build-storybook/2333.5709f3ed.iframe.bundle.js +0 -1
  376. package/.build-storybook/2991.a6871641.iframe.bundle.js +0 -1
  377. package/.build-storybook/4441.b93be02f.iframe.bundle.js +0 -1
  378. package/.build-storybook/4446.d823cd23.iframe.bundle.js +0 -1
  379. package/.build-storybook/4463.3b9d4be9.iframe.bundle.js +0 -44
  380. package/.build-storybook/4463.3b9d4be9.iframe.bundle.js.map +0 -1
  381. package/.build-storybook/4582.f3cf3997.iframe.bundle.js +0 -2
  382. package/.build-storybook/4582.f3cf3997.iframe.bundle.js.LICENSE.txt +0 -8
  383. package/.build-storybook/4698.02da77bd.iframe.bundle.js +0 -1
  384. package/.build-storybook/5661.6b60a6b3.iframe.bundle.js +0 -1
  385. package/.build-storybook/5898.17981f3a.iframe.bundle.js +0 -1
  386. package/.build-storybook/7058.5208eb63.iframe.bundle.js +0 -1
  387. package/.build-storybook/782.4c3df606.iframe.bundle.js +0 -402
  388. package/.build-storybook/782.4c3df606.iframe.bundle.js.LICENSE.txt +0 -56
  389. package/.build-storybook/782.4c3df606.iframe.bundle.js.map +0 -1
  390. package/.build-storybook/7856.80667440.iframe.bundle.js +0 -2
  391. package/.build-storybook/7856.80667440.iframe.bundle.js.LICENSE.txt +0 -8
  392. package/.build-storybook/8923.8ce812a9.iframe.bundle.js +0 -1
  393. package/.build-storybook/9469.3298ca9c.iframe.bundle.js +0 -1
  394. package/.build-storybook/Icon-index-stories.323a8702.iframe.bundle.js +0 -2
  395. package/.build-storybook/Icon-index-stories.323a8702.iframe.bundle.js.LICENSE.txt +0 -8
  396. package/.build-storybook/components-Badge-IconBadge-index-stories.ea59237d.iframe.bundle.js +0 -1
  397. package/.build-storybook/components-Badge-TextBadge-index-stories.09b543af.iframe.bundle.js +0 -1
  398. package/.build-storybook/components-BottomSheet-NavBottomSheet-index-stories.e989d5db.iframe.bundle.js +0 -1
  399. package/.build-storybook/components-BottomSheet-TitleBottomSheet-index-stories.45cac11e.iframe.bundle.js +0 -1
  400. package/.build-storybook/components-Button-DoubleButton-index-stories.843a0709.iframe.bundle.js +0 -1
  401. package/.build-storybook/components-Button-SingleButton-index-stories.6c3c9169.iframe.bundle.js +0 -1
  402. package/.build-storybook/components-Card-index-stories.d9989606.iframe.bundle.js +0 -1
  403. package/.build-storybook/components-Chips-index-stories.70495338.iframe.bundle.js +0 -1
  404. package/.build-storybook/components-Comment-index-stories.52d9bd9f.iframe.bundle.js +0 -2
  405. package/.build-storybook/components-Comment-index-stories.52d9bd9f.iframe.bundle.js.LICENSE.txt +0 -8
  406. package/.build-storybook/components-Control-CheckBox-index-stories.9c69b383.iframe.bundle.js +0 -1
  407. package/.build-storybook/components-Control-CheckMark-index-stories.9e0607ae.iframe.bundle.js +0 -1
  408. package/.build-storybook/components-Control-RadioButton-index-stories.2cdab497.iframe.bundle.js +0 -1
  409. package/.build-storybook/components-Control-Switch-index-stories.9918db98.iframe.bundle.js +0 -1
  410. package/.build-storybook/components-DatePicker-RangeDatePicker-index-stories.fc1ae3bb.iframe.bundle.js +0 -1
  411. package/.build-storybook/components-DatePicker-RangeDatePickerModal-index-stories.29a5990b.iframe.bundle.js +0 -1
  412. package/.build-storybook/components-DatePicker-SingleDatePicker-index-stories.237e8b4a.iframe.bundle.js +0 -1
  413. package/.build-storybook/components-DatePicker-SingleDatePickerModal-index-stories.05f2092c.iframe.bundle.js +0 -1
  414. package/.build-storybook/components-Divider-index-stories.f22689f5.iframe.bundle.js +0 -1
  415. package/.build-storybook/components-Input-index-stories.e686b65f.iframe.bundle.js +0 -1
  416. package/.build-storybook/components-Loading-index-stories.5fa13c58.iframe.bundle.js +0 -1
  417. package/.build-storybook/components-MiniButton-BoxMiniButton-index-stories.b3781690.iframe.bundle.js +0 -1
  418. package/.build-storybook/components-MiniButton-IconMiniButton-index-stories.6f91f33b.iframe.bundle.js +0 -1
  419. package/.build-storybook/components-MiniButton-UnderLineMiniButton-index-stories.daf8e4df.iframe.bundle.js +0 -1
  420. package/.build-storybook/components-Modal-index-stories.31e11593.iframe.bundle.js +0 -1
  421. package/.build-storybook/components-Navigation-index-stories.adf0819d.iframe.bundle.js +0 -1
  422. package/.build-storybook/components-Segment-index-stories.d40d4099.iframe.bundle.js +0 -2
  423. package/.build-storybook/components-Segment-index-stories.d40d4099.iframe.bundle.js.LICENSE.txt +0 -8
  424. package/.build-storybook/components-Tabs-FillTabs-index-stories.7e21ec77.iframe.bundle.js +0 -1
  425. package/.build-storybook/components-Tabs-TextTabs-index-stories.103ffbf6.iframe.bundle.js +0 -1
  426. package/.build-storybook/components-Tag-index-stories.a07da1a1.iframe.bundle.js +0 -1
  427. package/.build-storybook/components-Title-index-stories.afe0b53e.iframe.bundle.js +0 -1
  428. package/.build-storybook/components-ToastMessage-Toast-index-stories.ea34d5d9.iframe.bundle.js +0 -1
  429. package/.build-storybook/components-Tooltip-BasicTooltip-index-stories.e7b43bfc.iframe.bundle.js +0 -1
  430. package/.build-storybook/components-Tooltip-ImpactTooltip-index-stories.347b401c.iframe.bundle.js +0 -1
  431. package/.build-storybook/core-Colors-index-stories.03b34bb2.iframe.bundle.js +0 -1
  432. package/.build-storybook/core-Typography-index-stories.f364e712.iframe.bundle.js +0 -1
  433. package/.build-storybook/favicon.svg +0 -7
  434. package/.build-storybook/iframe.html +0 -406
  435. package/.build-storybook/index.html +0 -130
  436. package/.build-storybook/index.json +0 -1
  437. package/.build-storybook/library-BasicForm-index-stories.9bbd932c.iframe.bundle.js +0 -1
  438. package/.build-storybook/library-BasicLayout-3All-stories.8bc671b6.iframe.bundle.js +0 -1
  439. package/.build-storybook/library-BasicLayout-NoFooter-stories.7eda6ecd.iframe.bundle.js +0 -1
  440. package/.build-storybook/library-BasicLayout-NoHeader-stories.25727f30.iframe.bundle.js +0 -1
  441. package/.build-storybook/library-BasicLayout-OnlyBody-stories.002e7d7a.iframe.bundle.js +0 -1
  442. package/.build-storybook/library-Flex-index-stories.96c3c13c.iframe.bundle.js +0 -1
  443. package/.build-storybook/library-Spacing-index-stories.79b820c2.iframe.bundle.js +0 -1
  444. package/.build-storybook/main.736e2fbc.iframe.bundle.js +0 -1
  445. package/.build-storybook/project.json +0 -1
  446. package/.build-storybook/runtime~main.8e84fcf6.iframe.bundle.js +0 -1
  447. package/.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs +0 -4
  448. package/.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs.map +0 -7
  449. package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs +0 -13
  450. package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs.LEGAL.txt +0 -0
  451. package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs.map +0 -7
  452. package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs +0 -117
  453. package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs.LEGAL.txt +0 -18
  454. package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs.map +0 -7
  455. package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs +0 -4
  456. package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs.LEGAL.txt +0 -0
  457. package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs.map +0 -7
  458. package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs +0 -4
  459. package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs.LEGAL.txt +0 -0
  460. package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs.map +0 -7
  461. package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs +0 -4
  462. package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs.LEGAL.txt +0 -0
  463. package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs.map +0 -7
  464. package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs +0 -4
  465. package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs.LEGAL.txt +0 -0
  466. package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs.map +0 -7
  467. package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs +0 -31
  468. package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs.LEGAL.txt +0 -18
  469. package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs.map +0 -7
  470. package/.build-storybook/sb-addons/links-0/manager-bundle.mjs +0 -4
  471. package/.build-storybook/sb-addons/links-0/manager-bundle.mjs.LEGAL.txt +0 -0
  472. package/.build-storybook/sb-addons/links-0/manager-bundle.mjs.map +0 -7
  473. package/.build-storybook/sb-common-assets/fonts.css +0 -31
  474. package/.build-storybook/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  475. package/.build-storybook/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  476. package/.build-storybook/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  477. package/.build-storybook/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  478. package/.build-storybook/sb-manager/GlobalScrollAreaStyles-XIHNDKUY-IPHQ3X5E.mjs +0 -1
  479. package/.build-storybook/sb-manager/OverlayScrollbars-VAV6LJAB-ZCK6WCDR.mjs +0 -6
  480. package/.build-storybook/sb-manager/WithTooltip-FBT32F6Q-4UGX56G2.mjs +0 -1
  481. package/.build-storybook/sb-manager/chunk-2HSPAR27.mjs +0 -207
  482. package/.build-storybook/sb-manager/chunk-2ZRMZUFB.mjs +0 -140
  483. package/.build-storybook/sb-manager/chunk-7NJ6NIF4.mjs +0 -1
  484. package/.build-storybook/sb-manager/chunk-CGFORC26.mjs +0 -7
  485. package/.build-storybook/sb-manager/chunk-CGGDZUA2.mjs +0 -15
  486. package/.build-storybook/sb-manager/chunk-GPWZILNL.mjs +0 -1
  487. package/.build-storybook/sb-manager/chunk-JCTATS4D.mjs +0 -1
  488. package/.build-storybook/sb-manager/chunk-KQFPYAFV.mjs +0 -1
  489. package/.build-storybook/sb-manager/chunk-TZHETJRI.mjs +0 -406
  490. package/.build-storybook/sb-manager/chunk-WCYDYUGX.mjs +0 -1
  491. package/.build-storybook/sb-manager/formatter-S4K5WUZV-X2U232II.mjs +0 -156
  492. package/.build-storybook/sb-manager/globals.mjs +0 -1
  493. package/.build-storybook/sb-manager/index.mjs +0 -1
  494. package/.build-storybook/sb-manager/runtime.mjs +0 -1
  495. package/.build-storybook/sb-manager/syntaxhighlighter-QTQ2UBB4-FBPGUO4L.mjs +0 -1
  496. package/.build-storybook/sb-preview/chunk-M7Z73WKF.mjs +0 -1
  497. package/.build-storybook/sb-preview/globals.mjs +0 -1
  498. package/.build-storybook/sb-preview/runtime.mjs +0 -105
  499. package/.build-storybook/stories.json +0 -1
  500. package/.build-storybook/storybook-extend-color-type-stories.90a332f4.iframe.bundle.js +0 -1
  501. package/dist/components/NavigationBar/BottomNavigationBar/index.d.ts +0 -14
  502. package/dist/components/NavigationBar/BottomNavigationBar/index.js +0 -44
  503. package/dist/components/NavigationBar/BottomNavigationBar/index.stories.d.ts +0 -6
  504. package/dist/components/NavigationBar/BottomNavigationBar/index.stories.js +0 -43
  505. package/dist/components/NavigationBar/BottomNavigationBar/index.styled.d.ts +0 -17
  506. package/dist/components/NavigationBar/BottomNavigationBar/index.styled.js +0 -29
  507. package/dist/components/NavigationBar/PageNavigationBar/constant.d.ts +0 -7
  508. package/dist/components/NavigationBar/PageNavigationBar/constant.js +0 -18
  509. package/dist/components/NavigationBar/PageNavigationBar/index.d.ts +0 -34
  510. package/dist/components/NavigationBar/PageNavigationBar/index.js +0 -88
  511. package/dist/components/NavigationBar/PageNavigationBar/index.spec.d.ts +0 -1
  512. package/dist/components/NavigationBar/PageNavigationBar/index.spec.js +0 -20
  513. package/dist/components/NavigationBar/PageNavigationBar/index.stories.d.ts +0 -18
  514. package/dist/components/NavigationBar/PageNavigationBar/index.stories.js +0 -146
  515. package/dist/components/NavigationBar/PageNavigationBar/index.styled.d.ts +0 -41
  516. package/dist/components/NavigationBar/PageNavigationBar/index.styled.js +0 -48
  517. package/dist/components/NavigationBar/TitleNavigationBar/index.d.ts +0 -14
  518. package/dist/components/NavigationBar/TitleNavigationBar/index.js +0 -59
  519. package/dist/components/NavigationBar/TitleNavigationBar/index.stories.d.ts +0 -7
  520. package/dist/components/NavigationBar/TitleNavigationBar/index.stories.js +0 -54
  521. package/dist/components/NavigationBar/TitleNavigationBar/index.styled.d.ts +0 -23
  522. package/dist/components/NavigationBar/TitleNavigationBar/index.styled.js +0 -25
  523. package/dist/components/NavigationBar/index.d.ts +0 -3
  524. package/dist/components/NavigationBar/index.js +0 -19
  525. package/dist/components/Tab/index.d.ts +0 -11
  526. package/dist/components/Tab/index.js +0 -38
  527. package/dist/components/Tab/index.spec.d.ts +0 -1
  528. package/dist/components/Tab/index.spec.js +0 -21
  529. package/dist/components/Tab/index.stories.d.ts +0 -16
  530. package/dist/components/Tab/index.stories.js +0 -107
  531. package/dist/components/Tab/index.styled.d.ts +0 -18
  532. package/dist/components/Tab/index.styled.js +0 -71
  533. package/dist/components/Tag/BaseTag/index.d.ts +0 -14
  534. package/dist/components/Tag/BaseTag/index.js +0 -37
  535. package/dist/components/Tag/BaseTag/index.styled.d.ts +0 -10
  536. package/dist/components/Tag/BaseTag/index.styled.js +0 -17
  537. package/dist/components/Tag/BlueTag.d.ts +0 -4
  538. package/dist/components/Tag/BlueTag.js +0 -10
  539. package/dist/components/Tag/GrayTag.d.ts +0 -4
  540. package/dist/components/Tag/GrayTag.js +0 -10
  541. package/dist/components/Tag/GreenTag.d.ts +0 -4
  542. package/dist/components/Tag/GreenTag.js +0 -10
  543. package/dist/components/Tag/LimeTag.d.ts +0 -4
  544. package/dist/components/Tag/LimeTag.js +0 -10
  545. package/dist/components/Tag/PinkTag.d.ts +0 -4
  546. package/dist/components/Tag/PinkTag.js +0 -10
  547. package/dist/components/Tag/PurpleTag.d.ts +0 -4
  548. package/dist/components/Tag/PurpleTag.js +0 -10
  549. package/dist/components/Tag/RedTag.d.ts +0 -4
  550. package/dist/components/Tag/RedTag.js +0 -10
  551. package/dist/components/Tag/YellowTag.d.ts +0 -4
  552. package/dist/components/Tag/YellowTag.js +0 -10
  553. package/dist/components/Tag/index.spec.d.ts +0 -1
  554. package/dist/components/Tag/index.spec.js +0 -14
  555. package/dist/library/ShareUI/Buttons.d.ts +0 -7
  556. package/dist/library/ShareUI/Buttons.js +0 -20
  557. package/dist/library/ShareUI/index.d.ts +0 -14
  558. package/dist/library/ShareUI/index.js +0 -59
  559. package/dist/library/ShareUI/index.stories.d.ts +0 -6
  560. package/dist/library/ShareUI/index.stories.js +0 -32
  561. package/dist/library/ShareUI/index.styled.d.ts +0 -60
  562. package/dist/library/ShareUI/index.styled.js +0 -60
  563. /package/{.build-storybook/image.png → .history/config-overrides_20230523140418.js} +0 -0
  564. /package/{.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs.LEGAL.txt → .history/e2e/pages/src/components/Loading_20230511175658.tsx} +0 -0
@@ -0,0 +1,96 @@
1
+ import { ItemType } from 'antd/es/menu/hooks/useItems';
2
+
3
+ /**
4
+ * TODO: 각 함수에 대해서 테스트 파일 작성하기
5
+ */
6
+
7
+ type MenuObject = {
8
+ [key: string]: MenuObject | string[];
9
+ };
10
+
11
+ const getMenuItem = (label: string, key: string, icon?: string, children?: ItemType[], type?: string) => {
12
+ return {
13
+ key,
14
+ icon,
15
+ children,
16
+ label,
17
+ type,
18
+ };
19
+ };
20
+
21
+ const createMenuList = (data: MenuObject, originKey = ''): ItemType[] => {
22
+ return Object.entries(data).map(([key, value]) => {
23
+ if (Array.isArray(value)) {
24
+ return {
25
+ key: `${key}/${originKey}`,
26
+ label: key,
27
+ children: value.map((fileName) => {
28
+ return getMenuItem(fileName, `${fileName}/${key}/${originKey}`);
29
+ }),
30
+ };
31
+ } else {
32
+ return getMenuItem(key, `${key}/${originKey}`, undefined, [...createMenuList(value, `${key}/${originKey}`)]);
33
+ }
34
+ });
35
+ };
36
+
37
+ const makeMenuListFromImageUrlList = (imageUrlList: string[]): ItemType[] => {
38
+ const obj: MenuObject = {};
39
+
40
+ imageUrlList.forEach((item) => {
41
+ const [service, domainName, testName, dateTime, childTest, fileName] = item.split('/');
42
+ /**
43
+ * TODO: 타입 수정 필요. 이렇게밖에 안되는지?
44
+ */
45
+ obj[service] = obj[service] || {};
46
+
47
+ (obj[service] as MenuObject)[domainName] = (obj[service] as MenuObject)[domainName] || {};
48
+
49
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] =
50
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] || {};
51
+
52
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] =
53
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] || {};
54
+
55
+ ((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
56
+ childTest
57
+ ] = (
58
+ (((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
59
+ childTest
60
+ ] as string[]) ?? []
61
+ ).concat([fileName]);
62
+ });
63
+
64
+ const items = [...createMenuList(obj)];
65
+
66
+ return items;
67
+ };
68
+
69
+ const getOriginImagePath = (path: string) => {
70
+ const temp = path.split('/').filter((item) => item);
71
+ temp.reverse();
72
+
73
+ const result = temp.join('/');
74
+
75
+ return result;
76
+ };
77
+
78
+ const getImageUrlList = (basicUrl: string, imageFolderUrl: string) => {
79
+ const imageUrls = ['baseline', 'comparison', 'diff'].map(
80
+ (fileName) => `${basicUrl}/${imageFolderUrl}/${fileName}.png`
81
+ );
82
+
83
+ return imageUrls;
84
+ };
85
+
86
+ const getImageUrlFromBrowserUrl = (browserUrl: string) => {
87
+ const hashDivider = '#/#'
88
+
89
+ return decodeURI(browserUrl.replace(hashDivider, '')).replace('+', '%2B')
90
+ }
91
+ export default {
92
+ makeMenuListFromImageUrlList,
93
+ getOriginImagePath,
94
+ getImageUrlList,
95
+ getImageUrlFromBrowserUrl
96
+ };
@@ -0,0 +1,97 @@
1
+ import { ItemType } from 'antd/es/menu/hooks/useItems';
2
+
3
+ /**
4
+ * TODO: 각 함수에 대해서 테스트 파일 작성하기
5
+ */
6
+
7
+ type MenuObject = {
8
+ [key: string]: MenuObject | string[];
9
+ };
10
+
11
+ const getMenuItem = (label: string, key: string, icon?: string, children?: ItemType[], type?: string) => {
12
+ return {
13
+ key,
14
+ icon,
15
+ children,
16
+ label,
17
+ type,
18
+ };
19
+ };
20
+
21
+ const createMenuList = (data: MenuObject, originKey = ''): ItemType[] => {
22
+ return Object.entries(data).map(([key, value]) => {
23
+ if (Array.isArray(value)) {
24
+ return {
25
+ key: `${key}/${originKey}`,
26
+ label: key,
27
+ children: value.map((fileName) => {
28
+ return getMenuItem(fileName, `${fileName}/${key}/${originKey}`);
29
+ }),
30
+ };
31
+ } else {
32
+ return getMenuItem(key, `${key}/${originKey}`, undefined, [...createMenuList(value, `${key}/${originKey}`)]);
33
+ }
34
+ });
35
+ };
36
+
37
+ const makeMenuListFromImageUrlList = (imageUrlList: string[]): ItemType[] => {
38
+ const obj: MenuObject = {};
39
+
40
+ imageUrlList.forEach((item) => {
41
+ const [service, domainName, testName, dateTime, childTest, fileName] = item.split('/');
42
+ /**
43
+ * TODO: 타입 수정 필요. 이렇게밖에 안되는지?
44
+ */
45
+ obj[service] = obj[service] || {};
46
+
47
+ (obj[service] as MenuObject)[domainName] = (obj[service] as MenuObject)[domainName] || {};
48
+
49
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] =
50
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] || {};
51
+
52
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] =
53
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] || {};
54
+
55
+ ((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
56
+ childTest
57
+ ] = (
58
+ (((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
59
+ childTest
60
+ ] as string[]) ?? []
61
+ ).concat([fileName]);
62
+ });
63
+
64
+ const items = [...createMenuList(obj)];
65
+
66
+ return items;
67
+ };
68
+
69
+ const getOriginImagePath = (path: string) => {
70
+ const temp = path.split('/').filter((item) => item);
71
+ temp.reverse();
72
+
73
+ const result = temp.join('/');
74
+
75
+ return result;
76
+ };
77
+
78
+ const getImageUrlList = (basicUrl: string, imageFolderUrl: string) => {
79
+ const imageUrls = ['baseline', 'comparison', 'diff'].map(
80
+ (fileName) => `${basicUrl}/${imageFolderUrl}/${fileName}.png`
81
+ );
82
+
83
+ return imageUrls;
84
+ };
85
+
86
+ const getImageUrlFromBrowserUrl = (browserUrl: string) => {
87
+ const hashDivider = '#/#'
88
+ console.log('browserUrl')
89
+
90
+ return decodeURI(browserUrl.replace(hashDivider, '')).replace('+', '%2B')
91
+ }
92
+ export default {
93
+ makeMenuListFromImageUrlList,
94
+ getOriginImagePath,
95
+ getImageUrlList,
96
+ getImageUrlFromBrowserUrl
97
+ };
@@ -0,0 +1,97 @@
1
+ import { ItemType } from 'antd/es/menu/hooks/useItems';
2
+
3
+ /**
4
+ * TODO: 각 함수에 대해서 테스트 파일 작성하기
5
+ */
6
+
7
+ type MenuObject = {
8
+ [key: string]: MenuObject | string[];
9
+ };
10
+
11
+ const getMenuItem = (label: string, key: string, icon?: string, children?: ItemType[], type?: string) => {
12
+ return {
13
+ key,
14
+ icon,
15
+ children,
16
+ label,
17
+ type,
18
+ };
19
+ };
20
+
21
+ const createMenuList = (data: MenuObject, originKey = ''): ItemType[] => {
22
+ return Object.entries(data).map(([key, value]) => {
23
+ if (Array.isArray(value)) {
24
+ return {
25
+ key: `${key}/${originKey}`,
26
+ label: key,
27
+ children: value.map((fileName) => {
28
+ return getMenuItem(fileName, `${fileName}/${key}/${originKey}`);
29
+ }),
30
+ };
31
+ } else {
32
+ return getMenuItem(key, `${key}/${originKey}`, undefined, [...createMenuList(value, `${key}/${originKey}`)]);
33
+ }
34
+ });
35
+ };
36
+
37
+ const makeMenuListFromImageUrlList = (imageUrlList: string[]): ItemType[] => {
38
+ const obj: MenuObject = {};
39
+
40
+ imageUrlList.forEach((item) => {
41
+ const [service, domainName, testName, dateTime, childTest, fileName] = item.split('/');
42
+ /**
43
+ * TODO: 타입 수정 필요. 이렇게밖에 안되는지?
44
+ */
45
+ obj[service] = obj[service] || {};
46
+
47
+ (obj[service] as MenuObject)[domainName] = (obj[service] as MenuObject)[domainName] || {};
48
+
49
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] =
50
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] || {};
51
+
52
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] =
53
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] || {};
54
+
55
+ ((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
56
+ childTest
57
+ ] = (
58
+ (((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
59
+ childTest
60
+ ] as string[]) ?? []
61
+ ).concat([fileName]);
62
+ });
63
+
64
+ const items = [...createMenuList(obj)];
65
+
66
+ return items;
67
+ };
68
+
69
+ const getOriginImagePath = (path: string) => {
70
+ const temp = path.split('/').filter((item) => item);
71
+ temp.reverse();
72
+
73
+ const result = temp.join('/');
74
+
75
+ return result;
76
+ };
77
+
78
+ const getImageUrlList = (basicUrl: string, imageFolderUrl: string) => {
79
+ const imageUrls = ['baseline', 'comparison', 'diff'].map(
80
+ (fileName) => `${basicUrl}/${imageFolderUrl}/${fileName}.png`
81
+ );
82
+
83
+ return imageUrls;
84
+ };
85
+
86
+ const getImageUrlFromBrowserUrl = (browserUrl: string) => {
87
+ const hashDivider = '#/#'
88
+ console.log(browserUrl)
89
+
90
+ return decodeURI(browserUrl.replace(hashDivider, '')).replace('+', '%2B')
91
+ }
92
+ export default {
93
+ makeMenuListFromImageUrlList,
94
+ getOriginImagePath,
95
+ getImageUrlList,
96
+ getImageUrlFromBrowserUrl
97
+ };
@@ -0,0 +1,97 @@
1
+ import { ItemType } from 'antd/es/menu/hooks/useItems';
2
+
3
+ /**
4
+ * TODO: 각 함수에 대해서 테스트 파일 작성하기
5
+ */
6
+
7
+ type MenuObject = {
8
+ [key: string]: MenuObject | string[];
9
+ };
10
+
11
+ const getMenuItem = (label: string, key: string, icon?: string, children?: ItemType[], type?: string) => {
12
+ return {
13
+ key,
14
+ icon,
15
+ children,
16
+ label,
17
+ type,
18
+ };
19
+ };
20
+
21
+ const createMenuList = (data: MenuObject, originKey = ''): ItemType[] => {
22
+ return Object.entries(data).map(([key, value]) => {
23
+ if (Array.isArray(value)) {
24
+ return {
25
+ key: `${key}/${originKey}`,
26
+ label: key,
27
+ children: value.map((fileName) => {
28
+ return getMenuItem(fileName, `${fileName}/${key}/${originKey}`);
29
+ }),
30
+ };
31
+ } else {
32
+ return getMenuItem(key, `${key}/${originKey}`, undefined, [...createMenuList(value, `${key}/${originKey}`)]);
33
+ }
34
+ });
35
+ };
36
+
37
+ const makeMenuListFromImageUrlList = (imageUrlList: string[]): ItemType[] => {
38
+ const obj: MenuObject = {};
39
+
40
+ imageUrlList.forEach((item) => {
41
+ const [service, domainName, testName, dateTime, childTest, fileName] = item.split('/');
42
+ /**
43
+ * TODO: 타입 수정 필요. 이렇게밖에 안되는지?
44
+ */
45
+ obj[service] = obj[service] || {};
46
+
47
+ (obj[service] as MenuObject)[domainName] = (obj[service] as MenuObject)[domainName] || {};
48
+
49
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] =
50
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] || {};
51
+
52
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] =
53
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] || {};
54
+
55
+ ((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
56
+ childTest
57
+ ] = (
58
+ (((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
59
+ childTest
60
+ ] as string[]) ?? []
61
+ ).concat([fileName]);
62
+ });
63
+
64
+ const items = [...createMenuList(obj)];
65
+
66
+ return items;
67
+ };
68
+
69
+ const getOriginImagePath = (path: string) => {
70
+ const temp = path.split('/').filter((item) => item);
71
+ temp.reverse();
72
+
73
+ const result = temp.join('/').replace('+', '%2B');
74
+
75
+ return result;
76
+ };
77
+
78
+ const getImageUrlList = (basicUrl: string, imageFolderUrl: string) => {
79
+ const imageUrls = ['baseline', 'comparison', 'diff'].map(
80
+ (fileName) => `${basicUrl}/${imageFolderUrl}/${fileName}.png`
81
+ );
82
+
83
+ return imageUrls;
84
+ };
85
+
86
+ const getImageUrlFromBrowserUrl = (browserUrl: string) => {
87
+ const hashDivider = '#/#'
88
+ console.log(browserUrl)
89
+
90
+ return decodeURI(browserUrl.replace(hashDivider, '')).replace('+', '%2B')
91
+ }
92
+ export default {
93
+ makeMenuListFromImageUrlList,
94
+ getOriginImagePath,
95
+ getImageUrlList,
96
+ getImageUrlFromBrowserUrl
97
+ };
@@ -0,0 +1,101 @@
1
+ import { ItemType } from 'antd/es/menu/hooks/useItems';
2
+
3
+ /**
4
+ * TODO: 각 함수에 대해서 테스트 파일 작성하기
5
+ */
6
+
7
+ type MenuObject = {
8
+ [key: string]: MenuObject | string[];
9
+ };
10
+
11
+ const replacePlusSign = (text: string): string => {
12
+ return text.replace('+', '%2B');
13
+ };
14
+
15
+ const getMenuItem = (label: string, key: string, icon?: string, children?: ItemType[], type?: string) => {
16
+ return {
17
+ key,
18
+ icon,
19
+ children,
20
+ label,
21
+ type,
22
+ };
23
+ };
24
+
25
+ const createMenuList = (data: MenuObject, originKey = ''): ItemType[] => {
26
+ return Object.entries(data).map(([key, value]) => {
27
+ if (Array.isArray(value)) {
28
+ return {
29
+ key: `${key}/${originKey}`,
30
+ label: key,
31
+ children: value.map((fileName) => {
32
+ return getMenuItem(fileName, `${fileName}/${key}/${originKey}`);
33
+ }),
34
+ };
35
+ } else {
36
+ return getMenuItem(key, `${key}/${originKey}`, undefined, [...createMenuList(value, `${key}/${originKey}`)]);
37
+ }
38
+ });
39
+ };
40
+
41
+ const makeMenuListFromImageUrlList = (imageUrlList: string[]): ItemType[] => {
42
+ const obj: MenuObject = {};
43
+
44
+ imageUrlList.forEach((item) => {
45
+ const [service, domainName, testName, dateTime, childTest, fileName] = item.split('/');
46
+ /**
47
+ * TODO: 타입 수정 필요. 이렇게밖에 안되는지?
48
+ */
49
+ obj[service] = obj[service] || {};
50
+
51
+ (obj[service] as MenuObject)[domainName] = (obj[service] as MenuObject)[domainName] || {};
52
+
53
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] =
54
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] || {};
55
+
56
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] =
57
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] || {};
58
+
59
+ ((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
60
+ childTest
61
+ ] = (
62
+ (((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
63
+ childTest
64
+ ] as string[]) ?? []
65
+ ).concat([fileName]);
66
+ });
67
+
68
+ const items = [...createMenuList(obj)];
69
+
70
+ return items;
71
+ };
72
+
73
+ const getOriginImagePath = (path: string) => {
74
+ const temp = path.split('/').filter((item) => item);
75
+ temp.reverse();
76
+
77
+ const result = replacePlusSign(temp.join('/'));
78
+
79
+ return result;
80
+ };
81
+
82
+ const getImageUrlList = (basicUrl: string, imageFolderUrl: string) => {
83
+ const imageUrls = ['baseline', 'comparison', 'diff'].map(
84
+ (fileName) => `${basicUrl}/${imageFolderUrl}/${fileName}.png`
85
+ );
86
+
87
+ return imageUrls;
88
+ };
89
+
90
+ const getImageUrlFromBrowserUrl = (browserUrl: string) => {
91
+ const hashDivider = '#/#';
92
+ console.log(browserUrl);
93
+
94
+ return replacePlusSign(decodeURI(browserUrl.replace(hashDivider, '')));
95
+ };
96
+ export default {
97
+ makeMenuListFromImageUrlList,
98
+ getOriginImagePath,
99
+ getImageUrlList,
100
+ getImageUrlFromBrowserUrl,
101
+ };
@@ -0,0 +1,100 @@
1
+ import { ItemType } from 'antd/es/menu/hooks/useItems';
2
+
3
+ /**
4
+ * TODO: 각 함수에 대해서 테스트 파일 작성하기
5
+ */
6
+
7
+ type MenuObject = {
8
+ [key: string]: MenuObject | string[];
9
+ };
10
+
11
+ const replacePlusSign = (text: string): string => {
12
+ return text.replace('+', '%2B');
13
+ };
14
+
15
+ const getMenuItem = (label: string, key: string, icon?: string, children?: ItemType[], type?: string) => {
16
+ return {
17
+ key,
18
+ icon,
19
+ children,
20
+ label,
21
+ type,
22
+ };
23
+ };
24
+
25
+ const createMenuList = (data: MenuObject, originKey = ''): ItemType[] => {
26
+ return Object.entries(data).map(([key, value]) => {
27
+ if (Array.isArray(value)) {
28
+ return {
29
+ key: `${key}/${originKey}`,
30
+ label: key,
31
+ children: value.map((fileName) => {
32
+ return getMenuItem(fileName, `${fileName}/${key}/${originKey}`);
33
+ }),
34
+ };
35
+ } else {
36
+ return getMenuItem(key, `${key}/${originKey}`, undefined, [...createMenuList(value, `${key}/${originKey}`)]);
37
+ }
38
+ });
39
+ };
40
+
41
+ const makeMenuListFromImageUrlList = (imageUrlList: string[]): ItemType[] => {
42
+ const obj: MenuObject = {};
43
+
44
+ imageUrlList.forEach((item) => {
45
+ const [service, domainName, testName, dateTime, childTest, fileName] = item.split('/');
46
+ /**
47
+ * TODO: 타입 수정 필요. 이렇게밖에 안되는지?
48
+ */
49
+ obj[service] = obj[service] || {};
50
+
51
+ (obj[service] as MenuObject)[domainName] = (obj[service] as MenuObject)[domainName] || {};
52
+
53
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] =
54
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] || {};
55
+
56
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] =
57
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] || {};
58
+
59
+ ((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
60
+ childTest
61
+ ] = (
62
+ (((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
63
+ childTest
64
+ ] as string[]) ?? []
65
+ ).concat([fileName]);
66
+ });
67
+
68
+ const items = [...createMenuList(obj)];
69
+
70
+ return items;
71
+ };
72
+
73
+ const getOriginImagePath = (path: string) => {
74
+ const temp = path.split('/').filter((item) => item);
75
+ temp.reverse();
76
+
77
+ const result = replacePlusSign(temp.join('/'));
78
+
79
+ return result;
80
+ };
81
+
82
+ const getImageUrlList = (basicUrl: string, imageFolderUrl: string) => {
83
+ const imageUrls = ['baseline', 'comparison', 'diff'].map(
84
+ (fileName) => `${basicUrl}/${imageFolderUrl}/${fileName}.png`
85
+ );
86
+
87
+ return imageUrls;
88
+ };
89
+
90
+ const getImageUrlFromBrowserUrl = (browserUrl: string) => {
91
+ const hashDivider = '#/#';
92
+
93
+ return replacePlusSign(decodeURI(browserUrl.replace(hashDivider, '')));
94
+ };
95
+ export default {
96
+ makeMenuListFromImageUrlList,
97
+ getOriginImagePath,
98
+ getImageUrlList,
99
+ getImageUrlFromBrowserUrl,
100
+ };
@@ -0,0 +1,100 @@
1
+ import { ItemType } from 'antd/es/menu/hooks/useItems';
2
+
3
+ /**
4
+ * TODO: 각 함수에 대해서 테스트 파일 작성하기
5
+ */
6
+
7
+ type MenuObject = {
8
+ [key: string]: MenuObject | string[];
9
+ };
10
+
11
+ const replacePlusSign = (text: string): string => {
12
+ return text.replace('+', '%2B');
13
+ };
14
+
15
+ const getMenuItem = (label: string, key: string, icon?: string, children?: ItemType[], type?: string) => {
16
+ return {
17
+ key,
18
+ icon,
19
+ children,
20
+ label,
21
+ type,
22
+ };
23
+ };
24
+
25
+ const createMenuList = (data: MenuObject, originKey = ''): ItemType[] => {
26
+ return Object.entries(data).map(([key, value]) => {
27
+ if (Array.isArray(value)) {
28
+ return {
29
+ key: `${key}/${originKey}`,
30
+ label: key,
31
+ children: value.map((fileName) => {
32
+ return getMenuItem(fileName, `${fileName}/${key}/${originKey}`);
33
+ }),
34
+ };
35
+ } else {
36
+ return getMenuItem(key, `${key}/${originKey}`, undefined, [...createMenuList(value, `${key}/${originKey}`)]);
37
+ }
38
+ });
39
+ };
40
+
41
+ const makeMenuListFromImageUrlList = (imageUrlList: string[]): ItemType[] => {
42
+ const obj: MenuObject = {};
43
+
44
+ imageUrlList.forEach((item) => {
45
+ const [service, domainName, testName, dateTime, childTest, fileName] = item.split('/');
46
+ /**
47
+ * TODO: 타입 수정 필요. 이렇게밖에 안되는지?
48
+ */
49
+ obj[service] = obj[service] || {};
50
+
51
+ (obj[service] as MenuObject)[domainName] = (obj[service] as MenuObject)[domainName] || {};
52
+
53
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] =
54
+ ((obj[service] as MenuObject)[domainName] as MenuObject)[testName] || {};
55
+
56
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] =
57
+ (((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] || {};
58
+
59
+ ((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
60
+ childTest
61
+ ] = (
62
+ (((((obj[service] as MenuObject)[domainName] as MenuObject)[testName] as MenuObject)[dateTime] as MenuObject)[
63
+ childTest
64
+ ] as string[]) ?? []
65
+ ).concat([fileName]);
66
+ });
67
+
68
+ const items = [...createMenuList(obj)];
69
+
70
+ return items;
71
+ };
72
+
73
+ const getOriginImagePath = (path: string) => {
74
+ const temp = path.split('/').filter((item) => item);
75
+ temp.reverse();
76
+
77
+ const result = replacePlusSign(temp.join('/'));
78
+
79
+ return result;
80
+ };
81
+
82
+ const getImageUrlList = (basicUrl: string, imageFolderUrl: string) => {
83
+ const imageUrls = ['baseline', 'comparison', 'diff'].map(
84
+ (fileName) => `${basicUrl}/${imageFolderUrl}/${fileName}.png`
85
+ );
86
+
87
+ return imageUrls;
88
+ };
89
+
90
+ const getImageUrlFromBrowserUrl = (browserUrl: string) => {
91
+ const hashDivider = '#/#/';
92
+
93
+ return replacePlusSign(decodeURI(browserUrl.replace(hashDivider, '')));
94
+ };
95
+ export default {
96
+ makeMenuListFromImageUrlList,
97
+ getOriginImagePath,
98
+ getImageUrlList,
99
+ getImageUrlFromBrowserUrl,
100
+ };