@osovitny/anatoly 3.17.25 → 3.17.27

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.
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
4
4
  export declare abstract class ComponentBase implements OnInit, OnDestroy {
5
5
  protected isDevMode: boolean;
6
6
  protected subs: Subs;
7
+ protected applicationType: any;
7
8
  protected dataLoading: boolean;
8
9
  protected dataLoaded: boolean;
9
10
  protected dataFound: boolean;
@@ -14,6 +15,8 @@ export declare abstract class ComponentBase implements OnInit, OnDestroy {
14
15
  constructor();
15
16
  ngOnInit(): void;
16
17
  ngOnDestroy(): void;
18
+ setDefaults(): void;
19
+ setValues(): void;
17
20
  getEntityId(): string;
18
21
  dataStartedLoading(): void;
19
22
  dataLoadedAndNothingFound(): void;
@@ -17,6 +17,7 @@ export * from './nodata/nodata.component';
17
17
  export * from './spinners/loading/loading.component';
18
18
  export * from './spinners/pagespinner/pagespinner.component';
19
19
  export * from './copy-2-clipboard/copy-2-clipboard.component';
20
+ export * from './urlslug/urlslug.component';
20
21
  export * from './dropdownlists/country/country.dropdownlist';
21
22
  export * from './dropdownlists/timezone/timezone.dropdownlist';
22
23
  export * from './card/card.component';
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { EditComponentBase } from '../../../components/base/components/edit.component';
2
+ import { EditComponentBase } from '../../components/base/components/edit.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class UrlSlugComponent extends EditComponentBase implements OnInit {
5
5
  firstValue: boolean;
@@ -7,12 +7,12 @@ export declare class UrlSlugComponent extends EditComponentBase implements OnIni
7
7
  urlPrefix: string;
8
8
  isGoButtonVisible: boolean;
9
9
  watchedControlName: string;
10
- generating: EventEmitter<any>;
10
+ generated: EventEmitter<any>;
11
11
  constructor();
12
12
  ngOnInit(): void;
13
13
  private generateUrlSlug;
14
14
  private startWatching;
15
15
  onUrlSlugChange(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<UrlSlugComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<UrlSlugComponent, "anatoly-forms-urlslug", never, { "urlPrefix": { "alias": "urlPrefix"; "required": false; }; "isGoButtonVisible": { "alias": "isGoButtonVisible"; "required": false; }; "watchedControlName": { "alias": "watchedControlName"; "required": false; }; }, { "generating": "generating"; }, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<UrlSlugComponent, "anatoly-urlslug", never, { "urlPrefix": { "alias": "urlPrefix"; "required": false; }; "isGoButtonVisible": { "alias": "isGoButtonVisible"; "required": false; }; "watchedControlName": { "alias": "watchedControlName"; "required": false; }; }, { "generated": "generated"; }, never, never, false, never>;
18
18
  }
@@ -1,4 +1,3 @@
1
1
  export * from './components/address/address.component';
2
2
  export * from './components/company/company.component';
3
- export * from './components/urlslug/urlslug.component';
4
3
  export * from './contact-us/contact-us';
@@ -10,20 +10,20 @@ import * as i8 from "./components/nodata/nodata.component";
10
10
  import * as i9 from "./components/spinners/pagespinner/pagespinner.component";
11
11
  import * as i10 from "./components/spinners/loading/loading.component";
12
12
  import * as i11 from "./components/copy-2-clipboard/copy-2-clipboard.component";
13
- import * as i12 from "./components/dropdownlists/country/country.dropdownlist";
14
- import * as i13 from "./components/dropdownlists/timezone/timezone.dropdownlist";
15
- import * as i14 from "./components/card/card.component";
16
- import * as i15 from "./components/card/card-header.component";
17
- import * as i16 from "./components/card/card-body.component";
18
- import * as i17 from "./components/card/card-footer.component";
19
- import * as i18 from "./components/html-editor/html-editor.component";
20
- import * as i19 from "./components/html-editor/forms-html-editor.component";
21
- import * as i20 from "./dialogs/contact-us/contact-us.dialog";
22
- import * as i21 from "./directives/native-element.directive";
23
- import * as i22 from "./directives/hover.directive";
24
- import * as i23 from "./forms/components/address/address.component";
25
- import * as i24 from "./forms/components/company/company.component";
26
- import * as i25 from "./forms/components/urlslug/urlslug.component";
13
+ import * as i12 from "./components/urlslug/urlslug.component";
14
+ import * as i13 from "./components/dropdownlists/country/country.dropdownlist";
15
+ import * as i14 from "./components/dropdownlists/timezone/timezone.dropdownlist";
16
+ import * as i15 from "./components/card/card.component";
17
+ import * as i16 from "./components/card/card-header.component";
18
+ import * as i17 from "./components/card/card-body.component";
19
+ import * as i18 from "./components/card/card-footer.component";
20
+ import * as i19 from "./components/html-editor/html-editor.component";
21
+ import * as i20 from "./components/html-editor/forms-html-editor.component";
22
+ import * as i21 from "./dialogs/contact-us/contact-us.dialog";
23
+ import * as i22 from "./directives/native-element.directive";
24
+ import * as i23 from "./directives/hover.directive";
25
+ import * as i24 from "./forms/components/address/address.component";
26
+ import * as i25 from "./forms/components/company/company.component";
27
27
  import * as i26 from "./forms/contact-us/contact-us";
28
28
  import * as i27 from "./pipes/safeHtml.pipe";
29
29
  import * as i28 from "./pipes/replace-text.pipe";
@@ -39,6 +39,6 @@ import * as i37 from "./external/fa.module";
39
39
  import * as i38 from "./external/kendo.module";
40
40
  export declare class AnatolyUIModule {
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyUIModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyUIModule, [typeof i1.BuyAccessButtonComponent, typeof i2.SubscribePlanButtonComponent, typeof i3.CheckIconComponent, typeof i4.DataPagerComponent, typeof i5.SignInButtonComponent, typeof i6.SignUpButtonComponent, typeof i7.SignOutButtonComponent, typeof i8.NodataComponent, typeof i9.PageSpinnerComponent, typeof i10.LoadingComponent, typeof i11.Copy2ClipboardComponent, typeof i12.CountryDropdownlist, typeof i13.TimezoneDropdownlist, typeof i14.CardComponent, typeof i15.CardHeaderComponent, typeof i16.CardBodyComponent, typeof i17.CardFooterComponent, typeof i18.HtmlEditorComponent, typeof i19.FormsHtmlEditorComponent, typeof i20.ContactUsDialog, typeof i21.NativeElementDirective, typeof i22.HoveringDirective, typeof i23.AddressComponent, typeof i24.CompanyComponent, typeof i25.UrlSlugComponent, typeof i26.ContactUsForm, typeof i27.SafeHtmlPipe, typeof i28.ReplaceTextPipe, typeof i29.FileSizePipe, typeof i30.FormValidationSummaryComponent, typeof i31.ItemValidationSummaryComponent], [typeof i32.CommonModule, typeof i33.RouterModule, typeof i34.ReactiveFormsModule, typeof i34.FormsModule, typeof i35.NgxCaptchaModule, typeof i36.FERootModule, typeof i37.FaModule, typeof i38.KendoModule], [typeof i1.BuyAccessButtonComponent, typeof i2.SubscribePlanButtonComponent, typeof i3.CheckIconComponent, typeof i4.DataPagerComponent, typeof i5.SignInButtonComponent, typeof i6.SignUpButtonComponent, typeof i7.SignOutButtonComponent, typeof i8.NodataComponent, typeof i9.PageSpinnerComponent, typeof i10.LoadingComponent, typeof i11.Copy2ClipboardComponent, typeof i12.CountryDropdownlist, typeof i13.TimezoneDropdownlist, typeof i14.CardComponent, typeof i15.CardHeaderComponent, typeof i16.CardBodyComponent, typeof i17.CardFooterComponent, typeof i18.HtmlEditorComponent, typeof i19.FormsHtmlEditorComponent, typeof i20.ContactUsDialog, typeof i21.NativeElementDirective, typeof i22.HoveringDirective, typeof i23.AddressComponent, typeof i24.CompanyComponent, typeof i25.UrlSlugComponent, typeof i26.ContactUsForm, typeof i27.SafeHtmlPipe, typeof i28.ReplaceTextPipe, typeof i29.FileSizePipe, typeof i30.FormValidationSummaryComponent, typeof i31.ItemValidationSummaryComponent]>;
42
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyUIModule, [typeof i1.BuyAccessButtonComponent, typeof i2.SubscribePlanButtonComponent, typeof i3.CheckIconComponent, typeof i4.DataPagerComponent, typeof i5.SignInButtonComponent, typeof i6.SignUpButtonComponent, typeof i7.SignOutButtonComponent, typeof i8.NodataComponent, typeof i9.PageSpinnerComponent, typeof i10.LoadingComponent, typeof i11.Copy2ClipboardComponent, typeof i12.UrlSlugComponent, typeof i13.CountryDropdownlist, typeof i14.TimezoneDropdownlist, typeof i15.CardComponent, typeof i16.CardHeaderComponent, typeof i17.CardBodyComponent, typeof i18.CardFooterComponent, typeof i19.HtmlEditorComponent, typeof i20.FormsHtmlEditorComponent, typeof i21.ContactUsDialog, typeof i22.NativeElementDirective, typeof i23.HoveringDirective, typeof i24.AddressComponent, typeof i25.CompanyComponent, typeof i26.ContactUsForm, typeof i27.SafeHtmlPipe, typeof i28.ReplaceTextPipe, typeof i29.FileSizePipe, typeof i30.FormValidationSummaryComponent, typeof i31.ItemValidationSummaryComponent], [typeof i32.CommonModule, typeof i33.RouterModule, typeof i34.ReactiveFormsModule, typeof i34.FormsModule, typeof i35.NgxCaptchaModule, typeof i36.FERootModule, typeof i37.FaModule, typeof i38.KendoModule], [typeof i1.BuyAccessButtonComponent, typeof i2.SubscribePlanButtonComponent, typeof i3.CheckIconComponent, typeof i4.DataPagerComponent, typeof i5.SignInButtonComponent, typeof i6.SignUpButtonComponent, typeof i7.SignOutButtonComponent, typeof i8.NodataComponent, typeof i9.PageSpinnerComponent, typeof i10.LoadingComponent, typeof i11.Copy2ClipboardComponent, typeof i12.UrlSlugComponent, typeof i13.CountryDropdownlist, typeof i14.TimezoneDropdownlist, typeof i15.CardComponent, typeof i16.CardHeaderComponent, typeof i17.CardBodyComponent, typeof i18.CardFooterComponent, typeof i19.HtmlEditorComponent, typeof i20.FormsHtmlEditorComponent, typeof i21.ContactUsDialog, typeof i22.NativeElementDirective, typeof i23.HoveringDirective, typeof i24.AddressComponent, typeof i25.CompanyComponent, typeof i26.ContactUsForm, typeof i27.SafeHtmlPipe, typeof i28.ReplaceTextPipe, typeof i29.FileSizePipe, typeof i30.FormValidationSummaryComponent, typeof i31.ItemValidationSummaryComponent]>;
43
43
  static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyUIModule>;
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.17.25",
3
+ "version": "3.17.27",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.1.2",
6
6
  "@angular/core": "17.1.2",
@@ -1,125 +0,0 @@
1
- /*
2
- <file>
3
- Project:
4
- @osovitny/anatoly
5
-
6
- Authors:
7
- Vadim Osovitny vadim@osovitny.com
8
- Anatoly Osovitny anatoly@osovitny.com
9
-
10
- Created:
11
- 02 Aug 2022
12
-
13
- Copyright (c) 2017-2022 Osovitny Inc. All rights reserved.
14
- </file>
15
- */
16
- //Node
17
- import { Component, Input, EventEmitter, Output } from '@angular/core';
18
- //App
19
- import { EditComponentBase } from '../../../components/base/components/edit.component';
20
- import { Utils } from '../../../../core/utils/utils';
21
- import * as i0 from "@angular/core";
22
- import * as i1 from "@angular/common";
23
- import * as i2 from "@angular/forms";
24
- import * as i3 from "../../../directives/native-element.directive";
25
- import * as i4 from "../../../validation/item-validation-summary.component";
26
- function UrlSlugComponent_label_4_Template(rf, ctx) { if (rf & 1) {
27
- i0.ɵɵelementStart(0, "label", 7);
28
- i0.ɵɵtext(1);
29
- i0.ɵɵelementStart(2, "span", 8);
30
- i0.ɵɵtext(3);
31
- i0.ɵɵelementEnd()();
32
- } if (rf & 2) {
33
- const ctx_r0 = i0.ɵɵnextContext();
34
- i0.ɵɵadvance();
35
- i0.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
36
- i0.ɵɵadvance(2);
37
- i0.ɵɵtextInterpolate(ctx_r0.urlPrefix);
38
- } }
39
- function UrlSlugComponent_div_6_Template(rf, ctx) { if (rf & 1) {
40
- i0.ɵɵelementStart(0, "div", 9)(1, "a", 10);
41
- i0.ɵɵtext(2, "Go");
42
- i0.ɵɵelementEnd()();
43
- } if (rf & 2) {
44
- const ctx_r1 = i0.ɵɵnextContext();
45
- i0.ɵɵadvance();
46
- i0.ɵɵpropertyInterpolate2("href", "", ctx_r1.urlPrefix, "", ctx_r1.hrefGo, "", i0.ɵɵsanitizeUrl);
47
- } }
48
- const _c0 = a0 => ({ "has-error": a0 });
49
- export class UrlSlugComponent extends EditComponentBase {
50
- constructor() {
51
- super();
52
- this.firstValue = true;
53
- this.isGoButtonVisible = true;
54
- //Outputs
55
- this.generating = new EventEmitter();
56
- this.title = 'Permalink';
57
- }
58
- ngOnInit() {
59
- this.startWatching();
60
- }
61
- generateUrlSlug(text) {
62
- let slugedText = Utils.slugify(text);
63
- let event = { urlSlug: slugedText };
64
- this.generating.emit(event);
65
- this.setFormValue(this.controlName, event.urlSlug);
66
- }
67
- startWatching() {
68
- this.subs.sink = this.formGroup.get(this.watchedControlName).valueChanges.subscribe({
69
- next: (value) => {
70
- if (this.firstValue) {
71
- this.firstValue = false;
72
- return;
73
- }
74
- this.generateUrlSlug(value);
75
- }
76
- });
77
- this.subs.sink = this.formGroup.get(this.controlName).valueChanges.subscribe({
78
- next: (value) => {
79
- this.hrefGo = value;
80
- }
81
- });
82
- }
83
- //Events
84
- onUrlSlugChange() {
85
- let text = this.getFormValue(this.controlName);
86
- this.generateUrlSlug(text);
87
- }
88
- static { this.ɵfac = function UrlSlugComponent_Factory(t) { return new (t || UrlSlugComponent)(); }; }
89
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UrlSlugComponent, selectors: [["anatoly-forms-urlslug"]], inputs: { urlPrefix: "urlPrefix", isGoButtonVisible: "isGoButtonVisible", watchedControlName: "watchedControlName" }, outputs: { generating: "generating" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 13, consts: [[3, "formGroup", "ngClass"], [1, "d-flex", "align-items-end"], [3, "formGroup", "formSubmitted", "formControlName"], [1, "form-group"], ["class", "col-form-label", 4, "ngIf"], ["type", "text", "placeholder", "Type url slug here", 1, "form-control", 3, "formControlName", "focusout"], ["class", "form-group flex-shrink-1", 4, "ngIf"], [1, "col-form-label"], [1, "urlPrefix"], [1, "form-group", "flex-shrink-1"], ["target", "_blank", 1, "btn", "btn-primary", 3, "href"]], template: function UrlSlugComponent_Template(rf, ctx) { if (rf & 1) {
90
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
91
- i0.ɵɵelement(2, "anatoly-item-validation-summary", 2);
92
- i0.ɵɵelementStart(3, "div", 3);
93
- i0.ɵɵtemplate(4, UrlSlugComponent_label_4_Template, 4, 2, "label", 4);
94
- i0.ɵɵelementStart(5, "input", 5);
95
- i0.ɵɵlistener("focusout", function UrlSlugComponent_Template_input_focusout_5_listener() { return ctx.onUrlSlugChange(); });
96
- i0.ɵɵelementEnd()();
97
- i0.ɵɵtemplate(6, UrlSlugComponent_div_6_Template, 3, 2, "div", 6);
98
- i0.ɵɵelementEnd()();
99
- } if (rf & 2) {
100
- i0.ɵɵclassMapInterpolate1("permalink form-group ", ctx.classes, "");
101
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(11, _c0, ctx.isControlInvalid(ctx.controlName)));
102
- i0.ɵɵadvance(2);
103
- i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted)("formControlName", ctx.controlName);
104
- i0.ɵɵadvance(2);
105
- i0.ɵɵproperty("ngIf", ctx.isTitleVisible);
106
- i0.ɵɵadvance();
107
- i0.ɵɵproperty("formControlName", ctx.controlName);
108
- i0.ɵɵadvance();
109
- i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
110
- } }, dependencies: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.NativeElementDirective, i4.ItemValidationSummaryComponent], encapsulation: 2 }); }
111
- }
112
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
113
- type: Component,
114
- args: [{ selector: 'anatoly-forms-urlslug', template: "<div [formGroup]='formGroup' [ngClass]=\"{'has-error': isControlInvalid(controlName)}\"\r\n class=\"permalink form-group {{ classes }}\">\r\n <div class=\"d-flex align-items-end\">\r\n <anatoly-item-validation-summary\r\n [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [formControlName]='controlName'>\r\n </anatoly-item-validation-summary>\r\n\r\n <div class=\"form-group\">\r\n <label *ngIf='isTitleVisible' class='col-form-label'>\r\n {{ title }}\r\n <span class=\"urlPrefix\">{{ urlPrefix }}</span>\r\n </label>\r\n <input type='text'\r\n class='form-control'\r\n placeholder='Type url slug here'\r\n [formControlName]='controlName'\r\n (focusout)='onUrlSlugChange()' />\r\n </div>\r\n\r\n <div class=\"form-group flex-shrink-1\" *ngIf=\"isGoButtonVisible\">\r\n <a href=\"{{urlPrefix}}{{hrefGo}}\" target=\"_blank\" class=\"btn btn-primary\">Go</a>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
115
- }], () => [], { urlPrefix: [{
116
- type: Input
117
- }], isGoButtonVisible: [{
118
- type: Input
119
- }], watchedControlName: [{
120
- type: Input
121
- }], generating: [{
122
- type: Output
123
- }] }); })();
124
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UrlSlugComponent, { className: "UrlSlugComponent", filePath: "lib\\ui\\forms\\components\\urlslug\\urlslug.component.ts", lineNumber: 28 }); })();
125
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsc2x1Zy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvZm9ybXMvY29tcG9uZW50cy91cmxzbHVnL3VybHNsdWcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2Zvcm1zL2NvbXBvbmVudHMvdXJsc2x1Zy91cmxzbHVnLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztFQWNFO0FBRUYsTUFBTTtBQUNOLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQXFCLE1BQU0sZUFBZ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