@ng-matero/extensions 10.16.1 → 10.16.5
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/alert/_alert-theme.scss +20 -20
- package/alert/alert.component.d.ts +4 -3
- package/alert/mtxAlert.metadata.json +1 -1
- package/bundles/mtxAlert.umd.js +3 -3
- package/bundles/mtxAlert.umd.js.map +1 -1
- package/bundles/mtxAlert.umd.min.js.map +1 -1
- package/bundles/{ng-matero-extensions-button.umd.js → mtxButton.umd.js} +2 -2
- package/bundles/mtxButton.umd.js.map +1 -0
- package/bundles/{ng-matero-extensions-button.umd.min.js → mtxButton.umd.min.js} +1 -1
- package/bundles/{ng-matero-extensions-button.umd.min.js.map → mtxButton.umd.min.js.map} +0 -0
- package/bundles/mtxCheckboxGroup.umd.js +87 -22
- package/bundles/mtxCheckboxGroup.umd.js.map +1 -1
- package/bundles/mtxCheckboxGroup.umd.min.js +1 -1
- package/bundles/mtxCheckboxGroup.umd.min.js.map +1 -1
- package/bundles/mtxColorPicker.umd.js +32 -5
- package/bundles/mtxColorPicker.umd.js.map +1 -1
- package/bundles/mtxColorPicker.umd.min.js +1 -1
- package/bundles/mtxColorPicker.umd.min.js.map +1 -1
- package/bundles/mtxDialog.umd.js +0 -2
- package/bundles/mtxDialog.umd.js.map +1 -1
- package/bundles/mtxDialog.umd.min.js +1 -1
- package/bundles/mtxDialog.umd.min.js.map +1 -1
- package/bundles/mtxFormGroup.umd.js +2 -0
- package/bundles/mtxFormGroup.umd.js.map +1 -1
- package/bundles/mtxFormGroup.umd.min.js +1 -1
- package/bundles/mtxFormGroup.umd.min.js.map +1 -1
- package/bundles/mtxGrid.umd.js +31 -101
- package/bundles/mtxGrid.umd.js.map +1 -1
- package/bundles/mtxGrid.umd.min.js +2 -2
- package/bundles/mtxGrid.umd.min.js.map +1 -1
- package/bundles/mtxLoader.umd.js +1 -1
- package/bundles/mtxLoader.umd.js.map +1 -1
- package/bundles/mtxLoader.umd.min.js +1 -1
- package/bundles/mtxLoader.umd.min.js.map +1 -1
- package/bundles/mtxProgress.umd.js +2 -2
- package/bundles/mtxProgress.umd.js.map +1 -1
- package/bundles/mtxProgress.umd.min.js.map +1 -1
- package/bundles/mtxSelect.umd.js +5 -1
- package/bundles/mtxSelect.umd.js.map +1 -1
- package/bundles/mtxSelect.umd.min.js +1 -1
- package/bundles/mtxSelect.umd.min.js.map +1 -1
- package/bundles/mtxTooltip.umd.js +1 -1
- package/bundles/mtxTooltip.umd.js.map +1 -1
- package/bundles/mtxTooltip.umd.min.js +1 -1
- package/bundles/mtxTooltip.umd.min.js.map +1 -1
- package/bundles/mtxUtils.umd.js.map +1 -1
- package/bundles/mtxUtils.umd.min.js.map +1 -1
- package/button/{ng-matero-extensions-button.d.ts → mtxButton.d.ts} +0 -0
- package/button/{ng-matero-extensions-button.metadata.json → mtxButton.metadata.json} +0 -0
- package/button/package.json +7 -7
- package/checkbox-group/checkbox-group.component.d.ts +15 -11
- package/checkbox-group/mtxCheckboxGroup.metadata.json +1 -1
- package/color-picker/color-picker.component.d.ts +10 -9
- package/color-picker/mtxColorPicker.metadata.json +1 -1
- package/data-grid/_grid-theme.scss +14 -32
- package/data-grid/cell.component.d.ts +2 -1
- package/data-grid/column-menu.component.d.ts +4 -3
- package/data-grid/grid.component.d.ts +7 -20
- package/data-grid/grid.component.scss +51 -5
- package/data-grid/grid.interface.d.ts +18 -36
- package/data-grid/mtxGrid.metadata.json +1 -1
- package/dialog/dialog.config.d.ts +3 -2
- package/dialog/mtxDialog.metadata.json +1 -1
- package/esm2015/alert/alert.component.js +4 -4
- package/esm2015/button/mtxButton.js +10 -0
- package/esm2015/checkbox-group/checkbox-group.component.js +77 -20
- package/esm2015/color-picker/color-picker.component.js +29 -6
- package/esm2015/data-grid/cell.component.js +2 -2
- package/esm2015/data-grid/column-menu.component.js +1 -2
- package/esm2015/data-grid/grid.component.js +32 -100
- package/esm2015/data-grid/grid.interface.js +12 -11
- package/esm2015/dialog/dialog.config.js +1 -1
- package/esm2015/dialog/dialog.js +1 -3
- package/esm2015/form-group/form-group.component.js +4 -2
- package/esm2015/loader/loader.component.js +2 -2
- package/esm2015/progress/progress.component.js +3 -3
- package/esm2015/select/select.component.js +6 -2
- package/esm2015/tooltip/tooltip.js +2 -2
- package/esm2015/utils/to-observable.pipe.js +1 -1
- package/fesm2015/mtxAlert.js +3 -3
- package/fesm2015/mtxAlert.js.map +1 -1
- package/fesm2015/{ng-matero-extensions-button.js → mtxButton.js} +2 -2
- package/fesm2015/mtxButton.js.map +1 -0
- package/fesm2015/mtxCheckboxGroup.js +76 -19
- package/fesm2015/mtxCheckboxGroup.js.map +1 -1
- package/fesm2015/mtxColorPicker.js +28 -5
- package/fesm2015/mtxColorPicker.js.map +1 -1
- package/fesm2015/mtxDialog.js +0 -2
- package/fesm2015/mtxDialog.js.map +1 -1
- package/fesm2015/mtxFormGroup.js +3 -1
- package/fesm2015/mtxFormGroup.js.map +1 -1
- package/fesm2015/mtxGrid.js +43 -111
- package/fesm2015/mtxGrid.js.map +1 -1
- package/fesm2015/mtxLoader.js +1 -1
- package/fesm2015/mtxLoader.js.map +1 -1
- package/fesm2015/mtxProgress.js +2 -2
- package/fesm2015/mtxProgress.js.map +1 -1
- package/fesm2015/mtxSelect.js +5 -1
- package/fesm2015/mtxSelect.js.map +1 -1
- package/fesm2015/mtxTooltip.js +1 -1
- package/fesm2015/mtxTooltip.js.map +1 -1
- package/fesm2015/mtxUtils.js.map +1 -1
- package/form-group/mtxFormGroup.metadata.json +1 -1
- package/loader/loader.component.d.ts +2 -1
- package/loader/mtxLoader.metadata.json +1 -1
- package/package.json +1 -1
- package/progress/mtxProgress.metadata.json +1 -1
- package/progress/progress.component.d.ts +3 -2
- package/select/_select-theme.scss +18 -18
- package/select/mtxSelect.metadata.json +1 -1
- package/select/select.component.d.ts +4 -1
- package/tooltip/mtxTooltip.metadata.json +1 -1
- package/utils/to-observable.pipe.d.ts +1 -1
- package/bundles/ng-matero-extensions-button.umd.js.map +0 -1
- package/esm2015/button/ng-matero-extensions-button.js +0 -10
- package/fesm2015/ng-matero-extensions-button.js.map +0 -1
package/fesm2015/mtxGrid.js
CHANGED
|
@@ -100,14 +100,13 @@ class MtxGridComponent {
|
|
|
100
100
|
constructor(_dataGridSrv, _changeDetectorRef) {
|
|
101
101
|
this._dataGridSrv = _dataGridSrv;
|
|
102
102
|
this._changeDetectorRef = _changeDetectorRef;
|
|
103
|
-
this.dataSource = new MatTableDataSource(
|
|
103
|
+
this.dataSource = new MatTableDataSource();
|
|
104
104
|
this.columns = [];
|
|
105
105
|
this.data = [];
|
|
106
106
|
this.length = 0;
|
|
107
107
|
this.loading = false;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
*/
|
|
108
|
+
this.columnResizable = false;
|
|
109
|
+
// Page
|
|
111
110
|
this.pageOnFront = true;
|
|
112
111
|
this.showPaginator = true;
|
|
113
112
|
this.pageDisabled = false;
|
|
@@ -117,23 +116,17 @@ class MtxGridComponent {
|
|
|
117
116
|
this.pageSizeOptions = [10, 50, 100];
|
|
118
117
|
this.hidePageSize = false;
|
|
119
118
|
this.page = new EventEmitter();
|
|
120
|
-
|
|
121
|
-
* Sort
|
|
122
|
-
*/
|
|
119
|
+
// Sort
|
|
123
120
|
this.sortOnFront = true;
|
|
124
121
|
this.sortDisableClear = false;
|
|
125
122
|
this.sortDisabled = false;
|
|
126
123
|
this.sortStart = 'asc';
|
|
127
124
|
this.sortChange = new EventEmitter();
|
|
128
|
-
|
|
129
|
-
* Row
|
|
130
|
-
*/
|
|
125
|
+
// Row
|
|
131
126
|
this.rowHover = false;
|
|
132
127
|
this.rowStriped = false;
|
|
133
128
|
this.rowClick = new EventEmitter();
|
|
134
|
-
|
|
135
|
-
* Expandable row
|
|
136
|
-
*/
|
|
129
|
+
// Expansion
|
|
137
130
|
this.expansionRowStates = [];
|
|
138
131
|
this.expandable = false;
|
|
139
132
|
this.expansionChange = new EventEmitter();
|
|
@@ -141,34 +134,25 @@ class MtxGridComponent {
|
|
|
141
134
|
* Whether support multiple row/cell selection
|
|
142
135
|
*/
|
|
143
136
|
this.multiSelectable = true;
|
|
144
|
-
|
|
145
|
-
* Row selection
|
|
146
|
-
*/
|
|
137
|
+
// Row selection
|
|
147
138
|
this.rowSelection = new SelectionModel(true, []);
|
|
148
139
|
this.rowSelected = [];
|
|
149
140
|
this.rowSelectable = false;
|
|
150
141
|
this.hideRowSelectionCheckbox = false;
|
|
151
142
|
this.rowSelectionFormatter = {};
|
|
152
143
|
this.rowSelectionChange = new EventEmitter();
|
|
153
|
-
|
|
154
|
-
* Cell selection
|
|
155
|
-
*/
|
|
144
|
+
// Cell selection
|
|
156
145
|
this.cellSelection = [];
|
|
157
146
|
this.cellSelectable = true;
|
|
158
147
|
this.cellSelectionChange = new EventEmitter();
|
|
159
|
-
|
|
160
|
-
* Toolbar
|
|
161
|
-
*/
|
|
148
|
+
// Toolbar
|
|
162
149
|
this.showToolbar = false;
|
|
163
150
|
this.toolbarTitle = '';
|
|
164
|
-
|
|
165
|
-
* Column menu
|
|
166
|
-
*/
|
|
151
|
+
// Column menu
|
|
167
152
|
this.columnMenuData = [];
|
|
168
153
|
this.showColumnMenuButton = true;
|
|
169
154
|
this.columnMenuButtonText = '';
|
|
170
155
|
this.columnMenuButtonType = 'stroked';
|
|
171
|
-
this.columnMenuButtonColor = '';
|
|
172
156
|
this.columnMenuButtonClass = '';
|
|
173
157
|
this.columnMenuButtonIcon = '';
|
|
174
158
|
this.columnHideable = true;
|
|
@@ -180,22 +164,12 @@ class MtxGridComponent {
|
|
|
180
164
|
this.columnMenuHeaderText = 'Columns Header';
|
|
181
165
|
this.showColumnMenuFooter = false;
|
|
182
166
|
this.columnMenuFooterText = 'Columns Footer';
|
|
183
|
-
|
|
184
|
-
* No Result
|
|
185
|
-
*/
|
|
167
|
+
// No Result
|
|
186
168
|
this.noResultText = 'No records found';
|
|
187
|
-
|
|
188
|
-
* tfoot
|
|
189
|
-
*/
|
|
169
|
+
// Summary
|
|
190
170
|
this.showSummary = false;
|
|
191
|
-
|
|
192
|
-
* Sidebar
|
|
193
|
-
*/
|
|
171
|
+
// Sidebar
|
|
194
172
|
this.showSidebar = false;
|
|
195
|
-
/**
|
|
196
|
-
* Column resizable
|
|
197
|
-
*/
|
|
198
|
-
this.columnResizable = false;
|
|
199
173
|
}
|
|
200
174
|
/**
|
|
201
175
|
* @return {?}
|
|
@@ -590,7 +564,7 @@ MtxGridComponent.decorators = [
|
|
|
590
564
|
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
|
|
591
565
|
]),
|
|
592
566
|
],
|
|
593
|
-
styles: [".mtx-grid{display:flex;flex-direction:column;position:relative;width:100%}.mtx-grid .mat-table-container{overflow:auto}.mtx-grid .mat-table-container.mat-table-with-data{flex:1}.mtx-grid .mat-table:not(.mat-column-resize-table){border-collapse:separate;min-width:100%}.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-cell:not(.mtx-grid-checkbox-cell),.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-footer-cell:not(.mtx-grid-checkbox-cell),.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-header-cell:not(.mtx-grid-checkbox-cell){min-width:80px}.mtx-grid .mat-cell,.mtx-grid .mat-footer-cell,.mtx-grid .mat-header-cell{box-sizing:border-box;padding:4px 10px}.mtx-grid .mat-cell.mtx-grid-checkbox-cell,.mtx-grid .mat-footer-cell.mtx-grid-checkbox-cell,.mtx-grid .mat-header-cell.mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-cell.mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-footer-cell.mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-header-cell.mtx-grid-checkbox-cell{padding-left:10px;padding-right:10px}.mtx-grid .mat-cell .mat-icon-button.expanded .mat-icon{transform:rotate(90deg)}.mtx-grid .mat-row.mtx-grid-expansion{height:0;overflow:hidden}.mtx-grid .mat-row.mtx-grid-expansion .mat-cell{padding-bottom:0;padding-top:0}.mtx-grid .mat-row.mtx-grid-expansion.collapsed .mat-cell,.mtx-grid .mat-row:last-of-type .mat-cell{border-bottom-width:0}.mtx-grid .mat-sort-header-icon{font-size:18px;height:18px;margin:0 4px;width:18px}.mtx-grid .mat-header-cell-inner{align-items:center;display:flex}.mtx-grid .mat-paginator-hidden{display:none}.mtx-grid-progress{position:absolute;top:0;width:100%;z-index:120}.mtx-grid-toolbar{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;min-height:48px;padding:8px}.mtx-grid-layout{display:flex;flex:1 1 auto;overflow:auto}.mtx-grid-content{flex-direction:column;width:0}.mtx-grid-sidebar{max-width:50%}.mtx-grid-no-result{align-items:center;display:flex;flex:1;justify-content:center;min-height:150px}.mtx-grid-expansion-placeholder{display:inline-block;height:40px;vertical-align:middle;width:40px}.mtx-grid-expansion-detail{align-items:center;display:flex;min-height:48px;overflow:hidden}.mtx-grid-checkbox-cell{flex:none;justify-content:center;min-width:56px;width:56px}.mtx-grid-checkbox-cell .mat-checkbox{display:flex;margin:0 10px}.mtx-grid-checkbox-cell .mat-checkbox-inner-container{margin-left:0}.mat-table-sticky{position:-webkit-sticky!important;position:sticky!important}"]
|
|
567
|
+
styles: [".mtx-grid{display:flex;flex-direction:column;position:relative;width:100%}.mtx-grid .mat-table-container{overflow:auto}.mtx-grid .mat-table-container.mat-table-with-data{flex:1}.mtx-grid .mat-table:not(.mat-column-resize-table){border-collapse:separate;min-width:100%}.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-cell:not(.mtx-grid-checkbox-cell),.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-footer-cell:not(.mtx-grid-checkbox-cell),.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-header-cell:not(.mtx-grid-checkbox-cell){min-width:80px}.mtx-grid .mat-table-sticky-left{border-right-style:solid;border-right-width:1px}[dir=rtl] .mtx-grid .mat-table-sticky-left{border-right-width:0}.mtx-grid .mat-table-sticky-right,[dir=rtl] .mtx-grid .mat-table-sticky-left{border-left-style:solid;border-left-width:1px}[dir=rtl] .mtx-grid .mat-table-sticky-right{border-left-width:0;border-right-style:solid;border-right-width:1px}.mtx-grid .mat-cell,.mtx-grid .mat-footer-cell,.mtx-grid .mat-header-cell{box-sizing:border-box;padding:4px 10px}.mtx-grid .mat-cell:first-of-type:not(:only-of-type),.mtx-grid .mat-footer-cell:first-of-type:not(:only-of-type),.mtx-grid .mat-header-cell:first-of-type:not(:only-of-type){padding-left:24px}.mtx-grid .mat-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,.mtx-grid .mat-footer-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,.mtx-grid .mat-header-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell{padding-left:10px;padding-right:10px}[dir=rtl] .mtx-grid .mat-cell:first-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-footer-cell:first-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-header-cell:first-of-type:not(:only-of-type){padding-left:10px;padding-right:24px}[dir=rtl] .mtx-grid .mat-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-footer-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-header-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell{padding-left:10px;padding-right:10px}.mtx-grid .mat-cell:last-of-type:not(:only-of-type),.mtx-grid .mat-footer-cell:last-of-type:not(:only-of-type),.mtx-grid .mat-header-cell:last-of-type:not(:only-of-type){padding-right:24px}[dir=rtl] .mtx-grid .mat-cell:last-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-footer-cell:last-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-header-cell:last-of-type:not(:only-of-type){padding-left:24px;padding-right:10px}.mtx-grid .mat-cell .mat-icon-button.expanded .mat-icon{transform:rotate(90deg)}.mtx-grid .mat-row.mtx-grid-expansion{height:0;overflow:hidden}.mtx-grid .mat-row.mtx-grid-expansion .mat-cell{padding-bottom:0;padding-top:0}.mtx-grid .mat-row.mtx-grid-expansion.collapsed .mat-cell,.mtx-grid .mat-row:last-of-type .mat-cell{border-bottom-width:0}.mtx-grid .mat-sort-header-icon{font-size:18px;height:18px;margin:0 4px;width:18px}.mtx-grid .mat-header-cell-inner{align-items:center;display:flex}.mtx-grid .mat-paginator-hidden{display:none}.mtx-grid-progress{position:absolute;top:0;width:100%;z-index:120}.mtx-grid-toolbar{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;min-height:48px;padding:8px}.mtx-grid-layout{display:flex;flex:1 1 auto;overflow:auto}.mtx-grid-content{flex-direction:column;width:0}.mtx-grid-sidebar{border-left-style:solid;border-left-width:1px;max-width:50%}[dir=rtl] .mtx-grid-sidebar{border-left-width:0;border-right-style:solid;border-right-width:1px}.mtx-grid-no-result{align-items:center;display:flex;flex:1;justify-content:center;min-height:150px}.mtx-grid-expansion-placeholder{display:inline-block;height:40px;vertical-align:middle;width:40px}.mtx-grid-expansion-detail{align-items:center;display:flex;min-height:48px;overflow:hidden}.mtx-grid-checkbox-cell{flex:none;justify-content:center;min-width:56px;width:56px}.mtx-grid-checkbox-cell .mat-checkbox{display:flex;margin:0 10px}.mtx-grid-checkbox-cell .mat-checkbox-inner-container{margin-left:0}.mat-table-sticky{position:-webkit-sticky!important;position:sticky!important}"]
|
|
594
568
|
}] }
|
|
595
569
|
];
|
|
596
570
|
/** @nocollapse */
|
|
@@ -609,6 +583,7 @@ MtxGridComponent.propDecorators = {
|
|
|
609
583
|
length: [{ type: Input }],
|
|
610
584
|
loading: [{ type: Input }],
|
|
611
585
|
trackBy: [{ type: Input }],
|
|
586
|
+
columnResizable: [{ type: Input }],
|
|
612
587
|
pageOnFront: [{ type: Input }],
|
|
613
588
|
showPaginator: [{ type: Input }],
|
|
614
589
|
pageDisabled: [{ type: Input }],
|
|
@@ -668,8 +643,7 @@ MtxGridComponent.propDecorators = {
|
|
|
668
643
|
showSummary: [{ type: Input }],
|
|
669
644
|
summaryTemplate: [{ type: Input }],
|
|
670
645
|
showSidebar: [{ type: Input }],
|
|
671
|
-
sidebarTemplate: [{ type: Input }]
|
|
672
|
-
columnResizable: [{ type: Input }]
|
|
646
|
+
sidebarTemplate: [{ type: Input }]
|
|
673
647
|
};
|
|
674
648
|
if (false) {
|
|
675
649
|
/** @type {?} */
|
|
@@ -694,10 +668,9 @@ if (false) {
|
|
|
694
668
|
MtxGridComponent.prototype.loading;
|
|
695
669
|
/** @type {?} */
|
|
696
670
|
MtxGridComponent.prototype.trackBy;
|
|
697
|
-
/**
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
*/
|
|
671
|
+
/** @type {?} */
|
|
672
|
+
MtxGridComponent.prototype.columnResizable;
|
|
673
|
+
/** @type {?} */
|
|
701
674
|
MtxGridComponent.prototype.pageOnFront;
|
|
702
675
|
/** @type {?} */
|
|
703
676
|
MtxGridComponent.prototype.showPaginator;
|
|
@@ -715,10 +688,7 @@ if (false) {
|
|
|
715
688
|
MtxGridComponent.prototype.hidePageSize;
|
|
716
689
|
/** @type {?} */
|
|
717
690
|
MtxGridComponent.prototype.page;
|
|
718
|
-
/**
|
|
719
|
-
* Sort
|
|
720
|
-
* @type {?}
|
|
721
|
-
*/
|
|
691
|
+
/** @type {?} */
|
|
722
692
|
MtxGridComponent.prototype.sortOnFront;
|
|
723
693
|
/** @type {?} */
|
|
724
694
|
MtxGridComponent.prototype.sortActive;
|
|
@@ -732,19 +702,13 @@ if (false) {
|
|
|
732
702
|
MtxGridComponent.prototype.sortStart;
|
|
733
703
|
/** @type {?} */
|
|
734
704
|
MtxGridComponent.prototype.sortChange;
|
|
735
|
-
/**
|
|
736
|
-
* Row
|
|
737
|
-
* @type {?}
|
|
738
|
-
*/
|
|
705
|
+
/** @type {?} */
|
|
739
706
|
MtxGridComponent.prototype.rowHover;
|
|
740
707
|
/** @type {?} */
|
|
741
708
|
MtxGridComponent.prototype.rowStriped;
|
|
742
709
|
/** @type {?} */
|
|
743
710
|
MtxGridComponent.prototype.rowClick;
|
|
744
|
-
/**
|
|
745
|
-
* Expandable row
|
|
746
|
-
* @type {?}
|
|
747
|
-
*/
|
|
711
|
+
/** @type {?} */
|
|
748
712
|
MtxGridComponent.prototype.expansionRowStates;
|
|
749
713
|
/** @type {?} */
|
|
750
714
|
MtxGridComponent.prototype.expandable;
|
|
@@ -757,10 +721,7 @@ if (false) {
|
|
|
757
721
|
* @type {?}
|
|
758
722
|
*/
|
|
759
723
|
MtxGridComponent.prototype.multiSelectable;
|
|
760
|
-
/**
|
|
761
|
-
* Row selection
|
|
762
|
-
* @type {?}
|
|
763
|
-
*/
|
|
724
|
+
/** @type {?} */
|
|
764
725
|
MtxGridComponent.prototype.rowSelection;
|
|
765
726
|
/** @type {?} */
|
|
766
727
|
MtxGridComponent.prototype.rowSelected;
|
|
@@ -774,10 +735,7 @@ if (false) {
|
|
|
774
735
|
MtxGridComponent.prototype.rowClassFormatter;
|
|
775
736
|
/** @type {?} */
|
|
776
737
|
MtxGridComponent.prototype.rowSelectionChange;
|
|
777
|
-
/**
|
|
778
|
-
* Cell selection
|
|
779
|
-
* @type {?}
|
|
780
|
-
*/
|
|
738
|
+
/** @type {?} */
|
|
781
739
|
MtxGridComponent.prototype.cellSelection;
|
|
782
740
|
/** @type {?} */
|
|
783
741
|
MtxGridComponent.prototype.cellSelectable;
|
|
@@ -788,19 +746,13 @@ if (false) {
|
|
|
788
746
|
* @private
|
|
789
747
|
*/
|
|
790
748
|
MtxGridComponent.prototype._selectedCell;
|
|
791
|
-
/**
|
|
792
|
-
* Toolbar
|
|
793
|
-
* @type {?}
|
|
794
|
-
*/
|
|
749
|
+
/** @type {?} */
|
|
795
750
|
MtxGridComponent.prototype.showToolbar;
|
|
796
751
|
/** @type {?} */
|
|
797
752
|
MtxGridComponent.prototype.toolbarTitle;
|
|
798
753
|
/** @type {?} */
|
|
799
754
|
MtxGridComponent.prototype.toolbarTemplate;
|
|
800
|
-
/**
|
|
801
|
-
* Column menu
|
|
802
|
-
* @type {?}
|
|
803
|
-
*/
|
|
755
|
+
/** @type {?} */
|
|
804
756
|
MtxGridComponent.prototype.columnMenuData;
|
|
805
757
|
/** @type {?} */
|
|
806
758
|
MtxGridComponent.prototype.showColumnMenuButton;
|
|
@@ -836,44 +788,24 @@ if (false) {
|
|
|
836
788
|
MtxGridComponent.prototype.columnMenuFooterText;
|
|
837
789
|
/** @type {?} */
|
|
838
790
|
MtxGridComponent.prototype.columnMenuFooterTemplate;
|
|
839
|
-
/**
|
|
840
|
-
* No Result
|
|
841
|
-
* @type {?}
|
|
842
|
-
*/
|
|
791
|
+
/** @type {?} */
|
|
843
792
|
MtxGridComponent.prototype.noResultText;
|
|
844
793
|
/** @type {?} */
|
|
845
794
|
MtxGridComponent.prototype.noResultTemplate;
|
|
846
|
-
/**
|
|
847
|
-
* thead
|
|
848
|
-
* @type {?}
|
|
849
|
-
*/
|
|
795
|
+
/** @type {?} */
|
|
850
796
|
MtxGridComponent.prototype.headerTemplate;
|
|
851
797
|
/** @type {?} */
|
|
852
798
|
MtxGridComponent.prototype.headerExtraTemplate;
|
|
853
|
-
/**
|
|
854
|
-
* tbody
|
|
855
|
-
* @type {?}
|
|
856
|
-
*/
|
|
799
|
+
/** @type {?} */
|
|
857
800
|
MtxGridComponent.prototype.cellTemplate;
|
|
858
|
-
/**
|
|
859
|
-
* tfoot
|
|
860
|
-
* @type {?}
|
|
861
|
-
*/
|
|
801
|
+
/** @type {?} */
|
|
862
802
|
MtxGridComponent.prototype.showSummary;
|
|
863
803
|
/** @type {?} */
|
|
864
804
|
MtxGridComponent.prototype.summaryTemplate;
|
|
865
|
-
/**
|
|
866
|
-
* Sidebar
|
|
867
|
-
* @type {?}
|
|
868
|
-
*/
|
|
805
|
+
/** @type {?} */
|
|
869
806
|
MtxGridComponent.prototype.showSidebar;
|
|
870
807
|
/** @type {?} */
|
|
871
808
|
MtxGridComponent.prototype.sidebarTemplate;
|
|
872
|
-
/**
|
|
873
|
-
* Column resizable
|
|
874
|
-
* @type {?}
|
|
875
|
-
*/
|
|
876
|
-
MtxGridComponent.prototype.columnResizable;
|
|
877
809
|
/**
|
|
878
810
|
* @type {?}
|
|
879
811
|
* @private
|
|
@@ -992,7 +924,7 @@ class MtxGridCellComponent {
|
|
|
992
924
|
* @param {?=} data
|
|
993
925
|
* @return {?}
|
|
994
926
|
*/
|
|
995
|
-
_handleActionConfirm(event, title, description = '', okColor = 'primary', okText = 'OK', closeColor
|
|
927
|
+
_handleActionConfirm(event, title, description = '', okColor = 'primary', okText = 'OK', closeColor, closeText = 'CLOSE', fn, data) {
|
|
996
928
|
event.preventDefault();
|
|
997
929
|
event.stopPropagation();
|
|
998
930
|
this._dialog.open({
|
|
@@ -1123,7 +1055,6 @@ class MtxGridColumnMenuComponent {
|
|
|
1123
1055
|
this.dndSortable = true;
|
|
1124
1056
|
this._buttonText = '';
|
|
1125
1057
|
this.buttonType = 'stroked';
|
|
1126
|
-
this.buttonColor = '';
|
|
1127
1058
|
this.buttonClass = '';
|
|
1128
1059
|
this.buttonIcon = '';
|
|
1129
1060
|
this.showHeader = false;
|
|
@@ -2070,7 +2001,7 @@ MtxGridModule.decorators = [
|
|
|
2070
2001
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2071
2002
|
*/
|
|
2072
2003
|
/**
|
|
2073
|
-
*
|
|
2004
|
+
* Column definition of grid.
|
|
2074
2005
|
* @record
|
|
2075
2006
|
*/
|
|
2076
2007
|
function MtxGridColumn() { }
|
|
@@ -2123,7 +2054,7 @@ if (false) {
|
|
|
2123
2054
|
MtxGridColumn.prototype.class;
|
|
2124
2055
|
}
|
|
2125
2056
|
/**
|
|
2126
|
-
* Column type parameter
|
|
2057
|
+
* Column type parameter.
|
|
2127
2058
|
* @record
|
|
2128
2059
|
*/
|
|
2129
2060
|
function MtxGridColumnTypeParameter() { }
|
|
@@ -2142,7 +2073,7 @@ if (false) {
|
|
|
2142
2073
|
MtxGridColumnTypeParameter.prototype.timezone;
|
|
2143
2074
|
}
|
|
2144
2075
|
/**
|
|
2145
|
-
*
|
|
2076
|
+
* The properties of column sort.
|
|
2146
2077
|
* @record
|
|
2147
2078
|
*/
|
|
2148
2079
|
function MtxGridColumnSortProp() { }
|
|
@@ -2157,11 +2088,12 @@ if (false) {
|
|
|
2157
2088
|
MtxGridColumnSortProp.prototype.start;
|
|
2158
2089
|
}
|
|
2159
2090
|
/**
|
|
2160
|
-
*
|
|
2091
|
+
* Column tag of grid.
|
|
2161
2092
|
* @record
|
|
2162
2093
|
*/
|
|
2163
2094
|
function MtxGridColumnTag() { }
|
|
2164
2095
|
/**
|
|
2096
|
+
* The properties of column tag.
|
|
2165
2097
|
* @record
|
|
2166
2098
|
*/
|
|
2167
2099
|
function MtxGridColumnTagValue() { }
|
|
@@ -2172,7 +2104,7 @@ if (false) {
|
|
|
2172
2104
|
MtxGridColumnTagValue.prototype.color;
|
|
2173
2105
|
}
|
|
2174
2106
|
/**
|
|
2175
|
-
*
|
|
2107
|
+
* The properties of column button.
|
|
2176
2108
|
* @record
|
|
2177
2109
|
*/
|
|
2178
2110
|
function MtxGridColumnButton() { }
|
|
@@ -2213,7 +2145,7 @@ if (false) {
|
|
|
2213
2145
|
MtxGridColumnButton.prototype.disabled;
|
|
2214
2146
|
}
|
|
2215
2147
|
/**
|
|
2216
|
-
*
|
|
2148
|
+
* The properties of column selection item.
|
|
2217
2149
|
* @record
|
|
2218
2150
|
*/
|
|
2219
2151
|
function MtxGridColumnSelectionItem() { }
|
|
@@ -2230,12 +2162,12 @@ if (false) {
|
|
|
2230
2162
|
MtxGridColumnSelectionItem.prototype.disabled;
|
|
2231
2163
|
}
|
|
2232
2164
|
/**
|
|
2233
|
-
* Cell template
|
|
2165
|
+
* Cell template.
|
|
2234
2166
|
* @record
|
|
2235
2167
|
*/
|
|
2236
2168
|
function MtxGridCellTemplate() { }
|
|
2237
2169
|
/**
|
|
2238
|
-
* Row selection formatter
|
|
2170
|
+
* Row selection formatter.
|
|
2239
2171
|
* @record
|
|
2240
2172
|
*/
|
|
2241
2173
|
function MtxGridRowSelectionFormatter() { }
|
|
@@ -2246,12 +2178,12 @@ if (false) {
|
|
|
2246
2178
|
MtxGridRowSelectionFormatter.prototype.hideCheckbox;
|
|
2247
2179
|
}
|
|
2248
2180
|
/**
|
|
2249
|
-
* Row class formatter
|
|
2181
|
+
* Row class formatter.
|
|
2250
2182
|
* @record
|
|
2251
2183
|
*/
|
|
2252
2184
|
function MtxGridRowClassFormatter() { }
|
|
2253
2185
|
/**
|
|
2254
|
-
* Column menu
|
|
2186
|
+
* Column menu.
|
|
2255
2187
|
* @record
|
|
2256
2188
|
*/
|
|
2257
2189
|
function MtxGridColumnMenu() { }
|