@poppy-ui/vue 0.0.0-dev.36.93ba5b2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +103 -0
- package/dist/ClassWrapper-BNZO3mhP.cjs +2 -0
- package/dist/ClassWrapper-BNZO3mhP.cjs.map +1 -0
- package/dist/ClassWrapper-DdnnHfAj.js +24 -0
- package/dist/ClassWrapper-DdnnHfAj.js.map +1 -0
- package/dist/Toast-DuytECg8.cjs +2 -0
- package/dist/Toast-DuytECg8.cjs.map +1 -0
- package/dist/Toast-fSQWLl0R.js +63 -0
- package/dist/Toast-fSQWLl0R.js.map +1 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/_plugin-vue_export-helper-BTmtiIyf.cjs +1 -0
- package/dist/build-class.util-Cp-ZBFgO.js +1730 -0
- package/dist/build-class.util-Cp-ZBFgO.js.map +1 -0
- package/dist/build-class.util-Lo1-M_t1.cjs +2 -0
- package/dist/build-class.util-Lo1-M_t1.cjs.map +1 -0
- package/dist/components/ClassWrapper.d.ts +27 -0
- package/dist/components/ClassWrapper.d.ts.map +1 -0
- package/dist/components/actions/button/Button.d.ts +21 -0
- package/dist/components/actions/button/Button.d.ts.map +1 -0
- package/dist/components/actions/button/button.context.d.ts +2 -0
- package/dist/components/actions/button/button.context.d.ts.map +1 -0
- package/dist/components/actions/button/button.props.d.ts +58 -0
- package/dist/components/actions/button/button.props.d.ts.map +1 -0
- package/dist/components/actions/button/button.types.d.ts +7 -0
- package/dist/components/actions/button/button.types.d.ts.map +1 -0
- package/dist/components/actions/dropdown/Dropdown.d.ts +25 -0
- package/dist/components/actions/dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/actions/dropdown/dropdown.context.d.ts +2 -0
- package/dist/components/actions/dropdown/dropdown.context.d.ts.map +1 -0
- package/dist/components/actions/dropdown/dropdown.props.d.ts +60 -0
- package/dist/components/actions/dropdown/dropdown.props.d.ts.map +1 -0
- package/dist/components/actions/dropdown/dropdown.types.d.ts +4 -0
- package/dist/components/actions/dropdown/dropdown.types.d.ts.map +1 -0
- package/dist/components/actions/fab/Fab.d.ts +16 -0
- package/dist/components/actions/fab/Fab.d.ts.map +1 -0
- package/dist/components/actions/fab/fab.context.d.ts +2 -0
- package/dist/components/actions/fab/fab.context.d.ts.map +1 -0
- package/dist/components/actions/fab/fab.props.d.ts +11 -0
- package/dist/components/actions/fab/fab.props.d.ts.map +1 -0
- package/dist/components/actions/fab/fab.types.d.ts +2 -0
- package/dist/components/actions/fab/fab.types.d.ts.map +1 -0
- package/dist/components/actions/modal/Modal.d.ts +42 -0
- package/dist/components/actions/modal/Modal.d.ts.map +1 -0
- package/dist/components/actions/modal/modal.context.d.ts +2 -0
- package/dist/components/actions/modal/modal.context.d.ts.map +1 -0
- package/dist/components/actions/modal/modal.props.d.ts +31 -0
- package/dist/components/actions/modal/modal.props.d.ts.map +1 -0
- package/dist/components/actions/modal/modal.types.d.ts +2 -0
- package/dist/components/actions/modal/modal.types.d.ts.map +1 -0
- package/dist/components/actions/public.d.ts +6 -0
- package/dist/components/actions/public.d.ts.map +1 -0
- package/dist/components/actions/public.es.js +323 -0
- package/dist/components/actions/public.es.js.map +1 -0
- package/dist/components/actions/public.types.d.ts +11 -0
- package/dist/components/actions/public.types.d.ts.map +1 -0
- package/dist/components/actions/public.umd.js +2 -0
- package/dist/components/actions/public.umd.js.map +1 -0
- package/dist/components/actions/swap/Swap.d.ts +36 -0
- package/dist/components/actions/swap/Swap.d.ts.map +1 -0
- package/dist/components/actions/swap/swap.context.d.ts +2 -0
- package/dist/components/actions/swap/swap.context.d.ts.map +1 -0
- package/dist/components/actions/swap/swap.props.d.ts +18 -0
- package/dist/components/actions/swap/swap.props.d.ts.map +1 -0
- package/dist/components/actions/swap/swap.types.d.ts +2 -0
- package/dist/components/actions/swap/swap.types.d.ts.map +1 -0
- package/dist/components/app/PoppyApp.d.ts +14 -0
- package/dist/components/app/PoppyApp.d.ts.map +1 -0
- package/dist/components/app/public.d.ts +2 -0
- package/dist/components/app/public.d.ts.map +1 -0
- package/dist/components/app/public.es.js +42 -0
- package/dist/components/app/public.es.js.map +1 -0
- package/dist/components/app/public.umd.js +2 -0
- package/dist/components/app/public.umd.js.map +1 -0
- package/dist/components/data/checkbox/Checkbox.d.ts +25 -0
- package/dist/components/data/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/data/checkbox/checkbox.context.d.ts +2 -0
- package/dist/components/data/checkbox/checkbox.context.d.ts.map +1 -0
- package/dist/components/data/checkbox/checkbox.props.d.ts +44 -0
- package/dist/components/data/checkbox/checkbox.props.d.ts.map +1 -0
- package/dist/components/data/checkbox/checkbox.types.d.ts +4 -0
- package/dist/components/data/checkbox/checkbox.types.d.ts.map +1 -0
- package/dist/components/data/field-set/FieldSet.d.ts +21 -0
- package/dist/components/data/field-set/FieldSet.d.ts.map +1 -0
- package/dist/components/data/field-set/field-set.props.d.ts +20 -0
- package/dist/components/data/field-set/field-set.props.d.ts.map +1 -0
- package/dist/components/data/form/Form.d.ts +37 -0
- package/dist/components/data/form/Form.d.ts.map +1 -0
- package/dist/components/data/form/form.context.d.ts +57 -0
- package/dist/components/data/form/form.context.d.ts.map +1 -0
- package/dist/components/data/form/form.props.d.ts +28 -0
- package/dist/components/data/form/form.props.d.ts.map +1 -0
- package/dist/components/data/form/form.types.d.ts +25 -0
- package/dist/components/data/form/form.types.d.ts.map +1 -0
- package/dist/components/data/form-field/FormField.d.ts +28 -0
- package/dist/components/data/form-field/FormField.d.ts.map +1 -0
- package/dist/components/data/form-field/form-field.context.d.ts +53 -0
- package/dist/components/data/form-field/form-field.context.d.ts.map +1 -0
- package/dist/components/data/form-field/form-field.props.d.ts +37 -0
- package/dist/components/data/form-field/form-field.props.d.ts.map +1 -0
- package/dist/components/data/form-field/form-field.types.d.ts +2 -0
- package/dist/components/data/form-field/form-field.types.d.ts.map +1 -0
- package/dist/components/data/input/Input.d.ts +31 -0
- package/dist/components/data/input/Input.d.ts.map +1 -0
- package/dist/components/data/input/input.context.d.ts +2 -0
- package/dist/components/data/input/input.context.d.ts.map +1 -0
- package/dist/components/data/input/input.props.d.ts +78 -0
- package/dist/components/data/input/input.props.d.ts.map +1 -0
- package/dist/components/data/input/input.types.d.ts +6 -0
- package/dist/components/data/input/input.types.d.ts.map +1 -0
- package/dist/components/data/public.d.ts +13 -0
- package/dist/components/data/public.d.ts.map +1 -0
- package/dist/components/data/public.es.js +1816 -0
- package/dist/components/data/public.es.js.map +1 -0
- package/dist/components/data/public.types.d.ts +21 -0
- package/dist/components/data/public.types.d.ts.map +1 -0
- package/dist/components/data/public.umd.js +2 -0
- package/dist/components/data/public.umd.js.map +1 -0
- package/dist/components/data/radio/Radio.d.ts +25 -0
- package/dist/components/data/radio/Radio.d.ts.map +1 -0
- package/dist/components/data/radio/radio.context.d.ts +2 -0
- package/dist/components/data/radio/radio.context.d.ts.map +1 -0
- package/dist/components/data/radio/radio.props.d.ts +47 -0
- package/dist/components/data/radio/radio.props.d.ts.map +1 -0
- package/dist/components/data/radio/radio.types.d.ts +4 -0
- package/dist/components/data/radio/radio.types.d.ts.map +1 -0
- package/dist/components/data/radio-group/RadioGroup.d.ts +28 -0
- package/dist/components/data/radio-group/RadioGroup.d.ts.map +1 -0
- package/dist/components/data/radio-group/radio-group.context.d.ts +13 -0
- package/dist/components/data/radio-group/radio-group.context.d.ts.map +1 -0
- package/dist/components/data/radio-group/radio-group.props.d.ts +12 -0
- package/dist/components/data/radio-group/radio-group.props.d.ts.map +1 -0
- package/dist/components/data/rating/Rating.d.ts +26 -0
- package/dist/components/data/rating/Rating.d.ts.map +1 -0
- package/dist/components/data/rating/rating.context.d.ts +2 -0
- package/dist/components/data/rating/rating.context.d.ts.map +1 -0
- package/dist/components/data/rating/rating.props.d.ts +44 -0
- package/dist/components/data/rating/rating.props.d.ts.map +1 -0
- package/dist/components/data/rating/rating.types.d.ts +6 -0
- package/dist/components/data/rating/rating.types.d.ts.map +1 -0
- package/dist/components/data/select/Select.d.ts +79 -0
- package/dist/components/data/select/Select.d.ts.map +1 -0
- package/dist/components/data/select/select.context.d.ts +2 -0
- package/dist/components/data/select/select.context.d.ts.map +1 -0
- package/dist/components/data/select/select.props.d.ts +99 -0
- package/dist/components/data/select/select.props.d.ts.map +1 -0
- package/dist/components/data/select/select.types.d.ts +20 -0
- package/dist/components/data/select/select.types.d.ts.map +1 -0
- package/dist/components/data/slider/Slider.d.ts +29 -0
- package/dist/components/data/slider/Slider.d.ts.map +1 -0
- package/dist/components/data/slider/slider.context.d.ts +2 -0
- package/dist/components/data/slider/slider.context.d.ts.map +1 -0
- package/dist/components/data/slider/slider.props.d.ts +70 -0
- package/dist/components/data/slider/slider.props.d.ts.map +1 -0
- package/dist/components/data/slider/slider.types.d.ts +7 -0
- package/dist/components/data/slider/slider.types.d.ts.map +1 -0
- package/dist/components/data/textarea/Textarea.d.ts +22 -0
- package/dist/components/data/textarea/Textarea.d.ts.map +1 -0
- package/dist/components/data/textarea/textarea.context.d.ts +2 -0
- package/dist/components/data/textarea/textarea.context.d.ts.map +1 -0
- package/dist/components/data/textarea/textarea.props.d.ts +64 -0
- package/dist/components/data/textarea/textarea.props.d.ts.map +1 -0
- package/dist/components/data/textarea/textarea.types.d.ts +5 -0
- package/dist/components/data/textarea/textarea.types.d.ts.map +1 -0
- package/dist/components/data/toggle/Toggle.d.ts +31 -0
- package/dist/components/data/toggle/Toggle.d.ts.map +1 -0
- package/dist/components/data/toggle/toggle.context.d.ts +2 -0
- package/dist/components/data/toggle/toggle.context.d.ts.map +1 -0
- package/dist/components/data/toggle/toggle.props.d.ts +38 -0
- package/dist/components/data/toggle/toggle.props.d.ts.map +1 -0
- package/dist/components/data/toggle/toggle.types.d.ts +4 -0
- package/dist/components/data/toggle/toggle.types.d.ts.map +1 -0
- package/dist/components/display/accordion/Accordion.d.ts +42 -0
- package/dist/components/display/accordion/Accordion.d.ts.map +1 -0
- package/dist/components/display/accordion/AccordionItem.d.ts +35 -0
- package/dist/components/display/accordion/AccordionItem.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion-item.context.d.ts +2 -0
- package/dist/components/display/accordion/accordion-item.context.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion-item.props.d.ts +19 -0
- package/dist/components/display/accordion/accordion-item.props.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion-item.types.d.ts +2 -0
- package/dist/components/display/accordion/accordion-item.types.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion.context.d.ts +9 -0
- package/dist/components/display/accordion/accordion.context.d.ts.map +1 -0
- package/dist/components/display/accordion/accordion.props.d.ts +15 -0
- package/dist/components/display/accordion/accordion.props.d.ts.map +1 -0
- package/dist/components/display/avatar/Avatar.d.ts +14 -0
- package/dist/components/display/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/display/avatar/avatar.context.d.ts +2 -0
- package/dist/components/display/avatar/avatar.context.d.ts.map +1 -0
- package/dist/components/display/avatar/avatar.props.d.ts +45 -0
- package/dist/components/display/avatar/avatar.props.d.ts.map +1 -0
- package/dist/components/display/avatar/avatar.types.d.ts +5 -0
- package/dist/components/display/avatar/avatar.types.d.ts.map +1 -0
- package/dist/components/display/badge/Badge.d.ts +12 -0
- package/dist/components/display/badge/Badge.d.ts.map +1 -0
- package/dist/components/display/badge/badge.context.d.ts +2 -0
- package/dist/components/display/badge/badge.context.d.ts.map +1 -0
- package/dist/components/display/badge/badge.props.d.ts +20 -0
- package/dist/components/display/badge/badge.props.d.ts.map +1 -0
- package/dist/components/display/badge/badge.types.d.ts +5 -0
- package/dist/components/display/badge/badge.types.d.ts.map +1 -0
- package/dist/components/display/card/Card.d.ts +12 -0
- package/dist/components/display/card/Card.d.ts.map +1 -0
- package/dist/components/display/card/CardActions.d.ts +12 -0
- package/dist/components/display/card/CardActions.d.ts.map +1 -0
- package/dist/components/display/card/CardBody.d.ts +14 -0
- package/dist/components/display/card/CardBody.d.ts.map +1 -0
- package/dist/components/display/card/CardTitle.d.ts +14 -0
- package/dist/components/display/card/CardTitle.d.ts.map +1 -0
- package/dist/components/display/card/card-actions.context.d.ts +2 -0
- package/dist/components/display/card/card-actions.context.d.ts.map +1 -0
- package/dist/components/display/card/card-actions.props.d.ts +15 -0
- package/dist/components/display/card/card-actions.props.d.ts.map +1 -0
- package/dist/components/display/card/card-actions.types.d.ts +2 -0
- package/dist/components/display/card/card-actions.types.d.ts.map +1 -0
- package/dist/components/display/card/card.context.d.ts +2 -0
- package/dist/components/display/card/card.context.d.ts.map +1 -0
- package/dist/components/display/card/card.props.d.ts +30 -0
- package/dist/components/display/card/card.props.d.ts.map +1 -0
- package/dist/components/display/card/card.types.d.ts +4 -0
- package/dist/components/display/card/card.types.d.ts.map +1 -0
- package/dist/components/display/carousel/Carousel.d.ts +16 -0
- package/dist/components/display/carousel/Carousel.d.ts.map +1 -0
- package/dist/components/display/carousel/carousel.context.d.ts +2 -0
- package/dist/components/display/carousel/carousel.context.d.ts.map +1 -0
- package/dist/components/display/carousel/carousel.props.d.ts +52 -0
- package/dist/components/display/carousel/carousel.props.d.ts.map +1 -0
- package/dist/components/display/carousel/carousel.types.d.ts +3 -0
- package/dist/components/display/carousel/carousel.types.d.ts.map +1 -0
- package/dist/components/display/chat/Chat.d.ts +20 -0
- package/dist/components/display/chat/Chat.d.ts.map +1 -0
- package/dist/components/display/chat/chat.context.d.ts +2 -0
- package/dist/components/display/chat/chat.context.d.ts.map +1 -0
- package/dist/components/display/chat/chat.props.d.ts +18 -0
- package/dist/components/display/chat/chat.props.d.ts.map +1 -0
- package/dist/components/display/chat/chat.types.d.ts +3 -0
- package/dist/components/display/chat/chat.types.d.ts.map +1 -0
- package/dist/components/display/countdown/Countdown.d.ts +38 -0
- package/dist/components/display/countdown/Countdown.d.ts.map +1 -0
- package/dist/components/display/countdown/countdown.context.d.ts +2 -0
- package/dist/components/display/countdown/countdown.context.d.ts.map +1 -0
- package/dist/components/display/countdown/countdown.props.d.ts +25 -0
- package/dist/components/display/countdown/countdown.props.d.ts.map +1 -0
- package/dist/components/display/countdown/countdown.types.d.ts +23 -0
- package/dist/components/display/countdown/countdown.types.d.ts.map +1 -0
- package/dist/components/display/diff/Diff.d.ts +16 -0
- package/dist/components/display/diff/Diff.d.ts.map +1 -0
- package/dist/components/display/hover-3d/Hover3d.d.ts +12 -0
- package/dist/components/display/hover-3d/Hover3d.d.ts.map +1 -0
- package/dist/components/display/hover-3d/hover-3d.props.d.ts +9 -0
- package/dist/components/display/hover-3d/hover-3d.props.d.ts.map +1 -0
- package/dist/components/display/hover-gallery/HoverGallery.d.ts +14 -0
- package/dist/components/display/hover-gallery/HoverGallery.d.ts.map +1 -0
- package/dist/components/display/kbd/Kbd.d.ts +12 -0
- package/dist/components/display/kbd/Kbd.d.ts.map +1 -0
- package/dist/components/display/kbd/kbd.context.d.ts +2 -0
- package/dist/components/display/kbd/kbd.context.d.ts.map +1 -0
- package/dist/components/display/kbd/kbd.props.d.ts +12 -0
- package/dist/components/display/kbd/kbd.props.d.ts.map +1 -0
- package/dist/components/display/kbd/kbd.types.d.ts +3 -0
- package/dist/components/display/kbd/kbd.types.d.ts.map +1 -0
- package/dist/components/display/list/List.d.ts +17 -0
- package/dist/components/display/list/List.d.ts.map +1 -0
- package/dist/components/display/list/ListItem.d.ts +22 -0
- package/dist/components/display/list/ListItem.d.ts.map +1 -0
- package/dist/components/display/list/list-item.props.d.ts +17 -0
- package/dist/components/display/list/list-item.props.d.ts.map +1 -0
- package/dist/components/display/list/list.props.d.ts +8 -0
- package/dist/components/display/list/list.props.d.ts.map +1 -0
- package/dist/components/display/public.d.ts +21 -0
- package/dist/components/display/public.d.ts.map +1 -0
- package/dist/components/display/public.es.js +2 -0
- package/dist/components/display/public.types.d.ts +28 -0
- package/dist/components/display/public.types.d.ts.map +1 -0
- package/dist/components/display/public.umd.js +1 -0
- package/dist/components/display/stat/Stat.d.ts +22 -0
- package/dist/components/display/stat/Stat.d.ts.map +1 -0
- package/dist/components/display/stat/Stats.d.ts +12 -0
- package/dist/components/display/stat/Stats.d.ts.map +1 -0
- package/dist/components/display/stat/stat.context.d.ts +2 -0
- package/dist/components/display/stat/stat.context.d.ts.map +1 -0
- package/dist/components/display/stat/stat.props.d.ts +42 -0
- package/dist/components/display/stat/stat.props.d.ts.map +1 -0
- package/dist/components/display/stat/stat.types.d.ts +2 -0
- package/dist/components/display/stat/stat.types.d.ts.map +1 -0
- package/dist/components/display/stat/stats.context.d.ts +2 -0
- package/dist/components/display/stat/stats.context.d.ts.map +1 -0
- package/dist/components/display/stat/stats.props.d.ts +11 -0
- package/dist/components/display/stat/stats.props.d.ts.map +1 -0
- package/dist/components/display/stat/stats.types.d.ts +2 -0
- package/dist/components/display/stat/stats.types.d.ts.map +1 -0
- package/dist/components/display/status/Status.d.ts +5 -0
- package/dist/components/display/status/Status.d.ts.map +1 -0
- package/dist/components/display/status/status.context.d.ts +2 -0
- package/dist/components/display/status/status.context.d.ts.map +1 -0
- package/dist/components/display/status/status.props.d.ts +27 -0
- package/dist/components/display/status/status.props.d.ts.map +1 -0
- package/dist/components/display/status/status.types.d.ts +5 -0
- package/dist/components/display/status/status.types.d.ts.map +1 -0
- package/dist/components/feedback/alert/Alert.d.ts +14 -0
- package/dist/components/feedback/alert/Alert.d.ts.map +1 -0
- package/dist/components/feedback/alert/alert.context.d.ts +2 -0
- package/dist/components/feedback/alert/alert.context.d.ts.map +1 -0
- package/dist/components/feedback/alert/alert.props.d.ts +27 -0
- package/dist/components/feedback/alert/alert.props.d.ts.map +1 -0
- package/dist/components/feedback/alert/alert.types.d.ts +4 -0
- package/dist/components/feedback/alert/alert.types.d.ts.map +1 -0
- package/dist/components/feedback/loading/Loading.d.ts +5 -0
- package/dist/components/feedback/loading/Loading.d.ts.map +1 -0
- package/dist/components/feedback/loading/loading.context.d.ts +2 -0
- package/dist/components/feedback/loading/loading.context.d.ts.map +1 -0
- package/dist/components/feedback/loading/loading.props.d.ts +23 -0
- package/dist/components/feedback/loading/loading.props.d.ts.map +1 -0
- package/dist/components/feedback/loading/loading.types.d.ts +5 -0
- package/dist/components/feedback/loading/loading.types.d.ts.map +1 -0
- package/dist/components/feedback/progress/Progress.d.ts +5 -0
- package/dist/components/feedback/progress/Progress.d.ts.map +1 -0
- package/dist/components/feedback/progress/progress.context.d.ts +2 -0
- package/dist/components/feedback/progress/progress.context.d.ts.map +1 -0
- package/dist/components/feedback/progress/progress.props.d.ts +28 -0
- package/dist/components/feedback/progress/progress.props.d.ts.map +1 -0
- package/dist/components/feedback/progress/progress.types.d.ts +2 -0
- package/dist/components/feedback/progress/progress.types.d.ts.map +1 -0
- package/dist/components/feedback/public.d.ts +6 -0
- package/dist/components/feedback/public.d.ts.map +1 -0
- package/dist/components/feedback/public.es.js +128 -0
- package/dist/components/feedback/public.es.js.map +1 -0
- package/dist/components/feedback/public.types.d.ts +13 -0
- package/dist/components/feedback/public.types.d.ts.map +1 -0
- package/dist/components/feedback/public.umd.js +2 -0
- package/dist/components/feedback/public.umd.js.map +1 -0
- package/dist/components/feedback/radial-progress/radial-progress.context.d.ts +2 -0
- package/dist/components/feedback/radial-progress/radial-progress.context.d.ts.map +1 -0
- package/dist/components/feedback/radial-progress/radial-progress.props.d.ts +32 -0
- package/dist/components/feedback/radial-progress/radial-progress.props.d.ts.map +1 -0
- package/dist/components/feedback/radial-progress/radial-progress.types.d.ts +2 -0
- package/dist/components/feedback/radial-progress/radial-progress.types.d.ts.map +1 -0
- package/dist/components/feedback/toast/Toast.d.ts +12 -0
- package/dist/components/feedback/toast/Toast.d.ts.map +1 -0
- package/dist/components/feedback/toast/toast.context.d.ts +9 -0
- package/dist/components/feedback/toast/toast.context.d.ts.map +1 -0
- package/dist/components/feedback/toast/toast.props.d.ts +31 -0
- package/dist/components/feedback/toast/toast.props.d.ts.map +1 -0
- package/dist/components/feedback/toast/toast.types.d.ts +5 -0
- package/dist/components/feedback/toast/toast.types.d.ts.map +1 -0
- package/dist/components/feedback/tooltip/Tooltip.d.ts +14 -0
- package/dist/components/feedback/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/feedback/tooltip/tooltip.context.d.ts +2 -0
- package/dist/components/feedback/tooltip/tooltip.context.d.ts.map +1 -0
- package/dist/components/feedback/tooltip/tooltip.props.d.ts +39 -0
- package/dist/components/feedback/tooltip/tooltip.props.d.ts.map +1 -0
- package/dist/components/feedback/tooltip/tooltip.types.d.ts +3 -0
- package/dist/components/feedback/tooltip/tooltip.types.d.ts.map +1 -0
- package/dist/components/layout/divider/Divider.d.ts +12 -0
- package/dist/components/layout/divider/Divider.d.ts.map +1 -0
- package/dist/components/layout/divider/divider.context.d.ts +2 -0
- package/dist/components/layout/divider/divider.context.d.ts.map +1 -0
- package/dist/components/layout/divider/divider.props.d.ts +26 -0
- package/dist/components/layout/divider/divider.props.d.ts.map +1 -0
- package/dist/components/layout/divider/divider.types.d.ts +4 -0
- package/dist/components/layout/divider/divider.types.d.ts.map +1 -0
- package/dist/components/layout/drawer/Drawer.d.ts +39 -0
- package/dist/components/layout/drawer/Drawer.d.ts.map +1 -0
- package/dist/components/layout/drawer/drawer.context.d.ts +2 -0
- package/dist/components/layout/drawer/drawer.context.d.ts.map +1 -0
- package/dist/components/layout/drawer/drawer.props.d.ts +27 -0
- package/dist/components/layout/drawer/drawer.props.d.ts.map +1 -0
- package/dist/components/layout/drawer/drawer.types.d.ts +6 -0
- package/dist/components/layout/drawer/drawer.types.d.ts.map +1 -0
- package/dist/components/layout/indicator/Indicator.d.ts +14 -0
- package/dist/components/layout/indicator/Indicator.d.ts.map +1 -0
- package/dist/components/layout/indicator/indicator.context.d.ts +2 -0
- package/dist/components/layout/indicator/indicator.context.d.ts.map +1 -0
- package/dist/components/layout/indicator/indicator.props.d.ts +28 -0
- package/dist/components/layout/indicator/indicator.props.d.ts.map +1 -0
- package/dist/components/layout/indicator/indicator.types.d.ts +3 -0
- package/dist/components/layout/indicator/indicator.types.d.ts.map +1 -0
- package/dist/components/layout/join/Join.d.ts +12 -0
- package/dist/components/layout/join/Join.d.ts.map +1 -0
- package/dist/components/layout/join/join.context.d.ts +2 -0
- package/dist/components/layout/join/join.context.d.ts.map +1 -0
- package/dist/components/layout/join/join.props.d.ts +14 -0
- package/dist/components/layout/join/join.props.d.ts.map +1 -0
- package/dist/components/layout/join/join.types.d.ts +2 -0
- package/dist/components/layout/join/join.types.d.ts.map +1 -0
- package/dist/components/layout/mask/Mask.d.ts +12 -0
- package/dist/components/layout/mask/Mask.d.ts.map +1 -0
- package/dist/components/layout/mask/mask.context.d.ts +2 -0
- package/dist/components/layout/mask/mask.context.d.ts.map +1 -0
- package/dist/components/layout/mask/mask.props.d.ts +37 -0
- package/dist/components/layout/mask/mask.props.d.ts.map +1 -0
- package/dist/components/layout/mask/mask.types.d.ts +3 -0
- package/dist/components/layout/mask/mask.types.d.ts.map +1 -0
- package/dist/components/layout/public.d.ts +7 -0
- package/dist/components/layout/public.d.ts.map +1 -0
- package/dist/components/layout/public.es.js +206 -0
- package/dist/components/layout/public.es.js.map +1 -0
- package/dist/components/layout/public.types.d.ts +13 -0
- package/dist/components/layout/public.types.d.ts.map +1 -0
- package/dist/components/layout/public.umd.js +2 -0
- package/dist/components/layout/public.umd.js.map +1 -0
- package/dist/components/layout/stack/Stack.d.ts +12 -0
- package/dist/components/layout/stack/Stack.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.context.d.ts +2 -0
- package/dist/components/layout/stack/stack.context.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.props.d.ts +12 -0
- package/dist/components/layout/stack/stack.props.d.ts.map +1 -0
- package/dist/components/layout/stack/stack.types.d.ts +2 -0
- package/dist/components/layout/stack/stack.types.d.ts.map +1 -0
- package/dist/components/media/img/Img.d.ts +15 -0
- package/dist/components/media/img/Img.d.ts.map +1 -0
- package/dist/components/media/img/img.context.d.ts +2 -0
- package/dist/components/media/img/img.context.d.ts.map +1 -0
- package/dist/components/media/img/img.props.d.ts +76 -0
- package/dist/components/media/img/img.props.d.ts.map +1 -0
- package/dist/components/media/img/img.types.d.ts +33 -0
- package/dist/components/media/img/img.types.d.ts.map +1 -0
- package/dist/components/media/public.d.ts +2 -0
- package/dist/components/media/public.d.ts.map +1 -0
- package/dist/components/media/public.es.js +143 -0
- package/dist/components/media/public.es.js.map +1 -0
- package/dist/components/media/public.types.d.ts +3 -0
- package/dist/components/media/public.types.d.ts.map +1 -0
- package/dist/components/media/public.umd.js +2 -0
- package/dist/components/media/public.umd.js.map +1 -0
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +5 -0
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.context.d.ts +2 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.context.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.props.d.ts +17 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.props.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.types.d.ts +11 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.types.d.ts.map +1 -0
- package/dist/components/navigation/dock/Dock.d.ts +12 -0
- package/dist/components/navigation/dock/Dock.d.ts.map +1 -0
- package/dist/components/navigation/dock/DockItem.d.ts +5 -0
- package/dist/components/navigation/dock/DockItem.d.ts.map +1 -0
- package/dist/components/navigation/dock/dock.context.d.ts +3 -0
- package/dist/components/navigation/dock/dock.context.d.ts.map +1 -0
- package/dist/components/navigation/dock/dock.props.d.ts +30 -0
- package/dist/components/navigation/dock/dock.props.d.ts.map +1 -0
- package/dist/components/navigation/dock/dock.types.d.ts +3 -0
- package/dist/components/navigation/dock/dock.types.d.ts.map +1 -0
- package/dist/components/navigation/link/Link.d.ts +12 -0
- package/dist/components/navigation/link/Link.d.ts.map +1 -0
- package/dist/components/navigation/link/link.context.d.ts +2 -0
- package/dist/components/navigation/link/link.context.d.ts.map +1 -0
- package/dist/components/navigation/link/link.props.d.ts +21 -0
- package/dist/components/navigation/link/link.props.d.ts.map +1 -0
- package/dist/components/navigation/link/link.types.d.ts +2 -0
- package/dist/components/navigation/link/link.types.d.ts.map +1 -0
- package/dist/components/navigation/menu/Menu.d.ts +12 -0
- package/dist/components/navigation/menu/Menu.d.ts.map +1 -0
- package/dist/components/navigation/menu/MenuItem.d.ts +36 -0
- package/dist/components/navigation/menu/MenuItem.d.ts.map +1 -0
- package/dist/components/navigation/menu/menu.context.d.ts +3 -0
- package/dist/components/navigation/menu/menu.context.d.ts.map +1 -0
- package/dist/components/navigation/menu/menu.props.d.ts +61 -0
- package/dist/components/navigation/menu/menu.props.d.ts.map +1 -0
- package/dist/components/navigation/menu/menu.types.d.ts +4 -0
- package/dist/components/navigation/menu/menu.types.d.ts.map +1 -0
- package/dist/components/navigation/navbar/Navbar.d.ts +4 -0
- package/dist/components/navigation/navbar/Navbar.d.ts.map +1 -0
- package/dist/components/navigation/public.d.ts +10 -0
- package/dist/components/navigation/public.d.ts.map +1 -0
- package/dist/components/navigation/public.es.js +2 -0
- package/dist/components/navigation/public.types.d.ts +11 -0
- package/dist/components/navigation/public.types.d.ts.map +1 -0
- package/dist/components/navigation/public.umd.js +1 -0
- package/dist/components/navigation/tab/Tab.d.ts +19 -0
- package/dist/components/navigation/tab/Tab.d.ts.map +1 -0
- package/dist/components/navigation/tab/Tabs.d.ts +20 -0
- package/dist/components/navigation/tab/Tabs.d.ts.map +1 -0
- package/dist/components/navigation/tab/tab.context.d.ts +10 -0
- package/dist/components/navigation/tab/tab.context.d.ts.map +1 -0
- package/dist/components/navigation/tab/tab.props.d.ts +59 -0
- package/dist/components/navigation/tab/tab.props.d.ts.map +1 -0
- package/dist/components/navigation/tab/tab.types.d.ts +5 -0
- package/dist/components/navigation/tab/tab.types.d.ts.map +1 -0
- package/dist/composables/public.d.ts +6 -0
- package/dist/composables/public.d.ts.map +1 -0
- package/dist/composables/public.es.js +39 -0
- package/dist/composables/public.es.js.map +1 -0
- package/dist/composables/public.umd.js +2 -0
- package/dist/composables/public.umd.js.map +1 -0
- package/dist/composables/use-component-config.d.ts +27 -0
- package/dist/composables/use-component-config.d.ts.map +1 -0
- package/dist/composables/use-config.d.ts +2 -0
- package/dist/composables/use-config.d.ts.map +1 -0
- package/dist/composables/use-form-field.d.ts +24 -0
- package/dist/composables/use-form-field.d.ts.map +1 -0
- package/dist/composables/use-select-counter.d.ts +13 -0
- package/dist/composables/use-select-counter.d.ts.map +1 -0
- package/dist/composables/use-toast.d.ts +36 -0
- package/dist/composables/use-toast.d.ts.map +1 -0
- package/dist/config/config.type.d.ts +96 -0
- package/dist/config/config.type.d.ts.map +1 -0
- package/dist/config/public.d.ts +3 -0
- package/dist/config/public.d.ts.map +1 -0
- package/dist/config/public.es.js +2 -0
- package/dist/config/public.types.d.ts +2 -0
- package/dist/config/public.types.d.ts.map +1 -0
- package/dist/config/public.umd.js +1 -0
- package/dist/config/size.context.d.ts +4 -0
- package/dist/config/size.context.d.ts.map +1 -0
- package/dist/config/symbol.d.ts +4 -0
- package/dist/config/symbol.d.ts.map +1 -0
- package/dist/plugin-vue.d.ts +33 -0
- package/dist/plugin-vue.d.ts.map +1 -0
- package/dist/public-1PFjXgZ6.cjs +2 -0
- package/dist/public-1PFjXgZ6.cjs.map +1 -0
- package/dist/public-D_MhbTxP.cjs +2 -0
- package/dist/public-D_MhbTxP.cjs.map +1 -0
- package/dist/public-Dqelew6J.js +615 -0
- package/dist/public-Dqelew6J.js.map +1 -0
- package/dist/public-H9TCdoJr.js +296 -0
- package/dist/public-H9TCdoJr.js.map +1 -0
- package/dist/public.d.ts +12 -0
- package/dist/public.d.ts.map +1 -0
- package/dist/public.es.js +15 -0
- package/dist/public.es.js.map +1 -0
- package/dist/public.umd.js +2 -0
- package/dist/public.umd.js.map +1 -0
- package/dist/style.css +2 -0
- package/dist/symbol-Cleu4XHu.cjs +2 -0
- package/dist/symbol-Cleu4XHu.cjs.map +1 -0
- package/dist/symbol-CziS7Pho.js +13 -0
- package/dist/symbol-CziS7Pho.js.map +1 -0
- package/dist/toast.context-BNg0Zn09.cjs +2 -0
- package/dist/toast.context-BNg0Zn09.cjs.map +1 -0
- package/dist/toast.context-CTPY2imu.js +7 -0
- package/dist/toast.context-CTPY2imu.js.map +1 -0
- package/dist/types/public.d.ts +3 -0
- package/dist/types/public.d.ts.map +1 -0
- package/dist/types/public.es.js +0 -0
- package/dist/types/public.umd.js +1 -0
- package/dist/types/size.type.d.ts +2 -0
- package/dist/types/size.type.d.ts.map +1 -0
- package/dist/types/utils.type.d.ts +5 -0
- package/dist/types/utils.type.d.ts.map +1 -0
- package/dist/use-component-config-C-IlXF0W.cjs +2 -0
- package/dist/use-component-config-C-IlXF0W.cjs.map +1 -0
- package/dist/use-component-config-CaJQbJOW.js +20 -0
- package/dist/use-component-config-CaJQbJOW.js.map +1 -0
- package/dist/use-select-counter-CgQha-_T.cjs +2 -0
- package/dist/use-select-counter-CgQha-_T.cjs.map +1 -0
- package/dist/use-select-counter-D_-Qwz61.js +72 -0
- package/dist/use-select-counter-D_-Qwz61.js.map +1 -0
- package/dist/utils/build-class.util.d.ts +4 -0
- package/dist/utils/build-class.util.d.ts.map +1 -0
- package/dist/utils/get-validation-message.d.ts +22 -0
- package/dist/utils/get-validation-message.d.ts.map +1 -0
- package/dist/utils/path.d.ts +20 -0
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/props.util.d.ts +2 -0
- package/dist/utils/props.util.d.ts.map +1 -0
- package/dist/utils/public.d.ts +2 -0
- package/dist/utils/public.d.ts.map +1 -0
- package/package.json +138 -0
- package/src/components/ClassWrapper.vue +42 -0
- package/src/components/actions/button/Button.story.vue +184 -0
- package/src/components/actions/button/Button.vue +110 -0
- package/src/components/actions/button/button.context.ts +3 -0
- package/src/components/actions/button/button.props.ts +56 -0
- package/src/components/actions/button/button.types.ts +7 -0
- package/src/components/actions/dropdown/Dropdown.story.vue +360 -0
- package/src/components/actions/dropdown/Dropdown.vue +218 -0
- package/src/components/actions/dropdown/dropdown.context.ts +3 -0
- package/src/components/actions/dropdown/dropdown.props.ts +59 -0
- package/src/components/actions/dropdown/dropdown.types.ts +4 -0
- package/src/components/actions/fab/Fab.story.vue +227 -0
- package/src/components/actions/fab/Fab.vue +33 -0
- package/src/components/actions/fab/fab.context.ts +3 -0
- package/src/components/actions/fab/fab.props.ts +11 -0
- package/src/components/actions/fab/fab.types.ts +1 -0
- package/src/components/actions/modal/Modal.story.vue +285 -0
- package/src/components/actions/modal/Modal.vue +106 -0
- package/src/components/actions/modal/modal.context.ts +3 -0
- package/src/components/actions/modal/modal.props.ts +29 -0
- package/src/components/actions/modal/modal.types.ts +1 -0
- package/src/components/actions/public.ts +5 -0
- package/src/components/actions/public.types.ts +15 -0
- package/src/components/actions/swap/Swap.story.vue +302 -0
- package/src/components/actions/swap/Swap.vue +59 -0
- package/src/components/actions/swap/swap.context.ts +3 -0
- package/src/components/actions/swap/swap.props.ts +17 -0
- package/src/components/actions/swap/swap.types.ts +1 -0
- package/src/components/app/PoppyApp.vue +48 -0
- package/src/components/app/public.ts +1 -0
- package/src/components/data/checkbox/Checkbox.story.vue +206 -0
- package/src/components/data/checkbox/Checkbox.vue +139 -0
- package/src/components/data/checkbox/checkbox.context.ts +3 -0
- package/src/components/data/checkbox/checkbox.props.ts +42 -0
- package/src/components/data/checkbox/checkbox.types.ts +5 -0
- package/src/components/data/field-set/FieldSet.story.vue +163 -0
- package/src/components/data/field-set/FieldSet.vue +22 -0
- package/src/components/data/field-set/field-set.props.ts +21 -0
- package/src/components/data/form/Form.story.vue +144 -0
- package/src/components/data/form/Form.vue +235 -0
- package/src/components/data/form/form.context.ts +82 -0
- package/src/components/data/form/form.props.ts +30 -0
- package/src/components/data/form/form.types.ts +25 -0
- package/src/components/data/form-field/FormField.vue +176 -0
- package/src/components/data/form-field/form-field.context.ts +71 -0
- package/src/components/data/form-field/form-field.props.ts +42 -0
- package/src/components/data/form-field/form-field.types.ts +1 -0
- package/src/components/data/input/Input.story.vue +276 -0
- package/src/components/data/input/Input.vue +233 -0
- package/src/components/data/input/input.context.ts +3 -0
- package/src/components/data/input/input.props.ts +87 -0
- package/src/components/data/input/input.types.ts +10 -0
- package/src/components/data/public.ts +12 -0
- package/src/components/data/public.types.ts +30 -0
- package/src/components/data/radio/Radio.story.vue +228 -0
- package/src/components/data/radio/Radio.vue +152 -0
- package/src/components/data/radio/radio.context.ts +3 -0
- package/src/components/data/radio/radio.props.ts +53 -0
- package/src/components/data/radio/radio.types.ts +5 -0
- package/src/components/data/radio-group/RadioGroup.story.vue +155 -0
- package/src/components/data/radio-group/RadioGroup.vue +65 -0
- package/src/components/data/radio-group/radio-group.context.ts +14 -0
- package/src/components/data/radio-group/radio-group.props.ts +12 -0
- package/src/components/data/rating/Rating.story.vue +150 -0
- package/src/components/data/rating/Rating.vue +190 -0
- package/src/components/data/rating/rating.context.ts +3 -0
- package/src/components/data/rating/rating.props.ts +43 -0
- package/src/components/data/rating/rating.types.ts +8 -0
- package/src/components/data/select/Select.story.vue +317 -0
- package/src/components/data/select/Select.vue +747 -0
- package/src/components/data/select/select.context.ts +3 -0
- package/src/components/data/select/select.props.ts +110 -0
- package/src/components/data/select/select.types.ts +24 -0
- package/src/components/data/slider/Slider.story.vue +276 -0
- package/src/components/data/slider/Slider.vue +802 -0
- package/src/components/data/slider/slider.context.ts +3 -0
- package/src/components/data/slider/slider.props.ts +69 -0
- package/src/components/data/slider/slider.types.ts +11 -0
- package/src/components/data/textarea/Textarea.story.vue +222 -0
- package/src/components/data/textarea/Textarea.vue +168 -0
- package/src/components/data/textarea/textarea.context.ts +3 -0
- package/src/components/data/textarea/textarea.props.ts +71 -0
- package/src/components/data/textarea/textarea.types.ts +7 -0
- package/src/components/data/toggle/Toggle.story.vue +195 -0
- package/src/components/data/toggle/Toggle.vue +136 -0
- package/src/components/data/toggle/toggle.context.ts +3 -0
- package/src/components/data/toggle/toggle.props.ts +40 -0
- package/src/components/data/toggle/toggle.types.ts +5 -0
- package/src/components/display/accordion/Accordion.story.vue +482 -0
- package/src/components/display/accordion/Accordion.vue +112 -0
- package/src/components/display/accordion/AccordionItem.vue +111 -0
- package/src/components/display/accordion/accordion-item.context.ts +3 -0
- package/src/components/display/accordion/accordion-item.props.ts +20 -0
- package/src/components/display/accordion/accordion-item.types.ts +1 -0
- package/src/components/display/accordion/accordion.context.ts +10 -0
- package/src/components/display/accordion/accordion.props.ts +16 -0
- package/src/components/display/avatar/Avatar.story.vue +341 -0
- package/src/components/display/avatar/Avatar.vue +57 -0
- package/src/components/display/avatar/avatar.context.ts +3 -0
- package/src/components/display/avatar/avatar.props.ts +44 -0
- package/src/components/display/avatar/avatar.types.ts +5 -0
- package/src/components/display/badge/Badge.story.vue +156 -0
- package/src/components/display/badge/Badge.vue +51 -0
- package/src/components/display/badge/badge.context.ts +3 -0
- package/src/components/display/badge/badge.props.ts +22 -0
- package/src/components/display/badge/badge.types.ts +5 -0
- package/src/components/display/card/Card.story.vue +312 -0
- package/src/components/display/card/Card.vue +40 -0
- package/src/components/display/card/CardActions.vue +30 -0
- package/src/components/display/card/CardBody.vue +5 -0
- package/src/components/display/card/CardTitle.vue +5 -0
- package/src/components/display/card/card-actions.context.ts +3 -0
- package/src/components/display/card/card-actions.props.ts +15 -0
- package/src/components/display/card/card-actions.types.ts +1 -0
- package/src/components/display/card/card.context.ts +3 -0
- package/src/components/display/card/card.props.ts +29 -0
- package/src/components/display/card/card.types.ts +4 -0
- package/src/components/display/carousel/Carousel.story.vue +216 -0
- package/src/components/display/carousel/Carousel.vue +156 -0
- package/src/components/display/carousel/carousel.context.ts +3 -0
- package/src/components/display/carousel/carousel.props.ts +51 -0
- package/src/components/display/carousel/carousel.types.ts +2 -0
- package/src/components/display/chat/Chat.story.vue +251 -0
- package/src/components/display/chat/Chat.vue +56 -0
- package/src/components/display/chat/chat.context.ts +3 -0
- package/src/components/display/chat/chat.props.ts +19 -0
- package/src/components/display/chat/chat.types.ts +2 -0
- package/src/components/display/countdown/Countdown.story.vue +285 -0
- package/src/components/display/countdown/Countdown.vue +114 -0
- package/src/components/display/countdown/countdown.context.ts +3 -0
- package/src/components/display/countdown/countdown.props.ts +26 -0
- package/src/components/display/countdown/countdown.types.ts +24 -0
- package/src/components/display/diff/Diff.story.vue +118 -0
- package/src/components/display/diff/Diff.vue +13 -0
- package/src/components/display/hover-3d/Hover3d.story.vue +154 -0
- package/src/components/display/hover-3d/Hover3d.vue +37 -0
- package/src/components/display/hover-3d/hover-3d.props.ts +9 -0
- package/src/components/display/hover-gallery/HoverGallery.story.vue +121 -0
- package/src/components/display/hover-gallery/HoverGallery.vue +5 -0
- package/src/components/display/kbd/Kbd.story.vue +214 -0
- package/src/components/display/kbd/Kbd.vue +32 -0
- package/src/components/display/kbd/kbd.context.ts +3 -0
- package/src/components/display/kbd/kbd.props.ts +12 -0
- package/src/components/display/kbd/kbd.types.ts +3 -0
- package/src/components/display/list/List.story.vue +381 -0
- package/src/components/display/list/List.vue +14 -0
- package/src/components/display/list/ListItem.vue +53 -0
- package/src/components/display/list/list-item.props.ts +19 -0
- package/src/components/display/list/list.props.ts +7 -0
- package/src/components/display/public.ts +20 -0
- package/src/components/display/public.types.ts +40 -0
- package/src/components/display/stat/Stat.story.vue +181 -0
- package/src/components/display/stat/Stat.vue +43 -0
- package/src/components/display/stat/Stats.vue +29 -0
- package/src/components/display/stat/stat.context.ts +3 -0
- package/src/components/display/stat/stat.props.ts +50 -0
- package/src/components/display/stat/stat.types.ts +1 -0
- package/src/components/display/stat/stats.context.ts +3 -0
- package/src/components/display/stat/stats.props.ts +11 -0
- package/src/components/display/stat/stats.types.ts +1 -0
- package/src/components/display/status/Status.story.vue +195 -0
- package/src/components/display/status/Status.vue +70 -0
- package/src/components/display/status/status.context.ts +3 -0
- package/src/components/display/status/status.props.ts +30 -0
- package/src/components/display/status/status.types.ts +5 -0
- package/src/components/feedback/alert/Alert.story.vue +243 -0
- package/src/components/feedback/alert/Alert.vue +46 -0
- package/src/components/feedback/alert/alert.context.ts +3 -0
- package/src/components/feedback/alert/alert.props.ts +29 -0
- package/src/components/feedback/alert/alert.types.ts +3 -0
- package/src/components/feedback/loading/Loading.story.vue +156 -0
- package/src/components/feedback/loading/Loading.vue +55 -0
- package/src/components/feedback/loading/loading.context.ts +3 -0
- package/src/components/feedback/loading/loading.props.ts +25 -0
- package/src/components/feedback/loading/loading.types.ts +5 -0
- package/src/components/feedback/progress/Progress.story.vue +96 -0
- package/src/components/feedback/progress/Progress.vue +36 -0
- package/src/components/feedback/progress/progress.context.ts +3 -0
- package/src/components/feedback/progress/progress.props.ts +27 -0
- package/src/components/feedback/progress/progress.types.ts +1 -0
- package/src/components/feedback/public.ts +5 -0
- package/src/components/feedback/public.types.ts +18 -0
- package/src/components/feedback/radial-progress/RadialProgress.story.vue +118 -0
- package/src/components/feedback/radial-progress/RadialProgress.vue +46 -0
- package/src/components/feedback/radial-progress/radial-progress.context.ts +3 -0
- package/src/components/feedback/radial-progress/radial-progress.props.ts +35 -0
- package/src/components/feedback/radial-progress/radial-progress.types.ts +9 -0
- package/src/components/feedback/toast/Toast.story.vue +356 -0
- package/src/components/feedback/toast/Toast.vue +40 -0
- package/src/components/feedback/toast/toast.context.ts +12 -0
- package/src/components/feedback/toast/toast.props.ts +33 -0
- package/src/components/feedback/toast/toast.types.ts +5 -0
- package/src/components/feedback/tooltip/Tooltip.story.vue +256 -0
- package/src/components/feedback/tooltip/Tooltip.vue +123 -0
- package/src/components/feedback/tooltip/tooltip.context.ts +3 -0
- package/src/components/feedback/tooltip/tooltip.props.ts +44 -0
- package/src/components/feedback/tooltip/tooltip.types.ts +2 -0
- package/src/components/layout/divider/Divider.story.vue +217 -0
- package/src/components/layout/divider/Divider.vue +48 -0
- package/src/components/layout/divider/divider.context.ts +3 -0
- package/src/components/layout/divider/divider.props.ts +28 -0
- package/src/components/layout/divider/divider.types.ts +3 -0
- package/src/components/layout/drawer/Drawer.story.vue +301 -0
- package/src/components/layout/drawer/Drawer.vue +88 -0
- package/src/components/layout/drawer/drawer.context.ts +3 -0
- package/src/components/layout/drawer/drawer.props.ts +25 -0
- package/src/components/layout/drawer/drawer.types.ts +6 -0
- package/src/components/layout/indicator/Indicator.story.vue +264 -0
- package/src/components/layout/indicator/Indicator.vue +43 -0
- package/src/components/layout/indicator/indicator.context.ts +3 -0
- package/src/components/layout/indicator/indicator.props.ts +27 -0
- package/src/components/layout/indicator/indicator.types.ts +2 -0
- package/src/components/layout/join/Join.story.vue +147 -0
- package/src/components/layout/join/Join.vue +32 -0
- package/src/components/layout/join/join.context.ts +3 -0
- package/src/components/layout/join/join.props.ts +14 -0
- package/src/components/layout/join/join.types.ts +1 -0
- package/src/components/layout/mask/Mask.story.vue +181 -0
- package/src/components/layout/mask/Mask.vue +49 -0
- package/src/components/layout/mask/mask.context.ts +3 -0
- package/src/components/layout/mask/mask.props.ts +36 -0
- package/src/components/layout/mask/mask.types.ts +18 -0
- package/src/components/layout/public.ts +6 -0
- package/src/components/layout/public.types.ts +18 -0
- package/src/components/layout/stack/Stack.story.vue +170 -0
- package/src/components/layout/stack/Stack.vue +29 -0
- package/src/components/layout/stack/stack.context.ts +3 -0
- package/src/components/layout/stack/stack.props.ts +12 -0
- package/src/components/layout/stack/stack.types.ts +1 -0
- package/src/components/media/img/Img.story.vue +214 -0
- package/src/components/media/img/Img.vue +189 -0
- package/src/components/media/img/img.context.ts +3 -0
- package/src/components/media/img/img.props.ts +88 -0
- package/src/components/media/img/img.types.ts +35 -0
- package/src/components/media/public.ts +1 -0
- package/src/components/media/public.types.ts +3 -0
- package/src/components/navigation/breadcrumbs/Breadcrumbs.story.vue +94 -0
- package/src/components/navigation/breadcrumbs/Breadcrumbs.vue +53 -0
- package/src/components/navigation/breadcrumbs/breadcrumbs.context.ts +3 -0
- package/src/components/navigation/breadcrumbs/breadcrumbs.props.ts +18 -0
- package/src/components/navigation/breadcrumbs/breadcrumbs.types.ts +13 -0
- package/src/components/navigation/dock/Dock.story.vue +109 -0
- package/src/components/navigation/dock/Dock.vue +32 -0
- package/src/components/navigation/dock/DockItem.vue +50 -0
- package/src/components/navigation/dock/dock.context.ts +4 -0
- package/src/components/navigation/dock/dock.props.ts +34 -0
- package/src/components/navigation/dock/dock.types.ts +3 -0
- package/src/components/navigation/link/Link.story.vue +129 -0
- package/src/components/navigation/link/Link.vue +57 -0
- package/src/components/navigation/link/link.context.ts +3 -0
- package/src/components/navigation/link/link.props.ts +20 -0
- package/src/components/navigation/link/link.types.ts +1 -0
- package/src/components/navigation/menu/Menu.story.vue +284 -0
- package/src/components/navigation/menu/Menu.vue +41 -0
- package/src/components/navigation/menu/MenuItem.vue +106 -0
- package/src/components/navigation/menu/menu.context.ts +4 -0
- package/src/components/navigation/menu/menu.props.ts +59 -0
- package/src/components/navigation/menu/menu.types.ts +4 -0
- package/src/components/navigation/navbar/Navbar.story.vue +154 -0
- package/src/components/navigation/navbar/Navbar.vue +8 -0
- package/src/components/navigation/public.ts +9 -0
- package/src/components/navigation/public.types.ts +15 -0
- package/src/components/navigation/tab/Tab.story.vue +186 -0
- package/src/components/navigation/tab/Tab.vue +106 -0
- package/src/components/navigation/tab/Tabs.vue +76 -0
- package/src/components/navigation/tab/tab.context.ts +13 -0
- package/src/components/navigation/tab/tab.props.ts +57 -0
- package/src/components/navigation/tab/tab.types.ts +5 -0
- package/src/composables/public.ts +5 -0
- package/src/composables/use-component-config.ts +44 -0
- package/src/composables/use-config.ts +6 -0
- package/src/composables/use-form-field.ts +99 -0
- package/src/composables/use-select-counter.ts +58 -0
- package/src/composables/use-toast.ts +47 -0
- package/src/config/config.type.ts +109 -0
- package/src/config/public.ts +2 -0
- package/src/config/public.types.ts +1 -0
- package/src/config/size.context.ts +4 -0
- package/src/config/symbol.ts +15 -0
- package/src/histoire.css +8 -0
- package/src/plugin-vue.ts +54 -0
- package/src/public.ts +12 -0
- package/src/stories/Configuration.story.md +55 -0
- package/src/types/public.ts +2 -0
- package/src/types/size.type.ts +1 -0
- package/src/types/utils.type.ts +5 -0
- package/src/utils/build-class.util.ts +38 -0
- package/src/utils/get-validation-message.ts +61 -0
- package/src/utils/path.ts +102 -0
- package/src/utils/props.util.ts +11 -0
- package/src/utils/public.ts +1 -0
- package/src/vite-env.d.ts +11 -0
- package/src/vue.d.ts +15 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type { BreadcrumbsProps } from './breadcrumbs/breadcrumbs.props';
|
|
2
|
+
export * from './breadcrumbs/breadcrumbs.types';
|
|
3
|
+
export type { DockItemProps, DockProps } from './dock/dock.props';
|
|
4
|
+
export * from './dock/dock.types';
|
|
5
|
+
export type { LinkProps } from './link/link.props';
|
|
6
|
+
export * from './link/link.types';
|
|
7
|
+
export type { MenuItemProps, MenuProps } from './menu/menu.props';
|
|
8
|
+
export * from './menu/menu.types';
|
|
9
|
+
export type { TabProps, TabsProps } from './tab/tab.props';
|
|
10
|
+
export * from './tab/tab.types';
|
|
11
|
+
//# sourceMappingURL=public.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.types.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/public.types.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AACvE,cAAc,iCAAiC,CAAA;AAE/C,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACjE,cAAc,mBAAmB,CAAA;AAEjC,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,cAAc,mBAAmB,CAAA;AAEjC,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACjE,cAAc,mBAAmB,CAAA;AAEjC,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC1D,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../public-D_MhbTxP.cjs");exports.Breadcrumbs=e.l,exports.Dock=e.c,exports.DockItem=e.s,exports.Link=e.o,exports.Menu=e.a,exports.MenuItem=e.i,exports.Navbar=e.r,exports.Tab=e.n,exports.Tabs=e.t;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TabProps } from './tab.props';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<TabProps, {
|
|
5
|
+
$el: Readonly<import('vue').ShallowRef<any, any>>;
|
|
6
|
+
focus: () => any;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TabProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
8
|
+
icon?: (props: {}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
title?: (props: {}) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: {}) => any;
|
|
13
|
+
}>;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=Tab.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/tab/Tab.vue"],"names":[],"mappings":"AAkHA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;wBACtB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;WAsKP,CAAC,KAAK,IAAiB,KAAK,GAAG;;YAC9B,CAAC,KAAK,IAAiB,KAAK,GAAG;;cAC7B,CAAC,KAAK,IAAiB,KAAK,GAAG;EAUzC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TabsProps } from './tab.props';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<TabsProps & {
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<TabsProps & {
|
|
9
|
+
modelValue?: string;
|
|
10
|
+
}> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?: (props: {}) => any;
|
|
14
|
+
}>;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=Tabs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/tab/Tabs.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;wBAqBvB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;iBAoCL,MAAM;;;;iBAAN,MAAM;;;;cA2CL,CAAC,KAAK,IAAgB,KAAK,GAAG;EAUxC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export declare const TABS_CONFIG: InjectionKey<Partial<import('./tab.props').TabsConfigurableProps>>;
|
|
3
|
+
export declare const TAB_CONFIG: InjectionKey<Partial<import('./tab.props').TabConfigurableProps>>;
|
|
4
|
+
export interface TabsContext {
|
|
5
|
+
activeValue: Ref<string | undefined>;
|
|
6
|
+
setActive: (value: string) => void;
|
|
7
|
+
register: (value: string, initiallyActive: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const TABS_CONTEXT: InjectionKey<TabsContext>;
|
|
10
|
+
//# sourceMappingURL=tab.context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.context.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/tab/tab.context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE5C,eAAO,MAAM,WAAW,oEAAmC,CAAA;AAC3D,eAAO,MAAM,UAAU,mEAAkC,CAAA;AAEzD,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACpC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,KAAK,IAAI,CAAA;CAC5D;AAED,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,WAAW,CAAkB,CAAA"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { TabPlacement, TabSize, TabVariant } from './tab.types';
|
|
3
|
+
export interface TabsConfigurableProps {
|
|
4
|
+
/**
|
|
5
|
+
* Visual variant of the tabs.
|
|
6
|
+
* - `'box'`: Boxed variant
|
|
7
|
+
* - `'border'`: With bottom border
|
|
8
|
+
* - `'lift'`: Lifted variant
|
|
9
|
+
*/
|
|
10
|
+
variant?: TabVariant;
|
|
11
|
+
/**
|
|
12
|
+
* Size of the tabs.
|
|
13
|
+
*
|
|
14
|
+
* @default 'md'
|
|
15
|
+
*/
|
|
16
|
+
size?: TabSize;
|
|
17
|
+
/**
|
|
18
|
+
* Placement of the tabs relative to content.
|
|
19
|
+
* - `'top'`: Tabs on top (default)
|
|
20
|
+
* - `'bottom'`: Tabs on bottom
|
|
21
|
+
*/
|
|
22
|
+
placement?: TabPlacement;
|
|
23
|
+
}
|
|
24
|
+
export interface TabsProps extends TabsConfigurableProps {
|
|
25
|
+
}
|
|
26
|
+
export interface TabConfigurableProps {
|
|
27
|
+
}
|
|
28
|
+
export interface TabProps extends TabConfigurableProps {
|
|
29
|
+
/**
|
|
30
|
+
* Unique value identifying this tab. Used with `v-model` on the parent `<Tabs>` for controlled mode.
|
|
31
|
+
*/
|
|
32
|
+
value?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Tab header label. Rendered inside the tab button.
|
|
35
|
+
* Can also be set via the `#title` slot for rich content.
|
|
36
|
+
*/
|
|
37
|
+
title?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the tab is active. Auto-computed when `value` is set and a parent `<Tabs v-model>` exists.
|
|
40
|
+
*
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
active?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the tab is disabled.
|
|
46
|
+
*
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Optional icon component displayed before the tab label.
|
|
52
|
+
*/
|
|
53
|
+
icon?: Component;
|
|
54
|
+
/**
|
|
55
|
+
* Navigation target (Vue Router location). When provided, renders as RouterLink.
|
|
56
|
+
*/
|
|
57
|
+
to?: string;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=tab.props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.props.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/tab/tab.props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACpE,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,YAAY,CAAA;CACzB;AACD,MAAM,WAAW,SAAU,SAAQ,qBAAqB;CAAG;AAE3D,MAAM,WAAW,oBAAoB;CAAG;AACxC,MAAM,WAAW,QAAS,SAAQ,oBAAoB;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.types.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/tab/tab.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAA;AAClD,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,QAAQ,CAAA;AAC3C,MAAM,MAAM,OAAO,GAAG,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../src/composables/public.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { n as e } from "../symbol-CziS7Pho.js";
|
|
2
|
+
import { n as t, t as n } from "../use-component-config-CaJQbJOW.js";
|
|
3
|
+
import { n as r } from "../toast.context-CTPY2imu.js";
|
|
4
|
+
import { n as i, t as a } from "../use-select-counter-D_-Qwz61.js";
|
|
5
|
+
import { inject as o, ref as s } from "vue";
|
|
6
|
+
//#region src/composables/use-config.ts
|
|
7
|
+
function c() {
|
|
8
|
+
return o(e, "md");
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/composables/use-toast.ts
|
|
12
|
+
function l() {
|
|
13
|
+
let e = o(r, null);
|
|
14
|
+
if (!e) {
|
|
15
|
+
let e = s([]), t = 0;
|
|
16
|
+
function n(n, i) {
|
|
17
|
+
let a = {
|
|
18
|
+
id: t++,
|
|
19
|
+
message: n,
|
|
20
|
+
duration: 3e3,
|
|
21
|
+
...i
|
|
22
|
+
};
|
|
23
|
+
e.value.push(a), a.duration && setTimeout(() => r(a.id), a.duration);
|
|
24
|
+
}
|
|
25
|
+
function r(t) {
|
|
26
|
+
e.value = e.value.filter((e) => e.id !== t);
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
toasts: e,
|
|
30
|
+
push: n,
|
|
31
|
+
dismiss: r
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
return e;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { n as mergeProps, t as useComponentConfig, i as useFormField, a as useSelectCounter, c as useSizeConfig, l as useToast };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=public.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.es.js","names":[],"sources":["../../src/composables/use-config.ts","../../src/composables/use-toast.ts"],"sourcesContent":["import { COMPONENT_SIZE } from '@/config/size.context'\nimport { inject } from 'vue'\n\nexport function useSizeConfig() {\n return inject(COMPONENT_SIZE, 'md')\n}\n","import type { ToastColor } from '@/components/feedback/public.types'\nimport { TOAST_CONTEXT_KEY } from '@/components/feedback/toast/toast.context'\nimport { inject, ref } from 'vue'\n\nexport type ToastItem = {\n id: number\n message: string\n color?: ToastColor\n duration?: number\n}\n\n/**\n * Composable to push and dismiss toast notifications.\n *\n * Must be used inside a component tree wrapped by `<PoppyApp>`,\n * which provides the toast context via `provide()`.\n *\n * @nuxt-safe — State lives in the component tree via provide/inject,\n * avoiding module-level singletons that would be shared across SSR requests.\n *\n * @example\n * const { push, dismiss } = useToast()\n * push('Saved!', { color: 'success' })\n */\nexport function useToast() {\n const ctx = inject(TOAST_CONTEXT_KEY, null)\n\n if (!ctx) {\n // Fallback for usage outside PoppyApp (e.g. unit tests, Storybook variants)\n const toasts = ref<ToastItem[]>([])\n let nextId = 0\n\n function push(message: string, options?: Partial<Omit<ToastItem, 'id' | 'message'>>) {\n const item: ToastItem = { id: nextId++, message, duration: 3000, ...options }\n toasts.value.push(item)\n if (item.duration) setTimeout(() => dismiss(item.id), item.duration)\n }\n\n function dismiss(id: number) {\n toasts.value = toasts.value.filter(t => t.id !== id)\n }\n\n return { toasts, push, dismiss }\n }\n\n return ctx\n}\n"],"mappings":";;;;;;AAGA,SAAgB,IAAgB;CAC9B,OAAO,EAAO,GAAgB,IAAI;AACpC;;;ACmBA,SAAgB,IAAW;CACzB,IAAM,IAAM,EAAO,GAAmB,IAAI;CAE1C,IAAI,CAAC,GAAK;EAER,IAAM,IAAS,EAAiB,CAAC,CAAC,GAC9B,IAAS;EAEb,SAAS,EAAK,GAAiB,GAAsD;GACnF,IAAM,IAAkB;IAAE,IAAI;IAAU;IAAS,UAAU;IAAM,GAAG;GAAQ;GAE5E,AADA,EAAO,MAAM,KAAK,CAAI,GAClB,EAAK,YAAU,iBAAiB,EAAQ,EAAK,EAAE,GAAG,EAAK,QAAQ;EACrE;EAEA,SAAS,EAAQ,GAAY;GAC3B,EAAO,QAAQ,EAAO,MAAM,QAAO,MAAK,EAAE,OAAO,CAAE;EACrD;EAEA,OAAO;GAAE;GAAQ;GAAM;EAAQ;CACjC;CAEA,OAAO;AACT"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../symbol-Cleu4XHu.cjs"),t=require("../use-component-config-C-IlXF0W.cjs"),n=require("../toast.context-BNg0Zn09.cjs"),r=require("../use-select-counter-CgQha-_T.cjs");let i=require("vue");function a(){return(0,i.inject)(e.n,`md`)}function o(){let e=(0,i.inject)(n.n,null);if(!e){let e=(0,i.ref)([]),n=0;function t(t,i){let a={id:n++,message:t,duration:3e3,...i};e.value.push(a),a.duration&&setTimeout(()=>r(a.id),a.duration)}function r(t){e.value=e.value.filter(e=>e.id!==t)}return{toasts:e,push:t,dismiss:r}}return e}exports.mergeProps=t.t,exports.useComponentConfig=t.n,exports.useFormField=r.n,exports.useSelectCounter=r.t,exports.useSizeConfig=a,exports.useToast=o;
|
|
2
|
+
//# sourceMappingURL=public.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.umd.js","names":[],"sources":["../../src/composables/use-config.ts","../../src/composables/use-toast.ts"],"sourcesContent":["import { COMPONENT_SIZE } from '@/config/size.context'\nimport { inject } from 'vue'\n\nexport function useSizeConfig() {\n return inject(COMPONENT_SIZE, 'md')\n}\n","import type { ToastColor } from '@/components/feedback/public.types'\nimport { TOAST_CONTEXT_KEY } from '@/components/feedback/toast/toast.context'\nimport { inject, ref } from 'vue'\n\nexport type ToastItem = {\n id: number\n message: string\n color?: ToastColor\n duration?: number\n}\n\n/**\n * Composable to push and dismiss toast notifications.\n *\n * Must be used inside a component tree wrapped by `<PoppyApp>`,\n * which provides the toast context via `provide()`.\n *\n * @nuxt-safe — State lives in the component tree via provide/inject,\n * avoiding module-level singletons that would be shared across SSR requests.\n *\n * @example\n * const { push, dismiss } = useToast()\n * push('Saved!', { color: 'success' })\n */\nexport function useToast() {\n const ctx = inject(TOAST_CONTEXT_KEY, null)\n\n if (!ctx) {\n // Fallback for usage outside PoppyApp (e.g. unit tests, Storybook variants)\n const toasts = ref<ToastItem[]>([])\n let nextId = 0\n\n function push(message: string, options?: Partial<Omit<ToastItem, 'id' | 'message'>>) {\n const item: ToastItem = { id: nextId++, message, duration: 3000, ...options }\n toasts.value.push(item)\n if (item.duration) setTimeout(() => dismiss(item.id), item.duration)\n }\n\n function dismiss(id: number) {\n toasts.value = toasts.value.filter(t => t.id !== id)\n }\n\n return { toasts, push, dismiss }\n }\n\n return ctx\n}\n"],"mappings":"+QAGA,SAAgB,GAAgB,CAC9B,OAAA,EAAA,EAAA,QAAc,EAAA,EAAgB,IAAI,CACpC,CCmBA,SAAgB,GAAW,CACzB,IAAM,GAAA,EAAA,EAAA,QAAa,EAAA,EAAmB,IAAI,EAE1C,GAAI,CAAC,EAAK,CAER,IAAM,GAAA,EAAA,EAAA,KAA0B,CAAC,CAAC,EAC9B,EAAS,EAEb,SAAS,EAAK,EAAiB,EAAsD,CACnF,IAAM,EAAkB,CAAE,GAAI,IAAU,UAAS,SAAU,IAAM,GAAG,CAAQ,EAC5E,EAAO,MAAM,KAAK,CAAI,EAClB,EAAK,UAAU,eAAiB,EAAQ,EAAK,EAAE,EAAG,EAAK,QAAQ,CACrE,CAEA,SAAS,EAAQ,EAAY,CAC3B,EAAO,MAAQ,EAAO,MAAM,OAAO,GAAK,EAAE,KAAO,CAAE,CACrD,CAEA,MAAO,CAAE,SAAQ,OAAM,SAAQ,CACjC,CAEA,OAAO,CACT"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Merges objects while ignoring `undefined` values, allowing lower-priority
|
|
4
|
+
* configuration to remain in effect.
|
|
5
|
+
*
|
|
6
|
+
* Priority order (rightmost wins):
|
|
7
|
+
* defaults → pluginConfig → contextOverrides (Form → FormField) → local props
|
|
8
|
+
*/
|
|
9
|
+
export declare function mergeProps<T extends Record<string, any>[]>(...objects: T): any;
|
|
10
|
+
/**
|
|
11
|
+
* Resolves the final config of a component by merging in the following order:
|
|
12
|
+
*
|
|
13
|
+
* 1. `defaults` — hardcoded component defaults (e.g. `{ size: 'md', counter: false }`)
|
|
14
|
+
* 2. `pluginConfig` — inject(key) — global config provided via PoppyPlugin
|
|
15
|
+
* 3. `contextOverrides` — values inherited from Form / FormField (passed explicitly)
|
|
16
|
+
* 4. `props` — local props declared on the instance (highest priority)
|
|
17
|
+
*
|
|
18
|
+
* `undefined` values are ignored at each level, which allows `false` to correctly
|
|
19
|
+
* override a parent value without `undefined` inadvertently clearing it.
|
|
20
|
+
*
|
|
21
|
+
* @param key - InjectionKey for the component's pluginConfig
|
|
22
|
+
* @param props - Instance props (defineProps)
|
|
23
|
+
* @param defaults - Hardcoded default values
|
|
24
|
+
* @param contextOverrides - Values inherited from the Form/FormField context (optional)
|
|
25
|
+
*/
|
|
26
|
+
export declare function useComponentConfig<T extends Record<string, any>, P extends Record<string, any>>(key: InjectionKey<T>, props: P, defaults?: Partial<P & T>, contextOverrides?: Record<string, any>): ComputedRef<P & T>;
|
|
27
|
+
//# sourceMappingURL=use-component-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-component-config.d.ts","sourceRoot":"","sources":["../../src/composables/use-component-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAY,KAAK,YAAY,EAAU,MAAM,KAAK,CAAA;AAE3E;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,GAAG,GAAG,CAK9E;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7F,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC,EACpB,KAAK,EAAE,CAAC,EACR,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,EACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACrC,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,CAKpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-config.d.ts","sourceRoot":"","sources":["../../src/composables/use-config.ts"],"names":[],"mappings":"AAGA,wBAAgB,aAAa,+CAE5B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FormFieldContext } from '../components/data/form-field/form-field.context';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
export interface UseFormFieldOptions {
|
|
4
|
+
required: ComputedRef<boolean>;
|
|
5
|
+
inputEl?: Ref<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | null>;
|
|
6
|
+
}
|
|
7
|
+
export interface UseFormFieldReturn<T> {
|
|
8
|
+
/** The FormFieldContext when inside a <FormField>, null otherwise. */
|
|
9
|
+
field: FormFieldContext<T> | null;
|
|
10
|
+
/** The current field value typed as T, or undefined when not in a FormField. */
|
|
11
|
+
fieldValue: ComputedRef<T | undefined>;
|
|
12
|
+
/** True when the field has a server-side error set via setErrors(). */
|
|
13
|
+
hasServerError: ComputedRef<boolean>;
|
|
14
|
+
/** Triggers HTML5 constraint validation on the input element. */
|
|
15
|
+
validate: () => boolean;
|
|
16
|
+
/** To be called on the input's blur event — marks the field as touched. */
|
|
17
|
+
onBlur: () => void;
|
|
18
|
+
/** Clears the current field error. */
|
|
19
|
+
clearError: () => void;
|
|
20
|
+
/** Sets a custom validation message (delegates to el.setCustomValidity). */
|
|
21
|
+
setDelegateMessage: (msg: string) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare function useFormField<T = unknown>(options: UseFormFieldOptions): UseFormFieldReturn<T>;
|
|
24
|
+
//# sourceMappingURL=use-form-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-form-field.d.ts","sourceRoot":"","sources":["../../src/composables/use-form-field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAA;AAGvF,OAAO,EAAE,KAAK,WAAW,EAA4C,KAAK,GAAG,EAAS,MAAM,KAAK,CAAA;AAGjG,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC9B,OAAO,CAAC,EAAE,GAAG,CAAC,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,IAAI,CAAC,CAAA;CACjF;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,sEAAsE;IACtE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;IACjC,gFAAgF;IAChF,UAAU,EAAE,WAAW,CAAC,CAAC,GAAG,SAAS,CAAC,CAAA;IACtC,uEAAuE;IACvE,cAAc,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IACpC,iEAAiE;IACjE,QAAQ,EAAE,MAAM,OAAO,CAAA;IACvB,2EAA2E;IAC3E,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,sCAAsC;IACtC,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,4EAA4E;IAC5E,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CAC1C;AAED,wBAAgB,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,OAAO,EAAE,mBAAmB,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAsE7F"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CounterFn } from '../types/utils.type';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
export declare function useSelectCounter(selectedCount: Ref<number>, options: {
|
|
4
|
+
multiple?: Ref<boolean | undefined>;
|
|
5
|
+
min?: Ref<number | undefined>;
|
|
6
|
+
max?: Ref<number | undefined>;
|
|
7
|
+
formatter?: Ref<CounterFn | undefined>;
|
|
8
|
+
}): {
|
|
9
|
+
counterText: import('vue').ComputedRef<string | null>;
|
|
10
|
+
counterColor: import('vue').ComputedRef<"text-error" | "text-warning" | "opacity-40">;
|
|
11
|
+
isAtMax: import('vue').ComputedRef<boolean>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=use-select-counter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-select-counter.d.ts","sourceRoot":"","sources":["../../src/composables/use-select-counter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAY,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAExC,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,EAC1B,OAAO,EAAE;IACP,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;IACnC,GAAG,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7B,GAAG,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7B,SAAS,CAAC,EAAE,GAAG,CAAC,SAAS,GAAG,SAAS,CAAC,CAAA;CACvC;;;;EA+CF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ToastColor } from '../components/feedback/public.types';
|
|
2
|
+
export type ToastItem = {
|
|
3
|
+
id: number;
|
|
4
|
+
message: string;
|
|
5
|
+
color?: ToastColor;
|
|
6
|
+
duration?: number;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Composable to push and dismiss toast notifications.
|
|
10
|
+
*
|
|
11
|
+
* Must be used inside a component tree wrapped by `<PoppyApp>`,
|
|
12
|
+
* which provides the toast context via `provide()`.
|
|
13
|
+
*
|
|
14
|
+
* @nuxt-safe — State lives in the component tree via provide/inject,
|
|
15
|
+
* avoiding module-level singletons that would be shared across SSR requests.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* const { push, dismiss } = useToast()
|
|
19
|
+
* push('Saved!', { color: 'success' })
|
|
20
|
+
*/
|
|
21
|
+
export declare function useToast(): import('../components/feedback/toast/toast.context').ToastContext | {
|
|
22
|
+
toasts: import('vue').Ref<{
|
|
23
|
+
id: number;
|
|
24
|
+
message: string;
|
|
25
|
+
color?: ToastColor | undefined;
|
|
26
|
+
duration?: number | undefined;
|
|
27
|
+
}[], ToastItem[] | {
|
|
28
|
+
id: number;
|
|
29
|
+
message: string;
|
|
30
|
+
color?: ToastColor | undefined;
|
|
31
|
+
duration?: number | undefined;
|
|
32
|
+
}[]>;
|
|
33
|
+
push: (message: string, options?: Partial<Omit<ToastItem, "id" | "message">>) => void;
|
|
34
|
+
dismiss: (id: number) => void;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=use-toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-toast.d.ts","sourceRoot":"","sources":["../../src/composables/use-toast.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAIpE,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ;;YAnBlB,MAAM;iBACD,MAAM;gBACP,UAAU;mBACP,MAAM;;YAHb,MAAM;iBACD,MAAM;gBACP,UAAU;mBACP,MAAM;;oBAwBQ,MAAM,YAAY,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC,CAAC;kBAM9D,MAAM;EAQ9B"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ButtonConfigurableProps } from '../components/actions/button/button.props';
|
|
2
|
+
import { DropdownConfigurableProps } from '../components/actions/dropdown/dropdown.props';
|
|
3
|
+
import { FabConfigurableProps } from '../components/actions/fab/fab.props';
|
|
4
|
+
import { ModalConfigurableProps } from '../components/actions/modal/modal.props';
|
|
5
|
+
import { SwapConfigurableProps } from '../components/actions/swap/swap.props';
|
|
6
|
+
import { CheckboxConfigurableProps } from '../components/data/checkbox/checkbox.props';
|
|
7
|
+
import { FormConfigurableProps } from '../components/data/form/form.props';
|
|
8
|
+
import { FormFieldConfigurableProps } from '../components/data/form-field/form-field.props';
|
|
9
|
+
import { InputConfigurableProps } from '../components/data/input/input.props';
|
|
10
|
+
import { RadioConfigurableProps } from '../components/data/radio/radio.props';
|
|
11
|
+
import { RatingConfigurableProps } from '../components/data/rating/rating.props';
|
|
12
|
+
import { SelectConfigurableProps } from '../components/data/select/select.props';
|
|
13
|
+
import { SliderConfigurableProps } from '../components/data/slider/slider.props';
|
|
14
|
+
import { TextareaConfigurableProps } from '../components/data/textarea/textarea.props';
|
|
15
|
+
import { ToggleConfigurableProps } from '../components/data/toggle/toggle.props';
|
|
16
|
+
import { AccordionItemConfigurableProps } from '../components/display/accordion/accordion-item.props';
|
|
17
|
+
import { AvatarConfigurableProps } from '../components/display/avatar/avatar.props';
|
|
18
|
+
import { BadgeConfigurableProps } from '../components/display/badge/badge.props';
|
|
19
|
+
import { CardConfigurableProps } from '../components/display/card/card.props';
|
|
20
|
+
import { CardActionsConfigurableProps } from '../components/display/card/card-actions.props';
|
|
21
|
+
import { CarouselConfigurableProps } from '../components/display/carousel/carousel.props';
|
|
22
|
+
import { ChatConfigurableProps } from '../components/display/chat/chat.props';
|
|
23
|
+
import { CountdownConfigurableProps } from '../components/display/countdown/countdown.props';
|
|
24
|
+
import { KbdConfigurableProps } from '../components/display/kbd/kbd.props';
|
|
25
|
+
import { StatConfigurableProps } from '../components/display/stat/stat.props';
|
|
26
|
+
import { StatsConfigurableProps } from '../components/display/stat/stats.props';
|
|
27
|
+
import { StatusConfigurableProps } from '../components/display/status/status.props';
|
|
28
|
+
import { AlertConfigurableProps } from '../components/feedback/alert/alert.props';
|
|
29
|
+
import { LoadingConfigurableProps } from '../components/feedback/loading/loading.props';
|
|
30
|
+
import { ProgressConfigurableProps } from '../components/feedback/progress/progress.props';
|
|
31
|
+
import { RadialProgressConfigurableProps } from '../components/feedback/radial-progress/radial-progress.props';
|
|
32
|
+
import { ToastConfigurableProps } from '../components/feedback/toast/toast.props';
|
|
33
|
+
import { TooltipConfigurableProps } from '../components/feedback/tooltip/tooltip.props';
|
|
34
|
+
import { DividerConfigurableProps } from '../components/layout/divider/divider.props';
|
|
35
|
+
import { DrawerConfigurableProps } from '../components/layout/drawer/drawer.props';
|
|
36
|
+
import { IndicatorConfigurableProps } from '../components/layout/indicator/indicator.props';
|
|
37
|
+
import { JoinConfigurableProps } from '../components/layout/join/join.props';
|
|
38
|
+
import { MaskConfigurableProps } from '../components/layout/mask/mask.props';
|
|
39
|
+
import { StackConfigurableProps } from '../components/layout/stack/stack.props';
|
|
40
|
+
import { ImgConfigurableProps } from '../components/media/img/img.props';
|
|
41
|
+
import { BreadcrumbsConfigurableProps } from '../components/navigation/breadcrumbs/breadcrumbs.props';
|
|
42
|
+
import { DockConfigurableProps, DockItemConfigurableProps } from '../components/navigation/dock/dock.props';
|
|
43
|
+
import { LinkConfigurableProps } from '../components/navigation/link/link.props';
|
|
44
|
+
import { MenuConfigurableProps, MenuItemConfigurableProps } from '../components/navigation/menu/menu.props';
|
|
45
|
+
import { TabConfigurableProps, TabsConfigurableProps } from '../components/navigation/tab/tab.props';
|
|
46
|
+
export interface PoppyComponentConfig {
|
|
47
|
+
button: ButtonConfigurableProps;
|
|
48
|
+
dropdown: DropdownConfigurableProps;
|
|
49
|
+
fab: FabConfigurableProps;
|
|
50
|
+
modal: ModalConfigurableProps;
|
|
51
|
+
swap: SwapConfigurableProps;
|
|
52
|
+
checkbox: CheckboxConfigurableProps;
|
|
53
|
+
form: FormConfigurableProps;
|
|
54
|
+
formField: FormFieldConfigurableProps;
|
|
55
|
+
radio: RadioConfigurableProps;
|
|
56
|
+
rating: RatingConfigurableProps;
|
|
57
|
+
input: InputConfigurableProps;
|
|
58
|
+
select: SelectConfigurableProps;
|
|
59
|
+
slider: SliderConfigurableProps;
|
|
60
|
+
textarea: TextareaConfigurableProps;
|
|
61
|
+
toggle: ToggleConfigurableProps;
|
|
62
|
+
accordionItem: AccordionItemConfigurableProps;
|
|
63
|
+
avatar: AvatarConfigurableProps;
|
|
64
|
+
badge: BadgeConfigurableProps;
|
|
65
|
+
card: CardConfigurableProps;
|
|
66
|
+
cardActions: CardActionsConfigurableProps;
|
|
67
|
+
carousel: CarouselConfigurableProps;
|
|
68
|
+
chat: ChatConfigurableProps;
|
|
69
|
+
countdown: CountdownConfigurableProps;
|
|
70
|
+
kbd: KbdConfigurableProps;
|
|
71
|
+
stat: StatConfigurableProps;
|
|
72
|
+
stats: StatsConfigurableProps;
|
|
73
|
+
status: StatusConfigurableProps;
|
|
74
|
+
alert: AlertConfigurableProps;
|
|
75
|
+
loading: LoadingConfigurableProps;
|
|
76
|
+
progress: ProgressConfigurableProps;
|
|
77
|
+
radialProgress: RadialProgressConfigurableProps;
|
|
78
|
+
toast: ToastConfigurableProps;
|
|
79
|
+
tooltip: TooltipConfigurableProps;
|
|
80
|
+
divider: DividerConfigurableProps;
|
|
81
|
+
drawer: DrawerConfigurableProps;
|
|
82
|
+
indicator: IndicatorConfigurableProps;
|
|
83
|
+
join: JoinConfigurableProps;
|
|
84
|
+
mask: MaskConfigurableProps;
|
|
85
|
+
stack: StackConfigurableProps;
|
|
86
|
+
breadcrumbs: BreadcrumbsConfigurableProps;
|
|
87
|
+
dock: DockConfigurableProps;
|
|
88
|
+
dockItem: DockItemConfigurableProps;
|
|
89
|
+
link: LinkConfigurableProps;
|
|
90
|
+
menu: MenuConfigurableProps;
|
|
91
|
+
menuItem: MenuItemConfigurableProps;
|
|
92
|
+
tab: TabConfigurableProps;
|
|
93
|
+
tabs: TabsConfigurableProps;
|
|
94
|
+
img: ImgConfigurableProps;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=config.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.type.d.ts","sourceRoot":"","sources":["../../src/config/config.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAA;AACvF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAA;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AACjF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAA;AAC1F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AAC9E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAA;AAC/F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AACjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AACpF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AACpF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAA;AAC1F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AACpF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qDAAqD,CAAA;AACzG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAA;AACvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AACjF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAA;AAChG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAA;AAC7F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AACjF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAA;AAChG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AACjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAA;AACnF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAA;AACvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAA;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAA;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAA;AAC9F,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6DAA6D,CAAA;AAClH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAA;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAA;AAC3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAA;AACzF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAA;AACtF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAA;AAC/F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAA;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAA;AAC5E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAA;AACzG,OAAO,KAAK,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AAC/G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAA;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAA;AAC/G,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAExG,MAAM,WAAW,oBAAoB;IAEnC,MAAM,EAAE,uBAAuB,CAAA;IAC/B,QAAQ,EAAE,yBAAyB,CAAA;IACnC,GAAG,EAAE,oBAAoB,CAAA;IACzB,KAAK,EAAE,sBAAsB,CAAA;IAC7B,IAAI,EAAE,qBAAqB,CAAA;IAG3B,QAAQ,EAAE,yBAAyB,CAAA;IACnC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,SAAS,EAAE,0BAA0B,CAAA;IACrC,KAAK,EAAE,sBAAsB,CAAA;IAC7B,MAAM,EAAE,uBAAuB,CAAA;IAC/B,KAAK,EAAE,sBAAsB,CAAA;IAC7B,MAAM,EAAE,uBAAuB,CAAA;IAC/B,MAAM,EAAE,uBAAuB,CAAA;IAC/B,QAAQ,EAAE,yBAAyB,CAAA;IACnC,MAAM,EAAE,uBAAuB,CAAA;IAG/B,aAAa,EAAE,8BAA8B,CAAA;IAC7C,MAAM,EAAE,uBAAuB,CAAA;IAC/B,KAAK,EAAE,sBAAsB,CAAA;IAC7B,IAAI,EAAE,qBAAqB,CAAA;IAC3B,WAAW,EAAE,4BAA4B,CAAA;IACzC,QAAQ,EAAE,yBAAyB,CAAA;IACnC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,SAAS,EAAE,0BAA0B,CAAA;IACrC,GAAG,EAAE,oBAAoB,CAAA;IACzB,IAAI,EAAE,qBAAqB,CAAA;IAC3B,KAAK,EAAE,sBAAsB,CAAA;IAC7B,MAAM,EAAE,uBAAuB,CAAA;IAG/B,KAAK,EAAE,sBAAsB,CAAA;IAC7B,OAAO,EAAE,wBAAwB,CAAA;IACjC,QAAQ,EAAE,yBAAyB,CAAA;IACnC,cAAc,EAAE,+BAA+B,CAAA;IAC/C,KAAK,EAAE,sBAAsB,CAAA;IAC7B,OAAO,EAAE,wBAAwB,CAAA;IAGjC,OAAO,EAAE,wBAAwB,CAAA;IACjC,MAAM,EAAE,uBAAuB,CAAA;IAC/B,SAAS,EAAE,0BAA0B,CAAA;IACrC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,IAAI,EAAE,qBAAqB,CAAA;IAC3B,KAAK,EAAE,sBAAsB,CAAA;IAG7B,WAAW,EAAE,4BAA4B,CAAA;IACzC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,QAAQ,EAAE,yBAAyB,CAAA;IACnC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,IAAI,EAAE,qBAAqB,CAAA;IAC3B,QAAQ,EAAE,yBAAyB,CAAA;IACnC,GAAG,EAAE,oBAAoB,CAAA;IACzB,IAAI,EAAE,qBAAqB,CAAA;IAG3B,GAAG,EAAE,oBAAoB,CAAA;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../src/config/public.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.types.d.ts","sourceRoot":"","sources":["../../src/config/public.types.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../symbol-Cleu4XHu.cjs");exports.COMPONENT_SIZE=e.n,exports.createComponentConfigKey=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"size.context.d.ts","sourceRoot":"","sources":["../../src/config/size.context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAEvC,eAAO,MAAM,cAAc,EAAoC,YAAY,CAAC,aAAa,CAAC,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PoppyComponentConfig } from './config.type';
|
|
2
|
+
import { InjectionKey } from 'vue';
|
|
3
|
+
export declare function createComponentConfigKey<K extends keyof PoppyComponentConfig>(name: K): InjectionKey<Partial<PoppyComponentConfig[K]>>;
|
|
4
|
+
//# sourceMappingURL=symbol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"symbol.d.ts","sourceRoot":"","sources":["../../src/config/symbol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAIvC,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,MAAM,oBAAoB,EAAE,IAAI,EAAE,CAAC,kDASrF"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PoppyComponentConfig } from './config/config.type';
|
|
2
|
+
import { ComponentSize } from './types/size.type';
|
|
3
|
+
type Plugin<T> = import('vue').Plugin<T>;
|
|
4
|
+
declare global {
|
|
5
|
+
export interface Window {
|
|
6
|
+
/**
|
|
7
|
+
* Poppy UI plugin options for debugging purposes. This is only set if the `debug` option is enabled when installing the plugin.
|
|
8
|
+
*
|
|
9
|
+
* @since 0.0.0
|
|
10
|
+
*/
|
|
11
|
+
__POPPY_UI_PLUGIN_OPTIONS__?: PluginOptions;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export interface PluginOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Default size for all components. This will be used as the default size for any component that doesn't have a specific size prop set. You can override this default size on a per-component basis by providing specific configurations in the `components` option or by passing the `size` prop directly to individual components.
|
|
17
|
+
* @since 0.0.0
|
|
18
|
+
*/
|
|
19
|
+
size?: ComponentSize;
|
|
20
|
+
/**
|
|
21
|
+
* Component-specific default configurations. You can specify default props for each component here, which will be merged with the props passed directly to the component. This allows you to set global defaults for your components while still allowing individual instances to override them as needed.
|
|
22
|
+
* @since 0.0.0
|
|
23
|
+
*/
|
|
24
|
+
components?: Partial<PoppyComponentConfig>;
|
|
25
|
+
/**
|
|
26
|
+
* Allows you to enable debug mode, which will log the plugin options to the console and expose them on the `window` object for easier debugging.
|
|
27
|
+
* @since 0.0.0
|
|
28
|
+
*/
|
|
29
|
+
debug?: true;
|
|
30
|
+
}
|
|
31
|
+
export declare const PoppyUi: Plugin<[PluginOptions?]>;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=plugin-vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-vue.d.ts","sourceRoot":"","sources":["../src/plugin-vue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAGhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,KAAK,MAAM,CAAC,CAAC,IAAI,OAAO,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAA;AAExC,OAAO,CAAC,MAAM,CAAC;IACb,MAAM,WAAW,MAAM;QACrB;;;;WAIG;QACH,2BAA2B,CAAC,EAAE,aAAa,CAAA;KAC5C;CACF;AAED,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAA;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAA;IAE1C;;;OAGG;IACH,KAAK,CAAC,EAAE,IAAI,CAAA;CACb;AAED,eAAO,MAAM,OAAO,EAcf,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("./symbol-Cleu4XHu.cjs"),t=require("./use-component-config-C-IlXF0W.cjs"),n=require("./build-class.util-Lo1-M_t1.cjs"),r=require("./_plugin-vue_export-helper-BTmtiIyf.cjs"),i=require("./ClassWrapper-BNZO3mhP.cjs");let a=require("vue"),o=require("vue-router"),s=require("@lucide/vue");var c=Symbol(`accordion`),l={class:`flex flex-col gap-2`},u=(0,a.defineComponent)({__name:`Accordion`,props:(0,a.mergeModels)({multiple:{type:Boolean},defaultOpen:{},modelValue:{}},{modelValue:{},modelModifiers:{}}),emits:(0,a.mergeModels)([`change`,`open`,`close`,`toggle`],[`update:modelValue`]),setup(e,{expose:t,emit:n}){let r=e,i=(0,a.useModel)(e,`modelValue`),o=n,s=(0,a.shallowRef)(r.defaultOpen??(r.multiple?[]:null)),u=(0,a.computed)(()=>i.value===void 0?s.value:i.value);function d(e){s.value=e,i.value=e,o(`change`,e)}function f(e){if(r.multiple){let t=u.value??[],n=!t.includes(e),r=n?[...t,e]:t.filter(t=>t!==e);d(r),o(`toggle`,r,n),o(n?`open`:`close`,r);return}let t=u.value!==e;d(t?e:null),o(`toggle`,t?e:null,t),o(t?`open`:`close`,e)}function p(e){return r.multiple?(u.value??[]).includes(e):u.value===e}function m(e){p(e)||f(e)}function h(e){p(e)&&f(e)}function g(e){r.multiple&&(d(e),o(`open`,e))}function _(){let e=r.multiple?[]:null;d(e),o(`close`,e)}return(0,a.provide)(c,{multiple:r.multiple??!1,modelValue:u,toggle:f,isOpen:p}),t({open:m,close:h,toggle:f,isOpen:p,openAll:g,closeAll:_}),(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,l,[(0,a.renderSlot)(e.$slots,`default`)]))}}),d=e.t(`accordionItem`),f={class:`rounded-box border border-base-content/10 overflow-hidden`},p={class:`flex-1 min-w-0`},m={key:0,class:`px-4 py-3 bg-base-100`},h=(0,a.defineComponent)({__name:`AccordionItem`,props:{name:{},icon:{}},emits:[`open`,`close`,`toggle`],setup(e,{expose:n,emit:r}){let i=e,o=t.n(d,i,{icon:`arrow`}),l=r,u=(0,a.inject)(c,null),h=(0,a.computed)(()=>u?.isOpen(i.name)??!1);function g(){u?.toggle(i.name);let e=!h.value;l(`toggle`,e),l(e?`open`:`close`)}function _(){h.value||g()}function v(){h.value&&g()}function y(e){requestAnimationFrame(e)}return n({open:_,close:v,toggle:g,isOpen:h}),(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,f,[(0,a.createElementVNode)(`div`,{class:`flex items-center justify-between gap-3 px-4 py-3 cursor-pointer select-none bg-base-200 hover:bg-base-300 transition-colors`,onClick:g},[(0,a.createElementVNode)(`div`,p,[(0,a.renderSlot)(e.$slots,`title`,{isOpen:h.value},void 0,!0)]),(0,a.renderSlot)(e.$slots,`icon`,{isOpen:h.value},()=>[(0,a.unref)(o).icon===`plus`?((0,a.openBlock)(),(0,a.createBlock)((0,a.unref)(s.PlusIcon),{key:0,class:(0,a.normalizeClass)([`size-4 opacity-50 transition-transform shrink-0`,h.value&&`rotate-45`])},null,8,[`class`])):((0,a.openBlock)(),(0,a.createBlock)((0,a.unref)(s.ChevronDownIcon),{key:1,class:(0,a.normalizeClass)([`size-4 opacity-50 transition-transform shrink-0`,h.value&&`rotate-180`])},null,8,[`class`]))],!0)]),(0,a.createVNode)(a.Transition,{name:`accordion`,onEnter:t[0]||=e=>{e.style.maxHeight=e.scrollHeight+`px`},onAfterEnter:t[1]||=e=>{e.style.maxHeight=`none`},onLeave:t[2]||=e=>{e.style.maxHeight=e.scrollHeight+`px`,y(()=>e.style.maxHeight=`0`)}},{default:(0,a.withCtx)(()=>[h.value?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,m,[(0,a.renderSlot)(e.$slots,`default`,{isOpen:h.value},void 0,!0)])):(0,a.createCommentVNode)(``,!0)]),_:3})]))}}),g=r.t(h,[[`__scopeId`,`data-v-b846d115`]]),_=e.t(`avatar`),v={key:0,class:`avatar-group -space-x-6`},y={xs:`w-8`,sm:`w-16`,md:`w-20`,lg:`w-24`,xl:`w-32`},ee={online:`avatar-online`,offline:`avatar-offline`},te=(0,a.defineComponent)({__name:`Avatar`,props:{group:{type:Boolean},placeholder:{type:Boolean},size:{},shape:{},presence:{}},setup(e){let r=t.n(_,e,{shape:`rounded-full`});return(t,i)=>e.group?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,v,[(0,a.renderSlot)(t.$slots,`default`)])):((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:1,class:(0,a.normalizeClass)([`avatar`,[(0,a.unref)(n.n)(ee,(0,a.unref)(r).presence),e.placeholder&&`avatar-placeholder`]])},[(0,a.createElementVNode)(`div`,{class:(0,a.normalizeClass)([(0,a.unref)(n.n)(y,(0,a.unref)(r).size),(0,a.unref)(r).shape])},[(0,a.renderSlot)(t.$slots,`default`)],2)],2))}}),ne=e.t(`badge`),re={neutral:`badge-neutral`,primary:`badge-primary`,secondary:`badge-secondary`,accent:`badge-accent`,info:`badge-info`,success:`badge-success`,warning:`badge-warning`,error:`badge-error`},ie={outline:`badge-outline`,soft:`badge-soft`,dash:`badge-dash`},b={xs:`badge-xs`,sm:`badge-sm`,md:`badge-md`,lg:`badge-lg`,xl:`badge-xl`},x=(0,a.defineComponent)({__name:`Badge`,props:{color:{},variant:{},size:{}},setup(e){let r=t.n(ne,e,{});return(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{class:(0,a.normalizeClass)([`badge`,[(0,a.unref)(n.n)(re,(0,a.unref)(r).color),(0,a.unref)(n.n)(ie,(0,a.unref)(r).variant),(0,a.unref)(n.n)(b,(0,a.unref)(r).size)]])},[(0,a.renderSlot)(e.$slots,`default`)],2))}}),S=e.t(`card`),C={border:`card-border`,dash:`card-dash`},w={xs:`card-xs`,sm:`card-sm`,md:`card-md`,lg:`card-lg`,xl:`card-xl`},T=(0,a.defineComponent)({__name:`Card`,props:{side:{type:Boolean},imageFull:{type:Boolean},variant:{},size:{}},setup(e){let r=t.n(S,e,{});return(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)([`card bg-base-100`,[(0,a.unref)(n.n)(C,(0,a.unref)(r).variant),(0,a.unref)(n.n)(w,(0,a.unref)(r).size),(0,a.unref)(r).side&&`card-side`,(0,a.unref)(r).imageFull&&`image-full`]])},[(0,a.renderSlot)(e.$slots,`default`)],2))}}),E=e.t(`cardActions`),D={start:`justify-start`,center:`justify-center`,end:`justify-end`},O=(0,a.defineComponent)({__name:`CardActions`,props:{align:{}},setup(e){let r=t.n(E,e,{align:`start`});return(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)([`card-actions`,(0,a.unref)(n.n)(D,(0,a.unref)(r).align)])},[(0,a.renderSlot)(e.$slots,`default`)],2))}}),k={},A={class:`card-body`};function j(e,t){return(0,a.openBlock)(),(0,a.createElementBlock)(`div`,A,[(0,a.renderSlot)(e.$slots,`default`)])}var M=r.t(k,[[`render`,j]]),N={},P={class:`card-title`};function F(e,t){return(0,a.openBlock)(),(0,a.createElementBlock)(`h2`,P,[(0,a.renderSlot)(e.$slots,`default`)])}var I=r.t(N,[[`render`,F]]),L=e.t(`carousel`),R={key:0,class:`carousel-indicators absolute bottom-4 left-4 flex gap-2`},z=[`onClick`],B={horizontal:``,vertical:`carousel-vertical`},V={start:`carousel-start`,center:`carousel-center`,end:`carousel-end`},H=(0,a.defineComponent)({__name:`Carousel`,props:{initialIndex:{},direction:{},snap:{},indicators:{type:Boolean},controls:{type:Boolean},autoplay:{type:Boolean},interval:{}},setup(e){let r=e,o=t.n(L,r,{direction:`horizontal`,snap:`start`,indicators:!1,controls:!1,autoplay:!1,interval:3e3,initialIndex:0}),s=(0,a.useTemplateRef)(`carouselRef`),c=(0,a.shallowRef)(r.initialIndex??0),l=null,u=(0,a.computed)(()=>o.value.direction===`vertical`);function d(){return s.value?s.value.querySelectorAll(`.carousel-item`).length:0}function f(){return s.value?Array.from(s.value.querySelectorAll(`.carousel-item`)):[]}function p(e){let t=f();!t.length||e<0||e>=t.length||(t[e].scrollIntoView({behavior:`smooth`,block:u.value?`nearest`:void 0,inline:u.value?void 0:`nearest`}),c.value=e)}function m(e){let t=d();if(t===0)return;let n=e%t;p(n<0?t+n:n)}function h(){m(c.value+1)}function g(){m(c.value-1)}function _(){l&&clearInterval(l),o.value.autoplay&&d()>1&&(l=setInterval(h,o.value.interval))}function v(){l&&=(clearInterval(l),null)}let y=(0,a.computed)(()=>d());return(0,a.onMounted)(()=>{_()}),(0,a.onUnmounted)(()=>{v()}),(e,t)=>{let r=(0,a.resolveComponent)(`ChevronLeftIcon`),l=(0,a.resolveComponent)(`ChevronRightIcon`);return(0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,null,[(0,a.createElementVNode)(`div`,{ref_key:`carouselRef`,ref:s,class:(0,a.normalizeClass)([`carousel w-full`,[(0,a.unref)(n.n)(B,(0,a.unref)(o).direction),(0,a.unref)(n.n)(V,(0,a.unref)(o).snap)]]),onMouseenter:v,onMouseleave:_},[(0,a.createVNode)(i.t,{class:`carousel-item w-full`},{default:(0,a.withCtx)(()=>[(0,a.renderSlot)(e.$slots,`default`)]),_:3}),(0,a.unref)(o).indicators&&y.value>1?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,R,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(y.value,(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`button`,{key:t,class:(0,a.normalizeClass)([`carousel-indicator btn btn-xs btn-circle`,{"btn-active":c.value===t}]),onClick:e=>m(t)},null,10,z))),128))])):(0,a.createCommentVNode)(``,!0)],34),(0,a.unref)(o).controls&&y.value>1?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:0},[(0,a.createElementVNode)(`button`,{class:`carousel-control carousel-prev absolute left-4 top-1/2 -translate-y-1/2 btn btn-circle`,onClick:g},[(0,a.renderSlot)(e.$slots,`prev-icon`,{},()=>[(0,a.createVNode)(r,{class:`size-6`})])]),(0,a.createElementVNode)(`button`,{class:`carousel-control carousel-next absolute right-4 top-1/2 -translate-y-1/2 btn btn-circle`,onClick:h},[(0,a.renderSlot)(e.$slots,`next-icon`,{},()=>[(0,a.createVNode)(l,{class:`size-6`})])])],64)):(0,a.createCommentVNode)(``,!0)],64)}}}),U=e.t(`chat`),W={key:0,class:`chat-image`},G={key:1,class:`chat-header`},K={key:2,class:`chat-footer`},q={key:3,class:`chat-meta`},J={neutral:`chat-bubble-neutral`,primary:`chat-bubble-primary`,secondary:`chat-bubble-secondary`,accent:`chat-bubble-accent`,info:`chat-bubble-info`,success:`chat-bubble-success`,warning:`chat-bubble-warning`,error:`chat-bubble-error`},Y=(0,a.defineComponent)({__name:`Chat`,props:{side:{},color:{}},setup(e){let r=t.n(U,e,{side:`start`});return(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)([`chat`,(0,a.unref)(r).side===`end`?`chat-end`:`chat-start`])},[e.$slots.image?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,W,[(0,a.renderSlot)(e.$slots,`image`)])):(0,a.createCommentVNode)(``,!0),e.$slots.header?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,G,[(0,a.renderSlot)(e.$slots,`header`)])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`div`,{class:(0,a.normalizeClass)([`chat-bubble`,(0,a.unref)(n.n)(J,(0,a.unref)(r).color)])},[(0,a.renderSlot)(e.$slots,`default`)],2),e.$slots.footer?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,K,[(0,a.renderSlot)(e.$slots,`footer`)])):(0,a.createCommentVNode)(``,!0),e.$slots.meta?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,q,[(0,a.renderSlot)(e.$slots,`meta`)])):(0,a.createCommentVNode)(``,!0)],2))}}),ae=e.t(`countdown`),oe={class:`countdown font-mono text-2xl`},se=[`aria-label`],ce=[`aria-label`],le=[`aria-label`];function ue(e){if(e instanceof Date)return e.getTime();if(typeof e==`string`||typeof e==`number`)return new Date(e).getTime();if(typeof e==`object`&&e){if(`epochMilliseconds`in e||`epochMilliseconds`in e&&`timeZoneId`in e)return e.epochMilliseconds;if(`toZonedDateTime`in e)return e.toZonedDateTime(typeof Temporal<`u`?Temporal.Now.timeZoneId():`UTC`).epochMilliseconds}return NaN}function X(e){let t=Math.max(0,e-Date.now());return{days:Math.floor(t/1e3/60/60/24),hours:Math.floor(t/1e3/60/60)%24,minutes:Math.floor(t/1e3/60)%60,seconds:Math.floor(t/1e3)%60,done:t===0}}var de=(0,a.defineComponent)({__name:`Countdown`,props:{to:{},digits:{}},emits:[`end`],setup(e,{expose:n,emit:r}){let i=e,o=t.n(ae,i,{digits:2}),s=(0,a.computed)(()=>o.value.digits),c=r,l=(0,a.computed)(()=>ue(i.to)),u=(0,a.ref)(X(l.value)),d;function f(){d!==void 0&&(clearInterval(d),d=void 0)}function p(){f(),d=setInterval(()=>{u.value=X(l.value),u.value.done&&(f(),c(`end`))},500)}return(0,a.watch)(l,()=>{u.value=X(l.value),p()},{immediate:!0}),(0,a.onUnmounted)(f),n({delta:u}),(e,t)=>(0,a.renderSlot)(e.$slots,`default`,{days:u.value.days,hours:u.value.hours,minutes:u.value.minutes,seconds:u.value.seconds,done:u.value.done,digits:s.value},()=>[(0,a.createElementVNode)(`span`,oe,[(0,a.createElementVNode)(`span`,{style:(0,a.normalizeStyle)({"--value":u.value.hours,"--digits":s.value}),"aria-label":String(u.value.hours)},(0,a.toDisplayString)(u.value.hours),13,se),t[0]||=(0,a.createTextVNode)(` : `,-1),(0,a.createElementVNode)(`span`,{style:(0,a.normalizeStyle)({"--value":u.value.minutes,"--digits":s.value}),"aria-label":String(u.value.minutes)},(0,a.toDisplayString)(u.value.minutes),13,ce),t[1]||=(0,a.createTextVNode)(` : `,-1),(0,a.createElementVNode)(`span`,{style:(0,a.normalizeStyle)({"--value":u.value.seconds,"--digits":s.value}),"aria-label":String(u.value.seconds)},(0,a.toDisplayString)(u.value.seconds),13,le)])])}}),fe={},pe={class:`diff`,tabindex:`0`},me={class:`diff-item-1`,role:`img`,tabindex:`0`},he={class:`diff-item-2`,role:`img`};function ge(e,t){return(0,a.openBlock)(),(0,a.createElementBlock)(`figure`,pe,[(0,a.createElementVNode)(`div`,me,[(0,a.renderSlot)(e.$slots,`item-1`)]),(0,a.createElementVNode)(`div`,he,[(0,a.renderSlot)(e.$slots,`item-2`)]),t[0]||=(0,a.createElementVNode)(`div`,{class:`diff-resizer`},null,-1)])}var _e=r.t(fe,[[`render`,ge]]),ve=(0,a.defineComponent)({__name:`Hover3d`,props:{to:{}},setup(e){let t=e,n=(0,a.computed)(()=>t.to?t.to===`#`?`a`:o.RouterLink:`div`),r=(0,a.computed)(()=>n.value===`a`?{href:t.to}:n.value===`div`?{}:{to:t.to});return(e,t)=>((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(n.value),(0,a.mergeProps)({class:`hover-3d`},r.value),{default:(0,a.withCtx)(()=>[(0,a.renderSlot)(e.$slots,`default`),((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(8,e=>(0,a.createElementVNode)(`div`,{key:e})),64))]),_:3},16))}}),ye={},be={class:`hover-gallery`};function xe(e,t){return(0,a.openBlock)(),(0,a.createElementBlock)(`figure`,be,[(0,a.renderSlot)(e.$slots,`default`)])}var Se=r.t(ye,[[`render`,xe]]),Ce=e.t(`kbd`),we={xs:`kbd-xs`,sm:`kbd-sm`,md:`kbd-md`,lg:`kbd-lg`,xl:`kbd-xl`},Te=(0,a.defineComponent)({__name:`Kbd`,props:{size:{}},setup(e){let r=t.n(Ce,e,{size:`md`});return(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`kbd`,{class:(0,a.normalizeClass)([`kbd`,(0,a.unref)(n.n)(we,(0,a.unref)(r).size)])},[(0,a.renderSlot)(e.$slots,`default`)],2))}}),Ee={class:`list bg-base-100 rounded-box`},De={key:0,class:`p-4 pb-2 text-xs opacity-60 tracking-wide`},Oe=(0,a.defineComponent)({__name:`List`,props:{title:{}},setup(e){return(t,n)=>((0,a.openBlock)(),(0,a.createElementBlock)(`ul`,Ee,[e.title||t.$slots.title?((0,a.openBlock)(),(0,a.createElementBlock)(`li`,De,[(0,a.renderSlot)(t.$slots,`title`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.title),1)])])):(0,a.createCommentVNode)(``,!0),(0,a.renderSlot)(t.$slots,`default`)]))}}),ke={key:0,class:`list-col-grow`},Ae={class:`text-xs uppercase font-semibold opacity-60`},je={key:2,class:`list-col-wrap text-xs opacity-60`},Me=(0,a.defineComponent)({__name:`ListItem`,props:{to:{},title:{},description:{}},setup(e){let t=e,n=(0,a.computed)(()=>t.to?t.to===`#`?`a`:o.RouterLink:`li`),r=(0,a.computed)(()=>n.value===`a`?{href:t.to}:n.value===`li`?{}:{to:t.to}),i=(0,a.useSlots)(),s=(0,a.computed)(()=>!!t.title||!!t.description||!!i.title||!!i.description);return(t,i)=>((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(n.value),(0,a.mergeProps)({class:`list-row`},r.value),{default:(0,a.withCtx)(()=>[(0,a.renderSlot)(t.$slots,`prefix`),s.value?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,ke,[(0,a.renderSlot)(t.$slots,`title`,{},()=>[(0,a.createElementVNode)(`div`,null,(0,a.toDisplayString)(e.title),1)]),(0,a.renderSlot)(t.$slots,`description`,{},()=>[(0,a.createElementVNode)(`div`,Ae,(0,a.toDisplayString)(e.description),1)])])):(0,a.renderSlot)(t.$slots,`default`,{key:1}),t.$slots.details?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,je,[(0,a.renderSlot)(t.$slots,`details`)])):(0,a.createCommentVNode)(``,!0),(0,a.renderSlot)(t.$slots,`actions`)]),_:3},16))}}),Ne=e.t(`stat`),Pe={start:`place-items-start`,center:`place-items-center`,end:`place-items-end`},Fe=(0,a.defineComponent)({__name:`Stat`,props:{title:{},value:{},desc:{},align:{},titleClass:{},valueClass:{},descClass:{},figureClass:{},actionsClass:{}},setup(e){let r=t.n(Ne,e,{});return(t,i)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)([`stat`,(0,a.unref)(n.n)(Pe,(0,a.unref)(r).align)])},[t.$slots.figure?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:0,class:(0,a.normalizeClass)([`stat-figure`,e.figureClass])},[(0,a.renderSlot)(t.$slots,`figure`)],2)):(0,a.createCommentVNode)(``,!0),e.title||t.$slots.title?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:1,class:(0,a.normalizeClass)([`stat-title`,e.titleClass])},[(0,a.renderSlot)(t.$slots,`title`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.title),1)])],2)):(0,a.createCommentVNode)(``,!0),e.value!==void 0||t.$slots.value?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:2,class:(0,a.normalizeClass)([`stat-value`,e.valueClass])},[(0,a.renderSlot)(t.$slots,`value`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.value),1)])],2)):(0,a.createCommentVNode)(``,!0),e.desc||t.$slots.desc?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:3,class:(0,a.normalizeClass)([`stat-desc`,e.descClass])},[(0,a.renderSlot)(t.$slots,`desc`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.desc),1)])],2)):(0,a.createCommentVNode)(``,!0),t.$slots.actions?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:4,class:(0,a.normalizeClass)([`stat-actions`,e.actionsClass])},[(0,a.renderSlot)(t.$slots,`actions`)],2)):(0,a.createCommentVNode)(``,!0),(0,a.renderSlot)(t.$slots,`default`)],2))}}),Ie=e.t(`stats`),Z={horizontal:`stats-horizontal`,vertical:`stats-vertical`},Le=(0,a.defineComponent)({__name:`Stats`,props:{direction:{}},setup(e){let r=t.n(Ie,e,{direction:`horizontal`});return(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)([`stats`,(0,a.unref)(n.n)(Z,(0,a.unref)(r).direction)])},[(0,a.renderSlot)(e.$slots,`default`)],2))}}),Re=e.t(`status`),ze=[`aria-label`],Be=[`aria-label`],Q={neutral:`status-neutral`,primary:`status-primary`,secondary:`status-secondary`,accent:`status-accent`,info:`status-info`,success:`status-success`,warning:`status-warning`,error:`status-error`},$={xs:`status-xs`,sm:`status-sm`,md:`status-md`,lg:`status-lg`,xl:`status-xl`},Ve=(0,a.defineComponent)({__name:`Status`,props:{label:{},color:{},size:{},animation:{}},setup(e){let r=t.n(Re,e,{size:`md`});return(t,i)=>(0,a.unref)(r).animation===`ping`?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:0,class:`inline-grid *:[grid-area:1/1]`,"aria-label":e.label},[(0,a.createElementVNode)(`div`,{class:(0,a.normalizeClass)([`status animate-ping`,[(0,a.unref)(n.n)(Q,(0,a.unref)(r).color),(0,a.unref)(n.n)($,(0,a.unref)(r).size)]])},null,2),(0,a.createElementVNode)(`div`,{class:(0,a.normalizeClass)([`status`,[(0,a.unref)(n.n)(Q,(0,a.unref)(r).color),(0,a.unref)(n.n)($,(0,a.unref)(r).size)]])},null,2)],8,ze)):((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{key:1,class:(0,a.normalizeClass)([`status`,[(0,a.unref)(n.n)(Q,(0,a.unref)(r).color),(0,a.unref)(n.n)($,(0,a.unref)(r).size),(0,a.unref)(r).animation===`bounce`&&`animate-bounce`]]),"aria-label":e.label},null,10,Be))}});Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return ve}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return Me}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return _e}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Le}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return Te}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return Se}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return Ve}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return de}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return te}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return g}});
|
|
2
|
+
//# sourceMappingURL=public-1PFjXgZ6.cjs.map
|