@lattice-php/lattice 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (512) hide show
  1. package/README.md +3 -1
  2. package/dist/action/components/action-form.d.ts +2 -2
  3. package/dist/action/components/action-form.js +35 -67
  4. package/dist/action/components/action-form.js.map +1 -1
  5. package/dist/action/components/action-group.js +18 -6
  6. package/dist/action/components/action-group.js.map +1 -1
  7. package/dist/action/components/action-menu-context.d.ts +6 -0
  8. package/dist/action/components/action-menu-context.js +18 -0
  9. package/dist/action/components/action-menu-context.js.map +1 -0
  10. package/dist/action/components/action.js +20 -13
  11. package/dist/action/components/action.js.map +1 -1
  12. package/dist/action/index.js.map +1 -1
  13. package/dist/appearance/index.js +7 -2
  14. package/dist/appearance/index.js.map +1 -1
  15. package/dist/chat/components/chat-box.d.ts +3 -0
  16. package/dist/chat/components/chat-box.js +53 -0
  17. package/dist/chat/components/chat-box.js.map +1 -0
  18. package/dist/chat/components/message-list.d.ts +5 -0
  19. package/dist/chat/components/message-list.js +22 -0
  20. package/dist/chat/components/message-list.js.map +1 -0
  21. package/dist/chat/components/message.d.ts +5 -0
  22. package/dist/chat/components/message.js +20 -0
  23. package/dist/chat/components/message.js.map +1 -0
  24. package/dist/chat/components/prompt-input.d.ts +8 -0
  25. package/dist/chat/components/prompt-input.js +49 -0
  26. package/dist/chat/components/prompt-input.js.map +1 -0
  27. package/dist/chat/index.d.ts +1 -0
  28. package/dist/chat/index.js +15 -0
  29. package/dist/chat/index.js.map +1 -0
  30. package/dist/chat/parts/text.d.ts +3 -0
  31. package/dist/chat/parts/text.js +12 -0
  32. package/dist/chat/parts/text.js.map +1 -0
  33. package/dist/chat/parts/tool-call.d.ts +3 -0
  34. package/dist/chat/parts/tool-call.js +20 -0
  35. package/dist/chat/parts/tool-call.js.map +1 -0
  36. package/dist/chat/transport.d.ts +4 -0
  37. package/dist/chat/transport.js +67 -0
  38. package/dist/chat/transport.js.map +1 -0
  39. package/dist/chat/types.d.ts +39 -0
  40. package/dist/chat/use-chat.d.ts +15 -0
  41. package/dist/chat/use-chat.js +161 -0
  42. package/dist/chat/use-chat.js.map +1 -0
  43. package/dist/core/api.d.ts +25 -0
  44. package/dist/core/api.js +127 -0
  45. package/dist/core/api.js.map +1 -0
  46. package/dist/core/collapsed-context.d.ts +2 -0
  47. package/dist/core/collapsed-context.js +10 -0
  48. package/dist/core/collapsed-context.js.map +1 -0
  49. package/dist/core/column-sizing.d.ts +17 -0
  50. package/dist/core/column-sizing.js +61 -0
  51. package/dist/core/column-sizing.js.map +1 -0
  52. package/dist/core/components/badge.js +3 -3
  53. package/dist/core/components/badge.js.map +1 -1
  54. package/dist/core/components/button.d.ts +1 -1
  55. package/dist/core/components/button.js +19 -15
  56. package/dist/core/components/button.js.map +1 -1
  57. package/dist/core/components/card.js +1 -1
  58. package/dist/core/components/card.js.map +1 -1
  59. package/dist/core/components/chart.d.ts +3 -0
  60. package/dist/core/components/chart.js +175 -0
  61. package/dist/core/components/chart.js.map +1 -0
  62. package/dist/{form/components/base → core/components}/checkbox.js +4 -4
  63. package/dist/core/components/checkbox.js.map +1 -0
  64. package/dist/core/components/combobox.d.ts +33 -0
  65. package/dist/core/components/combobox.js +99 -0
  66. package/dist/core/components/combobox.js.map +1 -0
  67. package/dist/core/components/confirm-dialog.js +6 -12
  68. package/dist/core/components/confirm-dialog.js.map +1 -1
  69. package/dist/core/components/control.d.ts +13 -0
  70. package/dist/core/components/control.js +27 -0
  71. package/dist/core/components/control.js.map +1 -0
  72. package/dist/core/components/dialog.d.ts +19 -0
  73. package/dist/core/components/dialog.js +76 -0
  74. package/dist/core/components/dialog.js.map +1 -0
  75. package/dist/core/components/dropdown-menu.d.ts +14 -0
  76. package/dist/core/components/dropdown-menu.js +42 -0
  77. package/dist/core/components/dropdown-menu.js.map +1 -0
  78. package/dist/core/components/floating-panel.d.ts +3 -0
  79. package/dist/core/components/floating-panel.js +65 -0
  80. package/dist/core/components/floating-panel.js.map +1 -0
  81. package/dist/core/components/fragment.js +25 -13
  82. package/dist/core/components/fragment.js.map +1 -1
  83. package/dist/core/components/grid.js.map +1 -1
  84. package/dist/core/components/heading.js +1 -1
  85. package/dist/core/components/heading.js.map +1 -1
  86. package/dist/core/components/icon.js +1 -0
  87. package/dist/core/components/icon.js.map +1 -1
  88. package/dist/core/components/index.js +8 -1
  89. package/dist/core/components/index.js.map +1 -1
  90. package/dist/core/components/info-tooltip.d.ts +3 -0
  91. package/dist/core/components/info-tooltip.js +26 -0
  92. package/dist/core/components/info-tooltip.js.map +1 -0
  93. package/dist/core/components/link.js +12 -6
  94. package/dist/core/components/link.js.map +1 -1
  95. package/dist/core/components/modal.js +9 -31
  96. package/dist/core/components/modal.js.map +1 -1
  97. package/dist/core/components/popover.d.ts +8 -0
  98. package/dist/core/components/popover.js +37 -0
  99. package/dist/core/components/popover.js.map +1 -0
  100. package/dist/core/components/raw-block.d.ts +3 -0
  101. package/dist/core/components/raw-block.js +10 -0
  102. package/dist/core/components/raw-block.js.map +1 -0
  103. package/dist/core/components/section.js +8 -12
  104. package/dist/core/components/section.js.map +1 -1
  105. package/dist/core/components/segmented-control.js.map +1 -1
  106. package/dist/core/components/segmented-pills.js +1 -1
  107. package/dist/core/components/segmented-pills.js.map +1 -1
  108. package/dist/core/components/skeleton.d.ts +3 -0
  109. package/dist/core/components/skeleton.js +16 -0
  110. package/dist/core/components/skeleton.js.map +1 -0
  111. package/dist/core/components/spinner.js.map +1 -1
  112. package/dist/core/components/stack.js +25 -8
  113. package/dist/core/components/stack.js.map +1 -1
  114. package/dist/core/components/tabs.js +1 -1
  115. package/dist/core/components/tabs.js.map +1 -1
  116. package/dist/core/components/text.js +17 -1
  117. package/dist/core/components/text.js.map +1 -1
  118. package/dist/core/headers.d.ts +1 -0
  119. package/dist/core/headers.js +14 -0
  120. package/dist/core/headers.js.map +1 -0
  121. package/dist/core/registry-context.d.ts +21 -0
  122. package/dist/core/registry-context.js +40 -0
  123. package/dist/core/registry-context.js.map +1 -0
  124. package/dist/core/registry.d.ts +4 -1
  125. package/dist/core/registry.js +10 -1
  126. package/dist/core/registry.js.map +1 -1
  127. package/dist/core/renderer.d.ts +8 -14
  128. package/dist/core/renderer.js +17 -27
  129. package/dist/core/renderer.js.map +1 -1
  130. package/dist/core/test-id.d.ts +8 -0
  131. package/dist/core/test-id.js +21 -0
  132. package/dist/core/test-id.js.map +1 -0
  133. package/dist/core/types.d.ts +25 -9
  134. package/dist/core/use-column-resizing.d.ts +27 -0
  135. package/dist/core/use-column-resizing.js +228 -0
  136. package/dist/core/use-column-resizing.js.map +1 -0
  137. package/dist/effects/dispatch.d.ts +20 -0
  138. package/dist/effects/dispatch.js +39 -0
  139. package/dist/effects/dispatch.js.map +1 -0
  140. package/dist/effects/registry.d.ts +38 -0
  141. package/dist/effects/registry.js +51 -0
  142. package/dist/effects/registry.js.map +1 -0
  143. package/dist/effects/use-effect-dispatcher.d.ts +8 -0
  144. package/dist/effects/use-effect-dispatcher.js +20 -0
  145. package/dist/effects/use-effect-dispatcher.js.map +1 -0
  146. package/dist/effects/use-flash-effects.d.ts +5 -0
  147. package/dist/effects/use-flash-effects.js +22 -0
  148. package/dist/effects/use-flash-effects.js.map +1 -0
  149. package/dist/events/event-bridge.d.ts +3 -7
  150. package/dist/events/event-bridge.js +17 -47
  151. package/dist/events/event-bridge.js.map +1 -1
  152. package/dist/events/event-names.d.ts +3 -1
  153. package/dist/events/event-names.js +3 -1
  154. package/dist/events/event-names.js.map +1 -1
  155. package/dist/form/components/base/affix-group.d.ts +17 -0
  156. package/dist/form/components/base/affix-group.js +49 -0
  157. package/dist/form/components/base/affix-group.js.map +1 -0
  158. package/dist/form/components/base/field.d.ts +2 -1
  159. package/dist/form/components/base/field.js +17 -2
  160. package/dist/form/components/base/field.js.map +1 -1
  161. package/dist/form/components/base/input-error.js +1 -1
  162. package/dist/form/components/base/input-error.js.map +1 -1
  163. package/dist/form/components/base/input.js +2 -1
  164. package/dist/form/components/base/input.js.map +1 -1
  165. package/dist/form/components/base/label.js +1 -1
  166. package/dist/form/components/base/label.js.map +1 -1
  167. package/dist/form/components/base/password-input.js.map +1 -1
  168. package/dist/form/components/base/submit-button.js +4 -2
  169. package/dist/form/components/base/submit-button.js.map +1 -1
  170. package/dist/form/components/base/textarea.js +2 -1
  171. package/dist/form/components/base/textarea.js.map +1 -1
  172. package/dist/form/components/conditions.js.map +1 -1
  173. package/dist/form/components/context.d.ts +1 -0
  174. package/dist/form/components/context.js +1 -0
  175. package/dist/form/components/context.js.map +1 -1
  176. package/dist/form/components/field-props.d.ts +4 -0
  177. package/dist/form/components/field-props.js.map +1 -1
  178. package/dist/form/components/field-scope.d.ts +21 -0
  179. package/dist/form/components/field-scope.js +54 -0
  180. package/dist/form/components/field-scope.js.map +1 -0
  181. package/dist/form/components/fields/block-add-menu.d.ts +9 -0
  182. package/dist/form/components/fields/block-add-menu.js +27 -0
  183. package/dist/form/components/fields/block-add-menu.js.map +1 -0
  184. package/dist/form/components/fields/builder.d.ts +2 -0
  185. package/dist/form/components/fields/builder.js +124 -0
  186. package/dist/form/components/fields/builder.js.map +1 -0
  187. package/dist/form/components/fields/checkbox.d.ts +1 -1
  188. package/dist/form/components/fields/checkbox.js +14 -11
  189. package/dist/form/components/fields/checkbox.js.map +1 -1
  190. package/dist/form/components/fields/choice.d.ts +1 -1
  191. package/dist/form/components/fields/choice.js +5 -4
  192. package/dist/form/components/fields/choice.js.map +1 -1
  193. package/dist/form/components/fields/date-input.d.ts +1 -1
  194. package/dist/form/components/fields/date-input.js +2 -1
  195. package/dist/form/components/fields/date-input.js.map +1 -1
  196. package/dist/form/components/fields/file-upload.d.ts +2 -0
  197. package/dist/form/components/fields/file-upload.js +282 -0
  198. package/dist/form/components/fields/file-upload.js.map +1 -0
  199. package/dist/form/components/fields/hidden-input.d.ts +1 -1
  200. package/dist/form/components/fields/hidden-input.js +11 -5
  201. package/dist/form/components/fields/hidden-input.js.map +1 -1
  202. package/dist/form/components/fields/number-input.d.ts +1 -1
  203. package/dist/form/components/fields/number-input.js +23 -15
  204. package/dist/form/components/fields/number-input.js.map +1 -1
  205. package/dist/form/components/fields/password-input.d.ts +1 -1
  206. package/dist/form/components/fields/password-input.js +42 -27
  207. package/dist/form/components/fields/password-input.js.map +1 -1
  208. package/dist/form/components/fields/repeater-rows.d.ts +12 -0
  209. package/dist/form/components/fields/repeater-rows.js +46 -0
  210. package/dist/form/components/fields/repeater-rows.js.map +1 -0
  211. package/dist/form/components/fields/repeater.d.ts +2 -0
  212. package/dist/form/components/fields/repeater.js +97 -0
  213. package/dist/form/components/fields/repeater.js.map +1 -0
  214. package/dist/form/components/fields/rich-editor.d.ts +1 -1
  215. package/dist/form/components/fields/rich-editor.js +39 -11
  216. package/dist/form/components/fields/rich-editor.js.map +1 -1
  217. package/dist/form/components/fields/row-action-menu.d.ts +17 -0
  218. package/dist/form/components/fields/row-action-menu.js +61 -0
  219. package/dist/form/components/fields/row-action-menu.js.map +1 -0
  220. package/dist/form/components/fields/row-actions.d.ts +10 -0
  221. package/dist/form/components/fields/row-actions.js +45 -0
  222. package/dist/form/components/fields/row-actions.js.map +1 -0
  223. package/dist/form/components/fields/row-item.d.ts +27 -0
  224. package/dist/form/components/fields/row-item.js +69 -0
  225. package/dist/form/components/fields/row-item.js.map +1 -0
  226. package/dist/form/components/fields/select.d.ts +1 -1
  227. package/dist/form/components/fields/select.js +69 -104
  228. package/dist/form/components/fields/select.js.map +1 -1
  229. package/dist/form/components/fields/simple-field.js +1 -0
  230. package/dist/form/components/fields/simple-field.js.map +1 -1
  231. package/dist/form/components/fields/table-rows.d.ts +32 -0
  232. package/dist/form/components/fields/table-rows.js +188 -0
  233. package/dist/form/components/fields/table-rows.js.map +1 -0
  234. package/dist/form/components/fields/text-input.d.ts +1 -1
  235. package/dist/form/components/fields/text-input.js +19 -12
  236. package/dist/form/components/fields/text-input.js.map +1 -1
  237. package/dist/form/components/fields/textarea.d.ts +1 -1
  238. package/dist/form/components/fields/textarea.js +2 -1
  239. package/dist/form/components/fields/textarea.js.map +1 -1
  240. package/dist/form/components/fields/use-flip-reorder.d.ts +6 -0
  241. package/dist/form/components/fields/use-flip-reorder.js +51 -0
  242. package/dist/form/components/fields/use-flip-reorder.js.map +1 -0
  243. package/dist/form/components/fields/use-row-collection.d.ts +11 -0
  244. package/dist/form/components/fields/use-row-collection.js +44 -0
  245. package/dist/form/components/fields/use-row-collection.js.map +1 -0
  246. package/dist/form/components/form-path.d.ts +5 -0
  247. package/dist/form/components/form-path.js +40 -0
  248. package/dist/form/components/form-path.js.map +1 -0
  249. package/dist/form/components/form-transport.d.ts +3 -4
  250. package/dist/form/components/form-transport.js +17 -18
  251. package/dist/form/components/form-transport.js.map +1 -1
  252. package/dist/form/components/form.js +24 -18
  253. package/dist/form/components/form.js.map +1 -1
  254. package/dist/form/components/index.d.ts +3 -0
  255. package/dist/form/components/index.js +4 -1
  256. package/dist/form/components/override-keys.d.ts +2 -0
  257. package/dist/form/components/override-keys.js +12 -0
  258. package/dist/form/components/override-keys.js.map +1 -0
  259. package/dist/form/components/prefill-context.d.ts +5 -0
  260. package/dist/form/components/prefill-context.js +11 -0
  261. package/dist/form/components/prefill-context.js.map +1 -0
  262. package/dist/form/components/prefill-targets.d.ts +17 -0
  263. package/dist/form/components/prefill-targets.js +73 -0
  264. package/dist/form/components/prefill-targets.js.map +1 -0
  265. package/dist/form/components/resolved-nodes.js +4 -1
  266. package/dist/form/components/resolved-nodes.js.map +1 -1
  267. package/dist/form/components/row-layout-context.d.ts +5 -0
  268. package/dist/form/components/row-layout-context.js +18 -0
  269. package/dist/form/components/row-layout-context.js.map +1 -0
  270. package/dist/form/components/use-controlled-field.d.ts +2 -0
  271. package/dist/form/components/use-controlled-field.js +13 -5
  272. package/dist/form/components/use-controlled-field.js.map +1 -1
  273. package/dist/form/components/use-dependent-field.js +7 -1
  274. package/dist/form/components/use-dependent-field.js.map +1 -1
  275. package/dist/form/components/use-field-commit.d.ts +4 -0
  276. package/dist/form/components/use-field-commit.js +21 -7
  277. package/dist/form/components/use-field-commit.js.map +1 -1
  278. package/dist/form/components/use-form-resolver.d.ts +6 -1
  279. package/dist/form/components/use-form-resolver.js +50 -5
  280. package/dist/form/components/use-form-resolver.js.map +1 -1
  281. package/dist/form/components/use-seed-default.js +8 -3
  282. package/dist/form/components/use-seed-default.js.map +1 -1
  283. package/dist/form/components/values.js +20 -5
  284. package/dist/form/components/values.js.map +1 -1
  285. package/dist/form/index.js +13 -10
  286. package/dist/form/index.js.map +1 -1
  287. package/dist/form/skeleton.js +5 -4
  288. package/dist/form/skeleton.js.map +1 -1
  289. package/dist/i18n/backend.d.ts +7 -5
  290. package/dist/i18n/backend.js +23 -8
  291. package/dist/i18n/backend.js.map +1 -1
  292. package/dist/i18n/config.d.ts +6 -0
  293. package/dist/i18n/config.js +36 -0
  294. package/dist/i18n/config.js.map +1 -0
  295. package/dist/i18n/index.d.ts +7 -1
  296. package/dist/i18n/index.js +5 -1
  297. package/dist/i18n/instance.d.ts +27 -0
  298. package/dist/i18n/instance.js +63 -16
  299. package/dist/i18n/instance.js.map +1 -1
  300. package/dist/i18n/locale-reload.d.ts +3 -0
  301. package/dist/i18n/locale-reload.js +17 -0
  302. package/dist/i18n/locale-reload.js.map +1 -0
  303. package/dist/i18n/locale-switcher.d.ts +21 -0
  304. package/dist/i18n/locale-switcher.js +25 -0
  305. package/dist/i18n/locale-switcher.js.map +1 -0
  306. package/dist/i18n/locale.d.ts +9 -0
  307. package/dist/i18n/locale.js +93 -0
  308. package/dist/i18n/locale.js.map +1 -0
  309. package/dist/i18n/page-props.d.ts +3 -0
  310. package/dist/i18n/page-props.js +24 -0
  311. package/dist/i18n/page-props.js.map +1 -0
  312. package/dist/i18n/translatable.d.ts +4 -0
  313. package/dist/i18n/translatable.js +24 -0
  314. package/dist/i18n/translatable.js.map +1 -0
  315. package/dist/index.d.ts +20 -8
  316. package/dist/index.js +19 -7
  317. package/dist/inertia.d.ts +2 -1
  318. package/dist/inertia.js +9 -2
  319. package/dist/inertia.js.map +1 -1
  320. package/dist/lattice.css +148 -22
  321. package/dist/layout/breadcrumbs.d.ts +3 -0
  322. package/dist/layout/breadcrumbs.js +34 -0
  323. package/dist/layout/breadcrumbs.js.map +1 -0
  324. package/dist/layout/callouts.d.ts +3 -0
  325. package/dist/layout/callouts.js +67 -0
  326. package/dist/layout/callouts.js.map +1 -0
  327. package/dist/layout/components.js +9 -1
  328. package/dist/layout/components.js.map +1 -1
  329. package/dist/layout/context.d.ts +2 -10
  330. package/dist/layout/context.js +3 -14
  331. package/dist/layout/context.js.map +1 -1
  332. package/dist/layout/dropdown.d.ts +3 -0
  333. package/dist/layout/dropdown.js +24 -0
  334. package/dist/layout/dropdown.js.map +1 -0
  335. package/dist/layout/index.d.ts +2 -1
  336. package/dist/layout/index.js +3 -1
  337. package/dist/layout/menu-item.js +54 -62
  338. package/dist/layout/menu-item.js.map +1 -1
  339. package/dist/layout/menu.js.map +1 -1
  340. package/dist/layout/outlet.js +2 -2
  341. package/dist/layout/outlet.js.map +1 -1
  342. package/dist/layout/popover.d.ts +17 -0
  343. package/dist/layout/popover.js +46 -0
  344. package/dist/layout/popover.js.map +1 -0
  345. package/dist/layout/schema-layout.js +2 -9
  346. package/dist/layout/schema-layout.js.map +1 -1
  347. package/dist/layout/sidebar.js +4 -4
  348. package/dist/layout/sidebar.js.map +1 -1
  349. package/dist/layout/topbar.d.ts +3 -0
  350. package/dist/layout/topbar.js +15 -0
  351. package/dist/layout/topbar.js.map +1 -0
  352. package/dist/page.js +16 -17
  353. package/dist/page.js.map +1 -1
  354. package/dist/provider.d.ts +2 -4
  355. package/dist/provider.js +5 -9
  356. package/dist/provider.js.map +1 -1
  357. package/dist/realtime/build-effects.d.ts +4 -0
  358. package/dist/realtime/build-effects.js +23 -0
  359. package/dist/realtime/build-effects.js.map +1 -0
  360. package/dist/realtime/listeners.d.ts +8 -0
  361. package/dist/realtime/listeners.js +31 -0
  362. package/dist/realtime/listeners.js.map +1 -0
  363. package/dist/realtime/subscriptions.d.ts +4 -0
  364. package/dist/realtime/subscriptions.js +45 -0
  365. package/dist/realtime/subscriptions.js.map +1 -0
  366. package/dist/registry.js +3 -1
  367. package/dist/registry.js.map +1 -1
  368. package/dist/remote/components/chat-box.d.ts +3 -0
  369. package/dist/remote/components/chat-box.js +65 -0
  370. package/dist/remote/components/chat-box.js.map +1 -0
  371. package/dist/remote/components/data-list.d.ts +10 -0
  372. package/dist/remote/components/data-list.js +106 -0
  373. package/dist/remote/components/data-list.js.map +1 -0
  374. package/dist/remote/index.d.ts +1 -0
  375. package/dist/remote/index.js +15 -0
  376. package/dist/remote/index.js.map +1 -0
  377. package/dist/svg-sprite-client/index.d.ts +1 -0
  378. package/dist/svg-sprite-client/index.js +0 -0
  379. package/dist/svg-sprite-client.d.ts +1 -0
  380. package/dist/table/align.d.ts +4 -0
  381. package/dist/table/align.js +23 -0
  382. package/dist/table/align.js.map +1 -0
  383. package/dist/table/bulk.js +1 -1
  384. package/dist/table/bulk.js.map +1 -1
  385. package/dist/table/components/bulk-bar.js +8 -5
  386. package/dist/table/components/bulk-bar.js.map +1 -1
  387. package/dist/table/components/cells/badge-cell.d.ts +2 -5
  388. package/dist/table/components/cells/badge-cell.js +3 -3
  389. package/dist/table/components/cells/badge-cell.js.map +1 -1
  390. package/dist/table/components/cells/boolean-cell.d.ts +3 -0
  391. package/dist/table/components/cells/boolean-cell.js +23 -0
  392. package/dist/table/components/cells/boolean-cell.js.map +1 -0
  393. package/dist/table/components/cells/icon-cell.d.ts +2 -5
  394. package/dist/table/components/cells/icon-cell.js +4 -5
  395. package/dist/table/components/cells/icon-cell.js.map +1 -1
  396. package/dist/table/components/cells/image-cell.d.ts +2 -5
  397. package/dist/table/components/cells/image-cell.js +4 -5
  398. package/dist/table/components/cells/image-cell.js.map +1 -1
  399. package/dist/table/components/cells/money-cell.d.ts +2 -0
  400. package/dist/table/components/cells/money-cell.js +28 -0
  401. package/dist/table/components/cells/money-cell.js.map +1 -0
  402. package/dist/table/components/cells/number-cell.d.ts +2 -0
  403. package/dist/table/components/cells/number-cell.js +25 -0
  404. package/dist/table/components/cells/number-cell.js.map +1 -0
  405. package/dist/table/components/cells/numeric.d.ts +2 -0
  406. package/dist/table/components/cells/numeric.js +10 -0
  407. package/dist/table/components/cells/numeric.js.map +1 -0
  408. package/dist/table/components/cells/stack-cell.d.ts +3 -0
  409. package/dist/table/components/cells/stack-cell.js +17 -0
  410. package/dist/table/components/cells/stack-cell.js.map +1 -0
  411. package/dist/table/components/cells/text-cell.d.ts +2 -6
  412. package/dist/table/components/cells/text-cell.js +6 -7
  413. package/dist/table/components/cells/text-cell.js.map +1 -1
  414. package/dist/table/components/column-filter-control.d.ts +4 -1
  415. package/dist/table/components/column-filter-control.js +82 -11
  416. package/dist/table/components/column-filter-control.js.map +1 -1
  417. package/dist/table/components/column-header.d.ts +3 -1
  418. package/dist/table/components/column-header.js +11 -8
  419. package/dist/table/components/column-header.js.map +1 -1
  420. package/dist/table/components/filter-bar.d.ts +16 -0
  421. package/dist/table/components/filter-bar.js +104 -0
  422. package/dist/table/components/filter-bar.js.map +1 -0
  423. package/dist/table/components/filter-controls.d.ts +18 -0
  424. package/dist/table/components/filter-controls.js +256 -0
  425. package/dist/table/components/filter-controls.js.map +1 -0
  426. package/dist/table/components/filter-stack-bar.js +4 -3
  427. package/dist/table/components/filter-stack-bar.js.map +1 -1
  428. package/dist/table/components/filter-value-input.d.ts +1 -0
  429. package/dist/table/components/filter-value-input.js +7 -6
  430. package/dist/table/components/filter-value-input.js.map +1 -1
  431. package/dist/table/components/pagination.js +1 -1
  432. package/dist/table/components/pagination.js.map +1 -1
  433. package/dist/table/components/sort-bar.js +1 -1
  434. package/dist/table/components/sort-bar.js.map +1 -1
  435. package/dist/table/components/table-action-node.js.map +1 -1
  436. package/dist/table/components/table-cell.d.ts +1 -1
  437. package/dist/table/components/table-cell.js +18 -28
  438. package/dist/table/components/table-cell.js.map +1 -1
  439. package/dist/table/components/table.js +200 -152
  440. package/dist/table/components/table.js.map +1 -1
  441. package/dist/table/filter-values.d.ts +13 -0
  442. package/dist/table/filter-values.js +30 -0
  443. package/dist/table/filter-values.js.map +1 -0
  444. package/dist/table/format.js.map +1 -1
  445. package/dist/table/index.js.map +1 -1
  446. package/dist/table/payload.js +24 -3
  447. package/dist/table/payload.js.map +1 -1
  448. package/dist/table/query.d.ts +10 -1
  449. package/dist/table/query.js +60 -6
  450. package/dist/table/query.js.map +1 -1
  451. package/dist/table/registry.d.ts +19 -0
  452. package/dist/table/registry.js +14 -0
  453. package/dist/table/registry.js.map +1 -0
  454. package/dist/table/types.d.ts +9 -19
  455. package/dist/table/use-table.d.ts +8 -2
  456. package/dist/table/use-table.js +61 -7
  457. package/dist/table/use-table.js.map +1 -1
  458. package/dist/toast/callout.d.ts +6 -0
  459. package/dist/toast/callout.js +31 -0
  460. package/dist/toast/callout.js.map +1 -0
  461. package/dist/toast/index.d.ts +4 -0
  462. package/dist/toast/index.js +3 -1
  463. package/dist/toast/toast.d.ts +14 -0
  464. package/dist/toast/toast.js +54 -0
  465. package/dist/toast/toast.js.map +1 -0
  466. package/dist/toast/toaster.js +14 -77
  467. package/dist/toast/toaster.js.map +1 -1
  468. package/dist/toast/variant-styles.d.ts +6 -0
  469. package/dist/toast/variant-styles.js +37 -0
  470. package/dist/toast/variant-styles.js.map +1 -0
  471. package/dist/types/generated.d.ts +547 -103
  472. package/dist/types/vite-env.d.ts +1 -0
  473. package/dist/vite.d.ts +25 -0
  474. package/dist/vite.js +72 -0
  475. package/dist/vite.js.map +1 -0
  476. package/package.json +130 -13
  477. package/resources/icons/rotate-ccw.svg +16 -0
  478. package/dist/_virtual/_rolldown/runtime.js +0 -8
  479. package/dist/action/effects.d.ts +0 -11
  480. package/dist/action/effects.js +0 -44
  481. package/dist/action/effects.js.map +0 -1
  482. package/dist/form/components/base/checkbox.js.map +0 -1
  483. package/dist/node_modules/i18next/dist/esm/i18next.js +0 -1982
  484. package/dist/node_modules/i18next/dist/esm/i18next.js.map +0 -1
  485. package/dist/node_modules/i18next-http-backend/esm/index.js +0 -352
  486. package/dist/node_modules/i18next-http-backend/esm/index.js.map +0 -1
  487. package/dist/node_modules/react-i18next/dist/es/context.js +0 -23
  488. package/dist/node_modules/react-i18next/dist/es/context.js.map +0 -1
  489. package/dist/node_modules/react-i18next/dist/es/defaults.js +0 -29
  490. package/dist/node_modules/react-i18next/dist/es/defaults.js.map +0 -1
  491. package/dist/node_modules/react-i18next/dist/es/i18nInstance.js +0 -10
  492. package/dist/node_modules/react-i18next/dist/es/i18nInstance.js.map +0 -1
  493. package/dist/node_modules/react-i18next/dist/es/initReactI18next.js +0 -14
  494. package/dist/node_modules/react-i18next/dist/es/initReactI18next.js.map +0 -1
  495. package/dist/node_modules/react-i18next/dist/es/unescape.js +0 -30
  496. package/dist/node_modules/react-i18next/dist/es/unescape.js.map +0 -1
  497. package/dist/node_modules/react-i18next/dist/es/useTranslation.js +0 -157
  498. package/dist/node_modules/react-i18next/dist/es/useTranslation.js.map +0 -1
  499. package/dist/node_modules/react-i18next/dist/es/utils.js +0 -58
  500. package/dist/node_modules/react-i18next/dist/es/utils.js.map +0 -1
  501. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -70
  502. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  503. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -61
  504. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  505. package/dist/node_modules/use-sync-external-store/shim/index.js +0 -13
  506. package/dist/node_modules/use-sync-external-store/shim/index.js.map +0 -1
  507. package/dist/table/column-registry.d.ts +0 -9
  508. package/dist/test-support.d.ts +0 -14
  509. package/dist/test-support.js +0 -14
  510. package/dist/test-support.js.map +0 -1
  511. /package/dist/{table/column-registry.js → chat/types.js} +0 -0
  512. /package/dist/{form/components/base → core/components}/checkbox.d.ts +0 -0
@@ -1,157 +0,0 @@
1
- import { hasLoadedNamespace, isObject, isString, loadLanguages, loadNamespaces, warnOnce } from "./utils.js";
2
- import { getDefaults } from "./defaults.js";
3
- import { getI18n } from "./i18nInstance.js";
4
- import { I18nContext, ReportNamespaces } from "./context.js";
5
- import { require_shim } from "../../../use-sync-external-store/shim/index.js";
6
- import { useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
7
- //#region node_modules/react-i18next/dist/es/useTranslation.js
8
- var import_shim = require_shim();
9
- var notReadyT = (k, optsOrDefaultValue) => {
10
- if (isString(optsOrDefaultValue)) return optsOrDefaultValue;
11
- if (isObject(optsOrDefaultValue) && isString(optsOrDefaultValue.defaultValue)) return optsOrDefaultValue.defaultValue;
12
- if (typeof k === "function") return "";
13
- if (Array.isArray(k)) {
14
- const last = k[k.length - 1];
15
- return typeof last === "function" ? "" : last;
16
- }
17
- return k;
18
- };
19
- var notReadySnapshot = {
20
- t: notReadyT,
21
- ready: false
22
- };
23
- var dummySubscribe = () => () => {};
24
- var useTranslation = (ns, props = {}) => {
25
- const { i18n: i18nFromProps } = props;
26
- const { i18n: i18nFromContext, defaultNS: defaultNSFromContext } = useContext(I18nContext) || {};
27
- const i18n = i18nFromProps || i18nFromContext || getI18n();
28
- if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();
29
- if (!i18n) warnOnce(i18n, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
30
- const i18nOptions = useMemo(() => ({
31
- ...getDefaults(),
32
- ...i18n?.options?.react,
33
- ...props
34
- }), [i18n, props]);
35
- const { useSuspense, keyPrefix } = i18nOptions;
36
- const nsOrContext = ns || defaultNSFromContext || i18n?.options?.defaultNS;
37
- const unstableNamespaces = isString(nsOrContext) ? [nsOrContext] : nsOrContext || ["translation"];
38
- const namespaces = useMemo(() => unstableNamespaces, unstableNamespaces);
39
- i18n?.reportNamespaces?.addUsedNamespaces?.(namespaces);
40
- const revisionRef = useRef(0);
41
- const subscribe = useCallback((callback) => {
42
- if (!i18n) return dummySubscribe;
43
- const { bindI18n, bindI18nStore } = i18nOptions;
44
- const wrappedCallback = () => {
45
- revisionRef.current += 1;
46
- callback();
47
- };
48
- if (bindI18n) i18n.on(bindI18n, wrappedCallback);
49
- if (bindI18nStore) i18n.store.on(bindI18nStore, wrappedCallback);
50
- return () => {
51
- if (bindI18n) bindI18n.split(" ").forEach((e) => i18n.off(e, wrappedCallback));
52
- if (bindI18nStore) bindI18nStore.split(" ").forEach((e) => i18n.store.off(e, wrappedCallback));
53
- };
54
- }, [i18n, i18nOptions]);
55
- const snapshotRef = useRef();
56
- const getSnapshot = useCallback(() => {
57
- if (!i18n) return notReadySnapshot;
58
- const calculatedReady = !!(i18n.isInitialized || i18n.initializedStoreOnce) && namespaces.every((n) => hasLoadedNamespace(n, i18n, i18nOptions));
59
- const currentLng = props.lng || i18n.language;
60
- const currentRevision = revisionRef.current;
61
- const lastSnapshot = snapshotRef.current;
62
- if (lastSnapshot && lastSnapshot.ready === calculatedReady && lastSnapshot.lng === currentLng && lastSnapshot.keyPrefix === keyPrefix && lastSnapshot.revision === currentRevision) return lastSnapshot;
63
- const newSnapshot = {
64
- t: i18n.getFixedT(currentLng, i18nOptions.nsMode === "fallback" ? namespaces : namespaces[0], keyPrefix, { scopeNs: namespaces }),
65
- ready: calculatedReady,
66
- lng: currentLng,
67
- keyPrefix,
68
- revision: currentRevision
69
- };
70
- snapshotRef.current = newSnapshot;
71
- return newSnapshot;
72
- }, [
73
- i18n,
74
- namespaces,
75
- keyPrefix,
76
- i18nOptions,
77
- props.lng
78
- ]);
79
- const [loadCount, setLoadCount] = useState(0);
80
- const { t, ready } = (0, import_shim.useSyncExternalStore)(subscribe, getSnapshot, getSnapshot);
81
- useEffect(() => {
82
- if (i18n && !ready && !useSuspense) {
83
- const onLoaded = () => setLoadCount((c) => c + 1);
84
- if (props.lng) loadLanguages(i18n, props.lng, namespaces, onLoaded);
85
- else loadNamespaces(i18n, namespaces, onLoaded);
86
- }
87
- }, [
88
- i18n,
89
- props.lng,
90
- namespaces,
91
- ready,
92
- useSuspense,
93
- loadCount
94
- ]);
95
- const finalI18n = i18n || {};
96
- const wrapperRef = useRef(null);
97
- const wrapperLangRef = useRef();
98
- const createI18nWrapper = (original) => {
99
- const descriptors = Object.getOwnPropertyDescriptors(original);
100
- if (descriptors.__original) delete descriptors.__original;
101
- const wrapper = Object.create(Object.getPrototypeOf(original), descriptors);
102
- if (!Object.prototype.hasOwnProperty.call(wrapper, "__original")) try {
103
- Object.defineProperty(wrapper, "__original", {
104
- value: original,
105
- writable: false,
106
- enumerable: false,
107
- configurable: false
108
- });
109
- } catch (_) {}
110
- return wrapper;
111
- };
112
- const ret = useMemo(() => {
113
- const original = finalI18n;
114
- const lang = original?.language;
115
- let i18nWrapper = original;
116
- if (original) if (wrapperRef.current && wrapperRef.current.__original === original) if (wrapperLangRef.current !== lang) {
117
- i18nWrapper = createI18nWrapper(original);
118
- wrapperRef.current = i18nWrapper;
119
- wrapperLangRef.current = lang;
120
- } else i18nWrapper = wrapperRef.current;
121
- else {
122
- i18nWrapper = createI18nWrapper(original);
123
- wrapperRef.current = i18nWrapper;
124
- wrapperLangRef.current = lang;
125
- }
126
- const effectiveT = !ready && !useSuspense ? (...args) => {
127
- warnOnce(i18n, "USE_T_BEFORE_READY", "useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t.");
128
- return t(...args);
129
- } : t;
130
- const arr = [
131
- effectiveT,
132
- i18nWrapper,
133
- ready
134
- ];
135
- arr.t = effectiveT;
136
- arr.i18n = i18nWrapper;
137
- arr.ready = ready;
138
- return arr;
139
- }, [
140
- t,
141
- finalI18n,
142
- ready,
143
- finalI18n.resolvedLanguage,
144
- finalI18n.language,
145
- finalI18n.languages
146
- ]);
147
- if (i18n && useSuspense && !ready) throw new Promise((resolve) => {
148
- const onLoaded = () => resolve();
149
- if (props.lng) loadLanguages(i18n, props.lng, namespaces, onLoaded);
150
- else loadNamespaces(i18n, namespaces, onLoaded);
151
- });
152
- return ret;
153
- };
154
- //#endregion
155
- export { useTranslation };
156
-
157
- //# sourceMappingURL=useTranslation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTranslation.js","names":[],"sources":["../../../../../node_modules/react-i18next/dist/es/useTranslation.js"],"sourcesContent":["import { useContext, useCallback, useMemo, useEffect, useRef, useState } from 'react';\nimport { useSyncExternalStore } from 'use-sync-external-store/shim';\nimport { getI18n, getDefaults, ReportNamespaces, I18nContext } from './context.js';\nimport { warnOnce, loadNamespaces, loadLanguages, hasLoadedNamespace, isString, isObject } from './utils.js';\nconst notReadyT = (k, optsOrDefaultValue) => {\n if (isString(optsOrDefaultValue)) return optsOrDefaultValue;\n if (isObject(optsOrDefaultValue) && isString(optsOrDefaultValue.defaultValue)) return optsOrDefaultValue.defaultValue;\n if (typeof k === 'function') return '';\n if (Array.isArray(k)) {\n const last = k[k.length - 1];\n return typeof last === 'function' ? '' : last;\n }\n return k;\n};\nconst notReadySnapshot = {\n t: notReadyT,\n ready: false\n};\nconst dummySubscribe = () => () => {};\nexport const useTranslation = (ns, props = {}) => {\n const {\n i18n: i18nFromProps\n } = props;\n const {\n i18n: i18nFromContext,\n defaultNS: defaultNSFromContext\n } = useContext(I18nContext) || {};\n const i18n = i18nFromProps || i18nFromContext || getI18n();\n if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();\n if (!i18n) {\n warnOnce(i18n, 'NO_I18NEXT_INSTANCE', 'useTranslation: You will need to pass in an i18next instance by using initReactI18next');\n }\n const i18nOptions = useMemo(() => ({\n ...getDefaults(),\n ...i18n?.options?.react,\n ...props\n }), [i18n, props]);\n const {\n useSuspense,\n keyPrefix\n } = i18nOptions;\n const nsOrContext = ns || defaultNSFromContext || i18n?.options?.defaultNS;\n const unstableNamespaces = isString(nsOrContext) ? [nsOrContext] : nsOrContext || ['translation'];\n const namespaces = useMemo(() => unstableNamespaces, unstableNamespaces);\n i18n?.reportNamespaces?.addUsedNamespaces?.(namespaces);\n const revisionRef = useRef(0);\n const subscribe = useCallback(callback => {\n if (!i18n) return dummySubscribe;\n const {\n bindI18n,\n bindI18nStore\n } = i18nOptions;\n const wrappedCallback = () => {\n revisionRef.current += 1;\n callback();\n };\n if (bindI18n) i18n.on(bindI18n, wrappedCallback);\n if (bindI18nStore) i18n.store.on(bindI18nStore, wrappedCallback);\n return () => {\n if (bindI18n) bindI18n.split(' ').forEach(e => i18n.off(e, wrappedCallback));\n if (bindI18nStore) bindI18nStore.split(' ').forEach(e => i18n.store.off(e, wrappedCallback));\n };\n }, [i18n, i18nOptions]);\n const snapshotRef = useRef();\n const getSnapshot = useCallback(() => {\n if (!i18n) {\n return notReadySnapshot;\n }\n const calculatedReady = !!(i18n.isInitialized || i18n.initializedStoreOnce) && namespaces.every(n => hasLoadedNamespace(n, i18n, i18nOptions));\n const currentLng = props.lng || i18n.language;\n const currentRevision = revisionRef.current;\n const lastSnapshot = snapshotRef.current;\n if (lastSnapshot && lastSnapshot.ready === calculatedReady && lastSnapshot.lng === currentLng && lastSnapshot.keyPrefix === keyPrefix && lastSnapshot.revision === currentRevision) {\n return lastSnapshot;\n }\n const calculatedT = i18n.getFixedT(currentLng, i18nOptions.nsMode === 'fallback' ? namespaces : namespaces[0], keyPrefix, {\n scopeNs: namespaces\n });\n const newSnapshot = {\n t: calculatedT,\n ready: calculatedReady,\n lng: currentLng,\n keyPrefix,\n revision: currentRevision\n };\n snapshotRef.current = newSnapshot;\n return newSnapshot;\n }, [i18n, namespaces, keyPrefix, i18nOptions, props.lng]);\n const [loadCount, setLoadCount] = useState(0);\n const {\n t,\n ready\n } = useSyncExternalStore(subscribe, getSnapshot, getSnapshot);\n useEffect(() => {\n if (i18n && !ready && !useSuspense) {\n const onLoaded = () => setLoadCount(c => c + 1);\n if (props.lng) {\n loadLanguages(i18n, props.lng, namespaces, onLoaded);\n } else {\n loadNamespaces(i18n, namespaces, onLoaded);\n }\n }\n }, [i18n, props.lng, namespaces, ready, useSuspense, loadCount]);\n const finalI18n = i18n || {};\n const wrapperRef = useRef(null);\n const wrapperLangRef = useRef();\n const createI18nWrapper = original => {\n const descriptors = Object.getOwnPropertyDescriptors(original);\n if (descriptors.__original) delete descriptors.__original;\n const wrapper = Object.create(Object.getPrototypeOf(original), descriptors);\n if (!Object.prototype.hasOwnProperty.call(wrapper, '__original')) {\n try {\n Object.defineProperty(wrapper, '__original', {\n value: original,\n writable: false,\n enumerable: false,\n configurable: false\n });\n } catch (_) {}\n }\n return wrapper;\n };\n const ret = useMemo(() => {\n const original = finalI18n;\n const lang = original?.language;\n let i18nWrapper = original;\n if (original) {\n if (wrapperRef.current && wrapperRef.current.__original === original) {\n if (wrapperLangRef.current !== lang) {\n i18nWrapper = createI18nWrapper(original);\n wrapperRef.current = i18nWrapper;\n wrapperLangRef.current = lang;\n } else {\n i18nWrapper = wrapperRef.current;\n }\n } else {\n i18nWrapper = createI18nWrapper(original);\n wrapperRef.current = i18nWrapper;\n wrapperLangRef.current = lang;\n }\n }\n const effectiveT = !ready && !useSuspense ? (...args) => {\n warnOnce(i18n, 'USE_T_BEFORE_READY', 'useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t.');\n return t(...args);\n } : t;\n const arr = [effectiveT, i18nWrapper, ready];\n arr.t = effectiveT;\n arr.i18n = i18nWrapper;\n arr.ready = ready;\n return arr;\n }, [t, finalI18n, ready, finalI18n.resolvedLanguage, finalI18n.language, finalI18n.languages]);\n if (i18n && useSuspense && !ready) {\n throw new Promise(resolve => {\n const onLoaded = () => resolve();\n if (props.lng) {\n loadLanguages(i18n, props.lng, namespaces, onLoaded);\n } else {\n loadNamespaces(i18n, namespaces, onLoaded);\n }\n });\n }\n return ret;\n};"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -1,58 +0,0 @@
1
- //#region node_modules/react-i18next/dist/es/utils.js
2
- var warn = (i18n, code, msg, rest) => {
3
- const args = [msg, {
4
- code,
5
- ...rest || {}
6
- }];
7
- if (i18n?.services?.logger?.forward) return i18n.services.logger.forward(args, "warn", "react-i18next::", true);
8
- if (isString(args[0])) args[0] = `react-i18next:: ${args[0]}`;
9
- if (i18n?.services?.logger?.warn) i18n.services.logger.warn(...args);
10
- else if (console?.warn) console.warn(...args);
11
- };
12
- var alreadyWarned = {};
13
- var warnOnce = (i18n, code, msg, rest) => {
14
- if (isString(msg) && alreadyWarned[msg]) return;
15
- if (isString(msg)) alreadyWarned[msg] = /* @__PURE__ */ new Date();
16
- warn(i18n, code, msg, rest);
17
- };
18
- var loadedClb = (i18n, cb) => () => {
19
- if (i18n.isInitialized) cb();
20
- else {
21
- const initialized = () => {
22
- setTimeout(() => {
23
- i18n.off("initialized", initialized);
24
- }, 0);
25
- cb();
26
- };
27
- i18n.on("initialized", initialized);
28
- }
29
- };
30
- var loadNamespaces = (i18n, ns, cb) => {
31
- i18n.loadNamespaces(ns, loadedClb(i18n, cb));
32
- };
33
- var loadLanguages = (i18n, lng, ns, cb) => {
34
- if (isString(ns)) ns = [ns];
35
- if (i18n.options.preload && i18n.options.preload.indexOf(lng) > -1) return loadNamespaces(i18n, ns, cb);
36
- ns.forEach((n) => {
37
- if (i18n.options.ns.indexOf(n) < 0) i18n.options.ns.push(n);
38
- });
39
- i18n.loadLanguages(lng, loadedClb(i18n, cb));
40
- };
41
- var hasLoadedNamespace = (ns, i18n, options = {}) => {
42
- if (!i18n.languages || !i18n.languages.length) {
43
- warnOnce(i18n, "NO_LANGUAGES", "i18n.languages were undefined or empty", { languages: i18n.languages });
44
- return true;
45
- }
46
- return i18n.hasLoadedNamespace(ns, {
47
- lng: options.lng,
48
- precheck: (i18nInstance, loadNotPending) => {
49
- if (options.bindI18n && options.bindI18n.indexOf("languageChanging") > -1 && i18nInstance.services.backendConnector.backend && i18nInstance.isLanguageChangingTo && !loadNotPending(i18nInstance.isLanguageChangingTo, ns)) return false;
50
- }
51
- });
52
- };
53
- var isString = (obj) => typeof obj === "string";
54
- var isObject = (obj) => typeof obj === "object" && obj !== null;
55
- //#endregion
56
- export { hasLoadedNamespace, isObject, isString, loadLanguages, loadNamespaces, warnOnce };
57
-
58
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","names":[],"sources":["../../../../../node_modules/react-i18next/dist/es/utils.js"],"sourcesContent":["export const warn = (i18n, code, msg, rest) => {\n const args = [msg, {\n code,\n ...(rest || {})\n }];\n if (i18n?.services?.logger?.forward) {\n return i18n.services.logger.forward(args, 'warn', 'react-i18next::', true);\n }\n if (isString(args[0])) args[0] = `react-i18next:: ${args[0]}`;\n if (i18n?.services?.logger?.warn) {\n i18n.services.logger.warn(...args);\n } else if (console?.warn) {\n console.warn(...args);\n }\n};\nconst alreadyWarned = {};\nexport const warnOnce = (i18n, code, msg, rest) => {\n if (isString(msg) && alreadyWarned[msg]) return;\n if (isString(msg)) alreadyWarned[msg] = new Date();\n warn(i18n, code, msg, rest);\n};\nconst loadedClb = (i18n, cb) => () => {\n if (i18n.isInitialized) {\n cb();\n } else {\n const initialized = () => {\n setTimeout(() => {\n i18n.off('initialized', initialized);\n }, 0);\n cb();\n };\n i18n.on('initialized', initialized);\n }\n};\nexport const loadNamespaces = (i18n, ns, cb) => {\n i18n.loadNamespaces(ns, loadedClb(i18n, cb));\n};\nexport const loadLanguages = (i18n, lng, ns, cb) => {\n if (isString(ns)) ns = [ns];\n if (i18n.options.preload && i18n.options.preload.indexOf(lng) > -1) return loadNamespaces(i18n, ns, cb);\n ns.forEach(n => {\n if (i18n.options.ns.indexOf(n) < 0) i18n.options.ns.push(n);\n });\n i18n.loadLanguages(lng, loadedClb(i18n, cb));\n};\nexport const hasLoadedNamespace = (ns, i18n, options = {}) => {\n if (!i18n.languages || !i18n.languages.length) {\n warnOnce(i18n, 'NO_LANGUAGES', 'i18n.languages were undefined or empty', {\n languages: i18n.languages\n });\n return true;\n }\n return i18n.hasLoadedNamespace(ns, {\n lng: options.lng,\n precheck: (i18nInstance, loadNotPending) => {\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18nInstance.services.backendConnector.backend && i18nInstance.isLanguageChangingTo && !loadNotPending(i18nInstance.isLanguageChangingTo, ns)) return false;\n }\n });\n};\nexport const getDisplayName = Component => Component.displayName || Component.name || (isString(Component) && Component.length > 0 ? Component : 'Unknown');\nexport const isString = obj => typeof obj === 'string';\nexport const isObject = obj => typeof obj === 'object' && obj !== null;"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,QAAQ,MAAM,MAAM,KAAK,SAAS;CAC7C,MAAM,OAAO,CAAC,KAAK;EACjB;EACA,GAAI,QAAQ,CAAC;CACf,CAAC;CACD,IAAI,MAAM,UAAU,QAAQ,SAC1B,OAAO,KAAK,SAAS,OAAO,QAAQ,MAAM,QAAQ,mBAAmB,IAAI;CAE3E,IAAI,SAAS,KAAK,EAAE,GAAG,KAAK,KAAK,mBAAmB,KAAK;CACzD,IAAI,MAAM,UAAU,QAAQ,MAC1B,KAAK,SAAS,OAAO,KAAK,GAAG,IAAI;MAC5B,IAAI,SAAS,MAClB,QAAQ,KAAK,GAAG,IAAI;AAExB;AACA,IAAM,gBAAgB,CAAC;AACvB,IAAa,YAAY,MAAM,MAAM,KAAK,SAAS;CACjD,IAAI,SAAS,GAAG,KAAK,cAAc,MAAM;CACzC,IAAI,SAAS,GAAG,GAAG,cAAc,uBAAO,IAAI,KAAK;CACjD,KAAK,MAAM,MAAM,KAAK,IAAI;AAC5B;AACA,IAAM,aAAa,MAAM,aAAa;CACpC,IAAI,KAAK,eACP,GAAG;MACE;EACL,MAAM,oBAAoB;GACxB,iBAAiB;IACf,KAAK,IAAI,eAAe,WAAW;GACrC,GAAG,CAAC;GACJ,GAAG;EACL;EACA,KAAK,GAAG,eAAe,WAAW;CACpC;AACF;AACA,IAAa,kBAAkB,MAAM,IAAI,OAAO;CAC9C,KAAK,eAAe,IAAI,UAAU,MAAM,EAAE,CAAC;AAC7C;AACA,IAAa,iBAAiB,MAAM,KAAK,IAAI,OAAO;CAClD,IAAI,SAAS,EAAE,GAAG,KAAK,CAAC,EAAE;CAC1B,IAAI,KAAK,QAAQ,WAAW,KAAK,QAAQ,QAAQ,QAAQ,GAAG,IAAI,IAAI,OAAO,eAAe,MAAM,IAAI,EAAE;CACtG,GAAG,SAAQ,MAAK;EACd,IAAI,KAAK,QAAQ,GAAG,QAAQ,CAAC,IAAI,GAAG,KAAK,QAAQ,GAAG,KAAK,CAAC;CAC5D,CAAC;CACD,KAAK,cAAc,KAAK,UAAU,MAAM,EAAE,CAAC;AAC7C;AACA,IAAa,sBAAsB,IAAI,MAAM,UAAU,CAAC,MAAM;CAC5D,IAAI,CAAC,KAAK,aAAa,CAAC,KAAK,UAAU,QAAQ;EAC7C,SAAS,MAAM,gBAAgB,0CAA0C,EACvE,WAAW,KAAK,UAClB,CAAC;EACD,OAAO;CACT;CACA,OAAO,KAAK,mBAAmB,IAAI;EACjC,KAAK,QAAQ;EACb,WAAW,cAAc,mBAAmB;GAC1C,IAAI,QAAQ,YAAY,QAAQ,SAAS,QAAQ,kBAAkB,IAAI,MAAM,aAAa,SAAS,iBAAiB,WAAW,aAAa,wBAAwB,CAAC,eAAe,aAAa,sBAAsB,EAAE,GAAG,OAAO;EACrO;CACF,CAAC;AACH;AAEA,IAAa,YAAW,QAAO,OAAO,QAAQ;AAC9C,IAAa,YAAW,QAAO,OAAO,QAAQ,YAAY,QAAQ"}
@@ -1,70 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../_virtual/_rolldown/runtime.js";
2
- //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
3
- /**
4
- * @license React
5
- * use-sync-external-store-shim.development.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var require_use_sync_external_store_shim_development = /* @__PURE__ */ __commonJSMin(((exports) => {
13
- "production" !== process.env.NODE_ENV && (function() {
14
- function is(x, y) {
15
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
16
- }
17
- function useSyncExternalStore$2(subscribe, getSnapshot) {
18
- didWarnOld18Alpha || void 0 === React.startTransition || (didWarnOld18Alpha = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
19
- var value = getSnapshot();
20
- if (!didWarnUncachedGetSnapshot) {
21
- var cachedValue = getSnapshot();
22
- objectIs(value, cachedValue) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0);
23
- }
24
- cachedValue = useState({ inst: {
25
- value,
26
- getSnapshot
27
- } });
28
- var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
29
- useLayoutEffect(function() {
30
- inst.value = value;
31
- inst.getSnapshot = getSnapshot;
32
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
33
- }, [
34
- subscribe,
35
- value,
36
- getSnapshot
37
- ]);
38
- useEffect(function() {
39
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
40
- return subscribe(function() {
41
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
42
- });
43
- }, [subscribe]);
44
- useDebugValue(value);
45
- return value;
46
- }
47
- function checkIfSnapshotChanged(inst) {
48
- var latestGetSnapshot = inst.getSnapshot;
49
- inst = inst.value;
50
- try {
51
- var nextValue = latestGetSnapshot();
52
- return !objectIs(inst, nextValue);
53
- } catch (error) {
54
- return !0;
55
- }
56
- }
57
- function useSyncExternalStore$1(subscribe, getSnapshot) {
58
- return getSnapshot();
59
- }
60
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
61
- var React = __require("react"), objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = !1, didWarnUncachedGetSnapshot = !1, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
62
- exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
63
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
64
- })();
65
- }));
66
- //#endregion
67
- export default require_use_sync_external_store_shim_development();
68
- export { require_use_sync_external_store_shim_development };
69
-
70
- //# sourceMappingURL=use-sync-external-store-shim.development.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-sync-external-store-shim.development.js","names":[],"sources":["../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;CAWA,iBAAA,QAAA,IAAA,aACG,WAAY;EACX,SAAS,GAAG,GAAG,GAAG;GAChB,OAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;EACxE;EACA,SAAS,uBAAuB,WAAW,aAAa;GACtD,qBACE,KAAK,MAAM,MAAM,oBACf,oBAAoB,CAAC,GACvB,QAAQ,MACN,gMACF;GACF,IAAI,QAAQ,YAAY;GACxB,IAAI,CAAC,4BAA4B;IAC/B,IAAI,cAAc,YAAY;IAC9B,SAAS,OAAO,WAAW,MACxB,QAAQ,MACP,sEACF,GACC,6BAA6B,CAAC;GACnC;GACA,cAAc,SAAS,EACrB,MAAM;IAAS;IAAoB;GAAY,EACjD,CAAC;GACD,IAAI,OAAO,YAAY,GAAG,MACxB,cAAc,YAAY;GAC5B,gBACE,WAAY;IACV,KAAK,QAAQ;IACb,KAAK,cAAc;IACnB,uBAAuB,IAAI,KAAK,YAAY,EAAQ,KAAK,CAAC;GAC5D,GACA;IAAC;IAAW;IAAO;GAAW,CAChC;GACA,UACE,WAAY;IACV,uBAAuB,IAAI,KAAK,YAAY,EAAQ,KAAK,CAAC;IAC1D,OAAO,UAAU,WAAY;KAC3B,uBAAuB,IAAI,KAAK,YAAY,EAAQ,KAAK,CAAC;IAC5D,CAAC;GACH,GACA,CAAC,SAAS,CACZ;GACA,cAAc,KAAK;GACnB,OAAO;EACT;EACA,SAAS,uBAAuB,MAAM;GACpC,IAAI,oBAAoB,KAAK;GAC7B,OAAO,KAAK;GACZ,IAAI;IACF,IAAI,YAAY,kBAAkB;IAClC,OAAO,CAAC,SAAS,MAAM,SAAS;GAClC,SAAS,OAAO;IACd,OAAO,CAAC;GACV;EACF;EACA,SAAS,uBAAuB,WAAW,aAAa;GACtD,OAAO,YAAY;EACrB;EACA,gBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,+BACxC,+BAA+B,4BAA4B,MAAM,CAAC;EACpE,IAAI,QAAA,UAAgB,OAAO,GACzB,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IACzD,WAAW,MAAM,UACjB,YAAY,MAAM,WAClB,kBAAkB,MAAM,iBACxB,gBAAgB,MAAM,eACtB,oBAAoB,CAAC,GACrB,6BAA6B,CAAC,GAC9B,OACE,gBAAgB,OAAO,UACvB,gBAAgB,OAAO,OAAO,YAC9B,gBAAgB,OAAO,OAAO,SAAS,gBACnC,yBACA;EACR,QAAQ,uBACN,KAAK,MAAM,MAAM,uBAAuB,MAAM,uBAAuB;EACvE,gBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,8BACxC,+BAA+B,2BAA2B,MAAM,CAAC;CACrE,GAAG"}
@@ -1,61 +0,0 @@
1
- import { __commonJSMin, __require } from "../../../_virtual/_rolldown/runtime.js";
2
- //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
3
- /**
4
- * @license React
5
- * use-sync-external-store-shim.production.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJSMin(((exports) => {
13
- var React = __require("react");
14
- function is(x, y) {
15
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
16
- }
17
- var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue;
18
- function useSyncExternalStore$2(subscribe, getSnapshot) {
19
- var value = getSnapshot(), _useState = useState({ inst: {
20
- value,
21
- getSnapshot
22
- } }), inst = _useState[0].inst, forceUpdate = _useState[1];
23
- useLayoutEffect(function() {
24
- inst.value = value;
25
- inst.getSnapshot = getSnapshot;
26
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
27
- }, [
28
- subscribe,
29
- value,
30
- getSnapshot
31
- ]);
32
- useEffect(function() {
33
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
34
- return subscribe(function() {
35
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
36
- });
37
- }, [subscribe]);
38
- useDebugValue(value);
39
- return value;
40
- }
41
- function checkIfSnapshotChanged(inst) {
42
- var latestGetSnapshot = inst.getSnapshot;
43
- inst = inst.value;
44
- try {
45
- var nextValue = latestGetSnapshot();
46
- return !objectIs(inst, nextValue);
47
- } catch (error) {
48
- return !0;
49
- }
50
- }
51
- function useSyncExternalStore$1(subscribe, getSnapshot) {
52
- return getSnapshot();
53
- }
54
- var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
55
- exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
56
- }));
57
- //#endregion
58
- export default require_use_sync_external_store_shim_production();
59
- export { require_use_sync_external_store_shim_production };
60
-
61
- //# sourceMappingURL=use-sync-external-store-shim.production.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-sync-external-store-shim.production.js","names":[],"sources":["../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;CAWA,IAAI,QAAA,UAAgB,OAAO;CAC3B,SAAS,GAAG,GAAG,GAAG;EAChB,OAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;CACxE;CACA,IAAI,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IAC3D,WAAW,MAAM,UACjB,YAAY,MAAM,WAClB,kBAAkB,MAAM,iBACxB,gBAAgB,MAAM;CACxB,SAAS,uBAAuB,WAAW,aAAa;EACtD,IAAI,QAAQ,YAAY,GACtB,YAAY,SAAS,EAAE,MAAM;GAAS;GAAoB;EAAY,EAAE,CAAC,GACzE,OAAO,UAAU,GAAG,MACpB,cAAc,UAAU;EAC1B,gBACE,WAAY;GACV,KAAK,QAAQ;GACb,KAAK,cAAc;GACnB,uBAAuB,IAAI,KAAK,YAAY,EAAQ,KAAK,CAAC;EAC5D,GACA;GAAC;GAAW;GAAO;EAAW,CAChC;EACA,UACE,WAAY;GACV,uBAAuB,IAAI,KAAK,YAAY,EAAQ,KAAK,CAAC;GAC1D,OAAO,UAAU,WAAY;IAC3B,uBAAuB,IAAI,KAAK,YAAY,EAAQ,KAAK,CAAC;GAC5D,CAAC;EACH,GACA,CAAC,SAAS,CACZ;EACA,cAAc,KAAK;EACnB,OAAO;CACT;CACA,SAAS,uBAAuB,MAAM;EACpC,IAAI,oBAAoB,KAAK;EAC7B,OAAO,KAAK;EACZ,IAAI;GACF,IAAI,YAAY,kBAAkB;GAClC,OAAO,CAAC,SAAS,MAAM,SAAS;EAClC,SAAS,OAAO;GACd,OAAO,CAAC;EACV;CACF;CACA,SAAS,uBAAuB,WAAW,aAAa;EACtD,OAAO,YAAY;CACrB;CACA,IAAI,OACF,gBAAgB,OAAO,UACvB,gBAAgB,OAAO,OAAO,YAC9B,gBAAgB,OAAO,OAAO,SAAS,gBACnC,yBACA;CACN,QAAQ,uBACN,KAAK,MAAM,MAAM,uBAAuB,MAAM,uBAAuB"}
@@ -1,13 +0,0 @@
1
- import { __commonJSMin } from "../../../_virtual/_rolldown/runtime.js";
2
- import { require_use_sync_external_store_shim_production } from "../cjs/use-sync-external-store-shim.production.js";
3
- import { require_use_sync_external_store_shim_development } from "../cjs/use-sync-external-store-shim.development.js";
4
- //#region node_modules/use-sync-external-store/shim/index.js
5
- var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- if (process.env.NODE_ENV === "production") module.exports = require_use_sync_external_store_shim_production();
7
- else module.exports = require_use_sync_external_store_shim_development();
8
- }));
9
- //#endregion
10
- export default require_shim();
11
- export { require_shim };
12
-
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAEA,IAAA,QAAA,IAAA,aAA6B,cAC3B,OAAO,UAAA,gDAAA;MAEP,OAAO,UAAA,iDAAA"}
@@ -1,9 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { TableColumn, TableRow } from './types';
3
- export type ColumnCellArgs = {
4
- column: TableColumn;
5
- row: TableRow;
6
- value: unknown;
7
- };
8
- export type ColumnCellComponent = (args: ColumnCellArgs) => ReactNode;
9
- export type ColumnRegistry = Record<string, ColumnCellComponent>;
@@ -1,14 +0,0 @@
1
- import { Node, PropsOf, Schema } from './core/types';
2
- /**
3
- * Build a node fixture for tests with only the props a case cares about. The wire
4
- * always carries the full prop object, but component reads default what's omitted,
5
- * so partial props are safe here. Prop names stay checked against the node's
6
- * generated type via `Partial<PropsOf<T>>`.
7
- */
8
- export declare function fakeNode<TType extends string>(node: {
9
- type: TType;
10
- id?: string;
11
- key?: string;
12
- schema?: Schema;
13
- props?: Partial<PropsOf<TType>>;
14
- }): Node<TType>;
@@ -1,14 +0,0 @@
1
- //#region resources/js/test-support.ts
2
- /**
3
- * Build a node fixture for tests with only the props a case cares about. The wire
4
- * always carries the full prop object, but component reads default what's omitted,
5
- * so partial props are safe here. Prop names stay checked against the node's
6
- * generated type via `Partial<PropsOf<T>>`.
7
- */
8
- function fakeNode(node) {
9
- return node;
10
- }
11
- //#endregion
12
- export { fakeNode };
13
-
14
- //# sourceMappingURL=test-support.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"test-support.js","names":[],"sources":["../resources/js/test-support.ts"],"sourcesContent":["import type { Node, PropsOf, Schema } from \"./core/types\";\n\n/**\n * Build a node fixture for tests with only the props a case cares about. The wire\n * always carries the full prop object, but component reads default what's omitted,\n * so partial props are safe here. Prop names stay checked against the node's\n * generated type via `Partial<PropsOf<T>>`.\n */\nexport function fakeNode<TType extends string>(node: {\n type: TType;\n id?: string;\n key?: string;\n schema?: Schema;\n props?: Partial<PropsOf<TType>>;\n}): Node<TType> {\n return node as unknown as Node<TType>;\n}\n"],"mappings":";;;;;;;AAQA,SAAgB,SAA+B,MAM/B;CACd,OAAO;AACT"}