@zeedhi/vuetify 1.97.4 → 1.97.5
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/zd-vuetify.esm.js
CHANGED
@@ -57005,9 +57005,12 @@ let ZdSelectMultiple = class ZdSelectMultiple extends __vue_component__$K {
|
|
57005
57005
|
}
|
57006
57006
|
return this.selectFormatterFn(item, formatterProps);
|
57007
57007
|
}
|
57008
|
+
get disabledLength() {
|
57009
|
+
return this.formattedData.filter((item) => item.disabled).length;
|
57010
|
+
}
|
57008
57011
|
get allSelected() {
|
57009
57012
|
const dataLength = this.formattedValue.length - this.instance.insertedValues.length;
|
57010
|
-
return dataLength && dataLength === this.instance.datasource.total;
|
57013
|
+
return dataLength && dataLength === this.instance.datasource.total - this.disabledLength;
|
57011
57014
|
}
|
57012
57015
|
get limitValue() {
|
57013
57016
|
return this.componentRef.isFocused ? this.instance.limit || Infinity : 1;
|
package/dist/zd-vuetify.umd.js
CHANGED
@@ -57004,9 +57004,12 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57004
57004
|
}
|
57005
57005
|
return this.selectFormatterFn(item, formatterProps);
|
57006
57006
|
}
|
57007
|
+
get disabledLength() {
|
57008
|
+
return this.formattedData.filter((item) => item.disabled).length;
|
57009
|
+
}
|
57007
57010
|
get allSelected() {
|
57008
57011
|
const dataLength = this.formattedValue.length - this.instance.insertedValues.length;
|
57009
|
-
return dataLength && dataLength === this.instance.datasource.total;
|
57012
|
+
return dataLength && dataLength === this.instance.datasource.total - this.disabledLength;
|
57010
57013
|
}
|
57011
57014
|
get limitValue() {
|
57012
57015
|
return this.componentRef.isFocused ? this.instance.limit || Infinity : 1;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zeedhi/vuetify",
|
3
|
-
"version": "1.97.
|
3
|
+
"version": "1.97.5",
|
4
4
|
"description": "Zeedhi Components based on Vuetify",
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
6
6
|
"license": "ISC",
|
@@ -51,5 +51,5 @@
|
|
51
51
|
"@types/prismjs": "1.26.*",
|
52
52
|
"@types/sortablejs": "1.15.*"
|
53
53
|
},
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "28c75a33ee963536d85df3d338463ba43248696b"
|
55
55
|
}
|
@@ -58,6 +58,7 @@ export default class ZdSelectMultiple extends ZdSelect {
|
|
58
58
|
set formattedValue(value: IDictionary<any>[]);
|
59
59
|
selectFormatterFn: Function;
|
60
60
|
formattedDataDiscreteText(item: IDictionary<any>): any;
|
61
|
+
get disabledLength(): any;
|
61
62
|
get allSelected(): boolean | 0;
|
62
63
|
get limitValue(): number;
|
63
64
|
isChipVisible(index: number): boolean;
|