@osovitny/anatoly 2.14.99 → 2.14.101

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.
@@ -24,13 +24,11 @@ import * as i1$6 from '@fortawesome/angular-fontawesome';
24
24
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
25
25
  import * as i1$7 from '@progress/kendo-angular-pager';
26
26
  import { PagerModule } from '@progress/kendo-angular-pager';
27
- import * as i2 from '@progress/kendo-angular-tooltip';
28
- import { TooltipsModule } from '@progress/kendo-angular-tooltip';
29
27
  import * as i1$8 from '@angular/forms';
30
28
  import { FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
31
29
  import * as i1$9 from 'angular-froala-wysiwyg';
32
30
  import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
33
- import * as i2$1 from '@progress/kendo-angular-dialog';
31
+ import * as i2 from '@progress/kendo-angular-dialog';
34
32
  import { DialogsModule } from '@progress/kendo-angular-dialog';
35
33
  import * as i6 from 'ngx-captcha';
36
34
  import { NgxCaptchaModule } from 'ngx-captcha';
@@ -39,6 +37,7 @@ import { ButtonsModule } from '@progress/kendo-angular-buttons';
39
37
  import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
40
38
  import { InputsModule } from '@progress/kendo-angular-inputs';
41
39
  import { TreeViewModule } from '@progress/kendo-angular-treeview';
40
+ import { TooltipsModule } from '@progress/kendo-angular-tooltip';
42
41
 
43
42
  /*
44
43
  <file>
@@ -1712,8 +1711,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
1712
1711
  </file>
1713
1712
  */
1714
1713
  class XmlFormatter {
1715
- static toPrettyXML(s) {
1716
- return format$1(s);
1714
+ static toPrettyXML(s, options) {
1715
+ if (!options) {
1716
+ options = {
1717
+ indentation: ' ',
1718
+ filter: (node) => node.type !== 'Comment'
1719
+ };
1720
+ }
1721
+ return format$1(s, options);
1717
1722
  }
1718
1723
  }
1719
1724
 
@@ -2764,19 +2769,22 @@ class Copy2ClipboardComponent {
2764
2769
  this.text = "";
2765
2770
  }
2766
2771
  onCopy2Clipboard(event) {
2772
+ let oldTooltip = this.tooltip;
2767
2773
  this.tooltip = "Copied";
2768
2774
  setTimeout(() => {
2769
- this.tooltip = "Copy to clipboard";
2775
+ this.tooltip = oldTooltip;
2770
2776
  }, 1000);
2771
2777
  Utils.copyToClipBoard(event, this.text);
2772
2778
  }
2773
2779
  }
2774
2780
  Copy2ClipboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Copy2ClipboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2775
- Copy2ClipboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: Copy2ClipboardComponent, selector: "anatoly-copy-2-clipboard", inputs: { text: "text" }, ngImport: i0, template: "<span kendoTooltip filter=\".helptooltip\" tooltipClass=\"help-tooltip\" [tooltipTemplate]=\"template\">\r\n <ng-template #template let-anchor>\r\n <span [innerHTML]='tooltip'></span>\r\n </ng-template>\r\n <span class=\"helptooltip\">\r\n <a class=\"btn btn-primary btn-sm active\" (click)=\"onCopy2Clipboard($event)\">\r\n <fa-icon size=\"lg\" icon=\"copy\"></fa-icon>\r\n </a>\r\n </span>\r\n</span>", dependencies: [{ kind: "component", type: i1$6.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "directive", type: i2.TooltipDirective, selector: "[kendoTooltip]", inputs: ["filter", "position", "titleTemplate", "showOn", "showAfter", "callout", "closable", "offset", "tooltipWidth", "tooltipHeight", "tooltipClass", "collision", "closeTitle", "tooltipTemplate"], exportAs: ["kendoTooltip"] }] });
2781
+ Copy2ClipboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: Copy2ClipboardComponent, selector: "anatoly-copy-2-clipboard", inputs: { tooltip: "tooltip", text: "text" }, ngImport: i0, template: "<a class=\"btn btn-primary btn-sm active\" (click)=\"onCopy2Clipboard($event)\">\r\n <fa-icon size=\"lg\" icon=\"copy\"></fa-icon>\r\n</a>", dependencies: [{ kind: "component", type: i1$6.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
2776
2782
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: Copy2ClipboardComponent, decorators: [{
2777
2783
  type: Component,
2778
- args: [{ selector: 'anatoly-copy-2-clipboard', template: "<span kendoTooltip filter=\".helptooltip\" tooltipClass=\"help-tooltip\" [tooltipTemplate]=\"template\">\r\n <ng-template #template let-anchor>\r\n <span [innerHTML]='tooltip'></span>\r\n </ng-template>\r\n <span class=\"helptooltip\">\r\n <a class=\"btn btn-primary btn-sm active\" (click)=\"onCopy2Clipboard($event)\">\r\n <fa-icon size=\"lg\" icon=\"copy\"></fa-icon>\r\n </a>\r\n </span>\r\n</span>" }]
2779
- }], propDecorators: { text: [{
2784
+ args: [{ selector: 'anatoly-copy-2-clipboard', template: "<a class=\"btn btn-primary btn-sm active\" (click)=\"onCopy2Clipboard($event)\">\r\n <fa-icon size=\"lg\" icon=\"copy\"></fa-icon>\r\n</a>" }]
2785
+ }], propDecorators: { tooltip: [{
2786
+ type: Input
2787
+ }], text: [{
2780
2788
  type: Input
2781
2789
  }] } });
2782
2790
 
@@ -3948,7 +3956,7 @@ class ContactUsDialog extends BaseDialog {
3948
3956
  }
3949
3957
  }
3950
3958
  ContactUsDialog.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsDialog, deps: [], target: i0.ɵɵFactoryTarget.Component });
3951
- 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='isOpen' [width]='700' title='Contact Us'>\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-actions\">\r\n <div class=\"d-flex justify-content-end\">\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 </div>\r\n </kendo-dialog-actions>\r\n</kendo-dialog>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: i2$1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ContactUsForm, selector: "anatoly-forms-contactus-form", inputs: ["showActionButtons"], outputs: ["submit"] }] });
3959
+ 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='isOpen' [width]='700' title='Contact Us'>\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-actions\">\r\n <div class=\"d-flex justify-content-end\">\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 </div>\r\n </kendo-dialog-actions>\r\n</kendo-dialog>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: i2.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ContactUsForm, selector: "anatoly-forms-contactus-form", inputs: ["showActionButtons"], outputs: ["submit"] }] });
3952
3960
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContactUsDialog, decorators: [{
3953
3961
  type: Component,
3954
3962
  args: [{ selector: 'anatoly-contactus-dialog', template: "<kendo-dialog (close)='onClose()' *ngIf='isOpen' [width]='700' title='Contact Us'>\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-actions\">\r\n <div class=\"d-flex justify-content-end\">\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 </div>\r\n </kendo-dialog-actions>\r\n</kendo-dialog>\r\n" }]