mtxuilib 0.0.306 → 0.0.307

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 (623) hide show
  1. package/dist/App.cjs +2 -17
  2. package/dist/MtmButton.cjs +2 -2
  3. package/dist/NovelEditor.cjs +1 -0
  4. package/dist/NovelEditorLoader.cjs +5 -8
  5. package/dist/browser/index.min.js +1 -2
  6. package/dist/common/FullCenter.cjs +32 -0
  7. package/dist/common/MtImage.cjs +85 -0
  8. package/dist/common/OnlyDebug.cjs +33 -0
  9. package/dist/common/mtlink.cjs +85 -0
  10. package/dist/common/table/cells/ExpenderCell.cjs +55 -0
  11. package/dist/common/table/cells/SelectCell.cjs +57 -0
  12. package/dist/common/table/cells/Text.cjs +49 -0
  13. package/dist/common/table/cells/ViewLink.cjs +57 -0
  14. package/dist/common/table/cells/container/cellWrapper.cjs +31 -0
  15. package/dist/common/table/cells/number.cjs +46 -0
  16. package/dist/common/table/cells/string.cjs +51 -0
  17. package/dist/common/table/data-table-pagination.cjs +86 -0
  18. package/dist/common/table/data-table-view-options.cjs +58 -0
  19. package/dist/common/table/datatable-view-options.cjs +17 -0
  20. package/dist/common/tailwind-indicator.cjs +33 -0
  21. package/dist/consts.cjs +1 -0
  22. package/dist/entry-client.cjs +2 -2
  23. package/dist/entry-server.cjs +2 -2
  24. package/dist/esm/App.d.ts +2 -1
  25. package/dist/esm/App.js +1 -17
  26. package/dist/esm/MtmButton.d.ts +2 -1
  27. package/dist/esm/MtmButton.js +1 -2
  28. package/dist/esm/NovelEditor.d.ts +2 -1
  29. package/dist/esm/NovelEditorLoader.d.ts +2 -1
  30. package/dist/esm/NovelEditorLoader.js +4 -8
  31. package/dist/esm/common/FullCenter.d.ts +2 -0
  32. package/dist/esm/common/FullCenter.js +9 -0
  33. package/dist/esm/common/MtImage.d.ts +5 -0
  34. package/dist/esm/common/MtImage.js +54 -0
  35. package/dist/esm/common/OnlyDebug.d.ts +2 -0
  36. package/dist/esm/common/OnlyDebug.js +10 -0
  37. package/dist/esm/common/mtlink.d.ts +8 -0
  38. package/dist/esm/common/mtlink.js +54 -0
  39. package/dist/esm/common/table/cells/ExpenderCell.d.ts +3 -0
  40. package/dist/esm/common/table/cells/ExpenderCell.js +34 -0
  41. package/dist/esm/common/table/cells/SelectCell.d.ts +13 -0
  42. package/dist/esm/common/table/cells/SelectCell.js +23 -0
  43. package/dist/esm/common/table/cells/Text.d.ts +9 -0
  44. package/dist/esm/common/table/cells/Text.js +16 -0
  45. package/dist/esm/common/table/cells/ViewLink.d.ts +13 -0
  46. package/dist/esm/common/table/cells/ViewLink.js +23 -0
  47. package/dist/esm/common/table/cells/container/cellWrapper.d.ts +6 -0
  48. package/dist/esm/common/table/cells/container/cellWrapper.js +8 -0
  49. package/dist/esm/common/table/cells/number.d.ts +3 -0
  50. package/dist/esm/common/table/cells/number.js +13 -0
  51. package/dist/esm/common/table/cells/string.d.ts +3 -0
  52. package/dist/esm/common/table/cells/string.js +18 -0
  53. package/dist/esm/common/table/data-table-pagination.d.ts +7 -0
  54. package/dist/esm/common/table/data-table-pagination.js +68 -0
  55. package/dist/esm/common/table/data-table-view-options.d.ts +7 -0
  56. package/dist/esm/common/table/data-table-view-options.js +35 -0
  57. package/dist/esm/common/table/datatable-view-options.d.ts +12 -0
  58. package/dist/esm/common/table/datatable-view-options.js +2 -0
  59. package/dist/esm/common/tailwind-indicator.d.ts +2 -0
  60. package/dist/esm/common/tailwind-indicator.js +10 -0
  61. package/dist/esm/entry-client.js +1 -2
  62. package/dist/esm/entry-server.js +1 -2
  63. package/dist/esm/icons/icons.d.ts +18 -17
  64. package/dist/esm/icons/icons.js +31 -41
  65. package/dist/esm/index.d.ts +2 -1
  66. package/dist/esm/index.js +1 -2
  67. package/dist/esm/lib/clientlib/clientlib.d.ts +6 -0
  68. package/dist/esm/lib/clientlib/clientlib.js +45 -0
  69. package/dist/esm/lib/clientlib/domutils.d.ts +2 -0
  70. package/dist/esm/lib/clientlib/domutils.js +15 -0
  71. package/dist/esm/lib/clientlib/selectPath.d.ts +4 -0
  72. package/dist/esm/lib/clientlib/selectPath.js +46 -0
  73. package/dist/esm/lib/connectquery/call-unary-method.d.ts +8 -0
  74. package/dist/esm/lib/connectquery/call-unary-method.js +48 -0
  75. package/dist/esm/lib/connectquery/connect-query-key.d.ts +16 -0
  76. package/dist/esm/lib/connectquery/connect-query-key.js +16 -0
  77. package/dist/esm/lib/connectquery/create-use-infinite-query-options.d.ts +21 -0
  78. package/dist/esm/lib/connectquery/create-use-infinite-query-options.js +93 -0
  79. package/dist/esm/lib/connectquery/create-use-query-options.d.ts +19 -0
  80. package/dist/esm/lib/connectquery/create-use-query-options.js +75 -0
  81. package/dist/esm/lib/connectquery/default-options.d.ts +6 -0
  82. package/dist/esm/lib/connectquery/default-options.js +10 -0
  83. package/dist/esm/lib/connectquery/index.d.ts +16 -0
  84. package/dist/esm/lib/connectquery/index.js +34 -0
  85. package/dist/esm/lib/connectquery/method-unary-descriptor.d.ts +4 -0
  86. package/dist/esm/lib/connectquery/method-unary-descriptor.js +1 -0
  87. package/dist/esm/lib/connectquery/use-infinite-query.d.ts +12 -0
  88. package/dist/esm/lib/connectquery/use-infinite-query.js +88 -0
  89. package/dist/esm/lib/connectquery/use-mutation.d.ts +10 -0
  90. package/dist/esm/lib/connectquery/use-mutation.js +80 -0
  91. package/dist/esm/lib/connectquery/use-query.d.ts +12 -0
  92. package/dist/esm/lib/connectquery/use-query.js +76 -0
  93. package/dist/esm/lib/connectquery/use-transport.d.ts +7 -0
  94. package/dist/esm/lib/connectquery/use-transport.js +23 -0
  95. package/dist/esm/lib/connectquery/utils.d.ts +12 -0
  96. package/dist/esm/lib/connectquery/utils.js +25 -0
  97. package/dist/esm/lib/http/cors.d.ts +15 -0
  98. package/dist/esm/lib/http/cors.js +130 -0
  99. package/dist/esm/lib/http/fetchMiddleWithCache.d.ts +2 -0
  100. package/dist/esm/lib/http/fetchMiddleWithCache.js +88 -0
  101. package/dist/esm/lib/http/fetchMiddleWithUrlProxy.d.ts +2 -0
  102. package/dist/esm/lib/http/fetchMiddleWithUrlProxy.js +30 -0
  103. package/dist/esm/lib/http/mthttp.d.ts +5 -0
  104. package/dist/esm/lib/http/mthttp.js +62 -0
  105. package/dist/esm/lib/http/response-cache.test.js +73 -0
  106. package/dist/esm/lib/jotai-helper.d.ts +23 -0
  107. package/dist/esm/lib/jotai-helper.js +97 -0
  108. package/dist/esm/lib/mt-logger.d.ts +38 -0
  109. package/dist/esm/lib/mt-logger.js +102 -0
  110. package/dist/esm/lib/mtmFetcher.d.ts +12 -0
  111. package/dist/esm/lib/mtmFetcher.js +107 -0
  112. package/dist/esm/lib/mtmclient/descriptions/mtm/conf/conf.d.ts +0 -0
  113. package/dist/esm/lib/mtmclient/descriptions/mtm/conf/conf.js +1 -0
  114. package/dist/esm/lib/mtmclient/descriptions/mtm/mtbot/mtbotpb/bot.d.ts +0 -0
  115. package/dist/esm/lib/mtmclient/descriptions/mtm/mtbot/mtbotpb/bot.js +1 -0
  116. package/dist/esm/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.d.ts +0 -0
  117. package/dist/esm/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.js +1 -0
  118. package/dist/esm/lib/mtmclient/descriptions/mtm/sp/sppb/sp.d.ts +0 -0
  119. package/dist/esm/lib/mtmclient/descriptions/mtm/sp/sppb/sp.js +1 -0
  120. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/ai.d.ts +0 -0
  121. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/ai.js +1 -0
  122. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/av.d.ts +0 -0
  123. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/av.js +1 -0
  124. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/cx.d.ts +0 -0
  125. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/cx.js +1 -0
  126. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/events.d.ts +0 -0
  127. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/events.js +1 -0
  128. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/job.d.ts +0 -0
  129. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/job.js +1 -0
  130. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtm.d.ts +0 -0
  131. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtm.js +1 -0
  132. package/dist/esm/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.d.ts +53 -0
  133. package/dist/esm/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.js +61 -0
  134. package/dist/esm/lib/mtmclient/mtm/conf/conf_connect.d.ts +38 -0
  135. package/dist/esm/lib/mtmclient/mtm/conf/conf_connect.js +57 -0
  136. package/dist/esm/lib/mtmclient/mtm/conf/conf_pb.d.ts +480 -0
  137. package/dist/esm/lib/mtmclient/mtm/conf/conf_pb.js +2361 -0
  138. package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot-BotService_connectquery.d.ts +33 -0
  139. package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot-BotService_connectquery.js +39 -0
  140. package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot_connect.d.ts +26 -0
  141. package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot_connect.js +43 -0
  142. package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot_pb.d.ts +304 -0
  143. package/dist/esm/lib/mtmclient/mtm/mtbot/mtbotpb/bot_pb.js +920 -0
  144. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.d.ts +52 -0
  145. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.js +60 -0
  146. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.d.ts +37 -0
  147. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.js +56 -0
  148. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.d.ts +154 -0
  149. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.js +531 -0
  150. package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp-SpService_connectquery.d.ts +213 -0
  151. package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp-SpService_connectquery.js +237 -0
  152. package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp_connect.d.ts +134 -0
  153. package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp_connect.js +209 -0
  154. package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp_pb.d.ts +684 -0
  155. package/dist/esm/lib/mtmclient/mtm/sp/sppb/sp_pb.js +2906 -0
  156. package/dist/esm/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.d.ts +22 -0
  157. package/dist/esm/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.js +27 -0
  158. package/dist/esm/lib/mtmclient/mtm/sppb/ai_connect.d.ts +19 -0
  159. package/dist/esm/lib/mtmclient/mtm/sppb/ai_connect.js +33 -0
  160. package/dist/esm/lib/mtmclient/mtm/sppb/ai_pb.d.ts +47 -0
  161. package/dist/esm/lib/mtmclient/mtm/sppb/ai_pb.js +150 -0
  162. package/dist/esm/lib/mtmclient/mtm/sppb/av-AvService_connectquery.d.ts +53 -0
  163. package/dist/esm/lib/mtmclient/mtm/sppb/av-AvService_connectquery.js +61 -0
  164. package/dist/esm/lib/mtmclient/mtm/sppb/av_connect.d.ts +38 -0
  165. package/dist/esm/lib/mtmclient/mtm/sppb/av_connect.js +57 -0
  166. package/dist/esm/lib/mtmclient/mtm/sppb/av_pb.d.ts +77 -0
  167. package/dist/esm/lib/mtmclient/mtm/sppb/av_pb.js +291 -0
  168. package/dist/esm/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.d.ts +133 -0
  169. package/dist/esm/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.js +149 -0
  170. package/dist/esm/lib/mtmclient/mtm/sppb/cx_connect.d.ts +86 -0
  171. package/dist/esm/lib/mtmclient/mtm/sppb/cx_connect.js +142 -0
  172. package/dist/esm/lib/mtmclient/mtm/sppb/cx_pb.d.ts +362 -0
  173. package/dist/esm/lib/mtmclient/mtm/sppb/cx_pb.js +1726 -0
  174. package/dist/esm/lib/mtmclient/mtm/sppb/events_pb.d.ts +231 -0
  175. package/dist/esm/lib/mtmclient/mtm/sppb/events_pb.js +875 -0
  176. package/dist/esm/lib/mtmclient/mtm/sppb/job-JobService_connectquery.d.ts +33 -0
  177. package/dist/esm/lib/mtmclient/mtm/sppb/job-JobService_connectquery.js +39 -0
  178. package/dist/esm/lib/mtmclient/mtm/sppb/job_connect.d.ts +26 -0
  179. package/dist/esm/lib/mtmclient/mtm/sppb/job_connect.js +41 -0
  180. package/dist/esm/lib/mtmclient/mtm/sppb/job_pb.d.ts +116 -0
  181. package/dist/esm/lib/mtmclient/mtm/sppb/job_pb.js +443 -0
  182. package/dist/esm/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.d.ts +512 -0
  183. package/dist/esm/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.js +566 -0
  184. package/dist/esm/lib/mtmclient/mtm/sppb/mtm_connect.d.ts +313 -0
  185. package/dist/esm/lib/mtmclient/mtm/sppb/mtm_connect.js +504 -0
  186. package/dist/esm/lib/mtmclient/mtm/sppb/mtm_pb.d.ts +1885 -0
  187. package/dist/esm/lib/mtmclient/mtm/sppb/mtm_pb.js +7654 -0
  188. package/dist/esm/lib/mtmservices.d.ts +3 -0
  189. package/dist/esm/lib/mtmservices.js +23 -0
  190. package/dist/esm/lib/queue copy.d.ts +7 -0
  191. package/dist/esm/lib/queue copy.js +48 -0
  192. package/dist/esm/lib/render copy.d.ts +4 -0
  193. package/dist/esm/lib/render copy.js +36 -0
  194. package/dist/esm/lib/render.js +1 -2
  195. package/dist/esm/lib/sslib/mtmcore.d.ts +3 -3
  196. package/dist/esm/lib/url.d.ts +2 -0
  197. package/dist/esm/lib/url.js +70 -0
  198. package/dist/esm/lib/utils.d.ts +4 -2
  199. package/dist/esm/lib/utils.js +43 -1
  200. package/dist/esm/store/MtConnectProvider.d.ts +2 -0
  201. package/dist/esm/store/MtConnectProvider.js +18 -0
  202. package/dist/esm/store/ReactQueryProvider.d.ts +7 -0
  203. package/dist/esm/store/ReactQueryProvider.js +102 -0
  204. package/dist/esm/store/StorybookDecorator.d.ts +5 -0
  205. package/dist/esm/store/StorybookDecorator.js +20 -0
  206. package/dist/esm/store/appContext.d.ts +78 -0
  207. package/dist/esm/store/appContext.js +156 -0
  208. package/dist/esm/store/hydrateCore.d.ts +2 -0
  209. package/dist/esm/store/hydrateCore.js +49 -0
  210. package/dist/esm/store/logger.context.d.ts +16 -0
  211. package/dist/esm/store/logger.context.js +41 -0
  212. package/dist/esm/store/pageMeta.d.ts +3 -0
  213. package/dist/esm/store/pageMeta.js +15 -0
  214. package/dist/esm/ui/accordion.js +11 -19
  215. package/dist/esm/ui/alert copy.d.ts +9 -0
  216. package/dist/esm/ui/alert copy.js +85 -0
  217. package/dist/esm/ui/alert-dialog.d.ts +2 -2
  218. package/dist/esm/ui/alert-dialog.js +17 -21
  219. package/dist/esm/ui/alert.d.ts +3 -3
  220. package/dist/esm/ui/alert.js +3 -4
  221. package/dist/esm/ui/avatar.js +3 -4
  222. package/dist/esm/ui/badge.d.ts +4 -4
  223. package/dist/esm/ui/badge.js +2 -2
  224. package/dist/esm/ui/button.d.ts +4 -4
  225. package/dist/esm/ui/button.js +1 -2
  226. package/dist/esm/ui/calendar.d.ts +1 -1
  227. package/dist/esm/ui/calendar.js +4 -4
  228. package/dist/esm/ui/card.js +6 -7
  229. package/dist/esm/ui/checkbox.js +10 -15
  230. package/dist/esm/ui/command.d.ts +19 -19
  231. package/dist/esm/ui/command.js +18 -25
  232. package/dist/esm/ui/context-menu.d.ts +4 -4
  233. package/dist/esm/ui/context-menu.js +22 -35
  234. package/dist/esm/ui/dialog.d.ts +2 -2
  235. package/dist/esm/ui/dialog.js +17 -30
  236. package/dist/esm/ui/drawer.d.ts +4 -4
  237. package/dist/esm/ui/drawer.js +18 -28
  238. package/dist/esm/ui/dropdown-menu.d.ts +4 -4
  239. package/dist/esm/ui/dropdown-menu.js +22 -35
  240. package/dist/esm/ui/form copy.d.ts +24 -0
  241. package/dist/esm/ui/form copy.js +140 -0
  242. package/dist/esm/ui/form.d.ts +3 -3
  243. package/dist/esm/ui/form.js +9 -14
  244. package/dist/esm/ui/hover-card.js +1 -2
  245. package/dist/esm/ui/input.js +1 -2
  246. package/dist/esm/ui/label.d.ts +1 -1
  247. package/dist/esm/ui/label.js +1 -2
  248. package/dist/esm/ui/menubar.d.ts +4 -4
  249. package/dist/esm/ui/menubar.js +24 -37
  250. package/dist/esm/ui/navigation-menu.d.ts +1 -1
  251. package/dist/esm/ui/navigation-menu.js +25 -36
  252. package/dist/esm/ui/novel/content.d.ts +3 -3
  253. package/dist/esm/ui/novel/novel/src/components/editor-bubble-item.js +1 -2
  254. package/dist/esm/ui/novel/novel/src/components/editor-bubble.js +1 -5
  255. package/dist/esm/ui/novel/novel/src/components/editor-command-item.d.ts +4 -4
  256. package/dist/esm/ui/novel/novel/src/components/editor-command-item.js +4 -5
  257. package/dist/esm/ui/novel/novel/src/components/editor-command.d.ts +8 -8
  258. package/dist/esm/ui/novel/novel/src/components/editor-command.js +14 -21
  259. package/dist/esm/ui/novel/novel/src/components/editor.d.ts +2 -2
  260. package/dist/esm/ui/novel/novel/src/components/editor.js +6 -7
  261. package/dist/esm/ui/novel/novel/src/extensions/image-resizer.js +1 -2
  262. package/dist/esm/ui/novel/novel/src/extensions/slash-command.d.ts +2 -2
  263. package/dist/esm/ui/novel/novel/src/utils/atoms.d.ts +3 -1
  264. package/dist/esm/ui/novel/novel/src/utils/store.d.ts +9 -9
  265. package/dist/esm/ui/novel/novel/src/utils/utils.d.ts +1 -1
  266. package/dist/esm/ui/novel/tailwind/advanced-editor.d.ts +2 -1
  267. package/dist/esm/ui/novel/tailwind/advanced-editor.js +35 -58
  268. package/dist/esm/ui/novel/tailwind/generative/ai-completion-command.d.ts +2 -1
  269. package/dist/esm/ui/novel/tailwind/generative/ai-completion-command.js +30 -45
  270. package/dist/esm/ui/novel/tailwind/generative/ai-selector-commands.d.ts +2 -1
  271. package/dist/esm/ui/novel/tailwind/generative/ai-selector-commands.js +28 -37
  272. package/dist/esm/ui/novel/tailwind/generative/ai-selector.d.ts +2 -1
  273. package/dist/esm/ui/novel/tailwind/generative/ai-selector.js +43 -58
  274. package/dist/esm/ui/novel/tailwind/generative/generative-menu-switch.d.ts +1 -1
  275. package/dist/esm/ui/novel/tailwind/generative/generative-menu-switch.js +15 -23
  276. package/dist/esm/ui/novel/tailwind/selectors/color-selector.d.ts +2 -1
  277. package/dist/esm/ui/novel/tailwind/selectors/color-selector.js +55 -78
  278. package/dist/esm/ui/novel/tailwind/selectors/link-selector.d.ts +3 -2
  279. package/dist/esm/ui/novel/tailwind/selectors/link-selector.js +50 -58
  280. package/dist/esm/ui/novel/tailwind/selectors/node-selector.d.ts +2 -1
  281. package/dist/esm/ui/novel/tailwind/selectors/node-selector.js +19 -31
  282. package/dist/esm/ui/novel/tailwind/selectors/text-buttons.d.ts +2 -1
  283. package/dist/esm/ui/novel/tailwind/selectors/text-buttons.js +12 -13
  284. package/dist/esm/ui/novel/tailwind/slash-command.js +11 -12
  285. package/dist/esm/ui/novel/tailwind/ui/button.d.ts +4 -4
  286. package/dist/esm/ui/novel/tailwind/ui/button.js +1 -2
  287. package/dist/esm/ui/novel/tailwind/ui/command.d.ts +19 -19
  288. package/dist/esm/ui/novel/tailwind/ui/command.js +18 -25
  289. package/dist/esm/ui/novel/tailwind/ui/dialog.d.ts +2 -2
  290. package/dist/esm/ui/novel/tailwind/ui/dialog.js +17 -30
  291. package/dist/esm/ui/novel/tailwind/ui/icons/crazy-spinner.d.ts +2 -1
  292. package/dist/esm/ui/novel/tailwind/ui/icons/crazy-spinner.js +1 -6
  293. package/dist/esm/ui/novel/tailwind/ui/icons/font-default.d.ts +2 -1
  294. package/dist/esm/ui/novel/tailwind/ui/icons/font-default.js +17 -20
  295. package/dist/esm/ui/novel/tailwind/ui/icons/font-mono.d.ts +2 -1
  296. package/dist/esm/ui/novel/tailwind/ui/icons/font-mono.js +17 -20
  297. package/dist/esm/ui/novel/tailwind/ui/icons/font-serif.d.ts +2 -1
  298. package/dist/esm/ui/novel/tailwind/ui/icons/font-serif.js +17 -20
  299. package/dist/esm/ui/novel/tailwind/ui/icons/github.d.ts +2 -1
  300. package/dist/esm/ui/novel/tailwind/ui/icons/github.js +4 -5
  301. package/dist/esm/ui/novel/tailwind/ui/icons/loading-circle.d.ts +2 -1
  302. package/dist/esm/ui/novel/tailwind/ui/icons/loading-circle.js +17 -20
  303. package/dist/esm/ui/novel/tailwind/ui/icons/magic.d.ts +2 -1
  304. package/dist/esm/ui/novel/tailwind/ui/icons/magic.js +24 -27
  305. package/dist/esm/ui/novel/tailwind/ui/menu.d.ts +2 -1
  306. package/dist/esm/ui/novel/tailwind/ui/menu.js +16 -28
  307. package/dist/esm/ui/novel/tailwind/ui/popover.js +2 -3
  308. package/dist/esm/ui/novel/tailwind/ui/scroll-area.js +10 -18
  309. package/dist/esm/ui/novel/tailwind/ui/separator.js +1 -2
  310. package/dist/esm/ui/pagination.d.ts +5 -5
  311. package/dist/esm/ui/pagination.js +19 -32
  312. package/dist/esm/ui/popover.js +2 -3
  313. package/dist/esm/ui/progress.js +10 -15
  314. package/dist/esm/ui/radio-group.js +5 -7
  315. package/dist/esm/ui/resizable.d.ts +23 -23
  316. package/dist/esm/ui/resizable.js +5 -10
  317. package/dist/esm/ui/scroll-area.js +18 -26
  318. package/dist/esm/ui/select.js +26 -37
  319. package/dist/esm/ui/separator.js +1 -2
  320. package/dist/esm/ui/sheet.d.ts +5 -5
  321. package/dist/esm/ui/sheet.js +14 -24
  322. package/dist/esm/ui/skeleton.d.ts +1 -1
  323. package/dist/esm/ui/skeleton.js +1 -2
  324. package/dist/esm/ui/slider.js +5 -12
  325. package/dist/esm/ui/sonner.d.ts +1 -1
  326. package/dist/esm/ui/sonner.js +1 -2
  327. package/dist/esm/ui/switch.js +11 -12
  328. package/dist/esm/ui/table.js +9 -10
  329. package/dist/esm/ui/tabs.js +3 -4
  330. package/dist/esm/ui/textarea.js +1 -2
  331. package/dist/esm/ui/toast.d.ts +3 -3
  332. package/dist/esm/ui/toast.js +9 -14
  333. package/dist/esm/ui/toaster.d.ts +2 -1
  334. package/dist/esm/ui/toaster.js +4 -18
  335. package/dist/esm/ui/toggle.d.ts +8 -8
  336. package/dist/esm/ui/toggle.js +1 -2
  337. package/dist/esm/ui/tooltip.js +1 -2
  338. package/dist/esm/ui/ui-mt/Button.d.ts +2 -0
  339. package/dist/esm/ui/ui-mt/Button.js +6 -0
  340. package/dist/esm/ui/ui-mt/MtForm.d.ts +2 -0
  341. package/dist/esm/ui/ui-mt/MtForm.js +7 -0
  342. package/dist/esm/ui/ui-mt/NavTag.d.ts +7 -0
  343. package/dist/esm/ui/ui-mt/NavTag.js +24 -0
  344. package/dist/esm/ui/ui-mt/Separator.d.ts +2 -0
  345. package/dist/esm/ui/ui-mt/Separator.js +7 -0
  346. package/dist/esm/ui/ui-mt/SimpleModel.d.ts +4 -0
  347. package/dist/esm/ui/ui-mt/SimpleModel.js +51 -0
  348. package/dist/esm/ui/ui-mt/inputField/InputField.d.ts +4 -0
  349. package/dist/esm/ui/ui-mt/inputField/InputField.js +82 -0
  350. package/dist/esm/ui/ui-mt/inputField/SingleUploadForm.d.ts +3 -0
  351. package/dist/esm/ui/ui-mt/inputField/SingleUploadForm.js +146 -0
  352. package/dist/esm/ui/ui-mt/inputField/TextArea.d.ts +4 -0
  353. package/dist/esm/ui/ui-mt/inputField/TextArea.js +60 -0
  354. package/dist/esm/ui/ui-mt/inputField/TextFileInput.d.ts +8 -0
  355. package/dist/esm/ui/ui-mt/inputField/TextFileInput.js +102 -0
  356. package/dist/esm/ui/ui-mt/inputField/select/InputSelect.d.ts +8 -0
  357. package/dist/esm/ui/ui-mt/inputField/select/InputSelect.js +65 -0
  358. package/dist/esm/ui/ui-mt/inputField/types.d.ts +5 -0
  359. package/dist/esm/ui/ui-mt/inputField/types.js +1 -0
  360. package/dist/esm/ui/ui-mt/inputs/SearchInput.d.ts +4 -0
  361. package/dist/esm/ui/ui-mt/inputs/SearchInput.js +52 -0
  362. package/dist/esm/ui/ui-mt/inputs/searchBar.d.ts +2 -0
  363. package/dist/esm/ui/ui-mt/inputs/searchBar.js +18 -0
  364. package/dist/esm/ui/ui-mt/skeleton/skeleton-card.d.ts +4 -0
  365. package/dist/esm/ui/ui-mt/skeleton/skeleton-card.js +14 -0
  366. package/dist/esm/ui/ui-mt/skeleton/skeleton2.d.ts +2 -0
  367. package/dist/esm/ui/ui-mt/skeleton/skeleton2.js +7 -0
  368. package/dist/esm/ui/ui-mt/skeleton/skeletons.d.ts +6 -0
  369. package/dist/esm/ui/ui-mt/skeleton/skeletons.js +9 -0
  370. package/dist/esm/ui/ui-vamp/alert.d.ts +18 -0
  371. package/dist/esm/ui/ui-vamp/alert.js +124 -0
  372. package/dist/esm/ui/ui-vamp/avatar.d.ts +10 -0
  373. package/dist/esm/ui/ui-vamp/avatar.js +92 -0
  374. package/dist/esm/ui/ui-vamp/button.d.ts +13 -0
  375. package/dist/esm/ui/ui-vamp/button.js +90 -0
  376. package/dist/esm/ui/ui-vamp/card.d.ts +24 -0
  377. package/dist/esm/ui/ui-vamp/card.js +87 -0
  378. package/dist/esm/ui/ui-vamp/checkbox.d.ts +13 -0
  379. package/dist/esm/ui/ui-vamp/checkbox.js +76 -0
  380. package/dist/esm/ui/ui-vamp/chip.d.ts +11 -0
  381. package/dist/esm/ui/ui-vamp/chip.js +69 -0
  382. package/dist/esm/ui/ui-vamp/dropdown.d.ts +12 -0
  383. package/dist/esm/ui/ui-vamp/dropdown.js +96 -0
  384. package/dist/esm/ui/ui-vamp/external-link.d.ts +7 -0
  385. package/dist/esm/ui/ui-vamp/external-link.js +48 -0
  386. package/dist/esm/ui/ui-vamp/headline.d.ts +8 -0
  387. package/dist/esm/ui/ui-vamp/headline.js +7 -0
  388. package/dist/esm/ui/ui-vamp/input.d.ts +13 -0
  389. package/dist/esm/ui/ui-vamp/input.js +81 -0
  390. package/dist/esm/ui/ui-vamp/keyvalue.d.ts +8 -0
  391. package/dist/esm/ui/ui-vamp/keyvalue.js +23 -0
  392. package/dist/esm/ui/ui-vamp/label.d.ts +5 -0
  393. package/dist/esm/ui/ui-vamp/label.js +42 -0
  394. package/dist/esm/ui/ui-vamp/mobile-nav-button.d.ts +2 -0
  395. package/dist/esm/ui/ui-vamp/mobile-nav-button.js +21 -0
  396. package/dist/esm/ui/ui-vamp/modal.d.ts +11 -0
  397. package/dist/esm/ui/ui-vamp/modal.js +78 -0
  398. package/dist/esm/ui/ui-vamp/pagination.d.ts +8 -0
  399. package/dist/esm/ui/ui-vamp/pagination.js +69 -0
  400. package/dist/esm/ui/ui-vamp/scroll-area.d.ts +10 -0
  401. package/dist/esm/ui/ui-vamp/scroll-area.js +80 -0
  402. package/dist/esm/ui/ui-vamp/skeleton.d.ts +6 -0
  403. package/dist/esm/ui/ui-vamp/skeleton.js +46 -0
  404. package/dist/esm/ui/ui-vamp/stripe-not-connected-modal.d.ts +6 -0
  405. package/dist/esm/ui/ui-vamp/stripe-not-connected-modal.js +33 -0
  406. package/dist/esm/ui/ui-vamp/textarea.d.ts +12 -0
  407. package/dist/esm/ui/ui-vamp/textarea.js +74 -0
  408. package/dist/esm/ui/ui-vamp/toggle-group.d.ts +8 -0
  409. package/dist/esm/ui/ui-vamp/toggle-group.js +58 -0
  410. package/dist/icons/icons.cjs +32 -41
  411. package/dist/index.cjs +2 -2
  412. package/dist/lib/clientlib/clientlib.cjs +72 -0
  413. package/dist/lib/clientlib/domutils.cjs +39 -0
  414. package/dist/lib/clientlib/selectPath.cjs +69 -0
  415. package/dist/lib/connectquery/call-unary-method.cjs +71 -0
  416. package/dist/lib/connectquery/connect-query-key.cjs +40 -0
  417. package/dist/lib/connectquery/create-use-infinite-query-options.cjs +112 -0
  418. package/dist/lib/connectquery/create-use-query-options.cjs +96 -0
  419. package/dist/lib/connectquery/default-options.cjs +43 -0
  420. package/dist/lib/connectquery/index.cjs +65 -0
  421. package/dist/lib/connectquery/method-unary-descriptor.cjs +16 -0
  422. package/dist/lib/connectquery/use-infinite-query.cjs +107 -0
  423. package/dist/lib/connectquery/use-mutation.cjs +101 -0
  424. package/dist/lib/connectquery/use-query.cjs +95 -0
  425. package/dist/lib/connectquery/use-transport.cjs +48 -0
  426. package/dist/lib/connectquery/utils.cjs +51 -0
  427. package/dist/lib/errors.cjs +1 -0
  428. package/dist/lib/http/cors.cjs +151 -0
  429. package/dist/lib/http/fetchMiddleWithCache.cjs +111 -0
  430. package/dist/lib/http/fetchMiddleWithUrlProxy.cjs +53 -0
  431. package/dist/lib/http/mthttp.cjs +88 -0
  432. package/dist/lib/http/response-cache.test.cjs +73 -0
  433. package/dist/lib/jotai-helper.cjs +122 -0
  434. package/dist/lib/mt-logger.cjs +125 -0
  435. package/dist/lib/mtmFetcher.cjs +134 -0
  436. package/dist/lib/mtmclient/descriptions/mtm/conf/conf.cjs +1 -0
  437. package/dist/lib/mtmclient/descriptions/mtm/mtbot/mtbotpb/bot.cjs +1 -0
  438. package/dist/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.cjs +1 -0
  439. package/dist/lib/mtmclient/descriptions/mtm/sp/sppb/sp.cjs +1 -0
  440. package/dist/lib/mtmclient/descriptions/mtm/sppb/ai.cjs +1 -0
  441. package/dist/lib/mtmclient/descriptions/mtm/sppb/av.cjs +1 -0
  442. package/dist/lib/mtmclient/descriptions/mtm/sppb/cx.cjs +1 -0
  443. package/dist/lib/mtmclient/descriptions/mtm/sppb/events.cjs +1 -0
  444. package/dist/lib/mtmclient/descriptions/mtm/sppb/job.cjs +1 -0
  445. package/dist/lib/mtmclient/descriptions/mtm/sppb/mtm.cjs +1 -0
  446. package/dist/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.cjs +88 -0
  447. package/dist/lib/mtmclient/mtm/conf/conf_connect.cjs +80 -0
  448. package/dist/lib/mtmclient/mtm/conf/conf_pb.cjs +2416 -0
  449. package/dist/lib/mtmclient/mtm/mtbot/mtbotpb/bot-BotService_connectquery.cjs +64 -0
  450. package/dist/lib/mtmclient/mtm/mtbot/mtbotpb/bot_connect.cjs +66 -0
  451. package/dist/lib/mtmclient/mtm/mtbot/mtbotpb/bot_pb.cjs +968 -0
  452. package/dist/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.cjs +87 -0
  453. package/dist/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.cjs +79 -0
  454. package/dist/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.cjs +565 -0
  455. package/dist/lib/mtmclient/mtm/sp/sppb/sp-SpService_connectquery.cjs +280 -0
  456. package/dist/lib/mtmclient/mtm/sp/sppb/sp_connect.cjs +232 -0
  457. package/dist/lib/mtmclient/mtm/sp/sppb/sp_pb.cjs +2979 -0
  458. package/dist/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.cjs +51 -0
  459. package/dist/lib/mtmclient/mtm/sppb/ai_connect.cjs +56 -0
  460. package/dist/lib/mtmclient/mtm/sppb/ai_pb.cjs +175 -0
  461. package/dist/lib/mtmclient/mtm/sppb/av-AvService_connectquery.cjs +88 -0
  462. package/dist/lib/mtmclient/mtm/sppb/av_connect.cjs +80 -0
  463. package/dist/lib/mtmclient/mtm/sppb/av_pb.cjs +318 -0
  464. package/dist/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.cjs +184 -0
  465. package/dist/lib/mtmclient/mtm/sppb/cx_connect.cjs +165 -0
  466. package/dist/lib/mtmclient/mtm/sppb/cx_pb.cjs +1772 -0
  467. package/dist/lib/mtmclient/mtm/sppb/events_pb.cjs +915 -0
  468. package/dist/lib/mtmclient/mtm/sppb/job-JobService_connectquery.cjs +64 -0
  469. package/dist/lib/mtmclient/mtm/sppb/job_connect.cjs +64 -0
  470. package/dist/lib/mtmclient/mtm/sppb/job_pb.cjs +474 -0
  471. package/dist/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.cjs +639 -0
  472. package/dist/lib/mtmclient/mtm/sppb/mtm_connect.cjs +527 -0
  473. package/dist/lib/mtmclient/mtm/sppb/mtm_pb.cjs +7822 -0
  474. package/dist/lib/mtmservices.cjs +47 -0
  475. package/dist/lib/queue copy.cjs +70 -0
  476. package/dist/lib/queue.cjs +1 -0
  477. package/dist/lib/render copy.cjs +58 -0
  478. package/dist/lib/render.cjs +2 -2
  479. package/dist/lib/service-worker.cjs +1 -0
  480. package/dist/lib/sscore.cjs +1 -0
  481. package/dist/lib/sslib/github-file.cjs +1 -0
  482. package/dist/lib/sslib/mtmcore.cjs +1 -0
  483. package/dist/lib/url.cjs +94 -0
  484. package/dist/lib/useScript.cjs +1 -0
  485. package/dist/lib/utils.cjs +45 -0
  486. package/dist/store/MtConnectProvider.cjs +41 -0
  487. package/dist/store/ReactQueryProvider.cjs +122 -0
  488. package/dist/store/StorybookDecorator.cjs +43 -0
  489. package/dist/store/appContext.cjs +195 -0
  490. package/dist/store/hydrateCore.cjs +68 -0
  491. package/dist/store/logger.context.cjs +65 -0
  492. package/dist/store/pageMeta.cjs +39 -0
  493. package/dist/tsconfig.type.tsbuildinfo +1 -0
  494. package/dist/ui/accordion.cjs +12 -19
  495. package/dist/ui/alert copy.cjs +118 -0
  496. package/dist/ui/alert-dialog.cjs +18 -21
  497. package/dist/ui/alert.cjs +4 -4
  498. package/dist/ui/aspect-ratio.cjs +1 -0
  499. package/dist/ui/avatar.cjs +4 -4
  500. package/dist/ui/badge.cjs +13 -2
  501. package/dist/ui/button.cjs +2 -2
  502. package/dist/ui/calendar.cjs +15 -4
  503. package/dist/ui/card.cjs +7 -7
  504. package/dist/ui/checkbox.cjs +11 -15
  505. package/dist/ui/collapsible.cjs +1 -0
  506. package/dist/ui/command.cjs +19 -25
  507. package/dist/ui/context-menu.cjs +23 -35
  508. package/dist/ui/dialog.cjs +18 -30
  509. package/dist/ui/drawer.cjs +19 -28
  510. package/dist/ui/dropdown-menu.cjs +23 -35
  511. package/dist/ui/form copy.cjs +174 -0
  512. package/dist/ui/form.cjs +10 -14
  513. package/dist/ui/hover-card.cjs +2 -2
  514. package/dist/ui/input.cjs +2 -2
  515. package/dist/ui/label.cjs +2 -2
  516. package/dist/ui/menubar.cjs +25 -37
  517. package/dist/ui/navigation-menu.cjs +26 -36
  518. package/dist/ui/novel/content.cjs +1 -0
  519. package/dist/ui/novel/novel/src/components/editor-bubble-item.cjs +2 -2
  520. package/dist/ui/novel/novel/src/components/editor-bubble.cjs +2 -5
  521. package/dist/ui/novel/novel/src/components/editor-command-item.cjs +5 -5
  522. package/dist/ui/novel/novel/src/components/editor-command.cjs +15 -21
  523. package/dist/ui/novel/novel/src/components/editor.cjs +7 -7
  524. package/dist/ui/novel/novel/src/components/index.cjs +1 -0
  525. package/dist/ui/novel/novel/src/extensions/ai-highlight.cjs +1 -0
  526. package/dist/ui/novel/novel/src/extensions/custom-keymap.cjs +1 -0
  527. package/dist/ui/novel/novel/src/extensions/drag-and-drop.cjs +1 -0
  528. package/dist/ui/novel/novel/src/extensions/image-resizer.cjs +2 -2
  529. package/dist/ui/novel/novel/src/extensions/index.cjs +1 -0
  530. package/dist/ui/novel/novel/src/extensions/slash-command.cjs +1 -0
  531. package/dist/ui/novel/novel/src/extensions/updated-image.cjs +1 -0
  532. package/dist/ui/novel/novel/src/plugins/index.cjs +1 -0
  533. package/dist/ui/novel/novel/src/plugins/upload-images.cjs +1 -0
  534. package/dist/ui/novel/novel/src/utils/atoms.cjs +1 -0
  535. package/dist/ui/novel/novel/src/utils/store.cjs +1 -0
  536. package/dist/ui/novel/novel/src/utils/utils.cjs +1 -0
  537. package/dist/ui/novel/tailwind/advanced-editor.cjs +36 -58
  538. package/dist/ui/novel/tailwind/extensions.cjs +1 -0
  539. package/dist/ui/novel/tailwind/generative/ai-completion-command.cjs +31 -45
  540. package/dist/ui/novel/tailwind/generative/ai-selector-commands.cjs +29 -37
  541. package/dist/ui/novel/tailwind/generative/ai-selector.cjs +44 -58
  542. package/dist/ui/novel/tailwind/generative/generative-menu-switch.cjs +16 -23
  543. package/dist/ui/novel/tailwind/image-upload.cjs +1 -0
  544. package/dist/ui/novel/tailwind/selectors/color-selector.cjs +56 -78
  545. package/dist/ui/novel/tailwind/selectors/link-selector.cjs +51 -58
  546. package/dist/ui/novel/tailwind/selectors/node-selector.cjs +20 -31
  547. package/dist/ui/novel/tailwind/selectors/text-buttons.cjs +13 -13
  548. package/dist/ui/novel/tailwind/slash-command.cjs +12 -12
  549. package/dist/ui/novel/tailwind/ui/button.cjs +2 -2
  550. package/dist/ui/novel/tailwind/ui/command.cjs +19 -25
  551. package/dist/ui/novel/tailwind/ui/dialog.cjs +18 -30
  552. package/dist/ui/novel/tailwind/ui/icons/crazy-spinner.cjs +2 -6
  553. package/dist/ui/novel/tailwind/ui/icons/font-default.cjs +18 -20
  554. package/dist/ui/novel/tailwind/ui/icons/font-mono.cjs +18 -20
  555. package/dist/ui/novel/tailwind/ui/icons/font-serif.cjs +18 -20
  556. package/dist/ui/novel/tailwind/ui/icons/github.cjs +5 -5
  557. package/dist/ui/novel/tailwind/ui/icons/index.cjs +1 -0
  558. package/dist/ui/novel/tailwind/ui/icons/loading-circle.cjs +18 -20
  559. package/dist/ui/novel/tailwind/ui/icons/magic.cjs +25 -27
  560. package/dist/ui/novel/tailwind/ui/menu.cjs +17 -28
  561. package/dist/ui/novel/tailwind/ui/popover.cjs +3 -3
  562. package/dist/ui/novel/tailwind/ui/scroll-area.cjs +11 -18
  563. package/dist/ui/novel/tailwind/ui/separator.cjs +2 -2
  564. package/dist/ui/pagination.cjs +20 -32
  565. package/dist/ui/popover.cjs +3 -3
  566. package/dist/ui/progress.cjs +11 -15
  567. package/dist/ui/radio-group.cjs +6 -7
  568. package/dist/ui/resizable.cjs +6 -10
  569. package/dist/ui/scroll-area.cjs +19 -26
  570. package/dist/ui/select.cjs +27 -37
  571. package/dist/ui/separator.cjs +2 -2
  572. package/dist/ui/sheet.cjs +15 -24
  573. package/dist/ui/skeleton.cjs +2 -2
  574. package/dist/ui/slider.cjs +6 -12
  575. package/dist/ui/sonner.cjs +2 -2
  576. package/dist/ui/switch.cjs +12 -12
  577. package/dist/ui/table.cjs +10 -10
  578. package/dist/ui/tabs.cjs +4 -4
  579. package/dist/ui/textarea.cjs +2 -2
  580. package/dist/ui/toast.cjs +10 -14
  581. package/dist/ui/toaster.cjs +5 -18
  582. package/dist/ui/toggle.cjs +2 -2
  583. package/dist/ui/tooltip.cjs +2 -2
  584. package/dist/ui/ui-mt/Button.cjs +29 -0
  585. package/dist/ui/ui-mt/MtForm.cjs +30 -0
  586. package/dist/ui/ui-mt/NavTag.cjs +58 -0
  587. package/dist/ui/ui-mt/Separator.cjs +30 -0
  588. package/dist/ui/ui-mt/SimpleModel.cjs +70 -0
  589. package/dist/ui/ui-mt/inputField/InputField.cjs +113 -0
  590. package/dist/ui/ui-mt/inputField/SingleUploadForm.cjs +175 -0
  591. package/dist/ui/ui-mt/inputField/TextArea.cjs +91 -0
  592. package/dist/ui/ui-mt/inputField/TextFileInput.cjs +133 -0
  593. package/dist/ui/ui-mt/inputField/select/InputSelect.cjs +97 -0
  594. package/dist/ui/ui-mt/inputField/types.cjs +16 -0
  595. package/dist/ui/ui-mt/inputs/SearchInput.cjs +83 -0
  596. package/dist/ui/ui-mt/inputs/searchBar.cjs +41 -0
  597. package/dist/ui/ui-mt/skeleton/skeleton-card.cjs +47 -0
  598. package/dist/ui/ui-mt/skeleton/skeleton2.cjs +30 -0
  599. package/dist/ui/ui-mt/skeleton/skeletons.cjs +32 -0
  600. package/dist/ui/ui-vamp/alert.cjs +155 -0
  601. package/dist/ui/ui-vamp/avatar.cjs +123 -0
  602. package/dist/ui/ui-vamp/button.cjs +111 -0
  603. package/dist/ui/ui-vamp/card.cjs +118 -0
  604. package/dist/ui/ui-vamp/checkbox.cjs +97 -0
  605. package/dist/ui/ui-vamp/chip.cjs +90 -0
  606. package/dist/ui/ui-vamp/dropdown.cjs +127 -0
  607. package/dist/ui/ui-vamp/external-link.cjs +69 -0
  608. package/dist/ui/ui-vamp/headline.cjs +30 -0
  609. package/dist/ui/ui-vamp/input.cjs +102 -0
  610. package/dist/ui/ui-vamp/keyvalue.cjs +45 -0
  611. package/dist/ui/ui-vamp/label.cjs +73 -0
  612. package/dist/ui/ui-vamp/mobile-nav-button.cjs +54 -0
  613. package/dist/ui/ui-vamp/modal.cjs +109 -0
  614. package/dist/ui/ui-vamp/pagination.cjs +92 -0
  615. package/dist/ui/ui-vamp/scroll-area.cjs +111 -0
  616. package/dist/ui/ui-vamp/skeleton.cjs +77 -0
  617. package/dist/ui/ui-vamp/stripe-not-connected-modal.cjs +65 -0
  618. package/dist/ui/ui-vamp/textarea.cjs +95 -0
  619. package/dist/ui/ui-vamp/toggle-group.cjs +89 -0
  620. package/dist/ui/use-toast.cjs +1 -0
  621. package/dist/vite-env.d.cjs +1 -0
  622. package/package.json +14 -5
  623. package/dist/esm/tsconfig.type.tsbuildinfo +0 -1
package/dist/App.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -20,27 +21,11 @@ __export(App_exports, {
20
21
  default: () => App_default
21
22
  });
22
23
  module.exports = __toCommonJS(App_exports);
23
- var import_jsx_runtime = require("react/jsx-runtime");
24
24
  var import_react = require("react");
25
25
  var import_App = require("./App.css");
26
26
  var import_styles = require("./styles/index.css");
27
27
  function App() {
28
28
  const [count, setCount] = (0, import_react.useState)(0);
29
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
30
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Suspense, { fallback: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "loading" }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { href: "https://vitejs.dev", target: "_blank" }) }) }),
31
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { children: "Vite + React" }),
32
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "card", children: [
33
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { onClick: () => setCount((count2) => count2 + 1), children: [
34
- "count is ",
35
- count
36
- ] }),
37
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
38
- "Edit ",
39
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("code", { children: "src/App.tsx" }),
40
- " and save to test HMR"
41
- ] })
42
- ] }),
43
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "read-the-docs", children: "Click on the Vite and React logos to learn more" })
44
- ] });
29
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(import_react.Suspense, { fallback: /* @__PURE__ */ React.createElement(React.Fragment, null, "loading") }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("a", { href: "https://vitejs.dev", target: "_blank" }))), /* @__PURE__ */ React.createElement("h1", null, "Vite + React"), /* @__PURE__ */ React.createElement("div", { className: "card" }, /* @__PURE__ */ React.createElement("button", { onClick: () => setCount((count2) => count2 + 1) }, "count is ", count), /* @__PURE__ */ React.createElement("p", null, "Edit ", /* @__PURE__ */ React.createElement("code", null, "src/App.tsx"), " and save to test HMR")), /* @__PURE__ */ React.createElement("p", { className: "read-the-docs" }, "Click on the Vite and React logos to learn more"));
45
30
  }
46
31
  var App_default = App;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -20,9 +21,8 @@ __export(MtmButton_exports, {
20
21
  MtmButton: () => MtmButton
21
22
  });
22
23
  module.exports = __toCommonJS(MtmButton_exports);
23
- var import_jsx_runtime = require("react/jsx-runtime");
24
24
  const MtmButton = () => {
25
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { className: "bg-green-700 border", children: "MtmButton6" }) });
25
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("button", { className: "bg-green-700 border" }, "MtmButton6"));
26
26
  };
27
27
  // Annotate the CommonJS export names for ESM import in node:
28
28
  0 && (module.exports = {
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -20,18 +21,14 @@ __export(NovelEditorLoader_exports, {
20
21
  TWEditorLoder: () => TWEditorLoder
21
22
  });
22
23
  module.exports = __toCommonJS(NovelEditorLoader_exports);
23
- var import_jsx_runtime = require("react/jsx-runtime");
24
24
  var import_react = require("react");
25
25
  var import_advanced_editor = require("./ui/novel/tailwind/advanced-editor");
26
26
  const TWEditorLoder = () => {
27
27
  const [open, setOpen] = (0, import_react.useState)(false);
28
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
29
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { onClick: () => {
30
- console.log("load editor");
31
- setOpen(true);
32
- }, children: " load" }),
33
- open && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Suspense, { fallback: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: "loading" }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_advanced_editor.TailwindAdvancedEditor, {}) })
34
- ] });
28
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("button", { onClick: () => {
29
+ console.log("load editor");
30
+ setOpen(true);
31
+ } }, " load"), open && /* @__PURE__ */ React.createElement(import_react.Suspense, { fallback: /* @__PURE__ */ React.createElement(React.Fragment, null, "loading") }, /* @__PURE__ */ React.createElement(import_advanced_editor.TailwindAdvancedEditor, null)));
35
32
  };
36
33
  // Annotate the CommonJS export names for ESM import in node:
37
34
  0 && (module.exports = {
@@ -1,7 +1,6 @@
1
1
  // src/index.tsx
2
- import { Fragment, jsx } from "react/jsx-runtime";
3
2
  var LajiComp = () => {
4
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("button", { children: "laji button" }) });
3
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("button", null, "laji button"));
5
4
  };
6
5
  export {
7
6
  LajiComp
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var FullCenter_exports = {};
21
+ __export(FullCenter_exports, {
22
+ FullCenter: () => FullCenter
23
+ });
24
+ module.exports = __toCommonJS(FullCenter_exports);
25
+ const FullCenter = (props) => {
26
+ const { children } = props;
27
+ return /* @__PURE__ */ React.createElement("div", { className: "flex h-full w-full items-center justify-center" }, /* @__PURE__ */ React.createElement("div", { className: "flex-1" }, children));
28
+ };
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ FullCenter
32
+ });
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __export = (target, all) => {
26
+ for (var name in all)
27
+ __defProp(target, name, { get: all[name], enumerable: true });
28
+ };
29
+ var __copyProps = (to, from, except, desc) => {
30
+ if (from && typeof from === "object" || typeof from === "function") {
31
+ for (let key of __getOwnPropNames(from))
32
+ if (!__hasOwnProp.call(to, key) && key !== except)
33
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
34
+ }
35
+ return to;
36
+ };
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
38
+ // If the importer is in node compatibility mode or this is not an ESM
39
+ // file that has been converted to a CommonJS file using a Babel-
40
+ // compatible transform (i.e. "__esModule" has not been set), then set
41
+ // "default" to the CommonJS "module.exports" for node compatibility.
42
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
43
+ mod
44
+ ));
45
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
46
+ var MtImage_exports = {};
47
+ __export(MtImage_exports, {
48
+ MtImage: () => MtImage
49
+ });
50
+ module.exports = __toCommonJS(MtImage_exports);
51
+ var import_image = __toESM(require("next/image"), 1);
52
+ var import_utils = require("../lib/utils");
53
+ const normalizeSrc = (src) => {
54
+ return src.startsWith("/") ? src.slice(1) : src;
55
+ };
56
+ const cloudflareLoader = ({ src, width, quality }) => {
57
+ const params = [`width=${width}`];
58
+ if (quality) {
59
+ params.push(`quality=${quality}`);
60
+ }
61
+ const paramsString = params.join(",");
62
+ return `https://cfgomtm.yuepa8.com/cdn-cgi/image/${paramsString}/${normalizeSrc(src)}`;
63
+ };
64
+ const exampleImageLoader = ({ src, width, quality }) => {
65
+ return `https://example.com/${src}?w=${width}&q=${quality || 75}`;
66
+ };
67
+ function getImageLoader() {
68
+ if ((0, import_utils.isCloudflarePage)()) {
69
+ return cloudflareLoader;
70
+ } else {
71
+ exampleImageLoader;
72
+ }
73
+ }
74
+ const MtImage = (props) => {
75
+ return /* @__PURE__ */ React.createElement(
76
+ import_image.default,
77
+ __spreadProps(__spreadValues({}, props), {
78
+ loader: getImageLoader()
79
+ })
80
+ );
81
+ };
82
+ // Annotate the CommonJS export names for ESM import in node:
83
+ 0 && (module.exports = {
84
+ MtImage
85
+ });
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var OnlyDebug_exports = {};
21
+ __export(OnlyDebug_exports, {
22
+ OnlyDebug: () => OnlyDebug
23
+ });
24
+ module.exports = __toCommonJS(OnlyDebug_exports);
25
+ var import_appContext = require("../store/appContext");
26
+ const OnlyDebug = (props) => {
27
+ const mtapp = (0, import_appContext.useMtmApp)();
28
+ return mtapp.isDebug ? props.children : null;
29
+ };
30
+ // Annotate the CommonJS export names for ESM import in node:
31
+ 0 && (module.exports = {
32
+ OnlyDebug
33
+ });
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
+ var __spreadValues = (a, b) => {
13
+ for (var prop in b || (b = {}))
14
+ if (__hasOwnProp.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ if (__getOwnPropSymbols)
17
+ for (var prop of __getOwnPropSymbols(b)) {
18
+ if (__propIsEnum.call(b, prop))
19
+ __defNormalProp(a, prop, b[prop]);
20
+ }
21
+ return a;
22
+ };
23
+ var __objRest = (source, exclude) => {
24
+ var target = {};
25
+ for (var prop in source)
26
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
27
+ target[prop] = source[prop];
28
+ if (source != null && __getOwnPropSymbols)
29
+ for (var prop of __getOwnPropSymbols(source)) {
30
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
31
+ target[prop] = source[prop];
32
+ }
33
+ return target;
34
+ };
35
+ var __export = (target, all) => {
36
+ for (var name in all)
37
+ __defProp(target, name, { get: all[name], enumerable: true });
38
+ };
39
+ var __copyProps = (to, from, except, desc) => {
40
+ if (from && typeof from === "object" || typeof from === "function") {
41
+ for (let key of __getOwnPropNames(from))
42
+ if (!__hasOwnProp.call(to, key) && key !== except)
43
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
44
+ }
45
+ return to;
46
+ };
47
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
48
+ // If the importer is in node compatibility mode or this is not an ESM
49
+ // file that has been converted to a CommonJS file using a Babel-
50
+ // compatible transform (i.e. "__esModule" has not been set), then set
51
+ // "default" to the CommonJS "module.exports" for node compatibility.
52
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
53
+ mod
54
+ ));
55
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
56
+ var mtlink_exports = {};
57
+ __export(mtlink_exports, {
58
+ MtLink: () => MtLink
59
+ });
60
+ module.exports = __toCommonJS(mtlink_exports);
61
+ var import_react_slot = require("@radix-ui/react-slot");
62
+ var import_link = __toESM(require("next/link"), 1);
63
+ var import_react = __toESM(require("react"), 1);
64
+ var import_utils = require("../lib/utils");
65
+ var import_button = require("../ui/button");
66
+ const MtLink = import_react.default.forwardRef(
67
+ (_a, ref) => {
68
+ var _b = _a, { className, variant, size, asChild = false } = _b, props = __objRest(_b, ["className", "variant", "size", "asChild"]);
69
+ const Comp = asChild ? import_react_slot.Slot : import_link.default;
70
+ return /* @__PURE__ */ import_react.default.createElement(
71
+ Comp,
72
+ __spreadValues({
73
+ className: (0, import_utils.cn)(
74
+ variant && (0, import_button.buttonVariants)({ variant, className })
75
+ ),
76
+ ref
77
+ }, props)
78
+ );
79
+ }
80
+ );
81
+ MtLink.displayName = "MtLink";
82
+ // Annotate the CommonJS export names for ESM import in node:
83
+ 0 && (module.exports = {
84
+ MtLink
85
+ });
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
9
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10
+ var __spreadValues = (a, b) => {
11
+ for (var prop in b || (b = {}))
12
+ if (__hasOwnProp.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ if (__getOwnPropSymbols)
15
+ for (var prop of __getOwnPropSymbols(b)) {
16
+ if (__propIsEnum.call(b, prop))
17
+ __defNormalProp(a, prop, b[prop]);
18
+ }
19
+ return a;
20
+ };
21
+ var __export = (target, all) => {
22
+ for (var name in all)
23
+ __defProp(target, name, { get: all[name], enumerable: true });
24
+ };
25
+ var __copyProps = (to, from, except, desc) => {
26
+ if (from && typeof from === "object" || typeof from === "function") {
27
+ for (let key of __getOwnPropNames(from))
28
+ if (!__hasOwnProp.call(to, key) && key !== except)
29
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
30
+ }
31
+ return to;
32
+ };
33
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
+ var ExpenderCell_exports = {};
35
+ __export(ExpenderCell_exports, {
36
+ ExpenderCell: () => ExpenderCell
37
+ });
38
+ module.exports = __toCommonJS(ExpenderCell_exports);
39
+ var import_lucide_react = require("lucide-react");
40
+ var import_utils = require("../../../lib/utils");
41
+ const ExpenderCell = (info) => {
42
+ return info.row.getCanExpand() ? /* @__PURE__ */ React.createElement(
43
+ "button",
44
+ __spreadValues({
45
+ className: "pointer"
46
+ }, {
47
+ onClick: info.row.getToggleExpandedHandler()
48
+ }),
49
+ /* @__PURE__ */ React.createElement(import_lucide_react.ChevronRight, { className: (0, import_utils.cn)(info.row.getIsExpanded() && "rotate-90") })
50
+ ) : "\u{1F535}";
51
+ };
52
+ // Annotate the CommonJS export names for ESM import in node:
53
+ 0 && (module.exports = {
54
+ ExpenderCell
55
+ });
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var SelectCell_exports = {};
31
+ __export(SelectCell_exports, {
32
+ NewSelectCell: () => NewSelectCell,
33
+ SelectCell: () => SelectCell
34
+ });
35
+ module.exports = __toCommonJS(SelectCell_exports);
36
+ var import_react = __toESM(require("react"), 1);
37
+ var import_select = require("../../../ui/select");
38
+ const SelectCell = (info) => {
39
+ const [value, setValue] = import_react.default.useState(info.cell.getValue());
40
+ const onBlur = () => {
41
+ const numValue = parseInt(value);
42
+ };
43
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "flex w-full" }, /* @__PURE__ */ import_react.default.createElement("input", { type: "number", value, onChange: (e) => setValue(e.target.value), onBlur, className: "grow" }));
44
+ };
45
+ const NewSelectCell = ({ placeholder, items }) => {
46
+ const component = (_info) => {
47
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_select.Select, null, /* @__PURE__ */ import_react.default.createElement(import_select.SelectTrigger, { className: "w-[180px]" }, /* @__PURE__ */ import_react.default.createElement(import_select.SelectValue, { placeholder: placeholder || "--" })), /* @__PURE__ */ import_react.default.createElement(import_select.SelectContent, null, /* @__PURE__ */ import_react.default.createElement(import_select.SelectGroup, null, items == null ? void 0 : items.map((item, i) => {
48
+ return /* @__PURE__ */ import_react.default.createElement(import_select.SelectItem, { value: item.value, key: i }, item.label);
49
+ })))));
50
+ };
51
+ return component;
52
+ };
53
+ // Annotate the CommonJS export names for ESM import in node:
54
+ 0 && (module.exports = {
55
+ NewSelectCell,
56
+ SelectCell
57
+ });
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var Text_exports = {};
31
+ __export(Text_exports, {
32
+ NewTextCell: () => NewTextCell
33
+ });
34
+ module.exports = __toCommonJS(Text_exports);
35
+ var import_react = __toESM(require("react"), 1);
36
+ const NewTextCell = ({ enableEdit, placeholder, popup }) => (info) => {
37
+ const initialValue = info.cell.getValue();
38
+ const [value, setValue] = import_react.default.useState(initialValue);
39
+ import_react.default.useEffect(() => {
40
+ setValue(initialValue);
41
+ }, [initialValue]);
42
+ const onBlur = () => {
43
+ };
44
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, value);
45
+ };
46
+ // Annotate the CommonJS export names for ESM import in node:
47
+ 0 && (module.exports = {
48
+ NewTextCell
49
+ });
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var ViewLink_exports = {};
31
+ __export(ViewLink_exports, {
32
+ NewSelectCell: () => NewSelectCell,
33
+ ViewLinkCell: () => ViewLinkCell
34
+ });
35
+ module.exports = __toCommonJS(ViewLink_exports);
36
+ var import_link = __toESM(require("next/link"), 1);
37
+ var import_react = __toESM(require("react"), 1);
38
+ var import_select = require("../../../ui/select");
39
+ const ViewLinkCell = (info) => {
40
+ const [value, setValue] = import_react.default.useState(info.cell.getValue());
41
+ const onBlur = () => {
42
+ const numValue = parseInt(value);
43
+ };
44
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_link.default, { href: "#" }, "res link"));
45
+ };
46
+ const NewSelectCell = ({ placeholder, items }) => {
47
+ return (info) => {
48
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_select.Select, null, /* @__PURE__ */ import_react.default.createElement(import_select.SelectTrigger, { className: "w-[180px]" }, /* @__PURE__ */ import_react.default.createElement(import_select.SelectValue, { placeholder: placeholder || "--" })), /* @__PURE__ */ import_react.default.createElement(import_select.SelectContent, null, /* @__PURE__ */ import_react.default.createElement(import_select.SelectGroup, null, items == null ? void 0 : items.map((item, i) => {
49
+ return /* @__PURE__ */ import_react.default.createElement(import_select.SelectItem, { value: item.value, key: i }, item.label);
50
+ })))));
51
+ };
52
+ };
53
+ // Annotate the CommonJS export names for ESM import in node:
54
+ 0 && (module.exports = {
55
+ NewSelectCell,
56
+ ViewLinkCell
57
+ });
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ "use client";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var cellWrapper_exports = {};
21
+ __export(cellWrapper_exports, {
22
+ CellWrapper: () => CellWrapper
23
+ });
24
+ module.exports = __toCommonJS(cellWrapper_exports);
25
+ const CellWrapper = ({ children }) => {
26
+ return /* @__PURE__ */ React.createElement("div", null, children);
27
+ };
28
+ // Annotate the CommonJS export names for ESM import in node:
29
+ 0 && (module.exports = {
30
+ CellWrapper
31
+ });
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var number_exports = {};
31
+ __export(number_exports, {
32
+ NumberCell: () => NumberCell
33
+ });
34
+ module.exports = __toCommonJS(number_exports);
35
+ var import_react = __toESM(require("react"), 1);
36
+ const NumberCell = (info) => {
37
+ const [value, setValue] = import_react.default.useState(info.cell.getValue());
38
+ const onBlur = () => {
39
+ const numValue = parseInt(value);
40
+ };
41
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "flex w-full" }, /* @__PURE__ */ import_react.default.createElement("input", { type: "number", value, onChange: (e) => setValue(e.target.value), onBlur, className: "grow" }));
42
+ };
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ NumberCell
46
+ });