@shwfed/config 2.11.5 → 2.11.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 (134) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +1 -0
  3. package/dist/runtime/components/actions/config.vue +2 -0
  4. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
  5. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
  6. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
  7. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
  8. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
  9. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
  10. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +18 -18
  11. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +18 -18
  12. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +16 -16
  13. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +16 -16
  14. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +18 -18
  15. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +18 -18
  16. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +28 -28
  17. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +28 -28
  18. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
  19. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
  20. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
  21. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
  22. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
  23. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
  24. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
  25. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
  26. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
  27. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
  28. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +18 -18
  29. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +18 -18
  30. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
  31. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
  32. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
  33. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
  34. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
  35. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
  36. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
  37. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
  38. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
  39. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
  40. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
  41. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
  42. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +8 -8
  43. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
  44. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +3 -4
  45. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +3 -3
  46. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +2 -2
  47. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +2 -2
  48. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +5 -6
  49. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/runtime.vue +5 -6
  50. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  51. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue +2 -2
  52. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/runtime.vue +2 -2
  53. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue +2 -2
  54. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue +2 -2
  55. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
  56. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
  57. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue +2 -2
  58. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue +2 -2
  59. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  60. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +6 -6
  61. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
  62. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue +2 -2
  63. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue +2 -2
  64. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  65. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue +2 -2
  66. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  67. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue +2 -2
  68. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  69. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  70. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  71. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  72. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  73. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  74. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  75. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  76. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  77. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  78. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  79. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  80. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  81. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  82. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  83. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  84. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  85. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  86. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  87. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  88. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  89. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  90. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +3 -3
  91. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +4 -4
  92. package/dist/runtime/components/table/config.vue +1 -0
  93. package/dist/runtime/components/table/row-provider.vue +2 -2
  94. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +1 -1
  95. package/dist/runtime/utils/cel-context.d.ts +1 -0
  96. package/dist/runtime/utils/cel-context.js +28 -0
  97. package/package.json +3 -8
  98. package/dist/mcp.mjs +0 -102434
  99. package/dist/preview/assets/FieldGroup.vue_vue_type_script_setup_true_lang-BK4nj6mF.js +0 -1
  100. package/dist/preview/assets/badge-Df9KgnrB.js +0 -1
  101. package/dist/preview/assets/config-B3NwVBxT.js +0 -1
  102. package/dist/preview/assets/config-BrtNnMlJ.js +0 -1
  103. package/dist/preview/assets/config-CUJNegvX.js +0 -1
  104. package/dist/preview/assets/config-ChrXUmKf.js +0 -1
  105. package/dist/preview/assets/config-CmEXMpIU.js +0 -1
  106. package/dist/preview/assets/config-CrBoFiYB.js +0 -1
  107. package/dist/preview/assets/config-D-Hf0dls.js +0 -1
  108. package/dist/preview/assets/config-D4cXwy75.js +0 -1
  109. package/dist/preview/assets/config-DCj5Qyiq.js +0 -1
  110. package/dist/preview/assets/config-DPfx03nM.js +0 -1
  111. package/dist/preview/assets/config-DWF0bcmF.js +0 -1
  112. package/dist/preview/assets/config-Do4K9hI7.js +0 -1
  113. package/dist/preview/assets/config-DwblM1r8.js +0 -1
  114. package/dist/preview/assets/config-MW5Hs8yE.js +0 -1
  115. package/dist/preview/assets/config-uNoNEc-1.js +0 -1
  116. package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-CbtpddWK.js +0 -1
  117. package/dist/preview/assets/index-Bm7I4Tr0.css +0 -1
  118. package/dist/preview/assets/index-CkyV576r.js +0 -775
  119. package/dist/preview/assets/index-CtW2E0ME.js +0 -1
  120. package/dist/preview/assets/index-xDmBF3zO.js +0 -1
  121. package/dist/preview/assets/item-D0e9Cx1Q.js +0 -1
  122. package/dist/preview/assets/runtime-3tGIbclh.js +0 -1
  123. package/dist/preview/assets/runtime-BCePD3XR.js +0 -1
  124. package/dist/preview/assets/runtime-BMyFUaSM.js +0 -1
  125. package/dist/preview/assets/runtime-BXZU3EqA.js +0 -1
  126. package/dist/preview/assets/runtime-BySNFNSO.js +0 -1
  127. package/dist/preview/assets/runtime-CI02gDFj.js +0 -1
  128. package/dist/preview/assets/runtime-DCo1Qp8a.js +0 -1
  129. package/dist/preview/assets/runtime-DDSKV70N.js +0 -1
  130. package/dist/preview/assets/runtime-Dc7pytUy.js +0 -1
  131. package/dist/preview/assets/runtime-ckLrkTMm.js +0 -1
  132. package/dist/preview/assets/runtime-y4oJ8VkY.js +0 -1
  133. package/dist/preview/assets/schema-meta-D0y0sKal.js +0 -1
  134. package/dist/preview/index.html +0 -19
@@ -2,7 +2,7 @@
2
2
  import { Effect } from "effect";
3
3
  import { customRef } from "vue";
4
4
  import { cel as _rawCel } from "../../utils/cel";
5
- import { celBindings, injectCELContext, provideCELContext, provideScopeAddress } from "../../utils/cel-context";
5
+ import { celScope, injectCELContext, provideCELContext, provideScopeAddress } from "../../utils/cel-context";
6
6
  import { provideSelectionsRegistry } from "../../utils/selections-registry";
7
7
  import { useDerived, useDerivedQuiescence } from "../form/utils/derived";
8
8
  import { provideFormState } from "../form/utils/state";
@@ -53,7 +53,7 @@ if (props.scopeId) {
53
53
  });
54
54
  }
55
55
  const inherited = injectCELContext();
56
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
56
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
57
57
  const formState = provideFormState(rowRef, "row");
58
58
  useDerived({
59
59
  fields: () => props.derivedColumns,
@@ -8,7 +8,7 @@ const props = defineProps({
8
8
  <template>
9
9
  <div
10
10
  data-slot="alert-dialog-footer"
11
- :class="cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:mx-auto', props.class)"
11
+ :class="cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-center sm:mx-auto', props.class)"
12
12
  >
13
13
  <slot />
14
14
  </div>
@@ -122,3 +122,4 @@ export declare function provideStepRoster(roster: Ref<ReadonlyArray<StepRef>>):
122
122
  */
123
123
  export declare function useStepRoster(): Ref<ReadonlyArray<StepRef>>;
124
124
  export declare function celBindings(context: CELContext): Record<string, unknown>;
125
+ export declare function celScope(context: CELContext, locals?: Record<string, unknown>): Record<string, unknown>;
@@ -69,3 +69,31 @@ export function celBindings(context) {
69
69
  }
70
70
  return out;
71
71
  }
72
+ function resolveCelVar(entry) {
73
+ if (entry === void 0) return void 0;
74
+ const value = entry.value;
75
+ return typeof value === "function" ? value() : value;
76
+ }
77
+ export function celScope(context, locals) {
78
+ return new Proxy(/* @__PURE__ */ Object.create(null), {
79
+ get(_target, key) {
80
+ if (typeof key !== "string") return void 0;
81
+ if (locals && key in locals) return locals[key];
82
+ return resolveCelVar(context[key]);
83
+ },
84
+ has(_target, key) {
85
+ if (typeof key !== "string") return false;
86
+ return !!locals && key in locals || key in context;
87
+ },
88
+ ownKeys() {
89
+ return [.../* @__PURE__ */ new Set([...Object.keys(context), ...Object.keys(locals ?? {})])];
90
+ },
91
+ getOwnPropertyDescriptor(_target, key) {
92
+ if (typeof key !== "string") return void 0;
93
+ if (locals && key in locals || key in context) {
94
+ return { enumerable: true, configurable: true, writable: true, value: void 0 };
95
+ }
96
+ return void 0;
97
+ }
98
+ });
99
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/config",
3
- "version": "2.11.5",
3
+ "version": "2.11.6",
4
4
  "description": "Configurable UI for SHWFED",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -13,9 +13,6 @@
13
13
  }
14
14
  },
15
15
  "main": "./dist/module.mjs",
16
- "bin": {
17
- "config": "./dist/mcp.mjs"
18
- },
19
16
  "typesVersions": {
20
17
  "*": {
21
18
  ".": [
@@ -31,7 +28,7 @@
31
28
  ],
32
29
  "scripts": {
33
30
  "prepare": "husky && nuxt prepare",
34
- "prepack": "nuxt-module-build build && vite build --config vite.mcp.config.ts && vite build --config vite.preview.config.ts && chmod +x dist/mcp.mjs",
31
+ "prepack": "nuxt-module-build build",
35
32
  "dev": "npm run dev:prepare && nuxt dev playground",
36
33
  "dev:build": "nuxt build playground",
37
34
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
@@ -53,7 +50,6 @@
53
50
  "@internationalized/date": "^3.12.1",
54
51
  "@intlify/unplugin-vue-i18n": "^11.2.3",
55
52
  "@lezer/highlight": "^1.2.3",
56
- "@modelcontextprotocol/sdk": "^1.29.0",
57
53
  "@number-flow/vue": "^0.5.0",
58
54
  "@nuxt/kit": "^4.4.5",
59
55
  "@tailwindcss/typography": "^0.5.19",
@@ -76,8 +72,7 @@
76
72
  "tailwindcss": "^4.3.0",
77
73
  "vaul-vue": "^0.4.1",
78
74
  "vue-i18n": "^11.4.4",
79
- "vue-sonner": "^2.0.0",
80
- "zod": "^4.4.3"
75
+ "vue-sonner": "^2.0.0"
81
76
  },
82
77
  "devDependencies": {
83
78
  "@commitlint/cli": "^21.0.0",