quasar 2.3.3 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/Dialog.json +1 -1
- package/dist/api/Loading.json +2 -6
- package/dist/api/QBreadcrumbsEl.json +31 -10
- package/dist/api/QBtn.json +30 -14
- package/dist/api/QBtnDropdown.json +31 -15
- package/dist/api/QBtnToggle.json +3 -0
- package/dist/api/QChatMessage.json +4 -12
- package/dist/api/QExpansionItem.json +34 -12
- package/dist/api/QFab.json +33 -2
- package/dist/api/QFabAction.json +8 -0
- package/dist/api/QField.json +1 -0
- package/dist/api/QFile.json +5 -2
- package/dist/api/QForm.json +1 -1
- package/dist/api/QInput.json +1 -0
- package/dist/api/QItem.json +31 -10
- package/dist/api/QOptionGroup.json +74 -4
- package/dist/api/QPopupProxy.json +3 -2
- package/dist/api/QRange.json +592 -107
- package/dist/api/QRating.json +3 -1
- package/dist/api/QRouteTab.json +31 -11
- package/dist/api/QScrollArea.json +3 -2
- package/dist/api/QSelect.json +9 -16
- package/dist/api/QSlider.json +504 -39
- package/dist/api/QTree.json +8 -4
- package/dist/api/QUploader.json +16 -2
- package/dist/api/QVirtualScroll.json +3 -2
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.css +275 -191
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +347 -270
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +275 -217
- package/dist/quasar.umd.js +16598 -16283
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/transforms/loader-asset-urls.json +20 -0
- package/dist/types/api/slider.d.ts +46 -0
- package/dist/types/api/validation.d.ts +4 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/composables.d.ts +3 -3
- package/dist/types/index.d.ts +611 -140
- package/dist/vetur/quasar-attributes.json +251 -83
- package/dist/vetur/quasar-tags.json +59 -17
- package/dist/web-types/web-types.json +580 -152
- package/package.json +1 -1
- package/src/api.extends.json +0 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
- package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
- package/src/components/btn/QBtn.js +5 -5
- package/src/components/btn/use-btn.js +21 -21
- package/src/components/btn/use-btn.json +22 -13
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
- package/src/components/btn-toggle/QBtnToggle.json +3 -0
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/chip/QChip.json +1 -2
- package/src/components/color/QColor.js +32 -26
- package/src/components/color/QColor.sass +10 -23
- package/src/components/date/QDate.sass +2 -0
- package/src/components/drawer/QDrawer.js +18 -15
- package/src/components/editor/QEditor.js +1 -1
- package/src/components/editor/QEditor.sass +10 -1
- package/src/components/expansion-item/QExpansionItem.js +4 -1
- package/src/components/expansion-item/QExpansionItem.json +2 -1
- package/src/components/fab/QFab.js +18 -12
- package/src/components/fab/QFab.json +36 -1
- package/src/components/fab/QFab.sass +1 -1
- package/src/components/fab/QFabAction.js +14 -7
- package/src/components/fab/QFabAction.json +10 -0
- package/src/components/file/QFile.js +12 -5
- package/src/components/file/QFile.json +6 -6
- package/src/components/file/QFile.sass +4 -2
- package/src/components/footer/QFooter.js +1 -1
- package/src/components/form/QForm.json +2 -3
- package/src/components/header/QHeader.js +1 -1
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
- package/src/components/item/QItem.js +2 -3
- package/src/components/linear-progress/QLinearProgress.js +3 -2
- package/src/components/option-group/QOptionGroup.js +3 -0
- package/src/components/option-group/QOptionGroup.json +48 -2
- package/src/components/parallax/QParallax.js +4 -2
- package/src/components/popup-edit/QPopupEdit.js +2 -5
- package/src/components/popup-proxy/QPopupProxy.json +2 -1
- package/src/components/radio/QRadio.js +2 -7
- package/src/components/range/QRange.js +103 -222
- package/src/components/range/QRange.json +11 -121
- package/src/components/rating/QRating.json +1 -1
- package/src/components/scroll-area/QScrollArea.js +3 -1
- package/src/components/scroll-area/QScrollArea.json +5 -6
- package/src/components/select/QSelect.js +4 -1
- package/src/components/select/QSelect.json +17 -4
- package/src/components/slider/QSlider.js +46 -132
- package/src/components/slider/QSlider.json +1 -121
- package/src/components/slider/QSlider.sass +198 -132
- package/src/components/slider/use-slider.js +453 -109
- package/src/components/slider/use-slider.json +546 -0
- package/src/components/stepper/QStepper.js +3 -3
- package/src/components/stepper/QStepper.sass +24 -26
- package/src/components/table/QTable.js +27 -47
- package/src/components/tabs/QRouteTab.js +1 -2
- package/src/components/tabs/QRouteTab.json +0 -7
- package/src/components/tabs/QTabs.js +71 -20
- package/src/components/tabs/use-tab.js +26 -13
- package/src/components/tree/QTree.js +14 -12
- package/src/components/tree/QTree.json +12 -12
- package/src/components/tree/QTree.sass +45 -41
- package/src/components/uploader/QUploader.json +14 -2
- package/src/components/uploader/uploader-core.js +16 -9
- package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
- package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
- package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
- package/src/components/virtual-scroll/use-virtual-scroll.json +2 -5
- package/src/composables/private/use-field.js +5 -5
- package/src/composables/private/use-file.js +20 -5
- package/src/composables/private/use-form.js +2 -3
- package/src/composables/private/use-fullscreen.js +15 -4
- package/src/composables/private/use-router-link.js +44 -23
- package/src/composables/private/use-router-link.json +26 -10
- package/src/composables/private/use-split-attrs.js +4 -4
- package/src/composables/private/use-validate.js +21 -15
- package/src/composables/private/use-validate.json +1 -0
- package/src/css/core/helpers.sass +3 -0
- package/src/css/core/positioning.sass +5 -0
- package/src/css/variables.sass +4 -6
- package/src/directives/ScrollFire.js +1 -0
- package/src/icon-set.js +2 -4
- package/src/plugins/AppFullscreen.js +70 -53
- package/src/plugins/AppVisibility.js +2 -3
- package/src/plugins/BottomSheet.js +3 -5
- package/src/plugins/Dialog.js +3 -5
- package/src/plugins/Dialog.json +2 -3
- package/src/plugins/LoadingBar.js +17 -18
- package/src/plugins/Notify.js +296 -295
- package/src/plugins/Platform.js +14 -14
- package/src/utils/date.js +4 -4
- package/src/utils/dom.js +2 -2
- package/src/utils/open-url.js +2 -2
- package/src/utils/patterns.js +1 -0
- package/src/utils/private/define-reactive-plugin.js +10 -8
- package/src/utils/private/global-dialog.js +6 -8
- package/src/utils/private/inject-obj-prop.js +13 -0
- package/src/utils/private/is.js +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -254,7 +254,6 @@ export interface Loading {
|
|
|
254
254
|
message?: string;
|
|
255
255
|
/**
|
|
256
256
|
* Render the message as HTML; This can lead to XSS attacks so make sure that you sanitize the message first
|
|
257
|
-
* Default value: false
|
|
258
257
|
*/
|
|
259
258
|
html?: boolean;
|
|
260
259
|
/**
|
|
@@ -1383,25 +1382,33 @@ export interface QBreadcrumbs
|
|
|
1383
1382
|
|
|
1384
1383
|
export interface QBreadcrumbsElProps {
|
|
1385
1384
|
/**
|
|
1386
|
-
* Equivalent to Vue Router <router-link> 'to' property
|
|
1385
|
+
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
1387
1386
|
*/
|
|
1388
1387
|
to?: string | LooseDictionary | undefined;
|
|
1389
1388
|
/**
|
|
1390
|
-
* Equivalent to Vue Router <router-link> 'exact' property
|
|
1389
|
+
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
1391
1390
|
*/
|
|
1392
1391
|
exact?: boolean | undefined;
|
|
1393
1392
|
/**
|
|
1394
|
-
* Equivalent to Vue Router <router-link> 'replace' property
|
|
1393
|
+
* Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used
|
|
1395
1394
|
*/
|
|
1396
1395
|
replace?: boolean | undefined;
|
|
1397
1396
|
/**
|
|
1398
|
-
* Equivalent to Vue Router <router-link> 'active-class' property
|
|
1397
|
+
* Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used
|
|
1399
1398
|
*/
|
|
1400
1399
|
activeClass?: string | undefined;
|
|
1401
1400
|
/**
|
|
1402
|
-
* Equivalent to Vue Router <router-link> 'active-class' property
|
|
1401
|
+
* Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used
|
|
1403
1402
|
*/
|
|
1404
1403
|
exactActiveClass?: string | undefined;
|
|
1404
|
+
/**
|
|
1405
|
+
* Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props
|
|
1406
|
+
*/
|
|
1407
|
+
href?: string | undefined;
|
|
1408
|
+
/**
|
|
1409
|
+
* Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props
|
|
1410
|
+
*/
|
|
1411
|
+
target?: string | undefined;
|
|
1405
1412
|
/**
|
|
1406
1413
|
* Put component in disabled mode
|
|
1407
1414
|
*/
|
|
@@ -1440,28 +1447,32 @@ export interface QBtnDropdownProps {
|
|
|
1440
1447
|
/**
|
|
1441
1448
|
* Controls Menu show/hidden state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive
|
|
1442
1449
|
*/
|
|
1443
|
-
modelValue
|
|
1450
|
+
modelValue?: boolean;
|
|
1444
1451
|
/**
|
|
1445
1452
|
* Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)
|
|
1446
1453
|
*/
|
|
1447
1454
|
size?: string | undefined;
|
|
1448
1455
|
/**
|
|
1449
|
-
* Define the button
|
|
1456
|
+
* 1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag
|
|
1450
1457
|
* Default value: button
|
|
1451
1458
|
*/
|
|
1452
|
-
type?:
|
|
1459
|
+
type?: string | undefined;
|
|
1453
1460
|
/**
|
|
1454
|
-
* Equivalent to Vue Router <router-link> 'to' property
|
|
1461
|
+
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
1455
1462
|
*/
|
|
1456
1463
|
to?: string | LooseDictionary | undefined;
|
|
1457
1464
|
/**
|
|
1458
|
-
* Equivalent to Vue Router <router-link> 'replace' property
|
|
1465
|
+
* Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used
|
|
1459
1466
|
*/
|
|
1460
1467
|
replace?: boolean | undefined;
|
|
1461
1468
|
/**
|
|
1462
|
-
*
|
|
1469
|
+
* Native <a> link href attribute; Has priority over the 'to' and 'replace' props
|
|
1463
1470
|
*/
|
|
1464
|
-
|
|
1471
|
+
href?: string | undefined;
|
|
1472
|
+
/**
|
|
1473
|
+
* Native <a> link target attribute; Use it only with 'to' or 'href' props
|
|
1474
|
+
*/
|
|
1475
|
+
target?: string | undefined;
|
|
1465
1476
|
/**
|
|
1466
1477
|
* The text that will be shown on the button
|
|
1467
1478
|
*/
|
|
@@ -1796,7 +1807,10 @@ export interface QBtnToggleProps {
|
|
|
1796
1807
|
* Slot name to use for this button content; Useful for customizing content or even add tooltips
|
|
1797
1808
|
*/
|
|
1798
1809
|
slot?: string;
|
|
1799
|
-
|
|
1810
|
+
/**
|
|
1811
|
+
* Any other QBtn props (including class and style)
|
|
1812
|
+
*/
|
|
1813
|
+
[props: string]: any;
|
|
1800
1814
|
}[];
|
|
1801
1815
|
/**
|
|
1802
1816
|
* Color name for component from the Quasar Color Palette
|
|
@@ -1904,6 +1918,10 @@ export interface QBtnToggleSlots {
|
|
|
1904
1918
|
* Suggestions: QTooltip, QBadge
|
|
1905
1919
|
*/
|
|
1906
1920
|
default: () => VNode[];
|
|
1921
|
+
/**
|
|
1922
|
+
* Any other dynamic slots to be used with 'slot' property of the 'options' prop
|
|
1923
|
+
*/
|
|
1924
|
+
[key: string]: () => VNode[];
|
|
1907
1925
|
}
|
|
1908
1926
|
|
|
1909
1927
|
export interface QBtnToggle extends ComponentPublicInstance<QBtnToggleProps> {}
|
|
@@ -1914,22 +1932,26 @@ export interface QBtnProps {
|
|
|
1914
1932
|
*/
|
|
1915
1933
|
size?: string | undefined;
|
|
1916
1934
|
/**
|
|
1917
|
-
* Define the button
|
|
1935
|
+
* 1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag
|
|
1918
1936
|
* Default value: button
|
|
1919
1937
|
*/
|
|
1920
|
-
type?:
|
|
1938
|
+
type?: string | undefined;
|
|
1921
1939
|
/**
|
|
1922
|
-
* Equivalent to Vue Router <router-link> 'to' property
|
|
1940
|
+
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
1923
1941
|
*/
|
|
1924
1942
|
to?: string | LooseDictionary | undefined;
|
|
1925
1943
|
/**
|
|
1926
|
-
* Equivalent to Vue Router <router-link> 'replace' property
|
|
1944
|
+
* Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used
|
|
1927
1945
|
*/
|
|
1928
1946
|
replace?: boolean | undefined;
|
|
1929
1947
|
/**
|
|
1930
|
-
*
|
|
1948
|
+
* Native <a> link href attribute; Has priority over the 'to' and 'replace' props
|
|
1931
1949
|
*/
|
|
1932
|
-
|
|
1950
|
+
href?: string | undefined;
|
|
1951
|
+
/**
|
|
1952
|
+
* Native <a> link target attribute; Use it only with 'to' or 'href' props
|
|
1953
|
+
*/
|
|
1954
|
+
target?: string | undefined;
|
|
1933
1955
|
/**
|
|
1934
1956
|
* The text that will be shown on the button
|
|
1935
1957
|
*/
|
|
@@ -2474,22 +2496,18 @@ export interface QChatMessageProps {
|
|
|
2474
2496
|
size?: string | undefined;
|
|
2475
2497
|
/**
|
|
2476
2498
|
* Render the label as HTML; This can lead to XSS attacks so make sure that you sanitize the message first
|
|
2477
|
-
* Default value: false
|
|
2478
2499
|
*/
|
|
2479
2500
|
labelHtml?: boolean | undefined;
|
|
2480
2501
|
/**
|
|
2481
2502
|
* Render the name as HTML; This can lead to XSS attacks so make sure that you sanitize the message first
|
|
2482
|
-
* Default value: false
|
|
2483
2503
|
*/
|
|
2484
2504
|
nameHtml?: boolean | undefined;
|
|
2485
2505
|
/**
|
|
2486
2506
|
* Render the text as HTML; This can lead to XSS attacks so make sure that you sanitize the message first
|
|
2487
|
-
* Default value: false
|
|
2488
2507
|
*/
|
|
2489
2508
|
textHtml?: boolean | undefined;
|
|
2490
2509
|
/**
|
|
2491
2510
|
* Render the stamp as HTML; This can lead to XSS attacks so make sure that you sanitize the message first
|
|
2492
|
-
* Default value: false
|
|
2493
2511
|
*/
|
|
2494
2512
|
stampHtml?: boolean | undefined;
|
|
2495
2513
|
}
|
|
@@ -3746,25 +3764,33 @@ export interface QEditor extends ComponentPublicInstance<QEditorProps> {
|
|
|
3746
3764
|
|
|
3747
3765
|
export interface QExpansionItemProps {
|
|
3748
3766
|
/**
|
|
3749
|
-
* Equivalent to Vue Router <router-link> 'to' property
|
|
3767
|
+
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
3750
3768
|
*/
|
|
3751
3769
|
to?: string | LooseDictionary | undefined;
|
|
3752
3770
|
/**
|
|
3753
|
-
* Equivalent to Vue Router <router-link> 'exact' property
|
|
3771
|
+
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
3754
3772
|
*/
|
|
3755
3773
|
exact?: boolean | undefined;
|
|
3756
3774
|
/**
|
|
3757
|
-
* Equivalent to Vue Router <router-link> 'replace' property
|
|
3775
|
+
* Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used
|
|
3758
3776
|
*/
|
|
3759
3777
|
replace?: boolean | undefined;
|
|
3760
3778
|
/**
|
|
3761
|
-
* Equivalent to Vue Router <router-link> 'active-class' property
|
|
3779
|
+
* Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used
|
|
3762
3780
|
*/
|
|
3763
3781
|
activeClass?: string | undefined;
|
|
3764
3782
|
/**
|
|
3765
|
-
* Equivalent to Vue Router <router-link> 'active-class' property
|
|
3783
|
+
* Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used
|
|
3766
3784
|
*/
|
|
3767
3785
|
exactActiveClass?: string | undefined;
|
|
3786
|
+
/**
|
|
3787
|
+
* Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props
|
|
3788
|
+
*/
|
|
3789
|
+
href?: string | undefined;
|
|
3790
|
+
/**
|
|
3791
|
+
* Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props
|
|
3792
|
+
*/
|
|
3793
|
+
target?: string | undefined;
|
|
3768
3794
|
/**
|
|
3769
3795
|
* Put component in disabled mode
|
|
3770
3796
|
*/
|
|
@@ -4067,6 +4093,36 @@ export interface QFabSlots {
|
|
|
4067
4093
|
* Slot specifically designed for a QTooltip
|
|
4068
4094
|
*/
|
|
4069
4095
|
tooltip: () => VNode[];
|
|
4096
|
+
/**
|
|
4097
|
+
* Slot for icon shown when FAB is closed; Suggestion: QIcon
|
|
4098
|
+
* @param scope
|
|
4099
|
+
*/
|
|
4100
|
+
icon: (scope: {
|
|
4101
|
+
/**
|
|
4102
|
+
* FAB is opened
|
|
4103
|
+
*/
|
|
4104
|
+
opened: boolean;
|
|
4105
|
+
}) => VNode[];
|
|
4106
|
+
/**
|
|
4107
|
+
* Slot for icon shown when FAB is opened; Suggestion: QIcon
|
|
4108
|
+
* @param scope
|
|
4109
|
+
*/
|
|
4110
|
+
"active-icon": (scope: {
|
|
4111
|
+
/**
|
|
4112
|
+
* FAB is opened
|
|
4113
|
+
*/
|
|
4114
|
+
opened: boolean;
|
|
4115
|
+
}) => VNode[];
|
|
4116
|
+
/**
|
|
4117
|
+
* Slot for label
|
|
4118
|
+
* @param scope
|
|
4119
|
+
*/
|
|
4120
|
+
label: (scope: {
|
|
4121
|
+
/**
|
|
4122
|
+
* FAB is opened
|
|
4123
|
+
*/
|
|
4124
|
+
opened: boolean;
|
|
4125
|
+
}) => VNode[];
|
|
4070
4126
|
}
|
|
4071
4127
|
|
|
4072
4128
|
export interface QFab extends ComponentPublicInstance<QFabProps> {
|
|
@@ -4189,6 +4245,14 @@ export interface QFabActionSlots {
|
|
|
4189
4245
|
* Suggestion for this slot: QTooltip
|
|
4190
4246
|
*/
|
|
4191
4247
|
default: () => VNode[];
|
|
4248
|
+
/**
|
|
4249
|
+
* Slot for icon; Suggestion: QIcon
|
|
4250
|
+
*/
|
|
4251
|
+
icon: () => VNode[];
|
|
4252
|
+
/**
|
|
4253
|
+
* Slot for label
|
|
4254
|
+
*/
|
|
4255
|
+
label: () => VNode[];
|
|
4192
4256
|
}
|
|
4193
4257
|
|
|
4194
4258
|
export interface QFabAction extends ComponentPublicInstance<QFabActionProps> {
|
|
@@ -4219,7 +4283,7 @@ export interface QFieldProps {
|
|
|
4219
4283
|
/**
|
|
4220
4284
|
* Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules
|
|
4221
4285
|
*/
|
|
4222
|
-
rules?:
|
|
4286
|
+
rules?: ValidationRule[] | undefined;
|
|
4223
4287
|
/**
|
|
4224
4288
|
* By default a change in the rules does not trigger a new validation until the model changes; If set to true then a change in the rules will trigger a validation; Has a performance penalty, so use it only when you really need it
|
|
4225
4289
|
*/
|
|
@@ -4531,7 +4595,7 @@ export interface QFileProps {
|
|
|
4531
4595
|
/**
|
|
4532
4596
|
* Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules
|
|
4533
4597
|
*/
|
|
4534
|
-
rules?:
|
|
4598
|
+
rules?: ValidationRule[] | undefined;
|
|
4535
4599
|
/**
|
|
4536
4600
|
* By default a change in the rules does not trigger a new validation until the model changes; If set to true then a change in the rules will trigger a validation; Has a performance penalty, so use it only when you really need it
|
|
4537
4601
|
*/
|
|
@@ -4775,7 +4839,7 @@ export interface QFileSlots {
|
|
|
4775
4839
|
/**
|
|
4776
4840
|
* Reference to the QFile component
|
|
4777
4841
|
*/
|
|
4778
|
-
ref:
|
|
4842
|
+
ref: QFile;
|
|
4779
4843
|
}) => VNode[];
|
|
4780
4844
|
/**
|
|
4781
4845
|
* Override default selection slot; Suggestion: QChip
|
|
@@ -4789,7 +4853,7 @@ export interface QFileSlots {
|
|
|
4789
4853
|
/**
|
|
4790
4854
|
* Reference to the QFile component
|
|
4791
4855
|
*/
|
|
4792
|
-
ref:
|
|
4856
|
+
ref: QFile;
|
|
4793
4857
|
}) => VNode[];
|
|
4794
4858
|
}
|
|
4795
4859
|
|
|
@@ -4911,7 +4975,7 @@ export interface QFormProps {
|
|
|
4911
4975
|
* Emitted after a validation was triggered and at least one of the inner Quasar components models are NOT valid
|
|
4912
4976
|
* @param ref Vue reference to the first component that triggered the validation error
|
|
4913
4977
|
*/
|
|
4914
|
-
onValidationError?: (ref:
|
|
4978
|
+
onValidationError?: (ref: Component) => void;
|
|
4915
4979
|
}
|
|
4916
4980
|
|
|
4917
4981
|
export interface QFormSlots {
|
|
@@ -5352,7 +5416,7 @@ export interface QInputProps {
|
|
|
5352
5416
|
/**
|
|
5353
5417
|
* Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules
|
|
5354
5418
|
*/
|
|
5355
|
-
rules?:
|
|
5419
|
+
rules?: ValidationRule[] | undefined;
|
|
5356
5420
|
/**
|
|
5357
5421
|
* By default a change in the rules does not trigger a new validation until the model changes; If set to true then a change in the rules will trigger a validation; Has a performance penalty, so use it only when you really need it
|
|
5358
5422
|
*/
|
|
@@ -5671,25 +5735,33 @@ export interface QIntersection
|
|
|
5671
5735
|
|
|
5672
5736
|
export interface QItemProps {
|
|
5673
5737
|
/**
|
|
5674
|
-
* Equivalent to Vue Router <router-link> 'to' property
|
|
5738
|
+
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
5675
5739
|
*/
|
|
5676
5740
|
to?: string | LooseDictionary | undefined;
|
|
5677
5741
|
/**
|
|
5678
|
-
* Equivalent to Vue Router <router-link> 'exact' property
|
|
5742
|
+
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
5679
5743
|
*/
|
|
5680
5744
|
exact?: boolean | undefined;
|
|
5681
5745
|
/**
|
|
5682
|
-
* Equivalent to Vue Router <router-link> 'replace' property
|
|
5746
|
+
* Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used
|
|
5683
5747
|
*/
|
|
5684
5748
|
replace?: boolean | undefined;
|
|
5685
5749
|
/**
|
|
5686
|
-
* Equivalent to Vue Router <router-link> 'active-class' property
|
|
5750
|
+
* Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used
|
|
5687
5751
|
*/
|
|
5688
5752
|
activeClass?: string | undefined;
|
|
5689
5753
|
/**
|
|
5690
|
-
* Equivalent to Vue Router <router-link> 'active-class' property
|
|
5754
|
+
* Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used
|
|
5691
5755
|
*/
|
|
5692
5756
|
exactActiveClass?: string | undefined;
|
|
5757
|
+
/**
|
|
5758
|
+
* Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props
|
|
5759
|
+
*/
|
|
5760
|
+
href?: string | undefined;
|
|
5761
|
+
/**
|
|
5762
|
+
* Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props
|
|
5763
|
+
*/
|
|
5764
|
+
target?: string | undefined;
|
|
5693
5765
|
/**
|
|
5694
5766
|
* Put component in disabled mode
|
|
5695
5767
|
*/
|
|
@@ -6355,7 +6427,10 @@ export interface QOptionGroupProps {
|
|
|
6355
6427
|
* If true, the option will be disabled
|
|
6356
6428
|
*/
|
|
6357
6429
|
disable?: boolean;
|
|
6358
|
-
|
|
6430
|
+
/**
|
|
6431
|
+
* Any other props from QToggle, QCheckbox, or QRadio
|
|
6432
|
+
*/
|
|
6433
|
+
[props: string]: any;
|
|
6359
6434
|
}[]
|
|
6360
6435
|
| undefined;
|
|
6361
6436
|
/**
|
|
@@ -6405,19 +6480,48 @@ export interface QOptionGroupProps {
|
|
|
6405
6480
|
export interface QOptionGroupSlots {
|
|
6406
6481
|
/**
|
|
6407
6482
|
* Generic slot for all labels
|
|
6408
|
-
* @param scope
|
|
6483
|
+
* @param scope The corresponding option entry from the 'options' prop
|
|
6409
6484
|
*/
|
|
6410
6485
|
label: (scope: {
|
|
6411
6486
|
/**
|
|
6412
|
-
*
|
|
6487
|
+
* Label to display along the component
|
|
6488
|
+
*/
|
|
6489
|
+
label: string;
|
|
6490
|
+
/**
|
|
6491
|
+
* Value of the option that will be used by the component model
|
|
6492
|
+
*/
|
|
6493
|
+
value: any;
|
|
6494
|
+
/**
|
|
6495
|
+
* If true, the option will be disabled
|
|
6496
|
+
*/
|
|
6497
|
+
disable?: boolean;
|
|
6498
|
+
/**
|
|
6499
|
+
* Any other props from QToggle, QCheckbox, or QRadio
|
|
6413
6500
|
*/
|
|
6414
|
-
|
|
6501
|
+
[props: string]: any;
|
|
6415
6502
|
}) => VNode[];
|
|
6416
6503
|
/**
|
|
6417
6504
|
* Slot to define the specific label for the option at '[name]' where name is a 0-based index; Overrides the generic 'label' slot if used
|
|
6418
|
-
* @param scope
|
|
6505
|
+
* @param scope The corresponding option entry from the 'options' prop
|
|
6419
6506
|
*/
|
|
6420
|
-
[key: `label-${string}`]: (scope: {
|
|
6507
|
+
[key: `label-${string}`]: (scope: {
|
|
6508
|
+
/**
|
|
6509
|
+
* Label to display along the component
|
|
6510
|
+
*/
|
|
6511
|
+
label: string;
|
|
6512
|
+
/**
|
|
6513
|
+
* Value of the option that will be used by the component model
|
|
6514
|
+
*/
|
|
6515
|
+
value: any;
|
|
6516
|
+
/**
|
|
6517
|
+
* If true, the option will be disabled
|
|
6518
|
+
*/
|
|
6519
|
+
disable?: boolean;
|
|
6520
|
+
/**
|
|
6521
|
+
* Any other props from QToggle, QCheckbox, or QRadio
|
|
6522
|
+
*/
|
|
6523
|
+
[props: string]: any;
|
|
6524
|
+
}) => VNode[];
|
|
6421
6525
|
}
|
|
6422
6526
|
|
|
6423
6527
|
export interface QOptionGroup
|
|
@@ -7168,35 +7272,31 @@ export interface QRangeProps {
|
|
|
7168
7272
|
*/
|
|
7169
7273
|
name?: string | undefined;
|
|
7170
7274
|
/**
|
|
7171
|
-
*
|
|
7172
|
-
*/
|
|
7173
|
-
modelValue:
|
|
7174
|
-
| {
|
|
7175
|
-
/**
|
|
7176
|
-
* Model value for left thumb
|
|
7177
|
-
*/
|
|
7178
|
-
min?: number | null;
|
|
7179
|
-
/**
|
|
7180
|
-
* Model value for right thumb
|
|
7181
|
-
*/
|
|
7182
|
-
max?: number | null;
|
|
7183
|
-
}
|
|
7184
|
-
| null
|
|
7185
|
-
| undefined;
|
|
7186
|
-
/**
|
|
7187
|
-
* Minimum value of the model
|
|
7275
|
+
* Minimum value of the model; Set track's minimum value
|
|
7188
7276
|
*/
|
|
7189
7277
|
min?: number | undefined;
|
|
7190
7278
|
/**
|
|
7191
|
-
* Maximum value of the model
|
|
7279
|
+
* Maximum value of the model; Set track's maximum value
|
|
7192
7280
|
* Default value: 100
|
|
7193
7281
|
*/
|
|
7194
7282
|
max?: number | undefined;
|
|
7283
|
+
/**
|
|
7284
|
+
* Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop
|
|
7285
|
+
*/
|
|
7286
|
+
innerMin?: number | undefined;
|
|
7287
|
+
/**
|
|
7288
|
+
* Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop
|
|
7289
|
+
*/
|
|
7290
|
+
innerMax?: number | undefined;
|
|
7195
7291
|
/**
|
|
7196
7292
|
* Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity
|
|
7197
7293
|
* Default value: 1
|
|
7198
7294
|
*/
|
|
7199
7295
|
step?: number | undefined;
|
|
7296
|
+
/**
|
|
7297
|
+
* Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop
|
|
7298
|
+
*/
|
|
7299
|
+
snap?: boolean | undefined;
|
|
7200
7300
|
/**
|
|
7201
7301
|
* Work in reverse (changes direction)
|
|
7202
7302
|
*/
|
|
@@ -7206,67 +7306,92 @@ export interface QRangeProps {
|
|
|
7206
7306
|
*/
|
|
7207
7307
|
vertical?: boolean | undefined;
|
|
7208
7308
|
/**
|
|
7209
|
-
*
|
|
7309
|
+
* Color name for component from the Quasar Color Palette
|
|
7210
7310
|
*/
|
|
7211
|
-
|
|
7311
|
+
color?: string | undefined;
|
|
7212
7312
|
/**
|
|
7213
|
-
*
|
|
7313
|
+
* Color name for the track (can be 'transparent' too) from the Quasar Color Palette
|
|
7214
7314
|
*/
|
|
7215
|
-
|
|
7315
|
+
trackColor?: string | undefined;
|
|
7216
7316
|
/**
|
|
7217
|
-
*
|
|
7317
|
+
* Apply a pattern image on the track
|
|
7218
7318
|
*/
|
|
7219
|
-
|
|
7319
|
+
trackImg?: string | undefined;
|
|
7320
|
+
/**
|
|
7321
|
+
* Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette
|
|
7322
|
+
*/
|
|
7323
|
+
innerTrackColor?: string | undefined;
|
|
7220
7324
|
/**
|
|
7221
|
-
*
|
|
7325
|
+
* Apply a pattern image on the inner track
|
|
7326
|
+
*/
|
|
7327
|
+
innerTrackImg?: string | undefined;
|
|
7328
|
+
/**
|
|
7329
|
+
* Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette
|
|
7330
|
+
*/
|
|
7331
|
+
selectionColor?: string | undefined;
|
|
7332
|
+
/**
|
|
7333
|
+
* Apply a pattern image on the selection bar
|
|
7334
|
+
*/
|
|
7335
|
+
selectionImg?: string | undefined;
|
|
7336
|
+
/**
|
|
7337
|
+
* Popup a label when user clicks/taps on the slider thumb and moves it
|
|
7222
7338
|
*/
|
|
7223
7339
|
label?: boolean | undefined;
|
|
7224
7340
|
/**
|
|
7225
|
-
* Color name for
|
|
7341
|
+
* Color name for component from the Quasar Color Palette
|
|
7226
7342
|
*/
|
|
7227
7343
|
labelColor?: string | undefined;
|
|
7228
7344
|
/**
|
|
7229
|
-
* Color name for
|
|
7345
|
+
* Color name for component from the Quasar Color Palette
|
|
7230
7346
|
*/
|
|
7231
7347
|
labelTextColor?: string | undefined;
|
|
7232
7348
|
/**
|
|
7233
|
-
*
|
|
7349
|
+
* Switch the position of the label (top <-> bottom or left <-> right)
|
|
7234
7350
|
*/
|
|
7235
|
-
|
|
7351
|
+
switchLabelSide?: boolean | undefined;
|
|
7236
7352
|
/**
|
|
7237
|
-
*
|
|
7353
|
+
* Always display the label
|
|
7238
7354
|
*/
|
|
7239
|
-
|
|
7355
|
+
labelAlways?: boolean | undefined;
|
|
7240
7356
|
/**
|
|
7241
|
-
*
|
|
7357
|
+
* Display markers on the track, one for each possible value for the model or using a custom step (when specifying a Number)
|
|
7242
7358
|
*/
|
|
7243
|
-
|
|
7359
|
+
markers?: boolean | number | undefined;
|
|
7244
7360
|
/**
|
|
7245
|
-
*
|
|
7361
|
+
* Configure the marker labels (or show the default ones if 'true'); Array of definition Objects or Object with key-value where key is the model and the value is the marker label definition
|
|
7362
|
+
* @param value The marker value to transform
|
|
7363
|
+
* @returns Marker definition Object or directly a String for the label of the marker
|
|
7246
7364
|
*/
|
|
7247
|
-
|
|
7365
|
+
markerLabels?:
|
|
7366
|
+
| SliderMarkerLabels
|
|
7367
|
+
| SliderMarkerLabels
|
|
7368
|
+
| SliderMarkerLabels
|
|
7369
|
+
| SliderMarkerLabels
|
|
7370
|
+
| undefined;
|
|
7248
7371
|
/**
|
|
7249
|
-
*
|
|
7372
|
+
* CSS class(es) to apply to the marker labels container
|
|
7250
7373
|
*/
|
|
7251
|
-
|
|
7374
|
+
markerLabelsClass?: string | undefined;
|
|
7252
7375
|
/**
|
|
7253
|
-
*
|
|
7376
|
+
* Switch the position of the marker labels (top <-> bottom or left <-> right)
|
|
7254
7377
|
*/
|
|
7255
|
-
|
|
7378
|
+
switchMarkerLabelsSide?: boolean | undefined;
|
|
7256
7379
|
/**
|
|
7257
|
-
*
|
|
7380
|
+
* Track size (including CSS unit)
|
|
7381
|
+
* Default value: 4px
|
|
7258
7382
|
*/
|
|
7259
|
-
|
|
7383
|
+
trackSize?: string | undefined;
|
|
7260
7384
|
/**
|
|
7261
|
-
*
|
|
7385
|
+
* Thumb size (including CSS unit)
|
|
7386
|
+
* Default value: 20px
|
|
7262
7387
|
*/
|
|
7263
|
-
|
|
7388
|
+
thumbSize?: string | undefined;
|
|
7264
7389
|
/**
|
|
7265
|
-
*
|
|
7390
|
+
* Color name for component from the Quasar Color Palette
|
|
7266
7391
|
*/
|
|
7267
|
-
|
|
7392
|
+
thumbColor?: string | undefined;
|
|
7268
7393
|
/**
|
|
7269
|
-
* Set custom
|
|
7394
|
+
* Set custom thumb svg path
|
|
7270
7395
|
* Default value: M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0
|
|
7271
7396
|
*/
|
|
7272
7397
|
thumbPath?: string | undefined;
|
|
@@ -7291,12 +7416,63 @@ export interface QRangeProps {
|
|
|
7291
7416
|
*/
|
|
7292
7417
|
tabindex?: number | string | undefined;
|
|
7293
7418
|
/**
|
|
7294
|
-
*
|
|
7295
|
-
* @param value New model value
|
|
7419
|
+
* Model of the component of type { min, max } (both values must be between global min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive
|
|
7296
7420
|
*/
|
|
7297
|
-
|
|
7421
|
+
modelValue:
|
|
7422
|
+
| {
|
|
7423
|
+
/**
|
|
7424
|
+
* Model value for left thumb
|
|
7425
|
+
*/
|
|
7426
|
+
min?: number | null;
|
|
7427
|
+
/**
|
|
7428
|
+
* Model value for right thumb
|
|
7429
|
+
*/
|
|
7430
|
+
max?: number | null;
|
|
7431
|
+
}
|
|
7432
|
+
| null
|
|
7433
|
+
| undefined;
|
|
7434
|
+
/**
|
|
7435
|
+
* User can drag range instead of just the two thumbs
|
|
7436
|
+
*/
|
|
7437
|
+
dragRange?: boolean | undefined;
|
|
7438
|
+
/**
|
|
7439
|
+
* User can drag only the range instead and NOT the two thumbs
|
|
7440
|
+
*/
|
|
7441
|
+
dragOnlyRange?: boolean | undefined;
|
|
7442
|
+
/**
|
|
7443
|
+
* Color name for left label background from the Quasar Color Palette
|
|
7444
|
+
*/
|
|
7445
|
+
leftLabelColor?: string | undefined;
|
|
7446
|
+
/**
|
|
7447
|
+
* Color name for left label text from the Quasar Color Palette
|
|
7448
|
+
*/
|
|
7449
|
+
leftLabelTextColor?: string | undefined;
|
|
7450
|
+
/**
|
|
7451
|
+
* Color name for right label background from the Quasar Color Palette
|
|
7452
|
+
*/
|
|
7453
|
+
rightLabelColor?: string | undefined;
|
|
7454
|
+
/**
|
|
7455
|
+
* Color name for right label text from the Quasar Color Palette
|
|
7456
|
+
*/
|
|
7457
|
+
rightLabelTextColor?: string | undefined;
|
|
7458
|
+
/**
|
|
7459
|
+
* Override default label for min value
|
|
7460
|
+
*/
|
|
7461
|
+
leftLabelValue?: string | number | undefined;
|
|
7462
|
+
/**
|
|
7463
|
+
* Override default label for max value
|
|
7464
|
+
*/
|
|
7465
|
+
rightLabelValue?: string | number | undefined;
|
|
7466
|
+
/**
|
|
7467
|
+
* Color name (from the Quasar Color Palette) for left thumb
|
|
7468
|
+
*/
|
|
7469
|
+
leftThumbColor?: string | undefined;
|
|
7470
|
+
/**
|
|
7471
|
+
* Color name (from the Quasar Color Palette) for right thumb
|
|
7472
|
+
*/
|
|
7473
|
+
rightThumbColor?: string | undefined;
|
|
7298
7474
|
/**
|
|
7299
|
-
* Emitted on lazy model value change (after user slides then releases thumb)
|
|
7475
|
+
* Emitted on lazy model value change (after user slides then releases the thumb)
|
|
7300
7476
|
* @param value New model value
|
|
7301
7477
|
*/
|
|
7302
7478
|
onChange?: (value: any) => void;
|
|
@@ -7305,9 +7481,67 @@ export interface QRangeProps {
|
|
|
7305
7481
|
* @param phase Phase of panning
|
|
7306
7482
|
*/
|
|
7307
7483
|
onPan?: (phase: "start" | "end") => void;
|
|
7484
|
+
/**
|
|
7485
|
+
* Emitted when the component needs to change the model; Is also used by v-model
|
|
7486
|
+
* @param value New model value
|
|
7487
|
+
*/
|
|
7488
|
+
"onUpdate:modelValue"?: (value: any) => void;
|
|
7308
7489
|
}
|
|
7309
7490
|
|
|
7310
|
-
export interface QRangeSlots {
|
|
7491
|
+
export interface QRangeSlots {
|
|
7492
|
+
/**
|
|
7493
|
+
* What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
|
|
7494
|
+
* @param scope
|
|
7495
|
+
*/
|
|
7496
|
+
"marker-label": (scope: {
|
|
7497
|
+
/**
|
|
7498
|
+
* Config for current marker label
|
|
7499
|
+
*/
|
|
7500
|
+
marker: SliderMarkerLabelConfig;
|
|
7501
|
+
/**
|
|
7502
|
+
* Array of marker label configs
|
|
7503
|
+
*/
|
|
7504
|
+
markerList: SliderMarkerLabelArrayConfig[];
|
|
7505
|
+
/**
|
|
7506
|
+
* Object with key-value where key is the model and the value is the marker label config
|
|
7507
|
+
*/
|
|
7508
|
+
markerMap: SliderMarkerLabelObjectConfig;
|
|
7509
|
+
/**
|
|
7510
|
+
* Required CSS classes to be applied to the marker element
|
|
7511
|
+
*/
|
|
7512
|
+
classes: string;
|
|
7513
|
+
/**
|
|
7514
|
+
* Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap
|
|
7515
|
+
* @param value The marker label equivalent model value
|
|
7516
|
+
* @returns CSS style Object to apply to a marker element at respective model value
|
|
7517
|
+
*/
|
|
7518
|
+
getStyle: (value: number) => LooseDictionary;
|
|
7519
|
+
}) => VNode[];
|
|
7520
|
+
/**
|
|
7521
|
+
* What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
|
|
7522
|
+
* @param scope
|
|
7523
|
+
*/
|
|
7524
|
+
"marker-label-group": (scope: {
|
|
7525
|
+
/**
|
|
7526
|
+
* Array of marker label configs
|
|
7527
|
+
*/
|
|
7528
|
+
markerList: SliderMarkerLabelArrayConfig[];
|
|
7529
|
+
/**
|
|
7530
|
+
* Object with key-value where key is the model and the value is the marker label config
|
|
7531
|
+
*/
|
|
7532
|
+
markerMap: SliderMarkerLabelObjectConfig;
|
|
7533
|
+
/**
|
|
7534
|
+
* Required CSS classes to be applied to the marker element
|
|
7535
|
+
*/
|
|
7536
|
+
classes: string;
|
|
7537
|
+
/**
|
|
7538
|
+
* Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap
|
|
7539
|
+
* @param value The marker label equivalent model value
|
|
7540
|
+
* @returns CSS style Object to apply to a marker element at respective model value
|
|
7541
|
+
*/
|
|
7542
|
+
getStyle: (value: number) => LooseDictionary;
|
|
7543
|
+
}) => VNode[];
|
|
7544
|
+
}
|
|
7311
7545
|
|
|
7312
7546
|
export interface QRange extends ComponentPublicInstance<QRangeProps> {}
|
|
7313
7547
|
|
|
@@ -7493,7 +7727,7 @@ export interface QScrollAreaProps {
|
|
|
7493
7727
|
/**
|
|
7494
7728
|
* Vue reference to the QScrollArea which triggered the event
|
|
7495
7729
|
*/
|
|
7496
|
-
ref:
|
|
7730
|
+
ref: QScrollArea;
|
|
7497
7731
|
/**
|
|
7498
7732
|
* Vertical scroll position (in px)
|
|
7499
7733
|
*/
|
|
@@ -7541,7 +7775,7 @@ export interface QScrollArea extends ComponentPublicInstance<QScrollAreaProps> {
|
|
|
7541
7775
|
* Get the scrolling DOM element target
|
|
7542
7776
|
* @returns DOM element upon which scrolling takes place
|
|
7543
7777
|
*/
|
|
7544
|
-
getScrollTarget: () =>
|
|
7778
|
+
getScrollTarget: () => Element;
|
|
7545
7779
|
/**
|
|
7546
7780
|
* Get the current scroll information
|
|
7547
7781
|
* @returns Scroll information
|
|
@@ -7762,7 +7996,7 @@ export interface QSelectProps {
|
|
|
7762
7996
|
/**
|
|
7763
7997
|
* Model of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive
|
|
7764
7998
|
*/
|
|
7765
|
-
modelValue:
|
|
7999
|
+
modelValue: any;
|
|
7766
8000
|
/**
|
|
7767
8001
|
* Does field have validation errors?
|
|
7768
8002
|
*/
|
|
@@ -7778,7 +8012,7 @@ export interface QSelectProps {
|
|
|
7778
8012
|
/**
|
|
7779
8013
|
* Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules
|
|
7780
8014
|
*/
|
|
7781
|
-
rules?:
|
|
8015
|
+
rules?: ValidationRule[] | undefined;
|
|
7782
8016
|
/**
|
|
7783
8017
|
* By default a change in the rules does not trigger a new validation until the model changes; If set to true then a change in the rules will trigger a validation; Has a performance penalty, so use it only when you really need it
|
|
7784
8018
|
*/
|
|
@@ -7913,7 +8147,6 @@ export interface QSelectProps {
|
|
|
7913
8147
|
displayValue?: number | string | undefined;
|
|
7914
8148
|
/**
|
|
7915
8149
|
* Force render the selected option(s) as HTML; This can lead to XSS attacks so make sure that you sanitize the content; Does NOT apply when using 'selected' or 'selected-item' slots!
|
|
7916
|
-
* Default value: false
|
|
7917
8150
|
*/
|
|
7918
8151
|
displayValueHtml?: boolean | undefined;
|
|
7919
8152
|
/**
|
|
@@ -7981,7 +8214,6 @@ export interface QSelectProps {
|
|
|
7981
8214
|
optionsSelectedClass?: string | undefined;
|
|
7982
8215
|
/**
|
|
7983
8216
|
* Force render the options as HTML; This can lead to XSS attacks so make sure that you sanitize the content; Does NOT apply when using 'option' slot!
|
|
7984
|
-
* Default value: false
|
|
7985
8217
|
*/
|
|
7986
8218
|
optionsHtml?: boolean | undefined;
|
|
7987
8219
|
/**
|
|
@@ -8131,9 +8363,9 @@ export interface QSelectProps {
|
|
|
8131
8363
|
*/
|
|
8132
8364
|
direction: "increase" | "decrease";
|
|
8133
8365
|
/**
|
|
8134
|
-
* Vue reference to the
|
|
8366
|
+
* Vue reference to the QSelect
|
|
8135
8367
|
*/
|
|
8136
|
-
ref:
|
|
8368
|
+
ref: QSelect;
|
|
8137
8369
|
}) => void;
|
|
8138
8370
|
/**
|
|
8139
8371
|
* When using the 'clearable' property, this event is emitted when the clear icon is clicked
|
|
@@ -8195,10 +8427,7 @@ export interface QSelectProps {
|
|
|
8195
8427
|
*/
|
|
8196
8428
|
onFilter?: (
|
|
8197
8429
|
inputValue: string,
|
|
8198
|
-
doneFn: (
|
|
8199
|
-
callbackFn: () => void,
|
|
8200
|
-
afterFn?: (ref: LooseDictionary) => void
|
|
8201
|
-
) => void,
|
|
8430
|
+
doneFn: (callbackFn: () => void, afterFn?: (ref: QSelect) => void) => void,
|
|
8202
8431
|
abortFn: () => void
|
|
8203
8432
|
) => void;
|
|
8204
8433
|
/**
|
|
@@ -8748,23 +8977,31 @@ export interface QSliderProps {
|
|
|
8748
8977
|
*/
|
|
8749
8978
|
name?: string | undefined;
|
|
8750
8979
|
/**
|
|
8751
|
-
*
|
|
8752
|
-
*/
|
|
8753
|
-
modelValue: number | null | undefined;
|
|
8754
|
-
/**
|
|
8755
|
-
* Minimum value of the model
|
|
8980
|
+
* Minimum value of the model; Set track's minimum value
|
|
8756
8981
|
*/
|
|
8757
8982
|
min?: number | undefined;
|
|
8758
8983
|
/**
|
|
8759
|
-
* Maximum value of the model
|
|
8984
|
+
* Maximum value of the model; Set track's maximum value
|
|
8760
8985
|
* Default value: 100
|
|
8761
8986
|
*/
|
|
8762
8987
|
max?: number | undefined;
|
|
8988
|
+
/**
|
|
8989
|
+
* Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop
|
|
8990
|
+
*/
|
|
8991
|
+
innerMin?: number | undefined;
|
|
8992
|
+
/**
|
|
8993
|
+
* Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop
|
|
8994
|
+
*/
|
|
8995
|
+
innerMax?: number | undefined;
|
|
8763
8996
|
/**
|
|
8764
8997
|
* Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity
|
|
8765
8998
|
* Default value: 1
|
|
8766
8999
|
*/
|
|
8767
9000
|
step?: number | undefined;
|
|
9001
|
+
/**
|
|
9002
|
+
* Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop
|
|
9003
|
+
*/
|
|
9004
|
+
snap?: boolean | undefined;
|
|
8768
9005
|
/**
|
|
8769
9006
|
* Work in reverse (changes direction)
|
|
8770
9007
|
*/
|
|
@@ -8777,6 +9014,30 @@ export interface QSliderProps {
|
|
|
8777
9014
|
* Color name for component from the Quasar Color Palette
|
|
8778
9015
|
*/
|
|
8779
9016
|
color?: string | undefined;
|
|
9017
|
+
/**
|
|
9018
|
+
* Color name for the track (can be 'transparent' too) from the Quasar Color Palette
|
|
9019
|
+
*/
|
|
9020
|
+
trackColor?: string | undefined;
|
|
9021
|
+
/**
|
|
9022
|
+
* Apply a pattern image on the track
|
|
9023
|
+
*/
|
|
9024
|
+
trackImg?: string | undefined;
|
|
9025
|
+
/**
|
|
9026
|
+
* Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette
|
|
9027
|
+
*/
|
|
9028
|
+
innerTrackColor?: string | undefined;
|
|
9029
|
+
/**
|
|
9030
|
+
* Apply a pattern image on the inner track
|
|
9031
|
+
*/
|
|
9032
|
+
innerTrackImg?: string | undefined;
|
|
9033
|
+
/**
|
|
9034
|
+
* Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette
|
|
9035
|
+
*/
|
|
9036
|
+
selectionColor?: string | undefined;
|
|
9037
|
+
/**
|
|
9038
|
+
* Apply a pattern image on the selection bar
|
|
9039
|
+
*/
|
|
9040
|
+
selectionImg?: string | undefined;
|
|
8780
9041
|
/**
|
|
8781
9042
|
* Popup a label when user clicks/taps on the slider thumb and moves it
|
|
8782
9043
|
*/
|
|
@@ -8790,9 +9051,9 @@ export interface QSliderProps {
|
|
|
8790
9051
|
*/
|
|
8791
9052
|
labelTextColor?: string | undefined;
|
|
8792
9053
|
/**
|
|
8793
|
-
*
|
|
9054
|
+
* Switch the position of the label (top <-> bottom or left <-> right)
|
|
8794
9055
|
*/
|
|
8795
|
-
|
|
9056
|
+
switchLabelSide?: boolean | undefined;
|
|
8796
9057
|
/**
|
|
8797
9058
|
* Always display the label
|
|
8798
9059
|
*/
|
|
@@ -8802,9 +9063,38 @@ export interface QSliderProps {
|
|
|
8802
9063
|
*/
|
|
8803
9064
|
markers?: boolean | number | undefined;
|
|
8804
9065
|
/**
|
|
8805
|
-
*
|
|
9066
|
+
* Configure the marker labels (or show the default ones if 'true'); Array of definition Objects or Object with key-value where key is the model and the value is the marker label definition
|
|
9067
|
+
* @param value The marker value to transform
|
|
9068
|
+
* @returns Marker definition Object or directly a String for the label of the marker
|
|
8806
9069
|
*/
|
|
8807
|
-
|
|
9070
|
+
markerLabels?:
|
|
9071
|
+
| SliderMarkerLabels
|
|
9072
|
+
| SliderMarkerLabels
|
|
9073
|
+
| SliderMarkerLabels
|
|
9074
|
+
| SliderMarkerLabels
|
|
9075
|
+
| undefined;
|
|
9076
|
+
/**
|
|
9077
|
+
* CSS class(es) to apply to the marker labels container
|
|
9078
|
+
*/
|
|
9079
|
+
markerLabelsClass?: string | undefined;
|
|
9080
|
+
/**
|
|
9081
|
+
* Switch the position of the marker labels (top <-> bottom or left <-> right)
|
|
9082
|
+
*/
|
|
9083
|
+
switchMarkerLabelsSide?: boolean | undefined;
|
|
9084
|
+
/**
|
|
9085
|
+
* Track size (including CSS unit)
|
|
9086
|
+
* Default value: 4px
|
|
9087
|
+
*/
|
|
9088
|
+
trackSize?: string | undefined;
|
|
9089
|
+
/**
|
|
9090
|
+
* Thumb size (including CSS unit)
|
|
9091
|
+
* Default value: 20px
|
|
9092
|
+
*/
|
|
9093
|
+
thumbSize?: string | undefined;
|
|
9094
|
+
/**
|
|
9095
|
+
* Color name for component from the Quasar Color Palette
|
|
9096
|
+
*/
|
|
9097
|
+
thumbColor?: string | undefined;
|
|
8808
9098
|
/**
|
|
8809
9099
|
* Set custom thumb svg path
|
|
8810
9100
|
* Default value: M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0
|
|
@@ -8831,10 +9121,13 @@ export interface QSliderProps {
|
|
|
8831
9121
|
*/
|
|
8832
9122
|
tabindex?: number | string | undefined;
|
|
8833
9123
|
/**
|
|
8834
|
-
*
|
|
8835
|
-
* @param value New model value
|
|
9124
|
+
* Model of the component (must be between min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive
|
|
8836
9125
|
*/
|
|
8837
|
-
|
|
9126
|
+
modelValue: number | null | undefined;
|
|
9127
|
+
/**
|
|
9128
|
+
* Override default label value
|
|
9129
|
+
*/
|
|
9130
|
+
labelValue?: string | number | undefined;
|
|
8838
9131
|
/**
|
|
8839
9132
|
* Emitted on lazy model value change (after user slides then releases the thumb)
|
|
8840
9133
|
* @param value New model value
|
|
@@ -8845,9 +9138,67 @@ export interface QSliderProps {
|
|
|
8845
9138
|
* @param phase Phase of panning
|
|
8846
9139
|
*/
|
|
8847
9140
|
onPan?: (phase: "start" | "end") => void;
|
|
9141
|
+
/**
|
|
9142
|
+
* Emitted when the component needs to change the model; Is also used by v-model
|
|
9143
|
+
* @param value New model value
|
|
9144
|
+
*/
|
|
9145
|
+
"onUpdate:modelValue"?: (value: number | null) => void;
|
|
8848
9146
|
}
|
|
8849
9147
|
|
|
8850
|
-
export interface QSliderSlots {
|
|
9148
|
+
export interface QSliderSlots {
|
|
9149
|
+
/**
|
|
9150
|
+
* What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
|
|
9151
|
+
* @param scope
|
|
9152
|
+
*/
|
|
9153
|
+
"marker-label": (scope: {
|
|
9154
|
+
/**
|
|
9155
|
+
* Config for current marker label
|
|
9156
|
+
*/
|
|
9157
|
+
marker: SliderMarkerLabelConfig;
|
|
9158
|
+
/**
|
|
9159
|
+
* Array of marker label configs
|
|
9160
|
+
*/
|
|
9161
|
+
markerList: SliderMarkerLabelArrayConfig[];
|
|
9162
|
+
/**
|
|
9163
|
+
* Object with key-value where key is the model and the value is the marker label config
|
|
9164
|
+
*/
|
|
9165
|
+
markerMap: SliderMarkerLabelObjectConfig;
|
|
9166
|
+
/**
|
|
9167
|
+
* Required CSS classes to be applied to the marker element
|
|
9168
|
+
*/
|
|
9169
|
+
classes: string;
|
|
9170
|
+
/**
|
|
9171
|
+
* Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap
|
|
9172
|
+
* @param value The marker label equivalent model value
|
|
9173
|
+
* @returns CSS style Object to apply to a marker element at respective model value
|
|
9174
|
+
*/
|
|
9175
|
+
getStyle: (value: number) => LooseDictionary;
|
|
9176
|
+
}) => VNode[];
|
|
9177
|
+
/**
|
|
9178
|
+
* What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>
|
|
9179
|
+
* @param scope
|
|
9180
|
+
*/
|
|
9181
|
+
"marker-label-group": (scope: {
|
|
9182
|
+
/**
|
|
9183
|
+
* Array of marker label configs
|
|
9184
|
+
*/
|
|
9185
|
+
markerList: SliderMarkerLabelArrayConfig[];
|
|
9186
|
+
/**
|
|
9187
|
+
* Object with key-value where key is the model and the value is the marker label config
|
|
9188
|
+
*/
|
|
9189
|
+
markerMap: SliderMarkerLabelObjectConfig;
|
|
9190
|
+
/**
|
|
9191
|
+
* Required CSS classes to be applied to the marker element
|
|
9192
|
+
*/
|
|
9193
|
+
classes: string;
|
|
9194
|
+
/**
|
|
9195
|
+
* Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap
|
|
9196
|
+
* @param value The marker label equivalent model value
|
|
9197
|
+
* @returns CSS style Object to apply to a marker element at respective model value
|
|
9198
|
+
*/
|
|
9199
|
+
getStyle: (value: number) => LooseDictionary;
|
|
9200
|
+
}) => VNode[];
|
|
9201
|
+
}
|
|
8851
9202
|
|
|
8852
9203
|
export interface QSlider extends ComponentPublicInstance<QSliderProps> {}
|
|
8853
9204
|
|
|
@@ -11327,25 +11678,33 @@ export interface QTr extends ComponentPublicInstance<QTrProps> {}
|
|
|
11327
11678
|
|
|
11328
11679
|
export interface QRouteTabProps {
|
|
11329
11680
|
/**
|
|
11330
|
-
* Equivalent to Vue Router <router-link> 'to' property
|
|
11681
|
+
* Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used
|
|
11331
11682
|
*/
|
|
11332
|
-
to
|
|
11683
|
+
to?: string | LooseDictionary | undefined;
|
|
11333
11684
|
/**
|
|
11334
|
-
* Equivalent to Vue Router <router-link> 'exact' property
|
|
11685
|
+
* Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used
|
|
11335
11686
|
*/
|
|
11336
11687
|
exact?: boolean | undefined;
|
|
11337
11688
|
/**
|
|
11338
|
-
* Equivalent to Vue Router <router-link> 'replace' property
|
|
11689
|
+
* Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used
|
|
11339
11690
|
*/
|
|
11340
11691
|
replace?: boolean | undefined;
|
|
11341
11692
|
/**
|
|
11342
|
-
* Equivalent to Vue Router <router-link> 'active-class' property
|
|
11693
|
+
* Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used
|
|
11343
11694
|
*/
|
|
11344
11695
|
activeClass?: string | undefined;
|
|
11345
11696
|
/**
|
|
11346
|
-
* Equivalent to Vue Router <router-link> 'active-class' property
|
|
11697
|
+
* Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used
|
|
11347
11698
|
*/
|
|
11348
11699
|
exactActiveClass?: string | undefined;
|
|
11700
|
+
/**
|
|
11701
|
+
* Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props
|
|
11702
|
+
*/
|
|
11703
|
+
href?: string | undefined;
|
|
11704
|
+
/**
|
|
11705
|
+
* Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props
|
|
11706
|
+
*/
|
|
11707
|
+
target?: string | undefined;
|
|
11349
11708
|
/**
|
|
11350
11709
|
* Put component in disabled mode
|
|
11351
11710
|
*/
|
|
@@ -12286,7 +12645,7 @@ export interface QTreeSlots {
|
|
|
12286
12645
|
/**
|
|
12287
12646
|
* QTree instance
|
|
12288
12647
|
*/
|
|
12289
|
-
tree:
|
|
12648
|
+
tree: QTree;
|
|
12290
12649
|
/**
|
|
12291
12650
|
* Node object
|
|
12292
12651
|
*/
|
|
@@ -12320,7 +12679,7 @@ export interface QTreeSlots {
|
|
|
12320
12679
|
/**
|
|
12321
12680
|
* QTree instance
|
|
12322
12681
|
*/
|
|
12323
|
-
tree:
|
|
12682
|
+
tree: QTree;
|
|
12324
12683
|
/**
|
|
12325
12684
|
* Node object
|
|
12326
12685
|
*/
|
|
@@ -12354,7 +12713,7 @@ export interface QTreeSlots {
|
|
|
12354
12713
|
/**
|
|
12355
12714
|
* QTree instance
|
|
12356
12715
|
*/
|
|
12357
|
-
tree:
|
|
12716
|
+
tree: QTree;
|
|
12358
12717
|
/**
|
|
12359
12718
|
* Node object
|
|
12360
12719
|
*/
|
|
@@ -12388,7 +12747,7 @@ export interface QTreeSlots {
|
|
|
12388
12747
|
/**
|
|
12389
12748
|
* QTree instance
|
|
12390
12749
|
*/
|
|
12391
|
-
tree:
|
|
12750
|
+
tree: QTree;
|
|
12392
12751
|
/**
|
|
12393
12752
|
* Node object
|
|
12394
12753
|
*/
|
|
@@ -12694,12 +13053,14 @@ export interface QUploaderProps {
|
|
|
12694
13053
|
export interface QUploaderSlots {
|
|
12695
13054
|
/**
|
|
12696
13055
|
* Slot for custom header; Scope is the QUploader instance itself
|
|
13056
|
+
* @param scope QUploader instance
|
|
12697
13057
|
*/
|
|
12698
|
-
header: () => VNode[];
|
|
13058
|
+
header: (scope: QUploader) => VNode[];
|
|
12699
13059
|
/**
|
|
12700
13060
|
* Slot for custom list; Scope is the QUploader instance itself
|
|
13061
|
+
* @param scope QUploader instance
|
|
12701
13062
|
*/
|
|
12702
|
-
list: () => VNode[];
|
|
13063
|
+
list: (scope: QUploader) => VNode[];
|
|
12703
13064
|
}
|
|
12704
13065
|
|
|
12705
13066
|
export interface QUploader extends ComponentPublicInstance<QUploaderProps> {
|
|
@@ -12849,9 +13210,9 @@ export interface QVirtualScrollProps {
|
|
|
12849
13210
|
*/
|
|
12850
13211
|
direction: "increase" | "decrease";
|
|
12851
13212
|
/**
|
|
12852
|
-
* Vue reference to the
|
|
13213
|
+
* Vue reference to the QVirtualScroll
|
|
12853
13214
|
*/
|
|
12854
|
-
ref:
|
|
13215
|
+
ref: QVirtualScroll;
|
|
12855
13216
|
}) => void;
|
|
12856
13217
|
}
|
|
12857
13218
|
|
|
@@ -13077,11 +13438,27 @@ export interface QDialogOptions {
|
|
|
13077
13438
|
/**
|
|
13078
13439
|
* Props for an 'OK' button
|
|
13079
13440
|
*/
|
|
13080
|
-
ok?:
|
|
13441
|
+
ok?:
|
|
13442
|
+
| string
|
|
13443
|
+
| {
|
|
13444
|
+
/**
|
|
13445
|
+
* See QBtn for available props
|
|
13446
|
+
*/
|
|
13447
|
+
[props: string]: any;
|
|
13448
|
+
}
|
|
13449
|
+
| boolean;
|
|
13081
13450
|
/**
|
|
13082
13451
|
* Props for a 'CANCEL' button
|
|
13083
13452
|
*/
|
|
13084
|
-
cancel?:
|
|
13453
|
+
cancel?:
|
|
13454
|
+
| string
|
|
13455
|
+
| {
|
|
13456
|
+
/**
|
|
13457
|
+
* See QBtn for available props
|
|
13458
|
+
*/
|
|
13459
|
+
[props: string]: any;
|
|
13460
|
+
}
|
|
13461
|
+
| boolean;
|
|
13085
13462
|
/**
|
|
13086
13463
|
* What button to focus, unless you also have 'prompt' or 'options'
|
|
13087
13464
|
* Default value: ok
|
|
@@ -13144,7 +13521,7 @@ export interface QDialogOptions {
|
|
|
13144
13521
|
/**
|
|
13145
13522
|
* Use custom dialog component; use along with 'componentProps' prop where possible
|
|
13146
13523
|
*/
|
|
13147
|
-
component?:
|
|
13524
|
+
component?: Component;
|
|
13148
13525
|
/**
|
|
13149
13526
|
* User defined props which will be forwarded to underlying custom component if 'component' prop is used
|
|
13150
13527
|
*/
|
|
@@ -13155,6 +13532,100 @@ import { WebStorageGetItemMethodType } from "./api";
|
|
|
13155
13532
|
import { WebStorageGetIndexMethodType } from "./api";
|
|
13156
13533
|
import { WebStorageGetKeyMethodType } from "./api";
|
|
13157
13534
|
import { WebStorageGetAllKeysMethodType } from "./api";
|
|
13535
|
+
import { ValidationRule } from "./api";
|
|
13536
|
+
export interface SliderMarkerLabels {
|
|
13537
|
+
/**
|
|
13538
|
+
* Value of equivalent model where to position the marker
|
|
13539
|
+
*/
|
|
13540
|
+
value: number;
|
|
13541
|
+
/**
|
|
13542
|
+
* Label to use
|
|
13543
|
+
*/
|
|
13544
|
+
label?: number | string;
|
|
13545
|
+
/**
|
|
13546
|
+
* CSS classes to be attributed to the marker label
|
|
13547
|
+
*/
|
|
13548
|
+
classes?: string | any[] | LooseDictionary;
|
|
13549
|
+
/**
|
|
13550
|
+
* Style definitions to be attributed to the marker label
|
|
13551
|
+
*/
|
|
13552
|
+
style?: LooseDictionary;
|
|
13553
|
+
}
|
|
13554
|
+
|
|
13555
|
+
export interface SliderMarkerLabelConfig {
|
|
13556
|
+
/**
|
|
13557
|
+
* Index of the marker label (0-based)
|
|
13558
|
+
*/
|
|
13559
|
+
index?: number;
|
|
13560
|
+
/**
|
|
13561
|
+
* Equivalent model value for the marker label
|
|
13562
|
+
*/
|
|
13563
|
+
value?: number;
|
|
13564
|
+
/**
|
|
13565
|
+
* Configured label for the marker
|
|
13566
|
+
*/
|
|
13567
|
+
label?: number | string;
|
|
13568
|
+
/**
|
|
13569
|
+
* Required CSS classes to be applied to the marker element
|
|
13570
|
+
*/
|
|
13571
|
+
classes?: string;
|
|
13572
|
+
/**
|
|
13573
|
+
* Style definitions to be attributed to the marker label
|
|
13574
|
+
*/
|
|
13575
|
+
style?: LooseDictionary;
|
|
13576
|
+
}
|
|
13577
|
+
|
|
13578
|
+
export interface SliderMarkerLabelArrayConfig {
|
|
13579
|
+
/**
|
|
13580
|
+
* Index of the marker label (0-based)
|
|
13581
|
+
*/
|
|
13582
|
+
index?: number;
|
|
13583
|
+
/**
|
|
13584
|
+
* Equivalent model value for the marker label
|
|
13585
|
+
*/
|
|
13586
|
+
value?: number;
|
|
13587
|
+
/**
|
|
13588
|
+
* Configured label for the marker
|
|
13589
|
+
*/
|
|
13590
|
+
label?: number | string;
|
|
13591
|
+
/**
|
|
13592
|
+
* Required CSS classes to be applied to the marker element
|
|
13593
|
+
*/
|
|
13594
|
+
classes?: string;
|
|
13595
|
+
/**
|
|
13596
|
+
* Style definitions to be attributed to the marker label
|
|
13597
|
+
*/
|
|
13598
|
+
style?: LooseDictionary;
|
|
13599
|
+
}
|
|
13600
|
+
|
|
13601
|
+
export interface SliderMarkerLabelObjectConfig {
|
|
13602
|
+
/**
|
|
13603
|
+
* Marker label config
|
|
13604
|
+
*/
|
|
13605
|
+
[key: string]: {
|
|
13606
|
+
/**
|
|
13607
|
+
* Index of the marker label (0-based)
|
|
13608
|
+
*/
|
|
13609
|
+
index?: number;
|
|
13610
|
+
/**
|
|
13611
|
+
* Equivalent model value for the marker label
|
|
13612
|
+
*/
|
|
13613
|
+
value?: number;
|
|
13614
|
+
/**
|
|
13615
|
+
* Configured label for the marker
|
|
13616
|
+
*/
|
|
13617
|
+
label?: number | string;
|
|
13618
|
+
/**
|
|
13619
|
+
* Required CSS classes to be applied to the marker element
|
|
13620
|
+
*/
|
|
13621
|
+
classes?: string;
|
|
13622
|
+
/**
|
|
13623
|
+
* Style definitions to be attributed to the marker label
|
|
13624
|
+
*/
|
|
13625
|
+
style?: LooseDictionary;
|
|
13626
|
+
};
|
|
13627
|
+
}
|
|
13628
|
+
|
|
13158
13629
|
import { QVueGlobals, QSingletonGlobals } from "./globals";
|
|
13159
13630
|
declare module "./globals" {
|
|
13160
13631
|
export interface QVueGlobals {
|