@idea-ionic/common
Advanced tools
Comparing version 7.1.1 to 7.1.2
{ | ||
"name": "@idea-ionic/common", | ||
"version": "7.1.1", | ||
"version": "7.1.2", | ||
"description": "IDEA Ionic common components", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
import { OnInit } from '@angular/core'; | ||
import { AlertController, ModalController } from '@ionic/angular'; | ||
import { epochDateTime } from 'idea-toolbox'; | ||
import { epochDateTime, epochISOString } from 'idea-toolbox'; | ||
import { IDEATranslationsService } from '../translations/translations.service'; | ||
@@ -10,3 +10,3 @@ import * as i0 from "@angular/core"; | ||
t: IDEATranslationsService; | ||
inputDate: epochDateTime; | ||
inputDate: epochDateTime | epochISOString; | ||
timePicker: boolean; | ||
@@ -16,2 +16,4 @@ manualTimePicker: boolean; | ||
hideClearButton: boolean; | ||
min: epochDateTime | epochISOString; | ||
max: epochDateTime | epochISOString; | ||
refDate: Date; | ||
@@ -26,2 +28,4 @@ selectedDate: Date; | ||
weekDays: string[]; | ||
dateMin: Date; | ||
dateMax: Date; | ||
constructor(modalCtrl: ModalController, alertCtrl: AlertController, t: IDEATranslationsService); | ||
@@ -35,2 +39,3 @@ ngOnInit(): void; | ||
showMonths(): Promise<void>; | ||
isDateSelectable(date: Date): boolean; | ||
selectDate(date: Date): void; | ||
@@ -44,4 +49,5 @@ selectHour(hour: string): void; | ||
save(reset?: boolean): void; | ||
close(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IDEACalendarPickerComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<IDEACalendarPickerComponent, "idea-calendar-picker", never, { "inputDate": { "alias": "inputDate"; "required": false; }; "timePicker": { "alias": "timePicker"; "required": false; }; "manualTimePicker": { "alias": "manualTimePicker"; "required": false; }; "title": { "alias": "title"; "required": false; }; "hideClearButton": { "alias": "hideClearButton"; "required": false; }; }, {}, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<IDEACalendarPickerComponent, "idea-calendar-picker", never, { "inputDate": { "alias": "inputDate"; "required": false; }; "timePicker": { "alias": "timePicker"; "required": false; }; "manualTimePicker": { "alias": "manualTimePicker"; "required": false; }; "title": { "alias": "title"; "required": false; }; "hideClearButton": { "alias": "hideClearButton"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -61,2 +61,10 @@ import { EventEmitter, SimpleChanges, OnInit, OnDestroy, OnChanges } from '@angular/core'; | ||
hideClearButton: boolean; | ||
/** | ||
* If set, is the minimum date selectable. | ||
*/ | ||
min: epochDateTime | epochISOString; | ||
/** | ||
* If set, is the maximum date selectable. | ||
*/ | ||
max: epochDateTime | epochISOString; | ||
dateChange: EventEmitter<any>; | ||
@@ -75,3 +83,3 @@ iconSelect: EventEmitter<void>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IDEADateTimeComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<IDEADateTimeComponent, "idea-date-time", never, { "date": { "alias": "date"; "required": false; }; "timePicker": { "alias": "timePicker"; "required": false; }; "manualTimePicker": { "alias": "manualTimePicker"; "required": false; }; "useISOFormat": { "alias": "useISOFormat"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "color": { "alias": "color"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "obligatory": { "alias": "obligatory"; "required": false; }; "hideClearButton": { "alias": "hideClearButton"; "required": false; }; }, { "dateChange": "dateChange"; "iconSelect": "iconSelect"; }, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<IDEADateTimeComponent, "idea-date-time", never, { "date": { "alias": "date"; "required": false; }; "timePicker": { "alias": "timePicker"; "required": false; }; "manualTimePicker": { "alias": "manualTimePicker"; "required": false; }; "useISOFormat": { "alias": "useISOFormat"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "color": { "alias": "color"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "obligatory": { "alias": "obligatory"; "required": false; }; "hideClearButton": { "alias": "hideClearButton"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "dateChange": "dateChange"; "iconSelect": "iconSelect"; }, never, never, false, never>; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
3047660
21026