@rytass/bpm-core-react 0.18.0 → 0.18.1

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 (271) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/chunks/FormBuilderView-CHaAQL5v.cjs +3 -0
  3. package/dist/chunks/FormBuilderView-CHaAQL5v.cjs.map +1 -0
  4. package/dist/chunks/{FormBuilderView-BVKY1j_0.js → FormBuilderView-vQfVc08Z.js} +485 -481
  5. package/dist/chunks/FormBuilderView-vQfVc08Z.js.map +1 -0
  6. package/dist/chunks/{FormRendererView-BsTwZkqU.js → FormRendererView-CTLlG13b.js} +300 -189
  7. package/dist/chunks/FormRendererView-CTLlG13b.js.map +1 -0
  8. package/dist/chunks/FormRendererView-ChmM_4Yc.cjs +4 -0
  9. package/dist/chunks/FormRendererView-ChmM_4Yc.cjs.map +1 -0
  10. package/dist/chunks/admin-pickers-BjbkBpSJ.cjs +2 -0
  11. package/dist/chunks/admin-pickers-BjbkBpSJ.cjs.map +1 -0
  12. package/dist/chunks/{admin-pickers-Djq3h-UR.js → admin-pickers-DfGxsjpp.js} +42 -42
  13. package/dist/chunks/admin-pickers-DfGxsjpp.js.map +1 -0
  14. package/dist/chunks/{approval-instance-list-page-CPXMP3PL.js → approval-instance-list-page-BnI4t5mD.js} +7 -8
  15. package/dist/chunks/{approval-instance-list-page-CPXMP3PL.js.map → approval-instance-list-page-BnI4t5mD.js.map} +1 -1
  16. package/dist/chunks/{approval-instance-list-page-ax0pm8bt.cjs → approval-instance-list-page-fqvmkBlg.cjs} +2 -2
  17. package/dist/chunks/{approval-instance-list-page-ax0pm8bt.cjs.map → approval-instance-list-page-fqvmkBlg.cjs.map} +1 -1
  18. package/dist/chunks/{approver-filled-form-Dm3Iw7iw.cjs → approver-filled-form-B4zPg9kz.cjs} +2 -2
  19. package/dist/chunks/approver-filled-form-B4zPg9kz.cjs.map +1 -0
  20. package/dist/chunks/{approver-filled-form-ZEwpmsHJ.js → approver-filled-form-Bgazhbvd.js} +40 -36
  21. package/dist/chunks/approver-filled-form-Bgazhbvd.js.map +1 -0
  22. package/dist/chunks/auth-provider-4BeCw7cI.cjs.map +1 -1
  23. package/dist/chunks/{auth-provider-B5oPmvk2.js → auth-provider-C2b-5mGt.js} +2 -3
  24. package/dist/chunks/{auth-provider-B5oPmvk2.js.map → auth-provider-C2b-5mGt.js.map} +1 -1
  25. package/dist/chunks/{bpm-form-field-Cao0rMol.js → bpm-form-field-9B-Det0u.js} +2 -3
  26. package/dist/chunks/{bpm-form-field-Cao0rMol.js.map → bpm-form-field-9B-Det0u.js.map} +1 -1
  27. package/dist/chunks/bpm-form-field-Bc6k4ZEO.cjs.map +1 -1
  28. package/dist/chunks/{categories-riC33J_j.js → categories-BAdxjNSA.js} +14 -15
  29. package/dist/chunks/{categories-riC33J_j.js.map → categories-BAdxjNSA.js.map} +1 -1
  30. package/dist/chunks/{categories-AxxhqjLZ.cjs → categories-DQUtVEiV.cjs} +2 -2
  31. package/dist/chunks/{categories-AxxhqjLZ.cjs.map → categories-DQUtVEiV.cjs.map} +1 -1
  32. package/dist/chunks/{compose-B1GlrZW9.js → compose-D9ipJpF_.js} +131 -148
  33. package/dist/chunks/compose-D9ipJpF_.js.map +1 -0
  34. package/dist/chunks/compose-DtfX8DQ9.cjs +2 -0
  35. package/dist/chunks/compose-DtfX8DQ9.cjs.map +1 -0
  36. package/dist/chunks/{dashboard-page-DdBvV6YI.js → dashboard-page-BoqNhjT_.js} +5 -6
  37. package/dist/chunks/{dashboard-page-DdBvV6YI.js.map → dashboard-page-BoqNhjT_.js.map} +1 -1
  38. package/dist/chunks/{dashboard-page-BWQBSGDq.cjs → dashboard-page-D7YJ3udk.cjs} +2 -2
  39. package/dist/chunks/{dashboard-page-BWQBSGDq.cjs.map → dashboard-page-D7YJ3udk.cjs.map} +1 -1
  40. package/dist/chunks/{delegations-MxF3uJGW.js → delegations-BfhCDz5e.js} +15 -16
  41. package/dist/chunks/{delegations-MxF3uJGW.js.map → delegations-BfhCDz5e.js.map} +1 -1
  42. package/dist/chunks/{delegations-Ckf03icM.cjs → delegations-BmFGcuhA.cjs} +2 -2
  43. package/dist/chunks/{delegations-Ckf03icM.cjs.map → delegations-BmFGcuhA.cjs.map} +1 -1
  44. package/dist/chunks/{delegations-V9HIe3_P.cjs → delegations-CcS0SHbf.cjs} +2 -2
  45. package/dist/chunks/{delegations-V9HIe3_P.cjs.map → delegations-CcS0SHbf.cjs.map} +1 -1
  46. package/dist/chunks/{delegations-xUt1tj8d.js → delegations-DBh5TT6G.js} +16 -17
  47. package/dist/chunks/{delegations-xUt1tj8d.js.map → delegations-DBh5TT6G.js.map} +1 -1
  48. package/dist/chunks/designer-Df79YzUn.cjs +65 -0
  49. package/dist/chunks/designer-Df79YzUn.cjs.map +1 -0
  50. package/dist/chunks/{designer-BCLrjb4H.js → designer-ubnZbP-A.js} +1791 -1407
  51. package/dist/chunks/designer-ubnZbP-A.js.map +1 -0
  52. package/dist/chunks/detail-BBC9kqXd.cjs +5 -0
  53. package/dist/chunks/detail-BBC9kqXd.cjs.map +1 -0
  54. package/dist/chunks/{detail-4F39ggBn.js → detail-C6XKZjlF.js} +1033 -1005
  55. package/dist/chunks/detail-C6XKZjlF.js.map +1 -0
  56. package/dist/chunks/{format-date-time-CB-LxzqT.js → format-date-time-B0LdmWg4.js} +2 -3
  57. package/dist/chunks/{format-date-time-CB-LxzqT.js.map → format-date-time-B0LdmWg4.js.map} +1 -1
  58. package/dist/chunks/format-date-time-D-cx5M8z.cjs.map +1 -1
  59. package/dist/chunks/{format-member-label-DudVI55w.js → format-member-label-C73FuP-d.js} +2 -3
  60. package/dist/chunks/{format-member-label-DudVI55w.js.map → format-member-label-C73FuP-d.js.map} +1 -1
  61. package/dist/chunks/format-member-label-t7ANTF62.cjs.map +1 -1
  62. package/dist/chunks/language-provider-Bdnx3Gxl.cjs.map +1 -1
  63. package/dist/chunks/{language-provider-B3cEbLe4.js → language-provider-phkWOapf.js} +2 -3
  64. package/dist/chunks/{language-provider-B3cEbLe4.js.map → language-provider-phkWOapf.js.map} +1 -1
  65. package/dist/chunks/{login-C6qlTC6F.js → login-D6cc3bo7.js} +4 -5
  66. package/dist/chunks/{login-C6qlTC6F.js.map → login-D6cc3bo7.js.map} +1 -1
  67. package/dist/chunks/{login-AtVxZBsC.cjs → login-uvVcltrS.cjs} +2 -2
  68. package/dist/chunks/{login-AtVxZBsC.cjs.map → login-uvVcltrS.cjs.map} +1 -1
  69. package/dist/chunks/notifications-Bc4mgSds.cjs.map +1 -1
  70. package/dist/chunks/{notifications-DJ5wzCye.js → notifications-Cvme5Qbl.js} +2 -3
  71. package/dist/chunks/{notifications-DJ5wzCye.js.map → notifications-Cvme5Qbl.js.map} +1 -1
  72. package/dist/chunks/orgs-B_2J2tLX.cjs +2 -0
  73. package/dist/chunks/{orgs-BeeDDWL1.cjs.map → orgs-B_2J2tLX.cjs.map} +1 -1
  74. package/dist/chunks/{orgs-8hje_l2n.js → orgs-DqxMds26.js} +48 -49
  75. package/dist/chunks/{orgs-8hje_l2n.js.map → orgs-DqxMds26.js.map} +1 -1
  76. package/dist/chunks/{providers-B_d5tbCL.js → providers-BbCs23sk.js} +21 -25
  77. package/dist/chunks/{providers-B_d5tbCL.js.map → providers-BbCs23sk.js.map} +1 -1
  78. package/dist/chunks/{providers-chuJvMgv.cjs → providers-D_KAgOOu.cjs} +2 -2
  79. package/dist/chunks/{providers-chuJvMgv.cjs.map → providers-D_KAgOOu.cjs.map} +1 -1
  80. package/dist/chunks/router-adapter--gYs13E8.cjs.map +1 -1
  81. package/dist/chunks/{router-adapter-DftlFTOd.js → router-adapter-CkxCyzf5.js} +2 -3
  82. package/dist/chunks/{router-adapter-DftlFTOd.js.map → router-adapter-CkxCyzf5.js.map} +1 -1
  83. package/dist/chunks/{routes-config-yZbESPlw.js → routes-config-BcNaWJWJ.js} +2 -3
  84. package/dist/chunks/{routes-config-yZbESPlw.js.map → routes-config-BcNaWJWJ.js.map} +1 -1
  85. package/dist/chunks/routes-config-C1j_vFKo.cjs.map +1 -1
  86. package/dist/chunks/task-decision-3d17ZvZE.js +29 -0
  87. package/dist/chunks/task-decision-3d17ZvZE.js.map +1 -0
  88. package/dist/chunks/task-decision-CqZ4WQOC.cjs +2 -0
  89. package/dist/chunks/task-decision-CqZ4WQOC.cjs.map +1 -0
  90. package/dist/chunks/{use-bpm-member-D57LKe_u.js → use-bpm-member-BPzcNU1g.js} +3 -4
  91. package/dist/chunks/{use-bpm-member-D57LKe_u.js.map → use-bpm-member-BPzcNU1g.js.map} +1 -1
  92. package/dist/chunks/use-bpm-member-DpNAQtNC.cjs.map +1 -1
  93. package/dist/chunks/{users-Pl6hY5Y5.js → users-BBtiZ9QQ.js} +22 -25
  94. package/dist/chunks/{users-Pl6hY5Y5.js.map → users-BBtiZ9QQ.js.map} +1 -1
  95. package/dist/chunks/{users-O2L_M3BK.cjs → users-EqSzDhuj.cjs} +2 -2
  96. package/dist/chunks/{users-O2L_M3BK.cjs.map → users-EqSzDhuj.cjs.map} +1 -1
  97. package/dist/components/admin-picker-options.d.cts +11 -0
  98. package/dist/components/admin-picker-options.d.ts +11 -0
  99. package/dist/components/admin-pickers.d.cts +2 -11
  100. package/dist/components/admin-pickers.d.ts +2 -11
  101. package/dist/index.cjs +1 -1
  102. package/dist/index.cjs.map +1 -1
  103. package/dist/index.js +17 -19
  104. package/dist/index.js.map +1 -1
  105. package/dist/lib/task-decision.d.cts +16 -0
  106. package/dist/lib/task-decision.d.ts +16 -0
  107. package/dist/lib/use-org-unit-names.d.cts +10 -0
  108. package/dist/lib/use-org-unit-names.d.ts +10 -0
  109. package/dist/next/index.cjs +1 -1
  110. package/dist/next/index.cjs.map +1 -1
  111. package/dist/next/index.js +7 -8
  112. package/dist/next/index.js.map +1 -1
  113. package/dist/next/workflow-chat-route.cjs +19 -1
  114. package/dist/next/workflow-chat-route.cjs.map +1 -1
  115. package/dist/next/workflow-chat-route.js +2 -3
  116. package/dist/next/workflow-chat-route.js.map +1 -1
  117. package/dist/pages/admin/delegations/index.cjs +1 -1
  118. package/dist/pages/admin/delegations/index.cjs.map +1 -1
  119. package/dist/pages/admin/delegations/index.js +2 -3
  120. package/dist/pages/admin/orgs/index.cjs +1 -1
  121. package/dist/pages/admin/orgs/index.cjs.map +1 -1
  122. package/dist/pages/admin/orgs/index.js +2 -3
  123. package/dist/pages/admin/users/index.cjs +1 -1
  124. package/dist/pages/admin/users/index.cjs.map +1 -1
  125. package/dist/pages/admin/users/index.js +2 -3
  126. package/dist/pages/admin/webhook-endpoints/index.cjs.map +1 -1
  127. package/dist/pages/admin/webhook-endpoints/index.js +1 -2
  128. package/dist/pages/cc/index.cjs.map +1 -1
  129. package/dist/pages/cc/index.js +1 -2
  130. package/dist/pages/dashboard/index.cjs.map +1 -1
  131. package/dist/pages/dashboard/index.js +1 -2
  132. package/dist/pages/delegations/index.cjs +1 -1
  133. package/dist/pages/delegations/index.cjs.map +1 -1
  134. package/dist/pages/delegations/index.js +2 -3
  135. package/dist/pages/inbox/index.cjs.map +1 -1
  136. package/dist/pages/inbox/index.js +1 -2
  137. package/dist/pages/instances/detail/index.cjs +1 -1
  138. package/dist/pages/instances/detail/index.cjs.map +1 -1
  139. package/dist/pages/instances/detail/index.js +2 -3
  140. package/dist/pages/instances/new/index.cjs.map +1 -1
  141. package/dist/pages/instances/new/index.js +1 -2
  142. package/dist/pages/login/index.cjs +1 -1
  143. package/dist/pages/login/index.cjs.map +1 -1
  144. package/dist/pages/login/index.js +2 -3
  145. package/dist/pages/root/index.cjs.map +1 -1
  146. package/dist/pages/root/index.js +1 -2
  147. package/dist/pages/search/index.cjs.map +1 -1
  148. package/dist/pages/search/index.js +1 -2
  149. package/dist/pages/sent/index.cjs.map +1 -1
  150. package/dist/pages/sent/index.js +1 -2
  151. package/dist/pages/settings/notifications/index.cjs.map +1 -1
  152. package/dist/pages/settings/notifications/index.js +2 -3
  153. package/dist/pages/templates/categories/index.cjs +1 -1
  154. package/dist/pages/templates/categories/index.cjs.map +1 -1
  155. package/dist/pages/templates/categories/index.js +2 -3
  156. package/dist/pages/templates/compose/index.cjs +1 -1
  157. package/dist/pages/templates/compose/index.cjs.map +1 -1
  158. package/dist/pages/templates/compose/index.js +2 -3
  159. package/dist/pages/templates/designer/index.cjs +1 -1
  160. package/dist/pages/templates/designer/index.cjs.map +1 -1
  161. package/dist/pages/templates/designer/index.js +2 -3
  162. package/dist/pages/templates/index.cjs.map +1 -1
  163. package/dist/pages/templates/index.js +1 -2
  164. package/dist/pages/templates/versions/index.cjs.map +1 -1
  165. package/dist/pages/templates/versions/index.js +1 -2
  166. package/dist/views/admin/delegations/index.cjs +1 -1
  167. package/dist/views/admin/delegations/index.js +1 -1
  168. package/dist/views/admin/index.cjs +1 -1
  169. package/dist/views/admin/index.js +3 -3
  170. package/dist/views/admin/orgs/index.cjs +1 -1
  171. package/dist/views/admin/orgs/index.js +1 -1
  172. package/dist/views/admin/users/index.cjs +1 -1
  173. package/dist/views/admin/users/index.js +1 -1
  174. package/dist/views/admin/webhook-endpoints/index.cjs +1 -1
  175. package/dist/views/admin/webhook-endpoints/index.cjs.map +1 -1
  176. package/dist/views/admin/webhook-endpoints/index.js +52 -53
  177. package/dist/views/admin/webhook-endpoints/index.js.map +1 -1
  178. package/dist/views/cc/index.cjs +1 -1
  179. package/dist/views/cc/index.cjs.map +1 -1
  180. package/dist/views/cc/index.js +2 -3
  181. package/dist/views/dashboard/index.cjs +1 -1
  182. package/dist/views/dashboard/index.cjs.map +1 -1
  183. package/dist/views/dashboard/index.js +2 -3
  184. package/dist/views/delegations/index.cjs +1 -1
  185. package/dist/views/delegations/index.js +1 -1
  186. package/dist/views/forms/builder/index.cjs +1 -1
  187. package/dist/views/forms/builder/index.js +1 -1
  188. package/dist/views/forms/renderer/index.cjs +1 -1
  189. package/dist/views/forms/renderer/index.js +1 -1
  190. package/dist/views/forms/renderer/org-unit-field-options.d.cts +44 -0
  191. package/dist/views/forms/renderer/org-unit-field-options.d.ts +44 -0
  192. package/dist/views/forms/renderer/org-unit-field.d.cts +23 -0
  193. package/dist/views/forms/renderer/org-unit-field.d.ts +23 -0
  194. package/dist/views/inbox/index.cjs +1 -1
  195. package/dist/views/inbox/index.cjs.map +1 -1
  196. package/dist/views/inbox/index.js +133 -137
  197. package/dist/views/inbox/index.js.map +1 -1
  198. package/dist/views/instances/approver-filled-form.d.cts +9 -2
  199. package/dist/views/instances/approver-filled-form.d.ts +9 -2
  200. package/dist/views/instances/detail/index.cjs +1 -1
  201. package/dist/views/instances/detail/index.js +1 -1
  202. package/dist/views/instances/detail/sections/InstanceHistorySection.d.cts +8 -1
  203. package/dist/views/instances/detail/sections/InstanceHistorySection.d.ts +8 -1
  204. package/dist/views/instances/detail/sections/container-helpers.d.cts +0 -1
  205. package/dist/views/instances/detail/sections/container-helpers.d.ts +0 -1
  206. package/dist/views/instances/detail/sections/shared.d.cts +2 -2
  207. package/dist/views/instances/detail/sections/shared.d.ts +2 -2
  208. package/dist/views/instances/new/index.cjs +1 -1
  209. package/dist/views/instances/new/index.cjs.map +1 -1
  210. package/dist/views/instances/new/index.js +14 -15
  211. package/dist/views/instances/new/index.js.map +1 -1
  212. package/dist/views/login/index.cjs +1 -1
  213. package/dist/views/login/index.js +1 -1
  214. package/dist/views/search/index.cjs +1 -1
  215. package/dist/views/search/index.cjs.map +1 -1
  216. package/dist/views/search/index.js +2 -3
  217. package/dist/views/sent/index.cjs +1 -1
  218. package/dist/views/sent/index.cjs.map +1 -1
  219. package/dist/views/sent/index.js +2 -3
  220. package/dist/views/settings/index.js +1 -1
  221. package/dist/views/settings/notifications/index.js +1 -1
  222. package/dist/views/templates/categories/index.cjs +1 -1
  223. package/dist/views/templates/categories/index.js +1 -1
  224. package/dist/views/templates/compose/index.cjs +1 -1
  225. package/dist/views/templates/compose/index.js +1 -1
  226. package/dist/views/templates/designer/approver-resolver-model.d.cts +211 -0
  227. package/dist/views/templates/designer/approver-resolver-model.d.ts +211 -0
  228. package/dist/views/templates/designer/dry-run-assignee-label.d.cts +2 -0
  229. package/dist/views/templates/designer/dry-run-assignee-label.d.ts +2 -0
  230. package/dist/views/templates/designer/dry-run-sample-data.d.cts +6 -0
  231. package/dist/views/templates/designer/dry-run-sample-data.d.ts +6 -0
  232. package/dist/views/templates/designer/dynamic-form-resolver-options.d.cts +25 -0
  233. package/dist/views/templates/designer/dynamic-form-resolver-options.d.ts +25 -0
  234. package/dist/views/templates/designer/index.cjs +1 -1
  235. package/dist/views/templates/designer/index.js +1 -1
  236. package/dist/views/templates/designer/node-actor-resolver-options.d.cts +38 -0
  237. package/dist/views/templates/designer/node-actor-resolver-options.d.ts +38 -0
  238. package/dist/views/templates/index.cjs +1 -1
  239. package/dist/views/templates/index.cjs.map +1 -1
  240. package/dist/views/templates/index.js +50 -51
  241. package/dist/views/templates/index.js.map +1 -1
  242. package/dist/views/templates/versions/index.cjs +1 -1
  243. package/dist/views/templates/versions/index.cjs.map +1 -1
  244. package/dist/views/templates/versions/index.js +7 -8
  245. package/dist/views/templates/versions/index.js.map +1 -1
  246. package/package.json +3 -3
  247. package/dist/chunks/FormBuilderView-BVKY1j_0.js.map +0 -1
  248. package/dist/chunks/FormBuilderView-SrGltzFT.cjs +0 -3
  249. package/dist/chunks/FormBuilderView-SrGltzFT.cjs.map +0 -1
  250. package/dist/chunks/FormRendererView-BsTwZkqU.js.map +0 -1
  251. package/dist/chunks/FormRendererView-GpsE03np.cjs +0 -4
  252. package/dist/chunks/FormRendererView-GpsE03np.cjs.map +0 -1
  253. package/dist/chunks/admin-pickers-BRHk3qKq.cjs +0 -2
  254. package/dist/chunks/admin-pickers-BRHk3qKq.cjs.map +0 -1
  255. package/dist/chunks/admin-pickers-Djq3h-UR.js.map +0 -1
  256. package/dist/chunks/approver-filled-form-Dm3Iw7iw.cjs.map +0 -1
  257. package/dist/chunks/approver-filled-form-ZEwpmsHJ.js.map +0 -1
  258. package/dist/chunks/compose-B1GlrZW9.js.map +0 -1
  259. package/dist/chunks/compose-DZk-SfHT.cjs +0 -2
  260. package/dist/chunks/compose-DZk-SfHT.cjs.map +0 -1
  261. package/dist/chunks/designer-BCLrjb4H.js.map +0 -1
  262. package/dist/chunks/designer-BYYxEN9L.cjs +0 -65
  263. package/dist/chunks/designer-BYYxEN9L.cjs.map +0 -1
  264. package/dist/chunks/detail-4F39ggBn.js.map +0 -1
  265. package/dist/chunks/detail-BkMtA_0K.cjs +0 -2
  266. package/dist/chunks/detail-BkMtA_0K.cjs.map +0 -1
  267. package/dist/chunks/orgs-BeeDDWL1.cjs +0 -2
  268. package/dist/chunks/task-node-label-BF6UllxP.cjs +0 -2
  269. package/dist/chunks/task-node-label-BF6UllxP.cjs.map +0 -1
  270. package/dist/chunks/task-node-label-CWZgOBj0.js +0 -9
  271. package/dist/chunks/task-node-label-CWZgOBj0.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["AdminWebhookEndpointsView","require_views_admin_webhook_endpoints_index","react_jsx_runtime","metadata","AdminWebhookEndpointsPage"],"sources":["../../../../src/pages/admin/webhook-endpoints/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { AdminWebhookEndpointsView } from '../../../views/admin/webhook-endpoints';\n\nexport const metadata: Metadata = {\n title: 'Webhook 端點 | BPM Admin',\n description: '維護知會節點可呼叫的外部系統端點。',\n};\n\nexport default function AdminWebhookEndpointsPage(): ReactElement {\n return <AdminWebhookEndpointsView />;\n}\n"],"mappings":"sMAIA,IAAaG,EAAqB,CAChC,MAAO,yBACP,YAAa,mBACf,EAEA,SAAwBC,GAA0C,CAChE,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,0BAAD,CAA4B,CAAA,CACrC"}
1
+ {"version":3,"file":"index.cjs","names":["AdminWebhookEndpointsView","require_views_admin_webhook_endpoints_index","react_jsx_runtime","metadata","AdminWebhookEndpointsPage"],"sources":["../../../../src/pages/admin/webhook-endpoints/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { AdminWebhookEndpointsView } from '../../../views/admin/webhook-endpoints';\n\nexport const metadata: Metadata = {\n title: 'Webhook 端點 | BPM Admin',\n description: '維護知會節點可呼叫的外部系統端點。',\n};\n\nexport default function AdminWebhookEndpointsPage(): ReactElement {\n return <AdminWebhookEndpointsView />;\n}\n"],"mappings":"A,sMAIA,IAAaG,EAAqB,CAChC,MAAO,yBACP,YAAa,mBACf,EAEA,SAAwBC,GAA0C,CAChE,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,0BAAD,CAA4B,CAAA,CACrC,C"}
@@ -1,6 +1,6 @@
1
1
  import { AdminWebhookEndpointsView as e } from "../../../views/admin/webhook-endpoints/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/admin/webhook-endpoints/index.tsx
3
+ // src/pages/admin/webhook-endpoints/index.tsx
4
4
  var n = {
5
5
  title: "Webhook 端點 | BPM Admin",
6
6
  description: "維護知會節點可呼叫的外部系統端點。"
@@ -8,7 +8,6 @@ var n = {
8
8
  function r() {
9
9
  return /* @__PURE__ */ t(e, {});
10
10
  }
11
- //#endregion
12
11
  export { r as default, n as metadata };
13
12
 
14
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["CcView","require_views_cc_index","react_jsx_runtime","metadata","CcPage"],"sources":["../../../src/pages/cc/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { CcView } from '../../views/cc';\n\n/**\n * Next.js metadata for the BPM \"cc\" page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '抄送給我 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM cc inbox. Usage in\n * `app/cc/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/cc';\n * ```\n */\nexport default function CcPage(): ReactElement {\n return <CcView />;\n}\n"],"mappings":"8KAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwBC,GAAuB,CAC7C,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,OAAD,CAAS,CAAA,CAClB"}
1
+ {"version":3,"file":"index.cjs","names":["CcView","require_views_cc_index","react_jsx_runtime","metadata","CcPage"],"sources":["../../../src/pages/cc/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { CcView } from '../../views/cc';\n\n/**\n * Next.js metadata for the BPM \"cc\" page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '抄送給我 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM cc inbox. Usage in\n * `app/cc/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/cc';\n * ```\n */\nexport default function CcPage(): ReactElement {\n return <CcView />;\n}\n"],"mappings":"A,8KAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwBC,GAAuB,CAC7C,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,OAAD,CAAS,CAAA,CAClB,C"}
@@ -1,11 +1,10 @@
1
1
  import { CcView as e } from "../../views/cc/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/cc/index.tsx
3
+ // src/pages/cc/index.tsx
4
4
  var n = { title: "抄送給我 | BPM Admin" };
5
5
  function r() {
6
6
  return /* @__PURE__ */ t(e, {});
7
7
  }
8
- //#endregion
9
8
  export { r as default, n as metadata };
10
9
 
11
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["DashboardView","require_views_dashboard_index","react_jsx_runtime","metadata","DashboardPage"],"sources":["../../../src/pages/dashboard/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { DashboardView } from '../../views/dashboard';\n\n/**\n * Next.js metadata for the BPM dashboard page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '工作台 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM dashboard. Usage in\n * `app/dashboard/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/dashboard';\n * ```\n */\nexport default function DashboardPage(): ReactElement {\n return <DashboardView />;\n}\n"],"mappings":"qLAQA,IAAaG,EAAqB,CAChC,MAAO,iBACT,EAUA,SAAwBC,GAA8B,CACpD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,cAAD,CAAgB,CAAA,CACzB"}
1
+ {"version":3,"file":"index.cjs","names":["DashboardView","require_views_dashboard_index","react_jsx_runtime","metadata","DashboardPage"],"sources":["../../../src/pages/dashboard/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { DashboardView } from '../../views/dashboard';\n\n/**\n * Next.js metadata for the BPM dashboard page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '工作台 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM dashboard. Usage in\n * `app/dashboard/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/dashboard';\n * ```\n */\nexport default function DashboardPage(): ReactElement {\n return <DashboardView />;\n}\n"],"mappings":"A,qLAQA,IAAaG,EAAqB,CAChC,MAAO,iBACT,EAUA,SAAwBC,GAA8B,CACpD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,cAAD,CAAgB,CAAA,CACzB,C"}
@@ -1,11 +1,10 @@
1
1
  import { DashboardView as e } from "../../views/dashboard/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/dashboard/index.tsx
3
+ // src/pages/dashboard/index.tsx
4
4
  var n = { title: "工作台 | BPM Admin" };
5
5
  function r() {
6
6
  return /* @__PURE__ */ t(e, {});
7
7
  }
8
- //#endregion
9
8
  export { r as default, n as metadata };
10
9
 
11
10
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/delegations-Ckf03icM.cjs");let t=require("react/jsx-runtime");var n={title:`我的代理 | BPM Admin`,description:`設定自己的簽核代理,讓指定期間內的新待簽任務自動交由代理人處理。`};function r(){return(0,t.jsx)(e.t,{})}exports.default=r,exports.metadata=n;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/delegations-BmFGcuhA.cjs");let t=require("react/jsx-runtime");var n={title:`我的代理 | BPM Admin`,description:`設定自己的簽核代理,讓指定期間內的新待簽任務自動交由代理人處理。`};function r(){return(0,t.jsx)(e.t,{})}exports.default=r,exports.metadata=n;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["DelegationsView","require_delegations","react_jsx_runtime","metadata","DelegationsPage"],"sources":["../../../src/pages/delegations/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { DelegationsView } from '../../views/delegations';\n\nexport const metadata: Metadata = {\n title: '我的代理 | BPM Admin',\n description: '設定自己的簽核代理,讓指定期間內的新待簽任務自動交由代理人處理。',\n};\n\nexport default function DelegationsPage(): ReactElement {\n return <DelegationsView />;\n}\n"],"mappings":"2LAIA,IAAaG,EAAqB,CAChC,MAAO,mBACP,YAAa,kCACf,EAEA,SAAwBC,GAAgC,CACtD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,EAAD,CAAkB,CAAA,CAC3B"}
1
+ {"version":3,"file":"index.cjs","names":["DelegationsView","require_delegations","react_jsx_runtime","metadata","DelegationsPage"],"sources":["../../../src/pages/delegations/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { DelegationsView } from '../../views/delegations';\n\nexport const metadata: Metadata = {\n title: '我的代理 | BPM Admin',\n description: '設定自己的簽核代理,讓指定期間內的新待簽任務自動交由代理人處理。',\n};\n\nexport default function DelegationsPage(): ReactElement {\n return <DelegationsView />;\n}\n"],"mappings":"A,2LAIA,IAAaG,EAAqB,CAChC,MAAO,mBACP,YAAa,kCACf,EAEA,SAAwBC,GAAgC,CACtD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,EAAD,CAAkB,CAAA,CAC3B,C"}
@@ -1,6 +1,6 @@
1
- import { t as e } from "../../chunks/delegations-MxF3uJGW.js";
1
+ import { t as e } from "../../chunks/delegations-BfhCDz5e.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/delegations/index.tsx
3
+ // src/pages/delegations/index.tsx
4
4
  var n = {
5
5
  title: "我的代理 | BPM Admin",
6
6
  description: "設定自己的簽核代理,讓指定期間內的新待簽任務自動交由代理人處理。"
@@ -8,7 +8,6 @@ var n = {
8
8
  function r() {
9
9
  return /* @__PURE__ */ t(e, {});
10
10
  }
11
- //#endregion
12
11
  export { r as default, n as metadata };
13
12
 
14
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["InboxView","require_views_inbox_index","react_jsx_runtime","metadata","InboxPage"],"sources":["../../../src/pages/inbox/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { InboxView } from '../../views/inbox';\n\n/**\n * Next.js metadata for the BPM inbox page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '我的待簽 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM inbox. Usage in\n * `app/inbox/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/inbox';\n * ```\n */\nexport default function InboxPage(): ReactElement {\n return <InboxView />;\n}\n"],"mappings":"iLAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwBC,GAA0B,CAChD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,UAAD,CAAY,CAAA,CACrB"}
1
+ {"version":3,"file":"index.cjs","names":["InboxView","require_views_inbox_index","react_jsx_runtime","metadata","InboxPage"],"sources":["../../../src/pages/inbox/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { InboxView } from '../../views/inbox';\n\n/**\n * Next.js metadata for the BPM inbox page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '我的待簽 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM inbox. Usage in\n * `app/inbox/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/inbox';\n * ```\n */\nexport default function InboxPage(): ReactElement {\n return <InboxView />;\n}\n"],"mappings":"A,iLAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwBC,GAA0B,CAChD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,UAAD,CAAY,CAAA,CACrB,C"}
@@ -1,11 +1,10 @@
1
1
  import { InboxView as e } from "../../views/inbox/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/inbox/index.tsx
3
+ // src/pages/inbox/index.tsx
4
4
  var n = { title: "我的待簽 | BPM Admin" };
5
5
  function r() {
6
6
  return /* @__PURE__ */ t(e, {});
7
7
  }
8
- //#endregion
9
8
  export { r as default, n as metadata };
10
9
 
11
10
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/detail-BkMtA_0K.cjs");let t=require("react/jsx-runtime");var n={title:`案件詳情 | BPM Admin`};async function r({params:n}){let{id:r}=await n;return(0,t.jsx)(e.t,{instanceId:r})}exports.default=r,exports.metadata=n;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/detail-BBC9kqXd.cjs");let t=require("react/jsx-runtime");var n={title:`案件詳情 | BPM Admin`};async function r({params:n}){let{id:r}=await n;return(0,t.jsx)(e.t,{instanceId:r})}exports.default=r,exports.metadata=n;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["InstanceDetailView","require_detail","react_jsx_runtime","metadata","InstanceDetailPage","params","id"],"sources":["../../../../src/pages/instances/detail/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { InstanceDetailView } from '../../../views/instances/detail';\n\n/**\n * Next.js metadata for the BPM instance detail page. Consumers re-export\n * this alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '案件詳情 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM instance detail screen.\n * Accepts the standard App Router `params: Promise<{ id: string }>` shape\n * and forwards the resolved `id` into the view as `instanceId`.\n *\n * Usage in `app/instances/[id]/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/instances/detail';\n * ```\n */\nexport default async function InstanceDetailPage({\n params,\n}: {\n readonly params: Promise<{ readonly id: string }>;\n}): Promise<ReactElement> {\n const { id } = await params;\n return <InstanceDetailView instanceId={id} />;\n}\n"],"mappings":"yLAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAaA,eAA8BC,EAAmB,CAC/C,UAGwB,CACxB,GAAM,CAAE,MAAO,MAAMC,EACrB,OAAO,EAAAH,EAAA,IAAA,CAACF,EAAAA,EAAD,CAAoB,WAAYM,CAAK,CAAA,CAC9C"}
1
+ {"version":3,"file":"index.cjs","names":["InstanceDetailView","require_detail","react_jsx_runtime","metadata","InstanceDetailPage","params","id"],"sources":["../../../../src/pages/instances/detail/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { InstanceDetailView } from '../../../views/instances/detail';\n\n/**\n * Next.js metadata for the BPM instance detail page. Consumers re-export\n * this alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '案件詳情 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM instance detail screen.\n * Accepts the standard App Router `params: Promise<{ id: string }>` shape\n * and forwards the resolved `id` into the view as `instanceId`.\n *\n * Usage in `app/instances/[id]/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/instances/detail';\n * ```\n */\nexport default async function InstanceDetailPage({\n params,\n}: {\n readonly params: Promise<{ readonly id: string }>;\n}): Promise<ReactElement> {\n const { id } = await params;\n return <InstanceDetailView instanceId={id} />;\n}\n"],"mappings":"A,yLAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAaA,eAA8BC,EAAmB,CAC/C,UAGwB,CACxB,GAAM,CAAE,MAAO,MAAMC,EACrB,OAAO,EAAAH,EAAA,IAAA,CAACF,EAAAA,EAAD,CAAoB,WAAYM,CAAK,CAAA,CAC9C,C"}
@@ -1,12 +1,11 @@
1
- import { t as e } from "../../../chunks/detail-4F39ggBn.js";
1
+ import { t as e } from "../../../chunks/detail-C6XKZjlF.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/instances/detail/index.tsx
3
+ // src/pages/instances/detail/index.tsx
4
4
  var n = { title: "案件詳情 | BPM Admin" };
5
5
  async function r({ params: n }) {
6
6
  let { id: r } = await n;
7
7
  return /* @__PURE__ */ t(e, { instanceId: r });
8
8
  }
9
- //#endregion
10
9
  export { r as default, n as metadata };
11
10
 
12
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["InstanceNewView","require_views_instances_new_index","react_jsx_runtime","metadata","InstanceNewPage","searchParams","templateId"],"sources":["../../../../src/pages/instances/new/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { InstanceNewView } from '../../../views/instances/new';\n\n/**\n * Next.js metadata for the BPM \"launch approval\" page. Consumers re-export\n * this alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '發起簽核 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM launch screen. Usage in\n * `app/instances/new/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/instances/new';\n * ```\n */\nexport default async function InstanceNewPage({\n searchParams,\n}: {\n readonly searchParams: Promise<{ readonly templateId?: string }>;\n}): Promise<ReactElement> {\n const { templateId } = await searchParams;\n return <InstanceNewView templateId={templateId ?? null} />;\n}\n"],"mappings":"4LAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,eAA8BC,EAAgB,CAC5C,gBAGwB,CACxB,GAAM,CAAE,cAAe,MAAMC,EAC7B,OAAO,EAAAH,EAAA,IAAA,CAACF,EAAAA,gBAAD,CAAiB,WAAYM,GAAc,IAAO,CAAA,CAC3D"}
1
+ {"version":3,"file":"index.cjs","names":["InstanceNewView","require_views_instances_new_index","react_jsx_runtime","metadata","InstanceNewPage","searchParams","templateId"],"sources":["../../../../src/pages/instances/new/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { InstanceNewView } from '../../../views/instances/new';\n\n/**\n * Next.js metadata for the BPM \"launch approval\" page. Consumers re-export\n * this alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '發起簽核 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM launch screen. Usage in\n * `app/instances/new/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/instances/new';\n * ```\n */\nexport default async function InstanceNewPage({\n searchParams,\n}: {\n readonly searchParams: Promise<{ readonly templateId?: string }>;\n}): Promise<ReactElement> {\n const { templateId } = await searchParams;\n return <InstanceNewView templateId={templateId ?? null} />;\n}\n"],"mappings":"A,4LAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,eAA8BC,EAAgB,CAC5C,gBAGwB,CACxB,GAAM,CAAE,cAAe,MAAMC,EAC7B,OAAO,EAAAH,EAAA,IAAA,CAACF,EAAAA,gBAAD,CAAiB,WAAYM,GAAc,IAAO,CAAA,CAC3D,C"}
@@ -1,12 +1,11 @@
1
1
  import { InstanceNewView as e } from "../../../views/instances/new/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/instances/new/index.tsx
3
+ // src/pages/instances/new/index.tsx
4
4
  var n = { title: "發起簽核 | BPM Admin" };
5
5
  async function r({ searchParams: n }) {
6
6
  let { templateId: r } = await n;
7
7
  return /* @__PURE__ */ t(e, { templateId: r ?? null });
8
8
  }
9
- //#endregion
10
9
  export { r as default, n as metadata };
11
10
 
12
11
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/login-AtVxZBsC.cjs");let t=require("react/jsx-runtime");var n={title:`Login | BPM Admin`,description:`Sign in to the BPM approval workflow administration console.`};async function r({searchParams:n}){let{next:r}=await n;return(0,t.jsx)(e.t,{defaultNextPath:r})}exports.default=r,exports.metadata=n;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/login-uvVcltrS.cjs");let t=require("react/jsx-runtime");var n={title:`Login | BPM Admin`,description:`Sign in to the BPM approval workflow administration console.`};async function r({searchParams:n}){let{next:r}=await n;return(0,t.jsx)(e.t,{defaultNextPath:r})}exports.default=r,exports.metadata=n;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["LoginView","require_login","react_jsx_runtime","metadata","LoginPage","searchParams","next"],"sources":["../../../src/pages/login/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { LoginView } from '../../views/login';\n\n/**\n * Next.js metadata for the BPM login page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: 'Login | BPM Admin',\n description: 'Sign in to the BPM approval workflow administration console.',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM login screen.\n *\n * Consumer usage in `app/login/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/login';\n * ```\n */\nexport default async function LoginPage({\n searchParams,\n}: {\n readonly searchParams: Promise<{ readonly next?: string }>;\n}): Promise<ReactElement> {\n const { next } = await searchParams;\n return <LoginView defaultNextPath={next} />;\n}\n"],"mappings":"qLAQA,IAAaG,EAAqB,CAChC,MAAO,oBACP,YAAa,8DACf,EAWA,eAA8BC,EAAU,CACtC,gBAGwB,CACxB,GAAM,CAAE,QAAS,MAAMC,EACvB,OAAO,EAAAH,EAAA,IAAA,CAACF,EAAAA,EAAD,CAAW,gBAAiBM,CAAO,CAAA,CAC5C"}
1
+ {"version":3,"file":"index.cjs","names":["LoginView","require_login","react_jsx_runtime","metadata","LoginPage","searchParams","next"],"sources":["../../../src/pages/login/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { LoginView } from '../../views/login';\n\n/**\n * Next.js metadata for the BPM login page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: 'Login | BPM Admin',\n description: 'Sign in to the BPM approval workflow administration console.',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM login screen.\n *\n * Consumer usage in `app/login/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/login';\n * ```\n */\nexport default async function LoginPage({\n searchParams,\n}: {\n readonly searchParams: Promise<{ readonly next?: string }>;\n}): Promise<ReactElement> {\n const { next } = await searchParams;\n return <LoginView defaultNextPath={next} />;\n}\n"],"mappings":"A,qLAQA,IAAaG,EAAqB,CAChC,MAAO,oBACP,YAAa,8DACf,EAWA,eAA8BC,EAAU,CACtC,gBAGwB,CACxB,GAAM,CAAE,QAAS,MAAMC,EACvB,OAAO,EAAAH,EAAA,IAAA,CAACF,EAAAA,EAAD,CAAW,gBAAiBM,CAAO,CAAA,CAC5C,C"}
@@ -1,6 +1,6 @@
1
- import { t as e } from "../../chunks/login-C6qlTC6F.js";
1
+ import { t as e } from "../../chunks/login-D6cc3bo7.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/login/index.tsx
3
+ // src/pages/login/index.tsx
4
4
  var n = {
5
5
  title: "Login | BPM Admin",
6
6
  description: "Sign in to the BPM approval workflow administration console."
@@ -9,7 +9,6 @@ async function r({ searchParams: n }) {
9
9
  let { next: r } = await n;
10
10
  return /* @__PURE__ */ t(e, { defaultNextPath: r });
11
11
  }
12
- //#endregion
13
12
  export { r as default, n as metadata };
14
13
 
15
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["next_navigation","metadata","RootPage"],"sources":["../../../src/pages/root/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { redirect } from 'next/navigation';\n\n/**\n * Next.js metadata for the BPM root path.\n */\nexport const metadata: Metadata = {\n title: 'BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM root path. Server-side\n * redirects to `/dashboard` — never renders any client tree, so it cannot\n * pollute the chunk boundary with `'use client'`.\n *\n * Consumer usage in `app/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/root';\n * ```\n */\nexport default function RootPage(): ReactElement {\n redirect('/dashboard');\n}\n"],"mappings":"gIAOA,IAAaC,EAAqB,CAChC,MAAO,WACT,EAaA,SAAwBC,GAAyB,EAC/C,EAAAF,EAAA,SAAA,CAAS,YAAY,CACvB"}
1
+ {"version":3,"file":"index.cjs","names":["next_navigation","metadata","RootPage"],"sources":["../../../src/pages/root/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { redirect } from 'next/navigation';\n\n/**\n * Next.js metadata for the BPM root path.\n */\nexport const metadata: Metadata = {\n title: 'BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM root path. Server-side\n * redirects to `/dashboard` — never renders any client tree, so it cannot\n * pollute the chunk boundary with `'use client'`.\n *\n * Consumer usage in `app/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/root';\n * ```\n */\nexport default function RootPage(): ReactElement {\n redirect('/dashboard');\n}\n"],"mappings":"A,gIAOA,IAAaC,EAAqB,CAChC,MAAO,WACT,EAaA,SAAwBC,GAAyB,EAC/C,EAAAF,EAAA,SAAA,CAAS,YAAY,CACvB,C"}
@@ -1,10 +1,9 @@
1
1
  import { redirect as e } from "next/navigation";
2
- //#region src/pages/root/index.tsx
2
+ // src/pages/root/index.tsx
3
3
  var t = { title: "BPM Admin" };
4
4
  function n() {
5
5
  e("/dashboard");
6
6
  }
7
- //#endregion
8
7
  export { n as default, t as metadata };
9
8
 
10
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["SearchView","require_views_search_index","react_jsx_runtime","metadata","SearchPage"],"sources":["../../../src/pages/search/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { SearchView } from '../../views/search';\n\n/**\n * Next.js metadata for the BPM case search page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '案件查詢 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM case search. Usage in\n * `app/search/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/search';\n * ```\n */\nexport default function SearchPage(): ReactElement {\n return <SearchView />;\n}\n"],"mappings":"kLAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwBC,GAA2B,CACjD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,WAAD,CAAa,CAAA,CACtB"}
1
+ {"version":3,"file":"index.cjs","names":["SearchView","require_views_search_index","react_jsx_runtime","metadata","SearchPage"],"sources":["../../../src/pages/search/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { SearchView } from '../../views/search';\n\n/**\n * Next.js metadata for the BPM case search page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '案件查詢 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM case search. Usage in\n * `app/search/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/search';\n * ```\n */\nexport default function SearchPage(): ReactElement {\n return <SearchView />;\n}\n"],"mappings":"A,kLAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwBC,GAA2B,CACjD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,WAAD,CAAa,CAAA,CACtB,C"}
@@ -1,11 +1,10 @@
1
1
  import { SearchView as e } from "../../views/search/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/search/index.tsx
3
+ // src/pages/search/index.tsx
4
4
  var n = { title: "案件查詢 | BPM Admin" };
5
5
  function r() {
6
6
  return /* @__PURE__ */ t(e, {});
7
7
  }
8
- //#endregion
9
8
  export { r as default, n as metadata };
10
9
 
11
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["SentView","require_views_sent_index","react_jsx_runtime","metadata","SentPage"],"sources":["../../../src/pages/sent/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { SentView } from '../../views/sent';\n\n/**\n * Next.js metadata for the BPM \"sent\" page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '我發起的 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM sent inbox. Usage in\n * `app/sent/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/sent';\n * ```\n */\nexport default function SentPage(): ReactElement {\n return <SentView />;\n}\n"],"mappings":"gLAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwBC,GAAyB,CAC/C,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,SAAD,CAAW,CAAA,CACpB"}
1
+ {"version":3,"file":"index.cjs","names":["SentView","require_views_sent_index","react_jsx_runtime","metadata","SentPage"],"sources":["../../../src/pages/sent/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { SentView } from '../../views/sent';\n\n/**\n * Next.js metadata for the BPM \"sent\" page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '我發起的 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM sent inbox. Usage in\n * `app/sent/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/sent';\n * ```\n */\nexport default function SentPage(): ReactElement {\n return <SentView />;\n}\n"],"mappings":"A,gLAQA,IAAaG,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwBC,GAAyB,CAC/C,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,SAAD,CAAW,CAAA,CACpB,C"}
@@ -1,11 +1,10 @@
1
1
  import { SentView as e } from "../../views/sent/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/sent/index.tsx
3
+ // src/pages/sent/index.tsx
4
4
  var n = { title: "我發起的 | BPM Admin" };
5
5
  function r() {
6
6
  return /* @__PURE__ */ t(e, {});
7
7
  }
8
- //#endregion
9
8
  export { r as default, n as metadata };
10
9
 
11
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["SettingsNotificationsView","require_notifications","react_jsx_runtime","metadata","SettingsNotificationsPage"],"sources":["../../../../src/pages/settings/notifications/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { SettingsNotificationsView } from '../../../views/settings/notifications';\n\nexport const metadata: Metadata = {\n title: '通知設定 | BPM Admin',\n description: '調整站內通知、Email 通知與摘要頻率。',\n};\n\nexport default function SettingsNotificationsPage(): ReactElement {\n return <SettingsNotificationsView />;\n}\n"],"mappings":"gMAIA,IAAaG,EAAqB,CAChC,MAAO,mBACP,YAAa,uBACf,EAEA,SAAwBC,GAA0C,CAChE,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,EAAD,CAA4B,CAAA,CACrC"}
1
+ {"version":3,"file":"index.cjs","names":["SettingsNotificationsView","require_notifications","react_jsx_runtime","metadata","SettingsNotificationsPage"],"sources":["../../../../src/pages/settings/notifications/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { SettingsNotificationsView } from '../../../views/settings/notifications';\n\nexport const metadata: Metadata = {\n title: '通知設定 | BPM Admin',\n description: '調整站內通知、Email 通知與摘要頻率。',\n};\n\nexport default function SettingsNotificationsPage(): ReactElement {\n return <SettingsNotificationsView />;\n}\n"],"mappings":"A,gMAIA,IAAaG,EAAqB,CAChC,MAAO,mBACP,YAAa,uBACf,EAEA,SAAwBC,GAA0C,CAChE,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,EAAD,CAA4B,CAAA,CACrC,C"}
@@ -1,6 +1,6 @@
1
- import { t as e } from "../../../chunks/notifications-DJ5wzCye.js";
1
+ import { t as e } from "../../../chunks/notifications-Cvme5Qbl.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/settings/notifications/index.tsx
3
+ // src/pages/settings/notifications/index.tsx
4
4
  var n = {
5
5
  title: "通知設定 | BPM Admin",
6
6
  description: "調整站內通知、Email 通知與摘要頻率。"
@@ -8,7 +8,6 @@ var n = {
8
8
  function r() {
9
9
  return /* @__PURE__ */ t(e, {});
10
10
  }
11
- //#endregion
12
11
  export { r as default, n as metadata };
13
12
 
14
13
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/categories-AxxhqjLZ.cjs");let t=require("react/jsx-runtime");var n={title:`範本分類管理 | BPM Admin`,description:`維護 BPM 流程範本的分類設定。`};function r(){return(0,t.jsx)(e.t,{})}exports.default=r,exports.metadata=n;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/categories-DQUtVEiV.cjs");let t=require("react/jsx-runtime");var n={title:`範本分類管理 | BPM Admin`,description:`維護 BPM 流程範本的分類設定。`};function r(){return(0,t.jsx)(e.t,{})}exports.default=r,exports.metadata=n;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["TemplateCategoriesView","require_categories","react_jsx_runtime","metadata","TemplateCategoriesPage"],"sources":["../../../../src/pages/templates/categories/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { TemplateCategoriesView } from '../../../views/templates/categories';\n\nexport const metadata: Metadata = {\n title: '範本分類管理 | BPM Admin',\n description: '維護 BPM 流程範本的分類設定。',\n};\n\nexport default function TemplateCategoriesPage(): ReactElement {\n return <TemplateCategoriesView />;\n}\n"],"mappings":"6LAIA,IAAaG,EAAqB,CAChC,MAAO,qBACP,YAAa,mBACf,EAEA,SAAwBC,GAAuC,CAC7D,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,EAAD,CAAyB,CAAA,CAClC"}
1
+ {"version":3,"file":"index.cjs","names":["TemplateCategoriesView","require_categories","react_jsx_runtime","metadata","TemplateCategoriesPage"],"sources":["../../../../src/pages/templates/categories/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { TemplateCategoriesView } from '../../../views/templates/categories';\n\nexport const metadata: Metadata = {\n title: '範本分類管理 | BPM Admin',\n description: '維護 BPM 流程範本的分類設定。',\n};\n\nexport default function TemplateCategoriesPage(): ReactElement {\n return <TemplateCategoriesView />;\n}\n"],"mappings":"A,6LAIA,IAAaG,EAAqB,CAChC,MAAO,qBACP,YAAa,mBACf,EAEA,SAAwBC,GAAuC,CAC7D,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,EAAD,CAAyB,CAAA,CAClC,C"}
@@ -1,6 +1,6 @@
1
- import { t as e } from "../../../chunks/categories-riC33J_j.js";
1
+ import { t as e } from "../../../chunks/categories-BAdxjNSA.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/templates/categories/index.tsx
3
+ // src/pages/templates/categories/index.tsx
4
4
  var n = {
5
5
  title: "範本分類管理 | BPM Admin",
6
6
  description: "維護 BPM 流程範本的分類設定。"
@@ -8,7 +8,6 @@ var n = {
8
8
  function r() {
9
9
  return /* @__PURE__ */ t(e, {});
10
10
  }
11
- //#endregion
12
11
  export { r as default, n as metadata };
13
12
 
14
13
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/compose-DZk-SfHT.cjs");let t=require("react/jsx-runtime"),n=require("next/server");var r={title:`建立模板(表單 + 流程) | BPM Admin`,description:`以精靈式流程一次完成 BPM 表單與簽核流程設計並發佈。`};async function i(){return await(0,n.connection)(),(0,t.jsx)(e.t,{aiAssistantAvailable:!!process.env.OPENAI_API_KEY,showAiAssistant:process.env.BPM_AI_ASSISTANT_ENABLED===`true`})}exports.default=i,exports.metadata=r;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/compose-DtfX8DQ9.cjs");let t=require("react/jsx-runtime"),n=require("next/server");var r={title:`建立模板(表單 + 流程) | BPM Admin`,description:`以精靈式流程一次完成 BPM 表單與簽核流程設計並發佈。`};async function i(){return await(0,n.connection)(),(0,t.jsx)(e.t,{aiAssistantAvailable:!!process.env.OPENAI_API_KEY,showAiAssistant:process.env.BPM_AI_ASSISTANT_ENABLED===`true`})}exports.default=i,exports.metadata=r;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["connection","TemplateComposeWizardView","require_compose","react_jsx_runtime","next_server","metadata","TemplateComposePage"],"sources":["../../../../src/pages/templates/compose/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { connection } from 'next/server';\nimport { TemplateComposeWizardView } from '../../../views/templates/compose';\n\nexport const metadata: Metadata = {\n title: '建立模板(表單 + 流程) | BPM Admin',\n description: '以精靈式流程一次完成 BPM 表單與簽核流程設計並發佈。',\n};\n\n/**\n * Drop-in Next.js App Router page for the unified template wizard.\n *\n * Consumer usage in `app/templates/compose/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/templates/compose';\n * ```\n *\n * The Step 1 (流程設計) embedded designer offers the same opt-in AI assistant\n * as the standalone designer page. `BPM_AI_ASSISTANT_ENABLED` shows the button;\n * `OPENAI_API_KEY` decides whether it's usable (else a disabled placeholder).\n * Both are server-only env on the Next.js host.\n *\n * `await connection()` opts this route out of static prerendering so those env\n * vars are read at request time. They are NOT set during `next build` (only\n * injected into the runtime container), so without this the flags would bake to\n * `false` on a production build — unlike the `[id]` designer page, which is\n * already dynamic by virtue of its route params. Survives the host's one-line\n * re-export, so npm consumers don't need their own route-segment config.\n */\nexport default async function TemplateComposePage(): Promise<ReactElement> {\n await connection();\n\n return (\n <TemplateComposeWizardView\n aiAssistantAvailable={Boolean(process.env.OPENAI_API_KEY)}\n showAiAssistant={process.env.BPM_AI_ASSISTANT_ENABLED === 'true'}\n />\n );\n}\n"],"mappings":"mNAKA,IAAaK,EAAqB,CAChC,MAAO,4BACP,YAAa,8BACf,EAuBA,eAA8BC,GAA6C,CAGzE,OAFA,MAAA,EAAMN,EAAAA,WAAAA,CAAW,GAGf,EAAAG,EAAA,IAAA,CAACF,EAAAA,EAAD,CACE,qBAAsB,EAAQ,QAAQ,IAAI,eAC1C,gBAAiB,QAAQ,IAAI,2BAA6B,MAC3D,CAAA,CAEL"}
1
+ {"version":3,"file":"index.cjs","names":["connection","TemplateComposeWizardView","require_compose","react_jsx_runtime","next_server","metadata","TemplateComposePage"],"sources":["../../../../src/pages/templates/compose/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { connection } from 'next/server';\nimport { TemplateComposeWizardView } from '../../../views/templates/compose';\n\nexport const metadata: Metadata = {\n title: '建立模板(表單 + 流程) | BPM Admin',\n description: '以精靈式流程一次完成 BPM 表單與簽核流程設計並發佈。',\n};\n\n/**\n * Drop-in Next.js App Router page for the unified template wizard.\n *\n * Consumer usage in `app/templates/compose/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/templates/compose';\n * ```\n *\n * The Step 1 (流程設計) embedded designer offers the same opt-in AI assistant\n * as the standalone designer page. `BPM_AI_ASSISTANT_ENABLED` shows the button;\n * `OPENAI_API_KEY` decides whether it's usable (else a disabled placeholder).\n * Both are server-only env on the Next.js host.\n *\n * `await connection()` opts this route out of static prerendering so those env\n * vars are read at request time. They are NOT set during `next build` (only\n * injected into the runtime container), so without this the flags would bake to\n * `false` on a production build — unlike the `[id]` designer page, which is\n * already dynamic by virtue of its route params. Survives the host's one-line\n * re-export, so npm consumers don't need their own route-segment config.\n */\nexport default async function TemplateComposePage(): Promise<ReactElement> {\n await connection();\n\n return (\n <TemplateComposeWizardView\n aiAssistantAvailable={Boolean(process.env.OPENAI_API_KEY)}\n showAiAssistant={process.env.BPM_AI_ASSISTANT_ENABLED === 'true'}\n />\n );\n}\n"],"mappings":"A,mNAKA,IAAaK,EAAqB,CAChC,MAAO,4BACP,YAAa,8BACf,EAuBA,eAA8BC,GAA6C,CAGzE,OAFA,MAAA,EAAMN,EAAAA,WAAAA,CAAW,GAGf,EAAAG,EAAA,IAAA,CAACF,EAAAA,EAAD,CACE,qBAAsB,EAAQ,QAAQ,IAAI,eAC1C,gBAAiB,QAAQ,IAAI,2BAA6B,MAC3D,CAAA,CAEL,C"}
@@ -1,7 +1,7 @@
1
- import { t as e } from "../../../chunks/compose-B1GlrZW9.js";
1
+ import { t as e } from "../../../chunks/compose-D9ipJpF_.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  import { connection as n } from "next/server";
4
- //#region src/pages/templates/compose/index.tsx
4
+ // src/pages/templates/compose/index.tsx
5
5
  var r = {
6
6
  title: "建立模板(表單 + 流程) | BPM Admin",
7
7
  description: "以精靈式流程一次完成 BPM 表單與簽核流程設計並發佈。"
@@ -12,7 +12,6 @@ async function i() {
12
12
  showAiAssistant: process.env.BPM_AI_ASSISTANT_ENABLED === "true"
13
13
  });
14
14
  }
15
- //#endregion
16
15
  export { i as default, r as metadata };
17
16
 
18
17
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/designer-BYYxEN9L.cjs");let t=require("react/jsx-runtime");var n={title:`流程設計器 | BPM Admin`,description:`以視覺化設計器編輯 BPM 簽核流程節點、條件與發佈版本。`};async function r({params:n}){let{id:r}=await n;return(0,t.jsx)(e.t,{aiAssistantAvailable:!!process.env.OPENAI_API_KEY,showAiAssistant:process.env.BPM_AI_ASSISTANT_ENABLED===`true`,showDryRun:process.env.BPM_TEMPLATE_DRY_RUN_ENABLED!==`false`,templateId:r})}exports.default=r,exports.metadata=n;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/designer-Df79YzUn.cjs");let t=require("react/jsx-runtime");var n={title:`流程設計器 | BPM Admin`,description:`以視覺化設計器編輯 BPM 簽核流程節點、條件與發佈版本。`};async function r({params:n}){let{id:r}=await n;return(0,t.jsx)(e.t,{aiAssistantAvailable:!!process.env.OPENAI_API_KEY,showAiAssistant:process.env.BPM_AI_ASSISTANT_ENABLED===`true`,showDryRun:process.env.BPM_TEMPLATE_DRY_RUN_ENABLED!==`false`,templateId:r})}exports.default=r,exports.metadata=n;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["TemplateDesignerView","require_designer","react_jsx_runtime","metadata","TemplateDesignerPage","params","id"],"sources":["../../../../src/pages/templates/designer/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { TemplateDesignerView } from '../../../views/templates/designer';\n\nexport const metadata: Metadata = {\n title: '流程設計器 | BPM Admin',\n description: '以視覺化設計器編輯 BPM 簽核流程節點、條件與發佈版本。',\n};\n\nexport default async function TemplateDesignerPage({\n params,\n}: {\n readonly params: Promise<{ readonly id: string }>;\n}): Promise<ReactElement> {\n const { id } = await params;\n\n // AI assistant is opt-in per deployment. `BPM_AI_ASSISTANT_ENABLED` shows the\n // feature; `OPENAI_API_KEY` decides whether it's usable (else a disabled\n // placeholder). Both are server-only env on the Next.js host.\n //\n // The dry-run button shows by default; set `BPM_TEMPLATE_DRY_RUN_ENABLED` to\n // `'false'` to hide it for a deployment.\n return (\n <TemplateDesignerView\n aiAssistantAvailable={Boolean(process.env.OPENAI_API_KEY)}\n showAiAssistant={process.env.BPM_AI_ASSISTANT_ENABLED === 'true'}\n showDryRun={process.env.BPM_TEMPLATE_DRY_RUN_ENABLED !== 'false'}\n templateId={id}\n />\n );\n}\n"],"mappings":"2LAIA,IAAaG,EAAqB,CAChC,MAAO,oBACP,YAAa,+BACf,EAEA,eAA8BC,EAAqB,CACjD,UAGwB,CACxB,GAAM,CAAE,MAAO,MAAMC,EAQrB,OACE,EAAAH,EAAA,IAAA,CAACF,EAAAA,EAAD,CACE,qBAAsB,EAAQ,QAAQ,IAAI,eAC1C,gBAAiB,QAAQ,IAAI,2BAA6B,OAC1D,WAAY,QAAQ,IAAI,+BAAiC,QACzD,WAAYM,CACb,CAAA,CAEL"}
1
+ {"version":3,"file":"index.cjs","names":["TemplateDesignerView","require_designer","react_jsx_runtime","metadata","TemplateDesignerPage","params","id"],"sources":["../../../../src/pages/templates/designer/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { TemplateDesignerView } from '../../../views/templates/designer';\n\nexport const metadata: Metadata = {\n title: '流程設計器 | BPM Admin',\n description: '以視覺化設計器編輯 BPM 簽核流程節點、條件與發佈版本。',\n};\n\nexport default async function TemplateDesignerPage({\n params,\n}: {\n readonly params: Promise<{ readonly id: string }>;\n}): Promise<ReactElement> {\n const { id } = await params;\n\n // AI assistant is opt-in per deployment. `BPM_AI_ASSISTANT_ENABLED` shows the\n // feature; `OPENAI_API_KEY` decides whether it's usable (else a disabled\n // placeholder). Both are server-only env on the Next.js host.\n //\n // The dry-run button shows by default; set `BPM_TEMPLATE_DRY_RUN_ENABLED` to\n // `'false'` to hide it for a deployment.\n return (\n <TemplateDesignerView\n aiAssistantAvailable={Boolean(process.env.OPENAI_API_KEY)}\n showAiAssistant={process.env.BPM_AI_ASSISTANT_ENABLED === 'true'}\n showDryRun={process.env.BPM_TEMPLATE_DRY_RUN_ENABLED !== 'false'}\n templateId={id}\n />\n );\n}\n"],"mappings":"A,2LAIA,IAAaG,EAAqB,CAChC,MAAO,oBACP,YAAa,+BACf,EAEA,eAA8BC,EAAqB,CACjD,UAGwB,CACxB,GAAM,CAAE,MAAO,MAAMC,EAQrB,OACE,EAAAH,EAAA,IAAA,CAACF,EAAAA,EAAD,CACE,qBAAsB,EAAQ,QAAQ,IAAI,eAC1C,gBAAiB,QAAQ,IAAI,2BAA6B,OAC1D,WAAY,QAAQ,IAAI,+BAAiC,QACzD,WAAYM,CACb,CAAA,CAEL,C"}
@@ -1,6 +1,6 @@
1
- import { t as e } from "../../../chunks/designer-BCLrjb4H.js";
1
+ import { t as e } from "../../../chunks/designer-ubnZbP-A.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/templates/designer/index.tsx
3
+ // src/pages/templates/designer/index.tsx
4
4
  var n = {
5
5
  title: "流程設計器 | BPM Admin",
6
6
  description: "以視覺化設計器編輯 BPM 簽核流程節點、條件與發佈版本。"
@@ -14,7 +14,6 @@ async function r({ params: n }) {
14
14
  templateId: r
15
15
  });
16
16
  }
17
- //#endregion
18
17
  export { r as default, n as metadata };
19
18
 
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["TemplatesView","require_views_templates_index","react_jsx_runtime","metadata","TemplatesPage"],"sources":["../../../src/pages/templates/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { TemplatesView } from '../../views/templates';\n\nexport const metadata: Metadata = {\n title: '簽核模板 | BPM Admin',\n description: '設計簽核表單與流程,建立、編輯與發佈簽核模板。',\n};\n\nexport default function TemplatesPage(): ReactElement {\n return <TemplatesView />;\n}\n"],"mappings":"qLAIA,IAAaG,EAAqB,CAChC,MAAO,mBACP,YAAa,yBACf,EAEA,SAAwBC,GAA8B,CACpD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,cAAD,CAAgB,CAAA,CACzB"}
1
+ {"version":3,"file":"index.cjs","names":["TemplatesView","require_views_templates_index","react_jsx_runtime","metadata","TemplatesPage"],"sources":["../../../src/pages/templates/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { TemplatesView } from '../../views/templates';\n\nexport const metadata: Metadata = {\n title: '簽核模板 | BPM Admin',\n description: '設計簽核表單與流程,建立、編輯與發佈簽核模板。',\n};\n\nexport default function TemplatesPage(): ReactElement {\n return <TemplatesView />;\n}\n"],"mappings":"A,qLAIA,IAAaG,EAAqB,CAChC,MAAO,mBACP,YAAa,yBACf,EAEA,SAAwBC,GAA8B,CACpD,OAAO,EAAAF,EAAA,IAAA,CAACF,EAAAA,cAAD,CAAgB,CAAA,CACzB,C"}
@@ -1,6 +1,6 @@
1
1
  import { TemplatesView as e } from "../../views/templates/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/templates/index.tsx
3
+ // src/pages/templates/index.tsx
4
4
  var n = {
5
5
  title: "簽核模板 | BPM Admin",
6
6
  description: "設計簽核表單與流程,建立、編輯與發佈簽核模板。"
@@ -8,7 +8,6 @@ var n = {
8
8
  function r() {
9
9
  return /* @__PURE__ */ t(e, {});
10
10
  }
11
- //#endregion
12
11
  export { r as default, n as metadata };
13
12
 
14
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["TemplateVersionsView","require_views_templates_versions_index","react_jsx_runtime","metadata","TemplateVersionsPage","params","id"],"sources":["../../../../src/pages/templates/versions/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { TemplateVersionsView } from '../../../views/templates/versions';\n\nexport const metadata: Metadata = {\n title: '範本版本歷史 | BPM Admin',\n description: '檢視 BPM 流程範本的版本發布與 rollback 紀錄。',\n};\n\nexport default async function TemplateVersionsPage({\n params,\n}: {\n readonly params: Promise<{ readonly id: string }>;\n}): Promise<ReactElement> {\n const { id } = await params;\n return <TemplateVersionsView templateId={id} />;\n}\n"],"mappings":"iMAIA,IAAaG,EAAqB,CAChC,MAAO,qBACP,YAAa,gCACf,EAEA,eAA8BC,EAAqB,CACjD,UAGwB,CACxB,GAAM,CAAE,MAAO,MAAMC,EACrB,OAAO,EAAAH,EAAA,IAAA,CAACF,EAAAA,qBAAD,CAAsB,WAAYM,CAAK,CAAA,CAChD"}
1
+ {"version":3,"file":"index.cjs","names":["TemplateVersionsView","require_views_templates_versions_index","react_jsx_runtime","metadata","TemplateVersionsPage","params","id"],"sources":["../../../../src/pages/templates/versions/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport { TemplateVersionsView } from '../../../views/templates/versions';\n\nexport const metadata: Metadata = {\n title: '範本版本歷史 | BPM Admin',\n description: '檢視 BPM 流程範本的版本發布與 rollback 紀錄。',\n};\n\nexport default async function TemplateVersionsPage({\n params,\n}: {\n readonly params: Promise<{ readonly id: string }>;\n}): Promise<ReactElement> {\n const { id } = await params;\n return <TemplateVersionsView templateId={id} />;\n}\n"],"mappings":"A,iMAIA,IAAaG,EAAqB,CAChC,MAAO,qBACP,YAAa,gCACf,EAEA,eAA8BC,EAAqB,CACjD,UAGwB,CACxB,GAAM,CAAE,MAAO,MAAMC,EACrB,OAAO,EAAAH,EAAA,IAAA,CAACF,EAAAA,qBAAD,CAAsB,WAAYM,CAAK,CAAA,CAChD,C"}
@@ -1,6 +1,6 @@
1
1
  import { TemplateVersionsView as e } from "../../../views/templates/versions/index.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region src/pages/templates/versions/index.tsx
3
+ // src/pages/templates/versions/index.tsx
4
4
  var n = {
5
5
  title: "範本版本歷史 | BPM Admin",
6
6
  description: "檢視 BPM 流程範本的版本發布與 rollback 紀錄。"
@@ -9,7 +9,6 @@ async function r({ params: n }) {
9
9
  let { id: r } = await n;
10
10
  return /* @__PURE__ */ t(e, { templateId: r });
11
11
  }
12
- //#endregion
13
12
  export { r as default, n as metadata };
14
13
 
15
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../chunks/delegations-V9HIe3_P.cjs");exports.AdminDelegationsView=e.t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../chunks/delegations-CcS0SHbf.cjs");exports.AdminDelegationsView=e.t;
@@ -1 +1 @@
1
- export { t as AdminDelegationsView } from "../../../chunks/delegations-xUt1tj8d.js";
1
+ export { t as AdminDelegationsView } from "../../../chunks/delegations-DBh5TT6G.js";
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/users-O2L_M3BK.cjs"),t=require("../../chunks/orgs-BeeDDWL1.cjs"),n=require("../../chunks/delegations-V9HIe3_P.cjs"),r=require("./webhook-endpoints/index.cjs");exports.AdminDelegationsView=n.t,exports.AdminOrgsView=t.t,exports.AdminUsersView=e.t,exports.AdminWebhookEndpointsView=r.AdminWebhookEndpointsView;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../chunks/users-EqSzDhuj.cjs"),t=require("../../chunks/orgs-B_2J2tLX.cjs"),n=require("../../chunks/delegations-CcS0SHbf.cjs"),r=require("./webhook-endpoints/index.cjs");exports.AdminDelegationsView=n.t,exports.AdminOrgsView=t.t,exports.AdminUsersView=e.t,exports.AdminWebhookEndpointsView=r.AdminWebhookEndpointsView;
@@ -1,5 +1,5 @@
1
- import { t as e } from "../../chunks/users-Pl6hY5Y5.js";
2
- import { t } from "../../chunks/orgs-8hje_l2n.js";
3
- import { t as n } from "../../chunks/delegations-xUt1tj8d.js";
1
+ import { t as e } from "../../chunks/users-BBtiZ9QQ.js";
2
+ import { t } from "../../chunks/orgs-DqxMds26.js";
3
+ import { t as n } from "../../chunks/delegations-DBh5TT6G.js";
4
4
  import { AdminWebhookEndpointsView as r } from "./webhook-endpoints/index.js";
5
5
  export { n as AdminDelegationsView, t as AdminOrgsView, e as AdminUsersView, r as AdminWebhookEndpointsView };
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../chunks/orgs-BeeDDWL1.cjs");exports.AdminOrgsView=e.t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../chunks/orgs-B_2J2tLX.cjs");exports.AdminOrgsView=e.t;
@@ -1 +1 @@
1
- export { t as AdminOrgsView } from "../../../chunks/orgs-8hje_l2n.js";
1
+ export { t as AdminOrgsView } from "../../../chunks/orgs-DqxMds26.js";
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../chunks/users-O2L_M3BK.cjs");exports.AdminUsersView=e.t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../chunks/users-EqSzDhuj.cjs");exports.AdminUsersView=e.t;
@@ -1 +1 @@
1
- export { t as AdminUsersView } from "../../../chunks/users-Pl6hY5Y5.js";
1
+ export { t as AdminUsersView } from "../../../chunks/users-BBtiZ9QQ.js";