quasar 2.4.12 → 2.4.13
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 +4 -0
- package/dist/api/Dialog.json +5 -1
- package/dist/api/Notify.json +20 -10
- package/dist/api/QBtnDropdown.json +4 -2
- package/dist/api/QEditor.json +4 -2
- package/dist/api/QExpansionItem.json +6 -3
- package/dist/api/QFab.json +4 -2
- package/dist/api/QFabAction.json +4 -2
- package/dist/api/QFile.json +4 -2
- package/dist/api/QImg.json +1 -2
- package/dist/api/QInnerLoading.json +2 -1
- package/dist/api/QInput.json +4 -2
- package/dist/api/QPagination.json +4 -2
- package/dist/api/QRange.json +9 -0
- package/dist/api/QScrollArea.json +13 -5
- package/dist/api/QSelect.json +6 -3
- package/dist/api/QSlider.json +9 -0
- package/dist/api/QSplitter.json +8 -4
- 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/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/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/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.esm.prod.js +2 -2
- package/dist/quasar.sass +1 -1
- package/dist/quasar.umd.js +10 -8
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/api/slider.d.ts +6 -7
- package/dist/types/api/vue-prop-types.ts +15 -0
- package/dist/types/api.d.ts +1 -0
- package/dist/types/index.d.ts +75 -171
- package/dist/types/utils/dom.d.ts +4 -2
- package/dist/types/utils.d.ts +3 -1
- package/dist/vetur/quasar-attributes.json +30 -30
- package/dist/web-types/web-types.json +31 -31
- package/package.json +1 -1
- package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
- package/src/components/editor/QEditor.json +3 -1
- package/src/components/expansion-item/QExpansionItem.json +6 -3
- package/src/components/fab/use-fab.json +4 -2
- package/src/components/file/QFile.json +4 -2
- package/src/components/img/QImg.json +2 -3
- package/src/components/inner-loading/QInnerLoading.json +2 -1
- package/src/components/input/QInput.json +4 -2
- package/src/components/pagination/QPagination.json +4 -2
- package/src/components/scroll-area/QScrollArea.json +13 -5
- package/src/components/select/QSelect.json +6 -3
- package/src/components/slider/use-slider.json +9 -0
- package/src/components/splitter/QSplitter.json +8 -4
- package/src/components/stepper/QStep.js +1 -1
- package/src/components/table/QTable.json +9 -0
- package/src/components/virtual-scroll/use-virtual-scroll.js +6 -4
- package/src/plugins/BottomSheet.json +1 -0
- package/src/plugins/Dialog.json +1 -0
- package/src/plugins/Notify.json +20 -10
- package/src/utils/private/global-dialog.json +3 -0
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
},
|
|
42
42
|
|
|
43
43
|
"label-style": {
|
|
44
|
-
"type": [ "
|
|
44
|
+
"type": [ "String", "Array", "Object" ],
|
|
45
|
+
"tsType": "VueStyleProp",
|
|
45
46
|
"desc": "Apply custom style to the label; Works along the 'label' prop only",
|
|
46
47
|
"examples": [
|
|
47
48
|
"font-size: 28px",
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
|
|
55
55
|
"input-class": {
|
|
56
|
-
"type": [ "
|
|
56
|
+
"type": [ "String", "Array", "Object" ],
|
|
57
|
+
"tsType": "VueClassProp",
|
|
57
58
|
"desc": "Class definitions to be attributed to the underlying input tag",
|
|
58
59
|
"examples": [
|
|
59
60
|
"my-special-class",
|
|
@@ -63,7 +64,8 @@
|
|
|
63
64
|
},
|
|
64
65
|
|
|
65
66
|
"input-style": {
|
|
66
|
-
"type": [ "
|
|
67
|
+
"type": [ "String", "Array", "Object" ],
|
|
68
|
+
"tsType": "VueStyleProp",
|
|
67
69
|
"desc": "Style definitions to be attributed to the underlying input tag",
|
|
68
70
|
"examples": [
|
|
69
71
|
"background-color: #ff0000",
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
},
|
|
52
52
|
|
|
53
53
|
"input-style": {
|
|
54
|
-
"type": [ "
|
|
54
|
+
"type": [ "String", "Array", "Object" ],
|
|
55
|
+
"tsType": "VueStyleProp",
|
|
55
56
|
"desc": "Style definitions to be attributed to the input (if using one)",
|
|
56
57
|
"examples": [
|
|
57
58
|
"background-color: #ff0000",
|
|
@@ -61,7 +62,8 @@
|
|
|
61
62
|
},
|
|
62
63
|
|
|
63
64
|
"input-class": {
|
|
64
|
-
"type": [ "
|
|
65
|
+
"type": [ "String", "Array", "Object" ],
|
|
66
|
+
"tsType": "VueClassProp",
|
|
65
67
|
"desc": "Class definitions to be attributed to the input (if using one)",
|
|
66
68
|
"examples": [
|
|
67
69
|
"my-special-class",
|
|
@@ -9,21 +9,24 @@
|
|
|
9
9
|
},
|
|
10
10
|
|
|
11
11
|
"bar-style": {
|
|
12
|
-
"type": [ "
|
|
12
|
+
"type": [ "String", "Array", "Object" ],
|
|
13
|
+
"tsType": "VueStyleProp",
|
|
13
14
|
"desc": "Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)",
|
|
14
15
|
"examples": [ ":bar-style=\"{ borderRadius: '5px', background: 'red', opacity: 1 }\"" ],
|
|
15
16
|
"category": "style"
|
|
16
17
|
},
|
|
17
18
|
|
|
18
19
|
"vertical-bar-style": {
|
|
19
|
-
"type": [ "
|
|
20
|
+
"type": [ "String", "Array", "Object" ],
|
|
21
|
+
"tsType": "VueStyleProp",
|
|
20
22
|
"desc": "Object with CSS properties and values for custom styling the vertical scrollbar; Is applied on top of 'bar-style' prop",
|
|
21
23
|
"examples": [ ":bar-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\"" ],
|
|
22
24
|
"category": "style"
|
|
23
25
|
},
|
|
24
26
|
|
|
25
27
|
"horizontal-bar-style": {
|
|
26
|
-
"type": [ "
|
|
28
|
+
"type": [ "String", "Array", "Object" ],
|
|
29
|
+
"tsType": "VueStyleProp",
|
|
27
30
|
"desc": "Object with CSS properties and values for custom styling the horizontal scrollbar; Is applied on top of 'bar-style' prop",
|
|
28
31
|
"examples": [ ":bar-style=\"{ bottom: '4px', borderRadius: '5px', background: 'red', height: '10px', opacity: 1 }\"" ],
|
|
29
32
|
"category": "style"
|
|
@@ -31,6 +34,7 @@
|
|
|
31
34
|
|
|
32
35
|
"thumb-style": {
|
|
33
36
|
"type": "Object",
|
|
37
|
+
"tsType": "VueStyleObjectProp",
|
|
34
38
|
"desc": "Object with CSS properties and values for custom styling the thumb of scrollbars (both vertical and horizontal)",
|
|
35
39
|
"examples": [ ":thumb-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\"" ],
|
|
36
40
|
"category": "style"
|
|
@@ -38,6 +42,7 @@
|
|
|
38
42
|
|
|
39
43
|
"vertical-thumb-style": {
|
|
40
44
|
"type": "Object",
|
|
45
|
+
"tsType": "VueStyleObjectProp",
|
|
41
46
|
"desc": "Object with CSS properties and values for custom styling the thumb of the vertical scrollbar; Is applied on top of 'thumb-style' prop",
|
|
42
47
|
"examples": [ ":thumb-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\"" ],
|
|
43
48
|
"category": "style"
|
|
@@ -45,20 +50,23 @@
|
|
|
45
50
|
|
|
46
51
|
"horizontal-thumb-style": {
|
|
47
52
|
"type": "Object",
|
|
53
|
+
"tsType": "VueStyleObjectProp",
|
|
48
54
|
"desc": "Object with CSS properties and values for custom styling the thumb of the horizontal scrollbar; Is applied on top of 'thumb-style' prop",
|
|
49
55
|
"examples": [ ":thumb-style=\"{ bottom: '4px', borderRadius: '5px', background: 'red', height: '10px', opacity: 1 }\"" ],
|
|
50
56
|
"category": "style"
|
|
51
57
|
},
|
|
52
58
|
|
|
53
59
|
"content-style": {
|
|
54
|
-
"type": [ "
|
|
60
|
+
"type": [ "String", "Array", "Object" ],
|
|
61
|
+
"tsType": "VueStyleProp",
|
|
55
62
|
"desc": "Object with CSS properties and values for styling the container of QScrollArea",
|
|
56
63
|
"examples": [ ":content-style=\"{ backgroundColor: '#C0C0C0' }\"" ],
|
|
57
64
|
"category": "style"
|
|
58
65
|
},
|
|
59
66
|
|
|
60
67
|
"content-active-style": {
|
|
61
|
-
"type": [ "
|
|
68
|
+
"type": [ "String", "Array", "Object" ],
|
|
69
|
+
"tsType": "VueStyleProp",
|
|
62
70
|
"desc": "Object with CSS properties and values for styling the container of QScrollArea when scroll area becomes active (is mouse hovered)",
|
|
63
71
|
"examples": [ ":content-active-style=\"{ backgroundColor: 'white' }\"" ],
|
|
64
72
|
"category": "style"
|
|
@@ -224,7 +224,8 @@
|
|
|
224
224
|
},
|
|
225
225
|
|
|
226
226
|
"popup-content-style": {
|
|
227
|
-
"type": [ "
|
|
227
|
+
"type": [ "String", "Array", "Object" ],
|
|
228
|
+
"tsType": "VueStyleProp",
|
|
228
229
|
"desc": "Style definitions to be attributed to the popup content",
|
|
229
230
|
"examples": [
|
|
230
231
|
"background-color: #ff0000",
|
|
@@ -279,7 +280,8 @@
|
|
|
279
280
|
},
|
|
280
281
|
|
|
281
282
|
"input-class": {
|
|
282
|
-
"type": [ "
|
|
283
|
+
"type": [ "String", "Array", "Object" ],
|
|
284
|
+
"tsType": "VueClassProp",
|
|
283
285
|
"desc": "Class definitions to be attributed to the underlying input tag",
|
|
284
286
|
"examples": [
|
|
285
287
|
"my-special-class",
|
|
@@ -289,7 +291,8 @@
|
|
|
289
291
|
},
|
|
290
292
|
|
|
291
293
|
"input-style": {
|
|
292
|
-
"type": [ "
|
|
294
|
+
"type": [ "String", "Array", "Object" ],
|
|
295
|
+
"tsType": "VueStyleProp",
|
|
293
296
|
"desc": "Style definitions to be attributed to the underlying input tag",
|
|
294
297
|
"examples": [
|
|
295
298
|
"background-color: #ff0000",
|
|
@@ -164,11 +164,13 @@
|
|
|
164
164
|
},
|
|
165
165
|
"classes": {
|
|
166
166
|
"type": [ "String", "Array", "Object" ],
|
|
167
|
+
"tsType": "VueClassProp",
|
|
167
168
|
"desc": "CSS classes to be attributed to the marker label",
|
|
168
169
|
"examples": [ "my-class-name" ]
|
|
169
170
|
},
|
|
170
171
|
"style": {
|
|
171
172
|
"type": "Object",
|
|
173
|
+
"tsType": "VueStyleObjectProp",
|
|
172
174
|
"desc": "Style definitions to be attributed to the marker label",
|
|
173
175
|
"examples": [ "{ height: '24px' }" ]
|
|
174
176
|
}
|
|
@@ -197,11 +199,13 @@
|
|
|
197
199
|
},
|
|
198
200
|
"classes": {
|
|
199
201
|
"type": [ "String", "Array", "Object" ],
|
|
202
|
+
"tsType": "VueClassProp",
|
|
200
203
|
"desc": "CSS classes to be attributed to the marker label",
|
|
201
204
|
"examples": [ "my-class-name" ]
|
|
202
205
|
},
|
|
203
206
|
"style": {
|
|
204
207
|
"type": "Object",
|
|
208
|
+
"tsType": "VueStyleObjectProp",
|
|
205
209
|
"desc": "Style definitions to be attributed to the marker label",
|
|
206
210
|
"examples": [ "{ height: '24px' }" ]
|
|
207
211
|
}
|
|
@@ -317,6 +321,7 @@
|
|
|
317
321
|
},
|
|
318
322
|
"style": {
|
|
319
323
|
"type": "Object",
|
|
324
|
+
"tsType": "VueStyleObjectProp",
|
|
320
325
|
"desc": "Style definitions to be attributed to the marker label",
|
|
321
326
|
"examples": [ "{ height: '24px' }" ]
|
|
322
327
|
}
|
|
@@ -350,6 +355,7 @@
|
|
|
350
355
|
},
|
|
351
356
|
"style": {
|
|
352
357
|
"type": "Object",
|
|
358
|
+
"tsType": "VueStyleObjectProp",
|
|
353
359
|
"desc": "Style definitions to be attributed to the marker label",
|
|
354
360
|
"examples": [ "{ height: '24px' }" ]
|
|
355
361
|
}
|
|
@@ -387,6 +393,7 @@
|
|
|
387
393
|
},
|
|
388
394
|
"style": {
|
|
389
395
|
"type": "Object",
|
|
396
|
+
"tsType": "VueStyleObjectProp",
|
|
390
397
|
"desc": "Style definitions to be attributed to the marker label",
|
|
391
398
|
"examples": [ "{ height: '24px' }" ]
|
|
392
399
|
}
|
|
@@ -453,6 +460,7 @@
|
|
|
453
460
|
},
|
|
454
461
|
"style": {
|
|
455
462
|
"type": "Object",
|
|
463
|
+
"tsType": "VueStyleObjectProp",
|
|
456
464
|
"desc": "Style definitions to be attributed to the marker label",
|
|
457
465
|
"examples": [ "{ height: '24px' }" ]
|
|
458
466
|
}
|
|
@@ -490,6 +498,7 @@
|
|
|
490
498
|
},
|
|
491
499
|
"style": {
|
|
492
500
|
"type": "Object",
|
|
501
|
+
"tsType": "VueStyleObjectProp",
|
|
493
502
|
"desc": "Style definitions to be attributed to the marker label",
|
|
494
503
|
"examples": [ "{ height: '24px' }" ]
|
|
495
504
|
}
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
|
|
52
52
|
"before-class": {
|
|
53
|
-
"type": [ "
|
|
53
|
+
"type": [ "String", "Array", "Object" ],
|
|
54
|
+
"tsType": "VueClassProp",
|
|
54
55
|
"desc": "Class definitions to be attributed to the 'before' panel",
|
|
55
56
|
"examples": [
|
|
56
57
|
"bg-deep-orange",
|
|
@@ -60,7 +61,8 @@
|
|
|
60
61
|
},
|
|
61
62
|
|
|
62
63
|
"after-class": {
|
|
63
|
-
"type": [ "
|
|
64
|
+
"type": [ "String", "Array", "Object" ],
|
|
65
|
+
"tsType": "VueClassProp",
|
|
64
66
|
"desc": "Class definitions to be attributed to the 'after' panel",
|
|
65
67
|
"examples": [
|
|
66
68
|
"bg-deep-orange",
|
|
@@ -70,7 +72,8 @@
|
|
|
70
72
|
},
|
|
71
73
|
|
|
72
74
|
"separator-class": {
|
|
73
|
-
"type": [ "
|
|
75
|
+
"type": [ "String", "Array", "Object" ],
|
|
76
|
+
"tsType": "VueClassProp",
|
|
74
77
|
"desc": "Class definitions to be attributed to the splitter separator",
|
|
75
78
|
"examples": [
|
|
76
79
|
"bg-deep-orange",
|
|
@@ -80,7 +83,8 @@
|
|
|
80
83
|
},
|
|
81
84
|
|
|
82
85
|
"separator-style": {
|
|
83
|
-
"type": [ "
|
|
86
|
+
"type": [ "String", "Array", "Object" ],
|
|
87
|
+
"tsType": "VueStyleProp",
|
|
84
88
|
"desc": "Style definitions to be attributed to the splitter separator",
|
|
85
89
|
"examples": [
|
|
86
90
|
"background-color: #ff0000",
|
|
@@ -70,7 +70,7 @@ export default createComponent({
|
|
|
70
70
|
const isActive = computed(() => $stepper.value.modelValue === props.name)
|
|
71
71
|
|
|
72
72
|
const scrollEvent = computed(() => (
|
|
73
|
-
($q.platform.is.ios !== true && $q.platform.is.
|
|
73
|
+
($q.platform.is.ios !== true && $q.platform.is.chrome === true)
|
|
74
74
|
|| isActive.value !== true
|
|
75
75
|
|| $stepper.value.vertical !== true
|
|
76
76
|
? {}
|
|
@@ -482,6 +482,7 @@
|
|
|
482
482
|
|
|
483
483
|
"table-style": {
|
|
484
484
|
"type": [ "String", "Array", "Object" ],
|
|
485
|
+
"tsType": "VueStyleProp",
|
|
485
486
|
"desc": "CSS style to apply to native HTML <table> element's wrapper (which is a DIV)",
|
|
486
487
|
"examples": [
|
|
487
488
|
"background-color: #ff0000",
|
|
@@ -492,6 +493,7 @@
|
|
|
492
493
|
|
|
493
494
|
"table-class": {
|
|
494
495
|
"type": [ "String", "Array", "Object" ],
|
|
496
|
+
"tsType": "VueClassProp",
|
|
495
497
|
"desc": "CSS classes to apply to native HTML <table> element's wrapper (which is a DIV)",
|
|
496
498
|
"examples": [
|
|
497
499
|
"my-special-class",
|
|
@@ -502,6 +504,7 @@
|
|
|
502
504
|
|
|
503
505
|
"table-header-style": {
|
|
504
506
|
"type": [ "String", "Array", "Object" ],
|
|
507
|
+
"tsType": "VueStyleProp",
|
|
505
508
|
"desc": "CSS style to apply to header of native HTML <table> (which is a TR)",
|
|
506
509
|
"examples": [
|
|
507
510
|
"background-color: #ff0000",
|
|
@@ -512,6 +515,7 @@
|
|
|
512
515
|
|
|
513
516
|
"table-header-class": {
|
|
514
517
|
"type": [ "String", "Array", "Object" ],
|
|
518
|
+
"tsType": "VueClassProp",
|
|
515
519
|
"desc": "CSS classes to apply to header of native HTML <table> (which is a TR)",
|
|
516
520
|
"examples": [
|
|
517
521
|
"my-special-class",
|
|
@@ -522,6 +526,7 @@
|
|
|
522
526
|
|
|
523
527
|
"card-container-style": {
|
|
524
528
|
"type": [ "String", "Array", "Object" ],
|
|
529
|
+
"tsType": "VueStyleProp",
|
|
525
530
|
"desc": "CSS style to apply to the cards container (when in grid mode)",
|
|
526
531
|
"examples": [
|
|
527
532
|
"background-color: #ff0000",
|
|
@@ -532,6 +537,7 @@
|
|
|
532
537
|
|
|
533
538
|
"card-container-class": {
|
|
534
539
|
"type": [ "String", "Array", "Object" ],
|
|
540
|
+
"tsType": "VueClassProp",
|
|
535
541
|
"desc": "CSS classes to apply to the cards container (when in grid mode)",
|
|
536
542
|
"examples": [
|
|
537
543
|
"my-special-class",
|
|
@@ -543,6 +549,7 @@
|
|
|
543
549
|
|
|
544
550
|
"card-style": {
|
|
545
551
|
"type": [ "String", "Array", "Object" ],
|
|
552
|
+
"tsType": "VueStyleProp",
|
|
546
553
|
"desc": "CSS style to apply to the card (when in grid mode) or container card (when not in grid mode)",
|
|
547
554
|
"examples": [
|
|
548
555
|
"background-color: #ff0000",
|
|
@@ -553,6 +560,7 @@
|
|
|
553
560
|
|
|
554
561
|
"card-class": {
|
|
555
562
|
"type": [ "String", "Array", "Object" ],
|
|
563
|
+
"tsType": "VueClassProp",
|
|
556
564
|
"desc": "CSS classes to apply to the card (when in grid mode) or container card (when not in grid mode)",
|
|
557
565
|
"examples": [
|
|
558
566
|
"my-special-class",
|
|
@@ -563,6 +571,7 @@
|
|
|
563
571
|
|
|
564
572
|
"title-class": {
|
|
565
573
|
"type": [ "String", "Array", "Object" ],
|
|
574
|
+
"tsType": "VueClassProp",
|
|
566
575
|
"desc": "CSS classes to apply to the title (if using 'title' prop)",
|
|
567
576
|
"examples": [
|
|
568
577
|
"my-special-class",
|
|
@@ -591,7 +591,9 @@ export function useVirtualScroll ({
|
|
|
591
591
|
|
|
592
592
|
localScrollViewSize = scrollViewSize
|
|
593
593
|
|
|
594
|
-
const
|
|
594
|
+
const virtualScrollSliceRatioBefore = parseFloat(props.virtualScrollSliceRatioBefore) || 0
|
|
595
|
+
const virtualScrollSliceRatioAfter = parseFloat(props.virtualScrollSliceRatioAfter) || 0
|
|
596
|
+
const multiplier = 1 + virtualScrollSliceRatioBefore + virtualScrollSliceRatioAfter
|
|
595
597
|
const view = scrollViewSize === void 0 || scrollViewSize <= 0
|
|
596
598
|
? 1
|
|
597
599
|
: Math.ceil(scrollViewSize / virtualScrollItemSizeComputed.value)
|
|
@@ -604,9 +606,9 @@ export function useVirtualScroll ({
|
|
|
604
606
|
|
|
605
607
|
virtualScrollSliceSizeComputed.value = {
|
|
606
608
|
total: Math.ceil(baseSize * multiplier),
|
|
607
|
-
start: Math.ceil(baseSize *
|
|
608
|
-
center: Math.ceil(baseSize * (0.5 +
|
|
609
|
-
end: Math.ceil(baseSize * (1 +
|
|
609
|
+
start: Math.ceil(baseSize * virtualScrollSliceRatioBefore),
|
|
610
|
+
center: Math.ceil(baseSize * (0.5 + virtualScrollSliceRatioBefore)),
|
|
611
|
+
end: Math.ceil(baseSize * (1 + virtualScrollSliceRatioBefore)),
|
|
610
612
|
view
|
|
611
613
|
}
|
|
612
614
|
}
|
package/src/plugins/Dialog.json
CHANGED
package/src/plugins/Notify.json
CHANGED
|
@@ -254,7 +254,8 @@
|
|
|
254
254
|
]
|
|
255
255
|
},
|
|
256
256
|
"badgeStyle": {
|
|
257
|
-
"type": [ "
|
|
257
|
+
"type": [ "String", "Array", "Object" ],
|
|
258
|
+
"tsType": "VueStyleProp",
|
|
258
259
|
"desc": "Style definitions to be attributed to the badge",
|
|
259
260
|
"examples": [
|
|
260
261
|
"background-color: #ff0000",
|
|
@@ -262,7 +263,8 @@
|
|
|
262
263
|
]
|
|
263
264
|
},
|
|
264
265
|
"badgeClass": {
|
|
265
|
-
"type": [ "
|
|
266
|
+
"type": [ "String", "Array", "Object" ],
|
|
267
|
+
"tsType": "VueClassProp",
|
|
266
268
|
"desc": "Class definitions to be attributed to the badge",
|
|
267
269
|
"examples": [
|
|
268
270
|
"my-special-class",
|
|
@@ -275,7 +277,8 @@
|
|
|
275
277
|
"desc": "Show progress bar to detail when notification will disappear automatically (unless timeout is 0)"
|
|
276
278
|
},
|
|
277
279
|
"progressClass": {
|
|
278
|
-
"type": [ "
|
|
280
|
+
"type": [ "String", "Array", "Object" ],
|
|
281
|
+
"tsType": "VueClassProp",
|
|
279
282
|
"desc": "Class definitions to be attributed to the progress bar",
|
|
280
283
|
"examples": [
|
|
281
284
|
"my-special-class",
|
|
@@ -406,7 +409,8 @@
|
|
|
406
409
|
"desc": "Show progress bar to detail when notification will disappear automatically (unless timeout is 0)"
|
|
407
410
|
},
|
|
408
411
|
"progressClass": {
|
|
409
|
-
"type": [ "
|
|
412
|
+
"type": [ "String", "Array", "Object" ],
|
|
413
|
+
"tsType": "VueClassProp",
|
|
410
414
|
"desc": "Class definitions to be attributed to the progress bar",
|
|
411
415
|
"examples": [
|
|
412
416
|
"my-special-class",
|
|
@@ -566,7 +570,8 @@
|
|
|
566
570
|
"examples": [ "bottom-right" ]
|
|
567
571
|
},
|
|
568
572
|
"badgeStyle": {
|
|
569
|
-
"type": [ "
|
|
573
|
+
"type": [ "String", "Array", "Object" ],
|
|
574
|
+
"tsType": "VueStyleProp",
|
|
570
575
|
"desc": "Style definitions to be attributed to the badge",
|
|
571
576
|
"examples": [
|
|
572
577
|
"background-color: #ff0000",
|
|
@@ -574,7 +579,8 @@
|
|
|
574
579
|
]
|
|
575
580
|
},
|
|
576
581
|
"badgeClass": {
|
|
577
|
-
"type": [ "
|
|
582
|
+
"type": [ "String", "Array", "Object" ],
|
|
583
|
+
"tsType": "VueClassProp",
|
|
578
584
|
"desc": "Class definitions to be attributed to the badge",
|
|
579
585
|
"examples": [
|
|
580
586
|
"my-special-class",
|
|
@@ -587,7 +593,8 @@
|
|
|
587
593
|
"desc": "Show progress bar to detail when notification will disappear automatically (unless timeout is 0)"
|
|
588
594
|
},
|
|
589
595
|
"progressClass": {
|
|
590
|
-
"type": [ "
|
|
596
|
+
"type": [ "String", "Array", "Object" ],
|
|
597
|
+
"tsType": "VueClassProp",
|
|
591
598
|
"desc": "Class definitions to be attributed to the progress bar",
|
|
592
599
|
"examples": [
|
|
593
600
|
"my-special-class",
|
|
@@ -746,7 +753,8 @@
|
|
|
746
753
|
"examples": [ "bottom-right" ]
|
|
747
754
|
},
|
|
748
755
|
"badgeStyle": {
|
|
749
|
-
"type": [ "
|
|
756
|
+
"type": [ "String", "Array", "Object" ],
|
|
757
|
+
"tsType": "VueStyleProp",
|
|
750
758
|
"desc": "Style definitions to be attributed to the badge",
|
|
751
759
|
"examples": [
|
|
752
760
|
"background-color: #ff0000",
|
|
@@ -754,7 +762,8 @@
|
|
|
754
762
|
]
|
|
755
763
|
},
|
|
756
764
|
"badgeClass": {
|
|
757
|
-
"type": [ "
|
|
765
|
+
"type": [ "String", "Array", "Object" ],
|
|
766
|
+
"tsType": "VueClassProp",
|
|
758
767
|
"desc": "Class definitions to be attributed to the badge",
|
|
759
768
|
"examples": [
|
|
760
769
|
"my-special-class",
|
|
@@ -767,7 +776,8 @@
|
|
|
767
776
|
"desc": "Show progress bar to detail when notification will disappear automatically (unless timeout is 0)"
|
|
768
777
|
},
|
|
769
778
|
"progressClass": {
|
|
770
|
-
"type": [ "
|
|
779
|
+
"type": [ "String", "Array", "Object" ],
|
|
780
|
+
"tsType": "VueClassProp",
|
|
771
781
|
"desc": "Class definitions to be attributed to the progress bar",
|
|
772
782
|
"examples": [
|
|
773
783
|
"my-special-class",
|
|
@@ -9,12 +9,14 @@
|
|
|
9
9
|
"definition": {
|
|
10
10
|
"class": {
|
|
11
11
|
"type": [ "String", "Array", "Object" ],
|
|
12
|
+
"tsType": "VueClassProp",
|
|
12
13
|
"desc": "CSS Class name to apply to the Dialog's QCard",
|
|
13
14
|
"examples": [ "my-class" ]
|
|
14
15
|
},
|
|
15
16
|
|
|
16
17
|
"style": {
|
|
17
18
|
"type": [ "String", "Array", "Object" ],
|
|
19
|
+
"tsType": "VueStyleProp",
|
|
18
20
|
"desc": "CSS style to apply to the Dialog's QCard",
|
|
19
21
|
"examples": [ "border: 2px solid black" ]
|
|
20
22
|
}
|
|
@@ -26,6 +28,7 @@
|
|
|
26
28
|
"type": "Object",
|
|
27
29
|
"desc": "Chainable Object",
|
|
28
30
|
"tsType": "DialogChainObject",
|
|
31
|
+
"autoDefineTsType": true,
|
|
29
32
|
"definition": {
|
|
30
33
|
"onOk": {
|
|
31
34
|
"type": "Function",
|