@fluxhub/fluxhub-lib 19.0.43 → 19.0.44

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,46 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import { MatDatepicker } from '@angular/material/datepicker';
3
+ import { Moment } from 'moment';
4
+ import { UtilityService } from '../../services/utility.service';
5
+ import * as i0 from "@angular/core";
6
+ export { UtilityService } from '../../services/utility.service';
7
+ export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
8
+ export declare const MY_FORMATS: {
9
+ parse: {
10
+ dateInput: string;
11
+ };
12
+ display: {
13
+ dateInput: string;
14
+ monthYearLabel: string;
15
+ dateA11yLabel: string;
16
+ monthYearA11yLabel: string;
17
+ };
18
+ };
19
+ /** @title Datepicker emulating a Year and month picker */
20
+ export declare class MonthYearPickerComponent {
21
+ private readonly uti_s;
22
+ label: string;
23
+ error: string | null;
24
+ required: boolean;
25
+ show_buttons: boolean;
26
+ hidden: boolean;
27
+ enabled: boolean;
28
+ min_date: Date | null;
29
+ max_date: Date | null;
30
+ change: EventEmitter<any>;
31
+ pickerId?: ElementRef | null;
32
+ init_end: EventEmitter<any>;
33
+ date: any;
34
+ constructor(uti_s: UtilityService);
35
+ setMonthAndYear(normalizedMonthAndYear: Moment, datepicker: MatDatepicker<Moment>): void;
36
+ getValue(): Date | null;
37
+ setValue(d: any): void;
38
+ writeValue(value: any): void;
39
+ onChange: (_: any) => void;
40
+ onTouched: () => void;
41
+ registerOnChange(fn: (_: any) => void): void;
42
+ registerOnTouched(fn: () => void): void;
43
+ ch(event?: any): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonthYearPickerComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonthYearPickerComponent, "FHMonthYearPicker", never, { "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "required": { "alias": "required"; "required": false; }; "show_buttons": { "alias": "show_buttons"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "min_date": { "alias": "min_date"; "required": false; }; "max_date": { "alias": "max_date"; "required": false; }; }, { "change": "change"; "init_end": "init_end"; }, never, never, true, never>;
46
+ }
@@ -0,0 +1,45 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import { MatDatepicker } from '@angular/material/datepicker';
3
+ import { Moment } from 'moment';
4
+ import { UtilityService } from '../month-year-picker/month-year-picker.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
7
+ export declare const MY_FORMATS: {
8
+ parse: {
9
+ dateInput: string;
10
+ };
11
+ display: {
12
+ dateInput: string;
13
+ monthYearLabel: string;
14
+ dateA11yLabel: string;
15
+ monthYearA11yLabel: string;
16
+ };
17
+ };
18
+ /** @title Datepicker emulating a Year and month picker */
19
+ export declare class YearPickerComponent {
20
+ private readonly uti_s;
21
+ label: string;
22
+ error: string | null;
23
+ required: boolean;
24
+ show_buttons: boolean;
25
+ hidden: boolean;
26
+ enabled: boolean;
27
+ min_date: Date | null;
28
+ max_date: Date | null;
29
+ change: EventEmitter<any>;
30
+ pickerId?: ElementRef | null;
31
+ init_end: EventEmitter<any>;
32
+ date: any;
33
+ constructor(uti_s: UtilityService);
34
+ setYear(normalizedMonthAndYear: Moment, datepicker: MatDatepicker<Moment>): void;
35
+ getValue(): Date | null;
36
+ setValue(d: any): void;
37
+ writeValue(value: any): void;
38
+ onChange: (_: any) => void;
39
+ onTouched: () => void;
40
+ registerOnChange(fn: (_: any) => void): void;
41
+ registerOnTouched(fn: () => void): void;
42
+ ch(event?: any): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<YearPickerComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<YearPickerComponent, "FHYearPicker", never, { "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "required": { "alias": "required"; "required": false; }; "show_buttons": { "alias": "show_buttons"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "min_date": { "alias": "min_date"; "required": false; }; "max_date": { "alias": "max_date"; "required": false; }; }, { "change": "change"; "init_end": "init_end"; }, never, never, true, never>;
45
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "19.0.43",
3
+ "version": "19.0.44",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
package/public-api.d.ts CHANGED
@@ -9,6 +9,8 @@ export { FHWinConfirmComponent } from './lib/controls/fh-win-confirm';
9
9
  export { FHCurrencyFormatterDirective } from './lib/controls/fh-currency-formatter';
10
10
  export { FHCurrencyPipe } from './lib/controls/fh-currency-pipe';
11
11
  export { FHDatePickerComponent } from './lib/controls/fh-datepicker';
12
+ export { MonthYearPickerComponent } from './lib/controls/month-year-picker/month-year-picker.component';
13
+ export { YearPickerComponent } from './lib/controls/year-picker/year-picker.component';
12
14
  export { FHFieldPickListComponent } from './lib/controls/fh-field-picklist';
13
15
  export { FHFormToolBarComponent } from './lib/controls/fh-form-toolbar';
14
16
  export { FHGridComponent } from './lib/controls/fh-grid';