ui-core-abv 0.0.0-watch

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 (103) hide show
  1. package/README.md +63 -0
  2. package/fesm2022/ui-core-abv.mjs +9838 -0
  3. package/fesm2022/ui-core-abv.mjs.map +1 -0
  4. package/index.d.ts +5 -0
  5. package/lib/animations/animatedRow.animation.d.ts +1 -0
  6. package/lib/animations/animatios.index.d.ts +6 -0
  7. package/lib/animations/fadeAndRise.animation.d.ts +1 -0
  8. package/lib/animations/highlightRow.animation.d.ts +1 -0
  9. package/lib/animations/pushTop.animation.d.ts +1 -0
  10. package/lib/animations/sideModal.animation.d.ts +2 -0
  11. package/lib/animations/simpleFade.animation.d.ts +1 -0
  12. package/lib/components/accordion/accordion.component.d.ts +11 -0
  13. package/lib/components/button/button.component.d.ts +21 -0
  14. package/lib/components/dropdown-container/dropdown-close.directive.d.ts +7 -0
  15. package/lib/components/dropdown-container/dropdown-container.component.d.ts +51 -0
  16. package/lib/components/dynamic-form/base-value-accessot.d.ts +12 -0
  17. package/lib/components/dynamic-form/form/dynamic-form.component.d.ts +63 -0
  18. package/lib/components/dynamic-form/form-state.service.d.ts +16 -0
  19. package/lib/components/dynamic-form/form-wrapper/form-wrapper.component.d.ts +57 -0
  20. package/lib/components/dynamic-form/form.models.d.ts +95 -0
  21. package/lib/components/dynamic-form/steps-form/step-tabs/step-tabs.component.d.ts +13 -0
  22. package/lib/components/dynamic-form/steps-form/steps-form.component.d.ts +34 -0
  23. package/lib/components/editable-table/editable-table.component.d.ts +84 -0
  24. package/lib/components/excel-table/excel-table.component.d.ts +21 -0
  25. package/lib/components/inputs/checkbox/checkbox.component.d.ts +28 -0
  26. package/lib/components/inputs/date-picker/date-picker.component.d.ts +89 -0
  27. package/lib/components/inputs/file-input/file-input.component.d.ts +59 -0
  28. package/lib/components/inputs/input/input.component.d.ts +20 -0
  29. package/lib/components/inputs/input-wrapper/input-wrapper.component.d.ts +12 -0
  30. package/lib/components/inputs/multy-searcher/multy-searcher.component.d.ts +11 -0
  31. package/lib/components/inputs/multy-select/multy-select.component.d.ts +59 -0
  32. package/lib/components/inputs/phone-input/phone-countries.data.d.ts +8 -0
  33. package/lib/components/inputs/phone-input/phone-input.component.d.ts +79 -0
  34. package/lib/components/inputs/select/select.component.d.ts +77 -0
  35. package/lib/components/inputs/time-picker/time-picker.component.d.ts +67 -0
  36. package/lib/components/inputs/toggle-button/toggle-button.component.d.ts +12 -0
  37. package/lib/components/inputs/ui-radio/ui-radio.component.d.ts +33 -0
  38. package/lib/components/inputs/ui-slider/ui-slider.component.d.ts +38 -0
  39. package/lib/components/inputs/uic-searcher/uic-searcher.component.d.ts +61 -0
  40. package/lib/components/item-value/item-value.component.d.ts +30 -0
  41. package/lib/components/kpi-card/kpi-card.component.d.ts +15 -0
  42. package/lib/components/modal/floating-modal/modal.component.d.ts +21 -0
  43. package/lib/components/modal/floating-modal/modalconfig.model.d.ts +7 -0
  44. package/lib/components/modal/side-modal/side-modal.component.d.ts +30 -0
  45. package/lib/components/modal/side-modal/sideModalConfig.model.d.ts +16 -0
  46. package/lib/components/overlay-card/overlay-card.component.d.ts +17 -0
  47. package/lib/components/pool-options/pool-options.component.d.ts +46 -0
  48. package/lib/components/progress-bar/progress-bar.component.d.ts +17 -0
  49. package/lib/components/push-alerts/alert/alert.component.d.ts +16 -0
  50. package/lib/components/push-alerts/alert-container/alert-container.component.d.ts +13 -0
  51. package/lib/components/push-alerts/alert.helpers.d.ts +5 -0
  52. package/lib/components/push-alerts/alert.model.d.ts +29 -0
  53. package/lib/components/push-alerts/tynyalert.helpers.d.ts +6 -0
  54. package/lib/components/rule-builder/rule-builder.component.d.ts +111 -0
  55. package/lib/components/rule-builder/rule-definirion/rule-definirion.component.d.ts +55 -0
  56. package/lib/components/short-table/short-table.component.d.ts +15 -0
  57. package/lib/components/signature-pad/signature-pad.component.d.ts +36 -0
  58. package/lib/components/skeleton-cards/skeleton-cards.component.d.ts +13 -0
  59. package/lib/components/skeleton-loader/skeleton-loader.component.d.ts +10 -0
  60. package/lib/components/status-label/status-label.component.d.ts +8 -0
  61. package/lib/components/table/table-list/table-list.component.d.ts +7 -0
  62. package/lib/components/table/table-pagination/table-pagination.component.d.ts +20 -0
  63. package/lib/components/table/table-searcher/table-searcher.component.d.ts +15 -0
  64. package/lib/components/table/table-user/table-user.component.d.ts +7 -0
  65. package/lib/components/table/table.component.d.ts +92 -0
  66. package/lib/components/table/table.models.d.ts +70 -0
  67. package/lib/components/tabs-button/tabs-button.component.d.ts +17 -0
  68. package/lib/components/tag-selector/tag-selector.component.d.ts +52 -0
  69. package/lib/components/tiny-alert/tiny-alert.component.d.ts +15 -0
  70. package/lib/components/tiny-alert/tiny-alert.model.d.ts +33 -0
  71. package/lib/components/tooltip/tooltip.component.d.ts +9 -0
  72. package/lib/components/tree-admin/tree-admin.component.d.ts +81 -0
  73. package/lib/components/uic-action-button/uic-action-button.component.d.ts +36 -0
  74. package/lib/components/uic-portlet-card/uic-portlet-card.component.d.ts +37 -0
  75. package/lib/components/user-formbuilder/block-editor/block-editor.component.d.ts +20 -0
  76. package/lib/components/user-formbuilder/block-editor/field-editor/field-editor.component.d.ts +33 -0
  77. package/lib/components/user-formbuilder/block-editor/field-editor/field-options-editor/field-options-editor.component.d.ts +12 -0
  78. package/lib/components/user-formbuilder/block-editor/field-type-selector/field-type-selector.component.d.ts +9 -0
  79. package/lib/components/user-formbuilder/form-preview/form-preview.component.d.ts +14 -0
  80. package/lib/components/user-formbuilder/user-formbuilder.component.d.ts +61 -0
  81. package/lib/components/work-panel/work-panel.component.d.ts +63 -0
  82. package/lib/directives/textarea-autoresize-max-rows.directive.d.ts +9 -0
  83. package/lib/directives/textarea-autoresize-min-rows.directive.d.ts +9 -0
  84. package/lib/directives/textarea-autoresize.directive.d.ts +29 -0
  85. package/lib/directives/tool-tip.directive.d.ts +18 -0
  86. package/lib/helpers.d.ts +8 -0
  87. package/lib/pipes/first-capital.pipe.d.ts +7 -0
  88. package/lib/pipes/name-inits.pipe.d.ts +7 -0
  89. package/lib/pipes/translate.pipe.d.ts +11 -0
  90. package/lib/services/modaRef.d.ts +15 -0
  91. package/lib/services/modal.constant.d.ts +5 -0
  92. package/lib/services/modal.service.d.ts +22 -0
  93. package/lib/services/push-alert.service.d.ts +13 -0
  94. package/lib/services/tiny-alert.service.d.ts +13 -0
  95. package/lib/services/translate.service.d.ts +22 -0
  96. package/lib/translate/dictionary.en.d.ts +290 -0
  97. package/lib/translate/dictionary.es.d.ts +290 -0
  98. package/package.json +27 -0
  99. package/public-api.d.ts +59 -0
  100. package/src/lib/styles/_default_colors.scss +101 -0
  101. package/src/lib/styles/_mixins.scss +20 -0
  102. package/src/lib/styles/_tokens.scss +73 -0
  103. package/src/lib/styles/_variables.scss +51 -0
@@ -0,0 +1,89 @@
1
+ import { OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { ConnectedPosition } from '@angular/cdk/overlay';
3
+ import { ButtonColor } from '../../button/button.component';
4
+ import * as i0 from "@angular/core";
5
+ type CalendarView = 'days' | 'months' | 'years';
6
+ declare const base: abstract new () => {
7
+ value: string;
8
+ valueChange: import("@angular/core").EventEmitter<string>;
9
+ onChange: (value: string) => void;
10
+ onTouched: () => void;
11
+ writeValue(obj: string): void;
12
+ registerOnChange(fn: any): void;
13
+ registerOnTouched(fn: any): void;
14
+ setDisabledState?(isDisabled: boolean): void;
15
+ notifyChange(value: string): void;
16
+ };
17
+ export declare class UicDatePickerComponent extends base implements OnChanges {
18
+ icon: string;
19
+ iconColor: ButtonColor;
20
+ internalIcon: string;
21
+ internalIconColor: ButtonColor;
22
+ disabled: boolean;
23
+ label: string;
24
+ error: string;
25
+ tip: string;
26
+ max: string;
27
+ min: string;
28
+ justMonth: boolean;
29
+ monthDay: 'last' | 'first';
30
+ calendarTemplate: TemplateRef<any>;
31
+ private overlayRef;
32
+ months: string[];
33
+ today: Date;
34
+ currentYear: number;
35
+ maxDate: Date | null;
36
+ minDate: Date | null;
37
+ view: CalendarView;
38
+ paintedDate: Date | null;
39
+ selectedDate: Date;
40
+ selectedYear: number;
41
+ selectedMonth: null;
42
+ monthWeeks: (Date | null)[][];
43
+ decadeRange: number[];
44
+ displayValue: string;
45
+ get inputPlaceholder(): string;
46
+ private readonly overlay;
47
+ private readonly vcr;
48
+ private readonly host;
49
+ ngOnInit(): void;
50
+ ngOnChanges(changes: SimpleChanges): void;
51
+ overlayPositions: ConnectedPosition[];
52
+ openCalendar(): void;
53
+ closeCalendar(): void;
54
+ get monthName(): string;
55
+ getDecadeRange(): number[];
56
+ getWeeks(): (Date | null)[][];
57
+ prev(): void;
58
+ next(): void;
59
+ changeView(): void;
60
+ selectYear(year: number): void;
61
+ selectMonth(monthIndex: number): void;
62
+ selectDate(date: Date): void;
63
+ isToday(day: Date | null): boolean;
64
+ isPainted(day: Date | null): boolean;
65
+ isThisMonth(m: string): boolean;
66
+ parseDateLimits(date: string | Date | null | undefined): Date | null;
67
+ cleanInput(): void;
68
+ pickToday(): void;
69
+ onInputChange(event: Event): void;
70
+ onInputBlur(): void;
71
+ onInputKeydown(event: KeyboardEvent): void;
72
+ writeValue(value: string | null): void;
73
+ private applyValue;
74
+ private getInitialViewDate;
75
+ isTodayAvailable(): boolean;
76
+ private clearValue;
77
+ private setCurrentViewDate;
78
+ private formatDisplay;
79
+ private parseDisplay;
80
+ private isWithinLimits;
81
+ private normalizeDate;
82
+ private toIsoString;
83
+ private buildMonthDate;
84
+ isMonthDisabled(monthIndex: number): boolean;
85
+ isSelectedMonth(monthIndex: number): boolean;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicDatePickerComponent, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicDatePickerComponent, "ui-date-picker", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "justMonth": { "alias": "justMonth"; "required": false; }; "monthDay": { "alias": "monthDay"; "required": false; }; }, {}, never, never, true, never>;
88
+ }
89
+ export {};
@@ -0,0 +1,59 @@
1
+ import { ButtonColor } from '../../button/button.component';
2
+ import * as i0 from "@angular/core";
3
+ export type UicFileInputValue = {
4
+ name: string;
5
+ blob?: Blob;
6
+ path?: string;
7
+ fileUid?: string;
8
+ };
9
+ declare const base: abstract new () => {
10
+ value: UicFileInputValue[];
11
+ valueChange: import("@angular/core").EventEmitter<UicFileInputValue[]>;
12
+ onChange: (value: UicFileInputValue[]) => void;
13
+ onTouched: () => void;
14
+ writeValue(obj: UicFileInputValue[]): void;
15
+ registerOnChange(fn: any): void;
16
+ registerOnTouched(fn: any): void;
17
+ setDisabledState?(isDisabled: boolean): void;
18
+ notifyChange(value: UicFileInputValue[]): void;
19
+ };
20
+ export declare class UicFileInputComponent extends base {
21
+ icon: string;
22
+ iconColor: ButtonColor;
23
+ internalIcon: string;
24
+ internalIconColor: ButtonColor;
25
+ size: 's' | 'm' | 'l';
26
+ label: string;
27
+ error: string;
28
+ tip: string;
29
+ disabled: boolean;
30
+ loading: boolean;
31
+ multy: boolean;
32
+ fileTypes: string[] | string | null;
33
+ fileUidResolverFn?: (fileUid: string) => void;
34
+ private fileInput?;
35
+ value: UicFileInputValue[];
36
+ files: UicFileInputValue[];
37
+ isDragging: boolean;
38
+ get acceptAttribute(): string | null;
39
+ private get allFilesAllowed();
40
+ openFileBrowser(): void;
41
+ onNativeInputChange(event: Event): void;
42
+ removeFile(index: number): void;
43
+ onDragOver(event: DragEvent): void;
44
+ onDragLeave(event: DragEvent): void;
45
+ getIcon(file: UicFileInputValue): string;
46
+ onDrop(event: DragEvent): void;
47
+ writeValue(value: UicFileInputValue[] | null): void;
48
+ private processIncomingFiles;
49
+ private mergeFiles;
50
+ private applyFiles;
51
+ private filterAllowedFiles;
52
+ private matchesAcceptTokens;
53
+ private isExcelType;
54
+ private isWordType;
55
+ downloadFile(item: UicFileInputValue): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicFileInputComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicFileInputComponent, "ui-file-input", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "multy": { "alias": "multy"; "required": false; }; "fileTypes": { "alias": "fileTypes"; "required": false; }; "fileUidResolverFn": { "alias": "fileUidResolverFn"; "required": false; }; }, {}, never, never, true, never>;
58
+ }
59
+ export {};
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ButtonColor } from '../../button/button.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class UicInputComponent {
5
+ icon: string;
6
+ iconColor: ButtonColor;
7
+ internalIcon: string;
8
+ internalIconColor: ButtonColor;
9
+ size: 's' | 'm' | 'l';
10
+ label: string;
11
+ error: string;
12
+ tip: string;
13
+ disabled: boolean;
14
+ loading: boolean;
15
+ clickButton: EventEmitter<boolean>;
16
+ disableBtn: boolean;
17
+ disableButton(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicInputComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicInputComponent, "ui-input", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clickButton": "clickButton"; }, never, ["*", "[counter]"], true, never>;
20
+ }
@@ -0,0 +1,12 @@
1
+ import { ButtonColor } from '../../button/button.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InputWrapperComponent {
4
+ icon: string;
5
+ iconColor: ButtonColor;
6
+ label: string;
7
+ error: string;
8
+ tip: string;
9
+ disabled: boolean;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputWrapperComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputWrapperComponent, "ui-input-wrapper", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class UicMultySearcherComponent {
4
+ itemDisplayFn?: (item: any) => string;
5
+ disabled: boolean;
6
+ values: any[];
7
+ valuesChange: EventEmitter<any[]>;
8
+ removeItem(idx: number): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicMultySearcherComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicMultySearcherComponent, "ui-multy-searcher", never, { "itemDisplayFn": { "alias": "itemDisplayFn"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "values": { "alias": "values"; "required": false; }; }, { "valuesChange": "valuesChange"; }, never, never, true, never>;
11
+ }
@@ -0,0 +1,59 @@
1
+ import { SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { ConnectedPosition } from '@angular/cdk/overlay';
3
+ import { AppSelectOption } from '../select/select.component';
4
+ import { ButtonColor } from '../../button/button.component';
5
+ import * as i0 from "@angular/core";
6
+ type selectId = (number | string)[];
7
+ declare const base: abstract new () => {
8
+ value: selectId;
9
+ valueChange: import("@angular/core").EventEmitter<selectId>;
10
+ onChange: (value: selectId) => void;
11
+ onTouched: () => void;
12
+ writeValue(obj: selectId): void;
13
+ registerOnChange(fn: any): void;
14
+ registerOnTouched(fn: any): void;
15
+ setDisabledState?(isDisabled: boolean): void;
16
+ notifyChange(value: selectId): void;
17
+ };
18
+ export declare class UicMultySelectComponent extends base {
19
+ icon: string;
20
+ iconColor: 'primary' | 'secondary';
21
+ internalIcon: string;
22
+ internalIconColor: ButtonColor;
23
+ size: 's' | 'm' | 'l';
24
+ label: string;
25
+ error: string;
26
+ tip: string;
27
+ showSubtitle: boolean;
28
+ disabled: boolean;
29
+ nonSelectedText: string;
30
+ allSelectedText: string;
31
+ emptyText: string;
32
+ loading: boolean;
33
+ options: AppSelectOption[];
34
+ allSelected: boolean;
35
+ selectedSet: Set<string | number>;
36
+ toggleAll(checked: boolean): void;
37
+ toggleOption(id: number | string): void;
38
+ updateAllSelected(): void;
39
+ applySelection(): void;
40
+ get selectedLabels(): string[];
41
+ get isAllSelected(): boolean;
42
+ get hasSelection(): boolean;
43
+ get selectedSummaryText(): string;
44
+ dropdownTemplate: TemplateRef<any>;
45
+ private overlayRef;
46
+ overlayPositions: ConnectedPosition[];
47
+ private readonly overlay;
48
+ private readonly vcr;
49
+ private readonly host;
50
+ ngOnChanges(changes: SimpleChanges): void;
51
+ openList(): void;
52
+ closeList(): void;
53
+ writeValue(value: (string | number)[] | null): void;
54
+ private emitSelection;
55
+ private syncSelectionFromValue;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicMultySelectComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicMultySelectComponent, "ui-multy-select", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "showSubtitle": { "alias": "showSubtitle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "nonSelectedText": { "alias": "nonSelectedText"; "required": false; }; "allSelectedText": { "alias": "allSelectedText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
58
+ }
59
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface PhoneCountry {
2
+ name: string;
3
+ iso2: string;
4
+ dialCode: string;
5
+ priority?: number;
6
+ areaCodes?: string[];
7
+ }
8
+ export declare const PHONE_COUNTRIES: PhoneCountry[];
@@ -0,0 +1,79 @@
1
+ import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { ButtonColor } from '../../button/button.component';
3
+ import { PhoneCountry } from './phone-countries.data';
4
+ import * as i0 from "@angular/core";
5
+ export interface UicPhoneInputValue {
6
+ countryIso2: string;
7
+ dialCode: string;
8
+ nationalNumber: string;
9
+ internationalNumber: string;
10
+ }
11
+ type PhoneInputModel = UicPhoneInputValue | null;
12
+ declare const base: abstract new () => {
13
+ value: PhoneInputModel;
14
+ valueChange: import("@angular/core").EventEmitter<PhoneInputModel>;
15
+ onChange: (value: PhoneInputModel) => void;
16
+ onTouched: () => void;
17
+ writeValue(obj: PhoneInputModel): void;
18
+ registerOnChange(fn: any): void;
19
+ registerOnTouched(fn: any): void;
20
+ setDisabledState?(isDisabled: boolean): void;
21
+ notifyChange(value: PhoneInputModel): void;
22
+ };
23
+ export declare class UicPhoneInputComponent extends base implements OnChanges, OnDestroy {
24
+ icon: string;
25
+ iconColor: ButtonColor;
26
+ internalIcon: string;
27
+ internalIconColor: ButtonColor;
28
+ size: 's' | 'm' | 'l';
29
+ label: string;
30
+ error: string;
31
+ tip: string;
32
+ placeholder: string;
33
+ disabled: boolean;
34
+ loading: boolean;
35
+ preferredCountries: string[];
36
+ flagPath: string;
37
+ set countries(value: PhoneCountry[]);
38
+ get countries(): PhoneCountry[];
39
+ private readonly searchInput?;
40
+ private readonly dropdownTemplate?;
41
+ dropdownOpen: boolean;
42
+ searchTerm: string;
43
+ phoneNumber: string;
44
+ selectedCountry: PhoneCountry;
45
+ filteredCountries: PhoneCountry[];
46
+ readonly dropdownId: string;
47
+ private pendingNormalizedValue;
48
+ private changeRegistered;
49
+ private _countries;
50
+ private readonly host;
51
+ private readonly overlay;
52
+ private readonly vcr;
53
+ private overlayRef?;
54
+ private readonly overlayPositions;
55
+ constructor();
56
+ ngOnChanges(changes: SimpleChanges): void;
57
+ ngOnDestroy(): void;
58
+ writeValue(value: PhoneInputModel | string): void;
59
+ registerOnChange(fn: any): void;
60
+ toggleDropdown(): void;
61
+ selectCountry(country: PhoneCountry): void;
62
+ onNumberInput(event: Event): void;
63
+ onBlur(): void;
64
+ onSearchChange(event: Event): void;
65
+ clearSearch(): void;
66
+ getFlagUrl(iso: string): string;
67
+ private emitValue;
68
+ private openDropdown;
69
+ private closeDropdown;
70
+ private resetSearch;
71
+ private resetCountryLists;
72
+ private getDefaultCountry;
73
+ private parseStringValue;
74
+ private findCountryByPrefix;
75
+ private propagateNormalizedValue;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicPhoneInputComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicPhoneInputComponent, "ui-phone-input", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "flagPath": { "alias": "flagPath"; "required": false; }; "countries": { "alias": "countries"; "required": false; }; }, {}, never, never, true, never>;
78
+ }
79
+ export {};
@@ -0,0 +1,77 @@
1
+ import { SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { ConnectedPosition } from '@angular/cdk/overlay';
3
+ import { ButtonColor } from '../../button/button.component';
4
+ import * as i0 from "@angular/core";
5
+ type selectId = number | string | null;
6
+ declare const base: abstract new () => {
7
+ value: selectId;
8
+ valueChange: import("@angular/core").EventEmitter<selectId>;
9
+ onChange: (value: selectId) => void;
10
+ onTouched: () => void;
11
+ writeValue(obj: selectId): void;
12
+ registerOnChange(fn: any): void;
13
+ registerOnTouched(fn: any): void;
14
+ setDisabledState?(isDisabled: boolean): void;
15
+ notifyChange(value: selectId): void;
16
+ };
17
+ export declare class UicSelectComponent extends base {
18
+ icon: string;
19
+ iconColor: ButtonColor;
20
+ internalIcon: string;
21
+ internalIconColor: ButtonColor;
22
+ size: 's' | 'm' | 'l';
23
+ label: string;
24
+ error: string;
25
+ tip: string;
26
+ showSubtitle: boolean;
27
+ disabled: boolean;
28
+ nonSelectedText: string;
29
+ noneText: string;
30
+ emptyText: string;
31
+ searcherEnabled: boolean;
32
+ loading: boolean;
33
+ nullable: boolean;
34
+ options: AppSelectOption[];
35
+ dropdownTemplate: TemplateRef<any>;
36
+ private overlayRef;
37
+ searchTerm: string;
38
+ activeOptionIndex: number;
39
+ overlayPositions: ConnectedPosition[];
40
+ selectedOption: AppSelectOption | null;
41
+ private readonly overlay;
42
+ private readonly vcr;
43
+ private readonly host;
44
+ ngOnChanges(changes: SimpleChanges): void;
45
+ get showSearcher(): boolean;
46
+ get filteredOptions(): AppSelectOption[];
47
+ get showNullableOption(): boolean;
48
+ get keyboardOptions(): (AppSelectOption | null)[];
49
+ openList(): void;
50
+ selectOption(option: AppSelectOption | null): void;
51
+ closeList(): void;
52
+ writeValue(value: string | number | null): void;
53
+ updateSearchTerm(value: string): void;
54
+ clearSearch(event?: Event): void;
55
+ isNoneOptionActive(): boolean;
56
+ isOptionActive(index: number): boolean;
57
+ getOptionIndex(index: number): number;
58
+ highlightMatch(text: string): string;
59
+ private focusSearcher;
60
+ private handleOverlayKeydown;
61
+ private setInitialActiveOption;
62
+ private resetActiveOption;
63
+ private moveActiveOption;
64
+ private scrollActiveOptionIntoView;
65
+ private normalizeText;
66
+ private escapeHtml;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicSelectComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicSelectComponent, "ui-select", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "showSubtitle": { "alias": "showSubtitle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "nonSelectedText": { "alias": "nonSelectedText"; "required": false; }; "noneText": { "alias": "noneText"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "searcherEnabled": { "alias": "searcherEnabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "nullable": { "alias": "nullable"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
69
+ }
70
+ export interface AppSelectOption {
71
+ id?: string | number | null;
72
+ text: string;
73
+ detail?: string;
74
+ icon?: string;
75
+ iconColor?: string;
76
+ }
77
+ export {};
@@ -0,0 +1,67 @@
1
+ import { ElementRef, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { ConnectedPosition } from '@angular/cdk/overlay';
3
+ import { ButtonColor } from '../../button/button.component';
4
+ import * as i0 from "@angular/core";
5
+ declare const base: abstract new () => {
6
+ value: string;
7
+ valueChange: import("@angular/core").EventEmitter<string>;
8
+ onChange: (value: string) => void;
9
+ onTouched: () => void;
10
+ writeValue(obj: string): void;
11
+ registerOnChange(fn: any): void;
12
+ registerOnTouched(fn: any): void;
13
+ setDisabledState?(isDisabled: boolean): void;
14
+ notifyChange(value: string): void;
15
+ };
16
+ export declare class UicTimePickerComponent extends base {
17
+ icon: string;
18
+ iconColor: 'primary' | 'secondary';
19
+ internalIcon: string;
20
+ internalIconColor: ButtonColor;
21
+ disabled: boolean;
22
+ label: string;
23
+ error: string;
24
+ tip: string;
25
+ interval: number;
26
+ displayValue: string;
27
+ overlayTemplate: TemplateRef<any>;
28
+ hourOptions: QueryList<ElementRef<HTMLElement>>;
29
+ minuteOptions: QueryList<ElementRef<HTMLElement>>;
30
+ meridiemOptions: QueryList<ElementRef<HTMLElement>>;
31
+ private overlayRef;
32
+ private readonly overlay;
33
+ private readonly vcr;
34
+ private readonly host;
35
+ overlayPositions: ConnectedPosition[];
36
+ hours12: number[];
37
+ minutes: number[];
38
+ meridiems: Array<'am' | 'pm'>;
39
+ selectedHour12: number | null;
40
+ selectedMinute: number | null;
41
+ selectedMeridiem: 'am' | 'pm' | null;
42
+ ngOnInit(): void;
43
+ ngOnChanges(changes: SimpleChanges): void;
44
+ private rebuildMinutes;
45
+ private applySelection;
46
+ private clearSelection;
47
+ private syncSelectionFromValue;
48
+ openOverlay(): void;
49
+ closeOverlay(): void;
50
+ pickHour(hour: number): void;
51
+ pickMinute(minute: number): void;
52
+ pickMeridiem(meridiem: 'am' | 'pm'): void;
53
+ private commitOverlaySelection;
54
+ onInput(val: string): void;
55
+ onBlur(): void;
56
+ onKeydown(event: KeyboardEvent): void;
57
+ writeValue(value: string | null): void;
58
+ private format12;
59
+ private compose24;
60
+ private parseDisplay;
61
+ private parseValue;
62
+ private scrollToSelection;
63
+ private scrollColumn;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicTimePickerComponent, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicTimePickerComponent, "ui-time-picker", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "internalIconColor": { "alias": "internalIconColor"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; }, {}, never, never, true, never>;
66
+ }
67
+ export {};
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class UicSwichComponent {
4
+ checked: boolean;
5
+ checkedChange: EventEmitter<boolean>;
6
+ disabled: boolean;
7
+ placeholder: string;
8
+ label: string;
9
+ toggle(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicSwichComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicSwichComponent, "ui-switch", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>;
12
+ }
@@ -0,0 +1,33 @@
1
+ import { AppSelectOption } from '../select/select.component';
2
+ import { ButtonColor } from '../../button/button.component';
3
+ import * as i0 from "@angular/core";
4
+ type RadioValue = string | number | null;
5
+ declare const base: abstract new () => {
6
+ value: RadioValue;
7
+ valueChange: import("@angular/core").EventEmitter<RadioValue>;
8
+ onChange: (value: RadioValue) => void;
9
+ onTouched: () => void;
10
+ writeValue(obj: RadioValue): void;
11
+ registerOnChange(fn: any): void;
12
+ registerOnTouched(fn: any): void;
13
+ setDisabledState?(isDisabled: boolean): void;
14
+ notifyChange(value: RadioValue): void;
15
+ };
16
+ export declare class UicRadioComponent extends base {
17
+ icon: string;
18
+ iconColor: ButtonColor;
19
+ label: string;
20
+ error: string;
21
+ tip: string;
22
+ disabled: boolean;
23
+ loading: boolean;
24
+ options: AppSelectOption[];
25
+ emptyText: string;
26
+ direction: 'column' | 'row';
27
+ isSelected(option: AppSelectOption): boolean;
28
+ selectOption(option: AppSelectOption): void;
29
+ private getOptionValue;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicRadioComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicRadioComponent, "ui-radio", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, true, never>;
32
+ }
33
+ export {};
@@ -0,0 +1,38 @@
1
+ import { ButtonColor } from '../../button/button.component';
2
+ import * as i0 from "@angular/core";
3
+ declare const base: abstract new () => {
4
+ value: number;
5
+ valueChange: import("@angular/core").EventEmitter<number>;
6
+ onChange: (value: number) => void;
7
+ onTouched: () => void;
8
+ writeValue(obj: number): void;
9
+ registerOnChange(fn: any): void;
10
+ registerOnTouched(fn: any): void;
11
+ setDisabledState?(isDisabled: boolean): void;
12
+ notifyChange(value: number): void;
13
+ };
14
+ export declare class UicSliderComponent extends base {
15
+ icon: string;
16
+ iconColor: ButtonColor;
17
+ label: string;
18
+ error: string;
19
+ tip: string;
20
+ min: number;
21
+ max: number;
22
+ step: number;
23
+ markerCount: number;
24
+ markers: number[];
25
+ disabled: boolean;
26
+ loading: boolean;
27
+ ngOnInit(): void;
28
+ get percent(): number;
29
+ updateFromClientX(clientX: number, el: HTMLElement): void;
30
+ dragging: boolean;
31
+ private activeTrack?;
32
+ onMouseDown(event: MouseEvent, track: HTMLElement): void;
33
+ onMouseMove(event: MouseEvent): void;
34
+ onMouseUp(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicSliderComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicSliderComponent, "ui-slider", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "markerCount": { "alias": "markerCount"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
37
+ }
38
+ export {};
@@ -0,0 +1,61 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ConnectedPosition } from '@angular/cdk/overlay';
4
+ import * as i0 from "@angular/core";
5
+ declare const base: abstract new () => {
6
+ value: Record<string, any> | null;
7
+ valueChange: EventEmitter<Record<string, any> | null>;
8
+ onChange: (value: Record<string, any> | null) => void;
9
+ onTouched: () => void;
10
+ writeValue(obj: Record<string, any> | null): void;
11
+ registerOnChange(fn: any): void;
12
+ registerOnTouched(fn: any): void;
13
+ setDisabledState?(isDisabled: boolean): void;
14
+ notifyChange(value: Record<string, any> | null): void;
15
+ };
16
+ export declare class UicSearcherComponent extends base {
17
+ icon: string;
18
+ iconColor: 'primary' | 'secondary';
19
+ internalIcon: string;
20
+ size: 's' | 'm' | 'l';
21
+ label: string;
22
+ error: string;
23
+ tip: string;
24
+ showSubtitle: boolean;
25
+ disabled: boolean;
26
+ loading: boolean;
27
+ minimumSearchLength: number;
28
+ showSelected: boolean;
29
+ placeholder: string;
30
+ searchFn?: (query: string) => Observable<any[]>;
31
+ itemDisplayFn?: (item: any) => string;
32
+ itemIsEnabledFn?: (item: any) => boolean;
33
+ manualSearch: boolean;
34
+ stateless: boolean;
35
+ pickedItem: EventEmitter<Record<string, any>>;
36
+ private readonly searchSubject;
37
+ results$: Observable<any[]>;
38
+ selectedOption: Record<string, any> | null;
39
+ searchText: string;
40
+ watingApi: boolean;
41
+ private readonly overlay;
42
+ private readonly vcr;
43
+ private readonly host;
44
+ private resizeObserver?;
45
+ onSearchChange(value: string): void;
46
+ triggerSearch(): void;
47
+ selectItem(item: Record<string, any>): void;
48
+ clearSearch(): void;
49
+ unselect(): void;
50
+ dropdownTemplate: TemplateRef<any>;
51
+ private overlayRef;
52
+ overlayPositions: ConnectedPosition[];
53
+ openList(): void;
54
+ closeList(): void;
55
+ private observeOverlaySizeChanges;
56
+ private getPreferredPositions;
57
+ writeValue(value: Record<string, any>): void;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicSearcherComponent, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicSearcherComponent, "ui-searcher", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "showSubtitle": { "alias": "showSubtitle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "minimumSearchLength": { "alias": "minimumSearchLength"; "required": false; }; "showSelected": { "alias": "showSelected"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchFn": { "alias": "searchFn"; "required": false; }; "itemDisplayFn": { "alias": "itemDisplayFn"; "required": false; }; "itemIsEnabledFn": { "alias": "itemIsEnabledFn"; "required": false; }; "manualSearch": { "alias": "manualSearch"; "required": false; }; "stateless": { "alias": "stateless"; "required": false; }; }, { "pickedItem": "pickedItem"; }, never, never, true, never>;
60
+ }
61
+ export {};