Skip to content

Commit 0485086

Browse files
committed
correct overrides
1 parent c68a996 commit 0485086

File tree

41 files changed

+44
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+44
-48
lines changed

src/packages/block/block-type/components/input-block-type/input-block-type.element.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import type { UmbBlockTypeCardElement } from '../block-type-card/index.js';
2-
import type { UmbBlockTypeBaseModel, UmbBlockTypeWithGroupKey } from '../../types.js';
31
import { umbConfirmModal } from '@umbraco-cms/backoffice/modal';
42
import { UmbModalRouteRegistrationController } from '@umbraco-cms/backoffice/router';
53
import { css, html, customElement, property, state, repeat } from '@umbraco-cms/backoffice/external/lit';
@@ -12,6 +10,8 @@ import {
1210
UMB_DOCUMENT_TYPE_PICKER_MODAL,
1311
} from '@umbraco-cms/backoffice/document-type';
1412
import { UmbSorterController } from '@umbraco-cms/backoffice/sorter';
13+
import type { UmbBlockTypeBaseModel, UmbBlockTypeWithGroupKey } from '../../types.js';
14+
import type { UmbBlockTypeCardElement } from '../block-type-card/index.js';
1515

1616
import '../block-type-card/index.js';
1717

@@ -123,10 +123,6 @@ export class UmbInputBlockTypeElement<
123123
this.dispatchEvent(new UmbDeleteEvent());
124124
}
125125

126-
protected getFormElement() {
127-
return undefined;
128-
}
129-
130126
async #onRequestDelete(item: BlockType) {
131127
const store = await this.getContext(UMB_DOCUMENT_TYPE_ITEM_STORE_CONTEXT);
132128
const contentType = store.getItems([item.contentElementTypeKey]);

src/packages/core/components/input-color/input-color.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { UUIColorSwatchesEvent } from '@umbraco-cms/backoffice/external/uui
1111
*/
1212
@customElement('umb-input-color')
1313
export class UmbInputColorElement extends UUIFormControlMixin(UmbLitElement, '') {
14-
protected getFormElement() {
14+
protected override getFormElement() {
1515
return undefined;
1616
}
1717

src/packages/core/components/input-date/input-date.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import type { UUIInputEvent } from '@umbraco-cms/backoffice/external/uui';
1515
*/
1616
@customElement('umb-input-date')
1717
export class UmbInputDateElement extends UUIFormControlMixin(UmbLitElement, '') {
18-
protected getFormElement() {
18+
protected override getFormElement() {
1919
return undefined;
2020
}
2121

src/packages/core/components/input-dropdown/input-dropdown-list.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class UmbInputDropdownListElement extends UUIFormControlMixin(UmbLitEleme
1919
@query('uui-select')
2020
private selectEle!: HTMLInputElement;
2121

22-
protected getFormElement() {
22+
protected override getFormElement() {
2323
return this.selectEle;
2424
}
2525

src/packages/core/components/input-entity/input-entity.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class UmbInputEntityElement extends UmbFormControlMixin<string | undefine
2828
},
2929
});
3030

31-
protected getFormElement() {
31+
protected override getFormElement() {
3232
return undefined;
3333
}
3434

src/packages/core/components/input-eye-dropper/input-eye-dropper.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { UUIColorPickerChangeEvent } from '@umbraco-cms/backoffice/external
66

77
@customElement('umb-input-eye-dropper')
88
export class UmbInputEyeDropperElement extends UUIFormControlMixin(UmbLitElement, '') {
9-
protected getFormElement() {
9+
protected override getFormElement() {
1010
return undefined;
1111
}
1212

src/packages/core/components/input-radio-button-list/input-radio-button-list.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class UmbInputRadioButtonListElement extends UUIFormControlMixin(UmbLitEl
2121
@property({ type: Array })
2222
public list: Array<UmbRadioButtonItem> = [];
2323

24-
protected getFormElement() {
24+
protected override getFormElement() {
2525
return undefined;
2626
}
2727

src/packages/core/components/input-slider/input-slider.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class UmbInputSliderElement extends UUIFormControlMixin(UmbLitElement, ''
2424
@property({ type: Boolean, attribute: 'enable-range' })
2525
enableRange = false;
2626

27-
protected getFormElement() {
27+
protected override getFormElement() {
2828
return undefined;
2929
}
3030

src/packages/core/components/input-toggle/input-toggle.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class UmbInputToggleElement extends UUIFormControlMixin(UmbLitElement, ''
2929
@state()
3030
_currentLabel?: string;
3131

32-
protected getFormElement() {
32+
protected override getFormElement() {
3333
return undefined;
3434
}
3535

src/packages/core/components/multiple-color-picker-input/multiple-color-picker-input.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class UmbMultipleColorPickerInputElement extends UUIFormControlMixin(UmbL
171171
this.dispatchEvent(new UmbChangeEvent());
172172
}
173173

174-
protected getFormElement() {
174+
protected override getFormElement() {
175175
return undefined;
176176
}
177177

0 commit comments

Comments
 (0)