@genesislcap/design-system-configurator 14.134.0 → 14.136.0

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.
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[684],{9684:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>_u,ColorToken:()=>Qu,ColorTokens:()=>Ku,DesignSystemEditor:()=>Ru,DesignSystemExport:()=>Uu,DesignSystemPreview:()=>oh,EventName:()=>wu,PreviewComponents:()=>Eu,PreviewForm:()=>ch,PreviewGrid:()=>hh,TypographyTokens:()=>ah,defaultBodyFont:()=>ku,fontFamilies:()=>xu});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,defaultErrorColor:()=>xe,defaultSuccessColor:()=>Se,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>ke,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,successColor:()=>Ce,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Ae,baseLayerLuminanceValue:()=>Fe,bodyFontValue:()=>Pe,controlCornerRadiusValue:()=>Re,densityValue:()=>Ne,designTokens:()=>Ge,designUnitValue:()=>Le,directionValue:()=>Te,neutralPaletteValue:()=>$e,strokeWidthValue:()=>De,typeRampBaseFontSizeValue:()=>Be,typeRampBaseLineHeightValue:()=>Ue});var i={};r.r(i),r.d(i,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,buyColor:()=>wg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>fg,defaultErrorColor:()=>sg,defaultSellColor:()=>xg,defaultSuccessColor:()=>pg,defaultWarningColor:()=>mg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>dg,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,sellColor:()=>kg,strokeWidth:()=>u.strokeWidth,successColor:()=>ug,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight,warningColor:()=>bg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Fg,accentFillFocusDeltaValue:()=>Og,accentFillHoverDeltaValue:()=>$g,accentFillRestDeltaValue:()=>Ag,accentForegroundActiveDeltaValue:()=>Rg,accentForegroundFocusDeltaValue:()=>Ng,accentForegroundHoverDeltaValue:()=>Dg,accentForegroundRestDeltaValue:()=>Tg,accentPaletteValue:()=>zg,baseHeightMultiplierValue:()=>ls,baseLayerLuminanceValue:()=>Cg,bodyFontValue:()=>cs,controlCornerRadiusValue:()=>gs,densityValue:()=>ss,designTokens:()=>Ts,designUnitValue:()=>ds,directionValue:()=>ts,disabledOpacityValue:()=>os,focusStrokeWidthValue:()=>ns,neutralFillActiveDeltaValue:()=>Ig,neutralFillFocusDeltaValue:()=>jg,neutralFillHoverDeltaValue:()=>Mg,neutralFillInputActiveDeltaValue:()=>Bg,neutralFillInputFocusDeltaValue:()=>Ug,neutralFillInputHoverDeltaValue:()=>Pg,neutralFillInputRestDeltaValue:()=>Eg,neutralFillLayerRestDeltaValue:()=>Jg,neutralFillRestDeltaValue:()=>Lg,neutralFillStealthActiveDeltaValue:()=>_g,neutralFillStealthFocusDeltaValue:()=>Vg,neutralFillStealthHoverDeltaValue:()=>Hg,neutralFillStealthRestDeltaValue:()=>Gg,neutralFillStrongActiveDeltaValue:()=>Wg,neutralFillStrongFocusDeltaValue:()=>qg,neutralFillStrongHoverDeltaValue:()=>Qg,neutralFillStrongRestDeltaValue:()=>Yg,neutralPaletteValue:()=>Sg,neutralStrokeActiveDeltaValue:()=>Xg,neutralStrokeDividerRestDeltaValue:()=>as,neutralStrokeFocusDeltaValue:()=>es,neutralStrokeHoverDeltaValue:()=>Kg,neutralStrokeRestDeltaValue:()=>Zg,prefix:()=>rs,strokeWidthValue:()=>is,typeRampBaseFontSizeValue:()=>ps,typeRampBaseLineHeightValue:()=>us,typeRampMinus1FontSizeValue:()=>hs,typeRampMinus1LineHeightValue:()=>ms,typeRampMinus2FontSizeValue:()=>bs,typeRampMinus2LineHeightValue:()=>vs,typeRampPlus1FontSizeValue:()=>fs,typeRampPlus1LineHeightValue:()=>ws,typeRampPlus2FontSizeValue:()=>ys,typeRampPlus2LineHeightValue:()=>xs,typeRampPlus3FontSizeValue:()=>ks,typeRampPlus3LineHeightValue:()=>zs,typeRampPlus4FontSizeValue:()=>Ss,typeRampPlus4LineHeightValue:()=>Cs,typeRampPlus5FontSizeValue:()=>As,typeRampPlus5LineHeightValue:()=>$s,typeRampPlus6FontSizeValue:()=>Fs,typeRampPlus6LineHeightValue:()=>Os});var l=r(18616),g=r(92592),s=r(66526),d=r(60724),c=r(79292),p=r(99667),u=r(41663),h=r(67973);const m=c.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[500],{78500:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Ch,ColorToken:()=>Fh,ColorTokens:()=>Nh,DesignSystemEditor:()=>uh,DesignSystemExport:()=>kh,DesignSystemPreview:()=>Ph,EventName:()=>eh,PreviewComponents:()=>wh,PreviewForm:()=>Yh,PreviewGrid:()=>qh,TypographyTokens:()=>Ih,defaultBodyFont:()=>th,fontFamilies:()=>rh});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,defaultErrorColor:()=>xe,defaultSuccessColor:()=>Se,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>ke,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,successColor:()=>Ce,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>$e,baseLayerLuminanceValue:()=>Fe,bodyFontValue:()=>Pe,controlCornerRadiusValue:()=>Re,densityValue:()=>Ne,designTokens:()=>Ue,designUnitValue:()=>Le,directionValue:()=>Te,neutralPaletteValue:()=>Ae,strokeWidthValue:()=>De,typeRampBaseFontSizeValue:()=>Be,typeRampBaseLineHeightValue:()=>Ge});var i={};r.r(i),r.d(i,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,buyColor:()=>wg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>fg,defaultErrorColor:()=>sg,defaultSellColor:()=>xg,defaultSuccessColor:()=>pg,defaultWarningColor:()=>mg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>dg,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,sellColor:()=>kg,strokeWidth:()=>u.strokeWidth,successColor:()=>ug,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight,warningColor:()=>bg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Fg,accentFillFocusDeltaValue:()=>Og,accentFillHoverDeltaValue:()=>Ag,accentFillRestDeltaValue:()=>$g,accentForegroundActiveDeltaValue:()=>Rg,accentForegroundFocusDeltaValue:()=>Ng,accentForegroundHoverDeltaValue:()=>Dg,accentForegroundRestDeltaValue:()=>Tg,accentPaletteValue:()=>zg,baseHeightMultiplierValue:()=>ls,baseLayerLuminanceValue:()=>Cg,bodyFontValue:()=>cs,controlCornerRadiusValue:()=>gs,densityValue:()=>ss,designTokens:()=>Ts,designUnitValue:()=>ds,directionValue:()=>ts,disabledOpacityValue:()=>os,focusStrokeWidthValue:()=>ns,neutralFillActiveDeltaValue:()=>Ig,neutralFillFocusDeltaValue:()=>jg,neutralFillHoverDeltaValue:()=>Mg,neutralFillInputActiveDeltaValue:()=>Bg,neutralFillInputFocusDeltaValue:()=>Gg,neutralFillInputHoverDeltaValue:()=>Pg,neutralFillInputRestDeltaValue:()=>Eg,neutralFillLayerRestDeltaValue:()=>Jg,neutralFillRestDeltaValue:()=>Lg,neutralFillStealthActiveDeltaValue:()=>_g,neutralFillStealthFocusDeltaValue:()=>Vg,neutralFillStealthHoverDeltaValue:()=>Hg,neutralFillStealthRestDeltaValue:()=>Ug,neutralFillStrongActiveDeltaValue:()=>Wg,neutralFillStrongFocusDeltaValue:()=>qg,neutralFillStrongHoverDeltaValue:()=>Qg,neutralFillStrongRestDeltaValue:()=>Yg,neutralPaletteValue:()=>Sg,neutralStrokeActiveDeltaValue:()=>Xg,neutralStrokeDividerRestDeltaValue:()=>as,neutralStrokeFocusDeltaValue:()=>es,neutralStrokeHoverDeltaValue:()=>Kg,neutralStrokeRestDeltaValue:()=>Zg,prefix:()=>rs,strokeWidthValue:()=>is,typeRampBaseFontSizeValue:()=>ps,typeRampBaseLineHeightValue:()=>us,typeRampMinus1FontSizeValue:()=>hs,typeRampMinus1LineHeightValue:()=>ms,typeRampMinus2FontSizeValue:()=>bs,typeRampMinus2LineHeightValue:()=>vs,typeRampPlus1FontSizeValue:()=>fs,typeRampPlus1LineHeightValue:()=>ws,typeRampPlus2FontSizeValue:()=>ys,typeRampPlus2LineHeightValue:()=>xs,typeRampPlus3FontSizeValue:()=>ks,typeRampPlus3LineHeightValue:()=>zs,typeRampPlus4FontSizeValue:()=>Ss,typeRampPlus4LineHeightValue:()=>Cs,typeRampPlus5FontSizeValue:()=>$s,typeRampPlus5LineHeightValue:()=>As,typeRampPlus6FontSizeValue:()=>Fs,typeRampPlus6LineHeightValue:()=>Os});var l=r(50400),g=r(92592),s=r(66526),d=r(60724),c=r(79292),p=r(99667),u=r(41663),h=r(67973);const m=c.css`
2
2
  :host {
3
3
  border: calc(${u.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -50,7 +50,7 @@
50
50
  background: ${h.H.Canvas};
51
51
  border-color: ${h.H.CanvasText};
52
52
  }
53
- `));var b=r(66133);const v=(0,b.createLogger)("foundation-form"),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},w=c.html`
53
+ `));var b=r(98127);const v=(0,b.createLogger)("foundation-form"),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},w=c.html`
54
54
  <template>
55
55
  ${(0,c.when)((e=>!1),c.html`
56
56
  <zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
@@ -153,7 +153,7 @@
153
153
  </${e}-tabs>
154
154
  </template>
155
155
  `)(e.form.prefix)}
156
- `})],C);const A=c.html`
156
+ `})],C);const $=c.html`
157
157
  <template>
158
158
  ${(0,c.when)((e=>{var a;return null===(a=e.control)||void 0===a?void 0:a.visible}),c.html`
159
159
  <div
@@ -173,7 +173,7 @@
173
173
  </div>
174
174
  `)}
175
175
  </template>
176
- `,$=c.css`
176
+ `,A=c.css`
177
177
  .wrapperRoot {
178
178
  margin-bottom: 20px;
179
179
  }
@@ -196,7 +196,7 @@
196
196
  width: 100%;
197
197
  align-items: center;
198
198
  }
199
- `;let F=class extends c.FASTElement{get showDescription(){return!(0,d.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,d.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([c.observable],F.prototype,"control",void 0),(0,g.__decorate)([c.observable],F.prototype,"touched",void 0),(0,g.__decorate)([c.volatile],F.prototype,"showDescription",null),(0,g.__decorate)([c.volatile],F.prototype,"computedLabel",null),F=(0,g.__decorate)([(0,c.customElement)({name:"control-wrapper",styles:$,template:A})],F);var O=r(80340),T=r.n(O);const D=c.html`
199
+ `;let F=class extends c.FASTElement{get showDescription(){return!(0,d.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,d.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([c.observable],F.prototype,"control",void 0),(0,g.__decorate)([c.observable],F.prototype,"touched",void 0),(0,g.__decorate)([c.volatile],F.prototype,"showDescription",null),(0,g.__decorate)([c.volatile],F.prototype,"computedLabel",null),F=(0,g.__decorate)([(0,c.customElement)({name:"control-wrapper",styles:A,template:$})],F);var O=r(80340),T=r.n(O);const D=c.html`
200
200
  <template>${e=>e.determinedRenderer.renderer}</template>
201
201
  `,R=c.css``;let N=class extends c.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,d.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,g.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t)=>{const o=Object.assign({},t({jsonforms:a},e)),i=null===d.AZl||void 0===d.AZl?void 0:(0,d.AZl)(r);return Object.assign(Object.assign({},o),i)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=T()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(console.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,g.__decorate)([c.observable],N.prototype,"jsonforms",void 0),(0,g.__decorate)([c.observable],N.prototype,"props",void 0),(0,g.__decorate)([c.observable],N.prototype,"touched",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],N.prototype,"submitted",void 0),(0,g.__decorate)([c.observable],N.prototype,"dispatch",void 0),(0,g.__decorate)([c.observable],N.prototype,"control",void 0),(0,g.__decorate)([c.observable],N.prototype,"renderer",void 0),(0,g.__decorate)([c.observable],N.prototype,"prefix",void 0),N=(0,g.__decorate)([(0,c.customElement)({name:"dispatch-renderer",template:D,styles:R})],N);const L=c.css`
202
202
  .tabs-container::part(stepper-panel-container) {
@@ -284,7 +284,7 @@
284
284
  </control-wrapper>
285
285
  </template>
286
286
  `)(e.prefix)}
287
- `,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(11717);const B=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},U=(0,d.xDy)(B("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));P.MultiselectDatasource;const G={renderer:c.html`
287
+ `,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(14929);const B=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},G=(0,d.xDy)(B("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));P.MultiselectDatasource;const U={renderer:c.html`
288
288
  ${e=>((e="zero")=>c.html`
289
289
  <template>
290
290
  <control-wrapper
@@ -310,7 +310,7 @@
310
310
  </control-wrapper>
311
311
  </template>
312
312
  `)(e.prefix)}
313
- `,tester:(0,d.yMz)(4,U),mapper:d.xq9};P.OptionsDatasource;const H={renderer:c.html`
313
+ `,tester:(0,d.yMz)(4,G),mapper:d.xq9};P.OptionsDatasource;const H={renderer:c.html`
314
314
  ${e=>((e="zero")=>c.html`
315
315
  <template>
316
316
  <control-wrapper
@@ -546,7 +546,7 @@
546
546
  </control-wrapper>
547
547
  </template>
548
548
  `)(e.prefix)}
549
- `,de={renderer:se,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},ce=[{renderer:se,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},de,E,Z,K,X,ee,te,ae,re,ne,G,W,H,Y,q];let pe=class extends p.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=ce,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,v.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield c.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(v.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){v.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,c.attr)({attribute:"design-system-prefix"})],pe.prototype,"prefix",void 0),(0,g.__decorate)([c.attr],pe.prototype,"resourceName",void 0),(0,g.__decorate)([c.observable],pe.prototype,"uischema",void 0),(0,g.__decorate)([c.observable],pe.prototype,"renderers",void 0),(0,g.__decorate)([c.observable],pe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],pe.prototype,"connect",void 0),(0,g.__decorate)([c.observable],pe.prototype,"data",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitting",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitted",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],pe.prototype,"readonly",void 0),(0,g.__decorate)([(0,c.attr)({attribute:"hide-submit-button",mode:"boolean"})],pe.prototype,"hideSubmit",void 0),(0,g.__decorate)([c.volatile],pe.prototype,"isSubmitHidden",null),pe=(0,g.__decorate)([(0,c.customElement)({name:"foundation-form",template:I,styles:m})],pe);var ue,he,me,be,ve,fe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(ue||(ue={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(he||(he={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(me||(me={})),function(e){e.grey="#7c909b"}(be||(be={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ve||(ve={}));const{create:we}=p.DesignToken,ye=(0,fe.parseColorHexRGB)(ue.error),xe=u.SwatchRGB.create(ye.r,ye.g,ye.b),ke=we("error-color").withDefault(xe),ze=(0,fe.parseColorHexRGB)(ue.success),Se=u.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=we("success-color").withDefault(Se),Ae=(0,P.paletteFromHex)(he.blue),$e=(0,P.paletteFromHex)(be.grey),Fe=u.StandardLuminance.DarkMode;var Oe=r(5598);const Te=Oe.N.ltr,De=u.strokeWidth.getValueFor(u.strokeWidth.appliedTo[0]),Re=4,Ne=u.density.getValueFor(u.density.appliedTo[0]),Le=4;var Me=r(47823);const Ie=()=>{(0,Me.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},je='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ee=(e=Me.Hd.Normal,a=Me.U9.Regular)=>(0,Me.py)(je,e,a),Pe=je,Be=u.typeRampBaseFontSize.getValueFor(u.typeRampBaseFontSize.appliedTo[0]),Ue=u.typeRampBaseLineHeight.getValueFor(u.typeRampBaseLineHeight.appliedTo[0]),Ge={design_tokens:{color:{accent:{$value:Ae.source.toColorString(),$type:"color"},neutral:{$value:$e.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Pe,$type:"fontFamily"}},typography:{baseFontSize:{$value:Be,$type:"dimension"},baseLineHeight:{$value:Ue,$type:"dimension"}},mode:{luminance:{$value:Fe,$type:"number"}},style:{density:{$value:Ne,$type:"number"},borderRadius:{$value:Re,$type:"number"},strokeWidth:{$value:De,$type:"number"}},space:{designUnit:{$value:Le,$type:"number"}}}};class He extends P.Accordion{}const _e=He.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
549
+ `,de={renderer:se,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},ce=[{renderer:se,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},de,E,Z,K,X,ee,te,ae,re,ne,U,W,H,Y,q];let pe=class extends p.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=ce,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,v.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield c.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(v.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){v.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,c.attr)({attribute:"design-system-prefix"})],pe.prototype,"prefix",void 0),(0,g.__decorate)([c.attr],pe.prototype,"resourceName",void 0),(0,g.__decorate)([c.observable],pe.prototype,"uischema",void 0),(0,g.__decorate)([c.observable],pe.prototype,"renderers",void 0),(0,g.__decorate)([c.observable],pe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],pe.prototype,"connect",void 0),(0,g.__decorate)([c.observable],pe.prototype,"data",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitting",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitted",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],pe.prototype,"readonly",void 0),(0,g.__decorate)([(0,c.attr)({attribute:"hide-submit-button",mode:"boolean"})],pe.prototype,"hideSubmit",void 0),(0,g.__decorate)([c.volatile],pe.prototype,"isSubmitHidden",null),pe=(0,g.__decorate)([(0,c.customElement)({name:"foundation-form",template:I,styles:m})],pe);var ue,he,me,be,ve,fe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(ue||(ue={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(he||(he={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(me||(me={})),function(e){e.grey="#7c909b"}(be||(be={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ve||(ve={}));const{create:we}=p.DesignToken,ye=(0,fe.parseColorHexRGB)(ue.error),xe=u.SwatchRGB.create(ye.r,ye.g,ye.b),ke=we("error-color").withDefault(xe),ze=(0,fe.parseColorHexRGB)(ue.success),Se=u.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=we("success-color").withDefault(Se),$e=(0,P.paletteFromHex)(he.blue),Ae=(0,P.paletteFromHex)(be.grey),Fe=u.StandardLuminance.DarkMode;var Oe=r(5598);const Te=Oe.N.ltr,De=u.strokeWidth.getValueFor(u.strokeWidth.appliedTo[0]),Re=4,Ne=u.density.getValueFor(u.density.appliedTo[0]),Le=4;var Me=r(47823);const Ie=()=>{(0,Me.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},je='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ee=(e=Me.Hd.Normal,a=Me.U9.Regular)=>(0,Me.py)(je,e,a),Pe=je,Be=u.typeRampBaseFontSize.getValueFor(u.typeRampBaseFontSize.appliedTo[0]),Ge=u.typeRampBaseLineHeight.getValueFor(u.typeRampBaseLineHeight.appliedTo[0]),Ue={design_tokens:{color:{accent:{$value:$e.source.toColorString(),$type:"color"},neutral:{$value:Ae.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Pe,$type:"fontFamily"}},typography:{baseFontSize:{$value:Be,$type:"dimension"},baseLineHeight:{$value:Ge,$type:"dimension"}},mode:{luminance:{$value:Fe,$type:"number"}},style:{density:{$value:Ne,$type:"number"},borderRadius:{$value:Re,$type:"number"},strokeWidth:{$value:De,$type:"number"}},space:{designUnit:{$value:Le,$type:"number"}}}};class He extends P.Accordion{}const _e=He.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
550
550
  ${(0,P.foundationAccordionStyles)(e,a)}
551
551
  `,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Ve extends P.AccordionItem{}const Ye=Ve.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
552
552
  ${(0,P.foundationAccordionItemStyles)(e,a)};
@@ -778,17 +778,17 @@
778
778
  border: 1px solid ${sa(ha)};
779
779
  color: ${Ze(ba)};
780
780
  }
781
- `,Aa=(e,a)=>c.css`
781
+ `,$a=(e,a)=>c.css`
782
782
  ${(0,P.foundationButtonStyles)(e,a)}
783
783
  ${c.css`
784
784
  :host {
785
785
  margin: 5px;
786
786
  }
787
787
  `}
788
- `.withBehaviors(ua("primary-blue",va),ua("primary-purple",fa),ua("primary-gradient",wa),ua("secondary-orange",ya),ua("secondary-teal",xa),ua("neutral-grey",ka),ua("outline-primary-gradient",za),ua("outline-secondary-orange",Sa),ua("outline-secondary-teal",Ca));class $a extends P.Anchor{}const Fa=$a.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
788
+ `.withBehaviors(ua("primary-blue",va),ua("primary-purple",fa),ua("primary-gradient",wa),ua("secondary-orange",ya),ua("secondary-teal",xa),ua("neutral-grey",ka),ua("outline-primary-gradient",za),ua("outline-secondary-orange",Sa),ua("outline-secondary-teal",Ca));class Aa extends P.Anchor{}const Fa=Aa.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
789
789
  ${(0,P.foundationAnchorStyles)(e,a)}
790
- ${Aa(e,a)}
791
- `.withBehaviors(...Aa(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class Oa extends P.AnchoredRegion{}const Ta=Oa.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
790
+ ${$a(e,a)}
791
+ `.withBehaviors(...$a(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class Oa extends P.AnchoredRegion{}const Ta=Oa.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
792
792
  ${(0,P.foundationAnchoredRegionStyles)(e,a)}
793
793
  `,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class Da extends P.Avatar{}const Ra=Da.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,P.foundationAvatarTemplate)(e,a),styles:(e,a)=>c.css`
794
794
  ${(0,P.foundationAvatarStyles)(e,a)}
@@ -813,7 +813,7 @@
813
813
  }
814
814
  `,Ia=P.foundationBannerShadowOptions;class ja extends P.Banner{}const Ea=ja.compose({baseName:"banner",shadowOptions:Ia,styles:Ma,template:P.foundationBannerTemplate});class Pa extends P.Breadcrumb{}const Ba=Pa.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,P.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>c.css`
815
815
  ${(0,P.foundationBreadcrumbStyles)(e,a)}
816
- `,shadowOptions:undefined},{}));class Ua extends P.BreadcrumbItem{}const Ga=Ua.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
816
+ `,shadowOptions:undefined},{}));class Ga extends P.BreadcrumbItem{}const Ua=Ga.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
817
817
  ${(0,P.foundationBreadcrumbItemStyles)(e,a)}
818
818
  :host {
819
819
  --neutral-foreground-rest: #18b2e3;
@@ -824,7 +824,7 @@
824
824
  .separator {
825
825
  color: var(--neutral-stroke-rest);
826
826
  }
827
- `,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class Ha extends P.Button{}const _a=Ha.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:Aa,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class Va extends P.Calendar{}const Ya=Va.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
827
+ `,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class Ha extends P.Button{}const _a=Ha.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:$a,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class Va extends P.Calendar{}const Ya=Va.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
828
828
  ${(0,P.foundationCalendarStyles)()}
829
829
  `,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class Qa extends P.Card{}const Wa=Qa.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
830
830
  ${(0,P.foundationCardStyles)(e,a)}
@@ -999,7 +999,7 @@
999
999
  color: ${u.neutralForegroundRest};
1000
1000
  ${Ee()}
1001
1001
  }
1002
- `}}),Cr=(0,fe.parseColorHexRGB)("#121212"),Ar=qe(Cr,1),$r=c.css`
1002
+ `}}),Cr=(0,fe.parseColorHexRGB)("#121212"),$r=qe(Cr,1),Ar=c.css`
1003
1003
  ${P.foundationDialogStyles}
1004
1004
  :host {
1005
1005
  --dialog-background: ${u.neutralLayer2};
@@ -1062,13 +1062,13 @@
1062
1062
  }
1063
1063
 
1064
1064
  .close-icon:active svg {
1065
- background-color: ${Ar};
1065
+ background-color: ${$r};
1066
1066
  }
1067
1067
 
1068
1068
  .close-icon:active svg g path {
1069
1069
  fill: ${Ze(.33)};
1070
1070
  }
1071
- `,Fr=P.defaultDialogConfig,Or=P.foundationDialogTemplate,Tr=P.foundationDialogShadowOptions;class Dr extends P.Dialog{}const Rr=Dr.compose(Object.assign({baseName:"dialog",shadowOptions:Tr,styles:$r,template:Or},Fr));class Nr extends P.Disclosure{}const Lr=Nr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
1071
+ `,Fr=P.defaultDialogConfig,Or=P.foundationDialogTemplate,Tr=P.foundationDialogShadowOptions;class Dr extends P.Dialog{}const Rr=Dr.compose(Object.assign({baseName:"dialog",shadowOptions:Tr,styles:Ar,template:Or},Fr));class Nr extends P.Disclosure{}const Lr=Nr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
1072
1072
  ${(0,P.foundationDisclosureStyles)(e,a)}
1073
1073
  `,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class Mr extends P.Divider{}const Ir=Mr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,P.foundationDividerTemplate)(e,a),styles:(e,a)=>c.css`
1074
1074
  ${(0,P.foundationDividerStyles)(e,a)}
@@ -1076,7 +1076,7 @@
1076
1076
  ${(0,P.dropdownMenuBaseStyles)("zero",e,a)}
1077
1077
  `,template:P.foundationDropdownMenuTemplate}),Pr=c.html`
1078
1078
  ${(0,P.getPrefixedErrorBanner)("zero")}
1079
- `,Br=P.foundationErrorBannerShadowOptions;class Ur extends P.ErrorBanner{}const Gr=Ur.compose({baseName:"error-banner",template:Pr,shadowOptions:Br});class Hr extends P.ErrorBoundary{}const _r=Hr.compose({baseName:"error-boundary",template:P.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Vr extends P.ErrorDialog{}const Yr=Vr.compose({baseName:"error-dialog",styles:P.foundationErrorDialogStyles,template:P.errorDialogTemplate,shadowOptions:P.foundationErrorDialogShadowOptions}),Qr=c.css`
1079
+ `,Br=P.foundationErrorBannerShadowOptions;class Gr extends P.ErrorBanner{}const Ur=Gr.compose({baseName:"error-banner",template:Pr,shadowOptions:Br});class Hr extends P.ErrorBoundary{}const _r=Hr.compose({baseName:"error-boundary",template:P.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Vr extends P.ErrorDialog{}const Yr=Vr.compose({baseName:"error-dialog",styles:P.foundationErrorDialogStyles,template:P.errorDialogTemplate,shadowOptions:P.foundationErrorDialogShadowOptions}),Qr=c.css`
1080
1080
  ${P.foundationFileUploadStyles}
1081
1081
  ::-webkit-scrollbar {
1082
1082
  width: 12px;
@@ -1179,7 +1179,7 @@
1179
1179
  ${(0,P.foundationHorizontalScrollStyles)(e,a)}
1180
1180
  `,shadowOptions:P.foundationHorizontalScrollShadowOptions},yt));class kt extends P.Icon{}const zt=P.defaultIconConfig,St=P.foundationIconShadowOptions,Ct=kt.compose(Object.assign({baseName:"icon",template:P.foundationIconTemplate,styles:(e,a)=>c.css`
1181
1181
  ${(0,P.foundationIconStyles)(e,a)}
1182
- `,shadowOptions:St},zt));class At extends P.Listbox{}const $t=At.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
1182
+ `,shadowOptions:St},zt));class $t extends P.Listbox{}const At=$t.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
1183
1183
  ${(0,P.foundationListboxStyles)(e,a)}
1184
1184
 
1185
1185
  :host {
@@ -1216,8 +1216,8 @@
1216
1216
  margin: 0;
1217
1217
  }
1218
1218
  `,shadowOptions:Nt},P.defaultMenuItemConfig)),It=c.css`
1219
- ${$r}
1220
- `,jt=P.defaultModalConfig,Et=P.foundationModalTemplate,Pt=P.foundationModalShadowOptions;class Bt extends P.Modal{}const Ut=Bt.compose(Object.assign({baseName:"modal",shadowOptions:Pt,styles:It,template:Et},jt)),Gt=c.css`
1219
+ ${Ar}
1220
+ `,jt=P.defaultModalConfig,Et=P.foundationModalTemplate,Pt=P.foundationModalShadowOptions;class Bt extends P.Modal{}const Gt=Bt.compose(Object.assign({baseName:"modal",shadowOptions:Pt,styles:It,template:Et},jt)),Ut=c.css`
1221
1221
  ${P.multiselectStyles}
1222
1222
 
1223
1223
  :host {
@@ -1275,7 +1275,7 @@
1275
1275
  }
1276
1276
  `,Ht=c.html`
1277
1277
  ${(0,P.getPrefixedMultiselect)("zero")}
1278
- `;class _t extends P.Multiselect{}const Vt=P.defaultMultiselectConfig,Yt=P.foundationMultiselectShadowOptions,Qt=_t.compose(Object.assign({baseName:"multiselect",template:Ht,styles:Gt,shadowOptions:Yt},Vt));class Wt extends P.NotificationListener{}const qt=Wt.compose({baseName:"notification-listener",template:P.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Jt=(e,a)=>c.css`
1278
+ `;class _t extends P.Multiselect{}const Vt=P.defaultMultiselectConfig,Yt=P.foundationMultiselectShadowOptions,Qt=_t.compose(Object.assign({baseName:"multiselect",template:Ht,styles:Ut,shadowOptions:Yt},Vt));class Wt extends P.NotificationListener{}const qt=Wt.compose({baseName:"notification-listener",template:P.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Jt=(e,a)=>c.css`
1279
1279
  ${(0,P.foundationTextFieldStyles)(e,a)}
1280
1280
  :host {
1281
1281
  --primary-gradient-angle: -113.5deg;
@@ -1593,7 +1593,7 @@
1593
1593
  }
1594
1594
  `,Co=c.html`
1595
1595
  ${(0,P.getPrefixedSnackbar)("zero")}
1596
- `,Ao=P.foundationSnackbarShadowOptions;class $o extends P.Snackbar{}const Fo=$o.compose({baseName:"snackbar",shadowOptions:Ao,styles:So,template:Co}),Oo=c.css`
1596
+ `,$o=P.foundationSnackbarShadowOptions;class Ao extends P.Snackbar{}const Fo=Ao.compose({baseName:"snackbar",shadowOptions:$o,styles:So,template:Co}),Oo=c.css`
1597
1597
  ${P.foundationStepperStyles}
1598
1598
 
1599
1599
  .stepper-tab {
@@ -1660,7 +1660,7 @@
1660
1660
  ${he.purple}
1661
1661
  );
1662
1662
  }
1663
- `,shadowOptions:P.foundationSwitchShadowOptions},P.defaultSwitchConfig));class Bo extends P.Tab{}const Uo=Bo.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
1663
+ `,shadowOptions:P.foundationSwitchShadowOptions},P.defaultSwitchConfig));class Bo extends P.Tab{}const Go=Bo.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
1664
1664
  ${(0,P.foundationTabStyles)(e,a)}
1665
1665
  :host {
1666
1666
  background-color: ${u.neutralLayer2};
@@ -1684,7 +1684,7 @@
1684
1684
  margin-right: 0;
1685
1685
  background-color: var(--zero-card-fill-color);
1686
1686
  }
1687
- `,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class Go extends P.TabPanel{}const Ho=Go.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
1687
+ `,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class Uo extends P.TabPanel{}const Ho=Uo.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
1688
1688
  ${(0,P.foundationTabPanelStyles)(e,a)}
1689
1689
  :host {
1690
1690
  padding: 0;
@@ -1842,7 +1842,7 @@
1842
1842
  ${(0,P.foundationTreeViewStyles)(e,a)}
1843
1843
  `,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),si=c.html`
1844
1844
  ${(0,P.getPrefixedUrlInput)("zero")}
1845
- `;class di extends P.UrlInput{}const ci={zeroAccordion:_e,zeroAccordionItem:Ye,zeroActionsMenu:We,zeroAnchor:Fa,zeroAnchoredRegion:Ta,zeroAvatar:Ra,zeroBadge:La,zeroBanner:Ea,zeroBreadcrumbItem:Ga,zeroBreadcrumb:Ba,zeroButton:_a,zeroCalendar:Ya,zeroCard:Wa,zeroCheckbox:Ja,zeroCombobox:sr,zeroConnectionIndicator:cr,zeroDataGrid:mr,zeroDesignSystemProvider:Sr,zeroDialog:Rr,zeroDatePicker:fr,zeroDisclosure:Lr,zeroDivider:Ir,zeroDropdownMenu:Er,zeroErrorBoundary:_r,zeroNotificationListener:qt,zeroErrorBanner:Gr,zeroErrorDialog:Yr,zeroFileUpload:Kr,zeroFilter:at,zeroFilterBar:ot,zeroFlexLayout:nt,zeroFlipper:gt,zeroFlyout:ht,zeroGridLayout:bt,zeroGridLayoutItem:ft,zeroHorizontalScroll:xt,zeroIcon:Ct,zeroListbox:$t,zeroListboxOption:Ot,zeroMenu:Rt,zeroMenuItem:Mt,zeroModal:Ut,zeroMultiselect:Qt,zeroNumberField:ao,zeroProgress:to,zeroProgressRing:no,zeroRadio:go,zeroRadioGroup:co,zeroSegmentedControl:uo,zeroSegmentedItem:mo,zeroSelect:vo,zeroSkeleton:wo,zeroSlider:xo,zeroSliderLabel:zo,zeroSnackbar:Fo,zeroStepper:Ro,zeroStepperTab:Mo,zeroStepperTabPanel:jo,zeroSwitch:Po,zeroTab:Uo,zeroTabPanel:Ho,zeroTabs:Vo,zeroTextArea:Qo,zeroTextField:qo,zeroToast:ei,zeroToolbar:ri,zeroTooltip:oi,zeroTreeItem:ni,zeroTreeView:gi,zeroUrlInput:di.compose(Object.assign({baseName:"url-input",template:si,styles:(e,a)=>c.css`
1845
+ `;class di extends P.UrlInput{}const ci={zeroAccordion:_e,zeroAccordionItem:Ye,zeroActionsMenu:We,zeroAnchor:Fa,zeroAnchoredRegion:Ta,zeroAvatar:Ra,zeroBadge:La,zeroBanner:Ea,zeroBreadcrumbItem:Ua,zeroBreadcrumb:Ba,zeroButton:_a,zeroCalendar:Ya,zeroCard:Wa,zeroCheckbox:Ja,zeroCombobox:sr,zeroConnectionIndicator:cr,zeroDataGrid:mr,zeroDesignSystemProvider:Sr,zeroDialog:Rr,zeroDatePicker:fr,zeroDisclosure:Lr,zeroDivider:Ir,zeroDropdownMenu:Er,zeroErrorBoundary:_r,zeroNotificationListener:qt,zeroErrorBanner:Ur,zeroErrorDialog:Yr,zeroFileUpload:Kr,zeroFilter:at,zeroFilterBar:ot,zeroFlexLayout:nt,zeroFlipper:gt,zeroFlyout:ht,zeroGridLayout:bt,zeroGridLayoutItem:ft,zeroHorizontalScroll:xt,zeroIcon:Ct,zeroListbox:At,zeroListboxOption:Ot,zeroMenu:Rt,zeroMenuItem:Mt,zeroModal:Gt,zeroMultiselect:Qt,zeroNumberField:ao,zeroProgress:to,zeroProgressRing:no,zeroRadio:go,zeroRadioGroup:co,zeroSegmentedControl:uo,zeroSegmentedItem:mo,zeroSelect:vo,zeroSkeleton:wo,zeroSlider:xo,zeroSliderLabel:zo,zeroSnackbar:Fo,zeroStepper:Ro,zeroStepperTab:Mo,zeroStepperTabPanel:jo,zeroSwitch:Po,zeroTab:Go,zeroTabPanel:Ho,zeroTabs:Vo,zeroTextArea:Qo,zeroTextField:qo,zeroToast:ei,zeroToolbar:ri,zeroTooltip:oi,zeroTreeItem:ni,zeroTreeView:gi,zeroUrlInput:di.compose(Object.assign({baseName:"url-input",template:si,styles:(e,a)=>c.css`
1846
1846
  ${(0,P.foundationUrlInputStyles)(e,a)}
1847
1847
  a {
1848
1848
  color: ${he.blue};
@@ -1856,7 +1856,7 @@
1856
1856
  .${wi(e)} {
1857
1857
  ${new P.CSSVarsTokenMapper(a)}
1858
1858
  }
1859
- `;var xi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(xi||(xi={}));const ki="__editedColumn",zi="__errorColumn",Si={},Ci=p.DI.createInterface((e=>e.instance(Si)));bi().extend(fi());class Ai extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[ki]}}(0,hi.__decorate)([c.observable],Ai.prototype,"value",void 0),(0,hi.__decorate)([c.observable],Ai.prototype,"actualWidth",void 0);const $i=c.css`
1859
+ `;var xi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(xi||(xi={}));const ki="__editedColumn",zi="__errorColumn",Si={},Ci=p.DI.createInterface((e=>e.instance(Si)));bi().extend(fi());class $i extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[ki]}}(0,hi.__decorate)([c.observable],$i.prototype,"value",void 0),(0,hi.__decorate)([c.observable],$i.prototype,"actualWidth",void 0);const Ai=c.css`
1860
1860
  :host {
1861
1861
  display: flex;
1862
1862
  }
@@ -1868,7 +1868,7 @@
1868
1868
  @input=${(e,a)=>e.changeHandler(a.event)}
1869
1869
  style="width: ${e=>e.actualWidth}px"
1870
1870
  ></${e}-text-field>
1871
- `,Oi=Ai.compose({baseName:"date-editor",styles:$i,template:Fi()});class Ti extends Ai{}const Di=Ti.compose({baseName:"date-editor",styles:$i,template:Fi("zero")});class Ri extends p.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[ki]}}(0,hi.__decorate)([c.observable],Ri.prototype,"params",void 0),(0,hi.__decorate)([c.observable],Ri.prototype,"selectedOptions",void 0);const Ni=c.css``,Li=(e="foundation")=>c.html`
1871
+ `,Oi=$i.compose({baseName:"date-editor",styles:Ai,template:Fi()});class Ti extends $i{}const Di=Ti.compose({baseName:"date-editor",styles:Ai,template:Fi("zero")});class Ri extends p.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[ki]}}(0,hi.__decorate)([c.observable],Ri.prototype,"params",void 0),(0,hi.__decorate)([c.observable],Ri.prototype,"selectedOptions",void 0);const Ni=c.css``,Li=(e="foundation")=>c.html`
1872
1872
  <${e}-multiselect
1873
1873
  style="width: 100%"
1874
1874
  ?async=${e=>e.params.async}
@@ -1899,7 +1899,7 @@
1899
1899
  :initialSelectedValue=${e=>e.params.value}
1900
1900
  ></options-datasource>
1901
1901
  </${e}-combobox>
1902
- `,Ui=Ei.compose({baseName:"select-editor",styles:Pi,template:Bi()});class Gi extends Ei{}const Hi=Gi.compose({baseName:"select-editor",styles:Pi,template:Bi("zero")});class _i extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[ki]}}(0,hi.__decorate)([c.observable],_i.prototype,"params",void 0),(0,hi.__decorate)([c.observable],_i.prototype,"value",void 0),(0,hi.__decorate)([c.observable],_i.prototype,"actualWidth",void 0);const Vi=c.css`
1902
+ `,Gi=Ei.compose({baseName:"select-editor",styles:Pi,template:Bi()});class Ui extends Ei{}const Hi=Ui.compose({baseName:"select-editor",styles:Pi,template:Bi("zero")});class _i extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[ki]}}(0,hi.__decorate)([c.observable],_i.prototype,"params",void 0),(0,hi.__decorate)([c.observable],_i.prototype,"value",void 0),(0,hi.__decorate)([c.observable],_i.prototype,"actualWidth",void 0);const Vi=c.css`
1903
1903
  :host {
1904
1904
  display: flex;
1905
1905
  }
@@ -2003,7 +2003,7 @@
2003
2003
  :checked=${e=>e.selected}
2004
2004
  ?disabled=${e=>!e.params.colDef.editable}
2005
2005
  ></${a}>
2006
- `},Sn=xn.compose({baseName:"boolean-renderer",styles:kn,template:zn()});class Cn extends xn{}const An=Cn.compose({baseName:"boolean-renderer",styles:kn,template:zn("zero")});var $n=r(18471);const Fn=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class On extends p.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Fn(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,hi.__decorate)([c.observable],On.prototype,"textValue",void 0),(0,hi.__decorate)([c.observable],On.prototype,"params",void 0);const Tn=c.css`
2006
+ `},Sn=xn.compose({baseName:"boolean-renderer",styles:kn,template:zn()});class Cn extends xn{}const $n=Cn.compose({baseName:"boolean-renderer",styles:kn,template:zn("zero")});var An=r(18471);const Fn=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class On extends p.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Fn(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,hi.__decorate)([c.observable],On.prototype,"textValue",void 0),(0,hi.__decorate)([c.observable],On.prototype,"params",void 0);const Tn=c.css`
2007
2007
  :host {
2008
2008
  display: flex;
2009
2009
  width: 100%;
@@ -2018,7 +2018,7 @@
2018
2018
  ${(0,c.ref)("textField")}
2019
2019
  type="text"
2020
2020
  class="text-renderer"
2021
- :value="${(0,$n.Z)((e=>e.textValue))}"
2021
+ :value="${(0,An.Z)((e=>e.textValue))}"
2022
2022
  @change="${(e,a)=>e.textChanged(a.event)}"
2023
2023
  ></${a}>
2024
2024
  `},Rn=On.compose({baseName:"grid-pro-text-renderer",styles:Tn,template:Dn()});class Nn extends On{}const Ln=Tn,Mn=Dn,In=Nn.compose({baseName:"grid-text-renderer",styles:Ln,template:Mn()});const jn=class extends Nn{}.compose({baseName:"grid-text-renderer",styles:Ln,template:Mn("zero")});class En extends p.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Fn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,hi.__decorate)([c.observable],En.prototype,"params",void 0),(0,hi.__decorate)([c.observable],En.prototype,"value",void 0);const Pn=c.css`
@@ -2046,7 +2046,7 @@
2046
2046
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
2047
2047
  `)}
2048
2048
  </${a}>
2049
- `},Un=En.compose({baseName:"select-renderer",styles:Pn,template:Bn()});const Gn=class extends En{}.compose({baseName:"select-renderer",styles:Pn,template:Bn("zero")});var Hn=r(89861),_n=r(86534),Vn=r(75527),Yn=r(9492);const Qn=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,Yn.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Yn.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Yn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Yn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Yn.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Yn.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Yn.__classPrivateFieldGet)(this,o,"f")&&((0,Yn.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Yn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Yn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Yn.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Yn.__classPrivateFieldGet)(this,r,"f")._key&&(0,Yn.__classPrivateFieldSet)(this,r,(0,Yn.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,Yn.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,Yn.__classPrivateFieldGet)(this,t,"f")!==(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Yn.__classPrivateFieldSet)(this,t,null!==(a=(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Yn.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Yn.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Yn.__classPrivateFieldSet)(this,t,null!==(o=(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Yn.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[Wn])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,Yn.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},Wn=Symbol("layout-cache-document");var qn=r(75951),Jn=r(9770);const Zn=c.html`
2049
+ `},Gn=En.compose({baseName:"select-renderer",styles:Pn,template:Bn()});const Un=class extends En{}.compose({baseName:"select-renderer",styles:Pn,template:Bn("zero")});var Hn=r(89861),_n=r(86534),Vn=r(75527),Yn=r(9492);const Qn=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,Yn.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Yn.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Yn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Yn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Yn.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Yn.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Yn.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Yn.__classPrivateFieldGet)(this,o,"f")&&((0,Yn.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Yn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Yn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Yn.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Yn.__classPrivateFieldGet)(this,r,"f")._key&&(0,Yn.__classPrivateFieldSet)(this,r,(0,Yn.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,Yn.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,Yn.__classPrivateFieldGet)(this,t,"f")!==(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Yn.__classPrivateFieldSet)(this,t,null!==(a=(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Yn.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Yn.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Yn.__classPrivateFieldSet)(this,t,null!==(o=(0,Yn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Yn.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[Wn])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,Yn.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},Wn=Symbol("layout-cache-document");var qn=r(75951),Jn=r(9770);const Zn=c.html`
2050
2050
  <template>
2051
2051
  <slot ${(0,c.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2052
2052
  </template>
@@ -2054,7 +2054,7 @@
2054
2054
  <template>
2055
2055
  <slot ${(0,c.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2056
2056
  </template>
2057
- `;let el=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,hi.__decorate)([c.observable],el.prototype,"slottedAgCell",void 0),(0,hi.__decorate)([c.observable],el.prototype,"definition",void 0),el=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:Xn})],el);var al=r(82940),rl=r(32449),tl=r(9162),ol=r(5127),il=r(83123),nl=r(35991),ll=r(6852),gl=r(26714),sl=r(71452),dl=r(99449),cl=r(30526);class pl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=al.WJ.MAX_ROWS_250,this.maxView=al.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,hi.__decorate)([s.lj],pl.prototype,"connect",void 0),(0,hi.__decorate)([c.observable],pl.prototype,"deferredGridOptions",void 0),(0,hi.__decorate)([c.observable],pl.prototype,"deferredColumnStates",void 0),(0,hi.__decorate)([c.attr],pl.prototype,"criteria",void 0),(0,hi.__decorate)([c.attr],pl.prototype,"fields",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],pl.prototype,"isSnapshot",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"max-rows"})],pl.prototype,"maxRows",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"max-view"})],pl.prototype,"maxView",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],pl.prototype,"movingView",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"order-by"})],pl.prototype,"orderBy",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"resource-name"})],pl.prototype,"resourceName",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean"})],pl.prototype,"reverse",void 0);var ul=r(21607);function hl({value:e}){return(0,ul.D_)(e)}function ml({value:e}){return(0,ul.Lx)(e)}var bl;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(bl||(bl={}));let vl=class extends(Qn(pl)){constructor(){super(...arguments),this.pollingInterval=al.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new gl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,rl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}get agGrid(){return this.parentElement}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?al.WJ.REQUEST_SERVER_ROW_ID:al.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===al.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===al.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?al.WJ.REQUEST_SERVER_ROW_ID:al.WJ.DATASERVER_ROW_ID}init(){return(0,hi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);if(!e)return void dn.warn(`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`);this.isRequestServer=e.TYPE===al._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,hi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,sl.T)(1),(0,dl.b)(r),(0,cl.b)((e=>dn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else dn.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new gl.X(new Map),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=this.getAgColumnDefs(this.datasource.fieldMetadata);e&&this.agGrid.gridApi.setColumnDefs(e)}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(t),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,hi.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,hi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return dn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot){const e=yield this.datasource.snapshot();if(e){this.handleErrors(e);const a=this.handleSnapshot(e);this.setRowData(a)}}else dn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===tl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,ol.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,ol.$)(e).inserts:e.inserts}handleErrors(e){e.ERROR&&(this.agGrid.gridApi.showNoRowsOverlay(),this.agGrid.gridApi.setRowData([]))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void dn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}applyAllAgTransactions(){this.agTransaction.add.length||this.agTransaction.update.length||this.agTransaction.remove.length?(this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},bl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},bl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},bl.Update,this.agGrid.asyncUpdate)):this.agGrid.gridApi.hideOverlay()}flashAddedCells(e){this.agGrid.enableRowFlashing&&e.length&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.agGrid.gridApi.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}mapTransaction(e,a=Object.values(bl)){if(!this.rowDataMapper)return e;const r={};return a.includes(bl.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(bl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(bl.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rows.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rows.set(e[this.rowId],a)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case il.r.DATE:case il.r.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}(e.type),e.type){case il.r.STRING:r.cellEditor=xi.stringEditor;break;case il.r.NUMBER:r.cellEditor=xi.numberEditor,r.filter="agNumberColumnFilter";break;case il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=xi.boolean,r.cellEditor=xi.boolean);break;case il.r.DATE:r.valueFormatter=hl,r.cellEditor=xi.dateEditor,r.filter="agDateColumnFilter";break;case il.r.DATETIME:r.valueFormatter=ml,r.filter="agDateColumnFilter",r.cellEditor=xi.dateEditor,r.cellEditorParams={withTime:!0};break;case il.r.ENUM:e.enumOptions?(r.cellEditor=xi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):dn.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,rl.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}};(0,hi.__decorate)([nl.g],vl.prototype,"auth",void 0),(0,hi.__decorate)([ll.Yh],vl.prototype,"datasource",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],vl.prototype,"pollingInterval",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],vl.prototype,"disablePolling",void 0),(0,hi.__decorate)([c.observable],vl.prototype,"request",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"row-id"})],vl.prototype,"rowIdAttr",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],vl.prototype,"restartOnReconnection",void 0),(0,hi.__decorate)([c.observable],vl.prototype,"rowDataMapper",void 0),vl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],vl);let fl=class extends vl{};fl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],fl);var wl=r(66306),yl=r(47546);function xl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"agNumberColumnFilter";case"date":case"datetime":return"agDateColumnFilter";default:return"agTextColumnFilter"}}function kl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn";case"date":case"datetime":return"dateColumn";default:return null}}class zl{constructor(e){this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.rowData=new Map,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a;return(0,hi.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel,t=Object.keys(r).length>0,o=0===Object.keys(r).length,i=JSON.stringify(r)!==JSON.stringify(this.currentFilterModel);(i||t)&&(o&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):i&&t&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const n=e.request.sortModel;if(n.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||n.length>0)if(0===n.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(n.length>0){this.currentSortModel=n;const e=this.currentSortModel[0].colId,a=this.currentSortModel[0].sort,r=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,e);r.toBeSorted.forEach((e=>{this.currentSortModel.push({sort:a,colId:e})})),this.resourceParams.ORDER_BY=r.orderBy,this.resourceParams.REVERSE="desc"===a,this.restartSubscription()}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,yl.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===tl.Cs.LOGOFF_ACK||o===tl.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:Array.from(this.rowData.values()),rowCount:0};return void e.success(a)}{const e=(0,ol.$)(a);this.handleInitialStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size),!this.moreRows&&this.server_ROWS_COUNT>=this.client_ROWS_COUNT?this.calculatedRowsCount=this.client_ROWS_COUNT:this.calculatedRowsCount+=null!==(t=this.rowData.size)&&void 0!==t?t:0;const i={rowData:Array.from(this.rowData.values())};this.pagination&&(i.rowCount=Math.min(this.server_ROWS_COUNT,this.maxView)),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?i.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT&&(i.rowCount=this.server_ROWS_COUNT),e.success(i)}))}))}dataLogoff(){this.streamSourceRef&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.streamSourceRef),this.streamSourceRef=void 0}restartSubscription(){this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>dn.error(e)),this.resourceParams)}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){const a=[...t];return a.splice(e,1),{orderBy:r,toBeSorted:a}}}}handleInitialStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e.ROW_REF,e)})),this.client_ROWS_COUNT+=r.size,this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,hi.__decorate)([nl.g],zl.prototype,"auth",void 0),(0,hi.__decorate)([s.lj],zl.prototype,"connect",void 0);let Sl=class extends(Qn(pl)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,rl.p)(a,";");!r&&t&&this.restart()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.DOM.queueUpdate((()=>{e&&this.reset()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,hi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>dn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,wl.C)(e);const a=(0,wl.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new zl({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:this.maxRows,maxView:this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}))),{once:!0});dn.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){var e;this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.setServerSideDatasource(this.dataserverStream)}restart(){this.reset(),this.init()}get agGrid(){return this.parentElement}clearRowData(){var e,a,r,t;null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.setColumnDefs([]);const o={remove:[]};null===(r=this.agGrid.gridApi)||void 0===r||r.forEachNode((e=>{o.remove.push(e.data)})),null===(t=this.agGrid.gridApi)||void 0===t||t.applyServerSideTransaction(o)}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));dn.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return dn.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,hi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>dn.debug(e)),(e=>dn.error(e)),null!=e?e:this.params)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case il.r.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case il.r.DATE:case il.r.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case il.r.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}(e.type),e.type){case il.r.NUMBER:r.cellEditor=xi.numberEditor;break;case il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=xi.boolean,r.cellEditor=xi.boolean);break;case il.r.DATE:r.valueFormatter=hl;break;case il.r.DATETIME:r.valueFormatter=ml;break;case il.r.ENUM:r.cellEditor=xi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:kl(e.type),filter:xl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,hi.__decorate)([(0,c.attr)({mode:"boolean"})],Sl.prototype,"pagination",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"row-id"})],Sl.prototype,"rowId",void 0),Sl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],Sl);const Cl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1H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Iz4bBZgxWU01M/x1gr1udqJlaBGlimhjGsr+uF+bwiOA+zU2oE91TLEeIauP1xWe6rUM/pA81yOYpihiSB7JUXB/oI+iZaGt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Al='\n @font-face {\n font-family: "agGridBalham";\n src: url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kVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',$l={[ui.alpine]:Cl,[ui.alpineDark]:Cl,[ui.balham]:Al,[ui.balhamDark]:Al,[ui.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6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TKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Fl=Cl,Ol=c.css`
2057
+ `;let el=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,hi.__decorate)([c.observable],el.prototype,"slottedAgCell",void 0),(0,hi.__decorate)([c.observable],el.prototype,"definition",void 0),el=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:Xn})],el);var al=r(82940),rl=r(32449),tl=r(9162),ol=r(5127),il=r(83123),nl=r(35991),ll=r(6852),gl=r(26714),sl=r(71452),dl=r(99449),cl=r(30526);class pl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=al.WJ.MAX_ROWS_250,this.maxView=al.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,hi.__decorate)([s.lj],pl.prototype,"connect",void 0),(0,hi.__decorate)([c.observable],pl.prototype,"deferredGridOptions",void 0),(0,hi.__decorate)([c.observable],pl.prototype,"deferredColumnStates",void 0),(0,hi.__decorate)([c.attr],pl.prototype,"criteria",void 0),(0,hi.__decorate)([c.attr],pl.prototype,"fields",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],pl.prototype,"isSnapshot",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"max-rows"})],pl.prototype,"maxRows",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"max-view"})],pl.prototype,"maxView",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],pl.prototype,"movingView",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"order-by"})],pl.prototype,"orderBy",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"resource-name"})],pl.prototype,"resourceName",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean"})],pl.prototype,"reverse",void 0);var ul=r(21607);function hl({value:e}){return(0,ul.D_)(e)}function ml({value:e}){return(0,ul.Lx)(e)}var bl;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(bl||(bl={}));let vl=class extends(Qn(pl)){constructor(){super(...arguments),this.pollingInterval=al.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.rows=new Map,this.criteriaFromFilters=new Map,this.update=new gl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,rl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}get agGrid(){return this.parentElement}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?al.WJ.REQUEST_SERVER_ROW_ID:al.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===al.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===al.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?al.WJ.REQUEST_SERVER_ROW_ID:al.WJ.DATASERVER_ROW_ID}init(){return(0,hi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);if(!e)return void dn.warn(`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`);this.isRequestServer=e.TYPE===al._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,hi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,sl.T)(1),(0,dl.b)(r),(0,cl.b)((e=>dn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else dn.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new gl.X(new Map),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rows.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rows=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=this.getAgColumnDefs(this.datasource.fieldMetadata);e&&this.agGrid.gridApi.setColumnDefs(e)}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(t),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,hi.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,hi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return dn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot){const e=yield this.datasource.snapshot();if(e){this.handleErrors(e);const a=this.handleSnapshot(e);this.setRowData(a)}}else dn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===tl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,ol.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,ol.$)(e).inserts:e.inserts}handleErrors(e){e.ERROR&&(this.agGrid.gridApi.showNoRowsOverlay(),this.agGrid.gridApi.setRowData([]))}datasourceOptions(){return{criteria:this.buildCriteria(),fields:this.fields,isSnapshot:this.isSnapshot,maxRows:this.maxRows,maxView:this.maxView,movingView:this.movingView,orderBy:this.orderBy,pollingInterval:this.pollingInterval,disablePolling:this.disablePolling,request:this.request,resourceName:this.resourceName,reverse:this.reverse}}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=e.REPLY;if(!Array.isArray(r)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void dn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rows.set(e[this.rowId],e)}));const e=this.rows.size>0?Array.from(this.rows.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rows.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rows.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rows.set(e[this.rowId],e)}));const r=Array.from(this.rows.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}applyAllAgTransactions(){this.agTransaction.add.length||this.agTransaction.update.length||this.agTransaction.remove.length?(this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},bl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},bl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},bl.Update,this.agGrid.asyncUpdate)):this.agGrid.gridApi.hideOverlay()}flashAddedCells(e){this.agGrid.enableRowFlashing&&e.length&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.agGrid.gridApi.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.agGrid.gridApi.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}mapTransaction(e,a=Object.values(bl)){if(!this.rowDataMapper)return e;const r={};return a.includes(bl.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(bl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(bl.Update)&&(r.update=this.rowDataMapper(e.update,this.rows)),r}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rows.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rows.get(e[this.rowId]),r=Object.assign(Object.assign({},a),e);this.agTransaction.update.push(r)}else this.agTransaction.add.push(e),this.agTransaction.addIndex=0;this.rows.set(e[this.rowId],e)}))}handleStreamDeletes(e){null==e||e.forEach((e=>{if(this.hasDefaultRowId||this.isRequestServer)this.agTransaction.remove.push({[this.rowId]:e[this.rowId]});else{const a=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rows.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rows.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rows)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rows.set(e[this.rowId],a)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case il.r.DATE:case il.r.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}(e.type),e.type){case il.r.STRING:r.cellEditor=xi.stringEditor;break;case il.r.NUMBER:r.cellEditor=xi.numberEditor,r.filter="agNumberColumnFilter";break;case il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=xi.boolean,r.cellEditor=xi.boolean);break;case il.r.DATE:r.valueFormatter=hl,r.cellEditor=xi.dateEditor,r.filter="agDateColumnFilter";break;case il.r.DATETIME:r.valueFormatter=ml,r.filter="agDateColumnFilter",r.cellEditor=xi.dateEditor,r.cellEditorParams={withTime:!0};break;case il.r.ENUM:e.enumOptions?(r.cellEditor=xi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):dn.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,rl.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}};(0,hi.__decorate)([nl.g],vl.prototype,"auth",void 0),(0,hi.__decorate)([ll.Yh],vl.prototype,"datasource",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],vl.prototype,"pollingInterval",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],vl.prototype,"disablePolling",void 0),(0,hi.__decorate)([c.observable],vl.prototype,"request",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"row-id"})],vl.prototype,"rowIdAttr",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],vl.prototype,"restartOnReconnection",void 0),(0,hi.__decorate)([c.observable],vl.prototype,"rowDataMapper",void 0),vl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],vl);let fl=class extends vl{};fl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],fl);var wl=r(66306),yl=r(47546);function xl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"agNumberColumnFilter";case"date":case"datetime":return"agDateColumnFilter";default:return"agTextColumnFilter"}}function kl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn";case"date":case"datetime":return"dateColumn";default:return null}}class zl{constructor(e){this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.rowData=new Map,this.dataserverStream=e.stream,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a;return(0,hi.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel,t=Object.keys(r).length>0,o=0===Object.keys(r).length,i=JSON.stringify(r)!==JSON.stringify(this.currentFilterModel);(i||t)&&(o&&this.currentFilterModel?(this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.restartSubscription()):i&&t&&(this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),this.restartSubscription()));const n=e.request.sortModel;if(n.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||n.length>0)if(0===n.length&&this.currentSortModel)this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,this.restartSubscription();else if(n.length>0){this.currentSortModel=n;const e=this.currentSortModel[0].colId,a=this.currentSortModel[0].sort,r=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,e);r.toBeSorted.forEach((e=>{this.currentSortModel.push({sort:a,colId:e})})),this.resourceParams.ORDER_BY=r.orderBy,this.resourceParams.REVERSE="desc"===a,this.restartSubscription()}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,yl.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===tl.Cs.LOGOFF_ACK||o===tl.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:Array.from(this.rowData.values()),rowCount:0};return void e.success(a)}{const e=(0,ol.$)(a);this.handleInitialStreamLoad(e)}this.lastSequenceId=a.SEQUENCE_ID,1===this.lastSequenceId&&(this.streamSourceRef=a.SOURCE_REF,this.server_ROWS_COUNT=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size),!this.moreRows&&this.server_ROWS_COUNT>=this.client_ROWS_COUNT?this.calculatedRowsCount=this.client_ROWS_COUNT:this.calculatedRowsCount+=null!==(t=this.rowData.size)&&void 0!==t?t:0;const i={rowData:Array.from(this.rowData.values())};this.pagination&&(i.rowCount=Math.min(this.server_ROWS_COUNT,this.maxView)),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?i.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT&&(i.rowCount=this.server_ROWS_COUNT),e.success(i)}))}))}dataLogoff(){this.streamSourceRef&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.streamSourceRef),this.streamSourceRef=void 0}restartSubscription(){this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>dn.error(e)),this.resourceParams)}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){const a=[...t];return a.splice(e,1),{orderBy:r,toBeSorted:a}}}}handleInitialStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e.ROW_REF,e)})),this.client_ROWS_COUNT+=r.size,this.rowData=r}buildCriteriaMatchFromFilters(){this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,this.resourceParams.CRITERIA_MATCH&&"string"==typeof this.resourceParams.CRITERIA_MATCH&&(this.resourceParams.CRITERIA_MATCH=this.resourceParams.CRITERIA_MATCH.split(";")),this.resourceParams.CRITERIA_MATCH||(this.resourceParams.CRITERIA_MATCH=[]);return this.resourceParams.CRITERIA_MATCH.concat(this.criteriaFromFilters()).join(" && ")}criteriaFromFilters(){const e=[];return this.getFiltersByType("text").forEach((a=>{if(this.currentFilterModel[a].filter||"false"!==this.currentFilterModel[a].type&&"true"!==this.currentFilterModel[a].type)switch(this.currentFilterModel[a].type){case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`)}})),this.getFiltersByType("date").forEach((a=>{const r=this.currentFilterModel[a].dateFrom.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${r}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${r}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${r}')`)}})),e}getFiltersByType(e){return Object.keys(this.currentFilterModel).filter((e=>-1!==this.resourceColDefs.findIndex((a=>a.NAME===e)))).filter((a=>this.currentFilterModel[a].filterType===e))}}(0,hi.__decorate)([nl.g],zl.prototype,"auth",void 0),(0,hi.__decorate)([s.lj],zl.prototype,"connect",void 0);let Sl=class extends(Qn(pl)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,rl.p)(a,";");!r&&t&&this.restart()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.DOM.queueUpdate((()=>{e&&this.reset()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}init(){if(this.agGrid&&this.resourceName&&this.connect.isConnected)return this.agGrid.gridOptions=Object.assign({getRowId:e=>e.data?e.data[this.rowId]:null,cacheBlockSize:this.maxRows,defaultColDef:{filter:!0,resizable:!0,sortable:!0},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.deferredGridOptions),void this.agGrid.addEventListener("onGridReady",(()=>(0,hi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>dn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,wl.C)(e);const a=(0,wl.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new zl({stream:t,resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.originalFieldDef,maxRows:this.maxRows,maxView:this.maxView,rowId:this.rowId,pagination:this.pagination}),this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream)}))),{once:!0});dn.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){var e;this.clearRowData(),this.dataserverStream=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.setServerSideDatasource(this.dataserverStream)}restart(){this.reset(),this.init()}get agGrid(){return this.parentElement}clearRowData(){var e,a,r,t;null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.setColumnDefs([]);const o={remove:[]};null===(r=this.agGrid.gridApi)||void 0===r||r.forEachNode((e=>{o.remove.push(e.data)})),null===(t=this.agGrid.gridApi)||void 0===t||t.applyServerSideTransaction(o)}getResourceIndexes(e){const a=new Map;return null==e||e.forEach((e=>{a.set(e.NAME,e.FIELDS.split(" "))})),a}get params(){const e={CRITERIA_MATCH:this.criteria,FIELDS:this.fields,MAX_ROWS:this.maxRows,MAX_VIEW:this.maxView,MOVING_VIEW:this.movingView,REVERSE:this.reverse},a=Array.from(this.indexes.keys());if(this.orderBy)if(a.findIndex((e=>e===this.orderBy))>-1)e.ORDER_BY=this.orderBy;else{const e=a.map((e=>e));dn.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return dn.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,hi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>dn.debug(e)),(e=>dn.error(e)),null!=e?e:this.params)}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case il.r.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case il.r.DATE:case il.r.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case il.r.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}(e.type),e.type){case il.r.NUMBER:r.cellEditor=xi.numberEditor;break;case il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=xi.boolean,r.cellEditor=xi.boolean);break;case il.r.DATE:r.valueFormatter=hl;break;case il.r.DATETIME:r.valueFormatter=ml;break;case il.r.ENUM:r.cellEditor=xi.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:kl(e.type),filter:xl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,hi.__decorate)([(0,c.attr)({mode:"boolean"})],Sl.prototype,"pagination",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"row-id"})],Sl.prototype,"rowId",void 0),Sl=(0,hi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],Sl);const Cl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TB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+iZaGt9tQq2n9Q0derrnU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',$l='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh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n84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Al={[ui.alpine]:Cl,[ui.alpineDark]:Cl,[ui.balham]:$l,[ui.balhamDark]:$l,[ui.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg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ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Fl=Cl,Ol=c.css`
2058
2058
  .ag-icon {
2059
2059
  font-family: var(--ag-icon-font-family);
2060
2060
  font-size: var(--ag-icon-size);
@@ -10274,7 +10274,7 @@
10274
10274
  <slot></slot>
10275
10275
  </span>
10276
10276
  </template>
10277
- `;class jl{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function El(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}sn.O3h.registerModules([_n.jM,Hn.I]);const Pl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Bl extends(Qn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Jn.A)(wi(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=Fl,this.columnComponentName="grid-pro-column",this.theme=ui.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=sn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Pl(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&sn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Pl(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[xi.action]:cn,[xi.actionsMenu]:vn,[xi.boolean]:xn,[xi.editable]:rn,[xi.selectEditor]:Ei,[xi.numberEditor]:_i,[xi.multiselectEditor]:Ri,[xi.dateEditor]:Ai,[xi.stringEditor]:Ji};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,hi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProDatasource?s.columnDefs=t:s.columnDefs=this.mergeAllColumnDefsAndStates(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),sn.plv.copyAttributesToGridOptions(s,this.agAttributes));const d={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new sn.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return dn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[],o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[ki]===e.field)return{component:xi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=jl,e.tooltipValueGetter=a=>{const r=a.data[zi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[zi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return El(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return El(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=sn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=sn.plv.ALL_PROPERTIES.map((e=>Pl(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},sn.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=$l[e]||this.gridFontFace;this.destroyFontFace();const r=(0,qn.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,hi.__decorate)([c.observable],Bl.prototype,"columnApi",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridApi",void 0),(0,hi.__decorate)([Vn.z],Bl.prototype,"session",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Bl.prototype,"autoCellRendererByType",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Bl.prototype,"onlyTemplateColDefs",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Bl.prototype,"gridAutosizingEnabled",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"add-index"})],Bl.prototype,"addIndex",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Bl.prototype,"asyncAdd",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Bl.prototype,"asyncRemove",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Bl.prototype,"asyncUpdate",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Bl.prototype,"enableCellFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Bl.prototype,"enabledRowFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Bl.prototype,"enableRowFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Bl.prototype,"persistColumnStateKey",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridFontFace",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"columnComponentName",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"eventsAndCallbacks",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"headerHeight",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"rowHeight",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"theme",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"classNames",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"agGrid",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridSlot",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridComponents",void 0),(0,hi.__decorate)([Ci],Bl.prototype,"gridOptionsConfig",void 0);const Ul=void 0,Gl={shadowOptions:void 0},Hl=Bl.compose(Object.assign({baseName:"grid-pro",styles:Ml,template:Il,shadowOptions:Ul},Gl)),_l={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},Vl={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:Yl}=p.DesignToken,Ql={backgroundColor:Yl("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.backgroundSwatch:_l.backgroundSwatch)),borderColor:Yl("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.borderSwatch:_l.borderSwatch)),foregroundColor:Yl("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.foregroundSwatch:_l.foregroundSwatch)),headerForegroundColor:Yl("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.headerForegroundSwatch:_l.headerForegroundSwatch)),rowHoverColor:Yl("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.rowHoverSwatch:_l.rowHoverSwatch))},Wl=c.css`
10277
+ `;class jl{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function El(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}sn.O3h.registerModules([_n.jM,Hn.I]);const Pl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Bl extends(Qn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,Jn.A)(wi(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=Fl,this.columnComponentName="grid-pro-column",this.theme=ui.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=sn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Pl(a)]=a,e)),{})}connectedCallback(){super.connectedCallback(),this.rehydrationAttempted=!1,this.gridAutosizingEnabled&&((e,a)=>{const r={root:document.documentElement};new IntersectionObserver((e=>{e.forEach((e=>{a(e.intersectionRatio>0)}))}),r).observe(e)})(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.shouldRunConnect&&sn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Pl(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[xi.action]:cn,[xi.actionsMenu]:vn,[xi.boolean]:xn,[xi.editable]:rn,[xi.selectEditor]:Ei,[xi.numberEditor]:_i,[xi.multiselectEditor]:Ri,[xi.dateEditor]:$i,[xi.stringEditor]:Ji};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,hi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProDatasource?s.columnDefs=t:s.columnDefs=this.mergeAllColumnDefsAndStates(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),sn.plv.copyAttributesToGridOptions(s,this.agAttributes));const d={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new sn.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return dn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[],o=Array.from(this.querySelectorAll(this.columnComponentName)).map((e=>e.definition)).map((e=>{this.enableCellFlashing&&void 0===e.enableCellChangeFlash&&(e.enableCellChangeFlash=!0),e.editable&&(e.cellRenderer||e.cellRendererSelector||(e.cellRendererSelector=a=>{if(a.data[ki]===e.field)return{component:xi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=jl,e.tooltipValueGetter=a=>{const r=a.data[zi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[zi])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return El(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return El(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=sn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=sn.plv.ALL_PROPERTIES.map((e=>Pl(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},sn.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=Al[e]||this.gridFontFace;this.destroyFontFace();const r=(0,qn.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,hi.__decorate)([c.observable],Bl.prototype,"columnApi",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridApi",void 0),(0,hi.__decorate)([Vn.z],Bl.prototype,"session",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Bl.prototype,"autoCellRendererByType",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Bl.prototype,"onlyTemplateColDefs",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Bl.prototype,"gridAutosizingEnabled",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"add-index"})],Bl.prototype,"addIndex",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Bl.prototype,"asyncAdd",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Bl.prototype,"asyncRemove",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Bl.prototype,"asyncUpdate",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Bl.prototype,"enableCellFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Bl.prototype,"enabledRowFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Bl.prototype,"enableRowFlashing",void 0),(0,hi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Bl.prototype,"persistColumnStateKey",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridFontFace",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"columnComponentName",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"eventsAndCallbacks",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"headerHeight",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"rowHeight",void 0),(0,hi.__decorate)([c.attr],Bl.prototype,"theme",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"classNames",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"agGrid",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridSlot",void 0),(0,hi.__decorate)([c.observable],Bl.prototype,"gridComponents",void 0),(0,hi.__decorate)([Ci],Bl.prototype,"gridOptionsConfig",void 0);const Gl=void 0,Ul={shadowOptions:void 0},Hl=Bl.compose(Object.assign({baseName:"grid-pro",styles:Ml,template:Il,shadowOptions:Gl},Ul)),_l={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},Vl={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:Yl}=p.DesignToken,Ql={backgroundColor:Yl("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.backgroundSwatch:_l.backgroundSwatch)),borderColor:Yl("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.borderSwatch:_l.borderSwatch)),foregroundColor:Yl("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.foregroundSwatch:_l.foregroundSwatch)),headerForegroundColor:Yl("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.headerForegroundSwatch:_l.headerForegroundSwatch)),rowHoverColor:Yl("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Vl.rowHoverSwatch:_l.rowHoverSwatch))},Wl=c.css`
10278
10278
  .ag-theme-genesis-rapid,
10279
10279
  .ag-theme-genesis-rapid-dark {
10280
10280
  --ag-alpine-active-color: #2196f3;
@@ -10781,7 +10781,7 @@
10781
10781
  .error {
10782
10782
  border-color: ${ve.shortPink} !important;
10783
10783
  }
10784
- `,ag=Il,rg="ag-theme-genesis-rapid-dark";const tg=Gl,og={zeroAgEditableRenderer:gn,zeroAgActionRenderer:bn,zeroAgActionsMenuRenderer:yn,zeroAgBooleanRenderer:An,zeroAgTextRenderer:jn,zeroAgSelectRenderer:Gn,zeroAgDateEditor:Di,zeroAgMultiselectEditor:ji,zeroAgSelectEditor:Hi,zeroAgNumberEditor:qi,zeroAgStringEditor:an,zeroGridPro:class extends Bl{constructor(){super(...arguments),this.theme=rg}themeChanged(e,a){(e||a===rg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[xi.action]:mn,[xi.actionsMenu]:wn,[xi.boolean]:Cn,[xi.editable]:ln,[xi.selectEditor]:Gi,[xi.numberEditor]:Wi,[xi.multiselectEditor]:Ii,[xi.dateEditor]:Ti,[xi.stringEditor]:en};(this.theme===Jl||this.theme===Kl)&&(this.headerHeight=null!==(a=e.headerHeight)&&void 0!==a?a:32,this.rowHeight=null!==(r=e.rowHeight)&&void 0!==r?r:32),super.gridOptions=e}}.compose(Object.assign({baseName:"grid-pro",template:ag,styles:eg,shadowOptions:undefined},tg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},ig={foundationGridProActionRenderer:hn,foundationGridProActionsMenuRenderer:fn,foundationAgBooleanRenderer:Sn,foundationAgTextRenderer:In,foundationAgTextFieldRenderer:Rn,foundationAgEditableRenderer:nn,foundationAgSelectRenderer:Un,foundationGridPro:Hl,foundationSelectEditor:Ui,foundationNumberEditor:Qi,foundationDateEditor:Oi,foundationMultiselectEditor:Mi,foundationStringEditor:Xi,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var ng;!function(e){e.primary="#11C9FC",e.neutral="#7C909B",e.error="#F9644D",e.success="#7ACC79",e.warning="#FFB660",e.info="#11C9FC",e.buy="#7ACC79",e.sell="#F14376"}(ng||(ng={}));const{create:lg}=p.DesignToken,gg=(0,fe.parseColorHexRGB)(ng.error),sg=u.SwatchRGB.create(gg.r,gg.g,gg.b),dg=lg("error-color").withDefault(sg),cg=(0,fe.parseColorHexRGB)(ng.success),pg=u.SwatchRGB.create(cg.r,cg.g,cg.b),ug=lg("success-color").withDefault(pg),hg=(0,fe.parseColorHexRGB)(ng.warning),mg=u.SwatchRGB.create(hg.r,hg.g,hg.b),bg=lg("warning-color").withDefault(mg),vg=(0,fe.parseColorHexRGB)(ng.buy),fg=u.SwatchRGB.create(vg.r,vg.g,vg.b),wg=lg("buy-color").withDefault(fg),yg=(0,fe.parseColorHexRGB)(ng.sell),xg=u.SwatchRGB.create(yg.r,yg.g,yg.b),kg=lg("sell-color").withDefault(xg),zg=(0,P.paletteFromHex)(ng.primary),Sg=(0,P.paletteFromHex)(ng.neutral),Cg=u.StandardLuminance.DarkMode,Ag=0,$g=4,Fg=-5,Og=0,Tg=0,Dg=6,Rg=-4,Ng=0,Lg=7,Mg=10,Ig=5,jg=0,Eg=0,Pg=0,Bg=0,Ug=0,Gg=0,Hg=5,_g=3,Vg=0,Yg=0,Qg=8,Wg=-5,qg=0,Jg=3,Zg=25,Kg=40,Xg=16,es=25,as=8,rs="rapid",ts=Oe.N.ltr,os=.3,is=1,ns=2,ls=10,gs=4,ss=0,ds=4,cs='"Segoe UI", Arial, Helvetica, sans-serif',ps="14px",us="20px",hs="12px",ms="16px",bs="10px",vs="16px",fs="16px",ws="24px",ys="20px",xs="28px",ks="28px",zs="36px",Ss="34px",Cs="44px",As="46px",$s="56px",Fs="60px",Os="72px",Ts={design_tokens:{color:{accent:{$value:zg.source.toColorString(),$type:"color"},neutral:{$value:Sg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:cs,$type:"fontFamily"}},typography:{baseFontSize:{$value:ps,$type:"dimension"},baseLineHeight:{$value:us,$type:"dimension"}},mode:{luminance:{$value:Cg,$type:"number"}},style:{density:{$value:ss,$type:"number"},borderRadius:{$value:gs,$type:"number"},strokeWidth:{$value:is,$type:"number"}},space:{designUnit:{$value:ds,$type:"number"}}}};class Ds extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(i,n,this)}}const Rs=Ds.compose({baseName:"design-system-provider",template:c.html`
10784
+ `,ag=Il,rg="ag-theme-genesis-rapid-dark";const tg=Ul,og={zeroAgEditableRenderer:gn,zeroAgActionRenderer:bn,zeroAgActionsMenuRenderer:yn,zeroAgBooleanRenderer:$n,zeroAgTextRenderer:jn,zeroAgSelectRenderer:Un,zeroAgDateEditor:Di,zeroAgMultiselectEditor:ji,zeroAgSelectEditor:Hi,zeroAgNumberEditor:qi,zeroAgStringEditor:an,zeroGridPro:class extends Bl{constructor(){super(...arguments),this.theme=rg}themeChanged(e,a){(e||a===rg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[xi.action]:mn,[xi.actionsMenu]:wn,[xi.boolean]:Cn,[xi.editable]:ln,[xi.selectEditor]:Ui,[xi.numberEditor]:Wi,[xi.multiselectEditor]:Ii,[xi.dateEditor]:Ti,[xi.stringEditor]:en};(this.theme===Jl||this.theme===Kl)&&(this.headerHeight=null!==(a=e.headerHeight)&&void 0!==a?a:32,this.rowHeight=null!==(r=e.rowHeight)&&void 0!==r?r:32),super.gridOptions=e}}.compose(Object.assign({baseName:"grid-pro",template:ag,styles:eg,shadowOptions:undefined},tg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},ig={foundationGridProActionRenderer:hn,foundationGridProActionsMenuRenderer:fn,foundationAgBooleanRenderer:Sn,foundationAgTextRenderer:In,foundationAgTextFieldRenderer:Rn,foundationAgEditableRenderer:nn,foundationAgSelectRenderer:Gn,foundationGridPro:Hl,foundationSelectEditor:Gi,foundationNumberEditor:Qi,foundationDateEditor:Oi,foundationMultiselectEditor:Mi,foundationStringEditor:Xi,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var ng;!function(e){e.primary="#11C9FC",e.neutral="#7C909B",e.error="#F9644D",e.success="#7ACC79",e.warning="#FFB660",e.info="#11C9FC",e.buy="#7ACC79",e.sell="#F14376"}(ng||(ng={}));const{create:lg}=p.DesignToken,gg=(0,fe.parseColorHexRGB)(ng.error),sg=u.SwatchRGB.create(gg.r,gg.g,gg.b),dg=lg("error-color").withDefault(sg),cg=(0,fe.parseColorHexRGB)(ng.success),pg=u.SwatchRGB.create(cg.r,cg.g,cg.b),ug=lg("success-color").withDefault(pg),hg=(0,fe.parseColorHexRGB)(ng.warning),mg=u.SwatchRGB.create(hg.r,hg.g,hg.b),bg=lg("warning-color").withDefault(mg),vg=(0,fe.parseColorHexRGB)(ng.buy),fg=u.SwatchRGB.create(vg.r,vg.g,vg.b),wg=lg("buy-color").withDefault(fg),yg=(0,fe.parseColorHexRGB)(ng.sell),xg=u.SwatchRGB.create(yg.r,yg.g,yg.b),kg=lg("sell-color").withDefault(xg),zg=(0,P.paletteFromHex)(ng.primary),Sg=(0,P.paletteFromHex)(ng.neutral),Cg=u.StandardLuminance.DarkMode,$g=0,Ag=4,Fg=-5,Og=0,Tg=0,Dg=6,Rg=-4,Ng=0,Lg=7,Mg=10,Ig=5,jg=0,Eg=0,Pg=0,Bg=0,Gg=0,Ug=0,Hg=5,_g=3,Vg=0,Yg=0,Qg=8,Wg=-5,qg=0,Jg=3,Zg=25,Kg=40,Xg=16,es=25,as=8,rs="rapid",ts=Oe.N.ltr,os=.3,is=1,ns=2,ls=10,gs=4,ss=0,ds=4,cs='"Segoe UI", Arial, Helvetica, sans-serif',ps="14px",us="20px",hs="12px",ms="16px",bs="10px",vs="16px",fs="16px",ws="24px",ys="20px",xs="28px",ks="28px",zs="36px",Ss="34px",Cs="44px",$s="46px",As="56px",Fs="60px",Os="72px",Ts={design_tokens:{color:{accent:{$value:zg.source.toColorString(),$type:"color"},neutral:{$value:Sg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:cs,$type:"fontFamily"}},typography:{baseFontSize:{$value:ps,$type:"dimension"},baseLineHeight:{$value:us,$type:"dimension"}},mode:{luminance:{$value:Cg,$type:"number"}},style:{density:{$value:ss,$type:"number"},borderRadius:{$value:gs,$type:"number"},strokeWidth:{$value:is,$type:"number"}},space:{designUnit:{$value:ds,$type:"number"}}}};class Ds extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(i,n,this)}}const Rs=Ds.compose({baseName:"design-system-provider",template:c.html`
10785
10785
  <slot></slot>
10786
10786
  `});class Ns extends P.Accordion{}const Ls=Ns.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
10787
10787
  ${(0,P.foundationAccordionStyles)(e,a)}
@@ -10918,7 +10918,7 @@
10918
10918
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
10919
10919
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
10920
10920
  }
10921
- `,Us=c.css`
10921
+ `,Gs=c.css`
10922
10922
  :host([appearance='primary-outline']) {
10923
10923
  background: none;
10924
10924
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -10936,7 +10936,7 @@
10936
10936
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
10937
10937
  opacity: 100%;
10938
10938
  }
10939
- `,Gs=c.css`
10939
+ `,Us=c.css`
10940
10940
  :host([appearance='neutral-outline']) {
10941
10941
  background: none;
10942
10942
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
@@ -11031,7 +11031,7 @@
11031
11031
  opacity: 100%;
11032
11032
  }
11033
11033
  `}
11034
- `.withBehaviors(Ps("primary",Bs),Ps("primary-outline",Us),Ps("neutral-outline",Gs),Ps("link",Hs));class Vs extends P.Anchor{}const Ys=Vs.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
11034
+ `.withBehaviors(Ps("primary",Bs),Ps("primary-outline",Gs),Ps("neutral-outline",Us),Ps("link",Hs));class Vs extends P.Anchor{}const Ys=Vs.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
11035
11035
  ${(0,P.foundationAnchorStyles)(e,a)}
11036
11036
  ${_s(e,a)}
11037
11037
  `.withBehaviors(..._s(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class Qs extends P.AnchoredRegion{}const Ws=Qs.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
@@ -11237,7 +11237,7 @@
11237
11237
  font-size: var(--type-ramp-base-font-size);
11238
11238
  color: var(--neutral-stroke-rest);
11239
11239
  }
11240
- `}),wd=["baseClass","baseName","shadowOptions","styles","template"],yd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=wd)=>Object.keys(e).filter((e=>!a.includes(e))).reduce(((a,r)=>(a[r]=e[r],a)),{}))(a);return{shadowOptions:r,styles:t,template:o,defaultConfig:i}},{defaultConfig:xd,shadowOptions:kd,styles:zd,template:Sd}=yd(P.foundationDataGrid),{defaultConfig:Cd,shadowOptions:Ad,styles:$d,template:Fd}=yd(P.foundationDataGridCell),{defaultConfig:Od,shadowOptions:Td,styles:Dd,template:Rd}=yd(P.foundationDataGridRow),Nd=c.html`
11240
+ `}),wd=["baseClass","baseName","shadowOptions","styles","template"],yd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=wd)=>Object.keys(e).filter((e=>!a.includes(e))).reduce(((a,r)=>(a[r]=e[r],a)),{}))(a);return{shadowOptions:r,styles:t,template:o,defaultConfig:i}},{defaultConfig:xd,shadowOptions:kd,styles:zd,template:Sd}=yd(P.foundationDataGrid),{defaultConfig:Cd,shadowOptions:$d,styles:Ad,template:Fd}=yd(P.foundationDataGridCell),{defaultConfig:Od,shadowOptions:Td,styles:Dd,template:Rd}=yd(P.foundationDataGridRow),Nd=c.html`
11241
11241
  ${(0,P.getPrefixedDatePicker)("rapid")}
11242
11242
  `;class Ld extends P.DatePicker{}const Md=Ld.compose(Object.assign({baseName:"date-picker",template:Nd,styles:()=>c.css`
11243
11243
  ${P.foundationDatePickerStyles}
@@ -11399,7 +11399,7 @@
11399
11399
  .close-icon:active svg g path {
11400
11400
  fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
11401
11401
  }
11402
- `,jd=P.defaultDialogConfig,Ed=P.foundationDialogTemplate,Pd=P.foundationDialogShadowOptions;class Bd extends P.Dialog{}const Ud=Bd.compose(Object.assign({baseName:"dialog",shadowOptions:Pd,styles:Id,template:Ed},jd));class Gd extends P.Disclosure{}const Hd=Gd.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
11402
+ `,jd=P.defaultDialogConfig,Ed=P.foundationDialogTemplate,Pd=P.foundationDialogShadowOptions;class Bd extends P.Dialog{}const Gd=Bd.compose(Object.assign({baseName:"dialog",shadowOptions:Pd,styles:Id,template:Ed},jd));class Ud extends P.Disclosure{}const Hd=Ud.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
11403
11403
  ${(0,P.foundationDisclosureStyles)(e,a)}
11404
11404
  :host {
11405
11405
  font-size: var(--type-ramp-base-font-size);
@@ -11578,7 +11578,7 @@
11578
11578
  }
11579
11579
  `,vc=c.html`
11580
11580
  ${(0,P.getPrefixedFlyout)("rapid")}
11581
- `,fc=P.defaultFlyoutConfig,wc=P.foundationFlyoutShadowOptions;class yc extends P.Flyout{}const xc=yc.compose(Object.assign({baseName:"flyout",shadowOptions:wc,styles:bc,template:vc},fc)),{defaultConfig:kc,shadowOptions:zc,styles:Sc,template:Cc}=yd(P.foundationGridLayout),{defaultConfig:Ac,shadowOptions:$c,styles:Fc,template:Oc}=yd(P.foundationGridLayoutItem);class Tc extends P.HorizontalScroll{}const Dc={nextFlipper:c.html`
11581
+ `,fc=P.defaultFlyoutConfig,wc=P.foundationFlyoutShadowOptions;class yc extends P.Flyout{}const xc=yc.compose(Object.assign({baseName:"flyout",shadowOptions:wc,styles:bc,template:vc},fc)),{defaultConfig:kc,shadowOptions:zc,styles:Sc,template:Cc}=yd(P.foundationGridLayout),{defaultConfig:$c,shadowOptions:Ac,styles:Fc,template:Oc}=yd(P.foundationGridLayoutItem);class Tc extends P.HorizontalScroll{}const Dc={nextFlipper:c.html`
11582
11582
  <rapid-flipper
11583
11583
  @click="${e=>e.scrollToNext()}"
11584
11584
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -11621,7 +11621,7 @@
11621
11621
  background: var(--neutral-layer-4);
11622
11622
  color: var(--accent-fill-rest);
11623
11623
  }
11624
- `,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class Uc extends P.Menu{}const Gc=Uc.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,P.foundationMenuTemplate)(e,a),styles:(e,a)=>c.css`
11624
+ `,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class Gc extends P.Menu{}const Uc=Gc.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,P.foundationMenuTemplate)(e,a),styles:(e,a)=>c.css`
11625
11625
  ${(0,P.foundationMenuStyles)(e,a)}
11626
11626
  :host {
11627
11627
  border: calc(var(--focus-stroke-width) * 1px) solid
@@ -11994,7 +11994,7 @@
11994
11994
  --neutral-fill-stealth-rest
11995
11995
  ); /** value in ux doc rgba(242 242 242 / 0.1) */
11996
11996
  }
11997
- `,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class Cp extends P.Slider{}const Ap=Cp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
11997
+ `,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class Cp extends P.Slider{}const $p=Cp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
11998
11998
  ${(0,P.foundationSliderStyles)(e,a)}
11999
11999
 
12000
12000
  .thumb-cursor {
@@ -12052,7 +12052,7 @@
12052
12052
  background-color: var(--neutral-stroke-rest);
12053
12053
  width: calc((var(--track-width) + 2) * 1px) !important;
12054
12054
  }
12055
- `,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class $p extends P.SliderLabel{}const Fp=$p.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
12055
+ `,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class Ap extends P.SliderLabel{}const Fp=Ap.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
12056
12056
  ${(0,P.foundationSliderLabelStyles)(e,a)}
12057
12057
  .label {
12058
12058
  padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
@@ -12197,7 +12197,7 @@
12197
12197
  :host([error]) .step-title {
12198
12198
  color: var(--error-color);
12199
12199
  }
12200
- `,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class Up extends P.StepperTabPanel{}const Gp=Up.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig)),Hp={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class _p extends P.Switch{}const Vp=_p.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
12200
+ `,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class Gp extends P.StepperTabPanel{}const Up=Gp.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig)),Hp={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class _p extends P.Switch{}const Vp=_p.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
12201
12201
  ${(0,P.foundationSwitchStyles)(e,a)}
12202
12202
  :host {
12203
12203
  --primary-gradient-angle: -113.5deg;
@@ -12521,7 +12521,7 @@
12521
12521
  ${(0,P.foundationTreeViewStyles)(e,a)}
12522
12522
  `,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),bu=c.html`
12523
12523
  ${(0,P.getPrefixedUrlInput)("rapid")}
12524
- `;class vu extends P.UrlInput{}const fu={designSystemProvider:Rs,rapidAccordion:Ls,rapidAccordionItem:Is,rapidActionsMenu:Es,rapidAnchor:Ys,rapidAnchoredRegion:Ws,rapidAvatar:Js,rapidBadge:Ks,rapidBanner:rd,rapidBreadcrumb:od,rapidBreadcrumbItem:nd,rapidButton:gd,rapidCalendar:dd,rapidCard:pd,rapidCheckbox:hd,rapidCombobox:bd,rapidConnectionIndicator:fd,rapidDataGrid:()=>(0,P.foundationDataGrid)(),rapidDataGridCell:()=>(0,P.foundationDataGridCell)(),rapidDataGridRow:()=>(0,P.foundationDataGridRow)(),rapidDatePicker:Md,rapidDialog:Ud,rapidDisclosure:Hd,rapidDivider:Vd,rapidDropdownMenu:Qd,rapidErrorBoundary:()=>(0,P.foundationErrorBoundary)(),rapidFileUpload:tc,rapidFilter:nc,rapidFilterBar:sc,rapidFlexLayout:()=>(0,P.foundationFlexLayout)(),rapidFlipper:mc,rapidFlyout:xc,rapidGridLayout:()=>(0,P.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,P.foundationGridLayoutItem)(),rapidHorizontalScroll:Rc,rapidIcon:Ic,rapidListbox:Ec,rapidListboxOption:Bc,rapidMenu:Gc,rapidMenuItem:Vc,rapidModal:Zc,rapidMultiselect:tp,rapidNumberField:gp,rapidProgress:dp,rapidProgressRing:pp,rapidRadio:hp,rapidRadioGroup:bp,rapidSegmentedControl:fp,rapidSegmentedItem:yp,rapidSelect:kp,rapidSkeleton:Sp,rapidSlider:Ap,rapidSliderLabel:Fp,rapidSnackbar:Np,rapidStepper:jp,rapidStepperTab:Bp,rapidStepperTabPanel:Gp,rapidSwitch:Vp,rapidTab:Qp,rapidTabPanel:qp,rapidTabs:Zp,rapidTextArea:Xp,rapidTextField:au,rapidToast:nu,rapidToolbar:gu,rapidTooltip:du,rapidTreeItem:uu,rapidTreeView:mu,rapidUrlInput:vu.compose(Object.assign({baseName:"url-input",template:bu,styles:(e,a)=>c.css`
12524
+ `;class vu extends P.UrlInput{}const fu={designSystemProvider:Rs,rapidAccordion:Ls,rapidAccordionItem:Is,rapidActionsMenu:Es,rapidAnchor:Ys,rapidAnchoredRegion:Ws,rapidAvatar:Js,rapidBadge:Ks,rapidBanner:rd,rapidBreadcrumb:od,rapidBreadcrumbItem:nd,rapidButton:gd,rapidCalendar:dd,rapidCard:pd,rapidCheckbox:hd,rapidCombobox:bd,rapidConnectionIndicator:fd,rapidDataGrid:()=>(0,P.foundationDataGrid)(),rapidDataGridCell:()=>(0,P.foundationDataGridCell)(),rapidDataGridRow:()=>(0,P.foundationDataGridRow)(),rapidDatePicker:Md,rapidDialog:Gd,rapidDisclosure:Hd,rapidDivider:Vd,rapidDropdownMenu:Qd,rapidErrorBoundary:()=>(0,P.foundationErrorBoundary)(),rapidFileUpload:tc,rapidFilter:nc,rapidFilterBar:sc,rapidFlexLayout:()=>(0,P.foundationFlexLayout)(),rapidFlipper:mc,rapidFlyout:xc,rapidGridLayout:()=>(0,P.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,P.foundationGridLayoutItem)(),rapidHorizontalScroll:Rc,rapidIcon:Ic,rapidListbox:Ec,rapidListboxOption:Bc,rapidMenu:Uc,rapidMenuItem:Vc,rapidModal:Zc,rapidMultiselect:tp,rapidNumberField:gp,rapidProgress:dp,rapidProgressRing:pp,rapidRadio:hp,rapidRadioGroup:bp,rapidSegmentedControl:fp,rapidSegmentedItem:yp,rapidSelect:kp,rapidSkeleton:Sp,rapidSlider:$p,rapidSliderLabel:Fp,rapidSnackbar:Np,rapidStepper:jp,rapidStepperTab:Bp,rapidStepperTabPanel:Up,rapidSwitch:Vp,rapidTab:Qp,rapidTabPanel:qp,rapidTabs:Zp,rapidTextArea:Xp,rapidTextField:au,rapidToast:nu,rapidToolbar:gu,rapidTooltip:du,rapidTreeItem:uu,rapidTreeView:mu,rapidUrlInput:vu.compose(Object.assign({baseName:"url-input",template:bu,styles:(e,a)=>c.css`
12525
12525
  ${(0,P.foundationUrlInputStyles)(e,a)}
12526
12526
  a {
12527
12527
  color: var(--accent-fill-rest);
@@ -12537,7 +12537,559 @@
12537
12537
  font-size: var(--type-ramp-base-font-size);
12538
12538
  top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
12539
12539
  }
12540
- `,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var wu,yu=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(wu||(wu={}));const xu={Roboto:je,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},ku=xu["Segoe UI"],zu=c.css`
12540
+ `,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class wu extends $i{}const yu=wu.compose({baseName:"date-editor",styles:Ai,template:Fi("rapid")});class xu extends Ri{}const ku=xu.compose({baseName:"multiselect-editor",styles:Ni,template:Li("rapid")});class zu extends Ei{}const Su=zu.compose({baseName:"select-editor",styles:Pi,template:Bi("rapid")});class Cu extends _i{}const $u=Cu.compose({baseName:"number-editor",styles:Vi,template:Yi("rapid")});class Au extends Ji{}const Fu=Au.compose({baseName:"string-editor",styles:Zi,template:Ki("rapid")});class Ou extends rn{}const Tu=Ou.compose({baseName:"editable-renderer",styles:tn,template:on("rapid")});class Du extends cn{}const Ru=Du.compose({baseName:"grid-pro-action-renderer",styles:c.css`
12541
+ ${un}
12542
+ `,template:c.html`
12543
+ <div class="action-container" part="action-container">
12544
+ <rapid-button
12545
+ class="action-renderer"
12546
+ part="action-renderer"
12547
+ aria-label=${e=>e.params.actionName}
12548
+ data-test-id="${e=>e.dataTestId}"
12549
+ ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
12550
+ appearance="${e=>e.params.appearance}"
12551
+ @click=${e=>e.clickHandler()}
12552
+ >
12553
+ ${e=>e.params.contentTemplate?c.html`
12554
+ ${e.params.contentTemplate}
12555
+ `:e.params.actionName}
12556
+ </rapid-button>
12557
+ </div>
12558
+ `});class Nu extends vn{}const Lu=Nu.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
12559
+ <rapid-actions-menu
12560
+ name="${e=>e.params.headerName}"
12561
+ :definition=${e=>e.params}
12562
+ ></rapid-actions-menu>
12563
+ `});class Mu extends xn{}const Iu=Mu.compose({baseName:"boolean-renderer",styles:kn,template:zn("rapid")});const ju=class extends Nn{}.compose({baseName:"grid-text-renderer",styles:Ln,template:Mn("rapid")});const Eu=class extends En{}.compose({baseName:"select-renderer",styles:Pn,template:Bn("rapid")}),Pu={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},Bu={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:Gu}=p.DesignToken,Uu={backgroundColor:Gu("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Bu.backgroundSwatch:Pu.backgroundSwatch)),borderColor:Gu("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Bu.borderSwatch:Pu.borderSwatch)),foregroundColor:Gu("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Bu.foregroundSwatch:Pu.foregroundSwatch)),headerForegroundColor:Gu("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Bu.headerForegroundSwatch:Pu.headerForegroundSwatch)),rowHoverColor:Gu("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Bu.rowHoverSwatch:Pu.rowHoverSwatch))},Hu=c.css`
12564
+ .ag-theme-genesis-rapid,
12565
+ .ag-theme-genesis-rapid-dark {
12566
+ --ag-alpine-active-color: #2196f3;
12567
+ --ag-selected-row-background-color: rgba(33, 150, 243, 0.3);
12568
+ --ag-row-hover-color: rgba(33, 150, 243, 0.1);
12569
+ --ag-column-hover-color: rgba(33, 150, 243, 0.1);
12570
+ --ag-input-focus-border-color: rgba(33, 150, 243, 0.4);
12571
+ --ag-range-selection-background-color: rgba(33, 150, 243, 0.2);
12572
+ --ag-range-selection-background-color-2: rgba(33, 150, 243, 0.36);
12573
+ --ag-range-selection-background-color-3: rgba(33, 150, 243, 0.49);
12574
+ --ag-range-selection-background-color-4: rgba(33, 150, 243, 0.59);
12575
+ --ag-background-color: #fff;
12576
+ --ag-foreground-color: #181d1f;
12577
+ --ag-border-color: #babfc7;
12578
+ --ag-secondary-border-color: #dde2eb;
12579
+ --ag-header-background-color: #ff0000;
12580
+ --ag-tooltip-background-color: #f8f8f8;
12581
+ --ag-odd-row-background-color: #fcfcfc;
12582
+ --ag-control-panel-background-color: #f8f8f8;
12583
+ --ag-subheader-background-color: #fff;
12584
+ --ag-invalid-color: #e02525;
12585
+ --ag-checkbox-unchecked-color: #999;
12586
+ --ag-checkbox-background-color: var(--ag-background-color);
12587
+ --ag-checkbox-checked-color: var(--ag-alpine-active-color);
12588
+ --ag-range-selection-border-color: var(--ag-alpine-active-color);
12589
+ --ag-secondary-foreground-color: var(--ag-foreground-color);
12590
+ --ag-input-border-color: var(--ag-border-color);
12591
+ --ag-input-border-color-invalid: var(--ag-invalid-color);
12592
+ --ag-input-focus-box-shadow: 0 0 2px 0.1rem var(--ag-input-focus-border-color);
12593
+ --ag-disabled-foreground-color: rgba(24, 29, 31, 0.5);
12594
+ --ag-chip-background-color: rgba(24, 29, 31, 0.07);
12595
+ --ag-input-disabled-border-color: rgba(186, 191, 199, 0.3);
12596
+ --ag-input-disabled-background-color: rgba(186, 191, 199, 0.15);
12597
+ --ag-borders: solid 1px;
12598
+ --ag-border-radius: 3px;
12599
+ --ag-borders-side-button: none;
12600
+ --ag-side-button-selected-background-color: transparent;
12601
+ --ag-header-column-resize-handle-display: block;
12602
+ --ag-header-column-resize-handle-width: 2px;
12603
+ --ag-header-column-resize-handle-height: 30%;
12604
+ --ag-grid-size: 6px;
12605
+ --ag-icon-size: 16px;
12606
+ --ag-row-height: calc(var(--ag-grid-size) * 7);
12607
+ --ag-header-height: calc(var(--ag-grid-size) * 8);
12608
+ --ag-list-item-height: calc(var(--ag-grid-size) * 4);
12609
+ --ag-column-select-indent-size: var(--ag-icon-size);
12610
+ --ag-set-filter-indent-size: var(--ag-icon-size);
12611
+ --ag-cell-horizontal-padding: calc(var(--ag-grid-size) * 3);
12612
+ --ag-cell-widget-spacing: calc(var(--ag-grid-size) * 2);
12613
+ --ag-widget-container-vertical-padding: calc(var(--ag-grid-size) * 2);
12614
+ --ag-widget-container-horizontal-padding: calc(var(--ag-grid-size) * 2);
12615
+ --ag-widget-vertical-spacing: calc(var(--ag-grid-size) * 1.5);
12616
+ --ag-toggle-button-height: 18px;
12617
+ --ag-toggle-button-width: 28px;
12618
+ --ag-font-family: var(
12619
+ --body-font,
12620
+ -apple-system,
12621
+ BlinkMacSystemFont,
12622
+ 'Segoe UI',
12623
+ Roboto,
12624
+ Oxygen-Sans,
12625
+ Ubuntu,
12626
+ Cantarell,
12627
+ 'Helvetica Neue',
12628
+ sans-serif
12629
+ );
12630
+ --ag-font-size: 13px;
12631
+ --ag-icon-font-family: agGridAlpine;
12632
+ --ag-selected-tab-underline-color: var(--ag-alpine-active-color);
12633
+ --ag-selected-tab-underline-width: 2px;
12634
+ --ag-selected-tab-underline-transition-speed: 0.3s;
12635
+ --ag-tab-min-width: 240px;
12636
+ --ag-card-shadow: 0 1px 4px 1px rgba(186, 191, 199, 0.4);
12637
+ --ag-popup-shadow: var(--ag-card-shadow);
12638
+ --ag-side-bar-panel-width: 250px;
12639
+ }
12640
+
12641
+ .ag-theme-genesis-rapid-dark {
12642
+ --ag-background-color: #181d1f;
12643
+ --ag-foreground-color: #fff;
12644
+ --ag-border-color: #68686e;
12645
+ --ag-secondary-border-color: rgba(88, 86, 82, 0.5);
12646
+ --ag-modal-overlay-background-color: rgba(24, 29, 31, 0.66);
12647
+ --ag-header-background-color: #222628;
12648
+ --ag-tooltip-background-color: #222628;
12649
+ --ag-odd-row-background-color: #222628;
12650
+ --ag-control-panel-background-color: #222628;
12651
+ --ag-subheader-background-color: #000;
12652
+ --ag-input-disabled-background-color: #282c2f;
12653
+ --ag-input-focus-box-shadow: 0 0 2px 0.5px rgba(255, 255, 255, 0.5),
12654
+ 0 0 4px 3px var(--ag-input-focus-border-color);
12655
+ --ag-card-shadow: 0 1px 20px 1px black;
12656
+ --ag-disabled-foreground-color: rgba(255, 255, 255, 0.5);
12657
+ --ag-chip-background-color: rgba(255, 255, 255, 0.07);
12658
+ --ag-input-disabled-border-color: rgba(104, 104, 110, 0.3);
12659
+ --ag-input-disabled-background-color: rgba(104, 104, 110, 0.07);
12660
+ }
12661
+
12662
+ .ag-theme-genesis-rapid .ag-filter-toolpanel-header,
12663
+ .ag-theme-genesis-rapid .ag-filter-toolpanel-search,
12664
+ .ag-theme-genesis-rapid .ag-status-bar,
12665
+ .ag-theme-genesis-rapid .ag-header-row,
12666
+ .ag-theme-genesis-rapid .ag-panel-title-bar-title,
12667
+ .ag-theme-genesis-rapid .ag-multi-filter-group-title-bar,
12668
+ .ag-theme-genesis-rapid-dark .ag-filter-toolpanel-header,
12669
+ .ag-theme-genesis-rapid-dark .ag-filter-toolpanel-search,
12670
+ .ag-theme-genesis-rapid-dark .ag-status-bar,
12671
+ .ag-theme-genesis-rapid-dark .ag-header-row,
12672
+ .ag-theme-genesis-rapid-dark .ag-panel-title-bar-title,
12673
+ .ag-theme-genesis-rapid-dark .ag-multi-filter-group-title-bar {
12674
+ font-weight: 700;
12675
+ color: var(--ag-header-foreground-color);
12676
+ }
12677
+ .ag-theme-genesis-rapid .ag-row,
12678
+ .ag-theme-genesis-rapid-dark .ag-row {
12679
+ font-size: calc(var(--ag-font-size) + 1px);
12680
+ }
12681
+ .ag-theme-genesis-rapid input[class^='ag-']:not([type]),
12682
+ .ag-theme-genesis-rapid input[class^='ag-'][type='text'],
12683
+ .ag-theme-genesis-rapid input[class^='ag-'][type='number'],
12684
+ .ag-theme-genesis-rapid input[class^='ag-'][type='tel'],
12685
+ .ag-theme-genesis-rapid input[class^='ag-'][type='date'],
12686
+ .ag-theme-genesis-rapid input[class^='ag-'][type='datetime-local'],
12687
+ .ag-theme-genesis-rapid textarea[class^='ag-'],
12688
+ .ag-theme-genesis-rapid-dark input[class^='ag-']:not([type]),
12689
+ .ag-theme-genesis-rapid-dark input[class^='ag-'][type='text'],
12690
+ .ag-theme-genesis-rapid-dark input[class^='ag-'][type='number'],
12691
+ .ag-theme-genesis-rapid-dark input[class^='ag-'][type='tel'],
12692
+ .ag-theme-genesis-rapid-dark input[class^='ag-'][type='date'],
12693
+ .ag-theme-genesis-rapid-dark input[class^='ag-'][type='datetime-local'],
12694
+ .ag-theme-genesis-rapid-dark textarea[class^='ag-'] {
12695
+ min-height: calc(var(--ag-grid-size) * 4);
12696
+ border-radius: var(--ag-border-radius);
12697
+ }
12698
+ .ag-theme-genesis-rapid .ag-ltr input[class^='ag-']:not([type]),
12699
+ .ag-theme-genesis-rapid .ag-ltr input[class^='ag-'][type='text'],
12700
+ .ag-theme-genesis-rapid .ag-ltr input[class^='ag-'][type='number'],
12701
+ .ag-theme-genesis-rapid .ag-ltr input[class^='ag-'][type='tel'],
12702
+ .ag-theme-genesis-rapid .ag-ltr input[class^='ag-'][type='date'],
12703
+ .ag-theme-genesis-rapid .ag-ltr input[class^='ag-'][type='datetime-local'],
12704
+ .ag-theme-genesis-rapid .ag-ltr textarea[class^='ag-'],
12705
+ .ag-theme-genesis-rapid-dark .ag-ltr input[class^='ag-']:not([type]),
12706
+ .ag-theme-genesis-rapid-dark .ag-ltr input[class^='ag-'][type='text'],
12707
+ .ag-theme-genesis-rapid-dark .ag-ltr input[class^='ag-'][type='number'],
12708
+ .ag-theme-genesis-rapid-dark .ag-ltr input[class^='ag-'][type='tel'],
12709
+ .ag-theme-genesis-rapid-dark .ag-ltr input[class^='ag-'][type='date'],
12710
+ .ag-theme-genesis-rapid-dark .ag-ltr input[class^='ag-'][type='datetime-local'],
12711
+ .ag-theme-genesis-rapid-dark .ag-ltr textarea[class^='ag-'] {
12712
+ padding-left: var(--ag-grid-size);
12713
+ }
12714
+
12715
+ .ag-theme-genesis-rapid .ag-rtl input[class^='ag-']:not([type]),
12716
+ .ag-theme-genesis-rapid .ag-rtl input[class^='ag-'][type='text'],
12717
+ .ag-theme-genesis-rapid .ag-rtl input[class^='ag-'][type='number'],
12718
+ .ag-theme-genesis-rapid .ag-rtl input[class^='ag-'][type='tel'],
12719
+ .ag-theme-genesis-rapid .ag-rtl input[class^='ag-'][type='date'],
12720
+ .ag-theme-genesis-rapid .ag-rtl input[class^='ag-'][type='datetime-local'],
12721
+ .ag-theme-genesis-rapid .ag-rtl textarea[class^='ag-'],
12722
+ .ag-theme-genesis-rapid-dark .ag-rtl input[class^='ag-']:not([type]),
12723
+ .ag-theme-genesis-rapid-dark .ag-rtl input[class^='ag-'][type='text'],
12724
+ .ag-theme-genesis-rapid-dark .ag-rtl input[class^='ag-'][type='number'],
12725
+ .ag-theme-genesis-rapid-dark .ag-rtl input[class^='ag-'][type='tel'],
12726
+ .ag-theme-genesis-rapid-dark .ag-rtl input[class^='ag-'][type='date'],
12727
+ .ag-theme-genesis-rapid-dark .ag-rtl input[class^='ag-'][type='datetime-local'],
12728
+ .ag-theme-genesis-rapid-dark .ag-rtl textarea[class^='ag-'] {
12729
+ padding-right: var(--ag-grid-size);
12730
+ }
12731
+
12732
+ .ag-theme-genesis-rapid .ag-tab,
12733
+ .ag-theme-genesis-rapid-dark .ag-tab {
12734
+ padding: calc(var(--ag-grid-size) * 1.5);
12735
+ transition: color 0.4s;
12736
+ flex: 1 1 auto;
12737
+ }
12738
+ .ag-theme-genesis-rapid .ag-tab-selected,
12739
+ .ag-theme-genesis-rapid-dark .ag-tab-selected {
12740
+ color: var(--ag-alpine-active-color);
12741
+ }
12742
+ .ag-theme-genesis-rapid .ag-menu,
12743
+ .ag-theme-genesis-rapid-dark .ag-menu {
12744
+ background-color: var(--ag-control-panel-background-color);
12745
+ }
12746
+ .ag-theme-genesis-rapid .ag-menu-header,
12747
+ .ag-theme-genesis-rapid-dark .ag-menu-header {
12748
+ background-color: var(--ag-control-panel-background-color);
12749
+ padding-top: 1px;
12750
+ }
12751
+ .ag-theme-genesis-rapid .ag-tabs-header,
12752
+ .ag-theme-genesis-rapid-dark .ag-tabs-header {
12753
+ border-bottom: var(--ag-borders) var(--ag-border-color);
12754
+ }
12755
+ .ag-theme-genesis-rapid .ag-charts-settings-group-title-bar,
12756
+ .ag-theme-genesis-rapid .ag-charts-data-group-title-bar,
12757
+ .ag-theme-genesis-rapid .ag-charts-format-top-level-group-title-bar,
12758
+ .ag-theme-genesis-rapid-dark .ag-charts-settings-group-title-bar,
12759
+ .ag-theme-genesis-rapid-dark .ag-charts-data-group-title-bar,
12760
+ .ag-theme-genesis-rapid-dark .ag-charts-format-top-level-group-title-bar {
12761
+ padding: var(--ag-grid-size) calc(var(--ag-grid-size) * 2);
12762
+ line-height: calc(var(--ag-icon-size) + var(--ag-grid-size) - 2px);
12763
+ }
12764
+ .ag-theme-genesis-rapid .ag-chart-mini-thumbnail,
12765
+ .ag-theme-genesis-rapid-dark .ag-chart-mini-thumbnail {
12766
+ background-color: var(--ag-background-color);
12767
+ }
12768
+ .ag-theme-genesis-rapid .ag-chart-settings-nav-bar,
12769
+ .ag-theme-genesis-rapid-dark .ag-chart-settings-nav-bar {
12770
+ border-top: var(--ag-borders-secondary) var(--ag-secondary-border-color);
12771
+ }
12772
+ .ag-theme-genesis-rapid .ag-ltr .ag-group-title-bar-icon,
12773
+ .ag-theme-genesis-rapid-dark .ag-ltr .ag-group-title-bar-icon {
12774
+ margin-right: var(--ag-grid-size);
12775
+ }
12776
+
12777
+ .ag-theme-genesis-rapid .ag-rtl .ag-group-title-bar-icon,
12778
+ .ag-theme-genesis-rapid-dark .ag-rtl .ag-group-title-bar-icon {
12779
+ margin-left: var(--ag-grid-size);
12780
+ }
12781
+
12782
+ .ag-theme-genesis-rapid .ag-charts-format-top-level-group-toolbar,
12783
+ .ag-theme-genesis-rapid-dark .ag-charts-format-top-level-group-toolbar {
12784
+ margin-top: var(--ag-grid-size);
12785
+ }
12786
+ .ag-theme-genesis-rapid .ag-ltr .ag-charts-format-top-level-group-toolbar,
12787
+ .ag-theme-genesis-rapid-dark .ag-ltr .ag-charts-format-top-level-group-toolbar {
12788
+ padding-left: calc(var(--ag-icon-size) * 0.5 + var(--ag-grid-size) * 2);
12789
+ }
12790
+
12791
+ .ag-theme-genesis-rapid .ag-rtl .ag-charts-format-top-level-group-toolbar,
12792
+ .ag-theme-genesis-rapid-dark .ag-rtl .ag-charts-format-top-level-group-toolbar {
12793
+ padding-right: calc(var(--ag-icon-size) * 0.5 + var(--ag-grid-size) * 2);
12794
+ }
12795
+
12796
+ .ag-theme-genesis-rapid .ag-charts-format-sub-level-group,
12797
+ .ag-theme-genesis-rapid-dark .ag-charts-format-sub-level-group {
12798
+ border-left: dashed 1px;
12799
+ border-left-color: var(--ag-border-color);
12800
+ padding-left: var(--ag-grid-size);
12801
+ margin-bottom: calc(var(--ag-grid-size) * 2);
12802
+ }
12803
+ .ag-theme-genesis-rapid .ag-charts-format-sub-level-group-title-bar,
12804
+ .ag-theme-genesis-rapid-dark .ag-charts-format-sub-level-group-title-bar {
12805
+ padding-top: 0;
12806
+ padding-bottom: 0;
12807
+ background: none;
12808
+ font-weight: 700;
12809
+ }
12810
+ .ag-theme-genesis-rapid .ag-charts-format-sub-level-group-container,
12811
+ .ag-theme-genesis-rapid-dark .ag-charts-format-sub-level-group-container {
12812
+ padding-bottom: 0;
12813
+ }
12814
+ .ag-theme-genesis-rapid .ag-charts-format-sub-level-group-item:last-child,
12815
+ .ag-theme-genesis-rapid-dark .ag-charts-format-sub-level-group-item:last-child {
12816
+ margin-bottom: 0;
12817
+ }
12818
+ .ag-theme-genesis-rapid.ag-dnd-ghost,
12819
+ .ag-theme-genesis-rapid-dark.ag-dnd-ghost {
12820
+ font-size: calc(var(--ag-font-size) - 1px);
12821
+ font-weight: 700;
12822
+ }
12823
+ .ag-theme-genesis-rapid .ag-side-buttons,
12824
+ .ag-theme-genesis-rapid-dark .ag-side-buttons {
12825
+ width: calc(var(--ag-grid-size) * 5);
12826
+ }
12827
+ .ag-theme-genesis-rapid .ag-standard-button,
12828
+ .ag-theme-genesis-rapid-dark .ag-standard-button {
12829
+ appearance: none;
12830
+ -webkit-appearance: none;
12831
+ border-radius: var(--ag-border-radius);
12832
+ border: 1px solid;
12833
+ border-color: var(--ag-alpine-active-color);
12834
+ color: var(--ag-alpine-active-color);
12835
+ background-color: var(--ag-background-color);
12836
+ font-weight: 600;
12837
+ padding: var(--ag-grid-size) calc(var(--ag-grid-size) * 2);
12838
+ }
12839
+ .ag-theme-genesis-rapid .ag-standard-button:hover,
12840
+ .ag-theme-genesis-rapid-dark .ag-standard-button:hover {
12841
+ border-color: var(--ag-alpine-active-color);
12842
+ background-color: var(--ag-row-hover-color);
12843
+ }
12844
+ .ag-theme-genesis-rapid .ag-standard-button:active,
12845
+ .ag-theme-genesis-rapid-dark .ag-standard-button:active {
12846
+ border-color: var(--ag-alpine-active-color);
12847
+ background-color: var(--ag-alpine-active-color);
12848
+ color: var(--ag-background-color);
12849
+ }
12850
+ .ag-theme-genesis-rapid .ag-standard-button:disabled,
12851
+ .ag-theme-genesis-rapid-dark .ag-standard-button:disabled {
12852
+ color: var(--ag-disabled-foreground-color);
12853
+ background-color: var(--ag-input-disabled-background-color);
12854
+ border-color: var(--ag-input-disabled-border-color);
12855
+ }
12856
+ .ag-theme-genesis-rapid .ag-column-drop-vertical,
12857
+ .ag-theme-genesis-rapid-dark .ag-column-drop-vertical {
12858
+ min-height: 75px;
12859
+ }
12860
+ .ag-theme-genesis-rapid .ag-column-drop-vertical-title-bar,
12861
+ .ag-theme-genesis-rapid-dark .ag-column-drop-vertical-title-bar {
12862
+ padding: calc(var(--ag-grid-size) * 2);
12863
+ padding-bottom: 0px;
12864
+ }
12865
+ .ag-theme-genesis-rapid .ag-column-drop-vertical-empty-message,
12866
+ .ag-theme-genesis-rapid-dark .ag-column-drop-vertical-empty-message {
12867
+ display: flex;
12868
+ align-items: center;
12869
+ border: dashed 1px;
12870
+ border-color: var(--ag-border-color);
12871
+ margin: calc(var(--ag-grid-size) * 2);
12872
+ padding: calc(var(--ag-grid-size) * 2);
12873
+ }
12874
+ .ag-theme-genesis-rapid .ag-column-drop-empty-message,
12875
+ .ag-theme-genesis-rapid-dark .ag-column-drop-empty-message {
12876
+ color: var(--ag-foreground-color);
12877
+ opacity: 0.75;
12878
+ }
12879
+ .ag-theme-genesis-rapid .ag-status-bar,
12880
+ .ag-theme-genesis-rapid-dark .ag-status-bar {
12881
+ font-weight: normal;
12882
+ }
12883
+ .ag-theme-genesis-rapid .ag-status-name-value-value,
12884
+ .ag-theme-genesis-rapid-dark .ag-status-name-value-value {
12885
+ font-weight: 700;
12886
+ }
12887
+ .ag-theme-genesis-rapid .ag-paging-number,
12888
+ .ag-theme-genesis-rapid .ag-paging-row-summary-panel-number,
12889
+ .ag-theme-genesis-rapid-dark .ag-paging-number,
12890
+ .ag-theme-genesis-rapid-dark .ag-paging-row-summary-panel-number {
12891
+ font-weight: 700;
12892
+ }
12893
+ .ag-theme-genesis-rapid .ag-column-drop-cell-button,
12894
+ .ag-theme-genesis-rapid-dark .ag-column-drop-cell-button {
12895
+ opacity: 0.5;
12896
+ }
12897
+ .ag-theme-genesis-rapid .ag-column-drop-cell-button:hover,
12898
+ .ag-theme-genesis-rapid-dark .ag-column-drop-cell-button:hover {
12899
+ opacity: 0.75;
12900
+ }
12901
+ .ag-theme-genesis-rapid .ag-header-cell-menu-button:hover,
12902
+ .ag-theme-genesis-rapid .ag-side-button-button:hover,
12903
+ .ag-theme-genesis-rapid .ag-tab:hover,
12904
+ .ag-theme-genesis-rapid .ag-panel-title-bar-button:hover,
12905
+ .ag-theme-genesis-rapid .ag-header-expand-icon:hover,
12906
+ .ag-theme-genesis-rapid .ag-column-group-icons:hover,
12907
+ .ag-theme-genesis-rapid .ag-set-filter-group-icons:hover,
12908
+ .ag-theme-genesis-rapid .ag-group-expanded .ag-icon:hover,
12909
+ .ag-theme-genesis-rapid .ag-group-contracted .ag-icon:hover,
12910
+ .ag-theme-genesis-rapid .ag-chart-settings-prev:hover,
12911
+ .ag-theme-genesis-rapid .ag-chart-settings-next:hover,
12912
+ .ag-theme-genesis-rapid .ag-group-title-bar-icon:hover,
12913
+ .ag-theme-genesis-rapid .ag-column-select-header-icon:hover,
12914
+ .ag-theme-genesis-rapid .ag-floating-filter-button-button:hover,
12915
+ .ag-theme-genesis-rapid .ag-filter-toolpanel-expand:hover,
12916
+ .ag-theme-genesis-rapid .ag-chart-menu-icon:hover,
12917
+ .ag-theme-genesis-rapid .ag-chart-menu-close:hover,
12918
+ .ag-theme-genesis-rapid-dark .ag-header-cell-menu-button:hover,
12919
+ .ag-theme-genesis-rapid-dark .ag-side-button-button:hover,
12920
+ .ag-theme-genesis-rapid-dark .ag-tab:hover,
12921
+ .ag-theme-genesis-rapid-dark .ag-panel-title-bar-button:hover,
12922
+ .ag-theme-genesis-rapid-dark .ag-header-expand-icon:hover,
12923
+ .ag-theme-genesis-rapid-dark .ag-column-group-icons:hover,
12924
+ .ag-theme-genesis-rapid-dark .ag-set-filter-group-icons:hover,
12925
+ .ag-theme-genesis-rapid-dark .ag-group-expanded .ag-icon:hover,
12926
+ .ag-theme-genesis-rapid-dark .ag-group-contracted .ag-icon:hover,
12927
+ .ag-theme-genesis-rapid-dark .ag-chart-settings-prev:hover,
12928
+ .ag-theme-genesis-rapid-dark .ag-chart-settings-next:hover,
12929
+ .ag-theme-genesis-rapid-dark .ag-group-title-bar-icon:hover,
12930
+ .ag-theme-genesis-rapid-dark .ag-column-select-header-icon:hover,
12931
+ .ag-theme-genesis-rapid-dark .ag-floating-filter-button-button:hover,
12932
+ .ag-theme-genesis-rapid-dark .ag-filter-toolpanel-expand:hover,
12933
+ .ag-theme-genesis-rapid-dark .ag-chart-menu-icon:hover,
12934
+ .ag-theme-genesis-rapid-dark .ag-chart-menu-close:hover {
12935
+ color: var(--ag-alpine-active-color);
12936
+ }
12937
+ .ag-theme-genesis-rapid .ag-chart-menu-close,
12938
+ .ag-theme-genesis-rapid-dark .ag-chart-menu-close {
12939
+ background: var(--ag-background-color);
12940
+ }
12941
+ .ag-theme-genesis-rapid .ag-chart-menu-close:hover .ag-icon,
12942
+ .ag-theme-genesis-rapid-dark .ag-chart-menu-close:hover .ag-icon {
12943
+ border-color: var(--ag-alpine-active-color);
12944
+ }
12945
+ .ag-theme-genesis-rapid .ag-chart-menu-close .ag-icon,
12946
+ .ag-theme-genesis-rapid-dark .ag-chart-menu-close .ag-icon {
12947
+ background: var(--ag-header-background-color);
12948
+ border: 1px solid var(--ag-border-color);
12949
+ border-right: none;
12950
+ }
12951
+ .ag-theme-genesis-rapid .ag-chart-settings-card-item.ag-not-selected:hover,
12952
+ .ag-theme-genesis-rapid-dark .ag-chart-settings-card-item.ag-not-selected:hover {
12953
+ opacity: 0.35;
12954
+ }
12955
+ .ag-theme-genesis-rapid .ag-ltr .ag-panel-title-bar-button,
12956
+ .ag-theme-genesis-rapid-dark .ag-ltr .ag-panel-title-bar-button {
12957
+ margin-left: calc(var(--ag-grid-size) * 2);
12958
+ margin-right: var(--ag-grid-size);
12959
+ }
12960
+
12961
+ .ag-theme-genesis-rapid .ag-rtl .ag-panel-title-bar-button,
12962
+ .ag-theme-genesis-rapid-dark .ag-rtl .ag-panel-title-bar-button {
12963
+ margin-right: calc(var(--ag-grid-size) * 2);
12964
+ margin-left: var(--ag-grid-size);
12965
+ }
12966
+
12967
+ .ag-theme-genesis-rapid .ag-ltr .ag-filter-toolpanel-group-container,
12968
+ .ag-theme-genesis-rapid-dark .ag-ltr .ag-filter-toolpanel-group-container {
12969
+ padding-left: var(--ag-grid-size);
12970
+ }
12971
+
12972
+ .ag-theme-genesis-rapid .ag-rtl .ag-filter-toolpanel-group-container,
12973
+ .ag-theme-genesis-rapid-dark .ag-rtl .ag-filter-toolpanel-group-container {
12974
+ padding-right: var(--ag-grid-size);
12975
+ }
12976
+
12977
+ .ag-theme-genesis-rapid .ag-filter-toolpanel-instance-filter,
12978
+ .ag-theme-genesis-rapid-dark .ag-filter-toolpanel-instance-filter {
12979
+ border: none;
12980
+ background-color: var(--ag-control-panel-background-color);
12981
+ }
12982
+ .ag-theme-genesis-rapid .ag-ltr .ag-filter-toolpanel-instance-filter,
12983
+ .ag-theme-genesis-rapid-dark .ag-ltr .ag-filter-toolpanel-instance-filter {
12984
+ border-left: dashed 1px;
12985
+ border-left-color: var(--ag-border-color);
12986
+ margin-left: calc(var(--ag-icon-size) * 0.5);
12987
+ }
12988
+
12989
+ .ag-theme-genesis-rapid .ag-rtl .ag-filter-toolpanel-instance-filter,
12990
+ .ag-theme-genesis-rapid-dark .ag-rtl .ag-filter-toolpanel-instance-filter {
12991
+ border-right: dashed 1px;
12992
+ border-right-color: var(--ag-border-color);
12993
+ margin-right: calc(var(--ag-icon-size) * 0.5);
12994
+ }
12995
+
12996
+ .ag-theme-genesis-rapid .ag-set-filter-list,
12997
+ .ag-theme-genesis-rapid-dark .ag-set-filter-list {
12998
+ padding-top: calc(var(--ag-grid-size) * 0.5);
12999
+ padding-bottom: calc(var(--ag-grid-size) * 0.5);
13000
+ }
13001
+ .ag-theme-genesis-rapid .ag-layout-auto-height .ag-center-cols-clipper,
13002
+ .ag-theme-genesis-rapid .ag-layout-auto-height .ag-center-cols-container,
13003
+ .ag-theme-genesis-rapid .ag-layout-print .ag-center-cols-clipper,
13004
+ .ag-theme-genesis-rapid .ag-layout-print .ag-center-cols-container,
13005
+ .ag-theme-genesis-rapid-dark .ag-layout-auto-height .ag-center-cols-clipper,
13006
+ .ag-theme-genesis-rapid-dark .ag-layout-auto-height .ag-center-cols-container,
13007
+ .ag-theme-genesis-rapid-dark .ag-layout-print .ag-center-cols-clipper,
13008
+ .ag-theme-genesis-rapid-dark .ag-layout-print .ag-center-cols-container {
13009
+ min-height: 150px;
13010
+ }
13011
+ .ag-theme-genesis-rapid .ag-overlay-no-rows-wrapper.ag-layout-auto-height,
13012
+ .ag-theme-genesis-rapid-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height {
13013
+ padding-top: 60px;
13014
+ }
13015
+ .ag-theme-genesis-rapid .ag-date-time-list-page-entry-is-current,
13016
+ .ag-theme-genesis-rapid-dark .ag-date-time-list-page-entry-is-current {
13017
+ background-color: var(--ag-alpine-active-color);
13018
+ }
13019
+
13020
+ .ag-theme-genesis-rapid-dark {
13021
+ color-scheme: dark;
13022
+ }
13023
+ `,_u={[pi.backgroundColor]:Uu.backgroundColor,[pi.foregroundColor]:Uu.foregroundColor,[pi.oddRowBackgroundColor]:Uu.backgroundColor,[pi.headerBackgroundColor]:Uu.backgroundColor,[pi.headerForegroundColor]:Uu.headerForegroundColor,[pi.selectedRowBackgroundColor]:Uu.rowHoverColor,[pi.rowHoverColor]:Uu.rowHoverColor,[pi.borderColor]:Uu.borderColor,[pi.rowBorderColor]:Uu.rowHoverColor,[pi.modalOverlayBackgroundColor]:Uu.backgroundColor,[pi.inputFocusBoxShadow]:Uu.headerForegroundColor,[pi.inputFocusBorderColor]:Uu.headerForegroundColor,[pi.headerColumnResizeHandleColor]:Uu.headerForegroundColor},Vu="ag-theme-genesis-rapid",Yu=c.css`
13024
+ ${Hu}
13025
+ ${yi(Vu,_u)}
13026
+
13027
+ .${Vu} {
13028
+ ${Ee()}
13029
+ font-family: var(--body-font);
13030
+ }
13031
+
13032
+ .${Vu} .ag-body .ag-body-viewport,
13033
+ .${Vu} .ag-header,
13034
+ .${Vu} .ag-row {
13035
+ background-color: var(--neutral-layer-3);
13036
+ }
13037
+
13038
+ .${Vu} .ag-header {
13039
+ border-bottom-color: var(--rapid-ag-border-color);
13040
+ font-weight: bold;
13041
+ font-size: var(--type-ramp-base-font-size);
13042
+ }
13043
+
13044
+ .${Vu} .ag-root-wrapper {
13045
+ border-radius: calc(var(--ag-border-radius) * 1px);
13046
+ border: 1px solid var(--rapid-ag-border-color);
13047
+ }
13048
+
13049
+ .${Vu} .ag-cell {
13050
+ font-size: var(--type-ramp-minus-1-font-size);
13051
+ }
13052
+ `,Qu="ag-theme-genesis-rapid-dark",Wu=c.css`
13053
+ ${Hu}
13054
+ ${yi(Vu,_u)}
13055
+
13056
+ .${Qu} {
13057
+ ${Ee()}
13058
+ font-family: var(--body-font);
13059
+ }
13060
+
13061
+ .${Qu} .ag-body .ag-body-viewport,
13062
+ .${Qu} .ag-header,
13063
+ .${Qu} .ag-row {
13064
+ background-color: var(--neutral-layer-3);
13065
+ }
13066
+
13067
+ .${Qu} .ag-header {
13068
+ border-bottom-color: var(--rapid-ag-border-color);
13069
+ font-weight: bold;
13070
+ font-size: var(--type-ramp-base-font-size);
13071
+ }
13072
+
13073
+ .${Qu} .ag-root-wrapper {
13074
+ border-radius: calc(var(--ag-border-radius) * 1px);
13075
+ border: 1px solid var(--rapid-ag-border-color);
13076
+ }
13077
+
13078
+ .${Qu} .ag-cell {
13079
+ font-size: var(--type-ramp-minus-1-font-size);
13080
+ }
13081
+ `,qu=c.css`
13082
+ /* All the AG themes */
13083
+ ${Ml}
13084
+
13085
+ /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
13086
+ ${Yu}
13087
+ ${Wu}
13088
+
13089
+ .error {
13090
+ border-color: ${ve.shortPink} !important;
13091
+ }
13092
+ `,Ju=Il,Zu="ag-theme-genesis-rapid-dark";const Ku=Ul,Xu={rapidAgEditableRenderer:Tu,rapidAgActionRenderer:Ru,rapidAgActionsMenuRenderer:Lu,rapidAgBooleanRenderer:Iu,rapidAgTextRenderer:ju,rapidAgSelectRenderer:Eu,rapidAgDateEditor:yu,rapidAgMultiselectEditor:ku,rapidAgSelectEditor:Su,rapidAgNumberEditor:$u,rapidAgStringEditor:Fu,rapidGridPro:class extends Bl{constructor(){super(...arguments),this.theme=Zu}themeChanged(e,a){console.log("teste"),(e||a===Zu)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[xi.action]:Du,[xi.actionsMenu]:Nu,[xi.boolean]:Mu,[xi.editable]:Ou,[xi.selectEditor]:zu,[xi.numberEditor]:Cu,[xi.multiselectEditor]:xu,[xi.dateEditor]:wu,[xi.stringEditor]:Au};(this.theme===Vu||this.theme===Qu)&&(this.headerHeight=null!==(a=e.headerHeight)&&void 0!==a?a:32,this.rowHeight=null!==(r=e.rowHeight)&&void 0!==r?r:32),super.gridOptions=e}}.compose(Object.assign({baseName:"grid-pro",template:Ju,styles:qu,shadowOptions:undefined},Ku)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var eh,ah=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(eh||(eh={}));const rh={Roboto:je,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},th=rh["Segoe UI"],oh=c.css`
12541
13093
  ${(0,p.display)("block")} :host {
12542
13094
  width: 100%;
12543
13095
  display: inline-flex;
@@ -12669,7 +13221,7 @@
12669
13221
  alpha-button {
12670
13222
  margin: 0;
12671
13223
  }
12672
- `,Su=c.html`
13224
+ `,ih=c.html`
12673
13225
  <template>
12674
13226
  <div class="configuration">
12675
13227
  ${(0,c.when)((e=>!e.customDesignMode),c.html`
@@ -12877,7 +13429,7 @@
12877
13429
  </div>
12878
13430
  </div>
12879
13431
  ${(0,c.when)((e=>!e.customDesignMode),c.html`
12880
- <alpha-checkbox :checked="${(0,$n.Z)((e=>e.preserveOptions),"boolean")}">
13432
+ <alpha-checkbox :checked="${(0,An.Z)((e=>e.preserveOptions),"boolean")}">
12881
13433
  Preserve selected options when changing design systems
12882
13434
  </alpha-checkbox>
12883
13435
  `)}
@@ -12892,7 +13444,7 @@
12892
13444
  <slot></slot>
12893
13445
  </div>
12894
13446
  </template>
12895
- `,Cu=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(xu).find((a=>xu[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Au=Cu(Ge),$u={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Fu={accent:"primary",neutral:"secondary",font:"white"},Ou=Cu(l.designTokens),Tu=Cu(Ts),Du={zero:{prefix:"zero",tokenDefaults:Au,buttons:$u,badge:Fu},alpha:{prefix:"alpha",tokenDefaults:Ou,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Tu,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:$u,badge:Fu}};let Ru=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Au.luminance===u.StandardLuminance.DarkMode,this.luminance=Au.luminance,this.neutralColor=Au.neutralColor,this.accentColor=Au.accentColor,this.bodyFont=Au.bodyFont,this.density=Au.density,this.borderRadius=Au.borderRadius,this.strokeWidth=Au.strokeWidth,this.designUnit=Au.designUnit,this.baseFontSize=Au.baseFontSize,this.baseLineHeight=Au.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof p.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof u.Combobox||e.target instanceof u.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof p.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?u.StandardLuminance.DarkMode:u.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Cu(a);Du.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,yu.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Du[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,yu.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Du[this.ds].prefix,buttonAppearanceAccent:Du[this.ds].buttons.accent,buttonAppearanceNeutral:Du[this.ds].buttons.neutral,buttonAppearanceOutline:Du[this.ds].buttons.outline,buttonAppearanceText:Du[this.ds].buttons.text,badgeAppearanceAccent:Du[this.ds].badge.accent,badgeAppearanceNeutral:Du[this.ds].badge.neutral,badgeText:Du[this.ds].badge.font};this.$emit(wu.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Du[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:xu[this.bodyFont],luminance:this.luminance,density:this.density,designUnit:this.designUnit,borderRadius:this.borderRadius,strokeWidth:this.strokeWidth,baseFontSize:this.baseFontSize,baseLineHeight:this.baseLineHeight};this.$emit(wu.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===u.StandardLuminance.DarkMode,c.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ie(),c.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(wu.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,yu.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Ru.prototype,"customDesignMode",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"designSystems",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"ds",void 0),(0,yu.__decorate)([c.attr],Ru.prototype,"darkMode",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"neutralColor",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"accentColor",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"bodyFont",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"density",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"borderRadius",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"strokeWidth",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"designUnit",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"baseFontSize",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"baseLineHeight",void 0),(0,yu.__decorate)([c.observable],Ru.prototype,"preserveOptions",void 0),Ru=(0,yu.__decorate)([(0,c.customElement)({name:"design-system-editor",template:Su,styles:zu})],Ru);const Nu=e=>{const a=(e=>{const a=(0,fe.parseColorHexRGB)(e);return a?u.SwatchRGB.from(a):null})(e);return a?u.PaletteRGB.create(a):null},Lu=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Mu=(e,a)=>{const r=Nu(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=Nu(e.accentColor);u.accentPalette.setValueFor(a,t),u.baseLayerLuminance.setValueFor(a,e.luminance),u.density.setValueFor(a,e.density),u.controlCornerRadius.setValueFor(a,e.borderRadius),u.strokeWidth.setValueFor(a,e.strokeWidth),u.designUnit.setValueFor(a,e.designUnit),u.bodyFont.setValueFor(a,e.bodyFont),u.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),u.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),u.typeRampMinus1FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,Lu(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,Lu(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},Iu=c.css`
13447
+ `,nh=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(rh).find((a=>rh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),lh=nh(Ue),gh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},sh={accent:"primary",neutral:"secondary",font:"white"},dh=nh(l.designTokens),ch=nh(Ts),ph={zero:{prefix:"zero",tokenDefaults:lh,buttons:gh,badge:sh},alpha:{prefix:"alpha",tokenDefaults:dh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:ch,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:gh,badge:sh}};let uh=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=lh.luminance===u.StandardLuminance.DarkMode,this.luminance=lh.luminance,this.neutralColor=lh.neutralColor,this.accentColor=lh.accentColor,this.bodyFont=lh.bodyFont,this.density=lh.density,this.borderRadius=lh.borderRadius,this.strokeWidth=lh.strokeWidth,this.designUnit=lh.designUnit,this.baseFontSize=lh.baseFontSize,this.baseLineHeight=lh.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof p.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof u.Combobox||e.target instanceof u.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof p.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?u.StandardLuminance.DarkMode:u.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=nh(a);ph.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,ah.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(ph[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,ah.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:ph[this.ds].prefix,buttonAppearanceAccent:ph[this.ds].buttons.accent,buttonAppearanceNeutral:ph[this.ds].buttons.neutral,buttonAppearanceOutline:ph[this.ds].buttons.outline,buttonAppearanceText:ph[this.ds].buttons.text,badgeAppearanceAccent:ph[this.ds].badge.accent,badgeAppearanceNeutral:ph[this.ds].badge.neutral,badgeText:ph[this.ds].badge.font};this.$emit(eh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(ph[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:rh[this.bodyFont],luminance:this.luminance,density:this.density,designUnit:this.designUnit,borderRadius:this.borderRadius,strokeWidth:this.strokeWidth,baseFontSize:this.baseFontSize,baseLineHeight:this.baseLineHeight};this.$emit(eh.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===u.StandardLuminance.DarkMode,c.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ie(),c.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(eh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,ah.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],uh.prototype,"customDesignMode",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"designSystems",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"ds",void 0),(0,ah.__decorate)([c.attr],uh.prototype,"darkMode",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"neutralColor",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"accentColor",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"bodyFont",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"density",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"borderRadius",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"strokeWidth",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"designUnit",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"baseFontSize",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"baseLineHeight",void 0),(0,ah.__decorate)([c.observable],uh.prototype,"preserveOptions",void 0),uh=(0,ah.__decorate)([(0,c.customElement)({name:"design-system-editor",template:ih,styles:oh})],uh);const hh=e=>{const a=(e=>{const a=(0,fe.parseColorHexRGB)(e);return a?u.SwatchRGB.from(a):null})(e);return a?u.PaletteRGB.create(a):null},mh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},bh=(e,a)=>{const r=hh(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=hh(e.accentColor);u.accentPalette.setValueFor(a,t),u.baseLayerLuminance.setValueFor(a,e.luminance),u.density.setValueFor(a,e.density),u.controlCornerRadius.setValueFor(a,e.borderRadius),u.strokeWidth.setValueFor(a,e.strokeWidth),u.designUnit.setValueFor(a,e.designUnit),u.bodyFont.setValueFor(a,e.bodyFont),u.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),u.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),u.typeRampMinus1FontSize.setValueFor(a,mh(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,mh(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,mh(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,mh(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,mh(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,mh(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,mh(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,mh(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,mh(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,mh(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,mh(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,mh(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,mh(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,mh(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,mh(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,mh(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},vh=c.css`
12896
13448
  :host {
12897
13449
  --badge-fill-primary: var(--accent-fill-rest);
12898
13450
  --badge-fill-neutral: var(--neutral-fill-rest);
@@ -12988,7 +13540,7 @@
12988
13540
  display: flex;
12989
13541
  flex-direction: column;
12990
13542
  }
12991
- `,ju=c.html`
13543
+ `,fh=c.html`
12992
13544
  ${e=>(e=>c.html`
12993
13545
  <template>
12994
13546
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -13400,7 +13952,7 @@
13400
13952
  </${e}-design-system-provider>
13401
13953
  </template>
13402
13954
  `)(e.prefix)}
13403
- `;let Eu=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",this.buttonAppearanceText="lightweight",this.badgeAppearanceAccent="primary",this.badgeAppearanceNeutral="secondary",this.badgeText="white",this.cards=Array.from({length:8},((e,a)=>a+1)),this.countries=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Cambodia","Cameroon","Canada"],this.menuActions=[{name:"View",callback:e=>console.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>console.debug("DELETE!!!",e)},{name:"Edit",callback:e=>console.debug("EDIT!!!",e)},{name:"Wait",callback:e=>console.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wu.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(ku)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Mu(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,this.buttonAppearanceText=e.detail.buttonAppearanceText,this.badgeAppearanceAccent=e.detail.badgeAppearanceAccent,this.badgeAppearanceNeutral=e.detail.badgeAppearanceNeutral,this.badgeText=e.detail.badgeText}showDialog(e){this[e].show()}closeDialog(e){this[e].close()}dismissBanner(){this.banner.dismiss()}};(0,yu.__decorate)([c.observable],Eu.prototype,"modal",void 0),(0,yu.__decorate)([c.attr],Eu.prototype,"prefix",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"buttonAppearanceAccent",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"buttonAppearanceNeutral",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"buttonAppearanceOutline",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"buttonAppearanceText",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"badgeAppearanceAccent",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"badgeAppearanceNeutral",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"badgeText",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"cards",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"countries",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"menuActions",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"menuDefinition",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"dropDownMenuItems",void 0),(0,yu.__decorate)([c.observable],Eu.prototype,"provider",void 0),Eu=(0,yu.__decorate)([(0,c.customElement)({name:"preview-components",template:ju,styles:Iu})],Eu);const Pu=c.css`
13955
+ `;let wh=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",this.buttonAppearanceText="lightweight",this.badgeAppearanceAccent="primary",this.badgeAppearanceNeutral="secondary",this.badgeText="white",this.cards=Array.from({length:8},((e,a)=>a+1)),this.countries=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Cambodia","Cameroon","Canada"],this.menuActions=[{name:"View",callback:e=>console.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>console.debug("DELETE!!!",e)},{name:"Edit",callback:e=>console.debug("EDIT!!!",e)},{name:"Wait",callback:e=>console.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(eh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(eh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(th)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{bh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,this.buttonAppearanceText=e.detail.buttonAppearanceText,this.badgeAppearanceAccent=e.detail.badgeAppearanceAccent,this.badgeAppearanceNeutral=e.detail.badgeAppearanceNeutral,this.badgeText=e.detail.badgeText}showDialog(e){this[e].show()}closeDialog(e){this[e].close()}dismissBanner(){this.banner.dismiss()}};(0,ah.__decorate)([c.observable],wh.prototype,"modal",void 0),(0,ah.__decorate)([c.attr],wh.prototype,"prefix",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"buttonAppearanceAccent",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"buttonAppearanceNeutral",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"buttonAppearanceOutline",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"buttonAppearanceText",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"badgeAppearanceAccent",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"badgeAppearanceNeutral",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"badgeText",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"cards",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"countries",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"menuActions",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"menuDefinition",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"dropDownMenuItems",void 0),(0,ah.__decorate)([c.observable],wh.prototype,"provider",void 0),wh=(0,ah.__decorate)([(0,c.customElement)({name:"preview-components",template:fh,styles:vh})],wh);const yh=c.css`
13404
13956
  .export {
13405
13957
  display: flex;
13406
13958
  justify-content: center;
@@ -13411,7 +13963,7 @@
13411
13963
  display: flex;
13412
13964
  justify-content: space-between;
13413
13965
  }
13414
- `,Bu=c.html`
13966
+ `,xh=c.html`
13415
13967
  <template>
13416
13968
  <div class="export">
13417
13969
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -13432,7 +13984,7 @@
13432
13984
  </alpha-modal>
13433
13985
  </div>
13434
13986
  </template>
13435
- `;let Uu=class extends c.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{console.log("Tokens saved successfully:",e),this.$emit(wu.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,yu.__decorate)([c.attr],Uu.prototype,"value",void 0),(0,yu.__decorate)([c.attr],Uu.prototype,"tokensPath",void 0),Uu=(0,yu.__decorate)([(0,c.customElement)({name:"design-system-export",template:Bu,styles:Pu})],Uu);const Gu=c.css`
13987
+ `;let kh=class extends c.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{console.log("Tokens saved successfully:",e),this.$emit(eh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(eh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,ah.__decorate)([c.attr],kh.prototype,"value",void 0),(0,ah.__decorate)([c.attr],kh.prototype,"tokensPath",void 0),kh=(0,ah.__decorate)([(0,c.customElement)({name:"design-system-export",template:xh,styles:yh})],kh);const zh=c.css`
13436
13988
  .colors {
13437
13989
  display: flex;
13438
13990
  flex-wrap: wrap;
@@ -13445,23 +13997,23 @@
13445
13997
  flex-grow: 1;
13446
13998
  height: 20px;
13447
13999
  }
13448
- `,Hu=c.html`
14000
+ `,Sh=c.html`
13449
14001
  <ul class="colors">
13450
14002
  ${(0,c.repeat)((e=>e.swatches),c.html`
13451
14003
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
13452
14004
  `)}
13453
14005
  </ul>
13454
- `;let _u=class extends c.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){u[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Nu(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,yu.__decorate)([c.observable],_u.prototype,"swatches",void 0),(0,yu.__decorate)([c.attr],_u.prototype,"type",void 0),_u=(0,yu.__decorate)([(0,c.customElement)({name:"color-palette",styles:Gu,template:Hu})],_u);const Vu=c.css`
14006
+ `;let Ch=class extends c.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){u[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=hh(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(eh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,ah.__decorate)([c.observable],Ch.prototype,"swatches",void 0),(0,ah.__decorate)([c.attr],Ch.prototype,"type",void 0),Ch=(0,ah.__decorate)([(0,c.customElement)({name:"color-palette",styles:zh,template:Sh})],Ch);const $h=c.css`
13455
14007
  .preview {
13456
14008
  width: 40px;
13457
14009
  height: 40px;
13458
14010
  }
13459
- `,Yu=c.html`
14011
+ `,Ah=c.html`
13460
14012
  <div
13461
14013
  class="preview"
13462
14014
  style="background-color: ${e=>u[e.tokenName].createCSS()}"
13463
14015
  ></div>
13464
- `;let Qu=class extends c.FASTElement{};(0,yu.__decorate)([c.attr],Qu.prototype,"tokenName",void 0),Qu=(0,yu.__decorate)([(0,c.customElement)({name:"color-token",styles:Vu,template:Yu})],Qu);const Wu=c.css`
14016
+ `;let Fh=class extends c.FASTElement{};(0,ah.__decorate)([c.attr],Fh.prototype,"tokenName",void 0),Fh=(0,ah.__decorate)([(0,c.customElement)({name:"color-token",styles:$h,template:Ah})],Fh);const Oh=c.css`
13465
14017
  .container {
13466
14018
  display: flex;
13467
14019
  width: 100%;
@@ -13509,7 +14061,7 @@
13509
14061
  .container > div:not(:last-child) {
13510
14062
  border-right: 1px solid #fafafa;
13511
14063
  }
13512
- `,qu=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],Ju=c.html`
14064
+ `,Th=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],Dh=c.html`
13513
14065
  <div class="row">
13514
14066
  <div
13515
14067
  class="preview"
@@ -13521,19 +14073,19 @@
13521
14073
  ${(e,a)=>u[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
13522
14074
  </div>
13523
14075
  </div>
13524
- `,Zu=c.html`
14076
+ `,Rh=c.html`
13525
14077
  <div class="container" ${(0,c.ref)("provider")}>
13526
- ${(0,c.repeat)((()=>qu),c.html`
14078
+ ${(0,c.repeat)((()=>Th),c.html`
13527
14079
  <div class="column">
13528
14080
  <h3 class="header-title">${e=>e.title}</h3>
13529
14081
  ${(0,c.repeat)((e=>e.subcategories),c.html`
13530
14082
  <h4>${e=>e.title}</h4>
13531
- ${(0,c.repeat)((e=>e.tokens),Ju)}
14083
+ ${(0,c.repeat)((e=>e.tokens),Dh)}
13532
14084
  `)}
13533
14085
  </div>
13534
14086
  `)}
13535
14087
  </div>
13536
- `;let Ku=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{const a=e.detail;Mu(a,this.provider)}))}};(0,yu.__decorate)([c.observable],Ku.prototype,"provider",void 0),Ku=(0,yu.__decorate)([(0,c.customElement)({name:"color-tokens",template:Zu,styles:Wu})],Ku);const Xu=c.css`
14088
+ `;let Nh=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(eh.STYLES_CHANGED,(e=>{const a=e.detail;bh(a,this.provider)}))}};(0,ah.__decorate)([c.observable],Nh.prototype,"provider",void 0),Nh=(0,ah.__decorate)([(0,c.customElement)({name:"color-tokens",template:Rh,styles:Oh})],Nh);const Lh=c.css`
13537
14089
  table {
13538
14090
  background: var(--neutral-fill-rest);
13539
14091
  color: var(--neutral-foreground-rest);
@@ -13542,7 +14094,7 @@
13542
14094
  th {
13543
14095
  text-align: left;
13544
14096
  }
13545
- `,eh=c.html`
14097
+ `,Mh=c.html`
13546
14098
  <table ${(0,c.ref)("provider")} style="font-family: ${()=>u.bodyFont.createCSS()}">
13547
14099
  <colgroup>
13548
14100
  <col style="width: 15%;" />
@@ -13770,7 +14322,7 @@
13770
14322
  </tr>
13771
14323
  </tbody>
13772
14324
  </table>
13773
- `;let ah=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{const a=e.detail;Mu(a,this.provider)}))}};(0,yu.__decorate)([c.observable],ah.prototype,"provider",void 0),ah=(0,yu.__decorate)([(0,c.customElement)({name:"typography-tokens",template:eh,styles:Xu})],ah);const rh=c.css`
14325
+ `;let Ih=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(eh.STYLES_CHANGED,(e=>{const a=e.detail;bh(a,this.provider)}))}};(0,ah.__decorate)([c.observable],Ih.prototype,"provider",void 0),Ih=(0,ah.__decorate)([(0,c.customElement)({name:"typography-tokens",template:Mh,styles:Lh})],Ih);const jh=c.css`
13774
14326
  :host {
13775
14327
  background: var(--fill-color);
13776
14328
  color: var(--neutral-foreground-rest);
@@ -13786,7 +14338,7 @@
13786
14338
  margin-top: 24px;
13787
14339
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
13788
14340
  }
13789
- `,th=c.html`
14341
+ `,Eh=c.html`
13790
14342
  <template>
13791
14343
  <alpha-tabs>
13792
14344
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -13815,7 +14367,7 @@
13815
14367
  </alpha-tab-panel>
13816
14368
  </alpha-tabs>
13817
14369
  </template>
13818
- `;let oh=class extends c.FASTElement{};oh=(0,yu.__decorate)([(0,c.customElement)({name:"design-system-preview",template:th,styles:rh})],oh);const ih={type:"VerticalLayout",elements:[{type:"Group",label:"Group 1",scope:"#/properties/group1",options:{childElements:[{type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/group1/properties/NAME",label:"Name"}]}]}},{type:"Group",label:"Group 2",scope:"#/properties/group2",options:{childElements:[{type:"LayoutVertical2Columns",elements:[{type:"Control",scope:"#/properties/group2/properties/QUANTITY",label:"Quantity"},{type:"Control",scope:"#/properties/group2/properties/PRICE",label:"Price"},{type:"Control",scope:"#/properties/group2/properties/COUNTERPARTY_ID",options:{data:[{name:"Genesis Global",value:"GENESIS"},{name:"Acme Global",value:"ACME"}],valueField:"value",labelField:"name"},label:"Counterparty"},{type:"Control",scope:"#/properties/group2/properties/INSTRUMENT_ID",options:{data:[{name:"Bond",value:"BOND"},{name:"Equity",value:"EQUITY"}],valueField:"value",labelField:"name"},label:"Instrument"},{type:"Control",scope:"#/properties/group2/properties/SIDE",label:"Side"},{type:"Control",scope:"#/properties/group2/properties/TRADE_DATE",label:"Trade Date"},{type:"Control",scope:"#/properties/group2/properties/ACTIVE",label:"Active"}]}]}}]},nh={type:"object",properties:{group1:{type:"object",properties:{NAME:{type:"string"}}},group2:{type:"object",properties:{QUANTITY:{type:"number"},PRICE:{type:"number"},COUNTERPARTY_ID:{type:"string"},INSTRUMENT_ID:{type:"string"},SIDE:{type:"string",enum:["BUY","SELL"]},TRADE_DATE:{type:"number",format:"date",description:"org.joda.time.DateTime"},ACTIVE:{type:"boolean"}},required:["QUANTITY","PRICE"]}}},lh={type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/users",options:{childUiSchema:{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/firstname",label:"First Name"},{type:"Control",scope:"#/properties/lastname",label:"Last Name"},{type:"Control",scope:"#/properties/email",label:"Email"}]}}}]},gh={type:"object",properties:{users:{type:"array",items:{type:"object",title:"Users",properties:{firstname:{type:"string"},lastname:{type:"string"},email:{type:"string",format:"email"}},required:["firstname"]}}}},sh=c.css`
14370
+ `;let Ph=class extends c.FASTElement{};Ph=(0,ah.__decorate)([(0,c.customElement)({name:"design-system-preview",template:Eh,styles:jh})],Ph);const Bh={type:"VerticalLayout",elements:[{type:"Group",label:"Group 1",scope:"#/properties/group1",options:{childElements:[{type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/group1/properties/NAME",label:"Name"}]}]}},{type:"Group",label:"Group 2",scope:"#/properties/group2",options:{childElements:[{type:"LayoutVertical2Columns",elements:[{type:"Control",scope:"#/properties/group2/properties/QUANTITY",label:"Quantity"},{type:"Control",scope:"#/properties/group2/properties/PRICE",label:"Price"},{type:"Control",scope:"#/properties/group2/properties/COUNTERPARTY_ID",options:{data:[{name:"Genesis Global",value:"GENESIS"},{name:"Acme Global",value:"ACME"}],valueField:"value",labelField:"name"},label:"Counterparty"},{type:"Control",scope:"#/properties/group2/properties/INSTRUMENT_ID",options:{data:[{name:"Bond",value:"BOND"},{name:"Equity",value:"EQUITY"}],valueField:"value",labelField:"name"},label:"Instrument"},{type:"Control",scope:"#/properties/group2/properties/SIDE",label:"Side"},{type:"Control",scope:"#/properties/group2/properties/TRADE_DATE",label:"Trade Date"},{type:"Control",scope:"#/properties/group2/properties/ACTIVE",label:"Active"}]}]}}]},Gh={type:"object",properties:{group1:{type:"object",properties:{NAME:{type:"string"}}},group2:{type:"object",properties:{QUANTITY:{type:"number"},PRICE:{type:"number"},COUNTERPARTY_ID:{type:"string"},INSTRUMENT_ID:{type:"string"},SIDE:{type:"string",enum:["BUY","SELL"]},TRADE_DATE:{type:"number",format:"date",description:"org.joda.time.DateTime"},ACTIVE:{type:"boolean"}},required:["QUANTITY","PRICE"]}}},Uh={type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/users",options:{childUiSchema:{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/firstname",label:"First Name"},{type:"Control",scope:"#/properties/lastname",label:"Last Name"},{type:"Control",scope:"#/properties/email",label:"Email"}]}}}]},Hh={type:"object",properties:{users:{type:"array",items:{type:"object",title:"Users",properties:{firstname:{type:"string"},lastname:{type:"string"},email:{type:"string",format:"email"}},required:["firstname"]}}}},_h=c.css`
13819
14371
  :host {
13820
14372
  background: var(--fill-color);
13821
14373
  color: var(--neutral-foreground-rest);
@@ -13846,7 +14398,7 @@
13846
14398
  zero-design-system-provider {
13847
14399
  display: inline;
13848
14400
  }
13849
- `,dh=c.html`
14401
+ `,Vh=c.html`
13850
14402
  ${e=>(e=>c.html`
13851
14403
  <template>
13852
14404
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -13870,7 +14422,7 @@
13870
14422
  </${e}-design-system-provider>
13871
14423
  </template>
13872
14424
  `)(e.prefix)}
13873
- `;let ch=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=nh,this.uischema=ih,this.jsonSchemaArray=gh,this.uiSchemaArray=lh,this.prefix="zero",this.editedEntity={group1:{NAME:"Test Name"},group2:{COUNTERPARTY_ID:"GENESIS",INSTRUMENT_ID:"BOND"}},this.editedEntityArray={users:[{firstname:"Max",lastname:"Mustermann",age:25,email:"max@mustermann.com"},{firstname:"John",lastname:"Doe",age:35,email:"john@doe.com"}]}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wu.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(ku)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Mu(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,yu.__decorate)([c.observable],ch.prototype,"jsonSchema",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"uischema",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"jsonSchemaArray",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"uiSchemaArray",void 0),(0,yu.__decorate)([c.attr],ch.prototype,"prefix",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"provider",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"editedEntity",void 0),(0,yu.__decorate)([c.observable],ch.prototype,"editedEntityArray",void 0),ch=(0,yu.__decorate)([(0,c.customElement)({name:"preview-form",template:dh,styles:sh})],ch);const ph=c.css`
14425
+ `;let Yh=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=Gh,this.uischema=Bh,this.jsonSchemaArray=Hh,this.uiSchemaArray=Uh,this.prefix="zero",this.editedEntity={group1:{NAME:"Test Name"},group2:{COUNTERPARTY_ID:"GENESIS",INSTRUMENT_ID:"BOND"}},this.editedEntityArray={users:[{firstname:"Max",lastname:"Mustermann",age:25,email:"max@mustermann.com"},{firstname:"John",lastname:"Doe",age:35,email:"john@doe.com"}]}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(eh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(eh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(th)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{bh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,ah.__decorate)([c.observable],Yh.prototype,"jsonSchema",void 0),(0,ah.__decorate)([c.observable],Yh.prototype,"uischema",void 0),(0,ah.__decorate)([c.observable],Yh.prototype,"jsonSchemaArray",void 0),(0,ah.__decorate)([c.observable],Yh.prototype,"uiSchemaArray",void 0),(0,ah.__decorate)([c.attr],Yh.prototype,"prefix",void 0),(0,ah.__decorate)([c.observable],Yh.prototype,"provider",void 0),(0,ah.__decorate)([c.observable],Yh.prototype,"editedEntity",void 0),(0,ah.__decorate)([c.observable],Yh.prototype,"editedEntityArray",void 0),Yh=(0,ah.__decorate)([(0,c.customElement)({name:"preview-form",template:Vh,styles:_h})],Yh);const Qh=c.css`
13874
14426
  :host {
13875
14427
  background: var(--fill-color);
13876
14428
  color: var(--neutral-foreground-rest);
@@ -13885,7 +14437,7 @@
13885
14437
  .grid-height {
13886
14438
  height: 450px;
13887
14439
  }
13888
- `,uh=c.html`
14440
+ `,Wh=c.html`
13889
14441
  ${e=>(e=>c.html`
13890
14442
  <template>
13891
14443
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -13895,5 +14447,5 @@
13895
14447
  </${e}-design-system-provider>
13896
14448
  </template>
13897
14449
  `)(e.prefix)}
13898
- `;let hh=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(wu.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(wu.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(ku)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Mu(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,yu.__decorate)([c.observable],hh.prototype,"grid",void 0),(0,yu.__decorate)([c.attr],hh.prototype,"prefix",void 0),(0,yu.__decorate)([c.observable],hh.prototype,"provider",void 0),(0,yu.__decorate)([c.observable],hh.prototype,"rowData",void 0),(0,yu.__decorate)([c.observable],hh.prototype,"columnDefs",void 0),(0,yu.__decorate)([c.observable],hh.prototype,"gridOptions",void 0),hh=(0,yu.__decorate)([(0,c.customElement)({name:"preview-grid",template:uh,styles:ph})],hh),((e,a="zero")=>{e&&(0,P.provideTokens)(t,o,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(ci,og),(0,l.provideDesignSystem)().register(l.baseComponents,ig),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(fu,ig)}}]);
13899
- //# sourceMappingURL=684.687c100693966adabaf45f4d1dc0cc5e.js.map
14450
+ `;let qh=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(eh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(eh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(th)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{bh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,ah.__decorate)([c.observable],qh.prototype,"grid",void 0),(0,ah.__decorate)([c.attr],qh.prototype,"prefix",void 0),(0,ah.__decorate)([c.observable],qh.prototype,"provider",void 0),(0,ah.__decorate)([c.observable],qh.prototype,"rowData",void 0),(0,ah.__decorate)([c.observable],qh.prototype,"columnDefs",void 0),(0,ah.__decorate)([c.observable],qh.prototype,"gridOptions",void 0),qh=(0,ah.__decorate)([(0,c.customElement)({name:"preview-grid",template:Wh,styles:Qh})],qh),((e,a="zero")=>{e&&(0,P.provideTokens)(t,o,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(ci,og),(0,l.provideDesignSystem)().register(l.baseComponents,ig),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(fu,Xu)}}]);
14451
+ //# sourceMappingURL=500.a0209872b62e6cb9e29e8ff6618752a5.js.map