@shwfed/config 2.7.5 → 2.7.6

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 (50) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/preview/assets/{badge-DamXUB_x.js → badge-C-IvPZBx.js} +1 -1
  3. package/dist/preview/assets/{config-ulTPyAGw.js → config-B7hXY5FF.js} +1 -1
  4. package/dist/preview/assets/{config-CtPQb6dK.js → config-Bl8L6943.js} +1 -1
  5. package/dist/preview/assets/{config-ISM4vT-S.js → config-C947O8za.js} +1 -1
  6. package/dist/preview/assets/{config-DyKtOYYU.js → config-DXlCQMVi.js} +1 -1
  7. package/dist/preview/assets/{config-CYixJlBY.js → config-DhAntnE5.js} +1 -1
  8. package/dist/preview/assets/{config-CXgHZFVu.js → config-Dj0rEZRq.js} +1 -1
  9. package/dist/preview/assets/{config-DBviu6U0.js → config-DppExb4h.js} +1 -1
  10. package/dist/preview/assets/{config-v7KXfP3A.js → config-_aVQvlhc.js} +1 -1
  11. package/dist/preview/assets/{config-Dtj6xvFB.js → config-l01zamcS.js} +1 -1
  12. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-C-3KP_in.js → definition.vue_vue_type_script_setup_true_lang-BbuC0qEM.js} +1 -1
  13. package/dist/preview/assets/{index-CqWUukUH.css → index-B0PL01fm.css} +1 -1
  14. package/dist/preview/assets/{index-CzxZSeNm.js → index-BNaI1T0H.js} +143 -143
  15. package/dist/preview/assets/index-BwoBmSxu.js +1 -0
  16. package/dist/preview/assets/{index-D6fhWrrp.js → index-DiC1rvCq.js} +1 -1
  17. package/dist/preview/assets/{item-BAj_4_7-.js → item-GFiAkFW6.js} +1 -1
  18. package/dist/preview/assets/{runtime-WZBVKYom.js → runtime-5h5U6Ozr.js} +1 -1
  19. package/dist/preview/assets/{runtime-DOK5OTJn.js → runtime-B6dXW6zW.js} +1 -1
  20. package/dist/preview/assets/{runtime-CpMT9U1z.js → runtime-BEOIc4zU.js} +1 -1
  21. package/dist/preview/assets/{runtime-B7NcvR9y.js → runtime-BQnHKogz.js} +1 -1
  22. package/dist/preview/assets/{runtime-DldmFxn1.js → runtime-Bx7G-5dR.js} +1 -1
  23. package/dist/preview/assets/{runtime-jVzpCkuu.js → runtime-DmV_M4B_.js} +1 -1
  24. package/dist/preview/assets/{runtime-CiWg_Jub.js → runtime-TNDFpOlo.js} +1 -1
  25. package/dist/preview/assets/{runtime-CswN1gKf.js → runtime-g9hb36Vh.js} +1 -1
  26. package/dist/preview/assets/{runtime-BqlrYWt_.js → runtime-kLWO8JbC.js} +1 -1
  27. package/dist/preview/index.html +2 -2
  28. package/dist/runtime/components/config/config.vue +9 -1
  29. package/dist/runtime/components/config/index.vue +11 -1
  30. package/dist/runtime/components/config/schema.d.ts +25 -0
  31. package/dist/runtime/components/config/schema.js +8 -0
  32. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  33. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  34. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  35. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  36. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  37. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  38. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  39. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  40. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  41. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  42. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  43. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  44. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  45. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  46. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  47. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  48. package/dist/runtime/share/event-bus.d.ts +23 -4
  49. package/package.json +1 -1
  50. package/dist/preview/assets/index-DUSkLHHf.js +0 -1
@@ -87,8 +87,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
87
87
  readonly target: string;
88
88
  readonly operation: string;
89
89
  }[] | undefined;
90
- readonly successMessage?: string | undefined;
91
90
  readonly accessor: string;
91
+ readonly successMessage?: string | undefined;
92
92
  };
93
93
  }) => any;
94
94
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -176,8 +176,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
176
176
  readonly target: string;
177
177
  readonly operation: string;
178
178
  }[] | undefined;
179
- readonly successMessage?: string | undefined;
180
179
  readonly accessor: string;
180
+ readonly successMessage?: string | undefined;
181
181
  };
182
182
  }) => any) | undefined;
183
183
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -87,8 +87,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
87
87
  readonly target: string;
88
88
  readonly operation: string;
89
89
  }[] | undefined;
90
- readonly successMessage?: string | undefined;
91
90
  readonly accessor: string;
91
+ readonly successMessage?: string | undefined;
92
92
  };
93
93
  }) => any;
94
94
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -176,8 +176,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
176
176
  readonly target: string;
177
177
  readonly operation: string;
178
178
  }[] | undefined;
179
- readonly successMessage?: string | undefined;
180
179
  readonly accessor: string;
180
+ readonly successMessage?: string | undefined;
181
181
  };
182
182
  }) => any) | undefined;
183
183
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -87,8 +87,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
87
87
  readonly target: string;
88
88
  readonly operation: string;
89
89
  }[] | undefined;
90
- readonly successMessage?: string | undefined;
91
90
  readonly accessor: string;
91
+ readonly successMessage?: string | undefined;
92
92
  };
93
93
  }) => any;
94
94
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -176,8 +176,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
176
176
  readonly target: string;
177
177
  readonly operation: string;
178
178
  }[] | undefined;
179
- readonly successMessage?: string | undefined;
180
179
  readonly accessor: string;
180
+ readonly successMessage?: string | undefined;
181
181
  };
182
182
  }) => any) | undefined;
183
183
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -41,10 +41,29 @@ export type EventChannel = Readonly<{
41
41
  }>;
42
42
  /**
43
43
  * Operation id → handler, for one operation-exposing instance. Handlers
44
- * return an Effect so the bus can run them serially and in order. They are
45
- * infallible by contract: an operation that can fail must swallow/log
46
- * internally (mirrors the table's fetch-error contract) so a serial trigger
47
- * chain never aborts halfway because one trigger quietly failed.
44
+ * return an Effect so the bus can run them serially and in order.
45
+ *
46
+ * The `void` error channel pins handlers as infallible *failures* — a handler
47
+ * that hits a recoverable hiccup must swallow/log it internally (mirrors the
48
+ * table's fetch-error contract) rather than surface it, since the bus has no
49
+ * error channel to carry it.
50
+ *
51
+ * A handler MAY still *halt* the chain — the "guard" shape: stop everything
52
+ * queued after it. `dispatchTriggers` runs the list with `Effect.forEach`,
53
+ * which short-circuits the moment one request's effect aborts, so triggers
54
+ * after the guard never dispatch. The page's `close` op is the canonical case
55
+ * (it halts unconditionally — nothing should run after a close). It halts with
56
+ * `Effect.die`, not `Effect.fail`: a defect aborts the chain without widening
57
+ * the `void` error channel here (and `ActionEffect`'s `catchTags` union over in
58
+ * `actions/components/group.vue`). The defect propagates to that runner's
59
+ * `runPromise`, whose outer try/catch absorbs it silently — `catchTags` only
60
+ * intercepts typed failures, so no toast.
61
+ *
62
+ * Pre-submit form validation is the same guard shape but doesn't run over this
63
+ * bus yet — it injects the separate `share/form-validate` seam. The intended
64
+ * end state folds it in as a fallible `validate` operation here, at which point
65
+ * the error channel widens to carry a typed validation failure (see the note in
66
+ * `form-validate.ts`).
48
67
  */
49
68
  export type OperationHandlers = Readonly<Record<string, () => Effect.Effect<void>>>;
50
69
  export declare const EVENT_CHANNEL_KEY: InjectionKey<EventChannel>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/config",
3
- "version": "2.7.5",
3
+ "version": "2.7.6",
4
4
  "description": "Configurable UI for SHWFED",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1 +0,0 @@
1
- import{b1 as e}from"./index-CzxZSeNm.js";import{b2 as f,b3 as r,b4 as s}from"./index-CzxZSeNm.js";export{f as TableConfig,r as createTableConfig,e as default,s as getColumnTechnicalKey};