@strux-sh/ui 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +113 -0
- package/dist/abap-DeBcB0Go.js +3 -0
- package/dist/actionscript-3-Ca7AJdus.js +3 -0
- package/dist/ada-wUzMIotr.js +3 -0
- package/dist/andromeeda-qFSR243y.js +4 -0
- package/dist/angular-html-LrXL1ucE.js +16 -0
- package/dist/angular-ts-B8aubKqG.js +18 -0
- package/dist/apache-I27faSuY.js +3 -0
- package/dist/apex--j459sYy.js +3 -0
- package/dist/apl-ZtqUVL4Y.js +16 -0
- package/dist/applescript-CvFPStD_.js +3 -0
- package/dist/ara-oGMGKYRR.js +3 -0
- package/dist/asciidoc-BSeXIn5J.js +3 -0
- package/dist/asm-D9AeWiTG.js +3 -0
- package/dist/astro-BTnEu-qn.js +18 -0
- package/dist/aurora-x-BfjVxBdh.js +4 -0
- package/dist/awk-CN4Dt2EA.js +3 -0
- package/dist/ayu-dark-D_E-eZWK.js +4 -0
- package/dist/ayu-light-2e0XvPR3.js +4 -0
- package/dist/ayu-mirage-s7b90aUC.js +4 -0
- package/dist/ballerina-D50APAvj.js +3 -0
- package/dist/bat-CsyrNd6J.js +3 -0
- package/dist/beancount-C-7UQ_6h.js +3 -0
- package/dist/berry-7ZqQyKX_.js +3 -0
- package/dist/bibtex-CroJEZn5.js +3 -0
- package/dist/bicep-BI87HQfC.js +3 -0
- package/dist/bird2-h8KptB8G.js +3 -0
- package/dist/blade-BR5n1P6c.js +20 -0
- package/dist/bsl-FnheFq4w.js +5 -0
- package/dist/c-Ce2kZEMm.js +5 -0
- package/dist/c3-wJX5HNDQ.js +3 -0
- package/dist/cadence-BXV0DiIS.js +3 -0
- package/dist/cairo-CYYISc3K.js +5 -0
- package/dist/catppuccin-frappe-Dc5EeITp.js +4 -0
- package/dist/catppuccin-latte-D8PDXaqw.js +4 -0
- package/dist/catppuccin-macchiato-DtW613F5.js +4 -0
- package/dist/catppuccin-mocha-C3AS6_YO.js +4 -0
- package/dist/chunk-BdsCSvBP.js +20 -0
- package/dist/clarity-D7TEWWAc.js +3 -0
- package/dist/clojure-LH8DjlVh.js +3 -0
- package/dist/cmake-DvXT7w0f.js +3 -0
- package/dist/cobol-D3EGzMjZ.js +10 -0
- package/dist/codeowners-BeezUyuc.js +3 -0
- package/dist/codeql-fuOw3WIy.js +3 -0
- package/dist/coffee-DAg7pqMx.js +5 -0
- package/dist/common-lisp-C0tc6N-l.js +3 -0
- package/dist/components/Accordion/Accordion.vue.d.ts +32 -0
- package/dist/components/Accordion/AccordionContent.vue.d.ts +19 -0
- package/dist/components/Accordion/AccordionItem.vue.d.ts +22 -0
- package/dist/components/Accordion/AccordionTrigger.vue.d.ts +21 -0
- package/dist/components/Accordion/context.d.ts +24 -0
- package/dist/components/Accordion/index.d.ts +5 -0
- package/dist/components/Alert/Alert.variants.d.ts +5 -0
- package/dist/components/Alert/Alert.vue.d.ts +20 -0
- package/dist/components/Alert/AlertAction.vue.d.ts +16 -0
- package/dist/components/Alert/AlertDescription.vue.d.ts +16 -0
- package/dist/components/Alert/AlertTitle.vue.d.ts +16 -0
- package/dist/components/Alert/index.d.ts +5 -0
- package/dist/components/Avatar/Avatar.variants.d.ts +5 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +23 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Badge/Badge.variants.d.ts +14 -0
- package/dist/components/Badge/Badge.vue.d.ts +26 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbEllipsis.vue.d.ts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.vue.d.ts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbLink.vue.d.ts +20 -0
- package/dist/components/Breadcrumb/BreadcrumbList.vue.d.ts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbPage.vue.d.ts +16 -0
- package/dist/components/Breadcrumb/BreadcrumbSeparator.vue.d.ts +16 -0
- package/dist/components/Breadcrumb/index.d.ts +7 -0
- package/dist/components/Button/Button.variants.d.ts +17 -0
- package/dist/components/Button/Button.vue.d.ts +35 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Calendar/Calendar.variants.d.ts +5 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +74 -0
- package/dist/components/Calendar/CalendarDayColumn.vue.d.ts +40 -0
- package/dist/components/Calendar/CalendarDayHeader.vue.d.ts +10 -0
- package/dist/components/Calendar/CalendarDayView.vue.d.ts +42 -0
- package/dist/components/Calendar/CalendarEvent.variants.d.ts +6 -0
- package/dist/components/Calendar/CalendarEvent.vue.d.ts +39 -0
- package/dist/components/Calendar/CalendarEventGroup.vue.d.ts +36 -0
- package/dist/components/Calendar/CalendarHeader.variants.d.ts +9 -0
- package/dist/components/Calendar/CalendarHeader.vue.d.ts +23 -0
- package/dist/components/Calendar/CalendarMonthCell.vue.d.ts +30 -0
- package/dist/components/Calendar/CalendarMonthEvent.vue.d.ts +11 -0
- package/dist/components/Calendar/CalendarMonthView.vue.d.ts +30 -0
- package/dist/components/Calendar/CalendarSlotGrid.vue.d.ts +17 -0
- package/dist/components/Calendar/CalendarTimeAxis.vue.d.ts +14 -0
- package/dist/components/Calendar/CalendarWeekView.vue.d.ts +48 -0
- package/dist/components/Calendar/composables/useCalendarDrag.d.ts +12 -0
- package/dist/components/Calendar/composables/useCalendarLayout.d.ts +13 -0
- package/dist/components/Calendar/composables/useCalendarNavigation.d.ts +18 -0
- package/dist/components/Calendar/composables/useCalendarResize.d.ts +14 -0
- package/dist/components/Calendar/composables/useCalendarSelection.d.ts +7 -0
- package/dist/components/Calendar/index.d.ts +5 -0
- package/dist/components/Calendar/types.d.ts +38 -0
- package/dist/components/Calendar/utils/overlap.d.ts +12 -0
- package/dist/components/Calendar/utils/positioning.d.ts +3 -0
- package/dist/components/Calendar/utils/slots.d.ts +2 -0
- package/dist/components/Calendar/utils/time.d.ts +23 -0
- package/dist/components/Card/Card.variants.d.ts +7 -0
- package/dist/components/Card/Card.vue.d.ts +24 -0
- package/dist/components/Card/CardAction.vue.d.ts +16 -0
- package/dist/components/Card/CardContent.vue.d.ts +16 -0
- package/dist/components/Card/CardDescription.vue.d.ts +16 -0
- package/dist/components/Card/CardFooter.vue.d.ts +16 -0
- package/dist/components/Card/CardHeader.vue.d.ts +16 -0
- package/dist/components/Card/CardTabs.vue.d.ts +36 -0
- package/dist/components/Card/CardTitle.vue.d.ts +16 -0
- package/dist/components/Card/index.d.ts +9 -0
- package/dist/components/Checkbox/Checkbox.variants.d.ts +12 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +42 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/CodeBlock/CodeBlock.variants.d.ts +6 -0
- package/dist/components/CodeBlock/CodeBlock.vue.d.ts +22 -0
- package/dist/components/CodeBlock/CodeBlockComment.vue.d.ts +16 -0
- package/dist/components/CodeBlock/CodeBlockHighlighted.vue.d.ts +14 -0
- package/dist/components/CodeBlock/CodeBlockLine.vue.d.ts +20 -0
- package/dist/components/CodeBlock/CodeBlockOutput.vue.d.ts +16 -0
- package/dist/components/CodeBlock/index.d.ts +7 -0
- package/dist/components/CodeBlock/useShiki.d.ts +5 -0
- package/dist/components/DataTable/DataTable.vue.d.ts +65 -0
- package/dist/components/DataTable/index.d.ts +2 -0
- package/dist/components/DataTable/types.d.ts +15 -0
- package/dist/components/Dialog/Dialog.variants.d.ts +2 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +30 -0
- package/dist/components/Dialog/DialogClose.vue.d.ts +23 -0
- package/dist/components/Dialog/DialogContent.vue.d.ts +27 -0
- package/dist/components/Dialog/DialogDescription.vue.d.ts +23 -0
- package/dist/components/Dialog/DialogFooter.vue.d.ts +21 -0
- package/dist/components/Dialog/DialogHeader.vue.d.ts +19 -0
- package/dist/components/Dialog/DialogOverlay.vue.d.ts +9 -0
- package/dist/components/Dialog/DialogScrollContent.vue.d.ts +25 -0
- package/dist/components/Dialog/DialogTitle.vue.d.ts +23 -0
- package/dist/components/Dialog/DialogTrigger.vue.d.ts +23 -0
- package/dist/components/Dialog/context.d.ts +19 -0
- package/dist/components/Dialog/index.d.ts +11 -0
- package/dist/components/Editor/Editor.variants.d.ts +6 -0
- package/dist/components/Editor/Editor.vue.d.ts +37 -0
- package/dist/components/Editor/EditorModelSync.vue.d.ts +8 -0
- package/dist/components/Editor/EditorToolbar.vue.d.ts +15 -0
- package/dist/components/Editor/index.d.ts +2 -0
- package/dist/components/Hotkey/Hotkey.vue.d.ts +17 -0
- package/dist/components/Hotkey/HotkeyGroup.vue.d.ts +17 -0
- package/dist/components/Hotkey/index.d.ts +2 -0
- package/dist/components/Input/Input.variants.d.ts +16 -0
- package/dist/components/Input/Input.vue.d.ts +59 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/InputOTP/InputOTP.variants.d.ts +13 -0
- package/dist/components/InputOTP/InputOTP.vue.d.ts +40 -0
- package/dist/components/InputOTP/index.d.ts +2 -0
- package/dist/components/Label/Label.vue.d.ts +17 -0
- package/dist/components/Label/index.d.ts +1 -0
- package/dist/components/Progress/Progress.variants.d.ts +17 -0
- package/dist/components/Progress/Progress.vue.d.ts +24 -0
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/RadioGroup/RadioGroup.variants.d.ts +19 -0
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts +36 -0
- package/dist/components/RadioGroup/RadioGroupItem.vue.d.ts +36 -0
- package/dist/components/RadioGroup/context.d.ts +9 -0
- package/dist/components/RadioGroup/index.d.ts +3 -0
- package/dist/components/Select/Select.variants.d.ts +9 -0
- package/dist/components/Select/Select.vue.d.ts +42 -0
- package/dist/components/Select/SelectContent.vue.d.ts +21 -0
- package/dist/components/Select/SelectGroup.vue.d.ts +19 -0
- package/dist/components/Select/SelectItem.vue.d.ts +26 -0
- package/dist/components/Select/SelectItemText.vue.d.ts +19 -0
- package/dist/components/Select/SelectLabel.vue.d.ts +19 -0
- package/dist/components/Select/SelectScrollDownButton.vue.d.ts +19 -0
- package/dist/components/Select/SelectScrollUpButton.vue.d.ts +19 -0
- package/dist/components/Select/SelectSeparator.vue.d.ts +9 -0
- package/dist/components/Select/SelectTrigger.vue.d.ts +26 -0
- package/dist/components/Select/SelectValue.vue.d.ts +25 -0
- package/dist/components/Select/context.d.ts +52 -0
- package/dist/components/Select/index.d.ts +12 -0
- package/dist/components/Separator/Separator.vue.d.ts +13 -0
- package/dist/components/Separator/index.d.ts +1 -0
- package/dist/components/Skeleton/Skeleton.vue.d.ts +7 -0
- package/dist/components/Skeleton/index.d.ts +1 -0
- package/dist/components/Spinner/Spinner.variants.d.ts +5 -0
- package/dist/components/Spinner/Spinner.vue.d.ts +11 -0
- package/dist/components/Spinner/index.d.ts +2 -0
- package/dist/components/Stepper/Stepper.vue.d.ts +30 -0
- package/dist/components/Stepper/StepperDescription.vue.d.ts +16 -0
- package/dist/components/Stepper/StepperIndicator.vue.d.ts +19 -0
- package/dist/components/Stepper/StepperItem.vue.d.ts +25 -0
- package/dist/components/Stepper/StepperSeparator.vue.d.ts +6 -0
- package/dist/components/Stepper/StepperTitle.vue.d.ts +16 -0
- package/dist/components/Stepper/StepperTrigger.vue.d.ts +16 -0
- package/dist/components/Stepper/context.d.ts +17 -0
- package/dist/components/Stepper/index.d.ts +8 -0
- package/dist/components/Switch/Switch.variants.d.ts +15 -0
- package/dist/components/Switch/Switch.vue.d.ts +40 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Table/Table.vue.d.ts +18 -0
- package/dist/components/Table/TableBody.vue.d.ts +17 -0
- package/dist/components/Table/TableCell.vue.d.ts +28 -0
- package/dist/components/Table/TableEmpty.vue.d.ts +20 -0
- package/dist/components/Table/TableFooter.vue.d.ts +17 -0
- package/dist/components/Table/TableHead.vue.d.ts +26 -0
- package/dist/components/Table/TableHeader.vue.d.ts +17 -0
- package/dist/components/Table/TableRow.vue.d.ts +17 -0
- package/dist/components/Table/index.d.ts +8 -0
- package/dist/components/Tabs/Tabs.variants.d.ts +11 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +29 -0
- package/dist/components/Tabs/TabsContent.vue.d.ts +20 -0
- package/dist/components/Tabs/TabsList.vue.d.ts +22 -0
- package/dist/components/Tabs/TabsTrigger.vue.d.ts +25 -0
- package/dist/components/Tabs/context.d.ts +7 -0
- package/dist/components/Tabs/index.d.ts +5 -0
- package/dist/components/Textarea/Textarea.variants.d.ts +9 -0
- package/dist/components/Textarea/Textarea.vue.d.ts +59 -0
- package/dist/components/Textarea/index.d.ts +2 -0
- package/dist/components/Toggle/Toggle.variants.d.ts +6 -0
- package/dist/components/Toggle/Toggle.vue.d.ts +38 -0
- package/dist/components/Toggle/index.d.ts +2 -0
- package/dist/components/ToggleGroup/ToggleGroup.variants.d.ts +5 -0
- package/dist/components/ToggleGroup/ToggleGroup.vue.d.ts +41 -0
- package/dist/components/ToggleGroup/ToggleGroupItem.vue.d.ts +27 -0
- package/dist/components/ToggleGroup/context.d.ts +13 -0
- package/dist/components/ToggleGroup/index.d.ts +3 -0
- package/dist/coq-B76ZoOHZ.js +3 -0
- package/dist/cpp-CtrG851a.js +19 -0
- package/dist/crystal-DVE659Hz.js +18 -0
- package/dist/csharp-CM90Agtc.js +3 -0
- package/dist/css-BXAIfPSV.js +5 -0
- package/dist/csv-Unqj11Cb.js +3 -0
- package/dist/cue-ClLQ6DG1.js +3 -0
- package/dist/cypher-BJn0hcQn.js +3 -0
- package/dist/d-CCRBmzkh.js +3 -0
- package/dist/dark-plus-BaXfgF0I.js +4 -0
- package/dist/dart-CvZbon70.js +3 -0
- package/dist/dax-DV67hG2y.js +3 -0
- package/dist/desktop-DbHnbqQL.js +3 -0
- package/dist/diff-DoTfpm4z.js +3 -0
- package/dist/dist-BxFwGWKU.js +9069 -0
- package/dist/docker-D893Ehl0.js +3 -0
- package/dist/dotenv-t_3AzCLU.js +3 -0
- package/dist/dracula-BHF_kpO0.js +4 -0
- package/dist/dracula-soft-CaTOiVFO.js +4 -0
- package/dist/dream-maker-Dvajhs6B.js +3 -0
- package/dist/edge-BkMo23iR.js +12 -0
- package/dist/elixir-Cq7Sz6zR.js +5 -0
- package/dist/elm-C9Egvai-.js +5 -0
- package/dist/emacs-lisp-4f2kgb7K.js +3 -0
- package/dist/erb-DU88g3CK.js +10 -0
- package/dist/erlang-Btzo1tkm.js +5 -0
- package/dist/everforest-dark-n1U9TERu.js +4 -0
- package/dist/everforest-light-Cxk-NEOq.js +4 -0
- package/dist/fennel-BcdDyKOz.js +3 -0
- package/dist/fish-zUc4glNK.js +3 -0
- package/dist/fluent-C30ZXKsb.js +3 -0
- package/dist/fortran-fixed-form-Cb6k23A8.js +5 -0
- package/dist/fortran-free-form-DZzTNipM.js +3 -0
- package/dist/fsharp-BRGA2aLx.js +5 -0
- package/dist/gdresource-D4Q8_yNH.js +10 -0
- package/dist/gdscript-CasWk1ed.js +3 -0
- package/dist/gdshader-C6_C1Mla.js +3 -0
- package/dist/genie-Dc1WHM2J.js +3 -0
- package/dist/gherkin-p4arnJHH.js +3 -0
- package/dist/git-commit-BgDIffUm.js +5 -0
- package/dist/git-rebase-BOOLXd_2.js +5 -0
- package/dist/github-dark-BY_BCkXE.js +4 -0
- package/dist/github-dark-default-CxpVDCKU.js +4 -0
- package/dist/github-dark-dimmed-DP55KhxO.js +4 -0
- package/dist/github-dark-high-contrast-BsJ4xW6d.js +4 -0
- package/dist/github-light-aP2TlV4x.js +4 -0
- package/dist/github-light-default-C4MUqc7r.js +4 -0
- package/dist/github-light-high-contrast-DKhOk93U.js +4 -0
- package/dist/gleam-CHP-0Vmy.js +3 -0
- package/dist/glimmer-js-DDAcDe2E.js +14 -0
- package/dist/glimmer-ts-BMMyghSC.js +14 -0
- package/dist/glsl-C77SdHHd.js +6 -0
- package/dist/gn-DdA_9WBV.js +3 -0
- package/dist/gnuplot-DiszKoDh.js +3 -0
- package/dist/go-B7sJ7_JR.js +3 -0
- package/dist/graphql-0GE-jM6H.js +15 -0
- package/dist/groovy-D5RihzTE.js +3 -0
- package/dist/gruvbox-dark-hard-B5oO9dKQ.js +4 -0
- package/dist/gruvbox-dark-medium-BKQQ8bni.js +4 -0
- package/dist/gruvbox-dark-soft-BgWa53Ov.js +4 -0
- package/dist/gruvbox-light-hard-POZyzoU-.js +4 -0
- package/dist/gruvbox-light-medium-BPz-pe8v.js +4 -0
- package/dist/gruvbox-light-soft-C5M5c9Sl.js +4 -0
- package/dist/hack-DQMf89ED.js +10 -0
- package/dist/haml-Cld0wv97.js +11 -0
- package/dist/handlebars-BT_HwtwQ.js +14 -0
- package/dist/haskell-CbDb8mmG.js +3 -0
- package/dist/haxe-CkQ88r70.js +3 -0
- package/dist/hcl-CVaPdMU6.js +3 -0
- package/dist/hjson-DkLkzLzi.js +3 -0
- package/dist/hlsl-Fs8CwE1E.js +3 -0
- package/dist/horizon-CYvChE1l.js +4 -0
- package/dist/horizon-bright-BMwhJ8Xu.js +4 -0
- package/dist/houston-BhP0Wze_.js +4 -0
- package/dist/html-B9HcON16.js +11 -0
- package/dist/html-derivative-rSLNyYm7.js +5 -0
- package/dist/http-D3ad5MBk.js +14 -0
- package/dist/hurl-DXm3CnIB.js +12 -0
- package/dist/hxml-BxhiIejJ.js +5 -0
- package/dist/hy-Cwkb2sgB.js +3 -0
- package/dist/imba-Ccadz2v8.js +3 -0
- package/dist/index.css +2 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +31389 -0
- package/dist/ini-Br-y36jZ.js +3 -0
- package/dist/java-GQ5wYDFs.js +5 -0
- package/dist/javascript-DlxQoHvZ.js +5 -0
- package/dist/jinja-sW3mCDH-.js +5 -0
- package/dist/jison-B84xpLIw.js +5 -0
- package/dist/json-LZFQdXam.js +5 -0
- package/dist/json5-DlfYKYSp.js +3 -0
- package/dist/jsonc-C4bq8qU7.js +3 -0
- package/dist/jsonl-CcMxJ-J9.js +3 -0
- package/dist/jsonnet-D9tUdPqc.js +3 -0
- package/dist/jssm-C9rzGa75.js +3 -0
- package/dist/jsx-OsE-Bunt.js +5 -0
- package/dist/julia-Cqa8LGkK.js +16 -0
- package/dist/just-BRXsB_7M.js +18 -0
- package/dist/kanagawa-dragon-BQzNnL3z.js +4 -0
- package/dist/kanagawa-lotus-9F6kHEKq.js +4 -0
- package/dist/kanagawa-wave-u67gXxMn.js +4 -0
- package/dist/kdl-C3ArYlhk.js +3 -0
- package/dist/kotlin-DlbbvmpW.js +3 -0
- package/dist/kusto-SZ8S9EwN.js +3 -0
- package/dist/laserwave-ClGRl-5t.js +4 -0
- package/dist/latex-B89DwGYR.js +5 -0
- package/dist/lean-CYj2oBhN.js +3 -0
- package/dist/less-D-kmrIrT.js +3 -0
- package/dist/lib/utils.d.ts +15 -0
- package/dist/light-plus-C5hP1kpF.js +4 -0
- package/dist/liquid-C4a8om0c.js +14 -0
- package/dist/llvm-dcvn_KIM.js +3 -0
- package/dist/log-DTf-0zYP.js +3 -0
- package/dist/logo-CUh2b5yy.js +3 -0
- package/dist/lua-Bd6Ait3J.js +6 -0
- package/dist/luau-cl4PrKah.js +3 -0
- package/dist/make-eFBmESRY.js +3 -0
- package/dist/markdown-E1Tjl3ay.js +3 -0
- package/dist/marko-Bpn4TwEU.js +14 -0
- package/dist/material-theme-C5ZLXIyB.js +4 -0
- package/dist/material-theme-darker-DlsZgyqn.js +4 -0
- package/dist/material-theme-lighter-Dgtd60FS.js +4 -0
- package/dist/material-theme-ocean-FDICw_Nl.js +4 -0
- package/dist/material-theme-palenight-YOynAOz-.js +4 -0
- package/dist/matlab-CWYflKhx.js +3 -0
- package/dist/mdc-C2TPGoHi.js +12 -0
- package/dist/mdx-DKokoIvR.js +3 -0
- package/dist/mermaid-Di77ziEK.js +3 -0
- package/dist/min-dark-DHMEs2x8.js +4 -0
- package/dist/min-light-D6UmcDRG.js +4 -0
- package/dist/mipsasm-Dqf3Smf4.js +3 -0
- package/dist/mojo-BnsXq_BO.js +3 -0
- package/dist/monokai-BD0eaQnD.js +4 -0
- package/dist/moonbit-CAhQ3sCX.js +3 -0
- package/dist/move-xbI-XijT.js +3 -0
- package/dist/narrat-BOGrs0D9.js +3 -0
- package/dist/nextflow-Ctcr2tCu.js +5 -0
- package/dist/nextflow-groovy-NgfREUhM.js +3 -0
- package/dist/nginx-BFwHGFbL.js +5 -0
- package/dist/night-owl-BKGHTQht.js +4 -0
- package/dist/night-owl-light-CnoFDJkw.js +4 -0
- package/dist/nim-CbbeoxCp.js +20 -0
- package/dist/nix-BvtetEBt.js +3 -0
- package/dist/nord-BYKqE5KS.js +4 -0
- package/dist/nushell-CYp0bSE-.js +3 -0
- package/dist/objective-c-BT7nnnUJ.js +3 -0
- package/dist/objective-cpp-CbC4-uTv.js +3 -0
- package/dist/ocaml-CDcFY8QK.js +3 -0
- package/dist/odin-CrW6HAZf.js +3 -0
- package/dist/one-dark-pro-DfPMGiYy.js +4 -0
- package/dist/one-light-DFXY36gp.js +4 -0
- package/dist/openscad-iUFg0B0g.js +3 -0
- package/dist/pascal-CyLyX3Jm.js +3 -0
- package/dist/perl-BC7uqZyY.js +16 -0
- package/dist/php-BMK-MHr9.js +18 -0
- package/dist/pkl-kZxyQXfN.js +3 -0
- package/dist/plastic-XNYJM3D6.js +4 -0
- package/dist/plsql-Y4k3-CA1.js +3 -0
- package/dist/po-gQpZNv7T.js +3 -0
- package/dist/poimandres-C4PaPjEw.js +4 -0
- package/dist/polar-BcYSMBl1.js +3 -0
- package/dist/postcss-DOPa887j.js +3 -0
- package/dist/powerquery-yPSRIzIf.js +3 -0
- package/dist/powershell-7juVthsu.js +3 -0
- package/dist/prisma-SeHmGHlD.js +3 -0
- package/dist/prolog-C0rOAsFl.js +3 -0
- package/dist/proto-BIorFbiU.js +3 -0
- package/dist/pug-CrSfHEzh.js +12 -0
- package/dist/puppet-DLgViJuu.js +3 -0
- package/dist/purescript-DWF1bvyi.js +3 -0
- package/dist/python-BhLDq9ED.js +3 -0
- package/dist/qml-C5olj0fW.js +5 -0
- package/dist/qmldir-DdZTkg5A.js +3 -0
- package/dist/qss-DolMCpN6.js +3 -0
- package/dist/r-CbDnOTHJ.js +5 -0
- package/dist/racket-CI3EgTLA.js +3 -0
- package/dist/raku-C00n-qdV.js +3 -0
- package/dist/razor-4USJUQA5.js +10 -0
- package/dist/red-RKgSrRAN.js +4 -0
- package/dist/reg-CfM5cE8h.js +3 -0
- package/dist/regexp-CVVyGBTZ.js +5 -0
- package/dist/rel-DXm_CT57.js +3 -0
- package/dist/riscv-j__jQJtH.js +3 -0
- package/dist/ron-CoMJEWoM.js +3 -0
- package/dist/rose-pine-3X2It6Vk.js +4 -0
- package/dist/rose-pine-dawn-wDbveFcy.js +4 -0
- package/dist/rose-pine-moon-khW-CldE.js +4 -0
- package/dist/rosmsg-baMlju9J.js +3 -0
- package/dist/rst-DHCx6S5y.js +22 -0
- package/dist/ruby-BGM2AA86.js +30 -0
- package/dist/rust-Bwz4_Zz9.js +3 -0
- package/dist/sas-Bt22bSd-.js +5 -0
- package/dist/sass-DapcQAx-.js +3 -0
- package/dist/scala-BG-wcq5w.js +3 -0
- package/dist/scheme-C_e1IoyF.js +3 -0
- package/dist/scss-BE_dvsh7.js +6 -0
- package/dist/sdbl-JAyVE3qm.js +3 -0
- package/dist/shaderlab-Cj0D4q_L.js +5 -0
- package/dist/shellscript-BYm9tsiS.js +5 -0
- package/dist/shellsession-DlLvFMGg.js +5 -0
- package/dist/slack-dark--voIvSma.js +4 -0
- package/dist/slack-ochin-ll9QUhFq.js +4 -0
- package/dist/smalltalk-CEdXYjUj.js +3 -0
- package/dist/snazzy-light-p45c0RAm.js +4 -0
- package/dist/solarized-dark-DsMmNvqH.js +4 -0
- package/dist/solarized-light-DpXVTf-g.js +4 -0
- package/dist/solidity-BKFDmBTC.js +3 -0
- package/dist/soy-DtEoay8i.js +5 -0
- package/dist/sparql-BITkS5Z_.js +5 -0
- package/dist/splunk-DQeAzsOi.js +3 -0
- package/dist/sql-D_Kdq6gC.js +5 -0
- package/dist/ssh-config-DB40eScc.js +3 -0
- package/dist/stata-CtlHW6m0.js +5 -0
- package/dist/strux-ui.css +2 -0
- package/dist/stylus-moFzJ0fK.js +3 -0
- package/dist/surrealql-HVnTUb6w.js +5 -0
- package/dist/svelte-DWhZGM13.js +14 -0
- package/dist/swift-B3iPwKO0.js +3 -0
- package/dist/synthwave-84-oxS-dzpy.js +4 -0
- package/dist/system-verilog-DoAJNIZ8.js +3 -0
- package/dist/systemd-DevKAdYm.js +3 -0
- package/dist/talonscript-DwNl69M9.js +3 -0
- package/dist/tasl-CKiw1_vh.js +3 -0
- package/dist/tcl-BtutcLWg.js +3 -0
- package/dist/templ-GC61TXh-.js +12 -0
- package/dist/terraform-BaQiuXqM.js +3 -0
- package/dist/tex-BpXp1VG6.js +5 -0
- package/dist/tokyo-night-CLOyAEcU.js +4 -0
- package/dist/toml-Dr0kWc8B.js +3 -0
- package/dist/ts-tags-DOihhOlr.js +38 -0
- package/dist/tsv-C-6tiGwW.js +3 -0
- package/dist/tsx-DVukRIGB.js +5 -0
- package/dist/turtle-BC_OCIAI.js +3 -0
- package/dist/twig-BoBy7ymr.js +18 -0
- package/dist/typescript-o5NtkUUJ.js +5 -0
- package/dist/typespec-DStJD0fR.js +3 -0
- package/dist/typst-CwdON9sn.js +3 -0
- package/dist/v-C-REktM4.js +3 -0
- package/dist/vala-BXCtnoI7.js +3 -0
- package/dist/vb-BsRx4fGg.js +3 -0
- package/dist/verilog-BIHifWx2.js +3 -0
- package/dist/vesper-DlGbuHx1.js +4 -0
- package/dist/vhdl-DDCWXBtw.js +3 -0
- package/dist/viml-CpTU07-K.js +3 -0
- package/dist/vitesse-black-BvXUUlAo.js +4 -0
- package/dist/vitesse-dark-pBqclJNi.js +4 -0
- package/dist/vitesse-light-Cgcs4BIy.js +4 -0
- package/dist/vue-C4b8odTB.js +21 -0
- package/dist/vue-html-BEwKPR5W.js +5 -0
- package/dist/vue-vine-CLecvFJi.js +18 -0
- package/dist/vyper-G6LIJvTi.js +3 -0
- package/dist/wasm-Btx0N3YS.js +4 -0
- package/dist/wasm-COlAncNE.js +3 -0
- package/dist/wenyan-DtqMr2Zc.js +3 -0
- package/dist/wgsl-B2v8dCnx.js +3 -0
- package/dist/wikitext-Bf0m4xA1.js +3 -0
- package/dist/wit-ChMDljlF.js +3 -0
- package/dist/wolfram-DdOH3gOM.js +3 -0
- package/dist/xml-UfJT5ICX.js +6 -0
- package/dist/xsl-BlKPAm48.js +5 -0
- package/dist/yaml-DwO6QOAh.js +5 -0
- package/dist/zenscript-BEt1sJUj.js +3 -0
- package/dist/zig-B7YIws_E.js +3 -0
- package/package.json +137 -0
- package/src/styles/fonts.css +20 -0
- package/src/styles/index.css +3 -0
- package/src/styles/theme.css +156 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
/**
|
|
3
|
+
* Button class variance configuration.
|
|
4
|
+
*
|
|
5
|
+
* The variant set is designed around how the strux-website actually
|
|
6
|
+
* styles its buttons, not lifted wholesale from shadcn. The Strux
|
|
7
|
+
* primary is the indigo-500 fill with indigo-400 hover; outline is
|
|
8
|
+
* the slate-700/80 border with indigo hover; secondary is a filled
|
|
9
|
+
* neutral surface for medium-emphasis actions; ghost is bare-bones;
|
|
10
|
+
* destructive uses the danger token; link reads as inline text.
|
|
11
|
+
*/
|
|
12
|
+
export declare const buttonVariants: (props?: ({
|
|
13
|
+
variant?: "link" | "warn" | "secondary" | "outline" | "destructive" | "primary" | "ghost" | "success" | null | undefined;
|
|
14
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
15
|
+
block?: boolean | null | undefined;
|
|
16
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
|
+
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type HTMLAttributes } from "vue";
|
|
2
|
+
import { type ButtonVariants } from "./Button.variants";
|
|
3
|
+
interface Props {
|
|
4
|
+
variant?: ButtonVariants["variant"];
|
|
5
|
+
size?: ButtonVariants["size"];
|
|
6
|
+
block?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
type?: "button" | "submit" | "reset";
|
|
10
|
+
href?: string;
|
|
11
|
+
class?: HTMLAttributes["class"];
|
|
12
|
+
}
|
|
13
|
+
type __VLS_Slots = {
|
|
14
|
+
default(): unknown;
|
|
15
|
+
leading(): unknown;
|
|
16
|
+
trailing(): unknown;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
+
size: "sm" | "md" | "lg" | "icon" | null;
|
|
20
|
+
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
21
|
+
type: "button" | "submit" | "reset";
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
href: string;
|
|
24
|
+
variant: "link" | "warn" | "secondary" | "outline" | "destructive" | "primary" | "ghost" | "success" | null;
|
|
25
|
+
block: boolean;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
export declare const calendarVariants: (props?: ({
|
|
3
|
+
size?: "sm" | "md" | null | undefined;
|
|
4
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
+
export type CalendarVariants = VariantProps<typeof calendarVariants>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type CSSProperties, type HTMLAttributes } from "vue";
|
|
2
|
+
import type { CalendarEvent, CalendarView, CalendarNavigation } from "./types";
|
|
3
|
+
interface Props {
|
|
4
|
+
events?: CalendarEvent[];
|
|
5
|
+
view?: CalendarView;
|
|
6
|
+
date?: Date;
|
|
7
|
+
slotDuration?: number;
|
|
8
|
+
slotHeight?: number;
|
|
9
|
+
startHour?: number;
|
|
10
|
+
endHour?: number;
|
|
11
|
+
weekStartsOn?: 0 | 1;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
size?: "sm" | "md";
|
|
14
|
+
class?: HTMLAttributes["class"];
|
|
15
|
+
}
|
|
16
|
+
type __VLS_Slots = {
|
|
17
|
+
header(props: {
|
|
18
|
+
view: CalendarView;
|
|
19
|
+
date: Date;
|
|
20
|
+
nav: CalendarNavigation;
|
|
21
|
+
}): unknown;
|
|
22
|
+
"day-header"(props: {
|
|
23
|
+
date: Date;
|
|
24
|
+
isToday: boolean;
|
|
25
|
+
}): unknown;
|
|
26
|
+
event(props: {
|
|
27
|
+
event: CalendarEvent;
|
|
28
|
+
style: CSSProperties;
|
|
29
|
+
}): unknown;
|
|
30
|
+
"event-content"(props: {
|
|
31
|
+
event: CalendarEvent;
|
|
32
|
+
}): unknown;
|
|
33
|
+
"month-cell"(props: {
|
|
34
|
+
date: Date;
|
|
35
|
+
events: CalendarEvent[];
|
|
36
|
+
}): unknown;
|
|
37
|
+
};
|
|
38
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"update:view": (view: CalendarView) => any;
|
|
40
|
+
"day-click": (date: Date) => any;
|
|
41
|
+
"slot-click": (date: Date) => any;
|
|
42
|
+
"event-click": (event: CalendarEvent) => any;
|
|
43
|
+
"update:date": (date: Date) => any;
|
|
44
|
+
"event-move": (id: string, newStart: Date, newEnd: Date) => any;
|
|
45
|
+
"event-resize": (id: string, newStart: Date, newEnd: Date) => any;
|
|
46
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
47
|
+
"onUpdate:view"?: ((view: CalendarView) => any) | undefined;
|
|
48
|
+
"onDay-click"?: ((date: Date) => any) | undefined;
|
|
49
|
+
"onSlot-click"?: ((date: Date) => any) | undefined;
|
|
50
|
+
"onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
|
|
51
|
+
"onUpdate:date"?: ((date: Date) => any) | undefined;
|
|
52
|
+
"onEvent-move"?: ((id: string, newStart: Date, newEnd: Date) => any) | undefined;
|
|
53
|
+
"onEvent-resize"?: ((id: string, newStart: Date, newEnd: Date) => any) | undefined;
|
|
54
|
+
}>, {
|
|
55
|
+
size: "sm" | "md";
|
|
56
|
+
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
57
|
+
view: CalendarView;
|
|
58
|
+
date: Date;
|
|
59
|
+
slotDuration: number;
|
|
60
|
+
slotHeight: number;
|
|
61
|
+
startHour: number;
|
|
62
|
+
endHour: number;
|
|
63
|
+
readonly: boolean;
|
|
64
|
+
events: CalendarEvent[];
|
|
65
|
+
weekStartsOn: 0 | 1;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
67
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
68
|
+
declare const _default: typeof __VLS_export;
|
|
69
|
+
export default _default;
|
|
70
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
71
|
+
new (): {
|
|
72
|
+
$slots: S;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type CSSProperties } from "vue";
|
|
2
|
+
import type { CalendarEvent } from "./types";
|
|
3
|
+
interface Props {
|
|
4
|
+
day: Date;
|
|
5
|
+
events: CalendarEvent[];
|
|
6
|
+
slotDuration: number;
|
|
7
|
+
slotHeight: number;
|
|
8
|
+
startHour?: number;
|
|
9
|
+
endHour?: number;
|
|
10
|
+
selectedEventId: string | null;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
}
|
|
13
|
+
type __VLS_Slots = {
|
|
14
|
+
event(props: {
|
|
15
|
+
event: CalendarEvent;
|
|
16
|
+
style: CSSProperties;
|
|
17
|
+
}): unknown;
|
|
18
|
+
"event-content"(props: {
|
|
19
|
+
event: CalendarEvent;
|
|
20
|
+
}): unknown;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"slot-click": (date: Date) => any;
|
|
24
|
+
"event-click": (event: CalendarEvent) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
"onSlot-click"?: ((date: Date) => any) | undefined;
|
|
27
|
+
"onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
startHour: number;
|
|
30
|
+
endHour: number;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
date: Date;
|
|
3
|
+
}
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"day-click": (date: Date) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
+
"onDay-click"?: ((date: Date) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type CSSProperties } from "vue";
|
|
2
|
+
import type { CalendarEvent } from "./types";
|
|
3
|
+
interface Props {
|
|
4
|
+
date: Date;
|
|
5
|
+
events: CalendarEvent[];
|
|
6
|
+
slotDuration: number;
|
|
7
|
+
slotHeight: number;
|
|
8
|
+
startHour?: number;
|
|
9
|
+
endHour?: number;
|
|
10
|
+
selectedEventId: string | null;
|
|
11
|
+
timeSelected?: Date | null;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
}
|
|
14
|
+
type __VLS_Slots = {
|
|
15
|
+
event(props: {
|
|
16
|
+
event: CalendarEvent;
|
|
17
|
+
style: CSSProperties;
|
|
18
|
+
}): unknown;
|
|
19
|
+
"event-content"(props: {
|
|
20
|
+
event: CalendarEvent;
|
|
21
|
+
}): unknown;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"slot-click": (date: Date) => any;
|
|
25
|
+
"event-click": (event: CalendarEvent) => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
27
|
+
"onSlot-click"?: ((date: Date) => any) | undefined;
|
|
28
|
+
"onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
startHour: number;
|
|
31
|
+
endHour: number;
|
|
32
|
+
timeSelected: Date | null;
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
export declare const calendarEventVariants: (props?: ({
|
|
3
|
+
color?: "info" | "warn" | "danger" | "ok" | "accent" | null | undefined;
|
|
4
|
+
selected?: boolean | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
export type CalendarEventVariants = VariantProps<typeof calendarEventVariants>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type CSSProperties, type HTMLAttributes } from "vue";
|
|
2
|
+
import type { CalendarEvent } from "./types";
|
|
3
|
+
interface Props {
|
|
4
|
+
event: CalendarEvent;
|
|
5
|
+
style: CSSProperties;
|
|
6
|
+
selected?: boolean;
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
slotDuration?: number;
|
|
9
|
+
slotHeight?: number;
|
|
10
|
+
class?: HTMLAttributes["class"];
|
|
11
|
+
}
|
|
12
|
+
type __VLS_Slots = {
|
|
13
|
+
event(props: {
|
|
14
|
+
event: CalendarEvent;
|
|
15
|
+
style: CSSProperties;
|
|
16
|
+
}): unknown;
|
|
17
|
+
"event-content"(props: {
|
|
18
|
+
event: CalendarEvent;
|
|
19
|
+
}): unknown;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"event-click": (event: CalendarEvent) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
24
|
+
"onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
|
|
27
|
+
slotDuration: number;
|
|
28
|
+
slotHeight: number;
|
|
29
|
+
selected: boolean;
|
|
30
|
+
readonly: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { CSSProperties } from "vue";
|
|
2
|
+
import type { CalendarEvent as CalendarEventType, EventGroup } from "./types";
|
|
3
|
+
interface Props {
|
|
4
|
+
group: EventGroup;
|
|
5
|
+
layout: {
|
|
6
|
+
eventStyle: (event: CalendarEventType, groupSize: number, index: number) => CSSProperties;
|
|
7
|
+
};
|
|
8
|
+
selectedEventId: string | null;
|
|
9
|
+
slotDuration: number;
|
|
10
|
+
slotHeight: number;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
}
|
|
13
|
+
type __VLS_Slots = {
|
|
14
|
+
event(props: {
|
|
15
|
+
event: CalendarEventType;
|
|
16
|
+
style: CSSProperties;
|
|
17
|
+
}): unknown;
|
|
18
|
+
"event-content"(props: {
|
|
19
|
+
event: CalendarEventType;
|
|
20
|
+
}): unknown;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"event-click": (event: CalendarEventType) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
25
|
+
"onEvent-click"?: ((event: CalendarEventType) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
readonly: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
export declare const calendarHeaderVariants: (props?: ({
|
|
3
|
+
size?: "sm" | "md" | null | undefined;
|
|
4
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
+
export declare const viewToggleVariants: (props?: ({
|
|
6
|
+
active?: boolean | null | undefined;
|
|
7
|
+
size?: "sm" | "md" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
export type CalendarHeaderVariants = VariantProps<typeof calendarHeaderVariants>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CalendarView } from "./types";
|
|
2
|
+
interface Props {
|
|
3
|
+
title: string;
|
|
4
|
+
view: CalendarView;
|
|
5
|
+
size?: "sm" | "md";
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
next: () => any;
|
|
10
|
+
prev: () => any;
|
|
11
|
+
today: () => any;
|
|
12
|
+
"update:view": (view: CalendarView) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
onNext?: (() => any) | undefined;
|
|
15
|
+
onPrev?: (() => any) | undefined;
|
|
16
|
+
onToday?: (() => any) | undefined;
|
|
17
|
+
"onUpdate:view"?: ((view: CalendarView) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
size: "sm" | "md";
|
|
20
|
+
class: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CalendarEvent } from "./types";
|
|
2
|
+
interface Props {
|
|
3
|
+
date: Date;
|
|
4
|
+
events: CalendarEvent[];
|
|
5
|
+
referenceDate: Date;
|
|
6
|
+
maxVisible?: number;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
"month-cell"(props: {
|
|
10
|
+
date: Date;
|
|
11
|
+
events: CalendarEvent[];
|
|
12
|
+
}): unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"day-click": (date: Date) => any;
|
|
16
|
+
"event-click": (event: CalendarEvent) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
"onDay-click"?: ((date: Date) => any) | undefined;
|
|
19
|
+
"onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
maxVisible: number;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CalendarEvent } from "./types";
|
|
2
|
+
interface Props {
|
|
3
|
+
event: CalendarEvent;
|
|
4
|
+
}
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"event-click": (event: CalendarEvent) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
|
+
"onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CalendarEvent } from "./types";
|
|
2
|
+
interface Props {
|
|
3
|
+
dates: Date[];
|
|
4
|
+
events: CalendarEvent[];
|
|
5
|
+
referenceDate: Date;
|
|
6
|
+
weekStartsOn?: 0 | 1;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
"month-cell"(props: {
|
|
10
|
+
date: Date;
|
|
11
|
+
events: CalendarEvent[];
|
|
12
|
+
}): unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"day-click": (date: Date) => any;
|
|
16
|
+
"event-click": (event: CalendarEvent) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
"onDay-click"?: ((date: Date) => any) | undefined;
|
|
19
|
+
"onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
weekStartsOn: 0 | 1;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
day: Date;
|
|
3
|
+
slotDuration: number;
|
|
4
|
+
slotHeight: number;
|
|
5
|
+
startHour?: number;
|
|
6
|
+
endHour?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"slot-click": (date: Date) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
|
+
"onSlot-click"?: ((date: Date) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
startHour: number;
|
|
14
|
+
endHour: number;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
slotDuration: number;
|
|
3
|
+
slotHeight: number;
|
|
4
|
+
startHour?: number;
|
|
5
|
+
endHour?: number;
|
|
6
|
+
timeSelected?: Date | null;
|
|
7
|
+
}
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
|
+
startHour: number;
|
|
10
|
+
endHour: number;
|
|
11
|
+
timeSelected: Date | null;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type CSSProperties } from "vue";
|
|
2
|
+
import type { CalendarEvent } from "./types";
|
|
3
|
+
interface Props {
|
|
4
|
+
dates: Date[];
|
|
5
|
+
events: CalendarEvent[];
|
|
6
|
+
slotDuration: number;
|
|
7
|
+
slotHeight: number;
|
|
8
|
+
startHour?: number;
|
|
9
|
+
endHour?: number;
|
|
10
|
+
selectedEventId: string | null;
|
|
11
|
+
timeSelected?: Date | null;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
}
|
|
14
|
+
type __VLS_Slots = {
|
|
15
|
+
"day-header"(props: {
|
|
16
|
+
date: Date;
|
|
17
|
+
isToday: boolean;
|
|
18
|
+
}): unknown;
|
|
19
|
+
event(props: {
|
|
20
|
+
event: CalendarEvent;
|
|
21
|
+
style: CSSProperties;
|
|
22
|
+
}): unknown;
|
|
23
|
+
"event-content"(props: {
|
|
24
|
+
event: CalendarEvent;
|
|
25
|
+
}): unknown;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
"day-click": (date: Date) => any;
|
|
29
|
+
"slot-click": (date: Date) => any;
|
|
30
|
+
"event-click": (event: CalendarEvent) => any;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
+
"onDay-click"?: ((date: Date) => any) | undefined;
|
|
33
|
+
"onSlot-click"?: ((date: Date) => any) | undefined;
|
|
34
|
+
"onEvent-click"?: ((event: CalendarEvent) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
startHour: number;
|
|
37
|
+
endHour: number;
|
|
38
|
+
timeSelected: Date | null;
|
|
39
|
+
readonly: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { Timeslot } from "../types";
|
|
3
|
+
export interface UseCalendarDragOptions {
|
|
4
|
+
slotDuration: number;
|
|
5
|
+
onMove?: (eventId: string, newStart: Date, newEnd: Date) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function useCalendarDrag(options: UseCalendarDragOptions): {
|
|
8
|
+
isDragging: Ref<boolean, boolean>;
|
|
9
|
+
draggingEventId: Ref<string | null, string | null>;
|
|
10
|
+
currentDropSlot: Ref<Timeslot | null, Timeslot | null>;
|
|
11
|
+
startDrag: (e: PointerEvent, eventId: string, originalStart: Date, originalEnd: Date) => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CSSProperties } from "vue";
|
|
2
|
+
import type { CalendarEvent, EventGroup } from "../types";
|
|
3
|
+
export interface UseCalendarLayoutOptions {
|
|
4
|
+
slotDuration: number;
|
|
5
|
+
slotHeight: number;
|
|
6
|
+
startHour: number;
|
|
7
|
+
endHour: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function useCalendarLayout(options: UseCalendarLayoutOptions): {
|
|
10
|
+
eventStyle: (event: CalendarEvent, groupSize: number, indexInGroup: number) => CSSProperties;
|
|
11
|
+
groupStyle: (group: EventGroup) => CSSProperties;
|
|
12
|
+
gridHeight: () => string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { CalendarView } from "../types";
|
|
3
|
+
export interface UseCalendarNavigationOptions {
|
|
4
|
+
initialDate?: Date;
|
|
5
|
+
initialView?: CalendarView;
|
|
6
|
+
weekStartsOn?: 0 | 1;
|
|
7
|
+
}
|
|
8
|
+
export declare function useCalendarNavigation(options?: UseCalendarNavigationOptions): {
|
|
9
|
+
currentDate: Ref<Date, Date>;
|
|
10
|
+
currentView: Ref<CalendarView, CalendarView>;
|
|
11
|
+
title: import("vue").ComputedRef<string>;
|
|
12
|
+
visibleDates: import("vue").ComputedRef<Date[]>;
|
|
13
|
+
next: () => void;
|
|
14
|
+
prev: () => void;
|
|
15
|
+
today: () => void;
|
|
16
|
+
goToDate: (date: Date) => void;
|
|
17
|
+
setView: (view: CalendarView) => void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
export type ResizeEdge = "top" | "bottom";
|
|
3
|
+
export interface UseCalendarResizeOptions {
|
|
4
|
+
slotDuration: number;
|
|
5
|
+
slotHeight: number;
|
|
6
|
+
startHour: number;
|
|
7
|
+
onResize?: (eventId: string, newStart: Date, newEnd: Date) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function useCalendarResize(options: UseCalendarResizeOptions): {
|
|
10
|
+
isResizing: Ref<boolean, boolean>;
|
|
11
|
+
resizingEventId: Ref<string | null, string | null>;
|
|
12
|
+
resizingEdge: Ref<ResizeEdge | null, ResizeEdge | null>;
|
|
13
|
+
startResize: (e: PointerEvent, eventId: string, edge: ResizeEdge, originalStart: Date, originalEnd: Date) => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function useCalendarSelection(): {
|
|
2
|
+
selectedEventId: import("vue").Ref<string | null, string | null>;
|
|
3
|
+
select: (id: string) => void;
|
|
4
|
+
deselect: () => void;
|
|
5
|
+
toggle: (id: string) => void;
|
|
6
|
+
isSelected: (id: string) => import("vue").ComputedRef<boolean>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as Calendar } from "./Calendar.vue";
|
|
2
|
+
export { calendarVariants, type CalendarVariants } from "./Calendar.variants";
|
|
3
|
+
export { calendarEventVariants, type CalendarEventVariants } from "./CalendarEvent.variants";
|
|
4
|
+
export { calendarHeaderVariants, type CalendarHeaderVariants } from "./CalendarHeader.variants";
|
|
5
|
+
export type { CalendarEvent, CalendarView, CalendarEventColor, CalendarNavigation } from "./types";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { InjectionKey } from "vue";
|
|
2
|
+
export type CalendarView = "week" | "day" | "month";
|
|
3
|
+
export type CalendarEventColor = "accent" | "info" | "warn" | "danger" | "ok";
|
|
4
|
+
export interface CalendarEvent {
|
|
5
|
+
id: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
start: Date;
|
|
8
|
+
end: Date;
|
|
9
|
+
color?: CalendarEventColor;
|
|
10
|
+
data?: Record<string, unknown>;
|
|
11
|
+
}
|
|
12
|
+
export interface Timeslot {
|
|
13
|
+
id: string;
|
|
14
|
+
start: Date;
|
|
15
|
+
end: Date;
|
|
16
|
+
}
|
|
17
|
+
/** Internal: group of overlapping events rendered side-by-side */
|
|
18
|
+
export type EventGroup = CalendarEvent[];
|
|
19
|
+
/** Navigation actions exposed to the #header slot */
|
|
20
|
+
export interface CalendarNavigation {
|
|
21
|
+
next: () => void;
|
|
22
|
+
prev: () => void;
|
|
23
|
+
today: () => void;
|
|
24
|
+
setView: (view: CalendarView) => void;
|
|
25
|
+
goToDate: (date: Date) => void;
|
|
26
|
+
}
|
|
27
|
+
/** Provided by Calendar.vue, injected by CalendarEvent.vue for real-time drag/resize */
|
|
28
|
+
export interface CalendarDragHandler {
|
|
29
|
+
onDragStart: (eventId: string) => void;
|
|
30
|
+
onDragOver: (eventId: string, slotStart: Date) => void;
|
|
31
|
+
onDragEnd: (eventId: string) => void;
|
|
32
|
+
onResizeStart: (eventId: string, edge: "top" | "bottom") => void;
|
|
33
|
+
onResizeOver: (eventId: string, slotStart: Date, slotEnd: Date) => void;
|
|
34
|
+
onResizeEnd: (eventId: string) => void;
|
|
35
|
+
dragEventId: string | null;
|
|
36
|
+
resizeEventId: string | null;
|
|
37
|
+
}
|
|
38
|
+
export declare const CALENDAR_DRAG_KEY: InjectionKey<CalendarDragHandler>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CalendarEvent, EventGroup } from "../types";
|
|
2
|
+
export declare function sortEventsByTime(events: CalendarEvent[]): CalendarEvent[];
|
|
3
|
+
/**
|
|
4
|
+
* Groups overlapping events for side-by-side rendering.
|
|
5
|
+
* Events within the same group overlap with at least one other
|
|
6
|
+
* member and are rendered with divided widths.
|
|
7
|
+
*/
|
|
8
|
+
export declare function groupOverlappingEvents(events: CalendarEvent[]): EventGroup[];
|
|
9
|
+
export declare function getGroupSpan(group: EventGroup): {
|
|
10
|
+
start: Date;
|
|
11
|
+
end: Date;
|
|
12
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function timeToRem(date: Date, slotDuration: number, slotHeight: number, startHour?: number): number;
|
|
2
|
+
export declare function durationToRem(start: Date, end: Date, slotDuration: number, slotHeight: number): number;
|
|
3
|
+
export declare function totalGridHeight(slotDuration: number, slotHeight: number, startHour?: number, endHour?: number): number;
|