@umbraco-cms/backoffice 14.0.0--preview006-7bdcb4ac → 14.0.0--preview006-bf4ef758
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 +0 -15
- package/dist-cms/packages/core/extension-registry/models/index.d.ts +1 -3
- package/dist-cms/packages/core/workspace/components/workspace-editor/workspace-editor.element.js +2 -7
- package/dist-cms/packages/documents/documents/workspace/manifests.d.ts +2 -2
- package/dist-cms/packages/documents/documents/workspace/manifests.js +1 -19
- package/dist-cms/packages/media/media/manifests.d.ts +1 -1
- package/dist-cms/packages/media/media/workspace/manifests.d.ts +2 -2
- package/dist-cms/packages/media/media/workspace/manifests.js +19 -23
- package/dist-cms/packages/media/media-types/workspace/manifests.d.ts +2 -2
- package/dist-cms/packages/media/media-types/workspace/manifests.js +1 -2
- package/dist-cms/packages/packages/manifests.d.ts +1 -1
- package/dist-cms/packages/packages/package-builder/manifests.d.ts +2 -2
- package/dist-cms/packages/packages/package-builder/manifests.js +1 -2
- package/dist-cms/packages/packages/package-repo/manifests.d.ts +2 -2
- package/dist-cms/packages/packages/package-repo/manifests.js +1 -2
- package/dist-cms/packages/user/user/collection/index.d.ts +1 -0
- package/dist-cms/packages/user/user/collection/index.js +1 -0
- package/dist-cms/packages/user/user/index.d.ts +1 -0
- package/dist-cms/packages/user/user/index.js +1 -0
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/umbraco-package-schema.json +0 -109
- package/dist-cms/vscode-html-custom-data.json +1 -6
- package/package.json +1 -1
- package/dist-cms/packages/core/extension-registry/models/workspace-view-collection.model.d.ts +0 -23
- package/dist-cms/packages/core/extension-registry/models/workspace-view-collection.model.js +0 -1
- package/dist-cms/packages/core/workspace/workspace-content/views/collection/workspace-view-collection.element.d.ts +0 -17
- package/dist-cms/packages/core/workspace/workspace-content/views/collection/workspace-view-collection.element.js +0 -37
|
@@ -2295,9 +2295,6 @@
|
|
|
2295
2295
|
{
|
|
2296
2296
|
"$ref": "#/definitions/ManifestWorkspaceView"
|
|
2297
2297
|
},
|
|
2298
|
-
{
|
|
2299
|
-
"$ref": "#/definitions/ManifestWorkspaceViewCollection"
|
|
2300
|
-
},
|
|
2301
2298
|
{
|
|
2302
2299
|
"$ref": "#/definitions/ManifestUserPermission"
|
|
2303
2300
|
},
|
|
@@ -2702,77 +2699,6 @@
|
|
|
2702
2699
|
],
|
|
2703
2700
|
"type": "object"
|
|
2704
2701
|
},
|
|
2705
|
-
"ManifestWorkspaceViewCollection": {
|
|
2706
|
-
"properties": {
|
|
2707
|
-
"alias": {
|
|
2708
|
-
"description": "The alias of the extension, ensure it is unique",
|
|
2709
|
-
"type": "string"
|
|
2710
|
-
},
|
|
2711
|
-
"conditions": {
|
|
2712
|
-
"description": "Set the conditions for when the extension should be loaded",
|
|
2713
|
-
"items": {
|
|
2714
|
-
"$ref": "#/definitions/ConditionTypes"
|
|
2715
|
-
},
|
|
2716
|
-
"type": "array"
|
|
2717
|
-
},
|
|
2718
|
-
"element": {
|
|
2719
|
-
"description": "The file location of the element javascript file to load",
|
|
2720
|
-
"type": "string"
|
|
2721
|
-
},
|
|
2722
|
-
"elementName": {
|
|
2723
|
-
"description": "The HTML web component name to use such as 'my-dashboard'\nNote it is NOT <my-dashboard></my-dashboard>, just the element name.",
|
|
2724
|
-
"type": "string"
|
|
2725
|
-
},
|
|
2726
|
-
"js": {
|
|
2727
|
-
"description": "The file location of the javascript file to load",
|
|
2728
|
-
"type": "string"
|
|
2729
|
-
},
|
|
2730
|
-
"kind": {
|
|
2731
|
-
"description": "The kind of the extension, used to group extensions together",
|
|
2732
|
-
"examples": [
|
|
2733
|
-
"button"
|
|
2734
|
-
]
|
|
2735
|
-
},
|
|
2736
|
-
"meta": {
|
|
2737
|
-
"$ref": "#/definitions/MetaEditorViewCollection",
|
|
2738
|
-
"description": "This contains properties specific to the type of extension"
|
|
2739
|
-
},
|
|
2740
|
-
"name": {
|
|
2741
|
-
"description": "The friendly name of the extension",
|
|
2742
|
-
"type": "string"
|
|
2743
|
-
},
|
|
2744
|
-
"overwrites": {
|
|
2745
|
-
"anyOf": [
|
|
2746
|
-
{
|
|
2747
|
-
"items": {
|
|
2748
|
-
"type": "string"
|
|
2749
|
-
},
|
|
2750
|
-
"type": "array"
|
|
2751
|
-
},
|
|
2752
|
-
{
|
|
2753
|
-
"type": "string"
|
|
2754
|
-
}
|
|
2755
|
-
],
|
|
2756
|
-
"description": "Define one or more extension aliases that this extension should overwrite."
|
|
2757
|
-
},
|
|
2758
|
-
"type": {
|
|
2759
|
-
"const": "workspaceViewCollection",
|
|
2760
|
-
"description": "The type of extension such as dashboard etc...",
|
|
2761
|
-
"type": "string"
|
|
2762
|
-
},
|
|
2763
|
-
"weight": {
|
|
2764
|
-
"description": "Extensions such as dashboards are ordered by weight with lower numbers being first in the list",
|
|
2765
|
-
"type": "number"
|
|
2766
|
-
}
|
|
2767
|
-
},
|
|
2768
|
-
"required": [
|
|
2769
|
-
"alias",
|
|
2770
|
-
"meta",
|
|
2771
|
-
"name",
|
|
2772
|
-
"type"
|
|
2773
|
-
],
|
|
2774
|
-
"type": "object"
|
|
2775
|
-
},
|
|
2776
2702
|
"MetaCollection": {
|
|
2777
2703
|
"properties": {
|
|
2778
2704
|
"repositoryAlias": {
|
|
@@ -2908,41 +2834,6 @@
|
|
|
2908
2834
|
],
|
|
2909
2835
|
"type": "object"
|
|
2910
2836
|
},
|
|
2911
|
-
"MetaEditorViewCollection": {
|
|
2912
|
-
"properties": {
|
|
2913
|
-
"entityType": {
|
|
2914
|
-
"description": "The entity type that this view collection should be available in",
|
|
2915
|
-
"examples": [
|
|
2916
|
-
"media"
|
|
2917
|
-
],
|
|
2918
|
-
"type": "string"
|
|
2919
|
-
},
|
|
2920
|
-
"icon": {
|
|
2921
|
-
"type": "string"
|
|
2922
|
-
},
|
|
2923
|
-
"label": {
|
|
2924
|
-
"type": "string"
|
|
2925
|
-
},
|
|
2926
|
-
"pathname": {
|
|
2927
|
-
"type": "string"
|
|
2928
|
-
},
|
|
2929
|
-
"repositoryAlias": {
|
|
2930
|
-
"description": "The repository alias that this view collection should be available in",
|
|
2931
|
-
"examples": [
|
|
2932
|
-
"Umb.Repository.Media"
|
|
2933
|
-
],
|
|
2934
|
-
"type": "string"
|
|
2935
|
-
}
|
|
2936
|
-
},
|
|
2937
|
-
"required": [
|
|
2938
|
-
"entityType",
|
|
2939
|
-
"icon",
|
|
2940
|
-
"label",
|
|
2941
|
-
"pathname",
|
|
2942
|
-
"repositoryAlias"
|
|
2943
|
-
],
|
|
2944
|
-
"type": "object"
|
|
2945
|
-
},
|
|
2946
2837
|
"MetaEntityAction": {
|
|
2947
2838
|
"properties": {
|
|
2948
2839
|
"entityTypes": {
|
|
@@ -2473,7 +2473,7 @@
|
|
|
2473
2473
|
},
|
|
2474
2474
|
{
|
|
2475
2475
|
"name": "umb-workspace-editor",
|
|
2476
|
-
"description": "Slots:\n\n * `icon` {} - Slot for icon\n\n * `header` {} - Slot for workspace header\n\n * `name` {} - Slot for name\n\n * `footer` {} - Slot for workspace footer\n\n * `actions` {} - Slot for workspace footer actions\n\n * `default` {} - slot for main content\n\nAttributes:\n\n * `headline` {`string`} - \n\n * `hideNavigation` {`boolean`} - \n\n * `enforceNoFooter` {`boolean`} - \n\nProperties:\n\n * `headline` {`string`} - \n\n * `hideNavigation` {`boolean`} - \n\n * `enforceNoFooter` {`boolean`} - \n\n * `_workspaceViews` {`
|
|
2476
|
+
"description": "Slots:\n\n * `icon` {} - Slot for icon\n\n * `header` {} - Slot for workspace header\n\n * `name` {} - Slot for name\n\n * `footer` {} - Slot for workspace footer\n\n * `actions` {} - Slot for workspace footer actions\n\n * `default` {} - slot for main content\n\nAttributes:\n\n * `headline` {`string`} - \n\n * `hideNavigation` {`boolean`} - \n\n * `enforceNoFooter` {`boolean`} - \n\nProperties:\n\n * `headline` {`string`} - \n\n * `hideNavigation` {`boolean`} - \n\n * `enforceNoFooter` {`boolean`} - \n\n * `_workspaceViews` {`ManifestWorkspaceView[]`} - \n\n * `_routes` {`UmbRoute[] | undefined`} - \n\n * `_routerPath` {`string | undefined`} - \n\n * `_activePath` {`string | undefined`} - \n\n * `styles` {`any[]`} - ",
|
|
2477
2477
|
"attributes": [
|
|
2478
2478
|
{
|
|
2479
2479
|
"name": "headline",
|
|
@@ -2515,11 +2515,6 @@
|
|
|
2515
2515
|
}
|
|
2516
2516
|
]
|
|
2517
2517
|
},
|
|
2518
|
-
{
|
|
2519
|
-
"name": "umb-workspace-view-collection",
|
|
2520
|
-
"description": "Properties:\n\n * `manifest` - \n\n * `_workspaceContext` - \n\n * `_collectionContext` - \n\n * `styles` {`any[]`} - ",
|
|
2521
|
-
"attributes": []
|
|
2522
|
-
},
|
|
2523
2518
|
{
|
|
2524
2519
|
"name": "umb-workspace-modal",
|
|
2525
2520
|
"description": "Properties:\n\n * `data` - \n\n * `styles` - ",
|
package/package.json
CHANGED
package/dist-cms/packages/core/extension-registry/models/workspace-view-collection.model.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { ConditionTypes } from '../conditions/types.js';
|
|
2
|
-
import type { ManifestWithDynamicConditions, ManifestWithView, MetaManifestWithView } from '../../../../libs/extension-api/index.js';
|
|
3
|
-
export interface ManifestWorkspaceViewCollection extends ManifestWithView, ManifestWithDynamicConditions<ConditionTypes> {
|
|
4
|
-
type: 'workspaceViewCollection';
|
|
5
|
-
meta: MetaEditorViewCollection;
|
|
6
|
-
}
|
|
7
|
-
export interface MetaEditorViewCollection extends MetaManifestWithView {
|
|
8
|
-
/**
|
|
9
|
-
* The entity type that this view collection should be available in
|
|
10
|
-
*
|
|
11
|
-
* @examples [
|
|
12
|
-
* "media"
|
|
13
|
-
* ]
|
|
14
|
-
*/
|
|
15
|
-
entityType: string;
|
|
16
|
-
/**
|
|
17
|
-
* The repository alias that this view collection should be available in
|
|
18
|
-
* @examples [
|
|
19
|
-
* "Umb.Repository.Media"
|
|
20
|
-
* ]
|
|
21
|
-
*/
|
|
22
|
-
repositoryAlias: string;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { UmbLitElement } from '../../../../lit-element/index.js';
|
|
2
|
-
import type { ManifestWorkspaceViewCollection } from '../../../../extension-registry/index.js';
|
|
3
|
-
import '../../../../collection/dashboards/dashboard-collection.element.js';
|
|
4
|
-
export declare class UmbWorkspaceViewCollectionElement extends UmbLitElement {
|
|
5
|
-
manifest: ManifestWorkspaceViewCollection;
|
|
6
|
-
private _workspaceContext?;
|
|
7
|
-
private _collectionContext?;
|
|
8
|
-
constructor();
|
|
9
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
-
static styles: import("@lit/reactive-element/css-tag.js").CSSResult[];
|
|
11
|
-
}
|
|
12
|
-
export default UmbWorkspaceViewCollectionElement;
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
'umb-workspace-view-collection': UmbWorkspaceViewCollectionElement;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
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 { css, html, customElement } from '../../../../../../external/lit/index.js';
|
|
8
|
-
import { UmbTextStyles } from '../../../../../../shared/style/index.js';
|
|
9
|
-
import { UmbLitElement } from '../../../../lit-element/index.js';
|
|
10
|
-
import { UMB_WORKSPACE_CONTEXT } from '../../../index.js';
|
|
11
|
-
import '../../../../collection/dashboards/dashboard-collection.element.js';
|
|
12
|
-
let UmbWorkspaceViewCollectionElement = class UmbWorkspaceViewCollectionElement extends UmbLitElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.consumeContext(UMB_WORKSPACE_CONTEXT, (nodeContext) => {
|
|
16
|
-
this._workspaceContext = nodeContext;
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
// TODO: figure out what the collection to render
|
|
21
|
-
return html `<umb-collection></umb-collection>`;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
UmbWorkspaceViewCollectionElement.styles = [
|
|
25
|
-
UmbTextStyles,
|
|
26
|
-
css `
|
|
27
|
-
:host {
|
|
28
|
-
display: block;
|
|
29
|
-
height: 100%;
|
|
30
|
-
}
|
|
31
|
-
`,
|
|
32
|
-
];
|
|
33
|
-
UmbWorkspaceViewCollectionElement = __decorate([
|
|
34
|
-
customElement('umb-workspace-view-collection')
|
|
35
|
-
], UmbWorkspaceViewCollectionElement);
|
|
36
|
-
export { UmbWorkspaceViewCollectionElement };
|
|
37
|
-
export default UmbWorkspaceViewCollectionElement;
|