@oneclick.dev/cms-kit 0.0.2 → 0.0.4

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 (850) hide show
  1. package/dist/index-BqaBgX_I.cjs +1 -0
  2. package/dist/index-DJQgzywP.js +4319 -0
  3. package/dist/index.cjs.js +52 -0
  4. package/dist/index.css +1 -0
  5. package/dist/index.es.js +142280 -0
  6. package/dist/types/components/ui/apple-emoji/AppleEmoji.vue.d.ts +6 -0
  7. package/dist/types/components/ui/apple-emoji/index.d.ts +1 -0
  8. package/dist/types/components/ui/avatar/Avatar.vue.d.ts +21 -0
  9. package/dist/types/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
  10. package/dist/types/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
  11. package/dist/types/components/ui/avatar/index.d.ts +3 -0
  12. package/dist/types/components/ui/badge/Badge.vue.d.ts +26 -0
  13. package/dist/types/components/ui/badge/index.d.ts +1 -0
  14. package/dist/types/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
  15. package/dist/types/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
  16. package/dist/types/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
  17. package/dist/types/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
  18. package/dist/types/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
  19. package/dist/types/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
  20. package/dist/types/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
  21. package/dist/types/components/ui/breadcrumb/index.d.ts +7 -0
  22. package/dist/types/components/ui/button/Button.vue.d.ts +32 -0
  23. package/dist/types/components/ui/button/index.d.ts +7 -0
  24. package/dist/types/components/ui/calendar/Calendar.vue.d.ts +13 -0
  25. package/dist/types/components/ui/calendar/CalendarCell.vue.d.ts +22 -0
  26. package/dist/types/components/ui/calendar/CalendarCellTrigger.vue.d.ts +24 -0
  27. package/dist/types/components/ui/calendar/CalendarGrid.vue.d.ts +22 -0
  28. package/dist/types/components/ui/calendar/CalendarGridBody.vue.d.ts +18 -0
  29. package/dist/types/components/ui/calendar/CalendarGridHead.vue.d.ts +22 -0
  30. package/dist/types/components/ui/calendar/CalendarGridRow.vue.d.ts +22 -0
  31. package/dist/types/components/ui/calendar/CalendarHeadCell.vue.d.ts +22 -0
  32. package/dist/types/components/ui/calendar/CalendarHeader.vue.d.ts +22 -0
  33. package/dist/types/components/ui/calendar/CalendarHeading.vue.d.ts +28 -0
  34. package/dist/types/components/ui/calendar/CalendarNextButton.vue.d.ts +22 -0
  35. package/dist/types/components/ui/calendar/CalendarPrevButton.vue.d.ts +22 -0
  36. package/dist/types/components/ui/calendar/index.d.ts +12 -0
  37. package/dist/types/components/ui/card/Card.vue.d.ts +21 -0
  38. package/dist/types/components/ui/card/CardAction.vue.d.ts +21 -0
  39. package/dist/types/components/ui/card/CardContent.vue.d.ts +21 -0
  40. package/dist/types/components/ui/card/CardDescription.vue.d.ts +21 -0
  41. package/dist/types/components/ui/card/CardFooter.vue.d.ts +21 -0
  42. package/dist/types/components/ui/card/CardHeader.vue.d.ts +21 -0
  43. package/dist/types/components/ui/card/CardTitle.vue.d.ts +21 -0
  44. package/dist/types/components/ui/card/index.d.ts +7 -0
  45. package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +26 -0
  46. package/dist/types/components/ui/checkbox/index.d.ts +1 -0
  47. package/dist/types/components/ui/code-editor/CodeEditor.vue.d.ts +51 -0
  48. package/dist/types/components/ui/code-editor/index.d.ts +1 -0
  49. package/dist/types/components/ui/code-editor/interpolationHighlight.d.ts +2 -0
  50. package/dist/types/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
  51. package/dist/types/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
  52. package/dist/types/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
  53. package/dist/types/components/ui/collapsible/index.d.ts +3 -0
  54. package/dist/types/components/ui/combobox/Combobox.vue.d.ts +33 -0
  55. package/dist/types/components/ui/combobox/ComboboxAnchor.vue.d.ts +22 -0
  56. package/dist/types/components/ui/combobox/ComboboxEmpty.vue.d.ts +22 -0
  57. package/dist/types/components/ui/combobox/ComboboxGroup.vue.d.ts +23 -0
  58. package/dist/types/components/ui/combobox/ComboboxInput.vue.d.ts +27 -0
  59. package/dist/types/components/ui/combobox/ComboboxItem.vue.d.ts +26 -0
  60. package/dist/types/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +22 -0
  61. package/dist/types/components/ui/combobox/ComboboxList.vue.d.ts +37 -0
  62. package/dist/types/components/ui/combobox/ComboboxSeparator.vue.d.ts +22 -0
  63. package/dist/types/components/ui/combobox/ComboboxViewport.vue.d.ts +22 -0
  64. package/dist/types/components/ui/combobox/index.d.ts +11 -0
  65. package/dist/types/components/ui/command/Command.vue.d.ts +40 -0
  66. package/dist/types/components/ui/command/CommandDialog.vue.d.ts +29 -0
  67. package/dist/types/components/ui/command/CommandEmpty.vue.d.ts +22 -0
  68. package/dist/types/components/ui/command/CommandGroup.vue.d.ts +23 -0
  69. package/dist/types/components/ui/command/CommandInput.vue.d.ts +7 -0
  70. package/dist/types/components/ui/command/CommandItem.vue.d.ts +30 -0
  71. package/dist/types/components/ui/command/CommandList.vue.d.ts +22 -0
  72. package/dist/types/components/ui/command/CommandSeparator.vue.d.ts +22 -0
  73. package/dist/types/components/ui/command/CommandShortcut.vue.d.ts +21 -0
  74. package/dist/types/components/ui/command/index.d.ts +90 -0
  75. package/dist/types/components/ui/context-menu/ContextMenu.vue.d.ts +22 -0
  76. package/dist/types/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +28 -0
  77. package/dist/types/components/ui/context-menu/ContextMenuContent.vue.d.ts +34 -0
  78. package/dist/types/components/ui/context-menu/ContextMenuGroup.vue.d.ts +18 -0
  79. package/dist/types/components/ui/context-menu/ContextMenuItem.vue.d.ts +30 -0
  80. package/dist/types/components/ui/context-menu/ContextMenuLabel.vue.d.ts +23 -0
  81. package/dist/types/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +22 -0
  82. package/dist/types/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +26 -0
  83. package/dist/types/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +7 -0
  84. package/dist/types/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +21 -0
  85. package/dist/types/components/ui/context-menu/ContextMenuSub.vue.d.ts +22 -0
  86. package/dist/types/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +38 -0
  87. package/dist/types/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +23 -0
  88. package/dist/types/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +18 -0
  89. package/dist/types/components/ui/context-menu/index.d.ts +14 -0
  90. package/dist/types/components/ui/custom-dialog/CustomDialog.vue.d.ts +7 -0
  91. package/dist/types/components/ui/custom-dialog/index.d.ts +1 -0
  92. package/dist/types/components/ui/dialog/Dialog.vue.d.ts +22 -0
  93. package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +18 -0
  94. package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +36 -0
  95. package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
  96. package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
  97. package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
  98. package/dist/types/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
  99. package/dist/types/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
  100. package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
  101. package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
  102. package/dist/types/components/ui/dialog/index.d.ts +10 -0
  103. package/dist/types/components/ui/drawer/Drawer.vue.d.ts +34 -0
  104. package/dist/types/components/ui/drawer/DrawerClose.vue.d.ts +18 -0
  105. package/dist/types/components/ui/drawer/DrawerContent.vue.d.ts +36 -0
  106. package/dist/types/components/ui/drawer/DrawerDescription.vue.d.ts +22 -0
  107. package/dist/types/components/ui/drawer/DrawerFooter.vue.d.ts +21 -0
  108. package/dist/types/components/ui/drawer/DrawerHeader.vue.d.ts +21 -0
  109. package/dist/types/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
  110. package/dist/types/components/ui/drawer/DrawerTitle.vue.d.ts +22 -0
  111. package/dist/types/components/ui/drawer/DrawerTrigger.vue.d.ts +18 -0
  112. package/dist/types/components/ui/drawer/index.d.ts +9 -0
  113. package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +22 -0
  114. package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +28 -0
  115. package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
  116. package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
  117. package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
  118. package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
  119. package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
  120. package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +26 -0
  121. package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
  122. package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
  123. package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
  124. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
  125. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
  126. package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
  127. package/dist/types/components/ui/dropdown-menu/index.d.ts +15 -0
  128. package/dist/types/components/ui/emoji-picker/EmojiPicker.vue.d.ts +9 -0
  129. package/dist/types/components/ui/emoji-picker/index.d.ts +1 -0
  130. package/dist/types/components/ui/flow-builder/FlowBuilder.vue.d.ts +52 -0
  131. package/dist/types/components/ui/flow-builder/FlowBuilderSelect.vue.d.ts +14 -0
  132. package/dist/types/components/ui/flow-builder/components/Builder.vue.d.ts +25 -0
  133. package/dist/types/components/ui/flow-builder/components/DropzoneBackground.vue.d.ts +17 -0
  134. package/dist/types/components/ui/flow-builder/components/EdgeEditor.vue.d.ts +18 -0
  135. package/dist/types/components/ui/flow-builder/components/Menu.vue.d.ts +2 -0
  136. package/dist/types/components/ui/flow-builder/components/NodeEditor.vue.d.ts +20 -0
  137. package/dist/types/components/ui/flow-builder/components/edge-editor/DataEdgeEditor.vue.d.ts +16 -0
  138. package/dist/types/components/ui/flow-builder/components/node-editor/ApiRequestEditor.vue.d.ts +16 -0
  139. package/dist/types/components/ui/flow-builder/components/node-editor/ConfirmEditor.vue.d.ts +16 -0
  140. package/dist/types/components/ui/flow-builder/components/node-editor/FinishFlowEditor.vue.d.ts +16 -0
  141. package/dist/types/components/ui/flow-builder/components/node-editor/IntegrationActionEditor.vue.d.ts +16 -0
  142. package/dist/types/components/ui/flow-builder/components/node-editor/SetVariableEditor.vue.d.ts +16 -0
  143. package/dist/types/components/ui/flow-builder/components/node-editor/ShowDialogEditor.vue.d.ts +16 -0
  144. package/dist/types/components/ui/flow-builder/components/node-editor/ShowModuleEditor.vue.d.ts +16 -0
  145. package/dist/types/components/ui/flow-builder/components/node-editor/ShowToastEditor.vue.d.ts +16 -0
  146. package/dist/types/components/ui/flow-builder/components/node-editor/TransformDataEditor.vue.d.ts +16 -0
  147. package/dist/types/components/ui/flow-builder/components/node-editor/VisitUrlEditor.vue.d.ts +16 -0
  148. package/dist/types/components/ui/flow-builder/components/variables/Widget.vue.d.ts +2 -0
  149. package/dist/types/components/ui/flow-builder/composables/outputRegistry.d.ts +23 -0
  150. package/dist/types/components/ui/flow-builder/index.d.ts +4 -0
  151. package/dist/types/components/ui/flow-builder/types.d.ts +7 -0
  152. package/dist/types/components/ui/form/FormControl.vue.d.ts +17 -0
  153. package/dist/types/components/ui/form/FormDescription.vue.d.ts +21 -0
  154. package/dist/types/components/ui/form/FormItem.vue.d.ts +21 -0
  155. package/dist/types/components/ui/form/FormLabel.vue.d.ts +22 -0
  156. package/dist/types/components/ui/form/FormMessage.vue.d.ts +6 -0
  157. package/dist/types/components/ui/form/index.d.ts +7 -0
  158. package/dist/types/components/ui/form/injectionKeys.d.ts +2 -0
  159. package/dist/types/components/ui/form/useFormField.d.ts +11 -0
  160. package/dist/types/components/ui/form-builder/FormBuilder.vue.d.ts +69 -0
  161. package/dist/types/components/ui/form-builder/FormBuilderSelect.vue.d.ts +35 -0
  162. package/dist/types/components/ui/form-builder/FormDisplayer.vue.d.ts +94 -0
  163. package/dist/types/components/ui/form-builder/components/AdminElementEditor.vue.d.ts +6 -0
  164. package/dist/types/components/ui/form-builder/components/AdminToolbar.vue.d.ts +16 -0
  165. package/dist/types/components/ui/form-builder/components/AdminToolbarView.vue.d.ts +10 -0
  166. package/dist/types/components/ui/form-builder/components/CustomDashboard.vue.d.ts +4 -0
  167. package/dist/types/components/ui/form-builder/components/FormBuilderWrapper.vue.d.ts +44 -0
  168. package/dist/types/components/ui/form-builder/components/admin/Transformer.vue.d.ts +16 -0
  169. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Button.vue.d.ts +2 -0
  170. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Checkbox.vue.d.ts +2 -0
  171. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Label.vue.d.ts +2 -0
  172. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Radios.vue.d.ts +2 -0
  173. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Scanner.vue.d.ts +2 -0
  174. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Select.vue.d.ts +2 -0
  175. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Text.vue.d.ts +2 -0
  176. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Textarea.vue.d.ts +2 -0
  177. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Textfield.vue.d.ts +2 -0
  178. package/dist/types/components/ui/form-builder/components/admin/element-setting-views/index.d.ts +12 -0
  179. package/dist/types/components/ui/form-builder/components/admin/setting-views/ApiActionsView.vue.d.ts +2 -0
  180. package/dist/types/components/ui/form-builder/components/admin/setting-views/NewElementView.vue.d.ts +2 -0
  181. package/dist/types/components/ui/form-builder/components/admin/setting-views/VariablesView.vue.d.ts +2 -0
  182. package/dist/types/components/ui/form-builder/components/admin/setting-views/new-element-view/DraggableElement.vue.d.ts +29 -0
  183. package/dist/types/components/ui/form-builder/components/admin/setting-views/variables-view/ApiActionVariables.vue.d.ts +2 -0
  184. package/dist/types/components/ui/form-builder/components/admin/setting-views/variables-view/RouteQueryParams.vue.d.ts +2 -0
  185. package/dist/types/components/ui/form-builder/components/admin/setting-views/variables-view/Transformers.vue.d.ts +2 -0
  186. package/dist/types/components/ui/form-builder/components/admin/setting-views/variables-view/Variables.vue.d.ts +2 -0
  187. package/dist/types/components/ui/form-builder/components/elements/button/Button.vue.d.ts +50 -0
  188. package/dist/types/components/ui/form-builder/components/elements/button/index.d.ts +1 -0
  189. package/dist/types/components/ui/form-builder/components/elements/checkbox/Checkbox.vue.d.ts +28 -0
  190. package/dist/types/components/ui/form-builder/components/elements/checkbox/index.d.ts +1 -0
  191. package/dist/types/components/ui/form-builder/components/elements/file/File.vue.d.ts +2 -0
  192. package/dist/types/components/ui/form-builder/components/elements/file/index.d.ts +1 -0
  193. package/dist/types/components/ui/form-builder/components/elements/images/Images.vue.d.ts +31 -0
  194. package/dist/types/components/ui/form-builder/components/elements/images/index.d.ts +1 -0
  195. package/dist/types/components/ui/form-builder/components/elements/items/Items.vue.d.ts +2 -0
  196. package/dist/types/components/ui/form-builder/components/elements/items/index.d.ts +1 -0
  197. package/dist/types/components/ui/form-builder/components/elements/label/Label.vue.d.ts +14 -0
  198. package/dist/types/components/ui/form-builder/components/elements/label/index.d.ts +1 -0
  199. package/dist/types/components/ui/form-builder/components/elements/location/Location.vue.d.ts +2 -0
  200. package/dist/types/components/ui/form-builder/components/elements/location/index.d.ts +1 -0
  201. package/dist/types/components/ui/form-builder/components/elements/radios/Radios.vue.d.ts +43 -0
  202. package/dist/types/components/ui/form-builder/components/elements/radios/index.d.ts +1 -0
  203. package/dist/types/components/ui/form-builder/components/elements/richtext/RichText.vue.d.ts +2 -0
  204. package/dist/types/components/ui/form-builder/components/elements/richtext/index.d.ts +1 -0
  205. package/dist/types/components/ui/form-builder/components/elements/scanner/Scanner.vue.d.ts +47 -0
  206. package/dist/types/components/ui/form-builder/components/elements/scanner/index.d.ts +1 -0
  207. package/dist/types/components/ui/form-builder/components/elements/select/Select.vue.d.ts +43 -0
  208. package/dist/types/components/ui/form-builder/components/elements/select/index.d.ts +1 -0
  209. package/dist/types/components/ui/form-builder/components/elements/text/Text.vue.d.ts +14 -0
  210. package/dist/types/components/ui/form-builder/components/elements/text/index.d.ts +1 -0
  211. package/dist/types/components/ui/form-builder/components/elements/textarea/Textarea.vue.d.ts +31 -0
  212. package/dist/types/components/ui/form-builder/components/elements/textarea/index.d.ts +1 -0
  213. package/dist/types/components/ui/form-builder/components/elements/textfield/Textfield.vue.d.ts +31 -0
  214. package/dist/types/components/ui/form-builder/components/elements/textfield/index.d.ts +1 -0
  215. package/dist/types/components/ui/form-builder/index.d.ts +3 -0
  216. package/dist/types/components/ui/input/Input.vue.d.ts +12 -0
  217. package/dist/types/components/ui/input/index.d.ts +1 -0
  218. package/dist/types/components/ui/integration-action-builder/IntegrationActionBuilder.vue.d.ts +2 -0
  219. package/dist/types/components/ui/integration-action-builder/InterpolationField.vue.d.ts +26 -0
  220. package/dist/types/components/ui/integration-action-builder/index.d.ts +1 -0
  221. package/dist/types/components/ui/integration-action-builder/integrations/firebase/AddDocument.vue.d.ts +16 -0
  222. package/dist/types/components/ui/integration-action-builder/integrations/firebase/DeleteDocument.vue.d.ts +2 -0
  223. package/dist/types/components/ui/integration-action-builder/integrations/firebase/GetCollections.vue.d.ts +2 -0
  224. package/dist/types/components/ui/integration-action-builder/integrations/firebase/GetDocumentById.vue.d.ts +2 -0
  225. package/dist/types/components/ui/integration-action-builder/integrations/firebase/QueryCollectionGroup.vue.d.ts +2 -0
  226. package/dist/types/components/ui/integration-action-builder/integrations/firebase/QueryFirestore.vue.d.ts +16 -0
  227. package/dist/types/components/ui/integration-action-builder/integrations/firebase/UpdateDocument.vue.d.ts +2 -0
  228. package/dist/types/components/ui/integration-action-builder/integrations/firebase/index.d.ts +191 -0
  229. package/dist/types/components/ui/integration-action-builder/integrations/index.d.ts +391 -0
  230. package/dist/types/components/ui/integration-action-builder/integrations/openai/AddDocument.vue.d.ts +16 -0
  231. package/dist/types/components/ui/integration-action-builder/integrations/openai/GenerateText.vue.d.ts +16 -0
  232. package/dist/types/components/ui/integration-action-builder/integrations/openai/components/ModelSelector.vue.d.ts +16 -0
  233. package/dist/types/components/ui/integration-action-builder/integrations/openai/index.d.ts +154 -0
  234. package/dist/types/components/ui/integration-action-builder/integrations/twilio/MakeCall.vue.d.ts +16 -0
  235. package/dist/types/components/ui/integration-action-builder/integrations/twilio/SendSMS.vue.d.ts +16 -0
  236. package/dist/types/components/ui/integration-action-builder/integrations/twilio/components/ModelSelector.vue.d.ts +16 -0
  237. package/dist/types/components/ui/integration-action-builder/integrations/twilio/index.d.ts +46 -0
  238. package/dist/types/components/ui/integration-icon/IntegrationIcon.vue.d.ts +12 -0
  239. package/dist/types/components/ui/integration-icon/index.d.ts +1 -0
  240. package/dist/types/components/ui/label/Label.vue.d.ts +22 -0
  241. package/dist/types/components/ui/label/index.d.ts +1 -0
  242. package/dist/types/components/ui/lucide-icon-selector/LucideIconPicker.vue.d.ts +9 -0
  243. package/dist/types/components/ui/lucide-icon-selector/LucideIconSelector.vue.d.ts +9 -0
  244. package/dist/types/components/ui/lucide-icon-selector/index.d.ts +2 -0
  245. package/dist/types/components/ui/media-picker/MediaPicker.vue.d.ts +16 -0
  246. package/dist/types/components/ui/media-picker/MediaPickerDialog.vue.d.ts +37 -0
  247. package/dist/types/components/ui/media-picker/MediaPickerItems.vue.d.ts +4 -0
  248. package/dist/types/components/ui/media-picker/index.d.ts +2 -0
  249. package/dist/types/components/ui/media-picker/media-picker-dialog/Dropzone.vue.d.ts +24 -0
  250. package/dist/types/components/ui/media-picker/media-picker-dialog/FileItem.vue.d.ts +24 -0
  251. package/dist/types/components/ui/media-picker/media-picker-dialog/Filters.vue.d.ts +12 -0
  252. package/dist/types/components/ui/menubar/Menubar.vue.d.ts +26 -0
  253. package/dist/types/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +28 -0
  254. package/dist/types/components/ui/menubar/MenubarContent.vue.d.ts +26 -0
  255. package/dist/types/components/ui/menubar/MenubarGroup.vue.d.ts +18 -0
  256. package/dist/types/components/ui/menubar/MenubarItem.vue.d.ts +28 -0
  257. package/dist/types/components/ui/menubar/MenubarLabel.vue.d.ts +23 -0
  258. package/dist/types/components/ui/menubar/MenubarMenu.vue.d.ts +18 -0
  259. package/dist/types/components/ui/menubar/MenubarRadioGroup.vue.d.ts +22 -0
  260. package/dist/types/components/ui/menubar/MenubarRadioItem.vue.d.ts +26 -0
  261. package/dist/types/components/ui/menubar/MenubarSeparator.vue.d.ts +7 -0
  262. package/dist/types/components/ui/menubar/MenubarShortcut.vue.d.ts +21 -0
  263. package/dist/types/components/ui/menubar/MenubarSub.vue.d.ts +25 -0
  264. package/dist/types/components/ui/menubar/MenubarSubContent.vue.d.ts +38 -0
  265. package/dist/types/components/ui/menubar/MenubarSubTrigger.vue.d.ts +23 -0
  266. package/dist/types/components/ui/menubar/MenubarTrigger.vue.d.ts +22 -0
  267. package/dist/types/components/ui/menubar/index.d.ts +15 -0
  268. package/dist/types/components/ui/number-field/NumberField.vue.d.ts +26 -0
  269. package/dist/types/components/ui/number-field/NumberFieldContent.vue.d.ts +21 -0
  270. package/dist/types/components/ui/number-field/NumberFieldDecrement.vue.d.ts +22 -0
  271. package/dist/types/components/ui/number-field/NumberFieldIncrement.vue.d.ts +22 -0
  272. package/dist/types/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -0
  273. package/dist/types/components/ui/number-field/index.d.ts +5 -0
  274. package/dist/types/components/ui/pagination/PaginationEllipsis.vue.d.ts +22 -0
  275. package/dist/types/components/ui/pagination/PaginationFirst.vue.d.ts +24 -0
  276. package/dist/types/components/ui/pagination/PaginationLast.vue.d.ts +24 -0
  277. package/dist/types/components/ui/pagination/PaginationNext.vue.d.ts +24 -0
  278. package/dist/types/components/ui/pagination/PaginationPrev.vue.d.ts +24 -0
  279. package/dist/types/components/ui/pagination/index.d.ts +6 -0
  280. package/dist/types/components/ui/popover/Popover.vue.d.ts +22 -0
  281. package/dist/types/components/ui/popover/PopoverAnchor.vue.d.ts +18 -0
  282. package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +39 -0
  283. package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
  284. package/dist/types/components/ui/popover/index.d.ts +4 -0
  285. package/dist/types/components/ui/query-builder-dialog/QueryBuilderDialog.vue.d.ts +61 -0
  286. package/dist/types/components/ui/query-builder-dialog/index.d.ts +1 -0
  287. package/dist/types/components/ui/radio-group/RadioGroup.vue.d.ts +27 -0
  288. package/dist/types/components/ui/radio-group/RadioGroupItem.vue.d.ts +7 -0
  289. package/dist/types/components/ui/radio-group/index.d.ts +2 -0
  290. package/dist/types/components/ui/range-calendar/RangeCalendar.vue.d.ts +15 -0
  291. package/dist/types/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +22 -0
  292. package/dist/types/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +22 -0
  293. package/dist/types/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +22 -0
  294. package/dist/types/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +18 -0
  295. package/dist/types/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +18 -0
  296. package/dist/types/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +22 -0
  297. package/dist/types/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +22 -0
  298. package/dist/types/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +22 -0
  299. package/dist/types/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +28 -0
  300. package/dist/types/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +22 -0
  301. package/dist/types/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +22 -0
  302. package/dist/types/components/ui/range-calendar/index.d.ts +12 -0
  303. package/dist/types/components/ui/resizable/ResizableHandle.vue.d.ts +12 -0
  304. package/dist/types/components/ui/resizable/ResizablePanel.vue.d.ts +26 -0
  305. package/dist/types/components/ui/resizable/ResizablePanelGroup.vue.d.ts +26 -0
  306. package/dist/types/components/ui/resizable/index.d.ts +3 -0
  307. package/dist/types/components/ui/ripple-button/RippleButton.vue.d.ts +34 -0
  308. package/dist/types/components/ui/ripple-button/index.d.ts +1 -0
  309. package/dist/types/components/ui/sandbox/Sandbox.vue.d.ts +40 -0
  310. package/dist/types/components/ui/sandbox/index.d.ts +1 -0
  311. package/dist/types/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
  312. package/dist/types/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
  313. package/dist/types/components/ui/scroll-area/index.d.ts +2 -0
  314. package/dist/types/components/ui/segmented-control/SegmentedControl.vue.d.ts +74 -0
  315. package/dist/types/components/ui/segmented-control/SegmentedControlButton.vue.d.ts +26 -0
  316. package/dist/types/components/ui/segmented-control/index.d.ts +2 -0
  317. package/dist/types/components/ui/select/Select.vue.d.ts +25 -0
  318. package/dist/types/components/ui/select/SelectContent.vue.d.ts +32 -0
  319. package/dist/types/components/ui/select/SelectGroup.vue.d.ts +18 -0
  320. package/dist/types/components/ui/select/SelectItem.vue.d.ts +22 -0
  321. package/dist/types/components/ui/select/SelectItemText.vue.d.ts +18 -0
  322. package/dist/types/components/ui/select/SelectLabel.vue.d.ts +22 -0
  323. package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
  324. package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
  325. package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +7 -0
  326. package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +25 -0
  327. package/dist/types/components/ui/select/SelectValue.vue.d.ts +18 -0
  328. package/dist/types/components/ui/select/index.d.ts +11 -0
  329. package/dist/types/components/ui/separator/Separator.vue.d.ts +10 -0
  330. package/dist/types/components/ui/separator/index.d.ts +1 -0
  331. package/dist/types/components/ui/sheet/Sheet.vue.d.ts +22 -0
  332. package/dist/types/components/ui/sheet/SheetClose.vue.d.ts +18 -0
  333. package/dist/types/components/ui/sheet/SheetContent.vue.d.ts +40 -0
  334. package/dist/types/components/ui/sheet/SheetDescription.vue.d.ts +22 -0
  335. package/dist/types/components/ui/sheet/SheetFooter.vue.d.ts +21 -0
  336. package/dist/types/components/ui/sheet/SheetHeader.vue.d.ts +21 -0
  337. package/dist/types/components/ui/sheet/SheetOverlay.vue.d.ts +22 -0
  338. package/dist/types/components/ui/sheet/SheetTitle.vue.d.ts +22 -0
  339. package/dist/types/components/ui/sheet/SheetTrigger.vue.d.ts +18 -0
  340. package/dist/types/components/ui/sheet/index.d.ts +8 -0
  341. package/dist/types/components/ui/sidebar/Sidebar.vue.d.ts +24 -0
  342. package/dist/types/components/ui/sidebar/SidebarContent.vue.d.ts +21 -0
  343. package/dist/types/components/ui/sidebar/SidebarFooter.vue.d.ts +21 -0
  344. package/dist/types/components/ui/sidebar/SidebarGroup.vue.d.ts +21 -0
  345. package/dist/types/components/ui/sidebar/SidebarGroupAction.vue.d.ts +22 -0
  346. package/dist/types/components/ui/sidebar/SidebarGroupContent.vue.d.ts +21 -0
  347. package/dist/types/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +22 -0
  348. package/dist/types/components/ui/sidebar/SidebarHeader.vue.d.ts +21 -0
  349. package/dist/types/components/ui/sidebar/SidebarInput.vue.d.ts +21 -0
  350. package/dist/types/components/ui/sidebar/SidebarInset.vue.d.ts +21 -0
  351. package/dist/types/components/ui/sidebar/SidebarMenu.vue.d.ts +21 -0
  352. package/dist/types/components/ui/sidebar/SidebarMenuAction.vue.d.ts +25 -0
  353. package/dist/types/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
  354. package/dist/types/components/ui/sidebar/SidebarMenuButton.vue.d.ts +27 -0
  355. package/dist/types/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
  356. package/dist/types/components/ui/sidebar/SidebarMenuItem.vue.d.ts +21 -0
  357. package/dist/types/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +7 -0
  358. package/dist/types/components/ui/sidebar/SidebarMenuSub.vue.d.ts +21 -0
  359. package/dist/types/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
  360. package/dist/types/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
  361. package/dist/types/components/ui/sidebar/SidebarProvider.vue.d.ts +30 -0
  362. package/dist/types/components/ui/sidebar/SidebarRail.vue.d.ts +21 -0
  363. package/dist/types/components/ui/sidebar/SidebarSeparator.vue.d.ts +21 -0
  364. package/dist/types/components/ui/sidebar/SidebarTrigger.vue.d.ts +6 -0
  365. package/dist/types/components/ui/sidebar/index.d.ts +37 -0
  366. package/dist/types/components/ui/sidebar/utils.d.ts +56 -0
  367. package/dist/types/components/ui/skeleton/Skeleton.vue.d.ts +6 -0
  368. package/dist/types/components/ui/skeleton/index.d.ts +1 -0
  369. package/dist/types/components/ui/sonner/Sonner.vue.d.ts +3 -0
  370. package/dist/types/components/ui/sonner/index.d.ts +1 -0
  371. package/dist/types/components/ui/spring-calendar/SpringCalendar.vue.d.ts +21 -0
  372. package/dist/types/components/ui/spring-calendar/TextMorph.vue.d.ts +14 -0
  373. package/dist/types/components/ui/spring-calendar/index.d.ts +2 -0
  374. package/dist/types/components/ui/switch/Switch.vue.d.ts +26 -0
  375. package/dist/types/components/ui/switch/index.d.ts +1 -0
  376. package/dist/types/components/ui/table/Table.vue.d.ts +21 -0
  377. package/dist/types/components/ui/table/TableBody.vue.d.ts +21 -0
  378. package/dist/types/components/ui/table/TableCaption.vue.d.ts +21 -0
  379. package/dist/types/components/ui/table/TableCell.vue.d.ts +21 -0
  380. package/dist/types/components/ui/table/TableEmpty.vue.d.ts +24 -0
  381. package/dist/types/components/ui/table/TableFooter.vue.d.ts +21 -0
  382. package/dist/types/components/ui/table/TableHead.vue.d.ts +21 -0
  383. package/dist/types/components/ui/table/TableHeader.vue.d.ts +21 -0
  384. package/dist/types/components/ui/table/TableRow.vue.d.ts +21 -0
  385. package/dist/types/components/ui/table/index.d.ts +9 -0
  386. package/dist/types/components/ui/table/utils.d.ts +3 -0
  387. package/dist/types/components/ui/tabs/Tabs.vue.d.ts +23 -0
  388. package/dist/types/components/ui/tabs/TabsContent.vue.d.ts +22 -0
  389. package/dist/types/components/ui/tabs/TabsList.vue.d.ts +22 -0
  390. package/dist/types/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
  391. package/dist/types/components/ui/tabs/index.d.ts +4 -0
  392. package/dist/types/components/ui/tailwind-color-picker/TailwindColorPicker.vue.d.ts +12 -0
  393. package/dist/types/components/ui/tailwind-color-picker/index.d.ts +1 -0
  394. package/dist/types/components/ui/textarea/Textarea.vue.d.ts +12 -0
  395. package/dist/types/components/ui/textarea/index.d.ts +1 -0
  396. package/dist/types/components/ui/toggle/Toggle.vue.d.ts +33 -0
  397. package/dist/types/components/ui/toggle/index.d.ts +7 -0
  398. package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +22 -0
  399. package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
  400. package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
  401. package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
  402. package/dist/types/components/ui/tooltip/index.d.ts +4 -0
  403. package/dist/types/composables/useCms.d.ts +4 -0
  404. package/dist/types/index.d.ts +3 -0
  405. package/dist/types/lib/interpolation.d.ts +8 -0
  406. package/dist/types/lib/utils.d.ts +6 -0
  407. package/dist/types/types/index.d.ts +36 -0
  408. package/dist/types/vite.config.d.ts +2 -0
  409. package/package.json +19 -1
  410. package/assets/icons/SFTP.webp +0 -0
  411. package/assets/icons/cloudflare.webp +0 -0
  412. package/assets/icons/firebase.webp +0 -0
  413. package/assets/icons/mysql.webp +0 -0
  414. package/assets/icons/openai.webp +0 -0
  415. package/assets/icons/postgresql.webp +0 -0
  416. package/assets/icons/storefront.webp +0 -0
  417. package/assets/icons/twilio.webp +0 -0
  418. package/components/ui/apple-emoji/AppleEmoji.vue +0 -32
  419. package/components/ui/apple-emoji/index.ts +0 -1
  420. package/components/ui/avatar/Avatar.vue +0 -18
  421. package/components/ui/avatar/AvatarFallback.vue +0 -23
  422. package/components/ui/avatar/AvatarImage.vue +0 -16
  423. package/components/ui/avatar/index.ts +0 -3
  424. package/components/ui/badge/Badge.vue +0 -39
  425. package/components/ui/badge/index.ts +0 -1
  426. package/components/ui/breadcrumb/Breadcrumb.vue +0 -17
  427. package/components/ui/breadcrumb/BreadcrumbEllipsis.vue +0 -23
  428. package/components/ui/breadcrumb/BreadcrumbItem.vue +0 -17
  429. package/components/ui/breadcrumb/BreadcrumbLink.vue +0 -20
  430. package/components/ui/breadcrumb/BreadcrumbList.vue +0 -17
  431. package/components/ui/breadcrumb/BreadcrumbPage.vue +0 -20
  432. package/components/ui/breadcrumb/BreadcrumbSeparator.vue +0 -22
  433. package/components/ui/breadcrumb/index.ts +0 -7
  434. package/components/ui/button/Button.vue +0 -39
  435. package/components/ui/button/index.ts +0 -36
  436. package/components/ui/calendar/Calendar.vue +0 -63
  437. package/components/ui/calendar/CalendarCell.vue +0 -25
  438. package/components/ui/calendar/CalendarCellTrigger.vue +0 -41
  439. package/components/ui/calendar/CalendarGrid.vue +0 -25
  440. package/components/ui/calendar/CalendarGridBody.vue +0 -14
  441. package/components/ui/calendar/CalendarGridHead.vue +0 -15
  442. package/components/ui/calendar/CalendarGridRow.vue +0 -24
  443. package/components/ui/calendar/CalendarHeadCell.vue +0 -25
  444. package/components/ui/calendar/CalendarHeader.vue +0 -25
  445. package/components/ui/calendar/CalendarHeading.vue +0 -32
  446. package/components/ui/calendar/CalendarNextButton.vue +0 -34
  447. package/components/ui/calendar/CalendarPrevButton.vue +0 -34
  448. package/components/ui/calendar/index.ts +0 -12
  449. package/components/ui/card/Card.vue +0 -22
  450. package/components/ui/card/CardAction.vue +0 -17
  451. package/components/ui/card/CardContent.vue +0 -17
  452. package/components/ui/card/CardDescription.vue +0 -17
  453. package/components/ui/card/CardFooter.vue +0 -17
  454. package/components/ui/card/CardHeader.vue +0 -17
  455. package/components/ui/card/CardTitle.vue +0 -17
  456. package/components/ui/card/index.ts +0 -7
  457. package/components/ui/checkbox/Checkbox.vue +0 -37
  458. package/components/ui/checkbox/index.ts +0 -1
  459. package/components/ui/code-editor/CodeEditor.vue +0 -88
  460. package/components/ui/code-editor/index.ts +0 -1
  461. package/components/ui/code-editor/interpolationHighlight.ts +0 -39
  462. package/components/ui/collapsible/Collapsible.vue +0 -19
  463. package/components/ui/collapsible/CollapsibleContent.vue +0 -14
  464. package/components/ui/collapsible/CollapsibleTrigger.vue +0 -14
  465. package/components/ui/collapsible/index.ts +0 -3
  466. package/components/ui/combobox/Combobox.vue +0 -17
  467. package/components/ui/combobox/ComboboxAnchor.vue +0 -26
  468. package/components/ui/combobox/ComboboxEmpty.vue +0 -24
  469. package/components/ui/combobox/ComboboxGroup.vue +0 -30
  470. package/components/ui/combobox/ComboboxInput.vue +0 -47
  471. package/components/ui/combobox/ComboboxItem.vue +0 -27
  472. package/components/ui/combobox/ComboboxItemIndicator.vue +0 -26
  473. package/components/ui/combobox/ComboboxList.vue +0 -31
  474. package/components/ui/combobox/ComboboxSeparator.vue +0 -24
  475. package/components/ui/combobox/ComboboxTrigger.vue +0 -27
  476. package/components/ui/combobox/ComboboxViewport.vue +0 -26
  477. package/components/ui/combobox/index.ts +0 -12
  478. package/components/ui/command/Command.vue +0 -93
  479. package/components/ui/command/CommandDialog.vue +0 -31
  480. package/components/ui/command/CommandEmpty.vue +0 -29
  481. package/components/ui/command/CommandGroup.vue +0 -47
  482. package/components/ui/command/CommandInput.vue +0 -41
  483. package/components/ui/command/CommandItem.vue +0 -79
  484. package/components/ui/command/CommandList.vue +0 -28
  485. package/components/ui/command/CommandSeparator.vue +0 -24
  486. package/components/ui/command/CommandShortcut.vue +0 -17
  487. package/components/ui/command/index.ts +0 -25
  488. package/components/ui/context-menu/ContextMenu.vue +0 -18
  489. package/components/ui/context-menu/ContextMenuCheckboxItem.vue +0 -41
  490. package/components/ui/context-menu/ContextMenuContent.vue +0 -37
  491. package/components/ui/context-menu/ContextMenuGroup.vue +0 -14
  492. package/components/ui/context-menu/ContextMenuItem.vue +0 -42
  493. package/components/ui/context-menu/ContextMenuLabel.vue +0 -24
  494. package/components/ui/context-menu/ContextMenuPortal.vue +0 -14
  495. package/components/ui/context-menu/ContextMenuRadioGroup.vue +0 -22
  496. package/components/ui/context-menu/ContextMenuRadioItem.vue +0 -41
  497. package/components/ui/context-menu/ContextMenuSeparator.vue +0 -24
  498. package/components/ui/context-menu/ContextMenuShortcut.vue +0 -17
  499. package/components/ui/context-menu/ContextMenuSub.vue +0 -22
  500. package/components/ui/context-menu/ContextMenuSubContent.vue +0 -36
  501. package/components/ui/context-menu/ContextMenuSubTrigger.vue +0 -35
  502. package/components/ui/context-menu/ContextMenuTrigger.vue +0 -16
  503. package/components/ui/context-menu/index.ts +0 -14
  504. package/components/ui/custom-dialog/CustomDialog.vue +0 -31
  505. package/components/ui/custom-dialog/index.ts +0 -1
  506. package/components/ui/dialog/Dialog.vue +0 -17
  507. package/components/ui/dialog/DialogClose.vue +0 -14
  508. package/components/ui/dialog/DialogContent.vue +0 -49
  509. package/components/ui/dialog/DialogDescription.vue +0 -25
  510. package/components/ui/dialog/DialogFooter.vue +0 -15
  511. package/components/ui/dialog/DialogHeader.vue +0 -17
  512. package/components/ui/dialog/DialogOverlay.vue +0 -23
  513. package/components/ui/dialog/DialogScrollContent.vue +0 -59
  514. package/components/ui/dialog/DialogTitle.vue +0 -25
  515. package/components/ui/dialog/DialogTrigger.vue +0 -14
  516. package/components/ui/dialog/index.ts +0 -10
  517. package/components/ui/drawer/Drawer.vue +0 -22
  518. package/components/ui/drawer/DrawerClose.vue +0 -15
  519. package/components/ui/drawer/DrawerContent.vue +0 -34
  520. package/components/ui/drawer/DrawerDescription.vue +0 -24
  521. package/components/ui/drawer/DrawerFooter.vue +0 -17
  522. package/components/ui/drawer/DrawerHeader.vue +0 -17
  523. package/components/ui/drawer/DrawerOverlay.vue +0 -22
  524. package/components/ui/drawer/DrawerTitle.vue +0 -24
  525. package/components/ui/drawer/DrawerTrigger.vue +0 -15
  526. package/components/ui/drawer/index.ts +0 -9
  527. package/components/ui/dropdown-menu/DropdownMenu.vue +0 -17
  528. package/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -41
  529. package/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -39
  530. package/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -14
  531. package/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -30
  532. package/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -22
  533. package/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -22
  534. package/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -42
  535. package/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -26
  536. package/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -17
  537. package/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -19
  538. package/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -31
  539. package/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -30
  540. package/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -16
  541. package/components/ui/dropdown-menu/index.ts +0 -16
  542. package/components/ui/emoji-picker/EmojiPicker.vue +0 -71
  543. package/components/ui/emoji-picker/index.ts +0 -1
  544. package/components/ui/flow-builder/FlowBuilder.vue +0 -48
  545. package/components/ui/flow-builder/FlowBuilderSelect.vue +0 -33
  546. package/components/ui/flow-builder/components/Builder.vue +0 -287
  547. package/components/ui/flow-builder/components/DropzoneBackground.vue +0 -13
  548. package/components/ui/flow-builder/components/EdgeEditor.vue +0 -36
  549. package/components/ui/flow-builder/components/Menu.vue +0 -78
  550. package/components/ui/flow-builder/components/NodeEditor.vue +0 -181
  551. package/components/ui/flow-builder/components/edge-editor/DataEdgeEditor.vue +0 -64
  552. package/components/ui/flow-builder/components/edges/DataEdge.vue +0 -87
  553. package/components/ui/flow-builder/components/node-editor/ApiRequestEditor.vue +0 -150
  554. package/components/ui/flow-builder/components/node-editor/ConfettiEditor.vue +0 -23
  555. package/components/ui/flow-builder/components/node-editor/ConfirmEditor.vue +0 -30
  556. package/components/ui/flow-builder/components/node-editor/FinishFlowEditor.vue +0 -33
  557. package/components/ui/flow-builder/components/node-editor/IntegrationActionEditor.vue +0 -50
  558. package/components/ui/flow-builder/components/node-editor/SetVariableEditor.vue +0 -71
  559. package/components/ui/flow-builder/components/node-editor/ShowDialogEditor.vue +0 -26
  560. package/components/ui/flow-builder/components/node-editor/ShowModuleEditor.vue +0 -92
  561. package/components/ui/flow-builder/components/node-editor/ShowToastEditor.vue +0 -28
  562. package/components/ui/flow-builder/components/node-editor/TransformDataEditor.vue +0 -27
  563. package/components/ui/flow-builder/components/node-editor/VisitUrlEditor.vue +0 -31
  564. package/components/ui/flow-builder/components/nodes/ApiRequestNode.vue +0 -45
  565. package/components/ui/flow-builder/components/nodes/ConfettiNode.vue +0 -32
  566. package/components/ui/flow-builder/components/nodes/ConfirmNode.vue +0 -45
  567. package/components/ui/flow-builder/components/nodes/EmptyNode.vue +0 -26
  568. package/components/ui/flow-builder/components/nodes/FinishFlowNode.vue +0 -30
  569. package/components/ui/flow-builder/components/nodes/IntegrationActionNode.vue +0 -52
  570. package/components/ui/flow-builder/components/nodes/SetVariableNode.vue +0 -34
  571. package/components/ui/flow-builder/components/nodes/ShowDialogNode.vue +0 -34
  572. package/components/ui/flow-builder/components/nodes/ShowModuleNode.vue +0 -34
  573. package/components/ui/flow-builder/components/nodes/ShowToastNode.vue +0 -35
  574. package/components/ui/flow-builder/components/nodes/StartNode.vue +0 -27
  575. package/components/ui/flow-builder/components/nodes/TransformDataNode.vue +0 -34
  576. package/components/ui/flow-builder/components/nodes/VisitUrlNode.vue +0 -34
  577. package/components/ui/flow-builder/components/toolbars/ApiRequestToolbar.vue +0 -45
  578. package/components/ui/flow-builder/components/toolbars/ConfirmToolbar.vue +0 -45
  579. package/components/ui/flow-builder/components/toolbars/DefaultToolbar.vue +0 -42
  580. package/components/ui/flow-builder/components/toolbars/IntegrationActionToolbar.vue +0 -45
  581. package/components/ui/flow-builder/components/variables/Widget.vue +0 -137
  582. package/components/ui/flow-builder/composables/outputRegistry.ts +0 -33
  583. package/components/ui/flow-builder/composables/taskHandlers.js +0 -185
  584. package/components/ui/flow-builder/composables/useLayout.js +0 -60
  585. package/components/ui/flow-builder/composables/useProcessNodeLogic.js +0 -55
  586. package/components/ui/flow-builder/composables/useRunProcess.js +0 -267
  587. package/components/ui/flow-builder/index.ts +0 -5
  588. package/components/ui/flow-builder/types.ts +0 -7
  589. package/components/ui/form/FormControl.vue +0 -17
  590. package/components/ui/form/FormDescription.vue +0 -21
  591. package/components/ui/form/FormItem.vue +0 -22
  592. package/components/ui/form/FormLabel.vue +0 -25
  593. package/components/ui/form/FormMessage.vue +0 -22
  594. package/components/ui/form/index.ts +0 -7
  595. package/components/ui/form/injectionKeys.ts +0 -4
  596. package/components/ui/form/useFormField.ts +0 -30
  597. package/components/ui/form-builder/FormBuilder.vue +0 -45
  598. package/components/ui/form-builder/FormBuilderSelect.vue +0 -42
  599. package/components/ui/form-builder/FormDisplayer.vue +0 -39
  600. package/components/ui/form-builder/components/AdminElementEditor.vue +0 -48
  601. package/components/ui/form-builder/components/AdminToolbar.vue +0 -60
  602. package/components/ui/form-builder/components/AdminToolbarView.vue +0 -19
  603. package/components/ui/form-builder/components/CustomDashboard.vue +0 -312
  604. package/components/ui/form-builder/components/FormBuilderWrapper.vue +0 -333
  605. package/components/ui/form-builder/components/admin/Transformer.vue +0 -25
  606. package/components/ui/form-builder/components/admin/element-setting-views/Button.vue +0 -30
  607. package/components/ui/form-builder/components/admin/element-setting-views/Checkbox.vue +0 -23
  608. package/components/ui/form-builder/components/admin/element-setting-views/Label.vue +0 -13
  609. package/components/ui/form-builder/components/admin/element-setting-views/Radios.vue +0 -85
  610. package/components/ui/form-builder/components/admin/element-setting-views/Scanner.vue +0 -15
  611. package/components/ui/form-builder/components/admin/element-setting-views/Select.vue +0 -75
  612. package/components/ui/form-builder/components/admin/element-setting-views/Text.vue +0 -13
  613. package/components/ui/form-builder/components/admin/element-setting-views/Textarea.vue +0 -20
  614. package/components/ui/form-builder/components/admin/element-setting-views/Textfield.vue +0 -20
  615. package/components/ui/form-builder/components/admin/element-setting-views/index.ts +0 -21
  616. package/components/ui/form-builder/components/admin/setting-views/ApiActionsView.vue +0 -111
  617. package/components/ui/form-builder/components/admin/setting-views/NewElementView.vue +0 -200
  618. package/components/ui/form-builder/components/admin/setting-views/VariablesView.vue +0 -19
  619. package/components/ui/form-builder/components/admin/setting-views/new-element-view/DraggableElement.vue +0 -107
  620. package/components/ui/form-builder/components/admin/setting-views/variables-view/ApiActionVariables.vue +0 -27
  621. package/components/ui/form-builder/components/admin/setting-views/variables-view/RouteQueryParams.vue +0 -47
  622. package/components/ui/form-builder/components/admin/setting-views/variables-view/Transformers.vue +0 -61
  623. package/components/ui/form-builder/components/admin/setting-views/variables-view/Variables.vue +0 -74
  624. package/components/ui/form-builder/components/elements/button/Button.vue +0 -60
  625. package/components/ui/form-builder/components/elements/button/index.ts +0 -1
  626. package/components/ui/form-builder/components/elements/checkbox/Checkbox.vue +0 -40
  627. package/components/ui/form-builder/components/elements/checkbox/index.ts +0 -1
  628. package/components/ui/form-builder/components/elements/file/File.vue +0 -6
  629. package/components/ui/form-builder/components/elements/file/index.ts +0 -1
  630. package/components/ui/form-builder/components/elements/images/Images.vue +0 -28
  631. package/components/ui/form-builder/components/elements/images/index.ts +0 -1
  632. package/components/ui/form-builder/components/elements/index.ts +0 -31
  633. package/components/ui/form-builder/components/elements/items/Items.vue +0 -6
  634. package/components/ui/form-builder/components/elements/items/index.ts +0 -1
  635. package/components/ui/form-builder/components/elements/label/Label.vue +0 -20
  636. package/components/ui/form-builder/components/elements/label/index.ts +0 -1
  637. package/components/ui/form-builder/components/elements/location/Location.vue +0 -6
  638. package/components/ui/form-builder/components/elements/location/index.ts +0 -1
  639. package/components/ui/form-builder/components/elements/radios/Radios.vue +0 -42
  640. package/components/ui/form-builder/components/elements/radios/index.ts +0 -1
  641. package/components/ui/form-builder/components/elements/richtext/Richtext.vue +0 -6
  642. package/components/ui/form-builder/components/elements/richtext/index.ts +0 -1
  643. package/components/ui/form-builder/components/elements/scanner/Scanner.vue +0 -173
  644. package/components/ui/form-builder/components/elements/scanner/index.ts +0 -1
  645. package/components/ui/form-builder/components/elements/select/Select.vue +0 -49
  646. package/components/ui/form-builder/components/elements/select/index.ts +0 -1
  647. package/components/ui/form-builder/components/elements/text/Text.vue +0 -20
  648. package/components/ui/form-builder/components/elements/text/index.ts +0 -1
  649. package/components/ui/form-builder/components/elements/textarea/Textarea.vue +0 -30
  650. package/components/ui/form-builder/components/elements/textarea/index.ts +0 -1
  651. package/components/ui/form-builder/components/elements/textfield/Textfield.vue +0 -30
  652. package/components/ui/form-builder/components/elements/textfield/index.ts +0 -1
  653. package/components/ui/form-builder/index.ts +0 -3
  654. package/components/ui/input/Input.vue +0 -33
  655. package/components/ui/input/index.ts +0 -1
  656. package/components/ui/integration-action-builder/IntegrationActionBuilder.vue +0 -193
  657. package/components/ui/integration-action-builder/InterpolationField.vue +0 -29
  658. package/components/ui/integration-action-builder/index.ts +0 -1
  659. package/components/ui/integration-action-builder/integrations/firebase/AddDocument.vue +0 -43
  660. package/components/ui/integration-action-builder/integrations/firebase/DeleteDocument.vue +0 -6
  661. package/components/ui/integration-action-builder/integrations/firebase/GetCollections.vue +0 -6
  662. package/components/ui/integration-action-builder/integrations/firebase/GetDocumentById.vue +0 -6
  663. package/components/ui/integration-action-builder/integrations/firebase/QueryCollectionGroup.vue +0 -6
  664. package/components/ui/integration-action-builder/integrations/firebase/QueryFirestore.vue +0 -165
  665. package/components/ui/integration-action-builder/integrations/firebase/UpdateDocument.vue +0 -6
  666. package/components/ui/integration-action-builder/integrations/firebase/index.ts +0 -204
  667. package/components/ui/integration-action-builder/integrations/index.ts +0 -9
  668. package/components/ui/integration-action-builder/integrations/openai/AddDocument.vue +0 -43
  669. package/components/ui/integration-action-builder/integrations/openai/GenerateText.vue +0 -40
  670. package/components/ui/integration-action-builder/integrations/openai/components/ModelSelector.vue +0 -75
  671. package/components/ui/integration-action-builder/integrations/openai/index.ts +0 -116
  672. package/components/ui/integration-action-builder/integrations/twilio/MakeCall.vue +0 -40
  673. package/components/ui/integration-action-builder/integrations/twilio/SendSMS.vue +0 -39
  674. package/components/ui/integration-action-builder/integrations/twilio/components/ModelSelector.vue +0 -75
  675. package/components/ui/integration-action-builder/integrations/twilio/index.ts +0 -68
  676. package/components/ui/integration-icon/IntegrationIcon.vue +0 -18
  677. package/components/ui/integration-icon/index.ts +0 -1
  678. package/components/ui/label/Label.vue +0 -28
  679. package/components/ui/label/index.ts +0 -1
  680. package/components/ui/lucide-icon-selector/LucideIconPicker.vue +0 -34
  681. package/components/ui/lucide-icon-selector/LucideIconSelector.vue +0 -55
  682. package/components/ui/lucide-icon-selector/index.ts +0 -2
  683. package/components/ui/media-picker/MediaPicker.vue +0 -40
  684. package/components/ui/media-picker/MediaPickerDialog.vue +0 -306
  685. package/components/ui/media-picker/MediaPickerItems.vue +0 -342
  686. package/components/ui/media-picker/index.ts +0 -2
  687. package/components/ui/media-picker/media-picker-dialog/Dropzone.vue +0 -104
  688. package/components/ui/media-picker/media-picker-dialog/FileItem.vue +0 -108
  689. package/components/ui/media-picker/media-picker-dialog/Filters.vue +0 -78
  690. package/components/ui/menubar/Menubar.vue +0 -36
  691. package/components/ui/menubar/MenubarCheckboxItem.vue +0 -41
  692. package/components/ui/menubar/MenubarContent.vue +0 -44
  693. package/components/ui/menubar/MenubarGroup.vue +0 -14
  694. package/components/ui/menubar/MenubarItem.vue +0 -37
  695. package/components/ui/menubar/MenubarLabel.vue +0 -19
  696. package/components/ui/menubar/MenubarMenu.vue +0 -14
  697. package/components/ui/menubar/MenubarRadioGroup.vue +0 -22
  698. package/components/ui/menubar/MenubarRadioItem.vue +0 -41
  699. package/components/ui/menubar/MenubarSeparator.vue +0 -23
  700. package/components/ui/menubar/MenubarShortcut.vue +0 -17
  701. package/components/ui/menubar/MenubarSub.vue +0 -22
  702. package/components/ui/menubar/MenubarSubContent.vue +0 -39
  703. package/components/ui/menubar/MenubarSubTrigger.vue +0 -27
  704. package/components/ui/menubar/MenubarTrigger.vue +0 -30
  705. package/components/ui/menubar/index.ts +0 -15
  706. package/components/ui/number-field/NumberField.vue +0 -23
  707. package/components/ui/number-field/NumberFieldContent.vue +0 -14
  708. package/components/ui/number-field/NumberFieldDecrement.vue +0 -25
  709. package/components/ui/number-field/NumberFieldIncrement.vue +0 -25
  710. package/components/ui/number-field/NumberFieldInput.vue +0 -16
  711. package/components/ui/number-field/index.ts +0 -5
  712. package/components/ui/pagination/PaginationEllipsis.vue +0 -22
  713. package/components/ui/pagination/PaginationFirst.vue +0 -29
  714. package/components/ui/pagination/PaginationLast.vue +0 -29
  715. package/components/ui/pagination/PaginationNext.vue +0 -29
  716. package/components/ui/pagination/PaginationPrev.vue +0 -29
  717. package/components/ui/pagination/index.ts +0 -10
  718. package/components/ui/popover/Popover.vue +0 -18
  719. package/components/ui/popover/PopoverAnchor.vue +0 -15
  720. package/components/ui/popover/PopoverContent.vue +0 -49
  721. package/components/ui/popover/PopoverTrigger.vue +0 -14
  722. package/components/ui/popover/index.ts +0 -4
  723. package/components/ui/query-builder-dialog/QueryBuilderDialog.vue +0 -389
  724. package/components/ui/query-builder-dialog/index.ts +0 -1
  725. package/components/ui/radio-group/RadioGroup.vue +0 -30
  726. package/components/ui/radio-group/RadioGroupItem.vue +0 -43
  727. package/components/ui/radio-group/index.ts +0 -2
  728. package/components/ui/range-calendar/RangeCalendar.vue +0 -57
  729. package/components/ui/range-calendar/RangeCalendarCell.vue +0 -21
  730. package/components/ui/range-calendar/RangeCalendarCellTrigger.vue +0 -37
  731. package/components/ui/range-calendar/RangeCalendarGrid.vue +0 -21
  732. package/components/ui/range-calendar/RangeCalendarGridBody.vue +0 -11
  733. package/components/ui/range-calendar/RangeCalendarGridHead.vue +0 -11
  734. package/components/ui/range-calendar/RangeCalendarGridRow.vue +0 -18
  735. package/components/ui/range-calendar/RangeCalendarHeadCell.vue +0 -18
  736. package/components/ui/range-calendar/RangeCalendarHeader.vue +0 -18
  737. package/components/ui/range-calendar/RangeCalendarHeading.vue +0 -28
  738. package/components/ui/range-calendar/RangeCalendarNextButton.vue +0 -29
  739. package/components/ui/range-calendar/RangeCalendarPrevButton.vue +0 -29
  740. package/components/ui/range-calendar/index.ts +0 -12
  741. package/components/ui/resizable/ResizableHandle.vue +0 -27
  742. package/components/ui/resizable/ResizablePanel.vue +0 -18
  743. package/components/ui/resizable/ResizablePanelGroup.vue +0 -25
  744. package/components/ui/resizable/index.ts +0 -3
  745. package/components/ui/ripple-button/RippleButton.vue +0 -97
  746. package/components/ui/ripple-button/index.ts +0 -1
  747. package/components/ui/sandbox/Sandbox.vue +0 -35
  748. package/components/ui/sandbox/index.ts +0 -1
  749. package/components/ui/scroll-area/ScrollArea.vue +0 -36
  750. package/components/ui/scroll-area/ScrollBar.vue +0 -34
  751. package/components/ui/scroll-area/index.ts +0 -2
  752. package/components/ui/segmented-control/SegmentedControl.vue +0 -121
  753. package/components/ui/segmented-control/SegmentedControlButton.vue +0 -64
  754. package/components/ui/segmented-control/index.ts +0 -2
  755. package/components/ui/select/Select.vue +0 -18
  756. package/components/ui/select/SelectContent.vue +0 -55
  757. package/components/ui/select/SelectGroup.vue +0 -14
  758. package/components/ui/select/SelectItem.vue +0 -45
  759. package/components/ui/select/SelectItemText.vue +0 -14
  760. package/components/ui/select/SelectLabel.vue +0 -16
  761. package/components/ui/select/SelectScrollDownButton.vue +0 -28
  762. package/components/ui/select/SelectScrollUpButton.vue +0 -28
  763. package/components/ui/select/SelectSeparator.vue +0 -21
  764. package/components/ui/select/SelectTrigger.vue +0 -32
  765. package/components/ui/select/SelectValue.vue +0 -15
  766. package/components/ui/select/index.ts +0 -11
  767. package/components/ui/separator/Separator.vue +0 -28
  768. package/components/ui/separator/index.ts +0 -1
  769. package/components/ui/sheet/Sheet.vue +0 -17
  770. package/components/ui/sheet/SheetClose.vue +0 -14
  771. package/components/ui/sheet/SheetContent.vue +0 -65
  772. package/components/ui/sheet/SheetDescription.vue +0 -20
  773. package/components/ui/sheet/SheetFooter.vue +0 -16
  774. package/components/ui/sheet/SheetHeader.vue +0 -15
  775. package/components/ui/sheet/SheetOverlay.vue +0 -24
  776. package/components/ui/sheet/SheetTitle.vue +0 -20
  777. package/components/ui/sheet/SheetTrigger.vue +0 -14
  778. package/components/ui/sheet/index.ts +0 -8
  779. package/components/ui/sidebar/Sidebar.vue +0 -96
  780. package/components/ui/sidebar/SidebarContent.vue +0 -18
  781. package/components/ui/sidebar/SidebarFooter.vue +0 -18
  782. package/components/ui/sidebar/SidebarGroup.vue +0 -18
  783. package/components/ui/sidebar/SidebarGroupAction.vue +0 -27
  784. package/components/ui/sidebar/SidebarGroupContent.vue +0 -18
  785. package/components/ui/sidebar/SidebarGroupLabel.vue +0 -25
  786. package/components/ui/sidebar/SidebarHeader.vue +0 -18
  787. package/components/ui/sidebar/SidebarInput.vue +0 -22
  788. package/components/ui/sidebar/SidebarInset.vue +0 -21
  789. package/components/ui/sidebar/SidebarMenu.vue +0 -18
  790. package/components/ui/sidebar/SidebarMenuAction.vue +0 -34
  791. package/components/ui/sidebar/SidebarMenuBadge.vue +0 -26
  792. package/components/ui/sidebar/SidebarMenuButton.vue +0 -49
  793. package/components/ui/sidebar/SidebarMenuButtonChild.vue +0 -34
  794. package/components/ui/sidebar/SidebarMenuItem.vue +0 -18
  795. package/components/ui/sidebar/SidebarMenuSkeleton.vue +0 -34
  796. package/components/ui/sidebar/SidebarMenuSub.vue +0 -22
  797. package/components/ui/sidebar/SidebarMenuSubButton.vue +0 -36
  798. package/components/ui/sidebar/SidebarMenuSubItem.vue +0 -18
  799. package/components/ui/sidebar/SidebarProvider.vue +0 -81
  800. package/components/ui/sidebar/SidebarRail.vue +0 -33
  801. package/components/ui/sidebar/SidebarSeparator.vue +0 -19
  802. package/components/ui/sidebar/SidebarTrigger.vue +0 -27
  803. package/components/ui/sidebar/index.ts +0 -60
  804. package/components/ui/sidebar/utils.ts +0 -19
  805. package/components/ui/skeleton/Skeleton.vue +0 -17
  806. package/components/ui/skeleton/index.ts +0 -1
  807. package/components/ui/sonner/Sonner.vue +0 -18
  808. package/components/ui/sonner/index.ts +0 -1
  809. package/components/ui/spring-calendar/SpringCalendar.vue +0 -110
  810. package/components/ui/spring-calendar/TextMorph.vue +0 -160
  811. package/components/ui/spring-calendar/index.ts +0 -2
  812. package/components/ui/switch/Switch.vue +0 -41
  813. package/components/ui/switch/index.ts +0 -1
  814. package/components/ui/table/Table.vue +0 -16
  815. package/components/ui/table/TableBody.vue +0 -17
  816. package/components/ui/table/TableCaption.vue +0 -17
  817. package/components/ui/table/TableCell.vue +0 -22
  818. package/components/ui/table/TableEmpty.vue +0 -37
  819. package/components/ui/table/TableFooter.vue +0 -17
  820. package/components/ui/table/TableHead.vue +0 -17
  821. package/components/ui/table/TableHeader.vue +0 -17
  822. package/components/ui/table/TableRow.vue +0 -17
  823. package/components/ui/table/index.ts +0 -9
  824. package/components/ui/table/utils.ts +0 -9
  825. package/components/ui/tabs/Tabs.vue +0 -15
  826. package/components/ui/tabs/TabsContent.vue +0 -22
  827. package/components/ui/tabs/TabsList.vue +0 -25
  828. package/components/ui/tabs/TabsTrigger.vue +0 -29
  829. package/components/ui/tabs/index.ts +0 -4
  830. package/components/ui/tailwind-color-picker/TailwindColorPicker.vue +0 -58
  831. package/components/ui/tailwind-color-picker/index.ts +0 -1
  832. package/components/ui/textarea/Textarea.vue +0 -28
  833. package/components/ui/textarea/index.ts +0 -1
  834. package/components/ui/toggle/Toggle.vue +0 -32
  835. package/components/ui/toggle/index.ts +0 -27
  836. package/components/ui/tooltip/Tooltip.vue +0 -17
  837. package/components/ui/tooltip/TooltipContent.vue +0 -33
  838. package/components/ui/tooltip/TooltipProvider.vue +0 -13
  839. package/components/ui/tooltip/TooltipTrigger.vue +0 -14
  840. package/components/ui/tooltip/index.ts +0 -4
  841. package/composables/useCms.ts +0 -11
  842. package/index.ts +0 -10
  843. package/lib/interpolation.ts +0 -77
  844. package/lib/utils.ts +0 -24
  845. package/styles/components/code-editor.css +0 -52
  846. package/styles/components/flow-builder.css +0 -159
  847. package/styles/index.css +0 -2
  848. package/tsconfig.json +0 -19
  849. package/types/index.ts +0 -41
  850. package/vite.config.ts +0 -31
@@ -1,19 +0,0 @@
1
- <script setup lang="ts">
2
- import NewElementView from './admin/setting-views/NewElementView.vue';
3
- import ApiActionsView from './admin/setting-views/ApiActionsView.vue';
4
- import VariablesView from './admin/setting-views/VariablesView.vue';
5
-
6
- const props = defineProps({
7
- view: {
8
- type: String
9
- }
10
- })
11
- </script>
12
-
13
- <template>
14
- <div class="flex flex-col shrink-0 p-2 rounded-xl border bg-card overflow-y-auto w-[275px] @7xl/custom-dashboard:w-[325px]" v-if="view">
15
- <NewElementView v-if="view === 'new-element'" />
16
- <ApiActionsView v-else-if="view === 'api-actions'" />
17
- <VariablesView v-else-if="view === 'variables'" />
18
- </div>
19
- </template>
@@ -1,312 +0,0 @@
1
- <script setup lang="ts">
2
- import { ref, inject, onMounted, onUnmounted, computed } from 'vue'
3
- import { GridLayout, GridItem } from 'vue-grid-layout-v3';
4
- import { elementComponents } from './elements';
5
- import { cn } from '../../../../lib/utils'
6
- import { useElementSize } from '@vueuse/core'
7
- import { interpolateTemplateFromVariableContext } from '../../../../lib/interpolation'
8
-
9
- const confirmation = useConfirmation()
10
-
11
- const overlayStack = useOverlayStack()
12
-
13
- const randomId = crypto.randomUUID()
14
-
15
- const state = inject('state') as { layout: any[], layoutRef: any, colNum: number, itemRefs: any };
16
- const isDragging = inject('isDragging');
17
- const activeElement = inject('activeElement');
18
- const selectedItems = inject('selectedItems');
19
- const isEditMode = inject('isEditMode', ref(false));
20
- const allAvailableVariables = inject('allAvailableVariables')
21
-
22
- const containerRef = useTemplateRef('containerRef')
23
- const { width: containerWidth, height: containerHeight } = useElementSize(containerRef)
24
-
25
- function setItemRef(item, e) {
26
- state.itemRefs[item.i] = e;
27
- }
28
-
29
- function setLayoutRef(e) {
30
- state.layoutRef = e;
31
- }
32
-
33
- const setActive = (item) => {
34
- activeElement.value = item;
35
- }
36
-
37
- let containerEl: HTMLElement;
38
- let selectionBox: HTMLElement;
39
- let startX, startY;
40
- const isSelecting = ref(false);
41
-
42
- const startSelectionDrag = (e: MouseEvent) => {
43
- if (!isEditMode.value) return;
44
-
45
- const target = e.target as HTMLElement;
46
- const isInsideItem = target.closest('.vue-grid-item');
47
- if (isInsideItem) return;
48
-
49
- isSelecting.value = true;
50
-
51
- const rect = containerEl.getBoundingClientRect();
52
- const scrollTop = containerEl.scrollTop;
53
- const scrollLeft = containerEl.scrollLeft;
54
-
55
- startX = e.clientX - rect.left + scrollLeft;
56
- startY = e.clientY - rect.top + scrollTop;
57
-
58
- selectionBox.style.left = startX + 'px';
59
- selectionBox.style.top = startY + 'px';
60
- selectionBox.style.width = '0px';
61
- selectionBox.style.height = '0px';
62
- selectionBox.style.opacity = '1';
63
- };
64
-
65
- const updateSelectionDrag = (e: MouseEvent) => {
66
- if (!isEditMode.value || !isSelecting.value) return;
67
-
68
- const rect = containerEl.getBoundingClientRect();
69
- const scrollTop = containerEl.scrollTop;
70
- const scrollLeft = containerEl.scrollLeft;
71
-
72
- const currentX = e.clientX - rect.left + scrollLeft;
73
- const currentY = e.clientY - rect.top + scrollTop;
74
-
75
- const x = Math.min(startX, currentX);
76
- const y = Math.min(startY, currentY);
77
- const width = Math.abs(startX - currentX);
78
- const height = Math.abs(startY - currentY);
79
-
80
- selectionBox.style.left = x + 'px';
81
- selectionBox.style.top = y + 'px';
82
- selectionBox.style.width = width + 'px';
83
- selectionBox.style.height = height + 'px';
84
- };
85
-
86
- const endSelectionDrag = () => {
87
- if (!isEditMode.value) return;
88
- isSelecting.value = false;
89
- selectionBox.style.opacity = '0';
90
-
91
- const rect = selectionBox.getBoundingClientRect();
92
- const items = document.querySelectorAll('#custom-form-builder .vue-grid-item:not(.vue-grid-placeholder)');
93
-
94
- if (rect.width > 3 || rect.height > 3) {
95
- selectedItems.value = [];
96
- activeElement.value = null;
97
- }
98
-
99
- items.forEach(item => {
100
- const itemRect = item.getBoundingClientRect();
101
- const fullyContained =
102
- itemRect.left >= rect.left &&
103
- itemRect.right <= rect.right &&
104
- itemRect.top >= rect.top &&
105
- itemRect.bottom <= rect.bottom;
106
-
107
- if (fullyContained) {
108
- const id = item.getAttribute('data-grid-id');
109
- selectedItems.value.push(parseInt(id));
110
- }
111
- });
112
-
113
- selectionBox.style.left = '0px';
114
- selectionBox.style.top = '0px';
115
- selectionBox.style.width = '0px';
116
- selectionBox.style.height = '0px';
117
- }
118
-
119
- function isTypingInInput(): boolean {
120
- const tag = document.activeElement?.tagName.toLowerCase();
121
- const isContentEditable = document.activeElement?.getAttribute('contenteditable');
122
- return ['input', 'textarea', 'select'].includes(tag) || isContentEditable === 'true';
123
- }
124
-
125
- async function handleKeydown(event: KeyboardEvent) {
126
- if (!overlayStack.isTop(randomId)) return
127
-
128
- if (isEditMode.value && event.key === 'Backspace' && !isTypingInInput() && (selectedItems.value.length > 0 || activeElement.value)) {
129
- event.preventDefault(); // optional
130
- const confirmed = await confirmation.confirm(`Are you sure you want to delete ${selectedItems.value.length > 1 ? 'these ' + selectedItems.value.length + ' items' : 'this item'}?`)
131
- if (confirmed) {
132
- if (selectedItems.value.length > 0) {
133
- selectedItems.value.forEach((item: string) => {
134
- removeItem(item);
135
- });
136
- } else {
137
- removeItem(activeElement.value.i);
138
- }
139
- }
140
-
141
- selectedItems.value = [];
142
- activeElement.value = null;
143
- }
144
- }
145
-
146
- const colNum = computed(() => {
147
- return containerWidth.value < 480 ? 2 : 4
148
- })
149
-
150
- const removeItem = (i: string) => {
151
- state.layout.splice(state.layout.findIndex(item => item.i === i), 1);
152
- }
153
-
154
- const isHidden = (item: any) => {
155
- if (Object.keys(item).includes('visibility')) {
156
- return ![true, 'true', 1].includes(interpolateTemplateFromVariableContext(item.visibility.trim(), allAvailableVariables?.value)) // TODO niet enkel 1 maar alles boven 1 ook + eig zou je moeten fixen dat je automatisch een boolean er uit kan krijgen (+ ook string of object)
157
- }
158
- return false
159
- }
160
-
161
- onMounted(() => {
162
- overlayStack.push(randomId)
163
- selectionBox = document.getElementById('selection-box');
164
- containerEl = document.getElementById('custom-form-builder');
165
-
166
- window.addEventListener('mouseup', endSelectionDrag);
167
- window.addEventListener('mousemove', updateSelectionDrag);
168
- window.addEventListener('keydown', handleKeydown);
169
- });
170
-
171
- onUnmounted(() => {
172
- overlayStack.pop(randomId)
173
- window.removeEventListener('mouseup', endSelectionDrag);
174
- window.removeEventListener('mousemove', updateSelectionDrag);
175
- window.removeEventListener('keydown', handleKeydown);
176
- });
177
- </script>
178
-
179
- <template>
180
- <div
181
- ref="containerRef"
182
- id="custom-form-builder"
183
- class="relative block w-full h-full overflow-auto bg-background"
184
- :class="{ 'select-none': isDragging || isSelecting, 'border border-ring/50 dark:border-ring rounded-xl shadow-sm': isEditMode }"
185
- @mousedown="startSelectionDrag"
186
- >
187
- <div class="relative min-h-full flex flex-col">
188
- <div
189
- class="absolute inset-0 h-full w-full bg-grid transition-all duration-500"
190
- :class="`${isDragging ? 'dark:opacity-10 opacity-20' : 'opacity-0'}`"
191
- :style="`--colNum: ${colNum}`"
192
- v-if="isEditMode"
193
- />
194
- <GridLayout
195
- :class="`${isDragging || isSelecting ? 'select-none' : ''}`"
196
- :style="`min-height: ${containerHeight - 5}px;`"
197
- :ref="setLayoutRef"
198
- :margin="[parseInt(state.marginX), parseInt(state.marginY)]"
199
- v-model:layout="state.layout"
200
- :col-num="colNum"
201
- :row-height="state.rowHeight"
202
- :is-draggable="isEditMode"
203
- :is-resizable="isEditMode"
204
- :is-mirrored="state.mirrored"
205
- :is-bounded="state.bounded"
206
- :prevent-collision="state.preventCollision"
207
- :vertical-compact="state.compact"
208
- :restore-on-drag="state.restoreOnDrag"
209
- :use-css-transforms="true"
210
- :responsive="state.responsive"
211
- :transform-scale="state.transformScale"
212
- >
213
- <GridItem
214
- v-for="item in state.layout"
215
- :key="item.i"
216
- :ref="e => setItemRef(item, e)"
217
- class="group"
218
- :data-grid-id="item.i"
219
- :static="item.static"
220
- :x="item.x"
221
- :y="item.y"
222
- :w="item.w"
223
- :h="item.h"
224
- :i="item.i"
225
- :min-w="item.minW"
226
- :max-w="item.maxW"
227
- :min-h="item.minH"
228
- :max-h="item.maxH"
229
- :min-x="item.minX"
230
- :max-x="item.maxX"
231
- :min-y="item.minY"
232
- :max-y="item.maxY"
233
- :preserve-aspect-ratio="item.preserveAspectRatio"
234
- >
235
- <div
236
- class="w-full h-full p-2 outline-primary/70"
237
- :class="cn(
238
- isEditMode && (isDragging || isSelecting) ? 'outline outline-dashed' : '',
239
- isEditMode ? 'group-hover:outline-2' : '',
240
- isEditMode && (selectedItems.includes(item.i) || activeElement?.i === item.i) ? 'outline-2' : '',
241
- isEditMode && isHidden(item) ? 'opacity-50' : isHidden(item) ? 'hidden pointer-events-none' : ''
242
- )"
243
- @click="isEditMode ? setActive(item) : null"
244
- >
245
- <component :is="elementComponents[`CustomForm${item.component}`]" :key="item.i" v-bind="item" />
246
- </div>
247
- </GridItem>
248
- </GridLayout>
249
-
250
- <div id="selection-box" class="absolute border border-dashed border-primary bg-primary/10 opacity-0 pointer-events-none transition-opacity duration-300"></div>
251
- </div>
252
- </div>
253
- </template>
254
-
255
- <style scoped lang="scss">
256
- #custom-form-builder {
257
- &::-webkit-scrollbar {
258
- width: 5px;
259
- height: 5px;
260
- }
261
-
262
- &::-webkit-scrollbar-track {
263
- background: transparent;
264
- }
265
-
266
- &::-webkit-scrollbar-thumb {
267
- background: #494949;
268
- border-radius: 5px;
269
- }
270
-
271
- .bg-grid {
272
- --colNum: 2;
273
- background-image:
274
- /* Vertical lines (4 columns) */
275
- repeating-linear-gradient(
276
- to right,
277
- var(--primary) 0,
278
- var(--primary) 1px,
279
- transparent 1px,
280
- transparent calc(100% / var(--colNum))
281
- ),
282
- /* Horizontal lines (8px rows) */
283
- repeating-linear-gradient(
284
- to bottom,
285
- var(--primary) 0,
286
- var(--primary) 1px,
287
- transparent 1px,
288
- transparent 8px
289
- );
290
- background-size: 100% 100%;
291
- }
292
-
293
- .vue-grid-item.vue-resizable {
294
- &:hover {
295
- .vue-resizable-handle {
296
- display: block;
297
- }
298
- }
299
-
300
- .vue-resizable-handle {
301
- display: none;
302
- background: var(--color-muted);
303
- border-radius: 100px;
304
- width: 12px;
305
- height: 12px;
306
- right: -6px;
307
- bottom: -6px;
308
- border: 2px solid var(--primary);
309
- }
310
- }
311
- }
312
- </style>
@@ -1,333 +0,0 @@
1
- <script setup lang="ts">
2
- import { ref, onMounted, onUnmounted, reactive, computed, provide } from 'vue'
3
- import AdminToolbar from './AdminToolbar.vue'
4
- import AdminToolbarView from './AdminToolbarView.vue'
5
- import AdminElementEditor from './AdminElementEditor.vue'
6
- import CustomDashboard from './CustomDashboard.vue'
7
- import { Maximize2 } from 'lucide-vue-next'
8
- import { interpolateTemplateFromVariableContext } from '../../../../lib/interpolation'
9
-
10
- const route = useRoute()
11
-
12
- const props = defineProps({
13
- isPresentationMode: {
14
- type: Boolean,
15
- default: false
16
- },
17
- onFinish: {
18
- type: Function,
19
- default: () => {}
20
- },
21
- providedVariables: {
22
- type: Array,
23
- default: () => []
24
- }
25
- })
26
-
27
- const { setModuleBreadcrumbs } = useBreadcrumbs()
28
- setModuleBreadcrumbs([])
29
-
30
- const adminPanel = ref('new-element')
31
- const activeElement = ref(null)
32
- const selectedItems = ref<string[]>([])
33
- const isDragging = ref(false)
34
-
35
- const isEditMode = computed(() => !props.isPresentationMode)
36
-
37
- const layout = [
38
- { x: 0, y: 0, w: 2, h: 2, i: '0', resizable: true, draggable: true, static: false, minY: 0, maxY: 2 },
39
- ];
40
-
41
- const previewSize = ref({ width: 400, height: 400 }) // Default size
42
- const builderContainer = ref<HTMLElement | null>(null)
43
-
44
- // --- Resizing logic ---
45
- const isResizing = ref(false)
46
- const resizeStart = ref({ x: 0, y: 0, width: 0, height: 0 })
47
-
48
- function startResizing(e: MouseEvent) {
49
- isResizing.value = true;
50
- resizeStart.value = {
51
- x: e.clientX,
52
- y: e.clientY,
53
- width: previewSize.value.width,
54
- height: previewSize.value.height
55
- };
56
- document.body.style.userSelect = 'none';
57
- }
58
-
59
- function handleMouseMove(e: MouseEvent) {
60
- if (!isResizing.value) return;
61
- const dx = e.clientX - resizeStart.value.x;
62
- const dy = e.clientY - resizeStart.value.y;
63
- const minWidth = 200, minHeight = 200;
64
- const maxWidth = builderContainer.value?.offsetWidth || 800;
65
- const maxHeight = builderContainer.value?.offsetHeight || 800;
66
- previewSize.value.width = Math.max(minWidth, Math.min(resizeStart.value.width + dx, maxWidth));
67
- previewSize.value.height = Math.max(minHeight, Math.min(resizeStart.value.height + dy, maxHeight));
68
- }
69
-
70
- function stopResizing() {
71
- isResizing.value = false;
72
- document.body.style.userSelect = '';
73
- }
74
-
75
- function clampPreviewToContainer() {
76
- if (!builderContainer.value) return;
77
- const maxWidth = builderContainer.value.offsetWidth;
78
- const maxHeight = builderContainer.value.offsetHeight;
79
- if (previewSize.value.width > maxWidth) previewSize.value.width = maxWidth;
80
- if (previewSize.value.height > maxHeight) previewSize.value.height = maxHeight;
81
- }
82
-
83
- function handleWindowResize() {
84
- clampPreviewToContainer();
85
- }
86
-
87
- onMounted(() => {
88
- window.addEventListener('mousemove', handleMouseMove);
89
- window.addEventListener('mouseup', stopResizing);
90
- window.addEventListener('resize', handleWindowResize);
91
- // Initial clamp after mount (nextTick to ensure DOM is ready)
92
- setTimeout(clampPreviewToContainer, 0);
93
- });
94
- onUnmounted(() => {
95
- window.removeEventListener('mousemove', handleMouseMove);
96
- window.removeEventListener('mouseup', stopResizing);
97
- window.removeEventListener('resize', handleWindowResize);
98
- });
99
-
100
- const state = reactive({
101
- mirrored: false,
102
- responsive: true,
103
- bounded: false,
104
- transformScale: 1,
105
- preventCollision: true,
106
- compact: false,
107
- restoreOnDrag: false,
108
- rowHeight: 8,
109
- index: 0,
110
- marginX: 0,
111
- marginY: 0,
112
- layoutRef: {},
113
- itemRefs: {},
114
-
115
- layout: JSON.parse(JSON.stringify(layout)),
116
- variables: [],
117
- transformers: [],
118
- apiActions: [],
119
- elementValues: {}
120
- });
121
-
122
- const getState = () => {
123
- let { layout, variables, transformers, apiActions } = JSON.parse(JSON.stringify(state))
124
-
125
- apiActions?.forEach((action: any) => {
126
- action.action.response = null;
127
- action.firedAt = null;
128
- action.hasFired = false;
129
- })
130
-
131
- return { layout, variables, transformers, apiActions }
132
- }
133
-
134
- const setState = (newState: any) => {
135
- Object.assign(state, newState)
136
- }
137
-
138
- const baseVariables = computed(() => {
139
- const normalVars = state.variables?.map((v: any) => ({
140
- name: v.name,
141
- type: v.type,
142
- value: v.value ?? null,
143
- })) || []
144
-
145
- const apiActionVars = state.apiActions?.map((a: any) => ({
146
- name: a.label,
147
- type: 'apiActionResponse',
148
- value: a.action ?? null,
149
- })) || []
150
-
151
- const elementVars = Object.entries(state.elementValues ?? {}).map(([key, val]: [string, any]) => ({
152
- name: key,
153
- type: 'element',
154
- value: {
155
- value: val ?? null
156
- }
157
- })) || []
158
-
159
- const routeQueryVars = Object.entries(route.query).map(([key, val]: [string, any]) => ({
160
- name: toCamelCase(key),
161
- type: 'routeQueryParam',
162
- value: val ?? null,
163
- })) || []
164
-
165
- return [...normalVars, ...apiActionVars, ...elementVars, ...routeQueryVars]?.filter((v: any) => v.name)
166
- })
167
-
168
- function toCamelCase(str) {
169
- return str.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
170
- }
171
-
172
- const transformerVars = computed(() => {
173
- const context = Object.fromEntries(
174
- baseVariables.value.map(v => [
175
- v.name,
176
- v.value
177
- ])
178
- );
179
-
180
- return (state.transformers ?? []).map((t: any) => ({
181
- name: t.name,
182
- type: 'transformer',
183
- value: getTransformerValue(t.expression, context)
184
- }));
185
- });
186
-
187
- const allAvailableVariables = computed(() => {
188
- return [...props.providedVariables, ...baseVariables.value, ...transformerVars.value]
189
- })
190
-
191
- const getTransformerValue = (expression: string, context: Record<string, any>) => {
192
- return sandbox(expression, context);
193
- // return sandbox(`return ${expression}`, context); TODO use return if u support {{ }} in inputs later on
194
- }
195
-
196
- const sandbox = (code: string, args = {}) => {
197
- try {
198
- const frame = document.createElement('iframe');
199
- frame.style.display = 'none';
200
- document.body.appendChild(frame);
201
- const F = frame.contentWindow?.Function
202
- document.body.removeChild(frame);
203
- return F?.(...Object.keys(args), "'use strict';" + code)(...Object.values(args));
204
- } catch (error) {
205
- console.error('Sandbox error:', error);
206
- return ""
207
- }
208
- }
209
-
210
- function removeItem(i: string) {
211
- state.layout.splice(state.layout.findIndex(item => item.i === i), 1);
212
- }
213
-
214
- onMounted(() => {
215
- document.addEventListener('mousedown', onMouseDown, true);
216
- document.addEventListener('mouseup', onMouseUp, true);
217
- });
218
-
219
- onUnmounted(() => {
220
- document.removeEventListener('mousedown', onMouseDown, true);
221
- document.removeEventListener('mouseup', onMouseUp, true);
222
- });
223
-
224
- async function onMouseDown(e: MouseEvent) {
225
- if ((e.target as HTMLElement)?.closest('.vue-grid-item')) {
226
- isDragging.value = true;
227
- }
228
- }
229
-
230
- function onMouseUp() {
231
- isDragging.value = false;
232
- }
233
-
234
- const mouseXY = { x: null, y: null };
235
- const DragPos = { x: null, y: null, w: 1, h: 1, i: null };
236
-
237
- document.addEventListener('dragover', (e) => {
238
- mouseXY.x = e.clientX;
239
- mouseXY.y = e.clientY;
240
- }, false);
241
-
242
- provide('mouseXY', mouseXY);
243
- provide('DragPos', DragPos);
244
- provide('state', state);
245
- provide('isDragging', isDragging)
246
- provide('activeElement', activeElement)
247
- provide('selectedItems', selectedItems)
248
- provide('allAvailableVariables', allAvailableVariables)
249
- provide('isEditMode', isEditMode)
250
- provide('onFinish', props.onFinish)
251
-
252
- async function loadState() {
253
- const fetchedState = {} // TODO load state
254
- if (fetchedState) {
255
- Object.keys(fetchedState)?.forEach((key: string) => {
256
- state[key] = fetchedState[key]
257
- })
258
- }
259
- }
260
-
261
- function fillDefaultValues() {
262
- state.layout?.forEach((item: any) => {
263
- if (Object.keys(item).includes('defaultValue')) {
264
- state.elementValues[item.variableName] = interpolateTemplateFromVariableContext(item.defaultValue, allAvailableVariables.value)
265
- }
266
- })
267
- }
268
-
269
- const setup = async () => {
270
- await loadState()
271
- fillDefaultValues()
272
- loadStartupActions()
273
-
274
- previewSize.value = {
275
- width: Math.min(builderContainer.value?.offsetWidth - 40, 700),
276
- height: Math.min(builderContainer.value?.offsetHeight - 40, 1000)
277
- }
278
- }
279
-
280
- const loadStartupActions = () => {
281
- async function loadAction(action: any) {
282
- const { fireAction } = useIntegrationActions(action.action.integration)
283
- let res = await fireAction(action.action, allAvailableVariables.value)
284
- state.apiActions.find(a => a.id === action.id).action.response = res
285
- }
286
-
287
- state.apiActions.forEach((action: any) => {
288
- if (action.fireOnStart) {
289
- loadAction(action)
290
- }
291
- })
292
- }
293
-
294
- onMounted(() => {
295
- setup()
296
- })
297
-
298
- defineExpose({
299
- getState,
300
- setState,
301
- fillDefaultValues
302
- })
303
- </script>
304
-
305
- <template>
306
- <CustomDashboard v-if="isPresentationMode" />
307
- <div class="flex-1 flex flex-col overflow-hidden pt-12 px-4" v-else>
308
- <div class="@container/custom-dashboard flex-1 flex gap-2 w-full max-h-full overflow-hidden">
309
- <AdminToolbar v-model="adminPanel" />
310
- <AdminToolbarView :view="adminPanel" />
311
- <div class="flex-1 bg-dots flex items-center justify-center text-gray-200 dark:text-muted" ref="builderContainer">
312
- <div class="relative text-foreground" :style="{ width: previewSize.width + 'px', height: previewSize.height + 'px' }">
313
- <CustomDashboard />
314
- <button
315
- class="absolute -bottom-4 -right-4 border border-transparent hover:border-ring bg-ring/20 dark:bg-ring/50 backdrop-blur-sm hover:scale-110 transition-all rounded-full p-2 cursor-hidden z-10"
316
- @mousedown.prevent="startResizing"
317
- >
318
- <Maximize2 class="size-6 -scale-x-100" />
319
- </button>
320
- </div>
321
- </div>
322
- <AdminElementEditor v-if="activeElement" @removeItem="removeItem" />
323
- </div>
324
- </div>
325
- </template>
326
-
327
- <style scoped lang="scss">
328
- .bg-dots {
329
- background-color: transparent;
330
- background-image: radial-gradient(currentColor 1px, transparent 1px);
331
- background-size: 10px 10px;
332
- }
333
- </style>
@@ -1,25 +0,0 @@
1
- <script setup lang="ts">
2
- const allAvailableVariables = inject('allAvailableVariables')
3
-
4
- const props = defineProps({
5
- modelValue: {
6
- type: String,
7
- required: true
8
- }
9
- })
10
-
11
- const emit = defineEmits(['update:modelValue'])
12
-
13
- const mutableValue = computed({
14
- get() {
15
- return props.modelValue
16
- },
17
- set(value) {
18
- emit('update:modelValue', value)
19
- }
20
- })
21
- </script>
22
-
23
- <template>
24
- <Sandbox v-model="mutableValue" :variables="allAvailableVariables" style="max-height: 200px" />
25
- </template>