@anglr/common 19.1.0-beta.20231205075912 → 19.1.0-beta.20231205182550

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/changelog.md CHANGED
@@ -4,7 +4,8 @@
4
4
 
5
5
  ### Bug Fixes
6
6
 
7
- - `fixed` overflowing 'MouseEnter' tooltip on right side of screen
7
+ - fixed `TooltipDirective` overflowing 'MouseEnter' tooltip on right side of screen
8
+ - fixed `ConfirmationDialogDirective`, now correctly takes global options
8
9
 
9
10
  ### Feature
10
11
 
@@ -19,6 +20,8 @@
19
20
  - `ellipsisTooltip` gets or sets HTML element from which is text taken for tooltip
20
21
  - updated `TooltipDirective` directive
21
22
  - is now `standalone`
23
+ - updated `ConfirmationDialogDirective` directive
24
+ - is now `standalone`
22
25
 
23
26
  ## Version 19.0.0 (2023-11-09)
24
27
 
@@ -65,8 +65,8 @@ export class ConfirmationDialogDirective {
65
65
  width: '33vw',
66
66
  data: {
67
67
  confirmationText: this.confirmationText || undefined,
68
- dialogCancelText: this.confirmationCancel ?? '',
69
- dialogConfirmText: this.confirmationConfirm ?? '',
68
+ dialogCancelText: this.confirmationCancel ?? undefined,
69
+ dialogConfirmText: this.confirmationConfirm ?? undefined,
70
70
  cssClasses: this.confirmationCssClasses ?? {},
71
71
  }
72
72
  }).afterClosed());
@@ -75,12 +75,13 @@ export class ConfirmationDialogDirective {
75
75
  }
76
76
  }
77
77
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: ConfirmationDialogDirective, deps: [{ token: i1.TitledDialogService }], target: i0.ɵɵFactoryTarget.Directive });
78
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.5", type: ConfirmationDialogDirective, selector: "[confirmation]", inputs: { confirmationText: ["confirmation", "confirmationText"], confirmationTitle: "confirmationTitle", confirmationConfirm: "confirmationConfirm", confirmationCancel: "confirmationCancel", confirmationCssClasses: "confirmationCssClasses", skipConfirmation: "skipConfirmation", preventDefaultsAndPropagation: "preventDefaultsAndPropagation" }, outputs: { confirm: "confirm" }, host: { listeners: { "click": "click($event)" } }, ngImport: i0 });
78
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.5", type: ConfirmationDialogDirective, isStandalone: true, selector: "[confirmation]", inputs: { confirmationText: ["confirmation", "confirmationText"], confirmationTitle: "confirmationTitle", confirmationConfirm: "confirmationConfirm", confirmationCancel: "confirmationCancel", confirmationCssClasses: "confirmationCssClasses", skipConfirmation: "skipConfirmation", preventDefaultsAndPropagation: "preventDefaultsAndPropagation" }, outputs: { confirm: "confirm" }, host: { listeners: { "click": "click($event)" } }, ngImport: i0 });
79
79
  }
80
80
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: ConfirmationDialogDirective, decorators: [{
81
81
  type: Directive,
82
82
  args: [{
83
- selector: '[confirmation]'
83
+ selector: '[confirmation]',
84
+ standalone: true,
84
85
  }]
85
86
  }], ctorParameters: () => [{ type: i1.TitledDialogService }], propDecorators: { confirmationText: [{
86
87
  type: Input,
@@ -1 +1 @@
1
- {"version":3,"file":"confirmationDialog.directive.js","sourceRoot":"","sources":["../../../../../material/src/directives/confirmationDialog/confirmationDialog.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,aAAa,EAAC,MAAM,MAAM,CAAC;AAEnC,OAAO,EAAC,mBAAmB,EAAC,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAC,2BAA2B,EAAC,MAAM,kEAAkE,CAAC;;;AAG7G;;GAEG;AAKH,MAAM,OAAO,2BAA2B;IAuDhB;IArDpB,gFAAgF;IAEhF;;OAEG;IAEI,gBAAgB,GAA0B,SAAS,CAAC;IAE3D;;OAEG;IAEI,iBAAiB,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2B;2FAA3B,2BAA2B;;2FAA3B,2BAA2B;kBAJvC,SAAS;mBACV;oBACI,QAAQ,EAAE,gBAAgB;iBAC7B;wFASU,gBAAgB;sBADtB,KAAK;uBAAC,cAAc;gBAOd,iBAAiB;sBADvB,KAAK;gBAOC,mBAAmB;sBADzB,KAAK;gBAOC,kBAAkB;sBADxB,KAAK;gBAOC,sBAAsB;sBAD5B,KAAK;gBAOC,gBAAgB;sBADtB,KAAK;gBAOC,6BAA6B;sBADnC,KAAK;gBASC,OAAO;sBADb,MAAM;gBAcM,KAAK;sBADjB,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC","sourcesContent":["import {Directive, Input, EventEmitter, Output, HostListener} from '@angular/core';\nimport {lastValueFrom} from 'rxjs';\n\nimport {TitledDialogService} from '../../services/titledDialog/titledDialog.service';\nimport {ConfirmationDialogComponent} from '../../components/confirmationDialog/confirmationDialog.component';\nimport {ConfirmationDialogOptions, ConfirmationDialogCssClasses} from '../../misc/interfaces/confirmationDialog.interface';\n\n/**\n * Directive that enables confirmation dialog on click\n */\n@Directive(\n{\n selector: '[confirmation]'\n})\nexport class ConfirmationDialogDirective\n{\n //######################### public properties - inputs #########################\n\n /**\n * Confirmation text that is displayed in dialog\n */\n @Input('confirmation')\n public confirmationText: string|undefined|null = undefined;\n\n /**\n * Title for confirmation dialog\n */\n @Input()\n public confirmationTitle: string = 'Confirmation';\n\n /**\n * Text for confirm confirmation button\n */\n @Input()\n public confirmationConfirm: string|undefined|null = undefined;\n\n /**\n * Text for cancel confirmation button\n */\n @Input()\n public confirmationCancel: string|undefined|null = undefined;\n\n /**\n * Object with css classes to be applied to confirmation dialog component\n */\n @Input()\n public confirmationCssClasses: ConfirmationDialogCssClasses|undefined|null = undefined;\n\n /**\n * Condidition that determines whether display confirmation dialog or skip it and run confirm directly\n */\n @Input()\n public skipConfirmation: boolean = false;\n\n /**\n * Indication whether prevent default and stop propagation of click event, defaults to true\n */\n @Input()\n public preventDefaultsAndPropagation: boolean = true;\n\n //######################### public properties - outputs #########################\n\n /**\n * Occurs when user confirms confirmation\n */\n @Output()\n public confirm: EventEmitter<void> = new EventEmitter<void>();\n\n //######################### constructor #########################\n constructor(private _dialog: TitledDialogService)\n {\n }\n\n //######################### public methods - host #########################\n\n /**\n * Method called when user clicks on element\n */\n @HostListener('click', ['$event'])\n public async click(event: MouseEvent): Promise<void>\n {\n if(this.preventDefaultsAndPropagation)\n {\n event.stopPropagation();\n event.preventDefault();\n }\n\n if(this.skipConfirmation)\n {\n this.confirm.emit();\n\n return;\n }\n\n const result = await lastValueFrom(this._dialog.open<ConfirmationDialogComponent, ConfirmationDialogOptions, boolean>(ConfirmationDialogComponent,\n {\n title: this.confirmationTitle,\n width: '33vw',\n data:\n {\n confirmationText: this.confirmationText || undefined,\n dialogCancelText: this.confirmationCancel ?? '',\n dialogConfirmText: this.confirmationConfirm ?? '',\n cssClasses: this.confirmationCssClasses ?? {},\n }\n }).afterClosed());\n\n if(result)\n {\n this.confirm.emit();\n }\n }\n}"]}
1
+ {"version":3,"file":"confirmationDialog.directive.js","sourceRoot":"","sources":["../../../../../material/src/directives/confirmationDialog/confirmationDialog.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,aAAa,EAAC,MAAM,MAAM,CAAC;AAEnC,OAAO,EAAC,mBAAmB,EAAC,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAC,2BAA2B,EAAC,MAAM,kEAAkE,CAAC;;;AAG7G;;GAEG;AAMH,MAAM,OAAO,2BAA2B;IAuDhB;IArDpB,gFAAgF;IAEhF;;OAEG;IAEI,gBAAgB,GAA0B,SAAS,CAAC;IAE3D;;OAEG;IAEI,iBAAiB,GAAW,cAAc,CAAC;IAElD;;OAEG;IAEI,mBAAmB,GAA0B,SAAS,CAAC;IAE9D;;OAEG;IAEI,kBAAkB,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AAU,EAAE,IAAI;iBACnB;wFASU,gBAAgB;sBADtB,KAAK;uBAAC,cAAc;gBAOd,iBAAiB;sBADvB,KAAK;gBAOC,mBAAmB;sBADzB,KAAK;gBAOC,kBAAkB;sBADxB,KAAK;gBAOC,sBAAsB;sBAD5B,KAAK;gBAOC,gBAAgB;sBADtB,KAAK;gBAOC,6BAA6B;sBADnC,KAAK;gBASC,OAAO;sBADb,MAAM;gBAcM,KAAK;sBADjB,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC","sourcesContent":["import {Directive, Input, EventEmitter, Output, HostListener} from '@angular/core';\nimport {lastValueFrom} from 'rxjs';\n\nimport {TitledDialogService} from '../../services/titledDialog/titledDialog.service';\nimport {ConfirmationDialogComponent} from '../../components/confirmationDialog/confirmationDialog.component';\nimport {ConfirmationDialogOptions, ConfirmationDialogCssClasses} from '../../misc/interfaces/confirmationDialog.interface';\n\n/**\n * Directive that enables confirmation dialog on click\n */\n@Directive(\n{\n selector: '[confirmation]',\n standalone: true,\n})\nexport class ConfirmationDialogDirective\n{\n //######################### public properties - inputs #########################\n\n /**\n * Confirmation text that is displayed in dialog\n */\n @Input('confirmation')\n public confirmationText: string|undefined|null = undefined;\n\n /**\n * Title for confirmation dialog\n */\n @Input()\n public confirmationTitle: string = 'Confirmation';\n\n /**\n * Text for confirm confirmation button\n */\n @Input()\n public confirmationConfirm: string|undefined|null = undefined;\n\n /**\n * Text for cancel confirmation button\n */\n @Input()\n public confirmationCancel: string|undefined|null = undefined;\n\n /**\n * Object with css classes to be applied to confirmation dialog component\n */\n @Input()\n public confirmationCssClasses: ConfirmationDialogCssClasses|undefined|null = undefined;\n\n /**\n * Condidition that determines whether display confirmation dialog or skip it and run confirm directly\n */\n @Input()\n public skipConfirmation: boolean = false;\n\n /**\n * Indication whether prevent default and stop propagation of click event, defaults to true\n */\n @Input()\n public preventDefaultsAndPropagation: boolean = true;\n\n //######################### public properties - outputs #########################\n\n /**\n * Occurs when user confirms confirmation\n */\n @Output()\n public confirm: EventEmitter<void> = new EventEmitter<void>();\n\n //######################### constructor #########################\n constructor(private _dialog: TitledDialogService)\n {\n }\n\n //######################### public methods - host #########################\n\n /**\n * Method called when user clicks on element\n */\n @HostListener('click', ['$event'])\n public async click(event: MouseEvent): Promise<void>\n {\n if(this.preventDefaultsAndPropagation)\n {\n event.stopPropagation();\n event.preventDefault();\n }\n\n if(this.skipConfirmation)\n {\n this.confirm.emit();\n\n return;\n }\n\n const result = await lastValueFrom(this._dialog.open<ConfirmationDialogComponent, ConfirmationDialogOptions, boolean>(ConfirmationDialogComponent,\n {\n title: this.confirmationTitle,\n width: '33vw',\n data:\n {\n confirmationText: this.confirmationText || undefined,\n dialogCancelText: this.confirmationCancel ?? undefined,\n dialogConfirmText: this.confirmationConfirm ?? undefined,\n cssClasses: this.confirmationCssClasses ?? {},\n }\n }).afterClosed());\n\n if(result)\n {\n this.confirm.emit();\n }\n }\n}"]}
@@ -10,10 +10,10 @@ import * as i0 from "@angular/core";
10
10
  */
11
11
  export class ConfirmationDialogModule {
12
12
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: ConfirmationDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.5", ngImport: i0, type: ConfirmationDialogModule, declarations: [ConfirmationDialogComponent,
14
- ConfirmationDialogDirective], imports: [CommonModule,
13
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.5", ngImport: i0, type: ConfirmationDialogModule, declarations: [ConfirmationDialogComponent], imports: [CommonModule,
15
14
  CommonLocalizeModule,
16
- TitledDialogModule], exports: [ConfirmationDialogDirective] });
15
+ TitledDialogModule,
16
+ ConfirmationDialogDirective], exports: [ConfirmationDialogDirective] });
17
17
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: ConfirmationDialogModule, imports: [CommonModule,
18
18
  CommonLocalizeModule,
19
19
  TitledDialogModule] });
@@ -24,14 +24,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
24
24
  imports: [
25
25
  CommonModule,
26
26
  CommonLocalizeModule,
27
- TitledDialogModule
27
+ TitledDialogModule,
28
+ ConfirmationDialogDirective,
28
29
  ],
29
30
  declarations: [
30
31
  ConfirmationDialogComponent,
31
- ConfirmationDialogDirective
32
32
  ],
33
33
  exports: [
34
- ConfirmationDialogDirective
34
+ ConfirmationDialogDirective,
35
35
  ]
36
36
  }]
37
37
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"confirmationDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/confirmationDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;AAC1G,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;;AAE1G;;GAEG;AAmBH,MAAM,OAAO,wBAAwB;uGAAxB,wBAAwB;wGAAxB,wBAAwB,iBAR7B,2BAA2B;YAC3B,2BAA2B,aAP3B,YAAY;YACZ,oBAAoB;YACpB,kBAAkB,aASlB,2BAA2B;wGAGtB,wBAAwB,YAd7B,YAAY;YACZ,oBAAoB;YACpB,kBAAkB;;2FAYb,wBAAwB;kBAlBpC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,oBAAoB;wBACpB,kBAAkB;qBACrB;oBACD,YAAY,EACZ;wBACI,2BAA2B;wBAC3B,2BAA2B;qBAC9B;oBACD,OAAO,EACP;wBACI,2BAA2B;qBAC9B;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {CommonLocalizeModule} from '@anglr/common';\n\nimport {ConfirmationDialogComponent} from '../components/confirmationDialog/confirmationDialog.component';\nimport {TitledDialogModule} from './titledDialog.module';\nimport {ConfirmationDialogDirective} from '../directives/confirmationDialog/confirmationDialog.directive';\n\n/**\n * Module containing confirmation dialog component and directive\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n CommonLocalizeModule,\n TitledDialogModule\n ],\n declarations:\n [\n ConfirmationDialogComponent,\n ConfirmationDialogDirective\n ],\n exports:\n [\n ConfirmationDialogDirective\n ]\n})\nexport class ConfirmationDialogModule\n{\n}"]}
1
+ {"version":3,"file":"confirmationDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/confirmationDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;AAC1G,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;;AAE1G;;GAEG;AAmBH,MAAM,OAAO,wBAAwB;uGAAxB,wBAAwB;wGAAxB,wBAAwB,iBAP7B,2BAA2B,aAP3B,YAAY;YACZ,oBAAoB;YACpB,kBAAkB;YAClB,2BAA2B,aAQ3B,2BAA2B;wGAGtB,wBAAwB,YAd7B,YAAY;YACZ,oBAAoB;YACpB,kBAAkB;;2FAYb,wBAAwB;kBAlBpC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,oBAAoB;wBACpB,kBAAkB;wBAClB,2BAA2B;qBAC9B;oBACD,YAAY,EACZ;wBACI,2BAA2B;qBAC9B;oBACD,OAAO,EACP;wBACI,2BAA2B;qBAC9B;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {CommonLocalizeModule} from '@anglr/common';\n\nimport {ConfirmationDialogComponent} from '../components/confirmationDialog/confirmationDialog.component';\nimport {TitledDialogModule} from './titledDialog.module';\nimport {ConfirmationDialogDirective} from '../directives/confirmationDialog/confirmationDialog.directive';\n\n/**\n * Module containing confirmation dialog component and directive\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n CommonLocalizeModule,\n TitledDialogModule,\n ConfirmationDialogDirective,\n ],\n declarations:\n [\n ConfirmationDialogComponent,\n ],\n exports:\n [\n ConfirmationDialogDirective,\n ]\n})\nexport class ConfirmationDialogModule\n{\n}"]}
@@ -45,6 +45,6 @@ export declare class ConfirmationDialogDirective {
45
45
  */
46
46
  click(event: MouseEvent): Promise<void>;
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogDirective, never>;
48
- static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmationDialogDirective, "[confirmation]", never, { "confirmationText": { "alias": "confirmation"; "required": false; }; "confirmationTitle": { "alias": "confirmationTitle"; "required": false; }; "confirmationConfirm": { "alias": "confirmationConfirm"; "required": false; }; "confirmationCancel": { "alias": "confirmationCancel"; "required": false; }; "confirmationCssClasses": { "alias": "confirmationCssClasses"; "required": false; }; "skipConfirmation": { "alias": "skipConfirmation"; "required": false; }; "preventDefaultsAndPropagation": { "alias": "preventDefaultsAndPropagation"; "required": false; }; }, { "confirm": "confirm"; }, never, never, false, never>;
48
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmationDialogDirective, "[confirmation]", never, { "confirmationText": { "alias": "confirmation"; "required": false; }; "confirmationTitle": { "alias": "confirmationTitle"; "required": false; }; "confirmationConfirm": { "alias": "confirmationConfirm"; "required": false; }; "confirmationCancel": { "alias": "confirmationCancel"; "required": false; }; "confirmationCssClasses": { "alias": "confirmationCssClasses"; "required": false; }; "skipConfirmation": { "alias": "skipConfirmation"; "required": false; }; "preventDefaultsAndPropagation": { "alias": "preventDefaultsAndPropagation"; "required": false; }; }, { "confirm": "confirm"; }, never, never, true, never>;
49
49
  }
50
50
  //# sourceMappingURL=confirmationDialog.directive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"confirmationDialog.directive.d.ts","sourceRoot":"","sources":["confirmationDialog.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAuB,MAAM,eAAe,CAAC;AAGnF,OAAO,EAAC,mBAAmB,EAAC,MAAM,kDAAkD,CAAC;AAErF,OAAO,EAA4B,4BAA4B,EAAC,MAAM,oDAAoD,CAAC;;AAE3H;;GAEG;AACH,qBAIa,2BAA2B;IAuDxB,OAAO,CAAC,OAAO;IAnD3B;;OAEG;IAEI,gBAAgB,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,CAAa;IAE3D;;OAEG;IAEI,iBAAiB,EAAE,MAAM,CAAkB;IAElD;;OAEG;IAEI,mBAAmB,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,CAAa;IAE9D;;OAEG;IAEI,kBAAkB,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,CAAa;IAE7D;;OAEG;IAEI,sBAAsB,EAAE,4BAA4B,GAAC,SAAS,GAAC,IAAI,CAAa;IAEvF;;OAEG;IAEI,gBAAgB,EAAE,OAAO,CAAS;IAEzC;;OAEG;IAEI,6BAA6B,EAAE,OAAO,CAAQ;IAIrD;;OAEG;IAEI,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;gBAG1C,OAAO,EAAE,mBAAmB;IAMhD;;OAEG;IAEU,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;yCAjE3C,2BAA2B;2CAA3B,2BAA2B;CAkGvC"}
1
+ {"version":3,"file":"confirmationDialog.directive.d.ts","sourceRoot":"","sources":["confirmationDialog.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAuB,MAAM,eAAe,CAAC;AAGnF,OAAO,EAAC,mBAAmB,EAAC,MAAM,kDAAkD,CAAC;AAErF,OAAO,EAA4B,4BAA4B,EAAC,MAAM,oDAAoD,CAAC;;AAE3H;;GAEG;AACH,qBAKa,2BAA2B;IAuDxB,OAAO,CAAC,OAAO;IAnD3B;;OAEG;IAEI,gBAAgB,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,CAAa;IAE3D;;OAEG;IAEI,iBAAiB,EAAE,MAAM,CAAkB;IAElD;;OAEG;IAEI,mBAAmB,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,CAAa;IAE9D;;OAEG;IAEI,kBAAkB,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,CAAa;IAE7D;;OAEG;IAEI,sBAAsB,EAAE,4BAA4B,GAAC,SAAS,GAAC,IAAI,CAAa;IAEvF;;OAEG;IAEI,gBAAgB,EAAE,OAAO,CAAS;IAEzC;;OAEG;IAEI,6BAA6B,EAAE,OAAO,CAAQ;IAIrD;;OAEG;IAEI,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;gBAG1C,OAAO,EAAE,mBAAmB;IAMhD;;OAEG;IAEU,KAAK,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;yCAjE3C,2BAA2B;2CAA3B,2BAA2B;CAkGvC"}
@@ -1,15 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "../components/confirmationDialog/confirmationDialog.component";
3
- import * as i2 from "../directives/confirmationDialog/confirmationDialog.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@anglr/common";
6
- import * as i5 from "./titledDialog.module";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@anglr/common";
5
+ import * as i4 from "./titledDialog.module";
6
+ import * as i5 from "../directives/confirmationDialog/confirmationDialog.directive";
7
7
  /**
8
8
  * Module containing confirmation dialog component and directive
9
9
  */
10
10
  export declare class ConfirmationDialogModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmationDialogModule, [typeof i1.ConfirmationDialogComponent, typeof i2.ConfirmationDialogDirective], [typeof i3.CommonModule, typeof i4.CommonLocalizeModule, typeof i5.TitledDialogModule], [typeof i2.ConfirmationDialogDirective]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmationDialogModule, [typeof i1.ConfirmationDialogComponent], [typeof i2.CommonModule, typeof i3.CommonLocalizeModule, typeof i4.TitledDialogModule, typeof i5.ConfirmationDialogDirective], [typeof i5.ConfirmationDialogDirective]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmationDialogModule>;
14
14
  }
15
15
  //# sourceMappingURL=confirmationDialog.module.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anglr/common",
3
- "version": "19.1.0-beta.20231205075912",
3
+ "version": "19.1.0-beta.20231205182550",
4
4
  "description": "Angular module for common angular stuff",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/version.bak CHANGED
@@ -1 +1 @@
1
- 19.1.0-beta.20231205075912
1
+ 19.1.0-beta.20231205182550