@shwfed/config 2.8.0 → 2.9.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 (110) hide show
  1. package/dist/mcp.mjs +61 -10
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{badge-BI1mdo92.js → badge-Ddz0ExD-.js} +1 -1
  4. package/dist/preview/assets/{config-XgVqueyq.js → config---5_lEKG.js} +1 -1
  5. package/dist/preview/assets/{config-OrJljNWU.js → config-5qIYVWZh.js} +1 -1
  6. package/dist/preview/assets/config-B8zbFg3y.js +1 -0
  7. package/dist/preview/assets/{config-DqUnpWZk.js → config-Bn619USg.js} +1 -1
  8. package/dist/preview/assets/{config-DuzQXHvg.js → config-CUeBTyLb.js} +1 -1
  9. package/dist/preview/assets/config-DN_3WauN.js +1 -0
  10. package/dist/preview/assets/config-U-3fWb-2.js +1 -0
  11. package/dist/preview/assets/config-q5VV9rp7.js +1 -0
  12. package/dist/preview/assets/config-vePqHFvZ.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-fQa65UMX.js} +1 -1
  14. package/dist/preview/assets/index-BKaqQGb-.js +688 -0
  15. package/dist/preview/assets/index-Bj8xIK5h.js +1 -0
  16. package/dist/preview/assets/index-BlHAyQdm.css +1 -0
  17. package/dist/preview/assets/{index-BvLLQuQr.js → index-CzWhSvDG.js} +1 -1
  18. package/dist/preview/assets/{item-DMtXi_cx.js → item-DHarupON.js} +1 -1
  19. package/dist/preview/assets/{runtime-CA58Mif7.js → runtime-560tuaHv.js} +1 -1
  20. package/dist/preview/assets/{runtime-CjJBU_e1.js → runtime-C2rQ3L3-.js} +1 -1
  21. package/dist/preview/assets/{runtime-DeUmGsM_.js → runtime-CKghL8I_.js} +1 -1
  22. package/dist/preview/assets/runtime-CMsaNery.js +1 -0
  23. package/dist/preview/assets/runtime-CMuCGJZm.js +1 -0
  24. package/dist/preview/assets/{runtime-wVZ1xP8L.js → runtime-DOM_La4X.js} +1 -1
  25. package/dist/preview/assets/{runtime-BUPuX-Gq.js → runtime-DQHb9t0r.js} +1 -1
  26. package/dist/preview/assets/{runtime-DnXoWy2A.js → runtime-Dgl3wVfD.js} +1 -1
  27. package/dist/preview/assets/{runtime-CWqQzWuc.js → runtime-aLgWVLET.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-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +13 -2
  42. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +1 -0
  43. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.js +4 -1
  44. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +10 -2
  45. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +1 -0
  46. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.js +4 -1
  47. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +16 -0
  48. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +1 -0
  49. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +4 -1
  50. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +13 -5
  51. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +1 -0
  52. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +4 -1
  53. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +25 -5
  54. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +1 -0
  55. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +4 -1
  56. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +18 -8
  57. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +1 -0
  58. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +4 -1
  59. package/dist/runtime/components/form/index.vue +11 -3
  60. package/dist/runtime/components/form/schema.d.ts +4 -0
  61. package/dist/runtime/components/form/schema.js +1 -0
  62. package/dist/runtime/components/form/unit-config.vue +6 -1
  63. package/dist/runtime/components/form/utils/form-vars.js +2 -0
  64. package/dist/runtime/components/form/utils/resolve.d.ts +10 -0
  65. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue +13 -2
  66. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  67. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.js +4 -1
  68. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue +10 -2
  69. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  70. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.js +4 -1
  71. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue +16 -0
  72. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  73. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.js +3 -1
  74. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue +13 -5
  75. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  76. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.js +3 -1
  77. package/dist/runtime/components/table/config.vue +5 -1
  78. package/dist/runtime/components/table/row-provider.vue +8 -0
  79. package/dist/runtime/components/table/utils/resolve.d.ts +7 -0
  80. package/dist/runtime/components/table/utils/shared.js +4 -0
  81. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.d.vue.ts +1 -0
  82. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue +9 -1
  83. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue.d.ts +1 -0
  84. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +2 -2
  85. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +33 -4
  86. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +2 -2
  87. package/dist/runtime/components/ui/expression-editor/picker-entries.d.ts +3 -2
  88. package/dist/runtime/components/ui/expression-editor/picker-entries.js +14 -3
  89. package/dist/runtime/components/ui/expression-editor/selection-chip-extension.d.ts +4 -0
  90. package/dist/runtime/components/ui/expression-editor/selection-chip-extension.js +119 -0
  91. package/dist/runtime/components/ui/expression-editor/selection-refs.d.ts +8 -0
  92. package/dist/runtime/components/ui/expression-editor/selection-refs.js +29 -0
  93. package/dist/runtime/share/event-bus.d.ts +12 -12
  94. package/dist/runtime/utils/cel-context.d.ts +22 -0
  95. package/dist/runtime/utils/cel-context.js +8 -0
  96. package/dist/runtime/utils/selections-registry.d.ts +77 -0
  97. package/dist/runtime/utils/selections-registry.js +49 -0
  98. package/package.json +1 -1
  99. package/dist/preview/assets/config-BNF2r9jW.js +0 -1
  100. package/dist/preview/assets/config-BxuGYvER.js +0 -1
  101. package/dist/preview/assets/config-Cy5w3JWQ.js +0 -1
  102. package/dist/preview/assets/config-Du5SuNSb.js +0 -1
  103. package/dist/preview/assets/config-ggyCcWNZ.js +0 -1
  104. package/dist/preview/assets/index-DsMR5NfK.css +0 -1
  105. package/dist/preview/assets/index-Yv78vz4W.js +0 -680
  106. package/dist/preview/assets/index-yrBKwEfk.js +0 -1
  107. package/dist/preview/assets/runtime-2S3Yr051.js +0 -1
  108. package/dist/preview/assets/runtime-C4jFTZ4Z.js +0 -1
  109. package/dist/runtime/share/form-validate.d.ts +0 -18
  110. 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
- }