@pallasoft/ps-internal-components 1.0.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 (702) hide show
  1. package/LICENSE +32 -0
  2. package/README.md +21 -0
  3. package/dist/components/ps-alert-description.d.ts +3 -0
  4. package/dist/components/ps-alert-description.js +5 -0
  5. package/dist/components/ps-alert-dialog-action.d.ts +3 -0
  6. package/dist/components/ps-alert-dialog-action.js +8 -0
  7. package/dist/components/ps-alert-dialog-cancel.d.ts +3 -0
  8. package/dist/components/ps-alert-dialog-cancel.js +8 -0
  9. package/dist/components/ps-alert-dialog-content.d.ts +3 -0
  10. package/dist/components/ps-alert-dialog-content.js +9 -0
  11. package/dist/components/ps-alert-dialog-description.d.ts +3 -0
  12. package/dist/components/ps-alert-dialog-description.js +7 -0
  13. package/dist/components/ps-alert-dialog-footer.d.ts +5 -0
  14. package/dist/components/ps-alert-dialog-footer.js +5 -0
  15. package/dist/components/ps-alert-dialog-header.d.ts +5 -0
  16. package/dist/components/ps-alert-dialog-header.js +5 -0
  17. package/dist/components/ps-alert-dialog-overlay.d.ts +3 -0
  18. package/dist/components/ps-alert-dialog-overlay.js +7 -0
  19. package/dist/components/ps-alert-dialog-portal.d.ts +2 -0
  20. package/dist/components/ps-alert-dialog-portal.js +3 -0
  21. package/dist/components/ps-alert-dialog-title.d.ts +3 -0
  22. package/dist/components/ps-alert-dialog-title.js +7 -0
  23. package/dist/components/ps-alert-dialog-trigger.d.ts +2 -0
  24. package/dist/components/ps-alert-dialog-trigger.js +3 -0
  25. package/dist/components/ps-alert-dialog.d.ts +2 -0
  26. package/dist/components/ps-alert-dialog.js +3 -0
  27. package/dist/components/ps-alert-title.d.ts +3 -0
  28. package/dist/components/ps-alert-title.js +5 -0
  29. package/dist/components/ps-alert.d.ts +3 -0
  30. package/dist/components/ps-alert.js +6 -0
  31. package/dist/components/ps-app-header.d.ts +3 -0
  32. package/dist/components/ps-app-header.js +22 -0
  33. package/dist/components/ps-app-switcher-section.d.ts +2 -0
  34. package/dist/components/ps-app-switcher-section.js +3 -0
  35. package/dist/components/ps-app-switcher-tile.d.ts +3 -0
  36. package/dist/components/ps-app-switcher-tile.js +11 -0
  37. package/dist/components/ps-app-switcher.d.ts +3 -0
  38. package/dist/components/ps-app-switcher.js +16 -0
  39. package/dist/components/ps-avatar-fallback.d.ts +3 -0
  40. package/dist/components/ps-avatar-fallback.js +6 -0
  41. package/dist/components/ps-avatar-image.d.ts +3 -0
  42. package/dist/components/ps-avatar-image.js +6 -0
  43. package/dist/components/ps-avatar.d.ts +3 -0
  44. package/dist/components/ps-avatar.js +7 -0
  45. package/dist/components/ps-badge.d.ts +2 -0
  46. package/dist/components/ps-badge.js +9 -0
  47. package/dist/components/ps-breadcrumb-ellipsis.d.ts +5 -0
  48. package/dist/components/ps-breadcrumb-ellipsis.js +5 -0
  49. package/dist/components/ps-breadcrumb-item.d.ts +3 -0
  50. package/dist/components/ps-breadcrumb-item.js +5 -0
  51. package/dist/components/ps-breadcrumb-link.d.ts +3 -0
  52. package/dist/components/ps-breadcrumb-link.js +9 -0
  53. package/dist/components/ps-breadcrumb-list.d.ts +3 -0
  54. package/dist/components/ps-breadcrumb-list.js +5 -0
  55. package/dist/components/ps-breadcrumb-page.d.ts +3 -0
  56. package/dist/components/ps-breadcrumb-page.js +5 -0
  57. package/dist/components/ps-breadcrumb-separator.d.ts +5 -0
  58. package/dist/components/ps-breadcrumb-separator.js +5 -0
  59. package/dist/components/ps-breadcrumb.d.ts +3 -0
  60. package/dist/components/ps-breadcrumb.js +4 -0
  61. package/dist/components/ps-button.d.ts +3 -0
  62. package/dist/components/ps-button.js +10 -0
  63. package/dist/components/ps-calendar.d.ts +3 -0
  64. package/dist/components/ps-calendar.js +39 -0
  65. package/dist/components/ps-card-content.d.ts +3 -0
  66. package/dist/components/ps-card-content.js +5 -0
  67. package/dist/components/ps-card-description.d.ts +3 -0
  68. package/dist/components/ps-card-description.js +5 -0
  69. package/dist/components/ps-card-footer.d.ts +3 -0
  70. package/dist/components/ps-card-footer.js +5 -0
  71. package/dist/components/ps-card-header.d.ts +3 -0
  72. package/dist/components/ps-card-header.js +5 -0
  73. package/dist/components/ps-card-title.d.ts +3 -0
  74. package/dist/components/ps-card-title.js +5 -0
  75. package/dist/components/ps-card.d.ts +3 -0
  76. package/dist/components/ps-card.js +6 -0
  77. package/dist/components/ps-chart-container.d.ts +3 -0
  78. package/dist/components/ps-chart-container.js +13 -0
  79. package/dist/components/ps-chart-legend-content.d.ts +2 -0
  80. package/dist/components/ps-chart-legend-content.js +15 -0
  81. package/dist/components/ps-chart-legend.d.ts +2 -0
  82. package/dist/components/ps-chart-legend.js +2 -0
  83. package/dist/components/ps-chart-primitives.d.ts +678 -0
  84. package/dist/components/ps-chart-primitives.js +14 -0
  85. package/dist/components/ps-chart-style.d.ts +2 -0
  86. package/dist/components/ps-chart-style.js +8 -0
  87. package/dist/components/ps-chart-tooltip-content.d.ts +3 -0
  88. package/dist/components/ps-chart-tooltip-content.js +45 -0
  89. package/dist/components/ps-chart-tooltip.d.ts +2 -0
  90. package/dist/components/ps-chart-tooltip.js +2 -0
  91. package/dist/components/ps-checkbox.d.ts +3 -0
  92. package/dist/components/ps-checkbox.js +7 -0
  93. package/dist/components/ps-combobox.d.ts +3 -0
  94. package/dist/components/ps-combobox.js +23 -0
  95. package/dist/components/ps-command-dialog.d.ts +2 -0
  96. package/dist/components/ps-command-dialog.js +8 -0
  97. package/dist/components/ps-command-empty.d.ts +3 -0
  98. package/dist/components/ps-command-empty.js +6 -0
  99. package/dist/components/ps-command-group.d.ts +3 -0
  100. package/dist/components/ps-command-group.js +7 -0
  101. package/dist/components/ps-command-input.d.ts +3 -0
  102. package/dist/components/ps-command-input.js +8 -0
  103. package/dist/components/ps-command-item.d.ts +3 -0
  104. package/dist/components/ps-command-item.js +7 -0
  105. package/dist/components/ps-command-list.d.ts +3 -0
  106. package/dist/components/ps-command-list.js +7 -0
  107. package/dist/components/ps-command-separator.d.ts +3 -0
  108. package/dist/components/ps-command-separator.js +7 -0
  109. package/dist/components/ps-command-shortcut.d.ts +5 -0
  110. package/dist/components/ps-command-shortcut.js +7 -0
  111. package/dist/components/ps-command.d.ts +3 -0
  112. package/dist/components/ps-command.js +7 -0
  113. package/dist/components/ps-date-picker.d.ts +3 -0
  114. package/dist/components/ps-date-picker.js +24 -0
  115. package/dist/components/ps-dialog-close.d.ts +2 -0
  116. package/dist/components/ps-dialog-close.js +3 -0
  117. package/dist/components/ps-dialog-content.d.ts +3 -0
  118. package/dist/components/ps-dialog-content.js +10 -0
  119. package/dist/components/ps-dialog-description.d.ts +3 -0
  120. package/dist/components/ps-dialog-description.js +7 -0
  121. package/dist/components/ps-dialog-footer.d.ts +5 -0
  122. package/dist/components/ps-dialog-footer.js +5 -0
  123. package/dist/components/ps-dialog-header.d.ts +5 -0
  124. package/dist/components/ps-dialog-header.js +5 -0
  125. package/dist/components/ps-dialog-overlay.d.ts +3 -0
  126. package/dist/components/ps-dialog-overlay.js +7 -0
  127. package/dist/components/ps-dialog-portal.d.ts +2 -0
  128. package/dist/components/ps-dialog-portal.js +3 -0
  129. package/dist/components/ps-dialog-title.d.ts +3 -0
  130. package/dist/components/ps-dialog-title.js +7 -0
  131. package/dist/components/ps-dialog-trigger.d.ts +2 -0
  132. package/dist/components/ps-dialog-trigger.js +3 -0
  133. package/dist/components/ps-dialog.d.ts +2 -0
  134. package/dist/components/ps-dialog.js +3 -0
  135. package/dist/components/ps-dropdown-menu-checkbox-item.d.ts +3 -0
  136. package/dist/components/ps-dropdown-menu-checkbox-item.js +7 -0
  137. package/dist/components/ps-dropdown-menu-content.d.ts +3 -0
  138. package/dist/components/ps-dropdown-menu-content.js +6 -0
  139. package/dist/components/ps-dropdown-menu-group.d.ts +2 -0
  140. package/dist/components/ps-dropdown-menu-group.js +2 -0
  141. package/dist/components/ps-dropdown-menu-item.d.ts +3 -0
  142. package/dist/components/ps-dropdown-menu-item.js +6 -0
  143. package/dist/components/ps-dropdown-menu-label.d.ts +3 -0
  144. package/dist/components/ps-dropdown-menu-label.js +6 -0
  145. package/dist/components/ps-dropdown-menu-portal.d.ts +2 -0
  146. package/dist/components/ps-dropdown-menu-portal.js +2 -0
  147. package/dist/components/ps-dropdown-menu-radio-group.d.ts +2 -0
  148. package/dist/components/ps-dropdown-menu-radio-group.js +2 -0
  149. package/dist/components/ps-dropdown-menu-radio-item.d.ts +3 -0
  150. package/dist/components/ps-dropdown-menu-radio-item.js +7 -0
  151. package/dist/components/ps-dropdown-menu-separator.d.ts +3 -0
  152. package/dist/components/ps-dropdown-menu-separator.js +6 -0
  153. package/dist/components/ps-dropdown-menu-shortcut.d.ts +5 -0
  154. package/dist/components/ps-dropdown-menu-shortcut.js +6 -0
  155. package/dist/components/ps-dropdown-menu-sub-content.d.ts +3 -0
  156. package/dist/components/ps-dropdown-menu-sub-content.js +6 -0
  157. package/dist/components/ps-dropdown-menu-sub-trigger.d.ts +3 -0
  158. package/dist/components/ps-dropdown-menu-sub-trigger.js +7 -0
  159. package/dist/components/ps-dropdown-menu-sub.d.ts +2 -0
  160. package/dist/components/ps-dropdown-menu-sub.js +2 -0
  161. package/dist/components/ps-dropdown-menu-trigger.d.ts +2 -0
  162. package/dist/components/ps-dropdown-menu-trigger.js +2 -0
  163. package/dist/components/ps-dropdown-menu.d.ts +2 -0
  164. package/dist/components/ps-dropdown-menu.js +2 -0
  165. package/dist/components/ps-email-input.d.ts +3 -0
  166. package/dist/components/ps-email-input.js +12 -0
  167. package/dist/components/ps-empty-content.d.ts +3 -0
  168. package/dist/components/ps-empty-content.js +5 -0
  169. package/dist/components/ps-empty-description.d.ts +3 -0
  170. package/dist/components/ps-empty-description.js +5 -0
  171. package/dist/components/ps-empty-media.d.ts +3 -0
  172. package/dist/components/ps-empty-media.js +5 -0
  173. package/dist/components/ps-empty-panel.d.ts +3 -0
  174. package/dist/components/ps-empty-panel.js +5 -0
  175. package/dist/components/ps-empty-title.d.ts +3 -0
  176. package/dist/components/ps-empty-title.js +5 -0
  177. package/dist/components/ps-empty.d.ts +3 -0
  178. package/dist/components/ps-empty.js +5 -0
  179. package/dist/components/ps-field-content.d.ts +3 -0
  180. package/dist/components/ps-field-content.js +5 -0
  181. package/dist/components/ps-field-description.d.ts +3 -0
  182. package/dist/components/ps-field-description.js +5 -0
  183. package/dist/components/ps-field-error.d.ts +3 -0
  184. package/dist/components/ps-field-error.js +5 -0
  185. package/dist/components/ps-field-group.d.ts +3 -0
  186. package/dist/components/ps-field-group.js +5 -0
  187. package/dist/components/ps-field-label.d.ts +3 -0
  188. package/dist/components/ps-field-label.js +6 -0
  189. package/dist/components/ps-field.d.ts +3 -0
  190. package/dist/components/ps-field.js +8 -0
  191. package/dist/components/ps-file-picker.d.ts +3 -0
  192. package/dist/components/ps-file-picker.js +32 -0
  193. package/dist/components/ps-input-group.d.ts +2 -0
  194. package/dist/components/ps-input-group.js +3 -0
  195. package/dist/components/ps-input.d.ts +3 -0
  196. package/dist/components/ps-input.js +10 -0
  197. package/dist/components/ps-kbd.d.ts +3 -0
  198. package/dist/components/ps-kbd.js +5 -0
  199. package/dist/components/ps-label.d.ts +3 -0
  200. package/dist/components/ps-label.js +7 -0
  201. package/dist/components/ps-money-input.d.ts +3 -0
  202. package/dist/components/ps-money-input.js +27 -0
  203. package/dist/components/ps-navigation-progress.d.ts +3 -0
  204. package/dist/components/ps-navigation-progress.js +28 -0
  205. package/dist/components/ps-not-found.d.ts +2 -0
  206. package/dist/components/ps-not-found.js +4 -0
  207. package/dist/components/ps-option-select.d.ts +2 -0
  208. package/dist/components/ps-option-select.js +12 -0
  209. package/dist/components/ps-password-input.d.ts +3 -0
  210. package/dist/components/ps-password-input.js +14 -0
  211. package/dist/components/ps-percent-input.d.ts +3 -0
  212. package/dist/components/ps-percent-input.js +12 -0
  213. package/dist/components/ps-phone-input.d.ts +3 -0
  214. package/dist/components/ps-phone-input.js +40 -0
  215. package/dist/components/ps-popover-anchor.d.ts +2 -0
  216. package/dist/components/ps-popover-anchor.js +3 -0
  217. package/dist/components/ps-popover-content.d.ts +3 -0
  218. package/dist/components/ps-popover-content.js +7 -0
  219. package/dist/components/ps-popover-trigger.d.ts +2 -0
  220. package/dist/components/ps-popover-trigger.js +3 -0
  221. package/dist/components/ps-popover.d.ts +2 -0
  222. package/dist/components/ps-popover.js +3 -0
  223. package/dist/components/ps-progress.d.ts +3 -0
  224. package/dist/components/ps-progress.js +6 -0
  225. package/dist/components/ps-radio-group-item.d.ts +3 -0
  226. package/dist/components/ps-radio-group-item.js +10 -0
  227. package/dist/components/ps-radio-group.d.ts +3 -0
  228. package/dist/components/ps-radio-group.js +9 -0
  229. package/dist/components/ps-root-error.d.ts +2 -0
  230. package/dist/components/ps-root-error.js +4 -0
  231. package/dist/components/ps-scroll-area.d.ts +3 -0
  232. package/dist/components/ps-scroll-area.js +7 -0
  233. package/dist/components/ps-scroll-bar.d.ts +3 -0
  234. package/dist/components/ps-scroll-bar.js +6 -0
  235. package/dist/components/ps-select-content.d.ts +3 -0
  236. package/dist/components/ps-select-content.js +10 -0
  237. package/dist/components/ps-select-group.d.ts +2 -0
  238. package/dist/components/ps-select-group.js +2 -0
  239. package/dist/components/ps-select-item.d.ts +3 -0
  240. package/dist/components/ps-select-item.js +7 -0
  241. package/dist/components/ps-select-label.d.ts +3 -0
  242. package/dist/components/ps-select-label.js +6 -0
  243. package/dist/components/ps-select-scroll-down-button.d.ts +3 -0
  244. package/dist/components/ps-select-scroll-down-button.js +7 -0
  245. package/dist/components/ps-select-scroll-up-button.d.ts +3 -0
  246. package/dist/components/ps-select-scroll-up-button.js +7 -0
  247. package/dist/components/ps-select-separator.d.ts +3 -0
  248. package/dist/components/ps-select-separator.js +6 -0
  249. package/dist/components/ps-select-trigger.d.ts +3 -0
  250. package/dist/components/ps-select-trigger.js +8 -0
  251. package/dist/components/ps-select-value.d.ts +2 -0
  252. package/dist/components/ps-select-value.js +2 -0
  253. package/dist/components/ps-select.d.ts +2 -0
  254. package/dist/components/ps-select.js +2 -0
  255. package/dist/components/ps-separator.d.ts +3 -0
  256. package/dist/components/ps-separator.js +7 -0
  257. package/dist/components/ps-sheet-close.d.ts +2 -0
  258. package/dist/components/ps-sheet-close.js +2 -0
  259. package/dist/components/ps-sheet-content.d.ts +3 -0
  260. package/dist/components/ps-sheet-content.js +10 -0
  261. package/dist/components/ps-sheet-description.d.ts +3 -0
  262. package/dist/components/ps-sheet-description.js +6 -0
  263. package/dist/components/ps-sheet-footer.d.ts +5 -0
  264. package/dist/components/ps-sheet-footer.js +4 -0
  265. package/dist/components/ps-sheet-header.d.ts +5 -0
  266. package/dist/components/ps-sheet-header.js +4 -0
  267. package/dist/components/ps-sheet-overlay.d.ts +3 -0
  268. package/dist/components/ps-sheet-overlay.js +6 -0
  269. package/dist/components/ps-sheet-portal.d.ts +2 -0
  270. package/dist/components/ps-sheet-portal.js +2 -0
  271. package/dist/components/ps-sheet-title.d.ts +3 -0
  272. package/dist/components/ps-sheet-title.js +6 -0
  273. package/dist/components/ps-sheet-trigger.d.ts +2 -0
  274. package/dist/components/ps-sheet-trigger.js +2 -0
  275. package/dist/components/ps-sheet.d.ts +2 -0
  276. package/dist/components/ps-sheet.js +2 -0
  277. package/dist/components/ps-skeleton.d.ts +2 -0
  278. package/dist/components/ps-skeleton.js +5 -0
  279. package/dist/components/ps-spinner.d.ts +3 -0
  280. package/dist/components/ps-spinner.js +6 -0
  281. package/dist/components/ps-status-panel.d.ts +3 -0
  282. package/dist/components/ps-status-panel.js +5 -0
  283. package/dist/components/ps-switch.d.ts +3 -0
  284. package/dist/components/ps-switch.js +6 -0
  285. package/dist/components/ps-table-body.d.ts +3 -0
  286. package/dist/components/ps-table-body.js +5 -0
  287. package/dist/components/ps-table-caption.d.ts +3 -0
  288. package/dist/components/ps-table-caption.js +5 -0
  289. package/dist/components/ps-table-cell.d.ts +3 -0
  290. package/dist/components/ps-table-cell.js +5 -0
  291. package/dist/components/ps-table-footer.d.ts +3 -0
  292. package/dist/components/ps-table-footer.js +5 -0
  293. package/dist/components/ps-table-head.d.ts +3 -0
  294. package/dist/components/ps-table-head.js +5 -0
  295. package/dist/components/ps-table-header.d.ts +3 -0
  296. package/dist/components/ps-table-header.js +5 -0
  297. package/dist/components/ps-table-row.d.ts +3 -0
  298. package/dist/components/ps-table-row.js +5 -0
  299. package/dist/components/ps-table.d.ts +3 -0
  300. package/dist/components/ps-table.js +5 -0
  301. package/dist/components/ps-tabs-content.d.ts +3 -0
  302. package/dist/components/ps-tabs-content.js +6 -0
  303. package/dist/components/ps-tabs-list.d.ts +3 -0
  304. package/dist/components/ps-tabs-list.js +6 -0
  305. package/dist/components/ps-tabs-trigger.d.ts +3 -0
  306. package/dist/components/ps-tabs-trigger.js +6 -0
  307. package/dist/components/ps-tabs.d.ts +2 -0
  308. package/dist/components/ps-tabs.js +2 -0
  309. package/dist/components/ps-textarea.d.ts +3 -0
  310. package/dist/components/ps-textarea.js +7 -0
  311. package/dist/components/ps-toggle-group-item.d.ts +3 -0
  312. package/dist/components/ps-toggle-group-item.js +15 -0
  313. package/dist/components/ps-toggle-group.d.ts +4 -0
  314. package/dist/components/ps-toggle-group.js +8 -0
  315. package/dist/components/ps-toggle.d.ts +3 -0
  316. package/dist/components/ps-toggle.js +7 -0
  317. package/dist/components/ps-tooltip-content.d.ts +3 -0
  318. package/dist/components/ps-tooltip-content.js +6 -0
  319. package/dist/components/ps-tooltip-provider.d.ts +2 -0
  320. package/dist/components/ps-tooltip-provider.js +2 -0
  321. package/dist/components/ps-tooltip-trigger.d.ts +2 -0
  322. package/dist/components/ps-tooltip-trigger.js +2 -0
  323. package/dist/components/ps-tooltip.d.ts +2 -0
  324. package/dist/components/ps-tooltip.js +2 -0
  325. package/dist/components/ps-url-input.d.ts +3 -0
  326. package/dist/components/ps-url-input.js +22 -0
  327. package/dist/components/ps-workspace-badge.d.ts +2 -0
  328. package/dist/components/ps-workspace-badge.js +8 -0
  329. package/dist/components/ps-workspace-switcher.d.ts +3 -0
  330. package/dist/components/ps-workspace-switcher.js +18 -0
  331. package/dist/constants/pallasoft-font-size.d.ts +44 -0
  332. package/dist/constants/pallasoft-font-size.js +16 -0
  333. package/dist/constants/pallasoft-motion.d.ts +62 -0
  334. package/dist/constants/pallasoft-motion.js +62 -0
  335. package/dist/constants/pallasoft-screens.d.ts +8 -0
  336. package/dist/constants/pallasoft-screens.js +8 -0
  337. package/dist/constants/pallasoft-shared-scale.d.ts +17 -0
  338. package/dist/constants/pallasoft-shared-scale.js +9 -0
  339. package/dist/constants/ps-alert-variants.d.ts +3 -0
  340. package/dist/constants/ps-alert-variants.js +14 -0
  341. package/dist/constants/ps-app-category-labels.d.ts +2 -0
  342. package/dist/constants/ps-app-category-labels.js +8 -0
  343. package/dist/constants/ps-app-category.d.ts +7 -0
  344. package/dist/constants/ps-app-category.js +8 -0
  345. package/dist/constants/ps-app-key.d.ts +15 -0
  346. package/dist/constants/ps-app-key.js +16 -0
  347. package/dist/constants/ps-app-switcher-config.d.ts +11 -0
  348. package/dist/constants/ps-app-switcher-config.js +11 -0
  349. package/dist/constants/ps-badge-variants.d.ts +3 -0
  350. package/dist/constants/ps-badge-variants.js +16 -0
  351. package/dist/constants/ps-button-variants.d.ts +4 -0
  352. package/dist/constants/ps-button-variants.js +23 -0
  353. package/dist/constants/ps-chart-defaults.d.ts +7 -0
  354. package/dist/constants/ps-chart-defaults.js +7 -0
  355. package/dist/constants/ps-chart-themes.d.ts +4 -0
  356. package/dist/constants/ps-chart-themes.js +4 -0
  357. package/dist/constants/ps-date-picker-config.d.ts +6 -0
  358. package/dist/constants/ps-date-picker-config.js +6 -0
  359. package/dist/constants/ps-external-apps.d.ts +2 -0
  360. package/dist/constants/ps-external-apps.js +60 -0
  361. package/dist/constants/ps-field-input-config.d.ts +6 -0
  362. package/dist/constants/ps-field-input-config.js +6 -0
  363. package/dist/constants/ps-field-orientation.d.ts +4 -0
  364. package/dist/constants/ps-field-orientation.js +5 -0
  365. package/dist/constants/ps-file-picker-config.d.ts +5 -0
  366. package/dist/constants/ps-file-picker-config.js +5 -0
  367. package/dist/constants/ps-label-variants.d.ts +1 -0
  368. package/dist/constants/ps-label-variants.js +2 -0
  369. package/dist/constants/ps-navigation-progress-config.d.ts +8 -0
  370. package/dist/constants/ps-navigation-progress-config.js +8 -0
  371. package/dist/constants/ps-navigation-state.d.ts +5 -0
  372. package/dist/constants/ps-navigation-state.js +6 -0
  373. package/dist/constants/ps-option-select-config.d.ts +5 -0
  374. package/dist/constants/ps-option-select-config.js +5 -0
  375. package/dist/constants/ps-pallasoft-app-url-field.d.ts +7 -0
  376. package/dist/constants/ps-pallasoft-app-url-field.js +8 -0
  377. package/dist/constants/ps-pallasoft-apps.d.ts +2 -0
  378. package/dist/constants/ps-pallasoft-apps.js +37 -0
  379. package/dist/constants/ps-password-input-config.d.ts +4 -0
  380. package/dist/constants/ps-password-input-config.js +4 -0
  381. package/dist/constants/ps-phone-input-config.d.ts +6 -0
  382. package/dist/constants/ps-phone-input-config.js +6 -0
  383. package/dist/constants/ps-root-status-messages.d.ts +11 -0
  384. package/dist/constants/ps-root-status-messages.js +11 -0
  385. package/dist/constants/ps-sheet-variants.d.ts +3 -0
  386. package/dist/constants/ps-sheet-variants.js +14 -0
  387. package/dist/constants/ps-toggle-variants.d.ts +4 -0
  388. package/dist/constants/ps-toggle-variants.js +18 -0
  389. package/dist/contexts/ps-chart-context.d.ts +3 -0
  390. package/dist/contexts/ps-chart-context.js +2 -0
  391. package/dist/contexts/ps-toggle-group-context.d.ts +3 -0
  392. package/dist/contexts/ps-toggle-group-context.js +5 -0
  393. package/dist/hooks/use-ps-chart.d.ts +2 -0
  394. package/dist/hooks/use-ps-chart.js +9 -0
  395. package/dist/index.d.ts +348 -0
  396. package/dist/index.js +348 -0
  397. package/dist/models/ps-alert-description-props.d.ts +3 -0
  398. package/dist/models/ps-alert-description-props.js +1 -0
  399. package/dist/models/ps-alert-dialog-action-props.d.ts +4 -0
  400. package/dist/models/ps-alert-dialog-action-props.js +1 -0
  401. package/dist/models/ps-alert-dialog-cancel-props.d.ts +4 -0
  402. package/dist/models/ps-alert-dialog-cancel-props.js +1 -0
  403. package/dist/models/ps-alert-dialog-content-props.d.ts +4 -0
  404. package/dist/models/ps-alert-dialog-content-props.js +1 -0
  405. package/dist/models/ps-alert-dialog-description-props.d.ts +4 -0
  406. package/dist/models/ps-alert-dialog-description-props.js +1 -0
  407. package/dist/models/ps-alert-dialog-footer-props.d.ts +3 -0
  408. package/dist/models/ps-alert-dialog-footer-props.js +1 -0
  409. package/dist/models/ps-alert-dialog-header-props.d.ts +3 -0
  410. package/dist/models/ps-alert-dialog-header-props.js +1 -0
  411. package/dist/models/ps-alert-dialog-overlay-props.d.ts +4 -0
  412. package/dist/models/ps-alert-dialog-overlay-props.js +1 -0
  413. package/dist/models/ps-alert-dialog-title-props.d.ts +4 -0
  414. package/dist/models/ps-alert-dialog-title-props.js +1 -0
  415. package/dist/models/ps-alert-props.d.ts +5 -0
  416. package/dist/models/ps-alert-props.js +1 -0
  417. package/dist/models/ps-alert-title-props.d.ts +3 -0
  418. package/dist/models/ps-alert-title-props.js +1 -0
  419. package/dist/models/ps-app-header-link-data.d.ts +7 -0
  420. package/dist/models/ps-app-header-link-data.js +1 -0
  421. package/dist/models/ps-app-header-nav-item-data.d.ts +6 -0
  422. package/dist/models/ps-app-header-nav-item-data.js +1 -0
  423. package/dist/models/ps-app-header-props.d.ts +17 -0
  424. package/dist/models/ps-app-header-props.js +1 -0
  425. package/dist/models/ps-app-header-user-data.d.ts +4 -0
  426. package/dist/models/ps-app-header-user-data.js +1 -0
  427. package/dist/models/ps-app-switcher-link-data.d.ts +11 -0
  428. package/dist/models/ps-app-switcher-link-data.js +1 -0
  429. package/dist/models/ps-app-switcher-props.d.ts +6 -0
  430. package/dist/models/ps-app-switcher-props.js +1 -0
  431. package/dist/models/ps-app-switcher-section-data.d.ts +7 -0
  432. package/dist/models/ps-app-switcher-section-data.js +1 -0
  433. package/dist/models/ps-app-switcher-section-props.d.ts +4 -0
  434. package/dist/models/ps-app-switcher-section-props.js +1 -0
  435. package/dist/models/ps-app-switcher-tile-props.d.ts +4 -0
  436. package/dist/models/ps-app-switcher-tile-props.js +1 -0
  437. package/dist/models/ps-avatar-fallback-props.d.ts +4 -0
  438. package/dist/models/ps-avatar-fallback-props.js +1 -0
  439. package/dist/models/ps-avatar-image-props.d.ts +4 -0
  440. package/dist/models/ps-avatar-image-props.js +1 -0
  441. package/dist/models/ps-avatar-props.d.ts +5 -0
  442. package/dist/models/ps-avatar-props.js +1 -0
  443. package/dist/models/ps-badge-props.d.ts +6 -0
  444. package/dist/models/ps-badge-props.js +1 -0
  445. package/dist/models/ps-breadcrumb-ellipsis-props.d.ts +3 -0
  446. package/dist/models/ps-breadcrumb-ellipsis-props.js +1 -0
  447. package/dist/models/ps-breadcrumb-item-props.d.ts +3 -0
  448. package/dist/models/ps-breadcrumb-item-props.js +1 -0
  449. package/dist/models/ps-breadcrumb-link-props.d.ts +4 -0
  450. package/dist/models/ps-breadcrumb-link-props.js +1 -0
  451. package/dist/models/ps-breadcrumb-list-props.d.ts +3 -0
  452. package/dist/models/ps-breadcrumb-list-props.js +1 -0
  453. package/dist/models/ps-breadcrumb-page-props.d.ts +3 -0
  454. package/dist/models/ps-breadcrumb-page-props.js +1 -0
  455. package/dist/models/ps-breadcrumb-props.d.ts +4 -0
  456. package/dist/models/ps-breadcrumb-props.js +1 -0
  457. package/dist/models/ps-breadcrumb-separator-props.d.ts +3 -0
  458. package/dist/models/ps-breadcrumb-separator-props.js +1 -0
  459. package/dist/models/ps-button-props.d.ts +6 -0
  460. package/dist/models/ps-button-props.js +1 -0
  461. package/dist/models/ps-card-content-props.d.ts +3 -0
  462. package/dist/models/ps-card-content-props.js +1 -0
  463. package/dist/models/ps-card-description-props.d.ts +3 -0
  464. package/dist/models/ps-card-description-props.js +1 -0
  465. package/dist/models/ps-card-footer-props.d.ts +3 -0
  466. package/dist/models/ps-card-footer-props.js +1 -0
  467. package/dist/models/ps-card-header-props.d.ts +3 -0
  468. package/dist/models/ps-card-header-props.js +1 -0
  469. package/dist/models/ps-card-props.d.ts +4 -0
  470. package/dist/models/ps-card-props.js +1 -0
  471. package/dist/models/ps-card-title-props.d.ts +3 -0
  472. package/dist/models/ps-card-title-props.js +1 -0
  473. package/dist/models/ps-chart-config-item.d.ts +10 -0
  474. package/dist/models/ps-chart-config-item.js +1 -0
  475. package/dist/models/ps-chart-config.d.ts +4 -0
  476. package/dist/models/ps-chart-config.js +1 -0
  477. package/dist/models/ps-chart-container-props.d.ts +7 -0
  478. package/dist/models/ps-chart-container-props.js +1 -0
  479. package/dist/models/ps-chart-context-data.d.ts +4 -0
  480. package/dist/models/ps-chart-context-data.js +1 -0
  481. package/dist/models/ps-chart-legend-content-props.d.ts +6 -0
  482. package/dist/models/ps-chart-legend-content-props.js +1 -0
  483. package/dist/models/ps-chart-style-props.d.ts +5 -0
  484. package/dist/models/ps-chart-style-props.js +1 -0
  485. package/dist/models/ps-chart-tooltip-content-props.d.ts +9 -0
  486. package/dist/models/ps-chart-tooltip-content-props.js +1 -0
  487. package/dist/models/ps-checkbox-props.d.ts +4 -0
  488. package/dist/models/ps-checkbox-props.js +1 -0
  489. package/dist/models/ps-combobox-props.d.ts +13 -0
  490. package/dist/models/ps-combobox-props.js +1 -0
  491. package/dist/models/ps-command-dialog-props.d.ts +3 -0
  492. package/dist/models/ps-command-dialog-props.js +1 -0
  493. package/dist/models/ps-command-empty-props.d.ts +4 -0
  494. package/dist/models/ps-command-empty-props.js +1 -0
  495. package/dist/models/ps-command-group-props.d.ts +4 -0
  496. package/dist/models/ps-command-group-props.js +1 -0
  497. package/dist/models/ps-command-input-props.d.ts +4 -0
  498. package/dist/models/ps-command-input-props.js +1 -0
  499. package/dist/models/ps-command-item-props.d.ts +4 -0
  500. package/dist/models/ps-command-item-props.js +1 -0
  501. package/dist/models/ps-command-list-props.d.ts +4 -0
  502. package/dist/models/ps-command-list-props.js +1 -0
  503. package/dist/models/ps-command-props.d.ts +4 -0
  504. package/dist/models/ps-command-props.js +1 -0
  505. package/dist/models/ps-command-separator-props.d.ts +4 -0
  506. package/dist/models/ps-command-separator-props.js +1 -0
  507. package/dist/models/ps-command-shortcut-props.d.ts +3 -0
  508. package/dist/models/ps-command-shortcut-props.js +1 -0
  509. package/dist/models/ps-date-picker-props.d.ts +11 -0
  510. package/dist/models/ps-date-picker-props.js +1 -0
  511. package/dist/models/ps-dialog-content-props.d.ts +4 -0
  512. package/dist/models/ps-dialog-content-props.js +1 -0
  513. package/dist/models/ps-dialog-description-props.d.ts +4 -0
  514. package/dist/models/ps-dialog-description-props.js +1 -0
  515. package/dist/models/ps-dialog-footer-props.d.ts +3 -0
  516. package/dist/models/ps-dialog-footer-props.js +1 -0
  517. package/dist/models/ps-dialog-header-props.d.ts +3 -0
  518. package/dist/models/ps-dialog-header-props.js +1 -0
  519. package/dist/models/ps-dialog-overlay-props.d.ts +4 -0
  520. package/dist/models/ps-dialog-overlay-props.js +1 -0
  521. package/dist/models/ps-dialog-title-props.d.ts +4 -0
  522. package/dist/models/ps-dialog-title-props.js +1 -0
  523. package/dist/models/ps-dropdown-menu-checkbox-item-props.d.ts +4 -0
  524. package/dist/models/ps-dropdown-menu-checkbox-item-props.js +1 -0
  525. package/dist/models/ps-dropdown-menu-content-props.d.ts +4 -0
  526. package/dist/models/ps-dropdown-menu-content-props.js +1 -0
  527. package/dist/models/ps-dropdown-menu-item-props.d.ts +5 -0
  528. package/dist/models/ps-dropdown-menu-item-props.js +1 -0
  529. package/dist/models/ps-dropdown-menu-label-props.d.ts +5 -0
  530. package/dist/models/ps-dropdown-menu-label-props.js +1 -0
  531. package/dist/models/ps-dropdown-menu-radio-item-props.d.ts +4 -0
  532. package/dist/models/ps-dropdown-menu-radio-item-props.js +1 -0
  533. package/dist/models/ps-dropdown-menu-separator-props.d.ts +4 -0
  534. package/dist/models/ps-dropdown-menu-separator-props.js +1 -0
  535. package/dist/models/ps-dropdown-menu-shortcut-props.d.ts +3 -0
  536. package/dist/models/ps-dropdown-menu-shortcut-props.js +1 -0
  537. package/dist/models/ps-dropdown-menu-sub-content-props.d.ts +4 -0
  538. package/dist/models/ps-dropdown-menu-sub-content-props.js +1 -0
  539. package/dist/models/ps-dropdown-menu-sub-trigger-props.d.ts +5 -0
  540. package/dist/models/ps-dropdown-menu-sub-trigger-props.js +1 -0
  541. package/dist/models/ps-empty-content-props.d.ts +3 -0
  542. package/dist/models/ps-empty-content-props.js +1 -0
  543. package/dist/models/ps-empty-description-props.d.ts +3 -0
  544. package/dist/models/ps-empty-description-props.js +1 -0
  545. package/dist/models/ps-empty-media-props.d.ts +3 -0
  546. package/dist/models/ps-empty-media-props.js +1 -0
  547. package/dist/models/ps-empty-panel-props.d.ts +3 -0
  548. package/dist/models/ps-empty-panel-props.js +1 -0
  549. package/dist/models/ps-empty-props.d.ts +3 -0
  550. package/dist/models/ps-empty-props.js +1 -0
  551. package/dist/models/ps-empty-title-props.d.ts +3 -0
  552. package/dist/models/ps-empty-title-props.js +1 -0
  553. package/dist/models/ps-external-app-data.d.ts +9 -0
  554. package/dist/models/ps-external-app-data.js +1 -0
  555. package/dist/models/ps-field-content-props.d.ts +3 -0
  556. package/dist/models/ps-field-content-props.js +1 -0
  557. package/dist/models/ps-field-description-props.d.ts +3 -0
  558. package/dist/models/ps-field-description-props.js +1 -0
  559. package/dist/models/ps-field-error-props.d.ts +3 -0
  560. package/dist/models/ps-field-error-props.js +1 -0
  561. package/dist/models/ps-field-group-props.d.ts +3 -0
  562. package/dist/models/ps-field-group-props.js +1 -0
  563. package/dist/models/ps-field-input-props.d.ts +4 -0
  564. package/dist/models/ps-field-input-props.js +1 -0
  565. package/dist/models/ps-field-label-props.d.ts +4 -0
  566. package/dist/models/ps-field-label-props.js +1 -0
  567. package/dist/models/ps-field-props.d.ts +5 -0
  568. package/dist/models/ps-field-props.js +1 -0
  569. package/dist/models/ps-file-picker-props.d.ts +10 -0
  570. package/dist/models/ps-file-picker-props.js +1 -0
  571. package/dist/models/ps-input-group-props.d.ts +7 -0
  572. package/dist/models/ps-input-group-props.js +1 -0
  573. package/dist/models/ps-input-props.d.ts +4 -0
  574. package/dist/models/ps-input-props.js +1 -0
  575. package/dist/models/ps-kbd-props.d.ts +3 -0
  576. package/dist/models/ps-kbd-props.js +1 -0
  577. package/dist/models/ps-label-props.d.ts +6 -0
  578. package/dist/models/ps-label-props.js +1 -0
  579. package/dist/models/ps-money-input-props.d.ts +8 -0
  580. package/dist/models/ps-money-input-props.js +1 -0
  581. package/dist/models/ps-navigation-progress-props.d.ts +5 -0
  582. package/dist/models/ps-navigation-progress-props.js +1 -0
  583. package/dist/models/ps-not-found-props.d.ts +3 -0
  584. package/dist/models/ps-not-found-props.js +1 -0
  585. package/dist/models/ps-option-data.d.ts +5 -0
  586. package/dist/models/ps-option-data.js +1 -0
  587. package/dist/models/ps-option-select-props.d.ts +12 -0
  588. package/dist/models/ps-option-select-props.js +1 -0
  589. package/dist/models/ps-pallasoft-app-data.d.ts +11 -0
  590. package/dist/models/ps-pallasoft-app-data.js +1 -0
  591. package/dist/models/ps-pallasoft-app-urls-data.d.ts +7 -0
  592. package/dist/models/ps-pallasoft-app-urls-data.js +1 -0
  593. package/dist/models/ps-phone-input-props.d.ts +11 -0
  594. package/dist/models/ps-phone-input-props.js +1 -0
  595. package/dist/models/ps-popover-content-props.d.ts +4 -0
  596. package/dist/models/ps-popover-content-props.js +1 -0
  597. package/dist/models/ps-progress-props.d.ts +4 -0
  598. package/dist/models/ps-progress-props.js +1 -0
  599. package/dist/models/ps-radio-group-item-props.d.ts +4 -0
  600. package/dist/models/ps-radio-group-item-props.js +1 -0
  601. package/dist/models/ps-radio-group-props.d.ts +4 -0
  602. package/dist/models/ps-radio-group-props.js +1 -0
  603. package/dist/models/ps-root-error-props.d.ts +5 -0
  604. package/dist/models/ps-root-error-props.js +1 -0
  605. package/dist/models/ps-scroll-area-props.d.ts +4 -0
  606. package/dist/models/ps-scroll-area-props.js +1 -0
  607. package/dist/models/ps-scroll-bar-props.d.ts +4 -0
  608. package/dist/models/ps-scroll-bar-props.js +1 -0
  609. package/dist/models/ps-select-content-props.d.ts +4 -0
  610. package/dist/models/ps-select-content-props.js +1 -0
  611. package/dist/models/ps-select-item-props.d.ts +4 -0
  612. package/dist/models/ps-select-item-props.js +1 -0
  613. package/dist/models/ps-select-label-props.d.ts +4 -0
  614. package/dist/models/ps-select-label-props.js +1 -0
  615. package/dist/models/ps-select-scroll-down-button-props.d.ts +4 -0
  616. package/dist/models/ps-select-scroll-down-button-props.js +1 -0
  617. package/dist/models/ps-select-scroll-up-button-props.d.ts +4 -0
  618. package/dist/models/ps-select-scroll-up-button-props.js +1 -0
  619. package/dist/models/ps-select-separator-props.d.ts +4 -0
  620. package/dist/models/ps-select-separator-props.js +1 -0
  621. package/dist/models/ps-select-trigger-props.d.ts +5 -0
  622. package/dist/models/ps-select-trigger-props.js +1 -0
  623. package/dist/models/ps-separator-props.d.ts +4 -0
  624. package/dist/models/ps-separator-props.js +1 -0
  625. package/dist/models/ps-sheet-content-props.d.ts +6 -0
  626. package/dist/models/ps-sheet-content-props.js +1 -0
  627. package/dist/models/ps-sheet-description-props.d.ts +4 -0
  628. package/dist/models/ps-sheet-description-props.js +1 -0
  629. package/dist/models/ps-sheet-footer-props.d.ts +3 -0
  630. package/dist/models/ps-sheet-footer-props.js +1 -0
  631. package/dist/models/ps-sheet-header-props.d.ts +3 -0
  632. package/dist/models/ps-sheet-header-props.js +1 -0
  633. package/dist/models/ps-sheet-overlay-props.d.ts +4 -0
  634. package/dist/models/ps-sheet-overlay-props.js +1 -0
  635. package/dist/models/ps-sheet-title-props.d.ts +4 -0
  636. package/dist/models/ps-sheet-title-props.js +1 -0
  637. package/dist/models/ps-skeleton-props.d.ts +2 -0
  638. package/dist/models/ps-skeleton-props.js +1 -0
  639. package/dist/models/ps-spinner-props.d.ts +4 -0
  640. package/dist/models/ps-spinner-props.js +1 -0
  641. package/dist/models/ps-status-panel-props.d.ts +3 -0
  642. package/dist/models/ps-status-panel-props.js +1 -0
  643. package/dist/models/ps-switch-props.d.ts +4 -0
  644. package/dist/models/ps-switch-props.js +1 -0
  645. package/dist/models/ps-table-body-props.d.ts +3 -0
  646. package/dist/models/ps-table-body-props.js +1 -0
  647. package/dist/models/ps-table-caption-props.d.ts +3 -0
  648. package/dist/models/ps-table-caption-props.js +1 -0
  649. package/dist/models/ps-table-cell-props.d.ts +3 -0
  650. package/dist/models/ps-table-cell-props.js +1 -0
  651. package/dist/models/ps-table-footer-props.d.ts +3 -0
  652. package/dist/models/ps-table-footer-props.js +1 -0
  653. package/dist/models/ps-table-head-props.d.ts +3 -0
  654. package/dist/models/ps-table-head-props.js +1 -0
  655. package/dist/models/ps-table-header-props.d.ts +3 -0
  656. package/dist/models/ps-table-header-props.js +1 -0
  657. package/dist/models/ps-table-props.d.ts +3 -0
  658. package/dist/models/ps-table-props.js +1 -0
  659. package/dist/models/ps-table-row-props.d.ts +3 -0
  660. package/dist/models/ps-table-row-props.js +1 -0
  661. package/dist/models/ps-tabs-content-props.d.ts +4 -0
  662. package/dist/models/ps-tabs-content-props.js +1 -0
  663. package/dist/models/ps-tabs-list-props.d.ts +4 -0
  664. package/dist/models/ps-tabs-list-props.js +1 -0
  665. package/dist/models/ps-tabs-trigger-props.d.ts +4 -0
  666. package/dist/models/ps-tabs-trigger-props.js +1 -0
  667. package/dist/models/ps-textarea-props.d.ts +3 -0
  668. package/dist/models/ps-textarea-props.js +1 -0
  669. package/dist/models/ps-toggle-group-context-data.d.ts +4 -0
  670. package/dist/models/ps-toggle-group-context-data.js +1 -0
  671. package/dist/models/ps-toggle-group-item-props.d.ts +6 -0
  672. package/dist/models/ps-toggle-group-item-props.js +1 -0
  673. package/dist/models/ps-toggle-group-multiple-props.d.ts +5 -0
  674. package/dist/models/ps-toggle-group-multiple-props.js +1 -0
  675. package/dist/models/ps-toggle-group-single-props.d.ts +5 -0
  676. package/dist/models/ps-toggle-group-single-props.js +1 -0
  677. package/dist/models/ps-toggle-props.d.ts +6 -0
  678. package/dist/models/ps-toggle-props.js +1 -0
  679. package/dist/models/ps-tooltip-content-props.d.ts +4 -0
  680. package/dist/models/ps-tooltip-content-props.js +1 -0
  681. package/dist/models/ps-workspace-badge-props.d.ts +6 -0
  682. package/dist/models/ps-workspace-badge-props.js +1 -0
  683. package/dist/models/ps-workspace-item-data.d.ts +9 -0
  684. package/dist/models/ps-workspace-item-data.js +1 -0
  685. package/dist/models/ps-workspace-switcher-data.d.ts +6 -0
  686. package/dist/models/ps-workspace-switcher-data.js +1 -0
  687. package/dist/models/ps-workspace-switcher-props.d.ts +7 -0
  688. package/dist/models/ps-workspace-switcher-props.js +1 -0
  689. package/dist/pallasoft-internal-tailwind-preset.d.ts +2 -0
  690. package/dist/pallasoft-internal-tailwind-preset.js +90 -0
  691. package/dist/services/ps-app-switcher-service.d.ts +11 -0
  692. package/dist/services/ps-app-switcher-service.js +56 -0
  693. package/dist/services/ps-chart-service.d.ts +8 -0
  694. package/dist/services/ps-chart-service.js +42 -0
  695. package/dist/services/ps-class-name-service.d.ts +4 -0
  696. package/dist/services/ps-class-name-service.js +7 -0
  697. package/dist/services/ps-field-format-service.d.ts +6 -0
  698. package/dist/services/ps-field-format-service.js +31 -0
  699. package/dist/services/ps-file-size-service.d.ts +3 -0
  700. package/dist/services/ps-file-size-service.js +6 -0
  701. package/package.json +109 -0
  702. package/src/styles/theme.css +159 -0
@@ -0,0 +1,14 @@
1
+ import * as RechartsPrimitive from 'recharts';
2
+ export const PsBarChart = RechartsPrimitive.BarChart;
3
+ export const PsBar = RechartsPrimitive.Bar;
4
+ export const PsLineChart = RechartsPrimitive.LineChart;
5
+ export const PsLine = RechartsPrimitive.Line;
6
+ export const PsAreaChart = RechartsPrimitive.AreaChart;
7
+ export const PsArea = RechartsPrimitive.Area;
8
+ export const PsPieChart = RechartsPrimitive.PieChart;
9
+ export const PsPie = RechartsPrimitive.Pie;
10
+ export const PsCell = RechartsPrimitive.Cell;
11
+ export const PsXAxis = RechartsPrimitive.XAxis;
12
+ export const PsYAxis = RechartsPrimitive.YAxis;
13
+ export const PsCartesianGrid = RechartsPrimitive.CartesianGrid;
14
+ export const PsLabelList = RechartsPrimitive.LabelList;
@@ -0,0 +1,2 @@
1
+ import type { PsChartStyleProps } from '../models/ps-chart-style-props.js';
2
+ export declare const PsChartStyle: ({ id, config }: PsChartStyleProps) => import("react").JSX.Element | null;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PsChartService } from '../services/ps-chart-service.js';
3
+ export const PsChartStyle = ({ id, config }) => {
4
+ const css = PsChartService.css(id, config);
5
+ if (css === '')
6
+ return null;
7
+ return _jsx("style", { dangerouslySetInnerHTML: { __html: css } });
8
+ };
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsChartTooltipContentProps } from '../models/ps-chart-tooltip-content-props.js';
3
+ export declare const PsChartTooltipContent: ({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: PsChartTooltipContentProps) => React.JSX.Element | null;
@@ -0,0 +1,45 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import { PsChartDefaults } from '../constants/ps-chart-defaults.js';
4
+ import { usePsChart } from '../hooks/use-ps-chart.js';
5
+ import { PsChartService } from '../services/ps-chart-service.js';
6
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
7
+ export const PsChartTooltipContent = ({ active, payload, className, indicator = 'dot', hideLabel = false, hideIndicator = false, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }) => {
8
+ const { config } = usePsChart();
9
+ const tooltipLabel = React.useMemo(() => {
10
+ if (hideLabel || payload === undefined || payload.length === 0)
11
+ return null;
12
+ const [item] = payload;
13
+ const key = `${labelKey !== undefined ? labelKey : item.dataKey !== undefined ? String(item.dataKey) : item.name !== undefined ? String(item.name) : PsChartDefaults.valueKey}`;
14
+ const itemConfig = PsChartService.itemFor(config, item, key);
15
+ const value = labelKey === undefined && typeof label === 'string' && label in config
16
+ ? config[label].label
17
+ : itemConfig !== undefined
18
+ ? itemConfig.label
19
+ : undefined;
20
+ if (labelFormatter !== undefined)
21
+ return (_jsx("div", { className: PsClassNameService.merge('font-medium', labelClassName), children: labelFormatter(value !== undefined ? value : label, payload) }));
22
+ if (value === undefined && label === undefined)
23
+ return null;
24
+ return (_jsx("div", { className: PsClassNameService.merge('font-medium', labelClassName), children: value !== undefined ? value : label }));
25
+ }, [label, labelFormatter, payload, hideLabel, labelClassName, config, labelKey]);
26
+ if (active !== true || payload === undefined || payload.length === 0)
27
+ return null;
28
+ const nestLabel = payload.length === 1 && indicator !== 'dot';
29
+ return (_jsxs("div", { className: PsClassNameService.merge('grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl', className), children: [nestLabel ? null : tooltipLabel, _jsx("div", { className: 'grid gap-1.5', children: payload.map((item, index) => {
30
+ const key = `${nameKey !== undefined ? nameKey : item.name !== undefined ? String(item.name) : item.dataKey !== undefined ? String(item.dataKey) : PsChartDefaults.valueKey}`;
31
+ const itemConfig = PsChartService.itemFor(config, item, key);
32
+ const payloadFill = typeof item.payload === 'object' && item.payload !== null && 'fill' in item.payload
33
+ ? String(item.payload.fill)
34
+ : undefined;
35
+ const indicatorColor = color !== undefined ? color : payloadFill !== undefined ? payloadFill : item.color;
36
+ return (_jsx("div", { className: PsClassNameService.merge('flex w-full flex-wrap items-stretch gap-2 [&>svg]:size-2.5 [&>svg]:text-muted-foreground', indicator === 'dot' && 'items-center'), children: formatter !== undefined && item.value !== undefined && item.name !== undefined ? (formatter(item.value, item.name, item, index, payload)) : (_jsxs(_Fragment, { children: [itemConfig !== undefined && itemConfig.icon !== undefined ? (_jsx(itemConfig.icon, {})) : hideIndicator ? null : (_jsx("div", { className: PsClassNameService.merge('shrink-0 rounded-[2px] border-[--color-border] bg-[--color-bg]', indicator === 'dot' && 'size-2.5', indicator === 'line' && 'w-1', indicator === 'dashed' && 'w-0 border-[1.5px] border-dashed bg-transparent', nestLabel && indicator === 'dashed' && 'my-0.5'), style: {
37
+ '--color-bg': indicatorColor,
38
+ '--color-border': indicatorColor,
39
+ } })), _jsxs("div", { className: PsClassNameService.merge('flex flex-1 justify-between leading-none', nestLabel ? 'items-end' : 'items-center'), children: [_jsxs("div", { className: 'grid gap-1.5', children: [nestLabel ? tooltipLabel : null, _jsx("span", { className: 'text-muted-foreground', children: itemConfig !== undefined && itemConfig.label !== undefined
40
+ ? itemConfig.label
41
+ : item.name })] }), item.value !== undefined ? (_jsx("span", { className: 'font-mono font-medium tabular-nums text-foreground', children: typeof item.value === 'number'
42
+ ? item.value.toLocaleString()
43
+ : String(item.value) })) : null] })] })) }, String(item.dataKey)));
44
+ }) })] }));
45
+ };
@@ -0,0 +1,2 @@
1
+ import * as RechartsPrimitive from 'recharts';
2
+ export declare const PsChartTooltip: typeof RechartsPrimitive.Tooltip;
@@ -0,0 +1,2 @@
1
+ import * as RechartsPrimitive from 'recharts';
2
+ export const PsChartTooltip = RechartsPrimitive.Tooltip;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsCheckboxProps } from '../models/ps-checkbox-props.js';
3
+ export declare const PsCheckbox: React.ForwardRefExoticComponent<PsCheckboxProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
4
+ import { Check } from 'lucide-react';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsCheckbox = React.forwardRef(({ className, ...props }, ref) => (_jsx(CheckboxPrimitive.Root, { ref: ref, className: PsClassNameService.merge('grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground', className), ...props, children: _jsx(CheckboxPrimitive.Indicator, { className: PsClassNameService.merge('grid place-content-center text-current'), children: _jsx(Check, { className: 'h-4 w-4' }) }) })));
7
+ PsCheckbox.displayName = CheckboxPrimitive.Root.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsComboboxProps } from '../models/ps-combobox-props.js';
3
+ export declare const PsCombobox: ({ id, options, value, onValueChange, placeholder, searchPlaceholder, noResults, disabled, invalid, className, }: PsComboboxProps) => React.JSX.Element;
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import { Check, ChevronsUpDown } from 'lucide-react';
4
+ import { PsOptionSelectConfig } from '../constants/ps-option-select-config.js';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ import { PsButton } from './ps-button.js';
7
+ import { PsCommandEmpty } from './ps-command-empty.js';
8
+ import { PsCommandGroup } from './ps-command-group.js';
9
+ import { PsCommandInput } from './ps-command-input.js';
10
+ import { PsCommandItem } from './ps-command-item.js';
11
+ import { PsCommandList } from './ps-command-list.js';
12
+ import { PsCommand } from './ps-command.js';
13
+ import { PsPopoverContent } from './ps-popover-content.js';
14
+ import { PsPopoverTrigger } from './ps-popover-trigger.js';
15
+ import { PsPopover } from './ps-popover.js';
16
+ export const PsCombobox = ({ id, options, value, onValueChange, placeholder, searchPlaceholder = PsOptionSelectConfig.searchPlaceholder, noResults = PsOptionSelectConfig.noResults, disabled = false, invalid = false, className, }) => {
17
+ const [open, setOpen] = React.useState(false);
18
+ const selected = options.find((option) => option.value === value);
19
+ return (_jsxs(PsPopover, { open: open, onOpenChange: setOpen, children: [_jsx(PsPopoverTrigger, { asChild: true, children: _jsxs(PsButton, { "aria-expanded": open, "aria-invalid": invalid, className: PsClassNameService.merge('h-10 w-full justify-between px-3 font-normal aria-[invalid=true]:border-destructive', selected === undefined && 'text-muted-foreground', className), disabled: disabled, id: id, role: 'combobox', type: 'button', variant: 'outline', children: [_jsx("span", { className: 'truncate', children: selected === undefined ? placeholder : selected.label }), _jsx(ChevronsUpDown, { className: 'size-4 shrink-0 opacity-50' })] }) }), _jsx(PsPopoverContent, { align: 'start', className: 'w-[--radix-popover-trigger-width] p-0', children: _jsxs(PsCommand, { children: [_jsx(PsCommandInput, { placeholder: searchPlaceholder }), _jsxs(PsCommandList, { children: [_jsx(PsCommandEmpty, { children: noResults }), _jsx(PsCommandGroup, { children: options.map((option) => (_jsxs(PsCommandItem, { keywords: option.description !== undefined ? [option.description] : undefined, onSelect: () => {
20
+ onValueChange(option.value);
21
+ setOpen(false);
22
+ }, value: `${option.label} ${option.value}`, children: [_jsx(Check, { className: PsClassNameService.merge('size-4', option.value === value ? 'opacity-100' : 'opacity-0') }), _jsxs("span", { className: 'flex min-w-0 flex-col', children: [_jsx("span", { className: 'truncate', children: option.label }), option.description !== undefined ? (_jsx("span", { className: 'truncate text-xs text-muted-foreground', children: option.description })) : null] })] }, option.value))) })] })] }) })] }));
23
+ };
@@ -0,0 +1,2 @@
1
+ import type { PsCommandDialogProps } from '../models/ps-command-dialog-props.js';
2
+ export declare const PsCommandDialog: ({ children, ...props }: PsCommandDialogProps) => import("react").JSX.Element;
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { PsCommand } from './ps-command.js';
4
+ import { PsDialogContent } from './ps-dialog-content.js';
5
+ import { PsDialog } from './ps-dialog.js';
6
+ export const PsCommandDialog = ({ children, ...props }) => {
7
+ return (_jsx(PsDialog, { ...props, children: _jsx(PsDialogContent, { className: 'overflow-hidden p-0', children: _jsx(PsCommand, { className: '[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5', children: children }) }) }));
8
+ };
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsCommandEmptyProps } from '../models/ps-command-empty-props.js';
3
+ export declare const PsCommandEmpty: React.ForwardRefExoticComponent<PsCommandEmptyProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import { Command as CommandPrimitive } from 'cmdk';
5
+ export const PsCommandEmpty = React.forwardRef((props, ref) => (_jsx(CommandPrimitive.Empty, { ref: ref, className: 'py-6 text-center text-sm', ...props })));
6
+ PsCommandEmpty.displayName = CommandPrimitive.Empty.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsCommandGroupProps } from '../models/ps-command-group-props.js';
3
+ export declare const PsCommandGroup: React.ForwardRefExoticComponent<PsCommandGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import { Command as CommandPrimitive } from 'cmdk';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsCommandGroup = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive.Group, { ref: ref, className: PsClassNameService.merge('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', className), ...props })));
7
+ PsCommandGroup.displayName = CommandPrimitive.Group.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsCommandInputProps } from '../models/ps-command-input-props.js';
3
+ export declare const PsCommandInput: React.ForwardRefExoticComponent<PsCommandInputProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import { Command as CommandPrimitive } from 'cmdk';
5
+ import { Search } from 'lucide-react';
6
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
7
+ export const PsCommandInput = React.forwardRef(({ className, ...props }, ref) => (_jsxs("div", { className: 'flex items-center border-b px-3', "cmdk-input-wrapper": '', children: [_jsx(Search, { className: 'mr-2 h-4 w-4 shrink-0 opacity-50' }), _jsx(CommandPrimitive.Input, { ref: ref, className: PsClassNameService.merge('flex h-10 w-full rounded-none border-0 bg-transparent px-0 py-3 shadow-none focus-visible:ring-0 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50', className), ...props })] })));
8
+ PsCommandInput.displayName = CommandPrimitive.Input.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsCommandItemProps } from '../models/ps-command-item-props.js';
3
+ export declare const PsCommandItem: React.ForwardRefExoticComponent<PsCommandItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import { Command as CommandPrimitive } from 'cmdk';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsCommandItem = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive.Item, { ref: ref, className: PsClassNameService.merge('relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', className), ...props })));
7
+ PsCommandItem.displayName = CommandPrimitive.Item.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsCommandListProps } from '../models/ps-command-list-props.js';
3
+ export declare const PsCommandList: React.ForwardRefExoticComponent<PsCommandListProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import { Command as CommandPrimitive } from 'cmdk';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsCommandList = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive.List, { ref: ref, className: PsClassNameService.merge('max-h-[300px] overflow-y-auto overflow-x-hidden', className), ...props })));
7
+ PsCommandList.displayName = CommandPrimitive.List.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsCommandSeparatorProps } from '../models/ps-command-separator-props.js';
3
+ export declare const PsCommandSeparator: React.ForwardRefExoticComponent<PsCommandSeparatorProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import { Command as CommandPrimitive } from 'cmdk';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsCommandSeparator = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive.Separator, { ref: ref, className: PsClassNameService.merge('-mx-1 h-px bg-border', className), ...props })));
7
+ PsCommandSeparator.displayName = CommandPrimitive.Separator.displayName;
@@ -0,0 +1,5 @@
1
+ import type { PsCommandShortcutProps } from '../models/ps-command-shortcut-props.js';
2
+ export declare const PsCommandShortcut: {
3
+ ({ className, ...props }: PsCommandShortcutProps): import("react").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
4
+ export const PsCommandShortcut = ({ className, ...props }) => {
5
+ return (_jsx("span", { className: PsClassNameService.merge('ml-auto text-xs tracking-widest text-muted-foreground', className), ...props }));
6
+ };
7
+ PsCommandShortcut.displayName = 'PsCommandShortcut';
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsCommandProps } from '../models/ps-command-props.js';
3
+ export declare const PsCommand: React.ForwardRefExoticComponent<PsCommandProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import { Command as CommandPrimitive } from 'cmdk';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsCommand = React.forwardRef(({ className, ...props }, ref) => (_jsx(CommandPrimitive, { ref: ref, className: PsClassNameService.merge('flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground', className), ...props })));
7
+ PsCommand.displayName = CommandPrimitive.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDatePickerProps } from '../models/ps-date-picker-props.js';
3
+ export declare const PsDatePicker: ({ id, value, onValueChange, placeholder, disabled, invalid, clearable, fromDate, className, }: PsDatePickerProps) => React.JSX.Element;
@@ -0,0 +1,24 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import { Common } from '@pallasoft/ps-utilities';
4
+ import { CalendarDays, X } from 'lucide-react';
5
+ import { PsDatePickerConfig } from '../constants/ps-date-picker-config.js';
6
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
7
+ import { PsButton } from './ps-button.js';
8
+ import { PsCalendar } from './ps-calendar.js';
9
+ import { PsPopoverContent } from './ps-popover-content.js';
10
+ import { PsPopoverTrigger } from './ps-popover-trigger.js';
11
+ import { PsPopover } from './ps-popover.js';
12
+ export const PsDatePicker = ({ id, value, onValueChange, placeholder = PsDatePickerConfig.placeholder, disabled = false, invalid = false, clearable = false, fromDate, className, }) => {
13
+ const [open, setOpen] = React.useState(false);
14
+ const selected = value === '' ? undefined : Common.DateService.getDate(value).toDate();
15
+ const earliest = fromDate === undefined ? undefined : Common.DateService.getDate(fromDate).toDate();
16
+ return (_jsxs(PsPopover, { open: open, onOpenChange: setOpen, children: [_jsxs("div", { className: PsClassNameService.merge('relative w-full', className), children: [_jsx(PsPopoverTrigger, { asChild: true, children: _jsxs(PsButton, { "aria-invalid": invalid, className: PsClassNameService.merge('h-10 w-full justify-start gap-2 px-3 text-left font-normal aria-[invalid=true]:border-destructive', value === '' && 'text-muted-foreground', clearable && value !== '' && 'pr-10'), disabled: disabled, id: id, type: 'button', variant: 'outline', children: [_jsx(CalendarDays, { className: 'size-4 text-muted-foreground' }), value === ''
17
+ ? placeholder
18
+ : Common.DateService.formatDate(value, PsDatePickerConfig.displayFormat)] }) }), clearable && value !== '' && !disabled ? (_jsx("button", { "aria-label": PsDatePickerConfig.clear, className: 'absolute right-1.5 top-1/2 flex size-7 -translate-y-1/2 items-center justify-center rounded-md text-muted-foreground hover:bg-accent hover:text-foreground', onClick: () => onValueChange(''), type: 'button', children: _jsx(X, { className: 'size-4' }) })) : null] }), _jsx(PsPopoverContent, { align: 'start', className: 'w-auto p-0', children: _jsx(PsCalendar, { autoFocus: true, captionLayout: 'dropdown', defaultMonth: selected, disabled: earliest === undefined ? undefined : { before: earliest }, mode: 'single', onSelect: (date) => {
19
+ onValueChange(date === undefined
20
+ ? ''
21
+ : Common.DateService.formatDate(date.getTime(), PsDatePickerConfig.storageFormat));
22
+ setOpen(false);
23
+ }, selected: selected }) })] }));
24
+ };
@@ -0,0 +1,2 @@
1
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
2
+ export declare const PsDialogClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ export const PsDialogClose = DialogPrimitive.Close;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDialogContentProps } from '../models/ps-dialog-content-props.js';
3
+ export declare const PsDialogContent: React.ForwardRefExoticComponent<PsDialogContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,10 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
5
+ import { X } from 'lucide-react';
6
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
7
+ import { PsDialogOverlay } from './ps-dialog-overlay.js';
8
+ import { PsDialogPortal } from './ps-dialog-portal.js';
9
+ export const PsDialogContent = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(PsDialogPortal, { children: [_jsx(PsDialogOverlay, {}), _jsxs(DialogPrimitive.Content, { ref: ref, className: PsClassNameService.merge('fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg', className), ...props, children: [children, _jsxs(DialogPrimitive.Close, { className: 'absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground', children: [_jsx(X, { className: 'h-4 w-4' }), _jsx("span", { className: 'sr-only', children: "Close" })] })] })] })));
10
+ PsDialogContent.displayName = DialogPrimitive.Content.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDialogDescriptionProps } from '../models/ps-dialog-description-props.js';
3
+ export declare const PsDialogDescription: React.ForwardRefExoticComponent<PsDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsDialogDescription = React.forwardRef(({ className, ...props }, ref) => (_jsx(DialogPrimitive.Description, { ref: ref, className: PsClassNameService.merge('text-sm text-muted-foreground', className), ...props })));
7
+ PsDialogDescription.displayName = DialogPrimitive.Description.displayName;
@@ -0,0 +1,5 @@
1
+ import type { PsDialogFooterProps } from '../models/ps-dialog-footer-props.js';
2
+ export declare const PsDialogFooter: {
3
+ ({ className, ...props }: PsDialogFooterProps): import("react").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
4
+ export const PsDialogFooter = ({ className, ...props }) => (_jsx("div", { className: PsClassNameService.merge('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className), ...props }));
5
+ PsDialogFooter.displayName = 'PsDialogFooter';
@@ -0,0 +1,5 @@
1
+ import type { PsDialogHeaderProps } from '../models/ps-dialog-header-props.js';
2
+ export declare const PsDialogHeader: {
3
+ ({ className, ...props }: PsDialogHeaderProps): import("react").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
4
+ export const PsDialogHeader = ({ className, ...props }) => (_jsx("div", { className: PsClassNameService.merge('flex flex-col space-y-1.5 text-center sm:text-left', className), ...props }));
5
+ PsDialogHeader.displayName = 'PsDialogHeader';
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDialogOverlayProps } from '../models/ps-dialog-overlay-props.js';
3
+ export declare const PsDialogOverlay: React.ForwardRefExoticComponent<PsDialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsDialogOverlay = React.forwardRef(({ className, ...props }, ref) => (_jsx(DialogPrimitive.Overlay, { ref: ref, className: PsClassNameService.merge('fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0', className), ...props })));
7
+ PsDialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
@@ -0,0 +1,2 @@
1
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
2
+ export declare const PsDialogPortal: import("react").FC<DialogPrimitive.DialogPortalProps>;
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ export const PsDialogPortal = DialogPrimitive.Portal;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDialogTitleProps } from '../models/ps-dialog-title-props.js';
3
+ export declare const PsDialogTitle: React.ForwardRefExoticComponent<PsDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import * as React from 'react';
4
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsDialogTitle = React.forwardRef(({ className, ...props }, ref) => (_jsx(DialogPrimitive.Title, { ref: ref, className: PsClassNameService.merge('text-lg font-semibold leading-none tracking-tight', className), ...props })));
7
+ PsDialogTitle.displayName = DialogPrimitive.Title.displayName;
@@ -0,0 +1,2 @@
1
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
2
+ export declare const PsDialogTrigger: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ export const PsDialogTrigger = DialogPrimitive.Trigger;
@@ -0,0 +1,2 @@
1
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
2
+ export declare const PsDialog: import("react").FC<DialogPrimitive.DialogProps>;
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ export const PsDialog = DialogPrimitive.Root;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDropdownMenuCheckboxItemProps } from '../models/ps-dropdown-menu-checkbox-item-props.js';
3
+ export declare const PsDropdownMenuCheckboxItem: React.ForwardRefExoticComponent<PsDropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
+ import { Check } from 'lucide-react';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsDropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => (_jsxs(DropdownMenuPrimitive.CheckboxItem, { ref: ref, className: PsClassNameService.merge('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), checked: checked, ...props, children: [_jsx("span", { className: 'absolute left-2 flex h-3.5 w-3.5 items-center justify-center', children: _jsx(DropdownMenuPrimitive.ItemIndicator, { children: _jsx(Check, { className: 'h-4 w-4' }) }) }), children] })));
7
+ PsDropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDropdownMenuContentProps } from '../models/ps-dropdown-menu-content-props.js';
3
+ export declare const PsDropdownMenuContent: React.ForwardRefExoticComponent<PsDropdownMenuContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
5
+ export const PsDropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Portal, { children: _jsx(DropdownMenuPrimitive.Content, { ref: ref, sideOffset: sideOffset, className: PsClassNameService.merge('z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md', 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 origin-[--radix-dropdown-menu-content-transform-origin]', className), ...props }) })));
6
+ PsDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
@@ -0,0 +1,2 @@
1
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
2
+ export declare const PsDropdownMenuGroup: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
2
+ export const PsDropdownMenuGroup = DropdownMenuPrimitive.Group;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDropdownMenuItemProps } from '../models/ps-dropdown-menu-item-props.js';
3
+ export declare const PsDropdownMenuItem: React.ForwardRefExoticComponent<PsDropdownMenuItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
5
+ export const PsDropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Item, { ref: ref, className: PsClassNameService.merge('relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0', inset && 'pl-8', className), ...props })));
6
+ PsDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDropdownMenuLabelProps } from '../models/ps-dropdown-menu-label-props.js';
3
+ export declare const PsDropdownMenuLabel: React.ForwardRefExoticComponent<PsDropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
5
+ export const PsDropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Label, { ref: ref, className: PsClassNameService.merge('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className), ...props })));
6
+ PsDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
@@ -0,0 +1,2 @@
1
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
2
+ export declare const PsDropdownMenuPortal: import("react").FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
@@ -0,0 +1,2 @@
1
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
2
+ export const PsDropdownMenuPortal = DropdownMenuPrimitive.Portal;
@@ -0,0 +1,2 @@
1
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
2
+ export declare const PsDropdownMenuRadioGroup: import("react").ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
2
+ export const PsDropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDropdownMenuRadioItemProps } from '../models/ps-dropdown-menu-radio-item-props.js';
3
+ export declare const PsDropdownMenuRadioItem: React.ForwardRefExoticComponent<PsDropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
+ import { Circle } from 'lucide-react';
5
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
6
+ export const PsDropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => (_jsxs(DropdownMenuPrimitive.RadioItem, { ref: ref, className: PsClassNameService.merge('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className), ...props, children: [_jsx("span", { className: 'absolute left-2 flex h-3.5 w-3.5 items-center justify-center', children: _jsx(DropdownMenuPrimitive.ItemIndicator, { children: _jsx(Circle, { className: 'h-2 w-2 fill-current' }) }) }), children] })));
7
+ PsDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDropdownMenuSeparatorProps } from '../models/ps-dropdown-menu-separator-props.js';
3
+ export declare const PsDropdownMenuSeparator: React.ForwardRefExoticComponent<PsDropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
5
+ export const PsDropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => (_jsx(DropdownMenuPrimitive.Separator, { ref: ref, className: PsClassNameService.merge('-mx-1 my-1 h-px bg-muted', className), ...props })));
6
+ PsDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
@@ -0,0 +1,5 @@
1
+ import type { PsDropdownMenuShortcutProps } from '../models/ps-dropdown-menu-shortcut-props.js';
2
+ export declare const PsDropdownMenuShortcut: {
3
+ ({ className, ...props }: PsDropdownMenuShortcutProps): import("react").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
3
+ export const PsDropdownMenuShortcut = ({ className, ...props }) => {
4
+ return (_jsx("span", { className: PsClassNameService.merge('ml-auto text-xs tracking-widest opacity-60', className), ...props }));
5
+ };
6
+ PsDropdownMenuShortcut.displayName = 'PsDropdownMenuShortcut';
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import type { PsDropdownMenuSubContentProps } from '../models/ps-dropdown-menu-sub-content-props.js';
3
+ export declare const PsDropdownMenuSubContent: React.ForwardRefExoticComponent<PsDropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as React from 'react';
3
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
4
+ import { PsClassNameService } from '../services/ps-class-name-service.js';
5
+ export const PsDropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => (_jsx(DropdownMenuPrimitive.SubContent, { ref: ref, className: PsClassNameService.merge('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 origin-[--radix-dropdown-menu-content-transform-origin]', className), ...props })));
6
+ PsDropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;