@kirbydesign/extensions-angular 3.1.0 → 3.2.0

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.
Files changed (38) hide show
  1. package/fesm2022/kirbydesign-extensions-angular-image-banner.mjs +11 -10
  2. package/fesm2022/kirbydesign-extensions-angular-image-banner.mjs.map +1 -1
  3. package/fesm2022/kirbydesign-extensions-angular-localization.mjs +31 -31
  4. package/fesm2022/kirbydesign-extensions-angular-localization.mjs.map +1 -1
  5. package/fesm2022/kirbydesign-extensions-angular-skeleton-loader.mjs +5 -6
  6. package/fesm2022/kirbydesign-extensions-angular-skeleton-loader.mjs.map +1 -1
  7. package/fesm2022/kirbydesign-extensions-angular.mjs.map +1 -1
  8. package/image-banner/index.d.ts +73 -2
  9. package/index.d.ts +2 -2
  10. package/localization/index.d.ts +254 -6
  11. package/package.json +13 -13
  12. package/skeleton-loader/index.d.ts +17 -1
  13. package/image-banner/image-banner-height.directive.d.ts +0 -19
  14. package/image-banner/image-banner.component.d.ts +0 -53
  15. package/localization/account-number/account-number-service-formatter.d.ts +0 -2
  16. package/localization/account-number/account-number.model.d.ts +0 -4
  17. package/localization/account-number/account-number.pipe.d.ts +0 -16
  18. package/localization/account-number/index.d.ts +0 -3
  19. package/localization/amount/amount-service-formatter.d.ts +0 -34
  20. package/localization/amount/amount.model.d.ts +0 -14
  21. package/localization/amount/amount.pipe.d.ts +0 -31
  22. package/localization/amount/amount.service.d.ts +0 -18
  23. package/localization/amount/index.d.ts +0 -4
  24. package/localization/date-time/abstract-timezone-compensating.pipe.d.ts +0 -13
  25. package/localization/date-time/date-formats.d.ts +0 -8
  26. package/localization/date-time/date-only/date-only.pipe.d.ts +0 -11
  27. package/localization/date-time/index.d.ts +0 -4
  28. package/localization/date-time/time-only/time-only.pipe.d.ts +0 -18
  29. package/localization/date-time/time-or-date/time-or-date.pipe.d.ts +0 -16
  30. package/localization/di-tokens.d.ts +0 -34
  31. package/localization/number/format-number.pipe.d.ts +0 -10
  32. package/localization/number/format-number.service.d.ts +0 -8
  33. package/localization/number/index.d.ts +0 -2
  34. package/localization/phone-number/index.d.ts +0 -3
  35. package/localization/phone-number/phone-number.d.ts +0 -4
  36. package/localization/phone-number/phone-number.pipe.d.ts +0 -18
  37. package/localization/phone-number/phone-number.service.d.ts +0 -10
  38. package/skeleton-loader/skeleton-loader.component.d.ts +0 -14
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { FormatNumberService } from './format-number.service';
3
- import * as i0 from "@angular/core";
4
- export declare class FormatNumberPipe implements PipeTransform {
5
- private formatNumberService;
6
- constructor(formatNumberService: FormatNumberService);
7
- transform(value: number, digitsInfo?: string): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FormatNumberPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<FormatNumberPipe, "formatNumber", true>;
10
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FormatNumberService {
3
- private localeId;
4
- constructor(localeId: string);
5
- formatNumber(value: number, digitsInfo: string): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FormatNumberService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<FormatNumberService>;
8
- }
@@ -1,2 +0,0 @@
1
- export * from './format-number.pipe';
2
- export * from './format-number.service';
@@ -1,3 +0,0 @@
1
- export * from './phone-number';
2
- export * from './phone-number.pipe';
3
- export * from './phone-number.service';
@@ -1,4 +0,0 @@
1
- export interface PhoneNumber {
2
- countryCode: string;
3
- number: string;
4
- }
@@ -1,18 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { PhoneNumber } from './phone-number';
3
- import { PhoneNumberService } from './phone-number.service';
4
- import * as i0 from "@angular/core";
5
- export declare class PhoneNumberPipe implements PipeTransform {
6
- private phoneNumberService;
7
- constructor(phoneNumberService: PhoneNumberService);
8
- /**
9
- * Transforms a phone number, chunked up with spaces between the chunks and the country code in front, if desired.
10
- *
11
- * @param phoneNumber A PhoneNumber or a string representation of a phone number
12
- * @param chunk The chunk size used to split up the phone number with spaces
13
- * @param showCountryCode Show the country code in front of the phone number. If a string representation is supplied, the KIRBY_EXTENSIONS_LOCALIZATION_TOKEN.countryCode is used.
14
- */
15
- transform(phoneNumber: PhoneNumber | string, chunk?: number, showCountryCode?: boolean): string | undefined;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PhoneNumberPipe, never>;
17
- static ɵpipe: i0.ɵɵPipeDeclaration<PhoneNumberPipe, "phoneNumber", true>;
18
- }
@@ -1,10 +0,0 @@
1
- import { PhoneNumber } from './phone-number';
2
- import * as i0 from "@angular/core";
3
- export declare class PhoneNumberService {
4
- private config;
5
- private locale;
6
- private static chunkUpPhoneNumber;
7
- formatPhoneNumber(phoneNumber: PhoneNumber | string, chunk?: number, showCountryCode?: boolean): string | undefined;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<PhoneNumberService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<PhoneNumberService>;
10
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SkeletonLoaderComponent {
3
- /**
4
- * The theme for the skeleton loader to use for gradient color. Theme is automatically set when used inside a themed kirby-card.
5
- */
6
- theme: 'light' | 'dark';
7
- /**
8
- * The shape of the skeleton loader.
9
- */
10
- shape: 'rectangle' | 'circle' | 'pill';
11
- get _cssClass(): ("light" | "dark" | "rectangle" | "circle" | "pill")[];
12
- static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonLoaderComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonLoaderComponent, "kirby-x-skeleton-loader", never, { "theme": { "alias": "theme"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; }, {}, never, never, true, never>;
14
- }