@genesislcap/design-system-configurator 14.141.2 → 14.142.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.
Files changed (22) hide show
  1. package/dist/{122.122.a97ca1918102ca01f145.js → 122.122.710e44a9de6d784e7cc5.js} +162 -162
  2. package/dist/122.215a81292f16a66f4ae198e06a55d768.js.map +1 -0
  3. package/dist/{200.200.6215468628c2bc89cd1e.js → 200.200.0e44c7c63f682d859269.js} +1 -1
  4. package/dist/{394.394.69aa35de83c1d7840033.js → 394.394.14be20b7a2ec168cf786.js} +1 -1
  5. package/dist/{460.460.412205d3b1ac0c096461.js → 460.460.17e05dbd74d959cca4e0.js} +3 -3
  6. package/dist/460.b5d8ec6b543747e2b3cec91f2b881e53.js.map +1 -0
  7. package/dist/755.755.75e73b312163d6570625.js +2 -0
  8. package/dist/{755.9a7aecd6f809d3501c72cb59e24e35af.js.map → 755.a3cac47cc4cd6e213d2b372c956c558b.js.map} +1 -1
  9. package/dist/{8.5394062b4834c8f5d05d079dfd31f253.js.map → 8.17fb5c725550f75ede773e6c9c1c4e98.js.map} +1 -1
  10. package/dist/{8.8.1e99253e7bf7041c1570.js → 8.8.89946cefa0df7552d0ea.js} +2 -2
  11. package/dist/designSystemConfigurator.45cb61d71adf435067f59cb94417c024.js.map +1 -0
  12. package/dist/index.html +1 -1
  13. package/dist/main.0e12e5e21b34896f288e.js +2 -0
  14. package/dist/main.1d11cb650d300ae60f292e5d0c824315.js.map +1 -0
  15. package/dist/remoteEntry.js +2 -2
  16. package/package.json +7 -7
  17. package/dist/122.046e912a6212ae716d5ac01cf77e8ecf.js.map +0 -1
  18. package/dist/460.b5ef6b1df8b7524dd5402367e8fff136.js.map +0 -1
  19. package/dist/755.755.e4c02c524e0240207945.js +0 -2
  20. package/dist/designSystemConfigurator.e62013128df01b592f577ed4f9e83650.js.map +0 -1
  21. package/dist/main.7c26f0217f29d16312a5.js +0 -2
  22. package/dist/main.b15cc981057c2f3fd43f40a644955137.js.map +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[122],{85122:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Ph,ColorToken:()=>Uh,ColorTokens:()=>Qh,DesignSystemEditor:()=>Ah,DesignSystemExport:()=>Ih,DesignSystemPreview:()=>Xh,EventName:()=>hh,PreviewComponents:()=>Nh,PreviewForm:()=>nm,PreviewGrid:()=>sm,TypographyTokens:()=>Jh,defaultBodyFont:()=>vh,fontFamilies:()=>bh});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:()=>Ag,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>$g,defaultErrorColor:()=>vg,defaultSellColor:()=>Og,defaultSuccessColor:()=>yg,defaultWarningColor:()=>zg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>fg,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:()=>Tg,strokeWidth:()=>u.strokeWidth,successColor:()=>xg,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:()=>Sg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Ig,accentFillFocusDeltaValue:()=>jg,accentFillHoverDeltaValue:()=>Mg,accentFillRestDeltaValue:()=>Lg,accentForegroundActiveDeltaValue:()=>Bg,accentForegroundFocusDeltaValue:()=>Gg,accentForegroundHoverDeltaValue:()=>Pg,accentForegroundRestDeltaValue:()=>Eg,accentPaletteValue:()=>Dg,baseHeightMultiplierValue:()=>ms,baseLayerLuminanceValue:()=>Ng,bodyFontValue:()=>ws,controlCornerRadiusValue:()=>bs,densityValue:()=>vs,designTokens:()=>Es,designUnitValue:()=>fs,directionValue:()=>cs,disabledOpacityValue:()=>ps,focusStrokeWidthValue:()=>hs,neutralFillActiveDeltaValue:()=>_g,neutralFillFocusDeltaValue:()=>Vg,neutralFillHoverDeltaValue:()=>Hg,neutralFillInputActiveDeltaValue:()=>Wg,neutralFillInputFocusDeltaValue:()=>qg,neutralFillInputHoverDeltaValue:()=>Qg,neutralFillInputRestDeltaValue:()=>Yg,neutralFillLayerRestDeltaValue:()=>os,neutralFillRestDeltaValue:()=>Ug,neutralFillStealthActiveDeltaValue:()=>Kg,neutralFillStealthFocusDeltaValue:()=>Xg,neutralFillStealthHoverDeltaValue:()=>Zg,neutralFillStealthRestDeltaValue:()=>Jg,neutralFillStrongActiveDeltaValue:()=>rs,neutralFillStrongFocusDeltaValue:()=>ts,neutralFillStrongHoverDeltaValue:()=>as,neutralFillStrongRestDeltaValue:()=>es,neutralPaletteValue:()=>Rg,neutralStrokeActiveDeltaValue:()=>ls,neutralStrokeDividerRestDeltaValue:()=>ss,neutralStrokeFocusDeltaValue:()=>gs,neutralStrokeHoverDeltaValue:()=>ns,neutralStrokeRestDeltaValue:()=>is,prefix:()=>ds,strokeWidthValue:()=>us,typeRampBaseFontSizeValue:()=>ys,typeRampBaseLineHeightValue:()=>xs,typeRampMinus1FontSizeValue:()=>ks,typeRampMinus1LineHeightValue:()=>zs,typeRampMinus2FontSizeValue:()=>Ss,typeRampMinus2LineHeightValue:()=>Cs,typeRampPlus1FontSizeValue:()=>$s,typeRampPlus1LineHeightValue:()=>As,typeRampPlus2FontSizeValue:()=>Fs,typeRampPlus2LineHeightValue:()=>Os,typeRampPlus3FontSizeValue:()=>Ts,typeRampPlus3LineHeightValue:()=>Ds,typeRampPlus4FontSizeValue:()=>Rs,typeRampPlus4LineHeightValue:()=>Ns,typeRampPlus5FontSizeValue:()=>Ls,typeRampPlus5LineHeightValue:()=>Ms,typeRampPlus6FontSizeValue:()=>Is,typeRampPlus6LineHeightValue:()=>js});var l=r(1937),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([[122],{85122:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Gh,ColorToken:()=>_h,ColorTokens:()=>qh,DesignSystemEditor:()=>Oh,DesignSystemExport:()=>Eh,DesignSystemPreview:()=>am,EventName:()=>bh,PreviewComponents:()=>Mh,PreviewForm:()=>gm,PreviewGrid:()=>cm,TypographyTokens:()=>Kh,defaultBodyFont:()=>wh,fontFamilies:()=>fh});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:()=>Og,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>Fg,defaultErrorColor:()=>wg,defaultSellColor:()=>Dg,defaultSuccessColor:()=>kg,defaultWarningColor:()=>Cg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>yg,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:()=>Rg,strokeWidth:()=>u.strokeWidth,successColor:()=>zg,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:()=>$g});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Eg,accentFillFocusDeltaValue:()=>Pg,accentFillHoverDeltaValue:()=>jg,accentFillRestDeltaValue:()=>Ig,accentForegroundActiveDeltaValue:()=>Ug,accentForegroundFocusDeltaValue:()=>Hg,accentForegroundHoverDeltaValue:()=>Gg,accentForegroundRestDeltaValue:()=>Bg,accentPaletteValue:()=>Ng,baseHeightMultiplierValue:()=>vs,baseLayerLuminanceValue:()=>Mg,bodyFontValue:()=>xs,controlCornerRadiusValue:()=>fs,densityValue:()=>ws,designTokens:()=>Bs,designUnitValue:()=>ys,directionValue:()=>us,disabledOpacityValue:()=>hs,focusStrokeWidthValue:()=>bs,neutralFillActiveDeltaValue:()=>Yg,neutralFillFocusDeltaValue:()=>Qg,neutralFillHoverDeltaValue:()=>Vg,neutralFillInputActiveDeltaValue:()=>Jg,neutralFillInputFocusDeltaValue:()=>Zg,neutralFillInputHoverDeltaValue:()=>qg,neutralFillInputRestDeltaValue:()=>Wg,neutralFillLayerRestDeltaValue:()=>ns,neutralFillRestDeltaValue:()=>_g,neutralFillStealthActiveDeltaValue:()=>es,neutralFillStealthFocusDeltaValue:()=>as,neutralFillStealthHoverDeltaValue:()=>Xg,neutralFillStealthRestDeltaValue:()=>Kg,neutralFillStrongActiveDeltaValue:()=>os,neutralFillStrongFocusDeltaValue:()=>is,neutralFillStrongHoverDeltaValue:()=>ts,neutralFillStrongRestDeltaValue:()=>rs,neutralPaletteValue:()=>Lg,neutralStrokeActiveDeltaValue:()=>ss,neutralStrokeDividerRestDeltaValue:()=>cs,neutralStrokeFocusDeltaValue:()=>ds,neutralStrokeHoverDeltaValue:()=>gs,neutralStrokeRestDeltaValue:()=>ls,prefix:()=>ps,strokeWidthValue:()=>ms,typeRampBaseFontSizeValue:()=>ks,typeRampBaseLineHeightValue:()=>zs,typeRampMinus1FontSizeValue:()=>Ss,typeRampMinus1LineHeightValue:()=>Cs,typeRampMinus2FontSizeValue:()=>$s,typeRampMinus2LineHeightValue:()=>As,typeRampPlus1FontSizeValue:()=>Fs,typeRampPlus1LineHeightValue:()=>Os,typeRampPlus2FontSizeValue:()=>Ts,typeRampPlus2LineHeightValue:()=>Ds,typeRampPlus3FontSizeValue:()=>Rs,typeRampPlus3LineHeightValue:()=>Ns,typeRampPlus4FontSizeValue:()=>Ls,typeRampPlus4LineHeightValue:()=>Ms,typeRampPlus5FontSizeValue:()=>Is,typeRampPlus5LineHeightValue:()=>js,typeRampPlus6FontSizeValue:()=>Es,typeRampPlus6LineHeightValue:()=>Ps});var l=r(57090),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(74470);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(20157);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()}>
@@ -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(83283);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`
287
+ `,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(50678);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
@@ -2100,7 +2100,7 @@
2100
2100
  <template>
2101
2101
  <slot ${(0,c.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2102
2102
  </template>
2103
- `;let nl=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,yi.__decorate)([c.observable],nl.prototype,"slottedAgCell",void 0),(0,yi.__decorate)([c.observable],nl.prototype,"definition",void 0),nl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:il})],nl);var ll=r(82940),gl=r(32449),sl=r(9162),dl=r(5127),cl=r(83123),pl=r(35991),ul=r(6852),hl=r(26714),ml=r(2480),bl=r(71452),vl=r(99449),fl=r(30526),wl=r(61080);class yl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=ll.WJ.MAX_ROWS_250,this.maxView=ll.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1}}(0,yi.__decorate)([s.lj],yl.prototype,"connect",void 0),(0,yi.__decorate)([c.observable],yl.prototype,"deferredGridOptions",void 0),(0,yi.__decorate)([c.observable],yl.prototype,"deferredColumnStates",void 0),(0,yi.__decorate)([c.attr],yl.prototype,"criteria",void 0),(0,yi.__decorate)([c.attr],yl.prototype,"fields",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],yl.prototype,"isSnapshot",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-rows"})],yl.prototype,"maxRows",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-view"})],yl.prototype,"maxView",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],yl.prototype,"movingView",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"order-by"})],yl.prototype,"orderBy",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"resource-name"})],yl.prototype,"resourceName",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],yl.prototype,"reverse",void 0);var xl=r(21607);function kl({value:e}){return(0,xl.D_)(e)}function zl({value:e}){return(0,xl.Lx)(e)}var Sl;!function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Sl||(Sl={}));let Cl=class extends(Xn(yl)){constructor(){super(...arguments),this.pollingInterval=ll.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 hl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,gl.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?ll.WJ.REQUEST_SERVER_ROW_ID:ll.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===ll.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===ll.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?ll.WJ.REQUEST_SERVER_ROW_ID:ll.WJ.DATASERVER_ROW_ID}init(){return(0,yi.__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){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return bn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===ll._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,yi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,bl.T)(1),(0,vl.b)(r),(0,fl.b)((e=>bn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else bn.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 hl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),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,yi.__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.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return bn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)try{const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}catch(e){e.receivedMessage&&this.handleErrors(e.receivedMessage)}else bn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,wl.K)((e=>(this.handleErrors(e.receivedMessage),ml.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===sl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,dl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,dl.$)(e).inserts:e.inserts}handleErrors(e){e.ERROR&&(this.agGrid.gridApi.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected"))}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 bn.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(){if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rows.size&&this.agGrid.gridApi.showNoRowsOverlay());this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},Sl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Sl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Sl.Update,this.agGrid.asyncUpdate)}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(Sl)){if(!this.rowDataMapper)return e;const r={};return a.includes(Sl.Add)&&(r.add=this.rowDataMapper(e.add,this.rows)),a.includes(Sl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rows)),a.includes(Sl.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 cl.r.DATE:case cl.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 cl.r.STRING:r.cellEditor=Ai.stringEditor;break;case cl.r.NUMBER:r.cellEditor=Ai.numberEditor,r.filter="agNumberColumnFilter";break;case cl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case cl.r.DATE:r.valueFormatter=kl,r.cellEditor=Ai.dateEditor,r.filter="agDateColumnFilter";break;case cl.r.DATETIME:r.valueFormatter=zl,r.filter="agDateColumnFilter",r.cellEditor=Ai.dateEditor,r.cellEditorParams={withTime:!0};break;case cl.r.ENUM:e.enumOptions?(r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):bn.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,gl.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,yi.__decorate)([pl.g],Cl.prototype,"auth",void 0),(0,yi.__decorate)([ul.Yh],Cl.prototype,"datasource",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],Cl.prototype,"pollingInterval",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],Cl.prototype,"disablePolling",void 0),(0,yi.__decorate)([c.observable],Cl.prototype,"request",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],Cl.prototype,"rowIdAttr",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Cl.prototype,"restartOnReconnection",void 0),(0,yi.__decorate)([c.observable],Cl.prototype,"rowDataMapper",void 0),Cl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],Cl);let $l=class extends Cl{};$l=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],$l);var Al=r(66306),Fl=r(52078);function Ol(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 Tl(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 Dl{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,yi.__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,Fl.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===sl.Cs.LOGOFF_ACK||o===sl.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,dl.$)(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=>bn.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,yi.__decorate)([pl.g],Dl.prototype,"auth",void 0),(0,yi.__decorate)([s.lj],Dl.prototype,"connect",void 0);let Rl=class extends(Xn(yl)){constructor(){super(...arguments),this.pagination=!1,this.rowId="ROW_REF"}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,gl.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,yi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>bn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Al.C)(e);const a=(0,Al.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.dataserverStream=new Dl({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});bn.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));bn.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 bn.debug("Getting configured params:",e),e}createDataserverStream(e=null){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>bn.debug(e)),(e=>bn.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 cl.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 cl.r.DATE:case cl.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 cl.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 cl.r.NUMBER:r.cellEditor=Ai.numberEditor;break;case cl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case cl.r.DATE:r.valueFormatter=kl;break;case cl.r.DATETIME:r.valueFormatter=zl;break;case cl.r.ENUM:r.cellEditor=Ai.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:Tl(e.type),filter:Ol(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}};(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],Rl.prototype,"pagination",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],Rl.prototype,"rowId",void 0),Rl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],Rl);const Nl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLp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Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ll='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcj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JwD9i9Vg702P6wdUszdjktjwNxUZEt27XAj6sav9i+rXY/0MHfoMaTL9f/w6kVcMrknc1sXmjMda7CqsA0MfB2wR8AI2WBEFne8bZ0xzW2VXY1V/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ml={[wi.alpine]:Nl,[wi.alpineDark]:Nl,[wi.balham]:Ll,[wi.balhamDark]:Ll,[wi.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=ut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I19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Il=Nl,jl=c.css`
2103
+ `;let nl=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,yi.__decorate)([c.observable],nl.prototype,"slottedAgCell",void 0),(0,yi.__decorate)([c.observable],nl.prototype,"definition",void 0),nl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:il})],nl);var ll,gl=r(82940),sl=r(32449),dl=r(9162),cl=r(5127),pl=r(83123),ul=r(35991),hl=r(6852),ml=r(26714),bl=r(2480),vl=r(71452),fl=r(99449),wl=r(30526),yl=r(61080);class xl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=gl.WJ.MAX_ROWS_250,this.maxView=gl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?gl.WJ.REQUEST_SERVER_ROW_ID:gl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===gl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===gl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?gl.WJ.REQUEST_SERVER_ROW_ID:gl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,yi.__decorate)([s.lj],xl.prototype,"connect",void 0),(0,yi.__decorate)([c.observable],xl.prototype,"deferredGridOptions",void 0),(0,yi.__decorate)([c.observable],xl.prototype,"deferredColumnStates",void 0),(0,yi.__decorate)([c.observable],xl.prototype,"rowDataMapper",void 0),(0,yi.__decorate)([c.attr],xl.prototype,"criteria",void 0),(0,yi.__decorate)([c.attr],xl.prototype,"fields",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],xl.prototype,"isSnapshot",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-rows"})],xl.prototype,"maxRows",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-view"})],xl.prototype,"maxView",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],xl.prototype,"movingView",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"order-by"})],xl.prototype,"orderBy",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"resource-name"})],xl.prototype,"resourceName",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],xl.prototype,"reverse",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],xl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(ll||(ll={}));class kl extends xl{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}handleStreamInserts(e){null==e||e.forEach((e=>{if(this.rowData.has(e[this.rowId])||this.dataSubWasLoggedOff){const a=this.rowData.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.rowData.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.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));this.agTransaction.remove.push({[this.rowId]:a[this.rowId]})}this.rowData.delete(e[this.rowId])}))}handleStreamUpdates(e){null==e||e.forEach((e=>{let a;if(this.hasDefaultRowId||this.isRequestServer){const r=this.rowData.get(e[this.rowId]);a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}else{const r=Object.values(Object.fromEntries(this.rowData)).find((a=>a[this.defaultRowIdByResourceType]===e[this.defaultRowIdByResourceType]));a=Object.assign(Object.assign({},r),e),this.agTransaction.update.push(a)}this.rowData.set(e[this.rowId],a)}))}applyAllAgTransactions(){if(!this.agTransaction.add.length&&!this.agTransaction.update.length&&!this.agTransaction.remove.length)return this.agGrid.gridApi.hideOverlay(),void(0===this.rowData.size&&this.agGrid.gridApi.showNoRowsOverlay());this.agTransaction.add.length>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},ll.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},ll.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},ll.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(null==e?void 0:e.length)&&this.agGrid.gridApi.flashCells({rowNodes:e})}applyMappedAgTransaction(e,a,r){if(r)this.applyTransactionAsync(this.mapTransaction(e,[a]),(e=>{this.flashAddedCells(e.add)}));else{const r=this.applyTransaction(this.mapTransaction(e,[a]));this.flashAddedCells(r.add)}}applyTransaction(e){throw new Error("Method not implemented.")}applyTransactionAsync(e,a){throw new Error("Method not implemented.")}mapTransaction(e,a=Object.values(ll)){if(!this.rowDataMapper)return e;const r={};return a.includes(ll.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(ll.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(ll.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class zl{constructor(){this.rowData=new Map}}var Sl=r(21607);function Cl({value:e}){return(0,Sl.D_)(e)}function $l({value:e}){return(0,Sl.Lx)(e)}let Al=class extends(Xn(kl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=gl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new ml.X(new Map)}criteriaChanged(e,a){const r=e!==(0,sl.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}init(){return(0,yi.__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){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return bn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===gl._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,yi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,vl.T)(1),(0,fl.b)(r),(0,wl.b)((e=>bn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else bn.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 ml.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rowData.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.rowData=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,yi.__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.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return bn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)try{const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}}catch(e){e.receivedMessage&&this.handleErrors(e.receivedMessage)}else bn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,yl.K)((e=>(this.handleErrors(e.receivedMessage),bl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===dl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,cl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,cl.$)(e).inserts:e.inserts}handleErrors(e){e.ERROR&&(this.agGrid.gridApi.setRowData([]),this.agGrid.setAttribute("ds-disconnected","ds-disconnected"))}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 bn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rowData.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.rowData.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.rowData.set(e[this.rowId],e)}));const r=Array.from(this.rowData.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case pl.r.DATE:case pl.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 pl.r.STRING:r.cellEditor=Ai.stringEditor;break;case pl.r.NUMBER:r.cellEditor=Ai.numberEditor,r.filter="agNumberColumnFilter";break;case pl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case pl.r.DATE:r.valueFormatter=Cl,r.cellEditor=Ai.dateEditor,r.filter="agDateColumnFilter";break;case pl.r.DATETIME:r.valueFormatter=$l,r.filter="agDateColumnFilter",r.cellEditor=Ai.dateEditor,r.cellEditorParams={withTime:!0};break;case pl.r.ENUM:e.enumOptions?(r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):bn.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,sl.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)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,yi.__decorate)([ul.g],Al.prototype,"auth",void 0),(0,yi.__decorate)([hl.Yh],Al.prototype,"datasource",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],Al.prototype,"pollingInterval",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],Al.prototype,"disablePolling",void 0),(0,yi.__decorate)([c.observable],Al.prototype,"request",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Al.prototype,"restartOnReconnection",void 0),Al=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],Al);let Fl=class extends Al{};Fl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],Fl);var Ol=r(66306),Tl=r(52078);function Dl(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 Rl(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 Nl extends zl{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,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,yi.__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,Tl.q)(1)).subscribe((a=>{var r,t;const o=a.MESSAGE_TYPE;if(o&&(o===dl.Cs.LOGOFF_ACK||o===dl.Cs.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,cl.$)(a);this.handleCurrentStreamLoad(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.sortMapByNumericKey(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)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}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=>bn.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}}}}handleCurrentStreamLoad(e){var a;if(!e)return;const r=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{r.set(e[this.rowId],e)})),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,yi.__decorate)([ul.g],Nl.prototype,"auth",void 0),(0,yi.__decorate)([s.lj],Nl.prototype,"connect",void 0);let Ll=class extends(Xn(kl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=!e&&a,t=e!==(0,sl.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,getRowStyle(e){var a,r;if(null===(r=null===(a=e.data)||void 0===a?void 0:a.ROW_REF)||void 0===r?void 0:r.includes("_deleted"))return{color:"grey"}},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,yi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>bn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Ol.C)(e);const a=(0,Ol.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Nl({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.ssrmDatasource)}))),{once:!0});bn.warn("Application not connected, falling back to local columnDefs/rowData")}reset(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}restart(){this.reset(),this.init()}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));bn.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 bn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,yi.__awaiter)(this,void 0,void 0,(function*(){var a,r;if(e.MESSAGE_TYPE===dl.Cs.QUERY_UPDATE&&e.ROW){const t=(0,cl.$)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(t.inserts),this.handleStreamDeletesTemp(t.deletes),this.handleStreamUpdates(t.updates),this.ssrmDatasource.client_ROWS_COUNT=null!==(r=null===(a=this.rowData)||void 0===a?void 0:a.size)&&void 0!==r?r:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>bn.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case pl.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 pl.r.DATE:case pl.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 pl.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 pl.r.NUMBER:r.cellEditor=Ai.numberEditor;break;case pl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case pl.r.DATE:r.valueFormatter=Cl;break;case pl.r.DATETIME:r.valueFormatter=$l;break;case pl.r.ENUM:r.cellEditor=Ai.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:Rl(e.type),filter:Dl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],Ll.prototype,"pagination",void 0),Ll=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],Ll);const Ml='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8Iiq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JPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Il='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB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WrEeFIi0yuxUrpl4IRi3MfIwiYrpuUi5oJwD9i9Vg702P6wdUszdjktjwNxUZEt27XAj6sav9i+rXY/0MHfoMaTL9f/w6kVcMrknc1sXmjMda7CqsA0MfB2wR8AI2WBEFne8bZ0xzW2VXY1V/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',jl={[wi.alpine]:Ml,[wi.alpineDark]:Ml,[wi.balham]:Il,[wi.balhamDark]:Il,[wi.material]:'\n @font-face {\n font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u3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},El=Ml,Pl=c.css`
2104
2104
  .ag-icon {
2105
2105
  font-family: var(--ag-icon-font-family);
2106
2106
  font-size: var(--ag-icon-size);
@@ -9277,7 +9277,7 @@
9277
9277
  input[class^='ag-'][type='range']:disabled {
9278
9278
  opacity: 0.5;
9279
9279
  }
9280
- `,El=c.css`
9280
+ `,Bl=c.css`
9281
9281
  .ag-dnd-ghost {
9282
9282
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9283
9283
  border: solid 1px;
@@ -9294,7 +9294,7 @@
9294
9294
  overflow: hidden;
9295
9295
  text-overflow: ellipsis;
9296
9296
  }
9297
- `,Pl=c.css`
9297
+ `,Gl=c.css`
9298
9298
  .ag-theme-alpine,
9299
9299
  .ag-theme-alpine-dark {
9300
9300
  --ag-alpine-active-color: #2196f3;
@@ -9744,7 +9744,7 @@
9744
9744
  .ag-theme-alpine-dark {
9745
9745
  color-scheme: dark;
9746
9746
  }
9747
- `,Bl=c.css`
9747
+ `,Ul=c.css`
9748
9748
  .ag-theme-balham,
9749
9749
  .ag-theme-balham-dark {
9750
9750
  --ag-balham-active-color: #0091ea;
@@ -10014,7 +10014,7 @@
10014
10014
  .ag-theme-balham-dark {
10015
10015
  color-scheme: dark;
10016
10016
  }
10017
- `,Gl=c.css`
10017
+ `,Hl=c.css`
10018
10018
  .ag-theme-material {
10019
10019
  --ag-material-primary-color: #3f51b5;
10020
10020
  --ag-material-accent-color: #ff4081;
@@ -10279,14 +10279,14 @@
10279
10279
  .ag-theme-material .ag-picker-field-wrapper:focus {
10280
10280
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10281
10281
  }
10282
- `,Ul=c.css`
10283
- ${jl}
10284
- ${El}
10282
+ `,_l=c.css`
10285
10283
  ${Pl}
10286
10284
  ${Bl}
10287
10285
  ${Gl}
10288
- `,Hl=c.css`
10289
10286
  ${Ul}
10287
+ ${Hl}
10288
+ `,Vl=c.css`
10289
+ ${_l}
10290
10290
  :host {
10291
10291
  width: 100%;
10292
10292
  height: 100%;
@@ -10313,14 +10313,14 @@
10313
10313
  .ag-cell-inline-editing {
10314
10314
  height: inherit !important;
10315
10315
  }
10316
- `,_l=c.html`
10316
+ `,Yl=c.html`
10317
10317
  <template>
10318
10318
  <span part="grid" class="${e=>e.classNames}">
10319
10319
  <slot name="grid" ${(0,c.ref)("gridSlot")}></slot>
10320
10320
  <slot></slot>
10321
10321
  </span>
10322
10322
  </template>
10323
- `;class Vl{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 Yl(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}mn.O3h.registerModules([Jn.jM,qn.I]);const Ql=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Wl extends(Xn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,rl.A)(Ci(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=Il,this.columnComponentName="grid-pro-column",this.theme=wi.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=mn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Ql(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&&mn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Ql(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={[Ai.action]:vn,[Ai.actionsMenu]:zn,[Ai.boolean]:An,[Ai.editable]:sn,[Ai.selectEditor]:_i,[Ai.numberEditor]:Ji,[Ai.multiselectEditor]:Ei,[Ai.dateEditor]:Ri,[Ai.stringEditor]:rn};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,yi.__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),mn.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 mn.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return bn.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[Fi]===e.field)return{component:Ai.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Vl,e.tooltipValueGetter=a=>{const r=a.data[Oi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Oi])||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 Yl(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Yl(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=mn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=mn.plv.ALL_PROPERTIES.map((e=>Ql(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},mn.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=Ml[e]||this.gridFontFace;this.destroyFontFace();const r=(0,al.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,yi.__decorate)([c.observable],Wl.prototype,"columnApi",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"gridApi",void 0),(0,yi.__decorate)([Zn.z],Wl.prototype,"session",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Wl.prototype,"autoCellRendererByType",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Wl.prototype,"onlyTemplateColDefs",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Wl.prototype,"gridAutosizingEnabled",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"add-index"})],Wl.prototype,"addIndex",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Wl.prototype,"asyncAdd",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Wl.prototype,"asyncRemove",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Wl.prototype,"asyncUpdate",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Wl.prototype,"enableCellFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Wl.prototype,"enabledRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Wl.prototype,"enableRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Wl.prototype,"persistColumnStateKey",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"gridFontFace",void 0),(0,yi.__decorate)([c.attr],Wl.prototype,"columnComponentName",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"eventsAndCallbacks",void 0),(0,yi.__decorate)([c.attr],Wl.prototype,"headerHeight",void 0),(0,yi.__decorate)([c.attr],Wl.prototype,"rowHeight",void 0),(0,yi.__decorate)([c.attr],Wl.prototype,"theme",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"classNames",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"agGrid",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"gridSlot",void 0),(0,yi.__decorate)([c.observable],Wl.prototype,"gridComponents",void 0),(0,yi.__decorate)([Di],Wl.prototype,"gridOptionsConfig",void 0);const ql=void 0,Jl={shadowOptions:void 0},Zl=Wl.compose(Object.assign({baseName:"grid-pro",styles:Hl,template:_l,shadowOptions:ql},Jl)),Kl={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"))},Xl={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:eg}=p.DesignToken,ag={backgroundColor:eg("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.backgroundSwatch:Kl.backgroundSwatch)),borderColor:eg("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.borderSwatch:Kl.borderSwatch)),foregroundColor:eg("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.foregroundSwatch:Kl.foregroundSwatch)),headerForegroundColor:eg("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.headerForegroundSwatch:Kl.headerForegroundSwatch)),rowHoverColor:eg("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?Xl.rowHoverSwatch:Kl.rowHoverSwatch))},rg=c.css`
10323
+ `;class Ql{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 Wl(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}mn.O3h.registerModules([Jn.jM,qn.I]);const ql=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class Jl extends(Xn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,rl.A)(Ci(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=El,this.columnComponentName="grid-pro-column",this.theme=wi.alpine,this.rehydrationAttempted=!1,this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=mn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[ql(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&&mn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(ql(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={[Ai.action]:vn,[Ai.actionsMenu]:zn,[Ai.boolean]:An,[Ai.editable]:sn,[Ai.selectEditor]:_i,[Ai.numberEditor]:Ji,[Ai.multiselectEditor]:Ei,[Ai.dateEditor]:Ri,[Ai.stringEditor]:rn};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,yi.__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),mn.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 mn.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return bn.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[Fi]===e.field)return{component:Ai.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Ql,e.tooltipValueGetter=a=>{const r=a.data[Oi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Oi])||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 Wl(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Wl(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=mn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=mn.plv.ALL_PROPERTIES.map((e=>ql(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},mn.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=jl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,al.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,yi.__decorate)([c.observable],Jl.prototype,"columnApi",void 0),(0,yi.__decorate)([c.observable],Jl.prototype,"gridApi",void 0),(0,yi.__decorate)([Zn.z],Jl.prototype,"session",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Jl.prototype,"autoCellRendererByType",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Jl.prototype,"onlyTemplateColDefs",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Jl.prototype,"gridAutosizingEnabled",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"add-index"})],Jl.prototype,"addIndex",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Jl.prototype,"asyncAdd",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Jl.prototype,"asyncRemove",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Jl.prototype,"asyncUpdate",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Jl.prototype,"enableCellFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Jl.prototype,"enabledRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Jl.prototype,"enableRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Jl.prototype,"persistColumnStateKey",void 0),(0,yi.__decorate)([c.observable],Jl.prototype,"gridFontFace",void 0),(0,yi.__decorate)([c.attr],Jl.prototype,"columnComponentName",void 0),(0,yi.__decorate)([c.observable],Jl.prototype,"eventsAndCallbacks",void 0),(0,yi.__decorate)([c.attr],Jl.prototype,"headerHeight",void 0),(0,yi.__decorate)([c.attr],Jl.prototype,"rowHeight",void 0),(0,yi.__decorate)([c.attr],Jl.prototype,"theme",void 0),(0,yi.__decorate)([c.observable],Jl.prototype,"classNames",void 0),(0,yi.__decorate)([c.observable],Jl.prototype,"agGrid",void 0),(0,yi.__decorate)([c.observable],Jl.prototype,"gridSlot",void 0),(0,yi.__decorate)([c.observable],Jl.prototype,"gridComponents",void 0),(0,yi.__decorate)([Di],Jl.prototype,"gridOptionsConfig",void 0);const Zl=void 0,Kl={shadowOptions:void 0},Xl=Jl.compose(Object.assign({baseName:"grid-pro",styles:Vl,template:Yl,shadowOptions:Zl},Kl)),eg={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"))},ag={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:rg}=p.DesignToken,tg={backgroundColor:rg("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?ag.backgroundSwatch:eg.backgroundSwatch)),borderColor:rg("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?ag.borderSwatch:eg.borderSwatch)),foregroundColor:rg("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?ag.foregroundSwatch:eg.foregroundSwatch)),headerForegroundColor:rg("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?ag.headerForegroundSwatch:eg.headerForegroundSwatch)),rowHoverColor:rg("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?ag.rowHoverSwatch:eg.rowHoverSwatch))},og=c.css`
10324
10324
  .ag-theme-genesis-rapid,
10325
10325
  .ag-theme-genesis-rapid-dark {
10326
10326
  --ag-alpine-active-color: #2196f3;
@@ -10780,56 +10780,56 @@
10780
10780
  .ag-theme-genesis-rapid-dark {
10781
10781
  color-scheme: dark;
10782
10782
  }
10783
- `,tg={[fi.backgroundColor]:ag.backgroundColor,[fi.foregroundColor]:ag.foregroundColor,[fi.oddRowBackgroundColor]:ag.backgroundColor,[fi.headerBackgroundColor]:ag.backgroundColor,[fi.headerForegroundColor]:ag.headerForegroundColor,[fi.selectedRowBackgroundColor]:ag.rowHoverColor,[fi.rowHoverColor]:ag.rowHoverColor,[fi.borderColor]:ag.borderColor,[fi.rowBorderColor]:ag.rowHoverColor,[fi.modalOverlayBackgroundColor]:ag.backgroundColor,[fi.inputFocusBoxShadow]:ag.headerForegroundColor,[fi.inputFocusBorderColor]:ag.headerForegroundColor,[fi.headerColumnResizeHandleColor]:ag.headerForegroundColor},og="ag-theme-genesis-rapid",ig=c.css`
10784
- ${rg}
10785
- ${$i(og,tg)}
10783
+ `,ig={[fi.backgroundColor]:tg.backgroundColor,[fi.foregroundColor]:tg.foregroundColor,[fi.oddRowBackgroundColor]:tg.backgroundColor,[fi.headerBackgroundColor]:tg.backgroundColor,[fi.headerForegroundColor]:tg.headerForegroundColor,[fi.selectedRowBackgroundColor]:tg.rowHoverColor,[fi.rowHoverColor]:tg.rowHoverColor,[fi.borderColor]:tg.borderColor,[fi.rowBorderColor]:tg.rowHoverColor,[fi.modalOverlayBackgroundColor]:tg.backgroundColor,[fi.inputFocusBoxShadow]:tg.headerForegroundColor,[fi.inputFocusBorderColor]:tg.headerForegroundColor,[fi.headerColumnResizeHandleColor]:tg.headerForegroundColor},ng="ag-theme-genesis-rapid",lg=c.css`
10784
+ ${og}
10785
+ ${$i(ng,ig)}
10786
10786
 
10787
- .${og} {
10787
+ .${ng} {
10788
10788
  ${Ee()}
10789
10789
  }
10790
10790
 
10791
- .${og} .ag-header {
10791
+ .${ng} .ag-header {
10792
10792
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10793
10793
  font-weight: bold;
10794
10794
  }
10795
10795
 
10796
- .${og} .ag-root-wrapper {
10796
+ .${ng} .ag-root-wrapper {
10797
10797
  border-radius: calc(var(--control-corner-radius) * 1px);
10798
10798
  }
10799
- `,ng="ag-theme-genesis-rapid-dark",lg=c.css`
10800
- ${rg}
10801
- ${$i(ng,tg)}
10799
+ `,gg="ag-theme-genesis-rapid-dark",sg=c.css`
10800
+ ${og}
10801
+ ${$i(gg,ig)}
10802
10802
 
10803
- .${ng} {
10803
+ .${gg} {
10804
10804
  ${Ee()}
10805
10805
  }
10806
10806
 
10807
- .${ng} .ag-header {
10807
+ .${gg} .ag-header {
10808
10808
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10809
10809
  font-weight: bold;
10810
10810
  }
10811
10811
 
10812
- .${ng} .ag-cell {
10812
+ .${gg} .ag-cell {
10813
10813
  line-height: var(--ag-line-height, 32px);
10814
10814
  }
10815
10815
 
10816
- .${ng} .ag-root-wrapper {
10816
+ .${gg} .ag-root-wrapper {
10817
10817
  border-radius: calc(var(--control-corner-radius) * 1px);
10818
10818
  }
10819
- `,gg=c.css`
10819
+ `,dg=c.css`
10820
10820
  /* All the AG themes */
10821
- ${Hl}
10821
+ ${Vl}
10822
10822
 
10823
10823
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10824
- ${ig}
10825
10824
  ${lg}
10825
+ ${sg}
10826
10826
 
10827
10827
  .error {
10828
10828
  border-color: ${ve.shortPink} !important;
10829
10829
  }
10830
- `,sg=_l,dg="ag-theme-genesis-rapid-dark";const cg=Jl,pg={zeroAgEditableRenderer:hn,zeroAgActionRenderer:kn,zeroAgActionsMenuRenderer:$n,zeroAgBooleanRenderer:Rn,zeroAgTextRenderer:Hn,zeroAgSelectRenderer:Wn,zeroAgDateEditor:ji,zeroAgMultiselectEditor:Hi,zeroAgSelectEditor:qi,zeroAgNumberEditor:an,zeroAgStringEditor:gn,zeroGridPro:class extends Wl{constructor(){super(...arguments),this.theme=dg}themeChanged(e,a){(e||a===dg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:xn,[Ai.actionsMenu]:Cn,[Ai.boolean]:Dn,[Ai.editable]:un,[Ai.selectEditor]:Wi,[Ai.numberEditor]:en,[Ai.multiselectEditor]:Ui,[Ai.dateEditor]:Ii,[Ai.stringEditor]:ln};(this.theme===og||this.theme===ng)&&(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:sg,styles:gg,shadowOptions:undefined},cg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},ug={foundationGridProActionRenderer:yn,foundationGridProActionsMenuRenderer:Sn,foundationAgBooleanRenderer:Tn,foundationAgTextRenderer:Un,foundationAgTextFieldRenderer:En,foundationAgEditableRenderer:pn,foundationAgSelectRenderer:Qn,foundationGridPro:Zl,foundationSelectEditor:Qi,foundationNumberEditor:Xi,foundationDateEditor:Mi,foundationMultiselectEditor:Gi,foundationStringEditor:nn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var hg;!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"}(hg||(hg={}));const{create:mg}=p.DesignToken,bg=(0,fe.parseColorHexRGB)(hg.error),vg=u.SwatchRGB.create(bg.r,bg.g,bg.b),fg=mg("error-color").withDefault(vg),wg=(0,fe.parseColorHexRGB)(hg.success),yg=u.SwatchRGB.create(wg.r,wg.g,wg.b),xg=mg("success-color").withDefault(yg),kg=(0,fe.parseColorHexRGB)(hg.warning),zg=u.SwatchRGB.create(kg.r,kg.g,kg.b),Sg=mg("warning-color").withDefault(zg),Cg=(0,fe.parseColorHexRGB)(hg.buy),$g=u.SwatchRGB.create(Cg.r,Cg.g,Cg.b),Ag=mg("buy-color").withDefault($g),Fg=(0,fe.parseColorHexRGB)(hg.sell),Og=u.SwatchRGB.create(Fg.r,Fg.g,Fg.b),Tg=mg("sell-color").withDefault(Og),Dg=(0,P.paletteFromHex)(hg.primary),Rg=(0,P.paletteFromHex)(hg.neutral),Ng=u.StandardLuminance.DarkMode,Lg=0,Mg=4,Ig=-5,jg=0,Eg=0,Pg=6,Bg=-4,Gg=0,Ug=7,Hg=10,_g=5,Vg=0,Yg=0,Qg=0,Wg=0,qg=0,Jg=0,Zg=5,Kg=3,Xg=0,es=0,as=8,rs=-5,ts=0,os=3,is=25,ns=40,ls=16,gs=25,ss=8,ds="rapid",cs=Oe.N.ltr,ps=.3,us=1,hs=2,ms=10,bs=4,vs=0,fs=4,ws='"Segoe UI", Arial, Helvetica, sans-serif',ys="14px",xs="20px",ks="12px",zs="16px",Ss="10px",Cs="16px",$s="16px",As="24px",Fs="20px",Os="28px",Ts="28px",Ds="36px",Rs="34px",Ns="44px",Ls="46px",Ms="56px",Is="60px",js="72px",Es={design_tokens:{color:{accent:{$value:Dg.source.toColorString(),$type:"color"},neutral:{$value:Rg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:ws,$type:"fontFamily"}},typography:{baseFontSize:{$value:ys,$type:"dimension"},baseLineHeight:{$value:xs,$type:"dimension"}},mode:{luminance:{$value:Ng,$type:"number"}},style:{density:{$value:vs,$type:"number"},borderRadius:{$value:bs,$type:"number"},strokeWidth:{$value:us,$type:"number"}},space:{designUnit:{$value:fs,$type:"number"}}}};class Ps extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(i,n,this)}}const Bs=Ps.compose({baseName:"design-system-provider",template:c.html`
10830
+ `,cg=Yl,pg="ag-theme-genesis-rapid-dark";const ug=Kl,hg={zeroAgEditableRenderer:hn,zeroAgActionRenderer:kn,zeroAgActionsMenuRenderer:$n,zeroAgBooleanRenderer:Rn,zeroAgTextRenderer:Hn,zeroAgSelectRenderer:Wn,zeroAgDateEditor:ji,zeroAgMultiselectEditor:Hi,zeroAgSelectEditor:qi,zeroAgNumberEditor:an,zeroAgStringEditor:gn,zeroGridPro:class extends Jl{constructor(){super(...arguments),this.theme=pg}themeChanged(e,a){(e||a===pg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:xn,[Ai.actionsMenu]:Cn,[Ai.boolean]:Dn,[Ai.editable]:un,[Ai.selectEditor]:Wi,[Ai.numberEditor]:en,[Ai.multiselectEditor]:Ui,[Ai.dateEditor]:Ii,[Ai.stringEditor]:ln};(this.theme===ng||this.theme===gg)&&(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:cg,styles:dg,shadowOptions:undefined},ug)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},mg={foundationGridProActionRenderer:yn,foundationGridProActionsMenuRenderer:Sn,foundationAgBooleanRenderer:Tn,foundationAgTextRenderer:Un,foundationAgTextFieldRenderer:En,foundationAgEditableRenderer:pn,foundationAgSelectRenderer:Qn,foundationGridPro:Xl,foundationSelectEditor:Qi,foundationNumberEditor:Xi,foundationDateEditor:Mi,foundationMultiselectEditor:Gi,foundationStringEditor:nn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var bg;!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"}(bg||(bg={}));const{create:vg}=p.DesignToken,fg=(0,fe.parseColorHexRGB)(bg.error),wg=u.SwatchRGB.create(fg.r,fg.g,fg.b),yg=vg("error-color").withDefault(wg),xg=(0,fe.parseColorHexRGB)(bg.success),kg=u.SwatchRGB.create(xg.r,xg.g,xg.b),zg=vg("success-color").withDefault(kg),Sg=(0,fe.parseColorHexRGB)(bg.warning),Cg=u.SwatchRGB.create(Sg.r,Sg.g,Sg.b),$g=vg("warning-color").withDefault(Cg),Ag=(0,fe.parseColorHexRGB)(bg.buy),Fg=u.SwatchRGB.create(Ag.r,Ag.g,Ag.b),Og=vg("buy-color").withDefault(Fg),Tg=(0,fe.parseColorHexRGB)(bg.sell),Dg=u.SwatchRGB.create(Tg.r,Tg.g,Tg.b),Rg=vg("sell-color").withDefault(Dg),Ng=(0,P.paletteFromHex)(bg.primary),Lg=(0,P.paletteFromHex)(bg.neutral),Mg=u.StandardLuminance.DarkMode,Ig=0,jg=4,Eg=-5,Pg=0,Bg=0,Gg=6,Ug=-4,Hg=0,_g=7,Vg=10,Yg=5,Qg=0,Wg=0,qg=0,Jg=0,Zg=0,Kg=0,Xg=5,es=3,as=0,rs=0,ts=8,os=-5,is=0,ns=3,ls=25,gs=40,ss=16,ds=25,cs=8,ps="rapid",us=Oe.N.ltr,hs=.3,ms=1,bs=2,vs=10,fs=4,ws=0,ys=4,xs='"Segoe UI", Arial, Helvetica, sans-serif',ks="14px",zs="20px",Ss="12px",Cs="16px",$s="10px",As="16px",Fs="16px",Os="24px",Ts="20px",Ds="28px",Rs="28px",Ns="36px",Ls="34px",Ms="44px",Is="46px",js="56px",Es="60px",Ps="72px",Bs={design_tokens:{color:{accent:{$value:Ng.source.toColorString(),$type:"color"},neutral:{$value:Lg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:xs,$type:"fontFamily"}},typography:{baseFontSize:{$value:ks,$type:"dimension"},baseLineHeight:{$value:zs,$type:"dimension"}},mode:{luminance:{$value:Mg,$type:"number"}},style:{density:{$value:ws,$type:"number"},borderRadius:{$value:fs,$type:"number"},strokeWidth:{$value:ms,$type:"number"}},space:{designUnit:{$value:ys,$type:"number"}}}};class Gs extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(i,n,this)}}const Us=Gs.compose({baseName:"design-system-provider",template:c.html`
10831
10831
  <slot></slot>
10832
- `});class Gs extends P.Accordion{}const Us=Gs.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
10832
+ `});class Hs extends P.Accordion{}const _s=Hs.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
10833
10833
  ${(0,P.foundationAccordionStyles)(e,a)}
10834
10834
 
10835
10835
  :host {
@@ -10840,7 +10840,7 @@
10840
10840
  .heading {
10841
10841
  height: calc(var(--base-height-multiplier) * 4px);
10842
10842
  }
10843
- `,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Hs extends P.AccordionItem{}const _s=Hs.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
10843
+ `,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Vs extends P.AccordionItem{}const Ys=Vs.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
10844
10844
  ${(0,P.foundationAccordionItemStyles)(e,a)}
10845
10845
 
10846
10846
  :host {
@@ -10903,7 +10903,7 @@
10903
10903
  grid-template-columns: auto 1fr auto;
10904
10904
  align-items: center;
10905
10905
  }
10906
- `,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class Vs extends P.ActionsMenu{}const Ys=Vs.compose({baseName:"actions-menu",styles:(e,a)=>c.css`
10906
+ `,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class Qs extends P.ActionsMenu{}const Ws=Qs.compose({baseName:"actions-menu",styles:(e,a)=>c.css`
10907
10907
  :host {
10908
10908
  --actions-opener-height-multiplier: 0.6px;
10909
10909
  --menu-item-height-multiplier: 0.5px;
@@ -10941,7 +10941,7 @@
10941
10941
  .actions-vertical .menu-item:focus {
10942
10942
  border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
10943
10943
  }
10944
- `,template:P.foundationActionsMenuTemplate});function Qs(e,a){return new p.PropertyStyleSheetBehavior("appearance",e,a)}const Ws=c.css`
10944
+ `,template:P.foundationActionsMenuTemplate});function qs(e,a){return new p.PropertyStyleSheetBehavior("appearance",e,a)}const Js=c.css`
10945
10945
  :host([appearance='primary']) {
10946
10946
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
10947
10947
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -10964,7 +10964,7 @@
10964
10964
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
10965
10965
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
10966
10966
  }
10967
- `,qs=c.css`
10967
+ `,Zs=c.css`
10968
10968
  :host([appearance='primary-outline']) {
10969
10969
  background: none;
10970
10970
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -10982,7 +10982,7 @@
10982
10982
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
10983
10983
  opacity: 100%;
10984
10984
  }
10985
- `,Js=c.css`
10985
+ `,Ks=c.css`
10986
10986
  :host([appearance='neutral-outline']) {
10987
10987
  background: none;
10988
10988
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
@@ -11000,7 +11000,7 @@
11000
11000
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11001
11001
  opacity: 100%;
11002
11002
  }
11003
- `,Zs=c.css`
11003
+ `,Xs=c.css`
11004
11004
  :host([appearance='link']) {
11005
11005
  background: none;
11006
11006
  border: none;
@@ -11023,7 +11023,7 @@
11023
11023
  color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
11024
11024
  opacity: 100%;
11025
11025
  }
11026
- `,Ks=(e,a)=>c.css`
11026
+ `,ed=(e,a)=>c.css`
11027
11027
  ${(0,P.foundationButtonStyles)(e,a)}
11028
11028
  ${c.css`
11029
11029
  :host {
@@ -11077,14 +11077,14 @@
11077
11077
  opacity: 100%;
11078
11078
  }
11079
11079
  `}
11080
- `.withBehaviors(Qs("primary",Ws),Qs("primary-outline",qs),Qs("neutral-outline",Js),Qs("link",Zs));class Xs extends P.Anchor{}const ed=Xs.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
11080
+ `.withBehaviors(qs("primary",Js),qs("primary-outline",Zs),qs("neutral-outline",Ks),qs("link",Xs));class ad extends P.Anchor{}const rd=ad.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
11081
11081
  ${(0,P.foundationAnchorStyles)(e,a)}
11082
- ${Ks(e,a)}
11083
- `.withBehaviors(...Ks(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class ad extends P.AnchoredRegion{}const rd=ad.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
11082
+ ${ed(e,a)}
11083
+ `.withBehaviors(...ed(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class td extends P.AnchoredRegion{}const od=td.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
11084
11084
  ${(0,P.foundationAnchoredRegionStyles)(e,a)}
11085
- `,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class td extends P.Avatar{}const od=td.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,P.foundationAvatarTemplate)(e,a),styles:(e,a)=>c.css`
11085
+ `,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class id extends P.Avatar{}const nd=id.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,P.foundationAvatarTemplate)(e,a),styles:(e,a)=>c.css`
11086
11086
  ${(0,P.foundationAvatarStyles)(e,a)}
11087
- `,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class id extends P.Badge{}const nd=id.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,P.foundationBadgeTemplate)(e,a),styles:(e,a)=>c.css`
11087
+ `,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class ld extends P.Badge{}const gd=ld.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,P.foundationBadgeTemplate)(e,a),styles:(e,a)=>c.css`
11088
11088
  ${(0,P.foundationBadgeStyles)(e,a)}
11089
11089
  :host {
11090
11090
  --badge-fill-primary: var(--accent-fill-rest);
@@ -11098,7 +11098,7 @@
11098
11098
  padding: calc(${u.designUnit} * 1px) calc(${u.designUnit} * 2px);
11099
11099
  border: none;
11100
11100
  }
11101
- `,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),ld=c.css`
11101
+ `,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),sd=c.css`
11102
11102
  ${P.foundationBannerStyles}
11103
11103
  :host {
11104
11104
  --banner-height: calc(
@@ -11118,9 +11118,9 @@
11118
11118
  font-family: var(--body-font);
11119
11119
  line-height: var(--type-ramp-base-line-height);
11120
11120
  }
11121
- `,gd=P.foundationBannerShadowOptions;class sd extends P.Banner{}const dd=sd.compose({baseName:"banner",shadowOptions:gd,styles:ld,template:P.foundationBannerTemplate});class cd extends P.Breadcrumb{}const pd=cd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,P.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>c.css`
11121
+ `,dd=P.foundationBannerShadowOptions;class cd extends P.Banner{}const pd=cd.compose({baseName:"banner",shadowOptions:dd,styles:sd,template:P.foundationBannerTemplate});class ud extends P.Breadcrumb{}const hd=ud.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,P.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>c.css`
11122
11122
  ${(0,P.foundationBreadcrumbStyles)(e,a)}
11123
- `,shadowOptions:undefined},{}));class ud extends P.BreadcrumbItem{}const hd=ud.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
11123
+ `,shadowOptions:undefined},{}));class md extends P.BreadcrumbItem{}const bd=md.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
11124
11124
  ${(0,P.foundationBreadcrumbItemStyles)(e,a)}
11125
11125
  .listitem {
11126
11126
  color: var(--accent-foreground-rest);
@@ -11156,9 +11156,9 @@
11156
11156
  .control:hover .start {
11157
11157
  background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
11158
11158
  }
11159
- `,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class md extends P.Button{}const bd=md.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:Ks,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class vd extends P.Calendar{}const fd=vd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
11159
+ `,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class vd extends P.Button{}const fd=vd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:ed,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class wd extends P.Calendar{}const yd=wd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
11160
11160
  ${(0,P.foundationCalendarStyles)()}
11161
- `,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class wd extends P.Card{}const yd=wd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
11161
+ `,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class xd extends P.Card{}const kd=xd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
11162
11162
  ${(0,P.foundationCardStyles)(e,a)}
11163
11163
  :host {
11164
11164
  background: var(--neutral-layer-card-container);
@@ -11172,7 +11172,7 @@
11172
11172
  ::slotted(rapid-card) {
11173
11173
  background: var(--neutral-layer-3);
11174
11174
  }
11175
- `,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class xd extends P.Checkbox{}const kd=xd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,P.foundationCheckboxTemplate)(e,a),styles:(e,a)=>c.css`
11175
+ `,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class zd extends P.Checkbox{}const Sd=zd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,P.foundationCheckboxTemplate)(e,a),styles:(e,a)=>c.css`
11176
11176
  ${(0,P.foundationCheckboxStyles)(e,a)}
11177
11177
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11178
11178
  fill: var(--neutral-foreground-rest);
@@ -11187,7 +11187,7 @@
11187
11187
  .label {
11188
11188
  padding-inline-start: calc(var(--design-unit) * 2px);
11189
11189
  }
11190
- `,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig));class zd extends P.Combobox{}const Sd=zd.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,P.foundationComboboxTemplate)(e,a),styles:(e,a)=>c.css`
11190
+ `,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig));class Cd extends P.Combobox{}const $d=Cd.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,P.foundationComboboxTemplate)(e,a),styles:(e,a)=>c.css`
11191
11191
  ${(0,P.foundationComboboxStyles)(e,a)}
11192
11192
  :host {
11193
11193
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11260,7 +11260,7 @@
11260
11260
  ::slotted([role='option']) {
11261
11261
  margin: 0;
11262
11262
  }
11263
- `,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class Cd extends P.ConnectionIndicator{}const $d=Cd.compose({baseName:"connection-indicator",template:P.foundationConnectionIndicatorTemplate,styles:(e,a)=>c.css`
11263
+ `,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class Ad extends P.ConnectionIndicator{}const Fd=Ad.compose({baseName:"connection-indicator",template:P.foundationConnectionIndicatorTemplate,styles:(e,a)=>c.css`
11264
11264
  ${(0,P.foundationConnectionIndicatorStyles)(e,a)}
11265
11265
  :host {
11266
11266
  --light-size: calc(var(--design-unit) * 3px);
@@ -11283,9 +11283,9 @@
11283
11283
  font-size: var(--type-ramp-base-font-size);
11284
11284
  color: var(--neutral-stroke-rest);
11285
11285
  }
11286
- `}),Ad=["baseClass","baseName","shadowOptions","styles","template"],Fd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Ad)=>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:Od,shadowOptions:Td,styles:Dd,template:Rd}=Fd(P.foundationDataGrid),{defaultConfig:Nd,shadowOptions:Ld,styles:Md,template:Id}=Fd(P.foundationDataGridCell),{defaultConfig:jd,shadowOptions:Ed,styles:Pd,template:Bd}=Fd(P.foundationDataGridRow),Gd=c.html`
11286
+ `}),Od=["baseClass","baseName","shadowOptions","styles","template"],Td=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Od)=>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:Dd,shadowOptions:Rd,styles:Nd,template:Ld}=Td(P.foundationDataGrid),{defaultConfig:Md,shadowOptions:Id,styles:jd,template:Ed}=Td(P.foundationDataGridCell),{defaultConfig:Pd,shadowOptions:Bd,styles:Gd,template:Ud}=Td(P.foundationDataGridRow),Hd=c.html`
11287
11287
  ${(0,P.getPrefixedDatePicker)("rapid")}
11288
- `;class Ud extends P.DatePicker{}const Hd=Ud.compose(Object.assign({baseName:"date-picker",template:Gd,styles:()=>c.css`
11288
+ `;class _d extends P.DatePicker{}const Vd=_d.compose(Object.assign({baseName:"date-picker",template:Hd,styles:()=>c.css`
11289
11289
  ${P.foundationDatePickerStyles}
11290
11290
 
11291
11291
  :host {
@@ -11368,7 +11368,7 @@
11368
11368
  .week-days span {
11369
11369
  font-size: var(--type-ramp-minus-2-font-size);
11370
11370
  }
11371
- `,shadowOptions:undefined},{})),_d=c.css`
11371
+ `,shadowOptions:undefined},{})),Yd=c.css`
11372
11372
  ${P.foundationDialogStyles}
11373
11373
  :host {
11374
11374
  --dialog-background: ${u.neutralLayer2};
@@ -11445,7 +11445,7 @@
11445
11445
  .close-icon:active svg g path {
11446
11446
  fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
11447
11447
  }
11448
- `,Vd=P.defaultDialogConfig,Yd=P.foundationDialogTemplate,Qd=P.foundationDialogShadowOptions;class Wd extends P.Dialog{}const qd=Wd.compose(Object.assign({baseName:"dialog",shadowOptions:Qd,styles:_d,template:Yd},Vd));class Jd extends P.Disclosure{}const Zd=Jd.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
11448
+ `,Qd=P.defaultDialogConfig,Wd=P.foundationDialogTemplate,qd=P.foundationDialogShadowOptions;class Jd extends P.Dialog{}const Zd=Jd.compose(Object.assign({baseName:"dialog",shadowOptions:qd,styles:Yd,template:Wd},Qd));class Kd extends P.Disclosure{}const Xd=Kd.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
11449
11449
  ${(0,P.foundationDisclosureStyles)(e,a)}
11450
11450
  :host {
11451
11451
  font-size: var(--type-ramp-base-font-size);
@@ -11462,9 +11462,9 @@
11462
11462
  padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
11463
11463
  text-align: center;
11464
11464
  }
11465
- `,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class Kd extends P.Divider{}const Xd=Kd.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,P.foundationDividerTemplate)(e,a),styles:(e,a)=>c.css`
11465
+ `,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class ec extends P.Divider{}const ac=ec.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,P.foundationDividerTemplate)(e,a),styles:(e,a)=>c.css`
11466
11466
  ${(0,P.foundationDividerStyles)(e,a)}
11467
- `,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class ec extends P.DropdownMenu{}const ac=ec.compose({baseName:"dropdown-menu",styles:(e,a)=>c.css`
11467
+ `,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class rc extends P.DropdownMenu{}const tc=rc.compose({baseName:"dropdown-menu",styles:(e,a)=>c.css`
11468
11468
  ${(0,P.dropdownMenuBaseStyles)("rapid",e,a)}
11469
11469
 
11470
11470
  .actions-menu {
@@ -11479,7 +11479,7 @@
11479
11479
  border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
11480
11480
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
11481
11481
  }
11482
- `,template:P.foundationDropdownMenuTemplate}),{defaultConfig:rc,shadowOptions:tc,styles:oc,template:ic}=Fd(P.foundationErrorBoundary),nc=c.css`
11482
+ `,template:P.foundationDropdownMenuTemplate}),{defaultConfig:oc,shadowOptions:ic,styles:nc,template:lc}=Td(P.foundationErrorBoundary),gc=c.css`
11483
11483
  ${P.foundationFileUploadStyles}
11484
11484
  ::-webkit-scrollbar {
11485
11485
  width: calc(var(--design-unit) * 3px);
@@ -11501,11 +11501,11 @@
11501
11501
  :host::part(upload-file-button) {
11502
11502
  margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
11503
11503
  }
11504
- `,lc=c.html`
11504
+ `,sc=c.html`
11505
11505
  ${(0,P.getPrefixedFileUpload)("rapid")}
11506
- `,gc=P.defaultFileUploadConfig,sc=P.foundationFileUploadShadowOptions;class dc extends P.FileUpload{}const cc=dc.compose(Object.assign({baseName:"file-upload",shadowOptions:sc,styles:nc,template:lc},gc)),pc=c.html`
11506
+ `,dc=P.defaultFileUploadConfig,cc=P.foundationFileUploadShadowOptions;class pc extends P.FileUpload{}const uc=pc.compose(Object.assign({baseName:"file-upload",shadowOptions:cc,styles:gc,template:sc},dc)),hc=c.html`
11507
11507
  ${(0,P.getPrefixedFilterTemplate)("rapid")}
11508
- `;class uc extends P.Filter{}const hc=uc.compose({baseName:"filter",template:pc,styles:(e,a)=>c.css`
11508
+ `;class mc extends P.Filter{}const bc=mc.compose({baseName:"filter",template:hc,styles:(e,a)=>c.css`
11509
11509
  ${P.foundationFilterStyles}
11510
11510
  .filter-wrapper {
11511
11511
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11532,9 +11532,9 @@
11532
11532
  .flex-row rapid-select {
11533
11533
  flex: 1;
11534
11534
  }
11535
- `}),mc=c.html`
11535
+ `}),vc=c.html`
11536
11536
  ${(0,P.filterBarTemplate)("rapid")}
11537
- `;class bc extends P.FilterBar{}const vc=bc.compose({baseName:"filter-bar",template:mc,styles:(e,a)=>c.css`
11537
+ `;class fc extends P.FilterBar{}const wc=fc.compose({baseName:"filter-bar",template:vc,styles:(e,a)=>c.css`
11538
11538
  ${(0,P.foundationFilterBarStyles)(e,a)}
11539
11539
  .toggle,
11540
11540
  .toggle-collapsed {
@@ -11554,7 +11554,7 @@
11554
11554
  .filter-bar {
11555
11555
  background: var(--neutral-layer-3);
11556
11556
  }
11557
- `}),{defaultConfig:fc,shadowOptions:wc,styles:yc,template:xc}=Fd(P.foundationFlexLayout);class kc extends P.Flipper{}const zc=kc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,P.foundationFlipperTemplate)(e,a),styles:(e,a)=>c.css`
11557
+ `}),{defaultConfig:yc,shadowOptions:xc,styles:kc,template:zc}=Td(P.foundationFlexLayout);class Sc extends P.Flipper{}const Cc=Sc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,P.foundationFlipperTemplate)(e,a),styles:(e,a)=>c.css`
11558
11558
  ${(0,P.foundationFlipperStyles)(e,a)}
11559
11559
  :host {
11560
11560
  color: var(--neutral-foreground-rest);
@@ -11574,7 +11574,7 @@
11574
11574
  background: var(--accent-fill-rest);
11575
11575
  color: var(--neutral-foreground-rest);
11576
11576
  }
11577
- `,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),Sc=c.css`
11577
+ `,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),$c=c.css`
11578
11578
  ${P.foundationFlyoutStyles}
11579
11579
  div.flyout {
11580
11580
  background-color: var(--neutral-layer-2);
@@ -11622,9 +11622,9 @@
11622
11622
  background-color: var(--neutral-fill-hover);
11623
11623
  border-radius: calc(var(--stroke-width) * 3px);
11624
11624
  }
11625
- `,Cc=c.html`
11625
+ `,Ac=c.html`
11626
11626
  ${(0,P.getPrefixedFlyout)("rapid")}
11627
- `,$c=P.defaultFlyoutConfig,Ac=P.foundationFlyoutShadowOptions;class Fc extends P.Flyout{}const Oc=Fc.compose(Object.assign({baseName:"flyout",shadowOptions:Ac,styles:Sc,template:Cc},$c)),{defaultConfig:Tc,shadowOptions:Dc,styles:Rc,template:Nc}=Fd(P.foundationGridLayout),{defaultConfig:Lc,shadowOptions:Mc,styles:Ic,template:jc}=Fd(P.foundationGridLayoutItem);class Ec extends P.HorizontalScroll{}const Pc={nextFlipper:c.html`
11627
+ `,Fc=P.defaultFlyoutConfig,Oc=P.foundationFlyoutShadowOptions;class Tc extends P.Flyout{}const Dc=Tc.compose(Object.assign({baseName:"flyout",shadowOptions:Oc,styles:$c,template:Ac},Fc)),{defaultConfig:Rc,shadowOptions:Nc,styles:Lc,template:Mc}=Td(P.foundationGridLayout),{defaultConfig:Ic,shadowOptions:jc,styles:Ec,template:Pc}=Td(P.foundationGridLayoutItem);class Bc extends P.HorizontalScroll{}const Gc={nextFlipper:c.html`
11628
11628
  <rapid-flipper
11629
11629
  @click="${e=>e.scrollToNext()}"
11630
11630
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -11635,11 +11635,11 @@
11635
11635
  direction="previous"
11636
11636
  aria-hidden="${e=>e.flippersHiddenFromAT}"
11637
11637
  ></rapid-flipper>
11638
- `},Bc=Ec.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,P.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>c.css`
11638
+ `},Uc=Bc.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,P.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>c.css`
11639
11639
  ${(0,P.foundationHorizontalScrollStyles)(e,a)}
11640
- `,shadowOptions:P.foundationHorizontalScrollShadowOptions},Pc));class Gc extends P.Icon{}const Uc=P.defaultIconConfig,Hc=P.foundationIconShadowOptions,_c=Gc.compose(Object.assign({baseName:"icon",template:P.foundationIconTemplate,styles:(e,a)=>c.css`
11640
+ `,shadowOptions:P.foundationHorizontalScrollShadowOptions},Gc));class Hc extends P.Icon{}const _c=P.defaultIconConfig,Vc=P.foundationIconShadowOptions,Yc=Hc.compose(Object.assign({baseName:"icon",template:P.foundationIconTemplate,styles:(e,a)=>c.css`
11641
11641
  ${(0,P.foundationIconStyles)(e,a)}
11642
- `,shadowOptions:Hc},Uc));class Vc extends P.Listbox{}const Yc=Vc.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
11642
+ `,shadowOptions:Vc},_c));class Qc extends P.Listbox{}const Wc=Qc.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
11643
11643
  ${(0,P.foundationListboxStyles)(e,a)}
11644
11644
 
11645
11645
  :host {
@@ -11650,7 +11650,7 @@
11650
11650
  ::slotted(*:last-child) {
11651
11651
  border-bottom: none;
11652
11652
  }
11653
- `,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class Qc extends P.ListboxOption{}const Wc=Qc.compose(Object.assign({baseName:"option",template:(e,a)=>(0,P.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>c.css`
11653
+ `,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class qc extends P.ListboxOption{}const Jc=qc.compose(Object.assign({baseName:"option",template:(e,a)=>(0,P.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>c.css`
11654
11654
  ${(0,P.foundationListboxOptionStyles)(e,a)}
11655
11655
  :host {
11656
11656
  border-radius: 0;
@@ -11667,14 +11667,14 @@
11667
11667
  background: var(--neutral-layer-4);
11668
11668
  color: var(--accent-fill-rest);
11669
11669
  }
11670
- `,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class qc extends P.Menu{}const Jc=qc.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,P.foundationMenuTemplate)(e,a),styles:(e,a)=>c.css`
11670
+ `,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class Zc extends P.Menu{}const Kc=Zc.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,P.foundationMenuTemplate)(e,a),styles:(e,a)=>c.css`
11671
11671
  ${(0,P.foundationMenuStyles)(e,a)}
11672
11672
  :host {
11673
11673
  border: calc(var(--focus-stroke-width) * 1px) solid
11674
11674
  color-mix(in srgb, ${u.neutralFillStealthHover}, transparent 15%);
11675
11675
  padding: 0;
11676
11676
  }
11677
- `,shadowOptions:P.foundationMenuShadowOptions},P.defaultMenuConfig)),Zc=P.foundationMenuItemShadowOptions;class Kc extends P.MenuItem{}const Xc=Kc.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,P.foundationMenuItemTemplate)(e,a),styles:(e,a)=>c.css`
11677
+ `,shadowOptions:P.foundationMenuShadowOptions},P.defaultMenuConfig)),Xc=P.foundationMenuItemShadowOptions;class ep extends P.MenuItem{}const ap=ep.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,P.foundationMenuItemTemplate)(e,a),styles:(e,a)=>c.css`
11678
11678
  ${(0,P.foundationMenuItemStyles)(e,a)}
11679
11679
  :host {
11680
11680
  margin: 0;
@@ -11710,9 +11710,9 @@
11710
11710
  background: ${u.neutralFillStealthHover}
11711
11711
  color: ${u.neutralForegroundRest}
11712
11712
  */
11713
- `,shadowOptions:Zc},P.defaultMenuItemConfig)),ep=c.css`
11714
- ${_d}
11715
- `,ap=P.defaultModalConfig,rp=P.foundationModalTemplate,tp=P.foundationModalShadowOptions;class op extends P.Modal{}const ip=op.compose(Object.assign({baseName:"modal",shadowOptions:tp,styles:ep,template:rp},ap)),np=c.css`
11713
+ `,shadowOptions:Xc},P.defaultMenuItemConfig)),rp=c.css`
11714
+ ${Yd}
11715
+ `,tp=P.defaultModalConfig,op=P.foundationModalTemplate,ip=P.foundationModalShadowOptions;class np extends P.Modal{}const lp=np.compose(Object.assign({baseName:"modal",shadowOptions:ip,styles:rp,template:op},tp)),gp=c.css`
11716
11716
  ${P.multiselectStyles}
11717
11717
 
11718
11718
  #display-field {
@@ -11788,9 +11788,9 @@
11788
11788
  rapid-checkbox[disabled] {
11789
11789
  cursor: not-allowed;
11790
11790
  }
11791
- `,lp=c.html`
11791
+ `,sp=c.html`
11792
11792
  ${(0,P.getPrefixedMultiselect)("rapid")}
11793
- `;class gp extends P.Multiselect{}const sp=P.defaultMultiselectConfig,dp=P.foundationMultiselectShadowOptions,cp=gp.compose(Object.assign({baseName:"multiselect",template:lp,styles:np,shadowOptions:dp},sp));class pp extends P.NumberField{}const up=P.defaultNumberFieldConfig,hp=P.foundationNumberFieldTemplate,mp=P.foundationNumberFieldShadowOptions,bp=pp.compose(Object.assign({baseName:"number-field",template:hp,styles:(e,a)=>c.css`
11793
+ `;class dp extends P.Multiselect{}const cp=P.defaultMultiselectConfig,pp=P.foundationMultiselectShadowOptions,up=dp.compose(Object.assign({baseName:"multiselect",template:sp,styles:gp,shadowOptions:pp},cp));class hp extends P.NumberField{}const mp=P.defaultNumberFieldConfig,bp=P.foundationNumberFieldTemplate,vp=P.foundationNumberFieldShadowOptions,fp=hp.compose(Object.assign({baseName:"number-field",template:bp,styles:(e,a)=>c.css`
11794
11794
  :host {
11795
11795
  margin-bottom: calc(var(--design-unit) * 2px);
11796
11796
  }
@@ -11875,11 +11875,11 @@
11875
11875
  .control:focus-visible {
11876
11876
  outline: none;
11877
11877
  }
11878
- `,shadowOptions:mp},up));class vp extends P.Progress{}const fp=vp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,P.foundationProgressTemplate)(e,a),styles:(e,a)=>c.css`
11878
+ `,shadowOptions:vp},mp));class wp extends P.Progress{}const yp=wp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,P.foundationProgressTemplate)(e,a),styles:(e,a)=>c.css`
11879
11879
  ${(0,P.foundationProgressStyles)(e,a)}
11880
- `,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class wp extends P.ProgressRing{}const yp=wp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,P.foundationProgressRingTemplate)(e,a),styles:(e,a)=>c.css`
11880
+ `,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class xp extends P.ProgressRing{}const kp=xp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,P.foundationProgressRingTemplate)(e,a),styles:(e,a)=>c.css`
11881
11881
  ${(0,P.foundationProgressRingStyles)(e,a)}
11882
- `,shadowOptions:P.foundationProgressRingShadowOptions},P.defaultProgressRingConfig));class xp extends P.Radio{}const kp=xp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,P.foundationRadioTemplate)(e,a),styles:(e,a)=>c.css`
11882
+ `,shadowOptions:P.foundationProgressRingShadowOptions},P.defaultProgressRingConfig));class zp extends P.Radio{}const Sp=zp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,P.foundationRadioTemplate)(e,a),styles:(e,a)=>c.css`
11883
11883
  ${(0,P.foundationRadioStyles)(e,a)}
11884
11884
  :host {
11885
11885
  margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
@@ -11911,13 +11911,13 @@
11911
11911
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11912
11912
  background: var(--accent-fill-rest);
11913
11913
  }
11914
- `,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class zp extends P.RadioGroup{}const Sp=zp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,P.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>c.css`
11914
+ `,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class Cp extends P.RadioGroup{}const $p=Cp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,P.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>c.css`
11915
11915
  ${(0,P.foundationRadioGroupStyles)(e,a)}
11916
- `,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig)),Cp=c.css`
11916
+ `,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig)),Ap=c.css`
11917
11917
  ${P.foundationSearchBarStyles}
11918
- `,$p=c.html`
11918
+ `,Fp=c.html`
11919
11919
  ${(0,P.getPrefixedSearchBar)("rapid")}
11920
- `;class Ap extends P.SearchBar{}const Fp=Ap.compose(Object.assign({baseName:"search-bar",template:$p,styles:Cp,shadowOptions:P.foundationSearchBarShadowOptions},P.defaultSearchBarConfig));class Op extends P.SearchBarCombobox{}const Tp=Op.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,P.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>c.css`
11920
+ `;class Op extends P.SearchBar{}const Tp=Op.compose(Object.assign({baseName:"search-bar",template:Fp,styles:Ap,shadowOptions:P.foundationSearchBarShadowOptions},P.defaultSearchBarConfig));class Dp extends P.SearchBarCombobox{}const Rp=Dp.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,P.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>c.css`
11921
11921
  ${(0,P.foundationSearchBarComboboxStyles)(e,a)}
11922
11922
 
11923
11923
  :host {
@@ -11948,7 +11948,7 @@
11948
11948
  :host .listbox ::slotted(*:last-child) {
11949
11949
  border-bottom: none;
11950
11950
  }
11951
- `,shadowOptions:P.foundationSearchBarComboboxShadowOptions},P.defaultSearchBarComboboxConfig));class Dp extends P.SegmentedControl{}const Rp=Dp.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,P.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>c.css`
11951
+ `,shadowOptions:P.foundationSearchBarComboboxShadowOptions},P.defaultSearchBarComboboxConfig));class Np extends P.SegmentedControl{}const Lp=Np.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,P.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>c.css`
11952
11952
  ${(0,P.foundationSegmentedControlStyles)(e,a)}
11953
11953
  :host {
11954
11954
  font-family: var(--body-font);
@@ -11984,7 +11984,7 @@
11984
11984
  border-color: transparent;
11985
11985
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
11986
11986
  }
11987
- `,shadowOptions:undefined},{}));class Np extends P.Radio{}const Lp=Np.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,P.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>c.css`
11987
+ `,shadowOptions:undefined},{}));class Mp extends P.Radio{}const Ip=Mp.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,P.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>c.css`
11988
11988
  ${(0,P.foundationSegmentedItemStyles)(e,a)}
11989
11989
  :host {
11990
11990
  color: var(--neutral-fill-strong-rest);
@@ -11996,7 +11996,7 @@
11996
11996
  :host([aria-checked='true']) {
11997
11997
  color: color-mix(in srgb, white, transparent 10%);
11998
11998
  }
11999
- `,shadowOptions:undefined},{}));class Mp extends P.Select{}const Ip=Mp.compose(Object.assign({baseName:"select",template:(e,a)=>(0,P.foundationSelectTemplate)(e,a),styles:(e,a)=>c.css`
11999
+ `,shadowOptions:undefined},{}));class jp extends P.Select{}const Ep=jp.compose(Object.assign({baseName:"select",template:(e,a)=>(0,P.foundationSelectTemplate)(e,a),styles:(e,a)=>c.css`
12000
12000
  ${(0,P.foundationSelectStyles)(e,a)}
12001
12001
  :host {
12002
12002
  border-radius: calc(var(--control-corner-radius) * 1px);
@@ -12068,14 +12068,14 @@
12068
12068
  ::slotted([role='option']) {
12069
12069
  margin: 0;
12070
12070
  }
12071
- `,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class jp extends P.Skeleton{}const Ep=jp.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,P.foundationSkeletonTemplate)(e,a),styles:(e,a)=>c.css`
12071
+ `,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class Pp extends P.Skeleton{}const Bp=Pp.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,P.foundationSkeletonTemplate)(e,a),styles:(e,a)=>c.css`
12072
12072
  ${(0,P.foundationSkeletonStyles)(e,a)}
12073
12073
  :host {
12074
12074
  --skeleton-fill: var(
12075
12075
  --neutral-fill-stealth-rest
12076
12076
  ); /** value in ux doc rgba(242 242 242 / 0.1) */
12077
12077
  }
12078
- `,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class Pp extends P.Slider{}const Bp=Pp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
12078
+ `,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class Gp extends P.Slider{}const Up=Gp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
12079
12079
  ${(0,P.foundationSliderStyles)(e,a)}
12080
12080
 
12081
12081
  .thumb-cursor {
@@ -12133,7 +12133,7 @@
12133
12133
  background-color: var(--neutral-stroke-rest);
12134
12134
  width: calc((var(--track-width) + 2) * 1px) !important;
12135
12135
  }
12136
- `,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class Gp extends P.SliderLabel{}const Up=Gp.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
12136
+ `,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class Hp extends P.SliderLabel{}const _p=Hp.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
12137
12137
  ${(0,P.foundationSliderLabelStyles)(e,a)}
12138
12138
  .label {
12139
12139
  padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
@@ -12144,7 +12144,7 @@
12144
12144
  text-align: center;
12145
12145
  font-size: var(--type-ramp-minus-1-font-size, 12px);
12146
12146
  }
12147
- `,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),Hp=c.css`
12147
+ `,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),Vp=c.css`
12148
12148
  ${P.foundationSnackbarStyles}
12149
12149
  .snackbar {
12150
12150
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
@@ -12165,9 +12165,9 @@
12165
12165
  .action {
12166
12166
  gap: calc(var(--design-unit) * 2px);
12167
12167
  }
12168
- `,_p=c.html`
12168
+ `,Yp=c.html`
12169
12169
  ${(0,P.getPrefixedSnackbar)("rapid")}
12170
- `,Vp=P.foundationSnackbarShadowOptions;class Yp extends P.Snackbar{}const Qp=Yp.compose({baseName:"snackbar",shadowOptions:Vp,styles:Hp,template:_p}),Wp=c.css`
12170
+ `,Qp=P.foundationSnackbarShadowOptions;class Wp extends P.Snackbar{}const qp=Wp.compose({baseName:"snackbar",shadowOptions:Qp,styles:Vp,template:Yp}),Jp=c.css`
12171
12171
  ${P.foundationStepperStyles}
12172
12172
 
12173
12173
  :host {
@@ -12214,11 +12214,11 @@
12214
12214
  padding: 0 calc(var(--design-unit) * 2px);
12215
12215
  color: var(--neutral-foreground-hint);
12216
12216
  }
12217
- `,qp=c.html`
12217
+ `,Zp=c.html`
12218
12218
  ${(0,P.getPrefixedStepper)("rapid")}
12219
- `;class Jp extends P.Stepper{}const Zp=Jp.compose(Object.assign({baseName:"stepper",template:qp,styles:Wp,shadowOptions:P.foundationStepperShadowOptions},P.defaultStepperConfig)),Kp=c.html`
12219
+ `;class Kp extends P.Stepper{}const Xp=Kp.compose(Object.assign({baseName:"stepper",template:Zp,styles:Jp,shadowOptions:P.foundationStepperShadowOptions},P.defaultStepperConfig)),eu=c.html`
12220
12220
  ${(0,P.getPrefixedStepperTab)("rapid")}
12221
- `;class Xp extends P.StepperTab{}const eu=Xp.compose(Object.assign({baseName:"stepper-tab",template:Kp,styles:(e,a)=>c.css`
12221
+ `;class au extends P.StepperTab{}const ru=au.compose(Object.assign({baseName:"stepper-tab",template:eu,styles:(e,a)=>c.css`
12222
12222
  ${(0,P.foundationStepperTabStyles)(e,a)}
12223
12223
 
12224
12224
  rapid-tree-item {
@@ -12278,7 +12278,7 @@
12278
12278
  :host([error]) .step-title {
12279
12279
  color: var(--error-color);
12280
12280
  }
12281
- `,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class au extends P.StepperTabPanel{}const ru=au.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig)),tu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class ou extends P.Switch{}const iu=ou.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
12281
+ `,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class tu extends P.StepperTabPanel{}const ou=tu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig)),iu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class nu extends P.Switch{}const lu=nu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
12282
12282
  ${(0,P.foundationSwitchStyles)(e,a)}
12283
12283
  :host {
12284
12284
  --primary-gradient-angle: -113.5deg;
@@ -12315,7 +12315,7 @@
12315
12315
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
12316
12316
  background: var(--accent-fill-rest);
12317
12317
  }
12318
- `,shadowOptions:P.foundationSwitchShadowOptions},tu));class nu extends P.Tab{}const lu=nu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
12318
+ `,shadowOptions:P.foundationSwitchShadowOptions},iu));class gu extends P.Tab{}const su=gu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
12319
12319
  ${(0,P.foundationTabStyles)(e,a)}
12320
12320
  :host {
12321
12321
  background-color: ${u.neutralLayer2};
@@ -12328,12 +12328,12 @@
12328
12328
  :host([aria-selected='true']:hover) {
12329
12329
  background-color: ${u.neutralLayer4};
12330
12330
  }
12331
- `,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class gu extends P.TabPanel{}const su=gu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
12331
+ `,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class du extends P.TabPanel{}const cu=du.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
12332
12332
  ${(0,P.foundationTabPanelStyles)(e,a)}
12333
12333
  :host {
12334
12334
  padding: 0;
12335
12335
  }
12336
- `,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class du extends P.Tabs{}const cu=du.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,P.foundationTabsTemplate)(e,a),styles:(e,a)=>c.css`
12336
+ `,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class pu extends P.Tabs{}const uu=pu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,P.foundationTabsTemplate)(e,a),styles:(e,a)=>c.css`
12337
12337
  ${(0,P.foundationTabsStyles)(e,a)}
12338
12338
  :host {
12339
12339
  --base-height-multiplier: 9;
@@ -12408,7 +12408,7 @@
12408
12408
  :host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
12409
12409
  padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
12410
12410
  }
12411
- `,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class pu extends P.TextArea{}const uu=pu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,P.foundationTextAreaTemplate)(e,a),styles:(e,a)=>c.css`
12411
+ `,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class hu extends P.TextArea{}const mu=hu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,P.foundationTextAreaTemplate)(e,a),styles:(e,a)=>c.css`
12412
12412
  ${(0,P.foundationTextAreaStyles)(e,a)}
12413
12413
 
12414
12414
  :host .control {
@@ -12434,7 +12434,7 @@
12434
12434
  font-weight: 700;
12435
12435
  margin: calc(var(--design-unit) * 2px) 0;
12436
12436
  }
12437
- `,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class hu extends P.TextField{}const mu=hu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,P.foundationTextFieldTemplate)(e,a),styles:(e,a)=>c.css`
12437
+ `,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class bu extends P.TextField{}const vu=bu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,P.foundationTextFieldTemplate)(e,a),styles:(e,a)=>c.css`
12438
12438
  ${(0,P.foundationTextFieldStyles)(e,a)}
12439
12439
 
12440
12440
  :host {
@@ -12471,7 +12471,7 @@
12471
12471
  font-weight: 700;
12472
12472
  margin: calc(var(--design-unit) * 2px) 0;
12473
12473
  }
12474
- `,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),bu=c.css`
12474
+ `,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),fu=c.css`
12475
12475
  ${P.foundationToastStyles}
12476
12476
  .toast {
12477
12477
  background-color: ${u.neutralLayer1};
@@ -12526,7 +12526,7 @@
12526
12526
  :host([notify='serious']) .toast::after {
12527
12527
  background-color: var(--error-color);
12528
12528
  }
12529
- `,vu=P.defaultToastConfig,fu=P.foundationToastShadowOptions;class wu extends P.Toast{}const yu=wu.compose(Object.assign({baseName:"toast",shadowOptions:fu,styles:bu,template:P.foundationToastTemplate},vu));class xu extends P.Toolbar{}const ku=xu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,P.foundationToolbarTemplate)(e,a),styles:(e,a)=>c.css`
12529
+ `,wu=P.defaultToastConfig,yu=P.foundationToastShadowOptions;class xu extends P.Toast{}const ku=xu.compose(Object.assign({baseName:"toast",shadowOptions:yu,styles:fu,template:P.foundationToastTemplate},wu));class zu extends P.Toolbar{}const Su=zu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,P.foundationToolbarTemplate)(e,a),styles:(e,a)=>c.css`
12530
12530
  ${(0,P.foundationToolbarStyles)(e,a)}
12531
12531
  :host {
12532
12532
  align-items: center;
@@ -12536,7 +12536,7 @@
12536
12536
  .positioning-region {
12537
12537
  align-items: center;
12538
12538
  }
12539
- `,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class zu extends P.Tooltip{}const Su=zu.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,P.foundationTooltipTemplate)(e,a),styles:(e,a)=>c.css`
12539
+ `,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class Cu extends P.Tooltip{}const $u=Cu.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,P.foundationTooltipTemplate)(e,a),styles:(e,a)=>c.css`
12540
12540
  ${(0,P.foundationTooltipStyles)(e,a)}
12541
12541
 
12542
12542
  :host {
@@ -12559,7 +12559,7 @@
12559
12559
  alpha-anchored-region.bottom.right .tooltip {
12560
12560
  margin-left: 0;
12561
12561
  }
12562
- `,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class Cu extends P.TreeItem{}const $u={expandCollapseGlyph:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph">\n <path d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"/>\n </svg>'},Au=Cu.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,P.foundationTreeItemTemplate)(e,a),styles:(e,a)=>c.css`
12562
+ `,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class Au extends P.TreeItem{}const Fu={expandCollapseGlyph:'\n <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" class="expand-collapse-glyph">\n <path d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"/>\n </svg>'},Ou=Au.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,P.foundationTreeItemTemplate)(e,a),styles:(e,a)=>c.css`
12563
12563
  ${(0,P.foundationTreeItemStyles)(e,a)}
12564
12564
  :host {
12565
12565
  font-size: var(--type-ramp-base-font-size);
@@ -12598,11 +12598,11 @@
12598
12598
  width: calc(var(--design-unit) * 3px);
12599
12599
  height: calc(var(--design-unit) * 3px);
12600
12600
  }
12601
- `,shadowOptions:P.foundationTreeItemShadowOptions},$u));class Fu extends P.TreeView{}const Ou=Fu.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,P.foundationTreeViewTemplate)(e,a),styles:(e,a)=>c.css`
12601
+ `,shadowOptions:P.foundationTreeItemShadowOptions},Fu));class Tu extends P.TreeView{}const Du=Tu.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,P.foundationTreeViewTemplate)(e,a),styles:(e,a)=>c.css`
12602
12602
  ${(0,P.foundationTreeViewStyles)(e,a)}
12603
- `,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),Tu=c.html`
12603
+ `,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),Ru=c.html`
12604
12604
  ${(0,P.getPrefixedUrlInput)("rapid")}
12605
- `;class Du extends P.UrlInput{}const Ru={designSystemProvider:Bs,rapidAccordion:Us,rapidAccordionItem:_s,rapidActionsMenu:Ys,rapidAnchor:ed,rapidAnchoredRegion:rd,rapidAvatar:od,rapidBadge:nd,rapidBanner:dd,rapidBreadcrumb:pd,rapidBreadcrumbItem:hd,rapidButton:bd,rapidCalendar:fd,rapidCard:yd,rapidCheckbox:kd,rapidCombobox:Sd,rapidConnectionIndicator:$d,rapidDataGrid:()=>(0,P.foundationDataGrid)(),rapidDataGridCell:()=>(0,P.foundationDataGridCell)(),rapidDataGridRow:()=>(0,P.foundationDataGridRow)(),rapidDatePicker:Hd,rapidDialog:qd,rapidDisclosure:Zd,rapidDivider:Xd,rapidDropdownMenu:ac,rapidErrorBoundary:()=>(0,P.foundationErrorBoundary)(),rapidFileUpload:cc,rapidFilter:hc,rapidFilterBar:vc,rapidFlexLayout:()=>(0,P.foundationFlexLayout)(),rapidFlipper:zc,rapidFlyout:Oc,rapidGridLayout:()=>(0,P.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,P.foundationGridLayoutItem)(),rapidHorizontalScroll:Bc,rapidIcon:_c,rapidListbox:Yc,rapidListboxOption:Wc,rapidMenu:Jc,rapidMenuItem:Xc,rapidModal:ip,rapidMultiselect:cp,rapidNumberField:bp,rapidProgress:fp,rapidProgressRing:yp,rapidRadio:kp,rapidRadioGroup:Sp,rapidSearchBar:Fp,rapidSearchBarCombobox:Tp,rapidSegmentedControl:Rp,rapidSegmentedItem:Lp,rapidSelect:Ip,rapidSkeleton:Ep,rapidSlider:Bp,rapidSliderLabel:Up,rapidSnackbar:Qp,rapidStepper:Zp,rapidStepperTab:eu,rapidStepperTabPanel:ru,rapidSwitch:iu,rapidTab:lu,rapidTabPanel:su,rapidTabs:cu,rapidTextArea:uu,rapidTextField:mu,rapidToast:yu,rapidToolbar:ku,rapidTooltip:Su,rapidTreeItem:Au,rapidTreeView:Ou,rapidUrlInput:Du.compose(Object.assign({baseName:"url-input",template:Tu,styles:(e,a)=>c.css`
12605
+ `;class Nu extends P.UrlInput{}const Lu={designSystemProvider:Us,rapidAccordion:_s,rapidAccordionItem:Ys,rapidActionsMenu:Ws,rapidAnchor:rd,rapidAnchoredRegion:od,rapidAvatar:nd,rapidBadge:gd,rapidBanner:pd,rapidBreadcrumb:hd,rapidBreadcrumbItem:bd,rapidButton:fd,rapidCalendar:yd,rapidCard:kd,rapidCheckbox:Sd,rapidCombobox:$d,rapidConnectionIndicator:Fd,rapidDataGrid:()=>(0,P.foundationDataGrid)(),rapidDataGridCell:()=>(0,P.foundationDataGridCell)(),rapidDataGridRow:()=>(0,P.foundationDataGridRow)(),rapidDatePicker:Vd,rapidDialog:Zd,rapidDisclosure:Xd,rapidDivider:ac,rapidDropdownMenu:tc,rapidErrorBoundary:()=>(0,P.foundationErrorBoundary)(),rapidFileUpload:uc,rapidFilter:bc,rapidFilterBar:wc,rapidFlexLayout:()=>(0,P.foundationFlexLayout)(),rapidFlipper:Cc,rapidFlyout:Dc,rapidGridLayout:()=>(0,P.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,P.foundationGridLayoutItem)(),rapidHorizontalScroll:Uc,rapidIcon:Yc,rapidListbox:Wc,rapidListboxOption:Jc,rapidMenu:Kc,rapidMenuItem:ap,rapidModal:lp,rapidMultiselect:up,rapidNumberField:fp,rapidProgress:yp,rapidProgressRing:kp,rapidRadio:Sp,rapidRadioGroup:$p,rapidSearchBar:Tp,rapidSearchBarCombobox:Rp,rapidSegmentedControl:Lp,rapidSegmentedItem:Ip,rapidSelect:Ep,rapidSkeleton:Bp,rapidSlider:Up,rapidSliderLabel:_p,rapidSnackbar:qp,rapidStepper:Xp,rapidStepperTab:ru,rapidStepperTabPanel:ou,rapidSwitch:lu,rapidTab:su,rapidTabPanel:cu,rapidTabs:uu,rapidTextArea:mu,rapidTextField:vu,rapidToast:ku,rapidToolbar:Su,rapidTooltip:$u,rapidTreeItem:Ou,rapidTreeView:Du,rapidUrlInput:Nu.compose(Object.assign({baseName:"url-input",template:Ru,styles:(e,a)=>c.css`
12606
12606
  ${(0,P.foundationUrlInputStyles)(e,a)}
12607
12607
  a {
12608
12608
  color: var(--accent-fill-rest);
@@ -12618,7 +12618,7 @@
12618
12618
  font-size: var(--type-ramp-base-font-size);
12619
12619
  top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
12620
12620
  }
12621
- `,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Nu extends Ri{}const Lu=Nu.compose({baseName:"date-editor",styles:Ni,template:Li("rapid")});class Mu extends Ei{}const Iu=Mu.compose({baseName:"multiselect-editor",styles:Pi,template:Bi("rapid")});class ju extends _i{}const Eu=ju.compose({baseName:"select-editor",styles:Vi,template:Yi("rapid")});class Pu extends Ji{}const Bu=Pu.compose({baseName:"number-editor",styles:Zi,template:Ki("rapid")});class Gu extends rn{}const Uu=Gu.compose({baseName:"string-editor",styles:tn,template:on("rapid")});class Hu extends sn{}const _u=Hu.compose({baseName:"editable-renderer",styles:dn,template:cn("rapid")});class Vu extends vn{}const Yu=Vu.compose({baseName:"grid-pro-action-renderer",styles:c.css`
12621
+ `,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Mu extends Ri{}const Iu=Mu.compose({baseName:"date-editor",styles:Ni,template:Li("rapid")});class ju extends Ei{}const Eu=ju.compose({baseName:"multiselect-editor",styles:Pi,template:Bi("rapid")});class Pu extends _i{}const Bu=Pu.compose({baseName:"select-editor",styles:Vi,template:Yi("rapid")});class Gu extends Ji{}const Uu=Gu.compose({baseName:"number-editor",styles:Zi,template:Ki("rapid")});class Hu extends rn{}const _u=Hu.compose({baseName:"string-editor",styles:tn,template:on("rapid")});class Vu extends sn{}const Yu=Vu.compose({baseName:"editable-renderer",styles:dn,template:cn("rapid")});class Qu extends vn{}const Wu=Qu.compose({baseName:"grid-pro-action-renderer",styles:c.css`
12622
12622
  ${wn}
12623
12623
  `,template:c.html`
12624
12624
  <div class="action-container" part="action-container">
@@ -12636,12 +12636,12 @@
12636
12636
  `:e.params.actionName}
12637
12637
  </rapid-button>
12638
12638
  </div>
12639
- `});class Qu extends zn{}const Wu=Qu.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
12639
+ `});class qu extends zn{}const Ju=qu.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
12640
12640
  <rapid-actions-menu
12641
12641
  name="${e=>e.params.headerName}"
12642
12642
  :definition=${e=>e.params}
12643
12643
  ></rapid-actions-menu>
12644
- `});class qu extends An{}const Ju=qu.compose({baseName:"boolean-renderer",styles:Fn,template:On("rapid")});const Zu=class extends Pn{}.compose({baseName:"grid-text-renderer",styles:Bn,template:Gn("rapid")});const Ku=class extends _n{}.compose({baseName:"select-renderer",styles:Vn,template:Yn("rapid")}),Xu={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"))},eh={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:ah}=p.DesignToken,rh={backgroundColor:ah("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.backgroundSwatch:Xu.backgroundSwatch)),borderColor:ah("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.borderSwatch:Xu.borderSwatch)),foregroundColor:ah("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.foregroundSwatch:Xu.foregroundSwatch)),headerForegroundColor:ah("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.headerForegroundSwatch:Xu.headerForegroundSwatch)),rowHoverColor:ah("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?eh.rowHoverSwatch:Xu.rowHoverSwatch))},th=c.css`
12644
+ `});class Zu extends An{}const Ku=Zu.compose({baseName:"boolean-renderer",styles:Fn,template:On("rapid")});const Xu=class extends Pn{}.compose({baseName:"grid-text-renderer",styles:Bn,template:Gn("rapid")});const eh=class extends _n{}.compose({baseName:"select-renderer",styles:Vn,template:Yn("rapid")}),ah={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"))},rh={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:th}=p.DesignToken,oh={backgroundColor:th("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?rh.backgroundSwatch:ah.backgroundSwatch)),borderColor:th("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?rh.borderSwatch:ah.borderSwatch)),foregroundColor:th("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?rh.foregroundSwatch:ah.foregroundSwatch)),headerForegroundColor:th("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?rh.headerForegroundSwatch:ah.headerForegroundSwatch)),rowHoverColor:th("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?rh.rowHoverSwatch:ah.rowHoverSwatch))},ih=c.css`
12645
12645
  .ag-theme-genesis-rapid,
12646
12646
  .ag-theme-genesis-rapid-dark {
12647
12647
  --ag-alpine-active-color: #2196f3;
@@ -13101,76 +13101,76 @@
13101
13101
  .ag-theme-genesis-rapid-dark {
13102
13102
  color-scheme: dark;
13103
13103
  }
13104
- `,oh={[fi.backgroundColor]:rh.backgroundColor,[fi.foregroundColor]:rh.foregroundColor,[fi.oddRowBackgroundColor]:rh.backgroundColor,[fi.headerBackgroundColor]:rh.backgroundColor,[fi.headerForegroundColor]:rh.headerForegroundColor,[fi.selectedRowBackgroundColor]:rh.rowHoverColor,[fi.rowHoverColor]:rh.rowHoverColor,[fi.borderColor]:rh.borderColor,[fi.rowBorderColor]:rh.rowHoverColor,[fi.modalOverlayBackgroundColor]:rh.backgroundColor,[fi.inputFocusBoxShadow]:rh.headerForegroundColor,[fi.inputFocusBorderColor]:rh.headerForegroundColor,[fi.headerColumnResizeHandleColor]:rh.headerForegroundColor},ih="ag-theme-genesis-rapid",nh=c.css`
13105
- ${th}
13106
- ${$i(ih,oh)}
13104
+ `,nh={[fi.backgroundColor]:oh.backgroundColor,[fi.foregroundColor]:oh.foregroundColor,[fi.oddRowBackgroundColor]:oh.backgroundColor,[fi.headerBackgroundColor]:oh.backgroundColor,[fi.headerForegroundColor]:oh.headerForegroundColor,[fi.selectedRowBackgroundColor]:oh.rowHoverColor,[fi.rowHoverColor]:oh.rowHoverColor,[fi.borderColor]:oh.borderColor,[fi.rowBorderColor]:oh.rowHoverColor,[fi.modalOverlayBackgroundColor]:oh.backgroundColor,[fi.inputFocusBoxShadow]:oh.headerForegroundColor,[fi.inputFocusBorderColor]:oh.headerForegroundColor,[fi.headerColumnResizeHandleColor]:oh.headerForegroundColor},lh="ag-theme-genesis-rapid",gh=c.css`
13105
+ ${ih}
13106
+ ${$i(lh,nh)}
13107
13107
 
13108
- .${ih} {
13108
+ .${lh} {
13109
13109
  ${Ee()}
13110
13110
  font-family: var(--body-font);
13111
13111
  }
13112
13112
 
13113
- .${ih} .ag-body .ag-body-viewport,
13114
- .${ih} .ag-header,
13115
- .${ih} .ag-row {
13113
+ .${lh} .ag-body .ag-body-viewport,
13114
+ .${lh} .ag-header,
13115
+ .${lh} .ag-row {
13116
13116
  background-color: var(--neutral-layer-3);
13117
13117
  }
13118
13118
 
13119
- .${ih} .ag-header {
13119
+ .${lh} .ag-header {
13120
13120
  border-bottom-color: var(--rapid-ag-border-color);
13121
13121
  font-weight: bold;
13122
13122
  font-size: var(--type-ramp-base-font-size);
13123
13123
  }
13124
13124
 
13125
- .${ih} .ag-root-wrapper {
13125
+ .${lh} .ag-root-wrapper {
13126
13126
  border-radius: calc(var(--ag-border-radius) * 1px);
13127
13127
  border: 1px solid var(--rapid-ag-border-color);
13128
13128
  }
13129
13129
 
13130
- .${ih} .ag-cell {
13130
+ .${lh} .ag-cell {
13131
13131
  font-size: var(--type-ramp-minus-1-font-size);
13132
13132
  }
13133
- `,lh="ag-theme-genesis-rapid-dark",gh=c.css`
13134
- ${th}
13135
- ${$i(ih,oh)}
13133
+ `,sh="ag-theme-genesis-rapid-dark",dh=c.css`
13134
+ ${ih}
13135
+ ${$i(lh,nh)}
13136
13136
 
13137
- .${lh} {
13137
+ .${sh} {
13138
13138
  ${Ee()}
13139
13139
  font-family: var(--body-font);
13140
13140
  }
13141
13141
 
13142
- .${lh} .ag-body .ag-body-viewport,
13143
- .${lh} .ag-header,
13144
- .${lh} .ag-row {
13142
+ .${sh} .ag-body .ag-body-viewport,
13143
+ .${sh} .ag-header,
13144
+ .${sh} .ag-row {
13145
13145
  background-color: var(--neutral-layer-3);
13146
13146
  }
13147
13147
 
13148
- .${lh} .ag-header {
13148
+ .${sh} .ag-header {
13149
13149
  border-bottom-color: var(--rapid-ag-border-color);
13150
13150
  font-weight: bold;
13151
13151
  font-size: var(--type-ramp-base-font-size);
13152
13152
  }
13153
13153
 
13154
- .${lh} .ag-root-wrapper {
13154
+ .${sh} .ag-root-wrapper {
13155
13155
  border-radius: calc(var(--ag-border-radius) * 1px);
13156
13156
  border: 1px solid var(--rapid-ag-border-color);
13157
13157
  }
13158
13158
 
13159
- .${lh} .ag-cell {
13159
+ .${sh} .ag-cell {
13160
13160
  font-size: var(--type-ramp-minus-1-font-size);
13161
13161
  }
13162
- `,sh=c.css`
13162
+ `,ch=c.css`
13163
13163
  /* All the AG themes */
13164
- ${Hl}
13164
+ ${Vl}
13165
13165
 
13166
13166
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
13167
- ${nh}
13168
13167
  ${gh}
13168
+ ${dh}
13169
13169
 
13170
13170
  .error {
13171
13171
  border-color: ${ve.shortPink} !important;
13172
13172
  }
13173
- `,dh=_l,ch="ag-theme-genesis-rapid-dark";const ph=Jl,uh={rapidAgEditableRenderer:_u,rapidAgActionRenderer:Yu,rapidAgActionsMenuRenderer:Wu,rapidAgBooleanRenderer:Ju,rapidAgTextRenderer:Zu,rapidAgSelectRenderer:Ku,rapidAgDateEditor:Lu,rapidAgMultiselectEditor:Iu,rapidAgSelectEditor:Eu,rapidAgNumberEditor:Bu,rapidAgStringEditor:Uu,rapidGridPro:class extends Wl{constructor(){super(...arguments),this.theme=ch}themeChanged(e,a){console.log("teste"),(e||a===ch)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:Vu,[Ai.actionsMenu]:Qu,[Ai.boolean]:qu,[Ai.editable]:Hu,[Ai.selectEditor]:ju,[Ai.numberEditor]:Pu,[Ai.multiselectEditor]:Mu,[Ai.dateEditor]:Nu,[Ai.stringEditor]:Gu};(this.theme===ih||this.theme===lh)&&(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:dh,styles:sh,shadowOptions:undefined},ph)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var hh,mh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(hh||(hh={}));const bh={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'},vh=bh["Segoe UI"],fh=c.css`
13173
+ `,ph=Yl,uh="ag-theme-genesis-rapid-dark";const hh=Kl,mh={rapidAgEditableRenderer:Yu,rapidAgActionRenderer:Wu,rapidAgActionsMenuRenderer:Ju,rapidAgBooleanRenderer:Ku,rapidAgTextRenderer:Xu,rapidAgSelectRenderer:eh,rapidAgDateEditor:Iu,rapidAgMultiselectEditor:Eu,rapidAgSelectEditor:Bu,rapidAgNumberEditor:Uu,rapidAgStringEditor:_u,rapidGridPro:class extends Jl{constructor(){super(...arguments),this.theme=uh}themeChanged(e,a){console.log("teste"),(e||a===uh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:Qu,[Ai.actionsMenu]:qu,[Ai.boolean]:Zu,[Ai.editable]:Vu,[Ai.selectEditor]:Pu,[Ai.numberEditor]:Gu,[Ai.multiselectEditor]:ju,[Ai.dateEditor]:Mu,[Ai.stringEditor]:Hu};(this.theme===lh||this.theme===sh)&&(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:ph,styles:ch,shadowOptions:undefined},hh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var bh,vh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(bh||(bh={}));const fh={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'},wh=fh["Segoe UI"],yh=c.css`
13174
13174
  ${(0,p.display)("block")} :host {
13175
13175
  width: 100%;
13176
13176
  display: inline-flex;
@@ -13302,7 +13302,7 @@
13302
13302
  alpha-button {
13303
13303
  margin: 0;
13304
13304
  }
13305
- `,wh=c.html`
13305
+ `,xh=c.html`
13306
13306
  <template>
13307
13307
  <div class="configuration">
13308
13308
  ${(0,c.when)((e=>!e.customDesignMode),c.html`
@@ -13525,7 +13525,7 @@
13525
13525
  <slot></slot>
13526
13526
  </div>
13527
13527
  </template>
13528
- `,yh=({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(bh).find((a=>bh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),xh=yh(Ue),kh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},zh={accent:"primary",neutral:"secondary",font:"white"},Sh=yh(l.designTokens),Ch=yh(Es),$h={zero:{prefix:"zero",tokenDefaults:xh,buttons:kh,badge:zh},alpha:{prefix:"alpha",tokenDefaults:Sh,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:kh,badge:zh}};let Ah=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=xh.luminance===u.StandardLuminance.DarkMode,this.luminance=xh.luminance,this.neutralColor=xh.neutralColor,this.accentColor=xh.accentColor,this.bodyFont=xh.bodyFont,this.density=xh.density,this.borderRadius=xh.borderRadius,this.strokeWidth=xh.strokeWidth,this.designUnit=xh.designUnit,this.baseFontSize=xh.baseFontSize,this.baseLineHeight=xh.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=yh(a);$h.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,mh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs($h[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,mh.__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:$h[this.ds].prefix,buttonAppearanceAccent:$h[this.ds].buttons.accent,buttonAppearanceNeutral:$h[this.ds].buttons.neutral,buttonAppearanceOutline:$h[this.ds].buttons.outline,buttonAppearanceText:$h[this.ds].buttons.text,badgeAppearanceAccent:$h[this.ds].badge.accent,badgeAppearanceNeutral:$h[this.ds].badge.neutral,badgeText:$h[this.ds].badge.font};this.$emit(hh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs($h[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:bh[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(hh.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(hh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,mh.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Ah.prototype,"customDesignMode",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"designSystems",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"ds",void 0),(0,mh.__decorate)([c.attr],Ah.prototype,"darkMode",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"neutralColor",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"accentColor",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"bodyFont",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"density",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"borderRadius",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"strokeWidth",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"designUnit",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"baseFontSize",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"baseLineHeight",void 0),(0,mh.__decorate)([c.observable],Ah.prototype,"preserveOptions",void 0),Ah=(0,mh.__decorate)([(0,c.customElement)({name:"design-system-editor",template:wh,styles:fh})],Ah);const Fh=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},Oh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Th=(e,a)=>{const r=Fh(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=Fh(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,Oh(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,Oh(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,Oh(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},Dh=c.css`
13528
+ `,kh=({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(fh).find((a=>fh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),zh=kh(Ue),Sh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Ch={accent:"primary",neutral:"secondary",font:"white"},$h=kh(l.designTokens),Ah=kh(Bs),Fh={zero:{prefix:"zero",tokenDefaults:zh,buttons:Sh,badge:Ch},alpha:{prefix:"alpha",tokenDefaults:$h,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Ah,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Sh,badge:Ch}};let Oh=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=zh.luminance===u.StandardLuminance.DarkMode,this.luminance=zh.luminance,this.neutralColor=zh.neutralColor,this.accentColor=zh.accentColor,this.bodyFont=zh.bodyFont,this.density=zh.density,this.borderRadius=zh.borderRadius,this.strokeWidth=zh.strokeWidth,this.designUnit=zh.designUnit,this.baseFontSize=zh.baseFontSize,this.baseLineHeight=zh.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=kh(a);Fh.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,vh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Fh[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,vh.__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:Fh[this.ds].prefix,buttonAppearanceAccent:Fh[this.ds].buttons.accent,buttonAppearanceNeutral:Fh[this.ds].buttons.neutral,buttonAppearanceOutline:Fh[this.ds].buttons.outline,buttonAppearanceText:Fh[this.ds].buttons.text,badgeAppearanceAccent:Fh[this.ds].badge.accent,badgeAppearanceNeutral:Fh[this.ds].badge.neutral,badgeText:Fh[this.ds].badge.font};this.$emit(bh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Fh[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:fh[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(bh.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(bh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,vh.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Oh.prototype,"customDesignMode",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"designSystems",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"ds",void 0),(0,vh.__decorate)([c.attr],Oh.prototype,"darkMode",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"neutralColor",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"accentColor",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"bodyFont",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"density",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"borderRadius",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"strokeWidth",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"designUnit",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"baseFontSize",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"baseLineHeight",void 0),(0,vh.__decorate)([c.observable],Oh.prototype,"preserveOptions",void 0),Oh=(0,vh.__decorate)([(0,c.customElement)({name:"design-system-editor",template:xh,styles:yh})],Oh);const Th=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},Dh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Rh=(e,a)=>{const r=Th(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=Th(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,Dh(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,Dh(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,Dh(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,Dh(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,Dh(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,Dh(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,Dh(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,Dh(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,Dh(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,Dh(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,Dh(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,Dh(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,Dh(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,Dh(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,Dh(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,Dh(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},Nh=c.css`
13529
13529
  :host {
13530
13530
  --badge-fill-primary: var(--accent-fill-rest);
13531
13531
  --badge-fill-neutral: var(--neutral-fill-rest);
@@ -13621,7 +13621,7 @@
13621
13621
  display: flex;
13622
13622
  flex-direction: column;
13623
13623
  }
13624
- `,Rh=c.html`
13624
+ `,Lh=c.html`
13625
13625
  ${e=>(e=>c.html`
13626
13626
  <template>
13627
13627
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -14033,7 +14033,7 @@
14033
14033
  </${e}-design-system-provider>
14034
14034
  </template>
14035
14035
  `)(e.prefix)}
14036
- `;let Nh=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(hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(vh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Th(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,mh.__decorate)([c.observable],Nh.prototype,"modal",void 0),(0,mh.__decorate)([c.attr],Nh.prototype,"prefix",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"buttonAppearanceAccent",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"buttonAppearanceNeutral",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"buttonAppearanceOutline",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"buttonAppearanceText",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"badgeAppearanceAccent",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"badgeAppearanceNeutral",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"badgeText",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"cards",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"countries",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"menuActions",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"menuDefinition",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"dropDownMenuItems",void 0),(0,mh.__decorate)([c.observable],Nh.prototype,"provider",void 0),Nh=(0,mh.__decorate)([(0,c.customElement)({name:"preview-components",template:Rh,styles:Dh})],Nh);const Lh=c.css`
14036
+ `;let Mh=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(bh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(bh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(wh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Rh(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,vh.__decorate)([c.observable],Mh.prototype,"modal",void 0),(0,vh.__decorate)([c.attr],Mh.prototype,"prefix",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"buttonAppearanceAccent",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"buttonAppearanceNeutral",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"buttonAppearanceOutline",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"buttonAppearanceText",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"badgeAppearanceAccent",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"badgeAppearanceNeutral",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"badgeText",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"cards",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"countries",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"menuActions",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"menuDefinition",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"dropDownMenuItems",void 0),(0,vh.__decorate)([c.observable],Mh.prototype,"provider",void 0),Mh=(0,vh.__decorate)([(0,c.customElement)({name:"preview-components",template:Lh,styles:Nh})],Mh);const Ih=c.css`
14037
14037
  .export {
14038
14038
  display: flex;
14039
14039
  justify-content: center;
@@ -14044,7 +14044,7 @@
14044
14044
  display: flex;
14045
14045
  justify-content: space-between;
14046
14046
  }
14047
- `,Mh=c.html`
14047
+ `,jh=c.html`
14048
14048
  <template>
14049
14049
  <div class="export">
14050
14050
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -14065,7 +14065,7 @@
14065
14065
  </alpha-modal>
14066
14066
  </div>
14067
14067
  </template>
14068
- `;let Ih=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(hh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(hh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,mh.__decorate)([c.attr],Ih.prototype,"value",void 0),(0,mh.__decorate)([c.attr],Ih.prototype,"tokensPath",void 0),Ih=(0,mh.__decorate)([(0,c.customElement)({name:"design-system-export",template:Mh,styles:Lh})],Ih);const jh=c.css`
14068
+ `;let Eh=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(bh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(bh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,vh.__decorate)([c.attr],Eh.prototype,"value",void 0),(0,vh.__decorate)([c.attr],Eh.prototype,"tokensPath",void 0),Eh=(0,vh.__decorate)([(0,c.customElement)({name:"design-system-export",template:jh,styles:Ih})],Eh);const Ph=c.css`
14069
14069
  .colors {
14070
14070
  display: flex;
14071
14071
  flex-wrap: wrap;
@@ -14078,23 +14078,23 @@
14078
14078
  flex-grow: 1;
14079
14079
  height: 20px;
14080
14080
  }
14081
- `,Eh=c.html`
14081
+ `,Bh=c.html`
14082
14082
  <ul class="colors">
14083
14083
  ${(0,c.repeat)((e=>e.swatches),c.html`
14084
14084
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
14085
14085
  `)}
14086
14086
  </ul>
14087
- `;let Ph=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=Fh(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,mh.__decorate)([c.observable],Ph.prototype,"swatches",void 0),(0,mh.__decorate)([c.attr],Ph.prototype,"type",void 0),Ph=(0,mh.__decorate)([(0,c.customElement)({name:"color-palette",styles:jh,template:Eh})],Ph);const Bh=c.css`
14087
+ `;let Gh=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=Th(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(bh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,vh.__decorate)([c.observable],Gh.prototype,"swatches",void 0),(0,vh.__decorate)([c.attr],Gh.prototype,"type",void 0),Gh=(0,vh.__decorate)([(0,c.customElement)({name:"color-palette",styles:Ph,template:Bh})],Gh);const Uh=c.css`
14088
14088
  .preview {
14089
14089
  width: 40px;
14090
14090
  height: 40px;
14091
14091
  }
14092
- `,Gh=c.html`
14092
+ `,Hh=c.html`
14093
14093
  <div
14094
14094
  class="preview"
14095
14095
  style="background-color: ${e=>u[e.tokenName].createCSS()}"
14096
14096
  ></div>
14097
- `;let Uh=class extends c.FASTElement{};(0,mh.__decorate)([c.attr],Uh.prototype,"tokenName",void 0),Uh=(0,mh.__decorate)([(0,c.customElement)({name:"color-token",styles:Bh,template:Gh})],Uh);const Hh=c.css`
14097
+ `;let _h=class extends c.FASTElement{};(0,vh.__decorate)([c.attr],_h.prototype,"tokenName",void 0),_h=(0,vh.__decorate)([(0,c.customElement)({name:"color-token",styles:Uh,template:Hh})],_h);const Vh=c.css`
14098
14098
  .container {
14099
14099
  display: flex;
14100
14100
  width: 100%;
@@ -14142,7 +14142,7 @@
14142
14142
  .container > div:not(:last-child) {
14143
14143
  border-right: 1px solid #fafafa;
14144
14144
  }
14145
- `,_h=[{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"}]}]}],Vh=c.html`
14145
+ `,Yh=[{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"}]}]}],Qh=c.html`
14146
14146
  <div class="row">
14147
14147
  <div
14148
14148
  class="preview"
@@ -14154,19 +14154,19 @@
14154
14154
  ${(e,a)=>u[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
14155
14155
  </div>
14156
14156
  </div>
14157
- `,Yh=c.html`
14157
+ `,Wh=c.html`
14158
14158
  <div class="container" ${(0,c.ref)("provider")}>
14159
- ${(0,c.repeat)((()=>_h),c.html`
14159
+ ${(0,c.repeat)((()=>Yh),c.html`
14160
14160
  <div class="column">
14161
14161
  <h3 class="header-title">${e=>e.title}</h3>
14162
14162
  ${(0,c.repeat)((e=>e.subcategories),c.html`
14163
14163
  <h4>${e=>e.title}</h4>
14164
- ${(0,c.repeat)((e=>e.tokens),Vh)}
14164
+ ${(0,c.repeat)((e=>e.tokens),Qh)}
14165
14165
  `)}
14166
14166
  </div>
14167
14167
  `)}
14168
14168
  </div>
14169
- `;let Qh=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(hh.STYLES_CHANGED,(e=>{const a=e.detail;Th(a,this.provider)}))}};(0,mh.__decorate)([c.observable],Qh.prototype,"provider",void 0),Qh=(0,mh.__decorate)([(0,c.customElement)({name:"color-tokens",template:Yh,styles:Hh})],Qh);const Wh=c.css`
14169
+ `;let qh=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(bh.STYLES_CHANGED,(e=>{const a=e.detail;Rh(a,this.provider)}))}};(0,vh.__decorate)([c.observable],qh.prototype,"provider",void 0),qh=(0,vh.__decorate)([(0,c.customElement)({name:"color-tokens",template:Wh,styles:Vh})],qh);const Jh=c.css`
14170
14170
  table {
14171
14171
  background: var(--neutral-fill-rest);
14172
14172
  color: var(--neutral-foreground-rest);
@@ -14175,7 +14175,7 @@
14175
14175
  th {
14176
14176
  text-align: left;
14177
14177
  }
14178
- `,qh=c.html`
14178
+ `,Zh=c.html`
14179
14179
  <table ${(0,c.ref)("provider")} style="font-family: ${()=>u.bodyFont.createCSS()}">
14180
14180
  <colgroup>
14181
14181
  <col style="width: 15%;" />
@@ -14403,7 +14403,7 @@
14403
14403
  </tr>
14404
14404
  </tbody>
14405
14405
  </table>
14406
- `;let Jh=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(hh.STYLES_CHANGED,(e=>{const a=e.detail;Th(a,this.provider)}))}};(0,mh.__decorate)([c.observable],Jh.prototype,"provider",void 0),Jh=(0,mh.__decorate)([(0,c.customElement)({name:"typography-tokens",template:qh,styles:Wh})],Jh);const Zh=c.css`
14406
+ `;let Kh=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(bh.STYLES_CHANGED,(e=>{const a=e.detail;Rh(a,this.provider)}))}};(0,vh.__decorate)([c.observable],Kh.prototype,"provider",void 0),Kh=(0,vh.__decorate)([(0,c.customElement)({name:"typography-tokens",template:Zh,styles:Jh})],Kh);const Xh=c.css`
14407
14407
  :host {
14408
14408
  background: var(--fill-color);
14409
14409
  color: var(--neutral-foreground-rest);
@@ -14419,7 +14419,7 @@
14419
14419
  margin-top: 24px;
14420
14420
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
14421
14421
  }
14422
- `,Kh=c.html`
14422
+ `,em=c.html`
14423
14423
  <template>
14424
14424
  <alpha-tabs>
14425
14425
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -14448,7 +14448,7 @@
14448
14448
  </alpha-tab-panel>
14449
14449
  </alpha-tabs>
14450
14450
  </template>
14451
- `;let Xh=class extends c.FASTElement{};Xh=(0,mh.__decorate)([(0,c.customElement)({name:"design-system-preview",template:Kh,styles:Zh})],Xh);const em={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"}]}]}}]},am={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"]}}},rm={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"}]}}}]},tm={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"]}}}},om=c.css`
14451
+ `;let am=class extends c.FASTElement{};am=(0,vh.__decorate)([(0,c.customElement)({name:"design-system-preview",template:em,styles:Xh})],am);const rm={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"}]}]}}]},tm={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"]}}},om={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"}]}}}]},im={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"]}}}},nm=c.css`
14452
14452
  :host {
14453
14453
  background: var(--fill-color);
14454
14454
  color: var(--neutral-foreground-rest);
@@ -14479,7 +14479,7 @@
14479
14479
  zero-design-system-provider {
14480
14480
  display: inline;
14481
14481
  }
14482
- `,im=c.html`
14482
+ `,lm=c.html`
14483
14483
  ${e=>(e=>c.html`
14484
14484
  <template>
14485
14485
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -14503,7 +14503,7 @@
14503
14503
  </${e}-design-system-provider>
14504
14504
  </template>
14505
14505
  `)(e.prefix)}
14506
- `;let nm=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=am,this.uischema=em,this.jsonSchemaArray=tm,this.uiSchemaArray=rm,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(hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(vh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Th(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,mh.__decorate)([c.observable],nm.prototype,"jsonSchema",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"uischema",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"jsonSchemaArray",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"uiSchemaArray",void 0),(0,mh.__decorate)([c.attr],nm.prototype,"prefix",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"provider",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"editedEntity",void 0),(0,mh.__decorate)([c.observable],nm.prototype,"editedEntityArray",void 0),nm=(0,mh.__decorate)([(0,c.customElement)({name:"preview-form",template:im,styles:om})],nm);const lm=c.css`
14506
+ `;let gm=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=tm,this.uischema=rm,this.jsonSchemaArray=im,this.uiSchemaArray=om,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(bh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(bh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(wh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Rh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,vh.__decorate)([c.observable],gm.prototype,"jsonSchema",void 0),(0,vh.__decorate)([c.observable],gm.prototype,"uischema",void 0),(0,vh.__decorate)([c.observable],gm.prototype,"jsonSchemaArray",void 0),(0,vh.__decorate)([c.observable],gm.prototype,"uiSchemaArray",void 0),(0,vh.__decorate)([c.attr],gm.prototype,"prefix",void 0),(0,vh.__decorate)([c.observable],gm.prototype,"provider",void 0),(0,vh.__decorate)([c.observable],gm.prototype,"editedEntity",void 0),(0,vh.__decorate)([c.observable],gm.prototype,"editedEntityArray",void 0),gm=(0,vh.__decorate)([(0,c.customElement)({name:"preview-form",template:lm,styles:nm})],gm);const sm=c.css`
14507
14507
  :host {
14508
14508
  background: var(--fill-color);
14509
14509
  color: var(--neutral-foreground-rest);
@@ -14518,7 +14518,7 @@
14518
14518
  .grid-height {
14519
14519
  height: 450px;
14520
14520
  }
14521
- `,gm=c.html`
14521
+ `,dm=c.html`
14522
14522
  ${e=>(e=>c.html`
14523
14523
  <template>
14524
14524
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -14528,5 +14528,5 @@
14528
14528
  </${e}-design-system-provider>
14529
14529
  </template>
14530
14530
  `)(e.prefix)}
14531
- `;let sm=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(hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(vh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Th(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,mh.__decorate)([c.observable],sm.prototype,"grid",void 0),(0,mh.__decorate)([c.attr],sm.prototype,"prefix",void 0),(0,mh.__decorate)([c.observable],sm.prototype,"provider",void 0),(0,mh.__decorate)([c.observable],sm.prototype,"rowData",void 0),(0,mh.__decorate)([c.observable],sm.prototype,"columnDefs",void 0),(0,mh.__decorate)([c.observable],sm.prototype,"gridOptions",void 0),sm=(0,mh.__decorate)([(0,c.customElement)({name:"preview-grid",template:gm,styles:lm})],sm),((e,a="zero")=>{e&&(0,P.provideTokens)(t,o,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(vi,pg),(0,l.provideDesignSystem)().register(l.baseComponents,ug),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(Ru,uh)}}]);
14532
- //# sourceMappingURL=122.046e912a6212ae716d5ac01cf77e8ecf.js.map
14531
+ `;let cm=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(bh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(bh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(wh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Rh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,vh.__decorate)([c.observable],cm.prototype,"grid",void 0),(0,vh.__decorate)([c.attr],cm.prototype,"prefix",void 0),(0,vh.__decorate)([c.observable],cm.prototype,"provider",void 0),(0,vh.__decorate)([c.observable],cm.prototype,"rowData",void 0),(0,vh.__decorate)([c.observable],cm.prototype,"columnDefs",void 0),(0,vh.__decorate)([c.observable],cm.prototype,"gridOptions",void 0),cm=(0,vh.__decorate)([(0,c.customElement)({name:"preview-grid",template:dm,styles:sm})],cm),((e,a="zero")=>{e&&(0,P.provideTokens)(t,o,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(vi,hg),(0,l.provideDesignSystem)().register(l.baseComponents,mg),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(Lu,mh)}}]);
14532
+ //# sourceMappingURL=122.215a81292f16a66f4ae198e06a55d768.js.map