@rlucan/ui 19.0.6 → 20.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/fesm2022/rlucan-ui.mjs +113 -113
- package/fesm2022/rlucan-ui.mjs.map +1 -1
- package/index.d.ts +905 -5
- package/package.json +10 -9
- package/ui.scss +17 -17
- package/lib/action-button/action-button.component.d.ts +0 -28
- package/lib/action-icon/action-icon.component.d.ts +0 -15
- package/lib/auto-complete/auto-complete.component.d.ts +0 -67
- package/lib/autocomplete/autocomplete.component.d.ts +0 -57
- package/lib/avatar/avatar.component.d.ts +0 -14
- package/lib/button/button.component.d.ts +0 -18
- package/lib/checkbox/checkbox.component.d.ts +0 -15
- package/lib/checkbox-group/checkbox-group.component.d.ts +0 -18
- package/lib/currency/currency.component.d.ts +0 -31
- package/lib/date/date.component.d.ts +0 -24
- package/lib/dialog/dialog.component.d.ts +0 -13
- package/lib/directives/force-visibility/force-visibility.directive.d.ts +0 -22
- package/lib/editor/editor.component.d.ts +0 -24
- package/lib/elements/burger/burger.component.d.ts +0 -9
- package/lib/elements/expander/expander.component.d.ts +0 -10
- package/lib/elements/validation-message/validation-message.component.d.ts +0 -12
- package/lib/file/file.component.d.ts +0 -36
- package/lib/file-uploader/ui-file-uploader.component.d.ts +0 -107
- package/lib/input/input.component.d.ts +0 -42
- package/lib/input-autocomplete/input-autocomplete.component.d.ts +0 -44
- package/lib/layouts/base/ui-base-layout.component.d.ts +0 -8
- package/lib/layouts/base/ui-base.component.d.ts +0 -23
- package/lib/layouts/simple/ui-simple-layout.component.d.ts +0 -8
- package/lib/layouts/simple/ui-simple.component.d.ts +0 -40
- package/lib/radio/radio.component.d.ts +0 -8
- package/lib/radio-group/radio-group.component.d.ts +0 -19
- package/lib/select/select.component.d.ts +0 -37
- package/lib/services/message-box.service.d.ts +0 -58
- package/lib/services/toast.service.d.ts +0 -13
- package/lib/services/ui-file.service.d.ts +0 -37
- package/lib/services/ui-translate.service.d.ts +0 -11
- package/lib/submit-button/submit-button.component.d.ts +0 -21
- package/lib/table/table.component.d.ts +0 -39
- package/lib/text-area/text-area.component.d.ts +0 -18
- package/lib/ui.model.d.ts +0 -2
- package/lib/ui.module.d.ts +0 -60
- package/public-api.d.ts +0 -30
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rlucan/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.2",
|
|
4
4
|
"description": "My UI Components",
|
|
5
5
|
"author": "rlucan@gmail.com",
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"@angular/animations": "^
|
|
8
|
-
"@angular/cdk": "^
|
|
9
|
-
"@angular/common": "^
|
|
10
|
-
"@angular/
|
|
11
|
-
"@angular/
|
|
12
|
-
"@angular/
|
|
13
|
-
"@angular/material
|
|
14
|
-
"@angular/
|
|
7
|
+
"@angular/animations": "^20.0.4",
|
|
8
|
+
"@angular/cdk": "^20.0.3",
|
|
9
|
+
"@angular/common": "^20.0.4",
|
|
10
|
+
"@angular/compiler": "^20.0.4",
|
|
11
|
+
"@angular/core": "^20.0.4",
|
|
12
|
+
"@angular/forms": "^20.0.4",
|
|
13
|
+
"@angular/material": "^20.0.3",
|
|
14
|
+
"@angular/material-moment-adapter": "^20.0.3",
|
|
15
|
+
"@angular/platform-browser": "^20.0.4",
|
|
15
16
|
"@editorjs/editorjs": "^2.29.0",
|
|
16
17
|
"@editorjs/list": "^1.9.0",
|
|
17
18
|
"codex-notifier": "^1.1.2",
|
package/ui.scss
CHANGED
|
@@ -832,7 +832,7 @@ ui-button, ui-action-button, ui-input, ui-input-autocomplete, ui-date, ui-text-a
|
|
|
832
832
|
}
|
|
833
833
|
|
|
834
834
|
.mat-mdc-checkbox {
|
|
835
|
-
--
|
|
835
|
+
--mat-checkbox-state-layer-size: 2.5em;
|
|
836
836
|
.mdc-checkbox {
|
|
837
837
|
width: calc(2.5em / 2);
|
|
838
838
|
height: calc(2.5em / 2);
|
|
@@ -840,8 +840,8 @@ ui-button, ui-action-button, ui-input, ui-input-autocomplete, ui-date, ui-text-a
|
|
|
840
840
|
margin: calc(-1 * 2.5em / 4) !important;
|
|
841
841
|
}
|
|
842
842
|
.mdc-checkbox__background {
|
|
843
|
-
top: calc((var(--
|
|
844
|
-
left: calc((var(--
|
|
843
|
+
top: calc((var(--mat-checkbox-state-layer-size, 40px) - 16px) / 2) !important;
|
|
844
|
+
left: calc((var(--mat-checkbox-state-layer-size, 40px) - 16px) / 2) !important;
|
|
845
845
|
height: calc(2.5em / 2 - 2px);
|
|
846
846
|
width: calc(2.5em / 2 - 2px);
|
|
847
847
|
&::before {
|
|
@@ -861,7 +861,7 @@ ui-button, ui-action-button, ui-input, ui-input-autocomplete, ui-date, ui-text-a
|
|
|
861
861
|
|
|
862
862
|
.mat-mdc-radio-button {
|
|
863
863
|
@mixin sizes($basesize) {
|
|
864
|
-
--
|
|
864
|
+
--mat-radio-state-layer-size: #{$basesize};
|
|
865
865
|
.mdc-radio {
|
|
866
866
|
width: #{calc($basesize / 2)};
|
|
867
867
|
height: #{calc($basesize / 2)};
|
|
@@ -906,8 +906,8 @@ ui-button, ui-action-button, ui-input, ui-input-autocomplete, ui-date, ui-text-a
|
|
|
906
906
|
|
|
907
907
|
/**************** angular material css overrides ****************************/
|
|
908
908
|
* {
|
|
909
|
-
margin: 0;
|
|
910
|
-
padding: 0;
|
|
909
|
+
//margin: 0;
|
|
910
|
+
//padding: 0;
|
|
911
911
|
box-sizing: border-box;
|
|
912
912
|
}
|
|
913
913
|
|
|
@@ -960,24 +960,24 @@ ui-button, ui-action-button, ui-input, ui-input-autocomplete, ui-date, ui-text-a
|
|
|
960
960
|
|
|
961
961
|
|
|
962
962
|
:root {
|
|
963
|
-
--
|
|
964
|
-
--
|
|
965
|
-
--
|
|
966
|
-
--
|
|
967
|
-
--
|
|
968
|
-
--
|
|
969
|
-
--
|
|
970
|
-
--
|
|
971
|
-
--
|
|
963
|
+
--mat-typography-body1-font-size: 1em;
|
|
964
|
+
--mat-typography-body1-line-height: 1.2em;
|
|
965
|
+
--mat-typography-body1-letter-spacing: 0;
|
|
966
|
+
--mat-typography-body2-font-size: 1em;
|
|
967
|
+
--mat-typography-body2-line-height: 1.2em;
|
|
968
|
+
--mat-typography-body2-letter-spacing: 0;
|
|
969
|
+
--mat-typography-button-letter-spacing: 0;
|
|
970
|
+
--mat-typography-button-font-size: 1em;
|
|
971
|
+
--mat-typography-button-font-weight: 400;
|
|
972
972
|
--mat-select-trigger-text-line-height: 1.2em;
|
|
973
973
|
--mat-select-trigger-text-tracking: 0;
|
|
974
974
|
--mat-select-trigger-text-size: 1em;
|
|
975
975
|
--mat-option-label-text-line-height: 1.2em;
|
|
976
976
|
--mat-option-label-text-size: 1em;
|
|
977
977
|
--mat-option-label-text-tracking: 0;
|
|
978
|
-
--
|
|
978
|
+
--mat-dialog-subhead-tracking: 0;
|
|
979
979
|
}
|
|
980
980
|
|
|
981
981
|
.mat-mdc-tab-header {
|
|
982
|
-
--mat-tab-
|
|
982
|
+
--mat-tab-label-text-tracking: 0;
|
|
983
983
|
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ButtonComponent } from '../button/button.component';
|
|
3
|
-
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ActionButtonComponent extends ButtonComponent implements OnInit {
|
|
6
|
-
withPrimary: boolean;
|
|
7
|
-
overlayAlignment: 'left' | 'right';
|
|
8
|
-
hasBackdrop: boolean;
|
|
9
|
-
triggerTpl: any;
|
|
10
|
-
autoClose: boolean;
|
|
11
|
-
primaryClick: EventEmitter<void>;
|
|
12
|
-
overlayToggled: EventEmitter<boolean>;
|
|
13
|
-
trigger1: any;
|
|
14
|
-
deferredRender: boolean;
|
|
15
|
-
iconHover: boolean;
|
|
16
|
-
get class(): string;
|
|
17
|
-
private rightPositions;
|
|
18
|
-
private leftPositions;
|
|
19
|
-
openOverlay: boolean;
|
|
20
|
-
onKeydownHandler(evt: KeyboardEvent): void;
|
|
21
|
-
get positions(): ConnectedPosition[];
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
toggleOverlay(status: any): void;
|
|
24
|
-
closeOverlay(): void;
|
|
25
|
-
togglePrimaryOverlay(status: any, $event: any): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonComponent, 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>;
|
|
28
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ControlColor, ControlSize } from '../ui.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ActionIconComponent implements OnInit {
|
|
5
|
-
size: ControlSize;
|
|
6
|
-
color: ControlColor;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
busy: boolean;
|
|
9
|
-
matIcon: string;
|
|
10
|
-
get class(): string;
|
|
11
|
-
constructor();
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionIconComponent, 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
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ControlContainer, ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
3
|
-
import { UiBaseComponent } from '../layouts/base/ui-base.component';
|
|
4
|
-
import { InputComponent } from '../input/input.component';
|
|
5
|
-
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AutoCompleteComponent extends UiBaseComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
8
|
-
protected controlContainer: ControlContainer;
|
|
9
|
-
private cdr;
|
|
10
|
-
private SHOWN_USERS_DELTA;
|
|
11
|
-
constructor(controlContainer: ControlContainer, cdr: ChangeDetectorRef);
|
|
12
|
-
templates: {
|
|
13
|
-
optionTemplate?: any;
|
|
14
|
-
notFound?: any;
|
|
15
|
-
fileTemplate?: any;
|
|
16
|
-
customContentTemplate?: any;
|
|
17
|
-
};
|
|
18
|
-
options?: any[];
|
|
19
|
-
multiple: boolean;
|
|
20
|
-
allowNew: boolean;
|
|
21
|
-
displayAttribute: string;
|
|
22
|
-
idAttribute: string;
|
|
23
|
-
panelClass: string;
|
|
24
|
-
clearButton: boolean;
|
|
25
|
-
removeDiacritics: boolean;
|
|
26
|
-
searchableOptions?: any[];
|
|
27
|
-
filteredOptions: any[];
|
|
28
|
-
filteredMaxItemsShown: number;
|
|
29
|
-
messageShown: boolean;
|
|
30
|
-
initialOption?: any;
|
|
31
|
-
selectedOption?: any;
|
|
32
|
-
lastEmittedId?: any;
|
|
33
|
-
focusedOption?: any;
|
|
34
|
-
alreadyAdded: boolean;
|
|
35
|
-
optionsVisible: boolean;
|
|
36
|
-
input?: InputComponent;
|
|
37
|
-
optionsTrigger: CdkOverlayOrigin;
|
|
38
|
-
inputFocused: boolean;
|
|
39
|
-
inputControl: UntypedFormControl;
|
|
40
|
-
checkboxSelection: Set<any>;
|
|
41
|
-
onChange: (value: any) => void;
|
|
42
|
-
optionDisabled: (any: any) => boolean;
|
|
43
|
-
optionFormatter: (any: any) => string;
|
|
44
|
-
protected buildSearchableOptions(): any[];
|
|
45
|
-
protected filterOptions(text: string): any[];
|
|
46
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
inputFocusChanged(focused: boolean): void;
|
|
49
|
-
get hasCheckboxSelected(): boolean;
|
|
50
|
-
optionChecked(u: any): boolean;
|
|
51
|
-
select(u: any): void;
|
|
52
|
-
toggleOptionCheckboxed(u: any): void;
|
|
53
|
-
keyPressed(keyEvent: KeyboardEvent): void;
|
|
54
|
-
toggleDropdown(): void;
|
|
55
|
-
emitSelection(src?: string): void;
|
|
56
|
-
cancelCheckboxSelection(): void;
|
|
57
|
-
useCheckboxSelection(): void;
|
|
58
|
-
newOption(): void;
|
|
59
|
-
loadMore(visible: boolean): void;
|
|
60
|
-
focus(): void;
|
|
61
|
-
registerOnChange(fn: any): void;
|
|
62
|
-
registerOnTouched(fn: any): void;
|
|
63
|
-
setDisabledState(isDisabled: boolean): void;
|
|
64
|
-
writeValue(obj: any): void;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, [{ optional: true; host: true; skipSelf: true; }, null]>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "ui-auto-complete", never, { "templates": { "alias": "templates"; "required": false; }; "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; }; "panelClass": { "alias": "panelClass"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "removeDiacritics": { "alias": "removeDiacritics"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; }; }, {}, never, ["[slot=acprefix]"], false, never>;
|
|
67
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlContainer, ControlValueAccessor, UntypedFormControl } from '@angular/forms';
|
|
3
|
-
import { UiBaseComponent } from '../layouts/base/ui-base.component';
|
|
4
|
-
import { InputComponent } from '../input/input.component';
|
|
5
|
-
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AutocompleteComponent extends UiBaseComponent implements OnInit, ControlValueAccessor {
|
|
8
|
-
protected controlContainer: ControlContainer;
|
|
9
|
-
private cdr;
|
|
10
|
-
private SHOWN_USERS_DELTA;
|
|
11
|
-
constructor(controlContainer: ControlContainer, cdr: ChangeDetectorRef);
|
|
12
|
-
options?: any[];
|
|
13
|
-
multiple: boolean;
|
|
14
|
-
allowNew: boolean;
|
|
15
|
-
displayAttribute: string;
|
|
16
|
-
idAttribute: string;
|
|
17
|
-
searchableOptions?: any[];
|
|
18
|
-
filteredOptions: any[];
|
|
19
|
-
filteredMaxItemsShown: number;
|
|
20
|
-
messageShown: boolean;
|
|
21
|
-
initialOption?: any;
|
|
22
|
-
selectedOption?: any;
|
|
23
|
-
lastEmittedId?: any;
|
|
24
|
-
focusedOption?: any;
|
|
25
|
-
alreadyAdded: boolean;
|
|
26
|
-
optionsVisible: boolean;
|
|
27
|
-
input?: InputComponent;
|
|
28
|
-
optionsTrigger: CdkOverlayOrigin;
|
|
29
|
-
inputFocused: boolean;
|
|
30
|
-
inputControl: UntypedFormControl;
|
|
31
|
-
checkboxSelection: Set<any>;
|
|
32
|
-
onChange: (value: any) => void;
|
|
33
|
-
optionDisabled: (any: any) => boolean;
|
|
34
|
-
optionFormatter: (any: any) => string;
|
|
35
|
-
protected buildSearchableOptions(): any[];
|
|
36
|
-
protected filterOptions(text: string): any[];
|
|
37
|
-
ngOnInit(): void;
|
|
38
|
-
inputFocusChanged(focused: boolean): void;
|
|
39
|
-
get hasCheckboxSelected(): boolean;
|
|
40
|
-
optionChecked(u: any): boolean;
|
|
41
|
-
select(u: any): void;
|
|
42
|
-
toggleOptionCheckboxed(u: any): void;
|
|
43
|
-
keyPressed(keyEvent: KeyboardEvent): void;
|
|
44
|
-
toggleDropdown(): void;
|
|
45
|
-
emitSelection(src?: string): void;
|
|
46
|
-
cancelCheckboxSelection(): void;
|
|
47
|
-
useCheckboxSelection(): void;
|
|
48
|
-
newOption(): void;
|
|
49
|
-
loadMore(visible: boolean): void;
|
|
50
|
-
focus(): void;
|
|
51
|
-
registerOnChange(fn: any): void;
|
|
52
|
-
registerOnTouched(fn: any): void;
|
|
53
|
-
setDisabledState(isDisabled: boolean): void;
|
|
54
|
-
writeValue(obj: any): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; host: true; skipSelf: true; }, null]>;
|
|
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
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AvatarComponent {
|
|
3
|
-
user: Partial<{
|
|
4
|
-
avatar: any;
|
|
5
|
-
shortName: string;
|
|
6
|
-
shortColour: string;
|
|
7
|
-
}>;
|
|
8
|
-
srcOptions: any;
|
|
9
|
-
size: 'big' | 'bigger' | 'normal' | 'smaller' | 'small' | 'mini';
|
|
10
|
-
get contrast(): string;
|
|
11
|
-
constructor();
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, 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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ControlColor, ControlSize } from '../ui.model';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ButtonComponent {
|
|
4
|
-
type: 'submit' | 'button';
|
|
5
|
-
matIconPrefix: any;
|
|
6
|
-
label: string | undefined;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
busy: boolean;
|
|
9
|
-
kind: 'basic' | 'flat' | 'stroked';
|
|
10
|
-
color: ControlColor;
|
|
11
|
-
size: ControlSize;
|
|
12
|
-
get class(): string;
|
|
13
|
-
formInvalid: boolean;
|
|
14
|
-
constructor();
|
|
15
|
-
get isDisabled(): boolean;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, 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, ["*"], false, never>;
|
|
18
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CheckboxComponent extends UiSimpleComponent implements OnInit {
|
|
6
|
-
ngControl: NgControl;
|
|
7
|
-
color: 'primary' | 'accent' | 'warn';
|
|
8
|
-
useInputMessages: 'never' | 'always' | 'ondemand';
|
|
9
|
-
text: any;
|
|
10
|
-
constructor(ngControl: NgControl);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
setDisabledState(isDisabled: boolean): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [{ optional: true; self: true; }]>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "color": { "alias": "color"; "required": false; }; "useInputMessages": { "alias": "useInputMessages"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
3
|
-
import { NgControl } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CheckboxGroupComponent extends UiSimpleComponent implements /*OnInit, */ OnChanges {
|
|
6
|
-
control: NgControl;
|
|
7
|
-
cbxs: any;
|
|
8
|
-
private valueMode;
|
|
9
|
-
valueAttribute: string | undefined;
|
|
10
|
-
displayAttribute: string;
|
|
11
|
-
hintAttribute: string;
|
|
12
|
-
options: any[];
|
|
13
|
-
optionEnabled: (option: any) => boolean;
|
|
14
|
-
constructor(control: NgControl);
|
|
15
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupComponent, [{ optional: true; self: true; }]>;
|
|
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
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { UiBaseComponent } from '../layouts/base/ui-base.component';
|
|
3
|
-
import { AbstractControl, ControlContainer, ControlValueAccessor, UntypedFormGroup, ValidationErrors, Validator } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CurrencyComponent extends UiBaseComponent implements OnInit, ControlValueAccessor, Validator {
|
|
6
|
-
protected controlContainer: ControlContainer;
|
|
7
|
-
currencies: Partial<{
|
|
8
|
-
code: string;
|
|
9
|
-
}>[];
|
|
10
|
-
currencyDisabled: boolean;
|
|
11
|
-
formControlName: string;
|
|
12
|
-
panelClass: string;
|
|
13
|
-
amountHidden: boolean;
|
|
14
|
-
formGroup: UntypedFormGroup;
|
|
15
|
-
parentFormControl: AbstractControl;
|
|
16
|
-
hasFocus: boolean;
|
|
17
|
-
constructor(controlContainer: ControlContainer);
|
|
18
|
-
onChange: (value: any) => void;
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
get isInvalid(): boolean;
|
|
21
|
-
get validationErrors(): ValidationErrors;
|
|
22
|
-
focusChanged(hasFocus: boolean): void;
|
|
23
|
-
registerOnChange(fn: any): void;
|
|
24
|
-
registerOnTouched(fn: any): void;
|
|
25
|
-
registerOnValidatorChange(fn: () => void): void;
|
|
26
|
-
setDisabledState(isDisabled: boolean): void;
|
|
27
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
28
|
-
writeValue(obj: any): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyComponent, [{ optional: true; host: true; skipSelf: true; }]>;
|
|
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>;
|
|
31
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DateComponent extends UiSimpleComponent {
|
|
6
|
-
ngControl: NgControl;
|
|
7
|
-
doKeyup: EventEmitter<any>;
|
|
8
|
-
picker?: TemplateRef<any>;
|
|
9
|
-
input?: TemplateRef<any>;
|
|
10
|
-
onChange: any;
|
|
11
|
-
hasFocus: boolean;
|
|
12
|
-
controlTypeName: string;
|
|
13
|
-
opening: boolean;
|
|
14
|
-
constructor(ngControl: NgControl);
|
|
15
|
-
open(): void;
|
|
16
|
-
close(): void;
|
|
17
|
-
keyup(): void;
|
|
18
|
-
writeValue(obj: any): void;
|
|
19
|
-
registerOnChange(fn: any): void;
|
|
20
|
-
registerOnTouched(fn: any): void;
|
|
21
|
-
setDisabledState(isDisabled: boolean): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateComponent, [{ optional: true; self: true; }]>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "ui-date", never, {}, { "doKeyup": "doKeyup"; }, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DialogComponent {
|
|
4
|
-
dialogRef: MatDialogRef<DialogComponent>;
|
|
5
|
-
title: string;
|
|
6
|
-
draggable: boolean;
|
|
7
|
-
hideCloseButton: boolean;
|
|
8
|
-
close: (() => void) | undefined;
|
|
9
|
-
constructor(dialogRef: MatDialogRef<DialogComponent>);
|
|
10
|
-
clickClose(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, 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
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ForceVisibilityDirective implements OnInit, OnChanges {
|
|
4
|
-
private el;
|
|
5
|
-
private static disabled;
|
|
6
|
-
visibilityWithin: HTMLElement;
|
|
7
|
-
visibilityPadding: number;
|
|
8
|
-
visibilityOnRequestOnly: boolean;
|
|
9
|
-
visibilityEmitChange: boolean;
|
|
10
|
-
visibilityFromTop: number;
|
|
11
|
-
visibilityCheckEnabled: boolean;
|
|
12
|
-
visibilityChanged: EventEmitter<boolean>;
|
|
13
|
-
private visible;
|
|
14
|
-
constructor(el: ElementRef);
|
|
15
|
-
static disableFor(timeoutMs: number): void;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
-
private isVisible;
|
|
19
|
-
forceVisibility(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ForceVisibilityDirective, 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>;
|
|
22
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BurgerComponent implements OnInit {
|
|
4
|
-
open: boolean;
|
|
5
|
-
constructor();
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BurgerComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BurgerComponent, "ui-burger", never, { "open": { "alias": "open"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ExpanderComponent implements OnInit {
|
|
4
|
-
expanded: boolean;
|
|
5
|
-
direction: 'right-down' | 'up-down';
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpanderComponent, 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
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { IUiTranslateService } from '../../services/ui-translate.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ValidationMessageComponent implements OnInit {
|
|
5
|
-
protected translateService: IUiTranslateService;
|
|
6
|
-
validationErrors: any;
|
|
7
|
-
constructor(translateService: IUiTranslateService);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
get errorMessage(): string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessageComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessageComponent, "ui-validation-message", never, { "validationErrors": { "alias": "validationErrors"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { IUiFileService, UiFileService, IUiFileSize } from '../services/ui-file.service';
|
|
3
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FileComponent implements OnChanges {
|
|
6
|
-
private fileServiceConfig;
|
|
7
|
-
private domSanitizer;
|
|
8
|
-
private fileService;
|
|
9
|
-
private uiFileSize?;
|
|
10
|
-
set fileSize(fs: string | IUiFileSize);
|
|
11
|
-
srcOptions: any;
|
|
12
|
-
srcData: any;
|
|
13
|
-
srcUrl?: {
|
|
14
|
-
src: string;
|
|
15
|
-
mimeType?: string;
|
|
16
|
-
};
|
|
17
|
-
get fitImageFileSize(): boolean;
|
|
18
|
-
visible: boolean;
|
|
19
|
-
src: any;
|
|
20
|
-
srcUrlMimeType?: string;
|
|
21
|
-
nativeFileSizeRatio: number;
|
|
22
|
-
nativeFileWidth: any;
|
|
23
|
-
nativeFileHeight: any;
|
|
24
|
-
get width(): string;
|
|
25
|
-
get maxWidth(): string;
|
|
26
|
-
get height(): string;
|
|
27
|
-
get maxHeight(): string;
|
|
28
|
-
get imgStyle(): any;
|
|
29
|
-
get isVideo(): any;
|
|
30
|
-
get mime(): any;
|
|
31
|
-
get useRetinaSrc(): boolean;
|
|
32
|
-
constructor(fileServiceConfig: IUiFileService, domSanitizer: DomSanitizer, fileService: UiFileService);
|
|
33
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent, [{ optional: true; }, null, null]>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "ui-file", never, { "fileSize": { "alias": "fileSize"; "required": true; }; "srcOptions": { "alias": "srcOptions"; "required": false; }; "srcData": { "alias": "srcData"; "required": false; }; "srcUrl": { "alias": "srcUrl"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
-
}
|