mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 02:25:30 +00:00
+reihen edit, personen edit
This commit is contained in:
10
views/transform/edit-page.js
Normal file
10
views/transform/edit-page.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export class EditPage extends HTMLElement {
|
||||
connectedCallback() {
|
||||
setTimeout(() => {
|
||||
const form = this.querySelector("form");
|
||||
if (form && typeof window.FormLoad === "function") {
|
||||
window.FormLoad(form);
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,7 @@ import { ItemsEditor } from "./items-editor.js";
|
||||
import { SingleSelectRemote } from "./single-select-remote.js";
|
||||
import { AlmanachEditPage } from "./almanach-edit.js";
|
||||
import { RelationsEditor } from "./relations-editor.js";
|
||||
import { EditPage } from "./edit-page.js";
|
||||
|
||||
const FILTER_LIST_ELEMENT = "filter-list";
|
||||
const SCROLL_BUTTON_ELEMENT = "scroll-button";
|
||||
@@ -36,6 +37,7 @@ const DIV_MANAGER_ELEMENT = "div-manager";
|
||||
const ITEMS_EDITOR_ELEMENT = "items-editor";
|
||||
const ALMANACH_EDIT_PAGE_ELEMENT = "almanach-edit-page";
|
||||
const RELATIONS_EDITOR_ELEMENT = "relations-editor";
|
||||
const EDIT_PAGE_ELEMENT = "edit-page";
|
||||
|
||||
customElements.define(INT_LINK_ELEMENT, IntLink);
|
||||
customElements.define(ABBREV_TOOLTIPS_ELEMENT, AbbreviationTooltips);
|
||||
@@ -54,6 +56,7 @@ customElements.define(DIV_MANAGER_ELEMENT, DivManager);
|
||||
customElements.define(ITEMS_EDITOR_ELEMENT, ItemsEditor);
|
||||
customElements.define(ALMANACH_EDIT_PAGE_ELEMENT, AlmanachEditPage);
|
||||
customElements.define(RELATIONS_EDITOR_ELEMENT, RelationsEditor);
|
||||
customElements.define(EDIT_PAGE_ELEMENT, EditPage);
|
||||
|
||||
function PathPlusQuery() {
|
||||
const path = window.location.pathname;
|
||||
@@ -406,4 +409,21 @@ window.HookupRBChange = HookupRBChange;
|
||||
window.FormLoad = FormLoad;
|
||||
window.TextareaAutoResize = TextareaAutoResize;
|
||||
|
||||
export { FilterList, ScrollButton, AbbreviationTooltips, MultiSelectSimple, MultiSelectRole, ToolTip, PopupImage, TabList, FilterPill, ImageReel, IntLink, ItemsEditor, SingleSelectRemote, AlmanachEditPage, RelationsEditor };
|
||||
export {
|
||||
FilterList,
|
||||
ScrollButton,
|
||||
AbbreviationTooltips,
|
||||
MultiSelectSimple,
|
||||
MultiSelectRole,
|
||||
ToolTip,
|
||||
PopupImage,
|
||||
TabList,
|
||||
FilterPill,
|
||||
ImageReel,
|
||||
IntLink,
|
||||
ItemsEditor,
|
||||
SingleSelectRemote,
|
||||
AlmanachEditPage,
|
||||
RelationsEditor,
|
||||
EditPage,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user