@posiwise/shared-components 0.0.134 → 0.0.136

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 (43) hide show
  1. package/esm2022/index.mjs +8 -5
  2. package/esm2022/lib/custom-uploader/custom-uploader.component.mjs +4 -4
  3. package/esm2022/lib/demo-cards/demo-cards.component.mjs +36 -27
  4. package/esm2022/lib/demo-cards/demo-cards.module.mjs +44 -0
  5. package/esm2022/lib/field-error-display/field-error-display.component.mjs +3 -3
  6. package/esm2022/lib/field-error-display/field-error-display.module.mjs +23 -0
  7. package/esm2022/lib/header/header.component.mjs +7 -3
  8. package/esm2022/lib/image-cropper/image-cropper.component.mjs +3 -3
  9. package/esm2022/lib/image-cropper/profile-image-cropper.module.mjs +45 -0
  10. package/esm2022/lib/input-container/input-container.component.mjs +5 -6
  11. package/esm2022/lib/label-management/entity-group/entity-group.component.mjs +6 -6
  12. package/esm2022/lib/label-management/group-definition/group-definition.component.mjs +3 -3
  13. package/esm2022/lib/label-management/groups/groups.component.mjs +4 -4
  14. package/esm2022/lib/no-data/no-data.component.mjs +10 -6
  15. package/esm2022/lib/privacy-and-tos/privacy-and-tos.component.mjs +4 -4
  16. package/esm2022/lib/pw-tabs/pw-tabs.component.mjs +3 -3
  17. package/esm2022/lib/resource-header/resource-header.component.mjs +62 -32
  18. package/esm2022/lib/resource-header/resource-header.module.mjs +59 -0
  19. package/esm2022/lib/resource-shared-components.module.mjs +101 -0
  20. package/esm2022/lib/shared-components.module.mjs +76 -100
  21. package/fesm2022/posiwise-shared-components.mjs +766 -711
  22. package/fesm2022/posiwise-shared-components.mjs.map +1 -1
  23. package/index.d.ts +7 -4
  24. package/lib/demo-cards/demo-cards.component.d.ts +9 -8
  25. package/lib/demo-cards/demo-cards.module.d.ts +14 -0
  26. package/lib/field-error-display/field-error-display.module.d.ts +13 -0
  27. package/lib/header/header.component.d.ts +2 -0
  28. package/lib/image-cropper/profile-image-cropper.module.d.ts +19 -0
  29. package/lib/resource-header/resource-header.component.d.ts +11 -9
  30. package/lib/resource-header/resource-header.module.d.ts +17 -0
  31. package/lib/resource-shared-components.module.d.ts +22 -0
  32. package/lib/shared-components.module.d.ts +40 -46
  33. package/package.json +1 -1
  34. package/esm2022/lib/ab-test/ab-alternative/ab-alternative.component.mjs +0 -26
  35. package/esm2022/lib/ab-test/ab-test-container/ab-test-container.component.mjs +0 -46
  36. package/esm2022/lib/ab-test/ab-test.interface.mjs +0 -2
  37. package/esm2022/lib/geo-template/geo-template.component.mjs +0 -24
  38. package/esm2022/lib/lazy-loading.service.mjs +0 -111
  39. package/lib/ab-test/ab-alternative/ab-alternative.component.d.ts +0 -16
  40. package/lib/ab-test/ab-test-container/ab-test-container.component.d.ts +0 -19
  41. package/lib/ab-test/ab-test.interface.d.ts +0 -9
  42. package/lib/geo-template/geo-template.component.d.ts +0 -12
  43. package/lib/lazy-loading.service.d.ts +0 -55
@@ -1,16 +0,0 @@
1
- import { AbTestContainerComponent } from '../ab-test-container/ab-test-container.component';
2
- import * as i0 from "@angular/core";
3
- export declare class AbAlternativeComponent {
4
- name: string;
5
- /**
6
- * Specifies AbTestContainerComponent instance template reference
7
- */
8
- ref: AbTestContainerComponent;
9
- /**
10
- * If the getExperiment call fails, it can be set to show the experiment
11
- * as fallback
12
- */
13
- default: boolean;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AbAlternativeComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<AbAlternativeComponent, "ab-alternative", never, { "name": { "alias": "name"; "required": false; }; "ref": { "alias": "ref"; "required": false; }; "default": { "alias": "default"; "required": false; }; }, {}, never, ["*"], false, never>;
16
- }
@@ -1,19 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { AbTestService } from '@posiwise/common-services';
3
- import { Experiment } from '../ab-test.interface';
4
- import * as i0 from "@angular/core";
5
- export declare class AbTestContainerComponent implements OnInit {
6
- private readonly service;
7
- experimentName: string;
8
- serviceInput: string;
9
- data: Experiment;
10
- /**
11
- * Specifies boolean to show the experiment as fallback
12
- */
13
- showDefaultExperiment: boolean;
14
- constructor(service: AbTestService);
15
- ngOnInit(): void;
16
- private getExperiment;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AbTestContainerComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<AbTestContainerComponent, "pw-ab-test-container", never, { "experimentName": { "alias": "experimentName"; "required": false; }; "serviceInput": { "alias": "serviceInput"; "required": false; }; }, {}, never, ["*"], false, never>;
19
- }
@@ -1,9 +0,0 @@
1
- interface ExperimentMeta {
2
- description: string;
3
- text: string;
4
- }
5
- export interface Experiment {
6
- alternative: string;
7
- meta: ExperimentMeta;
8
- }
9
- export {};
@@ -1,12 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { GeoService } from '@posiwise/common-services';
3
- import * as i0 from "@angular/core";
4
- export declare class GeoTemplateComponent implements OnInit {
5
- private readonly geoService;
6
- data: object;
7
- constructor(geoService: GeoService);
8
- ngOnInit(): void;
9
- private getCountryByIP;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<GeoTemplateComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<GeoTemplateComponent, "pw-geo-template", never, {}, {}, never, ["*"], false, never>;
12
- }
@@ -1,55 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class LazyLoadingService {
5
- /**
6
- * Lazy load the Image Cropper component
7
- */
8
- loadImageCropper(): Observable<Type<any>>;
9
- /**
10
- * Lazy load the Date Range Picker component
11
- */
12
- loadDateRangePicker(): Observable<Type<any>>;
13
- /**
14
- * Lazy load the Date Range Picker module
15
- */
16
- loadDateRangePickerModule(): Observable<any>;
17
- /**
18
- * Lazy load the Image Cropper module
19
- */
20
- loadImageCropperModule(): Observable<any>;
21
- /**
22
- * Lazy load PrimeNG components with static imports to avoid webpack warnings
23
- */
24
- loadPrimeNGComponent(componentName: string): Observable<Type<any>>;
25
- /**
26
- * Lazy load Quill Editor
27
- */
28
- loadQuillEditor(): Observable<any>;
29
- /**
30
- * Lazy load Emoji Picker
31
- */
32
- loadEmojiPicker(): Observable<any>;
33
- /**
34
- * Lazy load FontAwesome
35
- */
36
- loadFontAwesome(): Observable<any>;
37
- /**
38
- * Lazy load Sentry (using the correct package)
39
- */
40
- loadSentry(): Observable<any>;
41
- /**
42
- * Lazy load Heavy Utilities (Lodash, Crypto-js, Moment)
43
- */
44
- loadHeavyUtils(): Observable<any>;
45
- /**
46
- * Lazy load Crypto Utils
47
- */
48
- loadCryptoUtils(): Observable<any>;
49
- /**
50
- * Lazy load Moment
51
- */
52
- loadMoment(): Observable<any>;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<LazyLoadingService, never>;
54
- static ɵprov: i0.ɵɵInjectableDeclaration<LazyLoadingService>;
55
- }