quasar 2.3.3 → 2.3.4
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/Dialog.json +1 -1
- package/dist/api/QBtnDropdown.json +1 -1
- package/dist/api/QExpansionItem.json +3 -2
- package/dist/api/QFab.json +3 -2
- package/dist/api/QFile.json +4 -2
- package/dist/api/QForm.json +1 -1
- package/dist/api/QPopupProxy.json +3 -2
- package/dist/api/QRating.json +3 -1
- package/dist/api/QScrollArea.json +3 -2
- package/dist/api/QSelect.json +6 -10
- package/dist/api/QTree.json +8 -4
- package/dist/api/QVirtualScroll.json +3 -2
- 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/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.css +3 -0
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +8 -0
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +37 -34
- package/dist/quasar.umd.js +9 -8
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/index.d.ts +17 -20
- package/dist/vetur/quasar-attributes.json +1 -1
- package/dist/web-types/web-types.json +4 -5
- package/package.json +1 -1
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
- package/src/components/chip/QChip.json +1 -2
- package/src/components/expansion-item/QExpansionItem.json +2 -1
- package/src/components/fab/QFab.json +3 -1
- package/src/components/file/QFile.json +6 -6
- package/src/components/form/QForm.json +2 -3
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/linear-progress/QLinearProgress.js +3 -2
- package/src/components/popup-proxy/QPopupProxy.json +2 -1
- package/src/components/rating/QRating.json +1 -1
- package/src/components/scroll-area/QScrollArea.json +5 -6
- package/src/components/select/QSelect.json +17 -4
- package/src/components/table/QTable.js +1 -1
- package/src/components/tree/QTree.json +12 -12
- package/src/components/tree/QTree.sass +45 -41
- package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
- package/src/components/virtual-scroll/use-virtual-scroll.json +2 -5
- package/src/plugins/Dialog.json +2 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -1440,7 +1440,7 @@ export interface QBtnDropdownProps {
|
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Controls Menu show/hidden state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive
|
|
1442
1442
|
*/
|
|
1443
|
-
modelValue
|
|
1443
|
+
modelValue?: boolean;
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)
|
|
1446
1446
|
*/
|
|
@@ -4775,7 +4775,7 @@ export interface QFileSlots {
|
|
|
4775
4775
|
/**
|
|
4776
4776
|
* Reference to the QFile component
|
|
4777
4777
|
*/
|
|
4778
|
-
ref:
|
|
4778
|
+
ref: QFile;
|
|
4779
4779
|
}) => VNode[];
|
|
4780
4780
|
/**
|
|
4781
4781
|
* Override default selection slot; Suggestion: QChip
|
|
@@ -4789,7 +4789,7 @@ export interface QFileSlots {
|
|
|
4789
4789
|
/**
|
|
4790
4790
|
* Reference to the QFile component
|
|
4791
4791
|
*/
|
|
4792
|
-
ref:
|
|
4792
|
+
ref: QFile;
|
|
4793
4793
|
}) => VNode[];
|
|
4794
4794
|
}
|
|
4795
4795
|
|
|
@@ -4911,7 +4911,7 @@ export interface QFormProps {
|
|
|
4911
4911
|
* Emitted after a validation was triggered and at least one of the inner Quasar components models are NOT valid
|
|
4912
4912
|
* @param ref Vue reference to the first component that triggered the validation error
|
|
4913
4913
|
*/
|
|
4914
|
-
onValidationError?: (ref:
|
|
4914
|
+
onValidationError?: (ref: Component) => void;
|
|
4915
4915
|
}
|
|
4916
4916
|
|
|
4917
4917
|
export interface QFormSlots {
|
|
@@ -7493,7 +7493,7 @@ export interface QScrollAreaProps {
|
|
|
7493
7493
|
/**
|
|
7494
7494
|
* Vue reference to the QScrollArea which triggered the event
|
|
7495
7495
|
*/
|
|
7496
|
-
ref:
|
|
7496
|
+
ref: QScrollArea;
|
|
7497
7497
|
/**
|
|
7498
7498
|
* Vertical scroll position (in px)
|
|
7499
7499
|
*/
|
|
@@ -7541,7 +7541,7 @@ export interface QScrollArea extends ComponentPublicInstance<QScrollAreaProps> {
|
|
|
7541
7541
|
* Get the scrolling DOM element target
|
|
7542
7542
|
* @returns DOM element upon which scrolling takes place
|
|
7543
7543
|
*/
|
|
7544
|
-
getScrollTarget: () =>
|
|
7544
|
+
getScrollTarget: () => Element;
|
|
7545
7545
|
/**
|
|
7546
7546
|
* Get the current scroll information
|
|
7547
7547
|
* @returns Scroll information
|
|
@@ -7762,7 +7762,7 @@ export interface QSelectProps {
|
|
|
7762
7762
|
/**
|
|
7763
7763
|
* Model of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive
|
|
7764
7764
|
*/
|
|
7765
|
-
modelValue:
|
|
7765
|
+
modelValue: any;
|
|
7766
7766
|
/**
|
|
7767
7767
|
* Does field have validation errors?
|
|
7768
7768
|
*/
|
|
@@ -8131,9 +8131,9 @@ export interface QSelectProps {
|
|
|
8131
8131
|
*/
|
|
8132
8132
|
direction: "increase" | "decrease";
|
|
8133
8133
|
/**
|
|
8134
|
-
* Vue reference to the
|
|
8134
|
+
* Vue reference to the QSelect
|
|
8135
8135
|
*/
|
|
8136
|
-
ref:
|
|
8136
|
+
ref: QSelect;
|
|
8137
8137
|
}) => void;
|
|
8138
8138
|
/**
|
|
8139
8139
|
* When using the 'clearable' property, this event is emitted when the clear icon is clicked
|
|
@@ -8195,10 +8195,7 @@ export interface QSelectProps {
|
|
|
8195
8195
|
*/
|
|
8196
8196
|
onFilter?: (
|
|
8197
8197
|
inputValue: string,
|
|
8198
|
-
doneFn: (
|
|
8199
|
-
callbackFn: () => void,
|
|
8200
|
-
afterFn?: (ref: LooseDictionary) => void
|
|
8201
|
-
) => void,
|
|
8198
|
+
doneFn: (callbackFn: () => void, afterFn?: (ref: QSelect) => void) => void,
|
|
8202
8199
|
abortFn: () => void
|
|
8203
8200
|
) => void;
|
|
8204
8201
|
/**
|
|
@@ -12286,7 +12283,7 @@ export interface QTreeSlots {
|
|
|
12286
12283
|
/**
|
|
12287
12284
|
* QTree instance
|
|
12288
12285
|
*/
|
|
12289
|
-
tree:
|
|
12286
|
+
tree: QTree;
|
|
12290
12287
|
/**
|
|
12291
12288
|
* Node object
|
|
12292
12289
|
*/
|
|
@@ -12320,7 +12317,7 @@ export interface QTreeSlots {
|
|
|
12320
12317
|
/**
|
|
12321
12318
|
* QTree instance
|
|
12322
12319
|
*/
|
|
12323
|
-
tree:
|
|
12320
|
+
tree: QTree;
|
|
12324
12321
|
/**
|
|
12325
12322
|
* Node object
|
|
12326
12323
|
*/
|
|
@@ -12354,7 +12351,7 @@ export interface QTreeSlots {
|
|
|
12354
12351
|
/**
|
|
12355
12352
|
* QTree instance
|
|
12356
12353
|
*/
|
|
12357
|
-
tree:
|
|
12354
|
+
tree: QTree;
|
|
12358
12355
|
/**
|
|
12359
12356
|
* Node object
|
|
12360
12357
|
*/
|
|
@@ -12388,7 +12385,7 @@ export interface QTreeSlots {
|
|
|
12388
12385
|
/**
|
|
12389
12386
|
* QTree instance
|
|
12390
12387
|
*/
|
|
12391
|
-
tree:
|
|
12388
|
+
tree: QTree;
|
|
12392
12389
|
/**
|
|
12393
12390
|
* Node object
|
|
12394
12391
|
*/
|
|
@@ -12849,9 +12846,9 @@ export interface QVirtualScrollProps {
|
|
|
12849
12846
|
*/
|
|
12850
12847
|
direction: "increase" | "decrease";
|
|
12851
12848
|
/**
|
|
12852
|
-
* Vue reference to the
|
|
12849
|
+
* Vue reference to the QVirtualScroll
|
|
12853
12850
|
*/
|
|
12854
|
-
ref:
|
|
12851
|
+
ref: QVirtualScroll;
|
|
12855
12852
|
}) => void;
|
|
12856
12853
|
}
|
|
12857
12854
|
|
|
@@ -13144,7 +13141,7 @@ export interface QDialogOptions {
|
|
|
13144
13141
|
/**
|
|
13145
13142
|
* Use custom dialog component; use along with 'componentProps' prop where possible
|
|
13146
13143
|
*/
|
|
13147
|
-
component?:
|
|
13144
|
+
component?: Component;
|
|
13148
13145
|
/**
|
|
13149
13146
|
* User defined props which will be forwarded to underlying custom component if 'component' prop is used
|
|
13150
13147
|
*/
|
|
@@ -3648,7 +3648,7 @@
|
|
|
3648
3648
|
"description": "The number of columns in the table (you need this if you use table-layout: fixed)"
|
|
3649
3649
|
},
|
|
3650
3650
|
"q-select/model-value": {
|
|
3651
|
-
"type": "
|
|
3651
|
+
"type": "any",
|
|
3652
3652
|
"description": "Model of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive"
|
|
3653
3653
|
},
|
|
3654
3654
|
"q-select/error": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "quasar",
|
|
5
|
-
"version": "2.3.
|
|
5
|
+
"version": "2.3.4",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -573,7 +573,6 @@
|
|
|
573
573
|
},
|
|
574
574
|
"description": "Controls Menu show/hidden state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive\n\nExamples:\nv-model=\"menuState\"",
|
|
575
575
|
"doc-url": "https://v2.quasar.dev/vue-components/button-dropdown",
|
|
576
|
-
"required": true,
|
|
577
576
|
"type": "boolean"
|
|
578
577
|
},
|
|
579
578
|
{
|
|
@@ -6816,7 +6815,7 @@
|
|
|
6816
6815
|
"arguments": [
|
|
6817
6816
|
{
|
|
6818
6817
|
"name": "ref",
|
|
6819
|
-
"type": "
|
|
6818
|
+
"type": "Component",
|
|
6820
6819
|
"description": "Vue reference to the first component that triggered the validation error",
|
|
6821
6820
|
"doc-url": "https://v2.quasar.dev/vue-components/form"
|
|
6822
6821
|
}
|
|
@@ -11224,7 +11223,7 @@
|
|
|
11224
11223
|
"kind": "expression",
|
|
11225
11224
|
"type": "number"
|
|
11226
11225
|
},
|
|
11227
|
-
"description": "Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive\n\nExamples:\n:value=\"2\"",
|
|
11226
|
+
"description": "Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive\n\nExamples:\nv-model=\"rating\"\n:model-value=\"rating\"\n:model-value=\"2\"",
|
|
11228
11227
|
"doc-url": "https://v2.quasar.dev/vue-components/rating",
|
|
11229
11228
|
"required": true
|
|
11230
11229
|
},
|
|
@@ -11720,7 +11719,7 @@
|
|
|
11720
11719
|
"name": "model-value",
|
|
11721
11720
|
"value": {
|
|
11722
11721
|
"kind": "expression",
|
|
11723
|
-
"type": "
|
|
11722
|
+
"type": "any"
|
|
11724
11723
|
},
|
|
11725
11724
|
"description": "Model of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive\n\nExamples:\nv-model=\"myModel\"",
|
|
11726
11725
|
"doc-url": "https://v2.quasar.dev/vue-components/select",
|
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"extends": "model-value",
|
|
11
11
|
"type": "Boolean",
|
|
12
12
|
"desc": "Controls Menu show/hidden state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
|
|
13
|
+
"required": false,
|
|
13
14
|
"examples": [ "v-model=\"menuState\"" ]
|
|
14
15
|
},
|
|
15
16
|
|
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
"props": {
|
|
9
9
|
"model-value": {
|
|
10
|
+
"extends": "model-value",
|
|
10
11
|
"desc": "Model of the component defining 'open' state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
|
|
11
|
-
"
|
|
12
|
+
"required": false
|
|
12
13
|
},
|
|
13
14
|
|
|
14
15
|
"icon": {
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
"props": {
|
|
5
5
|
"model-value": {
|
|
6
|
+
"extends": "model-value",
|
|
6
7
|
"desc": "Controls state of fab actions (showing/hidden); Works best with v-model directive, otherwise use along listening to 'update:modelValue' event",
|
|
7
|
-
"category": "model"
|
|
8
|
+
"category": "model",
|
|
9
|
+
"required": false
|
|
8
10
|
},
|
|
9
11
|
|
|
10
12
|
"icon": {
|
|
@@ -114,9 +114,9 @@
|
|
|
114
114
|
},
|
|
115
115
|
|
|
116
116
|
"ref": {
|
|
117
|
-
"type": "
|
|
118
|
-
"
|
|
119
|
-
"
|
|
117
|
+
"type": "Component",
|
|
118
|
+
"tsType": "QFile",
|
|
119
|
+
"desc": "Reference to the QFile component"
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
},
|
|
@@ -131,9 +131,9 @@
|
|
|
131
131
|
},
|
|
132
132
|
|
|
133
133
|
"ref": {
|
|
134
|
-
"type": "
|
|
135
|
-
"
|
|
136
|
-
"
|
|
134
|
+
"type": "Component",
|
|
135
|
+
"tsType": "QFile",
|
|
136
|
+
"desc": "Reference to the QFile component"
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -52,9 +52,8 @@
|
|
|
52
52
|
"desc": "Emitted after a validation was triggered and at least one of the inner Quasar components models are NOT valid",
|
|
53
53
|
"params": {
|
|
54
54
|
"ref": {
|
|
55
|
-
"type": "
|
|
56
|
-
"desc": "Vue reference to the first component that triggered the validation error"
|
|
57
|
-
"__exemption": [ "examples" ]
|
|
55
|
+
"type": "Component",
|
|
56
|
+
"desc": "Vue reference to the first component that triggered the validation error"
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
59
|
}
|
|
@@ -29,11 +29,11 @@ const matMap = {
|
|
|
29
29
|
|
|
30
30
|
const libRE = new RegExp('^(' + Object.keys(libMap).join('|') + ')')
|
|
31
31
|
const matRE = new RegExp('^(' + Object.keys(matMap).join('|') + ')')
|
|
32
|
-
const mRE = /^
|
|
32
|
+
const mRE = /^[Mm] ?\d/
|
|
33
33
|
const imgRE = /^img:/
|
|
34
34
|
const svgUseRE = /^svguse:/
|
|
35
35
|
const ionRE = /^ion-/
|
|
36
|
-
const faLaRE = /^[
|
|
36
|
+
const faLaRE = /^[lf]a[srlbdk]? /
|
|
37
37
|
|
|
38
38
|
export default createComponent({
|
|
39
39
|
name: 'QIcon',
|
|
@@ -58,6 +58,7 @@ export default createComponent({
|
|
|
58
58
|
const sizeStyle = useSize(props, defaultSizes)
|
|
59
59
|
|
|
60
60
|
const motion = computed(() => props.indeterminate === true || props.query === true)
|
|
61
|
+
const widthReverse = computed(() => props.reverse !== props.query)
|
|
61
62
|
const style = computed(() => ({
|
|
62
63
|
...(sizeStyle.value !== null ? sizeStyle.value : {}),
|
|
63
64
|
'--q-linear-progress-speed': `${ props.animationSpeed }ms`
|
|
@@ -70,7 +71,7 @@ export default createComponent({
|
|
|
70
71
|
+ (props.rounded === true ? ' rounded-borders' : '')
|
|
71
72
|
)
|
|
72
73
|
|
|
73
|
-
const trackStyle = computed(() => width(props.buffer !== void 0 ? props.buffer : 1,
|
|
74
|
+
const trackStyle = computed(() => width(props.buffer !== void 0 ? props.buffer : 1, widthReverse.value, proxy.$q))
|
|
74
75
|
const trackClass = computed(() =>
|
|
75
76
|
'q-linear-progress__track absolute-full'
|
|
76
77
|
+ ` q-linear-progress__track--with${ props.instantFeedback === true ? 'out' : '' }-transition`
|
|
@@ -78,7 +79,7 @@ export default createComponent({
|
|
|
78
79
|
+ (props.trackColor !== void 0 ? ` bg-${ props.trackColor }` : '')
|
|
79
80
|
)
|
|
80
81
|
|
|
81
|
-
const modelStyle = computed(() => width(motion.value === true ? 1 : props.value,
|
|
82
|
+
const modelStyle = computed(() => width(motion.value === true ? 1 : props.value, widthReverse.value, proxy.$q))
|
|
82
83
|
const modelClass = computed(() =>
|
|
83
84
|
'q-linear-progress__model absolute-full'
|
|
84
85
|
+ ` q-linear-progress__model--with${ props.instantFeedback === true ? 'out' : '' }-transition`
|
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
"props": {
|
|
9
9
|
"model-value": {
|
|
10
|
+
"extends": "model-value",
|
|
10
11
|
"type": "Boolean",
|
|
11
12
|
"desc": "Defines the state of the component (shown/hidden); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
|
|
12
|
-
"
|
|
13
|
+
"required": false
|
|
13
14
|
},
|
|
14
15
|
|
|
15
16
|
"breakpoint": {
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
"desc": "An object containing scroll information",
|
|
99
99
|
"definition": {
|
|
100
100
|
"ref": {
|
|
101
|
-
"type": "
|
|
101
|
+
"type": "Component",
|
|
102
|
+
"tsType": "QScrollArea",
|
|
102
103
|
"required": true,
|
|
103
|
-
"desc": "Vue reference to the QScrollArea which triggered the event"
|
|
104
|
-
"__exemption": [ "examples" ]
|
|
104
|
+
"desc": "Vue reference to the QScrollArea which triggered the event"
|
|
105
105
|
},
|
|
106
106
|
|
|
107
107
|
"verticalPosition": {
|
|
@@ -163,9 +163,8 @@
|
|
|
163
163
|
"getScrollTarget": {
|
|
164
164
|
"desc": "Get the scrolling DOM element target",
|
|
165
165
|
"returns": {
|
|
166
|
-
"type": "
|
|
167
|
-
"desc": "DOM element upon which scrolling takes place"
|
|
168
|
-
"__exemption": [ "examples" ]
|
|
166
|
+
"type": "Element",
|
|
167
|
+
"desc": "DOM element upon which scrolling takes place"
|
|
169
168
|
}
|
|
170
169
|
},
|
|
171
170
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"props": {
|
|
9
9
|
"model-value": {
|
|
10
10
|
"extends": "model-value",
|
|
11
|
-
"type":
|
|
11
|
+
"type": "Any",
|
|
12
12
|
"desc": "Model of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
|
|
13
13
|
"examples": [ "v-model=\"myModel\"" ]
|
|
14
14
|
},
|
|
@@ -597,10 +597,10 @@
|
|
|
597
597
|
"desc": "Callback to call at the end after the update has been fully processed by QSelect",
|
|
598
598
|
"params": {
|
|
599
599
|
"ref": {
|
|
600
|
-
"type": "
|
|
600
|
+
"type": "Component",
|
|
601
|
+
"tsType": "QSelect",
|
|
601
602
|
"required": true,
|
|
602
|
-
"desc": "Vue reference to the QSelect which triggered the filtering"
|
|
603
|
-
"__exemption": [ "examples" ]
|
|
603
|
+
"desc": "Vue reference to the QSelect which triggered the filtering"
|
|
604
604
|
}
|
|
605
605
|
},
|
|
606
606
|
"returns": null
|
|
@@ -641,6 +641,19 @@
|
|
|
641
641
|
"__exemption": [ "examples" ]
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
+
},
|
|
645
|
+
|
|
646
|
+
"virtual-scroll": {
|
|
647
|
+
"params": {
|
|
648
|
+
"details": {
|
|
649
|
+
"definition": {
|
|
650
|
+
"ref": {
|
|
651
|
+
"tsType": "QSelect",
|
|
652
|
+
"desc": "Vue reference to the QSelect"
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
}
|
|
644
657
|
}
|
|
645
658
|
},
|
|
646
659
|
|
|
@@ -562,7 +562,7 @@ export default createComponent({
|
|
|
562
562
|
topSelection = slots[ 'top-selection' ],
|
|
563
563
|
hasSelection = hasSelectionMode.value === true
|
|
564
564
|
&& topSelection !== void 0
|
|
565
|
-
&& rowsSelectedNumber.
|
|
565
|
+
&& rowsSelectedNumber.value > 0,
|
|
566
566
|
topClass = 'q-table__top relative-position row items-center'
|
|
567
567
|
|
|
568
568
|
if (top !== void 0) {
|
|
@@ -186,9 +186,9 @@
|
|
|
186
186
|
"reactive": true
|
|
187
187
|
},
|
|
188
188
|
"tree": {
|
|
189
|
-
"type": "
|
|
190
|
-
"
|
|
191
|
-
"
|
|
189
|
+
"type": "Component",
|
|
190
|
+
"tsType": "QTree",
|
|
191
|
+
"desc": "QTree instance"
|
|
192
192
|
},
|
|
193
193
|
"node": {
|
|
194
194
|
"type": "Object",
|
|
@@ -226,9 +226,9 @@
|
|
|
226
226
|
"reactive": true
|
|
227
227
|
},
|
|
228
228
|
"tree": {
|
|
229
|
-
"type": "
|
|
230
|
-
"
|
|
231
|
-
"
|
|
229
|
+
"type": "Component",
|
|
230
|
+
"tsType": "QTree",
|
|
231
|
+
"desc": "QTree instance"
|
|
232
232
|
},
|
|
233
233
|
"node": {
|
|
234
234
|
"type": "Object",
|
|
@@ -266,9 +266,9 @@
|
|
|
266
266
|
"reactive": true
|
|
267
267
|
},
|
|
268
268
|
"tree": {
|
|
269
|
-
"type": "
|
|
270
|
-
"
|
|
271
|
-
"
|
|
269
|
+
"type": "Component",
|
|
270
|
+
"tsType": "QTree",
|
|
271
|
+
"desc": "QTree instance"
|
|
272
272
|
},
|
|
273
273
|
"node": {
|
|
274
274
|
"type": "Object",
|
|
@@ -306,9 +306,9 @@
|
|
|
306
306
|
"reactive": true
|
|
307
307
|
},
|
|
308
308
|
"tree": {
|
|
309
|
-
"type": "
|
|
310
|
-
"
|
|
311
|
-
"
|
|
309
|
+
"type": "Component",
|
|
310
|
+
"tsType": "QTree",
|
|
311
|
+
"desc": "QTree instance"
|
|
312
312
|
},
|
|
313
313
|
"node": {
|
|
314
314
|
"type": "Object",
|
|
@@ -130,47 +130,51 @@
|
|
|
130
130
|
.q-tree__node-body:after
|
|
131
131
|
display: none !important
|
|
132
132
|
|
|
133
|
-
&--dense
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
133
|
+
&--dense
|
|
134
|
+
> .q-tree__node--child > .q-tree__node-header
|
|
135
|
+
padding-left: 1px
|
|
136
|
+
|
|
137
|
+
.q-tree
|
|
138
|
+
&__arrow,
|
|
139
|
+
&__spinner
|
|
140
|
+
margin-right: 1px
|
|
141
|
+
|
|
142
|
+
&__img
|
|
143
|
+
height: 32px
|
|
144
|
+
|
|
145
|
+
&__tickbox
|
|
146
|
+
margin-right: 3px
|
|
147
|
+
|
|
148
|
+
&__node
|
|
149
|
+
padding: 0
|
|
150
|
+
&:after
|
|
151
|
+
top: 0
|
|
152
|
+
left: -8px
|
|
153
|
+
|
|
154
|
+
&__node-header
|
|
155
|
+
margin-top: 0
|
|
156
|
+
padding: 1px
|
|
157
|
+
&:before
|
|
158
|
+
top: 0
|
|
159
|
+
left: -8px
|
|
160
|
+
width: 8px
|
|
161
|
+
|
|
162
|
+
&__node--child
|
|
163
|
+
padding-left: 17px
|
|
164
|
+
> .q-tree__node-header:before
|
|
165
|
+
left: -25px
|
|
166
|
+
width: 21px
|
|
167
|
+
|
|
168
|
+
&__node-body
|
|
169
|
+
padding: 0 0 2px
|
|
170
|
+
|
|
171
|
+
&__node--parent > .q-tree__node-collapsible > .q-tree__node-body
|
|
172
|
+
padding: 0 0 2px 20px
|
|
173
|
+
&:after
|
|
174
|
+
left: 8px
|
|
175
|
+
|
|
176
|
+
&__children
|
|
177
|
+
padding-left: 16px
|
|
174
178
|
|
|
175
179
|
[dir=rtl]
|
|
176
180
|
.q-tree__arrow
|
|
@@ -67,6 +67,21 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
|
|
70
|
+
"events": {
|
|
71
|
+
"virtual-scroll": {
|
|
72
|
+
"params": {
|
|
73
|
+
"details": {
|
|
74
|
+
"definition": {
|
|
75
|
+
"ref": {
|
|
76
|
+
"tsType": "QVirtualScroll",
|
|
77
|
+
"desc": "Vue reference to the QVirtualScroll"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
|
|
70
85
|
"slots" : {
|
|
71
86
|
"before": {
|
|
72
87
|
"desc": "Template slot for the elements that should be rendered before the list; Suggestion: thead before a table"
|
|
@@ -95,12 +95,9 @@
|
|
|
95
95
|
"values": [ "increase", "decrease" ]
|
|
96
96
|
},
|
|
97
97
|
"ref": {
|
|
98
|
-
"type": "
|
|
98
|
+
"type": "Component",
|
|
99
99
|
"required": true,
|
|
100
|
-
"desc": "Vue reference to the
|
|
101
|
-
"__exemption": [
|
|
102
|
-
"examples"
|
|
103
|
-
]
|
|
100
|
+
"desc": "Vue reference to the component which triggered the event"
|
|
104
101
|
}
|
|
105
102
|
}
|
|
106
103
|
}
|
package/src/plugins/Dialog.json
CHANGED
|
@@ -306,9 +306,8 @@
|
|
|
306
306
|
},
|
|
307
307
|
|
|
308
308
|
"component": {
|
|
309
|
-
"type": "
|
|
310
|
-
"desc": "Use custom dialog component; use along with 'componentProps' prop where possible"
|
|
311
|
-
"__exemption": [ "examples" ]
|
|
309
|
+
"type": "Component",
|
|
310
|
+
"desc": "Use custom dialog component; use along with 'componentProps' prop where possible"
|
|
312
311
|
},
|
|
313
312
|
|
|
314
313
|
"componentProps": {
|