@magmonium/one 0.2.35 → 0.2.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{magmonium-one-magmonium-one-DwGh5jaB.mjs → magmonium-one-magmonium-one-BiogYqpG.mjs} +33 -14
- package/fesm2022/magmonium-one-magmonium-one-BiogYqpG.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-BeMIPFGz.mjs → magmonium-one-otp-B4nZEh_m.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-BeMIPFGz.mjs.map → magmonium-one-otp-B4nZEh_m.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-Bok5-DJu.mjs → magmonium-one-password-MtQpTJX1.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-Bok5-DJu.mjs.map → magmonium-one-password-MtQpTJX1.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-CJXOeVOK.mjs → magmonium-one-toggle-F27rRHhf.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-CJXOeVOK.mjs.map → magmonium-one-toggle-F27rRHhf.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/fesm2022/magmonium-one-magmonium-one-DwGh5jaB.mjs.map +0 -1
|
@@ -4192,20 +4192,39 @@ const NavStore = signalStore({ providedIn: 'root' }, withState(initialState$3),
|
|
|
4192
4192
|
const back = () => {
|
|
4193
4193
|
if (!untracked(() => store.isNavOpened()))
|
|
4194
4194
|
return;
|
|
4195
|
-
const
|
|
4196
|
-
|
|
4195
|
+
const murl = untracked(() => store.murl());
|
|
4196
|
+
// One Murl segment off the Address we are on, keeping the Anchor. Read
|
|
4197
|
+
// from the Address rather than resolved through the map: an anchored
|
|
4198
|
+
// panel's NavId (`root_page_settings_user`) names no node, so asking the
|
|
4199
|
+
// map whether the parent is still a Murl answered no and sent a route
|
|
4200
|
+
// path nothing matched — the `**` redirect then landed on home.
|
|
4201
|
+
if (murl.length > 1) {
|
|
4202
|
+
const path = untracked(() => store.path());
|
|
4203
|
+
const base = path === URL_SEP ? URL_SEP : path.replace(/\/$/, '');
|
|
4204
|
+
router.navigateByUrl(`${base}${MURL_SEP}${murl.slice(0, -1).join(MURL_SEP)}`, { replaceUrl: true });
|
|
4197
4205
|
return;
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4206
|
+
}
|
|
4207
|
+
// The last Murl closes menu space and leaves the page we opened over,
|
|
4208
|
+
// panel still up so the menu follows the trail instead of vanishing.
|
|
4209
|
+
if (murl.length === 1) {
|
|
4210
|
+
patchState(store, {
|
|
4211
|
+
navOpenedByUser: true,
|
|
4212
|
+
keepPanelOnPathChange: true,
|
|
4213
|
+
});
|
|
4214
|
+
router.navigateByUrl(untracked(() => store.path()), {
|
|
4215
|
+
replaceUrl: true,
|
|
4216
|
+
});
|
|
4202
4217
|
return;
|
|
4203
4218
|
}
|
|
4219
|
+
// Icon-opened over a page: "up" is the Url tree's own step.
|
|
4220
|
+
const parent = parentNavId(untracked(() => store.id()));
|
|
4221
|
+
if (!parent)
|
|
4222
|
+
return;
|
|
4204
4223
|
patchState(store, {
|
|
4205
4224
|
navOpenedByUser: true,
|
|
4206
4225
|
keepPanelOnPathChange: true,
|
|
4207
4226
|
});
|
|
4208
|
-
router.navigateByUrl(
|
|
4227
|
+
router.navigateByUrl(addressFor(parent), { replaceUrl: true });
|
|
4209
4228
|
};
|
|
4210
4229
|
const loadNav = rxMethod(pipe(filter((req) => !!req.navId), tap(() => untracked(() => patchState(store, { navLoading: true }))), switchMap$1(({ navId, appNavId }) => getNavService
|
|
4211
4230
|
.getNav(navId, untracked(() => store.navMap()), {
|
|
@@ -6623,7 +6642,7 @@ class SectionFormItemComponent extends ConfigComponent {
|
|
|
6623
6642
|
break;
|
|
6624
6643
|
}
|
|
6625
6644
|
case InputType.TOGGLE: {
|
|
6626
|
-
const { ToggleInputComponent } = await import('./magmonium-one-toggle-
|
|
6645
|
+
const { ToggleInputComponent } = await import('./magmonium-one-toggle-F27rRHhf.mjs');
|
|
6627
6646
|
this.createDynamicComponent(seq, ToggleInputComponent, [], true);
|
|
6628
6647
|
break;
|
|
6629
6648
|
}
|
|
@@ -6635,12 +6654,12 @@ class SectionFormItemComponent extends ConfigComponent {
|
|
|
6635
6654
|
break;
|
|
6636
6655
|
}
|
|
6637
6656
|
case InputType.PASSWORD: {
|
|
6638
|
-
const { PasswordInputComponent } = await import('./magmonium-one-password-
|
|
6657
|
+
const { PasswordInputComponent } = await import('./magmonium-one-password-MtQpTJX1.mjs');
|
|
6639
6658
|
this.createDynamicComponent(seq, PasswordInputComponent);
|
|
6640
6659
|
break;
|
|
6641
6660
|
}
|
|
6642
6661
|
case InputType.OTP: {
|
|
6643
|
-
const { OtpInputComponent } = await import('./magmonium-one-otp-
|
|
6662
|
+
const { OtpInputComponent } = await import('./magmonium-one-otp-B4nZEh_m.mjs');
|
|
6644
6663
|
this.createDynamicComponent(seq, OtpInputComponent);
|
|
6645
6664
|
break;
|
|
6646
6665
|
}
|
|
@@ -20043,7 +20062,7 @@ class WrapperInputComponent extends ConfigComponent {
|
|
|
20043
20062
|
break;
|
|
20044
20063
|
}
|
|
20045
20064
|
case InputType.TOGGLE: {
|
|
20046
|
-
const { ToggleInputComponent } = await import('./magmonium-one-toggle-
|
|
20065
|
+
const { ToggleInputComponent } = await import('./magmonium-one-toggle-F27rRHhf.mjs');
|
|
20047
20066
|
this.createDynamicComponent(seq, ToggleInputComponent, [], true);
|
|
20048
20067
|
break;
|
|
20049
20068
|
}
|
|
@@ -20055,12 +20074,12 @@ class WrapperInputComponent extends ConfigComponent {
|
|
|
20055
20074
|
break;
|
|
20056
20075
|
}
|
|
20057
20076
|
case InputType.PASSWORD: {
|
|
20058
|
-
const { PasswordInputComponent } = await import('./magmonium-one-password-
|
|
20077
|
+
const { PasswordInputComponent } = await import('./magmonium-one-password-MtQpTJX1.mjs');
|
|
20059
20078
|
this.createDynamicComponent(seq, PasswordInputComponent);
|
|
20060
20079
|
break;
|
|
20061
20080
|
}
|
|
20062
20081
|
case InputType.OTP: {
|
|
20063
|
-
const { OtpInputComponent } = await import('./magmonium-one-otp-
|
|
20082
|
+
const { OtpInputComponent } = await import('./magmonium-one-otp-B4nZEh_m.mjs');
|
|
20064
20083
|
this.createDynamicComponent(seq, OtpInputComponent);
|
|
20065
20084
|
break;
|
|
20066
20085
|
}
|
|
@@ -34280,4 +34299,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
34280
34299
|
*/
|
|
34281
34300
|
|
|
34282
34301
|
export { DEFAULT_NAV_SEGMENT as $, ACCESS_DOMAINS as A, BaseInputComponent as B, COMPONENT_INPUT_REGISTRY as C, CardComponent as D, CardWrapperComponent as E, CarouselComponent as F, ChartComponent as G, CheckboxInputComponent as H, IS_DESIGN_MODE as I, ClearableInputComponent as J, ColComponent as K, LabelComponent as L, ColorPickerInputComponent as M, CommentItemComponent as N, CommentsApiService as O, CommentsComponent as P, CommentsStore as Q, ComponentInputComponent as R, ComponentStepperComponent as S, TranslatePipe as T, ConfigComponent as U, ConfirmComponent as V, ContextMenuComponent as W, CustomIconClass as X, CustomIconEditComponent as Y, DEFAULT_FILTER_RANGE_MODE as Z, DEFAULT_FILTER_VARIANT as _, BaseTextInputComponent as a, NAV_ID_SEP as a$, DEFAULT_SIZE as a0, DashboardCardComponent as a1, DateInputComponent as a2, DatePickerComponent as a3, DeviceService as a4, DomService as a5, Domain as a6, DotGridComponent as a7, DragListDirective as a8, DragListItemDirective as a9, InstrumentScoreComponent as aA, InterceptorObservables as aB, JumbotronComponent as aC, KeyValueComponent as aD, LAYOUT_ASSET_FOLDER as aE, LOGIN_COMPONENT as aF, LOGIN_STORE as aG, LanguageComponent as aH, LogoComponent as aI, MAG_SOCKET_EVENT as aJ, MHeroColorDirective as aK, MHeroComponent as aL, MODAL_REF as aM, MODAL_STORE_REF as aN, MRefDirective as aO, MStepComponent as aP, MURL_PARAM as aQ, MURL_SEP as aR, ManifestEnrichmentService as aS, MenuComponent as aT, ModalDirective as aU, ModalRef as aV, ModalStore as aW, MoneyPipe as aX, MultiRangeInputComponent as aY, MurlUrlSerializer as aZ, NAV_DEFAULT_MURL as a_, DraggableDirective as aa, DropdownInputComponent as ab, FILTER_GROUP_CONTEXT as ac, FILTER_RANGE_MODES as ad, FILTER_VARIANTS as ae, FLEX_VARIANTS as af, FOLDER_PICK_LISTENER as ag, FORM_ASSET_FOLDER as ah, FileService as ai, FileUploadDirective as aj, FileUploadInputComponent as ak, FlexComponent as al, FlexItemComponent as am, FormGroupComponent as an, FrameComponent as ao, FreezeService as ap, GRID_BREAKPOINTS as aq, GetNavService as ar, HeaderComponent$1 as as, HighlightDirective as at, HttpService as au, ICON_SOURCE as av, IS_SIDE_PANEL as aw, IconComponent as ax, ImgComponent as ay, InputType as az, TextOutputComponent as b, SectionBadgesComponent as b$, NAV_MAIN_BUTTONS as b0, NAV_SEGMENT_RE as b1, NAV_STORE_REF as b2, NAV_WC_COMPONENTS as b3, NAV_WIDGET_MAP as b4, NavComponent as b5, NavDetailsComponent as b6, NavHeaderComponent as b7, NavMenuComponent as b8, NavStore as b9, PwaInstallComponent as bA, ROOT_NAV$1 as bB, RadioGroupComponent as bC, RadioInputComponent as bD, RangeInputComponent as bE, RatingInputComponent as bF, ReactiveElementComponent as bG, RemoteComponent as bH, RemoteLoaderService as bI, ResizeElementComponent as bJ, RouteContainer as bK, RowComponent as bL, SEARCH_QUERY as bM, SEARCH_RESULTS_EVENT as bN, SECTION_ACCORDION_GROUP as bO, SECTION_FORM_CONTEXT as bP, SHARED_ICONS as bQ, SIZE_CONTEXT as bR, ScoreComponent as bS, ScrollComponent as bT, ScrollService as bU, SearchPanelComponent as bV, SearchStore as bW, SearchUserPanelComponent as bX, SectionAccordionDirective as bY, SectionAccordionGroupDirective as bZ, SectionBackComponent as b_, NavTrailComponent as ba, NothingComponent as bb, NotificationElementComponent as bc, NotificationGroupComponent as bd, NotificationPopupComponent as be, NotificationService as bf, NotificationStore as bg, NotificationType as bh, NotificationWidgetComponent as bi, ONE_ASSET_BASE_URL as bj, OPTIONS_SOURCE as bk, OVERLAY_WIDGETS as bl, OneApp as bm, OptionsSourceDirective as bn, OverlayBodyComponent as bo, OverlayRef as bp, OverlayService as bq, PLATFORM_BUTTON_NAV_IDS as br, PLATFORM_EXTENSIBLE_NAV_IDS as bs, PLATFORM_NAV_MAP as bt, PLATFORM_ROOT_CHILDREN as bu, PaginationComponent as bv, PanelComponent as bw, PercentagePipe as bx, PlaygroundComponent as by, PositionDirective as bz, ButtonComponent as c, UlComponent as c$, SectionButtonGroupComponent as c0, SectionCardComponent as c1, SectionCarouselComponent as c2, SectionComponent as c3, SectionFilterComponent as c4, SectionFilterGroupComponent as c5, SectionFilterMenuComponent as c6, SectionFilterPanelComponent as c7, SectionFilterRangePanelComponent as c8, SectionFooterComponent as c9, StrokeLinejoin as cA, SummaryComponent as cB, SvgGeneratorComponent as cC, SvgGeneratorService as cD, SvgService as cE, TOTAL_COLUMNS as cF, TRANSLATION_SOURCE as cG, TableComponent as cH, TechnicalMeterComponent as cI, TextInputComponent as cJ, TextareaInputComponent as cK, ThemeComponent as cL, ThemeDataService as cM, ThemeService as cN, ThemeStore as cO, TimeAgoPipe as cP, TimelineComponent as cQ, ToggleButtonComponent as cR, ToggleInputComponent as cS, ToggleRadioInputComponent as cT, ToolTipDirective as cU, TooltipComponent as cV, TranslateService as cW, TreeGridComponent as cX, URL_SEP as cY, USER_STORE_REF as cZ, USER_TAB_MAP as c_, SectionFormComponent as ca, SectionFormItemComponent as cb, SectionHeaderComponent as cc, SectionHeroComponent as cd, SectionPaginationComponent as ce, SectionSearchComponent as cf, SectionStepperComponent as cg, SectionTabsComponent as ch, SectionToggleComponent as ci, SectionToggleItemDirective as cj, SelectableCardInputComponent as ck, SelectorDirective as cl, SettingsSearchBarComponent as cm, SettingsSearchService as cn, ShapeComponent as co, SharedStoreRegistry as cp, SidePanelDirective as cq, Size as cr, SocketStore as cs, SortComponent as ct, StatComponent as cu, StepComponent as cv, StepperComponent as cw, StepsComponent as cx, StorageService as cy, StrokeLinecap as cz, APP_CONTEXT_REF as d, hexToRgb as d$, UniverseComponent as d0, UserApiService as d1, UserAvatarComponent as d2, UserComponent as d3, UserNavComponent as d4, UserSettingsComponent as d5, UserStore as d6, WC_ROUTE_CHANGED_EVENT as d7, WC_SEARCH_GROUPS as d8, WIN_USER_TAB_HOOK as d9, evaluate as dA, evaluateBool as dB, filterHoldsList as dC, filterHoldsOneBound as dD, filterHoldsOptions as dE, filterHoldsRange as dF, filterList as dG, filterOne as dH, filterPanelOf as dI, filterPanelWidth as dJ, filterRange as dK, filterTreeGridRows as dL, filterValueList as dM, filterValues as dN, flattenTreeGridRows as dO, formatBadgeCount as dP, fullName as dQ, generateClipPath as dR, generateTransform as dS, getClassList as dT, getProperty as dU, getScrollParent as dV, getTierFromPreviewPath as dW, getTreeGridRow as dX, getUniqueId as dY, getValue as dZ, hasErrorComputed as d_, WIN_USER_TAB_KEY as da, WatermarkComponent as db, WcRouterStore as dc, WrapperInputComponent as dd, anchorNavId as de, applyColorsToElement as df, bootstrapMagApp as dg, bootstrapPwaInstall as dh, buildWcBaseUrl as di, calculateLuminance as dj, calculateRanks as dk, cellText as dl, checkFilterCondition as dm, childNavId as dn, classListSignal as dp, coerceSize as dq, cornerEdge as dr, cornerSide as ds, createMap as dt, createPlatformNavMap as du, deriveAvatarGradient as dv, deriveContrastColor as dw, deriveOppositeColor as dx, derivePropertyName as dy, emailValidation as dz, ASSET_BASE_URL as e, provideSizeContext as e$, hslToRgb$1 as e0, initMagmoniumApp as e1, initialNotificationState as e2, initialState$2 as e3, initials as e4, injectAuthenticate as e5, injectInstallApp as e6, injectParentSize as e7, injectScrollSticky as e8, isButtonName as e9, minValidation as eA, miniMarkToHtml as eB, navIdChain as eC, navIdFor as eD, navIdSegment as eE, navIdToRoutePath as eF, navIdToSegments as eG, navToId as eH, parentNavId as eI, parseAddress as eJ, parseColor as eK, parsePatternNames as eL, patternValidation as eM, patternsValidation as eN, platformNavWidgets as eO, privateGuard as eP, processImageToSvg as eQ, provideAppContext as eR, provideMagAppConfig as eS, provideMagWcConfig as eT, provideMagWcRoutes as eU, provideModalComponents as eV, provideMurlUrlSerializer as eW, provideNavWidgets as eX, provideOverlayWidgets as eY, providePlatformNavWidgets as eZ, provideSearch as e_, isCancelledComputed as ea, isExtensiblePlatformNavId as eb, isJson as ec, isLoadingComputed as ed, isLocalhost as ee, isPlatformNavId as ef, isSize as eg, isTierPreview as eh, isUrlLocalhost as ei, isValidNavId as ej, isValidNavSegment as ek, isWebComponent as el, linkToId as em, linkToNav as en, loadingActions as eo, mInterceptor as ep, manualValidation as eq, matchFieldValidation as er, maxLengthValidation as es, maxValidation as et, mergePlatformNav as eu, mergeUnique as ev, mergeUniqueBy as ew, mergeUniqueWith as ex, minAgeValidation as ey, minLengthValidation as ez, AccordionBodyDirective as f, provideUserTabs as f0, publicGuard as f1, readFieldPatterns as f2, renderAddress as f3, requiredValidation as f4, resolveConfigAsset as f5, resolveIconSize as f6, resolvePallet as f7, resolvePatternRules as f8, resolveSize as f9, rgbToHex as fa, rgbToHsl as fb, rowHasChildren as fc, samePatterns as fd, segmentsToNavId as fe, setProperty as ff, setTreeGridChildren as fg, settingsWidgets as fh, shouldShowBadge as fi, splitNavId as fj, splitOnMatch as fk, stringToColor as fl, toAttrBool as fm, toAttrNumber as fn, toCssLength as fo, toHostNavId as fp, toLength$1 as fq, toLocalNavId as fr, toggleTreeGridRow as fs, unfetchedPlatformNav as ft, urlValidation as fu, AccordionComponent as g, AccordionGroupComponent as h, ActionComponent as i, AnimatedGraphsComponent as j, AppCardComponent as k, AppRelationType as l, AppTileComponent as m, AssetStore as n, AssetUrlPipe as o, Assets as p, AuthActivityPageComponent as q, AuthApiService as r, AuthStore as s, AutosizeDirective as t, BadgeComponent as u, BandingComponent as v, BaseArrayInputComponent as w, BaseRootWebComponent as x, BaseWebComponent as y, ButtonGroupComponent as z };
|
|
34283
|
-
//# sourceMappingURL=magmonium-one-magmonium-one-
|
|
34302
|
+
//# sourceMappingURL=magmonium-one-magmonium-one-BiogYqpG.mjs.map
|