@magmonium/one 0.0.20 → 0.0.21

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.
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
2
+ <polyline points="9 14 4 9 9 4" fill="none" stroke="#color" stroke-miterlimit="10" />
3
+ <path d="M20 20v-7a4 4 0 0 0-4-4H4" fill="none" stroke="#color" stroke-miterlimit="10" />
4
+ </svg>
@@ -1,5 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#color" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2
- <circle cx="12" cy="5" r="1"/>
3
- <circle cx="12" cy="12" r="1"/>
4
- <circle cx="12" cy="19" r="1"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
2
+ <path fill="#color" d="M12 4.5a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5Zm0 6a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5Zm0 6a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5Z"/>
5
3
  </svg>
@@ -35,6 +35,7 @@
35
35
  "color-picker",
36
36
  "copy",
37
37
  "copyright",
38
+ "corner-left-up",
38
39
  "currency_exchange",
39
40
  "dot",
40
41
  "download",
@@ -4989,6 +4989,7 @@ const SHARED_ICONS = [
4989
4989
  'color-picker',
4990
4990
  'copy',
4991
4991
  'copyright',
4992
+ 'corner-left-up',
4992
4993
  'currency_exchange',
4993
4994
  'dot',
4994
4995
  'download',
@@ -7269,6 +7270,7 @@ class ContextMenuComponent extends ConfigComponent {
7269
7270
  variant: 'ghost',
7270
7271
  iconOnly: true,
7271
7272
  icon: this.iconConfig().name,
7273
+ label: 'actions',
7272
7274
  inverted: this.inverted() ?? this.contextMenuConfig().inverted,
7273
7275
  }), ...(ngDevMode ? [{ debugName: "triggerButtonConfig" }] : /* istanbul ignore next */ []));
7274
7276
  contextMenuOptions = computed(() => {
@@ -15094,7 +15096,7 @@ class WrapperInputComponent extends ConfigComponent {
15094
15096
  break;
15095
15097
  }
15096
15098
  case InputType.TOGGLE: {
15097
- const { ToggleInputComponent } = await import('./magmonium-one-toggle-CovjN1j6.mjs');
15099
+ const { ToggleInputComponent } = await import('./magmonium-one-toggle-CHwozzos.mjs');
15098
15100
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
15099
15101
  break;
15100
15102
  }
@@ -15106,12 +15108,12 @@ class WrapperInputComponent extends ConfigComponent {
15106
15108
  break;
15107
15109
  }
15108
15110
  case InputType.PASSWORD: {
15109
- const { PasswordInputComponent } = await import('./magmonium-one-password-Pk0hhC0A.mjs');
15111
+ const { PasswordInputComponent } = await import('./magmonium-one-password-B8R9zUXo.mjs');
15110
15112
  this.createDynamicComponent(seq, PasswordInputComponent);
15111
15113
  break;
15112
15114
  }
15113
15115
  case InputType.OTP: {
15114
- const { OtpInputComponent } = await import('./magmonium-one-otp-_zwgEGu3.mjs');
15116
+ const { OtpInputComponent } = await import('./magmonium-one-otp-BhkiCLpE.mjs');
15115
15117
  this.createDynamicComponent(seq, OtpInputComponent);
15116
15118
  break;
15117
15119
  }
@@ -17281,6 +17283,14 @@ function samePatterns(a, b) {
17281
17283
  });
17282
17284
  }
17283
17285
 
17286
+ /**
17287
+ * `T` is the record the form carries, named by whoever binds `data`. An output
17288
+ * cannot be typed from what was projected into the form — a Field announces its
17289
+ * name at runtime, and content projection tells the parent's template checker
17290
+ * nothing — so the call site declares the shape on the way in and Angular infers
17291
+ * `submitted` and `dataChange` from it. Unbound, `T` is the untyped record the
17292
+ * form has always handed over.
17293
+ */
17284
17294
  class SectionFormComponent extends ConfigComponent {
17285
17295
  // Same folder FormGroup resolves from: a form's asset is a form's asset
17286
17296
  // whichever component renders it, so `name="contact"` finds
@@ -17443,6 +17453,9 @@ class SectionFormComponent extends ConfigComponent {
17443
17453
  }, ...(ngDevMode ? [{ debugName: "blocked" }] : /* istanbul ignore next */ []));
17444
17454
  // What a submit hands over: the caller's own `data` under the form's current
17445
17455
  // values, so keys no item renders survive the round trip.
17456
+ // The spread is a `T` by the same claim the caller made when it bound `data`:
17457
+ // the FieldTree is keyed by the names the Fields registered, which are `T`'s
17458
+ // keys, and the keys no item renders come off `data` itself.
17446
17459
  submitData = () => ({
17447
17460
  ...this.data(),
17448
17461
  ...(this.formGroup()?.().value() ?? {}),
@@ -17886,7 +17899,7 @@ class SectionFormItemComponent extends ConfigComponent {
17886
17899
  break;
17887
17900
  }
17888
17901
  case InputType.TOGGLE: {
17889
- const { ToggleInputComponent } = await import('./magmonium-one-toggle-CovjN1j6.mjs');
17902
+ const { ToggleInputComponent } = await import('./magmonium-one-toggle-CHwozzos.mjs');
17890
17903
  this.createDynamicComponent(seq, ToggleInputComponent, [], true);
17891
17904
  break;
17892
17905
  }
@@ -17898,12 +17911,12 @@ class SectionFormItemComponent extends ConfigComponent {
17898
17911
  break;
17899
17912
  }
17900
17913
  case InputType.PASSWORD: {
17901
- const { PasswordInputComponent } = await import('./magmonium-one-password-Pk0hhC0A.mjs');
17914
+ const { PasswordInputComponent } = await import('./magmonium-one-password-B8R9zUXo.mjs');
17902
17915
  this.createDynamicComponent(seq, PasswordInputComponent);
17903
17916
  break;
17904
17917
  }
17905
17918
  case InputType.OTP: {
17906
- const { OtpInputComponent } = await import('./magmonium-one-otp-_zwgEGu3.mjs');
17919
+ const { OtpInputComponent } = await import('./magmonium-one-otp-BhkiCLpE.mjs');
17907
17920
  this.createDynamicComponent(seq, OtpInputComponent);
17908
17921
  break;
17909
17922
  }
@@ -30968,4 +30981,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
30968
30981
  */
30969
30982
 
30970
30983
  export { DomService 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, 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, 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, unfetchedPlatformNav 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, provideSizeContext as eA, provideUserTabs as eB, publicGuard as eC, readFieldPatterns as eD, renderAddress as eE, requiredValidation as eF, resolveConfigAsset as eG, resolvePallet as eH, resolveSize as eI, rgbToHex as eJ, rgbToHsl as eK, rowHasChildren as eL, samePatterns as eM, segmentsToNavId as eN, setProperty as eO, setTreeGridChildren as eP, settingsWidgets as eQ, shouldShowBadge as eR, splitNavId as eS, stringToColor as eT, toAttrBool as eU, toAttrNumber as eV, toCssLength as eW, toHostNavId as eX, toLength$1 as eY, toLocalNavId as eZ, toggleTreeGridRow 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, 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, providePlatformNavWidgets as ey, provideSearch as ez, AccordionBodyDirective as f, urlValidation as f0, 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 };
30971
- //# sourceMappingURL=magmonium-one-magmonium-one-DV45kimz.mjs.map
30984
+ //# sourceMappingURL=magmonium-one-magmonium-one-BTUIqlpo.mjs.map