@rainbow-robotics/muscat-plugin-kit 0.1.2-dev.9 → 0.10.1-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/README.ko.md +1186 -0
  2. package/README.md +1137 -57
  3. package/cli/README.md +239 -7
  4. package/cli/bin/create-muscat-plugin.mjs +1 -1
  5. package/cli/bin/muscat-pk.mjs +123 -27
  6. package/cli/bundle-templates.mjs +31 -0
  7. package/cli/docker/Dockerfile.cpp +28 -0
  8. package/cli/docker/Dockerfile.dev +17 -0
  9. package/cli/docker/Dockerfile.python +21 -0
  10. package/cli/prepack.mjs +10 -0
  11. package/cli/src/__pycache__/host_agent.cpython-37.pyc +0 -0
  12. package/cli/src/ai-rules.mjs +107 -0
  13. package/cli/src/build.mjs +333 -93
  14. package/cli/src/check-package.mjs +8 -23
  15. package/cli/src/completion.mjs +168 -0
  16. package/cli/src/cpp.mjs +78 -0
  17. package/cli/src/cppIde.mjs +76 -0
  18. package/cli/src/dev.mjs +195 -6
  19. package/cli/src/devBack.mjs +671 -60
  20. package/cli/src/devId.mjs +54 -0
  21. package/cli/src/devSession.mjs +67 -0
  22. package/cli/src/devUi.mjs +214 -25
  23. package/cli/src/esbuild.mjs +27 -10
  24. package/cli/src/host_agent.py +223 -0
  25. package/cli/src/manifest.mjs +288 -0
  26. package/cli/src/mcp.mjs +1153 -0
  27. package/cli/src/mcpProxy.mjs +110 -0
  28. package/cli/src/muscatLocal.mjs +292 -0
  29. package/cli/src/new.mjs +205 -68
  30. package/cli/src/pluginDevServer.mjs +111 -0
  31. package/cli/src/ports.mjs +193 -0
  32. package/cli/src/projectCheck.mjs +102 -0
  33. package/cli/src/python.mjs +112 -0
  34. package/cli/src/ros2.mjs +62 -18
  35. package/cli/src/sdk.mjs +74 -24
  36. package/cli/src/sim.mjs +177 -0
  37. package/cli/src/storybook.mjs +150 -0
  38. package/cli/src/templates-embedded.mjs +4 -0
  39. package/cli/src/type.mjs +93 -34
  40. package/cli/src/uninstall.mjs +81 -0
  41. package/cli/src/update.mjs +364 -35
  42. package/cli/src/util.mjs +341 -11
  43. package/cli/src/zenohDev.mjs +83 -0
  44. package/cli/src/zip.mjs +121 -0
  45. package/cli/storybook-dist/_design-tokens.css +4957 -0
  46. package/cli/storybook-dist/_stories-src/NxAvatar.stories.tsx +27 -0
  47. package/cli/storybook-dist/_stories-src/NxPagination.stories.tsx +28 -0
  48. package/cli/storybook-dist/_stories-src/RBAccordion/RBAccordion.stories.tsx +46 -0
  49. package/cli/storybook-dist/_stories-src/RBAccordion/RBAccordionGroup.stories.tsx +73 -0
  50. package/cli/storybook-dist/_stories-src/RBBadge/RBBadge.stories.tsx +93 -0
  51. package/cli/storybook-dist/_stories-src/RBBattery/RBBattery.stories.tsx +74 -0
  52. package/cli/storybook-dist/_stories-src/RBButton/RBCheckIconButton.stories.tsx +28 -0
  53. package/cli/storybook-dist/_stories-src/RBButton/RBCheckLabelButton.stories.tsx +84 -0
  54. package/cli/storybook-dist/_stories-src/RBButton/RBIconButton.stories.tsx +57 -0
  55. package/cli/storybook-dist/_stories-src/RBButton/RBInlineLabelButton.stories.tsx +41 -0
  56. package/cli/storybook-dist/_stories-src/RBButton/RBLabelButton.stories.tsx +60 -0
  57. package/cli/storybook-dist/_stories-src/RBDatePicker/RBDateInput.stories.tsx +44 -0
  58. package/cli/storybook-dist/_stories-src/RBDatePicker/RBRangeDateInput.stories.tsx +56 -0
  59. package/cli/storybook-dist/_stories-src/RBDialog/RBAlert.stories.tsx +51 -0
  60. package/cli/storybook-dist/_stories-src/RBDialog/RBConfirm.stories.tsx +55 -0
  61. package/cli/storybook-dist/_stories-src/RBDialog/RBPrompt.stories.tsx +52 -0
  62. package/cli/storybook-dist/_stories-src/RBDivider/RBDivider.stories.tsx +93 -0
  63. package/cli/storybook-dist/_stories-src/RBEmptyView/RBEmptyView.stories.tsx +49 -0
  64. package/cli/storybook-dist/_stories-src/RBIcons/RBColorIcons.stories.tsx +108 -0
  65. package/cli/storybook-dist/_stories-src/RBIcons/RBIcons.stories.tsx +106 -0
  66. package/cli/storybook-dist/_stories-src/RBInput/RBCheckBox.stories.tsx +89 -0
  67. package/cli/storybook-dist/_stories-src/RBInput/RBMultiRangeInput.stories.tsx +64 -0
  68. package/cli/storybook-dist/_stories-src/RBInput/RBRadioBox.stories.tsx +65 -0
  69. package/cli/storybook-dist/_stories-src/RBInput/RBRadioButton.stories.tsx +68 -0
  70. package/cli/storybook-dist/_stories-src/RBInput/RBSelectBox.stories.tsx +216 -0
  71. package/cli/storybook-dist/_stories-src/RBInput/RBSideNumberInput.stories.tsx +90 -0
  72. package/cli/storybook-dist/_stories-src/RBInput/RBText/RBTextArea.stories.tsx +45 -0
  73. package/cli/storybook-dist/_stories-src/RBInput/RBText/RBTextInput.stories.tsx +50 -0
  74. package/cli/storybook-dist/_stories-src/RBInput/RBTextField.stories.tsx +102 -0
  75. package/cli/storybook-dist/_stories-src/RBJoyStick/RBJoyStick.stories.tsx +31 -0
  76. package/cli/storybook-dist/_stories-src/RBLight/RBLight.stories.tsx +36 -0
  77. package/cli/storybook-dist/_stories-src/RBPagination/RBPagination.stories.tsx +49 -0
  78. package/cli/storybook-dist/_stories-src/RBShadcn/RBCard/RBCard.stories.tsx +89 -0
  79. package/cli/storybook-dist/_stories-src/RBShadcn/RBCommand/RBCommand.stories.tsx +116 -0
  80. package/cli/storybook-dist/_stories-src/RBShadcn/RBDialog/RBDialog.stories.tsx +74 -0
  81. package/cli/storybook-dist/_stories-src/RBShadcn/RBDrawer/RBDrawer.stories.tsx +99 -0
  82. package/cli/storybook-dist/_stories-src/RBShadcn/RBDropdownMenu/RBDropdownMenu.stories.tsx +123 -0
  83. package/cli/storybook-dist/_stories-src/RBShadcn/RBMenubar/RBMenubar.stories.tsx +135 -0
  84. package/cli/storybook-dist/_stories-src/RBShadcn/RBPopover/RBPopover.stories.tsx +69 -0
  85. package/cli/storybook-dist/_stories-src/RBShadcn/RBResizable/RBResizable.stories.tsx +49 -0
  86. package/cli/storybook-dist/_stories-src/RBShadcn/RBSheet/RBSheet.stories.tsx +91 -0
  87. package/cli/storybook-dist/_stories-src/RBShadcn/RBSlider/RBSlider.stories.tsx +38 -0
  88. package/cli/storybook-dist/_stories-src/RBShadcn/RBSwitch/RBSwitch.stories.tsx +112 -0
  89. package/cli/storybook-dist/_stories-src/RBShadcn/RBTabs/RBTabs.stories.tsx +75 -0
  90. package/cli/storybook-dist/_stories-src/RBShadcn/RBToggle/RBToggle.stories.tsx +51 -0
  91. package/cli/storybook-dist/_stories-src/RBShadcn/RBToggleGroup/RBToggleGroup.stories.tsx +84 -0
  92. package/cli/storybook-dist/_stories-src/RBTab/RBChipTab.stories.tsx +102 -0
  93. package/cli/storybook-dist/_stories-src/RBTab/RBChipsBoxTab.stories.tsx +78 -0
  94. package/cli/storybook-dist/_stories-src/RBTab/RBTab.stories.tsx +57 -0
  95. package/cli/storybook-dist/_stories-src/RBTable/RBTable.stories.tsx +177 -0
  96. package/cli/storybook-dist/_stories-src/RBTable/RBTableRow.stories.tsx +64 -0
  97. package/cli/storybook-dist/_stories-src/RBToast/RBToast.stories.tsx +117 -0
  98. package/cli/storybook-dist/_stories-src/RBTooltip/RBTooltip.stories.tsx +50 -0
  99. package/cli/storybook-dist/_stories-src/loading/RBSpinner.stories.tsx +30 -0
  100. package/cli/storybook-dist/_stories-src/nx-button/NxButton.stories.tsx +54 -0
  101. package/cli/storybook-dist/_stories-src/nx-button/NxPointerHoldButton.stories.tsx +57 -0
  102. package/cli/storybook-dist/_stories-src/nx-icons/NxIcons.stories.tsx +48 -0
  103. package/cli/storybook-dist/_stories-src/nx-inputs/NxNumberInput.stories.tsx +103 -0
  104. package/cli/storybook-dist/_stories-src/nx-inputs/NxRangeInput.stories.tsx +27 -0
  105. package/cli/storybook-dist/_stories-src/nx-inputs/NxSelectBox.stories.tsx +67 -0
  106. package/cli/storybook-dist/_stories-src/nx-inputs/NxSlideRange.stories.tsx +45 -0
  107. package/cli/storybook-dist/_stories-src/nx-inputs/NxSwitch.stories.tsx +27 -0
  108. package/cli/storybook-dist/_stories-src/nx-inputs/NxTextArea.stories.tsx +48 -0
  109. package/cli/storybook-dist/_stories-src/nx-inputs/NxTextInput.stories.tsx +46 -0
  110. package/cli/storybook-dist/assets/Color-YHDXOIA2-pCKrjUal.js +1 -0
  111. package/cli/storybook-dist/assets/Docs-B-Y7I1GA.js +7 -0
  112. package/cli/storybook-dist/assets/Docs-BFJcE_VS.js +8 -0
  113. package/cli/storybook-dist/assets/Docs-B_QaTtz8.js +8 -0
  114. package/cli/storybook-dist/assets/Docs-CryDGmfh.js +20 -0
  115. package/cli/storybook-dist/assets/Docs-Cw2AVNKx.js +7 -0
  116. package/cli/storybook-dist/assets/Docs-Q6r1fBeL.js +12 -0
  117. package/cli/storybook-dist/assets/DocsRenderer-CFRXHY34-_OmZBCn8.js +2 -0
  118. package/cli/storybook-dist/assets/NxAvatar.stories-Ctf5G2FQ.js +13 -0
  119. package/cli/storybook-dist/assets/NxButton.stories-DeLObVSj.js +20 -0
  120. package/cli/storybook-dist/assets/NxIcons.stories-DeqrVzVs.js +3 -0
  121. package/cli/storybook-dist/assets/NxNumberInput.stories-LqoY0ed1.js +26 -0
  122. package/cli/storybook-dist/assets/NxPagination.stories-DI6bXuJM.js +11 -0
  123. package/cli/storybook-dist/assets/NxPointerHoldButton.stories-3HSV1XmN.js +14 -0
  124. package/cli/storybook-dist/assets/NxRangeInput.stories-1pjgQVaG.js +17 -0
  125. package/cli/storybook-dist/assets/NxSelectBox.stories-bcQPZEuF.js +17 -0
  126. package/cli/storybook-dist/assets/NxSlideRange.stories-BosX4axk.js +14 -0
  127. package/cli/storybook-dist/assets/NxSwitch.stories-DxV6dS33.js +11 -0
  128. package/cli/storybook-dist/assets/NxTextArea.stories-CO545-LP.js +11 -0
  129. package/cli/storybook-dist/assets/NxTextInput.stories-BP0npai1.js +11 -0
  130. package/cli/storybook-dist/assets/PretendardVariable-CJuje-Rk.woff2 +0 -0
  131. package/cli/storybook-dist/assets/RBAccordion.stories-fVR4Va2a.js +17 -0
  132. package/cli/storybook-dist/assets/RBAccordionGroup.stories-Du5bsckD.js +33 -0
  133. package/cli/storybook-dist/assets/RBAlert.stories-DNkMXUu6.js +17 -0
  134. package/cli/storybook-dist/assets/RBBadge.stories-C44pXt8D.js +1 -0
  135. package/cli/storybook-dist/assets/RBBattery.stories-DE2JHvfL.js +10 -0
  136. package/cli/storybook-dist/assets/RBCard.stories-CuIda7NI.js +45 -0
  137. package/cli/storybook-dist/assets/RBCheckBox.stories-D1qM1ayr.js +1 -0
  138. package/cli/storybook-dist/assets/RBCheckIconButton.stories-e4gkliBO.js +1 -0
  139. package/cli/storybook-dist/assets/RBCheckLabelButton.stories-CDzCtsMI.js +24 -0
  140. package/cli/storybook-dist/assets/RBChipTab.stories-DBrc_3Mp.js +21 -0
  141. package/cli/storybook-dist/assets/RBChipsBoxTab.stories-hlrsHjKY.js +1 -0
  142. package/cli/storybook-dist/assets/RBColorIcons.stories-BHUvpkdu.js +3 -0
  143. package/cli/storybook-dist/assets/RBCommand.stories-azAF41NP.js +73 -0
  144. package/cli/storybook-dist/assets/RBConfirm.stories-BMNjwbmT.js +20 -0
  145. package/cli/storybook-dist/assets/RBDateInput.stories-D0VezDzv.js +15 -0
  146. package/cli/storybook-dist/assets/RBDialog.stories-AOJ975Fy.js +38 -0
  147. package/cli/storybook-dist/assets/RBDivider.stories-NSvnj43Z.js +1 -0
  148. package/cli/storybook-dist/assets/RBDrawer.stories-Du0oTvD1.js +14 -0
  149. package/cli/storybook-dist/assets/RBDropdownMenu.stories-Hsxve4PW.js +86 -0
  150. package/cli/storybook-dist/assets/RBEmptyView.stories-BlwHx3zp.js +12 -0
  151. package/cli/storybook-dist/assets/RBIconButton.stories-DAPDY63x.js +1 -0
  152. package/cli/storybook-dist/assets/RBIcons.stories-W5ZUV2L1.js +3 -0
  153. package/cli/storybook-dist/assets/RBInlineLabelButton.stories-C99j0Y3g.js +1 -0
  154. package/cli/storybook-dist/assets/RBJoyStick.stories-Du0H1iAS.js +11 -0
  155. package/cli/storybook-dist/assets/RBLabelButton.stories-BlvHaU_Z.js +1 -0
  156. package/cli/storybook-dist/assets/RBLight.stories-BY6DKrre.js +1 -0
  157. package/cli/storybook-dist/assets/RBMenubar.stories-D2PEGpM9.js +3 -0
  158. package/cli/storybook-dist/assets/RBMultiRangeInput.stories-Bm2qSmjq.js +14 -0
  159. package/cli/storybook-dist/assets/RBPagination.stories-DDleJa5N.js +17 -0
  160. package/cli/storybook-dist/assets/RBPopover.stories-27YxPSFG.js +11 -0
  161. package/cli/storybook-dist/assets/RBPrompt.stories-BFaIOctr.js +20 -0
  162. package/cli/storybook-dist/assets/RBRadioBox.stories-BroDar0t.js +1 -0
  163. package/cli/storybook-dist/assets/RBRadioButton.stories-M3O-wX7V.js +11 -0
  164. package/cli/storybook-dist/assets/RBRangeDateInput.stories-CWlM_D5X.js +15 -0
  165. package/cli/storybook-dist/assets/RBResizable.stories-ui8X1qnc.js +20 -0
  166. package/cli/storybook-dist/assets/RBSelectBox.stories-C8T6cfA0.js +74 -0
  167. package/cli/storybook-dist/assets/RBSheet.stories-BCOo_Zcc.js +39 -0
  168. package/cli/storybook-dist/assets/RBSideNumberInput.stories-CU2_MVlJ.js +5 -0
  169. package/cli/storybook-dist/assets/RBSlider.stories-DgOp1TFc.js +5 -0
  170. package/cli/storybook-dist/assets/RBSpinner.stories-qLScY3zZ.js +14 -0
  171. package/cli/storybook-dist/assets/RBSwitch.stories-SXSY1QMb.js +65 -0
  172. package/cli/storybook-dist/assets/RBTab.stories-BzXXTsXP.js +1 -0
  173. package/cli/storybook-dist/assets/RBTable.stories-DHTeRNVk.js +62 -0
  174. package/cli/storybook-dist/assets/RBTableRow.stories-DRNRsd15.js +11 -0
  175. package/cli/storybook-dist/assets/RBTabs.stories-DP0noBLp.js +21 -0
  176. package/cli/storybook-dist/assets/RBTextArea.stories-TkaejfxJ.js +5 -0
  177. package/cli/storybook-dist/assets/RBTextField.stories-B6VpCGyt.js +45 -0
  178. package/cli/storybook-dist/assets/RBTextInput.stories-D3hZ08e-.js +5 -0
  179. package/cli/storybook-dist/assets/RBToast.stories-BQ2wS2U0.js +11 -0
  180. package/cli/storybook-dist/assets/RBToggle.stories-GVOjGqo3.js +12 -0
  181. package/cli/storybook-dist/assets/RBToggleGroup.stories-pzx0btOD.js +17 -0
  182. package/cli/storybook-dist/assets/RBTooltip.stories-jufB6fa1.js +9 -0
  183. package/cli/storybook-dist/assets/SideNumberInput-BYlmNHEw.js +1109 -0
  184. package/cli/storybook-dist/assets/SideNumberInput-SAkhydsn.css +21 -0
  185. package/cli/storybook-dist/assets/browserUtils-CQM9Za7e.js +1 -0
  186. package/cli/storybook-dist/assets/chunk-XP5HYGXS-BHXC9YeQ.js +1 -0
  187. package/cli/storybook-dist/assets/client-DTf7SId2.js +1 -0
  188. package/cli/storybook-dist/assets/entry-preview-CAkU-e0D.js +2 -0
  189. package/cli/storybook-dist/assets/entry-preview-docs-b8bpVBXy.js +46 -0
  190. package/cli/storybook-dist/assets/iframe-B-BmTsxV.js +211 -0
  191. package/cli/storybook-dist/assets/index-B4FGfHer.js +1 -0
  192. package/cli/storybook-dist/assets/index-BRq5TIsn.js +24 -0
  193. package/cli/storybook-dist/assets/index-CT3U1fyk.js +1 -0
  194. package/cli/storybook-dist/assets/index-ChsGqxH_.js +9 -0
  195. package/cli/storybook-dist/assets/index-CkB0GfaI.js +575 -0
  196. package/cli/storybook-dist/assets/index-ClAc6FBW.js +240 -0
  197. package/cli/storybook-dist/assets/index-DKFBREX_.js +1 -0
  198. package/cli/storybook-dist/assets/index-DgH-xKnr.js +11 -0
  199. package/cli/storybook-dist/assets/index-Dmy2JGbm.js +1 -0
  200. package/cli/storybook-dist/assets/index-DrFu-skq.js +6 -0
  201. package/cli/storybook-dist/assets/jsx-runtime-BTJTZTIL.js +9 -0
  202. package/cli/storybook-dist/assets/preview-B8lJiyuQ.js +34 -0
  203. package/cli/storybook-dist/assets/preview-BBWR9nbA.js +1 -0
  204. package/cli/storybook-dist/assets/preview-BVJwlGUF.js +1 -0
  205. package/cli/storybook-dist/assets/preview-BWzBA1C2.js +396 -0
  206. package/cli/storybook-dist/assets/preview-CVgpLj3b.js +1 -0
  207. package/cli/storybook-dist/assets/preview-CvbIS5ZJ.js +1 -0
  208. package/cli/storybook-dist/assets/preview-CznQwwbo.js +3 -0
  209. package/cli/storybook-dist/assets/preview-DD_OYowb.js +1 -0
  210. package/cli/storybook-dist/assets/preview-DGUiP6tS.js +7 -0
  211. package/cli/storybook-dist/assets/preview-DHQbi4pV.js +1 -0
  212. package/cli/storybook-dist/assets/preview-M77JRg1A.js +2 -0
  213. package/cli/storybook-dist/assets/preview-kTZPgP6D.css +1 -0
  214. package/cli/storybook-dist/assets/react-18-hB3smqWJ.js +1 -0
  215. package/cli/storybook-dist/assets/react-resizable-panels-HsFbxPbn.css +1 -0
  216. package/cli/storybook-dist/assets/react-resizable-panels.browser-DuxpZLkF.js +120 -0
  217. package/cli/storybook-dist/assets/test-utils-BQudk2xt.js +9 -0
  218. package/cli/storybook-dist/favicon.svg +1 -0
  219. package/cli/storybook-dist/iframe.html +666 -0
  220. package/cli/storybook-dist/index.html +190 -0
  221. package/cli/storybook-dist/index.json +1 -0
  222. package/cli/storybook-dist/nunito-sans-bold-italic.woff2 +0 -0
  223. package/cli/storybook-dist/nunito-sans-bold.woff2 +0 -0
  224. package/cli/storybook-dist/nunito-sans-italic.woff2 +0 -0
  225. package/cli/storybook-dist/nunito-sans-regular.woff2 +0 -0
  226. package/cli/storybook-dist/project.json +1 -0
  227. package/cli/storybook-dist/sb-addons/chromatic-com-storybook-10/manager-bundle.js +331 -0
  228. package/cli/storybook-dist/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +51 -0
  229. package/cli/storybook-dist/sb-addons/essentials-actions-3/manager-bundle.js +3 -0
  230. package/cli/storybook-dist/sb-addons/essentials-backgrounds-5/manager-bundle.js +12 -0
  231. package/cli/storybook-dist/sb-addons/essentials-controls-2/manager-bundle.js +405 -0
  232. package/cli/storybook-dist/sb-addons/essentials-docs-4/manager-bundle.js +245 -0
  233. package/cli/storybook-dist/sb-addons/essentials-measure-8/manager-bundle.js +3 -0
  234. package/cli/storybook-dist/sb-addons/essentials-outline-9/manager-bundle.js +3 -0
  235. package/cli/storybook-dist/sb-addons/essentials-toolbars-7/manager-bundle.js +3 -0
  236. package/cli/storybook-dist/sb-addons/essentials-viewport-6/manager-bundle.js +3 -0
  237. package/cli/storybook-dist/sb-addons/links-1/manager-bundle.js +3 -0
  238. package/cli/storybook-dist/sb-addons/storybook-13/manager-bundle.js +3 -0
  239. package/cli/storybook-dist/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  240. package/cli/storybook-dist/sb-addons/storybook-experimental-addon-test-12/manager-bundle.js +223 -0
  241. package/cli/storybook-dist/sb-addons/themes-11/manager-bundle.js +3 -0
  242. package/cli/storybook-dist/sb-common-assets/favicon.svg +1 -0
  243. package/cli/storybook-dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  244. package/cli/storybook-dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  245. package/cli/storybook-dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  246. package/cli/storybook-dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  247. package/cli/storybook-dist/sb-manager/globals-module-info.js +1052 -0
  248. package/cli/storybook-dist/sb-manager/globals-runtime.js +41775 -0
  249. package/cli/storybook-dist/sb-manager/globals.js +48 -0
  250. package/cli/storybook-dist/sb-manager/runtime.js +12048 -0
  251. package/cli/templates/common/README.md +1070 -83
  252. package/cli/templates/common/assets/icon.svg +44 -2
  253. package/cli/templates/common/manifest.json +14 -13
  254. package/cli/templates/common/package.json +11 -4
  255. package/cli/templates/common/py/main.py +125 -0
  256. package/cli/templates/common/requirements.txt +4 -3
  257. package/cli/templates/common/tsconfig.json +1 -1
  258. package/cli/templates/common/ui/content.tsx +216 -0
  259. package/cli/templates/common/ui/style.css +6 -0
  260. package/cli/templates/common/vite.config.ts +6 -25
  261. package/cli/templates/cpp/cpp/CMakeLists.txt +14 -0
  262. package/cli/templates/cpp/cpp/main.cpp +73 -0
  263. package/cli/templates/readme-cpp/README.md +1012 -0
  264. package/cli/templates/ros2/ros2_ws/src/__PLUGIN_SLUG__/__PLUGIN_SLUG__/node.py +12 -1
  265. package/cli/templates/ros2-cpp/ros2_ws/src/__PLUGIN_SLUG__/CMakeLists.txt +22 -0
  266. package/cli/templates/ros2-cpp/ros2_ws/src/__PLUGIN_SLUG__/package.xml +11 -0
  267. package/cli/templates/ros2-cpp/ros2_ws/src/__PLUGIN_SLUG__/src/node.cpp +41 -0
  268. package/cli/vite.d.mts +25 -0
  269. package/cli/vite.mjs +292 -0
  270. package/package.json +34 -7
  271. package/cli/src/pack.mjs +0 -61
  272. package/cli/src/preview.mjs +0 -91
  273. package/cli/templates/common/main.py +0 -114
  274. package/cli/templates/common/src/content.tsx +0 -33
@@ -0,0 +1,84 @@
1
+ import { useState } from "react";
2
+ import type { Meta, StoryObj } from "@storybook/react";
3
+
4
+ import {
5
+ RBIcons,
6
+ RBToggleGroup,
7
+ RBToggleGroupItem,
8
+ } from "@repo/rb-components/new_components";
9
+
10
+ type ToggleGroupStoryArgs = {
11
+ orientation?: "horizontal" | "vertical";
12
+ separated?: boolean;
13
+ stretched?: boolean;
14
+ };
15
+
16
+ const meta: Meta<ToggleGroupStoryArgs> = {
17
+ component: RBToggleGroup,
18
+ tags: ["autodocs"],
19
+ parameters: {
20
+ layout: "centered",
21
+ },
22
+ argTypes: {
23
+ orientation: {
24
+ control: "select",
25
+ options: ["horizontal", "vertical"],
26
+ },
27
+ separated: {
28
+ control: "boolean",
29
+ },
30
+ stretched: {
31
+ control: "boolean",
32
+ },
33
+ },
34
+ args: {
35
+ orientation: "horizontal",
36
+ separated: false,
37
+ stretched: false,
38
+ },
39
+ };
40
+
41
+ export default meta;
42
+
43
+ type Story = StoryObj<ToggleGroupStoryArgs>;
44
+
45
+ export const Playground: Story = {
46
+ args: {
47
+ orientation: "horizontal",
48
+ separated: false,
49
+ stretched: false,
50
+ },
51
+ render: function Render(args) {
52
+ const [value, setValue] = useState<string>("left");
53
+
54
+ return (
55
+ <RBToggleGroup
56
+ type="single"
57
+ orientation={args.orientation}
58
+ separated={args.separated}
59
+ stretched={args.stretched}
60
+ value={value}
61
+ onValueChange={(nextValue: string) => {
62
+ if (nextValue) setValue(nextValue);
63
+ }}
64
+ className={args.stretched ? "w-[360px]" : undefined}
65
+ >
66
+ <RBToggleGroupItem
67
+ value="left"
68
+ aria-label="왼쪽 정렬"
69
+ icon={<RBIcons.SvgListChecksBold />}
70
+ />
71
+ <RBToggleGroupItem
72
+ value="center"
73
+ aria-label="가운데 정렬"
74
+ icon={<RBIcons.SvgBulletSolid />}
75
+ />
76
+ <RBToggleGroupItem
77
+ value="right"
78
+ aria-label="오른쪽 정렬"
79
+ icon={<RBIcons.SvgBoardSolid />}
80
+ />
81
+ </RBToggleGroup>
82
+ );
83
+ },
84
+ };
@@ -0,0 +1,102 @@
1
+ import { useEffect, useState } from "react";
2
+ import type { Meta, StoryObj, StoryFn } from "@storybook/react";
3
+
4
+ import { RBChipTab } from "@repo/rb-components/new_components";
5
+ import type { ChipTabProps } from "@repo/rb-components/new_components";
6
+
7
+ type StoryComponent = StoryObj<typeof RBChipTab>;
8
+ type StoryTemplate = StoryFn<typeof RBChipTab>;
9
+
10
+ const baseTabItems: ChipTabProps["tabItems"] = Array.from({ length: 8 }).map(
11
+ (_, i) => ({
12
+ key: i + 1,
13
+ label: "Menu",
14
+ }),
15
+ );
16
+
17
+ const Template: StoryTemplate = (args) => {
18
+ const items = args.tabItems ?? baseTabItems;
19
+ const [activeKey, setActiveKey] = useState<string | number>(
20
+ args.activeKey ?? items?.[0]?.key ?? 1,
21
+ );
22
+
23
+ useEffect(() => {
24
+ setActiveKey(args.activeKey ?? items?.[0]?.key ?? 1);
25
+ }, [args.activeKey, items]);
26
+
27
+ const handleChange = (key: string | number, name?: string) => {
28
+ setActiveKey(key);
29
+ args.handleChange?.(key, name as string);
30
+ };
31
+
32
+ return (
33
+ <RBChipTab {...args} activeKey={activeKey} handleChange={handleChange} />
34
+ );
35
+ };
36
+
37
+ export default {
38
+ component: RBChipTab,
39
+ tags: ["autodocs"],
40
+ argTypes: {
41
+ className: { control: { type: "text" } },
42
+ size: {
43
+ control: { type: "select" },
44
+ options: ["sm", "md", "lg"],
45
+ table: { type: { summary: '"sm" | "md" | "lg"' } },
46
+ },
47
+ tabItems: { control: { type: "object" } },
48
+ activeKey: { control: { type: "number" } },
49
+ name: { control: { type: "text" } },
50
+ slider: { control: false },
51
+ disabled: { control: { type: "boolean" } },
52
+ destroyInactiveTabPanel: { control: { type: "boolean" } },
53
+ tabNavScrollRef: { table: { disable: true } },
54
+ swipeContent: { control: { type: "boolean" } },
55
+ rippleOption: { control: { type: "object" } },
56
+ tabBtnClassName: { control: { type: "text" } },
57
+ useDefaultItemStyle: { table: { disable: true } },
58
+ tabNavClassName: { control: { type: "text" } },
59
+ handleChange: { table: { disable: true } },
60
+ onClick: { table: { disable: true } },
61
+ },
62
+ args: {
63
+ size: "md",
64
+ tabItems: baseTabItems,
65
+ disabled: false,
66
+ destroyInactiveTabPanel: true,
67
+ activeKey: 1,
68
+ },
69
+ render: Template,
70
+ } as Meta<typeof RBChipTab>;
71
+
72
+ export const Default: StoryComponent = {};
73
+
74
+ export const WithContent: StoryComponent = {
75
+ args: {
76
+ activeKey: 1,
77
+ tabItems: [
78
+ {
79
+ key: 1,
80
+ label: "Overview",
81
+ children: (
82
+ <div className="bg-bg-alt-2 text-fg-default rounded-md p-4">
83
+ Overview content
84
+ </div>
85
+ ),
86
+ },
87
+ {
88
+ key: 2,
89
+ label: "Sensors",
90
+ children: (
91
+ <div className="bg-bg-alt-2 text-fg-default rounded-md p-4">
92
+ Sensors content
93
+ </div>
94
+ ),
95
+ },
96
+ {
97
+ key: 3,
98
+ label: "Logs",
99
+ },
100
+ ],
101
+ },
102
+ };
@@ -0,0 +1,78 @@
1
+ import { useEffect, useState } from "react";
2
+ import type { Meta, StoryFn, StoryObj } from "@storybook/react";
3
+
4
+ import { RBChipsBoxTab } from "@repo/rb-components/new_components";
5
+ import type { ChipsBoxTabProps } from "@repo/rb-components/new_components";
6
+
7
+ type StoryComponent = StoryObj<typeof RBChipsBoxTab>;
8
+ type StoryTemplate = StoryFn<typeof RBChipsBoxTab>;
9
+
10
+ const baseTabItems: ChipsBoxTabProps["tabItems"] = Array.from({
11
+ length: 8,
12
+ }).map((_, i) => ({
13
+ key: i + 1,
14
+ label: "Menu",
15
+ }));
16
+
17
+ const Template: StoryTemplate = (args) => {
18
+ const items = args.tabItems ?? baseTabItems;
19
+ const [activeKey, setActiveKey] = useState<string | number>(
20
+ args.activeKey ?? items?.[0]?.key ?? 1,
21
+ );
22
+
23
+ useEffect(() => {
24
+ setActiveKey(args.activeKey ?? items?.[0]?.key ?? 1);
25
+ }, [args.activeKey, items]);
26
+
27
+ const handleChange = (key: string | number, name?: string) => {
28
+ setActiveKey(key);
29
+ args.handleChange?.(key, name as string);
30
+ };
31
+
32
+ return (
33
+ <div className="w-72">
34
+ <RBChipsBoxTab
35
+ {...args}
36
+ activeKey={activeKey}
37
+ handleChange={handleChange}
38
+ />
39
+ </div>
40
+ );
41
+ };
42
+
43
+ export default {
44
+ component: RBChipsBoxTab,
45
+ tags: ["autodocs"],
46
+ argTypes: {
47
+ className: { control: { type: "text" } },
48
+ size: {
49
+ control: { type: "select" },
50
+ options: ["xs", "xs2"],
51
+ table: { type: { summary: '"xs" | "xs2"' } },
52
+ },
53
+ tabItems: { control: { type: "object" } },
54
+ activeKey: { control: { type: "number" } },
55
+ name: { control: { type: "text" } },
56
+ slider: { control: false },
57
+ disabled: { control: { type: "boolean" } },
58
+ destroyInactiveTabPanel: { control: { type: "boolean" } },
59
+ tabNavScrollRef: { table: { disable: true } },
60
+ swipeContent: { control: { type: "boolean" } },
61
+ rippleOption: { control: { type: "object" } },
62
+ tabBtnClassName: { control: { type: "text" } },
63
+ useDefaultItemStyle: { table: { disable: true } },
64
+ tabNavClassName: { table: { disable: true } },
65
+ handleChange: { table: { disable: true } },
66
+ onClick: { table: { disable: true } },
67
+ },
68
+ args: {
69
+ size: "xs",
70
+ tabItems: baseTabItems,
71
+ disabled: false,
72
+ destroyInactiveTabPanel: true,
73
+ activeKey: 1,
74
+ },
75
+ render: Template,
76
+ } as Meta<typeof RBChipsBoxTab>;
77
+
78
+ export const Default: StoryComponent = {};
@@ -0,0 +1,57 @@
1
+ import { useState } from "react";
2
+ import type { Meta, StoryObj, StoryFn } from "@storybook/react";
3
+
4
+ import { RBTab } from "@repo/rb-components/new_components";
5
+ import type { TabProps } from "@repo/rb-components/new_components";
6
+
7
+ type StoryComponent = StoryObj<typeof RBTab>;
8
+ type StoryTemplate = StoryFn<typeof RBTab>;
9
+
10
+ const baseTabItems: TabProps["tabItems"] = Array.from({ length: 8 }).map(
11
+ (_, i) => ({
12
+ key: i + 1,
13
+ label: "Menu",
14
+ }),
15
+ );
16
+
17
+ const Template: StoryTemplate = (args) => {
18
+ const [activeKey, setActiveKey] = useState<string | number>(
19
+ args.activeKey ?? baseTabItems?.[0]?.key ?? 1,
20
+ );
21
+
22
+ const handleChange = (key: string | number, name?: string) => {
23
+ setActiveKey(key);
24
+ args.handleChange?.(key, name as string);
25
+ };
26
+
27
+ return <RBTab {...args} activeKey={activeKey} handleChange={handleChange} />;
28
+ };
29
+
30
+ export default {
31
+ component: RBTab,
32
+ tags: ["autodocs"],
33
+ argTypes: {
34
+ size: {
35
+ control: { type: "select" },
36
+ options: ["sm", "md", "lg"],
37
+ table: { type: { summary: '"sm" | "md" | "lg"' } },
38
+ },
39
+ tabItems: { control: false },
40
+ tabNavScrollRef: { control: false },
41
+ rippleOption: { control: false },
42
+ handleChange: { control: false },
43
+ onClick: { control: false },
44
+ },
45
+ args: {
46
+ size: "md",
47
+ tabItems: baseTabItems,
48
+ slider: true,
49
+ swipeContent: false,
50
+ disabled: false,
51
+ destroyInactiveTabPanel: true,
52
+ activeKey: 1,
53
+ },
54
+ render: Template,
55
+ } as Meta<typeof RBTab>;
56
+
57
+ export const Default: StoryComponent = {};
@@ -0,0 +1,177 @@
1
+ import { useState } from "react";
2
+ import type { Meta, StoryObj, StoryFn } from "@storybook/react";
3
+ import {
4
+ RBBadge,
5
+ RBCheckBox,
6
+ RBLabelButton,
7
+ RBSwitch,
8
+ RBTable,
9
+ RBTableRow,
10
+ RBTdColumn,
11
+ } from "@repo/rb-components/new_components";
12
+ import { SvgDangerSolid } from "@repo/rb-components/new_components/assets/icons";
13
+
14
+ type StoryArgs = {
15
+ list: typeof sampleList | null;
16
+ hideThead?: boolean;
17
+ stickyThead?: boolean;
18
+ loading?: boolean;
19
+ };
20
+
21
+ type StoryComponent = StoryObj<StoryArgs>;
22
+ type StoryTemplate = StoryFn<StoryArgs>;
23
+
24
+ const sampleList = [
25
+ { name: "테스트1", number: 1, role: "member", test: "test" },
26
+ { name: "테스트2", number: 2, role: "member", test: "test" },
27
+ { name: "테스트3", number: 3, role: "member", test: "test" },
28
+ ];
29
+
30
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
31
+ export default {
32
+ component: RBTable,
33
+ tags: ["autodocs"],
34
+ args: {
35
+ list: sampleList,
36
+ hideThead: false,
37
+ stickyThead: false,
38
+ loading: false,
39
+ },
40
+ } as Meta<StoryArgs>;
41
+
42
+ const Template: StoryTemplate = (args) => {
43
+ return (
44
+ <RBTable
45
+ {...args}
46
+ className="[&_[data-slot='table-head-cell']]:!bg-raised [&_[data-slot='table-cell']]:!bg-alt-2"
47
+ >
48
+ {({ item, index }) => (
49
+ <RBTableRow key={`row-${index}`}>
50
+ <RBTdColumn fieldId="name" label="Name" sortValue={item.name}>
51
+ <span>{item.name}</span>
52
+ </RBTdColumn>
53
+ <RBTdColumn fieldId="number" label="Number">
54
+ <span>{item.number}</span>
55
+ </RBTdColumn>
56
+ <RBTdColumn fieldId="role" label="Role">
57
+ <span>{item.role}</span>
58
+ </RBTdColumn>
59
+ <RBTdColumn fieldId="test" label="Test" align="center">
60
+ <span>{item.test}</span>
61
+ </RBTdColumn>
62
+ </RBTableRow>
63
+ )}
64
+ </RBTable>
65
+ );
66
+ };
67
+
68
+ export const Default: StoryComponent = {
69
+ parameters: {
70
+ docs: {
71
+ description: {
72
+ story: "",
73
+ },
74
+ },
75
+ },
76
+ args: {},
77
+ render: Template,
78
+ };
79
+
80
+ type ShowcaseItem = {
81
+ id: number;
82
+ text: string;
83
+ badge: string;
84
+ button: string;
85
+ checked: boolean;
86
+ enabled: boolean;
87
+ };
88
+
89
+ const showcaseList: ShowcaseItem[] = [
90
+ {
91
+ id: 1,
92
+ text: "Test1",
93
+ badge: "Test",
94
+ button: "Test",
95
+ checked: true,
96
+ enabled: true,
97
+ },
98
+ {
99
+ id: 2,
100
+ text: "Test2",
101
+ badge: "Test",
102
+ button: "Test",
103
+ checked: false,
104
+ enabled: false,
105
+ },
106
+ ];
107
+
108
+ export const CellExamples: StoryComponent = {
109
+ parameters: {
110
+ docs: {
111
+ description: {
112
+ story:
113
+ "RBTable 셀 안에 text, RBBadge, RBLabelButton, RBCheckBox, RBSwitch가 들어가는 예제입니다.",
114
+ },
115
+ },
116
+ },
117
+ render: () => {
118
+ const [rows, setRows] = useState(showcaseList);
119
+
120
+ return (
121
+ <RBTable list={rows}>
122
+ {({ item, index }) => (
123
+ <RBTableRow key={`showcase-row-${item.id}`}>
124
+ <RBTdColumn fieldId="text" label="Text" sortValue={item.text}>
125
+ <span>{item.text}</span>
126
+ </RBTdColumn>
127
+
128
+ <RBTdColumn fieldId="badge" label="RBBadge">
129
+ <RBBadge
130
+ color="red"
131
+ leadingIcon={<SvgDangerSolid className="size-3 shrink-0" />}
132
+ numberVariant="solid"
133
+ type="transparent"
134
+ >
135
+ {item.badge}
136
+ </RBBadge>
137
+ </RBTdColumn>
138
+
139
+ <RBTdColumn fieldId="button" label="RBButton">
140
+ <RBLabelButton size="xs" variant="soft">
141
+ {item.button}
142
+ </RBLabelButton>
143
+ </RBTdColumn>
144
+
145
+ <RBTdColumn fieldId="checkbox" label="RBCheckbox">
146
+ <RBCheckBox
147
+ value={item.checked}
148
+ handleChange={(value) => {
149
+ setRows((prev) =>
150
+ prev.map((row, rowIndex) =>
151
+ rowIndex === index
152
+ ? { ...row, checked: Boolean(value) }
153
+ : row,
154
+ ),
155
+ );
156
+ }}
157
+ />
158
+ </RBTdColumn>
159
+
160
+ <RBTdColumn fieldId="switch" label="RBSwitch" align="center">
161
+ <RBSwitch
162
+ checked={item.enabled}
163
+ onCheckedChange={(checked) => {
164
+ setRows((prev) =>
165
+ prev.map((row, rowIndex) =>
166
+ rowIndex === index ? { ...row, enabled: checked } : row,
167
+ ),
168
+ );
169
+ }}
170
+ />
171
+ </RBTdColumn>
172
+ </RBTableRow>
173
+ )}
174
+ </RBTable>
175
+ );
176
+ },
177
+ };
@@ -0,0 +1,64 @@
1
+ import type { Meta, StoryObj, StoryFn } from "@storybook/react";
2
+ import {
3
+ RBTable,
4
+ RBTableRow,
5
+ RBTdColumn,
6
+ RBTdExpend,
7
+ type TableRowProps,
8
+ } from "@repo/rb-components/new_components";
9
+
10
+ type StoryArgs = TableRowProps;
11
+ type StoryComponent = StoryObj<StoryArgs>;
12
+ type StoryTemplate = StoryFn<StoryArgs>;
13
+
14
+ const sampleList = [
15
+ { name: "테스트1", number: 1, role: "member", test: "test" },
16
+ ];
17
+
18
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
19
+ export default {
20
+ component: RBTableRow,
21
+ tags: ["autodocs"],
22
+ args: {
23
+ expendOpen: false,
24
+ },
25
+ } as Meta<StoryArgs>;
26
+
27
+ const Template: StoryTemplate = (args) => {
28
+ return (
29
+ <RBTable
30
+ className="[&_[data-slot='table-head-cell']]:bg-raised [&_[data-slot='table-cell']]:bg-alt-1"
31
+ list={sampleList}
32
+ >
33
+ {({ item, index }) => (
34
+ <RBTableRow key={`row-${index}`} {...args}>
35
+ <RBTdColumn fieldId="name" label="Name" sortValue={item.name} expend>
36
+ <span>{item.name}</span>
37
+ </RBTdColumn>
38
+ <RBTdColumn fieldId="number" label="Number" expend>
39
+ <span>{item.number}</span>
40
+ </RBTdColumn>
41
+ <RBTdColumn fieldId="role" label="Role" expend>
42
+ <span>{item.role}</span>
43
+ </RBTdColumn>
44
+ <RBTdColumn fieldId="test" label="Test" align="center" expend>
45
+ <span>{item.test}</span>
46
+ </RBTdColumn>
47
+ <RBTdExpend>RBTable Data Expend Test</RBTdExpend>
48
+ </RBTableRow>
49
+ )}
50
+ </RBTable>
51
+ );
52
+ };
53
+
54
+ export const Default: StoryComponent = {
55
+ parameters: {
56
+ docs: {
57
+ description: {
58
+ story: "",
59
+ },
60
+ },
61
+ },
62
+ args: {},
63
+ render: Template,
64
+ };
@@ -0,0 +1,117 @@
1
+ import { useState } from "react";
2
+ import type { ComponentProps, ReactElement } from "react";
3
+ import type { Meta, StoryFn, StoryObj } from "@storybook/react";
4
+
5
+ import { RBSimpleToast } from "@repo/rb-components/new_components";
6
+ import {
7
+ RBToastContainer,
8
+ toast,
9
+ type ToastType,
10
+ type ToastVariant,
11
+ } from "@repo/rb-modules/RBToast";
12
+
13
+ type StoryArgs = ComponentProps<typeof RBToastContainer> & {
14
+ variant: ToastVariant;
15
+ type: ToastType;
16
+ icon?: ReactElement;
17
+ actionLabel?: string;
18
+ handleActionClick?: () => void;
19
+ closeOnActionClick?: boolean;
20
+ };
21
+
22
+ type StoryComponent = StoryObj<StoryArgs>;
23
+ type StoryTemplate = StoryFn<StoryArgs>;
24
+
25
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
26
+ export default {
27
+ component: RBToastContainer,
28
+ tags: ["autodocs"],
29
+ args: {
30
+ position: "top-left",
31
+ type: "basic",
32
+ variant: "default",
33
+ actionLabel: "",
34
+ closeOnActionClick: true,
35
+ },
36
+ argTypes: {
37
+ position: {
38
+ control: { type: "select" },
39
+ options: [
40
+ "top-center",
41
+ "top-left",
42
+ "top-right",
43
+ "bottom-center",
44
+ "bottom-left",
45
+ "bottom-right",
46
+ ],
47
+ },
48
+ variant: {
49
+ control: { type: "select" },
50
+ options: ["default", "danger", "warning", "caution", "success", "copy"],
51
+ },
52
+ type: {
53
+ control: { type: "select" },
54
+ options: ["basic", "alert"],
55
+ },
56
+ icon: { control: false },
57
+ actionLabel: {
58
+ control: { type: "text" },
59
+ description: "액션 버튼 라벨",
60
+ },
61
+ handleActionClick: {
62
+ control: false,
63
+ description: "액션 버튼 클릭 시 실행할 함수",
64
+ },
65
+ closeOnActionClick: {
66
+ control: { type: "boolean" },
67
+ description: "액션 버튼 클릭 뒤 토스트를 닫을지 여부",
68
+ },
69
+ },
70
+ } as Meta<StoryArgs>;
71
+
72
+ const Template: StoryTemplate = (args) => {
73
+ const [count, setCount] = useState(0);
74
+
75
+ const handleClick = () => {
76
+ setCount(count + 1);
77
+ toast.openToast({
78
+ title: `Toast Title ${count}`,
79
+ content: `This is a toast message long test long test long test long test long test long test.`,
80
+ icon: args.icon,
81
+ actionLabel: args.actionLabel || undefined,
82
+ handleActionClick: args.actionLabel
83
+ ? () => console.info("toast action clicked")
84
+ : undefined,
85
+ closeOnActionClick: args.closeOnActionClick,
86
+ type: args.type as ToastType,
87
+ variant: args.variant as ToastVariant,
88
+ position: args.position,
89
+ duration: args.duration,
90
+ });
91
+ };
92
+
93
+ return (
94
+ <div className="border-danger flex h-100 flex-col items-center justify-center border-1">
95
+ <RBToastContainer
96
+ position={args.position}
97
+ duration={args.duration}
98
+ toastComponent={RBSimpleToast}
99
+ />
100
+ <button onClick={handleClick} className="text-fg-default">
101
+ open toast
102
+ </button>
103
+ </div>
104
+ );
105
+ };
106
+
107
+ export const Default: StoryComponent = {
108
+ parameters: {
109
+ docs: {
110
+ description: {
111
+ story: "",
112
+ },
113
+ },
114
+ },
115
+ args: {},
116
+ render: Template,
117
+ };