@zeedhi/teknisa-components-vuetify 1.99.0 → 1.100.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.
|
@@ -1447,6 +1447,14 @@ let TekGrid$1 = class TekGrid extends ZdGridEditable {
|
|
|
1447
1447
|
this.instance.rowClick(row, event, this.$el);
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
|
+
rowDoubleClick(row, event) {
|
|
1451
|
+
if (row.group || row.groupFooter || row.groupSummary) {
|
|
1452
|
+
this.instance.groupRowDoubleClick(row, event, this.$el);
|
|
1453
|
+
}
|
|
1454
|
+
else {
|
|
1455
|
+
this.instance.rowDoubleClick(row, event, this.$el);
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1450
1458
|
orderHeaders(headers) {
|
|
1451
1459
|
return headers.sort((a, b) => {
|
|
1452
1460
|
if (a.fixed === b.fixed)
|
|
@@ -1619,6 +1627,9 @@ __decorate([
|
|
|
1619
1627
|
__decorate([
|
|
1620
1628
|
PropWatch({ type: [String, Boolean], default: true })
|
|
1621
1629
|
], TekGrid$1.prototype, "mainGrid", void 0);
|
|
1630
|
+
__decorate([
|
|
1631
|
+
PropWatch({ type: [String], default: undefined })
|
|
1632
|
+
], TekGrid$1.prototype, "xlsDefaultType", void 0);
|
|
1622
1633
|
__decorate([
|
|
1623
1634
|
PropWatch({
|
|
1624
1635
|
type: [String, Boolean],
|
|
@@ -2113,6 +2124,9 @@ var __vue_render__$g = function () {
|
|
|
2113
2124
|
click: function ($event) {
|
|
2114
2125
|
return _vm.rowClick(item, $event)
|
|
2115
2126
|
},
|
|
2127
|
+
dblclick: function ($event) {
|
|
2128
|
+
return _vm.rowDoubleClick(item, $event)
|
|
2129
|
+
},
|
|
2116
2130
|
},
|
|
2117
2131
|
},
|
|
2118
2132
|
[
|
|
@@ -2247,6 +2261,9 @@ var __vue_render__$g = function () {
|
|
|
2247
2261
|
click: function ($event) {
|
|
2248
2262
|
return _vm.rowClick(item, $event)
|
|
2249
2263
|
},
|
|
2264
|
+
dblclick: function ($event) {
|
|
2265
|
+
return _vm.rowDoubleClick(item, $event)
|
|
2266
|
+
},
|
|
2250
2267
|
},
|
|
2251
2268
|
},
|
|
2252
2269
|
[
|
|
@@ -2837,7 +2854,7 @@ __vue_render__$g._withStripped = true;
|
|
|
2837
2854
|
/* style */
|
|
2838
2855
|
const __vue_inject_styles__$g = function (inject) {
|
|
2839
2856
|
if (!inject) return
|
|
2840
|
-
inject("data-v-
|
|
2857
|
+
inject("data-v-6e8402c4_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 .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-first-group-cell {\n display: flex;\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 .zd-table-group-two-plus-container {\n display: flex;\n height: 100%;\n align-items: center;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation {\n top: unset;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation :not(.first-group) {\n margin-left: 10px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation.first-group {\n width: 14px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation:not(.first-group) {\n top: unset;\n margin-left: 10px;\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-text {\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.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 .zd-table-two-plus-groups {\n display: flex !important;\n}\n.tek-grid table .zd-table-two-plus-groups .zd-table-cell-text {\n position: unset !important;\n}\n.tek-grid table .zd-table-two-plus-groups .tek-grid-body-group-identation {\n top: unset !important;\n}\n.tek-grid table .zd-table-two-plus-groups .tek-grid-body-group-identation:not(.first-group) {\n top: unset;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: flex;\n position: relative;\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: -10%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid table .footer .zd-grid-row-checkbox {\n display: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tek-grid-export-landscape i {\n transform: rotate(-90deg);\n}\n.tek-grid-export-multioption-text {\n padding-left: 3px;\n font-size: var(--zd-font-body4-size);\n font-weight: var(--zd-font-body4-weight);\n cursor: default;\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 });
|
|
2841
2858
|
|
|
2842
2859
|
};
|
|
2843
2860
|
/* scoped */
|
|
@@ -1447,6 +1447,14 @@
|
|
|
1447
1447
|
this.instance.rowClick(row, event, this.$el);
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
|
+
rowDoubleClick(row, event) {
|
|
1451
|
+
if (row.group || row.groupFooter || row.groupSummary) {
|
|
1452
|
+
this.instance.groupRowDoubleClick(row, event, this.$el);
|
|
1453
|
+
}
|
|
1454
|
+
else {
|
|
1455
|
+
this.instance.rowDoubleClick(row, event, this.$el);
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1450
1458
|
orderHeaders(headers) {
|
|
1451
1459
|
return headers.sort((a, b) => {
|
|
1452
1460
|
if (a.fixed === b.fixed)
|
|
@@ -1619,6 +1627,9 @@
|
|
|
1619
1627
|
__decorate([
|
|
1620
1628
|
vuetify.PropWatch({ type: [String, Boolean], default: true })
|
|
1621
1629
|
], TekGrid$1.prototype, "mainGrid", void 0);
|
|
1630
|
+
__decorate([
|
|
1631
|
+
vuetify.PropWatch({ type: [String], default: undefined })
|
|
1632
|
+
], TekGrid$1.prototype, "xlsDefaultType", void 0);
|
|
1622
1633
|
__decorate([
|
|
1623
1634
|
vuetify.PropWatch({
|
|
1624
1635
|
type: [String, Boolean],
|
|
@@ -2113,6 +2124,9 @@
|
|
|
2113
2124
|
click: function ($event) {
|
|
2114
2125
|
return _vm.rowClick(item, $event)
|
|
2115
2126
|
},
|
|
2127
|
+
dblclick: function ($event) {
|
|
2128
|
+
return _vm.rowDoubleClick(item, $event)
|
|
2129
|
+
},
|
|
2116
2130
|
},
|
|
2117
2131
|
},
|
|
2118
2132
|
[
|
|
@@ -2247,6 +2261,9 @@
|
|
|
2247
2261
|
click: function ($event) {
|
|
2248
2262
|
return _vm.rowClick(item, $event)
|
|
2249
2263
|
},
|
|
2264
|
+
dblclick: function ($event) {
|
|
2265
|
+
return _vm.rowDoubleClick(item, $event)
|
|
2266
|
+
},
|
|
2250
2267
|
},
|
|
2251
2268
|
},
|
|
2252
2269
|
[
|
|
@@ -2837,7 +2854,7 @@
|
|
|
2837
2854
|
/* style */
|
|
2838
2855
|
const __vue_inject_styles__$g = function (inject) {
|
|
2839
2856
|
if (!inject) return
|
|
2840
|
-
inject("data-v-
|
|
2857
|
+
inject("data-v-6e8402c4_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 .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-first-group-cell {\n display: flex;\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 .zd-table-group-two-plus-container {\n display: flex;\n height: 100%;\n align-items: center;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation {\n top: unset;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation :not(.first-group) {\n margin-left: 10px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation.first-group {\n width: 14px;\n}\n.tek-grid table tbody tr td.zd-table-cell.zd-table-group-header .zd-table-group-two-plus-container .tek-grid-body-group-identation:not(.first-group) {\n top: unset;\n margin-left: 10px;\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-text {\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.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 .zd-table-two-plus-groups {\n display: flex !important;\n}\n.tek-grid table .zd-table-two-plus-groups .zd-table-cell-text {\n position: unset !important;\n}\n.tek-grid table .zd-table-two-plus-groups .tek-grid-body-group-identation {\n top: unset !important;\n}\n.tek-grid table .zd-table-two-plus-groups .tek-grid-body-group-identation:not(.first-group) {\n top: unset;\n margin-left: 10px;\n}\n.tek-grid table .tek-grid-body-group-identation {\n width: 8px;\n display: flex;\n position: relative;\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: -10%;\n}\n.tek-grid table .tek-grid-body-group-identation.group-footer-no-line {\n border-left: none;\n}\n.tek-grid table .footer .zd-grid-row-checkbox {\n display: none;\n}\n.tek-grid .zd-skeleton-table-cell .v-skeleton-loader__table-cell {\n height: auto;\n}\n.tek-grid-export-landscape i {\n transform: rotate(-90deg);\n}\n.tek-grid-export-multioption-text {\n padding-left: 3px;\n font-size: var(--zd-font-body4-size);\n font-weight: var(--zd-font-body4-weight);\n cursor: default;\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 });
|
|
2841
2858
|
|
|
2842
2859
|
};
|
|
2843
2860
|
/* scoped */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/teknisa-components-vuetify",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.100.0",
|
|
4
4
|
"description": "Teknisa Components based on Vuetify",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"vue": "2.7.*",
|
|
45
45
|
"vuetify": "2.6.*"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "03b060bbaccd9160fe19a9e661cbb4ce853bf6e3"
|
|
48
48
|
}
|
|
@@ -27,6 +27,7 @@ export default class TekGrid extends ZdGridEditable {
|
|
|
27
27
|
groupsOpened: boolean | string;
|
|
28
28
|
showSummaryTotal: boolean | string;
|
|
29
29
|
mainGrid: boolean | string;
|
|
30
|
+
xlsDefaultType: string;
|
|
30
31
|
showCheckboxAllFilter: boolean | string;
|
|
31
32
|
defaultFilter: IDictionary;
|
|
32
33
|
toolbarSlot: IComponentRender[];
|
|
@@ -63,7 +64,8 @@ export default class TekGrid extends ZdGridEditable {
|
|
|
63
64
|
isCurrentRow(row: IDictionary<any>): boolean;
|
|
64
65
|
getVisibleData(): void;
|
|
65
66
|
getData(): IDictionary<any>[];
|
|
66
|
-
rowClick(row: IDictionary<any>, event:
|
|
67
|
+
rowClick(row: IDictionary<any>, event: MouseEvent): void;
|
|
68
|
+
rowDoubleClick(row: IDictionary<any>, event: MouseEvent): void;
|
|
67
69
|
orderHeaders(headers: TekGridColumn[]): TekGridColumn[];
|
|
68
70
|
isGroupSelected(item: ITekGridGroupHeader): boolean;
|
|
69
71
|
isGroupSelectIndeterminate(item: ITekGridGroupHeader): boolean;
|