@zeedhi/vuetify 1.79.1 → 1.80.1
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 +321 -119
- package/dist/zd-vuetify.umd.js +321 -119
- package/package.json +2 -2
- package/types/components/zd-alert/ZdAlert.d.ts +7 -2
- package/types/components/zd-apex-chart/ZdApexChart.d.ts +6 -0
- package/types/components/zd-collapse-card/ZdCollapseCard.d.ts +10 -10
- package/types/components/zd-date/ZdDate.d.ts +2 -0
- package/types/components/zd-date/ZdDateRange.d.ts +2 -0
- package/types/components/zd-modal/ZdModal.d.ts +7 -5
- package/types/components/zd-tabs/ZdTabs.d.ts +1 -0
- package/types/components/zd-text/ZdText.d.ts +8 -1
- package/types/utils/plugins/formatSizePlugin.d.ts +1 -1
package/dist/zd-vuetify.umd.js
CHANGED
@@ -37861,9 +37861,67 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
37861
37861
|
let ZdAlert = class ZdAlert extends ZdComponent$1 {
|
37862
37862
|
constructor() {
|
37863
37863
|
super();
|
37864
|
-
|
37864
|
+
common.AlertService.instantiateManager(this.multiple);
|
37865
|
+
this.alerts = common.AlertService.alertsManager.visibleInstances;
|
37866
|
+
}
|
37867
|
+
arrangeStackItems() {
|
37868
|
+
const components = this.$refs.alerts;
|
37869
|
+
if (!Array.isArray(components))
|
37870
|
+
return;
|
37871
|
+
const totalShift = {
|
37872
|
+
'top-left': 0,
|
37873
|
+
'top-right': 0,
|
37874
|
+
'top-center': 0,
|
37875
|
+
'bottom-left': 0,
|
37876
|
+
'bottom-right': 0,
|
37877
|
+
'bottom-center': 0,
|
37878
|
+
};
|
37879
|
+
const calculateComponentOffset = (component) => {
|
37880
|
+
if (component instanceof Element)
|
37881
|
+
return;
|
37882
|
+
const element = component.$el;
|
37883
|
+
const content = element.querySelector('.v-snack__wrapper');
|
37884
|
+
if (!content)
|
37885
|
+
return;
|
37886
|
+
const vertical = component.top ? 'top' : 'bottom';
|
37887
|
+
let horizontal = 'center';
|
37888
|
+
if (component.right) {
|
37889
|
+
horizontal = 'right';
|
37890
|
+
}
|
37891
|
+
else if (component.left) {
|
37892
|
+
horizontal = 'left';
|
37893
|
+
}
|
37894
|
+
const totalShiftKey = `${vertical}-${horizontal}`;
|
37895
|
+
content.style[vertical] = this.$formatSize(totalShift[totalShiftKey]);
|
37896
|
+
const height = content.offsetHeight;
|
37897
|
+
const styles = window.getComputedStyle(content);
|
37898
|
+
const margin = parseInt(styles.marginTop, 10) + parseInt(styles.marginBottom, 10);
|
37899
|
+
totalShift[totalShiftKey] += height + margin;
|
37900
|
+
};
|
37901
|
+
components.forEach((component) => {
|
37902
|
+
this.$nextTick(() => calculateComponentOffset(component));
|
37903
|
+
});
|
37904
|
+
}
|
37905
|
+
changeAlerts() {
|
37906
|
+
this.$nextTick(this.arrangeStackItems);
|
37907
|
+
}
|
37908
|
+
remove(index) {
|
37909
|
+
common.AlertService.remove(index);
|
37910
|
+
}
|
37911
|
+
hide(index) {
|
37912
|
+
common.AlertService.hide(index);
|
37865
37913
|
}
|
37866
37914
|
};
|
37915
|
+
__decorate([
|
37916
|
+
PropWatch({ type: String, default: 'replace' }),
|
37917
|
+
__metadata("design:type", String)
|
37918
|
+
], ZdAlert.prototype, "multiple", void 0);
|
37919
|
+
__decorate([
|
37920
|
+
vuePropertyDecorator.Watch('alerts'),
|
37921
|
+
__metadata("design:type", Function),
|
37922
|
+
__metadata("design:paramtypes", []),
|
37923
|
+
__metadata("design:returntype", void 0)
|
37924
|
+
], ZdAlert.prototype, "changeAlerts", null);
|
37867
37925
|
ZdAlert = __decorate([
|
37868
37926
|
vuePropertyDecorator.Component,
|
37869
37927
|
__metadata("design:paramtypes", [])
|
@@ -38007,84 +38065,114 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38007
38065
|
var _h = _vm.$createElement;
|
38008
38066
|
var _c = _vm._self._c || _h;
|
38009
38067
|
return _c(
|
38010
|
-
"
|
38011
|
-
{
|
38012
|
-
|
38013
|
-
|
38014
|
-
|
38015
|
-
top: _vm.alert.top,
|
38016
|
-
bottom: _vm.alert.bottom,
|
38017
|
-
left: _vm.alert.left,
|
38018
|
-
right: _vm.alert.right,
|
38019
|
-
timeout: _vm.alert.timeout,
|
38020
|
-
"multi-line": _vm.alert.multiLine,
|
38021
|
-
vertical: _vm.alert.vertical,
|
38022
|
-
color: _vm.alert.color,
|
38023
|
-
dark: _vm.alert.dark,
|
38024
|
-
light: _vm.alert.light,
|
38025
|
-
},
|
38026
|
-
scopedSlots: _vm._u([
|
38068
|
+
"div",
|
38069
|
+
{ staticClass: "zd-alert-wrapper" },
|
38070
|
+
_vm._l(_vm.alerts, function (alert, index) {
|
38071
|
+
return _c(
|
38072
|
+
"v-snackbar",
|
38027
38073
|
{
|
38028
|
-
key:
|
38029
|
-
|
38030
|
-
|
38031
|
-
|
38032
|
-
|
38033
|
-
|
38034
|
-
|
38035
|
-
|
38036
|
-
|
38037
|
-
|
38038
|
-
|
38039
|
-
|
38040
|
-
|
38041
|
-
|
38042
|
-
|
38043
|
-
|
38044
|
-
|
38045
|
-
|
38046
|
-
|
38047
|
-
|
38048
|
-
|
38049
|
-
|
38050
|
-
|
38051
|
-
|
38052
|
-
|
38053
|
-
|
38054
|
-
|
38055
|
-
|
38056
|
-
|
38057
|
-
|
38074
|
+
key: alert.id,
|
38075
|
+
ref: "alerts",
|
38076
|
+
refInFor: true,
|
38077
|
+
class: ["zd-alert", alert.cssClass],
|
38078
|
+
attrs: {
|
38079
|
+
id: alert.name,
|
38080
|
+
top: alert.top,
|
38081
|
+
bottom: alert.bottom,
|
38082
|
+
left: alert.left,
|
38083
|
+
right: alert.right,
|
38084
|
+
timeout: alert.timeout,
|
38085
|
+
"multi-line": alert.multiLine,
|
38086
|
+
vertical: alert.vertical,
|
38087
|
+
color: alert.color,
|
38088
|
+
dark: alert.dark,
|
38089
|
+
light: alert.light,
|
38090
|
+
},
|
38091
|
+
on: {
|
38092
|
+
"hook:mounted": _vm.arrangeStackItems,
|
38093
|
+
input: function ($event) {
|
38094
|
+
return _vm.remove(index)
|
38095
|
+
},
|
38096
|
+
},
|
38097
|
+
scopedSlots: _vm._u(
|
38098
|
+
[
|
38099
|
+
{
|
38100
|
+
key: "action",
|
38101
|
+
fn: function () {
|
38102
|
+
return [
|
38103
|
+
alert.showDismiss
|
38104
|
+
? _c(
|
38105
|
+
"v-btn",
|
38106
|
+
{
|
38107
|
+
class: [
|
38108
|
+
"zd-button",
|
38109
|
+
"zd-alert-dismiss",
|
38110
|
+
{
|
38111
|
+
"zd-alert-dismiss-buttons":
|
38112
|
+
alert.buttonsSlot.length,
|
38113
|
+
},
|
38114
|
+
],
|
38115
|
+
attrs: {
|
38116
|
+
dark: "",
|
38117
|
+
text: "",
|
38118
|
+
color: alert.dismissColor,
|
38119
|
+
},
|
38120
|
+
on: {
|
38121
|
+
click: function ($event) {
|
38122
|
+
return _vm.hide(index)
|
38123
|
+
},
|
38124
|
+
},
|
38125
|
+
},
|
38126
|
+
[
|
38127
|
+
_vm._v(
|
38128
|
+
"\n " +
|
38129
|
+
_vm._s(_vm.$t("DISMISS")) +
|
38130
|
+
"\n "
|
38131
|
+
),
|
38132
|
+
]
|
38133
|
+
)
|
38134
|
+
: _vm._e(),
|
38135
|
+
]
|
38136
|
+
},
|
38137
|
+
proxy: true,
|
38138
|
+
},
|
38139
|
+
],
|
38140
|
+
null,
|
38141
|
+
true
|
38142
|
+
),
|
38143
|
+
model: {
|
38144
|
+
value: alert.isVisible,
|
38145
|
+
callback: function ($$v) {
|
38146
|
+
_vm.$set(alert, "isVisible", $$v);
|
38147
|
+
},
|
38148
|
+
expression: "alert.isVisible",
|
38058
38149
|
},
|
38059
|
-
proxy: true,
|
38060
|
-
},
|
38061
|
-
]),
|
38062
|
-
model: {
|
38063
|
-
value: _vm.alert.isVisible,
|
38064
|
-
callback: function ($$v) {
|
38065
|
-
_vm.$set(_vm.alert, "isVisible", $$v);
|
38066
38150
|
},
|
38067
|
-
|
38068
|
-
|
38069
|
-
|
38070
|
-
|
38071
|
-
|
38072
|
-
|
38073
|
-
|
38074
|
-
|
38075
|
-
|
38076
|
-
|
38077
|
-
|
38078
|
-
|
38079
|
-
|
38080
|
-
|
38081
|
-
|
38082
|
-
|
38083
|
-
|
38084
|
-
|
38085
|
-
|
38086
|
-
|
38087
|
-
|
38151
|
+
[
|
38152
|
+
_c("span", {
|
38153
|
+
domProps: { innerHTML: _vm._s(_vm.$sanitize(_vm.$t(alert.text))) },
|
38154
|
+
}),
|
38155
|
+
_vm._v(" "),
|
38156
|
+
_vm._l(alert.buttonsSlot, function (btn, buttonIndex) {
|
38157
|
+
return _c(
|
38158
|
+
btn.component,
|
38159
|
+
_vm._b(
|
38160
|
+
{
|
38161
|
+
key: buttonIndex,
|
38162
|
+
tag: "component",
|
38163
|
+
staticClass: "zd-alert-buttons",
|
38164
|
+
},
|
38165
|
+
"component",
|
38166
|
+
btn,
|
38167
|
+
false
|
38168
|
+
)
|
38169
|
+
)
|
38170
|
+
}),
|
38171
|
+
],
|
38172
|
+
2
|
38173
|
+
)
|
38174
|
+
}),
|
38175
|
+
1
|
38088
38176
|
)
|
38089
38177
|
};
|
38090
38178
|
var __vue_staticRenderFns__$1u = [];
|
@@ -38093,7 +38181,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38093
38181
|
/* style */
|
38094
38182
|
const __vue_inject_styles__$1u = function (inject) {
|
38095
38183
|
if (!inject) return
|
38096
|
-
inject("data-v-
|
38184
|
+
inject("data-v-3f4c4dc6_0", { source: ".zd-alert-wrapper {\n position: fixed;\n height: 100%;\n width: 100%;\n pointer-events: none;\n top: 0;\n left: 0;\n z-index: 1000;\n}\n.zd-alert .v-snack__wrapper {\n transition: bottom 0.25s cubic-bezier(0.4, 0, 0.2, 1), top 0.25s cubic-bezier(0.4, 0, 0.2, 1);\n background: var(--v-grey-darken2);\n border-radius: var(--border);\n}\n.zd-alert .v-snack__content {\n font-size: var(--zd-font-body3-size);\n font-weight: var(--zd-font-body3-weight);\n padding: var(--spacing-4) var(--spacing-4);\n}\n.zd-alert .v-snack__content .v-btn.zd-alert-dismiss {\n color: var(--v-primary-base);\n}\n.zd-alert-dismiss {\n transition: none;\n}\n.zd-alert-dismiss .v-btn__content {\n transition: none;\n}\n.zd-alert-dismiss-buttons {\n margin-left: var(--spacing-2) !important;\n}", map: undefined, media: undefined });
|
38097
38185
|
|
38098
38186
|
};
|
38099
38187
|
/* scoped */
|
@@ -38176,7 +38264,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38176
38264
|
parent.style.flexFlow = 'column';
|
38177
38265
|
Array.from(parent.children).forEach((child) => {
|
38178
38266
|
if (child === element) {
|
38179
|
-
child.style.flex = '1 1
|
38267
|
+
child.style.flex = '1 1 0';
|
38180
38268
|
child.style.overflowY = 'auto';
|
38181
38269
|
}
|
38182
38270
|
else {
|
@@ -38193,8 +38281,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38193
38281
|
constructor() {
|
38194
38282
|
super(...arguments);
|
38195
38283
|
this.instanceType = common.ApexChart;
|
38284
|
+
this.breakpoints = [];
|
38196
38285
|
}
|
38197
38286
|
mounted() {
|
38287
|
+
var _a, _b;
|
38198
38288
|
this.setApexChartTheme();
|
38199
38289
|
const updateFn = this.updateChart;
|
38200
38290
|
this.instance.setViewUpdate(updateFn);
|
@@ -38202,6 +38292,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38202
38292
|
if (this.instance.fillHeight) {
|
38203
38293
|
setFillHeight(this.$el);
|
38204
38294
|
}
|
38295
|
+
this.defaultOptions = Object.assign({}, this.$refs.instance.chart.w.config);
|
38296
|
+
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)) || [];
|
38297
|
+
this.apexChartContainer = this.$refs.chartContainer;
|
38298
|
+
if (this.breakpoints.length) {
|
38299
|
+
this.resizeObserver = new ResizeObserver(this.handleResize);
|
38300
|
+
this.resizeObserver.observe(this.apexChartContainer);
|
38301
|
+
}
|
38302
|
+
}
|
38303
|
+
beforeDestroy() {
|
38304
|
+
var _a;
|
38305
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
38205
38306
|
}
|
38206
38307
|
updateChart(options) {
|
38207
38308
|
return new Promise((resolve) => {
|
@@ -38225,6 +38326,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38225
38326
|
} });
|
38226
38327
|
this.instance.options = newOptions;
|
38227
38328
|
}
|
38329
|
+
handleResize() {
|
38330
|
+
if (!this.breakpoints.length)
|
38331
|
+
return;
|
38332
|
+
const matchedOptions = this.breakpoints.find((bp) => this.apexChartContainer.clientWidth <= bp.breakpoint);
|
38333
|
+
if (matchedOptions) {
|
38334
|
+
this.instance.updateChart(matchedOptions.options);
|
38335
|
+
}
|
38336
|
+
else if (this.instance.options !== this.defaultOptions) {
|
38337
|
+
this.instance.updateChart(this.defaultOptions);
|
38338
|
+
}
|
38339
|
+
}
|
38228
38340
|
drillUp() {
|
38229
38341
|
this.instance.drillUp();
|
38230
38342
|
}
|
@@ -38297,6 +38409,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38297
38409
|
return _c(
|
38298
38410
|
"div",
|
38299
38411
|
{
|
38412
|
+
ref: "chartContainer",
|
38300
38413
|
staticClass: "apexcharts-container",
|
38301
38414
|
style: {
|
38302
38415
|
height: _vm.$formatSize(_vm.instance.height),
|
@@ -38393,7 +38506,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38393
38506
|
/* style */
|
38394
38507
|
const __vue_inject_styles__$1t = function (inject) {
|
38395
38508
|
if (!inject) return
|
38396
|
-
inject("data-v-
|
38509
|
+
inject("data-v-51426e9c_0", { source: ".zd-apex-chart.zd-apex-chart-drilled svg text.apexcharts-title-text {\n transform: translateX(20px);\n}\n.zd-apex-chart .apexcharts-toolbar {\n z-index: 0;\n}\n.zd-apex-chart .apexcharts-toolbar > div {\n transform: scale(0.8) !important;\n}\n.zd-apex-chart.theme--light .apexcharts-toolbar > div > .v-icon {\n color: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-tooltip {\n background: #fdfdfd !important;\n border: 1px solid #fdfdfd !important;\n color: #3b3b3b !important;\n z-index: 1;\n}\n.zd-apex-chart.theme--light .apexcharts-tooltip .apexcharts-tooltip-title {\n background: #eee !important;\n color: #3b3b3b !important;\n border-bottom: none !important;\n}\n.zd-apex-chart.theme--light .apexcharts-title-text {\n fill: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip {\n background: #eee !important;\n border: 1px solid #d4d4d4 !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip .apexcharts-xaxistooltip-text {\n color: #3b3b3b !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip-bottom::before {\n border-bottom-color: #d4d4d4 !important;\n}\n.zd-apex-chart.theme--light .apexcharts-xaxistooltip-bottom::after {\n border-bottom-color: #d4d4d4 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-toolbar > div > .v-icon {\n color: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-tooltip {\n background: #1e1e1e !important;\n border: 1px solid #1e1e1e !important;\n color: #b8b8b8 !important;\n z-index: 1;\n}\n.zd-apex-chart.theme--dark .apexcharts-tooltip .apexcharts-tooltip-title {\n background: #101010 !important;\n color: #b8b8b8 !important;\n border-bottom: none !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-text {\n fill: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-title-text {\n fill: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip {\n background: #101010 !important;\n border: 1px solid #252525 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip .apexcharts-xaxistooltip-text {\n color: #b8b8b8 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip-bottom::before {\n border-bottom-color: #252525 !important;\n}\n.zd-apex-chart.theme--dark .apexcharts-xaxistooltip-bottom::after {\n border-bottom-color: #252525 !important;\n}\n.apexcharts-overlay {\n z-index: 0 !important;\n}\n.apexcharts-container {\n position: relative;\n overflow: hidden !important;\n}\n.apexcharts-container .zd-apex-charts-drill-button {\n position: absolute;\n top: 0px;\n left: 0px;\n}", map: undefined, media: undefined });
|
38397
38510
|
|
38398
38511
|
};
|
38399
38512
|
/* scoped */
|
@@ -41875,12 +41988,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41875
41988
|
], ZdNumber.prototype, "align", void 0);
|
41876
41989
|
__decorate([
|
41877
41990
|
PropWatch({
|
41878
|
-
default: () => (core.Config.masks.numberMask || {
|
41879
|
-
decimalCharacter: ',',
|
41880
|
-
decimalCharacterAlternative: '.',
|
41881
|
-
decimalPlaces: 2,
|
41882
|
-
digitGroupSeparator: '.',
|
41883
|
-
}),
|
41991
|
+
default: () => (core.Config.masks.numberMask || {}),
|
41884
41992
|
}),
|
41885
41993
|
__metadata("design:type", Object)
|
41886
41994
|
], ZdNumber.prototype, "mask", void 0);
|
@@ -41971,7 +42079,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41971
42079
|
};
|
41972
42080
|
__decorate([
|
41973
42081
|
PropWatch({
|
41974
|
-
default: () => (core.Config.masks.currencyMask),
|
42082
|
+
default: () => (Object.assign(Object.assign({}, core.Config.masks.numberMask), core.Config.masks.currencyMask)),
|
41975
42083
|
}),
|
41976
42084
|
__metadata("design:type", Object)
|
41977
42085
|
], ZdCurrency.prototype, "mask", void 0);
|
@@ -42559,13 +42667,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
42559
42667
|
this.instance.selectDate(date, event, this.$el);
|
42560
42668
|
}
|
42561
42669
|
getAllowedDates(date) {
|
42670
|
+
const parsedDate = this.instance.parseISODateValue(date);
|
42562
42671
|
if (typeof this.instance.allowedDates === 'function') {
|
42563
|
-
return this.instance.allowedDates(
|
42672
|
+
return this.instance.allowedDates(parsedDate);
|
42564
42673
|
}
|
42565
42674
|
if (typeof this.instance.allowedDates === 'undefined') {
|
42566
42675
|
return true;
|
42567
42676
|
}
|
42568
|
-
return this.instance.allowedDates.indexOf(
|
42677
|
+
return this.instance.allowedDates.indexOf(parsedDate) !== -1;
|
42569
42678
|
}
|
42570
42679
|
isPrintableKey(key) {
|
42571
42680
|
return !!key && key.length === 1;
|
@@ -42708,6 +42817,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
42708
42817
|
PropWatch({ type: String, default: '' }),
|
42709
42818
|
__metadata("design:type", String)
|
42710
42819
|
], ZdDate.prototype, "helperValue", void 0);
|
42820
|
+
__decorate([
|
42821
|
+
PropWatch({ type: String, default: '' }),
|
42822
|
+
__metadata("design:type", String)
|
42823
|
+
], ZdDate.prototype, "max", void 0);
|
42824
|
+
__decorate([
|
42825
|
+
PropWatch({ type: String, default: '' }),
|
42826
|
+
__metadata("design:type", String)
|
42827
|
+
], ZdDate.prototype, "min", void 0);
|
42711
42828
|
ZdDate = __decorate([
|
42712
42829
|
vuePropertyDecorator.Component
|
42713
42830
|
], ZdDate);
|
@@ -42843,6 +42960,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
42843
42960
|
showWeek: _vm.instance.showWeek,
|
42844
42961
|
type: _vm.instance.pickerType,
|
42845
42962
|
width: _vm.$isMobile() ? "290px" : _vm.instance.width,
|
42963
|
+
max: _vm.instance.formatISODateValue(_vm.instance.max),
|
42964
|
+
min: _vm.instance.formatISODateValue(_vm.instance.min),
|
42846
42965
|
},
|
42847
42966
|
false
|
42848
42967
|
),
|
@@ -42961,7 +43080,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
42961
43080
|
/* style */
|
42962
43081
|
const __vue_inject_styles__$1b = function (inject) {
|
42963
43082
|
if (!inject) return
|
42964
|
-
inject("data-v-
|
43083
|
+
inject("data-v-34d81b8c_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-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.date-helper-values-button.with-label {\n margin-top: 20px;\n}\n.date-helper-values-option {\n cursor: pointer;\n}\n.date-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
42965
43084
|
|
42966
43085
|
};
|
42967
43086
|
/* scoped */
|
@@ -43204,6 +43323,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43204
43323
|
PropWatch({ type: [String, Array], default: () => [] }),
|
43205
43324
|
__metadata("design:type", Object)
|
43206
43325
|
], ZdDateRange.prototype, "value", void 0);
|
43326
|
+
__decorate([
|
43327
|
+
PropWatch({ type: String, default: '' }),
|
43328
|
+
__metadata("design:type", String)
|
43329
|
+
], ZdDateRange.prototype, "max", void 0);
|
43330
|
+
__decorate([
|
43331
|
+
PropWatch({ type: String, default: '' }),
|
43332
|
+
__metadata("design:type", String)
|
43333
|
+
], ZdDateRange.prototype, "min", void 0);
|
43207
43334
|
ZdDateRange = __decorate([
|
43208
43335
|
vuePropertyDecorator.Component
|
43209
43336
|
], ZdDateRange);
|
@@ -43345,6 +43472,12 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43345
43472
|
showWeek: _vm.instance.showWeek,
|
43346
43473
|
type: _vm.instance.pickerType,
|
43347
43474
|
width: _vm.$isMobile() ? "290px" : _vm.instance.width,
|
43475
|
+
max: _vm.instance.formatISODateRangeValue(
|
43476
|
+
_vm.instance.max
|
43477
|
+
)[0],
|
43478
|
+
min: _vm.instance.formatISODateRangeValue(
|
43479
|
+
_vm.instance.min
|
43480
|
+
)[0],
|
43348
43481
|
},
|
43349
43482
|
false
|
43350
43483
|
),
|
@@ -43464,7 +43597,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43464
43597
|
/* style */
|
43465
43598
|
const __vue_inject_styles__$1a = function (inject) {
|
43466
43599
|
if (!inject) return
|
43467
|
-
inject("data-v-
|
43600
|
+
inject("data-v-137a58b0_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 });
|
43468
43601
|
|
43469
43602
|
};
|
43470
43603
|
/* scoped */
|
@@ -47895,8 +48028,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
47895
48028
|
/* style */
|
47896
48029
|
const __vue_inject_styles__$10 = function (inject) {
|
47897
48030
|
if (!inject) return
|
47898
|
-
inject("data-v-04dca600_0", { source: ".zd-grid {\n outline: none;\n display: flex;\n flex-direction: column;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n flex: 0 0 auto;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-toolbar .zd-search {\n max-width: 200px;\n}\n.zd-grid .v-data-table__wrapper {\n flex: 1 1 auto;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-center .zd-table-header-cell {\n justify-content: center;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th.zd-table-cell.zd-table-fixed-column-action {\n position: sticky !important;\n right: 0;\n z-index: 5;\n}\n.zd-grid table thead tr th.zd-table-cell.zd-table-fixed-column-action.theme--light {\n background: #f7f7f7 !important;\n}\n.zd-grid table thead tr th.zd-table-cell.zd-table-fixed-column-action.theme--dark {\n background: #3c3c3c !important;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-fixed-column-action {\n position: sticky !important;\n right: 0;\n z-index: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-fixed-column-action.theme--light {\n background: #f7f7f7 !important;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-fixed-column-action.theme--dark {\n background: #3c3c3c !important;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: var(--spacing-4) 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n flex: 0 0 auto;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
|
47899
|
-
,inject("data-v-
|
48031
|
+
inject("data-v-7baf3bdb_0", { source: ".zd-grid {\n outline: none;\n display: flex;\n flex-direction: column;\n}\n.zd-grid.theme--light:active table th.zd-table-cell, .zd-grid.theme--light:focus table th.zd-table-cell, .zd-grid.theme--light:focus-within table th.zd-table-cell {\n color: var(--v-primary-base) !important;\n}\n.zd-grid-toolbar {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n align-items: center;\n flex: 0 0 auto;\n}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.zd-grid-toolbar .zd-search {\n max-width: 200px;\n}\n.zd-grid .v-data-table__wrapper {\n flex: 1 1 auto;\n}\n.zd-grid-search {\n max-width: 200px;\n}\n.zd-grid table .zd-table-cell {\n transition: height 0.1s ease;\n}\n.zd-grid table .zd-table-cell.selectable {\n width: 40px !important;\n padding-right: var(--spacing-2) !important;\n max-width: 40px !important;\n padding-bottom: 0 !important;\n}\n.zd-grid table .zd-table-cell.selectable > div.zd-grid-header-checkbox {\n margin-top: -2px;\n}\n.zd-grid table .zd-grid-header-checkbox, .zd-grid table .zd-grid-row-checkbox {\n margin-top: 0;\n padding-top: 0;\n}\n.zd-grid table .zd-grid-header-checkbox .v-icon, .zd-grid table .zd-grid-row-checkbox .v-icon {\n font-size: var(--icon-size-small);\n}\n.zd-grid table .zd-grid-header-checkbox .v-input--selection-controls__ripple::before, .zd-grid table .zd-grid-row-checkbox .v-input--selection-controls__ripple::before {\n display: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell {\n font-size: var(--zd-font-body2-size);\n font-weight: var(--zd-font-body2-weight);\n white-space: nowrap;\n height: 40px;\n padding: 0 var(--spacing-4) var(--spacing-2) var(--spacing-4);\n z-index: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-header-cell {\n width: 100%;\n display: flex;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-left .zd-table-header-cell {\n justify-content: flex-start;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-right .zd-table-header-cell {\n justify-content: flex-end;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.text-center .zd-table-header-cell {\n justify-content: center;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort {\n opacity: 0;\n position: relative;\n display: inline-block;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-icon {\n position: relative;\n transition: none;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order {\n position: absolute;\n font-size: 9px;\n right: 2px;\n color: var(--zd-font-color);\n width: 12px;\n text-align: center;\n border-radius: 50%;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-sort .zd-table-cell-sort-order.left {\n right: auto;\n left: 2px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name {\n opacity: 0.7;\n white-space: pre;\n display: inline-block;\n vertical-align: bottom;\n overflow: hidden;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell .zd-table-cell-name.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.sortable {\n cursor: pointer;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: -8px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.asc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: 6px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-icon {\n top: 3px;\n transform: rotate(180deg);\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell.active.desc .zd-table-cell-sort .zd-table-cell-sort-order {\n top: -1px;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-name, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-name {\n opacity: 1;\n}\n.zd-grid table .zd-grid-table-header th.zd-table-cell:hover .zd-table-cell-sort, .zd-grid table .zd-grid-table-header th.zd-table-cell.active .zd-table-cell-sort {\n opacity: 1;\n}\n.zd-grid table thead tr th.zd-table-cell.zd-table-fixed-column-action {\n position: sticky !important;\n right: 0;\n z-index: 5;\n}\n.zd-grid table thead tr th.zd-table-cell.zd-table-fixed-column-action.theme--light {\n background: #f7f7f7 !important;\n}\n.zd-grid table thead tr th.zd-table-cell.zd-table-fixed-column-action.theme--dark {\n background: #3c3c3c !important;\n}\n.zd-grid table thead tr th .zd-grid-resize-handle {\n height: 100%;\n width: 10px;\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n cursor: ew-resize;\n font-size: 15px;\n color: #ccc;\n display: none;\n}\n.zd-grid table thead tr th:hover .zd-grid-resize-handle {\n display: block;\n}\n.zd-grid table tbody tr td.zd-table-cell {\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n padding: 0 var(--spacing-4);\n height: 48px;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable {\n overflow: hidden;\n}\n.zd-grid table tbody tr td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 0.7;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: block;\n overflow: hidden;\n white-space: pre;\n text-overflow: ellipsis;\n overflow-wrap: break-word;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-hidden {\n text-overflow: unset;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-wrap {\n white-space: pre-wrap;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp {\n white-space: normal;\n -webkit-box-orient: vertical;\n display: -webkit-box;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-2 {\n -webkit-line-clamp: 2;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-3 {\n -webkit-line-clamp: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-4 {\n -webkit-line-clamp: 4;\n}\n.zd-grid table tbody tr td.zd-table-cell .zd-table-cell-text.overflow-clamp.overflow-clamp-5 {\n -webkit-line-clamp: 5;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-fixed-column-action {\n position: sticky !important;\n right: 0;\n z-index: 3;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-fixed-column-action.theme--light {\n background: #f7f7f7 !important;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-fixed-column-action.theme--dark {\n background: #3c3c3c !important;\n}\n.zd-grid table tbody tr:hover td.zd-table-cell.selectable .zd-grid-row-checkbox, .zd-grid table tbody tr.active td.zd-table-cell.selectable .zd-grid-row-checkbox {\n opacity: 1;\n}\n.zd-grid table tbody tr.current {\n background: var(--current-row-color);\n}\n.zd-grid table tbody tr.current:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-grid.v-data-table--dense table thead tr th.zd-table-cell {\n padding: 0 var(--spacing-2) var(--spacing-1) var(--spacing-2);\n height: 24px;\n}\n.zd-grid.v-data-table--dense table tbody tr td.zd-table-cell {\n padding: 0 var(--spacing-2);\n height: 29px;\n}\n.zd-grid.theme--light.v-data-table {\n background-color: transparent;\n}\n.zd-grid.theme--light table thead th.zd-table-cell {\n color: var(--zd-font-color) !important;\n}\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--indeterminate .v-icon,\n.zd-grid.theme--light table thead th.zd-table-cell.selectable .zd-grid-header-checkbox.v-input--is-label-active .v-icon {\n color: var(--v-primary-base);\n}\n.zd-grid.theme--light table tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-grid.theme--light table tbody tr:not(:last-child) td:not(.v-data-table__mobile-row) {\n border-bottom: solid var(--regular) var(--v-grey-lighten5);\n}\n.zd-grid.theme--light.v-data-table--fixed-header table thead th.zd-table-cell {\n box-shadow: inset 0 -1px 0 var(--v-grey-lighten3);\n}\n.zd-grid-footer {\n margin: var(--spacing-4) 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\n flex: 0 0 auto;\n}\n.zd-grid-div-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n@media screen and (max-width: 425px) {\n.zd-grid-footer {\n flex-direction: column;\n justify-content: center;\n}\n.zd-grid-div-footer {\n width: 100%;\n}\n.zd-grid .zd-iterable-pagination {\n justify-content: space-evenly;\n}\n}\n.zd-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.zd-grid .zd-grid-cell-tooltip {\n z-index: 10000;\n position: fixed;\n color: white;\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n opacity: 0.9;\n display: none;\n font-size: 14px;\n line-height: 22px;\n text-transform: none;\n width: auto;\n pointer-events: none;\n white-space: pre;\n}\n.zd-grid .zd-grid-cell-tooltip.zd-grid-cell-tooltip-show {\n display: block;\n white-space: normal;\n}\n.zd-grid-loading {\n pointer-events: none;\n}\n.v-data-table__progress {\n position: sticky;\n top: 24px;\n}\n.v-data-table--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
|
48032
|
+
,inject("data-v-7baf3bdb_1", { source: ".zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable.text-right .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable.text-right .zd-table-cell-inline-edit {\n justify-content: flex-end;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable.text-center .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable.text-center .zd-table-cell-inline-edit {\n justify-content: center;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit {\n display: flex;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit .zd-switch .v-input__slot, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit .zd-switch .v-input__slot {\n margin-bottom: 0;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon {\n align-self: center;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon {\n display: flex;\n font-size: 18px;\n margin-right: var(--spacing-1);\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text {\n padding: 0 8px;\n position: relative;\n display: block;\n height: 20px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n content: \"\";\n position: absolute;\n width: 1px;\n height: var(--spacing-1);\n bottom: 0px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before {\n left: 0;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n right: 0px;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable {\n cursor: pointer;\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text {\n border-bottom: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n border-left: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot {\n height: 22px;\n}\n.zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot input, .zd-grid.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot .v-select__selections {\n max-height: 22px;\n}", map: undefined, media: undefined });
|
47900
48033
|
|
47901
48034
|
};
|
47902
48035
|
/* scoped */
|
@@ -53026,7 +53159,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53026
53159
|
ref: "ZdMenu",
|
53027
53160
|
class: ["zd-menu", _vm.instance.cssClass],
|
53028
53161
|
style: _vm.instance.cssStyle,
|
53029
|
-
attrs: {
|
53162
|
+
attrs: {
|
53163
|
+
name: _vm.instance.name,
|
53164
|
+
height: _vm.instance.app ? "100dvh" : "",
|
53165
|
+
},
|
53030
53166
|
model: {
|
53031
53167
|
value: _vm.instance.drawer,
|
53032
53168
|
callback: function ($$v) {
|
@@ -53155,7 +53291,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53155
53291
|
/* style */
|
53156
53292
|
const __vue_inject_styles__$z = function (inject) {
|
53157
53293
|
if (!inject) return
|
53158
|
-
inject("data-v-
|
53294
|
+
inject("data-v-167893d6_0", { source: ".zd-menu .v-list .v-list-item .v-list-item__title {\n font-weight: var(--zd-font-body1-weight);\n font-size: var(--zd-font-body1-size);\n color: var(--zd-font-color);\n text-align: left;\n}\n.zd-menu .v-list .v-list-item .v-list-item__icon .v-icon {\n color: var(--zd-font-color);\n}\n.zd-menu .v-list .v-list-item.selected .v-list-item__title {\n font-weight: var(--zd-font-body2-weight);\n color: var(--v-primary-base);\n}\n.zd-menu .v-list .v-list-item.selected .v-list-item__icon .v-icon {\n color: var(--v-primary-base);\n}\n.zd-menu .v-list .v-list-item.v-list-item--active:not(.focus-visible):not(:focus):not([data-focus-visible-added]):not(:hover):before {\n opacity: 0;\n}\n.zd-menu .v-list .v-list-group.selected > .v-list-group__header .v-list-item__title {\n font-weight: var(--zd-font-body2-weight);\n color: var(--v-primary-base);\n}\n.zd-menu .v-list .v-list-group.selected > .v-list-group__header .v-list-item__icon .v-icon {\n color: var(--v-primary-base);\n}\n.zd-menu .v-list .zd-menu-top-slot {\n margin-bottom: 10px;\n display: block;\n}\n.zd-menu.v-navigation-drawer--mini-variant .v-list-item {\n justify-content: inherit;\n}\n.zd-menu.v-navigation-drawer--is-mobile div > .zd-menu-top-slot {\n display: block !important;\n}\n.zd-menu.theme--dark .v-list .v-list-item .v-list-item__title {\n color: var(--v--grey-lighten5);\n}\n.zd-menu.theme--dark .v-list .v-list-item .v-list-item__icon .v-icon {\n color: var(--v--grey-lighten5);\n}", map: undefined, media: undefined });
|
53159
53295
|
|
53160
53296
|
};
|
53161
53297
|
/* scoped */
|
@@ -53691,7 +53827,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53691
53827
|
const el = (Array.isArray(ref) ? ref[0].$el : ref === null || ref === void 0 ? void 0 : ref.$el);
|
53692
53828
|
return el || null;
|
53693
53829
|
}
|
53694
|
-
|
53830
|
+
registerDragEvents(modal) {
|
53695
53831
|
const el = this.getModalEl(modal);
|
53696
53832
|
if (!el)
|
53697
53833
|
return;
|
@@ -53704,11 +53840,28 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53704
53840
|
if (!this.dragHandle)
|
53705
53841
|
return;
|
53706
53842
|
this.dragHandle.addEventListener('mousedown', this.dragStart.bind(this, modal));
|
53843
|
+
this.dragHandle.addEventListener('touchstart', this.dragStart.bind(this, modal), { passive: false });
|
53707
53844
|
}
|
53708
|
-
|
53845
|
+
unregisterDragEvents(modal) {
|
53709
53846
|
if (!this.dragHandle)
|
53710
53847
|
return;
|
53711
53848
|
this.dragHandle.removeEventListener('mousedown', this.dragStart.bind(this, modal));
|
53849
|
+
this.dragHandle.removeEventListener('touchstart', this.dragStart.bind(this, modal));
|
53850
|
+
}
|
53851
|
+
isTouchEvent(event) {
|
53852
|
+
return 'touches' in event;
|
53853
|
+
}
|
53854
|
+
getEventCoordinates(event) {
|
53855
|
+
if (this.isTouchEvent(event)) {
|
53856
|
+
return {
|
53857
|
+
x: event.touches[0].clientX,
|
53858
|
+
y: event.touches[0].clientY,
|
53859
|
+
};
|
53860
|
+
}
|
53861
|
+
return {
|
53862
|
+
x: event.clientX,
|
53863
|
+
y: event.clientY,
|
53864
|
+
};
|
53712
53865
|
}
|
53713
53866
|
dragStart(modal, event) {
|
53714
53867
|
var _a, _b;
|
@@ -53716,26 +53869,35 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53716
53869
|
return;
|
53717
53870
|
const dragHandle = (_a = modal.dragHandle) === null || _a === void 0 ? void 0 : _a.replace('.', '');
|
53718
53871
|
const targetElement = event.target;
|
53719
|
-
const isDragHandleInvalid = dragHandle && !targetElement.
|
53872
|
+
const isDragHandleInvalid = dragHandle && !targetElement.classList.contains(dragHandle);
|
53720
53873
|
if (isDragHandleInvalid) {
|
53721
53874
|
return;
|
53722
53875
|
}
|
53723
53876
|
const isEventTargetInvalid = event && event.target && !((_b = event.target
|
53724
|
-
.parentElement) === null || _b === void 0 ? void 0 : _b.
|
53877
|
+
.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains(`zd-modal-card-${modal.name}`));
|
53725
53878
|
const isDragHandleMissing = !dragHandle;
|
53726
53879
|
if (isEventTargetInvalid && isDragHandleMissing) {
|
53727
53880
|
return;
|
53728
53881
|
}
|
53729
53882
|
this.modalDragged = modal;
|
53730
|
-
|
53731
|
-
this.
|
53732
|
-
|
53733
|
-
|
53883
|
+
const { x, y } = this.getEventCoordinates(event);
|
53884
|
+
this.x = x;
|
53885
|
+
this.y = y;
|
53886
|
+
if (this.isTouchEvent(event)) {
|
53887
|
+
document.addEventListener('touchmove', this.dragMove, { passive: false });
|
53888
|
+
document.addEventListener('touchend', this.dragEnd);
|
53889
|
+
}
|
53890
|
+
else {
|
53891
|
+
document.addEventListener('mousemove', this.dragMove);
|
53892
|
+
document.addEventListener('mouseup', this.dragEnd);
|
53893
|
+
}
|
53734
53894
|
}
|
53735
53895
|
dragEnd() {
|
53736
53896
|
this.modalDragged = undefined;
|
53737
53897
|
document.removeEventListener('mousemove', this.dragMove);
|
53738
53898
|
document.removeEventListener('mouseup', this.dragEnd);
|
53899
|
+
document.removeEventListener('touchmove', this.dragMove);
|
53900
|
+
document.removeEventListener('touchend', this.dragEnd);
|
53739
53901
|
}
|
53740
53902
|
dragMove(event) {
|
53741
53903
|
var _a;
|
@@ -53745,8 +53907,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53745
53907
|
if (!modalEl)
|
53746
53908
|
return;
|
53747
53909
|
event.preventDefault();
|
53748
|
-
const
|
53749
|
-
const
|
53910
|
+
const { x, y } = this.getEventCoordinates(event);
|
53911
|
+
const dy = y - this.y;
|
53912
|
+
const dx = x - this.x;
|
53750
53913
|
const toNum = (str) => Number(str.slice(0, -2));
|
53751
53914
|
const toPx = (num) => `${num}px`;
|
53752
53915
|
const threshold = 1;
|
@@ -53761,8 +53924,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53761
53924
|
&& (window.innerWidth / 2) - 2 * (left + dx) >= 0) {
|
53762
53925
|
modalEl.style.left = toPx(left + dx);
|
53763
53926
|
}
|
53764
|
-
this.x =
|
53765
|
-
this.y =
|
53927
|
+
this.x = x;
|
53928
|
+
this.y = y;
|
53766
53929
|
}
|
53767
53930
|
}
|
53768
53931
|
getContentClass(modal) {
|
@@ -53856,10 +54019,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53856
54019
|
style: modal.cssStyle,
|
53857
54020
|
on: {
|
53858
54021
|
"hook:mounted": function ($event) {
|
53859
|
-
modal.draggable && _vm.
|
54022
|
+
modal.draggable && _vm.registerDragEvents(modal);
|
53860
54023
|
},
|
53861
54024
|
"hook:destroyed": function ($event) {
|
53862
|
-
return _vm.
|
54025
|
+
return _vm.unregisterDragEvents(modal)
|
53863
54026
|
},
|
53864
54027
|
},
|
53865
54028
|
},
|
@@ -53923,7 +54086,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53923
54086
|
/* style */
|
53924
54087
|
const __vue_inject_styles__$u = function (inject) {
|
53925
54088
|
if (!inject) return
|
53926
|
-
inject("data-v-
|
54089
|
+
inject("data-v-12867ee3_0", { source: ".zd-modal-title {\n padding-bottom: 0px;\n}\n.zd-modal-container {\n padding: 0;\n cursor: default;\n}\n.zd-modal-flex {\n width: 100%;\n}\n.zd-modal-draggable {\n position: relative;\n}\n.zd-modal-draggable-handle {\n cursor: grab;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n}\n.zd-modal-draggable-handle:active {\n cursor: grabbing;\n cursor: -moz-grabbing;\n cursor: -webkit-grabbing;\n}\n.zd-modal-content > .zd-modal-card > .zd-modal-title {\n padding: var(--zd-default-padding);\n padding-bottom: 0px;\n font-size: var(--zd-font-title-size);\n font-weight: var(--zd-font-title-weight);\n color: var(--zd-font-color);\n}\n.zd-modal-content > .zd-modal-card > .zd-modal-card-text {\n padding: var(--zd-default-padding);\n display: flex;\n flex: 1 1 auto;\n}", map: undefined, media: undefined });
|
53927
54090
|
|
53928
54091
|
};
|
53929
54092
|
/* scoped */
|
@@ -57689,6 +57852,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57689
57852
|
if (this.instance.fillHeight) {
|
57690
57853
|
setFillHeight(this.$el);
|
57691
57854
|
}
|
57855
|
+
core.I18n.registerChangeListener(() => {
|
57856
|
+
this.$refs.tabs.callSlider();
|
57857
|
+
});
|
57692
57858
|
}
|
57693
57859
|
};
|
57694
57860
|
__decorate([
|
@@ -57711,6 +57877,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57711
57877
|
PropWatch({ type: [Boolean, String], default: false }),
|
57712
57878
|
__metadata("design:type", Object)
|
57713
57879
|
], ZdTabs.prototype, "fillHeight", void 0);
|
57880
|
+
__decorate([
|
57881
|
+
PropWatch({ type: [Boolean, String], default: false }),
|
57882
|
+
__metadata("design:type", Boolean)
|
57883
|
+
], ZdTabs.prototype, "touchless", void 0);
|
57714
57884
|
__decorate([
|
57715
57885
|
vuePropertyDecorator.Prop({ type: Array, default: () => [] }),
|
57716
57886
|
__metadata("design:type", Array)
|
@@ -57755,6 +57925,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57755
57925
|
_c(
|
57756
57926
|
"v-tabs",
|
57757
57927
|
{
|
57928
|
+
ref: "tabs",
|
57758
57929
|
attrs: {
|
57759
57930
|
"show-arrows": "",
|
57760
57931
|
dark: _vm.instance.dark,
|
@@ -57817,7 +57988,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57817
57988
|
_c(
|
57818
57989
|
"v-tabs-items",
|
57819
57990
|
{
|
57820
|
-
attrs: {
|
57991
|
+
attrs: {
|
57992
|
+
dark: _vm.instance.dark,
|
57993
|
+
light: _vm.instance.light,
|
57994
|
+
touchless: _vm.instance.touchless,
|
57995
|
+
},
|
57821
57996
|
model: {
|
57822
57997
|
value: _vm.instance.activeTab,
|
57823
57998
|
callback: function ($$v) {
|
@@ -57844,7 +58019,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57844
58019
|
},
|
57845
58020
|
],
|
57846
58021
|
key: index,
|
57847
|
-
attrs: { value: index },
|
58022
|
+
attrs: { value: index, parent: tab },
|
57848
58023
|
},
|
57849
58024
|
"zd-tab-item",
|
57850
58025
|
{
|
@@ -57873,11 +58048,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57873
58048
|
/* style */
|
57874
58049
|
const __vue_inject_styles__$c = function (inject) {
|
57875
58050
|
if (!inject) return
|
57876
|
-
inject("data-v-
|
58051
|
+
inject("data-v-83547962_0", { source: ".zd-tabs[data-v-83547962] {\n display: flex;\n flex-direction: column;\n}\n.zd-tabs[data-v-83547962] .v-tabs-bar,\n.zd-tabs[data-v-83547962] .v-tabs-items {\n background-color: transparent;\n}\n.zd-tabs[data-v-83547962] .v-tabs-bar {\n height: auto;\n}\n.zd-tabs[data-v-83547962] .v-tabs-bar .v-tabs-slider-wrapper {\n bottom: -1px;\n}\n.zd-tabs[data-v-83547962] .v-tabs-bar__content {\n border-bottom: solid 1px var(--v-grey-lighten4);\n}\n.zd-tabs[data-v-83547962] .v-tabs {\n margin-bottom: var(--spacing-4);\n}\n.zd-tabs[data-v-83547962] .v-tabs .v-slide-group__next,\n.zd-tabs[data-v-83547962] .v-tabs .v-slide-group__prev {\n flex-basis: 30px;\n min-width: 30px;\n}\n.zd-tabs[data-v-83547962] .v-tabs .v-slide-group__next .v-icon,\n.zd-tabs[data-v-83547962] .v-tabs .v-slide-group__prev .v-icon {\n font-size: 18px;\n}\n.zd-tabs[data-v-83547962] .v-tabs {\n flex-grow: 0;\n}\n.zd-tabs[data-v-83547962] .v-tabs-items {\n flex-grow: 1;\n overflow-y: auto;\n}\n.zd-tabs[data-v-83547962] .v-tabs-items .v-window__container {\n height: 100% !important;\n}", map: undefined, media: undefined });
|
57877
58052
|
|
57878
58053
|
};
|
57879
58054
|
/* scoped */
|
57880
|
-
const __vue_scope_id__$c = "data-v-
|
58055
|
+
const __vue_scope_id__$c = "data-v-83547962";
|
57881
58056
|
/* module identifier */
|
57882
58057
|
const __vue_module_identifier__$c = undefined;
|
57883
58058
|
/* functional template */
|
@@ -58068,7 +58243,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58068
58243
|
return _c(
|
58069
58244
|
child.component,
|
58070
58245
|
_vm._b(
|
58071
|
-
{ key: index, tag: "component" },
|
58246
|
+
{ key: index, tag: "component", attrs: { parent: _vm.parent } },
|
58072
58247
|
"component",
|
58073
58248
|
child,
|
58074
58249
|
false
|
@@ -58090,11 +58265,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58090
58265
|
/* style */
|
58091
58266
|
const __vue_inject_styles__$a = function (inject) {
|
58092
58267
|
if (!inject) return
|
58093
|
-
inject("data-v-
|
58268
|
+
inject("data-v-2fa11af6_0", { source: ".zd-tabs-tab-item[data-v-2fa11af6] {\n transition: none;\n}\n.zd-tabs-tab-item > .container[data-v-2fa11af6] {\n padding: 0;\n}\n.zd-tabs .zd-tabs-tab-item[data-v-2fa11af6] {\n height: 100%;\n}\n.zd-tabs .zd-tabs-tab-item .container[data-v-2fa11af6] {\n height: 100%;\n}", map: undefined, media: undefined });
|
58094
58269
|
|
58095
58270
|
};
|
58096
58271
|
/* scoped */
|
58097
|
-
const __vue_scope_id__$a = "data-v-
|
58272
|
+
const __vue_scope_id__$a = "data-v-2fa11af6";
|
58098
58273
|
/* module identifier */
|
58099
58274
|
const __vue_module_identifier__$a = undefined;
|
58100
58275
|
/* functional template */
|
@@ -58245,6 +58420,29 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58245
58420
|
constructor() {
|
58246
58421
|
super(...arguments);
|
58247
58422
|
this.instanceType = common.Text;
|
58423
|
+
this.parentWidth = 0;
|
58424
|
+
}
|
58425
|
+
handleResize() {
|
58426
|
+
if (this.parentWidth && this.textResize.fontSize) {
|
58427
|
+
const proportion = this.parentElement.clientWidth / this.parentWidth;
|
58428
|
+
const MIN = this.textResize.min || 0;
|
58429
|
+
const MAX = this.textResize.max || Infinity;
|
58430
|
+
this.$el.style.fontSize = `${Math.min(Math.max(this.textResize.fontSize * proportion, MIN), MAX)}px`;
|
58431
|
+
}
|
58432
|
+
}
|
58433
|
+
mounted() {
|
58434
|
+
var _a;
|
58435
|
+
this.parentElement = this.$el.parentElement;
|
58436
|
+
if (this.instance.textResize) {
|
58437
|
+
this.$el.style.fontSize = `${this.instance.textResize.fontSize}px`;
|
58438
|
+
this.parentWidth = ((_a = this.parentElement) === null || _a === void 0 ? void 0 : _a.clientWidth) || 0;
|
58439
|
+
this.resizeObserver = new ResizeObserver(this.handleResize);
|
58440
|
+
this.resizeObserver.observe(this.parentElement);
|
58441
|
+
}
|
58442
|
+
}
|
58443
|
+
destroyed() {
|
58444
|
+
var _a;
|
58445
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
58248
58446
|
}
|
58249
58447
|
};
|
58250
58448
|
__decorate([
|
@@ -58259,6 +58457,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58259
58457
|
PropWatch({ type: String, default: 'p' }),
|
58260
58458
|
__metadata("design:type", String)
|
58261
58459
|
], ZdText.prototype, "tag", void 0);
|
58460
|
+
__decorate([
|
58461
|
+
PropWatch({ type: Object, default: undefined }),
|
58462
|
+
__metadata("design:type", Object)
|
58463
|
+
], ZdText.prototype, "textResize", void 0);
|
58262
58464
|
ZdText = __decorate([
|
58263
58465
|
vuePropertyDecorator.Component({
|
58264
58466
|
components: { ZdRender: vue.ZdRender },
|
@@ -59203,8 +59405,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
59203
59405
|
nudgeRight: _vm.instance.right ? _vm.instance.nudge : undefined,
|
59204
59406
|
nudgeTop: _vm.instance.top ? _vm.instance.nudge : undefined,
|
59205
59407
|
openOnClick: _vm.instance.openOnClick,
|
59206
|
-
openOnFocus: _vm.instance.openOnFocus,
|
59207
|
-
openOnHover: _vm.instance.openOnHover,
|
59408
|
+
openOnFocus: !_vm.$isMobile() && _vm.instance.openOnFocus,
|
59409
|
+
openOnHover: !_vm.$isMobile() && _vm.instance.openOnHover,
|
59208
59410
|
right: _vm.instance.right,
|
59209
59411
|
top: _vm.instance.top,
|
59210
59412
|
},
|
@@ -59219,7 +59421,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
59219
59421
|
/* style */
|
59220
59422
|
const __vue_inject_styles__$5 = function (inject) {
|
59221
59423
|
if (!inject) return
|
59222
|
-
inject("data-v-
|
59424
|
+
inject("data-v-219472aa_0", { source: ".v-tooltip__content {\n background-color: var(--v-grey-lighten1);\n border-radius: var(--border);\n padding: var(--spacing-1) var(--spacing-2);\n}\n.v-tooltip__content.menuable__content__active {\n opacity: 0.9 !important;\n}", map: undefined, media: undefined });
|
59223
59425
|
|
59224
59426
|
};
|
59225
59427
|
/* scoped */
|