@privyid/persona 1.2.1 → 1.2.2-rc.2
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/components/accordion/Accordion.vue +111 -0
- package/dist/components/accordion/Accordion.vue.d.ts +80 -0
- package/dist/components/accordion/AccordionItem.vue +224 -0
- package/dist/components/accordion/AccordionItem.vue.d.ts +121 -0
- package/dist/components/accordion/AccordionItems.vue +50 -0
- package/dist/components/accordion/AccordionItems.vue.d.ts +41 -0
- package/dist/components/accordion/index.d.ts +7 -0
- package/dist/components/accordion/index.mjs +3 -0
- package/dist/components/aspect-ratio/index.d.ts +3 -0
- package/dist/components/aspect-ratio/index.mjs +21 -0
- package/dist/components/aspect-ratio/utils/calculate-ratio.d.ts +7 -0
- package/dist/components/aspect-ratio/utils/calculate-ratio.mjs +10 -0
- package/dist/components/aspect-ratio/utils/resize-observer.d.ts +1 -0
- package/dist/components/aspect-ratio/utils/resize-observer.mjs +22 -0
- package/dist/components/avatar/Avatar.vue +167 -0
- package/dist/components/avatar/Avatar.vue.d.ts +91 -0
- package/dist/components/avatar/AvatarGroup.vue +39 -0
- package/dist/components/avatar/AvatarGroup.vue.d.ts +40 -0
- package/dist/components/avatar/AvatarTruncate.vue +33 -0
- package/dist/components/avatar/AvatarTruncate.vue.d.ts +31 -0
- package/dist/components/avatar/assets/avatar-old.png +0 -0
- package/dist/components/avatar/assets/avatar.png +0 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.mjs +0 -0
- package/dist/components/avatar/utils/color-hash.d.ts +2 -0
- package/dist/components/avatar/utils/color-hash.mjs +22 -0
- package/dist/components/avatar/utils/create-image.d.ts +5 -0
- package/dist/components/avatar/utils/create-image.mjs +19 -0
- package/dist/components/avatar/utils/load-image.d.ts +1 -0
- package/dist/components/avatar/utils/load-image.mjs +22 -0
- package/dist/components/badge/Badge.vue +210 -0
- package/dist/components/badge/Badge.vue.d.ts +41 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.mjs +0 -0
- package/dist/components/banner/Banner.vue +183 -0
- package/dist/components/banner/Banner.vue.d.ts +91 -0
- package/dist/components/banner/index.d.ts +1 -0
- package/dist/components/banner/index.mjs +0 -0
- package/dist/components/breadcrumbs/Breadcrumb.vue +55 -0
- package/dist/components/breadcrumbs/Breadcrumb.vue.d.ts +59 -0
- package/dist/components/breadcrumbs/BreadcrumbItem.vue +83 -0
- package/dist/components/breadcrumbs/BreadcrumbItem.vue.d.ts +40 -0
- package/dist/components/breadcrumbs/BreadcrumbItemDropdown.vue +73 -0
- package/dist/components/breadcrumbs/BreadcrumbItemDropdown.vue.d.ts +38 -0
- package/dist/components/breadcrumbs/index.d.ts +11 -0
- package/dist/components/breadcrumbs/index.mjs +3 -0
- package/dist/components/button/Button.vue +391 -0
- package/dist/components/button/Button.vue.d.ts +108 -0
- package/dist/components/button/index.d.ts +5 -0
- package/dist/components/button/index.mjs +0 -0
- package/dist/components/button-group/ButtonGroup.vue +211 -0
- package/dist/components/button-group/ButtonGroup.vue.d.ts +40 -0
- package/dist/components/button-group/index.d.ts +6 -0
- package/dist/components/button-group/index.mjs +1 -0
- package/dist/components/calendar/Calendar.vue +396 -0
- package/dist/components/calendar/Calendar.vue.d.ts +120 -0
- package/dist/components/calendar/adapter/adapter.d.ts +32 -0
- package/dist/components/calendar/adapter/adapter.mjs +43 -0
- package/dist/components/calendar/adapter/date.d.ts +2 -0
- package/dist/components/calendar/adapter/date.mjs +86 -0
- package/dist/components/calendar/adapter/month.d.ts +2 -0
- package/dist/components/calendar/adapter/month.mjs +66 -0
- package/dist/components/calendar/adapter/year.d.ts +2 -0
- package/dist/components/calendar/adapter/year.mjs +63 -0
- package/dist/components/camera/Camera.vue +356 -0
- package/dist/components/camera/Camera.vue.d.ts +123 -0
- package/dist/components/camera/adapter/adapter.d.ts +41 -0
- package/dist/components/camera/adapter/adapter.mjs +3 -0
- package/dist/components/camera/adapter/capture.d.ts +5 -0
- package/dist/components/camera/adapter/capture.mjs +12 -0
- package/dist/components/camera/adapter/liveness.d.ts +5 -0
- package/dist/components/camera/adapter/liveness.mjs +46 -0
- package/dist/components/camera/adapter/qr-code.d.ts +2 -0
- package/dist/components/camera/adapter/qr-code.mjs +19 -0
- package/dist/components/camera/assets/shutter.wav +0 -0
- package/dist/components/camera/utils/motion.d.ts +29 -0
- package/dist/components/camera/utils/motion.mjs +88 -0
- package/dist/components/camera/utils/take-picture.d.ts +1 -0
- package/dist/components/camera/utils/take-picture.mjs +14 -0
- package/dist/components/caption/Caption.vue +112 -0
- package/dist/components/caption/Caption.vue.d.ts +50 -0
- package/dist/components/caption/index.d.ts +1 -0
- package/dist/components/caption/index.mjs +0 -0
- package/dist/components/card/Card.vue +330 -0
- package/dist/components/card/Card.vue.d.ts +118 -0
- package/dist/components/card/CardSection.vue +69 -0
- package/dist/components/card/CardSection.vue.d.ts +56 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/index.mjs +0 -0
- package/dist/components/carousel/Carousel.vue +177 -0
- package/dist/components/carousel/Carousel.vue.d.ts +123 -0
- package/dist/components/carousel/CarouselBody.vue +16 -0
- package/dist/components/carousel/CarouselBody.vue.d.ts +17 -0
- package/dist/components/carousel/CarouselItem.vue +10 -0
- package/dist/components/carousel/CarouselItem.vue.d.ts +17 -0
- package/dist/components/carousel/index.d.ts +4 -0
- package/dist/components/carousel/index.mjs +1 -0
- package/dist/components/chart/Chart.vue +129 -0
- package/dist/components/chart/Chart.vue.d.ts +63 -0
- package/dist/components/chart/ChartSet.vue +28 -0
- package/dist/components/chart/ChartSet.vue.d.ts +57 -0
- package/dist/components/chart/ChartVal.vue +32 -0
- package/dist/components/chart/ChartVal.vue.d.ts +67 -0
- package/dist/components/chart/adapter/adapter.d.ts +7 -0
- package/dist/components/chart/adapter/adapter.mjs +3 -0
- package/dist/components/chart/adapter/bubble.d.ts +2 -0
- package/dist/components/chart/adapter/bubble.mjs +26 -0
- package/dist/components/chart/adapter/index.d.ts +3 -0
- package/dist/components/chart/adapter/index.mjs +16 -0
- package/dist/components/chart/adapter/line.d.ts +2 -0
- package/dist/components/chart/adapter/line.mjs +66 -0
- package/dist/components/chart/adapter/pie.d.ts +2 -0
- package/dist/components/chart/adapter/pie.mjs +34 -0
- package/dist/components/chart/index.d.ts +2 -0
- package/dist/components/chart/index.mjs +0 -0
- package/dist/components/chart/utils/use-chart.d.ts +2 -0
- package/dist/components/chart/utils/use-chart.mjs +9 -0
- package/dist/components/checkbox/Checkbox.vue +213 -0
- package/dist/components/checkbox/Checkbox.vue.d.ts +105 -0
- package/dist/components/checkbox/icon/IconCheckbox.vue +13 -0
- package/dist/components/checkbox/icon/IconCheckbox.vue.d.ts +2 -0
- package/dist/components/checkbox/icon/IconInderteminate.vue +12 -0
- package/dist/components/checkbox/icon/IconInderteminate.vue.d.ts +2 -0
- package/dist/components/checkbox/index.d.ts +7 -0
- package/dist/components/checkbox/index.mjs +34 -0
- package/dist/components/collapse/Collapse.vue +58 -0
- package/dist/components/collapse/Collapse.vue.d.ts +42 -0
- package/dist/components/contextual-bar/ContextualBar.vue +433 -0
- package/dist/components/contextual-bar/ContextualBar.vue.d.ts +124 -0
- package/dist/components/contextual-bar/index.d.ts +1 -0
- package/dist/components/contextual-bar/index.mjs +0 -0
- package/dist/components/cropper/Cropper.vue +382 -0
- package/dist/components/cropper/Cropper.vue.d.ts +195 -0
- package/dist/components/cropper/index.d.ts +1 -0
- package/dist/components/cropper/index.mjs +3 -0
- package/dist/components/cropper/utils/crop-image.d.ts +44 -0
- package/dist/components/cropper/utils/crop-image.mjs +43 -0
- package/dist/components/cropper/utils/use-pinch.d.ts +8 -0
- package/dist/components/cropper/utils/use-pinch.mjs +50 -0
- package/dist/components/cropper/utils/use-preview.d.ts +3 -0
- package/dist/components/cropper/utils/use-preview.mjs +21 -0
- package/dist/components/cropper/utils/use-ratio.d.ts +9 -0
- package/dist/components/cropper/utils/use-ratio.mjs +24 -0
- package/dist/components/datepicker/Datepicker.vue +204 -0
- package/dist/components/datepicker/Datepicker.vue.d.ts +181 -0
- package/dist/components/dialog/Dialog.vue +130 -0
- package/dist/components/dialog/Dialog.vue.d.ts +8 -0
- package/dist/components/dialog/DialogFooter.vue +121 -0
- package/dist/components/dialog/DialogFooter.vue.d.ts +132 -0
- package/dist/components/dialog/index.d.ts +52 -0
- package/dist/components/dialog/index.mjs +86 -0
- package/dist/components/divider/Divider.vue +61 -0
- package/dist/components/divider/Divider.vue.d.ts +14 -0
- package/dist/components/dot/Dot.vue +95 -0
- package/dist/components/dot/Dot.vue.d.ts +26 -0
- package/dist/components/dot/index.d.ts +1 -0
- package/dist/components/dot/index.mjs +0 -0
- package/dist/components/dropdown/Dropdown.vue +381 -0
- package/dist/components/dropdown/Dropdown.vue.d.ts +301 -0
- package/dist/components/dropdown/DropdownHeader.vue +33 -0
- package/dist/components/dropdown/DropdownHeader.vue.d.ts +18 -0
- package/dist/components/dropdown/DropdownItem.vue +87 -0
- package/dist/components/dropdown/DropdownItem.vue.d.ts +62 -0
- package/dist/components/dropdown/DropdownText.vue +34 -0
- package/dist/components/dropdown/DropdownText.vue.d.ts +17 -0
- package/dist/components/dropdown/index.d.ts +10 -0
- package/dist/components/dropdown/index.mjs +1 -0
- package/dist/components/dropdown/utils/use-focus.d.ts +5 -0
- package/dist/components/dropdown/utils/use-focus.mjs +22 -0
- package/dist/components/dropdown-subitem/DropdownSubitem.vue +153 -0
- package/dist/components/dropdown-subitem/DropdownSubitem.vue.d.ts +58 -0
- package/dist/components/dropdown-subitem/index.d.ts +12 -0
- package/dist/components/dropdown-subitem/index.mjs +1 -0
- package/dist/components/dropzone/Dropzone.vue +205 -0
- package/dist/components/dropzone/Dropzone.vue.d.ts +139 -0
- package/dist/components/dropzone/index.d.ts +4 -0
- package/dist/components/dropzone/index.mjs +0 -0
- package/dist/components/dropzone/utils/accept.d.ts +1 -0
- package/dist/components/dropzone/utils/accept.mjs +17 -0
- package/dist/components/filterbar/Filterbar.vue +103 -0
- package/dist/components/filterbar/Filterbar.vue.d.ts +2495 -0
- package/dist/components/filterbar/index.d.ts +45 -0
- package/dist/components/filterbar/index.mjs +7 -0
- package/dist/components/filterbar/pinned/PinnedDate.vue +100 -0
- package/dist/components/filterbar/pinned/PinnedDate.vue.d.ts +508 -0
- package/dist/components/filterbar/pinned/PinnedMultiselect.vue +113 -0
- package/dist/components/filterbar/pinned/PinnedMultiselect.vue.d.ts +675 -0
- package/dist/components/filterbar/pinned/PinnedSelect.vue +100 -0
- package/dist/components/filterbar/pinned/PinnedSelect.vue.d.ts +607 -0
- package/dist/components/filterbar/pinned/PinnedToggle.vue +77 -0
- package/dist/components/filterbar/pinned/PinnedToggle.vue.d.ts +220 -0
- package/dist/components/form-group/FormGroup.vue +155 -0
- package/dist/components/form-group/FormGroup.vue.d.ts +105 -0
- package/dist/components/global/router.d.ts +24 -0
- package/dist/components/global/router.mjs +7 -0
- package/dist/components/global/store.d.ts +49 -0
- package/dist/components/global/store.mjs +52 -0
- package/dist/components/global/types.d.ts +4 -0
- package/dist/components/global/types.mjs +0 -0
- package/dist/components/global/use-singleton.d.ts +21 -0
- package/dist/components/global/use-singleton.mjs +60 -0
- package/dist/components/global/utils/queue.d.ts +16 -0
- package/dist/components/global/utils/queue.mjs +35 -0
- package/dist/components/heading/Heading.vue +128 -0
- package/dist/components/heading/Heading.vue.d.ts +49 -0
- package/dist/components/heading/index.d.ts +3 -0
- package/dist/components/heading/index.mjs +0 -0
- package/dist/components/input/Input.vue +215 -0
- package/dist/components/input/Input.vue.d.ts +111 -0
- package/dist/components/input/index.d.ts +6 -0
- package/dist/components/input/index.mjs +25 -0
- package/dist/components/input/utils/accept.d.ts +26 -0
- package/dist/components/input/utils/accept.mjs +81 -0
- package/dist/components/input-color/index.d.ts +1 -0
- package/dist/components/input-color/index.mjs +0 -0
- package/dist/components/input-color/inputColor.vue +245 -0
- package/dist/components/input-color/inputColor.vue.d.ts +88 -0
- package/dist/components/input-file/InputFile.vue +195 -0
- package/dist/components/input-file/InputFile.vue.d.ts +755 -0
- package/dist/components/input-group/InputGroup.vue +177 -0
- package/dist/components/input-group/InputGroup.vue.d.ts +58 -0
- package/dist/components/input-group/InputGroupAddon.vue +42 -0
- package/dist/components/input-group/InputGroupAddon.vue.d.ts +17 -0
- package/dist/components/input-group/index.d.ts +6 -0
- package/dist/components/input-group/index.mjs +1 -0
- package/dist/components/input-password/InputPassword.vue +100 -0
- package/dist/components/input-password/InputPassword.vue.d.ts +86 -0
- package/dist/components/input-password/index.d.ts +2 -0
- package/dist/components/input-password/index.mjs +17 -0
- package/dist/components/input-pin/InputPin.vue +142 -0
- package/dist/components/input-pin/InputPin.vue.d.ts +77 -0
- package/dist/components/input-pin/index.d.ts +6 -0
- package/dist/components/input-pin/index.mjs +3 -0
- package/dist/components/input-range/InputRange.vue +253 -0
- package/dist/components/input-range/InputRange.vue.d.ts +106 -0
- package/dist/components/input-range/utils/use-drag.d.ts +3 -0
- package/dist/components/input-range/utils/use-drag.mjs +26 -0
- package/dist/components/label/Label.vue +249 -0
- package/dist/components/label/Label.vue.d.ts +63 -0
- package/dist/components/label/index.d.ts +1 -0
- package/dist/components/label/index.mjs +0 -0
- package/dist/components/list-group/ListGroup.vue +73 -0
- package/dist/components/list-group/ListGroup.vue.d.ts +56 -0
- package/dist/components/list-group/ListGroupItem.vue +79 -0
- package/dist/components/list-group/ListGroupItem.vue.d.ts +49 -0
- package/dist/components/list-group/index.d.ts +1 -0
- package/dist/components/list-group/index.mjs +0 -0
- package/dist/components/main/Main.vue +66 -0
- package/dist/components/main/Main.vue.d.ts +17 -0
- package/dist/components/markdown/index.d.ts +29 -0
- package/dist/components/markdown/index.mjs +25 -0
- package/dist/components/meta.json +171 -0
- package/dist/components/modal/Modal.vue +514 -0
- package/dist/components/modal/Modal.vue.d.ts +196 -0
- package/dist/components/modal/index.d.ts +1 -0
- package/dist/components/modal/index.mjs +0 -0
- package/dist/components/nav/Nav.vue +403 -0
- package/dist/components/nav/Nav.vue.d.ts +104 -0
- package/dist/components/nav/NavCollapse.vue +60 -0
- package/dist/components/nav/NavCollapse.vue.d.ts +164 -0
- package/dist/components/nav/NavForm.vue +23 -0
- package/dist/components/nav/NavForm.vue.d.ts +17 -0
- package/dist/components/nav/NavItem.vue +165 -0
- package/dist/components/nav/NavItem.vue.d.ts +80 -0
- package/dist/components/nav/NavItemDropdown.vue +104 -0
- package/dist/components/nav/NavItemDropdown.vue.d.ts +122 -0
- package/dist/components/nav/NavSubItem.vue +178 -0
- package/dist/components/nav/NavSubItem.vue.d.ts +45 -0
- package/dist/components/nav/NavText.vue +19 -0
- package/dist/components/nav/NavText.vue.d.ts +17 -0
- package/dist/components/nav/index.d.ts +2 -0
- package/dist/components/nav/index.mjs +0 -0
- package/dist/components/navbar/Navbar.vue +270 -0
- package/dist/components/navbar/Navbar.vue.d.ts +70 -0
- package/dist/components/navbar/NavbarBrand.vue +30 -0
- package/dist/components/navbar/NavbarBrand.vue.d.ts +29 -0
- package/dist/components/navbar/NavbarNav.vue +110 -0
- package/dist/components/navbar/NavbarNav.vue.d.ts +31 -0
- package/dist/components/navbar/NavbarToggle.vue +67 -0
- package/dist/components/navbar/NavbarToggle.vue.d.ts +19 -0
- package/dist/components/navbar/index.d.ts +9 -0
- package/dist/components/navbar/index.mjs +1 -0
- package/dist/components/navbar-menu/NavbarNavMenu.vue +56 -0
- package/dist/components/navbar-menu/NavbarNavMenu.vue.d.ts +16 -0
- package/dist/components/notify/Notify.vue +36 -0
- package/dist/components/notify/Notify.vue.d.ts +6 -0
- package/dist/components/notify/NotifyGroup.vue +214 -0
- package/dist/components/notify/NotifyGroup.vue.d.ts +34 -0
- package/dist/components/notify/NotifyItem.vue +33 -0
- package/dist/components/notify/NotifyItem.vue.d.ts +22 -0
- package/dist/components/notify/index.d.ts +20 -0
- package/dist/components/notify/index.mjs +18 -0
- package/dist/components/overlay/Overlay.vue +63 -0
- package/dist/components/overlay/Overlay.vue.d.ts +19 -0
- package/dist/components/overlay/assets/icon-white.svg +1 -0
- package/dist/components/overlay/index.d.ts +2 -0
- package/dist/components/overlay/index.mjs +8 -0
- package/dist/components/overlay/utils/use-loading.d.ts +4 -0
- package/dist/components/overlay/utils/use-loading.mjs +28 -0
- package/dist/components/page/Page.vue +93 -0
- package/dist/components/page/Page.vue.d.ts +54 -0
- package/dist/components/pagination/Pagination.vue +373 -0
- package/dist/components/pagination/Pagination.vue.d.ts +261 -0
- package/dist/components/pagination/index.d.ts +14 -0
- package/dist/components/pagination/index.mjs +38 -0
- package/dist/components/pagination/utils/calculate-page.d.ts +11 -0
- package/dist/components/pagination/utils/calculate-page.mjs +48 -0
- package/dist/components/pdf-helipad/PdfHelipad.vue +129 -0
- package/dist/components/pdf-helipad/PdfHelipad.vue.d.ts +68 -0
- package/dist/components/pdf-helipad/index.d.ts +7 -0
- package/dist/components/pdf-helipad/index.mjs +0 -0
- package/dist/components/pdf-helipad/utils/use-drag.d.ts +3 -0
- package/dist/components/pdf-helipad/utils/use-drag.mjs +38 -0
- package/dist/components/pdf-object/PdfObject.vue +304 -0
- package/dist/components/pdf-object/PdfObject.vue.d.ts +151 -0
- package/dist/components/pdf-object/PdfObjectAddon.vue +49 -0
- package/dist/components/pdf-object/PdfObjectAddon.vue.d.ts +31 -0
- package/dist/components/pdf-object/PdfObjectDebugger.vue +66 -0
- package/dist/components/pdf-object/PdfObjectDebugger.vue.d.ts +2 -0
- package/dist/components/pdf-object/PdfObjects.vue +35 -0
- package/dist/components/pdf-object/PdfObjects.vue.d.ts +31 -0
- package/dist/components/pdf-object/index.d.ts +63 -0
- package/dist/components/pdf-object/index.mjs +110 -0
- package/dist/components/pdf-object/utils/overlap.d.ts +51 -0
- package/dist/components/pdf-object/utils/overlap.mjs +54 -0
- package/dist/components/pdf-object/utils/position.d.ts +64 -0
- package/dist/components/pdf-object/utils/position.mjs +48 -0
- package/dist/components/pdf-object/utils/use-drag.d.ts +9 -0
- package/dist/components/pdf-object/utils/use-drag.mjs +69 -0
- package/dist/components/pdf-object/utils/use-drop.d.ts +7 -0
- package/dist/components/pdf-object/utils/use-drop.mjs +57 -0
- package/dist/components/pdf-object/utils/use-resize.d.ts +17 -0
- package/dist/components/pdf-object/utils/use-resize.mjs +90 -0
- package/dist/components/pdf-object/utils/use-selector.d.ts +4 -0
- package/dist/components/pdf-object/utils/use-selector.mjs +26 -0
- package/dist/components/pdf-text/PdfText.vue +125 -0
- package/dist/components/pdf-text/PdfText.vue.d.ts +170 -0
- package/dist/components/pdf-text/utils/text-to-image.d.ts +68 -0
- package/dist/components/pdf-text/utils/text-to-image.mjs +120 -0
- package/dist/components/pdf-viewer/PdfError.vue +70 -0
- package/dist/components/pdf-viewer/PdfError.vue.d.ts +24 -0
- package/dist/components/pdf-viewer/PdfLoading.vue +24 -0
- package/dist/components/pdf-viewer/PdfLoading.vue.d.ts +2 -0
- package/dist/components/pdf-viewer/PdfNavigation.vue +165 -0
- package/dist/components/pdf-viewer/PdfNavigation.vue.d.ts +49 -0
- package/dist/components/pdf-viewer/PdfViewer.vue +319 -0
- package/dist/components/pdf-viewer/PdfViewer.vue.d.ts +187 -0
- package/dist/components/pdf-viewer/assets/pdf-loading.svg +1 -0
- package/dist/components/pdf-viewer/index.d.ts +25 -0
- package/dist/components/pdf-viewer/index.mjs +24 -0
- package/dist/components/pdf-viewer/utils/pdfjs.d.ts +69 -0
- package/dist/components/pdf-viewer/utils/pdfjs.mjs +57 -0
- package/dist/components/pdf-viewer/utils/use-idle.d.ts +2 -0
- package/dist/components/pdf-viewer/utils/use-idle.mjs +25 -0
- package/dist/components/pdf-viewer/utils/use-sticky.d.ts +6 -0
- package/dist/components/pdf-viewer/utils/use-sticky.mjs +49 -0
- package/dist/components/pdf-viewer/utils/use-viewer.d.ts +27 -0
- package/dist/components/pdf-viewer/utils/use-viewer.mjs +193 -0
- package/dist/components/popover/Popover.vue +109 -0
- package/dist/components/popover/Popover.vue.d.ts +209 -0
- package/dist/components/popover/index.d.ts +17 -0
- package/dist/components/popover/index.mjs +52 -0
- package/dist/components/popup/Popup.vue +412 -0
- package/dist/components/popup/Popup.vue.d.ts +112 -0
- package/dist/components/popup/index.d.ts +39 -0
- package/dist/components/popup/index.mjs +31 -0
- package/dist/components/progress/Progress.vue +198 -0
- package/dist/components/progress/Progress.vue.d.ts +53 -0
- package/dist/components/progress/ProgressItem.vue +46 -0
- package/dist/components/progress/ProgressItem.vue.d.ts +43 -0
- package/dist/components/progress/index.d.ts +2 -0
- package/dist/components/progress/index.mjs +0 -0
- package/dist/components/progress-indicator/ProgressIndicator.vue +114 -0
- package/dist/components/progress-indicator/ProgressIndicator.vue.d.ts +40 -0
- package/dist/components/progressbar/Progressbar.vue +105 -0
- package/dist/components/progressbar/Progressbar.vue.d.ts +59 -0
- package/dist/components/progressbar/index.d.ts +7 -0
- package/dist/components/progressbar/index.mjs +11 -0
- package/dist/components/pspdfkit/PspdfHelipad.vue +142 -0
- package/dist/components/pspdfkit/PspdfHelipad.vue.d.ts +68 -0
- package/dist/components/pspdfkit/PspdfObject.vue +291 -0
- package/dist/components/pspdfkit/PspdfObject.vue.d.ts +151 -0
- package/dist/components/pspdfkit/PspdfObjectAddon.vue +24 -0
- package/dist/components/pspdfkit/PspdfObjectAddon.vue.d.ts +31 -0
- package/dist/components/pspdfkit/PspdfObjects.vue +27 -0
- package/dist/components/pspdfkit/PspdfObjects.vue.d.ts +19 -0
- package/dist/components/pspdfkit/PspdfViewer.vue +223 -0
- package/dist/components/pspdfkit/PspdfViewer.vue.d.ts +142 -0
- package/dist/components/pspdfkit/css/custom.css +1 -0
- package/dist/components/pspdfkit/index.d.ts +8 -0
- package/dist/components/pspdfkit/index.mjs +7 -0
- package/dist/components/pspdfkit/utils/position.d.ts +1 -0
- package/dist/components/pspdfkit/utils/position.mjs +5 -0
- package/dist/components/pspdfkit/utils/pspdfkit.d.ts +17 -0
- package/dist/components/pspdfkit/utils/pspdfkit.mjs +53 -0
- package/dist/components/pspdfkit/utils/use-drop.d.ts +2 -0
- package/dist/components/pspdfkit/utils/use-drop.mjs +41 -0
- package/dist/components/pspdfkit/utils/use-viewer.d.ts +17 -0
- package/dist/components/pspdfkit/utils/use-viewer.mjs +167 -0
- package/dist/components/qrcode/Qrcode.vue +150 -0
- package/dist/components/qrcode/Qrcode.vue.d.ts +145 -0
- package/dist/components/qrcode/index.d.ts +1 -0
- package/dist/components/qrcode/index.mjs +0 -0
- package/dist/components/radio/Radio.vue +285 -0
- package/dist/components/radio/Radio.vue.d.ts +97 -0
- package/dist/components/radio/index.d.ts +7 -0
- package/dist/components/radio/index.mjs +16 -0
- package/dist/components/richtext/Richtext.vue +271 -0
- package/dist/components/richtext/Richtext.vue.d.ts +78 -0
- package/dist/components/richtext/RichtextToolbarAdvance.vue +37 -0
- package/dist/components/richtext/RichtextToolbarAdvance.vue.d.ts +2 -0
- package/dist/components/richtext/RichtextToolbarSimple.vue +146 -0
- package/dist/components/richtext/RichtextToolbarSimple.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlFontFamily.vue +52 -0
- package/dist/components/richtext/control/RichtextControlFontFamily.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlFontSize.vue +74 -0
- package/dist/components/richtext/control/RichtextControlFontSize.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlHighlight.vue +127 -0
- package/dist/components/richtext/control/RichtextControlHighlight.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlHistory.vue +26 -0
- package/dist/components/richtext/control/RichtextControlHistory.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlImage.vue +32 -0
- package/dist/components/richtext/control/RichtextControlImage.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlLink.vue +44 -0
- package/dist/components/richtext/control/RichtextControlLink.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlList.vue +43 -0
- package/dist/components/richtext/control/RichtextControlList.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlTable.vue +90 -0
- package/dist/components/richtext/control/RichtextControlTable.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlTextAlign.vue +78 -0
- package/dist/components/richtext/control/RichtextControlTextAlign.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlTextFormat.vue +48 -0
- package/dist/components/richtext/control/RichtextControlTextFormat.vue.d.ts +2 -0
- package/dist/components/richtext/control/RichtextControlTextHeading.vue +93 -0
- package/dist/components/richtext/control/RichtextControlTextHeading.vue.d.ts +2 -0
- package/dist/components/richtext/index.d.ts +7 -0
- package/dist/components/richtext/index.mjs +7 -0
- package/dist/components/richtext/popup/RichtextPopupImageEdit.vue +64 -0
- package/dist/components/richtext/popup/RichtextPopupImageEdit.vue.d.ts +2 -0
- package/dist/components/richtext/popup/RichtextPopupLinkDetail.vue +79 -0
- package/dist/components/richtext/popup/RichtextPopupLinkDetail.vue.d.ts +2 -0
- package/dist/components/richtext/popup/RichtextPopupLinkEdit.vue +64 -0
- package/dist/components/richtext/popup/RichtextPopupLinkEdit.vue.d.ts +22 -0
- package/dist/components/richtext/tiptap/image-align.d.ts +43 -0
- package/dist/components/richtext/tiptap/image-align.mjs +60 -0
- package/dist/components/ringbar/Ringbar.vue +148 -0
- package/dist/components/ringbar/Ringbar.vue.d.ts +62 -0
- package/dist/components/ringbar/index.d.ts +1 -0
- package/dist/components/ringbar/index.mjs +0 -0
- package/dist/components/select/Select.vue +499 -0
- package/dist/components/select/Select.vue.d.ts +753 -0
- package/dist/components/select/SelectInput.vue +101 -0
- package/dist/components/select/SelectInput.vue.d.ts +71 -0
- package/dist/components/select/SelectTags.vue +53 -0
- package/dist/components/select/SelectTags.vue.d.ts +34 -0
- package/dist/components/select/adapter/adapter.d.ts +17 -0
- package/dist/components/select/adapter/adapter.mjs +20 -0
- package/dist/components/select/adapter/async-adapter.d.ts +17 -0
- package/dist/components/select/adapter/async-adapter.mjs +61 -0
- package/dist/components/select/adapter/basic-adapter.d.ts +5 -0
- package/dist/components/select/adapter/basic-adapter.mjs +13 -0
- package/dist/components/select/adapter/fuzzy-adapter.d.ts +2 -0
- package/dist/components/select/adapter/fuzzy-adapter.mjs +24 -0
- package/dist/components/select/index.d.ts +15 -0
- package/dist/components/select/index.mjs +20 -0
- package/dist/components/select/utils/use-on-scroll.d.ts +2 -0
- package/dist/components/select/utils/use-on-scroll.mjs +9 -0
- package/dist/components/select/utils/use-on-typing.d.ts +3 -0
- package/dist/components/select/utils/use-on-typing.mjs +8 -0
- package/dist/components/sheet/Sheet.vue +210 -0
- package/dist/components/sheet/Sheet.vue.d.ts +79 -0
- package/dist/components/shimmer/Shimmer.vue +121 -0
- package/dist/components/shimmer/Shimmer.vue.d.ts +47 -0
- package/dist/components/shimmer/index.d.ts +2 -0
- package/dist/components/shimmer/index.mjs +10 -0
- package/dist/components/sidebar/Sidebar.vue +225 -0
- package/dist/components/sidebar/Sidebar.vue.d.ts +99 -0
- package/dist/components/sidebar/SidebarBrand.vue +101 -0
- package/dist/components/sidebar/SidebarBrand.vue.d.ts +52 -0
- package/dist/components/sidebar/SidebarContent.vue +21 -0
- package/dist/components/sidebar/SidebarContent.vue.d.ts +16 -0
- package/dist/components/sidebar/SidebarNav.vue +254 -0
- package/dist/components/sidebar/SidebarNav.vue.d.ts +77 -0
- package/dist/components/sidebar/index.d.ts +9 -0
- package/dist/components/sidebar/index.mjs +1 -0
- package/dist/components/sidebar-menu/SidebarMenu.vue +112 -0
- package/dist/components/sidebar-menu/SidebarMenu.vue.d.ts +112 -0
- package/dist/components/sidebar-menu/SidebarMenuItem.vue +67 -0
- package/dist/components/sidebar-menu/SidebarMenuItem.vue.d.ts +25 -0
- package/dist/components/sidebar-menu/index.d.ts +138 -0
- package/dist/components/sidebar-menu/index.mjs +44 -0
- package/dist/components/signature-draw/SignatureDraw.vue +91 -0
- package/dist/components/signature-draw/SignatureDraw.vue.d.ts +98 -0
- package/dist/components/signature-draw/SignatureDrawDesktop.vue +148 -0
- package/dist/components/signature-draw/SignatureDrawDesktop.vue.d.ts +76 -0
- package/dist/components/signature-draw/SignatureDrawMobile.vue +212 -0
- package/dist/components/signature-draw/SignatureDrawMobile.vue.d.ts +94 -0
- package/dist/components/signature-draw/utils/canvas.d.ts +41 -0
- package/dist/components/signature-draw/utils/canvas.mjs +55 -0
- package/dist/components/signature-draw/utils/image.d.ts +7 -0
- package/dist/components/signature-draw/utils/image.mjs +23 -0
- package/dist/components/signature-draw/utils/smooth-line.d.ts +36 -0
- package/dist/components/signature-draw/utils/smooth-line.mjs +56 -0
- package/dist/components/signature-draw/utils/straight-line.d.ts +8 -0
- package/dist/components/signature-draw/utils/straight-line.mjs +24 -0
- package/dist/components/signature-draw/utils/use-draw.d.ts +7 -0
- package/dist/components/signature-draw/utils/use-draw.mjs +29 -0
- package/dist/components/signature-text/SignatureText.vue +114 -0
- package/dist/components/signature-text/SignatureText.vue.d.ts +98 -0
- package/dist/components/signature-text/utils/formatter.d.ts +2 -0
- package/dist/components/signature-text/utils/formatter.mjs +8 -0
- package/dist/components/signature-text/utils/generate-text.d.ts +8 -0
- package/dist/components/signature-text/utils/generate-text.mjs +28 -0
- package/dist/components/signature-text/utils/load-font.d.ts +1 -0
- package/dist/components/signature-text/utils/load-font.mjs +22 -0
- package/dist/components/spinner/Spinner.vue +156 -0
- package/dist/components/spinner/Spinner.vue.d.ts +2 -0
- package/dist/components/spinner/SpinnerRing.vue +34 -0
- package/dist/components/spinner/SpinnerRing.vue.d.ts +2 -0
- package/dist/components/spinner/SpinnerRinggo.vue +61 -0
- package/dist/components/spinner/SpinnerRinggo.vue.d.ts +2 -0
- package/dist/components/spread/Spread.vue +52 -0
- package/dist/components/spread/Spread.vue.d.ts +29 -0
- package/dist/components/steps/Step.vue +42 -0
- package/dist/components/steps/Step.vue.d.ts +48 -0
- package/dist/components/steps/StepSlider.vue +37 -0
- package/dist/components/steps/StepSlider.vue.d.ts +34 -0
- package/dist/components/steps/Steps.vue +116 -0
- package/dist/components/steps/Steps.vue.d.ts +100 -0
- package/dist/components/steps/index.d.ts +30 -0
- package/dist/components/steps/index.mjs +53 -0
- package/dist/components/steps/utils/hook.d.ts +10 -0
- package/dist/components/steps/utils/hook.mjs +35 -0
- package/dist/components/strengthbar/Strengthbar.vue +90 -0
- package/dist/components/strengthbar/Strengthbar.vue.d.ts +41 -0
- package/dist/components/subheading/Subheading.vue +137 -0
- package/dist/components/subheading/Subheading.vue.d.ts +59 -0
- package/dist/components/subheading/index.d.ts +1 -0
- package/dist/components/subheading/index.mjs +0 -0
- package/dist/components/table/Table.vue +391 -0
- package/dist/components/table/Table.vue.d.ts +337 -0
- package/dist/components/table/index.d.ts +49 -0
- package/dist/components/table/index.mjs +37 -0
- package/dist/components/table-flex/TableFlex.vue +309 -0
- package/dist/components/table-flex/TableFlex.vue.d.ts +77 -0
- package/dist/components/table-static/TableStatic.vue +406 -0
- package/dist/components/table-static/TableStatic.vue.d.ts +90 -0
- package/dist/components/table-static/TableStaticRoot.vue +39 -0
- package/dist/components/table-static/TableStaticRoot.vue.d.ts +40 -0
- package/dist/components/table-static/TableStaticSort.vue +22 -0
- package/dist/components/table-static/TableStaticSort.vue.d.ts +14 -0
- package/dist/components/table-static/index.d.ts +64 -0
- package/dist/components/table-static/index.mjs +24 -0
- package/dist/components/tabs/Tab.vue +26 -0
- package/dist/components/tabs/Tab.vue.d.ts +45 -0
- package/dist/components/tabs/TabContent.vue +53 -0
- package/dist/components/tabs/TabContent.vue.d.ts +33 -0
- package/dist/components/tabs/Tabs.vue +209 -0
- package/dist/components/tabs/Tabs.vue.d.ts +96 -0
- package/dist/components/text/Text.vue +220 -0
- package/dist/components/text/Text.vue.d.ts +69 -0
- package/dist/components/text/index.d.ts +2 -0
- package/dist/components/text/index.mjs +0 -0
- package/dist/components/textarea/Textarea.vue +162 -0
- package/dist/components/textarea/Textarea.vue.d.ts +112 -0
- package/dist/components/time/Time.vue +222 -0
- package/dist/components/time/Time.vue.d.ts +104 -0
- package/dist/components/time/TimeItem.vue +96 -0
- package/dist/components/time/TimeItem.vue.d.ts +61 -0
- package/dist/components/time/index.d.ts +19 -0
- package/dist/components/time/index.mjs +53 -0
- package/dist/components/time/utils/index.d.ts +9 -0
- package/dist/components/time/utils/index.mjs +82 -0
- package/dist/components/timepicker/Timepicker.vue +204 -0
- package/dist/components/timepicker/Timepicker.vue.d.ts +182 -0
- package/dist/components/toast/Toast.vue +247 -0
- package/dist/components/toast/Toast.vue.d.ts +118 -0
- package/dist/components/toast/index.d.ts +50 -0
- package/dist/components/toast/index.mjs +44 -0
- package/dist/components/toggle/Toggle.vue +216 -0
- package/dist/components/toggle/Toggle.vue.d.ts +145 -0
- package/dist/components/tooltip/Tooltip.vue +154 -0
- package/dist/components/tooltip/Tooltip.vue.d.ts +68 -0
- package/dist/components/tooltip/TooltipContainer.vue +74 -0
- package/dist/components/tooltip/TooltipContainer.vue.d.ts +16 -0
- package/dist/components/tooltip/index.d.ts +17 -0
- package/dist/components/tooltip/index.mjs +113 -0
- package/dist/components/tooltip/utils/create-handler.d.ts +9 -0
- package/dist/components/tooltip/utils/create-handler.mjs +16 -0
- package/dist/components/tooltip/utils/on-hover.d.ts +23 -0
- package/dist/components/tooltip/utils/on-hover.mjs +42 -0
- package/dist/components/tooltip/utils/parse-bindings.d.ts +23 -0
- package/dist/components/tooltip/utils/parse-bindings.mjs +47 -0
- package/dist/components/tour/Tour.vue +99 -0
- package/dist/components/tour/Tour.vue.d.ts +9 -0
- package/dist/components/tour/TourDialog.vue +201 -0
- package/dist/components/tour/TourDialog.vue.d.ts +112 -0
- package/dist/components/tour/TourHighlight.vue +51 -0
- package/dist/components/tour/TourHighlight.vue.d.ts +15 -0
- package/dist/components/tour/core/base.d.ts +59 -0
- package/dist/components/tour/core/base.mjs +69 -0
- package/dist/components/tour/core/step/action.d.ts +15 -0
- package/dist/components/tour/core/step/action.mjs +14 -0
- package/dist/components/tour/core/step/conditional.d.ts +25 -0
- package/dist/components/tour/core/step/conditional.mjs +57 -0
- package/dist/components/tour/core/step/delay.d.ts +8 -0
- package/dist/components/tour/core/step/delay.mjs +9 -0
- package/dist/components/tour/core/step/dialog.d.ts +11 -0
- package/dist/components/tour/core/step/dialog.mjs +25 -0
- package/dist/components/tour/core/step/visit.d.ts +9 -0
- package/dist/components/tour/core/step/visit.mjs +15 -0
- package/dist/components/tour/core/step.d.ts +37 -0
- package/dist/components/tour/core/step.mjs +46 -0
- package/dist/components/tour/core/story.d.ts +130 -0
- package/dist/components/tour/core/story.mjs +166 -0
- package/dist/components/tour/core/tour.d.ts +126 -0
- package/dist/components/tour/core/tour.mjs +196 -0
- package/dist/components/tour/index.d.ts +3 -0
- package/dist/components/tour/index.mjs +4 -0
- package/dist/components/tour/utils/focus.d.ts +1 -0
- package/dist/components/tour/utils/focus.mjs +6 -0
- package/dist/components/tour/utils/is-visible.d.ts +1 -0
- package/dist/components/tour/utils/is-visible.mjs +29 -0
- package/dist/components/tour/utils/wait-element.d.ts +6 -0
- package/dist/components/tour/utils/wait-element.mjs +45 -0
- package/dist/components/truncate/Truncate.vue +69 -0
- package/dist/components/truncate/Truncate.vue.d.ts +68 -0
- package/dist/components/utils/array.d.ts +2 -0
- package/dist/components/utils/array.mjs +19 -0
- package/dist/components/utils/base64.d.ts +8 -0
- package/dist/components/utils/base64.mjs +35 -0
- package/dist/components/utils/color.d.ts +17 -0
- package/dist/components/utils/color.mjs +14 -0
- package/dist/components/utils/date.d.ts +22 -0
- package/dist/components/utils/date.mjs +14 -0
- package/dist/components/utils/value.d.ts +8 -0
- package/dist/components/utils/value.mjs +7 -0
- package/dist/components/utils/vnode.d.ts +15 -0
- package/dist/components/utils/vnode.mjs +18 -0
- package/dist/components/wizard/Wizard.vue +76 -0
- package/dist/components/wizard/Wizard.vue.d.ts +91 -0
- package/dist/components/wizard/WizardBody.vue +38 -0
- package/dist/components/wizard/WizardBody.vue.d.ts +36 -0
- package/dist/components/wizard/WizardHeader.vue +38 -0
- package/dist/components/wizard/WizardHeader.vue.d.ts +16 -0
- package/dist/components/wizard/WizardStep.vue +22 -0
- package/dist/components/wizard/WizardStep.vue.d.ts +55 -0
- package/dist/core/index.d.ts +43 -0
- package/dist/core/index.mjs +148 -0
- package/dist/directive/index.d.ts +3 -0
- package/dist/directive/index.mjs +12 -0
- package/dist/module.d.mts +28 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +92 -13
- package/dist/runtime/plugins/persona.d.ts +2 -0
- package/dist/runtime/plugins/persona.js +35 -0
- package/dist/types.d.mts +4 -8
- package/package.json +1 -4
- package/dist/module.d.cts +0 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { inject } from "vue";
|
|
2
|
+
import { useSingleton } from "../global/use-singleton.mjs";
|
|
3
|
+
import { noop } from "lodash-es";
|
|
4
|
+
export const NOTIFY_CONTEXT = Symbol("NotifyContext");
|
|
5
|
+
export async function showNotify(options) {
|
|
6
|
+
const { default: Notify } = await import("./Notify.vue");
|
|
7
|
+
const instance = await useSingleton(Notify);
|
|
8
|
+
return instance.show(options);
|
|
9
|
+
}
|
|
10
|
+
export function useNotifyItem() {
|
|
11
|
+
return inject(NOTIFY_CONTEXT, () => {
|
|
12
|
+
return {
|
|
13
|
+
close: noop,
|
|
14
|
+
update: noop
|
|
15
|
+
};
|
|
16
|
+
}, true);
|
|
17
|
+
}
|
|
18
|
+
export default showNotify;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
v-if="loading"
|
|
4
|
+
data-testid="overlay"
|
|
5
|
+
class="overlay">
|
|
6
|
+
<div class="overlay__icon">
|
|
7
|
+
<img
|
|
8
|
+
:src="icon"
|
|
9
|
+
alt="overlay-icon">
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script setup>
|
|
15
|
+
import useLoading from "./utils/use-loading";
|
|
16
|
+
import Icon from "./assets/icon-white.svg";
|
|
17
|
+
defineProps({
|
|
18
|
+
icon: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: Icon
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
const loading = useLoading({ elapsed: false });
|
|
24
|
+
function show() {
|
|
25
|
+
loading.value = true;
|
|
26
|
+
}
|
|
27
|
+
function hide() {
|
|
28
|
+
loading.value = false;
|
|
29
|
+
}
|
|
30
|
+
defineExpose({
|
|
31
|
+
show,
|
|
32
|
+
hide
|
|
33
|
+
});
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<style lang="postcss">
|
|
37
|
+
@keyframes overlayLoading {
|
|
38
|
+
from {
|
|
39
|
+
opacity: 1;
|
|
40
|
+
transform: scale(0);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
to {
|
|
44
|
+
opacity: 0;
|
|
45
|
+
transform: scale(1.5);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.overlay {
|
|
50
|
+
--p-overlay-z-index: theme(zIndex.overlay);
|
|
51
|
+
|
|
52
|
+
@apply z-[var(--p-overlay-z-index)] fixed top-0 left-0 right-0 bottom-0 w-screen h-screen bg-inverse/30 flex items-center justify-center select-none will-change-[transform,opacity];
|
|
53
|
+
@apply dark:bg-dark-inverse/30;
|
|
54
|
+
|
|
55
|
+
&__icon {
|
|
56
|
+
@apply w-10 md:w-16 animate-[overlayLoading_1s_ease-in-out_infinite];
|
|
57
|
+
|
|
58
|
+
& > img {
|
|
59
|
+
@apply max-w-full h-auto;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function show(): void;
|
|
2
|
+
declare function hide(): void;
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
icon: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: any;
|
|
7
|
+
};
|
|
8
|
+
}>, {
|
|
9
|
+
show: typeof show;
|
|
10
|
+
hide: typeof hide;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
icon: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: any;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {
|
|
17
|
+
icon: string;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="204" height="131" version="1.1" viewBox="0 0 204 131"><title>Logo / Negative / Icon</title><desc>Created with Sketch.</desc><defs><linearGradient id="linearGradient-1" x1="38.772%" x2="99.746%" y1="36.946%" y2="100%"><stop offset="0%" stop-color="#000" stop-opacity="0"/><stop offset="10.271%" stop-color="#000" stop-opacity=".054"/><stop offset="19.657%" stop-color="#000" stop-opacity=".106"/><stop offset="30.31%" stop-color="#000" stop-opacity=".192"/><stop offset="38.65%" stop-color="#000" stop-opacity=".245"/><stop offset="100%" stop-color="#000"/></linearGradient></defs><g id="Logo-/-Negative-/-Icon" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path id="Path" fill="#FFF" d="M19.1359203,111.815313 C30.9636339,123.668638 47.3036075,131 65.352117,131 C83.4004497,131 99.7402465,123.668638 111.567783,111.815313 L204,19.1846867 C192.172286,7.33136183 175.832313,0 157.78398,0 C139.735471,0 123.395674,7.33136183 111.568137,19.1845095 L111.56796,19.1846867 C99.7402465,7.33136183 83.4004497,0 65.3522937,0 C26.5673268,0 2.02528496,29.2248333 0,66.4713328 C0.256828333,84.1728482 7.52049215,100.17473 19.1359203,111.815313 Z"/><path id="Path" fill="url(#linearGradient-1)" d="M112,19.2653956 C100.126484,7.36220448 83.7234126,0 65.6053663,0 C26.6702071,0 2.03312774,29.3477806 0,66.7509741 C0.257822885,84.5269588 7.54961478,100.59616 19.2100229,112.285714 L112,19.2653956 Z"/></g></svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { useSingleton } from "../global/use-singleton.mjs";
|
|
2
|
+
import Overlay from "./Overlay.vue";
|
|
3
|
+
export async function showOverlay() {
|
|
4
|
+
(await useSingleton(Overlay)).show();
|
|
5
|
+
}
|
|
6
|
+
export async function hideOverlay() {
|
|
7
|
+
(await useSingleton(Overlay)).hide();
|
|
8
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import defu from "defu";
|
|
2
|
+
import { tryOnMounted } from "@vueuse/shared";
|
|
3
|
+
import { computed, ref } from "vue";
|
|
4
|
+
export default function useLoading(options_) {
|
|
5
|
+
const options = defu(options_, { elapsed: true });
|
|
6
|
+
const counter = ref(0);
|
|
7
|
+
const elapsed = ref(options.elapsed !== false);
|
|
8
|
+
const loading = computed({
|
|
9
|
+
get() {
|
|
10
|
+
return counter.value > 0 || elapsed.value;
|
|
11
|
+
},
|
|
12
|
+
set(value) {
|
|
13
|
+
if (value)
|
|
14
|
+
counter.value++;
|
|
15
|
+
else
|
|
16
|
+
counter.value--;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
tryOnMounted(() => {
|
|
20
|
+
if (options.elapsed !== false) {
|
|
21
|
+
const elapsedTime = options.elapsed === true ? 200 : options.elapsed;
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
elapsed.value = false;
|
|
24
|
+
}, elapsedTime);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
return loading;
|
|
28
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="page"
|
|
4
|
+
data-testid="page"
|
|
5
|
+
:class="classNames">
|
|
6
|
+
<slot />
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script setup>
|
|
11
|
+
import { computed } from "vue";
|
|
12
|
+
import { useVModel } from "../input";
|
|
13
|
+
const props = defineProps({
|
|
14
|
+
expand: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: void 0
|
|
17
|
+
},
|
|
18
|
+
type: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "narrow"
|
|
21
|
+
},
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: true
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
defineEmits(["update:modelValue"]);
|
|
28
|
+
const model = useVModel(props);
|
|
29
|
+
const classNames = computed(() => {
|
|
30
|
+
const result = [""];
|
|
31
|
+
if (props.expand)
|
|
32
|
+
result.push(`page--expand page--expand-${props.expand}`);
|
|
33
|
+
if (props.expand && model.value)
|
|
34
|
+
result.push("page--expanded");
|
|
35
|
+
if (props.type)
|
|
36
|
+
result.push(`page--type-${props.type}`);
|
|
37
|
+
return result;
|
|
38
|
+
});
|
|
39
|
+
</script>
|
|
40
|
+
|
|
41
|
+
<style lang="postcss">
|
|
42
|
+
.page {
|
|
43
|
+
--p-page-type-wide: 60px;
|
|
44
|
+
--p-page-type-narrow: 230px;
|
|
45
|
+
|
|
46
|
+
@apply w-full text-default;
|
|
47
|
+
@apply dark:text-dark-default;
|
|
48
|
+
|
|
49
|
+
&&--expand {
|
|
50
|
+
&:where(&&-all, &&-lg, &&-md, &&-sm) {
|
|
51
|
+
&:is(.page--expanded) {
|
|
52
|
+
@apply transition-[padding] ease-out delay-75;
|
|
53
|
+
|
|
54
|
+
&.page--type-wide {
|
|
55
|
+
@apply pl-[var(--p-page-type-wide)];
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.page--type-narrow {
|
|
59
|
+
@apply pl-[var(--p-page-type-narrow)];
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:where(&&-all, &&-lg, &&-md, &&-sm) {
|
|
65
|
+
@apply pl-0 transition-[padding] ease-in delay-75;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&&-lg {
|
|
69
|
+
@apply lg:pl-[var(--p-page-type-narrow)];
|
|
70
|
+
|
|
71
|
+
&:not(.page--type-narrow) {
|
|
72
|
+
@apply lg:pl-[var(--p-page-type-wide)];
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&&-md {
|
|
77
|
+
@apply md:pl-[var(--p-page-type-narrow)];
|
|
78
|
+
|
|
79
|
+
&:not(.page--type-narrow) {
|
|
80
|
+
@apply md:pl-[var(--p-page-type-wide)];
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&&-sm {
|
|
85
|
+
@apply sm:pl-[var(--p-page-type-narrow)];
|
|
86
|
+
|
|
87
|
+
&:not(.page--type-narrow) {
|
|
88
|
+
@apply sm:pl-[var(--p-page-type-wide)];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
</style>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { ToggleableVariant } from '../navbar';
|
|
3
|
+
import type { TypeVariant } from '../sidebar';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
+
expand: {
|
|
15
|
+
type: PropType<ToggleableVariant>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
type: {
|
|
19
|
+
type: PropType<TypeVariant>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
"update:modelValue": (args_0: boolean) => void;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
expand: {
|
|
30
|
+
type: PropType<ToggleableVariant>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
type: {
|
|
34
|
+
type: PropType<TypeVariant>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
modelValue: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{
|
|
42
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
type: TypeVariant;
|
|
45
|
+
modelValue: boolean;
|
|
46
|
+
expand: ToggleableVariant;
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
data-testid="pagination"
|
|
4
|
+
:class="classNames">
|
|
5
|
+
<div
|
|
6
|
+
v-if="quickJump"
|
|
7
|
+
class="pagination__quickjump"
|
|
8
|
+
data-testid="pagination-quickjump">
|
|
9
|
+
{{ pageLabel }}
|
|
10
|
+
<Select
|
|
11
|
+
v-model="model"
|
|
12
|
+
:searchable="false"
|
|
13
|
+
:size="selectSize"
|
|
14
|
+
data-testid="pagination-select"
|
|
15
|
+
:options="pageOptions"
|
|
16
|
+
@change="({ value }) => selectPage(value)" />
|
|
17
|
+
<slot
|
|
18
|
+
name="quick-jump-count"
|
|
19
|
+
:total="totalPageCount">
|
|
20
|
+
of {{ totalPageCount }}
|
|
21
|
+
</slot>
|
|
22
|
+
</div>
|
|
23
|
+
<nav
|
|
24
|
+
v-else
|
|
25
|
+
class="pagination__items">
|
|
26
|
+
<Button
|
|
27
|
+
v-if="variant === 'far'"
|
|
28
|
+
data-testid="pagination-nav-first"
|
|
29
|
+
variant="solid"
|
|
30
|
+
size="sm"
|
|
31
|
+
:disabled="!canPrev"
|
|
32
|
+
class="pagination__items__nav-first"
|
|
33
|
+
icon
|
|
34
|
+
@click="selectPage(1)">
|
|
35
|
+
<slot name="first-navigation">
|
|
36
|
+
{{ firstNavLabel }}
|
|
37
|
+
</slot>
|
|
38
|
+
</Button>
|
|
39
|
+
<Button
|
|
40
|
+
v-if="variant === 'short' || variant === 'far'"
|
|
41
|
+
data-testid="pagination-nav-prev"
|
|
42
|
+
variant="solid"
|
|
43
|
+
size="sm"
|
|
44
|
+
:disabled="!canPrev"
|
|
45
|
+
class="pagination__items__nav-prev"
|
|
46
|
+
icon
|
|
47
|
+
@click="prev">
|
|
48
|
+
<slot name="prev-navigation">
|
|
49
|
+
<template v-if="navigationText">
|
|
50
|
+
{{ prevNavLabel }}
|
|
51
|
+
</template>
|
|
52
|
+
<IconPrev v-else />
|
|
53
|
+
</slot>
|
|
54
|
+
</Button>
|
|
55
|
+
<template v-if="!navigationOnly">
|
|
56
|
+
<Button
|
|
57
|
+
v-for="(page, index) in pageItems"
|
|
58
|
+
:key="index"
|
|
59
|
+
data-testid="pagination-item"
|
|
60
|
+
variant="solid"
|
|
61
|
+
size="sm"
|
|
62
|
+
icon
|
|
63
|
+
:readonly="typeof page === 'string'"
|
|
64
|
+
:active="page === model"
|
|
65
|
+
@click="selectPage(page)">
|
|
66
|
+
{{ page }}
|
|
67
|
+
</Button>
|
|
68
|
+
</template>
|
|
69
|
+
<Button
|
|
70
|
+
v-if="variant === 'short' || variant === 'far'"
|
|
71
|
+
data-testid="pagination-nav-next"
|
|
72
|
+
variant="solid"
|
|
73
|
+
size="sm"
|
|
74
|
+
:disabled="!canNext"
|
|
75
|
+
class="pagination__items__nav-next"
|
|
76
|
+
icon
|
|
77
|
+
@click="next">
|
|
78
|
+
<slot name="next-navigation">
|
|
79
|
+
<template v-if="navigationText">
|
|
80
|
+
{{ nextNavLabel }}
|
|
81
|
+
</template>
|
|
82
|
+
<IconNext v-else />
|
|
83
|
+
</slot>
|
|
84
|
+
</Button>
|
|
85
|
+
<Button
|
|
86
|
+
v-if="variant === 'far'"
|
|
87
|
+
data-testid="pagination-nav-last"
|
|
88
|
+
variant="solid"
|
|
89
|
+
size="sm"
|
|
90
|
+
:disabled="!canNext"
|
|
91
|
+
class="pagination__items__nav-last"
|
|
92
|
+
icon
|
|
93
|
+
@click="selectPage(totalPageCount)">
|
|
94
|
+
<slot name="last-navigation">
|
|
95
|
+
{{ lastNavLabel }}
|
|
96
|
+
</slot>
|
|
97
|
+
</Button>
|
|
98
|
+
</nav>
|
|
99
|
+
<div
|
|
100
|
+
v-if="showCounter || showDetail"
|
|
101
|
+
class="pagination__count"
|
|
102
|
+
data-testid="pagination-count">
|
|
103
|
+
<slot
|
|
104
|
+
name="pagination-count"
|
|
105
|
+
:page="modelValue"
|
|
106
|
+
:per-page="perPage"
|
|
107
|
+
:range="rowRange"
|
|
108
|
+
:total-page="totalPageCount"
|
|
109
|
+
:total="total">
|
|
110
|
+
{{ rowRange[0] }} - {{ rowRange[1] }} of {{ total }}
|
|
111
|
+
</slot>
|
|
112
|
+
</div>
|
|
113
|
+
<div
|
|
114
|
+
v-if="showPerPage || showDetail"
|
|
115
|
+
class="pagination__options"
|
|
116
|
+
data-testid="pagination-option">
|
|
117
|
+
{{ showRowsLabel }}
|
|
118
|
+
<Select
|
|
119
|
+
v-model="rowPerPage"
|
|
120
|
+
:searchable="false"
|
|
121
|
+
:size="selectSize"
|
|
122
|
+
:options="rowPerPageOptions" />
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</template>
|
|
126
|
+
|
|
127
|
+
<script setup>
|
|
128
|
+
import { computed, watch } from "vue";
|
|
129
|
+
import Button from "../button/Button.vue";
|
|
130
|
+
import Select from "../select/Select.vue";
|
|
131
|
+
import IconPrev from "@privyid/persona-icon/vue/chevron-left/20.vue";
|
|
132
|
+
import IconNext from "@privyid/persona-icon/vue/chevron-right/20.vue";
|
|
133
|
+
import { useVModel } from "../input";
|
|
134
|
+
import { usePagination } from ".";
|
|
135
|
+
import { getPageRange } from "./utils/calculate-page";
|
|
136
|
+
const props = defineProps({
|
|
137
|
+
modelValue: {
|
|
138
|
+
type: Number,
|
|
139
|
+
default: 1
|
|
140
|
+
},
|
|
141
|
+
quickJump: {
|
|
142
|
+
type: Boolean,
|
|
143
|
+
default: false
|
|
144
|
+
},
|
|
145
|
+
showCounter: {
|
|
146
|
+
type: Boolean,
|
|
147
|
+
default: false
|
|
148
|
+
},
|
|
149
|
+
showPerPage: {
|
|
150
|
+
type: Boolean,
|
|
151
|
+
default: false
|
|
152
|
+
},
|
|
153
|
+
showDetail: {
|
|
154
|
+
type: Boolean,
|
|
155
|
+
default: false
|
|
156
|
+
},
|
|
157
|
+
navigationText: {
|
|
158
|
+
type: Boolean,
|
|
159
|
+
default: false
|
|
160
|
+
},
|
|
161
|
+
navigationOnly: {
|
|
162
|
+
type: Boolean,
|
|
163
|
+
default: false
|
|
164
|
+
},
|
|
165
|
+
variant: {
|
|
166
|
+
type: String,
|
|
167
|
+
default: "short"
|
|
168
|
+
},
|
|
169
|
+
perPage: {
|
|
170
|
+
type: Number,
|
|
171
|
+
default: 10
|
|
172
|
+
},
|
|
173
|
+
perPageOptions: {
|
|
174
|
+
type: Array,
|
|
175
|
+
default: () => [
|
|
176
|
+
10,
|
|
177
|
+
20,
|
|
178
|
+
30
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
total: {
|
|
182
|
+
type: Number,
|
|
183
|
+
default: 0
|
|
184
|
+
},
|
|
185
|
+
displayLimit: {
|
|
186
|
+
type: Number,
|
|
187
|
+
default: 10
|
|
188
|
+
},
|
|
189
|
+
pageLabel: {
|
|
190
|
+
type: String,
|
|
191
|
+
default: "Page"
|
|
192
|
+
},
|
|
193
|
+
prevNavLabel: {
|
|
194
|
+
type: String,
|
|
195
|
+
default: "Previous"
|
|
196
|
+
},
|
|
197
|
+
nextNavLabel: {
|
|
198
|
+
type: String,
|
|
199
|
+
default: "Next"
|
|
200
|
+
},
|
|
201
|
+
firstNavLabel: {
|
|
202
|
+
type: String,
|
|
203
|
+
default: "First"
|
|
204
|
+
},
|
|
205
|
+
lastNavLabel: {
|
|
206
|
+
type: String,
|
|
207
|
+
default: "Last"
|
|
208
|
+
},
|
|
209
|
+
showRowsLabel: {
|
|
210
|
+
type: String,
|
|
211
|
+
default: "Show rows"
|
|
212
|
+
},
|
|
213
|
+
selectSize: {
|
|
214
|
+
type: String,
|
|
215
|
+
default: "md"
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
const emit = defineEmits(["update:modelValue", "update:perPage", "change"]);
|
|
219
|
+
const classNames = computed(() => {
|
|
220
|
+
const results = ["pagination"];
|
|
221
|
+
if (props.navigationOnly)
|
|
222
|
+
results.push("pagination--navonly");
|
|
223
|
+
return results;
|
|
224
|
+
});
|
|
225
|
+
const model = useVModel(props);
|
|
226
|
+
const {
|
|
227
|
+
pageItems,
|
|
228
|
+
rowRange,
|
|
229
|
+
totalPageCount,
|
|
230
|
+
canNext,
|
|
231
|
+
canPrev
|
|
232
|
+
} = usePagination(props);
|
|
233
|
+
const pageOptions = computed(() => {
|
|
234
|
+
return getPageRange(1, totalPageCount.value).map((page) => {
|
|
235
|
+
return {
|
|
236
|
+
text: String(page),
|
|
237
|
+
value: page
|
|
238
|
+
};
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
const rowPerPageOptions = computed(() => {
|
|
242
|
+
return props.perPageOptions.map((option) => {
|
|
243
|
+
return {
|
|
244
|
+
text: String(option),
|
|
245
|
+
value: option
|
|
246
|
+
};
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
const rowPerPage = computed({
|
|
250
|
+
get() {
|
|
251
|
+
return props.perPage;
|
|
252
|
+
},
|
|
253
|
+
set(value) {
|
|
254
|
+
emit("update:perPage", value);
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
watch(totalPageCount, (value) => {
|
|
258
|
+
if (model.value > value)
|
|
259
|
+
model.value = value || 1;
|
|
260
|
+
});
|
|
261
|
+
function next() {
|
|
262
|
+
model.value = Math.min(model.value + 1, totalPageCount.value);
|
|
263
|
+
emit("change", model.value);
|
|
264
|
+
}
|
|
265
|
+
function prev() {
|
|
266
|
+
model.value = Math.max(model.value - 1, 1);
|
|
267
|
+
emit("change", model.value);
|
|
268
|
+
}
|
|
269
|
+
function selectPage(page) {
|
|
270
|
+
if (typeof page === "string") return;
|
|
271
|
+
if (model.value !== page) {
|
|
272
|
+
model.value = page;
|
|
273
|
+
emit("change", page);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
defineExpose({
|
|
277
|
+
next,
|
|
278
|
+
prev
|
|
279
|
+
});
|
|
280
|
+
defineSlots();
|
|
281
|
+
</script>
|
|
282
|
+
|
|
283
|
+
<style lang="postcss">
|
|
284
|
+
/**
|
|
285
|
+
* Component Name: Pagination
|
|
286
|
+
* Component URI : https://www.figma.com/file/JIYmbyRYZHc9bnVp6Npm9K/B-A-S-E-%2F-Components?node-id=338%3A15323&t=u3Y7jHGZtoyAFn21-4
|
|
287
|
+
* Date Created : December 22, 2022
|
|
288
|
+
* Last Update : December 22, 2022
|
|
289
|
+
*/
|
|
290
|
+
.pagination {
|
|
291
|
+
@apply relative flex flex-wrap justify-start items-center w-full;
|
|
292
|
+
|
|
293
|
+
&&--navonly {
|
|
294
|
+
.pagination {
|
|
295
|
+
&__items {
|
|
296
|
+
@apply order-4 ml-4 only:ml-auto;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&__count {
|
|
300
|
+
@apply ml-0 mr-auto;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&__quickjump,
|
|
306
|
+
&__items,
|
|
307
|
+
&__options {
|
|
308
|
+
@apply flex flex-wrap items-center text-default;
|
|
309
|
+
@apply dark:text-dark-default;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
&__quickjump {
|
|
313
|
+
.dropdown {
|
|
314
|
+
@apply mx-3;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
&__items {
|
|
319
|
+
@apply space-x-2;
|
|
320
|
+
|
|
321
|
+
.btn--icon.btn--sm {
|
|
322
|
+
@apply px-2 py-1 min-w-[34px];
|
|
323
|
+
|
|
324
|
+
&:is(.pagination__items__nav-first, .pagination__items__nav-prev, .pagination__items__nav-next, .pagination__items__nav-last) > svg {
|
|
325
|
+
@apply my-[0.15rem];
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&__count {
|
|
331
|
+
@apply ml-5 text-default;
|
|
332
|
+
@apply dark:text-dark-default;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
&__options {
|
|
336
|
+
@apply justify-between items-center ml-auto;
|
|
337
|
+
|
|
338
|
+
.dropdown {
|
|
339
|
+
@apply ml-3;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.dropdown {
|
|
344
|
+
@apply max-w-[80px];
|
|
345
|
+
|
|
346
|
+
&__menu {
|
|
347
|
+
@apply min-w-fit;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.btn {
|
|
352
|
+
@apply transition-none;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.btn--variant-solid {
|
|
356
|
+
@apply justify-center items-center hover:shadow-none;
|
|
357
|
+
|
|
358
|
+
&.btn--default {
|
|
359
|
+
@apply bg-transparent hover:bg-ground focus:bg-ground border-transparent focus:border-default hover:border-default text-default font-normal focus:outline-none;
|
|
360
|
+
@apply dark:bg-transparent hover:dark:bg-dark-ground focus:dark:bg-dark-ground dark:border-transparent focus:dark:border-dark-default hover:dark:border-dark-default dark:text-dark-default;
|
|
361
|
+
|
|
362
|
+
&[active="true"] {
|
|
363
|
+
@apply bg-info-emphasis border-info-emphasis text-state-emphasis cursor-default;
|
|
364
|
+
@apply dark:bg-dark-info-emphasis dark:border-dark-info-emphasis dark:text-dark-state-emphasis;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
&[readonly] {
|
|
368
|
+
@apply pointer-events-none;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
</style>
|