@shwfed/config 1.1.5 → 2.0.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 (286) hide show
  1. package/dist/module.d.mts +2 -19
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +15 -34
  4. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +36 -4
  5. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue +45 -8
  6. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +36 -4
  7. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue +15 -9
  8. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +17 -1
  9. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +23 -4
  10. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +36 -4
  11. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue +39 -5
  12. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +36 -4
  13. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue +15 -9
  14. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +17 -1
  15. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.js +23 -5
  16. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +1 -0
  17. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.d.vue.ts +2 -2
  18. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue.d.ts +2 -2
  19. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue +2 -3
  20. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.d.vue.ts +1 -1
  21. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue +44 -10
  22. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue.d.ts +1 -1
  23. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue +24 -7
  24. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +6 -1
  25. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +6 -3
  26. package/dist/runtime/components/actions/buttons/{2026-04-27/com.shwfed.actions.button.table.reset → 2026-05-15/com.shwfed.actions.button.event.dispatch}/config.d.vue.ts +13 -5
  27. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.vue +32 -0
  28. package/dist/runtime/components/actions/buttons/{2026-04-27/com.shwfed.actions.button.table.reset → 2026-05-15/com.shwfed.actions.button.event.dispatch}/config.vue.d.ts +13 -5
  29. package/dist/runtime/components/actions/buttons/{2026-04-27/com.shwfed.actions.button.table.search → 2026-05-15/com.shwfed.actions.button.event.dispatch}/runtime.vue +5 -7
  30. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +17 -0
  31. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.js +18 -0
  32. package/dist/runtime/components/actions/components/group.vue +2 -3
  33. package/dist/runtime/components/actions/components/triggers-field.d.vue.ts +17 -0
  34. package/dist/runtime/components/actions/components/triggers-field.vue +209 -0
  35. package/dist/runtime/components/actions/components/triggers-field.vue.d.ts +17 -0
  36. package/dist/runtime/components/actions/config.vue +51 -1
  37. package/dist/runtime/components/actions/schema.d.ts +4 -0
  38. package/dist/runtime/components/actions/schema.js +6 -0
  39. package/dist/runtime/components/actions/utils/resolve.d.ts +25 -1
  40. package/dist/runtime/components/actions/utils/resolve.js +37 -9
  41. package/dist/runtime/components/app.vue +1 -1
  42. package/dist/runtime/components/block-layout-editor/index.vue +11 -11
  43. package/dist/runtime/components/block-layout-editor/sidebar.vue +0 -4
  44. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +2 -0
  45. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +2 -0
  46. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +2 -0
  47. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +2 -0
  48. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +2 -0
  49. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +6 -0
  50. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +6 -0
  51. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +6 -0
  52. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +6 -0
  53. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +7 -0
  54. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.d.vue.ts +1 -1
  55. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue +16 -2
  56. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue.d.ts +1 -1
  57. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue +1 -0
  58. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +18 -9
  59. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +8 -4
  60. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/config.d.vue.ts +77 -0
  61. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/config.vue +535 -0
  62. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/config.vue.d.ts +77 -0
  63. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/runtime.d.vue.ts +77 -0
  64. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/runtime.vue +233 -0
  65. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/runtime.vue.d.ts +77 -0
  66. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/schema.d.ts +134 -0
  67. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/schema.js +142 -0
  68. package/dist/runtime/components/config/index.vue +1 -1
  69. package/dist/runtime/components/config/use-editor.js +4 -3
  70. package/dist/runtime/components/form/DerivedValueEditor.d.vue.ts +19 -0
  71. package/dist/runtime/components/form/DerivedValueEditor.vue +77 -0
  72. package/dist/runtime/components/form/DerivedValueEditor.vue.d.ts +19 -0
  73. package/dist/runtime/components/form/config.vue +58 -24
  74. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +8 -0
  75. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue +21 -0
  76. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +8 -0
  77. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +29 -31
  78. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +4 -0
  79. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +3 -2
  80. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +8 -0
  81. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue +21 -0
  82. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +8 -0
  83. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +24 -26
  84. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +4 -0
  85. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +3 -2
  86. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +10 -2
  87. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue +21 -0
  88. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +10 -2
  89. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +15 -7
  90. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +4 -0
  91. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.js +2 -1
  92. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +10 -2
  93. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +21 -0
  94. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +10 -2
  95. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +14 -6
  96. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +4 -0
  97. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +2 -1
  98. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +10 -2
  99. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +21 -0
  100. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +10 -2
  101. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +14 -6
  102. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +4 -0
  103. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +2 -1
  104. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +12 -4
  105. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +21 -0
  106. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +12 -4
  107. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +14 -6
  108. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +4 -0
  109. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +2 -1
  110. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +12 -4
  111. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +21 -0
  112. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +12 -4
  113. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +14 -6
  114. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +4 -0
  115. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +2 -1
  116. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +12 -4
  117. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue +21 -0
  118. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +12 -4
  119. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +14 -6
  120. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +4 -0
  121. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +2 -1
  122. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +12 -4
  123. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue +21 -0
  124. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +12 -4
  125. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +14 -6
  126. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +4 -0
  127. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +2 -1
  128. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +8 -0
  129. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue +21 -0
  130. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +8 -0
  131. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +37 -38
  132. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +4 -0
  133. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +2 -1
  134. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +10 -2
  135. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue +21 -0
  136. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +10 -2
  137. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +33 -22
  138. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +4 -0
  139. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +2 -1
  140. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +8 -0
  141. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue +21 -0
  142. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +8 -0
  143. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +14 -6
  144. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +4 -0
  145. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +3 -2
  146. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.d.vue.ts +8 -0
  147. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue +21 -0
  148. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue.d.ts +8 -0
  149. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +14 -7
  150. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +4 -0
  151. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.js +2 -1
  152. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue +1 -0
  153. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +13 -8
  154. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +10 -2
  155. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue +25 -1
  156. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +10 -2
  157. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +102 -44
  158. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +14 -0
  159. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +14 -5
  160. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +1 -0
  161. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +22 -5
  162. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +7 -4
  163. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +7 -1
  164. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.d.vue.ts +113 -0
  165. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue +426 -0
  166. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue.d.ts +113 -0
  167. package/dist/runtime/components/{actions/buttons/2026-04-27/com.shwfed.actions.button.table.search → form/fields/2026-05-17/com.shwfed.form.field.checkbox.group}/runtime.d.vue.ts +1 -1
  168. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue +176 -0
  169. package/dist/runtime/components/{actions/buttons/2026-04-27/com.shwfed.actions.button.table.search → form/fields/2026-05-17/com.shwfed.form.field.checkbox.group}/runtime.vue.d.ts +1 -1
  170. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +121 -0
  171. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.js +78 -0
  172. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.d.vue.ts +113 -0
  173. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue +426 -0
  174. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue.d.ts +113 -0
  175. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.d.vue.ts +8 -0
  176. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue +159 -0
  177. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue.d.ts +8 -0
  178. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +121 -0
  179. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js +78 -0
  180. package/dist/runtime/components/form/index.d.vue.ts +6 -0
  181. package/dist/runtime/components/form/index.vue +41 -6
  182. package/dist/runtime/components/form/index.vue.d.ts +6 -0
  183. package/dist/runtime/components/form/schema.d.ts +5 -1
  184. package/dist/runtime/components/form/schema.js +13 -1
  185. package/dist/runtime/components/form/unit-config.d.vue.ts +0 -3
  186. package/dist/runtime/components/form/unit-config.vue +4 -10
  187. package/dist/runtime/components/form/unit-config.vue.d.ts +0 -3
  188. package/dist/runtime/components/form/utils/commit-bus.d.ts +26 -0
  189. package/dist/runtime/components/form/utils/commit-bus.js +27 -0
  190. package/dist/runtime/components/form/utils/common.d.ts +27 -0
  191. package/dist/runtime/components/form/utils/common.js +31 -0
  192. package/dist/runtime/components/form/utils/derived.d.ts +72 -0
  193. package/dist/runtime/components/form/utils/derived.js +116 -0
  194. package/dist/runtime/components/form/utils/field-value.d.ts +35 -0
  195. package/dist/runtime/components/form/utils/field-value.js +40 -0
  196. package/dist/runtime/components/form/utils/history.d.ts +36 -0
  197. package/dist/runtime/components/form/utils/history.js +74 -0
  198. package/dist/runtime/components/form/utils/readonly.d.ts +8 -0
  199. package/dist/runtime/components/form/utils/readonly.js +9 -0
  200. package/dist/runtime/components/form/utils/state.d.ts +27 -1
  201. package/dist/runtime/components/form/utils/state.js +16 -8
  202. package/dist/runtime/components/table/ai/columns-button.vue +3 -4
  203. package/dist/runtime/components/table/ai/data-source-button.vue +3 -4
  204. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +2 -3
  205. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +2 -3
  206. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +2 -3
  207. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +2 -3
  208. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +11 -6
  209. package/dist/runtime/components/table/config.vue +46 -2
  210. package/dist/runtime/components/table/index.d.vue.ts +4 -0
  211. package/dist/runtime/components/table/index.vue +28 -22
  212. package/dist/runtime/components/table/index.vue.d.ts +4 -0
  213. package/dist/runtime/components/table/schema.d.ts +33 -0
  214. package/dist/runtime/components/table/schema.js +21 -0
  215. package/dist/runtime/components/table/utils/instance.d.ts +2 -0
  216. package/dist/runtime/components/table/utils/instance.js +8 -0
  217. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +2 -2
  218. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue +2 -2
  219. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue +2 -2
  220. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue +2 -2
  221. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +13 -1
  222. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +11 -3
  223. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +13 -1
  224. package/dist/runtime/components/ui/locale/Locale.vue +2 -2
  225. package/dist/runtime/components/ui/radio-group/RadioGroup.d.vue.ts +22 -0
  226. package/dist/runtime/components/ui/radio-group/RadioGroup.vue +32 -0
  227. package/dist/runtime/components/ui/radio-group/RadioGroup.vue.d.ts +22 -0
  228. package/dist/runtime/components/ui/radio-group/RadioGroupItem.d.vue.ts +8 -0
  229. package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue +36 -0
  230. package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue.d.ts +8 -0
  231. package/dist/runtime/components/ui/radio-group/index.d.ts +2 -0
  232. package/dist/runtime/components/ui/radio-group/index.js +2 -0
  233. package/dist/runtime/composables/useOverlay.d.ts +1 -5
  234. package/dist/runtime/composables/useOverlay.js +4 -3
  235. package/dist/runtime/composables/useTranslateLocale.js +1 -2
  236. package/dist/runtime/share/event-bus.d.ts +118 -0
  237. package/dist/runtime/share/event-bus.js +55 -0
  238. package/dist/runtime/share/expression.d.ts +7 -0
  239. package/dist/runtime/share/expression.js +3 -1
  240. package/dist/runtime/share/layout.d.ts +1 -0
  241. package/dist/runtime/share/layout.js +3 -2
  242. package/dist/runtime/share/slot-renderer.vue +6 -4
  243. package/dist/runtime/{plugins → utils}/ai/cel-prompt.d.ts +1 -1
  244. package/dist/runtime/{plugins → utils}/ai/index.d.ts +1 -6
  245. package/dist/runtime/{plugins → utils}/ai/index.js +5 -14
  246. package/dist/runtime/utils/cel.d.ts +5 -0
  247. package/dist/runtime/utils/cel.js +42 -0
  248. package/dist/runtime/vendor/cel-js/CLAUDE.md +8 -2
  249. package/dist/runtime/vendor/cel-js/PROMPT.md +35 -10
  250. package/dist/runtime/vendor/cel-js/lib/functions.js +63 -1
  251. package/dist/runtime/vendor/cel-js/lib/http-builder.d.ts +35 -0
  252. package/dist/runtime/{plugins/http/builder.js → vendor/cel-js/lib/http-builder.js} +25 -23
  253. package/dist/runtime/vendor/cel-js/lib/http-builtins.d.ts +9 -10
  254. package/dist/runtime/vendor/cel-js/lib/http-builtins.js +53 -13
  255. package/dist/types.d.mts +7 -1
  256. package/package.json +1 -1
  257. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.vue +0 -10
  258. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.vue +0 -25
  259. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/schema.d.ts +0 -13
  260. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/schema.js +0 -16
  261. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.d.vue.ts +0 -17
  262. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.vue +0 -10
  263. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.vue.d.ts +0 -17
  264. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/schema.d.ts +0 -13
  265. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/schema.js +0 -16
  266. package/dist/runtime/components/table/utils/host.d.ts +0 -9
  267. package/dist/runtime/components/table/utils/host.js +0 -8
  268. package/dist/runtime/composables/useCel.d.ts +0 -16
  269. package/dist/runtime/composables/useCel.js +0 -8
  270. package/dist/runtime/middleware/token.d.ts +0 -2
  271. package/dist/runtime/middleware/token.js +0 -20
  272. package/dist/runtime/plugins/cel/http.d.ts +0 -8
  273. package/dist/runtime/plugins/cel/http.js +0 -49
  274. package/dist/runtime/plugins/cel/index.d.ts +0 -9
  275. package/dist/runtime/plugins/cel/index.js +0 -59
  276. package/dist/runtime/plugins/http/builder.d.ts +0 -14
  277. package/dist/runtime/plugins/http/index.d.ts +0 -19
  278. package/dist/runtime/plugins/http/index.js +0 -35
  279. package/dist/runtime/plugins/toast/index.d.ts +0 -108
  280. package/dist/runtime/plugins/toast/index.js +0 -10
  281. package/dist/runtime/types.d.ts +0 -25
  282. /package/dist/runtime/components/actions/buttons/{2026-04-27/com.shwfed.actions.button.table.reset → 2026-05-15/com.shwfed.actions.button.event.dispatch}/runtime.d.vue.ts +0 -0
  283. /package/dist/runtime/components/actions/buttons/{2026-04-27/com.shwfed.actions.button.table.reset → 2026-05-15/com.shwfed.actions.button.event.dispatch}/runtime.vue.d.ts +0 -0
  284. /package/dist/runtime/{plugins → utils}/ai/cel-prompt.js +0 -0
  285. /package/dist/runtime/{plugins/cel/context.d.ts → utils/cel-context.d.ts} +0 -0
  286. /package/dist/runtime/{plugins/cel/context.js → utils/cel-context.js} +0 -0
@@ -1,49 +0,0 @@
1
- import { HttpRequestBuilder } from "../http/builder.js";
2
- class Http {
3
- brand = "http";
4
- }
5
- export const HTTP_INSTANCE = new Http();
6
- export function registerHttpFunctions(env, http) {
7
- env.registerType("http", Http);
8
- env.registerType("HttpRequest", HttpRequestBuilder);
9
- env.registerFunction(
10
- "http.get(string): HttpRequest",
11
- (_r, ep) => http.get(ep)
12
- );
13
- env.registerFunction(
14
- "http.post(string): HttpRequest",
15
- (_r, ep) => http.post(ep)
16
- );
17
- env.registerFunction(
18
- "http.put(string): HttpRequest",
19
- (_r, ep) => http.put(ep)
20
- );
21
- env.registerFunction(
22
- "http.patch(string): HttpRequest",
23
- (_r, ep) => http.patch(ep)
24
- );
25
- env.registerFunction(
26
- "http.delete(string): HttpRequest",
27
- (_r, ep) => http.delete(ep)
28
- );
29
- env.registerFunction(
30
- "HttpRequest.header(string, string): HttpRequest",
31
- (b, k, v) => b.header(k, v)
32
- );
33
- env.registerFunction(
34
- "HttpRequest.query(string, string): HttpRequest",
35
- (b, k, v) => b.query(k, v)
36
- );
37
- env.registerFunction(
38
- "HttpRequest.query(string, number): HttpRequest",
39
- (b, k, v) => b.query(k, Number(v))
40
- );
41
- env.registerFunction(
42
- "HttpRequest.query(dyn): HttpRequest",
43
- (b, record) => b.query(record)
44
- );
45
- env.registerFunction(
46
- "HttpRequest.body(dyn): HttpRequest",
47
- (b, data) => b.body(data)
48
- );
49
- }
@@ -1,9 +0,0 @@
1
- import { Effect } from 'effect';
2
- declare const _default: import("#app").Plugin<{
3
- cel: <T>(expression: string, context?: Record<string, unknown>) => Effect.Effect<T, import("../../vendor/cel-js/lib/index.js").ParseError | import("../../vendor/cel-js/lib/index.js").EvaluationError | import("../../vendor/cel-js/lib/index.js").TypeError, never>;
4
- celCheck: (expression: string) => import("effect/Either").Either<string, import("../../vendor/cel-js/lib/index.js").ParseError | import("../../vendor/cel-js/lib/index.js").TypeError>;
5
- }> & import("#app").ObjectPlugin<{
6
- cel: <T>(expression: string, context?: Record<string, unknown>) => Effect.Effect<T, import("../../vendor/cel-js/lib/index.js").ParseError | import("../../vendor/cel-js/lib/index.js").EvaluationError | import("../../vendor/cel-js/lib/index.js").TypeError, never>;
7
- celCheck: (expression: string) => import("effect/Either").Either<string, import("../../vendor/cel-js/lib/index.js").ParseError | import("../../vendor/cel-js/lib/index.js").TypeError>;
8
- }>;
9
- export default _default;
@@ -1,59 +0,0 @@
1
- import { defineNuxtPlugin, useNuxtApp } from "#app";
2
- import defu from "defu";
3
- import { Effect, Option } from "effect";
4
- import { Decimal } from "../../vendor/cel-js/lib/decimal.js";
5
- import { Environment } from "../../vendor/cel-js/lib/index.js";
6
- import { registerHttpFunctions, HTTP_INSTANCE } from "./http.js";
7
- function unwrapCelValue(value) {
8
- if (value === null || value === void 0) return value;
9
- if (value instanceof Decimal) return value.toNumber();
10
- if (Option.isOption(value)) {
11
- return Option.isSome(value) ? unwrapCelValue(value.value) : void 0;
12
- }
13
- if (Array.isArray(value)) return value.map(unwrapCelValue);
14
- if (typeof value === "object") {
15
- const proto = Object.getPrototypeOf(value);
16
- if (proto !== Object.prototype && proto !== null) return value;
17
- const out = {};
18
- for (const key of Object.keys(value)) {
19
- out[key] = unwrapCelValue(value[key]);
20
- }
21
- return out;
22
- }
23
- return value;
24
- }
25
- export default defineNuxtPlugin({
26
- name: "shwfed:cel",
27
- dependsOn: ["shwfed:http"],
28
- setup: () => {
29
- const env = new Environment({ unlistedVariablesAreDyn: true });
30
- const { $http } = useNuxtApp();
31
- registerHttpFunctions(env, $http);
32
- env.registerFunction(
33
- "media(string): bool",
34
- (_self, q) => typeof window !== "undefined" && window.matchMedia(q).matches
35
- );
36
- env.registerFunction(
37
- "list<number>.sum(): number",
38
- (list) => list.reduce(
39
- (acc, n) => acc.add(n),
40
- Decimal.from(0)
41
- )
42
- );
43
- return {
44
- provide: {
45
- cel: (expression, context) => {
46
- return Effect.map(
47
- env.evaluate(expression, defu(context, { http: HTTP_INSTANCE })),
48
- (v) => unwrapCelValue(v)
49
- );
50
- },
51
- // Parse + type-check only — no evaluation, no scope. Surfaces the same
52
- // ParseError/TypeError the editor would flag at apply time, so callers
53
- // (e.g. the AI button's validate-then-retry path) can route the error
54
- // back to the model before persisting a broken expression.
55
- celCheck: (expression) => env.check(expression)
56
- }
57
- };
58
- }
59
- });
@@ -1,14 +0,0 @@
1
- import { Effect } from 'effect';
2
- import { Fetch } from 'fx-fetch';
3
- export declare function resolveUrl(baseUrl: string, endpoint: string): string;
4
- export type HttpRequestInterceptor = (builder: HttpRequestBuilder) => Effect.Effect<unknown, any>;
5
- export declare class HttpRequestBuilder {
6
- #private;
7
- constructor(url: string, method: string, defaultHeaders?: Array<[string, string]>, intercept?: HttpRequestInterceptor);
8
- header(name: string, value: string): this;
9
- query(key: string, value: string | number): this;
10
- query(record: Record<string, unknown>): this;
11
- body(data: FormData | unknown): this;
12
- json(): Effect.Effect<unknown, any, Fetch.Fetch>;
13
- file(): Effect.Effect<File, any, Fetch.Fetch>;
14
- }
@@ -1,19 +0,0 @@
1
- import { HttpRequestBuilder } from './builder.js';
2
- declare const _default: import("#app").Plugin<{
3
- http: {
4
- get: (endpoint: string) => HttpRequestBuilder;
5
- post: (endpoint: string) => HttpRequestBuilder;
6
- put: (endpoint: string) => HttpRequestBuilder;
7
- patch: (endpoint: string) => HttpRequestBuilder;
8
- delete: (endpoint: string) => HttpRequestBuilder;
9
- };
10
- }> & import("#app").ObjectPlugin<{
11
- http: {
12
- get: (endpoint: string) => HttpRequestBuilder;
13
- post: (endpoint: string) => HttpRequestBuilder;
14
- put: (endpoint: string) => HttpRequestBuilder;
15
- patch: (endpoint: string) => HttpRequestBuilder;
16
- delete: (endpoint: string) => HttpRequestBuilder;
17
- };
18
- }>;
19
- export default _default;
@@ -1,35 +0,0 @@
1
- import { defineNuxtPlugin, useNuxtApp, useRuntimeConfig } from "#app";
2
- import { Effect } from "effect";
3
- import { HttpRequestBuilder, resolveUrl } from "./builder.js";
4
- export default defineNuxtPlugin({
5
- name: "shwfed:http",
6
- setup: () => {
7
- const config = useRuntimeConfig().public.shwfed;
8
- const baseUrl = config.api.host ?? "";
9
- const headerName = config.headers.token ?? "Authorization";
10
- const interception = config.api.interception;
11
- function getDefaultHeaders() {
12
- if (import.meta.client) {
13
- const token = localStorage.getItem(config.ci.job);
14
- if (token) {
15
- return [[headerName, token]];
16
- }
17
- }
18
- return [];
19
- }
20
- const intercept = interception === void 0 ? void 0 : (builder) => Effect.suspend(
21
- () => useNuxtApp().$cel(interception, { request: builder })
22
- );
23
- return {
24
- provide: {
25
- http: {
26
- get: (endpoint) => new HttpRequestBuilder(resolveUrl(baseUrl, endpoint), "GET", getDefaultHeaders(), intercept),
27
- post: (endpoint) => new HttpRequestBuilder(resolveUrl(baseUrl, endpoint), "POST", getDefaultHeaders(), intercept),
28
- put: (endpoint) => new HttpRequestBuilder(resolveUrl(baseUrl, endpoint), "PUT", getDefaultHeaders(), intercept),
29
- patch: (endpoint) => new HttpRequestBuilder(resolveUrl(baseUrl, endpoint), "PATCH", getDefaultHeaders(), intercept),
30
- delete: (endpoint) => new HttpRequestBuilder(resolveUrl(baseUrl, endpoint), "DELETE", getDefaultHeaders(), intercept)
31
- }
32
- }
33
- };
34
- }
35
- });
@@ -1,108 +0,0 @@
1
- declare const _default: import("#app").Plugin<{
2
- toast: ((message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number) & {
3
- success: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
4
- info: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
5
- warning: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
6
- error: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
7
- custom: (component: import("vue").Component, data?: import("vue-sonner").ExternalToast) => string | number;
8
- message: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
9
- promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
10
- class?: string | undefined;
11
- style?: import("vue").CSSProperties | undefined;
12
- id?: number | string | undefined;
13
- position?: ("top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-center" | "bottom-center") | undefined;
14
- cancel?: (import("vue-sonner").Action | import("vue").Component) | undefined;
15
- icon?: import("vue").Component | undefined;
16
- toasterId?: string | undefined;
17
- component?: import("vue").Component | undefined;
18
- componentProps?: any;
19
- richColors?: boolean | undefined;
20
- invert?: boolean | undefined;
21
- closeButton?: boolean | undefined;
22
- dismissible?: boolean | undefined;
23
- duration?: number | undefined;
24
- important?: boolean | undefined;
25
- action?: (import("vue-sonner").Action | import("vue").Component) | undefined;
26
- onDismiss?: ((toast: import("vue-sonner").ToastT) => void) | undefined;
27
- onAutoClose?: ((toast: import("vue-sonner").ToastT) => void) | undefined;
28
- cancelButtonStyle?: import("vue").CSSProperties | undefined;
29
- actionButtonStyle?: import("vue").CSSProperties | undefined;
30
- unstyled?: boolean | undefined;
31
- classes?: import("vue-sonner").ToastClasses | undefined;
32
- descriptionClass?: string | undefined;
33
- closeButtonPosition?: ("top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
34
- testId?: string | undefined;
35
- } & {
36
- loading?: string | import("vue").Component;
37
- success?: (string | import("vue").Component | ((data: ToastData) => import("vue").Component | string | Promise<import("vue").Component | string>)) | (import("vue-sonner").PromiseIExtendedResult | ((data: ToastData) => import("vue-sonner").PromiseIExtendedResult | Promise<import("vue-sonner").PromiseIExtendedResult>)) | undefined;
38
- error?: (string | import("vue").Component | ((data: any) => import("vue").Component | string | Promise<import("vue").Component | string>)) | (import("vue-sonner").PromiseIExtendedResult | ((data: any) => import("vue-sonner").PromiseIExtendedResult | Promise<import("vue-sonner").PromiseIExtendedResult>));
39
- description?: string | import("vue").Component | ((data: any) => import("vue").Component | string | Promise<import("vue").Component | string>);
40
- finally?: () => void | Promise<void>;
41
- }) | undefined) => (string & {
42
- unwrap: () => Promise<ToastData>;
43
- }) | (number & {
44
- unwrap: () => Promise<ToastData>;
45
- }) | {
46
- unwrap: () => Promise<ToastData>;
47
- } | undefined;
48
- dismiss: (id?: number | string) => string | number | undefined;
49
- loading: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
50
- } & {
51
- getHistory: () => (import("vue-sonner").ToastT<import("vue").Component> | import("vue-sonner").ToastToDismiss)[];
52
- getToasts: () => (import("vue-sonner").ToastT<import("vue").Component> | import("vue-sonner").ToastToDismiss)[];
53
- };
54
- }> & import("#app").ObjectPlugin<{
55
- toast: ((message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number) & {
56
- success: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
57
- info: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
58
- warning: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
59
- error: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
60
- custom: (component: import("vue").Component, data?: import("vue-sonner").ExternalToast) => string | number;
61
- message: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
62
- promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
63
- class?: string | undefined;
64
- style?: import("vue").CSSProperties | undefined;
65
- id?: number | string | undefined;
66
- position?: ("top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-center" | "bottom-center") | undefined;
67
- cancel?: (import("vue-sonner").Action | import("vue").Component) | undefined;
68
- icon?: import("vue").Component | undefined;
69
- toasterId?: string | undefined;
70
- component?: import("vue").Component | undefined;
71
- componentProps?: any;
72
- richColors?: boolean | undefined;
73
- invert?: boolean | undefined;
74
- closeButton?: boolean | undefined;
75
- dismissible?: boolean | undefined;
76
- duration?: number | undefined;
77
- important?: boolean | undefined;
78
- action?: (import("vue-sonner").Action | import("vue").Component) | undefined;
79
- onDismiss?: ((toast: import("vue-sonner").ToastT) => void) | undefined;
80
- onAutoClose?: ((toast: import("vue-sonner").ToastT) => void) | undefined;
81
- cancelButtonStyle?: import("vue").CSSProperties | undefined;
82
- actionButtonStyle?: import("vue").CSSProperties | undefined;
83
- unstyled?: boolean | undefined;
84
- classes?: import("vue-sonner").ToastClasses | undefined;
85
- descriptionClass?: string | undefined;
86
- closeButtonPosition?: ("top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
87
- testId?: string | undefined;
88
- } & {
89
- loading?: string | import("vue").Component;
90
- success?: (string | import("vue").Component | ((data: ToastData) => import("vue").Component | string | Promise<import("vue").Component | string>)) | (import("vue-sonner").PromiseIExtendedResult | ((data: ToastData) => import("vue-sonner").PromiseIExtendedResult | Promise<import("vue-sonner").PromiseIExtendedResult>)) | undefined;
91
- error?: (string | import("vue").Component | ((data: any) => import("vue").Component | string | Promise<import("vue").Component | string>)) | (import("vue-sonner").PromiseIExtendedResult | ((data: any) => import("vue-sonner").PromiseIExtendedResult | Promise<import("vue-sonner").PromiseIExtendedResult>));
92
- description?: string | import("vue").Component | ((data: any) => import("vue").Component | string | Promise<import("vue").Component | string>);
93
- finally?: () => void | Promise<void>;
94
- }) | undefined) => (string & {
95
- unwrap: () => Promise<ToastData>;
96
- }) | (number & {
97
- unwrap: () => Promise<ToastData>;
98
- }) | {
99
- unwrap: () => Promise<ToastData>;
100
- } | undefined;
101
- dismiss: (id?: number | string) => string | number | undefined;
102
- loading: (message: string | import("vue").Component | (() => string | import("vue").Component), data?: import("vue-sonner").ExternalToast) => string | number;
103
- } & {
104
- getHistory: () => (import("vue-sonner").ToastT<import("vue").Component> | import("vue-sonner").ToastToDismiss)[];
105
- getToasts: () => (import("vue-sonner").ToastT<import("vue").Component> | import("vue-sonner").ToastToDismiss)[];
106
- };
107
- }>;
108
- export default _default;
@@ -1,10 +0,0 @@
1
- import { defineNuxtPlugin } from "#app";
2
- import { toast } from "vue-sonner";
3
- export default defineNuxtPlugin({
4
- name: "shwfed:toast",
5
- setup: () => ({
6
- provide: {
7
- toast
8
- }
9
- })
10
- });
@@ -1,25 +0,0 @@
1
- import type { HttpRequestBuilder } from './plugins/http/builder'
2
- import type { Effect, Either } from 'effect'
3
- import type { toast } from 'vue-sonner'
4
- import type { ParseError, TypeError, EvaluationError } from './vendor/cel-js/lib/errors'
5
- import type { Ai } from './plugins/ai'
6
-
7
- interface HttpService {
8
- get: (endpoint: string) => HttpRequestBuilder
9
- post: (endpoint: string) => HttpRequestBuilder
10
- put: (endpoint: string) => HttpRequestBuilder
11
- patch: (endpoint: string) => HttpRequestBuilder
12
- delete: (endpoint: string) => HttpRequestBuilder
13
- }
14
-
15
- declare module '#app' {
16
- interface NuxtApp {
17
- $http: HttpService
18
- $cel: <T>(expression: string, context?: Record<string, unknown>) => Effect.Effect<T, ParseError | TypeError | EvaluationError>
19
- $celCheck: (expression: string) => Either.Either<string, ParseError | TypeError>
20
- $toast: typeof toast
21
- $ai: Ai
22
- }
23
- }
24
-
25
- export {}