quasar 2.17.6 → 2.18.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/QBtnDropdown.json +1 -1
- package/dist/api/QDialog.json +1 -1
- package/dist/api/QMenu.json +1 -1
- package/dist/api/QOptionGroup.json +1 -1
- package/dist/api/QSelect.json +1 -1
- package/dist/api/QTable.json +1 -1
- 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/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.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/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.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/mdi-v7.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-fontawesome-v6.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-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.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-TN.umd.prod.js +2 -2
- package/dist/lang/ar.umd.prod.js +2 -2
- package/dist/lang/az-Latn.umd.prod.js +2 -2
- package/dist/lang/bg.umd.prod.js +2 -2
- package/dist/lang/bn.umd.prod.js +2 -2
- package/dist/lang/bs-BA.umd.prod.js +2 -2
- package/dist/lang/ca.umd.prod.js +2 -2
- package/dist/lang/cs.umd.prod.js +2 -2
- package/dist/lang/da.umd.prod.js +2 -2
- package/dist/lang/de-CH.umd.prod.js +2 -2
- package/dist/lang/de-DE.umd.prod.js +2 -2
- package/dist/lang/de.umd.prod.js +2 -2
- package/dist/lang/el.umd.prod.js +2 -2
- package/dist/lang/en-GB.umd.prod.js +2 -2
- package/dist/lang/en-US.umd.prod.js +2 -2
- package/dist/lang/eo.umd.prod.js +2 -2
- package/dist/lang/es.umd.prod.js +2 -2
- package/dist/lang/et.umd.prod.js +2 -2
- package/dist/lang/eu.umd.prod.js +2 -2
- package/dist/lang/fa-IR.umd.prod.js +2 -2
- package/dist/lang/fa.umd.prod.js +2 -2
- package/dist/lang/fi.umd.prod.js +2 -2
- package/dist/lang/fr.umd.prod.js +2 -2
- package/dist/lang/gn.umd.prod.js +2 -2
- package/dist/lang/he.umd.prod.js +2 -2
- package/dist/lang/hi.umd.prod.js +2 -2
- package/dist/lang/hr.umd.prod.js +2 -2
- package/dist/lang/hu.umd.prod.js +2 -2
- package/dist/lang/id.umd.prod.js +2 -2
- package/dist/lang/is.umd.prod.js +2 -2
- package/dist/lang/it.umd.prod.js +2 -2
- package/dist/lang/ja.umd.prod.js +2 -2
- package/dist/lang/kk.umd.prod.js +2 -2
- package/dist/lang/km.umd.prod.js +2 -2
- package/dist/lang/ko-KR.umd.prod.js +2 -2
- package/dist/lang/kur-CKB.umd.prod.js +2 -2
- package/dist/lang/lt.umd.prod.js +2 -2
- package/dist/lang/lu.umd.prod.js +2 -2
- package/dist/lang/lv.umd.prod.js +2 -2
- package/dist/lang/mk.umd.prod.js +2 -2
- package/dist/lang/ml.umd.prod.js +2 -2
- package/dist/lang/mm.umd.prod.js +2 -2
- package/dist/lang/ms-MY.umd.prod.js +2 -2
- package/dist/lang/ms.umd.prod.js +2 -2
- package/dist/lang/my.umd.prod.js +2 -2
- package/dist/lang/nb-NO.umd.prod.js +2 -2
- package/dist/lang/nl.umd.prod.js +2 -2
- package/dist/lang/pl.umd.prod.js +2 -2
- package/dist/lang/pt-BR.umd.prod.js +2 -2
- package/dist/lang/pt.umd.prod.js +2 -2
- package/dist/lang/ro.umd.prod.js +2 -2
- package/dist/lang/ru.umd.prod.js +2 -2
- package/dist/lang/sk.umd.prod.js +2 -2
- package/dist/lang/sl.umd.prod.js +2 -2
- package/dist/lang/sm.umd.prod.js +2 -2
- package/dist/lang/sr-CYR.umd.prod.js +2 -2
- package/dist/lang/sr.umd.prod.js +2 -2
- package/dist/lang/sv.umd.prod.js +2 -2
- package/dist/lang/ta.umd.prod.js +2 -2
- package/dist/lang/th.umd.prod.js +2 -2
- package/dist/lang/tl.umd.prod.js +2 -2
- package/dist/lang/tr.umd.prod.js +2 -2
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +2 -2
- package/dist/lang/ur-PK.umd.prod.js +7 -0
- package/dist/lang/uz-Cyrl.umd.prod.js +2 -2
- package/dist/lang/uz-Latn.umd.prod.js +2 -2
- package/dist/lang/vi.umd.prod.js +2 -2
- package/dist/lang/zh-CN.umd.prod.js +2 -2
- package/dist/lang/zh-TW.umd.prod.js +2 -2
- package/dist/quasar.client.js +252 -179
- package/dist/quasar.css +1 -1
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +1 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +2 -2
- package/dist/quasar.server.prod.cjs +36 -36
- package/dist/quasar.server.prod.js +37 -37
- package/dist/quasar.umd.js +252 -179
- package/dist/quasar.umd.prod.js +42 -42
- package/dist/types/index.d.ts +86 -17
- package/dist/vetur/quasar-attributes.json +1 -1
- package/dist/vetur/quasar-tags.json +1 -1
- package/dist/web-types/web-types.json +1 -1
- package/lang/ar-TN.js +6 -0
- package/lang/ar.js +6 -0
- package/lang/az-Latn.js +6 -0
- package/lang/bg.js +6 -0
- package/lang/bn.js +6 -0
- package/lang/bs-BA.js +6 -0
- package/lang/ca.js +6 -0
- package/lang/cs.js +6 -0
- package/lang/da.js +6 -0
- package/lang/de-CH.js +6 -0
- package/lang/de-DE.js +6 -0
- package/lang/de.js +6 -0
- package/lang/el.js +6 -0
- package/lang/en-GB.js +6 -0
- package/lang/en-US.js +6 -0
- package/lang/eo.js +6 -0
- package/lang/es.js +6 -0
- package/lang/et.js +6 -0
- package/lang/eu.js +6 -0
- package/lang/fa-IR.js +6 -0
- package/lang/fa.js +6 -0
- package/lang/fi.js +6 -0
- package/lang/fr.js +6 -0
- package/lang/gn.js +6 -0
- package/lang/he.js +6 -0
- package/lang/hi.js +6 -0
- package/lang/hr.js +6 -0
- package/lang/hu.js +6 -0
- package/lang/id.js +6 -0
- package/lang/index.json +1 -1
- package/lang/is.js +6 -0
- package/lang/it.js +6 -0
- package/lang/ja.js +6 -0
- package/lang/kk.js +6 -0
- package/lang/km.js +6 -0
- package/lang/ko-KR.js +6 -0
- package/lang/kur-CKB.js +6 -0
- package/lang/lt.js +6 -0
- package/lang/lu.js +6 -0
- package/lang/lv.js +6 -0
- package/lang/mk.js +6 -0
- package/lang/ml.js +6 -0
- package/lang/mm.js +6 -0
- package/lang/ms-MY.js +6 -0
- package/lang/ms.js +6 -0
- package/lang/my.js +6 -0
- package/lang/nb-NO.js +6 -0
- package/lang/nl.js +6 -0
- package/lang/pl.js +6 -0
- package/lang/pt-BR.js +6 -0
- package/lang/pt.js +6 -0
- package/lang/ro.js +6 -0
- package/lang/ru.js +6 -0
- package/lang/sk.js +6 -0
- package/lang/sl.js +6 -0
- package/lang/sm.js +6 -0
- package/lang/sr-CYR.js +6 -0
- package/lang/sr.js +6 -0
- package/lang/sv.js +6 -0
- package/lang/ta.js +6 -0
- package/lang/th.js +6 -0
- package/lang/tl.js +6 -0
- package/lang/tr.js +6 -0
- package/lang/uk.js +6 -0
- package/lang/ur-PK.js +111 -0
- package/lang/uz-Cyrl.js +6 -0
- package/lang/uz-Latn.js +6 -0
- package/lang/vi.js +6 -0
- package/lang/zh-CN.js +6 -0
- package/lang/zh-TW.js +6 -0
- package/package.json +4 -4
- package/src/components/breadcrumbs/QBreadcrumbs.js +2 -2
- package/src/components/btn/QBtn.js +7 -8
- package/src/components/btn-dropdown/QBtnDropdown.js +10 -4
- package/src/components/btn-dropdown/QBtnDropdown.json +21 -0
- package/src/components/color/QColor.js +1 -1
- package/src/components/date/QDate.js +14 -7
- package/src/components/dialog/QDialog.js +2 -2
- package/src/components/dialog/QDialog.json +1 -1
- package/src/components/drawer/QDrawer.js +3 -5
- package/src/components/editor/QEditor.js +1 -1
- package/src/components/editor/editor-caret.js +1 -1
- package/src/components/editor/editor-utils.js +2 -2
- package/src/components/expansion-item/QExpansionItem.js +6 -3
- package/src/components/fab/QFab.js +2 -2
- package/src/components/form/QForm.js +2 -2
- package/src/components/form/QFormChildMixin.js +6 -4
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +2 -4
- package/src/components/input/QInput.js +3 -3
- package/src/components/item/QItem.js +1 -1
- package/src/components/menu/QMenu.js +8 -5
- package/src/components/menu/QMenu.json +8 -1
- package/src/components/option-group/QOptionGroup.json +1 -17
- package/src/components/pagination/QPagination.js +8 -4
- package/src/components/parallax/QParallax.js +1 -1
- package/src/components/popup-edit/QPopupEdit.js +2 -2
- package/src/components/pull-to-refresh/QPullToRefresh.js +1 -1
- package/src/components/rating/QRating.sass +1 -1
- package/src/components/resize-observer/QResizeObserver.js +1 -1
- package/src/components/scroll-observer/QScrollObserver.js +2 -2
- package/src/components/select/QSelect.js +8 -6
- package/src/components/select/QSelect.json +2 -2
- package/src/components/slide-transition/QSlideTransition.js +2 -2
- package/src/components/stepper/StepHeader.js +1 -1
- package/src/components/table/QTable.js +84 -36
- package/src/components/table/QTable.json +138 -0
- package/src/components/table/QTr.js +4 -1
- package/src/components/table/table-sort.js +1 -1
- package/src/components/tabs/QTabs.js +2 -2
- package/src/components/tabs/use-tab.js +4 -4
- package/src/components/time/QTime.js +1 -1
- package/src/components/tree/QTree.js +2 -3
- package/src/components/virtual-scroll/use-virtual-scroll.js +3 -3
- package/src/composables/private.use-field/use-field.js +5 -5
- package/src/composables/private.use-file/use-file.js +6 -3
- package/src/composables/private.use-model-toggle/use-model-toggle.js +2 -2
- package/src/composables/private.use-refocus-target/use-refocus-target.js +6 -5
- package/src/composables/private.use-validate/use-validate.js +1 -1
- package/src/directives/intersection/Intersection.js +2 -2
- package/src/directives/morph/Morph.js +2 -2
- package/src/directives/mutation/Mutation.js +2 -2
- package/src/directives/touch-hold/TouchHold.js +2 -2
- package/src/directives/touch-pan/TouchPan.js +2 -2
- package/src/directives/touch-repeat/TouchRepeat.js +3 -3
- package/src/directives/touch-swipe/TouchSwipe.js +3 -3
- package/src/plugins/lang/Lang.test.js +12 -0
- package/src/plugins/loading/Loading.js +1 -1
- package/src/plugins/notify/Notify.js +1 -1
- package/src/plugins/private.body/Body.js +1 -1
- package/src/plugins/private.history/History.js +1 -1
- package/src/plugins/screen/Screen.js +1 -1
- package/src/utils/morph/morph.js +13 -10
- package/src/utils/open-url/open-url.js +3 -3
- package/src/utils/private.dialog/create-dialog.js +2 -2
- package/src/utils/private.portal/portal.js +1 -1
- package/src/components/date/__tests__/QDate.cy.js +0 -189
- package/src/components/date/__tests__/use-datetime.cy.js +0 -83
- package/src/components/editor/__tests__/QEditor.cy.js +0 -195
- package/src/components/field/__tests__/QField.cy.js +0 -156
- package/src/components/input/__tests__/QInput.cy.js +0 -786
- package/src/components/input/__tests__/use-mask.cy.js +0 -124
- package/src/components/menu/__tests__/QMenu.cy.js +0 -634
- package/src/components/menu/__tests__/WrapperOne.vue +0 -51
- package/src/components/menu/__tests__/WrapperTwo.vue +0 -38
- package/src/components/select/__tests__/QSelect.cy.js +0 -2018
- package/src/components/table/__tests__/QTable.cy.js +0 -635
- package/src/components/table/__tests__/QTd.cy.js +0 -35
- package/src/components/table/__tests__/QTh.cy.js +0 -27
- package/src/components/table/__tests__/QTr.cy.js +0 -27
- package/src/components/tabs/__tests__/QTab.cy.js +0 -79
- package/src/components/tabs/__tests__/QTabs.cy.js +0 -147
- package/src/components/uploader/__tests__/QUploader.cy.js +0 -191
- package/src/composables/__tests__/FieldWrapper.vue +0 -54
- package/src/composables/__tests__/use-anchor.cy.js +0 -98
- package/src/composables/__tests__/use-field.cy.js +0 -547
- package/src/composables/__tests__/use-file.cy.js +0 -69
- package/src/composables/__tests__/use-fullscreen.cy.js +0 -37
- package/src/composables/__tests__/use-model-toggle.cy.js +0 -350
- package/src/composables/__tests__/use-portal.cy.js +0 -4
- package/src/composables/__tests__/use-router-link.cy.js +0 -55
- package/src/composables/__tests__/use-validate.cy.js +0 -257
package/dist/types/index.d.ts
CHANGED
|
@@ -4086,6 +4086,10 @@ export interface QBtnDropdownProps {
|
|
|
4086
4086
|
* Allows the menu to not be dismissed by a click/tap outside of the menu or by hitting the ESC key; Also, an app route change won't dismiss it
|
|
4087
4087
|
*/
|
|
4088
4088
|
persistent?: boolean | undefined;
|
|
4089
|
+
/**
|
|
4090
|
+
* User cannot dismiss the popup by hitting ESC key; No need to set it if 'persistent' prop is also set
|
|
4091
|
+
*/
|
|
4092
|
+
noEscDismiss?: boolean | undefined;
|
|
4089
4093
|
/**
|
|
4090
4094
|
* Changing route app won't dismiss the popup; No need to set it if 'persistent' prop is also set
|
|
4091
4095
|
*/
|
|
@@ -4094,6 +4098,14 @@ export interface QBtnDropdownProps {
|
|
|
4094
4098
|
* Allows any click/tap in the menu to close it; Useful instead of attaching events to each menu item that should close the menu on click/tap
|
|
4095
4099
|
*/
|
|
4096
4100
|
autoClose?: boolean | undefined;
|
|
4101
|
+
/**
|
|
4102
|
+
* (Accessibility) When the dropdown gets hidden, do not refocus on the DOM element that previously had focus
|
|
4103
|
+
*/
|
|
4104
|
+
noRefocus?: boolean | undefined;
|
|
4105
|
+
/**
|
|
4106
|
+
* (Accessibility) When the dropdown gets shown, do not switch focus on it
|
|
4107
|
+
*/
|
|
4108
|
+
noFocus?: boolean | undefined;
|
|
4097
4109
|
/**
|
|
4098
4110
|
* Two values setting the starting position or anchor point of the menu relative to its target
|
|
4099
4111
|
* Default value: 'bottom end'
|
|
@@ -5730,7 +5742,7 @@ export interface QDialogProps {
|
|
|
5730
5742
|
*/
|
|
5731
5743
|
onShake?: () => void;
|
|
5732
5744
|
/**
|
|
5733
|
-
* Emitted when ESC key is pressed; Does not get emitted if Dialog is 'persistent' or it has 'no-esc-
|
|
5745
|
+
* Emitted when ESC key is pressed; Does not get emitted if Dialog is 'persistent' or it has 'no-esc-dismiss' set
|
|
5734
5746
|
*/
|
|
5735
5747
|
onEscapeKey?: () => void;
|
|
5736
5748
|
}
|
|
@@ -8830,6 +8842,10 @@ export interface QMenuProps {
|
|
|
8830
8842
|
* Allows the menu to not be dismissed by a click/tap outside of the menu or by hitting the ESC key; Also, an app route change won't dismiss it
|
|
8831
8843
|
*/
|
|
8832
8844
|
persistent?: boolean | undefined;
|
|
8845
|
+
/**
|
|
8846
|
+
* User cannot dismiss the popup by hitting ESC key; No need to set it if 'persistent' prop is also set
|
|
8847
|
+
*/
|
|
8848
|
+
noEscDismiss?: boolean | undefined;
|
|
8833
8849
|
/**
|
|
8834
8850
|
* Changing route app won't dismiss the popup; No need to set it if 'persistent' prop is also set
|
|
8835
8851
|
*/
|
|
@@ -8890,7 +8906,7 @@ export interface QMenuProps {
|
|
|
8890
8906
|
*/
|
|
8891
8907
|
onBeforeHide?: (evt: Event) => void;
|
|
8892
8908
|
/**
|
|
8893
|
-
* Emitted when ESC key is pressed; Does not get emitted if Menu is 'persistent'
|
|
8909
|
+
* Emitted when ESC key is pressed; Does not get emitted if Menu is 'persistent' or it has 'no-esc-dismiss' set
|
|
8894
8910
|
*/
|
|
8895
8911
|
onEscapeKey?: () => void;
|
|
8896
8912
|
}
|
|
@@ -8967,22 +8983,10 @@ export interface QOptionGroupProps {
|
|
|
8967
8983
|
*/
|
|
8968
8984
|
modelValue: any;
|
|
8969
8985
|
/**
|
|
8970
|
-
* Array of objects
|
|
8986
|
+
* Array of objects that the binary components will be created from. For best performance reference a variable in your scope. Canonical form of each object is with 'label' (String), 'value' (Any) and optional 'disable' (Boolean) props (can be customized with options-value/option-label/option-disable props) along with any other props from QToggle, QCheckbox, or QRadio.
|
|
8971
8987
|
* Default value: []
|
|
8972
8988
|
*/
|
|
8973
8989
|
options?: {
|
|
8974
|
-
/**
|
|
8975
|
-
* Label to display along the component
|
|
8976
|
-
*/
|
|
8977
|
-
label: string;
|
|
8978
|
-
/**
|
|
8979
|
-
* Value of the option that will be used by the component model
|
|
8980
|
-
*/
|
|
8981
|
-
value: any;
|
|
8982
|
-
/**
|
|
8983
|
-
* If true, the option will be disabled
|
|
8984
|
-
*/
|
|
8985
|
-
disable?: boolean;
|
|
8986
8990
|
/**
|
|
8987
8991
|
* Any other props from QToggle, QCheckbox, or QRadio
|
|
8988
8992
|
*/
|
|
@@ -10796,7 +10800,7 @@ export interface QSelectProps {
|
|
|
10796
10800
|
*/
|
|
10797
10801
|
displayValueHtml?: boolean | undefined;
|
|
10798
10802
|
/**
|
|
10799
|
-
*
|
|
10803
|
+
* Array of objects with available options that the user can select from. For best performance freeze the list of options. Canonical form of each object is with 'label' (String), 'value' (Any) and optional 'disable' (Boolean) props (can be customized with options-value/option-label/option-disable props).
|
|
10800
10804
|
* Default value: []
|
|
10801
10805
|
*/
|
|
10802
10806
|
options?: readonly any[] | undefined;
|
|
@@ -10931,7 +10935,7 @@ export interface QSelectProps {
|
|
|
10931
10935
|
*/
|
|
10932
10936
|
maxlength?: string | number | undefined;
|
|
10933
10937
|
/**
|
|
10934
|
-
* Fills the input with current value; Useful along with 'hide-selected'; Does NOT
|
|
10938
|
+
* Fills the input with current value; Useful along with 'hide-selected'; Does NOT work along with 'multiple' selection
|
|
10935
10939
|
*/
|
|
10936
10940
|
fillInput?: boolean | undefined;
|
|
10937
10941
|
/**
|
|
@@ -13039,6 +13043,18 @@ export interface QTableProps {
|
|
|
13039
13043
|
* CSS classes to apply to header of native HTML <table> (which is a TR)
|
|
13040
13044
|
*/
|
|
13041
13045
|
tableHeaderClass?: VueClassProp | undefined;
|
|
13046
|
+
/**
|
|
13047
|
+
* CSS style to apply to the table rows (which are TR elements); For best performance, reference it from your scope and do not define it inline
|
|
13048
|
+
* @param row The current row being processed
|
|
13049
|
+
* @returns CSS style to apply to the row
|
|
13050
|
+
*/
|
|
13051
|
+
tableRowStyleFn?: ((row: any) => string) | undefined;
|
|
13052
|
+
/**
|
|
13053
|
+
* CSS class(es) to apply the table rows (which are TR elements); For best performance, reference it from your scope and do not define it inline
|
|
13054
|
+
* @param row The current row being processed
|
|
13055
|
+
* @returns CSS class(es) to apply to the row, space separated
|
|
13056
|
+
*/
|
|
13057
|
+
tableRowClassFn?: ((row: any) => string) | undefined;
|
|
13042
13058
|
/**
|
|
13043
13059
|
* CSS style to apply to the cards container (when in grid mode)
|
|
13044
13060
|
*/
|
|
@@ -13055,6 +13071,18 @@ export interface QTableProps {
|
|
|
13055
13071
|
* CSS classes to apply to the card (when in grid mode) or container card (when not in grid mode)
|
|
13056
13072
|
*/
|
|
13057
13073
|
cardClass?: VueClassProp | undefined;
|
|
13074
|
+
/**
|
|
13075
|
+
* (Grid mode only) CSS style to apply to the row/record card; Has no effect when the 'item' slot is used; For best performance, reference it from your scope and do not define it inline
|
|
13076
|
+
* @param row The current row/record being processed
|
|
13077
|
+
* @returns CSS style to apply to the row/record
|
|
13078
|
+
*/
|
|
13079
|
+
cardStyleFn?: ((row: any) => string) | undefined;
|
|
13080
|
+
/**
|
|
13081
|
+
* (Grid mode only) CSS class(es) to apply the row/record card; Has no effect when the 'item' slot is used; For best performance, reference it from your scope and do not define it inline
|
|
13082
|
+
* @param row The current row/record being processed
|
|
13083
|
+
* @returns CSS class(es) to apply to the row, space separated
|
|
13084
|
+
*/
|
|
13085
|
+
cardClassFn?: ((row: any) => string) | undefined;
|
|
13058
13086
|
/**
|
|
13059
13087
|
* CSS classes to apply to the title (if using 'title' prop)
|
|
13060
13088
|
*/
|
|
@@ -13195,6 +13223,10 @@ export interface QTableProps {
|
|
|
13195
13223
|
* How many rows per page? 0 means Infinite
|
|
13196
13224
|
*/
|
|
13197
13225
|
rowsPerPage: number;
|
|
13226
|
+
/**
|
|
13227
|
+
* For server-side fetching only. How many total database rows are there to be added to the table.
|
|
13228
|
+
*/
|
|
13229
|
+
rowsNumber?: number;
|
|
13198
13230
|
};
|
|
13199
13231
|
/**
|
|
13200
13232
|
* String/Object to filter table with (the 'filter' prop)
|
|
@@ -13414,6 +13446,10 @@ export interface QTableSlots {
|
|
|
13414
13446
|
* Internal prop passed down to QTr (if used)
|
|
13415
13447
|
*/
|
|
13416
13448
|
__trClass: string;
|
|
13449
|
+
/**
|
|
13450
|
+
* Internal prop passed down to QTr (if used)
|
|
13451
|
+
*/
|
|
13452
|
+
__trStyle?: string;
|
|
13417
13453
|
}) => VNode[];
|
|
13418
13454
|
/**
|
|
13419
13455
|
* Slot to define how all body cells look like; Suggestion: QTd
|
|
@@ -13820,6 +13856,10 @@ export interface QTableSlots {
|
|
|
13820
13856
|
* How many rows per page? 0 means Infinite
|
|
13821
13857
|
*/
|
|
13822
13858
|
rowsPerPage: number;
|
|
13859
|
+
/**
|
|
13860
|
+
* For server-side fetching only. How many total database rows are there to be added to the table.
|
|
13861
|
+
*/
|
|
13862
|
+
rowsNumber?: number;
|
|
13823
13863
|
};
|
|
13824
13864
|
/**
|
|
13825
13865
|
* Number of pages available
|
|
@@ -13883,6 +13923,10 @@ export interface QTableSlots {
|
|
|
13883
13923
|
* How many rows per page? 0 means Infinite
|
|
13884
13924
|
*/
|
|
13885
13925
|
rowsPerPage: number;
|
|
13926
|
+
/**
|
|
13927
|
+
* For server-side fetching only. How many total database rows are there to be added to the table.
|
|
13928
|
+
*/
|
|
13929
|
+
rowsNumber?: number;
|
|
13886
13930
|
};
|
|
13887
13931
|
/**
|
|
13888
13932
|
* Number of pages available
|
|
@@ -13946,6 +13990,10 @@ export interface QTableSlots {
|
|
|
13946
13990
|
* How many rows per page? 0 means Infinite
|
|
13947
13991
|
*/
|
|
13948
13992
|
rowsPerPage: number;
|
|
13993
|
+
/**
|
|
13994
|
+
* For server-side fetching only. How many total database rows are there to be added to the table.
|
|
13995
|
+
*/
|
|
13996
|
+
rowsNumber?: number;
|
|
13949
13997
|
};
|
|
13950
13998
|
/**
|
|
13951
13999
|
* Number of pages available
|
|
@@ -14009,6 +14057,10 @@ export interface QTableSlots {
|
|
|
14009
14057
|
* How many rows per page? 0 means Infinite
|
|
14010
14058
|
*/
|
|
14011
14059
|
rowsPerPage: number;
|
|
14060
|
+
/**
|
|
14061
|
+
* For server-side fetching only. How many total database rows are there to be added to the table.
|
|
14062
|
+
*/
|
|
14063
|
+
rowsNumber?: number;
|
|
14012
14064
|
};
|
|
14013
14065
|
/**
|
|
14014
14066
|
* Number of pages available
|
|
@@ -14072,6 +14124,10 @@ export interface QTableSlots {
|
|
|
14072
14124
|
* How many rows per page? 0 means Infinite
|
|
14073
14125
|
*/
|
|
14074
14126
|
rowsPerPage: number;
|
|
14127
|
+
/**
|
|
14128
|
+
* For server-side fetching only. How many total database rows are there to be added to the table.
|
|
14129
|
+
*/
|
|
14130
|
+
rowsNumber?: number;
|
|
14075
14131
|
};
|
|
14076
14132
|
/**
|
|
14077
14133
|
* Number of pages available
|
|
@@ -14135,6 +14191,10 @@ export interface QTableSlots {
|
|
|
14135
14191
|
* How many rows per page? 0 means Infinite
|
|
14136
14192
|
*/
|
|
14137
14193
|
rowsPerPage: number;
|
|
14194
|
+
/**
|
|
14195
|
+
* For server-side fetching only. How many total database rows are there to be added to the table.
|
|
14196
|
+
*/
|
|
14197
|
+
rowsNumber?: number;
|
|
14138
14198
|
};
|
|
14139
14199
|
/**
|
|
14140
14200
|
* Number of pages available
|
|
@@ -14186,6 +14246,10 @@ export interface QTableSlots {
|
|
|
14186
14246
|
* The suggested icon name (following Quasar convention)
|
|
14187
14247
|
*/
|
|
14188
14248
|
icon: string;
|
|
14249
|
+
/**
|
|
14250
|
+
* String/Object to filter table with (the 'filter' prop)
|
|
14251
|
+
*/
|
|
14252
|
+
filter: string | any;
|
|
14189
14253
|
}) => VNode[];
|
|
14190
14254
|
}
|
|
14191
14255
|
|
|
@@ -14270,6 +14334,10 @@ export interface QTable extends ComponentPublicInstance<QTableProps> {
|
|
|
14270
14334
|
* How many rows per page? 0 means Infinite
|
|
14271
14335
|
*/
|
|
14272
14336
|
rowsPerPage?: number;
|
|
14337
|
+
/**
|
|
14338
|
+
* For server-side fetching only. How many total database rows are there to be added to the table.
|
|
14339
|
+
*/
|
|
14340
|
+
rowsNumber?: number;
|
|
14273
14341
|
},
|
|
14274
14342
|
forceServerRequest?: boolean,
|
|
14275
14343
|
) => void;
|
|
@@ -17637,6 +17705,7 @@ declare module "./lang" {
|
|
|
17637
17705
|
tr: true;
|
|
17638
17706
|
ug: true;
|
|
17639
17707
|
uk: true;
|
|
17708
|
+
"ur-PK": true;
|
|
17640
17709
|
"uz-Cyrl": true;
|
|
17641
17710
|
"uz-Latn": true;
|
|
17642
17711
|
vi: true;
|