@ketvietlab/ketsuite 0.1.29 → 0.1.31

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 (781) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/modules/account_backend/index.js +0 -6
  3. package/dist/modules/account_backend/index.js.map +1 -1
  4. package/dist/modules/account_backend/screens/account-defaults.d.ts.map +1 -1
  5. package/dist/modules/account_backend/screens/account-defaults.js +1 -1
  6. package/dist/modules/account_backend/screens/account-defaults.js.map +1 -1
  7. package/dist/modules/account_backend/screens/account-form.d.ts.map +1 -1
  8. package/dist/modules/account_backend/screens/account-form.js +3 -1
  9. package/dist/modules/account_backend/screens/account-form.js.map +1 -1
  10. package/dist/modules/account_backend/screens/accounts-list.d.ts.map +1 -1
  11. package/dist/modules/account_backend/screens/accounts-list.js +1 -1
  12. package/dist/modules/account_backend/screens/accounts-list.js.map +1 -1
  13. package/dist/modules/account_backend/screens/customer-invoice-form.d.ts.map +1 -1
  14. package/dist/modules/account_backend/screens/customer-invoice-form.js +1 -1
  15. package/dist/modules/account_backend/screens/customer-invoice-form.js.map +1 -1
  16. package/dist/modules/account_backend/screens/customer-invoices-list.d.ts.map +1 -1
  17. package/dist/modules/account_backend/screens/customer-invoices-list.js +1 -1
  18. package/dist/modules/account_backend/screens/customer-invoices-list.js.map +1 -1
  19. package/dist/modules/account_backend/screens/journal-entries-list.d.ts.map +1 -1
  20. package/dist/modules/account_backend/screens/journal-entries-list.js +1 -1
  21. package/dist/modules/account_backend/screens/journal-entries-list.js.map +1 -1
  22. package/dist/modules/account_backend/screens/journal-entry-create.d.ts.map +1 -1
  23. package/dist/modules/account_backend/screens/journal-entry-create.js +1 -1
  24. package/dist/modules/account_backend/screens/journal-entry-create.js.map +1 -1
  25. package/dist/modules/account_backend/screens/journal-form.d.ts.map +1 -1
  26. package/dist/modules/account_backend/screens/journal-form.js +3 -3
  27. package/dist/modules/account_backend/screens/journal-form.js.map +1 -1
  28. package/dist/modules/account_backend/screens/journals-list.d.ts.map +1 -1
  29. package/dist/modules/account_backend/screens/journals-list.js +1 -1
  30. package/dist/modules/account_backend/screens/journals-list.js.map +1 -1
  31. package/dist/modules/account_backend/screens/move-detail.d.ts.map +1 -1
  32. package/dist/modules/account_backend/screens/move-detail.js +3 -1
  33. package/dist/modules/account_backend/screens/move-detail.js.map +1 -1
  34. package/dist/modules/account_backend/screens/opening-balances.d.ts.map +1 -1
  35. package/dist/modules/account_backend/screens/opening-balances.js +2 -2
  36. package/dist/modules/account_backend/screens/opening-balances.js.map +1 -1
  37. package/dist/modules/account_backend/screens/overview.js +4 -2
  38. package/dist/modules/account_backend/screens/overview.js.map +1 -1
  39. package/dist/modules/account_backend/screens/payment-form.d.ts.map +1 -1
  40. package/dist/modules/account_backend/screens/payment-form.js +1 -1
  41. package/dist/modules/account_backend/screens/payment-form.js.map +1 -1
  42. package/dist/modules/account_backend/screens/payment-term-form.d.ts.map +1 -1
  43. package/dist/modules/account_backend/screens/payment-term-form.js +4 -2
  44. package/dist/modules/account_backend/screens/payment-term-form.js.map +1 -1
  45. package/dist/modules/account_backend/screens/payment-terms-list.d.ts.map +1 -1
  46. package/dist/modules/account_backend/screens/payment-terms-list.js +1 -1
  47. package/dist/modules/account_backend/screens/payment-terms-list.js.map +1 -1
  48. package/dist/modules/account_backend/screens/payments-list.d.ts.map +1 -1
  49. package/dist/modules/account_backend/screens/payments-list.js +1 -1
  50. package/dist/modules/account_backend/screens/payments-list.js.map +1 -1
  51. package/dist/modules/account_backend/screens/period-closes.d.ts.map +1 -1
  52. package/dist/modules/account_backend/screens/period-closes.js +1 -1
  53. package/dist/modules/account_backend/screens/period-closes.js.map +1 -1
  54. package/dist/modules/account_backend/screens/tax-form.d.ts.map +1 -1
  55. package/dist/modules/account_backend/screens/tax-form.js +3 -1
  56. package/dist/modules/account_backend/screens/tax-form.js.map +1 -1
  57. package/dist/modules/account_backend/screens/taxes-list.d.ts.map +1 -1
  58. package/dist/modules/account_backend/screens/taxes-list.js +1 -1
  59. package/dist/modules/account_backend/screens/taxes-list.js.map +1 -1
  60. package/dist/modules/account_backend/screens/vendor-bill-form.d.ts.map +1 -1
  61. package/dist/modules/account_backend/screens/vendor-bill-form.js +1 -1
  62. package/dist/modules/account_backend/screens/vendor-bill-form.js.map +1 -1
  63. package/dist/modules/account_backend/screens/vendor-bills-list.d.ts.map +1 -1
  64. package/dist/modules/account_backend/screens/vendor-bills-list.js +1 -1
  65. package/dist/modules/account_backend/screens/vendor-bills-list.js.map +1 -1
  66. package/dist/modules/account_partner_backend/screens/accounting-terms.d.ts.map +1 -1
  67. package/dist/modules/account_partner_backend/screens/accounting-terms.js +1 -1
  68. package/dist/modules/account_partner_backend/screens/accounting-terms.js.map +1 -1
  69. package/dist/modules/activity_backend/index.d.ts.map +1 -1
  70. package/dist/modules/activity_backend/index.js +0 -2
  71. package/dist/modules/activity_backend/index.js.map +1 -1
  72. package/dist/modules/activity_backend/screens/activities-list.d.ts.map +1 -1
  73. package/dist/modules/activity_backend/screens/activities-list.js +1 -1
  74. package/dist/modules/activity_backend/screens/activities-list.js.map +1 -1
  75. package/dist/modules/address_backend/index.d.ts.map +1 -1
  76. package/dist/modules/address_backend/index.js +0 -2
  77. package/dist/modules/address_backend/index.js.map +1 -1
  78. package/dist/modules/address_backend/screens/catalogs-list.d.ts.map +1 -1
  79. package/dist/modules/address_backend/screens/catalogs-list.js +1 -1
  80. package/dist/modules/address_backend/screens/catalogs-list.js.map +1 -1
  81. package/dist/modules/attendance_backend/screens/credentials.d.ts.map +1 -1
  82. package/dist/modules/attendance_backend/screens/credentials.js +1 -1
  83. package/dist/modules/attendance_backend/screens/credentials.js.map +1 -1
  84. package/dist/modules/attendance_backend/screens/period.d.ts.map +1 -1
  85. package/dist/modules/attendance_backend/screens/period.js +1 -1
  86. package/dist/modules/attendance_backend/screens/period.js.map +1 -1
  87. package/dist/modules/backend/current-company.d.ts +4 -0
  88. package/dist/modules/backend/current-company.d.ts.map +1 -0
  89. package/dist/modules/backend/current-company.js +27 -0
  90. package/dist/modules/backend/current-company.js.map +1 -0
  91. package/dist/modules/backend/design/client/backend-shell.d.mts +2 -2
  92. package/dist/modules/backend/design/client/backend-shell.d.mts.map +1 -1
  93. package/dist/modules/backend/design/client/backend-shell.mjs +1 -1
  94. package/dist/modules/backend/design/client/backend-shell.mjs.map +4 -4
  95. package/dist/modules/backend/design/client/ket-table.d.mts +2 -2
  96. package/dist/modules/backend/design/client/ket-table.d.mts.map +1 -1
  97. package/dist/modules/backend/design/client/ket-table.mjs +1 -1
  98. package/dist/modules/backend/design/client/ket-table.mjs.map +3 -3
  99. package/dist/modules/backend/design/client/search-filter.d.mts +2 -2
  100. package/dist/modules/backend/design/client/search-filter.d.mts.map +1 -1
  101. package/dist/modules/backend/design/client/search-filter.mjs +1 -1
  102. package/dist/modules/backend/design/client/search-filter.mjs.map +3 -3
  103. package/dist/modules/backend/design/content.css +5 -5
  104. package/dist/modules/backend/design/controls.css +10 -36
  105. package/dist/modules/backend/design/forms.css +33 -188
  106. package/dist/modules/backend/design/lists.css +1 -50
  107. package/dist/modules/backend/index.d.ts +1 -0
  108. package/dist/modules/backend/index.d.ts.map +1 -1
  109. package/dist/modules/backend/index.js +1 -0
  110. package/dist/modules/backend/index.js.map +1 -1
  111. package/dist/modules/backend/optional-read.d.ts +4 -0
  112. package/dist/modules/backend/optional-read.d.ts.map +1 -0
  113. package/dist/modules/backend/optional-read.js +7 -0
  114. package/dist/modules/backend/optional-read.js.map +1 -0
  115. package/dist/modules/company_backend/index.d.ts.map +1 -1
  116. package/dist/modules/company_backend/index.js +0 -2
  117. package/dist/modules/company_backend/index.js.map +1 -1
  118. package/dist/modules/company_backend/screens/branch-form.d.ts.map +1 -1
  119. package/dist/modules/company_backend/screens/branch-form.js +3 -1
  120. package/dist/modules/company_backend/screens/branch-form.js.map +1 -1
  121. package/dist/modules/company_backend/screens/companies-list.d.ts.map +1 -1
  122. package/dist/modules/company_backend/screens/companies-list.js +1 -1
  123. package/dist/modules/company_backend/screens/companies-list.js.map +1 -1
  124. package/dist/modules/company_backend/screens/company-form.d.ts.map +1 -1
  125. package/dist/modules/company_backend/screens/company-form.js +1 -3
  126. package/dist/modules/company_backend/screens/company-form.js.map +1 -1
  127. package/dist/modules/company_backend/screens/context.d.ts.map +1 -1
  128. package/dist/modules/company_backend/screens/context.js +1 -1
  129. package/dist/modules/company_backend/screens/context.js.map +1 -1
  130. package/dist/modules/company_backend/screens/hierarchy.d.ts.map +1 -1
  131. package/dist/modules/company_backend/screens/hierarchy.js +1 -1
  132. package/dist/modules/company_backend/screens/hierarchy.js.map +1 -1
  133. package/dist/modules/crm_backend/client/crm-case-modal.d.mts +8 -8
  134. package/dist/modules/crm_backend/client/crm-case-modal.d.mts.map +1 -1
  135. package/dist/modules/crm_backend/client/crm-case-modal.mjs +1 -1
  136. package/dist/modules/crm_backend/client/crm-case-modal.mjs.map +3 -3
  137. package/dist/modules/crm_backend/client/crm-configuration-modal.d.mts +55 -55
  138. package/dist/modules/crm_backend/client/crm-configuration-modal.d.mts.map +1 -1
  139. package/dist/modules/crm_backend/client/crm-configuration-modal.mjs +1 -1
  140. package/dist/modules/crm_backend/client/crm-configuration-modal.mjs.map +3 -3
  141. package/dist/modules/crm_backend/messages.d.ts +0 -10
  142. package/dist/modules/crm_backend/messages.d.ts.map +1 -1
  143. package/dist/modules/crm_backend/messages.js +0 -10
  144. package/dist/modules/crm_backend/messages.js.map +1 -1
  145. package/dist/modules/crm_backend/screens/activity-planner.d.ts.map +1 -1
  146. package/dist/modules/crm_backend/screens/activity-planner.js +1 -1
  147. package/dist/modules/crm_backend/screens/activity-planner.js.map +1 -1
  148. package/dist/modules/crm_backend/screens/case-create.d.ts.map +1 -1
  149. package/dist/modules/crm_backend/screens/case-create.js +1 -1
  150. package/dist/modules/crm_backend/screens/case-create.js.map +1 -1
  151. package/dist/modules/crm_backend/screens/case-detail.d.ts.map +1 -1
  152. package/dist/modules/crm_backend/screens/case-detail.js +2 -2
  153. package/dist/modules/crm_backend/screens/case-detail.js.map +1 -1
  154. package/dist/modules/crm_backend/screens/cases-list.d.ts.map +1 -1
  155. package/dist/modules/crm_backend/screens/cases-list.js +1 -1
  156. package/dist/modules/crm_backend/screens/cases-list.js.map +1 -1
  157. package/dist/modules/crm_backend/screens/configuration.d.ts.map +1 -1
  158. package/dist/modules/crm_backend/screens/configuration.js +1 -1
  159. package/dist/modules/crm_backend/screens/configuration.js.map +1 -1
  160. package/dist/modules/crm_backend/screens/leaderboard.d.ts.map +1 -1
  161. package/dist/modules/crm_backend/screens/leaderboard.js +1 -1
  162. package/dist/modules/crm_backend/screens/leaderboard.js.map +1 -1
  163. package/dist/modules/crm_backend/screens/pipeline.d.ts.map +1 -1
  164. package/dist/modules/crm_backend/screens/pipeline.js +1 -1
  165. package/dist/modules/crm_backend/screens/pipeline.js.map +1 -1
  166. package/dist/modules/flow/domain/command-check.d.ts +3 -0
  167. package/dist/modules/flow/domain/command-check.d.ts.map +1 -0
  168. package/dist/modules/flow/domain/command-check.js +9 -0
  169. package/dist/modules/flow/domain/command-check.js.map +1 -0
  170. package/dist/modules/flow/domain/command.d.ts +33 -0
  171. package/dist/modules/flow/domain/command.d.ts.map +1 -0
  172. package/dist/modules/flow/domain/command.js +35 -0
  173. package/dist/modules/flow/domain/command.js.map +1 -0
  174. package/dist/modules/flow/domain/issue-bulk.d.ts +50 -0
  175. package/dist/modules/flow/domain/issue-bulk.d.ts.map +1 -0
  176. package/dist/modules/flow/domain/issue-bulk.js +97 -0
  177. package/dist/modules/flow/domain/issue-bulk.js.map +1 -0
  178. package/dist/modules/flow/domain/issue-dependency.d.ts +19 -0
  179. package/dist/modules/flow/domain/issue-dependency.d.ts.map +1 -0
  180. package/dist/modules/flow/domain/issue-dependency.js +59 -0
  181. package/dist/modules/flow/domain/issue-dependency.js.map +1 -0
  182. package/dist/modules/flow/domain/issue-discussion.d.ts +52 -0
  183. package/dist/modules/flow/domain/issue-discussion.d.ts.map +1 -0
  184. package/dist/modules/flow/domain/issue-discussion.js +114 -0
  185. package/dist/modules/flow/domain/issue-discussion.js.map +1 -0
  186. package/dist/modules/flow/domain/issue-transfer.d.ts +62 -0
  187. package/dist/modules/flow/domain/issue-transfer.d.ts.map +1 -0
  188. package/dist/modules/flow/domain/issue-transfer.js +171 -0
  189. package/dist/modules/flow/domain/issue-transfer.js.map +1 -0
  190. package/dist/modules/flow/domain/issue-validation.d.ts +68 -0
  191. package/dist/modules/flow/domain/issue-validation.d.ts.map +1 -0
  192. package/dist/modules/flow/domain/issue-validation.js +136 -0
  193. package/dist/modules/flow/domain/issue-validation.js.map +1 -0
  194. package/dist/modules/flow/domain/issue-write.d.ts +118 -0
  195. package/dist/modules/flow/domain/issue-write.d.ts.map +1 -0
  196. package/dist/modules/flow/domain/issue-write.js +372 -0
  197. package/dist/modules/flow/domain/issue-write.js.map +1 -0
  198. package/dist/modules/flow/domain/sprint-lifecycle.d.ts +61 -0
  199. package/dist/modules/flow/domain/sprint-lifecycle.d.ts.map +1 -0
  200. package/dist/modules/flow/domain/sprint-lifecycle.js +145 -0
  201. package/dist/modules/flow/domain/sprint-lifecycle.js.map +1 -0
  202. package/dist/modules/flow/functions/board.d.ts +7 -0
  203. package/dist/modules/flow/functions/board.d.ts.map +1 -0
  204. package/dist/modules/flow/functions/board.js +59 -0
  205. package/dist/modules/flow/functions/board.js.map +1 -0
  206. package/dist/modules/flow/functions/column.d.ts +8 -0
  207. package/dist/modules/flow/functions/column.d.ts.map +1 -0
  208. package/dist/modules/flow/functions/column.js +64 -0
  209. package/dist/modules/flow/functions/column.js.map +1 -0
  210. package/dist/modules/flow/functions/effects.d.ts +21 -0
  211. package/dist/modules/flow/functions/effects.d.ts.map +1 -0
  212. package/dist/modules/flow/functions/effects.js +96 -0
  213. package/dist/modules/flow/functions/effects.js.map +1 -0
  214. package/dist/modules/flow/functions/entity-save.d.ts +4 -0
  215. package/dist/modules/flow/functions/entity-save.d.ts.map +1 -0
  216. package/dist/modules/flow/functions/entity-save.js +60 -0
  217. package/dist/modules/flow/functions/entity-save.js.map +1 -0
  218. package/dist/modules/flow/functions/epic.d.ts +26 -0
  219. package/dist/modules/flow/functions/epic.d.ts.map +1 -0
  220. package/dist/modules/flow/functions/epic.js +151 -0
  221. package/dist/modules/flow/functions/epic.js.map +1 -0
  222. package/dist/modules/flow/functions/field.d.ts +9 -0
  223. package/dist/modules/flow/functions/field.d.ts.map +1 -0
  224. package/dist/modules/flow/functions/field.js +117 -0
  225. package/dist/modules/flow/functions/field.js.map +1 -0
  226. package/dist/modules/flow/functions/index.d.ts +5 -0
  227. package/dist/modules/flow/functions/index.d.ts.map +1 -0
  228. package/dist/modules/flow/functions/index.js +42 -0
  229. package/dist/modules/flow/functions/index.js.map +1 -0
  230. package/dist/modules/flow/functions/issue-batch.d.ts +6 -0
  231. package/dist/modules/flow/functions/issue-batch.d.ts.map +1 -0
  232. package/dist/modules/flow/functions/issue-batch.js +149 -0
  233. package/dist/modules/flow/functions/issue-batch.js.map +1 -0
  234. package/dist/modules/flow/functions/issue-dependency.d.ts +8 -0
  235. package/dist/modules/flow/functions/issue-dependency.d.ts.map +1 -0
  236. package/dist/modules/flow/functions/issue-dependency.js +54 -0
  237. package/dist/modules/flow/functions/issue-dependency.js.map +1 -0
  238. package/dist/modules/flow/functions/issue-discussion.d.ts +6 -0
  239. package/dist/modules/flow/functions/issue-discussion.d.ts.map +1 -0
  240. package/dist/modules/flow/functions/issue-discussion.js +86 -0
  241. package/dist/modules/flow/functions/issue-discussion.js.map +1 -0
  242. package/dist/modules/flow/functions/issue-read.d.ts +18 -0
  243. package/dist/modules/flow/functions/issue-read.d.ts.map +1 -0
  244. package/dist/modules/flow/functions/issue-read.js +159 -0
  245. package/dist/modules/flow/functions/issue-read.js.map +1 -0
  246. package/dist/modules/flow/functions/issue-write.d.ts +9 -0
  247. package/dist/modules/flow/functions/issue-write.d.ts.map +1 -0
  248. package/dist/modules/flow/functions/issue-write.js +149 -0
  249. package/dist/modules/flow/functions/issue-write.js.map +1 -0
  250. package/dist/modules/flow/functions/issueType.d.ts +8 -0
  251. package/dist/modules/flow/functions/issueType.d.ts.map +1 -0
  252. package/dist/modules/flow/functions/issueType.js +66 -0
  253. package/dist/modules/flow/functions/issueType.js.map +1 -0
  254. package/dist/modules/flow/functions/page.d.ts +22 -0
  255. package/dist/modules/flow/functions/page.d.ts.map +1 -0
  256. package/dist/modules/flow/functions/page.js +202 -0
  257. package/dist/modules/flow/functions/page.js.map +1 -0
  258. package/dist/modules/flow/functions/project.d.ts +26 -0
  259. package/dist/modules/flow/functions/project.d.ts.map +1 -0
  260. package/dist/modules/flow/functions/project.js +381 -0
  261. package/dist/modules/flow/functions/project.js.map +1 -0
  262. package/dist/modules/flow/functions/sprint.d.ts +17 -0
  263. package/dist/modules/flow/functions/sprint.d.ts.map +1 -0
  264. package/dist/modules/flow/functions/sprint.js +173 -0
  265. package/dist/modules/flow/functions/sprint.js.map +1 -0
  266. package/dist/modules/flow/functions/tag.d.ts +14 -0
  267. package/dist/modules/flow/functions/tag.d.ts.map +1 -0
  268. package/dist/modules/flow/functions/tag.js +88 -0
  269. package/dist/modules/flow/functions/tag.js.map +1 -0
  270. package/dist/modules/flow/index.d.ts +8 -2
  271. package/dist/modules/flow/index.d.ts.map +1 -1
  272. package/dist/modules/flow/index.js +7 -2
  273. package/dist/modules/flow/index.js.map +1 -1
  274. package/dist/modules/flow/pages.d.ts +1 -1
  275. package/dist/modules/flow/pages.d.ts.map +1 -1
  276. package/dist/modules/flow/pages.js +1 -1
  277. package/dist/modules/flow/pages.js.map +1 -1
  278. package/dist/modules/flow/queries/calendar.d.ts +21 -0
  279. package/dist/modules/flow/queries/calendar.d.ts.map +1 -0
  280. package/dist/modules/flow/queries/calendar.js +31 -0
  281. package/dist/modules/flow/queries/calendar.js.map +1 -0
  282. package/dist/modules/flow/queries/issue-dependencies.d.ts +17 -0
  283. package/dist/modules/flow/queries/issue-dependencies.d.ts.map +1 -0
  284. package/dist/modules/flow/queries/issue-dependencies.js +46 -0
  285. package/dist/modules/flow/queries/issue-dependencies.js.map +1 -0
  286. package/dist/modules/flow/queries/issue-followers.d.ts +6 -0
  287. package/dist/modules/flow/queries/issue-followers.d.ts.map +1 -0
  288. package/dist/modules/flow/queries/issue-followers.js +18 -0
  289. package/dist/modules/flow/queries/issue-followers.js.map +1 -0
  290. package/dist/modules/flow/queries/issue-list.d.ts +153 -0
  291. package/dist/modules/flow/queries/issue-list.d.ts.map +1 -0
  292. package/dist/modules/flow/queries/issue-list.js +439 -0
  293. package/dist/modules/flow/queries/issue-list.js.map +1 -0
  294. package/dist/modules/flow/queries/options.d.ts +4 -0
  295. package/dist/modules/flow/queries/options.d.ts.map +1 -0
  296. package/dist/modules/flow/queries/options.js +13 -0
  297. package/dist/modules/flow/queries/options.js.map +1 -0
  298. package/dist/modules/flow/queries/progress.d.ts +24 -0
  299. package/dist/modules/flow/queries/progress.d.ts.map +1 -0
  300. package/dist/modules/flow/queries/progress.js +54 -0
  301. package/dist/modules/flow/queries/progress.js.map +1 -0
  302. package/dist/modules/flow/queries/project-list.d.ts +4 -0
  303. package/dist/modules/flow/queries/project-list.d.ts.map +1 -0
  304. package/dist/modules/flow/queries/project-list.js +19 -0
  305. package/dist/modules/flow/queries/project-list.js.map +1 -0
  306. package/dist/modules/flow_backend/messages.d.ts +1 -2
  307. package/dist/modules/flow_backend/messages.d.ts.map +1 -1
  308. package/dist/modules/flow_backend/messages.js +0 -2
  309. package/dist/modules/flow_backend/messages.js.map +1 -1
  310. package/dist/modules/flow_backend/routes.js +1 -1
  311. package/dist/modules/flow_backend/routes.js.map +1 -1
  312. package/dist/modules/flow_backend/screens/all-epics.d.ts.map +1 -1
  313. package/dist/modules/flow_backend/screens/all-epics.js +1 -1
  314. package/dist/modules/flow_backend/screens/all-epics.js.map +1 -1
  315. package/dist/modules/flow_backend/screens/all-pages.d.ts.map +1 -1
  316. package/dist/modules/flow_backend/screens/all-pages.js +1 -1
  317. package/dist/modules/flow_backend/screens/all-pages.js.map +1 -1
  318. package/dist/modules/flow_backend/screens/epic-detail.js +1 -1
  319. package/dist/modules/flow_backend/screens/epic-detail.js.map +1 -1
  320. package/dist/modules/flow_backend/screens/gantt.d.ts.map +1 -1
  321. package/dist/modules/flow_backend/screens/gantt.js +1 -1
  322. package/dist/modules/flow_backend/screens/gantt.js.map +1 -1
  323. package/dist/modules/flow_backend/screens/issue-detail.js +2 -1
  324. package/dist/modules/flow_backend/screens/issue-detail.js.map +1 -1
  325. package/dist/modules/flow_backend/screens/issues.d.ts.map +1 -1
  326. package/dist/modules/flow_backend/screens/issues.js +1 -1
  327. package/dist/modules/flow_backend/screens/issues.js.map +1 -1
  328. package/dist/modules/flow_backend/screens/map.js +1 -1
  329. package/dist/modules/flow_backend/screens/map.js.map +1 -1
  330. package/dist/modules/flow_backend/screens/my-work.d.ts.map +1 -1
  331. package/dist/modules/flow_backend/screens/my-work.js +1 -1
  332. package/dist/modules/flow_backend/screens/my-work.js.map +1 -1
  333. package/dist/modules/flow_backend/screens/page-detail.js +1 -1
  334. package/dist/modules/flow_backend/screens/page-detail.js.map +1 -1
  335. package/dist/modules/flow_backend/screens/project-create.d.ts.map +1 -1
  336. package/dist/modules/flow_backend/screens/project-create.js +1 -1
  337. package/dist/modules/flow_backend/screens/project-create.js.map +1 -1
  338. package/dist/modules/flow_backend/screens/project-pages.d.ts.map +1 -1
  339. package/dist/modules/flow_backend/screens/project-pages.js +1 -1
  340. package/dist/modules/flow_backend/screens/project-pages.js.map +1 -1
  341. package/dist/modules/flow_backend/screens/projects-list.d.ts.map +1 -1
  342. package/dist/modules/flow_backend/screens/projects-list.js +1 -1
  343. package/dist/modules/flow_backend/screens/projects-list.js.map +1 -1
  344. package/dist/modules/flow_backend/screens/sprints.d.ts.map +1 -1
  345. package/dist/modules/flow_backend/screens/sprints.js +1 -1
  346. package/dist/modules/flow_backend/screens/sprints.js.map +1 -1
  347. package/dist/modules/flow_staff_channel/channel-routes.js +1 -1
  348. package/dist/modules/flow_staff_channel/channel-routes.js.map +1 -1
  349. package/dist/modules/hospitality_billing/messages.d.ts.map +1 -1
  350. package/dist/modules/hospitality_billing/messages.js +0 -2
  351. package/dist/modules/hospitality_billing/messages.js.map +1 -1
  352. package/dist/modules/hospitality_billing/screens/billing.d.ts.map +1 -1
  353. package/dist/modules/hospitality_billing/screens/billing.js +1 -1
  354. package/dist/modules/hospitality_billing/screens/billing.js.map +1 -1
  355. package/dist/modules/hospitality_billing/screens/page-frame.d.ts +1 -2
  356. package/dist/modules/hospitality_billing/screens/page-frame.d.ts.map +1 -1
  357. package/dist/modules/hospitality_billing/screens/page-frame.js +1 -1
  358. package/dist/modules/hospitality_billing/screens/page-frame.js.map +1 -1
  359. package/dist/modules/hospitality_core/messages.js +2 -2
  360. package/dist/modules/hospitality_core/messages.js.map +1 -1
  361. package/dist/modules/hospitality_core/screens/check-out-prep.d.ts.map +1 -1
  362. package/dist/modules/hospitality_core/screens/check-out-prep.js +1 -1
  363. package/dist/modules/hospitality_core/screens/check-out-prep.js.map +1 -1
  364. package/dist/modules/hospitality_core/screens/front-desk.d.ts.map +1 -1
  365. package/dist/modules/hospitality_core/screens/front-desk.js +40 -40
  366. package/dist/modules/hospitality_core/screens/front-desk.js.map +1 -1
  367. package/dist/modules/hospitality_core/screens/page-frame.d.ts +2 -3
  368. package/dist/modules/hospitality_core/screens/page-frame.d.ts.map +1 -1
  369. package/dist/modules/hospitality_core/screens/page-frame.js +3 -3
  370. package/dist/modules/hospitality_core/screens/page-frame.js.map +1 -1
  371. package/dist/modules/hospitality_core/screens/tape-chart.d.ts.map +1 -1
  372. package/dist/modules/hospitality_core/screens/tape-chart.js +3 -12
  373. package/dist/modules/hospitality_core/screens/tape-chart.js.map +1 -1
  374. package/dist/modules/hr_backend/screens/employee-form.d.ts.map +1 -1
  375. package/dist/modules/hr_backend/screens/employee-form.js +1 -1
  376. package/dist/modules/hr_backend/screens/employee-form.js.map +1 -1
  377. package/dist/modules/hr_backend/screens/leaves-list.d.ts.map +1 -1
  378. package/dist/modules/hr_backend/screens/leaves-list.js +1 -1
  379. package/dist/modules/hr_backend/screens/leaves-list.js.map +1 -1
  380. package/dist/modules/livedoc/islands.d.ts +9 -0
  381. package/dist/modules/livedoc/islands.d.ts.map +1 -1
  382. package/dist/modules/loyalty_backend/messages.d.ts +0 -10
  383. package/dist/modules/loyalty_backend/messages.d.ts.map +1 -1
  384. package/dist/modules/loyalty_backend/messages.js +0 -10
  385. package/dist/modules/loyalty_backend/messages.js.map +1 -1
  386. package/dist/modules/loyalty_backend/screens/index.d.ts.map +1 -1
  387. package/dist/modules/loyalty_backend/screens/index.js +5 -5
  388. package/dist/modules/loyalty_backend/screens/index.js.map +1 -1
  389. package/dist/modules/loyalty_backend/screens/page-frame.d.ts +2 -3
  390. package/dist/modules/loyalty_backend/screens/page-frame.d.ts.map +1 -1
  391. package/dist/modules/loyalty_backend/screens/page-frame.js +2 -2
  392. package/dist/modules/loyalty_backend/screens/page-frame.js.map +1 -1
  393. package/dist/modules/mail_backend/index.d.ts.map +1 -1
  394. package/dist/modules/mail_backend/index.js +0 -2
  395. package/dist/modules/mail_backend/index.js.map +1 -1
  396. package/dist/modules/mail_backend/screens/inbox-list.d.ts.map +1 -1
  397. package/dist/modules/mail_backend/screens/inbox-list.js +1 -1
  398. package/dist/modules/mail_backend/screens/inbox-list.js.map +1 -1
  399. package/dist/modules/mail_inbound_backend/index.d.ts.map +1 -1
  400. package/dist/modules/mail_inbound_backend/index.js +0 -2
  401. package/dist/modules/mail_inbound_backend/index.js.map +1 -1
  402. package/dist/modules/mail_inbound_backend/screens/inbound-list.d.ts.map +1 -1
  403. package/dist/modules/mail_inbound_backend/screens/inbound-list.js +1 -1
  404. package/dist/modules/mail_inbound_backend/screens/inbound-list.js.map +1 -1
  405. package/dist/modules/mail_transport_backend/index.d.ts.map +1 -1
  406. package/dist/modules/mail_transport_backend/index.js +0 -2
  407. package/dist/modules/mail_transport_backend/index.js.map +1 -1
  408. package/dist/modules/mail_transport_backend/screens/outbox-list.d.ts.map +1 -1
  409. package/dist/modules/mail_transport_backend/screens/outbox-list.js +1 -1
  410. package/dist/modules/mail_transport_backend/screens/outbox-list.js.map +1 -1
  411. package/dist/modules/manufacturing_backend/screens/order-execution.d.ts.map +1 -1
  412. package/dist/modules/manufacturing_backend/screens/order-execution.js +1 -1
  413. package/dist/modules/manufacturing_backend/screens/order-execution.js.map +1 -1
  414. package/dist/modules/oauth_backend/messages.d.ts +0 -4
  415. package/dist/modules/oauth_backend/messages.d.ts.map +1 -1
  416. package/dist/modules/oauth_backend/messages.js +0 -4
  417. package/dist/modules/oauth_backend/messages.js.map +1 -1
  418. package/dist/modules/oauth_backend/screens/index.d.ts.map +1 -1
  419. package/dist/modules/oauth_backend/screens/index.js +5 -5
  420. package/dist/modules/oauth_backend/screens/index.js.map +1 -1
  421. package/dist/modules/partner_backend/screens/form.d.ts.map +1 -1
  422. package/dist/modules/partner_backend/screens/form.js +3 -1
  423. package/dist/modules/partner_backend/screens/form.js.map +1 -1
  424. package/dist/modules/partner_backend/screens/list.d.ts.map +1 -1
  425. package/dist/modules/partner_backend/screens/list.js +1 -1
  426. package/dist/modules/partner_backend/screens/list.js.map +1 -1
  427. package/dist/modules/partner_backend/screens/new.d.ts.map +1 -1
  428. package/dist/modules/partner_backend/screens/new.js +1 -1
  429. package/dist/modules/partner_backend/screens/new.js.map +1 -1
  430. package/dist/modules/pricing_backend/index.js +0 -2
  431. package/dist/modules/pricing_backend/index.js.map +1 -1
  432. package/dist/modules/pricing_backend/screens/pricelist-detail.d.ts.map +1 -1
  433. package/dist/modules/pricing_backend/screens/pricelist-detail.js +1 -1
  434. package/dist/modules/pricing_backend/screens/pricelist-detail.js.map +1 -1
  435. package/dist/modules/pricing_backend/screens/pricelists-list.d.ts.map +1 -1
  436. package/dist/modules/pricing_backend/screens/pricelists-list.js +1 -1
  437. package/dist/modules/pricing_backend/screens/pricelists-list.js.map +1 -1
  438. package/dist/modules/product_backend/client/attribute-modal.d.mts +5 -5
  439. package/dist/modules/product_backend/client/attribute-modal.d.mts.map +1 -1
  440. package/dist/modules/product_backend/client/attribute-modal.mjs +1 -1
  441. package/dist/modules/product_backend/client/attribute-modal.mjs.map +3 -3
  442. package/dist/modules/product_backend/client/product-modal.d.mts +8 -8
  443. package/dist/modules/product_backend/client/product-modal.d.mts.map +1 -1
  444. package/dist/modules/product_backend/client/product-modal.mjs +1 -1
  445. package/dist/modules/product_backend/client/product-modal.mjs.map +3 -3
  446. package/dist/modules/product_backend/client/variant-editor.d.mts +3 -3
  447. package/dist/modules/product_backend/client/variant-editor.d.mts.map +1 -1
  448. package/dist/modules/product_backend/client/variant-editor.mjs +1 -1
  449. package/dist/modules/product_backend/client/variant-editor.mjs.map +3 -3
  450. package/dist/modules/product_backend/screens/detail.d.ts.map +1 -1
  451. package/dist/modules/product_backend/screens/detail.js +3 -2
  452. package/dist/modules/product_backend/screens/detail.js.map +1 -1
  453. package/dist/modules/product_backend/screens/variant.d.ts.map +1 -1
  454. package/dist/modules/product_backend/screens/variant.js +3 -2
  455. package/dist/modules/product_backend/screens/variant.js.map +1 -1
  456. package/dist/modules/purchase_backend/client/purchase-order-modal.d.mts +185 -0
  457. package/dist/modules/purchase_backend/client/purchase-order-modal.d.mts.map +1 -0
  458. package/dist/modules/purchase_backend/client/purchase-order-modal.mjs +2 -0
  459. package/dist/modules/purchase_backend/client/purchase-order-modal.mjs.map +7 -0
  460. package/dist/modules/purchase_backend/client/vendor-pricelist-modal.d.mts +52 -0
  461. package/dist/modules/purchase_backend/client/vendor-pricelist-modal.d.mts.map +1 -0
  462. package/dist/modules/purchase_backend/client/vendor-pricelist-modal.mjs +2 -0
  463. package/dist/modules/purchase_backend/client/vendor-pricelist-modal.mjs.map +7 -0
  464. package/dist/modules/purchase_backend/index.js +83 -14
  465. package/dist/modules/purchase_backend/index.js.map +1 -1
  466. package/dist/modules/purchase_backend/modal/context.d.ts +4 -0
  467. package/dist/modules/purchase_backend/modal/context.d.ts.map +1 -0
  468. package/dist/modules/purchase_backend/modal/context.js +94 -0
  469. package/dist/modules/purchase_backend/modal/context.js.map +1 -0
  470. package/dist/modules/purchase_backend/modal/order-modal-view.d.ts +18 -0
  471. package/dist/modules/purchase_backend/modal/order-modal-view.d.ts.map +1 -0
  472. package/dist/modules/purchase_backend/modal/order-modal-view.js +290 -0
  473. package/dist/modules/purchase_backend/modal/order-modal-view.js.map +1 -0
  474. package/dist/modules/purchase_backend/modal/pricelist-context.d.ts +3 -0
  475. package/dist/modules/purchase_backend/modal/pricelist-context.d.ts.map +1 -0
  476. package/dist/modules/purchase_backend/modal/pricelist-context.js +36 -0
  477. package/dist/modules/purchase_backend/modal/pricelist-context.js.map +1 -0
  478. package/dist/modules/purchase_backend/modal/pricelist-view.d.ts +12 -0
  479. package/dist/modules/purchase_backend/modal/pricelist-view.d.ts.map +1 -0
  480. package/dist/modules/purchase_backend/modal/pricelist-view.js +78 -0
  481. package/dist/modules/purchase_backend/modal/pricelist-view.js.map +1 -0
  482. package/dist/modules/purchase_backend/screens/order-detail.d.ts.map +1 -1
  483. package/dist/modules/purchase_backend/screens/order-detail.js +4 -2
  484. package/dist/modules/purchase_backend/screens/order-detail.js.map +1 -1
  485. package/dist/modules/purchase_backend/screens/overview.d.ts +5 -0
  486. package/dist/modules/purchase_backend/screens/overview.d.ts.map +1 -1
  487. package/dist/modules/purchase_backend/screens/overview.js +27 -6
  488. package/dist/modules/purchase_backend/screens/overview.js.map +1 -1
  489. package/dist/modules/purchase_backend/screens/rfq-create.d.ts.map +1 -1
  490. package/dist/modules/purchase_backend/screens/rfq-create.js +1 -1
  491. package/dist/modules/purchase_backend/screens/rfq-create.js.map +1 -1
  492. package/dist/modules/purchase_backend/screens/rfqs-list.d.ts +1 -1
  493. package/dist/modules/purchase_backend/screens/rfqs-list.d.ts.map +1 -1
  494. package/dist/modules/purchase_backend/screens/rfqs-list.js +1 -1
  495. package/dist/modules/purchase_backend/screens/rfqs-list.js.map +1 -1
  496. package/dist/modules/purchase_backend/screens/vendor-pricelist-create.d.ts.map +1 -1
  497. package/dist/modules/purchase_backend/screens/vendor-pricelist-create.js +1 -1
  498. package/dist/modules/purchase_backend/screens/vendor-pricelist-create.js.map +1 -1
  499. package/dist/modules/purchase_backend/screens/vendor-pricelists-list.d.ts +2 -1
  500. package/dist/modules/purchase_backend/screens/vendor-pricelists-list.d.ts.map +1 -1
  501. package/dist/modules/purchase_backend/screens/vendor-pricelists-list.js +2 -2
  502. package/dist/modules/purchase_backend/screens/vendor-pricelists-list.js.map +1 -1
  503. package/dist/modules/purchase_backend/search.d.ts +1 -1
  504. package/dist/modules/sale/functions/line-edit.d.ts +4 -0
  505. package/dist/modules/sale/functions/line-edit.d.ts.map +1 -0
  506. package/dist/modules/sale/functions/line-edit.js +120 -0
  507. package/dist/modules/sale/functions/line-edit.js.map +1 -0
  508. package/dist/modules/sale/index.d.ts.map +1 -1
  509. package/dist/modules/sale/index.js +16 -1
  510. package/dist/modules/sale/index.js.map +1 -1
  511. package/dist/modules/sale_backend/client/invoicing-policy-modal.d.mts +53 -0
  512. package/dist/modules/sale_backend/client/invoicing-policy-modal.d.mts.map +1 -0
  513. package/dist/modules/sale_backend/client/invoicing-policy-modal.mjs +2 -0
  514. package/dist/modules/sale_backend/client/invoicing-policy-modal.mjs.map +7 -0
  515. package/dist/modules/sale_backend/client/sale-order-modal.d.mts +161 -0
  516. package/dist/modules/sale_backend/client/sale-order-modal.d.mts.map +1 -0
  517. package/dist/modules/sale_backend/client/sale-order-modal.mjs +2 -0
  518. package/dist/modules/sale_backend/client/sale-order-modal.mjs.map +7 -0
  519. package/dist/modules/sale_backend/index.js +81 -20
  520. package/dist/modules/sale_backend/index.js.map +1 -1
  521. package/dist/modules/sale_backend/modal/context.d.ts +4 -0
  522. package/dist/modules/sale_backend/modal/context.d.ts.map +1 -0
  523. package/dist/modules/sale_backend/modal/context.js +94 -0
  524. package/dist/modules/sale_backend/modal/context.js.map +1 -0
  525. package/dist/modules/sale_backend/modal/order-modal-view.d.ts +18 -0
  526. package/dist/modules/sale_backend/modal/order-modal-view.d.ts.map +1 -0
  527. package/dist/modules/sale_backend/modal/order-modal-view.js +289 -0
  528. package/dist/modules/sale_backend/modal/order-modal-view.js.map +1 -0
  529. package/dist/modules/sale_backend/modal/policy-context.d.ts +3 -0
  530. package/dist/modules/sale_backend/modal/policy-context.d.ts.map +1 -0
  531. package/dist/modules/sale_backend/modal/policy-context.js +26 -0
  532. package/dist/modules/sale_backend/modal/policy-context.js.map +1 -0
  533. package/dist/modules/sale_backend/modal/policy-view.d.ts +11 -0
  534. package/dist/modules/sale_backend/modal/policy-view.d.ts.map +1 -0
  535. package/dist/modules/sale_backend/modal/policy-view.js +70 -0
  536. package/dist/modules/sale_backend/modal/policy-view.js.map +1 -0
  537. package/dist/modules/sale_backend/screens/invoicing-policies-list.d.ts +1 -1
  538. package/dist/modules/sale_backend/screens/invoicing-policies-list.d.ts.map +1 -1
  539. package/dist/modules/sale_backend/screens/invoicing-policies-list.js +1 -1
  540. package/dist/modules/sale_backend/screens/invoicing-policies-list.js.map +1 -1
  541. package/dist/modules/sale_backend/screens/invoicing-policy-create.d.ts.map +1 -1
  542. package/dist/modules/sale_backend/screens/invoicing-policy-create.js +1 -1
  543. package/dist/modules/sale_backend/screens/invoicing-policy-create.js.map +1 -1
  544. package/dist/modules/sale_backend/screens/order-detail.d.ts.map +1 -1
  545. package/dist/modules/sale_backend/screens/order-detail.js +3 -1
  546. package/dist/modules/sale_backend/screens/order-detail.js.map +1 -1
  547. package/dist/modules/sale_backend/screens/overview.d.ts +3 -0
  548. package/dist/modules/sale_backend/screens/overview.d.ts.map +1 -1
  549. package/dist/modules/sale_backend/screens/overview.js +22 -14
  550. package/dist/modules/sale_backend/screens/overview.js.map +1 -1
  551. package/dist/modules/sale_backend/screens/quotation-create.d.ts.map +1 -1
  552. package/dist/modules/sale_backend/screens/quotation-create.js +1 -1
  553. package/dist/modules/sale_backend/screens/quotation-create.js.map +1 -1
  554. package/dist/modules/sale_backend/screens/quotations-list.d.ts +1 -1
  555. package/dist/modules/sale_backend/screens/quotations-list.d.ts.map +1 -1
  556. package/dist/modules/sale_backend/screens/quotations-list.js +1 -1
  557. package/dist/modules/sale_backend/screens/quotations-list.js.map +1 -1
  558. package/dist/modules/sale_backend/screens/sales-orders-list.d.ts.map +1 -1
  559. package/dist/modules/sale_backend/screens/sales-orders-list.js +1 -1
  560. package/dist/modules/sale_backend/screens/sales-orders-list.js.map +1 -1
  561. package/dist/modules/stock/functions/inventory-preview.d.ts +4 -0
  562. package/dist/modules/stock/functions/inventory-preview.d.ts.map +1 -0
  563. package/dist/modules/stock/functions/inventory-preview.js +68 -0
  564. package/dist/modules/stock/functions/inventory-preview.js.map +1 -0
  565. package/dist/modules/stock/index.d.ts.map +1 -1
  566. package/dist/modules/stock/index.js +14 -1
  567. package/dist/modules/stock/index.js.map +1 -1
  568. package/dist/modules/stock_backend/client/inventory-count-modal.d.mts +60 -0
  569. package/dist/modules/stock_backend/client/inventory-count-modal.d.mts.map +1 -0
  570. package/dist/modules/stock_backend/client/inventory-count-modal.mjs +2 -0
  571. package/dist/modules/stock_backend/client/inventory-count-modal.mjs.map +7 -0
  572. package/dist/modules/stock_backend/client/stock-configuration-modal.d.mts +105 -0
  573. package/dist/modules/stock_backend/client/stock-configuration-modal.d.mts.map +1 -0
  574. package/dist/modules/stock_backend/client/stock-configuration-modal.mjs +2 -0
  575. package/dist/modules/stock_backend/client/stock-configuration-modal.mjs.map +7 -0
  576. package/dist/modules/stock_backend/client/stock-transfer-modal.d.mts +130 -0
  577. package/dist/modules/stock_backend/client/stock-transfer-modal.d.mts.map +1 -0
  578. package/dist/modules/stock_backend/client/stock-transfer-modal.mjs +2 -0
  579. package/dist/modules/stock_backend/client/stock-transfer-modal.mjs.map +7 -0
  580. package/dist/modules/stock_backend/functions/index.d.ts +10 -0
  581. package/dist/modules/stock_backend/functions/index.d.ts.map +1 -0
  582. package/dist/modules/stock_backend/functions/index.js +20 -0
  583. package/dist/modules/stock_backend/functions/index.js.map +1 -0
  584. package/dist/modules/stock_backend/functions.d.ts +1 -9
  585. package/dist/modules/stock_backend/functions.d.ts.map +1 -1
  586. package/dist/modules/stock_backend/functions.js +1 -18
  587. package/dist/modules/stock_backend/functions.js.map +1 -1
  588. package/dist/modules/stock_backend/index.js +52 -0
  589. package/dist/modules/stock_backend/index.js.map +1 -1
  590. package/dist/modules/stock_backend/islands.d.ts +8 -0
  591. package/dist/modules/stock_backend/islands.d.ts.map +1 -1
  592. package/dist/modules/stock_backend/islands.js +41 -0
  593. package/dist/modules/stock_backend/islands.js.map +1 -1
  594. package/dist/modules/stock_backend/modal/configuration-context.d.ts +3 -0
  595. package/dist/modules/stock_backend/modal/configuration-context.d.ts.map +1 -0
  596. package/dist/modules/stock_backend/modal/configuration-context.js +65 -0
  597. package/dist/modules/stock_backend/modal/configuration-context.js.map +1 -0
  598. package/dist/modules/stock_backend/modal/configuration-view.d.ts +21 -0
  599. package/dist/modules/stock_backend/modal/configuration-view.d.ts.map +1 -0
  600. package/dist/modules/stock_backend/modal/configuration-view.js +201 -0
  601. package/dist/modules/stock_backend/modal/configuration-view.js.map +1 -0
  602. package/dist/modules/stock_backend/modal/configuration.d.ts +20 -0
  603. package/dist/modules/stock_backend/modal/configuration.d.ts.map +1 -0
  604. package/dist/modules/stock_backend/modal/configuration.js +117 -0
  605. package/dist/modules/stock_backend/modal/configuration.js.map +1 -0
  606. package/dist/modules/stock_backend/modal/inventory-context.d.ts +3 -0
  607. package/dist/modules/stock_backend/modal/inventory-context.d.ts.map +1 -0
  608. package/dist/modules/stock_backend/modal/inventory-context.js +37 -0
  609. package/dist/modules/stock_backend/modal/inventory-context.js.map +1 -0
  610. package/dist/modules/stock_backend/modal/inventory-view.d.ts +14 -0
  611. package/dist/modules/stock_backend/modal/inventory-view.d.ts.map +1 -0
  612. package/dist/modules/stock_backend/modal/inventory-view.js +142 -0
  613. package/dist/modules/stock_backend/modal/inventory-view.js.map +1 -0
  614. package/dist/modules/stock_backend/modal/transfer-context.d.ts +3 -0
  615. package/dist/modules/stock_backend/modal/transfer-context.d.ts.map +1 -0
  616. package/dist/modules/stock_backend/modal/transfer-context.js +54 -0
  617. package/dist/modules/stock_backend/modal/transfer-context.js.map +1 -0
  618. package/dist/modules/stock_backend/modal/transfer-view.d.ts +15 -0
  619. package/dist/modules/stock_backend/modal/transfer-view.d.ts.map +1 -0
  620. package/dist/modules/stock_backend/modal/transfer-view.js +252 -0
  621. package/dist/modules/stock_backend/modal/transfer-view.js.map +1 -0
  622. package/dist/modules/stock_backend/routes.d.ts.map +1 -1
  623. package/dist/modules/stock_backend/routes.js +117 -34
  624. package/dist/modules/stock_backend/routes.js.map +1 -1
  625. package/dist/modules/stock_backend/screens/forecast.d.ts.map +1 -1
  626. package/dist/modules/stock_backend/screens/forecast.js +5 -32
  627. package/dist/modules/stock_backend/screens/forecast.js.map +1 -1
  628. package/dist/modules/stock_backend/screens/inventory.d.ts +3 -1
  629. package/dist/modules/stock_backend/screens/inventory.d.ts.map +1 -1
  630. package/dist/modules/stock_backend/screens/inventory.js +27 -74
  631. package/dist/modules/stock_backend/screens/inventory.js.map +1 -1
  632. package/dist/modules/stock_backend/screens/location-create.d.ts.map +1 -1
  633. package/dist/modules/stock_backend/screens/location-create.js +1 -1
  634. package/dist/modules/stock_backend/screens/location-create.js.map +1 -1
  635. package/dist/modules/stock_backend/screens/locations-list.d.ts +1 -1
  636. package/dist/modules/stock_backend/screens/locations-list.d.ts.map +1 -1
  637. package/dist/modules/stock_backend/screens/locations-list.js +1 -1
  638. package/dist/modules/stock_backend/screens/locations-list.js.map +1 -1
  639. package/dist/modules/stock_backend/screens/lot-create.d.ts.map +1 -1
  640. package/dist/modules/stock_backend/screens/lot-create.js +1 -1
  641. package/dist/modules/stock_backend/screens/lot-create.js.map +1 -1
  642. package/dist/modules/stock_backend/screens/lot-detail.d.ts.map +1 -1
  643. package/dist/modules/stock_backend/screens/lot-detail.js +3 -2
  644. package/dist/modules/stock_backend/screens/lot-detail.js.map +1 -1
  645. package/dist/modules/stock_backend/screens/lots-list.d.ts +1 -1
  646. package/dist/modules/stock_backend/screens/lots-list.d.ts.map +1 -1
  647. package/dist/modules/stock_backend/screens/lots-list.js +1 -1
  648. package/dist/modules/stock_backend/screens/lots-list.js.map +1 -1
  649. package/dist/modules/stock_backend/screens/overview.d.ts +9 -0
  650. package/dist/modules/stock_backend/screens/overview.d.ts.map +1 -0
  651. package/dist/modules/stock_backend/screens/overview.js +38 -0
  652. package/dist/modules/stock_backend/screens/overview.js.map +1 -0
  653. package/dist/modules/stock_backend/screens/picking-type-create.d.ts.map +1 -1
  654. package/dist/modules/stock_backend/screens/picking-type-create.js +1 -1
  655. package/dist/modules/stock_backend/screens/picking-type-create.js.map +1 -1
  656. package/dist/modules/stock_backend/screens/picking-types-list.d.ts +1 -1
  657. package/dist/modules/stock_backend/screens/picking-types-list.d.ts.map +1 -1
  658. package/dist/modules/stock_backend/screens/picking-types-list.js +1 -1
  659. package/dist/modules/stock_backend/screens/picking-types-list.js.map +1 -1
  660. package/dist/modules/stock_backend/screens/replenishment-create.d.ts.map +1 -1
  661. package/dist/modules/stock_backend/screens/replenishment-create.js +1 -1
  662. package/dist/modules/stock_backend/screens/replenishment-create.js.map +1 -1
  663. package/dist/modules/stock_backend/screens/replenishment-list.d.ts +2 -2
  664. package/dist/modules/stock_backend/screens/replenishment-list.d.ts.map +1 -1
  665. package/dist/modules/stock_backend/screens/replenishment-list.js +2 -2
  666. package/dist/modules/stock_backend/screens/replenishment-list.js.map +1 -1
  667. package/dist/modules/stock_backend/screens/stock-route-create.d.ts.map +1 -1
  668. package/dist/modules/stock_backend/screens/stock-route-create.js +1 -1
  669. package/dist/modules/stock_backend/screens/stock-route-create.js.map +1 -1
  670. package/dist/modules/stock_backend/screens/stock-route-detail.js +2 -1
  671. package/dist/modules/stock_backend/screens/stock-route-detail.js.map +1 -1
  672. package/dist/modules/stock_backend/screens/stock-routes-list.d.ts +1 -1
  673. package/dist/modules/stock_backend/screens/stock-routes-list.d.ts.map +1 -1
  674. package/dist/modules/stock_backend/screens/stock-routes-list.js +1 -1
  675. package/dist/modules/stock_backend/screens/stock-routes-list.js.map +1 -1
  676. package/dist/modules/stock_backend/screens/transfer-create.d.ts.map +1 -1
  677. package/dist/modules/stock_backend/screens/transfer-create.js +1 -1
  678. package/dist/modules/stock_backend/screens/transfer-create.js.map +1 -1
  679. package/dist/modules/stock_backend/screens/transfer-detail.d.ts.map +1 -1
  680. package/dist/modules/stock_backend/screens/transfer-detail.js +3 -2
  681. package/dist/modules/stock_backend/screens/transfer-detail.js.map +1 -1
  682. package/dist/modules/stock_backend/screens/transfers-list.d.ts +1 -1
  683. package/dist/modules/stock_backend/screens/transfers-list.d.ts.map +1 -1
  684. package/dist/modules/stock_backend/screens/transfers-list.js +1 -1
  685. package/dist/modules/stock_backend/screens/transfers-list.js.map +1 -1
  686. package/dist/modules/stock_backend/screens/warehouse-create.d.ts.map +1 -1
  687. package/dist/modules/stock_backend/screens/warehouse-create.js +1 -1
  688. package/dist/modules/stock_backend/screens/warehouse-create.js.map +1 -1
  689. package/dist/modules/stock_backend/screens/warehouses-list.d.ts +1 -1
  690. package/dist/modules/stock_backend/screens/warehouses-list.d.ts.map +1 -1
  691. package/dist/modules/stock_backend/screens/warehouses-list.js +1 -1
  692. package/dist/modules/stock_backend/screens/warehouses-list.js.map +1 -1
  693. package/dist/modules/stock_backend/search.d.ts +29 -0
  694. package/dist/modules/stock_backend/search.d.ts.map +1 -1
  695. package/dist/modules/stock_backend/search.js +22 -0
  696. package/dist/modules/stock_backend/search.js.map +1 -1
  697. package/dist/modules/user_backend/client/access-policy-modal.d.mts +4 -4
  698. package/dist/modules/user_backend/client/access-policy-modal.d.mts.map +1 -1
  699. package/dist/modules/user_backend/client/access-policy-modal.mjs +1 -1
  700. package/dist/modules/user_backend/client/access-policy-modal.mjs.map +3 -3
  701. package/dist/modules/user_backend/client/role-modal.d.mts +6 -6
  702. package/dist/modules/user_backend/client/role-modal.d.mts.map +1 -1
  703. package/dist/modules/user_backend/client/role-modal.mjs +1 -1
  704. package/dist/modules/user_backend/client/role-modal.mjs.map +3 -3
  705. package/dist/modules/user_backend/client/user-modal.d.mts +9 -9
  706. package/dist/modules/user_backend/client/user-modal.d.mts.map +1 -1
  707. package/dist/modules/user_backend/client/user-modal.mjs +1 -1
  708. package/dist/modules/user_backend/client/user-modal.mjs.map +3 -3
  709. package/dist/modules/user_backend/messages.d.ts +0 -6
  710. package/dist/modules/user_backend/messages.d.ts.map +1 -1
  711. package/dist/modules/user_backend/messages.js +0 -6
  712. package/dist/modules/user_backend/messages.js.map +1 -1
  713. package/dist/modules/user_backend/screens/access-policies-list.d.ts.map +1 -1
  714. package/dist/modules/user_backend/screens/access-policies-list.js +1 -1
  715. package/dist/modules/user_backend/screens/access-policies-list.js.map +1 -1
  716. package/dist/modules/user_backend/screens/profile-form.d.ts.map +1 -1
  717. package/dist/modules/user_backend/screens/profile-form.js +1 -1
  718. package/dist/modules/user_backend/screens/profile-form.js.map +1 -1
  719. package/dist/modules/user_backend/screens/roles-list.d.ts.map +1 -1
  720. package/dist/modules/user_backend/screens/roles-list.js +1 -1
  721. package/dist/modules/user_backend/screens/roles-list.js.map +1 -1
  722. package/dist/modules/user_backend/screens/users-list.d.ts.map +1 -1
  723. package/dist/modules/user_backend/screens/users-list.js +1 -1
  724. package/dist/modules/user_backend/screens/users-list.js.map +1 -1
  725. package/dist/modules/website_backend/screens/page-frame.d.ts +2 -3
  726. package/dist/modules/website_backend/screens/page-frame.d.ts.map +1 -1
  727. package/dist/modules/website_backend/screens/page-frame.js +2 -2
  728. package/dist/modules/website_backend/screens/page-frame.js.map +1 -1
  729. package/dist/permission-catalogue.d.ts.map +1 -1
  730. package/dist/permission-catalogue.js +2 -0
  731. package/dist/permission-catalogue.js.map +1 -1
  732. package/dist/role-templates.d.ts.map +1 -1
  733. package/dist/role-templates.js +23 -3
  734. package/dist/role-templates.js.map +1 -1
  735. package/dist/scaffold/index.js +1 -1
  736. package/dist/ui/client/live-doc-shell.d.ts +27 -1
  737. package/dist/ui/client/live-doc-shell.d.ts.map +1 -1
  738. package/dist/ui/client/live-doc-shell.js +43 -5
  739. package/dist/ui/client/live-doc-shell.js.map +1 -1
  740. package/dist/ui/client/live-doc-tail.d.ts +4 -0
  741. package/dist/ui/client/live-doc-tail.d.ts.map +1 -0
  742. package/dist/ui/client/live-doc-tail.js +21 -0
  743. package/dist/ui/client/live-doc-tail.js.map +1 -0
  744. package/dist/ui/client/live-doc-view.d.ts +18 -0
  745. package/dist/ui/client/live-doc-view.d.ts.map +1 -1
  746. package/dist/ui/client/live-doc-view.js +183 -4
  747. package/dist/ui/client/live-doc-view.js.map +1 -1
  748. package/dist/ui/client/live-doc.css +81 -0
  749. package/dist/ui/client/live-doc.d.mts +6 -3
  750. package/dist/ui/client/live-doc.d.mts.map +1 -1
  751. package/dist/ui/client/live-doc.mjs +14 -10
  752. package/dist/ui/client/live-doc.mjs.map +4 -4
  753. package/dist/ui/client/record-modal-form.d.ts +10 -0
  754. package/dist/ui/client/record-modal-form.d.ts.map +1 -1
  755. package/dist/ui/client/record-modal-form.js +3 -1
  756. package/dist/ui/client/record-modal-form.js.map +1 -1
  757. package/dist/ui/client/record-modal.d.ts +9 -1
  758. package/dist/ui/client/record-modal.d.ts.map +1 -1
  759. package/dist/ui/client/record-modal.js +78 -17
  760. package/dist/ui/client/record-modal.js.map +1 -1
  761. package/dist/ui/index.d.ts +2 -2
  762. package/dist/ui/index.d.ts.map +1 -1
  763. package/dist/ui/index.js +2 -2
  764. package/dist/ui/index.js.map +1 -1
  765. package/dist/ui/layout.d.ts +2 -2
  766. package/dist/ui/layout.d.ts.map +1 -1
  767. package/dist/ui/layout.js +3 -3
  768. package/dist/ui/layout.js.map +1 -1
  769. package/dist/ui/record-modal.d.ts +3 -0
  770. package/dist/ui/record-modal.d.ts.map +1 -1
  771. package/dist/ui/record-modal.js +15 -1
  772. package/dist/ui/record-modal.js.map +1 -1
  773. package/package.json +4 -4
  774. package/dist/modules/flow/functions.d.ts +0 -3
  775. package/dist/modules/flow/functions.d.ts.map +0 -1
  776. package/dist/modules/flow/functions.js +0 -1857
  777. package/dist/modules/flow/functions.js.map +0 -1
  778. package/dist/modules/flow/operations.d.ts +0 -414
  779. package/dist/modules/flow/operations.d.ts.map +0 -1
  780. package/dist/modules/flow/operations.js +0 -1671
  781. package/dist/modules/flow/operations.js.map +0 -1
@@ -0,0 +1,46 @@
1
+ import { restrictToVisible, visibleProjects } from '../membership.js';
2
+ import { eq, from, inArray } from '@ketvietlab/ketjs';
3
+ /**
4
+ * Blocking dependencies leading into a given set of issues, batched — the map
5
+ * view (flow_backend's dependency atlas, one epic at a time) needs the edges
6
+ * among its own node set, not the per-issue read `issueDetail` already does.
7
+ * No JOIN in this query builder by design, so this is one query against
8
+ * `IssueDependency` alone.
9
+ *
10
+ * Both ends are matched by default: an edge pointing out of the set is not an
11
+ * edge of the set. The map opts into outgoing edges so it can page a large
12
+ * source set in bounded chunks, then filters both ends against the complete
13
+ * epic after aggregation. The id list remains capped because it arrives over
14
+ * HTTP.
15
+ */
16
+ export const DEPENDENCY_BATCH = 200;
17
+ export async function dependenciesFor(ctx, issueIds, includeExternalTargets = false) {
18
+ const asked = [...new Set(issueIds.map(String))].slice(0, DEPENDENCY_BATCH);
19
+ if (!asked.length)
20
+ return [];
21
+ // The ids arrive from the caller, not from a query this function ran, so the
22
+ // membership rule has to be applied to them here. Without it, naming an issue
23
+ // in somebody else's project answered whether it had blockers — a small
24
+ // answer, and still an answer about a project that is supposed to be
25
+ // invisible (FLW-018).
26
+ const I = ctx.table('flow.Issue');
27
+ const visible = await visibleProjects(ctx);
28
+ const readable = await ctx.db.all(restrictToVisible(from(I).select(I.id).where(inArray(I.id, asked)), I.projectId, visible));
29
+ const ids = readable.map((row) => String(row.id));
30
+ if (!ids.length)
31
+ return [];
32
+ const D = ctx.table('flow.IssueDependency');
33
+ const held = new Set(ids);
34
+ const rows = await ctx.db.all(from(D).where(inArray(D.issueId, ids), eq(D.relation, 'blocks')));
35
+ // An external target is an issue outside the set that was asked about, which
36
+ // the map draws an arrow to. It may still be one the caller cannot read, so
37
+ // the far end is filtered the same way the near end was.
38
+ if (!includeExternalTargets)
39
+ return rows.filter((row) => held.has(String(row.dependsOnIssueId)));
40
+ const targets = [...new Set(rows.map((row) => String(row.dependsOnIssueId)))].filter((id) => !held.has(id));
41
+ if (!targets.length)
42
+ return rows;
43
+ const reachable = new Set((await ctx.db.all(restrictToVisible(from(I).select(I.id).where(inArray(I.id, targets)), I.projectId, visible))).map((row) => String(row.id)));
44
+ return rows.filter((row) => held.has(String(row.dependsOnIssueId)) || reachable.has(String(row.dependsOnIssueId)));
45
+ }
46
+ //# sourceMappingURL=issue-dependencies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-dependencies.js","sourceRoot":"","sources":["../../../../../../../../packages/ketsuite/src/modules/flow/queries/issue-dependencies.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AACrE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAErD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;AAEnC,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,GAAQ,EACR,QAA2B,EAC3B,sBAAsB,GAAG,KAAK;IAE9B,MAAM,KAAK,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAA;IAC3E,IAAI,CAAC,KAAK,CAAC,MAAM;QAAE,OAAO,EAAE,CAAA;IAC5B,6EAA6E;IAC7E,8EAA8E;IAC9E,wEAAwE;IACxE,qEAAqE;IACrE,uBAAuB;IACvB,MAAM,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,CAAA;IACjC,MAAM,OAAO,GAAG,MAAM,eAAe,CAAC,GAAG,CAAC,CAAA;IAC1C,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAC/B,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAC1F,CAAA;IACD,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAA;IACjD,IAAI,CAAC,GAAG,CAAC,MAAM;QAAE,OAAO,EAAE,CAAA;IAC1B,MAAM,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAA;IAC3C,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAA;IACzB,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;IAC/F,6EAA6E;IAC7E,4EAA4E;IAC5E,yDAAyD;IACzD,IAAI,CAAC,sBAAsB;QAAE,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAA;IAChG,MAAM,OAAO,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAA;IAC3G,IAAI,CAAC,OAAO,CAAC,MAAM;QAAE,OAAO,IAAI,CAAA;IAChC,MAAM,SAAS,GAAG,IAAI,GAAG,CACvB,CACE,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CACd,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAC5F,CACF,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAC/B,CAAA;IACD,OAAO,IAAI,CAAC,MAAM,CAChB,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,IAAI,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAC/F,CAAA;AACH,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { Ctx } from '@ketvietlab/ketjs';
2
+ /**
3
+ * Whether the reader follows this issue, so a screen can offer the right verb.
4
+ */
5
+ export declare function following(ctx: Ctx, issueId: string): Promise<boolean>;
6
+ //# sourceMappingURL=issue-followers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-followers.d.ts","sourceRoot":"","sources":["../../../../../../../packages/ketsuite/src/modules/flow/queries/issue-followers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAG5C;;GAEG;AACH,wBAAsB,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAU3E"}
@@ -0,0 +1,18 @@
1
+ import { readableRow } from '../membership.js';
2
+ /**
3
+ * Whether the reader follows this issue, so a screen can offer the right verb.
4
+ */
5
+ export async function following(ctx, issueId) {
6
+ const held = await readableRow(ctx, 'flow.Issue', issueId);
7
+ if (!held || !ctx.actor)
8
+ return false;
9
+ const user = (await ctx.db.select('user.User', { id: ctx.actor }))[0];
10
+ if (!user?.partnerId)
11
+ return false;
12
+ const rows = await ctx.db.select('mail.Follower', {
13
+ threadId: held.threadId,
14
+ partnerId: user.partnerId,
15
+ });
16
+ return rows.length > 0;
17
+ }
18
+ //# sourceMappingURL=issue-followers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-followers.js","sourceRoot":"","sources":["../../../../../../../../packages/ketsuite/src/modules/flow/queries/issue-followers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,CAAC,GAAQ,EAAE,OAAe;IACvD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;IAC1D,IAAI,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,KAAK,CAAA;IACrC,MAAM,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACrE,IAAI,CAAC,IAAI,EAAE,SAAS;QAAE,OAAO,KAAK,CAAA;IAClC,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,eAAe,EAAE;QAChD,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC,CAAA;IACF,OAAO,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;AACxB,CAAC"}
@@ -0,0 +1,153 @@
1
+ import type { Ctx, ListState, Row } from '@ketvietlab/ketjs';
2
+ /**
3
+ * How far along each issue is, counted from its sub-tasks.
4
+ *
5
+ * "Done" is a sub-task sitting in a column with `terminalState` — the concept
6
+ * models.ts introduced for exactly this kind of question, so that a team whose
7
+ * workflow is five columns wide gets the same answer as one running three, and
8
+ * neither has to be called "Done".
9
+ *
10
+ * Sub-tasks are the checklist. The description can hold one too, and does, but
11
+ * that one is prose: nobody can be given an item in it, nothing can be counted
12
+ * from outside the document, and it is not what this reads.
13
+ *
14
+ * Unlimited on purpose, unlike `dependenciesFor` below. The query is already
15
+ * bounded twice over — by one page of parents, and by sub-tasks being a
16
+ * relation a person types out by hand — and a cap on a *count* is worse than a
17
+ * cap on a list: a truncated list looks truncated, while 3/5 that should read
18
+ * 3/9 just looks wrong.
19
+ */
20
+ export declare function progressOf(ctx: Ctx, issueIds: string[]): Promise<Map<string, {
21
+ done: number;
22
+ total: number;
23
+ }>>;
24
+ export declare function serializeIssueList(ctx: Ctx, rows: Row[]): Promise<Row[]>;
25
+ /**
26
+ * How many issues one custom-field filter may match.
27
+ *
28
+ * The value lives in another table and this query builder has no JOIN, so the
29
+ * rule is answered by collecting ids and handing them to `IN (...)`. That list
30
+ * becomes SQL parameters, and every database has a ceiling on those — SQLite's
31
+ * has historically been 999.
32
+ *
33
+ * Capped rather than left to fail at the driver, and reported rather than
34
+ * trimmed quietly: a truncated *list* looks truncated, while a truncated
35
+ * *filter* looks like an answer. `listIssues` passes `fieldFilterTruncated`
36
+ * back so a screen can say so.
37
+ */
38
+ export declare const FIELD_FILTER_MATCHES = 900;
39
+ export type FieldFilterOutcome = {
40
+ state: ListState;
41
+ ids: string[] | null;
42
+ truncated: boolean;
43
+ };
44
+ /**
45
+ * Answers every `field:<code>` rule as a set of issue ids, and takes the rules
46
+ * out of the state on the way.
47
+ *
48
+ * The value lives in another table, so the rule cannot compile against a column
49
+ * of `flow.Issue`. Rewriting it in place does not work either — the spec
50
+ * declares a select field's `choices`, and a list of ids is not among them, so
51
+ * validation refuses the rewritten rule. So the rules leave, and what they
52
+ * selected is applied to the query directly.
53
+ *
54
+ * Only the top level is read, which is the only shape the filter UI builds
55
+ * (facets and the custom-filter row are both flat, and flat means AND). A rule
56
+ * nested inside an `or` group is left where it is rather than quietly hoisted
57
+ * out of it: removing one from an `or` widens the group, and answering a
58
+ * narrower question than was asked is the failure that looks like success.
59
+ */
60
+ export declare function resolveFieldFilters(ctx: Ctx, state: ListState, projectId: unknown): Promise<FieldFilterOutcome>;
61
+ export declare const listStateOf: (value: unknown) => ListState | null;
62
+ /**
63
+ * The columns a board treats as finished, and the one it starts from.
64
+ *
65
+ * Read once and shared, because "late" and "not started" both need them and
66
+ * two readings could disagree. A finished issue is never late, however long
67
+ * ago its date was — the work is done, and a red date on it would be asking
68
+ * for something that has already happened.
69
+ */
70
+ export declare const boardEdges: (ctx: Ctx) => Promise<{
71
+ terminal: string[];
72
+ first: string[];
73
+ }>;
74
+ export declare const issueQuery: (ctx: Ctx, args: Record<string, unknown>) => Promise<{
75
+ query: import("@ketvietlab/ketjs").Query;
76
+ state: ListState;
77
+ spec: {
78
+ key: string;
79
+ searchable: {
80
+ key: string;
81
+ col: import("@ketvietlab/ketjs").Col;
82
+ }[];
83
+ filterable: import("@ketvietlab/ketjs").FilterFieldSpec[];
84
+ groupable: ({
85
+ intervals?: undefined;
86
+ key: string;
87
+ label: string;
88
+ col: import("@ketvietlab/ketjs").Col;
89
+ } | {
90
+ key: string;
91
+ label: string;
92
+ col: import("@ketvietlab/ketjs").Col;
93
+ intervals: ("day" | "month" | "quarter" | "week" | "year")[];
94
+ })[];
95
+ sortable: {
96
+ key: string;
97
+ label: string;
98
+ col: import("@ketvietlab/ketjs").Col;
99
+ }[];
100
+ presets: {
101
+ key: string;
102
+ label: string;
103
+ group: string;
104
+ expr: import("@ketvietlab/ketjs").Expr;
105
+ }[];
106
+ defaultSort: {
107
+ key: string;
108
+ dir: "desc";
109
+ }[];
110
+ };
111
+ timezone: string;
112
+ truncated: boolean;
113
+ }>;
114
+ export declare function listIssues(ctx: Ctx, args: Record<string, unknown>): Promise<{
115
+ rows: Row[];
116
+ total: number;
117
+ nextCursor: string | null;
118
+ fieldFilterTruncated?: boolean;
119
+ }>;
120
+ export declare function groupIssues(ctx: Ctx, args: Record<string, unknown>): Promise<import("@ketvietlab/ketjs").GroupRow[]>;
121
+ /**
122
+ * How the issues in view divide up: finished, late, not started, under way.
123
+ *
124
+ * Counted, not listed. Each figure is a `count` over the same query the list
125
+ * itself runs, so a board of a thousand issues costs four counts rather than a
126
+ * thousand rows — and every bucket answers the question the list is already
127
+ * filtered by, instead of describing something wider than what is on screen.
128
+ *
129
+ * The four are disjoint and add up to the total, which is the only way a row of
130
+ * figures beside a list is readable at all:
131
+ *
132
+ * done the issue sits in a column marked `terminalState`
133
+ * overdue not done, has a due date, and that date has passed
134
+ * waiting not done, not overdue, in the first column of its board
135
+ * working everything else that is not done
136
+ *
137
+ * "First column" is what stands in for "not started". A project has no such
138
+ * flag, but a board is ordered and its first column is where work lands before
139
+ * anyone picks it up — see `Column.sequence`. It is a reading of real rows
140
+ * rather than a status nobody sets.
141
+ */
142
+ export type IssueBuckets = {
143
+ total: number;
144
+ done: number;
145
+ overdue: number;
146
+ waiting: number;
147
+ working: number;
148
+ /** The civil date these counts were taken against, for the screen to reuse. */
149
+ today: string;
150
+ };
151
+ export declare function issueBuckets(ctx: Ctx, args: Record<string, unknown>, today?: string): Promise<IssueBuckets>;
152
+ export declare function issueDetail(ctx: Ctx, id: string): Promise<Row | null>;
153
+ //# sourceMappingURL=issue-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-list.d.ts","sourceRoot":"","sources":["../../../../../../../packages/ketsuite/src/modules/flow/queries/issue-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAuB5D;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,UAAU,CAC9B,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,MAAM,EAAE,GACjB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAsBvD;AAED,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAqG9E;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,MAAM,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG;IAAE,KAAK,EAAE,SAAS,CAAC;IAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAAA;AAE/F;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,SAAS,EAChB,SAAS,EAAE,OAAO,GACjB,OAAO,CAAC,kBAAkB,CAAC,CA0C7B;AAED,eAAO,MAAM,WAAW,UAAW,OAAO,KAAG,SAAS,GAAG,IACS,CAAA;AAElE;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,QAAe,GAAG,KAAG,OAAO,CAAC;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAE,CAe1F,CAAA;AAED,eAAO,MAAM,UAAU,QAAe,GAAG,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEvE,CAAA;AAED,wBAAsB,UAAU,CAC9B,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,OAAO,CAAC;IACT,IAAI,EAAE,GAAG,EAAE,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAC,CAgBD;AAED,wBAAsB,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,mDAYxE;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wBAAsB,YAAY,CAChC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,YAAY,CAAC,CA4BvB;AAED,wBAAsB,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,CA8D3E"}