@rlucan/ui 14.2.5 → 16.2.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/README.md +24 -24
- package/esm2022/lib/action-button/action-button.component.mjs +99 -0
- package/esm2022/lib/action-icon/action-icon.component.mjs +37 -0
- package/esm2022/lib/autocomplete/autocomplete.component.mjs +391 -0
- package/esm2022/lib/avatar/avatar.component.mjs +34 -0
- package/esm2022/lib/button/button.component.mjs +57 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +39 -0
- package/{esm2020 → esm2022}/lib/checkbox-group/checkbox-group.component.mjs +6 -6
- package/esm2022/lib/currency/currency.component.mjs +151 -0
- package/esm2022/lib/date/date.component.mjs +68 -0
- package/{esm2020 → esm2022}/lib/dialog/dialog.component.mjs +5 -5
- package/esm2022/lib/directives/force-visibility/force-visibility.directive.mjs +104 -0
- package/esm2022/lib/editor/editor.component.mjs +119 -0
- package/{esm2020 → esm2022}/lib/elements/burger/burger.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/elements/expander/expander.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/elements/validation-message/validation-message.component.mjs +4 -4
- package/esm2022/lib/file/file.component.mjs +145 -0
- package/esm2022/lib/file-uploader/ui-file-uploader.component.mjs +405 -0
- package/esm2022/lib/input/input.component.mjs +265 -0
- package/esm2022/lib/input-autocomplete/input-autocomplete.component.mjs +277 -0
- package/esm2022/lib/layouts/base/ui-base-layout.component.mjs +22 -0
- package/esm2022/lib/layouts/base/ui-base.component.mjs +74 -0
- package/esm2022/lib/layouts/simple/ui-simple-layout.component.mjs +18 -0
- package/esm2022/lib/layouts/simple/ui-simple.component.mjs +166 -0
- package/{esm2020 → esm2022}/lib/radio/radio.component.mjs +4 -4
- package/esm2022/lib/radio-group/radio-group.component.mjs +53 -0
- package/esm2022/lib/select/select.component.mjs +126 -0
- package/{esm2020 → esm2022}/lib/services/message-box.service.mjs +10 -10
- package/{esm2020 → esm2022}/lib/services/toast.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/ui-file.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/ui-translate.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/submit-button/submit-button.component.mjs +4 -4
- package/esm2022/lib/table/table.component.mjs +97 -0
- package/esm2022/lib/text-area/text-area.component.mjs +46 -0
- package/esm2022/lib/ui.module.mjs +269 -0
- package/esm2022/public-api.mjs +35 -0
- package/fesm2022/rlucan-ui.mjs +3453 -0
- package/fesm2022/rlucan-ui.mjs.map +1 -0
- package/lib/action-button/action-button.component.d.ts +3 -7
- package/lib/action-icon/action-icon.component.d.ts +1 -1
- package/lib/autocomplete/autocomplete.component.d.ts +2 -2
- package/lib/avatar/avatar.component.d.ts +1 -1
- package/lib/button/button.component.d.ts +1 -1
- package/lib/checkbox/checkbox.component.d.ts +2 -2
- package/lib/checkbox-group/checkbox-group.component.d.ts +2 -2
- package/lib/currency/currency.component.d.ts +3 -2
- package/lib/date/date.component.d.ts +1 -1
- package/lib/dialog/dialog.component.d.ts +1 -1
- package/lib/directives/force-visibility/force-visibility.directive.d.ts +5 -3
- package/lib/editor/editor.component.d.ts +24 -0
- package/lib/elements/burger/burger.component.d.ts +1 -1
- package/lib/elements/expander/expander.component.d.ts +1 -1
- package/lib/elements/validation-message/validation-message.component.d.ts +1 -1
- package/lib/file/file.component.d.ts +1 -1
- package/lib/file-uploader/ui-file-uploader.component.d.ts +2 -2
- package/lib/input/input.component.d.ts +5 -4
- package/lib/input-autocomplete/input-autocomplete.component.d.ts +44 -0
- package/lib/{base → layouts/base}/ui-base-layout.component.d.ts +1 -1
- package/lib/{base → layouts/base}/ui-base.component.d.ts +1 -1
- package/lib/{simple → layouts/simple}/ui-simple-layout.component.d.ts +2 -1
- package/lib/{simple → layouts/simple}/ui-simple.component.d.ts +2 -1
- package/lib/radio/radio.component.d.ts +1 -1
- package/lib/radio-group/radio-group.component.d.ts +2 -2
- package/lib/select/select.component.d.ts +8 -4
- package/lib/services/toast.service.d.ts +1 -1
- package/lib/services/ui-file.service.d.ts +1 -1
- package/lib/submit-button/submit-button.component.d.ts +1 -1
- package/lib/table/table.component.d.ts +1 -1
- package/lib/text-area/text-area.component.d.ts +2 -2
- package/lib/ui.model.d.ts +2 -2
- package/lib/ui.module.d.ts +52 -49
- package/package.json +22 -24
- package/public-api.d.ts +2 -0
- package/scss/ui-defaults.scss +1 -1
- package/src/js/editorjs.mjs +9634 -0
- package/ui.scss +41 -14
- package/esm2020/lib/action-button/action-button.component.mjs +0 -99
- package/esm2020/lib/action-icon/action-icon.component.mjs +0 -37
- package/esm2020/lib/autocomplete/autocomplete.component.mjs +0 -391
- package/esm2020/lib/avatar/avatar.component.mjs +0 -34
- package/esm2020/lib/base/ui-base-layout.component.mjs +0 -22
- package/esm2020/lib/base/ui-base.component.mjs +0 -74
- package/esm2020/lib/button/button.component.mjs +0 -57
- package/esm2020/lib/checkbox/checkbox.component.mjs +0 -39
- package/esm2020/lib/currency/currency.component.mjs +0 -148
- package/esm2020/lib/date/date.component.mjs +0 -68
- package/esm2020/lib/directives/force-visibility/force-visibility.directive.mjs +0 -96
- package/esm2020/lib/file/file.component.mjs +0 -145
- package/esm2020/lib/file-uploader/ui-file-uploader.component.mjs +0 -394
- package/esm2020/lib/input/input.component.mjs +0 -258
- package/esm2020/lib/radio-group/radio-group.component.mjs +0 -53
- package/esm2020/lib/select/select.component.mjs +0 -91
- package/esm2020/lib/simple/ui-simple-layout.component.mjs +0 -15
- package/esm2020/lib/simple/ui-simple.component.mjs +0 -154
- package/esm2020/lib/table/table.component.mjs +0 -97
- package/esm2020/lib/text-area/text-area.component.mjs +0 -46
- package/esm2020/lib/ui.module.mjs +0 -255
- package/esm2020/public-api.mjs +0 -33
- package/fesm2015/rlucan-ui.mjs +0 -3017
- package/fesm2015/rlucan-ui.mjs.map +0 -1
- package/fesm2020/rlucan-ui.mjs +0 -2982
- package/fesm2020/rlucan-ui.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/ui.model.mjs +0 -0
- /package/{esm2020 → esm2022}/rlucan-ui.mjs +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ButtonComponent } from '../button/button.component';
|
|
3
|
+
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ActionButtonComponent extends ButtonComponent implements OnInit {
|
|
5
6
|
withPrimary: boolean;
|
|
@@ -17,16 +18,11 @@ export declare class ActionButtonComponent extends ButtonComponent implements On
|
|
|
17
18
|
private leftPositions;
|
|
18
19
|
openOverlay: boolean;
|
|
19
20
|
onKeydownHandler(evt: KeyboardEvent): void;
|
|
20
|
-
get positions():
|
|
21
|
-
originX: string;
|
|
22
|
-
originY: string;
|
|
23
|
-
overlayX: string;
|
|
24
|
-
overlayY: string;
|
|
25
|
-
}[];
|
|
21
|
+
get positions(): ConnectedPosition[];
|
|
26
22
|
ngOnInit(): void;
|
|
27
23
|
toggleOverlay(status: any): void;
|
|
28
24
|
closeOverlay(): void;
|
|
29
25
|
togglePrimaryOverlay(status: any, $event: any): void;
|
|
30
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonComponent, "ui-action-button", never, { "withPrimary": "withPrimary"; "overlayAlignment": "overlayAlignment"; "hasBackdrop": "hasBackdrop"; "triggerTpl": "triggerTpl"; "autoClose": "autoClose"; }, { "primaryClick": "primaryClick"; "overlayToggled": "overlayToggled"; }, never, ["*"], false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonComponent, "ui-action-button", never, { "withPrimary": { "alias": "withPrimary"; "required": false; }; "overlayAlignment": { "alias": "overlayAlignment"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "triggerTpl": { "alias": "triggerTpl"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; }, { "primaryClick": "primaryClick"; "overlayToggled": "overlayToggled"; }, never, ["*"], false, never>;
|
|
32
28
|
}
|
|
@@ -11,5 +11,5 @@ export declare class ActionIconComponent implements OnInit {
|
|
|
11
11
|
constructor();
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionIconComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionIconComponent, "ui-action-icon", never, { "size": "size"; "color": "color"; "disabled": "disabled"; "busy": "busy"; "matIcon": "matIcon"; }, {}, never, never, false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionIconComponent, "ui-action-icon", never, { "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "matIcon": { "alias": "matIcon"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlContainer, ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
3
|
-
import { UiBaseComponent } from '../base/ui-base.component';
|
|
3
|
+
import { UiBaseComponent } from '../layouts/base/ui-base.component';
|
|
4
4
|
import { InputComponent } from '../input/input.component';
|
|
5
5
|
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -53,5 +53,5 @@ export declare class AutocompleteComponent extends UiBaseComponent implements On
|
|
|
53
53
|
setDisabledState(isDisabled: boolean): void;
|
|
54
54
|
writeValue(obj: any): void;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; host: true; skipSelf: true; }, null]>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "options": "options"; "multiple": "multiple"; "allowNew": "allowNew"; "displayAttribute": "displayAttribute"; "idAttribute": "idAttribute"; "optionDisabled": "optionDisabled"; "optionFormatter": "optionFormatter"; }, {}, never, ["[slot=acprefix]"], false, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "allowNew": { "alias": "allowNew"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "idAttribute": { "alias": "idAttribute"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; }; }, {}, never, ["[slot=acprefix]"], false, never>;
|
|
57
57
|
}
|
|
@@ -10,5 +10,5 @@ export declare class AvatarComponent {
|
|
|
10
10
|
get contrast(): string;
|
|
11
11
|
constructor();
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ui-avatar", never, { "user": "user"; "srcOptions": "srcOptions"; "size": "size"; }, {}, never, never, false, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ui-avatar", never, { "user": { "alias": "user"; "required": false; }; "srcOptions": { "alias": "srcOptions"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -14,5 +14,5 @@ export declare class ButtonComponent {
|
|
|
14
14
|
constructor();
|
|
15
15
|
get isDisabled(): boolean;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "type": "type"; "matIconPrefix": "matIconPrefix"; "label": "label"; "disabled": "disabled"; "busy": "busy"; "kind": "kind"; "color": "color"; "size": "size"; "formInvalid": "formInvalid"; }, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "type": { "alias": "type"; "required": false; }; "matIconPrefix": { "alias": "matIconPrefix"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "kind": { "alias": "kind"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "formInvalid": { "alias": "formInvalid"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { UiSimpleComponent } from '../simple/ui-simple.component';
|
|
3
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CheckboxComponent extends UiSimpleComponent implements OnInit {
|
|
6
6
|
ngControl: NgControl;
|
|
@@ -11,5 +11,5 @@ export declare class CheckboxComponent extends UiSimpleComponent implements OnIn
|
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
setDisabledState(isDisabled: boolean): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [{ optional: true; self: true; }]>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "color": "color"; "useInputMessages": "useInputMessages"; }, {}, never, ["*"], false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "color": { "alias": "color"; "required": false; }; "useInputMessages": { "alias": "useInputMessages"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { UiSimpleComponent } from '../simple/ui-simple.component';
|
|
2
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
3
3
|
import { NgControl } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CheckboxGroupComponent extends UiSimpleComponent implements /*OnInit, */ OnChanges {
|
|
@@ -14,5 +14,5 @@ export declare class CheckboxGroupComponent extends UiSimpleComponent implements
|
|
|
14
14
|
constructor(control: NgControl);
|
|
15
15
|
ngOnChanges(changes: SimpleChanges): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupComponent, [{ optional: true; self: true; }]>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "ui-checkbox-group", never, { "valueAttribute": "valueAttribute"; "displayAttribute": "displayAttribute"; "hintAttribute": "hintAttribute"; "options": "options"; "optionEnabled": "optionEnabled"; }, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "ui-checkbox-group", never, { "valueAttribute": { "alias": "valueAttribute"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "hintAttribute": { "alias": "hintAttribute"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionEnabled": { "alias": "optionEnabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { UiBaseComponent } from '../base/ui-base.component';
|
|
2
|
+
import { UiBaseComponent } from '../layouts/base/ui-base.component';
|
|
3
3
|
import { AbstractControl, ControlContainer, ControlValueAccessor, UntypedFormGroup, ValidationErrors, Validator } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CurrencyComponent extends UiBaseComponent implements OnInit, ControlValueAccessor, Validator {
|
|
@@ -9,6 +9,7 @@ export declare class CurrencyComponent extends UiBaseComponent implements OnInit
|
|
|
9
9
|
}>[];
|
|
10
10
|
currencyDisabled: boolean;
|
|
11
11
|
formControlName: string;
|
|
12
|
+
panelClass: string;
|
|
12
13
|
amountHidden: boolean;
|
|
13
14
|
formGroup: UntypedFormGroup;
|
|
14
15
|
parentFormControl: AbstractControl;
|
|
@@ -26,5 +27,5 @@ export declare class CurrencyComponent extends UiBaseComponent implements OnInit
|
|
|
26
27
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
27
28
|
writeValue(obj: any): void;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyComponent, [{ optional: true; host: true; skipSelf: true; }]>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyComponent, "ui-currency", never, { "currencies": "currencies"; "currencyDisabled": "currencyDisabled"; "formControlName": "formControlName"; "amountHidden": "amountHidden"; }, {}, never, never, false, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyComponent, "ui-currency", never, { "currencies": { "alias": "currencies"; "required": false; }; "currencyDisabled": { "alias": "currencyDisabled"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "amountHidden": { "alias": "amountHidden"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { UiSimpleComponent } from '../simple/ui-simple.component';
|
|
3
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DateComponent extends UiSimpleComponent {
|
|
6
6
|
ngControl: NgControl;
|
|
@@ -9,5 +9,5 @@ export declare class DialogComponent {
|
|
|
9
9
|
constructor(dialogRef: MatDialogRef<DialogComponent>);
|
|
10
10
|
clickClose(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": "title"; "draggable": "draggable"; "hideCloseButton": "hideCloseButton"; "close": "close"; }, {}, never, ["*"], false, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "hideCloseButton": { "alias": "hideCloseButton"; "required": false; }; "close": { "alias": "close"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ForceVisibilityDirective implements OnInit {
|
|
3
|
+
export declare class ForceVisibilityDirective implements OnInit, OnChanges {
|
|
4
4
|
private el;
|
|
5
5
|
private static disabled;
|
|
6
6
|
visibilityWithin: HTMLElement;
|
|
@@ -8,13 +8,15 @@ export declare class ForceVisibilityDirective implements OnInit {
|
|
|
8
8
|
visibilityOnRequestOnly: boolean;
|
|
9
9
|
visibilityEmitChange: boolean;
|
|
10
10
|
visibilityFromTop: number;
|
|
11
|
+
visibilityCheckEnabled: boolean;
|
|
11
12
|
visibilityChanged: EventEmitter<boolean>;
|
|
12
13
|
private visible;
|
|
13
14
|
constructor(el: ElementRef);
|
|
14
15
|
static disableFor(timeoutMs: number): void;
|
|
15
16
|
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
18
|
private isVisible;
|
|
17
19
|
forceVisibility(): void;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ForceVisibilityDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ForceVisibilityDirective, "[uiForceVisibility]", ["ForceVisibilityDirective"], { "visibilityWithin": "visibilityWithin"; "visibilityPadding": "visibilityPadding"; "visibilityOnRequestOnly": "visibilityOnRequestOnly"; "visibilityEmitChange": "visibilityEmitChange"; "visibilityFromTop": "visibilityFromTop"; }, { "visibilityChanged": "visibilityChanged"; }, never, never, false, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ForceVisibilityDirective, "[uiForceVisibility]", ["ForceVisibilityDirective"], { "visibilityWithin": { "alias": "visibilityWithin"; "required": false; }; "visibilityPadding": { "alias": "visibilityPadding"; "required": false; }; "visibilityOnRequestOnly": { "alias": "visibilityOnRequestOnly"; "required": false; }; "visibilityEmitChange": { "alias": "visibilityEmitChange"; "required": false; }; "visibilityFromTop": { "alias": "visibilityFromTop"; "required": false; }; "visibilityCheckEnabled": { "alias": "visibilityCheckEnabled"; "required": false; }; }, { "visibilityChanged": "visibilityChanged"; }, never, never, false, never>;
|
|
20
22
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
|
+
import EditorJS from '@editorjs/editorjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EditorComponent extends UiSimpleComponent implements AfterViewInit {
|
|
7
|
+
ngControl: NgControl;
|
|
8
|
+
private el;
|
|
9
|
+
rows: number;
|
|
10
|
+
autoResize: boolean;
|
|
11
|
+
focused: boolean;
|
|
12
|
+
editor: EditorJS;
|
|
13
|
+
data: any;
|
|
14
|
+
editorId: string;
|
|
15
|
+
clickout(event: any): void;
|
|
16
|
+
constructor(ngControl: NgControl, el: ElementRef);
|
|
17
|
+
focus(): void;
|
|
18
|
+
setDisabledState(isDisabled: boolean): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
inputLength(): any;
|
|
21
|
+
writeValue(obj: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, [{ optional: true; self: true; }, null]>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "ui-editor", never, { "rows": { "alias": "rows"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -5,5 +5,5 @@ export declare class BurgerComponent implements OnInit {
|
|
|
5
5
|
constructor();
|
|
6
6
|
ngOnInit(): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BurgerComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BurgerComponent, "ui-burger", never, { "open": "open"; }, {}, never, never, false, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BurgerComponent, "ui-burger", never, { "open": { "alias": "open"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -6,5 +6,5 @@ export declare class ExpanderComponent implements OnInit {
|
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpanderComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpanderComponent, "ui-expander", never, { "expanded": "expanded"; "direction": "direction"; }, {}, never, never, false, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpanderComponent, "ui-expander", never, { "expanded": { "alias": "expanded"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -8,5 +8,5 @@ export declare class ValidationMessageComponent implements OnInit {
|
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
get errorMessage(): string;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessageComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessageComponent, "ui-validation-message", never, { "validationErrors": "validationErrors"; }, {}, never, never, false, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessageComponent, "ui-validation-message", never, { "validationErrors": { "alias": "validationErrors"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
12
|
}
|
|
@@ -31,5 +31,5 @@ export declare class FileComponent implements OnInit, OnChanges {
|
|
|
31
31
|
ngOnInit(): void;
|
|
32
32
|
ngOnChanges(changes: SimpleChanges): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent, [{ optional: true; }, null, null]>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "ui-file", never, { "fileSize": "fileSize"; "srcOptions": "srcOptions"; "srcData": "srcData"; "srcUrl": "srcUrl"; }, {}, never, never, false, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "ui-file", never, { "fileSize": { "alias": "fileSize"; "required": false; }; "srcOptions": { "alias": "srcOptions"; "required": false; }; "srcData": { "alias": "srcData"; "required": false; }; "srcUrl": { "alias": "srcUrl"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
35
|
}
|
|
@@ -3,7 +3,7 @@ import { ControlContainer } from '@angular/forms';
|
|
|
3
3
|
import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
|
|
4
4
|
import { IUiFileService, IUiFileServiceMessages, UiFileService } from '../services/ui-file.service';
|
|
5
5
|
import { Dimensions, ImageCroppedEvent, ImageTransform } from 'ngx-image-cropper';
|
|
6
|
-
import { UiSimpleComponent } from '../simple/ui-simple.component';
|
|
6
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
7
7
|
import { IUiTranslateService } from '../services/ui-translate.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export interface UploadOutputEx extends UploadOutput {
|
|
@@ -98,5 +98,5 @@ export declare class UiFileUploaderComponent extends UiSimpleComponent implement
|
|
|
98
98
|
writeValue(obj: any): void;
|
|
99
99
|
cropperDone(id: any): void;
|
|
100
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiFileUploaderComponent, [{ optional: true; }, null, { optional: true; host: true; skipSelf: true; }, null]>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiFileUploaderComponent, "ui-file-uploader", never, { "maxFiles": "maxFiles"; "multiple": "multiple"; "crop": "crop"; "cropRounded": "cropRounded"; "cropMaxWidth": "cropMaxWidth"; "fileSize": "fileSize"; "customFileMenu": "customFileMenu"; "addHint": "addHint"; "newFilePosition": "newFilePosition"; "templates": "templates"; "previewPosition": "previewPosition"; }, { "imageCropped": "imageCropped"; "fileEvent": "fileEvent"; }, never, never, false, never>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFileUploaderComponent, "ui-file-uploader", never, { "maxFiles": { "alias": "maxFiles"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "crop": { "alias": "crop"; "required": false; }; "cropRounded": { "alias": "cropRounded"; "required": false; }; "cropMaxWidth": { "alias": "cropMaxWidth"; "required": false; }; "fileSize": { "alias": "fileSize"; "required": false; }; "customFileMenu": { "alias": "customFileMenu"; "required": false; }; "addHint": { "alias": "addHint"; "required": false; }; "newFilePosition": { "alias": "newFilePosition"; "required": false; }; "templates": { "alias": "templates"; "required": false; }; "previewPosition": { "alias": "previewPosition"; "required": false; }; }, { "imageCropped": "imageCropped"; "fileEvent": "fileEvent"; }, never, never, false, never>;
|
|
102
102
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlContainer, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { UiSimpleComponent } from '../simple/ui-simple.component';
|
|
3
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
5
|
+
type PrefixSuffix = {
|
|
6
6
|
icon: string;
|
|
7
7
|
tooltip?: string;
|
|
8
8
|
};
|
|
@@ -15,7 +15,8 @@ export declare class InputComponent extends UiSimpleComponent implements OnInit
|
|
|
15
15
|
activeIcons: boolean;
|
|
16
16
|
forceHasPrefix: boolean;
|
|
17
17
|
forceHasSuffix: boolean;
|
|
18
|
-
|
|
18
|
+
get textAlignClass(): string;
|
|
19
|
+
textAlign: 'left' | 'center' | 'right';
|
|
19
20
|
input: ElementRef | undefined;
|
|
20
21
|
prefix: ElementRef | undefined;
|
|
21
22
|
suffix: ElementRef | undefined;
|
|
@@ -36,6 +37,6 @@ export declare class InputComponent extends UiSimpleComponent implements OnInit
|
|
|
36
37
|
onKeypressed($event: any): void;
|
|
37
38
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, [{ optional: true; host: true; skipSelf: true; }]>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ui-input", never, { "prefixIcon": "prefixIcon"; "suffixIcon": "suffixIcon"; "type": "type"; "clearButton": "clearButton"; "activeIcons": "activeIcons"; "forceHasPrefix": "forceHasPrefix"; "forceHasSuffix": "forceHasSuffix"; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ui-input", never, { "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "activeIcons": { "alias": "activeIcons"; "required": false; }; "forceHasPrefix": { "alias": "forceHasPrefix"; "required": false; }; "forceHasSuffix": { "alias": "forceHasSuffix"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, { "focusChanged": "focusChanged"; "keyPressed": "keyPressed"; }, never, ["[slot=prefix]", "[slot=suffix]"], false, never>;
|
|
40
41
|
}
|
|
41
42
|
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlContainer, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
type PrefixSuffix = {
|
|
6
|
+
icon: string;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare class InputAutocompleteComponent extends UiSimpleComponent implements OnInit {
|
|
10
|
+
protected controlContainer: ControlContainer;
|
|
11
|
+
prefixIcon: PrefixSuffix;
|
|
12
|
+
suffixIcon: PrefixSuffix;
|
|
13
|
+
type: 'text' | 'number' | 'password';
|
|
14
|
+
clearButton: boolean;
|
|
15
|
+
activeIcons: boolean;
|
|
16
|
+
forceHasPrefix: boolean;
|
|
17
|
+
forceHasSuffix: boolean;
|
|
18
|
+
options: any[];
|
|
19
|
+
get textAlignClass(): string;
|
|
20
|
+
textAlign: 'left' | 'center' | 'right';
|
|
21
|
+
input: ElementRef | undefined;
|
|
22
|
+
prefix: ElementRef | undefined;
|
|
23
|
+
suffix: ElementRef | undefined;
|
|
24
|
+
focusChanged: EventEmitter<boolean>;
|
|
25
|
+
keyPressed: EventEmitter<KeyboardEvent>;
|
|
26
|
+
get hasPrefix(): boolean;
|
|
27
|
+
get hasSuffix(): boolean;
|
|
28
|
+
filteredOptions: any[];
|
|
29
|
+
required: boolean;
|
|
30
|
+
hasFocus: boolean;
|
|
31
|
+
value: string;
|
|
32
|
+
get maxLenRequired(): boolean;
|
|
33
|
+
constructor(controlContainer: ControlContainer);
|
|
34
|
+
get showClearButton(): boolean;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
clearValue(): void;
|
|
37
|
+
focus(): void;
|
|
38
|
+
onFocus(focus: boolean): void;
|
|
39
|
+
onKeypressed($event: any): void;
|
|
40
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputAutocompleteComponent, [{ optional: true; host: true; skipSelf: true; }]>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputAutocompleteComponent, "ui-input-autocomplete", never, { "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "activeIcons": { "alias": "activeIcons"; "required": false; }; "forceHasPrefix": { "alias": "forceHasPrefix"; "required": false; }; "forceHasSuffix": { "alias": "forceHasSuffix"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, { "focusChanged": "focusChanged"; "keyPressed": "keyPressed"; }, never, ["[slot=prefix]", "[slot=suffix]"], false, never>;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -4,5 +4,5 @@ export declare class UiBaseLayoutComponent {
|
|
|
4
4
|
ctx: UiBaseComponent;
|
|
5
5
|
get class(): string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiBaseLayoutComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseLayoutComponent, "ui-base-layout", never, { "ctx": "ctx"; }, {}, never, [".counter-top", "*", ".counter-bottom"], false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseLayoutComponent, "ui-base-layout", never, { "ctx": { "alias": "ctx"; "required": false; }; }, {}, never, [".counter-top", "*", ".counter-bottom"], false, never>;
|
|
8
8
|
}
|
|
@@ -19,5 +19,5 @@ export declare abstract class UiBaseComponent implements OnInit {
|
|
|
19
19
|
get validationMessage(): string;
|
|
20
20
|
get isInvalid(): boolean;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiBaseComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseComponent, "ui-abstract-base-component", never, { "placeholder": "placeholder"; "label": "label"; "useInputMessages": "useInputMessages"; "inputMessagesPosition": "inputMessagesPosition"; "hint": "hint"; "size": "size"; }, {}, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseComponent, "ui-abstract-base-component", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "useInputMessages": { "alias": "useInputMessages"; "required": false; }; "inputMessagesPosition": { "alias": "inputMessagesPosition"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
23
|
}
|
|
@@ -2,6 +2,7 @@ import { UiSimpleComponent } from './ui-simple.component';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class UiSimpleLayoutComponent {
|
|
4
4
|
ctx: UiSimpleComponent;
|
|
5
|
+
length(): any;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiSimpleLayoutComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiSimpleLayoutComponent, "ui-simple-layout", never, { "ctx": "ctx"; }, {}, never, ["*"], false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSimpleLayoutComponent, "ui-simple-layout", never, { "ctx": { "alias": "ctx"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
8
|
}
|
|
@@ -34,6 +34,7 @@ export declare abstract class UiSimpleComponent extends UiBaseComponent implemen
|
|
|
34
34
|
writeValue(obj: any): void;
|
|
35
35
|
registerOnValidatorChange(fn: () => void): void;
|
|
36
36
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
37
|
+
inputLength(): any;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiSimpleComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiSimpleComponent, "ui-abstract-simple-component", never, { "validators": "validators"; "formControl": "formControl"; "formControlName": "formControlName"; }, {}, never, never, false, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSimpleComponent, "ui-abstract-simple-component", never, { "validators": { "alias": "validators"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
40
|
}
|
|
@@ -4,5 +4,5 @@ export declare class RadioComponent {
|
|
|
4
4
|
label: any;
|
|
5
5
|
color: 'primary' | 'accent' | 'warn';
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "ui-radio", never, { "value": "value"; "label": "label"; "color": "color"; }, {}, never, never, false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "ui-radio", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { UiSimpleComponent } from '../simple/ui-simple.component';
|
|
2
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
3
3
|
import { NgControl } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class RadioGroupComponent extends UiSimpleComponent implements /*OnInit, */ OnChanges {
|
|
@@ -14,5 +14,5 @@ export declare class RadioGroupComponent extends UiSimpleComponent implements /*
|
|
|
14
14
|
constructor(control: NgControl);
|
|
15
15
|
ngOnChanges(changes: SimpleChanges): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, [{ optional: true; self: true; }]>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "ui-radio-group", never, { "options": "options"; "displayAttribute": "displayAttribute"; "valueAttribute": "valueAttribute"; "groupName": "groupName"; "optionEnabled": "optionEnabled"; }, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "ui-radio-group", never, { "options": { "alias": "options"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "valueAttribute": { "alias": "valueAttribute"; "required": false; }; "groupName": { "alias": "groupName"; "required": false; }; "optionEnabled": { "alias": "optionEnabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { UiSimpleComponent } from '../simple/ui-simple.component';
|
|
3
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
4
|
import { MatSelect } from '@angular/material/select';
|
|
5
5
|
import { IUiTranslateService } from '../services/ui-translate.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SelectComponent extends UiSimpleComponent implements OnInit {
|
|
7
|
+
export declare class SelectComponent extends UiSimpleComponent implements OnInit, OnChanges {
|
|
8
8
|
ngControl: NgControl;
|
|
9
9
|
translateService: IUiTranslateService;
|
|
10
10
|
multiple: boolean;
|
|
@@ -18,16 +18,20 @@ export declare class SelectComponent extends UiSimpleComponent implements OnInit
|
|
|
18
18
|
triggerTemplateRef?: TemplateRef<any>;
|
|
19
19
|
panelClass: any;
|
|
20
20
|
allowEmptySelection: boolean;
|
|
21
|
+
trackBy: any;
|
|
21
22
|
select: MatSelect;
|
|
22
23
|
lastCount: number;
|
|
23
24
|
overoption: boolean;
|
|
24
25
|
constructor(ngControl: NgControl, translateService: IUiTranslateService);
|
|
25
26
|
ngOnInit(): void;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
+
mapValues(src: any): any;
|
|
26
29
|
optionToValue: (o: any) => any;
|
|
27
30
|
selectOption(o: any, select: MatSelect): void;
|
|
28
31
|
selectAll(): void;
|
|
29
32
|
clearAll(): void;
|
|
30
33
|
setDisabledState(isDisabled: boolean): void;
|
|
34
|
+
writeValue(obj: any): void;
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, [{ optional: true; self: true; }, null]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ui-select", never, { "multiple": "multiple"; "triggerFormatter": "triggerFormatter"; "valueAttribute": "valueAttribute"; "resetText": "resetText"; "displayAttribute": "displayAttribute"; "options": "options"; "optionFormatter": "optionFormatter"; "optionTemplateRef": "optionTemplateRef"; "triggerTemplateRef": "triggerTemplateRef"; "panelClass": "panelClass"; "allowEmptySelection": "allowEmptySelection"; }, {}, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ui-select", never, { "multiple": { "alias": "multiple"; "required": false; }; "triggerFormatter": { "alias": "triggerFormatter"; "required": false; }; "valueAttribute": { "alias": "valueAttribute"; "required": false; }; "resetText": { "alias": "resetText"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; }; "optionTemplateRef": { "alias": "optionTemplateRef"; "required": false; }; "triggerTemplateRef": { "alias": "triggerTemplateRef"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "allowEmptySelection": { "alias": "allowEmptySelection"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
37
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export
|
|
3
|
+
export type ToastType = 'info' | 'success' | 'warning' | 'fail';
|
|
4
4
|
export declare class ToastService {
|
|
5
5
|
private snackService;
|
|
6
6
|
constructor(snackService: MatSnackBar);
|
|
@@ -2,7 +2,7 @@ import { EventEmitter, InjectionToken } from '@angular/core';
|
|
|
2
2
|
import { UploadFile, UploadInput } from 'ngx-uploader';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export
|
|
5
|
+
export type IUiFileServiceMessages = 'cropInvalidFileType' | 'extensionNotAllowed' | 'fileAdded' | 'fileRemoved';
|
|
6
6
|
export interface IUiFileService {
|
|
7
7
|
getAuthHeader: () => {
|
|
8
8
|
[key: string]: string;
|
|
@@ -17,5 +17,5 @@ export declare class SubmitButtonComponent implements OnInit {
|
|
|
17
17
|
get formsValid(): boolean;
|
|
18
18
|
doSubmit(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubmitButtonComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubmitButtonComponent, "ui-submit-button", never, { "busy": "busy"; "disabled": "disabled"; "formGroups": "formGroups"; "label": "label"; "submit": "submit"; "formInvalid": "formInvalid"; "prependCloseButton": "prependCloseButton"; }, {}, never, never, false, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubmitButtonComponent, "ui-submit-button", never, { "busy": { "alias": "busy"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formGroups": { "alias": "formGroups"; "required": false; }; "label": { "alias": "label"; "required": false; }; "submit": { "alias": "submit"; "required": false; }; "formInvalid": { "alias": "formInvalid"; "required": false; }; "prependCloseButton": { "alias": "prependCloseButton"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
21
|
}
|
|
@@ -32,5 +32,5 @@ export declare class TableComponent implements OnInit, AfterViewInit {
|
|
|
32
32
|
display(row: any, col: TableColumn): any;
|
|
33
33
|
rowClicked(row: any): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ui-table", never, { "columns": "columns"; "dataSource": "dataSource"; "options": "options"; "rowTemplates": "rowTemplates"; "headerTemplates": "headerTemplates"; "stateStoreKey": "stateStoreKey"; "rowAction": "rowAction"; "matSortActive": "matSortActive"; "matSortDirection": "matSortDirection"; }, {}, never, never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ui-table", never, { "columns": { "alias": "columns"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "options": { "alias": "options"; "required": false; }; "rowTemplates": { "alias": "rowTemplates"; "required": false; }; "headerTemplates": { "alias": "headerTemplates"; "required": false; }; "stateStoreKey": { "alias": "stateStoreKey"; "required": false; }; "rowAction": { "alias": "rowAction"; "required": false; }; "matSortActive": { "alias": "matSortActive"; "required": false; }; "matSortDirection": { "alias": "matSortDirection"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
36
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { UiSimpleComponent } from '../simple/ui-simple.component';
|
|
3
|
+
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TextAreaComponent extends UiSimpleComponent {
|
|
6
6
|
ngControl: NgControl;
|
|
@@ -14,5 +14,5 @@ export declare class TextAreaComponent extends UiSimpleComponent {
|
|
|
14
14
|
setDisabledState(isDisabled: boolean): void;
|
|
15
15
|
onFocus(focus: boolean): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, [{ optional: true; self: true; }]>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "ui-text-area", never, { "rows": "rows"; "autoResize": "autoResize"; }, { "focusChanged": "focusChanged"; }, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "ui-text-area", never, { "rows": { "alias": "rows"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; }, { "focusChanged": "focusChanged"; }, never, never, false, never>;
|
|
18
18
|
}
|
package/lib/ui.model.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type ControlSize = 'small' | 'smaller' | 'normal' | 'larger' | 'large';
|
|
2
|
+
export type ControlColor = 'primary' | 'accent' | 'warn';
|