@ieeesa-npm/presentation 0.30.7 → 0.31.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/esm2022/lib/assets/constants.json +2 -1
- package/esm2022/lib/components/accordion/accordion.component.mjs +2 -2
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +1 -1
- package/esm2022/lib/components/card/card.component.mjs +3 -3
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +1 -1
- package/esm2022/lib/components/chips/chips.component.mjs +2 -2
- package/esm2022/lib/components/data-table/data-table.component.mjs +4 -3
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +2 -2
- package/esm2022/lib/components/export-format-popover/export-format-popover.component.mjs +206 -0
- package/esm2022/lib/components/export-success-dialog/export-success-dialog.component.mjs +39 -0
- package/esm2022/lib/components/file-download/file-download.component.mjs +21 -12
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +2 -2
- package/esm2022/lib/components/filter/filter.component.mjs +2 -2
- package/esm2022/lib/components/form-support-text/form-support-text.component.mjs +3 -2
- package/esm2022/lib/components/header/header.component.mjs +15 -10
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +1 -1
- package/esm2022/lib/components/list/list.component.mjs +3 -2
- package/esm2022/lib/components/menu/menu.component.mjs +1 -1
- package/esm2022/lib/components/modal/modal.component.mjs +8 -6
- package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +2 -2
- package/esm2022/lib/components/modal-info/modal-info.component.mjs +41 -0
- package/esm2022/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.mjs +1 -1
- package/esm2022/lib/components/notification/notification.component.mjs +3 -2
- package/esm2022/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.mjs +58 -0
- package/esm2022/lib/components/select/select.component.mjs +1 -1
- package/esm2022/lib/components/tabs/tabs.component.mjs +1 -1
- package/esm2022/lib/components/tile/tile.component.mjs +2 -2
- package/esm2022/lib/directives/dynamic-form-field/dynamic-form-field.directive.mjs +1 -1
- package/esm2022/lib/directives/set-background/set-background.directive.mjs +4 -3
- package/esm2022/lib/models/card-button.model.mjs +1 -1
- package/esm2022/lib/models/export-format-popover.model.mjs +10 -0
- package/esm2022/lib/models/export-success-dialog.model.mjs +2 -0
- package/esm2022/lib/models/field-config.model.mjs +1 -1
- package/esm2022/lib/models/filters-options.model.mjs +1 -1
- package/esm2022/lib/models/list-item.model.mjs +1 -1
- package/esm2022/lib/models/policy-confirmation-dialog.model.mjs +2 -0
- package/esm2022/lib/pipes/safe.pipe.mjs +44 -0
- package/esm2022/lib/services/break-point-observer.service.mjs +36 -0
- package/esm2022/lib/services/file-upload.service.mjs +2 -2
- package/esm2022/public-api.mjs +12 -6
- package/fesm2022/ieeesa-npm-presentation.mjs +489 -79
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/accordion/accordion.component.d.ts +1 -1
- package/lib/components/autocomplete/autocomplete.component.d.ts +1 -1
- package/lib/components/card/card.component.d.ts +2 -2
- package/lib/components/checkbox/checkbox.component.d.ts +1 -2
- package/lib/components/chips/chips.component.d.ts +4 -9
- package/lib/components/data-table/data-table.component.d.ts +2 -3
- package/lib/components/dynamic-form/dynamic-form.component.d.ts +1 -3
- package/lib/components/export-format-popover/export-format-popover.component.d.ts +91 -0
- package/lib/components/export-success-dialog/export-success-dialog.component.d.ts +24 -0
- package/lib/components/file-download/file-download.component.d.ts +5 -4
- package/lib/components/file-upload/file-upload.component.d.ts +11 -12
- package/lib/components/filter/filter.component.d.ts +2 -4
- package/lib/components/header/header.component.d.ts +6 -6
- package/lib/components/icon-button/icon-button.component.d.ts +1 -1
- package/lib/components/list/list.component.d.ts +1 -1
- package/lib/components/menu/menu.component.d.ts +1 -1
- package/lib/components/modal/modal.component.d.ts +1 -1
- package/lib/components/modal-confirmation/modal-confirmation.component.d.ts +1 -2
- package/lib/components/modal-info/modal-info.component.d.ts +23 -0
- package/lib/components/multi-select-autocomplete/multi-select-autocomplete.component.d.ts +1 -1
- package/lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component.d.ts +36 -0
- package/lib/components/select/select.component.d.ts +1 -1
- package/lib/components/tabs/tabs.component.d.ts +1 -2
- package/lib/components/tile/tile.component.d.ts +1 -1
- package/lib/directives/dynamic-form-field/dynamic-form-field.directive.d.ts +2 -2
- package/lib/directives/set-background/set-background.directive.d.ts +1 -1
- package/lib/models/card-button.model.d.ts +1 -1
- package/lib/models/export-format-popover.model.d.ts +15 -0
- package/lib/models/export-success-dialog.model.d.ts +8 -0
- package/lib/models/field-config.model.d.ts +1 -3
- package/lib/models/filters-options.model.d.ts +1 -1
- package/lib/models/list-item.model.d.ts +1 -1
- package/lib/models/policy-confirmation-dialog.model.d.ts +9 -0
- package/lib/pipes/safe.pipe.d.ts +16 -0
- package/lib/services/break-point-observer.service.d.ts +21 -0
- package/lib/services/file-upload.service.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +10 -5
- package/src/lib/assets/constants.json +2 -1
- package/esm2022/lib/models/align-type.model.mjs +0 -11
- package/esm2022/lib/models/checkbox-option.model.mjs +0 -2
- package/esm2022/lib/models/confirmation-modal-data.model.mjs +0 -2
- package/esm2022/lib/models/icon-button.model.mjs +0 -2
- package/esm2022/lib/models/select-option.model.mjs +0 -2
- package/lib/models/align-type.model.d.ts +0 -8
- package/lib/models/checkbox-option.model.d.ts +0 -8
- package/lib/models/confirmation-modal-data.model.d.ts +0 -11
- package/lib/models/icon-button.model.d.ts +0 -8
- package/lib/models/select-option.model.d.ts +0 -5
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* SafePipe is using DomSanitizer service which helps to prevent attackers from injecting malicious client-side scripts into web pages, which is often referred to as Cross-site Scripting or XSS.
|
|
6
|
+
* @export
|
|
7
|
+
* @class SafePipe
|
|
8
|
+
* @implements {PipeTransform}
|
|
9
|
+
*/
|
|
10
|
+
export declare class SafePipe implements PipeTransform {
|
|
11
|
+
protected sanitizer: DomSanitizer;
|
|
12
|
+
constructor(sanitizer: DomSanitizer);
|
|
13
|
+
transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
|
|
15
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", true>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* BreakpointObserver utility service helps us to get the mobile view based on the configured breakpoint.
|
|
6
|
+
* @export
|
|
7
|
+
* @class BreakpointObserverService
|
|
8
|
+
*/
|
|
9
|
+
export declare class BreakpointObserverService {
|
|
10
|
+
private breakpointObserver;
|
|
11
|
+
constants: any;
|
|
12
|
+
constructor(breakpointObserver: BreakpointObserver);
|
|
13
|
+
/**
|
|
14
|
+
* Based on break point max-width it returns the Observable of BreakpointState
|
|
15
|
+
* @return {Observable<BreakpointState>}
|
|
16
|
+
* @memberof BreakpointObserverService
|
|
17
|
+
*/
|
|
18
|
+
getBreakpoint(): Observable<BreakpointState>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointObserverService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BreakpointObserverService>;
|
|
21
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './lib/components/list/list.component';
|
|
|
14
14
|
export * from './lib/components/menu/menu.component';
|
|
15
15
|
export * from './lib/components/modal/modal.component';
|
|
16
16
|
export * from './lib/components/modal-confirmation/modal-confirmation.component';
|
|
17
|
+
export * from './lib/components/modal-info/modal-info.component';
|
|
17
18
|
export * from './lib/components/navigation-menu/navigation-menu.component';
|
|
18
19
|
export * from './lib/components/notification/notification.component';
|
|
19
20
|
export * from './lib/components/radio/radio.component';
|
|
@@ -40,6 +41,9 @@ export * from './lib/components/inactive-tenant/inactive-tenant.component';
|
|
|
40
41
|
export * from './lib/components/image-preview/image-preview.component';
|
|
41
42
|
export * from './lib/components/rich-text-editor/rich-text-editor.component';
|
|
42
43
|
export * from './lib/components/multi-select-autocomplete/multi-select-autocomplete.component';
|
|
44
|
+
export * from './lib/components/export-format-popover/export-format-popover.component';
|
|
45
|
+
export * from './lib/components/policy-confirmation-dialog/policy-confirmation-dialog.component';
|
|
46
|
+
export * from './lib/components/export-success-dialog/export-success-dialog.component';
|
|
43
47
|
export * from './lib/directives/dynamic-form-field/dynamic-form-field.directive';
|
|
44
48
|
export * from './lib/directives/set-background/set-background.directive';
|
|
45
49
|
export * from './lib/directives/text-truncated/text-truncated.directive';
|
|
@@ -47,13 +51,10 @@ export * from './lib/directives/file-upload/file-upload.directive';
|
|
|
47
51
|
export * from './lib/directives/observe-dom-change/observe-dom-change.directive';
|
|
48
52
|
export * from './lib/models/accordion-info.model';
|
|
49
53
|
export * from './lib/models/align-browsed-files.model';
|
|
50
|
-
export * from './lib/models/align-type.model';
|
|
51
54
|
export * from './lib/models/allowed-file-types.model';
|
|
52
55
|
export * from './lib/models/app-config-info.model';
|
|
53
56
|
export * from './lib/models/autocomplete-option.model';
|
|
54
57
|
export * from './lib/models/calendar.model';
|
|
55
|
-
export * from './lib/models/checkbox-option.model';
|
|
56
|
-
export * from './lib/models/confirmation-modal-data.model';
|
|
57
58
|
export * from './lib/models/custom-properties.model';
|
|
58
59
|
export * from './lib/models/date-picker.model';
|
|
59
60
|
export * from './lib/models/download-file.model';
|
|
@@ -65,7 +66,6 @@ export * from './lib/models/form-field.model';
|
|
|
65
66
|
export * from './lib/models/form-grid.model';
|
|
66
67
|
export * from './lib/models/form.model';
|
|
67
68
|
export * from './lib/models/header-config.model';
|
|
68
|
-
export * from './lib/models/icon-button.model';
|
|
69
69
|
export * from './lib/models/legend.model';
|
|
70
70
|
export * from './lib/models/link-type.model';
|
|
71
71
|
export * from './lib/models/list-item.model';
|
|
@@ -74,7 +74,6 @@ export * from './lib/models/navigation-menu.model';
|
|
|
74
74
|
export * from './lib/models/radio-option.model';
|
|
75
75
|
export * from './lib/models/search.model';
|
|
76
76
|
export * from './lib/models/select-opened-state.model';
|
|
77
|
-
export * from './lib/models/select-option.model';
|
|
78
77
|
export * from './lib/models/selected-date.model';
|
|
79
78
|
export * from './lib/models/selected-time.model';
|
|
80
79
|
export * from './lib/models/tab.model';
|
|
@@ -101,7 +100,13 @@ export * from './lib/models/file-upload-presigned-url-res.model';
|
|
|
101
100
|
export * from './lib/models/file-upload-response.model';
|
|
102
101
|
export * from './lib/models/inactive-tenant.model';
|
|
103
102
|
export * from './lib/models/table-column-menu-info.model';
|
|
103
|
+
export * from './lib/models/export-format-popover.model';
|
|
104
|
+
export * from './lib/models/policy-confirmation-dialog.model';
|
|
105
|
+
export * from './lib/models/export-success-dialog.model';
|
|
104
106
|
export * from './lib/services/datepicker.service';
|
|
105
107
|
export * from './lib/services/form-utility.service';
|
|
106
108
|
export * from './lib/services/file-upload.service';
|
|
109
|
+
export * from './lib/services/break-point-observer.service';
|
|
110
|
+
export * from './lib/pipes/safe.pipe';
|
|
107
111
|
export * from './lib/presentation.module';
|
|
112
|
+
export { SelectOption, CheckboxOption, IconButton, AlignType, ConfirmationModalData, MessagePart, InfoModalData } from '@ieeesa-npm/models';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-unused-vars */
|
|
2
|
-
export var AlignType;
|
|
3
|
-
(function (AlignType) {
|
|
4
|
-
AlignType["LEFT"] = "Left";
|
|
5
|
-
AlignType["MIDDLE"] = "Middle";
|
|
6
|
-
AlignType["RIGHT"] = "Right";
|
|
7
|
-
AlignType["BOTTOM"] = "Bottom";
|
|
8
|
-
AlignType["VERTICAL"] = "Vertical";
|
|
9
|
-
AlignType["HORIZONTAL"] = "Horizontal";
|
|
10
|
-
})(AlignType || (AlignType = {}));
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxpZ24tdHlwZS5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByZXNlbnRhdGlvbi9zcmMvbGliL21vZGVscy9hbGlnbi10eXBlLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1DQUFtQztBQUNuQyxNQUFNLENBQU4sSUFBWSxTQU9YO0FBUEQsV0FBWSxTQUFTO0lBQ25CLDBCQUFhLENBQUE7SUFDYiw4QkFBaUIsQ0FBQTtJQUNqQiw0QkFBZSxDQUFBO0lBQ2YsOEJBQWlCLENBQUE7SUFDakIsa0NBQXFCLENBQUE7SUFDckIsc0NBQXlCLENBQUE7QUFDM0IsQ0FBQyxFQVBXLFNBQVMsS0FBVCxTQUFTLFFBT3BCIiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgbm8tdW51c2VkLXZhcnMgKi9cclxuZXhwb3J0IGVudW0gQWxpZ25UeXBlIHtcclxuICBMRUZUID0gJ0xlZnQnLFxyXG4gIE1JRERMRSA9ICdNaWRkbGUnLFxyXG4gIFJJR0hUID0gJ1JpZ2h0JyxcclxuICBCT1RUT00gPSAnQm90dG9tJyxcclxuICBWRVJUSUNBTCA9ICdWZXJ0aWNhbCcsXHJcbiAgSE9SSVpPTlRBTCA9ICdIb3Jpem9udGFsJyxcclxufVxyXG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtb3B0aW9uLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJlc2VudGF0aW9uL3NyYy9saWIvbW9kZWxzL2NoZWNrYm94LW9wdGlvbi5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSWNvbkJ1dHRvbiB9IGZyb20gJy4uL21vZGVscy9pY29uLWJ1dHRvbi5tb2RlbCc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIENoZWNrYm94T3B0aW9uIHtcclxuICBpZDogbnVtYmVyIHwgc3RyaW5nO1xyXG4gIG5hbWU/OiBzdHJpbmc7XHJcbiAgY2hlY2tlZDogYm9vbGVhbjtcclxuICBkaXNhYmxlZDogYm9vbGVhbjtcclxuICBjdGFCdXR0b24/OiBJY29uQnV0dG9uW107XHJcbn1cclxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybWF0aW9uLW1vZGFsLWRhdGEubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wcmVzZW50YXRpb24vc3JjL2xpYi9tb2RlbHMvY29uZmlybWF0aW9uLW1vZGFsLWRhdGEubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgTWVzc2FnZVBhcnQge1xyXG4gIHRleHQ6IHN0cmluZztcclxuICBib2xkPzogYm9vbGVhbjtcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBDb25maXJtYXRpb25Nb2RhbERhdGEge1xyXG4gIGxlZnRCdXR0b25MYWJlbDogc3RyaW5nO1xyXG4gIHJpZ2h0QnV0dG9uTGFiZWw6IHN0cmluZztcclxuICBwcm9tcHRNZXNzYWdlOiBzdHJpbmc7XHJcbiAgbWVzc2FnZVBhcnRzPzogTWVzc2FnZVBhcnRbXTtcclxuICBhY3Rpb25CdXR0b25BbGlnbjogc3RyaW5nO1xyXG59XHJcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi1idXR0b24ubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wcmVzZW50YXRpb24vc3JjL2xpYi9tb2RlbHMvaWNvbi1idXR0b24ubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSWNvbkJ1dHRvbiB7XHJcbiAgaWQ6IG51bWJlcjtcclxuICBpY29uVVJMOiBzdHJpbmc7XHJcbiAgbGFiZWw/OiBzdHJpbmc7XHJcbiAgYXJpYUxhYmVsOiBzdHJpbmc7XHJcbiAgdG9vbFRpcDogc3RyaW5nO1xyXG4gIGRpc2FibGVkPzogYm9vbGVhbjtcclxufVxyXG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW9wdGlvbi5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByZXNlbnRhdGlvbi9zcmMvbGliL21vZGVscy9zZWxlY3Qtb3B0aW9uLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFNlbGVjdE9wdGlvbiB7XHJcbiAgaWQ6IG51bWJlciB8IHN0cmluZztcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgb3B0aW9uX2dyb3Vwcz86IFNlbGVjdE9wdGlvbltdO1xyXG59XHJcbiJdfQ==
|