@zeedhi/teknisa-components-vuetify 1.70.0 → 1.71.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.
|
@@ -1791,23 +1791,17 @@ var __vue_render__$b = function () {
|
|
|
1791
1791
|
? "active"
|
|
1792
1792
|
: "",
|
|
1793
1793
|
],
|
|
1794
|
-
style:
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
column.width ||
|
|
1806
|
-
column.maxWidth ||
|
|
1807
|
-
column.minWidth
|
|
1808
|
-
)
|
|
1809
|
-
: "width: unset",
|
|
1810
|
-
],
|
|
1794
|
+
style: {
|
|
1795
|
+
"background-color":
|
|
1796
|
+
_vm.instance.headerBackground,
|
|
1797
|
+
width: _vm.calcWidth(
|
|
1798
|
+
column,
|
|
1799
|
+
column.width ||
|
|
1800
|
+
column.maxWidth ||
|
|
1801
|
+
column.minWidth,
|
|
1802
|
+
true
|
|
1803
|
+
),
|
|
1804
|
+
},
|
|
1811
1805
|
attrs: {
|
|
1812
1806
|
"column-name": column.name,
|
|
1813
1807
|
index: index,
|
|
@@ -3080,7 +3074,7 @@ __vue_render__$b._withStripped = true;
|
|
|
3080
3074
|
/* style */
|
|
3081
3075
|
const __vue_inject_styles__$b = function (inject) {
|
|
3082
3076
|
if (!inject) return
|
|
3083
|
-
inject("data-v-
|
|
3077
|
+
inject("data-v-62e752ef_0", { source: ".tek-grid .zd-table-cell-text-first {\n display: inline-flex;\n width: 100%;\n}\n.tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 5;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer.theme--light {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer.theme--dark {\n background: #3b3b3b;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-aling-total {\n display: flex !important;\n position: relative;\n justify-content: start;\n align-items: center;\n left: 1.5rem;\n top: -50%;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-aling-total:first-of-type {\n display: inline-block !important;\n top: 0;\n left: 0;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: flex;\n position: relative;\n top: 10px;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 1rem;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.tek-grid-column-filter-menu.theme--light {\n background: #fff;\n}\n.tek-grid-column-filter-menu.theme--dark {\n background: #1e1e1e;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
|
3084
3078
|
|
|
3085
3079
|
};
|
|
3086
3080
|
/* scoped */
|
|
@@ -4044,7 +4038,7 @@ let TekGridColumnsButton = class TekGridColumnsButton extends ZdIterableColumnsB
|
|
|
4044
4038
|
});
|
|
4045
4039
|
const ignoredColumns = grid.columns.filter((column) => this.instance.ignoreColumns.indexOf(column.name) !== -1);
|
|
4046
4040
|
grid.columns = newColumns.concat(ignoredColumns);
|
|
4047
|
-
if (JSON.stringify(groupColumnNames) !== JSON.stringify(grid.groupColumnNames)) {
|
|
4041
|
+
if ((grid.updateGrouping) && JSON.stringify(groupColumnNames) !== JSON.stringify(grid.groupColumnNames)) {
|
|
4048
4042
|
grid.updateGrouping();
|
|
4049
4043
|
}
|
|
4050
4044
|
grid.changeLayout();
|
|
@@ -6091,14 +6085,22 @@ let TekGrid = class TekGrid extends ZdTreeGridEditable {
|
|
|
6091
6085
|
return headerElement[0].style.left;
|
|
6092
6086
|
}
|
|
6093
6087
|
setSpanWidth(column) {
|
|
6094
|
-
return column.width;
|
|
6088
|
+
return this.calcWidth(column, column.width);
|
|
6095
6089
|
}
|
|
6096
6090
|
getWidthStyle(column) {
|
|
6097
|
-
|
|
6098
|
-
width:
|
|
6099
|
-
'min-width': this.calcWidth(column, column.minWidth) || 'unset',
|
|
6100
|
-
'max-width': this.calcWidth(column, column.maxWidth) || 'unset',
|
|
6091
|
+
let widthData = {
|
|
6092
|
+
'min-width': '100%',
|
|
6101
6093
|
};
|
|
6094
|
+
if (column.width) {
|
|
6095
|
+
widthData = Object.assign({ width: this.calcWidth(column, column.width) }, widthData);
|
|
6096
|
+
}
|
|
6097
|
+
if (column.minWidth) {
|
|
6098
|
+
widthData = Object.assign({ 'min-width': this.calcWidth(column, column.minWidth) }, widthData);
|
|
6099
|
+
}
|
|
6100
|
+
if (column.maxWidth) {
|
|
6101
|
+
widthData = Object.assign({ 'max-width': this.calcWidth(column, column.maxWidth) }, widthData);
|
|
6102
|
+
}
|
|
6103
|
+
return widthData;
|
|
6102
6104
|
}
|
|
6103
6105
|
};
|
|
6104
6106
|
__decorate([
|
|
@@ -6356,23 +6358,17 @@ var __vue_render__$2 = function () {
|
|
|
6356
6358
|
? "active"
|
|
6357
6359
|
: "",
|
|
6358
6360
|
],
|
|
6359
|
-
style:
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
column.width ||
|
|
6371
|
-
column.maxWidth ||
|
|
6372
|
-
column.minWidth
|
|
6373
|
-
)
|
|
6374
|
-
: "width: unset",
|
|
6375
|
-
],
|
|
6361
|
+
style: {
|
|
6362
|
+
"background-color":
|
|
6363
|
+
_vm.instance.headerBackground,
|
|
6364
|
+
width: _vm.calcWidth(
|
|
6365
|
+
column,
|
|
6366
|
+
column.width ||
|
|
6367
|
+
column.maxWidth ||
|
|
6368
|
+
column.minWidth,
|
|
6369
|
+
true
|
|
6370
|
+
),
|
|
6371
|
+
},
|
|
6376
6372
|
attrs: {
|
|
6377
6373
|
"column-name": column.name,
|
|
6378
6374
|
index: index,
|
|
@@ -7187,6 +7183,9 @@ var __vue_render__$2 = function () {
|
|
|
7187
7183
|
selectable:
|
|
7188
7184
|
_vm.instance
|
|
7189
7185
|
.selectable,
|
|
7186
|
+
fieldHasChild:
|
|
7187
|
+
_vm.instance
|
|
7188
|
+
.fieldHasChild,
|
|
7190
7189
|
toggleExpand:
|
|
7191
7190
|
_vm.toggleExpand,
|
|
7192
7191
|
rowIndex: index,
|
|
@@ -7425,7 +7424,7 @@ __vue_render__$2._withStripped = true;
|
|
|
7425
7424
|
/* style */
|
|
7426
7425
|
const __vue_inject_styles__$2 = function (inject) {
|
|
7427
7426
|
if (!inject) return
|
|
7428
|
-
inject("data-v-
|
|
7427
|
+
inject("data-v-484ca13f_0", { source: ".tek-grid .zd-table-cell-text-first {\n display: inline-flex;\n width: 100%;\n}\n.tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 5;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer.theme--light {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer.theme--dark {\n background: #3b3b3b;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-aling-total {\n display: flex !important;\n position: relative;\n justify-content: start;\n align-items: center;\n left: 1.5rem;\n top: -50%;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-aling-total:first-of-type {\n display: inline-block !important;\n top: 0;\n left: 0;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: flex;\n position: relative;\n top: 10px;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 1rem;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.tek-grid-column-filter-menu.theme--light {\n background: #fff;\n}\n.tek-grid-column-filter-menu.theme--dark {\n background: #1e1e1e;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
|
7429
7428
|
|
|
7430
7429
|
};
|
|
7431
7430
|
/* scoped */
|
|
@@ -1793,23 +1793,17 @@
|
|
|
1793
1793
|
? "active"
|
|
1794
1794
|
: "",
|
|
1795
1795
|
],
|
|
1796
|
-
style:
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
column.width ||
|
|
1808
|
-
column.maxWidth ||
|
|
1809
|
-
column.minWidth
|
|
1810
|
-
)
|
|
1811
|
-
: "width: unset",
|
|
1812
|
-
],
|
|
1796
|
+
style: {
|
|
1797
|
+
"background-color":
|
|
1798
|
+
_vm.instance.headerBackground,
|
|
1799
|
+
width: _vm.calcWidth(
|
|
1800
|
+
column,
|
|
1801
|
+
column.width ||
|
|
1802
|
+
column.maxWidth ||
|
|
1803
|
+
column.minWidth,
|
|
1804
|
+
true
|
|
1805
|
+
),
|
|
1806
|
+
},
|
|
1813
1807
|
attrs: {
|
|
1814
1808
|
"column-name": column.name,
|
|
1815
1809
|
index: index,
|
|
@@ -3082,7 +3076,7 @@
|
|
|
3082
3076
|
/* style */
|
|
3083
3077
|
const __vue_inject_styles__$b = function (inject) {
|
|
3084
3078
|
if (!inject) return
|
|
3085
|
-
inject("data-v-
|
|
3079
|
+
inject("data-v-62e752ef_0", { source: ".tek-grid .zd-table-cell-text-first {\n display: inline-flex;\n width: 100%;\n}\n.tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 5;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer.theme--light {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer.theme--dark {\n background: #3b3b3b;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-aling-total {\n display: flex !important;\n position: relative;\n justify-content: start;\n align-items: center;\n left: 1.5rem;\n top: -50%;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-aling-total:first-of-type {\n display: inline-block !important;\n top: 0;\n left: 0;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: flex;\n position: relative;\n top: 10px;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 1rem;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.tek-grid-column-filter-menu.theme--light {\n background: #fff;\n}\n.tek-grid-column-filter-menu.theme--dark {\n background: #1e1e1e;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
|
3086
3080
|
|
|
3087
3081
|
};
|
|
3088
3082
|
/* scoped */
|
|
@@ -4046,7 +4040,7 @@
|
|
|
4046
4040
|
});
|
|
4047
4041
|
const ignoredColumns = grid.columns.filter((column) => this.instance.ignoreColumns.indexOf(column.name) !== -1);
|
|
4048
4042
|
grid.columns = newColumns.concat(ignoredColumns);
|
|
4049
|
-
if (JSON.stringify(groupColumnNames) !== JSON.stringify(grid.groupColumnNames)) {
|
|
4043
|
+
if ((grid.updateGrouping) && JSON.stringify(groupColumnNames) !== JSON.stringify(grid.groupColumnNames)) {
|
|
4050
4044
|
grid.updateGrouping();
|
|
4051
4045
|
}
|
|
4052
4046
|
grid.changeLayout();
|
|
@@ -6093,14 +6087,22 @@
|
|
|
6093
6087
|
return headerElement[0].style.left;
|
|
6094
6088
|
}
|
|
6095
6089
|
setSpanWidth(column) {
|
|
6096
|
-
return column.width;
|
|
6090
|
+
return this.calcWidth(column, column.width);
|
|
6097
6091
|
}
|
|
6098
6092
|
getWidthStyle(column) {
|
|
6099
|
-
|
|
6100
|
-
width:
|
|
6101
|
-
'min-width': this.calcWidth(column, column.minWidth) || 'unset',
|
|
6102
|
-
'max-width': this.calcWidth(column, column.maxWidth) || 'unset',
|
|
6093
|
+
let widthData = {
|
|
6094
|
+
'min-width': '100%',
|
|
6103
6095
|
};
|
|
6096
|
+
if (column.width) {
|
|
6097
|
+
widthData = Object.assign({ width: this.calcWidth(column, column.width) }, widthData);
|
|
6098
|
+
}
|
|
6099
|
+
if (column.minWidth) {
|
|
6100
|
+
widthData = Object.assign({ 'min-width': this.calcWidth(column, column.minWidth) }, widthData);
|
|
6101
|
+
}
|
|
6102
|
+
if (column.maxWidth) {
|
|
6103
|
+
widthData = Object.assign({ 'max-width': this.calcWidth(column, column.maxWidth) }, widthData);
|
|
6104
|
+
}
|
|
6105
|
+
return widthData;
|
|
6104
6106
|
}
|
|
6105
6107
|
};
|
|
6106
6108
|
__decorate([
|
|
@@ -6358,23 +6360,17 @@
|
|
|
6358
6360
|
? "active"
|
|
6359
6361
|
: "",
|
|
6360
6362
|
],
|
|
6361
|
-
style:
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
column.width ||
|
|
6373
|
-
column.maxWidth ||
|
|
6374
|
-
column.minWidth
|
|
6375
|
-
)
|
|
6376
|
-
: "width: unset",
|
|
6377
|
-
],
|
|
6363
|
+
style: {
|
|
6364
|
+
"background-color":
|
|
6365
|
+
_vm.instance.headerBackground,
|
|
6366
|
+
width: _vm.calcWidth(
|
|
6367
|
+
column,
|
|
6368
|
+
column.width ||
|
|
6369
|
+
column.maxWidth ||
|
|
6370
|
+
column.minWidth,
|
|
6371
|
+
true
|
|
6372
|
+
),
|
|
6373
|
+
},
|
|
6378
6374
|
attrs: {
|
|
6379
6375
|
"column-name": column.name,
|
|
6380
6376
|
index: index,
|
|
@@ -7189,6 +7185,9 @@
|
|
|
7189
7185
|
selectable:
|
|
7190
7186
|
_vm.instance
|
|
7191
7187
|
.selectable,
|
|
7188
|
+
fieldHasChild:
|
|
7189
|
+
_vm.instance
|
|
7190
|
+
.fieldHasChild,
|
|
7192
7191
|
toggleExpand:
|
|
7193
7192
|
_vm.toggleExpand,
|
|
7194
7193
|
rowIndex: index,
|
|
@@ -7427,7 +7426,7 @@
|
|
|
7427
7426
|
/* style */
|
|
7428
7427
|
const __vue_inject_styles__$2 = function (inject) {
|
|
7429
7428
|
if (!inject) return
|
|
7430
|
-
inject("data-v-
|
|
7429
|
+
inject("data-v-484ca13f_0", { source: ".tek-grid .zd-table-cell-text-first {\n display: inline-flex;\n width: 100%;\n}\n.tek-grid .zd-grid-toolbar {\n height: 36px;\n}\n.tek-grid .zd-grid-toolbar .zd-grid-toolbar-slot {\n align-items: center;\n}\n.tek-grid .zd-grid-toolbar .toolbar-divider {\n margin: 10px;\n}\n.tek-grid .zd-grid-toolbar .toolbar-title {\n line-height: 22px;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 5;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table thead tr th.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button {\n display: inline-block;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button .v-icon {\n cursor: pointer;\n font-size: 15px;\n width: 15px;\n padding: 0 3px;\n opacity: 0;\n color: #ccc;\n}\n.tek-grid table thead tr th .tek-grid-column-filter-button.has-filter-data .v-icon {\n opacity: 1;\n color: var(--v-primary-base);\n}\n.tek-grid table thead tr th:hover .tek-grid-column-filter-button .v-icon {\n opacity: 1;\n}\n.tek-grid table tbody tr.footer.theme--light {\n background: #f6f6f6;\n}\n.tek-grid table tbody tr.footer.theme--dark {\n background: #3b3b3b;\n}\n.tek-grid table tbody tr.footer td.zd-table-cell {\n font-weight: 700;\n}\n.tek-grid table tbody tr.summary {\n background: #eee;\n}\n.tek-grid table tbody tr.summary td.zd-table-cell {\n font-weight: 700;\n font-size: 15px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header {\n font-weight: bold;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon {\n font-size: 21px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .v-icon.closed {\n transform: rotate(-90deg);\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container {\n position: sticky !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-container .zd-table-group-text {\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-aling-total {\n display: flex !important;\n position: relative;\n justify-content: start;\n align-items: center;\n left: 1.5rem;\n top: -50%;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-aling-total:first-of-type {\n display: inline-block !important;\n top: 0;\n left: 0;\n}\n.tek-grid table tbody tr td.zd-table-cell .zd-table-cell-text {\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column {\n position: sticky !important;\n left: 0;\n z-index: 3;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--light {\n background: #f7f7f7 !important;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-fixed-column.theme--dark {\n background: #3c3c3c !important;\n}\n.tek-grid table tbody tr.current td.zd-table-cell.zd-table-fixed-column {\n color: var(--v-primary-base) !important;\n}\n.tek-grid table .tek-grid-header-group-identation {\n width: 22px;\n display: inline-block;\n vertical-align: middle;\n}\n.tek-grid table .tek-grid-header-group-identation.first-group {\n width: 20px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: flex;\n position: relative;\n top: 10px;\n margin-left: 14px;\n height: 100%;\n border-left: solid 1px #ccc;\n}\n.tek-grid table .tek-grid-body-group-identation.first-group {\n width: 1rem;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer {\n height: 60%;\n border-bottom: solid 1px #ccc;\n top: -25%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tekgrid-actions-dropdown > * {\n display: block;\n}\n.tek-grid-column-filter-menu {\n padding: 12px 12px 0 12px;\n max-height: 300px;\n}\n.tek-grid-column-filter-menu.theme--light {\n background: #fff;\n}\n.tek-grid-column-filter-menu.theme--dark {\n background: #1e1e1e;\n}\n.filter-helper-values-button {\n height: 24px !important;\n margin-left: 5px;\n margin-top: 0;\n}\n.filter-helper-values-button.with-label {\n margin-top: 20px;\n}\n.filter-helper-values-option {\n cursor: pointer;\n}\n.filter-helper-values-option:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}", map: undefined, media: undefined });
|
|
7431
7430
|
|
|
7432
7431
|
};
|
|
7433
7432
|
/* scoped */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-components-vuetify",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.71.0",
|
|
4
4
|
"description": "Teknisa Components based on Vuetify",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"vue": "^2.6.12",
|
|
42
42
|
"vuetify": "^2.4.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "5d07dd32186fce8f874881da6b7fb8327c7b462e"
|
|
45
45
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { TekTreeGrid as TekTreeGridClass, TekGridColumn, ITekGridExportConfig, IDynamicFilterItem, IModalFilterProps } from '@zeedhi/teknisa-components-common';
|
|
3
3
|
import { Column, IComponentRender, Select } from '@zeedhi/common';
|
|
4
4
|
import { IDictionary, IEventParam } from '@zeedhi/core';
|
|
5
|
+
import { IColumnWidths } from '@zeedhi/vuetify/types/components/zd-grid/ZdGridEditable';
|
|
5
6
|
declare const ZdTreeGridEditable: import("vue").VueConstructor<import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue-property-decorator").Vue<Record<string, any>, Record<string, any>, never, never, any>>>;
|
|
6
7
|
/**
|
|
7
8
|
* TekGrid component
|
|
@@ -60,11 +61,7 @@ export default class TekGrid extends ZdTreeGridEditable {
|
|
|
60
61
|
private tableBody;
|
|
61
62
|
private updateFixedColumns;
|
|
62
63
|
getFixedLeft(column: TekGridColumn): string;
|
|
63
|
-
setSpanWidth(column: Column):
|
|
64
|
-
getWidthStyle(column: Column):
|
|
65
|
-
width: any;
|
|
66
|
-
'min-width': any;
|
|
67
|
-
'max-width': any;
|
|
68
|
-
};
|
|
64
|
+
setSpanWidth(column: Column): any;
|
|
65
|
+
getWidthStyle(column: Column): IColumnWidths;
|
|
69
66
|
}
|
|
70
67
|
export {};
|