@magmonium/one 0.2.29 → 0.2.31
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-lhU_xBZf.mjs → magmonium-one-magmonium-one-E16R4TXb.mjs} +175 -122
- package/fesm2022/magmonium-one-magmonium-one-E16R4TXb.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-DeUCHCNZ.mjs → magmonium-one-otp-Wnrx8dA_.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-DeUCHCNZ.mjs.map → magmonium-one-otp-Wnrx8dA_.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-Cr3XxtEj.mjs → magmonium-one-password-0lBVEtva.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-Cr3XxtEj.mjs.map → magmonium-one-password-0lBVEtva.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-CsuV_RXV.mjs → magmonium-one-toggle-1lISa76Z.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-CsuV_RXV.mjs.map → magmonium-one-toggle-1lISa76Z.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/fesm2022/magmonium-one-magmonium-one-lhU_xBZf.mjs.map +0 -1
|
@@ -3446,119 +3446,6 @@ function getNavWidgetEntry(appId) {
|
|
|
3446
3446
|
return windowRegistry().get(appId);
|
|
3447
3447
|
}
|
|
3448
3448
|
|
|
3449
|
-
const emptyResult = () => ({
|
|
3450
|
-
breadcrumb: { header: { label: '', id: '' }, trail: [] },
|
|
3451
|
-
navMenus: [],
|
|
3452
|
-
});
|
|
3453
|
-
/**
|
|
3454
|
-
* One trail/menu entry. `nav` names where it goes by NavId — the NavKind on the
|
|
3455
|
-
* target decides whether following it routes or opens a panel, so nothing here
|
|
3456
|
-
* chooses a link kind (ADR 0014).
|
|
3457
|
-
*/
|
|
3458
|
-
const toTrailItem = (navId, navMap, anchor) => {
|
|
3459
|
-
const nav = navMap[navId];
|
|
3460
|
-
return {
|
|
3461
|
-
id: navId,
|
|
3462
|
-
label: nav?.title ?? navIdSegment(navId),
|
|
3463
|
-
icon: nav?.icon,
|
|
3464
|
-
nav: navId,
|
|
3465
|
-
address: renderAddress(navId, navMap, anchor),
|
|
3466
|
-
};
|
|
3467
|
-
};
|
|
3468
|
-
/** A Nav that *is* its parent's own content rather than a place beside it. */
|
|
3469
|
-
const isDefaultNav = (navId) => navIdSegment(navId) === DEFAULT_NAV_SEGMENT;
|
|
3470
|
-
/**
|
|
3471
|
-
* The Nav the User is standing on as the nav shows it. A `default` node names
|
|
3472
|
-
* no place of its own — it is the route answering its parent's empty path — so
|
|
3473
|
-
* landing on `root_app_default` is standing on `root_app`, and the panel says
|
|
3474
|
-
* so rather than naming a segment that is on no menu.
|
|
3475
|
-
*/
|
|
3476
|
-
const visibleNavId = (navId) => {
|
|
3477
|
-
let id = navId;
|
|
3478
|
-
while (id !== ROOT_NAV$1 && isDefaultNav(id))
|
|
3479
|
-
id = parentNavId(id) ?? ROOT_NAV$1;
|
|
3480
|
-
return id;
|
|
3481
|
-
};
|
|
3482
|
-
/**
|
|
3483
|
-
* The children a menu may draw. A Nav needs a title to be a row at all, and a
|
|
3484
|
-
* `default` node is not a row: it is its parent's own content, so it is
|
|
3485
|
-
* *transparent* — its own children take its place in the list, spliced where
|
|
3486
|
-
* it stood. `app → default → { trending, latest }` is one list of two rows
|
|
3487
|
-
* under app, which is the tree the User was drawing when they put a `default`
|
|
3488
|
-
* in the middle of it. Filtering the node out without adopting its children
|
|
3489
|
-
* left that app with no rows at all.
|
|
3490
|
-
*/
|
|
3491
|
-
const menuChildIds = (navId, navMap) => (navMap[navId]?.children ?? []).flatMap((childId) => {
|
|
3492
|
-
if (isDefaultNav(childId))
|
|
3493
|
-
return menuChildIds(childId, navMap);
|
|
3494
|
-
return navMap[childId]?.title ? [childId] : [];
|
|
3495
|
-
});
|
|
3496
|
-
/**
|
|
3497
|
-
* Whose children the menu draws. A Nav with rows of its own draws them — that
|
|
3498
|
-
* is the descent. A leaf has none, and descending into nothing left the panel
|
|
3499
|
-
* on an empty state; it draws its *siblings* instead, so the menu stays the
|
|
3500
|
-
* list the User moved through and the row they are on is the one marked
|
|
3501
|
-
* active. Root is the floor: its own children are the last list there is.
|
|
3502
|
-
*/
|
|
3503
|
-
const navMenuOwnerId = (navId, navMap) => {
|
|
3504
|
-
const visible = visibleNavId(navId);
|
|
3505
|
-
if (visible === ROOT_NAV$1 || menuChildIds(visible, navMap).length) {
|
|
3506
|
-
return visible;
|
|
3507
|
-
}
|
|
3508
|
-
// Url only. A Murl leaf is a panel — it answers with a widget of its own, and
|
|
3509
|
-
// a panel titled after its parent while showing its own content reads as the
|
|
3510
|
-
// wrong panel. The descent it belongs to is the one it opened from.
|
|
3511
|
-
if (navMap[visible]?.kind === 'murl')
|
|
3512
|
-
return visible;
|
|
3513
|
-
// And only where the parent has rows to draw: handing the header up to a
|
|
3514
|
-
// parent that lists nothing trades a titled empty panel for a mistitled one.
|
|
3515
|
-
const parent = visibleNavId(parentNavId(visible) ?? ROOT_NAV$1);
|
|
3516
|
-
return menuChildIds(parent, navMap).length ? parent : visible;
|
|
3517
|
-
};
|
|
3518
|
-
const buildNavMenus = (navId, navMap, anchor) => menuChildIds(navId, navMap).map((childId) => toTrailItem(childId, navMap, anchor));
|
|
3519
|
-
/**
|
|
3520
|
-
* Merges a widget's emitted trail over the derived one, matching by depth.
|
|
3521
|
-
* With a single keyspace there is nothing to translate — an emitted entry is
|
|
3522
|
-
* already in the same ids everything else uses.
|
|
3523
|
-
*/
|
|
3524
|
-
const mergeTrail = (derived, override, derivedHeader) => {
|
|
3525
|
-
const depth = (id) => navIdChain(id).length;
|
|
3526
|
-
const trail = derived.map((item) => {
|
|
3527
|
-
const emitted = override.trail?.find((e) => depth(e.id) === depth(item.id));
|
|
3528
|
-
return emitted ? { ...item, ...emitted } : item;
|
|
3529
|
-
});
|
|
3530
|
-
return { trail, header: override.header ?? derivedHeader };
|
|
3531
|
-
};
|
|
3532
|
-
function deriveBreadcrumb(params) {
|
|
3533
|
-
const { navId, navMap, anchor, breadcrumb, navMenu } = params;
|
|
3534
|
-
if (!navId)
|
|
3535
|
-
return emptyResult();
|
|
3536
|
-
// The header and the trail belong to whichever Nav owns the menu below them:
|
|
3537
|
-
// on a leaf that is the parent, so the User reads the list they are in with
|
|
3538
|
-
// their own row marked, rather than a title over an empty panel.
|
|
3539
|
-
const ownerId = navMenuOwnerId(navId, navMap);
|
|
3540
|
-
const chain = navIdChain(ownerId);
|
|
3541
|
-
const derivedTrail = chain
|
|
3542
|
-
.slice(0, -1)
|
|
3543
|
-
.filter((id) => !isDefaultNav(id))
|
|
3544
|
-
.map((id) => toTrailItem(id, navMap, anchor));
|
|
3545
|
-
const nav = navMap[ownerId];
|
|
3546
|
-
const derivedHeader = {
|
|
3547
|
-
id: ownerId,
|
|
3548
|
-
label: nav?.title ?? (ownerId === ROOT_NAV$1 ? '' : navIdSegment(ownerId)),
|
|
3549
|
-
icon: nav?.icon,
|
|
3550
|
-
nav: ownerId,
|
|
3551
|
-
address: renderAddress(ownerId, navMap, anchor),
|
|
3552
|
-
};
|
|
3553
|
-
const { trail, header } = breadcrumb
|
|
3554
|
-
? mergeTrail(derivedTrail, breadcrumb, derivedHeader)
|
|
3555
|
-
: { trail: derivedTrail, header: derivedHeader };
|
|
3556
|
-
return {
|
|
3557
|
-
breadcrumb: { trail, header },
|
|
3558
|
-
navMenus: navMenu ?? buildNavMenus(ownerId, navMap, anchor),
|
|
3559
|
-
};
|
|
3560
|
-
}
|
|
3561
|
-
|
|
3562
3449
|
/**
|
|
3563
3450
|
* Platform Nav — the chrome this library owns (CONTEXT.md Platform Nav,
|
|
3564
3451
|
* ADR 0016).
|
|
@@ -3733,6 +3620,151 @@ const unfetchedPlatformNav = (navId) => {
|
|
|
3733
3620
|
: undefined;
|
|
3734
3621
|
};
|
|
3735
3622
|
|
|
3623
|
+
const emptyResult = () => ({
|
|
3624
|
+
breadcrumb: { header: { label: '', id: '' }, trail: [] },
|
|
3625
|
+
navMenus: [],
|
|
3626
|
+
});
|
|
3627
|
+
/**
|
|
3628
|
+
* One trail/menu entry. `nav` names where it goes by NavId — the NavKind on the
|
|
3629
|
+
* target decides whether following it routes or opens a panel, so nothing here
|
|
3630
|
+
* chooses a link kind (ADR 0014).
|
|
3631
|
+
*/
|
|
3632
|
+
const toTrailItem = (navId, navMap, anchor) => {
|
|
3633
|
+
const nav = navMap[navId];
|
|
3634
|
+
return {
|
|
3635
|
+
id: navId,
|
|
3636
|
+
label: nav?.title ?? navIdSegment(navId),
|
|
3637
|
+
icon: nav?.icon,
|
|
3638
|
+
nav: navId,
|
|
3639
|
+
address: renderAddress(navId, navMap, anchor),
|
|
3640
|
+
};
|
|
3641
|
+
};
|
|
3642
|
+
/** A Nav that *is* its parent's own content rather than a place beside it. */
|
|
3643
|
+
const isDefaultNav = (navId) => navIdSegment(navId) === DEFAULT_NAV_SEGMENT;
|
|
3644
|
+
/**
|
|
3645
|
+
* The Nav the User is standing on as the nav shows it. A `default` node names
|
|
3646
|
+
* no place of its own — it is the route answering its parent's empty path — so
|
|
3647
|
+
* landing on `root_app_default` is standing on `root_app`, and the panel says
|
|
3648
|
+
* so rather than naming a segment that is on no menu.
|
|
3649
|
+
*/
|
|
3650
|
+
const visibleNavId = (navId) => {
|
|
3651
|
+
let id = navId;
|
|
3652
|
+
while (id !== ROOT_NAV$1 && isDefaultNav(id))
|
|
3653
|
+
id = parentNavId(id) ?? ROOT_NAV$1;
|
|
3654
|
+
return id;
|
|
3655
|
+
};
|
|
3656
|
+
/**
|
|
3657
|
+
* The direct children of a Nav. `children` is the authored list, but a Nav that
|
|
3658
|
+
* lists none is not childless: the map already holds every node fetched for
|
|
3659
|
+
* this descent, and a child is named by its own id. Reading the map when the
|
|
3660
|
+
* list is empty is what keeps a generated tree — whose `root.yml` names the app
|
|
3661
|
+
* and nothing else — from titling a leaf over an empty panel.
|
|
3662
|
+
*
|
|
3663
|
+
* The Platform Navs reached by a chrome button are the one exclusion. Root
|
|
3664
|
+
* seeds `children: []` on purpose, so that they are never rows beside the icons
|
|
3665
|
+
* that already open them; discovering them off the map would put them back.
|
|
3666
|
+
*/
|
|
3667
|
+
const childIdsOf = (navId, navMap) => {
|
|
3668
|
+
const declared = navMap[navId]?.children;
|
|
3669
|
+
if (declared?.length)
|
|
3670
|
+
return declared;
|
|
3671
|
+
return Object.keys(navMap).filter((id) => parentNavId(id) === navId && !PLATFORM_BUTTON_NAV_IDS.includes(id));
|
|
3672
|
+
};
|
|
3673
|
+
/**
|
|
3674
|
+
* The children a menu may draw. A Nav needs a title to be a row at all, and a
|
|
3675
|
+
* `default` node is not a row: it is its parent's own content, so it is
|
|
3676
|
+
* *transparent* — its own children take its place in the list, spliced where
|
|
3677
|
+
* it stood. `app → default → { trending, latest }` is one list of two rows
|
|
3678
|
+
* under app, which is the tree the User was drawing when they put a `default`
|
|
3679
|
+
* in the middle of it. Filtering the node out without adopting its children
|
|
3680
|
+
* left that app with no rows at all.
|
|
3681
|
+
*/
|
|
3682
|
+
const menuChildIds = (navId, navMap) => childIdsOf(navId, navMap).flatMap((childId) => {
|
|
3683
|
+
if (isDefaultNav(childId))
|
|
3684
|
+
return menuChildIds(childId, navMap);
|
|
3685
|
+
return navMap[childId]?.title ? [childId] : [];
|
|
3686
|
+
});
|
|
3687
|
+
/**
|
|
3688
|
+
* Whose children the menu draws. A Nav with rows of its own draws them — that
|
|
3689
|
+
* is the descent. A leaf has none, and descending into nothing left the panel
|
|
3690
|
+
* on an empty state; it draws its *siblings* instead, so the menu stays the
|
|
3691
|
+
* list the User moved through and the row they are on is the one marked
|
|
3692
|
+
* active. Root is the floor: its own children are the last list there is.
|
|
3693
|
+
*/
|
|
3694
|
+
const navMenuOwnerId = (navId, navMap, hasOwnContent = false) => {
|
|
3695
|
+
const visible = visibleNavId(navId);
|
|
3696
|
+
if (visible === ROOT_NAV$1 || menuChildIds(visible, navMap).length) {
|
|
3697
|
+
return visible;
|
|
3698
|
+
}
|
|
3699
|
+
// A panel that answers with a widget of its own keeps its own title —
|
|
3700
|
+
// titling it after its parent while showing its own content reads as the
|
|
3701
|
+
// wrong panel. Being a Murl is not that proof: a Murl leaf nothing is
|
|
3702
|
+
// registered for draws nothing, and an empty panel must not name itself.
|
|
3703
|
+
if (hasOwnContent)
|
|
3704
|
+
return visible;
|
|
3705
|
+
// Nothing of its own and no rows under it: hand the panel to the nearest
|
|
3706
|
+
// ancestor that has rows, so the User reads the list they are in with their
|
|
3707
|
+
// own row marked. Where no ancestor lists anything there is no better title
|
|
3708
|
+
// than the one we are on — a mistitled empty panel is worse than a titled one.
|
|
3709
|
+
for (let ancestor = parentNavId(visible); ancestor; ancestor = parentNavId(ancestor)) {
|
|
3710
|
+
const owner = visibleNavId(ancestor);
|
|
3711
|
+
if (menuChildIds(owner, navMap).length)
|
|
3712
|
+
return owner;
|
|
3713
|
+
if (owner === ROOT_NAV$1)
|
|
3714
|
+
break;
|
|
3715
|
+
}
|
|
3716
|
+
return visible;
|
|
3717
|
+
};
|
|
3718
|
+
const buildNavMenus = (navId, navMap, anchor) => menuChildIds(navId, navMap).map((childId) => toTrailItem(childId, navMap, anchor));
|
|
3719
|
+
/**
|
|
3720
|
+
* Merges a widget's emitted trail over the derived one, matching by depth.
|
|
3721
|
+
* With a single keyspace there is nothing to translate — an emitted entry is
|
|
3722
|
+
* already in the same ids everything else uses.
|
|
3723
|
+
*/
|
|
3724
|
+
const mergeTrail = (derived, override, derivedHeader) => {
|
|
3725
|
+
const depth = (id) => navIdChain(id).length;
|
|
3726
|
+
const trail = derived.map((item) => {
|
|
3727
|
+
const emitted = override.trail?.find((e) => depth(e.id) === depth(item.id));
|
|
3728
|
+
return emitted ? { ...item, ...emitted } : item;
|
|
3729
|
+
});
|
|
3730
|
+
return { trail, header: override.header ?? derivedHeader };
|
|
3731
|
+
};
|
|
3732
|
+
function deriveBreadcrumb(params) {
|
|
3733
|
+
const { navId, navMap, anchor, breadcrumb, navMenu, hasOwnContent } = params;
|
|
3734
|
+
if (!navId)
|
|
3735
|
+
return emptyResult();
|
|
3736
|
+
// The header and the trail belong to whichever Nav owns the menu below them:
|
|
3737
|
+
// on a leaf that is the parent, so the User reads the list they are in with
|
|
3738
|
+
// their own row marked, rather than a title over an empty panel.
|
|
3739
|
+
const ownerId = navMenuOwnerId(navId, navMap, hasOwnContent);
|
|
3740
|
+
// An emitted breadcrumb names the panel it was emitted for. Once the panel
|
|
3741
|
+
// has been handed up to an ancestor it is no longer that panel, so the
|
|
3742
|
+
// override would title the ancestor's list after the leaf we left.
|
|
3743
|
+
const ownPanel = ownerId === visibleNavId(navId);
|
|
3744
|
+
const chain = navIdChain(ownerId);
|
|
3745
|
+
const derivedTrail = chain
|
|
3746
|
+
.slice(0, -1)
|
|
3747
|
+
.filter((id) => !isDefaultNav(id))
|
|
3748
|
+
.map((id) => toTrailItem(id, navMap, anchor));
|
|
3749
|
+
const nav = navMap[ownerId];
|
|
3750
|
+
const derivedHeader = {
|
|
3751
|
+
id: ownerId,
|
|
3752
|
+
label: nav?.title ?? (ownerId === ROOT_NAV$1 ? '' : navIdSegment(ownerId)),
|
|
3753
|
+
icon: nav?.icon,
|
|
3754
|
+
nav: ownerId,
|
|
3755
|
+
address: renderAddress(ownerId, navMap, anchor),
|
|
3756
|
+
};
|
|
3757
|
+
const { trail, header } = breadcrumb && ownPanel
|
|
3758
|
+
? mergeTrail(derivedTrail, breadcrumb, derivedHeader)
|
|
3759
|
+
: { trail: derivedTrail, header: derivedHeader };
|
|
3760
|
+
return {
|
|
3761
|
+
breadcrumb: { trail, header },
|
|
3762
|
+
navMenus: navMenu?.length && ownPanel
|
|
3763
|
+
? navMenu
|
|
3764
|
+
: buildNavMenus(ownerId, navMap, anchor),
|
|
3765
|
+
};
|
|
3766
|
+
}
|
|
3767
|
+
|
|
3736
3768
|
class GetNavService {
|
|
3737
3769
|
httpService = inject(HttpService);
|
|
3738
3770
|
assetStore = inject(AssetStore);
|
|
@@ -3928,6 +3960,7 @@ const NavStore = signalStore({ providedIn: 'root' }, withState(initialState$3),
|
|
|
3928
3960
|
const breadcrumbResult = computed(() => {
|
|
3929
3961
|
const menuConfig = resolvedNavMenuConfig();
|
|
3930
3962
|
const widgetConfig = resolvedWidget();
|
|
3963
|
+
const emittedMenu = menuConfig?.navMenu();
|
|
3931
3964
|
return deriveBreadcrumb({
|
|
3932
3965
|
navId: id(),
|
|
3933
3966
|
navMap: store.navMap(),
|
|
@@ -3936,7 +3969,12 @@ const NavStore = signalStore({ providedIn: 'root' }, withState(initialState$3),
|
|
|
3936
3969
|
(typeof widgetConfig?.breadcramb === 'function'
|
|
3937
3970
|
? widgetConfig.breadcramb()
|
|
3938
3971
|
: widgetConfig?.breadcramb),
|
|
3939
|
-
navMenu:
|
|
3972
|
+
navMenu: emittedMenu,
|
|
3973
|
+
// What this Nav can draw on its own, which is what earns it the header.
|
|
3974
|
+
// A registered widget, or rows it emitted — an emitted *empty* list is
|
|
3975
|
+
// not content, so such a panel falls back to its descent like any other
|
|
3976
|
+
// leaf rather than titling itself over nothing.
|
|
3977
|
+
hasOwnContent: !!widgetConfig || !!emittedMenu?.length,
|
|
3940
3978
|
});
|
|
3941
3979
|
}, ...(ngDevMode ? [{ debugName: "breadcrumbResult" }] : /* istanbul ignore next */ []));
|
|
3942
3980
|
const breadcrumb = computed(() => breadcrumbResult().breadcrumb, ...(ngDevMode ? [{ debugName: "breadcrumb" }] : /* istanbul ignore next */ []));
|
|
@@ -5406,11 +5444,26 @@ class MRefDirective {
|
|
|
5406
5444
|
#navRef = inject(NAV_STORE_REF, { optional: true });
|
|
5407
5445
|
#renderer = inject(Renderer2);
|
|
5408
5446
|
#elementRef = inject(ElementRef);
|
|
5447
|
+
/** Exact hit only — what a toggle re-clicks, and never an ancestor. */
|
|
5409
5448
|
#currentlySelected = computed(() => this.mRef() === this.#navRef?.id(), ...(ngDevMode ? [{ debugName: "#currentlySelected" }] : /* istanbul ignore next */ []));
|
|
5449
|
+
/**
|
|
5450
|
+
* The row the open Nav came through. A menu lists the Nav Menu Owner's
|
|
5451
|
+
* children, and the User may be standing deeper than a row — on a leaf that
|
|
5452
|
+
* handed the panel back up, or on that row's own `default` — so the row is
|
|
5453
|
+
* marked when the current NavId is it or under it. Comparing for equality
|
|
5454
|
+
* alone left such a list with nothing marked at all.
|
|
5455
|
+
*/
|
|
5456
|
+
#currentlyActive = computed(() => {
|
|
5457
|
+
const target = this.mRef();
|
|
5458
|
+
const current = this.#navRef?.id();
|
|
5459
|
+
if (!target || !current)
|
|
5460
|
+
return false;
|
|
5461
|
+
return current === target || current.startsWith(`${target}_`);
|
|
5462
|
+
}, ...(ngDevMode ? [{ debugName: "#currentlyActive" }] : /* istanbul ignore next */ []));
|
|
5410
5463
|
constructor() {
|
|
5411
5464
|
effect(() => {
|
|
5412
5465
|
const activeClass = this.mRefLinkActive();
|
|
5413
|
-
const isSelected = this.#
|
|
5466
|
+
const isSelected = this.#currentlyActive();
|
|
5414
5467
|
if (!activeClass)
|
|
5415
5468
|
return;
|
|
5416
5469
|
if (isSelected) {
|
|
@@ -6512,7 +6565,7 @@ class SectionFormItemComponent extends ConfigComponent {
|
|
|
6512
6565
|
break;
|
|
6513
6566
|
}
|
|
6514
6567
|
case InputType.TOGGLE: {
|
|
6515
|
-
const { ToggleInputComponent } = await import('./magmonium-one-toggle-
|
|
6568
|
+
const { ToggleInputComponent } = await import('./magmonium-one-toggle-1lISa76Z.mjs');
|
|
6516
6569
|
this.createDynamicComponent(seq, ToggleInputComponent, [], true);
|
|
6517
6570
|
break;
|
|
6518
6571
|
}
|
|
@@ -6524,12 +6577,12 @@ class SectionFormItemComponent extends ConfigComponent {
|
|
|
6524
6577
|
break;
|
|
6525
6578
|
}
|
|
6526
6579
|
case InputType.PASSWORD: {
|
|
6527
|
-
const { PasswordInputComponent } = await import('./magmonium-one-password-
|
|
6580
|
+
const { PasswordInputComponent } = await import('./magmonium-one-password-0lBVEtva.mjs');
|
|
6528
6581
|
this.createDynamicComponent(seq, PasswordInputComponent);
|
|
6529
6582
|
break;
|
|
6530
6583
|
}
|
|
6531
6584
|
case InputType.OTP: {
|
|
6532
|
-
const { OtpInputComponent } = await import('./magmonium-one-otp-
|
|
6585
|
+
const { OtpInputComponent } = await import('./magmonium-one-otp-Wnrx8dA_.mjs');
|
|
6533
6586
|
this.createDynamicComponent(seq, OtpInputComponent);
|
|
6534
6587
|
break;
|
|
6535
6588
|
}
|
|
@@ -19932,7 +19985,7 @@ class WrapperInputComponent extends ConfigComponent {
|
|
|
19932
19985
|
break;
|
|
19933
19986
|
}
|
|
19934
19987
|
case InputType.TOGGLE: {
|
|
19935
|
-
const { ToggleInputComponent } = await import('./magmonium-one-toggle-
|
|
19988
|
+
const { ToggleInputComponent } = await import('./magmonium-one-toggle-1lISa76Z.mjs');
|
|
19936
19989
|
this.createDynamicComponent(seq, ToggleInputComponent, [], true);
|
|
19937
19990
|
break;
|
|
19938
19991
|
}
|
|
@@ -19944,12 +19997,12 @@ class WrapperInputComponent extends ConfigComponent {
|
|
|
19944
19997
|
break;
|
|
19945
19998
|
}
|
|
19946
19999
|
case InputType.PASSWORD: {
|
|
19947
|
-
const { PasswordInputComponent } = await import('./magmonium-one-password-
|
|
20000
|
+
const { PasswordInputComponent } = await import('./magmonium-one-password-0lBVEtva.mjs');
|
|
19948
20001
|
this.createDynamicComponent(seq, PasswordInputComponent);
|
|
19949
20002
|
break;
|
|
19950
20003
|
}
|
|
19951
20004
|
case InputType.OTP: {
|
|
19952
|
-
const { OtpInputComponent } = await import('./magmonium-one-otp-
|
|
20005
|
+
const { OtpInputComponent } = await import('./magmonium-one-otp-Wnrx8dA_.mjs');
|
|
19953
20006
|
this.createDynamicComponent(seq, OtpInputComponent);
|
|
19954
20007
|
break;
|
|
19955
20008
|
}
|
|
@@ -34169,4 +34222,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
34169
34222
|
*/
|
|
34170
34223
|
|
|
34171
34224
|
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 };
|
|
34172
|
-
//# sourceMappingURL=magmonium-one-magmonium-one-
|
|
34225
|
+
//# sourceMappingURL=magmonium-one-magmonium-one-E16R4TXb.mjs.map
|