@beeq/angular 1.12.4 → 1.13.0
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/fesm2022/beeq-angular-standalone.mjs +7 -4
- package/fesm2022/beeq-angular-standalone.mjs.map +1 -1
- package/fesm2022/beeq-angular.mjs +75 -49
- package/fesm2022/beeq-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/types/beeq-angular-standalone.d.ts +20 -9
- package/types/beeq-angular.d.ts +85 -53
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ElementRef, NgZone, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { BqAccordionCustomEvent, Components, BqAlertCustomEvent, BqBreadcrumbItemCustomEvent, BqButtonCustomEvent, BqCheckboxCustomEvent, BqDatePickerCustomEvent, BqDialogCustomEvent, BqDrawerCustomEvent, BqDropdownCustomEvent, BqIconCustomEvent, BqInputCustomEvent, BqNotificationCustomEvent, BqOptionCustomEvent, BqOptionListCustomEvent, BqRadioCustomEvent, BqRadioGroupCustomEvent, BqSelectCustomEvent, BqSideMenuCustomEvent, BqSideMenuItemCustomEvent, BqSliderCustomEvent, TSliderValue, BqStepItemCustomEvent, BqSwitchCustomEvent, BqTabCustomEvent, BqTabGroupCustomEvent, BqTagCustomEvent, BqTextareaCustomEvent, BqToastCustomEvent, BqTooltipCustomEvent } from '@beeq/core/dist/components';
|
|
4
|
+
import { BqAccordionCustomEvent, Components, BqAlertCustomEvent, BqBreadcrumbItemCustomEvent, BqButtonCustomEvent, BqCheckboxCustomEvent, BqDatePickerCustomEvent, TCalendarView, BqDialogCustomEvent, BqDrawerCustomEvent, BqDropdownCustomEvent, BqIconCustomEvent, BqInputCustomEvent, BqNotificationCustomEvent, BqOptionCustomEvent, BqOptionListCustomEvent, BqRadioCustomEvent, BqRadioGroupCustomEvent, BqSelectCustomEvent, BqSideMenuCustomEvent, BqSideMenuItemCustomEvent, BqSliderCustomEvent, TSliderValue, BqStepItemCustomEvent, BqSwitchCustomEvent, BqTabCustomEvent, BqTabGroupCustomEvent, BqTagCustomEvent, BqTextareaCustomEvent, BqToastCustomEvent, BqTooltipCustomEvent } from '@beeq/core/dist/components';
|
|
5
5
|
|
|
6
6
|
declare class ValueAccessor implements ControlValueAccessor {
|
|
7
7
|
protected el: ElementRef;
|
|
@@ -250,36 +250,47 @@ declare class BqDatePicker {
|
|
|
250
250
|
protected el: HTMLBqDatePickerElement;
|
|
251
251
|
bqBlur: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
252
252
|
bqChange: EventEmitter<BqDatePickerCustomEvent<{
|
|
253
|
-
value: string;
|
|
253
|
+
value: string | undefined;
|
|
254
254
|
el: HTMLBqDatePickerElement;
|
|
255
255
|
}>>;
|
|
256
256
|
bqClear: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
257
257
|
bqFocus: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
258
|
+
bqViewChange: EventEmitter<BqDatePickerCustomEvent<{
|
|
259
|
+
view: TCalendarView;
|
|
260
|
+
el: HTMLBqDatePickerElement;
|
|
261
|
+
}>>;
|
|
258
262
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
259
263
|
static ɵfac: i0.ɵɵFactoryDeclaration<BqDatePicker, never>;
|
|
260
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BqDatePicker, "bq-date-picker", never, { "autofocus": { "alias": "autofocus"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "disableClear": { "alias": "disableClear"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "distance": { "alias": "distance"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formValidationMessage": { "alias": "formValidationMessage"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; "isDateDisallowed": { "alias": "isDateDisallowed"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "months": { "alias": "months"; "required": false; }; "monthsPerView": { "alias": "monthsPerView"; "required": false; }; "name": { "alias": "name"; "required": true; }; "open": { "alias": "open"; "required": false; }; "panelHeight": { "alias": "panelHeight"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "
|
|
264
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BqDatePicker, "bq-date-picker", never, { "autofocus": { "alias": "autofocus"; "required": false; }; "calendarButtonLabel": { "alias": "calendarButtonLabel"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "disableClear": { "alias": "disableClear"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "distance": { "alias": "distance"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formValidationMessage": { "alias": "formValidationMessage"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; "initialView": { "alias": "initialView"; "required": false; }; "isDateDisallowed": { "alias": "isDateDisallowed"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "months": { "alias": "months"; "required": false; }; "monthsPerView": { "alias": "monthsPerView"; "required": false; }; "name": { "alias": "name"; "required": true; }; "open": { "alias": "open"; "required": false; }; "panelHeight": { "alias": "panelHeight"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showOutsideDays": { "alias": "showOutsideDays"; "required": false; }; "skidding": { "alias": "skidding"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "type": { "alias": "type"; "required": false; }; "validationStatus": { "alias": "validationStatus"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "bqBlur": "bqBlur"; "bqChange": "bqChange"; "bqClear": "bqClear"; "bqFocus": "bqFocus"; "bqViewChange": "bqViewChange"; }, never, ["*"], true, never>;
|
|
261
265
|
}
|
|
262
266
|
declare interface BqDatePicker extends Components.BqDatePicker {
|
|
263
267
|
/**
|
|
264
|
-
* Callback handler emitted when the input loses focus
|
|
268
|
+
* Callback handler emitted when the input loses focus.
|
|
265
269
|
*/
|
|
266
270
|
bqBlur: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
267
271
|
/**
|
|
268
|
-
* Callback handler emitted when the input value
|
|
269
|
-
This handler is called whenever the user finishes typing or pasting text into the input field and then clicks outside of the input field.
|
|
272
|
+
* Callback handler emitted when the input value changes.
|
|
270
273
|
*/
|
|
271
274
|
bqChange: EventEmitter<BqDatePickerCustomEvent<{
|
|
272
|
-
value: string;
|
|
275
|
+
value: string | undefined;
|
|
273
276
|
el: HTMLBqDatePickerElement;
|
|
274
277
|
}>>;
|
|
275
278
|
/**
|
|
276
|
-
* Callback handler emitted when the
|
|
279
|
+
* Callback handler emitted when the value is cleared.
|
|
277
280
|
*/
|
|
278
281
|
bqClear: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
279
282
|
/**
|
|
280
|
-
* Callback handler emitted when the input
|
|
283
|
+
* Callback handler emitted when the input receives focus.
|
|
281
284
|
*/
|
|
282
285
|
bqFocus: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
286
|
+
/**
|
|
287
|
+
* Callback handler emitted when the internal calendar view changes
|
|
288
|
+
(e.g. from `days` to `months`, or from `years` back to `days`).
|
|
289
|
+
*/
|
|
290
|
+
bqViewChange: EventEmitter<BqDatePickerCustomEvent<{
|
|
291
|
+
view: TCalendarView;
|
|
292
|
+
el: HTMLBqDatePickerElement;
|
|
293
|
+
}>>;
|
|
283
294
|
}
|
|
284
295
|
declare class BqDialog {
|
|
285
296
|
protected z: NgZone;
|
package/types/beeq-angular.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ElementRef, NgZone, EventEmitter, ChangeDetectorRef, ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { Components, BqAccordionCustomEvent, BqAlertCustomEvent, BqBreadcrumbItemCustomEvent, BqButtonCustomEvent, BqCheckboxCustomEvent, BqDatePickerCustomEvent, BqDialogCustomEvent, BqDrawerCustomEvent, BqDropdownCustomEvent, BqIconCustomEvent, BqInputCustomEvent, BqNotificationCustomEvent, BqOptionCustomEvent, BqOptionListCustomEvent, BqRadioCustomEvent, BqRadioGroupCustomEvent, BqSelectCustomEvent, BqSideMenuCustomEvent, BqSideMenuItemCustomEvent, BqSliderCustomEvent, TSliderValue, BqStepItemCustomEvent, BqSwitchCustomEvent, BqTabCustomEvent, BqTabGroupCustomEvent, BqTagCustomEvent, BqTextareaCustomEvent, BqToastCustomEvent, BqTooltipCustomEvent } from '@beeq/core';
|
|
4
|
+
import { Components, BqAccordionCustomEvent, BqAlertCustomEvent, BqBreadcrumbItemCustomEvent, BqButtonCustomEvent, BqCheckboxCustomEvent, BqDatePickerCustomEvent, TCalendarView, BqDialogCustomEvent, BqDrawerCustomEvent, BqDropdownCustomEvent, BqIconCustomEvent, BqInputCustomEvent, BqNotificationCustomEvent, BqOptionCustomEvent, BqOptionListCustomEvent, BqRadioCustomEvent, BqRadioGroupCustomEvent, BqSelectCustomEvent, BqSideMenuCustomEvent, BqSideMenuItemCustomEvent, BqSliderCustomEvent, TSliderValue, BqStepItemCustomEvent, BqSwitchCustomEvent, BqTabCustomEvent, BqTabGroupCustomEvent, BqTagCustomEvent, BqTextareaCustomEvent, BqToastCustomEvent, BqTooltipCustomEvent } from '@beeq/core';
|
|
5
5
|
import * as i7 from '@angular/common';
|
|
6
6
|
|
|
7
7
|
declare class ValueAccessor implements ControlValueAccessor {
|
|
@@ -482,72 +482,80 @@ declare class BqDatePicker {
|
|
|
482
482
|
protected z: NgZone;
|
|
483
483
|
protected el: HTMLBqDatePickerElement;
|
|
484
484
|
/**
|
|
485
|
-
* If `true`, the Date picker input will be focused on component render
|
|
485
|
+
* If `true`, the Date picker input will be focused on component render. @default false
|
|
486
486
|
*/
|
|
487
487
|
set autofocus(_: Components.BqDatePicker['autofocus']);
|
|
488
488
|
/**
|
|
489
|
-
* The clear button aria label @default 'Clear value'
|
|
489
|
+
* The clear button aria label. @default 'Clear value'
|
|
490
490
|
*/
|
|
491
491
|
set clearButtonLabel(_: Components.BqDatePicker['clearButtonLabel']);
|
|
492
492
|
/**
|
|
493
|
-
*
|
|
493
|
+
* The aria-label for the calendar trigger button. @default 'Open calendar'
|
|
494
|
+
*/
|
|
495
|
+
set calendarButtonLabel(_: Components.BqDatePicker['calendarButtonLabel']);
|
|
496
|
+
/**
|
|
497
|
+
* If `true`, the clear button won't be displayed. @default false
|
|
494
498
|
*/
|
|
495
499
|
set disableClear(_: Components.BqDatePicker['disableClear']);
|
|
496
500
|
/**
|
|
497
|
-
* Indicates whether the Date picker input is disabled or not.
|
|
498
|
-
If `true`, the Date picker is disabled and cannot be interacted with. @default false
|
|
501
|
+
* Indicates whether the Date picker input is disabled or not. @default false
|
|
499
502
|
*/
|
|
500
503
|
set disabled(_: Components.BqDatePicker['disabled']);
|
|
501
504
|
/**
|
|
502
|
-
*
|
|
505
|
+
* Distance (gutter) between the Date picker panel and the input element. @default 8
|
|
503
506
|
*/
|
|
504
507
|
set distance(_: Components.BqDatePicker['distance']);
|
|
505
508
|
/**
|
|
506
|
-
* The first day of the week, where Sunday is 0, Monday is 1, etc @default 1
|
|
509
|
+
* The first day of the week, where Sunday is 0, Monday is 1, etc. @default 1
|
|
507
510
|
*/
|
|
508
511
|
set firstDayOfWeek(_: Components.BqDatePicker['firstDayOfWeek']);
|
|
509
512
|
/**
|
|
510
|
-
*
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
}
|
|
513
|
+
* Options used when formatting the displayed value.
|
|
514
|
+
|
|
515
|
+
When omitted, sensible defaults are picked based on `precision`:
|
|
516
|
+
- `day` → `{ day: 'numeric', month: 'short', year: 'numeric' }`
|
|
517
|
+
- `month` → `{ month: 'long', year: 'numeric' }`
|
|
518
|
+
- `year` → `{ year: 'numeric' }`
|
|
516
519
|
*/
|
|
517
520
|
set formatOptions(_: Components.BqDatePicker['formatOptions']);
|
|
518
521
|
/**
|
|
519
|
-
* The ID of the form
|
|
522
|
+
* The ID of the form the input belongs to.
|
|
520
523
|
*/
|
|
521
524
|
set form(_: Components.BqDatePicker['form']);
|
|
522
525
|
/**
|
|
523
|
-
*
|
|
526
|
+
* Native form validation message (mandatory if `required` is set).
|
|
524
527
|
*/
|
|
525
528
|
set formValidationMessage(_: Components.BqDatePicker['formValidationMessage']);
|
|
526
529
|
/**
|
|
527
|
-
*
|
|
530
|
+
* The view opened first when the panel becomes visible. @default 'days'
|
|
531
|
+
*/
|
|
532
|
+
set initialView(_: Components.BqDatePicker['initialView']);
|
|
533
|
+
/**
|
|
534
|
+
* Predicate that marks specific dates as unselectable.
|
|
528
535
|
*/
|
|
529
536
|
set isDateDisallowed(_: Components.BqDatePicker['isDateDisallowed']);
|
|
530
537
|
/**
|
|
531
|
-
*
|
|
532
|
-
Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument @default 'en-GB'
|
|
538
|
+
* Locale used for formatting dates. @default 'en-GB'
|
|
533
539
|
*/
|
|
534
540
|
set locale(_: Components.BqDatePicker['locale']);
|
|
535
541
|
/**
|
|
536
|
-
*
|
|
542
|
+
* Latest date that can be selected (ISO).
|
|
537
543
|
*/
|
|
538
544
|
set max(_: Components.BqDatePicker['max']);
|
|
539
545
|
/**
|
|
540
|
-
*
|
|
546
|
+
* Earliest date that can be selected (ISO).
|
|
541
547
|
*/
|
|
542
548
|
set min(_: Components.BqDatePicker['min']);
|
|
543
549
|
/**
|
|
544
|
-
* Number of months to show
|
|
550
|
+
* Number of months to show side by side (range / multi). Capped at 2.
|
|
551
|
+
Larger values are silently clamped to keep the popover from overflowing
|
|
552
|
+
the viewport and to preserve keyboard navigation semantics. @default 1
|
|
545
553
|
*/
|
|
546
554
|
set months(_: Components.BqDatePicker['months']);
|
|
547
555
|
/**
|
|
548
|
-
*
|
|
549
|
-
- single:
|
|
550
|
-
- months:
|
|
556
|
+
* How the next/previous buttons should navigate the calendar.
|
|
557
|
+
- single: navigate one month at a time.
|
|
558
|
+
- months: navigate by the number of months displayed. @default 'single'
|
|
551
559
|
*/
|
|
552
560
|
set monthsPerView(_: Components.BqDatePicker['monthsPerView']);
|
|
553
561
|
/**
|
|
@@ -555,90 +563,114 @@ Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Globa
|
|
|
555
563
|
*/
|
|
556
564
|
set name(_: Components.BqDatePicker['name']);
|
|
557
565
|
/**
|
|
558
|
-
* If `true`, the
|
|
566
|
+
* If `true`, the panel is visible. @default false
|
|
559
567
|
*/
|
|
560
568
|
set open(_: Components.BqDatePicker['open']);
|
|
561
569
|
/**
|
|
562
|
-
*
|
|
570
|
+
* Overrides the height of the Date picker panel. @default 'auto'
|
|
563
571
|
*/
|
|
564
572
|
set panelHeight(_: Components.BqDatePicker['panelHeight']);
|
|
565
573
|
/**
|
|
566
|
-
*
|
|
574
|
+
* Placeholder text shown when no value is selected.
|
|
567
575
|
*/
|
|
568
576
|
set placeholder(_: Components.BqDatePicker['placeholder']);
|
|
569
577
|
/**
|
|
570
|
-
* Position of the Date picker panel @default 'bottom-end'
|
|
578
|
+
* Position of the Date picker panel. @default 'bottom-end'
|
|
571
579
|
*/
|
|
572
580
|
set placement(_: Components.BqDatePicker['placement']);
|
|
573
581
|
/**
|
|
574
|
-
*
|
|
582
|
+
* Precision of the value produced by the picker.
|
|
583
|
+
|
|
584
|
+
- `day` → `YYYY-MM-DD` (default). Standard drill-down.
|
|
585
|
+
- `month` → `YYYY-MM`. Selection commits on the months view; no days view.
|
|
586
|
+
- `year` → `YYYY`. Selection commits on the years view; no months/days view.
|
|
587
|
+
|
|
588
|
+
When precision is coarser than day, `initialView` is forced to match and
|
|
589
|
+
the header title cycles through the views available for that precision. @default 'day'
|
|
590
|
+
*/
|
|
591
|
+
set precision(_: Components.BqDatePicker['precision']);
|
|
592
|
+
/**
|
|
593
|
+
* Whether a value must be selected before submitting the form. @default false
|
|
575
594
|
*/
|
|
576
595
|
set required(_: Components.BqDatePicker['required']);
|
|
577
596
|
/**
|
|
578
|
-
*
|
|
597
|
+
* Skidding between the panel and the input element. @default 0
|
|
579
598
|
*/
|
|
580
599
|
set skidding(_: Components.BqDatePicker['skidding']);
|
|
581
600
|
/**
|
|
582
|
-
* Whether to
|
|
601
|
+
* Whether to render days outside the current month. @default false
|
|
583
602
|
*/
|
|
584
603
|
set showOutsideDays(_: Components.BqDatePicker['showOutsideDays']);
|
|
585
604
|
/**
|
|
586
|
-
*
|
|
605
|
+
* Positioning strategy for the panel. @default 'fixed'
|
|
587
606
|
*/
|
|
588
607
|
set strategy(_: Components.BqDatePicker['strategy']);
|
|
589
608
|
/**
|
|
590
|
-
*
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
* It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection @default 'single'
|
|
609
|
+
* Selection type.
|
|
610
|
+
- `single`: single date.
|
|
611
|
+
- `multi`: multiple discrete dates.
|
|
612
|
+
- `range`: contiguous range. @default 'single'
|
|
595
613
|
*/
|
|
596
614
|
set type(_: Components.BqDatePicker['type']);
|
|
597
615
|
/**
|
|
598
|
-
*
|
|
599
|
-
- `'none'`: No validation status is set.
|
|
600
|
-
- `'error'`: The input has a validation error.
|
|
601
|
-
- `'warning'`: The input has a validation warning.
|
|
602
|
-
- `'success'`: The input has passed validation.,@default 'none'
|
|
616
|
+
* Validation state applied to the input. @default 'none'
|
|
603
617
|
*/
|
|
604
618
|
set validationStatus(_: Components.BqDatePicker['validationStatus']);
|
|
605
619
|
/**
|
|
606
|
-
*
|
|
607
|
-
|
|
620
|
+
* Currently selected value, in the precision-aware wire format:
|
|
621
|
+
- `precision="day"` → tokens are `YYYY-MM-DD`
|
|
622
|
+
- `precision="month"` → tokens are `YYYY-MM`
|
|
623
|
+
- `precision="year"` → tokens are `YYYY`
|
|
624
|
+
|
|
625
|
+
How multiple tokens are combined depends on `type`:
|
|
626
|
+
- `single` → a single token (e.g. `"2025-05-15"`, `"2025-05"`, `"2025"`)
|
|
627
|
+
- `range` → `"start/end"` — two tokens joined with `/`
|
|
628
|
+
- `multi` → space-separated tokens (e.g. `"2025-05-15 2025-05-20"`)
|
|
608
629
|
*/
|
|
609
630
|
set value(_: Components.BqDatePicker['value']);
|
|
610
631
|
bqBlur: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
611
632
|
bqChange: EventEmitter<BqDatePickerCustomEvent<{
|
|
612
|
-
value: string;
|
|
633
|
+
value: string | undefined;
|
|
613
634
|
el: HTMLBqDatePickerElement;
|
|
614
635
|
}>>;
|
|
615
636
|
bqClear: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
616
637
|
bqFocus: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
638
|
+
bqViewChange: EventEmitter<BqDatePickerCustomEvent<{
|
|
639
|
+
view: TCalendarView;
|
|
640
|
+
el: HTMLBqDatePickerElement;
|
|
641
|
+
}>>;
|
|
617
642
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
618
643
|
static ɵfac: i0.ɵɵFactoryDeclaration<BqDatePicker, never>;
|
|
619
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BqDatePicker, "bq-date-picker", never, { "autofocus": { "alias": "autofocus"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "disableClear": { "alias": "disableClear"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "distance": { "alias": "distance"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formValidationMessage": { "alias": "formValidationMessage"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; "isDateDisallowed": { "alias": "isDateDisallowed"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "months": { "alias": "months"; "required": false; }; "monthsPerView": { "alias": "monthsPerView"; "required": false; }; "name": { "alias": "name"; "required": true; }; "open": { "alias": "open"; "required": false; }; "panelHeight": { "alias": "panelHeight"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "
|
|
644
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BqDatePicker, "bq-date-picker", never, { "autofocus": { "alias": "autofocus"; "required": false; }; "calendarButtonLabel": { "alias": "calendarButtonLabel"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "disableClear": { "alias": "disableClear"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "distance": { "alias": "distance"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "form": { "alias": "form"; "required": false; }; "formValidationMessage": { "alias": "formValidationMessage"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; "initialView": { "alias": "initialView"; "required": false; }; "isDateDisallowed": { "alias": "isDateDisallowed"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "months": { "alias": "months"; "required": false; }; "monthsPerView": { "alias": "monthsPerView"; "required": false; }; "name": { "alias": "name"; "required": true; }; "open": { "alias": "open"; "required": false; }; "panelHeight": { "alias": "panelHeight"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showOutsideDays": { "alias": "showOutsideDays"; "required": false; }; "skidding": { "alias": "skidding"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "type": { "alias": "type"; "required": false; }; "validationStatus": { "alias": "validationStatus"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "bqBlur": "bqBlur"; "bqChange": "bqChange"; "bqClear": "bqClear"; "bqFocus": "bqFocus"; "bqViewChange": "bqViewChange"; }, never, ["*"], false, never>;
|
|
620
645
|
}
|
|
621
646
|
declare interface BqDatePicker extends Components.BqDatePicker {
|
|
622
647
|
/**
|
|
623
|
-
* Callback handler emitted when the input loses focus
|
|
648
|
+
* Callback handler emitted when the input loses focus.
|
|
624
649
|
*/
|
|
625
650
|
bqBlur: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
626
651
|
/**
|
|
627
|
-
* Callback handler emitted when the input value
|
|
628
|
-
This handler is called whenever the user finishes typing or pasting text into the input field and then clicks outside of the input field.
|
|
652
|
+
* Callback handler emitted when the input value changes.
|
|
629
653
|
*/
|
|
630
654
|
bqChange: EventEmitter<BqDatePickerCustomEvent<{
|
|
631
|
-
value: string;
|
|
655
|
+
value: string | undefined;
|
|
632
656
|
el: HTMLBqDatePickerElement;
|
|
633
657
|
}>>;
|
|
634
658
|
/**
|
|
635
|
-
* Callback handler emitted when the
|
|
659
|
+
* Callback handler emitted when the value is cleared.
|
|
636
660
|
*/
|
|
637
661
|
bqClear: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
638
662
|
/**
|
|
639
|
-
* Callback handler emitted when the input
|
|
663
|
+
* Callback handler emitted when the input receives focus.
|
|
640
664
|
*/
|
|
641
665
|
bqFocus: EventEmitter<BqDatePickerCustomEvent<HTMLBqDatePickerElement>>;
|
|
666
|
+
/**
|
|
667
|
+
* Callback handler emitted when the internal calendar view changes
|
|
668
|
+
(e.g. from `days` to `months`, or from `years` back to `days`).
|
|
669
|
+
*/
|
|
670
|
+
bqViewChange: EventEmitter<BqDatePickerCustomEvent<{
|
|
671
|
+
view: TCalendarView;
|
|
672
|
+
el: HTMLBqDatePickerElement;
|
|
673
|
+
}>>;
|
|
642
674
|
}
|
|
643
675
|
declare class BqDialog {
|
|
644
676
|
protected z: NgZone;
|