Skip to content

Commit

Permalink
main - e35e92b build: update @angular/bazel to latest (#29937)
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 committed Oct 29, 2024
1 parent c2a35da commit 4fe6893
Show file tree
Hide file tree
Showing 12 changed files with 457 additions and 435 deletions.
281 changes: 129 additions & 152 deletions fesm2022/column-resize.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fesm2022/column-resize.mjs.map

Large diffs are not rendered by default.

60 changes: 31 additions & 29 deletions fesm2022/combobox.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,44 @@ import { DOCUMENT } from '@angular/common';
const allowedOpenActions = ['focus', 'click', 'downKey', 'toggle'];
const CDK_COMBOBOX = new InjectionToken('CDK_COMBOBOX');
class CdkCombobox {
constructor() {
this._elementRef = inject(ElementRef);
this._overlay = inject(Overlay);
this._viewContainerRef = inject(ViewContainerRef);
this._injector = inject(Injector);
this._doc = inject(DOCUMENT);
this._directionality = inject(Directionality, { optional: true });
this._changeDetectorRef = inject(ChangeDetectorRef);
this._disabled = false;
this._openActions = ['click'];
this._autoSetText = true;
this.opened = new EventEmitter();
this.closed = new EventEmitter();
this.panelValueChanged = new EventEmitter();
this.contentId = '';
}
_elementRef = inject(ElementRef);
_overlay = inject(Overlay);
_viewContainerRef = inject(ViewContainerRef);
_injector = inject(Injector);
_doc = inject(DOCUMENT);
_directionality = inject(Directionality, { optional: true });
_changeDetectorRef = inject(ChangeDetectorRef);
_overlayRef;
_panelPortal;
_panelTemplateRef;
value;
get disabled() {
return this._disabled;
}
set disabled(value) {
this._disabled = coerceBooleanProperty(value);
}
_disabled = false;
get openActions() {
return this._openActions;
}
set openActions(action) {
this._openActions = this._coerceOpenActionProperty(action);
}
_openActions = ['click'];
/** Whether the textContent is automatically updated upon change of the combobox value. */
get autoSetText() {
return this._autoSetText;
}
set autoSetText(value) {
this._autoSetText = coerceBooleanProperty(value);
}
_autoSetText = true;
opened = new EventEmitter();
closed = new EventEmitter();
panelValueChanged = new EventEmitter();
contentId = '';
contentType;
ngOnDestroy() {
if (this._overlayRef) {
this._overlayRef.dispose();
Expand Down Expand Up @@ -220,8 +223,8 @@ class CdkCombobox {
this.contentId = contentId;
this.contentType = contentType;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCombobox, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkCombobox, isStandalone: true, selector: "[cdkCombobox]", inputs: { _panelTemplateRef: ["cdkComboboxTriggerFor", "_panelTemplateRef"], value: "value", disabled: "disabled", openActions: "openActions", autoSetText: "autoSetText" }, outputs: { opened: "comboboxPanelOpened", closed: "comboboxPanelClosed", panelValueChanged: "panelValueChanged" }, host: { attributes: { "role": "combobox" }, listeners: { "click": "_handleInteractions(\"click\")", "focus": "_handleInteractions(\"focus\")", "keydown": "_keydown($event)", "document:click": "_attemptClose($event)" }, properties: { "attr.aria-disabled": "disabled", "attr.aria-owns": "contentId", "attr.aria-haspopup": "contentType", "attr.aria-expanded": "isOpen()", "attr.tabindex": "_getTabIndex()" }, classAttribute: "cdk-combobox" }, providers: [{ provide: CDK_COMBOBOX, useExisting: CdkCombobox }], exportAs: ["cdkCombobox"], ngImport: i0 }); }
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCombobox, deps: [], target: i0.ɵɵFactoryTarget.Directive });
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkCombobox, isStandalone: true, selector: "[cdkCombobox]", inputs: { _panelTemplateRef: ["cdkComboboxTriggerFor", "_panelTemplateRef"], value: "value", disabled: "disabled", openActions: "openActions", autoSetText: "autoSetText" }, outputs: { opened: "comboboxPanelOpened", closed: "comboboxPanelClosed", panelValueChanged: "panelValueChanged" }, host: { attributes: { "role": "combobox" }, listeners: { "click": "_handleInteractions(\"click\")", "focus": "_handleInteractions(\"focus\")", "keydown": "_keydown($event)", "document:click": "_attemptClose($event)" }, properties: { "attr.aria-disabled": "disabled", "attr.aria-owns": "contentId", "attr.aria-haspopup": "contentType", "attr.aria-expanded": "isOpen()", "attr.tabindex": "_getTabIndex()" }, classAttribute: "cdk-combobox" }, providers: [{ provide: CDK_COMBOBOX, useExisting: CdkCombobox }], exportAs: ["cdkCombobox"], ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkCombobox, decorators: [{
type: Directive,
Expand Down Expand Up @@ -267,24 +270,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10",

let nextId = 0;
class CdkComboboxPopup {
constructor() {
this._elementRef = inject(ElementRef);
this._combobox = inject(CDK_COMBOBOX);
this._role = 'dialog';
this.id = `cdk-combobox-popup-${nextId++}`;
}
_elementRef = inject(ElementRef);
_combobox = inject(CDK_COMBOBOX);
get role() {
return this._role;
}
set role(value) {
this._role = value;
}
_role = 'dialog';
get firstFocus() {
return this._firstFocusElement;
}
set firstFocus(id) {
this._firstFocusElement = id;
}
_firstFocusElement;
id = `cdk-combobox-popup-${nextId++}`;
ngOnInit() {
this.registerWithPanel();
}
Expand All @@ -299,8 +301,8 @@ class CdkComboboxPopup {
this._elementRef.nativeElement.focus();
}
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxPopup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkComboboxPopup, isStandalone: true, selector: "[cdkComboboxPopup]", inputs: { role: "role", firstFocus: "firstFocus", id: "id" }, host: { attributes: { "tabindex": "-1" }, listeners: { "focus": "focusFirstElement()" }, properties: { "attr.role": "role", "id": "id" }, classAttribute: "cdk-combobox-popup" }, exportAs: ["cdkComboboxPopup"], ngImport: i0 }); }
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxPopup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkComboboxPopup, isStandalone: true, selector: "[cdkComboboxPopup]", inputs: { role: "role", firstFocus: "firstFocus", id: "id" }, host: { attributes: { "tabindex": "-1" }, listeners: { "focus": "focusFirstElement()" }, properties: { "attr.role": "role", "id": "id" }, classAttribute: "cdk-combobox-popup" }, exportAs: ["cdkComboboxPopup"], ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxPopup, decorators: [{
type: Directive,
Expand All @@ -325,9 +327,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10",

const EXPORTED_DECLARATIONS = [CdkCombobox, CdkComboboxPopup];
class CdkComboboxModule {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxModule, imports: [OverlayModule, CdkCombobox, CdkComboboxPopup], exports: [CdkCombobox, CdkComboboxPopup] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxModule, imports: [OverlayModule] }); }
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxModule, imports: [OverlayModule, CdkCombobox, CdkComboboxPopup], exports: [CdkCombobox, CdkComboboxPopup] });
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxModule, imports: [OverlayModule] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkComboboxModule, decorators: [{
type: NgModule,
Expand Down
2 changes: 1 addition & 1 deletion fesm2022/combobox.mjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit 4fe6893

Please sign in to comment.