@umbraco-cms/backoffice 14.0.0--preview004-b3610906 → 14.0.0--preview004-13d6f91d
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/packages/core/components/backoffice-modal-container/backoffice-modal-container.element.js +1 -4
- package/dist-cms/packages/documents/documents/entity-actions/permissions/permissions-modal.element.js +2 -2
- package/dist-cms/packages/user/user-group/components/input-user-group/user-group-input.element.js +1 -1
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -36,10 +36,7 @@ export let UmbBackofficeModalContainerElement = class UmbBackofficeModalContaine
|
|
|
36
36
|
return;
|
|
37
37
|
const modalElement = new UmbModalElement();
|
|
38
38
|
modalElement.modalContext = modal;
|
|
39
|
-
|
|
40
|
-
// This solution solves the memory leak issue where the modal contexts where not removed from the manager when they are closed.
|
|
41
|
-
// It breaks the modal animation though, so we need to wait for the close-end so we are sure the animation is done.
|
|
42
|
-
modalElement.element?.addEventListener('close', () => this._modalManager?.remove(modal.key));
|
|
39
|
+
modalElement.element?.addEventListener('close-end', () => this._modalManager?.remove(modal.key));
|
|
43
40
|
this._modalElementMap.set(modal.key, modalElement);
|
|
44
41
|
});
|
|
45
42
|
}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { UmbDocumentPermissionRepository } from '../../user-permissions/index.js';
|
|
8
8
|
import { UmbDocumentRepository } from '../../repository/index.js';
|
|
9
9
|
import { UmbUserGroupRepository } from '../../../../user/user-group/index.js';
|
|
10
|
-
import { html, customElement, property, state, ifDefined } from '../../../../../external/lit/index.js';
|
|
10
|
+
import { html, customElement, property, state, ifDefined, nothing } from '../../../../../external/lit/index.js';
|
|
11
11
|
import { UmbTextStyles } from '../../../../../shared/style/index.js';
|
|
12
12
|
import { UMB_ENTITY_USER_PERMISSION_MODAL, UMB_MODAL_MANAGER_CONTEXT_TOKEN, UMB_USER_GROUP_PICKER_MODAL, } from '../../../../core/modal/index.js';
|
|
13
13
|
import { UmbLitElement } from '../../../../../shared/lit-element/index.js';
|
|
@@ -102,7 +102,7 @@ export let UmbPermissionsModalElement = class UmbPermissionsModalElement extends
|
|
|
102
102
|
.userPermissionAliases=${userGroup.permissions}
|
|
103
103
|
@open=${() => this.#openUserPermissionsModal(userGroup.id)}
|
|
104
104
|
border>
|
|
105
|
-
|
|
105
|
+
${userGroup.icon ? html `<uui-icon slot="icon" name=${userGroup.icon}></uui-icon>` : nothing}
|
|
106
106
|
</umb-user-group-ref>`)}
|
|
107
107
|
</uui-ref-list>
|
|
108
108
|
<uui-button style="width: 100%;" @click=${this.#openUserGroupPickerModal} look="placeholder"
|
package/dist-cms/packages/user/user-group/components/input-user-group/user-group-input.element.js
CHANGED
|
@@ -82,7 +82,7 @@ export let UmbUserGroupInputElement = class UmbUserGroupInputElement extends For
|
|
|
82
82
|
return;
|
|
83
83
|
return html `
|
|
84
84
|
<umb-user-group-ref name="${ifDefined(item.name)}">
|
|
85
|
-
${item.icon ? html `<uui-icon slot="icon"
|
|
85
|
+
${item.icon ? html `<uui-icon slot="icon" name=${item.icon}></uui-icon>` : nothing}
|
|
86
86
|
|
|
87
87
|
<uui-action-bar slot="actions">
|
|
88
88
|
<uui-button @click=${() => this.#pickerContext.requestRemoveItem(item.id)} label="Remove ${item.name}"
|