@abp/ng.theme.shared 9.3.6 → 9.3.7

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.
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { NgbDateStruct, NgbTimeStruct, NgbDateAdapter, NgbTimeAdapter, NgbModal, NgbModalOptions, NgbModalRef, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
1
+ import { NgbDateStruct, NgbTimeStruct, NgbDateAdapter, NgbDatepickerI18n, NgbTimeAdapter, NgbTimepickerI18n, NgbModal, NgbModalOptions, NgbModalRef, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
2
2
  import * as i0 from '@angular/core';
3
3
  import { OnInit, ChangeDetectorRef, EventEmitter, ElementRef, Renderer2, InjectionToken, Type, Injector, AfterViewInit, OnDestroy, DestroyRef, ApplicationRef, EnvironmentInjector, RendererFactory2, ComponentRef, TemplateRef, ViewContainerRef, ComponentFactoryResolver, OnChanges, DoCheck, SimpleChanges, Provider, ModuleWithProviders } from '@angular/core';
4
4
  import * as _angular_animations from '@angular/animations';
@@ -30,6 +30,19 @@ declare class DateAdapter extends NgbDateAdapter<string | Date> {
30
30
  static ɵprov: i0.ɵɵInjectableDeclaration<DateAdapter>;
31
31
  }
32
32
 
33
+ declare class DatepickerI18nAdapter extends NgbDatepickerI18n {
34
+ private configState;
35
+ private defaultLocale;
36
+ private get locale();
37
+ getWeekdayLabel(weekday: number): string;
38
+ getWeekLabel(): string;
39
+ getMonthShortName(month: number): string;
40
+ getMonthFullName(month: number): string;
41
+ getDayAriaLabel(date: NgbDateStruct): string;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerI18nAdapter, never>;
43
+ static ɵprov: i0.ɵɵInjectableDeclaration<DatepickerI18nAdapter>;
44
+ }
45
+
33
46
  declare class TimeAdapter extends NgbTimeAdapter<string | Date> {
34
47
  fromModel(value: string | Date): NgbTimeStruct | null;
35
48
  toModel(value: NgbTimeStruct | null): string;
@@ -37,6 +50,16 @@ declare class TimeAdapter extends NgbTimeAdapter<string | Date> {
37
50
  static ɵprov: i0.ɵɵInjectableDeclaration<TimeAdapter>;
38
51
  }
39
52
 
53
+ declare class TimepickerI18nAdapter extends NgbTimepickerI18n {
54
+ private configState;
55
+ private defaultLocale;
56
+ private get locale();
57
+ getMorningPeriod(): string;
58
+ getAfternoonPeriod(): string;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerI18nAdapter, never>;
60
+ static ɵprov: i0.ɵɵInjectableDeclaration<TimepickerI18nAdapter>;
61
+ }
62
+
40
63
  declare const bounceIn: _angular_animations.AnimationReferenceMetadata;
41
64
 
42
65
  declare const collapseY: _angular_animations.AnimationReferenceMetadata;
@@ -907,7 +930,13 @@ declare class ErrorHandler {
907
930
  static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandler>;
908
931
  }
909
932
 
910
- declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: i0.EnvironmentProviders[];
933
+ declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: (i0.EnvironmentProviders | {
934
+ provide: typeof NgbDatepickerI18n;
935
+ useClass: typeof DatepickerI18nAdapter;
936
+ } | {
937
+ provide: typeof NgbTimepickerI18n;
938
+ useClass: typeof TimepickerI18nAdapter;
939
+ })[];
911
940
  declare function configureNgBootstrap(): void;
912
941
 
913
942
  declare const THEME_SHARED_ROUTE_PROVIDERS: i0.EnvironmentProviders[];
@@ -1069,5 +1098,5 @@ declare const HTTP_ERROR_DETAIL: {
1069
1098
  '500': string;
1070
1099
  };
1071
1100
 
1072
- export { AbpAuthenticationErrorHandler, AbpFormatErrorHandlerService, AbpVisibleDirective, BaseThemeSharedModule, BreadcrumbComponent, BreadcrumbItemsComponent, ButtonComponent, CARD_COMPONENTS, CARD_DIRECTIVES, CONFIRMATION_ICONS, CUSTOM_ERROR_HANDLERS, CUSTOM_HTTP_ERROR_HANDLER_PRIORITY, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardHeaderDirective, CardImgTopDirective, CardModule, CardSubtitleDirective, CardTitleDirective, Confirmation, ConfirmationComponent, ConfirmationService, CreateErrorComponentService, DEFAULT_CONFIRMATION_ICONS, DEFAULT_ERROR_LOCALIZATIONS, DEFAULT_ERROR_MESSAGES, DEFAULT_HANDLERS_PROVIDERS, DEFAULT_VALIDATION_BLUEPRINTS, DateAdapter, DateParserFormatter, DateTimeAdapter, DisabledDirective, DocumentDirHandlerService, EllipsisDirective, ErrorHandler, FormCheckboxComponent, FormInputComponent, HTTP_ERROR_CONFIG, HTTP_ERROR_DETAIL, HTTP_ERROR_HANDLER, HTTP_ERROR_STATUS, HttpErrorWrapperComponent, InternetConnectionStatusComponent, LoaderBarComponent, LoadingComponent, LoadingDirective, ModalCloseDirective, ModalComponent, ModalRefService, NGX_DATATABLE_MESSAGES, NG_BOOTSTRAP_CONFIG_PROVIDERS, NavItem, NavItemsService, NgxDatatableDefaultDirective, NgxDatatableListDirective, PageAlertService, PasswordComponent, RouterErrorHandlerService, SUPPRESS_UNSAVED_CHANGES_WARNING, SpinnerComponent, Statistics, StatusCodeErrorHandlerService, THEME_SHARED_APPEND_CONTENT, THEME_SHARED_EXPORTS, THEME_SHARED_ROUTE_PROVIDERS, TenantResolveErrorHandlerService, ThemeSharedFeatureKind, ThemeSharedModule, TimeAdapter, ToastComponent, ToastContainerComponent, Toaster, ToasterService, UnknownStatusCodeErrorHandlerService, UserMenu, UserMenuService, bounceIn, collapse, collapseLinearWithMargin, collapseWithMargin, collapseX, collapseY, collapseYWithMargin, configureNgBootstrap, configureRoutes, defaultNgxDatatableMessages, dialogAnimation, eFormComponets, eThemeSharedRouteNames, expandX, expandY, expandYWithMargin, fadeAnimation, fadeIn, fadeInDown, fadeInLeft, fadeInRight, fadeInUp, fadeOut, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUp, getErrorFromRequestBody, getPasswordValidators, provideAbpThemeShared, slideFromBottom, tenantNotFoundProvider, toastInOut, validatePassword, withConfirmationIcon, withHttpErrorConfig, withValidateOnSubmit, withValidationBluePrint, withValidationMapErrorsFn };
1101
+ export { AbpAuthenticationErrorHandler, AbpFormatErrorHandlerService, AbpVisibleDirective, BaseThemeSharedModule, BreadcrumbComponent, BreadcrumbItemsComponent, ButtonComponent, CARD_COMPONENTS, CARD_DIRECTIVES, CONFIRMATION_ICONS, CUSTOM_ERROR_HANDLERS, CUSTOM_HTTP_ERROR_HANDLER_PRIORITY, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardHeaderDirective, CardImgTopDirective, CardModule, CardSubtitleDirective, CardTitleDirective, Confirmation, ConfirmationComponent, ConfirmationService, CreateErrorComponentService, DEFAULT_CONFIRMATION_ICONS, DEFAULT_ERROR_LOCALIZATIONS, DEFAULT_ERROR_MESSAGES, DEFAULT_HANDLERS_PROVIDERS, DEFAULT_VALIDATION_BLUEPRINTS, DateAdapter, DateParserFormatter, DateTimeAdapter, DatepickerI18nAdapter, DisabledDirective, DocumentDirHandlerService, EllipsisDirective, ErrorHandler, FormCheckboxComponent, FormInputComponent, HTTP_ERROR_CONFIG, HTTP_ERROR_DETAIL, HTTP_ERROR_HANDLER, HTTP_ERROR_STATUS, HttpErrorWrapperComponent, InternetConnectionStatusComponent, LoaderBarComponent, LoadingComponent, LoadingDirective, ModalCloseDirective, ModalComponent, ModalRefService, NGX_DATATABLE_MESSAGES, NG_BOOTSTRAP_CONFIG_PROVIDERS, NavItem, NavItemsService, NgxDatatableDefaultDirective, NgxDatatableListDirective, PageAlertService, PasswordComponent, RouterErrorHandlerService, SUPPRESS_UNSAVED_CHANGES_WARNING, SpinnerComponent, Statistics, StatusCodeErrorHandlerService, THEME_SHARED_APPEND_CONTENT, THEME_SHARED_EXPORTS, THEME_SHARED_ROUTE_PROVIDERS, TenantResolveErrorHandlerService, ThemeSharedFeatureKind, ThemeSharedModule, TimeAdapter, TimepickerI18nAdapter, ToastComponent, ToastContainerComponent, Toaster, ToasterService, UnknownStatusCodeErrorHandlerService, UserMenu, UserMenuService, bounceIn, collapse, collapseLinearWithMargin, collapseWithMargin, collapseX, collapseY, collapseYWithMargin, configureNgBootstrap, configureRoutes, defaultNgxDatatableMessages, dialogAnimation, eFormComponets, eThemeSharedRouteNames, expandX, expandY, expandYWithMargin, fadeAnimation, fadeIn, fadeInDown, fadeInLeft, fadeInRight, fadeInUp, fadeOut, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUp, getErrorFromRequestBody, getPasswordValidators, provideAbpThemeShared, slideFromBottom, tenantNotFoundProvider, toastInOut, validatePassword, withConfirmationIcon, withHttpErrorConfig, withValidateOnSubmit, withValidationBluePrint, withValidationMapErrorsFn };
1073
1102
  export type { Badge, ConfirmationIcons, CustomHttpErrorHandlerService, DismissableModal, ErrorScreenErrorCodes, HttpErrorConfig, HttpErrorHandler, LocaleDirection, ModalDismissMode, ModalSize, NavBarPropPredicate, NgxDatatableMessages, PageAlert, PasswordRule, RootParams, ThemeSharedFeature, ToasterContract, UserMenuTextTemplate };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abp/ng.theme.shared",
3
- "version": "9.3.6",
3
+ "version": "9.3.7",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/ng.core": "~9.3.6",
10
+ "@abp/ng.core": "~9.3.7",
11
11
  "@fortawesome/fontawesome-free": "^6.0.0",
12
12
  "@ng-bootstrap/ng-bootstrap": "~19.0.0",
13
13
  "@ngx-validate/core": "^0.2.0",