@pallasoft/ps-mobile-components 0.0.0-stage → 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 (874) hide show
  1. package/LICENSE +32 -0
  2. package/README.md +22 -2
  3. package/dist/components/ps-action-menu/index.d.ts +2 -0
  4. package/dist/components/ps-action-menu/index.js +2 -0
  5. package/dist/components/ps-action-menu/ps-action-menu-entries.d.ts +12 -0
  6. package/dist/components/ps-action-menu/ps-action-menu-entries.js +31 -0
  7. package/dist/components/ps-action-menu/ps-action-menu-labelled.d.ts +7 -0
  8. package/dist/components/ps-action-menu/ps-action-menu-labelled.js +3 -0
  9. package/dist/components/ps-action-menu/ps-action-menu-props.d.ts +16 -0
  10. package/dist/components/ps-action-menu/ps-action-menu-props.js +1 -0
  11. package/dist/components/ps-action-menu/ps-action-menu-trigger.d.ts +8 -0
  12. package/dist/components/ps-action-menu/ps-action-menu-trigger.js +7 -0
  13. package/dist/components/ps-action-menu/ps-action-menu.android.d.ts +2 -0
  14. package/dist/components/ps-action-menu/ps-action-menu.android.js +38 -0
  15. package/dist/components/ps-action-menu/ps-action-menu.d.ts +2 -0
  16. package/dist/components/ps-action-menu/ps-action-menu.ios.d.ts +2 -0
  17. package/dist/components/ps-action-menu/ps-action-menu.ios.js +6 -0
  18. package/dist/components/ps-action-menu/ps-action-menu.js +17 -0
  19. package/dist/components/ps-action-sheet/index.d.ts +2 -0
  20. package/dist/components/ps-action-sheet/index.js +2 -0
  21. package/dist/components/ps-action-sheet/ps-action-sheet-props.d.ts +8 -0
  22. package/dist/components/ps-action-sheet/ps-action-sheet-props.js +1 -0
  23. package/dist/components/ps-action-sheet/ps-action-sheet.d.ts +2 -0
  24. package/dist/components/ps-action-sheet/ps-action-sheet.js +54 -0
  25. package/dist/components/ps-amount-field/index.d.ts +2 -0
  26. package/dist/components/ps-amount-field/index.js +2 -0
  27. package/dist/components/ps-amount-field/ps-amount-field-props.d.ts +11 -0
  28. package/dist/components/ps-amount-field/ps-amount-field-props.js +1 -0
  29. package/dist/components/ps-amount-field/ps-amount-field.d.ts +2 -0
  30. package/dist/components/ps-amount-field/ps-amount-field.js +27 -0
  31. package/dist/components/ps-amount-text/index.d.ts +2 -0
  32. package/dist/components/ps-amount-text/index.js +2 -0
  33. package/dist/components/ps-amount-text/ps-amount-text-props.d.ts +5 -0
  34. package/dist/components/ps-amount-text/ps-amount-text-props.js +1 -0
  35. package/dist/components/ps-amount-text/ps-amount-text.d.ts +2 -0
  36. package/dist/components/ps-amount-text/ps-amount-text.js +8 -0
  37. package/dist/components/ps-avatar/index.d.ts +2 -0
  38. package/dist/components/ps-avatar/index.js +2 -0
  39. package/dist/components/ps-avatar/ps-avatar-props.d.ts +6 -0
  40. package/dist/components/ps-avatar/ps-avatar-props.js +1 -0
  41. package/dist/components/ps-avatar/ps-avatar.d.ts +2 -0
  42. package/dist/components/ps-avatar/ps-avatar.js +29 -0
  43. package/dist/components/ps-badge/index.d.ts +2 -0
  44. package/dist/components/ps-badge/index.js +2 -0
  45. package/dist/components/ps-badge/ps-badge-props.d.ts +7 -0
  46. package/dist/components/ps-badge/ps-badge-props.js +1 -0
  47. package/dist/components/ps-badge/ps-badge.d.ts +2 -0
  48. package/dist/components/ps-badge/ps-badge.js +30 -0
  49. package/dist/components/ps-button/index.d.ts +2 -0
  50. package/dist/components/ps-button/index.js +2 -0
  51. package/dist/components/ps-button/ps-button-props.d.ts +15 -0
  52. package/dist/components/ps-button/ps-button-props.js +1 -0
  53. package/dist/components/ps-button/ps-button.d.ts +2 -0
  54. package/dist/components/ps-button/ps-button.js +37 -0
  55. package/dist/components/ps-card/index.d.ts +2 -0
  56. package/dist/components/ps-card/index.js +2 -0
  57. package/dist/components/ps-card/ps-card-props.d.ts +11 -0
  58. package/dist/components/ps-card/ps-card-props.js +1 -0
  59. package/dist/components/ps-card/ps-card.d.ts +2 -0
  60. package/dist/components/ps-card/ps-card.js +27 -0
  61. package/dist/components/ps-cartesian-chart/index.d.ts +6 -0
  62. package/dist/components/ps-cartesian-chart/index.js +6 -0
  63. package/dist/components/ps-cartesian-chart/ps-area-chart.d.ts +2 -0
  64. package/dist/components/ps-cartesian-chart/ps-area-chart.js +4 -0
  65. package/dist/components/ps-cartesian-chart/ps-bar-chart.d.ts +2 -0
  66. package/dist/components/ps-cartesian-chart/ps-bar-chart.js +4 -0
  67. package/dist/components/ps-cartesian-chart/ps-cartesian-chart-props.d.ts +18 -0
  68. package/dist/components/ps-cartesian-chart/ps-cartesian-chart-props.js +1 -0
  69. package/dist/components/ps-cartesian-chart/ps-cartesian-chart.d.ts +2 -0
  70. package/dist/components/ps-cartesian-chart/ps-cartesian-chart.js +70 -0
  71. package/dist/components/ps-cartesian-chart/ps-line-chart.d.ts +2 -0
  72. package/dist/components/ps-cartesian-chart/ps-line-chart.js +4 -0
  73. package/dist/components/ps-cartesian-chart/ps-stacked-bar-chart.d.ts +2 -0
  74. package/dist/components/ps-cartesian-chart/ps-stacked-bar-chart.js +4 -0
  75. package/dist/components/ps-chart-bar/index.d.ts +2 -0
  76. package/dist/components/ps-chart-bar/index.js +2 -0
  77. package/dist/components/ps-chart-bar/ps-chart-bar-props.d.ts +6 -0
  78. package/dist/components/ps-chart-bar/ps-chart-bar-props.js +1 -0
  79. package/dist/components/ps-chart-bar/ps-chart-bar.d.ts +2 -0
  80. package/dist/components/ps-chart-bar/ps-chart-bar.js +12 -0
  81. package/dist/components/ps-chart-delta-badge/index.d.ts +2 -0
  82. package/dist/components/ps-chart-delta-badge/index.js +2 -0
  83. package/dist/components/ps-chart-delta-badge/ps-chart-delta-badge-props.d.ts +6 -0
  84. package/dist/components/ps-chart-delta-badge/ps-chart-delta-badge-props.js +1 -0
  85. package/dist/components/ps-chart-delta-badge/ps-chart-delta-badge.d.ts +2 -0
  86. package/dist/components/ps-chart-delta-badge/ps-chart-delta-badge.js +22 -0
  87. package/dist/components/ps-chart-empty-state/index.d.ts +2 -0
  88. package/dist/components/ps-chart-empty-state/index.js +2 -0
  89. package/dist/components/ps-chart-empty-state/ps-chart-empty-state-props.d.ts +4 -0
  90. package/dist/components/ps-chart-empty-state/ps-chart-empty-state-props.js +1 -0
  91. package/dist/components/ps-chart-empty-state/ps-chart-empty-state.d.ts +2 -0
  92. package/dist/components/ps-chart-empty-state/ps-chart-empty-state.js +5 -0
  93. package/dist/components/ps-chart-frame/index.d.ts +2 -0
  94. package/dist/components/ps-chart-frame/index.js +2 -0
  95. package/dist/components/ps-chart-frame/ps-chart-frame-props.d.ts +9 -0
  96. package/dist/components/ps-chart-frame/ps-chart-frame-props.js +1 -0
  97. package/dist/components/ps-chart-frame/ps-chart-frame.d.ts +2 -0
  98. package/dist/components/ps-chart-frame/ps-chart-frame.js +6 -0
  99. package/dist/components/ps-chart-legend/index.d.ts +2 -0
  100. package/dist/components/ps-chart-legend/index.js +2 -0
  101. package/dist/components/ps-chart-legend/ps-chart-legend-props.d.ts +6 -0
  102. package/dist/components/ps-chart-legend/ps-chart-legend-props.js +1 -0
  103. package/dist/components/ps-chart-legend/ps-chart-legend.d.ts +2 -0
  104. package/dist/components/ps-chart-legend/ps-chart-legend.js +17 -0
  105. package/dist/components/ps-chart-line/index.d.ts +2 -0
  106. package/dist/components/ps-chart-line/index.js +2 -0
  107. package/dist/components/ps-chart-line/ps-chart-line-props.d.ts +9 -0
  108. package/dist/components/ps-chart-line/ps-chart-line-props.js +1 -0
  109. package/dist/components/ps-chart-line/ps-chart-line.d.ts +2 -0
  110. package/dist/components/ps-chart-line/ps-chart-line.js +14 -0
  111. package/dist/components/ps-chart-readout/index.d.ts +2 -0
  112. package/dist/components/ps-chart-readout/index.js +2 -0
  113. package/dist/components/ps-chart-readout/ps-chart-readout-props.d.ts +5 -0
  114. package/dist/components/ps-chart-readout/ps-chart-readout-props.js +1 -0
  115. package/dist/components/ps-chart-readout/ps-chart-readout.d.ts +2 -0
  116. package/dist/components/ps-chart-readout/ps-chart-readout.js +12 -0
  117. package/dist/components/ps-chart-skeleton/index.d.ts +2 -0
  118. package/dist/components/ps-chart-skeleton/index.js +2 -0
  119. package/dist/components/ps-chart-skeleton/ps-chart-skeleton-props.d.ts +6 -0
  120. package/dist/components/ps-chart-skeleton/ps-chart-skeleton-props.js +1 -0
  121. package/dist/components/ps-chart-skeleton/ps-chart-skeleton.d.ts +2 -0
  122. package/dist/components/ps-chart-skeleton/ps-chart-skeleton.js +6 -0
  123. package/dist/components/ps-checkbox/index.d.ts +2 -0
  124. package/dist/components/ps-checkbox/index.js +2 -0
  125. package/dist/components/ps-checkbox/ps-checkbox-props.d.ts +7 -0
  126. package/dist/components/ps-checkbox/ps-checkbox-props.js +1 -0
  127. package/dist/components/ps-checkbox/ps-checkbox.d.ts +2 -0
  128. package/dist/components/ps-checkbox/ps-checkbox.js +26 -0
  129. package/dist/components/ps-chip/index.d.ts +2 -0
  130. package/dist/components/ps-chip/index.js +2 -0
  131. package/dist/components/ps-chip/ps-chip-props.d.ts +7 -0
  132. package/dist/components/ps-chip/ps-chip-props.js +1 -0
  133. package/dist/components/ps-chip/ps-chip.d.ts +2 -0
  134. package/dist/components/ps-chip/ps-chip.js +27 -0
  135. package/dist/components/ps-color-swatches/index.d.ts +2 -0
  136. package/dist/components/ps-color-swatches/index.js +2 -0
  137. package/dist/components/ps-color-swatches/ps-color-swatches-props.d.ts +3 -0
  138. package/dist/components/ps-color-swatches/ps-color-swatches-props.js +1 -0
  139. package/dist/components/ps-color-swatches/ps-color-swatches.d.ts +2 -0
  140. package/dist/components/ps-color-swatches/ps-color-swatches.js +16 -0
  141. package/dist/components/ps-date-field/index.d.ts +2 -0
  142. package/dist/components/ps-date-field/index.js +2 -0
  143. package/dist/components/ps-date-field/ps-date-control-props.d.ts +6 -0
  144. package/dist/components/ps-date-field/ps-date-control-props.js +1 -0
  145. package/dist/components/ps-date-field/ps-date-control.d.ts +2 -0
  146. package/dist/components/ps-date-field/ps-date-control.js +19 -0
  147. package/dist/components/ps-date-field/ps-date-field-props.d.ts +14 -0
  148. package/dist/components/ps-date-field/ps-date-field-props.js +1 -0
  149. package/dist/components/ps-date-field/ps-date-field.android.d.ts +2 -0
  150. package/dist/components/ps-date-field/ps-date-field.android.js +21 -0
  151. package/dist/components/ps-date-field/ps-date-field.d.ts +2 -0
  152. package/dist/components/ps-date-field/ps-date-field.ios.d.ts +2 -0
  153. package/dist/components/ps-date-field/ps-date-field.ios.js +38 -0
  154. package/dist/components/ps-date-field/ps-date-field.js +20 -0
  155. package/dist/components/ps-date-range-field/index.d.ts +2 -0
  156. package/dist/components/ps-date-range-field/index.js +2 -0
  157. package/dist/components/ps-date-range-field/ps-date-range-field-props.d.ts +16 -0
  158. package/dist/components/ps-date-range-field/ps-date-range-field-props.js +1 -0
  159. package/dist/components/ps-date-range-field/ps-date-range-field.d.ts +2 -0
  160. package/dist/components/ps-date-range-field/ps-date-range-field.js +12 -0
  161. package/dist/components/ps-document-message/index.d.ts +2 -0
  162. package/dist/components/ps-document-message/index.js +2 -0
  163. package/dist/components/ps-document-message/ps-document-message-props.d.ts +9 -0
  164. package/dist/components/ps-document-message/ps-document-message-props.js +1 -0
  165. package/dist/components/ps-document-message/ps-document-message.d.ts +2 -0
  166. package/dist/components/ps-document-message/ps-document-message.js +17 -0
  167. package/dist/components/ps-document-page/index.d.ts +2 -0
  168. package/dist/components/ps-document-page/index.js +2 -0
  169. package/dist/components/ps-document-page/ps-document-page-props.d.ts +8 -0
  170. package/dist/components/ps-document-page/ps-document-page-props.js +1 -0
  171. package/dist/components/ps-document-page/ps-document-page.d.ts +2 -0
  172. package/dist/components/ps-document-page/ps-document-page.js +22 -0
  173. package/dist/components/ps-document-preview/index.d.ts +2 -0
  174. package/dist/components/ps-document-preview/index.js +2 -0
  175. package/dist/components/ps-document-preview/ps-document-preview-props.d.ts +10 -0
  176. package/dist/components/ps-document-preview/ps-document-preview-props.js +1 -0
  177. package/dist/components/ps-document-preview/ps-document-preview.d.ts +2 -0
  178. package/dist/components/ps-document-preview/ps-document-preview.js +37 -0
  179. package/dist/components/ps-document-viewer/index.d.ts +2 -0
  180. package/dist/components/ps-document-viewer/index.js +2 -0
  181. package/dist/components/ps-document-viewer/ps-document-viewer-props.d.ts +9 -0
  182. package/dist/components/ps-document-viewer/ps-document-viewer-props.js +1 -0
  183. package/dist/components/ps-document-viewer/ps-document-viewer.d.ts +2 -0
  184. package/dist/components/ps-document-viewer/ps-document-viewer.js +39 -0
  185. package/dist/components/ps-document-zoom-image/index.d.ts +2 -0
  186. package/dist/components/ps-document-zoom-image/index.js +2 -0
  187. package/dist/components/ps-document-zoom-image/ps-document-zoom-image-props.d.ts +8 -0
  188. package/dist/components/ps-document-zoom-image/ps-document-zoom-image-props.js +1 -0
  189. package/dist/components/ps-document-zoom-image/ps-document-zoom-image.d.ts +2 -0
  190. package/dist/components/ps-document-zoom-image/ps-document-zoom-image.js +104 -0
  191. package/dist/components/ps-donut-chart/index.d.ts +2 -0
  192. package/dist/components/ps-donut-chart/index.js +2 -0
  193. package/dist/components/ps-donut-chart/ps-donut-chart-props.d.ts +10 -0
  194. package/dist/components/ps-donut-chart/ps-donut-chart-props.js +1 -0
  195. package/dist/components/ps-donut-chart/ps-donut-chart.d.ts +2 -0
  196. package/dist/components/ps-donut-chart/ps-donut-chart.js +46 -0
  197. package/dist/components/ps-donut-slice/index.d.ts +2 -0
  198. package/dist/components/ps-donut-slice/index.js +2 -0
  199. package/dist/components/ps-donut-slice/ps-donut-slice-props.d.ts +10 -0
  200. package/dist/components/ps-donut-slice/ps-donut-slice-props.js +1 -0
  201. package/dist/components/ps-donut-slice/ps-donut-slice.d.ts +2 -0
  202. package/dist/components/ps-donut-slice/ps-donut-slice.js +16 -0
  203. package/dist/components/ps-empty-state/index.d.ts +2 -0
  204. package/dist/components/ps-empty-state/index.js +2 -0
  205. package/dist/components/ps-empty-state/ps-empty-state-props.d.ts +14 -0
  206. package/dist/components/ps-empty-state/ps-empty-state-props.js +1 -0
  207. package/dist/components/ps-empty-state/ps-empty-state.d.ts +2 -0
  208. package/dist/components/ps-empty-state/ps-empty-state.js +15 -0
  209. package/dist/components/ps-field-frame/index.d.ts +2 -0
  210. package/dist/components/ps-field-frame/index.js +2 -0
  211. package/dist/components/ps-field-frame/ps-field-frame-props.d.ts +7 -0
  212. package/dist/components/ps-field-frame/ps-field-frame-props.js +1 -0
  213. package/dist/components/ps-field-frame/ps-field-frame.d.ts +2 -0
  214. package/dist/components/ps-field-frame/ps-field-frame.js +8 -0
  215. package/dist/components/ps-field-skeleton/index.d.ts +2 -0
  216. package/dist/components/ps-field-skeleton/index.js +2 -0
  217. package/dist/components/ps-field-skeleton/ps-field-skeleton-props.d.ts +3 -0
  218. package/dist/components/ps-field-skeleton/ps-field-skeleton-props.js +1 -0
  219. package/dist/components/ps-field-skeleton/ps-field-skeleton.d.ts +2 -0
  220. package/dist/components/ps-field-skeleton/ps-field-skeleton.js +6 -0
  221. package/dist/components/ps-filter-bar/index.d.ts +2 -0
  222. package/dist/components/ps-filter-bar/index.js +2 -0
  223. package/dist/components/ps-filter-bar/ps-filter-bar-props.d.ts +13 -0
  224. package/dist/components/ps-filter-bar/ps-filter-bar-props.js +1 -0
  225. package/dist/components/ps-filter-bar/ps-filter-bar.d.ts +2 -0
  226. package/dist/components/ps-filter-bar/ps-filter-bar.js +14 -0
  227. package/dist/components/ps-filter-bar/ps-filter-group-chip.d.ts +2 -0
  228. package/dist/components/ps-filter-bar/ps-filter-group-chip.js +7 -0
  229. package/dist/components/ps-form-sheet/index.d.ts +2 -0
  230. package/dist/components/ps-form-sheet/index.js +2 -0
  231. package/dist/components/ps-form-sheet/ps-form-sheet-props.d.ts +18 -0
  232. package/dist/components/ps-form-sheet/ps-form-sheet-props.js +1 -0
  233. package/dist/components/ps-form-sheet/ps-form-sheet.d.ts +2 -0
  234. package/dist/components/ps-form-sheet/ps-form-sheet.js +11 -0
  235. package/dist/components/ps-host/index.d.ts +2 -0
  236. package/dist/components/ps-host/index.js +2 -0
  237. package/dist/components/ps-host/ps-host-props.d.ts +11 -0
  238. package/dist/components/ps-host/ps-host-props.js +1 -0
  239. package/dist/components/ps-host/ps-host.android.d.ts +2 -0
  240. package/dist/components/ps-host/ps-host.android.js +8 -0
  241. package/dist/components/ps-host/ps-host.d.ts +2 -0
  242. package/dist/components/ps-host/ps-host.ios.d.ts +2 -0
  243. package/dist/components/ps-host/ps-host.ios.js +8 -0
  244. package/dist/components/ps-host/ps-host.js +3 -0
  245. package/dist/components/ps-host-scope/index.d.ts +1 -0
  246. package/dist/components/ps-host-scope/index.js +1 -0
  247. package/dist/components/ps-host-scope/ps-host-scope.d.ts +2 -0
  248. package/dist/components/ps-host-scope/ps-host-scope.js +8 -0
  249. package/dist/components/ps-icon/index.d.ts +2 -0
  250. package/dist/components/ps-icon/index.js +2 -0
  251. package/dist/components/ps-icon/ps-icon-element.d.ts +5 -0
  252. package/dist/components/ps-icon/ps-icon-element.js +18 -0
  253. package/dist/components/ps-icon/ps-icon-props.d.ts +7 -0
  254. package/dist/components/ps-icon/ps-icon-props.js +1 -0
  255. package/dist/components/ps-icon/ps-icon.d.ts +2 -0
  256. package/dist/components/ps-icon/ps-icon.js +16 -0
  257. package/dist/components/ps-icon-button/index.d.ts +2 -0
  258. package/dist/components/ps-icon-button/index.js +2 -0
  259. package/dist/components/ps-icon-button/ps-icon-button-props.d.ts +13 -0
  260. package/dist/components/ps-icon-button/ps-icon-button-props.js +1 -0
  261. package/dist/components/ps-icon-button/ps-icon-button.d.ts +2 -0
  262. package/dist/components/ps-icon-button/ps-icon-button.js +42 -0
  263. package/dist/components/ps-icon-menu/index.d.ts +2 -0
  264. package/dist/components/ps-icon-menu/index.js +2 -0
  265. package/dist/components/ps-icon-menu/ps-icon-menu-props.d.ts +6 -0
  266. package/dist/components/ps-icon-menu/ps-icon-menu-props.js +1 -0
  267. package/dist/components/ps-icon-menu/ps-icon-menu.d.ts +2 -0
  268. package/dist/components/ps-icon-menu/ps-icon-menu.js +9 -0
  269. package/dist/components/ps-kpi-card/index.d.ts +2 -0
  270. package/dist/components/ps-kpi-card/index.js +2 -0
  271. package/dist/components/ps-kpi-card/ps-kpi-card-props.d.ts +9 -0
  272. package/dist/components/ps-kpi-card/ps-kpi-card-props.js +1 -0
  273. package/dist/components/ps-kpi-card/ps-kpi-card.d.ts +2 -0
  274. package/dist/components/ps-kpi-card/ps-kpi-card.js +12 -0
  275. package/dist/components/ps-list/index.d.ts +10 -0
  276. package/dist/components/ps-list/index.js +10 -0
  277. package/dist/components/ps-list/ps-list-action-row.d.ts +2 -0
  278. package/dist/components/ps-list/ps-list-action-row.js +24 -0
  279. package/dist/components/ps-list/ps-list-content.d.ts +2 -0
  280. package/dist/components/ps-list/ps-list-content.js +4 -0
  281. package/dist/components/ps-list/ps-list-context-menu.d.ts +8 -0
  282. package/dist/components/ps-list/ps-list-context-menu.js +14 -0
  283. package/dist/components/ps-list/ps-list-person-row-props.d.ts +7 -0
  284. package/dist/components/ps-list/ps-list-person-row-props.js +1 -0
  285. package/dist/components/ps-list/ps-list-person-row.d.ts +2 -0
  286. package/dist/components/ps-list/ps-list-person-row.js +21 -0
  287. package/dist/components/ps-list/ps-list-props.d.ts +72 -0
  288. package/dist/components/ps-list/ps-list-props.js +1 -0
  289. package/dist/components/ps-list/ps-list-row-body.d.ts +6 -0
  290. package/dist/components/ps-list/ps-list-row-body.js +48 -0
  291. package/dist/components/ps-list/ps-list-row-select-mark.d.ts +4 -0
  292. package/dist/components/ps-list/ps-list-row-select-mark.js +20 -0
  293. package/dist/components/ps-list/ps-list-row-skeleton.d.ts +3 -0
  294. package/dist/components/ps-list/ps-list-row-skeleton.js +33 -0
  295. package/dist/components/ps-list/ps-list-row.d.ts +2 -0
  296. package/dist/components/ps-list/ps-list-row.js +15 -0
  297. package/dist/components/ps-list/ps-list-section.d.ts +2 -0
  298. package/dist/components/ps-list/ps-list-section.js +16 -0
  299. package/dist/components/ps-list/ps-list-select-row-props.d.ts +12 -0
  300. package/dist/components/ps-list/ps-list-select-row-props.js +1 -0
  301. package/dist/components/ps-list/ps-list-select-row.d.ts +2 -0
  302. package/dist/components/ps-list/ps-list-select-row.js +27 -0
  303. package/dist/components/ps-list/ps-list-swipe-layer.d.ts +10 -0
  304. package/dist/components/ps-list/ps-list-swipe-layer.js +36 -0
  305. package/dist/components/ps-list/ps-list-swipe-row-props.d.ts +7 -0
  306. package/dist/components/ps-list/ps-list-swipe-row-props.js +1 -0
  307. package/dist/components/ps-list/ps-list-swipe-row.d.ts +2 -0
  308. package/dist/components/ps-list/ps-list-swipe-row.js +57 -0
  309. package/dist/components/ps-list/ps-list.d.ts +2 -0
  310. package/dist/components/ps-list/ps-list.js +6 -0
  311. package/dist/components/ps-mobile-theme-provider/index.d.ts +2 -0
  312. package/dist/components/ps-mobile-theme-provider/index.js +2 -0
  313. package/dist/components/ps-mobile-theme-provider/ps-mobile-theme-provider-props.d.ts +13 -0
  314. package/dist/components/ps-mobile-theme-provider/ps-mobile-theme-provider-props.js +1 -0
  315. package/dist/components/ps-mobile-theme-provider/ps-mobile-theme-provider.d.ts +2 -0
  316. package/dist/components/ps-mobile-theme-provider/ps-mobile-theme-provider.js +32 -0
  317. package/dist/components/ps-native-menu/index.d.ts +2 -0
  318. package/dist/components/ps-native-menu/index.js +2 -0
  319. package/dist/components/ps-native-menu/ps-native-menu-props.d.ts +14 -0
  320. package/dist/components/ps-native-menu/ps-native-menu-props.js +1 -0
  321. package/dist/components/ps-native-menu/ps-native-menu-row.d.ts +6 -0
  322. package/dist/components/ps-native-menu/ps-native-menu-row.js +22 -0
  323. package/dist/components/ps-native-menu/ps-native-menu.android.d.ts +2 -0
  324. package/dist/components/ps-native-menu/ps-native-menu.android.js +29 -0
  325. package/dist/components/ps-native-menu/ps-native-menu.d.ts +2 -0
  326. package/dist/components/ps-native-menu/ps-native-menu.ios.d.ts +2 -0
  327. package/dist/components/ps-native-menu/ps-native-menu.ios.js +12 -0
  328. package/dist/components/ps-native-menu/ps-native-menu.js +18 -0
  329. package/dist/components/ps-native-menu-overlay/index.d.ts +2 -0
  330. package/dist/components/ps-native-menu-overlay/index.js +2 -0
  331. package/dist/components/ps-native-menu-overlay/ps-native-menu-overlay-props.d.ts +6 -0
  332. package/dist/components/ps-native-menu-overlay/ps-native-menu-overlay-props.js +1 -0
  333. package/dist/components/ps-native-menu-overlay/ps-native-menu-overlay.d.ts +2 -0
  334. package/dist/components/ps-native-menu-overlay/ps-native-menu-overlay.ios.d.ts +2 -0
  335. package/dist/components/ps-native-menu-overlay/ps-native-menu-overlay.ios.js +19 -0
  336. package/dist/components/ps-native-menu-overlay/ps-native-menu-overlay.js +1 -0
  337. package/dist/components/ps-page-backdrop/index.d.ts +1 -0
  338. package/dist/components/ps-page-backdrop/index.js +1 -0
  339. package/dist/components/ps-page-backdrop/ps-page-backdrop.d.ts +1 -0
  340. package/dist/components/ps-page-backdrop/ps-page-backdrop.js +34 -0
  341. package/dist/components/ps-page-header/index.d.ts +2 -0
  342. package/dist/components/ps-page-header/index.js +2 -0
  343. package/dist/components/ps-page-header/ps-page-header-props.d.ts +10 -0
  344. package/dist/components/ps-page-header/ps-page-header-props.js +1 -0
  345. package/dist/components/ps-page-header/ps-page-header.d.ts +2 -0
  346. package/dist/components/ps-page-header/ps-page-header.js +36 -0
  347. package/dist/components/ps-pallasoft-sign-in-button/index.d.ts +3 -0
  348. package/dist/components/ps-pallasoft-sign-in-button/index.js +3 -0
  349. package/dist/components/ps-pallasoft-sign-in-button/ps-pallasoft-mark.d.ts +4 -0
  350. package/dist/components/ps-pallasoft-sign-in-button/ps-pallasoft-mark.js +4 -0
  351. package/dist/components/ps-pallasoft-sign-in-button/ps-pallasoft-sign-in-button-props.d.ts +6 -0
  352. package/dist/components/ps-pallasoft-sign-in-button/ps-pallasoft-sign-in-button-props.js +1 -0
  353. package/dist/components/ps-pallasoft-sign-in-button/ps-pallasoft-sign-in-button.d.ts +2 -0
  354. package/dist/components/ps-pallasoft-sign-in-button/ps-pallasoft-sign-in-button.js +26 -0
  355. package/dist/components/ps-pallasoft-sign-in-button/ps-pallasoft-sign-in-content.d.ts +6 -0
  356. package/dist/components/ps-pallasoft-sign-in-button/ps-pallasoft-sign-in-content.js +6 -0
  357. package/dist/components/ps-screen/index.d.ts +2 -0
  358. package/dist/components/ps-screen/index.js +2 -0
  359. package/dist/components/ps-screen/ps-screen-props.d.ts +10 -0
  360. package/dist/components/ps-screen/ps-screen-props.js +1 -0
  361. package/dist/components/ps-screen/ps-screen.d.ts +2 -0
  362. package/dist/components/ps-screen/ps-screen.js +19 -0
  363. package/dist/components/ps-search-field/index.d.ts +2 -0
  364. package/dist/components/ps-search-field/index.js +2 -0
  365. package/dist/components/ps-search-field/ps-search-field-props.d.ts +7 -0
  366. package/dist/components/ps-search-field/ps-search-field-props.js +1 -0
  367. package/dist/components/ps-search-field/ps-search-field.d.ts +2 -0
  368. package/dist/components/ps-search-field/ps-search-field.js +25 -0
  369. package/dist/components/ps-segmented-control/index.d.ts +2 -0
  370. package/dist/components/ps-segmented-control/index.js +2 -0
  371. package/dist/components/ps-segmented-control/ps-segmented-control-props.d.ts +9 -0
  372. package/dist/components/ps-segmented-control/ps-segmented-control-props.js +1 -0
  373. package/dist/components/ps-segmented-control/ps-segmented-control.android.d.ts +2 -0
  374. package/dist/components/ps-segmented-control/ps-segmented-control.android.js +27 -0
  375. package/dist/components/ps-segmented-control/ps-segmented-control.d.ts +2 -0
  376. package/dist/components/ps-segmented-control/ps-segmented-control.ios.d.ts +2 -0
  377. package/dist/components/ps-segmented-control/ps-segmented-control.ios.js +18 -0
  378. package/dist/components/ps-segmented-control/ps-segmented-control.js +55 -0
  379. package/dist/components/ps-select/index.d.ts +2 -0
  380. package/dist/components/ps-select/index.js +2 -0
  381. package/dist/components/ps-select/ps-select-control-props.d.ts +9 -0
  382. package/dist/components/ps-select/ps-select-control-props.js +1 -0
  383. package/dist/components/ps-select/ps-select-control.d.ts +2 -0
  384. package/dist/components/ps-select/ps-select-control.js +21 -0
  385. package/dist/components/ps-select/ps-select-props.d.ts +18 -0
  386. package/dist/components/ps-select/ps-select-props.js +1 -0
  387. package/dist/components/ps-select/ps-select-trigger.d.ts +8 -0
  388. package/dist/components/ps-select/ps-select-trigger.js +3 -0
  389. package/dist/components/ps-select/ps-select.d.ts +2 -0
  390. package/dist/components/ps-select/ps-select.js +20 -0
  391. package/dist/components/ps-sheet/index.d.ts +2 -0
  392. package/dist/components/ps-sheet/index.js +2 -0
  393. package/dist/components/ps-sheet/ps-sheet-props.d.ts +15 -0
  394. package/dist/components/ps-sheet/ps-sheet-props.js +1 -0
  395. package/dist/components/ps-sheet/ps-sheet.d.ts +2 -0
  396. package/dist/components/ps-sheet/ps-sheet.js +14 -0
  397. package/dist/components/ps-sheet-content/index.d.ts +2 -0
  398. package/dist/components/ps-sheet-content/index.js +2 -0
  399. package/dist/components/ps-sheet-content/ps-sheet-content-props.d.ts +8 -0
  400. package/dist/components/ps-sheet-content/ps-sheet-content-props.js +1 -0
  401. package/dist/components/ps-sheet-content/ps-sheet-content.d.ts +2 -0
  402. package/dist/components/ps-sheet-content/ps-sheet-content.js +40 -0
  403. package/dist/components/ps-sheet-header/index.d.ts +2 -0
  404. package/dist/components/ps-sheet-header/index.js +2 -0
  405. package/dist/components/ps-sheet-header/ps-sheet-header-props.d.ts +9 -0
  406. package/dist/components/ps-sheet-header/ps-sheet-header-props.js +1 -0
  407. package/dist/components/ps-sheet-header/ps-sheet-header.d.ts +2 -0
  408. package/dist/components/ps-sheet-header/ps-sheet-header.js +32 -0
  409. package/dist/components/ps-sheet-presenter/index.d.ts +2 -0
  410. package/dist/components/ps-sheet-presenter/index.js +2 -0
  411. package/dist/components/ps-sheet-presenter/ps-sheet-presenter-props.d.ts +7 -0
  412. package/dist/components/ps-sheet-presenter/ps-sheet-presenter-props.js +1 -0
  413. package/dist/components/ps-sheet-presenter/ps-sheet-presenter.android.d.ts +2 -0
  414. package/dist/components/ps-sheet-presenter/ps-sheet-presenter.android.js +17 -0
  415. package/dist/components/ps-sheet-presenter/ps-sheet-presenter.d.ts +2 -0
  416. package/dist/components/ps-sheet-presenter/ps-sheet-presenter.ios.d.ts +2 -0
  417. package/dist/components/ps-sheet-presenter/ps-sheet-presenter.ios.js +28 -0
  418. package/dist/components/ps-sheet-presenter/ps-sheet-presenter.js +17 -0
  419. package/dist/components/ps-skeleton/index.d.ts +3 -0
  420. package/dist/components/ps-skeleton/index.js +3 -0
  421. package/dist/components/ps-skeleton/ps-skeleton-bar.d.ts +7 -0
  422. package/dist/components/ps-skeleton/ps-skeleton-bar.js +16 -0
  423. package/dist/components/ps-skeleton/ps-skeleton-list.d.ts +2 -0
  424. package/dist/components/ps-skeleton/ps-skeleton-list.js +11 -0
  425. package/dist/components/ps-skeleton/ps-skeleton-props.d.ts +16 -0
  426. package/dist/components/ps-skeleton/ps-skeleton-props.js +1 -0
  427. package/dist/components/ps-skeleton/ps-skeleton-sweep.d.ts +2 -0
  428. package/dist/components/ps-skeleton/ps-skeleton-sweep.js +13 -0
  429. package/dist/components/ps-skeleton/ps-skeleton.d.ts +2 -0
  430. package/dist/components/ps-skeleton/ps-skeleton.js +12 -0
  431. package/dist/components/ps-sortable-grid/index.d.ts +2 -0
  432. package/dist/components/ps-sortable-grid/index.js +2 -0
  433. package/dist/components/ps-sortable-grid/ps-sortable-grid-props.d.ts +22 -0
  434. package/dist/components/ps-sortable-grid/ps-sortable-grid-props.js +1 -0
  435. package/dist/components/ps-sortable-grid/ps-sortable-grid.d.ts +2 -0
  436. package/dist/components/ps-sortable-grid/ps-sortable-grid.js +140 -0
  437. package/dist/components/ps-sortable-grid/ps-sortable-item-props.d.ts +23 -0
  438. package/dist/components/ps-sortable-grid/ps-sortable-item-props.js +1 -0
  439. package/dist/components/ps-sortable-grid/ps-sortable-item.d.ts +2 -0
  440. package/dist/components/ps-sortable-grid/ps-sortable-item.js +72 -0
  441. package/dist/components/ps-sparkline/index.d.ts +2 -0
  442. package/dist/components/ps-sparkline/index.js +2 -0
  443. package/dist/components/ps-sparkline/ps-sparkline-props.d.ts +7 -0
  444. package/dist/components/ps-sparkline/ps-sparkline-props.js +1 -0
  445. package/dist/components/ps-sparkline/ps-sparkline.d.ts +2 -0
  446. package/dist/components/ps-sparkline/ps-sparkline.js +27 -0
  447. package/dist/components/ps-spinner/index.d.ts +2 -0
  448. package/dist/components/ps-spinner/index.js +2 -0
  449. package/dist/components/ps-spinner/ps-spinner-props.d.ts +4 -0
  450. package/dist/components/ps-spinner/ps-spinner-props.js +1 -0
  451. package/dist/components/ps-spinner/ps-spinner.d.ts +2 -0
  452. package/dist/components/ps-spinner/ps-spinner.js +7 -0
  453. package/dist/components/ps-splash-overlay/index.d.ts +2 -0
  454. package/dist/components/ps-splash-overlay/index.js +2 -0
  455. package/dist/components/ps-splash-overlay/ps-splash-overlay-props.d.ts +7 -0
  456. package/dist/components/ps-splash-overlay/ps-splash-overlay-props.js +1 -0
  457. package/dist/components/ps-splash-overlay/ps-splash-overlay.d.ts +2 -0
  458. package/dist/components/ps-splash-overlay/ps-splash-overlay.js +38 -0
  459. package/dist/components/ps-stagger/index.d.ts +3 -0
  460. package/dist/components/ps-stagger/index.js +3 -0
  461. package/dist/components/ps-stagger/ps-stagger-container.d.ts +2 -0
  462. package/dist/components/ps-stagger/ps-stagger-container.js +5 -0
  463. package/dist/components/ps-stagger/ps-stagger-item.d.ts +2 -0
  464. package/dist/components/ps-stagger/ps-stagger-item.js +13 -0
  465. package/dist/components/ps-stagger/ps-stagger-props.d.ts +10 -0
  466. package/dist/components/ps-stagger/ps-stagger-props.js +1 -0
  467. package/dist/components/ps-statement-table/index.d.ts +2 -0
  468. package/dist/components/ps-statement-table/index.js +2 -0
  469. package/dist/components/ps-statement-table/ps-statement-table-props.d.ts +27 -0
  470. package/dist/components/ps-statement-table/ps-statement-table-props.js +1 -0
  471. package/dist/components/ps-statement-table/ps-statement-table-row.d.ts +7 -0
  472. package/dist/components/ps-statement-table/ps-statement-table-row.js +31 -0
  473. package/dist/components/ps-statement-table/ps-statement-table-skeleton.d.ts +4 -0
  474. package/dist/components/ps-statement-table/ps-statement-table-skeleton.js +18 -0
  475. package/dist/components/ps-statement-table/ps-statement-table.d.ts +2 -0
  476. package/dist/components/ps-statement-table/ps-statement-table.js +27 -0
  477. package/dist/components/ps-switch/index.d.ts +2 -0
  478. package/dist/components/ps-switch/index.js +2 -0
  479. package/dist/components/ps-switch/ps-switch-props.d.ts +7 -0
  480. package/dist/components/ps-switch/ps-switch-props.js +1 -0
  481. package/dist/components/ps-switch/ps-switch.d.ts +2 -0
  482. package/dist/components/ps-switch/ps-switch.js +19 -0
  483. package/dist/components/ps-tabs/index.d.ts +2 -0
  484. package/dist/components/ps-tabs/index.js +2 -0
  485. package/dist/components/ps-tabs/ps-tabs-props.d.ts +10 -0
  486. package/dist/components/ps-tabs/ps-tabs-props.js +1 -0
  487. package/dist/components/ps-tabs/ps-tabs.d.ts +2 -0
  488. package/dist/components/ps-tabs/ps-tabs.js +49 -0
  489. package/dist/components/ps-text/index.d.ts +2 -0
  490. package/dist/components/ps-text/index.js +2 -0
  491. package/dist/components/ps-text/ps-text-props.d.ts +20 -0
  492. package/dist/components/ps-text/ps-text-props.js +1 -0
  493. package/dist/components/ps-text/ps-text.d.ts +2 -0
  494. package/dist/components/ps-text/ps-text.js +12 -0
  495. package/dist/components/ps-text-area/index.d.ts +2 -0
  496. package/dist/components/ps-text-area/index.js +2 -0
  497. package/dist/components/ps-text-area/ps-text-area-props.d.ts +11 -0
  498. package/dist/components/ps-text-area/ps-text-area-props.js +1 -0
  499. package/dist/components/ps-text-area/ps-text-area.d.ts +2 -0
  500. package/dist/components/ps-text-area/ps-text-area.js +30 -0
  501. package/dist/components/ps-text-field/index.d.ts +2 -0
  502. package/dist/components/ps-text-field/index.js +2 -0
  503. package/dist/components/ps-text-field/ps-text-field-props.d.ts +12 -0
  504. package/dist/components/ps-text-field/ps-text-field-props.js +1 -0
  505. package/dist/components/ps-text-field/ps-text-field.d.ts +2 -0
  506. package/dist/components/ps-text-field/ps-text-field.js +20 -0
  507. package/dist/components/ps-text-link/index.d.ts +2 -0
  508. package/dist/components/ps-text-link/index.js +2 -0
  509. package/dist/components/ps-text-link/ps-text-link-props.d.ts +5 -0
  510. package/dist/components/ps-text-link/ps-text-link-props.js +1 -0
  511. package/dist/components/ps-text-link/ps-text-link.d.ts +2 -0
  512. package/dist/components/ps-text-link/ps-text-link.js +12 -0
  513. package/dist/components/ps-toast/index.d.ts +3 -0
  514. package/dist/components/ps-toast/index.js +3 -0
  515. package/dist/components/ps-toast/ps-toast-props.d.ts +13 -0
  516. package/dist/components/ps-toast/ps-toast-props.js +1 -0
  517. package/dist/components/ps-toast/ps-toast-provider.d.ts +2 -0
  518. package/dist/components/ps-toast/ps-toast-provider.js +44 -0
  519. package/dist/components/ps-toast/ps-toast.d.ts +2 -0
  520. package/dist/components/ps-toast/ps-toast.js +26 -0
  521. package/dist/components/ps-widget-list/index.d.ts +3 -0
  522. package/dist/components/ps-widget-list/index.js +3 -0
  523. package/dist/components/ps-widget-list/ps-widget-grid.d.ts +2 -0
  524. package/dist/components/ps-widget-list/ps-widget-grid.js +10 -0
  525. package/dist/components/ps-widget-list/ps-widget-list-props.d.ts +10 -0
  526. package/dist/components/ps-widget-list/ps-widget-list-props.js +1 -0
  527. package/dist/components/ps-widget-list/ps-widget-list.d.ts +2 -0
  528. package/dist/components/ps-widget-list/ps-widget-list.js +14 -0
  529. package/dist/constants/ps-amount-field-config.d.ts +5 -0
  530. package/dist/constants/ps-amount-field-config.js +5 -0
  531. package/dist/constants/ps-avatar-config.d.ts +15 -0
  532. package/dist/constants/ps-avatar-config.js +5 -0
  533. package/dist/constants/ps-chart-config.d.ts +31 -0
  534. package/dist/constants/ps-chart-config.js +31 -0
  535. package/dist/constants/ps-chart-delta.d.ts +18 -0
  536. package/dist/constants/ps-chart-delta.js +16 -0
  537. package/dist/constants/ps-chart-kind.d.ts +7 -0
  538. package/dist/constants/ps-chart-kind.js +6 -0
  539. package/dist/constants/ps-chart-skeleton-variant.d.ts +6 -0
  540. package/dist/constants/ps-chart-skeleton-variant.js +5 -0
  541. package/dist/constants/ps-checkbox-config.d.ts +5 -0
  542. package/dist/constants/ps-checkbox-config.js +5 -0
  543. package/dist/constants/ps-color-swatches-config.d.ts +5 -0
  544. package/dist/constants/ps-color-swatches-config.js +5 -0
  545. package/dist/constants/ps-date-field-config.d.ts +7 -0
  546. package/dist/constants/ps-date-field-config.js +7 -0
  547. package/dist/constants/ps-document-config.d.ts +23 -0
  548. package/dist/constants/ps-document-config.js +23 -0
  549. package/dist/constants/ps-document-kind.d.ts +6 -0
  550. package/dist/constants/ps-document-kind.js +5 -0
  551. package/dist/constants/ps-document-scanner-config.d.ts +10 -0
  552. package/dist/constants/ps-document-scanner-config.js +10 -0
  553. package/dist/constants/ps-field-skeleton-config.d.ts +6 -0
  554. package/dist/constants/ps-field-skeleton-config.js +6 -0
  555. package/dist/constants/ps-font-config.d.ts +6 -0
  556. package/dist/constants/ps-font-config.js +6 -0
  557. package/dist/constants/ps-form-sheet-config.d.ts +3 -0
  558. package/dist/constants/ps-form-sheet-config.js +3 -0
  559. package/dist/constants/ps-layout-config.d.ts +26 -0
  560. package/dist/constants/ps-layout-config.js +26 -0
  561. package/dist/constants/ps-list-config.d.ts +11 -0
  562. package/dist/constants/ps-list-config.js +11 -0
  563. package/dist/constants/ps-mobile-control-config.d.ts +55 -0
  564. package/dist/constants/ps-mobile-control-config.js +45 -0
  565. package/dist/constants/ps-mobile-icon-key.d.ts +88 -0
  566. package/dist/constants/ps-mobile-icon-key.js +2 -0
  567. package/dist/constants/ps-motion-config.d.ts +9 -0
  568. package/dist/constants/ps-motion-config.js +9 -0
  569. package/dist/constants/ps-native-menu-config.d.ts +6 -0
  570. package/dist/constants/ps-native-menu-config.js +6 -0
  571. package/dist/constants/ps-page-header-config.d.ts +8 -0
  572. package/dist/constants/ps-page-header-config.js +8 -0
  573. package/dist/constants/ps-segmented-control-config.d.ts +4 -0
  574. package/dist/constants/ps-segmented-control-config.js +4 -0
  575. package/dist/constants/ps-sf-symbol-config.d.ts +36 -0
  576. package/dist/constants/ps-sf-symbol-config.js +36 -0
  577. package/dist/constants/ps-sheet-config.d.ts +11 -0
  578. package/dist/constants/ps-sheet-config.js +11 -0
  579. package/dist/constants/ps-skeleton-config.d.ts +7 -0
  580. package/dist/constants/ps-skeleton-config.js +27 -0
  581. package/dist/constants/ps-skeleton-shape.d.ts +11 -0
  582. package/dist/constants/ps-skeleton-shape.js +12 -0
  583. package/dist/constants/ps-sortable-grid-config.d.ts +16 -0
  584. package/dist/constants/ps-sortable-grid-config.js +18 -0
  585. package/dist/constants/ps-sortable-grid-span.d.ts +5 -0
  586. package/dist/constants/ps-sortable-grid-span.js +4 -0
  587. package/dist/constants/ps-statement-table-config.d.ts +13 -0
  588. package/dist/constants/ps-statement-table-config.js +13 -0
  589. package/dist/constants/ps-swipe-config.d.ts +20 -0
  590. package/dist/constants/ps-swipe-config.js +16 -0
  591. package/dist/constants/ps-tabs-config.d.ts +8 -0
  592. package/dist/constants/ps-tabs-config.js +8 -0
  593. package/dist/constants/ps-text-area-config.d.ts +5 -0
  594. package/dist/constants/ps-text-area-config.js +5 -0
  595. package/dist/constants/ps-text-config.d.ts +9 -0
  596. package/dist/constants/ps-text-config.js +9 -0
  597. package/dist/constants/ps-toast-config.d.ts +10 -0
  598. package/dist/constants/ps-toast-config.js +10 -0
  599. package/dist/contexts/ps-mobile-theme-context.d.ts +2 -0
  600. package/dist/contexts/ps-mobile-theme-context.js +2 -0
  601. package/dist/contexts/ps-native-tree-context.d.ts +1 -0
  602. package/dist/contexts/ps-native-tree-context.js +2 -0
  603. package/dist/contexts/ps-page-header-context.d.ts +1 -0
  604. package/dist/contexts/ps-page-header-context.js +2 -0
  605. package/dist/contexts/ps-scroll-context.d.ts +2 -0
  606. package/dist/contexts/ps-scroll-context.js +2 -0
  607. package/dist/contexts/ps-sheet-measure-context.d.ts +1 -0
  608. package/dist/contexts/ps-sheet-measure-context.js +2 -0
  609. package/dist/contexts/ps-stagger-index-context.d.ts +1 -0
  610. package/dist/contexts/ps-stagger-index-context.js +2 -0
  611. package/dist/contexts/ps-toast-context.d.ts +2 -0
  612. package/dist/contexts/ps-toast-context.js +5 -0
  613. package/dist/hooks/use-ps-chart-reveal.d.ts +2 -0
  614. package/dist/hooks/use-ps-chart-reveal.js +17 -0
  615. package/dist/hooks/use-ps-chart-scrub.d.ts +3 -0
  616. package/dist/hooks/use-ps-chart-scrub.js +23 -0
  617. package/dist/hooks/use-ps-chart-width.d.ts +2 -0
  618. package/dist/hooks/use-ps-chart-width.js +6 -0
  619. package/dist/hooks/use-ps-document-scanner.d.ts +3 -0
  620. package/dist/hooks/use-ps-document-scanner.js +21 -0
  621. package/dist/hooks/use-ps-focus.d.ts +6 -0
  622. package/dist/hooks/use-ps-focus.js +9 -0
  623. package/dist/hooks/use-ps-haptics.d.ts +2 -0
  624. package/dist/hooks/use-ps-haptics.js +7 -0
  625. package/dist/hooks/use-ps-mobile-theme.d.ts +2 -0
  626. package/dist/hooks/use-ps-mobile-theme.js +9 -0
  627. package/dist/hooks/use-ps-pulse.d.ts +1 -0
  628. package/dist/hooks/use-ps-pulse.js +10 -0
  629. package/dist/hooks/use-ps-refresh.d.ts +5 -0
  630. package/dist/hooks/use-ps-refresh.js +19 -0
  631. package/dist/hooks/use-ps-remote-data.d.ts +3 -0
  632. package/dist/hooks/use-ps-remote-data.js +72 -0
  633. package/dist/hooks/use-ps-scroll-host.d.ts +2 -0
  634. package/dist/hooks/use-ps-scroll-host.js +34 -0
  635. package/dist/hooks/use-ps-skeleton-sweep.d.ts +8 -0
  636. package/dist/hooks/use-ps-skeleton-sweep.js +21 -0
  637. package/dist/hooks/use-ps-toast.d.ts +2 -0
  638. package/dist/hooks/use-ps-toast.js +3 -0
  639. package/dist/index.d.ts +113 -0
  640. package/dist/index.js +109 -0
  641. package/dist/interfaces/ps-action-menu-header.d.ts +6 -0
  642. package/dist/interfaces/ps-action-menu-header.js +1 -0
  643. package/dist/interfaces/ps-action-menu-section.d.ts +6 -0
  644. package/dist/interfaces/ps-action-menu-section.js +1 -0
  645. package/dist/interfaces/ps-area-chart-datum.d.ts +5 -0
  646. package/dist/interfaces/ps-area-chart-datum.js +1 -0
  647. package/dist/interfaces/ps-backdrop-line.d.ts +4 -0
  648. package/dist/interfaces/ps-backdrop-line.js +1 -0
  649. package/dist/interfaces/ps-button-style-data.d.ts +7 -0
  650. package/dist/interfaces/ps-button-style-data.js +1 -0
  651. package/dist/interfaces/ps-cartesian-chart-series.d.ts +5 -0
  652. package/dist/interfaces/ps-cartesian-chart-series.js +1 -0
  653. package/dist/interfaces/ps-chart-bar-rect.d.ts +9 -0
  654. package/dist/interfaces/ps-chart-bar-rect.js +1 -0
  655. package/dist/interfaces/ps-chart-delta-colors.d.ts +4 -0
  656. package/dist/interfaces/ps-chart-delta-colors.js +1 -0
  657. package/dist/interfaces/ps-chart-domain.d.ts +5 -0
  658. package/dist/interfaces/ps-chart-domain.js +1 -0
  659. package/dist/interfaces/ps-chart-legend-item.d.ts +5 -0
  660. package/dist/interfaces/ps-chart-legend-item.js +1 -0
  661. package/dist/interfaces/ps-chart-palette-colors.d.ts +4 -0
  662. package/dist/interfaces/ps-chart-palette-colors.js +1 -0
  663. package/dist/interfaces/ps-chart-palette-input.d.ts +7 -0
  664. package/dist/interfaces/ps-chart-palette-input.js +1 -0
  665. package/dist/interfaces/ps-chart-plot.d.ts +6 -0
  666. package/dist/interfaces/ps-chart-plot.js +1 -0
  667. package/dist/interfaces/ps-chart-point.d.ts +4 -0
  668. package/dist/interfaces/ps-chart-point.js +1 -0
  669. package/dist/interfaces/ps-chart-readout-item.d.ts +5 -0
  670. package/dist/interfaces/ps-chart-readout-item.js +1 -0
  671. package/dist/interfaces/ps-chart-scrub-result.d.ts +5 -0
  672. package/dist/interfaces/ps-chart-scrub-result.js +1 -0
  673. package/dist/interfaces/ps-chart-width-result.d.ts +5 -0
  674. package/dist/interfaces/ps-chart-width-result.js +1 -0
  675. package/dist/interfaces/ps-color-scheme-choice.d.ts +1 -0
  676. package/dist/interfaces/ps-color-scheme-choice.js +1 -0
  677. package/dist/interfaces/ps-control-state.d.ts +5 -0
  678. package/dist/interfaces/ps-control-state.js +1 -0
  679. package/dist/interfaces/ps-date-limits.d.ts +4 -0
  680. package/dist/interfaces/ps-date-limits.js +1 -0
  681. package/dist/interfaces/ps-document-item.d.ts +9 -0
  682. package/dist/interfaces/ps-document-item.js +1 -0
  683. package/dist/interfaces/ps-document-labels.d.ts +9 -0
  684. package/dist/interfaces/ps-document-labels.js +1 -0
  685. package/dist/interfaces/ps-document-scanner-native.d.ts +14 -0
  686. package/dist/interfaces/ps-document-scanner-native.js +1 -0
  687. package/dist/interfaces/ps-document-scanner-options.d.ts +5 -0
  688. package/dist/interfaces/ps-document-scanner-options.js +1 -0
  689. package/dist/interfaces/ps-document-source.d.ts +4 -0
  690. package/dist/interfaces/ps-document-source.js +1 -0
  691. package/dist/interfaces/ps-donut-chart-datum.d.ts +6 -0
  692. package/dist/interfaces/ps-donut-chart-datum.js +1 -0
  693. package/dist/interfaces/ps-donut-slice-data.d.ts +7 -0
  694. package/dist/interfaces/ps-donut-slice-data.js +1 -0
  695. package/dist/interfaces/ps-filter-bar-labels.d.ts +8 -0
  696. package/dist/interfaces/ps-filter-bar-labels.js +1 -0
  697. package/dist/interfaces/ps-filter-chip.d.ts +4 -0
  698. package/dist/interfaces/ps-filter-chip.js +1 -0
  699. package/dist/interfaces/ps-filter-group.d.ts +7 -0
  700. package/dist/interfaces/ps-filter-group.js +1 -0
  701. package/dist/interfaces/ps-filter-option.d.ts +4 -0
  702. package/dist/interfaces/ps-filter-option.js +1 -0
  703. package/dist/interfaces/ps-font-weight.d.ts +1 -0
  704. package/dist/interfaces/ps-font-weight.js +1 -0
  705. package/dist/interfaces/ps-haptic-kind.d.ts +1 -0
  706. package/dist/interfaces/ps-haptic-kind.js +1 -0
  707. package/dist/interfaces/ps-menu-item-tone.d.ts +1 -0
  708. package/dist/interfaces/ps-menu-item-tone.js +1 -0
  709. package/dist/interfaces/ps-menu-item.d.ts +14 -0
  710. package/dist/interfaces/ps-menu-item.js +1 -0
  711. package/dist/interfaces/ps-mobile-fonts.d.ts +6 -0
  712. package/dist/interfaces/ps-mobile-fonts.js +1 -0
  713. package/dist/interfaces/ps-mobile-theme-input.d.ts +9 -0
  714. package/dist/interfaces/ps-mobile-theme-input.js +1 -0
  715. package/dist/interfaces/ps-mobile-theme.d.ts +31 -0
  716. package/dist/interfaces/ps-mobile-theme.js +1 -0
  717. package/dist/interfaces/ps-native-menu-item.d.ts +7 -0
  718. package/dist/interfaces/ps-native-menu-item.js +1 -0
  719. package/dist/interfaces/ps-overlay-scale.d.ts +4 -0
  720. package/dist/interfaces/ps-overlay-scale.js +1 -0
  721. package/dist/interfaces/ps-page-header-layout.d.ts +4 -0
  722. package/dist/interfaces/ps-page-header-layout.js +1 -0
  723. package/dist/interfaces/ps-remote-data-options.d.ts +5 -0
  724. package/dist/interfaces/ps-remote-data-options.js +1 -0
  725. package/dist/interfaces/ps-remote-data-result.d.ts +5 -0
  726. package/dist/interfaces/ps-remote-data-result.js +1 -0
  727. package/dist/interfaces/ps-remote-data-state.d.ts +5 -0
  728. package/dist/interfaces/ps-remote-data-state.js +1 -0
  729. package/dist/interfaces/ps-scanned-file.d.ts +5 -0
  730. package/dist/interfaces/ps-scanned-file.js +1 -0
  731. package/dist/interfaces/ps-screen-insets.d.ts +4 -0
  732. package/dist/interfaces/ps-screen-insets.js +1 -0
  733. package/dist/interfaces/ps-scroll-context-data.d.ts +7 -0
  734. package/dist/interfaces/ps-scroll-context-data.js +1 -0
  735. package/dist/interfaces/ps-scroll-host-result.d.ts +11 -0
  736. package/dist/interfaces/ps-scroll-host-result.js +1 -0
  737. package/dist/interfaces/ps-scroll-metrics-data.d.ts +7 -0
  738. package/dist/interfaces/ps-scroll-metrics-data.js +1 -0
  739. package/dist/interfaces/ps-sheet-action.d.ts +7 -0
  740. package/dist/interfaces/ps-sheet-action.js +1 -0
  741. package/dist/interfaces/ps-sign-in-surface.d.ts +6 -0
  742. package/dist/interfaces/ps-sign-in-surface.js +1 -0
  743. package/dist/interfaces/ps-size.d.ts +4 -0
  744. package/dist/interfaces/ps-size.js +1 -0
  745. package/dist/interfaces/ps-skeleton-resolved.d.ts +6 -0
  746. package/dist/interfaces/ps-skeleton-resolved.js +1 -0
  747. package/dist/interfaces/ps-skeleton-size.d.ts +4 -0
  748. package/dist/interfaces/ps-skeleton-size.js +1 -0
  749. package/dist/interfaces/ps-sortable-drag-data.d.ts +10 -0
  750. package/dist/interfaces/ps-sortable-drag-data.js +1 -0
  751. package/dist/interfaces/ps-sortable-rect.d.ts +6 -0
  752. package/dist/interfaces/ps-sortable-rect.js +1 -0
  753. package/dist/interfaces/ps-statement-section.d.ts +6 -0
  754. package/dist/interfaces/ps-statement-section.js +1 -0
  755. package/dist/interfaces/ps-tab-frame.d.ts +4 -0
  756. package/dist/interfaces/ps-tab-frame.js +1 -0
  757. package/dist/interfaces/ps-text-align.d.ts +1 -0
  758. package/dist/interfaces/ps-text-align.js +1 -0
  759. package/dist/interfaces/ps-text-field-type.d.ts +1 -0
  760. package/dist/interfaces/ps-text-field-type.js +1 -0
  761. package/dist/interfaces/ps-text-tone.d.ts +1 -0
  762. package/dist/interfaces/ps-text-tone.js +1 -0
  763. package/dist/interfaces/ps-text-variant.d.ts +1 -0
  764. package/dist/interfaces/ps-text-variant.js +1 -0
  765. package/dist/interfaces/ps-toast-action-data.d.ts +4 -0
  766. package/dist/interfaces/ps-toast-action-data.js +1 -0
  767. package/dist/interfaces/ps-toast-context-data.d.ts +6 -0
  768. package/dist/interfaces/ps-toast-context-data.js +1 -0
  769. package/dist/interfaces/ps-toast-item-data.d.ts +8 -0
  770. package/dist/interfaces/ps-toast-item-data.js +1 -0
  771. package/dist/interfaces/ps-toast-tone.d.ts +1 -0
  772. package/dist/interfaces/ps-toast-tone.js +1 -0
  773. package/dist/interfaces/ps-tone-colors.d.ts +4 -0
  774. package/dist/interfaces/ps-tone-colors.js +1 -0
  775. package/dist/interfaces/use-ps-document-scanner-result.d.ts +7 -0
  776. package/dist/interfaces/use-ps-document-scanner-result.js +1 -0
  777. package/dist/services/ps-action-menu-service.d.ts +10 -0
  778. package/dist/services/ps-action-menu-service.js +37 -0
  779. package/dist/services/ps-action-sheet-service.d.ts +3 -0
  780. package/dist/services/ps-action-sheet-service.js +6 -0
  781. package/dist/services/ps-amount-field-service.d.ts +3 -0
  782. package/dist/services/ps-amount-field-service.js +16 -0
  783. package/dist/services/ps-amount-tone-service.d.ts +5 -0
  784. package/dist/services/ps-amount-tone-service.js +12 -0
  785. package/dist/services/ps-backdrop-service.d.ts +6 -0
  786. package/dist/services/ps-backdrop-service.js +23 -0
  787. package/dist/services/ps-badge-tone-service.d.ts +6 -0
  788. package/dist/services/ps-badge-tone-service.js +21 -0
  789. package/dist/services/ps-button-style-service.d.ts +6 -0
  790. package/dist/services/ps-button-style-service.js +33 -0
  791. package/dist/services/ps-chart-bar-service.d.ts +11 -0
  792. package/dist/services/ps-chart-bar-service.js +48 -0
  793. package/dist/services/ps-chart-delta-service.d.ts +6 -0
  794. package/dist/services/ps-chart-delta-service.js +10 -0
  795. package/dist/services/ps-chart-donut-service.d.ts +7 -0
  796. package/dist/services/ps-chart-donut-service.js +28 -0
  797. package/dist/services/ps-chart-kind-service.d.ts +6 -0
  798. package/dist/services/ps-chart-kind-service.js +12 -0
  799. package/dist/services/ps-chart-path-service.d.ts +6 -0
  800. package/dist/services/ps-chart-path-service.js +22 -0
  801. package/dist/services/ps-chart-readout-service.d.ts +7 -0
  802. package/dist/services/ps-chart-readout-service.js +13 -0
  803. package/dist/services/ps-chart-scale-service.d.ts +15 -0
  804. package/dist/services/ps-chart-scale-service.js +76 -0
  805. package/dist/services/ps-chart-scrub-service.d.ts +6 -0
  806. package/dist/services/ps-chart-scrub-service.js +17 -0
  807. package/dist/services/ps-chart-series-service.d.ts +11 -0
  808. package/dist/services/ps-chart-series-service.js +34 -0
  809. package/dist/services/ps-context-menu-service.d.ts +6 -0
  810. package/dist/services/ps-context-menu-service.js +17 -0
  811. package/dist/services/ps-control-style-service.d.ts +8 -0
  812. package/dist/services/ps-control-style-service.js +35 -0
  813. package/dist/services/ps-date-field-service.d.ts +6 -0
  814. package/dist/services/ps-date-field-service.js +18 -0
  815. package/dist/services/ps-date-picker-service.d.ts +5 -0
  816. package/dist/services/ps-date-picker-service.js +16 -0
  817. package/dist/services/ps-date-range-service.d.ts +4 -0
  818. package/dist/services/ps-date-range-service.js +7 -0
  819. package/dist/services/ps-document-pager-service.d.ts +7 -0
  820. package/dist/services/ps-document-pager-service.js +18 -0
  821. package/dist/services/ps-document-scanner-service.d.ts +10 -0
  822. package/dist/services/ps-document-scanner-service.js +48 -0
  823. package/dist/services/ps-document-zoom-service.d.ts +9 -0
  824. package/dist/services/ps-document-zoom-service.js +28 -0
  825. package/dist/services/ps-filter-service.d.ts +12 -0
  826. package/dist/services/ps-filter-service.js +28 -0
  827. package/dist/services/ps-haptic-service.d.ts +5 -0
  828. package/dist/services/ps-haptic-service.js +26 -0
  829. package/dist/services/ps-icon-fit-service.d.ts +4 -0
  830. package/dist/services/ps-icon-fit-service.js +16 -0
  831. package/dist/services/ps-keyboard-service.d.ts +7 -0
  832. package/dist/services/ps-keyboard-service.js +22 -0
  833. package/dist/services/ps-list-service.d.ts +9 -0
  834. package/dist/services/ps-list-service.js +18 -0
  835. package/dist/services/ps-list-skeleton-service.d.ts +6 -0
  836. package/dist/services/ps-list-skeleton-service.js +22 -0
  837. package/dist/services/ps-mobile-color-service.d.ts +3 -0
  838. package/dist/services/ps-mobile-color-service.js +9 -0
  839. package/dist/services/ps-mobile-theme-service.d.ts +7 -0
  840. package/dist/services/ps-mobile-theme-service.js +104 -0
  841. package/dist/services/ps-native-menu-service.d.ts +5 -0
  842. package/dist/services/ps-native-menu-service.js +14 -0
  843. package/dist/services/ps-page-header-service.d.ts +4 -0
  844. package/dist/services/ps-page-header-service.js +11 -0
  845. package/dist/services/ps-screen-service.d.ts +6 -0
  846. package/dist/services/ps-screen-service.js +15 -0
  847. package/dist/services/ps-segmented-control-service.d.ts +4 -0
  848. package/dist/services/ps-segmented-control-service.js +11 -0
  849. package/dist/services/ps-select-service.d.ts +4 -0
  850. package/dist/services/ps-select-service.js +6 -0
  851. package/dist/services/ps-select-style-service.d.ts +6 -0
  852. package/dist/services/ps-select-style-service.js +12 -0
  853. package/dist/services/ps-sheet-service.d.ts +10 -0
  854. package/dist/services/ps-sheet-service.js +28 -0
  855. package/dist/services/ps-sign-in-surface-service.d.ts +7 -0
  856. package/dist/services/ps-sign-in-surface-service.js +22 -0
  857. package/dist/services/ps-skeleton-service.d.ts +6 -0
  858. package/dist/services/ps-skeleton-service.js +20 -0
  859. package/dist/services/ps-sortable-grid-service.d.ts +19 -0
  860. package/dist/services/ps-sortable-grid-service.js +89 -0
  861. package/dist/services/ps-statement-table-service.d.ts +18 -0
  862. package/dist/services/ps-statement-table-service.js +52 -0
  863. package/dist/services/ps-swipe-action-service.d.ts +8 -0
  864. package/dist/services/ps-swipe-action-service.js +20 -0
  865. package/dist/services/ps-swipe-service.d.ts +6 -0
  866. package/dist/services/ps-swipe-service.js +27 -0
  867. package/dist/services/ps-tabs-service.d.ts +4 -0
  868. package/dist/services/ps-tabs-service.js +8 -0
  869. package/dist/services/ps-text-service.d.ts +9 -0
  870. package/dist/services/ps-text-service.js +31 -0
  871. package/dist/services/ps-toast-tone-service.d.ts +8 -0
  872. package/dist/services/ps-toast-tone-service.js +26 -0
  873. package/jest-setup.js +59 -0
  874. package/package.json +115 -5
@@ -0,0 +1,23 @@
1
+ import { PallasoftBackdropConfig } from '@pallasoft/ps-design-system';
2
+ export class PsBackdropService {
3
+ static verticalOffsets(width) {
4
+ const count = Math.floor(width / PallasoftBackdropConfig.gridSize);
5
+ return Array.from({ length: count + 1 }, (_, index) => index * PallasoftBackdropConfig.gridSize);
6
+ }
7
+ static horizontalLines(height) {
8
+ const fadeHeight = height * PallasoftBackdropConfig.gridFadeStop;
9
+ const count = Math.floor(fadeHeight / PallasoftBackdropConfig.gridSize);
10
+ return Array.from({ length: count + 1 }, (_, index) => {
11
+ const offset = index * PallasoftBackdropConfig.gridSize;
12
+ return {
13
+ offset,
14
+ opacity: PallasoftBackdropConfig.gridLineOpacity *
15
+ PallasoftBackdropConfig.gridFadeOpacity *
16
+ (1 - offset / fadeHeight),
17
+ };
18
+ });
19
+ }
20
+ static fadeHeight(height) {
21
+ return height * PallasoftBackdropConfig.gridFadeStop;
22
+ }
23
+ }
@@ -0,0 +1,6 @@
1
+ import type { PsMobileTheme } from '../interfaces/ps-mobile-theme';
2
+ import type { PsToneColors } from '../interfaces/ps-tone-colors';
3
+ export type PsBadgeTone = 'danger' | 'neutral' | 'primary' | 'success' | 'warning';
4
+ export declare class PsBadgeToneService {
5
+ static resolve(tone: PsBadgeTone, theme: PsMobileTheme): PsToneColors;
6
+ }
@@ -0,0 +1,21 @@
1
+ import { PsMobileControlConfig } from '../constants/ps-mobile-control-config';
2
+ import { PsMobileColorService } from './ps-mobile-color-service';
3
+ export class PsBadgeToneService {
4
+ static resolve(tone, theme) {
5
+ switch (tone) {
6
+ case 'danger':
7
+ return { background: theme.dangerSoft, foreground: theme.danger };
8
+ case 'primary':
9
+ return { background: theme.primarySoft, foreground: theme.ink };
10
+ case 'success':
11
+ return { background: theme.successSoft, foreground: theme.success };
12
+ case 'warning':
13
+ return { background: theme.warningSoft, foreground: theme.warning };
14
+ default:
15
+ return {
16
+ background: PsMobileColorService.withAlpha(theme.ink, PsMobileControlConfig.neutralAlpha),
17
+ foreground: theme.ink,
18
+ };
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,6 @@
1
+ import type { PsButtonStyleData } from '../interfaces/ps-button-style-data';
2
+ import type { PsMobileTheme } from '../interfaces/ps-mobile-theme';
3
+ export type PsButtonVariant = 'danger' | 'ghost' | 'primary' | 'secondary' | 'surface';
4
+ export declare class PsButtonStyleService {
5
+ static resolve(variant: PsButtonVariant, theme: PsMobileTheme): PsButtonStyleData;
6
+ }
@@ -0,0 +1,33 @@
1
+ import { PsMobileControlConfig } from '../constants/ps-mobile-control-config';
2
+ import { PsMobileColorService } from './ps-mobile-color-service';
3
+ export class PsButtonStyleService {
4
+ static resolve(variant, theme) {
5
+ const hover = PsMobileColorService.withAlpha(theme.primary, PsMobileControlConfig.pressedBorderAlpha);
6
+ switch (variant) {
7
+ case 'primary':
8
+ return {
9
+ background: theme.primary,
10
+ border: theme.primary,
11
+ foreground: theme.primaryContrast,
12
+ pressedBackground: theme.primary,
13
+ pressedBorder: theme.primary,
14
+ };
15
+ case 'danger':
16
+ return {
17
+ background: theme.danger,
18
+ border: theme.danger,
19
+ foreground: theme.white,
20
+ pressedBackground: theme.danger,
21
+ pressedBorder: theme.danger,
22
+ };
23
+ default:
24
+ return {
25
+ background: theme.surface,
26
+ border: theme.line,
27
+ foreground: theme.ink,
28
+ pressedBackground: PsMobileColorService.withAlpha(theme.ink, PsMobileControlConfig.pressedAlpha),
29
+ pressedBorder: hover,
30
+ };
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,11 @@
1
+ import type { PsAreaChartDatum } from '../interfaces/ps-area-chart-datum';
2
+ import type { PsCartesianChartSeries } from '../interfaces/ps-cartesian-chart-series';
3
+ import type { PsChartBarRect } from '../interfaces/ps-chart-bar-rect';
4
+ import type { PsChartDomain } from '../interfaces/ps-chart-domain';
5
+ import type { PsChartPlot } from '../interfaces/ps-chart-plot';
6
+ export declare class PsChartBarService {
7
+ static grouped(data: PsAreaChartDatum[], series: PsCartesianChartSeries[], colors: string[], domain: PsChartDomain, plot: PsChartPlot): PsChartBarRect[];
8
+ static stacked(data: PsAreaChartDatum[], series: PsCartesianChartSeries[], colors: string[], domain: PsChartDomain, plot: PsChartPlot): PsChartBarRect[];
9
+ static slot(count: number, plot: PsChartPlot): number;
10
+ private static rect;
11
+ }
@@ -0,0 +1,48 @@
1
+ import { PsChartConfig } from '../constants/ps-chart-config';
2
+ import { PsChartScaleService } from './ps-chart-scale-service';
3
+ import { PsChartSeriesService } from './ps-chart-series-service';
4
+ export class PsChartBarService {
5
+ static grouped(data, series, colors, domain, plot) {
6
+ const slot = PsChartBarService.slot(data.length, plot);
7
+ const width = (slot * (1 - PsChartConfig.barGapRatio)) / series.length;
8
+ const zero = PsChartScaleService.y(0, domain, plot);
9
+ return data.flatMap((datum, row) => series.map((entry, column) => {
10
+ const value = PsChartSeriesService.value(datum, entry.dataKey);
11
+ const top = PsChartScaleService.y(value, domain, plot);
12
+ const left = plot.left + row * slot + (slot * PsChartConfig.barGapRatio) / 2 + column * width;
13
+ return PsChartBarService.rect(`${row}:${entry.dataKey}`, colors[column], left, width, zero, top, value < 0);
14
+ }));
15
+ }
16
+ static stacked(data, series, colors, domain, plot) {
17
+ const slot = PsChartBarService.slot(data.length, plot);
18
+ const width = slot * (1 - PsChartConfig.barGapRatio);
19
+ return data.flatMap((datum, row) => {
20
+ let positive = 0;
21
+ let negative = 0;
22
+ return series.map((entry, column) => {
23
+ const value = PsChartSeriesService.value(datum, entry.dataKey);
24
+ const from = value < 0 ? negative : positive;
25
+ const to = from + value;
26
+ if (value < 0)
27
+ negative = to;
28
+ else
29
+ positive = to;
30
+ return PsChartBarService.rect(`${row}:${entry.dataKey}`, colors[column], plot.left + row * slot + (slot * PsChartConfig.barGapRatio) / 2, width, PsChartScaleService.y(from, domain, plot), PsChartScaleService.y(to, domain, plot), value < 0);
31
+ });
32
+ });
33
+ }
34
+ static slot(count, plot) {
35
+ return (plot.right - plot.left) / Math.max(count, 1);
36
+ }
37
+ static rect(id, color, x, width, from, to, isNegative) {
38
+ return {
39
+ color,
40
+ height: Math.abs(to - from),
41
+ id,
42
+ isNegative,
43
+ width,
44
+ x,
45
+ y: Math.min(from, to),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,6 @@
1
+ import { PsChartDeltaTone } from '../constants/ps-chart-delta';
2
+ import type { PsChartDeltaColors } from '../interfaces/ps-chart-delta-colors';
3
+ import type { PsMobileTheme } from '../interfaces/ps-mobile-theme';
4
+ export declare class PsChartDeltaService {
5
+ static colors(tone: PsChartDeltaTone, theme: PsMobileTheme): PsChartDeltaColors;
6
+ }
@@ -0,0 +1,10 @@
1
+ import { PsChartDeltaTone } from '../constants/ps-chart-delta';
2
+ export class PsChartDeltaService {
3
+ static colors(tone, theme) {
4
+ if (tone === PsChartDeltaTone.Positive)
5
+ return { background: theme.successSoft, foreground: theme.success };
6
+ if (tone === PsChartDeltaTone.Negative)
7
+ return { background: theme.dangerSoft, foreground: theme.danger };
8
+ return { background: theme.accentSoft, foreground: theme.muted };
9
+ }
10
+ }
@@ -0,0 +1,7 @@
1
+ import type { PsDonutChartDatum } from '../interfaces/ps-donut-chart-datum';
2
+ import type { PsDonutSliceData } from '../interfaces/ps-donut-slice-data';
3
+ export declare class PsChartDonutService {
4
+ static radius(size: number): number;
5
+ static circumference(size: number): number;
6
+ static slices(data: PsDonutChartDatum[], colors: string[], size: number): PsDonutSliceData[];
7
+ }
@@ -0,0 +1,28 @@
1
+ import { PsChartConfig } from '../constants/ps-chart-config';
2
+ export class PsChartDonutService {
3
+ static radius(size) {
4
+ return (size - PsChartConfig.donutThickness) / 2;
5
+ }
6
+ static circumference(size) {
7
+ return 2 * Math.PI * PsChartDonutService.radius(size);
8
+ }
9
+ static slices(data, colors, size) {
10
+ const circumference = PsChartDonutService.circumference(size);
11
+ const total = data.reduce((sum, datum) => sum + datum.share, 0);
12
+ if (total <= 0)
13
+ return [];
14
+ let start = 0;
15
+ return data.map((datum, index) => {
16
+ const length = (datum.share / total) * circumference;
17
+ const slice = {
18
+ color: colors[index % colors.length],
19
+ dashLength: Math.max(length - PsChartConfig.donutSliceGap, 0),
20
+ dashOffset: -start,
21
+ id: datum.id,
22
+ start,
23
+ };
24
+ start += length;
25
+ return slice;
26
+ });
27
+ }
28
+ }
@@ -0,0 +1,6 @@
1
+ import { PsCartesianChartKind } from '../constants/ps-chart-kind';
2
+ import { PsChartSkeletonVariant } from '../constants/ps-chart-skeleton-variant';
3
+ export declare class PsChartKindService {
4
+ static skeletonVariant(kind: PsCartesianChartKind): PsChartSkeletonVariant;
5
+ static isBars(kind: PsCartesianChartKind): boolean;
6
+ }
@@ -0,0 +1,12 @@
1
+ import { PsCartesianChartKind } from '../constants/ps-chart-kind';
2
+ import { PsChartSkeletonVariant } from '../constants/ps-chart-skeleton-variant';
3
+ export class PsChartKindService {
4
+ static skeletonVariant(kind) {
5
+ return kind === PsCartesianChartKind.Area || kind === PsCartesianChartKind.Line
6
+ ? PsChartSkeletonVariant.Line
7
+ : PsChartSkeletonVariant.Bars;
8
+ }
9
+ static isBars(kind) {
10
+ return kind === PsCartesianChartKind.Bar || kind === PsCartesianChartKind.StackedBar;
11
+ }
12
+ }
@@ -0,0 +1,6 @@
1
+ import type { PsChartPoint } from '../interfaces/ps-chart-point';
2
+ export declare class PsChartPathService {
3
+ static line(points: PsChartPoint[]): string;
4
+ static area(points: PsChartPoint[], baseline: number): string;
5
+ static measure(points: PsChartPoint[]): number;
6
+ }
@@ -0,0 +1,22 @@
1
+ export class PsChartPathService {
2
+ static line(points) {
3
+ return points
4
+ .map((point, index) => `${index === 0 ? 'M' : 'L'}${point.x} ${point.y}`)
5
+ .join(' ');
6
+ }
7
+ static area(points, baseline) {
8
+ if (points.length === 0)
9
+ return '';
10
+ const first = points[0];
11
+ const last = points[points.length - 1];
12
+ return `${PsChartPathService.line(points)} L${last.x} ${baseline} L${first.x} ${baseline} Z`;
13
+ }
14
+ static measure(points) {
15
+ return points.reduce((total, point, index) => {
16
+ if (index === 0)
17
+ return total;
18
+ const before = points[index - 1];
19
+ return total + Math.hypot(point.x - before.x, point.y - before.y);
20
+ }, 0);
21
+ }
22
+ }
@@ -0,0 +1,7 @@
1
+ import type { PsAreaChartDatum } from '../interfaces/ps-area-chart-datum';
2
+ import type { PsCartesianChartSeries } from '../interfaces/ps-cartesian-chart-series';
3
+ import type { PsChartReadoutItem } from '../interfaces/ps-chart-readout-item';
4
+ export declare class PsChartReadoutService {
5
+ static items(datum: PsAreaChartDatum, series: PsCartesianChartSeries[], colors: string[], formatValue: (value: number) => string): PsChartReadoutItem[];
6
+ static summary(title: string, items: PsChartReadoutItem[]): string;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { PsChartSeriesService } from './ps-chart-series-service';
2
+ export class PsChartReadoutService {
3
+ static items(datum, series, colors, formatValue) {
4
+ return series.map((entry, index) => ({
5
+ color: colors[index],
6
+ label: entry.label,
7
+ value: formatValue(PsChartSeriesService.value(datum, entry.dataKey)),
8
+ }));
9
+ }
10
+ static summary(title, items) {
11
+ return [title, ...items.map((item) => `${item.label} ${item.value}`)].join(', ');
12
+ }
13
+ }
@@ -0,0 +1,15 @@
1
+ import type { PsChartDomain } from '../interfaces/ps-chart-domain';
2
+ import type { PsChartPlot } from '../interfaces/ps-chart-plot';
3
+ export declare class PsChartScaleService {
4
+ static plot(width: number, height: number): PsChartPlot;
5
+ static sparkPlot(width: number, height: number): PsChartPlot;
6
+ static domain(values: number[]): PsChartDomain;
7
+ static spanDomain(values: number[]): PsChartDomain;
8
+ static ticks(domain: PsChartDomain): number[];
9
+ static y(value: number, domain: PsChartDomain, plot: PsChartPlot): number;
10
+ static x(index: number, count: number, plot: PsChartPlot): number;
11
+ static labelIndexes(count: number): number[];
12
+ static categoryX(position: number, count: number, plot: PsChartPlot, isBand: boolean): number;
13
+ static labelAnchor(position: number, count: number, isBand: boolean): 'end' | 'middle' | 'start';
14
+ private static niceStep;
15
+ }
@@ -0,0 +1,76 @@
1
+ import { PsChartConfig } from '../constants/ps-chart-config';
2
+ export class PsChartScaleService {
3
+ static plot(width, height) {
4
+ return {
5
+ bottom: height - PsChartConfig.paddingBottom,
6
+ left: PsChartConfig.yAxisWidth,
7
+ right: width - PsChartConfig.paddingRight,
8
+ top: PsChartConfig.paddingTop,
9
+ };
10
+ }
11
+ static sparkPlot(width, height) {
12
+ return {
13
+ bottom: height - PsChartConfig.sparklineWidth,
14
+ left: PsChartConfig.sparklineWidth,
15
+ right: width - PsChartConfig.sparklineWidth,
16
+ top: PsChartConfig.sparklineWidth,
17
+ };
18
+ }
19
+ static domain(values) {
20
+ const low = Math.min(0, ...values);
21
+ const high = Math.max(0, ...values);
22
+ if (low === 0 && high === 0)
23
+ return { max: 1, min: 0, step: 1 };
24
+ const step = PsChartScaleService.niceStep((high - low) / PsChartConfig.gridLineCount);
25
+ return { max: Math.ceil(high / step) * step, min: Math.floor(low / step) * step, step };
26
+ }
27
+ static spanDomain(values) {
28
+ const low = Math.min(...values);
29
+ const high = Math.max(...values);
30
+ if (low === high)
31
+ return { max: high + 1, min: low - 1, step: 1 };
32
+ return { max: high, min: low, step: high - low };
33
+ }
34
+ static ticks(domain) {
35
+ const count = Math.round((domain.max - domain.min) / domain.step);
36
+ return Array.from({ length: count + 1 }, (_, index) => domain.min + index * domain.step);
37
+ }
38
+ static y(value, domain, plot) {
39
+ const ratio = (domain.max - value) / (domain.max - domain.min);
40
+ return plot.top + ratio * (plot.bottom - plot.top);
41
+ }
42
+ static x(index, count, plot) {
43
+ if (count <= 1)
44
+ return (plot.left + plot.right) / 2;
45
+ return plot.left + (index / (count - 1)) * (plot.right - plot.left);
46
+ }
47
+ static labelIndexes(count) {
48
+ if (count <= PsChartConfig.maxXLabels)
49
+ return Array.from({ length: count }, (_, index) => index);
50
+ const last = PsChartConfig.maxXLabels - 1;
51
+ return Array.from({ length: PsChartConfig.maxXLabels }, (_, index) => Math.round((index * (count - 1)) / last));
52
+ }
53
+ static categoryX(position, count, plot, isBand) {
54
+ if (!isBand)
55
+ return PsChartScaleService.x(position, count, plot);
56
+ return plot.left + ((plot.right - plot.left) / Math.max(count, 1)) * (position + 0.5);
57
+ }
58
+ static labelAnchor(position, count, isBand) {
59
+ if (isBand || count <= 1)
60
+ return 'middle';
61
+ if (position === 0)
62
+ return 'start';
63
+ return position === count - 1 ? 'end' : 'middle';
64
+ }
65
+ static niceStep(raw) {
66
+ const magnitude = Math.pow(10, Math.floor(Math.log10(raw)));
67
+ const normalized = raw / magnitude;
68
+ if (normalized <= 1)
69
+ return magnitude;
70
+ if (normalized <= 2)
71
+ return 2 * magnitude;
72
+ if (normalized <= 5)
73
+ return 5 * magnitude;
74
+ return 10 * magnitude;
75
+ }
76
+ }
@@ -0,0 +1,6 @@
1
+ import type { PsChartPlot } from '../interfaces/ps-chart-plot';
2
+ export declare class PsChartScrubService {
3
+ static pointIndex(x: number, plot: PsChartPlot, count: number): number;
4
+ static bandIndex(x: number, plot: PsChartPlot, count: number): number;
5
+ private static clamp;
6
+ }
@@ -0,0 +1,17 @@
1
+ export class PsChartScrubService {
2
+ static pointIndex(x, plot, count) {
3
+ if (count <= 1)
4
+ return 0;
5
+ const ratio = (x - plot.left) / (plot.right - plot.left);
6
+ return PsChartScrubService.clamp(Math.round(ratio * (count - 1)), count);
7
+ }
8
+ static bandIndex(x, plot, count) {
9
+ if (count <= 1)
10
+ return 0;
11
+ const ratio = (x - plot.left) / (plot.right - plot.left);
12
+ return PsChartScrubService.clamp(Math.floor(ratio * count), count);
13
+ }
14
+ static clamp(index, count) {
15
+ return Math.min(Math.max(index, 0), count - 1);
16
+ }
17
+ }
@@ -0,0 +1,11 @@
1
+ import type { PsAreaChartDatum } from '../interfaces/ps-area-chart-datum';
2
+ import type { PsCartesianChartSeries } from '../interfaces/ps-cartesian-chart-series';
3
+ import type { PsChartPaletteInput } from '../interfaces/ps-chart-palette-input';
4
+ export declare class PsChartSeriesService {
5
+ static value(datum: PsAreaChartDatum, dataKey: string): number;
6
+ static values(data: PsAreaChartDatum[], series: PsCartesianChartSeries[]): number[];
7
+ static stackedValues(data: PsAreaChartDatum[], series: PsCartesianChartSeries[]): number[];
8
+ static color({ count, explicit, index, theme }: PsChartPaletteInput): string;
9
+ static isEmpty(data: PsAreaChartDatum[], series: PsCartesianChartSeries[]): boolean;
10
+ static signature(kind: string, data: PsAreaChartDatum[], series: PsCartesianChartSeries[]): string;
11
+ }
@@ -0,0 +1,34 @@
1
+ export class PsChartSeriesService {
2
+ static value(datum, dataKey) {
3
+ const value = datum[dataKey];
4
+ return typeof value === 'number' ? value : 0;
5
+ }
6
+ static values(data, series) {
7
+ return data.flatMap((datum) => series.map((entry) => PsChartSeriesService.value(datum, entry.dataKey)));
8
+ }
9
+ static stackedValues(data, series) {
10
+ return data.flatMap((datum) => {
11
+ const amounts = series.map((entry) => PsChartSeriesService.value(datum, entry.dataKey));
12
+ const positive = amounts
13
+ .filter((amount) => amount > 0)
14
+ .reduce((sum, amount) => sum + amount, 0);
15
+ const negative = amounts
16
+ .filter((amount) => amount < 0)
17
+ .reduce((sum, amount) => sum + amount, 0);
18
+ return [positive, negative];
19
+ });
20
+ }
21
+ static color({ count, explicit, index, theme }) {
22
+ if (explicit !== undefined)
23
+ return explicit;
24
+ if (count === 1)
25
+ return theme.primary;
26
+ return theme.chart[index % theme.chart.length];
27
+ }
28
+ static isEmpty(data, series) {
29
+ return PsChartSeriesService.values(data, series).every((value) => value === 0);
30
+ }
31
+ static signature(kind, data, series) {
32
+ return `${kind}:${PsChartSeriesService.values(data, series).join(',')}`;
33
+ }
34
+ }
@@ -0,0 +1,6 @@
1
+ import type { MenuAction } from '@react-native-menu/menu';
2
+ import type { PsMenuItem } from '../interfaces/ps-menu-item';
3
+ import type { PsMobileTheme } from '../interfaces/ps-mobile-theme';
4
+ export declare class PsContextMenuService {
5
+ static actions(items: PsMenuItem[], theme: PsMobileTheme, hasSymbols: boolean): MenuAction[];
6
+ }
@@ -0,0 +1,17 @@
1
+ import { PsActionMenuService } from './ps-action-menu-service';
2
+ export class PsContextMenuService {
3
+ static actions(items, theme, hasSymbols) {
4
+ const consistent = PsActionMenuService.consistent([{ id: 'items', items }]);
5
+ const entries = consistent.length === 0 ? [] : consistent[0].items;
6
+ return entries.map((item) => ({
7
+ attributes: {
8
+ destructive: item.isDanger === true,
9
+ disabled: item.isDisabled === true,
10
+ },
11
+ id: item.id,
12
+ image: hasSymbols ? PsActionMenuService.symbol(item) : undefined,
13
+ imageColor: item.isDanger === true ? theme.danger : theme.ink,
14
+ title: item.label,
15
+ }));
16
+ }
17
+ }
@@ -0,0 +1,8 @@
1
+ import type { TextStyle, ViewStyle } from 'react-native';
2
+ import type { PsControlState } from '../interfaces/ps-control-state';
3
+ import type { PsMobileTheme } from '../interfaces/ps-mobile-theme';
4
+ export declare class PsControlStyleService {
5
+ static container(theme: PsMobileTheme, state: PsControlState): ViewStyle;
6
+ static border(theme: PsMobileTheme, state: PsControlState): string;
7
+ static input(theme: PsMobileTheme): TextStyle;
8
+ }
@@ -0,0 +1,35 @@
1
+ import { PsMobileControlConfig } from '../constants/ps-mobile-control-config';
2
+ export class PsControlStyleService {
3
+ static container(theme, state) {
4
+ return {
5
+ alignItems: 'center',
6
+ backgroundColor: theme.surface,
7
+ borderColor: PsControlStyleService.border(theme, state),
8
+ borderRadius: PsMobileControlConfig.controlRadius,
9
+ borderWidth: 1,
10
+ flexDirection: 'row',
11
+ minHeight: PsMobileControlConfig.controlHeights.default,
12
+ opacity: state.isDisabled ? PsMobileControlConfig.disabledOpacity : 1,
13
+ outlineColor: state.isFocused ? theme.primary : undefined,
14
+ outlineOffset: state.isFocused ? PsMobileControlConfig.ringOffset : undefined,
15
+ outlineStyle: state.isFocused ? 'solid' : undefined,
16
+ outlineWidth: state.isFocused ? PsMobileControlConfig.ringWidth : undefined,
17
+ paddingHorizontal: PsMobileControlConfig.controlPaddingX.default,
18
+ };
19
+ }
20
+ static border(theme, state) {
21
+ if (state.hasError)
22
+ return theme.danger;
23
+ return state.isFocused ? theme.primary : theme.line;
24
+ }
25
+ static input(theme) {
26
+ return {
27
+ color: theme.ink,
28
+ flex: 1,
29
+ fontFamily: theme.fonts.regular,
30
+ fontSize: PsMobileControlConfig.controlFontSize,
31
+ minHeight: PsMobileControlConfig.controlHeights.default,
32
+ padding: 0,
33
+ };
34
+ }
35
+ }
@@ -0,0 +1,6 @@
1
+ export declare class PsDateFieldService {
2
+ static isValid(value: string): boolean;
3
+ static toLocalDate(value: string): Date;
4
+ static fromLocalDate(date: Date): string;
5
+ static fromUtcDate(date: Date): string;
6
+ }
@@ -0,0 +1,18 @@
1
+ import { Common } from '@pallasoft/ps-utilities';
2
+ import { PsDateFieldConfig } from '../constants/ps-date-field-config';
3
+ export class PsDateFieldService {
4
+ static isValid(value) {
5
+ if (!PsDateFieldConfig.valuePattern.test(value))
6
+ return false;
7
+ return Common.DateService.formatDate(value, PsDateFieldConfig.isoFormat) === value;
8
+ }
9
+ static toLocalDate(value) {
10
+ return Common.DateService.getDate(value).toDate();
11
+ }
12
+ static fromLocalDate(date) {
13
+ return Common.DateService.formatDate(date.getTime(), PsDateFieldConfig.isoFormat);
14
+ }
15
+ static fromUtcDate(date) {
16
+ return Common.DateService.formatDateInTimezone(date.getTime(), PsDateFieldConfig.utcZone, PsDateFieldConfig.isoFormat);
17
+ }
18
+ }
@@ -0,0 +1,5 @@
1
+ import type { PsDateLimits } from '../interfaces/ps-date-limits';
2
+ export declare class PsDatePickerService {
3
+ static limits(min: string | undefined, max: string | undefined): PsDateLimits;
4
+ static clamp(value: string, min: string | undefined, max: string | undefined): string;
5
+ }
@@ -0,0 +1,16 @@
1
+ import { PsDateFieldService } from './ps-date-field-service';
2
+ export class PsDatePickerService {
3
+ static limits(min, max) {
4
+ return {
5
+ end: max === undefined ? undefined : PsDateFieldService.toLocalDate(max),
6
+ start: min === undefined ? undefined : PsDateFieldService.toLocalDate(min),
7
+ };
8
+ }
9
+ static clamp(value, min, max) {
10
+ if (min !== undefined && value < min)
11
+ return min;
12
+ if (max !== undefined && value > max)
13
+ return max;
14
+ return value;
15
+ }
16
+ }
@@ -0,0 +1,4 @@
1
+ import type { PsDateRange, PsDateRangeEdge } from '../components/ps-date-range-field/ps-date-range-field-props';
2
+ export declare class PsDateRangeService {
3
+ static change(range: PsDateRange, edge: PsDateRangeEdge, iso: string): PsDateRange;
4
+ }
@@ -0,0 +1,7 @@
1
+ export class PsDateRangeService {
2
+ static change(range, edge, iso) {
3
+ if (edge === 'from')
4
+ return { from: iso, to: iso > range.to ? iso : range.to };
5
+ return { from: iso < range.from ? iso : range.from, to: iso };
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ export declare class PsDocumentPagerService {
2
+ static clampIndex(index: number, count: number): number;
3
+ static counter(index: number, count: number): string;
4
+ static hasMany(count: number): boolean;
5
+ static offset(index: number, width: number): number;
6
+ static pageIndex(offsetX: number, width: number, count: number): number;
7
+ }
@@ -0,0 +1,18 @@
1
+ import { PsDocumentConfig } from '../constants/ps-document-config';
2
+ export class PsDocumentPagerService {
3
+ static clampIndex(index, count) {
4
+ return Math.max(0, Math.min(count - 1, index));
5
+ }
6
+ static counter(index, count) {
7
+ return `${index + 1}${PsDocumentConfig.counterSeparator}${count}`;
8
+ }
9
+ static hasMany(count) {
10
+ return count > 1;
11
+ }
12
+ static offset(index, width) {
13
+ return index * width;
14
+ }
15
+ static pageIndex(offsetX, width, count) {
16
+ return width <= 0 ? 0 : PsDocumentPagerService.clampIndex(Math.round(offsetX / width), count);
17
+ }
18
+ }
@@ -0,0 +1,10 @@
1
+ import type { PsDocumentScannerOptions } from '../interfaces/ps-document-scanner-options';
2
+ import type { PsScannedFile } from '../interfaces/ps-scanned-file';
3
+ export declare class PsDocumentScannerService {
4
+ static isAvailable(): boolean;
5
+ static scan(options: PsDocumentScannerOptions): Promise<PsScannedFile[]>;
6
+ static toFiles(uris: string[], fileName?: string): PsScannedFile[];
7
+ static quality(jpegQuality?: number): number;
8
+ static pageLimit(maxPages?: number): number | null;
9
+ private static load;
10
+ }