@zeedhi/vuetify 1.118.1 → 1.119.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/zd-vuetify.esm.js +108 -116
- package/dist/zd-vuetify.umd.js +107 -115
- package/package.json +2 -2
- package/types/components/zd-card/ZdCard.d.ts +0 -1
- package/types/components/zd-code-editor/ZdCodeEditor.d.ts +0 -1
- package/types/components/zd-col/ZdCol.d.ts +0 -1
- package/types/components/zd-container/ZdContainer.d.ts +0 -1
- package/types/components/zd-date/ZdDateRange.d.ts +2 -0
- package/types/components/zd-frame/ZdFrame.d.ts +0 -1
- package/types/components/zd-image/ZdImage.d.ts +0 -1
- package/types/components/zd-iterable-component-render/ZdIterableComponentRender.d.ts +0 -1
- package/types/components/zd-list/ZdList.d.ts +0 -1
- package/types/components/zd-master-detail/ZdMasterDetail.d.ts +0 -1
- package/types/components/zd-row/ZdRow.d.ts +0 -1
- package/types/components/zd-selectable-list/ZdSelectableList.d.ts +0 -1
- package/types/components/zd-table/ZdTable.d.ts +0 -1
- package/types/utils/fillHeight.d.ts +9 -1
package/dist/zd-vuetify.esm.js
CHANGED
|
@@ -38664,14 +38664,15 @@ class IconRenderer {
|
|
|
38664
38664
|
}
|
|
38665
38665
|
IconRenderer.icons = {};
|
|
38666
38666
|
|
|
38667
|
-
function setFillHeight(element) {
|
|
38667
|
+
function setFillHeight(element, fillHeight = false) {
|
|
38668
38668
|
const parent = element.parentElement;
|
|
38669
38669
|
if (parent) {
|
|
38670
38670
|
parent.style.display = 'flex';
|
|
38671
38671
|
parent.style.flexFlow = 'column';
|
|
38672
38672
|
Array.from(parent.children).forEach((child) => {
|
|
38673
38673
|
if (child === element) {
|
|
38674
|
-
|
|
38674
|
+
const flexBasis = typeof fillHeight === 'string' ? fillHeight : '0';
|
|
38675
|
+
child.style.flex = `1 1 ${flexBasis}`;
|
|
38675
38676
|
child.style.overflowY = 'auto';
|
|
38676
38677
|
}
|
|
38677
38678
|
else {
|
|
@@ -38679,7 +38680,17 @@ function setFillHeight(element) {
|
|
|
38679
38680
|
}
|
|
38680
38681
|
});
|
|
38681
38682
|
}
|
|
38682
|
-
}
|
|
38683
|
+
}
|
|
38684
|
+
let FillHeightMixin = class FillHeightMixin extends Vue {
|
|
38685
|
+
mounted() {
|
|
38686
|
+
if (!this.instance.fillHeight)
|
|
38687
|
+
return;
|
|
38688
|
+
setFillHeight(this.$el, this.instance.fillHeight);
|
|
38689
|
+
}
|
|
38690
|
+
};
|
|
38691
|
+
FillHeightMixin = __decorate([
|
|
38692
|
+
Component
|
|
38693
|
+
], FillHeightMixin);
|
|
38683
38694
|
|
|
38684
38695
|
/**
|
|
38685
38696
|
* ApexChart component
|
|
@@ -38696,9 +38707,6 @@ let ZdApexChart = class ZdApexChart extends ZdComponentRender$1 {
|
|
|
38696
38707
|
const updateFn = this.updateChart;
|
|
38697
38708
|
this.instance.setViewUpdate(updateFn);
|
|
38698
38709
|
this.instance.setViewGetIconHTML((icon) => IconRenderer.getIcon(icon, this.$root.$options.vuetify));
|
|
38699
|
-
if (this.instance.fillHeight) {
|
|
38700
|
-
setFillHeight(this.$el);
|
|
38701
|
-
}
|
|
38702
38710
|
this.defaultOptions = Object.assign({}, this.$refs.instance.chart.w.config);
|
|
38703
38711
|
this.breakpoints = ((_b = (_a = this.instance.options) === null || _a === void 0 ? void 0 : _a.parentResponsive) === null || _b === void 0 ? void 0 : _b.sort((a, b) => a.breakpoint - b.breakpoint)) || [];
|
|
38704
38712
|
this.apexChartContainer = this.$refs.chartContainer;
|
|
@@ -38801,7 +38809,9 @@ __decorate([
|
|
|
38801
38809
|
__metadata("design:type", String)
|
|
38802
38810
|
], ZdApexChart.prototype, "loadColor", void 0);
|
|
38803
38811
|
ZdApexChart = __decorate([
|
|
38804
|
-
Component$1
|
|
38812
|
+
Component$1({
|
|
38813
|
+
mixins: [FillHeightMixin],
|
|
38814
|
+
})
|
|
38805
38815
|
], ZdApexChart);
|
|
38806
38816
|
var script$1p = ZdApexChart;
|
|
38807
38817
|
|
|
@@ -39625,11 +39635,6 @@ let ZdCard = class ZdCard extends ZdComponentRender$1 {
|
|
|
39625
39635
|
super(...arguments);
|
|
39626
39636
|
this.instanceType = Card;
|
|
39627
39637
|
}
|
|
39628
|
-
mounted() {
|
|
39629
|
-
if (this.instance.fillHeight) {
|
|
39630
|
-
setFillHeight(this.$el);
|
|
39631
|
-
}
|
|
39632
|
-
}
|
|
39633
39638
|
};
|
|
39634
39639
|
__decorate([
|
|
39635
39640
|
PropWatch({ type: String, default: '' }),
|
|
@@ -39720,7 +39725,9 @@ __decorate([
|
|
|
39720
39725
|
__metadata("design:type", String)
|
|
39721
39726
|
], ZdCard.prototype, "to", void 0);
|
|
39722
39727
|
ZdCard = __decorate([
|
|
39723
|
-
Component$1
|
|
39728
|
+
Component$1({
|
|
39729
|
+
mixins: [FillHeightMixin],
|
|
39730
|
+
})
|
|
39724
39731
|
], ZdCard);
|
|
39725
39732
|
var script$1l = ZdCard;
|
|
39726
39733
|
|
|
@@ -39866,9 +39873,6 @@ let ZdCarousel = class ZdCarousel extends ZdComponentRender$1 {
|
|
|
39866
39873
|
}, 200);
|
|
39867
39874
|
}
|
|
39868
39875
|
Metadata.setEnabledConsole(true);
|
|
39869
|
-
if (this.instance.fillHeight) {
|
|
39870
|
-
setFillHeight(this.$el);
|
|
39871
|
-
}
|
|
39872
39876
|
if (this.carousel) {
|
|
39873
39877
|
this.setViewUpdate();
|
|
39874
39878
|
this.addResizeObserver();
|
|
@@ -40086,7 +40090,9 @@ __decorate([
|
|
|
40086
40090
|
__metadata("design:returntype", void 0)
|
|
40087
40091
|
], ZdCarousel.prototype, "changeIsVisible", null);
|
|
40088
40092
|
ZdCarousel = __decorate([
|
|
40089
|
-
Component$1
|
|
40093
|
+
Component$1({
|
|
40094
|
+
mixins: [FillHeightMixin],
|
|
40095
|
+
})
|
|
40090
40096
|
], ZdCarousel);
|
|
40091
40097
|
var script$1k = ZdCarousel;
|
|
40092
40098
|
|
|
@@ -40409,7 +40415,7 @@ __vue_render__$1u._withStripped = true;
|
|
|
40409
40415
|
/* style */
|
|
40410
40416
|
const __vue_inject_styles__$1u = function (inject) {
|
|
40411
40417
|
if (!inject) return
|
|
40412
|
-
inject("data-v-
|
|
40418
|
+
inject("data-v-544481c8_0", { source: ".zd-carousel {\n height: 100%;\n width: 100%;\n}\n.zd-carousel section.hooper {\n outline: none;\n}\n.zd-carousel section.hooper * {\n outline: none;\n}\n.zd-carousel section.hooper .hooper-list .hooper-slide {\n align-self: center;\n}\n.zd-carousel section.hooper .hooper-list .hooper-slide > .row {\n height: 100%;\n align-items: center;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination {\n padding: 0;\n width: 100%;\n height: 50px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination .hooper-indicators {\n margin: 0 auto;\n display: block;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination .hooper-indicators li {\n display: inline-block;\n margin: 0 var(--spacing-2);\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination .hooper-indicators li .hooper-indicator {\n width: 18px;\n height: 18px;\n border-radius: 50%;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.show-background {\n background: rgba(0, 0, 0, 0.3);\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--light .hooper-indicator {\n opacity: 0.25;\n background-color: black;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--light .hooper-indicator.is-active {\n opacity: 0.6;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--light .hooper-indicator:hover:not(.is-active) {\n opacity: 0.4;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--dark {\n color: white;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--dark .hooper-indicator {\n opacity: 0.5;\n background-color: white;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--dark .hooper-indicator.is-active {\n opacity: 0.8;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--dark .hooper-indicator:hover:not(.is-active) {\n opacity: 0.6;\n}\n.zd-carousel section.hooper .hooper-list button.hooper-prev {\n padding: 0;\n}\n.zd-carousel section.hooper .hooper-list button.hooper-next {\n padding: 0;\n}\n.zd-carousel section.hooper .hooper-list .prev-button, .zd-carousel section.hooper .hooper-list .next-button {\n transition: 0.1s;\n}\n.zd-carousel section.hooper .hooper-list ul.hooper-track, .zd-carousel section.hooper .hooper-list ol.hooper-indicators {\n padding-left: 0;\n}\n.zd-carousel section.hooper .hooper-list .hooper-progress-inner {\n background-color: var(--v-primary-base);\n}\n.zd-carousel.buttons-outside section.hooper {\n width: calc(100% - 2 * var(--spacing-8));\n margin-left: var(--spacing-8);\n}\n.zd-carousel.buttons-outside section.hooper .hooper-list .hooper-navigation button.hooper-prev {\n left: calc(-1 * var(--spacing-8));\n}\n.zd-carousel.buttons-outside section.hooper .hooper-list .hooper-navigation button.hooper-next {\n right: calc(-1 * var(--spacing-8));\n}", map: undefined, media: undefined });
|
|
40413
40419
|
|
|
40414
40420
|
};
|
|
40415
40421
|
/* scoped */
|
|
@@ -41190,11 +41196,6 @@ let ZdCodeEditor = class ZdCodeEditor extends ZdComponentRender$1 {
|
|
|
41190
41196
|
created() {
|
|
41191
41197
|
this.instance.setViewHighlight(this.highlight);
|
|
41192
41198
|
}
|
|
41193
|
-
mounted() {
|
|
41194
|
-
if (this.instance.fillHeight) {
|
|
41195
|
-
setFillHeight(this.$el);
|
|
41196
|
-
}
|
|
41197
|
-
}
|
|
41198
41199
|
highlight(code, language) {
|
|
41199
41200
|
return Prism$1.highlight(code, Prism$1.languages[this.language], language);
|
|
41200
41201
|
}
|
|
@@ -41244,7 +41245,9 @@ __decorate([
|
|
|
41244
41245
|
__metadata("design:type", Object)
|
|
41245
41246
|
], ZdCodeEditor.prototype, "staticCode", void 0);
|
|
41246
41247
|
ZdCodeEditor = __decorate([
|
|
41247
|
-
Component$1
|
|
41248
|
+
Component$1({
|
|
41249
|
+
mixins: [FillHeightMixin],
|
|
41250
|
+
})
|
|
41248
41251
|
], ZdCodeEditor);
|
|
41249
41252
|
var script$1g = ZdCodeEditor;
|
|
41250
41253
|
|
|
@@ -41434,11 +41437,6 @@ let ZdCol = class ZdCol extends ZdComponentRender$1 {
|
|
|
41434
41437
|
super(...arguments);
|
|
41435
41438
|
this.instanceType = Col;
|
|
41436
41439
|
}
|
|
41437
|
-
mounted() {
|
|
41438
|
-
if (this.instance.fillHeight) {
|
|
41439
|
-
setFillHeight(this.$el);
|
|
41440
|
-
}
|
|
41441
|
-
}
|
|
41442
41440
|
};
|
|
41443
41441
|
__decorate([
|
|
41444
41442
|
PropWatch({ type: [String, Number], default: '12' }),
|
|
@@ -41481,7 +41479,9 @@ __decorate([
|
|
|
41481
41479
|
__metadata("design:type", Object)
|
|
41482
41480
|
], ZdCol.prototype, "fillHeight", void 0);
|
|
41483
41481
|
ZdCol = __decorate([
|
|
41484
|
-
Component$1
|
|
41482
|
+
Component$1({
|
|
41483
|
+
mixins: [FillHeightMixin],
|
|
41484
|
+
})
|
|
41485
41485
|
], ZdCol);
|
|
41486
41486
|
var script$1f = ZdCol;
|
|
41487
41487
|
|
|
@@ -41900,11 +41900,6 @@ let ZdContainer = class ZdContainer extends ZdComponentRender$1 {
|
|
|
41900
41900
|
super(...arguments);
|
|
41901
41901
|
this.instanceType = Container;
|
|
41902
41902
|
}
|
|
41903
|
-
mounted() {
|
|
41904
|
-
if (this.instance.fillHeight) {
|
|
41905
|
-
setFillHeight(this.$el);
|
|
41906
|
-
}
|
|
41907
|
-
}
|
|
41908
41903
|
};
|
|
41909
41904
|
__decorate([
|
|
41910
41905
|
PropWatch({ type: [Boolean, String], default: true }),
|
|
@@ -41943,7 +41938,9 @@ __decorate([
|
|
|
41943
41938
|
__metadata("design:type", Object)
|
|
41944
41939
|
], ZdContainer.prototype, "maxWidth", void 0);
|
|
41945
41940
|
ZdContainer = __decorate([
|
|
41946
|
-
Component$1
|
|
41941
|
+
Component$1({
|
|
41942
|
+
mixins: [FillHeightMixin],
|
|
41943
|
+
})
|
|
41947
41944
|
], ZdContainer);
|
|
41948
41945
|
var script$1d = ZdContainer;
|
|
41949
41946
|
|
|
@@ -42680,9 +42677,6 @@ let ZdDashboard = class ZdDashboard extends ZdComponentRender$1 {
|
|
|
42680
42677
|
forceFallback: true,
|
|
42681
42678
|
});
|
|
42682
42679
|
}
|
|
42683
|
-
if (this.instance.fillHeight) {
|
|
42684
|
-
setFillHeight(this.$el);
|
|
42685
|
-
}
|
|
42686
42680
|
}
|
|
42687
42681
|
setData(event) {
|
|
42688
42682
|
const card = event.item.querySelector('.dashboard-div-card');
|
|
@@ -42836,7 +42830,9 @@ __decorate([
|
|
|
42836
42830
|
__metadata("design:type", Object)
|
|
42837
42831
|
], ZdDashboard.prototype, "editHeader", void 0);
|
|
42838
42832
|
ZdDashboard = __decorate([
|
|
42839
|
-
Component$1
|
|
42833
|
+
Component$1({
|
|
42834
|
+
mixins: [FillHeightMixin],
|
|
42835
|
+
})
|
|
42840
42836
|
], ZdDashboard);
|
|
42841
42837
|
var script$1b = ZdDashboard;
|
|
42842
42838
|
|
|
@@ -43741,6 +43737,21 @@ let ZdDateRange = class ZdDateRange extends __vue_component__$1m {
|
|
|
43741
43737
|
const picker = this.$refs.picker.$el;
|
|
43742
43738
|
picker.removeEventListener('mousedown', this.onPickerMousedown);
|
|
43743
43739
|
}
|
|
43740
|
+
getAllowedDates(date) {
|
|
43741
|
+
// parsedDate vem no formato 'MM-DD-YYYY' (mês-dia-ano) — index 1 é o DIA
|
|
43742
|
+
const parsedDate = this.instance.parseISODateRangeValue([date])[0];
|
|
43743
|
+
const allowed = this.instance.allowedDates;
|
|
43744
|
+
let result = true;
|
|
43745
|
+
if (typeof allowed === 'function') {
|
|
43746
|
+
result = allowed(parsedDate);
|
|
43747
|
+
return result;
|
|
43748
|
+
}
|
|
43749
|
+
if (!allowed)
|
|
43750
|
+
return true;
|
|
43751
|
+
const allowedArray = Array.isArray(allowed) ? allowed : [allowed];
|
|
43752
|
+
result = allowedArray.includes(parsedDate);
|
|
43753
|
+
return result;
|
|
43754
|
+
}
|
|
43744
43755
|
toMask(format) {
|
|
43745
43756
|
return format.replace(/[A-Za-z]/gi, '#').split('').map((char) => (char === '#' ? /\d/ : char));
|
|
43746
43757
|
}
|
|
@@ -43772,6 +43783,13 @@ let ZdDateRange = class ZdDateRange extends __vue_component__$1m {
|
|
|
43772
43783
|
return (dateSize * 2) + splitter;
|
|
43773
43784
|
}
|
|
43774
43785
|
};
|
|
43786
|
+
__decorate([
|
|
43787
|
+
PropWatch({
|
|
43788
|
+
type: [Function, Array, String],
|
|
43789
|
+
default: undefined,
|
|
43790
|
+
}),
|
|
43791
|
+
__metadata("design:type", Object)
|
|
43792
|
+
], ZdDateRange.prototype, "allowedDates", void 0);
|
|
43775
43793
|
__decorate([
|
|
43776
43794
|
PropWatch({ type: String, default: 'calendar' }),
|
|
43777
43795
|
__metadata("design:type", String)
|
|
@@ -43981,7 +43999,11 @@ var __vue_render__$1h = function () {
|
|
|
43981
43999
|
},
|
|
43982
44000
|
],
|
|
43983
44001
|
ref: "picker",
|
|
43984
|
-
attrs: {
|
|
44002
|
+
attrs: {
|
|
44003
|
+
"no-title": !_vm.$isMobile(),
|
|
44004
|
+
range: "",
|
|
44005
|
+
"allowed-dates": _vm.getAllowedDates,
|
|
44006
|
+
},
|
|
43985
44007
|
on: {
|
|
43986
44008
|
"hook:mounted": _vm.pickerMounted,
|
|
43987
44009
|
"hook:destroyed": _vm.pickerDestroyed,
|
|
@@ -44138,7 +44160,7 @@ __vue_render__$1h._withStripped = true;
|
|
|
44138
44160
|
/* style */
|
|
44139
44161
|
const __vue_inject_styles__$1h = function (inject) {
|
|
44140
44162
|
if (!inject) return
|
|
44141
|
-
inject("data-v-
|
|
44163
|
+
inject("data-v-68640a11_0", { source: "div.v-picker--date .v-picker__body {\n background: transparent;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header {\n padding: var(--spacing-2) var(--spacing-4) var(--spacing-1) var(--spacing-4);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header .v-date-picker-header__value:not(.v-date-picker-header__value--disabled) > div {\n color: var(--zd-primary-base) !important;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header .v-date-picker-header__value:not(.v-date-picker-header__value--disabled) > div button:not(:hover):not(:focus) {\n color: var(--zd-font-default-color);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header button.v-btn {\n color: var(--zd-font-default-color);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header .v-btn--icon {\n height: var(--icon-size);\n width: var(--icon-size);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header .v-date-picker-header__value button {\n padding: 0;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table {\n margin-bottom: 12px;\n padding: 0 var(--spacing-4);\n height: 200px;\n margin-bottom: var(--spacing-4);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table .v-btn.v-btn--active {\n color: var(--v-secondary-lighten4);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--date .v-btn {\n width: 24px;\n height: 24px;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--month {\n padding-top: var(--spacing-4);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--month .v-btn {\n padding: 4px 0 7px 0;\n height: 24px;\n width: 56px;\n min-width: 56px;\n border-radius: var(--border);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--month td {\n height: 24px;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--month tr:not(:last-child) td {\n padding-bottom: 24px;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table table thead th {\n color: var(--zd-font-disabled-color);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table table tbody button.v-btn {\n color: var(--zd-font-default-color);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table table tbody button.v-btn.accent--text {\n color: var(--zd-primary-base) !important;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table table tbody button.v-btn.accent {\n background: var(--zd-primary-base) !important;\n color: white !important;\n}\ndiv.v-picker--date .v-picker__body ul.v-date-picker-years li {\n color: var(--zd-font-default-color);\n}\ndiv.v-picker--date .v-picker__body ul.v-date-picker-years li.primary--text {\n color: var(--zd-primary-base) !important;\n}\n.zd-date-menu-activator .v-menu__activator.v-menu__activator--disabled {\n cursor: default;\n}\n.date-range-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.date-range-helper-values-button.with-label {\n margin-top: 20px;\n}\n.date-range-helper-values-option {\n cursor: pointer;\n}\n.date-range-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
|
44142
44164
|
|
|
44143
44165
|
};
|
|
44144
44166
|
/* scoped */
|
|
@@ -45531,9 +45553,6 @@ let ZdForm = class ZdForm extends ZdComponentRender$1 {
|
|
|
45531
45553
|
this.instance.setViewValidate(this.form.validate);
|
|
45532
45554
|
this.instance.setViewResetValidation(this.form.resetValidation);
|
|
45533
45555
|
}
|
|
45534
|
-
if (this.instance.fillHeight) {
|
|
45535
|
-
setFillHeight(this.$el);
|
|
45536
|
-
}
|
|
45537
45556
|
}
|
|
45538
45557
|
submit(event) {
|
|
45539
45558
|
var _a;
|
|
@@ -45599,7 +45618,9 @@ __decorate([
|
|
|
45599
45618
|
__metadata("design:type", Object)
|
|
45600
45619
|
], ZdForm.prototype, "value", void 0);
|
|
45601
45620
|
ZdForm = __decorate([
|
|
45602
|
-
Component$1
|
|
45621
|
+
Component$1({
|
|
45622
|
+
mixins: [FillHeightMixin],
|
|
45623
|
+
})
|
|
45603
45624
|
], ZdForm);
|
|
45604
45625
|
var script$14 = ZdForm;
|
|
45605
45626
|
|
|
@@ -45756,11 +45777,6 @@ let ZdFrame = class ZdFrame extends ZdComponentRender$1 {
|
|
|
45756
45777
|
super(...arguments);
|
|
45757
45778
|
this.instanceType = Frame;
|
|
45758
45779
|
}
|
|
45759
|
-
mounted() {
|
|
45760
|
-
if (this.instance.fillHeight) {
|
|
45761
|
-
setFillHeight(this.$el);
|
|
45762
|
-
}
|
|
45763
|
-
}
|
|
45764
45780
|
};
|
|
45765
45781
|
__decorate([
|
|
45766
45782
|
PropWatch({ type: String, default: '' }),
|
|
@@ -45827,7 +45843,9 @@ __decorate([
|
|
|
45827
45843
|
__metadata("design:type", Object)
|
|
45828
45844
|
], ZdFrame.prototype, "fillHeight", void 0);
|
|
45829
45845
|
ZdFrame = __decorate([
|
|
45830
|
-
Component$1
|
|
45846
|
+
Component$1({
|
|
45847
|
+
mixins: [FillHeightMixin],
|
|
45848
|
+
})
|
|
45831
45849
|
], ZdFrame);
|
|
45832
45850
|
var script$13 = ZdFrame;
|
|
45833
45851
|
|
|
@@ -46188,9 +46206,6 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
|
|
|
46188
46206
|
}
|
|
46189
46207
|
this.setViewGetWidth();
|
|
46190
46208
|
this.updateFixedColumns();
|
|
46191
|
-
if (this.instance.fillHeight) {
|
|
46192
|
-
setFillHeight(this.$el);
|
|
46193
|
-
}
|
|
46194
46209
|
this.registerTrObserver();
|
|
46195
46210
|
}
|
|
46196
46211
|
/**
|
|
@@ -46848,7 +46863,7 @@ __decorate([
|
|
|
46848
46863
|
], ZdGrid.prototype, "changeLoading", null);
|
|
46849
46864
|
ZdGrid = __decorate([
|
|
46850
46865
|
Component({
|
|
46851
|
-
mixins: [NavigableTableMixin$1],
|
|
46866
|
+
mixins: [NavigableTableMixin$1, FillHeightMixin],
|
|
46852
46867
|
})
|
|
46853
46868
|
], ZdGrid);
|
|
46854
46869
|
var ZdGrid$1 = ZdGrid;
|
|
@@ -51369,11 +51384,6 @@ let ZdImage = class ZdImage extends ZdComponentRender$1 {
|
|
|
51369
51384
|
super(...arguments);
|
|
51370
51385
|
this.instanceType = Image$1;
|
|
51371
51386
|
}
|
|
51372
|
-
mounted() {
|
|
51373
|
-
if (this.instance.fillHeight) {
|
|
51374
|
-
setFillHeight(this.$el);
|
|
51375
|
-
}
|
|
51376
|
-
}
|
|
51377
51387
|
load(event) {
|
|
51378
51388
|
this.instance.load(event, this.$el);
|
|
51379
51389
|
}
|
|
@@ -51427,7 +51437,9 @@ __decorate([
|
|
|
51427
51437
|
__metadata("design:type", Object)
|
|
51428
51438
|
], ZdImage.prototype, "fillHeight", void 0);
|
|
51429
51439
|
ZdImage = __decorate([
|
|
51430
|
-
Component$1
|
|
51440
|
+
Component$1({
|
|
51441
|
+
mixins: [FillHeightMixin],
|
|
51442
|
+
})
|
|
51431
51443
|
], ZdImage);
|
|
51432
51444
|
var script$L = ZdImage;
|
|
51433
51445
|
|
|
@@ -51738,11 +51750,6 @@ let ZdIterableComponentRender = class ZdIterableComponentRender extends ZdIterab
|
|
|
51738
51750
|
super(...arguments);
|
|
51739
51751
|
this.instanceType = IterableComponentRender;
|
|
51740
51752
|
}
|
|
51741
|
-
mounted() {
|
|
51742
|
-
if (this.instance.fillHeight) {
|
|
51743
|
-
setFillHeight(this.$el);
|
|
51744
|
-
}
|
|
51745
|
-
}
|
|
51746
51753
|
};
|
|
51747
51754
|
__decorate([
|
|
51748
51755
|
Prop({
|
|
@@ -51839,7 +51846,9 @@ __decorate([
|
|
|
51839
51846
|
__metadata("design:type", Object)
|
|
51840
51847
|
], ZdIterableComponentRender.prototype, "showLoading", void 0);
|
|
51841
51848
|
ZdIterableComponentRender = __decorate([
|
|
51842
|
-
Component$1
|
|
51849
|
+
Component$1({
|
|
51850
|
+
mixins: [FillHeightMixin],
|
|
51851
|
+
})
|
|
51843
51852
|
], ZdIterableComponentRender);
|
|
51844
51853
|
var script$J = ZdIterableComponentRender;
|
|
51845
51854
|
|
|
@@ -53441,11 +53450,6 @@ let ZdList = class ZdList extends ZdComponentRender$1 {
|
|
|
53441
53450
|
super(...arguments);
|
|
53442
53451
|
this.instanceType = List;
|
|
53443
53452
|
}
|
|
53444
|
-
mounted() {
|
|
53445
|
-
if (this.instance.fillHeight) {
|
|
53446
|
-
setFillHeight(this.$el);
|
|
53447
|
-
}
|
|
53448
|
-
}
|
|
53449
53453
|
isLastItem(index) {
|
|
53450
53454
|
return index + 1 === this.instance.items.length;
|
|
53451
53455
|
}
|
|
@@ -53515,7 +53519,9 @@ __decorate([
|
|
|
53515
53519
|
__metadata("design:type", Array)
|
|
53516
53520
|
], ZdList.prototype, "items", void 0);
|
|
53517
53521
|
ZdList = __decorate([
|
|
53518
|
-
Component$1
|
|
53522
|
+
Component$1({
|
|
53523
|
+
mixins: [FillHeightMixin],
|
|
53524
|
+
})
|
|
53519
53525
|
], ZdList);
|
|
53520
53526
|
var ZdList$1 = ZdList;
|
|
53521
53527
|
|
|
@@ -54663,11 +54669,6 @@ let ZdMasterDetail = class ZdMasterDetail extends ZdComponentRender$1 {
|
|
|
54663
54669
|
super(...arguments);
|
|
54664
54670
|
this.instanceType = MasterDetail;
|
|
54665
54671
|
}
|
|
54666
|
-
mounted() {
|
|
54667
|
-
if (this.instance.fillHeight) {
|
|
54668
|
-
setFillHeight(this.$el);
|
|
54669
|
-
}
|
|
54670
|
-
}
|
|
54671
54672
|
};
|
|
54672
54673
|
__decorate([
|
|
54673
54674
|
Prop({ type: [Object, String], default: () => ({}) }),
|
|
@@ -54694,7 +54695,9 @@ __decorate([
|
|
|
54694
54695
|
__metadata("design:type", Object)
|
|
54695
54696
|
], ZdMasterDetail.prototype, "fillHeight", void 0);
|
|
54696
54697
|
ZdMasterDetail = __decorate([
|
|
54697
|
-
Component$1
|
|
54698
|
+
Component$1({
|
|
54699
|
+
mixins: [FillHeightMixin],
|
|
54700
|
+
})
|
|
54698
54701
|
], ZdMasterDetail);
|
|
54699
54702
|
var script$x = ZdMasterDetail;
|
|
54700
54703
|
|
|
@@ -56960,11 +56963,6 @@ let ZdRow = class ZdRow extends ZdComponentRender$1 {
|
|
|
56960
56963
|
super(...arguments);
|
|
56961
56964
|
this.instanceType = Row$1;
|
|
56962
56965
|
}
|
|
56963
|
-
mounted() {
|
|
56964
|
-
if (this.instance.fillHeight) {
|
|
56965
|
-
setFillHeight(this.$el);
|
|
56966
|
-
}
|
|
56967
|
-
}
|
|
56968
56966
|
};
|
|
56969
56967
|
__decorate([
|
|
56970
56968
|
PropWatch({ type: String }),
|
|
@@ -56999,7 +56997,9 @@ __decorate([
|
|
|
56999
56997
|
__metadata("design:type", Object)
|
|
57000
56998
|
], ZdRow.prototype, "fillHeight", void 0);
|
|
57001
56999
|
ZdRow = __decorate([
|
|
57002
|
-
Component$1
|
|
57000
|
+
Component$1({
|
|
57001
|
+
mixins: [FillHeightMixin],
|
|
57002
|
+
})
|
|
57003
57003
|
], ZdRow);
|
|
57004
57004
|
var script$k = ZdRow;
|
|
57005
57005
|
|
|
@@ -57295,7 +57295,7 @@ __vue_render__$m._withStripped = true;
|
|
|
57295
57295
|
/* style */
|
|
57296
57296
|
const __vue_inject_styles__$m = function (inject) {
|
|
57297
57297
|
if (!inject) return
|
|
57298
|
-
inject("data-v-
|
|
57298
|
+
inject("data-v-0794902d_0", { source: ".zd-search {\n width: 100%;\n}\n.zd-search.show-search-field.zd-input.v-input.zd-no-helper > .v-input__control > .v-text-field__details {\n display: flex;\n}\n.zd-search.show-search-field .v-input__append-inner .v-input__icon--append .v-icon {\n background-color: var(--v-primary-base) !important;\n color: white !important;\n border-radius: 3px !important;\n height: var(--icon-size);\n width: var(--icon-size);\n margin-right: 8px !important;\n}\n.zd-search.show-search-field.zd-dense .v-input__append-inner .v-input__icon--append .v-icon {\n margin-right: 2px !important;\n height: var(--icon-size-small);\n width: var(--icon-size-small);\n}\n.zd-search-buttons {\n display: block;\n width: 100%;\n justify-content: left;\n}", map: undefined, media: undefined });
|
|
57299
57299
|
|
|
57300
57300
|
};
|
|
57301
57301
|
/* scoped */
|
|
@@ -57334,11 +57334,6 @@ let ZdSelectableList = class ZdSelectableList extends ZdList$1 {
|
|
|
57334
57334
|
change() {
|
|
57335
57335
|
this.instance.change(undefined, this.$el);
|
|
57336
57336
|
}
|
|
57337
|
-
mounted() {
|
|
57338
|
-
if (this.instance.fillHeight) {
|
|
57339
|
-
setFillHeight(this.$el);
|
|
57340
|
-
}
|
|
57341
|
-
}
|
|
57342
57337
|
};
|
|
57343
57338
|
__decorate([
|
|
57344
57339
|
PropWatch({ type: [String], default: '' }),
|
|
@@ -57389,7 +57384,9 @@ __decorate([
|
|
|
57389
57384
|
__metadata("design:type", Object)
|
|
57390
57385
|
], ZdSelectableList.prototype, "fillHeight", void 0);
|
|
57391
57386
|
ZdSelectableList = __decorate([
|
|
57392
|
-
Component$1
|
|
57387
|
+
Component$1({
|
|
57388
|
+
mixins: [FillHeightMixin],
|
|
57389
|
+
})
|
|
57393
57390
|
], ZdSelectableList);
|
|
57394
57391
|
var script$i = ZdSelectableList;
|
|
57395
57392
|
|
|
@@ -57639,11 +57636,9 @@ let ZdSelectMultiple = class ZdSelectMultiple extends __vue_component__$K {
|
|
|
57639
57636
|
return chips;
|
|
57640
57637
|
}
|
|
57641
57638
|
toggle() {
|
|
57642
|
-
|
|
57643
|
-
|
|
57644
|
-
menu.isActive = !this.instance.readonly && !this.instance.disabled && !menu.isActive;
|
|
57639
|
+
this.superMethods(__vue_component__$K).toggle.call(this);
|
|
57640
|
+
const { menu } = this.componentRef.$refs;
|
|
57645
57641
|
this.rows = menu.isActive ? this.maxRowsNumber : 1;
|
|
57646
|
-
this.$nextTick(() => { this.componentRef.isFocused = true; });
|
|
57647
57642
|
}
|
|
57648
57643
|
/**
|
|
57649
57644
|
* Removes first item if it's text is overflowing out of parent
|
|
@@ -60139,11 +60134,6 @@ let ZdTable = class ZdTable extends ZdIterable$1 {
|
|
|
60139
60134
|
super(...arguments);
|
|
60140
60135
|
this.instanceType = Table;
|
|
60141
60136
|
}
|
|
60142
|
-
mounted() {
|
|
60143
|
-
if (this.instance.fillHeight) {
|
|
60144
|
-
setFillHeight(this.$el);
|
|
60145
|
-
}
|
|
60146
|
-
}
|
|
60147
60137
|
};
|
|
60148
60138
|
__decorate([
|
|
60149
60139
|
Prop({ type: Object, default: () => ({}) }),
|
|
@@ -60174,7 +60164,9 @@ __decorate([
|
|
|
60174
60164
|
__metadata("design:type", Object)
|
|
60175
60165
|
], ZdTable.prototype, "fillHeight", void 0);
|
|
60176
60166
|
ZdTable = __decorate([
|
|
60177
|
-
Component$1
|
|
60167
|
+
Component$1({
|
|
60168
|
+
mixins: [FillHeightMixin],
|
|
60169
|
+
})
|
|
60178
60170
|
], ZdTable);
|
|
60179
60171
|
var script$b = ZdTable;
|
|
60180
60172
|
|
|
@@ -60363,9 +60355,6 @@ let ZdTabs = class ZdTabs extends ZdComponentRender$1 {
|
|
|
60363
60355
|
this.instance.beforeChange(event, index, this.$el);
|
|
60364
60356
|
}
|
|
60365
60357
|
mounted() {
|
|
60366
|
-
if (this.instance.fillHeight) {
|
|
60367
|
-
setFillHeight(this.$el);
|
|
60368
|
-
}
|
|
60369
60358
|
I18n.registerChangeListener(() => {
|
|
60370
60359
|
this.$nextTick(() => {
|
|
60371
60360
|
var _a;
|
|
@@ -60403,7 +60392,9 @@ __decorate([
|
|
|
60403
60392
|
__metadata("design:type", Array)
|
|
60404
60393
|
], ZdTabs.prototype, "tabs", void 0);
|
|
60405
60394
|
ZdTabs = __decorate([
|
|
60406
|
-
Component$1
|
|
60395
|
+
Component$1({
|
|
60396
|
+
mixins: [FillHeightMixin],
|
|
60397
|
+
})
|
|
60407
60398
|
], ZdTabs);
|
|
60408
60399
|
var script$a = ZdTabs;
|
|
60409
60400
|
|
|
@@ -61117,7 +61108,6 @@ let ZdTextarea = class ZdTextarea extends ZdTextInput$1 {
|
|
|
61117
61108
|
mounted() {
|
|
61118
61109
|
this.setPlaceholder('textarea');
|
|
61119
61110
|
if (this.instance.fillHeight) {
|
|
61120
|
-
setFillHeight(this.$el);
|
|
61121
61111
|
if (this.$el.parentElement && this.instance.cssClass.indexOf('zd-form-child') !== -1) {
|
|
61122
61112
|
setFillHeight(this.$el.parentElement);
|
|
61123
61113
|
}
|
|
@@ -61187,7 +61177,9 @@ __decorate([
|
|
|
61187
61177
|
__metadata("design:type", Object)
|
|
61188
61178
|
], ZdTextarea.prototype, "fillHeight", void 0);
|
|
61189
61179
|
ZdTextarea = __decorate([
|
|
61190
|
-
Component$1
|
|
61180
|
+
Component$1({
|
|
61181
|
+
mixins: [FillHeightMixin],
|
|
61182
|
+
})
|
|
61191
61183
|
], ZdTextarea);
|
|
61192
61184
|
var script$5 = ZdTextarea;
|
|
61193
61185
|
|
|
@@ -62204,11 +62196,8 @@ let ZdTree = class ZdTree extends ZdComponentRender$1 {
|
|
|
62204
62196
|
mounted() {
|
|
62205
62197
|
this.instance.setTree(this.$refs.tree);
|
|
62206
62198
|
this.setAfterTitleMargin();
|
|
62207
|
-
this.nodeChange();
|
|
62208
|
-
this.$watch('$refs.tree.nodes', this.nodeChange, { deep: true });
|
|
62209
|
-
if (this.instance.fillHeight) {
|
|
62210
|
-
setFillHeight(this.$el);
|
|
62211
|
-
}
|
|
62199
|
+
this.nodeChange(); // This needs to be after the tree is set
|
|
62200
|
+
this.$watch('$refs.tree.nodes', this.nodeChange, { deep: true }); // This needs to be after the tree is set
|
|
62212
62201
|
}
|
|
62213
62202
|
dataChange() {
|
|
62214
62203
|
this.instance.createNodesFromDatasource();
|
|
@@ -62390,7 +62379,10 @@ __decorate([
|
|
|
62390
62379
|
], ZdTree.prototype, "dataChange", null);
|
|
62391
62380
|
ZdTree = __decorate([
|
|
62392
62381
|
Component$1({
|
|
62393
|
-
|
|
62382
|
+
mixins: [FillHeightMixin],
|
|
62383
|
+
components: {
|
|
62384
|
+
ZdTreeCheckbox: __vue_component__$4, ZdTreeAfterTitle: __vue_component__$3,
|
|
62385
|
+
},
|
|
62394
62386
|
})
|
|
62395
62387
|
], ZdTree);
|
|
62396
62388
|
var script$1 = ZdTree;
|
|
@@ -64948,4 +64940,4 @@ const Zeedhi = {
|
|
|
64948
64940
|
const packageContent = require('../package.json');
|
|
64949
64941
|
VersionService.addPackageVersion(packageContent.name, packageContent.version);
|
|
64950
64942
|
|
|
64951
|
-
export { EditableMixin$1 as EditableMixin, IconRenderer, NavigableTableMixin$1 as NavigableTableMixin, PropWatch, ThemeColor, Themeable, Vuetify, script$1q as ZdAlert, script$1p as ZdApexChart, script$1o as ZdBadge, script$1n as ZdBreadcrumbs, ZdButton$1 as ZdButton, script$1m as ZdButtonGroup, script$1l as ZdCard, script$1k as ZdCarousel, script$1j as ZdCheckbox, script$1i as ZdCheckboxMultiple, script$1h as ZdChip, script$1g as ZdCodeEditor, script$1f as ZdCol, script$1e as ZdCollapseCard, ZdComponent$1 as ZdComponent, ZdComponentRender$1 as ZdComponentRender, script$1d as ZdContainer, script$1c as ZdCurrency, script$1b as ZdDashboard, script$1a as ZdDate, script$19 as ZdDateRange, script$18 as ZdDialog, script$17 as ZdDivider, ZdDropdown$1 as ZdDropdown, script$16 as ZdFileInput, script$15 as ZdFooter, script$14 as ZdForm, script$13 as ZdFrame, script$12 as ZdFramePage, ZdGrid$1 as ZdGrid, script$Y as ZdGridAction, ZdGridCell$1 as ZdGridCell, script$X as ZdGridCellContent, script$W as ZdGridCellEdit, script$P as ZdGridCheckbox, script$S as ZdGridColumnHeader, script$11 as ZdGridEditable, script$V as ZdGridEditableCell, script$U as ZdGridEditableCellContent, script$$ as ZdGridFooter, script$T as ZdGridHelper, script$Q as ZdGridRow, script$R as ZdGridSortIcon, script$Z as ZdGridTop, script$10 as ZdHeader, script$L as ZdImage, script$K as ZdIncrement, ZdInput$1 as ZdInput, ZdIterable$1 as ZdIterable, script$I as ZdIterableColumnsButton, script$J as ZdIterableComponentRender, script$_ as ZdIterableNoData, script$E as ZdIterablePageInfo, script$F as ZdIterablePageSize, script$H as ZdIterablePagination, ZdList$1 as ZdList, script$B as ZdListGroup, script$C as ZdListItem, __vue_component__$D as ZdLoading, script$z as ZdLogin, script$y as ZdLoginButton, script$x as ZdMasterDetail, script$w as ZdMenu, script$t as ZdMenuButton, script$u as ZdMenuGroup, script$v as ZdMenuLink, script$s as ZdMenuSeparator, script$r as ZdModal, script$q as ZdModalCloseButton, script$p as ZdMonth, ZdNumber$1 as ZdNumber, script$o as ZdPassword, script$n as ZdProgress, script$m as ZdRadio, script$l as ZdRangeSlider, script$k as ZdRow, script$j as ZdSearch, script$G as ZdSelect, script$h as ZdSelectMultiple, ZdSelectTree$1 as ZdSelectTree, script$g as ZdSelectTreeMultiple, script$i as ZdSelectableList, script$f as ZdSpeedDial, script$e as ZdSteppers, script$d as ZdSvgMap, script$c as ZdSwitch, script$b as ZdTable, script$a as ZdTabs, script$7 as ZdTag, script$6 as ZdText, ZdTextInput$1 as ZdTextInput, script$5 as ZdTextarea, script$4 as ZdTime, ZdToggleable$1 as ZdToggleable, ZdTooltip$1 as ZdTooltip, script$1 as ZdTree, ZdTreeGrid$1 as ZdTreeGrid, script$O as ZdTreeGridCellContent, script as ZdTreeGridEditable, components, Zeedhi as default, setFillHeight };
|
|
64943
|
+
export { EditableMixin$1 as EditableMixin, FillHeightMixin, IconRenderer, NavigableTableMixin$1 as NavigableTableMixin, PropWatch, ThemeColor, Themeable, Vuetify, script$1q as ZdAlert, script$1p as ZdApexChart, script$1o as ZdBadge, script$1n as ZdBreadcrumbs, ZdButton$1 as ZdButton, script$1m as ZdButtonGroup, script$1l as ZdCard, script$1k as ZdCarousel, script$1j as ZdCheckbox, script$1i as ZdCheckboxMultiple, script$1h as ZdChip, script$1g as ZdCodeEditor, script$1f as ZdCol, script$1e as ZdCollapseCard, ZdComponent$1 as ZdComponent, ZdComponentRender$1 as ZdComponentRender, script$1d as ZdContainer, script$1c as ZdCurrency, script$1b as ZdDashboard, script$1a as ZdDate, script$19 as ZdDateRange, script$18 as ZdDialog, script$17 as ZdDivider, ZdDropdown$1 as ZdDropdown, script$16 as ZdFileInput, script$15 as ZdFooter, script$14 as ZdForm, script$13 as ZdFrame, script$12 as ZdFramePage, ZdGrid$1 as ZdGrid, script$Y as ZdGridAction, ZdGridCell$1 as ZdGridCell, script$X as ZdGridCellContent, script$W as ZdGridCellEdit, script$P as ZdGridCheckbox, script$S as ZdGridColumnHeader, script$11 as ZdGridEditable, script$V as ZdGridEditableCell, script$U as ZdGridEditableCellContent, script$$ as ZdGridFooter, script$T as ZdGridHelper, script$Q as ZdGridRow, script$R as ZdGridSortIcon, script$Z as ZdGridTop, script$10 as ZdHeader, script$L as ZdImage, script$K as ZdIncrement, ZdInput$1 as ZdInput, ZdIterable$1 as ZdIterable, script$I as ZdIterableColumnsButton, script$J as ZdIterableComponentRender, script$_ as ZdIterableNoData, script$E as ZdIterablePageInfo, script$F as ZdIterablePageSize, script$H as ZdIterablePagination, ZdList$1 as ZdList, script$B as ZdListGroup, script$C as ZdListItem, __vue_component__$D as ZdLoading, script$z as ZdLogin, script$y as ZdLoginButton, script$x as ZdMasterDetail, script$w as ZdMenu, script$t as ZdMenuButton, script$u as ZdMenuGroup, script$v as ZdMenuLink, script$s as ZdMenuSeparator, script$r as ZdModal, script$q as ZdModalCloseButton, script$p as ZdMonth, ZdNumber$1 as ZdNumber, script$o as ZdPassword, script$n as ZdProgress, script$m as ZdRadio, script$l as ZdRangeSlider, script$k as ZdRow, script$j as ZdSearch, script$G as ZdSelect, script$h as ZdSelectMultiple, ZdSelectTree$1 as ZdSelectTree, script$g as ZdSelectTreeMultiple, script$i as ZdSelectableList, script$f as ZdSpeedDial, script$e as ZdSteppers, script$d as ZdSvgMap, script$c as ZdSwitch, script$b as ZdTable, script$a as ZdTabs, script$7 as ZdTag, script$6 as ZdText, ZdTextInput$1 as ZdTextInput, script$5 as ZdTextarea, script$4 as ZdTime, ZdToggleable$1 as ZdToggleable, ZdTooltip$1 as ZdTooltip, script$1 as ZdTree, ZdTreeGrid$1 as ZdTreeGrid, script$O as ZdTreeGridCellContent, script as ZdTreeGridEditable, components, Zeedhi as default, setFillHeight };
|
package/dist/zd-vuetify.umd.js
CHANGED
|
@@ -38663,14 +38663,15 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
38663
38663
|
}
|
|
38664
38664
|
IconRenderer.icons = {};
|
|
38665
38665
|
|
|
38666
|
-
function setFillHeight(element) {
|
|
38666
|
+
function setFillHeight(element, fillHeight = false) {
|
|
38667
38667
|
const parent = element.parentElement;
|
|
38668
38668
|
if (parent) {
|
|
38669
38669
|
parent.style.display = 'flex';
|
|
38670
38670
|
parent.style.flexFlow = 'column';
|
|
38671
38671
|
Array.from(parent.children).forEach((child) => {
|
|
38672
38672
|
if (child === element) {
|
|
38673
|
-
|
|
38673
|
+
const flexBasis = typeof fillHeight === 'string' ? fillHeight : '0';
|
|
38674
|
+
child.style.flex = `1 1 ${flexBasis}`;
|
|
38674
38675
|
child.style.overflowY = 'auto';
|
|
38675
38676
|
}
|
|
38676
38677
|
else {
|
|
@@ -38678,7 +38679,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
38678
38679
|
}
|
|
38679
38680
|
});
|
|
38680
38681
|
}
|
|
38681
|
-
}
|
|
38682
|
+
}
|
|
38683
|
+
exports.FillHeightMixin = class FillHeightMixin extends Vue__default["default"] {
|
|
38684
|
+
mounted() {
|
|
38685
|
+
if (!this.instance.fillHeight)
|
|
38686
|
+
return;
|
|
38687
|
+
setFillHeight(this.$el, this.instance.fillHeight);
|
|
38688
|
+
}
|
|
38689
|
+
};
|
|
38690
|
+
exports.FillHeightMixin = __decorate([
|
|
38691
|
+
Component__default["default"]
|
|
38692
|
+
], exports.FillHeightMixin);
|
|
38682
38693
|
|
|
38683
38694
|
/**
|
|
38684
38695
|
* ApexChart component
|
|
@@ -38695,9 +38706,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
38695
38706
|
const updateFn = this.updateChart;
|
|
38696
38707
|
this.instance.setViewUpdate(updateFn);
|
|
38697
38708
|
this.instance.setViewGetIconHTML((icon) => IconRenderer.getIcon(icon, this.$root.$options.vuetify));
|
|
38698
|
-
if (this.instance.fillHeight) {
|
|
38699
|
-
setFillHeight(this.$el);
|
|
38700
|
-
}
|
|
38701
38709
|
this.defaultOptions = Object.assign({}, this.$refs.instance.chart.w.config);
|
|
38702
38710
|
this.breakpoints = ((_b = (_a = this.instance.options) === null || _a === void 0 ? void 0 : _a.parentResponsive) === null || _b === void 0 ? void 0 : _b.sort((a, b) => a.breakpoint - b.breakpoint)) || [];
|
|
38703
38711
|
this.apexChartContainer = this.$refs.chartContainer;
|
|
@@ -38800,7 +38808,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
38800
38808
|
__metadata("design:type", String)
|
|
38801
38809
|
], ZdApexChart.prototype, "loadColor", void 0);
|
|
38802
38810
|
ZdApexChart = __decorate([
|
|
38803
|
-
vuePropertyDecorator.Component
|
|
38811
|
+
vuePropertyDecorator.Component({
|
|
38812
|
+
mixins: [exports.FillHeightMixin],
|
|
38813
|
+
})
|
|
38804
38814
|
], ZdApexChart);
|
|
38805
38815
|
var script$1p = ZdApexChart;
|
|
38806
38816
|
|
|
@@ -39624,11 +39634,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
39624
39634
|
super(...arguments);
|
|
39625
39635
|
this.instanceType = common.Card;
|
|
39626
39636
|
}
|
|
39627
|
-
mounted() {
|
|
39628
|
-
if (this.instance.fillHeight) {
|
|
39629
|
-
setFillHeight(this.$el);
|
|
39630
|
-
}
|
|
39631
|
-
}
|
|
39632
39637
|
};
|
|
39633
39638
|
__decorate([
|
|
39634
39639
|
PropWatch({ type: String, default: '' }),
|
|
@@ -39719,7 +39724,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
39719
39724
|
__metadata("design:type", String)
|
|
39720
39725
|
], ZdCard.prototype, "to", void 0);
|
|
39721
39726
|
ZdCard = __decorate([
|
|
39722
|
-
vuePropertyDecorator.Component
|
|
39727
|
+
vuePropertyDecorator.Component({
|
|
39728
|
+
mixins: [exports.FillHeightMixin],
|
|
39729
|
+
})
|
|
39723
39730
|
], ZdCard);
|
|
39724
39731
|
var script$1l = ZdCard;
|
|
39725
39732
|
|
|
@@ -39865,9 +39872,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
39865
39872
|
}, 200);
|
|
39866
39873
|
}
|
|
39867
39874
|
core.Metadata.setEnabledConsole(true);
|
|
39868
|
-
if (this.instance.fillHeight) {
|
|
39869
|
-
setFillHeight(this.$el);
|
|
39870
|
-
}
|
|
39871
39875
|
if (this.carousel) {
|
|
39872
39876
|
this.setViewUpdate();
|
|
39873
39877
|
this.addResizeObserver();
|
|
@@ -40085,7 +40089,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
40085
40089
|
__metadata("design:returntype", void 0)
|
|
40086
40090
|
], ZdCarousel.prototype, "changeIsVisible", null);
|
|
40087
40091
|
ZdCarousel = __decorate([
|
|
40088
|
-
vuePropertyDecorator.Component
|
|
40092
|
+
vuePropertyDecorator.Component({
|
|
40093
|
+
mixins: [exports.FillHeightMixin],
|
|
40094
|
+
})
|
|
40089
40095
|
], ZdCarousel);
|
|
40090
40096
|
var script$1k = ZdCarousel;
|
|
40091
40097
|
|
|
@@ -40408,7 +40414,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
40408
40414
|
/* style */
|
|
40409
40415
|
const __vue_inject_styles__$1u = function (inject) {
|
|
40410
40416
|
if (!inject) return
|
|
40411
|
-
inject("data-v-
|
|
40417
|
+
inject("data-v-544481c8_0", { source: ".zd-carousel {\n height: 100%;\n width: 100%;\n}\n.zd-carousel section.hooper {\n outline: none;\n}\n.zd-carousel section.hooper * {\n outline: none;\n}\n.zd-carousel section.hooper .hooper-list .hooper-slide {\n align-self: center;\n}\n.zd-carousel section.hooper .hooper-list .hooper-slide > .row {\n height: 100%;\n align-items: center;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination {\n padding: 0;\n width: 100%;\n height: 50px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination .hooper-indicators {\n margin: 0 auto;\n display: block;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination .hooper-indicators li {\n display: inline-block;\n margin: 0 var(--spacing-2);\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination .hooper-indicators li .hooper-indicator {\n width: 18px;\n height: 18px;\n border-radius: 50%;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.show-background {\n background: rgba(0, 0, 0, 0.3);\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--light .hooper-indicator {\n opacity: 0.25;\n background-color: black;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--light .hooper-indicator.is-active {\n opacity: 0.6;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--light .hooper-indicator:hover:not(.is-active) {\n opacity: 0.4;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--dark {\n color: white;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--dark .hooper-indicator {\n opacity: 0.5;\n background-color: white;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--dark .hooper-indicator.is-active {\n opacity: 0.8;\n}\n.zd-carousel section.hooper .hooper-list .hooper-pagination.theme--dark .hooper-indicator:hover:not(.is-active) {\n opacity: 0.6;\n}\n.zd-carousel section.hooper .hooper-list button.hooper-prev {\n padding: 0;\n}\n.zd-carousel section.hooper .hooper-list button.hooper-next {\n padding: 0;\n}\n.zd-carousel section.hooper .hooper-list .prev-button, .zd-carousel section.hooper .hooper-list .next-button {\n transition: 0.1s;\n}\n.zd-carousel section.hooper .hooper-list ul.hooper-track, .zd-carousel section.hooper .hooper-list ol.hooper-indicators {\n padding-left: 0;\n}\n.zd-carousel section.hooper .hooper-list .hooper-progress-inner {\n background-color: var(--v-primary-base);\n}\n.zd-carousel.buttons-outside section.hooper {\n width: calc(100% - 2 * var(--spacing-8));\n margin-left: var(--spacing-8);\n}\n.zd-carousel.buttons-outside section.hooper .hooper-list .hooper-navigation button.hooper-prev {\n left: calc(-1 * var(--spacing-8));\n}\n.zd-carousel.buttons-outside section.hooper .hooper-list .hooper-navigation button.hooper-next {\n right: calc(-1 * var(--spacing-8));\n}", map: undefined, media: undefined });
|
|
40412
40418
|
|
|
40413
40419
|
};
|
|
40414
40420
|
/* scoped */
|
|
@@ -41189,11 +41195,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
41189
41195
|
created() {
|
|
41190
41196
|
this.instance.setViewHighlight(this.highlight);
|
|
41191
41197
|
}
|
|
41192
|
-
mounted() {
|
|
41193
|
-
if (this.instance.fillHeight) {
|
|
41194
|
-
setFillHeight(this.$el);
|
|
41195
|
-
}
|
|
41196
|
-
}
|
|
41197
41198
|
highlight(code, language) {
|
|
41198
41199
|
return Prism__default["default"].highlight(code, Prism__default["default"].languages[this.language], language);
|
|
41199
41200
|
}
|
|
@@ -41243,7 +41244,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
41243
41244
|
__metadata("design:type", Object)
|
|
41244
41245
|
], ZdCodeEditor.prototype, "staticCode", void 0);
|
|
41245
41246
|
ZdCodeEditor = __decorate([
|
|
41246
|
-
vuePropertyDecorator.Component
|
|
41247
|
+
vuePropertyDecorator.Component({
|
|
41248
|
+
mixins: [exports.FillHeightMixin],
|
|
41249
|
+
})
|
|
41247
41250
|
], ZdCodeEditor);
|
|
41248
41251
|
var script$1g = ZdCodeEditor;
|
|
41249
41252
|
|
|
@@ -41433,11 +41436,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
41433
41436
|
super(...arguments);
|
|
41434
41437
|
this.instanceType = common.Col;
|
|
41435
41438
|
}
|
|
41436
|
-
mounted() {
|
|
41437
|
-
if (this.instance.fillHeight) {
|
|
41438
|
-
setFillHeight(this.$el);
|
|
41439
|
-
}
|
|
41440
|
-
}
|
|
41441
41439
|
};
|
|
41442
41440
|
__decorate([
|
|
41443
41441
|
PropWatch({ type: [String, Number], default: '12' }),
|
|
@@ -41480,7 +41478,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
41480
41478
|
__metadata("design:type", Object)
|
|
41481
41479
|
], ZdCol.prototype, "fillHeight", void 0);
|
|
41482
41480
|
ZdCol = __decorate([
|
|
41483
|
-
vuePropertyDecorator.Component
|
|
41481
|
+
vuePropertyDecorator.Component({
|
|
41482
|
+
mixins: [exports.FillHeightMixin],
|
|
41483
|
+
})
|
|
41484
41484
|
], ZdCol);
|
|
41485
41485
|
var script$1f = ZdCol;
|
|
41486
41486
|
|
|
@@ -41899,11 +41899,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
41899
41899
|
super(...arguments);
|
|
41900
41900
|
this.instanceType = common.Container;
|
|
41901
41901
|
}
|
|
41902
|
-
mounted() {
|
|
41903
|
-
if (this.instance.fillHeight) {
|
|
41904
|
-
setFillHeight(this.$el);
|
|
41905
|
-
}
|
|
41906
|
-
}
|
|
41907
41902
|
};
|
|
41908
41903
|
__decorate([
|
|
41909
41904
|
PropWatch({ type: [Boolean, String], default: true }),
|
|
@@ -41942,7 +41937,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
41942
41937
|
__metadata("design:type", Object)
|
|
41943
41938
|
], ZdContainer.prototype, "maxWidth", void 0);
|
|
41944
41939
|
ZdContainer = __decorate([
|
|
41945
|
-
vuePropertyDecorator.Component
|
|
41940
|
+
vuePropertyDecorator.Component({
|
|
41941
|
+
mixins: [exports.FillHeightMixin],
|
|
41942
|
+
})
|
|
41946
41943
|
], ZdContainer);
|
|
41947
41944
|
var script$1d = ZdContainer;
|
|
41948
41945
|
|
|
@@ -42679,9 +42676,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
42679
42676
|
forceFallback: true,
|
|
42680
42677
|
});
|
|
42681
42678
|
}
|
|
42682
|
-
if (this.instance.fillHeight) {
|
|
42683
|
-
setFillHeight(this.$el);
|
|
42684
|
-
}
|
|
42685
42679
|
}
|
|
42686
42680
|
setData(event) {
|
|
42687
42681
|
const card = event.item.querySelector('.dashboard-div-card');
|
|
@@ -42835,7 +42829,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
42835
42829
|
__metadata("design:type", Object)
|
|
42836
42830
|
], ZdDashboard.prototype, "editHeader", void 0);
|
|
42837
42831
|
ZdDashboard = __decorate([
|
|
42838
|
-
vuePropertyDecorator.Component
|
|
42832
|
+
vuePropertyDecorator.Component({
|
|
42833
|
+
mixins: [exports.FillHeightMixin],
|
|
42834
|
+
})
|
|
42839
42835
|
], ZdDashboard);
|
|
42840
42836
|
var script$1b = ZdDashboard;
|
|
42841
42837
|
|
|
@@ -43740,6 +43736,21 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
43740
43736
|
const picker = this.$refs.picker.$el;
|
|
43741
43737
|
picker.removeEventListener('mousedown', this.onPickerMousedown);
|
|
43742
43738
|
}
|
|
43739
|
+
getAllowedDates(date) {
|
|
43740
|
+
// parsedDate vem no formato 'MM-DD-YYYY' (mês-dia-ano) — index 1 é o DIA
|
|
43741
|
+
const parsedDate = this.instance.parseISODateRangeValue([date])[0];
|
|
43742
|
+
const allowed = this.instance.allowedDates;
|
|
43743
|
+
let result = true;
|
|
43744
|
+
if (typeof allowed === 'function') {
|
|
43745
|
+
result = allowed(parsedDate);
|
|
43746
|
+
return result;
|
|
43747
|
+
}
|
|
43748
|
+
if (!allowed)
|
|
43749
|
+
return true;
|
|
43750
|
+
const allowedArray = Array.isArray(allowed) ? allowed : [allowed];
|
|
43751
|
+
result = allowedArray.includes(parsedDate);
|
|
43752
|
+
return result;
|
|
43753
|
+
}
|
|
43743
43754
|
toMask(format) {
|
|
43744
43755
|
return format.replace(/[A-Za-z]/gi, '#').split('').map((char) => (char === '#' ? /\d/ : char));
|
|
43745
43756
|
}
|
|
@@ -43771,6 +43782,13 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
43771
43782
|
return (dateSize * 2) + splitter;
|
|
43772
43783
|
}
|
|
43773
43784
|
};
|
|
43785
|
+
__decorate([
|
|
43786
|
+
PropWatch({
|
|
43787
|
+
type: [Function, Array, String],
|
|
43788
|
+
default: undefined,
|
|
43789
|
+
}),
|
|
43790
|
+
__metadata("design:type", Object)
|
|
43791
|
+
], ZdDateRange.prototype, "allowedDates", void 0);
|
|
43774
43792
|
__decorate([
|
|
43775
43793
|
PropWatch({ type: String, default: 'calendar' }),
|
|
43776
43794
|
__metadata("design:type", String)
|
|
@@ -43980,7 +43998,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
43980
43998
|
},
|
|
43981
43999
|
],
|
|
43982
44000
|
ref: "picker",
|
|
43983
|
-
attrs: {
|
|
44001
|
+
attrs: {
|
|
44002
|
+
"no-title": !_vm.$isMobile(),
|
|
44003
|
+
range: "",
|
|
44004
|
+
"allowed-dates": _vm.getAllowedDates,
|
|
44005
|
+
},
|
|
43984
44006
|
on: {
|
|
43985
44007
|
"hook:mounted": _vm.pickerMounted,
|
|
43986
44008
|
"hook:destroyed": _vm.pickerDestroyed,
|
|
@@ -44137,7 +44159,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
44137
44159
|
/* style */
|
|
44138
44160
|
const __vue_inject_styles__$1h = function (inject) {
|
|
44139
44161
|
if (!inject) return
|
|
44140
|
-
inject("data-v-
|
|
44162
|
+
inject("data-v-68640a11_0", { source: "div.v-picker--date .v-picker__body {\n background: transparent;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header {\n padding: var(--spacing-2) var(--spacing-4) var(--spacing-1) var(--spacing-4);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header .v-date-picker-header__value:not(.v-date-picker-header__value--disabled) > div {\n color: var(--zd-primary-base) !important;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header .v-date-picker-header__value:not(.v-date-picker-header__value--disabled) > div button:not(:hover):not(:focus) {\n color: var(--zd-font-default-color);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header button.v-btn {\n color: var(--zd-font-default-color);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header .v-btn--icon {\n height: var(--icon-size);\n width: var(--icon-size);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-header .v-date-picker-header__value button {\n padding: 0;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table {\n margin-bottom: 12px;\n padding: 0 var(--spacing-4);\n height: 200px;\n margin-bottom: var(--spacing-4);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table .v-btn.v-btn--active {\n color: var(--v-secondary-lighten4);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--date .v-btn {\n width: 24px;\n height: 24px;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--month {\n padding-top: var(--spacing-4);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--month .v-btn {\n padding: 4px 0 7px 0;\n height: 24px;\n width: 56px;\n min-width: 56px;\n border-radius: var(--border);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--month td {\n height: 24px;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table.v-date-picker-table--month tr:not(:last-child) td {\n padding-bottom: 24px;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table table thead th {\n color: var(--zd-font-disabled-color);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table table tbody button.v-btn {\n color: var(--zd-font-default-color);\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table table tbody button.v-btn.accent--text {\n color: var(--zd-primary-base) !important;\n}\ndiv.v-picker--date .v-picker__body .v-date-picker-table table tbody button.v-btn.accent {\n background: var(--zd-primary-base) !important;\n color: white !important;\n}\ndiv.v-picker--date .v-picker__body ul.v-date-picker-years li {\n color: var(--zd-font-default-color);\n}\ndiv.v-picker--date .v-picker__body ul.v-date-picker-years li.primary--text {\n color: var(--zd-primary-base) !important;\n}\n.zd-date-menu-activator .v-menu__activator.v-menu__activator--disabled {\n cursor: default;\n}\n.date-range-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.date-range-helper-values-button.with-label {\n margin-top: 20px;\n}\n.date-range-helper-values-option {\n cursor: pointer;\n}\n.date-range-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
|
44141
44163
|
|
|
44142
44164
|
};
|
|
44143
44165
|
/* scoped */
|
|
@@ -45530,9 +45552,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
45530
45552
|
this.instance.setViewValidate(this.form.validate);
|
|
45531
45553
|
this.instance.setViewResetValidation(this.form.resetValidation);
|
|
45532
45554
|
}
|
|
45533
|
-
if (this.instance.fillHeight) {
|
|
45534
|
-
setFillHeight(this.$el);
|
|
45535
|
-
}
|
|
45536
45555
|
}
|
|
45537
45556
|
submit(event) {
|
|
45538
45557
|
var _a;
|
|
@@ -45598,7 +45617,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
45598
45617
|
__metadata("design:type", Object)
|
|
45599
45618
|
], ZdForm.prototype, "value", void 0);
|
|
45600
45619
|
ZdForm = __decorate([
|
|
45601
|
-
vuePropertyDecorator.Component
|
|
45620
|
+
vuePropertyDecorator.Component({
|
|
45621
|
+
mixins: [exports.FillHeightMixin],
|
|
45622
|
+
})
|
|
45602
45623
|
], ZdForm);
|
|
45603
45624
|
var script$14 = ZdForm;
|
|
45604
45625
|
|
|
@@ -45755,11 +45776,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
45755
45776
|
super(...arguments);
|
|
45756
45777
|
this.instanceType = common.Frame;
|
|
45757
45778
|
}
|
|
45758
|
-
mounted() {
|
|
45759
|
-
if (this.instance.fillHeight) {
|
|
45760
|
-
setFillHeight(this.$el);
|
|
45761
|
-
}
|
|
45762
|
-
}
|
|
45763
45779
|
};
|
|
45764
45780
|
__decorate([
|
|
45765
45781
|
PropWatch({ type: String, default: '' }),
|
|
@@ -45826,7 +45842,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
45826
45842
|
__metadata("design:type", Object)
|
|
45827
45843
|
], ZdFrame.prototype, "fillHeight", void 0);
|
|
45828
45844
|
ZdFrame = __decorate([
|
|
45829
|
-
vuePropertyDecorator.Component
|
|
45845
|
+
vuePropertyDecorator.Component({
|
|
45846
|
+
mixins: [exports.FillHeightMixin],
|
|
45847
|
+
})
|
|
45830
45848
|
], ZdFrame);
|
|
45831
45849
|
var script$13 = ZdFrame;
|
|
45832
45850
|
|
|
@@ -46187,9 +46205,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
46187
46205
|
}
|
|
46188
46206
|
this.setViewGetWidth();
|
|
46189
46207
|
this.updateFixedColumns();
|
|
46190
|
-
if (this.instance.fillHeight) {
|
|
46191
|
-
setFillHeight(this.$el);
|
|
46192
|
-
}
|
|
46193
46208
|
this.registerTrObserver();
|
|
46194
46209
|
}
|
|
46195
46210
|
/**
|
|
@@ -46847,7 +46862,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
46847
46862
|
], ZdGrid.prototype, "changeLoading", null);
|
|
46848
46863
|
ZdGrid = __decorate([
|
|
46849
46864
|
Component__default["default"]({
|
|
46850
|
-
mixins: [NavigableTableMixin$1],
|
|
46865
|
+
mixins: [NavigableTableMixin$1, exports.FillHeightMixin],
|
|
46851
46866
|
})
|
|
46852
46867
|
], ZdGrid);
|
|
46853
46868
|
var ZdGrid$1 = ZdGrid;
|
|
@@ -51368,11 +51383,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
51368
51383
|
super(...arguments);
|
|
51369
51384
|
this.instanceType = common.Image;
|
|
51370
51385
|
}
|
|
51371
|
-
mounted() {
|
|
51372
|
-
if (this.instance.fillHeight) {
|
|
51373
|
-
setFillHeight(this.$el);
|
|
51374
|
-
}
|
|
51375
|
-
}
|
|
51376
51386
|
load(event) {
|
|
51377
51387
|
this.instance.load(event, this.$el);
|
|
51378
51388
|
}
|
|
@@ -51426,7 +51436,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
51426
51436
|
__metadata("design:type", Object)
|
|
51427
51437
|
], ZdImage.prototype, "fillHeight", void 0);
|
|
51428
51438
|
ZdImage = __decorate([
|
|
51429
|
-
vuePropertyDecorator.Component
|
|
51439
|
+
vuePropertyDecorator.Component({
|
|
51440
|
+
mixins: [exports.FillHeightMixin],
|
|
51441
|
+
})
|
|
51430
51442
|
], ZdImage);
|
|
51431
51443
|
var script$L = ZdImage;
|
|
51432
51444
|
|
|
@@ -51737,11 +51749,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
51737
51749
|
super(...arguments);
|
|
51738
51750
|
this.instanceType = common.IterableComponentRender;
|
|
51739
51751
|
}
|
|
51740
|
-
mounted() {
|
|
51741
|
-
if (this.instance.fillHeight) {
|
|
51742
|
-
setFillHeight(this.$el);
|
|
51743
|
-
}
|
|
51744
|
-
}
|
|
51745
51752
|
};
|
|
51746
51753
|
__decorate([
|
|
51747
51754
|
vuePropertyDecorator.Prop({
|
|
@@ -51838,7 +51845,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
51838
51845
|
__metadata("design:type", Object)
|
|
51839
51846
|
], ZdIterableComponentRender.prototype, "showLoading", void 0);
|
|
51840
51847
|
ZdIterableComponentRender = __decorate([
|
|
51841
|
-
vuePropertyDecorator.Component
|
|
51848
|
+
vuePropertyDecorator.Component({
|
|
51849
|
+
mixins: [exports.FillHeightMixin],
|
|
51850
|
+
})
|
|
51842
51851
|
], ZdIterableComponentRender);
|
|
51843
51852
|
var script$J = ZdIterableComponentRender;
|
|
51844
51853
|
|
|
@@ -53440,11 +53449,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
53440
53449
|
super(...arguments);
|
|
53441
53450
|
this.instanceType = common.List;
|
|
53442
53451
|
}
|
|
53443
|
-
mounted() {
|
|
53444
|
-
if (this.instance.fillHeight) {
|
|
53445
|
-
setFillHeight(this.$el);
|
|
53446
|
-
}
|
|
53447
|
-
}
|
|
53448
53452
|
isLastItem(index) {
|
|
53449
53453
|
return index + 1 === this.instance.items.length;
|
|
53450
53454
|
}
|
|
@@ -53514,7 +53518,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
53514
53518
|
__metadata("design:type", Array)
|
|
53515
53519
|
], ZdList.prototype, "items", void 0);
|
|
53516
53520
|
ZdList = __decorate([
|
|
53517
|
-
vuePropertyDecorator.Component
|
|
53521
|
+
vuePropertyDecorator.Component({
|
|
53522
|
+
mixins: [exports.FillHeightMixin],
|
|
53523
|
+
})
|
|
53518
53524
|
], ZdList);
|
|
53519
53525
|
var ZdList$1 = ZdList;
|
|
53520
53526
|
|
|
@@ -54662,11 +54668,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
54662
54668
|
super(...arguments);
|
|
54663
54669
|
this.instanceType = common.MasterDetail;
|
|
54664
54670
|
}
|
|
54665
|
-
mounted() {
|
|
54666
|
-
if (this.instance.fillHeight) {
|
|
54667
|
-
setFillHeight(this.$el);
|
|
54668
|
-
}
|
|
54669
|
-
}
|
|
54670
54671
|
};
|
|
54671
54672
|
__decorate([
|
|
54672
54673
|
vuePropertyDecorator.Prop({ type: [Object, String], default: () => ({}) }),
|
|
@@ -54693,7 +54694,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
54693
54694
|
__metadata("design:type", Object)
|
|
54694
54695
|
], ZdMasterDetail.prototype, "fillHeight", void 0);
|
|
54695
54696
|
ZdMasterDetail = __decorate([
|
|
54696
|
-
vuePropertyDecorator.Component
|
|
54697
|
+
vuePropertyDecorator.Component({
|
|
54698
|
+
mixins: [exports.FillHeightMixin],
|
|
54699
|
+
})
|
|
54697
54700
|
], ZdMasterDetail);
|
|
54698
54701
|
var script$x = ZdMasterDetail;
|
|
54699
54702
|
|
|
@@ -56959,11 +56962,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
56959
56962
|
super(...arguments);
|
|
56960
56963
|
this.instanceType = common.Row;
|
|
56961
56964
|
}
|
|
56962
|
-
mounted() {
|
|
56963
|
-
if (this.instance.fillHeight) {
|
|
56964
|
-
setFillHeight(this.$el);
|
|
56965
|
-
}
|
|
56966
|
-
}
|
|
56967
56965
|
};
|
|
56968
56966
|
__decorate([
|
|
56969
56967
|
PropWatch({ type: String }),
|
|
@@ -56998,7 +56996,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
56998
56996
|
__metadata("design:type", Object)
|
|
56999
56997
|
], ZdRow.prototype, "fillHeight", void 0);
|
|
57000
56998
|
ZdRow = __decorate([
|
|
57001
|
-
vuePropertyDecorator.Component
|
|
56999
|
+
vuePropertyDecorator.Component({
|
|
57000
|
+
mixins: [exports.FillHeightMixin],
|
|
57001
|
+
})
|
|
57002
57002
|
], ZdRow);
|
|
57003
57003
|
var script$k = ZdRow;
|
|
57004
57004
|
|
|
@@ -57294,7 +57294,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
57294
57294
|
/* style */
|
|
57295
57295
|
const __vue_inject_styles__$m = function (inject) {
|
|
57296
57296
|
if (!inject) return
|
|
57297
|
-
inject("data-v-
|
|
57297
|
+
inject("data-v-0794902d_0", { source: ".zd-search {\n width: 100%;\n}\n.zd-search.show-search-field.zd-input.v-input.zd-no-helper > .v-input__control > .v-text-field__details {\n display: flex;\n}\n.zd-search.show-search-field .v-input__append-inner .v-input__icon--append .v-icon {\n background-color: var(--v-primary-base) !important;\n color: white !important;\n border-radius: 3px !important;\n height: var(--icon-size);\n width: var(--icon-size);\n margin-right: 8px !important;\n}\n.zd-search.show-search-field.zd-dense .v-input__append-inner .v-input__icon--append .v-icon {\n margin-right: 2px !important;\n height: var(--icon-size-small);\n width: var(--icon-size-small);\n}\n.zd-search-buttons {\n display: block;\n width: 100%;\n justify-content: left;\n}", map: undefined, media: undefined });
|
|
57298
57298
|
|
|
57299
57299
|
};
|
|
57300
57300
|
/* scoped */
|
|
@@ -57333,11 +57333,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
57333
57333
|
change() {
|
|
57334
57334
|
this.instance.change(undefined, this.$el);
|
|
57335
57335
|
}
|
|
57336
|
-
mounted() {
|
|
57337
|
-
if (this.instance.fillHeight) {
|
|
57338
|
-
setFillHeight(this.$el);
|
|
57339
|
-
}
|
|
57340
|
-
}
|
|
57341
57336
|
};
|
|
57342
57337
|
__decorate([
|
|
57343
57338
|
PropWatch({ type: [String], default: '' }),
|
|
@@ -57388,7 +57383,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
57388
57383
|
__metadata("design:type", Object)
|
|
57389
57384
|
], ZdSelectableList.prototype, "fillHeight", void 0);
|
|
57390
57385
|
ZdSelectableList = __decorate([
|
|
57391
|
-
vuePropertyDecorator.Component
|
|
57386
|
+
vuePropertyDecorator.Component({
|
|
57387
|
+
mixins: [exports.FillHeightMixin],
|
|
57388
|
+
})
|
|
57392
57389
|
], ZdSelectableList);
|
|
57393
57390
|
var script$i = ZdSelectableList;
|
|
57394
57391
|
|
|
@@ -57638,11 +57635,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
57638
57635
|
return chips;
|
|
57639
57636
|
}
|
|
57640
57637
|
toggle() {
|
|
57641
|
-
|
|
57642
|
-
|
|
57643
|
-
menu.isActive = !this.instance.readonly && !this.instance.disabled && !menu.isActive;
|
|
57638
|
+
this.superMethods(__vue_component__$K).toggle.call(this);
|
|
57639
|
+
const { menu } = this.componentRef.$refs;
|
|
57644
57640
|
this.rows = menu.isActive ? this.maxRowsNumber : 1;
|
|
57645
|
-
this.$nextTick(() => { this.componentRef.isFocused = true; });
|
|
57646
57641
|
}
|
|
57647
57642
|
/**
|
|
57648
57643
|
* Removes first item if it's text is overflowing out of parent
|
|
@@ -60138,11 +60133,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
60138
60133
|
super(...arguments);
|
|
60139
60134
|
this.instanceType = common.Table;
|
|
60140
60135
|
}
|
|
60141
|
-
mounted() {
|
|
60142
|
-
if (this.instance.fillHeight) {
|
|
60143
|
-
setFillHeight(this.$el);
|
|
60144
|
-
}
|
|
60145
|
-
}
|
|
60146
60136
|
};
|
|
60147
60137
|
__decorate([
|
|
60148
60138
|
vuePropertyDecorator.Prop({ type: Object, default: () => ({}) }),
|
|
@@ -60173,7 +60163,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
60173
60163
|
__metadata("design:type", Object)
|
|
60174
60164
|
], ZdTable.prototype, "fillHeight", void 0);
|
|
60175
60165
|
ZdTable = __decorate([
|
|
60176
|
-
vuePropertyDecorator.Component
|
|
60166
|
+
vuePropertyDecorator.Component({
|
|
60167
|
+
mixins: [exports.FillHeightMixin],
|
|
60168
|
+
})
|
|
60177
60169
|
], ZdTable);
|
|
60178
60170
|
var script$b = ZdTable;
|
|
60179
60171
|
|
|
@@ -60362,9 +60354,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
60362
60354
|
this.instance.beforeChange(event, index, this.$el);
|
|
60363
60355
|
}
|
|
60364
60356
|
mounted() {
|
|
60365
|
-
if (this.instance.fillHeight) {
|
|
60366
|
-
setFillHeight(this.$el);
|
|
60367
|
-
}
|
|
60368
60357
|
core.I18n.registerChangeListener(() => {
|
|
60369
60358
|
this.$nextTick(() => {
|
|
60370
60359
|
var _a;
|
|
@@ -60402,7 +60391,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
60402
60391
|
__metadata("design:type", Array)
|
|
60403
60392
|
], ZdTabs.prototype, "tabs", void 0);
|
|
60404
60393
|
ZdTabs = __decorate([
|
|
60405
|
-
vuePropertyDecorator.Component
|
|
60394
|
+
vuePropertyDecorator.Component({
|
|
60395
|
+
mixins: [exports.FillHeightMixin],
|
|
60396
|
+
})
|
|
60406
60397
|
], ZdTabs);
|
|
60407
60398
|
var script$a = ZdTabs;
|
|
60408
60399
|
|
|
@@ -61116,7 +61107,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
61116
61107
|
mounted() {
|
|
61117
61108
|
this.setPlaceholder('textarea');
|
|
61118
61109
|
if (this.instance.fillHeight) {
|
|
61119
|
-
setFillHeight(this.$el);
|
|
61120
61110
|
if (this.$el.parentElement && this.instance.cssClass.indexOf('zd-form-child') !== -1) {
|
|
61121
61111
|
setFillHeight(this.$el.parentElement);
|
|
61122
61112
|
}
|
|
@@ -61186,7 +61176,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
61186
61176
|
__metadata("design:type", Object)
|
|
61187
61177
|
], ZdTextarea.prototype, "fillHeight", void 0);
|
|
61188
61178
|
ZdTextarea = __decorate([
|
|
61189
|
-
vuePropertyDecorator.Component
|
|
61179
|
+
vuePropertyDecorator.Component({
|
|
61180
|
+
mixins: [exports.FillHeightMixin],
|
|
61181
|
+
})
|
|
61190
61182
|
], ZdTextarea);
|
|
61191
61183
|
var script$5 = ZdTextarea;
|
|
61192
61184
|
|
|
@@ -62203,11 +62195,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
62203
62195
|
mounted() {
|
|
62204
62196
|
this.instance.setTree(this.$refs.tree);
|
|
62205
62197
|
this.setAfterTitleMargin();
|
|
62206
|
-
this.nodeChange();
|
|
62207
|
-
this.$watch('$refs.tree.nodes', this.nodeChange, { deep: true });
|
|
62208
|
-
if (this.instance.fillHeight) {
|
|
62209
|
-
setFillHeight(this.$el);
|
|
62210
|
-
}
|
|
62198
|
+
this.nodeChange(); // This needs to be after the tree is set
|
|
62199
|
+
this.$watch('$refs.tree.nodes', this.nodeChange, { deep: true }); // This needs to be after the tree is set
|
|
62211
62200
|
}
|
|
62212
62201
|
dataChange() {
|
|
62213
62202
|
this.instance.createNodesFromDatasource();
|
|
@@ -62389,7 +62378,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
|
62389
62378
|
], ZdTree.prototype, "dataChange", null);
|
|
62390
62379
|
ZdTree = __decorate([
|
|
62391
62380
|
vuePropertyDecorator.Component({
|
|
62392
|
-
|
|
62381
|
+
mixins: [exports.FillHeightMixin],
|
|
62382
|
+
components: {
|
|
62383
|
+
ZdTreeCheckbox: __vue_component__$4, ZdTreeAfterTitle: __vue_component__$3,
|
|
62384
|
+
},
|
|
62393
62385
|
})
|
|
62394
62386
|
], ZdTree);
|
|
62395
62387
|
var script$1 = ZdTree;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/vuetify",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.119.0",
|
|
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": "f1a601972c2afeea9d808f244917f521264fdf61"
|
|
55
55
|
}
|
|
@@ -2,6 +2,7 @@ import { DateRange, Text } from '@zeedhi/common';
|
|
|
2
2
|
import { IEventParam } from '@zeedhi/core';
|
|
3
3
|
import ZdTextInput from '../zd-text-input/ZdTextInput.vue';
|
|
4
4
|
export default class ZdDateRange extends ZdTextInput {
|
|
5
|
+
allowedDates: ((date: string) => boolean) | string[] | string;
|
|
5
6
|
appendIcon: string;
|
|
6
7
|
appendOuterIcon: string;
|
|
7
8
|
autocomplete: boolean | string;
|
|
@@ -36,6 +37,7 @@ export default class ZdDateRange extends ZdTextInput {
|
|
|
36
37
|
private onPickerMousedown;
|
|
37
38
|
pickerMounted(): void;
|
|
38
39
|
pickerDestroyed(): void;
|
|
40
|
+
getAllowedDates(date: string): boolean;
|
|
39
41
|
private toMask;
|
|
40
42
|
get getDateMask(): "" | (string | RegExp)[];
|
|
41
43
|
private keyAllowed;
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import Vue from 'vue';
|
|
2
|
+
import { ComponentRender } from '@zeedhi/common';
|
|
3
|
+
export declare function setFillHeight(element: HTMLElement, fillHeight?: boolean | string): void;
|
|
4
|
+
export declare class FillHeightMixin extends Vue {
|
|
5
|
+
instance: ComponentRender & {
|
|
6
|
+
fillHeight?: boolean | string;
|
|
7
|
+
};
|
|
8
|
+
mounted(): void;
|
|
9
|
+
}
|