watercolor-ui 1.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/README.md +538 -0
- package/dist/img/watercolorui.png +0 -0
- package/dist/index.d.ts +2 -0
- package/dist/src/ThemeReact.d.ts +14 -0
- package/dist/src/ThemeReact.d.ts.map +1 -0
- package/dist/src/ThemeVUE.d.ts +16 -0
- package/dist/src/ThemeVUE.d.ts.map +1 -0
- package/dist/src/components/Accordion/Accordion.d.ts +14 -0
- package/dist/src/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/src/components/Accordion/Accordion.vue.d.ts +29 -0
- package/dist/src/components/Accordion/Accordion.vue.d.ts.map +1 -0
- package/dist/src/components/Accordion/utils.d.ts +21 -0
- package/dist/src/components/Accordion/utils.d.ts.map +1 -0
- package/dist/src/components/Alert/Alert.d.ts +12 -0
- package/dist/src/components/Alert/Alert.d.ts.map +1 -0
- package/dist/src/components/Alert/Alert.vue.d.ts +31 -0
- package/dist/src/components/Alert/Alert.vue.d.ts.map +1 -0
- package/dist/src/components/Alert/utils.d.ts +67 -0
- package/dist/src/components/Alert/utils.d.ts.map +1 -0
- package/dist/src/components/AppBar/AppBar.d.ts +12 -0
- package/dist/src/components/AppBar/AppBar.d.ts.map +1 -0
- package/dist/src/components/AppBar/AppBar.vue.d.ts +30 -0
- package/dist/src/components/AppBar/AppBar.vue.d.ts.map +1 -0
- package/dist/src/components/AppBar/utils.d.ts +28 -0
- package/dist/src/components/AppBar/utils.d.ts.map +1 -0
- package/dist/src/components/Avatar/Avatar.d.ts +15 -0
- package/dist/src/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/src/components/Avatar/Avatar.vue.d.ts +30 -0
- package/dist/src/components/Avatar/Avatar.vue.d.ts.map +1 -0
- package/dist/src/components/Avatar/utils.d.ts +59 -0
- package/dist/src/components/Avatar/utils.d.ts.map +1 -0
- package/dist/src/components/Badge/Badge.d.ts +13 -0
- package/dist/src/components/Badge/Badge.d.ts.map +1 -0
- package/dist/src/components/Badge/Badge.vue.d.ts +24 -0
- package/dist/src/components/Badge/Badge.vue.d.ts.map +1 -0
- package/dist/src/components/Badge/utils.d.ts +33 -0
- package/dist/src/components/Badge/utils.d.ts.map +1 -0
- package/dist/src/components/Banner/Banner.d.ts +6 -0
- package/dist/src/components/Banner/Banner.d.ts.map +1 -0
- package/dist/src/components/Banner/Banner.vue.d.ts +40 -0
- package/dist/src/components/Banner/Banner.vue.d.ts.map +1 -0
- package/dist/src/components/Banner/utils.d.ts +68 -0
- package/dist/src/components/Banner/utils.d.ts.map +1 -0
- package/dist/src/components/Blockquote/Blockquote.d.ts +12 -0
- package/dist/src/components/Blockquote/Blockquote.d.ts.map +1 -0
- package/dist/src/components/Blockquote/Blockquote.vue.d.ts +33 -0
- package/dist/src/components/Blockquote/Blockquote.vue.d.ts.map +1 -0
- package/dist/src/components/Blockquote/utils.d.ts +12 -0
- package/dist/src/components/Blockquote/utils.d.ts.map +1 -0
- package/dist/src/components/Box/Box.d.ts +42 -0
- package/dist/src/components/Box/Box.d.ts.map +1 -0
- package/dist/src/components/Box/Box.vue.d.ts +80 -0
- package/dist/src/components/Box/Box.vue.d.ts.map +1 -0
- package/dist/src/components/Box/utils.d.ts +86 -0
- package/dist/src/components/Box/utils.d.ts.map +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +10 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.vue.d.ts +19 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -0
- package/dist/src/components/Breadcrumb/utils.d.ts +58 -0
- package/dist/src/components/Breadcrumb/utils.d.ts.map +1 -0
- package/dist/src/components/Button/Button.d.ts +30 -0
- package/dist/src/components/Button/Button.d.ts.map +1 -0
- package/dist/src/components/Button/Button.vue.d.ts +49 -0
- package/dist/src/components/Button/Button.vue.d.ts.map +1 -0
- package/dist/src/components/Button/Fab.vue.d.ts +32 -0
- package/dist/src/components/Button/Fab.vue.d.ts.map +1 -0
- package/dist/src/components/Button/IconButton.vue.d.ts +29 -0
- package/dist/src/components/Button/IconButton.vue.d.ts.map +1 -0
- package/dist/src/components/Button/utils.d.ts +93 -0
- package/dist/src/components/Button/utils.d.ts.map +1 -0
- package/dist/src/components/Card/Card.d.ts +22 -0
- package/dist/src/components/Card/Card.d.ts.map +1 -0
- package/dist/src/components/Card/Card.vue.d.ts +34 -0
- package/dist/src/components/Card/Card.vue.d.ts.map +1 -0
- package/dist/src/components/Card/CardActions.vue.d.ts +24 -0
- package/dist/src/components/Card/CardActions.vue.d.ts.map +1 -0
- package/dist/src/components/Card/CardContent.vue.d.ts +22 -0
- package/dist/src/components/Card/CardContent.vue.d.ts.map +1 -0
- package/dist/src/components/Card/utils.d.ts +93 -0
- package/dist/src/components/Card/utils.d.ts.map +1 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +20 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/src/components/Checkbox/Checkbox.vue.d.ts +33 -0
- package/dist/src/components/Checkbox/Checkbox.vue.d.ts.map +1 -0
- package/dist/src/components/Checkbox/utils.d.ts +76 -0
- package/dist/src/components/Checkbox/utils.d.ts.map +1 -0
- package/dist/src/components/Chip/Chip.d.ts +15 -0
- package/dist/src/components/Chip/Chip.d.ts.map +1 -0
- package/dist/src/components/Chip/Chip.vue.d.ts +39 -0
- package/dist/src/components/Chip/Chip.vue.d.ts.map +1 -0
- package/dist/src/components/Chip/utils.d.ts +105 -0
- package/dist/src/components/Chip/utils.d.ts.map +1 -0
- package/dist/src/components/CircularProgress/CircularProgress.d.ts +11 -0
- package/dist/src/components/CircularProgress/CircularProgress.d.ts.map +1 -0
- package/dist/src/components/CircularProgress/CircularProgress.vue.d.ts +18 -0
- package/dist/src/components/CircularProgress/CircularProgress.vue.d.ts.map +1 -0
- package/dist/src/components/CircularProgress/utils.d.ts +66 -0
- package/dist/src/components/CircularProgress/utils.d.ts.map +1 -0
- package/dist/src/components/ColorPicker/ColorPicker.d.ts +9 -0
- package/dist/src/components/ColorPicker/ColorPicker.d.ts.map +1 -0
- package/dist/src/components/ColorPicker/ColorPicker.vue.d.ts +20 -0
- package/dist/src/components/ColorPicker/ColorPicker.vue.d.ts.map +1 -0
- package/dist/src/components/ColorPicker/utils.d.ts +72 -0
- package/dist/src/components/ColorPicker/utils.d.ts.map +1 -0
- package/dist/src/components/Container/Container.d.ts +9 -0
- package/dist/src/components/Container/Container.d.ts.map +1 -0
- package/dist/src/components/Container/Container.vue.d.ts +24 -0
- package/dist/src/components/Container/Container.vue.d.ts.map +1 -0
- package/dist/src/components/Container/utils.d.ts +34 -0
- package/dist/src/components/Container/utils.d.ts.map +1 -0
- package/dist/src/components/Copy/Copy.d.ts +19 -0
- package/dist/src/components/Copy/Copy.d.ts.map +1 -0
- package/dist/src/components/Copy/Copy.vue.d.ts +40 -0
- package/dist/src/components/Copy/Copy.vue.d.ts.map +1 -0
- package/dist/src/components/Copy/utils.d.ts +77 -0
- package/dist/src/components/Copy/utils.d.ts.map +1 -0
- package/dist/src/components/Countdown/Countdown.d.ts +4 -0
- package/dist/src/components/Countdown/Countdown.d.ts.map +1 -0
- package/dist/src/components/Countdown/Countdown.vue.d.ts +30 -0
- package/dist/src/components/Countdown/Countdown.vue.d.ts.map +1 -0
- package/dist/src/components/Countdown/utils.d.ts +82 -0
- package/dist/src/components/Countdown/utils.d.ts.map +1 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +20 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/src/components/DatePicker/DatePicker.vue.d.ts +28 -0
- package/dist/src/components/DatePicker/DatePicker.vue.d.ts.map +1 -0
- package/dist/src/components/DatePicker/utils.d.ts +75 -0
- package/dist/src/components/DatePicker/utils.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Dropdown.d.ts +26 -0
- package/dist/src/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Dropdown.vue.d.ts +51 -0
- package/dist/src/components/Dropdown/Dropdown.vue.d.ts.map +1 -0
- package/dist/src/components/Dropdown/utils.d.ts +78 -0
- package/dist/src/components/Dropdown/utils.d.ts.map +1 -0
- package/dist/src/components/Feature/Feature.d.ts +25 -0
- package/dist/src/components/Feature/Feature.d.ts.map +1 -0
- package/dist/src/components/Feature/Feature.vue.d.ts +120 -0
- package/dist/src/components/Feature/Feature.vue.d.ts.map +1 -0
- package/dist/src/components/Feature/utils.d.ts +85 -0
- package/dist/src/components/Feature/utils.d.ts.map +1 -0
- package/dist/src/components/Feed/Feed.d.ts +15 -0
- package/dist/src/components/Feed/Feed.d.ts.map +1 -0
- package/dist/src/components/Feed/Feed.vue.d.ts +135 -0
- package/dist/src/components/Feed/Feed.vue.d.ts.map +1 -0
- package/dist/src/components/Feed/utils.d.ts +68 -0
- package/dist/src/components/Feed/utils.d.ts.map +1 -0
- package/dist/src/components/FileInput/FileInput.d.ts +15 -0
- package/dist/src/components/FileInput/FileInput.d.ts.map +1 -0
- package/dist/src/components/FileInput/FileInput.vue.d.ts +51 -0
- package/dist/src/components/FileInput/FileInput.vue.d.ts.map +1 -0
- package/dist/src/components/FileInput/utils.d.ts +74 -0
- package/dist/src/components/FileInput/utils.d.ts.map +1 -0
- package/dist/src/components/Form/FormControl.d.ts +20 -0
- package/dist/src/components/Form/FormControl.d.ts.map +1 -0
- package/dist/src/components/Form/FormControl.vue.d.ts +32 -0
- package/dist/src/components/Form/FormControl.vue.d.ts.map +1 -0
- package/dist/src/components/Form/FormControlLabel.d.ts +18 -0
- package/dist/src/components/Form/FormControlLabel.d.ts.map +1 -0
- package/dist/src/components/Form/FormControlLabel.vue.d.ts +31 -0
- package/dist/src/components/Form/FormControlLabel.vue.d.ts.map +1 -0
- package/dist/src/components/Form/FormGroup.d.ts +13 -0
- package/dist/src/components/Form/FormGroup.d.ts.map +1 -0
- package/dist/src/components/Form/FormGroup.vue.d.ts +22 -0
- package/dist/src/components/Form/FormGroup.vue.d.ts.map +1 -0
- package/dist/src/components/Form/FormHelperText.d.ts +20 -0
- package/dist/src/components/Form/FormHelperText.d.ts.map +1 -0
- package/dist/src/components/Form/FormHelperText.vue.d.ts +36 -0
- package/dist/src/components/Form/FormHelperText.vue.d.ts.map +1 -0
- package/dist/src/components/Form/utils.d.ts +97 -0
- package/dist/src/components/Form/utils.d.ts.map +1 -0
- package/dist/src/components/Grid/Grid.d.ts +22 -0
- package/dist/src/components/Grid/Grid.d.ts.map +1 -0
- package/dist/src/components/Grid/Grid.vue.d.ts +40 -0
- package/dist/src/components/Grid/Grid.vue.d.ts.map +1 -0
- package/dist/src/components/Grid/utils.d.ts +49 -0
- package/dist/src/components/Grid/utils.d.ts.map +1 -0
- package/dist/src/components/HoverCard/HoverCard.d.ts +25 -0
- package/dist/src/components/HoverCard/HoverCard.d.ts.map +1 -0
- package/dist/src/components/HoverCard/HoverCard.vue.d.ts +134 -0
- package/dist/src/components/HoverCard/HoverCard.vue.d.ts.map +1 -0
- package/dist/src/components/HoverCard/utils.d.ts +39 -0
- package/dist/src/components/HoverCard/utils.d.ts.map +1 -0
- package/dist/src/components/Icon/Icon.d.ts +28 -0
- package/dist/src/components/Icon/Icon.d.ts.map +1 -0
- package/dist/src/components/Icon/Icon.vue.d.ts +34 -0
- package/dist/src/components/Icon/Icon.vue.d.ts.map +1 -0
- package/dist/src/components/ImageGallery/ImageGallery.d.ts +27 -0
- package/dist/src/components/ImageGallery/ImageGallery.d.ts.map +1 -0
- package/dist/src/components/ImageGallery/ImageGallery.vue.d.ts +154 -0
- package/dist/src/components/ImageGallery/ImageGallery.vue.d.ts.map +1 -0
- package/dist/src/components/ImageGallery/utils.d.ts +46 -0
- package/dist/src/components/ImageGallery/utils.d.ts.map +1 -0
- package/dist/src/components/Input/Input.d.ts +39 -0
- package/dist/src/components/Input/Input.d.ts.map +1 -0
- package/dist/src/components/Input/Input.vue.d.ts +27 -0
- package/dist/src/components/Input/Input.vue.d.ts.map +1 -0
- package/dist/src/components/Input/VerificationCodeInput.d.ts +26 -0
- package/dist/src/components/Input/VerificationCodeInput.d.ts.map +1 -0
- package/dist/src/components/Input/VerificationCodeInput.vue.d.ts +41 -0
- package/dist/src/components/Input/VerificationCodeInput.vue.d.ts.map +1 -0
- package/dist/src/components/Input/utils.d.ts +41 -0
- package/dist/src/components/Input/utils.d.ts.map +1 -0
- package/dist/src/components/List/List.d.ts +25 -0
- package/dist/src/components/List/List.d.ts.map +1 -0
- package/dist/src/components/List/List.vue.d.ts +29 -0
- package/dist/src/components/List/List.vue.d.ts.map +1 -0
- package/dist/src/components/List/ListItem.d.ts +14 -0
- package/dist/src/components/List/ListItem.d.ts.map +1 -0
- package/dist/src/components/List/ListItem.vue.d.ts +35 -0
- package/dist/src/components/List/ListItem.vue.d.ts.map +1 -0
- package/dist/src/components/List/ListItemIcon.d.ts +7 -0
- package/dist/src/components/List/ListItemIcon.d.ts.map +1 -0
- package/dist/src/components/List/ListItemIcon.vue.d.ts +15 -0
- package/dist/src/components/List/ListItemIcon.vue.d.ts.map +1 -0
- package/dist/src/components/List/ListItemText.d.ts +11 -0
- package/dist/src/components/List/ListItemText.d.ts.map +1 -0
- package/dist/src/components/List/ListItemText.vue.d.ts +27 -0
- package/dist/src/components/List/ListItemText.vue.d.ts.map +1 -0
- package/dist/src/components/List/utils.d.ts +29 -0
- package/dist/src/components/List/utils.d.ts.map +1 -0
- package/dist/src/components/Marquee/Marquee.d.ts +33 -0
- package/dist/src/components/Marquee/Marquee.d.ts.map +1 -0
- package/dist/src/components/Marquee/Marquee.vue.d.ts +194 -0
- package/dist/src/components/Marquee/Marquee.vue.d.ts.map +1 -0
- package/dist/src/components/Marquee/utils.d.ts +55 -0
- package/dist/src/components/Marquee/utils.d.ts.map +1 -0
- package/dist/src/components/Menu/Menu.d.ts +20 -0
- package/dist/src/components/Menu/Menu.d.ts.map +1 -0
- package/dist/src/components/Menu/utils.d.ts +23 -0
- package/dist/src/components/Menu/utils.d.ts.map +1 -0
- package/dist/src/components/Modal/Modal.d.ts +33 -0
- package/dist/src/components/Modal/Modal.d.ts.map +1 -0
- package/dist/src/components/Modal/Modal.vue.d.ts +65 -0
- package/dist/src/components/Modal/Modal.vue.d.ts.map +1 -0
- package/dist/src/components/Modal/utils.d.ts +83 -0
- package/dist/src/components/Modal/utils.d.ts.map +1 -0
- package/dist/src/components/NumberAnimation/NumberAnimation.d.ts +23 -0
- package/dist/src/components/NumberAnimation/NumberAnimation.d.ts.map +1 -0
- package/dist/src/components/NumberAnimation/NumberAnimation.vue.d.ts +39 -0
- package/dist/src/components/NumberAnimation/NumberAnimation.vue.d.ts.map +1 -0
- package/dist/src/components/NumberAnimation/utils.d.ts +154 -0
- package/dist/src/components/NumberAnimation/utils.d.ts.map +1 -0
- package/dist/src/components/Pagination/Pagination.d.ts +23 -0
- package/dist/src/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/src/components/Pagination/Pagination.vue.d.ts +121 -0
- package/dist/src/components/Pagination/Pagination.vue.d.ts.map +1 -0
- package/dist/src/components/Pagination/utils.d.ts +216 -0
- package/dist/src/components/Pagination/utils.d.ts.map +1 -0
- package/dist/src/components/Paper/Paper.d.ts +27 -0
- package/dist/src/components/Paper/Paper.d.ts.map +1 -0
- package/dist/src/components/Paper/Paper.vue.d.ts +28 -0
- package/dist/src/components/Paper/Paper.vue.d.ts.map +1 -0
- package/dist/src/components/Paper/utils.d.ts +137 -0
- package/dist/src/components/Paper/utils.d.ts.map +1 -0
- package/dist/src/components/Paradox/Paradox.d.ts +12 -0
- package/dist/src/components/Paradox/Paradox.d.ts.map +1 -0
- package/dist/src/components/Paradox/Paradox.vue.d.ts +109 -0
- package/dist/src/components/Paradox/Paradox.vue.d.ts.map +1 -0
- package/dist/src/components/Paradox/utils.d.ts +128 -0
- package/dist/src/components/Paradox/utils.d.ts.map +1 -0
- package/dist/src/components/Popover/Popover.d.ts +20 -0
- package/dist/src/components/Popover/Popover.d.ts.map +1 -0
- package/dist/src/components/Popover/Popover.vue.d.ts +60 -0
- package/dist/src/components/Popover/Popover.vue.d.ts.map +1 -0
- package/dist/src/components/Popover/utils.d.ts +167 -0
- package/dist/src/components/Popover/utils.d.ts.map +1 -0
- package/dist/src/components/PricingTable/PricingTable.d.ts +12 -0
- package/dist/src/components/PricingTable/PricingTable.d.ts.map +1 -0
- package/dist/src/components/PricingTable/PricingTable.vue.d.ts +28 -0
- package/dist/src/components/PricingTable/PricingTable.vue.d.ts.map +1 -0
- package/dist/src/components/PricingTable/utils.d.ts +182 -0
- package/dist/src/components/PricingTable/utils.d.ts.map +1 -0
- package/dist/src/components/Progress/Progress.d.ts +15 -0
- package/dist/src/components/Progress/Progress.d.ts.map +1 -0
- package/dist/src/components/Progress/Progress.vue.d.ts +18 -0
- package/dist/src/components/Progress/Progress.vue.d.ts.map +1 -0
- package/dist/src/components/Progress/utils.d.ts +185 -0
- package/dist/src/components/Progress/utils.d.ts.map +1 -0
- package/dist/src/components/Radio/Radio.d.ts +22 -0
- package/dist/src/components/Radio/Radio.d.ts.map +1 -0
- package/dist/src/components/Radio/Radio.vue.d.ts +33 -0
- package/dist/src/components/Radio/Radio.vue.d.ts.map +1 -0
- package/dist/src/components/Radio/RadioGroup.vue.d.ts +39 -0
- package/dist/src/components/Radio/RadioGroup.vue.d.ts.map +1 -0
- package/dist/src/components/Radio/utils.d.ts +202 -0
- package/dist/src/components/Radio/utils.d.ts.map +1 -0
- package/dist/src/components/Rating/Rating.d.ts +15 -0
- package/dist/src/components/Rating/Rating.d.ts.map +1 -0
- package/dist/src/components/Rating/Rating.vue.d.ts +41 -0
- package/dist/src/components/Rating/Rating.vue.d.ts.map +1 -0
- package/dist/src/components/Rating/utils.d.ts +195 -0
- package/dist/src/components/Rating/utils.d.ts.map +1 -0
- package/dist/src/components/Select/Select.d.ts +35 -0
- package/dist/src/components/Select/Select.d.ts.map +1 -0
- package/dist/src/components/Select/Select.vue.d.ts +35 -0
- package/dist/src/components/Select/Select.vue.d.ts.map +1 -0
- package/dist/src/components/Select/utils.d.ts +149 -0
- package/dist/src/components/Select/utils.d.ts.map +1 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +12 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/src/components/Skeleton/Skeleton.vue.d.ts +91 -0
- package/dist/src/components/Skeleton/Skeleton.vue.d.ts.map +1 -0
- package/dist/src/components/SlideOver/SlideOver.d.ts +16 -0
- package/dist/src/components/SlideOver/SlideOver.d.ts.map +1 -0
- package/dist/src/components/SlideOver/SlideOver.vue.d.ts +45 -0
- package/dist/src/components/SlideOver/SlideOver.vue.d.ts.map +1 -0
- package/dist/src/components/Slider/Slider.d.ts +20 -0
- package/dist/src/components/Slider/Slider.d.ts.map +1 -0
- package/dist/src/components/Slider/Slider.vue.d.ts +23 -0
- package/dist/src/components/Slider/Slider.vue.d.ts.map +1 -0
- package/dist/src/components/Slider/utils.d.ts +197 -0
- package/dist/src/components/Slider/utils.d.ts.map +1 -0
- package/dist/src/components/Snackbar/Snackbar.d.ts +21 -0
- package/dist/src/components/Snackbar/Snackbar.d.ts.map +1 -0
- package/dist/src/components/Snackbar/Snackbar.vue.d.ts +44 -0
- package/dist/src/components/Snackbar/Snackbar.vue.d.ts.map +1 -0
- package/dist/src/components/Snackbar/utils.d.ts +296 -0
- package/dist/src/components/Snackbar/utils.d.ts.map +1 -0
- package/dist/src/components/Spinner/Spinner.d.ts +14 -0
- package/dist/src/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/src/components/Spinner/Spinner.vue.d.ts +38 -0
- package/dist/src/components/Spinner/Spinner.vue.d.ts.map +1 -0
- package/dist/src/components/Spinner/utils.d.ts +141 -0
- package/dist/src/components/Spinner/utils.d.ts.map +1 -0
- package/dist/src/components/Status/Status.d.ts +14 -0
- package/dist/src/components/Status/Status.d.ts.map +1 -0
- package/dist/src/components/Status/Status.vue.d.ts +16 -0
- package/dist/src/components/Status/Status.vue.d.ts.map +1 -0
- package/dist/src/components/Status/utils.d.ts +121 -0
- package/dist/src/components/Status/utils.d.ts.map +1 -0
- package/dist/src/components/Switch/Switch.d.ts +17 -0
- package/dist/src/components/Switch/Switch.d.ts.map +1 -0
- package/dist/src/components/Switch/Switch.vue.d.ts +21 -0
- package/dist/src/components/Switch/Switch.vue.d.ts.map +1 -0
- package/dist/src/components/Switch/utils.d.ts +219 -0
- package/dist/src/components/Switch/utils.d.ts.map +1 -0
- package/dist/src/components/Table/Table.d.ts +119 -0
- package/dist/src/components/Table/Table.d.ts.map +1 -0
- package/dist/src/components/Table/Table.vue.d.ts +28 -0
- package/dist/src/components/Table/Table.vue.d.ts.map +1 -0
- package/dist/src/components/Table/TableBody.vue.d.ts +15 -0
- package/dist/src/components/Table/TableBody.vue.d.ts.map +1 -0
- package/dist/src/components/Table/TableCell.vue.d.ts +32 -0
- package/dist/src/components/Table/TableCell.vue.d.ts.map +1 -0
- package/dist/src/components/Table/TableHead.vue.d.ts +15 -0
- package/dist/src/components/Table/TableHead.vue.d.ts.map +1 -0
- package/dist/src/components/Table/TableRow.vue.d.ts +25 -0
- package/dist/src/components/Table/TableRow.vue.d.ts.map +1 -0
- package/dist/src/components/Table/utils.d.ts +216 -0
- package/dist/src/components/Table/utils.d.ts.map +1 -0
- package/dist/src/components/Tabs/Tabs.d.ts +14 -0
- package/dist/src/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/src/components/Tabs/Tabs.vue.d.ts +28 -0
- package/dist/src/components/Tabs/Tabs.vue.d.ts.map +1 -0
- package/dist/src/components/Tabs/utils.d.ts +257 -0
- package/dist/src/components/Tabs/utils.d.ts.map +1 -0
- package/dist/src/components/TextField/TextField.d.ts +42 -0
- package/dist/src/components/TextField/TextField.d.ts.map +1 -0
- package/dist/src/components/TextField/TextField.vue.d.ts +54 -0
- package/dist/src/components/TextField/TextField.vue.d.ts.map +1 -0
- package/dist/src/components/TextField/utils.d.ts +82 -0
- package/dist/src/components/TextField/utils.d.ts.map +1 -0
- package/dist/src/components/Toolbar/Toolbar.d.ts +10 -0
- package/dist/src/components/Toolbar/Toolbar.d.ts.map +1 -0
- package/dist/src/components/Toolbar/Toolbar.vue.d.ts +26 -0
- package/dist/src/components/Toolbar/Toolbar.vue.d.ts.map +1 -0
- package/dist/src/components/Toolbar/utils.d.ts +2 -0
- package/dist/src/components/Toolbar/utils.d.ts.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +7 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.vue.d.ts +26 -0
- package/dist/src/components/Tooltip/Tooltip.vue.d.ts.map +1 -0
- package/dist/src/components/Tooltip/utils.d.ts +10 -0
- package/dist/src/components/Tooltip/utils.d.ts.map +1 -0
- package/dist/src/components/TypingText/TypingText.d.ts +16 -0
- package/dist/src/components/TypingText/TypingText.d.ts.map +1 -0
- package/dist/src/components/TypingText/TypingText.vue.d.ts +62 -0
- package/dist/src/components/TypingText/TypingText.vue.d.ts.map +1 -0
- package/dist/src/components/TypingText/utils.d.ts +18 -0
- package/dist/src/components/TypingText/utils.d.ts.map +1 -0
- package/dist/src/components/Typography/Typography.d.ts +17 -0
- package/dist/src/components/Typography/Typography.d.ts.map +1 -0
- package/dist/src/components/Typography/Typography.vue.d.ts +30 -0
- package/dist/src/components/Typography/Typography.vue.d.ts.map +1 -0
- package/dist/src/components/Typography/utils.d.ts +91 -0
- package/dist/src/components/Typography/utils.d.ts.map +1 -0
- package/dist/src/components/VideoPlayer/VideoPlayer.d.ts +13 -0
- package/dist/src/components/VideoPlayer/VideoPlayer.d.ts.map +1 -0
- package/dist/src/components/VideoPlayer/VideoPlayer.vue.d.ts +46 -0
- package/dist/src/components/VideoPlayer/VideoPlayer.vue.d.ts.map +1 -0
- package/dist/src/components/VideoPlayer/utils.d.ts +4 -0
- package/dist/src/components/VideoPlayer/utils.d.ts.map +1 -0
- package/dist/src/components/Watermark/Watermark.d.ts +6 -0
- package/dist/src/components/Watermark/Watermark.d.ts.map +1 -0
- package/dist/src/components/Watermark/Watermark.vue.d.ts +227 -0
- package/dist/src/components/Watermark/Watermark.vue.d.ts.map +1 -0
- package/dist/src/components/Watermark/utils.d.ts +45 -0
- package/dist/src/components/Watermark/utils.d.ts.map +1 -0
- package/dist/src/entry-react.d.ts +64 -0
- package/dist/src/entry-react.d.ts.map +1 -0
- package/dist/src/entry-vue.d.ts +78 -0
- package/dist/src/entry-vue.d.ts.map +1 -0
- package/dist/src/index.d.ts +210 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/mui-compat.d.ts +160 -0
- package/dist/src/mui-compat.d.ts.map +1 -0
- package/dist/src/utils/accessibility.d.ts +85 -0
- package/dist/src/utils/accessibility.d.ts.map +1 -0
- package/dist/src/utils/icons.d.ts +265 -0
- package/dist/src/utils/icons.d.ts.map +1 -0
- package/dist/src/utils/performance.d.ts +47 -0
- package/dist/src/utils/performance.d.ts.map +1 -0
- package/dist/src/utils/theme.d.ts +167 -0
- package/dist/src/utils/theme.d.ts.map +1 -0
- package/dist/src/utils/themeManager.d.ts +23 -0
- package/dist/src/utils/themeManager.d.ts.map +1 -0
- package/dist/vite.config.d.ts +3 -0
- package/dist/vite.config.d.ts.map +1 -0
- package/dist/watercolor-ui.css +1 -0
- package/dist/watercolor-ui.es.js +11897 -0
- package/dist/watercolor-ui.umd.js +114 -0
- package/package.json +132 -0
- package/public/img/watercolorui.png +0 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 生成 Paper 组件的 CSS 类名
|
|
3
|
+
* @param {Object} options - 配置选项
|
|
4
|
+
* @returns {string} 生成的类名字符串
|
|
5
|
+
*/
|
|
6
|
+
export function getPaperClasses(options?: Object): string;
|
|
7
|
+
/**
|
|
8
|
+
* 验证阴影等级
|
|
9
|
+
* @param {number} elevation - 阴影等级 (0-24)
|
|
10
|
+
* @returns {number} 有效的阴影等级
|
|
11
|
+
*/
|
|
12
|
+
export function validateElevation(elevation: number): number;
|
|
13
|
+
/**
|
|
14
|
+
* 获取阴影等级对应的CSS类名
|
|
15
|
+
* @param {number} elevation - 阴影等级 (0-24)
|
|
16
|
+
* @returns {string} CSS类名
|
|
17
|
+
*/
|
|
18
|
+
export function getElevationClass(elevation: number): string;
|
|
19
|
+
/**
|
|
20
|
+
* 根据内容自动计算合适的阴影等级
|
|
21
|
+
* @param {Object} options - 配置选项
|
|
22
|
+
* @returns {number} 推荐的阴影等级
|
|
23
|
+
*/
|
|
24
|
+
export function getRecommendedElevation(options?: Object): number;
|
|
25
|
+
/**
|
|
26
|
+
* Paper 组件工具函数
|
|
27
|
+
*/
|
|
28
|
+
export const elevationMap: {
|
|
29
|
+
0: string;
|
|
30
|
+
1: string;
|
|
31
|
+
2: string;
|
|
32
|
+
3: string;
|
|
33
|
+
4: string;
|
|
34
|
+
5: string;
|
|
35
|
+
6: string;
|
|
36
|
+
};
|
|
37
|
+
export namespace variants {
|
|
38
|
+
let ELEVATION: string;
|
|
39
|
+
let OUTLINED: string;
|
|
40
|
+
}
|
|
41
|
+
export namespace shapes {
|
|
42
|
+
let SQUARE: string;
|
|
43
|
+
let ROUNDED_SM: string;
|
|
44
|
+
let ROUNDED_LG: string;
|
|
45
|
+
let ROUNDED_XL: string;
|
|
46
|
+
let ROUNDED_2XL: string;
|
|
47
|
+
let ROUNDED_FULL: string;
|
|
48
|
+
}
|
|
49
|
+
export namespace sizes {
|
|
50
|
+
let SM: string;
|
|
51
|
+
let MD: string;
|
|
52
|
+
let LG: string;
|
|
53
|
+
let XL: string;
|
|
54
|
+
}
|
|
55
|
+
export namespace colors {
|
|
56
|
+
let DEFAULT: string;
|
|
57
|
+
let PRIMARY: string;
|
|
58
|
+
let SUCCESS: string;
|
|
59
|
+
let WARNING: string;
|
|
60
|
+
let ERROR: string;
|
|
61
|
+
let INFO: string;
|
|
62
|
+
}
|
|
63
|
+
export namespace themeUtils {
|
|
64
|
+
/**
|
|
65
|
+
* 检测当前主题
|
|
66
|
+
* @returns {string} 当前主题名称
|
|
67
|
+
*/
|
|
68
|
+
function getCurrentTheme(): string;
|
|
69
|
+
/**
|
|
70
|
+
* 设置主题
|
|
71
|
+
* @param {string} theme - 主题名称
|
|
72
|
+
*/
|
|
73
|
+
function setTheme(theme: string): void;
|
|
74
|
+
/**
|
|
75
|
+
* 获取CSS变量值
|
|
76
|
+
* @param {string} varName - CSS变量名
|
|
77
|
+
* @returns {string} CSS变量值
|
|
78
|
+
*/
|
|
79
|
+
function getCSSVariable(varName: string): string;
|
|
80
|
+
}
|
|
81
|
+
export namespace accessibilityUtils {
|
|
82
|
+
/**
|
|
83
|
+
* 添加键盘支持
|
|
84
|
+
* @param {HTMLElement} element - 目标元素
|
|
85
|
+
* @param {Function} clickHandler - 点击处理函数
|
|
86
|
+
*/
|
|
87
|
+
function addKeyboardSupport(element: HTMLElement, clickHandler: Function): (() => void) | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* 设置无障碍标签
|
|
90
|
+
* @param {HTMLElement} element - 目标元素
|
|
91
|
+
* @param {Object} labels - 标签配置
|
|
92
|
+
*/
|
|
93
|
+
function setAriaLabels(element: HTMLElement, labels?: Object): void;
|
|
94
|
+
}
|
|
95
|
+
export namespace animationUtils {
|
|
96
|
+
/**
|
|
97
|
+
* 检查是否应该减少动画
|
|
98
|
+
* @returns {boolean}
|
|
99
|
+
*/
|
|
100
|
+
function shouldReduceMotion(): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* 创建悬停动画
|
|
103
|
+
* @param {HTMLElement} element - 目标元素
|
|
104
|
+
* @param {Object} options - 动画选项
|
|
105
|
+
*/
|
|
106
|
+
function createHoverAnimation(element: HTMLElement, options?: Object): () => void;
|
|
107
|
+
}
|
|
108
|
+
export namespace devUtils {
|
|
109
|
+
/**
|
|
110
|
+
* 记录组件配置
|
|
111
|
+
* @param {Object} config - 组件配置
|
|
112
|
+
*/
|
|
113
|
+
function logConfig(config: Object): void;
|
|
114
|
+
/**
|
|
115
|
+
* 验证组件配置
|
|
116
|
+
* @param {Object} config - 组件配置
|
|
117
|
+
* @returns {Object} 验证结果
|
|
118
|
+
*/
|
|
119
|
+
function validateConfig(config: Object): Object;
|
|
120
|
+
}
|
|
121
|
+
declare namespace _default {
|
|
122
|
+
export { getPaperClasses };
|
|
123
|
+
export { validateElevation };
|
|
124
|
+
export { getElevationClass };
|
|
125
|
+
export { getRecommendedElevation };
|
|
126
|
+
export { themeUtils };
|
|
127
|
+
export { accessibilityUtils };
|
|
128
|
+
export { animationUtils };
|
|
129
|
+
export { devUtils };
|
|
130
|
+
export { variants };
|
|
131
|
+
export { shapes };
|
|
132
|
+
export { sizes };
|
|
133
|
+
export { colors };
|
|
134
|
+
export { elevationMap };
|
|
135
|
+
}
|
|
136
|
+
export default _default;
|
|
137
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Paper/utils.js"],"names":[],"mappings":"AAiDA;;;;GAIG;AACH,0CAHW,MAAM,GACJ,MAAM,CA4ElB;AAED;;;;GAIG;AACH,6CAHW,MAAM,GACJ,MAAM,CAMlB;AAED;;;;GAIG;AACH,6CAHW,MAAM,GACJ,MAAM,CAKlB;AAED;;;;GAIG;AACH,kDAHW,MAAM,GACJ,MAAM,CAqClB;AA/LD;;GAEG;AAGH;;;;;;;;EAQC;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwLC;;;OAGG;IACH,4BAFa,MAAM,CAKlB;IAED;;;OAGG;IACH,yBAFW,MAAM,QAKhB;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,MAAM,CAMlB;;;IAOD;;;;OAIG;IACH,qCAHW,WAAW,oDAoBrB;IAED;;;;OAIG;IACH,gCAHW,WAAW,WACX,MAAM,QAkBhB;;;IAOD;;;OAGG;IACH,+BAFa,OAAO,CAInB;IAED;;;;OAIG;IACH,uCAHW,WAAW,YACX,MAAM,cAqBhB;;;IAOD;;;OAGG;IACH,2BAFW,MAAM,QAMhB;IAED;;;;OAIG;IACH,gCAHW,MAAM,GACJ,MAAM,CAelB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Paradox – 显示悖论文本
|
|
3
|
+
* Props
|
|
4
|
+
* content string 悖论文本
|
|
5
|
+
* tooltip string 悬停提示
|
|
6
|
+
*/
|
|
7
|
+
export default function Paradox({ content, tooltip, className }: {
|
|
8
|
+
content?: string | undefined;
|
|
9
|
+
tooltip?: string | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=Paradox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paradox.d.ts","sourceRoot":"","sources":["../../../../src/components/Paradox/Paradox.jsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH;;;;4CAMC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
/** 显示的悖论文本 */
|
|
12
|
+
content: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
/** 鼠标悬停提示 */
|
|
17
|
+
tooltip: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
/** 是否启用动画 */
|
|
22
|
+
animated: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
/** 变换类型 */
|
|
27
|
+
transform: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
};
|
|
32
|
+
/** 动画速度 */
|
|
33
|
+
speed: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
validator: (value: string) => boolean;
|
|
37
|
+
};
|
|
38
|
+
/** 是否启用悬停效果 */
|
|
39
|
+
hoverEffect: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
/** 是否无限循环 */
|
|
44
|
+
infinite: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
}>, {
|
|
49
|
+
pause: () => void;
|
|
50
|
+
resume: () => void;
|
|
51
|
+
reset: () => void;
|
|
52
|
+
isPaused: import('vue').Ref<boolean, boolean>;
|
|
53
|
+
currentFrame: import('vue').Ref<number, number>;
|
|
54
|
+
infinite: import('vue').ComputedRef<boolean>;
|
|
55
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
+
/** 显示的悖论文本 */
|
|
57
|
+
content: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
/** 鼠标悬停提示 */
|
|
62
|
+
tooltip: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
/** 是否启用动画 */
|
|
67
|
+
animated: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
/** 变换类型 */
|
|
72
|
+
transform: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
validator: (value: string) => boolean;
|
|
76
|
+
};
|
|
77
|
+
/** 动画速度 */
|
|
78
|
+
speed: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
validator: (value: string) => boolean;
|
|
82
|
+
};
|
|
83
|
+
/** 是否启用悬停效果 */
|
|
84
|
+
hoverEffect: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
/** 是否无限循环 */
|
|
89
|
+
infinite: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
}>> & Readonly<{}>, {
|
|
94
|
+
speed: string;
|
|
95
|
+
infinite: boolean;
|
|
96
|
+
content: string;
|
|
97
|
+
tooltip: string;
|
|
98
|
+
animated: boolean;
|
|
99
|
+
transform: string;
|
|
100
|
+
hoverEffect: boolean;
|
|
101
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
102
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
103
|
+
export default _default;
|
|
104
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
105
|
+
new (): {
|
|
106
|
+
$slots: S;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
//# sourceMappingURL=Paradox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paradox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Paradox/Paradox.vue"],"names":[],"mappings":"AAUA;AA+WA,iBAAS,cAAc;WA6BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAiDD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IAOnB,cAAc;;;;;IAKd,aAAa;;;;;IAKb,aAAa;;;;;IAKb,WAAW;;;;2BAIU,MAAM;;IAE3B,WAAW;;;;2BAIU,MAAM;;IAE3B,eAAe;;;;;IAKf,aAAa;;;;;;;;;;;;;IAhCb,cAAc;;;;;IAKd,aAAa;;;;;IAKb,aAAa;;;;;IAKb,WAAW;;;;2BAIU,MAAM;;IAE3B,WAAW;;;;2BAIU,MAAM;;IAE3B,eAAe;;;;;IAKf,aAAa;;;;;;;;;;;;;uFAOb,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 生成 Paradox 组件的 CSS 类名
|
|
3
|
+
* @param {Object} options - 配置选项
|
|
4
|
+
* @returns {string} 生成的类名字符串
|
|
5
|
+
*/
|
|
6
|
+
export function getParadoxClasses(options?: Object): string;
|
|
7
|
+
/**
|
|
8
|
+
* 随机获取悖论文本
|
|
9
|
+
* @param {string} category - 类别
|
|
10
|
+
* @returns {Object} 包含文本和提示的对象
|
|
11
|
+
*/
|
|
12
|
+
export function getRandomParadox(category?: string): Object;
|
|
13
|
+
/**
|
|
14
|
+
* 获取所有可用的悖论类别
|
|
15
|
+
* @returns {Array} 类别数组
|
|
16
|
+
*/
|
|
17
|
+
export function getParadoxCategories(): any[];
|
|
18
|
+
/**
|
|
19
|
+
* 根据类别获取悖论文本列表
|
|
20
|
+
* @param {string} category - 类别
|
|
21
|
+
* @returns {Array} 悖论文本数组
|
|
22
|
+
*/
|
|
23
|
+
export function getParadoxesByCategory(category: string): any[];
|
|
24
|
+
/**
|
|
25
|
+
* 验证悖论文本
|
|
26
|
+
* @param {string} text - 悖论文本
|
|
27
|
+
* @returns {Object} 验证结果
|
|
28
|
+
*/
|
|
29
|
+
export function validateParadoxText(text: string): Object;
|
|
30
|
+
/**
|
|
31
|
+
* 格式化悖论文本
|
|
32
|
+
* @param {string} text - 原始文本
|
|
33
|
+
* @param {Object} options - 格式化选项
|
|
34
|
+
* @returns {string} 格式化后的文本
|
|
35
|
+
*/
|
|
36
|
+
export function formatParadoxText(text: string, options?: Object): string;
|
|
37
|
+
/**
|
|
38
|
+
* 创建自定义悖论
|
|
39
|
+
* @param {string} content - 悖论内容
|
|
40
|
+
* @param {string} tooltip - 提示文本
|
|
41
|
+
* @param {string} author - 作者
|
|
42
|
+
* @returns {Object} 悖论对象
|
|
43
|
+
*/
|
|
44
|
+
export function createCustomParadox(content: string, tooltip?: string, author?: string): Object;
|
|
45
|
+
export namespace paradoxTexts {
|
|
46
|
+
let classic: string[];
|
|
47
|
+
let logical: string[];
|
|
48
|
+
let philosophical: string[];
|
|
49
|
+
let mathematical: string[];
|
|
50
|
+
let modern: string[];
|
|
51
|
+
}
|
|
52
|
+
export namespace tooltipTexts {
|
|
53
|
+
let classic_1: string[];
|
|
54
|
+
export { classic_1 as classic };
|
|
55
|
+
let logical_1: string[];
|
|
56
|
+
export { logical_1 as logical };
|
|
57
|
+
let philosophical_1: string[];
|
|
58
|
+
export { philosophical_1 as philosophical };
|
|
59
|
+
let mathematical_1: string[];
|
|
60
|
+
export { mathematical_1 as mathematical };
|
|
61
|
+
let modern_1: string[];
|
|
62
|
+
export { modern_1 as modern };
|
|
63
|
+
}
|
|
64
|
+
export namespace sizes {
|
|
65
|
+
let SM: string;
|
|
66
|
+
let MD: string;
|
|
67
|
+
let LG: string;
|
|
68
|
+
let XL: string;
|
|
69
|
+
}
|
|
70
|
+
export namespace colors {
|
|
71
|
+
let PRIMARY: string;
|
|
72
|
+
let SUCCESS: string;
|
|
73
|
+
let WARNING: string;
|
|
74
|
+
let ERROR: string;
|
|
75
|
+
let INFO: string;
|
|
76
|
+
}
|
|
77
|
+
export namespace borderPositions {
|
|
78
|
+
let LEFT: string;
|
|
79
|
+
let TOP: string;
|
|
80
|
+
let BOTTOM: string;
|
|
81
|
+
let RIGHT: string;
|
|
82
|
+
let ALL: string;
|
|
83
|
+
}
|
|
84
|
+
export namespace analysisUtils {
|
|
85
|
+
/**
|
|
86
|
+
* 分析悖论类型
|
|
87
|
+
* @param {string} text - 悖论文本
|
|
88
|
+
* @returns {Array} 可能的类型
|
|
89
|
+
*/
|
|
90
|
+
function analyzeParadoxType(text: string): any[];
|
|
91
|
+
/**
|
|
92
|
+
* 计算悖论复杂度
|
|
93
|
+
* @param {string} text - 悖论文本
|
|
94
|
+
* @returns {number} 复杂度分数 (1-10)
|
|
95
|
+
*/
|
|
96
|
+
function calculateComplexity(text: string): number;
|
|
97
|
+
}
|
|
98
|
+
export namespace debugUtils {
|
|
99
|
+
/**
|
|
100
|
+
* 打印悖论信息
|
|
101
|
+
* @param {Object} paradox - 悖论对象
|
|
102
|
+
*/
|
|
103
|
+
function logParadoxInfo(paradox: Object): void;
|
|
104
|
+
/**
|
|
105
|
+
* 验证组件配置
|
|
106
|
+
* @param {Object} config - 配置对象
|
|
107
|
+
* @returns {Array} 警告信息
|
|
108
|
+
*/
|
|
109
|
+
function validateConfig(config: Object): any[];
|
|
110
|
+
}
|
|
111
|
+
declare namespace _default {
|
|
112
|
+
export { getParadoxClasses };
|
|
113
|
+
export { getRandomParadox };
|
|
114
|
+
export { getParadoxCategories };
|
|
115
|
+
export { getParadoxesByCategory };
|
|
116
|
+
export { validateParadoxText };
|
|
117
|
+
export { formatParadoxText };
|
|
118
|
+
export { createCustomParadox };
|
|
119
|
+
export { analysisUtils };
|
|
120
|
+
export { debugUtils };
|
|
121
|
+
export { paradoxTexts };
|
|
122
|
+
export { tooltipTexts };
|
|
123
|
+
export { sizes };
|
|
124
|
+
export { colors };
|
|
125
|
+
export { borderPositions };
|
|
126
|
+
}
|
|
127
|
+
export default _default;
|
|
128
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Paradox/utils.js"],"names":[],"mappings":"AA4GA;;;;GAIG;AACH,4CAHW,MAAM,GACJ,MAAM,CAsDlB;AAED;;;;GAIG;AACH,4CAHW,MAAM,GACJ,MAAM,CAclB;AAED;;;GAGG;AACH,8CAEC;AAED;;;;GAIG;AACH,iDAHW,MAAM,SAahB;AAED;;;;GAIG;AACH,0CAHW,MAAM,GACJ,MAAM,CAgDlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAmClB;AAED;;;;;;GAMG;AACH,6CALW,MAAM,YACN,MAAM,WACN,MAAM,GACJ,MAAM,CAelB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMC;;;;OAIG;IACH,kCAHW,MAAM,SA2BhB;IAED;;;;OAIG;IACH,mCAHW,MAAM,GACJ,MAAM,CAuBlB;;;IAOD;;;OAGG;IACH,iCAFW,MAAM,QAYhB;IAED;;;;OAIG;IACH,gCAHW,MAAM,SAuBhB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Popover – React 组件
|
|
3
|
+
* Props
|
|
4
|
+
* open 受控布尔
|
|
5
|
+
* onOpenChange (open:boolean)=>void
|
|
6
|
+
* trigger React 节点(可选)
|
|
7
|
+
* placement top | bottom | left | right
|
|
8
|
+
* offset number px
|
|
9
|
+
*/
|
|
10
|
+
export default function Popover({ open, onOpenChange, triggerText, trigger, placement, offset, children, className, }: {
|
|
11
|
+
open: any;
|
|
12
|
+
onOpenChange: any;
|
|
13
|
+
triggerText?: string | undefined;
|
|
14
|
+
trigger: any;
|
|
15
|
+
placement?: string | undefined;
|
|
16
|
+
offset?: number | undefined;
|
|
17
|
+
children: any;
|
|
18
|
+
className?: string | undefined;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/Popover.jsx"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH;;;;;;;;;4CA6GC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
triggerText: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
placement: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
validator: (v: unknown) => boolean;
|
|
14
|
+
};
|
|
15
|
+
offset: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>, {
|
|
20
|
+
isOpen: import('vue').Ref<boolean, boolean>;
|
|
21
|
+
open: () => void;
|
|
22
|
+
close: () => void;
|
|
23
|
+
toggle: () => void;
|
|
24
|
+
triggerWrapper: import('vue').Ref<null, null>;
|
|
25
|
+
popoverRef: import('vue').Ref<null, null>;
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "update:modelValue" | "open")[], "close" | "update:modelValue" | "open", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
triggerText: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
placement: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (v: unknown) => boolean;
|
|
39
|
+
};
|
|
40
|
+
offset: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
}>> & Readonly<{
|
|
45
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
modelValue: boolean;
|
|
50
|
+
triggerText: string;
|
|
51
|
+
placement: string;
|
|
52
|
+
offset: number;
|
|
53
|
+
}, {}, {}, {
|
|
54
|
+
outside: {
|
|
55
|
+
beforeMount(el: any, binding: import('vue').DirectiveBinding<any, string, string>): void;
|
|
56
|
+
unmounted(el: any): void;
|
|
57
|
+
};
|
|
58
|
+
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
export default _default;
|
|
60
|
+
//# sourceMappingURL=Popover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/Popover.vue"],"names":[],"mappings":"AAqCA;"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 计算弹出框位置
|
|
3
|
+
* @param {HTMLElement} trigger - 触发器元素
|
|
4
|
+
* @param {HTMLElement} popover - 弹出框元素
|
|
5
|
+
* @param {string} placement - 位置
|
|
6
|
+
* @param {number} offset - 偏移量
|
|
7
|
+
* @returns {Object} 位置坐标
|
|
8
|
+
*/
|
|
9
|
+
export function calculatePopoverPosition(trigger: HTMLElement, popover: HTMLElement, placement?: string, offset?: number): Object;
|
|
10
|
+
/**
|
|
11
|
+
* 检测碰撞并调整位置
|
|
12
|
+
* @param {Object} position - 原始位置
|
|
13
|
+
* @param {HTMLElement} popover - 弹出框元素
|
|
14
|
+
* @param {string} placement - 位置
|
|
15
|
+
* @returns {Object} 调整后的位置和最终placement
|
|
16
|
+
*/
|
|
17
|
+
export function detectCollisionAndAdjust(position: Object, popover: HTMLElement, placement: string): Object;
|
|
18
|
+
/**
|
|
19
|
+
* 生成 Popover 组件的 CSS 类名
|
|
20
|
+
* @param {Object} options - 配置选项
|
|
21
|
+
* @returns {Object} 各部分的类名
|
|
22
|
+
*/
|
|
23
|
+
export function getPopoverClasses(options?: Object): Object;
|
|
24
|
+
export namespace placements {
|
|
25
|
+
let TOP: string;
|
|
26
|
+
let BOTTOM: string;
|
|
27
|
+
let LEFT: string;
|
|
28
|
+
let RIGHT: string;
|
|
29
|
+
let TOP_START: string;
|
|
30
|
+
let TOP_END: string;
|
|
31
|
+
let BOTTOM_START: string;
|
|
32
|
+
let BOTTOM_END: string;
|
|
33
|
+
let LEFT_START: string;
|
|
34
|
+
let LEFT_END: string;
|
|
35
|
+
let RIGHT_START: string;
|
|
36
|
+
let RIGHT_END: string;
|
|
37
|
+
}
|
|
38
|
+
export namespace triggers {
|
|
39
|
+
let CLICK: string;
|
|
40
|
+
let HOVER: string;
|
|
41
|
+
let FOCUS: string;
|
|
42
|
+
let MANUAL: string;
|
|
43
|
+
}
|
|
44
|
+
export namespace sizes {
|
|
45
|
+
let SM: string;
|
|
46
|
+
let MD: string;
|
|
47
|
+
let LG: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Popover 控制器类
|
|
51
|
+
*/
|
|
52
|
+
export class PopoverController {
|
|
53
|
+
constructor(options?: {});
|
|
54
|
+
options: {
|
|
55
|
+
trigger: string;
|
|
56
|
+
placement: string;
|
|
57
|
+
offset: number;
|
|
58
|
+
delay: number;
|
|
59
|
+
hideDelay: number;
|
|
60
|
+
autoClose: boolean;
|
|
61
|
+
closeOnOutsideClick: boolean;
|
|
62
|
+
closeOnEscape: boolean;
|
|
63
|
+
};
|
|
64
|
+
isOpen: boolean;
|
|
65
|
+
triggerElement: HTMLElement | null;
|
|
66
|
+
popoverElement: HTMLElement | null;
|
|
67
|
+
timeouts: Set<any>;
|
|
68
|
+
eventCleanups: any[];
|
|
69
|
+
/**
|
|
70
|
+
* 事件处理器
|
|
71
|
+
*/
|
|
72
|
+
handleTriggerClick(event: any): void;
|
|
73
|
+
handleTriggerMouseEnter(): void;
|
|
74
|
+
handleTriggerMouseLeave(): void;
|
|
75
|
+
handleTriggerFocus(): void;
|
|
76
|
+
handleTriggerBlur(): void;
|
|
77
|
+
handleOutsideClick(event: any): void;
|
|
78
|
+
handleEscapeKey(event: any): void;
|
|
79
|
+
handleResize(): void;
|
|
80
|
+
handleScroll(): void;
|
|
81
|
+
/**
|
|
82
|
+
* 初始化控制器
|
|
83
|
+
* @param {HTMLElement} trigger - 触发器元素
|
|
84
|
+
* @param {HTMLElement} popover - 弹出框元素
|
|
85
|
+
*/
|
|
86
|
+
init(trigger: HTMLElement, popover: HTMLElement): void;
|
|
87
|
+
/**
|
|
88
|
+
* 绑定事件
|
|
89
|
+
*/
|
|
90
|
+
bindEvents(): void;
|
|
91
|
+
/**
|
|
92
|
+
* 添加事件监听器
|
|
93
|
+
* @param {Element} element - 目标元素
|
|
94
|
+
* @param {string} event - 事件名
|
|
95
|
+
* @param {Function} handler - 处理函数
|
|
96
|
+
* @param {boolean} capture - 是否捕获
|
|
97
|
+
*/
|
|
98
|
+
addEventListener(element: Element, event: string, handler: Function, capture?: boolean): void;
|
|
99
|
+
/**
|
|
100
|
+
* 打开弹出框
|
|
101
|
+
*/
|
|
102
|
+
open(): void;
|
|
103
|
+
/**
|
|
104
|
+
* 关闭弹出框
|
|
105
|
+
*/
|
|
106
|
+
close(): void;
|
|
107
|
+
/**
|
|
108
|
+
* 切换弹出框状态
|
|
109
|
+
*/
|
|
110
|
+
toggle(): void;
|
|
111
|
+
/**
|
|
112
|
+
* 更新位置
|
|
113
|
+
*/
|
|
114
|
+
updatePosition(): void;
|
|
115
|
+
/**
|
|
116
|
+
* 更新箭头方向
|
|
117
|
+
* @param {string} placement - 位置
|
|
118
|
+
*/
|
|
119
|
+
updateArrowDirection(placement: string): void;
|
|
120
|
+
/**
|
|
121
|
+
* 清除所有定时器
|
|
122
|
+
*/
|
|
123
|
+
clearTimeouts(): void;
|
|
124
|
+
/**
|
|
125
|
+
* 销毁控制器
|
|
126
|
+
*/
|
|
127
|
+
destroy(): void;
|
|
128
|
+
}
|
|
129
|
+
export namespace utils {
|
|
130
|
+
/**
|
|
131
|
+
* 创建 Popover 控制器实例
|
|
132
|
+
* @param {Object} options - 配置选项
|
|
133
|
+
* @returns {PopoverController} 控制器实例
|
|
134
|
+
*/
|
|
135
|
+
function createController(options?: Object): PopoverController;
|
|
136
|
+
/**
|
|
137
|
+
* 检测是否支持 Popover API
|
|
138
|
+
* @returns {boolean} 是否支持
|
|
139
|
+
*/
|
|
140
|
+
function isPopoverSupported(): boolean;
|
|
141
|
+
/**
|
|
142
|
+
* 获取最佳位置
|
|
143
|
+
* @param {HTMLElement} trigger - 触发器元素
|
|
144
|
+
* @param {HTMLElement} popover - 弹出框元素
|
|
145
|
+
* @param {Array} preferredPlacements - 优先位置列表
|
|
146
|
+
* @returns {string} 最佳位置
|
|
147
|
+
*/
|
|
148
|
+
function getBestPlacement(trigger: HTMLElement, popover: HTMLElement, preferredPlacements?: any[]): string;
|
|
149
|
+
/**
|
|
150
|
+
* 调试信息
|
|
151
|
+
* @param {string} message - 消息
|
|
152
|
+
* @param {*} data - 数据
|
|
153
|
+
*/
|
|
154
|
+
function debug(message: string, data: any): void;
|
|
155
|
+
}
|
|
156
|
+
declare namespace _default {
|
|
157
|
+
export { PopoverController };
|
|
158
|
+
export { calculatePopoverPosition };
|
|
159
|
+
export { detectCollisionAndAdjust };
|
|
160
|
+
export { getPopoverClasses };
|
|
161
|
+
export { utils };
|
|
162
|
+
export { placements };
|
|
163
|
+
export { triggers };
|
|
164
|
+
export { sizes };
|
|
165
|
+
}
|
|
166
|
+
export default _default;
|
|
167
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/utils.js"],"names":[],"mappings":"AAmCA;;;;;;;GAOG;AACH,kDANW,WAAW,WACX,WAAW,cACX,MAAM,WACN,MAAM,GACJ,MAAM,CAkFlB;AAED;;;;;;GAMG;AACH,mDALW,MAAM,WACN,WAAW,aACX,MAAM,GACJ,MAAM,CAsDlB;AAED;;;;GAIG;AACH,4CAHW,MAAM,GACJ,MAAM,CAsClB;;;;;;;;;;;;;;;;;;;;;;;;;;AAED;;GAEG;AACH;IACE,0BA4BC;IA3BC;;;;;;;;;MAUC;IAED,gBAAmB;IACnB,mCAA0B;IAC1B,mCAA0B;IAC1B,mBAAyB;IACzB,qBAAuB;IA4LzB;;OAEG;IACH,qCAGC;IAED,gCAEC;IAED,gCAEC;IAED,2BAEC;IAED,0BAEC;IAED,qCASC;IAED,kCAIC;IAED,qBAIC;IAED,qBAIC;IAlOD;;;;OAIG;IACH,cAHW,WAAW,WACX,WAAW,QAOrB;IAED;;OAEG;IACH,mBA8BC;IAED;;;;;;OAMG;IACH,0BALW,OAAO,SACP,MAAM,+BAEN,OAAO,QAOjB;IAED;;OAEG;IACH,aAiBC;IAED;;OAEG;IACH,cAgBC;IAED;;OAEG;IACH,eAMC;IAED;;OAEG;IACH,uBAuBC;IAED;;;OAGG;IACH,gCAFW,MAAM,QAoBhB;IAED;;OAEG;IACH,sBAGC;IAuDD;;OAEG;IACH,gBAaC;CACF;;IAMC;;;;OAIG;IACH,oCAHW,MAAM,GACJ,iBAAiB,CAI7B;IAED;;;OAGG;IACH,+BAFa,OAAO,CAInB;IAED;;;;;;OAMG;IACH,mCALW,WAAW,WACX,WAAW,gCAET,MAAM,CAelB;IAED;;;;OAIG;IACH,wBAHW,MAAM,QACN,GAAC,QAMX"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PricingTable – React 组件
|
|
3
|
+
* Props
|
|
4
|
+
* plans Array<{name,price,features,button,popular}>
|
|
5
|
+
* columns number
|
|
6
|
+
*/
|
|
7
|
+
export default function PricingTable({ plans, columns, className }: {
|
|
8
|
+
plans?: never[] | undefined;
|
|
9
|
+
columns?: number | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=PricingTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PricingTable.d.ts","sourceRoot":"","sources":["../../../../src/components/PricingTable/PricingTable.jsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH;;;;4CAqBC"}
|