@shwfed/config 2.8.0 → 2.9.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 (141) hide show
  1. package/dist/mcp.mjs +65 -10
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{badge-BI1mdo92.js → badge-BFb-1pCT.js} +1 -1
  4. package/dist/preview/assets/config-0DneC44h.js +1 -0
  5. package/dist/preview/assets/{config-OrJljNWU.js → config-ByZ0313c.js} +1 -1
  6. package/dist/preview/assets/config-CBypmimA.js +1 -0
  7. package/dist/preview/assets/config-CRxO6DVD.js +1 -0
  8. package/dist/preview/assets/config-CgGwKTMB.js +1 -0
  9. package/dist/preview/assets/{config-DuzQXHvg.js → config-DFaQa_Ua.js} +1 -1
  10. package/dist/preview/assets/{config-XgVqueyq.js → config-DlA3bMzk.js} +1 -1
  11. package/dist/preview/assets/{config-DqUnpWZk.js → config-iysOo1dH.js} +1 -1
  12. package/dist/preview/assets/config-rr6HpsHl.js +1 -0
  13. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-lEhYVEcN.js → definition.vue_vue_type_script_setup_true_lang-C1MSczMq.js} +1 -1
  14. package/dist/preview/assets/index-BlHAyQdm.css +1 -0
  15. package/dist/preview/assets/index-CLQQPdxj.js +1 -0
  16. package/dist/preview/assets/index-CpLuDJe9.js +688 -0
  17. package/dist/preview/assets/{index-BvLLQuQr.js → index-CuSwhbkD.js} +1 -1
  18. package/dist/preview/assets/{item-DMtXi_cx.js → item-iBF7XNGG.js} +1 -1
  19. package/dist/preview/assets/{runtime-wVZ1xP8L.js → runtime-BPK6zdoy.js} +1 -1
  20. package/dist/preview/assets/runtime-BmED451i.js +1 -0
  21. package/dist/preview/assets/{runtime-CjJBU_e1.js → runtime-CPiaq4_s.js} +1 -1
  22. package/dist/preview/assets/{runtime-CWqQzWuc.js → runtime-CY9TirG6.js} +1 -1
  23. package/dist/preview/assets/{runtime-CA58Mif7.js → runtime-D4WPJrz9.js} +1 -1
  24. package/dist/preview/assets/runtime-DrKKzpjq.js +1 -0
  25. package/dist/preview/assets/{runtime-DnXoWy2A.js → runtime-S7Afa8F4.js} +1 -1
  26. package/dist/preview/assets/{runtime-DeUmGsM_.js → runtime-Uz1zCLPO.js} +1 -1
  27. package/dist/preview/assets/{runtime-BUPuX-Gq.js → runtime-XjumEj6A.js} +1 -1
  28. package/dist/preview/index.html +2 -2
  29. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +8 -0
  30. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue +28 -0
  31. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +8 -0
  32. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue +17 -17
  33. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +4 -0
  34. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +8 -0
  35. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +8 -0
  36. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue +25 -0
  37. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +8 -0
  38. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue +2 -7
  39. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +4 -0
  40. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.js +8 -0
  41. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
  42. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
  43. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +18 -18
  44. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +18 -18
  45. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +16 -16
  46. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +16 -16
  47. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +18 -18
  48. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +18 -18
  49. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
  50. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
  51. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +18 -18
  52. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +18 -18
  53. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +13 -2
  54. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +1 -0
  55. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.js +4 -1
  56. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +10 -2
  57. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +1 -0
  58. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.js +4 -1
  59. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +20 -4
  60. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +1 -0
  61. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +4 -1
  62. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +17 -9
  63. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +1 -0
  64. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +4 -1
  65. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +25 -5
  66. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +1 -0
  67. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +4 -1
  68. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +18 -8
  69. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +1 -0
  70. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +4 -1
  71. package/dist/runtime/components/form/index.vue +11 -3
  72. package/dist/runtime/components/form/schema.d.ts +4 -0
  73. package/dist/runtime/components/form/schema.js +1 -0
  74. package/dist/runtime/components/form/unit-config.vue +6 -1
  75. package/dist/runtime/components/form/utils/form-vars.js +2 -0
  76. package/dist/runtime/components/form/utils/resolve.d.ts +10 -0
  77. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  78. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  79. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  80. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  81. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  82. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  83. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  84. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  85. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  86. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  87. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  88. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  89. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  90. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  91. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue +13 -2
  92. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  93. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.js +4 -1
  94. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  95. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  96. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue +10 -2
  97. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  98. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.js +4 -1
  99. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue +16 -0
  100. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  101. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.js +3 -1
  102. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue +13 -5
  103. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  104. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.js +3 -1
  105. package/dist/runtime/components/table/config.vue +5 -1
  106. package/dist/runtime/components/table/row-provider.vue +8 -0
  107. package/dist/runtime/components/table/utils/resolve.d.ts +7 -0
  108. package/dist/runtime/components/table/utils/shared.js +4 -0
  109. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.d.vue.ts +1 -0
  110. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue +9 -1
  111. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue.d.ts +1 -0
  112. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +2 -2
  113. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +33 -4
  114. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +2 -2
  115. package/dist/runtime/components/ui/expression-editor/picker-entries.d.ts +3 -2
  116. package/dist/runtime/components/ui/expression-editor/picker-entries.js +14 -3
  117. package/dist/runtime/components/ui/expression-editor/selection-chip-extension.d.ts +4 -0
  118. package/dist/runtime/components/ui/expression-editor/selection-chip-extension.js +119 -0
  119. package/dist/runtime/components/ui/expression-editor/selection-refs.d.ts +8 -0
  120. package/dist/runtime/components/ui/expression-editor/selection-refs.js +29 -0
  121. package/dist/runtime/share/event-bus.d.ts +12 -12
  122. package/dist/runtime/utils/cel-context.d.ts +22 -0
  123. package/dist/runtime/utils/cel-context.js +8 -0
  124. package/dist/runtime/utils/selections-registry.d.ts +77 -0
  125. package/dist/runtime/utils/selections-registry.js +49 -0
  126. package/dist/runtime/vendor/cel-js/CLAUDE.md +2 -0
  127. package/dist/runtime/vendor/cel-js/PROMPT.md +8 -0
  128. package/dist/runtime/vendor/cel-js/lib/functions.js +4 -0
  129. package/package.json +1 -1
  130. package/dist/preview/assets/config-BNF2r9jW.js +0 -1
  131. package/dist/preview/assets/config-BxuGYvER.js +0 -1
  132. package/dist/preview/assets/config-Cy5w3JWQ.js +0 -1
  133. package/dist/preview/assets/config-Du5SuNSb.js +0 -1
  134. package/dist/preview/assets/config-ggyCcWNZ.js +0 -1
  135. package/dist/preview/assets/index-DsMR5NfK.css +0 -1
  136. package/dist/preview/assets/index-Yv78vz4W.js +0 -680
  137. package/dist/preview/assets/index-yrBKwEfk.js +0 -1
  138. package/dist/preview/assets/runtime-2S3Yr051.js +0 -1
  139. package/dist/preview/assets/runtime-C4jFTZ4Z.js +0 -1
  140. package/dist/runtime/share/form-validate.d.ts +0 -18
  141. package/dist/runtime/share/form-validate.js +0 -8
@@ -1 +0,0 @@
1
- import{b2 as e}from"./index-Yv78vz4W.js";import{b3 as f,b4 as r,b5 as s}from"./index-Yv78vz4W.js";export{f as TableConfig,r as createTableConfig,e as default,s as getColumnTechnicalKey};
@@ -1 +0,0 @@
1
- import{d as l,G as u,g,aE as m,M as d,aF as p,aG as x,aH as E,c as _,b as h,h as k,m as w,aI as C,s as I,aJ as b,a as v}from"./index-Yv78vz4W.js";import{_ as y}from"./definition.vue_vue_type_script_setup_true_lang-lEhYVEcN.js";const R=l({name:"ShwfedHttpRequestConfirmActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(s){const n=s,{locale:i}=u(),a=I(),t=(e,o)=>k(e,{...w(a),...o}),r=b(),c=C(),f=g(function*(){if(c&&!(yield*m(()=>c())))return;const e=d(n.config.markdown,i.value)??"",o=p(e,t);(yield*x({content:o,icon:n.config.icon,color:n.config.color}))||(yield*E(n.config.expression,t,{messageExpression:n.config.messageExpression,resultExpression:n.config.resultExpression,channel:r,triggers:{success:n.config.onSuccess,warning:n.config.onWarning,error:n.config.onError,info:n.config.onInfo}}))});return(e,o)=>(v(),_(y,{"action-id":s.buttonId,effect:h(f)},null,8,["action-id","effect"]))}});export{R as default};
@@ -1 +0,0 @@
1
- import{d as u,aK as p,aE as m,aL as a,aM as g,aH as d,c as l,b as x,h as E,m as _,aI as h,s as C,aJ as I,a as b}from"./index-Yv78vz4W.js";import{_ as v}from"./definition.vue_vue_type_script_setup_true_lang-lEhYVEcN.js";const R=u({name:"ShwfedHttpRequestActionRuntime",__name:"runtime",props:{buttonId:{},config:{}},setup(t){const e=t,c=C(),i=(n,s)=>E(n,{..._(c),...s}),r=I(),o=h(),f=p(()=>{const n=o?m(()=>o()):a(!0);return g(n,s=>s?d(e.config.expression,i,{messageExpression:e.config.messageExpression,resultExpression:e.config.resultExpression,channel:r,triggers:{success:e.config.onSuccess,warning:e.config.onWarning,error:e.config.onError,info:e.config.onInfo}}):a(void 0))});return(n,s)=>(b(),l(v,{"action-id":t.buttonId,effect:x(f)},null,8,["action-id","effect"]))}});export{R as default};
@@ -1,18 +0,0 @@
1
- import { type InjectionKey } from 'vue';
2
- /**
3
- * A form-scoped "validate me" callback. Resolves `true` when the enclosing
4
- * `<Form>` has no `error`-severity validation results (and reveals the errors
5
- * on the way out either way).
6
- *
7
- * Lives in `share/` — the neutral ground for host↔button contracts, alongside
8
- * `event-bus` — so a host-agnostic action button can run pre-submit validation
9
- * without importing the form module. The form host provides the callback; a
10
- * submit-style button injects it and always validates before firing. This is
11
- * the transitional seam: the final design dispatches a fallible `validate`
12
- * operation over the event bus instead, at which point this key retires.
13
- */
14
- export type FormValidate = () => Promise<boolean>;
15
- export declare const FORM_VALIDATE_KEY: InjectionKey<FormValidate>;
16
- export declare function provideFormValidate(validate: FormValidate): void;
17
- /** Inject the enclosing form's validate callback, or `undefined` outside a form. */
18
- export declare function useFormValidate(): FormValidate | undefined;
@@ -1,8 +0,0 @@
1
- import { inject, provide } from "vue";
2
- export const FORM_VALIDATE_KEY = Symbol("shwfed/form-validate");
3
- export function provideFormValidate(validate) {
4
- provide(FORM_VALIDATE_KEY, validate);
5
- }
6
- export function useFormValidate() {
7
- return inject(FORM_VALIDATE_KEY, void 0);
8
- }