@enigmatry/entry-components 1.14.19-alpha.0.4 → 1.15.1-preview.10

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.
Files changed (139) hide show
  1. package/button/README.md +47 -0
  2. package/button/entry-button-config.d.ts +26 -0
  3. package/button/entry-button.directive.d.ts +22 -0
  4. package/button/entry-button.module.d.ts +9 -0
  5. package/button/index.d.ts +5 -0
  6. package/button/public-api.d.ts +3 -0
  7. package/dialog/dialogs/alert/entry-alert-dialog.component.d.ts +1 -1
  8. package/dialog/dialogs/confirm/entry-confirm-dialog.component.d.ts +1 -1
  9. package/dialog/dialogs/entry-dialog.component.d.ts +1 -1
  10. package/dialog/entry-dialog-buttons-alignment.type.d.ts +1 -1
  11. package/esm2020/button/enigmatry-entry-components-button.mjs +5 -0
  12. package/esm2020/button/entry-button-config.mjs +22 -0
  13. package/esm2020/button/entry-button.directive.mjs +58 -0
  14. package/esm2020/button/entry-button.module.mjs +28 -0
  15. package/esm2020/button/public-api.mjs +4 -0
  16. package/esm2020/dialog/dialogs/alert/entry-alert-dialog.component.mjs +3 -3
  17. package/esm2020/dialog/dialogs/confirm/entry-confirm-dialog.component.mjs +3 -3
  18. package/esm2020/dialog/dialogs/entry-dialog.component.mjs +3 -3
  19. package/esm2020/dialog/entry-dialog-buttons-alignment.type.mjs +2 -1
  20. package/esm2020/dialog/entry-dialog.module.mjs +4 -4
  21. package/esm2020/dialog/entry-dialog.service.mjs +3 -3
  22. package/esm2020/header/entry-header.component.mjs +3 -3
  23. package/esm2020/header/entry-header.module.mjs +4 -4
  24. package/esm2020/public-api.mjs +2 -1
  25. package/esm2020/search-filter/entry-search-filter.component.mjs +3 -3
  26. package/esm2020/search-filter/entry-search-filter.module.mjs +4 -4
  27. package/esm2020/search-filter/search-filter-input/search-filter-input.component.mjs +5 -5
  28. package/esm2020/toolbar/entry-toolbar.component.mjs +3 -3
  29. package/esm2020/toolbar/entry-toolbar.module.mjs +4 -4
  30. package/esm2020/validation/entry-display-control-validation.directive.mjs +3 -3
  31. package/esm2020/validation/entry-form-errors.component.mjs +4 -4
  32. package/esm2020/validation/entry-validation.module.mjs +4 -4
  33. package/fesm2015/enigmatry-entry-components-button.mjs +112 -0
  34. package/fesm2015/enigmatry-entry-components-button.mjs.map +1 -0
  35. package/fesm2015/enigmatry-entry-components-dialog.mjs +16 -16
  36. package/fesm2015/enigmatry-entry-components-header.mjs +7 -7
  37. package/fesm2015/enigmatry-entry-components-search-filter.mjs +12 -12
  38. package/fesm2015/enigmatry-entry-components-search-filter.mjs.map +1 -1
  39. package/fesm2015/enigmatry-entry-components-toolbar.mjs +7 -7
  40. package/fesm2015/enigmatry-entry-components-validation.mjs +11 -11
  41. package/fesm2015/enigmatry-entry-components-validation.mjs.map +1 -1
  42. package/fesm2015/enigmatry-entry-components.mjs +1 -0
  43. package/fesm2015/enigmatry-entry-components.mjs.map +1 -1
  44. package/fesm2020/enigmatry-entry-components-button.mjs +109 -0
  45. package/fesm2020/enigmatry-entry-components-button.mjs.map +1 -0
  46. package/fesm2020/enigmatry-entry-components-dialog.mjs +16 -16
  47. package/fesm2020/enigmatry-entry-components-header.mjs +7 -7
  48. package/fesm2020/enigmatry-entry-components-search-filter.mjs +12 -12
  49. package/fesm2020/enigmatry-entry-components-search-filter.mjs.map +1 -1
  50. package/fesm2020/enigmatry-entry-components-toolbar.mjs +7 -7
  51. package/fesm2020/enigmatry-entry-components-validation.mjs +11 -11
  52. package/fesm2020/enigmatry-entry-components-validation.mjs.map +1 -1
  53. package/fesm2020/enigmatry-entry-components.mjs +1 -0
  54. package/fesm2020/enigmatry-entry-components.mjs.map +1 -1
  55. package/header/entry-header.component.d.ts +1 -1
  56. package/package.json +16 -8
  57. package/public-api.d.ts +1 -0
  58. package/search-filter/entry-search-filter.component.d.ts +1 -1
  59. package/search-filter/search-filter-input/search-filter-input.component.d.ts +1 -1
  60. package/search-filter/search-filter-params.type.d.ts +1 -1
  61. package/styles/_generator.scss +17 -0
  62. package/styles/modules/_default-theme.scss +90 -0
  63. package/styles/modules/components/dialogs/_generator.scss +11 -0
  64. package/styles/modules/components/forms/_generator.scss +9 -0
  65. package/styles/modules/components/forms/outlines/_field-outlines.scss +45 -0
  66. package/styles/modules/components/forms/outlines/_form-fields.scss +26 -0
  67. package/styles/modules/components/forms/outlines/_general.scss +9 -0
  68. package/styles/modules/components/forms/selectors/_checkboxes.scss +55 -0
  69. package/styles/modules/components/forms/selectors/_radio-buttons.scss +39 -0
  70. package/styles/modules/components/headers/_generator.scss +12 -0
  71. package/styles/modules/components/tables/_cells.scss +23 -0
  72. package/styles/modules/components/tables/_generator.scss +7 -0
  73. package/styles/modules/components/tables/_no-result.scss +12 -0
  74. package/styles/modules/components/tables/_rows.scss +53 -0
  75. package/styles/modules/components/tables/_sorting.scss +18 -0
  76. package/styles/modules/components/tables/_table-body.scss +11 -0
  77. package/styles/modules/elements/_generator.scss +20 -0
  78. package/styles/modules/elements/anchors/_generator.scss +16 -0
  79. package/styles/modules/elements/buttons/_default.scss +12 -0
  80. package/styles/modules/elements/buttons/_generator.scss +45 -0
  81. package/styles/modules/states/_hover.scss +11 -20
  82. package/styles/modules/typography/_fonts.scss +40 -55
  83. package/styles/partials/core/components/_index.scss +4 -0
  84. package/{dialog/styles → styles}/partials/core/components/dialogs/_general.scss +9 -10
  85. package/styles/partials/core/components/forms/_general.scss +32 -0
  86. package/styles/partials/core/components/headers/_general.scss +7 -0
  87. package/styles/partials/core/components/tables/_action-cells.scss +26 -0
  88. package/styles/partials/core/components/tables/_cells.scss +39 -0
  89. package/styles/partials/core/components/tables/_index.scss +5 -0
  90. package/styles/partials/core/components/tables/_layout.scss +47 -0
  91. package/styles/partials/core/components/tables/_rows.scss +13 -0
  92. package/styles/partials/core/components/tables/_sorting.scss +8 -0
  93. package/styles/partials/test.scss +35 -0
  94. package/styles/partials/theming.scss +1 -0
  95. package/toolbar/entry-toolbar.component.d.ts +1 -1
  96. package/validation/entry-display-control-validation.directive.d.ts +1 -1
  97. package/validation/entry-form-errors.component.d.ts +1 -1
  98. package/dialog/styles/modules/_generator.scss +0 -11
  99. package/dialog/styles/modules/components/dialogs/_general.scss +0 -11
  100. package/dialog/styles/modules/components/dialogs/footers/_general.scss +0 -26
  101. package/dialog/styles/modules/components/dialogs/headers/_general.scss +0 -16
  102. package/dialog/styles/modules/theming/_default-theming.scss +0 -29
  103. package/dialog/styles/partials/core/_index.scss +0 -3
  104. package/dialog/styles/partials/core/components/_index.scss +0 -1
  105. package/dialog/styles/partials/core/components/dialogs/_index.scss +0 -1
  106. package/dialog/styles/partials/core/elements/_general.scss +0 -10
  107. package/dialog/styles/partials/core/elements/_index.scss +0 -1
  108. package/dialog/styles/partials/core/layouts/_alignments.scss +0 -13
  109. package/dialog/styles/partials/core/layouts/_index.scss +0 -1
  110. package/dialog/styles/partials/main.scss +0 -1
  111. package/header/styles/modules/_generator.scss +0 -13
  112. package/header/styles/modules/components/buttons/_general.scss +0 -26
  113. package/header/styles/modules/components/headers/_general.scss +0 -13
  114. package/header/styles/modules/theming/_default-theming.scss +0 -21
  115. package/header/styles/partials/core/_index.scss +0 -3
  116. package/header/styles/partials/core/components/_index.scss +0 -2
  117. package/header/styles/partials/core/components/buttons/_general.scss +0 -42
  118. package/header/styles/partials/core/components/buttons/_index.scss +0 -1
  119. package/header/styles/partials/core/components/headers/_general.scss +0 -9
  120. package/header/styles/partials/core/components/headers/_index.scss +0 -1
  121. package/header/styles/partials/core/elements/_index.scss +0 -1
  122. package/header/styles/partials/core/elements/headings.scss +0 -3
  123. package/header/styles/partials/core/layouts/_alignment.scss +0 -6
  124. package/header/styles/partials/core/layouts/_index.scss +0 -1
  125. package/header/styles/partials/main.scss +0 -1
  126. package/styles/_generate.scss +0 -15
  127. package/styles/modules/_breakpoints.scss +0 -37
  128. package/styles/modules/_generate.scss +0 -5
  129. package/styles/modules/_variables.scss +0 -22
  130. package/styles/modules/theming/_default-theming.scss +0 -9
  131. package/styles/modules/typography/_generate.scss +0 -7
  132. package/toolbar/styles/modules/_generate.scss +0 -10
  133. package/toolbar/styles/modules/components/toolbar/_general.scss +0 -34
  134. package/toolbar/styles/modules/theming/_default-theming.scss +0 -8
  135. package/toolbar/styles/partials/core/_index.scss +0 -1
  136. package/toolbar/styles/partials/core/components/_index.scss +0 -1
  137. package/toolbar/styles/partials/core/components/toolbar/_general.scss +0 -100
  138. package/toolbar/styles/partials/core/components/toolbar/_index.scss +0 -1
  139. package/toolbar/styles/partials/main.scss +0 -1
@@ -0,0 +1,47 @@
1
+ # Entry Button
2
+
3
+ Simple way of providing mat button type and color for material buttons that are used in other entry components e.g. dialog or form.
4
+
5
+ Allows projects to specify which type: flat, raised or basic, to use for a submit or cancel button.
6
+
7
+ ## Integration
8
+
9
+ ```npm
10
+ npm i @enigmatry/entry-components
11
+ ```
12
+
13
+ Import component module:
14
+
15
+ ```ts
16
+ import { EntryButtonModule } from '@enigmatry/entry-components/button';
17
+ ```
18
+
19
+
20
+ ## Basic usage
21
+
22
+ Provide configuration for submit or cancel button in feature or shared module.
23
+
24
+ ```typescript
25
+ import { ENTRY_BUTTON_CONFIG, EntryButtonConfig, EntryButtonModule } from '@enigmatry/entry-components/button';
26
+
27
+ @NgModule({
28
+ declarations: [],
29
+ imports: [],
30
+ exports: [],
31
+ providers: [{
32
+ provide: ENTRY_BUTTON_CONFIG,
33
+ useValue: new EntryButtonConfig({
34
+ submitButton: { type: 'raised', color: 'primary' },
35
+ cancelButton: { type: 'basic', }
36
+ })
37
+ }]
38
+ })
39
+ export class SharedModule { }
40
+ ```
41
+
42
+ Apply the directive entry-submit-button or entry-cancel-button on a button instead of mat-flat-button or mat-raised-button.
43
+
44
+ ```html
45
+ <button mat-button entry-submit-button>Submit</button>
46
+ <button mat-button entry-cancel-button>Cancel</button>
47
+ ```
@@ -0,0 +1,26 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { ThemePalette } from '@angular/material/core';
3
+ /** Possible mat button variants */
4
+ export declare type MatButtonVariants = 'basic' | 'flat' | 'raised' | 'stroked';
5
+ export interface MatButtonConfig {
6
+ type: MatButtonVariants;
7
+ color?: ThemePalette;
8
+ }
9
+ /**
10
+ * Used to provide button configuration on module or application level.
11
+ */
12
+ export declare class EntryButtonConfig {
13
+ /** Submit button configuration */
14
+ submitButton: MatButtonConfig;
15
+ /** Cancel button configuration */
16
+ cancelButton: MatButtonConfig;
17
+ constructor(config?: Partial<EntryButtonConfig>);
18
+ }
19
+ /**
20
+ * Entry button config injection token. Can be used to provide custom button configuration.
21
+ *
22
+ * Defaults:
23
+ * - submitButton: type: 'flat', color: 'primary'
24
+ * - cancelButton: type: 'basic'
25
+ */
26
+ export declare const ENTRY_BUTTON_CONFIG: InjectionToken<EntryButtonConfig>;
@@ -0,0 +1,22 @@
1
+ import { ElementRef, OnInit } from '@angular/core';
2
+ import { MatButton, MatAnchor } from '@angular/material/button';
3
+ import { EntryButtonConfig } from './entry-button-config';
4
+ import * as i0 from "@angular/core";
5
+ export declare class EntryButtonDirective implements OnInit {
6
+ private _elementRef;
7
+ private _config;
8
+ private _matButton?;
9
+ private _matAnchor?;
10
+ attributes: {
11
+ submit: string;
12
+ cancel: string;
13
+ };
14
+ classes: {
15
+ [key: string]: string[];
16
+ };
17
+ constructor(_elementRef: ElementRef, _config: EntryButtonConfig, _matButton?: MatButton, _matAnchor?: MatAnchor);
18
+ ngOnInit(): void;
19
+ private getButtonConfig;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntryButtonDirective, [null, null, { optional: true; }, { optional: true; }]>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EntryButtonDirective, "[mat-button][entry-submit-button],[mat-button][entry-cancel-button]", never, {}, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./entry-button.directive";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button";
5
+ export declare class EntryButtonModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntryButtonModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EntryButtonModule, [typeof i1.EntryButtonDirective], [typeof i2.CommonModule, typeof i3.MatButtonModule], [typeof i1.EntryButtonDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<EntryButtonModule>;
9
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@enigmatry/entry-components/button" />
5
+ export * from './public-api';
@@ -0,0 +1,3 @@
1
+ export { EntryButtonDirective } from './entry-button.directive';
2
+ export { EntryButtonModule } from './entry-button.module';
3
+ export { ENTRY_BUTTON_CONFIG, EntryButtonConfig } from './entry-button-config';
@@ -9,5 +9,5 @@ export declare class EntryAlertDialogComponent extends EntryDialogComponent {
9
9
  data: IEntryAlertDialogData;
10
10
  constructor(mdDialogRef: MatDialogRef<EntryDialogComponent>, config: EntryDialogConfig, data: IEntryAlertDialogData);
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<EntryAlertDialogComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<EntryAlertDialogComponent, "entry-alert-dialog", never, {}, {}, never, never, false>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntryAlertDialogComponent, "entry-alert-dialog", never, {}, {}, never, never, false, never>;
13
13
  }
@@ -9,5 +9,5 @@ export declare class EntryConfirmDialogComponent extends EntryDialogComponent {
9
9
  readonly data: IEntryConfirmDialogData;
10
10
  constructor(mdDialogRef: MatDialogRef<EntryDialogComponent>, config: EntryDialogConfig, data: IEntryConfirmDialogData);
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<EntryConfirmDialogComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfirmDialogComponent, "entry-confirm-dialog", never, {}, {}, never, never, false>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntryConfirmDialogComponent, "entry-confirm-dialog", never, {}, {}, never, never, false, never>;
13
13
  }
@@ -39,5 +39,5 @@ export declare class EntryDialogComponent {
39
39
  onSubmit: () => import("rxjs").Subscription;
40
40
  close: (value?: unknown) => void;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<EntryDialogComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<EntryDialogComponent, "entry-dialog", never, { "title": "title"; "buttonsAlignment": "buttonsAlignment"; "confirmButtonText": "confirmButtonText"; "cancelButtonText": "cancelButtonText"; "hideButtons": "hideButtons"; "hideCancel": "hideCancel"; "hideClose": "hideClose"; "disableConfirm": "disableConfirm"; "buttonsTemplate": "buttonsTemplate"; "confirm": "confirm"; "cancel": "cancel"; }, {}, never, ["*"], false>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntryDialogComponent, "entry-dialog", never, { "title": "title"; "buttonsAlignment": "buttonsAlignment"; "confirmButtonText": "confirmButtonText"; "cancelButtonText": "cancelButtonText"; "hideButtons": "hideButtons"; "hideCancel": "hideCancel"; "hideClose": "hideClose"; "disableConfirm": "disableConfirm"; "buttonsTemplate": "buttonsTemplate"; "confirm": "confirm"; "cancel": "cancel"; }, {}, never, ["*"], false, never>;
43
43
  }
@@ -1,2 +1,2 @@
1
1
  /** Defines horizontal alignment of dialog buttons. */
2
- export declare type EntryDialogButtonsAlignment = 'align-left' | 'align-center' | 'align-right';
2
+ export type EntryDialogButtonsAlignment = 'align-left' | 'align-center' | 'align-right';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5pZ21hdHJ5LWVudHJ5LWNvbXBvbmVudHMtYnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9lbnRyeS1jb21wb25lbnRzL2J1dHRvbi9lbmlnbWF0cnktZW50cnktY29tcG9uZW50cy1idXR0b24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,22 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ /**
3
+ * Used to provide button configuration on module or application level.
4
+ */
5
+ export class EntryButtonConfig {
6
+ constructor(config = {}) {
7
+ this.submitButton = config.submitButton ?? { type: 'flat', color: 'primary' };
8
+ this.cancelButton = config.cancelButton ?? { type: 'basic' };
9
+ }
10
+ }
11
+ /**
12
+ * Entry button config injection token. Can be used to provide custom button configuration.
13
+ *
14
+ * Defaults:
15
+ * - submitButton: type: 'flat', color: 'primary'
16
+ * - cancelButton: type: 'basic'
17
+ */
18
+ export const ENTRY_BUTTON_CONFIG = new InjectionToken('EntryButtonConfig', {
19
+ providedIn: 'root',
20
+ factory: () => new EntryButtonConfig()
21
+ });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktYnV0dG9uLWNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9idXR0b24vZW50cnktYnV0dG9uLWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBWS9DOztHQUVHO0FBQ0gsTUFBTSxPQUFPLGlCQUFpQjtJQU01QixZQUFZLFNBQXFDLEVBQUU7UUFDakQsSUFBSSxDQUFDLFlBQVksR0FBRyxNQUFNLENBQUMsWUFBWSxJQUFJLEVBQUUsSUFBSSxFQUFFLE1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lnKClcclxuICB9XHJcbik7XHJcbiJdfQ==
@@ -0,0 +1,58 @@
1
+ import { Directive, Inject, Optional } from '@angular/core';
2
+ import { ENTRY_BUTTON_CONFIG } from './entry-button-config';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/material/button";
5
+ import * as i2 from "./entry-button-config";
6
+ export class EntryButtonDirective {
7
+ constructor(_elementRef, _config, _matButton, _matAnchor) {
8
+ this._elementRef = _elementRef;
9
+ this._config = _config;
10
+ this._matButton = _matButton;
11
+ this._matAnchor = _matAnchor;
12
+ this.attributes = {
13
+ submit: `entry-submit-button`,
14
+ cancel: `entry-cancel-button`
15
+ };
16
+ this.classes = {
17
+ basic: ['mdc-button', 'mat-mdc-button'],
18
+ raised: ['mdc-button', 'mdc-button--raised', 'mat-mdc-raised-button'],
19
+ stroked: ['mdc-button', 'mdc-button--outlined', 'mat-mdc-outlined-button'],
20
+ flat: ['mdc-button', 'mdc-button--unelevated', 'mat-mdc-unelevated-button']
21
+ };
22
+ }
23
+ ngOnInit() {
24
+ const buttonConfig = this.getButtonConfig();
25
+ const classes = this.classes[buttonConfig.type];
26
+ this._elementRef.nativeElement.classList.add(...classes);
27
+ const color = buttonConfig.color;
28
+ if (color) {
29
+ if (this._matButton) {
30
+ this._matButton.color = color;
31
+ }
32
+ if (this._matAnchor) {
33
+ this._matAnchor.color = color;
34
+ }
35
+ }
36
+ }
37
+ getButtonConfig() {
38
+ return this._elementRef.nativeElement.hasAttribute(this.attributes.submit)
39
+ ? this._config.submitButton : this._config.cancelButton;
40
+ }
41
+ }
42
+ EntryButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryButtonDirective, deps: [{ token: i0.ElementRef }, { token: ENTRY_BUTTON_CONFIG }, { token: i1.MatButton, optional: true }, { token: i1.MatAnchor, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
43
+ EntryButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: EntryButtonDirective, selector: "[mat-button][entry-submit-button],[mat-button][entry-cancel-button]", ngImport: i0 });
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryButtonDirective, decorators: [{
45
+ type: Directive,
46
+ args: [{
47
+ // eslint-disable-next-line @angular-eslint/directive-selector
48
+ selector: `[mat-button][entry-submit-button],[mat-button][entry-cancel-button]`
49
+ }]
50
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.EntryButtonConfig, decorators: [{
51
+ type: Inject,
52
+ args: [ENTRY_BUTTON_CONFIG]
53
+ }] }, { type: i1.MatButton, decorators: [{
54
+ type: Optional
55
+ }] }, { type: i1.MatAnchor, decorators: [{
56
+ type: Optional
57
+ }] }]; } });
58
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktYnV0dG9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9idXR0b24vZW50cnktYnV0dG9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLE1BQU0sRUFBVSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHaEYsT0FBTyxFQUFFLG1CQUFtQixFQUFzQyxNQUFNLHVCQUF1QixDQUFDOzs7O0FBTWhHLE1BQU0sT0FBTyxvQkFBb0I7SUFjL0IsWUFDVSxXQUF1QixFQUNNLE9BQTBCLEVBQzNDLFVBQXNCLEVBQ3RCLFVBQXNCO1FBSGxDLGdCQUFXLEdBQVgsV0FBVyxDQUFZO1FBQ00sWUFBTyxHQUFQLE9BQU8sQ0FBbUI7UUFDM0MsZUFBVSxHQUFWLFVBQVUsQ0FBWTtRQUN0QixlQU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db25maWc6IE1hdEJ1dHRvbkNvbmZpZyA9IHRoaXMuZ2V0QnV0dG9uQ29uZmlnKCk7XG5cbiAgICBjb25zdCBjbGFzc2VzID0gdGhpcy5jbGFzc2VzW2J1dHRvbkNvbmZpZy50eXBlXTtcbiAgICB0aGlzLl9lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuY2xhc3NMaXN0LmFkZCguLi5jbGFzc2VzKTtcblxuICAgIGNvbnN0IGNvbG9yOiBUaGVtZVBhbGV0dGUgPSBidXR0b25Db25maWcuY29sb3I7XG4gICAgaWYgKGNvbG9yKSB7XG4gICAgICBpZiAodGhpcy5fbWF0QnV0dG9uKSB7IHRoaXMuX21hdEJ1dHRvbi5jb2xvciA9IGNvbG9yOyB9XG4gICAgICBpZiAodGhpcy5fbWF0QW5jaG9yKSB7IHRoaXMuX21hdEFuY2hvci5jb2xvciA9IGNvbG9yOyB9XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBnZXRCdXR0b25Db25maWcoKTogTWF0QnV0dG9uQ29uZmlnIHtcbiAgICByZXR1cm4gdGhpcy5fZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50Lmhhc0F0dHJpYnV0ZSh0aGlzLmF0dHJpYnV0ZXMuc3VibWl0KVxuICAgICAgPyB0aGlzLl9jb25maWcuc3VibWl0QnV0dG9uIDogdGhpcy5fY29uZmlnLmNhbmNlbEJ1dHRvbjtcbiAgfVxufVxuIl19
@@ -0,0 +1,28 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { EntryButtonDirective } from './entry-button.directive';
4
+ import { MatButtonModule } from '@angular/material/button';
5
+ import * as i0 from "@angular/core";
6
+ export class EntryButtonModule {
7
+ }
8
+ EntryButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ EntryButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryButtonModule, declarations: [EntryButtonDirective], imports: [CommonModule,
10
+ MatButtonModule], exports: [EntryButtonDirective] });
11
+ EntryButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryButtonModule, imports: [CommonModule,
12
+ MatButtonModule] });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryButtonModule, decorators: [{
14
+ type: NgModule,
15
+ args: [{
16
+ declarations: [
17
+ EntryButtonDirective
18
+ ],
19
+ imports: [
20
+ CommonModule,
21
+ MatButtonModule
22
+ ],
23
+ exports: [
24
+ EntryButtonDirective
25
+ ]
26
+ }]
27
+ }] });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9idXR0b24vZW50cnktYnV0dG9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7O0FBYzNELE1BQU0sT0FBTyxpQkFBaUI7OzhHQUFqQixpQkFBaUI7K0dBQWpCLGlCQUFpQixpQkFWMUIsb0JBQW9CLGFBR3BCLFlBQVk7UUFDWixlQUFlLGFBR2Ysb0JBQW9COytHQUdYLGlCQUFpQixZQVAxQixZQUFZO1FBQ1osZUFBZTsyRkFNTixpQkFBaUI7a0JBWjdCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFO3dCQUNaLG9CQUFvQjtxQkFDckI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLFlBQVk7d0JBQ1osZUFBZTtxQkFDaEI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLG9CQUFvQjtxQkFDckI7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEVudHJ5QnV0dG9uRGlyZWN0aXZlIH0gZnJvbSAnLi9lbnRyeS1idXR0b24uZGlyZWN0aXZlJztcbmltcG9ydCB7IE1hdEJ1dHRvbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL21hdGVyaWFsL2J1dHRvbic7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEVudHJ5QnV0dG9uRGlyZWN0aXZlXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTWF0QnV0dG9uTW9kdWxlXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBFbnRyeUJ1dHRvbkRpcmVjdGl2ZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEVudHJ5QnV0dG9uTW9kdWxlIHsgfVxuIl19
@@ -0,0 +1,4 @@
1
+ export { EntryButtonDirective } from './entry-button.directive';
2
+ export { EntryButtonModule } from './entry-button.module';
3
+ export { ENTRY_BUTTON_CONFIG, EntryButtonConfig } from './entry-button-config';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9idXR0b24vcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUUxRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEVudHJ5QnV0dG9uRGlyZWN0aXZlIH0gZnJvbSAnLi9lbnRyeS1idXR0b24uZGlyZWN0aXZlJztcbmV4cG9ydCB7IEVudHJ5QnV0dG9uTW9kdWxlIH0gZnJvbSAnLi9lbnRyeS1idXR0b24ubW9kdWxlJztcblxuZXhwb3J0IHsgRU5UUllfQlVUVE9OX0NPTkZJRywgRW50cnlCdXR0b25Db25maWcgfSBmcm9tICcuL2VudHJ5LWJ1dHRvbi1jb25maWcnO1xuIl19
@@ -14,9 +14,9 @@ export class EntryAlertDialogComponent extends EntryDialogComponent {
14
14
  this.data = data;
15
15
  }
16
16
  }
17
- EntryAlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryAlertDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
18
- EntryAlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EntryAlertDialogComponent, selector: "entry-alert-dialog", usesInheritance: true, ngImport: i0, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\"\n [hideCancel]=\"true\">\n <p>{{data.message}}</p>\n</entry-dialog>", styles: [""], dependencies: [{ kind: "component", type: i2.EntryDialogComponent, selector: "entry-dialog", inputs: ["title", "buttonsAlignment", "confirmButtonText", "cancelButtonText", "hideButtons", "hideCancel", "hideClose", "disableConfirm", "buttonsTemplate", "confirm", "cancel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryAlertDialogComponent, decorators: [{
17
+ EntryAlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryAlertDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
18
+ EntryAlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryAlertDialogComponent, selector: "entry-alert-dialog", usesInheritance: true, ngImport: i0, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\"\n [hideCancel]=\"true\">\n <p>{{data.message}}</p>\n</entry-dialog>", styles: [""], dependencies: [{ kind: "component", type: i2.EntryDialogComponent, selector: "entry-dialog", inputs: ["title", "buttonsAlignment", "confirmButtonText", "cancelButtonText", "hideButtons", "hideCancel", "hideClose", "disableConfirm", "buttonsTemplate", "confirm", "cancel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryAlertDialogComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{ selector: 'entry-alert-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\"\n [hideCancel]=\"true\">\n <p>{{data.message}}</p>\n</entry-dialog>" }]
22
22
  }], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: i3.EntryDialogConfig, decorators: [{
@@ -14,9 +14,9 @@ export class EntryConfirmDialogComponent extends EntryDialogComponent {
14
14
  this.data = data;
15
15
  }
16
16
  }
17
- EntryConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryConfirmDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
18
- EntryConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EntryConfirmDialogComponent, selector: "entry-confirm-dialog", usesInheritance: true, ngImport: i0, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [cancelButtonText]=\"data.cancelText ?? config.cancelButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\">\n <p>{{data.message}}</p>\n</entry-dialog>", styles: [""], dependencies: [{ kind: "component", type: i2.EntryDialogComponent, selector: "entry-dialog", inputs: ["title", "buttonsAlignment", "confirmButtonText", "cancelButtonText", "hideButtons", "hideCancel", "hideClose", "disableConfirm", "buttonsTemplate", "confirm", "cancel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryConfirmDialogComponent, decorators: [{
17
+ EntryConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryConfirmDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
18
+ EntryConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryConfirmDialogComponent, selector: "entry-confirm-dialog", usesInheritance: true, ngImport: i0, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [cancelButtonText]=\"data.cancelText ?? config.cancelButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\">\n <p>{{data.message}}</p>\n</entry-dialog>", styles: [""], dependencies: [{ kind: "component", type: i2.EntryDialogComponent, selector: "entry-dialog", inputs: ["title", "buttonsAlignment", "confirmButtonText", "cancelButtonText", "hideButtons", "hideCancel", "hideClose", "disableConfirm", "buttonsTemplate", "confirm", "cancel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryConfirmDialogComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{ selector: 'entry-confirm-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<entry-dialog\n [title]=\"data.title\"\n [confirmButtonText]=\"data.confirmText ?? config.confirmButtonText\"\n [cancelButtonText]=\"data.cancelText ?? config.cancelButtonText\"\n [buttonsAlignment]=\"data.buttonsAlignment ?? config.buttonsAlignment\"\n [hideClose]=\"data.hideClose ?? config.hideClose\">\n <p>{{data.message}}</p>\n</entry-dialog>" }]
22
22
  }], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: i3.EntryDialogConfig, decorators: [{
@@ -43,9 +43,9 @@ export class EntryDialogComponent {
43
43
  this.close = (value = true) => this.mdDialogRef.close(value);
44
44
  }
45
45
  }
46
- EntryDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
47
- EntryDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EntryDialogComponent, selector: "entry-dialog", inputs: { title: "title", buttonsAlignment: "buttonsAlignment", confirmButtonText: "confirmButtonText", cancelButtonText: "cancelButtonText", hideButtons: "hideButtons", hideCancel: "hideCancel", hideClose: "hideClose", disableConfirm: "disableConfirm", buttonsTemplate: "buttonsTemplate", confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<div class=\"entry-dialog dialog-form\">\n <div class=\"dialog-header\">\n <h1 class=\"title\">{{ title }}</h1>\n\n <button *ngIf=\"!hideClose\" type=\"button\" class=\"close-button\" (click)=\"cancel()\">\n <span class=\"icon-close icon\"></span>\n </button>\n </div>\n\n <mat-dialog-content class=\"dialog-content\" [ngClass]=\"{'with-actions': !hideButtons}\">\n <ng-content></ng-content>\n </mat-dialog-content>\n\n <ng-template [ngIf]=\"buttonsTemplate\" [ngIfElse]=\"defaultButtonsTemplate\">\n <ng-template [ngTemplateOutlet]=\"buttonsTemplate\"></ng-template>\n </ng-template>\n\n <ng-template #defaultButtonsTemplate>\n <div *ngIf=\"!hideButtons\" class=\"dialog-footer {{ buttonsAlignment }}\">\n <button\n cdkFocusInitial\n type=\"button\"\n class=\"button-confirm\"\n cdkFocusInitial\n (click)=\"onSubmit()\">{{confirmButtonText}}</button>\n <button\n *ngIf=\"!hideCancel\"\n type=\"button\"\n class=\"button-cancel\"\n (click)=\"cancel()\">{{cancelButtonText}}</button>\n </div>\n </ng-template>\n</div>", styles: [".align-center{margin:auto}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogComponent, decorators: [{
46
+ EntryDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: ENTRY_DIALOG_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
47
+ EntryDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntryDialogComponent, selector: "entry-dialog", inputs: { title: "title", buttonsAlignment: "buttonsAlignment", confirmButtonText: "confirmButtonText", cancelButtonText: "cancelButtonText", hideButtons: "hideButtons", hideCancel: "hideCancel", hideClose: "hideClose", disableConfirm: "disableConfirm", buttonsTemplate: "buttonsTemplate", confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<div class=\"entry-dialog dialog-form\">\n <div class=\"dialog-header\">\n <h1 class=\"title\">{{ title }}</h1>\n\n <button *ngIf=\"!hideClose\" type=\"button\" class=\"close-button\" (click)=\"cancel()\">\n <span class=\"icon-close icon\"></span>\n </button>\n </div>\n\n <mat-dialog-content class=\"dialog-content\" [ngClass]=\"{'with-actions': !hideButtons}\">\n <ng-content></ng-content>\n </mat-dialog-content>\n\n <ng-template [ngIf]=\"buttonsTemplate\" [ngIfElse]=\"defaultButtonsTemplate\">\n <ng-template [ngTemplateOutlet]=\"buttonsTemplate\"></ng-template>\n </ng-template>\n\n <ng-template #defaultButtonsTemplate>\n <div *ngIf=\"!hideButtons\" class=\"dialog-footer {{ buttonsAlignment }}\">\n <button\n cdkFocusInitial\n type=\"button\"\n class=\"button-confirm\"\n cdkFocusInitial\n (click)=\"onSubmit()\">{{confirmButtonText}}</button>\n <button\n *ngIf=\"!hideCancel\"\n type=\"button\"\n class=\"button-cancel\"\n (click)=\"cancel()\">{{cancelButtonText}}</button>\n </div>\n </ng-template>\n</div>", styles: [".align-center{margin:auto}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogComponent, decorators: [{
49
49
  type: Component,
50
50
  args: [{ selector: 'entry-dialog', template: "<div class=\"entry-dialog dialog-form\">\n <div class=\"dialog-header\">\n <h1 class=\"title\">{{ title }}</h1>\n\n <button *ngIf=\"!hideClose\" type=\"button\" class=\"close-button\" (click)=\"cancel()\">\n <span class=\"icon-close icon\"></span>\n </button>\n </div>\n\n <mat-dialog-content class=\"dialog-content\" [ngClass]=\"{'with-actions': !hideButtons}\">\n <ng-content></ng-content>\n </mat-dialog-content>\n\n <ng-template [ngIf]=\"buttonsTemplate\" [ngIfElse]=\"defaultButtonsTemplate\">\n <ng-template [ngTemplateOutlet]=\"buttonsTemplate\"></ng-template>\n </ng-template>\n\n <ng-template #defaultButtonsTemplate>\n <div *ngIf=\"!hideButtons\" class=\"dialog-footer {{ buttonsAlignment }}\">\n <button\n cdkFocusInitial\n type=\"button\"\n class=\"button-confirm\"\n cdkFocusInitial\n (click)=\"onSubmit()\">{{confirmButtonText}}</button>\n <button\n *ngIf=\"!hideCancel\"\n type=\"button\"\n class=\"button-cancel\"\n (click)=\"cancel()\">{{cancelButtonText}}</button>\n </div>\n </ng-template>\n</div>", styles: [".align-center{margin:auto}\n"] }]
51
51
  }], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: i3.EntryDialogConfig, decorators: [{
@@ -1,2 +1,3 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktZGlhbG9nLWJ1dHRvbnMtYWxpZ25tZW50LnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2VudHJ5LWNvbXBvbmVudHMvZGlhbG9nL2VudHJ5LWRpYWxvZy1idXR0b25zLWFsaWdubWVudC50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKiogRGVmaW5lcyBob3Jpem9udGFsIGFsaWdubWVudCBvZiBkaWFsb2cgYnV0dG9ucy4gKi9cbmV4cG9ydCB0eXBlIEVudHJ5RGlhbG9nQnV0dG9uc0FsaWdubWVudCA9ICdhbGlnbi1sZWZ0JyB8ICdhbGlnbi1jZW50ZXInIHwgJ2FsaWduLXJpZ2h0JztcbiJdfQ==
2
+ // TODO: sort out this by using classes from Scss Foundation instead of reinventing the wheel
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktZGlhbG9nLWJ1dHRvbnMtYWxpZ25tZW50LnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2VudHJ5LWNvbXBvbmVudHMvZGlhbG9nL2VudHJ5LWRpYWxvZy1idXR0b25zLWFsaWdubWVudC50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFFQSw2RkFBNkYiLCJzb3VyY2VzQ29udGVudCI6WyIvKiogRGVmaW5lcyBob3Jpem9udGFsIGFsaWdubWVudCBvZiBkaWFsb2cgYnV0dG9ucy4gKi9cbmV4cG9ydCB0eXBlIEVudHJ5RGlhbG9nQnV0dG9uc0FsaWdubWVudCA9ICdhbGlnbi1sZWZ0JyB8ICdhbGlnbi1jZW50ZXInIHwgJ2FsaWduLXJpZ2h0Jztcbi8vIFRPRE86IHNvcnQgb3V0IHRoaXMgYnkgdXNpbmcgY2xhc3NlcyBmcm9tIFNjc3MgRm91bmRhdGlvbiBpbnN0ZWFkIG9mIHJlaW52ZW50aW5nIHRoZSB3aGVlbFxuIl19
@@ -8,16 +8,16 @@ import { EntryDialogService } from './entry-dialog.service';
8
8
  import * as i0 from "@angular/core";
9
9
  export class EntryDialogModule {
10
10
  }
11
- EntryDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- EntryDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogModule, declarations: [EntryDialogComponent,
11
+ EntryDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ EntryDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogModule, declarations: [EntryDialogComponent,
13
13
  EntryAlertDialogComponent,
14
14
  EntryConfirmDialogComponent], imports: [CommonModule,
15
15
  MatDialogModule], exports: [EntryDialogComponent,
16
16
  EntryAlertDialogComponent,
17
17
  EntryConfirmDialogComponent] });
18
- EntryDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogModule, providers: [EntryDialogService], imports: [CommonModule,
18
+ EntryDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogModule, providers: [EntryDialogService], imports: [CommonModule,
19
19
  MatDialogModule] });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogModule, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogModule, decorators: [{
21
21
  type: NgModule,
22
22
  args: [{
23
23
  declarations: [
@@ -64,9 +64,9 @@ export class EntryDialogService {
64
64
  };
65
65
  }
66
66
  }
67
- EntryDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogService, deps: [{ token: ENTRY_DIALOG_CONFIG }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
68
- EntryDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogService });
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryDialogService, decorators: [{
67
+ EntryDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogService, deps: [{ token: ENTRY_DIALOG_CONFIG }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
68
+ EntryDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogService });
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntryDialogService, decorators: [{
70
70
  type: Injectable
71
71
  }], ctorParameters: function () { return [{ type: i2.EntryDialogConfig, decorators: [{
72
72
  type: Inject,
@@ -2,9 +2,9 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class EntryHeaderComponent {
4
4
  }
5
- EntryHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
- EntryHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: "14.3.0", ngImport: i0, type: EntryHeaderComponent, decorators: [{
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
8
  type: Component,
9
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
10
  }], propDecorators: { title: [{
@@ -4,10 +4,10 @@ import { EntryHeaderComponent } from './entry-header.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export class EntryHeaderModule {
6
6
  }
7
- EntryHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- EntryHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EntryHeaderModule, declarations: [EntryHeaderComponent], imports: [CommonModule], exports: [EntryHeaderComponent] });
9
- EntryHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryHeaderModule, imports: [CommonModule] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryHeaderModule, decorators: [{
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
11
  type: NgModule,
12
12
  args: [{
13
13
  declarations: [
@@ -6,4 +6,5 @@ export * from '@enigmatry/entry-components/dialog';
6
6
  export * from '@enigmatry/entry-components/search-filter';
7
7
  export * from '@enigmatry/entry-components/toolbar';
8
8
  export * from '@enigmatry/entry-components/validation';
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLHdDQUF3QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBlbnRyeS1jb21wb25lbnRzXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnQGVuaWdtYXRyeS9lbnRyeS1jb21wb25lbnRzL2hlYWRlcic7XG5leHBvcnQgKiBmcm9tICdAZW5pZ21hdHJ5L2VudHJ5LWNvbXBvbmVudHMvZGlhbG9nJztcbmV4cG9ydCAqIGZyb20gJ0BlbmlnbWF0cnkvZW50cnktY29tcG9uZW50cy9zZWFyY2gtZmlsdGVyJztcbmV4cG9ydCAqIGZyb20gJ0BlbmlnbWF0cnkvZW50cnktY29tcG9uZW50cy90b29sYmFyJztcbmV4cG9ydCAqIGZyb20gJ0BlbmlnbWF0cnkvZW50cnktY29tcG9uZW50cy92YWxpZGF0aW9uJztcbiJdfQ==
9
+ export * from '@enigmatry/entry-components/button';
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYnMvZW50cnktY29tcG9uZW50cy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsb0NBQW9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGVudHJ5LWNvbXBvbmVudHNcbiAqL1xuXG5leHBvcnQgKiBmcm9tICdAZW5pZ21hdHJ5L2VudHJ5LWNvbXBvbmVudHMvaGVhZGVyJztcbmV4cG9ydCAqIGZyb20gJ0BlbmlnbWF0cnkvZW50cnktY29tcG9uZW50cy9kaWFsb2cnO1xuZXhwb3J0ICogZnJvbSAnQGVuaWdtYXRyeS9lbnRyeS1jb21wb25lbnRzL3NlYXJjaC1maWx0ZXInO1xuZXhwb3J0ICogZnJvbSAnQGVuaWdtYXRyeS9lbnRyeS1jb21wb25lbnRzL3Rvb2xiYXInO1xuZXhwb3J0ICogZnJvbSAnQGVuaWdtYXRyeS9lbnRyeS1jb21wb25lbnRzL3ZhbGlkYXRpb24nO1xuZXhwb3J0ICogZnJvbSAnQGVuaWdtYXRyeS9lbnRyeS1jb21wb25lbnRzL2J1dHRvbic7XG4iXX0=
@@ -36,9 +36,9 @@ export class EntrySearchFilterComponent {
36
36
  return new UntypedFormGroup(group);
37
37
  }
38
38
  }
39
- EntrySearchFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntrySearchFilterComponent, deps: [{ token: ENTRY_SEARCH_FILTER_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
40
- EntrySearchFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EntrySearchFilterComponent, selector: "entry-search-filter", inputs: { searchFilters: "searchFilters" }, outputs: { searchFilterChange: "searchFilterChange" }, ngImport: i0, template: "<div class=\"search-form-container\">\r\n <form (ngSubmit)=\"onSubmit()\" [formGroup]=\"searchFilterForm\">\r\n <div class=\"search-form-fields\">\r\n <div *ngFor=\"let searchFilter of searchFilters\" class=\"search-form-field\">\r\n <entry-search-filter-input [searchFilter]=\"searchFilter\" [form]=\"searchFilterForm\">\r\n </entry-search-filter-input>\r\n </div>\r\n <div>\r\n <button type=\"button\" class=\"mat-raised-button mat-accent\" type=\"submit\">\r\n {{config.applyButtonText}}\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n</div>", styles: [".search-form-fields{display:flex;align-items:flex-start}.search-form-fields .search-form-field{width:200px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.EntrySearchFilterInputComponent, selector: "entry-search-filter-input", inputs: ["searchFilter", "form"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntrySearchFilterComponent, decorators: [{
39
+ EntrySearchFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntrySearchFilterComponent, deps: [{ token: ENTRY_SEARCH_FILTER_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
40
+ EntrySearchFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntrySearchFilterComponent, selector: "entry-search-filter", inputs: { searchFilters: "searchFilters" }, outputs: { searchFilterChange: "searchFilterChange" }, ngImport: i0, template: "<div class=\"search-form-container\">\r\n <form (ngSubmit)=\"onSubmit()\" [formGroup]=\"searchFilterForm\">\r\n <div class=\"search-form-fields\">\r\n <div *ngFor=\"let searchFilter of searchFilters\" class=\"search-form-field\">\r\n <entry-search-filter-input [searchFilter]=\"searchFilter\" [form]=\"searchFilterForm\">\r\n </entry-search-filter-input>\r\n </div>\r\n <div>\r\n <button type=\"button\" class=\"mat-raised-button mat-accent\" type=\"submit\">\r\n {{config.applyButtonText}}\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n</div>", styles: [".search-form-fields{display:flex;align-items:flex-start}.search-form-fields .search-form-field{width:200px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.EntrySearchFilterInputComponent, selector: "entry-search-filter-input", inputs: ["searchFilter", "form"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntrySearchFilterComponent, decorators: [{
42
42
  type: Component,
43
43
  args: [{ selector: 'entry-search-filter', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"search-form-container\">\r\n <form (ngSubmit)=\"onSubmit()\" [formGroup]=\"searchFilterForm\">\r\n <div class=\"search-form-fields\">\r\n <div *ngFor=\"let searchFilter of searchFilters\" class=\"search-form-field\">\r\n <entry-search-filter-input [searchFilter]=\"searchFilter\" [form]=\"searchFilterForm\">\r\n </entry-search-filter-input>\r\n </div>\r\n <div>\r\n <button type=\"button\" class=\"mat-raised-button mat-accent\" type=\"submit\">\r\n {{config.applyButtonText}}\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n</div>", styles: [".search-form-fields{display:flex;align-items:flex-start}.search-form-fields .search-form-field{width:200px}\n"] }]
44
44
  }], ctorParameters: function () { return [{ type: i4.EntrySearchFilterConfig, decorators: [{
@@ -9,21 +9,21 @@ import { EntrySearchFilterInputComponent } from './search-filter-input/search-fi
9
9
  import * as i0 from "@angular/core";
10
10
  export class EntrySearchFilterModule {
11
11
  }
12
- EntrySearchFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntrySearchFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- EntrySearchFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: EntrySearchFilterModule, declarations: [EntrySearchFilterComponent,
12
+ EntrySearchFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntrySearchFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ EntrySearchFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EntrySearchFilterModule, declarations: [EntrySearchFilterComponent,
14
14
  EntrySearchFilterInputComponent], imports: [CommonModule,
15
15
  FormsModule,
16
16
  ReactiveFormsModule,
17
17
  MatInputModule,
18
18
  MatButtonModule,
19
19
  MatSelectModule], exports: [EntrySearchFilterComponent] });
20
- EntrySearchFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntrySearchFilterModule, imports: [CommonModule,
20
+ EntrySearchFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntrySearchFilterModule, imports: [CommonModule,
21
21
  FormsModule,
22
22
  ReactiveFormsModule,
23
23
  MatInputModule,
24
24
  MatButtonModule,
25
25
  MatSelectModule] });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntrySearchFilterModule, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntrySearchFilterModule, decorators: [{
27
27
  type: NgModule,
28
28
  args: [{
29
29
  declarations: [
@@ -4,8 +4,8 @@ import { ENTRY_SEARCH_FILTER_CONFIG } from '../search-filter-config.model';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/common";
6
6
  import * as i2 from "@angular/forms";
7
- import * as i3 from "@angular/material/form-field";
8
- import * as i4 from "@angular/material/input";
7
+ import * as i3 from "@angular/material/input";
8
+ import * as i4 from "@angular/material/form-field";
9
9
  import * as i5 from "@angular/material/select";
10
10
  import * as i6 from "@angular/material/core";
11
11
  import * as i7 from "../search-filter-config.model";
@@ -15,9 +15,9 @@ export class EntrySearchFilterInputComponent {
15
15
  this.controlType = ControlType;
16
16
  }
17
17
  }
18
- EntrySearchFilterInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntrySearchFilterInputComponent, deps: [{ token: ENTRY_SEARCH_FILTER_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
19
- EntrySearchFilterInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: EntrySearchFilterInputComponent, selector: "entry-search-filter-input", inputs: { searchFilter: "searchFilter", form: "form" }, ngImport: i0, template: "<mat-form-field [formGroup]=\"form\">\n <mat-label [attr.for]=\"searchFilter.key\">{{searchFilter.label}}</mat-label>\n\n <div [ngSwitch]=\"searchFilter.controlType\">\n\n <input *ngSwitchCase=\"controlType.text\"\n [formControlName]=\"searchFilter.key\" [id]=\"searchFilter.key\"\n [type]=\"searchFilter.type\" matInput [placeholder]=\"searchFilter.placeholder\" [maxlength]=\"searchFilter.maxLength\">\n\n <mat-select *ngSwitchCase=\"controlType.select\"\n [formControlName]=\"searchFilter.key\" [id]=\"searchFilter.key\" [multiple]=\"searchFilter.multiSelect\">\n <mat-option *ngIf=\"!searchFilter.multiSelect\" [value]=\"undefined\">\n {{config.noneSelectedOptionText}}\n </mat-option>\n <div *ngIf=\"searchFilter.options$ !== undefined; else fixedSelectValues\">\n <mat-option *ngFor=\"let option of searchFilter.options$ | async\" [value]=\"option.key\">{{option.label}}</mat-option>\n </div>\n <ng-template #fixedSelectValues>\n <mat-option *ngFor=\"let option of searchFilter.options\" [value]=\"option.key\">{{option.label}}</mat-option>\n </ng-template>\n </mat-select>\n\n </div>\n</mat-form-field>", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntrySearchFilterInputComponent, decorators: [{
18
+ EntrySearchFilterInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntrySearchFilterInputComponent, deps: [{ token: ENTRY_SEARCH_FILTER_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
19
+ EntrySearchFilterInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EntrySearchFilterInputComponent, selector: "entry-search-filter-input", inputs: { searchFilter: "searchFilter", form: "form" }, ngImport: i0, template: "<mat-form-field [formGroup]=\"form\">\n <mat-label [attr.for]=\"searchFilter.key\">{{searchFilter.label}}</mat-label>\n\n <div [ngSwitch]=\"searchFilter.controlType\">\n\n <input *ngSwitchCase=\"controlType.text\"\n [formControlName]=\"searchFilter.key\" [id]=\"searchFilter.key\"\n [type]=\"searchFilter.type\" matInput [placeholder]=\"searchFilter.placeholder\" [maxlength]=\"searchFilter.maxLength\">\n\n <mat-select *ngSwitchCase=\"controlType.select\"\n [formControlName]=\"searchFilter.key\" [id]=\"searchFilter.key\" [multiple]=\"searchFilter.multiSelect\">\n <mat-option *ngIf=\"!searchFilter.multiSelect\" [value]=\"undefined\">\n {{config.noneSelectedOptionText}}\n </mat-option>\n <div *ngIf=\"searchFilter.options$ !== undefined; else fixedSelectValues\">\n <mat-option *ngFor=\"let option of searchFilter.options$ | async\" [value]=\"option.key\">{{option.label}}</mat-option>\n </div>\n <ng-template #fixedSelectValues>\n <mat-option *ngFor=\"let option of searchFilter.options\" [value]=\"option.key\">{{option.label}}</mat-option>\n </ng-template>\n </mat-select>\n\n </div>\n</mat-form-field>", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EntrySearchFilterInputComponent, decorators: [{
21
21
  type: Component,
22
22
  args: [{ selector: 'entry-search-filter-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-form-field [formGroup]=\"form\">\n <mat-label [attr.for]=\"searchFilter.key\">{{searchFilter.label}}</mat-label>\n\n <div [ngSwitch]=\"searchFilter.controlType\">\n\n <input *ngSwitchCase=\"controlType.text\"\n [formControlName]=\"searchFilter.key\" [id]=\"searchFilter.key\"\n [type]=\"searchFilter.type\" matInput [placeholder]=\"searchFilter.placeholder\" [maxlength]=\"searchFilter.maxLength\">\n\n <mat-select *ngSwitchCase=\"controlType.select\"\n [formControlName]=\"searchFilter.key\" [id]=\"searchFilter.key\" [multiple]=\"searchFilter.multiSelect\">\n <mat-option *ngIf=\"!searchFilter.multiSelect\" [value]=\"undefined\">\n {{config.noneSelectedOptionText}}\n </mat-option>\n <div *ngIf=\"searchFilter.options$ !== undefined; else fixedSelectValues\">\n <mat-option *ngFor=\"let option of searchFilter.options$ | async\" [value]=\"option.key\">{{option.label}}</mat-option>\n </div>\n <ng-template #fixedSelectValues>\n <mat-option *ngFor=\"let option of searchFilter.options\" [value]=\"option.key\">{{option.label}}</mat-option>\n </ng-template>\n </mat-select>\n\n </div>\n</mat-form-field>" }]
23
23
  }], ctorParameters: function () { return [{ type: i7.EntrySearchFilterConfig, decorators: [{
@@ -26,9 +26,9 @@ export class EntryToolbarComponent {
26
26
  this.menuOpened = false;
27
27
  }
28
28
  }
29
- EntryToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EntryToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
30
- EntryToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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: "14.3.0", ngImport: i0, type: EntryToolbarComponent, decorators: [{
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
32
  type: Component,
33
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
34
  }], propDecorators: { title: [{