@magmonium/one 0.0.29 → 0.0.30

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.
@@ -15282,7 +15282,7 @@ class WrapperInputComponent extends ConfigComponent {
15282
15282
  break;
15283
15283
  }
15284
15284
  case InputType.TOGGLE: {
15285
- const { ToggleInputComponent } = await import('./magmonium-one-toggle-BjpT-0EO.mjs');
15285
+ const { ToggleInputComponent } = await import('./magmonium-one-toggle-Cmk7CNmY.mjs');
15286
15286
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
15287
15287
  break;
15288
15288
  }
@@ -15294,12 +15294,12 @@ class WrapperInputComponent extends ConfigComponent {
15294
15294
  break;
15295
15295
  }
15296
15296
  case InputType.PASSWORD: {
15297
- const { PasswordInputComponent } = await import('./magmonium-one-password-Bb8Picp4.mjs');
15297
+ const { PasswordInputComponent } = await import('./magmonium-one-password-CAQK2djm.mjs');
15298
15298
  this.createDynamicComponent(seq, PasswordInputComponent);
15299
15299
  break;
15300
15300
  }
15301
15301
  case InputType.OTP: {
15302
- const { OtpInputComponent } = await import('./magmonium-one-otp-DQZi5kOC.mjs');
15302
+ const { OtpInputComponent } = await import('./magmonium-one-otp-jbSGnmwW.mjs');
15303
15303
  this.createDynamicComponent(seq, OtpInputComponent);
15304
15304
  break;
15305
15305
  }
@@ -16369,7 +16369,11 @@ class SelectableCardInputComponent extends BaseInputComponent {
16369
16369
  this.value.set(wouldDeselect ? current.filter((v) => v !== id) : [...current, id]);
16370
16370
  }
16371
16371
  else {
16372
- this.value.set(this.value() === id && !cfg?.required ? undefined : id);
16372
+ // Array-aware like isSelected above: a single-select list may still be
16373
+ // handed its value as a one-element array, and comparing that to the id
16374
+ // as a scalar never matched — which made the picked card impossible to
16375
+ // clear rather than merely awkward.
16376
+ this.value.set(this.isSelected(id) && !cfg?.required ? undefined : id);
16373
16377
  }
16374
16378
  this.touched.set(true);
16375
16379
  };
@@ -18260,7 +18264,7 @@ class SectionFormItemComponent extends ConfigComponent {
18260
18264
  break;
18261
18265
  }
18262
18266
  case InputType.TOGGLE: {
18263
- const { ToggleInputComponent } = await import('./magmonium-one-toggle-BjpT-0EO.mjs');
18267
+ const { ToggleInputComponent } = await import('./magmonium-one-toggle-Cmk7CNmY.mjs');
18264
18268
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
18265
18269
  break;
18266
18270
  }
@@ -18272,12 +18276,12 @@ class SectionFormItemComponent extends ConfigComponent {
18272
18276
  break;
18273
18277
  }
18274
18278
  case InputType.PASSWORD: {
18275
- const { PasswordInputComponent } = await import('./magmonium-one-password-Bb8Picp4.mjs');
18279
+ const { PasswordInputComponent } = await import('./magmonium-one-password-CAQK2djm.mjs');
18276
18280
  this.createDynamicComponent(seq, PasswordInputComponent);
18277
18281
  break;
18278
18282
  }
18279
18283
  case InputType.OTP: {
18280
- const { OtpInputComponent } = await import('./magmonium-one-otp-DQZi5kOC.mjs');
18284
+ const { OtpInputComponent } = await import('./magmonium-one-otp-jbSGnmwW.mjs');
18281
18285
  this.createDynamicComponent(seq, OtpInputComponent);
18282
18286
  break;
18283
18287
  }
@@ -24785,16 +24789,20 @@ const mInterceptor = (request, next) => {
24785
24789
  return withLoading(sendWithToken());
24786
24790
  }));
24787
24791
  }
24792
+ // Auth calls count like every other backend call. They used to return raw,
24793
+ // which left `busy` false for the whole sign-in flow — the one Screen made
24794
+ // entirely of them — and false during the background `auth/refresh` ADR 0063
24795
+ // says it covers.
24788
24796
  if (isAuth) {
24789
24797
  if (isRefreshCall && pendingRefreshToken) {
24790
- return next(request.clone({
24798
+ return withLoading(next(request.clone({
24791
24799
  headers: request.headers.set('Authorization', pendingRefreshToken),
24792
- }));
24800
+ })));
24793
24801
  }
24794
24802
  if (!tokens) {
24795
- return next(request);
24803
+ return withLoading(next(request));
24796
24804
  }
24797
- return sendWithToken();
24805
+ return withLoading(sendWithToken());
24798
24806
  }
24799
24807
  // `waitForBoth` carries its own loading — it starts when the parked request
24800
24808
  // is sent, and the error the race rejects with reaches the same handler
@@ -31380,4 +31388,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
31380
31388
  */
31381
31389
 
31382
31390
  export { DeviceService as $, ACCESS_DOMAINS as A, BaseInputComponent as B, COLOR_SCHEMES$1 as C, CarouselComponent as D, ChartComponent as E, CheckboxInputComponent as F, ClearableInputComponent as G, ColComponent as H, IS_DESIGN_MODE as I, ColorPickerInputComponent as J, CommentItemComponent as K, LabelComponent as L, CommentsApiService as M, CommentsComponent as N, CommentsStore as O, ComponentInputComponent as P, ComponentStepperComponent as Q, ConfigComponent as R, ConfirmComponent as S, TranslatePipe as T, ContextMenuComponent as U, CustomIconClass as V, CustomIconEditComponent as W, DEFAULT_SIZE as X, DashboardCardComponent as Y, DateInputComponent as Z, DatePickerComponent as _, BaseTextInputComponent as a, NAV_MAIN_BUTTONS as a$, DomService as a0, Domain as a1, DotGridComponent as a2, DragListDirective as a3, DragListItemDirective as a4, DraggableDirective as a5, DropdownInputComponent as a6, FLEX_VARIANTS as a7, FOLDER_PICK_LISTENER as a8, FORM_ASSET_FOLDER 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_, FileService as aa, FileUploadDirective as ab, FileUploadInputComponent as ac, FlexComponent as ad, FlexItemComponent as ae, FormGroupComponent as af, FrameComponent as ag, FreezeService as ah, GEN_NAV_DISPLAY_ORDER as ai, GRID_BREAKPOINTS as aj, GetNavService as ak, HeaderComponent$1 as al, HighlightDirective as am, HttpService as an, ICON_SOURCE 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, TextOutputComponent 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, ButtonComponent as c, WatermarkComponent 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, ThemeComponent as cA, ThemeService as cB, ThemeStore as cC, TimeAgoPipe as cD, TimelineComponent as cE, ToggleButtonComponent as cF, ToggleInputComponent as cG, ToggleRadioInputComponent as cH, ToolTipDirective as cI, TooltipComponent as cJ, TranslateService as cK, TreeGridComponent as cL, URL_SEP as cM, USER_STORE_REF as cN, USER_TAB_MAP as cO, UlComponent as cP, UniverseComponent as cQ, UserApiService as cR, UserAvatarComponent as cS, UserComponent as cT, UserNavComponent as cU, UserSettingsComponent as cV, UserStore as cW, WC_ROUTE_CHANGED_EVENT as cX, WC_SEARCH_GROUPS as cY, WIN_USER_TAB_HOOK as cZ, WIN_USER_TAB_KEY 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, TextareaInputComponent as cz, APP_CONTEXT_REF as d, loginState as d$, WcRouterStore as d0, WrapperInputComponent as d1, anchorNavId as d2, applyColorsToElement as d3, authGuard as d4, bootstrapMagApp as d5, bootstrapPwaInstall as d6, buildWcBaseUrl as d7, calculateLuminance as d8, calculateRanks 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_, cellText as da, checkFilterCondition as db, childNavId as dc, classListSignal as dd, coerceSize 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, ASSET_BASE_URL as e, toLength$1 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, provideSearch as eA, provideSizeContext as eB, provideUserTabs as eC, publicGuard as eD, readFieldPatterns as eE, renderAddress as eF, requiredValidation as eG, resolveConfigAsset as eH, resolveIconSize as eI, resolvePallet as eJ, resolvePatternRules as eK, resolveSize as eL, rgbToHex as eM, rgbToHsl as eN, rowHasChildren as eO, samePatterns as eP, segmentsToNavId as eQ, setProperty as eR, setTreeGridChildren as eS, settingsWidgets as eT, shouldShowBadge as eU, splitNavId as eV, stringToColor as eW, toAttrBool as eX, toAttrNumber as eY, toCssLength as eZ, toHostNavId as e_, 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, parsePatternNames as em, patternValidation as en, patternsValidation as eo, platformNavWidgets as ep, privateGuard as eq, processImageToSvg as er, provideAppContext as es, provideMagAppConfig as et, provideMagWcConfig as eu, provideMagWcRoutes as ev, provideModalComponents as ew, provideMurlUrlSerializer as ex, provideNavWidgets as ey, providePlatformNavWidgets as ez, AccordionBodyDirective as f, toLocalNavId as f0, toggleTreeGridRow as f1, unfetchedPlatformNav as f2, urlValidation as f3, 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, AutosizeDirective as q, BadgeComponent as r, BandingComponent as s, BaseArrayInputComponent as t, BaseRootWebComponent as u, BaseWebComponent as v, ButtonGroupComponent as w, COMPONENT_INPUT_REGISTRY as x, CardComponent as y, CardWrapperComponent as z };
31383
- //# sourceMappingURL=magmonium-one-magmonium-one-BkbEzLl8.mjs.map
31391
+ //# sourceMappingURL=magmonium-one-magmonium-one-K5m2hg62.mjs.map