quasar 2.17.6 → 2.17.7
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/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 +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/bs-BA.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-CH.umd.prod.js +1 -1
- package/dist/lang/de-DE.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/hi.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/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/mk.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-MY.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/tl.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.client.js +19 -9
- package/dist/quasar.sass +1 -1
- package/dist/quasar.server.prod.cjs +39 -39
- package/dist/quasar.server.prod.js +39 -39
- package/dist/quasar.umd.js +19 -9
- package/dist/quasar.umd.prod.js +41 -41
- package/dist/types/index.d.ts +34 -14
- package/dist/vetur/quasar-attributes.json +1 -1
- package/dist/web-types/web-types.json +1 -1
- package/package.json +2 -2
- package/src/components/date/QDate.js +13 -6
- package/src/components/option-group/QOptionGroup.json +1 -17
- package/src/components/select/QSelect.json +1 -1
- package/src/components/table/QTable.js +7 -0
- package/src/components/table/QTable.json +40 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quasar",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.7",
|
|
4
4
|
"description": "Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/quasar.client.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"cssnano": "^7.0.6",
|
|
66
66
|
"diff": "^5.2.0",
|
|
67
67
|
"esbuild": "^0.24.0",
|
|
68
|
-
"eslint": "^8.57.
|
|
68
|
+
"eslint": "^8.57.1",
|
|
69
69
|
"fs-extra": "^11.2.0",
|
|
70
70
|
"kolorist": "^1.8.0",
|
|
71
71
|
"open": "^10.1.0",
|
|
@@ -703,7 +703,7 @@ export default createComponent({
|
|
|
703
703
|
))
|
|
704
704
|
|
|
705
705
|
watch(() => props.modelValue, v => {
|
|
706
|
-
if (lastEmitValue === v) {
|
|
706
|
+
if (lastEmitValue === JSON.stringify(v)) {
|
|
707
707
|
lastEmitValue = 0
|
|
708
708
|
}
|
|
709
709
|
else {
|
|
@@ -732,6 +732,10 @@ export default createComponent({
|
|
|
732
732
|
innerLocale.value = val
|
|
733
733
|
})
|
|
734
734
|
|
|
735
|
+
function setLastValue (v) {
|
|
736
|
+
lastEmitValue = JSON.stringify(v)
|
|
737
|
+
}
|
|
738
|
+
|
|
735
739
|
function setToday () {
|
|
736
740
|
const { year, month, day } = today.value
|
|
737
741
|
|
|
@@ -958,9 +962,9 @@ export default createComponent({
|
|
|
958
962
|
? val[ 0 ]
|
|
959
963
|
: val
|
|
960
964
|
|
|
961
|
-
lastEmitValue = value
|
|
962
|
-
|
|
963
965
|
const { reason, details } = getEmitParams(action, date)
|
|
966
|
+
|
|
967
|
+
setLastValue(value)
|
|
964
968
|
emit('update:modelValue', value, reason, details)
|
|
965
969
|
}
|
|
966
970
|
|
|
@@ -981,9 +985,9 @@ export default createComponent({
|
|
|
981
985
|
date.day = Math.min(Math.max(1, date.day), maxDay)
|
|
982
986
|
|
|
983
987
|
const value = encodeEntry(date)
|
|
984
|
-
lastEmitValue = value
|
|
985
|
-
|
|
986
988
|
const { details } = getEmitParams('', date)
|
|
989
|
+
|
|
990
|
+
setLastValue(value)
|
|
987
991
|
emit('update:modelValue', value, reason, details)
|
|
988
992
|
})
|
|
989
993
|
}
|
|
@@ -1080,7 +1084,10 @@ export default createComponent({
|
|
|
1080
1084
|
: entry.dateHash !== null
|
|
1081
1085
|
})
|
|
1082
1086
|
|
|
1083
|
-
|
|
1087
|
+
const value = (props.multiple === true ? model : model[ 0 ]) || null
|
|
1088
|
+
|
|
1089
|
+
setLastValue(value)
|
|
1090
|
+
emit('update:modelValue', value, reason)
|
|
1084
1091
|
}
|
|
1085
1092
|
|
|
1086
1093
|
function getHeader () {
|
|
@@ -14,25 +14,9 @@
|
|
|
14
14
|
|
|
15
15
|
"options": {
|
|
16
16
|
"type": "Array",
|
|
17
|
-
"desc": "Array of objects
|
|
17
|
+
"desc": "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.",
|
|
18
18
|
"default": "[]",
|
|
19
19
|
"definition": {
|
|
20
|
-
"label": {
|
|
21
|
-
"type": "String",
|
|
22
|
-
"desc": "Label to display along the component",
|
|
23
|
-
"required": true,
|
|
24
|
-
"examples": [ "'Option 1'", "'Option 2'", "'Option 3'" ]
|
|
25
|
-
},
|
|
26
|
-
"value": {
|
|
27
|
-
"type": "Any",
|
|
28
|
-
"desc": "Value of the option that will be used by the component model",
|
|
29
|
-
"required": true,
|
|
30
|
-
"examples": [ "'op1'", "'op2'", "'op3'" ]
|
|
31
|
-
},
|
|
32
|
-
"disable": {
|
|
33
|
-
"type": "Boolean",
|
|
34
|
-
"desc": "If true, the option will be disabled"
|
|
35
|
-
},
|
|
36
20
|
"...props": {
|
|
37
21
|
"type": "Any",
|
|
38
22
|
"desc": "Any other props from QToggle, QCheckbox, or QRadio",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
"options": {
|
|
36
36
|
"type": "Array",
|
|
37
|
-
"desc": "
|
|
37
|
+
"desc": "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).",
|
|
38
38
|
"default": "[]",
|
|
39
39
|
"examples": [
|
|
40
40
|
"[ 'Tesla', 'iPhone' ]",
|
|
@@ -948,6 +948,7 @@ export default createComponent({
|
|
|
948
948
|
if (
|
|
949
949
|
props.onRowClick !== void 0
|
|
950
950
|
|| props.onRowDblclick !== void 0
|
|
951
|
+
|| props.onRowContextmenu !== void 0
|
|
951
952
|
) {
|
|
952
953
|
data.class[ 0 ] += ' cursor-pointer'
|
|
953
954
|
|
|
@@ -962,6 +963,12 @@ export default createComponent({
|
|
|
962
963
|
emit('RowDblclick', evt, scope.row, scope.pageIndex)
|
|
963
964
|
}
|
|
964
965
|
}
|
|
966
|
+
|
|
967
|
+
if (props.onRowContextmenu !== void 0) {
|
|
968
|
+
data.onContextmenu = evt => {
|
|
969
|
+
emit('rowContextmenu', evt, scope.row, scope.pageIndex)
|
|
970
|
+
}
|
|
971
|
+
}
|
|
965
972
|
}
|
|
966
973
|
|
|
967
974
|
return h('div', {
|
|
@@ -1349,6 +1349,11 @@
|
|
|
1349
1349
|
"type": "Number",
|
|
1350
1350
|
"required": true,
|
|
1351
1351
|
"desc": "How many rows per page? 0 means Infinite"
|
|
1352
|
+
},
|
|
1353
|
+
"rowsNumber": {
|
|
1354
|
+
"type": "Number",
|
|
1355
|
+
"required": false,
|
|
1356
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table."
|
|
1352
1357
|
}
|
|
1353
1358
|
}
|
|
1354
1359
|
},
|
|
@@ -1428,6 +1433,11 @@
|
|
|
1428
1433
|
"type": "Number",
|
|
1429
1434
|
"required": true,
|
|
1430
1435
|
"desc": "How many rows per page? 0 means Infinite"
|
|
1436
|
+
},
|
|
1437
|
+
"rowsNumber": {
|
|
1438
|
+
"type": "Number",
|
|
1439
|
+
"required": false,
|
|
1440
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table."
|
|
1431
1441
|
}
|
|
1432
1442
|
}
|
|
1433
1443
|
},
|
|
@@ -1507,6 +1517,11 @@
|
|
|
1507
1517
|
"type": "Number",
|
|
1508
1518
|
"required": true,
|
|
1509
1519
|
"desc": "How many rows per page? 0 means Infinite"
|
|
1520
|
+
},
|
|
1521
|
+
"rowsNumber": {
|
|
1522
|
+
"type": "Number",
|
|
1523
|
+
"required": false,
|
|
1524
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table."
|
|
1510
1525
|
}
|
|
1511
1526
|
}
|
|
1512
1527
|
},
|
|
@@ -1586,6 +1601,11 @@
|
|
|
1586
1601
|
"type": "Number",
|
|
1587
1602
|
"required": true,
|
|
1588
1603
|
"desc": "How many rows per page? 0 means Infinite"
|
|
1604
|
+
},
|
|
1605
|
+
"rowsNumber": {
|
|
1606
|
+
"type": "Number",
|
|
1607
|
+
"required": false,
|
|
1608
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table."
|
|
1589
1609
|
}
|
|
1590
1610
|
}
|
|
1591
1611
|
},
|
|
@@ -1665,6 +1685,11 @@
|
|
|
1665
1685
|
"type": "Number",
|
|
1666
1686
|
"required": true,
|
|
1667
1687
|
"desc": "How many rows per page? 0 means Infinite"
|
|
1688
|
+
},
|
|
1689
|
+
"rowsNumber": {
|
|
1690
|
+
"type": "Number",
|
|
1691
|
+
"required": false,
|
|
1692
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table."
|
|
1668
1693
|
}
|
|
1669
1694
|
}
|
|
1670
1695
|
},
|
|
@@ -1744,6 +1769,11 @@
|
|
|
1744
1769
|
"type": "Number",
|
|
1745
1770
|
"required": true,
|
|
1746
1771
|
"desc": "How many rows per page? 0 means Infinite"
|
|
1772
|
+
},
|
|
1773
|
+
"rowsNumber": {
|
|
1774
|
+
"type": "Number",
|
|
1775
|
+
"required": false,
|
|
1776
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table."
|
|
1747
1777
|
}
|
|
1748
1778
|
}
|
|
1749
1779
|
},
|
|
@@ -1903,6 +1933,11 @@
|
|
|
1903
1933
|
"type": "Number",
|
|
1904
1934
|
"required": true,
|
|
1905
1935
|
"desc": "How many rows per page? 0 means Infinite"
|
|
1936
|
+
},
|
|
1937
|
+
"rowsNumber": {
|
|
1938
|
+
"type": "Number",
|
|
1939
|
+
"required": false,
|
|
1940
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table."
|
|
1906
1941
|
}
|
|
1907
1942
|
}
|
|
1908
1943
|
},
|
|
@@ -2177,6 +2212,11 @@
|
|
|
2177
2212
|
"rowsPerPage": {
|
|
2178
2213
|
"type": "Number",
|
|
2179
2214
|
"desc": "How many rows per page? 0 means Infinite"
|
|
2215
|
+
},
|
|
2216
|
+
"rowsNumber": {
|
|
2217
|
+
"type": "Number",
|
|
2218
|
+
"required": false,
|
|
2219
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table."
|
|
2180
2220
|
}
|
|
2181
2221
|
}
|
|
2182
2222
|
},
|