@testgorilla/tgo-ui 0.0.34 → 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 +12 -4
- package/components/create-account/create-account.component.module.d.ts +2 -2
- 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 +40 -27
- package/esm2020/components/create-account/create-account.component.module.mjs +15 -17
- 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 +1949 -436
- package/fesm2015/testgorilla-tgo-ui.mjs.map +1 -1
- package/fesm2020/testgorilla-tgo-ui.mjs +1947 -435
- 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 -79
- 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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { FieldType } from '../../components/field/field.model';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FieldComponent implements OnInit {
|
|
5
|
+
export declare class FieldComponent implements OnInit, ControlValueAccessor {
|
|
4
6
|
class: string;
|
|
5
7
|
/**
|
|
6
8
|
* Form field label
|
|
@@ -8,77 +10,71 @@ export declare class FieldComponent implements OnInit {
|
|
|
8
10
|
* @type {string}
|
|
9
11
|
* @memberof FieldComponent
|
|
10
12
|
*/
|
|
11
|
-
label
|
|
13
|
+
label?: string | undefined;
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* Input name attribute
|
|
14
16
|
*
|
|
15
17
|
* @type {string}
|
|
16
18
|
* @memberof FieldComponent
|
|
17
19
|
*/
|
|
18
|
-
|
|
20
|
+
fieldName?: string;
|
|
19
21
|
/**
|
|
20
|
-
*
|
|
22
|
+
* Input placeholder
|
|
21
23
|
*
|
|
22
24
|
* @type {string}
|
|
23
25
|
* @memberof FieldComponent
|
|
24
26
|
*/
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Input is required or not
|
|
28
|
-
*
|
|
29
|
-
* @type {boolean}
|
|
30
|
-
* @memberof FieldComponent
|
|
31
|
-
*/
|
|
32
|
-
required: boolean;
|
|
27
|
+
placeholder?: string | undefined;
|
|
33
28
|
/**
|
|
34
|
-
*
|
|
29
|
+
* Input id
|
|
35
30
|
*
|
|
36
31
|
* @type {string}
|
|
37
32
|
* @memberof FieldComponent
|
|
38
33
|
*/
|
|
39
|
-
|
|
34
|
+
id?: string | undefined;
|
|
40
35
|
/**
|
|
41
|
-
*
|
|
36
|
+
* Input value
|
|
42
37
|
*
|
|
43
38
|
* @type {string}
|
|
44
39
|
* @memberof FieldComponent
|
|
45
40
|
*/
|
|
46
|
-
|
|
41
|
+
value: string;
|
|
42
|
+
_errors: string[];
|
|
47
43
|
/**
|
|
48
|
-
* Input
|
|
44
|
+
* Input field errors
|
|
49
45
|
*
|
|
50
46
|
* @type {string}
|
|
51
47
|
* @memberof FieldComponent
|
|
52
48
|
*/
|
|
53
|
-
|
|
49
|
+
set errors(errors: string[]);
|
|
54
50
|
/**
|
|
55
|
-
*
|
|
51
|
+
* Determines if input is disabled
|
|
56
52
|
*
|
|
57
|
-
* @type {
|
|
53
|
+
* @type {boolean}
|
|
58
54
|
* @memberof FieldComponent
|
|
59
55
|
*/
|
|
60
|
-
|
|
56
|
+
disabled: boolean;
|
|
61
57
|
/**
|
|
62
|
-
* Input
|
|
58
|
+
* Input is required or not
|
|
63
59
|
*
|
|
64
|
-
* @type {
|
|
60
|
+
* @type {boolean}
|
|
65
61
|
* @memberof FieldComponent
|
|
66
62
|
*/
|
|
67
|
-
|
|
63
|
+
required: boolean;
|
|
68
64
|
/**
|
|
69
|
-
*
|
|
65
|
+
* Hint text
|
|
70
66
|
*
|
|
71
|
-
* @type {
|
|
67
|
+
* @type {string}
|
|
72
68
|
* @memberof FieldComponent
|
|
73
69
|
*/
|
|
74
|
-
|
|
70
|
+
hintMessage: string;
|
|
75
71
|
/**
|
|
76
|
-
*
|
|
72
|
+
* Input type
|
|
77
73
|
*
|
|
78
|
-
* @type {
|
|
74
|
+
* @type {FieldType}
|
|
79
75
|
* @memberof FieldComponent
|
|
80
76
|
*/
|
|
81
|
-
|
|
77
|
+
type: FieldType;
|
|
82
78
|
/**
|
|
83
79
|
* @ignore
|
|
84
80
|
*/
|
|
@@ -88,16 +84,23 @@ export declare class FieldComponent implements OnInit {
|
|
|
88
84
|
*/
|
|
89
85
|
onTouch: () => void;
|
|
90
86
|
constructor();
|
|
87
|
+
showSearch: boolean;
|
|
88
|
+
showClose: boolean;
|
|
89
|
+
showPassword: boolean;
|
|
90
|
+
currentType: string;
|
|
91
|
+
errorsLength: boolean;
|
|
91
92
|
ngOnInit(): void;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
setSearchInput(): void;
|
|
94
|
+
getType(): string;
|
|
95
|
+
clearValue(): void;
|
|
96
|
+
showPasswordClick(): void;
|
|
97
|
+
onChangeInputSearch(): void;
|
|
98
|
+
setErrorsLength(): boolean;
|
|
95
99
|
onInput(event: any): void;
|
|
96
|
-
writeValue(value
|
|
100
|
+
writeValue(value?: any): void;
|
|
97
101
|
registerOnChange(fn: any): void;
|
|
98
102
|
registerOnTouched(fn: any): void;
|
|
99
103
|
setDisabledState(isDisabled: boolean): void;
|
|
100
|
-
suffixIconClicked(): void;
|
|
101
104
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "label": "label"; "
|
|
105
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "label": "label"; "fieldName": "fieldName"; "placeholder": "placeholder"; "id": "id"; "value": "value"; "errors": "errors"; "disabled": "disabled"; "required": "required"; "hintMessage": "hintMessage"; "type": "type"; }, {}, never, never, false, never>;
|
|
103
106
|
}
|
|
@@ -3,10 +3,11 @@ import * as i1 from "./field.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/material/form-field";
|
|
5
5
|
import * as i4 from "@angular/material/input";
|
|
6
|
-
import * as i5 from "
|
|
6
|
+
import * as i5 from "../icon/icon.component.module";
|
|
7
7
|
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "../button/button.component.module";
|
|
8
9
|
export declare class FieldComponentModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponentModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof i1.FieldComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof i1.FieldComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.ButtonComponentModule], [typeof i1.FieldComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<FieldComponentModule>;
|
|
12
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FieldType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'search';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
5
|
+
class: string;
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @type {number}
|
|
9
|
+
* @memberof FileUploadComponent
|
|
10
|
+
*/
|
|
11
|
+
maxFileSizeMB: number;
|
|
12
|
+
/**
|
|
13
|
+
* Supported files for input field
|
|
14
|
+
*
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof FileUploadComponent
|
|
17
|
+
*/
|
|
18
|
+
supportedFileTypes?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Upload progress
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof FileUploadComponent
|
|
24
|
+
*/
|
|
25
|
+
uploadProgress: number;
|
|
26
|
+
/**
|
|
27
|
+
* File upload errors
|
|
28
|
+
*
|
|
29
|
+
* @type {string[]}
|
|
30
|
+
* @memberof FileUploadComponent
|
|
31
|
+
*/
|
|
32
|
+
errors?: string[] | null;
|
|
33
|
+
/**
|
|
34
|
+
* File upload disabled
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof FileUploadComponent
|
|
38
|
+
*/
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
OnDrop: EventEmitter<File>;
|
|
41
|
+
/**
|
|
42
|
+
* @ignore
|
|
43
|
+
*/
|
|
44
|
+
onChange: (_: any) => void;
|
|
45
|
+
/**
|
|
46
|
+
* @ignore
|
|
47
|
+
*/
|
|
48
|
+
onTouch: () => void;
|
|
49
|
+
file: File | null;
|
|
50
|
+
progress: boolean;
|
|
51
|
+
success: boolean;
|
|
52
|
+
browse: boolean;
|
|
53
|
+
constructor();
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
onFileDropped(files: FileList): void;
|
|
56
|
+
onChangeUpload(event: Event): void;
|
|
57
|
+
emitFile(files: FileList): void;
|
|
58
|
+
showProgress(): boolean;
|
|
59
|
+
showSuccess(): boolean;
|
|
60
|
+
showBrowse(): boolean;
|
|
61
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
62
|
+
writeValue(value?: File): void;
|
|
63
|
+
registerOnChange(fn: any): void;
|
|
64
|
+
registerOnTouched(fn: any): void;
|
|
65
|
+
setDisabledState(isDisabled: boolean): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": "maxFileSizeMB"; "supportedFileTypes": "supportedFileTypes"; "uploadProgress": "uploadProgress"; "errors": "errors"; "disabled": "disabled"; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./file-upload.component";
|
|
3
|
+
import * as i2 from "../../directives/drag-drop.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/form-field";
|
|
6
|
+
import * as i5 from "@angular/material/input";
|
|
7
|
+
import * as i6 from "../icon/icon.component.module";
|
|
8
|
+
import * as i7 from "../progress-bar/progress-bar.component.module";
|
|
9
|
+
export declare class FileUploadComponentModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponentModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadComponentModule, [typeof i1.FileUploadComponent, typeof i2.DragDropDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.ProgressBarComponentModule], [typeof i1.FileUploadComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadComponentModule>;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { ForgotPasswordCredentials, Ii18nForgotPassword } from './forgot-password.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ForgotPasswordComponent implements OnInit {
|
|
@@ -7,7 +7,7 @@ export declare class ForgotPasswordComponent implements OnInit {
|
|
|
7
7
|
/**
|
|
8
8
|
* @ignore
|
|
9
9
|
*/
|
|
10
|
-
forgotPasswordForm: import("@angular/forms").
|
|
10
|
+
forgotPasswordForm: import("@angular/forms").UntypedFormGroup;
|
|
11
11
|
/**
|
|
12
12
|
* @ignore
|
|
13
13
|
*/
|
|
@@ -39,10 +39,10 @@ export declare class ForgotPasswordComponent implements OnInit {
|
|
|
39
39
|
* @ignore
|
|
40
40
|
*/
|
|
41
41
|
ngOnInit(): void;
|
|
42
|
-
constructor(fb:
|
|
42
|
+
constructor(fb: UntypedFormBuilder);
|
|
43
43
|
submit(): void;
|
|
44
44
|
backToLogin(): void;
|
|
45
45
|
checkErrors(field: string): void;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "ui-forgot-password", never, { "formErrors": "formErrors"; "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "backToLoginEvent": "backToLoginEvent"; }, never, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordComponent, "ui-forgot-password", never, { "formErrors": "formErrors"; "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "backToLoginEvent": "backToLoginEvent"; }, never, never, false, never>;
|
|
48
48
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import { IconColor, IconName, IconSize } from './icon.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class IconComponent implements OnInit {
|
|
7
|
+
private matIconRegistry;
|
|
8
|
+
private domSanitzer;
|
|
9
|
+
/**
|
|
10
|
+
* Icon size
|
|
11
|
+
*
|
|
12
|
+
* @type {IconSize}
|
|
13
|
+
* @memberof IconComponent
|
|
14
|
+
*/
|
|
15
|
+
size: IconSize;
|
|
16
|
+
/**
|
|
17
|
+
* Icon css class
|
|
18
|
+
*
|
|
19
|
+
* @memberof IconComponent
|
|
20
|
+
*/
|
|
21
|
+
cssClass: string;
|
|
22
|
+
/**
|
|
23
|
+
* Icon name
|
|
24
|
+
*
|
|
25
|
+
* @type {IconName}
|
|
26
|
+
* @memberof IconComponent
|
|
27
|
+
*/
|
|
28
|
+
name: IconName;
|
|
29
|
+
/**
|
|
30
|
+
* Icon color
|
|
31
|
+
*
|
|
32
|
+
* @type {IconColor}
|
|
33
|
+
* @memberof IconComponent
|
|
34
|
+
*/
|
|
35
|
+
color?: IconColor;
|
|
36
|
+
customCssClass: string;
|
|
37
|
+
constructor(matIconRegistry: MatIconRegistry, domSanitzer: DomSanitizer);
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
40
|
+
setCssClass(): string;
|
|
41
|
+
addIcon(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ui-icon", never, { "size": "size"; "cssClass": "cssClass"; "name": "name"; "color": "color"; }, {}, never, never, false, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./icon.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@angular/common/http";
|
|
6
|
+
export declare class IconComponentModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponentModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IconComponentModule, [typeof i1.IconComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.HttpClientModule], [typeof i1.IconComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IconComponentModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const tgoIcons: readonly ["Add", "Archive", "Arrow_down", "Arrow_left", "Arrow_right", "Arrow_up", "Assessment", "Attempts", "Book", "Calendar", "Candidates", "Chat-notifications", "Chat", "Check", "Clone", "Close", "Code", "Company", "Copy", "Custom-questions", "Delete", "Devices", "Document", "Download", "Edit", "Email-message", "Empty-placeholder", "Error", "Essay", "Eye-hide", "Eye-view", "Feedback-1", "Feedback-2", "Feedback-3", "Feedback-4", "Feedback-5", "File-attach", "File-upload", "Filter", "Folder", "Format-add-file", "Format-add-table", "Format-align-L", "Format-align-R", "Format-align-center", "Format-align-justify", "Format-bold", "Format-code-active", "Format-code-block", "Format-edit-table", "Format-format", "Format-function", "Format-italics", "Format-list-bulleted", "Format-list-numbered", "Format-picker", "Format-quote", "Format-subscript", "Format-superscript", "Format-text-direction-L", "Format-text-direction-R", "Format-text-size", "Format-underline", "Format-variable", "Full-screen", "Gender-female", "Gender-male", "Help-2", "Help", "Image", "Info", "Integration", "Language", "Layout", "Learn", "Level", "Light-bulb", "Link", "Loading-spinner", "Localisation", "Location", "Lock", "Log-out", "Menu-burger", "Menu-ellipsis", "Microphone", "Minus", "Mouse-cursor", "Mouse-grab-cursor", "Mouse", "Multi-choice", "Notifications", "Password", "Path", "Plan-billing", "Plus", "Premium", "Promotion", "Question-count", "Refer", "Reset", "Review", "Round-check-filled", "Round-check", "Search", "Secure-checkout", "Send", "Settings", "Social-facebook", "Social-instagram", "Social-linkedin", "Sorting-down-1", "Sorting-down", "Speedometer", "Star-filled", "Star-half", "Star-outline", "Support", "Sync", "Team", "Test", "Thunder", "Timer", "Type", "Unarchive", "Unlock", "Upgrade", "Upload", "User-access", "User-add", "User-invite", "User-profile", "User-reject", "User-switch", "Video-pause", "Video-play", "Video-record", "Video", "Volume", "Warning", "Zoom-in", "Zoom-out"];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IconName, IconSize } from '../../components/icon/icon.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IconLabelComponent implements OnInit {
|
|
5
|
+
/**
|
|
6
|
+
* Icon size
|
|
7
|
+
*
|
|
8
|
+
* @type {IconSize}
|
|
9
|
+
* @memberof IconLabelComponent
|
|
10
|
+
*/
|
|
11
|
+
iconSize: IconSize;
|
|
12
|
+
/**
|
|
13
|
+
* Icon name
|
|
14
|
+
*
|
|
15
|
+
* @type {IconName}
|
|
16
|
+
* @memberof IconLabelComponent
|
|
17
|
+
*/
|
|
18
|
+
iconName: IconName;
|
|
19
|
+
/**
|
|
20
|
+
* Label
|
|
21
|
+
*
|
|
22
|
+
* @memberof IconLabelComponent
|
|
23
|
+
*/
|
|
24
|
+
text: string;
|
|
25
|
+
constructor();
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconLabelComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconLabelComponent, "ui-icon-label", never, { "iconSize": "iconSize"; "iconName": "iconName"; "text": "text"; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./icon-label.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../icon/icon.component.module";
|
|
5
|
+
export declare class IconLabelComponentModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconLabelComponentModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IconLabelComponentModule, [typeof i1.IconLabelComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule], [typeof i1.IconLabelComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IconLabelComponentModule>;
|
|
9
|
+
}
|
|
@@ -42,5 +42,5 @@ export declare class LabelComponent {
|
|
|
42
42
|
size: LabelSizeEnum;
|
|
43
43
|
constructor();
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "ui-label", never, { "backgroundColor": "backgroundColor"; "textColor": "textColor"; "title": "title"; "description": "description"; "size": "size"; }, {}, never, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "ui-label", never, { "backgroundColor": "backgroundColor"; "textColor": "textColor"; "title": "title"; "description": "description"; "size": "size"; }, {}, never, never, false, never>;
|
|
46
46
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
3
3
|
import { Ii18nLogin, LoginCredentials } from './login.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LoginComponent implements OnInit {
|
|
@@ -7,7 +7,7 @@ export declare class LoginComponent implements OnInit {
|
|
|
7
7
|
/**
|
|
8
8
|
* @ignore
|
|
9
9
|
*/
|
|
10
|
-
loginForm: import("@angular/forms").
|
|
10
|
+
loginForm: import("@angular/forms").UntypedFormGroup;
|
|
11
11
|
/**
|
|
12
12
|
* @ignore
|
|
13
13
|
*/
|
|
@@ -43,11 +43,11 @@ export declare class LoginComponent implements OnInit {
|
|
|
43
43
|
* @ignore
|
|
44
44
|
*/
|
|
45
45
|
ngOnInit(): void;
|
|
46
|
-
constructor(fb:
|
|
46
|
+
constructor(fb: UntypedFormBuilder);
|
|
47
47
|
submit(): void;
|
|
48
48
|
forgotPassword(): void;
|
|
49
49
|
createAccount(): void;
|
|
50
50
|
checkErrors(field: string): void;
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "ui-login", never, { "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "forgotPasswordEvent": "forgotPasswordEvent"; "createAccountEvent": "createAccountEvent"; }, never, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "ui-login", never, { "loading": "loading"; "i18n": "i18n"; }, { "submitEvent": "submitEvent"; "forgotPasswordEvent": "forgotPasswordEvent"; "createAccountEvent": "createAccountEvent"; }, never, never, false, never>;
|
|
53
53
|
}
|
|
@@ -4,10 +4,10 @@ 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 "../logo/logo.component.module";
|
|
9
9
|
export declare class LoginComponentModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponentModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LoginComponentModule, [typeof i1.LoginComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.FieldComponentModule, typeof i5.ButtonComponentModule, typeof i6.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LoginComponentModule, [typeof i1.LoginComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.FieldComponentModule, typeof i5.ButtonComponentModule, typeof i6.CheckboxComponentModule, typeof i7.LogoComponentModule], [typeof i1.LoginComponent]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<LoginComponentModule>;
|
|
13
13
|
}
|
|
@@ -1,6 +1,29 @@
|
|
|
1
|
+
import { LogoTypeEnum } from './logo.model';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class LogoComponent {
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Logo type
|
|
6
|
+
*
|
|
7
|
+
* @type {LogoTypeEnum}
|
|
8
|
+
* @memberof LogoComponent
|
|
9
|
+
*/
|
|
10
|
+
type: LogoTypeEnum;
|
|
11
|
+
/**
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
14
|
+
logoURL: String;
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
18
|
+
setURL: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
26
|
+
ngOnChanges(): void;
|
|
4
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<LogoComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LogoComponent, "ui-logo", never, {}, {}, never, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LogoComponent, "ui-logo", never, { "type": "type"; }, {}, never, never, false, never>;
|
|
6
29
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum LogoTypeEnum {
|
|
2
|
+
DEFAULT = "default",
|
|
3
|
+
POWEREDBY = "poweredby",
|
|
4
|
+
REVERSE = "reverse"
|
|
5
|
+
}
|
|
6
|
+
export declare enum LogoPathEnum {
|
|
7
|
+
DEFAULT = "/images/testgorilla.svg",
|
|
8
|
+
POWEREDBY = "/images/poweredbyTG.svg",
|
|
9
|
+
REVERSE = "/images/reverseTG.svg"
|
|
10
|
+
}
|
|
@@ -36,5 +36,5 @@ export declare class NavbarComponent {
|
|
|
36
36
|
navigate(routeId: string): void;
|
|
37
37
|
logout(): void;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": "routes"; "activedRoute": "activedRoute"; "userName": "userName"; }, { "navigateEvent": "navigateEvent"; "logoutEvent": "logoutEvent"; }, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": "routes"; "activedRoute": "activedRoute"; "userName": "userName"; }, { "navigateEvent": "navigateEvent"; "logoutEvent": "logoutEvent"; }, never, never, false, never>;
|
|
40
40
|
}
|
|
@@ -31,5 +31,5 @@ export declare class NavigationComponent {
|
|
|
31
31
|
constructor();
|
|
32
32
|
goBackClicked(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "ui-navigation", never, { "title": "title"; "subtitle": "subtitle"; "labelItem": "labelItem"; }, { "goBackClickedEvent": "goBackClickedEvent"; }, never, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationComponent, "ui-navigation", never, { "title": "title"; "subtitle": "subtitle"; "labelItem": "labelItem"; }, { "goBackClickedEvent": "goBackClickedEvent"; }, never, never, false, never>;
|
|
35
35
|
}
|
|
@@ -34,5 +34,5 @@ export declare class PaginatorComponent implements OnInit {
|
|
|
34
34
|
constructor();
|
|
35
35
|
paginatorChanged(paginator: PageEvent): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "ui-paginator", never, { "length": "length"; "defaultPageSize": "defaultPageSize"; }, { "paginatorChangedEvent": "paginatorChangedEvent"; }, never, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "ui-paginator", never, { "length": "length"; "defaultPageSize": "defaultPageSize"; }, { "paginatorChangedEvent": "paginatorChangedEvent"; }, never, never, false, never>;
|
|
38
38
|
}
|
|
@@ -1,30 +1,34 @@
|
|
|
1
|
-
import { ThemePalette } from '@angular/material/core';
|
|
2
1
|
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ProgressBarComponent {
|
|
5
4
|
/**
|
|
6
|
-
*
|
|
5
|
+
* Color of the progress bar.
|
|
6
|
+
* Defaults to Test Gorilla primary color.
|
|
7
7
|
*
|
|
8
|
-
* @type {
|
|
8
|
+
* @type {string}
|
|
9
9
|
* @memberof ProgressBarComponent
|
|
10
10
|
*/
|
|
11
|
-
color:
|
|
11
|
+
color: string;
|
|
12
12
|
/**
|
|
13
|
-
* Progress
|
|
13
|
+
* Progress value of the progress bar.
|
|
14
|
+
* Defaults to zero.
|
|
14
15
|
*
|
|
15
|
-
* @type {
|
|
16
|
+
* @type {number}
|
|
16
17
|
* @memberof ProgressBarComponent
|
|
17
18
|
*/
|
|
18
|
-
|
|
19
|
+
progress: number;
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
+
* Mode of the progress bar.
|
|
22
|
+
* Mode must be one of these values: determinate, indeterminate, buffer, query.
|
|
23
|
+
* Defaults to 'determinate'.
|
|
21
24
|
*
|
|
22
|
-
* @type {
|
|
25
|
+
* @type {ProgressBarMode}
|
|
23
26
|
* @memberof ProgressBarComponent
|
|
24
27
|
*/
|
|
25
|
-
|
|
28
|
+
mode: ProgressBarMode;
|
|
26
29
|
/**
|
|
27
|
-
*
|
|
30
|
+
* Buffer value of the progress bar.
|
|
31
|
+
* Defaults to zero.
|
|
28
32
|
*
|
|
29
33
|
* @type {number}
|
|
30
34
|
* @memberof ProgressBarComponent
|
|
@@ -32,5 +36,5 @@ export declare class ProgressBarComponent {
|
|
|
32
36
|
buffer: number;
|
|
33
37
|
constructor();
|
|
34
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "color": "color"; "
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "color": "color"; "progress": "progress"; "mode": "mode"; "buffer": "buffer"; }, {}, never, never, false, never>;
|
|
36
40
|
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MatRadioButton } from '@angular/material/radio';
|
|
3
|
+
import { RadioButtonEventType } from './radio-button.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RadioButtonComponent implements OnInit, OnChanges {
|
|
6
|
+
/**
|
|
7
|
+
* Determines whether the radio button is disabled.
|
|
8
|
+
* Default: false.
|
|
9
|
+
*
|
|
10
|
+
* @type {boolean}
|
|
11
|
+
* @memberof RadioButtonComponent
|
|
12
|
+
*/
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Determines whether the radio button is checked.
|
|
16
|
+
* Default: false.
|
|
17
|
+
*
|
|
18
|
+
* @type {boolean}
|
|
19
|
+
* @memberof RadioButtonComponent
|
|
20
|
+
*/
|
|
21
|
+
_selected: boolean;
|
|
22
|
+
get selected(): boolean;
|
|
23
|
+
set selected(selected: boolean);
|
|
24
|
+
/**
|
|
25
|
+
* Determines whether the radio button can be unchecked.
|
|
26
|
+
* Default: false.
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof RadioButtonComponent
|
|
30
|
+
*/
|
|
31
|
+
allowUnselect: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Determines the radio button color.
|
|
34
|
+
* Default: Test Gorilla primary color.
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof RadioButtonComponent
|
|
38
|
+
*/
|
|
39
|
+
color: string;
|
|
40
|
+
/**
|
|
41
|
+
* Used to group radios for unique selection.
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof RadioButtonComponent
|
|
45
|
+
*/
|
|
46
|
+
name: string;
|
|
47
|
+
/**
|
|
48
|
+
* Text content will be applied to the input element if present.
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RadioButtonComponent
|
|
52
|
+
*/
|
|
53
|
+
label: string;
|
|
54
|
+
/**
|
|
55
|
+
* Determines whether the radio button is a multiple choice cell.
|
|
56
|
+
* Default: false
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof RadioButtonComponent
|
|
60
|
+
*/
|
|
61
|
+
multiple: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Determines value of the radio button.
|
|
64
|
+
* Default: false
|
|
65
|
+
*
|
|
66
|
+
* @type {any}
|
|
67
|
+
* @memberof RadioButtonComponent
|
|
68
|
+
*/
|
|
69
|
+
value: any;
|
|
70
|
+
/**
|
|
71
|
+
* Event emitted when the checked state of the radio button changes.
|
|
72
|
+
*
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof RadioButtonComponent
|
|
75
|
+
*/
|
|
76
|
+
changeRadio: EventEmitter<RadioButtonEventType>;
|
|
77
|
+
classMultiple: string;
|
|
78
|
+
ngOnInit(): void;
|
|
79
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
80
|
+
clickRadio(element: MatRadioButton, event: MouseEvent): void;
|
|
81
|
+
setClass(): string;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ui-radio-button", never, { "disabled": "disabled"; "selected": "selected"; "allowUnselect": "allowUnselect"; "color": "color"; "name": "name"; "label": "label"; "multiple": "multiple"; "value": "value"; }, { "changeRadio": "changeRadio"; }, never, never, false, never>;
|
|
84
|
+
}
|