@zeedhi/vuetify 1.53.0 → 1.56.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 +444 -301
- package/dist/zd-vuetify.umd.js +355 -212
- package/package.json +3 -3
- 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
@@ -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
|
};
|
@@ -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',
|
@@ -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
|
});
|
@@ -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 */
|
@@ -41411,6 +41419,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41411
41419
|
},
|
41412
41420
|
"zd-text-align-" +
|
41413
41421
|
(_vm.instance.reverse ? "right" : _vm.instance.align),
|
41422
|
+
_vm.instance.type === "color" ? "zd-color-type" : "",
|
41414
41423
|
],
|
41415
41424
|
style: _vm.instance.cssStyle,
|
41416
41425
|
attrs: {
|
@@ -41522,7 +41531,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41522
41531
|
/* style */
|
41523
41532
|
const __vue_inject_styles__$18 = function (inject) {
|
41524
41533
|
if (!inject) return
|
41525
|
-
inject("data-v-
|
41534
|
+
inject("data-v-5ab905d8_0", { source: ".zd-text-input__affix, .v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append .zd-text-input__append__suffix, .v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__prefix {\n font-weight: var(--zd-font-body2-weight);\n color: var(--v-grey-lighten2);\n font-size: var(--zd-font-body2-size);\n line-height: 15px;\n padding: 3px 0 4px 0;\n}\n.zd-input.v-input.v-input--is-readonly > .v-input__control > .v-input__slot {\n background-color: var(--v-grey-lighten5);\n}\n.zd-input.v-input.v-input--is-readonly.theme--dark > .v-input__control > .v-input__slot {\n background-color: var(--v-grey-darken2);\n}\n.v-input.zd-text-input {\n padding-top: var(--spacing-4);\n}\n.v-input.zd-text-input .v-input__prepend-outer {\n margin-right: var(--spacing-1);\n}\n.v-input.zd-text-input .v-input__append-outer {\n margin-left: var(--spacing-1);\n}\n.v-input.zd-text-input .v-input__prepend-outer, .v-input.zd-text-input .v-input__append-outer {\n margin-top: calc(var(--spacing-7) / 2 - var(--icon-size) / 2);\n margin-bottom: calc(var(--spacing-7) / 2 - var(--icon-size) / 2);\n}\n.v-input.zd-text-input .v-input__append-inner, .v-input.zd-text-input .v-input__prepend-inner {\n padding: 0;\n margin: 0;\n align-self: unset;\n}\n.v-input.zd-text-input .v-input__prepend-outer .v-icon, .v-input.zd-text-input .v-input__append-outer .v-icon, .v-input.zd-text-input .v-input__append-inner .v-icon, .v-input.zd-text-input .v-input__prepend-inner .v-icon {\n font-size: var(--icon-size);\n}\n.v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__prefix {\n padding-left: var(--spacing-2);\n}\n.v-input.zd-text-input > .v-input__control > .v-input__slot .v-text-field__slot {\n position: static;\n}\n.v-input.zd-text-input.v-text-field--reverse > .v-input__control > .v-input__slot label {\n left: auto !important;\n}\n.v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append {\n align-items: center;\n display: inline-flex;\n flex: 1 0 auto;\n justify-content: center;\n}\n.v-input.zd-text-input.zd-text-input--suffix .v-input__append-inner > .zd-text-input__append .zd-text-input__append__suffix {\n padding-right: var(--spacing-2);\n}\n.v-input.zd-text-input.zd-text-input--prepend-icon > .v-input__control > .v-input__slot > .v-input__prepend-inner {\n padding: 0;\n}\n.v-input.zd-text-input.zd-text-input--append-icon > .v-input__control > .v-input__slot > .v-input__append-inner {\n padding: 0;\n}\n.v-input.zd-text-input.zd-dense .v-input__prepend-outer, .v-input.zd-text-input.zd-dense .v-input__append-outer {\n margin-top: calc(var(--icon-size) / 2 - var(--icon-size) / 2);\n margin-bottom: calc(var(--icon-size) / 2 - var(--icon-size) / 2);\n}\n.v-input.zd-text-input.zd-dense .v-input__prepend-outer .v-icon, .v-input.zd-text-input.zd-dense .v-input__append-outer .v-icon, .v-input.zd-text-input.zd-dense .v-input__append-inner .v-icon, .v-input.zd-text-input.zd-dense .v-input__prepend-inner .v-icon {\n font-size: var(--icon-size-small);\n}\n.v-input.zd-text-input.zd-dense .v-input__slot .v-text-field__prefix {\n height: auto;\n}\n.v-input.zd-text-input.zd-no-border:not(.error--text) .v-input__append-inner:last-child,\n.v-input.zd-text-input.zd-no-border:not(.error--text) .v-input__prepend-inner:first-child {\n margin: 0;\n}\n.v-input.zd-text-input.zd-no-border:not(.error--text) > .v-input__control > .v-input__slot input {\n padding: 0;\n}\n.v-input.zd-text-input.zd-text-align-left > .v-input__control > .v-input__slot input {\n text-align: left;\n}\n.v-input.zd-text-input.zd-color-type > .v-input__control > .v-input__slot input {\n padding: 0;\n cursor: pointer;\n max-height: 22px;\n}\n.v-input.zd-text-input.zd-color-type:not(.zd-dense) > .v-input__control > .v-input__slot input {\n max-height: 34px;\n}\n.v-input.zd-text-input.zd-text-align-center > .v-input__control > .v-input__slot input {\n text-align: center;\n}\n.v-input.zd-text-input.zd-text-align-right > .v-input__control > .v-input__slot input {\n text-align: right;\n}", map: undefined, media: undefined });
|
41526
41535
|
|
41527
41536
|
};
|
41528
41537
|
/* scoped */
|
@@ -41884,6 +41893,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41884
41893
|
PropWatch({ type: [Number, String], default: '' }),
|
41885
41894
|
__metadata("design:type", Object)
|
41886
41895
|
], ZdDashboard.prototype, "heightAdjust", void 0);
|
41896
|
+
__decorate([
|
41897
|
+
PropWatch({ type: Array, default: () => undefined }),
|
41898
|
+
__metadata("design:type", Object)
|
41899
|
+
], ZdDashboard.prototype, "cardFooterSlot", void 0);
|
41887
41900
|
ZdDashboard = __decorate([
|
41888
41901
|
vuePropertyDecorator.Component
|
41889
41902
|
], ZdDashboard);
|
@@ -41967,6 +41980,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41967
41980
|
{
|
41968
41981
|
staticClass: "zd-dashboard-card-div dashboard-div-card",
|
41969
41982
|
attrs: { id: "dashboardDivCard-" + card.cardId },
|
41983
|
+
on: {
|
41984
|
+
mousedown: function ($event) {
|
41985
|
+
return _vm.instance.selectCard(card.cardId)
|
41986
|
+
},
|
41987
|
+
},
|
41970
41988
|
},
|
41971
41989
|
[
|
41972
41990
|
_c(
|
@@ -42091,7 +42109,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
42091
42109
|
/* style */
|
42092
42110
|
const __vue_inject_styles__$15 = function (inject) {
|
42093
42111
|
if (!inject) return
|
42094
|
-
inject("data-v-
|
42112
|
+
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
42113
|
|
42096
42114
|
};
|
42097
42115
|
/* scoped */
|
@@ -43013,6 +43031,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43013
43031
|
return _c(
|
43014
43032
|
"v-dialog",
|
43015
43033
|
{
|
43034
|
+
key: "" + _vm.dialog.name + _vm.dialog.isVisible,
|
43016
43035
|
attrs: {
|
43017
43036
|
id: _vm.dialog.name,
|
43018
43037
|
"max-width": _vm.dialog.maxWidth,
|
@@ -43107,7 +43126,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43107
43126
|
/* style */
|
43108
43127
|
const __vue_inject_styles__$12 = function (inject) {
|
43109
43128
|
if (!inject) return
|
43110
|
-
inject("data-v-
|
43129
|
+
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
43130
|
|
43112
43131
|
};
|
43113
43132
|
/* scoped */
|
@@ -45066,6 +45085,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45066
45085
|
PropWatch({ type: [Number, String], default: undefined }),
|
45067
45086
|
__metadata("design:type", Object)
|
45068
45087
|
], ZdGrid.prototype, "gridMaxHeight", void 0);
|
45088
|
+
__decorate([
|
45089
|
+
vuePropertyDecorator.Prop({ type: [String, Function], default: undefined }),
|
45090
|
+
__metadata("design:type", Object)
|
45091
|
+
], ZdGrid.prototype, "disableSelection", void 0);
|
45069
45092
|
__decorate([
|
45070
45093
|
vuePropertyDecorator.Prop({
|
45071
45094
|
type: Array,
|
@@ -45114,6 +45137,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45114
45137
|
PropWatch({ type: [Boolean, String], default: false }),
|
45115
45138
|
__metadata("design:type", Object)
|
45116
45139
|
], ZdGrid.prototype, "resizeColumns", void 0);
|
45140
|
+
__decorate([
|
45141
|
+
PropWatch({ type: [Boolean, String], default: true }),
|
45142
|
+
__metadata("design:type", Object)
|
45143
|
+
], ZdGrid.prototype, "showSelectAll", void 0);
|
45117
45144
|
__decorate([
|
45118
45145
|
vuePropertyDecorator.Prop({
|
45119
45146
|
type: Array,
|
@@ -45170,7 +45197,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45170
45197
|
height: _vm.instance.height,
|
45171
45198
|
items: _vm.getData(),
|
45172
45199
|
search: _vm.instance.datasource.search,
|
45173
|
-
"show-select": _vm.instance.selectable,
|
45174
45200
|
dense: _vm.instance.dense,
|
45175
45201
|
loading: _vm.instance.datasource.loading,
|
45176
45202
|
"item-key": _vm.instance.datasource.uniqueKey,
|
@@ -45233,31 +45259,35 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45233
45259
|
_vm.instance.headerBackground,
|
45234
45260
|
},
|
45235
45261
|
[
|
45236
|
-
|
45237
|
-
|
45238
|
-
|
45239
|
-
|
45240
|
-
|
45241
|
-
|
45242
|
-
|
45243
|
-
|
45244
|
-
|
45245
|
-
|
45246
|
-
|
45247
|
-
|
45248
|
-
|
45249
|
-
|
45250
|
-
|
45251
|
-
|
45252
|
-
|
45253
|
-
|
45254
|
-
|
45255
|
-
|
45256
|
-
|
45257
|
-
|
45258
|
-
|
45259
|
-
|
45260
|
-
|
45262
|
+
_vm.instance.showSelectAll
|
45263
|
+
? _c("v-checkbox", {
|
45264
|
+
staticClass: "zd-grid-header-checkbox",
|
45265
|
+
attrs: {
|
45266
|
+
"hide-details": "",
|
45267
|
+
color: "primary",
|
45268
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
45269
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
45270
|
+
"indeterminate-icon": _vm.$getIcon(
|
45271
|
+
"checkboxIndeterminate"
|
45272
|
+
),
|
45273
|
+
"input-value": props.everyItem,
|
45274
|
+
indeterminate:
|
45275
|
+
!props.everyItem && props.someItems,
|
45276
|
+
},
|
45277
|
+
on: {
|
45278
|
+
click: function ($event) {
|
45279
|
+
$event.stopPropagation();
|
45280
|
+
on["toggle-select-all"](
|
45281
|
+
!props.everyItem
|
45282
|
+
);
|
45283
|
+
_vm.selectAllClick(
|
45284
|
+
!props.everyItem,
|
45285
|
+
$event
|
45286
|
+
);
|
45287
|
+
},
|
45288
|
+
},
|
45289
|
+
})
|
45290
|
+
: _vm._e(),
|
45261
45291
|
],
|
45262
45292
|
1
|
45263
45293
|
)
|
@@ -45618,6 +45648,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45618
45648
|
attrs: {
|
45619
45649
|
"hide-details": "",
|
45620
45650
|
color: "primary",
|
45651
|
+
disabled:
|
45652
|
+
_vm.instance.callDisableSelection(item),
|
45621
45653
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
45622
45654
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
45623
45655
|
"true-value": true,
|
@@ -45916,7 +45948,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45916
45948
|
/* style */
|
45917
45949
|
const __vue_inject_styles__$W = function (inject) {
|
45918
45950
|
if (!inject) return
|
45919
|
-
inject("data-v-
|
45951
|
+
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 });
|
45920
45952
|
|
45921
45953
|
};
|
45922
45954
|
/* scoped */
|
@@ -45976,17 +46008,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45976
46008
|
}
|
45977
46009
|
return this.instance.getEditableComponent(column, row, cellProps, events);
|
45978
46010
|
}
|
45979
|
-
cellClick(row, column, event) {
|
46011
|
+
cellClick(row, column, event, canEdit = true) {
|
45980
46012
|
if (!this.instance.doubleClickEdit || !column.editable) {
|
45981
|
-
this.callCellClick(row, column, event);
|
46013
|
+
this.callCellClick(row, column, event, canEdit);
|
45982
46014
|
return;
|
45983
46015
|
}
|
45984
|
-
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event), event);
|
46016
|
+
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event, canEdit), event);
|
45985
46017
|
}
|
45986
|
-
callCellClick(row, column, event) {
|
46018
|
+
callCellClick(row, column, event, canEdit = true) {
|
45987
46019
|
const key = row[this.instance.datasource.uniqueKey];
|
45988
46020
|
this.inputToFocus = `column-${column.name}-${key}`;
|
45989
|
-
this.instance.cellClick(row, column, event, this.$el);
|
46021
|
+
this.instance.cellClick(row, column, event, this.$el, canEdit);
|
45990
46022
|
}
|
45991
46023
|
onMountedEvent({ element, component }) {
|
45992
46024
|
const input = element.getElementsByTagName('input')[0];
|
@@ -46088,6 +46120,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46088
46120
|
PropWatch({ type: [String, Boolean], default: false }),
|
46089
46121
|
__metadata("design:type", Object)
|
46090
46122
|
], ZdGridEditable.prototype, "doubleClickEdit", void 0);
|
46123
|
+
__decorate([
|
46124
|
+
PropWatch({ type: [String, Function], default: undefined }),
|
46125
|
+
__metadata("design:type", Object)
|
46126
|
+
], ZdGridEditable.prototype, "canEditRow", void 0);
|
46091
46127
|
ZdGridEditable = __decorate([
|
46092
46128
|
Component__default["default"]
|
46093
46129
|
], ZdGridEditable);
|
@@ -46130,13 +46166,13 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46130
46166
|
headers: _vm.instance.columns,
|
46131
46167
|
items: _vm.getData(),
|
46132
46168
|
search: _vm.instance.datasource.search,
|
46133
|
-
"show-select": _vm.instance.selectable,
|
46134
46169
|
dense: _vm.instance.dense,
|
46135
46170
|
loading: _vm.instance.datasource.loading,
|
46136
46171
|
"item-key": _vm.instance.datasource.uniqueKey,
|
46137
46172
|
"disable-sort": "",
|
46138
46173
|
"disable-filtering": "",
|
46139
46174
|
tabindex: "0",
|
46175
|
+
set: (_vm.canEditRowValues = {}),
|
46140
46176
|
},
|
46141
46177
|
on: {
|
46142
46178
|
"current-items": function ($event) {
|
@@ -46193,32 +46229,36 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46193
46229
|
_vm.instance.headerBackground,
|
46194
46230
|
},
|
46195
46231
|
[
|
46196
|
-
|
46197
|
-
|
46198
|
-
|
46199
|
-
|
46200
|
-
|
46201
|
-
|
46202
|
-
|
46203
|
-
|
46204
|
-
|
46205
|
-
|
46206
|
-
|
46207
|
-
|
46208
|
-
|
46209
|
-
|
46210
|
-
|
46211
|
-
|
46212
|
-
|
46213
|
-
|
46214
|
-
|
46215
|
-
|
46216
|
-
|
46217
|
-
|
46218
|
-
|
46219
|
-
|
46220
|
-
|
46221
|
-
|
46232
|
+
_vm.instance.showSelectAll
|
46233
|
+
? _c("v-checkbox", {
|
46234
|
+
staticClass: "zd-grid-header-checkbox",
|
46235
|
+
attrs: {
|
46236
|
+
"hide-details": "",
|
46237
|
+
color: "primary",
|
46238
|
+
disabled: _vm.instance.editing,
|
46239
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
46240
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
46241
|
+
"indeterminate-icon": _vm.$getIcon(
|
46242
|
+
"checkboxIndeterminate"
|
46243
|
+
),
|
46244
|
+
"input-value": props.everyItem,
|
46245
|
+
indeterminate:
|
46246
|
+
!props.everyItem && props.someItems,
|
46247
|
+
},
|
46248
|
+
on: {
|
46249
|
+
click: function ($event) {
|
46250
|
+
$event.stopPropagation();
|
46251
|
+
on["toggle-select-all"](
|
46252
|
+
!props.everyItem
|
46253
|
+
);
|
46254
|
+
_vm.selectAllClick(
|
46255
|
+
!props.everyItem,
|
46256
|
+
$event
|
46257
|
+
);
|
46258
|
+
},
|
46259
|
+
},
|
46260
|
+
})
|
46261
|
+
: _vm._e(),
|
46222
46262
|
],
|
46223
46263
|
1
|
46224
46264
|
)
|
@@ -46284,7 +46324,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46284
46324
|
"span",
|
46285
46325
|
{
|
46286
46326
|
staticClass:
|
46287
|
-
"zd-table-cell-sort
|
46327
|
+
"zd-table-cell-sort zd-mr-1",
|
46288
46328
|
on: {
|
46289
46329
|
click: function (
|
46290
46330
|
$event
|
@@ -46568,6 +46608,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46568
46608
|
active: isSelected,
|
46569
46609
|
current: _vm.isCurrentRow(item),
|
46570
46610
|
},
|
46611
|
+
attrs: {
|
46612
|
+
set: (_vm.canEditRowValues[_vm.rowKey(item)] =
|
46613
|
+
_vm.instance.callCanEditRow(item)),
|
46614
|
+
},
|
46571
46615
|
on: {
|
46572
46616
|
click: function ($event) {
|
46573
46617
|
return _vm.rowClick(item, $event)
|
@@ -46585,7 +46629,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46585
46629
|
attrs: {
|
46586
46630
|
"hide-details": "",
|
46587
46631
|
color: "primary",
|
46588
|
-
disabled:
|
46632
|
+
disabled:
|
46633
|
+
_vm.instance.editing ||
|
46634
|
+
_vm.instance.callDisableSelection(item),
|
46589
46635
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
46590
46636
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
46591
46637
|
"true-value": true,
|
@@ -46643,7 +46689,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46643
46689
|
{},
|
46644
46690
|
column,
|
46645
46691
|
cellProps
|
46646
|
-
).editable
|
46692
|
+
).editable &&
|
46693
|
+
_vm.canEditRowValues[
|
46694
|
+
_vm.rowKey(item)
|
46695
|
+
],
|
46647
46696
|
},
|
46648
46697
|
],
|
46649
46698
|
style: [
|
@@ -46654,11 +46703,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46654
46703
|
],
|
46655
46704
|
on: {
|
46656
46705
|
click: function ($event) {
|
46657
|
-
|
46706
|
+
_vm.cellClick(
|
46658
46707
|
item,
|
46659
46708
|
column,
|
46660
|
-
$event
|
46661
|
-
|
46709
|
+
$event,
|
46710
|
+
_vm.canEditRowValues[
|
46711
|
+
_vm.rowKey(item)
|
46712
|
+
]
|
46713
|
+
);
|
46662
46714
|
},
|
46663
46715
|
},
|
46664
46716
|
},
|
@@ -46675,7 +46727,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46675
46727
|
: _vm._e(),
|
46676
46728
|
_vm._v(" "),
|
46677
46729
|
Object.assign({}, column, cellProps)
|
46678
|
-
.editable &&
|
46730
|
+
.editable &&
|
46731
|
+
_vm.canEditRowValues[
|
46732
|
+
_vm.rowKey(item)
|
46733
|
+
] &&
|
46734
|
+
_vm.instance.editing
|
46679
46735
|
? _c(
|
46680
46736
|
"span",
|
46681
46737
|
{
|
@@ -47044,8 +47100,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
47044
47100
|
/* style */
|
47045
47101
|
const __vue_inject_styles__$V = function (inject) {
|
47046
47102
|
if (!inject) return
|
47047
|
-
inject("data-v-
|
47048
|
-
,inject("data-v-
|
47103
|
+
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 })
|
47104
|
+
,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 });
|
47049
47105
|
|
47050
47106
|
};
|
47051
47107
|
/* scoped */
|
@@ -48605,7 +48661,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
48605
48661
|
/* style */
|
48606
48662
|
const __vue_inject_styles__$L = function (inject) {
|
48607
48663
|
if (!inject) return
|
48608
|
-
inject("data-v-
|
48664
|
+
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 });
|
48609
48665
|
|
48610
48666
|
};
|
48611
48667
|
/* scoped */
|
@@ -48698,6 +48754,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
48698
48754
|
this.instance.selectInput(value, undefined, this.$el);
|
48699
48755
|
}
|
48700
48756
|
selectBlur(event) {
|
48757
|
+
if (this.$el.contains(document.activeElement))
|
48758
|
+
return;
|
48701
48759
|
this.blur(event);
|
48702
48760
|
}
|
48703
48761
|
selectFocus(event) {
|
@@ -53058,6 +53116,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53058
53116
|
}
|
53059
53117
|
}
|
53060
53118
|
selectBlur(event) {
|
53119
|
+
if (this.$el.contains(document.activeElement))
|
53120
|
+
return;
|
53061
53121
|
if (this.rows !== 1) {
|
53062
53122
|
this.rows = 1;
|
53063
53123
|
this.calcDisplay();
|
@@ -56043,7 +56103,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56043
56103
|
}
|
56044
56104
|
onChangeTimePicker() {
|
56045
56105
|
const textInput = this.$refs.instance.$children[0];
|
56046
|
-
textInput.validate(false
|
56106
|
+
textInput.validate(false);
|
56047
56107
|
}
|
56048
56108
|
mounted() {
|
56049
56109
|
const textInput = this.$refs.instance.$children[0].$el.getElementsByTagName('input')[0];
|
@@ -56106,15 +56166,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56106
56166
|
}
|
56107
56167
|
return formatted;
|
56108
56168
|
}
|
56109
|
-
set pickerValue(value) {
|
56110
|
-
this.instance.value = this.convert(value, false);
|
56111
|
-
}
|
56112
|
-
get pickerValue() {
|
56113
|
-
if (!this.instance.isFullyValid())
|
56114
|
-
return null;
|
56115
|
-
const { value } = this.instance;
|
56116
|
-
return this.convert(value);
|
56117
|
-
}
|
56118
56169
|
get pickerMinTime() {
|
56119
56170
|
return this.convert(this.instance.minTime);
|
56120
56171
|
}
|
@@ -56124,6 +56175,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56124
56175
|
onPickerMousedown(event) {
|
56125
56176
|
event.preventDefault();
|
56126
56177
|
}
|
56178
|
+
onSelectTime(time, event) {
|
56179
|
+
this.instance.selectTime(time, event, this.$el);
|
56180
|
+
}
|
56127
56181
|
pickerMounted() {
|
56128
56182
|
const picker = this.$refs.picker.$el;
|
56129
56183
|
picker.addEventListener('mousedown', this.onPickerMousedown);
|
@@ -56132,6 +56186,27 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56132
56186
|
const picker = this.$refs.picker.$el;
|
56133
56187
|
picker.removeEventListener('mousedown', this.onPickerMousedown);
|
56134
56188
|
}
|
56189
|
+
toMask(format) {
|
56190
|
+
const newMask = format.replace(/[B-Zb-z]/gi, '#').split('').map((char) => {
|
56191
|
+
if (char === 'A' || char === 'a') {
|
56192
|
+
return /[AapP]/;
|
56193
|
+
}
|
56194
|
+
if (char === '#') {
|
56195
|
+
return /\d/;
|
56196
|
+
}
|
56197
|
+
return char;
|
56198
|
+
});
|
56199
|
+
if (format.includes('a') || format.includes('A')) {
|
56200
|
+
newMask.push(/[mM]/);
|
56201
|
+
}
|
56202
|
+
return newMask;
|
56203
|
+
}
|
56204
|
+
get getTimeMask() {
|
56205
|
+
if (this.instance.isFocused) {
|
56206
|
+
return this.toMask(this.instance.inputFormat || this.instance.displayFormat || '');
|
56207
|
+
}
|
56208
|
+
return '';
|
56209
|
+
}
|
56135
56210
|
};
|
56136
56211
|
__decorate([
|
56137
56212
|
PropWatch({ type: [Array, String], default: undefined }),
|
@@ -56182,7 +56257,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56182
56257
|
__metadata("design:type", Boolean)
|
56183
56258
|
], ZdTime.prototype, "useSeconds", void 0);
|
56184
56259
|
__decorate([
|
56185
|
-
PropWatch({ type:
|
56260
|
+
PropWatch({ type: String, default: undefined }),
|
56186
56261
|
__metadata("design:type", Object)
|
56187
56262
|
], ZdTime.prototype, "mask", void 0);
|
56188
56263
|
__decorate([
|
@@ -56190,7 +56265,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56190
56265
|
__metadata("design:type", String)
|
56191
56266
|
], ZdTime.prototype, "valueFormat", void 0);
|
56192
56267
|
__decorate([
|
56193
|
-
PropWatch({ type:
|
56268
|
+
PropWatch({ type: String }),
|
56269
|
+
__metadata("design:type", Object)
|
56270
|
+
], ZdTime.prototype, "inputFormat", void 0);
|
56271
|
+
__decorate([
|
56272
|
+
PropWatch({ type: String }),
|
56194
56273
|
__metadata("design:type", String)
|
56195
56274
|
], ZdTime.prototype, "displayFormat", void 0);
|
56196
56275
|
ZdTime = __decorate([
|
@@ -56246,6 +56325,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56246
56325
|
ref: "instance",
|
56247
56326
|
attrs: {
|
56248
56327
|
name: _vm.instance.name + "_text-input",
|
56328
|
+
mask: _vm.getTimeMask,
|
56249
56329
|
"instance-object": _vm.instance,
|
56250
56330
|
events: _vm.getEvents(on),
|
56251
56331
|
autofill: false,
|
@@ -56258,7 +56338,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56258
56338
|
],
|
56259
56339
|
null,
|
56260
56340
|
false,
|
56261
|
-
|
56341
|
+
229268027
|
56262
56342
|
),
|
56263
56343
|
model: {
|
56264
56344
|
value: _vm.instance.showTimePicker,
|
@@ -56292,21 +56372,21 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56292
56372
|
name: _vm.instance.name,
|
56293
56373
|
dark: _vm.instance.dark,
|
56294
56374
|
light: _vm.instance.light,
|
56295
|
-
value: _vm.pickerValue,
|
56296
56375
|
},
|
56297
56376
|
on: {
|
56298
56377
|
"hook:mounted": _vm.pickerMounted,
|
56299
56378
|
"hook:destroyed": _vm.pickerDestroyed,
|
56379
|
+
"click:time": _vm.onSelectTime,
|
56300
56380
|
change: function ($event) {
|
56301
56381
|
return _vm.onChangeTimePicker()
|
56302
56382
|
},
|
56303
56383
|
},
|
56304
56384
|
model: {
|
56305
|
-
value: _vm.
|
56385
|
+
value: _vm.instance.isoValue,
|
56306
56386
|
callback: function ($$v) {
|
56307
|
-
_vm.
|
56387
|
+
_vm.$set(_vm.instance, "isoValue", $$v);
|
56308
56388
|
},
|
56309
|
-
expression: "
|
56389
|
+
expression: "instance.isoValue",
|
56310
56390
|
},
|
56311
56391
|
},
|
56312
56392
|
"v-time-picker",
|
@@ -56332,7 +56412,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56332
56412
|
name: _vm.instance.name + "_text-input",
|
56333
56413
|
"instance-object": _vm.instance,
|
56334
56414
|
autofill: false,
|
56335
|
-
type: "
|
56415
|
+
type: "text",
|
56336
56416
|
mask: "",
|
56337
56417
|
},
|
56338
56418
|
}),
|
@@ -56347,7 +56427,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56347
56427
|
/* style */
|
56348
56428
|
const __vue_inject_styles__$6 = function (inject) {
|
56349
56429
|
if (!inject) return
|
56350
|
-
inject("data-v-
|
56430
|
+
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 });
|
56351
56431
|
|
56352
56432
|
};
|
56353
56433
|
/* scoped */
|
@@ -56593,6 +56673,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56593
56673
|
vuePropertyDecorator.Prop({ type: [String], default: 'checked' }),
|
56594
56674
|
__metadata("design:type", String)
|
56595
56675
|
], ZdTreeCheckbox.prototype, "checkedField", void 0);
|
56676
|
+
__decorate([
|
56677
|
+
vuePropertyDecorator.Prop({ type: [Boolean], default: false }),
|
56678
|
+
__metadata("design:type", Boolean)
|
56679
|
+
], ZdTreeCheckbox.prototype, "disabled", void 0);
|
56596
56680
|
__decorate([
|
56597
56681
|
vuePropertyDecorator.Watch('childrenCheck'),
|
56598
56682
|
__metadata("design:type", Function),
|
@@ -56616,6 +56700,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56616
56700
|
staticClass: "zd-tree-checkbox",
|
56617
56701
|
attrs: {
|
56618
56702
|
"hide-details": "",
|
56703
|
+
disabled: _vm.disabled,
|
56619
56704
|
ripple: false,
|
56620
56705
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
56621
56706
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
@@ -56625,7 +56710,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56625
56710
|
},
|
56626
56711
|
on: {
|
56627
56712
|
click: function ($event) {
|
56628
|
-
|
56713
|
+
_vm.disabled || _vm.click($event);
|
56629
56714
|
},
|
56630
56715
|
},
|
56631
56716
|
model: {
|
@@ -56643,7 +56728,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56643
56728
|
/* style */
|
56644
56729
|
const __vue_inject_styles__$4 = function (inject) {
|
56645
56730
|
if (!inject) return
|
56646
|
-
inject("data-v-
|
56731
|
+
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 });
|
56647
56732
|
|
56648
56733
|
};
|
56649
56734
|
/* scoped */
|
@@ -56908,6 +56993,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56908
56993
|
vuePropertyDecorator.Prop({ type: [String, Number, Boolean], default: false }),
|
56909
56994
|
__metadata("design:type", Object)
|
56910
56995
|
], ZdTree.prototype, "openLevelOnLoad", void 0);
|
56996
|
+
__decorate([
|
56997
|
+
vuePropertyDecorator.Prop({ type: [String, Function], default: undefined }),
|
56998
|
+
__metadata("design:type", Function)
|
56999
|
+
], ZdTree.prototype, "disableCheckbox", void 0);
|
56911
57000
|
__decorate([
|
56912
57001
|
vuePropertyDecorator.Watch('instance.datasource.data.length'),
|
56913
57002
|
__metadata("design:type", Function),
|
@@ -57002,6 +57091,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57002
57091
|
_vm.instance.checkbox
|
57003
57092
|
? _c("zd-tree-checkbox", {
|
57004
57093
|
attrs: {
|
57094
|
+
disabled: _vm.instance.callDisableCheckbox(node),
|
57005
57095
|
node: _vm.instanceNode(node),
|
57006
57096
|
checkedField: _vm.instance.checkedField,
|
57007
57097
|
},
|
@@ -57216,7 +57306,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57216
57306
|
/* style */
|
57217
57307
|
const __vue_inject_styles__$2 = function (inject) {
|
57218
57308
|
if (!inject) return
|
57219
|
-
inject("data-v-
|
57309
|
+
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 });
|
57220
57310
|
|
57221
57311
|
};
|
57222
57312
|
/* scoped */
|
@@ -57264,6 +57354,28 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57264
57354
|
}
|
57265
57355
|
return text;
|
57266
57356
|
}
|
57357
|
+
checkSome(row) {
|
57358
|
+
let some = false;
|
57359
|
+
if (row.tree__children) {
|
57360
|
+
some = row.tree__children.some((item) => {
|
57361
|
+
if (this.checkSome(item))
|
57362
|
+
return true;
|
57363
|
+
const index = this.instance.treeDataStructure.findDataIndex(this.instance.selectedRows, item[this.instance.datasource.uniqueKey]);
|
57364
|
+
if (index > -1)
|
57365
|
+
return true;
|
57366
|
+
return false;
|
57367
|
+
});
|
57368
|
+
}
|
57369
|
+
return some;
|
57370
|
+
}
|
57371
|
+
checkEvery(row) {
|
57372
|
+
return row.tree__children.every((item) => {
|
57373
|
+
const index = this.instance.treeDataStructure.findDataIndex(this.instance.selectedRows, item[this.instance.datasource.uniqueKey]);
|
57374
|
+
if (index > -1)
|
57375
|
+
return true;
|
57376
|
+
return false;
|
57377
|
+
});
|
57378
|
+
}
|
57267
57379
|
selectClick(index, isSelected, event) {
|
57268
57380
|
const row = this.instance.datasource.data[index];
|
57269
57381
|
this.instance.selectRow(row, isSelected);
|
@@ -57343,7 +57455,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57343
57455
|
headers: _vm.instance.columns,
|
57344
57456
|
items: _vm.getData(),
|
57345
57457
|
search: _vm.instance.datasource.search,
|
57346
|
-
"show-select": _vm.instance.selectable,
|
57347
57458
|
dense: _vm.instance.dense,
|
57348
57459
|
dark: _vm.instance.dark,
|
57349
57460
|
light: _vm.instance.light,
|
@@ -57408,31 +57519,35 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57408
57519
|
_vm.instance.headerBackground,
|
57409
57520
|
},
|
57410
57521
|
[
|
57411
|
-
|
57412
|
-
|
57413
|
-
|
57414
|
-
|
57415
|
-
|
57416
|
-
|
57417
|
-
|
57418
|
-
|
57419
|
-
|
57420
|
-
|
57421
|
-
|
57422
|
-
|
57423
|
-
|
57424
|
-
|
57425
|
-
|
57426
|
-
|
57427
|
-
|
57428
|
-
|
57429
|
-
|
57430
|
-
|
57431
|
-
|
57432
|
-
|
57433
|
-
|
57434
|
-
|
57435
|
-
|
57522
|
+
_vm.instance.showSelectAll
|
57523
|
+
? _c("v-checkbox", {
|
57524
|
+
staticClass: "zd-grid-header-checkbox",
|
57525
|
+
attrs: {
|
57526
|
+
"hide-details": "",
|
57527
|
+
color: "primary",
|
57528
|
+
"on-icon": _vm.$getIcon("checkboxOn"),
|
57529
|
+
"off-icon": _vm.$getIcon("checkboxOff"),
|
57530
|
+
"indeterminate-icon": _vm.$getIcon(
|
57531
|
+
"checkboxIndeterminate"
|
57532
|
+
),
|
57533
|
+
"input-value": props.everyItem,
|
57534
|
+
indeterminate:
|
57535
|
+
!props.everyItem && props.someItems,
|
57536
|
+
},
|
57537
|
+
on: {
|
57538
|
+
click: function ($event) {
|
57539
|
+
$event.stopPropagation();
|
57540
|
+
on["toggle-select-all"](
|
57541
|
+
!props.everyItem
|
57542
|
+
);
|
57543
|
+
_vm.selectAllClick(
|
57544
|
+
!props.everyItem,
|
57545
|
+
$event
|
57546
|
+
);
|
57547
|
+
},
|
57548
|
+
},
|
57549
|
+
})
|
57550
|
+
: _vm._e(),
|
57436
57551
|
],
|
57437
57552
|
1
|
57438
57553
|
)
|
@@ -57747,11 +57862,16 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57747
57862
|
attrs: {
|
57748
57863
|
"hide-details": "",
|
57749
57864
|
color: "primary",
|
57865
|
+
disabled:
|
57866
|
+
_vm.instance.callDisableSelection(item),
|
57750
57867
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
57751
57868
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
57752
57869
|
"true-value": true,
|
57753
57870
|
"false-value": false,
|
57754
57871
|
"input-value": isSelected,
|
57872
|
+
indeterminate:
|
57873
|
+
!_vm.checkEvery(item) &&
|
57874
|
+
_vm.checkSome(item),
|
57755
57875
|
},
|
57756
57876
|
on: {
|
57757
57877
|
click: function ($event) {
|
@@ -58121,8 +58241,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58121
58241
|
/* style */
|
58122
58242
|
const __vue_inject_styles__$1 = function (inject) {
|
58123
58243
|
if (!inject) return
|
58124
|
-
inject("data-v-
|
58125
|
-
,inject("data-v-
|
58244
|
+
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 })
|
58245
|
+
,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 });
|
58126
58246
|
|
58127
58247
|
};
|
58128
58248
|
/* scoped */
|
@@ -58182,17 +58302,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58182
58302
|
}
|
58183
58303
|
return this.instance.getEditableComponent(column, row, cellProps, events);
|
58184
58304
|
}
|
58185
|
-
cellClick(row, column, event) {
|
58305
|
+
cellClick(row, column, event, canEdit = true) {
|
58186
58306
|
if (!this.instance.doubleClickEdit || !column.editable) {
|
58187
|
-
this.callCellClick(row, column, event);
|
58307
|
+
this.callCellClick(row, column, event, canEdit);
|
58188
58308
|
return;
|
58189
58309
|
}
|
58190
|
-
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event), event);
|
58310
|
+
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event, canEdit), event);
|
58191
58311
|
}
|
58192
|
-
callCellClick(row, column, event) {
|
58312
|
+
callCellClick(row, column, event, canEdit = true) {
|
58193
58313
|
const key = row[this.instance.datasource.uniqueKey];
|
58194
58314
|
this.inputToFocus = `column-${column.name}-${key}`;
|
58195
|
-
this.instance.cellClick(row, column, event, this.$el);
|
58315
|
+
this.instance.cellClick(row, column, event, this.$el, canEdit);
|
58196
58316
|
}
|
58197
58317
|
onMountedEvent({ element, component }) {
|
58198
58318
|
const input = element.getElementsByTagName('input')[0];
|
@@ -58293,6 +58413,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58293
58413
|
PropWatch({ type: [String, Boolean], default: false }),
|
58294
58414
|
__metadata("design:type", Object)
|
58295
58415
|
], ZdTreeGridEditable.prototype, "doubleClickEdit", void 0);
|
58416
|
+
__decorate([
|
58417
|
+
PropWatch({ type: [String, Function] }),
|
58418
|
+
__metadata("design:type", Object)
|
58419
|
+
], ZdTreeGridEditable.prototype, "canEditRow", void 0);
|
58296
58420
|
ZdTreeGridEditable = __decorate([
|
58297
58421
|
Component__default["default"]
|
58298
58422
|
], ZdTreeGridEditable);
|
@@ -58334,7 +58458,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58334
58458
|
headers: _vm.instance.columns,
|
58335
58459
|
items: _vm.getData(),
|
58336
58460
|
search: _vm.instance.datasource.search,
|
58337
|
-
"show-select": _vm.instance.selectable,
|
58338
58461
|
dense: _vm.instance.dense,
|
58339
58462
|
loading: _vm.instance.datasource.loading,
|
58340
58463
|
"item-key": _vm.instance.datasource.uniqueKey,
|
@@ -58343,6 +58466,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58343
58466
|
"disable-sort": "",
|
58344
58467
|
"disable-filtering": "",
|
58345
58468
|
tabindex: "0",
|
58469
|
+
set: (_vm.canEditRowValues = {}),
|
58346
58470
|
},
|
58347
58471
|
on: {
|
58348
58472
|
"current-items": function ($event) {
|
@@ -58726,6 +58850,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58726
58850
|
active: isSelected,
|
58727
58851
|
current: _vm.isCurrentRow(item),
|
58728
58852
|
},
|
58853
|
+
attrs: {
|
58854
|
+
set: (_vm.canEditRowValues[_vm.rowKey(item)] =
|
58855
|
+
_vm.instance.callCanEditRow(item)),
|
58856
|
+
},
|
58729
58857
|
on: {
|
58730
58858
|
click: function ($event) {
|
58731
58859
|
return _vm.rowClick(item, $event)
|
@@ -58743,12 +58871,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58743
58871
|
attrs: {
|
58744
58872
|
"hide-details": "",
|
58745
58873
|
color: "primary",
|
58746
|
-
disabled:
|
58874
|
+
disabled:
|
58875
|
+
_vm.instance.editing ||
|
58876
|
+
_vm.instance.callDisableSelection(item),
|
58747
58877
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
58748
58878
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
58749
58879
|
"true-value": true,
|
58750
58880
|
"false-value": false,
|
58751
58881
|
value: isSelected,
|
58882
|
+
indeterminate:
|
58883
|
+
!_vm.checkEvery(item) &&
|
58884
|
+
_vm.checkSome(item),
|
58752
58885
|
},
|
58753
58886
|
on: {
|
58754
58887
|
click: function ($event) {
|
@@ -58807,7 +58940,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58807
58940
|
{},
|
58808
58941
|
column,
|
58809
58942
|
cellProps
|
58810
|
-
).editable
|
58943
|
+
).editable &&
|
58944
|
+
_vm.canEditRowValues[
|
58945
|
+
_vm.rowKey(item)
|
58946
|
+
],
|
58811
58947
|
},
|
58812
58948
|
],
|
58813
58949
|
style: [
|
@@ -58818,11 +58954,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58818
58954
|
],
|
58819
58955
|
on: {
|
58820
58956
|
click: function ($event) {
|
58821
|
-
|
58957
|
+
_vm.cellClick(
|
58822
58958
|
item,
|
58823
58959
|
column,
|
58824
|
-
$event
|
58825
|
-
|
58960
|
+
$event,
|
58961
|
+
_vm.canEditRowValues[
|
58962
|
+
_vm.rowKey(item)
|
58963
|
+
]
|
58964
|
+
);
|
58826
58965
|
},
|
58827
58966
|
},
|
58828
58967
|
},
|
@@ -58839,7 +58978,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58839
58978
|
: _vm._e(),
|
58840
58979
|
_vm._v(" "),
|
58841
58980
|
Object.assign({}, column, cellProps)
|
58842
|
-
.editable &&
|
58981
|
+
.editable &&
|
58982
|
+
_vm.canEditRowValues[
|
58983
|
+
_vm.rowKey(item)
|
58984
|
+
] &&
|
58985
|
+
_vm.instance.editing
|
58843
58986
|
? _c(
|
58844
58987
|
"span",
|
58845
58988
|
{
|
@@ -59284,8 +59427,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
59284
59427
|
/* style */
|
59285
59428
|
const __vue_inject_styles__ = function (inject) {
|
59286
59429
|
if (!inject) return
|
59287
|
-
inject("data-v-
|
59288
|
-
,inject("data-v-
|
59430
|
+
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 })
|
59431
|
+
,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 });
|
59289
59432
|
|
59290
59433
|
};
|
59291
59434
|
/* scoped */
|