@umbraco-cms/backoffice 14.0.0--preview007-2ee36857 → 14.0.0--preview007-06765466
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/dist-cms/custom-elements.json +54 -2
- package/dist-cms/packages/core/collection/default/collection-default.context.d.ts +6 -6
- package/dist-cms/packages/core/collection/types.d.ts +8 -1
- package/dist-cms/packages/core/components/table/table.element.d.ts +5 -0
- package/dist-cms/packages/core/components/table/table.element.js +6 -2
- package/dist-cms/packages/core/extension-registry/models/index.d.ts +3 -1
- package/dist-cms/packages/core/extension-registry/models/workspace-footer-app.model.d.ts +5 -0
- package/dist-cms/packages/core/extension-registry/models/workspace-footer-app.model.js +1 -0
- package/dist-cms/packages/core/property-editor/uis/collection-view/config/column-configuration/property-editor-ui-collection-view-column-configuration.element.d.ts +2 -7
- package/dist-cms/packages/core/property-editor/uis/collection-view/config/column-configuration/property-editor-ui-collection-view-column-configuration.element.js +1 -1
- package/dist-cms/packages/core/workspace/components/workspace-footer/workspace-footer.element.js +1 -0
- package/dist-cms/packages/dictionary/tree/dictionary-tree.server.data-source.js +1 -0
- package/dist-cms/packages/documents/document-types/tree/document-type.tree.store.js +1 -0
- package/dist-cms/packages/documents/documents/breadcrumb/manifests.d.ts +2 -0
- package/dist-cms/packages/documents/documents/breadcrumb/manifests.js +15 -0
- package/dist-cms/packages/documents/documents/breadcrumb/workspace-breadcrumb.element.d.ts +11 -0
- package/dist-cms/packages/documents/documents/breadcrumb/workspace-breadcrumb.element.js +21 -0
- package/dist-cms/packages/documents/documents/collection/action/create-document-collection-action.element.d.ts +2 -0
- package/dist-cms/packages/documents/documents/collection/action/create-document-collection-action.element.js +29 -12
- package/dist-cms/packages/documents/documents/collection/views/grid/document-grid-collection-view.element.d.ts +1 -0
- package/dist-cms/packages/documents/documents/collection/views/grid/document-grid-collection-view.element.js +75 -8
- package/dist-cms/packages/documents/documents/collection/views/index.d.ts +2 -0
- package/dist-cms/packages/documents/documents/collection/views/index.js +20 -0
- package/dist-cms/packages/documents/documents/collection/views/table/column-layouts/document-table-column-name.element.d.ts +19 -0
- package/dist-cms/packages/documents/documents/collection/views/table/column-layouts/document-table-column-name.element.js +69 -0
- package/dist-cms/packages/documents/documents/collection/views/table/column-layouts/document-table-column-state.element.d.ts +15 -0
- package/dist-cms/packages/documents/documents/collection/views/table/column-layouts/document-table-column-state.element.js +39 -0
- package/dist-cms/packages/documents/documents/collection/views/table/document-table-collection-view.element.d.ts +3 -3
- package/dist-cms/packages/documents/documents/collection/views/table/document-table-collection-view.element.js +47 -44
- package/dist-cms/packages/documents/documents/manifests.js +12 -10
- package/dist-cms/packages/documents/documents/workspace/document-workspace-split-view.element.js +1 -3
- package/dist-cms/packages/media/media-types/tree/media-type-tree.server.data-source.js +1 -0
- package/dist-cms/packages/media/media-types/tree/media-type-tree.store.js +1 -0
- package/dist-cms/packages/members/member-type/tree/member-type-tree.server.data-source.js +1 -0
- package/dist-cms/packages/members/member-type/tree/member-type-tree.store.js +1 -0
- package/dist-cms/packages/templating/partial-views/tree/partial-view-tree.server.data-source.js +1 -0
- package/dist-cms/packages/templating/partial-views/tree/partial-view-tree.store.js +1 -0
- package/dist-cms/packages/templating/scripts/tree/script-tree.server.data-source.js +1 -0
- package/dist-cms/packages/templating/scripts/tree/script-tree.store.js +1 -0
- package/dist-cms/packages/templating/stylesheets/tree/stylesheet-tree.server.data-source.js +1 -0
- package/dist-cms/packages/templating/stylesheets/tree/stylesheet-tree.store.js +1 -0
- package/dist-cms/packages/templating/templates/tree/template-tree.server.data-source.js +1 -0
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package-schema.json +73 -0
- package/dist-cms/vscode-html-custom-data.json +21 -6
- package/package.json +1 -1
|
@@ -3963,7 +3963,7 @@
|
|
|
3963
3963
|
"attributes": [
|
|
3964
3964
|
{
|
|
3965
3965
|
"name": "value",
|
|
3966
|
-
"type": "
|
|
3966
|
+
"type": "UmbCollectionColumnConfiguration[]",
|
|
3967
3967
|
"default": "[]"
|
|
3968
3968
|
}
|
|
3969
3969
|
],
|
|
@@ -3971,7 +3971,7 @@
|
|
|
3971
3971
|
{
|
|
3972
3972
|
"name": "value",
|
|
3973
3973
|
"attribute": "value",
|
|
3974
|
-
"type": "
|
|
3974
|
+
"type": "UmbCollectionColumnConfiguration[]",
|
|
3975
3975
|
"default": "[]"
|
|
3976
3976
|
},
|
|
3977
3977
|
{
|
|
@@ -6314,6 +6314,17 @@
|
|
|
6314
6314
|
}
|
|
6315
6315
|
]
|
|
6316
6316
|
},
|
|
6317
|
+
{
|
|
6318
|
+
"name": "umb-workspace-breadcrumb",
|
|
6319
|
+
"path": "./../src/packages/documents/documents/breadcrumb/workspace-breadcrumb.element.ts",
|
|
6320
|
+
"properties": [
|
|
6321
|
+
{
|
|
6322
|
+
"name": "styles",
|
|
6323
|
+
"type": "array",
|
|
6324
|
+
"default": "[\"UmbTextStyles\"]"
|
|
6325
|
+
}
|
|
6326
|
+
]
|
|
6327
|
+
},
|
|
6317
6328
|
{
|
|
6318
6329
|
"name": "umb-create-document-collection-action",
|
|
6319
6330
|
"path": "./../src/packages/documents/documents/collection/action/create-document-collection-action.element.ts",
|
|
@@ -6349,6 +6360,47 @@
|
|
|
6349
6360
|
}
|
|
6350
6361
|
]
|
|
6351
6362
|
},
|
|
6363
|
+
{
|
|
6364
|
+
"name": "umb-document-table-column-name",
|
|
6365
|
+
"path": "./../src/packages/documents/documents/collection/views/table/column-layouts/document-table-column-name.element.ts",
|
|
6366
|
+
"properties": [
|
|
6367
|
+
{
|
|
6368
|
+
"name": "column",
|
|
6369
|
+
"type": "UmbTableColumn"
|
|
6370
|
+
},
|
|
6371
|
+
{
|
|
6372
|
+
"name": "item",
|
|
6373
|
+
"type": "UmbTableItem"
|
|
6374
|
+
},
|
|
6375
|
+
{
|
|
6376
|
+
"name": "value",
|
|
6377
|
+
"type": "UmbDocumentCollectionItemModel"
|
|
6378
|
+
},
|
|
6379
|
+
{
|
|
6380
|
+
"name": "styles",
|
|
6381
|
+
"type": "array",
|
|
6382
|
+
"default": "[null]"
|
|
6383
|
+
}
|
|
6384
|
+
]
|
|
6385
|
+
},
|
|
6386
|
+
{
|
|
6387
|
+
"name": "umb-document-table-column-state",
|
|
6388
|
+
"path": "./../src/packages/documents/documents/collection/views/table/column-layouts/document-table-column-state.element.ts",
|
|
6389
|
+
"properties": [
|
|
6390
|
+
{
|
|
6391
|
+
"name": "column",
|
|
6392
|
+
"type": "UmbTableColumn"
|
|
6393
|
+
},
|
|
6394
|
+
{
|
|
6395
|
+
"name": "item",
|
|
6396
|
+
"type": "UmbTableItem"
|
|
6397
|
+
},
|
|
6398
|
+
{
|
|
6399
|
+
"name": "value",
|
|
6400
|
+
"type": "UmbDocumentCollectionItemModel"
|
|
6401
|
+
}
|
|
6402
|
+
]
|
|
6403
|
+
},
|
|
6352
6404
|
{
|
|
6353
6405
|
"name": "umb-document-table-collection-view",
|
|
6354
6406
|
"path": "./../src/packages/documents/documents/collection/views/table/document-table-collection-view.element.ts",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import type { UmbCollectionConfiguration, UmbCollectionContext } from '../types.js';
|
|
1
|
+
import type { UmbCollectionColumnConfiguration, UmbCollectionConfiguration, UmbCollectionContext } from '../types.js';
|
|
2
2
|
import { UmbCollectionViewManager } from '../collection-view.manager.js';
|
|
3
|
-
import type { UmbCollectionRepository } from '../../repository/index.js';
|
|
4
3
|
import { UmbContextBase } from '../../../../libs/class-api/index.js';
|
|
5
|
-
import type { UmbControllerHost } from '../../../../libs/controller-api/index.js';
|
|
6
4
|
import { UmbContextToken } from '../../../../libs/context-api/index.js';
|
|
7
|
-
import
|
|
5
|
+
import { UmbSelectionManager, UmbPaginationManager } from '../../../../shared/utils/index.js';
|
|
8
6
|
import type { ManifestCollection } from '../../extension-registry/index.js';
|
|
7
|
+
import type { UmbApi } from '../../../../libs/extension-api/index.js';
|
|
9
8
|
import type { UmbCollectionFilterModel } from '../index.js';
|
|
10
|
-
import {
|
|
9
|
+
import type { UmbCollectionRepository } from '../../repository/index.js';
|
|
10
|
+
import type { UmbControllerHost } from '../../../../libs/controller-api/index.js';
|
|
11
11
|
export declare class UmbDefaultCollectionContext<CollectionItemType = any, FilterModelType extends UmbCollectionFilterModel = any> extends UmbContextBase<UmbDefaultCollectionContext> implements UmbCollectionContext, UmbApi {
|
|
12
12
|
#private;
|
|
13
13
|
readonly items: import("rxjs").Observable<CollectionItemType[]>;
|
|
14
14
|
readonly totalItems: import("rxjs").Observable<number>;
|
|
15
15
|
readonly filter: import("rxjs").Observable<object | FilterModelType>;
|
|
16
|
-
readonly userDefinedProperties: import("rxjs").Observable<
|
|
16
|
+
readonly userDefinedProperties: import("rxjs").Observable<UmbCollectionColumnConfiguration[]>;
|
|
17
17
|
repository?: UmbCollectionRepository;
|
|
18
18
|
readonly pagination: UmbPaginationManager;
|
|
19
19
|
readonly selection: UmbSelectionManager;
|
|
@@ -16,7 +16,14 @@ export interface UmbCollectionConfiguration {
|
|
|
16
16
|
orderDirection?: string;
|
|
17
17
|
pageSize?: number;
|
|
18
18
|
useInfiniteEditor?: boolean;
|
|
19
|
-
userDefinedProperties?: Array<
|
|
19
|
+
userDefinedProperties?: Array<UmbCollectionColumnConfiguration>;
|
|
20
|
+
}
|
|
21
|
+
export interface UmbCollectionColumnConfiguration {
|
|
22
|
+
alias: string;
|
|
23
|
+
header: string;
|
|
24
|
+
isSystem: 1 | 0;
|
|
25
|
+
elementName?: string;
|
|
26
|
+
nameTemplate?: string;
|
|
20
27
|
}
|
|
21
28
|
export interface UmbCollectionContext {
|
|
22
29
|
setConfig(config: UmbCollectionConfiguration): void;
|
|
@@ -16,6 +16,11 @@ export interface UmbTableColumn {
|
|
|
16
16
|
width?: string;
|
|
17
17
|
allowSorting?: boolean;
|
|
18
18
|
}
|
|
19
|
+
export interface UmbTableColumnLayoutElement extends HTMLElement {
|
|
20
|
+
column: UmbTableColumn;
|
|
21
|
+
item: UmbTableItem;
|
|
22
|
+
value: any;
|
|
23
|
+
}
|
|
19
24
|
export interface UmbTableConfig {
|
|
20
25
|
allowSelection: boolean;
|
|
21
26
|
hideIcon?: boolean;
|
|
@@ -153,7 +153,7 @@ let UmbTableElement = class UmbTableElement extends LitElement {
|
|
|
153
153
|
if (this.config.hideIcon && !this.config.allowSelection)
|
|
154
154
|
return;
|
|
155
155
|
return html `<uui-table-cell>
|
|
156
|
-
${when(!this.config.hideIcon, () => html `<uui-icon name=${ifDefined(item.icon)}></uui-icon>`)}
|
|
156
|
+
${when(!this.config.hideIcon, () => html `<uui-icon name=${ifDefined(item.icon ?? undefined)}></uui-icon>`)}
|
|
157
157
|
${when(this.config.allowSelection, () => html ` <uui-checkbox
|
|
158
158
|
label="Select Row"
|
|
159
159
|
@click=${(e) => e.stopPropagation()}
|
|
@@ -170,7 +170,7 @@ let UmbTableElement = class UmbTableElement extends LitElement {
|
|
|
170
170
|
_renderCellContent(column, item) {
|
|
171
171
|
const value = item.data.find((data) => data.columnAlias === column.alias)?.value;
|
|
172
172
|
if (column.elementName) {
|
|
173
|
-
const element = document.createElement(column.elementName);
|
|
173
|
+
const element = document.createElement(column.elementName);
|
|
174
174
|
element.column = column;
|
|
175
175
|
element.item = item;
|
|
176
176
|
element.value = value;
|
|
@@ -237,6 +237,10 @@ UmbTableElement.styles = [
|
|
|
237
237
|
justify-content: space-between;
|
|
238
238
|
width: 100%;
|
|
239
239
|
}
|
|
240
|
+
|
|
241
|
+
uui-table-cell uui-icon {
|
|
242
|
+
vertical-align: top;
|
|
243
|
+
}
|
|
240
244
|
`,
|
|
241
245
|
];
|
|
242
246
|
__decorate([
|
|
@@ -30,6 +30,7 @@ import type { ManifestUserProfileApp } from './user-profile-app.model.js';
|
|
|
30
30
|
import type { ManifestWorkspace } from './workspace.model.js';
|
|
31
31
|
import type { ManifestWorkspaceAction } from './workspace-action.model.js';
|
|
32
32
|
import type { ManifestWorkspaceContext } from './workspace-context.model.js';
|
|
33
|
+
import type { ManifestWorkspaceFooterApp } from './workspace-footer-app.model.js';
|
|
33
34
|
import type { ManifestWorkspaceView } from './workspace-view.model.js';
|
|
34
35
|
import type { ManifestUserPermission } from './user-permission.model.js';
|
|
35
36
|
import type { ManifestUserGranularPermission } from './user-granular-permission.model.js';
|
|
@@ -69,6 +70,7 @@ export type * from './user-permission.model.js';
|
|
|
69
70
|
export type * from './user-profile-app.model.js';
|
|
70
71
|
export type * from './workspace-action.model.js';
|
|
71
72
|
export type * from './workspace-context.model.js';
|
|
73
|
+
export type * from './workspace-footer-app.model.js';
|
|
72
74
|
export type * from './workspace-view.model.js';
|
|
73
75
|
export type * from './workspace.model.js';
|
|
74
|
-
export type ManifestTypes = ManifestBundle<ManifestTypes> | ManifestCondition | ManifestBlockEditorCustomView | ManifestCollection | ManifestCollectionView | ManifestCollectionAction | ManifestDashboard | ManifestDashboardCollection | ManifestDynamicRootOrigin | ManifestDynamicRootQueryStep | ManifestEntityAction | ManifestEntityBulkAction | ManifestEntryPoint | ManifestExternalLoginProvider | ManifestGlobalContext | ManifestHeaderApp | ManifestHeaderAppButtonKind | ManifestHealthCheck | ManifestItemStore | ManifestMenu | ManifestMenuItem | ManifestMenuItemTreeKind | ManifestModal | ManifestPackageView | ManifestPropertyAction | ManifestPropertyEditorSchema | ManifestPropertyEditorUi | ManifestRepository | ManifestSection | ManifestSectionSidebarApp | ManifestSectionSidebarAppMenuKind | ManifestSectionView | ManifestStore | ManifestTheme | ManifestTinyMcePlugin | ManifestLocalization | ManifestTree | ManifestTreeItem | ManifestTreeStore | ManifestUserProfileApp | ManifestWorkspace | ManifestWorkspaceAction | ManifestWorkspaceContext | ManifestWorkspaceView | ManifestUserPermission | ManifestUserGranularPermission | ManifestBase;
|
|
76
|
+
export type ManifestTypes = ManifestBundle<ManifestTypes> | ManifestCondition | ManifestBlockEditorCustomView | ManifestCollection | ManifestCollectionView | ManifestCollectionAction | ManifestDashboard | ManifestDashboardCollection | ManifestDynamicRootOrigin | ManifestDynamicRootQueryStep | ManifestEntityAction | ManifestEntityBulkAction | ManifestEntryPoint | ManifestExternalLoginProvider | ManifestGlobalContext | ManifestHeaderApp | ManifestHeaderAppButtonKind | ManifestHealthCheck | ManifestItemStore | ManifestMenu | ManifestMenuItem | ManifestMenuItemTreeKind | ManifestModal | ManifestPackageView | ManifestPropertyAction | ManifestPropertyEditorSchema | ManifestPropertyEditorUi | ManifestRepository | ManifestSection | ManifestSectionSidebarApp | ManifestSectionSidebarAppMenuKind | ManifestSectionView | ManifestStore | ManifestTheme | ManifestTinyMcePlugin | ManifestLocalization | ManifestTree | ManifestTreeItem | ManifestTreeStore | ManifestUserProfileApp | ManifestWorkspace | ManifestWorkspaceAction | ManifestWorkspaceContext | ManifestWorkspaceFooterApp | ManifestWorkspaceView | ManifestUserPermission | ManifestUserGranularPermission | ManifestBase;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ConditionTypes } from '../conditions/types.js';
|
|
2
|
+
import type { ManifestElementAndApi, ManifestWithDynamicConditions } from '../../../../libs/extension-api/index.js';
|
|
3
|
+
export interface ManifestWorkspaceFooterApp extends ManifestElementAndApi<HTMLElement, any>, ManifestWithDynamicConditions<ConditionTypes> {
|
|
4
|
+
type: 'workspaceFooterApp';
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
+
import type { UmbCollectionColumnConfiguration } from '../../../../../../core/collection/types.js';
|
|
1
2
|
import type { UmbPropertyEditorUiElement } from '../../../../../extension-registry/index.js';
|
|
2
3
|
import type { UmbPropertyEditorConfigCollection } from '../../../../index.js';
|
|
3
4
|
import { UmbLitElement } from '../../../../../lit-element/index.js';
|
|
4
|
-
interface ColumnConfig {
|
|
5
|
-
alias: string;
|
|
6
|
-
header: string;
|
|
7
|
-
isSystem: 1 | 0;
|
|
8
|
-
nameTemplate?: string;
|
|
9
|
-
}
|
|
10
5
|
/**
|
|
11
6
|
* @element umb-property-editor-ui-collection-view-column-configuration
|
|
12
7
|
*/
|
|
13
8
|
export declare class UmbPropertyEditorUICollectionViewColumnConfigurationElement extends UmbLitElement implements UmbPropertyEditorUiElement {
|
|
14
9
|
#private;
|
|
15
|
-
value: Array<
|
|
10
|
+
value: Array<UmbCollectionColumnConfiguration>;
|
|
16
11
|
config?: UmbPropertyEditorConfigCollection;
|
|
17
12
|
private _options;
|
|
18
13
|
private _selectEl;
|
|
@@ -120,7 +120,7 @@ _UmbPropertyEditorUICollectionViewColumnConfigurationElement_renderTable = funct
|
|
|
120
120
|
>Remove</uui-button
|
|
121
121
|
>
|
|
122
122
|
</uui-table-cell>
|
|
123
|
-
</uui-table-row
|
|
123
|
+
</uui-table-row>`)}
|
|
124
124
|
</uui-table>`;
|
|
125
125
|
};
|
|
126
126
|
_UmbPropertyEditorUICollectionViewColumnConfigurationElement_renderSystemFieldRow = function _UmbPropertyEditorUICollectionViewColumnConfigurationElement_renderSystemFieldRow(configuration) {
|
package/dist-cms/packages/core/workspace/components/workspace-footer/workspace-footer.element.js
CHANGED
|
@@ -43,6 +43,7 @@ let UmbWorkspaceFooterLayoutElement = class UmbWorkspaceFooterLayoutElement exte
|
|
|
43
43
|
render() {
|
|
44
44
|
return html `
|
|
45
45
|
<umb-footer-layout>
|
|
46
|
+
<umb-extension-slot type="workspaceFooterApp"></umb-extension-slot>
|
|
46
47
|
<slot></slot>
|
|
47
48
|
${this._modalContext
|
|
48
49
|
? html `<uui-button
|
|
@@ -39,6 +39,7 @@ export class UmbDocumentTypeTreeStore extends UmbUniqueTreeStore {
|
|
|
39
39
|
_UmbDocumentTypeTreeStore_updateTreeItemMapper.set(this, (item) => {
|
|
40
40
|
return {
|
|
41
41
|
name: item.name,
|
|
42
|
+
icon: item.icon,
|
|
42
43
|
};
|
|
43
44
|
});
|
|
44
45
|
new UmbStoreConnector(host, this, UMB_DOCUMENT_TYPE_DETAIL_STORE_CONTEXT, (item) => __classPrivateFieldGet(this, _UmbDocumentTypeTreeStore_createTreeItemMapper, "f").call(this, item), (item) => __classPrivateFieldGet(this, _UmbDocumentTypeTreeStore_updateTreeItemMapper, "f").call(this, item));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const manifests = [
|
|
2
|
+
{
|
|
3
|
+
type: 'workspaceFooterApp',
|
|
4
|
+
alias: 'Umb.WorkspaceFooterApp.Document.Breadcrumb',
|
|
5
|
+
name: 'Document Breadcrumb Workspace Footer App',
|
|
6
|
+
weight: 10,
|
|
7
|
+
element: () => import('./workspace-breadcrumb.element.js'),
|
|
8
|
+
conditions: [
|
|
9
|
+
{
|
|
10
|
+
alias: 'Umb.Condition.WorkspaceAlias',
|
|
11
|
+
match: 'Umb.Workspace.Document',
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UmbLitElement } from '../../../core/lit-element/index.js';
|
|
2
|
+
export declare class UmbWorkspaceBreadcrumbElement extends UmbLitElement {
|
|
3
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4
|
+
static styles: import("@lit/reactive-element/css-tag.js").CSSResult[];
|
|
5
|
+
}
|
|
6
|
+
export default UmbWorkspaceBreadcrumbElement;
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'umb-workspace-breadcrumb': UmbWorkspaceBreadcrumbElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { html, customElement } from '../../../../external/lit/index.js';
|
|
8
|
+
import { UmbTextStyles } from '../../../../shared/style/index.js';
|
|
9
|
+
import { UmbLitElement } from '../../../core/lit-element/index.js';
|
|
10
|
+
// TODO: POC element. This will be updated when the final implementation is done.
|
|
11
|
+
let UmbWorkspaceBreadcrumbElement = class UmbWorkspaceBreadcrumbElement extends UmbLitElement {
|
|
12
|
+
render() {
|
|
13
|
+
return html `Document Breadcrumbs here`;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
UmbWorkspaceBreadcrumbElement.styles = [UmbTextStyles];
|
|
17
|
+
UmbWorkspaceBreadcrumbElement = __decorate([
|
|
18
|
+
customElement('umb-workspace-breadcrumb')
|
|
19
|
+
], UmbWorkspaceBreadcrumbElement);
|
|
20
|
+
export { UmbWorkspaceBreadcrumbElement };
|
|
21
|
+
export default UmbWorkspaceBreadcrumbElement;
|
|
@@ -3,9 +3,11 @@ import type { ManifestCollectionAction } from '../../../../core/extension-regist
|
|
|
3
3
|
export declare class UmbCreateDocumentCollectionActionElement extends UmbLitElement {
|
|
4
4
|
#private;
|
|
5
5
|
private _allowedDocumentTypes;
|
|
6
|
+
private _createDocumentPath;
|
|
6
7
|
private _documentUnique?;
|
|
7
8
|
private _documentTypeUnique?;
|
|
8
9
|
private _popoverOpen;
|
|
10
|
+
private _useInfiniteEditor;
|
|
9
11
|
manifest?: ManifestCollectionAction;
|
|
10
12
|
constructor();
|
|
11
13
|
firstUpdated(): Promise<void>;
|
|
@@ -9,18 +9,30 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
9
9
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
10
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
11
|
};
|
|
12
|
-
var _UmbCreateDocumentCollectionActionElement_instances, _UmbCreateDocumentCollectionActionElement_documentTypeStructureRepository, _UmbCreateDocumentCollectionActionElement_retrieveAllowedDocumentTypesOf, _UmbCreateDocumentCollectionActionElement_onPopoverToggle,
|
|
12
|
+
var _UmbCreateDocumentCollectionActionElement_instances, _UmbCreateDocumentCollectionActionElement_documentTypeStructureRepository, _UmbCreateDocumentCollectionActionElement_retrieveAllowedDocumentTypesOf, _UmbCreateDocumentCollectionActionElement_onPopoverToggle, _UmbCreateDocumentCollectionActionElement_getCreateUrl, _UmbCreateDocumentCollectionActionElement_renderCreateButton, _UmbCreateDocumentCollectionActionElement_renderDropdown;
|
|
13
13
|
import { html, customElement, property, state, map } from '../../../../../external/lit/index.js';
|
|
14
14
|
import { UmbDocumentTypeStructureRepository } from '../../../document-types/index.js';
|
|
15
15
|
import { UmbLitElement } from '../../../../core/lit-element/index.js';
|
|
16
|
+
import { UMB_DEFAULT_COLLECTION_CONTEXT } from '../../../../core/collection/index.js';
|
|
16
17
|
import { UMB_DOCUMENT_WORKSPACE_CONTEXT } from '../../index.js';
|
|
18
|
+
import { UMB_WORKSPACE_MODAL, UmbModalRouteRegistrationController } from '../../../../core/modal/index.js';
|
|
17
19
|
let UmbCreateDocumentCollectionActionElement = class UmbCreateDocumentCollectionActionElement extends UmbLitElement {
|
|
18
20
|
constructor() {
|
|
19
21
|
super();
|
|
20
22
|
_UmbCreateDocumentCollectionActionElement_instances.add(this);
|
|
21
23
|
this._allowedDocumentTypes = [];
|
|
24
|
+
this._createDocumentPath = '';
|
|
22
25
|
this._popoverOpen = false;
|
|
26
|
+
this._useInfiniteEditor = false;
|
|
23
27
|
_UmbCreateDocumentCollectionActionElement_documentTypeStructureRepository.set(this, new UmbDocumentTypeStructureRepository(this));
|
|
28
|
+
new UmbModalRouteRegistrationController(this, UMB_WORKSPACE_MODAL)
|
|
29
|
+
.addAdditionalPath('document')
|
|
30
|
+
.onSetup(() => {
|
|
31
|
+
return { data: { entityType: 'document', preset: {} } };
|
|
32
|
+
})
|
|
33
|
+
.observeRouteBuilder((routeBuilder) => {
|
|
34
|
+
this._createDocumentPath = routeBuilder({});
|
|
35
|
+
});
|
|
24
36
|
this.consumeContext(UMB_DOCUMENT_WORKSPACE_CONTEXT, (workspaceContext) => {
|
|
25
37
|
this.observe(workspaceContext.unique, (unique) => {
|
|
26
38
|
this._documentUnique = unique;
|
|
@@ -29,6 +41,11 @@ let UmbCreateDocumentCollectionActionElement = class UmbCreateDocumentCollection
|
|
|
29
41
|
this._documentTypeUnique = documentTypeUnique;
|
|
30
42
|
});
|
|
31
43
|
});
|
|
44
|
+
this.consumeContext(UMB_DEFAULT_COLLECTION_CONTEXT, (collectionContext) => {
|
|
45
|
+
this.observe(collectionContext.filter, (filter) => {
|
|
46
|
+
this._useInfiniteEditor = filter.useInfiniteEditor == true;
|
|
47
|
+
});
|
|
48
|
+
});
|
|
32
49
|
}
|
|
33
50
|
async firstUpdated() {
|
|
34
51
|
if (this._documentTypeUnique) {
|
|
@@ -50,13 +67,11 @@ _UmbCreateDocumentCollectionActionElement_retrieveAllowedDocumentTypesOf = async
|
|
|
50
67
|
_UmbCreateDocumentCollectionActionElement_onPopoverToggle = function _UmbCreateDocumentCollectionActionElement_onPopoverToggle(event) {
|
|
51
68
|
this._popoverOpen = event.newState === 'open';
|
|
52
69
|
};
|
|
53
|
-
_UmbCreateDocumentCollectionActionElement_onClick = function _UmbCreateDocumentCollectionActionElement_onClick(item, e) {
|
|
54
|
-
e.preventDefault();
|
|
55
|
-
// TODO: Do anything else here? [LK]
|
|
56
|
-
};
|
|
57
70
|
_UmbCreateDocumentCollectionActionElement_getCreateUrl = function _UmbCreateDocumentCollectionActionElement_getCreateUrl(item) {
|
|
58
|
-
// TODO:
|
|
59
|
-
return
|
|
71
|
+
// TODO: [LK] I need help with this. I don't know what the infinity editor URL should be.
|
|
72
|
+
return this._useInfiniteEditor
|
|
73
|
+
? `${this._createDocumentPath}create/${this._documentUnique ?? 'null'}/${item.unique}`
|
|
74
|
+
: `section/content/workspace/document/create/${this._documentUnique ?? 'null'}/${item.unique}`;
|
|
60
75
|
};
|
|
61
76
|
_UmbCreateDocumentCollectionActionElement_renderCreateButton = function _UmbCreateDocumentCollectionActionElement_renderCreateButton() {
|
|
62
77
|
if (this._allowedDocumentTypes.length !== 1)
|
|
@@ -64,7 +79,6 @@ _UmbCreateDocumentCollectionActionElement_renderCreateButton = function _UmbCrea
|
|
|
64
79
|
const item = this._allowedDocumentTypes[0];
|
|
65
80
|
const label = (this.manifest?.meta.label ?? this.localize.term('general_create')) + ' ' + item.name;
|
|
66
81
|
return html `<uui-button
|
|
67
|
-
@click=${(e) => __classPrivateFieldGet(this, _UmbCreateDocumentCollectionActionElement_instances, "m", _UmbCreateDocumentCollectionActionElement_onClick).call(this, item, e)}
|
|
68
82
|
color="default"
|
|
69
83
|
href=${__classPrivateFieldGet(this, _UmbCreateDocumentCollectionActionElement_instances, "m", _UmbCreateDocumentCollectionActionElement_getCreateUrl).call(this, item)}
|
|
70
84
|
label=${label}
|
|
@@ -86,10 +100,7 @@ _UmbCreateDocumentCollectionActionElement_renderDropdown = function _UmbCreateDo
|
|
|
86
100
|
<umb-popover-layout>
|
|
87
101
|
<uui-scroll-container>
|
|
88
102
|
${map(this._allowedDocumentTypes, (item) => html `
|
|
89
|
-
<uui-menu-item
|
|
90
|
-
@click=${(e) => __classPrivateFieldGet(this, _UmbCreateDocumentCollectionActionElement_instances, "m", _UmbCreateDocumentCollectionActionElement_onClick).call(this, item, e)}
|
|
91
|
-
label=${item.name}
|
|
92
|
-
href=${__classPrivateFieldGet(this, _UmbCreateDocumentCollectionActionElement_instances, "m", _UmbCreateDocumentCollectionActionElement_getCreateUrl).call(this, item)}>
|
|
103
|
+
<uui-menu-item label=${item.name} href=${__classPrivateFieldGet(this, _UmbCreateDocumentCollectionActionElement_instances, "m", _UmbCreateDocumentCollectionActionElement_getCreateUrl).call(this, item)}>
|
|
93
104
|
<uui-icon slot="icon" name=${item.icon ?? 'icon-document'}></uui-icon>
|
|
94
105
|
</uui-menu-item>
|
|
95
106
|
`)}
|
|
@@ -101,6 +112,9 @@ _UmbCreateDocumentCollectionActionElement_renderDropdown = function _UmbCreateDo
|
|
|
101
112
|
__decorate([
|
|
102
113
|
state()
|
|
103
114
|
], UmbCreateDocumentCollectionActionElement.prototype, "_allowedDocumentTypes", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
state()
|
|
117
|
+
], UmbCreateDocumentCollectionActionElement.prototype, "_createDocumentPath", void 0);
|
|
104
118
|
__decorate([
|
|
105
119
|
state()
|
|
106
120
|
], UmbCreateDocumentCollectionActionElement.prototype, "_documentUnique", void 0);
|
|
@@ -110,6 +124,9 @@ __decorate([
|
|
|
110
124
|
__decorate([
|
|
111
125
|
state()
|
|
112
126
|
], UmbCreateDocumentCollectionActionElement.prototype, "_popoverOpen", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
state()
|
|
129
|
+
], UmbCreateDocumentCollectionActionElement.prototype, "_useInfiniteEditor", void 0);
|
|
113
130
|
__decorate([
|
|
114
131
|
property({ attribute: false })
|
|
115
132
|
], UmbCreateDocumentCollectionActionElement.prototype, "manifest", void 0);
|
|
@@ -15,8 +15,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
15
15
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
16
16
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
17
17
|
};
|
|
18
|
-
var _UmbDocumentGridCollectionViewElement_instances, _UmbDocumentGridCollectionViewElement_collectionContext, _UmbDocumentGridCollectionViewElement_onSelect, _UmbDocumentGridCollectionViewElement_onDeselect, _UmbDocumentGridCollectionViewElement_renderCard;
|
|
19
|
-
import {
|
|
18
|
+
var _UmbDocumentGridCollectionViewElement_instances, _UmbDocumentGridCollectionViewElement_collectionContext, _UmbDocumentGridCollectionViewElement_observeCollectionContext, _UmbDocumentGridCollectionViewElement_onSelect, _UmbDocumentGridCollectionViewElement_onDeselect, _UmbDocumentGridCollectionViewElement_renderCard, _UmbDocumentGridCollectionViewElement_renderState, _UmbDocumentGridCollectionViewElement_renderProperties;
|
|
19
|
+
import { getPropertyValueByAlias } from '../index.js';
|
|
20
|
+
import { css, html, customElement, state, repeat } from '../../../../../../external/lit/index.js';
|
|
20
21
|
import { UmbLitElement } from '../../../../../core/lit-element/index.js';
|
|
21
22
|
import { UmbTextStyles } from '../../../../../../shared/style/index.js';
|
|
22
23
|
import { UMB_DEFAULT_COLLECTION_CONTEXT } from '../../../../../core/collection/index.js';
|
|
@@ -30,18 +31,21 @@ let UmbDocumentGridCollectionViewElement = class UmbDocumentGridCollectionViewEl
|
|
|
30
31
|
_UmbDocumentGridCollectionViewElement_collectionContext.set(this, void 0);
|
|
31
32
|
this.consumeContext(UMB_DEFAULT_COLLECTION_CONTEXT, (instance) => {
|
|
32
33
|
__classPrivateFieldSet(this, _UmbDocumentGridCollectionViewElement_collectionContext, instance, "f");
|
|
33
|
-
|
|
34
|
-
this.observe(__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_collectionContext, "f").items, (items) => (this._items = items), 'umbCollectionItemsObserver');
|
|
34
|
+
__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_instances, "m", _UmbDocumentGridCollectionViewElement_observeCollectionContext).call(this);
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
//TODO How should we handle url stuff?
|
|
37
|
+
// TODO: How should we handle url stuff? [?]
|
|
38
38
|
_handleOpenCard(id) {
|
|
39
|
-
//TODO this will not be needed when cards works as links with href
|
|
39
|
+
// TODO: this will not be needed when cards works as links with href [?]
|
|
40
40
|
history.pushState(null, '', 'section/content/workspace/document/edit/' + id);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
if (this._loading)
|
|
44
|
-
|
|
43
|
+
if (this._loading) {
|
|
44
|
+
return html `<div class="container"><uui-loader></uui-loader></div>`;
|
|
45
|
+
}
|
|
46
|
+
if (this._items.length === 0) {
|
|
47
|
+
return html `<div class="container"><p>${this.localize.term('content_listViewNoItems')}</p></div>`;
|
|
48
|
+
}
|
|
45
49
|
return html `
|
|
46
50
|
<div id="document-grid">
|
|
47
51
|
${repeat(this._items, (item) => item.unique, (item) => __classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_instances, "m", _UmbDocumentGridCollectionViewElement_renderCard).call(this, item))}
|
|
@@ -51,6 +55,15 @@ let UmbDocumentGridCollectionViewElement = class UmbDocumentGridCollectionViewEl
|
|
|
51
55
|
};
|
|
52
56
|
_UmbDocumentGridCollectionViewElement_collectionContext = new WeakMap();
|
|
53
57
|
_UmbDocumentGridCollectionViewElement_instances = new WeakSet();
|
|
58
|
+
_UmbDocumentGridCollectionViewElement_observeCollectionContext = function _UmbDocumentGridCollectionViewElement_observeCollectionContext() {
|
|
59
|
+
if (!__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_collectionContext, "f"))
|
|
60
|
+
return;
|
|
61
|
+
this.observe(__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_collectionContext, "f").userDefinedProperties, (userDefinedProperties) => {
|
|
62
|
+
this._userDefinedProperties = userDefinedProperties;
|
|
63
|
+
}, 'umbCollectionUserDefinedPropertiesObserver');
|
|
64
|
+
this.observe(__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_collectionContext, "f").selection.selection, (selection) => (this._selection = selection), 'umbCollectionSelectionObserver');
|
|
65
|
+
this.observe(__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_collectionContext, "f").items, (items) => (this._items = items), 'umbCollectionItemsObserver');
|
|
66
|
+
};
|
|
54
67
|
_UmbDocumentGridCollectionViewElement_onSelect = function _UmbDocumentGridCollectionViewElement_onSelect(item) {
|
|
55
68
|
__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_collectionContext, "f")?.selection.select(item.unique ?? '');
|
|
56
69
|
};
|
|
@@ -68,9 +81,44 @@ _UmbDocumentGridCollectionViewElement_renderCard = function _UmbDocumentGridColl
|
|
|
68
81
|
@selected=${() => __classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_instances, "m", _UmbDocumentGridCollectionViewElement_onSelect).call(this, item)}
|
|
69
82
|
@deselected=${() => __classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_instances, "m", _UmbDocumentGridCollectionViewElement_onDeselect).call(this, item)}>
|
|
70
83
|
<uui-icon slot="icon" name=${item.icon}></uui-icon>
|
|
84
|
+
${__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_instances, "m", _UmbDocumentGridCollectionViewElement_renderState).call(this, item)} ${__classPrivateFieldGet(this, _UmbDocumentGridCollectionViewElement_instances, "m", _UmbDocumentGridCollectionViewElement_renderProperties).call(this, item)}
|
|
71
85
|
</uui-card-content-node>
|
|
72
86
|
`;
|
|
73
87
|
};
|
|
88
|
+
_UmbDocumentGridCollectionViewElement_renderState = function _UmbDocumentGridCollectionViewElement_renderState(item) {
|
|
89
|
+
switch (item.state) {
|
|
90
|
+
case 'Published':
|
|
91
|
+
return html `<uui-tag slot="tag" color="positive" look="secondary"
|
|
92
|
+
>${this.localize.term('content_published')}</uui-tag
|
|
93
|
+
>`;
|
|
94
|
+
case 'PublishedPendingChanges':
|
|
95
|
+
return html `<uui-tag slot="tag" color="warning" look="secondary"
|
|
96
|
+
>${this.localize.term('content_publishedPendingChanges')}</uui-tag
|
|
97
|
+
>`;
|
|
98
|
+
case 'Draft':
|
|
99
|
+
return html `<uui-tag slot="tag" color="default" look="secondary"
|
|
100
|
+
>${this.localize.term('content_unpublished')}</uui-tag
|
|
101
|
+
>`;
|
|
102
|
+
case 'NotCreated':
|
|
103
|
+
return html `<uui-tag slot="tag" color="danger" look="secondary"
|
|
104
|
+
>${this.localize.term('content_notCreated')}</uui-tag
|
|
105
|
+
>`;
|
|
106
|
+
default:
|
|
107
|
+
// TODO: [LK] Check if we have a `SplitPascalCase`-esque utility function that could be used here.
|
|
108
|
+
return html `<uui-tag slot="tag" color="danger" look="secondary"
|
|
109
|
+
>${item.state.replace(/([A-Z])/g, ' $1')}</uui-tag
|
|
110
|
+
>`;
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
_UmbDocumentGridCollectionViewElement_renderProperties = function _UmbDocumentGridCollectionViewElement_renderProperties(item) {
|
|
114
|
+
if (!this._userDefinedProperties)
|
|
115
|
+
return;
|
|
116
|
+
return html `
|
|
117
|
+
<ul>
|
|
118
|
+
${repeat(this._userDefinedProperties, (column) => column.alias, (column) => html `<li><span>${column.header}:</span> ${getPropertyValueByAlias(item, column.alias)}</li>`)}
|
|
119
|
+
</ul>
|
|
120
|
+
`;
|
|
121
|
+
};
|
|
74
122
|
UmbDocumentGridCollectionViewElement.styles = [
|
|
75
123
|
UmbTextStyles,
|
|
76
124
|
css `
|
|
@@ -79,6 +127,12 @@ UmbDocumentGridCollectionViewElement.styles = [
|
|
|
79
127
|
flex-direction: column;
|
|
80
128
|
}
|
|
81
129
|
|
|
130
|
+
.container {
|
|
131
|
+
display: flex;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
align-items: center;
|
|
134
|
+
}
|
|
135
|
+
|
|
82
136
|
#document-grid {
|
|
83
137
|
display: grid;
|
|
84
138
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
@@ -89,6 +143,16 @@ UmbDocumentGridCollectionViewElement.styles = [
|
|
|
89
143
|
width: 100%;
|
|
90
144
|
height: 180px;
|
|
91
145
|
}
|
|
146
|
+
|
|
147
|
+
ul {
|
|
148
|
+
list-style: none;
|
|
149
|
+
padding-inline-start: 0px;
|
|
150
|
+
margin: 0;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
ul > li > span {
|
|
154
|
+
font-weight: 700;
|
|
155
|
+
}
|
|
92
156
|
`,
|
|
93
157
|
];
|
|
94
158
|
__decorate([
|
|
@@ -97,6 +161,9 @@ __decorate([
|
|
|
97
161
|
__decorate([
|
|
98
162
|
state()
|
|
99
163
|
], UmbDocumentGridCollectionViewElement.prototype, "_selection", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
state()
|
|
166
|
+
], UmbDocumentGridCollectionViewElement.prototype, "_userDefinedProperties", void 0);
|
|
100
167
|
__decorate([
|
|
101
168
|
state()
|
|
102
169
|
], UmbDocumentGridCollectionViewElement.prototype, "_loading", void 0);
|
|
@@ -1 +1,3 @@
|
|
|
1
|
+
import type { UmbDocumentCollectionItemModel } from '../types.js';
|
|
1
2
|
export { UMB_DOCUMENT_GRID_COLLECTION_VIEW_ALIAS, UMB_DOCUMENT_TABLE_COLLECTION_VIEW_ALIAS } from './manifests.js';
|
|
3
|
+
export declare function getPropertyValueByAlias(item: UmbDocumentCollectionItemModel, alias: string): string | null | undefined;
|
|
@@ -1 +1,21 @@
|
|
|
1
1
|
export { UMB_DOCUMENT_GRID_COLLECTION_VIEW_ALIAS, UMB_DOCUMENT_TABLE_COLLECTION_VIEW_ALIAS } from './manifests.js';
|
|
2
|
+
export function getPropertyValueByAlias(item, alias) {
|
|
3
|
+
switch (alias) {
|
|
4
|
+
case 'createDate':
|
|
5
|
+
return item.createDate.toLocaleString();
|
|
6
|
+
case 'entityName':
|
|
7
|
+
return item.name;
|
|
8
|
+
case 'entityState':
|
|
9
|
+
return item.state.replace(/([A-Z])/g, ' $1');
|
|
10
|
+
case 'owner':
|
|
11
|
+
return item.creator;
|
|
12
|
+
case 'published':
|
|
13
|
+
return item.state !== 'Draft' ? 'True' : 'False';
|
|
14
|
+
case 'updateDate':
|
|
15
|
+
return item.updateDate.toLocaleString();
|
|
16
|
+
case 'updater':
|
|
17
|
+
return item.updater;
|
|
18
|
+
default:
|
|
19
|
+
return item.values.find((value) => value.alias === alias)?.value ?? '';
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UmbDocumentCollectionItemModel } from '../../../types.js';
|
|
2
|
+
import { UmbLitElement } from '../../../../../../core/lit-element/index.js';
|
|
3
|
+
import type { UmbTableColumn, UmbTableColumnLayoutElement, UmbTableItem } from '../../../../../../core/components/index.js';
|
|
4
|
+
export declare class UmbDocumentTableColumnNameElement extends UmbLitElement implements UmbTableColumnLayoutElement {
|
|
5
|
+
#private;
|
|
6
|
+
private _editDocumentPath;
|
|
7
|
+
column: UmbTableColumn;
|
|
8
|
+
item: UmbTableItem;
|
|
9
|
+
value: UmbDocumentCollectionItemModel;
|
|
10
|
+
constructor();
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
static styles: import("@lit/reactive-element/css-tag.js").CSSResult[];
|
|
13
|
+
}
|
|
14
|
+
export default UmbDocumentTableColumnNameElement;
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'umb-document-table-column-name': UmbDocumentTableColumnNameElement;
|
|
18
|
+
}
|
|
19
|
+
}
|