@ieeesa-npm/presentation 0.1.3 → 0.1.5
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/components/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/components/date-picker-header/date-picker-header.component.mjs +3 -3
- package/esm2022/lib/components/dynamic-form/dynamic-form.component.mjs +3 -3
- package/esm2022/lib/components/footer/footer.component.mjs +3 -3
- package/esm2022/lib/components/form-error/form-error.component.mjs +3 -3
- package/esm2022/lib/components/header/header.component.mjs +3 -3
- package/esm2022/lib/components/input/input.component.mjs +3 -3
- package/esm2022/lib/components/modal/modal.component.mjs +4 -4
- package/esm2022/lib/components/modal-confirmation/modal-confirmation.component.mjs +42 -0
- package/esm2022/lib/components/navigation-menu/navigation-menu.component.mjs +3 -3
- package/esm2022/lib/components/radio/radio.component.mjs +3 -3
- package/esm2022/lib/components/search/search.component.mjs +3 -3
- package/esm2022/lib/components/select/select.component.mjs +3 -3
- package/esm2022/lib/components/text-area/text-area.component.mjs +3 -3
- package/esm2022/lib/components/toggle-button/toggle-button.component.mjs +3 -3
- package/esm2022/public-api.mjs +18 -20
- package/fesm2022/ieeesa-npm-presentation.mjs +279 -244
- package/fesm2022/ieeesa-npm-presentation.mjs.map +1 -1
- package/lib/components/modal-confirmation/modal-confirmation.component.d.ts +23 -0
- package/package.json +3 -2
- package/public-api.d.ts +17 -19
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
2
|
+
import { ConfirmationModalData } from "../../models/confirmation-modal-data.model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* ModalConfirmationComponent is used to get user confirmation and this component should be invoked by using Angular material MatDialog open method.
|
|
6
|
+
* @usageNotes -Pass ModalConfirmationComponent and data options as parameters to MatDialog open method as given below
|
|
7
|
+
this.dialog.open(ModalConfirmationComponent, {data: {}})
|
|
8
|
+
* @class ModalConfirmationComponent
|
|
9
|
+
*/
|
|
10
|
+
export declare class ModalConfirmationComponent {
|
|
11
|
+
confirmationModalData: ConfirmationModalData;
|
|
12
|
+
private dialogRef;
|
|
13
|
+
constructor(confirmationModalData: ConfirmationModalData, dialogRef: MatDialogRef<ModalConfirmationComponent>);
|
|
14
|
+
/**
|
|
15
|
+
* Handles the user confirmation and emits the confirmation value using the confirmationEvent.
|
|
16
|
+
* @param {boolean} confirmation -A boolean value indicating whether the user confirmed (true) or canceled (false) the action.
|
|
17
|
+
* @memberof ModalConfirmationComponent
|
|
18
|
+
* @returns - returns nothing
|
|
19
|
+
*/
|
|
20
|
+
onConfirm(confirmation: boolean): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalConfirmationComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalConfirmationComponent, "ieeesa-modal-confirmation", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ieeesa-npm/presentation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.1.0",
|
|
6
6
|
"@angular/core": "^16.1.0",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"moment": "^2.29.4",
|
|
19
19
|
"rxjs": "~7.8.0",
|
|
20
20
|
"zone.js": "~0.13.0",
|
|
21
|
-
"@ieeesa-npm/shared-styles": "^0.0.2"
|
|
21
|
+
"@ieeesa-npm/shared-styles": "^0.0.2",
|
|
22
|
+
"@ieeesa-npm/feature": "^0.1.1"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
25
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -1,41 +1,39 @@
|
|
|
1
|
+
export * from './lib/components/autocomplete/autocomplete.component';
|
|
2
|
+
export * from './lib/components/checkbox/checkbox.component';
|
|
3
|
+
export * from './lib/components/date-picker/date-picker.component';
|
|
4
|
+
export * from './lib/components/date-picker-header/date-picker-header.component';
|
|
1
5
|
export * from './lib/components/dynamic-form/dynamic-form.component';
|
|
2
|
-
export * from './lib/
|
|
6
|
+
export * from './lib/components/footer/footer.component';
|
|
3
7
|
export * from './lib/components/form-error/form-error.component';
|
|
4
|
-
export * from './lib/components/
|
|
8
|
+
export * from './lib/components/header/header.component';
|
|
5
9
|
export * from './lib/components/input/input.component';
|
|
6
|
-
export * from './lib/components/
|
|
10
|
+
export * from './lib/components/modal/modal.component';
|
|
11
|
+
export * from './lib/components/modal-confirmation/modal-confirmation.component';
|
|
12
|
+
export * from './lib/components/navigation-menu/navigation-menu.component';
|
|
13
|
+
export * from './lib/components/notification/notification.component';
|
|
7
14
|
export * from './lib/components/radio/radio.component';
|
|
8
|
-
export * from './lib/components/checkbox/checkbox.component';
|
|
9
|
-
export * from './lib/components/autocomplete/autocomplete.component';
|
|
10
15
|
export * from './lib/components/search/search.component';
|
|
11
|
-
export * from './lib/components/date-picker/date-picker.component';
|
|
12
|
-
export * from './lib/components/date-picker-header/date-picker-header.component';
|
|
13
16
|
export * from './lib/components/select/select.component';
|
|
14
|
-
export * from './lib/components/
|
|
15
|
-
export * from './lib/components/footer/footer.component';
|
|
16
|
-
export * from './lib/components/navigation-menu/navigation-menu.component';
|
|
17
|
-
export * from './lib/components/modal/modal.component';
|
|
17
|
+
export * from './lib/components/text-area/text-area.component';
|
|
18
18
|
export * from './lib/components/toggle-button/toggle-button.component';
|
|
19
19
|
export * from './lib/directives/dynamic-form-field/dynamic-form-field.directive';
|
|
20
|
-
export * from './lib/models/field-config.model';
|
|
21
|
-
export * from './lib/models/form-field.model';
|
|
22
|
-
export * from './lib/models/search.model';
|
|
23
|
-
export * from './lib/models/select-option.model';
|
|
24
|
-
export * from './lib/models/checkbox-option.model';
|
|
25
20
|
export * from './lib/models/autocomplete-option.model';
|
|
26
21
|
export * from './lib/models/calendar.model';
|
|
27
|
-
export * from './lib/models/
|
|
22
|
+
export * from './lib/models/checkbox-option.model';
|
|
28
23
|
export * from './lib/models/confirmation-modal-data.model';
|
|
29
24
|
export * from './lib/models/date-picker.model';
|
|
25
|
+
export * from './lib/models/field-config.model';
|
|
30
26
|
export * from './lib/models/footer-config.model';
|
|
31
27
|
export * from './lib/models/form-control-types.model';
|
|
28
|
+
export * from './lib/models/form-field.model';
|
|
32
29
|
export * from './lib/models/form-grid.model';
|
|
33
30
|
export * from './lib/models/form.model';
|
|
34
31
|
export * from './lib/models/header-config.model';
|
|
35
32
|
export * from './lib/models/navigation-menu.model';
|
|
33
|
+
export * from './lib/models/radio-option.model';
|
|
34
|
+
export * from './lib/models/search.model';
|
|
35
|
+
export * from './lib/models/select-option.model';
|
|
36
36
|
export * from './lib/models/toggle-button.model';
|
|
37
|
-
export * from './lib/services/form-utility.service';
|
|
38
37
|
export * from './lib/services/datepicker.service';
|
|
39
38
|
export * from './lib/services/form-utility.service';
|
|
40
|
-
export * from './lib/services/datepicker.service';
|
|
41
39
|
export * from './lib/presentation.module';
|