quasar 2.11.6 → 2.11.8
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/BottomSheet.json +13 -0
- package/dist/api/QCarousel.json +9 -0
- package/dist/api/QEditor.json +49 -0
- package/dist/api/QTable.json +9 -0
- 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 +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/eu.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 +2 -2
- package/dist/lang/kk.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/mm.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.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/sm.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/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.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 +2 -2
- package/dist/quasar.esm.js +127 -75
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +2 -2
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +17 -5
- package/dist/quasar.umd.js +127 -75
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/transforms/auto-import.json +47 -3
- package/dist/transforms/import-map.json +22 -0
- package/dist/types/index.d.ts +43 -0
- package/dist/web-types/web-types.json +92 -1
- package/lang/ja.js +1 -1
- package/lang/ja.mjs +1 -1
- package/package.json +9 -6
- package/src/components/avatar/__tests__/{QAvatar.spec.js → QAvatar.cy.js} +7 -8
- package/src/components/badge/__tests__/{QBadge.spec.js → QBadge.cy.js} +1 -2
- package/src/components/banner/__tests__/{QBanner.spec.js → QBanner.cy.js} +7 -8
- package/src/components/bar/__tests__/{QBar.spec.js → QBar.cy.js} +3 -4
- package/src/components/breadcrumbs/__tests__/{QBreadcrumbs.spec.js → QBreadcrumbs.cy.js} +8 -9
- package/src/components/breadcrumbs/__tests__/{QBreadcrumbsEl.spec.js → QBreadcrumbsEl.cy.js} +5 -6
- package/src/components/btn/__tests__/{QBtn.spec.js → QBtn.cy.js} +4 -5
- package/src/components/btn/__tests__/{use-btn.spec.js → use-btn.cy.js} +1 -2
- package/src/components/chip/__tests__/{QChip.spec.js → QChip.cy.js} +1 -2
- package/src/components/date/QDate.js +10 -9
- package/src/components/dialog-bottom-sheet/BottomSheet.js +2 -0
- package/src/components/editor/QEditor.js +6 -1
- package/src/components/editor/QEditor.json +40 -0
- package/src/components/editor/editor-utils.js +5 -1
- package/src/components/field/QField.sass +16 -4
- package/src/components/input/QInput.js +24 -7
- package/src/components/input/use-mask.js +72 -50
- package/src/components/menu/__tests__/{QMenu.spec.js → QMenu.cy.js} +29 -30
- package/src/components/select/QSelect.js +2 -1
- package/src/components/select/__tests__/{QSelect.spec.js → QSelect.cy.js} +2 -3
- package/src/components/table/QTable.js +1 -1
- package/src/components/tree/QTree.js +2 -2
- package/src/components/uploader/__tests__/{QUploader.spec.js → QUploader.cy.js} +1 -2
- package/src/composables/private/__tests__/{use-anchor.spec.js → use-anchor.cy.js} +7 -8
- package/src/composables/private/__tests__/{use-field.spec.js → use-field.cy.js} +7 -8
- package/src/composables/private/__tests__/{use-model-toggle.spec.js → use-model-toggle.cy.js} +17 -18
- package/src/composables/private/__tests__/{use-size.spec.js → use-size.cy.js} +4 -5
- package/src/composables/private/__tests__/{use-transition.spec.js → use-transition.cy.js} +9 -10
- package/src/composables/private/__tests__/{use-validate.spec.js → use-validate.cy.js} +5 -6
- package/src/composables/private/use-fullscreen.json +12 -0
- package/src/plugins/BottomSheet.json +8 -0
- /package/src/components/date/__tests__/{QDate.spec.js → QDate.cy.js} +0 -0
- /package/src/components/dialog/__tests__/{QDialog.spec.js → QDialog.cy.js} +0 -0
- /package/src/components/editor/__tests__/{QEditor.spec.js → QEditor.cy.js} +0 -0
- /package/src/components/input/__tests__/{QInput.spec.js → QInput.cy.js} +0 -0
- /package/src/components/input/__tests__/{use-mask.spec.js → use-mask.cy.js} +0 -0
- /package/src/components/table/__tests__/{QTable.spec.js → QTable.cy.js} +0 -0
- /package/src/components/table/__tests__/{QTd.spec.js → QTd.cy.js} +0 -0
- /package/src/components/table/__tests__/{QTh.spec.js → QTh.cy.js} +0 -0
- /package/src/components/table/__tests__/{QTr.spec.js → QTr.cy.js} +0 -0
- /package/src/components/tabs/__tests__/{QRouteTab.spec.js → QRouteTab.cy.js} +0 -0
- /package/src/components/tabs/__tests__/{QTab.spec.js → QTab.cy.js} +0 -0
- /package/src/components/tabs/__tests__/{QTabs.spec.js → QTabs.cy.js} +0 -0
- /package/src/composables/private/__tests__/{use-file.spec.js → use-file.cy.js} +0 -0
- /package/src/composables/private/__tests__/{use-form.spec.js → use-form.cy.js} +0 -0
- /package/src/composables/private/__tests__/{use-fullscreen.spec.js → use-fullscreen.cy.js} +0 -0
- /package/src/composables/private/__tests__/{use-portal.spec.js → use-portal.cy.js} +0 -0
- /package/src/composables/private/__tests__/{use-router-link.spec.js → use-router-link.cy.js} +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import WrapperOne from './../../../components/menu/__tests__/WrapperOne.vue'
|
|
1
|
+
import WrapperOne from '../../../components/menu/__tests__/WrapperOne.vue'
|
|
3
2
|
|
|
4
3
|
describe('use-transition API', () => {
|
|
5
4
|
describe('Props', () => {
|
|
6
5
|
describe('Category: transition', () => {
|
|
7
6
|
describe('(prop): transition-show', () => {
|
|
8
7
|
it('should use the fade transition by default', () => {
|
|
9
|
-
mount(WrapperOne)
|
|
8
|
+
cy.mount(WrapperOne)
|
|
10
9
|
cy.dataCy('wrapper')
|
|
11
10
|
.click()
|
|
12
11
|
cy.dataCy('menu', { timeout: 0 }) // Disable retry
|
|
@@ -15,7 +14,7 @@ describe('use-transition API', () => {
|
|
|
15
14
|
|
|
16
15
|
it('should use a different show transition if defined', () => {
|
|
17
16
|
const transition = 'scale'
|
|
18
|
-
mount(WrapperOne, {
|
|
17
|
+
cy.mount(WrapperOne, {
|
|
19
18
|
props: {
|
|
20
19
|
transitionShow: transition
|
|
21
20
|
}
|
|
@@ -29,7 +28,7 @@ describe('use-transition API', () => {
|
|
|
29
28
|
|
|
30
29
|
describe('(prop): transition-hide', () => {
|
|
31
30
|
it('should use the fade transition by default', () => {
|
|
32
|
-
mount(WrapperOne)
|
|
31
|
+
cy.mount(WrapperOne)
|
|
33
32
|
cy.dataCy('wrapper')
|
|
34
33
|
.click()
|
|
35
34
|
cy.dataCy('menu')
|
|
@@ -42,7 +41,7 @@ describe('use-transition API', () => {
|
|
|
42
41
|
|
|
43
42
|
it('should use a different hide transition if defined', () => {
|
|
44
43
|
const transition = 'scale'
|
|
45
|
-
mount(WrapperOne, {
|
|
44
|
+
cy.mount(WrapperOne, {
|
|
46
45
|
props: {
|
|
47
46
|
transitionHide: transition
|
|
48
47
|
}
|
|
@@ -60,7 +59,7 @@ describe('use-transition API', () => {
|
|
|
60
59
|
|
|
61
60
|
describe('(prop): transition-duration', () => {
|
|
62
61
|
it('should be done with transitioning after 300ms passed', () => {
|
|
63
|
-
mount(WrapperOne)
|
|
62
|
+
cy.mount(WrapperOne)
|
|
64
63
|
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
65
64
|
cy.dataCy('wrapper')
|
|
66
65
|
.click()
|
|
@@ -70,7 +69,7 @@ describe('use-transition API', () => {
|
|
|
70
69
|
})
|
|
71
70
|
|
|
72
71
|
it('should not be done with transitioning before 300ms passed', () => {
|
|
73
|
-
mount(WrapperOne)
|
|
72
|
+
cy.mount(WrapperOne)
|
|
74
73
|
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
75
74
|
cy.dataCy('wrapper')
|
|
76
75
|
.click()
|
|
@@ -80,7 +79,7 @@ describe('use-transition API', () => {
|
|
|
80
79
|
})
|
|
81
80
|
|
|
82
81
|
it('should be done after a custom 1000ms passed', () => {
|
|
83
|
-
mount(WrapperOne, {
|
|
82
|
+
cy.mount(WrapperOne, {
|
|
84
83
|
props: {
|
|
85
84
|
transitionDuration: 1000
|
|
86
85
|
}
|
|
@@ -94,7 +93,7 @@ describe('use-transition API', () => {
|
|
|
94
93
|
})
|
|
95
94
|
|
|
96
95
|
it('should not be done before a custom 1000ms passed', () => {
|
|
97
|
-
mount(WrapperOne, {
|
|
96
|
+
cy.mount(WrapperOne, {
|
|
98
97
|
props: {
|
|
99
98
|
transitionDuration: 1000
|
|
100
99
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { mount } from '@cypress/vue'
|
|
2
1
|
import FieldWrapper from './FieldWrapper.vue'
|
|
3
|
-
import Icons from '
|
|
2
|
+
import Icons from '../../../../icon-set/material-icons.mjs'
|
|
4
3
|
|
|
5
4
|
// const snapshotOptions = { customSnapshotsDir: '../__tests__' }
|
|
6
5
|
|
|
@@ -36,7 +35,7 @@ describe('use-validate API', () => {
|
|
|
36
35
|
describe('(prop): error-message', () => {
|
|
37
36
|
it('should show an error-message when error is true', () => {
|
|
38
37
|
const message = 'Please select something'
|
|
39
|
-
mount(FieldWrapper, {
|
|
38
|
+
cy.mount(FieldWrapper, {
|
|
40
39
|
props: {
|
|
41
40
|
error: true,
|
|
42
41
|
errorMessage: message
|
|
@@ -48,7 +47,7 @@ describe('use-validate API', () => {
|
|
|
48
47
|
|
|
49
48
|
it('should not show an error-message when error is false', () => {
|
|
50
49
|
const message = 'Please select something'
|
|
51
|
-
mount(FieldWrapper, {
|
|
50
|
+
cy.mount(FieldWrapper, {
|
|
52
51
|
props: {
|
|
53
52
|
error: false,
|
|
54
53
|
errorMessage: message
|
|
@@ -61,7 +60,7 @@ describe('use-validate API', () => {
|
|
|
61
60
|
|
|
62
61
|
describe('(prop): no-error-icon', () => {
|
|
63
62
|
it('should not show an error icon when error is true', () => {
|
|
64
|
-
mount(FieldWrapper, {
|
|
63
|
+
cy.mount(FieldWrapper, {
|
|
65
64
|
props: {
|
|
66
65
|
error: true,
|
|
67
66
|
noErrorIcon: true
|
|
@@ -73,7 +72,7 @@ describe('use-validate API', () => {
|
|
|
73
72
|
})
|
|
74
73
|
|
|
75
74
|
it('should show an error icon when error is true an no-error-icon is false', () => {
|
|
76
|
-
mount(FieldWrapper, {
|
|
75
|
+
cy.mount(FieldWrapper, {
|
|
77
76
|
props: {
|
|
78
77
|
error: true,
|
|
79
78
|
noErrorIcon: false
|
|
@@ -17,6 +17,18 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
|
|
20
|
+
"events": {
|
|
21
|
+
"fullscreen": {
|
|
22
|
+
"desc": "Emitted when fullscreen state changes",
|
|
23
|
+
"params": {
|
|
24
|
+
"value": {
|
|
25
|
+
"type": "Boolean",
|
|
26
|
+
"desc": "Fullscreen state (showing/hidden)"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
|
|
20
32
|
"methods": {
|
|
21
33
|
"toggleFullscreen": {
|
|
22
34
|
"desc": "Toggle the view to be fullscreen or not fullscreen"
|
|
@@ -38,6 +38,14 @@
|
|
|
38
38
|
"examples": [ "my-class" ]
|
|
39
39
|
},
|
|
40
40
|
|
|
41
|
+
"style": {
|
|
42
|
+
"type": [ "String", "Array", "Object" ],
|
|
43
|
+
"tsType": "VueStyleProp",
|
|
44
|
+
"desc": "Style definitions to be attributed to this action element",
|
|
45
|
+
"examples": [ "{ padding: '2px' }" ],
|
|
46
|
+
"addedIn": "v2.11.7"
|
|
47
|
+
},
|
|
48
|
+
|
|
41
49
|
"icon": {
|
|
42
50
|
"extends": "icon"
|
|
43
51
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/composables/private/__tests__/{use-router-link.spec.js → use-router-link.cy.js}
RENAMED
|
File without changes
|