@colijnit/corecomponents_v12 258.1.5 → 258.1.7

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.
@@ -1395,6 +1395,7 @@
1395
1395
  CoreComponentsIcon["ArrowScrollRight"] = "arrow_scroll_right";
1396
1396
  CoreComponentsIcon["ArrowScrollUp"] = "arrow_scroll_up";
1397
1397
  CoreComponentsIcon["ArrowUp"] = "arrow_up";
1398
+ CoreComponentsIcon["ArrowUpArrowDown"] = "arrow_up_arrow_down";
1398
1399
  CoreComponentsIcon["Article"] = "article";
1399
1400
  CoreComponentsIcon["ArticleWithFold"] = "article_with_fold";
1400
1401
  CoreComponentsIcon["AsteriskSmall"] = "asterisk_small";
@@ -1492,6 +1493,7 @@
1492
1493
  CoreComponentsIcon["GlobalSearch"] = "global_search";
1493
1494
  CoreComponentsIcon["Globe"] = "globe";
1494
1495
  CoreComponentsIcon["GreaterThan"] = "greater_than";
1496
+ CoreComponentsIcon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
1495
1497
  CoreComponentsIcon["Groupby"] = "groupby";
1496
1498
  CoreComponentsIcon["Hamburger"] = "hamburger";
1497
1499
  CoreComponentsIcon["HandPointer"] = "hand_pointer";
@@ -1696,6 +1698,7 @@
1696
1698
  "arrow_scroll_right": "<svg xmlns=\"http://www.w3.org/2000/svg\" enable-background=\"new 0 0 50 50\" viewBox=\"0 0 50 50\" y=\"0px\" x=\"0px\" version=\"1.1\"><metadata ><rdf:RDF><cc:Work rdf:about=\"\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><polygon fill=\"#000000\" transform=\"matrix(0,-1,1,0,0,50)\" points=\"41.5,15.8 45,19.4 25,34.2 5,19.4 8.5,15.8 25,27.3 \" /></svg>",
1697
1699
  "arrow_scroll_up": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><polygon fill=\"#29363E\" points=\"5,30.6 8.5,34.2 25,22.7 41.5,34.2 45,30.6 25,15.8 \"/></svg>",
1698
1700
  "arrow_up": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 51 51\"><polygon points=\"27.5 19.4 27.5 38 23.4 38 23.4 19.4 23.4 19.4 19.1 19.4 25.4 13 31.8 19.4 27.5 19.4\" fill=\"#2a363b\"/></svg>",
1701
+ "arrow_up_arrow_down": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M529 377c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-55 55L440 56c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 342.1-55-55c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l96 96c9.4 9.4 24.6 9.4 33.9 0l96-96zM177 39c-9.4-9.4-24.6-9.4-33.9 0L47 135c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l55-55L136 456c0 13.3 10.7 24 24 24s24-10.7 24-24l0-342.1 55 55c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L177 39z\"/></svg>",
1699
1702
  "article": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M37.43,15.14H12.57A2.57,2.57,0,0,0,10,17.71V32.29a2.57,2.57,0,0,0,2.57,2.57H37.43A2.57,2.57,0,0,0,40,32.29V17.71A2.57,2.57,0,0,0,37.43,15.14ZM14.29,32.71H12.15V17.29h2.14Zm2,0H15V17.29h1.29Zm2.57,0H17.54V17.29h1.29Zm3.52,0H20.2V17.29h2.15Zm2,0H23.11V17.29H24.4Zm2.06,0H25.17V17.29h1.29Zm2.66,0H27.83V17.29h1.29Zm3.51,0H31.34V17.29h1.29Zm3.34,0H33.4V17.29H36Zm2.32,0H37V17.29h1.29Z\" fill=\"#484f60\"/></svg>",
1700
1703
  "article_with_fold": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M31.51,35.5H12a.5.5,0,0,1-.5-.5V15a.5.5,0,0,1,.5-.5H38a.5.5,0,0,1,.5.5V28.73H40V15a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H31.51Z\" fill=\"#484f60\"/><path d=\"M40,28.73H33.56c-1.78,0-2.05.27-2.05,2.05V37Z\" fill=\"#484f60\"/><rect x=\"14.5\" y=\"18.5\" width=\"6\" height=\"5\" fill=\"#484f60\"/><rect x=\"14.5\" y=\"30.5\" width=\"15\" height=\"1\" fill=\"#484f60\"/><rect x=\"14.5\" y=\"26.5\" width=\"15\" height=\"1\" fill=\"#484f60\"/><rect x=\"22.5\" y=\"22.5\" width=\"13\" height=\"1\" fill=\"#484f60\"/><rect x=\"22.5\" y=\"18.5\" width=\"13\" height=\"1\" fill=\"#484f60\"/></svg>",
1701
1704
  "asterisk_small": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"22\" width=\"30\" height=\"6\" transform=\"translate(15.85 -9.15) rotate(30)\" fill=\"#484f60\"/><rect x=\"10\" y=\"22\" width=\"30\" height=\"6\" transform=\"translate(0 50) rotate(-90)\" fill=\"#484f60\"/><rect x=\"10\" y=\"22\" width=\"30\" height=\"6\" transform=\"translate(-9.15 15.85) rotate(-30)\" fill=\"#484f60\"/></svg>",
@@ -1793,6 +1796,7 @@
1793
1796
  "global_search": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path opacity=\"0.75\" fill=\"#29363E\" d=\"M33.5,21.5c0.1-0.1,0.2-0.1,0.3,0l0.8,0.6c0.1,0.1,0.1,0,0.1-0.1l-0.3-0.9c0-0.1,0-0.2,0.1-0.3l0.8-0.6c0.1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.1l0.6,0.4c0.1,0,0.1,0.1,0.1,0.2l-0.2,0.7c0,0.1,0,0.1,0.1,0.1L24,20.8z\"/><path fill=\"#29363E\" d=\"M25.5,27.7l0.3-0.8c-0.8,0.6-1.7,1-2.6,1.2l1.7,0C25.1,28.1,25.4,27.9,25.5,27.7z\"/><path fill=\"#29363E\" d=\"M22.5,28.4c-0.1-0.1-0.1-0.1-0.1-0.1c-1.9,0.2-3.9-0.4-5.4-1.9c-2.6-2.6-2.6-6.8,0-9.4c2.6-2.6,6.8-2.6,9.4,0c1.8,1.8,2.4,4.5,1.6,6.8l1.3,0c0.2,0,0.5-0.2,0.5-0.4l0.5-1.4c0.1-2.3-0.8-4.7-2.5-6.4c-3.4-3.4-8.9-3.4-12.3,0c-3.4,3.4-3.4,8.9,0,12.3c2.4,2.4,5.9,3.1,8.9,2.1c0,0,0,0-0.1-0.1L22.5,28.4z\"/><path fill=\"#29363E\" d=\"M27.6,28c0.1-0.1,0.2-0.1,0.2-0.2c0.4-0.4,0.7-0.8,1-1.2L29,26c0.1-0.2,0-0.5-0.2-0.6l-1.1-0.8c-0.2,0.5-0.6,1-1,1.4l0.6,1.7C27.3,27.8,27.4,27.9,27.6,28z\"/><path fill=\"#29363E\" d=\"M36.4,32.8l-4.3-4.3c-0.6-0.6-1.6-0.7-2.3-0.4l0.4,0c0.2,0,0.3,0.1,0.1,0.3l-1.9,1.4c-0.2,0.1-0.3,0.4-0.2,0.7l0.6,1.8l4.1,4.1c0.8,0.8,2.1,0.8,2.9,0l0.7-0.7C37.2,34.9,37.2,33.6,36.4,32.8z\"/></g></svg>",
1794
1797
  "globe": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M25.86,37.19a14.53,14.53,0,0,1-8.31-2.75V40H34.18V34.44A14.54,14.54,0,0,1,25.86,37.19Z\" fill=\"#484f60\"/><path d=\"M25.81,36a12.39,12.39,0,0,1-12-9.41l0-.13L15,24.83l.11.65A10.92,10.92,0,1,0,21.22,13.7l-.21.1-.87-1.24.3-.14a12.14,12.14,0,0,1,5.37-1.24,12.42,12.42,0,1,1,0,24.83Z\" fill=\"#484f60\"/><polygon points=\"19.48 13.58 18.1 17.41 14.21 18.59 17.42 21.09 17.34 25.15 20.71 22.86 24.55 24.2 23.42 20.29 25.86 17.05 21.8 16.92 19.48 13.58\" fill=\"#484f60\"/><polygon points=\"11.9 14.69 13.84 14.34 15.27 15.68 15.54 13.73 17.26 12.79 15.49 11.93 15.12 10 13.76 11.42 11.81 11.17 12.74 12.91 11.9 14.69\" fill=\"#484f60\"/><polygon points=\"15.02 21.84 13.82 22.23 12.79 21.49 12.78 22.75 11.77 23.5 12.96 23.9 13.36 25.09 14.11 24.08 15.37 24.07 14.63 23.05 15.02 21.84\" fill=\"#484f60\"/><path d=\"M33.27,29.27l-.74-.56a8.46,8.46,0,0,0-2.36-12.35l.48-.8a9.32,9.32,0,0,1,4.54,8A9.23,9.23,0,0,1,33.27,29.27Z\" fill=\"#484f60\"/><rect x=\"14.36\" y=\"38\" width=\"23\" height=\"2\" fill=\"#484f60\"/></svg>",
1795
1798
  "greater_than": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M18.63,13.81l14.65,9.58a.48.48,0,0,1,.23.42v2.38a.48.48,0,0,1-.23.42L18.63,36.19a.5.5,0,0,1-.69-.14L16.57,34a.49.49,0,0,1,.15-.69l12-7.84a.5.5,0,0,0,0-.84l-12-7.84a.49.49,0,0,1-.15-.69L17.94,14A.5.5,0,0,1,18.63,13.81Z\" fill=\"#484f60\"/></svg>",
1799
+ "grip_dots_vertical_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M48 144c26.5 0 48-21.5 48-48s-21.5-48-48-48S0 69.5 0 96s21.5 48 48 48zm0 160c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM96 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 144c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48 112c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z\"/></svg>",
1796
1800
  "groupby": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"11.17\" width=\"8\" height=\"3\" fill=\"#484f60\"/><rect x=\"10\" y=\"26.17\" width=\"8\" height=\"3\" fill=\"#484f60\"/><rect x=\"22\" y=\"11.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"22\" y=\"16.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"22\" y=\"21.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"22\" y=\"26.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"22\" y=\"31.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"32\" y=\"11.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"32\" y=\"16.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"32\" y=\"21.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"32\" y=\"26.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"32\" y=\"31.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"22\" y=\"36.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"32\" y=\"36.17\" width=\"8\" height=\"3\" fill=\"#484f60\" opacity=\"0.25\"/><rect x=\"19.5\" y=\"11.17\" width=\"1\" height=\"28\" fill=\"#484f60\"/></svg>",
1797
1801
  "hamburger": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"14\" y=\"15.17\" width=\"22\" height=\"4\" fill=\"#484f60\"/><rect x=\"14\" y=\"23.17\" width=\"22\" height=\"4\" fill=\"#484f60\"/><rect x=\"14\" y=\"31.17\" width=\"22\" height=\"4\" fill=\"#484f60\"/></svg>",
1798
1802
  "hand_pointer": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M24.16,20.4,23,19.8l-2-3.19-1.56-2-.82-1.08-1.93-2L14,10H12.58l-.89.89L12.21,12l3.11,2.79L16,16.34l2.15,3.42,1,2.86.08.93.11,3-.3-1.08-1.22-1.19-1-1.22-2.22-2.23-1.34-.44-1.11.29-.89.78L13,23.29l2,2.49,2.71,4.71L20.45,33l2.3,1.45,3.08,1.33,2.41,1.27,2.53,1.3.3,1.63,7.61-7.57V31.27S37.53,30,37.42,30a20.15,20.15,0,0,1-1-2.08l-.6-2.42-.44-1.22-1.67-2.12-1.08-1.41-.63-1-1.12-1.45-1-1-1.68-1.09-.27.54,1.75,2.68-1.18-.59-1.09-1.87-1.69-1.75L24.35,15l0,.76L27,19.65l-1.19-.6L23.5,15.39,22,14.3l-1.63.15.22.71Z\" fill=\"#484f60\"/></svg>",
@@ -10086,13 +10090,147 @@
10086
10090
  handleMouseUp: [{ type: i0.HostListener, args: ['document:mouseup', ['$event'],] }]
10087
10091
  };
10088
10092
 
10093
+ var ExcelExportService = /** @class */ (function () {
10094
+ function ExcelExportService() {
10095
+ }
10096
+ /**
10097
+ * Export data to Excel file
10098
+ * @param data - Array of objects to export
10099
+ * @param columns - Column configuration (optional)
10100
+ * @param fileName - Name of the exported file
10101
+ * @param sheetName - Name of the Excel sheet
10102
+ */
10103
+ ExcelExportService.prototype.exportToExcel = function (data, columns, fileName, sheetName) {
10104
+ var _this = this;
10105
+ if (fileName === void 0) { fileName = 'export'; }
10106
+ if (sheetName === void 0) { sheetName = 'Sheet1'; }
10107
+ // If columns are specified, transform data to match column structure
10108
+ var exportData = data;
10109
+ if (columns && columns.length > 0) {
10110
+ exportData = data.map(function (item) {
10111
+ var newItem = {};
10112
+ columns.forEach(function (col) {
10113
+ newItem[col.header] = _this.getNestedValue(item, col.key);
10114
+ });
10115
+ return newItem;
10116
+ });
10117
+ }
10118
+ // Create workbook and worksheet
10119
+ var wb = XLSX__namespace.utils.book_new();
10120
+ var ws = XLSX__namespace.utils.json_to_sheet(exportData);
10121
+ // Set column widths if specified
10122
+ if (columns && columns.some(function (col) { return col.width; })) {
10123
+ var colWidths = columns.map(function (col) { return ({ wch: col.width || 20 }); });
10124
+ ws['!cols'] = colWidths;
10125
+ }
10126
+ // Add worksheet to workbook
10127
+ XLSX__namespace.utils.book_append_sheet(wb, ws, sheetName);
10128
+ // Save file
10129
+ XLSX__namespace.writeFile(wb, fileName + ".xlsx");
10130
+ };
10131
+ /**
10132
+ * Export multiple sheets to one Excel file
10133
+ * @param sheets - Array of sheet data
10134
+ * @param fileName - Name of the exported file
10135
+ */
10136
+ ExcelExportService.prototype.exportMultipleSheets = function (sheets, fileName) {
10137
+ var _this = this;
10138
+ if (fileName === void 0) { fileName = 'multi-sheet-export'; }
10139
+ var wb = XLSX__namespace.utils.book_new();
10140
+ sheets.forEach(function (sheet) {
10141
+ var exportData = sheet.data;
10142
+ if (sheet.columns && sheet.columns.length > 0) {
10143
+ exportData = sheet.data.map(function (item) {
10144
+ var newItem = {};
10145
+ sheet.columns.forEach(function (col) {
10146
+ newItem[col.header] = _this.getNestedValue(item, col.key);
10147
+ });
10148
+ return newItem;
10149
+ });
10150
+ }
10151
+ var ws = XLSX__namespace.utils.json_to_sheet(exportData);
10152
+ if (sheet.columns && sheet.columns.some(function (col) { return col.width; })) {
10153
+ var colWidths = sheet.columns.map(function (col) { return ({ wch: col.width || 20 }); });
10154
+ ws['!cols'] = colWidths;
10155
+ }
10156
+ XLSX__namespace.utils.book_append_sheet(wb, ws, sheet.sheetName);
10157
+ });
10158
+ XLSX__namespace.writeFile(wb, fileName + ".xlsx");
10159
+ };
10160
+ /**
10161
+ * Export HTML table to Excel
10162
+ * @param tableId - ID of the HTML table element
10163
+ * @param fileName - Name of the exported file
10164
+ * @param sheetName - Name of the Excel sheet
10165
+ */
10166
+ ExcelExportService.prototype.exportTableToExcel = function (tableId, fileName, sheetName) {
10167
+ if (fileName === void 0) { fileName = 'table-export'; }
10168
+ if (sheetName === void 0) { sheetName = 'Sheet1'; }
10169
+ var table = document.getElementById(tableId);
10170
+ if (!table) {
10171
+ console.error("Table with ID '" + tableId + "' not found");
10172
+ return;
10173
+ }
10174
+ var wb = XLSX__namespace.utils.book_new();
10175
+ var ws = XLSX__namespace.utils.table_to_sheet(table);
10176
+ XLSX__namespace.utils.book_append_sheet(wb, ws, sheetName);
10177
+ XLSX__namespace.writeFile(wb, fileName + ".xlsx");
10178
+ };
10179
+ /**
10180
+ * Get nested object value using dot notation
10181
+ * @param obj - Object to search in
10182
+ * @param path - Dot notation path (e.g., 'user.address.city')
10183
+ */
10184
+ ExcelExportService.prototype.getNestedValue = function (obj, path) {
10185
+ return path.split('.').reduce(function (current, key) {
10186
+ return current && current[key] !== undefined ? current[key] : '';
10187
+ }, obj);
10188
+ };
10189
+ /**
10190
+ * Format date for Excel export
10191
+ * @param date - Date to format
10192
+ * @param format - Format string (default: 'MM/DD/YYYY')
10193
+ */
10194
+ ExcelExportService.prototype.formatDateForExport = function (date, format) {
10195
+ if (format === void 0) { format = 'MM/DD/YYYY'; }
10196
+ if (!date) {
10197
+ return '';
10198
+ }
10199
+ var d = new Date(date);
10200
+ if (isNaN(d.getTime())) {
10201
+ return '';
10202
+ }
10203
+ var month = (d.getMonth() + 1).toString().padStart(2, '0');
10204
+ var day = d.getDate().toString().padStart(2, '0');
10205
+ var year = d.getFullYear();
10206
+ switch (format) {
10207
+ case 'MM/DD/YYYY':
10208
+ return month + "/" + day + "/" + year;
10209
+ case 'DD/MM/YYYY':
10210
+ return day + "/" + month + "/" + year;
10211
+ case 'YYYY-MM-DD':
10212
+ return year + "-" + month + "-" + day;
10213
+ default:
10214
+ return d.toLocaleDateString();
10215
+ }
10216
+ };
10217
+ return ExcelExportService;
10218
+ }());
10219
+ ExcelExportService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ExcelExportService_Factory() { return new ExcelExportService(); }, token: ExcelExportService, providedIn: "root" });
10220
+ ExcelExportService.decorators = [
10221
+ { type: i0.Injectable, args: [{
10222
+ providedIn: 'root'
10223
+ },] }
10224
+ ];
10225
+
10089
10226
  var SimpleGridComponent = /** @class */ (function (_super) {
10090
10227
  __extends(SimpleGridComponent, _super);
10091
- function SimpleGridComponent(icons, _changeDetection, _formMaster) {
10228
+ function SimpleGridComponent(icons, _changeDetection, _formMaster, excelExportService) {
10092
10229
  var _this = _super.call(this) || this;
10093
10230
  _this.icons = icons;
10094
10231
  _this._changeDetection = _changeDetection;
10095
10232
  _this._formMaster = _formMaster;
10233
+ _this.excelExportService = excelExportService;
10096
10234
  _this.defaultTextAlign = exports.ColumnAlign.Left;
10097
10235
  _this.showAdd = false;
10098
10236
  _this.showDelete = false;
@@ -10100,6 +10238,7 @@
10100
10238
  _this.rightToolbar = false;
10101
10239
  _this.showGridSettings = false;
10102
10240
  _this.rowsPerPage = 1000;
10241
+ _this.showColumnSort = false;
10103
10242
  _this.editing = false;
10104
10243
  _this.isSettingsMenuOpen = false;
10105
10244
  _this.editRowIndex = -1;
@@ -10182,14 +10321,6 @@
10182
10321
  });
10183
10322
  });
10184
10323
  };
10185
- SimpleGridComponent.prototype.isSingleColumn = function (column) {
10186
- return column.singleColumn;
10187
- };
10188
- SimpleGridComponent.prototype.rowContainsSingleColumn = function (row, columns) {
10189
- var _this = this;
10190
- var singleColumn = columns.find(function (column) { return _this.isSingleColumn(column) && !!row[column.field]; });
10191
- return !!singleColumn;
10192
- };
10193
10324
  SimpleGridComponent.prototype.addNewRow = function () {
10194
10325
  return __awaiter(this, void 0, void 0, function () {
10195
10326
  var valid, _a;
@@ -10366,75 +10497,51 @@
10366
10497
  return obj !== col;
10367
10498
  });
10368
10499
  };
10369
- // TODO Fix this sort method
10370
- // public sortColumn(col: any, columnValue: string): void {
10371
- // console.log(col);
10372
- // console.log("columnValue " + columnValue);
10373
- // col.isSelected = false;
10374
- //
10375
- // if (this.sortColumnValue === columnValue) {
10376
- // this.sortDirection = this.sortDirection === 'asc' ? 'desc' : 'asc';
10377
- // } else {
10378
- // this.sortColumnValue = columnValue;
10379
- // this.sortDirection = 'asc';
10380
- // }
10381
- //
10382
- // console.log(this.data);
10383
- // // this.data = this._sortData(this.data);
10384
- //
10385
- //
10386
- // this.data.sort((a, b) => {
10387
- // const sign = this.sortDirection === 'asc' ? 1 : -1;
10388
- //
10389
- // console.log("a " + a);
10390
- // console.log("b " + b);
10391
- // console.log(a[this.sortColumnValue]);
10392
- // console.log(b[this.sortColumnValue]);
10393
- // console.log("sign " + sign);
10394
- //
10395
- // if (a[this.sortColumnValue] < b[this.sortColumnValue]) {
10396
- // return -1 * sign;
10397
- // } else if (a[this.sortColumnValue] > b[this.sortColumnValue]) {
10398
- // return 1 * sign;
10399
- // }
10400
- // return 0;
10401
- // });
10402
- //
10403
- //
10404
- //
10405
- // this._detectChanges();
10406
- // // this.data.sort((a, b) => a[this.sortColumnValue] - b[this.sortColumnValue]);
10407
- // console.log(this.data);
10408
- // }
10409
- SimpleGridComponent.prototype._sortData = function (tableData) {
10410
- var _this = this;
10411
- return tableData.sort(function (a, b) {
10412
- var sign = _this.sortDirection === 'asc' ? 1 : -1;
10413
- console.log("a " + a);
10414
- console.log("b " + b);
10415
- console.log(a[_this.sortColumnValue]);
10416
- console.log(b[_this.sortColumnValue]);
10417
- console.log("sign " + sign);
10418
- if (a[_this.sortColumnValue] < b[_this.sortColumnValue]) {
10419
- return -1 * sign;
10420
- }
10421
- else if (a[_this.sortColumnValue] > b[_this.sortColumnValue]) {
10422
- return 1 * sign;
10423
- }
10424
- return 0;
10500
+ SimpleGridComponent.prototype.sortColumn = function (col, columnValue) {
10501
+ col.isSelected = false;
10502
+ if (this.sortColumnValue === columnValue) {
10503
+ this.sortDirection = this.sortDirection === 'asc' ? 'desc' : 'asc';
10504
+ }
10505
+ else {
10506
+ this.sortColumnValue = columnValue;
10507
+ this.sortDirection = 'asc';
10508
+ }
10509
+ var direction = this.sortDirection === 'asc' ? 1 : -1;
10510
+ var sorted = __spreadArray([], __read(this.data)).sort(function (a, b) {
10511
+ var valA = a[columnValue];
10512
+ var valB = b[columnValue];
10513
+ if (valA == null && valB == null) {
10514
+ return 0;
10515
+ }
10516
+ if (valA == null) {
10517
+ return -1 * direction;
10518
+ }
10519
+ if (valB == null) {
10520
+ return 1 * direction;
10521
+ }
10522
+ // Handle ISO date string
10523
+ var isDateA = typeof valA === 'string' && /^\d{4}-\d{2}-\d{2}T/.test(valA);
10524
+ var isDateB = typeof valB === 'string' && /^\d{4}-\d{2}-\d{2}T/.test(valB);
10525
+ if (isDateA && isDateB) {
10526
+ var timeA = new Date(valA).getTime();
10527
+ var timeB = new Date(valB).getTime();
10528
+ return (timeA - timeB) * direction;
10529
+ }
10530
+ // Fallback for numbers/strings
10531
+ if (typeof valA === 'string' && typeof valB === 'string') {
10532
+ return valA.localeCompare(valB) * direction;
10533
+ }
10534
+ return (valA > valB ? 1 : valA < valB ? -1 : 0) * direction;
10425
10535
  });
10536
+ this.data = sorted;
10537
+ this._detectChanges();
10426
10538
  };
10427
10539
  SimpleGridComponent.prototype.showAllColumns = function () {
10428
10540
  this.isSettingsMenuOpen = false;
10429
10541
  this.headerColumnsCopy = this.headerColumns;
10430
10542
  };
10431
10543
  SimpleGridComponent.prototype.exportToExcel = function () {
10432
- this.isSettingsMenuOpen = false;
10433
- var element = document.getElementById('simple-grid-table');
10434
- var ws = XLSX__namespace.utils.table_to_sheet(element);
10435
- var wb = XLSX__namespace.utils.book_new();
10436
- XLSX__namespace.utils.book_append_sheet(wb, ws, 'Sheet1');
10437
- XLSX__namespace.writeFile(wb, 'ExcelSheet.xlsx');
10544
+ this.excelExportService.exportTableToExcel('simple-grid-table', 'ExcelSheet', 'Sheet1');
10438
10545
  };
10439
10546
  SimpleGridComponent.prototype.prepareDataRow = function (row, index) {
10440
10547
  this.isRowDisabled(row, index);
@@ -10587,10 +10694,8 @@
10587
10694
  SimpleGridComponent.decorators = [
10588
10695
  { type: i0.Component, args: [{
10589
10696
  selector: 'co-simple-grid',
10590
- template: "\n <co-grid-toolbar *ngIf=\"showToolbar\" [class.right]=\"rightToolbar\"\n [showEdit]=\"showEdit\"\n [showAdd]=\"showAdd\"\n [showDelete]=\"showDelete\"\n [deleteEnabled]=\"selectedRowIndex > -1\"\n (addClick)=\"addNewRow()\"\n (editClick)=\"editRow($event)\"\n (saveClick)=\"validateAndSave()\"\n (cancelClick)=\"cancelEditRow()\"\n (deleteClick)=\"removeRow()\"\n ></co-grid-toolbar>\n <table\n id=\"simple-grid-table\"\n class=\"simple-grid-table\"\n [clickOutside]=\"editing\"\n (clickOutside)=\"handleClickOutsideRow()\">\n <colgroup>\n <col *ngFor=\"let column of headerColumnsCopy; let index = index\"\n [class.simple-grid-column-auto-fit]=\"column.autoFit\"\n [style.width.px]=\"column.width\"\n [style.min-width.px]=\"MIN_COLUMN_WIDTH\">\n </colgroup>\n <thead>\n <tr>\n <th\n scope=\"col\"\n #headerCell\n class=\"simple-grid-column-header\"\n *ngFor=\"let column of headerColumnsCopy; let index = index\">\n <div\n class=\"simple-grid-column-header-wrapper\"\n [class.resizable]=\"resizable\"\n [class.selected]=\"column.isSelected\"\n [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"column.headerTemplate; else noHeaderTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #noHeaderTemplate>\n <div class=\"simple-grid-column-header-label\"\n [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\"\n [class.with-menu]=\"showGridSettings\"\n [textContent]=\"column.headerText || '&nbsp;'\"\n (click)=\"toggleColumnMenu(column)\">\n </div>\n\n <div class=\"column-menu\" *ngIf=\"column.isSelected\">\n <h3 [textContent]=\"'COLUMN_OPTIONS' | coreLocalize\"></h3>\n <ul>\n <li (click)=\"hideColumn(column)\">Hide Column</li>\n<!-- <li (click)=\"sortColumn(column, column.field)\">Sort Column</li>-->\n </ul>\n </div>\n </ng-template>\n <div *ngIf=\"resizable && column.resizable\" class=\"simple-grid-column-sizer\"\n (mousedown)=\"handleSizerMouseDown($event, column)\"\n ></div>\n </div>\n </th>\n <th *ngIf=\"showGridSettings\" class=\"simple-grid-column-header grid-settings\">\n <co-button\n [class.selected]=\"isSettingsMenuOpen\"\n [iconData]=\"icons.getIcon(Icons.CogWheels)\"\n (click)=\"toggleSettingsMenu()\">\n </co-button>\n\n <div class=\"settings-menu\" *ngIf=\"isSettingsMenuOpen\">\n <h3 [textContent]=\"'GRID_OPTIONS' | coreLocalize\"></h3>\n <ul>\n <li (click)=\"exportToExcel()\">Export to Excel</li>\n <li *ngIf=\"headerColumnsCopy.length !== headerColumns.length\" (click)=\"showAllColumns()\">Show All\n Columns\n </li>\n </ul>\n </div>\n </th>\n </tr>\n </thead>\n <tbody #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"simple-grid-drag-drop-list\"\n [cdkDropListDisabled]=\"!dragDropEnabled || editing\"\n [cdkDropListData]=\"data\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\">\n <tr\n class=\"simple-grid-row\"\n [class.selected]=\"rowIndex === selectedRowIndex && !editing\" observeVisibility\n [class.disabled]=\"getIsRowDisabled(rowIndex)\"\n [class.editing]=\"rowIndex === editRowIndex\"\n *ngFor=\"let row of (!!rowsPerPage ? (data | paginate: {itemsPerPage: rowsPerPage, currentPage: currentPage}) : data); last as last; let rowIndex = index\"\n cdkDrag\n (click)=\"handleClickRow($event, rowIndex, row)\" (dblclick)=\"handleDblClickRow($event, rowIndex, row)\"\n (visibilityChange)=\"rowVisible.next(row)\">\n <co-form class=\"simple-grid-row-form\">\n <ng-container *ngIf=\"isSingleColumnRow(row)\">\n <td class=\"simple-grid-single-column-cell\" [attr.colspan]=\"headerColumnsCopy.length\">\n <co-simple-grid-cell\n [column]=\"columns[singleColumnIndex(row)]\"\n [row]=\"row\"\n [editMode]=\"false\"\n ></co-simple-grid-cell>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isSingleColumnRow(row)\">\n <ng-container *ngFor=\"let column of headerColumnsCopy; let columnIndex = index\">\n <td class=\"simple-grid-column-cell\" *ngIf=\"columnIndex !== singleColumnIndex(row)\">\n <co-simple-grid-cell\n [column]=\"column\"\n [row]=\"row\"\n [editMode]=\"inlineEdit && editing && rowIndex === editRowIndex\"\n [fieldEditMode]=\"editCellIndex === columnIndex && rowIndex === editRowIndex\"\n (cellClick)=\"handleCellClick($event, row, rowIndex, columnIndex)\"\n ></co-simple-grid-cell>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer-placeholder\"></div>\n </td>\n </ng-container>\n </ng-container>\n <td *ngIf=\"showGridSettings\"></td>\n </co-form>\n </tr>\n </tbody>\n </table>\n <co-pagination-bar *ngIf=\"data?.length > rowsPerPage\" class=\"pagination-bar\"\n [itemsPerPage]=\"rowsPerPage\"\n [currentPage]=\"currentPage\"\n [totalItems]=\"data.length\"\n [autoHide]=\"true\"\n (previousClick)=\"goToPreviousPage()\"\n (nextClick)=\"goToNextPage()\"\n (pageClick)=\"setCurrentPage($event)\"\n ></co-pagination-bar>\n ",
10591
- providers: [
10592
- FormMasterService
10593
- ],
10697
+ template: "\n <co-grid-toolbar\n *ngIf=\"showToolbar\" [class.right]=\"rightToolbar\"\n [showEdit]=\"showEdit\"\n [showAdd]=\"showAdd\"\n [showDelete]=\"showDelete\"\n [deleteEnabled]=\"selectedRowIndex > -1\"\n (addClick)=\"addNewRow()\"\n (editClick)=\"editRow($event)\"\n (saveClick)=\"validateAndSave()\"\n (cancelClick)=\"cancelEditRow()\"\n (deleteClick)=\"removeRow()\">\n </co-grid-toolbar>\n\n <table\n id=\"simple-grid-table\"\n class=\"simple-grid-table\"\n [clickOutside]=\"editing\"\n (clickOutside)=\"handleClickOutsideRow()\">\n <colgroup>\n <col\n *ngFor=\"let column of headerColumnsCopy; let index = index\"\n [class.simple-grid-column-auto-fit]=\"column.autoFit\"\n [style.width.px]=\"column.width\"\n [style.min-width.px]=\"MIN_COLUMN_WIDTH\">\n </colgroup>\n <thead>\n <tr>\n <th\n scope=\"col\"\n #headerCell\n class=\"simple-grid-column-header\"\n *ngFor=\"let column of headerColumnsCopy; let index = index\">\n <div\n class=\"simple-grid-column-header-wrapper\"\n [class.resizable]=\"resizable\"\n [class.selected]=\"column.isSelected\"\n [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\">\n <ng-container *ngIf=\"column.headerTemplate; else noHeaderTemplate\">\n <ng-container [ngTemplateOutlet]=\"column.headerTemplate\"></ng-container>\n </ng-container>\n <ng-template #noHeaderTemplate>\n <div\n class=\"simple-grid-column-header-label\"\n [ngClass]=\"column.textAlign ? column.textAlign : defaultTextAlign\"\n [class.with-menu]=\"showGridSettings\"\n [class.with-sort]=\"showColumnSort\"\n [textContent]=\"column.headerText || '&nbsp;'\"\n (click)=\"showColumnSort ? sortColumn(column, column.field) : toggleColumnMenu(column)\">\n </div>\n\n <div class=\"sort-column\" *ngIf=\"showColumnSort\">\n <co-button\n (click)=\"sortColumn(column, column?.field)\"\n [iconData]=\"icons.getIcon(Icons.ArrowUpArrowDown)\">\n </co-button>\n </div>\n\n <div class=\"column-menu\" *ngIf=\"column.isSelected\">\n <h3 [textContent]=\"'COLUMN_OPTIONS' | coreLocalize\"></h3>\n <ul>\n <li (click)=\"hideColumn(column)\">Hide Column</li>\n <li (click)=\"sortColumn(column, column.field)\">Sort Column</li>\n </ul>\n </div>\n </ng-template>\n <div\n *ngIf=\"resizable && column.resizable\"\n class=\"simple-grid-column-sizer\"\n (mousedown)=\"handleSizerMouseDown($event, column)\">\n </div>\n </div>\n </th>\n </tr>\n\n <div *ngIf=\"showGridSettings\" class=\"grid-settings\">\n <co-button\n [class.selected]=\"isSettingsMenuOpen\"\n [iconData]=\"icons.getIcon(Icons.CogWheels)\"\n (click)=\"toggleSettingsMenu()\">\n </co-button>\n\n <div class=\"settings-menu\" *ngIf=\"isSettingsMenuOpen\">\n <h3 [textContent]=\"'GRID_OPTIONS' | coreLocalize\"></h3>\n <ul>\n <li (click)=\"exportToExcel()\">Export to Excel</li>\n <li *ngIf=\"headerColumnsCopy.length !== headerColumns.length\" (click)=\"showAllColumns()\">\n Show All Columns\n </li>\n </ul>\n </div>\n </div>\n </thead>\n <tbody\n #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"simple-grid-drag-drop-list\"\n [cdkDropListDisabled]=\"!dragDropEnabled || editing\"\n [cdkDropListData]=\"data\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\">\n <co-form class=\"simple-grid-row-form\">\n <tr\n class=\"simple-grid-row\"\n [class.selected]=\"rowIndex === selectedRowIndex && !editing\" observeVisibility\n [class.disabled]=\"getIsRowDisabled(rowIndex)\"\n [class.editing]=\"rowIndex === editRowIndex\"\n *ngFor=\"let row of (!!rowsPerPage ? (data | paginate: {itemsPerPage: rowsPerPage, currentPage: currentPage}) : data); last as last; let rowIndex = index\"\n cdkDrag\n (click)=\"handleClickRow($event, rowIndex, row)\" (dblclick)=\"handleDblClickRow($event, rowIndex, row)\"\n (visibilityChange)=\"rowVisible.next(row)\">\n <ng-container *ngIf=\"isSingleColumnRow(row)\">\n <td class=\"simple-grid-single-column-cell\" [attr.colspan]=\"headerColumnsCopy.length\">\n <co-simple-grid-cell\n [column]=\"columns[singleColumnIndex(row)]\"\n [row]=\"row\"\n [editMode]=\"false\">\n </co-simple-grid-cell>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!isSingleColumnRow(row)\">\n <ng-container *ngFor=\"let column of headerColumnsCopy; let columnIndex = index\">\n <td class=\"simple-grid-column-cell\" *ngIf=\"columnIndex !== singleColumnIndex(row)\">\n <co-simple-grid-cell\n [column]=\"column\"\n [row]=\"row\"\n [editMode]=\"inlineEdit && editing && rowIndex === editRowIndex\"\n [fieldEditMode]=\"editCellIndex === columnIndex && rowIndex === editRowIndex\"\n (cellClick)=\"handleCellClick($event, row, rowIndex, columnIndex)\">\n </co-simple-grid-cell>\n <div *ngIf=\"column.resizable\" class=\"simple-grid-column-sizer-placeholder\"></div>\n </td>\n </ng-container>\n </ng-container>\n </tr>\n </co-form>\n </tbody>\n </table>\n\n <co-pagination-bar\n *ngIf=\"data?.length > rowsPerPage\" class=\"pagination-bar\"\n [itemsPerPage]=\"rowsPerPage\"\n [currentPage]=\"currentPage\"\n [totalItems]=\"data.length\"\n [autoHide]=\"true\"\n (previousClick)=\"goToPreviousPage()\"\n (nextClick)=\"goToNextPage()\"\n (pageClick)=\"setCurrentPage($event)\">\n </co-pagination-bar>\n ",
10698
+ providers: [FormMasterService],
10594
10699
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
10595
10700
  encapsulation: i0.ViewEncapsulation.None
10596
10701
  },] }
@@ -10598,7 +10703,8 @@
10598
10703
  SimpleGridComponent.ctorParameters = function () { return [
10599
10704
  { type: IconCacheService },
10600
10705
  { type: i0.ChangeDetectorRef },
10601
- { type: FormMasterService }
10706
+ { type: FormMasterService },
10707
+ { type: ExcelExportService }
10602
10708
  ]; };
10603
10709
  SimpleGridComponent.propDecorators = {
10604
10710
  headerCells: [{ type: i0.ViewChildren, args: ['headerCell',] }],
@@ -10609,6 +10715,7 @@
10609
10715
  showGridSettings: [{ type: i0.Input }],
10610
10716
  rowsPerPage: [{ type: i0.Input }],
10611
10717
  rowDisabledFn: [{ type: i0.Input }],
10718
+ showColumnSort: [{ type: i0.Input }],
10612
10719
  canRowBeEdittedFn: [{ type: i0.Input }],
10613
10720
  showClass: [{ type: i0.HostBinding, args: ['class.co-simple-grid',] }],
10614
10721
  handleKeyDown: [{ type: i0.HostListener, args: ['keydown', ['$event'],] }]
@@ -15273,21 +15380,22 @@
15273
15380
  exports.showHideDialog = showHideDialog;
15274
15381
  exports["ɵa"] = InputBoolean;
15275
15382
  exports["ɵb"] = RippleModule;
15276
- exports["ɵba"] = PaginationService;
15277
- exports["ɵbb"] = PaginatePipe;
15278
- exports["ɵbc"] = SimpleGridCellComponent;
15279
- exports["ɵbd"] = ListOfValuesMultiselectPopupComponent;
15280
- exports["ɵbe"] = ConfirmationDialogComponent;
15281
- exports["ɵbf"] = DialogBaseComponent;
15282
- exports["ɵbg"] = CoreDynamicComponentService;
15283
- exports["ɵbh"] = PrependPipeModule;
15284
- exports["ɵbi"] = PrependPipe;
15285
- exports["ɵbj"] = CheckmarkOverlayComponent;
15286
- exports["ɵbk"] = ScannerService;
15287
- exports["ɵbl"] = TooltipModule;
15288
- exports["ɵbm"] = TooltipComponent;
15289
- exports["ɵbn"] = TooltipDirective;
15290
- exports["ɵbo"] = HourSchedulingTestObjectComponent;
15383
+ exports["ɵba"] = ObserveVisibilityDirective;
15384
+ exports["ɵbb"] = PaginationService;
15385
+ exports["ɵbc"] = PaginatePipe;
15386
+ exports["ɵbd"] = SimpleGridCellComponent;
15387
+ exports["ɵbe"] = ListOfValuesMultiselectPopupComponent;
15388
+ exports["ɵbf"] = ConfirmationDialogComponent;
15389
+ exports["ɵbg"] = DialogBaseComponent;
15390
+ exports["ɵbh"] = CoreDynamicComponentService;
15391
+ exports["ɵbi"] = PrependPipeModule;
15392
+ exports["ɵbj"] = PrependPipe;
15393
+ exports["ɵbk"] = CheckmarkOverlayComponent;
15394
+ exports["ɵbl"] = ScannerService;
15395
+ exports["ɵbm"] = TooltipModule;
15396
+ exports["ɵbn"] = TooltipComponent;
15397
+ exports["ɵbo"] = TooltipDirective;
15398
+ exports["ɵbp"] = HourSchedulingTestObjectComponent;
15291
15399
  exports["ɵc"] = MD_RIPPLE_GLOBAL_OPTIONS;
15292
15400
  exports["ɵd"] = CoRippleDirective;
15293
15401
  exports["ɵe"] = CoViewportRulerService;
@@ -15311,7 +15419,7 @@
15311
15419
  exports["ɵw"] = CalendarTemplateComponent;
15312
15420
  exports["ɵx"] = PopupShowerService;
15313
15421
  exports["ɵy"] = BaseSimpleGridComponent;
15314
- exports["ɵz"] = ObserveVisibilityDirective;
15422
+ exports["ɵz"] = ExcelExportService;
15315
15423
 
15316
15424
  Object.defineProperty(exports, '__esModule', { value: true });
15317
15425