@trudb/tru-common-lib 0.0.166 → 0.0.170
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 +4 -4
- package/esm2020/lib/tru-common-module.mjs +7 -24
- package/esm2020/public-api.mjs +8 -30
- package/fesm2015/trudb-tru-common-lib.mjs +73 -319
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +73 -319
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- 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 -0
- 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 +2 -2
- package/lib/tru-common-module.d.ts +1 -5
- package/package.json +1 -1
- package/public-api.d.ts +4 -20
- package/esm2020/lib/assets/search/tru-search-icon-module.mjs +0 -50
- package/esm2020/lib/classes/event/tru-window-add-view-event.mjs +0 -22
- package/esm2020/lib/classes/event/tru-window-event.mjs +0 -25
- package/esm2020/lib/components/menu/menu/tru-menu-module.mjs +0 -32
- 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 -24
- 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/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
|
@@ -1,59 +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: "14.2.1", ngImport: i0, type: TruWindowEvent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
-
TruWindowEvent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowEvent, providedIn: 'root' });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", 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.componentName = '';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
TruWindowAddViewEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowAddViewEvent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
45
|
-
TruWindowAddViewEvent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowAddViewEvent, providedIn: 'root' });
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowAddViewEvent, decorators: [{
|
|
47
|
-
type: Injectable,
|
|
48
|
-
args: [{
|
|
49
|
-
providedIn: 'root'
|
|
50
|
-
}]
|
|
51
|
-
}] });
|
|
52
|
-
|
|
53
9
|
/*
|
|
54
10
|
* The abstract class needs the Angular @Component decorator in order in implement @Input
|
|
55
11
|
*/
|
|
56
|
-
class
|
|
12
|
+
class TruSearchComponentBase {
|
|
57
13
|
constructor() {
|
|
58
14
|
this.operatorLookup = {
|
|
59
15
|
'equal': 'eq',
|
|
@@ -87,14 +43,57 @@ class TruSearch {
|
|
|
87
43
|
};
|
|
88
44
|
}
|
|
89
45
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
TruSearchComponentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchComponentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
TruSearchComponentBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.2", type: TruSearchComponentBase, inputs: { config: "config" }, ngImport: i0 });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: TruSearchComponentBase, decorators: [{
|
|
93
49
|
type: Directive
|
|
94
50
|
}], propDecorators: { config: [{
|
|
95
51
|
type: Input
|
|
96
52
|
}] } });
|
|
97
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
|
+
|
|
98
97
|
class TruSearchGroupEventHandler {
|
|
99
98
|
constructor() {
|
|
100
99
|
this.search$ = new EventEmitter();
|
|
@@ -127,9 +126,9 @@ class TruSearchGroupEventHandler {
|
|
|
127
126
|
this.default$.next(null);
|
|
128
127
|
}
|
|
129
128
|
}
|
|
130
|
-
TruSearchGroupEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
131
|
-
TruSearchGroupEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
132
|
-
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: [{
|
|
133
132
|
type: Injectable
|
|
134
133
|
}] });
|
|
135
134
|
|
|
@@ -149,9 +148,9 @@ class TruComponentLookup {
|
|
|
149
148
|
};
|
|
150
149
|
}
|
|
151
150
|
}
|
|
152
|
-
TruComponentLookup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
153
|
-
TruComponentLookup.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
154
|
-
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: [{
|
|
155
154
|
type: Injectable,
|
|
156
155
|
args: [{ providedIn: 'root' }]
|
|
157
156
|
}] });
|
|
@@ -174,9 +173,9 @@ class TruWindowActionEventHandler {
|
|
|
174
173
|
};
|
|
175
174
|
}
|
|
176
175
|
}
|
|
177
|
-
TruWindowActionEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
178
|
-
TruWindowActionEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
179
|
-
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: [{
|
|
180
179
|
type: Injectable
|
|
181
180
|
}] });
|
|
182
181
|
|
|
@@ -205,247 +204,15 @@ class TruWindowEventHandler {
|
|
|
205
204
|
this.removeForwadViews$.next(null);
|
|
206
205
|
}
|
|
207
206
|
}
|
|
208
|
-
TruWindowEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
209
|
-
TruWindowEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
211
210
|
type: Injectable,
|
|
212
211
|
args: [{
|
|
213
212
|
providedIn: 'root'
|
|
214
213
|
}]
|
|
215
214
|
}] });
|
|
216
215
|
|
|
217
|
-
class TruMenuItem {
|
|
218
|
-
constructor() {
|
|
219
|
-
this.onClick = (event) => {
|
|
220
|
-
var target = event.target;
|
|
221
|
-
var isActive = target.classList.contains('is-active');
|
|
222
|
-
if (isActive) {
|
|
223
|
-
target.classList.remove('is-active');
|
|
224
|
-
}
|
|
225
|
-
else {
|
|
226
|
-
target.classList.add('is-active');
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
TruMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
232
|
-
TruMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuItem, decorators: [{
|
|
234
|
-
type: Component,
|
|
235
|
-
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"] }]
|
|
236
|
-
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
237
|
-
type: Input
|
|
238
|
-
}] } });
|
|
239
|
-
|
|
240
|
-
class TruMenuButton {
|
|
241
|
-
constructor() {
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
TruMenuButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
245
|
-
TruMenuButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuButton, decorators: [{
|
|
247
|
-
type: Component,
|
|
248
|
-
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"] }]
|
|
249
|
-
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
250
|
-
type: Input
|
|
251
|
-
}] } });
|
|
252
|
-
|
|
253
|
-
class TruMenu {
|
|
254
|
-
constructor() {
|
|
255
|
-
this.onDocumentClick = (event) => {
|
|
256
|
-
var activeMenus = document.querySelectorAll('.is-active');
|
|
257
|
-
var target = event.target;
|
|
258
|
-
activeMenus.forEach((activeMenu) => {
|
|
259
|
-
if (activeMenu !== target) {
|
|
260
|
-
activeMenu.classList.remove('is-active');
|
|
261
|
-
}
|
|
262
|
-
});
|
|
263
|
-
};
|
|
264
|
-
}
|
|
265
|
-
ngAfterViewInit() {
|
|
266
|
-
document.addEventListener('click', this.onDocumentClick);
|
|
267
|
-
}
|
|
268
|
-
ngOnDestroy() {
|
|
269
|
-
document.removeEventListener('click', this.onDocumentClick);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
TruMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
273
|
-
TruMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TruMenuItem, selector: "tru-menu-item", inputs: ["config"] }, { kind: "component", type: TruMenuButton, selector: "tru-menu-button", inputs: ["config"] }] });
|
|
274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenu, decorators: [{
|
|
275
|
-
type: Component,
|
|
276
|
-
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"] }]
|
|
277
|
-
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
278
|
-
type: Input
|
|
279
|
-
}] } });
|
|
280
|
-
|
|
281
|
-
class TruMenuItemModule {
|
|
282
|
-
}
|
|
283
|
-
TruMenuItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
284
|
-
TruMenuItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: TruMenuItemModule, declarations: [TruMenuItem], imports: [CommonModule, FormsModule], exports: [TruMenuItem] });
|
|
285
|
-
TruMenuItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuItemModule, imports: [CommonModule, FormsModule] });
|
|
286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuItemModule, decorators: [{
|
|
287
|
-
type: NgModule,
|
|
288
|
-
args: [{
|
|
289
|
-
declarations: [TruMenuItem],
|
|
290
|
-
imports: [CommonModule, FormsModule],
|
|
291
|
-
exports: [TruMenuItem]
|
|
292
|
-
}]
|
|
293
|
-
}] });
|
|
294
|
-
|
|
295
|
-
class TruMenuButtonModule {
|
|
296
|
-
}
|
|
297
|
-
TruMenuButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
298
|
-
TruMenuButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: TruMenuButtonModule, declarations: [TruMenuButton], imports: [CommonModule, FormsModule], exports: [TruMenuButton] });
|
|
299
|
-
TruMenuButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuButtonModule, imports: [CommonModule, FormsModule] });
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuButtonModule, decorators: [{
|
|
301
|
-
type: NgModule,
|
|
302
|
-
args: [{
|
|
303
|
-
declarations: [TruMenuButton],
|
|
304
|
-
imports: [CommonModule, FormsModule],
|
|
305
|
-
exports: [TruMenuButton]
|
|
306
|
-
}]
|
|
307
|
-
}] });
|
|
308
|
-
|
|
309
|
-
class TruMenuModule {
|
|
310
|
-
}
|
|
311
|
-
TruMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
312
|
-
TruMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: TruMenuModule, declarations: [TruMenu], imports: [CommonModule,
|
|
313
|
-
FormsModule,
|
|
314
|
-
TruMenuItemModule,
|
|
315
|
-
TruMenuButtonModule], exports: [TruMenu] });
|
|
316
|
-
TruMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuModule, imports: [CommonModule,
|
|
317
|
-
FormsModule,
|
|
318
|
-
TruMenuItemModule,
|
|
319
|
-
TruMenuButtonModule] });
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruMenuModule, decorators: [{
|
|
321
|
-
type: NgModule,
|
|
322
|
-
args: [{
|
|
323
|
-
declarations: [TruMenu],
|
|
324
|
-
imports: [
|
|
325
|
-
CommonModule,
|
|
326
|
-
FormsModule,
|
|
327
|
-
TruMenuItemModule,
|
|
328
|
-
TruMenuButtonModule
|
|
329
|
-
],
|
|
330
|
-
exports: [TruMenu]
|
|
331
|
-
}]
|
|
332
|
-
}] });
|
|
333
|
-
|
|
334
|
-
class TruSubMenu {
|
|
335
|
-
constructor(elementRef) {
|
|
336
|
-
this.elementRef = elementRef;
|
|
337
|
-
this.onClick = (event) => {
|
|
338
|
-
var target = event.target.parentElement.parentElement;
|
|
339
|
-
var isSubMenu = target.classList.contains('has-sub-menu');
|
|
340
|
-
var isActive = target.classList.contains('is-active');
|
|
341
|
-
if (isSubMenu && isActive) {
|
|
342
|
-
target.classList.remove('is-active');
|
|
343
|
-
}
|
|
344
|
-
else if (isSubMenu && !isActive) {
|
|
345
|
-
target.classList.add('is-active');
|
|
346
|
-
}
|
|
347
|
-
var subMenus = this.elementRef.nativeElement.querySelectorAll(".has-sub-menu");
|
|
348
|
-
subMenus.forEach((menu) => {
|
|
349
|
-
if (menu !== target && menu.classList.contains('is-active')) {
|
|
350
|
-
menu.classList.remove('is-active');
|
|
351
|
-
}
|
|
352
|
-
});
|
|
353
|
-
};
|
|
354
|
-
this.onDocumentClick = (event) => {
|
|
355
|
-
var subMenus = document.querySelectorAll('.has-sub-menu');
|
|
356
|
-
var target = event.target.parentElement.parentElement;
|
|
357
|
-
subMenus.forEach((menu) => {
|
|
358
|
-
if (menu !== target && menu.classList.contains('is-active')) {
|
|
359
|
-
menu.classList.remove('is-active');
|
|
360
|
-
}
|
|
361
|
-
});
|
|
362
|
-
};
|
|
363
|
-
}
|
|
364
|
-
ngOnInit() { }
|
|
365
|
-
ngAfterViewInit() {
|
|
366
|
-
var subMenu = this.elementRef.nativeElement.querySelectorAll(".has-sub-menu")[0];
|
|
367
|
-
if (subMenu) {
|
|
368
|
-
this.elementRef.nativeElement.addEventListener('click', this.onClick);
|
|
369
|
-
document.addEventListener('click', this.onDocumentClick);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
ngOnDestroy() {
|
|
373
|
-
this.elementRef.nativeElement.removeEventListener('click', this.onClick);
|
|
374
|
-
document.removeEventListener('click', this.onDocumentClick);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
TruSubMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSubMenu, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
378
|
-
TruSubMenu.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: TruSubMenu, selector: "[tru-sub-menu]", ngImport: i0 });
|
|
379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSubMenu, decorators: [{
|
|
380
|
-
type: Directive,
|
|
381
|
-
args: [{
|
|
382
|
-
selector: '[tru-sub-menu]',
|
|
383
|
-
}]
|
|
384
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
385
|
-
|
|
386
|
-
class TruSubMenuModule {
|
|
387
|
-
}
|
|
388
|
-
TruSubMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSubMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
389
|
-
TruSubMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: TruSubMenuModule, declarations: [TruSubMenu], imports: [CommonModule,
|
|
390
|
-
FormsModule], exports: [TruSubMenu] });
|
|
391
|
-
TruSubMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSubMenuModule, imports: [CommonModule,
|
|
392
|
-
FormsModule] });
|
|
393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSubMenuModule, decorators: [{
|
|
394
|
-
type: NgModule,
|
|
395
|
-
args: [{
|
|
396
|
-
declarations: [TruSubMenu],
|
|
397
|
-
imports: [
|
|
398
|
-
CommonModule,
|
|
399
|
-
FormsModule,
|
|
400
|
-
],
|
|
401
|
-
exports: [TruSubMenu]
|
|
402
|
-
}]
|
|
403
|
-
}] });
|
|
404
|
-
|
|
405
|
-
class TruSearchGroup {
|
|
406
|
-
constructor(searchGroupEventHandler) {
|
|
407
|
-
this.searchGroupEventHandler = searchGroupEventHandler;
|
|
408
|
-
this.search$ = new EventEmitter();
|
|
409
|
-
this.filter$ = new EventEmitter();
|
|
410
|
-
}
|
|
411
|
-
onSearchClicked() {
|
|
412
|
-
this.search$.emit();
|
|
413
|
-
}
|
|
414
|
-
onFilterClicked() {
|
|
415
|
-
this.filter$.emit();
|
|
416
|
-
}
|
|
417
|
-
onClearClicked() {
|
|
418
|
-
this.searchGroupEventHandler.clearValues();
|
|
419
|
-
}
|
|
420
|
-
onDefaultClicked() {
|
|
421
|
-
this.searchGroupEventHandler.setDefaults();
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
TruSearchGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroup, deps: [{ token: TruSearchGroupEventHandler }], target: i0.ɵɵFactoryTarget.Component });
|
|
425
|
-
TruSearchGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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"] });
|
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroup, decorators: [{
|
|
427
|
-
type: Component,
|
|
428
|
-
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"] }]
|
|
429
|
-
}], ctorParameters: function () { return [{ type: TruSearchGroupEventHandler }]; }, propDecorators: { search$: [{
|
|
430
|
-
type: Output
|
|
431
|
-
}], filter$: [{
|
|
432
|
-
type: Output
|
|
433
|
-
}] } });
|
|
434
|
-
|
|
435
|
-
class TruSearchGroupModule {
|
|
436
|
-
}
|
|
437
|
-
TruSearchGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
438
|
-
TruSearchGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroupModule, declarations: [TruSearchGroup], imports: [CommonModule, FormsModule], exports: [TruSearchGroup] });
|
|
439
|
-
TruSearchGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroupModule, imports: [CommonModule, FormsModule] });
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroupModule, decorators: [{
|
|
441
|
-
type: NgModule,
|
|
442
|
-
args: [{
|
|
443
|
-
declarations: [TruSearchGroup],
|
|
444
|
-
imports: [CommonModule, FormsModule],
|
|
445
|
-
exports: [TruSearchGroup]
|
|
446
|
-
}]
|
|
447
|
-
}] });
|
|
448
|
-
|
|
449
216
|
const EQUAL_ICON = `
|
|
450
217
|
<svg style="width:24px;height:24px" viewBox="0 0 24 24"><path fill="currentColor" d="M17,16V14H7V16H17M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M17,10V8H7V10H17Z" /></svg>
|
|
451
218
|
`;
|
|
@@ -478,42 +245,29 @@ class TruSearchIconModule {
|
|
|
478
245
|
iconRegistry.addSvgIconLiteral("contains-operator-icon", sanitizer.bypassSecurityTrustHtml(CONTAINS_ICON));
|
|
479
246
|
}
|
|
480
247
|
}
|
|
481
|
-
TruSearchIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
482
|
-
TruSearchIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
483
|
-
TruSearchIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
484
|
-
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: [{
|
|
485
252
|
type: NgModule,
|
|
486
253
|
args: [{
|
|
487
254
|
imports: [CommonModule, FormsModule],
|
|
488
255
|
declarations: [],
|
|
489
256
|
exports: []
|
|
490
257
|
}]
|
|
491
|
-
}], ctorParameters: function () { return [{ type: i1
|
|
258
|
+
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i2.MatIconRegistry }]; } });
|
|
492
259
|
|
|
493
260
|
class TruCommonModule {
|
|
494
261
|
}
|
|
495
|
-
TruCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
496
|
-
TruCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
TruSearchGroupModule], exports: [TruMenuModule] });
|
|
500
|
-
TruCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruCommonModule, imports: [TruMenuModule,
|
|
501
|
-
TruMenuItemModule,
|
|
502
|
-
TruMenuButtonModule,
|
|
503
|
-
TruSearchGroupModule, TruMenuModule] });
|
|
504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", 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: [{
|
|
505
266
|
type: NgModule,
|
|
506
267
|
args: [{
|
|
507
268
|
declarations: [],
|
|
508
|
-
imports: [
|
|
509
|
-
|
|
510
|
-
TruMenuItemModule,
|
|
511
|
-
TruMenuButtonModule,
|
|
512
|
-
TruSearchGroupModule
|
|
513
|
-
],
|
|
514
|
-
exports: [
|
|
515
|
-
TruMenuModule
|
|
516
|
-
]
|
|
269
|
+
imports: [],
|
|
270
|
+
exports: []
|
|
517
271
|
}]
|
|
518
272
|
}] });
|
|
519
273
|
|
|
@@ -525,5 +279,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImpor
|
|
|
525
279
|
* Generated bundle index. Do not edit.
|
|
526
280
|
*/
|
|
527
281
|
|
|
528
|
-
export { TruCommonModule, TruComponentLookup,
|
|
282
|
+
export { TruCommonModule, TruComponentLookup, TruSearchComponentBase, TruSearchGroupEventHandler, TruSearchIconModule, TruWindowActionEventHandler, TruWindowAddViewEvent, TruWindowEvent, TruWindowEventHandler };
|
|
529
283
|
//# sourceMappingURL=trudb-tru-common-lib.mjs.map
|