quasar 2.12.6 → 2.13.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/QField.json +0 -3
- package/dist/api/QSelect.json +1 -1
- package/dist/api/QTable.json +54 -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 +2 -2
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +2 -2
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +2 -2
- package/dist/icon-set/svg-material-icons.umd.prod.js +2 -2
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +2 -2
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +2 -2
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +2 -2
- 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-CH.umd.prod.js +6 -0
- package/dist/lang/de-DE.umd.prod.js +6 -0
- 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.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.addon.prod.css +1 -1
- package/dist/quasar.addon.rtl.prod.css +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.esm.js +122 -48
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +1 -1
- package/dist/quasar.umd.js +122 -48
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/types/index.d.ts +13 -3
- package/dist/vetur/quasar-attributes.json +1 -1
- package/dist/web-types/web-types.json +2 -6
- package/lang/de-CH.js +98 -0
- package/lang/de-CH.mjs +93 -0
- package/lang/de-DE.js +98 -0
- package/lang/de-DE.mjs +93 -0
- package/lang/index.json +8 -0
- package/package.json +4 -3
- package/src/components/field/__tests__/QField.cy.js +156 -0
- package/src/components/input/use-mask.js +6 -1
- package/src/components/scroll-area/QScrollArea.js +16 -1
- package/src/components/select/QSelect.js +42 -17
- package/src/components/select/QSelect.json +1 -1
- package/src/components/select/__tests__/QSelect.cy.js +2 -1
- package/src/components/slider/use-slider.js +13 -12
- package/src/components/table/QTable.json +38 -1
- package/src/components/table/table-sort.js +5 -0
- package/src/components/time/QTime.js +16 -3
- package/src/components/tree/QTree.js +22 -12
- package/src/composables/private/__tests__/FieldWrapper.vue +17 -2
- package/src/composables/private/__tests__/use-field.cy.js +334 -137
- package/src/composables/private/__tests__/use-validate.cy.js +162 -15
package/dist/quasar.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.
|
|
2
|
+
* Quasar Framework v2.13.0
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1651,7 +1651,7 @@ function prepareApp (app, uiOpts, pluginOpts) {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
|
|
1653
1653
|
var installQuasar = function (parentApp, opts = {}) {
|
|
1654
|
-
const $q = { version: '2.
|
|
1654
|
+
const $q = { version: '2.13.0' };
|
|
1655
1655
|
|
|
1656
1656
|
if (globalConfigIsFrozen === false) {
|
|
1657
1657
|
if (opts.config !== void 0) {
|
|
@@ -8921,9 +8921,12 @@ function useSlider ({ updateValue, updatePosition, getDragging, formAttrs }) {
|
|
|
8921
8921
|
+ (props.innerTrackColor !== void 0 ? ` bg-${ props.innerTrackColor }` : '')
|
|
8922
8922
|
);
|
|
8923
8923
|
const innerBarStyle = computed(() => {
|
|
8924
|
+
const innerDiff = innerMaxRatio.value - innerMinRatio.value;
|
|
8924
8925
|
const acc = {
|
|
8925
8926
|
[ positionProp.value ]: `${ 100 * innerMinRatio.value }%`,
|
|
8926
|
-
[ sizeProp.value ]:
|
|
8927
|
+
[ sizeProp.value ]: innerDiff === 0
|
|
8928
|
+
? '2px'
|
|
8929
|
+
: `${ 100 * innerDiff }%`
|
|
8927
8930
|
};
|
|
8928
8931
|
if (props.innerTrackImg !== void 0) {
|
|
8929
8932
|
acc.backgroundImage = `url(${ props.innerTrackImg }) !important`;
|
|
@@ -9017,18 +9020,16 @@ function useSlider ({ updateValue, updatePosition, getDragging, formAttrs }) {
|
|
|
9017
9020
|
}));
|
|
9018
9021
|
|
|
9019
9022
|
const markerStyle = computed(() => {
|
|
9020
|
-
|
|
9021
|
-
|
|
9023
|
+
const size = innerBarLen.value === 0
|
|
9024
|
+
? '2px'
|
|
9025
|
+
: 100 * markerStep.value / innerBarLen.value;
|
|
9022
9026
|
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
}
|
|
9027
|
+
return {
|
|
9028
|
+
...innerBarStyle.value,
|
|
9029
|
+
backgroundSize: props.vertical === true
|
|
9030
|
+
? `2px ${ size }%`
|
|
9031
|
+
: `${ size }% 2px`
|
|
9029
9032
|
}
|
|
9030
|
-
|
|
9031
|
-
return null
|
|
9032
9033
|
});
|
|
9033
9034
|
|
|
9034
9035
|
function getMarkerList (def) {
|
|
@@ -21618,7 +21619,12 @@ function useMask (props, emit, emitValue, inputRef) {
|
|
|
21618
21619
|
? unmaskValue(masked)
|
|
21619
21620
|
: masked;
|
|
21620
21621
|
|
|
21621
|
-
|
|
21622
|
+
if (
|
|
21623
|
+
String(props.modelValue) !== val
|
|
21624
|
+
&& (props.modelValue !== null || val !== '')
|
|
21625
|
+
) {
|
|
21626
|
+
emitValue(val, true);
|
|
21627
|
+
}
|
|
21622
21628
|
}
|
|
21623
21629
|
|
|
21624
21630
|
function moveCursorForPaste (inp, start, end) {
|
|
@@ -26299,11 +26305,26 @@ var QScrollArea = createComponent({
|
|
|
26299
26305
|
targetRef.value[ dirProps[ axis ].scroll ] = offset;
|
|
26300
26306
|
}
|
|
26301
26307
|
|
|
26308
|
+
let mouseEventTimer = null;
|
|
26309
|
+
|
|
26302
26310
|
function onMouseenter () {
|
|
26303
|
-
|
|
26311
|
+
if (mouseEventTimer !== null) {
|
|
26312
|
+
clearTimeout(mouseEventTimer);
|
|
26313
|
+
}
|
|
26314
|
+
|
|
26315
|
+
// setTimeout needed for iOS; see ticket #16210
|
|
26316
|
+
mouseEventTimer = setTimeout(() => {
|
|
26317
|
+
mouseEventTimer = null;
|
|
26318
|
+
hover.value = true;
|
|
26319
|
+
}, proxy.$q.platform.is.ios ? 50 : 0);
|
|
26304
26320
|
}
|
|
26305
26321
|
|
|
26306
26322
|
function onMouseleave () {
|
|
26323
|
+
if (mouseEventTimer !== null) {
|
|
26324
|
+
clearTimeout(mouseEventTimer);
|
|
26325
|
+
mouseEventTimer = null;
|
|
26326
|
+
}
|
|
26327
|
+
|
|
26307
26328
|
hover.value = false;
|
|
26308
26329
|
}
|
|
26309
26330
|
|
|
@@ -27297,7 +27318,8 @@ var QSelect = createComponent({
|
|
|
27297
27318
|
const dialogFieldFocused = ref(false);
|
|
27298
27319
|
const innerLoadingIndicator = ref(false);
|
|
27299
27320
|
|
|
27300
|
-
let
|
|
27321
|
+
let filterTimer = null, inputValueTimer = null,
|
|
27322
|
+
innerValueCache,
|
|
27301
27323
|
hasDialog, userInputValue, filterId = null, defaultInputValue,
|
|
27302
27324
|
transitionShowComputed, searchBuffer, searchBufferExp;
|
|
27303
27325
|
|
|
@@ -27742,9 +27764,11 @@ var QSelect = createComponent({
|
|
|
27742
27764
|
scrollTo(index);
|
|
27743
27765
|
|
|
27744
27766
|
if (skipInputValue !== true && props.useInput === true && props.fillInput === true) {
|
|
27745
|
-
setInputValue(
|
|
27746
|
-
|
|
27747
|
-
|
|
27767
|
+
setInputValue(
|
|
27768
|
+
index >= 0
|
|
27769
|
+
? getOptionLabel.value(props.options[ index ])
|
|
27770
|
+
: defaultInputValue,
|
|
27771
|
+
true
|
|
27748
27772
|
);
|
|
27749
27773
|
}
|
|
27750
27774
|
}
|
|
@@ -27805,9 +27829,13 @@ var QSelect = createComponent({
|
|
|
27805
27829
|
|
|
27806
27830
|
e.target.value = '';
|
|
27807
27831
|
|
|
27808
|
-
if (
|
|
27809
|
-
clearTimeout(
|
|
27810
|
-
|
|
27832
|
+
if (filterTimer !== null) {
|
|
27833
|
+
clearTimeout(filterTimer);
|
|
27834
|
+
filterTimer = null;
|
|
27835
|
+
}
|
|
27836
|
+
if (inputValueTimer !== null) {
|
|
27837
|
+
clearTimeout(inputValueTimer);
|
|
27838
|
+
inputValueTimer = null;
|
|
27811
27839
|
}
|
|
27812
27840
|
|
|
27813
27841
|
resetInputValue();
|
|
@@ -27898,6 +27926,10 @@ var QSelect = createComponent({
|
|
|
27898
27926
|
// backspace
|
|
27899
27927
|
if (
|
|
27900
27928
|
e.keyCode === 8
|
|
27929
|
+
&& (
|
|
27930
|
+
props.useChips === true
|
|
27931
|
+
|| props.clearable === true
|
|
27932
|
+
)
|
|
27901
27933
|
&& props.hideSelected !== true
|
|
27902
27934
|
&& inputValue.value.length === 0
|
|
27903
27935
|
) {
|
|
@@ -27992,7 +28024,7 @@ var QSelect = createComponent({
|
|
|
27992
28024
|
scrollTo(index);
|
|
27993
28025
|
|
|
27994
28026
|
if (index >= 0 && props.useInput === true && props.fillInput === true) {
|
|
27995
|
-
setInputValue(getOptionLabel.value(props.options[ index ]));
|
|
28027
|
+
setInputValue(getOptionLabel.value(props.options[ index ]), true);
|
|
27996
28028
|
}
|
|
27997
28029
|
});
|
|
27998
28030
|
}
|
|
@@ -28178,9 +28210,13 @@ var QSelect = createComponent({
|
|
|
28178
28210
|
}
|
|
28179
28211
|
|
|
28180
28212
|
function onInput (e) {
|
|
28181
|
-
if (
|
|
28182
|
-
clearTimeout(
|
|
28183
|
-
|
|
28213
|
+
if (filterTimer !== null) {
|
|
28214
|
+
clearTimeout(filterTimer);
|
|
28215
|
+
filterTimer = null;
|
|
28216
|
+
}
|
|
28217
|
+
if (inputValueTimer !== null) {
|
|
28218
|
+
clearTimeout(inputValueTimer);
|
|
28219
|
+
inputValueTimer = null;
|
|
28184
28220
|
}
|
|
28185
28221
|
|
|
28186
28222
|
if (e && e.target && e.target.qComposing === true) {
|
|
@@ -28201,17 +28237,26 @@ var QSelect = createComponent({
|
|
|
28201
28237
|
}
|
|
28202
28238
|
|
|
28203
28239
|
if (props.onFilter !== void 0) {
|
|
28204
|
-
|
|
28205
|
-
|
|
28240
|
+
filterTimer = setTimeout(() => {
|
|
28241
|
+
filterTimer = null;
|
|
28206
28242
|
filter(inputValue.value);
|
|
28207
28243
|
}, props.inputDebounce);
|
|
28208
28244
|
}
|
|
28209
28245
|
}
|
|
28210
28246
|
|
|
28211
|
-
function setInputValue (val) {
|
|
28247
|
+
function setInputValue (val, emitImmediately) {
|
|
28212
28248
|
if (inputValue.value !== val) {
|
|
28213
28249
|
inputValue.value = val;
|
|
28214
|
-
|
|
28250
|
+
|
|
28251
|
+
if (emitImmediately === true || props.inputDebounce === 0 || props.inputDebounce === '0') {
|
|
28252
|
+
emit('inputValue', val);
|
|
28253
|
+
}
|
|
28254
|
+
else {
|
|
28255
|
+
inputValueTimer = setTimeout(() => {
|
|
28256
|
+
inputValueTimer = null;
|
|
28257
|
+
emit('inputValue', val);
|
|
28258
|
+
}, props.inputDebounce);
|
|
28259
|
+
}
|
|
28215
28260
|
}
|
|
28216
28261
|
}
|
|
28217
28262
|
|
|
@@ -28219,7 +28264,7 @@ var QSelect = createComponent({
|
|
|
28219
28264
|
userInputValue = internal !== true;
|
|
28220
28265
|
|
|
28221
28266
|
if (props.useInput === true) {
|
|
28222
|
-
setInputValue(val);
|
|
28267
|
+
setInputValue(val, true);
|
|
28223
28268
|
|
|
28224
28269
|
if (noFiltering === true || internal !== true) {
|
|
28225
28270
|
defaultInputValue = val;
|
|
@@ -28572,7 +28617,8 @@ var QSelect = createComponent({
|
|
|
28572
28617
|
updatePreState();
|
|
28573
28618
|
|
|
28574
28619
|
onBeforeUnmount(() => {
|
|
28575
|
-
|
|
28620
|
+
filterTimer !== null && clearTimeout(filterTimer);
|
|
28621
|
+
inputValueTimer !== null && clearTimeout(inputValueTimer);
|
|
28576
28622
|
});
|
|
28577
28623
|
|
|
28578
28624
|
// expose public methods
|
|
@@ -31896,6 +31942,9 @@ function useTableSort (props, computedPagination, colList, setPagination) {
|
|
|
31896
31942
|
A = val(a),
|
|
31897
31943
|
B = val(b);
|
|
31898
31944
|
|
|
31945
|
+
if (col.rawSort !== void 0) {
|
|
31946
|
+
return col.rawSort(A, B, a, b) * dir
|
|
31947
|
+
}
|
|
31899
31948
|
if (A === null || A === void 0) {
|
|
31900
31949
|
return -1 * dir
|
|
31901
31950
|
}
|
|
@@ -31903,6 +31952,8 @@ function useTableSort (props, computedPagination, colList, setPagination) {
|
|
|
31903
31952
|
return 1 * dir
|
|
31904
31953
|
}
|
|
31905
31954
|
if (col.sort !== void 0) {
|
|
31955
|
+
// gets called without rows that have null/undefined as value
|
|
31956
|
+
// due to the above two statements
|
|
31906
31957
|
return col.sort(A, B, a, b) * dir
|
|
31907
31958
|
}
|
|
31908
31959
|
if (isNumber(A) === true && isNumber(B) === true) {
|
|
@@ -34257,23 +34308,36 @@ var QTime = createComponent({
|
|
|
34257
34308
|
}
|
|
34258
34309
|
}
|
|
34259
34310
|
|
|
34311
|
+
function goToViewWhenHasModel (newView) {
|
|
34312
|
+
const model = props.modelValue;
|
|
34313
|
+
if (
|
|
34314
|
+
view.value !== newView
|
|
34315
|
+
&& model !== void 0
|
|
34316
|
+
&& model !== null
|
|
34317
|
+
&& model !== ''
|
|
34318
|
+
&& typeof model !== 'string'
|
|
34319
|
+
) {
|
|
34320
|
+
view.value = newView;
|
|
34321
|
+
}
|
|
34322
|
+
}
|
|
34323
|
+
|
|
34260
34324
|
function verifyAndUpdate () {
|
|
34261
34325
|
if (hourInSelection.value !== null && hourInSelection.value(innerModel.value.hour) !== true) {
|
|
34262
34326
|
innerModel.value = __splitDate();
|
|
34263
|
-
|
|
34327
|
+
goToViewWhenHasModel('hour');
|
|
34264
34328
|
return
|
|
34265
34329
|
}
|
|
34266
34330
|
|
|
34267
34331
|
if (minuteInSelection.value !== null && minuteInSelection.value(innerModel.value.minute) !== true) {
|
|
34268
34332
|
innerModel.value.minute = null;
|
|
34269
34333
|
innerModel.value.second = null;
|
|
34270
|
-
|
|
34334
|
+
goToViewWhenHasModel('minute');
|
|
34271
34335
|
return
|
|
34272
34336
|
}
|
|
34273
34337
|
|
|
34274
34338
|
if (props.withSeconds === true && secondInSelection.value !== null && secondInSelection.value(innerModel.value.second) !== true) {
|
|
34275
34339
|
innerModel.value.second = null;
|
|
34276
|
-
|
|
34340
|
+
goToViewWhenHasModel('second');
|
|
34277
34341
|
return
|
|
34278
34342
|
}
|
|
34279
34343
|
|
|
@@ -35135,6 +35199,7 @@ var QTree = createComponent({
|
|
|
35135
35199
|
let body = node.body
|
|
35136
35200
|
? slots[ `body-${ node.body }` ] || slots[ 'default-body' ]
|
|
35137
35201
|
: slots[ 'default-body' ];
|
|
35202
|
+
|
|
35138
35203
|
const slotScope = header !== void 0 || body !== void 0
|
|
35139
35204
|
? getSlotScope(node, m, key)
|
|
35140
35205
|
: null;
|
|
@@ -35158,6 +35223,8 @@ var QTree = createComponent({
|
|
|
35158
35223
|
+ (m.selected === true ? ' q-tree__node--selected' : '')
|
|
35159
35224
|
+ (m.disabled === true ? ' q-tree__node--disabled' : ''),
|
|
35160
35225
|
tabindex: m.link === true ? 0 : -1,
|
|
35226
|
+
ariaExpanded: children.length > 0 ? m.expanded : null,
|
|
35227
|
+
role: 'treeitem',
|
|
35161
35228
|
onClick: (e) => {
|
|
35162
35229
|
onClick(node, m, e);
|
|
35163
35230
|
},
|
|
@@ -35222,16 +35289,21 @@ var QTree = createComponent({
|
|
|
35222
35289
|
isParent === true
|
|
35223
35290
|
? (
|
|
35224
35291
|
props.noTransition === true
|
|
35225
|
-
?
|
|
35226
|
-
|
|
35227
|
-
|
|
35228
|
-
|
|
35229
|
-
|
|
35230
|
-
|
|
35231
|
-
|
|
35232
|
-
|
|
35233
|
-
|
|
35234
|
-
|
|
35292
|
+
? (
|
|
35293
|
+
m.expanded === true
|
|
35294
|
+
? h('div', {
|
|
35295
|
+
class: 'q-tree__node-collapsible' + textColorClass.value,
|
|
35296
|
+
key: `${ key }__q`
|
|
35297
|
+
}, [
|
|
35298
|
+
body,
|
|
35299
|
+
h('div', {
|
|
35300
|
+
class: 'q-tree__children'
|
|
35301
|
+
+ (m.disabled === true ? ' q-tree__node--disabled' : ''),
|
|
35302
|
+
role: 'group'
|
|
35303
|
+
}, children)
|
|
35304
|
+
])
|
|
35305
|
+
: null
|
|
35306
|
+
)
|
|
35235
35307
|
|
|
35236
35308
|
: h(QSlideTransition, {
|
|
35237
35309
|
duration: props.duration,
|
|
@@ -35245,7 +35317,8 @@ var QTree = createComponent({
|
|
|
35245
35317
|
body,
|
|
35246
35318
|
h('div', {
|
|
35247
35319
|
class: 'q-tree__children'
|
|
35248
|
-
+ (m.disabled === true ? ' q-tree__node--disabled' : '')
|
|
35320
|
+
+ (m.disabled === true ? ' q-tree__node--disabled' : ''),
|
|
35321
|
+
role: 'group'
|
|
35249
35322
|
}, children)
|
|
35250
35323
|
]),
|
|
35251
35324
|
[ [ vShow, m.expanded ] ]
|
|
@@ -35339,7 +35412,8 @@ var QTree = createComponent({
|
|
|
35339
35412
|
|
|
35340
35413
|
return h(
|
|
35341
35414
|
'div', {
|
|
35342
|
-
class: classes.value
|
|
35415
|
+
class: classes.value,
|
|
35416
|
+
role: 'tree'
|
|
35343
35417
|
},
|
|
35344
35418
|
children.length === 0
|
|
35345
35419
|
? (
|
|
@@ -40739,7 +40813,7 @@ function runSequentialPromises (
|
|
|
40739
40813
|
*/
|
|
40740
40814
|
|
|
40741
40815
|
const Quasar = {
|
|
40742
|
-
version: '2.
|
|
40816
|
+
version: '2.13.0',
|
|
40743
40817
|
install: installQuasar,
|
|
40744
40818
|
lang: Plugin$8,
|
|
40745
40819
|
iconSet: Plugin$7
|