@osovitny/anatoly 3.19.37 → 3.19.39

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.
@@ -7246,7 +7246,7 @@ class CountryDropdownlist extends EditComponentBase {
7246
7246
  setValues() {
7247
7247
  this.appContext.jsonFilesLoaded$.subscribe({
7248
7248
  next: () => {
7249
- this.items = this.appContext.countries.reverse();
7249
+ this.items = this.appContext.countries?.reverse();
7250
7250
  }
7251
7251
  });
7252
7252
  if (this.isNgModelBased) {
@@ -7269,6 +7269,71 @@ class CountryDropdownlist extends EditComponentBase {
7269
7269
  }], () => [{ type: AppContextService }], null); })();
7270
7270
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CountryDropdownlist, { className: "CountryDropdownlist", filePath: "lib/ui/components/dropdownlists/country/country.dropdownlist.ts", lineNumber: 28 }); })();
7271
7271
 
7272
+ /*
7273
+ <file>
7274
+ Project:
7275
+ @osovitny/anatoly
7276
+
7277
+ Authors:
7278
+ Leon Malyan leon.malyan@osovitny.com
7279
+ Vadim Osovitny vadim.osovitny@osovitny.com
7280
+
7281
+ Created:
7282
+ 7 Nov 2023
7283
+
7284
+ Copyright (c) 2017-2025 Osovitny Inc. All rights reserved.
7285
+ </file>
7286
+ */
7287
+ //Node
7288
+ function LanguageDropdownlist_div_0_Template(rf, ctx) { if (rf & 1) {
7289
+ i0.ɵɵelement(0, "div");
7290
+ } }
7291
+ function LanguageDropdownlist_div_1_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
7292
+ i0.ɵɵelement(0, "kendo-label", 5);
7293
+ } if (rf & 2) {
7294
+ const ctx_r0 = i0.ɵɵnextContext(2);
7295
+ i0.ɵɵpropertyInterpolate("text", ctx_r0.title);
7296
+ } }
7297
+ function LanguageDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
7298
+ i0.ɵɵelementStart(0, "div", 2);
7299
+ i0.ɵɵtemplate(1, LanguageDropdownlist_div_1_kendo_label_1_Template, 1, 1, "kendo-label", 3);
7300
+ i0.ɵɵelement(2, "kendo-dropdownlist", 4);
7301
+ i0.ɵɵelementEnd();
7302
+ } if (rf & 2) {
7303
+ const ctx_r0 = i0.ɵɵnextContext();
7304
+ i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
7305
+ i0.ɵɵadvance();
7306
+ i0.ɵɵproperty("ngIf", ctx_r0.isTitleVisible);
7307
+ i0.ɵɵadvance();
7308
+ i0.ɵɵproperty("data", ctx_r0.items)("valuePrimitive", true)("formControlName", ctx_r0.controlName);
7309
+ } }
7310
+ class LanguageDropdownlist extends EditComponentBase {
7311
+ constructor(appContext) {
7312
+ super();
7313
+ this.appContext = appContext;
7314
+ }
7315
+ ngOnInit() {
7316
+ this.appContext.jsonFilesLoaded$.subscribe({
7317
+ next: () => {
7318
+ this.items = this.appContext.languages?.reverse();
7319
+ }
7320
+ });
7321
+ }
7322
+ static { this.ɵfac = function LanguageDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageDropdownlist)(i0.ɵɵdirectiveInject(AppContextService)); }; }
7323
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LanguageDropdownlist, selectors: [["anatoly-language-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "formGroup", 4, "ngIf"], [3, "formGroup"], [3, "text", 4, "ngIf"], ["valueField", "code", "textField", "name", 3, "data", "valuePrimitive", "formControlName"], [3, "text"]], template: function LanguageDropdownlist_Template(rf, ctx) { if (rf & 1) {
7324
+ i0.ɵɵtemplate(0, LanguageDropdownlist_div_0_Template, 1, 0, "div", 0)(1, LanguageDropdownlist_div_1_Template, 3, 5, "div", 1);
7325
+ } if (rf & 2) {
7326
+ i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7327
+ i0.ɵɵadvance();
7328
+ i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7329
+ } }, dependencies: [i1$1.NgIf, i2$1.NgControlStatus, i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.FormControlName, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
7330
+ }
7331
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
7332
+ type: Component,
7333
+ args: [{ selector: 'anatoly-language-dropdownlist', standalone: false, template: "<div *ngIf='isNgModelBased'>\r\n</div>\r\n\r\n<div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]='items'\r\n valueField=\"code\"\r\n textField=\"name\"\r\n [valuePrimitive]='true'\r\n [formControlName]='controlName' />\r\n</div>\r\n" }]
7334
+ }], () => [{ type: AppContextService }], null); })();
7335
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LanguageDropdownlist, { className: "LanguageDropdownlist", filePath: "lib/ui/components/dropdownlists/language/language.dropdownlist.ts", lineNumber: 29 }); })();
7336
+
7272
7337
  /*
7273
7338
  <file>
7274
7339
  Project:
@@ -7659,7 +7724,7 @@ class TimezoneDropdownlist extends EditComponentBase {
7659
7724
  setValues() {
7660
7725
  this.appContext.jsonFilesLoaded$.subscribe({
7661
7726
  next: () => {
7662
- this.items = this.appContext.timezones.reverse();
7727
+ this.items = this.appContext.timezones?.reverse();
7663
7728
  }
7664
7729
  });
7665
7730
  if (this.isNgModelBased) {
@@ -10875,6 +10940,7 @@ const MAIN_COMPONENTS = [
10875
10940
  DataPagerComponent,
10876
10941
  //Dropdownlists
10877
10942
  CountryDropdownlist,
10943
+ LanguageDropdownlist,
10878
10944
  ModerationStatusDropdownlist,
10879
10945
  PublishStatusDropdownlist,
10880
10946
  TimezoneDropdownlist,
@@ -10891,7 +10957,7 @@ const MAIN_COMPONENTS = [
10891
10957
  LoadingComponent,
10892
10958
  UrlSlugComponent,
10893
10959
  FeatureWillBeReadyComponent,
10894
- YouAgreeToOurTermsComponent,
10960
+ YouAgreeToOurTermsComponent
10895
10961
  ];
10896
10962
 
10897
10963
  /*
@@ -11053,7 +11119,7 @@ class AnatolyUIModule {
11053
11119
  ]
11054
11120
  }]
11055
11121
  }], null, null); })();
11056
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyUIModule, { declarations: [CardComponent, CardHeaderComponent, CardBodyComponent, CardFooterComponent, CheckIconComponent, Copy2ClipboardComponent, ControlPanelComponent, DataPagerComponent, CountryDropdownlist, ModerationStatusDropdownlist, PublishStatusDropdownlist, TimezoneDropdownlist, HtmlEditorComponent, SignInButtonComponent, SignUpButtonComponent, SignOutButtonComponent, NodataComponent, NoMobileSupportComponent, PageSpinnerComponent, LoadingComponent, UrlSlugComponent, FeatureWillBeReadyComponent, YouAgreeToOurTermsComponent, ContactUsDialog, HoveringDirective, AReplacerDirective, ImageReplacerDirective, NativeElementDirective, AddressComponent, CompanyComponent, ContactUsForm, SafeHtmlPipe, ReplaceTextPipe, FileSizePipe, FormValidationSummaryComponent, ItemValidationSummaryComponent], imports: [CommonModule,
11122
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyUIModule, { declarations: [CardComponent, CardHeaderComponent, CardBodyComponent, CardFooterComponent, CheckIconComponent, Copy2ClipboardComponent, ControlPanelComponent, DataPagerComponent, CountryDropdownlist, LanguageDropdownlist, ModerationStatusDropdownlist, PublishStatusDropdownlist, TimezoneDropdownlist, HtmlEditorComponent, SignInButtonComponent, SignUpButtonComponent, SignOutButtonComponent, NodataComponent, NoMobileSupportComponent, PageSpinnerComponent, LoadingComponent, UrlSlugComponent, FeatureWillBeReadyComponent, YouAgreeToOurTermsComponent, ContactUsDialog, HoveringDirective, AReplacerDirective, ImageReplacerDirective, NativeElementDirective, AddressComponent, CompanyComponent, ContactUsForm, SafeHtmlPipe, ReplaceTextPipe, FileSizePipe, FormValidationSummaryComponent, ItemValidationSummaryComponent], imports: [CommonModule,
11057
11123
  RouterModule,
11058
11124
  ReactiveFormsModule,
11059
11125
  FormsModule,
@@ -11061,7 +11127,7 @@ class AnatolyUIModule {
11061
11127
  FERootModule,
11062
11128
  //Modules
11063
11129
  FaModule,
11064
- KendoModule], exports: [CardComponent, CardHeaderComponent, CardBodyComponent, CardFooterComponent, CheckIconComponent, Copy2ClipboardComponent, ControlPanelComponent, DataPagerComponent, CountryDropdownlist, ModerationStatusDropdownlist, PublishStatusDropdownlist, TimezoneDropdownlist, HtmlEditorComponent, SignInButtonComponent, SignUpButtonComponent, SignOutButtonComponent, NodataComponent, NoMobileSupportComponent, PageSpinnerComponent, LoadingComponent, UrlSlugComponent, FeatureWillBeReadyComponent, YouAgreeToOurTermsComponent, ContactUsDialog, HoveringDirective, AReplacerDirective, ImageReplacerDirective, NativeElementDirective, AddressComponent, CompanyComponent, ContactUsForm, SafeHtmlPipe, ReplaceTextPipe, FileSizePipe, FormValidationSummaryComponent, ItemValidationSummaryComponent] }); })();
11130
+ KendoModule], exports: [CardComponent, CardHeaderComponent, CardBodyComponent, CardFooterComponent, CheckIconComponent, Copy2ClipboardComponent, ControlPanelComponent, DataPagerComponent, CountryDropdownlist, LanguageDropdownlist, ModerationStatusDropdownlist, PublishStatusDropdownlist, TimezoneDropdownlist, HtmlEditorComponent, SignInButtonComponent, SignUpButtonComponent, SignOutButtonComponent, NodataComponent, NoMobileSupportComponent, PageSpinnerComponent, LoadingComponent, UrlSlugComponent, FeatureWillBeReadyComponent, YouAgreeToOurTermsComponent, ContactUsDialog, HoveringDirective, AReplacerDirective, ImageReplacerDirective, NativeElementDirective, AddressComponent, CompanyComponent, ContactUsForm, SafeHtmlPipe, ReplaceTextPipe, FileSizePipe, FormValidationSummaryComponent, ItemValidationSummaryComponent] }); })();
11065
11131
 
11066
11132
  /*
11067
11133
  <file>
@@ -11215,5 +11281,5 @@ class AnatolyModule {
11215
11281
  * Generated bundle index. Do not edit.
11216
11282
  */
11217
11283
 
11218
- export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingService, BillingUtils, BraintreeDialog, BrowserService, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, ControlPanelComponent, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, ImageReplacerDirective, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10nUtils, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PaypalSubscribeButtonComponent, PromoCodesApiService, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionProvider, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, formatUrl, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, is, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
11284
+ export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingService, BillingUtils, BraintreeDialog, BrowserService, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, ControlPanelComponent, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, ImageReplacerDirective, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10nUtils, LanguageDropdownlist, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PaypalSubscribeButtonComponent, PromoCodesApiService, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionProvider, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, formatUrl, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, is, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
11219
11285
  //# sourceMappingURL=osovitny-anatoly.mjs.map