ud-components 0.3.14 → 0.3.15

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.
@@ -0,0 +1,19 @@
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
+ }
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,19 @@
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
+ }
@@ -0,0 +1,15 @@
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
+ }
@@ -0,0 +1,19 @@
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
+ }
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "ud-components",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
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
+ },
8
16
  "dependencies": {
9
17
  "tslib": "^2.3.0"
10
18
  },
package/public-api.d.ts CHANGED
@@ -24,6 +24,11 @@ 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';
27
32
  export * from './enums/application-status.enum';
28
33
  export * from './enums/custom-table.enum';
29
34
  export * from './enums/modal-input-type.enum';