Skip to content

Commit b79f827

Browse files
committed
prettier formatting
1 parent ee3c19e commit b79f827

File tree

14 files changed

+31
-32
lines changed

14 files changed

+31
-32
lines changed

src/assets/lang/da-dk.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,8 +1586,7 @@ export default {
15861586
addProperty: 'Tilføj egenskab',
15871587
requiredLabel: 'Påkrævet label',
15881588
enableListViewHeading: 'Aktivér listevisning',
1589-
enableListViewDescription:
1590-
'Konfigurér indholdet til at blive vist i en sortérbar og søgbar liste.',
1589+
enableListViewDescription: 'Konfigurér indholdet til at blive vist i en sortérbar og søgbar liste.',
15911590
allowedTemplatesHeading: 'Tilladte skabeloner',
15921591
allowedTemplatesDescription: 'Vælg hvilke skabeloner, der er tilladt at bruge på dette indhold.',
15931592
allowAtRootHeading: 'Tillad på rodniveau',
@@ -1681,8 +1680,7 @@ export default {
16811680
changeDataTypeHelpText:
16821681
'Changing a data type with stored values is disabled. To allow this you can change the Umbraco:CMS:DataTypes:CanBeChanged setting in appsettings.json.',
16831682
collections: 'Samlinger',
1684-
collectionsDescription:
1685-
'Konfigurerer indholdselementet til at vise listen over dets underordnede elementer.',
1683+
collectionsDescription: 'Konfigurerer indholdselementet til at vise listen over dets underordnede elementer.',
16861684
structure: 'Struktur',
16871685
presentation: 'Præsentation',
16881686
},

src/assets/lang/en-us.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,8 +1600,7 @@ export default {
16001600
editProperty: 'Edit property',
16011601
requiredLabel: 'Required label',
16021602
enableListViewHeading: 'Enable list view',
1603-
enableListViewDescription:
1604-
'Configures the content item to show a sortable and searchable list of its children.',
1603+
enableListViewDescription: 'Configures the content item to show a sortable and searchable list of its children.',
16051604
allowedTemplatesHeading: 'Allowed Templates',
16061605
allowedTemplatesDescription: 'Choose which templates editors are allowed to use on content of this type',
16071606
allowAtRootHeading: 'Allow at root',
@@ -1693,8 +1692,7 @@ export default {
16931692
changeDataTypeHelpText:
16941693
'Changing a data type with stored values is disabled. To allow this you can change the Umbraco:CMS:DataTypes:CanBeChanged setting in appsettings.json.',
16951694
collections: 'Collections',
1696-
collectionsDescription:
1697-
'Configures the content item to show list of its children.',
1695+
collectionsDescription: 'Configures the content item to show list of its children.',
16981696
structure: 'Structure',
16991697
presentation: 'Presentation',
17001698
},

src/assets/lang/en.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,8 +1623,7 @@ export default {
16231623
editProperty: 'Edit property',
16241624
requiredLabel: 'Required label',
16251625
enableListViewHeading: 'Enable list view',
1626-
enableListViewDescription:
1627-
'Configures the content item to show a sortable and searchable list of its children.',
1626+
enableListViewDescription: 'Configures the content item to show a sortable and searchable list of its children.',
16281627
allowedTemplatesHeading: 'Allowed Templates',
16291628
allowedTemplatesDescription: 'Choose which templates editors are allowed to use on content of this type',
16301629
allowAtRootHeading: 'Allow at root',
@@ -1717,8 +1716,7 @@ export default {
17171716
changeDataTypeHelpText:
17181717
'Changing a data type with stored values is disabled. To allow this you can change the Umbraco:CMS:DataTypes:CanBeChanged setting in appsettings.json.',
17191718
collections: 'Collections',
1720-
collectionsDescription:
1721-
'Configures the content item to show list of its children.',
1719+
collectionsDescription: 'Configures the content item to show list of its children.',
17221720
structure: 'Structure',
17231721
presentation: 'Presentation',
17241722
},
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
const { rest } = window.MockServiceWorker;
22
//import { umbracoPath } from '@umbraco-cms/backoffice/utils';
33

4-
export const handlers = [
5-
6-
];
4+
export const handlers = [];

src/packages/block/block-grid/context/block-grid-entry.context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export class UmbBlockGridEntryContext
3030
implements UmbBlockGridScalableContext
3131
{
3232
//
33-
readonly columnSpan = this._layout.asObservablePart((x) => x ? x.columnSpan ?? null : undefined);
34-
readonly rowSpan = this._layout.asObservablePart((x) => x ? x.rowSpan ?? null : undefined);
33+
readonly columnSpan = this._layout.asObservablePart((x) => (x ? x.columnSpan ?? null : undefined));
34+
readonly rowSpan = this._layout.asObservablePart((x) => (x ? x.rowSpan ?? null : undefined));
3535
readonly layoutAreas = this._layout.asObservablePart((x) => x?.areas);
3636
readonly columnSpanOptions = this._blockType.asObservablePart((x) => x?.columnSpanOptions ?? []);
3737
readonly areaTypeGridColumns = this._blockType.asObservablePart((x) => x?.areaGridColumns);

src/packages/block/block-grid/property-editors/block-grid-type-configuration/property-editor-ui-block-grid-type-configuration.element.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ import {
1717
} from '@umbraco-cms/backoffice/property-editor';
1818
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
1919
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
20-
import { UMB_BLOCK_GRID_TYPE, UMB_BLOCK_GRID_TYPE_WORKSPACE_MODAL, type UmbBlockGridTypeGroupType } from '@umbraco-cms/backoffice/block-grid';
20+
import {
21+
UMB_BLOCK_GRID_TYPE,
22+
UMB_BLOCK_GRID_TYPE_WORKSPACE_MODAL,
23+
type UmbBlockGridTypeGroupType,
24+
} from '@umbraco-cms/backoffice/block-grid';
2125
import type { UUIInputEvent } from '@umbraco-cms/backoffice/external/uui';
2226
import {
2327
UMB_PROPERTY_CONTEXT,
@@ -104,7 +108,10 @@ export class UmbPropertyEditorUIBlockGridTypeConfigurationElement
104108
this.#observeBlockGroups();
105109
});
106110

107-
this.#blockTypeWorkspaceModalRegistration = new UmbModalRouteRegistrationController(this, UMB_BLOCK_GRID_TYPE_WORKSPACE_MODAL)
111+
this.#blockTypeWorkspaceModalRegistration = new UmbModalRouteRegistrationController(
112+
this,
113+
UMB_BLOCK_GRID_TYPE_WORKSPACE_MODAL,
114+
)
108115
.addAdditionalPath(UMB_BLOCK_GRID_TYPE)
109116
.observeRouteBuilder((routeBuilder) => {
110117
const newpath = routeBuilder({});

src/packages/block/block-grid/workspace/block-grid-type-workspace.modal-token.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
44

55
export type UmbBlockGridTypeWorkspaceData = UmbWorkspaceModalData<UmbBlockGridTypeModel>;
66

7-
export const UMB_BLOCK_GRID_TYPE_WORKSPACE_MODAL = new UmbModalToken<UmbBlockGridTypeWorkspaceData, UmbWorkspaceModalValue>(
7+
export const UMB_BLOCK_GRID_TYPE_WORKSPACE_MODAL = new UmbModalToken<
8+
UmbBlockGridTypeWorkspaceData,
9+
UmbWorkspaceModalValue
10+
>(
811
'Umb.Modal.Workspace',
912
{
1013
modal: {
1114
type: 'sidebar',
1215
size: 'large',
1316
},
14-
data: { entityType: UMB_BLOCK_GRID_TYPE, preset: {allowAtRoot: true} },
17+
data: { entityType: UMB_BLOCK_GRID_TYPE, preset: { allowAtRoot: true } },
1518
},
1619
// Recast the type, so the entityType data prop is not required:
1720
) as UmbModalToken<Omit<UmbWorkspaceModalData, 'entityType' | 'preset'>, UmbWorkspaceModalValue>;

src/packages/block/block-type/workspace/block-type-workspace.context.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ export class UmbBlockTypeWorkspaceContext<BlockTypeData extends UmbBlockTypeWith
9999
async create(contentElementTypeId: string, groupKey?: string | null) {
100100
this.resetState();
101101

102-
103102
let data: BlockTypeData = {
104-
contentElementTypeKey: contentElementTypeId
103+
contentElementTypeKey: contentElementTypeId,
105104
} as BlockTypeData;
106105

107106
// If we have a modal context, we blend in the modal preset data: [NL]

src/packages/core/components/input-collection-configuration/input-collection-configuration.element.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ import { UmbModalRouteRegistrationController } from '@umbraco-cms/backoffice/rou
1010
import { UmbFormControlMixin } from '@umbraco-cms/backoffice/validation';
1111

1212
@customElement('umb-input-collection-configuration')
13-
export class UmbInputCollectionConfigurationElement extends UmbFormControlMixin<string, typeof UmbLitElement>(UmbLitElement) {
13+
export class UmbInputCollectionConfigurationElement extends UmbFormControlMixin<string, typeof UmbLitElement>(
14+
UmbLitElement,
15+
) {
1416
protected override getFormElement() {
1517
return undefined;
1618
}

src/packages/core/notification/notification.context.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect } from '@open-wc/testing';
22

3-
import type { UmbNotificationHandler} from './index.js';
3+
import type { UmbNotificationHandler } from './index.js';
44
import { UmbNotificationContext } from './index.js';
55
import { UmbControllerHostElementMixin } from '@umbraco-cms/backoffice/controller-api';
66
import { customElement } from '@umbraco-cms/backoffice/external/lit';

0 commit comments

Comments
 (0)