@darkfrost-1107/scaff-z-react 0.1.7

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 (634) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +75 -0
  3. package/dist/_virtual/_rolldown/runtime.cjs +1 -0
  4. package/dist/action-processor.d.ts +2 -0
  5. package/dist/app/config/sqlite.registry.cjs +1 -0
  6. package/dist/app/config/sqlite.registry.esm +37 -0
  7. package/dist/app.config.d.ts +1 -0
  8. package/dist/async-combobox.input.d.ts +4 -0
  9. package/dist/async-multi-select.input.d.ts +4 -0
  10. package/dist/async-select.input.d.ts +4 -0
  11. package/dist/audit-view.d.ts +2 -0
  12. package/dist/back-button.action.d.ts +6 -0
  13. package/dist/badge.d.ts +2 -0
  14. package/dist/base.connector.d.ts +4 -0
  15. package/dist/base.entity.d.ts +2 -0
  16. package/dist/base.node.d.ts +2 -0
  17. package/dist/base.service.d.ts +4 -0
  18. package/dist/breadcrumb.d.ts +2 -0
  19. package/dist/build.router.d.ts +4 -0
  20. package/dist/builder-device.guard.d.ts +2 -0
  21. package/dist/builder.d.ts +2 -0
  22. package/dist/button.d.ts +2 -0
  23. package/dist/calendar.d.ts +2 -0
  24. package/dist/canvas-view.layout.d.ts +2 -0
  25. package/dist/card.d.ts +2 -0
  26. package/dist/checkbox-inline.input.d.ts +4 -0
  27. package/dist/checkbox.d.ts +2 -0
  28. package/dist/checkbox.input.d.ts +4 -0
  29. package/dist/code.input.d.ts +4 -0
  30. package/dist/color.input.d.ts +4 -0
  31. package/dist/combobox.d.ts +2 -0
  32. package/dist/combobox.input.d.ts +4 -0
  33. package/dist/command.d.ts +2 -0
  34. package/dist/component.factory.d.ts +4 -0
  35. package/dist/component.guard.d.ts +2 -0
  36. package/dist/components.registry.d.ts +2 -0
  37. package/dist/context.guard.d.ts +2 -0
  38. package/dist/context.verifier.d.ts +2 -0
  39. package/dist/crypto.service.d.ts +2 -0
  40. package/dist/dark.style.d.ts +2 -0
  41. package/dist/data-table.component.d.ts +2 -0
  42. package/dist/data-table.provider.d.ts +1 -0
  43. package/dist/date.input.d.ts +2 -0
  44. package/dist/deckgl-overlay.d.ts +2 -0
  45. package/dist/detail-tabs.layout.d.ts +6 -0
  46. package/dist/detail-view.layout.d.ts +6 -0
  47. package/dist/device-artifact.guard.d.ts +2 -0
  48. package/dist/device.guard.d.ts +2 -0
  49. package/dist/device.verifier.registry.d.ts +2 -0
  50. package/dist/dialog.d.ts +2 -0
  51. package/dist/dnd.provider.d.ts +2 -0
  52. package/dist/draggeable.d.ts +2 -0
  53. package/dist/droppable.d.ts +2 -0
  54. package/dist/droppeable.d.ts +2 -0
  55. package/dist/dynamic-device.guard.d.ts +2 -0
  56. package/dist/dynamic-icon.d.ts +6 -0
  57. package/dist/email.input.d.ts +4 -0
  58. package/dist/enum.verifier.d.ts +2 -0
  59. package/dist/env.manager.d.ts +2 -0
  60. package/dist/feedback.layout.d.ts +2 -0
  61. package/dist/field.d.ts +2 -0
  62. package/dist/file.input.d.ts +4 -0
  63. package/dist/flow-canvas.d.ts +2 -0
  64. package/dist/flow.renderer.d.ts +2 -0
  65. package/dist/flow.types.d.ts +1 -0
  66. package/dist/form-dialog-layout.d.ts +4 -0
  67. package/dist/form-tab-layout.d.ts +4 -0
  68. package/dist/form.component.d.ts +2 -0
  69. package/dist/grid.layout.d.ts +2 -0
  70. package/dist/guard.d.ts +2 -0
  71. package/dist/hover.d.ts +2 -0
  72. package/dist/icon-box.d.ts +2 -0
  73. package/dist/icon-button.d.ts +2 -0
  74. package/dist/image.input.d.ts +4 -0
  75. package/dist/index.d.ts +2 -0
  76. package/dist/indexeddb.service.d.ts +6 -0
  77. package/dist/input-group.d.ts +2 -0
  78. package/dist/input.d.ts +2 -0
  79. package/dist/interceptor.builder.d.ts +2 -0
  80. package/dist/label.d.ts +2 -0
  81. package/dist/language-toggle.d.ts +2 -0
  82. package/dist/list-select.input.d.ts +4 -0
  83. package/dist/logger.d.ts +2 -0
  84. package/dist/main.connector.d.ts +2 -0
  85. package/dist/main.service.d.ts +6 -0
  86. package/dist/maps.renderer.d.ts +4 -0
  87. package/dist/marker.factory.d.ts +2 -0
  88. package/dist/marker.guard.d.ts +2 -0
  89. package/dist/markers.meta.d.ts +1 -0
  90. package/dist/modules/actions/entities/action.entity.cjs +1 -0
  91. package/dist/modules/actions/entities/action.entity.esm +139 -0
  92. package/dist/modules/artifacts/entities/artifact.entity.cjs +1 -0
  93. package/dist/modules/artifacts/entities/artifact.entity.esm +82 -0
  94. package/dist/modules/integrations/entities/integration.entity.cjs +1 -0
  95. package/dist/modules/integrations/entities/integration.entity.esm +75 -0
  96. package/dist/modules/inventory/entities/category.entity.cjs +1 -0
  97. package/dist/modules/inventory/entities/category.entity.esm +50 -0
  98. package/dist/modules/inventory/entities/inventory-item.entity.cjs +1 -0
  99. package/dist/modules/inventory/entities/inventory-item.entity.esm +68 -0
  100. package/dist/modules/inventory/entities/product-item.entity.cjs +1 -0
  101. package/dist/modules/inventory/entities/product-item.entity.esm +69 -0
  102. package/dist/modules/inventory/entities/zone.entity.cjs +1 -0
  103. package/dist/modules/inventory/entities/zone.entity.esm +50 -0
  104. package/dist/modules/memberships/entities/membership.entity.cjs +1 -0
  105. package/dist/modules/memberships/entities/membership.entity.esm +53 -0
  106. package/dist/modules/organizations/entities/organization.entity.cjs +1 -0
  107. package/dist/modules/organizations/entities/organization.entity.esm +75 -0
  108. package/dist/modules/projects/entities/project.entity.cjs +1 -0
  109. package/dist/modules/projects/entities/project.entity.esm +100 -0
  110. package/dist/modules/test/entities/experiment.entity.cjs +1 -0
  111. package/dist/modules/test/entities/experiment.entity.esm +71 -0
  112. package/dist/modules/tickets/entities/ticket.entity.cjs +1 -0
  113. package/dist/modules/tickets/entities/ticket.entity.esm +92 -0
  114. package/dist/modules/tools/entities/tool.entity.cjs +1 -0
  115. package/dist/modules/tools/entities/tool.entity.esm +129 -0
  116. package/dist/modules/users/entities/user-role.enum.cjs +1 -0
  117. package/dist/modules/users/entities/user-role.enum.esm +6 -0
  118. package/dist/modules/users/entities/user.entity.cjs +1 -0
  119. package/dist/modules/users/entities/user.entity.esm +88 -0
  120. package/dist/nfc.service.d.ts +6 -0
  121. package/dist/nosql.repo.d.ts +2 -0
  122. package/dist/nosql.repo.service.d.ts +4 -0
  123. package/dist/packages/capacitor/app.config.cjs +1 -0
  124. package/dist/packages/capacitor/app.config.d.ts +1 -0
  125. package/dist/packages/capacitor/app.config.esm +7 -0
  126. package/dist/packages/crypto/crypto.service.cjs +1 -0
  127. package/dist/packages/crypto/crypto.service.d.ts +6 -0
  128. package/dist/packages/crypto/crypto.service.esm +17 -0
  129. package/dist/packages/crypto/index.cjs +1 -0
  130. package/dist/packages/crypto/index.d.ts +1 -0
  131. package/dist/packages/crypto/index.esm +2 -0
  132. package/dist/packages/dnd/dnd.provider.cjs +1 -0
  133. package/dist/packages/dnd/dnd.provider.d.ts +3 -0
  134. package/dist/packages/dnd/dnd.provider.esm +8 -0
  135. package/dist/packages/dnd/draggeable.cjs +1 -0
  136. package/dist/packages/dnd/draggeable.d.ts +4 -0
  137. package/dist/packages/dnd/draggeable.esm +12 -0
  138. package/dist/packages/dnd/droppable.cjs +1 -0
  139. package/dist/packages/dnd/droppable.d.ts +8 -0
  140. package/dist/packages/dnd/droppable.esm +14 -0
  141. package/dist/packages/dnd/droppeable.cjs +1 -0
  142. package/dist/packages/dnd/droppeable.d.ts +5 -0
  143. package/dist/packages/dnd/droppeable.esm +13 -0
  144. package/dist/packages/dnd/sortable.cjs +1 -0
  145. package/dist/packages/dnd/sortable.d.ts +11 -0
  146. package/dist/packages/dnd/sortable.esm +18 -0
  147. package/dist/packages/env/env.manager.cjs +1 -0
  148. package/dist/packages/env/env.manager.d.ts +11 -0
  149. package/dist/packages/env/env.manager.esm +69 -0
  150. package/dist/packages/env/index.cjs +1 -0
  151. package/dist/packages/env/index.d.ts +1 -0
  152. package/dist/packages/env/index.esm +2 -0
  153. package/dist/packages/flow/flow.renderer.cjs +1 -0
  154. package/dist/packages/flow/flow.renderer.d.ts +13 -0
  155. package/dist/packages/flow/flow.renderer.esm +50 -0
  156. package/dist/packages/flow/flow.types.cjs +0 -0
  157. package/dist/packages/flow/flow.types.d.ts +30 -0
  158. package/dist/packages/flow/flow.types.esm +0 -0
  159. package/dist/packages/formatters/qr-code/qr.encoder.service.cjs +1 -0
  160. package/dist/packages/formatters/qr-code/qr.encoder.service.d.ts +5 -0
  161. package/dist/packages/formatters/qr-code/qr.encoder.service.esm +17 -0
  162. package/dist/packages/formatters/qr-code/qr.renderer.cjs +1 -0
  163. package/dist/packages/formatters/qr-code/qr.renderer.d.ts +3 -0
  164. package/dist/packages/formatters/qr-code/qr.renderer.esm +16 -0
  165. package/dist/packages/formatters/text-code/text-coder.service.cjs +1 -0
  166. package/dist/packages/formatters/text-code/text-coder.service.d.ts +9 -0
  167. package/dist/packages/formatters/text-code/text-coder.service.esm +36 -0
  168. package/dist/packages/i18n/index.cjs +1 -0
  169. package/dist/packages/i18n/index.d.ts +10 -0
  170. package/dist/packages/i18n/index.esm +18 -0
  171. package/dist/packages/i18n/language-toggle.cjs +1 -0
  172. package/dist/packages/i18n/language-toggle.d.ts +9 -0
  173. package/dist/packages/i18n/language-toggle.esm +73 -0
  174. package/dist/packages/indexeddb/builder.cjs +1 -0
  175. package/dist/packages/indexeddb/builder.d.ts +13 -0
  176. package/dist/packages/indexeddb/builder.esm +35 -0
  177. package/dist/packages/indexeddb/index.cjs +1 -0
  178. package/dist/packages/indexeddb/index.d.ts +5 -0
  179. package/dist/packages/indexeddb/index.esm +5 -0
  180. package/dist/packages/indexeddb/indexeddb.service.cjs +1 -0
  181. package/dist/packages/indexeddb/indexeddb.service.d.ts +21 -0
  182. package/dist/packages/indexeddb/indexeddb.service.esm +59 -0
  183. package/dist/packages/indexeddb/nosql.repo.cjs +1 -0
  184. package/dist/packages/indexeddb/nosql.repo.d.ts +33 -0
  185. package/dist/packages/indexeddb/nosql.repo.esm +69 -0
  186. package/dist/packages/indexeddb/nosql.repo.service.cjs +1 -0
  187. package/dist/packages/indexeddb/nosql.repo.service.d.ts +46 -0
  188. package/dist/packages/indexeddb/nosql.repo.service.esm +87 -0
  189. package/dist/packages/indexeddb/registry.cjs +1 -0
  190. package/dist/packages/indexeddb/registry.d.ts +21 -0
  191. package/dist/packages/indexeddb/registry.esm +22 -0
  192. package/dist/packages/indexeddb/types.cjs +0 -0
  193. package/dist/packages/indexeddb/types.d.ts +33 -0
  194. package/dist/packages/indexeddb/types.esm +0 -0
  195. package/dist/packages/logger/index.cjs +1 -0
  196. package/dist/packages/logger/index.d.ts +2 -0
  197. package/dist/packages/logger/index.esm +3 -0
  198. package/dist/packages/logger/logger.cjs +1 -0
  199. package/dist/packages/logger/logger.d.ts +137 -0
  200. package/dist/packages/logger/logger.esm +186 -0
  201. package/dist/packages/logger/registry.cjs +1 -0
  202. package/dist/packages/logger/registry.d.ts +9 -0
  203. package/dist/packages/logger/registry.esm +17 -0
  204. package/dist/packages/maps/deckgl-overlay.cjs +1 -0
  205. package/dist/packages/maps/deckgl-overlay.d.ts +9 -0
  206. package/dist/packages/maps/deckgl-overlay.esm +12 -0
  207. package/dist/packages/maps/maps.renderer.cjs +1 -0
  208. package/dist/packages/maps/maps.renderer.d.ts +19 -0
  209. package/dist/packages/maps/maps.renderer.esm +25 -0
  210. package/dist/packages/maps/markers/marker.factory.cjs +1 -0
  211. package/dist/packages/maps/markers/marker.factory.d.ts +8 -0
  212. package/dist/packages/maps/markers/marker.factory.esm +58 -0
  213. package/dist/packages/maps/markers/marker.guard.cjs +1 -0
  214. package/dist/packages/maps/markers/marker.guard.d.ts +22 -0
  215. package/dist/packages/maps/markers/marker.guard.esm +37 -0
  216. package/dist/packages/maps/markers/markers.meta.cjs +0 -0
  217. package/dist/packages/maps/markers/markers.meta.d.ts +12 -0
  218. package/dist/packages/maps/markers/markers.meta.esm +0 -0
  219. package/dist/packages/maps/styles/dark.style.cjs +1 -0
  220. package/dist/packages/maps/styles/dark.style.d.ts +1 -0
  221. package/dist/packages/maps/styles/dark.style.esm +93 -0
  222. package/dist/packages/nfc/nfc.service.cjs +1 -0
  223. package/dist/packages/nfc/nfc.service.d.ts +41 -0
  224. package/dist/packages/nfc/nfc.service.esm +104 -0
  225. package/dist/packages/requests/axios/base.connector.cjs +1 -0
  226. package/dist/packages/requests/axios/base.connector.d.ts +37 -0
  227. package/dist/packages/requests/axios/base.connector.esm +25 -0
  228. package/dist/packages/requests/axios/base.service.cjs +1 -0
  229. package/dist/packages/requests/axios/base.service.d.ts +41 -0
  230. package/dist/packages/requests/axios/base.service.esm +11 -0
  231. package/dist/packages/requests/axios/interceptor.builder.cjs +1 -0
  232. package/dist/packages/requests/axios/interceptor.builder.d.ts +26 -0
  233. package/dist/packages/requests/axios/interceptor.builder.esm +20 -0
  234. package/dist/packages/router/build.router.cjs +1 -0
  235. package/dist/packages/router/build.router.d.ts +6 -0
  236. package/dist/packages/router/build.router.esm +9 -0
  237. package/dist/packages/router/route.builder.cjs +1 -0
  238. package/dist/packages/router/route.builder.d.ts +46 -0
  239. package/dist/packages/router/route.builder.esm +50 -0
  240. package/dist/packages/scanner/scanner.formats.cjs +1 -0
  241. package/dist/packages/scanner/scanner.formats.d.ts +51 -0
  242. package/dist/packages/scanner/scanner.formats.esm +96 -0
  243. package/dist/packages/scanner/scanner.service.cjs +1 -0
  244. package/dist/packages/scanner/scanner.service.d.ts +32 -0
  245. package/dist/packages/scanner/scanner.service.esm +32 -0
  246. package/dist/packages/sheets/index.cjs +1 -0
  247. package/dist/packages/sheets/index.d.ts +2 -0
  248. package/dist/packages/sheets/index.esm +3 -0
  249. package/dist/packages/sheets/sheets.connector.cjs +1 -0
  250. package/dist/packages/sheets/sheets.connector.d.ts +6 -0
  251. package/dist/packages/sheets/sheets.connector.esm +21 -0
  252. package/dist/packages/sheets/sheets.service.cjs +1 -0
  253. package/dist/packages/sheets/sheets.service.d.ts +21 -0
  254. package/dist/packages/sheets/sheets.service.esm +38 -0
  255. package/dist/packages/sqlite/base/base.entity.cjs +1 -0
  256. package/dist/packages/sqlite/base/base.entity.d.ts +5 -0
  257. package/dist/packages/sqlite/base/base.entity.esm +41 -0
  258. package/dist/packages/sqlite/repo.service.cjs +1 -0
  259. package/dist/packages/sqlite/repo.service.d.ts +22 -0
  260. package/dist/packages/sqlite/repo.service.esm +52 -0
  261. package/dist/packages/sqlite/sqlite.service.cjs +1 -0
  262. package/dist/packages/sqlite/sqlite.service.d.ts +40 -0
  263. package/dist/packages/sqlite/sqlite.service.esm +77 -0
  264. package/dist/packages/sqlite/templates/test.entity.cjs +1 -0
  265. package/dist/packages/sqlite/templates/test.entity.d.ts +6 -0
  266. package/dist/packages/sqlite/templates/test.entity.esm +62 -0
  267. package/dist/packages/sqlite/templates/test.repo.service.cjs +1 -0
  268. package/dist/packages/sqlite/templates/test.repo.service.d.ts +8 -0
  269. package/dist/packages/sqlite/templates/test.repo.service.esm +26 -0
  270. package/dist/packages/stores/storage.service.cjs +1 -0
  271. package/dist/packages/stores/storage.service.d.ts +5 -0
  272. package/dist/packages/stores/storage.service.esm +22 -0
  273. package/dist/packages/stores/store.hook.cjs +1 -0
  274. package/dist/packages/stores/store.hook.d.ts +23 -0
  275. package/dist/packages/stores/store.hook.esm +22 -0
  276. package/dist/packages/stores/store.service.cjs +1 -0
  277. package/dist/packages/stores/store.service.d.ts +12 -0
  278. package/dist/packages/stores/store.service.esm +48 -0
  279. package/dist/packages/theme/theme-builder.cjs +1 -0
  280. package/dist/packages/theme/theme-builder.d.ts +19 -0
  281. package/dist/packages/theme/theme-builder.esm +25 -0
  282. package/dist/packages/theme/theme-provider.cjs +1 -0
  283. package/dist/packages/theme/theme-provider.d.ts +7 -0
  284. package/dist/packages/theme/theme-provider.esm +17 -0
  285. package/dist/packages/theme/theme-toggle.cjs +1 -0
  286. package/dist/packages/theme/theme-toggle.d.ts +6 -0
  287. package/dist/packages/theme/theme-toggle.esm +33 -0
  288. package/dist/packages/w3/tron/index.cjs +1 -0
  289. package/dist/packages/w3/tron/index.d.ts +4 -0
  290. package/dist/packages/w3/tron/index.esm +4 -0
  291. package/dist/packages/w3/tron/tron-assets.service.cjs +1 -0
  292. package/dist/packages/w3/tron/tron-assets.service.d.ts +38 -0
  293. package/dist/packages/w3/tron/tron-assets.service.esm +116 -0
  294. package/dist/packages/w3/tron/tron-wallet.entity.cjs +1 -0
  295. package/dist/packages/w3/tron/tron-wallet.entity.d.ts +15 -0
  296. package/dist/packages/w3/tron/tron-wallet.entity.esm +88 -0
  297. package/dist/packages/w3/tron/tron-wallet.repo.cjs +1 -0
  298. package/dist/packages/w3/tron/tron-wallet.repo.d.ts +30 -0
  299. package/dist/packages/w3/tron/tron-wallet.repo.esm +52 -0
  300. package/dist/packages/w3/tron/tron.service.cjs +1 -0
  301. package/dist/packages/w3/tron/tron.service.d.ts +124 -0
  302. package/dist/packages/w3/tron/tron.service.esm +406 -0
  303. package/dist/packages/w3/tron/tron.types.cjs +0 -0
  304. package/dist/packages/w3/tron/tron.types.d.ts +129 -0
  305. package/dist/packages/w3/tron/tron.types.esm +0 -0
  306. package/dist/page-container.d.ts +2 -0
  307. package/dist/popover.d.ts +2 -0
  308. package/dist/qr.encoder.service.d.ts +4 -0
  309. package/dist/qr.renderer.d.ts +4 -0
  310. package/dist/registry.d.ts +2 -0
  311. package/dist/repo.service.d.ts +4 -0
  312. package/dist/repository.contract.d.ts +1 -0
  313. package/dist/route.builder.d.ts +4 -0
  314. package/dist/scanner.formats.d.ts +2 -0
  315. package/dist/scanner.service.d.ts +2 -0
  316. package/dist/scroll-area.d.ts +2 -0
  317. package/dist/secret.input.d.ts +4 -0
  318. package/dist/select.d.ts +2 -0
  319. package/dist/select.input.d.ts +4 -0
  320. package/dist/separator.d.ts +2 -0
  321. package/dist/shared/assets/social-icons.cjs +1 -0
  322. package/dist/shared/assets/social-icons.d.ts +2 -0
  323. package/dist/shared/assets/social-icons.esm +30 -0
  324. package/dist/shared/constants/connectors/main.connector.cjs +1 -0
  325. package/dist/shared/constants/connectors/main.connector.d.ts +8 -0
  326. package/dist/shared/constants/connectors/main.connector.esm +38 -0
  327. package/dist/shared/constants/services/main.service.cjs +1 -0
  328. package/dist/shared/constants/services/main.service.d.ts +7 -0
  329. package/dist/shared/constants/services/main.service.esm +26 -0
  330. package/dist/shared/contracts/repository.contract.cjs +0 -0
  331. package/dist/shared/contracts/repository.contract.d.ts +26 -0
  332. package/dist/shared/contracts/repository.contract.esm +0 -0
  333. package/dist/shared/custom/actions/back-button.action.cjs +1 -0
  334. package/dist/shared/custom/actions/back-button.action.d.ts +13 -0
  335. package/dist/shared/custom/actions/back-button.action.esm +20 -0
  336. package/dist/shared/custom/audit/audit-view.cjs +1 -0
  337. package/dist/shared/custom/audit/audit-view.d.ts +46 -0
  338. package/dist/shared/custom/audit/audit-view.esm +73 -0
  339. package/dist/shared/custom/confirm/use-confirm.cjs +1 -0
  340. package/dist/shared/custom/confirm/use-confirm.d.ts +15 -0
  341. package/dist/shared/custom/confirm/use-confirm.esm +57 -0
  342. package/dist/shared/custom/data-table/data-table.component.cjs +1 -0
  343. package/dist/shared/custom/data-table/data-table.component.d.ts +9 -0
  344. package/dist/shared/custom/data-table/data-table.component.esm +26 -0
  345. package/dist/shared/custom/data-table/data-table.provider.cjs +0 -0
  346. package/dist/shared/custom/data-table/data-table.provider.d.ts +1 -0
  347. package/dist/shared/custom/data-table/data-table.provider.esm +0 -0
  348. package/dist/shared/custom/flow/flow-canvas.cjs +1 -0
  349. package/dist/shared/custom/flow/flow-canvas.d.ts +10 -0
  350. package/dist/shared/custom/flow/flow-canvas.esm +23 -0
  351. package/dist/shared/custom/flow/nodes/base.node.cjs +1 -0
  352. package/dist/shared/custom/flow/nodes/base.node.d.ts +9 -0
  353. package/dist/shared/custom/flow/nodes/base.node.esm +51 -0
  354. package/dist/shared/custom/form/form.component.cjs +1 -0
  355. package/dist/shared/custom/form/form.component.d.ts +13 -0
  356. package/dist/shared/custom/form/form.component.esm +26 -0
  357. package/dist/shared/custom/form/index.cjs +1 -0
  358. package/dist/shared/custom/form/index.d.ts +17 -0
  359. package/dist/shared/custom/form/index.esm +2 -0
  360. package/dist/shared/custom/form/inputs/async-combobox.input.cjs +1 -0
  361. package/dist/shared/custom/form/inputs/async-combobox.input.d.ts +18 -0
  362. package/dist/shared/custom/form/inputs/async-combobox.input.esm +91 -0
  363. package/dist/shared/custom/form/inputs/async-multi-select.input.cjs +1 -0
  364. package/dist/shared/custom/form/inputs/async-multi-select.input.d.ts +20 -0
  365. package/dist/shared/custom/form/inputs/async-multi-select.input.esm +127 -0
  366. package/dist/shared/custom/form/inputs/async-select.input.cjs +1 -0
  367. package/dist/shared/custom/form/inputs/async-select.input.d.ts +15 -0
  368. package/dist/shared/custom/form/inputs/async-select.input.esm +71 -0
  369. package/dist/shared/custom/form/inputs/checkbox-inline.input.cjs +1 -0
  370. package/dist/shared/custom/form/inputs/checkbox-inline.input.d.ts +15 -0
  371. package/dist/shared/custom/form/inputs/checkbox-inline.input.esm +41 -0
  372. package/dist/shared/custom/form/inputs/checkbox.input.cjs +1 -0
  373. package/dist/shared/custom/form/inputs/checkbox.input.d.ts +21 -0
  374. package/dist/shared/custom/form/inputs/checkbox.input.esm +50 -0
  375. package/dist/shared/custom/form/inputs/code.input.cjs +1 -0
  376. package/dist/shared/custom/form/inputs/code.input.d.ts +11 -0
  377. package/dist/shared/custom/form/inputs/code.input.esm +58 -0
  378. package/dist/shared/custom/form/inputs/color.input.cjs +1 -0
  379. package/dist/shared/custom/form/inputs/color.input.d.ts +11 -0
  380. package/dist/shared/custom/form/inputs/color.input.esm +47 -0
  381. package/dist/shared/custom/form/inputs/combobox.input.cjs +1 -0
  382. package/dist/shared/custom/form/inputs/combobox.input.d.ts +18 -0
  383. package/dist/shared/custom/form/inputs/combobox.input.esm +73 -0
  384. package/dist/shared/custom/form/inputs/date.input.cjs +1 -0
  385. package/dist/shared/custom/form/inputs/date.input.d.ts +11 -0
  386. package/dist/shared/custom/form/inputs/date.input.esm +52 -0
  387. package/dist/shared/custom/form/inputs/email.input.cjs +1 -0
  388. package/dist/shared/custom/form/inputs/email.input.d.ts +12 -0
  389. package/dist/shared/custom/form/inputs/email.input.esm +47 -0
  390. package/dist/shared/custom/form/inputs/file.input.cjs +1 -0
  391. package/dist/shared/custom/form/inputs/file.input.d.ts +11 -0
  392. package/dist/shared/custom/form/inputs/file.input.esm +95 -0
  393. package/dist/shared/custom/form/inputs/image.input.cjs +1 -0
  394. package/dist/shared/custom/form/inputs/image.input.d.ts +11 -0
  395. package/dist/shared/custom/form/inputs/image.input.esm +90 -0
  396. package/dist/shared/custom/form/inputs/list-select.input.cjs +1 -0
  397. package/dist/shared/custom/form/inputs/list-select.input.d.ts +17 -0
  398. package/dist/shared/custom/form/inputs/list-select.input.esm +53 -0
  399. package/dist/shared/custom/form/inputs/secret.input.cjs +1 -0
  400. package/dist/shared/custom/form/inputs/secret.input.d.ts +11 -0
  401. package/dist/shared/custom/form/inputs/secret.input.esm +53 -0
  402. package/dist/shared/custom/form/inputs/select.input.cjs +1 -0
  403. package/dist/shared/custom/form/inputs/select.input.d.ts +17 -0
  404. package/dist/shared/custom/form/inputs/select.input.esm +44 -0
  405. package/dist/shared/custom/form/inputs/tags.input.cjs +1 -0
  406. package/dist/shared/custom/form/inputs/tags.input.d.ts +16 -0
  407. package/dist/shared/custom/form/inputs/tags.input.esm +80 -0
  408. package/dist/shared/custom/form/inputs/text.input.cjs +1 -0
  409. package/dist/shared/custom/form/inputs/text.input.d.ts +13 -0
  410. package/dist/shared/custom/form/inputs/text.input.esm +47 -0
  411. package/dist/shared/custom/form/inputs/textarea.input.cjs +1 -0
  412. package/dist/shared/custom/form/inputs/textarea.input.d.ts +12 -0
  413. package/dist/shared/custom/form/inputs/textarea.input.esm +36 -0
  414. package/dist/shared/custom/form/layout/form-dialog-layout.cjs +1 -0
  415. package/dist/shared/custom/form/layout/form-dialog-layout.d.ts +25 -0
  416. package/dist/shared/custom/form/layout/form-dialog-layout.esm +37 -0
  417. package/dist/shared/custom/form/layout/form-tab-layout.cjs +1 -0
  418. package/dist/shared/custom/form/layout/form-tab-layout.d.ts +30 -0
  419. package/dist/shared/custom/form/layout/form-tab-layout.esm +69 -0
  420. package/dist/shared/custom/hover/hover.cjs +1 -0
  421. package/dist/shared/custom/hover/hover.d.ts +6 -0
  422. package/dist/shared/custom/hover/hover.esm +20 -0
  423. package/dist/shared/custom/layouts/canvas-view.layout.cjs +1 -0
  424. package/dist/shared/custom/layouts/canvas-view.layout.d.ts +18 -0
  425. package/dist/shared/custom/layouts/canvas-view.layout.esm +15 -0
  426. package/dist/shared/custom/layouts/detail-tabs.layout.cjs +1 -0
  427. package/dist/shared/custom/layouts/detail-tabs.layout.d.ts +27 -0
  428. package/dist/shared/custom/layouts/detail-tabs.layout.esm +32 -0
  429. package/dist/shared/custom/layouts/detail-view.layout.cjs +1 -0
  430. package/dist/shared/custom/layouts/detail-view.layout.d.ts +33 -0
  431. package/dist/shared/custom/layouts/detail-view.layout.esm +64 -0
  432. package/dist/shared/custom/layouts/feedback.layout.cjs +1 -0
  433. package/dist/shared/custom/layouts/feedback.layout.d.ts +14 -0
  434. package/dist/shared/custom/layouts/feedback.layout.esm +20 -0
  435. package/dist/shared/custom/layouts/grid.layout.cjs +1 -0
  436. package/dist/shared/custom/layouts/grid.layout.d.ts +38 -0
  437. package/dist/shared/custom/layouts/grid.layout.esm +39 -0
  438. package/dist/shared/custom/layouts/page-container.cjs +1 -0
  439. package/dist/shared/custom/layouts/page-container.d.ts +6 -0
  440. package/dist/shared/custom/layouts/page-container.esm +12 -0
  441. package/dist/shared/custom/ui/icon-box.cjs +1 -0
  442. package/dist/shared/custom/ui/icon-box.d.ts +12 -0
  443. package/dist/shared/custom/ui/icon-box.esm +21 -0
  444. package/dist/shared/custom/ui/typography.cjs +1 -0
  445. package/dist/shared/custom/ui/typography.d.ts +11 -0
  446. package/dist/shared/custom/ui/typography.esm +30 -0
  447. package/dist/shared/hooks/use-device.cjs +1 -0
  448. package/dist/shared/hooks/use-device.d.ts +10 -0
  449. package/dist/shared/hooks/use-device.esm +37 -0
  450. package/dist/shared/hooks/use-i18n.cjs +1 -0
  451. package/dist/shared/hooks/use-i18n.d.ts +10 -0
  452. package/dist/shared/hooks/use-i18n.esm +15 -0
  453. package/dist/shared/hooks/use-mobile.cjs +1 -0
  454. package/dist/shared/hooks/use-mobile.d.ts +1 -0
  455. package/dist/shared/hooks/use-mobile.esm +14 -0
  456. package/dist/shared/lib/utils.cjs +1 -0
  457. package/dist/shared/lib/utils.d.ts +2 -0
  458. package/dist/shared/lib/utils.esm +8 -0
  459. package/dist/shared/logic/action/action-processor.cjs +1 -0
  460. package/dist/shared/logic/action/action-processor.d.ts +86 -0
  461. package/dist/shared/logic/action/action-processor.esm +30 -0
  462. package/dist/shared/logic/components/components.registry.cjs +1 -0
  463. package/dist/shared/logic/components/components.registry.d.ts +16 -0
  464. package/dist/shared/logic/components/components.registry.esm +26 -0
  465. package/dist/shared/logic/events/startable.cjs +1 -0
  466. package/dist/shared/logic/events/startable.d.ts +7 -0
  467. package/dist/shared/logic/events/startable.esm +32 -0
  468. package/dist/shared/logic/events/use-on-start.hook.cjs +1 -0
  469. package/dist/shared/logic/events/use-on-start.hook.d.ts +12 -0
  470. package/dist/shared/logic/events/use-on-start.hook.esm +15 -0
  471. package/dist/shared/logic/factory/component.factory.cjs +1 -0
  472. package/dist/shared/logic/factory/component.factory.d.ts +9 -0
  473. package/dist/shared/logic/factory/component.factory.esm +28 -0
  474. package/dist/shared/logic/guards/builder-device.guard.cjs +1 -0
  475. package/dist/shared/logic/guards/builder-device.guard.d.ts +5 -0
  476. package/dist/shared/logic/guards/builder-device.guard.esm +10 -0
  477. package/dist/shared/logic/guards/component.guard.cjs +1 -0
  478. package/dist/shared/logic/guards/component.guard.d.ts +5 -0
  479. package/dist/shared/logic/guards/component.guard.esm +13 -0
  480. package/dist/shared/logic/guards/context.guard.cjs +1 -0
  481. package/dist/shared/logic/guards/context.guard.d.ts +13 -0
  482. package/dist/shared/logic/guards/context.guard.esm +9 -0
  483. package/dist/shared/logic/guards/device-artifact.guard.cjs +1 -0
  484. package/dist/shared/logic/guards/device-artifact.guard.d.ts +16 -0
  485. package/dist/shared/logic/guards/device-artifact.guard.esm +44 -0
  486. package/dist/shared/logic/guards/device.guard.cjs +1 -0
  487. package/dist/shared/logic/guards/device.guard.d.ts +17 -0
  488. package/dist/shared/logic/guards/device.guard.esm +40 -0
  489. package/dist/shared/logic/guards/dynamic-device.guard.cjs +1 -0
  490. package/dist/shared/logic/guards/dynamic-device.guard.d.ts +5 -0
  491. package/dist/shared/logic/guards/dynamic-device.guard.esm +10 -0
  492. package/dist/shared/logic/guards/guard.cjs +1 -0
  493. package/dist/shared/logic/guards/guard.d.ts +24 -0
  494. package/dist/shared/logic/guards/guard.esm +18 -0
  495. package/dist/shared/logic/service/base.service.cjs +1 -0
  496. package/dist/shared/logic/service/base.service.d.ts +3 -0
  497. package/dist/shared/logic/service/base.service.esm +5 -0
  498. package/dist/shared/logic/verifiers/context.verifier.cjs +1 -0
  499. package/dist/shared/logic/verifiers/context.verifier.d.ts +7 -0
  500. package/dist/shared/logic/verifiers/context.verifier.esm +31 -0
  501. package/dist/shared/logic/verifiers/device.verifier.registry.cjs +1 -0
  502. package/dist/shared/logic/verifiers/device.verifier.registry.d.ts +13 -0
  503. package/dist/shared/logic/verifiers/device.verifier.registry.esm +36 -0
  504. package/dist/shared/logic/verifiers/enum.verifier.cjs +1 -0
  505. package/dist/shared/logic/verifiers/enum.verifier.d.ts +4 -0
  506. package/dist/shared/logic/verifiers/enum.verifier.esm +9 -0
  507. package/dist/shared/logic/verifiers/value.verifier.cjs +1 -0
  508. package/dist/shared/logic/verifiers/value.verifier.d.ts +5 -0
  509. package/dist/shared/logic/verifiers/value.verifier.esm +9 -0
  510. package/dist/shared/ui/badge.cjs +1 -0
  511. package/dist/shared/ui/badge.d.ts +9 -0
  512. package/dist/shared/ui/badge.esm +27 -0
  513. package/dist/shared/ui/breadcrumb.cjs +1 -0
  514. package/dist/shared/ui/breadcrumb.d.ts +11 -0
  515. package/dist/shared/ui/breadcrumb.esm +70 -0
  516. package/dist/shared/ui/button.cjs +1 -0
  517. package/dist/shared/ui/button.d.ts +11 -0
  518. package/dist/shared/ui/button.esm +47 -0
  519. package/dist/shared/ui/calendar.cjs +1 -0
  520. package/dist/shared/ui/calendar.d.ts +10 -0
  521. package/dist/shared/ui/calendar.esm +92 -0
  522. package/dist/shared/ui/card.cjs +1 -0
  523. package/dist/shared/ui/card.d.ts +11 -0
  524. package/dist/shared/ui/card.esm +56 -0
  525. package/dist/shared/ui/checkbox.cjs +1 -0
  526. package/dist/shared/ui/checkbox.d.ts +4 -0
  527. package/dist/shared/ui/checkbox.esm +20 -0
  528. package/dist/shared/ui/combobox.cjs +1 -0
  529. package/dist/shared/ui/combobox.d.ts +24 -0
  530. package/dist/shared/ui/combobox.esm +163 -0
  531. package/dist/shared/ui/command.cjs +1 -0
  532. package/dist/shared/ui/command.d.ts +18 -0
  533. package/dist/shared/ui/command.esm +87 -0
  534. package/dist/shared/ui/custom/dynamic-icon.cjs +1 -0
  535. package/dist/shared/ui/custom/dynamic-icon.d.ts +13 -0
  536. package/dist/shared/ui/custom/dynamic-icon.esm +15 -0
  537. package/dist/shared/ui/dialog.cjs +1 -0
  538. package/dist/shared/ui/dialog.d.ts +17 -0
  539. package/dist/shared/ui/dialog.esm +95 -0
  540. package/dist/shared/ui/field.cjs +1 -0
  541. package/dist/shared/ui/field.d.ts +24 -0
  542. package/dist/shared/ui/field.esm +107 -0
  543. package/dist/shared/ui/icon-button.cjs +1 -0
  544. package/dist/shared/ui/icon-button.d.ts +6 -0
  545. package/dist/shared/ui/icon-button.esm +14 -0
  546. package/dist/shared/ui/index.cjs +1 -0
  547. package/dist/shared/ui/index.d.ts +23 -0
  548. package/dist/shared/ui/index.esm +24 -0
  549. package/dist/shared/ui/input-group.cjs +1 -0
  550. package/dist/shared/ui/input-group.d.ts +16 -0
  551. package/dist/shared/ui/input-group.esm +77 -0
  552. package/dist/shared/ui/input.cjs +1 -0
  553. package/dist/shared/ui/input.d.ts +3 -0
  554. package/dist/shared/ui/input.esm +14 -0
  555. package/dist/shared/ui/label.cjs +1 -0
  556. package/dist/shared/ui/label.d.ts +4 -0
  557. package/dist/shared/ui/label.esm +14 -0
  558. package/dist/shared/ui/popover.cjs +1 -0
  559. package/dist/shared/ui/popover.d.ts +7 -0
  560. package/dist/shared/ui/popover.esm +35 -0
  561. package/dist/shared/ui/scroll-area.cjs +1 -0
  562. package/dist/shared/ui/scroll-area.d.ts +5 -0
  563. package/dist/shared/ui/scroll-area.esm +36 -0
  564. package/dist/shared/ui/select.cjs +1 -0
  565. package/dist/shared/ui/select.d.ts +15 -0
  566. package/dist/shared/ui/select.esm +99 -0
  567. package/dist/shared/ui/separator.cjs +1 -0
  568. package/dist/shared/ui/separator.d.ts +4 -0
  569. package/dist/shared/ui/separator.esm +16 -0
  570. package/dist/shared/ui/sheet.cjs +1 -0
  571. package/dist/shared/ui/sheet.d.ts +14 -0
  572. package/dist/shared/ui/sheet.esm +89 -0
  573. package/dist/shared/ui/sidebar.cjs +1 -0
  574. package/dist/shared/ui/sidebar.d.ts +69 -0
  575. package/dist/shared/ui/sidebar.esm +348 -0
  576. package/dist/shared/ui/skeleton.cjs +1 -0
  577. package/dist/shared/ui/skeleton.d.ts +2 -0
  578. package/dist/shared/ui/skeleton.esm +12 -0
  579. package/dist/shared/ui/sonner.cjs +1 -0
  580. package/dist/shared/ui/sonner.d.ts +3 -0
  581. package/dist/shared/ui/sonner.esm +29 -0
  582. package/dist/shared/ui/table.cjs +1 -0
  583. package/dist/shared/ui/table.d.ts +10 -0
  584. package/dist/shared/ui/table.esm +66 -0
  585. package/dist/shared/ui/tabs.cjs +1 -0
  586. package/dist/shared/ui/tabs.d.ts +11 -0
  587. package/dist/shared/ui/tabs.esm +45 -0
  588. package/dist/shared/ui/textarea.cjs +1 -0
  589. package/dist/shared/ui/textarea.d.ts +3 -0
  590. package/dist/shared/ui/textarea.esm +13 -0
  591. package/dist/shared/ui/tooltip.cjs +1 -0
  592. package/dist/shared/ui/tooltip.d.ts +7 -0
  593. package/dist/shared/ui/tooltip.esm +36 -0
  594. package/dist/sheet.d.ts +2 -0
  595. package/dist/sheets.connector.d.ts +2 -0
  596. package/dist/sheets.service.d.ts +2 -0
  597. package/dist/sidebar.d.ts +2 -0
  598. package/dist/skeleton.d.ts +2 -0
  599. package/dist/social-icons.d.ts +2 -0
  600. package/dist/sonner.d.ts +2 -0
  601. package/dist/sortable.d.ts +2 -0
  602. package/dist/sqlite.service.d.ts +6 -0
  603. package/dist/startable.d.ts +4 -0
  604. package/dist/storage.service.d.ts +4 -0
  605. package/dist/store.hook.d.ts +4 -0
  606. package/dist/store.service.d.ts +4 -0
  607. package/dist/table.d.ts +2 -0
  608. package/dist/tabs.d.ts +2 -0
  609. package/dist/tags.input.d.ts +4 -0
  610. package/dist/test.entity.d.ts +2 -0
  611. package/dist/test.repo.service.d.ts +6 -0
  612. package/dist/text-coder.service.d.ts +2 -0
  613. package/dist/text.input.d.ts +4 -0
  614. package/dist/textarea.d.ts +2 -0
  615. package/dist/textarea.input.d.ts +4 -0
  616. package/dist/theme-builder.d.ts +2 -0
  617. package/dist/theme-provider.d.ts +2 -0
  618. package/dist/theme-toggle.d.ts +2 -0
  619. package/dist/tooltip.d.ts +2 -0
  620. package/dist/tron-assets.service.d.ts +2 -0
  621. package/dist/tron-wallet.entity.d.ts +2 -0
  622. package/dist/tron-wallet.repo.d.ts +2 -0
  623. package/dist/tron.service.d.ts +2 -0
  624. package/dist/tron.types.d.ts +1 -0
  625. package/dist/types.d.ts +1 -0
  626. package/dist/typography.d.ts +2 -0
  627. package/dist/use-confirm.d.ts +2 -0
  628. package/dist/use-device.d.ts +2 -0
  629. package/dist/use-i18n.d.ts +2 -0
  630. package/dist/use-mobile.d.ts +2 -0
  631. package/dist/use-on-start.hook.d.ts +2 -0
  632. package/dist/utils.d.ts +2 -0
  633. package/dist/value.verifier.d.ts +4 -0
  634. package/package.json +155 -0
@@ -0,0 +1,87 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { Dialog as t, DialogContent as n, DialogDescription as r, DialogHeader as i, DialogTitle as a } from "./dialog.esm";
3
+ import { InputGroup as o, InputGroupAddon as s } from "./input-group.esm";
4
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
+ import "react";
6
+ import { CheckIcon as u, SearchIcon as d } from "lucide-react";
7
+ import { Command as f } from "cmdk";
8
+ //#region src/shared/ui/command.tsx
9
+ function p({ className: t, ...n }) {
10
+ return /* @__PURE__ */ c(f, {
11
+ "data-slot": "command",
12
+ className: e("flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground", t),
13
+ ...n
14
+ });
15
+ }
16
+ function m({ title: o = "Command Palette", description: s = "Search for a command to run...", children: u, className: d, showCloseButton: f = !1, ...p }) {
17
+ return /* @__PURE__ */ l(t, {
18
+ ...p,
19
+ children: [/* @__PURE__ */ l(i, {
20
+ className: "sr-only",
21
+ children: [/* @__PURE__ */ c(a, { children: o }), /* @__PURE__ */ c(r, { children: s })]
22
+ }), /* @__PURE__ */ c(n, {
23
+ className: e("top-1/3 translate-y-0 overflow-hidden rounded-xl! p-0", d),
24
+ showCloseButton: f,
25
+ children: u
26
+ })]
27
+ });
28
+ }
29
+ function h({ className: t, ...n }) {
30
+ return /* @__PURE__ */ c("div", {
31
+ "data-slot": "command-input-wrapper",
32
+ className: "p-1 pb-0",
33
+ children: /* @__PURE__ */ l(o, {
34
+ className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!",
35
+ children: [/* @__PURE__ */ c(f.Input, {
36
+ "data-slot": "command-input",
37
+ className: e("w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", t),
38
+ ...n
39
+ }), /* @__PURE__ */ c(s, { children: /* @__PURE__ */ c(d, { className: "size-4 shrink-0 opacity-50" }) })]
40
+ })
41
+ });
42
+ }
43
+ function g({ className: t, ...n }) {
44
+ return /* @__PURE__ */ c(f.List, {
45
+ "data-slot": "command-list",
46
+ className: e("no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none", t),
47
+ ...n
48
+ });
49
+ }
50
+ function _({ className: t, ...n }) {
51
+ return /* @__PURE__ */ c(f.Empty, {
52
+ "data-slot": "command-empty",
53
+ className: e("py-6 text-center text-sm", t),
54
+ ...n
55
+ });
56
+ }
57
+ function v({ className: t, ...n }) {
58
+ return /* @__PURE__ */ c(f.Group, {
59
+ "data-slot": "command-group",
60
+ className: e("overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground", t),
61
+ ...n
62
+ });
63
+ }
64
+ function y({ className: t, ...n }) {
65
+ return /* @__PURE__ */ c(f.Separator, {
66
+ "data-slot": "command-separator",
67
+ className: e("-mx-1 h-px w-auto bg-border", t),
68
+ ...n
69
+ });
70
+ }
71
+ function b({ className: t, children: n, ...r }) {
72
+ return /* @__PURE__ */ l(f.Item, {
73
+ "data-slot": "command-item",
74
+ className: e("group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-selected:**:[svg]:text-foreground", t),
75
+ ...r,
76
+ children: [n, /* @__PURE__ */ c(u, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })]
77
+ });
78
+ }
79
+ function x({ className: t, ...n }) {
80
+ return /* @__PURE__ */ c("span", {
81
+ "data-slot": "command-shortcut",
82
+ className: e("ml-auto text-xs tracking-widest text-muted-foreground group-data-selected/command-item:text-foreground", t),
83
+ ...n
84
+ });
85
+ }
86
+ //#endregion
87
+ export { p as Command, m as CommandDialog, _ as CommandEmpty, v as CommandGroup, h as CommandInput, b as CommandItem, g as CommandList, y as CommandSeparator, x as CommandShortcut };
@@ -0,0 +1 @@
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`../../../_virtual/_rolldown/runtime.cjs`);let t=require(`react/jsx-runtime`),n=require(`lucide-react`);n=e.__toESM(n);var r=({name:e,size:r=24,className:i})=>{let a=n[e];return a?(0,t.jsx)(a,{size:r,className:i}):(console.warn(`[DynamicIcon] Icon "${e}" not found in lucide-react. Using fallback.`),(0,t.jsx)(n.HelpCircle,{size:r,className:i}))};exports.DynamicIcon=r,exports.default=r;
@@ -0,0 +1,13 @@
1
+ interface DynamicIconProps {
2
+ name: string;
3
+ size?: number;
4
+ className?: string;
5
+ }
6
+ /**
7
+ * DynamicIcon
8
+ *
9
+ * Resuelve un componente de lucide-react basándose en su nombre como string.
10
+ * Útil para configuraciones que vienen de APIs o CMS.
11
+ */
12
+ export declare const DynamicIcon: ({ name, size, className }: DynamicIconProps) => import("react/jsx-runtime").JSX.Element;
13
+ export default DynamicIcon;
@@ -0,0 +1,15 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import * as t from "lucide-react";
3
+ //#region src/shared/ui/custom/dynamic-icon.tsx
4
+ var n = ({ name: n, size: r = 24, className: i }) => {
5
+ let a = t[n];
6
+ return a ? /* @__PURE__ */ e(a, {
7
+ size: r,
8
+ className: i
9
+ }) : (console.warn(`[DynamicIcon] Icon "${n}" not found in lucide-react. Using fallback.`), /* @__PURE__ */ e(t.HelpCircle, {
10
+ size: r,
11
+ className: i
12
+ }));
13
+ };
14
+ //#endregion
15
+ export { n as DynamicIcon, n as default };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../lib/utils.cjs`),n=require(`./button.cjs`);let r=require(`react/jsx-runtime`),i=require(`react`);i=e.__toESM(i);let a=require(`radix-ui`),o=require(`lucide-react`);function s({...e}){return(0,r.jsx)(a.Dialog.Root,{"data-slot":`dialog`,...e})}function c({...e}){return(0,r.jsx)(a.Dialog.Trigger,{"data-slot":`dialog-trigger`,...e})}function l({...e}){return(0,r.jsx)(a.Dialog.Portal,{"data-slot":`dialog-portal`,...e})}function u({...e}){return(0,r.jsx)(a.Dialog.Close,{"data-slot":`dialog-close`,...e})}function d({className:e,...n}){return(0,r.jsx)(a.Dialog.Overlay,{"data-slot":`dialog-overlay`,className:t.cn(`fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0`,e),...n})}function f({className:e,children:i,showCloseButton:s=!0,...c}){return(0,r.jsxs)(l,{children:[(0,r.jsx)(d,{}),(0,r.jsxs)(a.Dialog.Content,{"data-slot":`dialog-content`,className:t.cn(`fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-6 rounded-(--t-radius-lg) bg-popover p-6 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-md data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,e),...c,children:[i,s&&(0,r.jsx)(a.Dialog.Close,{"data-slot":`dialog-close`,asChild:!0,children:(0,r.jsxs)(n.Button,{variant:`ghost`,className:`absolute top-4 right-4`,size:`icon-sm`,children:[(0,r.jsx)(o.XIcon,{}),(0,r.jsx)(`span`,{className:`sr-only`,children:`Close`})]})})]})]})}function p({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`dialog-header`,className:t.cn(`flex flex-col gap-2`,e),...n})}function m({className:e,showCloseButton:i=!1,children:o,...s}){return(0,r.jsxs)(`div`,{"data-slot":`dialog-footer`,className:t.cn(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...s,children:[o,i&&(0,r.jsx)(a.Dialog.Close,{asChild:!0,children:(0,r.jsx)(n.Button,{variant:`outline`,children:`Close`})})]})}function h({className:e,...n}){return(0,r.jsx)(a.Dialog.Title,{"data-slot":`dialog-title`,className:t.cn(`font-heading leading-none font-medium`,e),...n})}function g({className:e,...n}){return(0,r.jsx)(a.Dialog.Description,{"data-slot":`dialog-description`,className:t.cn(`text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,e),...n})}exports.Dialog=s,exports.DialogClose=u,exports.DialogContent=f,exports.DialogDescription=g,exports.DialogFooter=m,exports.DialogHeader=p,exports.DialogOverlay=d,exports.DialogPortal=l,exports.DialogTitle=h,exports.DialogTrigger=c;
@@ -0,0 +1,17 @@
1
+ import { Dialog as DialogPrimitive } from 'radix-ui';
2
+ import * as React from "react";
3
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<"div"> & {
13
+ showCloseButton?: boolean;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
16
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
17
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -0,0 +1,95 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { Button as t } from "./button.esm";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import "react";
5
+ import { Dialog as i } from "radix-ui";
6
+ import { XIcon as a } from "lucide-react";
7
+ //#region src/shared/ui/dialog.tsx
8
+ function o({ ...e }) {
9
+ return /* @__PURE__ */ n(i.Root, {
10
+ "data-slot": "dialog",
11
+ ...e
12
+ });
13
+ }
14
+ function s({ ...e }) {
15
+ return /* @__PURE__ */ n(i.Trigger, {
16
+ "data-slot": "dialog-trigger",
17
+ ...e
18
+ });
19
+ }
20
+ function c({ ...e }) {
21
+ return /* @__PURE__ */ n(i.Portal, {
22
+ "data-slot": "dialog-portal",
23
+ ...e
24
+ });
25
+ }
26
+ function l({ ...e }) {
27
+ return /* @__PURE__ */ n(i.Close, {
28
+ "data-slot": "dialog-close",
29
+ ...e
30
+ });
31
+ }
32
+ function u({ className: t, ...r }) {
33
+ return /* @__PURE__ */ n(i.Overlay, {
34
+ "data-slot": "dialog-overlay",
35
+ className: e("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", t),
36
+ ...r
37
+ });
38
+ }
39
+ function d({ className: o, children: s, showCloseButton: l = !0, ...d }) {
40
+ return /* @__PURE__ */ r(c, { children: [/* @__PURE__ */ n(u, {}), /* @__PURE__ */ r(i.Content, {
41
+ "data-slot": "dialog-content",
42
+ className: e("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-6 rounded-(--t-radius-lg) bg-popover p-6 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-md data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", o),
43
+ ...d,
44
+ children: [s, l && /* @__PURE__ */ n(i.Close, {
45
+ "data-slot": "dialog-close",
46
+ asChild: !0,
47
+ children: /* @__PURE__ */ r(t, {
48
+ variant: "ghost",
49
+ className: "absolute top-4 right-4",
50
+ size: "icon-sm",
51
+ children: [/* @__PURE__ */ n(a, {}), /* @__PURE__ */ n("span", {
52
+ className: "sr-only",
53
+ children: "Close"
54
+ })]
55
+ })
56
+ })]
57
+ })] });
58
+ }
59
+ function f({ className: t, ...r }) {
60
+ return /* @__PURE__ */ n("div", {
61
+ "data-slot": "dialog-header",
62
+ className: e("flex flex-col gap-2", t),
63
+ ...r
64
+ });
65
+ }
66
+ function p({ className: a, showCloseButton: o = !1, children: s, ...c }) {
67
+ return /* @__PURE__ */ r("div", {
68
+ "data-slot": "dialog-footer",
69
+ className: e("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", a),
70
+ ...c,
71
+ children: [s, o && /* @__PURE__ */ n(i.Close, {
72
+ asChild: !0,
73
+ children: /* @__PURE__ */ n(t, {
74
+ variant: "outline",
75
+ children: "Close"
76
+ })
77
+ })]
78
+ });
79
+ }
80
+ function m({ className: t, ...r }) {
81
+ return /* @__PURE__ */ n(i.Title, {
82
+ "data-slot": "dialog-title",
83
+ className: e("font-heading leading-none font-medium", t),
84
+ ...r
85
+ });
86
+ }
87
+ function h({ className: t, ...r }) {
88
+ return /* @__PURE__ */ n(i.Description, {
89
+ "data-slot": "dialog-description",
90
+ className: e("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", t),
91
+ ...r
92
+ });
93
+ }
94
+ //#endregion
95
+ export { o as Dialog, l as DialogClose, d as DialogContent, h as DialogDescription, p as DialogFooter, f as DialogHeader, u as DialogOverlay, c as DialogPortal, m as DialogTitle, s as DialogTrigger };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../lib/utils.cjs`),t=require(`./label.cjs`),n=require(`./separator.cjs`);let r=require(`react/jsx-runtime`),i=require(`react`),a=require(`class-variance-authority`);function o({className:t,...n}){return(0,r.jsx)(`fieldset`,{"data-slot":`field-set`,className:e.cn(`flex flex-col gap-6 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3`,t),...n})}function s({className:t,variant:n=`legend`,...i}){return(0,r.jsx)(`legend`,{"data-slot":`field-legend`,"data-variant":n,className:e.cn(`mb-3 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base`,t),...i})}function c({className:t,...n}){return(0,r.jsx)(`div`,{"data-slot":`field-group`,className:e.cn(`group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4`,t),...n})}var l=(0,a.cva)(`group/field flex w-full gap-3 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:`flex-col *:w-full [&>.sr-only]:w-auto`,horizontal:`flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`,responsive:`flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`}},defaultVariants:{orientation:`vertical`}});function u({className:t,orientation:n=`vertical`,...i}){return(0,r.jsx)(`div`,{role:`group`,"data-slot":`field`,"data-orientation":n,className:e.cn(l({orientation:n}),t),...i})}function d({className:t,...n}){return(0,r.jsx)(`div`,{"data-slot":`field-content`,className:e.cn(`group/field-content flex flex-1 flex-col gap-1 leading-snug`,t),...n})}function f({className:n,...i}){return(0,r.jsx)(t.Label,{"data-slot":`field-label`,className:e.cn(`group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-3 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10`,`has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col`,n),...i})}function p({className:t,...n}){return(0,r.jsx)(`div`,{"data-slot":`field-label`,className:e.cn(`flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50`,t),...n})}function m({className:t,...n}){return(0,r.jsx)(`p`,{"data-slot":`field-description`,className:e.cn(`text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5`,`last:mt-0 nth-last-2:-mt-1`,`[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary`,t),...n})}function h({children:t,className:i,...a}){return(0,r.jsxs)(`div`,{"data-slot":`field-separator`,"data-content":!!t,className:e.cn(`relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2`,i),...a,children:[(0,r.jsx)(n.Separator,{className:`absolute inset-0 top-1/2`}),t&&(0,r.jsx)(`span`,{className:`relative mx-auto block w-fit bg-background px-2 text-muted-foreground`,"data-slot":`field-separator-content`,children:t})]})}function g({className:t,children:n,errors:a,...o}){let s=(0,i.useMemo)(()=>{if(n)return n;if(!a?.length)return null;let e=[...new Map(a.map(e=>[e?.message,e])).values()];return e?.length==1?e[0]?.message:(0,r.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:e.map((e,t)=>e?.message&&(0,r.jsx)(`li`,{children:e.message},t))})},[n,a]);return s?(0,r.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:e.cn(`text-sm font-normal text-destructive`,t),...o,children:s}):null}exports.Field=u,exports.FieldContent=d,exports.FieldDescription=m,exports.FieldError=g,exports.FieldGroup=c,exports.FieldLabel=f,exports.FieldLegend=s,exports.FieldSeparator=h,exports.FieldSet=o,exports.FieldTitle=p;
@@ -0,0 +1,24 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Label } from './label';
3
+ declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element;
4
+ declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
5
+ variant?: "legend" | "label";
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare const fieldVariants: (props?: ({
9
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
10
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
11
+ declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("react/jsx-runtime").JSX.Element;
12
+ declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
13
+ declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element;
14
+ declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
15
+ declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
16
+ declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
17
+ children?: React.ReactNode;
18
+ }): import("react/jsx-runtime").JSX.Element;
19
+ declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
20
+ errors?: Array<{
21
+ message?: string;
22
+ } | undefined>;
23
+ }): import("react/jsx-runtime").JSX.Element | null;
24
+ export { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle, };
@@ -0,0 +1,107 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { Label as t } from "./label.esm";
3
+ import { Separator as n } from "./separator.esm";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
+ import { useMemo as a } from "react";
6
+ import { cva as o } from "class-variance-authority";
7
+ //#region src/shared/ui/field.tsx
8
+ function s({ className: t, ...n }) {
9
+ return /* @__PURE__ */ r("fieldset", {
10
+ "data-slot": "field-set",
11
+ className: e("flex flex-col gap-6 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", t),
12
+ ...n
13
+ });
14
+ }
15
+ function c({ className: t, variant: n = "legend", ...i }) {
16
+ return /* @__PURE__ */ r("legend", {
17
+ "data-slot": "field-legend",
18
+ "data-variant": n,
19
+ className: e("mb-3 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base", t),
20
+ ...i
21
+ });
22
+ }
23
+ function l({ className: t, ...n }) {
24
+ return /* @__PURE__ */ r("div", {
25
+ "data-slot": "field-group",
26
+ className: e("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", t),
27
+ ...n
28
+ });
29
+ }
30
+ var u = o("group/field flex w-full gap-3 data-[invalid=true]:text-destructive", {
31
+ variants: { orientation: {
32
+ vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
33
+ horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
34
+ responsive: "flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
35
+ } },
36
+ defaultVariants: { orientation: "vertical" }
37
+ });
38
+ function d({ className: t, orientation: n = "vertical", ...i }) {
39
+ return /* @__PURE__ */ r("div", {
40
+ role: "group",
41
+ "data-slot": "field",
42
+ "data-orientation": n,
43
+ className: e(u({ orientation: n }), t),
44
+ ...i
45
+ });
46
+ }
47
+ function f({ className: t, ...n }) {
48
+ return /* @__PURE__ */ r("div", {
49
+ "data-slot": "field-content",
50
+ className: e("group/field-content flex flex-1 flex-col gap-1 leading-snug", t),
51
+ ...n
52
+ });
53
+ }
54
+ function p({ className: n, ...i }) {
55
+ return /* @__PURE__ */ r(t, {
56
+ "data-slot": "field-label",
57
+ className: e("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-3 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", n),
58
+ ...i
59
+ });
60
+ }
61
+ function m({ className: t, ...n }) {
62
+ return /* @__PURE__ */ r("div", {
63
+ "data-slot": "field-label",
64
+ className: e("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50", t),
65
+ ...n
66
+ });
67
+ }
68
+ function h({ className: t, ...n }) {
69
+ return /* @__PURE__ */ r("p", {
70
+ "data-slot": "field-description",
71
+ className: e("text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "last:mt-0 nth-last-2:-mt-1", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", t),
72
+ ...n
73
+ });
74
+ }
75
+ function g({ children: t, className: a, ...o }) {
76
+ return /* @__PURE__ */ i("div", {
77
+ "data-slot": "field-separator",
78
+ "data-content": !!t,
79
+ className: e("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2", a),
80
+ ...o,
81
+ children: [/* @__PURE__ */ r(n, { className: "absolute inset-0 top-1/2" }), t && /* @__PURE__ */ r("span", {
82
+ className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
83
+ "data-slot": "field-separator-content",
84
+ children: t
85
+ })]
86
+ });
87
+ }
88
+ function _({ className: t, children: n, errors: i, ...o }) {
89
+ let s = a(() => {
90
+ if (n) return n;
91
+ if (!i?.length) return null;
92
+ let e = [...new Map(i.map((e) => [e?.message, e])).values()];
93
+ return e?.length == 1 ? e[0]?.message : /* @__PURE__ */ r("ul", {
94
+ className: "ml-4 flex list-disc flex-col gap-1",
95
+ children: e.map((e, t) => e?.message && /* @__PURE__ */ r("li", { children: e.message }, t))
96
+ });
97
+ }, [n, i]);
98
+ return s ? /* @__PURE__ */ r("div", {
99
+ role: "alert",
100
+ "data-slot": "field-error",
101
+ className: e("text-sm font-normal text-destructive", t),
102
+ ...o,
103
+ children: s
104
+ }) : null;
105
+ }
106
+ //#endregion
107
+ export { d as Field, f as FieldContent, h as FieldDescription, _ as FieldError, l as FieldGroup, p as FieldLabel, c as FieldLegend, g as FieldSeparator, s as FieldSet, m as FieldTitle };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../lib/utils.cjs`),n=require(`./button.cjs`);let r=require(`react/jsx-runtime`),i=require(`react`);i=e.__toESM(i);var a=i.forwardRef(({className:e,size:i=`icon`,...a},o)=>(0,r.jsx)(n.Button,{ref:o,size:i,className:t.cn(`rounded-xl aspect-square h-full w-auto flex shrink-0 items-center justify-center p-0`,e),...a}));a.displayName=`IconButton`,exports.IconButton=a;
@@ -0,0 +1,6 @@
1
+ import { Button } from './button';
2
+ import * as React from "react";
3
+ export interface IconButtonProps extends React.ComponentPropsWithoutRef<typeof Button> {
4
+ }
5
+ declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
6
+ export { IconButton };
@@ -0,0 +1,14 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { Button as t } from "./button.esm";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import * as r from "react";
5
+ //#region src/shared/ui/icon-button.tsx
6
+ var i = r.forwardRef(({ className: r, size: i = "icon", ...a }, o) => /* @__PURE__ */ n(t, {
7
+ ref: o,
8
+ size: i,
9
+ className: e("rounded-xl aspect-square h-full w-auto flex shrink-0 items-center justify-center p-0", r),
10
+ ...a
11
+ }));
12
+ i.displayName = "IconButton";
13
+ //#endregion
14
+ export { i as IconButton };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./button.cjs`),t=require(`./select.cjs`),n=require(`./dialog.cjs`),r=require(`./table.cjs`),i=require(`./label.cjs`),a=require(`./separator.cjs`),o=require(`./field.cjs`),s=require(`./input.cjs`),c=require(`./tooltip.cjs`),l=require(`./textarea.cjs`),u=require(`./input-group.cjs`),d=require(`./checkbox.cjs`),f=require(`./combobox.cjs`),p=require(`./tabs.cjs`),m=require(`./command.cjs`),h=require(`./popover.cjs`),g=require(`./breadcrumb.cjs`),_=require(`./card.cjs`),v=require(`./icon-button.cjs`),y=require(`./sheet.cjs`),b=require(`./skeleton.cjs`),x=require(`./sidebar.cjs`),S=require(`./sonner.cjs`);exports.Breadcrumb=g.Breadcrumb,exports.BreadcrumbEllipsis=g.BreadcrumbEllipsis,exports.BreadcrumbItem=g.BreadcrumbItem,exports.BreadcrumbLink=g.BreadcrumbLink,exports.BreadcrumbList=g.BreadcrumbList,exports.BreadcrumbPage=g.BreadcrumbPage,exports.BreadcrumbSeparator=g.BreadcrumbSeparator,exports.Button=e.Button,exports.Card=_.Card,exports.CardAction=_.CardAction,exports.CardContent=_.CardContent,exports.CardDescription=_.CardDescription,exports.CardFooter=_.CardFooter,exports.CardHeader=_.CardHeader,exports.CardTitle=_.CardTitle,exports.Checkbox=d.Checkbox,exports.Combobox=f.Combobox,exports.ComboboxChip=f.ComboboxChip,exports.ComboboxChips=f.ComboboxChips,exports.ComboboxChipsInput=f.ComboboxChipsInput,exports.ComboboxCollection=f.ComboboxCollection,exports.ComboboxContent=f.ComboboxContent,exports.ComboboxEmpty=f.ComboboxEmpty,exports.ComboboxGroup=f.ComboboxGroup,exports.ComboboxInput=f.ComboboxInput,exports.ComboboxItem=f.ComboboxItem,exports.ComboboxLabel=f.ComboboxLabel,exports.ComboboxList=f.ComboboxList,exports.ComboboxSeparator=f.ComboboxSeparator,exports.ComboboxTrigger=f.ComboboxTrigger,exports.ComboboxValue=f.ComboboxValue,exports.Command=m.Command,exports.CommandDialog=m.CommandDialog,exports.CommandEmpty=m.CommandEmpty,exports.CommandGroup=m.CommandGroup,exports.CommandInput=m.CommandInput,exports.CommandItem=m.CommandItem,exports.CommandList=m.CommandList,exports.CommandSeparator=m.CommandSeparator,exports.CommandShortcut=m.CommandShortcut,exports.Dialog=n.Dialog,exports.DialogClose=n.DialogClose,exports.DialogContent=n.DialogContent,exports.DialogDescription=n.DialogDescription,exports.DialogFooter=n.DialogFooter,exports.DialogHeader=n.DialogHeader,exports.DialogOverlay=n.DialogOverlay,exports.DialogPortal=n.DialogPortal,exports.DialogTitle=n.DialogTitle,exports.DialogTrigger=n.DialogTrigger,exports.Field=o.Field,exports.FieldContent=o.FieldContent,exports.FieldDescription=o.FieldDescription,exports.FieldError=o.FieldError,exports.FieldGroup=o.FieldGroup,exports.FieldLabel=o.FieldLabel,exports.FieldLegend=o.FieldLegend,exports.FieldSeparator=o.FieldSeparator,exports.FieldSet=o.FieldSet,exports.FieldTitle=o.FieldTitle,exports.IconButton=v.IconButton,exports.Input=s.Input,exports.InputGroup=u.InputGroup,exports.InputGroupAddon=u.InputGroupAddon,exports.InputGroupButton=u.InputGroupButton,exports.InputGroupInput=u.InputGroupInput,exports.InputGroupText=u.InputGroupText,exports.InputGroupTextarea=u.InputGroupTextarea,exports.Label=i.Label,exports.Popover=h.Popover,exports.PopoverAnchor=h.PopoverAnchor,exports.PopoverContent=h.PopoverContent,exports.PopoverTrigger=h.PopoverTrigger,exports.Select=t.Select,exports.SelectContent=t.SelectContent,exports.SelectGroup=t.SelectGroup,exports.SelectItem=t.SelectItem,exports.SelectLabel=t.SelectLabel,exports.SelectScrollDownButton=t.SelectScrollDownButton,exports.SelectScrollUpButton=t.SelectScrollUpButton,exports.SelectSeparator=t.SelectSeparator,exports.SelectTrigger=t.SelectTrigger,exports.SelectValue=t.SelectValue,exports.Separator=a.Separator,exports.Sheet=y.Sheet,exports.SheetClose=y.SheetClose,exports.SheetContent=y.SheetContent,exports.SheetDescription=y.SheetDescription,exports.SheetFooter=y.SheetFooter,exports.SheetHeader=y.SheetHeader,exports.SheetTitle=y.SheetTitle,exports.SheetTrigger=y.SheetTrigger,exports.Sidebar=x.Sidebar,exports.SidebarContent=x.SidebarContent,exports.SidebarFooter=x.SidebarFooter,exports.SidebarGroup=x.SidebarGroup,exports.SidebarGroupAction=x.SidebarGroupAction,exports.SidebarGroupContent=x.SidebarGroupContent,exports.SidebarGroupLabel=x.SidebarGroupLabel,exports.SidebarHeader=x.SidebarHeader,exports.SidebarInput=x.SidebarInput,exports.SidebarInset=x.SidebarInset,exports.SidebarMenu=x.SidebarMenu,exports.SidebarMenuAction=x.SidebarMenuAction,exports.SidebarMenuBadge=x.SidebarMenuBadge,exports.SidebarMenuButton=x.SidebarMenuButton,exports.SidebarMenuItem=x.SidebarMenuItem,exports.SidebarMenuSkeleton=x.SidebarMenuSkeleton,exports.SidebarMenuSub=x.SidebarMenuSub,exports.SidebarMenuSubButton=x.SidebarMenuSubButton,exports.SidebarMenuSubItem=x.SidebarMenuSubItem,exports.SidebarProvider=x.SidebarProvider,exports.SidebarRail=x.SidebarRail,exports.SidebarSeparator=x.SidebarSeparator,exports.SidebarTrigger=x.SidebarTrigger,exports.Skeleton=b.Skeleton,exports.Table=r.Table,exports.TableBody=r.TableBody,exports.TableCaption=r.TableCaption,exports.TableCell=r.TableCell,exports.TableFooter=r.TableFooter,exports.TableHead=r.TableHead,exports.TableHeader=r.TableHeader,exports.TableRow=r.TableRow,exports.Tabs=p.Tabs,exports.TabsContent=p.TabsContent,exports.TabsList=p.TabsList,exports.TabsTrigger=p.TabsTrigger,exports.Textarea=l.Textarea,exports.Toaster=S.Toaster,exports.Tooltip=c.Tooltip,exports.TooltipContent=c.TooltipContent,exports.TooltipProvider=c.TooltipProvider,exports.TooltipTrigger=c.TooltipTrigger,exports.buttonVariants=e.buttonVariants,exports.tabsListVariants=p.tabsListVariants,exports.useComboboxAnchor=f.useComboboxAnchor,exports.useSidebar=x.useSidebar;
@@ -0,0 +1,23 @@
1
+ export * from './button';
2
+ export * from './card';
3
+ export * from './input';
4
+ export * from './label';
5
+ export * from './textarea';
6
+ export * from './checkbox';
7
+ export * from './select';
8
+ export * from './combobox';
9
+ export * from './command';
10
+ export * from './dialog';
11
+ export * from './sheet';
12
+ export * from './tabs';
13
+ export * from './table';
14
+ export * from './sidebar';
15
+ export * from './breadcrumb';
16
+ export * from './separator';
17
+ export * from './skeleton';
18
+ export * from './sonner';
19
+ export * from './tooltip';
20
+ export * from './field';
21
+ export * from './input-group';
22
+ export * from './icon-button';
23
+ export * from './popover';
@@ -0,0 +1,24 @@
1
+ import { Button as e, buttonVariants as t } from "./button.esm";
2
+ import { Select as n, SelectContent as r, SelectGroup as i, SelectItem as a, SelectLabel as o, SelectScrollDownButton as s, SelectScrollUpButton as c, SelectSeparator as l, SelectTrigger as u, SelectValue as d } from "./select.esm";
3
+ import { Dialog as f, DialogClose as p, DialogContent as m, DialogDescription as h, DialogFooter as g, DialogHeader as _, DialogOverlay as v, DialogPortal as y, DialogTitle as b, DialogTrigger as x } from "./dialog.esm";
4
+ import { Table as S, TableBody as C, TableCaption as w, TableCell as T, TableFooter as E, TableHead as D, TableHeader as O, TableRow as k } from "./table.esm";
5
+ import { Label as A } from "./label.esm";
6
+ import { Separator as j } from "./separator.esm";
7
+ import { Field as M, FieldContent as N, FieldDescription as P, FieldError as F, FieldGroup as I, FieldLabel as L, FieldLegend as R, FieldSeparator as z, FieldSet as B, FieldTitle as V } from "./field.esm";
8
+ import { Input as H } from "./input.esm";
9
+ import { Tooltip as U, TooltipContent as W, TooltipProvider as G, TooltipTrigger as K } from "./tooltip.esm";
10
+ import { Textarea as q } from "./textarea.esm";
11
+ import { InputGroup as J, InputGroupAddon as Y, InputGroupButton as X, InputGroupInput as Z, InputGroupText as Q, InputGroupTextarea as $ } from "./input-group.esm";
12
+ import { Checkbox as ee } from "./checkbox.esm";
13
+ import { Combobox as te, ComboboxChip as ne, ComboboxChips as re, ComboboxChipsInput as ie, ComboboxCollection as ae, ComboboxContent as oe, ComboboxEmpty as se, ComboboxGroup as ce, ComboboxInput as le, ComboboxItem as ue, ComboboxLabel as de, ComboboxList as fe, ComboboxSeparator as pe, ComboboxTrigger as me, ComboboxValue as he, useComboboxAnchor as ge } from "./combobox.esm";
14
+ import { Tabs as _e, TabsContent as ve, TabsList as ye, TabsTrigger as be, tabsListVariants as xe } from "./tabs.esm";
15
+ import { Command as Se, CommandDialog as Ce, CommandEmpty as we, CommandGroup as Te, CommandInput as Ee, CommandItem as De, CommandList as Oe, CommandSeparator as ke, CommandShortcut as Ae } from "./command.esm";
16
+ import { Popover as je, PopoverAnchor as Me, PopoverContent as Ne, PopoverTrigger as Pe } from "./popover.esm";
17
+ import { Breadcrumb as Fe, BreadcrumbEllipsis as Ie, BreadcrumbItem as Le, BreadcrumbLink as Re, BreadcrumbList as ze, BreadcrumbPage as Be, BreadcrumbSeparator as Ve } from "./breadcrumb.esm";
18
+ import { Card as He, CardAction as Ue, CardContent as We, CardDescription as Ge, CardFooter as Ke, CardHeader as qe, CardTitle as Je } from "./card.esm";
19
+ import { IconButton as Ye } from "./icon-button.esm";
20
+ import { Sheet as Xe, SheetClose as Ze, SheetContent as Qe, SheetDescription as $e, SheetFooter as et, SheetHeader as tt, SheetTitle as nt, SheetTrigger as rt } from "./sheet.esm";
21
+ import { Skeleton as it } from "./skeleton.esm";
22
+ import { Sidebar as at, SidebarContent as ot, SidebarFooter as st, SidebarGroup as ct, SidebarGroupAction as lt, SidebarGroupContent as ut, SidebarGroupLabel as dt, SidebarHeader as ft, SidebarInput as pt, SidebarInset as mt, SidebarMenu as ht, SidebarMenuAction as gt, SidebarMenuBadge as _t, SidebarMenuButton as vt, SidebarMenuItem as yt, SidebarMenuSkeleton as bt, SidebarMenuSub as xt, SidebarMenuSubButton as St, SidebarMenuSubItem as Ct, SidebarProvider as wt, SidebarRail as Tt, SidebarSeparator as Et, SidebarTrigger as Dt, useSidebar as Ot } from "./sidebar.esm";
23
+ import { Toaster as kt } from "./sonner.esm";
24
+ export { Fe as Breadcrumb, Ie as BreadcrumbEllipsis, Le as BreadcrumbItem, Re as BreadcrumbLink, ze as BreadcrumbList, Be as BreadcrumbPage, Ve as BreadcrumbSeparator, e as Button, He as Card, Ue as CardAction, We as CardContent, Ge as CardDescription, Ke as CardFooter, qe as CardHeader, Je as CardTitle, ee as Checkbox, te as Combobox, ne as ComboboxChip, re as ComboboxChips, ie as ComboboxChipsInput, ae as ComboboxCollection, oe as ComboboxContent, se as ComboboxEmpty, ce as ComboboxGroup, le as ComboboxInput, ue as ComboboxItem, de as ComboboxLabel, fe as ComboboxList, pe as ComboboxSeparator, me as ComboboxTrigger, he as ComboboxValue, Se as Command, Ce as CommandDialog, we as CommandEmpty, Te as CommandGroup, Ee as CommandInput, De as CommandItem, Oe as CommandList, ke as CommandSeparator, Ae as CommandShortcut, f as Dialog, p as DialogClose, m as DialogContent, h as DialogDescription, g as DialogFooter, _ as DialogHeader, v as DialogOverlay, y as DialogPortal, b as DialogTitle, x as DialogTrigger, M as Field, N as FieldContent, P as FieldDescription, F as FieldError, I as FieldGroup, L as FieldLabel, R as FieldLegend, z as FieldSeparator, B as FieldSet, V as FieldTitle, Ye as IconButton, H as Input, J as InputGroup, Y as InputGroupAddon, X as InputGroupButton, Z as InputGroupInput, Q as InputGroupText, $ as InputGroupTextarea, A as Label, je as Popover, Me as PopoverAnchor, Ne as PopoverContent, Pe as PopoverTrigger, n as Select, r as SelectContent, i as SelectGroup, a as SelectItem, o as SelectLabel, s as SelectScrollDownButton, c as SelectScrollUpButton, l as SelectSeparator, u as SelectTrigger, d as SelectValue, j as Separator, Xe as Sheet, Ze as SheetClose, Qe as SheetContent, $e as SheetDescription, et as SheetFooter, tt as SheetHeader, nt as SheetTitle, rt as SheetTrigger, at as Sidebar, ot as SidebarContent, st as SidebarFooter, ct as SidebarGroup, lt as SidebarGroupAction, ut as SidebarGroupContent, dt as SidebarGroupLabel, ft as SidebarHeader, pt as SidebarInput, mt as SidebarInset, ht as SidebarMenu, gt as SidebarMenuAction, _t as SidebarMenuBadge, vt as SidebarMenuButton, yt as SidebarMenuItem, bt as SidebarMenuSkeleton, xt as SidebarMenuSub, St as SidebarMenuSubButton, Ct as SidebarMenuSubItem, wt as SidebarProvider, Tt as SidebarRail, Et as SidebarSeparator, Dt as SidebarTrigger, it as Skeleton, S as Table, C as TableBody, w as TableCaption, T as TableCell, E as TableFooter, D as TableHead, O as TableHeader, k as TableRow, _e as Tabs, ve as TabsContent, ye as TabsList, be as TabsTrigger, q as Textarea, kt as Toaster, U as Tooltip, W as TooltipContent, G as TooltipProvider, K as TooltipTrigger, t as buttonVariants, xe as tabsListVariants, ge as useComboboxAnchor, Ot as useSidebar };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../lib/utils.cjs`),n=require(`./button.cjs`),r=require(`./input.cjs`),i=require(`./textarea.cjs`);let a=require(`react/jsx-runtime`),o=require(`react`);o=e.__toESM(o);let s=require(`class-variance-authority`);function c({className:e,...n}){return(0,a.jsx)(`div`,{"data-slot":`input-group`,role:`group`,className:t.cn(`group/input-group relative flex h-9 w-full min-w-0 items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5`,e),...n})}var l=(0,s.cva)(`flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4`,{variants:{align:{"inline-start":`order-first pl-2 has-[>button]:-ml-1 has-[>kbd]:ml-[-0.15rem]`,"inline-end":`order-last pr-2 has-[>button]:-mr-1 has-[>kbd]:mr-[-0.15rem]`,"block-start":`order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2`,"block-end":`order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2`}},defaultVariants:{align:`inline-start`}});function u({className:e,align:n=`inline-start`,...r}){return(0,a.jsx)(`div`,{role:`group`,"data-slot":`input-group-addon`,"data-align":n,className:t.cn(l({align:n}),e),onClick:e=>{e.target.closest(`button`)||e.currentTarget.parentElement?.querySelector(`input`)?.focus()},...r})}var d=(0,s.cva)(`flex items-center gap-2 text-sm shadow-none`,{variants:{size:{xs:`h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5`,sm:``,"icon-xs":`size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0`,"icon-sm":`size-8 p-0 has-[>svg]:p-0`}},defaultVariants:{size:`xs`}});function f({className:e,type:r=`button`,variant:i=`ghost`,size:o=`xs`,...s}){return(0,a.jsx)(n.Button,{type:r,"data-size":o,variant:i,className:t.cn(d({size:o}),e),...s})}function p({className:e,...n}){return(0,a.jsx)(`span`,{className:t.cn(`flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4`,e),...n})}function m({className:e,...n}){return(0,a.jsx)(r.Input,{"data-slot":`input-group-control`,className:t.cn(`flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent`,e),...n})}function h({className:e,...n}){return(0,a.jsx)(i.Textarea,{"data-slot":`input-group-control`,className:t.cn(`flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent`,e),...n})}exports.InputGroup=c,exports.InputGroupAddon=u,exports.InputGroupButton=f,exports.InputGroupInput=m,exports.InputGroupText=p,exports.InputGroupTextarea=h;
@@ -0,0 +1,16 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Button } from './button';
3
+ import * as React from "react";
4
+ declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ declare const inputGroupAddonVariants: (props?: ({
6
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
9
+ declare const inputGroupButtonVariants: (props?: ({
10
+ size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
11
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
12
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
13
+ declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
14
+ declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
15
+ declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
16
+ export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
@@ -0,0 +1,77 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { Button as t } from "./button.esm";
3
+ import { Input as n } from "./input.esm";
4
+ import { Textarea as r } from "./textarea.esm";
5
+ import { jsx as i } from "react/jsx-runtime";
6
+ import "react";
7
+ import { cva as a } from "class-variance-authority";
8
+ //#region src/shared/ui/input-group.tsx
9
+ function o({ className: t, ...n }) {
10
+ return /* @__PURE__ */ i("div", {
11
+ "data-slot": "input-group",
12
+ role: "group",
13
+ className: e("group/input-group relative flex h-9 w-full min-w-0 items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5", t),
14
+ ...n
15
+ });
16
+ }
17
+ var s = a("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4", {
18
+ variants: { align: {
19
+ "inline-start": "order-first pl-2 has-[>button]:-ml-1 has-[>kbd]:ml-[-0.15rem]",
20
+ "inline-end": "order-last pr-2 has-[>button]:-mr-1 has-[>kbd]:mr-[-0.15rem]",
21
+ "block-start": "order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2",
22
+ "block-end": "order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2"
23
+ } },
24
+ defaultVariants: { align: "inline-start" }
25
+ });
26
+ function c({ className: t, align: n = "inline-start", ...r }) {
27
+ return /* @__PURE__ */ i("div", {
28
+ role: "group",
29
+ "data-slot": "input-group-addon",
30
+ "data-align": n,
31
+ className: e(s({ align: n }), t),
32
+ onClick: (e) => {
33
+ e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
34
+ },
35
+ ...r
36
+ });
37
+ }
38
+ var l = a("flex items-center gap-2 text-sm shadow-none", {
39
+ variants: { size: {
40
+ xs: "h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
41
+ sm: "",
42
+ "icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
43
+ "icon-sm": "size-8 p-0 has-[>svg]:p-0"
44
+ } },
45
+ defaultVariants: { size: "xs" }
46
+ });
47
+ function u({ className: n, type: r = "button", variant: a = "ghost", size: o = "xs", ...s }) {
48
+ return /* @__PURE__ */ i(t, {
49
+ type: r,
50
+ "data-size": o,
51
+ variant: a,
52
+ className: e(l({ size: o }), n),
53
+ ...s
54
+ });
55
+ }
56
+ function d({ className: t, ...n }) {
57
+ return /* @__PURE__ */ i("span", {
58
+ className: e("flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", t),
59
+ ...n
60
+ });
61
+ }
62
+ function f({ className: t, ...r }) {
63
+ return /* @__PURE__ */ i(n, {
64
+ "data-slot": "input-group-control",
65
+ className: e("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent", t),
66
+ ...r
67
+ });
68
+ }
69
+ function p({ className: t, ...n }) {
70
+ return /* @__PURE__ */ i(r, {
71
+ "data-slot": "input-group-control",
72
+ className: e("flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent", t),
73
+ ...n
74
+ });
75
+ }
76
+ //#endregion
77
+ export { o as InputGroup, c as InputGroupAddon, u as InputGroupButton, f as InputGroupInput, d as InputGroupText, p as InputGroupTextarea };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../lib/utils.cjs`);let n=require(`react/jsx-runtime`),r=require(`react`);r=e.__toESM(r);function i({className:e,type:r,...i}){return(0,n.jsx)(`input`,{type:r,"data-slot":`input`,className:t.cn(`h-9 w-full min-w-0 rounded-(--t-radius-md) border border-input bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,e),...i})}exports.Input=i;
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare function Input({ className, type, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
3
+ export { Input };
@@ -0,0 +1,14 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import "react";
4
+ //#region src/shared/ui/input.tsx
5
+ function n({ className: n, type: r, ...i }) {
6
+ return /* @__PURE__ */ t("input", {
7
+ type: r,
8
+ "data-slot": "input",
9
+ className: e("h-9 w-full min-w-0 rounded-(--t-radius-md) border border-input bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", n),
10
+ ...i
11
+ });
12
+ }
13
+ //#endregion
14
+ export { n as Input };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../lib/utils.cjs`);let n=require(`react/jsx-runtime`),r=require(`react`);r=e.__toESM(r);let i=require(`radix-ui`);function a({className:e,...r}){return(0,n.jsx)(i.Label.Root,{"data-slot":`label`,className:t.cn(`flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,e),...r})}exports.Label=a;