@rytass/bpm-core-react 0.17.9 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +8 -0
  3. package/dist/chunks/{FormBuilderView-ClLnQ1e_.js → FormBuilderView-BVKY1j_0.js} +504 -452
  4. package/dist/chunks/FormBuilderView-BVKY1j_0.js.map +1 -0
  5. package/dist/chunks/FormBuilderView-SrGltzFT.cjs +3 -0
  6. package/dist/chunks/FormBuilderView-SrGltzFT.cjs.map +1 -0
  7. package/dist/chunks/approver-filled-form-Dm3Iw7iw.cjs +2 -0
  8. package/dist/chunks/approver-filled-form-Dm3Iw7iw.cjs.map +1 -0
  9. package/dist/chunks/{approver-filled-form-DuQGPtNB.js → approver-filled-form-ZEwpmsHJ.js} +21 -8
  10. package/dist/chunks/approver-filled-form-ZEwpmsHJ.js.map +1 -0
  11. package/dist/chunks/{compose-jnvnnVfN.js → compose-B1GlrZW9.js} +3 -3
  12. package/dist/chunks/{compose-jnvnnVfN.js.map → compose-B1GlrZW9.js.map} +1 -1
  13. package/dist/chunks/{compose-Cock_B2Q.cjs → compose-DZk-SfHT.cjs} +2 -2
  14. package/dist/chunks/{compose-Cock_B2Q.cjs.map → compose-DZk-SfHT.cjs.map} +1 -1
  15. package/dist/chunks/{designer-B8Gvew_k.js → designer-BCLrjb4H.js} +886 -851
  16. package/dist/chunks/designer-BCLrjb4H.js.map +1 -0
  17. package/dist/chunks/designer-BYYxEN9L.cjs +65 -0
  18. package/dist/chunks/designer-BYYxEN9L.cjs.map +1 -0
  19. package/dist/chunks/{detail-CExpbazF.js → detail-4F39ggBn.js} +580 -572
  20. package/dist/chunks/detail-4F39ggBn.js.map +1 -0
  21. package/dist/chunks/detail-BkMtA_0K.cjs +2 -0
  22. package/dist/chunks/detail-BkMtA_0K.cjs.map +1 -0
  23. package/dist/pages/instances/detail/index.cjs +1 -1
  24. package/dist/pages/instances/detail/index.js +1 -1
  25. package/dist/pages/templates/compose/index.cjs +1 -1
  26. package/dist/pages/templates/compose/index.js +1 -1
  27. package/dist/pages/templates/designer/index.cjs +1 -1
  28. package/dist/pages/templates/designer/index.js +1 -1
  29. package/dist/views/forms/builder/index.cjs +1 -1
  30. package/dist/views/forms/builder/index.js +1 -1
  31. package/dist/views/instances/detail/index.cjs +1 -1
  32. package/dist/views/instances/detail/index.js +1 -1
  33. package/dist/views/instances/new/index.cjs +1 -1
  34. package/dist/views/instances/new/index.cjs.map +1 -1
  35. package/dist/views/instances/new/index.js +15 -11
  36. package/dist/views/instances/new/index.js.map +1 -1
  37. package/dist/views/templates/compose/index.cjs +1 -1
  38. package/dist/views/templates/compose/index.js +1 -1
  39. package/dist/views/templates/designer/index.cjs +1 -1
  40. package/dist/views/templates/designer/index.js +1 -1
  41. package/package.json +3 -3
  42. package/dist/chunks/FormBuilderView-CUOyS07f.cjs +0 -3
  43. package/dist/chunks/FormBuilderView-CUOyS07f.cjs.map +0 -1
  44. package/dist/chunks/FormBuilderView-ClLnQ1e_.js.map +0 -1
  45. package/dist/chunks/approver-filled-form-D1DmqDVP.cjs +0 -2
  46. package/dist/chunks/approver-filled-form-D1DmqDVP.cjs.map +0 -1
  47. package/dist/chunks/approver-filled-form-DuQGPtNB.js.map +0 -1
  48. package/dist/chunks/designer-B8Gvew_k.js.map +0 -1
  49. package/dist/chunks/designer-CAEFV1ve.cjs +0 -65
  50. package/dist/chunks/designer-CAEFV1ve.cjs.map +0 -1
  51. package/dist/chunks/detail-CExpbazF.js.map +0 -1
  52. package/dist/chunks/detail-DIY-L4i-.cjs +0 -2
  53. package/dist/chunks/detail-DIY-L4i-.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ ## 0.18.0 (2026-10-28)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **bpm-core-client:** check text field formats in a Web Worker ([a3c3d65](https://github.com/Rytass/BPMCore/commit/a3c3d65))
6
+ - **bpm-core-react:** name text length and format errors on the case pages ([074d4b9](https://github.com/Rytass/BPMCore/commit/074d4b9))
7
+ - **bpm-core-react:** set a text format in the form builder ([ce74cd1](https://github.com/Rytass/BPMCore/commit/ce74cd1))
8
+ - **bpm-core-react:** set where a return goes on the user task panel ([b3b9fe0](https://github.com/Rytass/BPMCore/commit/b3b9fe0))
9
+ - **bpm-core-react:** offer only reachable nodes in the return dialog ([690042a](https://github.com/Rytass/BPMCore/commit/690042a))
10
+
11
+ ### 🩹 Fixes
12
+
13
+ - **bpm-core:** ask the directory only about delegation rules in scope ([022304e](https://github.com/Rytass/BPMCore/commit/022304e))
14
+ - **bpm-core-react:** drop patternErrorMessage when the designer clears it ([74a007b](https://github.com/Rytass/BPMCore/commit/74a007b))
15
+ - **bpm-core-react:** release the busy state when form validation throws ([a300d2b](https://github.com/Rytass/BPMCore/commit/a300d2b))
16
+ - **bpm-core:** hold service-task text writes to the field's rules ([fcde1df](https://github.com/Rytass/BPMCore/commit/fcde1df))
17
+ - **bpm-core-react:** check formats off the main thread on the case pages ([58a1a9d](https://github.com/Rytass/BPMCore/commit/58a1a9d))
18
+ - **bpm-core:** keep the directory's error out of the delegation refusal ([14ccd0e](https://github.com/Rytass/BPMCore/commit/14ccd0e))
19
+ - **bpm-core:** refuse to dispatch when the delegation directory lookup fails ([8ef8a88](https://github.com/Rytass/BPMCore/commit/8ef8a88))
20
+ - **bpm-core:** check the type of a text field whose visibleWhen is false ([b256040](https://github.com/Rytass/BPMCore/commit/b256040))
21
+ - **bpm-core-react:** word a timed-out format check on the approver page ([3a223a3](https://github.com/Rytass/BPMCore/commit/3a223a3))
22
+ - **shared:** refuse every repeated group in a text field pattern ([d0daa77](https://github.com/Rytass/BPMCore/commit/d0daa77))
23
+ - **bpm-core-react:** flag an over-long pattern or error message in the builder ([68baf21](https://github.com/Rytass/BPMCore/commit/68baf21))
24
+ - **shared:** refuse repeated alternations whose branches can start alike ([5e6e12e](https://github.com/Rytass/BPMCore/commit/5e6e12e))
25
+ - **bpm-core-react:** show the designer's message for a fill format error ([a69399d](https://github.com/Rytass/BPMCore/commit/a69399d))
26
+ - **bpm-core-react:** warn about every format the linter refuses ([d637d58](https://github.com/Rytass/BPMCore/commit/d637d58))
27
+
28
+ ### 🔥 Performance
29
+
30
+ - **bpm-core:** ask the host directory once per node when resolving delegation ([cb62b00](https://github.com/Rytass/BPMCore/commit/cb62b00))
31
+
32
+ ### ❤️ Thank You
33
+
34
+ - Chia Yu Pai @fantasywind
35
+ - Kai-Chieh Yang
36
+
1
37
  ## 0.17.9 (2026-10-27)
2
38
 
3
39
  ### 🚀 Features
package/README.md CHANGED
@@ -88,6 +88,14 @@ module.exports = {
88
88
  };
89
89
  ```
90
90
 
91
+ ### Content Security Policy (conditional)
92
+
93
+ The case pages check text field formats in a Web Worker started from a `blob:`
94
+ URL, so a designer's pattern that backtracks cannot freeze the page. If your
95
+ host sets a Content Security Policy, allow `worker-src blob:` (or `script-src
96
+ blob:` where `worker-src` is not set). Without it the check falls back to the
97
+ main thread with no time limit; submitting still works.
98
+
91
99
  ### Designer feature flags (Next.js host env)
92
100
 
93
101
  The designer page shim (`pages/templates/designer`) reads these server-side