@universis/ngx-tables 0.7.28 → 0.7.29
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/bundles/universis-ngx-tables.umd.js +4 -4
- package/bundles/universis-ngx-tables.umd.js.map +1 -1
- package/bundles/universis-ngx-tables.umd.min.js +1 -1
- package/bundles/universis-ngx-tables.umd.min.js.map +1 -1
- package/esm2015/lib/components/advanced-table/advanced-table.formatters.js +5 -5
- package/esm5/lib/components/advanced-table/advanced-table.formatters.js +5 -5
- package/fesm2015/universis-ngx-tables.js +5 -5
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +5 -5
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
|
|
|
20
20
|
import { GroupByPipe, NgPipesModule } from 'ngx-pipes';
|
|
21
21
|
import { template, at, cloneDeep } from 'lodash';
|
|
22
22
|
import { __extends, __awaiter, __generator, __values, __assign, __spread } from 'tslib';
|
|
23
|
-
import { Injectable, Directive, Optional, Input, Pipe, Component,
|
|
23
|
+
import { Injectable, Directive, Optional, Input, Pipe, Component, ElementRef, ViewChild, ViewEncapsulation, EventEmitter, Output, NgModule, CUSTOM_ELEMENTS_SCHEMA, defineInjectable, inject, HostListener, ChangeDetectorRef, InjectionToken, Inject, Injector, ChangeDetectionStrategy } from '@angular/core';
|
|
24
24
|
import { ActivatedRoute, Router, NavigationStart, NavigationEnd, RouterModule } from '@angular/router';
|
|
25
25
|
import { createFeatureSelector, createSelector, select, Store } from '@ngrx/store';
|
|
26
26
|
import { first, filter } from 'rxjs/operators';
|
|
@@ -210,7 +210,7 @@ var ActionLinkFormatter = /** @class */ (function (_super) {
|
|
|
210
210
|
}
|
|
211
211
|
if (x.formatOptions && x.formatOptions.commands) {
|
|
212
212
|
var urlTree = _this.createUrlTree(row, x.formatOptions);
|
|
213
|
-
return "<a data-name='" + x.name + "' class=\"dropdown-item\" href=\"" + urlTree.toString() + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
213
|
+
return "<a data-name='" + x.name + "' class=\"dropdown-item\" href=\"#" + urlTree.toString() + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
214
214
|
}
|
|
215
215
|
return "<a data-name='" + x.name + "' class=\"dropdown-item\" href=\"" + AdvancedColumnFormatter.template(x.href)(row) + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
216
216
|
})
|
|
@@ -276,7 +276,7 @@ var ActionButtonFormatter = /** @class */ (function (_super) {
|
|
|
276
276
|
}
|
|
277
277
|
if (x.commands) {
|
|
278
278
|
var urlTree = _this.createUrlTree(row, x);
|
|
279
|
-
return "<a class=\"dropdown-item\" href=\"" + urlTree.toString() + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
279
|
+
return "<a class=\"dropdown-item\" href=\"#" + urlTree.toString() + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
280
280
|
}
|
|
281
281
|
return "<a class=\"dropdown-item\" href=\"" + AdvancedColumnFormatter.template(x.href)(row) + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
282
282
|
})
|
|
@@ -326,7 +326,7 @@ var ActionSplitButtonFormatter = /** @class */ (function (_super) {
|
|
|
326
326
|
var defaultAction = actions[0];
|
|
327
327
|
var defaultActionHref = void 0;
|
|
328
328
|
if (defaultAction && defaultAction.commands) {
|
|
329
|
-
defaultActionHref = this.createUrlTree(row, defaultAction).toString();
|
|
329
|
+
defaultActionHref = '#' + this.createUrlTree(row, defaultAction).toString();
|
|
330
330
|
}
|
|
331
331
|
else {
|
|
332
332
|
defaultActionHref = AdvancedColumnFormatter.template(defaultAction.href)(row);
|
|
@@ -337,7 +337,7 @@ var ActionSplitButtonFormatter = /** @class */ (function (_super) {
|
|
|
337
337
|
}
|
|
338
338
|
if (x.commands) {
|
|
339
339
|
var urlTree = _this.createUrlTree(row, x);
|
|
340
|
-
return "<a class=\"dropdown-item\" href=\"" + urlTree.toString() + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
340
|
+
return "<a class=\"dropdown-item\" href=\"#" + urlTree.toString() + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
341
341
|
}
|
|
342
342
|
return "<a class=\"dropdown-item\" href=\"" + AdvancedColumnFormatter.template(x.href)(row) + "\">\n " + _this.injector.get(TranslateService).instant(x.title) + "\n </a>";
|
|
343
343
|
})
|