@enigmatry/entry-components 1.15.1-preview.25 → 1.15.1-preview.26
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/public-api.mjs +1 -3
- package/fesm2015/enigmatry-entry-components.mjs +0 -2
- package/fesm2015/enigmatry-entry-components.mjs.map +1 -1
- package/fesm2020/enigmatry-entry-components.mjs +0 -2
- package/fesm2020/enigmatry-entry-components.mjs.map +1 -1
- package/package.json +1 -17
- package/public-api.d.ts +0 -2
- package/styles/_generator.scss +0 -2
- package/styles/modules/_default-theme.scss +0 -5
- package/styles/partials/core/components/_index.scss +0 -1
- package/styles/partials/generator-test.scss +1 -6
- package/esm2020/header/enigmatry-entry-components-header.mjs +0 -5
- package/esm2020/header/entry-header.component.mjs +0 -13
- package/esm2020/header/entry-header.module.mjs +0 -24
- package/esm2020/header/public-api.mjs +0 -3
- package/esm2020/toolbar/enigmatry-entry-components-toolbar.mjs +0 -5
- package/esm2020/toolbar/entry-toolbar.component.mjs +0 -43
- package/esm2020/toolbar/entry-toolbar.module.mjs +0 -24
- package/esm2020/toolbar/public-api.mjs +0 -3
- package/fesm2015/enigmatry-entry-components-header.mjs +0 -41
- package/fesm2015/enigmatry-entry-components-header.mjs.map +0 -1
- package/fesm2015/enigmatry-entry-components-toolbar.mjs +0 -71
- package/fesm2015/enigmatry-entry-components-toolbar.mjs.map +0 -1
- package/fesm2020/enigmatry-entry-components-header.mjs +0 -41
- package/fesm2020/enigmatry-entry-components-header.mjs.map +0 -1
- package/fesm2020/enigmatry-entry-components-toolbar.mjs +0 -71
- package/fesm2020/enigmatry-entry-components-toolbar.mjs.map +0 -1
- package/header/README.md +0 -41
- package/header/entry-header.component.d.ts +0 -6
- package/header/entry-header.module.d.ts +0 -8
- package/header/index.d.ts +0 -5
- package/header/public-api.d.ts +0 -2
- package/styles/modules/components/headers/_generator.scss +0 -12
- package/styles/partials/core/components/headers/_general.scss +0 -7
- package/toolbar/README.md +0 -39
- package/toolbar/entry-toolbar.component.d.ts +0 -28
- package/toolbar/entry-toolbar.module.d.ts +0 -8
- package/toolbar/index.d.ts +0 -5
- package/toolbar/public-api.d.ts +0 -2
package/esm2020/public-api.mjs
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Public API Surface of entry-components
|
|
3
3
|
*/
|
|
4
|
-
export * from '@enigmatry/entry-components/header';
|
|
5
4
|
export * from '@enigmatry/entry-components/dialog';
|
|
6
5
|
export * from '@enigmatry/entry-components/search-filter';
|
|
7
|
-
export * from '@enigmatry/entry-components/toolbar';
|
|
8
6
|
export * from '@enigmatry/entry-components/validation';
|
|
9
7
|
export * from '@enigmatry/entry-components/button';
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLDJDQUEyQyxDQUFDO0FBQzFELGNBQWMsd0NBQXdDLENBQUM7QUFDdkQsY0FBYyxvQ0FBb0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgZW50cnktY29tcG9uZW50c1xuICovXG5cbmV4cG9ydCAqIGZyb20gJ0BlbmlnbWF0cnkvZW50cnktY29tcG9uZW50cy9kaWFsb2cnO1xuZXhwb3J0ICogZnJvbSAnQGVuaWdtYXRyeS9lbnRyeS1jb21wb25lbnRzL3NlYXJjaC1maWx0ZXInO1xuZXhwb3J0ICogZnJvbSAnQGVuaWdtYXRyeS9lbnRyeS1jb21wb25lbnRzL3ZhbGlkYXRpb24nO1xuZXhwb3J0ICogZnJvbSAnQGVuaWdtYXRyeS9lbnRyeS1jb21wb25lbnRzL2J1dHRvbic7XG4iXX0=
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
export * from '@enigmatry/entry-components/header';
|
|
2
1
|
export * from '@enigmatry/entry-components/dialog';
|
|
3
2
|
export * from '@enigmatry/entry-components/search-filter';
|
|
4
|
-
export * from '@enigmatry/entry-components/toolbar';
|
|
5
3
|
export * from '@enigmatry/entry-components/validation';
|
|
6
4
|
export * from '@enigmatry/entry-components/button';
|
|
7
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enigmatry-entry-components.mjs","sources":["../../../../libs/entry-components/public-api.ts","../../../../libs/entry-components/enigmatry-entry-components.ts"],"sourcesContent":["/*\n * Public API Surface of entry-components\n */\n\nexport * from '@enigmatry/entry-components/
|
|
1
|
+
{"version":3,"file":"enigmatry-entry-components.mjs","sources":["../../../../libs/entry-components/public-api.ts","../../../../libs/entry-components/enigmatry-entry-components.ts"],"sourcesContent":["/*\n * Public API Surface of entry-components\n */\n\nexport * from '@enigmatry/entry-components/dialog';\nexport * from '@enigmatry/entry-components/search-filter';\nexport * from '@enigmatry/entry-components/validation';\nexport * from '@enigmatry/entry-components/button';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;;AAEG;;ACFH;;AAEG"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
export * from '@enigmatry/entry-components/header';
|
|
2
1
|
export * from '@enigmatry/entry-components/dialog';
|
|
3
2
|
export * from '@enigmatry/entry-components/search-filter';
|
|
4
|
-
export * from '@enigmatry/entry-components/toolbar';
|
|
5
3
|
export * from '@enigmatry/entry-components/validation';
|
|
6
4
|
export * from '@enigmatry/entry-components/button';
|
|
7
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enigmatry-entry-components.mjs","sources":["../../../../libs/entry-components/public-api.ts","../../../../libs/entry-components/enigmatry-entry-components.ts"],"sourcesContent":["/*\n * Public API Surface of entry-components\n */\n\nexport * from '@enigmatry/entry-components/
|
|
1
|
+
{"version":3,"file":"enigmatry-entry-components.mjs","sources":["../../../../libs/entry-components/public-api.ts","../../../../libs/entry-components/enigmatry-entry-components.ts"],"sourcesContent":["/*\n * Public API Surface of entry-components\n */\n\nexport * from '@enigmatry/entry-components/dialog';\nexport * from '@enigmatry/entry-components/search-filter';\nexport * from '@enigmatry/entry-components/validation';\nexport * from '@enigmatry/entry-components/button';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;;AAEG;;ACFH;;AAEG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmatry/entry-components",
|
|
3
|
-
"version": "1.15.1-preview.
|
|
3
|
+
"version": "1.15.1-preview.26",
|
|
4
4
|
"author": "Enigmatry",
|
|
5
5
|
"description": "Enigmatry entry angular material components",
|
|
6
6
|
"homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/libs/entry-components#readme",
|
|
@@ -58,14 +58,6 @@
|
|
|
58
58
|
"node": "./fesm2015/enigmatry-entry-components-dialog.mjs",
|
|
59
59
|
"default": "./fesm2020/enigmatry-entry-components-dialog.mjs"
|
|
60
60
|
},
|
|
61
|
-
"./header": {
|
|
62
|
-
"types": "./header/index.d.ts",
|
|
63
|
-
"esm2020": "./esm2020/header/enigmatry-entry-components-header.mjs",
|
|
64
|
-
"es2020": "./fesm2020/enigmatry-entry-components-header.mjs",
|
|
65
|
-
"es2015": "./fesm2015/enigmatry-entry-components-header.mjs",
|
|
66
|
-
"node": "./fesm2015/enigmatry-entry-components-header.mjs",
|
|
67
|
-
"default": "./fesm2020/enigmatry-entry-components-header.mjs"
|
|
68
|
-
},
|
|
69
61
|
"./search-filter": {
|
|
70
62
|
"types": "./search-filter/index.d.ts",
|
|
71
63
|
"esm2020": "./esm2020/search-filter/enigmatry-entry-components-search-filter.mjs",
|
|
@@ -74,14 +66,6 @@
|
|
|
74
66
|
"node": "./fesm2015/enigmatry-entry-components-search-filter.mjs",
|
|
75
67
|
"default": "./fesm2020/enigmatry-entry-components-search-filter.mjs"
|
|
76
68
|
},
|
|
77
|
-
"./toolbar": {
|
|
78
|
-
"types": "./toolbar/index.d.ts",
|
|
79
|
-
"esm2020": "./esm2020/toolbar/enigmatry-entry-components-toolbar.mjs",
|
|
80
|
-
"es2020": "./fesm2020/enigmatry-entry-components-toolbar.mjs",
|
|
81
|
-
"es2015": "./fesm2015/enigmatry-entry-components-toolbar.mjs",
|
|
82
|
-
"node": "./fesm2015/enigmatry-entry-components-toolbar.mjs",
|
|
83
|
-
"default": "./fesm2020/enigmatry-entry-components-toolbar.mjs"
|
|
84
|
-
},
|
|
85
69
|
"./validation": {
|
|
86
70
|
"types": "./validation/index.d.ts",
|
|
87
71
|
"esm2020": "./esm2020/validation/enigmatry-entry-components-validation.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from '@enigmatry/entry-components/header';
|
|
2
1
|
export * from '@enigmatry/entry-components/dialog';
|
|
3
2
|
export * from '@enigmatry/entry-components/search-filter';
|
|
4
|
-
export * from '@enigmatry/entry-components/toolbar';
|
|
5
3
|
export * from '@enigmatry/entry-components/validation';
|
|
6
4
|
export * from '@enigmatry/entry-components/button';
|
package/styles/_generator.scss
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'modules/components/dialogs/generator' as dialog;
|
|
2
2
|
@use 'modules/components/forms/generator' as forms;
|
|
3
3
|
@use 'modules/components/search-filter/generator' as search-filter;
|
|
4
|
-
@use 'modules/components/headers/generator' as header;
|
|
5
4
|
@use 'modules/components/tables/generator' as table;
|
|
6
5
|
@use 'modules/default-theme' as default;
|
|
7
6
|
@use 'modules/vendors/angular-material/generator' as material-theme;
|
|
@@ -16,5 +15,4 @@
|
|
|
16
15
|
@include forms.generate-from($merged-theme);
|
|
17
16
|
@include search-filter.generate-from($merged-theme);
|
|
18
17
|
@include dialog.generate-from($merged-theme);
|
|
19
|
-
@include header.generate-from($merged-theme);
|
|
20
18
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5pZ21hdHJ5LWVudHJ5LWNvbXBvbmVudHMtaGVhZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9lbnRyeS1jb21wb25lbnRzL2hlYWRlci9lbmlnbWF0cnktZW50cnktY29tcG9uZW50cy1oZWFkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class EntryHeaderComponent {
|
|
4
|
-
}
|
|
5
|
-
EntryHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
EntryHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryHeaderComponent, selector: "entry-header", inputs: { title: "title" }, ngImport: i0, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'entry-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>" }]
|
|
10
|
-
}], propDecorators: { title: [{
|
|
11
|
-
type: Input
|
|
12
|
-
}] } });
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9oZWFkZXIvZW50cnktaGVhZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9oZWFkZXIvZW50cnktaGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVExRSxNQUFNLE9BQU8sb0JBQW9COztpSEFBcEIsb0JBQW9CO3FHQUFwQixvQkFBb0IsZ0ZDUmpDLHFSQVFTOzJGREFJLG9CQUFvQjtrQkFOaEMsU0FBUzsrQkFDRSxjQUFjLG1CQUdQLHVCQUF1QixDQUFDLE1BQU07OEJBR3RDLEtBQUs7c0JBQWIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2VudHJ5LWhlYWRlcicsXG4gIHRlbXBsYXRlVXJsOiAnLi9lbnRyeS1oZWFkZXIuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9lbnRyeS1oZWFkZXIuY29tcG9uZW50LnNjc3MnXSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgRW50cnlIZWFkZXJDb21wb25lbnQge1xuICBASW5wdXQoKSB0aXRsZTogc3RyaW5nO1xufVxuIiwiPGhlYWRlciBjbGFzcz1cImVudHJ5LWhlYWRlclwiPlxuICA8ZGl2IGNsYXNzPVwic3BhY2UtYmV0d2VlblwiPlxuICAgIDxoMSBjbGFzcz1cInRpdGxlIGl0ZW1cIj57e3RpdGxlfX08L2gxPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIltidXR0b25zXVwiPjwvbmctY29udGVudD5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJyb3cgY29udGVudFwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIltjb250ZW50XVwiPjwvbmctY29udGVudD5cbiAgPC9kaXY+XG48L2hlYWRlcj4iXX0=
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { EntryHeaderComponent } from './entry-header.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class EntryHeaderModule {
|
|
6
|
-
}
|
|
7
|
-
EntryHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
EntryHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, declarations: [EntryHeaderComponent], imports: [CommonModule], exports: [EntryHeaderComponent] });
|
|
9
|
-
EntryHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, imports: [CommonModule] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [
|
|
14
|
-
EntryHeaderComponent
|
|
15
|
-
],
|
|
16
|
-
imports: [
|
|
17
|
-
CommonModule
|
|
18
|
-
],
|
|
19
|
-
exports: [
|
|
20
|
-
EntryHeaderComponent
|
|
21
|
-
]
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktaGVhZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9oZWFkZXIvZW50cnktaGVhZGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7QUFhaEUsTUFBTSxPQUFPLGlCQUFpQjs7OEdBQWpCLGlCQUFpQjsrR0FBakIsaUJBQWlCLGlCQVQxQixvQkFBb0IsYUFHcEIsWUFBWSxhQUdaLG9CQUFvQjsrR0FHWCxpQkFBaUIsWUFOMUIsWUFBWTsyRkFNSCxpQkFBaUI7a0JBWDdCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFO3dCQUNaLG9CQUFvQjtxQkFDckI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLFlBQVk7cUJBQ2I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLG9CQUFvQjtxQkFDckI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEVudHJ5SGVhZGVyQ29tcG9uZW50IH0gZnJvbSAnLi9lbnRyeS1oZWFkZXIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgRW50cnlIZWFkZXJDb21wb25lbnRcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRW50cnlIZWFkZXJDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBFbnRyeUhlYWRlck1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { EntryHeaderComponent } from './entry-header.component';
|
|
2
|
-
export { EntryHeaderModule } from './entry-header.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9oZWFkZXIvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IHsgRW50cnlIZWFkZXJDb21wb25lbnQgfSBmcm9tICcuL2VudHJ5LWhlYWRlci5jb21wb25lbnQnO1xuZXhwb3J0IHsgRW50cnlIZWFkZXJNb2R1bGUgfSBmcm9tICcuL2VudHJ5LWhlYWRlci5tb2R1bGUnO1xuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5pZ21hdHJ5LWVudHJ5LWNvbXBvbmVudHMtdG9vbGJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy90b29sYmFyL2VuaWdtYXRyeS1lbnRyeS1jb21wb25lbnRzLXRvb2xiYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
/**
|
|
5
|
-
* Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.
|
|
6
|
-
* It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.
|
|
7
|
-
* On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```html
|
|
11
|
-
* <entry-toolbar
|
|
12
|
-
* titleUri="http://www.enigmatry.com"
|
|
13
|
-
* titleLogoSrc="assets/enigmatry-logo.png">
|
|
14
|
-
* <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->
|
|
15
|
-
* </entry-toolbar>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export class EntryToolbarComponent {
|
|
19
|
-
constructor() {
|
|
20
|
-
/** Url to be redirected to if user click on the title (default value '/') */
|
|
21
|
-
this.titleUri = '/';
|
|
22
|
-
/** If provided, it replaces string title and renders logo image instead */
|
|
23
|
-
this.titleLogoSrc = undefined;
|
|
24
|
-
/** Used to hide the title section if not required (default value false) */
|
|
25
|
-
this.hideTitle = false;
|
|
26
|
-
this.menuOpened = false;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
EntryToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
EntryToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryToolbarComponent, selector: "entry-toolbar", inputs: { title: "title", titleUri: "titleUri", titleLogoSrc: "titleLogoSrc", hideTitle: "hideTitle" }, ngImport: i0, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, decorators: [{
|
|
32
|
-
type: Component,
|
|
33
|
-
args: [{ selector: 'entry-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>" }]
|
|
34
|
-
}], propDecorators: { title: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], titleUri: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], titleLogoSrc: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], hideTitle: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}] } });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktdG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2VudHJ5LWNvbXBvbmVudHMvdG9vbGJhci9lbnRyeS10b29sYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy90b29sYmFyL2VudHJ5LXRvb2xiYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQUUxRTs7Ozs7Ozs7Ozs7OztHQWFHO0FBT0gsTUFBTSxPQUFPLHFCQUFxQjtJQU5sQztRQVNFLDZFQUE2RTtRQUNwRSxhQUFRLEdBQUcsR0FBRyxDQUFDO1FBQ3hCLDJFQUEyRTtRQUNsRSxpQkFBWSxHQUF1QixTQUFTLENBQUM7UUFDdEQsMkVBQTJFO1FBQ2xFLGNBQVMsR0FBRyxLQUFLLENBQUM7UUFFM0IsZUFBVSxHQUFHLEtBQUssQ0FBQztLQUNwQjs7a0hBWFkscUJBQXFCO3NHQUFyQixxQkFBcUIsNkpDdEJsQyx5akNBMEJTOzJGREpJLH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cz1cImVudHJ5LXRvb2xiYXItbmF2XCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJlbnRyeS10b29sYmFyLWRhdGFcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJlbnRyeS10b29sYmFyLWxvZ29cIj5cbiAgICAgICAgICAgICAgICA8YSAqbmdJZj1cIiFoaWRlVGl0bGVcIiBbaHJlZl09XCJ0aXRsZVVyaVwiPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdJZj1cIiF0aXRsZUxvZ29TcmNcIj57e3RpdGxlfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgIDxpbWcgKm5nSWY9XCJ0aXRsZUxvZ29TcmNcIiBbc3JjXT1cInRpdGxlTG9nb1NyY1wiLz5cbiAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImVudHJ5LXRvb2xiYXItbmF2LXRvZ2dsZVwiXG4gICAgICAgICAgICAgICAgKGNsaWNrKT1cIm1lbnVPcGVuZWQgPSAhbWVudU9wZW5lZFwiXG4gICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwieydzaG93LXRvb2xiYXItaWNvbic6IG1lbnVPcGVuZWQgPT09IHRydWV9XCI+XG4gICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJuYXYtdG9nZ2xlLW1lbnVcIj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJpY29uLW1lbnVcIj48L3NwYW4+XG4gICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwibmF2LXRvZ2dsZS1jbG9zZVwiPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImljb24tY2xvc2VcIj48L3NwYW4+XG4gICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8c3BhbiBjbGFzcz1cImVudHJ5LXRvb2xiYXItY29udGVudFwiXG4gICAgICAgICAgICBbbmdDbGFzc109XCJ7J3Nob3ctdG9vbGJhci1jb250ZW50JzogbWVudU9wZW5lZCA9PT0gdHJ1ZX1cIj5cbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgPC9zcGFuPlxuICAgIDwvbmF2PlxuPC9oZWFkZXI+Il19
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { EntryToolbarComponent } from './entry-toolbar.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class EntryToolbarModule {
|
|
6
|
-
}
|
|
7
|
-
EntryToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
EntryToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, declarations: [EntryToolbarComponent], imports: [CommonModule], exports: [EntryToolbarComponent] });
|
|
9
|
-
EntryToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, imports: [CommonModule] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [
|
|
14
|
-
EntryToolbarComponent
|
|
15
|
-
],
|
|
16
|
-
imports: [
|
|
17
|
-
CommonModule
|
|
18
|
-
],
|
|
19
|
-
exports: [
|
|
20
|
-
EntryToolbarComponent
|
|
21
|
-
]
|
|
22
|
-
}]
|
|
23
|
-
}] });
|
|
24
|
-
//# s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eVRvb2xiYXJDb21wb25lbnRcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRW50cnlUb29sYmFyQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRW50cnlUb29sYmFyTW9kdWxlIHsgfVxuIl19
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { EntryToolbarComponent } from './entry-toolbar.component';
|
|
2
|
-
export { EntryToolbarModule } from './entry-toolbar.module';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy90b29sYmFyL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBFbnRyeVRvb2xiYXJDb21wb25lbnQgfSBmcm9tICcuL2VudHJ5LXRvb2xiYXIuY29tcG9uZW50JztcbmV4cG9ydCB7IEVudHJ5VG9vbGJhck1vZHVsZSB9IGZyb20gJy4vZW50cnktdG9vbGJhci5tb2R1bGUnO1xuIl19
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
class EntryHeaderComponent {
|
|
6
|
-
}
|
|
7
|
-
EntryHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
EntryHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryHeaderComponent, selector: "entry-header", inputs: { title: "title" }, ngImport: i0, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'entry-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>" }]
|
|
12
|
-
}], propDecorators: { title: [{
|
|
13
|
-
type: Input
|
|
14
|
-
}] } });
|
|
15
|
-
|
|
16
|
-
class EntryHeaderModule {
|
|
17
|
-
}
|
|
18
|
-
EntryHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
-
EntryHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, declarations: [EntryHeaderComponent], imports: [CommonModule], exports: [EntryHeaderComponent] });
|
|
20
|
-
EntryHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, imports: [CommonModule] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, decorators: [{
|
|
22
|
-
type: NgModule,
|
|
23
|
-
args: [{
|
|
24
|
-
declarations: [
|
|
25
|
-
EntryHeaderComponent
|
|
26
|
-
],
|
|
27
|
-
imports: [
|
|
28
|
-
CommonModule
|
|
29
|
-
],
|
|
30
|
-
exports: [
|
|
31
|
-
EntryHeaderComponent
|
|
32
|
-
]
|
|
33
|
-
}]
|
|
34
|
-
}] });
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Generated bundle index. Do not edit.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
export { EntryHeaderComponent, EntryHeaderModule };
|
|
41
|
-
//# sourceMappingURL=enigmatry-entry-components-header.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enigmatry-entry-components-header.mjs","sources":["../../../../libs/entry-components/header/entry-header.component.ts","../../../../libs/entry-components/header/entry-header.component.html","../../../../libs/entry-components/header/entry-header.module.ts","../../../../libs/entry-components/header/enigmatry-entry-components-header.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'entry-header',\n templateUrl: './entry-header.component.html',\n styleUrls: ['./entry-header.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EntryHeaderComponent {\n @Input() title: string;\n}\n","<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EntryHeaderComponent } from './entry-header.component';\n\n@NgModule({\n declarations: [\n EntryHeaderComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n EntryHeaderComponent\n ]\n})\nexport class EntryHeader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AiB,EAAA,UAAA,EAAA,CAAA;kBAX7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.
|
|
8
|
-
* It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.
|
|
9
|
-
* On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <entry-toolbar
|
|
14
|
-
* titleUri="http://www.enigmatry.com"
|
|
15
|
-
* titleLogoSrc="assets/enigmatry-logo.png">
|
|
16
|
-
* <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->
|
|
17
|
-
* </entry-toolbar>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
class EntryToolbarComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
/** Url to be redirected to if user click on the title (default value '/') */
|
|
23
|
-
this.titleUri = '/';
|
|
24
|
-
/** If provided, it replaces string title and renders logo image instead */
|
|
25
|
-
this.titleLogoSrc = undefined;
|
|
26
|
-
/** Used to hide the title section if not required (default value false) */
|
|
27
|
-
this.hideTitle = false;
|
|
28
|
-
this.menuOpened = false;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
EntryToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
EntryToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryToolbarComponent, selector: "entry-toolbar", inputs: { title: "title", titleUri: "titleUri", titleLogoSrc: "titleLogoSrc", hideTitle: "hideTitle" }, ngImport: i0, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{ selector: 'entry-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>" }]
|
|
36
|
-
}], propDecorators: { title: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], titleUri: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], titleLogoSrc: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], hideTitle: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}] } });
|
|
45
|
-
|
|
46
|
-
class EntryToolbarModule {
|
|
47
|
-
}
|
|
48
|
-
EntryToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
49
|
-
EntryToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, declarations: [EntryToolbarComponent], imports: [CommonModule], exports: [EntryToolbarComponent] });
|
|
50
|
-
EntryToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, imports: [CommonModule] });
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, decorators: [{
|
|
52
|
-
type: NgModule,
|
|
53
|
-
args: [{
|
|
54
|
-
declarations: [
|
|
55
|
-
EntryToolbarComponent
|
|
56
|
-
],
|
|
57
|
-
imports: [
|
|
58
|
-
CommonModule
|
|
59
|
-
],
|
|
60
|
-
exports: [
|
|
61
|
-
EntryToolbarComponent
|
|
62
|
-
]
|
|
63
|
-
}]
|
|
64
|
-
}] });
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Generated bundle index. Do not edit.
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
export { EntryToolbarComponent, EntryToolbarModule };
|
|
71
|
-
//# sourceMappingURL=enigmatry-entry-components-toolbar.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enigmatry-entry-components-toolbar.mjs","sources":["../../../../libs/entry-components/toolbar/entry-toolbar.component.ts","../../../../libs/entry-components/toolbar/entry-toolbar.component.html","../../../../libs/entry-components/toolbar/entry-toolbar.module.ts","../../../../libs/entry-components/toolbar/enigmatry-entry-components-toolbar.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n/**\n * Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.\n * It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.\n * On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.\n *\n * @example\n * ```html\n * <entry-toolbar\n * titleUri=\"http://www.enigmatry.com\"\n * titleLogoSrc=\"assets/enigmatry-logo.png\">\n * <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->\n * </entry-toolbar>\n * ```\n */\n@Component({\n selector: 'entry-toolbar',\n templateUrl: './entry-toolbar.component.html',\n styleUrls: ['./entry-toolbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EntryToolbarComponent {\n /** Toolbar title positioned in the left side */\n @Input() title: string;\n /** Url to be redirected to if user click on the title (default value '/') */\n @Input() titleUri = '/';\n /** If provided, it replaces string title and renders logo image instead */\n @Input() titleLogoSrc: string | undefined = undefined;\n /** Used to hide the title section if not required (default value false) */\n @Input() hideTitle = false;\n\n menuOpened = false;\n}\n","<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EntryToolbarComponent } from './entry-toolbar.component';\n\n@NgModule({\n declarations: [\n EntryToolbarComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n EntryToolbarComponent\n ]\n})\nexport class EntryToolbarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAEA;;;;;;;;;;;;;AAaG;MAOU,qBAAqB,CAAA;AANlC,IAAA,WAAA,GAAA;;AAUW,QAAA,IAAQ,CAAA,QAAA,GAAG,GAAG,CAAC;;AAEf,QAAA,IAAY,CAAA,YAAA,GAAuB,SAAS,CAAC;;AAE7C,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;AAE3B,QAAA,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;KACpB;;kHAXY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MA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AAA,EAAA,CAAA,qBAAqB,CAGrB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAGZ,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAN3B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAX9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;AACtB,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
class EntryHeaderComponent {
|
|
6
|
-
}
|
|
7
|
-
EntryHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
EntryHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryHeaderComponent, selector: "entry-header", inputs: { title: "title" }, ngImport: i0, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'entry-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>" }]
|
|
12
|
-
}], propDecorators: { title: [{
|
|
13
|
-
type: Input
|
|
14
|
-
}] } });
|
|
15
|
-
|
|
16
|
-
class EntryHeaderModule {
|
|
17
|
-
}
|
|
18
|
-
EntryHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
-
EntryHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, declarations: [EntryHeaderComponent], imports: [CommonModule], exports: [EntryHeaderComponent] });
|
|
20
|
-
EntryHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, imports: [CommonModule] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryHeaderModule, decorators: [{
|
|
22
|
-
type: NgModule,
|
|
23
|
-
args: [{
|
|
24
|
-
declarations: [
|
|
25
|
-
EntryHeaderComponent
|
|
26
|
-
],
|
|
27
|
-
imports: [
|
|
28
|
-
CommonModule
|
|
29
|
-
],
|
|
30
|
-
exports: [
|
|
31
|
-
EntryHeaderComponent
|
|
32
|
-
]
|
|
33
|
-
}]
|
|
34
|
-
}] });
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Generated bundle index. Do not edit.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
export { EntryHeaderComponent, EntryHeaderModule };
|
|
41
|
-
//# sourceMappingURL=enigmatry-entry-components-header.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enigmatry-entry-components-header.mjs","sources":["../../../../libs/entry-components/header/entry-header.component.ts","../../../../libs/entry-components/header/entry-header.component.html","../../../../libs/entry-components/header/entry-header.module.ts","../../../../libs/entry-components/header/enigmatry-entry-components-header.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'entry-header',\n templateUrl: './entry-header.component.html',\n styleUrls: ['./entry-header.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EntryHeaderComponent {\n @Input() title: string;\n}\n","<header class=\"entry-header\">\n <div class=\"space-between\">\n <h1 class=\"title item\">{{title}}</h1>\n <ng-content select=\"[buttons]\"></ng-content>\n </div>\n <div class=\"row content\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n</header>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EntryHeaderComponent } from './entry-header.component';\n\n@NgModule({\n declarations: [\n EntryHeaderComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n EntryHeaderComponent\n ]\n})\nexport class EntryHeaderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,gFCRjC,qRAQS,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,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i1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.
|
|
8
|
-
* It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.
|
|
9
|
-
* On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <entry-toolbar
|
|
14
|
-
* titleUri="http://www.enigmatry.com"
|
|
15
|
-
* titleLogoSrc="assets/enigmatry-logo.png">
|
|
16
|
-
* <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->
|
|
17
|
-
* </entry-toolbar>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
class EntryToolbarComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
/** Url to be redirected to if user click on the title (default value '/') */
|
|
23
|
-
this.titleUri = '/';
|
|
24
|
-
/** If provided, it replaces string title and renders logo image instead */
|
|
25
|
-
this.titleLogoSrc = undefined;
|
|
26
|
-
/** Used to hide the title section if not required (default value false) */
|
|
27
|
-
this.hideTitle = false;
|
|
28
|
-
this.menuOpened = false;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
EntryToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
EntryToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryToolbarComponent, selector: "entry-toolbar", inputs: { title: "title", titleUri: "titleUri", titleLogoSrc: "titleLogoSrc", hideTitle: "hideTitle" }, ngImport: i0, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{ selector: 'entry-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>" }]
|
|
36
|
-
}], propDecorators: { title: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], titleUri: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], titleLogoSrc: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], hideTitle: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}] } });
|
|
45
|
-
|
|
46
|
-
class EntryToolbarModule {
|
|
47
|
-
}
|
|
48
|
-
EntryToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
49
|
-
EntryToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, declarations: [EntryToolbarComponent], imports: [CommonModule], exports: [EntryToolbarComponent] });
|
|
50
|
-
EntryToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, imports: [CommonModule] });
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryToolbarModule, decorators: [{
|
|
52
|
-
type: NgModule,
|
|
53
|
-
args: [{
|
|
54
|
-
declarations: [
|
|
55
|
-
EntryToolbarComponent
|
|
56
|
-
],
|
|
57
|
-
imports: [
|
|
58
|
-
CommonModule
|
|
59
|
-
],
|
|
60
|
-
exports: [
|
|
61
|
-
EntryToolbarComponent
|
|
62
|
-
]
|
|
63
|
-
}]
|
|
64
|
-
}] });
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Generated bundle index. Do not edit.
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
export { EntryToolbarComponent, EntryToolbarModule };
|
|
71
|
-
//# sourceMappingURL=enigmatry-entry-components-toolbar.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enigmatry-entry-components-toolbar.mjs","sources":["../../../../libs/entry-components/toolbar/entry-toolbar.component.ts","../../../../libs/entry-components/toolbar/entry-toolbar.component.html","../../../../libs/entry-components/toolbar/entry-toolbar.module.ts","../../../../libs/entry-components/toolbar/enigmatry-entry-components-toolbar.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n/**\n * Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.\n * It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.\n * On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.\n *\n * @example\n * ```html\n * <entry-toolbar\n * titleUri=\"http://www.enigmatry.com\"\n * titleLogoSrc=\"assets/enigmatry-logo.png\">\n * <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->\n * </entry-toolbar>\n * ```\n */\n@Component({\n selector: 'entry-toolbar',\n templateUrl: './entry-toolbar.component.html',\n styleUrls: ['./entry-toolbar.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EntryToolbarComponent {\n /** Toolbar title positioned in the left side */\n @Input() title: string;\n /** Url to be redirected to if user click on the title (default value '/') */\n @Input() titleUri = '/';\n /** If provided, it replaces string title and renders logo image instead */\n @Input() titleLogoSrc: string | undefined = undefined;\n /** Used to hide the title section if not required (default value false) */\n @Input() hideTitle = false;\n\n menuOpened = false;\n}\n","<header class=\"entry-toolbar\">\n <nav class=\"entry-toolbar-nav\">\n <div class=\"entry-toolbar-data\">\n <div class=\"entry-toolbar-logo\">\n <a *ngIf=\"!hideTitle\" [href]=\"titleUri\">\n <span *ngIf=\"!titleLogoSrc\">{{title}}</span>\n <img *ngIf=\"titleLogoSrc\" [src]=\"titleLogoSrc\"/>\n </a>\n </div>\n\n <div class=\"entry-toolbar-nav-toggle\"\n (click)=\"menuOpened = !menuOpened\"\n [ngClass]=\"{'show-toolbar-icon': menuOpened === true}\">\n <i class=\"nav-toggle-menu\">\n <span class=\"icon-menu\"></span>\n </i>\n <i class=\"nav-toggle-close\">\n <span class=\"icon-close\"></span>\n </i>\n </div>\n </div>\n <span class=\"entry-toolbar-content\"\n [ngClass]=\"{'show-toolbar-content': menuOpened === true}\">\n <ng-content></ng-content>\n </span>\n </nav>\n</header>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EntryToolbarComponent } from './entry-toolbar.component';\n\n@NgModule({\n declarations: [\n EntryToolbarComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n EntryToolbarComponent\n ]\n})\nexport class EntryToolbarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAEA;;;;;;;;;;;;;AAaG;MAOU,qBAAqB,CAAA;AANlC,IAAA,WAAA,GAAA;;QAUW,IAAQ,CAAA,QAAA,GAAG,GAAG,CAAC;;QAEf,IAAY,CAAA,YAAA,GAAuB,SAAS,CAAC;;QAE7C,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;QAE3B,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;AACpB,KAAA;;kHAXY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,6JCtBlC,yjCA0BS,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,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BACZ,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;AACtB,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
|
package/header/README.md
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Entry Header
|
|
2
|
-
|
|
3
|
-
Simple way of providing header layout and styling for the page or section header.
|
|
4
|
-
|
|
5
|
-
## Integration
|
|
6
|
-
|
|
7
|
-
```npm
|
|
8
|
-
npm i @enigmatry/entry-components
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Import component package:
|
|
12
|
-
|
|
13
|
-
```ts
|
|
14
|
-
import { EntryHeaderModule } from '@enigmatry/entry-components/entry-header';
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Styles import:
|
|
18
|
-
|
|
19
|
-
```scss
|
|
20
|
-
@use 'entry-components/styles/generate' as entry;
|
|
21
|
-
|
|
22
|
-
@include entry.generate(APP_THEME, APP_TYPOGRAPHY);
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Where `APP_THEME` represents application theming configuration, while `APP_TYPOGRAPHY` represents application fonts configuration.
|
|
26
|
-
|
|
27
|
-
## Basic usage
|
|
28
|
-
|
|
29
|
-
`entry-header` is used to provide standard layout and styles:
|
|
30
|
-
|
|
31
|
-
```html
|
|
32
|
-
<entry-header [title]="'Title here'">
|
|
33
|
-
<div buttons>
|
|
34
|
-
<button mat-raised-button color="primary">Add new</button>
|
|
35
|
-
<button mat-raised-button color="accent">Other action</button>
|
|
36
|
-
</div>
|
|
37
|
-
<div content>
|
|
38
|
-
Content goes here...
|
|
39
|
-
</div>
|
|
40
|
-
</entry-header>
|
|
41
|
-
```
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class EntryHeaderComponent {
|
|
3
|
-
title: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryHeaderComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryHeaderComponent, "entry-header", never, { "title": "title"; }, {}, never, ["[buttons]", "[content]"], false, never>;
|
|
6
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./entry-header.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class EntryHeaderModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryHeaderModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryHeaderModule, [typeof i1.EntryHeaderComponent], [typeof i2.CommonModule], [typeof i1.EntryHeaderComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryHeaderModule>;
|
|
8
|
-
}
|
package/header/index.d.ts
DELETED
package/header/public-api.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@mixin generate-from($theme) {
|
|
4
|
-
.entry-header {
|
|
5
|
-
background-color: map.get($theme, 'general', 'colors', 'primary');
|
|
6
|
-
|
|
7
|
-
.title {
|
|
8
|
-
color: map.get($theme, 'general', 'colors', 'font');
|
|
9
|
-
font-size: map.get($theme, 'headers', 'title', 'size');
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
package/toolbar/README.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Entry Toolbar
|
|
2
|
-
|
|
3
|
-
Toolbar component (`<entry-toolbar>`) is used as a header section in the applications. It offers built-in support for title or logo on the left side, while other elements, like menu items, must be provided via content projection. The component is responsive in a way that on smaller screens (mobile/tablet) switches to _the compact view_ containing menu icon button used to toggle content visibility.
|
|
4
|
-
|
|
5
|
-
## Integration
|
|
6
|
-
|
|
7
|
-
```npm
|
|
8
|
-
npm i @enigmatry/entry-components
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Import component package:
|
|
12
|
-
|
|
13
|
-
```ts
|
|
14
|
-
import { EntryDialogModule } from '@enigmatry/entry-components/toolbar';
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Styles import:
|
|
18
|
-
|
|
19
|
-
```scss
|
|
20
|
-
@use 'entry-components/styles/generate' as entry;
|
|
21
|
-
|
|
22
|
-
@include entry.generate(APP_THEME, APP_TYPOGRAPHY);
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Where `APP_THEME` represents application theming configuration, while `APP_TYPOGRAPHY` represents application fonts configuration.
|
|
26
|
-
|
|
27
|
-
## Basic usage
|
|
28
|
-
|
|
29
|
-
```html
|
|
30
|
-
<entry-toolbar
|
|
31
|
-
title="Food & Drinks"
|
|
32
|
-
titleUri="http://food-n-drinks.com">
|
|
33
|
-
<ul>
|
|
34
|
-
<li>Meals</li>
|
|
35
|
-
<li>Order</li>
|
|
36
|
-
<li>About</li>
|
|
37
|
-
</ul>
|
|
38
|
-
</entry-toolbar>
|
|
39
|
-
```
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.
|
|
4
|
-
* It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.
|
|
5
|
-
* On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```html
|
|
9
|
-
* <entry-toolbar
|
|
10
|
-
* titleUri="http://www.enigmatry.com"
|
|
11
|
-
* titleLogoSrc="assets/enigmatry-logo.png">
|
|
12
|
-
* <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->
|
|
13
|
-
* </entry-toolbar>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare class EntryToolbarComponent {
|
|
17
|
-
/** Toolbar title positioned in the left side */
|
|
18
|
-
title: string;
|
|
19
|
-
/** Url to be redirected to if user click on the title (default value '/') */
|
|
20
|
-
titleUri: string;
|
|
21
|
-
/** If provided, it replaces string title and renders logo image instead */
|
|
22
|
-
titleLogoSrc: string | undefined;
|
|
23
|
-
/** Used to hide the title section if not required (default value false) */
|
|
24
|
-
hideTitle: boolean;
|
|
25
|
-
menuOpened: boolean;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryToolbarComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryToolbarComponent, "entry-toolbar", never, { "title": "title"; "titleUri": "titleUri"; "titleLogoSrc": "titleLogoSrc"; "hideTitle": "hideTitle"; }, {}, never, ["*"], false, never>;
|
|
28
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./entry-toolbar.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class EntryToolbarModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryToolbarModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryToolbarModule, [typeof i1.EntryToolbarComponent], [typeof i2.CommonModule], [typeof i1.EntryToolbarComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryToolbarModule>;
|
|
8
|
-
}
|
package/toolbar/index.d.ts
DELETED
package/toolbar/public-api.d.ts
DELETED