ud-components 0.3.15 → 0.3.17
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/ud-components.mjs +13 -215
- package/fesm2022/ud-components.mjs.map +1 -1
- package/lib/form-fields/autocomplete/autocomplete.component.d.ts +3 -2
- package/package.json +1 -9
- package/public-api.d.ts +0 -5
- package/lib/ionic/ion-pill-toggle/ion-pill-toggle.component.d.ts +0 -19
- package/lib/ionic/ion-select/ion-select.component.d.ts +0 -21
- package/lib/ionic/ion-text-input/ion-text-input.component.d.ts +0 -19
- package/lib/ionic/ion-textarea/ion-textarea.component.d.ts +0 -15
- package/lib/ionic/ion-toggle/ion-toggle.component.d.ts +0 -19
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { UdSelectOption } from '../multi-select/multi-select.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -23,6 +23,7 @@ export declare class AutocompleteComponent implements OnInit, OnChanges, OnDestr
|
|
|
23
23
|
options: UdSelectOption[];
|
|
24
24
|
loading: boolean;
|
|
25
25
|
disabled: boolean;
|
|
26
|
+
searchChange: EventEmitter<string>;
|
|
26
27
|
/** Internal text control that drives the visible input */
|
|
27
28
|
searchControl: FormControl<string | null>;
|
|
28
29
|
filteredOptions: UdSelectOption[];
|
|
@@ -41,5 +42,5 @@ export declare class AutocompleteComponent implements OnInit, OnChanges, OnDestr
|
|
|
41
42
|
private filter;
|
|
42
43
|
private buildLabelMap;
|
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ud-autocomplete", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "options": { "alias": "options"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ud-autocomplete", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "options": { "alias": "options"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "searchChange": "searchChange"; }, never, never, true, never>;
|
|
45
46
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ud-components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.2.0",
|
|
6
6
|
"@angular/core": "^19.2.0"
|
|
7
7
|
},
|
|
8
|
-
"peerDependenciesMeta": {
|
|
9
|
-
"@ionic/angular": {
|
|
10
|
-
"optional": true
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"optionalDependencies": {
|
|
14
|
-
"@ionic/angular": "^8.0.0"
|
|
15
|
-
},
|
|
16
8
|
"dependencies": {
|
|
17
9
|
"tslib": "^2.3.0"
|
|
18
10
|
},
|
package/public-api.d.ts
CHANGED
|
@@ -24,11 +24,6 @@ export * from './lib/form-fields/textarea/textarea.component';
|
|
|
24
24
|
export * from './lib/form-fields/phone-input/phone-input.component';
|
|
25
25
|
export * from './lib/button/button.component';
|
|
26
26
|
export * from './lib/toggle/toggle.component';
|
|
27
|
-
export * from './lib/ionic/ion-text-input/ion-text-input.component';
|
|
28
|
-
export * from './lib/ionic/ion-select/ion-select.component';
|
|
29
|
-
export * from './lib/ionic/ion-textarea/ion-textarea.component';
|
|
30
|
-
export * from './lib/ionic/ion-toggle/ion-toggle.component';
|
|
31
|
-
export * from './lib/ionic/ion-pill-toggle/ion-pill-toggle.component';
|
|
32
27
|
export * from './enums/application-status.enum';
|
|
33
28
|
export * from './enums/custom-table.enum';
|
|
34
29
|
export * from './enums/modal-input-type.enum';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface IonPillToggleOption {
|
|
5
|
-
value: string;
|
|
6
|
-
label: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class IonPillToggleComponent implements OnChanges {
|
|
9
|
-
controlName: string;
|
|
10
|
-
label: string;
|
|
11
|
-
options: IonPillToggleOption[];
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
private controlContainer;
|
|
14
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
-
get control(): FormControl;
|
|
16
|
-
onSegmentChange(event: CustomEvent): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonPillToggleComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonPillToggleComponent, "ud-ion-pill-toggle", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface UdIonSelectOption {
|
|
5
|
-
value: any;
|
|
6
|
-
label: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class IonSelectComponent implements OnChanges {
|
|
9
|
-
controlName: string;
|
|
10
|
-
label: string;
|
|
11
|
-
options: UdIonSelectOption[];
|
|
12
|
-
multiple: boolean;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
loading: boolean;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
private controlContainer;
|
|
17
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
-
get control(): FormControl;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonSelectComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonSelectComponent, "ud-ion-select", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class IonTextInputComponent implements OnChanges {
|
|
5
|
-
controlName: string;
|
|
6
|
-
label: string;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
type: 'text' | 'email' | 'password' | 'number';
|
|
9
|
-
loading: boolean;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
step: number;
|
|
12
|
-
private controlContainer;
|
|
13
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
-
get control(): FormControl;
|
|
15
|
-
increment(): void;
|
|
16
|
-
decrement(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonTextInputComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonTextInputComponent, "ud-ion-text-input", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class IonTextareaComponent implements OnChanges {
|
|
5
|
-
controlName: string;
|
|
6
|
-
label: string;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
rows: number;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
private controlContainer;
|
|
11
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
-
get control(): FormControl;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonTextareaComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonTextareaComponent, "ud-ion-textarea", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class IonToggleComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
|
-
controlName: string;
|
|
6
|
-
label: string;
|
|
7
|
-
labelPosition: 'start' | 'end';
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
ionChange: EventEmitter<boolean>;
|
|
10
|
-
private controlContainer;
|
|
11
|
-
private destroy$;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
get control(): FormControl;
|
|
16
|
-
onToggleChange(event: CustomEvent): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonToggleComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonToggleComponent, "ud-ion-toggle", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "ionChange": "ionChange"; }, never, never, true, never>;
|
|
19
|
-
}
|