@zeedhi/vuetify 1.51.0 → 1.54.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 +211 -128
- package/dist/zd-vuetify.umd.js +211 -128
- package/package.json +2 -2
- package/types/components/zd-container/ZdContainer.d.ts +1 -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/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
|
};
|
@@ -41097,6 +41105,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41097
41105
|
PropWatch({ type: [Boolean, String], default: true }),
|
41098
41106
|
__metadata("design:type", Boolean)
|
41099
41107
|
], ZdContainer.prototype, "fluid", void 0);
|
41108
|
+
__decorate([
|
41109
|
+
PropWatch({ type: [Boolean, String], default: false }),
|
41110
|
+
__metadata("design:type", Boolean)
|
41111
|
+
], ZdContainer.prototype, "scrollView", void 0);
|
41100
41112
|
__decorate([
|
41101
41113
|
PropWatch({ type: [Boolean, String], default: false }),
|
41102
41114
|
__metadata("design:type", Boolean)
|
@@ -41148,6 +41160,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41148
41160
|
height: _vm.$formatSize(_vm.instance.height),
|
41149
41161
|
minHeight: _vm.$formatSize(_vm.instance.minHeight),
|
41150
41162
|
maxHeight: _vm.$formatSize(_vm.instance.maxHeight),
|
41163
|
+
overflow: _vm.instance.scrollView ? "hidden auto" : "none",
|
41151
41164
|
},
|
41152
41165
|
_vm.$styleObject(_vm.instance.cssStyle)
|
41153
41166
|
),
|
@@ -41189,11 +41202,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
41189
41202
|
/* style */
|
41190
41203
|
const __vue_inject_styles__$19 = function (inject) {
|
41191
41204
|
if (!inject) return
|
41192
|
-
inject("data-v-
|
41205
|
+
inject("data-v-a056e4b6_0", { source: ".zd-container[data-v-a056e4b6] {\n padding: var(--zd-default-padding);\n}", map: undefined, media: undefined });
|
41193
41206
|
|
41194
41207
|
};
|
41195
41208
|
/* scoped */
|
41196
|
-
const __vue_scope_id__$19 = "data-v-
|
41209
|
+
const __vue_scope_id__$19 = "data-v-a056e4b6";
|
41197
41210
|
/* module identifier */
|
41198
41211
|
const __vue_module_identifier__$19 = undefined;
|
41199
41212
|
/* functional template */
|
@@ -43008,6 +43021,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43008
43021
|
return _c(
|
43009
43022
|
"v-dialog",
|
43010
43023
|
{
|
43024
|
+
key: "" + _vm.dialog.name + _vm.dialog.isVisible,
|
43011
43025
|
attrs: {
|
43012
43026
|
id: _vm.dialog.name,
|
43013
43027
|
"max-width": _vm.dialog.maxWidth,
|
@@ -43102,7 +43116,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
43102
43116
|
/* style */
|
43103
43117
|
const __vue_inject_styles__$12 = function (inject) {
|
43104
43118
|
if (!inject) return
|
43105
|
-
inject("data-v-
|
43119
|
+
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 });
|
43106
43120
|
|
43107
43121
|
};
|
43108
43122
|
/* scoped */
|
@@ -44760,10 +44774,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
44760
44774
|
setViewGetWidth() {
|
44761
44775
|
this.instance.columns.forEach((column) => {
|
44762
44776
|
column.setViewGetWidth(() => {
|
44763
|
-
|
44764
|
-
if (this.instance.selectable) {
|
44765
|
-
index += 1;
|
44766
|
-
}
|
44777
|
+
const index = this.instance.columns.findIndex((col) => col.name === column.name);
|
44767
44778
|
const el = this.$el;
|
44768
44779
|
const colEl = el.querySelector(`.zd-grid-table-header .zd-table-cell[index='${index}']`);
|
44769
44780
|
return (colEl === null || colEl === void 0 ? void 0 : colEl.clientWidth) || 0;
|
@@ -45974,17 +45985,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
45974
45985
|
}
|
45975
45986
|
return this.instance.getEditableComponent(column, row, cellProps, events);
|
45976
45987
|
}
|
45977
|
-
cellClick(row, column, event) {
|
45988
|
+
cellClick(row, column, event, canEdit = true) {
|
45978
45989
|
if (!this.instance.doubleClickEdit || !column.editable) {
|
45979
|
-
this.callCellClick(row, column, event);
|
45990
|
+
this.callCellClick(row, column, event, canEdit);
|
45980
45991
|
return;
|
45981
45992
|
}
|
45982
|
-
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event), event);
|
45993
|
+
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event, canEdit), event);
|
45983
45994
|
}
|
45984
|
-
callCellClick(row, column, event) {
|
45995
|
+
callCellClick(row, column, event, canEdit = true) {
|
45985
45996
|
const key = row[this.instance.datasource.uniqueKey];
|
45986
45997
|
this.inputToFocus = `column-${column.name}-${key}`;
|
45987
|
-
this.instance.cellClick(row, column, event, this.$el);
|
45998
|
+
this.instance.cellClick(row, column, event, this.$el, canEdit);
|
45988
45999
|
}
|
45989
46000
|
onMountedEvent({ element, component }) {
|
45990
46001
|
const input = element.getElementsByTagName('input')[0];
|
@@ -46086,6 +46097,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46086
46097
|
PropWatch({ type: [String, Boolean], default: false }),
|
46087
46098
|
__metadata("design:type", Object)
|
46088
46099
|
], ZdGridEditable.prototype, "doubleClickEdit", void 0);
|
46100
|
+
__decorate([
|
46101
|
+
PropWatch({ type: [String, Function], default: undefined }),
|
46102
|
+
__metadata("design:type", Object)
|
46103
|
+
], ZdGridEditable.prototype, "canEditRow", void 0);
|
46089
46104
|
ZdGridEditable = __decorate([
|
46090
46105
|
Component__default["default"]
|
46091
46106
|
], ZdGridEditable);
|
@@ -46135,6 +46150,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46135
46150
|
"disable-sort": "",
|
46136
46151
|
"disable-filtering": "",
|
46137
46152
|
tabindex: "0",
|
46153
|
+
set: (_vm.canEditRowValues = {}),
|
46138
46154
|
},
|
46139
46155
|
on: {
|
46140
46156
|
"current-items": function ($event) {
|
@@ -46566,6 +46582,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46566
46582
|
active: isSelected,
|
46567
46583
|
current: _vm.isCurrentRow(item),
|
46568
46584
|
},
|
46585
|
+
attrs: {
|
46586
|
+
set: (_vm.canEditRowValues[_vm.rowKey(item)] =
|
46587
|
+
_vm.instance.callCanEditRow(item)),
|
46588
|
+
},
|
46569
46589
|
on: {
|
46570
46590
|
click: function ($event) {
|
46571
46591
|
return _vm.rowClick(item, $event)
|
@@ -46641,7 +46661,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46641
46661
|
{},
|
46642
46662
|
column,
|
46643
46663
|
cellProps
|
46644
|
-
).editable
|
46664
|
+
).editable &&
|
46665
|
+
_vm.canEditRowValues[
|
46666
|
+
_vm.rowKey(item)
|
46667
|
+
],
|
46645
46668
|
},
|
46646
46669
|
],
|
46647
46670
|
style: [
|
@@ -46652,11 +46675,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46652
46675
|
],
|
46653
46676
|
on: {
|
46654
46677
|
click: function ($event) {
|
46655
|
-
|
46678
|
+
_vm.cellClick(
|
46656
46679
|
item,
|
46657
46680
|
column,
|
46658
|
-
$event
|
46659
|
-
|
46681
|
+
$event,
|
46682
|
+
_vm.canEditRowValues[
|
46683
|
+
_vm.rowKey(item)
|
46684
|
+
]
|
46685
|
+
);
|
46660
46686
|
},
|
46661
46687
|
},
|
46662
46688
|
},
|
@@ -46673,7 +46699,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
46673
46699
|
: _vm._e(),
|
46674
46700
|
_vm._v(" "),
|
46675
46701
|
Object.assign({}, column, cellProps)
|
46676
|
-
.editable &&
|
46702
|
+
.editable &&
|
46703
|
+
_vm.canEditRowValues[
|
46704
|
+
_vm.rowKey(item)
|
46705
|
+
] &&
|
46706
|
+
_vm.instance.editing
|
46677
46707
|
? _c(
|
46678
46708
|
"span",
|
46679
46709
|
{
|
@@ -47042,8 +47072,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
47042
47072
|
/* style */
|
47043
47073
|
const __vue_inject_styles__$V = function (inject) {
|
47044
47074
|
if (!inject) return
|
47045
|
-
inject("data-v-
|
47046
|
-
,inject("data-v-
|
47075
|
+
inject("data-v-2729c3cf_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}\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--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
|
47076
|
+
,inject("data-v-2729c3cf_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 });
|
47047
47077
|
|
47048
47078
|
};
|
47049
47079
|
/* scoped */
|
@@ -48696,6 +48726,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
48696
48726
|
this.instance.selectInput(value, undefined, this.$el);
|
48697
48727
|
}
|
48698
48728
|
selectBlur(event) {
|
48729
|
+
if (this.$el.contains(document.activeElement))
|
48730
|
+
return;
|
48699
48731
|
this.blur(event);
|
48700
48732
|
}
|
48701
48733
|
selectFocus(event) {
|
@@ -53056,6 +53088,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
53056
53088
|
}
|
53057
53089
|
}
|
53058
53090
|
selectBlur(event) {
|
53091
|
+
if (this.$el.contains(document.activeElement))
|
53092
|
+
return;
|
53059
53093
|
if (this.rows !== 1) {
|
53060
53094
|
this.rows = 1;
|
53061
53095
|
this.calcDisplay();
|
@@ -56041,7 +56075,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56041
56075
|
}
|
56042
56076
|
onChangeTimePicker() {
|
56043
56077
|
const textInput = this.$refs.instance.$children[0];
|
56044
|
-
textInput.validate(false
|
56078
|
+
textInput.validate(false);
|
56045
56079
|
}
|
56046
56080
|
mounted() {
|
56047
56081
|
const textInput = this.$refs.instance.$children[0].$el.getElementsByTagName('input')[0];
|
@@ -56104,15 +56138,6 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56104
56138
|
}
|
56105
56139
|
return formatted;
|
56106
56140
|
}
|
56107
|
-
set pickerValue(value) {
|
56108
|
-
this.instance.value = this.convert(value, false);
|
56109
|
-
}
|
56110
|
-
get pickerValue() {
|
56111
|
-
if (!this.instance.isFullyValid())
|
56112
|
-
return null;
|
56113
|
-
const { value } = this.instance;
|
56114
|
-
return this.convert(value);
|
56115
|
-
}
|
56116
56141
|
get pickerMinTime() {
|
56117
56142
|
return this.convert(this.instance.minTime);
|
56118
56143
|
}
|
@@ -56122,6 +56147,9 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56122
56147
|
onPickerMousedown(event) {
|
56123
56148
|
event.preventDefault();
|
56124
56149
|
}
|
56150
|
+
onSelectTime(time, event) {
|
56151
|
+
this.instance.selectTime(time, event, this.$el);
|
56152
|
+
}
|
56125
56153
|
pickerMounted() {
|
56126
56154
|
const picker = this.$refs.picker.$el;
|
56127
56155
|
picker.addEventListener('mousedown', this.onPickerMousedown);
|
@@ -56130,6 +56158,27 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56130
56158
|
const picker = this.$refs.picker.$el;
|
56131
56159
|
picker.removeEventListener('mousedown', this.onPickerMousedown);
|
56132
56160
|
}
|
56161
|
+
toMask(format) {
|
56162
|
+
const newMask = format.replace(/[B-Zb-z]/gi, '#').split('').map((char) => {
|
56163
|
+
if (char === 'A' || char === 'a') {
|
56164
|
+
return /[AapP]/;
|
56165
|
+
}
|
56166
|
+
if (char === '#') {
|
56167
|
+
return /\d/;
|
56168
|
+
}
|
56169
|
+
return char;
|
56170
|
+
});
|
56171
|
+
if (format.includes('a') || format.includes('A')) {
|
56172
|
+
newMask.push(/[mM]/);
|
56173
|
+
}
|
56174
|
+
return newMask;
|
56175
|
+
}
|
56176
|
+
get getTimeMask() {
|
56177
|
+
if (this.instance.isFocused) {
|
56178
|
+
return this.toMask(this.instance.inputFormat || this.instance.displayFormat || '');
|
56179
|
+
}
|
56180
|
+
return '';
|
56181
|
+
}
|
56133
56182
|
};
|
56134
56183
|
__decorate([
|
56135
56184
|
PropWatch({ type: [Array, String], default: undefined }),
|
@@ -56180,7 +56229,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56180
56229
|
__metadata("design:type", Boolean)
|
56181
56230
|
], ZdTime.prototype, "useSeconds", void 0);
|
56182
56231
|
__decorate([
|
56183
|
-
PropWatch({ type:
|
56232
|
+
PropWatch({ type: String, default: undefined }),
|
56184
56233
|
__metadata("design:type", Object)
|
56185
56234
|
], ZdTime.prototype, "mask", void 0);
|
56186
56235
|
__decorate([
|
@@ -56188,7 +56237,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56188
56237
|
__metadata("design:type", String)
|
56189
56238
|
], ZdTime.prototype, "valueFormat", void 0);
|
56190
56239
|
__decorate([
|
56191
|
-
PropWatch({ type:
|
56240
|
+
PropWatch({ type: String }),
|
56241
|
+
__metadata("design:type", Object)
|
56242
|
+
], ZdTime.prototype, "inputFormat", void 0);
|
56243
|
+
__decorate([
|
56244
|
+
PropWatch({ type: String }),
|
56192
56245
|
__metadata("design:type", String)
|
56193
56246
|
], ZdTime.prototype, "displayFormat", void 0);
|
56194
56247
|
ZdTime = __decorate([
|
@@ -56244,6 +56297,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56244
56297
|
ref: "instance",
|
56245
56298
|
attrs: {
|
56246
56299
|
name: _vm.instance.name + "_text-input",
|
56300
|
+
mask: _vm.getTimeMask,
|
56247
56301
|
"instance-object": _vm.instance,
|
56248
56302
|
events: _vm.getEvents(on),
|
56249
56303
|
autofill: false,
|
@@ -56256,7 +56310,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56256
56310
|
],
|
56257
56311
|
null,
|
56258
56312
|
false,
|
56259
|
-
|
56313
|
+
229268027
|
56260
56314
|
),
|
56261
56315
|
model: {
|
56262
56316
|
value: _vm.instance.showTimePicker,
|
@@ -56290,21 +56344,21 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56290
56344
|
name: _vm.instance.name,
|
56291
56345
|
dark: _vm.instance.dark,
|
56292
56346
|
light: _vm.instance.light,
|
56293
|
-
value: _vm.pickerValue,
|
56294
56347
|
},
|
56295
56348
|
on: {
|
56296
56349
|
"hook:mounted": _vm.pickerMounted,
|
56297
56350
|
"hook:destroyed": _vm.pickerDestroyed,
|
56351
|
+
"click:time": _vm.onSelectTime,
|
56298
56352
|
change: function ($event) {
|
56299
56353
|
return _vm.onChangeTimePicker()
|
56300
56354
|
},
|
56301
56355
|
},
|
56302
56356
|
model: {
|
56303
|
-
value: _vm.
|
56357
|
+
value: _vm.instance.isoValue,
|
56304
56358
|
callback: function ($$v) {
|
56305
|
-
_vm.
|
56359
|
+
_vm.$set(_vm.instance, "isoValue", $$v);
|
56306
56360
|
},
|
56307
|
-
expression: "
|
56361
|
+
expression: "instance.isoValue",
|
56308
56362
|
},
|
56309
56363
|
},
|
56310
56364
|
"v-time-picker",
|
@@ -56330,7 +56384,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56330
56384
|
name: _vm.instance.name + "_text-input",
|
56331
56385
|
"instance-object": _vm.instance,
|
56332
56386
|
autofill: false,
|
56333
|
-
type: "
|
56387
|
+
type: "text",
|
56334
56388
|
mask: "",
|
56335
56389
|
},
|
56336
56390
|
}),
|
@@ -56345,7 +56399,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56345
56399
|
/* style */
|
56346
56400
|
const __vue_inject_styles__$6 = function (inject) {
|
56347
56401
|
if (!inject) return
|
56348
|
-
inject("data-v-
|
56402
|
+
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 });
|
56349
56403
|
|
56350
56404
|
};
|
56351
56405
|
/* scoped */
|
@@ -56591,6 +56645,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56591
56645
|
vuePropertyDecorator.Prop({ type: [String], default: 'checked' }),
|
56592
56646
|
__metadata("design:type", String)
|
56593
56647
|
], ZdTreeCheckbox.prototype, "checkedField", void 0);
|
56648
|
+
__decorate([
|
56649
|
+
vuePropertyDecorator.Prop({ type: [Boolean], default: false }),
|
56650
|
+
__metadata("design:type", Boolean)
|
56651
|
+
], ZdTreeCheckbox.prototype, "disabled", void 0);
|
56594
56652
|
__decorate([
|
56595
56653
|
vuePropertyDecorator.Watch('childrenCheck'),
|
56596
56654
|
__metadata("design:type", Function),
|
@@ -56614,6 +56672,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56614
56672
|
staticClass: "zd-tree-checkbox",
|
56615
56673
|
attrs: {
|
56616
56674
|
"hide-details": "",
|
56675
|
+
disabled: _vm.disabled,
|
56617
56676
|
ripple: false,
|
56618
56677
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
56619
56678
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
@@ -56623,7 +56682,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56623
56682
|
},
|
56624
56683
|
on: {
|
56625
56684
|
click: function ($event) {
|
56626
|
-
|
56685
|
+
_vm.disabled || _vm.click($event);
|
56627
56686
|
},
|
56628
56687
|
},
|
56629
56688
|
model: {
|
@@ -56641,7 +56700,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56641
56700
|
/* style */
|
56642
56701
|
const __vue_inject_styles__$4 = function (inject) {
|
56643
56702
|
if (!inject) return
|
56644
|
-
inject("data-v-
|
56703
|
+
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 });
|
56645
56704
|
|
56646
56705
|
};
|
56647
56706
|
/* scoped */
|
@@ -56906,6 +56965,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
56906
56965
|
vuePropertyDecorator.Prop({ type: [String, Number, Boolean], default: false }),
|
56907
56966
|
__metadata("design:type", Object)
|
56908
56967
|
], ZdTree.prototype, "openLevelOnLoad", void 0);
|
56968
|
+
__decorate([
|
56969
|
+
vuePropertyDecorator.Prop({ type: [String, Function], default: undefined }),
|
56970
|
+
__metadata("design:type", Function)
|
56971
|
+
], ZdTree.prototype, "disableCheckbox", void 0);
|
56909
56972
|
__decorate([
|
56910
56973
|
vuePropertyDecorator.Watch('instance.datasource.data.length'),
|
56911
56974
|
__metadata("design:type", Function),
|
@@ -57000,6 +57063,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57000
57063
|
_vm.instance.checkbox
|
57001
57064
|
? _c("zd-tree-checkbox", {
|
57002
57065
|
attrs: {
|
57066
|
+
disabled: _vm.instance.callDisableCheckbox(node),
|
57003
57067
|
node: _vm.instanceNode(node),
|
57004
57068
|
checkedField: _vm.instance.checkedField,
|
57005
57069
|
},
|
@@ -57214,7 +57278,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
57214
57278
|
/* style */
|
57215
57279
|
const __vue_inject_styles__$2 = function (inject) {
|
57216
57280
|
if (!inject) return
|
57217
|
-
inject("data-v-
|
57281
|
+
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 });
|
57218
57282
|
|
57219
57283
|
};
|
57220
57284
|
/* scoped */
|
@@ -58180,17 +58244,17 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58180
58244
|
}
|
58181
58245
|
return this.instance.getEditableComponent(column, row, cellProps, events);
|
58182
58246
|
}
|
58183
|
-
cellClick(row, column, event) {
|
58247
|
+
cellClick(row, column, event, canEdit = true) {
|
58184
58248
|
if (!this.instance.doubleClickEdit || !column.editable) {
|
58185
|
-
this.callCellClick(row, column, event);
|
58249
|
+
this.callCellClick(row, column, event, canEdit);
|
58186
58250
|
return;
|
58187
58251
|
}
|
58188
|
-
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event), event);
|
58252
|
+
this.$doubleClick(() => this.instance.cellClickEvent(row, column, event, this.$el), () => this.callCellClick(row, column, event, canEdit), event);
|
58189
58253
|
}
|
58190
|
-
callCellClick(row, column, event) {
|
58254
|
+
callCellClick(row, column, event, canEdit = true) {
|
58191
58255
|
const key = row[this.instance.datasource.uniqueKey];
|
58192
58256
|
this.inputToFocus = `column-${column.name}-${key}`;
|
58193
|
-
this.instance.cellClick(row, column, event, this.$el);
|
58257
|
+
this.instance.cellClick(row, column, event, this.$el, canEdit);
|
58194
58258
|
}
|
58195
58259
|
onMountedEvent({ element, component }) {
|
58196
58260
|
const input = element.getElementsByTagName('input')[0];
|
@@ -58291,6 +58355,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58291
58355
|
PropWatch({ type: [String, Boolean], default: false }),
|
58292
58356
|
__metadata("design:type", Object)
|
58293
58357
|
], ZdTreeGridEditable.prototype, "doubleClickEdit", void 0);
|
58358
|
+
__decorate([
|
58359
|
+
PropWatch({ type: [String, Function] }),
|
58360
|
+
__metadata("design:type", Object)
|
58361
|
+
], ZdTreeGridEditable.prototype, "canEditRow", void 0);
|
58294
58362
|
ZdTreeGridEditable = __decorate([
|
58295
58363
|
Component__default["default"]
|
58296
58364
|
], ZdTreeGridEditable);
|
@@ -58341,6 +58409,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58341
58409
|
"disable-sort": "",
|
58342
58410
|
"disable-filtering": "",
|
58343
58411
|
tabindex: "0",
|
58412
|
+
set: (_vm.canEditRowValues = {}),
|
58344
58413
|
},
|
58345
58414
|
on: {
|
58346
58415
|
"current-items": function ($event) {
|
@@ -58724,6 +58793,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58724
58793
|
active: isSelected,
|
58725
58794
|
current: _vm.isCurrentRow(item),
|
58726
58795
|
},
|
58796
|
+
attrs: {
|
58797
|
+
set: (_vm.canEditRowValues[_vm.rowKey(item)] =
|
58798
|
+
_vm.instance.callCanEditRow(item)),
|
58799
|
+
},
|
58727
58800
|
on: {
|
58728
58801
|
click: function ($event) {
|
58729
58802
|
return _vm.rowClick(item, $event)
|
@@ -58805,7 +58878,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58805
58878
|
{},
|
58806
58879
|
column,
|
58807
58880
|
cellProps
|
58808
|
-
).editable
|
58881
|
+
).editable &&
|
58882
|
+
_vm.canEditRowValues[
|
58883
|
+
_vm.rowKey(item)
|
58884
|
+
],
|
58809
58885
|
},
|
58810
58886
|
],
|
58811
58887
|
style: [
|
@@ -58816,11 +58892,14 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58816
58892
|
],
|
58817
58893
|
on: {
|
58818
58894
|
click: function ($event) {
|
58819
|
-
|
58895
|
+
_vm.cellClick(
|
58820
58896
|
item,
|
58821
58897
|
column,
|
58822
|
-
$event
|
58823
|
-
|
58898
|
+
$event,
|
58899
|
+
_vm.canEditRowValues[
|
58900
|
+
_vm.rowKey(item)
|
58901
|
+
]
|
58902
|
+
);
|
58824
58903
|
},
|
58825
58904
|
},
|
58826
58905
|
},
|
@@ -58837,7 +58916,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
58837
58916
|
: _vm._e(),
|
58838
58917
|
_vm._v(" "),
|
58839
58918
|
Object.assign({}, column, cellProps)
|
58840
|
-
.editable &&
|
58919
|
+
.editable &&
|
58920
|
+
_vm.canEditRowValues[
|
58921
|
+
_vm.rowKey(item)
|
58922
|
+
] &&
|
58923
|
+
_vm.instance.editing
|
58841
58924
|
? _c(
|
58842
58925
|
"span",
|
58843
58926
|
{
|
@@ -59282,8 +59365,8 @@ If you're seeing "$attrs is readonly", it's caused by this`);
|
|
59282
59365
|
/* style */
|
59283
59366
|
const __vue_inject_styles__ = function (inject) {
|
59284
59367
|
if (!inject) return
|
59285
|
-
inject("data-v-
|
59286
|
-
,inject("data-v-
|
59368
|
+
inject("data-v-31d61cb7_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}\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--mobile > .v-data-table__wrapper tbody {\n display: contents;\n flex-direction: column;\n}", map: undefined, media: undefined })
|
59369
|
+
,inject("data-v-31d61cb7_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 });
|
59287
59370
|
|
59288
59371
|
};
|
59289
59372
|
/* scoped */
|