@osovitny/anatoly 3.20.0 → 3.20.2

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.
@@ -1483,6 +1483,12 @@ var SubscriptionProvider;
1483
1483
  Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
1484
1484
  </file>
1485
1485
  */
1486
+ var Mode;
1487
+ (function (Mode) {
1488
+ Mode[Mode["View"] = 1] = "View";
1489
+ Mode[Mode["Edit"] = 2] = "Edit";
1490
+ Mode[Mode["Moderation"] = 3] = "Moderation";
1491
+ })(Mode || (Mode = {}));
1486
1492
  var DataViewType;
1487
1493
  (function (DataViewType) {
1488
1494
  DataViewType["Grid"] = "grid";
@@ -4273,6 +4279,21 @@ class Utils {
4273
4279
  */
4274
4280
  //consts
4275
4281
 
4282
+ /*
4283
+ <file>
4284
+ Project:
4285
+ @osovitny/anatoly
4286
+
4287
+ Authors:
4288
+ Vadim Osovitny vadim.osovitny@osovitny.com
4289
+
4290
+ Created:
4291
+ 11 Nov 2024
4292
+
4293
+ Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
4294
+ </file>
4295
+ */
4296
+
4276
4297
  /*
4277
4298
  <file>
4278
4299
  Project:
@@ -4296,6 +4317,8 @@ class ComponentBase {
4296
4317
  this.dataLoading = true;
4297
4318
  this.dataLoaded = false;
4298
4319
  this.dataFound = false;
4320
+ //Inputs
4321
+ this.mode = Mode.View;
4299
4322
  this.title = '';
4300
4323
  this.isTitleVisible = true;
4301
4324
  this.isRequired = false;
@@ -4327,14 +4350,16 @@ class ComponentBase {
4327
4350
  this.dataFound = found;
4328
4351
  }
4329
4352
  static { this.ɵfac = function ComponentBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ComponentBase)(); }; }
4330
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentBase, selectors: [["ng-component"]], inputs: { classes: "classes", title: "title", isTitleVisible: "isTitleVisible", isRequired: "isRequired" }, decls: 0, vars: 0, template: function ComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
4353
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentBase, selectors: [["ng-component"]], inputs: { mode: "mode", classes: "classes", title: "title", isTitleVisible: "isTitleVisible", isRequired: "isRequired" }, decls: 0, vars: 0, template: function ComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
4331
4354
  }
4332
4355
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentBase, [{
4333
4356
  type: Component,
4334
4357
  args: [{
4335
4358
  template: ''
4336
4359
  }]
4337
- }], () => [], { classes: [{
4360
+ }], () => [], { mode: [{
4361
+ type: Input
4362
+ }], classes: [{
4338
4363
  type: Input
4339
4364
  }], title: [{
4340
4365
  type: Input
@@ -4343,7 +4368,7 @@ class ComponentBase {
4343
4368
  }], isRequired: [{
4344
4369
  type: Input
4345
4370
  }] }); })();
4346
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentBase, { className: "ComponentBase", filePath: "lib/ui/components/base/components/component.ts", lineNumber: 25 }); })();
4371
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentBase, { className: "ComponentBase", filePath: "lib/ui/components/base/components/component.ts", lineNumber: 26 }); })();
4347
4372
 
4348
4373
  /*
4349
4374
  <file>
@@ -5104,21 +5129,6 @@ class DialogBase extends EditComponentBase {
5104
5129
  }] }); })();
5105
5130
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DialogBase, { className: "DialogBase", filePath: "lib/ui/components/base/dialog.ts", lineNumber: 28 }); })();
5106
5131
 
5107
- /*
5108
- <file>
5109
- Project:
5110
- @osovitny/anatoly
5111
-
5112
- Authors:
5113
- Vadim Osovitny vadim.osovitny@osovitny.com
5114
-
5115
- Created:
5116
- 11 Nov 2024
5117
-
5118
- Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
5119
- </file>
5120
- */
5121
-
5122
5132
  /*
5123
5133
  <file>
5124
5134
  Project:
@@ -11309,5 +11319,5 @@ class AnatolyModule {
11309
11319
  * Generated bundle index. Do not edit.
11310
11320
  */
11311
11321
 
11312
- 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, initializeMsalFactory, is, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
11322
+ 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, 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, getAppSettingsById, getAppSettingsByName, getCurrentApp, getLocalizationInjector, initializeMsalFactory, is, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
11313
11323
  //# sourceMappingURL=osovitny-anatoly.mjs.map