@trudb/tru-common-lib 0.0.162 → 0.0.166
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/search/tru-search-icon-module.mjs +5 -5
- package/esm2020/lib/classes/event/tru-window-add-view-event.mjs +4 -5
- package/esm2020/lib/classes/event/tru-window-event.mjs +3 -3
- package/esm2020/lib/classes/search/tru-search.mjs +28 -28
- package/esm2020/lib/components/menu/menu/tru-menu-module.mjs +8 -10
- package/esm2020/lib/components/menu/menu/tru-menu.mjs +5 -5
- package/esm2020/lib/components/menu/menu-button/tru-menu-button-module.mjs +5 -5
- package/esm2020/lib/components/menu/menu-button/tru-menu-button.mjs +3 -3
- package/esm2020/lib/components/menu/menu-item/tru-menu-item-module.mjs +5 -5
- package/esm2020/lib/components/menu/menu-item/tru-menu-item.mjs +3 -3
- package/esm2020/lib/components/menu/sub-menu/tru-sub-menu-module.mjs +6 -8
- package/esm2020/lib/components/menu/sub-menu/tru-sub-menu.mjs +3 -3
- package/esm2020/lib/components/search/search-group/tru-search-group-module.mjs +5 -5
- package/esm2020/lib/components/search/search-group/tru-search-group.mjs +3 -3
- 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 +8 -10
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/trudb-tru-common-lib.mjs +114 -127
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +114 -127
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/{trudb-tru-common-lib.d.ts → index.d.ts} +0 -0
- package/lib/classes/event/tru-window-add-view-event.d.ts +0 -1
- package/lib/classes/search/tru-search.d.ts +1 -1
- package/lib/components/menu/menu/tru-menu.d.ts +1 -1
- package/lib/components/menu/menu-button/tru-menu-button.d.ts +1 -1
- package/lib/components/menu/menu-item/tru-menu-item.d.ts +1 -1
- package/lib/components/menu/sub-menu/tru-sub-menu.d.ts +1 -1
- package/lib/components/search/search-group/tru-search-group.d.ts +1 -1
- package/lib/services/tru-window-event-handler.d.ts +7 -0
- package/package.json +3 -3
- package/public-api.d.ts +0 -1
- package/esm2020/lib/services/tru-window-add-view-event-handler.mjs +0 -23
- package/lib/services/tru-window-add-view-event-handler.d.ts +0 -10
|
@@ -6,18 +6,16 @@ import { TruSearchGroupModule } from './components/search/search-group/tru-searc
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class TruCommonModule {
|
|
8
8
|
}
|
|
9
|
-
TruCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
TruCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9
|
+
TruCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
TruCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: TruCommonModule, imports: [TruMenuModule,
|
|
11
11
|
TruMenuItemModule,
|
|
12
12
|
TruMenuButtonModule,
|
|
13
13
|
TruSearchGroupModule], exports: [TruMenuModule] });
|
|
14
|
-
TruCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
], TruMenuModule] });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruCommonModule, decorators: [{
|
|
14
|
+
TruCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruCommonModule, imports: [TruMenuModule,
|
|
15
|
+
TruMenuItemModule,
|
|
16
|
+
TruMenuButtonModule,
|
|
17
|
+
TruSearchGroupModule, TruMenuModule] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruCommonModule, decorators: [{
|
|
21
19
|
type: NgModule,
|
|
22
20
|
args: [{
|
|
23
21
|
declarations: [],
|
|
@@ -32,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
32
30
|
]
|
|
33
31
|
}]
|
|
34
32
|
}] });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ1LWNvbW1vbi1tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy90cnUtY29tbW9uLWxpYi9zcmMvbGliL3RydS1jb21tb24tbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBRTNGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBEQUEwRCxDQUFDOztBQWdCaEcsTUFBTSxPQUFPLGVBQWU7OzRHQUFmLGVBQWU7NkdBQWYsZUFBZSxZQVR4QixhQUFhO1FBQ2IsaUJBQWlCO1FBQ2pCLG1CQUFtQjtRQUNuQixvQkFBb0I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LFxyXG4gICAgVHJ1TWVudUJ1dHRvbk1vZHVsZSxcclxuICAgIFRydVNlYXJjaEdyb3VwTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBUcnVNZW51TW9kdWxlXHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgVHJ1Q29tbW9uTW9kdWxlIHsgfVxyXG4iXX0=
|
package/esm2020/public-api.mjs
CHANGED
|
@@ -14,7 +14,6 @@ export * from './lib/services/tru-search-group-event-handler';
|
|
|
14
14
|
export * from './lib/services/tru-component-lookup';
|
|
15
15
|
export * from './lib/services/tru-window-action-event-handler';
|
|
16
16
|
export * from './lib/services/tru-window-event-handler';
|
|
17
|
-
export * from './lib/services/tru-window-add-view-event-handler';
|
|
18
17
|
/*
|
|
19
18
|
* Components
|
|
20
19
|
*/
|
|
@@ -45,4 +44,4 @@ export * from "./lib/interfaces/search/text";
|
|
|
45
44
|
*/
|
|
46
45
|
export * from "./lib/assets/search/tru-search-icon-module";
|
|
47
46
|
export * from "./lib/tru-common-module";
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3RydS1jb21tb24tbGliL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBR0g7O0dBRUc7QUFDSCxjQUFjLHNDQUFzQyxDQUFDO0FBQ3JELGNBQWMsK0NBQStDLENBQUM7QUFDOUQsY0FBYyxpQ0FBaUMsQ0FBQztBQUVoRDs7R0FFRztBQUNILGNBQWMsK0NBQStDLENBQUM7QUFDOUQsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLGdEQUFnRCxDQUFDO0FBQy9ELGNBQWMseUN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yY2gtZ3JvdXAnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy9zZWFyY2gvc2VhcmNoLWdyb3VwL3RydS1zZWFyY2gtZ3JvdXAtbW9kdWxlJztcblxuLypcbiAqIENvbW1vbiBJbnRlcmZhY2VzXG4gKi9cbmV4cG9ydCAqIGZyb20gXCIuL2xpYi9pbnRlcmZhY2VzL2Nob2ljZVwiXG5cbi8qXG4gKiBTZWFyY2ggSW50ZXJmYWNlc1xuICovXG5leHBvcnQgKiBmcm9tIFwiLi9saWIvaW50ZXJmYWNlcy9zZWFyY2gvYm9vbGVhblwiXG5leHBvcnQgKiBmcm9tIFwiLi9saWIvaW50ZXJmYWNlcy9zZWFyY2gvZGF0ZS10aW1lXCJcbmV4cG9ydCAqIGZyb20gXCIuL2xpYi9pbnRlcmZhY2VzL3NlYXJjaC9jaG9pY2VcIlxuZXhwb3J0ICogZnJvbSBcIi4vbGliL2ludGVyZmFjZXMvc2VhcmNoL251bWJlclwiXG5leHBvcnQgKiBmcm9tIFwiLi9saWIvaW50ZXJmYWNlcy9zZWFyY2gvdGV4dFwiXG5cbi8qXG4gKiBNb2R1bGVzXG4gKi9cbmV4cG9ydCAqIGZyb20gXCIuL2xpYi9hc3NldHMvc2VhcmNoL3RydS1zZWFyY2gtaWNvbi1tb2R1bGVcIjtcblxuZXhwb3J0ICogZnJvbSBcIi4vbGliL3RydS1jb21tb24tbW9kdWxlXCI7XG4iXX0=
|
|
@@ -21,9 +21,9 @@ class TruWindowEvent {
|
|
|
21
21
|
this.views = [{}];
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
TruWindowEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
TruWindowEvent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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
27
|
type: Injectable,
|
|
28
28
|
args: [{
|
|
29
29
|
providedIn: 'root'
|
|
@@ -38,13 +38,12 @@ class TruWindowAddViewEvent {
|
|
|
38
38
|
this.isDirty = false;
|
|
39
39
|
this.isEditing = false;
|
|
40
40
|
this.isInvalid = false;
|
|
41
|
-
this.data = null;
|
|
42
41
|
this.componentName = '';
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
|
-
TruWindowAddViewEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
46
|
-
TruWindowAddViewEvent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
48
47
|
type: Injectable,
|
|
49
48
|
args: [{
|
|
50
49
|
providedIn: 'root'
|
|
@@ -57,40 +56,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
57
56
|
class TruSearch {
|
|
58
57
|
constructor() {
|
|
59
58
|
this.operatorLookup = {
|
|
60
|
-
equal: 'eq',
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
contains: 'contains',
|
|
67
|
-
|
|
59
|
+
'equal': 'eq',
|
|
60
|
+
'not-equal': 'not-eq',
|
|
61
|
+
'greater-than': 'gt',
|
|
62
|
+
'greater-than-or-equal': 'ge',
|
|
63
|
+
'less-than': 'lt',
|
|
64
|
+
'less-than-or-equal': 'le',
|
|
65
|
+
'contains': 'contains',
|
|
66
|
+
'default': 'eq'
|
|
68
67
|
};
|
|
69
68
|
this.operatorIconLookup = {
|
|
70
|
-
equal: 'equal-operator-icon',
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
contains: 'contains-operator-icon',
|
|
77
|
-
|
|
69
|
+
'equal': 'equal-operator-icon',
|
|
70
|
+
'not-equal': 'not-equal-operator-icon',
|
|
71
|
+
'greater-than': 'greater-than-operator-icon',
|
|
72
|
+
'greater-than-or-equal': 'greater-than-or-equal-operator-icon',
|
|
73
|
+
'less-than': 'less-than-operator-icon',
|
|
74
|
+
'less-than-or-equal': 'less-than-or-equal-operator-icon',
|
|
75
|
+
'contains': 'contains-operator-icon',
|
|
76
|
+
'default': 'equal-operator-icon',
|
|
78
77
|
};
|
|
79
78
|
this.operatorIconTitleLookup = {
|
|
80
|
-
equal: 'Equal To',
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
contains: 'Contains',
|
|
87
|
-
|
|
79
|
+
'equal': 'Equal To',
|
|
80
|
+
'not-equal': 'Not Equal To',
|
|
81
|
+
'greater-than': 'Greater Than',
|
|
82
|
+
'greater-than-or-equal': 'Greater Than Or Equal To',
|
|
83
|
+
'less-than': 'Less Than',
|
|
84
|
+
'less-than-or-equal': 'Less Than Or Equal To',
|
|
85
|
+
'contains': 'Contains',
|
|
86
|
+
'default': 'Equal To',
|
|
88
87
|
};
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
|
-
TruSearch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
92
|
-
TruSearch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
90
|
+
TruSearch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
91
|
+
TruSearch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: TruSearch, inputs: { config: "config" }, ngImport: i0 });
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearch, decorators: [{
|
|
94
93
|
type: Directive
|
|
95
94
|
}], propDecorators: { config: [{
|
|
96
95
|
type: Input
|
|
@@ -128,9 +127,9 @@ class TruSearchGroupEventHandler {
|
|
|
128
127
|
this.default$.next(null);
|
|
129
128
|
}
|
|
130
129
|
}
|
|
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: "
|
|
130
|
+
TruSearchGroupEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroupEventHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
131
|
+
TruSearchGroupEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroupEventHandler });
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchGroupEventHandler, decorators: [{
|
|
134
133
|
type: Injectable
|
|
135
134
|
}] });
|
|
136
135
|
|
|
@@ -150,9 +149,9 @@ class TruComponentLookup {
|
|
|
150
149
|
};
|
|
151
150
|
}
|
|
152
151
|
}
|
|
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: "
|
|
152
|
+
TruComponentLookup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruComponentLookup, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
153
|
+
TruComponentLookup.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruComponentLookup, providedIn: 'root' });
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruComponentLookup, decorators: [{
|
|
156
155
|
type: Injectable,
|
|
157
156
|
args: [{ providedIn: 'root' }]
|
|
158
157
|
}] });
|
|
@@ -175,15 +174,17 @@ class TruWindowActionEventHandler {
|
|
|
175
174
|
};
|
|
176
175
|
}
|
|
177
176
|
}
|
|
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: "
|
|
177
|
+
TruWindowActionEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowActionEventHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
178
|
+
TruWindowActionEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowActionEventHandler });
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowActionEventHandler, decorators: [{
|
|
181
180
|
type: Injectable
|
|
182
181
|
}] });
|
|
183
182
|
|
|
184
183
|
class TruWindowEventHandler {
|
|
185
184
|
constructor() {
|
|
186
185
|
this.open$ = new Subject();
|
|
186
|
+
this.addView$ = new Subject();
|
|
187
|
+
this.removeForwadViews$ = new Subject();
|
|
187
188
|
}
|
|
188
189
|
onOpen() {
|
|
189
190
|
return this.open$;
|
|
@@ -191,49 +192,28 @@ class TruWindowEventHandler {
|
|
|
191
192
|
open(windowEvent) {
|
|
192
193
|
this.open$.next(windowEvent);
|
|
193
194
|
}
|
|
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
195
|
onAddView() {
|
|
209
196
|
return this.addView$;
|
|
210
197
|
}
|
|
211
198
|
addView(windowAddViewEvent) {
|
|
212
199
|
this.addView$.next(windowAddViewEvent);
|
|
213
200
|
}
|
|
201
|
+
onRemoveForwardViews() {
|
|
202
|
+
return this.removeForwadViews$;
|
|
203
|
+
}
|
|
204
|
+
removeForwardViews() {
|
|
205
|
+
this.removeForwadViews$.next(null);
|
|
206
|
+
}
|
|
214
207
|
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
208
|
+
TruWindowEventHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowEventHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
209
|
+
TruWindowEventHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowEventHandler, providedIn: 'root' });
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruWindowEventHandler, decorators: [{
|
|
218
211
|
type: Injectable,
|
|
219
212
|
args: [{
|
|
220
213
|
providedIn: 'root'
|
|
221
214
|
}]
|
|
222
215
|
}] });
|
|
223
216
|
|
|
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
217
|
class TruMenuItem {
|
|
238
218
|
constructor() {
|
|
239
219
|
this.onClick = (event) => {
|
|
@@ -248,15 +228,28 @@ class TruMenuItem {
|
|
|
248
228
|
};
|
|
249
229
|
}
|
|
250
230
|
}
|
|
251
|
-
TruMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
252
|
-
TruMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
254
234
|
type: Component,
|
|
255
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"] }]
|
|
256
236
|
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
257
237
|
type: Input
|
|
258
238
|
}] } });
|
|
259
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
|
+
|
|
260
253
|
class TruMenu {
|
|
261
254
|
constructor() {
|
|
262
255
|
this.onDocumentClick = (event) => {
|
|
@@ -276,9 +269,9 @@ class TruMenu {
|
|
|
276
269
|
document.removeEventListener('click', this.onDocumentClick);
|
|
277
270
|
}
|
|
278
271
|
}
|
|
279
|
-
TruMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
280
|
-
TruMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
282
275
|
type: Component,
|
|
283
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"] }]
|
|
284
277
|
}], ctorParameters: function () { return []; }, propDecorators: { config: [{
|
|
@@ -287,10 +280,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
287
280
|
|
|
288
281
|
class TruMenuItemModule {
|
|
289
282
|
}
|
|
290
|
-
TruMenuItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
291
|
-
TruMenuItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
292
|
-
TruMenuItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
294
287
|
type: NgModule,
|
|
295
288
|
args: [{
|
|
296
289
|
declarations: [TruMenuItem],
|
|
@@ -301,10 +294,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
301
294
|
|
|
302
295
|
class TruMenuButtonModule {
|
|
303
296
|
}
|
|
304
|
-
TruMenuButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
305
|
-
TruMenuButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
306
|
-
TruMenuButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
308
301
|
type: NgModule,
|
|
309
302
|
args: [{
|
|
310
303
|
declarations: [TruMenuButton],
|
|
@@ -315,18 +308,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
315
308
|
|
|
316
309
|
class TruMenuModule {
|
|
317
310
|
}
|
|
318
|
-
TruMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
319
|
-
TruMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
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,
|
|
320
313
|
FormsModule,
|
|
321
314
|
TruMenuItemModule,
|
|
322
315
|
TruMenuButtonModule], exports: [TruMenu] });
|
|
323
|
-
TruMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
]] });
|
|
329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruMenuModule, decorators: [{
|
|
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: [{
|
|
330
321
|
type: NgModule,
|
|
331
322
|
args: [{
|
|
332
323
|
declarations: [TruMenu],
|
|
@@ -383,9 +374,9 @@ class TruSubMenu {
|
|
|
383
374
|
document.removeEventListener('click', this.onDocumentClick);
|
|
384
375
|
}
|
|
385
376
|
}
|
|
386
|
-
TruSubMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
387
|
-
TruSubMenu.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
389
380
|
type: Directive,
|
|
390
381
|
args: [{
|
|
391
382
|
selector: '[tru-sub-menu]',
|
|
@@ -394,14 +385,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
394
385
|
|
|
395
386
|
class TruSubMenuModule {
|
|
396
387
|
}
|
|
397
|
-
TruSubMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
398
|
-
TruSubMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
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,
|
|
399
390
|
FormsModule], exports: [TruSubMenu] });
|
|
400
|
-
TruSubMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
]] });
|
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruSubMenuModule, decorators: [{
|
|
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: [{
|
|
405
394
|
type: NgModule,
|
|
406
395
|
args: [{
|
|
407
396
|
declarations: [TruSubMenu],
|
|
@@ -432,9 +421,9 @@ class TruSearchGroup {
|
|
|
432
421
|
this.searchGroupEventHandler.setDefaults();
|
|
433
422
|
}
|
|
434
423
|
}
|
|
435
|
-
TruSearchGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
436
|
-
TruSearchGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
438
427
|
type: Component,
|
|
439
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"] }]
|
|
440
429
|
}], ctorParameters: function () { return [{ type: TruSearchGroupEventHandler }]; }, propDecorators: { search$: [{
|
|
@@ -445,10 +434,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
445
434
|
|
|
446
435
|
class TruSearchGroupModule {
|
|
447
436
|
}
|
|
448
|
-
TruSearchGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
449
|
-
TruSearchGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
450
|
-
TruSearchGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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: [{
|
|
452
441
|
type: NgModule,
|
|
453
442
|
args: [{
|
|
454
443
|
declarations: [TruSearchGroup],
|
|
@@ -489,10 +478,10 @@ class TruSearchIconModule {
|
|
|
489
478
|
iconRegistry.addSvgIconLiteral("contains-operator-icon", sanitizer.bypassSecurityTrustHtml(CONTAINS_ICON));
|
|
490
479
|
}
|
|
491
480
|
}
|
|
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: "
|
|
481
|
+
TruSearchIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchIconModule, deps: [{ token: i1$1.DomSanitizer }, { token: i2.MatIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
482
|
+
TruSearchIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: TruSearchIconModule, imports: [CommonModule, FormsModule] });
|
|
483
|
+
TruSearchIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchIconModule, imports: [CommonModule, FormsModule] });
|
|
484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruSearchIconModule, decorators: [{
|
|
496
485
|
type: NgModule,
|
|
497
486
|
args: [{
|
|
498
487
|
imports: [CommonModule, FormsModule],
|
|
@@ -503,18 +492,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
503
492
|
|
|
504
493
|
class TruCommonModule {
|
|
505
494
|
}
|
|
506
|
-
TruCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
507
|
-
TruCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
495
|
+
TruCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TruCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
496
|
+
TruCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: TruCommonModule, imports: [TruMenuModule,
|
|
508
497
|
TruMenuItemModule,
|
|
509
498
|
TruMenuButtonModule,
|
|
510
499
|
TruSearchGroupModule], exports: [TruMenuModule] });
|
|
511
|
-
TruCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
], TruMenuModule] });
|
|
517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: TruCommonModule, decorators: [{
|
|
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: [{
|
|
518
505
|
type: NgModule,
|
|
519
506
|
args: [{
|
|
520
507
|
declarations: [],
|
|
@@ -538,5 +525,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
|
|
|
538
525
|
* Generated bundle index. Do not edit.
|
|
539
526
|
*/
|
|
540
527
|
|
|
541
|
-
export { TruCommonModule, TruComponentLookup, TruMenu, TruMenuButton, TruMenuButtonModule, TruMenuItem, TruMenuItemModule, TruMenuModule, TruSearch, TruSearchGroup, TruSearchGroupEventHandler, TruSearchGroupModule, TruSearchIconModule, TruSubMenu, TruSubMenuModule, TruWindowActionEventHandler, TruWindowAddViewEvent,
|
|
528
|
+
export { TruCommonModule, TruComponentLookup, TruMenu, TruMenuButton, TruMenuButtonModule, TruMenuItem, TruMenuItemModule, TruMenuModule, TruSearch, TruSearchGroup, TruSearchGroupEventHandler, TruSearchGroupModule, TruSearchIconModule, TruSubMenu, TruSubMenuModule, TruWindowActionEventHandler, TruWindowAddViewEvent, TruWindowEvent, TruWindowEventHandler };
|
|
542
529
|
//# sourceMappingURL=trudb-tru-common-lib.mjs.map
|