@resolveio/client-lib-core 15.0.0 → 15.0.1
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/esm2020/lib/models/user-group.model.mjs +1 -1
- package/esm2020/lib/util/window-resize.service.mjs +4 -4
- package/esm2020/lib/widgets/dialog/dialog.confirm.content.mjs +4 -4
- package/esm2020/lib/widgets/dialog/dialog.error.content.mjs +4 -4
- package/esm2020/lib/widgets/dialog/dialog.notify.content.mjs +4 -4
- package/esm2020/lib/widgets/navbar-module/navbar-module.component.mjs +1 -8
- package/esm2020/lib/widgets/sort-table/sort-table.directive.mjs +8 -8
- package/fesm2015/resolveio-client-lib-core.mjs +19 -26
- package/fesm2015/resolveio-client-lib-core.mjs.map +1 -1
- package/fesm2020/resolveio-client-lib-core.mjs +19 -26
- package/fesm2020/resolveio-client-lib-core.mjs.map +1 -1
- package/lib/directive/scroll.d.ts +1 -1
- package/lib/models/dialog.model.d.ts +1 -1
- package/lib/models/navbar-main-tab.model.d.ts +1 -1
- package/lib/models/support-ticket.model.d.ts +5 -5
- package/lib/models/user-group.model.d.ts +1 -0
- package/lib/widgets/alert/alert.model.d.ts +1 -1
- package/lib/widgets/sort-table/sort-table.directive.d.ts +1 -1
- package/package.json +1 -1
|
@@ -117,14 +117,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
117
117
|
}], ctorParameters: function () { return []; } });
|
|
118
118
|
|
|
119
119
|
class ResizeService {
|
|
120
|
+
get onResize$() {
|
|
121
|
+
return this.resizeSubject.asObservable();
|
|
122
|
+
}
|
|
120
123
|
constructor(eventManager) {
|
|
121
124
|
this.eventManager = eventManager;
|
|
122
125
|
this.resizeSubject = new Subject();
|
|
123
126
|
this.eventManager.addGlobalEventListener('window', 'resize', this.onResize.bind(this));
|
|
124
127
|
}
|
|
125
|
-
get onResize$() {
|
|
126
|
-
return this.resizeSubject.asObservable();
|
|
127
|
-
}
|
|
128
128
|
onResize(event) {
|
|
129
129
|
this.resizeSubject.next(event.target);
|
|
130
130
|
}
|
|
@@ -1979,14 +1979,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1979
1979
|
|
|
1980
1980
|
// tslint:disable-next-line:component-class-suffix
|
|
1981
1981
|
class DialogNotifyContent {
|
|
1982
|
-
constructor(activeModal) {
|
|
1983
|
-
this.activeModal = activeModal;
|
|
1984
|
-
}
|
|
1985
1982
|
handleKeyboardEvent(event) {
|
|
1986
1983
|
if (event.keyCode === 13) {
|
|
1987
1984
|
this.activeModal.close();
|
|
1988
1985
|
}
|
|
1989
1986
|
}
|
|
1987
|
+
constructor(activeModal) {
|
|
1988
|
+
this.activeModal = activeModal;
|
|
1989
|
+
}
|
|
1990
1990
|
}
|
|
1991
1991
|
DialogNotifyContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogNotifyContent, deps: [{ token: i1$4.NgbActiveModal }], target: i0.ɵɵFactoryTarget.Component });
|
|
1992
1992
|
DialogNotifyContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogNotifyContent, selector: "ng-component", inputs: { title: "title", body: "body" }, host: { listeners: { "document:keypress": "handleKeyboardEvent($event)" } }, ngImport: i0, template: `
|
|
@@ -2326,14 +2326,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2326
2326
|
|
|
2327
2327
|
// tslint:disable-next-line:component-class-suffix
|
|
2328
2328
|
class DialogErrorContent {
|
|
2329
|
-
constructor(activeModal) {
|
|
2330
|
-
this.activeModal = activeModal;
|
|
2331
|
-
}
|
|
2332
2329
|
handleKeyboardEvent(event) {
|
|
2333
2330
|
if (event.keyCode === 13) {
|
|
2334
2331
|
this.activeModal.close();
|
|
2335
2332
|
}
|
|
2336
2333
|
}
|
|
2334
|
+
constructor(activeModal) {
|
|
2335
|
+
this.activeModal = activeModal;
|
|
2336
|
+
}
|
|
2337
2337
|
}
|
|
2338
2338
|
DialogErrorContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogErrorContent, deps: [{ token: i1$4.NgbActiveModal }], target: i0.ɵɵFactoryTarget.Component });
|
|
2339
2339
|
DialogErrorContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogErrorContent, selector: "ng-component", inputs: { title: "title", body: "body" }, host: { listeners: { "document:keypress": "handleKeyboardEvent($event)" } }, ngImport: i0, template: `
|
|
@@ -2379,14 +2379,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2379
2379
|
|
|
2380
2380
|
// tslint:disable-next-line:component-class-suffix
|
|
2381
2381
|
class DialogConfirmContent {
|
|
2382
|
-
constructor(activeModal) {
|
|
2383
|
-
this.activeModal = activeModal;
|
|
2384
|
-
}
|
|
2385
2382
|
handleKeyboardEvent(event) {
|
|
2386
2383
|
if (event.keyCode === 13) {
|
|
2387
2384
|
this.activeModal.close();
|
|
2388
2385
|
}
|
|
2389
2386
|
}
|
|
2387
|
+
constructor(activeModal) {
|
|
2388
|
+
this.activeModal = activeModal;
|
|
2389
|
+
}
|
|
2390
2390
|
}
|
|
2391
2391
|
DialogConfirmContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogConfirmContent, deps: [{ token: i1$4.NgbActiveModal }], target: i0.ɵɵFactoryTarget.Component });
|
|
2392
2392
|
DialogConfirmContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogConfirmContent, selector: "ng-component", inputs: { title: "title", body: "body", html: "html" }, host: { listeners: { "document:keypress": "handleKeyboardEvent($event)" } }, ngImport: i0, template: `
|
|
@@ -4856,13 +4856,6 @@ class NavbarModuleComponent extends BaseComponent {
|
|
|
4856
4856
|
this.selectTabFromRouter();
|
|
4857
4857
|
}
|
|
4858
4858
|
}));
|
|
4859
|
-
this.routerEvents$.push(this._services._router.events
|
|
4860
|
-
//.filter(event => event instanceof NavigationCancel)
|
|
4861
|
-
.subscribe((event) => {
|
|
4862
|
-
if (this._services._router.url.replace(/\/[a-f0-9]{24}$/, '').replace(/\?.+$/, '') !== this.currentRoute || !this.selectedTab) {
|
|
4863
|
-
this.selectTabFromRouter();
|
|
4864
|
-
}
|
|
4865
|
-
}));
|
|
4866
4859
|
this.routerEvents$.push(this._services._app.navbarModuleData.subscribe(data => {
|
|
4867
4860
|
this.menuData = data;
|
|
4868
4861
|
if (this._services._router.url.replace(/\/[a-f0-9]{24}$/, '').replace(/\?.+$/, '') !== this.currentRoute || !this.selectedTab) {
|
|
@@ -5982,6 +5975,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5982
5975
|
}] });
|
|
5983
5976
|
|
|
5984
5977
|
class SortTableDirective {
|
|
5978
|
+
get direction() { return this._direction; }
|
|
5979
|
+
set direction(direction) {
|
|
5980
|
+
if (direction && direction !== -1 && direction !== 1) {
|
|
5981
|
+
throw Error(direction + ' is not a valid sort direction (0 or 1).');
|
|
5982
|
+
}
|
|
5983
|
+
this._direction = direction;
|
|
5984
|
+
}
|
|
5985
5985
|
// @HostBinding('class') elementClass = '';
|
|
5986
5986
|
constructor(element) {
|
|
5987
5987
|
this.element = element;
|
|
@@ -6007,13 +6007,6 @@ class SortTableDirective {
|
|
|
6007
6007
|
// this.elementClass = 'collapseTable';
|
|
6008
6008
|
// }
|
|
6009
6009
|
}
|
|
6010
|
-
get direction() { return this._direction; }
|
|
6011
|
-
set direction(direction) {
|
|
6012
|
-
if (direction && direction !== -1 && direction !== 1) {
|
|
6013
|
-
throw Error(direction + ' is not a valid sort direction (0 or 1).');
|
|
6014
|
-
}
|
|
6015
|
-
this._direction = direction;
|
|
6016
|
-
}
|
|
6017
6010
|
register(sortable) {
|
|
6018
6011
|
if (!sortable.id) {
|
|
6019
6012
|
throw Error('CTSortHeader must be provided with a unique id');
|