ui-core-abv 0.1.52 → 0.1.55

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.
@@ -31,6 +31,8 @@ export interface FormField {
31
31
  required?: boolean;
32
32
  min?: number;
33
33
  max?: number;
34
+ step?: number;
35
+ timeInterval?: number;
34
36
  minLength?: number;
35
37
  maxLength?: number;
36
38
  showCounter?: boolean;
@@ -43,7 +45,7 @@ export interface FormField {
43
45
  searchDisplayFn?: (item: any) => string;
44
46
  searchIsEnabledFn?: (item: any) => boolean;
45
47
  }
46
- export type FieldType = 'text' | 'number' | 'date' | 'select' | 'checkbox' | 'switch' | 'textarea' | 'pool' | 'multyselect' | 'searcher' | 'slider';
48
+ export type FieldType = 'text' | 'number' | 'date' | 'time' | 'select' | 'checkbox' | 'switch' | 'textarea' | 'pool' | 'searcher' | 'slider';
47
49
  export interface FormResult {
48
50
  result: boolean;
49
51
  form: any;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class UicStepTabsComponent {
3
+ export declare class StepTabsComponent {
4
4
  tabs: string[];
5
5
  currentTab: string;
6
6
  navigationEnabled: boolean;
@@ -8,6 +8,6 @@ export declare class UicStepTabsComponent {
8
8
  currentTabChange: EventEmitter<string>;
9
9
  currentIndex: number;
10
10
  changeTab(newTab: string): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<UicStepTabsComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<UicStepTabsComponent, "ui-step-tabs", never, { "tabs": { "alias": "tabs"; "required": false; }; "currentTab": { "alias": "currentTab"; "required": false; }; "navigationEnabled": { "alias": "navigationEnabled"; "required": false; }; "showStepTitle": { "alias": "showStepTitle"; "required": false; }; }, { "currentTabChange": "currentTabChange"; }, never, never, true, never>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepTabsComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepTabsComponent, "ui-step-tabs", never, { "tabs": { "alias": "tabs"; "required": false; }; "currentTab": { "alias": "currentTab"; "required": false; }; "navigationEnabled": { "alias": "navigationEnabled"; "required": false; }; "showStepTitle": { "alias": "showStepTitle"; "required": false; }; }, { "currentTabChange": "currentTabChange"; }, never, never, true, never>;
13
13
  }
@@ -0,0 +1,65 @@
1
+ import { ElementRef, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { ConnectedPosition } from '@angular/cdk/overlay';
3
+ import * as i0 from "@angular/core";
4
+ declare const base: abstract new () => {
5
+ value: string;
6
+ valueChange: import("@angular/core").EventEmitter<string>;
7
+ onChange: (value: string) => void;
8
+ onTouched: () => void;
9
+ writeValue(obj: string): void;
10
+ registerOnChange(fn: any): void;
11
+ registerOnTouched(fn: any): void;
12
+ setDisabledState?(isDisabled: boolean): void;
13
+ notifyChange(value: string): void;
14
+ };
15
+ export declare class UicTimePickerComponent extends base {
16
+ icon: string;
17
+ iconColor: 'primary' | 'secondary';
18
+ internalIcon: string;
19
+ disabled: boolean;
20
+ label: string;
21
+ error: string;
22
+ tip: string;
23
+ interval: number;
24
+ displayValue: string;
25
+ overlayTemplate: TemplateRef<any>;
26
+ hourOptions: QueryList<ElementRef<HTMLElement>>;
27
+ minuteOptions: QueryList<ElementRef<HTMLElement>>;
28
+ meridiemOptions: QueryList<ElementRef<HTMLElement>>;
29
+ private overlayRef;
30
+ private readonly overlay;
31
+ private readonly vcr;
32
+ private readonly host;
33
+ overlayPositions: ConnectedPosition[];
34
+ hours12: number[];
35
+ minutes: number[];
36
+ meridiems: Array<'am' | 'pm'>;
37
+ selectedHour12: number | null;
38
+ selectedMinute: number | null;
39
+ selectedMeridiem: 'am' | 'pm' | null;
40
+ ngOnInit(): void;
41
+ ngOnChanges(changes: SimpleChanges): void;
42
+ private rebuildMinutes;
43
+ private applySelection;
44
+ private clearSelection;
45
+ private syncSelectionFromValue;
46
+ openOverlay(): void;
47
+ closeOverlay(): void;
48
+ pickHour(hour: number): void;
49
+ pickMinute(minute: number): void;
50
+ pickMeridiem(meridiem: 'am' | 'pm'): void;
51
+ private commitOverlaySelection;
52
+ onInput(val: string): void;
53
+ onBlur(): void;
54
+ onKeydown(event: KeyboardEvent): void;
55
+ writeValue(value: string | null): void;
56
+ private format12;
57
+ private compose24;
58
+ private parseDisplay;
59
+ private parseValue;
60
+ private scrollToSelection;
61
+ private scrollColumn;
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<UicTimePickerComponent, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicTimePickerComponent, "ui-time-picker", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "internalIcon": { "alias": "internalIcon"; "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>;
64
+ }
65
+ export {};
@@ -1,4 +1,3 @@
1
- import { SimpleChanges } from '@angular/core';
2
1
  import { AppSelectOption } from '../inputs/select/select.component';
3
2
  import * as i0 from "@angular/core";
4
3
  type selectId = number | string;
@@ -27,7 +26,6 @@ export declare class UicPoolOptionsComponent extends base {
27
26
  selectedSet: Set<selectId>;
28
27
  updateOptions(id: selectId): void;
29
28
  writeValue(value: selectId[]): void;
30
- ngOnChanges(changes: SimpleChanges): void;
31
29
  static ɵfac: i0.ɵɵFactoryDeclaration<UicPoolOptionsComponent, never>;
32
30
  static ɵcmp: i0.ɵɵComponentDeclaration<UicPoolOptionsComponent, "ui-pool-options", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "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; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
33
31
  }
@@ -7,10 +7,7 @@ export interface TableColums {
7
7
  type: ColumnTypes;
8
8
  sortEnable?: boolean;
9
9
  actions?: TableButton[];
10
- moreActions?: {
11
- icon?: string;
12
- actions: TableButton[];
13
- }[];
10
+ moreActions?: TableButton[];
14
11
  }
15
12
  export interface TableButton {
16
13
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-core-abv",
3
- "version": "0.1.52",
3
+ "version": "0.1.55",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0",
package/public-api.d.ts CHANGED
@@ -3,12 +3,12 @@ export * from './lib/components/inputs/checkbox/checkbox.component';
3
3
  export * from './lib/components/inputs/toggle-button/toggle-button.component';
4
4
  export * from './lib/components/dynamic-form/form-wrapper/form-wrapper.component';
5
5
  export * from './lib/components/dynamic-form/steps-form/steps-form.component';
6
- export * from './lib/components/dynamic-form/steps-form/step-tabs/step-tabs.component';
7
6
  export * from './lib/components/inputs/input/input.component';
8
7
  export * from './lib/components/inputs/date-picker/date-picker.component';
9
8
  export * from './lib/components/inputs/uic-searcher/uic-searcher.component';
10
9
  export * from './lib/components/inputs/select/select.component';
11
10
  export * from './lib/components/inputs/multy-select/multy-select.component';
11
+ export * from './lib/components/inputs/time-picker/time-picker.component';
12
12
  export * from './lib/components/table/table.component';
13
13
  export * from './lib/components/table/table.models';
14
14
  export * from './lib/components/skeleton-loader/skeleton-loader.component';