quasar 1.20.2 → 1.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/QBreadcrumbsEl.json +53 -0
- package/dist/api/QBtn.json +42 -5
- package/dist/api/QBtnDropdown.json +1 -1
- package/dist/api/QChip.json +1 -1
- package/dist/api/QDialog.json +6 -0
- package/dist/api/QExpansionItem.json +1 -1
- package/dist/api/QItem.json +53 -0
- package/dist/api/QRating.json +13 -0
- package/dist/api/QRouteTab.json +6 -2
- package/dist/api/QTree.json +6 -0
- package/dist/api/TouchPan.json +0 -4
- package/dist/babel-transforms/imports.js +2 -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 +1 -1
- package/dist/lang/az-latn.umd.min.js +1 -1
- package/dist/lang/bg.umd.min.js +1 -1
- package/dist/lang/ca.umd.min.js +1 -1
- package/dist/lang/cs.umd.min.js +1 -1
- package/dist/lang/da.umd.min.js +1 -1
- package/dist/lang/de.umd.min.js +1 -1
- package/dist/lang/el.umd.min.js +1 -1
- package/dist/lang/en-gb.umd.min.js +1 -1
- package/dist/lang/en-us.umd.min.js +1 -1
- package/dist/lang/eo.umd.min.js +1 -1
- package/dist/lang/es.umd.min.js +1 -1
- package/dist/lang/et.umd.min.js +1 -1
- package/dist/lang/eu.umd.min.js +1 -1
- package/dist/lang/fa-ir.umd.min.js +1 -1
- package/dist/lang/fa.umd.min.js +1 -1
- package/dist/lang/fi.umd.min.js +1 -1
- package/dist/lang/fr.umd.min.js +1 -1
- package/dist/lang/gn.umd.min.js +1 -1
- package/dist/lang/he.umd.min.js +1 -1
- package/dist/lang/hr.umd.min.js +1 -1
- package/dist/lang/hu.umd.min.js +1 -1
- package/dist/lang/id.umd.min.js +1 -1
- package/dist/lang/is.umd.min.js +1 -1
- package/dist/lang/it.umd.min.js +1 -1
- package/dist/lang/ja.umd.min.js +1 -1
- package/dist/lang/km.umd.min.js +1 -1
- package/dist/lang/ko-kr.umd.min.js +1 -1
- package/dist/lang/kur-ckb.umd.min.js +1 -1
- package/dist/lang/kz.umd.min.js +1 -1
- package/dist/lang/lu.umd.min.js +1 -1
- package/dist/lang/lv.umd.min.js +1 -1
- package/dist/lang/ml.umd.min.js +1 -1
- package/dist/lang/mm.umd.min.js +1 -1
- package/dist/lang/ms.umd.min.js +1 -1
- package/dist/lang/my.umd.min.js +1 -1
- package/dist/lang/nb-no.umd.min.js +1 -1
- package/dist/lang/nl.umd.min.js +2 -2
- package/dist/lang/pl.umd.min.js +1 -1
- package/dist/lang/pt-br.umd.min.js +1 -1
- package/dist/lang/pt.umd.min.js +1 -1
- package/dist/lang/ro.umd.min.js +1 -1
- package/dist/lang/ru.umd.min.js +1 -1
- package/dist/lang/sk.umd.min.js +1 -1
- package/dist/lang/sl.umd.min.js +1 -1
- package/dist/lang/sm.umd.min.js +1 -1
- package/dist/lang/sr.umd.min.js +1 -1
- package/dist/lang/sv.umd.min.js +1 -1
- package/dist/lang/ta.umd.min.js +1 -1
- package/dist/lang/th.umd.min.js +1 -1
- package/dist/lang/tr.umd.min.js +1 -1
- package/dist/lang/ug.umd.min.js +1 -1
- package/dist/lang/uk.umd.min.js +1 -1
- package/dist/lang/uz-Cyrl.umd.min.js +1 -1
- package/dist/lang/uz-Latn.umd.min.js +1 -1
- package/dist/lang/vi.umd.min.js +1 -1
- package/dist/lang/zh-hans.umd.min.js +1 -1
- package/dist/lang/zh-hant.umd.min.js +1 -1
- 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 +1115 -904
- package/dist/quasar.umd.min.js +2 -2
- package/dist/quasar.umd.modern.js +1070 -891
- package/dist/quasar.umd.modern.min.js +2 -2
- package/dist/types/index.d.ts +12 -0
- package/dist/types/utils/run-sequential-promises.d.ts +1 -1
- package/dist/vetur/quasar-attributes.json +12 -0
- package/dist/vetur/quasar-tags.json +4 -1
- package/dist/web-types/web-types.json +76 -10
- package/lang/nl.js +2 -2
- 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 +2 -2
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -1
- 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 +2 -2
- package/src/components/chip/QChip.json +1 -1
- package/src/components/circular-progress/QCircularProgress.js +1 -1
- package/src/components/color/QColor.js +1 -1
- package/src/components/date/QDate.js +3 -3
- package/src/components/dialog/QDialog.js +22 -7
- 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 +29 -14
- package/src/components/expansion-item/QExpansionItem.json +1 -1
- package/src/components/fab/QFab.js +2 -2
- 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 +3 -3
- 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 +16 -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 +2 -3
- 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 +3 -3
- 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 +1 -1
- 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 +55 -38
- package/src/components/tree/QTree.json +7 -0
- 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 +3 -3
- package/src/directives/TouchPan.js +11 -9
- package/src/directives/TouchPan.json +0 -5
- package/src/directives/TouchRepeat.js +5 -5
- package/src/directives/TouchSwipe.js +4 -4
- 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 +1 -1
- package/src/mixins/listeners.js +1 -1
- package/src/mixins/mask.js +2 -2
- 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/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/morph.js +3 -3
- 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 +1 -1
- package/src/utils.js +4 -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
|
}
|
package/dist/api/QChip.json
CHANGED
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": {
|
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/QTree.json
CHANGED
|
@@ -163,6 +163,12 @@
|
|
|
163
163
|
"desc": "Allows the tree to be set in accordion mode",
|
|
164
164
|
"category": "behavior"
|
|
165
165
|
},
|
|
166
|
+
"no-transition": {
|
|
167
|
+
"type": "Boolean",
|
|
168
|
+
"desc": "Turn off transition effects when expanding/collapsing nodes; Also enhances perf by a lot as a side-effect; Recommended for big trees",
|
|
169
|
+
"category": "behavior",
|
|
170
|
+
"addedIn": "v1.21.1"
|
|
171
|
+
},
|
|
166
172
|
"filter": {
|
|
167
173
|
"type": "String",
|
|
168
174
|
"desc": "The text value to be used for filtering nodes",
|
package/dist/api/TouchPan.json
CHANGED
|
@@ -148,10 +148,6 @@
|
|
|
148
148
|
"type": "Boolean",
|
|
149
149
|
"desc": "Calls event.preventDefault() for touch events"
|
|
150
150
|
},
|
|
151
|
-
"mightPrevent": {
|
|
152
|
-
"type": "Boolean",
|
|
153
|
-
"desc": "Required when you might call event.preventDefault() in your handler for touch events"
|
|
154
|
-
},
|
|
155
151
|
"capture": {
|
|
156
152
|
"type": "Boolean",
|
|
157
153
|
"desc": "Use capture for touchstart event"
|
|
@@ -150,35 +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
|
-
"positionEngine": "src/utils/position-engine.js",
|
|
173
|
-
"router": "src/utils/router.js",
|
|
174
168
|
"runSequentialPromises": "src/utils/run-sequential-promises.js",
|
|
175
169
|
"scroll": "src/utils/scroll.js",
|
|
176
|
-
"selection": "src/utils/selection.js",
|
|
177
|
-
"slot": "src/utils/slot.js",
|
|
178
170
|
"throttle": "src/utils/throttle.js",
|
|
179
|
-
"
|
|
180
|
-
"uid": "src/utils/uid.js",
|
|
181
|
-
"vm": "src/utils/vm.js"
|
|
171
|
+
"uid": "src/utils/uid.js"
|
|
182
172
|
}
|
|
183
173
|
|
|
184
174
|
module.exports = function (importName) {
|