@beeq/angular 1.3.3 → 1.5.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/beeq.module.d.ts +1 -1
- package/directives/components.d.ts +29 -0
- package/directives/index.d.ts +1 -1
- package/directives/text-value-accessor.d.ts +1 -1
- package/esm2022/beeq.module.mjs +5 -5
- package/esm2022/directives/boolean-value-accessor.mjs +3 -3
- package/esm2022/directives/components.mjs +151 -121
- package/esm2022/directives/index.mjs +2 -1
- package/esm2022/directives/number-value-accessor.mjs +3 -3
- package/esm2022/directives/radio-value-accessor.mjs +3 -3
- package/esm2022/directives/select-value-accessor.mjs +3 -3
- package/esm2022/directives/text-value-accessor.mjs +5 -5
- package/esm2022/directives/value-accessor.mjs +3 -3
- package/esm2022/standalone/directives/components.mjs +154 -121
- package/fesm2022/beeq-angular-standalone.mjs +213 -181
- package/fesm2022/beeq-angular-standalone.mjs.map +1 -1
- package/fesm2022/beeq-angular.mjs +175 -145
- package/fesm2022/beeq-angular.mjs.map +1 -1
- package/package.json +2 -6
- package/standalone/directives/components.d.ts +29 -0
package/beeq.module.d.ts
CHANGED
|
@@ -10,6 +10,6 @@ import * as i7 from "@angular/common";
|
|
|
10
10
|
export declare class BeeQModule {
|
|
11
11
|
static forRoot(): ModuleWithProviders<BeeQModule>;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BeeQModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BeeQModule, [typeof i1.BqAccordion, typeof i1.BqAccordionGroup, typeof i1.BqAlert, typeof i1.BqAvatar, typeof i1.BqBadge, typeof i1.BqBreadcrumb, typeof i1.BqBreadcrumbItem, typeof i1.BqButton, typeof i1.BqCard, typeof i1.BqCheckbox, typeof i1.BqDialog, typeof i1.BqDivider, typeof i1.BqDrawer, typeof i1.BqDropdown, typeof i1.BqEmptyState, typeof i1.BqIcon, typeof i1.BqInput, typeof i1.BqNotification, typeof i1.BqOption, typeof i1.BqOptionGroup, typeof i1.BqOptionList, typeof i1.BqPanel, typeof i1.BqProgress, typeof i1.BqRadio, typeof i1.BqRadioGroup, typeof i1.BqSelect, typeof i1.BqSideMenu, typeof i1.BqSideMenuItem, typeof i1.BqSlider, typeof i1.BqSpinner, typeof i1.BqStatus, typeof i1.BqStepItem, typeof i1.BqSteps, typeof i1.BqSwitch, typeof i1.BqTab, typeof i1.BqTabGroup, typeof i1.BqTag, typeof i1.BqTextarea, typeof i1.BqToast, typeof i1.BqTooltip, typeof i2.BooleanValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.SelectValueAccessor, typeof i6.TextValueAccessor], [typeof i7.CommonModule], [typeof i1.BqAccordion, typeof i1.BqAccordionGroup, typeof i1.BqAlert, typeof i1.BqAvatar, typeof i1.BqBadge, typeof i1.BqBreadcrumb, typeof i1.BqBreadcrumbItem, typeof i1.BqButton, typeof i1.BqCard, typeof i1.BqCheckbox, typeof i1.BqDialog, typeof i1.BqDivider, typeof i1.BqDrawer, typeof i1.BqDropdown, typeof i1.BqEmptyState, typeof i1.BqIcon, typeof i1.BqInput, typeof i1.BqNotification, typeof i1.BqOption, typeof i1.BqOptionGroup, typeof i1.BqOptionList, typeof i1.BqPanel, typeof i1.BqProgress, typeof i1.BqRadio, typeof i1.BqRadioGroup, typeof i1.BqSelect, typeof i1.BqSideMenu, typeof i1.BqSideMenuItem, typeof i1.BqSlider, typeof i1.BqSpinner, typeof i1.BqStatus, typeof i1.BqStepItem, typeof i1.BqSteps, typeof i1.BqSwitch, typeof i1.BqTab, typeof i1.BqTabGroup, typeof i1.BqTag, typeof i1.BqTextarea, typeof i1.BqToast, typeof i1.BqTooltip, typeof i2.BooleanValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.SelectValueAccessor, typeof i6.TextValueAccessor]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BeeQModule, [typeof i1.BqAccordion, typeof i1.BqAccordionGroup, typeof i1.BqAlert, typeof i1.BqAvatar, typeof i1.BqBadge, typeof i1.BqBreadcrumb, typeof i1.BqBreadcrumbItem, typeof i1.BqButton, typeof i1.BqCard, typeof i1.BqCheckbox, typeof i1.BqDatePicker, typeof i1.BqDialog, typeof i1.BqDivider, typeof i1.BqDrawer, typeof i1.BqDropdown, typeof i1.BqEmptyState, typeof i1.BqIcon, typeof i1.BqInput, typeof i1.BqNotification, typeof i1.BqOption, typeof i1.BqOptionGroup, typeof i1.BqOptionList, typeof i1.BqPanel, typeof i1.BqProgress, typeof i1.BqRadio, typeof i1.BqRadioGroup, typeof i1.BqSelect, typeof i1.BqSideMenu, typeof i1.BqSideMenuItem, typeof i1.BqSlider, typeof i1.BqSpinner, typeof i1.BqStatus, typeof i1.BqStepItem, typeof i1.BqSteps, typeof i1.BqSwitch, typeof i1.BqTab, typeof i1.BqTabGroup, typeof i1.BqTag, typeof i1.BqTextarea, typeof i1.BqToast, typeof i1.BqTooltip, typeof i2.BooleanValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.SelectValueAccessor, typeof i6.TextValueAccessor], [typeof i7.CommonModule], [typeof i1.BqAccordion, typeof i1.BqAccordionGroup, typeof i1.BqAlert, typeof i1.BqAvatar, typeof i1.BqBadge, typeof i1.BqBreadcrumb, typeof i1.BqBreadcrumbItem, typeof i1.BqButton, typeof i1.BqCard, typeof i1.BqCheckbox, typeof i1.BqDatePicker, typeof i1.BqDialog, typeof i1.BqDivider, typeof i1.BqDrawer, typeof i1.BqDropdown, typeof i1.BqEmptyState, typeof i1.BqIcon, typeof i1.BqInput, typeof i1.BqNotification, typeof i1.BqOption, typeof i1.BqOptionGroup, typeof i1.BqOptionList, typeof i1.BqPanel, typeof i1.BqProgress, typeof i1.BqRadio, typeof i1.BqRadioGroup, typeof i1.BqSelect, typeof i1.BqSideMenu, typeof i1.BqSideMenuItem, typeof i1.BqSlider, typeof i1.BqSpinner, typeof i1.BqStatus, typeof i1.BqStepItem, typeof i1.BqSteps, typeof i1.BqSwitch, typeof i1.BqTab, typeof i1.BqTabGroup, typeof i1.BqTag, typeof i1.BqTextarea, typeof i1.BqToast, typeof i1.BqTooltip, typeof i2.BooleanValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.SelectValueAccessor, typeof i6.TextValueAccessor]>;
|
|
14
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<BeeQModule>;
|
|
15
15
|
}
|
|
@@ -182,6 +182,35 @@ export declare interface BqCheckbox extends Components.BqCheckbox {
|
|
|
182
182
|
*/
|
|
183
183
|
bqBlur: EventEmitter<CustomEvent<HTMLBqCheckboxElement>>;
|
|
184
184
|
}
|
|
185
|
+
export declare class BqDatePicker {
|
|
186
|
+
protected z: NgZone;
|
|
187
|
+
protected el: HTMLElement;
|
|
188
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
189
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BqDatePicker, never>;
|
|
190
|
+
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; }; "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": false; }; "open": { "alias": "open"; "required": false; }; "panelHeight": { "alias": "panelHeight"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placement": { "alias": "placement"; "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; }; }, {}, never, ["*"], false, never>;
|
|
191
|
+
}
|
|
192
|
+
export declare interface BqDatePicker extends Components.BqDatePicker {
|
|
193
|
+
/**
|
|
194
|
+
* Callback handler emitted when the input loses focus
|
|
195
|
+
*/
|
|
196
|
+
bqBlur: EventEmitter<CustomEvent<HTMLBqDatePickerElement>>;
|
|
197
|
+
/**
|
|
198
|
+
* Callback handler emitted when the input value has changed and the input loses focus.
|
|
199
|
+
This handler is called whenever the user finishes typing or pasting text into the input field and then clicks outside of the input field.
|
|
200
|
+
*/
|
|
201
|
+
bqChange: EventEmitter<CustomEvent<{
|
|
202
|
+
value: string;
|
|
203
|
+
el: HTMLBqDatePickerElement;
|
|
204
|
+
}>>;
|
|
205
|
+
/**
|
|
206
|
+
* Callback handler emitted when the input value has been cleared
|
|
207
|
+
*/
|
|
208
|
+
bqClear: EventEmitter<CustomEvent<HTMLBqDatePickerElement>>;
|
|
209
|
+
/**
|
|
210
|
+
* Callback handler emitted when the input has received focus
|
|
211
|
+
*/
|
|
212
|
+
bqFocus: EventEmitter<CustomEvent<HTMLBqDatePickerElement>>;
|
|
213
|
+
}
|
|
185
214
|
export declare class BqDialog {
|
|
186
215
|
protected z: NgZone;
|
|
187
216
|
protected el: HTMLElement;
|
package/directives/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.BqAccordion | typeof d.BqAccordionGroup | typeof d.BqAlert | typeof d.BqAvatar | typeof d.BqBadge | typeof d.BqBreadcrumb | typeof d.BqBreadcrumbItem | typeof d.BqButton | typeof d.BqCard | typeof d.BqCheckbox | typeof d.BqDialog | typeof d.BqDivider | typeof d.BqDrawer | typeof d.BqDropdown | typeof d.BqEmptyState | typeof d.BqIcon | typeof d.BqInput | typeof d.BqNotification | typeof d.BqOption | typeof d.BqOptionGroup | typeof d.BqOptionList | typeof d.BqPanel | typeof d.BqProgress | typeof d.BqRadio | typeof d.BqRadioGroup | typeof d.BqSelect | typeof d.BqSideMenu | typeof d.BqSideMenuItem | typeof d.BqSlider | typeof d.BqSpinner | typeof d.BqStatus | typeof d.BqStepItem | typeof d.BqSteps | typeof d.BqSwitch | typeof d.BqTab | typeof d.BqTabGroup | typeof d.BqTag | typeof d.BqTextarea | typeof d.BqToast | typeof d.BqTooltip)[];
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.BqAccordion | typeof d.BqAccordionGroup | typeof d.BqAlert | typeof d.BqAvatar | typeof d.BqBadge | typeof d.BqBreadcrumb | typeof d.BqBreadcrumbItem | typeof d.BqButton | typeof d.BqCard | typeof d.BqCheckbox | typeof d.BqDatePicker | typeof d.BqDialog | typeof d.BqDivider | typeof d.BqDrawer | typeof d.BqDropdown | typeof d.BqEmptyState | typeof d.BqIcon | typeof d.BqInput | typeof d.BqNotification | typeof d.BqOption | typeof d.BqOptionGroup | typeof d.BqOptionList | typeof d.BqPanel | typeof d.BqProgress | typeof d.BqRadio | typeof d.BqRadioGroup | typeof d.BqSelect | typeof d.BqSideMenu | typeof d.BqSideMenuItem | typeof d.BqSlider | typeof d.BqSpinner | typeof d.BqStatus | typeof d.BqStepItem | typeof d.BqSteps | typeof d.BqSwitch | typeof d.BqTab | typeof d.BqTabGroup | typeof d.BqTag | typeof d.BqTextarea | typeof d.BqToast | typeof d.BqTooltip)[];
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TextValueAccessor extends ValueAccessor {
|
|
5
5
|
constructor(el: ElementRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextValueAccessor, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "bq-input:not[type=\"number\"], bq-
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessor, "bq-date-picker, bq-input:not[type=\"number\"], bq-slider[type=\"range\", bq-textarea", never, {}, {}, never, never, false, never>;
|
|
8
8
|
}
|
package/esm2022/beeq.module.mjs
CHANGED
|
@@ -32,23 +32,23 @@ export class BeeQModule {
|
|
|
32
32
|
],
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
35
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BeeQModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
+
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: BeeQModule, declarations: [i1.BqAccordion, i1.BqAccordionGroup, i1.BqAlert, i1.BqAvatar, i1.BqBadge, i1.BqBreadcrumb, i1.BqBreadcrumbItem, i1.BqButton, i1.BqCard, i1.BqCheckbox, i1.BqDatePicker, i1.BqDialog, i1.BqDivider, i1.BqDrawer, i1.BqDropdown, i1.BqEmptyState, i1.BqIcon, i1.BqInput, i1.BqNotification, i1.BqOption, i1.BqOptionGroup, i1.BqOptionList, i1.BqPanel, i1.BqProgress, i1.BqRadio, i1.BqRadioGroup, i1.BqSelect, i1.BqSideMenu, i1.BqSideMenuItem, i1.BqSlider, i1.BqSpinner, i1.BqStatus, i1.BqStepItem, i1.BqSteps, i1.BqSwitch, i1.BqTab, i1.BqTabGroup, i1.BqTag, i1.BqTextarea, i1.BqToast, i1.BqTooltip,
|
|
37
37
|
// ngModel Accessors
|
|
38
38
|
BooleanValueAccessor,
|
|
39
39
|
NumericValueAccessor,
|
|
40
40
|
RadioValueAccessor,
|
|
41
41
|
SelectValueAccessor,
|
|
42
|
-
TextValueAccessor], imports: [CommonModule], exports: [i1.BqAccordion, i1.BqAccordionGroup, i1.BqAlert, i1.BqAvatar, i1.BqBadge, i1.BqBreadcrumb, i1.BqBreadcrumbItem, i1.BqButton, i1.BqCard, i1.BqCheckbox, i1.BqDialog, i1.BqDivider, i1.BqDrawer, i1.BqDropdown, i1.BqEmptyState, i1.BqIcon, i1.BqInput, i1.BqNotification, i1.BqOption, i1.BqOptionGroup, i1.BqOptionList, i1.BqPanel, i1.BqProgress, i1.BqRadio, i1.BqRadioGroup, i1.BqSelect, i1.BqSideMenu, i1.BqSideMenuItem, i1.BqSlider, i1.BqSpinner, i1.BqStatus, i1.BqStepItem, i1.BqSteps, i1.BqSwitch, i1.BqTab, i1.BqTabGroup, i1.BqTag, i1.BqTextarea, i1.BqToast, i1.BqTooltip,
|
|
42
|
+
TextValueAccessor], imports: [CommonModule], exports: [i1.BqAccordion, i1.BqAccordionGroup, i1.BqAlert, i1.BqAvatar, i1.BqBadge, i1.BqBreadcrumb, i1.BqBreadcrumbItem, i1.BqButton, i1.BqCard, i1.BqCheckbox, i1.BqDatePicker, i1.BqDialog, i1.BqDivider, i1.BqDrawer, i1.BqDropdown, i1.BqEmptyState, i1.BqIcon, i1.BqInput, i1.BqNotification, i1.BqOption, i1.BqOptionGroup, i1.BqOptionList, i1.BqPanel, i1.BqProgress, i1.BqRadio, i1.BqRadioGroup, i1.BqSelect, i1.BqSideMenu, i1.BqSideMenuItem, i1.BqSlider, i1.BqSpinner, i1.BqStatus, i1.BqStepItem, i1.BqSteps, i1.BqSwitch, i1.BqTab, i1.BqTabGroup, i1.BqTag, i1.BqTextarea, i1.BqToast, i1.BqTooltip,
|
|
43
43
|
// ngModel Accessors
|
|
44
44
|
BooleanValueAccessor,
|
|
45
45
|
NumericValueAccessor,
|
|
46
46
|
RadioValueAccessor,
|
|
47
47
|
SelectValueAccessor,
|
|
48
48
|
TextValueAccessor] });
|
|
49
|
-
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
49
|
+
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BeeQModule, imports: [CommonModule] });
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BeeQModule, decorators: [{
|
|
52
52
|
type: NgModule,
|
|
53
53
|
args: [{
|
|
54
54
|
imports: [CommonModule],
|
|
@@ -9,8 +9,8 @@ export class BooleanValueAccessor extends ValueAccessor {
|
|
|
9
9
|
writeValue(value) {
|
|
10
10
|
this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
|
|
11
11
|
}
|
|
12
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
12
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BooleanValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: BooleanValueAccessor, selector: "bq-checkbox, bq-switch", host: { listeners: { "bqChange": "handleChangeEvent($event.target.checked)" } }, providers: [
|
|
14
14
|
{
|
|
15
15
|
provide: NG_VALUE_ACCESSOR,
|
|
16
16
|
useExisting: BooleanValueAccessor,
|
|
@@ -18,7 +18,7 @@ export class BooleanValueAccessor extends ValueAccessor {
|
|
|
18
18
|
}
|
|
19
19
|
], usesInheritance: true, ngImport: i0 });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BooleanValueAccessor, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{
|
|
24
24
|
/* tslint:disable-next-line:directive-selector */
|