@osovitny/anatoly 3.20.40 → 3.20.42

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.
@@ -1328,6 +1328,67 @@ var ModerationStatus;
1328
1328
  ModerationStatus[ModerationStatus["Rejected"] = 4] = "Rejected"; //item is rejected by Moderator
1329
1329
  })(ModerationStatus || (ModerationStatus = {}));
1330
1330
 
1331
+ /*
1332
+ <file>
1333
+ Project:
1334
+ @osovitny/anatoly
1335
+
1336
+ Authors:
1337
+ Vadim Osovitny vadim.osovitny@osovitny.com
1338
+ Anatoly Osovitny anatoly.osovitny@osovitny.com
1339
+
1340
+ Created:
1341
+ 26 Jun 2020
1342
+
1343
+ Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
1344
+ </file>
1345
+ */
1346
+ class Subs {
1347
+ constructor() {
1348
+ this.subs = [];
1349
+ }
1350
+ add(...subscriptions) {
1351
+ this.subs = this.subs.concat(subscriptions);
1352
+ }
1353
+ set sink(subscription) {
1354
+ this.subs.push(subscription);
1355
+ }
1356
+ unsubscribe() {
1357
+ this.subs.forEach((sub) => sub && sub.unsubscribe());
1358
+ this.subs = [];
1359
+ }
1360
+ }
1361
+
1362
+ /*
1363
+ <file>
1364
+ Project:
1365
+ @osovitny/anatoly
1366
+
1367
+ Authors:
1368
+ Vadim Osovitny vadim.osovitny@osovitny.com
1369
+
1370
+ Created:
1371
+ 17 Dec 2025
1372
+
1373
+ Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
1374
+ </file>
1375
+ */
1376
+ //Node
1377
+ class ServiceBase {
1378
+ constructor() {
1379
+ //protected
1380
+ this.subs = new Subs();
1381
+ }
1382
+ ngOnDestroy() {
1383
+ this.subs.unsubscribe();
1384
+ }
1385
+ static { this.ɵfac = function ServiceBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ServiceBase)(); }; }
1386
+ static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ServiceBase, factory: ServiceBase.ɵfac }); }
1387
+ }
1388
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ServiceBase, [{
1389
+ type: Injectable
1390
+ }], () => [], null); })();
1391
+
1331
1392
  /*
1332
1393
  <file>
1333
1394
  Project:
@@ -1343,11 +1404,13 @@ var ModerationStatus;
1343
1404
  </file>
1344
1405
  */
1345
1406
  //Node
1346
- class GoServiceBase {
1407
+ class GoServiceBase extends ServiceBase {
1347
1408
  constructor(route, router) {
1409
+ super();
1348
1410
  this.route = route;
1349
1411
  this.router = router;
1350
1412
  this.initialized = false;
1413
+ //protected
1351
1414
  this.isDevMode = false;
1352
1415
  }
1353
1416
  ensureInitialized() {
@@ -2677,37 +2740,6 @@ class StarterGuard {
2677
2740
  type: Injectable
2678
2741
  }], () => [{ type: StarterService }], null); })();
2679
2742
 
2680
- /*
2681
- <file>
2682
- Project:
2683
- @osovitny/anatoly
2684
-
2685
- Authors:
2686
- Vadim Osovitny vadim.osovitny@osovitny.com
2687
- Anatoly Osovitny anatoly.osovitny@osovitny.com
2688
-
2689
- Created:
2690
- 26 Jun 2020
2691
-
2692
- Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
2693
- </file>
2694
- */
2695
- class Subs {
2696
- constructor() {
2697
- this.subs = [];
2698
- }
2699
- add(...subscriptions) {
2700
- this.subs = this.subs.concat(subscriptions);
2701
- }
2702
- set sink(subscription) {
2703
- this.subs.push(subscription);
2704
- }
2705
- unsubscribe() {
2706
- this.subs.forEach((sub) => sub && sub.unsubscribe());
2707
- this.subs = [];
2708
- }
2709
- }
2710
-
2711
2743
  /*
2712
2744
  <file>
2713
2745
  Project:
@@ -11643,5 +11675,5 @@ class AnatolyModule {
11643
11675
  * Generated bundle index. Do not edit.
11644
11676
  */
11645
11677
 
11646
- export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, 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$1 as InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10nUtils, LanguageDropdownlist, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationModule, LocalizationService, LocalizePipe, LoggingService, MSALUtils, Message2User, Message2UserComponent, Message2UserService, Mode, 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, getAppCoreSettings, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, is, resetAppCoreSettings, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
11678
+ export { AReplacerDirective, AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, 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$1 as InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10nUtils, LanguageDropdownlist, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationModule, LocalizationService, LocalizePipe, LoggingService, MSALUtils, Message2User, Message2UserComponent, Message2UserService, Mode, 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, ServiceBase, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionProvider, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, formatUrl, getAppCoreSettings, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, is, resetAppCoreSettings, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
11647
11679
  //# sourceMappingURL=osovitny-anatoly.mjs.map