@trudb/tru-common-lib 0.0.163 → 0.0.169
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/assets/tru-search-icon-module.mjs +50 -0
- package/esm2020/lib/{classes/search/tru-search.mjs → base-classes/tru-search-component-base.mjs} +5 -5
- package/esm2020/lib/classes/tru-window-add-view-event.mjs +22 -0
- package/esm2020/lib/classes/tru-window-event.mjs +25 -0
- package/esm2020/lib/services/tru-component-lookup.mjs +3 -3
- package/esm2020/lib/services/tru-search-group-event-handler.mjs +3 -3
- package/esm2020/lib/services/tru-window-action-event-handler.mjs +3 -3
- package/esm2020/lib/services/tru-window-event-handler.mjs +18 -4
- package/esm2020/lib/tru-common-module.mjs +7 -26
- package/esm2020/public-api.mjs +8 -31
- package/fesm2015/trudb-tru-common-lib.mjs +81 -340
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +81 -340
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/{trudb-tru-common-lib.d.ts → index.d.ts} +0 -0
- package/lib/assets/{search/tru-search-icon-module.d.ts → tru-search-icon-module.d.ts} +0 -0
- package/lib/{classes/search/tru-search.d.ts → base-classes/tru-search-component-base.d.ts} +3 -3
- package/lib/classes/{event/tru-window-add-view-event.d.ts → tru-window-add-view-event.d.ts} +0 -1
- package/lib/classes/{event/tru-window-event.d.ts → tru-window-event.d.ts} +0 -0
- package/lib/services/tru-window-event-handler.d.ts +8 -1
- package/lib/tru-common-module.d.ts +1 -5
- package/package.json +3 -3
- package/public-api.d.ts +4 -21
- package/esm2020/lib/assets/search/tru-search-icon-module.mjs +0 -50
- package/esm2020/lib/classes/event/tru-window-add-view-event.mjs +0 -23
- package/esm2020/lib/classes/event/tru-window-event.mjs +0 -25
- package/esm2020/lib/components/menu/menu/tru-menu-module.mjs +0 -34
- package/esm2020/lib/components/menu/menu/tru-menu.mjs +0 -33
- package/esm2020/lib/components/menu/menu-button/tru-menu-button-module.mjs +0 -19
- package/esm2020/lib/components/menu/menu-button/tru-menu-button.mjs +0 -16
- package/esm2020/lib/components/menu/menu-item/tru-menu-item-module.mjs +0 -19
- package/esm2020/lib/components/menu/menu-item/tru-menu-item.mjs +0 -26
- package/esm2020/lib/components/menu/sub-menu/tru-sub-menu-module.mjs +0 -26
- package/esm2020/lib/components/menu/sub-menu/tru-sub-menu.mjs +0 -54
- package/esm2020/lib/components/search/search-group/tru-search-group-module.mjs +0 -19
- package/esm2020/lib/components/search/search-group/tru-search-group.mjs +0 -33
- package/esm2020/lib/interfaces/choice.mjs +0 -2
- package/esm2020/lib/interfaces/search/boolean.mjs +0 -2
- package/esm2020/lib/interfaces/search/choice.mjs +0 -2
- package/esm2020/lib/interfaces/search/date-time.mjs +0 -2
- package/esm2020/lib/interfaces/search/number.mjs +0 -2
- package/esm2020/lib/interfaces/search/text.mjs +0 -2
- package/esm2020/lib/services/tru-window-add-view-event-handler.mjs +0 -23
- package/lib/components/menu/menu/tru-menu-module.d.ts +0 -11
- package/lib/components/menu/menu/tru-menu.d.ts +0 -10
- package/lib/components/menu/menu-button/tru-menu-button-module.d.ts +0 -9
- package/lib/components/menu/menu-button/tru-menu-button.d.ts +0 -7
- package/lib/components/menu/menu-item/tru-menu-item-module.d.ts +0 -9
- package/lib/components/menu/menu-item/tru-menu-item.d.ts +0 -8
- package/lib/components/menu/sub-menu/tru-sub-menu-module.d.ts +0 -9
- package/lib/components/menu/sub-menu/tru-sub-menu.d.ts +0 -13
- package/lib/components/search/search-group/tru-search-group-module.d.ts +0 -9
- package/lib/components/search/search-group/tru-search-group.d.ts +0 -15
- package/lib/interfaces/choice.d.ts +0 -4
- package/lib/interfaces/search/boolean.d.ts +0 -7
- package/lib/interfaces/search/choice.d.ts +0 -11
- package/lib/interfaces/search/date-time.d.ts +0 -8
- package/lib/interfaces/search/number.d.ts +0 -6
- package/lib/interfaces/search/text.d.ts +0 -14
- package/lib/services/tru-window-add-view-event-handler.d.ts +0 -10
|
@@ -1,60 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Directive, Input, Injectable, EventEmitter, NgModule } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
|
-
import * as i1 from '@angular/common';
|
|
5
4
|
import { CommonModule } from '@angular/common';
|
|
6
5
|
import { FormsModule } from '@angular/forms';
|
|
7
|
-
import * as i1
|
|
6
|
+
import * as i1 from '@angular/platform-browser';
|
|
8
7
|
import * as i2 from '@angular/material/icon';
|
|
9
8
|
|
|
10
|
-
class TruWindowEvent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.title = '';
|
|
13
|
-
this.tableName = '';
|
|
14
|
-
this.tablePluralName = '';
|
|
15
|
-
this.tablePluralLabel = '';
|
|
16
|
-
this.context = {};
|
|
17
|
-
this.contentBottom = '23px';
|
|
18
|
-
this.statusbarDirective = 'tru-statusbar';
|
|
19
|
-
this.height = '450px';
|
|
20
|
-
this.width = '900px';
|
|
21
|
-
this.views = [{}];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
TruWindowEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowEvent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
-
TruWindowEvent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowEvent, providedIn: 'root' });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowEvent, decorators: [{
|
|
27
|
-
type: Injectable,
|
|
28
|
-
args: [{
|
|
29
|
-
providedIn: 'root'
|
|
30
|
-
}]
|
|
31
|
-
}] });
|
|
32
|
-
|
|
33
|
-
class TruWindowAddViewEvent {
|
|
34
|
-
constructor() {
|
|
35
|
-
this.active = null;
|
|
36
|
-
this.entities = null;
|
|
37
|
-
this.entityIndex = 0;
|
|
38
|
-
this.isDirty = false;
|
|
39
|
-
this.isEditing = false;
|
|
40
|
-
this.isInvalid = false;
|
|
41
|
-
this.data = null;
|
|
42
|
-
this.componentName = '';
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
TruWindowAddViewEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowAddViewEvent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
46
|
-
TruWindowAddViewEvent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowAddViewEvent, providedIn: 'root' });
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowAddViewEvent, decorators: [{
|
|
48
|
-
type: Injectable,
|
|
49
|
-
args: [{
|
|
50
|
-
providedIn: 'root'
|
|
51
|
-
}]
|
|
52
|
-
}] });
|
|
53
|
-
|
|
54
9
|
/*
|
|
55
10
|
* The abstract class needs the Angular @Component decorator in order in implement @Input
|
|
56
11
|
*/
|
|
57
|
-
class
|
|
12
|
+
class TruSearchComponentBaae {
|
|
58
13
|
constructor() {
|
|
59
14
|
this.operatorLookup = {
|
|
60
15
|
'equal': 'eq',
|
|
@@ -88,14 +43,57 @@ class TruSearch {
|
|
|
88
43
|
};
|
|
89
44
|
}
|
|
90
45
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
TruSearchComponentBaae.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchComponentBaae, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
TruSearchComponentBaae.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: TruSearchComponentBaae, inputs: { config: "config" }, ngImport: i0 });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchComponentBaae, decorators: [{
|
|
94
49
|
type: Directive
|
|
95
50
|
}], propDecorators: { config: [{
|
|
96
51
|
type: Input
|
|
97
52
|
}] } });
|
|
98
53
|
|
|
54
|
+
class TruWindowEvent {
|
|
55
|
+
constructor() {
|
|
56
|
+
this.title = '';
|
|
57
|
+
this.tableName = '';
|
|
58
|
+
this.tablePluralName = '';
|
|
59
|
+
this.tablePluralLabel = '';
|
|
60
|
+
this.context = {};
|
|
61
|
+
this.contentBottom = '23px';
|
|
62
|
+
this.statusbarDirective = 'tru-statusbar';
|
|
63
|
+
this.height = '450px';
|
|
64
|
+
this.width = '900px';
|
|
65
|
+
this.views = [{}];
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
TruWindowEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowEvent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
69
|
+
TruWindowEvent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowEvent, providedIn: 'root' });
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowEvent, decorators: [{
|
|
71
|
+
type: Injectable,
|
|
72
|
+
args: [{
|
|
73
|
+
providedIn: 'root'
|
|
74
|
+
}]
|
|
75
|
+
}] });
|
|
76
|
+
|
|
77
|
+
class TruWindowAddViewEvent {
|
|
78
|
+
constructor() {
|
|
79
|
+
this.active = null;
|
|
80
|
+
this.entities = null;
|
|
81
|
+
this.entityIndex = 0;
|
|
82
|
+
this.isDirty = false;
|
|
83
|
+
this.isEditing = false;
|
|
84
|
+
this.isInvalid = false;
|
|
85
|
+
this.componentName = '';
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
TruWindowAddViewEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowAddViewEvent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
89
|
+
TruWindowAddViewEvent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowAddViewEvent, providedIn: 'root' });
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowAddViewEvent, decorators: [{
|
|
91
|
+
type: Injectable,
|
|
92
|
+
args: [{
|
|
93
|
+
providedIn: 'root'
|
|
94
|
+
}]
|
|
95
|
+
}] });
|
|
96
|
+
|
|
99
97
|
class TruSearchGroupEventHandler {
|
|
100
98
|
constructor() {
|
|
101
99
|
this.search$ = new EventEmitter();
|
|
@@ -128,9 +126,9 @@ class TruSearchGroupEventHandler {
|
|
|
128
126
|
this.default$.next(null);
|
|
129
127
|
}
|
|
130
128
|
}
|
|
131
|
-
TruSearchGroupEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
132
|
-
TruSearchGroupEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
129
|
+
TruSearchGroupEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchGroupEventHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
130
|
+
TruSearchGroupEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchGroupEventHandler });
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchGroupEventHandler, decorators: [{
|
|
134
132
|
type: Injectable
|
|
135
133
|
}] });
|
|
136
134
|
|
|
@@ -150,9 +148,9 @@ class TruComponentLookup {
|
|
|
150
148
|
};
|
|
151
149
|
}
|
|
152
150
|
}
|
|
153
|
-
TruComponentLookup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
154
|
-
TruComponentLookup.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
151
|
+
TruComponentLookup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruComponentLookup, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
152
|
+
TruComponentLookup.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruComponentLookup, providedIn: 'root' });
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruComponentLookup, decorators: [{
|
|
156
154
|
type: Injectable,
|
|
157
155
|
args: [{ providedIn: 'root' }]
|
|
158
156
|
}] });
|
|
@@ -175,15 +173,17 @@ class TruWindowActionEventHandler {
|
|
|
175
173
|
};
|
|
176
174
|
}
|
|
177
175
|
}
|
|
178
|
-
TruWindowActionEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
179
|
-
TruWindowActionEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
176
|
+
TruWindowActionEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowActionEventHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
177
|
+
TruWindowActionEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowActionEventHandler });
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowActionEventHandler, decorators: [{
|
|
181
179
|
type: Injectable
|
|
182
180
|
}] });
|
|
183
181
|
|
|
184
182
|
class TruWindowEventHandler {
|
|
185
183
|
constructor() {
|
|
186
184
|
this.open$ = new Subject();
|
|
185
|
+
this.addView$ = new Subject();
|
|
186
|
+
this.removeForwadViews$ = new Subject();
|
|
187
187
|
}
|
|
188
188
|
onOpen() {
|
|
189
189
|
return this.open$;
|
|
@@ -191,269 +191,25 @@ class TruWindowEventHandler {
|
|
|
191
191
|
open(windowEvent) {
|
|
192
192
|
this.open$.next(windowEvent);
|
|
193
193
|
}
|
|
194
|
-
}
|
|
195
|
-
TruWindowEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowEventHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
196
|
-
TruWindowEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowEventHandler, providedIn: 'root' });
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowEventHandler, decorators: [{
|
|
198
|
-
type: Injectable,
|
|
199
|
-
args: [{
|
|
200
|
-
providedIn: 'root'
|
|
201
|
-
}]
|
|
202
|
-
}] });
|
|
203
|
-
|
|
204
|
-
class TruWindowAddViewEventHandler {
|
|
205
|
-
constructor() {
|
|
206
|
-
this.addView$ = new Subject();
|
|
207
|
-
}
|
|
208
194
|
onAddView() {
|
|
209
195
|
return this.addView$;
|
|
210
196
|
}
|
|
211
197
|
addView(windowAddViewEvent) {
|
|
212
198
|
this.addView$.next(windowAddViewEvent);
|
|
213
199
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
TruWindowAddViewEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowAddViewEventHandler, providedIn: 'root' });
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruWindowAddViewEventHandler, decorators: [{
|
|
218
|
-
type: Injectable,
|
|
219
|
-
args: [{
|
|
220
|
-
providedIn: 'root'
|
|
221
|
-
}]
|
|
222
|
-
}] });
|
|
223
|
-
|
|
224
|
-
class TruMenuButton {
|
|
225
|
-
constructor() {
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
TruMenuButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
229
|
-
TruMenuButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: TruMenuButton, selector: "tru-menu-button", inputs: { config: "config" }, ngImport: i0, template: "<div>\r\n <i *ngIf=\"config.menuIcon\" class=\"{{config.menuIcon}} sub-menu-icon\" tabindex=\"-1\" (click)=\"config.fire()\"></i>\r\n <button tabindex=\"-1\" (click)=\"config.fire()\" [disabled]=\"!config.enabled()\" *ngIf=\"config.hasAccess() && !config.menuIcon\">{{config.label}}</button>\r\n</div>\r\n", styles: [".has-sub-menu{position:relative;cursor:pointer}.has-sub-menu button{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important}.has-sub-menu p{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important;line-height:26px;pointer-events:none}.has-sub-menu p.separator-title{padding:0!important;font-size:12px;color:#ababab}.has-sub-menu:hover{background:#959595}\n", ".sub-menu-icon{font-size:18px;line-height:22px;vertical-align:middle;pointer-events:none}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuButton, decorators: [{
|
|
231
|
-
type: Component,
|
|
232
|
-
args: [{ selector: 'tru-menu-button', template: "<div>\r\n <i *ngIf=\"config.menuIcon\" class=\"{{config.menuIcon}} sub-menu-icon\" tabindex=\"-1\" (click)=\"config.fire()\"></i>\r\n <button tabindex=\"-1\" (click)=\"config.fire()\" [disabled]=\"!config.enabled()\" *ngIf=\"config.hasAccess() && !config.menuIcon\">{{config.label}}</button>\r\n</div>\r\n", styles: [".has-sub-menu{position:relative;cursor:pointer}.has-sub-menu button{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important}.has-sub-menu p{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important;line-height:26px;pointer-events:none}.has-sub-menu p.separator-title{padding:0!important;font-size:12px;color:#ababab}.has-sub-menu:hover{background:#959595}\n", ".sub-menu-icon{font-size:18px;line-height:22px;vertical-align:middle;pointer-events:none}\n"] }]
|
|
233
|
-
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
234
|
-
type: Input
|
|
235
|
-
}] } });
|
|
236
|
-
|
|
237
|
-
class TruMenuItem {
|
|
238
|
-
constructor() {
|
|
239
|
-
this.onClick = (event) => {
|
|
240
|
-
var target = event.target;
|
|
241
|
-
var isActive = target.classList.contains('is-active');
|
|
242
|
-
if (isActive) {
|
|
243
|
-
target.classList.remove('is-active');
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
target.classList.add('is-active');
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
TruMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
252
|
-
TruMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: TruMenuItem, selector: "tru-menu-item", inputs: { config: "config" }, ngImport: i0, template: "<div (click)=\"onClick($event)\">\r\n <p *ngIf=\"config.menuLabel\">{{config.menuLabel}}</p>\r\n <i *ngIf=\"config.menuIcon\" class=\"{{config.menuIcon}} sub-menu-icon\" tabindex=\"-1\"></i>\r\n <div class=\"sub-menu\" *ngIf=\"config.choices\">\r\n <ul class=\"sub-menu-nav\">\r\n <li *ngFor=\"let choice of config.choices\">\r\n <p *ngIf=\"choice.title\" class=\"separator-title\">{{choice.title}}</p>\r\n <hr *ngIf=\"choice.separator\" />\r\n <button *ngIf=\"!choice.separator\" tabindex=\"-1\" (click)=\"choice.fire()\" [disabled]=\"!choice.enabled\">{{choice.label}}</button>\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n", styles: [".has-sub-menu{position:relative;cursor:pointer}.has-sub-menu button{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important}.has-sub-menu p{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important;line-height:26px;pointer-events:none}.has-sub-menu p.separator-title{padding:0!important;font-size:12px;color:#ababab}.has-sub-menu:hover{background:#959595}\n", "p{margin:0;line-height:26px;pointer-events:none}.sub-menu{display:none;position:absolute;left:-1px;min-width:200px;padding:5px 0;background:#ffffff;border:1px solid #d5d5d5;border-top:none;z-index:99999999}.sub-menu-nav a{display:block;padding:0 20px;line-height:1.5}.sub-menu-nav a:hover{background:#959595;color:#fff}.sub-menu-nav hr{margin:0;color:#dedede}.sub-menu button{background:#fff;border:none;text-decoration:none;cursor:pointer;display:block;padding:0 20px!important;line-height:1.5;width:100%;text-align:left;outline:none}.sub-menu button:hover{background:#959595;color:#fff}.sub-menu button:disabled{background:#fff;color:#000;opacity:.5}.sub-menu-nav>li{position:relative;padding:0 3px}.sub-menu-nav>li:hover>.sub-menu{display:block;top:-6px;left:190px;border:1px solid #d5d5d5}.sub-menu-nav{margin:0;padding:0;list-style:none}.sub-menu-nav>*+*{display:block;margin-top:5px}.sub-menu-icon{font-size:18px;line-height:22px;vertical-align:middle;pointer-events:none}.is-active div.sub-menu{display:block}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuItem, decorators: [{
|
|
254
|
-
type: Component,
|
|
255
|
-
args: [{ selector: 'tru-menu-item', template: "<div (click)=\"onClick($event)\">\r\n <p *ngIf=\"config.menuLabel\">{{config.menuLabel}}</p>\r\n <i *ngIf=\"config.menuIcon\" class=\"{{config.menuIcon}} sub-menu-icon\" tabindex=\"-1\"></i>\r\n <div class=\"sub-menu\" *ngIf=\"config.choices\">\r\n <ul class=\"sub-menu-nav\">\r\n <li *ngFor=\"let choice of config.choices\">\r\n <p *ngIf=\"choice.title\" class=\"separator-title\">{{choice.title}}</p>\r\n <hr *ngIf=\"choice.separator\" />\r\n <button *ngIf=\"!choice.separator\" tabindex=\"-1\" (click)=\"choice.fire()\" [disabled]=\"!choice.enabled\">{{choice.label}}</button>\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n", styles: [".has-sub-menu{position:relative;cursor:pointer}.has-sub-menu button{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important}.has-sub-menu p{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important;line-height:26px;pointer-events:none}.has-sub-menu p.separator-title{padding:0!important;font-size:12px;color:#ababab}.has-sub-menu:hover{background:#959595}\n", "p{margin:0;line-height:26px;pointer-events:none}.sub-menu{display:none;position:absolute;left:-1px;min-width:200px;padding:5px 0;background:#ffffff;border:1px solid #d5d5d5;border-top:none;z-index:99999999}.sub-menu-nav a{display:block;padding:0 20px;line-height:1.5}.sub-menu-nav a:hover{background:#959595;color:#fff}.sub-menu-nav hr{margin:0;color:#dedede}.sub-menu button{background:#fff;border:none;text-decoration:none;cursor:pointer;display:block;padding:0 20px!important;line-height:1.5;width:100%;text-align:left;outline:none}.sub-menu button:hover{background:#959595;color:#fff}.sub-menu button:disabled{background:#fff;color:#000;opacity:.5}.sub-menu-nav>li{position:relative;padding:0 3px}.sub-menu-nav>li:hover>.sub-menu{display:block;top:-6px;left:190px;border:1px solid #d5d5d5}.sub-menu-nav{margin:0;padding:0;list-style:none}.sub-menu-nav>*+*{display:block;margin-top:5px}.sub-menu-icon{font-size:18px;line-height:22px;vertical-align:middle;pointer-events:none}.is-active div.sub-menu{display:block}\n"] }]
|
|
256
|
-
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
257
|
-
type: Input
|
|
258
|
-
}] } });
|
|
259
|
-
|
|
260
|
-
class TruMenu {
|
|
261
|
-
constructor() {
|
|
262
|
-
this.onDocumentClick = (event) => {
|
|
263
|
-
var activeMenus = document.querySelectorAll('.is-active');
|
|
264
|
-
var target = event.target;
|
|
265
|
-
activeMenus.forEach((activeMenu) => {
|
|
266
|
-
if (activeMenu !== target) {
|
|
267
|
-
activeMenu.classList.remove('is-active');
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
|
-
ngAfterViewInit() {
|
|
273
|
-
document.addEventListener('click', this.onDocumentClick);
|
|
274
|
-
}
|
|
275
|
-
ngOnDestroy() {
|
|
276
|
-
document.removeEventListener('click', this.onDocumentClick);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
TruMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
280
|
-
TruMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: TruMenu, selector: "tru-menu", inputs: { config: "config" }, ngImport: i0, template: "<li class=\"has-sub-menu\">\r\n <tru-menu-button [config]=\"config\" *ngIf=\"!config.choices\"></tru-menu-button>\r\n <tru-menu-item [config]=\"config\" *ngIf=\"config.choices && config.choices.length\"></tru-menu-item>\r\n</li>\r\n", styles: [".has-sub-menu{position:relative;cursor:pointer}.has-sub-menu button{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important}.has-sub-menu p{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important;line-height:26px;pointer-events:none}.has-sub-menu p.separator-title{padding:0!important;font-size:12px;color:#ababab}.has-sub-menu:hover{background:#959595}\n"], components: [{ type: TruMenuButton, selector: "tru-menu-button", inputs: ["config"] }, { type: TruMenuItem, selector: "tru-menu-item", inputs: ["config"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenu, decorators: [{
|
|
282
|
-
type: Component,
|
|
283
|
-
args: [{ selector: 'tru-menu', template: "<li class=\"has-sub-menu\">\r\n <tru-menu-button [config]=\"config\" *ngIf=\"!config.choices\"></tru-menu-button>\r\n <tru-menu-item [config]=\"config\" *ngIf=\"config.choices && config.choices.length\"></tru-menu-item>\r\n</li>\r\n", styles: [".has-sub-menu{position:relative;cursor:pointer}.has-sub-menu button{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important}.has-sub-menu p{background:transparent;border:none;text-decoration:none;cursor:pointer;display:block;width:100%;text-align:left;outline:none;padding:0 10px!important;line-height:26px;pointer-events:none}.has-sub-menu p.separator-title{padding:0!important;font-size:12px;color:#ababab}.has-sub-menu:hover{background:#959595}\n"] }]
|
|
284
|
-
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
285
|
-
type: Input
|
|
286
|
-
}] } });
|
|
287
|
-
|
|
288
|
-
class TruMenuItemModule {
|
|
289
|
-
}
|
|
290
|
-
TruMenuItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
291
|
-
TruMenuItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuItemModule, declarations: [TruMenuItem], imports: [CommonModule, FormsModule], exports: [TruMenuItem] });
|
|
292
|
-
TruMenuItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuItemModule, imports: [[CommonModule, FormsModule]] });
|
|
293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuItemModule, decorators: [{
|
|
294
|
-
type: NgModule,
|
|
295
|
-
args: [{
|
|
296
|
-
declarations: [TruMenuItem],
|
|
297
|
-
imports: [CommonModule, FormsModule],
|
|
298
|
-
exports: [TruMenuItem]
|
|
299
|
-
}]
|
|
300
|
-
}] });
|
|
301
|
-
|
|
302
|
-
class TruMenuButtonModule {
|
|
303
|
-
}
|
|
304
|
-
TruMenuButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
305
|
-
TruMenuButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuButtonModule, declarations: [TruMenuButton], imports: [CommonModule, FormsModule], exports: [TruMenuButton] });
|
|
306
|
-
TruMenuButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuButtonModule, imports: [[CommonModule, FormsModule]] });
|
|
307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuButtonModule, decorators: [{
|
|
308
|
-
type: NgModule,
|
|
309
|
-
args: [{
|
|
310
|
-
declarations: [TruMenuButton],
|
|
311
|
-
imports: [CommonModule, FormsModule],
|
|
312
|
-
exports: [TruMenuButton]
|
|
313
|
-
}]
|
|
314
|
-
}] });
|
|
315
|
-
|
|
316
|
-
class TruMenuModule {
|
|
317
|
-
}
|
|
318
|
-
TruMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
319
|
-
TruMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuModule, declarations: [TruMenu], imports: [CommonModule,
|
|
320
|
-
FormsModule,
|
|
321
|
-
TruMenuItemModule,
|
|
322
|
-
TruMenuButtonModule], exports: [TruMenu] });
|
|
323
|
-
TruMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuModule, imports: [[
|
|
324
|
-
CommonModule,
|
|
325
|
-
FormsModule,
|
|
326
|
-
TruMenuItemModule,
|
|
327
|
-
TruMenuButtonModule
|
|
328
|
-
]] });
|
|
329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuModule, decorators: [{
|
|
330
|
-
type: NgModule,
|
|
331
|
-
args: [{
|
|
332
|
-
declarations: [TruMenu],
|
|
333
|
-
imports: [
|
|
334
|
-
CommonModule,
|
|
335
|
-
FormsModule,
|
|
336
|
-
TruMenuItemModule,
|
|
337
|
-
TruMenuButtonModule
|
|
338
|
-
],
|
|
339
|
-
exports: [TruMenu]
|
|
340
|
-
}]
|
|
341
|
-
}] });
|
|
342
|
-
|
|
343
|
-
class TruSubMenu {
|
|
344
|
-
constructor(elementRef) {
|
|
345
|
-
this.elementRef = elementRef;
|
|
346
|
-
this.onClick = (event) => {
|
|
347
|
-
var target = event.target.parentElement.parentElement;
|
|
348
|
-
var isSubMenu = target.classList.contains('has-sub-menu');
|
|
349
|
-
var isActive = target.classList.contains('is-active');
|
|
350
|
-
if (isSubMenu && isActive) {
|
|
351
|
-
target.classList.remove('is-active');
|
|
352
|
-
}
|
|
353
|
-
else if (isSubMenu && !isActive) {
|
|
354
|
-
target.classList.add('is-active');
|
|
355
|
-
}
|
|
356
|
-
var subMenus = this.elementRef.nativeElement.querySelectorAll(".has-sub-menu");
|
|
357
|
-
subMenus.forEach((menu) => {
|
|
358
|
-
if (menu !== target && menu.classList.contains('is-active')) {
|
|
359
|
-
menu.classList.remove('is-active');
|
|
360
|
-
}
|
|
361
|
-
});
|
|
362
|
-
};
|
|
363
|
-
this.onDocumentClick = (event) => {
|
|
364
|
-
var subMenus = document.querySelectorAll('.has-sub-menu');
|
|
365
|
-
var target = event.target.parentElement.parentElement;
|
|
366
|
-
subMenus.forEach((menu) => {
|
|
367
|
-
if (menu !== target && menu.classList.contains('is-active')) {
|
|
368
|
-
menu.classList.remove('is-active');
|
|
369
|
-
}
|
|
370
|
-
});
|
|
371
|
-
};
|
|
372
|
-
}
|
|
373
|
-
ngOnInit() { }
|
|
374
|
-
ngAfterViewInit() {
|
|
375
|
-
var subMenu = this.elementRef.nativeElement.querySelectorAll(".has-sub-menu")[0];
|
|
376
|
-
if (subMenu) {
|
|
377
|
-
this.elementRef.nativeElement.addEventListener('click', this.onClick);
|
|
378
|
-
document.addEventListener('click', this.onDocumentClick);
|
|
379
|
-
}
|
|
200
|
+
onRemoveForwardViews() {
|
|
201
|
+
return this.removeForwadViews$;
|
|
380
202
|
}
|
|
381
|
-
|
|
382
|
-
this.
|
|
383
|
-
document.removeEventListener('click', this.onDocumentClick);
|
|
203
|
+
removeForwardViews() {
|
|
204
|
+
this.removeForwadViews$.next(null);
|
|
384
205
|
}
|
|
385
206
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
389
|
-
type:
|
|
390
|
-
args: [{
|
|
391
|
-
selector: '[tru-sub-menu]',
|
|
392
|
-
}]
|
|
393
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
394
|
-
|
|
395
|
-
class TruSubMenuModule {
|
|
396
|
-
}
|
|
397
|
-
TruSubMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSubMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
398
|
-
TruSubMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSubMenuModule, declarations: [TruSubMenu], imports: [CommonModule,
|
|
399
|
-
FormsModule], exports: [TruSubMenu] });
|
|
400
|
-
TruSubMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSubMenuModule, imports: [[
|
|
401
|
-
CommonModule,
|
|
402
|
-
FormsModule,
|
|
403
|
-
]] });
|
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSubMenuModule, decorators: [{
|
|
405
|
-
type: NgModule,
|
|
406
|
-
args: [{
|
|
407
|
-
declarations: [TruSubMenu],
|
|
408
|
-
imports: [
|
|
409
|
-
CommonModule,
|
|
410
|
-
FormsModule,
|
|
411
|
-
],
|
|
412
|
-
exports: [TruSubMenu]
|
|
413
|
-
}]
|
|
414
|
-
}] });
|
|
415
|
-
|
|
416
|
-
class TruSearchGroup {
|
|
417
|
-
constructor(searchGroupEventHandler) {
|
|
418
|
-
this.searchGroupEventHandler = searchGroupEventHandler;
|
|
419
|
-
this.search$ = new EventEmitter();
|
|
420
|
-
this.filter$ = new EventEmitter();
|
|
421
|
-
}
|
|
422
|
-
onSearchClicked() {
|
|
423
|
-
this.search$.emit();
|
|
424
|
-
}
|
|
425
|
-
onFilterClicked() {
|
|
426
|
-
this.filter$.emit();
|
|
427
|
-
}
|
|
428
|
-
onClearClicked() {
|
|
429
|
-
this.searchGroupEventHandler.clearValues();
|
|
430
|
-
}
|
|
431
|
-
onDefaultClicked() {
|
|
432
|
-
this.searchGroupEventHandler.setDefaults();
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
TruSearchGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSearchGroup, deps: [{ token: TruSearchGroupEventHandler }], target: i0.ɵɵFactoryTarget.Component });
|
|
436
|
-
TruSearchGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: TruSearchGroup, selector: "tru-search-group", outputs: { search$: "search$", filter$: "filter$" }, ngImport: i0, template: "<div>\r\n <div class=\"button-container\">\r\n <button mat-button color=\"accent\" (click)=\"onSearchClicked()\">Search</button>\r\n <button mat-button color=\"accent\" (click)=\"onFilterClicked()\">Filter Results</button>\r\n <button mat-button color=\"accent\" (click)=\"onClearClicked()\">Clear</button>\r\n <button mat-button color=\"accent\" (click)=\"onDefaultClicked()\">Default</button>\r\n </div>\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: ["button{margin-right:5px}.button-container{margin-bottom:10px}\n"] });
|
|
437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSearchGroup, decorators: [{
|
|
438
|
-
type: Component,
|
|
439
|
-
args: [{ selector: 'tru-search-group', template: "<div>\r\n <div class=\"button-container\">\r\n <button mat-button color=\"accent\" (click)=\"onSearchClicked()\">Search</button>\r\n <button mat-button color=\"accent\" (click)=\"onFilterClicked()\">Filter Results</button>\r\n <button mat-button color=\"accent\" (click)=\"onClearClicked()\">Clear</button>\r\n <button mat-button color=\"accent\" (click)=\"onDefaultClicked()\">Default</button>\r\n </div>\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: ["button{margin-right:5px}.button-container{margin-bottom:10px}\n"] }]
|
|
440
|
-
}], ctorParameters: function () { return [{ type: TruSearchGroupEventHandler }]; }, propDecorators: { search$: [{
|
|
441
|
-
type: Output
|
|
442
|
-
}], filter$: [{
|
|
443
|
-
type: Output
|
|
444
|
-
}] } });
|
|
445
|
-
|
|
446
|
-
class TruSearchGroupModule {
|
|
447
|
-
}
|
|
448
|
-
TruSearchGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSearchGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
449
|
-
TruSearchGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSearchGroupModule, declarations: [TruSearchGroup], imports: [CommonModule, FormsModule], exports: [TruSearchGroup] });
|
|
450
|
-
TruSearchGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSearchGroupModule, imports: [[CommonModule, FormsModule]] });
|
|
451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSearchGroupModule, decorators: [{
|
|
452
|
-
type: NgModule,
|
|
207
|
+
TruWindowEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowEventHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
208
|
+
TruWindowEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowEventHandler, providedIn: 'root' });
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruWindowEventHandler, decorators: [{
|
|
210
|
+
type: Injectable,
|
|
453
211
|
args: [{
|
|
454
|
-
|
|
455
|
-
imports: [CommonModule, FormsModule],
|
|
456
|
-
exports: [TruSearchGroup]
|
|
212
|
+
providedIn: 'root'
|
|
457
213
|
}]
|
|
458
214
|
}] });
|
|
459
215
|
|
|
@@ -489,44 +245,29 @@ class TruSearchIconModule {
|
|
|
489
245
|
iconRegistry.addSvgIconLiteral("contains-operator-icon", sanitizer.bypassSecurityTrustHtml(CONTAINS_ICON));
|
|
490
246
|
}
|
|
491
247
|
}
|
|
492
|
-
TruSearchIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
493
|
-
TruSearchIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
494
|
-
TruSearchIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
248
|
+
TruSearchIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchIconModule, deps: [{ token: i1.DomSanitizer }, { token: i2.MatIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
249
|
+
TruSearchIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: TruSearchIconModule, imports: [CommonModule, FormsModule] });
|
|
250
|
+
TruSearchIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchIconModule, imports: [CommonModule, FormsModule] });
|
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchIconModule, decorators: [{
|
|
496
252
|
type: NgModule,
|
|
497
253
|
args: [{
|
|
498
254
|
imports: [CommonModule, FormsModule],
|
|
499
255
|
declarations: [],
|
|
500
256
|
exports: []
|
|
501
257
|
}]
|
|
502
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
258
|
+
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i2.MatIconRegistry }]; } });
|
|
503
259
|
|
|
504
260
|
class TruCommonModule {
|
|
505
261
|
}
|
|
506
|
-
TruCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
507
|
-
TruCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
TruSearchGroupModule], exports: [TruMenuModule] });
|
|
511
|
-
TruCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruCommonModule, imports: [[
|
|
512
|
-
TruMenuModule,
|
|
513
|
-
TruMenuItemModule,
|
|
514
|
-
TruMenuButtonModule,
|
|
515
|
-
TruSearchGroupModule
|
|
516
|
-
], TruMenuModule] });
|
|
517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruCommonModule, decorators: [{
|
|
262
|
+
TruCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
263
|
+
TruCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: TruCommonModule });
|
|
264
|
+
TruCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruCommonModule });
|
|
265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruCommonModule, decorators: [{
|
|
518
266
|
type: NgModule,
|
|
519
267
|
args: [{
|
|
520
268
|
declarations: [],
|
|
521
|
-
imports: [
|
|
522
|
-
|
|
523
|
-
TruMenuItemModule,
|
|
524
|
-
TruMenuButtonModule,
|
|
525
|
-
TruSearchGroupModule
|
|
526
|
-
],
|
|
527
|
-
exports: [
|
|
528
|
-
TruMenuModule
|
|
529
|
-
]
|
|
269
|
+
imports: [],
|
|
270
|
+
exports: []
|
|
530
271
|
}]
|
|
531
272
|
}] });
|
|
532
273
|
|
|
@@ -538,5 +279,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
538
279
|
* Generated bundle index. Do not edit.
|
|
539
280
|
*/
|
|
540
281
|
|
|
541
|
-
export { TruCommonModule, TruComponentLookup,
|
|
282
|
+
export { TruCommonModule, TruComponentLookup, TruSearchComponentBaae, TruSearchGroupEventHandler, TruSearchIconModule, TruWindowActionEventHandler, TruWindowAddViewEvent, TruWindowEvent, TruWindowEventHandler };
|
|
542
283
|
//# sourceMappingURL=trudb-tru-common-lib.mjs.map
|