@zeedhi/vuetify 1.52.0 → 1.55.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 +361 -222
- package/dist/zd-vuetify.umd.js +361 -222
- package/package.json +2 -2
- package/types/components/zd-dashboard/ZdDashboard.d.ts +2 -1
- package/types/components/zd-grid/ZdGrid.d.ts +2 -0
- package/types/components/zd-grid/ZdGridEditable.d.ts +3 -2
- package/types/components/zd-time/ZdTime.d.ts +5 -3
- package/types/components/zd-tree/ZdTree.d.ts +1 -0
- package/types/components/zd-tree/ZdTreeCheckbox.d.ts +1 -0
- package/types/components/zd-tree-grid/ZdTreeGrid.d.ts +5 -2
- package/types/components/zd-tree-grid/ZdTreeGridEditable.d.ts +3 -2
package/dist/zd-vuetify.umd.js
CHANGED
@@ -957,7 +957,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
957
957
|
if (!search) return items;
|
958
958
|
search = search.toString().toLowerCase();
|
959
959
|
if (search.trim() === '') return items;
|
960
|
-
return items.filter(item => Object.keys(item).some(key => defaultFilter(getObjectValueByPath(item, key), search
|
960
|
+
return items.filter(item => Object.keys(item).some(key => defaultFilter(getObjectValueByPath(item, key), search)));
|
961
961
|
}
|
962
962
|
/**
|
963
963
|
* Returns:
|
@@ -1009,10 +1009,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
1009
1009
|
function clamp(value, min = 0, max = 1) {
|
1010
1010
|
return Math.max(min, Math.min(max, value));
|
1011
1011
|
}
|
1012
|
-
function padEnd(str, length, char) {
|
1012
|
+
function padEnd(str, length, char = '0') {
|
1013
1013
|
return str + char.repeat(Math.max(0, length - str.length));
|
1014
1014
|
}
|
1015
|
-
function chunk(str, size) {
|
1015
|
+
function chunk(str, size = 1) {
|
1016
1016
|
const chunked = [];
|
1017
1017
|
let index = 0;
|
1018
1018
|
|
@@ -1314,7 +1314,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
1314
1314
|
const LANG_PREFIX = '$vuetify.';
|
1315
1315
|
const fallback = Symbol('Lang fallback');
|
1316
1316
|
|
1317
|
-
function getTranslation(locale, key, usingDefault, defaultLocale) {
|
1317
|
+
function getTranslation(locale, key, usingDefault = false, defaultLocale) {
|
1318
1318
|
const shortKey = key.replace(LANG_PREFIX, '');
|
1319
1319
|
let translation = getObjectValueByPath(locale, shortKey, fallback);
|
1320
1320
|
|
@@ -2220,7 +2220,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
2220
2220
|
}
|
2221
2221
|
Vuetify.install = install$1;
|
2222
2222
|
Vuetify.installed = false;
|
2223
|
-
Vuetify.version = "2.6.
|
2223
|
+
Vuetify.version = "2.6.7";
|
2224
2224
|
Vuetify.config = {
|
2225
2225
|
silent: false
|
2226
2226
|
};
|
@@ -3254,7 +3254,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
3254
3254
|
})
|
3255
3255
|
/**/
|
3256
3256
|
|
3257
|
-
function applicationable(value, events) {
|
3257
|
+
function applicationable(value, events = []) {
|
3258
3258
|
/* @vue/component */
|
3259
3259
|
return mixins(factory$3(['absolute', 'fixed'])).extend({
|
3260
3260
|
name: 'applicationable',
|
@@ -7538,9 +7538,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
7538
7538
|
};
|
7539
7539
|
data[this.to ? 'nativeOn' : 'on'] = { ...data[this.to ? 'nativeOn' : 'on'],
|
7540
7540
|
keydown: e => {
|
7541
|
-
|
7542
|
-
|
7543
|
-
|
7541
|
+
if (!this.disabled) {
|
7542
|
+
/* istanbul ignore else */
|
7543
|
+
if (e.keyCode === keyCodes.enter) this.click(e);
|
7544
|
+
this.$emit('keydown', e);
|
7545
|
+
}
|
7544
7546
|
}
|
7545
7547
|
};
|
7546
7548
|
if (this.inactive) tag = 'div';
|
@@ -9981,7 +9983,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
9981
9983
|
},
|
9982
9984
|
|
9983
9985
|
computedCounterValue() {
|
9984
|
-
|
9986
|
+
var _this$getText;
|
9987
|
+
|
9988
|
+
const value = this.multiple ? this.selectedItems : ((_this$getText = this.getText(this.selectedItems[0])) != null ? _this$getText : '').toString();
|
9985
9989
|
|
9986
9990
|
if (typeof this.counterValue === 'function') {
|
9987
9991
|
return this.counterValue(value);
|
@@ -10458,7 +10462,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
10458
10462
|
this.keyboardLookupPrefix += e.key.toLowerCase();
|
10459
10463
|
this.keyboardLookupLastTime = now;
|
10460
10464
|
const index = this.allItems.findIndex(item => {
|
10461
|
-
|
10465
|
+
var _this$getText2;
|
10466
|
+
|
10467
|
+
const text = ((_this$getText2 = this.getText(item)) != null ? _this$getText2 : '').toString();
|
10462
10468
|
return text.toLowerCase().startsWith(this.keyboardLookupPrefix);
|
10463
10469
|
});
|
10464
10470
|
const item = this.allItems[index];
|
@@ -11975,9 +11981,13 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
11975
11981
|
|
11976
11982
|
this.$nextTick(() => {
|
11977
11983
|
this.$nextTick(() => {
|
11978
|
-
|
11984
|
+
var _this$$refs$dialog;
|
11985
|
+
|
11986
|
+
if (!((_this$$refs$dialog = this.$refs.dialog) != null && _this$$refs$dialog.contains(document.activeElement))) {
|
11987
|
+
var _this$$refs$dialog2;
|
11988
|
+
|
11979
11989
|
this.previousActiveElement = document.activeElement;
|
11980
|
-
this.$refs.
|
11990
|
+
(_this$$refs$dialog2 = this.$refs.dialog) == null ? void 0 : _this$$refs$dialog2.focus();
|
11981
11991
|
}
|
11982
11992
|
|
11983
11993
|
this.bind();
|
@@ -12023,14 +12033,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
12023
12033
|
if (!e || !this.retainFocus) return;
|
12024
12034
|
const target = e.target;
|
12025
12035
|
|
12026
|
-
if (!!target && // It isn't the document or the dialog body
|
12027
|
-
![document, this.$refs.
|
12028
|
-
!this.$refs.
|
12036
|
+
if (!!target && this.$refs.dialog && // It isn't the document or the dialog body
|
12037
|
+
![document, this.$refs.dialog].includes(target) && // It isn't inside the dialog body
|
12038
|
+
!this.$refs.dialog.contains(target) && // We're the topmost dialog
|
12029
12039
|
this.activeZIndex >= this.getMaxZIndex() && // It isn't inside a dependent element (like a menu)
|
12030
12040
|
!this.getOpenDependentElements().some(el => el.contains(target)) // So we must have focused something outside the dialog and its children
|
12031
12041
|
) {
|
12032
12042
|
// Find and focus the first available element inside the dialog
|
12033
|
-
const focusable = this.$refs.
|
12043
|
+
const focusable = this.$refs.dialog.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
12034
12044
|
const el = [...focusable].find(el => !el.hasAttribute('disabled'));
|
12035
12045
|
el && el.focus();
|
12036
12046
|
}
|
@@ -12047,7 +12057,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
12047
12057
|
class: this.contentClasses,
|
12048
12058
|
attrs: {
|
12049
12059
|
role: 'dialog',
|
12050
|
-
tabindex: this.isActive ? 0 : undefined,
|
12051
12060
|
'aria-modal': this.hideOverlay ? undefined : 'true',
|
12052
12061
|
...this.getScopeIdAttrs()
|
12053
12062
|
},
|
@@ -12076,6 +12085,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
12076
12085
|
genInnerContent() {
|
12077
12086
|
const data = {
|
12078
12087
|
class: this.classes,
|
12088
|
+
attrs: {
|
12089
|
+
tabindex: this.isActive ? 0 : undefined
|
12090
|
+
},
|
12079
12091
|
ref: 'dialog',
|
12080
12092
|
directives: [{
|
12081
12093
|
name: 'click-outside',
|
@@ -12406,7 +12418,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
12406
12418
|
}
|
12407
12419
|
});
|
12408
12420
|
|
12409
|
-
function createUTCDate(year, month, day = 1) {
|
12421
|
+
function createUTCDate(year, month = 0, day = 1) {
|
12410
12422
|
let date;
|
12411
12423
|
|
12412
12424
|
if (year < 100 && year >= 0) {
|
@@ -16444,7 +16456,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
16444
16456
|
}
|
16445
16457
|
},
|
16446
16458
|
data: () => ({
|
16447
|
-
internalItemsLength: 0,
|
16448
16459
|
isOverflowing: false,
|
16449
16460
|
resizeTimeout: 0,
|
16450
16461
|
startX: 0,
|
@@ -16535,13 +16546,30 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
16535
16546
|
|
16536
16547
|
},
|
16537
16548
|
|
16538
|
-
|
16539
|
-
|
16540
|
-
|
16549
|
+
mounted() {
|
16550
|
+
if (typeof ResizeObserver !== 'undefined') {
|
16551
|
+
const obs = new ResizeObserver(() => {
|
16552
|
+
this.onResize();
|
16553
|
+
});
|
16554
|
+
obs.observe(this.$el);
|
16555
|
+
obs.observe(this.$refs.content);
|
16556
|
+
this.$on('hook:destroyed', () => {
|
16557
|
+
obs.disconnect();
|
16558
|
+
});
|
16559
|
+
} else {
|
16560
|
+
let itemsLength = 0;
|
16561
|
+
this.$on('hook:beforeUpdate', () => {
|
16562
|
+
var _this$$refs$content;
|
16541
16563
|
|
16542
|
-
|
16543
|
-
|
16544
|
-
|
16564
|
+
itemsLength = (((_this$$refs$content = this.$refs.content) == null ? void 0 : _this$$refs$content.children) || []).length;
|
16565
|
+
});
|
16566
|
+
this.$on('hook:updated', () => {
|
16567
|
+
var _this$$refs$content2;
|
16568
|
+
|
16569
|
+
if (itemsLength === (((_this$$refs$content2 = this.$refs.content) == null ? void 0 : _this$$refs$content2.children) || []).length) return;
|
16570
|
+
this.setWidths();
|
16571
|
+
});
|
16572
|
+
}
|
16545
16573
|
},
|
16546
16574
|
|
16547
16575
|
methods: {
|
@@ -24392,7 +24420,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
24392
24420
|
plain: Boolean
|
24393
24421
|
},
|
24394
24422
|
data: () => ({
|
24395
|
-
badInput: false,
|
24396
24423
|
initialValue: null,
|
24397
24424
|
isBooted: false,
|
24398
24425
|
otp: []
|
@@ -24407,10 +24434,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
24407
24434
|
...VTextField.options.computed.classes.call(this),
|
24408
24435
|
'v-otp-input--plain': this.plain
|
24409
24436
|
};
|
24410
|
-
},
|
24411
|
-
|
24412
|
-
isDirty() {
|
24413
|
-
return VInput.options.computed.isDirty.call(this) || this.badInput;
|
24414
24437
|
}
|
24415
24438
|
|
24416
24439
|
},
|
@@ -24512,18 +24535,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
24512
24535
|
min: this.type === 'number' ? 0 : null
|
24513
24536
|
},
|
24514
24537
|
attrs: { ...this.attrs$,
|
24538
|
+
autocomplete: 'one-time-code',
|
24515
24539
|
disabled: this.isDisabled,
|
24516
24540
|
readonly: this.isReadonly,
|
24517
24541
|
type: this.type,
|
24518
24542
|
id: `${this.computedId}--${otpIdx}`,
|
24519
|
-
class: `otp-field-box--${otpIdx}
|
24520
|
-
maxlength: 1
|
24543
|
+
class: `otp-field-box--${otpIdx}`
|
24521
24544
|
},
|
24522
24545
|
on: Object.assign(listeners, {
|
24523
24546
|
blur: this.onBlur,
|
24524
24547
|
input: e => this.onInput(e, otpIdx),
|
24525
24548
|
focus: e => this.onFocus(e, otpIdx),
|
24526
|
-
paste: e => this.onPaste(e, otpIdx),
|
24527
24549
|
keydown: this.onKeyDown,
|
24528
24550
|
keyup: e => this.onKeyUp(e, otpIdx)
|
24529
24551
|
}),
|
@@ -24567,22 +24589,31 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
24567
24589
|
}
|
24568
24590
|
},
|
24569
24591
|
|
24570
|
-
onInput(e,
|
24592
|
+
onInput(e, index) {
|
24593
|
+
const maxCursor = +this.length - 1;
|
24571
24594
|
const target = e.target;
|
24572
24595
|
const value = target.value;
|
24573
|
-
|
24574
|
-
|
24575
|
-
});
|
24576
|
-
this.badInput = target.validity && target.validity.badInput;
|
24577
|
-
const nextIndex = otpIdx + 1;
|
24596
|
+
const inputDataArray = (value == null ? void 0 : value.split('')) || [];
|
24597
|
+
const newOtp = [...this.otp];
|
24578
24598
|
|
24579
|
-
|
24580
|
-
|
24581
|
-
|
24582
|
-
|
24583
|
-
|
24584
|
-
|
24585
|
-
|
24599
|
+
for (let i = 0; i < inputDataArray.length; i++) {
|
24600
|
+
const appIdx = index + i;
|
24601
|
+
if (appIdx > maxCursor) break;
|
24602
|
+
newOtp[appIdx] = inputDataArray[i].toString();
|
24603
|
+
}
|
24604
|
+
|
24605
|
+
if (!inputDataArray.length) {
|
24606
|
+
newOtp.splice(index, 1);
|
24607
|
+
}
|
24608
|
+
|
24609
|
+
this.otp = newOtp;
|
24610
|
+
this.internalValue = this.otp.join('');
|
24611
|
+
|
24612
|
+
if (index + inputDataArray.length >= +this.length) {
|
24613
|
+
this.onCompleted();
|
24614
|
+
this.clearFocus(index);
|
24615
|
+
} else if (inputDataArray.length) {
|
24616
|
+
this.changeFocus(index + inputDataArray.length);
|
24586
24617
|
}
|
24587
24618
|
},
|
24588
24619
|
|
@@ -24614,39 +24645,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
24614
24645
|
VInput.options.methods.onMouseUp.call(this, e);
|
24615
24646
|
},
|
24616
24647
|
|
24617
|
-
onPaste(event, index) {
|
24618
|
-
var _event$clipboardData;
|
24619
|
-
|
24620
|
-
const maxCursor = +this.length - 1;
|
24621
|
-
const inputVal = event == null ? void 0 : (_event$clipboardData = event.clipboardData) == null ? void 0 : _event$clipboardData.getData('Text');
|
24622
|
-
const inputDataArray = (inputVal == null ? void 0 : inputVal.split('')) || [];
|
24623
|
-
event.preventDefault();
|
24624
|
-
const newOtp = [...this.otp];
|
24625
|
-
|
24626
|
-
for (let i = 0; i < inputDataArray.length; i++) {
|
24627
|
-
const appIdx = index + i;
|
24628
|
-
if (appIdx > maxCursor) break;
|
24629
|
-
newOtp[appIdx] = inputDataArray[i].toString();
|
24630
|
-
}
|
24631
|
-
|
24632
|
-
this.otp = newOtp;
|
24633
|
-
this.internalValue = this.otp.join('');
|
24634
|
-
const targetFocus = Math.min(index + inputDataArray.length, maxCursor);
|
24635
|
-
this.changeFocus(targetFocus);
|
24636
|
-
|
24637
|
-
if (newOtp.length === +this.length) {
|
24638
|
-
this.onCompleted();
|
24639
|
-
this.clearFocus(targetFocus);
|
24640
|
-
}
|
24641
|
-
},
|
24642
|
-
|
24643
|
-
applyValue(index, inputVal, next) {
|
24644
|
-
const newOtp = [...this.otp];
|
24645
|
-
newOtp[index] = inputVal;
|
24646
|
-
this.otp = newOtp;
|
24647
|
-
next();
|
24648
|
-
},
|
24649
|
-
|
24650
24648
|
changeFocus(index) {
|
24651
24649
|
this.onFocus(undefined, index || 0);
|
24652
24650
|
},
|
@@ -27537,6 +27535,16 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
27537
27535
|
},
|
27538
27536
|
|
27539
27537
|
mounted() {
|
27538
|
+
if (typeof ResizeObserver !== 'undefined') {
|
27539
|
+
const obs = new ResizeObserver(() => {
|
27540
|
+
this.onResize();
|
27541
|
+
});
|
27542
|
+
obs.observe(this.$el);
|
27543
|
+
this.$on('hook:destroyed', () => {
|
27544
|
+
obs.disconnect();
|
27545
|
+
});
|
27546
|
+
}
|
27547
|
+
|
27540
27548
|
this.$nextTick(() => {
|
27541
27549
|
window.setTimeout(this.callSlider, 30);
|
27542
27550
|
});
|
@@ -31261,7 +31269,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
31261
31269
|
if (search.trim() === '') return items;
|
31262
31270
|
return items.filter(function (item) {
|
31263
31271
|
return Object.keys(item).some(function (key) {
|
31264
|
-
return defaultFilter(getObjectValueByPath(item, key), search
|
31272
|
+
return defaultFilter(getObjectValueByPath(item, key), search);
|
31265
31273
|
});
|
31266
31274
|
});
|
31267
31275
|
}
|
@@ -36836,7 +36844,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
36836
36844
|
exports.default = Vuetify;
|
36837
36845
|
Vuetify.install = install_1.install;
|
36838
36846
|
Vuetify.installed = false;
|
36839
|
-
Vuetify.version = "2.6.
|
36847
|
+
Vuetify.version = "2.6.7";
|
36840
36848
|
Vuetify.config = {
|
36841
36849
|
silent: false
|
36842
36850
|
};
|
@@ -38731,7 +38739,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
38731
38739
|
/* style */
|
38732
38740
|
const __vue_inject_styles__$1j = function (inject) {
|
38733
38741
|
if (!inject) return
|
38734
|
-
inject("data-v-
|
38742
|
+
inject("data-v-24241a72_0", { source: ".v-btn.zd-button,\na.v-btn.zd-button,\nbutton.v-btn.zd-button {\n letter-spacing: unset;\n text-transform: none;\n}\n.v-btn.zd-button.v-btn:not(.v-btn--fab),\na.v-btn.zd-button.v-btn:not(.v-btn--fab),\nbutton.v-btn.zd-button.v-btn:not(.v-btn--fab) {\n box-shadow: none;\n}\n.v-btn.zd-button.v-size--default,\na.v-btn.zd-button.v-size--default,\nbutton.v-btn.zd-button.v-size--default {\n min-width: 0;\n}\n.v-btn.zd-button.v-btn:not(.v-btn--round, .v-btn--rounded),\na.v-btn.zd-button.v-btn:not(.v-btn--round, .v-btn--rounded),\nbutton.v-btn.zd-button.v-btn:not(.v-btn--round, .v-btn--rounded) {\n border-radius: var(--border);\n padding: var(--spacing-2) var(--spacing-4);\n}\n.v-btn.zd-button.v-btn.v-size--default,\na.v-btn.zd-button.v-btn.v-size--default,\nbutton.v-btn.zd-button.v-btn.v-size--default {\n min-height: var(--spacing-6);\n}\n.v-btn.zd-button.v-btn.v-size--default.v-btn--icon,\na.v-btn.zd-button.v-btn.v-size--default.v-btn--icon,\nbutton.v-btn.zd-button.v-btn.v-size--default.v-btn--icon {\n min-width: var(--spacing-6);\n}\n.v-btn.zd-button.v-btn.v-size--small:not(.v-btn--fab),\na.v-btn.zd-button.v-btn.v-size--small:not(.v-btn--fab),\nbutton.v-btn.zd-button.v-btn.v-size--small:not(.v-btn--fab) {\n height: auto;\n width: auto;\n min-height: 24px;\n padding: 0 var(--spacing-4);\n}\n.v-btn.zd-button.v-btn.v-size--small:not(.v-btn--fab).v-btn--icon,\na.v-btn.zd-button.v-btn.v-size--small:not(.v-btn--fab).v-btn--icon,\nbutton.v-btn.zd-button.v-btn.v-size--small:not(.v-btn--fab).v-btn--icon {\n padding: 0;\n min-width: 24px;\n}\n.v-btn.zd-button.v-btn.v-size--large:not(.v-btn--fab),\na.v-btn.zd-button.v-btn.v-size--large:not(.v-btn--fab),\nbutton.v-btn.zd-button.v-btn.v-size--large:not(.v-btn--fab) {\n height: auto;\n min-height: 56px;\n padding: 0 var(--spacing-4);\n}\n.v-btn.zd-button.v-btn.v-size--large:not(.v-btn--fab).v-btn--icon,\na.v-btn.zd-button.v-btn.v-size--large:not(.v-btn--fab).v-btn--icon,\nbutton.v-btn.zd-button.v-btn.v-size--large:not(.v-btn--fab).v-btn--icon {\n min-width: 56px;\n}\n.v-btn.zd-button.v-btn--outlined,\na.v-btn.zd-button.v-btn--outlined,\nbutton.v-btn.zd-button.v-btn--outlined {\n border: var(--regular) solid;\n}\n.v-btn.zd-button .v-btn__content .v-icon,\na.v-btn.zd-button .v-btn__content .v-icon,\nbutton.v-btn.zd-button .v-btn__content .v-icon {\n height: var(--icon-size);\n width: var(--icon-size);\n}\n.v-btn.zd-button .v-btn__content .v-icon--left,\na.v-btn.zd-button .v-btn__content .v-icon--left,\nbutton.v-btn.zd-button .v-btn__content .v-icon--left {\n margin-right: var(--spacing-1);\n}\n.v-btn.zd-button .v-btn__content .v-icon--right,\na.v-btn.zd-button .v-btn__content .v-icon--right,\nbutton.v-btn.zd-button .v-btn__content .v-icon--right {\n margin-left: var(--spacing-1);\n}", map: undefined, media: undefined });
|
38735
38743
|
|
38736
38744
|
};
|
38737
38745
|
/* scoped */
|
@@ -41884,6 +41892,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41884
41892
|
PropWatch({ type: [Number, String], default: '' }),
|
41885
41893
|
__metadata("design:type", Object)
|
41886
41894
|
], ZdDashboard.prototype, "heightAdjust", void 0);
|
41895
|
+
__decorate([
|
41896
|
+
PropWatch({ type: Array, default: () => undefined }),
|
41897
|
+
__metadata("design:type", Object)
|
41898
|
+
], ZdDashboard.prototype, "cardFooterSlot", void 0);
|
41887
41899
|
ZdDashboard = __decorate([
|
41888
41900
|
vuePropertyDecorator.Component
|
41889
41901
|
], ZdDashboard);
|
@@ -41967,6 +41979,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41967
41979
|
{
|
41968
41980
|
staticClass: "zd-dashboard-card-div dashboard-div-card",
|
41969
41981
|
attrs: { id: "dashboardDivCard-" + card.cardId },
|
41982
|
+
on: {
|
41983
|
+
mousedown: function ($event) {
|
41984
|
+
return _vm.instance.selectCard(card.cardId)
|
41985
|
+
},
|
41986
|
+
},
|
41970
41987
|
},
|
41971
41988
|
[
|
41972
41989
|
_c(
|
@@ -42091,7 +42108,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
42091
42108
|
/* style */
|
42092
42109
|
const __vue_inject_styles__$15 = function (inject) {
|
42093
42110
|
if (!inject) return
|
42094
|
-
inject("data-v-
|
42111
|
+
inject("data-v-29d9be7e_0", { source: ".zd-dashboard {\n display: flex;\n flex-direction: column;\n cursor: auto;\n}\n.zd-dashboard .zd-header {\n margin-bottom: 10px;\n}\n.zd-dashboard .zd-footer {\n bottom: 0;\n right: 10px;\n position: absolute;\n padding: 3px;\n}\n.zd-dashboard .zd-footer.theme--dark {\n background: #1e1e1e;\n}\n.zd-dashboard .zd-footer.theme--light {\n background: #fff;\n}\n.zd-dashboard .zd-icon {\n bottom: 0;\n right: 0;\n position: absolute;\n cursor: nw-resize;\n}\n.zd-dashboard .zd-dashboard-body {\n justify-content: flex-start;\n align-content: flex-start;\n display: flex;\n flex-wrap: wrap;\n height: 100%;\n min-height: 0;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col {\n min-height: 70px;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col .zd-dashboard-card-div {\n height: 100%;\n position: relative;\n}\n.zd-dashboard .zd-dashboard-body .zd-dashboard-card-col .zd-dashboard-card-div > .zd-card {\n height: 100%;\n}\n.ghost-drag {\n border: 2px dashed #772583;\n opacity: 0.5;\n margin: 0;\n}", map: undefined, media: undefined });
|
42095
42112
|
|
42096
42113
|
};
|
42097
42114
|
/* scoped */
|
@@ -43013,6 +43030,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43013
43030
|
return _c(
|
43014
43031
|
"v-dialog",
|
43015
43032
|
{
|
43033
|
+
key: "" + _vm.dialog.name + _vm.dialog.isVisible,
|
43016
43034
|
attrs: {
|
43017
43035
|
id: _vm.dialog.name,
|
43018
43036
|
"max-width": _vm.dialog.maxWidth,
|
@@ -43107,7 +43125,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43107
43125
|
/* style */
|
43108
43126
|
const __vue_inject_styles__$12 = function (inject) {
|
43109
43127
|
if (!inject) return
|
43110
|
-
inject("data-v-
|
43128
|
+
inject("data-v-308734a8_0", { source: ".v-dialog > .zd-dialog > .zd-dialog-title {\n padding: var(--spacing-4);\n padding-bottom: 0;\n color: var(--zd-font-color);\n font-size: var(--zd-font-title-size);\n font-weight: var(--zd-font-title-weight);\n}\n.v-dialog > .zd-dialog > .zd-dialog-title .zd-dialog-icon {\n width: var(--icon-size);\n height: var(--icon-size);\n margin-right: var(--spacing-2);\n}\n.v-dialog > .zd-dialog .zd-dialog-text {\n padding: 14px var(--spacing-4) var(--spacing-4) var(--spacing-4);\n color: var(--zd-font-color);\n font-size: var(--zd-font-body3-size);\n font-weight: var(--zd-font-body3-weight);\n}\n.v-dialog > .zd-dialog .zd-dialog-buttons {\n padding: var(--spacing-4);\n padding-top: 0;\n}\n.v-dialog > .zd-dialog .zd-dialog-buttons .zd-button {\n margin-left: var(--spacing-2);\n}", map: undefined, media: undefined });
|
43111
43129
|
|
43112
43130
|
};
|
43113
43131
|
/* scoped */
|
@@ -44765,10 +44783,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
44765
44783
|
setViewGetWidth() {
|
44766
44784
|
this.instance.columns.forEach((column) => {
|
44767
44785
|
column.setViewGetWidth(() => {
|
44768
|
-
|
44769
|
-
if (this.instance.selectable) {
|
44770
|
-
index += 1;
|
44771
|
-
}
|
44786
|
+
const index = this.instance.columns.findIndex((col) => col.name === column.name);
|
44772
44787
|
const el = this.$el;
|
44773
44788
|
const colEl = el.querySelector(`.zd-grid-table-header .zd-table-cell[index='${index}']`);
|
44774
44789
|
return (colEl === null || colEl === void 0 ? void 0 : colEl.clientWidth) || 0;
|
@@ -45069,6 +45084,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45069
45084
|
PropWatch({ type: [Number, String], default: undefined }),
|
45070
45085
|
__metadata("design:type", Object)
|
45071
45086
|
], ZdGrid.prototype, "gridMaxHeight", void 0);
|
45087
|
+
__decorate([
|
45088
|
+
vuePropertyDecorator.Prop({ type: [String, Function], default: undefined }),
|
45089
|
+
__metadata("design:type", Object)
|
45090
|
+
], ZdGrid.prototype, "disableSelection", void 0);
|
45072
45091
|
__decorate([
|
45073
45092
|
vuePropertyDecorator.Prop({
|
45074
45093
|
type: Array,
|
@@ -45117,6 +45136,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45117
45136
|
PropWatch({ type: [Boolean, String], default: false }),
|
45118
45137
|
__metadata("design:type", Object)
|
45119
45138
|
], ZdGrid.prototype, "resizeColumns", void 0);
|
45139
|
+
__decorate([
|
45140
|
+
PropWatch({ type: [Boolean, String], default: true }),
|
45141
|
+
__metadata("design:type", Object)
|
45142
|
+
], ZdGrid.prototype, "showSelectAll", void 0);
|
45120
45143
|
__decorate([
|
45121
45144
|
vuePropertyDecorator.Prop({
|
45122
45145
|
type: Array,
|
@@ -45173,7 +45196,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45173
45196
|
height: _vm.instance.height,
|
45174
45197
|
items: _vm.getData(),
|
45175
45198
|
search: _vm.instance.datasource.search,
|
45176
|
-
"show-select": _vm.instance.selectable,
|
45177
45199
|
dense: _vm.instance.dense,
|
45178
45200
|
loading: _vm.instance.datasource.loading,
|
45179
45201
|
"item-key": _vm.instance.datasource.uniqueKey,
|
@@ -45236,31 +45258,35 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45236
45258
|
_vm.instance.headerBackground,
|
45237
45259
|
},
|
45238
45260
|
[
|
45239
|
-
|
45240
|
-
|
45241
|
-
|
45242
|
-
|
45243
|
-
|
45244
|
-
|
45245
|
-
|
45246
|
-
|
45247
|
-
|
45248
|
-
|
45249
|
-
|
45250
|
-
|
45251
|
-
|
45252
|
-
|
45253
|
-
|
45254
|
-
|
45255
|
-
|
45256
|
-
|
45257
|
-
|
45258
|
-
|
45259
|
-
|
45260
|
-
|
45261
|
-
|
45262
|
-
|
45263
|
-
|
45261
|
+
_vm.instance.showSelectAll
|
45262
|
+
? _c("v-checkbox", {
|
45263
|
+
staticClass: "zd-grid-header-checkbox",
|
45264
|
+
attrs: {
|
45265
|
+
"hide-details": "",
|
45266
|
+
color: "primary",
|
45267
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
45268
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
45269
|
+
"indeterminate-icon": _vm.$getIcon(
|
45270
|
+
"checkboxIndeterminate"
|
45271
|
+
),
|
45272
|
+
"input-value": props.everyItem,
|
45273
|
+
indeterminate:
|
45274
|
+
!props.everyItem && props.someItems,
|
45275
|
+
},
|
45276
|
+
on: {
|
45277
|
+
click: function ($event) {
|
45278
|
+
$event.stopPropagation();
|
45279
|
+
on["toggle-select-all"](
|
45280
|
+
!props.everyItem
|
45281
|
+
);
|
45282
|
+
_vm.selectAllClick(
|
45283
|
+
!props.everyItem,
|
45284
|
+
$event
|
45285
|
+
);
|
45286
|
+
},
|
45287
|
+
},
|
45288
|
+
})
|
45289
|
+
: _vm._e(),
|
45264
45290
|
],
|
45265
45291
|
1
|
45266
45292
|
)
|
@@ -45621,6 +45647,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45621
45647
|
attrs: {
|
45622
45648
|
"hide-details": "",
|
45623
45649
|
color: "primary",
|
45650
|
+
disabled:
|
45651
|
+
_vm.instance.callDisableSelection(item),
|
45624
45652
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
45625
45653
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
45626
45654
|
"true-value": true,
|
@@ -45919,7 +45947,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45919
45947
|
/* style */
|
45920
45948
|
const __vue_inject_styles__$W = function (inject) {
|
45921
45949
|
if (!inject) return
|
45922
|
-
inject("data-v-
|
45950
|
+
inject("data-v-7918e706_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\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}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\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 .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-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: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: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\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 });
|
45923
45951
|
|
45924
45952
|
};
|
45925
45953
|
/* scoped */
|
@@ -45979,17 +46007,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45979
46007
|
}
|
45980
46008
|
return this.instance.getEditableComponent(column, row, cellProps, events);
|
45981
46009
|
}
|
45982
|
-
cellClick(row, column, event) {
|
46010
|
+
cellClick(row, column, event, canEdit = true) {
|
45983
46011
|
if (!this.instance.doubleClickEdit || !column.editable) {
|
45984
|
-
this.callCellClick(row, column, event);
|
46012
|
+
this.callCellClick(row, column, event, canEdit);
|
45985
46013
|
return;
|
45986
46014
|
}
|
45987
|
-
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event), event);
|
46015
|
+
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event, canEdit), event);
|
45988
46016
|
}
|
45989
|
-
callCellClick(row, column, event) {
|
46017
|
+
callCellClick(row, column, event, canEdit = true) {
|
45990
46018
|
const key = row[this.instance.datasource.uniqueKey];
|
45991
46019
|
this.inputToFocus = `column-${column.name}-${key}`;
|
45992
|
-
this.instance.cellClick(row, column, event, this.$el);
|
46020
|
+
this.instance.cellClick(row, column, event, this.$el, canEdit);
|
45993
46021
|
}
|
45994
46022
|
onMountedEvent({ element, component }) {
|
45995
46023
|
const input = element.getElementsByTagName('input')[0];
|
@@ -46091,6 +46119,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46091
46119
|
PropWatch({ type: [String, Boolean], default: false }),
|
46092
46120
|
__metadata("design:type", Object)
|
46093
46121
|
], ZdGridEditable.prototype, "doubleClickEdit", void 0);
|
46122
|
+
__decorate([
|
46123
|
+
PropWatch({ type: [String, Function], default: undefined }),
|
46124
|
+
__metadata("design:type", Object)
|
46125
|
+
], ZdGridEditable.prototype, "canEditRow", void 0);
|
46094
46126
|
ZdGridEditable = __decorate([
|
46095
46127
|
Component__default["default"]
|
46096
46128
|
], ZdGridEditable);
|
@@ -46133,13 +46165,13 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46133
46165
|
headers: _vm.instance.columns,
|
46134
46166
|
items: _vm.getData(),
|
46135
46167
|
search: _vm.instance.datasource.search,
|
46136
|
-
"show-select": _vm.instance.selectable,
|
46137
46168
|
dense: _vm.instance.dense,
|
46138
46169
|
loading: _vm.instance.datasource.loading,
|
46139
46170
|
"item-key": _vm.instance.datasource.uniqueKey,
|
46140
46171
|
"disable-sort": "",
|
46141
46172
|
"disable-filtering": "",
|
46142
46173
|
tabindex: "0",
|
46174
|
+
set: (_vm.canEditRowValues = {}),
|
46143
46175
|
},
|
46144
46176
|
on: {
|
46145
46177
|
"current-items": function ($event) {
|
@@ -46196,32 +46228,36 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46196
46228
|
_vm.instance.headerBackground,
|
46197
46229
|
},
|
46198
46230
|
[
|
46199
|
-
|
46200
|
-
|
46201
|
-
|
46202
|
-
|
46203
|
-
|
46204
|
-
|
46205
|
-
|
46206
|
-
|
46207
|
-
|
46208
|
-
|
46209
|
-
|
46210
|
-
|
46211
|
-
|
46212
|
-
|
46213
|
-
|
46214
|
-
|
46215
|
-
|
46216
|
-
|
46217
|
-
|
46218
|
-
|
46219
|
-
|
46220
|
-
|
46221
|
-
|
46222
|
-
|
46223
|
-
|
46224
|
-
|
46231
|
+
_vm.instance.showSelectAll
|
46232
|
+
? _c("v-checkbox", {
|
46233
|
+
staticClass: "zd-grid-header-checkbox",
|
46234
|
+
attrs: {
|
46235
|
+
"hide-details": "",
|
46236
|
+
color: "primary",
|
46237
|
+
disabled: _vm.instance.editing,
|
46238
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
46239
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
46240
|
+
"indeterminate-icon": _vm.$getIcon(
|
46241
|
+
"checkboxIndeterminate"
|
46242
|
+
),
|
46243
|
+
"input-value": props.everyItem,
|
46244
|
+
indeterminate:
|
46245
|
+
!props.everyItem && props.someItems,
|
46246
|
+
},
|
46247
|
+
on: {
|
46248
|
+
click: function ($event) {
|
46249
|
+
$event.stopPropagation();
|
46250
|
+
on["toggle-select-all"](
|
46251
|
+
!props.everyItem
|
46252
|
+
);
|
46253
|
+
_vm.selectAllClick(
|
46254
|
+
!props.everyItem,
|
46255
|
+
$event
|
46256
|
+
);
|
46257
|
+
},
|
46258
|
+
},
|
46259
|
+
})
|
46260
|
+
: _vm._e(),
|
46225
46261
|
],
|
46226
46262
|
1
|
46227
46263
|
)
|
@@ -46287,7 +46323,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46287
46323
|
"span",
|
46288
46324
|
{
|
46289
46325
|
staticClass:
|
46290
|
-
"zd-table-cell-sort
|
46326
|
+
"zd-table-cell-sort zd-mr-1",
|
46291
46327
|
on: {
|
46292
46328
|
click: function (
|
46293
46329
|
$event
|
@@ -46571,6 +46607,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46571
46607
|
active: isSelected,
|
46572
46608
|
current: _vm.isCurrentRow(item),
|
46573
46609
|
},
|
46610
|
+
attrs: {
|
46611
|
+
set: (_vm.canEditRowValues[_vm.rowKey(item)] =
|
46612
|
+
_vm.instance.callCanEditRow(item)),
|
46613
|
+
},
|
46574
46614
|
on: {
|
46575
46615
|
click: function ($event) {
|
46576
46616
|
return _vm.rowClick(item, $event)
|
@@ -46588,7 +46628,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46588
46628
|
attrs: {
|
46589
46629
|
"hide-details": "",
|
46590
46630
|
color: "primary",
|
46591
|
-
disabled:
|
46631
|
+
disabled:
|
46632
|
+
_vm.instance.editing ||
|
46633
|
+
_vm.instance.callDisableSelection(item),
|
46592
46634
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
46593
46635
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
46594
46636
|
"true-value": true,
|
@@ -46646,7 +46688,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46646
46688
|
{},
|
46647
46689
|
column,
|
46648
46690
|
cellProps
|
46649
|
-
).editable
|
46691
|
+
).editable &&
|
46692
|
+
_vm.canEditRowValues[
|
46693
|
+
_vm.rowKey(item)
|
46694
|
+
],
|
46650
46695
|
},
|
46651
46696
|
],
|
46652
46697
|
style: [
|
@@ -46657,11 +46702,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46657
46702
|
],
|
46658
46703
|
on: {
|
46659
46704
|
click: function ($event) {
|
46660
|
-
|
46705
|
+
_vm.cellClick(
|
46661
46706
|
item,
|
46662
46707
|
column,
|
46663
|
-
$event
|
46664
|
-
|
46708
|
+
$event,
|
46709
|
+
_vm.canEditRowValues[
|
46710
|
+
_vm.rowKey(item)
|
46711
|
+
]
|
46712
|
+
);
|
46665
46713
|
},
|
46666
46714
|
},
|
46667
46715
|
},
|
@@ -46678,7 +46726,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46678
46726
|
: _vm._e(),
|
46679
46727
|
_vm._v(" "),
|
46680
46728
|
Object.assign({}, column, cellProps)
|
46681
|
-
.editable &&
|
46729
|
+
.editable &&
|
46730
|
+
_vm.canEditRowValues[
|
46731
|
+
_vm.rowKey(item)
|
46732
|
+
] &&
|
46733
|
+
_vm.instance.editing
|
46682
46734
|
? _c(
|
46683
46735
|
"span",
|
46684
46736
|
{
|
@@ -47047,8 +47099,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
47047
47099
|
/* style */
|
47048
47100
|
const __vue_inject_styles__$V = function (inject) {
|
47049
47101
|
if (!inject) return
|
47050
|
-
inject("data-v-
|
47051
|
-
,inject("data-v-
|
47102
|
+
inject("data-v-5a0418c4_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\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}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\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 .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-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: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: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\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 })
|
47103
|
+
,inject("data-v-5a0418c4_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-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.zd-table-cell-text-editable {\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.zd-table-cell-text-editable:before, .zd-grid table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable: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 height: 22px;\n max-height: 22px;\n}", map: undefined, media: undefined });
|
47052
47104
|
|
47053
47105
|
};
|
47054
47106
|
/* scoped */
|
@@ -48608,7 +48660,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
48608
48660
|
/* style */
|
48609
48661
|
const __vue_inject_styles__$L = function (inject) {
|
48610
48662
|
if (!inject) return
|
48611
|
-
inject("data-v-
|
48663
|
+
inject("data-v-a197b5f2_0", { source: ".zd-iterable-pagination {\n padding: 0;\n max-width: calc(100% - 200px);\n margin-left: 0;\n display: flex;\n gap: 0;\n align-items: center;\n}\n.zd-iterable-pagination .v-pagination {\n width: auto;\n}\n.zd-iterable-pagination .v-pagination.theme--dark .v-pagination__item--active {\n color: #fff;\n background: #282828 !important;\n border-color: #282828 !important;\n}\n.zd-iterable-pagination .v-pagination .v-pagination__item, .zd-iterable-pagination .v-pagination .v-pagination__navigation {\n box-shadow: none;\n font-size: var(--zd-font-body1-size);\n font-weight: var(--zd-font-body1-weight);\n color: var(--zd-font-color);\n background-color: transparent;\n}\n.zd-iterable-pagination .v-pagination .v-pagination__item, .zd-iterable-pagination .v-pagination .v-pagination__navigation, .zd-iterable-pagination .v-pagination .v-pagination__more {\n margin: 0 var(--spacing-1);\n height: 2rem;\n width: 2rem;\n white-space: nowrap;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.zd-iterable-pagination .v-pagination .v-pagination__navigation {\n border: solid var(--regular) var(--v-grey-lighten3);\n}\n.zd-iterable-pagination .v-pagination .v-pagination__navigation .v-icon {\n font-size: var(--icon-size);\n}\n.zd-iterable-pagination .v-pagination li:first-child .v-pagination__navigation {\n margin: 0 var(--spacing-1) 0 0;\n}\n.zd-iterable-pagination .v-pagination li:last-child .v-pagination__navigation {\n margin: 0 0 0 var(--spacing-1);\n}", map: undefined, media: undefined });
|
48612
48664
|
|
48613
48665
|
};
|
48614
48666
|
/* scoped */
|
@@ -48701,6 +48753,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
48701
48753
|
this.instance.selectInput(value, undefined, this.$el);
|
48702
48754
|
}
|
48703
48755
|
selectBlur(event) {
|
48756
|
+
if (this.$el.contains(document.activeElement))
|
48757
|
+
return;
|
48704
48758
|
this.blur(event);
|
48705
48759
|
}
|
48706
48760
|
selectFocus(event) {
|
@@ -53061,6 +53115,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53061
53115
|
}
|
53062
53116
|
}
|
53063
53117
|
selectBlur(event) {
|
53118
|
+
if (this.$el.contains(document.activeElement))
|
53119
|
+
return;
|
53064
53120
|
if (this.rows !== 1) {
|
53065
53121
|
this.rows = 1;
|
53066
53122
|
this.calcDisplay();
|
@@ -56046,7 +56102,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56046
56102
|
}
|
56047
56103
|
onChangeTimePicker() {
|
56048
56104
|
const textInput = this.$refs.instance.$children[0];
|
56049
|
-
textInput.validate(false
|
56105
|
+
textInput.validate(false);
|
56050
56106
|
}
|
56051
56107
|
mounted() {
|
56052
56108
|
const textInput = this.$refs.instance.$children[0].$el.getElementsByTagName('input')[0];
|
@@ -56109,15 +56165,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56109
56165
|
}
|
56110
56166
|
return formatted;
|
56111
56167
|
}
|
56112
|
-
set pickerValue(value) {
|
56113
|
-
this.instance.value = this.convert(value, false);
|
56114
|
-
}
|
56115
|
-
get pickerValue() {
|
56116
|
-
if (!this.instance.isFullyValid())
|
56117
|
-
return null;
|
56118
|
-
const { value } = this.instance;
|
56119
|
-
return this.convert(value);
|
56120
|
-
}
|
56121
56168
|
get pickerMinTime() {
|
56122
56169
|
return this.convert(this.instance.minTime);
|
56123
56170
|
}
|
@@ -56127,6 +56174,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56127
56174
|
onPickerMousedown(event) {
|
56128
56175
|
event.preventDefault();
|
56129
56176
|
}
|
56177
|
+
onSelectTime(time, event) {
|
56178
|
+
this.instance.selectTime(time, event, this.$el);
|
56179
|
+
}
|
56130
56180
|
pickerMounted() {
|
56131
56181
|
const picker = this.$refs.picker.$el;
|
56132
56182
|
picker.addEventListener('mousedown', this.onPickerMousedown);
|
@@ -56135,6 +56185,27 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56135
56185
|
const picker = this.$refs.picker.$el;
|
56136
56186
|
picker.removeEventListener('mousedown', this.onPickerMousedown);
|
56137
56187
|
}
|
56188
|
+
toMask(format) {
|
56189
|
+
const newMask = format.replace(/[B-Zb-z]/gi, '#').split('').map((char) => {
|
56190
|
+
if (char === 'A' || char === 'a') {
|
56191
|
+
return /[AapP]/;
|
56192
|
+
}
|
56193
|
+
if (char === '#') {
|
56194
|
+
return /\d/;
|
56195
|
+
}
|
56196
|
+
return char;
|
56197
|
+
});
|
56198
|
+
if (format.includes('a') || format.includes('A')) {
|
56199
|
+
newMask.push(/[mM]/);
|
56200
|
+
}
|
56201
|
+
return newMask;
|
56202
|
+
}
|
56203
|
+
get getTimeMask() {
|
56204
|
+
if (this.instance.isFocused) {
|
56205
|
+
return this.toMask(this.instance.inputFormat || this.instance.displayFormat || '');
|
56206
|
+
}
|
56207
|
+
return '';
|
56208
|
+
}
|
56138
56209
|
};
|
56139
56210
|
__decorate([
|
56140
56211
|
PropWatch({ type: [Array, String], default: undefined }),
|
@@ -56185,7 +56256,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56185
56256
|
__metadata("design:type", Boolean)
|
56186
56257
|
], ZdTime.prototype, "useSeconds", void 0);
|
56187
56258
|
__decorate([
|
56188
|
-
PropWatch({ type:
|
56259
|
+
PropWatch({ type: String, default: undefined }),
|
56189
56260
|
__metadata("design:type", Object)
|
56190
56261
|
], ZdTime.prototype, "mask", void 0);
|
56191
56262
|
__decorate([
|
@@ -56193,7 +56264,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56193
56264
|
__metadata("design:type", String)
|
56194
56265
|
], ZdTime.prototype, "valueFormat", void 0);
|
56195
56266
|
__decorate([
|
56196
|
-
PropWatch({ type:
|
56267
|
+
PropWatch({ type: String }),
|
56268
|
+
__metadata("design:type", Object)
|
56269
|
+
], ZdTime.prototype, "inputFormat", void 0);
|
56270
|
+
__decorate([
|
56271
|
+
PropWatch({ type: String }),
|
56197
56272
|
__metadata("design:type", String)
|
56198
56273
|
], ZdTime.prototype, "displayFormat", void 0);
|
56199
56274
|
ZdTime = __decorate([
|
@@ -56249,6 +56324,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56249
56324
|
ref: "instance",
|
56250
56325
|
attrs: {
|
56251
56326
|
name: _vm.instance.name + "_text-input",
|
56327
|
+
mask: _vm.getTimeMask,
|
56252
56328
|
"instance-object": _vm.instance,
|
56253
56329
|
events: _vm.getEvents(on),
|
56254
56330
|
autofill: false,
|
@@ -56261,7 +56337,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56261
56337
|
],
|
56262
56338
|
null,
|
56263
56339
|
false,
|
56264
|
-
|
56340
|
+
229268027
|
56265
56341
|
),
|
56266
56342
|
model: {
|
56267
56343
|
value: _vm.instance.showTimePicker,
|
@@ -56295,21 +56371,21 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56295
56371
|
name: _vm.instance.name,
|
56296
56372
|
dark: _vm.instance.dark,
|
56297
56373
|
light: _vm.instance.light,
|
56298
|
-
value: _vm.pickerValue,
|
56299
56374
|
},
|
56300
56375
|
on: {
|
56301
56376
|
"hook:mounted": _vm.pickerMounted,
|
56302
56377
|
"hook:destroyed": _vm.pickerDestroyed,
|
56378
|
+
"click:time": _vm.onSelectTime,
|
56303
56379
|
change: function ($event) {
|
56304
56380
|
return _vm.onChangeTimePicker()
|
56305
56381
|
},
|
56306
56382
|
},
|
56307
56383
|
model: {
|
56308
|
-
value: _vm.
|
56384
|
+
value: _vm.instance.isoValue,
|
56309
56385
|
callback: function ($$v) {
|
56310
|
-
_vm.
|
56386
|
+
_vm.$set(_vm.instance, "isoValue", $$v);
|
56311
56387
|
},
|
56312
|
-
expression: "
|
56388
|
+
expression: "instance.isoValue",
|
56313
56389
|
},
|
56314
56390
|
},
|
56315
56391
|
"v-time-picker",
|
@@ -56335,7 +56411,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56335
56411
|
name: _vm.instance.name + "_text-input",
|
56336
56412
|
"instance-object": _vm.instance,
|
56337
56413
|
autofill: false,
|
56338
|
-
type: "
|
56414
|
+
type: "text",
|
56339
56415
|
mask: "",
|
56340
56416
|
},
|
56341
56417
|
}),
|
@@ -56350,7 +56426,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56350
56426
|
/* style */
|
56351
56427
|
const __vue_inject_styles__$6 = function (inject) {
|
56352
56428
|
if (!inject) return
|
56353
|
-
inject("data-v-
|
56429
|
+
inject("data-v-5b84b696_0", { source: ".zd-time input[type=time] {\n -webkit-appearance: none;\n}\n.zd-time input[type=time]::-webkit-inner-spin-button, .zd-time input[type=time]::-webkit-calendar-picker-indicator {\n display: none;\n -webkit-appearance: none;\n}", map: undefined, media: undefined });
|
56354
56430
|
|
56355
56431
|
};
|
56356
56432
|
/* scoped */
|
@@ -56596,6 +56672,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56596
56672
|
vuePropertyDecorator.Prop({ type: [String], default: 'checked' }),
|
56597
56673
|
__metadata("design:type", String)
|
56598
56674
|
], ZdTreeCheckbox.prototype, "checkedField", void 0);
|
56675
|
+
__decorate([
|
56676
|
+
vuePropertyDecorator.Prop({ type: [Boolean], default: false }),
|
56677
|
+
__metadata("design:type", Boolean)
|
56678
|
+
], ZdTreeCheckbox.prototype, "disabled", void 0);
|
56599
56679
|
__decorate([
|
56600
56680
|
vuePropertyDecorator.Watch('childrenCheck'),
|
56601
56681
|
__metadata("design:type", Function),
|
@@ -56619,6 +56699,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56619
56699
|
staticClass: "zd-tree-checkbox",
|
56620
56700
|
attrs: {
|
56621
56701
|
"hide-details": "",
|
56702
|
+
disabled: _vm.disabled,
|
56622
56703
|
ripple: false,
|
56623
56704
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
56624
56705
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
@@ -56628,7 +56709,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56628
56709
|
},
|
56629
56710
|
on: {
|
56630
56711
|
click: function ($event) {
|
56631
|
-
|
56712
|
+
_vm.disabled || _vm.click($event);
|
56632
56713
|
},
|
56633
56714
|
},
|
56634
56715
|
model: {
|
@@ -56646,7 +56727,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56646
56727
|
/* style */
|
56647
56728
|
const __vue_inject_styles__$4 = function (inject) {
|
56648
56729
|
if (!inject) return
|
56649
|
-
inject("data-v-
|
56730
|
+
inject("data-v-311cf5ac_0", { source: ".zd-tree-checkbox {\n display: inline-block;\n top: 50%;\n transform: translate(0, -50%);\n}\n.zd-tree-checkbox > .v-input--selection-controls__input {\n margin-right: 0;\n}", map: undefined, media: undefined });
|
56650
56731
|
|
56651
56732
|
};
|
56652
56733
|
/* scoped */
|
@@ -56911,6 +56992,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56911
56992
|
vuePropertyDecorator.Prop({ type: [String, Number, Boolean], default: false }),
|
56912
56993
|
__metadata("design:type", Object)
|
56913
56994
|
], ZdTree.prototype, "openLevelOnLoad", void 0);
|
56995
|
+
__decorate([
|
56996
|
+
vuePropertyDecorator.Prop({ type: [String, Function], default: undefined }),
|
56997
|
+
__metadata("design:type", Function)
|
56998
|
+
], ZdTree.prototype, "disableCheckbox", void 0);
|
56914
56999
|
__decorate([
|
56915
57000
|
vuePropertyDecorator.Watch('instance.datasource.data.length'),
|
56916
57001
|
__metadata("design:type", Function),
|
@@ -57005,6 +57090,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57005
57090
|
_vm.instance.checkbox
|
57006
57091
|
? _c("zd-tree-checkbox", {
|
57007
57092
|
attrs: {
|
57093
|
+
disabled: _vm.instance.callDisableCheckbox(node),
|
57008
57094
|
node: _vm.instanceNode(node),
|
57009
57095
|
checkedField: _vm.instance.checkedField,
|
57010
57096
|
},
|
@@ -57219,7 +57305,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57219
57305
|
/* style */
|
57220
57306
|
const __vue_inject_styles__$2 = function (inject) {
|
57221
57307
|
if (!inject) return
|
57222
|
-
inject("data-v-
|
57308
|
+
inject("data-v-6a21eeb4_0", { source: ".zd-tree {\n color: var(--zd-font-color);\n font-size: var(--zd-font-body1-size);\n font-weight: normal;\n}\n.zd-tree.theme--light .sl-vue-tree-title {\n color: var(--zd-font-color);\n}\n.zd-tree.theme--light .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item:hover {\n background: #eee;\n}\n.zd-tree.theme--dark .sl-vue-tree-title {\n color: #fff;\n}\n.zd-tree.theme--dark .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item:hover {\n background: #616161;\n}\n.zd-tree .sl-vue-tree-title {\n display: flex;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node {\n padding-top: 3px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-node-item {\n height: 30px;\n line-height: 30px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item {\n background-color: var(--current-row-color);\n color: var(--zd-font-color);\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item:hover {\n background: var(--current-row-hover-color) !important;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node.sl-vue-tree-selected > .sl-vue-tree-node-item .sl-vue-tree-toggle .v-icon {\n color: var(--zd-font-color);\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-node .sl-vue-tree-toggle span .v-icon {\n margin: 0px 1px 0px 1px;\n padding-bottom: 1.4px;\n}\n.zd-tree .sl-vue-tree-nodes-list .sl-vue-tree-gap {\n width: 32px;\n}\n.zd-tree .sl-vue-tree-nodes-list .item-title.has-children {\n font-weight: 700;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align {\n padding-left: 26px;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align.is-clickable {\n cursor: pointer;\n}\n.zd-tree .sl-vue-tree-node-item.sl-vue-tree-node-is-leaf .sl-vue-tree-title .align.v-icon {\n padding-left: 4px;\n}\n.zd-tree .sl-vue-tree-node-item .zd-tree-checkbox {\n padding: 0px 3px 3px 0px;\n}", map: undefined, media: undefined });
|
57223
57309
|
|
57224
57310
|
};
|
57225
57311
|
/* scoped */
|
@@ -57267,6 +57353,28 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57267
57353
|
}
|
57268
57354
|
return text;
|
57269
57355
|
}
|
57356
|
+
checkSome(row) {
|
57357
|
+
let some = false;
|
57358
|
+
if (row.tree__children) {
|
57359
|
+
some = row.tree__children.some((item) => {
|
57360
|
+
if (this.checkSome(item))
|
57361
|
+
return true;
|
57362
|
+
const index = this.instance.treeDataStructure.findDataIndex(this.instance.selectedRows, item[this.instance.datasource.uniqueKey]);
|
57363
|
+
if (index > -1)
|
57364
|
+
return true;
|
57365
|
+
return false;
|
57366
|
+
});
|
57367
|
+
}
|
57368
|
+
return some;
|
57369
|
+
}
|
57370
|
+
checkEvery(row) {
|
57371
|
+
return row.tree__children.every((item) => {
|
57372
|
+
const index = this.instance.treeDataStructure.findDataIndex(this.instance.selectedRows, item[this.instance.datasource.uniqueKey]);
|
57373
|
+
if (index > -1)
|
57374
|
+
return true;
|
57375
|
+
return false;
|
57376
|
+
});
|
57377
|
+
}
|
57270
57378
|
selectClick(index, isSelected, event) {
|
57271
57379
|
const row = this.instance.datasource.data[index];
|
57272
57380
|
this.instance.selectRow(row, isSelected);
|
@@ -57346,7 +57454,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57346
57454
|
headers: _vm.instance.columns,
|
57347
57455
|
items: _vm.getData(),
|
57348
57456
|
search: _vm.instance.datasource.search,
|
57349
|
-
"show-select": _vm.instance.selectable,
|
57350
57457
|
dense: _vm.instance.dense,
|
57351
57458
|
dark: _vm.instance.dark,
|
57352
57459
|
light: _vm.instance.light,
|
@@ -57411,31 +57518,35 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57411
57518
|
_vm.instance.headerBackground,
|
57412
57519
|
},
|
57413
57520
|
[
|
57414
|
-
|
57415
|
-
|
57416
|
-
|
57417
|
-
|
57418
|
-
|
57419
|
-
|
57420
|
-
|
57421
|
-
|
57422
|
-
|
57423
|
-
|
57424
|
-
|
57425
|
-
|
57426
|
-
|
57427
|
-
|
57428
|
-
|
57429
|
-
|
57430
|
-
|
57431
|
-
|
57432
|
-
|
57433
|
-
|
57434
|
-
|
57435
|
-
|
57436
|
-
|
57437
|
-
|
57438
|
-
|
57521
|
+
_vm.instance.showSelectAll
|
57522
|
+
? _c("v-checkbox", {
|
57523
|
+
staticClass: "zd-grid-header-checkbox",
|
57524
|
+
attrs: {
|
57525
|
+
"hide-details": "",
|
57526
|
+
color: "primary",
|
57527
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
57528
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
57529
|
+
"indeterminate-icon": _vm.$getIcon(
|
57530
|
+
"checkboxIndeterminate"
|
57531
|
+
),
|
57532
|
+
"input-value": props.everyItem,
|
57533
|
+
indeterminate:
|
57534
|
+
!props.everyItem && props.someItems,
|
57535
|
+
},
|
57536
|
+
on: {
|
57537
|
+
click: function ($event) {
|
57538
|
+
$event.stopPropagation();
|
57539
|
+
on["toggle-select-all"](
|
57540
|
+
!props.everyItem
|
57541
|
+
);
|
57542
|
+
_vm.selectAllClick(
|
57543
|
+
!props.everyItem,
|
57544
|
+
$event
|
57545
|
+
);
|
57546
|
+
},
|
57547
|
+
},
|
57548
|
+
})
|
57549
|
+
: _vm._e(),
|
57439
57550
|
],
|
57440
57551
|
1
|
57441
57552
|
)
|
@@ -57750,11 +57861,16 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57750
57861
|
attrs: {
|
57751
57862
|
"hide-details": "",
|
57752
57863
|
color: "primary",
|
57864
|
+
disabled:
|
57865
|
+
_vm.instance.callDisableSelection(item),
|
57753
57866
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
57754
57867
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
57755
57868
|
"true-value": true,
|
57756
57869
|
"false-value": false,
|
57757
57870
|
"input-value": isSelected,
|
57871
|
+
indeterminate:
|
57872
|
+
!_vm.checkEvery(item) &&
|
57873
|
+
_vm.checkSome(item),
|
57758
57874
|
},
|
57759
57875
|
on: {
|
57760
57876
|
click: function ($event) {
|
@@ -58124,8 +58240,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58124
58240
|
/* style */
|
58125
58241
|
const __vue_inject_styles__$1 = function (inject) {
|
58126
58242
|
if (!inject) return
|
58127
|
-
inject("data-v-
|
58128
|
-
,inject("data-v-
|
58243
|
+
inject("data-v-c7e812dc_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\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}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\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 .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-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: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: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\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 })
|
58244
|
+
,inject("data-v-c7e812dc_1", { source: ".zd-tree-grid.theme--light tbody td.zd-table-cell {\n color: var(--zd-font-color);\n}\n.zd-tree-grid.theme--dark tbody td.zd-table-cell {\n color: #fff;\n}\n.zd-tree-grid tbody td.zd-table-cell.first {\n padding-left: 5px !important;\n}\n.zd-tree-grid tbody td.zd-table-cell .zd-table-cell-text .search-result {\n background: var(--v-grey-lighten4);\n}\n.zd-tree-grid .zd-tree-grid-expand {\n display: inline-block;\n text-align: end;\n vertical-align: baseline;\n height: 10px;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon {\n transition: transform 0.3s ease;\n -webkit-transition: transform 0.3s ease;\n font-size: 20px;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon::after {\n content: none;\n}\n.zd-tree-grid .zd-tree-grid-expand .v-icon.opened {\n transform: rotate(90deg);\n -webkit-transform: rotate(90deg);\n}\n.zd-tree-grid .zd-tree-grid-expand.level1 {\n width: 20px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level2 {\n width: 40px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level3 {\n width: 60px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level4 {\n width: 80px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level5 {\n width: 100px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level6 {\n width: 120px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level7 {\n width: 140px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level8 {\n width: 160px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level9 {\n width: 180px;\n}\n.zd-tree-grid .zd-tree-grid-expand.level10 {\n width: 200px;\n}", map: undefined, media: undefined });
|
58129
58245
|
|
58130
58246
|
};
|
58131
58247
|
/* scoped */
|
@@ -58185,17 +58301,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58185
58301
|
}
|
58186
58302
|
return this.instance.getEditableComponent(column, row, cellProps, events);
|
58187
58303
|
}
|
58188
|
-
cellClick(row, column, event) {
|
58304
|
+
cellClick(row, column, event, canEdit = true) {
|
58189
58305
|
if (!this.instance.doubleClickEdit || !column.editable) {
|
58190
|
-
this.callCellClick(row, column, event);
|
58306
|
+
this.callCellClick(row, column, event, canEdit);
|
58191
58307
|
return;
|
58192
58308
|
}
|
58193
|
-
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event), event);
|
58309
|
+
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event, canEdit), event);
|
58194
58310
|
}
|
58195
|
-
callCellClick(row, column, event) {
|
58311
|
+
callCellClick(row, column, event, canEdit = true) {
|
58196
58312
|
const key = row[this.instance.datasource.uniqueKey];
|
58197
58313
|
this.inputToFocus = `column-${column.name}-${key}`;
|
58198
|
-
this.instance.cellClick(row, column, event, this.$el);
|
58314
|
+
this.instance.cellClick(row, column, event, this.$el, canEdit);
|
58199
58315
|
}
|
58200
58316
|
onMountedEvent({ element, component }) {
|
58201
58317
|
const input = element.getElementsByTagName('input')[0];
|
@@ -58296,6 +58412,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58296
58412
|
PropWatch({ type: [String, Boolean], default: false }),
|
58297
58413
|
__metadata("design:type", Object)
|
58298
58414
|
], ZdTreeGridEditable.prototype, "doubleClickEdit", void 0);
|
58415
|
+
__decorate([
|
58416
|
+
PropWatch({ type: [String, Function] }),
|
58417
|
+
__metadata("design:type", Object)
|
58418
|
+
], ZdTreeGridEditable.prototype, "canEditRow", void 0);
|
58299
58419
|
ZdTreeGridEditable = __decorate([
|
58300
58420
|
Component__default["default"]
|
58301
58421
|
], ZdTreeGridEditable);
|
@@ -58337,7 +58457,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58337
58457
|
headers: _vm.instance.columns,
|
58338
58458
|
items: _vm.getData(),
|
58339
58459
|
search: _vm.instance.datasource.search,
|
58340
|
-
"show-select": _vm.instance.selectable,
|
58341
58460
|
dense: _vm.instance.dense,
|
58342
58461
|
loading: _vm.instance.datasource.loading,
|
58343
58462
|
"item-key": _vm.instance.datasource.uniqueKey,
|
@@ -58346,6 +58465,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58346
58465
|
"disable-sort": "",
|
58347
58466
|
"disable-filtering": "",
|
58348
58467
|
tabindex: "0",
|
58468
|
+
set: (_vm.canEditRowValues = {}),
|
58349
58469
|
},
|
58350
58470
|
on: {
|
58351
58471
|
"current-items": function ($event) {
|
@@ -58729,6 +58849,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58729
58849
|
active: isSelected,
|
58730
58850
|
current: _vm.isCurrentRow(item),
|
58731
58851
|
},
|
58852
|
+
attrs: {
|
58853
|
+
set: (_vm.canEditRowValues[_vm.rowKey(item)] =
|
58854
|
+
_vm.instance.callCanEditRow(item)),
|
58855
|
+
},
|
58732
58856
|
on: {
|
58733
58857
|
click: function ($event) {
|
58734
58858
|
return _vm.rowClick(item, $event)
|
@@ -58746,12 +58870,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58746
58870
|
attrs: {
|
58747
58871
|
"hide-details": "",
|
58748
58872
|
color: "primary",
|
58749
|
-
disabled:
|
58873
|
+
disabled:
|
58874
|
+
_vm.instance.editing ||
|
58875
|
+
_vm.instance.callDisableSelection(item),
|
58750
58876
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
58751
58877
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
58752
58878
|
"true-value": true,
|
58753
58879
|
"false-value": false,
|
58754
58880
|
value: isSelected,
|
58881
|
+
indeterminate:
|
58882
|
+
!_vm.checkEvery(item) &&
|
58883
|
+
_vm.checkSome(item),
|
58755
58884
|
},
|
58756
58885
|
on: {
|
58757
58886
|
click: function ($event) {
|
@@ -58810,7 +58939,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58810
58939
|
{},
|
58811
58940
|
column,
|
58812
58941
|
cellProps
|
58813
|
-
).editable
|
58942
|
+
).editable &&
|
58943
|
+
_vm.canEditRowValues[
|
58944
|
+
_vm.rowKey(item)
|
58945
|
+
],
|
58814
58946
|
},
|
58815
58947
|
],
|
58816
58948
|
style: [
|
@@ -58821,11 +58953,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58821
58953
|
],
|
58822
58954
|
on: {
|
58823
58955
|
click: function ($event) {
|
58824
|
-
|
58956
|
+
_vm.cellClick(
|
58825
58957
|
item,
|
58826
58958
|
column,
|
58827
|
-
$event
|
58828
|
-
|
58959
|
+
$event,
|
58960
|
+
_vm.canEditRowValues[
|
58961
|
+
_vm.rowKey(item)
|
58962
|
+
]
|
58963
|
+
);
|
58829
58964
|
},
|
58830
58965
|
},
|
58831
58966
|
},
|
@@ -58842,7 +58977,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58842
58977
|
: _vm._e(),
|
58843
58978
|
_vm._v(" "),
|
58844
58979
|
Object.assign({}, column, cellProps)
|
58845
|
-
.editable &&
|
58980
|
+
.editable &&
|
58981
|
+
_vm.canEditRowValues[
|
58982
|
+
_vm.rowKey(item)
|
58983
|
+
] &&
|
58984
|
+
_vm.instance.editing
|
58846
58985
|
? _c(
|
58847
58986
|
"span",
|
58848
58987
|
{
|
@@ -59287,8 +59426,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
59287
59426
|
/* style */
|
59288
59427
|
const __vue_inject_styles__ = function (inject) {
|
59289
59428
|
if (!inject) return
|
59290
|
-
inject("data-v-
|
59291
|
-
,inject("data-v-
|
59429
|
+
inject("data-v-6258f90c_0", { source: ".zd-grid {\n outline: none;\n}\n.zd-grid-flex {\n display: flex;\n flex-direction: column;\n}\n.zd-grid-flex .v-data-table__wrapper {\n flex: 1;\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}\n.zd-grid-toolbar-slot {\n width: 100%;\n display: flex;\n align-items: center;\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 .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-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: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: 24px 0 0 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 1rem;\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 })
|
59430
|
+
,inject("data-v-6258f90c_1", { source: ".zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable.text-right .zd-table-cell-inline-edit, .zd-tree-grid-editable 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-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable.text-center .zd-table-cell-inline-edit, .zd-tree-grid-editable 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-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-inline-edit {\n display: flex;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-inline-edit .zd-table-cell-edit-icon .v-icon, .zd-tree-grid-editable 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-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text, .zd-tree-grid-editable 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-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before, .zd-tree-grid-editable 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-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:before {\n left: 0;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-column-editable .zd-table-cell-text:after, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text:after {\n right: 0px;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable {\n cursor: pointer;\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable {\n border-bottom: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:before, .zd-tree-grid-editable table tbody tr td.zd-table-cell.zd-table-cell-editable .zd-table-cell-text.zd-table-cell-text-editable:after {\n border-left: solid var(--regular) var(--v-grey-lighten4);\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand {\n display: inline-block;\n text-align: end;\n vertical-align: baseline;\n height: 10px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon {\n transition: transform 0.3s ease;\n -webkit-transition: transform 0.3s ease;\n font-size: 20px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon::after {\n content: none;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand .v-icon.opened {\n transform: rotate(90deg);\n -webkit-transform: rotate(90deg);\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level1 {\n width: 20px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level2 {\n width: 40px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level3 {\n width: 60px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level4 {\n width: 80px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level5 {\n width: 100px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level6 {\n width: 120px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level7 {\n width: 140px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level8 {\n width: 160px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level9 {\n width: 180px;\n}\n.zd-tree-grid-editable .zd-tree-grid-editable-expand.level10 {\n width: 200px;\n}\n.zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot {\n height: 22px;\n}\n.zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot input, .zd-tree-grid-editable.v-data-table--dense table tbody .zd-input.zd-text-input .v-input__slot .v-select__selections {\n height: 22px;\n max-height: 22px;\n}", map: undefined, media: undefined });
|
59292
59431
|
|
59293
59432
|
};
|
59294
59433
|
/* scoped */
|