buefy 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +242 -0
- package/dist/buefy.css +15895 -0
- package/dist/buefy.d.ts +11706 -0
- package/dist/buefy.esm.js +21082 -0
- package/dist/buefy.esm.min.js +2 -0
- package/dist/buefy.js +21227 -0
- package/dist/buefy.min.css +1 -0
- package/dist/buefy.min.js +2 -0
- package/dist/cjs/Autocomplete-BMmOsPiK.js +864 -0
- package/dist/cjs/Button-Cq7yqI8p.js +118 -0
- package/dist/cjs/CheckRadioMixin-CDu0SN3g.js +58 -0
- package/dist/cjs/Checkbox-GPzAMQqM.js +85 -0
- package/dist/cjs/CompatFallthroughMixin-hhK0Gkhr.js +48 -0
- package/dist/cjs/Datepicker-B-9ReBe6.js +2120 -0
- package/dist/cjs/Dropdown-DtpKU9qf.js +470 -0
- package/dist/cjs/DropdownItem-IMOKyRGV.js +110 -0
- package/dist/cjs/Field-19ZCJFF8.js +405 -0
- package/dist/cjs/FormElementMixin-DavX4iOv.js +170 -0
- package/dist/cjs/Icon-lsDKE2wQ.js +184 -0
- package/dist/cjs/Image-CocPwU3n.js +356 -0
- package/dist/cjs/InjectedChildMixin-CUKn09dB.js +150 -0
- package/dist/cjs/Input-BcloGeZ3.js +350 -0
- package/dist/cjs/Loading-GqqqjipO.js +145 -0
- package/dist/cjs/MessageMixin-bGuuzfev.js +136 -0
- package/dist/cjs/Modal-CYpSQe2Q.js +315 -0
- package/dist/cjs/NoticeMixin--3RjH43z.js +163 -0
- package/dist/cjs/Pagination-D1MVdiLp.js +547 -0
- package/dist/cjs/Progress-DT9Qc8Id.js +177 -0
- package/dist/cjs/Select-DayPKwCY.js +147 -0
- package/dist/cjs/SlotComponent-BruGdRW3.js +41 -0
- package/dist/cjs/TabbedChildMixin-B3JUUwcf.js +211 -0
- package/dist/cjs/Tag-BprnwJJ1.js +167 -0
- package/dist/cjs/Timepicker-CDZ3V-2J.js +283 -0
- package/dist/cjs/TimepickerMixin-C9WVvcUL.js +666 -0
- package/dist/cjs/Tooltip-Cgighv0j.js +393 -0
- package/dist/cjs/_plugin-vue_export-helper-Die8u8yB.js +11 -0
- package/dist/cjs/autocomplete.js +23 -0
- package/dist/cjs/breadcrumb.js +107 -0
- package/dist/cjs/button.js +20 -0
- package/dist/cjs/carousel.js +825 -0
- package/dist/cjs/checkbox.js +88 -0
- package/dist/cjs/clockpicker.js +668 -0
- package/dist/cjs/collapse.js +99 -0
- package/dist/cjs/colorpicker.js +25 -0
- package/dist/cjs/config-DR826Ki2.js +103 -0
- package/dist/cjs/config.js +18 -0
- package/dist/cjs/datepicker.js +28 -0
- package/dist/cjs/datetimepicker.js +483 -0
- package/dist/cjs/dialog.js +506 -0
- package/dist/cjs/dropdown.js +23 -0
- package/dist/cjs/field.js +19 -0
- package/dist/cjs/helpers.js +276 -0
- package/dist/cjs/icon.js +19 -0
- package/dist/cjs/image.js +19 -0
- package/dist/cjs/index-DiQy3SCb.js +1942 -0
- package/dist/cjs/index.js +274 -0
- package/dist/cjs/input.js +22 -0
- package/dist/cjs/loading.js +87 -0
- package/dist/cjs/menu.js +340 -0
- package/dist/cjs/message.js +119 -0
- package/dist/cjs/modal.js +103 -0
- package/dist/cjs/navbar.js +572 -0
- package/dist/cjs/notification.js +281 -0
- package/dist/cjs/numberinput.js +386 -0
- package/dist/cjs/pagination.js +22 -0
- package/dist/cjs/plugins-DbyYGVpp.js +16 -0
- package/dist/cjs/progress.js +91 -0
- package/dist/cjs/radio.js +137 -0
- package/dist/cjs/rate.js +197 -0
- package/dist/cjs/select.js +22 -0
- package/dist/cjs/sidebar.js +309 -0
- package/dist/cjs/skeleton.js +78 -0
- package/dist/cjs/slider.js +699 -0
- package/dist/cjs/snackbar.js +224 -0
- package/dist/cjs/ssr-DVRFTu_P.js +8 -0
- package/dist/cjs/steps.js +347 -0
- package/dist/cjs/switch.js +161 -0
- package/dist/cjs/table.js +2391 -0
- package/dist/cjs/tabs.js +258 -0
- package/dist/cjs/tag.js +44 -0
- package/dist/cjs/taginput.js +425 -0
- package/dist/cjs/timepicker.js +29 -0
- package/dist/cjs/toast.js +162 -0
- package/dist/cjs/tooltip.js +19 -0
- package/dist/cjs/trapFocus-BlX6xykt.js +53 -0
- package/dist/cjs/upload.js +195 -0
- package/dist/components/autocomplete/index.js +1647 -0
- package/dist/components/autocomplete/index.min.js +2 -0
- package/dist/components/breadcrumb/index.js +173 -0
- package/dist/components/breadcrumb/index.min.js +2 -0
- package/dist/components/button/index.js +334 -0
- package/dist/components/button/index.min.js +2 -0
- package/dist/components/carousel/index.js +1534 -0
- package/dist/components/carousel/index.min.js +2 -0
- package/dist/components/checkbox/index.js +236 -0
- package/dist/components/checkbox/index.min.js +2 -0
- package/dist/components/clockpicker/index.js +2636 -0
- package/dist/components/clockpicker/index.min.js +2 -0
- package/dist/components/collapse/index.js +111 -0
- package/dist/components/collapse/index.min.js +2 -0
- package/dist/components/colorpicker/index.js +4251 -0
- package/dist/components/colorpicker/index.min.js +2 -0
- package/dist/components/datepicker/index.js +4110 -0
- package/dist/components/datepicker/index.min.js +2 -0
- package/dist/components/datetimepicker/index.js +5479 -0
- package/dist/components/datetimepicker/index.min.js +2 -0
- package/dist/components/dialog/index.js +1202 -0
- package/dist/components/dialog/index.min.js +2 -0
- package/dist/components/dropdown/index.js +680 -0
- package/dist/components/dropdown/index.min.js +2 -0
- package/dist/components/field/index.js +439 -0
- package/dist/components/field/index.min.js +2 -0
- package/dist/components/icon/index.js +212 -0
- package/dist/components/icon/index.min.js +2 -0
- package/dist/components/image/index.js +396 -0
- package/dist/components/image/index.min.js +2 -0
- package/dist/components/input/index.js +764 -0
- package/dist/components/input/index.min.js +2 -0
- package/dist/components/loading/index.js +280 -0
- package/dist/components/loading/index.min.js +2 -0
- package/dist/components/menu/index.js +586 -0
- package/dist/components/menu/index.min.js +2 -0
- package/dist/components/message/index.js +611 -0
- package/dist/components/message/index.min.js +2 -0
- package/dist/components/modal/index.js +516 -0
- package/dist/components/modal/index.min.js +2 -0
- package/dist/components/navbar/index.js +634 -0
- package/dist/components/navbar/index.min.js +2 -0
- package/dist/components/notification/index.js +976 -0
- package/dist/components/notification/index.min.js +2 -0
- package/dist/components/numberinput/index.js +1128 -0
- package/dist/components/numberinput/index.min.js +2 -0
- package/dist/components/pagination/index.js +764 -0
- package/dist/components/pagination/index.min.js +2 -0
- package/dist/components/progress/index.js +280 -0
- package/dist/components/progress/index.min.js +2 -0
- package/dist/components/radio/index.js +208 -0
- package/dist/components/radio/index.min.js +2 -0
- package/dist/components/rate/index.js +391 -0
- package/dist/components/rate/index.min.js +2 -0
- package/dist/components/select/index.js +560 -0
- package/dist/components/select/index.min.js +2 -0
- package/dist/components/sidebar/index.js +337 -0
- package/dist/components/sidebar/index.min.js +2 -0
- package/dist/components/skeleton/index.js +87 -0
- package/dist/components/skeleton/index.min.js +2 -0
- package/dist/components/slider/index.js +1171 -0
- package/dist/components/slider/index.min.js +2 -0
- package/dist/components/snackbar/index.js +439 -0
- package/dist/components/snackbar/index.min.js +2 -0
- package/dist/components/steps/index.js +925 -0
- package/dist/components/steps/index.min.js +2 -0
- package/dist/components/switch/index.js +182 -0
- package/dist/components/switch/index.min.js +2 -0
- package/dist/components/table/index.js +4208 -0
- package/dist/components/table/index.min.js +2 -0
- package/dist/components/tabs/index.js +837 -0
- package/dist/components/tabs/index.min.js +2 -0
- package/dist/components/tag/index.js +396 -0
- package/dist/components/tag/index.min.js +2 -0
- package/dist/components/taginput/index.js +2209 -0
- package/dist/components/taginput/index.min.js +2 -0
- package/dist/components/timepicker/index.js +2906 -0
- package/dist/components/timepicker/index.min.js +2 -0
- package/dist/components/toast/index.js +377 -0
- package/dist/components/toast/index.min.js +2 -0
- package/dist/components/tooltip/index.js +445 -0
- package/dist/components/tooltip/index.min.js +2 -0
- package/dist/components/upload/index.js +426 -0
- package/dist/components/upload/index.min.js +2 -0
- package/dist/esm/Autocomplete-CjbTh9D8.js +862 -0
- package/dist/esm/Button-DyUYShTZ.js +116 -0
- package/dist/esm/CheckRadioMixin-DSD_rjC8.js +56 -0
- package/dist/esm/Checkbox-KUMz0sfA.js +83 -0
- package/dist/esm/CompatFallthroughMixin-C8LPuwDr.js +46 -0
- package/dist/esm/Datepicker-Bl8Wfdkn.js +2118 -0
- package/dist/esm/Dropdown-CGTYVyoL.js +467 -0
- package/dist/esm/DropdownItem-Cn3nM0A3.js +108 -0
- package/dist/esm/Field-B7bX_uUg.js +403 -0
- package/dist/esm/FormElementMixin-Dd_wkBN5.js +168 -0
- package/dist/esm/Icon-DPyGDeRK.js +182 -0
- package/dist/esm/Image-DhX-4hlV.js +354 -0
- package/dist/esm/InjectedChildMixin-D2K-FwuO.js +145 -0
- package/dist/esm/Input-C4L520az.js +348 -0
- package/dist/esm/Loading-tuQoo6TU.js +143 -0
- package/dist/esm/MessageMixin-CQ7LIdvq.js +134 -0
- package/dist/esm/Modal-tfvyhxw_.js +313 -0
- package/dist/esm/NoticeMixin-ByNlva3T.js +161 -0
- package/dist/esm/Pagination-B-LAJQay.js +543 -0
- package/dist/esm/Progress-BPGTVZgr.js +174 -0
- package/dist/esm/Select-bl4qUzij.js +145 -0
- package/dist/esm/SlotComponent-BwNpVnfH.js +39 -0
- package/dist/esm/TabbedChildMixin-C4i6WP9j.js +208 -0
- package/dist/esm/Tag-jS5Bcj6N.js +165 -0
- package/dist/esm/Timepicker-DnkqnOBT.js +281 -0
- package/dist/esm/TimepickerMixin-Bikh6_Fg.js +664 -0
- package/dist/esm/Tooltip-CtDSXAqa.js +391 -0
- package/dist/esm/_plugin-vue_export-helper-OJRSZE6i.js +9 -0
- package/dist/esm/autocomplete.js +18 -0
- package/dist/esm/breadcrumb.js +101 -0
- package/dist/esm/button.js +15 -0
- package/dist/esm/carousel.js +818 -0
- package/dist/esm/checkbox.js +82 -0
- package/dist/esm/clockpicker.js +663 -0
- package/dist/esm/collapse.js +94 -0
- package/dist/esm/colorpicker.js +16 -0
- package/dist/esm/config-CKuo-p6e.js +100 -0
- package/dist/esm/config.js +14 -0
- package/dist/esm/datepicker.js +23 -0
- package/dist/esm/datetimepicker.js +478 -0
- package/dist/esm/dialog.js +500 -0
- package/dist/esm/dropdown.js +17 -0
- package/dist/esm/field.js +14 -0
- package/dist/esm/helpers.js +247 -0
- package/dist/esm/icon.js +14 -0
- package/dist/esm/image.js +14 -0
- package/dist/esm/index-CQegEsxK.js +1938 -0
- package/dist/esm/index.js +164 -0
- package/dist/esm/input.js +17 -0
- package/dist/esm/loading.js +81 -0
- package/dist/esm/menu.js +333 -0
- package/dist/esm/message.js +114 -0
- package/dist/esm/modal.js +97 -0
- package/dist/esm/navbar.js +565 -0
- package/dist/esm/notification.js +275 -0
- package/dist/esm/numberinput.js +381 -0
- package/dist/esm/pagination.js +16 -0
- package/dist/esm/plugins-B172kuKE.js +13 -0
- package/dist/esm/progress.js +85 -0
- package/dist/esm/radio.js +131 -0
- package/dist/esm/rate.js +192 -0
- package/dist/esm/select.js +17 -0
- package/dist/esm/sidebar.js +304 -0
- package/dist/esm/skeleton.js +73 -0
- package/dist/esm/slider.js +693 -0
- package/dist/esm/snackbar.js +218 -0
- package/dist/esm/ssr-C7yEpGLm.js +5 -0
- package/dist/esm/steps.js +341 -0
- package/dist/esm/switch.js +156 -0
- package/dist/esm/table.js +2385 -0
- package/dist/esm/tabs.js +252 -0
- package/dist/esm/tag.js +38 -0
- package/dist/esm/taginput.js +420 -0
- package/dist/esm/timepicker.js +24 -0
- package/dist/esm/toast.js +156 -0
- package/dist/esm/tooltip.js +14 -0
- package/dist/esm/trapFocus-KHP_kCNE.js +51 -0
- package/dist/esm/upload.js +190 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/package.json +73 -6
- package/src/components/autocomplete/Autocomplete.spec.ts +783 -0
- package/src/components/autocomplete/Autocomplete.vue +966 -0
- package/src/components/autocomplete/__snapshots__/Autocomplete.spec.ts.snap +21 -0
- package/src/components/autocomplete/index.ts +16 -0
- package/src/components/breadcrumb/Breadcrumb.spec.ts +65 -0
- package/src/components/breadcrumb/Breadcrumb.vue +42 -0
- package/src/components/breadcrumb/BreadcrumbItem.spec.ts +74 -0
- package/src/components/breadcrumb/BreadcrumbItem.vue +34 -0
- package/src/components/breadcrumb/__snapshots__/Breadcrumb.spec.ts.snap +7 -0
- package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.ts.snap +3 -0
- package/src/components/breadcrumb/index.ts +19 -0
- package/src/components/button/Button.spec.ts +117 -0
- package/src/components/button/Button.vue +112 -0
- package/src/components/button/__snapshots__/Button.spec.ts.snap +9 -0
- package/src/components/button/index.ts +16 -0
- package/src/components/carousel/Carousel.spec.ts +304 -0
- package/src/components/carousel/Carousel.vue +389 -0
- package/src/components/carousel/CarouselItem.spec.ts +105 -0
- package/src/components/carousel/CarouselItem.vue +38 -0
- package/src/components/carousel/CarouselList.spec.ts +172 -0
- package/src/components/carousel/CarouselList.vue +364 -0
- package/src/components/carousel/__snapshots__/Carousel.spec.ts.snap +19 -0
- package/src/components/carousel/__snapshots__/CarouselItem.spec.ts.snap +7 -0
- package/src/components/carousel/__snapshots__/CarouselList.spec.ts.snap +36 -0
- package/src/components/carousel/index.ts +23 -0
- package/src/components/carousel/types.ts +17 -0
- package/src/components/checkbox/Checkbox.spec.ts +40 -0
- package/src/components/checkbox/Checkbox.vue +63 -0
- package/src/components/checkbox/CheckboxButton.spec.ts +46 -0
- package/src/components/checkbox/CheckboxButton.vue +59 -0
- package/src/components/checkbox/__snapshots__/Checkbox.spec.ts.snap +9 -0
- package/src/components/checkbox/__snapshots__/CheckboxButton.spec.ts.snap +3 -0
- package/src/components/checkbox/index.ts +20 -0
- package/src/components/clockpicker/Clockpicker.spec.ts +161 -0
- package/src/components/clockpicker/Clockpicker.vue +311 -0
- package/src/components/clockpicker/ClockpickerFace.spec.ts +99 -0
- package/src/components/clockpicker/ClockpickerFace.vue +272 -0
- package/src/components/clockpicker/__snapshots__/Clockpicker.spec.ts.snap +36 -0
- package/src/components/clockpicker/__snapshots__/ClockpickerFace.spec.ts.snap +9 -0
- package/src/components/clockpicker/index.ts +16 -0
- package/src/components/collapse/Collapse.spec.ts +106 -0
- package/src/components/collapse/Collapse.vue +98 -0
- package/src/components/collapse/__snapshots__/Collapse.spec.ts.snap +10 -0
- package/src/components/collapse/index.ts +16 -0
- package/src/components/colorpicker/Colorpicker.spec.ts +22 -0
- package/src/components/colorpicker/Colorpicker.vue +416 -0
- package/src/components/colorpicker/ColorpickerAlphaSlider.spec.ts +17 -0
- package/src/components/colorpicker/ColorpickerAlphaSlider.vue +205 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.spec.ts +23 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.vue +380 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.spec.ts +23 -0
- package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +456 -0
- package/src/components/colorpicker/__snapshots__/Colorpicker.spec.ts.snap +77 -0
- package/src/components/colorpicker/__snapshots__/ColorpickerAlphaSlider.spec.ts.snap +9 -0
- package/src/components/colorpicker/__snapshots__/ColorpickerHSLRepresentationSquare.spec.ts.snap +12 -0
- package/src/components/colorpicker/__snapshots__/ColorpickerHSLRepresentationTriangle.spec.ts.snap +36 -0
- package/src/components/colorpicker/index.ts +16 -0
- package/src/components/datepicker/Datepicker.spec.ts +482 -0
- package/src/components/datepicker/Datepicker.vue +908 -0
- package/src/components/datepicker/DatepickerMonth.spec.ts +346 -0
- package/src/components/datepicker/DatepickerMonth.vue +444 -0
- package/src/components/datepicker/DatepickerTable.spec.ts +290 -0
- package/src/components/datepicker/DatepickerTable.vue +398 -0
- package/src/components/datepicker/DatepickerTableRow.spec.ts +300 -0
- package/src/components/datepicker/DatepickerTableRow.vue +416 -0
- package/src/components/datepicker/__snapshots__/Datepicker.spec.ts.snap +54 -0
- package/src/components/datepicker/__snapshots__/DatepickerMonth.spec.ts.snap +33 -0
- package/src/components/datepicker/__snapshots__/DatepickerTable.spec.ts.snap +16 -0
- package/src/components/datepicker/__snapshots__/DatepickerTableRow.spec.ts.snap +23 -0
- package/src/components/datepicker/index.ts +17 -0
- package/src/components/datepicker/types.ts +41 -0
- package/src/components/datetimepicker/Datetimepicker.spec.ts +132 -0
- package/src/components/datetimepicker/Datetimepicker.vue +491 -0
- package/src/components/datetimepicker/index.ts +16 -0
- package/src/components/dialog/Dialog.spec.ts +108 -0
- package/src/components/dialog/Dialog.vue +300 -0
- package/src/components/dialog/index.ts +169 -0
- package/src/components/dropdown/Dropdown.spec.ts +229 -0
- package/src/components/dropdown/Dropdown.vue +491 -0
- package/src/components/dropdown/DropdownItem.spec.ts +78 -0
- package/src/components/dropdown/DropdownItem.vue +112 -0
- package/src/components/dropdown/__snapshots__/Dropdown.spec.ts.snap +15 -0
- package/src/components/dropdown/__snapshots__/DropdownItem.spec.ts.snap +3 -0
- package/src/components/dropdown/index.ts +20 -0
- package/src/components/field/Field.spec.ts +324 -0
- package/src/components/field/Field.vue +316 -0
- package/src/components/field/FieldBody.spec.ts +96 -0
- package/src/components/field/FieldBody.vue +74 -0
- package/src/components/field/__snapshots__/Field.spec.ts.snap +8 -0
- package/src/components/field/__snapshots__/FieldBody.spec.ts.snap +3 -0
- package/src/components/field/index.ts +16 -0
- package/src/components/icon/Icon.spec.ts +142 -0
- package/src/components/icon/Icon.vue +120 -0
- package/src/components/icon/__snapshots__/Icon.spec.ts.snap +3 -0
- package/src/components/icon/index.ts +17 -0
- package/src/components/image/Image.spec.ts +218 -0
- package/src/components/image/Image.vue +358 -0
- package/src/components/image/__snapshots__/Image.spec.ts.snap +37 -0
- package/src/components/image/index.ts +16 -0
- package/src/components/index.ts +179 -0
- package/src/components/input/Input.spec.ts +396 -0
- package/src/components/input/Input.vue +335 -0
- package/src/components/input/__snapshots__/Input.spec.ts.snap +9 -0
- package/src/components/input/index.ts +17 -0
- package/src/components/loading/Loading.spec.ts +151 -0
- package/src/components/loading/Loading.vue +135 -0
- package/src/components/loading/__snapshots__/Loading.spec.ts.snap +10 -0
- package/src/components/loading/index.ts +91 -0
- package/src/components/menu/Menu.spec.ts +21 -0
- package/src/components/menu/Menu.vue +31 -0
- package/src/components/menu/MenuItem.spec.ts +92 -0
- package/src/components/menu/MenuItem.vue +168 -0
- package/src/components/menu/MenuItemContainerMixin.ts +72 -0
- package/src/components/menu/MenuList.spec.ts +35 -0
- package/src/components/menu/MenuList.vue +47 -0
- package/src/components/menu/__snapshots__/Menu.spec.ts.snap +3 -0
- package/src/components/menu/__snapshots__/MenuItem.spec.ts.snap +9 -0
- package/src/components/menu/__snapshots__/MenuList.spec.ts.snap +8 -0
- package/src/components/menu/index.ts +25 -0
- package/src/components/message/Message.spec.ts +30 -0
- package/src/components/message/Message.vue +73 -0
- package/src/components/message/__snapshots__/Message.spec.ts.snap +11 -0
- package/src/components/message/index.ts +15 -0
- package/src/components/modal/Modal.spec.ts +167 -0
- package/src/components/modal/Modal.vue +335 -0
- package/src/components/modal/__snapshots__/Modal.spec.ts.snap +10 -0
- package/src/components/modal/index.ts +107 -0
- package/src/components/navbar/NavBar.spec.ts +78 -0
- package/src/components/navbar/NavBarBurger.spec.ts +30 -0
- package/src/components/navbar/NavBarItem.spec.ts +92 -0
- package/src/components/navbar/Navbar.vue +274 -0
- package/src/components/navbar/NavbarBurger.vue +29 -0
- package/src/components/navbar/NavbarDropdown.spec.ts +84 -0
- package/src/components/navbar/NavbarDropdown.vue +115 -0
- package/src/components/navbar/NavbarItem.vue +97 -0
- package/src/components/navbar/__snapshots__/NavBar.spec.ts.snap +11 -0
- package/src/components/navbar/__snapshots__/NavBarBurger.spec.ts.snap +3 -0
- package/src/components/navbar/__snapshots__/NavBarItem.spec.ts.snap +3 -0
- package/src/components/navbar/__snapshots__/NavbarDropdown.spec.ts.snap +7 -0
- package/src/components/navbar/index.ts +22 -0
- package/src/components/notification/Notification.spec.ts +21 -0
- package/src/components/notification/Notification.vue +77 -0
- package/src/components/notification/NotificationNotice.vue +76 -0
- package/src/components/notification/__snapshots__/Notification.spec.ts.snap +10 -0
- package/src/components/notification/index.ts +121 -0
- package/src/components/numberinput/Numberinput.spec.ts +445 -0
- package/src/components/numberinput/Numberinput.vue +372 -0
- package/src/components/numberinput/index.ts +16 -0
- package/src/components/pagination/Pagination.spec.ts +94 -0
- package/src/components/pagination/Pagination.vue +434 -0
- package/src/components/pagination/PaginationButton.spec.ts +42 -0
- package/src/components/pagination/PaginationButton.vue +59 -0
- package/src/components/pagination/__snapshots__/Pagination.spec.ts.snap +22 -0
- package/src/components/pagination/__snapshots__/PaginationButton.spec.ts.snap +3 -0
- package/src/components/pagination/index.ts +19 -0
- package/src/components/pagination/types.ts +11 -0
- package/src/components/progress/Progress.spec.ts +81 -0
- package/src/components/progress/Progress.vue +168 -0
- package/src/components/progress/ProgressBar.spec.ts +45 -0
- package/src/components/progress/ProgressBar.vue +74 -0
- package/src/components/progress/__snapshots__/Progress.spec.ts.snap +7 -0
- package/src/components/progress/__snapshots__/ProgressBar.spec.ts.snap +7 -0
- package/src/components/progress/index.ts +18 -0
- package/src/components/radio/Radio.spec.ts +40 -0
- package/src/components/radio/Radio.vue +35 -0
- package/src/components/radio/RadioButton.spec.ts +40 -0
- package/src/components/radio/RadioButton.vue +69 -0
- package/src/components/radio/__snapshots__/Radio.spec.ts.snap +3 -0
- package/src/components/radio/__snapshots__/RadioButton.spec.ts.snap +3 -0
- package/src/components/radio/index.ts +18 -0
- package/src/components/rate/Rate.spec.ts +90 -0
- package/src/components/rate/Rate.vue +158 -0
- package/src/components/rate/index.ts +15 -0
- package/src/components/select/Select.spec.ts +74 -0
- package/src/components/select/Select.vue +118 -0
- package/src/components/select/__snapshots__/Select.spec.ts.snap +7 -0
- package/src/components/select/index.ts +16 -0
- package/src/components/sidebar/Sidebar.spec.ts +107 -0
- package/src/components/sidebar/Sidebar.vue +316 -0
- package/src/components/sidebar/__snapshots__/Sidebar.spec.ts.snap +25 -0
- package/src/components/sidebar/index.ts +16 -0
- package/src/components/skeleton/Skeleton.spec.ts +16 -0
- package/src/components/skeleton/Skeleton.vue +98 -0
- package/src/components/skeleton/__snapshots__/Skeleton.spec.ts.snap +7 -0
- package/src/components/skeleton/index.ts +18 -0
- package/src/components/slider/Slider.spec.ts +115 -0
- package/src/components/slider/Slider.vue +374 -0
- package/src/components/slider/SliderThumb.spec.ts +176 -0
- package/src/components/slider/SliderThumb.vue +251 -0
- package/src/components/slider/SliderTick.spec.ts +33 -0
- package/src/components/slider/SliderTick.vue +50 -0
- package/src/components/slider/__snapshots__/Slider.spec.ts.snap +12 -0
- package/src/components/slider/__snapshots__/SliderThumb.spec.ts.snap +16 -0
- package/src/components/slider/__snapshots__/SliderTick.spec.ts.snap +7 -0
- package/src/components/slider/index.ts +19 -0
- package/src/components/slider/types.ts +34 -0
- package/src/components/snackbar/Snackbar.spec.ts +35 -0
- package/src/components/snackbar/Snackbar.vue +88 -0
- package/src/components/snackbar/__snapshots__/Snackbar.spec.ts.snap +12 -0
- package/src/components/snackbar/index.ts +118 -0
- package/src/components/steps/StepItem.spec.ts +114 -0
- package/src/components/steps/StepItem.vue +26 -0
- package/src/components/steps/Steps.spec.ts +125 -0
- package/src/components/steps/Steps.vue +273 -0
- package/src/components/steps/__snapshots__/StepItem.spec.ts.snap +7 -0
- package/src/components/steps/__snapshots__/Steps.spec.ts.snap +40 -0
- package/src/components/steps/index.ts +19 -0
- package/src/components/switch/Switch.spec.ts +74 -0
- package/src/components/switch/Switch.vue +146 -0
- package/src/components/switch/__snapshots__/Switch.spec.ts.snap +3 -0
- package/src/components/switch/index.ts +16 -0
- package/src/components/table/Table.spec.ts +622 -0
- package/src/components/table/Table.vue +1770 -0
- package/src/components/table/TableColumn.spec.ts +85 -0
- package/src/components/table/TableColumn.vue +140 -0
- package/src/components/table/TableMobileSort.spec.ts +47 -0
- package/src/components/table/TableMobileSort.vue +236 -0
- package/src/components/table/TablePagination.vue +86 -0
- package/src/components/table/__snapshots__/Table.spec.ts.snap +24 -0
- package/src/components/table/__snapshots__/TableMobileSort.spec.ts.snap +12 -0
- package/src/components/table/index.ts +32 -0
- package/src/components/table/mockTableColumn.ts +110 -0
- package/src/components/table/types.ts +110 -0
- package/src/components/tabs/TabItem.spec.ts +203 -0
- package/src/components/tabs/TabItem.vue +19 -0
- package/src/components/tabs/Tabs.spec.ts +122 -0
- package/src/components/tabs/Tabs.vue +204 -0
- package/src/components/tabs/__snapshots__/TabItem.spec.ts.snap +7 -0
- package/src/components/tabs/__snapshots__/Tabs.spec.ts.snap +33 -0
- package/src/components/tabs/index.ts +19 -0
- package/src/components/tag/Tag.spec.ts +32 -0
- package/src/components/tag/Tag.vue +132 -0
- package/src/components/tag/Taglist.spec.ts +21 -0
- package/src/components/tag/Taglist.vue +16 -0
- package/src/components/tag/__snapshots__/Tag.spec.ts.snap +6 -0
- package/src/components/tag/__snapshots__/Taglist.spec.ts.snap +3 -0
- package/src/components/tag/index.ts +19 -0
- package/src/components/taginput/Taginput.spec.ts +132 -0
- package/src/components/taginput/Taginput.vue +415 -0
- package/src/components/taginput/__snapshots__/Taginput.spec.ts.snap +10 -0
- package/src/components/taginput/index.ts +16 -0
- package/src/components/timepicker/Timepicker.spec.ts +108 -0
- package/src/components/timepicker/Timepicker.vue +183 -0
- package/src/components/timepicker/__snapshots__/Timepicker.spec.ts.snap +41 -0
- package/src/components/timepicker/index.ts +17 -0
- package/src/components/toast/Toast.spec.ts +74 -0
- package/src/components/toast/Toast.vue +46 -0
- package/src/components/toast/__snapshots__/Toast.spec.ts.snap +10 -0
- package/src/components/toast/index.ts +120 -0
- package/src/components/tooltip/Tooltip.spec.ts +64 -0
- package/src/components/tooltip/Tooltip.vue +393 -0
- package/src/components/tooltip/__snapshots__/Tooltip.spec.ts.snap +12 -0
- package/src/components/tooltip/index.ts +16 -0
- package/src/components/upload/Upload.spec.ts +62 -0
- package/src/components/upload/Upload.vue +188 -0
- package/src/components/upload/__snapshots__/Upload.spec.ts.snap +3 -0
- package/src/components/upload/index.ts +15 -0
- package/src/directives/clickOutside.ts +113 -0
- package/src/directives/trapFocus.ts +61 -0
- package/src/index.ts +43 -0
- package/src/scss/buefy-build.scss +6 -0
- package/src/scss/buefy.scss +39 -0
- package/src/scss/components/_autocomplete.scss +39 -0
- package/src/scss/components/_carousel.scss +204 -0
- package/src/scss/components/_checkbox.scss +106 -0
- package/src/scss/components/_clockpicker.scss +283 -0
- package/src/scss/components/_collapse.scss +9 -0
- package/src/scss/components/_colorpicker.scss +283 -0
- package/src/scss/components/_datepicker.scss +220 -0
- package/src/scss/components/_dialog.scss +54 -0
- package/src/scss/components/_dropdown.scss +143 -0
- package/src/scss/components/_form.scss +309 -0
- package/src/scss/components/_icon.scss +16 -0
- package/src/scss/components/_image.scss +20 -0
- package/src/scss/components/_loading.scss +45 -0
- package/src/scss/components/_menu.scss +11 -0
- package/src/scss/components/_message.scss +16 -0
- package/src/scss/components/_modal.scss +37 -0
- package/src/scss/components/_navbar.scss +22 -0
- package/src/scss/components/_notices.scss +144 -0
- package/src/scss/components/_notification.scss +8 -0
- package/src/scss/components/_numberinput.scss +33 -0
- package/src/scss/components/_pagination.scss +63 -0
- package/src/scss/components/_progress.scss +105 -0
- package/src/scss/components/_radio.scss +123 -0
- package/src/scss/components/_rate.scss +72 -0
- package/src/scss/components/_select.scss +38 -0
- package/src/scss/components/_sidebar.scss +107 -0
- package/src/scss/components/_skeleton.scss +66 -0
- package/src/scss/components/_slider.scss +162 -0
- package/src/scss/components/_steps.scss +491 -0
- package/src/scss/components/_switch.scss +214 -0
- package/src/scss/components/_table.scss +322 -0
- package/src/scss/components/_tabs.scss +197 -0
- package/src/scss/components/_tag.scss +36 -0
- package/src/scss/components/_taginput.scss +73 -0
- package/src/scss/components/_timepicker.scss +73 -0
- package/src/scss/components/_tooltip.scss +192 -0
- package/src/scss/components/_upload.scss +62 -0
- package/src/scss/utils/_all.scss +4 -0
- package/src/scss/utils/_animations.scss +183 -0
- package/src/scss/utils/_functions.scss +49 -0
- package/src/scss/utils/_helpers.scss +6 -0
- package/src/scss/utils/_variables-ext.scss +2 -0
- package/src/scss/utils/_variables.scss +16 -0
- package/src/utils/CheckRadioMixin.spec.ts +28 -0
- package/src/utils/CheckRadioMixin.ts +61 -0
- package/src/utils/CompatFallthroughMixin.ts +34 -0
- package/src/utils/ConfigComponent.ts +12 -0
- package/src/utils/FormElementMixin.spec.ts +41 -0
- package/src/utils/FormElementMixin.ts +206 -0
- package/src/utils/InjectedChildMixin.ts +139 -0
- package/src/utils/MessageMixin.spec.ts +51 -0
- package/src/utils/MessageMixin.ts +138 -0
- package/src/utils/NoticeMixin.spec.ts +55 -0
- package/src/utils/NoticeMixin.ts +181 -0
- package/src/utils/ProvideInjectTypes.ts +20 -0
- package/src/utils/ProviderParentMixin.ts +105 -0
- package/src/utils/SlotComponent.spec.ts +55 -0
- package/src/utils/SlotComponent.ts +38 -0
- package/src/utils/TabbedChildMixin.ts +96 -0
- package/src/utils/TabbedMixin.ts +166 -0
- package/src/utils/TabbedTypes.ts +33 -0
- package/src/utils/TimepickerMixin.spec.ts +75 -0
- package/src/utils/TimepickerMixin.ts +767 -0
- package/src/utils/color.spec.ts +55 -0
- package/src/utils/color.ts +507 -0
- package/src/utils/config.spec.ts +11 -0
- package/src/utils/config.ts +619 -0
- package/src/utils/debounce.spec.ts +52 -0
- package/src/utils/debounce.ts +20 -0
- package/src/utils/helpers.spec.ts +257 -0
- package/src/utils/helpers.ts +527 -0
- package/src/utils/icons.ts +73 -0
- package/src/utils/plugins.ts +20 -0
- package/src/utils/ssr.ts +6 -0
- package/src/utils/vue-augmentation.ts +35 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import 'vue';
|
|
2
|
+
import ConfigComponent from './config.js';
|
|
3
|
+
import Plugin from './autocomplete.js';
|
|
4
|
+
import Plugin$1 from './breadcrumb.js';
|
|
5
|
+
export { BBreadcrumb, BBreadcrumbItem } from './breadcrumb.js';
|
|
6
|
+
import Plugin$2 from './button.js';
|
|
7
|
+
import Plugin$3 from './carousel.js';
|
|
8
|
+
export { BCarousel, BCarouselItem, BCarouselList } from './carousel.js';
|
|
9
|
+
import Plugin$4 from './checkbox.js';
|
|
10
|
+
export { BCheckboxButton } from './checkbox.js';
|
|
11
|
+
import Plugin$6 from './collapse.js';
|
|
12
|
+
export { BCollapse } from './collapse.js';
|
|
13
|
+
import Plugin$5 from './clockpicker.js';
|
|
14
|
+
export { BClockpicker } from './clockpicker.js';
|
|
15
|
+
import { P as Plugin$7 } from './index-CQegEsxK.js';
|
|
16
|
+
export { a as BColorpicker, C as Color } from './index-CQegEsxK.js';
|
|
17
|
+
import Plugin$8 from './datepicker.js';
|
|
18
|
+
import Plugin$9 from './datetimepicker.js';
|
|
19
|
+
export { BDatetimepicker } from './datetimepicker.js';
|
|
20
|
+
import Plugin$a from './dialog.js';
|
|
21
|
+
export { BDialog, DialogProgrammatic } from './dialog.js';
|
|
22
|
+
import Plugin$b from './dropdown.js';
|
|
23
|
+
import Plugin$c from './field.js';
|
|
24
|
+
import Plugin$d from './icon.js';
|
|
25
|
+
import Plugin$e from './image.js';
|
|
26
|
+
import Plugin$f from './input.js';
|
|
27
|
+
import Plugin$g from './loading.js';
|
|
28
|
+
export { LoadingProgrammatic } from './loading.js';
|
|
29
|
+
import Plugin$h from './menu.js';
|
|
30
|
+
export { BMenu, BMenuItem, BMenuList } from './menu.js';
|
|
31
|
+
import Plugin$i from './message.js';
|
|
32
|
+
export { BMessage } from './message.js';
|
|
33
|
+
import Plugin$j from './modal.js';
|
|
34
|
+
export { ModalProgrammatic } from './modal.js';
|
|
35
|
+
import Plugin$l from './notification.js';
|
|
36
|
+
export { BNotification, NotificationProgrammatic } from './notification.js';
|
|
37
|
+
import Plugin$k from './navbar.js';
|
|
38
|
+
export { BNavbar, BNavbarDropdown, BNavbarItem } from './navbar.js';
|
|
39
|
+
import Plugin$m from './numberinput.js';
|
|
40
|
+
export { BNumberinput } from './numberinput.js';
|
|
41
|
+
import Plugin$n from './pagination.js';
|
|
42
|
+
import Plugin$o from './progress.js';
|
|
43
|
+
export { BProgressBar } from './progress.js';
|
|
44
|
+
import Plugin$p from './radio.js';
|
|
45
|
+
export { BRadio, BRadioButton } from './radio.js';
|
|
46
|
+
import Plugin$q from './rate.js';
|
|
47
|
+
export { BRate } from './rate.js';
|
|
48
|
+
import Plugin$r from './select.js';
|
|
49
|
+
import Plugin$s from './skeleton.js';
|
|
50
|
+
export { BSkeleton } from './skeleton.js';
|
|
51
|
+
import Plugin$t from './sidebar.js';
|
|
52
|
+
export { BSidebar } from './sidebar.js';
|
|
53
|
+
import Plugin$u from './slider.js';
|
|
54
|
+
export { BSlider, BSliderTick } from './slider.js';
|
|
55
|
+
import Plugin$v from './snackbar.js';
|
|
56
|
+
export { BSnackbar, SnackbarProgrammatic } from './snackbar.js';
|
|
57
|
+
import Plugin$w from './steps.js';
|
|
58
|
+
export { BStepItem, BSteps } from './steps.js';
|
|
59
|
+
import Plugin$x from './switch.js';
|
|
60
|
+
export { BSwitch } from './switch.js';
|
|
61
|
+
import Plugin$y from './table.js';
|
|
62
|
+
export { BTable, BTableColumn } from './table.js';
|
|
63
|
+
import Plugin$z from './tabs.js';
|
|
64
|
+
export { BTabItem, BTabs } from './tabs.js';
|
|
65
|
+
import Plugin$A from './tag.js';
|
|
66
|
+
export { BTaglist } from './tag.js';
|
|
67
|
+
import Plugin$B from './taginput.js';
|
|
68
|
+
export { BTaginput } from './taginput.js';
|
|
69
|
+
import Plugin$C from './timepicker.js';
|
|
70
|
+
import Plugin$D from './toast.js';
|
|
71
|
+
export { BToast, ToastProgrammatic } from './toast.js';
|
|
72
|
+
import Plugin$E from './tooltip.js';
|
|
73
|
+
import Plugin$F from './upload.js';
|
|
74
|
+
export { BUpload } from './upload.js';
|
|
75
|
+
import { merge } from './helpers.js';
|
|
76
|
+
export { bound, copyAppContext, createAbsoluteElement, createNewEvent, escapeRegExpChars, getComponentFromVNode, getMonthNames, getValueByPath, getWeekdayNames, hasFlag, indexOf, isCustomElement, isDefined, isFragment, isMobile, isNil, isTag, isVueComponent, isWebpSupported, matchWithGroups, mod, multiColumnSort, removeDiacriticsFromString, removeElement, sign, toCssWidth, translateTouchAsDragEvent } from './helpers.js';
|
|
77
|
+
import { s as setOptions, c as config } from './config-CKuo-p6e.js';
|
|
78
|
+
import { r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
|
|
79
|
+
export { B as BAutocomplete } from './Autocomplete-CjbTh9D8.js';
|
|
80
|
+
export { B as BButton } from './Button-DyUYShTZ.js';
|
|
81
|
+
export { B as BCheckbox } from './Checkbox-KUMz0sfA.js';
|
|
82
|
+
export { B as BDatepicker } from './Datepicker-Bl8Wfdkn.js';
|
|
83
|
+
export { B as BDropdown } from './Dropdown-CGTYVyoL.js';
|
|
84
|
+
export { B as BDropdownItem } from './DropdownItem-Cn3nM0A3.js';
|
|
85
|
+
export { F as BField } from './Field-B7bX_uUg.js';
|
|
86
|
+
export { B as BIcon } from './Icon-DPyGDeRK.js';
|
|
87
|
+
export { I as BImage } from './Image-DhX-4hlV.js';
|
|
88
|
+
export { B as BInput } from './Input-C4L520az.js';
|
|
89
|
+
export { B as BLoading } from './Loading-tuQoo6TU.js';
|
|
90
|
+
export { M as BModal } from './Modal-tfvyhxw_.js';
|
|
91
|
+
export { B as BPagination, P as BPaginationButton } from './Pagination-B-LAJQay.js';
|
|
92
|
+
export { P as BProgress } from './Progress-BPGTVZgr.js';
|
|
93
|
+
export { B as BSelect } from './Select-bl4qUzij.js';
|
|
94
|
+
export { B as BTag } from './Tag-jS5Bcj6N.js';
|
|
95
|
+
export { T as BTimepicker } from './Timepicker-DnkqnOBT.js';
|
|
96
|
+
export { T as BTooltip } from './Tooltip-CtDSXAqa.js';
|
|
97
|
+
import './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
98
|
+
import './CompatFallthroughMixin-C8LPuwDr.js';
|
|
99
|
+
import './InjectedChildMixin-D2K-FwuO.js';
|
|
100
|
+
import './CheckRadioMixin-DSD_rjC8.js';
|
|
101
|
+
import './TimepickerMixin-Bikh6_Fg.js';
|
|
102
|
+
import './FormElementMixin-Dd_wkBN5.js';
|
|
103
|
+
import './trapFocus-KHP_kCNE.js';
|
|
104
|
+
import './MessageMixin-CQ7LIdvq.js';
|
|
105
|
+
import './NoticeMixin-ByNlva3T.js';
|
|
106
|
+
import './TabbedChildMixin-C4i6WP9j.js';
|
|
107
|
+
import './SlotComponent-BwNpVnfH.js';
|
|
108
|
+
import './ssr-C7yEpGLm.js';
|
|
109
|
+
|
|
110
|
+
const allComponents = [
|
|
111
|
+
Plugin,
|
|
112
|
+
Plugin$1,
|
|
113
|
+
Plugin$2,
|
|
114
|
+
Plugin$3,
|
|
115
|
+
Plugin$4,
|
|
116
|
+
Plugin$5,
|
|
117
|
+
Plugin$6,
|
|
118
|
+
Plugin$7,
|
|
119
|
+
Plugin$8,
|
|
120
|
+
Plugin$9,
|
|
121
|
+
Plugin$a,
|
|
122
|
+
Plugin$b,
|
|
123
|
+
Plugin$c,
|
|
124
|
+
Plugin$d,
|
|
125
|
+
Plugin$e,
|
|
126
|
+
Plugin$f,
|
|
127
|
+
Plugin$g,
|
|
128
|
+
Plugin$h,
|
|
129
|
+
Plugin$i,
|
|
130
|
+
Plugin$j,
|
|
131
|
+
Plugin$k,
|
|
132
|
+
Plugin$l,
|
|
133
|
+
Plugin$m,
|
|
134
|
+
Plugin$n,
|
|
135
|
+
Plugin$o,
|
|
136
|
+
Plugin$p,
|
|
137
|
+
Plugin$q,
|
|
138
|
+
Plugin$r,
|
|
139
|
+
Plugin$s,
|
|
140
|
+
Plugin$t,
|
|
141
|
+
Plugin$u,
|
|
142
|
+
Plugin$v,
|
|
143
|
+
Plugin$w,
|
|
144
|
+
Plugin$x,
|
|
145
|
+
Plugin$y,
|
|
146
|
+
Plugin$z,
|
|
147
|
+
Plugin$A,
|
|
148
|
+
Plugin$B,
|
|
149
|
+
Plugin$C,
|
|
150
|
+
Plugin$D,
|
|
151
|
+
Plugin$E,
|
|
152
|
+
Plugin$F
|
|
153
|
+
];
|
|
154
|
+
|
|
155
|
+
const Buefy = {
|
|
156
|
+
install(Vue, options = {}) {
|
|
157
|
+
setOptions(merge(config, options, true));
|
|
158
|
+
allComponents.forEach((component) => Vue.use(component));
|
|
159
|
+
registerComponentProgrammatic(Vue, "config", ConfigComponent);
|
|
160
|
+
Vue.config.globalProperties.$buefy.globalNoticeInterval = void 0;
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
export { Plugin as Autocomplete, Plugin$1 as Breadcrumb, Plugin$2 as Button, Plugin$3 as Carousel, Plugin$4 as Checkbox, Plugin$5 as Clockpicker, Plugin$6 as Collapse, Plugin$7 as Colorpicker, ConfigComponent as ConfigProgrammatic, Plugin$8 as Datepicker, Plugin$9 as Datetimepicker, Plugin$a as Dialog, Plugin$b as Dropdown, Plugin$c as Field, Plugin$d as Icon, Plugin$e as Image, Plugin$f as Input, Plugin$g as Loading, Plugin$h as Menu, Plugin$i as Message, Plugin$j as Modal, Plugin$k as Navbar, Plugin$l as Notification, Plugin$m as Numberinput, Plugin$n as Pagination, Plugin$o as Progress, Plugin$p as Radio, Plugin$q as Rate, Plugin$r as Select, Plugin$t as Sidebar, Plugin$s as Skeleton, Plugin$u as Slider, Plugin$v as Snackbar, Plugin$w as Steps, Plugin$x as Switch, Plugin$y as Table, Plugin$z as Tabs, Plugin$A as Tag, Plugin$B as Taginput, Plugin$C as Timepicker, Plugin$D as Toast, Plugin$E as Tooltip, Plugin$F as Upload, Buefy as default, merge };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { B as BInput } from './Input-C4L520az.js';
|
|
2
|
+
import { a as registerComponent } from './plugins-B172kuKE.js';
|
|
3
|
+
import 'vue';
|
|
4
|
+
import './Icon-DPyGDeRK.js';
|
|
5
|
+
import './config-CKuo-p6e.js';
|
|
6
|
+
import './helpers.js';
|
|
7
|
+
import './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
8
|
+
import './CompatFallthroughMixin-C8LPuwDr.js';
|
|
9
|
+
import './FormElementMixin-Dd_wkBN5.js';
|
|
10
|
+
|
|
11
|
+
const Plugin = {
|
|
12
|
+
install(Vue) {
|
|
13
|
+
registerComponent(Vue, BInput);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { BInput, Plugin as default };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { createApp, h } from 'vue';
|
|
2
|
+
import { B as BLoading } from './Loading-tuQoo6TU.js';
|
|
3
|
+
import { getComponentFromVNode, copyAppContext } from './helpers.js';
|
|
4
|
+
import { a as registerComponent, r as registerComponentProgrammatic } from './plugins-B172kuKE.js';
|
|
5
|
+
import './ssr-C7yEpGLm.js';
|
|
6
|
+
import './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
7
|
+
|
|
8
|
+
var __defProp = Object.defineProperty;
|
|
9
|
+
var __defProps = Object.defineProperties;
|
|
10
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
11
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
12
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
14
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15
|
+
var __spreadValues = (a, b) => {
|
|
16
|
+
for (var prop in b || (b = {}))
|
|
17
|
+
if (__hasOwnProp.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
if (__getOwnPropSymbols)
|
|
20
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
21
|
+
if (__propIsEnum.call(b, prop))
|
|
22
|
+
__defNormalProp(a, prop, b[prop]);
|
|
23
|
+
}
|
|
24
|
+
return a;
|
|
25
|
+
};
|
|
26
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
27
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
|
|
28
|
+
class LoadingProgrammatic {
|
|
29
|
+
constructor(app) {
|
|
30
|
+
__publicField(this, "app");
|
|
31
|
+
this.app = app;
|
|
32
|
+
}
|
|
33
|
+
open(params) {
|
|
34
|
+
const propsData = params;
|
|
35
|
+
const container = document.createElement("div");
|
|
36
|
+
const vueInstance = createApp({
|
|
37
|
+
data() {
|
|
38
|
+
return {
|
|
39
|
+
loadingVNode: null
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
methods: {
|
|
43
|
+
close() {
|
|
44
|
+
const loading = getComponentFromVNode(this.loadingVNode);
|
|
45
|
+
if (loading) {
|
|
46
|
+
loading.close();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
render() {
|
|
51
|
+
this.loadingVNode = h(
|
|
52
|
+
BLoading,
|
|
53
|
+
__spreadProps(__spreadValues({}, propsData), {
|
|
54
|
+
programmatic: true,
|
|
55
|
+
onClose(...args) {
|
|
56
|
+
if (propsData.onClose) {
|
|
57
|
+
propsData.onClose(...args);
|
|
58
|
+
}
|
|
59
|
+
setTimeout(() => {
|
|
60
|
+
vueInstance.unmount();
|
|
61
|
+
}, 150);
|
|
62
|
+
}
|
|
63
|
+
})
|
|
64
|
+
);
|
|
65
|
+
return this.loadingVNode;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
if (this.app) {
|
|
69
|
+
copyAppContext(this.app, vueInstance);
|
|
70
|
+
}
|
|
71
|
+
return vueInstance.mount(container);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
const Plugin = {
|
|
75
|
+
install(Vue) {
|
|
76
|
+
registerComponent(Vue, BLoading);
|
|
77
|
+
registerComponentProgrammatic(Vue, "loading", new LoadingProgrammatic(Vue));
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export { BLoading, LoadingProgrammatic, Plugin as default };
|
package/dist/esm/menu.js
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, renderSlot, resolveComponent, Fragment, createCommentVNode, createElementVNode, createVNode, toDisplayString, createTextVNode, mergeProps, createBlock, resolveDynamicComponent, withCtx, Transition, withDirectives, vShow } from 'vue';
|
|
2
|
+
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
3
|
+
import { B as BIcon } from './Icon-DPyGDeRK.js';
|
|
4
|
+
import { c as config } from './config-CKuo-p6e.js';
|
|
5
|
+
import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
|
|
6
|
+
import { a as registerComponent } from './plugins-B172kuKE.js';
|
|
7
|
+
import './helpers.js';
|
|
8
|
+
|
|
9
|
+
var MenuItemContainerMixin = defineComponent({
|
|
10
|
+
provide() {
|
|
11
|
+
return {
|
|
12
|
+
BMenuItemContainer: this
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
data() {
|
|
16
|
+
return {
|
|
17
|
+
menuItems: []
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
methods: {
|
|
21
|
+
appendMenuItem(item) {
|
|
22
|
+
this.menuItems.push(item);
|
|
23
|
+
},
|
|
24
|
+
removeMenuItem(item) {
|
|
25
|
+
const index = this.menuItems.indexOf(item);
|
|
26
|
+
if (index !== -1) {
|
|
27
|
+
this.menuItems.splice(index, 1);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
var _sfc_main$2 = defineComponent({
|
|
34
|
+
name: "BMenu",
|
|
35
|
+
mixins: [MenuItemContainerMixin],
|
|
36
|
+
props: {
|
|
37
|
+
accordion: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: true
|
|
40
|
+
},
|
|
41
|
+
activable: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: true
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
data() {
|
|
47
|
+
return {
|
|
48
|
+
_isMenu: true
|
|
49
|
+
// Used by MenuItem
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
const _hoisted_1$2 = { class: "menu" };
|
|
55
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
57
|
+
renderSlot(_ctx.$slots, "default")
|
|
58
|
+
]);
|
|
59
|
+
}
|
|
60
|
+
var Menu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
|
|
61
|
+
|
|
62
|
+
var _sfc_main$1 = defineComponent({
|
|
63
|
+
name: "BMenuList",
|
|
64
|
+
components: {
|
|
65
|
+
BIcon
|
|
66
|
+
},
|
|
67
|
+
props: {
|
|
68
|
+
label: String,
|
|
69
|
+
icon: String,
|
|
70
|
+
iconPack: String,
|
|
71
|
+
ariaRole: {
|
|
72
|
+
type: String,
|
|
73
|
+
default: ""
|
|
74
|
+
},
|
|
75
|
+
size: {
|
|
76
|
+
type: String,
|
|
77
|
+
default: "is-small"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
const _hoisted_1$1 = {
|
|
83
|
+
key: 0,
|
|
84
|
+
class: "menu-label"
|
|
85
|
+
};
|
|
86
|
+
const _hoisted_2$1 = ["role"];
|
|
87
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
88
|
+
const _component_b_icon = resolveComponent("b-icon");
|
|
89
|
+
return openBlock(), createElementBlock(
|
|
90
|
+
Fragment,
|
|
91
|
+
null,
|
|
92
|
+
[
|
|
93
|
+
_ctx.label || _ctx.$slots.label ? (openBlock(), createElementBlock("p", _hoisted_1$1, [
|
|
94
|
+
_ctx.label ? (openBlock(), createElementBlock(
|
|
95
|
+
Fragment,
|
|
96
|
+
{ key: 0 },
|
|
97
|
+
[
|
|
98
|
+
_ctx.icon ? (openBlock(), createElementBlock(
|
|
99
|
+
Fragment,
|
|
100
|
+
{ key: 0 },
|
|
101
|
+
[
|
|
102
|
+
createVNode(_component_b_icon, {
|
|
103
|
+
icon: _ctx.icon,
|
|
104
|
+
pack: _ctx.iconPack,
|
|
105
|
+
size: _ctx.size
|
|
106
|
+
}, null, 8, ["icon", "pack", "size"]),
|
|
107
|
+
createElementVNode(
|
|
108
|
+
"span",
|
|
109
|
+
null,
|
|
110
|
+
toDisplayString(_ctx.label),
|
|
111
|
+
1
|
|
112
|
+
/* TEXT */
|
|
113
|
+
)
|
|
114
|
+
],
|
|
115
|
+
64
|
|
116
|
+
/* STABLE_FRAGMENT */
|
|
117
|
+
)) : (openBlock(), createElementBlock(
|
|
118
|
+
Fragment,
|
|
119
|
+
{ key: 1 },
|
|
120
|
+
[
|
|
121
|
+
createTextVNode(
|
|
122
|
+
toDisplayString(_ctx.label),
|
|
123
|
+
1
|
|
124
|
+
/* TEXT */
|
|
125
|
+
)
|
|
126
|
+
],
|
|
127
|
+
64
|
|
128
|
+
/* STABLE_FRAGMENT */
|
|
129
|
+
))
|
|
130
|
+
],
|
|
131
|
+
64
|
|
132
|
+
/* STABLE_FRAGMENT */
|
|
133
|
+
)) : renderSlot(_ctx.$slots, "label", { key: 1 })
|
|
134
|
+
])) : createCommentVNode("v-if", true),
|
|
135
|
+
createElementVNode("ul", {
|
|
136
|
+
class: "menu-list",
|
|
137
|
+
role: _ctx.ariaRole === "menu" ? _ctx.ariaRole : void 0
|
|
138
|
+
}, [
|
|
139
|
+
renderSlot(_ctx.$slots, "default")
|
|
140
|
+
], 8, _hoisted_2$1)
|
|
141
|
+
],
|
|
142
|
+
64
|
|
143
|
+
/* STABLE_FRAGMENT */
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
var MenuList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
147
|
+
|
|
148
|
+
var _sfc_main = defineComponent({
|
|
149
|
+
name: "BMenuItem",
|
|
150
|
+
components: {
|
|
151
|
+
BIcon
|
|
152
|
+
},
|
|
153
|
+
mixins: [CompatFallthroughMixin, MenuItemContainerMixin],
|
|
154
|
+
inject: {
|
|
155
|
+
parent: {
|
|
156
|
+
from: "BMenuItemContainer",
|
|
157
|
+
default: null
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
// deprecated, to replace with default 'value' in the next breaking change
|
|
161
|
+
props: {
|
|
162
|
+
label: String,
|
|
163
|
+
modelValue: Boolean,
|
|
164
|
+
expanded: Boolean,
|
|
165
|
+
disabled: Boolean,
|
|
166
|
+
iconPack: String,
|
|
167
|
+
icon: String,
|
|
168
|
+
animation: {
|
|
169
|
+
type: String,
|
|
170
|
+
default: "slide"
|
|
171
|
+
},
|
|
172
|
+
tag: {
|
|
173
|
+
type: [String, Object],
|
|
174
|
+
default: "a",
|
|
175
|
+
validator: (value) => {
|
|
176
|
+
return typeof value === "object" || config.defaultLinkTags.indexOf(value) >= 0;
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
ariaRole: {
|
|
180
|
+
type: String,
|
|
181
|
+
default: ""
|
|
182
|
+
},
|
|
183
|
+
size: {
|
|
184
|
+
type: String,
|
|
185
|
+
default: "is-small"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
emits: {
|
|
189
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
190
|
+
"update:modelValue": (_isActive) => true,
|
|
191
|
+
"update:expanded": (_isExpanded) => true
|
|
192
|
+
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
193
|
+
},
|
|
194
|
+
data() {
|
|
195
|
+
return {
|
|
196
|
+
newActive: this.modelValue,
|
|
197
|
+
newExpanded: this.expanded
|
|
198
|
+
};
|
|
199
|
+
},
|
|
200
|
+
computed: {
|
|
201
|
+
ariaRoleMenu() {
|
|
202
|
+
return this.ariaRole === "menuitem" ? this.ariaRole : void 0;
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
watch: {
|
|
206
|
+
modelValue(value) {
|
|
207
|
+
this.newActive = value;
|
|
208
|
+
},
|
|
209
|
+
expanded(value) {
|
|
210
|
+
this.newExpanded = value;
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
methods: {
|
|
214
|
+
onClick() {
|
|
215
|
+
if (this.disabled) return;
|
|
216
|
+
const menu = this.getMenu();
|
|
217
|
+
this.reset(this.parent, menu);
|
|
218
|
+
this.newExpanded = this.$props.expanded || !this.newExpanded;
|
|
219
|
+
this.$emit("update:expanded", this.newExpanded);
|
|
220
|
+
if (menu && menu.activable) {
|
|
221
|
+
this.newActive = true;
|
|
222
|
+
this.$emit("update:modelValue", this.newActive);
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
reset(parent, menu) {
|
|
226
|
+
if (parent == null) {
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
parent.menuItems.forEach((item) => {
|
|
230
|
+
if (item !== this) {
|
|
231
|
+
this.reset(item, menu);
|
|
232
|
+
if (!parent.$data._isMenu || parent.$data._isMenu && parent.accordion) {
|
|
233
|
+
item.newExpanded = false;
|
|
234
|
+
item.$emit("update:expanded", item.newExpanded);
|
|
235
|
+
}
|
|
236
|
+
if (menu && menu.activable) {
|
|
237
|
+
item.newActive = false;
|
|
238
|
+
item.$emit("update:modelValue", item.newActive);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
},
|
|
243
|
+
getMenu() {
|
|
244
|
+
let parent = this.parent;
|
|
245
|
+
while (parent && !parent.$data._isMenu) {
|
|
246
|
+
parent = parent.parent;
|
|
247
|
+
}
|
|
248
|
+
return parent;
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
mounted() {
|
|
252
|
+
if (this.parent) {
|
|
253
|
+
this.parent.appendMenuItem(this);
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
beforeUnmount() {
|
|
257
|
+
if (this.parent) {
|
|
258
|
+
this.parent.removeMenuItem(this);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
|
|
263
|
+
const _hoisted_1 = ["role"];
|
|
264
|
+
const _hoisted_2 = { key: 1 };
|
|
265
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
266
|
+
const _component_b_icon = resolveComponent("b-icon");
|
|
267
|
+
return openBlock(), createElementBlock("li", mergeProps({ role: _ctx.ariaRoleMenu }, _ctx.rootAttrs), [
|
|
268
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps(_ctx.fallthroughAttrs, {
|
|
269
|
+
class: {
|
|
270
|
+
"is-active": _ctx.newActive,
|
|
271
|
+
"is-expanded": _ctx.newExpanded,
|
|
272
|
+
"is-disabled": _ctx.disabled,
|
|
273
|
+
"icon-text": _ctx.icon
|
|
274
|
+
},
|
|
275
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.onClick())
|
|
276
|
+
}), {
|
|
277
|
+
default: withCtx(() => [
|
|
278
|
+
_ctx.icon ? (openBlock(), createBlock(_component_b_icon, {
|
|
279
|
+
key: 0,
|
|
280
|
+
icon: _ctx.icon,
|
|
281
|
+
pack: _ctx.iconPack,
|
|
282
|
+
size: _ctx.size
|
|
283
|
+
}, null, 8, ["icon", "pack", "size"])) : createCommentVNode("v-if", true),
|
|
284
|
+
_ctx.label ? (openBlock(), createElementBlock(
|
|
285
|
+
"span",
|
|
286
|
+
_hoisted_2,
|
|
287
|
+
toDisplayString(_ctx.label),
|
|
288
|
+
1
|
|
289
|
+
/* TEXT */
|
|
290
|
+
)) : renderSlot(_ctx.$slots, "label", {
|
|
291
|
+
key: 2,
|
|
292
|
+
expanded: _ctx.newExpanded,
|
|
293
|
+
active: _ctx.newActive
|
|
294
|
+
})
|
|
295
|
+
]),
|
|
296
|
+
_: 3
|
|
297
|
+
/* FORWARDED */
|
|
298
|
+
}, 16, ["class"])),
|
|
299
|
+
createCommentVNode(" sub menu items "),
|
|
300
|
+
_ctx.$slots.default ? (openBlock(), createBlock(Transition, {
|
|
301
|
+
key: 0,
|
|
302
|
+
name: _ctx.animation,
|
|
303
|
+
persisted: ""
|
|
304
|
+
}, {
|
|
305
|
+
default: withCtx(() => [
|
|
306
|
+
withDirectives(createElementVNode(
|
|
307
|
+
"ul",
|
|
308
|
+
null,
|
|
309
|
+
[
|
|
310
|
+
renderSlot(_ctx.$slots, "default")
|
|
311
|
+
],
|
|
312
|
+
512
|
|
313
|
+
/* NEED_PATCH */
|
|
314
|
+
), [
|
|
315
|
+
[vShow, _ctx.newExpanded]
|
|
316
|
+
])
|
|
317
|
+
]),
|
|
318
|
+
_: 3
|
|
319
|
+
/* FORWARDED */
|
|
320
|
+
}, 8, ["name"])) : createCommentVNode("v-if", true)
|
|
321
|
+
], 16, _hoisted_1);
|
|
322
|
+
}
|
|
323
|
+
var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
324
|
+
|
|
325
|
+
const Plugin = {
|
|
326
|
+
install(Vue) {
|
|
327
|
+
registerComponent(Vue, Menu);
|
|
328
|
+
registerComponent(Vue, MenuList, "BMenuList");
|
|
329
|
+
registerComponent(Vue, MenuItem);
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export { Menu as BMenu, MenuItem as BMenuItem, MenuList as BMenuList, Plugin as default };
|