quasar 2.18.7 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/api/BottomSheet.json +1 -1
- package/dist/api/Dialog.json +1 -1
- package/dist/api/Intersection.json +1 -1
- package/dist/api/Lang.json +1 -1
- package/dist/api/LocalStorage.json +1 -1
- package/dist/api/Notify.json +1 -1
- package/dist/api/QBtnDropdown.json +1 -1
- package/dist/api/QBtnToggle.json +1 -1
- package/dist/api/QCarousel.json +1 -1
- package/dist/api/QCarouselControl.json +1 -1
- package/dist/api/QChatMessage.json +1 -1
- package/dist/api/QCheckbox.json +1 -1
- package/dist/api/QColor.json +1 -1
- package/dist/api/QDate.json +1 -1
- package/dist/api/QEditor.json +1 -1
- package/dist/api/QField.json +1 -1
- package/dist/api/QFile.json +1 -1
- package/dist/api/QInput.json +1 -1
- package/dist/api/QIntersection.json +1 -1
- package/dist/api/QMenu.json +1 -1
- package/dist/api/QOptionGroup.json +1 -1
- package/dist/api/QPageScroller.json +1 -1
- package/dist/api/QPageSticky.json +1 -1
- package/dist/api/QPopupEdit.json +1 -1
- package/dist/api/QRange.json +1 -1
- package/dist/api/QRating.json +1 -1
- package/dist/api/QScrollArea.json +1 -1
- package/dist/api/QSelect.json +1 -1
- package/dist/api/QSlider.json +1 -1
- package/dist/api/QSplitter.json +1 -1
- package/dist/api/QStepper.json +1 -1
- package/dist/api/QTabPanels.json +1 -1
- package/dist/api/QTable.json +1 -1
- package/dist/api/QTime.json +1 -1
- package/dist/api/QToggle.json +1 -1
- package/dist/api/QTooltip.json +1 -1
- package/dist/api/QTree.json +1 -1
- package/dist/api/QUploader.json +1 -1
- package/dist/api/QVirtualScroll.json +1 -1
- package/dist/api/Ripple.json +1 -1
- package/dist/api/SessionStorage.json +1 -1
- package/dist/icon-set/bootstrap-icons.umd.prod.js +5 -6
- package/dist/icon-set/eva-icons.umd.prod.js +5 -6
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +5 -6
- package/dist/icon-set/fontawesome-v5.umd.prod.js +5 -6
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +5 -6
- package/dist/icon-set/fontawesome-v6.umd.prod.js +5 -6
- package/dist/icon-set/ionicons-v4.umd.prod.js +5 -6
- package/dist/icon-set/line-awesome.umd.prod.js +5 -6
- package/dist/icon-set/material-icons-outlined.umd.prod.js +5 -6
- package/dist/icon-set/material-icons-round.umd.prod.js +5 -6
- package/dist/icon-set/material-icons-sharp.umd.prod.js +5 -6
- package/dist/icon-set/material-icons.umd.prod.js +5 -6
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +5 -6
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +5 -6
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +5 -6
- package/dist/icon-set/mdi-v3.umd.prod.js +5 -6
- package/dist/icon-set/mdi-v4.umd.prod.js +5 -6
- package/dist/icon-set/mdi-v5.umd.prod.js +5 -6
- package/dist/icon-set/mdi-v6.umd.prod.js +5 -6
- package/dist/icon-set/mdi-v7.umd.prod.js +5 -6
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +5 -6
- package/dist/icon-set/svg-eva-icons.umd.prod.js +5 -6
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +5 -6
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +5 -6
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +5 -6
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +5 -6
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +5 -6
- package/dist/icon-set/svg-line-awesome.umd.prod.js +5 -6
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +5 -6
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +5 -6
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +5 -6
- package/dist/icon-set/svg-material-icons.umd.prod.js +5 -6
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +5 -6
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +5 -6
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +5 -6
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +5 -6
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +5 -6
- package/dist/icon-set/svg-themify.umd.prod.js +5 -6
- package/dist/icon-set/themify.umd.prod.js +5 -6
- package/dist/lang/ar-TN.umd.prod.js +5 -6
- package/dist/lang/ar.umd.prod.js +5 -6
- package/dist/lang/az-Latn.umd.prod.js +5 -6
- package/dist/lang/bg.umd.prod.js +5 -6
- package/dist/lang/bn.umd.prod.js +5 -6
- package/dist/lang/bs-BA.umd.prod.js +5 -6
- package/dist/lang/ca.umd.prod.js +5 -6
- package/dist/lang/cs.umd.prod.js +5 -6
- package/dist/lang/da.umd.prod.js +5 -6
- package/dist/lang/de-CH.umd.prod.js +5 -6
- package/dist/lang/de-DE.umd.prod.js +5 -6
- package/dist/lang/de.umd.prod.js +5 -6
- package/dist/lang/el.umd.prod.js +5 -6
- package/dist/lang/en-GB.umd.prod.js +5 -6
- package/dist/lang/en-US.umd.prod.js +5 -6
- package/dist/lang/eo.umd.prod.js +5 -6
- package/dist/lang/es.umd.prod.js +5 -6
- package/dist/lang/et.umd.prod.js +5 -6
- package/dist/lang/eu.umd.prod.js +5 -6
- package/dist/lang/fa-IR.umd.prod.js +5 -6
- package/dist/lang/fa.umd.prod.js +5 -6
- package/dist/lang/fi.umd.prod.js +5 -6
- package/dist/lang/fr.umd.prod.js +5 -6
- package/dist/lang/gn.umd.prod.js +5 -6
- package/dist/lang/he.umd.prod.js +5 -6
- package/dist/lang/hi.umd.prod.js +5 -6
- package/dist/lang/hr.umd.prod.js +5 -6
- package/dist/lang/hu.umd.prod.js +5 -6
- package/dist/lang/id.umd.prod.js +5 -6
- package/dist/lang/is.umd.prod.js +5 -6
- package/dist/lang/it.umd.prod.js +5 -6
- package/dist/lang/ja.umd.prod.js +5 -6
- package/dist/lang/kk.umd.prod.js +5 -6
- package/dist/lang/km.umd.prod.js +5 -6
- package/dist/lang/ko-KR.umd.prod.js +5 -6
- package/dist/lang/kur-CKB.umd.prod.js +5 -6
- package/dist/lang/lt.umd.prod.js +5 -6
- package/dist/lang/lu.umd.prod.js +5 -6
- package/dist/lang/lv.umd.prod.js +5 -6
- package/dist/lang/mk.umd.prod.js +5 -6
- package/dist/lang/ml.umd.prod.js +5 -6
- package/dist/lang/mm.umd.prod.js +5 -6
- package/dist/lang/ms-MY.umd.prod.js +5 -6
- package/dist/lang/ms.umd.prod.js +5 -6
- package/dist/lang/my.umd.prod.js +5 -6
- package/dist/lang/nb-NO.umd.prod.js +5 -6
- package/dist/lang/nl.umd.prod.js +5 -6
- package/dist/lang/pl.umd.prod.js +5 -6
- package/dist/lang/pt-BR.umd.prod.js +5 -6
- package/dist/lang/pt.umd.prod.js +5 -6
- package/dist/lang/ro.umd.prod.js +5 -6
- package/dist/lang/ru.umd.prod.js +5 -6
- package/dist/lang/sk.umd.prod.js +5 -6
- package/dist/lang/sl.umd.prod.js +5 -6
- package/dist/lang/sm.umd.prod.js +5 -6
- package/dist/lang/sq.umd.prod.js +5 -6
- package/dist/lang/sr-CYR.umd.prod.js +5 -6
- package/dist/lang/sr.umd.prod.js +5 -6
- package/dist/lang/sv.umd.prod.js +5 -6
- package/dist/lang/ta.umd.prod.js +5 -6
- package/dist/lang/th.umd.prod.js +5 -6
- package/dist/lang/tl.umd.prod.js +5 -6
- package/dist/lang/tr.umd.prod.js +5 -6
- package/dist/lang/ug.umd.prod.js +5 -6
- package/dist/lang/uk.umd.prod.js +5 -6
- package/dist/lang/ur-PK.umd.prod.js +5 -6
- package/dist/lang/uz-Cyrl.umd.prod.js +5 -6
- package/dist/lang/uz-Latn.umd.prod.js +5 -6
- package/dist/lang/vi.umd.prod.js +5 -6
- package/dist/lang/zh-CN.umd.prod.js +5 -6
- package/dist/lang/zh-TW.umd.prod.js +5 -6
- package/dist/quasar.addon.prod.css +1 -1
- package/dist/quasar.addon.rtl.prod.css +1 -1
- package/dist/quasar.client.js +24830 -29220
- package/dist/quasar.css +24 -30
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +25 -30
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +7 -16
- package/dist/quasar.server.prod.cjs +78 -79
- package/dist/quasar.server.prod.js +78 -79
- package/dist/quasar.umd.js +25876 -29791
- package/dist/quasar.umd.prod.js +78 -79
- package/dist/types/api/dialog.d.ts +1 -1
- package/dist/types/api/qinput.d.ts +1 -1
- package/dist/types/api/qtable.d.ts +1 -1
- package/dist/types/api/qtree.d.ts +1 -1
- package/dist/types/api/quploader.d.ts +1 -1
- package/dist/types/api/slider.d.ts +2 -4
- package/dist/types/api/validation.d.ts +1 -1
- package/dist/types/api/web-storage.d.ts +6 -6
- package/dist/types/feature-flag.d.ts +1 -1
- package/dist/types/globals.d.ts +7 -4
- package/dist/types/index.d.ts +126 -414
- package/dist/types/lang.d.ts +3 -3
- package/dist/types/ts-helpers.d.ts +4 -9
- package/dist/types/utils/colors.d.ts +1 -1
- package/dist/types/utils/date.d.ts +8 -8
- package/dist/types/utils/dom.d.ts +1 -1
- package/dist/types/utils/run-sequential-promises.d.ts +12 -12
- package/dist/types/utils/scroll.d.ts +5 -5
- package/dist/types/utils.d.ts +16 -19
- package/dist/web-types/web-types.json +1 -1
- package/icon-set/bootstrap-icons.js +1 -4
- package/icon-set/svg-bootstrap-icons.js +1 -4
- package/icon-set/svg-fontawesome-v5.js +0 -1
- package/icon-set/svg-ionicons-v5.js +2 -2
- package/lang/ar-TN.js +10 -8
- package/lang/ar.js +10 -8
- package/lang/az-Latn.js +13 -9
- package/lang/bg.js +10 -8
- package/lang/bn.js +14 -9
- package/lang/bs-BA.js +13 -9
- package/lang/ca.js +18 -14
- package/lang/cs.js +9 -7
- package/lang/da.js +10 -8
- package/lang/de-CH.js +13 -9
- package/lang/de-DE.js +13 -9
- package/lang/de.js +13 -9
- package/lang/el.js +10 -8
- package/lang/en-GB.js +10 -8
- package/lang/en-US.js +10 -8
- package/lang/eo.js +14 -9
- package/lang/es.js +10 -8
- package/lang/et.js +15 -12
- package/lang/eu.js +15 -12
- package/lang/fa-IR.js +16 -8
- package/lang/fa.js +16 -8
- package/lang/fi.js +17 -8
- package/lang/fr.js +21 -13
- package/lang/gn.js +14 -12
- package/lang/he.js +15 -10
- package/lang/hi.js +8 -8
- package/lang/hr.js +13 -9
- package/lang/hu.js +10 -8
- package/lang/id.js +11 -9
- package/lang/is.js +13 -9
- package/lang/it.js +14 -9
- package/lang/ja.js +13 -8
- package/lang/kk.js +22 -11
- package/lang/km.js +9 -8
- package/lang/ko-KR.js +9 -10
- package/lang/kur-CKB.js +16 -17
- package/lang/lt.js +26 -19
- package/lang/lu.js +13 -9
- package/lang/lv.js +13 -9
- package/lang/mk.js +10 -8
- package/lang/ml.js +15 -14
- package/lang/mm.js +16 -13
- package/lang/ms-MY.js +16 -11
- package/lang/ms.js +10 -8
- package/lang/my.js +15 -8
- package/lang/nb-NO.js +10 -8
- package/lang/nl.js +13 -9
- package/lang/pl.js +13 -9
- package/lang/pt-BR.js +17 -10
- package/lang/pt.js +17 -10
- package/lang/ro.js +10 -8
- package/lang/ru.js +25 -12
- package/lang/sk.js +18 -9
- package/lang/sl.js +12 -8
- package/lang/sm.js +51 -47
- package/lang/sq.js +13 -9
- package/lang/sr-CYR.js +10 -8
- package/lang/sr.js +10 -8
- package/lang/sv.js +10 -8
- package/lang/ta.js +10 -8
- package/lang/th.js +12 -11
- package/lang/tl.js +10 -8
- package/lang/tr.js +8 -5
- package/lang/ug.js +16 -8
- package/lang/uk.js +22 -11
- package/lang/ur-PK.js +13 -11
- package/lang/uz-Cyrl.js +5 -5
- package/lang/uz-Latn.js +24 -24
- package/lang/vi.js +13 -9
- package/lang/zh-CN.js +18 -9
- package/lang/zh-TW.js +20 -10
- package/package.json +50 -64
- package/src/api.extends.json +15 -12
- package/src/components/ajax-bar/QAjaxBar.js +91 -65
- package/src/components/ajax-bar/QAjaxBar.json +2 -2
- package/src/components/ajax-bar/index.js +1 -3
- package/src/components/avatar/QAvatar.js +36 -28
- package/src/components/avatar/QAvatar.json +2 -2
- package/src/components/avatar/QAvatar.test.js +29 -78
- package/src/components/avatar/index.js +1 -3
- package/src/components/badge/QBadge.js +33 -26
- package/src/components/badge/QBadge.json +3 -3
- package/src/components/badge/QBadge.test.js +40 -95
- package/src/components/badge/index.js +1 -3
- package/src/components/banner/QBanner.js +46 -25
- package/src/components/banner/QBanner.test.js +14 -35
- package/src/components/banner/index.js +1 -3
- package/src/components/bar/QBar.js +21 -11
- package/src/components/bar/QBar.test.js +6 -17
- package/src/components/bar/index.js +1 -3
- package/src/components/breadcrumbs/QBreadcrumbs.js +44 -32
- package/src/components/breadcrumbs/QBreadcrumbs.json +10 -3
- package/src/components/breadcrumbs/QBreadcrumbs.test.js +56 -69
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +28 -22
- package/src/components/breadcrumbs/QBreadcrumbsEl.json +5 -8
- package/src/components/breadcrumbs/QBreadcrumbsEl.test.js +60 -134
- package/src/components/breadcrumbs/index.js +1 -4
- package/src/components/btn/QBtn.js +159 -103
- package/src/components/btn/QBtn.json +3 -6
- package/src/components/btn/QBtn.test.js +269 -496
- package/src/components/btn/index.js +1 -3
- package/src/components/btn/use-btn.js +82 -70
- package/src/components/btn/use-btn.json +33 -16
- package/src/components/btn/use-btn.test.js +30 -47
- package/src/components/btn-dropdown/QBtnDropdown.js +143 -104
- package/src/components/btn-dropdown/QBtnDropdown.json +41 -16
- package/src/components/btn-dropdown/index.js +1 -3
- package/src/components/btn-group/QBtnGroup.js +18 -6
- package/src/components/btn-group/index.js +1 -3
- package/src/components/btn-toggle/QBtnToggle.js +80 -61
- package/src/components/btn-toggle/QBtnToggle.json +16 -9
- package/src/components/btn-toggle/index.js +1 -3
- package/src/components/card/QCard.js +14 -9
- package/src/components/card/QCard.json +1 -1
- package/src/components/card/QCardActions.js +8 -5
- package/src/components/card/QCardActions.json +9 -1
- package/src/components/card/QCardSection.js +5 -4
- package/src/components/card/QCardSection.json +1 -1
- package/src/components/card/index.js +1 -5
- package/src/components/carousel/QCarousel.js +194 -125
- package/src/components/carousel/QCarousel.json +10 -11
- package/src/components/carousel/QCarouselControl.js +26 -13
- package/src/components/carousel/QCarouselControl.json +10 -5
- package/src/components/carousel/QCarouselSlide.js +13 -10
- package/src/components/carousel/QCarouselSlide.json +1 -1
- package/src/components/carousel/index.js +1 -5
- package/src/components/chat/QChatMessage.js +62 -57
- package/src/components/chat/QChatMessage.json +8 -5
- package/src/components/chat/index.js +1 -3
- package/src/components/checkbox/QCheckbox.js +56 -41
- package/src/components/checkbox/QCheckbox.json +1 -1
- package/src/components/checkbox/index.js +1 -3
- package/src/components/checkbox/use-checkbox.js +112 -83
- package/src/components/checkbox/use-checkbox.json +15 -12
- package/src/components/chip/QChip.js +101 -73
- package/src/components/chip/QChip.json +6 -6
- package/src/components/chip/QChip.test.js +72 -180
- package/src/components/chip/index.js +1 -3
- package/src/components/circular-progress/QCircularProgress.js +92 -57
- package/src/components/circular-progress/QCircularProgress.json +2 -2
- package/src/components/circular-progress/index.js +1 -3
- package/src/components/color/QColor.js +550 -367
- package/src/components/color/QColor.json +8 -8
- package/src/components/color/index.js +1 -3
- package/src/components/date/QDate.js +902 -607
- package/src/components/date/QDate.json +32 -23
- package/src/components/date/index.js +1 -3
- package/src/components/date/use-datetime.js +12 -14
- package/src/components/date/use-datetime.json +7 -7
- package/src/components/dialog/QDialog.js +178 -139
- package/src/components/dialog/QDialog.json +8 -4
- package/src/components/dialog/QDialog.test.js +123 -228
- package/src/components/dialog/index.js +1 -3
- package/src/components/drawer/QDrawer.js +306 -242
- package/src/components/drawer/QDrawer.json +4 -4
- package/src/components/drawer/index.js +1 -3
- package/src/components/editor/QEditor.js +409 -190
- package/src/components/editor/QEditor.json +33 -32
- package/src/components/editor/editor-caret.js +78 -83
- package/src/components/editor/editor-utils.js +176 -130
- package/src/components/editor/index.js +1 -3
- package/src/components/expansion-item/QExpansionItem.js +149 -103
- package/src/components/expansion-item/QExpansionItem.json +21 -24
- package/src/components/expansion-item/index.js +1 -3
- package/src/components/fab/QFab.js +86 -54
- package/src/components/fab/QFab.json +6 -3
- package/src/components/fab/QFabAction.js +34 -29
- package/src/components/fab/QFabAction.json +4 -7
- package/src/components/fab/index.js +1 -4
- package/src/components/fab/use-fab.js +20 -20
- package/src/components/fab/use-fab.json +10 -13
- package/src/components/field/QField.js +7 -5
- package/src/components/field/QField.json +6 -6
- package/src/components/field/QField.sass +5 -6
- package/src/components/field/index.js +1 -3
- package/src/components/file/QFile.js +95 -74
- package/src/components/file/QFile.json +17 -14
- package/src/components/file/index.js +1 -3
- package/src/components/footer/QFooter.js +110 -67
- package/src/components/footer/QFooter.json +2 -2
- package/src/components/footer/index.js +1 -3
- package/src/components/form/QForm.js +93 -58
- package/src/components/form/QForm.json +2 -2
- package/src/components/form/QFormChildMixin.js +10 -11
- package/src/components/form/QFormChildMixin.json +2 -2
- package/src/components/form/index.js +1 -4
- package/src/components/header/QHeader.js +93 -56
- package/src/components/header/QHeader.json +2 -2
- package/src/components/header/index.js +1 -3
- package/src/components/icon/QIcon.js +70 -57
- package/src/components/icon/QIcon.json +2 -2
- package/src/components/icon/index.js +1 -3
- package/src/components/img/QImg.js +104 -98
- package/src/components/img/QImg.json +20 -18
- package/src/components/img/index.js +1 -3
- package/src/components/infinite-scroll/QInfiniteScroll.js +123 -64
- package/src/components/infinite-scroll/QInfiniteScroll.json +1 -1
- package/src/components/infinite-scroll/index.js +1 -3
- package/src/components/inner-loading/QInnerLoading.js +31 -23
- package/src/components/inner-loading/QInnerLoading.json +9 -9
- package/src/components/inner-loading/index.js +1 -3
- package/src/components/input/QInput.js +179 -137
- package/src/components/input/QInput.json +25 -15
- package/src/components/input/index.js +1 -3
- package/src/components/input/use-mask.js +328 -243
- package/src/components/input/use-mask.json +16 -8
- package/src/components/intersection/QIntersection.js +45 -28
- package/src/components/intersection/QIntersection.json +7 -10
- package/src/components/intersection/index.js +1 -3
- package/src/components/item/QItem.js +60 -52
- package/src/components/item/QItem.json +6 -9
- package/src/components/item/QItemLabel.js +23 -15
- package/src/components/item/QItemLabel.json +1 -1
- package/src/components/item/QItemSection.js +11 -8
- package/src/components/item/QList.js +21 -13
- package/src/components/item/QList.json +1 -1
- package/src/components/item/QList.test.js +7 -11
- package/src/components/item/index.js +1 -7
- package/src/components/knob/QKnob.js +86 -76
- package/src/components/knob/QKnob.json +6 -3
- package/src/components/knob/index.js +1 -3
- package/src/components/layout/QLayout.js +98 -69
- package/src/components/layout/QLayout.json +2 -2
- package/src/components/layout/index.js +1 -3
- package/src/components/linear-progress/QLinearProgress.js +78 -47
- package/src/components/linear-progress/QLinearProgress.json +3 -3
- package/src/components/linear-progress/index.js +1 -3
- package/src/components/markup-table/QMarkupTable.js +25 -17
- package/src/components/markup-table/QMarkupTable.json +2 -2
- package/src/components/markup-table/index.js +1 -3
- package/src/components/menu/QMenu.js +144 -100
- package/src/components/menu/QMenu.json +39 -10
- package/src/components/menu/index.js +1 -3
- package/src/components/no-ssr/QNoSsr.js +5 -5
- package/src/components/no-ssr/QNoSsr.json +2 -2
- package/src/components/no-ssr/index.js +1 -3
- package/src/components/option-group/QOptionGroup.js +84 -66
- package/src/components/option-group/QOptionGroup.json +35 -21
- package/src/components/option-group/index.js +1 -3
- package/src/components/page/QPage.js +35 -22
- package/src/components/page/QPage.json +1 -1
- package/src/components/page/QPageContainer.js +24 -11
- package/src/components/page/index.js +1 -4
- package/src/components/page-scroller/QPageScroller.js +49 -32
- package/src/components/page-scroller/QPageScroller.json +2 -2
- package/src/components/page-scroller/index.js +1 -3
- package/src/components/page-sticky/QPageSticky.js +1 -1
- package/src/components/page-sticky/QPageSticky.json +9 -4
- package/src/components/page-sticky/index.js +1 -3
- package/src/components/page-sticky/use-page-sticky.js +47 -36
- package/src/components/pagination/QPagination.js +210 -146
- package/src/components/pagination/QPagination.json +35 -21
- package/src/components/pagination/index.js +1 -3
- package/src/components/parallax/QParallax.js +81 -56
- package/src/components/parallax/index.js +1 -3
- package/src/components/popup-edit/QPopupEdit.js +88 -59
- package/src/components/popup-edit/QPopupEdit.json +40 -16
- package/src/components/popup-edit/index.js +1 -3
- package/src/components/popup-proxy/QPopupProxy.js +30 -19
- package/src/components/popup-proxy/QPopupProxy.json +3 -3
- package/src/components/popup-proxy/index.js +1 -3
- package/src/components/pull-to-refresh/QPullToRefresh.js +71 -49
- package/src/components/pull-to-refresh/index.js +1 -3
- package/src/components/radio/QRadio.js +133 -95
- package/src/components/radio/QRadio.json +11 -8
- package/src/components/radio/index.js +1 -3
- package/src/components/range/QRange.js +151 -104
- package/src/components/range/QRange.json +9 -9
- package/src/components/range/index.js +1 -3
- package/src/components/rating/QRating.js +171 -112
- package/src/components/rating/QRating.json +19 -12
- package/src/components/rating/index.js +1 -3
- package/src/components/resize-observer/QResizeObserver.js +52 -30
- package/src/components/resize-observer/QResizeObserver.json +2 -2
- package/src/components/resize-observer/index.js +1 -3
- package/src/components/responsive/QResponsive.js +27 -14
- package/src/components/responsive/QResponsive.json +1 -1
- package/src/components/responsive/index.js +1 -3
- package/src/components/scroll-area/QScrollArea.js +279 -192
- package/src/components/scroll-area/QScrollArea.json +31 -21
- package/src/components/scroll-area/ScrollAreaControls.js +6 -11
- package/src/components/scroll-area/index.js +1 -3
- package/src/components/scroll-observer/QScrollObserver.js +46 -26
- package/src/components/scroll-observer/QScrollObserver.json +4 -4
- package/src/components/scroll-observer/index.js +1 -3
- package/src/components/select/QSelect.js +710 -519
- package/src/components/select/QSelect.json +70 -45
- package/src/components/select/index.js +1 -3
- package/src/components/separator/QSeparator.js +34 -30
- package/src/components/separator/QSeparator.json +4 -4
- package/src/components/separator/index.js +1 -3
- package/src/components/skeleton/QSkeleton.js +49 -23
- package/src/components/skeleton/QSkeleton.json +26 -9
- package/src/components/skeleton/index.js +1 -3
- package/src/components/slide-item/QSlideItem.js +121 -94
- package/src/components/slide-item/QSlideItem.json +2 -2
- package/src/components/slide-item/index.js +1 -3
- package/src/components/slide-transition/QSlideTransition.js +34 -26
- package/src/components/slide-transition/index.js +1 -3
- package/src/components/slider/QSlider.js +64 -43
- package/src/components/slider/QSlider.json +6 -6
- package/src/components/slider/index.js +1 -3
- package/src/components/slider/use-slider.js +327 -220
- package/src/components/slider/use-slider.json +32 -32
- package/src/components/space/QSpace.js +1 -1
- package/src/components/space/QSpace.test.js +1 -4
- package/src/components/space/index.js +1 -3
- package/src/components/spinner/QSpinner.js +23 -18
- package/src/components/spinner/QSpinner.json +1 -1
- package/src/components/spinner/QSpinner.test.js +11 -27
- package/src/components/spinner/QSpinnerAudio.js +13 -11
- package/src/components/spinner/QSpinnerAudio.json +1 -1
- package/src/components/spinner/QSpinnerAudio.test.js +9 -21
- package/src/components/spinner/QSpinnerBall.js +13 -11
- package/src/components/spinner/QSpinnerBall.json +1 -1
- package/src/components/spinner/QSpinnerBall.test.js +9 -21
- package/src/components/spinner/QSpinnerBars.js +13 -11
- package/src/components/spinner/QSpinnerBars.json +1 -1
- package/src/components/spinner/QSpinnerBars.test.js +9 -21
- package/src/components/spinner/QSpinnerBox.js +13 -11
- package/src/components/spinner/QSpinnerBox.json +1 -1
- package/src/components/spinner/QSpinnerBox.test.js +9 -21
- package/src/components/spinner/QSpinnerClock.js +13 -11
- package/src/components/spinner/QSpinnerClock.json +1 -1
- package/src/components/spinner/QSpinnerClock.test.js +9 -21
- package/src/components/spinner/QSpinnerComment.js +13 -11
- package/src/components/spinner/QSpinnerComment.json +1 -1
- package/src/components/spinner/QSpinnerComment.test.js +9 -21
- package/src/components/spinner/QSpinnerCube.js +13 -11
- package/src/components/spinner/QSpinnerCube.json +1 -1
- package/src/components/spinner/QSpinnerCube.test.js +9 -21
- package/src/components/spinner/QSpinnerDots.js +13 -11
- package/src/components/spinner/QSpinnerDots.json +1 -1
- package/src/components/spinner/QSpinnerDots.test.js +9 -21
- package/src/components/spinner/QSpinnerFacebook.js +13 -11
- package/src/components/spinner/QSpinnerFacebook.json +1 -1
- package/src/components/spinner/QSpinnerFacebook.test.js +9 -21
- package/src/components/spinner/QSpinnerGears.js +13 -11
- package/src/components/spinner/QSpinnerGears.json +1 -1
- package/src/components/spinner/QSpinnerGears.test.js +9 -21
- package/src/components/spinner/QSpinnerGrid.js +13 -11
- package/src/components/spinner/QSpinnerGrid.json +1 -1
- package/src/components/spinner/QSpinnerGrid.test.js +9 -21
- package/src/components/spinner/QSpinnerHearts.js +13 -11
- package/src/components/spinner/QSpinnerHearts.json +1 -1
- package/src/components/spinner/QSpinnerHearts.test.js +9 -21
- package/src/components/spinner/QSpinnerHourglass.js +13 -11
- package/src/components/spinner/QSpinnerHourglass.json +1 -1
- package/src/components/spinner/QSpinnerHourglass.test.js +9 -21
- package/src/components/spinner/QSpinnerInfinity.js +12 -10
- package/src/components/spinner/QSpinnerInfinity.json +1 -1
- package/src/components/spinner/QSpinnerInfinity.test.js +9 -21
- package/src/components/spinner/QSpinnerIos.js +13 -11
- package/src/components/spinner/QSpinnerIos.json +1 -1
- package/src/components/spinner/QSpinnerIos.test.js +9 -21
- package/src/components/spinner/QSpinnerOrbit.js +13 -11
- package/src/components/spinner/QSpinnerOrbit.json +1 -1
- package/src/components/spinner/QSpinnerOrbit.test.js +9 -21
- package/src/components/spinner/QSpinnerOval.js +13 -11
- package/src/components/spinner/QSpinnerOval.json +1 -1
- package/src/components/spinner/QSpinnerOval.test.js +9 -21
- package/src/components/spinner/QSpinnerPie.js +13 -11
- package/src/components/spinner/QSpinnerPie.json +1 -1
- package/src/components/spinner/QSpinnerPie.test.js +9 -21
- package/src/components/spinner/QSpinnerPuff.js +13 -11
- package/src/components/spinner/QSpinnerPuff.json +1 -1
- package/src/components/spinner/QSpinnerPuff.test.js +9 -21
- package/src/components/spinner/QSpinnerRadio.js +13 -11
- package/src/components/spinner/QSpinnerRadio.json +1 -1
- package/src/components/spinner/QSpinnerRadio.test.js +9 -21
- package/src/components/spinner/QSpinnerRings.js +13 -11
- package/src/components/spinner/QSpinnerRings.json +1 -1
- package/src/components/spinner/QSpinnerRings.test.js +9 -21
- package/src/components/spinner/QSpinnerTail.js +12 -10
- package/src/components/spinner/QSpinnerTail.json +1 -1
- package/src/components/spinner/QSpinnerTail.test.js +9 -21
- package/src/components/spinner/index.js +0 -1
- package/src/components/spinner/spinner.json +2 -2
- package/src/components/spinner/use-spinner.js +7 -7
- package/src/components/spinner/use-spinner.test.js +1 -1
- package/src/components/splitter/QSplitter.js +133 -94
- package/src/components/splitter/QSplitter.json +10 -19
- package/src/components/splitter/index.js +1 -3
- package/src/components/stepper/QStep.js +65 -42
- package/src/components/stepper/QStep.json +5 -5
- package/src/components/stepper/QStepper.js +62 -39
- package/src/components/stepper/QStepper.json +2 -2
- package/src/components/stepper/QStepperNavigation.js +1 -1
- package/src/components/stepper/StepHeader.js +87 -67
- package/src/components/stepper/index.js +1 -5
- package/src/components/tab-panels/QTabPanel.js +3 -2
- package/src/components/tab-panels/QTabPanel.json +1 -1
- package/src/components/tab-panels/QTabPanels.js +12 -6
- package/src/components/tab-panels/QTabPanels.json +1 -1
- package/src/components/tab-panels/index.js +1 -4
- package/src/components/table/QTable.js +544 -426
- package/src/components/table/QTable.json +168 -165
- package/src/components/table/QTd.js +18 -13
- package/src/components/table/QTd.json +1 -1
- package/src/components/table/QTh.js +25 -20
- package/src/components/table/QTh.json +1 -1
- package/src/components/table/QTr.js +17 -9
- package/src/components/table/QTr.json +1 -1
- package/src/components/table/get-table-middle.js +2 -4
- package/src/components/table/index.js +1 -6
- package/src/components/table/table-column-selection.js +45 -35
- package/src/components/table/table-filter.js +9 -8
- package/src/components/table/table-pagination.js +75 -52
- package/src/components/table/table-row-expand.js +15 -16
- package/src/components/table/table-row-selection.js +31 -31
- package/src/components/table/table-sort.js +26 -29
- package/src/components/tabs/QRouteTab.js +10 -12
- package/src/components/tabs/QRouteTab.json +6 -6
- package/src/components/tabs/QTab.js +1 -1
- package/src/components/tabs/QTab.json +1 -1
- package/src/components/tabs/QTabs.js +283 -205
- package/src/components/tabs/QTabs.json +9 -9
- package/src/components/tabs/index.js +1 -5
- package/src/components/tabs/use-tab.js +127 -103
- package/src/components/tabs/use-tab.json +8 -8
- package/src/components/time/QTime.js +502 -383
- package/src/components/time/QTime.json +19 -15
- package/src/components/time/index.js +1 -3
- package/src/components/timeline/QTimeline.js +10 -7
- package/src/components/timeline/QTimeline.json +2 -2
- package/src/components/timeline/QTimelineEntry.js +44 -27
- package/src/components/timeline/QTimelineEntry.json +7 -5
- package/src/components/timeline/index.js +1 -4
- package/src/components/toggle/QToggle.js +29 -19
- package/src/components/toggle/QToggle.json +1 -1
- package/src/components/toggle/index.js +1 -3
- package/src/components/toolbar/QToolbar.js +7 -5
- package/src/components/toolbar/QToolbar.test.js +2 -6
- package/src/components/toolbar/QToolbarTitle.js +5 -4
- package/src/components/toolbar/QToolbarTitle.test.js +2 -6
- package/src/components/toolbar/index.js +1 -4
- package/src/components/tooltip/QTooltip.js +125 -72
- package/src/components/tooltip/QTooltip.json +34 -10
- package/src/components/tooltip/index.js +1 -3
- package/src/components/tree/QTree.js +417 -297
- package/src/components/tree/QTree.json +27 -25
- package/src/components/tree/index.js +1 -3
- package/src/components/uploader/QUploader.json +9 -6
- package/src/components/uploader/QUploaderAddTrigger.js +5 -2
- package/src/components/uploader/index.js +1 -4
- package/src/components/uploader/uploader-core.js +262 -178
- package/src/components/uploader/xhr-uploader-plugin.js +96 -89
- package/src/components/uploader/xhr-uploader-plugin.json +29 -29
- package/src/components/video/QVideo.js +25 -19
- package/src/components/video/QVideo.json +5 -5
- package/src/components/video/QVideo.test.js +55 -85
- package/src/components/video/index.js +1 -3
- package/src/components/virtual-scroll/QVirtualScroll.js +89 -37
- package/src/components/virtual-scroll/QVirtualScroll.json +6 -6
- package/src/components/virtual-scroll/index.js +1 -3
- package/src/components/virtual-scroll/use-virtual-scroll.js +421 -240
- package/src/components/virtual-scroll/use-virtual-scroll.json +20 -13
- package/src/composables/private.use-align/use-align.js +8 -5
- package/src/composables/private.use-align/use-align.test.js +9 -17
- package/src/composables/private.use-anchor/use-anchor-static.json +2 -7
- package/src/composables/private.use-anchor/use-anchor.js +79 -62
- package/src/composables/private.use-anchor/use-anchor.json +1 -1
- package/src/composables/private.use-dark/use-dark.js +2 -6
- package/src/composables/private.use-dark/use-dark.test.js +7 -21
- package/src/composables/private.use-field/use-field.js +384 -251
- package/src/composables/private.use-field/use-field.json +10 -10
- package/src/composables/private.use-file/use-file-dom-props.js +11 -15
- package/src/composables/private.use-file/use-file.js +86 -67
- package/src/composables/private.use-file/use-file.json +8 -8
- package/src/composables/private.use-fullscreen/use-fullscreen.js +35 -17
- package/src/composables/private.use-fullscreen/use-fullscreen.json +1 -1
- package/src/composables/private.use-history/use-history.js +4 -4
- package/src/composables/private.use-history/use-history.test.js +9 -21
- package/src/composables/private.use-key-composition/use-key-composition.js +16 -12
- package/src/composables/private.use-model-toggle/use-model-toggle.js +44 -35
- package/src/composables/private.use-model-toggle/use-model-toggle.json +2 -2
- package/src/composables/private.use-panel/use-panel.child.json +1 -1
- package/src/composables/private.use-panel/use-panel.js +131 -91
- package/src/composables/private.use-panel/use-panel.json +18 -18
- package/src/composables/private.use-portal/use-portal.js +20 -15
- package/src/composables/private.use-prevent-scroll/use-prevent-scroll.js +4 -4
- package/src/composables/private.use-ratio/use-ratio.js +3 -3
- package/src/composables/private.use-ratio/use-ratio.json +2 -7
- package/src/composables/private.use-refocus-target/use-refocus-target.js +7 -8
- package/src/composables/private.use-router-link/use-router-link.js +111 -110
- package/src/composables/private.use-router-link/use-router-link.json +6 -9
- package/src/composables/private.use-scroll-target/use-scroll-target.js +14 -11
- package/src/composables/private.use-size/use-size.js +6 -4
- package/src/composables/private.use-size/use-size.json +1 -1
- package/src/composables/private.use-size/use-size.test.js +1 -1
- package/src/composables/private.use-transition/use-transition.js +17 -11
- package/src/composables/private.use-transition/use-transition.json +1 -1
- package/src/composables/private.use-transition/use-transition.test.js +7 -21
- package/src/composables/private.use-validate/use-validate.js +78 -67
- package/src/composables/private.use-validate/use-validate.json +9 -12
- package/src/composables/use-dialog-plugin-component/use-dialog-plugin-component.js +12 -6
- package/src/composables/use-form/private.use-form.js +4 -4
- package/src/composables/use-form/private.use-form.json +1 -1
- package/src/composables/use-form/private.use-form.test.js +17 -15
- package/src/composables/use-form/use-form-child.js +25 -14
- package/src/composables/use-hydration/use-hydration.js +1 -1
- package/src/composables/use-hydration/use-hydration.test.js +2 -4
- package/src/composables/use-id/use-id.js +10 -12
- package/src/composables/use-id/use-id.test.js +1 -1
- package/src/composables/use-interval/use-interval.js +3 -3
- package/src/composables/use-interval/use-interval.test.js +6 -9
- package/src/composables/use-meta/use-meta.js +13 -10
- package/src/composables/use-quasar/use-quasar.js +1 -1
- package/src/composables/use-quasar/use-quasar.test.js +4 -10
- package/src/composables/use-render-cache/use-render-cache.js +16 -24
- package/src/composables/use-split-attrs/use-split-attrs.js +9 -5
- package/src/composables/use-split-attrs/use-split-attrs.test.js +17 -15
- package/src/composables/use-tick/use-tick.js +10 -5
- package/src/composables/use-tick/use-tick.test.js +5 -8
- package/src/composables/use-timeout/use-timeout.js +3 -3
- package/src/composables/use-timeout/use-timeout.test.js +6 -9
- package/src/composables.js +0 -1
- package/src/css/core/helpers.sass +4 -9
- package/src/directives/close-popup/ClosePopup.js +41 -35
- package/src/directives/close-popup/ClosePopup.json +1 -1
- package/src/directives/intersection/Intersection.js +25 -28
- package/src/directives/intersection/Intersection.json +6 -6
- package/src/directives/morph/Morph.js +87 -87
- package/src/directives/morph/Morph.json +15 -13
- package/src/directives/mutation/Mutation.js +23 -24
- package/src/directives/mutation/Mutation.json +11 -11
- package/src/directives/ripple/Ripple.js +88 -79
- package/src/directives/ripple/Ripple.json +10 -10
- package/src/directives/ripple/Ripple.test.js +31 -87
- package/src/directives/scroll/Scroll.js +43 -30
- package/src/directives/scroll/Scroll.json +4 -2
- package/src/directives/scroll-fire/ScrollFire.js +43 -38
- package/src/directives/scroll-fire/ScrollFire.json +1 -1
- package/src/directives/touch-hold/TouchHold.js +155 -139
- package/src/directives/touch-hold/TouchHold.json +2 -2
- package/src/directives/touch-pan/TouchPan.js +311 -278
- package/src/directives/touch-pan/TouchPan.json +6 -4
- package/src/directives/touch-repeat/TouchRepeat.js +222 -188
- package/src/directives/touch-repeat/TouchRepeat.json +5 -3
- package/src/directives/touch-swipe/TouchSwipe.js +235 -214
- package/src/directives/touch-swipe/TouchSwipe.json +5 -3
- package/src/flags.dev.js +10 -17
- package/src/index.dev.js +2 -0
- package/src/index.ssr.js +2 -6
- package/src/index.umd.js +4 -2
- package/src/install-quasar.js +92 -76
- package/src/plugins/addressbar/AddressbarColor.js +28 -25
- package/src/plugins/addressbar/AddressbarColor.json +1 -1
- package/src/plugins/addressbar/AddressbarColor.test.js +10 -9
- package/src/plugins/app-fullscreen/AppFullscreen.js +50 -51
- package/src/plugins/app-fullscreen/AppFullscreen.json +6 -10
- package/src/plugins/app-fullscreen/AppFullscreen.test.js +11 -26
- package/src/plugins/app-fullscreen/test/mock-fullscreen.js +7 -5
- package/src/plugins/app-visibility/AppVisibility.js +21 -17
- package/src/plugins/app-visibility/AppVisibility.test.js +3 -1
- package/src/plugins/bottom-sheet/BottomSheet.js +1 -1
- package/src/plugins/bottom-sheet/BottomSheet.json +9 -9
- package/src/plugins/bottom-sheet/component/BottomSheetComponent.js +132 -95
- package/src/plugins/cookies/Cookies.js +50 -58
- package/src/plugins/cookies/Cookies.json +24 -16
- package/src/plugins/dark/Dark.js +61 -55
- package/src/plugins/dark/Dark.json +6 -6
- package/src/plugins/dark/Dark.test.js +26 -44
- package/src/plugins/dialog/Dialog.js +1 -1
- package/src/plugins/dialog/Dialog.json +29 -21
- package/src/plugins/dialog/component/DialogPluginComponent.js +122 -121
- package/src/plugins/icon-set/IconSet.js +63 -56
- package/src/plugins/icon-set/IconSet.json +421 -419
- package/src/plugins/icon-set/IconSet.test.js +8 -7
- package/src/plugins/lang/Lang.js +115 -96
- package/src/plugins/lang/Lang.json +201 -175
- package/src/plugins/lang/Lang.test.js +52 -20
- package/src/plugins/loading/Loading.js +175 -143
- package/src/plugins/loading/Loading.json +15 -15
- package/src/plugins/loading-bar/LoadingBar.js +61 -56
- package/src/plugins/loading-bar/LoadingBar.json +2 -2
- package/src/plugins/meta/Meta.js +91 -81
- package/src/plugins/notify/Notify.js +275 -221
- package/src/plugins/notify/Notify.json +79 -71
- package/src/plugins/platform/Platform.js +105 -112
- package/src/plugins/platform/Platform.json +12 -8
- package/src/plugins/platform/Platform.test.js +4 -7
- package/src/plugins/private.body/Body.js +19 -23
- package/src/plugins/private.body/Body.test.js +4 -6
- package/src/plugins/private.history/History.js +27 -30
- package/src/plugins/screen/Screen.js +160 -147
- package/src/plugins/screen/Screen.json +6 -6
- package/src/plugins/screen/Screen.test.js +6 -12
- package/src/plugins/storage/LocalStorage.js +5 -4
- package/src/plugins/storage/LocalStorage.json +1 -1
- package/src/plugins/storage/LocalStorage.test.js +56 -62
- package/src/plugins/storage/SessionStorage.js +5 -4
- package/src/plugins/storage/SessionStorage.json +1 -1
- package/src/plugins/storage/SessionStorage.test.js +56 -62
- package/src/plugins/storage/engine/web-storage.js +24 -26
- package/src/plugins/storage/engine/web-storage.json +45 -15
- package/src/utils/EventBus/EventBus.js +12 -13
- package/src/utils/clone/clone.js +27 -28
- package/src/utils/clone/clone.test.js +27 -52
- package/src/utils/colors/colors.js +69 -63
- package/src/utils/colors/colors.test.js +360 -270
- package/src/utils/copy-to-clipboard/copy-to-clipboard.js +9 -10
- package/src/utils/create-meta-mixin/create-meta-mixin.js +17 -19
- package/src/utils/create-uploader-component/create-uploader-component.js +20 -14
- package/src/utils/css-var/get-css-var.js +4 -2
- package/src/utils/css-var/get-css-var.test.js +4 -11
- package/src/utils/css-var/set-css-var.js +2 -2
- package/src/utils/css-var/set-css-var.test.js +6 -12
- package/src/utils/date/date.js +251 -243
- package/src/utils/date/private.persian.js +54 -44
- package/src/utils/debounce/debounce.js +5 -5
- package/src/utils/debounce/debounce.test.js +3 -10
- package/src/utils/dom/dom.js +21 -22
- package/src/utils/dom/dom.test.js +19 -39
- package/src/utils/event/event.js +53 -49
- package/src/utils/export-file/export-file.js +11 -12
- package/src/utils/extend/extend.js +30 -26
- package/src/utils/extend/extend.test.js +36 -42
- package/src/utils/format/format.js +11 -13
- package/src/utils/format/format.test.js +50 -61
- package/src/utils/frame-debounce/frame-debounce.js +5 -3
- package/src/utils/frame-debounce/frame-debounce.test.js +3 -10
- package/src/utils/is/is.js +27 -23
- package/src/utils/is/is.test.js +100 -84
- package/src/utils/morph/morph.js +470 -377
- package/src/utils/open-url/open-url.js +10 -21
- package/src/utils/patterns/patterns.js +11 -7
- package/src/utils/patterns/patterns.test.js +2 -0
- package/src/utils/private.click-outside/click-outside.js +28 -26
- package/src/utils/private.config/instance-config.js +1 -1
- package/src/utils/private.config/instance-config.test.js +11 -7
- package/src/utils/private.config/nodes.js +14 -14
- package/src/utils/private.config/nodes.test.js +32 -38
- package/src/utils/private.create/create.js +10 -4
- package/src/utils/private.create/create.test.js +11 -7
- package/src/utils/private.dialog/create-dialog.js +70 -59
- package/src/utils/private.dialog/create-dialog.json +13 -6
- package/src/utils/private.focus/focus-manager.js +7 -8
- package/src/utils/private.focus/focus-manager.test.js +13 -18
- package/src/utils/private.focus/focusout.js +4 -4
- package/src/utils/private.focus/focusout.test.js +10 -22
- package/src/utils/private.get-emits-object/get-emits-object.js +2 -2
- package/src/utils/private.get-emits-object/get-emits-object.test.js +4 -10
- package/src/utils/private.inject-obj-prop/inject-obj-prop.js +3 -3
- package/src/utils/private.inject-obj-prop/inject-obj-prop.test.js +20 -49
- package/src/utils/private.keyboard/escape-key.js +10 -10
- package/src/utils/private.keyboard/escape-key.test.js +10 -22
- package/src/utils/private.keyboard/key-composition.js +9 -7
- package/src/utils/private.portal/portal.js +7 -10
- package/src/utils/private.position-engine/position-engine.js +127 -75
- package/src/utils/private.render/render.js +9 -24
- package/src/utils/private.render/render.test.js +40 -55
- package/src/utils/private.rtl/rtl.js +1 -3
- package/src/utils/private.selection/selection.js +6 -6
- package/src/utils/private.selection/selection.test.js +7 -13
- package/src/utils/private.sort/sort.js +4 -6
- package/src/utils/private.symbols/symbols.js +1 -1
- package/src/utils/private.touch/touch.js +16 -16
- package/src/utils/private.touch/touch.test.js +56 -16
- package/src/utils/private.vm/vm.js +6 -7
- package/src/utils/private.vm/vm.test.js +32 -32
- package/src/utils/run-sequential-promises/run-sequential-promises.js +56 -50
- package/src/utils/scroll/prevent-scroll.js +75 -47
- package/src/utils/scroll/scroll.js +51 -44
- package/src/utils/throttle/throttle.js +7 -4
- package/src/utils/throttle/throttle.test.js +2 -7
- package/src/utils/uid/uid.js +34 -22
- package/wrappers/index.cjs +17 -15
- package/wrappers/index.js +15 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"mixins": [
|
|
2
|
+
"mixins": ["composables/private.use-fullscreen/use-fullscreen"],
|
|
3
3
|
|
|
4
4
|
"meta": {
|
|
5
5
|
"docsUrl": "https://v2.quasar.dev/vue-components/table"
|
|
@@ -10,27 +10,27 @@
|
|
|
10
10
|
"type": "Array",
|
|
11
11
|
"desc": "Rows of data to display",
|
|
12
12
|
"required": true,
|
|
13
|
-
"examples": [
|
|
13
|
+
"examples": ["# :rows=\"myData\""],
|
|
14
14
|
"category": "general"
|
|
15
15
|
},
|
|
16
16
|
|
|
17
17
|
"row-key": {
|
|
18
|
-
"type": [
|
|
18
|
+
"type": ["String", "Function"],
|
|
19
19
|
"desc": "Property of each row that defines the unique key of each row (the result must be a primitive, not Object, Array, etc); The value of property must be string or a function taking a row and returning the desired (nested) key in the row; If supplying a function then for best performance, reference it from your scope and do not define it inline",
|
|
20
20
|
"default": "'id'",
|
|
21
21
|
"params": {
|
|
22
22
|
"row": {
|
|
23
23
|
"type": "Object",
|
|
24
24
|
"desc": "The current row being processed",
|
|
25
|
-
"examples": [
|
|
25
|
+
"examples": ["{ name: 'Lorem Ipsum', price: 19 }"]
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"returns": {
|
|
29
29
|
"type": "Any",
|
|
30
30
|
"desc": "Current row's key",
|
|
31
|
-
"examples": [
|
|
31
|
+
"examples": ["'34f39dda-6206-4071-a9df-4393aabe49ac'", "34"]
|
|
32
32
|
},
|
|
33
|
-
"examples": [
|
|
33
|
+
"examples": ["'name'", "row => row.name"],
|
|
34
34
|
"category": "general"
|
|
35
35
|
},
|
|
36
36
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
|
|
48
48
|
"virtual-scroll-slice-size": {
|
|
49
|
-
"type": [
|
|
49
|
+
"type": ["Number", "String", "null"],
|
|
50
50
|
"desc": "Minimum number of rows to render in the virtual list",
|
|
51
51
|
"default": "10",
|
|
52
52
|
"passthrough": "child",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
|
|
56
56
|
"virtual-scroll-slice-ratio-before": {
|
|
57
|
-
"type": [
|
|
57
|
+
"type": ["Number", "String"],
|
|
58
58
|
"desc": "Ratio of number of rows in visible zone to render before it",
|
|
59
59
|
"default": "1",
|
|
60
60
|
"passthrough": "child",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
|
|
64
64
|
"virtual-scroll-slice-ratio-after": {
|
|
65
|
-
"type": [
|
|
65
|
+
"type": ["Number", "String"],
|
|
66
66
|
"desc": "Ratio of number of rows in visible zone to render after it",
|
|
67
67
|
"default": "1",
|
|
68
68
|
"passthrough": "child",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
|
|
72
72
|
"virtual-scroll-item-size": {
|
|
73
|
-
"type": [
|
|
73
|
+
"type": ["Number", "String"],
|
|
74
74
|
"desc": "Default size in pixels of a row; This value is used for rendering the initial table; Try to use a value close to the minimum size of a row; Default value: 48 (24 if dense)",
|
|
75
75
|
"default": "# 48/24",
|
|
76
76
|
"passthrough": "child",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
|
|
80
80
|
"virtual-scroll-sticky-size-start": {
|
|
81
|
-
"type": [
|
|
81
|
+
"type": ["Number", "String"],
|
|
82
82
|
"desc": "Size in pixels of the sticky header (if using one); A correct value will improve scroll precision; Will be also used for non-virtual-scroll tables for fixing top alignment when using scrollTo method",
|
|
83
83
|
"default": "0",
|
|
84
84
|
"passthrough": "child",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
|
|
88
88
|
"virtual-scroll-sticky-size-end": {
|
|
89
|
-
"type": [
|
|
89
|
+
"type": ["Number", "String"],
|
|
90
90
|
"desc": "Size in pixels of the sticky footer part (if using one); A correct value will improve scroll precision",
|
|
91
91
|
"default": "0",
|
|
92
92
|
"passthrough": "child",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
},
|
|
95
95
|
|
|
96
96
|
"table-colspan": {
|
|
97
|
-
"type": [
|
|
97
|
+
"type": ["Number", "String"],
|
|
98
98
|
"desc": "The number of columns in the table (you need this if you use table-layout: fixed)",
|
|
99
99
|
"category": "virtual-scroll|content",
|
|
100
100
|
"passthrough": "child"
|
|
@@ -145,23 +145,23 @@
|
|
|
145
145
|
"columns": {
|
|
146
146
|
"type": "Array",
|
|
147
147
|
"desc": "The column definitions (Array of Objects)",
|
|
148
|
-
"examples": [
|
|
148
|
+
"examples": ["# :columns=\"tableColumns\""],
|
|
149
149
|
"category": "column",
|
|
150
150
|
"definition": {
|
|
151
151
|
"name": {
|
|
152
152
|
"type": "String",
|
|
153
153
|
"required": true,
|
|
154
154
|
"desc": "Unique id, identifies column, (used by pagination.sortBy, 'body-cell-[name]' slot, ...)",
|
|
155
|
-
"examples": [
|
|
155
|
+
"examples": ["'desc'"]
|
|
156
156
|
},
|
|
157
157
|
"label": {
|
|
158
158
|
"type": "String",
|
|
159
159
|
"required": true,
|
|
160
160
|
"desc": "Label for header",
|
|
161
|
-
"examples": [
|
|
161
|
+
"examples": ["'Dessert (100g serving)'"]
|
|
162
162
|
},
|
|
163
163
|
"field": {
|
|
164
|
-
"type": [
|
|
164
|
+
"type": ["String", "Function"],
|
|
165
165
|
"required": true,
|
|
166
166
|
"desc": "Row Object property to determine value for this column or function which maps to the required property",
|
|
167
167
|
"params": {
|
|
@@ -169,15 +169,17 @@
|
|
|
169
169
|
"type": "Object",
|
|
170
170
|
"required": true,
|
|
171
171
|
"desc": "The current row being processed",
|
|
172
|
-
"examples": [
|
|
172
|
+
"examples": [
|
|
173
|
+
"{ name: 'Lorem Ipsum', prices: { active: 19, old: 25, list: 29 } }"
|
|
174
|
+
]
|
|
173
175
|
}
|
|
174
176
|
},
|
|
175
177
|
"returns": {
|
|
176
178
|
"type": "Any",
|
|
177
179
|
"desc": "Value for this column",
|
|
178
|
-
"examples": [
|
|
180
|
+
"examples": ["'19'", "19"]
|
|
179
181
|
},
|
|
180
|
-
"examples": [
|
|
182
|
+
"examples": ["'name'", "row => row.prices.active"]
|
|
181
183
|
},
|
|
182
184
|
"required": {
|
|
183
185
|
"type": "Boolean",
|
|
@@ -186,7 +188,7 @@
|
|
|
186
188
|
"align": {
|
|
187
189
|
"type": "String",
|
|
188
190
|
"desc": "Horizontal alignment of cells in this column",
|
|
189
|
-
"values": [
|
|
191
|
+
"values": ["'left'", "'right'", "'center'"],
|
|
190
192
|
"default": "'right'"
|
|
191
193
|
},
|
|
192
194
|
"sortable": {
|
|
@@ -197,120 +199,127 @@
|
|
|
197
199
|
"sort": {
|
|
198
200
|
"type": "Function",
|
|
199
201
|
"desc": "Compare function if you have some custom data or want a specific way to compare two rows; rows with null/undefined values will get sorted without triggering this method (use 'rawSort' instead if you want to handle those values too)",
|
|
200
|
-
"examples": [
|
|
202
|
+
"examples": [
|
|
203
|
+
"(a, b, _rowA, _rowB) => parseInt(a, 10) - parseInt(b, 10)"
|
|
204
|
+
],
|
|
201
205
|
"params": {
|
|
202
206
|
"a": {
|
|
203
207
|
"type": "Any",
|
|
204
208
|
"required": true,
|
|
205
209
|
"desc": "Value of the first comparison term",
|
|
206
|
-
"examples": [
|
|
210
|
+
"examples": ["123", "'abc'"]
|
|
207
211
|
},
|
|
208
212
|
"b": {
|
|
209
213
|
"type": "Any",
|
|
210
214
|
"required": true,
|
|
211
215
|
"desc": "Value of the second comparison term",
|
|
212
|
-
"examples": [
|
|
216
|
+
"examples": ["123", "'abc'"]
|
|
213
217
|
},
|
|
214
218
|
"rowA": {
|
|
215
219
|
"type": "Object",
|
|
216
220
|
"required": true,
|
|
217
221
|
"desc": "Full Row object in which is contained the first term",
|
|
218
|
-
"examples": [
|
|
222
|
+
"examples": ["{ name: 'Potassium', value: 'K' }"]
|
|
219
223
|
},
|
|
220
224
|
"rowB": {
|
|
221
225
|
"type": "Object",
|
|
222
226
|
"required": true,
|
|
223
227
|
"desc": "Full Row object in which is contained the second term",
|
|
224
|
-
"examples": [
|
|
228
|
+
"examples": ["{ name: 'Fluorine', value: 'F' }"]
|
|
225
229
|
}
|
|
226
230
|
},
|
|
227
231
|
"returns": {
|
|
228
232
|
"type": "Number",
|
|
229
233
|
"desc": "Comparison result of term 'a' with term 'b'. Less than 0 when 'a' should come first; greater than 0 if 'b' should come first; equal to 0 if their position must not be changed with respect to each other",
|
|
230
|
-
"examples": [
|
|
234
|
+
"examples": ["-1", "0", "1"]
|
|
231
235
|
}
|
|
232
236
|
},
|
|
233
237
|
"rawSort": {
|
|
234
238
|
"type": "Function",
|
|
235
239
|
"desc": "Compare function if you have some custom data or want a specific way to compare two rows; includes rows with null/undefined values (use 'sort' instead if you don't want that)",
|
|
236
|
-
"examples": [
|
|
240
|
+
"examples": [
|
|
241
|
+
"(a, b, _rowA, _rowB) => parseInt(a, 10) - parseInt(b, 10)"
|
|
242
|
+
],
|
|
237
243
|
"params": {
|
|
238
244
|
"a": {
|
|
239
245
|
"type": "Any",
|
|
240
246
|
"required": true,
|
|
241
247
|
"desc": "Value of the first comparison term",
|
|
242
|
-
"examples": [
|
|
248
|
+
"examples": ["123", "'abc'"]
|
|
243
249
|
},
|
|
244
250
|
"b": {
|
|
245
251
|
"type": "Any",
|
|
246
252
|
"required": true,
|
|
247
253
|
"desc": "Value of the second comparison term",
|
|
248
|
-
"examples": [
|
|
254
|
+
"examples": ["123", "'abc'"]
|
|
249
255
|
},
|
|
250
256
|
"rowA": {
|
|
251
257
|
"type": "Object",
|
|
252
258
|
"required": true,
|
|
253
259
|
"desc": "Full Row object in which is contained the first term",
|
|
254
|
-
"examples": [
|
|
260
|
+
"examples": ["{ name: 'Potassium', value: 'K' }"]
|
|
255
261
|
},
|
|
256
262
|
"rowB": {
|
|
257
263
|
"type": "Object",
|
|
258
264
|
"required": true,
|
|
259
265
|
"desc": "Full Row object in which is contained the second term",
|
|
260
|
-
"examples": [
|
|
266
|
+
"examples": ["{ name: 'Fluorine', value: 'F' }"]
|
|
261
267
|
}
|
|
262
268
|
},
|
|
263
269
|
"returns": {
|
|
264
270
|
"type": "Number",
|
|
265
271
|
"desc": "Comparison result of term 'a' with term 'b'. Less than 0 when 'a' should come first; greater than 0 if 'b' should come first; equal to 0 if their position must not be changed with respect to each other",
|
|
266
|
-
"examples": [
|
|
272
|
+
"examples": ["-1", "0", "1"]
|
|
267
273
|
},
|
|
268
274
|
"addedIn": "v2.13"
|
|
269
275
|
},
|
|
270
276
|
"sortOrder": {
|
|
271
277
|
"type": "String",
|
|
272
278
|
"desc": "Set column sort order: 'ad' (ascending-descending) or 'da' (descending-ascending); Overrides the 'column-sort-order' prop",
|
|
273
|
-
"values": [
|
|
279
|
+
"values": ["'ad'", "'da'"],
|
|
274
280
|
"default": "'ad'"
|
|
275
281
|
},
|
|
276
282
|
"format": {
|
|
277
283
|
"type": "Function",
|
|
278
284
|
"desc": "Function you can apply to format your data",
|
|
279
|
-
"examples": [
|
|
285
|
+
"examples": [
|
|
286
|
+
"(val, _row) => `${ val }%`",
|
|
287
|
+
"val => val ? /* Unicode checkmark checked */ '\u2611' : /* Unicode checkmark unchecked */ '\u2610'"
|
|
288
|
+
],
|
|
280
289
|
"params": {
|
|
281
290
|
"val": {
|
|
282
291
|
"type": "Any",
|
|
283
292
|
"required": true,
|
|
284
293
|
"desc": "Value of the cell",
|
|
285
|
-
"examples": [
|
|
294
|
+
"examples": ["123", "'abc'"]
|
|
286
295
|
},
|
|
287
296
|
"row": {
|
|
288
297
|
"type": "Object",
|
|
289
298
|
"required": true,
|
|
290
299
|
"desc": "Full Row object in which the cell is contained",
|
|
291
|
-
"examples": [
|
|
300
|
+
"examples": ["{ name: 'Potassium', value: 'K' }"]
|
|
292
301
|
}
|
|
293
302
|
},
|
|
294
303
|
"returns": {
|
|
295
304
|
"type": "Any",
|
|
296
305
|
"desc": "The resulting formatted value",
|
|
297
|
-
"examples": [
|
|
306
|
+
"examples": ["'20%'"]
|
|
298
307
|
}
|
|
299
308
|
},
|
|
300
309
|
"style": {
|
|
301
|
-
"type": [
|
|
310
|
+
"type": ["String", "Function"],
|
|
302
311
|
"desc": "Style to apply on normal cells of the column",
|
|
303
312
|
"params": {
|
|
304
313
|
"row": {
|
|
305
314
|
"type": "Object",
|
|
306
315
|
"required": true,
|
|
307
316
|
"desc": "The current row being processed",
|
|
308
|
-
"examples": [
|
|
317
|
+
"examples": ["{ name: 'Frozen Yogurt', calories: 159 }"]
|
|
309
318
|
}
|
|
310
319
|
},
|
|
311
320
|
"returns": {
|
|
312
321
|
"type": "String",
|
|
313
|
-
"__exemption": [
|
|
322
|
+
"__exemption": ["desc"]
|
|
314
323
|
},
|
|
315
324
|
"examples": [
|
|
316
325
|
"'width: 500px'",
|
|
@@ -318,19 +327,19 @@
|
|
|
318
327
|
]
|
|
319
328
|
},
|
|
320
329
|
"classes": {
|
|
321
|
-
"type": [
|
|
330
|
+
"type": ["String", "Function"],
|
|
322
331
|
"desc": "Classes to add on normal cells of the column",
|
|
323
332
|
"params": {
|
|
324
333
|
"row": {
|
|
325
334
|
"type": "Object",
|
|
326
335
|
"required": true,
|
|
327
336
|
"desc": "The current row being processed",
|
|
328
|
-
"examples": [
|
|
337
|
+
"examples": ["{ name: 'Frozen Yogurt', calories: 159 }"]
|
|
329
338
|
}
|
|
330
339
|
},
|
|
331
340
|
"returns": {
|
|
332
341
|
"type": "String",
|
|
333
|
-
"__exemption": [
|
|
342
|
+
"__exemption": ["desc"]
|
|
334
343
|
},
|
|
335
344
|
"examples": [
|
|
336
345
|
"'my-special-class bg-primary'",
|
|
@@ -340,12 +349,12 @@
|
|
|
340
349
|
"headerStyle": {
|
|
341
350
|
"type": "String",
|
|
342
351
|
"desc": "Style to apply on header cells of the column",
|
|
343
|
-
"examples": [
|
|
352
|
+
"examples": ["'width: 500px'"]
|
|
344
353
|
},
|
|
345
354
|
"headerClasses": {
|
|
346
355
|
"type": "String",
|
|
347
356
|
"desc": "Classes to add on header cells of the column",
|
|
348
|
-
"examples": [
|
|
357
|
+
"examples": ["'my-special-class'"]
|
|
349
358
|
}
|
|
350
359
|
}
|
|
351
360
|
},
|
|
@@ -354,7 +363,7 @@
|
|
|
354
363
|
"type": "Array",
|
|
355
364
|
"desc": "Array of Strings defining column names ('name' property of each column from 'columns' prop definitions); Columns marked as 'required' are not affected by this property",
|
|
356
365
|
"examples": [
|
|
357
|
-
"[
|
|
366
|
+
"['desc', 'carbs', 'protein']",
|
|
358
367
|
"# :visible-columns=\"myCols\""
|
|
359
368
|
],
|
|
360
369
|
"category": "column"
|
|
@@ -369,7 +378,7 @@
|
|
|
369
378
|
"title": {
|
|
370
379
|
"type": "String",
|
|
371
380
|
"desc": "Table title",
|
|
372
|
-
"examples": [
|
|
381
|
+
"examples": ["'Device list'"],
|
|
373
382
|
"category": "content"
|
|
374
383
|
},
|
|
375
384
|
|
|
@@ -423,7 +432,7 @@
|
|
|
423
432
|
"type": "String",
|
|
424
433
|
"desc": "Use a separator/border between rows, columns or all cells",
|
|
425
434
|
"default": "'horizontal'",
|
|
426
|
-
"values": [
|
|
435
|
+
"values": ["'horizontal'", "'vertical'", "'cell'", "'none'"],
|
|
427
436
|
"category": "content"
|
|
428
437
|
},
|
|
429
438
|
|
|
@@ -442,7 +451,7 @@
|
|
|
442
451
|
"column-sort-order": {
|
|
443
452
|
"type": "String",
|
|
444
453
|
"desc": "Set column sort order: 'ad' (ascending-descending) or 'da' (descending-ascending); It gets applied to all columns unless a column has its own sortOrder specified in the 'columns' definition prop",
|
|
445
|
-
"values": [
|
|
454
|
+
"values": ["'ad'", "'da'"],
|
|
446
455
|
"default": "'ad'",
|
|
447
456
|
"category": "sorting"
|
|
448
457
|
},
|
|
@@ -450,21 +459,21 @@
|
|
|
450
459
|
"no-data-label": {
|
|
451
460
|
"type": "String",
|
|
452
461
|
"desc": "Override default text to display when no data is available",
|
|
453
|
-
"examples": [
|
|
462
|
+
"examples": ["'No devices available'"],
|
|
454
463
|
"category": "content"
|
|
455
464
|
},
|
|
456
465
|
|
|
457
466
|
"no-results-label": {
|
|
458
467
|
"type": "String",
|
|
459
468
|
"desc": "Override default text to display when user filters the table and no matched results are found",
|
|
460
|
-
"examples": [
|
|
469
|
+
"examples": ["'No matched records'"],
|
|
461
470
|
"category": "content"
|
|
462
471
|
},
|
|
463
472
|
|
|
464
473
|
"loading-label": {
|
|
465
474
|
"type": "String",
|
|
466
475
|
"desc": "Override default text to display when table is in loading state (see 'loading' prop)",
|
|
467
|
-
"examples": [
|
|
476
|
+
"examples": ["'Loading devices...'"],
|
|
468
477
|
"category": "content"
|
|
469
478
|
},
|
|
470
479
|
|
|
@@ -480,16 +489,16 @@
|
|
|
480
489
|
"returns": {
|
|
481
490
|
"type": "String",
|
|
482
491
|
"desc": "Label to display",
|
|
483
|
-
"examples": [
|
|
492
|
+
"examples": ["'5 rows are selected'"]
|
|
484
493
|
},
|
|
485
|
-
"examples": [
|
|
494
|
+
"examples": ["(numberOfRows) => `Selected: ${ numberOfRows } entries`"],
|
|
486
495
|
"category": "selection"
|
|
487
496
|
},
|
|
488
497
|
|
|
489
498
|
"rows-per-page-label": {
|
|
490
499
|
"type": "String",
|
|
491
500
|
"desc": "Text to override default rows per page label at bottom of table",
|
|
492
|
-
"examples": [
|
|
501
|
+
"examples": ["'Records per page:'"],
|
|
493
502
|
"category": "pagination"
|
|
494
503
|
},
|
|
495
504
|
|
|
@@ -513,14 +522,16 @@
|
|
|
513
522
|
"returns": {
|
|
514
523
|
"type": "String",
|
|
515
524
|
"desc": "Label to display",
|
|
516
|
-
"examples": [
|
|
525
|
+
"examples": ["'1-10 of 132'"]
|
|
517
526
|
},
|
|
518
|
-
"examples": [
|
|
527
|
+
"examples": [
|
|
528
|
+
"(start, end, total) => `${ start }-${ end } of ${ total }`"
|
|
529
|
+
],
|
|
519
530
|
"category": "pagination"
|
|
520
531
|
},
|
|
521
532
|
|
|
522
533
|
"table-style": {
|
|
523
|
-
"type": [
|
|
534
|
+
"type": ["String", "Array", "Object"],
|
|
524
535
|
"tsType": "VueStyleProp",
|
|
525
536
|
"desc": "CSS style to apply to native HTML <table> element's wrapper (which is a DIV)",
|
|
526
537
|
"examples": [
|
|
@@ -531,18 +542,15 @@
|
|
|
531
542
|
},
|
|
532
543
|
|
|
533
544
|
"table-class": {
|
|
534
|
-
"type": [
|
|
545
|
+
"type": ["String", "Array", "Object"],
|
|
535
546
|
"tsType": "VueClassProp",
|
|
536
547
|
"desc": "CSS classes to apply to native HTML <table> element's wrapper (which is a DIV)",
|
|
537
|
-
"examples": [
|
|
538
|
-
"'my-special-class'",
|
|
539
|
-
"{ 'my-special-class': true }"
|
|
540
|
-
],
|
|
548
|
+
"examples": ["'my-special-class'", "{ 'my-special-class': true }"],
|
|
541
549
|
"category": "style"
|
|
542
550
|
},
|
|
543
551
|
|
|
544
552
|
"table-header-style": {
|
|
545
|
-
"type": [
|
|
553
|
+
"type": ["String", "Array", "Object"],
|
|
546
554
|
"tsType": "VueStyleProp",
|
|
547
555
|
"desc": "CSS style to apply to header of native HTML <table> (which is a TR)",
|
|
548
556
|
"examples": [
|
|
@@ -553,13 +561,10 @@
|
|
|
553
561
|
},
|
|
554
562
|
|
|
555
563
|
"table-header-class": {
|
|
556
|
-
"type": [
|
|
564
|
+
"type": ["String", "Array", "Object"],
|
|
557
565
|
"tsType": "VueClassProp",
|
|
558
566
|
"desc": "CSS classes to apply to header of native HTML <table> (which is a TR)",
|
|
559
|
-
"examples": [
|
|
560
|
-
"'my-special-class'",
|
|
561
|
-
"{ 'my-special-class': true }"
|
|
562
|
-
],
|
|
567
|
+
"examples": ["'my-special-class'", "{ 'my-special-class': true }"],
|
|
563
568
|
"category": "style"
|
|
564
569
|
},
|
|
565
570
|
|
|
@@ -570,7 +575,7 @@
|
|
|
570
575
|
"row": {
|
|
571
576
|
"type": "Object",
|
|
572
577
|
"desc": "The current row being processed",
|
|
573
|
-
"examples": [
|
|
578
|
+
"examples": ["{ name: 'Frozen Yogurt', calories: 159 }"]
|
|
574
579
|
}
|
|
575
580
|
},
|
|
576
581
|
"returns": {
|
|
@@ -592,23 +597,20 @@
|
|
|
592
597
|
"row": {
|
|
593
598
|
"type": "Object",
|
|
594
599
|
"desc": "The current row being processed",
|
|
595
|
-
"examples": [
|
|
600
|
+
"examples": ["{ name: 'Frozen Yogurt', calories: 159 }"]
|
|
596
601
|
}
|
|
597
602
|
},
|
|
598
603
|
"returns": {
|
|
599
604
|
"type": "String",
|
|
600
605
|
"desc": "CSS class(es) to apply to the row, space separated",
|
|
601
|
-
"examples": [
|
|
602
|
-
"'my-special-class'",
|
|
603
|
-
"'my-class my-second-class'"
|
|
604
|
-
]
|
|
606
|
+
"examples": ["'my-special-class'", "'my-class my-second-class'"]
|
|
605
607
|
},
|
|
606
608
|
"category": "style",
|
|
607
609
|
"addedIn": "v2.18"
|
|
608
610
|
},
|
|
609
611
|
|
|
610
612
|
"card-container-style": {
|
|
611
|
-
"type": [
|
|
613
|
+
"type": ["String", "Array", "Object"],
|
|
612
614
|
"tsType": "VueStyleProp",
|
|
613
615
|
"desc": "CSS style to apply to the cards container (when in grid mode)",
|
|
614
616
|
"examples": [
|
|
@@ -619,7 +621,7 @@
|
|
|
619
621
|
},
|
|
620
622
|
|
|
621
623
|
"card-container-class": {
|
|
622
|
-
"type": [
|
|
624
|
+
"type": ["String", "Array", "Object"],
|
|
623
625
|
"tsType": "VueClassProp",
|
|
624
626
|
"desc": "CSS classes to apply to the cards container (when in grid mode)",
|
|
625
627
|
"examples": [
|
|
@@ -631,7 +633,7 @@
|
|
|
631
633
|
},
|
|
632
634
|
|
|
633
635
|
"card-style": {
|
|
634
|
-
"type": [
|
|
636
|
+
"type": ["String", "Array", "Object"],
|
|
635
637
|
"tsType": "VueStyleProp",
|
|
636
638
|
"desc": "CSS style to apply to the card (when in grid mode) or container card (when not in grid mode)",
|
|
637
639
|
"examples": [
|
|
@@ -642,13 +644,10 @@
|
|
|
642
644
|
},
|
|
643
645
|
|
|
644
646
|
"card-class": {
|
|
645
|
-
"type": [
|
|
647
|
+
"type": ["String", "Array", "Object"],
|
|
646
648
|
"tsType": "VueClassProp",
|
|
647
649
|
"desc": "CSS classes to apply to the card (when in grid mode) or container card (when not in grid mode)",
|
|
648
|
-
"examples": [
|
|
649
|
-
"'my-special-class'",
|
|
650
|
-
"{ 'my-special-class': true }"
|
|
651
|
-
],
|
|
650
|
+
"examples": ["'my-special-class'", "{ 'my-special-class': true }"],
|
|
652
651
|
"category": "style"
|
|
653
652
|
},
|
|
654
653
|
|
|
@@ -659,7 +658,7 @@
|
|
|
659
658
|
"row": {
|
|
660
659
|
"type": "Object",
|
|
661
660
|
"desc": "The current row/record being processed",
|
|
662
|
-
"examples": [
|
|
661
|
+
"examples": ["{ name: 'Frozen Yogurt', calories: 159 }"]
|
|
663
662
|
}
|
|
664
663
|
},
|
|
665
664
|
"returns": {
|
|
@@ -681,37 +680,30 @@
|
|
|
681
680
|
"row": {
|
|
682
681
|
"type": "Object",
|
|
683
682
|
"desc": "The current row/record being processed",
|
|
684
|
-
"examples": [
|
|
683
|
+
"examples": ["{ name: 'Frozen Yogurt', calories: 159 }"]
|
|
685
684
|
}
|
|
686
685
|
},
|
|
687
686
|
"returns": {
|
|
688
687
|
"type": "String",
|
|
689
688
|
"desc": "CSS class(es) to apply to the row, space separated",
|
|
690
|
-
"examples": [
|
|
691
|
-
"'my-special-class'",
|
|
692
|
-
"'my-class my-second-class'"
|
|
693
|
-
]
|
|
689
|
+
"examples": ["'my-special-class'", "'my-class my-second-class'"]
|
|
694
690
|
},
|
|
695
691
|
"category": "style",
|
|
696
692
|
"addedIn": "v2.18"
|
|
697
693
|
},
|
|
698
694
|
|
|
699
695
|
"title-class": {
|
|
700
|
-
"type": [
|
|
696
|
+
"type": ["String", "Array", "Object"],
|
|
701
697
|
"tsType": "VueClassProp",
|
|
702
698
|
"desc": "CSS classes to apply to the title (if using 'title' prop)",
|
|
703
|
-
"examples": [
|
|
704
|
-
"'my-special-class'",
|
|
705
|
-
"'text-h1'",
|
|
706
|
-
"{ 'text-h1': true }"
|
|
707
|
-
],
|
|
699
|
+
"examples": ["'my-special-class'", "'text-h1'", "{ 'text-h1': true }"],
|
|
708
700
|
"category": "style"
|
|
709
701
|
},
|
|
710
702
|
|
|
711
703
|
"filter": {
|
|
712
|
-
"type": [
|
|
704
|
+
"type": ["String", "Object"],
|
|
713
705
|
"desc": "String/Object to filter table with; When using an Object it requires 'filter-method' to also be specified since it will be a custom filtering",
|
|
714
|
-
"examples": [
|
|
706
|
+
"examples": ["'car'"],
|
|
715
707
|
"category": "filter"
|
|
716
708
|
},
|
|
717
709
|
|
|
@@ -724,7 +716,7 @@
|
|
|
724
716
|
"desc": "Array of rows"
|
|
725
717
|
},
|
|
726
718
|
"terms": {
|
|
727
|
-
"type": [
|
|
719
|
+
"type": ["String", "Object"],
|
|
728
720
|
"desc": "Terms to filter with (is essentially the 'filter' prop value)"
|
|
729
721
|
},
|
|
730
722
|
"cols": {
|
|
@@ -749,7 +741,7 @@
|
|
|
749
741
|
"returns": {
|
|
750
742
|
"type": "Any",
|
|
751
743
|
"desc": "Parsed/Processed cell value",
|
|
752
|
-
"examples": [
|
|
744
|
+
"examples": ["'Ice Cream Sandwich'"]
|
|
753
745
|
}
|
|
754
746
|
}
|
|
755
747
|
},
|
|
@@ -757,7 +749,7 @@
|
|
|
757
749
|
"type": "Array",
|
|
758
750
|
"desc": "Filtered rows"
|
|
759
751
|
},
|
|
760
|
-
"examples": [
|
|
752
|
+
"examples": ["# see source code"],
|
|
761
753
|
"category": "filter"
|
|
762
754
|
},
|
|
763
755
|
|
|
@@ -766,9 +758,9 @@
|
|
|
766
758
|
"desc": "Pagination object; You can also use the 'v-model:pagination' for synching; When not synching it simply initializes the pagination on first render",
|
|
767
759
|
"definition": {
|
|
768
760
|
"sortBy": {
|
|
769
|
-
"type": [
|
|
761
|
+
"type": ["String", "null"],
|
|
770
762
|
"desc": "Column name (from column definition)",
|
|
771
|
-
"examples": [
|
|
763
|
+
"examples": ["'calories'"]
|
|
772
764
|
},
|
|
773
765
|
"descending": {
|
|
774
766
|
"type": "Boolean",
|
|
@@ -798,8 +790,8 @@
|
|
|
798
790
|
"rows-per-page-options": {
|
|
799
791
|
"type": "Array",
|
|
800
792
|
"desc": "Options for user to pick (Numbers); Number 0 means 'Show all rows in one page'",
|
|
801
|
-
"default": "[
|
|
802
|
-
"examples": [
|
|
793
|
+
"default": "[5, 7, 10, 15, 20, 25, 50, 0]",
|
|
794
|
+
"examples": ["[10, 20]"],
|
|
803
795
|
"category": "pagination"
|
|
804
796
|
},
|
|
805
797
|
|
|
@@ -807,7 +799,7 @@
|
|
|
807
799
|
"type": "String",
|
|
808
800
|
"desc": "Selection type",
|
|
809
801
|
"default": "'none'",
|
|
810
|
-
"values": [
|
|
802
|
+
"values": ["'single'", "'multiple'", "'none'"],
|
|
811
803
|
"category": "selection"
|
|
812
804
|
},
|
|
813
805
|
|
|
@@ -816,7 +808,7 @@
|
|
|
816
808
|
"desc": "Keeps the user selection array",
|
|
817
809
|
"default": "[]",
|
|
818
810
|
"syncable": true,
|
|
819
|
-
"examples": [
|
|
811
|
+
"examples": ["# v-model:selected=\"selection\""],
|
|
820
812
|
"category": "selection"
|
|
821
813
|
},
|
|
822
814
|
|
|
@@ -824,7 +816,7 @@
|
|
|
824
816
|
"type": "Array",
|
|
825
817
|
"desc": "Keeps the array with expanded rows keys",
|
|
826
818
|
"syncable": true,
|
|
827
|
-
"examples": [
|
|
819
|
+
"examples": ["# v-model:expanded=\"expanded\""],
|
|
828
820
|
"category": "expansion"
|
|
829
821
|
},
|
|
830
822
|
|
|
@@ -839,7 +831,7 @@
|
|
|
839
831
|
"sortBy": {
|
|
840
832
|
"type": "String",
|
|
841
833
|
"desc": "Column name (from column definition)",
|
|
842
|
-
"examples": [
|
|
834
|
+
"examples": ["'calories'"]
|
|
843
835
|
},
|
|
844
836
|
"descending": {
|
|
845
837
|
"type": "Boolean",
|
|
@@ -850,7 +842,7 @@
|
|
|
850
842
|
"type": "Array",
|
|
851
843
|
"desc": "Sorted rows"
|
|
852
844
|
},
|
|
853
|
-
"examples": [
|
|
845
|
+
"examples": ["# see source code"],
|
|
854
846
|
"category": "sorting"
|
|
855
847
|
}
|
|
856
848
|
},
|
|
@@ -892,10 +884,10 @@
|
|
|
892
884
|
"desc": "Trigger a table sort",
|
|
893
885
|
"params": {
|
|
894
886
|
"col": {
|
|
895
|
-
"type": [
|
|
887
|
+
"type": ["String", "Object"],
|
|
896
888
|
"required": true,
|
|
897
889
|
"desc": "Column name or column definition object",
|
|
898
|
-
"examples": [
|
|
890
|
+
"examples": ["'calories'"]
|
|
899
891
|
}
|
|
900
892
|
},
|
|
901
893
|
"returns": null
|
|
@@ -954,10 +946,10 @@
|
|
|
954
946
|
"desc": "Trigger a table sort",
|
|
955
947
|
"params": {
|
|
956
948
|
"col": {
|
|
957
|
-
"type": [
|
|
949
|
+
"type": ["String", "Object"],
|
|
958
950
|
"required": true,
|
|
959
951
|
"desc": "Column name or column definition object",
|
|
960
|
-
"examples": [
|
|
952
|
+
"examples": ["'calories'"]
|
|
961
953
|
}
|
|
962
954
|
},
|
|
963
955
|
"returns": null
|
|
@@ -1034,10 +1026,10 @@
|
|
|
1034
1026
|
"desc": "Trigger a table sort",
|
|
1035
1027
|
"params": {
|
|
1036
1028
|
"col": {
|
|
1037
|
-
"type": [
|
|
1029
|
+
"type": ["String", "Object"],
|
|
1038
1030
|
"required": true,
|
|
1039
1031
|
"desc": "Column name or column definition object",
|
|
1040
|
-
"examples": [
|
|
1032
|
+
"examples": ["'calories'"]
|
|
1041
1033
|
}
|
|
1042
1034
|
},
|
|
1043
1035
|
"returns": null
|
|
@@ -1104,10 +1096,10 @@
|
|
|
1104
1096
|
"desc": "Trigger a table sort",
|
|
1105
1097
|
"params": {
|
|
1106
1098
|
"col": {
|
|
1107
|
-
"type": [
|
|
1099
|
+
"type": ["String", "Object"],
|
|
1108
1100
|
"required": true,
|
|
1109
1101
|
"desc": "Column name or column definition object",
|
|
1110
|
-
"examples": [
|
|
1102
|
+
"examples": ["'calories'"]
|
|
1111
1103
|
}
|
|
1112
1104
|
},
|
|
1113
1105
|
"returns": null
|
|
@@ -1150,10 +1142,10 @@
|
|
|
1150
1142
|
"desc": "Trigger a table sort",
|
|
1151
1143
|
"params": {
|
|
1152
1144
|
"col": {
|
|
1153
|
-
"type": [
|
|
1145
|
+
"type": ["String", "Object"],
|
|
1154
1146
|
"required": true,
|
|
1155
1147
|
"desc": "Column name or column definition object",
|
|
1156
|
-
"examples": [
|
|
1148
|
+
"examples": ["'calories'"]
|
|
1157
1149
|
}
|
|
1158
1150
|
},
|
|
1159
1151
|
"returns": null
|
|
@@ -1208,10 +1200,10 @@
|
|
|
1208
1200
|
"desc": "Trigger a table sort",
|
|
1209
1201
|
"params": {
|
|
1210
1202
|
"col": {
|
|
1211
|
-
"type": [
|
|
1203
|
+
"type": ["String", "Object"],
|
|
1212
1204
|
"required": true,
|
|
1213
1205
|
"desc": "Column name or column definition object",
|
|
1214
|
-
"examples": [
|
|
1206
|
+
"examples": ["'calories'"]
|
|
1215
1207
|
}
|
|
1216
1208
|
},
|
|
1217
1209
|
"returns": null
|
|
@@ -1258,10 +1250,10 @@
|
|
|
1258
1250
|
"desc": "Trigger a table sort",
|
|
1259
1251
|
"params": {
|
|
1260
1252
|
"col": {
|
|
1261
|
-
"type": [
|
|
1253
|
+
"type": ["String", "Object"],
|
|
1262
1254
|
"required": true,
|
|
1263
1255
|
"desc": "Column name or column definition object",
|
|
1264
|
-
"examples": [
|
|
1256
|
+
"examples": ["'calories'"]
|
|
1265
1257
|
}
|
|
1266
1258
|
},
|
|
1267
1259
|
"returns": null
|
|
@@ -1320,10 +1312,10 @@
|
|
|
1320
1312
|
"desc": "Trigger a table sort",
|
|
1321
1313
|
"params": {
|
|
1322
1314
|
"col": {
|
|
1323
|
-
"type": [
|
|
1315
|
+
"type": ["String", "Object"],
|
|
1324
1316
|
"required": true,
|
|
1325
1317
|
"desc": "Column name or column definition object",
|
|
1326
|
-
"examples": [
|
|
1318
|
+
"examples": ["'calories'"]
|
|
1327
1319
|
}
|
|
1328
1320
|
},
|
|
1329
1321
|
"returns": null
|
|
@@ -1366,10 +1358,10 @@
|
|
|
1366
1358
|
"desc": "Trigger a table sort",
|
|
1367
1359
|
"params": {
|
|
1368
1360
|
"col": {
|
|
1369
|
-
"type": [
|
|
1361
|
+
"type": ["String", "Object"],
|
|
1370
1362
|
"required": true,
|
|
1371
1363
|
"desc": "Column name or column definition object",
|
|
1372
|
-
"examples": [
|
|
1364
|
+
"examples": ["'calories'"]
|
|
1373
1365
|
}
|
|
1374
1366
|
},
|
|
1375
1367
|
"returns": null
|
|
@@ -1424,10 +1416,10 @@
|
|
|
1424
1416
|
"desc": "Pagination object",
|
|
1425
1417
|
"definition": {
|
|
1426
1418
|
"sortBy": {
|
|
1427
|
-
"type": [
|
|
1419
|
+
"type": ["String", "null"],
|
|
1428
1420
|
"required": true,
|
|
1429
1421
|
"desc": "Column name (from column definition)",
|
|
1430
|
-
"examples": [
|
|
1422
|
+
"examples": ["'calories'"]
|
|
1431
1423
|
},
|
|
1432
1424
|
"descending": {
|
|
1433
1425
|
"type": "Boolean",
|
|
@@ -1508,10 +1500,10 @@
|
|
|
1508
1500
|
"desc": "Pagination object",
|
|
1509
1501
|
"definition": {
|
|
1510
1502
|
"sortBy": {
|
|
1511
|
-
"type": [
|
|
1503
|
+
"type": ["String", "null"],
|
|
1512
1504
|
"required": true,
|
|
1513
1505
|
"desc": "Column name (from column definition)",
|
|
1514
|
-
"examples": [
|
|
1506
|
+
"examples": ["'calories'"]
|
|
1515
1507
|
},
|
|
1516
1508
|
"descending": {
|
|
1517
1509
|
"type": "Boolean",
|
|
@@ -1592,10 +1584,10 @@
|
|
|
1592
1584
|
"desc": "Pagination object",
|
|
1593
1585
|
"definition": {
|
|
1594
1586
|
"sortBy": {
|
|
1595
|
-
"type": [
|
|
1587
|
+
"type": ["String", "null"],
|
|
1596
1588
|
"required": true,
|
|
1597
1589
|
"desc": "Column name (from column definition)",
|
|
1598
|
-
"examples": [
|
|
1590
|
+
"examples": ["'calories'"]
|
|
1599
1591
|
},
|
|
1600
1592
|
"descending": {
|
|
1601
1593
|
"type": "Boolean",
|
|
@@ -1676,10 +1668,10 @@
|
|
|
1676
1668
|
"desc": "Pagination object",
|
|
1677
1669
|
"definition": {
|
|
1678
1670
|
"sortBy": {
|
|
1679
|
-
"type": [
|
|
1671
|
+
"type": ["String", "null"],
|
|
1680
1672
|
"required": true,
|
|
1681
1673
|
"desc": "Column name (from column definition)",
|
|
1682
|
-
"examples": [
|
|
1674
|
+
"examples": ["'calories'"]
|
|
1683
1675
|
},
|
|
1684
1676
|
"descending": {
|
|
1685
1677
|
"type": "Boolean",
|
|
@@ -1760,10 +1752,10 @@
|
|
|
1760
1752
|
"desc": "Pagination object",
|
|
1761
1753
|
"definition": {
|
|
1762
1754
|
"sortBy": {
|
|
1763
|
-
"type": [
|
|
1755
|
+
"type": ["String", "null"],
|
|
1764
1756
|
"required": true,
|
|
1765
1757
|
"desc": "Column name (from column definition)",
|
|
1766
|
-
"examples": [
|
|
1758
|
+
"examples": ["'calories'"]
|
|
1767
1759
|
},
|
|
1768
1760
|
"descending": {
|
|
1769
1761
|
"type": "Boolean",
|
|
@@ -1844,10 +1836,10 @@
|
|
|
1844
1836
|
"desc": "Pagination object",
|
|
1845
1837
|
"definition": {
|
|
1846
1838
|
"sortBy": {
|
|
1847
|
-
"type": [
|
|
1839
|
+
"type": ["String", "null"],
|
|
1848
1840
|
"required": true,
|
|
1849
1841
|
"desc": "Column name (from column definition)",
|
|
1850
|
-
"examples": [
|
|
1842
|
+
"examples": ["'calories'"]
|
|
1851
1843
|
},
|
|
1852
1844
|
"descending": {
|
|
1853
1845
|
"type": "Boolean",
|
|
@@ -1926,15 +1918,15 @@
|
|
|
1926
1918
|
"message": {
|
|
1927
1919
|
"type": "String",
|
|
1928
1920
|
"desc": "The suggested message",
|
|
1929
|
-
"examples": [
|
|
1921
|
+
"examples": ["'No data available'"]
|
|
1930
1922
|
},
|
|
1931
1923
|
"icon": {
|
|
1932
1924
|
"type": "String",
|
|
1933
1925
|
"desc": "The suggested icon name (following Quasar convention)",
|
|
1934
|
-
"examples": [
|
|
1926
|
+
"examples": ["'warning'"]
|
|
1935
1927
|
},
|
|
1936
1928
|
"filter": {
|
|
1937
|
-
"type": [
|
|
1929
|
+
"type": ["String", "Object"],
|
|
1938
1930
|
"desc": "String/Object to filter table with (the 'filter' prop)"
|
|
1939
1931
|
}
|
|
1940
1932
|
}
|
|
@@ -2015,7 +2007,7 @@
|
|
|
2015
2007
|
"type": "String",
|
|
2016
2008
|
"required": true,
|
|
2017
2009
|
"desc": "Column name (from column definition)",
|
|
2018
|
-
"examples": [
|
|
2010
|
+
"examples": ["'calories'"]
|
|
2019
2011
|
},
|
|
2020
2012
|
"descending": {
|
|
2021
2013
|
"type": "Boolean",
|
|
@@ -2040,7 +2032,7 @@
|
|
|
2040
2032
|
}
|
|
2041
2033
|
},
|
|
2042
2034
|
"filter": {
|
|
2043
|
-
"type": [
|
|
2035
|
+
"type": ["String", "Object"],
|
|
2044
2036
|
"desc": "String/Object to filter table with (the 'filter' prop)"
|
|
2045
2037
|
},
|
|
2046
2038
|
"getCellValue": {
|
|
@@ -2062,7 +2054,7 @@
|
|
|
2062
2054
|
"returns": {
|
|
2063
2055
|
"type": "Any",
|
|
2064
2056
|
"desc": "Parsed/Processed cell value",
|
|
2065
|
-
"examples": [
|
|
2057
|
+
"examples": ["'Ice Cream Sandwich'"]
|
|
2066
2058
|
}
|
|
2067
2059
|
}
|
|
2068
2060
|
}
|
|
@@ -2109,10 +2101,10 @@
|
|
|
2109
2101
|
"desc": "The updated pagination object",
|
|
2110
2102
|
"definition": {
|
|
2111
2103
|
"sortBy": {
|
|
2112
|
-
"type": [
|
|
2104
|
+
"type": ["String", "null"],
|
|
2113
2105
|
"required": true,
|
|
2114
2106
|
"desc": "Column name (from column definition)",
|
|
2115
|
-
"examples": [
|
|
2107
|
+
"examples": ["'calories'"]
|
|
2116
2108
|
},
|
|
2117
2109
|
"descending": {
|
|
2118
2110
|
"type": "Boolean",
|
|
@@ -2145,7 +2137,7 @@
|
|
|
2145
2137
|
"newSelected": {
|
|
2146
2138
|
"type": "Array",
|
|
2147
2139
|
"desc": "The updated selected array",
|
|
2148
|
-
"examples": [
|
|
2140
|
+
"examples": ["[{ name: 'Frozen Yogurt', calories: 159, fat: 6 }]"]
|
|
2149
2141
|
}
|
|
2150
2142
|
}
|
|
2151
2143
|
},
|
|
@@ -2156,7 +2148,7 @@
|
|
|
2156
2148
|
"newExpanded": {
|
|
2157
2149
|
"type": "Array",
|
|
2158
2150
|
"desc": "The updated expanded array",
|
|
2159
|
-
"examples": [
|
|
2151
|
+
"examples": ["['row-a', 'row-b']"]
|
|
2160
2152
|
}
|
|
2161
2153
|
}
|
|
2162
2154
|
},
|
|
@@ -2187,7 +2179,7 @@
|
|
|
2187
2179
|
"type": "String",
|
|
2188
2180
|
"required": true,
|
|
2189
2181
|
"desc": "Direction of change",
|
|
2190
|
-
"values": [
|
|
2182
|
+
"values": ["'increase'", "'decrease'"]
|
|
2191
2183
|
},
|
|
2192
2184
|
"ref": {
|
|
2193
2185
|
"type": "Component",
|
|
@@ -2217,7 +2209,7 @@
|
|
|
2217
2209
|
"sortBy": {
|
|
2218
2210
|
"type": "String",
|
|
2219
2211
|
"desc": "Column name (from column definition)",
|
|
2220
|
-
"examples": [
|
|
2212
|
+
"examples": ["'calories'"]
|
|
2221
2213
|
},
|
|
2222
2214
|
"descending": {
|
|
2223
2215
|
"type": "Boolean",
|
|
@@ -2247,7 +2239,7 @@
|
|
|
2247
2239
|
"desc": "Array of rows"
|
|
2248
2240
|
},
|
|
2249
2241
|
"terms": {
|
|
2250
|
-
"type": [
|
|
2242
|
+
"type": ["String", "Object"],
|
|
2251
2243
|
"required": true,
|
|
2252
2244
|
"desc": "Terms to filter with (is essentially the 'filter' prop value)"
|
|
2253
2245
|
},
|
|
@@ -2271,7 +2263,7 @@
|
|
|
2271
2263
|
"returns": {
|
|
2272
2264
|
"type": "Any",
|
|
2273
2265
|
"desc": "Parsed/Processed cell value",
|
|
2274
|
-
"examples": [
|
|
2266
|
+
"examples": ["'Ice Cream Sandwich'"]
|
|
2275
2267
|
}
|
|
2276
2268
|
}
|
|
2277
2269
|
},
|
|
@@ -2295,9 +2287,9 @@
|
|
|
2295
2287
|
"desc": "Pagination object",
|
|
2296
2288
|
"definition": {
|
|
2297
2289
|
"sortBy": {
|
|
2298
|
-
"type": [
|
|
2290
|
+
"type": ["String", "null"],
|
|
2299
2291
|
"desc": "Column name (from column definition)",
|
|
2300
|
-
"examples": [
|
|
2292
|
+
"examples": ["'calories'"]
|
|
2301
2293
|
},
|
|
2302
2294
|
"descending": {
|
|
2303
2295
|
"type": "Boolean",
|
|
@@ -2357,7 +2349,7 @@
|
|
|
2357
2349
|
"type": "Any",
|
|
2358
2350
|
"required": true,
|
|
2359
2351
|
"desc": "Row key value",
|
|
2360
|
-
"examples": [
|
|
2352
|
+
"examples": ["'calories'"]
|
|
2361
2353
|
}
|
|
2362
2354
|
},
|
|
2363
2355
|
"returns": {
|
|
@@ -2379,7 +2371,7 @@
|
|
|
2379
2371
|
"type": "Any",
|
|
2380
2372
|
"required": true,
|
|
2381
2373
|
"desc": "Row key value",
|
|
2382
|
-
"examples": [
|
|
2374
|
+
"examples": ["'calories'"]
|
|
2383
2375
|
}
|
|
2384
2376
|
},
|
|
2385
2377
|
"returns": {
|
|
@@ -2395,7 +2387,7 @@
|
|
|
2395
2387
|
"type": "Array",
|
|
2396
2388
|
"required": true,
|
|
2397
2389
|
"desc": "Array containing keys of the expanded rows",
|
|
2398
|
-
"examples": [
|
|
2390
|
+
"examples": ["['row-a', 'row-b']"]
|
|
2399
2391
|
}
|
|
2400
2392
|
},
|
|
2401
2393
|
"returns": null
|
|
@@ -2405,10 +2397,10 @@
|
|
|
2405
2397
|
"desc": "Trigger a table sort",
|
|
2406
2398
|
"params": {
|
|
2407
2399
|
"col": {
|
|
2408
|
-
"type": [
|
|
2400
|
+
"type": ["String", "Object"],
|
|
2409
2401
|
"required": true,
|
|
2410
2402
|
"desc": "Column name or column definition object",
|
|
2411
|
-
"examples": [
|
|
2403
|
+
"examples": ["'calories'"]
|
|
2412
2404
|
}
|
|
2413
2405
|
},
|
|
2414
2406
|
"returns": null
|
|
@@ -2430,14 +2422,21 @@
|
|
|
2430
2422
|
"desc": "Scroll the table to the row with the specified index in page (0 based)",
|
|
2431
2423
|
"params": {
|
|
2432
2424
|
"index": {
|
|
2433
|
-
"type": [
|
|
2425
|
+
"type": ["Number", "String"],
|
|
2434
2426
|
"required": true,
|
|
2435
2427
|
"desc": "The index of the row in page (0 based)"
|
|
2436
2428
|
},
|
|
2437
2429
|
"edge": {
|
|
2438
2430
|
"type": "String",
|
|
2439
2431
|
"desc": "Only for virtual scroll - the edge to align to if the row is not visible already; If the '-force' version is used then it always aligns; Default value: end (if scrolling towards the end) / start (if scrolling towards the start)",
|
|
2440
|
-
"values": [
|
|
2432
|
+
"values": [
|
|
2433
|
+
"'start'",
|
|
2434
|
+
"'center'",
|
|
2435
|
+
"'end'",
|
|
2436
|
+
"'start-force'",
|
|
2437
|
+
"'center-force'",
|
|
2438
|
+
"'end-force'"
|
|
2439
|
+
],
|
|
2441
2440
|
"default": "# end/start"
|
|
2442
2441
|
}
|
|
2443
2442
|
},
|
|
@@ -2449,13 +2448,17 @@
|
|
|
2449
2448
|
"filteredSortedRows": {
|
|
2450
2449
|
"desc": "The filtered and sorted rows (same as the rows prop if using server-side fetching)",
|
|
2451
2450
|
"type": "Array",
|
|
2452
|
-
"examples": [
|
|
2451
|
+
"examples": [
|
|
2452
|
+
"[{ name: 'Ice Cream Sandwich', calories: 237, fat: 9.0, carbs: 37, protein: 4.3, sodium: 129, calcium: 8, iron: 1 }, ...]"
|
|
2453
|
+
]
|
|
2453
2454
|
},
|
|
2454
2455
|
|
|
2455
2456
|
"computedRows": {
|
|
2456
2457
|
"desc": "Paginated, filtered, and sorted rows (same as the rows prop if using server-side fetching)",
|
|
2457
2458
|
"type": "Array",
|
|
2458
|
-
"examples": [
|
|
2459
|
+
"examples": [
|
|
2460
|
+
"[{ name: 'Ice Cream Sandwich', calories: 237, fat: 9.0, carbs: 37, protein: 4.3, sodium: 129, calcium: 8, iron: 1 }, ...]"
|
|
2461
|
+
]
|
|
2459
2462
|
},
|
|
2460
2463
|
|
|
2461
2464
|
"computedRowsNumber": {
|