@gloww/gloww 20.0.0-beta.26 → 20.0.0-beta.28

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/index.d.ts CHANGED
@@ -967,36 +967,37 @@ declare class AutoCompleteComponent implements ControlValueAccessor, OnInit, Aft
967
967
  declare class DatetimeComponent implements ControlValueAccessor {
968
968
  private readonly locale?;
969
969
  private static readonly DATE_FORMATS;
970
- _value: any;
971
- display: any;
972
- placeHolder: any;
970
+ _value: Date | null;
971
+ display: string | null;
972
+ placeHolder: string | null;
973
973
  mode: string;
974
- showSpinners: boolean;
975
974
  showSeconds: boolean;
976
- disableMinute: boolean;
977
- touchUi: boolean;
978
- cancelLabel?: string;
979
- applyLabel?: string;
980
- readonly dateControl: FormControl<any>;
981
- onChange: any;
982
- onTouched: any;
975
+ readonly dateControl: FormControl<Date>;
976
+ readonly hourControl: FormControl<string>;
977
+ readonly minuteControl: FormControl<string>;
978
+ readonly secondControl: FormControl<string>;
979
+ isDisabled: boolean;
980
+ readonly hours: string[];
981
+ readonly minutes: string[];
982
+ readonly seconds: string[];
983
+ onChange: (value: Date | null) => void;
984
+ onTouched: () => void;
983
985
  constructor(locale?: string);
984
- get value(): any;
986
+ get isDateTime(): boolean;
987
+ get value(): Date | null;
985
988
  set value(val: any);
986
989
  writeValue(obj: any): void;
987
990
  registerOnChange(fn: any): void;
988
991
  registerOnTouched(fn: any): void;
989
- setDisabledState?(isDisabled: boolean): void;
990
- get resolvedCancelLabel(): string;
991
- get resolvedApplyLabel(): string;
992
- onDateInput(): void;
993
- onDateChange(): void;
994
- private normalizeDateValue;
995
- private updateValue;
992
+ setDisabledState(isDisabled: boolean): void;
993
+ clear(): void;
996
994
  markTouched(): void;
997
- private get isFrenchLocale();
995
+ private setValueFromOutside;
996
+ private emitCurrentValue;
997
+ private toNumber;
998
+ private normalizeDateValue;
998
999
  static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, [{ optional: true; }]>;
999
- static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "gloww-datetime", never, { "_value": { "alias": "value"; "required": false; }; "display": { "alias": "display"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showSpinners": { "alias": "showSpinners"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "disableMinute": { "alias": "disableMinute"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; }, {}, never, never, true, never>;
1000
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "gloww-datetime", never, { "_value": { "alias": "value"; "required": false; }; "display": { "alias": "display"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; }, {}, never, never, true, never>;
1000
1001
  }
1001
1002
 
1002
1003
  declare class RouteDirective {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gloww/gloww",
3
- "version": "20.0.0-beta.26",
3
+ "version": "20.0.0-beta.28",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^20.0.0",
6
6
  "@angular/cdk": "^20.0.0",