@magmonium/one 0.4.58 → 0.4.60

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 (61) hide show
  1. package/fesm2022/{magmonium-one-attribute-value-BobQXKUK.mjs → magmonium-one-attribute-value-CPh-lJPV.mjs} +3 -3
  2. package/fesm2022/{magmonium-one-attribute-value-BobQXKUK.mjs.map → magmonium-one-attribute-value-CPh-lJPV.mjs.map} +1 -1
  3. package/fesm2022/{magmonium-one-base-checkbox-bwMjlhHR.mjs → magmonium-one-base-checkbox-LdM6dqF_.mjs} +2 -2
  4. package/fesm2022/{magmonium-one-base-checkbox-bwMjlhHR.mjs.map → magmonium-one-base-checkbox-LdM6dqF_.mjs.map} +1 -1
  5. package/fesm2022/{magmonium-one-base-dropdown-BgLka4oB.mjs → magmonium-one-base-dropdown-DgfWj1wC.mjs} +10 -10
  6. package/fesm2022/{magmonium-one-base-dropdown-BgLka4oB.mjs.map → magmonium-one-base-dropdown-DgfWj1wC.mjs.map} +1 -1
  7. package/fesm2022/{magmonium-one-base-input-KRWQalNW.mjs → magmonium-one-base-input-B92NOmxz.mjs} +2 -2
  8. package/fesm2022/{magmonium-one-base-input-KRWQalNW.mjs.map → magmonium-one-base-input-B92NOmxz.mjs.map} +1 -1
  9. package/fesm2022/{magmonium-one-base-text-HyEol70U.mjs → magmonium-one-base-text-ChjG3GNw.mjs} +2 -2
  10. package/fesm2022/{magmonium-one-base-text-HyEol70U.mjs.map → magmonium-one-base-text-ChjG3GNw.mjs.map} +1 -1
  11. package/fesm2022/{magmonium-one-button-B1KCA8KO.mjs → magmonium-one-button-BvX-kWgh.mjs} +7 -7
  12. package/fesm2022/{magmonium-one-button-B1KCA8KO.mjs.map → magmonium-one-button-BvX-kWgh.mjs.map} +1 -1
  13. package/fesm2022/{magmonium-one-checkbox-CyVd_a7p.mjs → magmonium-one-checkbox-CTRdyVrI.mjs} +5 -5
  14. package/fesm2022/{magmonium-one-checkbox-CyVd_a7p.mjs.map → magmonium-one-checkbox-CTRdyVrI.mjs.map} +1 -1
  15. package/fesm2022/{magmonium-one-color-utl-Bd80JrEQ.mjs → magmonium-one-color-utl-BA51l-Rw.mjs} +2 -2
  16. package/fesm2022/{magmonium-one-color-utl-Bd80JrEQ.mjs.map → magmonium-one-color-utl-BA51l-Rw.mjs.map} +1 -1
  17. package/fesm2022/{magmonium-one-directives-Dbe0pfCf.mjs → magmonium-one-directives-DM6J1Hvs.mjs} +4 -4
  18. package/fesm2022/{magmonium-one-directives-Dbe0pfCf.mjs.map → magmonium-one-directives-DM6J1Hvs.mjs.map} +1 -1
  19. package/fesm2022/{magmonium-one-group-BPhM2IIa.mjs → magmonium-one-group-cbqVX51M.mjs} +7 -7
  20. package/fesm2022/{magmonium-one-group-BPhM2IIa.mjs.map → magmonium-one-group-cbqVX51M.mjs.map} +1 -1
  21. package/fesm2022/{magmonium-one-header-CckG0DHr.mjs → magmonium-one-header-BylTUAGY.mjs} +4 -4
  22. package/fesm2022/{magmonium-one-header-CckG0DHr.mjs.map → magmonium-one-header-BylTUAGY.mjs.map} +1 -1
  23. package/fesm2022/{magmonium-one-icon-dAR6gd-q.mjs → magmonium-one-icon-CH-g8CUR.mjs} +4 -4
  24. package/fesm2022/{magmonium-one-icon-dAR6gd-q.mjs.map → magmonium-one-icon-CH-g8CUR.mjs.map} +1 -1
  25. package/fesm2022/{magmonium-one-image-editor-CKx7BRVF.mjs → magmonium-one-image-editor-FomMDHZl.mjs} +4 -4
  26. package/fesm2022/{magmonium-one-image-editor-CKx7BRVF.mjs.map → magmonium-one-image-editor-FomMDHZl.mjs.map} +1 -1
  27. package/fesm2022/{magmonium-one-label-B8WJHiU4.mjs → magmonium-one-label-BJcQs0Nd.mjs} +2 -2
  28. package/fesm2022/{magmonium-one-label-B8WJHiU4.mjs.map → magmonium-one-label-BJcQs0Nd.mjs.map} +1 -1
  29. package/fesm2022/{magmonium-one-m-ref-BdP7Kzhk.mjs → magmonium-one-m-ref-DLIAzywu.mjs} +2 -2
  30. package/fesm2022/{magmonium-one-m-ref-BdP7Kzhk.mjs.map → magmonium-one-m-ref-DLIAzywu.mjs.map} +1 -1
  31. package/fesm2022/{magmonium-one-menu-CxswmD0O.mjs → magmonium-one-menu-Ct4s8-W_.mjs} +6 -6
  32. package/fesm2022/{magmonium-one-menu-CxswmD0O.mjs.map → magmonium-one-menu-Ct4s8-W_.mjs.map} +1 -1
  33. package/fesm2022/{magmonium-one-multi-range-mv5rz3uW.mjs → magmonium-one-multi-range-CDJX9iFR.mjs} +3 -3
  34. package/fesm2022/{magmonium-one-multi-range-mv5rz3uW.mjs.map → magmonium-one-multi-range-CDJX9iFR.mjs.map} +1 -1
  35. package/fesm2022/{magmonium-one-options-asset-By4-vPVk.mjs → magmonium-one-options-asset-BNd1hbLw.mjs} +2 -2
  36. package/fesm2022/{magmonium-one-options-asset-By4-vPVk.mjs.map → magmonium-one-options-asset-BNd1hbLw.mjs.map} +1 -1
  37. package/fesm2022/{magmonium-one-otp-BlP0t9w1.mjs → magmonium-one-otp-AFrgpHdp.mjs} +5 -5
  38. package/fesm2022/{magmonium-one-otp-BlP0t9w1.mjs.map → magmonium-one-otp-AFrgpHdp.mjs.map} +1 -1
  39. package/fesm2022/{magmonium-one-password-CTnJ9M7d.mjs → magmonium-one-password-C7W01COQ.mjs} +6 -6
  40. package/fesm2022/{magmonium-one-password-CTnJ9M7d.mjs.map → magmonium-one-password-C7W01COQ.mjs.map} +1 -1
  41. package/fesm2022/{magmonium-one-radio-BanML2y5.mjs → magmonium-one-radio-yizQzCrD.mjs} +3 -3
  42. package/fesm2022/{magmonium-one-radio-BanML2y5.mjs.map → magmonium-one-radio-yizQzCrD.mjs.map} +1 -1
  43. package/fesm2022/{magmonium-one-range-B_3WiQR7.mjs → magmonium-one-range-B6JesBOM.mjs} +4 -4
  44. package/fesm2022/{magmonium-one-range-B_3WiQR7.mjs.map → magmonium-one-range-B6JesBOM.mjs.map} +1 -1
  45. package/fesm2022/{magmonium-one-selector-Do0PsJBx.mjs → magmonium-one-selector-CeqlecBa.mjs} +4 -4
  46. package/fesm2022/{magmonium-one-selector-Do0PsJBx.mjs.map → magmonium-one-selector-CeqlecBa.mjs.map} +1 -1
  47. package/fesm2022/{magmonium-one-size-converter-BOLtxL8d.mjs → magmonium-one-size-converter-BqkALIWA.mjs} +3 -2
  48. package/fesm2022/magmonium-one-size-converter-BqkALIWA.mjs.map +1 -0
  49. package/fesm2022/{magmonium-one-text-DDA0gCOd.mjs → magmonium-one-text-DT9ia02A.mjs} +6 -6
  50. package/fesm2022/{magmonium-one-text-DDA0gCOd.mjs.map → magmonium-one-text-DT9ia02A.mjs.map} +1 -1
  51. package/fesm2022/{magmonium-one-text-output-Dkx0i1iu.mjs → magmonium-one-text-output-nJBGhbwG.mjs} +4 -4
  52. package/fesm2022/{magmonium-one-text-output-Dkx0i1iu.mjs.map → magmonium-one-text-output-nJBGhbwG.mjs.map} +1 -1
  53. package/fesm2022/magmonium-one-theme-BtQyLRdQ.mjs +1 -0
  54. package/fesm2022/{magmonium-one-toggle-C5-GwMSQ.mjs → magmonium-one-toggle-BPInV6K-.mjs} +3 -3
  55. package/fesm2022/{magmonium-one-toggle-C5-GwMSQ.mjs.map → magmonium-one-toggle-BPInV6K-.mjs.map} +1 -1
  56. package/fesm2022/magmonium-one.mjs +1396 -43
  57. package/fesm2022/magmonium-one.mjs.map +1 -1
  58. package/package.json +1 -1
  59. package/types/magmonium-one.d.ts +629 -4
  60. package/fesm2022/magmonium-one-size-converter-BOLtxL8d.mjs.map +0 -1
  61. package/fesm2022/magmonium-one-theme-Ce9i3H3R.mjs +0 -1
@@ -1,33 +1,33 @@
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-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-Do0PsJBx.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-BqkALIWA.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-CeqlecBa.mjs";
4
4
  import { t as FileService } from "./magmonium-one-file.service-D39FjShR.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 sectionTableColumnId, c as sortSectionTableRows, d as PercentagePipe, f as MoneyPipe, i as nextSectionTableSort, l as AssetUrlPipe, n as SectionTableSortPipe, o as sectionTableColumnWidths, p as TimeAgoPipe, r as defaultSectionTableSort, s as sectionTableFrozenCount, t as LabelComponent, u as CompactNumberPipe } from "./magmonium-one-label-B8WJHiU4.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";
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-BA51l-Rw.mjs";
6
+ import "./magmonium-one-theme-BtQyLRdQ.mjs";
7
+ import { a as sectionTableColumnId, c as sortSectionTableRows, d as PercentagePipe, f as MoneyPipe, i as nextSectionTableSort, l as AssetUrlPipe, n as SectionTableSortPipe, o as sectionTableColumnWidths, p as TimeAgoPipe, r as defaultSectionTableSort, s as sectionTableFrozenCount, t as LabelComponent, u as CompactNumberPipe } from "./magmonium-one-label-BJcQs0Nd.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-CH-g8CUR.mjs";
9
+ import { i as resolveConfigAsset, n as toAttrNumber, r as ConfigComponent, t as toAttrBool } from "./magmonium-one-attribute-value-CPh-lJPV.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-BvX-kWgh.mjs";
11
+ import { t as MRefDirective } from "./magmonium-one-m-ref-DLIAzywu.mjs";
12
+ import { i as OptionsSourceDirective, n as normalizeAssetOptions, r as presetDefaultOption, t as assetOptions } from "./magmonium-one-options-asset-BNd1hbLw.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-CyVd_a7p.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-Dbe0pfCf.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-BPhM2IIa.mjs";
18
- import { n as ContextMenuBoxComponent, r as MenuComponent, t as ContextMenuComponent } from "./magmonium-one-menu-CxswmD0O.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-BanML2y5.mjs";
24
- import { t as TextInputComponent } from "./magmonium-one-text-DDA0gCOd.mjs";
25
- import { r as BaseArrayInputComponent, t as MultiRangeInputComponent } from "./magmonium-one-multi-range-mv5rz3uW.mjs";
26
- import { t as RangeInputComponent } from "./magmonium-one-range-B_3WiQR7.mjs";
27
- import { n as DROPDOWN_IMPORTS, r as DROPDOWN_TEMPLATE, t as BaseDropdownComponent } from "./magmonium-one-base-dropdown-BgLka4oB.mjs";
14
+ import { r as PLACED_CHECKBOX, t as CheckboxInputComponent } from "./magmonium-one-checkbox-CTRdyVrI.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-DM6J1Hvs.mjs";
16
+ import { t as HeaderComponent } from "./magmonium-one-header-BylTUAGY.mjs";
17
+ import { i as mergeUniqueWith, n as mergeUnique, r as mergeUniqueBy, t as ButtonGroupComponent } from "./magmonium-one-group-cbqVX51M.mjs";
18
+ import { n as ContextMenuBoxComponent, r as MenuComponent, t as ContextMenuComponent } from "./magmonium-one-menu-Ct4s8-W_.mjs";
19
+ import { t as BaseInputComponent } from "./magmonium-one-base-input-B92NOmxz.mjs";
20
+ import { i as getScrollParent, n as activeElementWithin, r as classListSignal, t as BaseTextInputComponent } from "./magmonium-one-base-text-ChjG3GNw.mjs";
21
+ import { t as TextOutputComponent } from "./magmonium-one-text-output-nJBGhbwG.mjs";
22
+ import { t as BaseCheckboxInputComponent } from "./magmonium-one-base-checkbox-LdM6dqF_.mjs";
23
+ import { t as RadioInputComponent } from "./magmonium-one-radio-yizQzCrD.mjs";
24
+ import { t as TextInputComponent } from "./magmonium-one-text-DT9ia02A.mjs";
25
+ import { r as BaseArrayInputComponent, t as MultiRangeInputComponent } from "./magmonium-one-multi-range-CDJX9iFR.mjs";
26
+ import { t as RangeInputComponent } from "./magmonium-one-range-B6JesBOM.mjs";
27
+ import { n as DROPDOWN_IMPORTS, r as DROPDOWN_TEMPLATE, t as BaseDropdownComponent } from "./magmonium-one-base-dropdown-DgfWj1wC.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
- 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";
30
+ import { ApplicationRef, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DOCUMENT, DestroyRef, Directive, ElementRef, EventEmitter, HostAttributeToken, HostBinding, HostListener, Injectable, InjectionToken, Injector, Input, LOCALE_ID, Output, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation, afterEveryRender, afterNextRender, afterRenderEffect, booleanAttribute, 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";
31
31
  import { HttpErrorResponse, provideHttpClient, withFetch, withInterceptors } from "@angular/common/http";
32
32
  import { EMPTY, Observable, Subject, catchError, combineLatest, distinctUntilChanged, filter, finalize, firstValueFrom, forkJoin, from, fromEvent, map, mergeMap, of, pipe, race, shareReplay, startWith, switchMap, take, tap, throwError } from "rxjs";
33
33
  import { rxResource, takeUntilDestroyed, toObservable, toSignal } from "@angular/core/rxjs-interop";
@@ -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-BanML2y5.mjs").then((n) => n.n);
747
+ const { RadioInputComponent } = await import("./magmonium-one-radio-yizQzCrD.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-C5-GwMSQ.mjs");
752
+ const { ToggleInputComponent } = await import("./magmonium-one-toggle-BPInV6K-.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-CTnJ9M7d.mjs");
762
+ const { PasswordInputComponent } = await import("./magmonium-one-password-C7W01COQ.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-BlP0t9w1.mjs");
767
+ const { OtpInputComponent } = await import("./magmonium-one-otp-AFrgpHdp.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-CyVd_a7p.mjs").then((n) => n.n);
777
+ const { CheckboxInputComponent } = await import("./magmonium-one-checkbox-CTRdyVrI.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-B_3WiQR7.mjs").then((n) => n.n);
792
+ const { RangeInputComponent } = await import("./magmonium-one-range-B6JesBOM.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-mv5rz3uW.mjs").then((n) => n.n);
797
+ const { MultiRangeInputComponent } = await import("./magmonium-one-multi-range-CDJX9iFR.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-DDA0gCOd.mjs").then((n) => n.n);
848
+ const { TextInputComponent } = await import("./magmonium-one-text-DT9ia02A.mjs").then((n) => n.n);
849
849
  this.createDynamicComponent(seq, TextInputComponent);
850
850
  break;
851
851
  }
@@ -17895,6 +17895,1359 @@ const SECTION_TABLE_VARIANTS = [
17895
17895
  "spacious",
17896
17896
  "border"
17897
17897
  ];
17898
+ const SECTION_CHART_CONTEXT = new InjectionToken("SECTION_CHART_CONTEXT");
17899
+ const SECTION_CHART_SCALES = [
17900
+ "auto",
17901
+ "percent",
17902
+ "value"
17903
+ ];
17904
+ const SECTION_CHART_CUSTOM_RANGE = "custom";
17905
+ const DEFAULT_SECTION_CHART_RANGES = [
17906
+ "1m",
17907
+ "2m",
17908
+ "3m",
17909
+ "6m",
17910
+ "ytd",
17911
+ "1y",
17912
+ "5y",
17913
+ "max"
17914
+ ];
17915
+ const SECTION_CHART_PALETTE = {
17916
+ light: [
17917
+ "#2a78d6",
17918
+ "#eb6834",
17919
+ "#1baf7a",
17920
+ "#eda100",
17921
+ "#e87ba4",
17922
+ "#008300",
17923
+ "#6250d6",
17924
+ "#e34948"
17925
+ ],
17926
+ dark: [
17927
+ "#3987e5",
17928
+ "#d95926",
17929
+ "#199e70",
17930
+ "#c98500",
17931
+ "#d55181",
17932
+ "#008300",
17933
+ "#9085e9",
17934
+ "#e66767"
17935
+ ]
17936
+ };
17937
+ const DAY = 864e5;
17938
+ const toChartTime = (value) => {
17939
+ if (value instanceof Date) {
17940
+ const t = value.getTime();
17941
+ return Number.isFinite(t) ? t : null;
17942
+ }
17943
+ if (typeof value === "number") return Number.isFinite(value) ? value : null;
17944
+ if (typeof value !== "string" || !value.trim()) return null;
17945
+ const numeric = Number(value);
17946
+ if (Number.isFinite(numeric)) return numeric;
17947
+ const parsed = Date.parse(value);
17948
+ return Number.isFinite(parsed) ? parsed : null;
17949
+ };
17950
+ const readChartPoints = (rows, x, y) => {
17951
+ const pairs = [];
17952
+ for (const row of rows ?? []) {
17953
+ if (row == null || typeof row !== "object") continue;
17954
+ const record = row;
17955
+ const t = toChartTime(record[x]);
17956
+ const raw = record[y];
17957
+ const v = typeof raw === "string" && raw.trim() ? Number(raw) : raw;
17958
+ if (t === null || typeof v !== "number" || !Number.isFinite(v)) continue;
17959
+ pairs.push([t, v]);
17960
+ }
17961
+ for (let i = 1; i < pairs.length; i++) if (pairs[i][0] < pairs[i - 1][0]) {
17962
+ pairs.sort((a, b) => a[0] - b[0]);
17963
+ break;
17964
+ }
17965
+ return {
17966
+ t: pairs.map((p) => p[0]),
17967
+ y: pairs.map((p) => p[1])
17968
+ };
17969
+ };
17970
+ const lowerBound = (times, x) => {
17971
+ let lo = 0;
17972
+ let hi = times.length;
17973
+ while (lo < hi) {
17974
+ const mid = lo + hi >> 1;
17975
+ if (times[mid] < x) lo = mid + 1;
17976
+ else hi = mid;
17977
+ }
17978
+ return lo;
17979
+ };
17980
+ const nearestIndex = (times, x) => {
17981
+ const i = lowerBound(times, x);
17982
+ if (i <= 0) return 0;
17983
+ if (i >= times.length) return times.length - 1;
17984
+ return x - times[i - 1] <= times[i] - x ? i - 1 : i;
17985
+ };
17986
+ const rebase = (values) => {
17987
+ const base = values[0];
17988
+ if (!values.length || !base || !Number.isFinite(base)) return null;
17989
+ return values.map((v) => (v / base - 1) * 100);
17990
+ };
17991
+ const chartChange = (values) => {
17992
+ if (values.length < 2) return null;
17993
+ const rebased = rebase([values[0], values[values.length - 1]]);
17994
+ return rebased ? rebased[1] : null;
17995
+ };
17996
+ const downsample = (t, y, n) => {
17997
+ const len = t.length;
17998
+ if (n >= len || n < 3) return {
17999
+ t: [...t],
18000
+ y: [...y]
18001
+ };
18002
+ const ot = [t[0]];
18003
+ const oy = [y[0]];
18004
+ const every = (len - 2) / (n - 2);
18005
+ let a = 0;
18006
+ for (let i = 0; i < n - 2; i++) {
18007
+ const nextStart = Math.floor((i + 1) * every) + 1;
18008
+ const nextEnd = Math.min(Math.floor((i + 2) * every) + 1, len);
18009
+ let avgX = 0;
18010
+ let avgY = 0;
18011
+ for (let j = nextStart; j < nextEnd; j++) {
18012
+ avgX += j;
18013
+ avgY += y[j];
18014
+ }
18015
+ const span = nextEnd - nextStart || 1;
18016
+ avgX /= span;
18017
+ avgY /= span;
18018
+ const start = Math.floor(i * every) + 1;
18019
+ const end = Math.floor((i + 1) * every) + 1;
18020
+ let max = -1;
18021
+ let pick = start;
18022
+ for (let j = start; j < end; j++) {
18023
+ const area = Math.abs((a - avgX) * (y[j] - y[a]) - (a - j) * (avgY - y[a]));
18024
+ if (area > max) {
18025
+ max = area;
18026
+ pick = j;
18027
+ }
18028
+ }
18029
+ ot.push(t[pick]);
18030
+ oy.push(y[pick]);
18031
+ a = pick;
18032
+ }
18033
+ ot.push(t[len - 1]);
18034
+ oy.push(y[len - 1]);
18035
+ return {
18036
+ t: ot,
18037
+ y: oy
18038
+ };
18039
+ };
18040
+ const niceTicks = (min, max, count = 5) => {
18041
+ const raw = (max - min || Math.abs(max) || 1) / Math.max(1, count);
18042
+ const magnitude = 10 ** Math.floor(Math.log10(raw));
18043
+ const norm = raw / magnitude;
18044
+ const step = (norm < 1.5 ? 1 : norm < 3 ? 2 : norm < 7 ? 5 : 10) * magnitude;
18045
+ const lo = Math.floor(min / step) * step;
18046
+ const hi = Math.max(Math.ceil(max / step) * step, lo + step);
18047
+ const ticks = [];
18048
+ for (let v = lo; v <= hi + step / 2; v += step) ticks.push(+v.toFixed(10));
18049
+ return {
18050
+ min: lo,
18051
+ max: hi,
18052
+ ticks
18053
+ };
18054
+ };
18055
+ const timeTicks = (t0, t1, maxTicks) => {
18056
+ const most = Math.max(2, Math.floor(maxTicks));
18057
+ const days = (t1 - t0) / DAY;
18058
+ const out = [];
18059
+ if (!(days > 0)) return out;
18060
+ if (days <= 100) {
18061
+ const stepDays = [
18062
+ 7,
18063
+ 14,
18064
+ 28
18065
+ ].find((s) => days / s <= most) ?? 28;
18066
+ let t = Date.UTC(new Date(t0).getUTCFullYear(), new Date(t0).getUTCMonth(), new Date(t0).getUTCDate());
18067
+ if (t < t0) t += DAY;
18068
+ while (new Date(t).getUTCDay() !== 1) t += DAY;
18069
+ for (; t <= t1; t += stepDays * DAY) out.push({
18070
+ t,
18071
+ unit: "day"
18072
+ });
18073
+ return out;
18074
+ }
18075
+ const stepMonths = [
18076
+ 1,
18077
+ 2,
18078
+ 3,
18079
+ 6,
18080
+ 12,
18081
+ 24,
18082
+ 60
18083
+ ].find((s) => days / 30.44 / s <= most) ?? 120;
18084
+ const align = Math.min(stepMonths, 12);
18085
+ const yearStep = Math.max(1, stepMonths / 12);
18086
+ const first = new Date(t0);
18087
+ let year = first.getUTCFullYear();
18088
+ let month = first.getUTCMonth();
18089
+ if (Date.UTC(year, month, 1) < t0) month += 1;
18090
+ for (;;) {
18091
+ if (month > 11) {
18092
+ month -= 12;
18093
+ year += 1;
18094
+ }
18095
+ if (month % align === 0 && (stepMonths < 12 || year % yearStep === 0)) break;
18096
+ month += 1;
18097
+ }
18098
+ for (;;) {
18099
+ const t = Date.UTC(year, month, 1);
18100
+ if (t > t1) break;
18101
+ out.push({
18102
+ t,
18103
+ unit: stepMonths >= 12 || month === 0 ? "year" : "month"
18104
+ });
18105
+ month += stepMonths;
18106
+ while (month > 11) {
18107
+ month -= 12;
18108
+ year += 1;
18109
+ }
18110
+ }
18111
+ return out;
18112
+ };
18113
+ const PRESET_PATTERN = /^(\d+)([dwmy])$/;
18114
+ const presetSpan = (id, first, last) => {
18115
+ const key = id.trim().toLowerCase();
18116
+ if (key === "max") return [first, last];
18117
+ const end = new Date(last);
18118
+ if (key === "ytd") return [Math.max(first, Date.UTC(end.getUTCFullYear(), 0, 1)), last];
18119
+ const match = PRESET_PATTERN.exec(key);
18120
+ if (!match) return null;
18121
+ const count = Number(match[1]);
18122
+ if (!count) return null;
18123
+ const from = new Date(last);
18124
+ switch (match[2]) {
18125
+ case "d":
18126
+ from.setTime(last - count * DAY);
18127
+ break;
18128
+ case "w":
18129
+ from.setTime(last - count * 7 * DAY);
18130
+ break;
18131
+ case "m":
18132
+ from.setUTCMonth(from.getUTCMonth() - count);
18133
+ break;
18134
+ default: from.setUTCFullYear(from.getUTCFullYear() - count);
18135
+ }
18136
+ return [Math.max(first, from.getTime()), last];
18137
+ };
18138
+ const isPresetId = (id) => typeof id === "string" && presetSpan(id, 0, DAY) !== null;
18139
+ const presetLabel = (id) => id.trim().toUpperCase();
18140
+ const sliceSpan = (points, from, to) => {
18141
+ const start = lowerBound(points.t, from);
18142
+ let end = lowerBound(points.t, to);
18143
+ while (end < points.t.length && points.t[end] <= to) end++;
18144
+ return {
18145
+ t: points.t.slice(start, end),
18146
+ y: points.y.slice(start, end)
18147
+ };
18148
+ };
18149
+ const navigatorGrip = (t, span, slop) => {
18150
+ const toStart = Math.abs(t - span[0]);
18151
+ const toEnd = Math.abs(t - span[1]);
18152
+ if (Math.min(toStart, toEnd) <= slop) return toStart <= toEnd ? "start" : "end";
18153
+ return t > span[0] && t < span[1] ? "move" : "outside";
18154
+ };
18155
+ const panSpan = (span, delta, bounds) => {
18156
+ const width = Math.min(span[1] - span[0], bounds[1] - bounds[0]);
18157
+ const from = Math.min(Math.max(span[0] + delta, bounds[0]), bounds[1] - width);
18158
+ return [from, from + width];
18159
+ };
18160
+ const centreSpan = (span, t, bounds) => panSpan(span, t - (span[0] + span[1]) / 2, bounds);
18161
+ const resizeSpan = (span, edge, t, bounds, minWidth) => edge === "start" ? [Math.min(Math.max(t, bounds[0]), span[1] - minWidth), span[1]] : [span[0], Math.max(Math.min(t, bounds[1]), span[0] + minWidth)];
18162
+ const linePath = (t, y, sx, sy) => {
18163
+ let d = "";
18164
+ for (let i = 0; i < t.length; i++) d += `${i ? "L" : "M"}${sx(t[i]).toFixed(1)} ${sy(y[i]).toFixed(1)}`;
18165
+ return d;
18166
+ };
18167
+ const sampleChartPoints = (index, end = Date.UTC(2026, 0, 2)) => {
18168
+ const weeks = 52;
18169
+ const t = [];
18170
+ const y = [];
18171
+ const drift = .18 - index * .11;
18172
+ for (let i = 0; i <= weeks; i++) {
18173
+ t.push(end - (weeks - i) * 7 * DAY);
18174
+ const wave = .05 * Math.sin(i / 4 + index * 1.7) + .025 * Math.sin(i / 1.3 + index);
18175
+ y.push(100 * (1 + drift * i / weeks + wave));
18176
+ }
18177
+ return {
18178
+ t,
18179
+ y
18180
+ };
18181
+ };
18182
+ const MARGIN = {
18183
+ top: 12,
18184
+ right: 16,
18185
+ bottom: 28,
18186
+ left: 52
18187
+ };
18188
+ const MINIMAL_MARGIN = {
18189
+ top: 4,
18190
+ right: 4,
18191
+ bottom: 4,
18192
+ left: 4
18193
+ };
18194
+ const FALLBACK_WIDTH = 640;
18195
+ const DEFAULT_HEIGHT = 320;
18196
+ const DEFAULT_MINIMAL_HEIGHT = 120;
18197
+ const DEFAULT_RANGE = "max";
18198
+ const OVERFLOW_COLOR = "var(--m-text-tertiary)";
18199
+ const TOOLTIP_ROOM = 220;
18200
+ const NAV_HEIGHT = 64;
18201
+ const NAV_TOP = 4;
18202
+ const GRIP_SLOP = 8;
18203
+ const MIN_WINDOW_SHARE = .02;
18204
+ const KEY_PAN_SHARE = .1;
18205
+ const optionalNumber = (value) => value == null || value === "" ? void 0 : numberAttribute(value, void 0);
18206
+ const optionalBoolean = (value) => value == null ? void 0 : booleanAttribute(value);
18207
+ let nextId = 0;
18208
+ var SectionChartComponent = class SectionChartComponent extends ConfigComponent {
18209
+ subFolder = LAYOUT_ASSET_FOLDER.section_chart;
18210
+ scale = input(void 0, ...ngDevMode ? [{ debugName: "scale" }] : /* istanbul ignore next */ []);
18211
+ variant = input(void 0, ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
18212
+ displayPeriod = input(void 0, ...ngDevMode ? [{ debugName: "displayPeriod" }] : /* istanbul ignore next */ []);
18213
+ height = input(void 0, {
18214
+ ...ngDevMode ? { debugName: "height" } : /* istanbul ignore next */ {},
18215
+ transform: optionalNumber
18216
+ });
18217
+ navigator = input(void 0, {
18218
+ ...ngDevMode ? { debugName: "navigator" } : /* istanbul ignore next */ {},
18219
+ transform: optionalBoolean
18220
+ });
18221
+ measure = input(void 0, {
18222
+ ...ngDevMode ? { debugName: "measure" } : /* istanbul ignore next */ {},
18223
+ transform: optionalBoolean
18224
+ });
18225
+ range = model(void 0, ...ngDevMode ? [{ debugName: "range" }] : /* istanbul ignore next */ []);
18226
+ window = model(void 0, ...ngDevMode ? [{ debugName: "window" }] : /* istanbul ignore next */ []);
18227
+ members = signal([], ...ngDevMode ? [{ debugName: "members" }] : /* istanbul ignore next */ []);
18228
+ locale = inject(LOCALE_ID);
18229
+ tableId = `m-section-chart-table-${nextId++}`;
18230
+ width = signal(FALLBACK_WIDTH, ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
18231
+ dateFormat = new Intl.DateTimeFormat(this.locale, {
18232
+ day: "numeric",
18233
+ month: "short",
18234
+ year: "numeric",
18235
+ timeZone: "UTC"
18236
+ });
18237
+ dayFormat = new Intl.DateTimeFormat(this.locale, {
18238
+ day: "numeric",
18239
+ month: "short",
18240
+ timeZone: "UTC"
18241
+ });
18242
+ monthFormat = new Intl.DateTimeFormat(this.locale, {
18243
+ month: "short",
18244
+ timeZone: "UTC"
18245
+ });
18246
+ yearFormat = new Intl.DateTimeFormat(this.locale, {
18247
+ year: "numeric",
18248
+ timeZone: "UTC"
18249
+ });
18250
+ numberFormat = new Intl.NumberFormat(this.locale, { maximumFractionDigits: 2 });
18251
+ compactFormat = new Intl.NumberFormat(this.locale, {
18252
+ notation: "compact",
18253
+ maximumFractionDigits: 1
18254
+ });
18255
+ resolvedHeight = computed(() => this.height() ?? this.config()?.height ?? (this.minimal() ? DEFAULT_MINIMAL_HEIGHT : DEFAULT_HEIGHT), ...ngDevMode ? [{ debugName: "resolvedHeight" }] : /* istanbul ignore next */ []);
18256
+ resolvedScale = computed(() => this.scale() ?? this.config()?.scale ?? "auto", ...ngDevMode ? [{ debugName: "resolvedScale" }] : /* istanbul ignore next */ []);
18257
+ resolvedRange = computed(() => this.range() ?? this.config()?.range ?? DEFAULT_RANGE, ...ngDevMode ? [{ debugName: "resolvedRange" }] : /* istanbul ignore next */ []);
18258
+ minimal = computed(() => (this.variant() ?? this.config()?.variant) === "minimal", ...ngDevMode ? [{ debugName: "minimal" }] : /* istanbul ignore next */ []);
18259
+ margin = computed(() => this.minimal() ? MINIMAL_MARGIN : MARGIN, ...ngDevMode ? [{ debugName: "margin" }] : /* istanbul ignore next */ []);
18260
+ showNavigator = computed(() => !this.minimal() && (this.navigator() ?? this.config()?.navigator ?? false), ...ngDevMode ? [{ debugName: "showNavigator" }] : /* istanbul ignore next */ []);
18261
+ canMeasure = computed(() => !this.minimal() && (this.measure() ?? this.config()?.measure ?? false), ...ngDevMode ? [{ debugName: "canMeasure" }] : /* istanbul ignore next */ []);
18262
+ presets = computed(() => {
18263
+ const authored = this.config()?.ranges;
18264
+ const ids = (authored?.length ? authored : DEFAULT_SECTION_CHART_RANGES).filter(isPresetId).map((id) => id.trim().toLowerCase());
18265
+ return [...new Set(ids)].map((id) => ({
18266
+ id,
18267
+ label: presetLabel(id)
18268
+ }));
18269
+ }, ...ngDevMode ? [{ debugName: "presets" }] : /* istanbul ignore next */ []);
18270
+ presetIndex = computed(() => this.presets().findIndex((preset) => preset.id === this.resolvedRange()), ...ngDevMode ? [{ debugName: "presetIndex" }] : /* istanbul ignore next */ []);
18271
+ palette = computed(() => {
18272
+ const mode = this.themeStore.theme()?.mode;
18273
+ return SECTION_CHART_PALETTE[mode === "dark" || mode === "darker" ? "dark" : "light"];
18274
+ }, ...ngDevMode ? [{ debugName: "palette" }] : /* istanbul ignore next */ []);
18275
+ painted = computed(() => {
18276
+ const palette = this.palette();
18277
+ const themeColors = this.themeStore.color();
18278
+ return this.members().map(({ member, slot }) => {
18279
+ const own = member.color();
18280
+ return {
18281
+ member,
18282
+ color: own ? resolvePallet(own, themeColors).color : palette[slot] ?? OVERFLOW_COLOR
18283
+ };
18284
+ });
18285
+ }, ...ngDevMode ? [{ debugName: "painted" }] : /* istanbul ignore next */ []);
18286
+ lines = computed(() => {
18287
+ const palette = this.palette();
18288
+ const drawn = this.painted().map(({ member, color }) => ({
18289
+ ...member.points(),
18290
+ label: member.label(),
18291
+ noTranslate: member.noTranslate(),
18292
+ params: member.params(),
18293
+ color,
18294
+ member
18295
+ }));
18296
+ const withData = drawn.filter((line) => line.t.length);
18297
+ if (withData.length || !this.isDesignMode) return withData;
18298
+ return (drawn.length ? drawn : palette.slice(0, 2).map((color) => ({
18299
+ t: [],
18300
+ y: [],
18301
+ label: "",
18302
+ noTranslate: true,
18303
+ color
18304
+ }))).map((line, i) => ({
18305
+ ...line,
18306
+ ...sampleChartPoints(i)
18307
+ }));
18308
+ }, ...ngDevMode ? [{ debugName: "lines" }] : /* istanbul ignore next */ []);
18309
+ dataSpan = computed(() => {
18310
+ const lines = this.lines();
18311
+ if (!lines.length) return null;
18312
+ return [Math.min(...lines.map((line) => line.t[0])), Math.max(...lines.map((line) => line.t[line.t.length - 1]))];
18313
+ }, ...ngDevMode ? [{ debugName: "dataSpan" }] : /* istanbul ignore next */ []);
18314
+ span = computed(() => {
18315
+ const data = this.dataSpan();
18316
+ if (!data) return null;
18317
+ const range = this.resolvedRange();
18318
+ if (range === "custom") {
18319
+ const from = toChartTime(this.window()?.from);
18320
+ const to = toChartTime(this.window()?.to);
18321
+ return from !== null && to !== null && from < to ? [from, to] : data;
18322
+ }
18323
+ return presetSpan(range, data[0], data[1]) ?? data;
18324
+ }, ...ngDevMode ? [{ debugName: "span" }] : /* istanbul ignore next */ []);
18325
+ draft = signal(null, ...ngDevMode ? [{ debugName: "draft" }] : /* istanbul ignore next */ []);
18326
+ drag = null;
18327
+ drawnSpan = computed(() => this.draft() ?? this.span(), ...ngDevMode ? [{ debugName: "drawnSpan" }] : /* istanbul ignore next */ []);
18328
+ windowed = computed(() => {
18329
+ const span = this.drawnSpan();
18330
+ if (!span) return [];
18331
+ return this.lines().map((line) => ({
18332
+ ...line,
18333
+ ...sliceSpan(line, span[0], span[1])
18334
+ }));
18335
+ }, ...ngDevMode ? [{ debugName: "windowed" }] : /* istanbul ignore next */ []);
18336
+ percent = computed(() => this.resolvedScale() === "percent" || this.lines().length > 1, ...ngDevMode ? [{ debugName: "percent" }] : /* istanbul ignore next */ []);
18337
+ plotWidth = computed(() => Math.max(1, this.width() - this.margin().left - this.margin().right), ...ngDevMode ? [{ debugName: "plotWidth" }] : /* istanbul ignore next */ []);
18338
+ plotHeight = computed(() => Math.max(1, this.resolvedHeight() - this.margin().top - this.margin().bottom), ...ngDevMode ? [{ debugName: "plotHeight" }] : /* istanbul ignore next */ []);
18339
+ left = computed(() => this.margin().left, ...ngDevMode ? [{ debugName: "left" }] : /* istanbul ignore next */ []);
18340
+ top = computed(() => this.margin().top, ...ngDevMode ? [{ debugName: "top" }] : /* istanbul ignore next */ []);
18341
+ right = computed(() => this.left() + this.plotWidth(), ...ngDevMode ? [{ debugName: "right" }] : /* istanbul ignore next */ []);
18342
+ bottom = computed(() => this.top() + this.plotHeight(), ...ngDevMode ? [{ debugName: "bottom" }] : /* istanbul ignore next */ []);
18343
+ viewBox = computed(() => `0 0 ${this.width()} ${this.resolvedHeight()}`, ...ngDevMode ? [{ debugName: "viewBox" }] : /* istanbul ignore next */ []);
18344
+ plotted = computed(() => {
18345
+ const pct = this.percent();
18346
+ const maxPoints = Math.max(3, Math.round(this.plotWidth() / 1.5));
18347
+ return this.windowed().flatMap((line) => {
18348
+ if (!line.t.length) return [];
18349
+ const shown = pct ? rebase(line.y) : line.y;
18350
+ if (!shown) return [];
18351
+ return [{
18352
+ line,
18353
+ shown,
18354
+ ds: downsample(line.t, shown, maxPoints)
18355
+ }];
18356
+ });
18357
+ }, ...ngDevMode ? [{ debugName: "plotted" }] : /* istanbul ignore next */ []);
18358
+ extent = computed(() => {
18359
+ const span = this.drawnSpan();
18360
+ const plotted = this.plotted();
18361
+ if (!span || !plotted.length) return null;
18362
+ let lo = Infinity;
18363
+ let hi = -Infinity;
18364
+ for (const { ds } of plotted) for (const v of ds.y) {
18365
+ lo = Math.min(lo, v);
18366
+ hi = Math.max(hi, v);
18367
+ }
18368
+ const pad = (hi - lo || Math.abs(hi) || 1) * .06;
18369
+ return {
18370
+ t0: span[0],
18371
+ t1: span[1] > span[0] ? span[1] : span[0] + 1,
18372
+ ...niceTicks(lo - pad, hi + pad)
18373
+ };
18374
+ }, ...ngDevMode ? [{ debugName: "extent" }] : /* istanbul ignore next */ []);
18375
+ sx = computed(() => {
18376
+ const extent = this.extent();
18377
+ const width = this.plotWidth();
18378
+ const left = this.left();
18379
+ return (t) => extent ? left + (t - extent.t0) / (extent.t1 - extent.t0) * width : left;
18380
+ }, ...ngDevMode ? [{ debugName: "sx" }] : /* istanbul ignore next */ []);
18381
+ sy = computed(() => {
18382
+ const extent = this.extent();
18383
+ const height = this.plotHeight();
18384
+ const top = this.top();
18385
+ return (v) => extent ? top + (1 - (v - extent.min) / (extent.max - extent.min)) * height : top + height;
18386
+ }, ...ngDevMode ? [{ debugName: "sy" }] : /* istanbul ignore next */ []);
18387
+ paths = computed(() => {
18388
+ const sx = this.sx();
18389
+ const sy = this.sy();
18390
+ return this.plotted().map(({ line, shown, ds }) => ({
18391
+ d: linePath(ds.t, ds.y, sx, sy),
18392
+ color: line.color,
18393
+ endX: sx(line.t[line.t.length - 1]),
18394
+ endY: sy(shown[shown.length - 1])
18395
+ }));
18396
+ }, ...ngDevMode ? [{ debugName: "paths" }] : /* istanbul ignore next */ []);
18397
+ yTicks = computed(() => {
18398
+ const extent = this.extent();
18399
+ if (!extent || this.minimal()) return [];
18400
+ const sy = this.sy();
18401
+ const pct = this.percent();
18402
+ return extent.ticks.map((v) => ({
18403
+ y: sy(v),
18404
+ label: pct ? this.formatPercent(v, 0) : this.compactFormat.format(v),
18405
+ zero: pct && v === 0
18406
+ }));
18407
+ }, ...ngDevMode ? [{ debugName: "yTicks" }] : /* istanbul ignore next */ []);
18408
+ xTicks = computed(() => {
18409
+ const extent = this.extent();
18410
+ if (!extent || this.minimal()) return [];
18411
+ const sx = this.sx();
18412
+ return timeTicks(extent.t0, extent.t1, this.plotWidth() / 80).map((tick) => ({
18413
+ x: sx(tick.t),
18414
+ label: (tick.unit === "year" ? this.yearFormat : tick.unit === "month" ? this.monthFormat : this.dayFormat).format(tick.t)
18415
+ }));
18416
+ }, ...ngDevMode ? [{ debugName: "xTicks" }] : /* istanbul ignore next */ []);
18417
+ windowLabel = computed(() => {
18418
+ const span = this.drawnSpan();
18419
+ return span ? `${this.dateFormat.format(span[0])} – ${this.dateFormat.format(span[1])}` : "";
18420
+ }, ...ngDevMode ? [{ debugName: "windowLabel" }] : /* istanbul ignore next */ []);
18421
+ periodLabel = computed(() => this.displayPeriod() || this.config()?.displayPeriod || this.windowLabel(), ...ngDevMode ? [{ debugName: "periodLabel" }] : /* istanbul ignore next */ []);
18422
+ legendRows = computed(() => {
18423
+ const changes = /* @__PURE__ */ new Map();
18424
+ for (const line of this.windowed()) if (line.member) changes.set(line.member, chartChange(line.y));
18425
+ return new Map(this.painted().map(({ member, color }) => [member, {
18426
+ color,
18427
+ ...this.signedChange(changes.get(member) ?? null)
18428
+ }]));
18429
+ }, ...ngDevMode ? [{ debugName: "legendRows" }] : /* istanbul ignore next */ []);
18430
+ times = computed(() => this.plotted().reduce((best, { line }) => line.t.length > best.length ? line.t : best, []), ...ngDevMode ? [{ debugName: "times" }] : /* istanbul ignore next */ []);
18431
+ hoverIndex = linkedSignal({
18432
+ ...ngDevMode ? { debugName: "hoverIndex" } : /* istanbul ignore next */ {},
18433
+ source: this.times,
18434
+ computation: () => null
18435
+ });
18436
+ measured = linkedSignal({
18437
+ ...ngDevMode ? { debugName: "measured" } : /* istanbul ignore next */ {},
18438
+ source: this.times,
18439
+ computation: () => null
18440
+ });
18441
+ measuring = false;
18442
+ anchored = false;
18443
+ measureView = computed(() => {
18444
+ const measured = this.measured();
18445
+ if (!measured) return null;
18446
+ const [a, b] = measured[0] <= measured[1] ? measured : [measured[1], measured[0]];
18447
+ const sx = this.sx();
18448
+ const start = sx(a);
18449
+ const end = sx(b);
18450
+ if (a === b) return {
18451
+ start,
18452
+ width: 0,
18453
+ card: null
18454
+ };
18455
+ const rows = this.plotted().flatMap(({ line }) => {
18456
+ if (a < line.t[0] || b > line.t[line.t.length - 1]) return [];
18457
+ const from = line.y[nearestIndex(line.t, a)];
18458
+ const to = line.y[nearestIndex(line.t, b)];
18459
+ const change = rebase([from, to])?.[1] ?? null;
18460
+ if (change === null) return [];
18461
+ return [{
18462
+ color: line.color,
18463
+ label: line.label,
18464
+ noTranslate: line.noTranslate,
18465
+ params: line.params,
18466
+ value: this.signedChange(change).change,
18467
+ sub: `${this.numberFormat.format(from)} → ${this.numberFormat.format(to)}`
18468
+ }];
18469
+ });
18470
+ const flip = (start + end) / 2 > this.width() / 2;
18471
+ return {
18472
+ start,
18473
+ width: end - start,
18474
+ card: {
18475
+ title: `${this.dateFormat.format(a)} → ${this.dateFormat.format(b)}`,
18476
+ rows,
18477
+ flip,
18478
+ x: flip ? end : start
18479
+ }
18480
+ };
18481
+ }, ...ngDevMode ? [{ debugName: "measureView" }] : /* istanbul ignore next */ []);
18482
+ hover = computed(() => {
18483
+ const index = this.hoverIndex();
18484
+ const times = this.times();
18485
+ if (index === null || !times.length || this.minimal()) return null;
18486
+ const t = times[Math.min(index, times.length - 1)];
18487
+ const sx = this.sx();
18488
+ const sy = this.sy();
18489
+ const pct = this.percent();
18490
+ const rows = this.plotted().flatMap(({ line, shown }) => {
18491
+ if (t < line.t[0] || t > line.t[line.t.length - 1]) return [];
18492
+ const j = nearestIndex(line.t, t);
18493
+ return [{
18494
+ color: line.color,
18495
+ label: line.label,
18496
+ noTranslate: line.noTranslate,
18497
+ params: line.params,
18498
+ v: shown[j],
18499
+ value: pct ? this.formatPercent(shown[j], 2) : this.numberFormat.format(shown[j]),
18500
+ sub: pct ? this.numberFormat.format(line.y[j]) : "",
18501
+ cx: sx(line.t[j]),
18502
+ cy: sy(shown[j])
18503
+ }];
18504
+ }).sort((a, b) => b.v - a.v);
18505
+ const x = sx(t);
18506
+ return {
18507
+ x,
18508
+ title: this.dateFormat.format(t),
18509
+ rows,
18510
+ flip: x > this.width() - TOOLTIP_ROOM
18511
+ };
18512
+ }, ...ngDevMode ? [{ debugName: "hover" }] : /* istanbul ignore next */ []);
18513
+ navScale = computed(() => {
18514
+ const data = this.dataSpan();
18515
+ if (!data) return null;
18516
+ const width = this.plotWidth();
18517
+ const left = this.left();
18518
+ const length = data[1] - data[0] || 1;
18519
+ return {
18520
+ data,
18521
+ x: (t) => left + (t - data[0]) / length * width,
18522
+ t: (px) => data[0] + (px - left) / width * length,
18523
+ slop: GRIP_SLOP / width * length,
18524
+ minWidth: length * MIN_WINDOW_SHARE
18525
+ };
18526
+ }, ...ngDevMode ? [{ debugName: "navScale" }] : /* istanbul ignore next */ []);
18527
+ navigatorView = computed(() => {
18528
+ const scale = this.navScale();
18529
+ const line = this.lines()[0];
18530
+ const span = this.drawnSpan();
18531
+ if (!this.showNavigator() || !scale || !line || !span) return null;
18532
+ const ds = downsample(line.t, line.y, Math.max(3, Math.round(this.plotWidth() / 2)));
18533
+ const lo = Math.min(...ds.y);
18534
+ const hi = Math.max(...ds.y);
18535
+ const base = 44;
18536
+ const sy = (v) => NAV_TOP + (1 - (v - lo) / (hi - lo || 1)) * 40;
18537
+ const d = linePath(ds.t, ds.y, scale.x, sy);
18538
+ const start = scale.x(span[0]);
18539
+ const end = scale.x(span[1]);
18540
+ const [first, last] = scale.data;
18541
+ return {
18542
+ d,
18543
+ area: `${d}L${scale.x(last).toFixed(1)} ${base}L${scale.x(first).toFixed(1)} ${base}Z`,
18544
+ base,
18545
+ start,
18546
+ end,
18547
+ position: Math.round((span[0] - first) / (last - first || 1) * 100),
18548
+ ticks: timeTicks(first, last, this.plotWidth() / 80).map((tick) => ({
18549
+ x: scale.x(tick.t),
18550
+ label: (tick.unit === "year" ? this.yearFormat : tick.unit === "month" ? this.monthFormat : this.dayFormat).format(tick.t)
18551
+ }))
18552
+ };
18553
+ }, ...ngDevMode ? [{ debugName: "navigatorView" }] : /* istanbul ignore next */ []);
18554
+ navHeight = NAV_HEIGHT;
18555
+ navTop = NAV_TOP;
18556
+ navViewBox = computed(() => `0 0 ${this.width()} ${NAV_HEIGHT}`, ...ngDevMode ? [{ debugName: "navViewBox" }] : /* istanbul ignore next */ []);
18557
+ table = computed(() => {
18558
+ const plotted = this.plotted();
18559
+ const pct = this.percent();
18560
+ const rows = [...plotted.reduce((best, p) => !best || p.line.t.length > best.line.t.length ? p : best, null)?.ds.t ?? []].reverse().map((t) => ({
18561
+ date: this.dateFormat.format(t),
18562
+ cells: plotted.map(({ line, shown }) => {
18563
+ if (t < line.t[0] || t > line.t[line.t.length - 1]) return "—";
18564
+ const j = nearestIndex(line.t, t);
18565
+ return pct ? this.formatPercent(shown[j], 2) : this.numberFormat.format(line.y[j]);
18566
+ })
18567
+ }));
18568
+ return {
18569
+ columns: plotted.map(({ line }) => ({
18570
+ label: line.label,
18571
+ noTranslate: line.noTranslate,
18572
+ params: line.params
18573
+ })),
18574
+ rows
18575
+ };
18576
+ }, ...ngDevMode ? [{ debugName: "table" }] : /* istanbul ignore next */ []);
18577
+ constructor() {
18578
+ super();
18579
+ const destroyRef = inject(DestroyRef);
18580
+ afterNextRender(() => {
18581
+ const el = this.elementRef.nativeElement;
18582
+ const measure = () => {
18583
+ const width = Math.round(el.clientWidth);
18584
+ if (width > 0) this.width.set(width);
18585
+ };
18586
+ measure();
18587
+ if (typeof ResizeObserver === "undefined") return;
18588
+ const observer = new ResizeObserver(measure);
18589
+ observer.observe(el);
18590
+ destroyRef.onDestroy(() => observer.disconnect());
18591
+ });
18592
+ }
18593
+ register = (member) => this.members.update((list) => {
18594
+ const taken = new Set(list.map((entry) => entry.slot));
18595
+ let slot = 0;
18596
+ while (taken.has(slot)) slot++;
18597
+ return [...list, {
18598
+ member,
18599
+ slot
18600
+ }];
18601
+ });
18602
+ unregister = (member) => this.members.update((list) => list.filter((entry) => entry.member !== member));
18603
+ legendOf = (member) => computed(() => this.legendRows().get(member));
18604
+ selectPreset = (index) => {
18605
+ const preset = this.presets()[index];
18606
+ const data = this.dataSpan();
18607
+ if (!preset) return;
18608
+ this.range.set(preset.id);
18609
+ const span = data && presetSpan(preset.id, data[0], data[1]);
18610
+ if (span) this.window.set(this.toWindow(span));
18611
+ };
18612
+ commit = (span) => {
18613
+ this.range.set(SECTION_CHART_CUSTOM_RANGE);
18614
+ this.window.set(this.toWindow(span));
18615
+ };
18616
+ toWindow = (span) => ({
18617
+ from: new Date(span[0]).toISOString(),
18618
+ to: new Date(span[1]).toISOString()
18619
+ });
18620
+ navTime = (event) => {
18621
+ const scale = this.navScale();
18622
+ if (!scale) return null;
18623
+ const rect = event.currentTarget.getBoundingClientRect();
18624
+ return scale.t(event.clientX - rect.left);
18625
+ };
18626
+ onNavigatorDown = (event) => {
18627
+ const scale = this.navScale();
18628
+ const span = this.drawnSpan();
18629
+ const t = this.navTime(event);
18630
+ if (!scale || !span || t === null || event.button !== 0) return;
18631
+ let grip = navigatorGrip(t, span, scale.slop);
18632
+ let held = [span[0], span[1]];
18633
+ if (grip === "outside") {
18634
+ held = centreSpan(span, t, scale.data);
18635
+ this.draft.set(held);
18636
+ grip = "move";
18637
+ }
18638
+ this.drag = {
18639
+ grip,
18640
+ origin: t,
18641
+ span: held
18642
+ };
18643
+ event.currentTarget.setPointerCapture?.(event.pointerId);
18644
+ event.preventDefault();
18645
+ };
18646
+ onNavigatorMove = (event) => {
18647
+ const scale = this.navScale();
18648
+ const t = this.navTime(event);
18649
+ if (!this.drag || !scale || t === null) return;
18650
+ const { grip, origin, span } = this.drag;
18651
+ this.draft.set(grip === "move" ? panSpan(span, t - origin, scale.data) : resizeSpan(span, grip, t, scale.data, scale.minWidth));
18652
+ };
18653
+ onNavigatorUp = () => {
18654
+ const moved = this.draft();
18655
+ this.drag = null;
18656
+ this.draft.set(null);
18657
+ if (moved) this.commit(moved);
18658
+ };
18659
+ onNavigatorKeydown = (event) => {
18660
+ const scale = this.navScale();
18661
+ const span = this.drawnSpan();
18662
+ if (!scale || !span) return;
18663
+ const step = (span[1] - span[0]) * KEY_PAN_SHARE * (event.shiftKey ? 5 : 1);
18664
+ let next;
18665
+ switch (event.key) {
18666
+ case "ArrowLeft":
18667
+ next = panSpan(span, -step, scale.data);
18668
+ break;
18669
+ case "ArrowRight":
18670
+ next = panSpan(span, step, scale.data);
18671
+ break;
18672
+ case "Home":
18673
+ next = panSpan(span, scale.data[0] - span[0], scale.data);
18674
+ break;
18675
+ case "End":
18676
+ next = panSpan(span, scale.data[1] - span[1], scale.data);
18677
+ break;
18678
+ default: return;
18679
+ }
18680
+ event.preventDefault();
18681
+ if (next[0] !== span[0] || next[1] !== span[1]) this.commit(next);
18682
+ };
18683
+ plotTime = (event) => {
18684
+ const extent = this.extent();
18685
+ const times = this.times();
18686
+ if (!extent || !times.length) return null;
18687
+ const rect = event.currentTarget.getBoundingClientRect();
18688
+ const px = event.clientX - rect.left;
18689
+ const left = this.left();
18690
+ if (px < left || px > left + this.plotWidth()) return null;
18691
+ const t = extent.t0 + (px - left) / this.plotWidth() * (extent.t1 - extent.t0);
18692
+ return times[nearestIndex(times, t)];
18693
+ };
18694
+ onPointerMove = (event) => {
18695
+ const t = this.plotTime(event);
18696
+ if (t === null) return;
18697
+ const measured = this.measured();
18698
+ if (this.measuring && measured) {
18699
+ this.measured.set([measured[0], t]);
18700
+ return;
18701
+ }
18702
+ this.hoverIndex.set(nearestIndex(this.times(), t));
18703
+ };
18704
+ onPlotDown = (event) => {
18705
+ if (!this.canMeasure() || event.button !== 0) return;
18706
+ const t = this.plotTime(event);
18707
+ if (t === null) return;
18708
+ this.measuring = true;
18709
+ this.anchored = false;
18710
+ this.hoverIndex.set(null);
18711
+ this.measured.set([t, t]);
18712
+ event.currentTarget.setPointerCapture?.(event.pointerId);
18713
+ event.preventDefault();
18714
+ };
18715
+ onPlotUp = () => {
18716
+ if (!this.measuring) return;
18717
+ this.measuring = false;
18718
+ const measured = this.measured();
18719
+ if (measured && measured[0] === measured[1]) this.measured.set(null);
18720
+ };
18721
+ clearHover = () => {
18722
+ if (!this.measuring) this.hoverIndex.set(null);
18723
+ };
18724
+ onKeydown = (event) => {
18725
+ const times = this.times();
18726
+ const count = times.length;
18727
+ if (!count) return;
18728
+ const step = event.shiftKey ? 10 : 1;
18729
+ const current = this.hoverIndex();
18730
+ let next;
18731
+ switch (event.key) {
18732
+ case "Enter":
18733
+ case " ": {
18734
+ if (!this.canMeasure() || current === null) return;
18735
+ event.preventDefault();
18736
+ const measured = this.measured();
18737
+ if (!this.anchored) {
18738
+ this.anchored = true;
18739
+ this.measured.set([times[current], times[current]]);
18740
+ } else {
18741
+ this.anchored = false;
18742
+ if (measured && measured[0] === measured[1]) this.measured.set(null);
18743
+ }
18744
+ return;
18745
+ }
18746
+ case "ArrowLeft":
18747
+ next = Math.max(0, (current ?? count) - step);
18748
+ break;
18749
+ case "ArrowRight":
18750
+ next = Math.min(count - 1, (current ?? -1) + step);
18751
+ break;
18752
+ case "Home":
18753
+ next = 0;
18754
+ break;
18755
+ case "End":
18756
+ next = count - 1;
18757
+ break;
18758
+ case "Escape":
18759
+ next = null;
18760
+ this.anchored = false;
18761
+ this.measured.set(null);
18762
+ break;
18763
+ default: return;
18764
+ }
18765
+ event.preventDefault();
18766
+ this.hoverIndex.set(next);
18767
+ const measured = this.measured();
18768
+ if (this.anchored && measured && next !== null) this.measured.set([measured[0], times[next]]);
18769
+ };
18770
+ signedChange = (change) => {
18771
+ if (change === null) return {
18772
+ change: "—",
18773
+ trend: "flat"
18774
+ };
18775
+ const trend = change > 0 ? "up" : change < 0 ? "down" : "flat";
18776
+ return {
18777
+ change: `${trend === "up" ? "▲" : trend === "down" ? "▼" : "■"} ${this.formatPercent(change, 2)}`,
18778
+ trend
18779
+ };
18780
+ };
18781
+ percentFormats = /* @__PURE__ */ new Map();
18782
+ formatPercent = (v, digits) => {
18783
+ let format = this.percentFormats.get(digits);
18784
+ if (!format) {
18785
+ format = new Intl.NumberFormat(this.locale, {
18786
+ style: "percent",
18787
+ signDisplay: "exceptZero",
18788
+ minimumFractionDigits: digits,
18789
+ maximumFractionDigits: digits
18790
+ });
18791
+ this.percentFormats.set(digits, format);
18792
+ }
18793
+ return format.format(v / 100);
18794
+ };
18795
+ static ɵfac = i0.ɵɵngDeclareFactory({
18796
+ minVersion: "12.0.0",
18797
+ version: "22.2.1",
18798
+ ngImport: i0,
18799
+ type: SectionChartComponent,
18800
+ deps: [],
18801
+ target: i0.ɵɵFactoryTarget.Component
18802
+ });
18803
+ static ɵcmp = i0.ɵɵngDeclareComponent({
18804
+ minVersion: "17.0.0",
18805
+ version: "22.2.1",
18806
+ type: SectionChartComponent,
18807
+ isStandalone: true,
18808
+ selector: "m-section-chart",
18809
+ inputs: {
18810
+ scale: {
18811
+ classPropertyName: "scale",
18812
+ publicName: "scale",
18813
+ isSignal: true,
18814
+ isRequired: false,
18815
+ transformFunction: null
18816
+ },
18817
+ variant: {
18818
+ classPropertyName: "variant",
18819
+ publicName: "variant",
18820
+ isSignal: true,
18821
+ isRequired: false,
18822
+ transformFunction: null
18823
+ },
18824
+ displayPeriod: {
18825
+ classPropertyName: "displayPeriod",
18826
+ publicName: "displayPeriod",
18827
+ isSignal: true,
18828
+ isRequired: false,
18829
+ transformFunction: null
18830
+ },
18831
+ height: {
18832
+ classPropertyName: "height",
18833
+ publicName: "height",
18834
+ isSignal: true,
18835
+ isRequired: false,
18836
+ transformFunction: null
18837
+ },
18838
+ navigator: {
18839
+ classPropertyName: "navigator",
18840
+ publicName: "navigator",
18841
+ isSignal: true,
18842
+ isRequired: false,
18843
+ transformFunction: null
18844
+ },
18845
+ measure: {
18846
+ classPropertyName: "measure",
18847
+ publicName: "measure",
18848
+ isSignal: true,
18849
+ isRequired: false,
18850
+ transformFunction: null
18851
+ },
18852
+ range: {
18853
+ classPropertyName: "range",
18854
+ publicName: "range",
18855
+ isSignal: true,
18856
+ isRequired: false,
18857
+ transformFunction: null
18858
+ },
18859
+ window: {
18860
+ classPropertyName: "window",
18861
+ publicName: "window",
18862
+ isSignal: true,
18863
+ isRequired: false,
18864
+ transformFunction: null
18865
+ }
18866
+ },
18867
+ outputs: {
18868
+ range: "rangeChange",
18869
+ window: "windowChange"
18870
+ },
18871
+ host: {
18872
+ properties: {
18873
+ "class.is-design-mode": "isDesignMode",
18874
+ "class.m-section-chart--minimal": "minimal()"
18875
+ },
18876
+ classAttribute: "m-section-chart"
18877
+ },
18878
+ providers: [{
18879
+ provide: SECTION_CHART_CONTEXT,
18880
+ useFactory: () => {
18881
+ const self = inject(SectionChartComponent);
18882
+ return {
18883
+ register: self.register,
18884
+ unregister: self.unregister,
18885
+ legendOf: self.legendOf
18886
+ };
18887
+ }
18888
+ }],
18889
+ usesInheritance: true,
18890
+ ngImport: i0,
18891
+ template: "<div class=\"m-section-chart__top\">\n <!-- Each series draws its own legend row: the row is the series' element,\n which is what the editor's Canvas selects it by. -->\n <div class=\"m-section-chart__legend\" role=\"list\">\n <ng-content />\n </div>\n @if (periodLabel(); as label) {\n <span class=\"m-section-chart__window\">{{ label }}</span>\n }\n</div>\n\n<div class=\"m-section-chart__plot\">\n <svg\n class=\"m-section-chart__svg\"\n role=\"img\"\n tabindex=\"0\"\n [class.is-measurable]=\"canMeasure()\"\n [attr.width]=\"width()\"\n [attr.height]=\"resolvedHeight()\"\n [attr.viewBox]=\"viewBox()\"\n [attr.aria-label]=\"windowLabel()\"\n [attr.aria-describedby]=\"tableId\"\n (pointerdown)=\"onPlotDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPlotUp()\"\n (pointercancel)=\"onPlotUp()\"\n (pointerleave)=\"clearHover()\"\n (blur)=\"clearHover()\"\n (keydown)=\"onKeydown($event)\"\n >\n @for (tick of yTicks(); track $index) {\n <svg:line\n class=\"m-section-chart__grid\"\n [class.m-section-chart__grid--zero]=\"tick.zero\"\n [attr.x1]=\"left()\"\n [attr.x2]=\"right()\"\n [attr.y1]=\"tick.y\"\n [attr.y2]=\"tick.y\"\n />\n <svg:text\n class=\"m-section-chart__tick\"\n text-anchor=\"end\"\n [attr.x]=\"left() - 8\"\n [attr.y]=\"tick.y + 4\"\n >\n {{ tick.label }}\n </svg:text>\n }\n @if (!minimal()) {\n <svg:line\n class=\"m-section-chart__axis\"\n [attr.x1]=\"left()\"\n [attr.x2]=\"right()\"\n [attr.y1]=\"bottom()\"\n [attr.y2]=\"bottom()\"\n />\n }\n @for (tick of xTicks(); track $index) {\n <svg:text\n class=\"m-section-chart__tick\"\n text-anchor=\"middle\"\n [attr.x]=\"tick.x\"\n [attr.y]=\"bottom() + 18\"\n >\n {{ tick.label }}\n </svg:text>\n }\n @if (measureView(); as band) {\n <svg:rect\n class=\"m-section-chart__band\"\n [attr.x]=\"band.start\"\n [attr.y]=\"top()\"\n [attr.width]=\"band.width\"\n [attr.height]=\"bottom() - top()\"\n />\n <svg:line\n class=\"m-section-chart__band-edge\"\n [attr.x1]=\"band.start\"\n [attr.x2]=\"band.start\"\n [attr.y1]=\"top()\"\n [attr.y2]=\"bottom()\"\n />\n <svg:line\n class=\"m-section-chart__band-edge\"\n [attr.x1]=\"band.start + band.width\"\n [attr.x2]=\"band.start + band.width\"\n [attr.y1]=\"top()\"\n [attr.y2]=\"bottom()\"\n />\n }\n @for (path of paths(); track $index) {\n <svg:path\n class=\"m-section-chart__line\"\n [attr.d]=\"path.d\"\n [style.stroke]=\"path.color\"\n />\n }\n @if (!minimal()) {\n @for (path of paths(); track $index) {\n <svg:circle\n class=\"m-section-chart__dot\"\n r=\"4\"\n [attr.cx]=\"path.endX\"\n [attr.cy]=\"path.endY\"\n [style.fill]=\"path.color\"\n />\n }\n }\n @if (hover(); as h) {\n <svg:line\n class=\"m-section-chart__cross\"\n [attr.x1]=\"h.x\"\n [attr.x2]=\"h.x\"\n [attr.y1]=\"top()\"\n [attr.y2]=\"bottom()\"\n />\n @for (row of h.rows; track $index) {\n <svg:circle\n class=\"m-section-chart__dot\"\n r=\"4\"\n [attr.cx]=\"row.cx\"\n [attr.cy]=\"row.cy\"\n [style.fill]=\"row.color\"\n />\n }\n }\n </svg>\n\n @if (hover(); as h) {\n <div\n class=\"m-section-chart__tip\"\n role=\"status\"\n [class.m-section-chart__tip--flip]=\"h.flip\"\n [style.left.px]=\"h.x\"\n >\n <span class=\"m-section-chart__tip-title\">{{ h.title }}</span>\n @for (row of h.rows; track $index) {\n <span class=\"m-section-chart__tip-row\">\n <span class=\"m-section-chart__tip-key\" [style.background]=\"row.color\"></span>\n <span class=\"m-section-chart__tip-value\">{{ row.value }}</span>\n <span class=\"m-section-chart__tip-label\">{{\n row.noTranslate ? row.label : (row.label | translate: row.params)\n }}</span>\n <span class=\"m-section-chart__tip-sub\">{{ row.sub }}</span>\n </span>\n }\n </div>\n }\n\n @if (measureView()?.card; as card) {\n <div\n class=\"m-section-chart__measure\"\n role=\"status\"\n [class.m-section-chart__measure--flip]=\"card.flip\"\n [style.left.px]=\"card.x\"\n >\n <span class=\"m-section-chart__tip-title\">{{ card.title }}</span>\n @for (row of card.rows; track $index) {\n <span class=\"m-section-chart__tip-row\">\n <span class=\"m-section-chart__tip-key\" [style.background]=\"row.color\"></span>\n <span class=\"m-section-chart__tip-value\">{{ row.value }}</span>\n <span class=\"m-section-chart__tip-label\">{{\n row.noTranslate ? row.label : (row.label | translate: row.params)\n }}</span>\n <span class=\"m-section-chart__tip-sub\">{{ row.sub }}</span>\n </span>\n }\n </div>\n }\n</div>\n\n@if (presets().length > 1 && !minimal()) {\n <div class=\"m-section-chart__presets\">\n <m-section-toggle\n [items]=\"presets()\"\n [selectedIndex]=\"presetIndex()\"\n [border]=\"false\"\n (action)=\"selectPreset($event)\"\n >\n <ng-template [mSectionToggleItem]=\"presets()\" let-preset>\n <span class=\"m-section-chart__preset\">{{ preset.label }}</span>\n </ng-template>\n </m-section-toggle>\n </div>\n}\n\n@if (navigatorView(); as nav) {\n <svg\n class=\"m-section-chart__navigator\"\n role=\"slider\"\n tabindex=\"0\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-label]=\"'zoom' | translate\"\n [attr.aria-valuenow]=\"nav.position\"\n [attr.aria-valuetext]=\"windowLabel()\"\n [attr.width]=\"width()\"\n [attr.height]=\"navHeight\"\n [attr.viewBox]=\"navViewBox()\"\n (pointerdown)=\"onNavigatorDown($event)\"\n (pointermove)=\"onNavigatorMove($event)\"\n (pointerup)=\"onNavigatorUp()\"\n (pointercancel)=\"onNavigatorUp()\"\n (keydown)=\"onNavigatorKeydown($event)\"\n >\n <svg:path class=\"m-section-chart__nav-area\" [attr.d]=\"nav.area\" />\n <svg:path class=\"m-section-chart__nav-line\" [attr.d]=\"nav.d\" />\n <svg:line\n class=\"m-section-chart__axis\"\n [attr.x1]=\"left()\"\n [attr.x2]=\"right()\"\n [attr.y1]=\"nav.base\"\n [attr.y2]=\"nav.base\"\n />\n @for (tick of nav.ticks; track $index) {\n <svg:text\n class=\"m-section-chart__tick\"\n text-anchor=\"middle\"\n [attr.x]=\"tick.x\"\n [attr.y]=\"nav.base + 15\"\n >\n {{ tick.label }}\n </svg:text>\n }\n <svg:rect\n class=\"m-section-chart__nav-dim\"\n [attr.x]=\"left()\"\n [attr.y]=\"navTop\"\n [attr.width]=\"nav.start - left()\"\n [attr.height]=\"nav.base - navTop\"\n />\n <svg:rect\n class=\"m-section-chart__nav-dim\"\n [attr.x]=\"nav.end\"\n [attr.y]=\"navTop\"\n [attr.width]=\"right() - nav.end\"\n [attr.height]=\"nav.base - navTop\"\n />\n <svg:rect\n class=\"m-section-chart__nav-window\"\n [attr.x]=\"nav.start\"\n [attr.y]=\"navTop\"\n [attr.width]=\"nav.end - nav.start\"\n [attr.height]=\"nav.base - navTop\"\n />\n <svg:rect\n class=\"m-section-chart__nav-handle\"\n rx=\"2\"\n width=\"6\"\n height=\"20\"\n [attr.x]=\"nav.start - 3\"\n [attr.y]=\"(nav.base + navTop) / 2 - 10\"\n />\n <svg:rect\n class=\"m-section-chart__nav-handle\"\n rx=\"2\"\n width=\"6\"\n height=\"20\"\n [attr.x]=\"nav.end - 3\"\n [attr.y]=\"(nav.base + navTop) / 2 - 10\"\n />\n </svg>\n}\n\n<table class=\"m-section-chart__table\" [id]=\"tableId\">\n <thead>\n <tr>\n <th scope=\"col\">{{ 'date' | translate }}</th>\n @for (column of table().columns; track $index) {\n <th scope=\"col\">\n {{ column.noTranslate ? column.label : (column.label | translate: column.params) }}\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (row of table().rows; track $index) {\n <tr>\n <td>{{ row.date }}</td>\n @for (cell of row.cells; track $index) {\n <td>{{ cell }}</td>\n }\n </tr>\n }\n </tbody>\n</table>\n",
18892
+ styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;position:relative;width:100%;min-width:0}.m-section-chart__top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.5rem 1rem;margin-bottom:.5rem}.m-section-chart__legend{display:grid;gap:.15rem;min-width:0}.m-section-chart__tip-key{display:inline-block;width:.75rem;height:2px;border-radius:1px}.m-section-chart__window{color:var(--m-text-tertiary);font-size:.8rem}:host(.m-section-chart--minimal) .m-section-chart__top{flex-direction:column;gap:.15rem}:host(.m-section-chart--minimal) .m-section-chart__svg{cursor:default}.m-section-chart__plot{position:relative}.m-section-chart__svg{display:block;overflow:visible}.m-section-chart__svg:focus{outline:none}.m-section-chart__svg:focus-visible{outline:2px solid var(--m-focus);outline-offset:4px;border-radius:4px}.m-section-chart__svg.is-measurable{cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.m-section-chart__band{fill:var(--m-text);opacity:.06}.m-section-chart__band-edge{stroke:var(--m-text-secondary);stroke-width:1}.m-section-chart__grid{stroke:var(--m-text-septenary);stroke-width:1}.m-section-chart__grid--zero{stroke:var(--m-text-quinary);stroke-width:1.5}.m-section-chart__axis{stroke:var(--m-text-quinary);stroke-width:1}.m-section-chart__tick{fill:var(--m-text-tertiary);font-size:11px;font-variant-numeric:tabular-nums}.m-section-chart__line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.m-section-chart__dot{stroke:var(--m-background);stroke-width:2}.m-section-chart__cross{stroke:var(--m-text-secondary);stroke-width:1;opacity:.55}.m-section-chart__tip,.m-section-chart__measure{position:absolute;z-index:2;display:grid;gap:.25rem;min-width:10rem;padding:.5rem .625rem;border:1px solid var(--m-backdrop-border);border-radius:.5rem;background:var(--m-background);box-shadow:0 6px 20px var(--m-backdrop-shadow);font-size:.75rem;pointer-events:none}.m-section-chart__tip{top:0;margin-left:.875rem}.m-section-chart__tip--flip{transform:translate(calc(-100% - 1.75rem))}.m-section-chart__measure{bottom:2.25rem}.m-section-chart__measure--flip{transform:translate(-100%)}.m-section-chart__tip-title{color:var(--m-text-secondary);font-weight:600}.m-section-chart__tip-row{display:grid;grid-template-columns:.75rem auto 1fr auto;align-items:center;gap:.5rem}.m-section-chart__tip-value{color:var(--m-text);font-weight:650;font-variant-numeric:tabular-nums}.m-section-chart__tip-label{color:var(--m-text-secondary);white-space:nowrap}.m-section-chart__tip-sub{color:var(--m-text-tertiary);font-variant-numeric:tabular-nums}.m-section-chart__presets{--section-px: 0;margin-top:.5rem}.m-section-chart__preset{font-size:.8rem;font-weight:600;font-variant-numeric:tabular-nums}.m-section-chart__navigator{display:block;margin-top:.25rem;overflow:visible;touch-action:none;-webkit-user-select:none;user-select:none;cursor:pointer}.m-section-chart__navigator:focus{outline:none}.m-section-chart__navigator:focus-visible{outline:2px solid var(--m-focus);outline-offset:4px;border-radius:4px}.m-section-chart__nav-area{fill:var(--m-text-tertiary);opacity:.12}.m-section-chart__nav-line{fill:none;stroke:var(--m-text-tertiary);stroke-width:1.25}.m-section-chart__nav-dim{fill:var(--m-background);opacity:.6}.m-section-chart__nav-window{fill:transparent;stroke:var(--m-text-secondary);stroke-width:1;cursor:grab}.m-section-chart__nav-handle{fill:var(--m-text-secondary);cursor:ew-resize}.m-section-chart__table{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}\n"],
18893
+ dependencies: [
18894
+ {
18895
+ kind: "component",
18896
+ type: SectionToggleComponent,
18897
+ selector: "m-section-toggle",
18898
+ inputs: [
18899
+ "items",
18900
+ "selectedIndex",
18901
+ "border",
18902
+ "sticky"
18903
+ ],
18904
+ outputs: ["selectedIndexChange", "action"]
18905
+ },
18906
+ {
18907
+ kind: "directive",
18908
+ type: SectionToggleItemDirective,
18909
+ selector: "ng-template[mSectionToggleItem]",
18910
+ inputs: ["mSectionToggleItem"]
18911
+ },
18912
+ {
18913
+ kind: "pipe",
18914
+ type: TranslatePipe,
18915
+ name: "translate"
18916
+ }
18917
+ ],
18918
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
18919
+ });
18920
+ };
18921
+ i0.ɵɵngDeclareClassMetadata({
18922
+ minVersion: "12.0.0",
18923
+ version: "22.2.1",
18924
+ ngImport: i0,
18925
+ type: SectionChartComponent,
18926
+ decorators: [{
18927
+ type: Component,
18928
+ args: [{
18929
+ selector: "m-section-chart",
18930
+ imports: [
18931
+ TranslatePipe,
18932
+ SectionToggleComponent,
18933
+ SectionToggleItemDirective
18934
+ ],
18935
+ changeDetection: ChangeDetectionStrategy.OnPush,
18936
+ host: {
18937
+ class: "m-section-chart",
18938
+ "[class.is-design-mode]": "isDesignMode",
18939
+ "[class.m-section-chart--minimal]": "minimal()"
18940
+ },
18941
+ providers: [{
18942
+ provide: SECTION_CHART_CONTEXT,
18943
+ useFactory: () => {
18944
+ const self = inject(SectionChartComponent);
18945
+ return {
18946
+ register: self.register,
18947
+ unregister: self.unregister,
18948
+ legendOf: self.legendOf
18949
+ };
18950
+ }
18951
+ }],
18952
+ template: "<div class=\"m-section-chart__top\">\n <!-- Each series draws its own legend row: the row is the series' element,\n which is what the editor's Canvas selects it by. -->\n <div class=\"m-section-chart__legend\" role=\"list\">\n <ng-content />\n </div>\n @if (periodLabel(); as label) {\n <span class=\"m-section-chart__window\">{{ label }}</span>\n }\n</div>\n\n<div class=\"m-section-chart__plot\">\n <svg\n class=\"m-section-chart__svg\"\n role=\"img\"\n tabindex=\"0\"\n [class.is-measurable]=\"canMeasure()\"\n [attr.width]=\"width()\"\n [attr.height]=\"resolvedHeight()\"\n [attr.viewBox]=\"viewBox()\"\n [attr.aria-label]=\"windowLabel()\"\n [attr.aria-describedby]=\"tableId\"\n (pointerdown)=\"onPlotDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPlotUp()\"\n (pointercancel)=\"onPlotUp()\"\n (pointerleave)=\"clearHover()\"\n (blur)=\"clearHover()\"\n (keydown)=\"onKeydown($event)\"\n >\n @for (tick of yTicks(); track $index) {\n <svg:line\n class=\"m-section-chart__grid\"\n [class.m-section-chart__grid--zero]=\"tick.zero\"\n [attr.x1]=\"left()\"\n [attr.x2]=\"right()\"\n [attr.y1]=\"tick.y\"\n [attr.y2]=\"tick.y\"\n />\n <svg:text\n class=\"m-section-chart__tick\"\n text-anchor=\"end\"\n [attr.x]=\"left() - 8\"\n [attr.y]=\"tick.y + 4\"\n >\n {{ tick.label }}\n </svg:text>\n }\n @if (!minimal()) {\n <svg:line\n class=\"m-section-chart__axis\"\n [attr.x1]=\"left()\"\n [attr.x2]=\"right()\"\n [attr.y1]=\"bottom()\"\n [attr.y2]=\"bottom()\"\n />\n }\n @for (tick of xTicks(); track $index) {\n <svg:text\n class=\"m-section-chart__tick\"\n text-anchor=\"middle\"\n [attr.x]=\"tick.x\"\n [attr.y]=\"bottom() + 18\"\n >\n {{ tick.label }}\n </svg:text>\n }\n @if (measureView(); as band) {\n <svg:rect\n class=\"m-section-chart__band\"\n [attr.x]=\"band.start\"\n [attr.y]=\"top()\"\n [attr.width]=\"band.width\"\n [attr.height]=\"bottom() - top()\"\n />\n <svg:line\n class=\"m-section-chart__band-edge\"\n [attr.x1]=\"band.start\"\n [attr.x2]=\"band.start\"\n [attr.y1]=\"top()\"\n [attr.y2]=\"bottom()\"\n />\n <svg:line\n class=\"m-section-chart__band-edge\"\n [attr.x1]=\"band.start + band.width\"\n [attr.x2]=\"band.start + band.width\"\n [attr.y1]=\"top()\"\n [attr.y2]=\"bottom()\"\n />\n }\n @for (path of paths(); track $index) {\n <svg:path\n class=\"m-section-chart__line\"\n [attr.d]=\"path.d\"\n [style.stroke]=\"path.color\"\n />\n }\n @if (!minimal()) {\n @for (path of paths(); track $index) {\n <svg:circle\n class=\"m-section-chart__dot\"\n r=\"4\"\n [attr.cx]=\"path.endX\"\n [attr.cy]=\"path.endY\"\n [style.fill]=\"path.color\"\n />\n }\n }\n @if (hover(); as h) {\n <svg:line\n class=\"m-section-chart__cross\"\n [attr.x1]=\"h.x\"\n [attr.x2]=\"h.x\"\n [attr.y1]=\"top()\"\n [attr.y2]=\"bottom()\"\n />\n @for (row of h.rows; track $index) {\n <svg:circle\n class=\"m-section-chart__dot\"\n r=\"4\"\n [attr.cx]=\"row.cx\"\n [attr.cy]=\"row.cy\"\n [style.fill]=\"row.color\"\n />\n }\n }\n </svg>\n\n @if (hover(); as h) {\n <div\n class=\"m-section-chart__tip\"\n role=\"status\"\n [class.m-section-chart__tip--flip]=\"h.flip\"\n [style.left.px]=\"h.x\"\n >\n <span class=\"m-section-chart__tip-title\">{{ h.title }}</span>\n @for (row of h.rows; track $index) {\n <span class=\"m-section-chart__tip-row\">\n <span class=\"m-section-chart__tip-key\" [style.background]=\"row.color\"></span>\n <span class=\"m-section-chart__tip-value\">{{ row.value }}</span>\n <span class=\"m-section-chart__tip-label\">{{\n row.noTranslate ? row.label : (row.label | translate: row.params)\n }}</span>\n <span class=\"m-section-chart__tip-sub\">{{ row.sub }}</span>\n </span>\n }\n </div>\n }\n\n @if (measureView()?.card; as card) {\n <div\n class=\"m-section-chart__measure\"\n role=\"status\"\n [class.m-section-chart__measure--flip]=\"card.flip\"\n [style.left.px]=\"card.x\"\n >\n <span class=\"m-section-chart__tip-title\">{{ card.title }}</span>\n @for (row of card.rows; track $index) {\n <span class=\"m-section-chart__tip-row\">\n <span class=\"m-section-chart__tip-key\" [style.background]=\"row.color\"></span>\n <span class=\"m-section-chart__tip-value\">{{ row.value }}</span>\n <span class=\"m-section-chart__tip-label\">{{\n row.noTranslate ? row.label : (row.label | translate: row.params)\n }}</span>\n <span class=\"m-section-chart__tip-sub\">{{ row.sub }}</span>\n </span>\n }\n </div>\n }\n</div>\n\n@if (presets().length > 1 && !minimal()) {\n <div class=\"m-section-chart__presets\">\n <m-section-toggle\n [items]=\"presets()\"\n [selectedIndex]=\"presetIndex()\"\n [border]=\"false\"\n (action)=\"selectPreset($event)\"\n >\n <ng-template [mSectionToggleItem]=\"presets()\" let-preset>\n <span class=\"m-section-chart__preset\">{{ preset.label }}</span>\n </ng-template>\n </m-section-toggle>\n </div>\n}\n\n@if (navigatorView(); as nav) {\n <svg\n class=\"m-section-chart__navigator\"\n role=\"slider\"\n tabindex=\"0\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-label]=\"'zoom' | translate\"\n [attr.aria-valuenow]=\"nav.position\"\n [attr.aria-valuetext]=\"windowLabel()\"\n [attr.width]=\"width()\"\n [attr.height]=\"navHeight\"\n [attr.viewBox]=\"navViewBox()\"\n (pointerdown)=\"onNavigatorDown($event)\"\n (pointermove)=\"onNavigatorMove($event)\"\n (pointerup)=\"onNavigatorUp()\"\n (pointercancel)=\"onNavigatorUp()\"\n (keydown)=\"onNavigatorKeydown($event)\"\n >\n <svg:path class=\"m-section-chart__nav-area\" [attr.d]=\"nav.area\" />\n <svg:path class=\"m-section-chart__nav-line\" [attr.d]=\"nav.d\" />\n <svg:line\n class=\"m-section-chart__axis\"\n [attr.x1]=\"left()\"\n [attr.x2]=\"right()\"\n [attr.y1]=\"nav.base\"\n [attr.y2]=\"nav.base\"\n />\n @for (tick of nav.ticks; track $index) {\n <svg:text\n class=\"m-section-chart__tick\"\n text-anchor=\"middle\"\n [attr.x]=\"tick.x\"\n [attr.y]=\"nav.base + 15\"\n >\n {{ tick.label }}\n </svg:text>\n }\n <svg:rect\n class=\"m-section-chart__nav-dim\"\n [attr.x]=\"left()\"\n [attr.y]=\"navTop\"\n [attr.width]=\"nav.start - left()\"\n [attr.height]=\"nav.base - navTop\"\n />\n <svg:rect\n class=\"m-section-chart__nav-dim\"\n [attr.x]=\"nav.end\"\n [attr.y]=\"navTop\"\n [attr.width]=\"right() - nav.end\"\n [attr.height]=\"nav.base - navTop\"\n />\n <svg:rect\n class=\"m-section-chart__nav-window\"\n [attr.x]=\"nav.start\"\n [attr.y]=\"navTop\"\n [attr.width]=\"nav.end - nav.start\"\n [attr.height]=\"nav.base - navTop\"\n />\n <svg:rect\n class=\"m-section-chart__nav-handle\"\n rx=\"2\"\n width=\"6\"\n height=\"20\"\n [attr.x]=\"nav.start - 3\"\n [attr.y]=\"(nav.base + navTop) / 2 - 10\"\n />\n <svg:rect\n class=\"m-section-chart__nav-handle\"\n rx=\"2\"\n width=\"6\"\n height=\"20\"\n [attr.x]=\"nav.end - 3\"\n [attr.y]=\"(nav.base + navTop) / 2 - 10\"\n />\n </svg>\n}\n\n<table class=\"m-section-chart__table\" [id]=\"tableId\">\n <thead>\n <tr>\n <th scope=\"col\">{{ 'date' | translate }}</th>\n @for (column of table().columns; track $index) {\n <th scope=\"col\">\n {{ column.noTranslate ? column.label : (column.label | translate: column.params) }}\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (row of table().rows; track $index) {\n <tr>\n <td>{{ row.date }}</td>\n @for (cell of row.cells; track $index) {\n <td>{{ cell }}</td>\n }\n </tr>\n }\n </tbody>\n</table>\n",
18953
+ styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;position:relative;width:100%;min-width:0}.m-section-chart__top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.5rem 1rem;margin-bottom:.5rem}.m-section-chart__legend{display:grid;gap:.15rem;min-width:0}.m-section-chart__tip-key{display:inline-block;width:.75rem;height:2px;border-radius:1px}.m-section-chart__window{color:var(--m-text-tertiary);font-size:.8rem}:host(.m-section-chart--minimal) .m-section-chart__top{flex-direction:column;gap:.15rem}:host(.m-section-chart--minimal) .m-section-chart__svg{cursor:default}.m-section-chart__plot{position:relative}.m-section-chart__svg{display:block;overflow:visible}.m-section-chart__svg:focus{outline:none}.m-section-chart__svg:focus-visible{outline:2px solid var(--m-focus);outline-offset:4px;border-radius:4px}.m-section-chart__svg.is-measurable{cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.m-section-chart__band{fill:var(--m-text);opacity:.06}.m-section-chart__band-edge{stroke:var(--m-text-secondary);stroke-width:1}.m-section-chart__grid{stroke:var(--m-text-septenary);stroke-width:1}.m-section-chart__grid--zero{stroke:var(--m-text-quinary);stroke-width:1.5}.m-section-chart__axis{stroke:var(--m-text-quinary);stroke-width:1}.m-section-chart__tick{fill:var(--m-text-tertiary);font-size:11px;font-variant-numeric:tabular-nums}.m-section-chart__line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.m-section-chart__dot{stroke:var(--m-background);stroke-width:2}.m-section-chart__cross{stroke:var(--m-text-secondary);stroke-width:1;opacity:.55}.m-section-chart__tip,.m-section-chart__measure{position:absolute;z-index:2;display:grid;gap:.25rem;min-width:10rem;padding:.5rem .625rem;border:1px solid var(--m-backdrop-border);border-radius:.5rem;background:var(--m-background);box-shadow:0 6px 20px var(--m-backdrop-shadow);font-size:.75rem;pointer-events:none}.m-section-chart__tip{top:0;margin-left:.875rem}.m-section-chart__tip--flip{transform:translate(calc(-100% - 1.75rem))}.m-section-chart__measure{bottom:2.25rem}.m-section-chart__measure--flip{transform:translate(-100%)}.m-section-chart__tip-title{color:var(--m-text-secondary);font-weight:600}.m-section-chart__tip-row{display:grid;grid-template-columns:.75rem auto 1fr auto;align-items:center;gap:.5rem}.m-section-chart__tip-value{color:var(--m-text);font-weight:650;font-variant-numeric:tabular-nums}.m-section-chart__tip-label{color:var(--m-text-secondary);white-space:nowrap}.m-section-chart__tip-sub{color:var(--m-text-tertiary);font-variant-numeric:tabular-nums}.m-section-chart__presets{--section-px: 0;margin-top:.5rem}.m-section-chart__preset{font-size:.8rem;font-weight:600;font-variant-numeric:tabular-nums}.m-section-chart__navigator{display:block;margin-top:.25rem;overflow:visible;touch-action:none;-webkit-user-select:none;user-select:none;cursor:pointer}.m-section-chart__navigator:focus{outline:none}.m-section-chart__navigator:focus-visible{outline:2px solid var(--m-focus);outline-offset:4px;border-radius:4px}.m-section-chart__nav-area{fill:var(--m-text-tertiary);opacity:.12}.m-section-chart__nav-line{fill:none;stroke:var(--m-text-tertiary);stroke-width:1.25}.m-section-chart__nav-dim{fill:var(--m-background);opacity:.6}.m-section-chart__nav-window{fill:transparent;stroke:var(--m-text-secondary);stroke-width:1;cursor:grab}.m-section-chart__nav-handle{fill:var(--m-text-secondary);cursor:ew-resize}.m-section-chart__table{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}\n"]
18954
+ }]
18955
+ }],
18956
+ ctorParameters: () => [],
18957
+ propDecorators: {
18958
+ scale: [{
18959
+ type: i0.Input,
18960
+ args: [{
18961
+ isSignal: true,
18962
+ alias: "scale",
18963
+ required: false
18964
+ }]
18965
+ }],
18966
+ variant: [{
18967
+ type: i0.Input,
18968
+ args: [{
18969
+ isSignal: true,
18970
+ alias: "variant",
18971
+ required: false
18972
+ }]
18973
+ }],
18974
+ displayPeriod: [{
18975
+ type: i0.Input,
18976
+ args: [{
18977
+ isSignal: true,
18978
+ alias: "displayPeriod",
18979
+ required: false
18980
+ }]
18981
+ }],
18982
+ height: [{
18983
+ type: i0.Input,
18984
+ args: [{
18985
+ isSignal: true,
18986
+ alias: "height",
18987
+ required: false
18988
+ }]
18989
+ }],
18990
+ navigator: [{
18991
+ type: i0.Input,
18992
+ args: [{
18993
+ isSignal: true,
18994
+ alias: "navigator",
18995
+ required: false
18996
+ }]
18997
+ }],
18998
+ measure: [{
18999
+ type: i0.Input,
19000
+ args: [{
19001
+ isSignal: true,
19002
+ alias: "measure",
19003
+ required: false
19004
+ }]
19005
+ }],
19006
+ range: [{
19007
+ type: i0.Input,
19008
+ args: [{
19009
+ isSignal: true,
19010
+ alias: "range",
19011
+ required: false
19012
+ }]
19013
+ }, {
19014
+ type: i0.Output,
19015
+ args: ["rangeChange"]
19016
+ }],
19017
+ window: [{
19018
+ type: i0.Input,
19019
+ args: [{
19020
+ isSignal: true,
19021
+ alias: "window",
19022
+ required: false
19023
+ }]
19024
+ }, {
19025
+ type: i0.Output,
19026
+ args: ["windowChange"]
19027
+ }]
19028
+ }
19029
+ });
19030
+ var SectionChartSeriesComponent = class SectionChartSeriesComponent {
19031
+ data = input(void 0, ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
19032
+ x = input("date", ...ngDevMode ? [{ debugName: "x" }] : /* istanbul ignore next */ []);
19033
+ y = input("value", ...ngDevMode ? [{ debugName: "y" }] : /* istanbul ignore next */ []);
19034
+ label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
19035
+ noTranslate = input(false, ...ngDevMode ? [{ debugName: "noTranslate" }] : /* istanbul ignore next */ []);
19036
+ params = input(void 0, ...ngDevMode ? [{ debugName: "params" }] : /* istanbul ignore next */ []);
19037
+ color = input(void 0, ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
19038
+ points = computed(() => readChartPoints(this.data(), this.x(), this.y()), ...ngDevMode ? [{ debugName: "points" }] : /* istanbul ignore next */ []);
19039
+ row;
19040
+ constructor() {
19041
+ const chart = inject(SECTION_CHART_CONTEXT, { optional: true });
19042
+ if (!chart) {
19043
+ this.row = signal(void 0, ...ngDevMode ? [{ debugName: "row" }] : /* istanbul ignore next */ []);
19044
+ return;
19045
+ }
19046
+ const member = {
19047
+ points: this.points,
19048
+ label: this.label,
19049
+ noTranslate: this.noTranslate,
19050
+ params: this.params,
19051
+ color: this.color
19052
+ };
19053
+ chart.register(member);
19054
+ this.row = chart.legendOf(member);
19055
+ inject(DestroyRef).onDestroy(() => chart.unregister(member));
19056
+ }
19057
+ static ɵfac = i0.ɵɵngDeclareFactory({
19058
+ minVersion: "12.0.0",
19059
+ version: "22.2.1",
19060
+ ngImport: i0,
19061
+ type: SectionChartSeriesComponent,
19062
+ deps: [],
19063
+ target: i0.ɵɵFactoryTarget.Component
19064
+ });
19065
+ static ɵcmp = i0.ɵɵngDeclareComponent({
19066
+ minVersion: "17.0.0",
19067
+ version: "22.2.1",
19068
+ type: SectionChartSeriesComponent,
19069
+ isStandalone: true,
19070
+ selector: "m-section-chart-series",
19071
+ inputs: {
19072
+ data: {
19073
+ classPropertyName: "data",
19074
+ publicName: "data",
19075
+ isSignal: true,
19076
+ isRequired: false,
19077
+ transformFunction: null
19078
+ },
19079
+ x: {
19080
+ classPropertyName: "x",
19081
+ publicName: "x",
19082
+ isSignal: true,
19083
+ isRequired: false,
19084
+ transformFunction: null
19085
+ },
19086
+ y: {
19087
+ classPropertyName: "y",
19088
+ publicName: "y",
19089
+ isSignal: true,
19090
+ isRequired: false,
19091
+ transformFunction: null
19092
+ },
19093
+ label: {
19094
+ classPropertyName: "label",
19095
+ publicName: "label",
19096
+ isSignal: true,
19097
+ isRequired: false,
19098
+ transformFunction: null
19099
+ },
19100
+ noTranslate: {
19101
+ classPropertyName: "noTranslate",
19102
+ publicName: "noTranslate",
19103
+ isSignal: true,
19104
+ isRequired: false,
19105
+ transformFunction: null
19106
+ },
19107
+ params: {
19108
+ classPropertyName: "params",
19109
+ publicName: "params",
19110
+ isSignal: true,
19111
+ isRequired: false,
19112
+ transformFunction: null
19113
+ },
19114
+ color: {
19115
+ classPropertyName: "color",
19116
+ publicName: "color",
19117
+ isSignal: true,
19118
+ isRequired: false,
19119
+ transformFunction: null
19120
+ }
19121
+ },
19122
+ host: {
19123
+ attributes: { "role": "listitem" },
19124
+ properties: { "class.is-drawn": "!!row()" },
19125
+ classAttribute: "m-section-chart-series"
19126
+ },
19127
+ ngImport: i0,
19128
+ template: `
19129
+ @if (row(); as legend) {
19130
+ <span
19131
+ class="m-section-chart-series__key"
19132
+ [style.background]="legend.color"
19133
+ ></span>
19134
+ <span class="m-section-chart-series__name">{{
19135
+ noTranslate() ? label() : (label() | translate: params())
19136
+ }}</span>
19137
+ <span
19138
+ class="m-section-chart-series__change"
19139
+ [class.is-up]="legend.trend === 'up'"
19140
+ [class.is-down]="legend.trend === 'down'"
19141
+ >{{ legend.change }}</span
19142
+ >
19143
+ }
19144
+ `,
19145
+ isInline: true,
19146
+ styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:none}:host(.is-drawn){display:grid;grid-template-columns:.75rem minmax(0,1fr) auto;align-items:center;gap:.5rem;font-size:.85rem}.m-section-chart-series__key{display:inline-block;width:.75rem;height:2px;border-radius:1px}.m-section-chart-series__name{color:var(--m-text-secondary)}.m-section-chart-series__change{color:var(--m-text-tertiary);font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.m-section-chart-series__change.is-up{color:var(--m-success)}.m-section-chart-series__change.is-down{color:var(--m-error)}\n"],
19147
+ dependencies: [{
19148
+ kind: "pipe",
19149
+ type: TranslatePipe,
19150
+ name: "translate"
19151
+ }],
19152
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
19153
+ });
19154
+ };
19155
+ i0.ɵɵngDeclareClassMetadata({
19156
+ minVersion: "12.0.0",
19157
+ version: "22.2.1",
19158
+ ngImport: i0,
19159
+ type: SectionChartSeriesComponent,
19160
+ decorators: [{
19161
+ type: Component,
19162
+ args: [{
19163
+ selector: "m-section-chart-series",
19164
+ imports: [TranslatePipe],
19165
+ template: `
19166
+ @if (row(); as legend) {
19167
+ <span
19168
+ class="m-section-chart-series__key"
19169
+ [style.background]="legend.color"
19170
+ ></span>
19171
+ <span class="m-section-chart-series__name">{{
19172
+ noTranslate() ? label() : (label() | translate: params())
19173
+ }}</span>
19174
+ <span
19175
+ class="m-section-chart-series__change"
19176
+ [class.is-up]="legend.trend === 'up'"
19177
+ [class.is-down]="legend.trend === 'down'"
19178
+ >{{ legend.change }}</span
19179
+ >
19180
+ }
19181
+ `,
19182
+ changeDetection: ChangeDetectionStrategy.OnPush,
19183
+ host: {
19184
+ class: "m-section-chart-series",
19185
+ role: "listitem",
19186
+ "[class.is-drawn]": "!!row()"
19187
+ },
19188
+ styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:none}:host(.is-drawn){display:grid;grid-template-columns:.75rem minmax(0,1fr) auto;align-items:center;gap:.5rem;font-size:.85rem}.m-section-chart-series__key{display:inline-block;width:.75rem;height:2px;border-radius:1px}.m-section-chart-series__name{color:var(--m-text-secondary)}.m-section-chart-series__change{color:var(--m-text-tertiary);font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.m-section-chart-series__change.is-up{color:var(--m-success)}.m-section-chart-series__change.is-down{color:var(--m-error)}\n"]
19189
+ }]
19190
+ }],
19191
+ ctorParameters: () => [],
19192
+ propDecorators: {
19193
+ data: [{
19194
+ type: i0.Input,
19195
+ args: [{
19196
+ isSignal: true,
19197
+ alias: "data",
19198
+ required: false
19199
+ }]
19200
+ }],
19201
+ x: [{
19202
+ type: i0.Input,
19203
+ args: [{
19204
+ isSignal: true,
19205
+ alias: "x",
19206
+ required: false
19207
+ }]
19208
+ }],
19209
+ y: [{
19210
+ type: i0.Input,
19211
+ args: [{
19212
+ isSignal: true,
19213
+ alias: "y",
19214
+ required: false
19215
+ }]
19216
+ }],
19217
+ label: [{
19218
+ type: i0.Input,
19219
+ args: [{
19220
+ isSignal: true,
19221
+ alias: "label",
19222
+ required: false
19223
+ }]
19224
+ }],
19225
+ noTranslate: [{
19226
+ type: i0.Input,
19227
+ args: [{
19228
+ isSignal: true,
19229
+ alias: "noTranslate",
19230
+ required: false
19231
+ }]
19232
+ }],
19233
+ params: [{
19234
+ type: i0.Input,
19235
+ args: [{
19236
+ isSignal: true,
19237
+ alias: "params",
19238
+ required: false
19239
+ }]
19240
+ }],
19241
+ color: [{
19242
+ type: i0.Input,
19243
+ args: [{
19244
+ isSignal: true,
19245
+ alias: "color",
19246
+ required: false
19247
+ }]
19248
+ }]
19249
+ }
19250
+ });
17898
19251
  function getTabsClassList(config) {
17899
19252
  if (!config) return "";
17900
19253
  return config.inverse ? "tabs-inverse" : "";
@@ -21993,12 +23346,12 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
21993
23346
  const seq = ++this.dynamicSeq;
21994
23347
  switch (this.config()?.type) {
21995
23348
  case InputType.RADIO: {
21996
- const { RadioInputComponent } = await import("./magmonium-one-radio-BanML2y5.mjs").then((n) => n.n);
23349
+ const { RadioInputComponent } = await import("./magmonium-one-radio-yizQzCrD.mjs").then((n) => n.n);
21997
23350
  this.createDynamicComponent(seq, RadioInputComponent);
21998
23351
  break;
21999
23352
  }
22000
23353
  case InputType.TOGGLE: {
22001
- const { ToggleInputComponent } = await import("./magmonium-one-toggle-C5-GwMSQ.mjs");
23354
+ const { ToggleInputComponent } = await import("./magmonium-one-toggle-BPInV6K-.mjs");
22002
23355
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
22003
23356
  break;
22004
23357
  }
@@ -22008,12 +23361,12 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
22008
23361
  break;
22009
23362
  }
22010
23363
  case InputType.PASSWORD: {
22011
- const { PasswordInputComponent } = await import("./magmonium-one-password-CTnJ9M7d.mjs");
23364
+ const { PasswordInputComponent } = await import("./magmonium-one-password-C7W01COQ.mjs");
22012
23365
  this.createDynamicComponent(seq, PasswordInputComponent);
22013
23366
  break;
22014
23367
  }
22015
23368
  case InputType.OTP: {
22016
- const { OtpInputComponent } = await import("./magmonium-one-otp-BlP0t9w1.mjs");
23369
+ const { OtpInputComponent } = await import("./magmonium-one-otp-AFrgpHdp.mjs");
22017
23370
  this.createDynamicComponent(seq, OtpInputComponent);
22018
23371
  break;
22019
23372
  }
@@ -22023,7 +23376,7 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
22023
23376
  break;
22024
23377
  }
22025
23378
  case InputType.CHECKBOX: {
22026
- const { CheckboxInputComponent } = await import("./magmonium-one-checkbox-CyVd_a7p.mjs").then((n) => n.n);
23379
+ const { CheckboxInputComponent } = await import("./magmonium-one-checkbox-CTRdyVrI.mjs").then((n) => n.n);
22027
23380
  this.createDynamicComponent(seq, CheckboxInputComponent, [], true);
22028
23381
  break;
22029
23382
  }
@@ -22038,12 +23391,12 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
22038
23391
  break;
22039
23392
  }
22040
23393
  case InputType.RANGE: {
22041
- const { RangeInputComponent } = await import("./magmonium-one-range-B_3WiQR7.mjs").then((n) => n.n);
23394
+ const { RangeInputComponent } = await import("./magmonium-one-range-B6JesBOM.mjs").then((n) => n.n);
22042
23395
  this.createDynamicComponent(seq, RangeInputComponent);
22043
23396
  break;
22044
23397
  }
22045
23398
  case InputType.MULTI_RANGE: {
22046
- const { MultiRangeInputComponent } = await import("./magmonium-one-multi-range-mv5rz3uW.mjs").then((n) => n.n);
23399
+ const { MultiRangeInputComponent } = await import("./magmonium-one-multi-range-CDJX9iFR.mjs").then((n) => n.n);
22047
23400
  this.createDynamicComponent(seq, MultiRangeInputComponent);
22048
23401
  break;
22049
23402
  }
@@ -22094,7 +23447,7 @@ var WrapperInputComponent = class WrapperInputComponent extends ConfigComponent
22094
23447
  break;
22095
23448
  }
22096
23449
  default: {
22097
- const { TextInputComponent } = await import("./magmonium-one-text-DDA0gCOd.mjs").then((n) => n.n);
23450
+ const { TextInputComponent } = await import("./magmonium-one-text-DT9ia02A.mjs").then((n) => n.n);
22098
23451
  this.createDynamicComponent(seq, TextInputComponent);
22099
23452
  break;
22100
23453
  }
@@ -24481,7 +25834,7 @@ var FileUploadInputComponent = class FileUploadInputComponent extends BaseInputC
24481
25834
  openEditor = async (file, size) => {
24482
25835
  const modalStore = this.modalStore;
24483
25836
  if (!modalStore) return void 0;
24484
- const { ImageEditorComponent } = await import("./magmonium-one-image-editor-CKx7BRVF.mjs");
25837
+ const { ImageEditorComponent } = await import("./magmonium-one-image-editor-FomMDHZl.mjs");
24485
25838
  const ratio = String(this.config()?.ratio ?? "");
24486
25839
  return new Promise((resolve) => {
24487
25840
  const modalRef = new ModalRef();
@@ -52172,6 +53525,6 @@ i0.ɵɵngDeclareClassMetadata({
52172
53525
  }]
52173
53526
  }
52174
53527
  });
52175
- export { ACCESS_DOMAINS, APP_CONTEXT_REF, APP_LINK, APP_LOGO_ICON, APP_LOGO_SOURCE, APP_THEME_COLOR, ASSET_BASE_URL, AUDIENCE_ICONS, AUDIENCE_LEVELS, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppAvailability, AppCardComponent, AppIdentityService, AppLogoComponent, AppLogoState, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AudiencePickerBoxComponent, AudiencePickerComponent, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, BrowserLocaleService, ButtonComponent, ButtonGroupComponent, CALLING_APP_HEADER, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxGroupComponent, CheckboxInputComponent, ClearableInputComponent, ClipboardService, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_AUDIENCE, DEFAULT_DENIAL, DEFAULT_DOC_ALIGN, DEFAULT_DOC_DENSITY, DEFAULT_DOC_VARIANT, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DOCK_MIN_PAGE_REMAINDER, DOCS_FOLDER, DOC_ACTION_ICONS, DOC_ALIGNS, DOC_DENSITIES, DOC_EDIT_ACTIONS, DOC_TOOLBAR_GROUPS, DOC_VARIANTS, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DocComponent, DocEditorComponent, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HOST_SESSION, HeaderComponent, HeatSwatchComponent, HighlightDirective, HttpService, HttpSharingClient, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOADING_ACTIONS_REF, LOGIN_COMPONENT, LOGIN_STORE, LOGO_GLYPH_MAX_BYTES, LanguageComponent, ListComponent, LogoComponent, LogoGlyphInputComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MOUNT_STATIC_SEGMENT, MOUNT_TOKEN, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MarginDirective, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MultiselectInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PLUGIN_FALLBACK_LANG, PLUGIN_OUTPUT_EVENT, PLUGIN_SCREENS, PaddingDirective, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PluginComponent, PluginInputComponent, PluginOutputComponent, PositionDirective, PwaInstallComponent, RECENT_SEARCH_LIMIT, REMOTE_BOOT_TIMEOUT_MS, REMOTE_PAGE_RELOAD, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_ANSWER_KEY, SEARCH_LABEL_KEY, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SECTION_TABLE_VARIANTS, SHARED_ICONS, SHARING_CLIENT, SIZE_CONTEXT, SPACING_INWARD, SPLASH_ID, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTableCellComponent, SectionTableComponent, SectionTableRowComponent, SectionTableSortPipe, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_BUNDLE, WC_NAVIGATE_EVENT, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, activeElementWithin, allowedCodes, anchorNavId, appColorBrand, appLogoShadowColor, appThemeColorFactory, applyColorsToElement, applyDocEdit, assetOptions, baseUnderHost, bootstrapMagApp, bootstrapPwaInstall, browserLocale, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkDoc, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createLoadingState, createMap, createPlatformNavMap, createPluginElement, definePluginScreens, definedWcBundleOf, definedWcTierOf, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, docActionKey, docAssetCandidates, docProblemKey, docRemotePath, emailValidation, escapeHtml, evaluate, evaluateBool, exposeScreens, exposedScreensOf, fieldBoolean, fieldNumber, fieldString, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, heatColor, heatShare, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectDefaultDenial, injectInstallApp, injectParentSize, injectScrollSticky, isBootRedirect, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLightAppColor, isLoadingComputed, isLocalhost, isNavCountConfig, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isPlatformPanelNavId, isReadableOn, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, logoGlyphMaskUrl, mInterceptor, manualValidation, matchFieldValidation, matchMount, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkInlineToHtml, miniMarkToHtml, mountFor, mountPatternProblem, mountPatternText, mountSegmentOf, mountTokenOf, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navTailMatcher, navToId, navVisibilityGuard, nextSectionTableSort, normalizeAppColor, normalizeAssetOptions, offsetOfLine, outletPathOf, outletSegmentsOf, paintAppColor, parentNavId, parseAddress, parseColor, parseMountPattern, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, pickCount, pickSupportedLanguage, picksMembers, platformNavWidgets, pluginTag, presetDefaultOption, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, providePluginRuntime, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, readableAppColor, rebuildLogoGlyph, recordDefinedWcTier, registerSessionRenewal, remoteOutletRoute, renderAddress, renderDocument, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, resolveSpacing, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, sectionTableColumnId, sectionTableColumnWidths, sectionTableFrozenCount, segmentsToNavId, setProperty, setTreeGridChildren, setWcLocalPort, setWcTier, settingsWidgets, shouldShowBadge, sortSectionTableRows, splashHtml, splitNavId, splitOnMatch, splitPath, stringToColor, tailRouteOf, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleGroup, toggleTreeGridRow, toggleUid, unfetchedPlatformNav, ungroupedDocActions, urlValidation, wcLocalBaseOf, wcTierOf, withLevel };
53528
+ export { ACCESS_DOMAINS, APP_CONTEXT_REF, APP_LINK, APP_LOGO_ICON, APP_LOGO_SOURCE, APP_THEME_COLOR, ASSET_BASE_URL, AUDIENCE_ICONS, AUDIENCE_LEVELS, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppAvailability, AppCardComponent, AppIdentityService, AppLogoComponent, AppLogoState, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AudiencePickerBoxComponent, AudiencePickerComponent, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, BrowserLocaleService, ButtonComponent, ButtonGroupComponent, CALLING_APP_HEADER, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxGroupComponent, CheckboxInputComponent, ClearableInputComponent, ClipboardService, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_AUDIENCE, DEFAULT_DENIAL, DEFAULT_DOC_ALIGN, DEFAULT_DOC_DENSITY, DEFAULT_DOC_VARIANT, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SECTION_CHART_RANGES, DEFAULT_SIZE, DOCK_MIN_PAGE_REMAINDER, DOCS_FOLDER, DOC_ACTION_ICONS, DOC_ALIGNS, DOC_DENSITIES, DOC_EDIT_ACTIONS, DOC_TOOLBAR_GROUPS, DOC_VARIANTS, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DocComponent, DocEditorComponent, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HOST_SESSION, HeaderComponent, HeatSwatchComponent, HighlightDirective, HttpService, HttpSharingClient, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOADING_ACTIONS_REF, LOGIN_COMPONENT, LOGIN_STORE, LOGO_GLYPH_MAX_BYTES, LanguageComponent, ListComponent, LogoComponent, LogoGlyphInputComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MOUNT_STATIC_SEGMENT, MOUNT_TOKEN, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MarginDirective, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MultiselectInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PLUGIN_FALLBACK_LANG, PLUGIN_OUTPUT_EVENT, PLUGIN_SCREENS, PaddingDirective, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PluginComponent, PluginInputComponent, PluginOutputComponent, PositionDirective, PwaInstallComponent, RECENT_SEARCH_LIMIT, REMOTE_BOOT_TIMEOUT_MS, REMOTE_PAGE_RELOAD, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_ANSWER_KEY, SEARCH_LABEL_KEY, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_CHART_CUSTOM_RANGE, SECTION_CHART_SCALES, SECTION_FORM_CONTEXT, SECTION_TABLE_VARIANTS, SHARED_ICONS, SHARING_CLIENT, SIZE_CONTEXT, SPACING_INWARD, SPLASH_ID, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionChartComponent, SectionChartSeriesComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTableCellComponent, SectionTableComponent, SectionTableRowComponent, SectionTableSortPipe, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_BUNDLE, WC_NAVIGATE_EVENT, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, activeElementWithin, allowedCodes, anchorNavId, appColorBrand, appLogoShadowColor, appThemeColorFactory, applyColorsToElement, applyDocEdit, assetOptions, baseUnderHost, bootstrapMagApp, bootstrapPwaInstall, browserLocale, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkDoc, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createLoadingState, createMap, createPlatformNavMap, createPluginElement, definePluginScreens, definedWcBundleOf, definedWcTierOf, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, docActionKey, docAssetCandidates, docProblemKey, docRemotePath, emailValidation, escapeHtml, evaluate, evaluateBool, exposeScreens, exposedScreensOf, fieldBoolean, fieldNumber, fieldString, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, heatColor, heatShare, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectDefaultDenial, injectInstallApp, injectParentSize, injectScrollSticky, isBootRedirect, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLightAppColor, isLoadingComputed, isLocalhost, isNavCountConfig, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isPlatformPanelNavId, isReadableOn, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, logoGlyphMaskUrl, mInterceptor, manualValidation, matchFieldValidation, matchMount, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkInlineToHtml, miniMarkToHtml, mountFor, mountPatternProblem, mountPatternText, mountSegmentOf, mountTokenOf, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navTailMatcher, navToId, navVisibilityGuard, nextSectionTableSort, normalizeAppColor, normalizeAssetOptions, offsetOfLine, outletPathOf, outletSegmentsOf, paintAppColor, parentNavId, parseAddress, parseColor, parseMountPattern, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, pickCount, pickSupportedLanguage, picksMembers, platformNavWidgets, pluginTag, presetDefaultOption, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, providePluginRuntime, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readChartPoints, readFieldPatterns, readableAppColor, rebuildLogoGlyph, recordDefinedWcTier, registerSessionRenewal, remoteOutletRoute, renderAddress, renderDocument, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, resolveSpacing, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, sectionTableColumnId, sectionTableColumnWidths, sectionTableFrozenCount, segmentsToNavId, setProperty, setTreeGridChildren, setWcLocalPort, setWcTier, settingsWidgets, shouldShowBadge, sortSectionTableRows, splashHtml, splitNavId, splitOnMatch, splitPath, stringToColor, tailRouteOf, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleGroup, toggleTreeGridRow, toggleUid, unfetchedPlatformNav, ungroupedDocActions, urlValidation, wcLocalBaseOf, wcTierOf, withLevel };
52176
53529
 
52177
53530
  //# sourceMappingURL=magmonium-one.mjs.map