@rlucan/ui 19.0.7 → 20.0.3

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.
Files changed (42) hide show
  1. package/fesm2022/rlucan-ui.mjs +126 -118
  2. package/fesm2022/rlucan-ui.mjs.map +1 -1
  3. package/index.d.ts +906 -5
  4. package/package.json +10 -9
  5. package/ui.scss +15 -15
  6. package/lib/action-button/action-button.component.d.ts +0 -28
  7. package/lib/action-icon/action-icon.component.d.ts +0 -15
  8. package/lib/auto-complete/auto-complete.component.d.ts +0 -67
  9. package/lib/autocomplete/autocomplete.component.d.ts +0 -57
  10. package/lib/avatar/avatar.component.d.ts +0 -14
  11. package/lib/button/button.component.d.ts +0 -18
  12. package/lib/checkbox/checkbox.component.d.ts +0 -15
  13. package/lib/checkbox-group/checkbox-group.component.d.ts +0 -18
  14. package/lib/currency/currency.component.d.ts +0 -31
  15. package/lib/date/date.component.d.ts +0 -24
  16. package/lib/dialog/dialog.component.d.ts +0 -13
  17. package/lib/directives/force-visibility/force-visibility.directive.d.ts +0 -22
  18. package/lib/editor/editor.component.d.ts +0 -24
  19. package/lib/elements/burger/burger.component.d.ts +0 -9
  20. package/lib/elements/expander/expander.component.d.ts +0 -10
  21. package/lib/elements/validation-message/validation-message.component.d.ts +0 -12
  22. package/lib/file/file.component.d.ts +0 -36
  23. package/lib/file-uploader/ui-file-uploader.component.d.ts +0 -107
  24. package/lib/input/input.component.d.ts +0 -42
  25. package/lib/input-autocomplete/input-autocomplete.component.d.ts +0 -44
  26. package/lib/layouts/base/ui-base-layout.component.d.ts +0 -8
  27. package/lib/layouts/base/ui-base.component.d.ts +0 -23
  28. package/lib/layouts/simple/ui-simple-layout.component.d.ts +0 -8
  29. package/lib/layouts/simple/ui-simple.component.d.ts +0 -40
  30. package/lib/radio/radio.component.d.ts +0 -8
  31. package/lib/radio-group/radio-group.component.d.ts +0 -19
  32. package/lib/select/select.component.d.ts +0 -37
  33. package/lib/services/message-box.service.d.ts +0 -58
  34. package/lib/services/toast.service.d.ts +0 -13
  35. package/lib/services/ui-file.service.d.ts +0 -37
  36. package/lib/services/ui-translate.service.d.ts +0 -11
  37. package/lib/submit-button/submit-button.component.d.ts +0 -21
  38. package/lib/table/table.component.d.ts +0 -39
  39. package/lib/text-area/text-area.component.d.ts +0 -18
  40. package/lib/ui.model.d.ts +0 -2
  41. package/lib/ui.module.d.ts +0 -60
  42. package/public-api.d.ts +0 -30
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@rlucan/ui",
3
- "version": "19.0.7",
3
+ "version": "20.0.3",
4
4
  "description": "My UI Components",
5
5
  "author": "rlucan@gmail.com",
6
6
  "peerDependencies": {
7
- "@angular/animations": "^19.0.3",
8
- "@angular/cdk": "^19.0.2",
9
- "@angular/common": "^19.0.3",
10
- "@angular/core": "^19.0.3",
11
- "@angular/forms": "^19.0.3",
12
- "@angular/material": "^19.0.2",
13
- "@angular/material-moment-adapter": "^19.0.2",
14
- "@angular/platform-browser": "^19.0.3",
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
- --mdc-checkbox-state-layer-size: 2.5em;
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(--mdc-checkbox-state-layer-size, 40px) - 16px) / 2) !important;
844
- left: calc((var(--mdc-checkbox-state-layer-size, 40px) - 16px) / 2) !important;
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
- --mdc-radio-state-layer-size: #{$basesize};
864
+ --mat-radio-state-layer-size: #{$basesize};
865
865
  .mdc-radio {
866
866
  width: #{calc($basesize / 2)};
867
867
  height: #{calc($basesize / 2)};
@@ -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
- --mdc-typography-body1-font-size: 1em;
964
- --mdc-typography-body1-line-height: 1.2em;
965
- --mdc-typography-body1-letter-spacing: 0;
966
- --mdc-typography-body2-font-size: 1em;
967
- --mdc-typography-body2-line-height: 1.2em;
968
- --mdc-typography-body2-letter-spacing: 0;
969
- --mdc-typography-button-letter-spacing: 0;
970
- --mdc-typography-button-font-size: 1em;
971
- --mdc-typography-button-font-weight: 400;
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
- --mdc-dialog-subhead-tracking: 0;
978
+ --mat-dialog-subhead-tracking: 0;
979
979
  }
980
980
 
981
981
  .mat-mdc-tab-header {
982
- --mat-tab-header-label-text-tracking: 0;
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
- }
@@ -1,107 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { ControlContainer } from '@angular/forms';
3
- import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
4
- import { IUiFileService, IUiFileServiceMessages, UiFileService, IUiFileSize } from '../services/ui-file.service';
5
- import { Dimensions, ImageCroppedEvent, ImageTransform } from 'ngx-image-cropper';
6
- import { UiSimpleComponent } from '../layouts/simple/ui-simple.component';
7
- import { IUiTranslateService } from '../services/ui-translate.service';
8
- import * as i0 from "@angular/core";
9
- export interface UploadOutputEx extends UploadOutput {
10
- file: UploadFileEx;
11
- }
12
- export interface UploadFileEx extends UploadFile {
13
- imagePreview?: any;
14
- base64?: any;
15
- }
16
- export interface IUiUploaderUserMessage {
17
- message: IUiFileServiceMessages;
18
- data: any;
19
- }
20
- export declare class UiFileUploaderComponent extends UiSimpleComponent implements OnInit, OnDestroy {
21
- private fileServiceConfig;
22
- translateService: IUiTranslateService;
23
- protected controlContainer: ControlContainer;
24
- private fileService;
25
- private uiFileSize;
26
- _fileSize: string | IUiFileSize;
27
- set fileSize(fs: string | IUiFileSize);
28
- maxFiles: number;
29
- multiple: boolean;
30
- crop: boolean;
31
- cropRounded: boolean;
32
- cropMaxWidth: any;
33
- customFileMenu: boolean;
34
- addHint: any;
35
- newFilePosition: 'first' | 'last';
36
- templates: {
37
- menuTemplate?: any;
38
- addFileTemplate?: any;
39
- fileTemplate?: any;
40
- customContentTemplate?: any;
41
- };
42
- get menuTemplate(): any;
43
- get addFileTemplate(): any;
44
- get customContentTemplate(): any;
45
- get fileTemplate(): any;
46
- previewPosition: 'left' | 'bottom' | 'above';
47
- imageCropped: EventEmitter<any>;
48
- fileEvent: EventEmitter<IUiUploaderUserMessage>;
49
- uploadOptions: UploaderOptions;
50
- uploading: boolean;
51
- changeFileIndex: any;
52
- showCropper: boolean;
53
- menuVisible: any;
54
- showCropPreview: {};
55
- cropPreviewTimeouts: {};
56
- cropSourceImages: {};
57
- cropperImageLoaded: {};
58
- imagesDone: {};
59
- transform: ImageTransform;
60
- canvasRotation: {};
61
- files: {
62
- custom?: any;
63
- $newFile?: UploadFile;
64
- }[];
65
- responseFiles: any;
66
- refreshAddInput: boolean;
67
- fileMenuOpened: any;
68
- patchingValues: boolean;
69
- inputArray: boolean;
70
- dragging: boolean;
71
- uploaderId: number;
72
- constructor(fileServiceConfig: IUiFileService, translateService: IUiTranslateService, controlContainer: ControlContainer, fileService: UiFileService);
73
- get uploadInput(): EventEmitter<UploadInput>;
74
- croppedImages: {};
75
- get editable(): boolean;
76
- get ngAddStyle(): {
77
- width: string;
78
- height: string;
79
- };
80
- get aspectRatio(): number;
81
- get addFileImgSrc(): (size: IUiFileSize) => string;
82
- cropDone(f: any): any;
83
- ngOnDestroy(): void;
84
- remove(f: any): void;
85
- patchValues(): void;
86
- get hasFilesToUpload(): boolean;
87
- canImagePreview(type: string): boolean;
88
- onUploadOutput($event: UploadOutput, skipCustomValidation?: boolean): void;
89
- prepareResponse(doemit?: boolean): void;
90
- beforeSave(): Promise<unknown>;
91
- fileChangeEvent(event: any, f: any): void;
92
- startCropPreview(id: any): void;
93
- stopCropPreview(id: any): void;
94
- zoomCroppedImage(dir: any, id: any): void;
95
- rotateCroppedImage(dir: any, id: any): void;
96
- onImageCropped(event: ImageCroppedEvent, id: any): void;
97
- imageLoaded(id: any): void;
98
- cropperReady(sourceImageDimensions: Dimensions, id: any): void;
99
- loadImageFailed(): void;
100
- toggleMenuVisibility(f: any): void;
101
- menuClick(): void;
102
- writeValue(obj: any): void;
103
- cropperDone(id: any): void;
104
- uploadImgSrc(): string;
105
- static ɵfac: i0.ɵɵFactoryDeclaration<UiFileUploaderComponent, [{ optional: true; }, null, { optional: true; host: true; skipSelf: true; }, null]>;
106
- static ɵcmp: i0.ɵɵComponentDeclaration<UiFileUploaderComponent, "ui-file-uploader", never, { "fileSize": { "alias": "fileSize"; "required": false; }; "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; }; "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>;
107
- }