@zeedhi/vuetify 1.52.0 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/zd-vuetify.esm.js +361 -222
- package/dist/zd-vuetify.umd.js +361 -222
- package/package.json +2 -2
- package/types/components/zd-dashboard/ZdDashboard.d.ts +2 -1
- package/types/components/zd-grid/ZdGrid.d.ts +2 -0
- package/types/components/zd-grid/ZdGridEditable.d.ts +3 -2
- package/types/components/zd-time/ZdTime.d.ts +5 -3
- package/types/components/zd-tree/ZdTree.d.ts +1 -0
- package/types/components/zd-tree/ZdTreeCheckbox.d.ts +1 -0
- package/types/components/zd-tree-grid/ZdTreeGrid.d.ts +5 -2
- package/types/components/zd-tree-grid/ZdTreeGridEditable.d.ts +3 -2
package/dist/zd-vuetify.esm.js
CHANGED
@@ -958,7 +958,7 @@ function searchItems(items, search) {
|
|
958
958
|
if (!search) return items;
|
959
959
|
search = search.toString().toLowerCase();
|
960
960
|
if (search.trim() === '') return items;
|
961
|
-
return items.filter(item => Object.keys(item).some(key => defaultFilter(getObjectValueByPath(item, key), search
|
961
|
+
return items.filter(item => Object.keys(item).some(key => defaultFilter(getObjectValueByPath(item, key), search)));
|
962
962
|
}
|
963
963
|
/**
|
964
964
|
* Returns:
|
@@ -1010,10 +1010,10 @@ function getSlot(vm, name = 'default', data, optional = false) {
|
|
1010
1010
|
function clamp(value, min = 0, max = 1) {
|
1011
1011
|
return Math.max(min, Math.min(max, value));
|
1012
1012
|
}
|
1013
|
-
function padEnd(str, length, char) {
|
1013
|
+
function padEnd(str, length, char = '0') {
|
1014
1014
|
return str + char.repeat(Math.max(0, length - str.length));
|
1015
1015
|
}
|
1016
|
-
function chunk(str, size) {
|
1016
|
+
function chunk(str, size = 1) {
|
1017
1017
|
const chunked = [];
|
1018
1018
|
let index = 0;
|
1019
1019
|
|
@@ -1315,7 +1315,7 @@ Icons.property = 'icons';
|
|
1315
1315
|
const LANG_PREFIX = '$vuetify.';
|
1316
1316
|
const fallback = Symbol('Lang fallback');
|
1317
1317
|
|
1318
|
-
function getTranslation(locale, key, usingDefault, defaultLocale) {
|
1318
|
+
function getTranslation(locale, key, usingDefault = false, defaultLocale) {
|
1319
1319
|
const shortKey = key.replace(LANG_PREFIX, '');
|
1320
1320
|
let translation = getObjectValueByPath(locale, shortKey, fallback);
|
1321
1321
|
|
@@ -2221,7 +2221,7 @@ class Vuetify {
|
|
2221
2221
|
}
|
2222
2222
|
Vuetify.install = install$1;
|
2223
2223
|
Vuetify.installed = false;
|
2224
|
-
Vuetify.version = "2.6.
|
2224
|
+
Vuetify.version = "2.6.7";
|
2225
2225
|
Vuetify.config = {
|
2226
2226
|
silent: false
|
2227
2227
|
};
|
@@ -3255,7 +3255,7 @@ let all = factory().extend({
|
|
3255
3255
|
})
|
3256
3256
|
/**/
|
3257
3257
|
|
3258
|
-
function applicationable(value, events) {
|
3258
|
+
function applicationable(value, events = []) {
|
3259
3259
|
/* @vue/component */
|
3260
3260
|
return mixins(factory$3(['absolute', 'fixed'])).extend({
|
3261
3261
|
name: 'applicationable',
|
@@ -7539,9 +7539,11 @@ var VListItem = baseMixins$p.extend().extend({
|
|
7539
7539
|
};
|
7540
7540
|
data[this.to ? 'nativeOn' : 'on'] = { ...data[this.to ? 'nativeOn' : 'on'],
|
7541
7541
|
keydown: e => {
|
7542
|
-
|
7543
|
-
|
7544
|
-
|
7542
|
+
if (!this.disabled) {
|
7543
|
+
/* istanbul ignore else */
|
7544
|
+
if (e.keyCode === keyCodes.enter) this.click(e);
|
7545
|
+
this.$emit('keydown', e);
|
7546
|
+
}
|
7545
7547
|
}
|
7546
7548
|
};
|
7547
7549
|
if (this.inactive) tag = 'div';
|
@@ -9982,7 +9984,9 @@ var VSelect = baseMixins$j.extend().extend({
|
|
9982
9984
|
},
|
9983
9985
|
|
9984
9986
|
computedCounterValue() {
|
9985
|
-
|
9987
|
+
var _this$getText;
|
9988
|
+
|
9989
|
+
const value = this.multiple ? this.selectedItems : ((_this$getText = this.getText(this.selectedItems[0])) != null ? _this$getText : '').toString();
|
9986
9990
|
|
9987
9991
|
if (typeof this.counterValue === 'function') {
|
9988
9992
|
return this.counterValue(value);
|
@@ -10459,7 +10463,9 @@ var VSelect = baseMixins$j.extend().extend({
|
|
10459
10463
|
this.keyboardLookupPrefix += e.key.toLowerCase();
|
10460
10464
|
this.keyboardLookupLastTime = now;
|
10461
10465
|
const index = this.allItems.findIndex(item => {
|
10462
|
-
|
10466
|
+
var _this$getText2;
|
10467
|
+
|
10468
|
+
const text = ((_this$getText2 = this.getText(item)) != null ? _this$getText2 : '').toString();
|
10463
10469
|
return text.toLowerCase().startsWith(this.keyboardLookupPrefix);
|
10464
10470
|
});
|
10465
10471
|
const item = this.allItems[index];
|
@@ -11976,9 +11982,13 @@ var VDialog = baseMixins$i.extend({
|
|
11976
11982
|
|
11977
11983
|
this.$nextTick(() => {
|
11978
11984
|
this.$nextTick(() => {
|
11979
|
-
|
11985
|
+
var _this$$refs$dialog;
|
11986
|
+
|
11987
|
+
if (!((_this$$refs$dialog = this.$refs.dialog) != null && _this$$refs$dialog.contains(document.activeElement))) {
|
11988
|
+
var _this$$refs$dialog2;
|
11989
|
+
|
11980
11990
|
this.previousActiveElement = document.activeElement;
|
11981
|
-
this.$refs.
|
11991
|
+
(_this$$refs$dialog2 = this.$refs.dialog) == null ? void 0 : _this$$refs$dialog2.focus();
|
11982
11992
|
}
|
11983
11993
|
|
11984
11994
|
this.bind();
|
@@ -12024,14 +12034,14 @@ var VDialog = baseMixins$i.extend({
|
|
12024
12034
|
if (!e || !this.retainFocus) return;
|
12025
12035
|
const target = e.target;
|
12026
12036
|
|
12027
|
-
if (!!target && // It isn't the document or the dialog body
|
12028
|
-
![document, this.$refs.
|
12029
|
-
!this.$refs.
|
12037
|
+
if (!!target && this.$refs.dialog && // It isn't the document or the dialog body
|
12038
|
+
![document, this.$refs.dialog].includes(target) && // It isn't inside the dialog body
|
12039
|
+
!this.$refs.dialog.contains(target) && // We're the topmost dialog
|
12030
12040
|
this.activeZIndex >= this.getMaxZIndex() && // It isn't inside a dependent element (like a menu)
|
12031
12041
|
!this.getOpenDependentElements().some(el => el.contains(target)) // So we must have focused something outside the dialog and its children
|
12032
12042
|
) {
|
12033
12043
|
// Find and focus the first available element inside the dialog
|
12034
|
-
const focusable = this.$refs.
|
12044
|
+
const focusable = this.$refs.dialog.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
12035
12045
|
const el = [...focusable].find(el => !el.hasAttribute('disabled'));
|
12036
12046
|
el && el.focus();
|
12037
12047
|
}
|
@@ -12048,7 +12058,6 @@ var VDialog = baseMixins$i.extend({
|
|
12048
12058
|
class: this.contentClasses,
|
12049
12059
|
attrs: {
|
12050
12060
|
role: 'dialog',
|
12051
|
-
tabindex: this.isActive ? 0 : undefined,
|
12052
12061
|
'aria-modal': this.hideOverlay ? undefined : 'true',
|
12053
12062
|
...this.getScopeIdAttrs()
|
12054
12063
|
},
|
@@ -12077,6 +12086,9 @@ var VDialog = baseMixins$i.extend({
|
|
12077
12086
|
genInnerContent() {
|
12078
12087
|
const data = {
|
12079
12088
|
class: this.classes,
|
12089
|
+
attrs: {
|
12090
|
+
tabindex: this.isActive ? 0 : undefined
|
12091
|
+
},
|
12080
12092
|
ref: 'dialog',
|
12081
12093
|
directives: [{
|
12082
12094
|
name: 'click-outside',
|
@@ -12407,7 +12419,7 @@ var Mouse = Vue.extend({
|
|
12407
12419
|
}
|
12408
12420
|
});
|
12409
12421
|
|
12410
|
-
function createUTCDate(year, month, day = 1) {
|
12422
|
+
function createUTCDate(year, month = 0, day = 1) {
|
12411
12423
|
let date;
|
12412
12424
|
|
12413
12425
|
if (year < 100 && year >= 0) {
|
@@ -16445,7 +16457,6 @@ const BaseSlideGroup = mixins(BaseItemGroup, Mobile).extend({
|
|
16445
16457
|
}
|
16446
16458
|
},
|
16447
16459
|
data: () => ({
|
16448
|
-
internalItemsLength: 0,
|
16449
16460
|
isOverflowing: false,
|
16450
16461
|
resizeTimeout: 0,
|
16451
16462
|
startX: 0,
|
@@ -16536,13 +16547,30 @@ const BaseSlideGroup = mixins(BaseItemGroup, Mobile).extend({
|
|
16536
16547
|
|
16537
16548
|
},
|
16538
16549
|
|
16539
|
-
|
16540
|
-
|
16541
|
-
|
16550
|
+
mounted() {
|
16551
|
+
if (typeof ResizeObserver !== 'undefined') {
|
16552
|
+
const obs = new ResizeObserver(() => {
|
16553
|
+
this.onResize();
|
16554
|
+
});
|
16555
|
+
obs.observe(this.$el);
|
16556
|
+
obs.observe(this.$refs.content);
|
16557
|
+
this.$on('hook:destroyed', () => {
|
16558
|
+
obs.disconnect();
|
16559
|
+
});
|
16560
|
+
} else {
|
16561
|
+
let itemsLength = 0;
|
16562
|
+
this.$on('hook:beforeUpdate', () => {
|
16563
|
+
var _this$$refs$content;
|
16542
16564
|
|
16543
|
-
|
16544
|
-
|
16545
|
-
|
16565
|
+
itemsLength = (((_this$$refs$content = this.$refs.content) == null ? void 0 : _this$$refs$content.children) || []).length;
|
16566
|
+
});
|
16567
|
+
this.$on('hook:updated', () => {
|
16568
|
+
var _this$$refs$content2;
|
16569
|
+
|
16570
|
+
if (itemsLength === (((_this$$refs$content2 = this.$refs.content) == null ? void 0 : _this$$refs$content2.children) || []).length) return;
|
16571
|
+
this.setWidths();
|
16572
|
+
});
|
16573
|
+
}
|
16546
16574
|
},
|
16547
16575
|
|
16548
16576
|
methods: {
|
@@ -24393,7 +24421,6 @@ var VOtpInput = baseMixins$b.extend().extend({
|
|
24393
24421
|
plain: Boolean
|
24394
24422
|
},
|
24395
24423
|
data: () => ({
|
24396
|
-
badInput: false,
|
24397
24424
|
initialValue: null,
|
24398
24425
|
isBooted: false,
|
24399
24426
|
otp: []
|
@@ -24408,10 +24435,6 @@ var VOtpInput = baseMixins$b.extend().extend({
|
|
24408
24435
|
...VTextField.options.computed.classes.call(this),
|
24409
24436
|
'v-otp-input--plain': this.plain
|
24410
24437
|
};
|
24411
|
-
},
|
24412
|
-
|
24413
|
-
isDirty() {
|
24414
|
-
return VInput.options.computed.isDirty.call(this) || this.badInput;
|
24415
24438
|
}
|
24416
24439
|
|
24417
24440
|
},
|
@@ -24513,18 +24536,17 @@ var VOtpInput = baseMixins$b.extend().extend({
|
|
24513
24536
|
min: this.type === 'number' ? 0 : null
|
24514
24537
|
},
|
24515
24538
|
attrs: { ...this.attrs$,
|
24539
|
+
autocomplete: 'one-time-code',
|
24516
24540
|
disabled: this.isDisabled,
|
24517
24541
|
readonly: this.isReadonly,
|
24518
24542
|
type: this.type,
|
24519
24543
|
id: `${this.computedId}--${otpIdx}`,
|
24520
|
-
class: `otp-field-box--${otpIdx}
|
24521
|
-
maxlength: 1
|
24544
|
+
class: `otp-field-box--${otpIdx}`
|
24522
24545
|
},
|
24523
24546
|
on: Object.assign(listeners, {
|
24524
24547
|
blur: this.onBlur,
|
24525
24548
|
input: e => this.onInput(e, otpIdx),
|
24526
24549
|
focus: e => this.onFocus(e, otpIdx),
|
24527
|
-
paste: e => this.onPaste(e, otpIdx),
|
24528
24550
|
keydown: this.onKeyDown,
|
24529
24551
|
keyup: e => this.onKeyUp(e, otpIdx)
|
24530
24552
|
}),
|
@@ -24568,22 +24590,31 @@ var VOtpInput = baseMixins$b.extend().extend({
|
|
24568
24590
|
}
|
24569
24591
|
},
|
24570
24592
|
|
24571
|
-
onInput(e,
|
24593
|
+
onInput(e, index) {
|
24594
|
+
const maxCursor = +this.length - 1;
|
24572
24595
|
const target = e.target;
|
24573
24596
|
const value = target.value;
|
24574
|
-
|
24575
|
-
|
24576
|
-
});
|
24577
|
-
this.badInput = target.validity && target.validity.badInput;
|
24578
|
-
const nextIndex = otpIdx + 1;
|
24597
|
+
const inputDataArray = (value == null ? void 0 : value.split('')) || [];
|
24598
|
+
const newOtp = [...this.otp];
|
24579
24599
|
|
24580
|
-
|
24581
|
-
|
24582
|
-
|
24583
|
-
|
24584
|
-
|
24585
|
-
|
24586
|
-
|
24600
|
+
for (let i = 0; i < inputDataArray.length; i++) {
|
24601
|
+
const appIdx = index + i;
|
24602
|
+
if (appIdx > maxCursor) break;
|
24603
|
+
newOtp[appIdx] = inputDataArray[i].toString();
|
24604
|
+
}
|
24605
|
+
|
24606
|
+
if (!inputDataArray.length) {
|
24607
|
+
newOtp.splice(index, 1);
|
24608
|
+
}
|
24609
|
+
|
24610
|
+
this.otp = newOtp;
|
24611
|
+
this.internalValue = this.otp.join('');
|
24612
|
+
|
24613
|
+
if (index + inputDataArray.length >= +this.length) {
|
24614
|
+
this.onCompleted();
|
24615
|
+
this.clearFocus(index);
|
24616
|
+
} else if (inputDataArray.length) {
|
24617
|
+
this.changeFocus(index + inputDataArray.length);
|
24587
24618
|
}
|
24588
24619
|
},
|
24589
24620
|
|
@@ -24615,39 +24646,6 @@ var VOtpInput = baseMixins$b.extend().extend({
|
|
24615
24646
|
VInput.options.methods.onMouseUp.call(this, e);
|
24616
24647
|
},
|
24617
24648
|
|
24618
|
-
onPaste(event, index) {
|
24619
|
-
var _event$clipboardData;
|
24620
|
-
|
24621
|
-
const maxCursor = +this.length - 1;
|
24622
|
-
const inputVal = event == null ? void 0 : (_event$clipboardData = event.clipboardData) == null ? void 0 : _event$clipboardData.getData('Text');
|
24623
|
-
const inputDataArray = (inputVal == null ? void 0 : inputVal.split('')) || [];
|
24624
|
-
event.preventDefault();
|
24625
|
-
const newOtp = [...this.otp];
|
24626
|
-
|
24627
|
-
for (let i = 0; i < inputDataArray.length; i++) {
|
24628
|
-
const appIdx = index + i;
|
24629
|
-
if (appIdx > maxCursor) break;
|
24630
|
-
newOtp[appIdx] = inputDataArray[i].toString();
|
24631
|
-
}
|
24632
|
-
|
24633
|
-
this.otp = newOtp;
|
24634
|
-
this.internalValue = this.otp.join('');
|
24635
|
-
const targetFocus = Math.min(index + inputDataArray.length, maxCursor);
|
24636
|
-
this.changeFocus(targetFocus);
|
24637
|
-
|
24638
|
-
if (newOtp.length === +this.length) {
|
24639
|
-
this.onCompleted();
|
24640
|
-
this.clearFocus(targetFocus);
|
24641
|
-
}
|
24642
|
-
},
|
24643
|
-
|
24644
|
-
applyValue(index, inputVal, next) {
|
24645
|
-
const newOtp = [...this.otp];
|
24646
|
-
newOtp[index] = inputVal;
|
24647
|
-
this.otp = newOtp;
|
24648
|
-
next();
|
24649
|
-
},
|
24650
|
-
|
24651
24649
|
changeFocus(index) {
|
24652
24650
|
this.onFocus(undefined, index || 0);
|
24653
24651
|
},
|
@@ -27538,6 +27536,16 @@ var VTabs = baseMixins$4.extend().extend({
|
|
27538
27536
|
},
|
27539
27537
|
|
27540
27538
|
mounted() {
|
27539
|
+
if (typeof ResizeObserver !== 'undefined') {
|
27540
|
+
const obs = new ResizeObserver(() => {
|
27541
|
+
this.onResize();
|
27542
|
+
});
|
27543
|
+
obs.observe(this.$el);
|
27544
|
+
this.$on('hook:destroyed', () => {
|
27545
|
+
obs.disconnect();
|
27546
|
+
});
|
27547
|
+
}
|
27548
|
+
|
27541
27549
|
this.$nextTick(() => {
|
27542
27550
|
window.setTimeout(this.callSlider, 30);
|
27543
27551
|
});
|
@@ -31262,7 +31270,7 @@ function searchItems(items, search) {
|
|
31262
31270
|
if (search.trim() === '') return items;
|
31263
31271
|
return items.filter(function (item) {
|
31264
31272
|
return Object.keys(item).some(function (key) {
|
31265
|
-
return defaultFilter(getObjectValueByPath(item, key), search
|
31273
|
+
return defaultFilter(getObjectValueByPath(item, key), search);
|
31266
31274
|
});
|
31267
31275
|
});
|
31268
31276
|
}
|
@@ -36837,7 +36845,7 @@ var Vuetify = /*#__PURE__*/function () {
|
|
36837
36845
|
exports.default = Vuetify;
|
36838
36846
|
Vuetify.install = install_1.install;
|
36839
36847
|
Vuetify.installed = false;
|
36840
|
-
Vuetify.version = "2.6.
|
36848
|
+
Vuetify.version = "2.6.7";
|
36841
36849
|
Vuetify.config = {
|
36842
36850
|
silent: false
|
36843
36851
|
};
|
@@ -38732,7 +38740,7 @@ __vue_render__$1j._withStripped = true;
|
|
38732
38740
|
/* style */
|
38733
38741
|
const __vue_inject_styles__$1j = function (inject) {
|
38734
38742
|
if (!inject) return
|
38735
|
-
inject("data-v-
|
38743
|
+
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 });
|
38736
38744
|
|
38737
38745
|
};
|
38738
38746
|
/* scoped */
|
@@ -41885,6 +41893,10 @@ __decorate([
|
|
41885
41893
|
PropWatch({ type: [Number, String], default: '' }),
|
41886
41894
|
__metadata("design:type", Object)
|
41887
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);
|
41888
41900
|
ZdDashboard = __decorate([
|
41889
41901
|
Component
|
41890
41902
|
], ZdDashboard);
|
@@ -41968,6 +41980,11 @@ var __vue_render__$15 = function () {
|
|
41968
41980
|
{
|
41969
41981
|
staticClass: "zd-dashboard-card-div dashboard-div-card",
|
41970
41982
|
attrs: { id: "dashboardDivCard-" + card.cardId },
|
41983
|
+
on: {
|
41984
|
+
mousedown: function ($event) {
|
41985
|
+
return _vm.instance.selectCard(card.cardId)
|
41986
|
+
},
|
41987
|
+
},
|
41971
41988
|
},
|
41972
41989
|
[
|
41973
41990
|
_c(
|
@@ -42092,7 +42109,7 @@ __vue_render__$15._withStripped = true;
|
|
42092
42109
|
/* style */
|
42093
42110
|
const __vue_inject_styles__$15 = function (inject) {
|
42094
42111
|
if (!inject) return
|
42095
|
-
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 });
|
42096
42113
|
|
42097
42114
|
};
|
42098
42115
|
/* scoped */
|
@@ -43014,6 +43031,7 @@ var __vue_render__$12 = function () {
|
|
43014
43031
|
return _c(
|
43015
43032
|
"v-dialog",
|
43016
43033
|
{
|
43034
|
+
key: "" + _vm.dialog.name + _vm.dialog.isVisible,
|
43017
43035
|
attrs: {
|
43018
43036
|
id: _vm.dialog.name,
|
43019
43037
|
"max-width": _vm.dialog.maxWidth,
|
@@ -43108,7 +43126,7 @@ __vue_render__$12._withStripped = true;
|
|
43108
43126
|
/* style */
|
43109
43127
|
const __vue_inject_styles__$12 = function (inject) {
|
43110
43128
|
if (!inject) return
|
43111
|
-
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 });
|
43112
43130
|
|
43113
43131
|
};
|
43114
43132
|
/* scoped */
|
@@ -44766,10 +44784,7 @@ let ZdGrid = class ZdGrid extends ZdIterable$1 {
|
|
44766
44784
|
setViewGetWidth() {
|
44767
44785
|
this.instance.columns.forEach((column) => {
|
44768
44786
|
column.setViewGetWidth(() => {
|
44769
|
-
|
44770
|
-
if (this.instance.selectable) {
|
44771
|
-
index += 1;
|
44772
|
-
}
|
44787
|
+
const index = this.instance.columns.findIndex((col) => col.name === column.name);
|
44773
44788
|
const el = this.$el;
|
44774
44789
|
const colEl = el.querySelector(`.zd-grid-table-header .zd-table-cell[index='${index}']`);
|
44775
44790
|
return (colEl === null || colEl === void 0 ? void 0 : colEl.clientWidth) || 0;
|
@@ -45070,6 +45085,10 @@ __decorate([
|
|
45070
45085
|
PropWatch({ type: [Number, String], default: undefined }),
|
45071
45086
|
__metadata("design:type", Object)
|
45072
45087
|
], ZdGrid.prototype, "gridMaxHeight", void 0);
|
45088
|
+
__decorate([
|
45089
|
+
Prop({ type: [String, Function], default: undefined }),
|
45090
|
+
__metadata("design:type", Object)
|
45091
|
+
], ZdGrid.prototype, "disableSelection", void 0);
|
45073
45092
|
__decorate([
|
45074
45093
|
Prop({
|
45075
45094
|
type: Array,
|
@@ -45118,6 +45137,10 @@ __decorate([
|
|
45118
45137
|
PropWatch({ type: [Boolean, String], default: false }),
|
45119
45138
|
__metadata("design:type", Object)
|
45120
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);
|
45121
45144
|
__decorate([
|
45122
45145
|
Prop({
|
45123
45146
|
type: Array,
|
@@ -45174,7 +45197,6 @@ var __vue_render__$W = function () {
|
|
45174
45197
|
height: _vm.instance.height,
|
45175
45198
|
items: _vm.getData(),
|
45176
45199
|
search: _vm.instance.datasource.search,
|
45177
|
-
"show-select": _vm.instance.selectable,
|
45178
45200
|
dense: _vm.instance.dense,
|
45179
45201
|
loading: _vm.instance.datasource.loading,
|
45180
45202
|
"item-key": _vm.instance.datasource.uniqueKey,
|
@@ -45237,31 +45259,35 @@ var __vue_render__$W = function () {
|
|
45237
45259
|
_vm.instance.headerBackground,
|
45238
45260
|
},
|
45239
45261
|
[
|
45240
|
-
|
45241
|
-
|
45242
|
-
|
45243
|
-
|
45244
|
-
|
45245
|
-
|
45246
|
-
|
45247
|
-
|
45248
|
-
|
45249
|
-
|
45250
|
-
|
45251
|
-
|
45252
|
-
|
45253
|
-
|
45254
|
-
|
45255
|
-
|
45256
|
-
|
45257
|
-
|
45258
|
-
|
45259
|
-
|
45260
|
-
|
45261
|
-
|
45262
|
-
|
45263
|
-
|
45264
|
-
|
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(),
|
45265
45291
|
],
|
45266
45292
|
1
|
45267
45293
|
)
|
@@ -45622,6 +45648,8 @@ var __vue_render__$W = function () {
|
|
45622
45648
|
attrs: {
|
45623
45649
|
"hide-details": "",
|
45624
45650
|
color: "primary",
|
45651
|
+
disabled:
|
45652
|
+
_vm.instance.callDisableSelection(item),
|
45625
45653
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
45626
45654
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
45627
45655
|
"true-value": true,
|
@@ -45920,7 +45948,7 @@ __vue_render__$W._withStripped = true;
|
|
45920
45948
|
/* style */
|
45921
45949
|
const __vue_inject_styles__$W = function (inject) {
|
45922
45950
|
if (!inject) return
|
45923
|
-
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 });
|
45924
45952
|
|
45925
45953
|
};
|
45926
45954
|
/* scoped */
|
@@ -45980,17 +46008,17 @@ let ZdGridEditable = class ZdGridEditable extends ZdGrid$1 {
|
|
45980
46008
|
}
|
45981
46009
|
return this.instance.getEditableComponent(column, row, cellProps, events);
|
45982
46010
|
}
|
45983
|
-
cellClick(row, column, event) {
|
46011
|
+
cellClick(row, column, event, canEdit = true) {
|
45984
46012
|
if (!this.instance.doubleClickEdit || !column.editable) {
|
45985
|
-
this.callCellClick(row, column, event);
|
46013
|
+
this.callCellClick(row, column, event, canEdit);
|
45986
46014
|
return;
|
45987
46015
|
}
|
45988
|
-
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);
|
45989
46017
|
}
|
45990
|
-
callCellClick(row, column, event) {
|
46018
|
+
callCellClick(row, column, event, canEdit = true) {
|
45991
46019
|
const key = row[this.instance.datasource.uniqueKey];
|
45992
46020
|
this.inputToFocus = `column-${column.name}-${key}`;
|
45993
|
-
this.instance.cellClick(row, column, event, this.$el);
|
46021
|
+
this.instance.cellClick(row, column, event, this.$el, canEdit);
|
45994
46022
|
}
|
45995
46023
|
onMountedEvent({ element, component }) {
|
45996
46024
|
const input = element.getElementsByTagName('input')[0];
|
@@ -46092,6 +46120,10 @@ __decorate([
|
|
46092
46120
|
PropWatch({ type: [String, Boolean], default: false }),
|
46093
46121
|
__metadata("design:type", Object)
|
46094
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);
|
46095
46127
|
ZdGridEditable = __decorate([
|
46096
46128
|
Component$2
|
46097
46129
|
], ZdGridEditable);
|
@@ -46134,13 +46166,13 @@ var __vue_render__$V = function () {
|
|
46134
46166
|
headers: _vm.instance.columns,
|
46135
46167
|
items: _vm.getData(),
|
46136
46168
|
search: _vm.instance.datasource.search,
|
46137
|
-
"show-select": _vm.instance.selectable,
|
46138
46169
|
dense: _vm.instance.dense,
|
46139
46170
|
loading: _vm.instance.datasource.loading,
|
46140
46171
|
"item-key": _vm.instance.datasource.uniqueKey,
|
46141
46172
|
"disable-sort": "",
|
46142
46173
|
"disable-filtering": "",
|
46143
46174
|
tabindex: "0",
|
46175
|
+
set: (_vm.canEditRowValues = {}),
|
46144
46176
|
},
|
46145
46177
|
on: {
|
46146
46178
|
"current-items": function ($event) {
|
@@ -46197,32 +46229,36 @@ var __vue_render__$V = function () {
|
|
46197
46229
|
_vm.instance.headerBackground,
|
46198
46230
|
},
|
46199
46231
|
[
|
46200
|
-
|
46201
|
-
|
46202
|
-
|
46203
|
-
|
46204
|
-
|
46205
|
-
|
46206
|
-
|
46207
|
-
|
46208
|
-
|
46209
|
-
|
46210
|
-
|
46211
|
-
|
46212
|
-
|
46213
|
-
|
46214
|
-
|
46215
|
-
|
46216
|
-
|
46217
|
-
|
46218
|
-
|
46219
|
-
|
46220
|
-
|
46221
|
-
|
46222
|
-
|
46223
|
-
|
46224
|
-
|
46225
|
-
|
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(),
|
46226
46262
|
],
|
46227
46263
|
1
|
46228
46264
|
)
|
@@ -46288,7 +46324,7 @@ var __vue_render__$V = function () {
|
|
46288
46324
|
"span",
|
46289
46325
|
{
|
46290
46326
|
staticClass:
|
46291
|
-
"zd-table-cell-sort
|
46327
|
+
"zd-table-cell-sort zd-mr-1",
|
46292
46328
|
on: {
|
46293
46329
|
click: function (
|
46294
46330
|
$event
|
@@ -46572,6 +46608,10 @@ var __vue_render__$V = function () {
|
|
46572
46608
|
active: isSelected,
|
46573
46609
|
current: _vm.isCurrentRow(item),
|
46574
46610
|
},
|
46611
|
+
attrs: {
|
46612
|
+
set: (_vm.canEditRowValues[_vm.rowKey(item)] =
|
46613
|
+
_vm.instance.callCanEditRow(item)),
|
46614
|
+
},
|
46575
46615
|
on: {
|
46576
46616
|
click: function ($event) {
|
46577
46617
|
return _vm.rowClick(item, $event)
|
@@ -46589,7 +46629,9 @@ var __vue_render__$V = function () {
|
|
46589
46629
|
attrs: {
|
46590
46630
|
"hide-details": "",
|
46591
46631
|
color: "primary",
|
46592
|
-
disabled:
|
46632
|
+
disabled:
|
46633
|
+
_vm.instance.editing ||
|
46634
|
+
_vm.instance.callDisableSelection(item),
|
46593
46635
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
46594
46636
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
46595
46637
|
"true-value": true,
|
@@ -46647,7 +46689,10 @@ var __vue_render__$V = function () {
|
|
46647
46689
|
{},
|
46648
46690
|
column,
|
46649
46691
|
cellProps
|
46650
|
-
).editable
|
46692
|
+
).editable &&
|
46693
|
+
_vm.canEditRowValues[
|
46694
|
+
_vm.rowKey(item)
|
46695
|
+
],
|
46651
46696
|
},
|
46652
46697
|
],
|
46653
46698
|
style: [
|
@@ -46658,11 +46703,14 @@ var __vue_render__$V = function () {
|
|
46658
46703
|
],
|
46659
46704
|
on: {
|
46660
46705
|
click: function ($event) {
|
46661
|
-
|
46706
|
+
_vm.cellClick(
|
46662
46707
|
item,
|
46663
46708
|
column,
|
46664
|
-
$event
|
46665
|
-
|
46709
|
+
$event,
|
46710
|
+
_vm.canEditRowValues[
|
46711
|
+
_vm.rowKey(item)
|
46712
|
+
]
|
46713
|
+
);
|
46666
46714
|
},
|
46667
46715
|
},
|
46668
46716
|
},
|
@@ -46679,7 +46727,11 @@ var __vue_render__$V = function () {
|
|
46679
46727
|
: _vm._e(),
|
46680
46728
|
_vm._v(" "),
|
46681
46729
|
Object.assign({}, column, cellProps)
|
46682
|
-
.editable &&
|
46730
|
+
.editable &&
|
46731
|
+
_vm.canEditRowValues[
|
46732
|
+
_vm.rowKey(item)
|
46733
|
+
] &&
|
46734
|
+
_vm.instance.editing
|
46683
46735
|
? _c(
|
46684
46736
|
"span",
|
46685
46737
|
{
|
@@ -47048,8 +47100,8 @@ __vue_render__$V._withStripped = true;
|
|
47048
47100
|
/* style */
|
47049
47101
|
const __vue_inject_styles__$V = function (inject) {
|
47050
47102
|
if (!inject) return
|
47051
|
-
inject("data-v-
|
47052
|
-
,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 });
|
47053
47105
|
|
47054
47106
|
};
|
47055
47107
|
/* scoped */
|
@@ -48609,7 +48661,7 @@ __vue_render__$L._withStripped = true;
|
|
48609
48661
|
/* style */
|
48610
48662
|
const __vue_inject_styles__$L = function (inject) {
|
48611
48663
|
if (!inject) return
|
48612
|
-
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 });
|
48613
48665
|
|
48614
48666
|
};
|
48615
48667
|
/* scoped */
|
@@ -48702,6 +48754,8 @@ let ZdSelect = class ZdSelect extends __vue_component__$18 {
|
|
48702
48754
|
this.instance.selectInput(value, undefined, this.$el);
|
48703
48755
|
}
|
48704
48756
|
selectBlur(event) {
|
48757
|
+
if (this.$el.contains(document.activeElement))
|
48758
|
+
return;
|
48705
48759
|
this.blur(event);
|
48706
48760
|
}
|
48707
48761
|
selectFocus(event) {
|
@@ -53062,6 +53116,8 @@ let ZdSelectMultiple = class ZdSelectMultiple extends __vue_component__$K {
|
|
53062
53116
|
}
|
53063
53117
|
}
|
53064
53118
|
selectBlur(event) {
|
53119
|
+
if (this.$el.contains(document.activeElement))
|
53120
|
+
return;
|
53065
53121
|
if (this.rows !== 1) {
|
53066
53122
|
this.rows = 1;
|
53067
53123
|
this.calcDisplay();
|
@@ -56047,7 +56103,7 @@ let ZdTime = class ZdTime extends __vue_component__$18 {
|
|
56047
56103
|
}
|
56048
56104
|
onChangeTimePicker() {
|
56049
56105
|
const textInput = this.$refs.instance.$children[0];
|
56050
|
-
textInput.validate(false
|
56106
|
+
textInput.validate(false);
|
56051
56107
|
}
|
56052
56108
|
mounted() {
|
56053
56109
|
const textInput = this.$refs.instance.$children[0].$el.getElementsByTagName('input')[0];
|
@@ -56110,15 +56166,6 @@ let ZdTime = class ZdTime extends __vue_component__$18 {
|
|
56110
56166
|
}
|
56111
56167
|
return formatted;
|
56112
56168
|
}
|
56113
|
-
set pickerValue(value) {
|
56114
|
-
this.instance.value = this.convert(value, false);
|
56115
|
-
}
|
56116
|
-
get pickerValue() {
|
56117
|
-
if (!this.instance.isFullyValid())
|
56118
|
-
return null;
|
56119
|
-
const { value } = this.instance;
|
56120
|
-
return this.convert(value);
|
56121
|
-
}
|
56122
56169
|
get pickerMinTime() {
|
56123
56170
|
return this.convert(this.instance.minTime);
|
56124
56171
|
}
|
@@ -56128,6 +56175,9 @@ let ZdTime = class ZdTime extends __vue_component__$18 {
|
|
56128
56175
|
onPickerMousedown(event) {
|
56129
56176
|
event.preventDefault();
|
56130
56177
|
}
|
56178
|
+
onSelectTime(time, event) {
|
56179
|
+
this.instance.selectTime(time, event, this.$el);
|
56180
|
+
}
|
56131
56181
|
pickerMounted() {
|
56132
56182
|
const picker = this.$refs.picker.$el;
|
56133
56183
|
picker.addEventListener('mousedown', this.onPickerMousedown);
|
@@ -56136,6 +56186,27 @@ let ZdTime = class ZdTime extends __vue_component__$18 {
|
|
56136
56186
|
const picker = this.$refs.picker.$el;
|
56137
56187
|
picker.removeEventListener('mousedown', this.onPickerMousedown);
|
56138
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
|
+
}
|
56139
56210
|
};
|
56140
56211
|
__decorate([
|
56141
56212
|
PropWatch({ type: [Array, String], default: undefined }),
|
@@ -56186,7 +56257,7 @@ __decorate([
|
|
56186
56257
|
__metadata("design:type", Boolean)
|
56187
56258
|
], ZdTime.prototype, "useSeconds", void 0);
|
56188
56259
|
__decorate([
|
56189
|
-
PropWatch({ type:
|
56260
|
+
PropWatch({ type: String, default: undefined }),
|
56190
56261
|
__metadata("design:type", Object)
|
56191
56262
|
], ZdTime.prototype, "mask", void 0);
|
56192
56263
|
__decorate([
|
@@ -56194,7 +56265,11 @@ __decorate([
|
|
56194
56265
|
__metadata("design:type", String)
|
56195
56266
|
], ZdTime.prototype, "valueFormat", void 0);
|
56196
56267
|
__decorate([
|
56197
|
-
PropWatch({ type:
|
56268
|
+
PropWatch({ type: String }),
|
56269
|
+
__metadata("design:type", Object)
|
56270
|
+
], ZdTime.prototype, "inputFormat", void 0);
|
56271
|
+
__decorate([
|
56272
|
+
PropWatch({ type: String }),
|
56198
56273
|
__metadata("design:type", String)
|
56199
56274
|
], ZdTime.prototype, "displayFormat", void 0);
|
56200
56275
|
ZdTime = __decorate([
|
@@ -56250,6 +56325,7 @@ var __vue_render__$6 = function () {
|
|
56250
56325
|
ref: "instance",
|
56251
56326
|
attrs: {
|
56252
56327
|
name: _vm.instance.name + "_text-input",
|
56328
|
+
mask: _vm.getTimeMask,
|
56253
56329
|
"instance-object": _vm.instance,
|
56254
56330
|
events: _vm.getEvents(on),
|
56255
56331
|
autofill: false,
|
@@ -56262,7 +56338,7 @@ var __vue_render__$6 = function () {
|
|
56262
56338
|
],
|
56263
56339
|
null,
|
56264
56340
|
false,
|
56265
|
-
|
56341
|
+
229268027
|
56266
56342
|
),
|
56267
56343
|
model: {
|
56268
56344
|
value: _vm.instance.showTimePicker,
|
@@ -56296,21 +56372,21 @@ var __vue_render__$6 = function () {
|
|
56296
56372
|
name: _vm.instance.name,
|
56297
56373
|
dark: _vm.instance.dark,
|
56298
56374
|
light: _vm.instance.light,
|
56299
|
-
value: _vm.pickerValue,
|
56300
56375
|
},
|
56301
56376
|
on: {
|
56302
56377
|
"hook:mounted": _vm.pickerMounted,
|
56303
56378
|
"hook:destroyed": _vm.pickerDestroyed,
|
56379
|
+
"click:time": _vm.onSelectTime,
|
56304
56380
|
change: function ($event) {
|
56305
56381
|
return _vm.onChangeTimePicker()
|
56306
56382
|
},
|
56307
56383
|
},
|
56308
56384
|
model: {
|
56309
|
-
value: _vm.
|
56385
|
+
value: _vm.instance.isoValue,
|
56310
56386
|
callback: function ($$v) {
|
56311
|
-
_vm.
|
56387
|
+
_vm.$set(_vm.instance, "isoValue", $$v);
|
56312
56388
|
},
|
56313
|
-
expression: "
|
56389
|
+
expression: "instance.isoValue",
|
56314
56390
|
},
|
56315
56391
|
},
|
56316
56392
|
"v-time-picker",
|
@@ -56336,7 +56412,7 @@ var __vue_render__$6 = function () {
|
|
56336
56412
|
name: _vm.instance.name + "_text-input",
|
56337
56413
|
"instance-object": _vm.instance,
|
56338
56414
|
autofill: false,
|
56339
|
-
type: "
|
56415
|
+
type: "text",
|
56340
56416
|
mask: "",
|
56341
56417
|
},
|
56342
56418
|
}),
|
@@ -56351,7 +56427,7 @@ __vue_render__$6._withStripped = true;
|
|
56351
56427
|
/* style */
|
56352
56428
|
const __vue_inject_styles__$6 = function (inject) {
|
56353
56429
|
if (!inject) return
|
56354
|
-
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 });
|
56355
56431
|
|
56356
56432
|
};
|
56357
56433
|
/* scoped */
|
@@ -56597,6 +56673,10 @@ __decorate([
|
|
56597
56673
|
Prop({ type: [String], default: 'checked' }),
|
56598
56674
|
__metadata("design:type", String)
|
56599
56675
|
], ZdTreeCheckbox.prototype, "checkedField", void 0);
|
56676
|
+
__decorate([
|
56677
|
+
Prop({ type: [Boolean], default: false }),
|
56678
|
+
__metadata("design:type", Boolean)
|
56679
|
+
], ZdTreeCheckbox.prototype, "disabled", void 0);
|
56600
56680
|
__decorate([
|
56601
56681
|
Watch('childrenCheck'),
|
56602
56682
|
__metadata("design:type", Function),
|
@@ -56620,6 +56700,7 @@ var __vue_render__$4 = function () {
|
|
56620
56700
|
staticClass: "zd-tree-checkbox",
|
56621
56701
|
attrs: {
|
56622
56702
|
"hide-details": "",
|
56703
|
+
disabled: _vm.disabled,
|
56623
56704
|
ripple: false,
|
56624
56705
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
56625
56706
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
@@ -56629,7 +56710,7 @@ var __vue_render__$4 = function () {
|
|
56629
56710
|
},
|
56630
56711
|
on: {
|
56631
56712
|
click: function ($event) {
|
56632
|
-
|
56713
|
+
_vm.disabled || _vm.click($event);
|
56633
56714
|
},
|
56634
56715
|
},
|
56635
56716
|
model: {
|
@@ -56647,7 +56728,7 @@ __vue_render__$4._withStripped = true;
|
|
56647
56728
|
/* style */
|
56648
56729
|
const __vue_inject_styles__$4 = function (inject) {
|
56649
56730
|
if (!inject) return
|
56650
|
-
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 });
|
56651
56732
|
|
56652
56733
|
};
|
56653
56734
|
/* scoped */
|
@@ -56912,6 +56993,10 @@ __decorate([
|
|
56912
56993
|
Prop({ type: [String, Number, Boolean], default: false }),
|
56913
56994
|
__metadata("design:type", Object)
|
56914
56995
|
], ZdTree.prototype, "openLevelOnLoad", void 0);
|
56996
|
+
__decorate([
|
56997
|
+
Prop({ type: [String, Function], default: undefined }),
|
56998
|
+
__metadata("design:type", Function)
|
56999
|
+
], ZdTree.prototype, "disableCheckbox", void 0);
|
56915
57000
|
__decorate([
|
56916
57001
|
Watch('instance.datasource.data.length'),
|
56917
57002
|
__metadata("design:type", Function),
|
@@ -57006,6 +57091,7 @@ var __vue_render__$2 = function () {
|
|
57006
57091
|
_vm.instance.checkbox
|
57007
57092
|
? _c("zd-tree-checkbox", {
|
57008
57093
|
attrs: {
|
57094
|
+
disabled: _vm.instance.callDisableCheckbox(node),
|
57009
57095
|
node: _vm.instanceNode(node),
|
57010
57096
|
checkedField: _vm.instance.checkedField,
|
57011
57097
|
},
|
@@ -57220,7 +57306,7 @@ __vue_render__$2._withStripped = true;
|
|
57220
57306
|
/* style */
|
57221
57307
|
const __vue_inject_styles__$2 = function (inject) {
|
57222
57308
|
if (!inject) return
|
57223
|
-
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 });
|
57224
57310
|
|
57225
57311
|
};
|
57226
57312
|
/* scoped */
|
@@ -57268,6 +57354,28 @@ let ZdTreeGrid = class ZdTreeGrid extends ZdGrid$1 {
|
|
57268
57354
|
}
|
57269
57355
|
return text;
|
57270
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
|
+
}
|
57271
57379
|
selectClick(index, isSelected, event) {
|
57272
57380
|
const row = this.instance.datasource.data[index];
|
57273
57381
|
this.instance.selectRow(row, isSelected);
|
@@ -57347,7 +57455,6 @@ var __vue_render__$1 = function () {
|
|
57347
57455
|
headers: _vm.instance.columns,
|
57348
57456
|
items: _vm.getData(),
|
57349
57457
|
search: _vm.instance.datasource.search,
|
57350
|
-
"show-select": _vm.instance.selectable,
|
57351
57458
|
dense: _vm.instance.dense,
|
57352
57459
|
dark: _vm.instance.dark,
|
57353
57460
|
light: _vm.instance.light,
|
@@ -57412,31 +57519,35 @@ var __vue_render__$1 = function () {
|
|
57412
57519
|
_vm.instance.headerBackground,
|
57413
57520
|
},
|
57414
57521
|
[
|
57415
|
-
|
57416
|
-
|
57417
|
-
|
57418
|
-
|
57419
|
-
|
57420
|
-
|
57421
|
-
|
57422
|
-
|
57423
|
-
|
57424
|
-
|
57425
|
-
|
57426
|
-
|
57427
|
-
|
57428
|
-
|
57429
|
-
|
57430
|
-
|
57431
|
-
|
57432
|
-
|
57433
|
-
|
57434
|
-
|
57435
|
-
|
57436
|
-
|
57437
|
-
|
57438
|
-
|
57439
|
-
|
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(),
|
57440
57551
|
],
|
57441
57552
|
1
|
57442
57553
|
)
|
@@ -57751,11 +57862,16 @@ var __vue_render__$1 = function () {
|
|
57751
57862
|
attrs: {
|
57752
57863
|
"hide-details": "",
|
57753
57864
|
color: "primary",
|
57865
|
+
disabled:
|
57866
|
+
_vm.instance.callDisableSelection(item),
|
57754
57867
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
57755
57868
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
57756
57869
|
"true-value": true,
|
57757
57870
|
"false-value": false,
|
57758
57871
|
"input-value": isSelected,
|
57872
|
+
indeterminate:
|
57873
|
+
!_vm.checkEvery(item) &&
|
57874
|
+
_vm.checkSome(item),
|
57759
57875
|
},
|
57760
57876
|
on: {
|
57761
57877
|
click: function ($event) {
|
@@ -58125,8 +58241,8 @@ __vue_render__$1._withStripped = true;
|
|
58125
58241
|
/* style */
|
58126
58242
|
const __vue_inject_styles__$1 = function (inject) {
|
58127
58243
|
if (!inject) return
|
58128
|
-
inject("data-v-
|
58129
|
-
,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 });
|
58130
58246
|
|
58131
58247
|
};
|
58132
58248
|
/* scoped */
|
@@ -58186,17 +58302,17 @@ let ZdTreeGridEditable = class ZdTreeGridEditable extends ZdTreeGrid$1 {
|
|
58186
58302
|
}
|
58187
58303
|
return this.instance.getEditableComponent(column, row, cellProps, events);
|
58188
58304
|
}
|
58189
|
-
cellClick(row, column, event) {
|
58305
|
+
cellClick(row, column, event, canEdit = true) {
|
58190
58306
|
if (!this.instance.doubleClickEdit || !column.editable) {
|
58191
|
-
this.callCellClick(row, column, event);
|
58307
|
+
this.callCellClick(row, column, event, canEdit);
|
58192
58308
|
return;
|
58193
58309
|
}
|
58194
|
-
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);
|
58195
58311
|
}
|
58196
|
-
callCellClick(row, column, event) {
|
58312
|
+
callCellClick(row, column, event, canEdit = true) {
|
58197
58313
|
const key = row[this.instance.datasource.uniqueKey];
|
58198
58314
|
this.inputToFocus = `column-${column.name}-${key}`;
|
58199
|
-
this.instance.cellClick(row, column, event, this.$el);
|
58315
|
+
this.instance.cellClick(row, column, event, this.$el, canEdit);
|
58200
58316
|
}
|
58201
58317
|
onMountedEvent({ element, component }) {
|
58202
58318
|
const input = element.getElementsByTagName('input')[0];
|
@@ -58297,6 +58413,10 @@ __decorate([
|
|
58297
58413
|
PropWatch({ type: [String, Boolean], default: false }),
|
58298
58414
|
__metadata("design:type", Object)
|
58299
58415
|
], ZdTreeGridEditable.prototype, "doubleClickEdit", void 0);
|
58416
|
+
__decorate([
|
58417
|
+
PropWatch({ type: [String, Function] }),
|
58418
|
+
__metadata("design:type", Object)
|
58419
|
+
], ZdTreeGridEditable.prototype, "canEditRow", void 0);
|
58300
58420
|
ZdTreeGridEditable = __decorate([
|
58301
58421
|
Component$2
|
58302
58422
|
], ZdTreeGridEditable);
|
@@ -58338,7 +58458,6 @@ var __vue_render__ = function () {
|
|
58338
58458
|
headers: _vm.instance.columns,
|
58339
58459
|
items: _vm.getData(),
|
58340
58460
|
search: _vm.instance.datasource.search,
|
58341
|
-
"show-select": _vm.instance.selectable,
|
58342
58461
|
dense: _vm.instance.dense,
|
58343
58462
|
loading: _vm.instance.datasource.loading,
|
58344
58463
|
"item-key": _vm.instance.datasource.uniqueKey,
|
@@ -58347,6 +58466,7 @@ var __vue_render__ = function () {
|
|
58347
58466
|
"disable-sort": "",
|
58348
58467
|
"disable-filtering": "",
|
58349
58468
|
tabindex: "0",
|
58469
|
+
set: (_vm.canEditRowValues = {}),
|
58350
58470
|
},
|
58351
58471
|
on: {
|
58352
58472
|
"current-items": function ($event) {
|
@@ -58730,6 +58850,10 @@ var __vue_render__ = function () {
|
|
58730
58850
|
active: isSelected,
|
58731
58851
|
current: _vm.isCurrentRow(item),
|
58732
58852
|
},
|
58853
|
+
attrs: {
|
58854
|
+
set: (_vm.canEditRowValues[_vm.rowKey(item)] =
|
58855
|
+
_vm.instance.callCanEditRow(item)),
|
58856
|
+
},
|
58733
58857
|
on: {
|
58734
58858
|
click: function ($event) {
|
58735
58859
|
return _vm.rowClick(item, $event)
|
@@ -58747,12 +58871,17 @@ var __vue_render__ = function () {
|
|
58747
58871
|
attrs: {
|
58748
58872
|
"hide-details": "",
|
58749
58873
|
color: "primary",
|
58750
|
-
disabled:
|
58874
|
+
disabled:
|
58875
|
+
_vm.instance.editing ||
|
58876
|
+
_vm.instance.callDisableSelection(item),
|
58751
58877
|
"on-icon": _vm.$getIcon("checkboxOn"),
|
58752
58878
|
"off-icon": _vm.$getIcon("checkboxOff"),
|
58753
58879
|
"true-value": true,
|
58754
58880
|
"false-value": false,
|
58755
58881
|
value: isSelected,
|
58882
|
+
indeterminate:
|
58883
|
+
!_vm.checkEvery(item) &&
|
58884
|
+
_vm.checkSome(item),
|
58756
58885
|
},
|
58757
58886
|
on: {
|
58758
58887
|
click: function ($event) {
|
@@ -58811,7 +58940,10 @@ var __vue_render__ = function () {
|
|
58811
58940
|
{},
|
58812
58941
|
column,
|
58813
58942
|
cellProps
|
58814
|
-
).editable
|
58943
|
+
).editable &&
|
58944
|
+
_vm.canEditRowValues[
|
58945
|
+
_vm.rowKey(item)
|
58946
|
+
],
|
58815
58947
|
},
|
58816
58948
|
],
|
58817
58949
|
style: [
|
@@ -58822,11 +58954,14 @@ var __vue_render__ = function () {
|
|
58822
58954
|
],
|
58823
58955
|
on: {
|
58824
58956
|
click: function ($event) {
|
58825
|
-
|
58957
|
+
_vm.cellClick(
|
58826
58958
|
item,
|
58827
58959
|
column,
|
58828
|
-
$event
|
58829
|
-
|
58960
|
+
$event,
|
58961
|
+
_vm.canEditRowValues[
|
58962
|
+
_vm.rowKey(item)
|
58963
|
+
]
|
58964
|
+
);
|
58830
58965
|
},
|
58831
58966
|
},
|
58832
58967
|
},
|
@@ -58843,7 +58978,11 @@ var __vue_render__ = function () {
|
|
58843
58978
|
: _vm._e(),
|
58844
58979
|
_vm._v(" "),
|
58845
58980
|
Object.assign({}, column, cellProps)
|
58846
|
-
.editable &&
|
58981
|
+
.editable &&
|
58982
|
+
_vm.canEditRowValues[
|
58983
|
+
_vm.rowKey(item)
|
58984
|
+
] &&
|
58985
|
+
_vm.instance.editing
|
58847
58986
|
? _c(
|
58848
58987
|
"span",
|
58849
58988
|
{
|
@@ -59288,8 +59427,8 @@ __vue_render__._withStripped = true;
|
|
59288
59427
|
/* style */
|
59289
59428
|
const __vue_inject_styles__ = function (inject) {
|
59290
59429
|
if (!inject) return
|
59291
|
-
inject("data-v-
|
59292
|
-
,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 });
|
59293
59432
|
|
59294
59433
|
};
|
59295
59434
|
/* scoped */
|