@osovitny/anatoly 2.14.6 → 2.14.9

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.
@@ -22,8 +22,11 @@ import * as i1$6 from '@angular/forms';
22
22
  import { FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
23
23
  import * as i1$7 from 'angular-froala-wysiwyg';
24
24
  import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
25
+ import * as i1$8 from '@progress/kendo-angular-dialog';
26
+ import { DialogsModule } from '@progress/kendo-angular-dialog';
25
27
  import * as i6 from 'ngx-captcha';
26
28
  import { NgxCaptchaModule } from 'ngx-captcha';
29
+ import { ButtonsModule } from '@progress/kendo-angular-buttons';
27
30
 
28
31
  /*
29
32
  <file>
@@ -3015,10 +3018,10 @@ class LoadingComponent {
3015
3018
  }
3016
3019
  }
3017
3020
  LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingComponent, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Component });
3018
- LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: LoadingComponent, selector: "anatoly-loading", ngImport: i0, template: "<div *ngIf=\"show\">\r\n <span id=\"pnlLoading\" class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
3021
+ LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: LoadingComponent, selector: "anatoly-loading", ngImport: i0, template: "<div id=\"pnlLoading\" *ngIf=\"show\">\r\n <span class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
3019
3022
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: LoadingComponent, decorators: [{
3020
3023
  type: Component,
3021
- args: [{ selector: 'anatoly-loading', template: "<div *ngIf=\"show\">\r\n <span id=\"pnlLoading\" class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n" }]
3024
+ args: [{ selector: 'anatoly-loading', template: "<div id=\"pnlLoading\" *ngIf=\"show\">\r\n <span class=\"k-icon k-i-loading\"></span>\r\n</div>\r\n" }]
3022
3025
  }], ctorParameters: function () { return [{ type: LoadingService }]; } });
3023
3026
 
3024
3027
  /*
@@ -3292,6 +3295,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
3292
3295
  args: ['recaptcha']
3293
3296
  }] } });
3294
3297
 
3298
+ /*
3299
+ <file>
3300
+ Project:
3301
+ @osovitny/anatoly
3302
+
3303
+ Authors:
3304
+ Vadim Osovitny
3305
+ Anatoly Osovitny
3306
+
3307
+ Created:
3308
+ 16 July 2022
3309
+
3310
+ Copyright (c) 2017-2022 Osovitny Inc. All rights reserved.
3311
+ </file>
3312
+ */
3313
+ class ContactUsDialog extends BaseDialog {
3314
+ constructor() {
3315
+ super();
3316
+ }
3317
+ //Events
3318
+ onClose() {
3319
+ super.close();
3320
+ }
3321
+ onSubmitFire() {
3322
+ this.contactUsForm?.onSubmit();
3323
+ }
3324
+ onSubmit() {
3325
+ super.close();
3326
+ }
3327
+ }
3328
+ ContactUsDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
3329
+ ContactUsDialog.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: ContactUsDialog, selector: "anatoly-contactus-dialog", viewQueries: [{ propertyName: "contactUsForm", first: true, predicate: ["contactusform"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<kendo-dialog (close)='onClose()' *ngIf='opened' [width]='800' title='Contact Us' class=\"k-dialog-wrapper\">\r\n <div class=\"k-content k-window-content k-dialog-content\">\r\n <anatoly-forms-contactus-form #contactusform [showActionButtons]='false' (submit)='onSubmit()'>\r\n </anatoly-forms-contactus-form>\r\n </div>\r\n <kendo-dialog-actions class=\"k-dialog-buttongroup k-actions k-actions-stretched\">\r\n <button (click)='onSubmitFire()' class='btn btn-success' type='button'>Submit</button>\r\n <button (click)='onClose()' class='btn btn-danger' type='button'>Cancel</button>\r\n </kendo-dialog-actions>\r\n</kendo-dialog>\r\n", dependencies: [{ kind: "component", type: i1$8.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: i1$8.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ContactUsForm, selector: "anatoly-forms-contactus-form", inputs: ["showActionButtons"], outputs: ["submit"] }] });
3330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsDialog, decorators: [{
3331
+ type: Component,
3332
+ args: [{ selector: 'anatoly-contactus-dialog', template: "<kendo-dialog (close)='onClose()' *ngIf='opened' [width]='800' title='Contact Us' class=\"k-dialog-wrapper\">\r\n <div class=\"k-content k-window-content k-dialog-content\">\r\n <anatoly-forms-contactus-form #contactusform [showActionButtons]='false' (submit)='onSubmit()'>\r\n </anatoly-forms-contactus-form>\r\n </div>\r\n <kendo-dialog-actions class=\"k-dialog-buttongroup k-actions k-actions-stretched\">\r\n <button (click)='onSubmitFire()' class='btn btn-success' type='button'>Submit</button>\r\n <button (click)='onClose()' class='btn btn-danger' type='button'>Cancel</button>\r\n </kendo-dialog-actions>\r\n</kendo-dialog>\r\n" }]
3333
+ }], ctorParameters: function () { return []; }, propDecorators: { contactUsForm: [{
3334
+ type: ViewChild,
3335
+ args: ['contactusform']
3336
+ }] } });
3337
+
3295
3338
  /*
3296
3339
  <file>
3297
3340
  Project:
@@ -3539,13 +3582,17 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
3539
3582
  NativeElementDirective,
3540
3583
  //Forms
3541
3584
  ContactUsForm,
3585
+ //Dialogs
3586
+ ContactUsDialog,
3542
3587
  //Pipes
3543
3588
  SafeHtmlPipe,
3544
3589
  ReplaceTextPipe,
3545
3590
  FileSizePipe,
3546
3591
  //Validation
3547
3592
  FormValidationSummaryComponent,
3548
- ItemValidationSummaryComponent], imports: [CommonModule,
3593
+ ItemValidationSummaryComponent], imports: [DialogsModule,
3594
+ ButtonsModule,
3595
+ CommonModule,
3549
3596
  ReactiveFormsModule,
3550
3597
  FormsModule,
3551
3598
  NgxCaptchaModule, i1$7.FroalaEditorModule, i1$7.FroalaViewModule], exports: [SubscribePlanButtonComponent,
@@ -3563,6 +3610,8 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
3563
3610
  NativeElementDirective,
3564
3611
  //Forms
3565
3612
  ContactUsForm,
3613
+ //Dialogs
3614
+ ContactUsDialog,
3566
3615
  //Pipes
3567
3616
  SafeHtmlPipe,
3568
3617
  ReplaceTextPipe,
@@ -3570,7 +3619,9 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
3570
3619
  //Validation
3571
3620
  FormValidationSummaryComponent,
3572
3621
  ItemValidationSummaryComponent] });
3573
- AnatolyUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, imports: [CommonModule,
3622
+ AnatolyUIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: AnatolyUIModule, imports: [DialogsModule,
3623
+ ButtonsModule,
3624
+ CommonModule,
3574
3625
  ReactiveFormsModule,
3575
3626
  FormsModule,
3576
3627
  NgxCaptchaModule,
@@ -3580,6 +3631,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
3580
3631
  type: NgModule,
3581
3632
  args: [{
3582
3633
  imports: [
3634
+ DialogsModule,
3635
+ ButtonsModule,
3583
3636
  CommonModule,
3584
3637
  ReactiveFormsModule,
3585
3638
  FormsModule,
@@ -3603,6 +3656,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
3603
3656
  NativeElementDirective,
3604
3657
  //Forms
3605
3658
  ContactUsForm,
3659
+ //Dialogs
3660
+ ContactUsDialog,
3606
3661
  //Pipes
3607
3662
  SafeHtmlPipe,
3608
3663
  ReplaceTextPipe,
@@ -3627,6 +3682,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
3627
3682
  NativeElementDirective,
3628
3683
  //Forms
3629
3684
  ContactUsForm,
3685
+ //Dialogs
3686
+ ContactUsDialog,
3630
3687
  //Pipes
3631
3688
  SafeHtmlPipe,
3632
3689
  ReplaceTextPipe,
@@ -3646,5 +3703,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
3646
3703
  * Generated bundle index. Do not edit.
3647
3704
  */
3648
3705
 
3649
- export { Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BillingApiService, BuyAccessButtonComponent, ContactUsForm, ContentHeaderComponent, ContextInitState, Convert, DefaultEditorOptions, DigitalMarketingService, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, FroalaEditorModuleWithProviders, FroalaViewModuleWithProviders, GlobalErrorHandler, GoogleAnalyticsService, Guid, HtmlEditorComponent, IdleService, InjectorInstance, ItemValidationSummaryComponent, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, NativeElementDirective, NotificationService, NotificationsApiService, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, SpinnerComponent, Subs, SubscribePlanButtonComponent, TranslateModuleAtRoot, UpgradePlanButtonComponent, Urls, Utils, ValidationSummaryComponent, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
3706
+ export { Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BillingApiService, BuyAccessButtonComponent, ContactUsDialog, ContactUsForm, ContentHeaderComponent, ContextInitState, Convert, DefaultEditorOptions, DigitalMarketingService, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, FroalaEditorModuleWithProviders, FroalaViewModuleWithProviders, GlobalErrorHandler, GoogleAnalyticsService, Guid, HtmlEditorComponent, IdleService, InjectorInstance, ItemValidationSummaryComponent, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, NativeElementDirective, NotificationService, NotificationsApiService, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, SpinnerComponent, Subs, SubscribePlanButtonComponent, TranslateModuleAtRoot, UpgradePlanButtonComponent, Urls, Utils, ValidationSummaryComponent, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
3650
3707
  //# sourceMappingURL=osovitny-anatoly.mjs.map