@umbraco-cms/backoffice 14.0.0-258b103a → 14.0.0-2f667994
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/apps/app/app.element.d.ts +11 -1
- package/dist-cms/apps/app/app.element.js +25 -1
- package/dist-cms/apps/backoffice/backoffice.element.d.ts +0 -1
- package/dist-cms/apps/backoffice/backoffice.element.js +4 -5
- package/dist-cms/assets/lang/da-dk.d.ts +3 -0
- package/dist-cms/assets/lang/da-dk.js +2989 -0
- package/dist-cms/assets/lang/da-dk.ts +3246 -0
- package/dist-cms/assets/lang/en-us.d.ts +3 -0
- package/dist-cms/assets/lang/en-us.js +2966 -0
- package/dist-cms/assets/lang/en-us.ts +3219 -0
- package/dist-cms/custom-elements.json +168 -95
- package/dist-cms/external/backend-api/index.js +1 -1
- package/dist-cms/external/tinymce/index.js +22 -22
- package/dist-cms/libs/controller-api/controller-host-element.mixin.d.ts +9 -3
- package/dist-cms/libs/element-api/element.mixin.d.ts +9 -2
- package/dist-cms/libs/element-api/element.mixin.js +21 -0
- package/dist-cms/libs/extension-api/types.d.ts +8 -0
- package/dist-cms/libs/localization-api/index.d.ts +3 -0
- package/dist-cms/libs/localization-api/index.js +3 -0
- package/dist-cms/libs/localization-api/localize.controller.d.ts +47 -0
- package/dist-cms/libs/localization-api/localize.controller.js +125 -0
- package/dist-cms/libs/localization-api/manager.d.ts +18 -0
- package/dist-cms/libs/localization-api/manager.js +40 -0
- package/dist-cms/libs/localization-api/registry/translation.registry.d.ts +12 -0
- package/dist-cms/libs/localization-api/registry/translation.registry.js +58 -0
- package/dist-cms/libs/observable-api/observer.controller.d.ts +2 -2
- package/dist-cms/libs/observable-api/observer.d.ts +7 -1
- package/dist-cms/mocks/data/partial-views.data.d.ts +19 -3
- package/dist-cms/mocks/data/partial-views.data.js +277 -10
- package/dist-cms/mocks/data/utils.d.ts +2 -1
- package/dist-cms/mocks/data/utils.js +5 -0
- package/dist-cms/mocks/handlers/partial-views.handlers.d.ts +2 -1
- package/dist-cms/mocks/handlers/partial-views.handlers.js +37 -5
- package/dist-cms/packages/core/entity-action/common/create-folder/create-folder.action.d.ts +8 -0
- package/dist-cms/packages/core/entity-action/common/create-folder/create-folder.action.js +21 -0
- package/dist-cms/packages/core/entity-action/common/index.d.ts +1 -0
- package/dist-cms/packages/core/entity-action/common/index.js +1 -0
- package/dist-cms/packages/core/extension-registry/models/index.d.ts +3 -1
- package/dist-cms/packages/core/extension-registry/models/index.js +1 -0
- package/dist-cms/packages/core/extension-registry/models/translations.model.d.ts +41 -0
- package/dist-cms/packages/core/extension-registry/models/translations.model.js +1 -0
- package/dist-cms/packages/core/index.d.ts +1 -0
- package/dist-cms/packages/core/index.js +3 -0
- package/dist-cms/packages/core/localization/index.d.ts +1 -0
- package/dist-cms/packages/core/localization/index.js +1 -0
- package/dist-cms/packages/core/localization/localize.element.d.ts +34 -0
- package/dist-cms/packages/core/localization/localize.element.js +64 -0
- package/dist-cms/packages/core/localization/manifests.d.ts +2 -0
- package/dist-cms/packages/core/localization/manifests.js +23 -0
- package/dist-cms/packages/core/modal/common/folder/folder-modal.element.js +4 -1
- package/dist-cms/packages/core/modal/token/folder-modal.token.d.ts +1 -0
- package/dist-cms/packages/core/section/section-default.element.js +1 -1
- package/dist-cms/packages/core/section/section-views/index.d.ts +1 -1
- package/dist-cms/packages/core/section/section-views/index.js +1 -1
- package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.context.d.ts +9 -1
- package/dist-cms/packages/core/tree/file-system-tree-item/file-system-tree-item.context.js +28 -0
- package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.element.d.ts +10 -2
- package/dist-cms/packages/{templating/components → core/tree}/file-system-tree-item/file-system-tree-item.element.js +10 -1
- package/dist-cms/packages/core/tree/file-system-tree-item/index.d.ts +2 -0
- package/dist-cms/packages/core/tree/file-system-tree-item/index.js +2 -0
- package/dist-cms/packages/core/tree/index.d.ts +1 -0
- package/dist-cms/packages/core/tree/index.js +1 -0
- package/dist-cms/packages/core/workspace/workspace-action/workspace-action.element.js +12 -4
- package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/export/export.action.d.ts +0 -1
- package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/export/export.action.js +0 -1
- package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/import/import.action.d.ts +0 -1
- package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/import/import.action.js +0 -1
- package/dist-cms/packages/dictionary/dictionary/index.d.ts +1 -0
- package/dist-cms/packages/dictionary/dictionary/index.js +1 -0
- package/dist-cms/packages/dictionary/dictionary/repository/index.d.ts +3 -0
- package/dist-cms/packages/dictionary/dictionary/repository/index.js +3 -0
- package/dist-cms/packages/{translation → dictionary}/dictionary/repository/manifests.js +1 -1
- package/dist-cms/packages/{translation → dictionary}/section.manifest.js +4 -4
- package/dist-cms/packages/{translation → dictionary}/umbraco-package.d.ts +1 -1
- package/dist-cms/packages/dictionary/umbraco-package.js +9 -0
- package/dist-cms/packages/settings/dashboards/published-status/dashboard-published-status.element.js +11 -3
- package/dist-cms/packages/settings/languages/workspace/language/language-workspace.element.d.ts +0 -1
- package/dist-cms/packages/settings/languages/workspace/language/language-workspace.element.js +0 -1
- package/dist-cms/packages/templating/components/index.d.ts +0 -1
- package/dist-cms/packages/templating/components/index.js +0 -1
- package/dist-cms/packages/templating/components/insert-menu/templating-insert-menu.element.js +1 -1
- package/dist-cms/packages/templating/manifests.d.ts +6 -1
- package/dist-cms/packages/templating/partial-views/config.d.ts +5 -5
- package/dist-cms/packages/templating/partial-views/config.js +3 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-empty.action.js +1 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.action.d.ts +10 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.action.js +16 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.modal.d.ts +16 -0
- package/dist-cms/packages/templating/partial-views/entity-actions/create/create-from-snippet.modal.js +73 -0
- package/dist-cms/packages/templating/partial-views/entity-actions/manifests.d.ts +6 -1
- package/dist-cms/packages/templating/partial-views/entity-actions/manifests.js +43 -5
- package/dist-cms/packages/templating/partial-views/manifests.d.ts +6 -1
- package/dist-cms/packages/templating/partial-views/repository/manifests.js +2 -2
- package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.d.ts +47 -26
- package/dist-cms/packages/templating/partial-views/repository/partial-views.repository.js +81 -24
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.detail.server.data.d.ts +48 -13
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.detail.server.data.js +56 -17
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.d.ts +17 -0
- package/dist-cms/packages/templating/partial-views/repository/sources/partial-views.folder.server.data.js +23 -0
- package/dist-cms/packages/templating/partial-views/tree/manifests.js +3 -2
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace-edit.element.d.ts +6 -1
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace-edit.element.js +123 -27
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.context.d.ts +9 -7
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.context.js +49 -8
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.element.d.ts +1 -0
- package/dist-cms/packages/templating/partial-views/workspace/partial-views-workspace.element.js +7 -3
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.d.ts +1 -0
- package/dist-cms/packages/templating/templates/modals/query-builder/query-builder.element.js +1 -0
- package/dist-cms/packages/umbraco-news/umbraco-news-dashboard.element.js +1 -1
- package/dist-cms/packages/users/current-user/modals/current-user/current-user-modal.element.js +10 -6
- package/dist-cms/packages/users/current-user/user-profile-apps/user-profile-app-profile.element.js +7 -5
- package/dist-cms/packages/users/users/repository/user.repository.js +5 -1
- package/dist-cms/packages/users/users/workspace/user-workspace-editor.element.d.ts +1 -0
- package/dist-cms/packages/users/users/workspace/user-workspace-editor.element.js +51 -6
- package/dist-cms/packages/users/users/workspace/user-workspace.context.d.ts +1 -1
- package/dist-cms/packages/users/users/workspace/user-workspace.context.js +17 -0
- package/dist-cms/shared/auth/auth.context.d.ts +1 -0
- package/dist-cms/shared/auth/auth.context.js +1 -2
- package/dist-cms/shared/auth/auth.interface.d.ts +4 -0
- package/dist-cms/shared/repository/data-source/data-source.interface.d.ts +2 -2
- package/dist-cms/shared/repository/detail-repository.interface.d.ts +2 -2
- package/dist-cms/shared/utils/media-helper.service.js +1 -0
- package/dist-cms/tsconfig.build.json +15 -0
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -0
- package/dist-cms/umbraco-package-schema.json +83 -3
- package/dist-cms/vscode-html-custom-data.json +73 -49
- package/package.json +23 -22
- package/dist-cms/packages/templating/components/file-system-tree-item/file-system-tree-item.context.js +0 -10
- package/dist-cms/packages/translation/umbraco-package.js +0 -9
- package/dist-cms/tsconfig.tsbuildinfo +0 -1
- /package/dist-cms/packages/{translation → dictionary}/dashboards/dictionary/dashboard-translation-dictionary.element.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dashboards/dictionary/dashboard-translation-dictionary.element.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/create/create-dictionary-modal.element.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/create/create-dictionary-modal.element.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/create/create.action.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/create/create.action.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/export/export-dictionary-modal.element.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/export/export-dictionary-modal.element.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/import/import-dictionary-modal.element.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/import/import-dictionary-modal.element.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/manifests.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/manifests.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/reload.action.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/entity-actions/reload.action.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/manifests.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/manifests.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/menu-item/dictionary-menu-item.element.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/menu-item/dictionary-menu-item.element.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/menu-item/manifests.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/menu-item/manifests.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/menu.manifests.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/menu.manifests.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/dictionary.repository.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/dictionary.repository.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/dictionary.store.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/dictionary.store.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/dictionary.tree.store.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/dictionary.tree.store.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/manifests.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/sources/dictionary.detail.server.data.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/sources/dictionary.detail.server.data.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/sources/dictionary.tree.server.data.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/repository/sources/dictionary.tree.server.data.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/tree/manifests.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/tree/manifests.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/dictionary-workspace-editor.element.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/dictionary-workspace-editor.element.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/dictionary-workspace.context.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/dictionary-workspace.context.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/dictionary-workspace.element.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/dictionary-workspace.element.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/manifests.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/manifests.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/views/editor/workspace-view-dictionary-editor.element.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/dictionary/workspace/views/editor/workspace-view-dictionary-editor.element.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/manifests.d.ts +0 -0
- /package/dist-cms/packages/{translation → dictionary}/manifests.js +0 -0
- /package/dist-cms/packages/{translation → dictionary}/section.manifest.d.ts +0 -0
|
@@ -8,6 +8,17 @@ export declare class UmbAppElement extends UmbLitElement {
|
|
|
8
8
|
* @remarks This is the base URL of the Umbraco server, not the base URL of the backoffice.
|
|
9
9
|
*/
|
|
10
10
|
serverUrl: string;
|
|
11
|
+
/**
|
|
12
|
+
* The default culture to use for localization.
|
|
13
|
+
*
|
|
14
|
+
* When the current user is resolved, the culture will be set to the user's culture.
|
|
15
|
+
*
|
|
16
|
+
* @attr
|
|
17
|
+
* @remarks This is the default culture to use for localization, not the current culture.
|
|
18
|
+
* @example "en-us"
|
|
19
|
+
* @example "en"
|
|
20
|
+
*/
|
|
21
|
+
culture: string;
|
|
11
22
|
/**
|
|
12
23
|
* The base path of the backoffice.
|
|
13
24
|
*
|
|
@@ -16,7 +27,6 @@ export declare class UmbAppElement extends UmbLitElement {
|
|
|
16
27
|
backofficePath: string;
|
|
17
28
|
/**
|
|
18
29
|
* Bypass authentication.
|
|
19
|
-
* @type {boolean}
|
|
20
30
|
*/
|
|
21
31
|
bypassAuth: boolean;
|
|
22
32
|
private _routes;
|
|
@@ -14,6 +14,7 @@ import { pathWithoutBasePath } from '../../shared/router/index.js';
|
|
|
14
14
|
import { tryExecute } from '../../shared/resources/index.js';
|
|
15
15
|
import { OpenAPI, RuntimeLevelModel, ServerResource } from '../../external/backend-api/index.js';
|
|
16
16
|
import { contextData, umbDebugContextEventType } from '../../libs/context-api/index.js';
|
|
17
|
+
import { umbTranslationRegistry } from '../../libs/localization-api/index.js';
|
|
17
18
|
export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
18
19
|
#authFlow;
|
|
19
20
|
#umbIconRegistry;
|
|
@@ -28,6 +29,17 @@ export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
|
28
29
|
* @remarks This is the base URL of the Umbraco server, not the base URL of the backoffice.
|
|
29
30
|
*/
|
|
30
31
|
this.serverUrl = window.location.origin;
|
|
32
|
+
/**
|
|
33
|
+
* The default culture to use for localization.
|
|
34
|
+
*
|
|
35
|
+
* When the current user is resolved, the culture will be set to the user's culture.
|
|
36
|
+
*
|
|
37
|
+
* @attr
|
|
38
|
+
* @remarks This is the default culture to use for localization, not the current culture.
|
|
39
|
+
* @example "en-us"
|
|
40
|
+
* @example "en"
|
|
41
|
+
*/
|
|
42
|
+
this.culture = 'en-us';
|
|
31
43
|
/**
|
|
32
44
|
* The base path of the backoffice.
|
|
33
45
|
*
|
|
@@ -36,7 +48,6 @@ export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
|
36
48
|
this.backofficePath = '/umbraco';
|
|
37
49
|
/**
|
|
38
50
|
* Bypass authentication.
|
|
39
|
-
* @type {boolean}
|
|
40
51
|
*/
|
|
41
52
|
// TODO: this might not be the right solution
|
|
42
53
|
this.bypassAuth = false;
|
|
@@ -64,8 +75,17 @@ export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
|
64
75
|
}
|
|
65
76
|
connectedCallback() {
|
|
66
77
|
super.connectedCallback();
|
|
78
|
+
this.#setLanguage();
|
|
67
79
|
this.#setup();
|
|
68
80
|
}
|
|
81
|
+
#setLanguage() {
|
|
82
|
+
umbTranslationRegistry.loadLanguage(this.culture);
|
|
83
|
+
}
|
|
84
|
+
#listenForLanguageChange(authContext) {
|
|
85
|
+
this.observe(authContext.languageIsoCode, (currentLanguageIsoCode) => {
|
|
86
|
+
umbTranslationRegistry.loadLanguage(currentLanguageIsoCode);
|
|
87
|
+
}, 'languageIsoCode');
|
|
88
|
+
}
|
|
69
89
|
async #setup() {
|
|
70
90
|
if (this.serverUrl === undefined)
|
|
71
91
|
throw new Error('No serverUrl provided');
|
|
@@ -142,6 +162,7 @@ export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
|
142
162
|
OpenAPI.TOKEN = () => this.#authFlow.performWithFreshTokens();
|
|
143
163
|
OpenAPI.WITH_CREDENTIALS = true;
|
|
144
164
|
}
|
|
165
|
+
this.#listenForLanguageChange(authContext);
|
|
145
166
|
authContext.isLoggedIn.next(true);
|
|
146
167
|
}
|
|
147
168
|
#redirect() {
|
|
@@ -226,6 +247,9 @@ export let UmbAppElement = class UmbAppElement extends UmbLitElement {
|
|
|
226
247
|
__decorate([
|
|
227
248
|
property({ type: String })
|
|
228
249
|
], UmbAppElement.prototype, "serverUrl", void 0);
|
|
250
|
+
__decorate([
|
|
251
|
+
property({ type: String, attribute: 'default-culture' })
|
|
252
|
+
], UmbAppElement.prototype, "culture", void 0);
|
|
229
253
|
__decorate([
|
|
230
254
|
property({ type: String })
|
|
231
255
|
// TODO: get from server config
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UmbLitElement } from '../../shared/lit-element/index.js';
|
|
2
2
|
import './components/index.js';
|
|
3
3
|
export declare class UmbBackofficeElement extends UmbLitElement {
|
|
4
|
-
#private;
|
|
5
4
|
constructor();
|
|
6
5
|
render(): import("lit-html").TemplateResult<1>;
|
|
7
6
|
static styles: import("@lit/reactive-element/css-tag.js").CSSResult[];
|
|
@@ -4,8 +4,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
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
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { UmbExtensionInitializer } from './extension.controller.js';
|
|
8
7
|
import { UmbBackofficeContext, UMB_BACKOFFICE_CONTEXT_TOKEN } from './backoffice.context.js';
|
|
8
|
+
import { UmbExtensionInitializer } from './extension.controller.js';
|
|
9
9
|
import { css, html, customElement } from '../../external/lit/index.js';
|
|
10
10
|
import { UUITextStyles } from '../../external/uui/index.js';
|
|
11
11
|
import { umbExtensionsRegistry } from '../../packages/core/extension-registry/index.js';
|
|
@@ -19,7 +19,7 @@ const CORE_PACKAGES = [
|
|
|
19
19
|
import('../../packages/documents/umbraco-package.js'),
|
|
20
20
|
import('../../packages/media/umbraco-package.js'),
|
|
21
21
|
import('../../packages/members/umbraco-package.js'),
|
|
22
|
-
import('../../packages/
|
|
22
|
+
import('../../packages/dictionary/umbraco-package.js'),
|
|
23
23
|
import('../../packages/users/umbraco-package.js'),
|
|
24
24
|
import('../../packages/packages/umbraco-package.js'),
|
|
25
25
|
import('../../packages/search/umbraco-package.js'),
|
|
@@ -28,14 +28,13 @@ const CORE_PACKAGES = [
|
|
|
28
28
|
import('../../packages/tags/umbraco-package.js'),
|
|
29
29
|
];
|
|
30
30
|
export let UmbBackofficeElement = class UmbBackofficeElement extends UmbLitElement {
|
|
31
|
-
#extensionInitializer = new UmbExtensionInitializer(this, umbExtensionsRegistry);
|
|
32
31
|
constructor() {
|
|
33
32
|
super();
|
|
34
33
|
this.provideContext(UMB_BACKOFFICE_CONTEXT_TOKEN, new UmbBackofficeContext());
|
|
35
34
|
new UmbBundleExtensionInitializer(this, umbExtensionsRegistry);
|
|
36
35
|
new UmbEntryPointExtensionInitializer(this, umbExtensionsRegistry);
|
|
37
|
-
new UmbExtensionInitializer(this, umbExtensionsRegistry);
|
|
38
|
-
|
|
36
|
+
const extensionInitializer = new UmbExtensionInitializer(this, umbExtensionsRegistry);
|
|
37
|
+
extensionInitializer.setLocalPackages(CORE_PACKAGES);
|
|
39
38
|
}
|
|
40
39
|
render() {
|
|
41
40
|
return html `
|