@magmonium/one 0.0.13 → 0.0.14
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-BJ_kXOSA.mjs → magmonium-one-magmonium-one-CU6BDsTt.mjs} +34 -19
- package/fesm2022/magmonium-one-magmonium-one-CU6BDsTt.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-C6GWhHT7.mjs → magmonium-one-otp-CjaoMmR4.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-C6GWhHT7.mjs.map → magmonium-one-otp-CjaoMmR4.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-BeF1Dk60.mjs → magmonium-one-password-kzejKmgH.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-BeF1Dk60.mjs.map → magmonium-one-password-kzejKmgH.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-DSLTZJT7.mjs → magmonium-one-toggle-MPvDJgJL.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-DSLTZJT7.mjs.map → magmonium-one-toggle-MPvDJgJL.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/fesm2022/magmonium-one-magmonium-one-BJ_kXOSA.mjs.map +0 -1
|
@@ -3828,15 +3828,29 @@ const NavStore = signalStore({ providedIn: 'root' }, withState(initialState$2),
|
|
|
3828
3828
|
remoteWidgets: { ...state.remoteWidgets, [appLink]: entry },
|
|
3829
3829
|
}));
|
|
3830
3830
|
};
|
|
3831
|
-
/**
|
|
3831
|
+
/**
|
|
3832
|
+
* In-panel "up". Always changes the Address to the parent. Replaces, so
|
|
3833
|
+
* the browser back button still closes the whole panel. Leaving Murl
|
|
3834
|
+
* space (or stepping while icon-opened) keeps the panel open so the menu
|
|
3835
|
+
* follows the trail instead of closing (same exception as AppLogo).
|
|
3836
|
+
*/
|
|
3832
3837
|
const back = () => {
|
|
3833
|
-
|
|
3834
|
-
if (!murl.length)
|
|
3838
|
+
if (!untracked(() => store.isNavOpened()))
|
|
3835
3839
|
return;
|
|
3836
3840
|
const parent = parentNavId(untracked(() => store.id()));
|
|
3837
3841
|
if (!parent)
|
|
3838
3842
|
return;
|
|
3839
|
-
|
|
3843
|
+
const address = addressFor(parent);
|
|
3844
|
+
const parentStillMurl = untracked(() => splitNavId(parent, store.navMap()).murl.length > 0);
|
|
3845
|
+
if (parentStillMurl) {
|
|
3846
|
+
router.navigateByUrl(address, { replaceUrl: true });
|
|
3847
|
+
return;
|
|
3848
|
+
}
|
|
3849
|
+
patchState(store, {
|
|
3850
|
+
navOpenedByUser: true,
|
|
3851
|
+
keepPanelOnPathChange: true,
|
|
3852
|
+
});
|
|
3853
|
+
router.navigateByUrl(address, { replaceUrl: true });
|
|
3840
3854
|
};
|
|
3841
3855
|
const loadNav = rxMethod(pipe(filter((req) => !!req.navId), tap(() => untracked(() => patchState(store, { navLoading: true }))), switchMap$1(({ navId, appNavId }) => getNavService
|
|
3842
3856
|
.getNav(navId, untracked(() => store.navMap()), {
|
|
@@ -8673,6 +8687,13 @@ function getCursor({ direction }) {
|
|
|
8673
8687
|
}
|
|
8674
8688
|
}
|
|
8675
8689
|
|
|
8690
|
+
/** Buttons/links inside a handle must keep their click — not start a drag. */
|
|
8691
|
+
const INTERACTIVE_SELECTOR = 'button, a, input, textarea, select, [contenteditable="true"]';
|
|
8692
|
+
const shouldIgnorePointer = (target) => target.tagName === 'INPUT' ||
|
|
8693
|
+
target.tagName === 'TEXTAREA' ||
|
|
8694
|
+
target.tagName === 'SELECT' ||
|
|
8695
|
+
target.isContentEditable ||
|
|
8696
|
+
!!target.closest(INTERACTIVE_SELECTOR);
|
|
8676
8697
|
class DraggableDirective {
|
|
8677
8698
|
mDraggable = model.required(...(ngDevMode ? [{ debugName: "mDraggable" }] : /* istanbul ignore next */ []));
|
|
8678
8699
|
handleSelector = input(...(ngDevMode ? [undefined, { debugName: "handleSelector" }] : /* istanbul ignore next */ []));
|
|
@@ -8704,10 +8725,7 @@ class DraggableDirective {
|
|
|
8704
8725
|
handleMouseDown(event) {
|
|
8705
8726
|
const target = event.target;
|
|
8706
8727
|
if (this.mDraggable()?.direction === 'none' ||
|
|
8707
|
-
target
|
|
8708
|
-
target.tagName === 'TEXTAREA' ||
|
|
8709
|
-
target.tagName === 'SELECT' ||
|
|
8710
|
-
target.isContentEditable) {
|
|
8728
|
+
shouldIgnorePointer(target)) {
|
|
8711
8729
|
return;
|
|
8712
8730
|
}
|
|
8713
8731
|
const selector = this.handleSelector();
|
|
@@ -8746,10 +8764,7 @@ class DraggableDirective {
|
|
|
8746
8764
|
handleTouchStart(event) {
|
|
8747
8765
|
const target = event.target;
|
|
8748
8766
|
if (this.mDraggable()?.direction === 'none' ||
|
|
8749
|
-
target
|
|
8750
|
-
target.tagName === 'TEXTAREA' ||
|
|
8751
|
-
target.tagName === 'SELECT' ||
|
|
8752
|
-
target.isContentEditable) {
|
|
8767
|
+
shouldIgnorePointer(target)) {
|
|
8753
8768
|
return;
|
|
8754
8769
|
}
|
|
8755
8770
|
const selector = this.handleSelector();
|
|
@@ -14898,7 +14913,7 @@ class WrapperInputComponent extends ConfigComponent {
|
|
|
14898
14913
|
break;
|
|
14899
14914
|
}
|
|
14900
14915
|
case InputType.TOGGLE: {
|
|
14901
|
-
const { ToggleInputComponent } = await import('./magmonium-one-toggle-
|
|
14916
|
+
const { ToggleInputComponent } = await import('./magmonium-one-toggle-MPvDJgJL.mjs');
|
|
14902
14917
|
this.createDynamicComponent(seq, ToggleInputComponent, [], true);
|
|
14903
14918
|
break;
|
|
14904
14919
|
}
|
|
@@ -14910,12 +14925,12 @@ class WrapperInputComponent extends ConfigComponent {
|
|
|
14910
14925
|
break;
|
|
14911
14926
|
}
|
|
14912
14927
|
case InputType.PASSWORD: {
|
|
14913
|
-
const { PasswordInputComponent } = await import('./magmonium-one-password-
|
|
14928
|
+
const { PasswordInputComponent } = await import('./magmonium-one-password-kzejKmgH.mjs');
|
|
14914
14929
|
this.createDynamicComponent(seq, PasswordInputComponent);
|
|
14915
14930
|
break;
|
|
14916
14931
|
}
|
|
14917
14932
|
case InputType.OTP: {
|
|
14918
|
-
const { OtpInputComponent } = await import('./magmonium-one-otp-
|
|
14933
|
+
const { OtpInputComponent } = await import('./magmonium-one-otp-CjaoMmR4.mjs');
|
|
14919
14934
|
this.createDynamicComponent(seq, OtpInputComponent);
|
|
14920
14935
|
break;
|
|
14921
14936
|
}
|
|
@@ -17398,7 +17413,7 @@ class SectionFormItemComponent extends ConfigComponent {
|
|
|
17398
17413
|
break;
|
|
17399
17414
|
}
|
|
17400
17415
|
case InputType.TOGGLE: {
|
|
17401
|
-
const { ToggleInputComponent } = await import('./magmonium-one-toggle-
|
|
17416
|
+
const { ToggleInputComponent } = await import('./magmonium-one-toggle-MPvDJgJL.mjs');
|
|
17402
17417
|
this.createDynamicComponent(seq, ToggleInputComponent, [], true);
|
|
17403
17418
|
break;
|
|
17404
17419
|
}
|
|
@@ -17410,12 +17425,12 @@ class SectionFormItemComponent extends ConfigComponent {
|
|
|
17410
17425
|
break;
|
|
17411
17426
|
}
|
|
17412
17427
|
case InputType.PASSWORD: {
|
|
17413
|
-
const { PasswordInputComponent } = await import('./magmonium-one-password-
|
|
17428
|
+
const { PasswordInputComponent } = await import('./magmonium-one-password-kzejKmgH.mjs');
|
|
17414
17429
|
this.createDynamicComponent(seq, PasswordInputComponent);
|
|
17415
17430
|
break;
|
|
17416
17431
|
}
|
|
17417
17432
|
case InputType.OTP: {
|
|
17418
|
-
const { OtpInputComponent } = await import('./magmonium-one-otp-
|
|
17433
|
+
const { OtpInputComponent } = await import('./magmonium-one-otp-CjaoMmR4.mjs');
|
|
17419
17434
|
this.createDynamicComponent(seq, OtpInputComponent);
|
|
17420
17435
|
break;
|
|
17421
17436
|
}
|
|
@@ -30594,4 +30609,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
30594
30609
|
*/
|
|
30595
30610
|
|
|
30596
30611
|
export { DomService as $, ACCESS_DOMAINS as A, BaseInputComponent as B, COLOR_SCHEMES$1 as C, ChartComponent as D, ErrorsComponent as E, CheckboxInputComponent as F, ClearableInputComponent as G, ColComponent as H, ColorPickerInputComponent as I, CommentItemComponent as J, CommentsApiService as K, LabelComponent as L, CommentsComponent as M, CommentsStore as N, ComponentInputComponent as O, ComponentStepperComponent as P, ConfigComponent as Q, ConfirmComponent as R, ContextMenuComponent as S, TranslatePipe as T, CustomIconClass as U, CustomIconEditComponent as V, DEFAULT_SIZE as W, DashboardCardComponent as X, DateInputComponent as Y, DatePickerComponent as Z, DeviceService as _, BaseTextInputComponent as a, NAV_MAIN_BUTTONS as a$, Domain as a0, DotGridComponent as a1, DragListDirective as a2, DragListItemDirective as a3, DraggableDirective as a4, DropdownInputComponent as a5, FLEX_VARIANTS as a6, FOLDER_PICK_LISTENER as a7, FORM_ASSET_FOLDER as a8, FileService as a9, LOGIN_PROCESS as aA, LOGIN_STORE as aB, LanguageComponent as aC, LoginDataService as aD, LoginOneComponent as aE, LoginStore as aF, LogoComponent as aG, MAG_SOCKET_EVENT as aH, MHeroColorDirective as aI, MHeroComponent as aJ, MODAL_REF as aK, MODAL_STORE_REF as aL, MRefDirective as aM, MStepComponent as aN, MURL_PARAM as aO, MURL_SEP as aP, ManifestEnrichmentService as aQ, MenuComponent as aR, ModalDirective as aS, ModalRef as aT, ModalStore as aU, MoneyPipe as aV, MultiRangeInputComponent as aW, MurlUrlSerializer as aX, NAV_DEFAULT_MURL as aY, NAV_DISPLAY_ORDER as aZ, NAV_ID_SEP as a_, FileUploadDirective as aa, FileUploadInputComponent as ab, FlexComponent as ac, FlexItemComponent as ad, FormGroupComponent as ae, FrameComponent as af, FreezeService as ag, GEN_NAV_DISPLAY_ORDER as ah, GRID_BREAKPOINTS as ai, GetNavService as aj, HeaderComponent$1 as ak, HighlightDirective as al, HttpService as am, ICON_SOURCE as an, IS_DESIGN_MODE as ao, IS_SIDE_PANEL as ap, IconComponent as aq, ImgComponent as ar, InputType as as, InstrumentScoreComponent as at, InterceptorObservables as au, JumbotronComponent as av, KeyValueComponent as aw, LAYOUT_ASSET_FOLDER as ax, LOGIN_COMPONENT as ay, LOGIN_FORM_GROUP as az, ButtonComponent as b, SectionFilterComponent as b$, NAV_SEGMENT_RE as b0, NAV_STORE_REF as b1, NAV_WC_COMPONENTS as b2, NAV_WIDGET_MAP as b3, NavComponent as b4, NavDetailsComponent as b5, NavMenuComponent as b6, NavStore as b7, NavTrailComponent as b8, NothingComponent as b9, RangeInputComponent as bA, RatingInputComponent as bB, ReactiveElementComponent as bC, RemoteComponent as bD, RemoteLoaderService as bE, ResizeElementComponent as bF, RouteContainer as bG, RowComponent as bH, SEARCH_QUERY as bI, SEARCH_RESULTS_EVENT as bJ, SECTION_ACCORDION_GROUP as bK, SECTION_FORM_CONTEXT as bL, SHARED_ICONS as bM, SIZE_CONTEXT as bN, ScoreComponent as bO, ScrollComponent as bP, ScrollService as bQ, SearchPanelComponent as bR, SearchStore as bS, SearchUserPanelComponent as bT, SectionAccordionDirective as bU, SectionAccordionGroupDirective as bV, SectionBackComponent as bW, SectionBadgesComponent as bX, SectionButtonGroupComponent as bY, SectionCardComponent as bZ, SectionComponent as b_, NotificationElementComponent as ba, NotificationGroupComponent as bb, NotificationPopupComponent as bc, NotificationService as bd, NotificationStore as be, NotificationType as bf, NotificationWidgetComponent as bg, ONE_ASSET_BASE_URL as bh, OPTIONS_SOURCE as bi, OneApp as bj, OptionsSourceDirective as bk, OverlayBodyComponent as bl, OverlayRef as bm, OverlayService as bn, PLATFORM_BUTTON_NAV_IDS as bo, PLATFORM_EXTENSIBLE_NAV_IDS as bp, PLATFORM_NAV_MAP as bq, PLATFORM_ROOT_CHILDREN as br, PaginationComponent as bs, PanelComponent as bt, PlaygroundComponent as bu, PositionDirective as bv, PwaInstallComponent as bw, ROOT_NAV$1 as bx, RadioGroupComponent as by, RadioInputComponent as bz, APP_CONTEXT_REF as c, WIN_USER_TAB_KEY as c$, SectionFooterComponent as c0, SectionFormComponent as c1, SectionFormItemComponent as c2, SectionHeaderComponent as c3, SectionSearchComponent as c4, SectionStepperComponent as c5, SectionTabsComponent as c6, SectionToggleComponent as c7, SectionToggleItemDirective as c8, SelectableCardInputComponent as c9, TextareaInputComponent as cA, ThemeComponent as cB, ThemeService as cC, ThemeStore as cD, TimeAgoPipe as cE, TimelineComponent as cF, ToggleButtonComponent as cG, ToggleInputComponent as cH, ToggleRadioInputComponent as cI, ToolTipDirective as cJ, TooltipComponent as cK, TranslateService as cL, TreeGridComponent as cM, URL_SEP as cN, USER_STORE_REF as cO, USER_TAB_MAP as cP, UlComponent as cQ, UniverseComponent as cR, UserApiService as cS, UserAvatarComponent as cT, UserComponent as cU, UserNavComponent as cV, UserSettingsComponent as cW, UserStore as cX, WC_ROUTE_CHANGED_EVENT as cY, WC_SEARCH_GROUPS as cZ, WIN_USER_TAB_HOOK as c_, SelectorDirective as ca, SettingsSearchBarComponent as cb, SettingsSearchService as cc, Sex as cd, ShapeComponent as ce, SharedStoreRegistry as cf, SidePanelDirective as cg, Size as ch, SocketStore as ci, SortComponent as cj, StepComponent as ck, StepperComponent as cl, StepsComponent as cm, StorageService as cn, StrokeLinecap as co, StrokeLinejoin as cp, SummaryComponent as cq, SvgGeneratorComponent as cr, SvgGeneratorService as cs, SvgService as ct, TOTAL_COLUMNS as cu, TRANSLATION_SOURCE as cv, TableComponent as cw, TechnicalMeterComponent as cx, TextInputComponent as cy, TextOutputComponent as cz, ASSET_BASE_URL as d, loginState as d$, WatermarkComponent as d0, WcRouterStore as d1, WrapperInputComponent as d2, anchorNavId as d3, applyColorsToElement as d4, authGuard as d5, bootstrapMagApp as d6, bootstrapPwaInstall as d7, buildWcBaseUrl as d8, calculateLuminance as d9, getValue as dA, hasErrorComputed as dB, hexToRgb as dC, hslToRgb$1 as dD, initMagmoniumApp as dE, initialNotificationState as dF, initials as dG, injectAuthenticate as dH, injectInstallApp as dI, injectParentSize as dJ, injectScrollSticky as dK, isButtonName as dL, isCancelledComputed as dM, isExtensiblePlatformNavId as dN, isJson as dO, isLoadingComputed as dP, isLocalhost as dQ, isPlatformNavId as dR, isSize as dS, isTierPreview as dT, isUrlLocalhost as dU, isValidNavId as dV, isValidNavSegment as dW, isWebComponent as dX, linkToId as dY, linkToNav as dZ, loadingActions as d_, calculateRanks as da, cellText as db, checkFilterCondition as dc, childNavId as dd, classListSignal as de, createMap as df, createPlatformNavMap as dg, deriveAvatarGradient as dh, deriveContrastColor as di, deriveOppositeColor as dj, derivePropertyName as dk, emailValidation as dl, evaluate as dm, evaluateBool as dn, flattenTreeGridRows as dp, formatBadgeCount as dq, fullName as dr, generateClipPath as ds, generateTransform as dt, getClassList as du, getProperty as dv, getScrollParent as dw, getTierFromPreviewPath as dx, getTreeGridRow as dy, getUniqueId as dz, AccordionBodyDirective as e, mInterceptor as e0, manualValidation as e1, matchFieldValidation as e2, maxLengthValidation as e3, maxValidation as e4, mergePlatformNav as e5, mergeUnique as e6, mergeUniqueBy as e7, mergeUniqueWith as e8, minAgeValidation as e9, provideUserTabs as eA, publicGuard as eB, renderAddress as eC, requiredValidation as eD, resolveConfigAsset as eE, resolvePallet as eF, resolveSize as eG, rgbToHex as eH, rgbToHsl as eI, rowHasChildren as eJ, segmentsToNavId as eK, setProperty as eL, setTreeGridChildren as eM, settingsWidgets as eN, shouldShowBadge as eO, splitNavId as eP, stringToColor as eQ, toAttrBool as eR, toAttrNumber as eS, toCssLength as eT, toHostNavId as eU, toLength$1 as eV, toLocalNavId as eW, toggleTreeGridRow as eX, unfetchedPlatformNav as eY, urlValidation as eZ, minLengthValidation as ea, minValidation as eb, miniMarkToHtml as ec, navIdChain as ed, navIdFor as ee, navIdSegment as ef, navIdToRoutePath as eg, navIdToSegments as eh, navToId as ei, parentNavId as ej, parseAddress as ek, parseColor as el, patternValidation as em, platformNavWidgets as en, privateGuard as eo, processImageToSvg as ep, provideAppContext as eq, provideMagAppConfig as er, provideMagWcConfig as es, provideMagWcRoutes as et, provideModalComponents as eu, provideMurlUrlSerializer as ev, provideNavWidgets as ew, providePlatformNavWidgets as ex, provideSearch as ey, provideSizeContext as ez, AccordionComponent as f, AccordionGroupComponent as g, ActionComponent as h, AnimatedGraphsComponent as i, AppCardComponent as j, AppRelationType as k, AppTileComponent as l, AssetStore as m, AssetUrlPipe as n, Assets as o, AutosizeDirective as p, BadgeComponent as q, BandingComponent as r, BaseArrayInputComponent as s, BaseRootWebComponent as t, BaseWebComponent as u, ButtonGroupComponent as v, COMPONENT_INPUT_REGISTRY as w, CardComponent as x, CardWrapperComponent as y, CarouselComponent as z };
|
|
30597
|
-
//# sourceMappingURL=magmonium-one-magmonium-one-
|
|
30612
|
+
//# sourceMappingURL=magmonium-one-magmonium-one-CU6BDsTt.mjs.map
|