@testgorilla/tgo-ui 0.0.33 → 1.0.2
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/components/alert-banner/alert-banner.component.d.ts +66 -0
- package/components/alert-banner/alert-banner.component.module.d.ts +10 -0
- package/components/alert-banner/alert-banner.model.d.ts +1 -0
- package/components/banner-action/banner-action.component.d.ts +23 -17
- package/components/banner-action/banner-action.component.module.d.ts +3 -3
- package/components/button/button.component.d.ts +57 -11
- package/components/button/button.component.module.d.ts +2 -2
- package/components/button/button.model.d.ts +4 -2
- package/components/card/card.component.d.ts +1 -1
- package/components/checkbox/checkbox.component.d.ts +87 -0
- package/components/checkbox/checkbox.component.module.d.ts +10 -0
- package/components/create-account/create-account.component.d.ts +16 -4
- package/components/create-account/create-account.component.module.d.ts +2 -2
- package/components/create-account/create-account.constant.d.ts +1 -0
- package/components/create-account/create-account.model.d.ts +1 -0
- package/components/create-password/create-password.component.d.ts +4 -4
- package/components/dialog/dialog.component.d.ts +45 -6
- package/components/dialog/dialog.component.module.d.ts +4 -7
- package/components/dialog/dialog.service.d.ts +2 -5
- package/components/elevation-shadow/elevation-shadow.component.d.ts +14 -0
- package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
- package/components/elevation-shadow/elevation-shadow.constant.d.ts +4 -0
- package/components/field/field.component.d.ts +40 -37
- package/components/field/field.component.module.d.ts +3 -2
- package/components/field/field.model.d.ts +1 -0
- package/components/file-upload/file-upload.component.d.ts +68 -0
- package/components/file-upload/file-upload.component.module.d.ts +13 -0
- package/components/forgot-password/forgot-password.component.d.ts +4 -4
- package/components/icon/icon.component.d.ts +44 -0
- package/components/icon/icon.component.module.d.ts +10 -0
- package/components/icon/icon.config.d.ts +1 -0
- package/components/icon/icon.model.d.ts +4 -0
- package/components/icon-label/icon-label.component.d.ts +29 -0
- package/components/icon-label/icon-label.component.module.d.ts +9 -0
- package/components/label/label.component.d.ts +1 -1
- package/components/login/login.component.d.ts +4 -4
- package/components/login/login.component.module.d.ts +2 -2
- package/components/logo/logo.component.d.ts +25 -2
- package/components/logo/logo.model.d.ts +10 -0
- package/components/navbar/navbar.component.d.ts +1 -1
- package/components/navigation/navigation.component.d.ts +1 -1
- package/components/paginator/paginator.component.d.ts +1 -1
- package/components/progress-bar/progress-bar.component.d.ts +16 -12
- package/components/radio-button/radio-button.component.d.ts +84 -0
- package/components/radio-button/radio-button.component.module.d.ts +10 -0
- package/components/radio-button/radio-button.model.d.ts +4 -0
- package/components/snackbar/snackbar.component.d.ts +55 -0
- package/components/snackbar/snackbar.component.module.d.ts +10 -0
- package/components/snackbar/snackbar.model.d.ts +1 -0
- package/components/table/directives/dynamic-component.directive.d.ts +1 -1
- package/components/table/pipes/data-property-getter.d.ts +1 -1
- package/components/table/table.component.d.ts +3 -3
- package/components/table/table.model.d.ts +1 -1
- package/components/tag/tag.component.d.ts +20 -0
- package/components/tag/tag.component.module.d.ts +8 -0
- package/components/tag/tag.model.d.ts +1 -0
- package/components/tooltip/tooltip.component.d.ts +25 -0
- package/components/tooltip/tooltip.component.module.d.ts +8 -0
- package/components/tooltip/tooltip.model.d.ts +6 -0
- package/directives/drag-drop.directive.d.ts +12 -0
- package/esm2020/components/alert-banner/alert-banner.component.mjs +98 -0
- package/esm2020/components/alert-banner/alert-banner.component.module.mjs +21 -0
- package/esm2020/components/alert-banner/alert-banner.model.mjs +2 -0
- package/esm2020/components/banner-action/banner-action.component.mjs +42 -21
- package/esm2020/components/banner-action/banner-action.component.module.mjs +7 -7
- package/esm2020/components/button/button.component.mjs +97 -16
- package/esm2020/components/button/button.component.module.mjs +7 -7
- package/esm2020/components/button/button.model.mjs +1 -1
- package/esm2020/components/card/card.component.mjs +5 -5
- package/esm2020/components/card/card.component.module.mjs +5 -5
- package/esm2020/components/checkbox/checkbox.component.mjs +151 -0
- package/esm2020/components/checkbox/checkbox.component.module.mjs +20 -0
- package/esm2020/components/create-account/create-account.component.mjs +46 -27
- package/esm2020/components/create-account/create-account.component.module.mjs +15 -17
- package/esm2020/components/create-account/create-account.constant.mjs +3 -2
- package/esm2020/components/create-account/create-account.model.mjs +1 -1
- package/esm2020/components/create-password/create-password.component.mjs +16 -16
- package/esm2020/components/create-password/create-password.component.module.mjs +11 -13
- package/esm2020/components/dialog/dialog.component.mjs +92 -23
- package/esm2020/components/dialog/dialog.component.module.mjs +10 -13
- package/esm2020/components/dialog/dialog.service.mjs +6 -10
- package/esm2020/components/elevation-shadow/elevation-shadow.component.mjs +25 -0
- package/esm2020/components/elevation-shadow/elevation-shadow.component.module.mjs +18 -0
- package/esm2020/components/elevation-shadow/elevation-shadow.constant.mjs +6 -0
- package/esm2020/components/field/field.component.mjs +97 -35
- package/esm2020/components/field/field.component.module.mjs +28 -7
- package/esm2020/components/field/field.model.mjs +2 -0
- package/esm2020/components/file-upload/file-upload.component.mjs +183 -0
- package/esm2020/components/file-upload/file-upload.component.module.mjs +24 -0
- package/esm2020/components/forgot-password/forgot-password.component.mjs +17 -17
- package/esm2020/components/forgot-password/forgot-password.component.module.mjs +11 -13
- package/esm2020/components/icon/icon.component.mjs +69 -0
- package/esm2020/components/icon/icon.component.module.mjs +21 -0
- package/esm2020/components/icon/icon.config.mjs +146 -0
- package/esm2020/components/icon/icon.model.mjs +2 -0
- package/esm2020/components/icon-label/icon-label.component.mjs +34 -0
- package/esm2020/components/icon-label/icon-label.component.module.mjs +20 -0
- package/esm2020/components/label/label.component.mjs +4 -4
- package/esm2020/components/label/label.component.module.mjs +5 -5
- package/esm2020/components/login/login.component.mjs +14 -14
- package/esm2020/components/login/login.component.module.mjs +14 -16
- package/esm2020/components/logo/logo.component.mjs +51 -8
- package/esm2020/components/logo/logo.component.module.mjs +5 -5
- package/esm2020/components/logo/logo.model.mjs +14 -0
- package/esm2020/components/navbar/navbar.component.mjs +10 -10
- package/esm2020/components/navbar/navbar.component.module.mjs +11 -13
- package/esm2020/components/navigation/navigation.component.mjs +7 -7
- package/esm2020/components/navigation/navigation.component.module.mjs +5 -5
- package/esm2020/components/paginator/paginator.component.mjs +9 -9
- package/esm2020/components/paginator/paginator.component.module.mjs +5 -5
- package/esm2020/components/progress-bar/progress-bar.component.mjs +46 -10
- package/esm2020/components/progress-bar/progress-bar.component.module.mjs +5 -5
- package/esm2020/components/radio-button/radio-button.component.mjs +138 -0
- package/esm2020/components/radio-button/radio-button.component.module.mjs +20 -0
- package/esm2020/components/radio-button/radio-button.model.mjs +2 -0
- package/esm2020/components/snackbar/snackbar.component.mjs +123 -0
- package/esm2020/components/snackbar/snackbar.component.module.mjs +21 -0
- package/esm2020/components/snackbar/snackbar.model.mjs +2 -0
- package/esm2020/components/table/directives/dynamic-component.directive.mjs +8 -8
- package/esm2020/components/table/pipes/data-property-getter.mjs +4 -4
- package/esm2020/components/table/table.component.mjs +36 -36
- package/esm2020/components/table/table.component.module.mjs +5 -5
- package/esm2020/components/tag/tag.component.mjs +24 -0
- package/esm2020/components/tag/tag.component.module.mjs +19 -0
- package/esm2020/components/tag/tag.model.mjs +2 -0
- package/esm2020/components/tooltip/tooltip.component.mjs +50 -0
- package/esm2020/components/tooltip/tooltip.component.module.mjs +18 -0
- package/esm2020/components/tooltip/tooltip.model.mjs +8 -0
- package/esm2020/directives/drag-drop.directive.mjs +55 -0
- package/esm2020/public-api.mjs +43 -4
- package/esm2020/utils/alert-bar.model.mjs +2 -0
- package/esm2020/utils/alert-bars.utils.mjs +33 -0
- package/fesm2015/testgorilla-tgo-ui.mjs +2004 -484
- package/fesm2015/testgorilla-tgo-ui.mjs.map +1 -1
- package/fesm2020/testgorilla-tgo-ui.mjs +1955 -436
- package/fesm2020/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +15 -15
- package/public-api.d.ts +31 -2
- package/src/assets/icons/Add.svg +3 -0
- package/src/assets/icons/Archive.svg +3 -0
- package/src/assets/icons/Arrow_down.svg +3 -0
- package/src/assets/icons/Arrow_left.svg +3 -0
- package/src/assets/icons/Arrow_right.svg +3 -0
- package/src/assets/icons/Arrow_up.svg +3 -0
- package/src/assets/icons/Assessment.svg +3 -0
- package/src/assets/icons/Attempts.svg +3 -0
- package/src/assets/icons/Book.svg +3 -0
- package/src/assets/icons/Calendar.svg +3 -0
- package/src/assets/icons/Candidates.svg +8 -0
- package/src/assets/icons/Chat-notifications.svg +4 -0
- package/src/assets/icons/Chat.svg +3 -0
- package/src/assets/icons/Check.svg +3 -0
- package/src/assets/icons/Clone.svg +3 -0
- package/src/assets/icons/Close.svg +3 -0
- package/src/assets/icons/Code.svg +3 -0
- package/src/assets/icons/Company.svg +3 -0
- package/src/assets/icons/Copy.svg +3 -0
- package/src/assets/icons/Custom-questions.svg +3 -0
- package/src/assets/icons/Delete.svg +3 -0
- package/src/assets/icons/Devices.svg +3 -0
- package/src/assets/icons/Document.svg +3 -0
- package/src/assets/icons/Download.svg +3 -0
- package/src/assets/icons/Edit.svg +3 -0
- package/src/assets/icons/Email-message.svg +3 -0
- package/src/assets/icons/Empty-placeholder.svg +3 -0
- package/src/assets/icons/Error.svg +3 -0
- package/src/assets/icons/Essay.svg +3 -0
- package/src/assets/icons/Eye-hide.svg +3 -0
- package/src/assets/icons/Eye-view.svg +3 -0
- package/src/assets/icons/Feedback-1.svg +3 -0
- package/src/assets/icons/Feedback-2.svg +3 -0
- package/src/assets/icons/Feedback-3.svg +6 -0
- package/src/assets/icons/Feedback-4.svg +3 -0
- package/src/assets/icons/Feedback-5.svg +3 -0
- package/src/assets/icons/File-attach.svg +3 -0
- package/src/assets/icons/File-upload.svg +3 -0
- package/src/assets/icons/Filter.svg +3 -0
- package/src/assets/icons/Folder.svg +3 -0
- package/src/assets/icons/Format-add-file.svg +3 -0
- package/src/assets/icons/Format-add-table.svg +3 -0
- package/src/assets/icons/Format-align-L.svg +3 -0
- package/src/assets/icons/Format-align-R.svg +3 -0
- package/src/assets/icons/Format-align-center.svg +3 -0
- package/src/assets/icons/Format-align-justify.svg +3 -0
- package/src/assets/icons/Format-bold.svg +3 -0
- package/src/assets/icons/Format-code-active.svg +3 -0
- package/src/assets/icons/Format-code-block.svg +3 -0
- package/src/assets/icons/Format-edit-table.svg +3 -0
- package/src/assets/icons/Format-format.svg +3 -0
- package/src/assets/icons/Format-function.svg +3 -0
- package/src/assets/icons/Format-italics.svg +3 -0
- package/src/assets/icons/Format-list-bulleted.svg +3 -0
- package/src/assets/icons/Format-list-numbered.svg +3 -0
- package/src/assets/icons/Format-picker.svg +3 -0
- package/src/assets/icons/Format-quote.svg +3 -0
- package/src/assets/icons/Format-subscript.svg +3 -0
- package/src/assets/icons/Format-superscript.svg +3 -0
- package/src/assets/icons/Format-text-direction-L.svg +3 -0
- package/src/assets/icons/Format-text-direction-R.svg +3 -0
- package/src/assets/icons/Format-text-size.svg +3 -0
- package/src/assets/icons/Format-underline.svg +3 -0
- package/src/assets/icons/Format-variable.svg +3 -0
- package/src/assets/icons/Full-screen.svg +3 -0
- package/src/assets/icons/Gender-female.svg +3 -0
- package/src/assets/icons/Gender-male.svg +3 -0
- package/src/assets/icons/Help-2.svg +3 -0
- package/src/assets/icons/Help.svg +3 -0
- package/src/assets/icons/Image.svg +3 -0
- package/src/assets/icons/Info.svg +3 -0
- package/src/assets/icons/Integration.svg +3 -0
- package/src/assets/icons/Language.svg +3 -0
- package/src/assets/icons/Layout.svg +3 -0
- package/src/assets/icons/Learn.svg +3 -0
- package/src/assets/icons/Level.svg +3 -0
- package/src/assets/icons/Light-bulb.svg +3 -0
- package/src/assets/icons/Link.svg +3 -0
- package/src/assets/icons/Loading-spinner.svg +10 -0
- package/src/assets/icons/Localisation.svg +3 -0
- package/src/assets/icons/Location.svg +3 -0
- package/src/assets/icons/Lock.svg +3 -0
- package/src/assets/icons/Log-out.svg +3 -0
- package/src/assets/icons/Menu-burger.svg +3 -0
- package/src/assets/icons/Menu-ellipsis.svg +3 -0
- package/src/assets/icons/Microphone.svg +3 -0
- package/src/assets/icons/Minus.svg +3 -0
- package/src/assets/icons/Mouse-cursor.svg +3 -0
- package/src/assets/icons/Mouse-grab-cursor.svg +3 -0
- package/src/assets/icons/Mouse.svg +3 -0
- package/src/assets/icons/Multi-choice.svg +3 -0
- package/src/assets/icons/Notifications.svg +3 -0
- package/src/assets/icons/Password.svg +4 -0
- package/src/assets/icons/Path.svg +3 -0
- package/src/assets/icons/Plan-billing.svg +3 -0
- package/src/assets/icons/Plus.svg +3 -0
- package/src/assets/icons/Premium.svg +4 -0
- package/src/assets/icons/Promotion.svg +3 -0
- package/src/assets/icons/Question-count.svg +3 -0
- package/src/assets/icons/Refer.svg +3 -0
- package/src/assets/icons/Reset.svg +3 -0
- package/src/assets/icons/Review.svg +3 -0
- package/src/assets/icons/Round-check-filled.svg +3 -0
- package/src/assets/icons/Round-check.svg +3 -0
- package/src/assets/icons/Search.svg +3 -0
- package/src/assets/icons/Secure-checkout.svg +3 -0
- package/src/assets/icons/Send.svg +3 -0
- package/src/assets/icons/Settings.svg +8 -0
- package/src/assets/icons/Social-facebook.svg +3 -0
- package/src/assets/icons/Social-instagram.svg +3 -0
- package/src/assets/icons/Social-linkedin.svg +3 -0
- package/src/assets/icons/Sorting-down-1.svg +3 -0
- package/src/assets/icons/Sorting-down.svg +3 -0
- package/src/assets/icons/Speedometer.svg +3 -0
- package/src/assets/icons/Star-filled.svg +3 -0
- package/src/assets/icons/Star-half.svg +3 -0
- package/src/assets/icons/Star-outline.svg +3 -0
- package/src/assets/icons/Support.svg +3 -0
- package/src/assets/icons/Sync.svg +3 -0
- package/src/assets/icons/Team.svg +3 -0
- package/src/assets/icons/Test.svg +3 -0
- package/src/assets/icons/Thunder.svg +3 -0
- package/src/assets/icons/Timer.svg +3 -0
- package/src/assets/icons/Type.svg +3 -0
- package/src/assets/icons/Unarchive.svg +3 -0
- package/src/assets/icons/Unlock.svg +3 -0
- package/src/assets/icons/Upgrade.svg +3 -0
- package/src/assets/icons/Upload.svg +3 -0
- package/src/assets/icons/User-access.svg +3 -0
- package/src/assets/icons/User-add.svg +3 -0
- package/src/assets/icons/User-invite.svg +3 -0
- package/src/assets/icons/User-profile.svg +3 -0
- package/src/assets/icons/User-reject.svg +4 -0
- package/src/assets/icons/User-switch.svg +3 -0
- package/src/assets/icons/Video-pause.svg +3 -0
- package/src/assets/icons/Video-play.svg +3 -0
- package/src/assets/icons/Video-record.svg +3 -0
- package/src/assets/icons/Video.svg +3 -0
- package/src/assets/icons/Volume.svg +3 -0
- package/src/assets/icons/Warning.svg +3 -0
- package/src/assets/icons/Zoom-in.svg +6 -0
- package/src/assets/icons/Zoom-out.svg +5 -0
- package/src/assets/images/poweredbyTG.svg +37 -0
- package/src/assets/images/reverseTG.svg +84 -0
- package/src/assets/images/testgorilla.svg +75 -8
- package/src/theme/_alert-bars.scss +88 -0
- package/src/theme/_breakpoints-mixin.scss +12 -0
- package/src/theme/_core.scss +0 -1
- package/src/theme/_palette.scss +73 -73
- package/src/theme/_tooltip.scss +75 -0
- package/src/theme/_typography.scss +59 -16
- package/src/theme/_variables.scss +49 -0
- package/src/theme/theme.scss +4 -73
- package/utils/alert-bar.model.d.ts +1 -0
- package/utils/alert-bars.utils.d.ts +6 -0
- package/.github/README.md +0 -81
- package/components/banner/banner.component.d.ts +0 -27
- package/components/banner/banner.component.module.d.ts +0 -9
- package/components/dialog/dialog.model.d.ts +0 -4
- package/components/dialog/launch-dialog.component.d.ts +0 -9
- package/esm2020/components/banner/banner.component.mjs +0 -44
- package/esm2020/components/banner/banner.component.module.mjs +0 -20
- package/esm2020/components/dialog/dialog.model.mjs +0 -2
- package/esm2020/components/dialog/launch-dialog.component.mjs +0 -24
- package/src/assets/.gitkeep +0 -0
- /package/{testgorilla-tgo-ui.d.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IconName } from '../../components/icon/icon.model';
|
|
3
|
+
import { AlertBarType } from '../../utils/alert-bar.model';
|
|
4
|
+
import { LinkTargetType } from './alert-banner.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AlertBannerComponent implements OnInit {
|
|
7
|
+
constructor();
|
|
8
|
+
/**
|
|
9
|
+
* Alert Banner type
|
|
10
|
+
*
|
|
11
|
+
* @type {AlertBarType}
|
|
12
|
+
* @memberof AlertBannerComponent
|
|
13
|
+
*/
|
|
14
|
+
alertType: AlertBarType;
|
|
15
|
+
/**
|
|
16
|
+
* Alert banner message
|
|
17
|
+
*
|
|
18
|
+
* @memberof AlertBannerComponent
|
|
19
|
+
*/
|
|
20
|
+
message: string;
|
|
21
|
+
/**
|
|
22
|
+
* Include dismmiss button
|
|
23
|
+
*
|
|
24
|
+
* @memberof AlertBannerComponent
|
|
25
|
+
*/
|
|
26
|
+
includeDismissButton: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Static or fixed position
|
|
29
|
+
*
|
|
30
|
+
* @memberof AlertBannerComponent
|
|
31
|
+
*/
|
|
32
|
+
fixed: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Full width for alert banner
|
|
35
|
+
*
|
|
36
|
+
* @memberof AlertBannerComponent
|
|
37
|
+
*/
|
|
38
|
+
fullWidth: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Link text that will appended at the end of message
|
|
41
|
+
*
|
|
42
|
+
* @memberof AlertBannerComponent
|
|
43
|
+
*/
|
|
44
|
+
linkText?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Link url
|
|
47
|
+
*
|
|
48
|
+
* @memberof AlertBannerComponent
|
|
49
|
+
*/
|
|
50
|
+
linkUrl?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Link target
|
|
53
|
+
*
|
|
54
|
+
* @type {@type {LinkTargetType}}
|
|
55
|
+
* @memberof AlertBannerComponent
|
|
56
|
+
*/
|
|
57
|
+
linkTarget?: LinkTargetType;
|
|
58
|
+
iconName: IconName;
|
|
59
|
+
visible: boolean;
|
|
60
|
+
position: string;
|
|
61
|
+
cssClass: string;
|
|
62
|
+
ngOnInit(): void;
|
|
63
|
+
dismissClick(): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertBannerComponent, "ui-alert-banner", never, { "alertType": "alertType"; "message": "message"; "includeDismissButton": "includeDismissButton"; "fixed": "fixed"; "fullWidth": "fullWidth"; "linkText": "linkText"; "linkUrl": "linkUrl"; "linkTarget": "linkTarget"; }, {}, never, never, false, never>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./alert-banner.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../button/button.component.module";
|
|
5
|
+
import * as i4 from "../icon/icon.component.module";
|
|
6
|
+
export declare class AlertBannerComponentModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponentModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AlertBannerComponentModule, [typeof i1.AlertBannerComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule], [typeof i1.AlertBannerComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AlertBannerComponentModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type LinkTargetType = '' | '_self' | '_blank' | '_parent' | '_top';
|
|
@@ -1,40 +1,46 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { IconName } from '../../components/icon/icon.model';
|
|
3
|
+
import { AlertBarType } from '../../utils/alert-bar.model';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BannerActionComponent {
|
|
5
|
+
export declare class BannerActionComponent implements OnInit {
|
|
4
6
|
/**
|
|
5
7
|
* BannerAction text
|
|
6
8
|
*
|
|
7
|
-
* @type {string}
|
|
8
9
|
* @memberof BannerActionComponent
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
|
+
message?: string | undefined;
|
|
11
12
|
/**
|
|
12
|
-
* BannerAction
|
|
13
|
+
* BannerAction type
|
|
13
14
|
*
|
|
14
|
-
* @type {
|
|
15
|
+
* @type {AlertBarType}
|
|
15
16
|
* @memberof BannerActionComponent
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
+
bannerActionType: AlertBarType;
|
|
18
19
|
/**
|
|
19
20
|
* BannerAction button label
|
|
20
21
|
*
|
|
21
|
-
* @type {string}
|
|
22
22
|
* @memberof BannerActionComponent
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
buttonText: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Static or fixed position
|
|
27
27
|
*
|
|
28
|
-
* @
|
|
29
|
-
* @memberof BannerActionComponent
|
|
28
|
+
* @memberof AlertBannerComponent
|
|
30
29
|
*/
|
|
31
|
-
|
|
30
|
+
fixed: boolean;
|
|
32
31
|
/**
|
|
33
|
-
*
|
|
32
|
+
* Full width for alert banner
|
|
33
|
+
*
|
|
34
|
+
* @memberof AlertBannerComponent
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
+
fullWidth: boolean;
|
|
37
|
+
buttonClickEvent: EventEmitter<Event>;
|
|
38
|
+
iconName: IconName;
|
|
39
|
+
position: string;
|
|
40
|
+
cssClass: string;
|
|
36
41
|
constructor();
|
|
37
|
-
|
|
42
|
+
buttonClick(event: Event): void;
|
|
43
|
+
ngOnInit(): void;
|
|
38
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerActionComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BannerActionComponent, "ui-banner-action", never, { "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BannerActionComponent, "ui-banner-action", never, { "message": "message"; "bannerActionType": "bannerActionType"; "buttonText": "buttonText"; "fixed": "fixed"; "fullWidth": "fullWidth"; }, { "buttonClickEvent": "buttonClickEvent"; }, never, never, false, never>;
|
|
40
46
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./banner-action.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "../
|
|
4
|
+
import * as i3 from "../button/button.component.module";
|
|
5
|
+
import * as i4 from "../icon/icon.component.module";
|
|
6
6
|
export declare class BannerActionComponentModule {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerActionComponentModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BannerActionComponentModule, [typeof i1.BannerActionComponent], [typeof i2.CommonModule, typeof i3.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BannerActionComponentModule, [typeof i1.BannerActionComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule], [typeof i1.BannerActionComponent]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<BannerActionComponentModule>;
|
|
10
10
|
}
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { IconName } from '../../components/icon/icon.model';
|
|
3
|
+
import { ButtonColor, ButtonIconPosition, ButtonSize, LinkUrlTarget } from './button.model';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ButtonComponent {
|
|
5
|
+
export declare class ButtonComponent implements OnInit {
|
|
6
|
+
/**
|
|
7
|
+
* Define button height
|
|
8
|
+
*
|
|
9
|
+
* @type {ButtonSize}
|
|
10
|
+
* @memberof ButtonComponent
|
|
11
|
+
*/
|
|
12
|
+
size: ButtonSize;
|
|
5
13
|
/**
|
|
6
14
|
* Background color of the button while in active state
|
|
7
15
|
*
|
|
8
16
|
* @type {ButtonColor}
|
|
9
17
|
* @memberof ButtonComponent
|
|
10
18
|
*/
|
|
11
|
-
|
|
19
|
+
type: ButtonColor;
|
|
12
20
|
/**
|
|
13
21
|
* Text content to appear on the button
|
|
14
22
|
*
|
|
@@ -18,16 +26,23 @@ export declare class ButtonComponent {
|
|
|
18
26
|
/**
|
|
19
27
|
* Positioning of the icon (when existant)
|
|
20
28
|
*
|
|
21
|
-
* @type {
|
|
29
|
+
* @type {ButtonIconPosition}
|
|
30
|
+
* @memberof ButtonComponent
|
|
31
|
+
*/
|
|
32
|
+
iconPosition?: ButtonIconPosition;
|
|
33
|
+
/**
|
|
34
|
+
* Define if button has only icon without text
|
|
35
|
+
*
|
|
22
36
|
* @memberof ButtonComponent
|
|
23
37
|
*/
|
|
24
|
-
|
|
38
|
+
justIcon: boolean;
|
|
25
39
|
/**
|
|
26
|
-
* Name of
|
|
40
|
+
* Name of ui-icon
|
|
27
41
|
*
|
|
42
|
+
* @type {IconName}
|
|
28
43
|
* @memberof ButtonComponent
|
|
29
44
|
*/
|
|
30
|
-
iconName:
|
|
45
|
+
iconName: IconName;
|
|
31
46
|
/**
|
|
32
47
|
* Indicator if the button should be disabled
|
|
33
48
|
*
|
|
@@ -46,8 +61,39 @@ export declare class ButtonComponent {
|
|
|
46
61
|
* @memberof ButtonComponent
|
|
47
62
|
*/
|
|
48
63
|
fullWidth: boolean;
|
|
49
|
-
|
|
50
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Url of button if it is a link
|
|
66
|
+
*
|
|
67
|
+
* @memberof ButtonComponent
|
|
68
|
+
*/
|
|
69
|
+
url?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Url's target of button if it is a link
|
|
72
|
+
*
|
|
73
|
+
* @type {@type {LinkUrlTarget}}
|
|
74
|
+
* @memberof ButtonComponent
|
|
75
|
+
*/
|
|
76
|
+
urlTarget?: LinkUrlTarget;
|
|
77
|
+
/**
|
|
78
|
+
* Button value
|
|
79
|
+
*
|
|
80
|
+
* @memberof ButtonComponent
|
|
81
|
+
*/
|
|
82
|
+
value?: string;
|
|
83
|
+
buttonClickEvent: EventEmitter<Event>;
|
|
84
|
+
buttonHoverEvent: EventEmitter<Event>;
|
|
85
|
+
constructor();
|
|
86
|
+
classCss: string;
|
|
87
|
+
isButtonLink: boolean;
|
|
88
|
+
isLabel: boolean;
|
|
89
|
+
ngOnInit(): void;
|
|
90
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
91
|
+
buttonClick(event: Event): void;
|
|
92
|
+
buttonHover(event: Event): void;
|
|
93
|
+
showLabel(): boolean;
|
|
94
|
+
setCssClass(): string;
|
|
95
|
+
showSpinner(): boolean;
|
|
96
|
+
showButtonLink(): boolean;
|
|
51
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": "size"; "type": "type"; "label": "label"; "iconPosition": "iconPosition"; "justIcon": "justIcon"; "iconName": "iconName"; "disabled": "disabled"; "loading": "loading"; "fullWidth": "fullWidth"; "url": "url"; "urlTarget": "urlTarget"; "value": "value"; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
|
|
53
99
|
}
|
|
@@ -2,10 +2,10 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./button.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/material/button";
|
|
5
|
-
import * as i4 from "
|
|
5
|
+
import * as i4 from "../icon/icon.component.module";
|
|
6
6
|
import * as i5 from "@angular/material/progress-spinner";
|
|
7
7
|
export declare class ButtonComponentModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponentModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.IconComponentModule, typeof i5.MatProgressSpinnerModule], [typeof i1.ButtonComponent]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonComponentModule>;
|
|
11
11
|
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type ButtonIconPosition = 'left' | 'right';
|
|
2
|
+
export type ButtonColor = 'primary' | 'secondary' | 'outlined' | 'destructive' | 'tertiary' | 'link' | 'tab' | 'text' | 'menuTrigger' | 'menuCell';
|
|
3
|
+
export type ButtonSize = 'big' | 'small';
|
|
4
|
+
export type LinkUrlTarget = '' | '_self' | '_blank' | '_parent' | '_top';
|
|
@@ -3,5 +3,5 @@ export declare class CardComponent {
|
|
|
3
3
|
title: string;
|
|
4
4
|
subTitle: string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "title": "title"; "subTitle": "subTitle"; }, {}, never, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "title": "title"; "subTitle": "subTitle"; }, {}, never, never, false, never>;
|
|
7
7
|
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CheckboxComponent implements OnInit, ControlValueAccessor {
|
|
6
|
+
/**
|
|
7
|
+
* Determines whether the checkbox is disabled.
|
|
8
|
+
* Default: false.
|
|
9
|
+
*
|
|
10
|
+
* @type {boolean}
|
|
11
|
+
* @memberof CheckboxComponent
|
|
12
|
+
*/
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Determines whether the checkbox is checked.
|
|
16
|
+
* Default: false.
|
|
17
|
+
*
|
|
18
|
+
* @type {boolean}
|
|
19
|
+
* @memberof CheckboxComponent
|
|
20
|
+
*/
|
|
21
|
+
checked: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Determines whether the checkbox is indeterminate.
|
|
24
|
+
* It can be used to represent a checkbox with three states, e.g. a checkbox that represents a nested list of checkable items.
|
|
25
|
+
* Default: false.
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof CheckboxComponent
|
|
29
|
+
*/
|
|
30
|
+
indeterminate: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Determines whether the checkbox color.
|
|
33
|
+
* Default: Test Gorilla primary color.
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CheckboxComponent
|
|
37
|
+
*/
|
|
38
|
+
color: string;
|
|
39
|
+
/**
|
|
40
|
+
* Name value will be applied to the input element if present.
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CheckboxComponent
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
* Text content will be applied to the input element if present.
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CheckboxComponent
|
|
51
|
+
*/
|
|
52
|
+
label: string;
|
|
53
|
+
/**
|
|
54
|
+
* Determines whether the checkbox is a multiple choice cell.
|
|
55
|
+
* Default: false
|
|
56
|
+
*
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof CheckboxComponent
|
|
59
|
+
*/
|
|
60
|
+
multiple: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Event emitted when the checkbox's checked value changes.
|
|
63
|
+
*
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof CheckboxComponent
|
|
66
|
+
*/
|
|
67
|
+
changed: EventEmitter<boolean>;
|
|
68
|
+
/**
|
|
69
|
+
* @ignore
|
|
70
|
+
*/
|
|
71
|
+
onChange: (_: any) => void;
|
|
72
|
+
/**
|
|
73
|
+
* @ignore
|
|
74
|
+
*/
|
|
75
|
+
onTouch: () => void;
|
|
76
|
+
classMultiple: string;
|
|
77
|
+
emitChange(event: MatCheckboxChange): void;
|
|
78
|
+
ngOnInit(): void;
|
|
79
|
+
toggleChecked(event: MatCheckboxChange): void;
|
|
80
|
+
setClass(): string;
|
|
81
|
+
writeValue(value: boolean): void;
|
|
82
|
+
registerOnChange(fn: any): void;
|
|
83
|
+
registerOnTouched(fn: any): void;
|
|
84
|
+
setDisabledState(isDisabled: boolean): void;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": "disabled"; "checked": "checked"; "indeterminate": "indeterminate"; "color": "color"; "name": "name"; "label": "label"; "multiple": "multiple"; }, { "changed": "changed"; }, never, never, false, never>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/checkbox";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
export declare class CheckboxComponentModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponentModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxComponentModule, [typeof i1.CheckboxComponent], [typeof i2.CommonModule, typeof i3.MatCheckboxModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule], [typeof i1.CheckboxComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxComponentModule>;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { CreateAccountCredentials, Ii18nCreateAccount } from './create-account.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CreateAccountComponent implements OnInit {
|
|
@@ -7,7 +7,11 @@ export declare class CreateAccountComponent implements OnInit {
|
|
|
7
7
|
/**
|
|
8
8
|
* @ignore
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
termsOfusePath: string;
|
|
11
|
+
/**
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
14
|
+
registerForm: import("@angular/forms").UntypedFormGroup;
|
|
11
15
|
/**
|
|
12
16
|
* @ignore
|
|
13
17
|
*/
|
|
@@ -40,10 +44,18 @@ export declare class CreateAccountComponent implements OnInit {
|
|
|
40
44
|
* @ignore
|
|
41
45
|
*/
|
|
42
46
|
ngOnInit(): void;
|
|
43
|
-
constructor(fb:
|
|
47
|
+
constructor(fb: UntypedFormBuilder);
|
|
44
48
|
submit(): void;
|
|
45
49
|
login(): void;
|
|
50
|
+
/**
|
|
51
|
+
* @ignore
|
|
52
|
+
*/
|
|
53
|
+
errorMessages: Record<string, string>;
|
|
54
|
+
/**
|
|
55
|
+
* @ignore
|
|
56
|
+
*/
|
|
57
|
+
passwordErrorMessages: Record<string, string>;
|
|
46
58
|
checkErrors(field: string): void;
|
|
47
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateAccountComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CreateAccountComponent, "ui-create-account", never, { "formErrors": "formErrors"; "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "loginEvent": "loginEvent"; }, never, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreateAccountComponent, "ui-create-account", never, { "termsOfusePath": "termsOfusePath"; "formErrors": "formErrors"; "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "loginEvent": "loginEvent"; }, never, never, false, never>;
|
|
49
61
|
}
|
|
@@ -4,11 +4,11 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "../field/field.component.module";
|
|
6
6
|
import * as i5 from "../button/button.component.module";
|
|
7
|
-
import * as i6 from "
|
|
7
|
+
import * as i6 from "../checkbox/checkbox.component.module";
|
|
8
8
|
import * as i7 from "@angular-material-extensions/password-strength";
|
|
9
9
|
import * as i8 from "../logo/logo.component.module";
|
|
10
10
|
export declare class CreateAccountComponentModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreateAccountComponentModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CreateAccountComponentModule, [typeof i1.CreateAccountComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.FieldComponentModule, typeof i5.ButtonComponentModule, typeof i6.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CreateAccountComponentModule, [typeof i1.CreateAccountComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.FieldComponentModule, typeof i5.ButtonComponentModule, typeof i6.CheckboxComponentModule, typeof i7.MatPasswordStrengthModule, typeof i8.LogoComponentModule], [typeof i1.CreateAccountComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<CreateAccountComponentModule>;
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { CreatePasswordCredentials, Ii18nCreatePassword } from './create-password.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CreatePasswordComponent implements OnInit {
|
|
@@ -7,7 +7,7 @@ export declare class CreatePasswordComponent implements OnInit {
|
|
|
7
7
|
/**
|
|
8
8
|
* @ignore
|
|
9
9
|
*/
|
|
10
|
-
createPasswordForm: import("@angular/forms").
|
|
10
|
+
createPasswordForm: import("@angular/forms").UntypedFormGroup;
|
|
11
11
|
/**
|
|
12
12
|
* @ignore
|
|
13
13
|
*/
|
|
@@ -35,9 +35,9 @@ export declare class CreatePasswordComponent implements OnInit {
|
|
|
35
35
|
* @ignore
|
|
36
36
|
*/
|
|
37
37
|
ngOnInit(): void;
|
|
38
|
-
constructor(fb:
|
|
38
|
+
constructor(fb: UntypedFormBuilder);
|
|
39
39
|
submit(): void;
|
|
40
40
|
checkErrors(field: string): void;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreatePasswordComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CreatePasswordComponent, "ui-create-password", never, { "formErrors": "formErrors"; "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; }, never, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CreatePasswordComponent, "ui-create-password", never, { "formErrors": "formErrors"; "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; }, never, never, false, never>;
|
|
43
43
|
}
|
|
@@ -1,11 +1,50 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
1
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { DialogConfig } from './dialog.model';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DialogComponent {
|
|
5
|
-
data: DialogConfig;
|
|
4
|
+
export declare class DialogComponent implements OnInit, OnChanges {
|
|
6
5
|
dialogRef: MatDialogRef<DialogComponent>;
|
|
7
|
-
constructor(
|
|
6
|
+
constructor(dialogRef: MatDialogRef<DialogComponent>);
|
|
7
|
+
/**
|
|
8
|
+
* Dialog title
|
|
9
|
+
*
|
|
10
|
+
* @memberof DialogComponent
|
|
11
|
+
*/
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Show close button
|
|
15
|
+
*
|
|
16
|
+
* @memberof DialogComponent
|
|
17
|
+
*/
|
|
18
|
+
showCloseButton: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Fuction called before dialgo is closed
|
|
21
|
+
*
|
|
22
|
+
* @memberof DialogComponent
|
|
23
|
+
*/
|
|
24
|
+
canCloseFn: () => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Secondary button label
|
|
27
|
+
*
|
|
28
|
+
* @memberof DialogComponent
|
|
29
|
+
*/
|
|
30
|
+
secondaryButtonLabel?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Primary button label
|
|
33
|
+
*
|
|
34
|
+
* @memberof DialogComponent
|
|
35
|
+
*/
|
|
36
|
+
primaryButtonLabel?: string | undefined;
|
|
37
|
+
closeEvent: EventEmitter<Event>;
|
|
38
|
+
secondaryButtonClickEvent: EventEmitter<Event>;
|
|
39
|
+
primaryButtonClickEvent: EventEmitter<Event>;
|
|
40
|
+
disableButtons: boolean;
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
+
areButtonsDisabled(): void;
|
|
8
44
|
dismiss(): void;
|
|
9
|
-
|
|
10
|
-
|
|
45
|
+
onClose(event: Event): void;
|
|
46
|
+
onSecondaryButtonClick(event: Event): void;
|
|
47
|
+
onPrimaryButtonClick(event: Event): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": "title"; "showCloseButton": "showCloseButton"; "canCloseFn": "canCloseFn"; "secondaryButtonLabel": "secondaryButtonLabel"; "primaryButtonLabel": "primaryButtonLabel"; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
|
|
11
50
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./dialog.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "@angular/material/dialog";
|
|
7
|
-
import * as i6 from "@angular/material/button";
|
|
8
|
-
import * as i7 from "../button/button.component.module";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
import * as i4 from "../button/button.component.module";
|
|
9
6
|
export declare class DialogComponentModule {
|
|
10
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof i1.DialogComponent
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof i1.DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule], [typeof i1.DialogComponent]>;
|
|
12
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
|
|
13
10
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { ComponentType } from '@angular/cdk/portal';
|
|
2
|
-
import { MatDialog,
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DialogService {
|
|
5
5
|
private matDialog;
|
|
6
|
-
/**
|
|
7
|
-
* Constructor
|
|
8
|
-
*/
|
|
9
6
|
constructor(matDialog: MatDialog);
|
|
10
|
-
open(dialogComponent: ComponentType<any
|
|
7
|
+
open(dialogComponent: ComponentType<any>): MatDialogRef<any>;
|
|
11
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
12
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
13
10
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElevationType } from './elevation-shadow.constant';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ElevationShadowComponent {
|
|
4
|
+
/**
|
|
5
|
+
* The type of elevation shadow.
|
|
6
|
+
* Default: default.
|
|
7
|
+
*
|
|
8
|
+
* @type {ElevationType}
|
|
9
|
+
* @memberof ElevationShadowComponent
|
|
10
|
+
*/
|
|
11
|
+
elevationType: ElevationType;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElevationShadowComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElevationShadowComponent, "ui-elevation-shadow", never, { "elevationType": "elevationType"; }, {}, never, ["*"], false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./elevation-shadow.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ElevationShadowComponentModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElevationShadowComponentModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElevationShadowComponentModule, [typeof i1.ElevationShadowComponent], [typeof i2.CommonModule], [typeof i1.ElevationShadowComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElevationShadowComponentModule>;
|
|
8
|
+
}
|