make component folder in collection folder

This commit is contained in:
Mads Rasmussen
2023-10-01 19:35:07 +02:00
parent 84f7c5d989
commit 42dbdd5f48
5 changed files with 15 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
import { UmbUserGroupCollectionContext } from './user-group-collection.context.js';
import { UmbUserGroupCollectionContext } from '../user-group-collection.context.js';
import { UUIInputEvent } from '@umbraco-cms/backoffice/external/uui';
import { css, html, customElement } from '@umbraco-cms/backoffice/external/lit';
import { UMB_COLLECTION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/collection';
@@ -26,8 +26,15 @@ export class UmbUserGroupCollectionHeaderElement extends UmbLitElement {
render() {
return html`
<uui-button @click=${this.#onCreate} label=${this.localize.term('actions_createGroup')} look="outline"></uui-button>
<uui-input @input=${this.#onSearch} label=${this.localize.term('general_search')} placeholder=${this.localize.term('visuallyHiddenTexts_userGroupSearchLabel')} id="input-search"></uui-input>
<uui-button
@click=${this.#onCreate}
label=${this.localize.term('actions_createGroup')}
look="outline"></uui-button>
<uui-input
@input=${this.#onSearch}
label=${this.localize.term('general_search')}
placeholder=${this.localize.term('visuallyHiddenTexts_userGroupSearchLabel')}
id="input-search"></uui-input>
`;
}
static styles = [

View File

@@ -1,12 +1,12 @@
import { UmbUserGroupCollectionContext } from './user-group-collection.context.js';
import { UmbTextStyles } from "@umbraco-cms/backoffice/style";
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
import { css, html, customElement, state } from '@umbraco-cms/backoffice/external/lit';
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
import { UMB_COLLECTION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/collection';
import { UserGroupResponseModel } from '@umbraco-cms/backoffice/backend-api';
import './user-group-table-name-column-layout.element.js';
import './user-group-table-sections-column-layout.element.js';
import './components/user-group-table-name-column-layout.element.js';
import './components/user-group-table-sections-column-layout.element.js';
import {
UmbTableColumn,
UmbTableConfig,

View File

@@ -1,11 +1,11 @@
import { UmbUserGroupCollectionContext } from './user-group-collection.context.js';
import { css, html, customElement } from '@umbraco-cms/backoffice/external/lit';
import { UmbTextStyles } from "@umbraco-cms/backoffice/style";
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
import { UMB_COLLECTION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/collection';
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
import './user-group-collection-view.element.js';
import './user-group-collection-header.element.js';
import './components/user-group-collection-header.element.js';
@customElement('umb-user-group-collection')
export class UmbUserCollectionElement extends UmbLitElement {