@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,70 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ import "react";
4
+ import { Slot as r } from "radix-ui";
5
+ import { ChevronRightIcon as i, MoreHorizontalIcon as a } from "lucide-react";
6
+ //#region src/shared/ui/breadcrumb.tsx
7
+ function o({ className: n, ...r }) {
8
+ return /* @__PURE__ */ t("nav", {
9
+ "aria-label": "breadcrumb",
10
+ "data-slot": "breadcrumb",
11
+ className: e(n),
12
+ ...r
13
+ });
14
+ }
15
+ function s({ className: n, ...r }) {
16
+ return /* @__PURE__ */ t("ol", {
17
+ "data-slot": "breadcrumb-list",
18
+ className: e("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground sm:gap-2.5", n),
19
+ ...r
20
+ });
21
+ }
22
+ function c({ className: n, ...r }) {
23
+ return /* @__PURE__ */ t("li", {
24
+ "data-slot": "breadcrumb-item",
25
+ className: e("inline-flex items-center gap-1.5", n),
26
+ ...r
27
+ });
28
+ }
29
+ function l({ asChild: n, className: i, ...a }) {
30
+ return /* @__PURE__ */ t(n ? r.Root : "a", {
31
+ "data-slot": "breadcrumb-link",
32
+ className: e("transition-colors hover:text-foreground", i),
33
+ ...a
34
+ });
35
+ }
36
+ function u({ className: n, ...r }) {
37
+ return /* @__PURE__ */ t("span", {
38
+ "data-slot": "breadcrumb-page",
39
+ role: "link",
40
+ "aria-disabled": "true",
41
+ "aria-current": "page",
42
+ className: e("font-normal text-foreground", n),
43
+ ...r
44
+ });
45
+ }
46
+ function d({ children: n, className: r, ...a }) {
47
+ return /* @__PURE__ */ t("li", {
48
+ "data-slot": "breadcrumb-separator",
49
+ role: "presentation",
50
+ "aria-hidden": "true",
51
+ className: e("[&>svg]:size-3.5", r),
52
+ ...a,
53
+ children: n ?? /* @__PURE__ */ t(i, {})
54
+ });
55
+ }
56
+ function f({ className: r, ...i }) {
57
+ return /* @__PURE__ */ n("span", {
58
+ "data-slot": "breadcrumb-ellipsis",
59
+ role: "presentation",
60
+ "aria-hidden": "true",
61
+ className: e("flex size-5 items-center justify-center [&>svg]:size-4", r),
62
+ ...i,
63
+ children: [/* @__PURE__ */ t(a, {}), /* @__PURE__ */ t("span", {
64
+ className: "sr-only",
65
+ children: "More"
66
+ })]
67
+ });
68
+ }
69
+ //#endregion
70
+ export { o as Breadcrumb, f as BreadcrumbEllipsis, c as BreadcrumbItem, l as BreadcrumbLink, s as BreadcrumbList, u as BreadcrumbPage, d as BreadcrumbSeparator };
@@ -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(`class-variance-authority`),a=require(`radix-ui`);var o=(0,i.cva)(`group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/80`,outline:`border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground`,ghost:`hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50`,destructive:`bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 gap-1.5 px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,xs:`h-6 gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3`,sm:`h-8 gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5`,lg:`h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,icon:`size-9`,"icon-xs":`size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3`,"icon-sm":`size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md`,"icon-lg":`size-10`}},defaultVariants:{variant:`default`,size:`default`}});function s({className:e,variant:r=`default`,size:i=`default`,asChild:s=!1,...c}){return(0,n.jsx)(s?a.Slot.Root:`button`,{"data-slot":`button`,"data-variant":r,"data-size":i,className:t.cn(o({variant:r,size:i,className:e})),...c})}exports.Button=s,exports.buttonVariants=o;
@@ -0,0 +1,11 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
5
+ size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
8
+ asChild?: boolean;
9
+ }
10
+ declare function Button({ className, variant, size, asChild, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
11
+ export { Button, buttonVariants };
@@ -0,0 +1,47 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import "react";
4
+ import { cva as n } from "class-variance-authority";
5
+ import { Slot as r } from "radix-ui";
6
+ //#region src/shared/ui/button.tsx
7
+ var i = n("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
8
+ variants: {
9
+ variant: {
10
+ default: "bg-primary text-primary-foreground hover:bg-primary/80",
11
+ outline: "border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
12
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
13
+ ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
14
+ destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
15
+ link: "text-primary underline-offset-4 hover:underline"
16
+ },
17
+ size: {
18
+ default: "h-9 gap-1.5 px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
19
+ xs: "h-6 gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
20
+ sm: "h-8 gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",
21
+ lg: "h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
22
+ icon: "size-9",
23
+ "icon-xs": "size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3",
24
+ "icon-sm": "size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md",
25
+ "icon-lg": "size-10"
26
+ }
27
+ },
28
+ defaultVariants: {
29
+ variant: "default",
30
+ size: "default"
31
+ }
32
+ });
33
+ function a({ className: n, variant: a = "default", size: o = "default", asChild: s = !1, ...c }) {
34
+ return /* @__PURE__ */ t(s ? r.Root : "button", {
35
+ "data-slot": "button",
36
+ "data-variant": a,
37
+ "data-size": o,
38
+ className: e(i({
39
+ variant: a,
40
+ size: o,
41
+ className: n
42
+ })),
43
+ ...c
44
+ });
45
+ }
46
+ //#endregion
47
+ export { a as Button, i as buttonVariants };
@@ -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(`lucide-react`),o=require(`react-day-picker`);function s({className:e,classNames:i,showOutsideDays:s=!0,captionLayout:l=`label`,buttonVariant:u=`ghost`,locale:d,formatters:f,components:p,...m}){let h=(0,o.getDefaultClassNames)();return(0,r.jsx)(o.DayPicker,{showOutsideDays:s,className:t.cn(`group/calendar bg-background p-3 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(8)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent`,String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:l,locale:d,formatters:{formatMonthDropdown:e=>e.toLocaleString(d?.code,{month:`short`}),...f},classNames:{root:t.cn(`w-fit`,h.root),months:t.cn(`relative flex flex-col gap-4 md:flex-row`,h.months),month:t.cn(`flex w-full flex-col gap-4`,h.month),nav:t.cn(`absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1`,h.nav),button_previous:t.cn(n.buttonVariants({variant:u}),`size-(--cell-size) p-0 select-none aria-disabled:opacity-50`,h.button_previous),button_next:t.cn(n.buttonVariants({variant:u}),`size-(--cell-size) p-0 select-none aria-disabled:opacity-50`,h.button_next),month_caption:t.cn(`flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)`,h.month_caption),dropdowns:t.cn(`flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium`,h.dropdowns),dropdown_root:t.cn(`relative rounded-(--cell-radius)`,h.dropdown_root),dropdown:t.cn(`absolute inset-0 bg-popover opacity-0`,h.dropdown),caption_label:t.cn(`font-medium select-none`,l===`label`?`text-sm`:`flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground`,h.caption_label),table:`w-full border-collapse`,weekdays:t.cn(`flex`,h.weekdays),weekday:t.cn(`flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal text-muted-foreground select-none`,h.weekday),week:t.cn(`mt-2 flex w-full`,h.week),week_number_header:t.cn(`w-(--cell-size) select-none`,h.week_number_header),week_number:t.cn(`text-[0.8rem] text-muted-foreground select-none`,h.week_number),day:t.cn(`group/day relative aspect-square h-full w-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius)`,m.showWeekNumber?`[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)`:`[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)`,h.day),range_start:t.cn(`relative isolate z-0 rounded-l-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:right-0 after:w-4 after:bg-muted`,h.range_start),range_middle:t.cn(`rounded-none`,h.range_middle),range_end:t.cn(`relative isolate z-0 rounded-r-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:left-0 after:w-4 after:bg-muted`,h.range_end),today:t.cn(`rounded-(--cell-radius) bg-muted text-foreground data-[selected=true]:rounded-none`,h.today),outside:t.cn(`text-muted-foreground aria-selected:text-muted-foreground`,h.outside),disabled:t.cn(`text-muted-foreground opacity-50`,h.disabled),hidden:t.cn(`invisible`,h.hidden),...i},components:{Root:({className:e,rootRef:n,...i})=>(0,r.jsx)(`div`,{"data-slot":`calendar`,ref:n,className:t.cn(e),...i}),Chevron:({className:e,orientation:n,...i})=>n===`left`?(0,r.jsx)(a.ChevronLeftIcon,{className:t.cn(`size-4`,e),...i}):n===`right`?(0,r.jsx)(a.ChevronRightIcon,{className:t.cn(`size-4`,e),...i}):(0,r.jsx)(a.ChevronDownIcon,{className:t.cn(`size-4`,e),...i}),DayButton:({...e})=>(0,r.jsx)(c,{locale:d,...e}),WeekNumber:({children:e,...t})=>(0,r.jsx)(`td`,{...t,children:(0,r.jsx)(`div`,{className:`flex size-(--cell-size) items-center justify-center text-center`,children:e})}),...p},...m})}function c({className:e,day:a,modifiers:s,locale:c,...l}){let u=(0,o.getDefaultClassNames)(),d=i.useRef(null);return i.useEffect(()=>{s.focused&&d.current?.focus()},[s.focused]),(0,r.jsx)(n.Button,{ref:d,variant:`ghost`,size:`icon`,"data-day":a.date.toLocaleDateString(c?.code),"data-selected-single":s.selected&&!s.range_start&&!s.range_end&&!s.range_middle,"data-range-start":s.range_start,"data-range-end":s.range_end,"data-range-middle":s.range_middle,className:t.cn(`relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-xs [&>span]:opacity-70`,u.day,e),...l})}exports.Calendar=s,exports.CalendarDayButton=c;
@@ -0,0 +1,10 @@
1
+ import { DayPicker, DayButton, Locale } from 'react-day-picker';
2
+ import { Button } from './button';
3
+ import * as React from "react";
4
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
+ buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: React.ComponentProps<typeof DayButton> & {
8
+ locale?: Partial<Locale>;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export { Calendar, CalendarDayButton };
@@ -0,0 +1,92 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { Button as t, buttonVariants as n } from "./button.esm";
3
+ import { jsx as r } from "react/jsx-runtime";
4
+ import * as i from "react";
5
+ import { ChevronDownIcon as a, ChevronLeftIcon as o, ChevronRightIcon as s } from "lucide-react";
6
+ import { DayPicker as c, getDefaultClassNames as l } from "react-day-picker";
7
+ //#region src/shared/ui/calendar.tsx
8
+ function u({ className: t, classNames: i, showOutsideDays: u = !0, captionLayout: f = "label", buttonVariant: p = "ghost", locale: m, formatters: h, components: g, ..._ }) {
9
+ let v = l();
10
+ return /* @__PURE__ */ r(c, {
11
+ showOutsideDays: u,
12
+ className: e("group/calendar bg-background p-3 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(8)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, t),
13
+ captionLayout: f,
14
+ locale: m,
15
+ formatters: {
16
+ formatMonthDropdown: (e) => e.toLocaleString(m?.code, { month: "short" }),
17
+ ...h
18
+ },
19
+ classNames: {
20
+ root: e("w-fit", v.root),
21
+ months: e("relative flex flex-col gap-4 md:flex-row", v.months),
22
+ month: e("flex w-full flex-col gap-4", v.month),
23
+ nav: e("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1", v.nav),
24
+ button_previous: e(n({ variant: p }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", v.button_previous),
25
+ button_next: e(n({ variant: p }), "size-(--cell-size) p-0 select-none aria-disabled:opacity-50", v.button_next),
26
+ month_caption: e("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)", v.month_caption),
27
+ dropdowns: e("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium", v.dropdowns),
28
+ dropdown_root: e("relative rounded-(--cell-radius)", v.dropdown_root),
29
+ dropdown: e("absolute inset-0 bg-popover opacity-0", v.dropdown),
30
+ caption_label: e("font-medium select-none", f === "label" ? "text-sm" : "flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground", v.caption_label),
31
+ table: "w-full border-collapse",
32
+ weekdays: e("flex", v.weekdays),
33
+ weekday: e("flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal text-muted-foreground select-none", v.weekday),
34
+ week: e("mt-2 flex w-full", v.week),
35
+ week_number_header: e("w-(--cell-size) select-none", v.week_number_header),
36
+ week_number: e("text-[0.8rem] text-muted-foreground select-none", v.week_number),
37
+ day: e("group/day relative aspect-square h-full w-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius)", _.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)", v.day),
38
+ range_start: e("relative isolate z-0 rounded-l-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:right-0 after:w-4 after:bg-muted", v.range_start),
39
+ range_middle: e("rounded-none", v.range_middle),
40
+ range_end: e("relative isolate z-0 rounded-r-(--cell-radius) bg-muted after:absolute after:inset-y-0 after:left-0 after:w-4 after:bg-muted", v.range_end),
41
+ today: e("rounded-(--cell-radius) bg-muted text-foreground data-[selected=true]:rounded-none", v.today),
42
+ outside: e("text-muted-foreground aria-selected:text-muted-foreground", v.outside),
43
+ disabled: e("text-muted-foreground opacity-50", v.disabled),
44
+ hidden: e("invisible", v.hidden),
45
+ ...i
46
+ },
47
+ components: {
48
+ Root: ({ className: t, rootRef: n, ...i }) => /* @__PURE__ */ r("div", {
49
+ "data-slot": "calendar",
50
+ ref: n,
51
+ className: e(t),
52
+ ...i
53
+ }),
54
+ Chevron: ({ className: t, orientation: n, ...i }) => r(n === "left" ? o : n === "right" ? s : a, {
55
+ className: e("size-4", t),
56
+ ...i
57
+ }),
58
+ DayButton: ({ ...e }) => /* @__PURE__ */ r(d, {
59
+ locale: m,
60
+ ...e
61
+ }),
62
+ WeekNumber: ({ children: e, ...t }) => /* @__PURE__ */ r("td", {
63
+ ...t,
64
+ children: /* @__PURE__ */ r("div", {
65
+ className: "flex size-(--cell-size) items-center justify-center text-center",
66
+ children: e
67
+ })
68
+ }),
69
+ ...g
70
+ },
71
+ ..._
72
+ });
73
+ }
74
+ function d({ className: n, day: a, modifiers: o, locale: s, ...c }) {
75
+ let u = l(), d = i.useRef(null);
76
+ return i.useEffect(() => {
77
+ o.focused && d.current?.focus();
78
+ }, [o.focused]), /* @__PURE__ */ r(t, {
79
+ ref: d,
80
+ variant: "ghost",
81
+ size: "icon",
82
+ "data-day": a.date.toLocaleDateString(s?.code),
83
+ "data-selected-single": o.selected && !o.range_start && !o.range_end && !o.range_middle,
84
+ "data-range-start": o.range_start,
85
+ "data-range-end": o.range_end,
86
+ "data-range-middle": o.range_middle,
87
+ className: e("relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-xs [&>span]:opacity-70", u.day, n),
88
+ ...c
89
+ });
90
+ }
91
+ //#endregion
92
+ export { u as Calendar, d as CalendarDayButton };
@@ -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,size:r=`default`,...i}){return(0,n.jsx)(`div`,{"data-slot":`card`,"data-size":r,className:t.cn(`t-card-premium group/card flex flex-col gap-6 py-6 text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-(--t-radius-lg) *:[img:last-child]:rounded-b-(--t-radius-lg)`,e),...i})}function a({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-header`,className:t.cn(`group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-(--t-radius-lg) px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4`,e),...r})}function o({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-title`,className:t.cn(`font-heading text-base leading-normal font-medium group-data-[size=sm]/card:text-sm`,e),...r})}function s({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-description`,className:t.cn(`text-sm text-muted-foreground`,e),...r})}function c({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-action`,className:t.cn(`col-start-2 row-span-2 row-start-1 self-start justify-self-end`,e),...r})}function l({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-content`,className:t.cn(`px-6 group-data-[size=sm]/card:px-4`,e),...r})}function u({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`card-footer`,className:t.cn(`flex items-center rounded-b-(--t-radius-lg) px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4`,e),...r})}exports.Card=i,exports.CardAction=c,exports.CardContent=l,exports.CardDescription=s,exports.CardFooter=u,exports.CardHeader=a,exports.CardTitle=o;
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ declare function Card({ className, size, ...props }: React.ComponentProps<"div"> & {
3
+ size?: "default" | "sm";
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
@@ -0,0 +1,56 @@
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/card.tsx
5
+ function n({ className: n, size: r = "default", ...i }) {
6
+ return /* @__PURE__ */ t("div", {
7
+ "data-slot": "card",
8
+ "data-size": r,
9
+ className: e("t-card-premium group/card flex flex-col gap-6 py-6 text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-(--t-radius-lg) *:[img:last-child]:rounded-b-(--t-radius-lg)", n),
10
+ ...i
11
+ });
12
+ }
13
+ function r({ className: n, ...r }) {
14
+ return /* @__PURE__ */ t("div", {
15
+ "data-slot": "card-header",
16
+ className: e("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-(--t-radius-lg) px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4", n),
17
+ ...r
18
+ });
19
+ }
20
+ function i({ className: n, ...r }) {
21
+ return /* @__PURE__ */ t("div", {
22
+ "data-slot": "card-title",
23
+ className: e("font-heading text-base leading-normal font-medium group-data-[size=sm]/card:text-sm", n),
24
+ ...r
25
+ });
26
+ }
27
+ function a({ className: n, ...r }) {
28
+ return /* @__PURE__ */ t("div", {
29
+ "data-slot": "card-description",
30
+ className: e("text-sm text-muted-foreground", n),
31
+ ...r
32
+ });
33
+ }
34
+ function o({ className: n, ...r }) {
35
+ return /* @__PURE__ */ t("div", {
36
+ "data-slot": "card-action",
37
+ className: e("col-start-2 row-span-2 row-start-1 self-start justify-self-end", n),
38
+ ...r
39
+ });
40
+ }
41
+ function s({ className: n, ...r }) {
42
+ return /* @__PURE__ */ t("div", {
43
+ "data-slot": "card-content",
44
+ className: e("px-6 group-data-[size=sm]/card:px-4", n),
45
+ ...r
46
+ });
47
+ }
48
+ function c({ className: n, ...r }) {
49
+ return /* @__PURE__ */ t("div", {
50
+ "data-slot": "card-footer",
51
+ className: e("flex items-center rounded-b-(--t-radius-lg) px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4", n),
52
+ ...r
53
+ });
54
+ }
55
+ //#endregion
56
+ export { n as Card, o as CardAction, s as CardContent, a as CardDescription, c as CardFooter, r as CardHeader, i as CardTitle };
@@ -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`),a=require(`lucide-react`);function o({className:e,...r}){return(0,n.jsx)(i.Checkbox.Root,{"data-slot":`checkbox`,className:t.cn(`peer relative flex size-4 shrink-0 items-center justify-center rounded-(--t-radius-sm) border border-input shadow-xs transition-shadow outline-none group-has-disabled/field:opacity-50 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground`,e),...r,children:(0,n.jsx)(i.Checkbox.Indicator,{"data-slot":`checkbox-indicator`,className:`grid place-content-center text-current transition-none [&>svg]:size-3.5`,children:(0,n.jsx)(a.CheckIcon,{})})})}exports.Checkbox=o;
@@ -0,0 +1,4 @@
1
+ import { Checkbox as CheckboxPrimitive } from 'radix-ui';
2
+ import * as React from "react";
3
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Checkbox };
@@ -0,0 +1,20 @@
1
+ import { cn as e } from "../lib/utils.esm";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import "react";
4
+ import { Checkbox as n } from "radix-ui";
5
+ import { CheckIcon as r } from "lucide-react";
6
+ //#region src/shared/ui/checkbox.tsx
7
+ function i({ className: i, ...a }) {
8
+ return /* @__PURE__ */ t(n.Root, {
9
+ "data-slot": "checkbox",
10
+ className: e("peer relative flex size-4 shrink-0 items-center justify-center rounded-(--t-radius-sm) border border-input shadow-xs transition-shadow outline-none group-has-disabled/field:opacity-50 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground", i),
11
+ ...a,
12
+ children: /* @__PURE__ */ t(n.Indicator, {
13
+ "data-slot": "checkbox-indicator",
14
+ className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
15
+ children: /* @__PURE__ */ t(r, {})
16
+ })
17
+ });
18
+ }
19
+ //#endregion
20
+ export { i as Checkbox };
@@ -0,0 +1 @@
1
+ "use client";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-group.cjs`);let i=require(`react/jsx-runtime`),a=require(`react`);a=e.__toESM(a);let o=require(`lucide-react`),s=require(`@base-ui/react`);var c=s.Combobox.Root;function l({...e}){return(0,i.jsx)(s.Combobox.Value,{"data-slot":`combobox-value`,...e})}function u({className:e,children:n,...r}){return(0,i.jsxs)(s.Combobox.Trigger,{"data-slot":`combobox-trigger`,className:t.cn(`[&_svg:not([class*='size-'])]:size-4`,e),...r,children:[n,(0,i.jsx)(o.ChevronDownIcon,{className:`pointer-events-none size-4 text-muted-foreground`})]})}function d({className:e,...n}){return(0,i.jsx)(s.Combobox.Clear,{"data-slot":`combobox-clear`,render:(0,i.jsx)(r.InputGroupButton,{variant:`ghost`,size:`icon-xs`}),className:t.cn(e),...n,children:(0,i.jsx)(o.XIcon,{className:`pointer-events-none`})})}function f({className:e,children:n,disabled:a=!1,showTrigger:o=!0,showClear:c=!1,...l}){return(0,i.jsxs)(r.InputGroup,{className:t.cn(`w-auto`,e),children:[(0,i.jsx)(s.Combobox.Input,{render:(0,i.jsx)(r.InputGroupInput,{disabled:a}),...l}),(0,i.jsxs)(r.InputGroupAddon,{align:`inline-end`,children:[o&&(0,i.jsx)(r.InputGroupButton,{size:`icon-xs`,variant:`ghost`,asChild:!0,"data-slot":`input-group-button`,className:`group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent`,disabled:a,children:(0,i.jsx)(u,{})}),c&&(0,i.jsx)(d,{disabled:a})]}),n]})}function p({className:e,side:n=`bottom`,sideOffset:r=6,align:a=`start`,alignOffset:o=0,anchor:c,...l}){return(0,i.jsx)(s.Combobox.Portal,{children:(0,i.jsx)(s.Combobox.Positioner,{side:n,sideOffset:r,align:a,alignOffset:o,anchor:c,className:`isolate z-50`,children:(0,i.jsx)(s.Combobox.Popup,{"data-slot":`combobox-content`,"data-chips":!!c,className:t.cn(`group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none 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),...l})})})}function m({className:e,...n}){return(0,i.jsx)(s.Combobox.List,{"data-slot":`combobox-list`,className:t.cn(`no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0`,e),...n})}function h({className:e,children:n,...r}){return(0,i.jsxs)(s.Combobox.Item,{"data-slot":`combobox-item`,className:t.cn(`relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r,children:[n,(0,i.jsx)(s.Combobox.ItemIndicator,{render:(0,i.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex size-4 items-center justify-center`}),children:(0,i.jsx)(o.CheckIcon,{className:`pointer-events-none`})})]})}function g({className:e,...n}){return(0,i.jsx)(s.Combobox.Group,{"data-slot":`combobox-group`,className:t.cn(e),...n})}function _({className:e,...n}){return(0,i.jsx)(s.Combobox.GroupLabel,{"data-slot":`combobox-label`,className:t.cn(`px-2 py-1.5 text-xs text-muted-foreground`,e),...n})}function v({...e}){return(0,i.jsx)(s.Combobox.Collection,{"data-slot":`combobox-collection`,...e})}function y({className:e,...n}){return(0,i.jsx)(s.Combobox.Empty,{"data-slot":`combobox-empty`,className:t.cn(`hidden w-full justify-center py-2 text-center text-sm text-muted-foreground group-data-empty/combobox-content:flex`,e),...n})}function b({className:e,...n}){return(0,i.jsx)(s.Combobox.Separator,{"data-slot":`combobox-separator`,className:t.cn(`-mx-1 my-1 h-px bg-border`,e),...n})}function x({className:e,...n}){return(0,i.jsx)(s.Combobox.Chips,{"data-slot":`combobox-chips`,className:t.cn(`flex min-h-9 flex-wrap items-center gap-1.5 rounded-md border border-input bg-transparent bg-clip-padding px-2.5 py-1.5 text-sm shadow-xs transition-[color,box-shadow] focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1.5 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40`,e),...n})}function S({className:e,children:r,showRemove:a=!0,...c}){return(0,i.jsxs)(s.Combobox.Chip,{"data-slot":`combobox-chip`,className:t.cn(`flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0`,e),...c,children:[r,a&&(0,i.jsx)(s.Combobox.ChipRemove,{render:(0,i.jsx)(n.Button,{variant:`ghost`,size:`icon-xs`}),className:`-ml-1 opacity-50 hover:opacity-100`,"data-slot":`combobox-chip-remove`,children:(0,i.jsx)(o.XIcon,{className:`pointer-events-none`})})]})}function C({className:e,...n}){return(0,i.jsx)(s.Combobox.Input,{"data-slot":`combobox-chip-input`,className:t.cn(`min-w-16 flex-1 outline-none`,e),...n})}function w(){return a.useRef(null)}exports.Combobox=c,exports.ComboboxChip=S,exports.ComboboxChips=x,exports.ComboboxChipsInput=C,exports.ComboboxCollection=v,exports.ComboboxContent=p,exports.ComboboxEmpty=y,exports.ComboboxGroup=g,exports.ComboboxInput=f,exports.ComboboxItem=h,exports.ComboboxLabel=_,exports.ComboboxList=m,exports.ComboboxSeparator=b,exports.ComboboxTrigger=u,exports.ComboboxValue=l,exports.useComboboxAnchor=w;
@@ -0,0 +1,24 @@
1
+ import { Combobox as ComboboxPrimitive } from '@base-ui/react';
2
+ import * as React from "react";
3
+ declare const Combobox: typeof ComboboxPrimitive.Root;
4
+ declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
6
+ declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxPrimitive.Input.Props & {
7
+ showTrigger?: boolean;
8
+ showClear?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimitive.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): import("react/jsx-runtime").JSX.Element;
11
+ declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
12
+ declare function ComboboxItem({ className, children, ...props }: ComboboxPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
13
+ declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
14
+ declare function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
15
+ declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
16
+ declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
17
+ declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
18
+ declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props): import("react/jsx-runtime").JSX.Element;
19
+ declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxPrimitive.Chip.Props & {
20
+ showRemove?: boolean;
21
+ }): import("react/jsx-runtime").JSX.Element;
22
+ declare function ComboboxChipsInput({ className, ...props }: ComboboxPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
23
+ declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
24
+ export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor, };
@@ -0,0 +1,163 @@
1
+ "use client";
2
+ import { cn as e } from "../lib/utils.esm";
3
+ import { Button as t } from "./button.esm";
4
+ import { InputGroup as n, InputGroupAddon as r, InputGroupButton as i, InputGroupInput as a } from "./input-group.esm";
5
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
+ import * as c from "react";
7
+ import { CheckIcon as l, ChevronDownIcon as u, XIcon as d } from "lucide-react";
8
+ import { Combobox as f } from "@base-ui/react";
9
+ //#region src/shared/ui/combobox.tsx
10
+ var p = f.Root;
11
+ function m({ ...e }) {
12
+ return /* @__PURE__ */ o(f.Value, {
13
+ "data-slot": "combobox-value",
14
+ ...e
15
+ });
16
+ }
17
+ function h({ className: t, children: n, ...r }) {
18
+ return /* @__PURE__ */ s(f.Trigger, {
19
+ "data-slot": "combobox-trigger",
20
+ className: e("[&_svg:not([class*='size-'])]:size-4", t),
21
+ ...r,
22
+ children: [n, /* @__PURE__ */ o(u, { className: "pointer-events-none size-4 text-muted-foreground" })]
23
+ });
24
+ }
25
+ function g({ className: t, ...n }) {
26
+ return /* @__PURE__ */ o(f.Clear, {
27
+ "data-slot": "combobox-clear",
28
+ render: /* @__PURE__ */ o(i, {
29
+ variant: "ghost",
30
+ size: "icon-xs"
31
+ }),
32
+ className: e(t),
33
+ ...n,
34
+ children: /* @__PURE__ */ o(d, { className: "pointer-events-none" })
35
+ });
36
+ }
37
+ function _({ className: t, children: c, disabled: l = !1, showTrigger: u = !0, showClear: d = !1, ...p }) {
38
+ return /* @__PURE__ */ s(n, {
39
+ className: e("w-auto", t),
40
+ children: [
41
+ /* @__PURE__ */ o(f.Input, {
42
+ render: /* @__PURE__ */ o(a, { disabled: l }),
43
+ ...p
44
+ }),
45
+ /* @__PURE__ */ s(r, {
46
+ align: "inline-end",
47
+ children: [u && /* @__PURE__ */ o(i, {
48
+ size: "icon-xs",
49
+ variant: "ghost",
50
+ asChild: !0,
51
+ "data-slot": "input-group-button",
52
+ className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
53
+ disabled: l,
54
+ children: /* @__PURE__ */ o(h, {})
55
+ }), d && /* @__PURE__ */ o(g, { disabled: l })]
56
+ }),
57
+ c
58
+ ]
59
+ });
60
+ }
61
+ function v({ className: t, side: n = "bottom", sideOffset: r = 6, align: i = "start", alignOffset: a = 0, anchor: s, ...c }) {
62
+ return /* @__PURE__ */ o(f.Portal, { children: /* @__PURE__ */ o(f.Positioner, {
63
+ side: n,
64
+ sideOffset: r,
65
+ align: i,
66
+ alignOffset: a,
67
+ anchor: s,
68
+ className: "isolate z-50",
69
+ children: /* @__PURE__ */ o(f.Popup, {
70
+ "data-slot": "combobox-content",
71
+ "data-chips": !!s,
72
+ className: e("group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none 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", t),
73
+ ...c
74
+ })
75
+ }) });
76
+ }
77
+ function y({ className: t, ...n }) {
78
+ return /* @__PURE__ */ o(f.List, {
79
+ "data-slot": "combobox-list",
80
+ className: e("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0", t),
81
+ ...n
82
+ });
83
+ }
84
+ function b({ className: t, children: n, ...r }) {
85
+ return /* @__PURE__ */ s(f.Item, {
86
+ "data-slot": "combobox-item",
87
+ className: e("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", t),
88
+ ...r,
89
+ children: [n, /* @__PURE__ */ o(f.ItemIndicator, {
90
+ render: /* @__PURE__ */ o("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
91
+ children: /* @__PURE__ */ o(l, { className: "pointer-events-none" })
92
+ })]
93
+ });
94
+ }
95
+ function x({ className: t, ...n }) {
96
+ return /* @__PURE__ */ o(f.Group, {
97
+ "data-slot": "combobox-group",
98
+ className: e(t),
99
+ ...n
100
+ });
101
+ }
102
+ function S({ className: t, ...n }) {
103
+ return /* @__PURE__ */ o(f.GroupLabel, {
104
+ "data-slot": "combobox-label",
105
+ className: e("px-2 py-1.5 text-xs text-muted-foreground", t),
106
+ ...n
107
+ });
108
+ }
109
+ function C({ ...e }) {
110
+ return /* @__PURE__ */ o(f.Collection, {
111
+ "data-slot": "combobox-collection",
112
+ ...e
113
+ });
114
+ }
115
+ function w({ className: t, ...n }) {
116
+ return /* @__PURE__ */ o(f.Empty, {
117
+ "data-slot": "combobox-empty",
118
+ className: e("hidden w-full justify-center py-2 text-center text-sm text-muted-foreground group-data-empty/combobox-content:flex", t),
119
+ ...n
120
+ });
121
+ }
122
+ function T({ className: t, ...n }) {
123
+ return /* @__PURE__ */ o(f.Separator, {
124
+ "data-slot": "combobox-separator",
125
+ className: e("-mx-1 my-1 h-px bg-border", t),
126
+ ...n
127
+ });
128
+ }
129
+ function E({ className: t, ...n }) {
130
+ return /* @__PURE__ */ o(f.Chips, {
131
+ "data-slot": "combobox-chips",
132
+ className: e("flex min-h-9 flex-wrap items-center gap-1.5 rounded-md border border-input bg-transparent bg-clip-padding px-2.5 py-1.5 text-sm shadow-xs transition-[color,box-shadow] focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1.5 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40", t),
133
+ ...n
134
+ });
135
+ }
136
+ function D({ className: n, children: r, showRemove: i = !0, ...a }) {
137
+ return /* @__PURE__ */ s(f.Chip, {
138
+ "data-slot": "combobox-chip",
139
+ className: e("flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0", n),
140
+ ...a,
141
+ children: [r, i && /* @__PURE__ */ o(f.ChipRemove, {
142
+ render: /* @__PURE__ */ o(t, {
143
+ variant: "ghost",
144
+ size: "icon-xs"
145
+ }),
146
+ className: "-ml-1 opacity-50 hover:opacity-100",
147
+ "data-slot": "combobox-chip-remove",
148
+ children: /* @__PURE__ */ o(d, { className: "pointer-events-none" })
149
+ })]
150
+ });
151
+ }
152
+ function O({ className: t, ...n }) {
153
+ return /* @__PURE__ */ o(f.Input, {
154
+ "data-slot": "combobox-chip-input",
155
+ className: e("min-w-16 flex-1 outline-none", t),
156
+ ...n
157
+ });
158
+ }
159
+ function k() {
160
+ return c.useRef(null);
161
+ }
162
+ //#endregion
163
+ export { p as Combobox, D as ComboboxChip, E as ComboboxChips, O as ComboboxChipsInput, C as ComboboxCollection, v as ComboboxContent, w as ComboboxEmpty, x as ComboboxGroup, _ as ComboboxInput, b as ComboboxItem, S as ComboboxLabel, y as ComboboxList, T as ComboboxSeparator, h as ComboboxTrigger, m as ComboboxValue, k as useComboboxAnchor };
@@ -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(`./dialog.cjs`),r=require(`./input-group.cjs`);let i=require(`react/jsx-runtime`),a=require(`react`);a=e.__toESM(a);let o=require(`lucide-react`),s=require(`cmdk`);function c({className:e,...n}){return(0,i.jsx)(s.Command,{"data-slot":`command`,className:t.cn(`flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground`,e),...n})}function l({title:e=`Command Palette`,description:r=`Search for a command to run...`,children:a,className:o,showCloseButton:s=!1,...c}){return(0,i.jsxs)(n.Dialog,{...c,children:[(0,i.jsxs)(n.DialogHeader,{className:`sr-only`,children:[(0,i.jsx)(n.DialogTitle,{children:e}),(0,i.jsx)(n.DialogDescription,{children:r})]}),(0,i.jsx)(n.DialogContent,{className:t.cn(`top-1/3 translate-y-0 overflow-hidden rounded-xl! p-0`,o),showCloseButton:s,children:a})]})}function u({className:e,...n}){return(0,i.jsx)(`div`,{"data-slot":`command-input-wrapper`,className:`p-1 pb-0`,children:(0,i.jsxs)(r.InputGroup,{className:`h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!`,children:[(0,i.jsx)(s.Command.Input,{"data-slot":`command-input`,className:t.cn(`w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50`,e),...n}),(0,i.jsx)(r.InputGroupAddon,{children:(0,i.jsx)(o.SearchIcon,{className:`size-4 shrink-0 opacity-50`})})]})})}function d({className:e,...n}){return(0,i.jsx)(s.Command.List,{"data-slot":`command-list`,className:t.cn(`no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none`,e),...n})}function f({className:e,...n}){return(0,i.jsx)(s.Command.Empty,{"data-slot":`command-empty`,className:t.cn(`py-6 text-center text-sm`,e),...n})}function p({className:e,...n}){return(0,i.jsx)(s.Command.Group,{"data-slot":`command-group`,className:t.cn(`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`,e),...n})}function m({className:e,...n}){return(0,i.jsx)(s.Command.Separator,{"data-slot":`command-separator`,className:t.cn(`-mx-1 h-px w-auto bg-border`,e),...n})}function h({className:e,children:n,...r}){return(0,i.jsxs)(s.Command.Item,{"data-slot":`command-item`,className:t.cn(`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`,e),...r,children:[n,(0,i.jsx)(o.CheckIcon,{className:`ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100`})]})}function g({className:e,...n}){return(0,i.jsx)(`span`,{"data-slot":`command-shortcut`,className:t.cn(`ml-auto text-xs tracking-widest text-muted-foreground group-data-selected/command-item:text-foreground`,e),...n})}exports.Command=c,exports.CommandDialog=l,exports.CommandEmpty=f,exports.CommandGroup=p,exports.CommandInput=u,exports.CommandItem=h,exports.CommandList=d,exports.CommandSeparator=m,exports.CommandShortcut=g;
@@ -0,0 +1,18 @@
1
+ import { Command as CommandPrimitive } from 'cmdk';
2
+ import { Dialog } from './dialog';
3
+ import * as React from "react";
4
+ declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
5
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
+ title?: string;
7
+ description?: string;
8
+ className?: string;
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): import("react/jsx-runtime").JSX.Element;
12
+ declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
13
+ declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
14
+ declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
15
+ declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
16
+ declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
17
+ declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
18
+ export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };