@oneclick.dev/cms-kit 0.0.2 → 0.0.3
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.
- package/dist/index-BqaBgX_I.cjs +1 -0
- package/dist/index-DJQgzywP.js +4319 -0
- package/dist/index.cjs.js +52 -0
- package/dist/index.css +1 -0
- package/dist/index.es.js +142280 -0
- package/dist/types/components/ui/apple-emoji/AppleEmoji.vue.d.ts +6 -0
- package/dist/types/components/ui/apple-emoji/index.d.ts +1 -0
- package/dist/types/components/ui/avatar/Avatar.vue.d.ts +21 -0
- package/dist/types/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
- package/dist/types/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
- package/dist/types/components/ui/avatar/index.d.ts +3 -0
- package/dist/types/components/ui/badge/Badge.vue.d.ts +26 -0
- package/dist/types/components/ui/badge/index.d.ts +1 -0
- package/dist/types/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/dist/types/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
- package/dist/types/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
- package/dist/types/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
- package/dist/types/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
- package/dist/types/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
- package/dist/types/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
- package/dist/types/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/types/components/ui/button/Button.vue.d.ts +32 -0
- package/dist/types/components/ui/button/index.d.ts +7 -0
- package/dist/types/components/ui/calendar/Calendar.vue.d.ts +13 -0
- package/dist/types/components/ui/calendar/CalendarCell.vue.d.ts +22 -0
- package/dist/types/components/ui/calendar/CalendarCellTrigger.vue.d.ts +24 -0
- package/dist/types/components/ui/calendar/CalendarGrid.vue.d.ts +22 -0
- package/dist/types/components/ui/calendar/CalendarGridBody.vue.d.ts +18 -0
- package/dist/types/components/ui/calendar/CalendarGridHead.vue.d.ts +22 -0
- package/dist/types/components/ui/calendar/CalendarGridRow.vue.d.ts +22 -0
- package/dist/types/components/ui/calendar/CalendarHeadCell.vue.d.ts +22 -0
- package/dist/types/components/ui/calendar/CalendarHeader.vue.d.ts +22 -0
- package/dist/types/components/ui/calendar/CalendarHeading.vue.d.ts +28 -0
- package/dist/types/components/ui/calendar/CalendarNextButton.vue.d.ts +22 -0
- package/dist/types/components/ui/calendar/CalendarPrevButton.vue.d.ts +22 -0
- package/dist/types/components/ui/calendar/index.d.ts +12 -0
- package/dist/types/components/ui/card/Card.vue.d.ts +21 -0
- package/dist/types/components/ui/card/CardAction.vue.d.ts +21 -0
- package/dist/types/components/ui/card/CardContent.vue.d.ts +21 -0
- package/dist/types/components/ui/card/CardDescription.vue.d.ts +21 -0
- package/dist/types/components/ui/card/CardFooter.vue.d.ts +21 -0
- package/dist/types/components/ui/card/CardHeader.vue.d.ts +21 -0
- package/dist/types/components/ui/card/CardTitle.vue.d.ts +21 -0
- package/dist/types/components/ui/card/index.d.ts +7 -0
- package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +26 -0
- package/dist/types/components/ui/checkbox/index.d.ts +1 -0
- package/dist/types/components/ui/code-editor/CodeEditor.vue.d.ts +51 -0
- package/dist/types/components/ui/code-editor/index.d.ts +1 -0
- package/dist/types/components/ui/code-editor/interpolationHighlight.d.ts +2 -0
- package/dist/types/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
- package/dist/types/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/types/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/types/components/ui/collapsible/index.d.ts +3 -0
- package/dist/types/components/ui/combobox/Combobox.vue.d.ts +33 -0
- package/dist/types/components/ui/combobox/ComboboxAnchor.vue.d.ts +22 -0
- package/dist/types/components/ui/combobox/ComboboxEmpty.vue.d.ts +22 -0
- package/dist/types/components/ui/combobox/ComboboxGroup.vue.d.ts +23 -0
- package/dist/types/components/ui/combobox/ComboboxInput.vue.d.ts +27 -0
- package/dist/types/components/ui/combobox/ComboboxItem.vue.d.ts +26 -0
- package/dist/types/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +22 -0
- package/dist/types/components/ui/combobox/ComboboxList.vue.d.ts +37 -0
- package/dist/types/components/ui/combobox/ComboboxSeparator.vue.d.ts +22 -0
- package/dist/types/components/ui/combobox/ComboboxViewport.vue.d.ts +22 -0
- package/dist/types/components/ui/combobox/index.d.ts +11 -0
- package/dist/types/components/ui/command/Command.vue.d.ts +40 -0
- package/dist/types/components/ui/command/CommandDialog.vue.d.ts +29 -0
- package/dist/types/components/ui/command/CommandEmpty.vue.d.ts +22 -0
- package/dist/types/components/ui/command/CommandGroup.vue.d.ts +23 -0
- package/dist/types/components/ui/command/CommandInput.vue.d.ts +7 -0
- package/dist/types/components/ui/command/CommandItem.vue.d.ts +30 -0
- package/dist/types/components/ui/command/CommandList.vue.d.ts +22 -0
- package/dist/types/components/ui/command/CommandSeparator.vue.d.ts +22 -0
- package/dist/types/components/ui/command/CommandShortcut.vue.d.ts +21 -0
- package/dist/types/components/ui/command/index.d.ts +90 -0
- package/dist/types/components/ui/context-menu/ContextMenu.vue.d.ts +22 -0
- package/dist/types/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +28 -0
- package/dist/types/components/ui/context-menu/ContextMenuContent.vue.d.ts +34 -0
- package/dist/types/components/ui/context-menu/ContextMenuGroup.vue.d.ts +18 -0
- package/dist/types/components/ui/context-menu/ContextMenuItem.vue.d.ts +30 -0
- package/dist/types/components/ui/context-menu/ContextMenuLabel.vue.d.ts +23 -0
- package/dist/types/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +22 -0
- package/dist/types/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +26 -0
- package/dist/types/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +7 -0
- package/dist/types/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +21 -0
- package/dist/types/components/ui/context-menu/ContextMenuSub.vue.d.ts +22 -0
- package/dist/types/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +38 -0
- package/dist/types/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +23 -0
- package/dist/types/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +18 -0
- package/dist/types/components/ui/context-menu/index.d.ts +14 -0
- package/dist/types/components/ui/custom-dialog/CustomDialog.vue.d.ts +7 -0
- package/dist/types/components/ui/custom-dialog/index.d.ts +1 -0
- package/dist/types/components/ui/dialog/Dialog.vue.d.ts +22 -0
- package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +36 -0
- package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
- package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
- package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
- package/dist/types/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
- package/dist/types/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
- package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
- package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
- package/dist/types/components/ui/dialog/index.d.ts +10 -0
- package/dist/types/components/ui/drawer/Drawer.vue.d.ts +34 -0
- package/dist/types/components/ui/drawer/DrawerClose.vue.d.ts +18 -0
- package/dist/types/components/ui/drawer/DrawerContent.vue.d.ts +36 -0
- package/dist/types/components/ui/drawer/DrawerDescription.vue.d.ts +22 -0
- package/dist/types/components/ui/drawer/DrawerFooter.vue.d.ts +21 -0
- package/dist/types/components/ui/drawer/DrawerHeader.vue.d.ts +21 -0
- package/dist/types/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/types/components/ui/drawer/DrawerTitle.vue.d.ts +22 -0
- package/dist/types/components/ui/drawer/DrawerTrigger.vue.d.ts +18 -0
- package/dist/types/components/ui/drawer/index.d.ts +9 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +22 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +28 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +26 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
- package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/types/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/types/components/ui/emoji-picker/EmojiPicker.vue.d.ts +9 -0
- package/dist/types/components/ui/emoji-picker/index.d.ts +1 -0
- package/dist/types/components/ui/flow-builder/FlowBuilder.vue.d.ts +52 -0
- package/dist/types/components/ui/flow-builder/FlowBuilderSelect.vue.d.ts +14 -0
- package/dist/types/components/ui/flow-builder/components/Builder.vue.d.ts +25 -0
- package/dist/types/components/ui/flow-builder/components/DropzoneBackground.vue.d.ts +17 -0
- package/dist/types/components/ui/flow-builder/components/EdgeEditor.vue.d.ts +18 -0
- package/dist/types/components/ui/flow-builder/components/Menu.vue.d.ts +2 -0
- package/dist/types/components/ui/flow-builder/components/NodeEditor.vue.d.ts +20 -0
- package/dist/types/components/ui/flow-builder/components/edge-editor/DataEdgeEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/ApiRequestEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/ConfirmEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/FinishFlowEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/IntegrationActionEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/SetVariableEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/ShowDialogEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/ShowModuleEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/ShowToastEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/TransformDataEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/node-editor/VisitUrlEditor.vue.d.ts +16 -0
- package/dist/types/components/ui/flow-builder/components/variables/Widget.vue.d.ts +2 -0
- package/dist/types/components/ui/flow-builder/composables/outputRegistry.d.ts +23 -0
- package/dist/types/components/ui/flow-builder/index.d.ts +4 -0
- package/dist/types/components/ui/flow-builder/types.d.ts +7 -0
- package/dist/types/components/ui/form/FormControl.vue.d.ts +17 -0
- package/dist/types/components/ui/form/FormDescription.vue.d.ts +21 -0
- package/dist/types/components/ui/form/FormItem.vue.d.ts +21 -0
- package/dist/types/components/ui/form/FormLabel.vue.d.ts +22 -0
- package/dist/types/components/ui/form/FormMessage.vue.d.ts +6 -0
- package/dist/types/components/ui/form/index.d.ts +7 -0
- package/dist/types/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/types/components/ui/form/useFormField.d.ts +11 -0
- package/dist/types/components/ui/form-builder/FormBuilder.vue.d.ts +69 -0
- package/dist/types/components/ui/form-builder/FormBuilderSelect.vue.d.ts +35 -0
- package/dist/types/components/ui/form-builder/FormDisplayer.vue.d.ts +94 -0
- package/dist/types/components/ui/form-builder/components/AdminElementEditor.vue.d.ts +6 -0
- package/dist/types/components/ui/form-builder/components/AdminToolbar.vue.d.ts +16 -0
- package/dist/types/components/ui/form-builder/components/AdminToolbarView.vue.d.ts +10 -0
- package/dist/types/components/ui/form-builder/components/CustomDashboard.vue.d.ts +4 -0
- package/dist/types/components/ui/form-builder/components/FormBuilderWrapper.vue.d.ts +44 -0
- package/dist/types/components/ui/form-builder/components/admin/Transformer.vue.d.ts +16 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Button.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Checkbox.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Label.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Radios.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Scanner.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Select.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Text.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Textarea.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/Textfield.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/element-setting-views/index.d.ts +12 -0
- package/dist/types/components/ui/form-builder/components/admin/setting-views/ApiActionsView.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/setting-views/NewElementView.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/setting-views/VariablesView.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/setting-views/new-element-view/DraggableElement.vue.d.ts +29 -0
- package/dist/types/components/ui/form-builder/components/admin/setting-views/variables-view/ApiActionVariables.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/setting-views/variables-view/RouteQueryParams.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/setting-views/variables-view/Transformers.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/admin/setting-views/variables-view/Variables.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/elements/button/Button.vue.d.ts +50 -0
- package/dist/types/components/ui/form-builder/components/elements/button/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/checkbox/Checkbox.vue.d.ts +28 -0
- package/dist/types/components/ui/form-builder/components/elements/checkbox/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/file/File.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/elements/file/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/images/Images.vue.d.ts +31 -0
- package/dist/types/components/ui/form-builder/components/elements/images/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/items/Items.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/elements/items/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/label/Label.vue.d.ts +14 -0
- package/dist/types/components/ui/form-builder/components/elements/label/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/location/Location.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/elements/location/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/radios/Radios.vue.d.ts +43 -0
- package/dist/types/components/ui/form-builder/components/elements/radios/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/richtext/RichText.vue.d.ts +2 -0
- package/dist/types/components/ui/form-builder/components/elements/richtext/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/scanner/Scanner.vue.d.ts +47 -0
- package/dist/types/components/ui/form-builder/components/elements/scanner/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/select/Select.vue.d.ts +43 -0
- package/dist/types/components/ui/form-builder/components/elements/select/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/text/Text.vue.d.ts +14 -0
- package/dist/types/components/ui/form-builder/components/elements/text/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/textarea/Textarea.vue.d.ts +31 -0
- package/dist/types/components/ui/form-builder/components/elements/textarea/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/components/elements/textfield/Textfield.vue.d.ts +31 -0
- package/dist/types/components/ui/form-builder/components/elements/textfield/index.d.ts +1 -0
- package/dist/types/components/ui/form-builder/index.d.ts +3 -0
- package/dist/types/components/ui/input/Input.vue.d.ts +12 -0
- package/dist/types/components/ui/input/index.d.ts +1 -0
- package/dist/types/components/ui/integration-action-builder/IntegrationActionBuilder.vue.d.ts +2 -0
- package/dist/types/components/ui/integration-action-builder/InterpolationField.vue.d.ts +26 -0
- package/dist/types/components/ui/integration-action-builder/index.d.ts +1 -0
- package/dist/types/components/ui/integration-action-builder/integrations/firebase/AddDocument.vue.d.ts +16 -0
- package/dist/types/components/ui/integration-action-builder/integrations/firebase/DeleteDocument.vue.d.ts +2 -0
- package/dist/types/components/ui/integration-action-builder/integrations/firebase/GetCollections.vue.d.ts +2 -0
- package/dist/types/components/ui/integration-action-builder/integrations/firebase/GetDocumentById.vue.d.ts +2 -0
- package/dist/types/components/ui/integration-action-builder/integrations/firebase/QueryCollectionGroup.vue.d.ts +2 -0
- package/dist/types/components/ui/integration-action-builder/integrations/firebase/QueryFirestore.vue.d.ts +16 -0
- package/dist/types/components/ui/integration-action-builder/integrations/firebase/UpdateDocument.vue.d.ts +2 -0
- package/dist/types/components/ui/integration-action-builder/integrations/firebase/index.d.ts +191 -0
- package/dist/types/components/ui/integration-action-builder/integrations/index.d.ts +391 -0
- package/dist/types/components/ui/integration-action-builder/integrations/openai/AddDocument.vue.d.ts +16 -0
- package/dist/types/components/ui/integration-action-builder/integrations/openai/GenerateText.vue.d.ts +16 -0
- package/dist/types/components/ui/integration-action-builder/integrations/openai/components/ModelSelector.vue.d.ts +16 -0
- package/dist/types/components/ui/integration-action-builder/integrations/openai/index.d.ts +154 -0
- package/dist/types/components/ui/integration-action-builder/integrations/twilio/MakeCall.vue.d.ts +16 -0
- package/dist/types/components/ui/integration-action-builder/integrations/twilio/SendSMS.vue.d.ts +16 -0
- package/dist/types/components/ui/integration-action-builder/integrations/twilio/components/ModelSelector.vue.d.ts +16 -0
- package/dist/types/components/ui/integration-action-builder/integrations/twilio/index.d.ts +46 -0
- package/dist/types/components/ui/integration-icon/IntegrationIcon.vue.d.ts +12 -0
- package/dist/types/components/ui/integration-icon/index.d.ts +1 -0
- package/dist/types/components/ui/label/Label.vue.d.ts +22 -0
- package/dist/types/components/ui/label/index.d.ts +1 -0
- package/dist/types/components/ui/lucide-icon-selector/LucideIconPicker.vue.d.ts +9 -0
- package/dist/types/components/ui/lucide-icon-selector/LucideIconSelector.vue.d.ts +9 -0
- package/dist/types/components/ui/lucide-icon-selector/index.d.ts +2 -0
- package/dist/types/components/ui/media-picker/MediaPicker.vue.d.ts +16 -0
- package/dist/types/components/ui/media-picker/MediaPickerDialog.vue.d.ts +37 -0
- package/dist/types/components/ui/media-picker/MediaPickerItems.vue.d.ts +4 -0
- package/dist/types/components/ui/media-picker/index.d.ts +2 -0
- package/dist/types/components/ui/media-picker/media-picker-dialog/Dropzone.vue.d.ts +24 -0
- package/dist/types/components/ui/media-picker/media-picker-dialog/FileItem.vue.d.ts +24 -0
- package/dist/types/components/ui/media-picker/media-picker-dialog/Filters.vue.d.ts +12 -0
- package/dist/types/components/ui/menubar/Menubar.vue.d.ts +26 -0
- package/dist/types/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +28 -0
- package/dist/types/components/ui/menubar/MenubarContent.vue.d.ts +26 -0
- package/dist/types/components/ui/menubar/MenubarGroup.vue.d.ts +18 -0
- package/dist/types/components/ui/menubar/MenubarItem.vue.d.ts +28 -0
- package/dist/types/components/ui/menubar/MenubarLabel.vue.d.ts +23 -0
- package/dist/types/components/ui/menubar/MenubarMenu.vue.d.ts +18 -0
- package/dist/types/components/ui/menubar/MenubarRadioGroup.vue.d.ts +22 -0
- package/dist/types/components/ui/menubar/MenubarRadioItem.vue.d.ts +26 -0
- package/dist/types/components/ui/menubar/MenubarSeparator.vue.d.ts +7 -0
- package/dist/types/components/ui/menubar/MenubarShortcut.vue.d.ts +21 -0
- package/dist/types/components/ui/menubar/MenubarSub.vue.d.ts +25 -0
- package/dist/types/components/ui/menubar/MenubarSubContent.vue.d.ts +38 -0
- package/dist/types/components/ui/menubar/MenubarSubTrigger.vue.d.ts +23 -0
- package/dist/types/components/ui/menubar/MenubarTrigger.vue.d.ts +22 -0
- package/dist/types/components/ui/menubar/index.d.ts +15 -0
- package/dist/types/components/ui/number-field/NumberField.vue.d.ts +26 -0
- package/dist/types/components/ui/number-field/NumberFieldContent.vue.d.ts +21 -0
- package/dist/types/components/ui/number-field/NumberFieldDecrement.vue.d.ts +22 -0
- package/dist/types/components/ui/number-field/NumberFieldIncrement.vue.d.ts +22 -0
- package/dist/types/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -0
- package/dist/types/components/ui/number-field/index.d.ts +5 -0
- package/dist/types/components/ui/pagination/PaginationEllipsis.vue.d.ts +22 -0
- package/dist/types/components/ui/pagination/PaginationFirst.vue.d.ts +24 -0
- package/dist/types/components/ui/pagination/PaginationLast.vue.d.ts +24 -0
- package/dist/types/components/ui/pagination/PaginationNext.vue.d.ts +24 -0
- package/dist/types/components/ui/pagination/PaginationPrev.vue.d.ts +24 -0
- package/dist/types/components/ui/pagination/index.d.ts +6 -0
- package/dist/types/components/ui/popover/Popover.vue.d.ts +22 -0
- package/dist/types/components/ui/popover/PopoverAnchor.vue.d.ts +18 -0
- package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +39 -0
- package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
- package/dist/types/components/ui/popover/index.d.ts +4 -0
- package/dist/types/components/ui/query-builder-dialog/QueryBuilderDialog.vue.d.ts +61 -0
- package/dist/types/components/ui/query-builder-dialog/index.d.ts +1 -0
- package/dist/types/components/ui/radio-group/RadioGroup.vue.d.ts +27 -0
- package/dist/types/components/ui/radio-group/RadioGroupItem.vue.d.ts +7 -0
- package/dist/types/components/ui/radio-group/index.d.ts +2 -0
- package/dist/types/components/ui/range-calendar/RangeCalendar.vue.d.ts +15 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +22 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +22 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +22 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +18 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +18 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +22 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +22 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +22 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +28 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +22 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +22 -0
- package/dist/types/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/types/components/ui/resizable/ResizableHandle.vue.d.ts +12 -0
- package/dist/types/components/ui/resizable/ResizablePanel.vue.d.ts +26 -0
- package/dist/types/components/ui/resizable/ResizablePanelGroup.vue.d.ts +26 -0
- package/dist/types/components/ui/resizable/index.d.ts +3 -0
- package/dist/types/components/ui/ripple-button/RippleButton.vue.d.ts +34 -0
- package/dist/types/components/ui/ripple-button/index.d.ts +1 -0
- package/dist/types/components/ui/sandbox/Sandbox.vue.d.ts +40 -0
- package/dist/types/components/ui/sandbox/index.d.ts +1 -0
- package/dist/types/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
- package/dist/types/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/types/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/types/components/ui/segmented-control/SegmentedControl.vue.d.ts +74 -0
- package/dist/types/components/ui/segmented-control/SegmentedControlButton.vue.d.ts +26 -0
- package/dist/types/components/ui/segmented-control/index.d.ts +2 -0
- package/dist/types/components/ui/select/Select.vue.d.ts +25 -0
- package/dist/types/components/ui/select/SelectContent.vue.d.ts +32 -0
- package/dist/types/components/ui/select/SelectGroup.vue.d.ts +18 -0
- package/dist/types/components/ui/select/SelectItem.vue.d.ts +22 -0
- package/dist/types/components/ui/select/SelectItemText.vue.d.ts +18 -0
- package/dist/types/components/ui/select/SelectLabel.vue.d.ts +22 -0
- package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
- package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
- package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +25 -0
- package/dist/types/components/ui/select/SelectValue.vue.d.ts +18 -0
- package/dist/types/components/ui/select/index.d.ts +11 -0
- package/dist/types/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/types/components/ui/separator/index.d.ts +1 -0
- package/dist/types/components/ui/sheet/Sheet.vue.d.ts +22 -0
- package/dist/types/components/ui/sheet/SheetClose.vue.d.ts +18 -0
- package/dist/types/components/ui/sheet/SheetContent.vue.d.ts +40 -0
- package/dist/types/components/ui/sheet/SheetDescription.vue.d.ts +22 -0
- package/dist/types/components/ui/sheet/SheetFooter.vue.d.ts +21 -0
- package/dist/types/components/ui/sheet/SheetHeader.vue.d.ts +21 -0
- package/dist/types/components/ui/sheet/SheetOverlay.vue.d.ts +22 -0
- package/dist/types/components/ui/sheet/SheetTitle.vue.d.ts +22 -0
- package/dist/types/components/ui/sheet/SheetTrigger.vue.d.ts +18 -0
- package/dist/types/components/ui/sheet/index.d.ts +8 -0
- package/dist/types/components/ui/sidebar/Sidebar.vue.d.ts +24 -0
- package/dist/types/components/ui/sidebar/SidebarContent.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarFooter.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarGroup.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarGroupAction.vue.d.ts +22 -0
- package/dist/types/components/ui/sidebar/SidebarGroupContent.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +22 -0
- package/dist/types/components/ui/sidebar/SidebarHeader.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarInput.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarInset.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarMenu.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarMenuAction.vue.d.ts +25 -0
- package/dist/types/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarMenuButton.vue.d.ts +27 -0
- package/dist/types/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
- package/dist/types/components/ui/sidebar/SidebarMenuItem.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +7 -0
- package/dist/types/components/ui/sidebar/SidebarMenuSub.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
- package/dist/types/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarProvider.vue.d.ts +30 -0
- package/dist/types/components/ui/sidebar/SidebarRail.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarSeparator.vue.d.ts +21 -0
- package/dist/types/components/ui/sidebar/SidebarTrigger.vue.d.ts +6 -0
- package/dist/types/components/ui/sidebar/index.d.ts +37 -0
- package/dist/types/components/ui/sidebar/utils.d.ts +56 -0
- package/dist/types/components/ui/skeleton/Skeleton.vue.d.ts +6 -0
- package/dist/types/components/ui/skeleton/index.d.ts +1 -0
- package/dist/types/components/ui/sonner/Sonner.vue.d.ts +3 -0
- package/dist/types/components/ui/sonner/index.d.ts +1 -0
- package/dist/types/components/ui/spring-calendar/SpringCalendar.vue.d.ts +21 -0
- package/dist/types/components/ui/spring-calendar/TextMorph.vue.d.ts +14 -0
- package/dist/types/components/ui/spring-calendar/index.d.ts +2 -0
- package/dist/types/components/ui/switch/Switch.vue.d.ts +26 -0
- package/dist/types/components/ui/switch/index.d.ts +1 -0
- package/dist/types/components/ui/table/Table.vue.d.ts +21 -0
- package/dist/types/components/ui/table/TableBody.vue.d.ts +21 -0
- package/dist/types/components/ui/table/TableCaption.vue.d.ts +21 -0
- package/dist/types/components/ui/table/TableCell.vue.d.ts +21 -0
- package/dist/types/components/ui/table/TableEmpty.vue.d.ts +24 -0
- package/dist/types/components/ui/table/TableFooter.vue.d.ts +21 -0
- package/dist/types/components/ui/table/TableHead.vue.d.ts +21 -0
- package/dist/types/components/ui/table/TableHeader.vue.d.ts +21 -0
- package/dist/types/components/ui/table/TableRow.vue.d.ts +21 -0
- package/dist/types/components/ui/table/index.d.ts +9 -0
- package/dist/types/components/ui/table/utils.d.ts +3 -0
- package/dist/types/components/ui/tabs/Tabs.vue.d.ts +23 -0
- package/dist/types/components/ui/tabs/TabsContent.vue.d.ts +22 -0
- package/dist/types/components/ui/tabs/TabsList.vue.d.ts +22 -0
- package/dist/types/components/ui/tabs/TabsTrigger.vue.d.ts +22 -0
- package/dist/types/components/ui/tabs/index.d.ts +4 -0
- package/dist/types/components/ui/tailwind-color-picker/TailwindColorPicker.vue.d.ts +12 -0
- package/dist/types/components/ui/tailwind-color-picker/index.d.ts +1 -0
- package/dist/types/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/types/components/ui/textarea/index.d.ts +1 -0
- package/dist/types/components/ui/toggle/Toggle.vue.d.ts +33 -0
- package/dist/types/components/ui/toggle/index.d.ts +7 -0
- package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +22 -0
- package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
- package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
- package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
- package/dist/types/components/ui/tooltip/index.d.ts +4 -0
- package/dist/types/composables/useCms.d.ts +4 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/lib/interpolation.d.ts +8 -0
- package/dist/types/lib/utils.d.ts +6 -0
- package/dist/types/types/index.d.ts +36 -0
- package/dist/types/vite.config.d.ts +2 -0
- package/package.json +16 -1
- package/assets/icons/SFTP.webp +0 -0
- package/assets/icons/cloudflare.webp +0 -0
- package/assets/icons/firebase.webp +0 -0
- package/assets/icons/mysql.webp +0 -0
- package/assets/icons/openai.webp +0 -0
- package/assets/icons/postgresql.webp +0 -0
- package/assets/icons/storefront.webp +0 -0
- package/assets/icons/twilio.webp +0 -0
- package/components/ui/apple-emoji/AppleEmoji.vue +0 -32
- package/components/ui/apple-emoji/index.ts +0 -1
- package/components/ui/avatar/Avatar.vue +0 -18
- package/components/ui/avatar/AvatarFallback.vue +0 -23
- package/components/ui/avatar/AvatarImage.vue +0 -16
- package/components/ui/avatar/index.ts +0 -3
- package/components/ui/badge/Badge.vue +0 -39
- package/components/ui/badge/index.ts +0 -1
- package/components/ui/breadcrumb/Breadcrumb.vue +0 -17
- package/components/ui/breadcrumb/BreadcrumbEllipsis.vue +0 -23
- package/components/ui/breadcrumb/BreadcrumbItem.vue +0 -17
- package/components/ui/breadcrumb/BreadcrumbLink.vue +0 -20
- package/components/ui/breadcrumb/BreadcrumbList.vue +0 -17
- package/components/ui/breadcrumb/BreadcrumbPage.vue +0 -20
- package/components/ui/breadcrumb/BreadcrumbSeparator.vue +0 -22
- package/components/ui/breadcrumb/index.ts +0 -7
- package/components/ui/button/Button.vue +0 -39
- package/components/ui/button/index.ts +0 -36
- package/components/ui/calendar/Calendar.vue +0 -63
- package/components/ui/calendar/CalendarCell.vue +0 -25
- package/components/ui/calendar/CalendarCellTrigger.vue +0 -41
- package/components/ui/calendar/CalendarGrid.vue +0 -25
- package/components/ui/calendar/CalendarGridBody.vue +0 -14
- package/components/ui/calendar/CalendarGridHead.vue +0 -15
- package/components/ui/calendar/CalendarGridRow.vue +0 -24
- package/components/ui/calendar/CalendarHeadCell.vue +0 -25
- package/components/ui/calendar/CalendarHeader.vue +0 -25
- package/components/ui/calendar/CalendarHeading.vue +0 -32
- package/components/ui/calendar/CalendarNextButton.vue +0 -34
- package/components/ui/calendar/CalendarPrevButton.vue +0 -34
- package/components/ui/calendar/index.ts +0 -12
- package/components/ui/card/Card.vue +0 -22
- package/components/ui/card/CardAction.vue +0 -17
- package/components/ui/card/CardContent.vue +0 -17
- package/components/ui/card/CardDescription.vue +0 -17
- package/components/ui/card/CardFooter.vue +0 -17
- package/components/ui/card/CardHeader.vue +0 -17
- package/components/ui/card/CardTitle.vue +0 -17
- package/components/ui/card/index.ts +0 -7
- package/components/ui/checkbox/Checkbox.vue +0 -37
- package/components/ui/checkbox/index.ts +0 -1
- package/components/ui/code-editor/CodeEditor.vue +0 -88
- package/components/ui/code-editor/index.ts +0 -1
- package/components/ui/code-editor/interpolationHighlight.ts +0 -39
- package/components/ui/collapsible/Collapsible.vue +0 -19
- package/components/ui/collapsible/CollapsibleContent.vue +0 -14
- package/components/ui/collapsible/CollapsibleTrigger.vue +0 -14
- package/components/ui/collapsible/index.ts +0 -3
- package/components/ui/combobox/Combobox.vue +0 -17
- package/components/ui/combobox/ComboboxAnchor.vue +0 -26
- package/components/ui/combobox/ComboboxEmpty.vue +0 -24
- package/components/ui/combobox/ComboboxGroup.vue +0 -30
- package/components/ui/combobox/ComboboxInput.vue +0 -47
- package/components/ui/combobox/ComboboxItem.vue +0 -27
- package/components/ui/combobox/ComboboxItemIndicator.vue +0 -26
- package/components/ui/combobox/ComboboxList.vue +0 -31
- package/components/ui/combobox/ComboboxSeparator.vue +0 -24
- package/components/ui/combobox/ComboboxTrigger.vue +0 -27
- package/components/ui/combobox/ComboboxViewport.vue +0 -26
- package/components/ui/combobox/index.ts +0 -12
- package/components/ui/command/Command.vue +0 -93
- package/components/ui/command/CommandDialog.vue +0 -31
- package/components/ui/command/CommandEmpty.vue +0 -29
- package/components/ui/command/CommandGroup.vue +0 -47
- package/components/ui/command/CommandInput.vue +0 -41
- package/components/ui/command/CommandItem.vue +0 -79
- package/components/ui/command/CommandList.vue +0 -28
- package/components/ui/command/CommandSeparator.vue +0 -24
- package/components/ui/command/CommandShortcut.vue +0 -17
- package/components/ui/command/index.ts +0 -25
- package/components/ui/context-menu/ContextMenu.vue +0 -18
- package/components/ui/context-menu/ContextMenuCheckboxItem.vue +0 -41
- package/components/ui/context-menu/ContextMenuContent.vue +0 -37
- package/components/ui/context-menu/ContextMenuGroup.vue +0 -14
- package/components/ui/context-menu/ContextMenuItem.vue +0 -42
- package/components/ui/context-menu/ContextMenuLabel.vue +0 -24
- package/components/ui/context-menu/ContextMenuPortal.vue +0 -14
- package/components/ui/context-menu/ContextMenuRadioGroup.vue +0 -22
- package/components/ui/context-menu/ContextMenuRadioItem.vue +0 -41
- package/components/ui/context-menu/ContextMenuSeparator.vue +0 -24
- package/components/ui/context-menu/ContextMenuShortcut.vue +0 -17
- package/components/ui/context-menu/ContextMenuSub.vue +0 -22
- package/components/ui/context-menu/ContextMenuSubContent.vue +0 -36
- package/components/ui/context-menu/ContextMenuSubTrigger.vue +0 -35
- package/components/ui/context-menu/ContextMenuTrigger.vue +0 -16
- package/components/ui/context-menu/index.ts +0 -14
- package/components/ui/custom-dialog/CustomDialog.vue +0 -31
- package/components/ui/custom-dialog/index.ts +0 -1
- package/components/ui/dialog/Dialog.vue +0 -17
- package/components/ui/dialog/DialogClose.vue +0 -14
- package/components/ui/dialog/DialogContent.vue +0 -49
- package/components/ui/dialog/DialogDescription.vue +0 -25
- package/components/ui/dialog/DialogFooter.vue +0 -15
- package/components/ui/dialog/DialogHeader.vue +0 -17
- package/components/ui/dialog/DialogOverlay.vue +0 -23
- package/components/ui/dialog/DialogScrollContent.vue +0 -59
- package/components/ui/dialog/DialogTitle.vue +0 -25
- package/components/ui/dialog/DialogTrigger.vue +0 -14
- package/components/ui/dialog/index.ts +0 -10
- package/components/ui/drawer/Drawer.vue +0 -22
- package/components/ui/drawer/DrawerClose.vue +0 -15
- package/components/ui/drawer/DrawerContent.vue +0 -34
- package/components/ui/drawer/DrawerDescription.vue +0 -24
- package/components/ui/drawer/DrawerFooter.vue +0 -17
- package/components/ui/drawer/DrawerHeader.vue +0 -17
- package/components/ui/drawer/DrawerOverlay.vue +0 -22
- package/components/ui/drawer/DrawerTitle.vue +0 -24
- package/components/ui/drawer/DrawerTrigger.vue +0 -15
- package/components/ui/drawer/index.ts +0 -9
- package/components/ui/dropdown-menu/DropdownMenu.vue +0 -17
- package/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -41
- package/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -39
- package/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -14
- package/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -30
- package/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -22
- package/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -22
- package/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -42
- package/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -26
- package/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -17
- package/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -19
- package/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -31
- package/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -30
- package/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -16
- package/components/ui/dropdown-menu/index.ts +0 -16
- package/components/ui/emoji-picker/EmojiPicker.vue +0 -71
- package/components/ui/emoji-picker/index.ts +0 -1
- package/components/ui/flow-builder/FlowBuilder.vue +0 -48
- package/components/ui/flow-builder/FlowBuilderSelect.vue +0 -33
- package/components/ui/flow-builder/components/Builder.vue +0 -287
- package/components/ui/flow-builder/components/DropzoneBackground.vue +0 -13
- package/components/ui/flow-builder/components/EdgeEditor.vue +0 -36
- package/components/ui/flow-builder/components/Menu.vue +0 -78
- package/components/ui/flow-builder/components/NodeEditor.vue +0 -181
- package/components/ui/flow-builder/components/edge-editor/DataEdgeEditor.vue +0 -64
- package/components/ui/flow-builder/components/edges/DataEdge.vue +0 -87
- package/components/ui/flow-builder/components/node-editor/ApiRequestEditor.vue +0 -150
- package/components/ui/flow-builder/components/node-editor/ConfettiEditor.vue +0 -23
- package/components/ui/flow-builder/components/node-editor/ConfirmEditor.vue +0 -30
- package/components/ui/flow-builder/components/node-editor/FinishFlowEditor.vue +0 -33
- package/components/ui/flow-builder/components/node-editor/IntegrationActionEditor.vue +0 -50
- package/components/ui/flow-builder/components/node-editor/SetVariableEditor.vue +0 -71
- package/components/ui/flow-builder/components/node-editor/ShowDialogEditor.vue +0 -26
- package/components/ui/flow-builder/components/node-editor/ShowModuleEditor.vue +0 -92
- package/components/ui/flow-builder/components/node-editor/ShowToastEditor.vue +0 -28
- package/components/ui/flow-builder/components/node-editor/TransformDataEditor.vue +0 -27
- package/components/ui/flow-builder/components/node-editor/VisitUrlEditor.vue +0 -31
- package/components/ui/flow-builder/components/nodes/ApiRequestNode.vue +0 -45
- package/components/ui/flow-builder/components/nodes/ConfettiNode.vue +0 -32
- package/components/ui/flow-builder/components/nodes/ConfirmNode.vue +0 -45
- package/components/ui/flow-builder/components/nodes/EmptyNode.vue +0 -26
- package/components/ui/flow-builder/components/nodes/FinishFlowNode.vue +0 -30
- package/components/ui/flow-builder/components/nodes/IntegrationActionNode.vue +0 -52
- package/components/ui/flow-builder/components/nodes/SetVariableNode.vue +0 -34
- package/components/ui/flow-builder/components/nodes/ShowDialogNode.vue +0 -34
- package/components/ui/flow-builder/components/nodes/ShowModuleNode.vue +0 -34
- package/components/ui/flow-builder/components/nodes/ShowToastNode.vue +0 -35
- package/components/ui/flow-builder/components/nodes/StartNode.vue +0 -27
- package/components/ui/flow-builder/components/nodes/TransformDataNode.vue +0 -34
- package/components/ui/flow-builder/components/nodes/VisitUrlNode.vue +0 -34
- package/components/ui/flow-builder/components/toolbars/ApiRequestToolbar.vue +0 -45
- package/components/ui/flow-builder/components/toolbars/ConfirmToolbar.vue +0 -45
- package/components/ui/flow-builder/components/toolbars/DefaultToolbar.vue +0 -42
- package/components/ui/flow-builder/components/toolbars/IntegrationActionToolbar.vue +0 -45
- package/components/ui/flow-builder/components/variables/Widget.vue +0 -137
- package/components/ui/flow-builder/composables/outputRegistry.ts +0 -33
- package/components/ui/flow-builder/composables/taskHandlers.js +0 -185
- package/components/ui/flow-builder/composables/useLayout.js +0 -60
- package/components/ui/flow-builder/composables/useProcessNodeLogic.js +0 -55
- package/components/ui/flow-builder/composables/useRunProcess.js +0 -267
- package/components/ui/flow-builder/index.ts +0 -5
- package/components/ui/flow-builder/types.ts +0 -7
- package/components/ui/form/FormControl.vue +0 -17
- package/components/ui/form/FormDescription.vue +0 -21
- package/components/ui/form/FormItem.vue +0 -22
- package/components/ui/form/FormLabel.vue +0 -25
- package/components/ui/form/FormMessage.vue +0 -22
- package/components/ui/form/index.ts +0 -7
- package/components/ui/form/injectionKeys.ts +0 -4
- package/components/ui/form/useFormField.ts +0 -30
- package/components/ui/form-builder/FormBuilder.vue +0 -45
- package/components/ui/form-builder/FormBuilderSelect.vue +0 -42
- package/components/ui/form-builder/FormDisplayer.vue +0 -39
- package/components/ui/form-builder/components/AdminElementEditor.vue +0 -48
- package/components/ui/form-builder/components/AdminToolbar.vue +0 -60
- package/components/ui/form-builder/components/AdminToolbarView.vue +0 -19
- package/components/ui/form-builder/components/CustomDashboard.vue +0 -312
- package/components/ui/form-builder/components/FormBuilderWrapper.vue +0 -333
- package/components/ui/form-builder/components/admin/Transformer.vue +0 -25
- package/components/ui/form-builder/components/admin/element-setting-views/Button.vue +0 -30
- package/components/ui/form-builder/components/admin/element-setting-views/Checkbox.vue +0 -23
- package/components/ui/form-builder/components/admin/element-setting-views/Label.vue +0 -13
- package/components/ui/form-builder/components/admin/element-setting-views/Radios.vue +0 -85
- package/components/ui/form-builder/components/admin/element-setting-views/Scanner.vue +0 -15
- package/components/ui/form-builder/components/admin/element-setting-views/Select.vue +0 -75
- package/components/ui/form-builder/components/admin/element-setting-views/Text.vue +0 -13
- package/components/ui/form-builder/components/admin/element-setting-views/Textarea.vue +0 -20
- package/components/ui/form-builder/components/admin/element-setting-views/Textfield.vue +0 -20
- package/components/ui/form-builder/components/admin/element-setting-views/index.ts +0 -21
- package/components/ui/form-builder/components/admin/setting-views/ApiActionsView.vue +0 -111
- package/components/ui/form-builder/components/admin/setting-views/NewElementView.vue +0 -200
- package/components/ui/form-builder/components/admin/setting-views/VariablesView.vue +0 -19
- package/components/ui/form-builder/components/admin/setting-views/new-element-view/DraggableElement.vue +0 -107
- package/components/ui/form-builder/components/admin/setting-views/variables-view/ApiActionVariables.vue +0 -27
- package/components/ui/form-builder/components/admin/setting-views/variables-view/RouteQueryParams.vue +0 -47
- package/components/ui/form-builder/components/admin/setting-views/variables-view/Transformers.vue +0 -61
- package/components/ui/form-builder/components/admin/setting-views/variables-view/Variables.vue +0 -74
- package/components/ui/form-builder/components/elements/button/Button.vue +0 -60
- package/components/ui/form-builder/components/elements/button/index.ts +0 -1
- package/components/ui/form-builder/components/elements/checkbox/Checkbox.vue +0 -40
- package/components/ui/form-builder/components/elements/checkbox/index.ts +0 -1
- package/components/ui/form-builder/components/elements/file/File.vue +0 -6
- package/components/ui/form-builder/components/elements/file/index.ts +0 -1
- package/components/ui/form-builder/components/elements/images/Images.vue +0 -28
- package/components/ui/form-builder/components/elements/images/index.ts +0 -1
- package/components/ui/form-builder/components/elements/index.ts +0 -31
- package/components/ui/form-builder/components/elements/items/Items.vue +0 -6
- package/components/ui/form-builder/components/elements/items/index.ts +0 -1
- package/components/ui/form-builder/components/elements/label/Label.vue +0 -20
- package/components/ui/form-builder/components/elements/label/index.ts +0 -1
- package/components/ui/form-builder/components/elements/location/Location.vue +0 -6
- package/components/ui/form-builder/components/elements/location/index.ts +0 -1
- package/components/ui/form-builder/components/elements/radios/Radios.vue +0 -42
- package/components/ui/form-builder/components/elements/radios/index.ts +0 -1
- package/components/ui/form-builder/components/elements/richtext/Richtext.vue +0 -6
- package/components/ui/form-builder/components/elements/richtext/index.ts +0 -1
- package/components/ui/form-builder/components/elements/scanner/Scanner.vue +0 -173
- package/components/ui/form-builder/components/elements/scanner/index.ts +0 -1
- package/components/ui/form-builder/components/elements/select/Select.vue +0 -49
- package/components/ui/form-builder/components/elements/select/index.ts +0 -1
- package/components/ui/form-builder/components/elements/text/Text.vue +0 -20
- package/components/ui/form-builder/components/elements/text/index.ts +0 -1
- package/components/ui/form-builder/components/elements/textarea/Textarea.vue +0 -30
- package/components/ui/form-builder/components/elements/textarea/index.ts +0 -1
- package/components/ui/form-builder/components/elements/textfield/Textfield.vue +0 -30
- package/components/ui/form-builder/components/elements/textfield/index.ts +0 -1
- package/components/ui/form-builder/index.ts +0 -3
- package/components/ui/input/Input.vue +0 -33
- package/components/ui/input/index.ts +0 -1
- package/components/ui/integration-action-builder/IntegrationActionBuilder.vue +0 -193
- package/components/ui/integration-action-builder/InterpolationField.vue +0 -29
- package/components/ui/integration-action-builder/index.ts +0 -1
- package/components/ui/integration-action-builder/integrations/firebase/AddDocument.vue +0 -43
- package/components/ui/integration-action-builder/integrations/firebase/DeleteDocument.vue +0 -6
- package/components/ui/integration-action-builder/integrations/firebase/GetCollections.vue +0 -6
- package/components/ui/integration-action-builder/integrations/firebase/GetDocumentById.vue +0 -6
- package/components/ui/integration-action-builder/integrations/firebase/QueryCollectionGroup.vue +0 -6
- package/components/ui/integration-action-builder/integrations/firebase/QueryFirestore.vue +0 -165
- package/components/ui/integration-action-builder/integrations/firebase/UpdateDocument.vue +0 -6
- package/components/ui/integration-action-builder/integrations/firebase/index.ts +0 -204
- package/components/ui/integration-action-builder/integrations/index.ts +0 -9
- package/components/ui/integration-action-builder/integrations/openai/AddDocument.vue +0 -43
- package/components/ui/integration-action-builder/integrations/openai/GenerateText.vue +0 -40
- package/components/ui/integration-action-builder/integrations/openai/components/ModelSelector.vue +0 -75
- package/components/ui/integration-action-builder/integrations/openai/index.ts +0 -116
- package/components/ui/integration-action-builder/integrations/twilio/MakeCall.vue +0 -40
- package/components/ui/integration-action-builder/integrations/twilio/SendSMS.vue +0 -39
- package/components/ui/integration-action-builder/integrations/twilio/components/ModelSelector.vue +0 -75
- package/components/ui/integration-action-builder/integrations/twilio/index.ts +0 -68
- package/components/ui/integration-icon/IntegrationIcon.vue +0 -18
- package/components/ui/integration-icon/index.ts +0 -1
- package/components/ui/label/Label.vue +0 -28
- package/components/ui/label/index.ts +0 -1
- package/components/ui/lucide-icon-selector/LucideIconPicker.vue +0 -34
- package/components/ui/lucide-icon-selector/LucideIconSelector.vue +0 -55
- package/components/ui/lucide-icon-selector/index.ts +0 -2
- package/components/ui/media-picker/MediaPicker.vue +0 -40
- package/components/ui/media-picker/MediaPickerDialog.vue +0 -306
- package/components/ui/media-picker/MediaPickerItems.vue +0 -342
- package/components/ui/media-picker/index.ts +0 -2
- package/components/ui/media-picker/media-picker-dialog/Dropzone.vue +0 -104
- package/components/ui/media-picker/media-picker-dialog/FileItem.vue +0 -108
- package/components/ui/media-picker/media-picker-dialog/Filters.vue +0 -78
- package/components/ui/menubar/Menubar.vue +0 -36
- package/components/ui/menubar/MenubarCheckboxItem.vue +0 -41
- package/components/ui/menubar/MenubarContent.vue +0 -44
- package/components/ui/menubar/MenubarGroup.vue +0 -14
- package/components/ui/menubar/MenubarItem.vue +0 -37
- package/components/ui/menubar/MenubarLabel.vue +0 -19
- package/components/ui/menubar/MenubarMenu.vue +0 -14
- package/components/ui/menubar/MenubarRadioGroup.vue +0 -22
- package/components/ui/menubar/MenubarRadioItem.vue +0 -41
- package/components/ui/menubar/MenubarSeparator.vue +0 -23
- package/components/ui/menubar/MenubarShortcut.vue +0 -17
- package/components/ui/menubar/MenubarSub.vue +0 -22
- package/components/ui/menubar/MenubarSubContent.vue +0 -39
- package/components/ui/menubar/MenubarSubTrigger.vue +0 -27
- package/components/ui/menubar/MenubarTrigger.vue +0 -30
- package/components/ui/menubar/index.ts +0 -15
- package/components/ui/number-field/NumberField.vue +0 -23
- package/components/ui/number-field/NumberFieldContent.vue +0 -14
- package/components/ui/number-field/NumberFieldDecrement.vue +0 -25
- package/components/ui/number-field/NumberFieldIncrement.vue +0 -25
- package/components/ui/number-field/NumberFieldInput.vue +0 -16
- package/components/ui/number-field/index.ts +0 -5
- package/components/ui/pagination/PaginationEllipsis.vue +0 -22
- package/components/ui/pagination/PaginationFirst.vue +0 -29
- package/components/ui/pagination/PaginationLast.vue +0 -29
- package/components/ui/pagination/PaginationNext.vue +0 -29
- package/components/ui/pagination/PaginationPrev.vue +0 -29
- package/components/ui/pagination/index.ts +0 -10
- package/components/ui/popover/Popover.vue +0 -18
- package/components/ui/popover/PopoverAnchor.vue +0 -15
- package/components/ui/popover/PopoverContent.vue +0 -49
- package/components/ui/popover/PopoverTrigger.vue +0 -14
- package/components/ui/popover/index.ts +0 -4
- package/components/ui/query-builder-dialog/QueryBuilderDialog.vue +0 -389
- package/components/ui/query-builder-dialog/index.ts +0 -1
- package/components/ui/radio-group/RadioGroup.vue +0 -30
- package/components/ui/radio-group/RadioGroupItem.vue +0 -43
- package/components/ui/radio-group/index.ts +0 -2
- package/components/ui/range-calendar/RangeCalendar.vue +0 -57
- package/components/ui/range-calendar/RangeCalendarCell.vue +0 -21
- package/components/ui/range-calendar/RangeCalendarCellTrigger.vue +0 -37
- package/components/ui/range-calendar/RangeCalendarGrid.vue +0 -21
- package/components/ui/range-calendar/RangeCalendarGridBody.vue +0 -11
- package/components/ui/range-calendar/RangeCalendarGridHead.vue +0 -11
- package/components/ui/range-calendar/RangeCalendarGridRow.vue +0 -18
- package/components/ui/range-calendar/RangeCalendarHeadCell.vue +0 -18
- package/components/ui/range-calendar/RangeCalendarHeader.vue +0 -18
- package/components/ui/range-calendar/RangeCalendarHeading.vue +0 -28
- package/components/ui/range-calendar/RangeCalendarNextButton.vue +0 -29
- package/components/ui/range-calendar/RangeCalendarPrevButton.vue +0 -29
- package/components/ui/range-calendar/index.ts +0 -12
- package/components/ui/resizable/ResizableHandle.vue +0 -27
- package/components/ui/resizable/ResizablePanel.vue +0 -18
- package/components/ui/resizable/ResizablePanelGroup.vue +0 -25
- package/components/ui/resizable/index.ts +0 -3
- package/components/ui/ripple-button/RippleButton.vue +0 -97
- package/components/ui/ripple-button/index.ts +0 -1
- package/components/ui/sandbox/Sandbox.vue +0 -35
- package/components/ui/sandbox/index.ts +0 -1
- package/components/ui/scroll-area/ScrollArea.vue +0 -36
- package/components/ui/scroll-area/ScrollBar.vue +0 -34
- package/components/ui/scroll-area/index.ts +0 -2
- package/components/ui/segmented-control/SegmentedControl.vue +0 -121
- package/components/ui/segmented-control/SegmentedControlButton.vue +0 -64
- package/components/ui/segmented-control/index.ts +0 -2
- package/components/ui/select/Select.vue +0 -18
- package/components/ui/select/SelectContent.vue +0 -55
- package/components/ui/select/SelectGroup.vue +0 -14
- package/components/ui/select/SelectItem.vue +0 -45
- package/components/ui/select/SelectItemText.vue +0 -14
- package/components/ui/select/SelectLabel.vue +0 -16
- package/components/ui/select/SelectScrollDownButton.vue +0 -28
- package/components/ui/select/SelectScrollUpButton.vue +0 -28
- package/components/ui/select/SelectSeparator.vue +0 -21
- package/components/ui/select/SelectTrigger.vue +0 -32
- package/components/ui/select/SelectValue.vue +0 -15
- package/components/ui/select/index.ts +0 -11
- package/components/ui/separator/Separator.vue +0 -28
- package/components/ui/separator/index.ts +0 -1
- package/components/ui/sheet/Sheet.vue +0 -17
- package/components/ui/sheet/SheetClose.vue +0 -14
- package/components/ui/sheet/SheetContent.vue +0 -65
- package/components/ui/sheet/SheetDescription.vue +0 -20
- package/components/ui/sheet/SheetFooter.vue +0 -16
- package/components/ui/sheet/SheetHeader.vue +0 -15
- package/components/ui/sheet/SheetOverlay.vue +0 -24
- package/components/ui/sheet/SheetTitle.vue +0 -20
- package/components/ui/sheet/SheetTrigger.vue +0 -14
- package/components/ui/sheet/index.ts +0 -8
- package/components/ui/sidebar/Sidebar.vue +0 -96
- package/components/ui/sidebar/SidebarContent.vue +0 -18
- package/components/ui/sidebar/SidebarFooter.vue +0 -18
- package/components/ui/sidebar/SidebarGroup.vue +0 -18
- package/components/ui/sidebar/SidebarGroupAction.vue +0 -27
- package/components/ui/sidebar/SidebarGroupContent.vue +0 -18
- package/components/ui/sidebar/SidebarGroupLabel.vue +0 -25
- package/components/ui/sidebar/SidebarHeader.vue +0 -18
- package/components/ui/sidebar/SidebarInput.vue +0 -22
- package/components/ui/sidebar/SidebarInset.vue +0 -21
- package/components/ui/sidebar/SidebarMenu.vue +0 -18
- package/components/ui/sidebar/SidebarMenuAction.vue +0 -34
- package/components/ui/sidebar/SidebarMenuBadge.vue +0 -26
- package/components/ui/sidebar/SidebarMenuButton.vue +0 -49
- package/components/ui/sidebar/SidebarMenuButtonChild.vue +0 -34
- package/components/ui/sidebar/SidebarMenuItem.vue +0 -18
- package/components/ui/sidebar/SidebarMenuSkeleton.vue +0 -34
- package/components/ui/sidebar/SidebarMenuSub.vue +0 -22
- package/components/ui/sidebar/SidebarMenuSubButton.vue +0 -36
- package/components/ui/sidebar/SidebarMenuSubItem.vue +0 -18
- package/components/ui/sidebar/SidebarProvider.vue +0 -81
- package/components/ui/sidebar/SidebarRail.vue +0 -33
- package/components/ui/sidebar/SidebarSeparator.vue +0 -19
- package/components/ui/sidebar/SidebarTrigger.vue +0 -27
- package/components/ui/sidebar/index.ts +0 -60
- package/components/ui/sidebar/utils.ts +0 -19
- package/components/ui/skeleton/Skeleton.vue +0 -17
- package/components/ui/skeleton/index.ts +0 -1
- package/components/ui/sonner/Sonner.vue +0 -18
- package/components/ui/sonner/index.ts +0 -1
- package/components/ui/spring-calendar/SpringCalendar.vue +0 -110
- package/components/ui/spring-calendar/TextMorph.vue +0 -160
- package/components/ui/spring-calendar/index.ts +0 -2
- package/components/ui/switch/Switch.vue +0 -41
- package/components/ui/switch/index.ts +0 -1
- package/components/ui/table/Table.vue +0 -16
- package/components/ui/table/TableBody.vue +0 -17
- package/components/ui/table/TableCaption.vue +0 -17
- package/components/ui/table/TableCell.vue +0 -22
- package/components/ui/table/TableEmpty.vue +0 -37
- package/components/ui/table/TableFooter.vue +0 -17
- package/components/ui/table/TableHead.vue +0 -17
- package/components/ui/table/TableHeader.vue +0 -17
- package/components/ui/table/TableRow.vue +0 -17
- package/components/ui/table/index.ts +0 -9
- package/components/ui/table/utils.ts +0 -9
- package/components/ui/tabs/Tabs.vue +0 -15
- package/components/ui/tabs/TabsContent.vue +0 -22
- package/components/ui/tabs/TabsList.vue +0 -25
- package/components/ui/tabs/TabsTrigger.vue +0 -29
- package/components/ui/tabs/index.ts +0 -4
- package/components/ui/tailwind-color-picker/TailwindColorPicker.vue +0 -58
- package/components/ui/tailwind-color-picker/index.ts +0 -1
- package/components/ui/textarea/Textarea.vue +0 -28
- package/components/ui/textarea/index.ts +0 -1
- package/components/ui/toggle/Toggle.vue +0 -32
- package/components/ui/toggle/index.ts +0 -27
- package/components/ui/tooltip/Tooltip.vue +0 -17
- package/components/ui/tooltip/TooltipContent.vue +0 -33
- package/components/ui/tooltip/TooltipProvider.vue +0 -13
- package/components/ui/tooltip/TooltipTrigger.vue +0 -14
- package/components/ui/tooltip/index.ts +0 -4
- package/composables/useCms.ts +0 -11
- package/index.ts +0 -10
- package/lib/interpolation.ts +0 -77
- package/lib/utils.ts +0 -24
- package/styles/components/code-editor.css +0 -52
- package/styles/components/flow-builder.css +0 -159
- package/styles/index.css +0 -2
- package/tsconfig.json +0 -19
- package/types/index.ts +0 -41
- package/vite.config.ts +0 -31
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { inject } from 'vue'
|
|
3
|
-
|
|
4
|
-
const activeElement = inject('activeElement');
|
|
5
|
-
const allAvailableVariables = inject('allAvailableVariables')
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<div class="flex flex-col">
|
|
10
|
-
<Input type="text" placeholder="Text" v-model="activeElement.text" class="mb-4" />
|
|
11
|
-
|
|
12
|
-
<p class="text-sm font-semibold mb-2">Variant</p>
|
|
13
|
-
<Select v-model="activeElement.variant">
|
|
14
|
-
<SelectTrigger class="mb-4">
|
|
15
|
-
<SelectValue placeholder="Select variant" />
|
|
16
|
-
</SelectTrigger>
|
|
17
|
-
<SelectContent>
|
|
18
|
-
<SelectItem value="default">Primary</SelectItem>
|
|
19
|
-
<SelectItem value="secondary">Secondary</SelectItem>
|
|
20
|
-
<SelectItem value="destructive">Destructive</SelectItem>
|
|
21
|
-
<SelectItem value="outline">Outline</SelectItem>
|
|
22
|
-
<SelectItem value="ghost">Ghost</SelectItem>
|
|
23
|
-
<SelectItem value="link">Link</SelectItem>
|
|
24
|
-
</SelectContent>
|
|
25
|
-
</Select>
|
|
26
|
-
|
|
27
|
-
<p class="text-sm font-semibold mb-2">On Click</p>
|
|
28
|
-
<FlowBuilderSelect v-model="activeElement.onClickFlow" :variables="allAvailableVariables" />
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const activeElement = inject('activeElement');
|
|
3
|
-
const state = inject('state');
|
|
4
|
-
|
|
5
|
-
const defaultValue = computed(() => activeElement.value.defaultValue)
|
|
6
|
-
watch(defaultValue, () => {
|
|
7
|
-
state.elementValues[activeElement.value.variableName] = defaultValue.value
|
|
8
|
-
})
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
<template>
|
|
12
|
-
<div class="flex flex-col gap-2">
|
|
13
|
-
<Input type="text" placeholder="Label" v-model="activeElement.label" />
|
|
14
|
-
<Input type="text" placeholder="Text" v-model="activeElement.text" />
|
|
15
|
-
<div class="flex flex-col gap-1">
|
|
16
|
-
<p class="text-sm text-muted">Default value</p>
|
|
17
|
-
<div>
|
|
18
|
-
<Checkbox v-model="activeElement.defaultValue" />
|
|
19
|
-
{{ activeElement.defaultValue ? 'TRUE' : 'FALSE' }}
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { inject } from 'vue';
|
|
3
|
-
import Transformer from '../Transformer.vue'
|
|
4
|
-
|
|
5
|
-
const activeElement = inject('activeElement');
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<div class="grid">
|
|
10
|
-
<p class="text-sm font-semibold mb-2">Text</p>
|
|
11
|
-
<Transformer v-model="activeElement.text" />
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { Plus, Ellipsis } from 'lucide-vue-next';
|
|
3
|
-
import { inject, watch, computed } from 'vue';
|
|
4
|
-
|
|
5
|
-
const activeElement = inject('activeElement');
|
|
6
|
-
const state = inject('state');
|
|
7
|
-
|
|
8
|
-
const defaultValue = computed(() => activeElement.value.defaultValue)
|
|
9
|
-
watch(defaultValue, () => {
|
|
10
|
-
state.elementValues[activeElement.value.variableName] = defaultValue.value
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
function addOption() {
|
|
14
|
-
if (!activeElement.value) return;
|
|
15
|
-
|
|
16
|
-
if (!activeElement.value.options) {
|
|
17
|
-
activeElement.value.options = [];
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
let nameBase = "Option", nameCounter = 1, name = nameBase;
|
|
21
|
-
let valueBase = "option", valueCounter = 1, value = valueBase;
|
|
22
|
-
|
|
23
|
-
while (activeElement.value.options.find(option => option.value === value)) {
|
|
24
|
-
valueCounter++;
|
|
25
|
-
value = valueBase + valueCounter;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
while (activeElement.value.options.find(option => option.label === name)) {
|
|
29
|
-
nameCounter++;
|
|
30
|
-
name = nameBase + nameCounter;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
let randomId = crypto.randomUUID()
|
|
34
|
-
activeElement.value.options.push({ value, label: name, id: randomId })
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function removeOption(id: string) {
|
|
38
|
-
if (!activeElement.value) return;
|
|
39
|
-
|
|
40
|
-
activeElement.value.options = activeElement.value.options.filter(option => option.id !== id)
|
|
41
|
-
}
|
|
42
|
-
</script>
|
|
43
|
-
|
|
44
|
-
<template>
|
|
45
|
-
<div class="flex flex-col gap-2">
|
|
46
|
-
<Input type="text" placeholder="Label" v-model="activeElement.label" />
|
|
47
|
-
|
|
48
|
-
<p>Orientation</p>
|
|
49
|
-
<Select v-model="activeElement.orientation">
|
|
50
|
-
<SelectTrigger>
|
|
51
|
-
<SelectValue placeholder="Select orientation" />
|
|
52
|
-
</SelectTrigger>
|
|
53
|
-
<SelectContent>
|
|
54
|
-
<SelectItem value="vertical">Vertical</SelectItem>
|
|
55
|
-
<SelectItem value="horizontal">Horizontal</SelectItem>
|
|
56
|
-
</SelectContent>
|
|
57
|
-
</Select>
|
|
58
|
-
|
|
59
|
-
<div class="flex items-center justify-between gap-2">
|
|
60
|
-
<p>Options</p>
|
|
61
|
-
<Button variant="ghost" class="rounded-xl" @click="addOption">
|
|
62
|
-
<Plus />
|
|
63
|
-
</Button>
|
|
64
|
-
</div>
|
|
65
|
-
<div>
|
|
66
|
-
<Popover v-for="option in activeElement.options" :key="option.id">
|
|
67
|
-
<PopoverTrigger class="flex justify-between items-center gap-2 w-full">
|
|
68
|
-
{{ option.label }}
|
|
69
|
-
<Ellipsis class="size-4" />
|
|
70
|
-
</PopoverTrigger>
|
|
71
|
-
<PopoverContent>
|
|
72
|
-
<div class="flex flex-col gap-2">
|
|
73
|
-
<Label for="option.id + '_label'">Label</Label>
|
|
74
|
-
<Input type="text" placeholder="Label" :id="option.id + '_label'" v-model="option.label" />
|
|
75
|
-
<Label for="option.id + '_value'">Value</Label>
|
|
76
|
-
<Input type="text" placeholder="Value" :id="option.id + '_value'" v-model="option.value" />
|
|
77
|
-
</div>
|
|
78
|
-
<Button variant="destructive" @click="removeOption(option.id)">Remove</Button>
|
|
79
|
-
</PopoverContent>
|
|
80
|
-
</Popover>
|
|
81
|
-
</div>
|
|
82
|
-
|
|
83
|
-
<Input type="text" placeholder="Default value" v-model="activeElement.defaultValue" />
|
|
84
|
-
</div>
|
|
85
|
-
</template>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { inject } from 'vue'
|
|
3
|
-
|
|
4
|
-
const activeElement = inject('activeElement');
|
|
5
|
-
const allAvailableVariables = inject('allAvailableVariables')
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<div class="flex flex-col">
|
|
10
|
-
<Input type="number" placeholder="Time between scans" v-model="activeElement.timeBetweenScans" class="mb-4" />
|
|
11
|
-
|
|
12
|
-
<p class="text-sm font-semibold mb-2">On Scan</p>
|
|
13
|
-
<FlowBuilderSelect v-model="activeElement.onScanFlow" :variables="allAvailableVariables" />
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { Plus, Ellipsis } from 'lucide-vue-next';
|
|
3
|
-
import { inject, watch, computed } from 'vue';
|
|
4
|
-
|
|
5
|
-
const activeElement = inject('activeElement');
|
|
6
|
-
const state = inject('state');
|
|
7
|
-
|
|
8
|
-
const defaultValue = computed(() => activeElement.value.defaultValue)
|
|
9
|
-
watch(defaultValue, () => {
|
|
10
|
-
state.elementValues[activeElement.value.variableName] = defaultValue.value
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
function addOption() {
|
|
14
|
-
if (!activeElement.value) return;
|
|
15
|
-
|
|
16
|
-
if (!activeElement.value.options) {
|
|
17
|
-
activeElement.value.options = [];
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
let nameBase = "Option", nameCounter = 1, name = nameBase;
|
|
21
|
-
let valueBase = "option", valueCounter = 1, value = valueBase;
|
|
22
|
-
|
|
23
|
-
while (activeElement.value.options.find(option => option.value === value)) {
|
|
24
|
-
valueCounter++;
|
|
25
|
-
value = valueBase + valueCounter;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
while (activeElement.value.options.find(option => option.label === name)) {
|
|
29
|
-
nameCounter++;
|
|
30
|
-
name = nameBase + nameCounter;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
let randomId = crypto.randomUUID()
|
|
34
|
-
activeElement.value.options.push({ value, label: name, id: randomId })
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function removeOption(id: string) {
|
|
38
|
-
if (!activeElement.value) return;
|
|
39
|
-
|
|
40
|
-
activeElement.value.options = activeElement.value.options.filter(option => option.id !== id)
|
|
41
|
-
}
|
|
42
|
-
</script>
|
|
43
|
-
|
|
44
|
-
<template>
|
|
45
|
-
<div class="flex flex-col gap-2">
|
|
46
|
-
<Input type="text" placeholder="Label" v-model="activeElement.label" />
|
|
47
|
-
<Input type="text" placeholder="Placeholder" v-model="activeElement.placeholder" />
|
|
48
|
-
|
|
49
|
-
<div class="flex items-center justify-between gap-2">
|
|
50
|
-
<p>Options</p>
|
|
51
|
-
<Button variant="ghost" class="rounded-xl" @click="addOption">
|
|
52
|
-
<Plus />
|
|
53
|
-
</Button>
|
|
54
|
-
</div>
|
|
55
|
-
<div>
|
|
56
|
-
<Popover v-for="option in activeElement.options" :key="option.id">
|
|
57
|
-
<PopoverTrigger class="flex justify-between items-center gap-2 w-full">
|
|
58
|
-
{{ option.label }}
|
|
59
|
-
<Ellipsis class="size-4" />
|
|
60
|
-
</PopoverTrigger>
|
|
61
|
-
<PopoverContent>
|
|
62
|
-
<div class="flex flex-col gap-2">
|
|
63
|
-
<Label for="option.id + '_label'">Label</Label>
|
|
64
|
-
<Input type="text" placeholder="Label" :id="option.id + '_label'" v-model="option.label" />
|
|
65
|
-
<Label for="option.id + '_value'">Value</Label>
|
|
66
|
-
<Input type="text" placeholder="Value" :id="option.id + '_value'" v-model="option.value" />
|
|
67
|
-
</div>
|
|
68
|
-
<Button variant="destructive" @click="removeOption(option.id)">Remove</Button>
|
|
69
|
-
</PopoverContent>
|
|
70
|
-
</Popover>
|
|
71
|
-
</div>
|
|
72
|
-
|
|
73
|
-
<Input type="text" placeholder="Default value" v-model="activeElement.defaultValue" />
|
|
74
|
-
</div>
|
|
75
|
-
</template>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { inject } from 'vue';
|
|
3
|
-
import Transformer from '../Transformer.vue'
|
|
4
|
-
|
|
5
|
-
const activeElement = inject('activeElement');
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<div class="grid">
|
|
10
|
-
<p class="text-sm font-semibold mb-2">Text</p>
|
|
11
|
-
<Transformer v-model="activeElement.text" />
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { inject, watch, computed } from 'vue';
|
|
3
|
-
import Transformer from '../Transformer.vue'
|
|
4
|
-
|
|
5
|
-
const activeElement = inject('activeElement');
|
|
6
|
-
const state = inject('state');
|
|
7
|
-
|
|
8
|
-
const defaultValue = computed(() => activeElement.value.defaultValue)
|
|
9
|
-
watch(defaultValue, () => {
|
|
10
|
-
state.elementValues[activeElement.value.variableName] = defaultValue.value
|
|
11
|
-
})
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<div class="flex flex-col gap-2">
|
|
16
|
-
<Transformer v-model="activeElement.label" placeholder="Label" />
|
|
17
|
-
<Transformer v-model="activeElement.placeholder" placeholder="Placeholder" />
|
|
18
|
-
<Transformer v-model="activeElement.defaultValue" placeholder="Default value" />
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { inject, watch, computed } from 'vue';
|
|
3
|
-
import Transformer from '../Transformer.vue'
|
|
4
|
-
|
|
5
|
-
const activeElement = inject('activeElement');
|
|
6
|
-
const state = inject('state');
|
|
7
|
-
|
|
8
|
-
const defaultValue = computed(() => activeElement.value.defaultValue)
|
|
9
|
-
watch(defaultValue, () => {
|
|
10
|
-
state.elementValues[activeElement.value.variableName] = defaultValue.value
|
|
11
|
-
})
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<div class="flex flex-col gap-2">
|
|
16
|
-
<Transformer v-model="activeElement.label" placeholder="Label" />
|
|
17
|
-
<Transformer v-model="activeElement.placeholder" placeholder="Placeholder" />
|
|
18
|
-
<Transformer v-model="activeElement.defaultValue" placeholder="Default value" />
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import CheckboxSettingsView from './Checkbox.vue'
|
|
2
|
-
import LabelSettingsView from './Label.vue'
|
|
3
|
-
import ButtonSettingsView from './Button.vue'
|
|
4
|
-
import TextSettingsView from './Text.vue'
|
|
5
|
-
import TextareaSettingsView from './Textarea.vue'
|
|
6
|
-
import TextfieldSettingsView from './Textfield.vue'
|
|
7
|
-
import SelectSettingsView from './Select.vue'
|
|
8
|
-
import RadiosSettingsView from './Radios.vue'
|
|
9
|
-
import ScannerSettingsView from './Scanner.vue'
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
Checkbox: CheckboxSettingsView,
|
|
13
|
-
Label: LabelSettingsView,
|
|
14
|
-
Button: ButtonSettingsView,
|
|
15
|
-
Text: TextSettingsView,
|
|
16
|
-
Textfield: TextfieldSettingsView,
|
|
17
|
-
Textarea: TextareaSettingsView,
|
|
18
|
-
Select: SelectSettingsView,
|
|
19
|
-
Radios: RadiosSettingsView,
|
|
20
|
-
Scanner: ScannerSettingsView
|
|
21
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { inject, watch } from 'vue';
|
|
3
|
-
|
|
4
|
-
const state = inject('state') as { apiActions: any[] };
|
|
5
|
-
const allAvailableVariables = inject('allAvailableVariables')
|
|
6
|
-
|
|
7
|
-
const route = useRoute()
|
|
8
|
-
const { getProjectIntegrations } = useIntegrations()
|
|
9
|
-
|
|
10
|
-
const projectId = route.params.slug as string
|
|
11
|
-
const integrations = await getProjectIntegrations(projectId)
|
|
12
|
-
|
|
13
|
-
watch(state.apiActions, (val) => {
|
|
14
|
-
if (val) {
|
|
15
|
-
async function loadData(action: any) {
|
|
16
|
-
const { fireAction } = useIntegrationActions(action.integration)
|
|
17
|
-
let res = await fireAction(action, allAvailableVariables.value)
|
|
18
|
-
console.log("fireAction res", res); // TODO
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
val.forEach((action) => {
|
|
22
|
-
if (action.fireOnStart && action.hasFired) {
|
|
23
|
-
loadData(action);
|
|
24
|
-
}
|
|
25
|
-
})
|
|
26
|
-
}
|
|
27
|
-
}, { deep: true })
|
|
28
|
-
|
|
29
|
-
const { showBuilder } = useIntegrationActionBuilder()
|
|
30
|
-
const showIntegrationActionBuilder = async () => {
|
|
31
|
-
let newAction = await showBuilder(allAvailableVariables.value);
|
|
32
|
-
|
|
33
|
-
let placeholderName = newAction.serviceType + " - " + newAction.actionType;
|
|
34
|
-
let i = 2;
|
|
35
|
-
while (state.apiActions.find(action => action.label === placeholderName)) {
|
|
36
|
-
placeholderName = newAction.serviceType + " - " + newAction.actionType + " " + i;
|
|
37
|
-
i++;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
state.apiActions.push({
|
|
41
|
-
id: crypto.randomUUID(),
|
|
42
|
-
label: placeholderName,
|
|
43
|
-
action: newAction,
|
|
44
|
-
hasFired: false,
|
|
45
|
-
fireOnStart: false,
|
|
46
|
-
firedAt: null
|
|
47
|
-
})
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
const editIntegrationAction = async (action: any) => {
|
|
51
|
-
let updatedAction = await showBuilder(allAvailableVariables.value, action.action)
|
|
52
|
-
state.apiActions.find(a => a.id === action.id).action = updatedAction
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
const editIntegrationActionName = (action: any) => {
|
|
56
|
-
let newName = prompt("Enter new action name", action.label)
|
|
57
|
-
if (newName) {
|
|
58
|
-
state.apiActions.find(a => a.id === action.id).label = newName
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
const removeAction = (action: any) => {
|
|
63
|
-
state.apiActions = state.apiActions.filter(a => a.id !== action.id)
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const executeAction = async (action: any) => {
|
|
67
|
-
const { fireAction } = useIntegrationActions(action.action.integration)
|
|
68
|
-
let res = await fireAction(action.action, allAvailableVariables.value)
|
|
69
|
-
state.apiActions.find(a => a.id === action.id).action.response = res
|
|
70
|
-
}
|
|
71
|
-
</script>
|
|
72
|
-
|
|
73
|
-
<template>
|
|
74
|
-
<div class="flex flex-col gap-2 p-2">
|
|
75
|
-
<p class="text-sm font-semibold mb-2">APIs & Actions</p>
|
|
76
|
-
</div>
|
|
77
|
-
|
|
78
|
-
<Button @click="showIntegrationActionBuilder">+ Integration action</Button>
|
|
79
|
-
|
|
80
|
-
<div>
|
|
81
|
-
<p>Actions</p>
|
|
82
|
-
<div class="flex flex-col gap-2">
|
|
83
|
-
<ContextMenu v-for="action in state.apiActions" :key="action.id">
|
|
84
|
-
<ContextMenuTrigger as-child>
|
|
85
|
-
<Button variant="ghost" size="sm" class="flex gap-1 items-center justify-start w-full" @click="editIntegrationAction(action)">
|
|
86
|
-
<IntegrationIcon :type="integrations.find((integration: any) => integration.id === action.action.integration)?.type" class="size-5" v-if="action.action?.integration" />
|
|
87
|
-
<p class="text-sm">{{ action.label }}</p>
|
|
88
|
-
</Button>
|
|
89
|
-
</ContextMenuTrigger>
|
|
90
|
-
<ContextMenuContent class="w-64">
|
|
91
|
-
<ContextMenuItem inset @click="editIntegrationActionName(action)">
|
|
92
|
-
Rename Action
|
|
93
|
-
</ContextMenuItem>
|
|
94
|
-
<ContextMenuItem inset>
|
|
95
|
-
View Data
|
|
96
|
-
</ContextMenuItem>
|
|
97
|
-
<ContextMenuItem inset @click="executeAction(action)">
|
|
98
|
-
Execute Action
|
|
99
|
-
</ContextMenuItem>
|
|
100
|
-
<ContextMenuItem inset variant="destructive" @click="removeAction(action)">
|
|
101
|
-
Remove Action
|
|
102
|
-
</ContextMenuItem>
|
|
103
|
-
<ContextMenuSeparator />
|
|
104
|
-
<ContextMenuCheckboxItem :model-value="action.fireOnStart" @update:model-value="action.fireOnStart = $event">
|
|
105
|
-
Fire on start
|
|
106
|
-
</ContextMenuCheckboxItem>
|
|
107
|
-
</ContextMenuContent>
|
|
108
|
-
</ContextMenu>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
</template>
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import DraggableElement from './new-element-view/DraggableElement.vue';
|
|
3
|
-
import { Type, Text, SquareMousePointer, TextCursorInput, Bold, Check, ChevronDown, CircleDot, MapPinned, Grid2X2, File, Image, ScanBarcode } from 'lucide-vue-next';
|
|
4
|
-
|
|
5
|
-
const elements = [
|
|
6
|
-
{
|
|
7
|
-
text: "Label",
|
|
8
|
-
icon: Type,
|
|
9
|
-
elementData: {
|
|
10
|
-
component: "Label",
|
|
11
|
-
w: 2,
|
|
12
|
-
h: 8,
|
|
13
|
-
minW: 2,
|
|
14
|
-
minH: 8,
|
|
15
|
-
variableBaseName: "Label"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
text: "Text",
|
|
20
|
-
icon: Text,
|
|
21
|
-
elementData: {
|
|
22
|
-
component: "Text",
|
|
23
|
-
w: 2,
|
|
24
|
-
h: 8,
|
|
25
|
-
minW: 2,
|
|
26
|
-
minH: 8,
|
|
27
|
-
variableBaseName: "Text"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
text: "Button",
|
|
32
|
-
icon: SquareMousePointer,
|
|
33
|
-
elementData: {
|
|
34
|
-
component: "Button",
|
|
35
|
-
w: 2,
|
|
36
|
-
h: 6,
|
|
37
|
-
minW: 1,
|
|
38
|
-
minH: 6,
|
|
39
|
-
variableBaseName: "Button",
|
|
40
|
-
defaultValue: ""
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
text: "Textfield",
|
|
45
|
-
icon: TextCursorInput,
|
|
46
|
-
elementData: {
|
|
47
|
-
component: "Textfield",
|
|
48
|
-
w: 2,
|
|
49
|
-
h: 8,
|
|
50
|
-
minW: 2,
|
|
51
|
-
minH: 8,
|
|
52
|
-
variableBaseName: "Textfield",
|
|
53
|
-
defaultValue: ""
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
text: "Textarea",
|
|
58
|
-
icon: TextCursorInput,
|
|
59
|
-
elementData: {
|
|
60
|
-
component: "Textarea",
|
|
61
|
-
w: 3,
|
|
62
|
-
h: 12,
|
|
63
|
-
minW: 3,
|
|
64
|
-
minH: 12,
|
|
65
|
-
variableBaseName: "Textarea",
|
|
66
|
-
defaultValue: ""
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
text: "Richtext",
|
|
71
|
-
icon: Bold,
|
|
72
|
-
elementData: {
|
|
73
|
-
component: "Richtext",
|
|
74
|
-
w: 3,
|
|
75
|
-
h: 16,
|
|
76
|
-
minW: 3,
|
|
77
|
-
minH: 16,
|
|
78
|
-
variableBaseName: "Richtext",
|
|
79
|
-
defaultValue: ""
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
text: "Checkbox",
|
|
84
|
-
icon: Check,
|
|
85
|
-
elementData: {
|
|
86
|
-
component: "Checkbox",
|
|
87
|
-
w: 2,
|
|
88
|
-
h: 8,
|
|
89
|
-
minW: 2,
|
|
90
|
-
minH: 8,
|
|
91
|
-
variableBaseName: "Checkbox",
|
|
92
|
-
defaultValue: false
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
text: "Select",
|
|
97
|
-
icon: ChevronDown,
|
|
98
|
-
elementData: {
|
|
99
|
-
component: "Select",
|
|
100
|
-
w: 2,
|
|
101
|
-
h: 8,
|
|
102
|
-
minW: 2,
|
|
103
|
-
minH: 8,
|
|
104
|
-
variableBaseName: "Select",
|
|
105
|
-
defaultValue: ""
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
text: "Radios",
|
|
110
|
-
icon: CircleDot,
|
|
111
|
-
elementData: {
|
|
112
|
-
component: "Radios",
|
|
113
|
-
w: 2,
|
|
114
|
-
h: 8,
|
|
115
|
-
minW: 2,
|
|
116
|
-
minH: 8,
|
|
117
|
-
variableBaseName: "Radios",
|
|
118
|
-
defaultValue: ""
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
text: "Images",
|
|
123
|
-
icon: Image,
|
|
124
|
-
elementData: {
|
|
125
|
-
component: "Images",
|
|
126
|
-
w: 4,
|
|
127
|
-
h: 16,
|
|
128
|
-
minW: 4,
|
|
129
|
-
minH: 16,
|
|
130
|
-
variableBaseName: "Images",
|
|
131
|
-
defaultValue: []
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
text: "Location",
|
|
136
|
-
icon: MapPinned,
|
|
137
|
-
elementData: {
|
|
138
|
-
component: "Location",
|
|
139
|
-
w: 4,
|
|
140
|
-
h: 16,
|
|
141
|
-
minW: 4,
|
|
142
|
-
minH: 16,
|
|
143
|
-
variableBaseName: "Location",
|
|
144
|
-
defaultValue: { lat: 0, lng: 0 }
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
text: "Items",
|
|
149
|
-
icon: Grid2X2,
|
|
150
|
-
elementData: {
|
|
151
|
-
component: "Items",
|
|
152
|
-
w: 4,
|
|
153
|
-
h: 16,
|
|
154
|
-
minW: 4,
|
|
155
|
-
minH: 16,
|
|
156
|
-
variableBaseName: "Items",
|
|
157
|
-
defaultValue: []
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
text: "File",
|
|
162
|
-
icon: File,
|
|
163
|
-
elementData: {
|
|
164
|
-
component: "File",
|
|
165
|
-
w: 2,
|
|
166
|
-
h: 8,
|
|
167
|
-
minW: 2,
|
|
168
|
-
minH: 8,
|
|
169
|
-
variableBaseName: "File",
|
|
170
|
-
defaultValue: null
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
text: "Scanner",
|
|
175
|
-
icon: ScanBarcode,
|
|
176
|
-
elementData: {
|
|
177
|
-
component: "Scanner",
|
|
178
|
-
w: 2,
|
|
179
|
-
h: 8,
|
|
180
|
-
minW: 2,
|
|
181
|
-
minH: 8,
|
|
182
|
-
variableBaseName: "Scanner",
|
|
183
|
-
defaultValue: null
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
]
|
|
187
|
-
</script>
|
|
188
|
-
|
|
189
|
-
<template>
|
|
190
|
-
<div class="flex flex-col gap-2 p-2">
|
|
191
|
-
<p class="text-sm font-semibold mb-2">New Element</p>
|
|
192
|
-
</div>
|
|
193
|
-
|
|
194
|
-
<div class="grid grid-cols-3 gap-2">
|
|
195
|
-
<DraggableElement v-for="element in elements" :key="element.text" :elementData="element.elementData" class="group p-2 pt-4 border border-ring rounded-xl cursor-grab flex flex-col items-center gap-1">
|
|
196
|
-
<component :is="element.icon" class="size-6" />
|
|
197
|
-
<span class="text-xs text-muted-foreground group-hover:text-foreground">{{ element.text }}</span>
|
|
198
|
-
</DraggableElement>
|
|
199
|
-
</div>
|
|
200
|
-
</template>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import Variables from './variables-view/Variables.vue'
|
|
3
|
-
import Transformers from './variables-view/Transformers.vue'
|
|
4
|
-
import ApiActionVariables from './variables-view/ApiActionVariables.vue'
|
|
5
|
-
import RouteQueryParams from './variables-view/RouteQueryParams.vue'
|
|
6
|
-
</script>
|
|
7
|
-
|
|
8
|
-
<template>
|
|
9
|
-
<div class="flex flex-col gap-2 p-2">
|
|
10
|
-
<p class="text-sm font-semibold mb-2">Variables</p>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<div class="flex flex-col gap-2 p-2">
|
|
14
|
-
<Variables />
|
|
15
|
-
<Transformers />
|
|
16
|
-
<ApiActionVariables />
|
|
17
|
-
<RouteQueryParams />
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|