quasar 1.20.1 → 1.21.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/dist/api/QBreadcrumbsEl.json +53 -0
- package/dist/api/QBtn.json +42 -5
- package/dist/api/QBtnDropdown.json +9 -0
- package/dist/api/QChip.json +9 -0
- package/dist/api/QCircularProgress.json +6 -0
- package/dist/api/QDialog.json +6 -0
- package/dist/api/QExpansionItem.json +59 -0
- package/dist/api/QItem.json +53 -0
- package/dist/api/QRating.json +13 -0
- package/dist/api/QRouteTab.json +6 -2
- package/dist/api/QTable.json +2 -2
- package/dist/babel-transforms/imports.js +3 -12
- package/dist/icon-set/bootstrap-icons.umd.min.js +1 -1
- package/dist/icon-set/eva-icons.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.min.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.min.js +1 -1
- package/dist/icon-set/line-awesome.umd.min.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.min.js +1 -1
- package/dist/icon-set/material-icons-round.umd.min.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.min.js +1 -1
- package/dist/icon-set/material-icons.umd.min.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.min.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.min.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.min.js +1 -1
- package/dist/icon-set/mdi-v3.umd.min.js +1 -1
- package/dist/icon-set/mdi-v4.umd.min.js +1 -1
- package/dist/icon-set/mdi-v5.umd.min.js +1 -1
- package/dist/icon-set/mdi-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.min.js +2 -2
- package/dist/icon-set/svg-ionicons-v4.umd.min.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.min.js +2 -2
- package/dist/icon-set/svg-material-symbols-rounded.umd.min.js +2 -2
- package/dist/icon-set/svg-material-symbols-sharp.umd.min.js +2 -2
- package/dist/icon-set/svg-mdi-v4.umd.min.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-themify.umd.min.js +1 -1
- package/dist/icon-set/themify.umd.min.js +1 -1
- package/dist/lang/ar.umd.min.js +2 -2
- package/dist/lang/az-latn.umd.min.js +2 -2
- package/dist/lang/bg.umd.min.js +2 -2
- package/dist/lang/ca.umd.min.js +2 -2
- package/dist/lang/cs.umd.min.js +2 -2
- package/dist/lang/da.umd.min.js +2 -2
- package/dist/lang/de.umd.min.js +2 -2
- package/dist/lang/el.umd.min.js +2 -2
- package/dist/lang/en-gb.umd.min.js +2 -2
- package/dist/lang/en-us.umd.min.js +2 -2
- package/dist/lang/eo.umd.min.js +2 -2
- package/dist/lang/es.umd.min.js +2 -2
- package/dist/lang/et.umd.min.js +2 -2
- package/dist/lang/eu.umd.min.js +2 -2
- package/dist/lang/fa-ir.umd.min.js +2 -2
- package/dist/lang/fa.umd.min.js +2 -2
- package/dist/lang/fi.umd.min.js +2 -2
- package/dist/lang/fr.umd.min.js +2 -2
- package/dist/lang/gn.umd.min.js +2 -2
- package/dist/lang/he.umd.min.js +2 -2
- package/dist/lang/hr.umd.min.js +2 -2
- package/dist/lang/hu.umd.min.js +2 -2
- package/dist/lang/id.umd.min.js +2 -2
- package/dist/lang/is.umd.min.js +2 -2
- package/dist/lang/it.umd.min.js +2 -2
- package/dist/lang/ja.umd.min.js +2 -2
- package/dist/lang/km.umd.min.js +2 -2
- package/dist/lang/ko-kr.umd.min.js +2 -2
- package/dist/lang/kur-ckb.umd.min.js +2 -2
- package/dist/lang/kz.umd.min.js +2 -2
- package/dist/lang/lu.umd.min.js +2 -2
- package/dist/lang/lv.umd.min.js +2 -2
- package/dist/lang/ml.umd.min.js +2 -2
- package/dist/lang/mm.umd.min.js +2 -2
- package/dist/lang/ms.umd.min.js +2 -2
- package/dist/lang/my.umd.min.js +2 -2
- package/dist/lang/nb-no.umd.min.js +2 -2
- package/dist/lang/nl.umd.min.js +2 -2
- package/dist/lang/pl.umd.min.js +2 -2
- package/dist/lang/pt-br.umd.min.js +2 -2
- package/dist/lang/pt.umd.min.js +2 -2
- package/dist/lang/ro.umd.min.js +2 -2
- package/dist/lang/ru.umd.min.js +2 -2
- package/dist/lang/sk.umd.min.js +2 -2
- package/dist/lang/sl.umd.min.js +2 -2
- package/dist/lang/sm.umd.min.js +2 -2
- package/dist/lang/sr.umd.min.js +2 -2
- package/dist/lang/sv.umd.min.js +2 -2
- package/dist/lang/ta.umd.min.js +2 -2
- package/dist/lang/th.umd.min.js +2 -2
- package/dist/lang/tr.umd.min.js +2 -2
- package/dist/lang/ug.umd.min.js +2 -2
- package/dist/lang/uk.umd.min.js +2 -2
- package/dist/lang/uz-Cyrl.umd.min.js +2 -2
- package/dist/lang/uz-Latn.umd.min.js +2 -2
- package/dist/lang/vi.umd.min.js +2 -2
- package/dist/lang/zh-hans.umd.min.js +2 -2
- package/dist/lang/zh-hant.umd.min.js +2 -2
- package/dist/quasar.addon.css +1 -1
- package/dist/quasar.addon.rtl.css +1 -1
- package/dist/quasar.common.js +2 -2
- package/dist/quasar.css +43 -288
- package/dist/quasar.esm.js +2 -2
- package/dist/quasar.ie.polyfills.js +1 -1
- package/dist/quasar.ie.polyfills.umd.min.js +1 -1
- package/dist/quasar.min.css +1 -1
- package/dist/quasar.rtl.css +46 -408
- package/dist/quasar.rtl.min.css +1 -1
- package/dist/quasar.sass +3 -7
- package/dist/quasar.styl +3 -7
- package/dist/quasar.umd.js +1416 -1021
- package/dist/quasar.umd.min.js +2 -2
- package/dist/quasar.umd.modern.js +1360 -1001
- package/dist/quasar.umd.modern.min.js +2 -2
- package/dist/types/index.d.ts +29 -1
- package/dist/types/utils/is.d.ts +67 -0
- package/dist/types/utils/run-sequential-promises.d.ts +119 -0
- package/dist/types/utils.d.ts +2 -0
- package/dist/vetur/quasar-attributes.json +29 -1
- package/dist/vetur/quasar-tags.json +9 -2
- package/dist/web-types/web-types.json +138 -6
- package/lang/ar.js +3 -1
- package/lang/az-latn.js +3 -1
- package/lang/bg.js +3 -1
- package/lang/ca.js +3 -1
- package/lang/cs.js +3 -1
- package/lang/da.js +3 -1
- package/lang/de.js +3 -1
- package/lang/el.js +3 -1
- package/lang/en-gb.js +3 -1
- package/lang/en-us.js +3 -1
- package/lang/eo.js +3 -1
- package/lang/es.js +3 -1
- package/lang/et.js +3 -1
- package/lang/eu.js +3 -1
- package/lang/fa-ir.js +3 -1
- package/lang/fa.js +3 -1
- package/lang/fi.js +3 -1
- package/lang/fr.js +3 -1
- package/lang/gn.js +3 -1
- package/lang/he.js +3 -1
- package/lang/hr.js +3 -1
- package/lang/hu.js +3 -1
- package/lang/id.js +3 -1
- package/lang/is.js +3 -1
- package/lang/it.js +3 -1
- package/lang/ja.js +3 -1
- package/lang/km.js +3 -1
- package/lang/ko-kr.js +3 -1
- package/lang/kur-ckb.js +3 -1
- package/lang/kz.js +3 -1
- package/lang/lu.js +3 -1
- package/lang/lv.js +3 -1
- package/lang/ml.js +3 -1
- package/lang/mm.js +3 -1
- package/lang/ms.js +3 -1
- package/lang/my.js +3 -1
- package/lang/nb-no.js +3 -1
- package/lang/nl.js +3 -1
- package/lang/pl.js +3 -1
- package/lang/pt-br.js +3 -1
- package/lang/pt.js +3 -1
- package/lang/ro.js +3 -1
- package/lang/ru.js +3 -1
- package/lang/sk.js +3 -1
- package/lang/sl.js +3 -1
- package/lang/sm.js +3 -1
- package/lang/sr.js +3 -1
- package/lang/sv.js +3 -1
- package/lang/ta.js +3 -1
- package/lang/th.js +3 -1
- package/lang/tr.js +3 -1
- package/lang/ug.js +3 -1
- package/lang/uk.js +3 -1
- package/lang/uz-Cyrl.js +3 -1
- package/lang/uz-Latn.js +3 -1
- package/lang/vi.js +3 -1
- package/lang/zh-hans.js +3 -1
- package/lang/zh-hant.js +3 -1
- package/package.json +1 -1
- package/src/body.js +1 -1
- package/src/components/avatar/QAvatar.js +1 -1
- package/src/components/badge/QBadge.js +1 -1
- package/src/components/banner/QBanner.js +1 -1
- package/src/components/bar/QBar.js +1 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +7 -4
- package/src/components/breadcrumbs/QBreadcrumbsEl.json +56 -0
- package/src/components/btn/QBtn.js +7 -29
- package/src/components/btn/QBtn.json +43 -5
- package/src/components/btn-dropdown/QBtnDropdown.js +19 -6
- package/src/components/btn-dropdown/QBtnDropdown.json +8 -0
- package/src/components/btn-group/QBtnGroup.js +1 -1
- package/src/components/btn-toggle/QBtnToggle.js +1 -1
- package/src/components/card/QCard.js +1 -1
- package/src/components/card/QCardActions.js +1 -1
- package/src/components/card/QCardSection.js +1 -1
- package/src/components/carousel/QCarousel.js +2 -2
- package/src/components/carousel/QCarouselControl.js +1 -1
- package/src/components/carousel/QCarouselSlide.js +1 -1
- package/src/components/checkbox/QCheckbox.js +1 -1
- package/src/components/chip/QChip.js +10 -3
- package/src/components/chip/QChip.json +8 -0
- package/src/components/circular-progress/QCircularProgress.js +6 -3
- package/src/components/circular-progress/QCircularProgress.json +7 -0
- package/src/components/color/QColor.js +1 -1
- package/src/components/date/QDate.js +3 -3
- package/src/components/dialog/QDialog.js +29 -8
- package/src/components/dialog/QDialog.json +7 -0
- package/src/components/dialog-bottom-sheet/BottomSheet.js +1 -1
- package/src/components/dialog-plugin/DialogPlugin.js +2 -2
- package/src/components/drawer/QDrawer.js +13 -7
- package/src/components/editor/QEditor.js +2 -2
- package/src/components/editor/editor-utils.js +2 -2
- package/src/components/expansion-item/QExpansionItem.js +66 -16
- package/src/components/expansion-item/QExpansionItem.json +67 -0
- package/src/components/fab/QFab.js +26 -3
- package/src/components/fab/QFabAction.js +1 -1
- package/src/components/field/QField.js +2 -2
- package/src/components/file/QFile.js +1 -1
- package/src/components/footer/QFooter.js +2 -2
- package/src/components/form/QForm.js +45 -51
- package/src/components/header/QHeader.js +2 -2
- package/src/components/icon/QIcon.js +1 -1
- package/src/components/img/QImg.js +1 -1
- package/src/components/infinite-scroll/QInfiniteScroll.js +1 -1
- package/src/components/input/QInput.js +1 -1
- package/src/components/intersection/QIntersection.js +1 -1
- package/src/components/item/QItem.js +39 -33
- package/src/components/item/QItem.json +56 -0
- package/src/components/item/QItemLabel.js +1 -1
- package/src/components/item/QItemSection.js +1 -1
- package/src/components/item/QList.js +1 -1
- package/src/components/knob/QKnob.js +2 -2
- package/src/components/layout/QLayout.js +2 -2
- package/src/components/linear-progress/QLinearProgress.js +1 -1
- package/src/components/markup-table/QMarkupTable.js +1 -1
- package/src/components/menu/ClickOutside.js +1 -1
- package/src/components/menu/QMenu.js +17 -7
- package/src/components/no-ssr/QNoSsr.js +1 -1
- package/src/components/option-group/QOptionGroup.js +1 -1
- package/src/components/page/QPage.js +1 -1
- package/src/components/page/QPageContainer.js +1 -1
- package/src/components/page-sticky/QPageSticky.js +1 -1
- package/src/components/pagination/QPagination.js +2 -2
- package/src/components/parallax/QParallax.js +1 -1
- package/src/components/popup-edit/QPopupEdit.js +6 -12
- package/src/components/popup-proxy/QPopupProxy.js +1 -1
- package/src/components/pull-to-refresh/QPullToRefresh.js +1 -1
- package/src/components/radio/QRadio.js +5 -4
- package/src/components/rating/QRating.js +46 -15
- package/src/components/rating/QRating.json +11 -0
- package/src/components/resize-observer/QResizeObserver.js +1 -1
- package/src/components/responsive/QResponsive.js +1 -1
- package/src/components/scroll-area/QScrollArea.js +2 -2
- package/src/components/select/QSelect.js +4 -7
- package/src/components/skeleton/QSkeleton.js +1 -1
- package/src/components/slide-item/QSlideItem.js +2 -2
- package/src/components/slide-transition/QSlideTransition.js +2 -2
- package/src/components/splitter/QSplitter.js +2 -2
- package/src/components/stepper/QStep.js +2 -2
- package/src/components/stepper/QStepper.js +2 -2
- package/src/components/stepper/QStepperNavigation.js +1 -1
- package/src/components/stepper/StepHeader.js +1 -1
- package/src/components/tab-panels/QTabPanel.js +1 -1
- package/src/components/table/QTable.js +2 -2
- package/src/components/table/QTable.json +2 -2
- package/src/components/table/QTd.js +1 -1
- package/src/components/table/QTh.js +1 -1
- package/src/components/table/QTr.js +1 -1
- package/src/components/table/table-body.js +21 -32
- package/src/components/table/table-bottom.js +1 -1
- package/src/components/table/table-header.js +9 -9
- package/src/components/table/table-sort.js +1 -1
- package/src/components/tabs/QRouteTab.js +10 -120
- package/src/components/tabs/QRouteTab.json +7 -2
- package/src/components/tabs/QTab.js +112 -75
- package/src/components/tabs/QTabs.js +411 -329
- package/src/components/tabs/QTabs.sass +2 -7
- package/src/components/tabs/QTabs.styl +2 -7
- package/src/components/time/QTime.js +2 -2
- package/src/components/timeline/QTimeline.js +1 -1
- package/src/components/timeline/QTimelineEntry.js +1 -1
- package/src/components/toolbar/QToolbar.js +1 -1
- package/src/components/toolbar/QToolbarTitle.js +1 -1
- package/src/components/tooltip/QTooltip.js +19 -15
- package/src/components/tree/QTree.js +17 -15
- package/src/components/uploader/QUploaderBase.js +1 -1
- package/src/components/virtual-scroll/QVirtualScroll.js +1 -1
- package/src/directives/ClosePopup.js +1 -1
- package/src/directives/GoBack.js +1 -1
- package/src/directives/Ripple.js +1 -1
- package/src/directives/TouchHold.js +2 -2
- package/src/directives/TouchPan.js +4 -4
- package/src/directives/TouchRepeat.js +3 -3
- package/src/directives/TouchSwipe.js +3 -3
- package/src/mixins/anchor.js +2 -2
- package/src/mixins/attrs.js +1 -1
- package/src/mixins/btn.js +4 -3
- package/src/mixins/checkbox.js +4 -3
- package/src/mixins/datetime.js +1 -1
- package/src/mixins/file.js +2 -2
- package/src/mixins/listeners.js +1 -1
- package/src/mixins/mask.js +1 -1
- package/src/mixins/model-toggle.js +5 -7
- package/src/mixins/panel.js +2 -2
- package/src/mixins/portal.js +1 -1
- package/src/mixins/router-link.js +164 -38
- package/src/mixins/timeout.js +57 -26
- package/src/mixins/validate.js +5 -3
- package/src/plugins/BottomSheet.js +1 -1
- package/src/plugins/BottomSheet.json +1 -1
- package/src/plugins/Dialog.js +1 -1
- package/src/plugins/Dialog.json +1 -1
- package/src/plugins/Loading.js +1 -1
- package/src/plugins/LocalStorage.js +1 -1
- package/src/plugins/LocalStorage.json +1 -1
- package/src/plugins/SessionStorage.js +1 -1
- package/src/plugins/SessionStorage.json +1 -1
- package/src/utils/date.js +1 -1
- package/src/utils/extend.js +15 -19
- package/src/utils/{cache.js → private/cache.js} +1 -1
- package/src/utils/{date-persian.js → private/date-persian.js} +0 -0
- package/src/utils/{escape-key.js → private/escape-key.js} +0 -0
- package/src/utils/{focus-manager.js → private/focus-manager.js} +0 -0
- package/src/utils/{global-dialog.js → private/global-dialog.js} +1 -1
- package/src/utils/{global-dialog.json → private/global-dialog.json} +0 -0
- package/src/utils/private/inject-obj-prop.js +15 -0
- package/src/utils/{key-composition.js → private/key-composition.js} +0 -0
- package/src/utils/{position-engine.js → private/position-engine.js} +2 -2
- package/src/utils/{selection.js → private/selection.js} +1 -1
- package/src/utils/{slot.js → private/slot.js} +0 -0
- package/src/utils/{sort.js → private/sort.js} +0 -0
- package/src/utils/{touch.js → private/touch.js} +0 -0
- package/src/utils/{vm.js → private/vm.js} +0 -0
- package/src/utils/{web-storage.js → private/web-storage.js} +2 -2
- package/src/utils/{web-storage.json → private/web-storage.json} +0 -0
- package/src/utils/run-sequential-promises.js +115 -0
- package/src/utils.js +6 -4
- package/src/utils/router.js +0 -50
|
@@ -103,5 +103,58 @@
|
|
|
103
103
|
"default": {
|
|
104
104
|
"desc": "This is where custom content goes, unless 'icon' and 'label' props are not enough"
|
|
105
105
|
}
|
|
106
|
+
},
|
|
107
|
+
"events": {
|
|
108
|
+
"click": {
|
|
109
|
+
"desc": "Emitted when the component is clicked",
|
|
110
|
+
"params": {
|
|
111
|
+
"evt": {
|
|
112
|
+
"type": "Object",
|
|
113
|
+
"desc": "JS event object; If you are using route navigation ('to'/'replace'/'append' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler",
|
|
114
|
+
"required": true
|
|
115
|
+
},
|
|
116
|
+
"navigateFn": {
|
|
117
|
+
"type": "Function",
|
|
118
|
+
"desc": "Available ONLY if you are using route navigation ('to'/'replace'/'append' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
119
|
+
"addedIn": "v1.21.0",
|
|
120
|
+
"params": {
|
|
121
|
+
"opts": {
|
|
122
|
+
"type": "Object",
|
|
123
|
+
"desc": "Optional options",
|
|
124
|
+
"definition": {
|
|
125
|
+
"to": {
|
|
126
|
+
"type": [
|
|
127
|
+
"String",
|
|
128
|
+
"Object"
|
|
129
|
+
],
|
|
130
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
131
|
+
"examples": [
|
|
132
|
+
"/home/dashboard",
|
|
133
|
+
"{ name: 'my-route-name' }"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"replace": {
|
|
137
|
+
"type": "Boolean",
|
|
138
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop"
|
|
139
|
+
},
|
|
140
|
+
"append": {
|
|
141
|
+
"type": "Boolean",
|
|
142
|
+
"desc": "Equivalent to Vue Router <router-link> 'append' property",
|
|
143
|
+
"default": "Tab's 'append' property"
|
|
144
|
+
},
|
|
145
|
+
"returnRouterError": {
|
|
146
|
+
"type": "Boolean",
|
|
147
|
+
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"returns": {
|
|
153
|
+
"type": "Promise<any>",
|
|
154
|
+
"desc": "Returns the router's navigation promise"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
106
159
|
}
|
|
107
160
|
}
|
package/dist/api/QBtn.json
CHANGED
|
@@ -287,17 +287,54 @@
|
|
|
287
287
|
},
|
|
288
288
|
"events": {
|
|
289
289
|
"click": {
|
|
290
|
-
"desc": "Emitted when component is clicked
|
|
290
|
+
"desc": "Emitted when the component is clicked",
|
|
291
291
|
"params": {
|
|
292
292
|
"evt": {
|
|
293
293
|
"type": "Object",
|
|
294
|
-
"desc": "JS event object; If you want to cancel navigation
|
|
294
|
+
"desc": "JS event object; If you are using route navigation ('to'/'replace'/'append' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler",
|
|
295
|
+
"required": true
|
|
295
296
|
},
|
|
296
297
|
"navigateFn": {
|
|
297
298
|
"type": "Function",
|
|
298
|
-
"desc": "When you need to control the time at which the
|
|
299
|
-
"params":
|
|
300
|
-
|
|
299
|
+
"desc": "Available ONLY if you are using route navigation ('to'/'replace'/'append' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
300
|
+
"params": {
|
|
301
|
+
"opts": {
|
|
302
|
+
"type": "Object",
|
|
303
|
+
"desc": "Optional options",
|
|
304
|
+
"addedIn": "v1.21.0",
|
|
305
|
+
"definition": {
|
|
306
|
+
"to": {
|
|
307
|
+
"type": [
|
|
308
|
+
"String",
|
|
309
|
+
"Object"
|
|
310
|
+
],
|
|
311
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
312
|
+
"examples": [
|
|
313
|
+
"/home/dashboard",
|
|
314
|
+
"{ name: 'my-route-name' }"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
"replace": {
|
|
318
|
+
"type": "Boolean",
|
|
319
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop"
|
|
320
|
+
},
|
|
321
|
+
"append": {
|
|
322
|
+
"type": "Boolean",
|
|
323
|
+
"desc": "Equivalent to Vue Router <router-link> 'append' property",
|
|
324
|
+
"default": "Tab's 'append' property"
|
|
325
|
+
},
|
|
326
|
+
"returnRouterError": {
|
|
327
|
+
"type": "Boolean",
|
|
328
|
+
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill"
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"returns": {
|
|
334
|
+
"type": "Promise<any>",
|
|
335
|
+
"desc": "Returns the router's navigation promise",
|
|
336
|
+
"addedIn": "v1.21.0"
|
|
337
|
+
}
|
|
301
338
|
}
|
|
302
339
|
}
|
|
303
340
|
}
|
|
@@ -404,6 +404,15 @@
|
|
|
404
404
|
],
|
|
405
405
|
"category": "position",
|
|
406
406
|
"addedIn": "v1.9.2"
|
|
407
|
+
},
|
|
408
|
+
"toggle-aria-label": {
|
|
409
|
+
"type": "String",
|
|
410
|
+
"desc": "aria-label to be used on the dropdown toggle element",
|
|
411
|
+
"examples": [
|
|
412
|
+
"Open menu"
|
|
413
|
+
],
|
|
414
|
+
"category": "accessibility",
|
|
415
|
+
"addedIn": "v1.20.2"
|
|
407
416
|
}
|
|
408
417
|
},
|
|
409
418
|
"slots": {
|
package/dist/api/QChip.json
CHANGED
|
@@ -150,6 +150,15 @@
|
|
|
150
150
|
"desc": "If set, then it displays a 'remove' icon that when clicked the QChip emits 'remove' event",
|
|
151
151
|
"category": "state"
|
|
152
152
|
},
|
|
153
|
+
"remove-aria-label": {
|
|
154
|
+
"type": "String",
|
|
155
|
+
"desc": "aria-label to be used on the remove icon",
|
|
156
|
+
"examples": [
|
|
157
|
+
"Remove item"
|
|
158
|
+
],
|
|
159
|
+
"category": "accessibility",
|
|
160
|
+
"addedIn": "v1.20.2"
|
|
161
|
+
},
|
|
153
162
|
"tabindex": {
|
|
154
163
|
"type": [
|
|
155
164
|
"Number",
|
package/dist/api/QDialog.json
CHANGED
|
@@ -142,6 +142,12 @@
|
|
|
142
142
|
"desc": "Do not shake up the Dialog to catch user's attention",
|
|
143
143
|
"category": "behavior",
|
|
144
144
|
"addedIn": "v1.17"
|
|
145
|
+
},
|
|
146
|
+
"allow-focus-outside": {
|
|
147
|
+
"type": "Boolean",
|
|
148
|
+
"desc": "Allow elements outside of the Dialog to be focusable; By default, for accessibility reasons, QDialog does not allow outer focus",
|
|
149
|
+
"category": "behavior",
|
|
150
|
+
"addedIn": "v1.21.0"
|
|
145
151
|
}
|
|
146
152
|
},
|
|
147
153
|
"slots": {
|
|
@@ -124,6 +124,15 @@
|
|
|
124
124
|
],
|
|
125
125
|
"category": "style"
|
|
126
126
|
},
|
|
127
|
+
"toggle-aria-label": {
|
|
128
|
+
"type": "String",
|
|
129
|
+
"desc": "aria-label to be used on the expansion toggle element",
|
|
130
|
+
"examples": [
|
|
131
|
+
"Open details"
|
|
132
|
+
],
|
|
133
|
+
"category": "accessibility",
|
|
134
|
+
"addedIn": "v1.20.2"
|
|
135
|
+
},
|
|
127
136
|
"label": {
|
|
128
137
|
"type": "String",
|
|
129
138
|
"desc": "Header label (unless using 'header' slot)",
|
|
@@ -211,6 +220,12 @@
|
|
|
211
220
|
"desc": "Puts expansion item into open state on initial render; Overridden by v-model if used",
|
|
212
221
|
"category": "behavior"
|
|
213
222
|
},
|
|
223
|
+
"hide-expand-icon": {
|
|
224
|
+
"type": "Boolean",
|
|
225
|
+
"desc": "Do not show the expand icon",
|
|
226
|
+
"category": "content",
|
|
227
|
+
"addedIn": "v1.20.2"
|
|
228
|
+
},
|
|
214
229
|
"expand-icon-toggle": {
|
|
215
230
|
"type": "Boolean",
|
|
216
231
|
"desc": "Applies the expansion events to the expand icon only and not to the whole header",
|
|
@@ -279,6 +294,50 @@
|
|
|
279
294
|
"type": "Boolean",
|
|
280
295
|
"desc": "QExpansionItem expanded status",
|
|
281
296
|
"addedIn": "v1.19.5"
|
|
297
|
+
},
|
|
298
|
+
"detailsId": {
|
|
299
|
+
"type": "String",
|
|
300
|
+
"desc": "QExpansionItem details panel id (for use in aria-controls)",
|
|
301
|
+
"addedIn": "v1.20.2"
|
|
302
|
+
},
|
|
303
|
+
"show": {
|
|
304
|
+
"type": "Function",
|
|
305
|
+
"desc": "Triggers component to show",
|
|
306
|
+
"params": {
|
|
307
|
+
"evt": {
|
|
308
|
+
"type": "Object",
|
|
309
|
+
"required": false,
|
|
310
|
+
"desc": "JS event object"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"returns": null,
|
|
314
|
+
"addedIn": "v1.20.2"
|
|
315
|
+
},
|
|
316
|
+
"hide": {
|
|
317
|
+
"type": "Function",
|
|
318
|
+
"desc": "Triggers component to hide",
|
|
319
|
+
"params": {
|
|
320
|
+
"evt": {
|
|
321
|
+
"type": "Object",
|
|
322
|
+
"required": false,
|
|
323
|
+
"desc": "JS event object"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"returns": null,
|
|
327
|
+
"addedIn": "v1.20.2"
|
|
328
|
+
},
|
|
329
|
+
"toggle": {
|
|
330
|
+
"type": "Function",
|
|
331
|
+
"desc": "Triggers component to toggle between show/hide",
|
|
332
|
+
"params": {
|
|
333
|
+
"evt": {
|
|
334
|
+
"type": "Object",
|
|
335
|
+
"required": false,
|
|
336
|
+
"desc": "JS event object"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"returns": null,
|
|
340
|
+
"addedIn": "v1.20.2"
|
|
282
341
|
}
|
|
283
342
|
}
|
|
284
343
|
}
|
package/dist/api/QItem.json
CHANGED
|
@@ -144,5 +144,58 @@
|
|
|
144
144
|
"default": {
|
|
145
145
|
"desc": "This is where QItem's content goes"
|
|
146
146
|
}
|
|
147
|
+
},
|
|
148
|
+
"events": {
|
|
149
|
+
"click": {
|
|
150
|
+
"desc": "Emitted when the component is clicked",
|
|
151
|
+
"params": {
|
|
152
|
+
"evt": {
|
|
153
|
+
"type": "Object",
|
|
154
|
+
"desc": "JS event object; If you are using route navigation ('to'/'replace'/'append' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler",
|
|
155
|
+
"required": true
|
|
156
|
+
},
|
|
157
|
+
"navigateFn": {
|
|
158
|
+
"type": "Function",
|
|
159
|
+
"desc": "Available ONLY if you are using route navigation ('to'/'replace'/'append' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
160
|
+
"addedIn": "v1.21.0",
|
|
161
|
+
"params": {
|
|
162
|
+
"opts": {
|
|
163
|
+
"type": "Object",
|
|
164
|
+
"desc": "Optional options",
|
|
165
|
+
"definition": {
|
|
166
|
+
"to": {
|
|
167
|
+
"type": [
|
|
168
|
+
"String",
|
|
169
|
+
"Object"
|
|
170
|
+
],
|
|
171
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
172
|
+
"examples": [
|
|
173
|
+
"/home/dashboard",
|
|
174
|
+
"{ name: 'my-route-name' }"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"replace": {
|
|
178
|
+
"type": "Boolean",
|
|
179
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop"
|
|
180
|
+
},
|
|
181
|
+
"append": {
|
|
182
|
+
"type": "Boolean",
|
|
183
|
+
"desc": "Equivalent to Vue Router <router-link> 'append' property",
|
|
184
|
+
"default": "Tab's 'append' property"
|
|
185
|
+
},
|
|
186
|
+
"returnRouterError": {
|
|
187
|
+
"type": "Boolean",
|
|
188
|
+
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"returns": {
|
|
194
|
+
"type": "Promise<any>",
|
|
195
|
+
"desc": "Returns the router's navigation promise"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
147
200
|
}
|
|
148
201
|
}
|
package/dist/api/QRating.json
CHANGED
|
@@ -94,6 +94,19 @@
|
|
|
94
94
|
"category": "content",
|
|
95
95
|
"addedIn": "v1.7.4"
|
|
96
96
|
},
|
|
97
|
+
"icon-aria-label": {
|
|
98
|
+
"type": [
|
|
99
|
+
"String",
|
|
100
|
+
"Array"
|
|
101
|
+
],
|
|
102
|
+
"desc": "Label to be set on aria-label for Icon; If an array is provided each rating value will use the corresponding aria-label in the array (0 based); If string value is provided the rating value will be appended; If not provided the name of the icon will be used",
|
|
103
|
+
"examples": [
|
|
104
|
+
"Rating",
|
|
105
|
+
"[\"Bad\", \"Normal\", \"Good\"]"
|
|
106
|
+
],
|
|
107
|
+
"category": "accessibility",
|
|
108
|
+
"addedIn": "v1.21.0"
|
|
109
|
+
},
|
|
97
110
|
"color": {
|
|
98
111
|
"type": [
|
|
99
112
|
"String",
|
package/dist/api/QRouteTab.json
CHANGED
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
},
|
|
190
190
|
"navigateFn": {
|
|
191
191
|
"type": "Function",
|
|
192
|
-
"desc": "When you need to control the time at which the tab should trigger the route navigation then set 'evt.navigate' to false and call this function; Useful if you have async work to be done before the actual route navigation",
|
|
192
|
+
"desc": "When you need to control the time at which the tab should trigger the route navigation then set 'evt.navigate' to false and call this function at your convenience; Useful if you have async work to be done before the actual route navigation or you want to navigate elsewhere",
|
|
193
193
|
"params": {
|
|
194
194
|
"to": {
|
|
195
195
|
"type": [
|
|
@@ -214,7 +214,11 @@
|
|
|
214
214
|
"default": "Tab's 'replace' property"
|
|
215
215
|
}
|
|
216
216
|
},
|
|
217
|
-
"returns":
|
|
217
|
+
"returns": {
|
|
218
|
+
"type": "Promise<any>",
|
|
219
|
+
"desc": "Returns the router's navigation promise",
|
|
220
|
+
"addedIn": "v1.21.0"
|
|
221
|
+
}
|
|
218
222
|
}
|
|
219
223
|
},
|
|
220
224
|
"addedIn": "v1.13.0"
|
package/dist/api/QTable.json
CHANGED
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
"Number",
|
|
104
104
|
"String"
|
|
105
105
|
],
|
|
106
|
-
"desc": "Size in pixels of the sticky header (if using one); A correct value will improve scroll precision",
|
|
106
|
+
"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",
|
|
107
107
|
"default": "0",
|
|
108
108
|
"examples": [
|
|
109
109
|
"virtual-scroll-sticky-size-start=\"48\""
|
|
110
110
|
],
|
|
111
|
-
"category": "virtual-scroll",
|
|
111
|
+
"category": "virtual-scroll|behavior",
|
|
112
112
|
"addedIn": "v1.2.0"
|
|
113
113
|
},
|
|
114
114
|
"virtual-scroll-sticky-size-end": {
|
|
@@ -150,34 +150,25 @@ const map = {
|
|
|
150
150
|
"Platform": "src/plugins/Platform.js",
|
|
151
151
|
"Screen": "src/plugins/Screen.js",
|
|
152
152
|
"SessionStorage": "src/plugins/SessionStorage.js",
|
|
153
|
-
"cache": "src/utils/cache.js",
|
|
154
153
|
"clone": "src/utils/clone.js",
|
|
155
154
|
"colors": "src/utils/colors.js",
|
|
156
155
|
"copyToClipboard": "src/utils/copy-to-clipboard.js",
|
|
157
|
-
"datePersian": "src/utils/date-persian.js",
|
|
158
156
|
"date": "src/utils/date.js",
|
|
159
157
|
"debounce": "src/utils/debounce.js",
|
|
160
158
|
"dom": "src/utils/dom.js",
|
|
161
159
|
"event": "src/utils/event.js",
|
|
162
160
|
"exportFile": "src/utils/export-file.js",
|
|
163
161
|
"extend": "src/utils/extend.js",
|
|
164
|
-
"focusManager": "src/utils/focus-manager.js",
|
|
165
162
|
"format": "src/utils/format.js",
|
|
166
163
|
"frameDebounce": "src/utils/frame-debounce.js",
|
|
167
|
-
"
|
|
168
|
-
"keyComposition": "src/utils/key-composition.js",
|
|
164
|
+
"is": "src/utils/is.js",
|
|
169
165
|
"morph": "src/utils/morph.js",
|
|
170
166
|
"openURL": "src/utils/open-url.js",
|
|
171
167
|
"patterns": "src/utils/patterns.js",
|
|
172
|
-
"
|
|
173
|
-
"router": "src/utils/router.js",
|
|
168
|
+
"runSequentialPromises": "src/utils/run-sequential-promises.js",
|
|
174
169
|
"scroll": "src/utils/scroll.js",
|
|
175
|
-
"selection": "src/utils/selection.js",
|
|
176
|
-
"slot": "src/utils/slot.js",
|
|
177
170
|
"throttle": "src/utils/throttle.js",
|
|
178
|
-
"
|
|
179
|
-
"uid": "src/utils/uid.js",
|
|
180
|
-
"vm": "src/utils/vm.js"
|
|
171
|
+
"uid": "src/utils/uid.js"
|
|
181
172
|
}
|
|
182
173
|
|
|
183
174
|
module.exports = function (importName) {
|