@abp/ng.theme.shared 10.0.0-rc.3 → 10.0.1

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, InjectionToken, Type, Injector, AfterViewInit, OnDestroy, DestroyRef, ApplicationRef, EnvironmentInjector, RendererFactory2, ComponentRef, TemplateRef, OnChanges, DoCheck, ViewContainerRef, Renderer2, SimpleChanges, Provider, EnvironmentProviders, 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;
@@ -888,7 +911,13 @@ declare class ErrorHandler {
888
911
  static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandler>;
889
912
  }
890
913
 
891
- declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: i0.EnvironmentProviders[];
914
+ declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: (i0.EnvironmentProviders | {
915
+ provide: typeof NgbDatepickerI18n;
916
+ useClass: typeof DatepickerI18nAdapter;
917
+ } | {
918
+ provide: typeof NgbTimepickerI18n;
919
+ useClass: typeof TimepickerI18nAdapter;
920
+ })[];
892
921
  declare function configureNgBootstrap(): void;
893
922
 
894
923
  declare const THEME_SHARED_ROUTE_PROVIDERS: i0.EnvironmentProviders[];
@@ -1063,5 +1092,5 @@ declare const HTTP_ERROR_DETAIL: {
1063
1092
  '500': string;
1064
1093
  };
1065
1094
 
1066
- 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, LOGO_APP_NAME_TOKEN, LOGO_URL_TOKEN, LoaderBarComponent, LoadingComponent, LoadingDirective, LogoFeatureKind, 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, provideLogo, slideFromBottom, tenantNotFoundProvider, toastInOut, validatePassword, withConfirmationIcon, withEnvironmentOptions, withHttpErrorConfig, withValidateOnSubmit, withValidationBluePrint, withValidationMapErrorsFn };
1095
+ 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, LOGO_APP_NAME_TOKEN, LOGO_URL_TOKEN, LoaderBarComponent, LoadingComponent, LoadingDirective, LogoFeatureKind, 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, provideLogo, slideFromBottom, tenantNotFoundProvider, toastInOut, validatePassword, withConfirmationIcon, withEnvironmentOptions, withHttpErrorConfig, withValidateOnSubmit, withValidationBluePrint, withValidationMapErrorsFn };
1067
1096
  export type { Badge, ConfirmationIcons, CustomHttpErrorHandlerService, DismissableModal, ErrorScreenErrorCodes, HttpErrorConfig, HttpErrorHandler, LocaleDirection, LogoFeature, 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": "10.0.0-rc.3",
3
+ "version": "10.0.1",
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": "~10.0.0-rc.3",
10
+ "@abp/ng.core": "~10.0.1",
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",