@magmonium/one 0.4.51 → 0.4.53

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.
Files changed (62) hide show
  1. package/assets/docs/en/app-release.md +14 -7
  2. package/fesm2022/{magmonium-one-attribute-value-CSl5Xeq1.mjs → magmonium-one-attribute-value-BobQXKUK.mjs} +3 -3
  3. package/fesm2022/{magmonium-one-attribute-value-CSl5Xeq1.mjs.map → magmonium-one-attribute-value-BobQXKUK.mjs.map} +1 -1
  4. package/fesm2022/{magmonium-one-base-checkbox-BqCPBI1d.mjs → magmonium-one-base-checkbox-bwMjlhHR.mjs} +2 -2
  5. package/fesm2022/{magmonium-one-base-checkbox-BqCPBI1d.mjs.map → magmonium-one-base-checkbox-bwMjlhHR.mjs.map} +1 -1
  6. package/fesm2022/{magmonium-one-base-dropdown-0qlJVp_y.mjs → magmonium-one-base-dropdown-7XYsiJBX.mjs} +10 -10
  7. package/fesm2022/{magmonium-one-base-dropdown-0qlJVp_y.mjs.map → magmonium-one-base-dropdown-7XYsiJBX.mjs.map} +1 -1
  8. package/fesm2022/{magmonium-one-base-input-CsVND89n.mjs → magmonium-one-base-input-KRWQalNW.mjs} +2 -2
  9. package/fesm2022/{magmonium-one-base-input-CsVND89n.mjs.map → magmonium-one-base-input-KRWQalNW.mjs.map} +1 -1
  10. package/fesm2022/{magmonium-one-base-text-CWf7J75v.mjs → magmonium-one-base-text-HyEol70U.mjs} +2 -2
  11. package/fesm2022/{magmonium-one-base-text-CWf7J75v.mjs.map → magmonium-one-base-text-HyEol70U.mjs.map} +1 -1
  12. package/fesm2022/{magmonium-one-button-CJ1Gaaw-.mjs → magmonium-one-button-B1KCA8KO.mjs} +7 -7
  13. package/fesm2022/{magmonium-one-button-CJ1Gaaw-.mjs.map → magmonium-one-button-B1KCA8KO.mjs.map} +1 -1
  14. package/fesm2022/{magmonium-one-checkbox-CS83TVYG.mjs → magmonium-one-checkbox-CbEdjmtz.mjs} +5 -5
  15. package/fesm2022/{magmonium-one-checkbox-CS83TVYG.mjs.map → magmonium-one-checkbox-CbEdjmtz.mjs.map} +1 -1
  16. package/fesm2022/{magmonium-one-color-utl-td5Lij8L.mjs → magmonium-one-color-utl-Bd80JrEQ.mjs} +2 -2
  17. package/fesm2022/{magmonium-one-color-utl-td5Lij8L.mjs.map → magmonium-one-color-utl-Bd80JrEQ.mjs.map} +1 -1
  18. package/fesm2022/{magmonium-one-directives-O1JyFBc3.mjs → magmonium-one-directives-C_i3gUFT.mjs} +4 -4
  19. package/fesm2022/{magmonium-one-directives-O1JyFBc3.mjs.map → magmonium-one-directives-C_i3gUFT.mjs.map} +1 -1
  20. package/fesm2022/{magmonium-one-group-BBaepb2P.mjs → magmonium-one-group-C7alQqSj.mjs} +7 -7
  21. package/fesm2022/{magmonium-one-group-BBaepb2P.mjs.map → magmonium-one-group-C7alQqSj.mjs.map} +1 -1
  22. package/fesm2022/{magmonium-one-header-7MmiF2rG.mjs → magmonium-one-header-CckG0DHr.mjs} +4 -4
  23. package/fesm2022/{magmonium-one-header-7MmiF2rG.mjs.map → magmonium-one-header-CckG0DHr.mjs.map} +1 -1
  24. package/fesm2022/{magmonium-one-icon-DR7LgBc3.mjs → magmonium-one-icon-dAR6gd-q.mjs} +4 -4
  25. package/fesm2022/{magmonium-one-icon-DR7LgBc3.mjs.map → magmonium-one-icon-dAR6gd-q.mjs.map} +1 -1
  26. package/fesm2022/{magmonium-one-image-editor-CkPeheGY.mjs → magmonium-one-image-editor-DHlktZ6z.mjs} +4 -4
  27. package/fesm2022/{magmonium-one-image-editor-CkPeheGY.mjs.map → magmonium-one-image-editor-DHlktZ6z.mjs.map} +1 -1
  28. package/fesm2022/{magmonium-one-label-B2Rtuiyg.mjs → magmonium-one-label-B95NhEzQ.mjs} +2 -2
  29. package/fesm2022/{magmonium-one-label-B2Rtuiyg.mjs.map → magmonium-one-label-B95NhEzQ.mjs.map} +1 -1
  30. package/fesm2022/{magmonium-one-m-ref-X9KgVe86.mjs → magmonium-one-m-ref-BdP7Kzhk.mjs} +2 -2
  31. package/fesm2022/{magmonium-one-m-ref-X9KgVe86.mjs.map → magmonium-one-m-ref-BdP7Kzhk.mjs.map} +1 -1
  32. package/fesm2022/{magmonium-one-menu-B8H0Grmb.mjs → magmonium-one-menu-DmZJi88Y.mjs} +6 -6
  33. package/fesm2022/{magmonium-one-menu-B8H0Grmb.mjs.map → magmonium-one-menu-DmZJi88Y.mjs.map} +1 -1
  34. package/fesm2022/{magmonium-one-multi-range-OzTdXSHR.mjs → magmonium-one-multi-range-BnWtK-O0.mjs} +3 -3
  35. package/fesm2022/{magmonium-one-multi-range-OzTdXSHR.mjs.map → magmonium-one-multi-range-BnWtK-O0.mjs.map} +1 -1
  36. package/fesm2022/{magmonium-one-options-asset-BlrhLckD.mjs → magmonium-one-options-asset-By4-vPVk.mjs} +2 -2
  37. package/fesm2022/{magmonium-one-options-asset-BlrhLckD.mjs.map → magmonium-one-options-asset-By4-vPVk.mjs.map} +1 -1
  38. package/fesm2022/{magmonium-one-otp-CkQohg0H.mjs → magmonium-one-otp-BOiv-9eT.mjs} +5 -5
  39. package/fesm2022/{magmonium-one-otp-CkQohg0H.mjs.map → magmonium-one-otp-BOiv-9eT.mjs.map} +1 -1
  40. package/fesm2022/{magmonium-one-password-CLhWaUXK.mjs → magmonium-one-password-Bsv1wUIJ.mjs} +6 -6
  41. package/fesm2022/{magmonium-one-password-CLhWaUXK.mjs.map → magmonium-one-password-Bsv1wUIJ.mjs.map} +1 -1
  42. package/fesm2022/{magmonium-one-radio-dZL0E4k_.mjs → magmonium-one-radio-BsQv0Wof.mjs} +3 -3
  43. package/fesm2022/{magmonium-one-radio-dZL0E4k_.mjs.map → magmonium-one-radio-BsQv0Wof.mjs.map} +1 -1
  44. package/fesm2022/{magmonium-one-range-DLu5PhUN.mjs → magmonium-one-range-DPR659yG.mjs} +4 -4
  45. package/fesm2022/{magmonium-one-range-DLu5PhUN.mjs.map → magmonium-one-range-DPR659yG.mjs.map} +1 -1
  46. package/fesm2022/{magmonium-one-selector-GGFfBf2O.mjs → magmonium-one-selector-CXZMCqmO.mjs} +4 -4
  47. package/fesm2022/{magmonium-one-selector-GGFfBf2O.mjs.map → magmonium-one-selector-CXZMCqmO.mjs.map} +1 -1
  48. package/fesm2022/{magmonium-one-size-converter-BalJd7VH.mjs → magmonium-one-size-converter-BOLtxL8d.mjs} +6 -3
  49. package/fesm2022/magmonium-one-size-converter-BOLtxL8d.mjs.map +1 -0
  50. package/fesm2022/{magmonium-one-text-BPThK6-y.mjs → magmonium-one-text-Bo4XPBXB.mjs} +6 -6
  51. package/fesm2022/{magmonium-one-text-BPThK6-y.mjs.map → magmonium-one-text-Bo4XPBXB.mjs.map} +1 -1
  52. package/fesm2022/{magmonium-one-text-output-Cg2dT_U_.mjs → magmonium-one-text-output-Dkx0i1iu.mjs} +4 -4
  53. package/fesm2022/{magmonium-one-text-output-Cg2dT_U_.mjs.map → magmonium-one-text-output-Dkx0i1iu.mjs.map} +1 -1
  54. package/fesm2022/magmonium-one-theme-Ce9i3H3R.mjs +1 -0
  55. package/fesm2022/{magmonium-one-toggle-DRG14zhR.mjs → magmonium-one-toggle-C5-GwMSQ.mjs} +3 -3
  56. package/fesm2022/{magmonium-one-toggle-DRG14zhR.mjs.map → magmonium-one-toggle-C5-GwMSQ.mjs.map} +1 -1
  57. package/fesm2022/magmonium-one.mjs +89 -67
  58. package/fesm2022/magmonium-one.mjs.map +1 -1
  59. package/package.json +1 -1
  60. package/types/magmonium-one.d.ts +26 -5
  61. package/fesm2022/magmonium-one-size-converter-BalJd7VH.mjs.map +0 -1
  62. package/fesm2022/magmonium-one-theme-CYT4pn5X.mjs +0 -1
@@ -1,30 +1,30 @@
1
1
  import { t as __exportAll } from "./magmonium-one-rolldown-runtime-DpJrqANO.mjs";
2
- import { $ as SEARCH_RESULTS_EVENT, A as isLocalhost, B as FOLDER_PICK_LISTENER, C as definedWcTierOf, D as wcLocalBaseOf, E as setWcTier, F as APP_LINK, G as LOADING_ACTIONS_REF, H as ICON_SOURCE, I as ASSET_BASE_URL, J as MODAL_STORE_REF, K as LOGIN_COMPONENT, L as AppAvailability, M as isUrlLocalhost, N as isWebComponent, O as wcTierOf, P as APP_CONTEXT_REF, Q as SEARCH_QUERY, R as AppRelationType, S as definedWcBundleOf, T as setWcLocalPort, U as IS_DESIGN_MODE, V as HOST_SESSION, W as IS_SIDE_PANEL, X as ONE_ASSET_BASE_URL, Y as NAV_STORE_REF, Z as OPTIONS_SOURCE, _ as StorageService, a as resolveSpacing, at as LAYOUT_ASSET_FOLDER, b as HttpService, c as TranslatePipe, ct as Size, d as browserLocale, et as TRANSLATION_SOURCE, f as escapeHtml, g as SharedStoreRegistry, h as AssetStore, i as resolveSize, it as FORM_ASSET_FOLDER, j as isTierPreview, k as getTierFromPreviewPath, l as TranslateService, m as miniMarkToHtml, n as isSize, nt as WC_BUNDLE, o as toCssLength, ot as Assets, p as miniMarkInlineToHtml, q as LOGIN_STORE, r as resolveIconSize, rt as WC_SEARCH_GROUPS, s as toLength, st as DEFAULT_SIZE, t as coerceSize, tt as USER_STORE_REF, u as BrowserLocaleService, v as isJson, w as recordDefinedWcTier, x as buildWcBaseUrl, y as ACCESS_DOMAINS, z as COMPONENT_INPUT_REGISTRY } from "./magmonium-one-size-converter-BalJd7VH.mjs";
3
- import { a as OverlayService, c as DeviceService, i as OverlayRef, n as Direction, o as ScrollService, r as ThemeService, s as DomService, t as SelectorDirective } from "./magmonium-one-selector-GGFfBf2O.mjs";
2
+ import { $ as SEARCH_RESULTS_EVENT, A as isLocalhost, B as FOLDER_PICK_LISTENER, C as definedWcTierOf, D as wcLocalBaseOf, E as setWcTier, F as APP_LINK, G as LOADING_ACTIONS_REF, H as ICON_SOURCE, I as ASSET_BASE_URL, J as MODAL_STORE_REF, K as LOGIN_COMPONENT, L as AppAvailability, M as isUrlLocalhost, N as isWebComponent, O as wcTierOf, P as APP_CONTEXT_REF, Q as SEARCH_QUERY, R as AppRelationType, S as definedWcBundleOf, T as setWcLocalPort, U as IS_DESIGN_MODE, V as HOST_SESSION, W as IS_SIDE_PANEL, X as ONE_ASSET_BASE_URL, Y as NAV_STORE_REF, Z as OPTIONS_SOURCE, _ as StorageService, a as resolveSpacing, at as LAYOUT_ASSET_FOLDER, b as HttpService, c as TranslatePipe, ct as Size, d as browserLocale, et as TRANSLATION_SOURCE, f as escapeHtml, g as SharedStoreRegistry, h as AssetStore, i as resolveSize, it as FORM_ASSET_FOLDER, j as isTierPreview, k as getTierFromPreviewPath, l as TranslateService, m as miniMarkToHtml, n as isSize, nt as WC_BUNDLE, o as toCssLength, ot as Assets, p as miniMarkInlineToHtml, q as LOGIN_STORE, r as resolveIconSize, rt as WC_SEARCH_GROUPS, s as toLength, st as DEFAULT_SIZE, t as coerceSize, tt as USER_STORE_REF, u as BrowserLocaleService, v as isJson, w as recordDefinedWcTier, x as buildWcBaseUrl, y as ACCESS_DOMAINS, z as COMPONENT_INPUT_REGISTRY } from "./magmonium-one-size-converter-BOLtxL8d.mjs";
3
+ import { a as OverlayService, c as DeviceService, i as OverlayRef, n as Direction, o as ScrollService, r as ThemeService, s as DomService, t as SelectorDirective } from "./magmonium-one-selector-CXZMCqmO.mjs";
4
4
  import { t as FileService } from "./magmonium-one-file.service-Bo06pU3_.mjs";
5
- import { C as isLightAppColor, D as readableAppColor, E as normalizeAppColor, O as rebuildLogoGlyph, S as appLogoShadowColor, T as logoGlyphMaskUrl, _ as AppLogoState, a as calculateLuminance, b as LOGO_GLYPH_MAX_BYTES, c as hexToRgb, d as derivePropertyName, f as getProperty, g as APP_THEME_COLOR, h as APP_LOGO_SOURCE, i as deriveOppositeColor, k as ThemeDataService, l as hslToRgb, m as ThemeStore, n as resolvePallet, o as rgbToHex, p as setProperty, r as deriveContrastColor, s as rgbToHsl, t as applyColorsToElement, u as parseColor, v as appThemeColorFactory, w as isReadableOn, x as appColorBrand, y as paintAppColor } from "./magmonium-one-color-utl-td5Lij8L.mjs";
6
- import "./magmonium-one-theme-CYT4pn5X.mjs";
7
- import { a as sectionTableColumnWidths, c as AssetUrlPipe, d as MoneyPipe, f as TimeAgoPipe, i as sectionTableColumnId, l as CompactNumberPipe, n as SectionTableSortPipe, o as sectionTableFrozenCount, r as nextSectionTableSort, s as sortSectionTableRows, t as LabelComponent, u as PercentagePipe } from "./magmonium-one-label-B2Rtuiyg.mjs";
8
- import { a as SIZE_CONTEXT, c as SHARED_ICONS, i as APP_LOGO_ICON, n as CustomIconClass, o as injectParentSize, r as IconComponent, s as provideSizeContext, t as CustomIconEditComponent } from "./magmonium-one-icon-DR7LgBc3.mjs";
9
- import { i as resolveConfigAsset, n as toAttrNumber, r as ConfigComponent, t as toAttrBool } from "./magmonium-one-attribute-value-CSl5Xeq1.mjs";
10
- import { a as isButtonName, c as formatBadgeCount, l as shouldShowBadge, n as SECTION_FORM_CONTEXT, o as ReactiveElementComponent, r as ImgComponent, s as BadgeComponent, t as ButtonComponent } from "./magmonium-one-button-CJ1Gaaw-.mjs";
11
- import { t as MRefDirective } from "./magmonium-one-m-ref-X9KgVe86.mjs";
12
- import { i as OptionsSourceDirective, n as normalizeAssetOptions, r as presetDefaultOption, t as assetOptions } from "./magmonium-one-options-asset-BlrhLckD.mjs";
5
+ import { C as isLightAppColor, D as readableAppColor, E as normalizeAppColor, O as rebuildLogoGlyph, S as appLogoShadowColor, T as logoGlyphMaskUrl, _ as AppLogoState, a as calculateLuminance, b as LOGO_GLYPH_MAX_BYTES, c as hexToRgb, d as derivePropertyName, f as getProperty, g as APP_THEME_COLOR, h as APP_LOGO_SOURCE, i as deriveOppositeColor, k as ThemeDataService, l as hslToRgb, m as ThemeStore, n as resolvePallet, o as rgbToHex, p as setProperty, r as deriveContrastColor, s as rgbToHsl, t as applyColorsToElement, u as parseColor, v as appThemeColorFactory, w as isReadableOn, x as appColorBrand, y as paintAppColor } from "./magmonium-one-color-utl-Bd80JrEQ.mjs";
6
+ import "./magmonium-one-theme-Ce9i3H3R.mjs";
7
+ import { a as sectionTableColumnWidths, c as AssetUrlPipe, d as MoneyPipe, f as TimeAgoPipe, i as sectionTableColumnId, l as CompactNumberPipe, n as SectionTableSortPipe, o as sectionTableFrozenCount, r as nextSectionTableSort, s as sortSectionTableRows, t as LabelComponent, u as PercentagePipe } from "./magmonium-one-label-B95NhEzQ.mjs";
8
+ import { a as SIZE_CONTEXT, c as SHARED_ICONS, i as APP_LOGO_ICON, n as CustomIconClass, o as injectParentSize, r as IconComponent, s as provideSizeContext, t as CustomIconEditComponent } from "./magmonium-one-icon-dAR6gd-q.mjs";
9
+ import { i as resolveConfigAsset, n as toAttrNumber, r as ConfigComponent, t as toAttrBool } from "./magmonium-one-attribute-value-BobQXKUK.mjs";
10
+ import { a as isButtonName, c as formatBadgeCount, l as shouldShowBadge, n as SECTION_FORM_CONTEXT, o as ReactiveElementComponent, r as ImgComponent, s as BadgeComponent, t as ButtonComponent } from "./magmonium-one-button-B1KCA8KO.mjs";
11
+ import { t as MRefDirective } from "./magmonium-one-m-ref-BdP7Kzhk.mjs";
12
+ import { i as OptionsSourceDirective, n as normalizeAssetOptions, r as presetDefaultOption, t as assetOptions } from "./magmonium-one-options-asset-By4-vPVk.mjs";
13
13
  import { t as InputType } from "./magmonium-one-input-DqHPorA1.mjs";
14
- import { r as PLACED_CHECKBOX, t as CheckboxInputComponent } from "./magmonium-one-checkbox-CS83TVYG.mjs";
15
- import { a as ToolTipDirective, c as DragListItemDirective, d as MarginDirective, f as PaddingDirective, i as PositionDirective, l as DragListDirective, n as stringToColor, o as FileUploadDirective, p as SPACING_INWARD, r as HighlightDirective, s as AutosizeDirective, t as MHeroColorDirective, u as DraggableDirective } from "./magmonium-one-directives-O1JyFBc3.mjs";
16
- import { t as HeaderComponent } from "./magmonium-one-header-7MmiF2rG.mjs";
17
- import { i as mergeUniqueWith, n as mergeUnique, r as mergeUniqueBy, t as ButtonGroupComponent } from "./magmonium-one-group-BBaepb2P.mjs";
18
- import { n as ContextMenuBoxComponent, r as MenuComponent, t as ContextMenuComponent } from "./magmonium-one-menu-B8H0Grmb.mjs";
19
- import { t as BaseInputComponent } from "./magmonium-one-base-input-CsVND89n.mjs";
20
- import { i as getScrollParent, n as activeElementWithin, r as classListSignal, t as BaseTextInputComponent } from "./magmonium-one-base-text-CWf7J75v.mjs";
21
- import { t as TextOutputComponent } from "./magmonium-one-text-output-Cg2dT_U_.mjs";
22
- import { t as BaseCheckboxInputComponent } from "./magmonium-one-base-checkbox-BqCPBI1d.mjs";
23
- import { t as RadioInputComponent } from "./magmonium-one-radio-dZL0E4k_.mjs";
24
- import { t as TextInputComponent } from "./magmonium-one-text-BPThK6-y.mjs";
25
- import { r as BaseArrayInputComponent, t as MultiRangeInputComponent } from "./magmonium-one-multi-range-OzTdXSHR.mjs";
26
- import { t as RangeInputComponent } from "./magmonium-one-range-DLu5PhUN.mjs";
27
- import { n as DROPDOWN_IMPORTS, r as DROPDOWN_TEMPLATE, t as BaseDropdownComponent } from "./magmonium-one-base-dropdown-0qlJVp_y.mjs";
14
+ import { r as PLACED_CHECKBOX, t as CheckboxInputComponent } from "./magmonium-one-checkbox-CbEdjmtz.mjs";
15
+ import { a as ToolTipDirective, c as DragListItemDirective, d as MarginDirective, f as PaddingDirective, i as PositionDirective, l as DragListDirective, n as stringToColor, o as FileUploadDirective, p as SPACING_INWARD, r as HighlightDirective, s as AutosizeDirective, t as MHeroColorDirective, u as DraggableDirective } from "./magmonium-one-directives-C_i3gUFT.mjs";
16
+ import { t as HeaderComponent } from "./magmonium-one-header-CckG0DHr.mjs";
17
+ import { i as mergeUniqueWith, n as mergeUnique, r as mergeUniqueBy, t as ButtonGroupComponent } from "./magmonium-one-group-C7alQqSj.mjs";
18
+ import { n as ContextMenuBoxComponent, r as MenuComponent, t as ContextMenuComponent } from "./magmonium-one-menu-DmZJi88Y.mjs";
19
+ import { t as BaseInputComponent } from "./magmonium-one-base-input-KRWQalNW.mjs";
20
+ import { i as getScrollParent, n as activeElementWithin, r as classListSignal, t as BaseTextInputComponent } from "./magmonium-one-base-text-HyEol70U.mjs";
21
+ import { t as TextOutputComponent } from "./magmonium-one-text-output-Dkx0i1iu.mjs";
22
+ import { t as BaseCheckboxInputComponent } from "./magmonium-one-base-checkbox-bwMjlhHR.mjs";
23
+ import { t as RadioInputComponent } from "./magmonium-one-radio-BsQv0Wof.mjs";
24
+ import { t as TextInputComponent } from "./magmonium-one-text-Bo4XPBXB.mjs";
25
+ import { r as BaseArrayInputComponent, t as MultiRangeInputComponent } from "./magmonium-one-multi-range-BnWtK-O0.mjs";
26
+ import { t as RangeInputComponent } from "./magmonium-one-range-DPR659yG.mjs";
27
+ import { n as DROPDOWN_IMPORTS, r as DROPDOWN_TEMPLATE, t as BaseDropdownComponent } from "./magmonium-one-base-dropdown-7XYsiJBX.mjs";
28
28
  import { o as isEditableImage, s as outputSize } from "./magmonium-one-image-frame-BTSaUSAi.mjs";
29
29
  import * as i0 from "@angular/core";
30
30
  import { ApplicationRef, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DOCUMENT, DestroyRef, Directive, ElementRef, EventEmitter, HostAttributeToken, HostBinding, HostListener, Injectable, InjectionToken, Injector, Input, Output, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation, afterEveryRender, afterNextRender, afterRenderEffect, computed, contentChild, contentChildren, createComponent, effect, forwardRef, inject, input, inputBinding, linkedSignal, makeEnvironmentProviders, model, numberAttribute, output, outputBinding, provideAppInitializer, provideBrowserGlobalErrorListeners, provideZonelessChangeDetection, reflectComponentType, runInInjectionContext, signal, twoWayBinding, untracked, viewChild, viewChildren } from "@angular/core";
@@ -744,12 +744,12 @@ var SectionFormItemComponent = class SectionFormItemComponent extends ConfigComp
744
744
  try {
745
745
  switch (type) {
746
746
  case InputType.RADIO: {
747
- const { RadioInputComponent } = await import("./magmonium-one-radio-dZL0E4k_.mjs").then((n) => n.n);
747
+ const { RadioInputComponent } = await import("./magmonium-one-radio-BsQv0Wof.mjs").then((n) => n.n);
748
748
  this.createDynamicComponent(seq, RadioInputComponent);
749
749
  break;
750
750
  }
751
751
  case InputType.TOGGLE: {
752
- const { ToggleInputComponent } = await import("./magmonium-one-toggle-DRG14zhR.mjs");
752
+ const { ToggleInputComponent } = await import("./magmonium-one-toggle-C5-GwMSQ.mjs");
753
753
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
754
754
  break;
755
755
  }
@@ -759,12 +759,12 @@ var SectionFormItemComponent = class SectionFormItemComponent extends ConfigComp
759
759
  break;
760
760
  }
761
761
  case InputType.PASSWORD: {
762
- const { PasswordInputComponent } = await import("./magmonium-one-password-CLhWaUXK.mjs");
762
+ const { PasswordInputComponent } = await import("./magmonium-one-password-Bsv1wUIJ.mjs");
763
763
  this.createDynamicComponent(seq, PasswordInputComponent);
764
764
  break;
765
765
  }
766
766
  case InputType.OTP: {
767
- const { OtpInputComponent } = await import("./magmonium-one-otp-CkQohg0H.mjs");
767
+ const { OtpInputComponent } = await import("./magmonium-one-otp-BOiv-9eT.mjs");
768
768
  this.createDynamicComponent(seq, OtpInputComponent);
769
769
  break;
770
770
  }
@@ -774,7 +774,7 @@ var SectionFormItemComponent = class SectionFormItemComponent extends ConfigComp
774
774
  break;
775
775
  }
776
776
  case InputType.CHECKBOX: {
777
- const { CheckboxInputComponent } = await import("./magmonium-one-checkbox-CS83TVYG.mjs").then((n) => n.n);
777
+ const { CheckboxInputComponent } = await import("./magmonium-one-checkbox-CbEdjmtz.mjs").then((n) => n.n);
778
778
  this.createDynamicComponent(seq, CheckboxInputComponent, [], true);
779
779
  break;
780
780
  }
@@ -789,12 +789,12 @@ var SectionFormItemComponent = class SectionFormItemComponent extends ConfigComp
789
789
  break;
790
790
  }
791
791
  case InputType.RANGE: {
792
- const { RangeInputComponent } = await import("./magmonium-one-range-DLu5PhUN.mjs").then((n) => n.n);
792
+ const { RangeInputComponent } = await import("./magmonium-one-range-DPR659yG.mjs").then((n) => n.n);
793
793
  this.createDynamicComponent(seq, RangeInputComponent);
794
794
  break;
795
795
  }
796
796
  case InputType.MULTI_RANGE: {
797
- const { MultiRangeInputComponent } = await import("./magmonium-one-multi-range-OzTdXSHR.mjs").then((n) => n.n);
797
+ const { MultiRangeInputComponent } = await import("./magmonium-one-multi-range-BnWtK-O0.mjs").then((n) => n.n);
798
798
  this.createDynamicComponent(seq, MultiRangeInputComponent);
799
799
  break;
800
800
  }
@@ -845,7 +845,7 @@ var SectionFormItemComponent = class SectionFormItemComponent extends ConfigComp
845
845
  break;
846
846
  }
847
847
  default: {
848
- const { TextInputComponent } = await import("./magmonium-one-text-BPThK6-y.mjs").then((n) => n.n);
848
+ const { TextInputComponent } = await import("./magmonium-one-text-Bo4XPBXB.mjs").then((n) => n.n);
849
849
  this.createDynamicComponent(seq, TextInputComponent);
850
850
  break;
851
851
  }
@@ -13314,7 +13314,7 @@ const mInterceptor = (incoming, next) => {
13314
13314
  const authBaseUrl = httpService.getAuthUrl();
13315
13315
  const isBackend = incoming.url.startsWith(baseUrl) || incoming.url.startsWith(authBaseUrl);
13316
13316
  const appLink = inject(APP_LINK)();
13317
- const request = appLink && incoming.url.startsWith(baseUrl) ? incoming.clone({ setHeaders: { [CALLING_APP_HEADER]: appLink } }) : incoming;
13317
+ const request = appLink && incoming.url.startsWith(baseUrl) && !incoming.headers.has("X-Mag-App") ? incoming.clone({ setHeaders: { [CALLING_APP_HEADER]: appLink } }) : incoming;
13318
13318
  const authenticate = injectAuthenticate();
13319
13319
  const renewSession = injectRenewSession();
13320
13320
  const hostSession = inject(HOST_SESSION);
@@ -15283,9 +15283,14 @@ i0.ɵɵngDeclareClassMetadata({
15283
15283
  });
15284
15284
  function initMagmoniumApp({ backend, authUrl, socketUrl }) {
15285
15285
  return () => {
15286
+ const httpService = inject(HttpService);
15287
+ const effectiveBackend = backend || "http://localhost:8000";
15288
+ if (!backend) console.warn("initMagmoniumApp: No backend URL provided, defaulting to http://localhost:8000. Check your environment configuration if this is unexpected.");
15289
+ const effectiveAuth = authUrl || effectiveBackend;
15290
+ httpService.setUrl(effectiveBackend);
15291
+ httpService.setAuthUrl(effectiveAuth);
15286
15292
  inject(FreezeService);
15287
15293
  const hostSession = inject(HOST_SESSION);
15288
- const httpService = inject(HttpService);
15289
15294
  const translateService = inject(TranslateService);
15290
15295
  const themeStore = inject(ThemeStore);
15291
15296
  const loginStore = inject(LOGIN_STORE);
@@ -15300,11 +15305,6 @@ function initMagmoniumApp({ backend, authUrl, socketUrl }) {
15300
15305
  SharedStoreRegistry.setAppLogoState(inject(AppLogoState));
15301
15306
  if (navStore) SharedStoreRegistry.setNavStore(navStore);
15302
15307
  if (loginStore) SharedStoreRegistry.setLoginStore(loginStore);
15303
- const effectiveBackend = backend || "http://localhost:8000";
15304
- if (!backend) console.warn("initMagmoniumApp: No backend URL provided, defaulting to http://localhost:8000. Check your environment configuration if this is unexpected.");
15305
- const effectiveAuth = authUrl || effectiveBackend;
15306
- httpService.setUrl(effectiveBackend);
15307
- httpService.setAuthUrl(effectiveAuth);
15308
15308
  themeStore.init();
15309
15309
  if (socketUrl) {
15310
15310
  const socketStore = inject(SocketStore);
@@ -21900,12 +21900,12 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
21900
21900
  const seq = ++this.dynamicSeq;
21901
21901
  switch (this.config()?.type) {
21902
21902
  case InputType.RADIO: {
21903
- const { RadioInputComponent } = await import("./magmonium-one-radio-dZL0E4k_.mjs").then((n) => n.n);
21903
+ const { RadioInputComponent } = await import("./magmonium-one-radio-BsQv0Wof.mjs").then((n) => n.n);
21904
21904
  this.createDynamicComponent(seq, RadioInputComponent);
21905
21905
  break;
21906
21906
  }
21907
21907
  case InputType.TOGGLE: {
21908
- const { ToggleInputComponent } = await import("./magmonium-one-toggle-DRG14zhR.mjs");
21908
+ const { ToggleInputComponent } = await import("./magmonium-one-toggle-C5-GwMSQ.mjs");
21909
21909
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
21910
21910
  break;
21911
21911
  }
@@ -21915,12 +21915,12 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
21915
21915
  break;
21916
21916
  }
21917
21917
  case InputType.PASSWORD: {
21918
- const { PasswordInputComponent } = await import("./magmonium-one-password-CLhWaUXK.mjs");
21918
+ const { PasswordInputComponent } = await import("./magmonium-one-password-Bsv1wUIJ.mjs");
21919
21919
  this.createDynamicComponent(seq, PasswordInputComponent);
21920
21920
  break;
21921
21921
  }
21922
21922
  case InputType.OTP: {
21923
- const { OtpInputComponent } = await import("./magmonium-one-otp-CkQohg0H.mjs");
21923
+ const { OtpInputComponent } = await import("./magmonium-one-otp-BOiv-9eT.mjs");
21924
21924
  this.createDynamicComponent(seq, OtpInputComponent);
21925
21925
  break;
21926
21926
  }
@@ -21930,7 +21930,7 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
21930
21930
  break;
21931
21931
  }
21932
21932
  case InputType.CHECKBOX: {
21933
- const { CheckboxInputComponent } = await import("./magmonium-one-checkbox-CS83TVYG.mjs").then((n) => n.n);
21933
+ const { CheckboxInputComponent } = await import("./magmonium-one-checkbox-CbEdjmtz.mjs").then((n) => n.n);
21934
21934
  this.createDynamicComponent(seq, CheckboxInputComponent, [], true);
21935
21935
  break;
21936
21936
  }
@@ -21945,12 +21945,12 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
21945
21945
  break;
21946
21946
  }
21947
21947
  case InputType.RANGE: {
21948
- const { RangeInputComponent } = await import("./magmonium-one-range-DLu5PhUN.mjs").then((n) => n.n);
21948
+ const { RangeInputComponent } = await import("./magmonium-one-range-DPR659yG.mjs").then((n) => n.n);
21949
21949
  this.createDynamicComponent(seq, RangeInputComponent);
21950
21950
  break;
21951
21951
  }
21952
21952
  case InputType.MULTI_RANGE: {
21953
- const { MultiRangeInputComponent } = await import("./magmonium-one-multi-range-OzTdXSHR.mjs").then((n) => n.n);
21953
+ const { MultiRangeInputComponent } = await import("./magmonium-one-multi-range-BnWtK-O0.mjs").then((n) => n.n);
21954
21954
  this.createDynamicComponent(seq, MultiRangeInputComponent);
21955
21955
  break;
21956
21956
  }
@@ -22001,7 +22001,7 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
22001
22001
  break;
22002
22002
  }
22003
22003
  default: {
22004
- const { TextInputComponent } = await import("./magmonium-one-text-BPThK6-y.mjs").then((n) => n.n);
22004
+ const { TextInputComponent } = await import("./magmonium-one-text-Bo4XPBXB.mjs").then((n) => n.n);
22005
22005
  this.createDynamicComponent(seq, TextInputComponent);
22006
22006
  break;
22007
22007
  }
@@ -24319,7 +24319,7 @@ var FileUploadInputComponent = class FileUploadInputComponent extends BaseInputC
24319
24319
  openEditor = async (file, size) => {
24320
24320
  const modalStore = this.modalStore;
24321
24321
  if (!modalStore) return void 0;
24322
- const { ImageEditorComponent } = await import("./magmonium-one-image-editor-CkPeheGY.mjs");
24322
+ const { ImageEditorComponent } = await import("./magmonium-one-image-editor-DHlktZ6z.mjs");
24323
24323
  const ratio = String(this.config()?.ratio ?? "");
24324
24324
  return new Promise((resolve) => {
24325
24325
  const modalRef = new ModalRef();
@@ -29079,13 +29079,15 @@ var RemoteLoaderService = class RemoteLoaderService {
29079
29079
  const config = await this.configOf(link);
29080
29080
  return config.reason ? config : this.mount(config.config, useShadow, props, children);
29081
29081
  };
29082
- loadPluginFromLink = async (link, screen, props) => {
29082
+ loadPluginFromLink = async (link, screen, props, hostLink) => {
29083
29083
  const loaded = await this.configOf(link);
29084
29084
  if (loaded.reason) return loaded;
29085
29085
  const config = loaded.config;
29086
- const bundle = await this.loadBundle(config);
29087
- if (bundle !== true) return bundle;
29088
29086
  const tag = pluginTag(config.selector, screen);
29087
+ const rootless = config.kind === "plugin";
29088
+ if (rootless && !(config.plugins ?? []).some((p) => p.name === screen)) return { reason: "screen-not-found" };
29089
+ const bundle = await this.loadBundle(config, rootless ? tag : config.selector, hostLink);
29090
+ if (bundle !== true) return bundle;
29089
29091
  if (!customElements.get(tag)) return { reason: "screen-not-found" };
29090
29092
  const element = this.create(tag, props || {});
29091
29093
  const { assetBaseUrl } = this.resolveUrls(config);
@@ -29128,7 +29130,7 @@ var RemoteLoaderService = class RemoteLoaderService {
29128
29130
  config
29129
29131
  } : { reason: "element-timeout" };
29130
29132
  };
29131
- loadBundle = async (config) => {
29133
+ loadBundle = async (config, waitFor = config.selector, hostLink) => {
29132
29134
  if (this.loginStore && !this.loginStore.isLoggedIn()) {
29133
29135
  console.warn(`Attempted to load component ${config.selector} without authentication`);
29134
29136
  return {};
@@ -29136,18 +29138,18 @@ var RemoteLoaderService = class RemoteLoaderService {
29136
29138
  const { scriptUrl } = this.resolveUrls(config);
29137
29139
  if (!scriptUrl) return { reason: "script-failed" };
29138
29140
  const tier = config.link && wcTierOf(config.link) || "status";
29139
- const wasDefined = !!customElements.get(config.selector);
29141
+ const wasDefined = !!customElements.get(waitFor);
29140
29142
  const definedAs = definedWcTierOf(config.selector);
29141
29143
  const sameBundle = !!config.componentFileName && definedWcBundleOf(config.selector) === config.componentFileName;
29142
29144
  if (wasDefined && definedAs && definedAs !== tier && !sameBundle) return { reason: "tier-conflict" };
29143
29145
  if (wasDefined && sameBundle) return true;
29144
29146
  try {
29145
- await this.loadScript(scriptUrl);
29147
+ await this.loadScript(scriptUrl, hostLink);
29146
29148
  } catch {
29147
29149
  return { reason: "script-failed" };
29148
29150
  }
29149
29151
  let timer;
29150
- const defined = await Promise.race([customElements.whenDefined(config.selector).then(() => true), new Promise((resolve) => {
29152
+ const defined = await Promise.race([customElements.whenDefined(waitFor).then(() => true), new Promise((resolve) => {
29151
29153
  timer = setTimeout(() => resolve(false), ELEMENT_TIMEOUT_MS);
29152
29154
  })]);
29153
29155
  clearTimeout(timer);
@@ -29155,7 +29157,7 @@ var RemoteLoaderService = class RemoteLoaderService {
29155
29157
  if (!wasDefined) recordDefinedWcTier(config.selector, tier, config.componentFileName);
29156
29158
  return true;
29157
29159
  };
29158
- async loadScript(url) {
29160
+ async loadScript(url, hostLink) {
29159
29161
  if (document.querySelector(`script[data-wc-src="${url}"]`)) return;
29160
29162
  if (!url.startsWith("http") || url.startsWith(window.location.origin)) return new Promise((resolve, reject) => {
29161
29163
  const script = document.createElement("script");
@@ -29166,7 +29168,7 @@ var RemoteLoaderService = class RemoteLoaderService {
29166
29168
  script.onerror = () => reject(/* @__PURE__ */ new Error(`Failed to load script: ${url}`));
29167
29169
  document.head.appendChild(script);
29168
29170
  });
29169
- const blob = await firstValueFrom(this.httpService.blob(url));
29171
+ const blob = await firstValueFrom(this.httpService.blob(url, hostLink ? { [CALLING_APP_HEADER]: hostLink } : void 0));
29170
29172
  const blobUrl = URL.createObjectURL(blob);
29171
29173
  return new Promise((resolve, reject) => {
29172
29174
  const script = document.createElement("script");
@@ -30705,6 +30707,7 @@ var PluginComponent = class PluginComponent {
30705
30707
  ...ngDevMode ? { debugName: "port" } : /* istanbul ignore next */ {},
30706
30708
  transform: (value) => value === void 0 || value === null || value === "" ? void 0 : numberAttribute(value)
30707
30709
  });
30710
+ hostLink = input(void 0, ...ngDevMode ? [{ debugName: "hostLink" }] : /* istanbul ignore next */ []);
30708
30711
  inputs = input({}, ...ngDevMode ? [{ debugName: "inputs" }] : /* istanbul ignore next */ []);
30709
30712
  inputChildren = contentChildren(PluginInputComponent, ...ngDevMode ? [{ debugName: "inputChildren" }] : /* istanbul ignore next */ []);
30710
30713
  outputChildren = contentChildren(PluginOutputComponent, ...ngDevMode ? [{ debugName: "outputChildren" }] : /* istanbul ignore next */ []);
@@ -30717,9 +30720,9 @@ var PluginComponent = class PluginComponent {
30717
30720
  loader = inject(RemoteLoaderService);
30718
30721
  translateService = inject(TranslateService);
30719
30722
  loginStore = inject(LOGIN_STORE, { optional: true });
30720
- hostLink = inject(APP_LINK);
30723
+ appLink = inject(APP_LINK);
30721
30724
  elementRef = inject(ElementRef);
30722
- loadedElement;
30725
+ loadedElement = signal(void 0, ...ngDevMode ? [{ debugName: "loadedElement" }] : /* istanbul ignore next */ []);
30723
30726
  loadId = 0;
30724
30727
  state = signal("idle", ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
30725
30728
  failure = signal({}, ...ngDevMode ? [{ debugName: "failure" }] : /* istanbul ignore next */ []);
@@ -30730,6 +30733,7 @@ var PluginComponent = class PluginComponent {
30730
30733
  const screen = this.screen();
30731
30734
  const source = this.source();
30732
30735
  const port = this.port();
30736
+ this.hostLink();
30733
30737
  untracked(() => {
30734
30738
  setWcTier(link, source === "published" ? void 0 : source);
30735
30739
  setWcLocalPort(link, source === "local" ? port : void 0);
@@ -30738,7 +30742,7 @@ var PluginComponent = class PluginComponent {
30738
30742
  });
30739
30743
  effect(() => {
30740
30744
  const inputs = this.values();
30741
- const el = this.loadedElement;
30745
+ const el = this.loadedElement();
30742
30746
  if (!el) return;
30743
30747
  Object.entries(inputs).forEach(([key, value]) => {
30744
30748
  el[key] = value;
@@ -30746,7 +30750,8 @@ var PluginComponent = class PluginComponent {
30746
30750
  });
30747
30751
  effect(() => {
30748
30752
  const lang = this.translateService.lang();
30749
- if (this.loadedElement) this.loadedElement.lang = lang;
30753
+ const el = this.loadedElement();
30754
+ if (el) el.lang = lang;
30750
30755
  });
30751
30756
  }
30752
30757
  ngOnDestroy() {
@@ -30756,22 +30761,23 @@ var PluginComponent = class PluginComponent {
30756
30761
  const id = ++this.loadId;
30757
30762
  this.dismount();
30758
30763
  this.state.set("loading");
30764
+ const host = untracked(() => this.hostLink());
30759
30765
  const result = await this.loader.loadPluginFromLink(link, screen, {
30760
30766
  ...untracked(() => this.values()),
30761
30767
  lang: untracked(() => this.translateService.lang()),
30762
30768
  pluginLink: link,
30763
- hostLink: this.hostLink()
30764
- });
30769
+ hostLink: host ?? this.appLink()
30770
+ }, host);
30765
30771
  if (id !== this.loadId) return;
30766
30772
  if (!result.element) {
30767
30773
  this.failure.set(result);
30768
30774
  if (result.reason) this.failed.emit(result);
30769
30775
  return this.state.set(result.reason ? "failed" : "idle");
30770
30776
  }
30771
- this.loadedElement = result.element;
30772
30777
  result.element.style.display = "block";
30773
30778
  result.element.addEventListener(PLUGIN_OUTPUT_EVENT, this.onOutput);
30774
30779
  this.elementRef.nativeElement.appendChild(result.element);
30780
+ this.loadedElement.set(result.element);
30775
30781
  this.state.set("loaded");
30776
30782
  };
30777
30783
  onOutput = (event) => {
@@ -30780,9 +30786,10 @@ var PluginComponent = class PluginComponent {
30780
30786
  this.outputChildren().filter((child) => child.name() === detail.name).forEach((child) => child.fired.emit(detail.value));
30781
30787
  };
30782
30788
  dismount = () => {
30783
- this.loadedElement?.removeEventListener(PLUGIN_OUTPUT_EVENT, this.onOutput);
30784
- this.loadedElement?.remove();
30785
- this.loadedElement = void 0;
30789
+ const el = untracked(this.loadedElement);
30790
+ el?.removeEventListener(PLUGIN_OUTPUT_EVENT, this.onOutput);
30791
+ el?.remove();
30792
+ this.loadedElement.set(void 0);
30786
30793
  };
30787
30794
  static ɵfac = i0.ɵɵngDeclareFactory({
30788
30795
  minVersion: "12.0.0",
@@ -30827,6 +30834,13 @@ var PluginComponent = class PluginComponent {
30827
30834
  isRequired: false,
30828
30835
  transformFunction: null
30829
30836
  },
30837
+ hostLink: {
30838
+ classPropertyName: "hostLink",
30839
+ publicName: "hostLink",
30840
+ isSignal: true,
30841
+ isRequired: false,
30842
+ transformFunction: null
30843
+ },
30830
30844
  inputs: {
30831
30845
  classPropertyName: "inputs",
30832
30846
  publicName: "inputs",
@@ -30968,6 +30982,14 @@ i0.ɵɵngDeclareClassMetadata({
30968
30982
  required: false
30969
30983
  }]
30970
30984
  }],
30985
+ hostLink: [{
30986
+ type: i0.Input,
30987
+ args: [{
30988
+ isSignal: true,
30989
+ alias: "hostLink",
30990
+ required: false
30991
+ }]
30992
+ }],
30971
30993
  inputs: [{
30972
30994
  type: i0.Input,
30973
30995
  args: [{