@genesislcap/design-system-configurator 14.155.1 → 14.156.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 (25) hide show
  1. package/dist/{153.153.bee77dddd8cea3bb1520.js → 153.153.d8a76ba26a9dad1a9d78.js} +2 -2
  2. package/dist/{200.200.a60b13a7cdb57b42ba0c.js → 200.200.849dc9e67243b7abd33b.js} +1 -1
  3. package/dist/{249.249.ea389540ac4caf34691f.js → 300.300.4331f66a208760010044.js} +139 -98
  4. package/dist/300.8d5066831a2c43923ef041f4e861aa23.js.map +1 -0
  5. package/dist/{300.300.0c070751ae10da710b08.js → 345.345.842097e4c9c0a72bc246.js} +3 -3
  6. package/dist/{300.90062a243781a61458ed021fe6f327ac.js.map → 345.525359ca7b26f3e0b9bb5dd75045e860.js.map} +1 -1
  7. package/dist/746.00e85c55b64e58733fc11e761cc0cb67.js.map +1 -0
  8. package/dist/746.746.745bd2ccb4045165cd4b.js +4 -0
  9. package/dist/{755.755.4b874c47c2962581d9ac.js → 755.755.1ec278b84b7bb4681113.js} +1 -1
  10. package/dist/{8.8.3b7142783835d72e008d.js → 8.8.e7a4de87cab57fe7a372.js} +1 -1
  11. package/dist/{777.777.25e859eede43ef109dec.js → 811.811.e06ed6553bb42d517af2.js} +231 -227
  12. package/dist/811.ccc487ba3c1057282136f39a98ae9807.js.map +1 -0
  13. package/dist/{designSystemConfigurator.b5e02b3e26733c1c337e3763b5556ffb.js.map → designSystemConfigurator.8e1b603e39fa001abf2a35c5ecc451e8.js.map} +1 -1
  14. package/dist/index.html +1 -1
  15. package/dist/{main.b6909c1eca51f039cd832f40da3451fd.js.map → main.5aac18e91bc5350f0ef7963255cf7a3c.js.map} +1 -1
  16. package/dist/main.758ad633e3baa933351b.js +2 -0
  17. package/dist/remoteEntry.js +2 -2
  18. package/package.json +12 -12
  19. package/dist/249.4ccfc41e86bb0be824106566789ffb4a.js.map +0 -1
  20. package/dist/638.0a98f1aa57ec6841a657d304cbd2d5bf.js.map +0 -1
  21. package/dist/638.638.fb9fe80bbe98124bb885.js +0 -4
  22. package/dist/777.d8de4479a8e005b40e65c71471151f27.js.map +0 -1
  23. package/dist/main.bc0ab717f796b6250057.js +0 -2
  24. /package/dist/{153.153.bee77dddd8cea3bb1520.js.LICENSE.txt → 153.153.d8a76ba26a9dad1a9d78.js.LICENSE.txt} +0 -0
  25. /package/dist/{300.300.0c070751ae10da710b08.js.LICENSE.txt → 345.345.842097e4c9c0a72bc246.js.LICENSE.txt} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[777],{93756:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>sm,ColorToken:()=>pm,ColorTokens:()=>vm,DesignSystemEditor:()=>Jh,DesignSystemExport:()=>nm,DesignSystemPreview:()=>zm,EventName:()=>jh,PreviewComponents:()=>tm,PreviewForm:()=>Tm,PreviewGrid:()=>Nm,TypographyTokens:()=>ym,defaultBodyFont:()=>Bh,fontFamilies:()=>Ph});var t={};r.r(t),r.d(t,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,controlCornerRadius:()=>m.controlCornerRadius,defaultErrorColor:()=>Se,defaultSuccessColor:()=>Ae,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>Ce,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,strokeWidth:()=>m.strokeWidth,successColor:()=>Fe,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Oe,baseLayerLuminanceValue:()=>De,bodyFontValue:()=>Ue,controlCornerRadiusValue:()=>Me,densityValue:()=>Ie,designTokens:()=>Ve,designUnitValue:()=>je,directionValue:()=>Ne,neutralPaletteValue:()=>Te,strokeWidthValue:()=>Le,typeRampBaseFontSizeValue:()=>_e,typeRampBaseLineHeightValue:()=>He});var i={};r.r(i),r.d(i,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,buyColor:()=>Hg,controlCornerRadius:()=>m.controlCornerRadius,defaultBuyColor:()=>_g,defaultErrorColor:()=>Lg,defaultSellColor:()=>Yg,defaultSuccessColor:()=>jg,defaultWarningColor:()=>Bg,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>Mg,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,sellColor:()=>Qg,strokeWidth:()=>m.strokeWidth,successColor:()=>Eg,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight,warningColor:()=>Gg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Xg,accentFillFocusDeltaValue:()=>es,accentFillHoverDeltaValue:()=>Kg,accentFillRestDeltaValue:()=>Zg,accentForegroundActiveDeltaValue:()=>ts,accentForegroundFocusDeltaValue:()=>os,accentForegroundHoverDeltaValue:()=>rs,accentForegroundRestDeltaValue:()=>as,accentPaletteValue:()=>Wg,baseHeightMultiplierValue:()=>Rs,baseLayerLuminanceValue:()=>Jg,bodyFontValue:()=>Is,controlCornerRadiusValue:()=>Ns,densityValue:()=>Ls,designTokens:()=>ad,designUnitValue:()=>Ms,directionValue:()=>Fs,disabledOpacityValue:()=>Os,focusStrokeWidthValue:()=>Ds,neutralFillActiveDeltaValue:()=>ls,neutralFillFocusDeltaValue:()=>gs,neutralFillHoverDeltaValue:()=>ns,neutralFillInputActiveDeltaValue:()=>cs,neutralFillInputFocusDeltaValue:()=>ps,neutralFillInputHoverDeltaValue:()=>ds,neutralFillInputRestDeltaValue:()=>ss,neutralFillLayerRestDeltaValue:()=>xs,neutralFillRestDeltaValue:()=>is,neutralFillStealthActiveDeltaValue:()=>ms,neutralFillStealthFocusDeltaValue:()=>bs,neutralFillStealthHoverDeltaValue:()=>hs,neutralFillStealthRestDeltaValue:()=>us,neutralFillStrongActiveDeltaValue:()=>ws,neutralFillStrongFocusDeltaValue:()=>ys,neutralFillStrongHoverDeltaValue:()=>fs,neutralFillStrongRestDeltaValue:()=>vs,neutralPaletteValue:()=>qg,neutralStrokeActiveDeltaValue:()=>Ss,neutralStrokeDividerRestDeltaValue:()=>$s,neutralStrokeFocusDeltaValue:()=>Cs,neutralStrokeHoverDeltaValue:()=>zs,neutralStrokeRestDeltaValue:()=>ks,prefix:()=>As,strokeWidthValue:()=>Ts,typeRampBaseFontSizeValue:()=>js,typeRampBaseLineHeightValue:()=>Es,typeRampMinus1FontSizeValue:()=>Ps,typeRampMinus1LineHeightValue:()=>Bs,typeRampMinus2FontSizeValue:()=>Gs,typeRampMinus2LineHeightValue:()=>Us,typeRampPlus1FontSizeValue:()=>_s,typeRampPlus1LineHeightValue:()=>Hs,typeRampPlus2FontSizeValue:()=>Vs,typeRampPlus2LineHeightValue:()=>Ys,typeRampPlus3FontSizeValue:()=>Qs,typeRampPlus3LineHeightValue:()=>Ws,typeRampPlus4FontSizeValue:()=>qs,typeRampPlus4LineHeightValue:()=>Js,typeRampPlus5FontSizeValue:()=>Zs,typeRampPlus5LineHeightValue:()=>Ks,typeRampPlus6FontSizeValue:()=>Xs,typeRampPlus6LineHeightValue:()=>ed});var l=r(10175),g=r(92592),s=r(66526),d=r(86776),c=r.n(d),p=r(60724),u=r(79292),h=r(99667),m=r(41663),b=r(67973);const v=u.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[811],{9107:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>um,ColorToken:()=>bm,ColorTokens:()=>xm,DesignSystemEditor:()=>em,DesignSystemExport:()=>dm,DesignSystemPreview:()=>Am,EventName:()=>Gh,PreviewComponents:()=>lm,PreviewForm:()=>Lm,PreviewGrid:()=>jm,TypographyTokens:()=>Sm,defaultBodyFont:()=>Hh,fontFamilies:()=>_h});var t={};r.r(t),r.d(t,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,controlCornerRadius:()=>m.controlCornerRadius,defaultErrorColor:()=>Se,defaultSuccessColor:()=>Ae,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>Ce,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,strokeWidth:()=>m.strokeWidth,successColor:()=>Fe,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Te,baseLayerLuminanceValue:()=>De,bodyFontValue:()=>Ue,controlCornerRadiusValue:()=>Me,densityValue:()=>Ie,designTokens:()=>Ve,designUnitValue:()=>je,directionValue:()=>Ne,neutralPaletteValue:()=>Oe,strokeWidthValue:()=>Le,typeRampBaseFontSizeValue:()=>_e,typeRampBaseLineHeightValue:()=>He});var i={};r.r(i),r.d(i,{accentFillActive:()=>m.accentFillActive,accentFillActiveDelta:()=>m.accentFillActiveDelta,accentFillFocus:()=>m.accentFillFocus,accentFillFocusDelta:()=>m.accentFillFocusDelta,accentFillHover:()=>m.accentFillHover,accentFillHoverDelta:()=>m.accentFillHoverDelta,accentFillRest:()=>m.accentFillRest,accentFillRestDelta:()=>m.accentFillRestDelta,accentForegroundActive:()=>m.accentForegroundActive,accentForegroundActiveDelta:()=>m.accentForegroundActiveDelta,accentForegroundFocus:()=>m.accentForegroundFocus,accentForegroundFocusDelta:()=>m.accentForegroundFocusDelta,accentForegroundHover:()=>m.accentForegroundHover,accentForegroundHoverDelta:()=>m.accentForegroundHoverDelta,accentForegroundRest:()=>m.accentForegroundRest,accentForegroundRestDelta:()=>m.accentForegroundRestDelta,accentPalette:()=>m.accentPalette,baseHeightMultiplier:()=>m.baseHeightMultiplier,baseLayerLuminance:()=>m.baseLayerLuminance,bodyFont:()=>m.bodyFont,buyColor:()=>Yg,controlCornerRadius:()=>m.controlCornerRadius,defaultBuyColor:()=>Vg,defaultErrorColor:()=>Ig,defaultSellColor:()=>Wg,defaultSuccessColor:()=>Pg,defaultWarningColor:()=>Ug,density:()=>m.density,designUnit:()=>m.designUnit,direction:()=>m.direction,disabledOpacity:()=>m.disabledOpacity,errorColor:()=>jg,fillColor:()=>m.fillColor,focusStrokeInner:()=>m.focusStrokeInner,focusStrokeOuter:()=>m.focusStrokeOuter,focusStrokeWidth:()=>m.focusStrokeWidth,foregroundOnAccentActive:()=>m.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>m.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>m.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>m.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>m.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>m.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>m.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>m.foregroundOnAccentRestLarge,neutralFillActive:()=>m.neutralFillActive,neutralFillActiveDelta:()=>m.neutralFillActiveDelta,neutralFillFocus:()=>m.neutralFillFocus,neutralFillFocusDelta:()=>m.neutralFillFocusDelta,neutralFillHover:()=>m.neutralFillHover,neutralFillHoverDelta:()=>m.neutralFillHoverDelta,neutralFillInputActive:()=>m.neutralFillInputActive,neutralFillInputActiveDelta:()=>m.neutralFillInputActiveDelta,neutralFillInputFocus:()=>m.neutralFillInputFocus,neutralFillInputFocusDelta:()=>m.neutralFillInputFocusDelta,neutralFillInputHover:()=>m.neutralFillInputHover,neutralFillInputHoverDelta:()=>m.neutralFillInputHoverDelta,neutralFillInputRest:()=>m.neutralFillInputRest,neutralFillInputRestDelta:()=>m.neutralFillInputRestDelta,neutralFillLayerRest:()=>m.neutralFillLayerRest,neutralFillLayerRestDelta:()=>m.neutralFillLayerRestDelta,neutralFillRest:()=>m.neutralFillRest,neutralFillRestDelta:()=>m.neutralFillRestDelta,neutralFillStealthActive:()=>m.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>m.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>m.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>m.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>m.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>m.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>m.neutralFillStealthRest,neutralFillStealthRestDelta:()=>m.neutralFillStealthRestDelta,neutralFillStrongActive:()=>m.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>m.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>m.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>m.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>m.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>m.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>m.neutralFillStrongRest,neutralFillStrongRestDelta:()=>m.neutralFillStrongRestDelta,neutralForegroundHint:()=>m.neutralForegroundHint,neutralForegroundRest:()=>m.neutralForegroundRest,neutralLayer1:()=>m.neutralLayer1,neutralLayer2:()=>m.neutralLayer2,neutralLayer3:()=>m.neutralLayer3,neutralLayer4:()=>m.neutralLayer4,neutralLayerCardContainer:()=>m.neutralLayerCardContainer,neutralLayerFloating:()=>m.neutralLayerFloating,neutralPalette:()=>m.neutralPalette,neutralStrokeActive:()=>m.neutralStrokeActive,neutralStrokeActiveDelta:()=>m.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>m.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>m.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>m.neutralStrokeFocus,neutralStrokeFocusDelta:()=>m.neutralStrokeFocusDelta,neutralStrokeHover:()=>m.neutralStrokeHover,neutralStrokeHoverDelta:()=>m.neutralStrokeHoverDelta,neutralStrokeRest:()=>m.neutralStrokeRest,neutralStrokeRestDelta:()=>m.neutralStrokeRestDelta,sellColor:()=>qg,strokeWidth:()=>m.strokeWidth,successColor:()=>Bg,typeRampBaseFontSize:()=>m.typeRampBaseFontSize,typeRampBaseLineHeight:()=>m.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>m.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>m.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>m.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>m.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>m.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>m.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>m.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>m.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>m.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>m.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>m.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>m.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>m.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>m.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>m.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>m.typeRampPlus6LineHeight,warningColor:()=>_g});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>as,accentFillFocusDeltaValue:()=>rs,accentFillHoverDeltaValue:()=>es,accentFillRestDeltaValue:()=>Xg,accentForegroundActiveDeltaValue:()=>is,accentForegroundFocusDeltaValue:()=>ns,accentForegroundHoverDeltaValue:()=>os,accentForegroundRestDeltaValue:()=>ts,accentPaletteValue:()=>Jg,baseHeightMultiplierValue:()=>Ls,baseLayerLuminanceValue:()=>Kg,bodyFontValue:()=>Es,controlCornerRadiusValue:()=>Ms,densityValue:()=>Is,designTokens:()=>td,designUnitValue:()=>js,directionValue:()=>Os,disabledOpacityValue:()=>Ds,focusStrokeWidthValue:()=>Ns,neutralFillActiveDeltaValue:()=>ss,neutralFillFocusDeltaValue:()=>ds,neutralFillHoverDeltaValue:()=>gs,neutralFillInputActiveDeltaValue:()=>us,neutralFillInputFocusDeltaValue:()=>hs,neutralFillInputHoverDeltaValue:()=>ps,neutralFillInputRestDeltaValue:()=>cs,neutralFillLayerRestDeltaValue:()=>zs,neutralFillRestDeltaValue:()=>ls,neutralFillStealthActiveDeltaValue:()=>vs,neutralFillStealthFocusDeltaValue:()=>fs,neutralFillStealthHoverDeltaValue:()=>bs,neutralFillStealthRestDeltaValue:()=>ms,neutralFillStrongActiveDeltaValue:()=>xs,neutralFillStrongFocusDeltaValue:()=>ks,neutralFillStrongHoverDeltaValue:()=>ys,neutralFillStrongRestDeltaValue:()=>ws,neutralPaletteValue:()=>Zg,neutralStrokeActiveDeltaValue:()=>$s,neutralStrokeDividerRestDeltaValue:()=>Fs,neutralStrokeFocusDeltaValue:()=>As,neutralStrokeHoverDeltaValue:()=>Cs,neutralStrokeRestDeltaValue:()=>Ss,prefix:()=>Ts,strokeWidthValue:()=>Rs,typeRampBaseFontSizeValue:()=>Ps,typeRampBaseLineHeightValue:()=>Bs,typeRampMinus1FontSizeValue:()=>Gs,typeRampMinus1LineHeightValue:()=>Us,typeRampMinus2FontSizeValue:()=>_s,typeRampMinus2LineHeightValue:()=>Hs,typeRampPlus1FontSizeValue:()=>Vs,typeRampPlus1LineHeightValue:()=>Ys,typeRampPlus2FontSizeValue:()=>Qs,typeRampPlus2LineHeightValue:()=>Ws,typeRampPlus3FontSizeValue:()=>qs,typeRampPlus3LineHeightValue:()=>Js,typeRampPlus4FontSizeValue:()=>Zs,typeRampPlus4LineHeightValue:()=>Ks,typeRampPlus5FontSizeValue:()=>Xs,typeRampPlus5LineHeightValue:()=>ed,typeRampPlus6FontSizeValue:()=>ad,typeRampPlus6LineHeightValue:()=>rd});var l=r(39630),g=r(92592),s=r(66526),d=r(86776),c=r.n(d),p=r(60724),u=r(79292),h=r(99667),m=r(41663),b=r(67973);const v=u.css`
2
2
  :host {
3
3
  border: calc(${m.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -50,7 +50,7 @@
50
50
  background: ${b.H.Canvas};
51
51
  border-color: ${b.H.CanvasText};
52
52
  }
53
- `)),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var w=r(26738);const y=(0,w.createLogger)("foundation-form"),x=u.html`
53
+ `)),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var w=r(90694);const y=(0,w.createLogger)("foundation-form"),x=u.html`
54
54
  <template>
55
55
  ${(0,u.when)((e=>!1),u.html`
56
56
  <zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
@@ -177,7 +177,7 @@
177
177
  </div>
178
178
  `)}
179
179
  </template>
180
- `,O=u.css`
180
+ `,T=u.css`
181
181
  .wrapperRoot {
182
182
  margin-bottom: calc(var(--design-unit) * 4px);
183
183
  }
@@ -200,7 +200,7 @@
200
200
  width: 100%;
201
201
  align-items: center;
202
202
  }
203
- `;let T=class extends u.FASTElement{get showDescription(){return!(0,p.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,p.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([u.observable],T.prototype,"control",void 0),(0,g.__decorate)([u.observable],T.prototype,"touched",void 0),(0,g.__decorate)([u.volatile],T.prototype,"showDescription",null),(0,g.__decorate)([u.volatile],T.prototype,"computedLabel",null),T=(0,g.__decorate)([(0,u.customElement)({name:"control-wrapper",styles:O,template:F})],T);var D=r(80340),R=r.n(D);const N=u.html`
203
+ `;let O=class extends u.FASTElement{get showDescription(){return!(0,p.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,p.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([u.observable],O.prototype,"control",void 0),(0,g.__decorate)([u.observable],O.prototype,"touched",void 0),(0,g.__decorate)([u.volatile],O.prototype,"showDescription",null),(0,g.__decorate)([u.volatile],O.prototype,"computedLabel",null),O=(0,g.__decorate)([(0,u.customElement)({name:"control-wrapper",styles:T,template:F})],O);var D=r(80340),R=r.n(D);const N=u.html`
204
204
  <template>${e=>e.determinedRenderer.renderer}</template>
205
205
  `,L=u.css``;let M=class extends u.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,p.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,g.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t,o)=>{var i;const n=Object.assign({},t({jsonforms:a},e)),l=null===(i=o||p.AZl)||void 0===i?void 0:i(r);return Object.assign(Object.assign({},n),l)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper,this.determinedRenderer.dispatchMapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=R()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(y.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,g.__decorate)([u.observable],M.prototype,"jsonforms",void 0),(0,g.__decorate)([u.observable],M.prototype,"props",void 0),(0,g.__decorate)([u.observable],M.prototype,"touched",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],M.prototype,"submitted",void 0),(0,g.__decorate)([u.observable],M.prototype,"dispatch",void 0),(0,g.__decorate)([u.observable],M.prototype,"control",void 0),(0,g.__decorate)([u.observable],M.prototype,"renderer",void 0),(0,g.__decorate)([u.observable],M.prototype,"prefix",void 0),M=(0,g.__decorate)([(0,u.customElement)({name:"dispatch-renderer",template:N,styles:L})],M);const I=u.css`
206
206
  .tabs-container::part(stepper-panel-container) {
@@ -288,7 +288,7 @@
288
288
  </control-wrapper>
289
289
  </template>
290
290
  `)(e.prefix)}
291
- `,tester:(0,p.yMz)(3,P),mapper:p.xq9};var G=r(59346);const U=e=>a=>{if(!a||!(0,p.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},_=(0,p.xDy)(U("allOptionsResourceName"),(0,p.or)((0,p.wcO)((e=>(0,p.ndu)(e,"array"))),(0,p.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,p.ndu)(e,"array")))))));G.MultiselectDatasource;const H={renderer:u.html`
291
+ `,tester:(0,p.yMz)(3,P),mapper:p.xq9};var G=r(80524);const U=e=>a=>{if(!a||!(0,p.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},_=(0,p.xDy)(U("allOptionsResourceName"),(0,p.or)((0,p.wcO)((e=>(0,p.ndu)(e,"array"))),(0,p.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,p.ndu)(e,"array")))))));G.MultiselectDatasource;const H={renderer:u.html`
292
292
  ${e=>((e="zero")=>u.html`
293
293
  <template>
294
294
  <control-wrapper
@@ -556,7 +556,7 @@
556
556
  </control-wrapper>
557
557
  </template>
558
558
  `)(e.prefix)}
559
- `,ue={renderer:pe,tester:(0,p.yMz)(2,p.Wdb),mapper:p.xq9},he=[{renderer:pe,tester:(0,p.yMz)(1,p.DRl),mapper:p.xq9},ue,B,ee,ae,re,te,ne,oe,ie,se,H,J,V,W,Z];let me=class extends h.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=he,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(c())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,y.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield u.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(y.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){y.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,u.attr)({attribute:"design-system-prefix"})],me.prototype,"prefix",void 0),(0,g.__decorate)([u.attr],me.prototype,"resourceName",void 0),(0,g.__decorate)([u.observable],me.prototype,"uischema",void 0),(0,g.__decorate)([u.observable],me.prototype,"renderers",void 0),(0,g.__decorate)([u.observable],me.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],me.prototype,"connect",void 0),(0,g.__decorate)([u.observable],me.prototype,"data",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitting",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitted",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],me.prototype,"readonly",void 0),(0,g.__decorate)([(0,u.attr)({attribute:"hide-submit-button",mode:"boolean"})],me.prototype,"hideSubmit",void 0),(0,g.__decorate)([u.volatile],me.prototype,"isSubmitHidden",null),me=(0,g.__decorate)([(0,u.customElement)({name:"foundation-form",template:E,styles:v})],me);var be,ve,fe,we,ye,xe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(be||(be={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ve||(ve={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(fe||(fe={})),function(e){e.grey="#7c909b"}(we||(we={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ye||(ye={}));const{create:ke}=h.DesignToken,ze=(0,xe.parseColorHexRGB)(be.error),Se=m.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=ke("error-color").withDefault(Se),$e=(0,xe.parseColorHexRGB)(be.success),Ae=m.SwatchRGB.create($e.r,$e.g,$e.b),Fe=ke("success-color").withDefault(Ae),Oe=(0,G.paletteFromHex)(ve.blue),Te=(0,G.paletteFromHex)(we.grey),De=m.StandardLuminance.DarkMode;var Re=r(5598);const Ne=Re.N.ltr,Le=m.strokeWidth.getValueFor(m.strokeWidth.appliedTo[0]),Me=4,Ie=m.density.getValueFor(m.density.appliedTo[0]),je=4;var Ee=r(47823);const Pe=()=>{(0,Ee.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},Be='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ge=(e=Ee.Hd.Normal,a=Ee.U9.Regular)=>(0,Ee.py)(Be,e,a),Ue=Be,_e=m.typeRampBaseFontSize.getValueFor(m.typeRampBaseFontSize.appliedTo[0]),He=m.typeRampBaseLineHeight.getValueFor(m.typeRampBaseLineHeight.appliedTo[0]),Ve={design_tokens:{color:{accent:{$value:Oe.source.toColorString(),$type:"color"},neutral:{$value:Te.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Ue,$type:"fontFamily"}},typography:{baseFontSize:{$value:_e,$type:"dimension"},baseLineHeight:{$value:He,$type:"dimension"}},mode:{luminance:{$value:De,$type:"number"}},style:{density:{$value:Ie,$type:"number"},borderRadius:{$value:Me,$type:"number"},strokeWidth:{$value:Le,$type:"number"}},space:{designUnit:{$value:je,$type:"number"}}}};class Ye extends G.Accordion{}const Qe=Ye.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,G.foundationAccordionTemplate)(e,a),styles:(e,a)=>u.css`
559
+ `,ue={renderer:pe,tester:(0,p.yMz)(2,p.Wdb),mapper:p.xq9},he=[{renderer:pe,tester:(0,p.yMz)(1,p.DRl),mapper:p.xq9},ue,B,ee,ae,re,te,ne,oe,ie,se,H,J,V,W,Z];let me=class extends h.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=he,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(c())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,y.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield u.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(y.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){y.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,u.attr)({attribute:"design-system-prefix"})],me.prototype,"prefix",void 0),(0,g.__decorate)([u.attr],me.prototype,"resourceName",void 0),(0,g.__decorate)([u.observable],me.prototype,"uischema",void 0),(0,g.__decorate)([u.observable],me.prototype,"renderers",void 0),(0,g.__decorate)([u.observable],me.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],me.prototype,"connect",void 0),(0,g.__decorate)([u.observable],me.prototype,"data",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitting",void 0),(0,g.__decorate)([u.observable],me.prototype,"submitted",void 0),(0,g.__decorate)([(0,u.attr)({mode:"boolean"})],me.prototype,"readonly",void 0),(0,g.__decorate)([(0,u.attr)({attribute:"hide-submit-button",mode:"boolean"})],me.prototype,"hideSubmit",void 0),(0,g.__decorate)([u.volatile],me.prototype,"isSubmitHidden",null),me=(0,g.__decorate)([(0,u.customElement)({name:"foundation-form",template:E,styles:v})],me);var be,ve,fe,we,ye,xe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(be||(be={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ve||(ve={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(fe||(fe={})),function(e){e.grey="#7c909b"}(we||(we={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ye||(ye={}));const{create:ke}=h.DesignToken,ze=(0,xe.parseColorHexRGB)(be.error),Se=m.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=ke("error-color").withDefault(Se),$e=(0,xe.parseColorHexRGB)(be.success),Ae=m.SwatchRGB.create($e.r,$e.g,$e.b),Fe=ke("success-color").withDefault(Ae),Te=(0,G.paletteFromHex)(ve.blue),Oe=(0,G.paletteFromHex)(we.grey),De=m.StandardLuminance.DarkMode;var Re=r(5598);const Ne=Re.N.ltr,Le=m.strokeWidth.getValueFor(m.strokeWidth.appliedTo[0]),Me=4,Ie=m.density.getValueFor(m.density.appliedTo[0]),je=4;var Ee=r(47823);const Pe=()=>{(0,Ee.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},Be='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ge=(e=Ee.Hd.Normal,a=Ee.U9.Regular)=>(0,Ee.py)(Be,e,a),Ue=Be,_e=m.typeRampBaseFontSize.getValueFor(m.typeRampBaseFontSize.appliedTo[0]),He=m.typeRampBaseLineHeight.getValueFor(m.typeRampBaseLineHeight.appliedTo[0]),Ve={design_tokens:{color:{accent:{$value:Te.source.toColorString(),$type:"color"},neutral:{$value:Oe.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Ue,$type:"fontFamily"}},typography:{baseFontSize:{$value:_e,$type:"dimension"},baseLineHeight:{$value:He,$type:"dimension"}},mode:{luminance:{$value:De,$type:"number"}},style:{density:{$value:Ie,$type:"number"},borderRadius:{$value:Me,$type:"number"},strokeWidth:{$value:Le,$type:"number"}},space:{designUnit:{$value:je,$type:"number"}}}};class Ye extends G.Accordion{}const Qe=Ye.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,G.foundationAccordionTemplate)(e,a),styles:(e,a)=>u.css`
560
560
  ${(0,G.foundationAccordionStyles)(e,a)}
561
561
  `,shadowOptions:G.foundationAccordionShadowOptions},G.defaultAccordionConfig));class We extends G.AccordionItem{}const qe=We.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,G.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>u.css`
562
562
  ${(0,G.foundationAccordionItemStyles)(e,a)};
@@ -788,17 +788,17 @@
788
788
  border: 1px solid ${pa(va)};
789
789
  color: ${ea(wa)};
790
790
  }
791
- `,Oa=(e,a)=>u.css`
791
+ `,Ta=(e,a)=>u.css`
792
792
  ${(0,G.foundationButtonStyles)(e,a)}
793
793
  ${u.css`
794
794
  :host {
795
795
  margin: 5px;
796
796
  }
797
797
  `}
798
- `.withBehaviors(ba("primary-blue",ya),ba("primary-purple",xa),ba("primary-gradient",ka),ba("secondary-orange",za),ba("secondary-teal",Sa),ba("neutral-grey",Ca),ba("outline-primary-gradient",$a),ba("outline-secondary-orange",Aa),ba("outline-secondary-teal",Fa));class Ta extends G.Anchor{}const Da=Ta.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,G.foundationAnchorTemplate)(e,a),styles:(e,a)=>u.css`
798
+ `.withBehaviors(ba("primary-blue",ya),ba("primary-purple",xa),ba("primary-gradient",ka),ba("secondary-orange",za),ba("secondary-teal",Sa),ba("neutral-grey",Ca),ba("outline-primary-gradient",$a),ba("outline-secondary-orange",Aa),ba("outline-secondary-teal",Fa));class Oa extends G.Anchor{}const Da=Oa.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,G.foundationAnchorTemplate)(e,a),styles:(e,a)=>u.css`
799
799
  ${(0,G.foundationAnchorStyles)(e,a)}
800
- ${Oa(e,a)}
801
- `.withBehaviors(...Oa(e,a).behaviors),shadowOptions:G.foundationAnchorShadowOptions},G.defaultAnchorConfig));class Ra extends G.AnchoredRegion{}const Na=Ra.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,G.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>u.css`
800
+ ${Ta(e,a)}
801
+ `.withBehaviors(...Ta(e,a).behaviors),shadowOptions:G.foundationAnchorShadowOptions},G.defaultAnchorConfig));class Ra extends G.AnchoredRegion{}const Na=Ra.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,G.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>u.css`
802
802
  ${(0,G.foundationAnchoredRegionStyles)(e,a)}
803
803
  `,shadowOptions:G.foundationAnchoredRegionShadowOptions},G.defaultAnchoredRegionConfig));class La extends G.Avatar{}const Ma=La.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,G.foundationAvatarTemplate)(e,a),styles:(e,a)=>u.css`
804
804
  ${(0,G.foundationAvatarStyles)(e,a)}
@@ -834,7 +834,7 @@
834
834
  .separator {
835
835
  color: var(--neutral-stroke-rest);
836
836
  }
837
- `,shadowOptions:G.foundationBreadcrumbItemShadowOptions},G.defaultBreadcrumbItemConfig));class Ya extends G.Button{}const Qa=Ya.compose(Object.assign({baseName:"button",template:(e,a)=>(0,G.foundationButtonTemplate)(e,a),styles:Oa,shadowOptions:G.foundationButtonShadowOptions},G.defaultButtonConfig));class Wa extends G.Calendar{}const qa=Wa.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,G.foundationCalendarTemplate)(e,a),styles:()=>u.css`
837
+ `,shadowOptions:G.foundationBreadcrumbItemShadowOptions},G.defaultBreadcrumbItemConfig));class Ya extends G.Button{}const Qa=Ya.compose(Object.assign({baseName:"button",template:(e,a)=>(0,G.foundationButtonTemplate)(e,a),styles:Ta,shadowOptions:G.foundationButtonShadowOptions},G.defaultButtonConfig));class Wa extends G.Calendar{}const qa=Wa.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,G.foundationCalendarTemplate)(e,a),styles:()=>u.css`
838
838
  ${(0,G.foundationCalendarStyles)()}
839
839
  `,shadowOptions:G.foundationCalendarShadowOptions},G.defaultCalendarConfig));class Ja extends G.Card{}const Za=Ja.compose(Object.assign({baseName:"card",template:(e,a)=>(0,G.foundationCardTemplate)(e,a),styles:(e,a)=>u.css`
840
840
  ${(0,G.foundationCardStyles)(e,a)}
@@ -986,12 +986,12 @@
986
986
  .date-toggle::part(end) {
987
987
  margin-inline-end: 4px;
988
988
  }
989
- `,shadowOptions:undefined},{}));var Fr=r(37068);Pe();const Or=u.css`
989
+ `,shadowOptions:undefined},{}));var Fr=r(37068);Pe();const Tr=u.css`
990
990
  ${(0,h.display)("flex")}
991
991
  :host {
992
992
  flex: 1;
993
993
  }
994
- `,Tr=u.css`
994
+ `,Or=u.css`
995
995
  :host {
996
996
  background-color: ${m.neutralFillStealthActive};
997
997
  }
@@ -1018,8 +1018,8 @@
1018
1018
  ${Dr(e,"5","2")}
1019
1019
  ${Dr(e,"6","1")}
1020
1020
  `)(e);return a.addStylesTo(document),u.css`
1021
- ${Or}
1022
1021
  ${Tr}
1022
+ ${Or}
1023
1023
  ${a}
1024
1024
  :host * {
1025
1025
  color: ${m.neutralForegroundRest};
@@ -1190,7 +1190,7 @@
1190
1190
  }
1191
1191
  `,wt=u.html`
1192
1192
  ${(0,G.getPrefixedFlyout)("zero")}
1193
- `,yt=G.defaultFlyoutConfig,xt=G.foundationFlyoutShadowOptions;class kt extends G.Flyout{}const zt=kt.compose(Object.assign({baseName:"flyout",shadowOptions:xt,styles:ft,template:wt},yt));class St extends G.GridLayout{}const Ct=St.compose(Object.assign({baseName:"grid-layout",shadowOptions:G.foundationGridLayoutShadowOptions,styles:G.foundationGridLayoutStyles,template:G.foundationGridLayoutTemplate},G.defaultGridLayoutConfig));class $t extends G.GridLayoutItem{}const At=$t.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:G.foundationGridLayoutItemShadowOptions,template:G.foundationGridLayoutItemTemplate},G.defaultGridLayoutItemConfig));class Ft extends G.HorizontalScroll{}const Ot={nextFlipper:u.html`
1193
+ `,yt=G.defaultFlyoutConfig,xt=G.foundationFlyoutShadowOptions;class kt extends G.Flyout{}const zt=kt.compose(Object.assign({baseName:"flyout",shadowOptions:xt,styles:ft,template:wt},yt));class St extends G.GridLayout{}const Ct=St.compose(Object.assign({baseName:"grid-layout",shadowOptions:G.foundationGridLayoutShadowOptions,styles:G.foundationGridLayoutStyles,template:G.foundationGridLayoutTemplate},G.defaultGridLayoutConfig));class $t extends G.GridLayoutItem{}const At=$t.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:G.foundationGridLayoutItemShadowOptions,template:G.foundationGridLayoutItemTemplate},G.defaultGridLayoutItemConfig));class Ft extends G.HorizontalScroll{}const Tt={nextFlipper:u.html`
1194
1194
  <zero-flipper
1195
1195
  @click="${e=>e.scrollToNext()}"
1196
1196
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -1201,9 +1201,9 @@
1201
1201
  direction="previous"
1202
1202
  aria-hidden="${e=>e.flippersHiddenFromAT}"
1203
1203
  ></zero-flipper>
1204
- `},Tt=Ft.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,G.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>u.css`
1204
+ `},Ot=Ft.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,G.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>u.css`
1205
1205
  ${(0,G.foundationHorizontalScrollStyles)(e,a)}
1206
- `,shadowOptions:G.foundationHorizontalScrollShadowOptions},Ot));class Dt extends G.Icon{}const Rt=G.defaultIconConfig,Nt=G.foundationIconShadowOptions,Lt=Dt.compose(Object.assign({baseName:"icon",template:G.foundationIconTemplate,styles:(e,a)=>u.css`
1206
+ `,shadowOptions:G.foundationHorizontalScrollShadowOptions},Tt));class Dt extends G.Icon{}const Rt=G.defaultIconConfig,Nt=G.foundationIconShadowOptions,Lt=Dt.compose(Object.assign({baseName:"icon",template:G.foundationIconTemplate,styles:(e,a)=>u.css`
1207
1207
  ${(0,G.foundationIconStyles)(e,a)}
1208
1208
  `,shadowOptions:Nt},Rt));class Mt extends G.Listbox{}const It=Mt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,G.foundationListboxTemplate)(e,a),styles:(e,a)=>u.css`
1209
1209
  ${(0,G.foundationListboxStyles)(e,a)}
@@ -1523,7 +1523,7 @@
1523
1523
  border-color: transparent;
1524
1524
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1525
1525
  }
1526
- `,shadowOptions:undefined},{}));class Oo extends G.Radio{}const To=Oo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,G.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>u.css`
1526
+ `,shadowOptions:undefined},{}));class To extends G.Radio{}const Oo=To.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,G.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>u.css`
1527
1527
  ${(0,G.foundationSegmentedItemStyles)(e,a)}
1528
1528
  :host {
1529
1529
  color: var(--neutral-stroke-rest);
@@ -1665,17 +1665,19 @@
1665
1665
  }
1666
1666
  `,Bo=u.html`
1667
1667
  ${(0,G.getPrefixedSnackbar)("zero")}
1668
- `,Go=G.foundationSnackbarShadowOptions;class Uo extends G.Snackbar{}const _o=Uo.compose({baseName:"snackbar",shadowOptions:Go,styles:Po,template:Bo}),Ho=u.css`
1668
+ `,Go=G.foundationSnackbarShadowOptions;class Uo extends G.Snackbar{}const _o=Uo.compose({baseName:"snackbar",shadowOptions:Go,styles:Po,template:Bo});class Ho extends G.StackingIcons{}const Vo=Ho.compose({baseName:"stacking-icons",template:G.foundationStackingIconsTemplate,styles:(e,a)=>u.css`
1669
+ ${(0,G.foundationStackingIconsStyles)(e,a)}
1670
+ `}),Yo=u.css`
1669
1671
  ${G.foundationStepperStyles}
1670
1672
 
1671
1673
  .stepper-tab {
1672
1674
  background-color: var(--neutral-layer-3);
1673
1675
  }
1674
- `,Vo=u.html`
1676
+ `,Qo=u.html`
1675
1677
  ${(0,G.getPrefixedStepper)("zero")}
1676
- `;class Yo extends G.Stepper{}const Qo=Yo.compose(Object.assign({baseName:"stepper",template:Vo,styles:Ho,shadowOptions:G.foundationStepperShadowOptions},G.defaultStepperConfig)),Wo=u.html`
1678
+ `;class Wo extends G.Stepper{}const qo=Wo.compose(Object.assign({baseName:"stepper",template:Qo,styles:Yo,shadowOptions:G.foundationStepperShadowOptions},G.defaultStepperConfig)),Jo=u.html`
1677
1679
  ${(0,G.getPrefixedStepperTab)("zero")}
1678
- `;class qo extends G.StepperTab{}const Jo=qo.compose(Object.assign({baseName:"stepper-tab",template:Wo,styles:(e,a)=>u.css`
1680
+ `;class Zo extends G.StepperTab{}const Ko=Zo.compose(Object.assign({baseName:"stepper-tab",template:Jo,styles:(e,a)=>u.css`
1679
1681
  ${(0,G.foundationStepperTabStyles)(e,a)}
1680
1682
 
1681
1683
  zero-tree-item {
@@ -1687,7 +1689,7 @@
1687
1689
 
1688
1690
  border-bottom: 1px solid var(--fill-color);
1689
1691
  }
1690
- `,shadowOptions:G.foundationStepperTabShadowOptions},G.defaultStepperTabConfig));class Zo extends G.StepperTabPanel{}const Ko=Zo.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,G.foundationStepperTabPanelTemplate)(e,a),shadowOptions:G.foundationStepperTabPanelShadowOptions},G.defaultStepperTabPanelConfig));class Xo extends G.Switch{}const ei=Xo.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,G.foundationSwitchTemplate)(e,a),styles:(e,a)=>u.css`
1692
+ `,shadowOptions:G.foundationStepperTabShadowOptions},G.defaultStepperTabConfig));class Xo extends G.StepperTabPanel{}const ei=Xo.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,G.foundationStepperTabPanelTemplate)(e,a),shadowOptions:G.foundationStepperTabPanelShadowOptions},G.defaultStepperTabPanelConfig));class ai extends G.Switch{}const ri=ai.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,G.foundationSwitchTemplate)(e,a),styles:(e,a)=>u.css`
1691
1693
  ${(0,G.foundationSwitchStyles)(e,a)}
1692
1694
  :host {
1693
1695
  --primary-gradient-angle: -113.5deg;
@@ -1732,7 +1734,7 @@
1732
1734
  ${ve.purple}
1733
1735
  );
1734
1736
  }
1735
- `,shadowOptions:G.foundationSwitchShadowOptions},G.defaultSwitchConfig));class ai extends G.Tab{}const ri=ai.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,G.foundationTabTemplate)(e,a),styles:(e,a)=>u.css`
1737
+ `,shadowOptions:G.foundationSwitchShadowOptions},G.defaultSwitchConfig));class ti extends G.Tab{}const oi=ti.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,G.foundationTabTemplate)(e,a),styles:(e,a)=>u.css`
1736
1738
  ${(0,G.foundationTabStyles)(e,a)}
1737
1739
  :host {
1738
1740
  background-color: ${m.neutralLayer2};
@@ -1756,12 +1758,12 @@
1756
1758
  margin-right: 0;
1757
1759
  background-color: var(--zero-card-fill-color);
1758
1760
  }
1759
- `,shadowOptions:G.foundationTabShadowOptions},G.defaultTabConfig));class ti extends G.TabPanel{}const oi=ti.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,G.foundationTabPanelTemplate)(e,a),styles:(e,a)=>u.css`
1761
+ `,shadowOptions:G.foundationTabShadowOptions},G.defaultTabConfig));class ii extends G.TabPanel{}const ni=ii.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,G.foundationTabPanelTemplate)(e,a),styles:(e,a)=>u.css`
1760
1762
  ${(0,G.foundationTabPanelStyles)(e,a)}
1761
1763
  :host {
1762
1764
  padding: 0;
1763
1765
  }
1764
- `,shadowOptions:G.foundationTabPanelShadowOptions},G.defaultTabPanelConfig));class ii extends G.Tabs{}const ni=ii.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,G.foundationTabsTemplate)(e,a),styles:(e,a)=>u.css`
1766
+ `,shadowOptions:G.foundationTabPanelShadowOptions},G.defaultTabPanelConfig));class li extends G.Tabs{}const gi=li.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,G.foundationTabsTemplate)(e,a),styles:(e,a)=>u.css`
1765
1767
  ${(0,G.foundationTabsStyles)(e,a)}
1766
1768
  :host .tablist {
1767
1769
  padding: 0;
@@ -1807,7 +1809,7 @@
1807
1809
  height: 2px;
1808
1810
  margin-top: 0;
1809
1811
  }
1810
- `,shadowOptions:G.foundationTabsShadowOptions},G.defaultTabsConfig));class li extends G.TextArea{}const gi=li.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,G.foundationTextAreaTemplate)(e,a),styles:(e,a)=>u.css`
1812
+ `,shadowOptions:G.foundationTabsShadowOptions},G.defaultTabsConfig));class si extends G.TextArea{}const di=si.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,G.foundationTextAreaTemplate)(e,a),styles:(e,a)=>u.css`
1811
1813
  ${(0,G.foundationTextAreaStyles)(e,a)}
1812
1814
  :host {
1813
1815
  --primary-gradient-angle: -113.5deg;
@@ -1852,7 +1854,7 @@
1852
1854
  color: ${cr};
1853
1855
  margin: calc(var(--design-unit) * 2px) 0;
1854
1856
  }
1855
- `,shadowOptions:G.foundationTextAreaShadowOptions},G.defaultTextAreaConfig));class si extends G.TextField{}const di=si.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,G.foundationTextFieldTemplate)(e,a),styles:io,shadowOptions:G.foundationTextFieldShadowOptions},G.defaultTextFieldConfig)),ci=u.css`
1857
+ `,shadowOptions:G.foundationTextAreaShadowOptions},G.defaultTextAreaConfig));class ci extends G.TextField{}const pi=ci.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,G.foundationTextFieldTemplate)(e,a),styles:io,shadowOptions:G.foundationTextFieldShadowOptions},G.defaultTextFieldConfig)),ui=u.css`
1856
1858
  ${G.foundationToastStyles}
1857
1859
  .toast {
1858
1860
  border: calc(var(--stroke-width) * 1px) solid ${m.neutralLayer3};
@@ -1878,11 +1880,11 @@
1878
1880
  :host([notify='serious']) .toast::after {
1879
1881
  background-color: ${da(1)};
1880
1882
  }
1881
- `,pi=G.defaultToastConfig,ui=G.foundationToastShadowOptions;class hi extends G.Toast{}const mi=hi.compose(Object.assign({baseName:"toast",shadowOptions:ui,styles:ci,template:G.foundationToastTemplate},pi));class bi extends G.Toolbar{}const vi=bi.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,G.foundationToolbarTemplate)(e,a),styles:(e,a)=>u.css`
1883
+ `,hi=G.defaultToastConfig,mi=G.foundationToastShadowOptions;class bi extends G.Toast{}const vi=bi.compose(Object.assign({baseName:"toast",shadowOptions:mi,styles:ui,template:G.foundationToastTemplate},hi));class fi extends G.Toolbar{}const wi=fi.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,G.foundationToolbarTemplate)(e,a),styles:(e,a)=>u.css`
1882
1884
  ${(0,G.foundationToolbarStyles)(e,a)}
1883
- `,shadowOptions:G.foundationToolbarShadowOptions},G.defaultToolbarConfig));class fi extends G.Tooltip{}const wi=fi.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,G.foundationTooltipTemplate)(e,a),styles:(e,a)=>u.css`
1885
+ `,shadowOptions:G.foundationToolbarShadowOptions},G.defaultToolbarConfig));class yi extends G.Tooltip{}const xi=yi.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,G.foundationTooltipTemplate)(e,a),styles:(e,a)=>u.css`
1884
1886
  ${(0,G.foundationTooltipStyles)(e,a)}
1885
- `,shadowOptions:G.foundationTooltipShadowOptions},G.defaultTooltipConfig));class yi extends G.TreeItem{}const xi=yi.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,G.foundationTreeItemTemplate)(e,a),styles:(e,a)=>u.css`
1887
+ `,shadowOptions:G.foundationTooltipShadowOptions},G.defaultTooltipConfig));class ki extends G.TreeItem{}const zi=ki.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,G.foundationTreeItemTemplate)(e,a),styles:(e,a)=>u.css`
1886
1888
  ${(0,G.foundationTreeItemStyles)(e,a)}
1887
1889
  :host {
1888
1890
  --primary-gradient-angle: -113.5deg;
@@ -1910,11 +1912,11 @@
1910
1912
  background-size: cover;
1911
1913
  background-repeat: no-repeat;
1912
1914
  }
1913
- `,shadowOptions:G.foundationTreeItemShadowOptions},G.defaultTreeItemConfig));class ki extends G.TreeView{}const zi=ki.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,G.foundationTreeViewTemplate)(e,a),styles:(e,a)=>u.css`
1915
+ `,shadowOptions:G.foundationTreeItemShadowOptions},G.defaultTreeItemConfig));class Si extends G.TreeView{}const Ci=Si.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,G.foundationTreeViewTemplate)(e,a),styles:(e,a)=>u.css`
1914
1916
  ${(0,G.foundationTreeViewStyles)(e,a)}
1915
- `,shadowOptions:G.foundationTreeViewShadowOptions},G.defaultTreeViewConfig)),Si=u.html`
1917
+ `,shadowOptions:G.foundationTreeViewShadowOptions},G.defaultTreeViewConfig)),$i=u.html`
1916
1918
  ${(0,G.getPrefixedUrlInput)("zero")}
1917
- `;class Ci extends G.UrlInput{}const $i={zeroAccordion:Qe,zeroAccordionItem:qe,zeroActionsMenu:Ze,zeroAnchor:Da,zeroAnchoredRegion:Na,zeroAvatar:Ma,zeroBadge:ja,zeroBanner:Ga,zeroBreadcrumbItem:Va,zeroBreadcrumb:_a,zeroButton:Qa,zeroCalendar:qa,zeroCard:Za,zeroCategorizedMultiselect:tr,zeroCheckbox:ir,zeroCombobox:fr,zeroConnectionIndicator:yr,zeroDataGrid:Sr,zeroDesignSystemProvider:Nr,zeroDialog:Gr,zeroDatePicker:Ar,zeroDisclosure:_r,zeroDivider:Vr,zeroDropdownMenu:Qr,zeroErrorBoundary:Xr,zeroNotificationListener:oo,zeroErrorBanner:Zr,zeroErrorDialog:at,zeroFileUpload:lt,zeroFilter:dt,zeroFilterBar:ut,zeroFlexLayout:mt,zeroFlipper:vt,zeroFlyout:zt,zeroGridLayout:Ct,zeroGridLayoutItem:At,zeroHorizontalScroll:Tt,zeroIcon:Lt,zeroListbox:It,zeroListboxOption:Et,zeroMenu:Gt,zeroMenuItem:Ht,zeroModal:Jt,zeroMultiselect:ro,zeroNumberField:co,zeroProgress:uo,zeroProgressRing:bo,zeroRadio:fo,zeroRadioGroup:yo,zeroSearchBar:So,zeroSearchBarCombobox:$o,zeroSegmentedControl:Fo,zeroSegmentedItem:To,zeroSelect:Ro,zeroSkeleton:Lo,zeroSlider:Io,zeroSliderLabel:Eo,zeroSnackbar:_o,zeroStepper:Qo,zeroStepperTab:Jo,zeroStepperTabPanel:Ko,zeroSwitch:ei,zeroTab:ri,zeroTabPanel:oi,zeroTabs:ni,zeroTextArea:gi,zeroTextField:di,zeroToast:mi,zeroToolbar:vi,zeroTooltip:wi,zeroTreeItem:xi,zeroTreeView:zi,zeroUrlInput:Ci.compose(Object.assign({baseName:"url-input",template:Si,styles:(e,a)=>u.css`
1919
+ `;class Ai extends G.UrlInput{}const Fi={zeroAccordion:Qe,zeroAccordionItem:qe,zeroActionsMenu:Ze,zeroAnchor:Da,zeroAnchoredRegion:Na,zeroAvatar:Ma,zeroBadge:ja,zeroBanner:Ga,zeroBreadcrumbItem:Va,zeroBreadcrumb:_a,zeroButton:Qa,zeroCalendar:qa,zeroCard:Za,zeroCategorizedMultiselect:tr,zeroCheckbox:ir,zeroCombobox:fr,zeroConnectionIndicator:yr,zeroDataGrid:Sr,zeroDesignSystemProvider:Nr,zeroDialog:Gr,zeroDatePicker:Ar,zeroDisclosure:_r,zeroDivider:Vr,zeroDropdownMenu:Qr,zeroErrorBoundary:Xr,zeroNotificationListener:oo,zeroErrorBanner:Zr,zeroErrorDialog:at,zeroFileUpload:lt,zeroFilter:dt,zeroFilterBar:ut,zeroFlexLayout:mt,zeroFlipper:vt,zeroFlyout:zt,zeroGridLayout:Ct,zeroGridLayoutItem:At,zeroHorizontalScroll:Ot,zeroIcon:Lt,zeroListbox:It,zeroListboxOption:Et,zeroMenu:Gt,zeroMenuItem:Ht,zeroModal:Jt,zeroMultiselect:ro,zeroNumberField:co,zeroProgress:uo,zeroProgressRing:bo,zeroRadio:fo,zeroRadioGroup:yo,zeroSearchBar:So,zeroSearchBarCombobox:$o,zeroSegmentedControl:Fo,zeroSegmentedItem:Oo,zeroSelect:Ro,zeroSkeleton:Lo,zeroSlider:Io,zeroSliderLabel:Eo,zeroSnackbar:_o,zeroStackingIcons:Vo,zeroStepper:qo,zeroStepperTab:Ko,zeroStepperTabPanel:ei,zeroSwitch:ri,zeroTab:oi,zeroTabPanel:ni,zeroTabs:gi,zeroTextArea:di,zeroTextField:pi,zeroToast:vi,zeroToolbar:wi,zeroTooltip:xi,zeroTreeItem:zi,zeroTreeView:Ci,zeroUrlInput:Ai.compose(Object.assign({baseName:"url-input",template:$i,styles:(e,a)=>u.css`
1918
1920
  ${(0,G.foundationUrlInputStyles)(e,a)}
1919
1921
  a {
1920
1922
  color: ${ve.blue};
@@ -1924,23 +1926,23 @@
1924
1926
  a:hover {
1925
1927
  opacity: 100%;
1926
1928
  }
1927
- `,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ai,Fi,Oi=r(80249),Ti=r(87530),Di=r.n(Ti),Ri=r(79014),Ni=r.n(Ri);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(Ai||(Ai={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(Fi||(Fi={}));const Li=e=>`${e}-token-map`,Mi=(e,a)=>u.css`
1928
- .${Li(e)} {
1929
+ `,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ti,Oi,Di=r(80249),Ri=r(87530),Ni=r.n(Ri),Li=r(79014),Mi=r.n(Li);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(Ti||(Ti={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(Oi||(Oi={}));const Ii=e=>`${e}-token-map`,ji=(e,a)=>u.css`
1930
+ .${Ii(e)} {
1929
1931
  ${new G.CSSVarsTokenMapper(a)}
1930
1932
  }
1931
- `;var Ii;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(Ii||(Ii={}));const ji="__editedColumn",Ei="__errorColumn",Pi={},Bi=h.DI.createInterface((e=>e.instance(Pi)));var Gi;!function(e){e.camelCase="camelCase",e.capitalCase="capitalCase",e.dotCase="dotCase",e.headerCase="headerCase",e.noCase="noCase",e.paramCase="paramCase",e.pascalCase="pascalCase",e.pathCase="pathCase",e.sentenceCase="sentenceCase",e.snakeCase="snakeCase"}(Gi||(Gi={})),Di().extend(Ni());class Ui extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[ji]}}(0,Oi.__decorate)([u.observable],Ui.prototype,"value",void 0),(0,Oi.__decorate)([u.observable],Ui.prototype,"actualWidth",void 0);const _i=u.css`
1933
+ `;var Ei;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(Ei||(Ei={}));const Pi="__editedColumn",Bi="__errorColumn",Gi={},Ui=h.DI.createInterface((e=>e.instance(Gi)));var _i;!function(e){e.camelCase="camelCase",e.capitalCase="capitalCase",e.dotCase="dotCase",e.headerCase="headerCase",e.noCase="noCase",e.paramCase="paramCase",e.pascalCase="pascalCase",e.pathCase="pathCase",e.sentenceCase="sentenceCase",e.snakeCase="snakeCase"}(_i||(_i={})),Ni().extend(Mi());class Hi extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[Pi]}}(0,Di.__decorate)([u.observable],Hi.prototype,"value",void 0),(0,Di.__decorate)([u.observable],Hi.prototype,"actualWidth",void 0);const Vi=u.css`
1932
1934
  :host {
1933
1935
  display: flex;
1934
1936
  }
1935
- `,Hi=(e="foundation")=>u.html`
1937
+ `,Yi=(e="foundation")=>u.html`
1936
1938
  <${e}-text-field
1937
1939
  ${(0,u.ref)("input")}
1938
- :value=${e=>void 0===e.value||null===e.value?"":Di().utc(e.value).format(e.dateFormat)}
1940
+ :value=${e=>void 0===e.value||null===e.value?"":Ni().utc(e.value).format(e.dateFormat)}
1939
1941
  type=${e=>e.inputType}
1940
1942
  @input=${(e,a)=>e.changeHandler(a.event)}
1941
1943
  style="width: ${e=>e.actualWidth}px"
1942
1944
  ></${e}-text-field>
1943
- `,Vi=Ui.compose({baseName:"date-editor",styles:_i,template:Hi()});class Yi extends Ui{}const Qi=Yi.compose({baseName:"date-editor",styles:_i,template:Hi("zero")});class Wi extends h.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[ji]}}(0,Oi.__decorate)([u.observable],Wi.prototype,"params",void 0),(0,Oi.__decorate)([u.observable],Wi.prototype,"selectedOptions",void 0);const qi=u.css``,Ji=(e="foundation")=>u.html`
1945
+ `,Qi=Hi.compose({baseName:"date-editor",styles:Vi,template:Yi()});class Wi extends Hi{}const qi=Wi.compose({baseName:"date-editor",styles:Vi,template:Yi("zero")});class Ji extends h.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[Pi]}}(0,Di.__decorate)([u.observable],Ji.prototype,"params",void 0),(0,Di.__decorate)([u.observable],Ji.prototype,"selectedOptions",void 0);const Zi=u.css``,Ki=(e="foundation")=>u.html`
1944
1946
  <${e}-multiselect
1945
1947
  style="width: 100%"
1946
1948
  ?async=${e=>e.params.async}
@@ -1954,7 +1956,7 @@
1954
1956
  :datasourceConfig=${e=>e.params.datasourceOptions}
1955
1957
  ></multiselect-datasource>
1956
1958
  </${e}-multiselect>
1957
- `,Zi=Wi.compose({baseName:"multiselect-editor",styles:qi,template:Ji()});class Ki extends Wi{}const Xi=Ki.compose({baseName:"multiselect-editor",styles:qi,template:Ji("zero")});class en extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.combobox.open=!0}changeHandler(e){var a;this.value=null===(a=e.detail)||void 0===a?void 0:a.value}isCancelBeforeStart(){return!!this.params.data[ji]}}(0,Oi.__decorate)([u.observable],en.prototype,"params",void 0),(0,Oi.__decorate)([u.observable],en.prototype,"value",void 0),(0,Oi.__decorate)([u.observable],en.prototype,"actualWidth",void 0);const an=u.css``,rn=(e="foundation")=>u.html`
1959
+ `,Xi=Ji.compose({baseName:"multiselect-editor",styles:Zi,template:Ki()});class en extends Ji{}const an=en.compose({baseName:"multiselect-editor",styles:Zi,template:Ki("zero")});class rn extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.combobox.open=!0}changeHandler(e){var a;this.value=null===(a=e.detail)||void 0===a?void 0:a.value}isCancelBeforeStart(){return!!this.params.data[Pi]}}(0,Di.__decorate)([u.observable],rn.prototype,"params",void 0),(0,Di.__decorate)([u.observable],rn.prototype,"value",void 0),(0,Di.__decorate)([u.observable],rn.prototype,"actualWidth",void 0);const tn=u.css``,on=(e="foundation")=>u.html`
1958
1960
  <${e}-combobox
1959
1961
  style="width: ${e=>e.actualWidth}px"
1960
1962
  ${(0,u.ref)("combobox")}
@@ -1971,11 +1973,11 @@
1971
1973
  :initialSelectedValue=${e=>e.params.value}
1972
1974
  ></options-datasource>
1973
1975
  </${e}-combobox>
1974
- `,tn=en.compose({baseName:"select-editor",styles:an,template:rn()});class on extends en{}const nn=on.compose({baseName:"select-editor",styles:an,template:rn("zero")});class ln extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[ji]}}(0,Oi.__decorate)([u.observable],ln.prototype,"params",void 0),(0,Oi.__decorate)([u.observable],ln.prototype,"value",void 0),(0,Oi.__decorate)([u.observable],ln.prototype,"actualWidth",void 0);const gn=u.css`
1976
+ `,nn=rn.compose({baseName:"select-editor",styles:tn,template:on()});class ln extends rn{}const gn=ln.compose({baseName:"select-editor",styles:tn,template:on("zero")});class sn extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[Pi]}}(0,Di.__decorate)([u.observable],sn.prototype,"params",void 0),(0,Di.__decorate)([u.observable],sn.prototype,"value",void 0),(0,Di.__decorate)([u.observable],sn.prototype,"actualWidth",void 0);const dn=u.css`
1975
1977
  :host {
1976
1978
  display: flex;
1977
1979
  }
1978
- `,sn=(e="foundation")=>u.html`
1980
+ `,cn=(e="foundation")=>u.html`
1979
1981
  <${e}-number-field
1980
1982
  ${(0,u.ref)("input")}
1981
1983
  withFormatting=${e=>e.params.withFormatting}
@@ -1987,11 +1989,11 @@
1987
1989
  hideStep
1988
1990
  style="width: ${e=>e.actualWidth}px"
1989
1991
  ></${e}-number-field>
1990
- `,dn=ln.compose({baseName:"number-editor",styles:gn,template:sn()});class cn extends ln{}const pn=cn.compose({baseName:"number-editor",styles:gn,template:sn("zero")});class un extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[ji]}}(0,Oi.__decorate)([u.observable],un.prototype,"params",void 0),(0,Oi.__decorate)([u.observable],un.prototype,"value",void 0),(0,Oi.__decorate)([u.observable],un.prototype,"actualWidth",void 0);const hn=u.css`
1992
+ `,pn=sn.compose({baseName:"number-editor",styles:dn,template:cn()});class un extends sn{}const hn=un.compose({baseName:"number-editor",styles:dn,template:cn("zero")});class mn extends h.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[Pi]}}(0,Di.__decorate)([u.observable],mn.prototype,"params",void 0),(0,Di.__decorate)([u.observable],mn.prototype,"value",void 0),(0,Di.__decorate)([u.observable],mn.prototype,"actualWidth",void 0);const bn=u.css`
1991
1993
  :host {
1992
1994
  display: flex;
1993
1995
  }
1994
- `,mn=(e="foundation")=>u.html`
1996
+ `,vn=(e="foundation")=>u.html`
1995
1997
  <${e}-text-field
1996
1998
  ${(0,u.ref)("input")}
1997
1999
  :value=${e=>void 0===e.value?"":e.value}
@@ -2000,16 +2002,16 @@
2000
2002
  style="width: ${e=>e.actualWidth}px"
2001
2003
  >
2002
2004
  </${e}-text-field>
2003
- `,bn=un.compose({baseName:"string-editor",styles:hn,template:mn()});class vn extends un{}const fn=vn.compose({baseName:"string-editor",styles:hn,template:mn("zero")});class wn extends h.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,Oi.__decorate)([u.observable],wn.prototype,"valueFormatted",void 0);const yn=u.css`
2005
+ `,fn=mn.compose({baseName:"string-editor",styles:bn,template:vn()});class wn extends mn{}const yn=wn.compose({baseName:"string-editor",styles:bn,template:vn("zero")});class xn extends h.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,Di.__decorate)([u.observable],xn.prototype,"valueFormatted",void 0);const kn=u.css`
2004
2006
  :host {
2005
2007
  display: flex;
2006
2008
  justify-content: space-between;
2007
2009
  align-items: center;
2008
2010
  }
2009
- `,xn=(e="foundation")=>u.html`
2011
+ `,zn=(e="foundation")=>u.html`
2010
2012
  <span>${e=>e.valueFormatted}</span>
2011
2013
  <${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
2012
- `,kn=wn.compose({baseName:"editable-renderer",styles:yn,template:xn()});class zn extends wn{}const Sn=zn.compose({baseName:"editable-renderer",styles:yn,template:xn("zero")});var Cn=r(59783);const $n=(0,w.createLogger)("grid-pro");class An extends h.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Cn.VDZ.ENTER&&this.clickHandler()})))}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){$n.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Oi.__decorate)([u.observable],An.prototype,"params",void 0),(0,Oi.__decorate)([u.observable],An.prototype,"pendingAction",void 0);const{create:Fn}=h.DesignToken,On=(Fn("action-height-multiplier").withDefault("0.6px"),u.css`
2014
+ `,Sn=xn.compose({baseName:"editable-renderer",styles:kn,template:zn()});class Cn extends xn{}const $n=Cn.compose({baseName:"editable-renderer",styles:kn,template:zn("zero")});var An=r(59783);const Fn=(0,w.createLogger)("grid-pro");class Tn extends h.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===An.VDZ.ENTER&&this.clickHandler()})))}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Fn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Di.__decorate)([u.observable],Tn.prototype,"params",void 0),(0,Di.__decorate)([u.observable],Tn.prototype,"pendingAction",void 0);const{create:On}=h.DesignToken,Dn=(On("action-height-multiplier").withDefault("0.6px"),u.css`
2013
2015
  .action-container {
2014
2016
  align-items: center;
2015
2017
  display: flex;
@@ -2024,8 +2026,8 @@
2024
2026
  var(--action-height-multiplier)
2025
2027
  );
2026
2028
  }
2027
- `),Tn=An.compose({baseName:"grid-pro-action-renderer",styles:u.css`
2028
- ${On}
2029
+ `),Rn=Tn.compose({baseName:"grid-pro-action-renderer",styles:u.css`
2030
+ ${Dn}
2029
2031
  `,template:u.html`
2030
2032
  <div class="action-container" part="action-container">
2031
2033
  <foundation-button
@@ -2035,8 +2037,8 @@
2035
2037
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
2036
2038
  appearance="${e=>e.params.appearance}"
2037
2039
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
2038
- </div>`});class Dn extends An{}const Rn=Dn.compose({baseName:"grid-pro-action-renderer",styles:u.css`
2039
- ${On}
2040
+ </div>`});class Nn extends Tn{}const Ln=Nn.compose({baseName:"grid-pro-action-renderer",styles:u.css`
2041
+ ${Dn}
2040
2042
  `,template:u.html`
2041
2043
  <div class="action-container" part="action-container">
2042
2044
  <zero-button
@@ -2053,29 +2055,29 @@
2053
2055
  `:e.params.actionName}
2054
2056
  </zero-button>
2055
2057
  </div>
2056
- `});class Nn extends h.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Oi.__decorate)([u.observable],Nn.prototype,"params",void 0);const Ln=Nn.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
2058
+ `});class Mn extends h.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Di.__decorate)([u.observable],Mn.prototype,"params",void 0);const In=Mn.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
2057
2059
  <foundation-actions-menu
2058
2060
  name="${e=>e.params.headerName}"
2059
2061
  :definition=${e=>e.params}
2060
2062
  ></foundation-actions-menu>
2061
- `});class Mn extends Nn{}const In=Mn.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
2063
+ `});class jn extends Mn{}const En=jn.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
2062
2064
  <zero-actions-menu
2063
2065
  name="${e=>e.params.headerName}"
2064
2066
  :definition=${e=>e.params}
2065
2067
  ></zero-actions-menu>
2066
- `});class jn extends h.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:Cn.zW2.EVENT_CELL_EDITING_STARTED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t};this.params.api.dispatchEvent(o);const i=this.params.node.setDataValue(this.params.column,this.selected,"edit"),n={type:Cn.zW2.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[ji]}}(0,Oi.__decorate)([u.observable],jn.prototype,"params",void 0),(0,Oi.__decorate)([u.observable],jn.prototype,"selected",void 0);const En=u.css`
2068
+ `});class Pn extends h.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:An.zW2.EVENT_CELL_EDITING_STARTED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t};this.params.api.dispatchEvent(o);const i=this.params.node.setDataValue(this.params.column,this.selected,"edit"),n={type:An.zW2.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[Pi]}}(0,Di.__decorate)([u.observable],Pn.prototype,"params",void 0),(0,Di.__decorate)([u.observable],Pn.prototype,"selected",void 0);const Bn=u.css`
2067
2069
  :host {
2068
2070
  align-center: center;
2069
2071
  display: flex;
2070
2072
  height: 100%;
2071
2073
  }
2072
- `,Pn=(e="foundation")=>{const a=`${e}-checkbox`;return u.html`
2074
+ `,Gn=(e="foundation")=>{const a=`${e}-checkbox`;return u.html`
2073
2075
  <${a}
2074
2076
  @change=${(e,a)=>e.changeHandler(a.event)}
2075
2077
  :checked=${e=>e.selected}
2076
2078
  ?disabled=${e=>!e.params.colDef.editable}
2077
2079
  ></${a}>
2078
- `},Bn=jn.compose({baseName:"boolean-renderer",styles:En,template:Pn()});class Gn extends jn{}const Un=Gn.compose({baseName:"boolean-renderer",styles:En,template:Pn("zero")});var _n=r(18471);const Hn=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class Vn extends h.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Hn(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Oi.__decorate)([u.observable],Vn.prototype,"textValue",void 0),(0,Oi.__decorate)([u.observable],Vn.prototype,"params",void 0);const Yn=u.css`
2080
+ `},Un=Pn.compose({baseName:"boolean-renderer",styles:Bn,template:Gn()});class _n extends Pn{}const Hn=_n.compose({baseName:"boolean-renderer",styles:Bn,template:Gn("zero")});var Vn=r(18471);const Yn=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class Qn extends h.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Yn(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Di.__decorate)([u.observable],Qn.prototype,"textValue",void 0),(0,Di.__decorate)([u.observable],Qn.prototype,"params",void 0);const Wn=u.css`
2079
2081
  :host {
2080
2082
  display: flex;
2081
2083
  width: 100%;
@@ -2085,15 +2087,15 @@
2085
2087
  .text-renderer {
2086
2088
  width: 100%;
2087
2089
  }
2088
- `,Qn=(e="foundation")=>{const a=`${e}-text-field`;return u.html`
2090
+ `,qn=(e="foundation")=>{const a=`${e}-text-field`;return u.html`
2089
2091
  <${a}
2090
2092
  ${(0,u.ref)("textField")}
2091
2093
  type="text"
2092
2094
  class="text-renderer"
2093
- :value="${(0,_n.Z)((e=>e.textValue))}"
2095
+ :value="${(0,Vn.Z)((e=>e.textValue))}"
2094
2096
  @change="${(e,a)=>e.textChanged(a.event)}"
2095
2097
  ></${a}>
2096
- `},Wn=Vn.compose({baseName:"grid-pro-text-renderer",styles:Yn,template:Qn()});class qn extends Vn{}const Jn=Yn,Zn=Qn,Kn=qn.compose({baseName:"grid-text-renderer",styles:Jn,template:Zn()});const Xn=class extends qn{}.compose({baseName:"grid-text-renderer",styles:Jn,template:Zn("zero")});class el extends h.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Hn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Oi.__decorate)([u.observable],el.prototype,"params",void 0),(0,Oi.__decorate)([u.observable],el.prototype,"value",void 0);const al=u.css`
2098
+ `},Jn=Qn.compose({baseName:"grid-pro-text-renderer",styles:Wn,template:qn()});class Zn extends Qn{}const Kn=Wn,Xn=qn,el=Zn.compose({baseName:"grid-text-renderer",styles:Kn,template:Xn()});const al=class extends Zn{}.compose({baseName:"grid-text-renderer",styles:Kn,template:Xn("zero")});class rl extends h.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Yn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Di.__decorate)([u.observable],rl.prototype,"params",void 0),(0,Di.__decorate)([u.observable],rl.prototype,"value",void 0);const tl=u.css`
2097
2099
  :host,
2098
2100
  .select-renderer,
2099
2101
  zero-option,
@@ -2102,7 +2104,7 @@
2102
2104
  max-width: var(--select-renderer-max-width);
2103
2105
  min-width: 100%;
2104
2106
  }
2105
- `,rl=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return u.html`
2107
+ `,ol=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return u.html`
2106
2108
  <${a}
2107
2109
  class="select-renderer"
2108
2110
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -2118,15 +2120,15 @@
2118
2120
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
2119
2121
  `)}
2120
2122
  </${a}>
2121
- `},tl=el.compose({baseName:"select-renderer",styles:al,template:rl()});const ol=class extends el{}.compose({baseName:"select-renderer",styles:al,template:rl("zero")});var il=r(89861),nl=r(86534),ll=r(9492);const gl=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,ll.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,ll.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,ll.__classPrivateFieldGet)(this,r,"f")._key&&!((0,ll.__classPrivateFieldGet)(this,r,"f").dragging||!(0,ll.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,ll.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,ll.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,ll.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,ll.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,ll.__classPrivateFieldGet)(this,o,"f")&&((0,ll.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,ll.__classPrivateFieldGet)(this,r,"f").dragging||!(0,ll.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,ll.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,ll.__classPrivateFieldGet)(this,r,"f")._key&&(0,ll.__classPrivateFieldSet)(this,r,(0,ll.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,ll.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,ll.__classPrivateFieldGet)(this,t,"f")!==(0,ll.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,ll.__classPrivateFieldSet)(this,t,null!==(a=(0,ll.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,ll.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,ll.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,ll.__classPrivateFieldSet)(this,t,null!==(o=(0,ll.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,ll.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[sl])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,ll.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},sl=Symbol("layout-cache-document");var dl=r(75951),cl=r(9770),pl=r(97025),ul=r(40001),hl=r.n(ul);const ml=u.html`
2123
+ `},il=rl.compose({baseName:"select-renderer",styles:tl,template:ol()});const nl=class extends rl{}.compose({baseName:"select-renderer",styles:tl,template:ol("zero")});var ll=r(89861),gl=r(86534),sl=r(9492);const dl=e=>{var a,r,t,o,i,n,l,g,s;return s=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,sl.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,sl.__classPrivateFieldGet)(this,r,"f")._key&&!((0,sl.__classPrivateFieldGet)(this,r,"f").dragging||!(0,sl.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,sl.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,sl.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,sl.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,sl.__classPrivateFieldGet)(this,o,"f")&&((0,sl.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,sl.__classPrivateFieldGet)(this,r,"f").dragging||!(0,sl.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,sl.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,sl.__classPrivateFieldGet)(this,r,"f")._key&&(0,sl.__classPrivateFieldSet)(this,r,(0,sl.__classPrivateFieldGet)(this,a,"m",g).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,sl.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,sl.__classPrivateFieldGet)(this,t,"f")!==(0,sl.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,sl.__classPrivateFieldSet)(this,t,null!==(a=(0,sl.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,sl.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,sl.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,sl.__classPrivateFieldSet)(this,t,null!==(o=(0,sl.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,sl.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[cl])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,sl.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},cl=Symbol("layout-cache-document");var pl=r(75951),ul=r(9770),hl=r(97025),ml=r(40001),bl=r.n(ml);const vl=u.html`
2122
2124
  <template>
2123
2125
  <slot ${(0,u.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2124
2126
  </template>
2125
- `;let bl=class extends h.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,Oi.__decorate)([u.observable],bl.prototype,"renderer",void 0),(0,Oi.__decorate)([u.observable],bl.prototype,"rendererParams",void 0),(0,Oi.__decorate)([u.observable],bl.prototype,"slottedRenderer",void 0),bl=(0,Oi.__decorate)([(0,u.customElement)({name:"grid-pro-cell",template:ml})],bl);const vl=u.html`
2127
+ `;let fl=class extends h.FoundationElement{connectedCallback(){super.connectedCallback();const e=this.parentElement;this.renderer&&(e.definition.cellRenderer=this.renderer),this.rendererParams&&(e.definition.cellRendererParams=this.rendererParams)}init(e){this.rendererParams=e}getGui(){return"string"!=typeof this.renderer?this.renderer(this.rendererParams):this}destroy(){}refresh(e){return!1}slottedAgRendererChanged(){}};(0,Di.__decorate)([u.observable],fl.prototype,"renderer",void 0),(0,Di.__decorate)([u.observable],fl.prototype,"rendererParams",void 0),(0,Di.__decorate)([u.observable],fl.prototype,"slottedRenderer",void 0),fl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-cell",template:vl})],fl);const wl=u.html`
2126
2128
  <template>
2127
2129
  <slot ${(0,u.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2128
2130
  </template>
2129
- `;let fl=class extends h.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,Oi.__decorate)([u.observable],fl.prototype,"slottedAgCell",void 0),(0,Oi.__decorate)([u.observable],fl.prototype,"definition",void 0),fl=(0,Oi.__decorate)([(0,u.customElement)({name:"grid-pro-column",template:vl})],fl);var wl,yl=r(82940),xl=r(32449),kl=r(9162),zl=r(5127),Sl=r(83123),Cl=r(35991),$l=r(6852),Al=r(26714),Fl=r(2480),Ol=r(71452),Tl=r(99449),Dl=r(30526),Rl=r(61080);class Nl extends h.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=yl.WJ.MAX_ROWS_250,this.maxView=yl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?yl.WJ.REQUEST_SERVER_ROW_ID:yl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===yl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===yl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?yl.WJ.REQUEST_SERVER_ROW_ID:yl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,Oi.__decorate)([s.lj],Nl.prototype,"connect",void 0),(0,Oi.__decorate)([u.observable],Nl.prototype,"deferredGridOptions",void 0),(0,Oi.__decorate)([u.observable],Nl.prototype,"deferredColumnStates",void 0),(0,Oi.__decorate)([u.observable],Nl.prototype,"rowDataMapper",void 0),(0,Oi.__decorate)([u.attr],Nl.prototype,"criteria",void 0),(0,Oi.__decorate)([u.attr],Nl.prototype,"fields",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"is-snapshot"})],Nl.prototype,"isSnapshot",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"max-rows"})],Nl.prototype,"maxRows",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"max-view"})],Nl.prototype,"maxView",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"moving-view"})],Nl.prototype,"movingView",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"order-by"})],Nl.prototype,"orderBy",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"resource-name"})],Nl.prototype,"resourceName",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean"})],Nl.prototype,"reverse",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"row-id"})],Nl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(wl||(wl={}));class Ll extends Nl{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},wl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},wl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},wl.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(wl)){if(!this.rowDataMapper)return e;const r={};return a.includes(wl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(wl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(wl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Ml{constructor(){this.rowData=new Map}}var Il=r(21607);function jl({value:e}){return(0,Il.D_)(e)}function El({value:e}){return(0,Il.Lx)(e)}let Pl=class extends(gl(Ll)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=yl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Al.X(new Map)}criteriaChanged(e,a){const r=e!==(0,xl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;u.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;u.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,Oi.__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 $n.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===yl._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,Oi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Ol.T)(1),(0,Tl.b)(r),(0,Dl.b)((e=>$n.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else $n.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 Al.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;return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),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,Oi.__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,Oi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return $n.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 $n.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Rl.K)((e=>(this.handleErrors(e.receivedMessage),Fl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===kl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,zl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,zl.$)(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 $n.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){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case Sl.r.DATE:case Sl.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 Sl.r.STRING:r.cellEditor=Ii.stringEditor;break;case Sl.r.NUMBER:r.cellEditor=Ii.numberEditor,r.filter="agNumberColumnFilter";break;case Sl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ii.boolean,r.cellEditor=Ii.boolean);break;case Sl.r.DATE:r.valueFormatter=jl,r.cellEditor=Ii.dateEditor,r.filter="agDateColumnFilter";break;case Sl.r.DATETIME:r.valueFormatter=El,r.filter="agDateColumnFilter",r.cellEditor=Ii.dateEditor,r.cellEditorParams={withTime:!0};break;case Sl.r.ENUM:e.enumOptions?(r.cellEditor=Ii.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):$n.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 yield 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,xl.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,Oi.__decorate)([Cl.g],Pl.prototype,"auth",void 0),(0,Oi.__decorate)([$l.Yh],Pl.prototype,"datasource",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"polling-interval"})],Pl.prototype,"pollingInterval",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"disable-polling"})],Pl.prototype,"disablePolling",void 0),(0,Oi.__decorate)([u.observable],Pl.prototype,"request",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Pl.prototype,"restartOnReconnection",void 0),Pl=(0,Oi.__decorate)([(0,u.customElement)({name:"grid-pro-genesis-datasource"})],Pl);let Bl=class extends Pl{};Bl=(0,Oi.__decorate)([(0,u.customElement)({name:"grid-pro-client-side-datasource"})],Bl);var Gl=r(66306),Ul=r(52078);function _l(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 Hl(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 Vl extends Ml{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,r;return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return $n.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),$n.debug("Available indexes:",a),$n.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Ul.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===kl.Cs.LOGOFF_ACK||t===kl.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,zl.$)(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);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>$n.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}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,Oi.__decorate)([Cl.g],Vl.prototype,"auth",void 0),(0,Oi.__decorate)([s.lj],Vl.prototype,"connect",void 0);let Yl=class extends(gl(Ll)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,xl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;u.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;u.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}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,Oi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>$n.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Gl.C)(e);const a=(0,Gl.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Vl({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});$n.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}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));$n.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 $n.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Oi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===kl.Cs.QUERY_UPDATE&&e.ROW){const r=(0,zl.$)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>$n.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){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case Sl.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 Sl.r.DATE:case Sl.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 Sl.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 Sl.r.NUMBER:r.cellEditor=Ii.numberEditor;break;case Sl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ii.boolean,r.cellEditor=Ii.boolean);break;case Sl.r.DATE:r.valueFormatter=jl;break;case Sl.r.DATETIME:r.valueFormatter=El;break;case Sl.r.ENUM:r.cellEditor=Ii.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:Hl(e.type),filter:_l(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,Oi.__decorate)([(0,u.attr)({mode:"boolean"})],Yl.prototype,"pagination",void 0),Yl=(0,Oi.__decorate)([(0,u.customElement)({name:"grid-pro-server-side-datasource"})],Yl);const Ql='\n @font-face {\n font-family: "agGridAlpine";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5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Wl='\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+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r4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',ql={[Fi.alpine]:Ql,[Fi.alpineDark]:Ql,[Fi.balham]:Wl,[Fi.balhamDark]:Wl,[Fi.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9ZeXZ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2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Jl=Ql,Zl=u.css`
2131
+ `;let yl=class extends h.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,Di.__decorate)([u.observable],yl.prototype,"slottedAgCell",void 0),(0,Di.__decorate)([u.observable],yl.prototype,"definition",void 0),yl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-column",template:wl})],yl);var xl,kl=r(82940),zl=r(32449),Sl=r(9162),Cl=r(5127),$l=r(83123),Al=r(35991),Fl=r(6852),Tl=r(26714),Ol=r(2480),Dl=r(71452),Rl=r(99449),Nl=r(30526),Ll=r(61080);class Ml extends h.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=kl.WJ.MAX_ROWS_250,this.maxView=kl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?kl.WJ.REQUEST_SERVER_ROW_ID:kl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===kl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===kl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?kl.WJ.REQUEST_SERVER_ROW_ID:kl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,Di.__decorate)([s.lj],Ml.prototype,"connect",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"deferredGridOptions",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"deferredColumnStates",void 0),(0,Di.__decorate)([u.observable],Ml.prototype,"rowDataMapper",void 0),(0,Di.__decorate)([u.attr],Ml.prototype,"criteria",void 0),(0,Di.__decorate)([u.attr],Ml.prototype,"fields",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"is-snapshot"})],Ml.prototype,"isSnapshot",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"max-rows"})],Ml.prototype,"maxRows",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"max-view"})],Ml.prototype,"maxView",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"moving-view"})],Ml.prototype,"movingView",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"order-by"})],Ml.prototype,"orderBy",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"resource-name"})],Ml.prototype,"resourceName",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean"})],Ml.prototype,"reverse",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"row-id"})],Ml.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(xl||(xl={}));class Il extends Ml{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},xl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},xl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},xl.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(xl)){if(!this.rowDataMapper)return e;const r={};return a.includes(xl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(xl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(xl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class jl{constructor(){this.rowData=new Map}}var El=r(21607);function Pl({value:e}){return(0,El.D_)(e)}function Bl({value:e}){return(0,El.Lx)(e)}let Gl=class extends(dl(Il)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=kl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Tl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,zl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;u.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;u.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,Di.__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 Fn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===kl._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,Di.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,Dl.T)(1),(0,Rl.b)(r),(0,Nl.b)((e=>Fn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Fn.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 Tl.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;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),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,Di.__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,Di.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Fn.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 Fn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Ll.K)((e=>(this.handleErrors(e.receivedMessage),Ol.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,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 Fn.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){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case $l.r.DATE:case $l.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 $l.r.STRING:r.cellEditor=Ei.stringEditor;break;case $l.r.NUMBER:r.cellEditor=Ei.numberEditor,r.filter="agNumberColumnFilter";break;case $l.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ei.boolean,r.cellEditor=Ei.boolean);break;case $l.r.DATE:r.valueFormatter=Pl,r.cellEditor=Ei.dateEditor,r.filter="agDateColumnFilter";break;case $l.r.DATETIME:r.valueFormatter=Bl,r.filter="agDateColumnFilter",r.cellEditor=Ei.dateEditor,r.cellEditorParams={withTime:!0};break;case $l.r.ENUM:e.enumOptions?(r.cellEditor=Ei.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Fn.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 yield 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,zl.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,Di.__decorate)([Al.g],Gl.prototype,"auth",void 0),(0,Di.__decorate)([Fl.Yh],Gl.prototype,"datasource",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"polling-interval"})],Gl.prototype,"pollingInterval",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"disable-polling"})],Gl.prototype,"disablePolling",void 0),(0,Di.__decorate)([u.observable],Gl.prototype,"request",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Gl.prototype,"restartOnReconnection",void 0),Gl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-genesis-datasource"})],Gl);let Ul=class extends Gl{};Ul=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-client-side-datasource"})],Ul);var _l=r(66306),Hl=r(52078);function Vl(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 Yl(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 Ql extends jl{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,r;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const t=e.request.filterModel,o=Object.keys(t).length>0,i=0===Object.keys(t).length,n=JSON.stringify(t)!==JSON.stringify(this.currentFilterModel);if(n||o){if(i&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.restartSubscription(e));if(n&&o)return this.currentFilterModel=t,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.restartSubscription(e))}const l=e.request.sortModel;if(l.length!==(null===(a=this.currentSortModel)||void 0===a?void 0:a.length)||l.length>0){if(0===l.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.restartSubscription(e));if(l.length>0){const a=l[0].colId,t=l[0].sort,o=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!o){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),t=function(e){const a=[];function r(e){for(const r of e)null!==r&&a.push(r)}for(const[a,t]of e)null!==a&&null!==t&&r(t);return a}(this.resourceIndexes);return Fn.warn("The FIELD/column (${coldIdBeingSorted}) being sorted is not part of an INDEX, required for the [orderBy] operation. See https://learn.genesis.global/docs/database/data-types/index-entities/"),Fn.debug("Available indexes:",a),Fn.debug("Columns that can be sorted with the available indexes:",t),null===(r=e.api)||void 0===r||r.refreshServerSide({purge:!0}),void e.fail()}if(JSON.stringify(l)!==JSON.stringify(this.currentSortModel))return this.currentSortModel=l,this.resourceParams.ORDER_BY=o.orderBy,this.resourceParams.REVERSE="desc"===t,void(yield this.restartSubscription(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream.pipe((0,Hl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Sl.Cs.LOGOFF_ACK||t===Sl.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);const o={rowData:Array.from(this.sortMapByNumericKey(this.rowData).values()),rowCount:this.pagination&&!this.resourceParams.CRITERIA_MATCH?Math.min(this.server_ROWS_COUNT,this.maxView):void 0};this.calculatedRowsCount=this.client_ROWS_COUNT,0===this.calculatedRowsCount&&(this.calculatedRowsCount=e.request.endRow),e.request.endRow>this.maxView||e.request.endRow>this.calculatedRowsCount?o.rowCount=this.calculatedRowsCount:e.request.endRow===this.server_ROWS_COUNT?o.rowCount=this.server_ROWS_COUNT:!this.moreRows&&this.server_ROWS_COUNT>this.calculatedRowsCount&&(o.rowCount=this.calculatedRowsCount),e.success(o)}))}))}sortMapByNumericKey(e){const a=Array.from(e.entries()).sort((([e],[a])=>+a-+e));return new Map(a)}dataLogoff(){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){this.streamSourceRef&&this.auth.isLoggedIn&&(yield this.connect.dataLogoff(this.streamSourceRef)),this.streamSourceRef=void 0}))}restartSubscription(e){var a;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){yield this.dataLogoff(),this.rowData=new Map,this.client_ROWS_COUNT=0;this.dataserverStream=void 0,this.dataserverStream=this.connect.stream(this.resourceName,(e=>e),(e=>Fn.error(e)),this.resourceParams),null===(a=e.api)||void 0===a||a.refreshServerSide({purge:!0}),e.fail()}))}getOrderByAndToBeSortedColIds(e,a){for(const[r,t]of e.entries()){const e=t.findIndex((e=>e===a));if(-1!==e){return{orderBy:r,toBeSorted:[...t].splice(e,1)}}}}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,Di.__decorate)([Al.g],Ql.prototype,"auth",void 0),(0,Di.__decorate)([s.lj],Ql.prototype,"connect",void 0);let Wl=class extends(dl(Il)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,zl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){this.ssrmDatasource.dataLogoff(),this.clearRowData(null),this.ssrmDatasource=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0}),null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.showLoadingOverlay(),this.init()}))}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;u.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;u.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}deinit(){var e;this.clearRowData(),this.ssrmDatasource=void 0,this.originalFieldDef=void 0,null===(e=this.agGrid.gridApi)||void 0===e||e.refreshServerSide({purge:!0})}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,Di.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Fn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,_l.C)(e);const a=(0,_l.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Ql({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});Fn.warn("Application not connected, falling back to local columnDefs/rowData")}restart(){this.deinit(),this.init()}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),this.agTransaction={remove:[]},null===(t=this.agGrid.gridApi)||void 0===t||t.forEachNode((e=>{this.agTransaction.remove.push(e.data)})),null===(o=this.agGrid.gridApi)||void 0===o||o.applyServerSideTransaction(this.agTransaction),this.agTransaction=void 0}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));Fn.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 Fn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Di.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Sl.Cs.QUERY_UPDATE&&e.ROW){const r=(0,Cl.$)(e);if(this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(r.inserts),this.handleStreamDeletesTemp(r.deletes),this.handleStreamUpdates(r.updates),this.ssrmDatasource.client_ROWS_COUNT+=null!==(a=r.inserts.length)&&void 0!==a?a:0,e.SEQUENCE_ID>1){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:1,MAX_VIEW:1,CRITERIA_MATCH:this.criteria});this.ssrmDatasource.server_ROWS_COUNT=e.ROWS_COUNT}this.applyAllAgTransactions()}}))),(e=>Fn.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){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case $l.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 $l.r.DATE:case $l.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 $l.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 $l.r.NUMBER:r.cellEditor=Ei.numberEditor;break;case $l.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ei.boolean,r.cellEditor=Ei.boolean);break;case $l.r.DATE:r.valueFormatter=Pl;break;case $l.r.DATETIME:r.valueFormatter=Bl;break;case $l.r.ENUM:r.cellEditor=Ei.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:Yl(e.type),filter:Vl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,Di.__decorate)([(0,u.attr)({mode:"boolean"})],Wl.prototype,"pagination",void 0),Wl=(0,Di.__decorate)([(0,u.customElement)({name:"grid-pro-server-side-datasource"})],Wl);const ql='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAA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cU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Jl='\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/bccgSgISTwjfXQjUrV14PoMQtm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: normal;\n }\n',Zl={[Oi.alpine]:ql,[Oi.alpineDark]:ql,[Oi.balham]:Jl,[Oi.balhamDark]:Jl,[Oi.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9ZeXZaQERzutqaDhP33SSojDkSuy0tGhJK4TKK3QzI7m73upywg2//HcOv8HYgNuxzN9yny6wS+O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/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Kl=ql,Xl=u.css`
2130
2132
  .ag-icon {
2131
2133
  font-family: var(--ag-icon-font-family);
2132
2134
  font-size: var(--ag-icon-size);
@@ -9303,7 +9305,7 @@
9303
9305
  input[class^='ag-'][type='range']:disabled {
9304
9306
  opacity: 0.5;
9305
9307
  }
9306
- `,Kl=u.css`
9308
+ `,eg=u.css`
9307
9309
  .ag-dnd-ghost {
9308
9310
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9309
9311
  border: solid 1px;
@@ -9320,7 +9322,7 @@
9320
9322
  overflow: hidden;
9321
9323
  text-overflow: ellipsis;
9322
9324
  }
9323
- `,Xl=u.css`
9325
+ `,ag=u.css`
9324
9326
  .ag-theme-alpine,
9325
9327
  .ag-theme-alpine-dark {
9326
9328
  --ag-alpine-active-color: #2196f3;
@@ -9770,7 +9772,7 @@
9770
9772
  .ag-theme-alpine-dark {
9771
9773
  color-scheme: dark;
9772
9774
  }
9773
- `,eg=u.css`
9775
+ `,rg=u.css`
9774
9776
  .ag-theme-balham,
9775
9777
  .ag-theme-balham-dark {
9776
9778
  --ag-balham-active-color: #0091ea;
@@ -10040,7 +10042,7 @@
10040
10042
  .ag-theme-balham-dark {
10041
10043
  color-scheme: dark;
10042
10044
  }
10043
- `,ag=u.css`
10045
+ `,tg=u.css`
10044
10046
  .ag-theme-material {
10045
10047
  --ag-material-primary-color: #3f51b5;
10046
10048
  --ag-material-accent-color: #ff4081;
@@ -10305,14 +10307,14 @@
10305
10307
  .ag-theme-material .ag-picker-field-wrapper:focus {
10306
10308
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10307
10309
  }
10308
- `,rg=u.css`
10309
- ${Zl}
10310
- ${Kl}
10310
+ `,og=u.css`
10311
10311
  ${Xl}
10312
10312
  ${eg}
10313
10313
  ${ag}
10314
- `,tg=u.css`
10315
10314
  ${rg}
10315
+ ${tg}
10316
+ `,ig=u.css`
10317
+ ${og}
10316
10318
  :host {
10317
10319
  width: 100%;
10318
10320
  height: 100%;
@@ -10339,14 +10341,14 @@
10339
10341
  .ag-cell-inline-editing {
10340
10342
  height: inherit !important;
10341
10343
  }
10342
- `,og=u.html`
10344
+ `,ng=u.html`
10343
10345
  <template>
10344
10346
  <span part="grid" class="${e=>e.classNames}">
10345
10347
  <slot name="grid" ${(0,u.ref)("gridSlot")}></slot>
10346
10348
  <slot></slot>
10347
10349
  </span>
10348
10350
  </template>
10349
- `;var ig=r(75527);class ng{getColumnState(e){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,Oi.__decorate)([ig.z],ng.prototype,"session",void 0);const lg=h.DI.createInterface((e=>e.singleton(ng)));class gg{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}}const sg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function dg(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}Cn.O3h.registerModules([nl.jM,il.I]);class cg extends(gl(h.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,cl.A)(Li(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=Jl,this.columnComponentName="grid-pro-column",this.theme=Fi.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Cn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[sg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),Cn.plv.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}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&&Cn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(sg(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={[Ii.action]:An,[Ii.actionsMenu]:Nn,[Ii.boolean]:jn,[Ii.editable]:wn,[Ii.selectEditor]:en,[Ii.numberEditor]:ln,[Ii.multiselectEditor]:Wi,[Ii.dateEditor]:Ui,[Ii.stringEditor]:un};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(){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield 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=hl()(this.saveColumnState.bind(this),400),r=this.globalEventListener.bind(this),t=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,defaultColDef:n,onGridReady:l,onFirstDataRendered:g}=e,s=(0,Oi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},n),components:this.combineAllGridComponents(i),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,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),l&&l(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),g&&g(e)},onColumnPinned:t,onColumnResized:t,onColumnMoved:t,onDisplayedColumnsChanged:t,onFilterChanged:t,onGridSizeChanged:t,onSortChanged:t}),s);this.gridProDatasource?(d.columnDefs=o,this.initGridOptions(d,r)):this.mergeAllColumnDefsAndStates(o).then((e=>{d.columnDefs=e,this.initGridOptions(d,r)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Cn.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};u.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Cn.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return $n.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Oi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=pl[this.headerCaseType];a?e.headerName=a(e.field):$n.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const 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[ji]===e.field)return{component:Ii.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=gg,e.tooltipValueGetter=a=>{const r=a.data[Ei];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Ei])||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=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return dg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return dg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Cn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Cn.plv.ALL_PROPERTIES.map((e=>sg(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},Cn.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=ql[e]||this.gridFontFace;this.destroyFontFace();const r=(0,dl.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Oi.__decorate)([u.observable],cg.prototype,"columnApi",void 0),(0,Oi.__decorate)([u.observable],cg.prototype,"gridApi",void 0),(0,Oi.__decorate)([lg],cg.prototype,"statePersistence",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],cg.prototype,"autoCellRendererByType",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"only-template-col-defs",mode:"boolean"})],cg.prototype,"onlyTemplateColDefs",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"grid-autosizing"})],cg.prototype,"gridAutosizingEnabled",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"add-index"})],cg.prototype,"addIndex",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-add"})],cg.prototype,"asyncAdd",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-remove"})],cg.prototype,"asyncRemove",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-update"})],cg.prototype,"asyncUpdate",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],cg.prototype,"enableCellFlashing",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],cg.prototype,"enabledRowFlashing",void 0),(0,Oi.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-row-flashing"})],cg.prototype,"enableRowFlashing",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"persist-column-state-key"})],cg.prototype,"persistColumnStateKey",void 0),(0,Oi.__decorate)([(0,u.attr)({attribute:"header-case-type"})],cg.prototype,"headerCaseType",void 0),(0,Oi.__decorate)([u.observable],cg.prototype,"gridFontFace",void 0),(0,Oi.__decorate)([u.attr],cg.prototype,"columnComponentName",void 0),(0,Oi.__decorate)([u.observable],cg.prototype,"eventsAndCallbacks",void 0),(0,Oi.__decorate)([u.attr],cg.prototype,"headerHeight",void 0),(0,Oi.__decorate)([u.attr],cg.prototype,"rowHeight",void 0),(0,Oi.__decorate)([u.attr],cg.prototype,"theme",void 0),(0,Oi.__decorate)([u.observable],cg.prototype,"classNames",void 0),(0,Oi.__decorate)([u.observable],cg.prototype,"agGrid",void 0),(0,Oi.__decorate)([u.observable],cg.prototype,"gridSlot",void 0),(0,Oi.__decorate)([u.observable],cg.prototype,"gridComponents",void 0),(0,Oi.__decorate)([Bi],cg.prototype,"gridOptionsConfig",void 0);const pg=void 0,ug={shadowOptions:void 0},hg=cg.compose(Object.assign({baseName:"grid-pro",styles:tg,template:og,shadowOptions:pg},ug)),mg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},bg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:vg}=h.DesignToken,fg={backgroundColor:vg("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?bg.backgroundSwatch:mg.backgroundSwatch)),borderColor:vg("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?bg.borderSwatch:mg.borderSwatch)),foregroundColor:vg("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?bg.foregroundSwatch:mg.foregroundSwatch)),headerForegroundColor:vg("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?bg.headerForegroundSwatch:mg.headerForegroundSwatch)),rowHoverColor:vg("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?bg.rowHoverSwatch:mg.rowHoverSwatch))},wg=u.css`
10351
+ `;var lg=r(75527);class gg{getColumnState(e){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const a=this.session.getLocalStorageItem("gridOptions");if(a){const r=JSON.parse(a);if(e in r)return JSON.parse(r[e])}return[]}))}saveColumnState(e,a){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const r=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");r[e]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(r))}))}}(0,Di.__decorate)([lg.z],gg.prototype,"session",void 0);const sg=h.DI.createInterface((e=>e.singleton(gg)));class dg{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}}const cg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function pg(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}An.O3h.registerModules([gl.jM,ll.I]);class ug extends(dl(h.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,ul.A)(Ii(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=Kl,this.columnComponentName="grid-pro-column",this.theme=Oi.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=An.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[cg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),An.plv.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}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&&An.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(cg(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={[Ei.action]:Tn,[Ei.actionsMenu]:Mn,[Ei.boolean]:Pn,[Ei.editable]:xn,[Ei.selectEditor]:rn,[Ei.numberEditor]:sn,[Ei.multiselectEditor]:Ji,[Ei.dateEditor]:Hi,[Ei.stringEditor]:mn};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(){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){let e=this.columnApi.getColumnState();if(e=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(e):e,0===e.length||JSON.stringify(e)===JSON.stringify(this.columnState))return;yield this.statePersistence.saveColumnState(this.persistColumnStateKey,e)}}))}getSavedColumnState(){return(0,Di.__awaiter)(this,void 0,void 0,(function*(){return this.columnState=[],this.statePersistanceEnabled()&&(this.columnState=yield this.statePersistence.getColumnState(this.persistColumnStateKey)),this.columnState}))}restoreColumnState(){var e;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){this.rehydrationAttempted=!0;const a=yield 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=bl()(this.saveColumnState.bind(this),400),r=this.globalEventListener.bind(this),t=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,defaultColDef:n,onGridReady:l,onFirstDataRendered:g}=e,s=(0,Di.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),d=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},n),components:this.combineAllGridComponents(i),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,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),l&&l(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),g&&g(e)},onColumnPinned:t,onColumnResized:t,onColumnMoved:t,onDisplayedColumnsChanged:t,onFilterChanged:t,onGridSizeChanged:t,onSortChanged:t}),s);this.gridProDatasource?(d.columnDefs=o,this.initGridOptions(d,r)):this.mergeAllColumnDefsAndStates(o).then((e=>{d.columnDefs=e,this.initGridOptions(d,r)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),An.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};u.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new An.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Fn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Di.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=hl[this.headerCaseType];a?e.headerName=a(e.field):Fn.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`)}}));const 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[Pi]===e.field)return{component:Ei.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=dg,e.tooltipValueGetter=a=>{const r=a.data[Bi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Bi])||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=yield this.getSavedColumnState();if((null==e?void 0:e.length)>0)return pg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return pg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=An.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=An.plv.ALL_PROPERTIES.map((e=>cg(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},An.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=Zl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,pl.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Di.__decorate)([u.observable],ug.prototype,"columnApi",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridApi",void 0),(0,Di.__decorate)([sg],ug.prototype,"statePersistence",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],ug.prototype,"autoCellRendererByType",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"only-template-col-defs",mode:"boolean"})],ug.prototype,"onlyTemplateColDefs",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"grid-autosizing"})],ug.prototype,"gridAutosizingEnabled",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"add-index"})],ug.prototype,"addIndex",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-add"})],ug.prototype,"asyncAdd",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-remove"})],ug.prototype,"asyncRemove",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"async-update"})],ug.prototype,"asyncUpdate",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],ug.prototype,"enableCellFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],ug.prototype,"enabledRowFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({mode:"boolean",attribute:"enable-row-flashing"})],ug.prototype,"enableRowFlashing",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"persist-column-state-key"})],ug.prototype,"persistColumnStateKey",void 0),(0,Di.__decorate)([(0,u.attr)({attribute:"header-case-type"})],ug.prototype,"headerCaseType",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridFontFace",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"columnComponentName",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"eventsAndCallbacks",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"headerHeight",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"rowHeight",void 0),(0,Di.__decorate)([u.attr],ug.prototype,"theme",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"classNames",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"agGrid",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridSlot",void 0),(0,Di.__decorate)([u.observable],ug.prototype,"gridComponents",void 0),(0,Di.__decorate)([Ui],ug.prototype,"gridOptionsConfig",void 0);const hg=void 0,mg={shadowOptions:void 0},bg=ug.compose(Object.assign({baseName:"grid-pro",styles:ig,template:ng,shadowOptions:hg},mg)),vg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},fg={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:wg}=h.DesignToken,yg={backgroundColor:wg("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.backgroundSwatch:vg.backgroundSwatch)),borderColor:wg("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.borderSwatch:vg.borderSwatch)),foregroundColor:wg("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.foregroundSwatch:vg.foregroundSwatch)),headerForegroundColor:wg("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.headerForegroundSwatch:vg.headerForegroundSwatch)),rowHoverColor:wg("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?fg.rowHoverSwatch:vg.rowHoverSwatch))},xg=u.css`
10350
10352
  .ag-theme-genesis-rapid,
10351
10353
  .ag-theme-genesis-rapid-dark {
10352
10354
  --ag-alpine-active-color: #2196f3;
@@ -10806,56 +10808,56 @@
10806
10808
  .ag-theme-genesis-rapid-dark {
10807
10809
  color-scheme: dark;
10808
10810
  }
10809
- `,yg={[Ai.backgroundColor]:fg.backgroundColor,[Ai.foregroundColor]:fg.foregroundColor,[Ai.oddRowBackgroundColor]:fg.backgroundColor,[Ai.headerBackgroundColor]:fg.backgroundColor,[Ai.headerForegroundColor]:fg.headerForegroundColor,[Ai.selectedRowBackgroundColor]:fg.rowHoverColor,[Ai.rowHoverColor]:fg.rowHoverColor,[Ai.borderColor]:fg.borderColor,[Ai.rowBorderColor]:fg.rowHoverColor,[Ai.modalOverlayBackgroundColor]:fg.backgroundColor,[Ai.inputFocusBoxShadow]:fg.headerForegroundColor,[Ai.inputFocusBorderColor]:fg.headerForegroundColor,[Ai.headerColumnResizeHandleColor]:fg.headerForegroundColor},xg="ag-theme-genesis-rapid",kg=u.css`
10810
- ${wg}
10811
- ${Mi(xg,yg)}
10811
+ `,kg={[Ti.backgroundColor]:yg.backgroundColor,[Ti.foregroundColor]:yg.foregroundColor,[Ti.oddRowBackgroundColor]:yg.backgroundColor,[Ti.headerBackgroundColor]:yg.backgroundColor,[Ti.headerForegroundColor]:yg.headerForegroundColor,[Ti.selectedRowBackgroundColor]:yg.rowHoverColor,[Ti.rowHoverColor]:yg.rowHoverColor,[Ti.borderColor]:yg.borderColor,[Ti.rowBorderColor]:yg.rowHoverColor,[Ti.modalOverlayBackgroundColor]:yg.backgroundColor,[Ti.inputFocusBoxShadow]:yg.headerForegroundColor,[Ti.inputFocusBorderColor]:yg.headerForegroundColor,[Ti.headerColumnResizeHandleColor]:yg.headerForegroundColor},zg="ag-theme-genesis-rapid",Sg=u.css`
10812
+ ${xg}
10813
+ ${ji(zg,kg)}
10812
10814
 
10813
- .${xg} {
10815
+ .${zg} {
10814
10816
  ${Ge()}
10815
10817
  }
10816
10818
 
10817
- .${xg} .ag-header {
10819
+ .${zg} .ag-header {
10818
10820
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10819
10821
  font-weight: bold;
10820
10822
  }
10821
10823
 
10822
- .${xg} .ag-root-wrapper {
10824
+ .${zg} .ag-root-wrapper {
10823
10825
  border-radius: calc(var(--control-corner-radius) * 1px);
10824
10826
  }
10825
- `,zg="ag-theme-genesis-rapid-dark",Sg=u.css`
10826
- ${wg}
10827
- ${Mi(zg,yg)}
10827
+ `,Cg="ag-theme-genesis-rapid-dark",$g=u.css`
10828
+ ${xg}
10829
+ ${ji(Cg,kg)}
10828
10830
 
10829
- .${zg} {
10831
+ .${Cg} {
10830
10832
  ${Ge()}
10831
10833
  }
10832
10834
 
10833
- .${zg} .ag-header {
10835
+ .${Cg} .ag-header {
10834
10836
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10835
10837
  font-weight: bold;
10836
10838
  }
10837
10839
 
10838
- .${zg} .ag-cell {
10840
+ .${Cg} .ag-cell {
10839
10841
  line-height: var(--ag-line-height, 32px);
10840
10842
  }
10841
10843
 
10842
- .${zg} .ag-root-wrapper {
10844
+ .${Cg} .ag-root-wrapper {
10843
10845
  border-radius: calc(var(--control-corner-radius) * 1px);
10844
10846
  }
10845
- `,Cg=u.css`
10847
+ `,Ag=u.css`
10846
10848
  /* All the AG themes */
10847
- ${tg}
10849
+ ${ig}
10848
10850
 
10849
10851
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10850
- ${kg}
10851
10852
  ${Sg}
10853
+ ${$g}
10852
10854
 
10853
10855
  .error {
10854
10856
  border-color: ${ye.shortPink} !important;
10855
10857
  }
10856
- `,$g=og,Ag="ag-theme-genesis-rapid-dark";const Fg=ug,Og={zeroAgEditableRenderer:Sn,zeroAgActionRenderer:Rn,zeroAgActionsMenuRenderer:In,zeroAgBooleanRenderer:Un,zeroAgTextRenderer:Xn,zeroAgSelectRenderer:ol,zeroAgDateEditor:Qi,zeroAgMultiselectEditor:Xi,zeroAgSelectEditor:nn,zeroAgNumberEditor:pn,zeroAgStringEditor:fn,zeroGridPro:class extends cg{constructor(){super(...arguments),this.theme=Ag}themeChanged(e,a){(e||a===Ag)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ii.action]:Dn,[Ii.actionsMenu]:Mn,[Ii.boolean]:Gn,[Ii.editable]:zn,[Ii.selectEditor]:on,[Ii.numberEditor]:cn,[Ii.multiselectEditor]:Ki,[Ii.dateEditor]:Yi,[Ii.stringEditor]:vn};(this.theme===xg||this.theme===zg)&&(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:$g,styles:Cg,shadowOptions:undefined},Fg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Tg={foundationGridProActionRenderer:Tn,foundationGridProActionsMenuRenderer:Ln,foundationAgBooleanRenderer:Bn,foundationAgTextRenderer:Kn,foundationAgTextFieldRenderer:Wn,foundationAgEditableRenderer:kn,foundationAgSelectRenderer:tl,foundationGridPro:hg,foundationSelectEditor:tn,foundationNumberEditor:dn,foundationDateEditor:Vi,foundationMultiselectEditor:Zi,foundationStringEditor:bn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Dg;!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"}(Dg||(Dg={}));const{create:Rg}=h.DesignToken,Ng=(0,xe.parseColorHexRGB)(Dg.error),Lg=m.SwatchRGB.create(Ng.r,Ng.g,Ng.b),Mg=Rg("error-color").withDefault(Lg),Ig=(0,xe.parseColorHexRGB)(Dg.success),jg=m.SwatchRGB.create(Ig.r,Ig.g,Ig.b),Eg=Rg("success-color").withDefault(jg),Pg=(0,xe.parseColorHexRGB)(Dg.warning),Bg=m.SwatchRGB.create(Pg.r,Pg.g,Pg.b),Gg=Rg("warning-color").withDefault(Bg),Ug=(0,xe.parseColorHexRGB)(Dg.buy),_g=m.SwatchRGB.create(Ug.r,Ug.g,Ug.b),Hg=Rg("buy-color").withDefault(_g),Vg=(0,xe.parseColorHexRGB)(Dg.sell),Yg=m.SwatchRGB.create(Vg.r,Vg.g,Vg.b),Qg=Rg("sell-color").withDefault(Yg),Wg=(0,G.paletteFromHex)(Dg.primary),qg=(0,G.paletteFromHex)(Dg.neutral),Jg=m.StandardLuminance.DarkMode,Zg=0,Kg=4,Xg=-5,es=0,as=0,rs=6,ts=-4,os=0,is=7,ns=10,ls=5,gs=0,ss=0,ds=0,cs=0,ps=0,us=0,hs=5,ms=3,bs=0,vs=0,fs=8,ws=-5,ys=0,xs=3,ks=25,zs=40,Ss=16,Cs=25,$s=8,As="rapid",Fs=Re.N.ltr,Os=.3,Ts=1,Ds=2,Rs=10,Ns=4,Ls=0,Ms=4,Is='"Segoe UI", Arial, Helvetica, sans-serif',js="14px",Es="20px",Ps="12px",Bs="16px",Gs="10px",Us="16px",_s="16px",Hs="24px",Vs="20px",Ys="28px",Qs="28px",Ws="36px",qs="34px",Js="44px",Zs="46px",Ks="56px",Xs="60px",ed="72px",ad={design_tokens:{color:{accent:{$value:Wg.source.toColorString(),$type:"color"},neutral:{$value:qg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Is,$type:"fontFamily"}},typography:{baseFontSize:{$value:js,$type:"dimension"},baseLineHeight:{$value:Es,$type:"dimension"}},mode:{luminance:{$value:Jg,$type:"number"}},style:{density:{$value:Ls,$type:"number"},borderRadius:{$value:Ns,$type:"number"},strokeWidth:{$value:Ts,$type:"number"}},space:{designUnit:{$value:Ms,$type:"number"}}}};class rd extends m.DesignSystemProvider{constructor(){super(),(0,G.provideTokens)(i,n,this)}}const td=rd.compose({baseName:"design-system-provider",template:u.html`
10858
+ `,Fg=ng,Tg="ag-theme-genesis-rapid-dark";const Og=mg,Dg={zeroAgEditableRenderer:$n,zeroAgActionRenderer:Ln,zeroAgActionsMenuRenderer:En,zeroAgBooleanRenderer:Hn,zeroAgTextRenderer:al,zeroAgSelectRenderer:nl,zeroAgDateEditor:qi,zeroAgMultiselectEditor:an,zeroAgSelectEditor:gn,zeroAgNumberEditor:hn,zeroAgStringEditor:yn,zeroGridPro:class extends ug{constructor(){super(...arguments),this.theme=Tg}themeChanged(e,a){(e||a===Tg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ei.action]:Nn,[Ei.actionsMenu]:jn,[Ei.boolean]:_n,[Ei.editable]:Cn,[Ei.selectEditor]:ln,[Ei.numberEditor]:un,[Ei.multiselectEditor]:en,[Ei.dateEditor]:Wi,[Ei.stringEditor]:wn};(this.theme===zg||this.theme===Cg)&&(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:Fg,styles:Ag,shadowOptions:undefined},Og)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Rg={foundationGridProActionRenderer:Rn,foundationGridProActionsMenuRenderer:In,foundationAgBooleanRenderer:Un,foundationAgTextRenderer:el,foundationAgTextFieldRenderer:Jn,foundationAgEditableRenderer:Sn,foundationAgSelectRenderer:il,foundationGridPro:bg,foundationSelectEditor:nn,foundationNumberEditor:pn,foundationDateEditor:Qi,foundationMultiselectEditor:Xi,foundationStringEditor:fn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ng;!function(e){e.primary="#11C9FC",e.neutral="#7C909B",e.error="#F9644D",e.success="#7ACC79",e.warning="#FFB660",e.info="#11C9FC",e.buy="#7ACC79",e.sell="#F14376"}(Ng||(Ng={}));const{create:Lg}=h.DesignToken,Mg=(0,xe.parseColorHexRGB)(Ng.error),Ig=m.SwatchRGB.create(Mg.r,Mg.g,Mg.b),jg=Lg("error-color").withDefault(Ig),Eg=(0,xe.parseColorHexRGB)(Ng.success),Pg=m.SwatchRGB.create(Eg.r,Eg.g,Eg.b),Bg=Lg("success-color").withDefault(Pg),Gg=(0,xe.parseColorHexRGB)(Ng.warning),Ug=m.SwatchRGB.create(Gg.r,Gg.g,Gg.b),_g=Lg("warning-color").withDefault(Ug),Hg=(0,xe.parseColorHexRGB)(Ng.buy),Vg=m.SwatchRGB.create(Hg.r,Hg.g,Hg.b),Yg=Lg("buy-color").withDefault(Vg),Qg=(0,xe.parseColorHexRGB)(Ng.sell),Wg=m.SwatchRGB.create(Qg.r,Qg.g,Qg.b),qg=Lg("sell-color").withDefault(Wg),Jg=(0,G.paletteFromHex)(Ng.primary),Zg=(0,G.paletteFromHex)(Ng.neutral),Kg=m.StandardLuminance.DarkMode,Xg=0,es=4,as=-5,rs=0,ts=0,os=6,is=-4,ns=0,ls=7,gs=10,ss=5,ds=0,cs=0,ps=0,us=0,hs=0,ms=0,bs=5,vs=3,fs=0,ws=0,ys=8,xs=-5,ks=0,zs=3,Ss=25,Cs=40,$s=16,As=25,Fs=8,Ts="rapid",Os=Re.N.ltr,Ds=.3,Rs=1,Ns=2,Ls=10,Ms=4,Is=0,js=4,Es='"Segoe UI", Arial, Helvetica, sans-serif',Ps="14px",Bs="20px",Gs="12px",Us="16px",_s="10px",Hs="16px",Vs="16px",Ys="24px",Qs="20px",Ws="28px",qs="28px",Js="36px",Zs="34px",Ks="44px",Xs="46px",ed="56px",ad="60px",rd="72px",td={design_tokens:{color:{accent:{$value:Jg.source.toColorString(),$type:"color"},neutral:{$value:Zg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Es,$type:"fontFamily"}},typography:{baseFontSize:{$value:Ps,$type:"dimension"},baseLineHeight:{$value:Bs,$type:"dimension"}},mode:{luminance:{$value:Kg,$type:"number"}},style:{density:{$value:Is,$type:"number"},borderRadius:{$value:Ms,$type:"number"},strokeWidth:{$value:Rs,$type:"number"}},space:{designUnit:{$value:js,$type:"number"}}}};class od extends m.DesignSystemProvider{constructor(){super(),(0,G.provideTokens)(i,n,this)}}const id=od.compose({baseName:"design-system-provider",template:u.html`
10857
10859
  <slot></slot>
10858
- `});class od extends G.Accordion{}const id=od.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,G.foundationAccordionTemplate)(e,a),styles:(e,a)=>u.css`
10860
+ `});class nd extends G.Accordion{}const ld=nd.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,G.foundationAccordionTemplate)(e,a),styles:(e,a)=>u.css`
10859
10861
  ${(0,G.foundationAccordionStyles)(e,a)}
10860
10862
 
10861
10863
  :host {
@@ -10866,7 +10868,7 @@
10866
10868
  .heading {
10867
10869
  height: calc(var(--base-height-multiplier) * 4px);
10868
10870
  }
10869
- `,shadowOptions:G.foundationAccordionShadowOptions},G.defaultAccordionConfig));class nd extends G.AccordionItem{}const ld=nd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,G.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>u.css`
10871
+ `,shadowOptions:G.foundationAccordionShadowOptions},G.defaultAccordionConfig));class gd extends G.AccordionItem{}const sd=gd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,G.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>u.css`
10870
10872
  ${(0,G.foundationAccordionItemStyles)(e,a)}
10871
10873
 
10872
10874
  :host {
@@ -10929,7 +10931,7 @@
10929
10931
  grid-template-columns: auto 1fr auto;
10930
10932
  align-items: center;
10931
10933
  }
10932
- `,shadowOptions:G.foundationAccordionItemShadowOptions},G.defaultAccordionItemConfig));class gd extends G.ActionsMenu{}const sd=gd.compose({baseName:"actions-menu",styles:(e,a)=>u.css`
10934
+ `,shadowOptions:G.foundationAccordionItemShadowOptions},G.defaultAccordionItemConfig));class dd extends G.ActionsMenu{}const cd=dd.compose({baseName:"actions-menu",styles:(e,a)=>u.css`
10933
10935
  :host {
10934
10936
  --actions-opener-height-multiplier: 0.6px;
10935
10937
  --menu-item-height-multiplier: 0.5px;
@@ -10967,7 +10969,7 @@
10967
10969
  .actions-vertical .menu-item:focus {
10968
10970
  border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
10969
10971
  }
10970
- `,template:G.foundationActionsMenuTemplate});function dd(e,a){return new h.PropertyStyleSheetBehavior("appearance",e,a)}const cd=u.css`
10972
+ `,template:G.foundationActionsMenuTemplate});function pd(e,a){return new h.PropertyStyleSheetBehavior("appearance",e,a)}const ud=u.css`
10971
10973
  :host([appearance='primary']) {
10972
10974
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
10973
10975
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -10990,7 +10992,7 @@
10990
10992
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
10991
10993
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
10992
10994
  }
10993
- `,pd=u.css`
10995
+ `,hd=u.css`
10994
10996
  :host([appearance='primary-outline']) {
10995
10997
  background: none;
10996
10998
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -11008,7 +11010,7 @@
11008
11010
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11009
11011
  opacity: 100%;
11010
11012
  }
11011
- `,ud=u.css`
11013
+ `,md=u.css`
11012
11014
  :host([appearance='neutral-outline']) {
11013
11015
  background: none;
11014
11016
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
@@ -11026,7 +11028,7 @@
11026
11028
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11027
11029
  opacity: 100%;
11028
11030
  }
11029
- `,hd=u.css`
11031
+ `,bd=u.css`
11030
11032
  :host([appearance='link']) {
11031
11033
  background: none;
11032
11034
  border: none;
@@ -11049,7 +11051,7 @@
11049
11051
  color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
11050
11052
  opacity: 100%;
11051
11053
  }
11052
- `,md=(e,a)=>u.css`
11054
+ `,vd=(e,a)=>u.css`
11053
11055
  ${(0,G.foundationButtonStyles)(e,a)}
11054
11056
  ${u.css`
11055
11057
  :host {
@@ -11103,14 +11105,14 @@
11103
11105
  opacity: 100%;
11104
11106
  }
11105
11107
  `}
11106
- `.withBehaviors(dd("primary",cd),dd("primary-outline",pd),dd("neutral-outline",ud),dd("link",hd));class bd extends G.Anchor{}const vd=bd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,G.foundationAnchorTemplate)(e,a),styles:(e,a)=>u.css`
11108
+ `.withBehaviors(pd("primary",ud),pd("primary-outline",hd),pd("neutral-outline",md),pd("link",bd));class fd extends G.Anchor{}const wd=fd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,G.foundationAnchorTemplate)(e,a),styles:(e,a)=>u.css`
11107
11109
  ${(0,G.foundationAnchorStyles)(e,a)}
11108
- ${md(e,a)}
11109
- `.withBehaviors(...md(e,a).behaviors),shadowOptions:G.foundationAnchorShadowOptions},G.defaultAnchorConfig));class fd extends G.AnchoredRegion{}const wd=fd.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,G.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>u.css`
11110
+ ${vd(e,a)}
11111
+ `.withBehaviors(...vd(e,a).behaviors),shadowOptions:G.foundationAnchorShadowOptions},G.defaultAnchorConfig));class yd extends G.AnchoredRegion{}const xd=yd.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,G.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>u.css`
11110
11112
  ${(0,G.foundationAnchoredRegionStyles)(e,a)}
11111
- `,shadowOptions:G.foundationAnchoredRegionShadowOptions},G.defaultAnchoredRegionConfig));class yd extends G.Avatar{}const xd=yd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,G.foundationAvatarTemplate)(e,a),styles:(e,a)=>u.css`
11113
+ `,shadowOptions:G.foundationAnchoredRegionShadowOptions},G.defaultAnchoredRegionConfig));class kd extends G.Avatar{}const zd=kd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,G.foundationAvatarTemplate)(e,a),styles:(e,a)=>u.css`
11112
11114
  ${(0,G.foundationAvatarStyles)(e,a)}
11113
- `,shadowOptions:G.foundationAvatarShadowOptions},G.defaultAvatarConfig));class kd extends G.Badge{}const zd=kd.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,G.foundationBadgeTemplate)(e,a),styles:(e,a)=>u.css`
11115
+ `,shadowOptions:G.foundationAvatarShadowOptions},G.defaultAvatarConfig));class Sd extends G.Badge{}const Cd=Sd.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,G.foundationBadgeTemplate)(e,a),styles:(e,a)=>u.css`
11114
11116
  ${(0,G.foundationBadgeStyles)(e,a)}
11115
11117
  :host {
11116
11118
  --badge-fill-primary: var(--accent-fill-rest);
@@ -11124,7 +11126,7 @@
11124
11126
  padding: calc(${m.designUnit} * 1px) calc(${m.designUnit} * 2px);
11125
11127
  border: none;
11126
11128
  }
11127
- `,shadowOptions:G.foundationBadgeShadowOptions},G.defaultBadgeConfig)),Sd=u.css`
11129
+ `,shadowOptions:G.foundationBadgeShadowOptions},G.defaultBadgeConfig)),$d=u.css`
11128
11130
  ${G.foundationBannerStyles}
11129
11131
  :host {
11130
11132
  --banner-height: calc(
@@ -11144,9 +11146,9 @@
11144
11146
  font-family: var(--body-font);
11145
11147
  line-height: var(--type-ramp-base-line-height);
11146
11148
  }
11147
- `,Cd=G.foundationBannerShadowOptions;class $d extends G.Banner{}const Ad=$d.compose({baseName:"banner",shadowOptions:Cd,styles:Sd,template:G.foundationBannerTemplate});class Fd extends G.Breadcrumb{}const Od=Fd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,G.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>u.css`
11149
+ `,Ad=G.foundationBannerShadowOptions;class Fd extends G.Banner{}const Td=Fd.compose({baseName:"banner",shadowOptions:Ad,styles:$d,template:G.foundationBannerTemplate});class Od extends G.Breadcrumb{}const Dd=Od.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,G.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>u.css`
11148
11150
  ${(0,G.foundationBreadcrumbStyles)(e,a)}
11149
- `,shadowOptions:undefined},{}));class Td extends G.BreadcrumbItem{}const Dd=Td.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,G.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>u.css`
11151
+ `,shadowOptions:undefined},{}));class Rd extends G.BreadcrumbItem{}const Nd=Rd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,G.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>u.css`
11150
11152
  ${(0,G.foundationBreadcrumbItemStyles)(e,a)}
11151
11153
  .listitem {
11152
11154
  color: var(--accent-foreground-rest);
@@ -11182,9 +11184,9 @@
11182
11184
  .control:hover .start {
11183
11185
  background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
11184
11186
  }
11185
- `,shadowOptions:G.foundationBreadcrumbItemShadowOptions},G.defaultBreadcrumbItemConfig));class Rd extends G.Button{}const Nd=Rd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,G.foundationButtonTemplate)(e,a),styles:md,shadowOptions:G.foundationButtonShadowOptions},G.defaultButtonConfig));class Ld extends G.Calendar{}const Md=Ld.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,G.foundationCalendarTemplate)(e,a),styles:()=>u.css`
11187
+ `,shadowOptions:G.foundationBreadcrumbItemShadowOptions},G.defaultBreadcrumbItemConfig));class Ld extends G.Button{}const Md=Ld.compose(Object.assign({baseName:"button",template:(e,a)=>(0,G.foundationButtonTemplate)(e,a),styles:vd,shadowOptions:G.foundationButtonShadowOptions},G.defaultButtonConfig));class Id extends G.Calendar{}const jd=Id.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,G.foundationCalendarTemplate)(e,a),styles:()=>u.css`
11186
11188
  ${(0,G.foundationCalendarStyles)()}
11187
- `,shadowOptions:G.foundationCalendarShadowOptions},G.defaultCalendarConfig));class Id extends G.Card{}const jd=Id.compose(Object.assign({baseName:"card",template:(e,a)=>(0,G.foundationCardTemplate)(e,a),styles:(e,a)=>u.css`
11189
+ `,shadowOptions:G.foundationCalendarShadowOptions},G.defaultCalendarConfig));class Ed extends G.Card{}const Pd=Ed.compose(Object.assign({baseName:"card",template:(e,a)=>(0,G.foundationCardTemplate)(e,a),styles:(e,a)=>u.css`
11188
11190
  ${(0,G.foundationCardStyles)(e,a)}
11189
11191
  :host {
11190
11192
  background: var(--neutral-layer-card-container);
@@ -11198,7 +11200,7 @@
11198
11200
  ::slotted(rapid-card) {
11199
11201
  background: var(--neutral-layer-3);
11200
11202
  }
11201
- `,shadowOptions:G.foundationCardShadowOptions},G.defaultCardConfig)),Ed=u.css`
11203
+ `,shadowOptions:G.foundationCardShadowOptions},G.defaultCardConfig)),Bd=u.css`
11202
11204
  ${G.categorizedMultiselectStyles}
11203
11205
 
11204
11206
  .label {
@@ -11212,9 +11214,9 @@
11212
11214
  rapid-checkbox:hover:not([disabled]) {
11213
11215
  background: var(--neutral-layer-4);
11214
11216
  }
11215
- `,Pd=u.html`
11217
+ `,Gd=u.html`
11216
11218
  ${(0,G.getPrefixedCategorizedMultiselect)("rapid")}
11217
- `;class Bd extends G.CategorizedMultiselect{}const Gd=G.defaultCategorizedMultiselectConfig,Ud=G.foundationCategorizedMultiselectShadowOptions,_d=Bd.compose(Object.assign({baseName:"categorized-multiselect",template:Pd,styles:Ed,shadowOptions:Ud},Gd));class Hd extends G.Checkbox{}const Vd=Hd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,G.foundationCheckboxTemplate)(e,a),styles:(e,a)=>u.css`
11219
+ `;class Ud extends G.CategorizedMultiselect{}const _d=G.defaultCategorizedMultiselectConfig,Hd=G.foundationCategorizedMultiselectShadowOptions,Vd=Ud.compose(Object.assign({baseName:"categorized-multiselect",template:Gd,styles:Bd,shadowOptions:Hd},_d));class Yd extends G.Checkbox{}const Qd=Yd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,G.foundationCheckboxTemplate)(e,a),styles:(e,a)=>u.css`
11218
11220
  ${(0,G.foundationCheckboxStyles)(e,a)}
11219
11221
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11220
11222
  fill: var(--neutral-foreground-rest);
@@ -11229,7 +11231,7 @@
11229
11231
  .label {
11230
11232
  padding-inline-start: calc(var(--design-unit) * 2px);
11231
11233
  }
11232
- `,shadowOptions:G.foundationCheckboxShadowOptions},G.defaultCheckboxConfig));class Yd extends G.Combobox{}const Qd=Yd.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,G.foundationComboboxTemplate)(e,a),styles:(e,a)=>u.css`
11234
+ `,shadowOptions:G.foundationCheckboxShadowOptions},G.defaultCheckboxConfig));class Wd extends G.Combobox{}const qd=Wd.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,G.foundationComboboxTemplate)(e,a),styles:(e,a)=>u.css`
11233
11235
  ${(0,G.foundationComboboxStyles)(e,a)}
11234
11236
  :host {
11235
11237
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11302,7 +11304,7 @@
11302
11304
  ::slotted([role='option']) {
11303
11305
  margin: 0;
11304
11306
  }
11305
- `,shadowOptions:G.foundationComboboxShadowOptions},G.defaultComboboxConfig));class Wd extends G.ConnectionIndicator{}const qd=Wd.compose({baseName:"connection-indicator",template:G.foundationConnectionIndicatorTemplate,styles:(e,a)=>u.css`
11307
+ `,shadowOptions:G.foundationComboboxShadowOptions},G.defaultComboboxConfig));class Jd extends G.ConnectionIndicator{}const Zd=Jd.compose({baseName:"connection-indicator",template:G.foundationConnectionIndicatorTemplate,styles:(e,a)=>u.css`
11306
11308
  ${(0,G.foundationConnectionIndicatorStyles)(e,a)}
11307
11309
  :host {
11308
11310
  --light-size: calc(var(--design-unit) * 3px);
@@ -11325,9 +11327,9 @@
11325
11327
  font-size: var(--type-ramp-base-font-size);
11326
11328
  color: var(--neutral-stroke-rest);
11327
11329
  }
11328
- `}),Jd=["baseClass","baseName","shadowOptions","styles","template"],Zd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Jd)=>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:Kd,shadowOptions:Xd,styles:ec,template:ac}=Zd(G.foundationDataGrid),{defaultConfig:rc,shadowOptions:tc,styles:oc,template:ic}=Zd(G.foundationDataGridCell),{defaultConfig:nc,shadowOptions:lc,styles:gc,template:sc}=Zd(G.foundationDataGridRow),dc=u.html`
11330
+ `}),Kd=["baseClass","baseName","shadowOptions","styles","template"],Xd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Kd)=>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:ec,shadowOptions:ac,styles:rc,template:tc}=Xd(G.foundationDataGrid),{defaultConfig:oc,shadowOptions:ic,styles:nc,template:lc}=Xd(G.foundationDataGridCell),{defaultConfig:gc,shadowOptions:sc,styles:dc,template:cc}=Xd(G.foundationDataGridRow),pc=u.html`
11329
11331
  ${(0,G.getPrefixedDatePicker)("rapid")}
11330
- `;class cc extends G.DatePicker{}const pc=cc.compose(Object.assign({baseName:"date-picker",template:dc,styles:()=>u.css`
11332
+ `;class uc extends G.DatePicker{}const hc=uc.compose(Object.assign({baseName:"date-picker",template:pc,styles:()=>u.css`
11331
11333
  ${G.foundationDatePickerStyles}
11332
11334
 
11333
11335
  :host {
@@ -11410,7 +11412,7 @@
11410
11412
  .week-days span {
11411
11413
  font-size: var(--type-ramp-minus-2-font-size);
11412
11414
  }
11413
- `,shadowOptions:undefined},{})),uc=u.css`
11415
+ `,shadowOptions:undefined},{})),mc=u.css`
11414
11416
  ${G.foundationDialogStyles}
11415
11417
  :host {
11416
11418
  --dialog-background: ${m.neutralLayer2};
@@ -11487,7 +11489,7 @@
11487
11489
  .close-icon:active svg g path {
11488
11490
  fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
11489
11491
  }
11490
- `,hc=G.defaultDialogConfig,mc=G.foundationDialogTemplate,bc=G.foundationDialogShadowOptions;class vc extends G.Dialog{}const fc=vc.compose(Object.assign({baseName:"dialog",shadowOptions:bc,styles:uc,template:mc},hc));class wc extends G.Disclosure{}const yc=wc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,G.foundationDisclosureTemplate)(e,a),styles:(e,a)=>u.css`
11492
+ `,bc=G.defaultDialogConfig,vc=G.foundationDialogTemplate,fc=G.foundationDialogShadowOptions;class wc extends G.Dialog{}const yc=wc.compose(Object.assign({baseName:"dialog",shadowOptions:fc,styles:mc,template:vc},bc));class xc extends G.Disclosure{}const kc=xc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,G.foundationDisclosureTemplate)(e,a),styles:(e,a)=>u.css`
11491
11493
  ${(0,G.foundationDisclosureStyles)(e,a)}
11492
11494
  :host {
11493
11495
  font-size: var(--type-ramp-base-font-size);
@@ -11504,9 +11506,9 @@
11504
11506
  padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
11505
11507
  text-align: center;
11506
11508
  }
11507
- `,shadowOptions:G.foundationDialogShadowOptions},G.defaultDisclosureConfig));class xc extends G.Divider{}const kc=xc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,G.foundationDividerTemplate)(e,a),styles:(e,a)=>u.css`
11509
+ `,shadowOptions:G.foundationDialogShadowOptions},G.defaultDisclosureConfig));class zc extends G.Divider{}const Sc=zc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,G.foundationDividerTemplate)(e,a),styles:(e,a)=>u.css`
11508
11510
  ${(0,G.foundationDividerStyles)(e,a)}
11509
- `,shadowOptions:G.foundationDividerShadowOptions},G.defaultDividerConfig));class zc extends G.DropdownMenu{}const Sc=zc.compose({baseName:"dropdown-menu",styles:(e,a)=>u.css`
11511
+ `,shadowOptions:G.foundationDividerShadowOptions},G.defaultDividerConfig));class Cc extends G.DropdownMenu{}const $c=Cc.compose({baseName:"dropdown-menu",styles:(e,a)=>u.css`
11510
11512
  ${(0,G.dropdownMenuBaseStyles)("rapid",e,a)}
11511
11513
 
11512
11514
  .actions-menu {
@@ -11521,7 +11523,7 @@
11521
11523
  border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
11522
11524
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
11523
11525
  }
11524
- `,template:G.foundationDropdownMenuTemplate}),{defaultConfig:Cc,shadowOptions:$c,styles:Ac,template:Fc}=Zd(G.foundationErrorBoundary),Oc=u.css`
11526
+ `,template:G.foundationDropdownMenuTemplate}),{defaultConfig:Ac,shadowOptions:Fc,styles:Tc,template:Oc}=Xd(G.foundationErrorBoundary),Dc=u.css`
11525
11527
  ${G.foundationFileUploadStyles}
11526
11528
  ::-webkit-scrollbar {
11527
11529
  width: calc(var(--design-unit) * 3px);
@@ -11543,11 +11545,11 @@
11543
11545
  :host::part(upload-file-button) {
11544
11546
  margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
11545
11547
  }
11546
- `,Tc=u.html`
11548
+ `,Rc=u.html`
11547
11549
  ${(0,G.getPrefixedFileUpload)("rapid")}
11548
- `,Dc=G.defaultFileUploadConfig,Rc=G.foundationFileUploadShadowOptions;class Nc extends G.FileUpload{}const Lc=Nc.compose(Object.assign({baseName:"file-upload",shadowOptions:Rc,styles:Oc,template:Tc},Dc)),Mc=u.html`
11550
+ `,Nc=G.defaultFileUploadConfig,Lc=G.foundationFileUploadShadowOptions;class Mc extends G.FileUpload{}const Ic=Mc.compose(Object.assign({baseName:"file-upload",shadowOptions:Lc,styles:Dc,template:Rc},Nc)),jc=u.html`
11549
11551
  ${(0,G.getPrefixedFilterTemplate)("rapid")}
11550
- `;class Ic extends G.Filter{}const jc=Ic.compose({baseName:"filter",template:Mc,styles:(e,a)=>u.css`
11552
+ `;class Ec extends G.Filter{}const Pc=Ec.compose({baseName:"filter",template:jc,styles:(e,a)=>u.css`
11551
11553
  ${G.foundationFilterStyles}
11552
11554
  .filter-wrapper {
11553
11555
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11574,9 +11576,9 @@
11574
11576
  .flex-row rapid-select {
11575
11577
  flex: 1;
11576
11578
  }
11577
- `}),Ec=u.html`
11579
+ `}),Bc=u.html`
11578
11580
  ${(0,G.filterBarTemplate)("rapid")}
11579
- `;class Pc extends G.FilterBar{}const Bc=Pc.compose({baseName:"filter-bar",template:Ec,styles:(e,a)=>u.css`
11581
+ `;class Gc extends G.FilterBar{}const Uc=Gc.compose({baseName:"filter-bar",template:Bc,styles:(e,a)=>u.css`
11580
11582
  ${(0,G.foundationFilterBarStyles)(e,a)}
11581
11583
  .toggle,
11582
11584
  .toggle-collapsed {
@@ -11596,7 +11598,7 @@
11596
11598
  .filter-bar {
11597
11599
  background: var(--neutral-layer-3);
11598
11600
  }
11599
- `}),{defaultConfig:Gc,shadowOptions:Uc,styles:_c,template:Hc}=Zd(G.foundationFlexLayout);class Vc extends G.Flipper{}const Yc=Vc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,G.foundationFlipperTemplate)(e,a),styles:(e,a)=>u.css`
11601
+ `}),{defaultConfig:_c,shadowOptions:Hc,styles:Vc,template:Yc}=Xd(G.foundationFlexLayout);class Qc extends G.Flipper{}const Wc=Qc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,G.foundationFlipperTemplate)(e,a),styles:(e,a)=>u.css`
11600
11602
  ${(0,G.foundationFlipperStyles)(e,a)}
11601
11603
  :host {
11602
11604
  color: var(--neutral-foreground-rest);
@@ -11616,7 +11618,7 @@
11616
11618
  background: var(--accent-fill-rest);
11617
11619
  color: var(--neutral-foreground-rest);
11618
11620
  }
11619
- `,shadowOptions:G.foundationFlipperShadowOptions},G.defaultFlipperConfig)),Qc=u.css`
11621
+ `,shadowOptions:G.foundationFlipperShadowOptions},G.defaultFlipperConfig)),qc=u.css`
11620
11622
  ${G.foundationFlyoutStyles}
11621
11623
  div.flyout {
11622
11624
  background-color: var(--neutral-layer-2);
@@ -11664,9 +11666,9 @@
11664
11666
  background-color: var(--neutral-fill-hover);
11665
11667
  border-radius: calc(var(--stroke-width) * 3px);
11666
11668
  }
11667
- `,Wc=u.html`
11669
+ `,Jc=u.html`
11668
11670
  ${(0,G.getPrefixedFlyout)("rapid")}
11669
- `,qc=G.defaultFlyoutConfig,Jc=G.foundationFlyoutShadowOptions;class Zc extends G.Flyout{}const Kc=Zc.compose(Object.assign({baseName:"flyout",shadowOptions:Jc,styles:Qc,template:Wc},qc)),{defaultConfig:Xc,shadowOptions:ep,styles:ap,template:rp}=Zd(G.foundationGridLayout),{defaultConfig:tp,shadowOptions:op,styles:ip,template:np}=Zd(G.foundationGridLayoutItem);class lp extends G.HorizontalScroll{}const gp={nextFlipper:u.html`
11671
+ `,Zc=G.defaultFlyoutConfig,Kc=G.foundationFlyoutShadowOptions;class Xc extends G.Flyout{}const ep=Xc.compose(Object.assign({baseName:"flyout",shadowOptions:Kc,styles:qc,template:Jc},Zc)),{defaultConfig:ap,shadowOptions:rp,styles:tp,template:op}=Xd(G.foundationGridLayout),{defaultConfig:ip,shadowOptions:np,styles:lp,template:gp}=Xd(G.foundationGridLayoutItem);class sp extends G.HorizontalScroll{}const dp={nextFlipper:u.html`
11670
11672
  <rapid-flipper
11671
11673
  @click="${e=>e.scrollToNext()}"
11672
11674
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -11677,11 +11679,11 @@
11677
11679
  direction="previous"
11678
11680
  aria-hidden="${e=>e.flippersHiddenFromAT}"
11679
11681
  ></rapid-flipper>
11680
- `},sp=lp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,G.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>u.css`
11682
+ `},cp=sp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,G.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>u.css`
11681
11683
  ${(0,G.foundationHorizontalScrollStyles)(e,a)}
11682
- `,shadowOptions:G.foundationHorizontalScrollShadowOptions},gp));class dp extends G.Icon{}const cp=G.defaultIconConfig,pp=G.foundationIconShadowOptions,up=dp.compose(Object.assign({baseName:"icon",template:G.foundationIconTemplate,styles:(e,a)=>u.css`
11684
+ `,shadowOptions:G.foundationHorizontalScrollShadowOptions},dp));class pp extends G.Icon{}const up=G.defaultIconConfig,hp=G.foundationIconShadowOptions,mp=pp.compose(Object.assign({baseName:"icon",template:G.foundationIconTemplate,styles:(e,a)=>u.css`
11683
11685
  ${(0,G.foundationIconStyles)(e,a)}
11684
- `,shadowOptions:pp},cp));class hp extends G.Listbox{}const mp=hp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,G.foundationListboxTemplate)(e,a),styles:(e,a)=>u.css`
11686
+ `,shadowOptions:hp},up));class bp extends G.Listbox{}const vp=bp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,G.foundationListboxTemplate)(e,a),styles:(e,a)=>u.css`
11685
11687
  ${(0,G.foundationListboxStyles)(e,a)}
11686
11688
 
11687
11689
  :host {
@@ -11692,7 +11694,7 @@
11692
11694
  ::slotted(*:last-child) {
11693
11695
  border-bottom: none;
11694
11696
  }
11695
- `,shadowOptions:G.foundationListboxShadowOptions},G.defaultListboxConfig));class bp extends G.ListboxOption{}const vp=bp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,G.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>u.css`
11697
+ `,shadowOptions:G.foundationListboxShadowOptions},G.defaultListboxConfig));class fp extends G.ListboxOption{}const wp=fp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,G.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>u.css`
11696
11698
  ${(0,G.foundationListboxOptionStyles)(e,a)}
11697
11699
  :host {
11698
11700
  border-radius: 0;
@@ -11709,14 +11711,14 @@
11709
11711
  background: var(--neutral-layer-4);
11710
11712
  color: var(--accent-fill-rest);
11711
11713
  }
11712
- `,shadowOptions:G.foundationListboxOptionShadowOptions},G.defaultListboxOptionConfig));class fp extends G.Menu{}const wp=fp.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,G.foundationMenuTemplate)(e,a),styles:(e,a)=>u.css`
11714
+ `,shadowOptions:G.foundationListboxOptionShadowOptions},G.defaultListboxOptionConfig));class yp extends G.Menu{}const xp=yp.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,G.foundationMenuTemplate)(e,a),styles:(e,a)=>u.css`
11713
11715
  ${(0,G.foundationMenuStyles)(e,a)}
11714
11716
  :host {
11715
11717
  border: calc(var(--focus-stroke-width) * 1px) solid
11716
11718
  color-mix(in srgb, ${m.neutralFillStealthHover}, transparent 15%);
11717
11719
  padding: 0;
11718
11720
  }
11719
- `,shadowOptions:G.foundationMenuShadowOptions},G.defaultMenuConfig)),yp=G.foundationMenuItemShadowOptions;class xp extends G.MenuItem{}const kp=xp.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,G.foundationMenuItemTemplate)(e,a),styles:(e,a)=>u.css`
11721
+ `,shadowOptions:G.foundationMenuShadowOptions},G.defaultMenuConfig)),kp=G.foundationMenuItemShadowOptions;class zp extends G.MenuItem{}const Sp=zp.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,G.foundationMenuItemTemplate)(e,a),styles:(e,a)=>u.css`
11720
11722
  ${(0,G.foundationMenuItemStyles)(e,a)}
11721
11723
  :host {
11722
11724
  margin: 0;
@@ -11752,9 +11754,9 @@
11752
11754
  background: ${m.neutralFillStealthHover}
11753
11755
  color: ${m.neutralForegroundRest}
11754
11756
  */
11755
- `,shadowOptions:yp},G.defaultMenuItemConfig)),zp=u.css`
11756
- ${uc}
11757
- `,Sp=G.defaultModalConfig,Cp=G.foundationModalTemplate,$p=G.foundationModalShadowOptions;class Ap extends G.Modal{}const Fp=Ap.compose(Object.assign({baseName:"modal",shadowOptions:$p,styles:zp,template:Cp},Sp)),Op=u.css`
11757
+ `,shadowOptions:kp},G.defaultMenuItemConfig)),Cp=u.css`
11758
+ ${mc}
11759
+ `,$p=G.defaultModalConfig,Ap=G.foundationModalTemplate,Fp=G.foundationModalShadowOptions;class Tp extends G.Modal{}const Op=Tp.compose(Object.assign({baseName:"modal",shadowOptions:Fp,styles:Cp,template:Ap},$p)),Dp=u.css`
11758
11760
  ${G.multiselectStyles}
11759
11761
 
11760
11762
  #display-field {
@@ -11830,9 +11832,9 @@
11830
11832
  rapid-checkbox[disabled] {
11831
11833
  cursor: not-allowed;
11832
11834
  }
11833
- `,Tp=u.html`
11835
+ `,Rp=u.html`
11834
11836
  ${(0,G.getPrefixedMultiselect)("rapid")}
11835
- `;class Dp extends G.Multiselect{}const Rp=G.defaultMultiselectConfig,Np=G.foundationMultiselectShadowOptions,Lp=Dp.compose(Object.assign({baseName:"multiselect",template:Tp,styles:Op,shadowOptions:Np},Rp));class Mp extends G.NumberField{}const Ip=G.defaultNumberFieldConfig,jp=G.foundationNumberFieldTemplate,Ep=G.foundationNumberFieldShadowOptions,Pp=Mp.compose(Object.assign({baseName:"number-field",template:jp,styles:(e,a)=>u.css`
11837
+ `;class Np extends G.Multiselect{}const Lp=G.defaultMultiselectConfig,Mp=G.foundationMultiselectShadowOptions,Ip=Np.compose(Object.assign({baseName:"multiselect",template:Rp,styles:Dp,shadowOptions:Mp},Lp));class jp extends G.NumberField{}const Ep=G.defaultNumberFieldConfig,Pp=G.foundationNumberFieldTemplate,Bp=G.foundationNumberFieldShadowOptions,Gp=jp.compose(Object.assign({baseName:"number-field",template:Pp,styles:(e,a)=>u.css`
11836
11838
  :host {
11837
11839
  margin-bottom: calc(var(--design-unit) * 2px);
11838
11840
  }
@@ -11917,11 +11919,11 @@
11917
11919
  .control:focus-visible {
11918
11920
  outline: none;
11919
11921
  }
11920
- `,shadowOptions:Ep},Ip));class Bp extends G.Progress{}const Gp=Bp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,G.foundationProgressTemplate)(e,a),styles:(e,a)=>u.css`
11922
+ `,shadowOptions:Bp},Ep));class Up extends G.Progress{}const _p=Up.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,G.foundationProgressTemplate)(e,a),styles:(e,a)=>u.css`
11921
11923
  ${(0,G.foundationProgressStyles)(e,a)}
11922
- `,shadowOptions:G.foundationProgressShadowOptions},G.defaultProgressConfig));class Up extends G.ProgressRing{}const _p=Up.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,G.foundationProgressRingTemplate)(e,a),styles:(e,a)=>u.css`
11924
+ `,shadowOptions:G.foundationProgressShadowOptions},G.defaultProgressConfig));class Hp extends G.ProgressRing{}const Vp=Hp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,G.foundationProgressRingTemplate)(e,a),styles:(e,a)=>u.css`
11923
11925
  ${(0,G.foundationProgressRingStyles)(e,a)}
11924
- `,shadowOptions:G.foundationProgressRingShadowOptions},G.defaultProgressRingConfig));class Hp extends G.Radio{}const Vp=Hp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,G.foundationRadioTemplate)(e,a),styles:(e,a)=>u.css`
11926
+ `,shadowOptions:G.foundationProgressRingShadowOptions},G.defaultProgressRingConfig));class Yp extends G.Radio{}const Qp=Yp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,G.foundationRadioTemplate)(e,a),styles:(e,a)=>u.css`
11925
11927
  ${(0,G.foundationRadioStyles)(e,a)}
11926
11928
  :host {
11927
11929
  margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
@@ -11953,13 +11955,13 @@
11953
11955
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11954
11956
  background: var(--accent-fill-rest);
11955
11957
  }
11956
- `,shadowOptions:G.foundationRadioShadowOptions},G.defaultRadioConfig));class Yp extends G.RadioGroup{}const Qp=Yp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,G.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>u.css`
11958
+ `,shadowOptions:G.foundationRadioShadowOptions},G.defaultRadioConfig));class Wp extends G.RadioGroup{}const qp=Wp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,G.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>u.css`
11957
11959
  ${(0,G.foundationRadioGroupStyles)(e,a)}
11958
- `,shadowOptions:G.foundationRadioGroupShadowOptions},G.defaultRadioGroupConfig)),Wp=u.css`
11960
+ `,shadowOptions:G.foundationRadioGroupShadowOptions},G.defaultRadioGroupConfig)),Jp=u.css`
11959
11961
  ${G.foundationSearchBarStyles}
11960
- `,qp=u.html`
11962
+ `,Zp=u.html`
11961
11963
  ${(0,G.getPrefixedSearchBar)("rapid")}
11962
- `;class Jp extends G.SearchBar{}const Zp=Jp.compose(Object.assign({baseName:"search-bar",template:qp,styles:Wp,shadowOptions:G.foundationSearchBarShadowOptions},G.defaultSearchBarConfig));class Kp extends G.SearchBarCombobox{}const Xp=Kp.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,G.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>u.css`
11964
+ `;class Kp extends G.SearchBar{}const Xp=Kp.compose(Object.assign({baseName:"search-bar",template:Zp,styles:Jp,shadowOptions:G.foundationSearchBarShadowOptions},G.defaultSearchBarConfig));class eu extends G.SearchBarCombobox{}const au=eu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,G.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>u.css`
11963
11965
  ${(0,G.foundationSearchBarComboboxStyles)(e,a)}
11964
11966
 
11965
11967
  :host {
@@ -11990,7 +11992,7 @@
11990
11992
  :host .listbox ::slotted(*:last-child) {
11991
11993
  border-bottom: none;
11992
11994
  }
11993
- `,shadowOptions:G.foundationSearchBarComboboxShadowOptions},G.defaultSearchBarComboboxConfig));class eu extends G.SegmentedControl{}const au=eu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,G.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>u.css`
11995
+ `,shadowOptions:G.foundationSearchBarComboboxShadowOptions},G.defaultSearchBarComboboxConfig));class ru extends G.SegmentedControl{}const tu=ru.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,G.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>u.css`
11994
11996
  ${(0,G.foundationSegmentedControlStyles)(e,a)}
11995
11997
  :host {
11996
11998
  font-family: var(--body-font);
@@ -12026,7 +12028,7 @@
12026
12028
  border-color: transparent;
12027
12029
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
12028
12030
  }
12029
- `,shadowOptions:undefined},{}));class ru extends G.Radio{}const tu=ru.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,G.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>u.css`
12031
+ `,shadowOptions:undefined},{}));class ou extends G.Radio{}const iu=ou.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,G.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>u.css`
12030
12032
  ${(0,G.foundationSegmentedItemStyles)(e,a)}
12031
12033
  :host {
12032
12034
  color: var(--neutral-fill-strong-rest);
@@ -12038,7 +12040,7 @@
12038
12040
  :host([aria-checked='true']) {
12039
12041
  color: color-mix(in srgb, white, transparent 10%);
12040
12042
  }
12041
- `,shadowOptions:undefined},{}));class ou extends G.Select{}const iu=ou.compose(Object.assign({baseName:"select",template:(e,a)=>(0,G.foundationSelectTemplate)(e,a),styles:(e,a)=>u.css`
12043
+ `,shadowOptions:undefined},{}));class nu extends G.Select{}const lu=nu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,G.foundationSelectTemplate)(e,a),styles:(e,a)=>u.css`
12042
12044
  ${(0,G.foundationSelectStyles)(e,a)}
12043
12045
  :host {
12044
12046
  border-radius: calc(var(--control-corner-radius) * 1px);
@@ -12110,14 +12112,14 @@
12110
12112
  ::slotted([role='option']) {
12111
12113
  margin: 0;
12112
12114
  }
12113
- `,shadowOptions:G.foundationSelectShadowOptions},G.defaultSelectConfig));class nu extends G.Skeleton{}const lu=nu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,G.foundationSkeletonTemplate)(e,a),styles:(e,a)=>u.css`
12115
+ `,shadowOptions:G.foundationSelectShadowOptions},G.defaultSelectConfig));class gu extends G.Skeleton{}const su=gu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,G.foundationSkeletonTemplate)(e,a),styles:(e,a)=>u.css`
12114
12116
  ${(0,G.foundationSkeletonStyles)(e,a)}
12115
12117
  :host {
12116
12118
  --skeleton-fill: var(
12117
12119
  --neutral-fill-stealth-rest
12118
12120
  ); /** value in ux doc rgba(242 242 242 / 0.1) */
12119
12121
  }
12120
- `,shadowOptions:G.foundationSkeletonShadowOptions},G.defaultSkeletonConfig));class gu extends G.Slider{}const su=gu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,G.foundationSliderTemplate)(e,a),styles:(e,a)=>u.css`
12122
+ `,shadowOptions:G.foundationSkeletonShadowOptions},G.defaultSkeletonConfig));class du extends G.Slider{}const cu=du.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,G.foundationSliderTemplate)(e,a),styles:(e,a)=>u.css`
12121
12123
  ${(0,G.foundationSliderStyles)(e,a)}
12122
12124
 
12123
12125
  .thumb-cursor {
@@ -12175,7 +12177,7 @@
12175
12177
  background-color: var(--neutral-stroke-rest);
12176
12178
  width: calc((var(--track-width) + 2) * 1px) !important;
12177
12179
  }
12178
- `,shadowOptions:G.foundationSliderShadowOptions},G.defaultSliderConfig));class du extends G.SliderLabel{}const cu=du.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,G.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>u.css`
12180
+ `,shadowOptions:G.foundationSliderShadowOptions},G.defaultSliderConfig));class pu extends G.SliderLabel{}const uu=pu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,G.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>u.css`
12179
12181
  ${(0,G.foundationSliderLabelStyles)(e,a)}
12180
12182
  .label {
12181
12183
  padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
@@ -12186,7 +12188,7 @@
12186
12188
  text-align: center;
12187
12189
  font-size: var(--type-ramp-minus-1-font-size, 12px);
12188
12190
  }
12189
- `,shadowOptions:G.foundationSliderLabelShadowOptions},G.defaultSliderLabelConfig)),pu=u.css`
12191
+ `,shadowOptions:G.foundationSliderLabelShadowOptions},G.defaultSliderLabelConfig)),hu=u.css`
12190
12192
  ${G.foundationSnackbarStyles}
12191
12193
  .snackbar {
12192
12194
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
@@ -12207,9 +12209,11 @@
12207
12209
  .action {
12208
12210
  gap: calc(var(--design-unit) * 2px);
12209
12211
  }
12210
- `,uu=u.html`
12212
+ `,mu=u.html`
12211
12213
  ${(0,G.getPrefixedSnackbar)("rapid")}
12212
- `,hu=G.foundationSnackbarShadowOptions;class mu extends G.Snackbar{}const bu=mu.compose({baseName:"snackbar",shadowOptions:hu,styles:pu,template:uu}),vu=u.css`
12214
+ `,bu=G.foundationSnackbarShadowOptions;class vu extends G.Snackbar{}const fu=vu.compose({baseName:"snackbar",shadowOptions:bu,styles:hu,template:mu});class wu extends G.StackingIcons{}const yu=wu.compose({baseName:"stacking-icons",template:G.foundationStackingIconsTemplate,styles:(e,a)=>u.css`
12215
+ ${(0,G.foundationStackingIconsStyles)(e,a)}
12216
+ `}),xu=u.css`
12213
12217
  ${G.foundationStepperStyles}
12214
12218
 
12215
12219
  :host {
@@ -12256,11 +12260,11 @@
12256
12260
  padding: 0 calc(var(--design-unit) * 2px);
12257
12261
  color: var(--neutral-foreground-hint);
12258
12262
  }
12259
- `,fu=u.html`
12263
+ `,ku=u.html`
12260
12264
  ${(0,G.getPrefixedStepper)("rapid")}
12261
- `;class wu extends G.Stepper{}const yu=wu.compose(Object.assign({baseName:"stepper",template:fu,styles:vu,shadowOptions:G.foundationStepperShadowOptions},G.defaultStepperConfig)),xu=u.html`
12265
+ `;class zu extends G.Stepper{}const Su=zu.compose(Object.assign({baseName:"stepper",template:ku,styles:xu,shadowOptions:G.foundationStepperShadowOptions},G.defaultStepperConfig)),Cu=u.html`
12262
12266
  ${(0,G.getPrefixedStepperTab)("rapid")}
12263
- `;class ku extends G.StepperTab{}const zu=ku.compose(Object.assign({baseName:"stepper-tab",template:xu,styles:(e,a)=>u.css`
12267
+ `;class $u extends G.StepperTab{}const Au=$u.compose(Object.assign({baseName:"stepper-tab",template:Cu,styles:(e,a)=>u.css`
12264
12268
  ${(0,G.foundationStepperTabStyles)(e,a)}
12265
12269
 
12266
12270
  rapid-tree-item {
@@ -12320,7 +12324,7 @@
12320
12324
  :host([error]) .step-title {
12321
12325
  color: var(--error-color);
12322
12326
  }
12323
- `,shadowOptions:G.foundationStepperTabShadowOptions},G.defaultStepperTabConfig));class Su extends G.StepperTabPanel{}const Cu=Su.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,G.foundationStepperTabPanelTemplate)(e,a),shadowOptions:G.foundationStepperTabPanelShadowOptions},G.defaultStepperTabPanelConfig)),$u={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class Au extends G.Switch{}const Fu=Au.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,G.foundationSwitchTemplate)(e,a),styles:(e,a)=>u.css`
12327
+ `,shadowOptions:G.foundationStepperTabShadowOptions},G.defaultStepperTabConfig));class Fu extends G.StepperTabPanel{}const Tu=Fu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,G.foundationStepperTabPanelTemplate)(e,a),shadowOptions:G.foundationStepperTabPanelShadowOptions},G.defaultStepperTabPanelConfig)),Ou={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class Du extends G.Switch{}const Ru=Du.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,G.foundationSwitchTemplate)(e,a),styles:(e,a)=>u.css`
12324
12328
  ${(0,G.foundationSwitchStyles)(e,a)}
12325
12329
  :host {
12326
12330
  --primary-gradient-angle: -113.5deg;
@@ -12357,7 +12361,7 @@
12357
12361
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
12358
12362
  background: var(--accent-fill-rest);
12359
12363
  }
12360
- `,shadowOptions:G.foundationSwitchShadowOptions},$u));class Ou extends G.Tab{}const Tu=Ou.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,G.foundationTabTemplate)(e,a),styles:(e,a)=>u.css`
12364
+ `,shadowOptions:G.foundationSwitchShadowOptions},Ou));class Nu extends G.Tab{}const Lu=Nu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,G.foundationTabTemplate)(e,a),styles:(e,a)=>u.css`
12361
12365
  ${(0,G.foundationTabStyles)(e,a)}
12362
12366
  :host {
12363
12367
  background-color: ${m.neutralLayer2};
@@ -12370,12 +12374,12 @@
12370
12374
  :host([aria-selected='true']:hover) {
12371
12375
  background-color: ${m.neutralLayer4};
12372
12376
  }
12373
- `,shadowOptions:G.foundationTabShadowOptions},G.defaultTabConfig));class Du extends G.TabPanel{}const Ru=Du.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,G.foundationTabPanelTemplate)(e,a),styles:(e,a)=>u.css`
12377
+ `,shadowOptions:G.foundationTabShadowOptions},G.defaultTabConfig));class Mu extends G.TabPanel{}const Iu=Mu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,G.foundationTabPanelTemplate)(e,a),styles:(e,a)=>u.css`
12374
12378
  ${(0,G.foundationTabPanelStyles)(e,a)}
12375
12379
  :host {
12376
12380
  padding: 0;
12377
12381
  }
12378
- `,shadowOptions:G.foundationTabPanelShadowOptions},G.defaultTabPanelConfig));class Nu extends G.Tabs{}const Lu=Nu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,G.foundationTabsTemplate)(e,a),styles:(e,a)=>u.css`
12382
+ `,shadowOptions:G.foundationTabPanelShadowOptions},G.defaultTabPanelConfig));class ju extends G.Tabs{}const Eu=ju.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,G.foundationTabsTemplate)(e,a),styles:(e,a)=>u.css`
12379
12383
  ${(0,G.foundationTabsStyles)(e,a)}
12380
12384
  :host {
12381
12385
  --base-height-multiplier: 9;
@@ -12450,7 +12454,7 @@
12450
12454
  :host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
12451
12455
  padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
12452
12456
  }
12453
- `,shadowOptions:G.foundationTabsShadowOptions},G.defaultTabsConfig));class Mu extends G.TextArea{}const Iu=Mu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,G.foundationTextAreaTemplate)(e,a),styles:(e,a)=>u.css`
12457
+ `,shadowOptions:G.foundationTabsShadowOptions},G.defaultTabsConfig));class Pu extends G.TextArea{}const Bu=Pu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,G.foundationTextAreaTemplate)(e,a),styles:(e,a)=>u.css`
12454
12458
  ${(0,G.foundationTextAreaStyles)(e,a)}
12455
12459
 
12456
12460
  :host .control {
@@ -12476,7 +12480,7 @@
12476
12480
  font-weight: 700;
12477
12481
  margin: calc(var(--design-unit) * 2px) 0;
12478
12482
  }
12479
- `,shadowOptions:G.foundationTextAreaShadowOptions},G.defaultTextAreaConfig));class ju extends G.TextField{}const Eu=ju.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,G.foundationTextFieldTemplate)(e,a),styles:(e,a)=>u.css`
12483
+ `,shadowOptions:G.foundationTextAreaShadowOptions},G.defaultTextAreaConfig));class Gu extends G.TextField{}const Uu=Gu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,G.foundationTextFieldTemplate)(e,a),styles:(e,a)=>u.css`
12480
12484
  ${(0,G.foundationTextFieldStyles)(e,a)}
12481
12485
 
12482
12486
  :host {
@@ -12513,7 +12517,7 @@
12513
12517
  font-weight: 700;
12514
12518
  margin: calc(var(--design-unit) * 2px) 0;
12515
12519
  }
12516
- `,shadowOptions:G.foundationTextFieldShadowOptions},G.defaultTextFieldConfig)),Pu=u.css`
12520
+ `,shadowOptions:G.foundationTextFieldShadowOptions},G.defaultTextFieldConfig)),_u=u.css`
12517
12521
  ${G.foundationToastStyles}
12518
12522
  .toast {
12519
12523
  background-color: ${m.neutralLayer1};
@@ -12568,7 +12572,7 @@
12568
12572
  :host([notify='serious']) .toast::after {
12569
12573
  background-color: var(--error-color);
12570
12574
  }
12571
- `,Bu=G.defaultToastConfig,Gu=G.foundationToastShadowOptions;class Uu extends G.Toast{}const _u=Uu.compose(Object.assign({baseName:"toast",shadowOptions:Gu,styles:Pu,template:G.foundationToastTemplate},Bu));class Hu extends G.Toolbar{}const Vu=Hu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,G.foundationToolbarTemplate)(e,a),styles:(e,a)=>u.css`
12575
+ `,Hu=G.defaultToastConfig,Vu=G.foundationToastShadowOptions;class Yu extends G.Toast{}const Qu=Yu.compose(Object.assign({baseName:"toast",shadowOptions:Vu,styles:_u,template:G.foundationToastTemplate},Hu));class Wu extends G.Toolbar{}const qu=Wu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,G.foundationToolbarTemplate)(e,a),styles:(e,a)=>u.css`
12572
12576
  ${(0,G.foundationToolbarStyles)(e,a)}
12573
12577
  :host {
12574
12578
  align-items: center;
@@ -12578,7 +12582,7 @@
12578
12582
  .positioning-region {
12579
12583
  align-items: center;
12580
12584
  }
12581
- `,shadowOptions:G.foundationToolbarShadowOptions},G.defaultToolbarConfig));class Yu extends G.Tooltip{}const Qu=Yu.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,G.foundationTooltipTemplate)(e,a),styles:(e,a)=>u.css`
12585
+ `,shadowOptions:G.foundationToolbarShadowOptions},G.defaultToolbarConfig));class Ju extends G.Tooltip{}const Zu=Ju.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,G.foundationTooltipTemplate)(e,a),styles:(e,a)=>u.css`
12582
12586
  ${(0,G.foundationTooltipStyles)(e,a)}
12583
12587
 
12584
12588
  :host {
@@ -12601,7 +12605,7 @@
12601
12605
  alpha-anchored-region.bottom.right .tooltip {
12602
12606
  margin-left: 0;
12603
12607
  }
12604
- `,shadowOptions:G.foundationTooltipShadowOptions},G.defaultTooltipConfig));class Wu extends G.TreeItem{}const qu={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>'},Ju=Wu.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,G.foundationTreeItemTemplate)(e,a),styles:(e,a)=>u.css`
12608
+ `,shadowOptions:G.foundationTooltipShadowOptions},G.defaultTooltipConfig));class Ku extends G.TreeItem{}const Xu={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>'},eh=Ku.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,G.foundationTreeItemTemplate)(e,a),styles:(e,a)=>u.css`
12605
12609
  ${(0,G.foundationTreeItemStyles)(e,a)}
12606
12610
  :host {
12607
12611
  font-size: var(--type-ramp-base-font-size);
@@ -12640,11 +12644,11 @@
12640
12644
  width: calc(var(--design-unit) * 3px);
12641
12645
  height: calc(var(--design-unit) * 3px);
12642
12646
  }
12643
- `,shadowOptions:G.foundationTreeItemShadowOptions},qu));class Zu extends G.TreeView{}const Ku=Zu.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,G.foundationTreeViewTemplate)(e,a),styles:(e,a)=>u.css`
12647
+ `,shadowOptions:G.foundationTreeItemShadowOptions},Xu));class ah extends G.TreeView{}const rh=ah.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,G.foundationTreeViewTemplate)(e,a),styles:(e,a)=>u.css`
12644
12648
  ${(0,G.foundationTreeViewStyles)(e,a)}
12645
- `,shadowOptions:G.foundationTreeViewShadowOptions},G.defaultTreeViewConfig)),Xu=u.html`
12649
+ `,shadowOptions:G.foundationTreeViewShadowOptions},G.defaultTreeViewConfig)),th=u.html`
12646
12650
  ${(0,G.getPrefixedUrlInput)("rapid")}
12647
- `;class eh extends G.UrlInput{}const ah={designSystemProvider:td,rapidAccordion:id,rapidAccordionItem:ld,rapidActionsMenu:sd,rapidAnchor:vd,rapidAnchoredRegion:wd,rapidAvatar:xd,rapidBadge:zd,rapidBanner:Ad,rapidBreadcrumb:Od,rapidBreadcrumbItem:Dd,rapidButton:Nd,rapidCalendar:Md,rapidCard:jd,rapidCategorizedMultiselect:_d,rapidCheckbox:Vd,rapidCombobox:Qd,rapidConnectionIndicator:qd,rapidDataGrid:()=>(0,G.foundationDataGrid)(),rapidDataGridCell:()=>(0,G.foundationDataGridCell)(),rapidDataGridRow:()=>(0,G.foundationDataGridRow)(),rapidDatePicker:pc,rapidDialog:fc,rapidDisclosure:yc,rapidDivider:kc,rapidDropdownMenu:Sc,rapidErrorBoundary:()=>(0,G.foundationErrorBoundary)(),rapidFileUpload:Lc,rapidFilter:jc,rapidFilterBar:Bc,rapidFlexLayout:()=>(0,G.foundationFlexLayout)(),rapidFlipper:Yc,rapidFlyout:Kc,rapidGridLayout:()=>(0,G.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,G.foundationGridLayoutItem)(),rapidHorizontalScroll:sp,rapidIcon:up,rapidListbox:mp,rapidListboxOption:vp,rapidMenu:wp,rapidMenuItem:kp,rapidModal:Fp,rapidMultiselect:Lp,rapidNumberField:Pp,rapidProgress:Gp,rapidProgressRing:_p,rapidRadio:Vp,rapidRadioGroup:Qp,rapidSearchBar:Zp,rapidSearchBarCombobox:Xp,rapidSegmentedControl:au,rapidSegmentedItem:tu,rapidSelect:iu,rapidSkeleton:lu,rapidSlider:su,rapidSliderLabel:cu,rapidSnackbar:bu,rapidStepper:yu,rapidStepperTab:zu,rapidStepperTabPanel:Cu,rapidSwitch:Fu,rapidTab:Tu,rapidTabPanel:Ru,rapidTabs:Lu,rapidTextArea:Iu,rapidTextField:Eu,rapidToast:_u,rapidToolbar:Vu,rapidTooltip:Qu,rapidTreeItem:Ju,rapidTreeView:Ku,rapidUrlInput:eh.compose(Object.assign({baseName:"url-input",template:Xu,styles:(e,a)=>u.css`
12651
+ `;class oh extends G.UrlInput{}const ih={designSystemProvider:id,rapidAccordion:ld,rapidAccordionItem:sd,rapidActionsMenu:cd,rapidAnchor:wd,rapidAnchoredRegion:xd,rapidAvatar:zd,rapidBadge:Cd,rapidBanner:Td,rapidBreadcrumb:Dd,rapidBreadcrumbItem:Nd,rapidButton:Md,rapidCalendar:jd,rapidCard:Pd,rapidCategorizedMultiselect:Vd,rapidCheckbox:Qd,rapidCombobox:qd,rapidConnectionIndicator:Zd,rapidDataGrid:()=>(0,G.foundationDataGrid)(),rapidDataGridCell:()=>(0,G.foundationDataGridCell)(),rapidDataGridRow:()=>(0,G.foundationDataGridRow)(),rapidDatePicker:hc,rapidDialog:yc,rapidDisclosure:kc,rapidDivider:Sc,rapidDropdownMenu:$c,rapidErrorBoundary:()=>(0,G.foundationErrorBoundary)(),rapidFileUpload:Ic,rapidFilter:Pc,rapidFilterBar:Uc,rapidFlexLayout:()=>(0,G.foundationFlexLayout)(),rapidFlipper:Wc,rapidFlyout:ep,rapidGridLayout:()=>(0,G.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,G.foundationGridLayoutItem)(),rapidHorizontalScroll:cp,rapidIcon:mp,rapidListbox:vp,rapidListboxOption:wp,rapidMenu:xp,rapidMenuItem:Sp,rapidModal:Op,rapidMultiselect:Ip,rapidNumberField:Gp,rapidProgress:_p,rapidProgressRing:Vp,rapidRadio:Qp,rapidRadioGroup:qp,rapidSearchBar:Xp,rapidSearchBarCombobox:au,rapidSegmentedControl:tu,rapidSegmentedItem:iu,rapidSelect:lu,rapidSkeleton:su,rapidSlider:cu,rapidSliderLabel:uu,rapidSnackbar:fu,rapidStackingIcons:yu,rapidStepper:Su,rapidStepperTab:Au,rapidStepperTabPanel:Tu,rapidSwitch:Ru,rapidTab:Lu,rapidTabPanel:Iu,rapidTabs:Eu,rapidTextArea:Bu,rapidTextField:Uu,rapidToast:Qu,rapidToolbar:qu,rapidTooltip:Zu,rapidTreeItem:eh,rapidTreeView:rh,rapidUrlInput:oh.compose(Object.assign({baseName:"url-input",template:th,styles:(e,a)=>u.css`
12648
12652
  ${(0,G.foundationUrlInputStyles)(e,a)}
12649
12653
  a {
12650
12654
  color: var(--accent-fill-rest);
@@ -12660,8 +12664,8 @@
12660
12664
  font-size: var(--type-ramp-base-font-size);
12661
12665
  top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
12662
12666
  }
12663
- `,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class rh extends Ui{}const th=rh.compose({baseName:"date-editor",styles:_i,template:Hi("rapid")});class oh extends Wi{}const ih=oh.compose({baseName:"multiselect-editor",styles:qi,template:Ji("rapid")});class nh extends en{}const lh=nh.compose({baseName:"select-editor",styles:an,template:rn("rapid")});class gh extends ln{}const sh=gh.compose({baseName:"number-editor",styles:gn,template:sn("rapid")});class dh extends un{}const ch=dh.compose({baseName:"string-editor",styles:hn,template:mn("rapid")});class ph extends wn{}const uh=ph.compose({baseName:"editable-renderer",styles:yn,template:xn("rapid")});class hh extends An{}const mh=hh.compose({baseName:"grid-pro-action-renderer",styles:u.css`
12664
- ${On}
12667
+ `,shadowOptions:G.foundationUrlInputShadowOptions},G.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class nh extends Hi{}const lh=nh.compose({baseName:"date-editor",styles:Vi,template:Yi("rapid")});class gh extends Ji{}const sh=gh.compose({baseName:"multiselect-editor",styles:Zi,template:Ki("rapid")});class dh extends rn{}const ch=dh.compose({baseName:"select-editor",styles:tn,template:on("rapid")});class ph extends sn{}const uh=ph.compose({baseName:"number-editor",styles:dn,template:cn("rapid")});class hh extends mn{}const mh=hh.compose({baseName:"string-editor",styles:bn,template:vn("rapid")});class bh extends xn{}const vh=bh.compose({baseName:"editable-renderer",styles:kn,template:zn("rapid")});class fh extends Tn{}const wh=fh.compose({baseName:"grid-pro-action-renderer",styles:u.css`
12668
+ ${Dn}
12665
12669
  `,template:u.html`
12666
12670
  <div class="action-container" part="action-container">
12667
12671
  <rapid-button
@@ -12678,12 +12682,12 @@
12678
12682
  `:e.params.actionName}
12679
12683
  </rapid-button>
12680
12684
  </div>
12681
- `});class bh extends Nn{}const vh=bh.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
12685
+ `});class yh extends Mn{}const xh=yh.compose({baseName:"grid-pro-actions-menu-renderer",template:u.html`
12682
12686
  <rapid-actions-menu
12683
12687
  name="${e=>e.params.headerName}"
12684
12688
  :definition=${e=>e.params}
12685
12689
  ></rapid-actions-menu>
12686
- `});class fh extends jn{}const wh=fh.compose({baseName:"boolean-renderer",styles:En,template:Pn("rapid")});const yh=class extends qn{}.compose({baseName:"grid-text-renderer",styles:Jn,template:Zn("rapid")});const xh=class extends el{}.compose({baseName:"select-renderer",styles:al,template:rl("rapid")}),kh={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},zh={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:Sh}=h.DesignToken,Ch={backgroundColor:Sh("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?zh.backgroundSwatch:kh.backgroundSwatch)),borderColor:Sh("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?zh.borderSwatch:kh.borderSwatch)),foregroundColor:Sh("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?zh.foregroundSwatch:kh.foregroundSwatch)),headerForegroundColor:Sh("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?zh.headerForegroundSwatch:kh.headerForegroundSwatch)),rowHoverColor:Sh("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?zh.rowHoverSwatch:kh.rowHoverSwatch))},$h=u.css`
12690
+ `});class kh extends Pn{}const zh=kh.compose({baseName:"boolean-renderer",styles:Bn,template:Gn("rapid")});const Sh=class extends Zn{}.compose({baseName:"grid-text-renderer",styles:Kn,template:Xn("rapid")});const Ch=class extends rl{}.compose({baseName:"select-renderer",styles:tl,template:ol("rapid")}),$h={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#879ba6")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#1f2126")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2b2e34"))},Ah={foregroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#000000")),headerForegroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#181d1f")),backgroundSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#FFFFFF")),borderSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:m.SwatchRGB.from((0,xe.parseColorHexRGB)("#2196f3"))},{create:Fh}=h.DesignToken,Th={backgroundColor:Fh("rapid-ag-background-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.backgroundSwatch:$h.backgroundSwatch)),borderColor:Fh("rapid-ag-border-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.borderSwatch:$h.borderSwatch)),foregroundColor:Fh("rapid-ag-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.foregroundSwatch:$h.foregroundSwatch)),headerForegroundColor:Fh("rapid-ag-header-foreground-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.headerForegroundSwatch:$h.headerForegroundSwatch)),rowHoverColor:Fh("rapid-ag-row-hover-color").withDefault((e=>m.baseLayerLuminance.getValueFor(e)===m.StandardLuminance.LightMode?Ah.rowHoverSwatch:$h.rowHoverSwatch))},Oh=u.css`
12687
12691
  .ag-theme-genesis-rapid,
12688
12692
  .ag-theme-genesis-rapid-dark {
12689
12693
  --ag-alpine-active-color: #2196f3;
@@ -13144,76 +13148,76 @@
13144
13148
  .ag-theme-genesis-rapid-dark {
13145
13149
  color-scheme: dark;
13146
13150
  }
13147
- `,Ah={[Ai.backgroundColor]:Ch.backgroundColor,[Ai.foregroundColor]:Ch.foregroundColor,[Ai.oddRowBackgroundColor]:Ch.backgroundColor,[Ai.headerBackgroundColor]:Ch.backgroundColor,[Ai.headerForegroundColor]:Ch.headerForegroundColor,[Ai.selectedRowBackgroundColor]:Ch.rowHoverColor,[Ai.rowHoverColor]:Ch.rowHoverColor,[Ai.borderColor]:Ch.borderColor,[Ai.rowBorderColor]:Ch.rowHoverColor,[Ai.modalOverlayBackgroundColor]:Ch.backgroundColor,[Ai.inputFocusBoxShadow]:Ch.headerForegroundColor,[Ai.inputFocusBorderColor]:Ch.headerForegroundColor,[Ai.headerColumnResizeHandleColor]:Ch.headerForegroundColor},Fh="ag-theme-genesis-rapid",Oh=u.css`
13148
- ${$h}
13149
- ${Mi(Fh,Ah)}
13151
+ `,Dh={[Ti.backgroundColor]:Th.backgroundColor,[Ti.foregroundColor]:Th.foregroundColor,[Ti.oddRowBackgroundColor]:Th.backgroundColor,[Ti.headerBackgroundColor]:Th.backgroundColor,[Ti.headerForegroundColor]:Th.headerForegroundColor,[Ti.selectedRowBackgroundColor]:Th.rowHoverColor,[Ti.rowHoverColor]:Th.rowHoverColor,[Ti.borderColor]:Th.borderColor,[Ti.rowBorderColor]:Th.rowHoverColor,[Ti.modalOverlayBackgroundColor]:Th.backgroundColor,[Ti.inputFocusBoxShadow]:Th.headerForegroundColor,[Ti.inputFocusBorderColor]:Th.headerForegroundColor,[Ti.headerColumnResizeHandleColor]:Th.headerForegroundColor},Rh="ag-theme-genesis-rapid",Nh=u.css`
13152
+ ${Oh}
13153
+ ${ji(Rh,Dh)}
13150
13154
 
13151
- .${Fh} {
13155
+ .${Rh} {
13152
13156
  ${Ge()}
13153
13157
  font-family: var(--body-font);
13154
13158
  }
13155
13159
 
13156
- .${Fh} .ag-body .ag-body-viewport,
13157
- .${Fh} .ag-header,
13158
- .${Fh} .ag-row {
13160
+ .${Rh} .ag-body .ag-body-viewport,
13161
+ .${Rh} .ag-header,
13162
+ .${Rh} .ag-row {
13159
13163
  background-color: var(--neutral-layer-4);
13160
13164
  }
13161
13165
 
13162
- .${Fh} .ag-header {
13166
+ .${Rh} .ag-header {
13163
13167
  border-bottom-color: var(--neutral-stroke-rest);
13164
13168
  font-weight: bold;
13165
13169
  font-size: var(--type-ramp-base-font-size);
13166
13170
  }
13167
13171
 
13168
- .${Fh} .ag-root-wrapper {
13172
+ .${Rh} .ag-root-wrapper {
13169
13173
  border-radius: calc(var(--ag-border-radius) * 1px);
13170
13174
  border: 1px solid var(--rapid-ag-border-color);
13171
13175
  }
13172
13176
 
13173
- .${Fh} .ag-cell {
13177
+ .${Rh} .ag-cell {
13174
13178
  font-size: var(--type-ramp-minus-1-font-size);
13175
13179
  }
13176
- `,Th="ag-theme-genesis-rapid-dark",Dh=u.css`
13177
- ${$h}
13178
- ${Mi(Fh,Ah)}
13180
+ `,Lh="ag-theme-genesis-rapid-dark",Mh=u.css`
13181
+ ${Oh}
13182
+ ${ji(Rh,Dh)}
13179
13183
 
13180
- .${Th} {
13184
+ .${Lh} {
13181
13185
  ${Ge()}
13182
13186
  font-family: var(--body-font);
13183
13187
  }
13184
13188
 
13185
- .${Th} .ag-body .ag-body-viewport,
13186
- .${Th} .ag-header,
13187
- .${Th} .ag-row {
13189
+ .${Lh} .ag-body .ag-body-viewport,
13190
+ .${Lh} .ag-header,
13191
+ .${Lh} .ag-row {
13188
13192
  background-color: var(--neutral-layer-4);
13189
13193
  }
13190
13194
 
13191
- .${Th} .ag-header {
13195
+ .${Lh} .ag-header {
13192
13196
  border-bottom-color: var(--neutral-stroke-rest);
13193
13197
  font-weight: bold;
13194
13198
  font-size: var(--type-ramp-base-font-size);
13195
13199
  }
13196
13200
 
13197
- .${Th} .ag-root-wrapper {
13201
+ .${Lh} .ag-root-wrapper {
13198
13202
  border-radius: calc(var(--ag-border-radius) * 1px);
13199
13203
  border: 1px solid var(--rapid-ag-border-color);
13200
13204
  }
13201
13205
 
13202
- .${Th} .ag-cell {
13206
+ .${Lh} .ag-cell {
13203
13207
  font-size: var(--type-ramp-minus-1-font-size);
13204
13208
  }
13205
- `,Rh=u.css`
13209
+ `,Ih=u.css`
13206
13210
  /* All the AG themes */
13207
- ${tg}
13211
+ ${ig}
13208
13212
 
13209
13213
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
13210
- ${Oh}
13211
- ${Dh}
13214
+ ${Nh}
13215
+ ${Mh}
13212
13216
 
13213
13217
  .error {
13214
13218
  border-color: ${ye.shortPink} !important;
13215
13219
  }
13216
- `,Nh=og,Lh="ag-theme-genesis-rapid-dark";const Mh=ug,Ih={rapidAgEditableRenderer:uh,rapidAgActionRenderer:mh,rapidAgActionsMenuRenderer:vh,rapidAgBooleanRenderer:wh,rapidAgTextRenderer:yh,rapidAgSelectRenderer:xh,rapidAgDateEditor:th,rapidAgMultiselectEditor:ih,rapidAgSelectEditor:lh,rapidAgNumberEditor:sh,rapidAgStringEditor:ch,rapidGridPro:class extends cg{constructor(){super(...arguments),this.theme=Lh}themeChanged(e,a){(e||a===Lh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ii.action]:hh,[Ii.actionsMenu]:bh,[Ii.boolean]:fh,[Ii.editable]:ph,[Ii.selectEditor]:nh,[Ii.numberEditor]:gh,[Ii.multiselectEditor]:oh,[Ii.dateEditor]:rh,[Ii.stringEditor]:dh};(this.theme===Fh||this.theme===Th)&&(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:Nh,styles:Rh,shadowOptions:undefined},Mh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var jh,Eh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(jh||(jh={}));const Ph={Roboto:Be,"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'},Bh=Ph["Segoe UI"],Gh=u.css`
13220
+ `,jh=ng,Eh="ag-theme-genesis-rapid-dark";const Ph=mg,Bh={rapidAgEditableRenderer:vh,rapidAgActionRenderer:wh,rapidAgActionsMenuRenderer:xh,rapidAgBooleanRenderer:zh,rapidAgTextRenderer:Sh,rapidAgSelectRenderer:Ch,rapidAgDateEditor:lh,rapidAgMultiselectEditor:sh,rapidAgSelectEditor:ch,rapidAgNumberEditor:uh,rapidAgStringEditor:mh,rapidGridPro:class extends ug{constructor(){super(...arguments),this.theme=Eh}themeChanged(e,a){(e||a===Eh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ei.action]:fh,[Ei.actionsMenu]:yh,[Ei.boolean]:kh,[Ei.editable]:bh,[Ei.selectEditor]:dh,[Ei.numberEditor]:ph,[Ei.multiselectEditor]:gh,[Ei.dateEditor]:nh,[Ei.stringEditor]:hh};(this.theme===Rh||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:jh,styles:Ih,shadowOptions:undefined},Ph)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Gh,Uh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Gh||(Gh={}));const _h={Roboto:Be,"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'},Hh=_h["Segoe UI"],Vh=u.css`
13217
13221
  ${(0,h.display)("block")} :host {
13218
13222
  width: 100%;
13219
13223
  display: inline-flex;
@@ -13345,7 +13349,7 @@
13345
13349
  alpha-button {
13346
13350
  margin: 0;
13347
13351
  }
13348
- `,Uh=u.html`
13352
+ `,Yh=u.html`
13349
13353
  <template>
13350
13354
  <div class="configuration">
13351
13355
  ${(0,u.when)((e=>!e.customDesignMode),u.html`
@@ -13553,7 +13557,7 @@
13553
13557
  </div>
13554
13558
  </div>
13555
13559
  ${(0,u.when)((e=>!e.customDesignMode),u.html`
13556
- <alpha-checkbox :checked="${(0,_n.Z)((e=>e.preserveOptions),"boolean")}">
13560
+ <alpha-checkbox :checked="${(0,Vn.Z)((e=>e.preserveOptions),"boolean")}">
13557
13561
  Preserve selected options when changing design systems
13558
13562
  </alpha-checkbox>
13559
13563
  `)}
@@ -13568,7 +13572,7 @@
13568
13572
  <slot></slot>
13569
13573
  </div>
13570
13574
  </template>
13571
- `,_h=({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(Ph).find((a=>Ph[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Hh=_h(Ve),Vh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Yh={accent:"primary",neutral:"secondary",font:"white"},Qh=_h(l.designTokens),Wh=_h(ad),qh={zero:{prefix:"zero",tokenDefaults:Hh,buttons:Vh,badge:Yh},alpha:{prefix:"alpha",tokenDefaults:Qh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Wh,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Vh,badge:Yh}};let Jh=class extends u.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Hh.luminance===m.StandardLuminance.DarkMode,this.luminance=Hh.luminance,this.neutralColor=Hh.neutralColor,this.accentColor=Hh.accentColor,this.bodyFont=Hh.bodyFont,this.density=Hh.density,this.borderRadius=Hh.borderRadius,this.strokeWidth=Hh.strokeWidth,this.designUnit=Hh.designUnit,this.baseFontSize=Hh.baseFontSize,this.baseLineHeight=Hh.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof h.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof m.Combobox||e.target instanceof m.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof h.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?m.StandardLuminance.DarkMode:m.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&u.DOM.queueUpdate((()=>{const e=_h(a);qh.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Eh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(qh[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Eh.__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:qh[this.ds].prefix,buttonAppearanceAccent:qh[this.ds].buttons.accent,buttonAppearanceNeutral:qh[this.ds].buttons.neutral,buttonAppearanceOutline:qh[this.ds].buttons.outline,buttonAppearanceText:qh[this.ds].buttons.text,badgeAppearanceAccent:qh[this.ds].badge.accent,badgeAppearanceNeutral:qh[this.ds].badge.neutral,badgeText:qh[this.ds].badge.font};this.$emit(jh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(qh[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Ph[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(jh.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===m.StandardLuminance.DarkMode,u.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={},Pe(),u.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(jh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Eh.__decorate)([(0,u.attr)({mode:"boolean",attribute:"custom-design-mode"})],Jh.prototype,"customDesignMode",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"designSystems",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"ds",void 0),(0,Eh.__decorate)([u.attr],Jh.prototype,"darkMode",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"neutralColor",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"accentColor",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"bodyFont",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"density",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"borderRadius",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"strokeWidth",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"designUnit",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"baseFontSize",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"baseLineHeight",void 0),(0,Eh.__decorate)([u.observable],Jh.prototype,"preserveOptions",void 0),Jh=(0,Eh.__decorate)([(0,u.customElement)({name:"design-system-editor",template:Uh,styles:Gh})],Jh);const Zh=(0,w.createLogger)("documentation-components"),Kh=e=>{const a=(e=>{const a=(0,xe.parseColorHexRGB)(e);return a?m.SwatchRGB.from(a):null})(e);return a?m.PaletteRGB.create(a):null},Xh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},em=(e,a)=>{const r=Kh(e.neutralColor);m.neutralPalette.setValueFor(a,r);const t=Kh(e.accentColor);m.accentPalette.setValueFor(a,t),m.baseLayerLuminance.setValueFor(a,e.luminance),m.density.setValueFor(a,e.density),m.controlCornerRadius.setValueFor(a,e.borderRadius),m.strokeWidth.setValueFor(a,e.strokeWidth),m.designUnit.setValueFor(a,e.designUnit),m.bodyFont.setValueFor(a,e.bodyFont),m.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),m.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),m.typeRampMinus1FontSize.setValueFor(a,Xh(m.typeRampBaseFontSize,Ee.Yd.minusOne,a)),m.typeRampMinus1LineHeight.setValueFor(a,Xh(m.typeRampBaseLineHeight,Ee.Yd.minusOne,a)),m.typeRampMinus2FontSize.setValueFor(a,Xh(m.typeRampBaseFontSize,Ee.Yd.minusTwo,a)),m.typeRampMinus2LineHeight.setValueFor(a,Xh(m.typeRampBaseLineHeight,Ee.Yd.minusTwo,a)),m.typeRampPlus1FontSize.setValueFor(a,Xh(m.typeRampBaseFontSize,Ee.Yd.plusOne,a)),m.typeRampPlus1LineHeight.setValueFor(a,Xh(m.typeRampBaseLineHeight,Ee.Yd.plusOne,a)),m.typeRampPlus2FontSize.setValueFor(a,Xh(m.typeRampBaseFontSize,Ee.Yd.plusTwo,a)),m.typeRampPlus2LineHeight.setValueFor(a,Xh(m.typeRampBaseLineHeight,Ee.Yd.plusTwo,a)),m.typeRampPlus3FontSize.setValueFor(a,Xh(m.typeRampBaseFontSize,Ee.Yd.plusThree,a)),m.typeRampPlus3LineHeight.setValueFor(a,Xh(m.typeRampBaseLineHeight,Ee.Yd.plusThree,a)),m.typeRampPlus4FontSize.setValueFor(a,Xh(m.typeRampBaseFontSize,Ee.Yd.plusFour,a)),m.typeRampPlus4LineHeight.setValueFor(a,Xh(m.typeRampBaseLineHeight,Ee.Yd.plusFour,a)),m.typeRampPlus5FontSize.setValueFor(a,Xh(m.typeRampBaseFontSize,Ee.Yd.plusFive,a)),m.typeRampPlus5LineHeight.setValueFor(a,Xh(m.typeRampBaseLineHeight,Ee.Yd.plusFive,a)),m.typeRampPlus6FontSize.setValueFor(a,Xh(m.typeRampBaseFontSize,Ee.Yd.plusSix,a)),m.typeRampPlus6LineHeight.setValueFor(a,Xh(m.typeRampBaseLineHeight,Ee.Yd.plusSix,a))},am=u.css`
13575
+ `,Qh=({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(_h).find((a=>_h[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Wh=Qh(Ve),qh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Jh={accent:"primary",neutral:"secondary",font:"white"},Zh=Qh(l.designTokens),Kh=Qh(td),Xh={zero:{prefix:"zero",tokenDefaults:Wh,buttons:qh,badge:Jh},alpha:{prefix:"alpha",tokenDefaults:Zh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Kh,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:qh,badge:Jh}};let em=class extends u.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Wh.luminance===m.StandardLuminance.DarkMode,this.luminance=Wh.luminance,this.neutralColor=Wh.neutralColor,this.accentColor=Wh.accentColor,this.bodyFont=Wh.bodyFont,this.density=Wh.density,this.borderRadius=Wh.borderRadius,this.strokeWidth=Wh.strokeWidth,this.designUnit=Wh.designUnit,this.baseFontSize=Wh.baseFontSize,this.baseLineHeight=Wh.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof h.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof m.Combobox||e.target instanceof m.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof h.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?m.StandardLuminance.DarkMode:m.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&u.DOM.queueUpdate((()=>{const e=Qh(a);Xh.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Uh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Xh[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Uh.__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:Xh[this.ds].prefix,buttonAppearanceAccent:Xh[this.ds].buttons.accent,buttonAppearanceNeutral:Xh[this.ds].buttons.neutral,buttonAppearanceOutline:Xh[this.ds].buttons.outline,buttonAppearanceText:Xh[this.ds].buttons.text,badgeAppearanceAccent:Xh[this.ds].badge.accent,badgeAppearanceNeutral:Xh[this.ds].badge.neutral,badgeText:Xh[this.ds].badge.font};this.$emit(Gh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Xh[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:_h[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(Gh.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===m.StandardLuminance.DarkMode,u.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={},Pe(),u.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Gh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Uh.__decorate)([(0,u.attr)({mode:"boolean",attribute:"custom-design-mode"})],em.prototype,"customDesignMode",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"designSystems",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"ds",void 0),(0,Uh.__decorate)([u.attr],em.prototype,"darkMode",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"neutralColor",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"accentColor",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"bodyFont",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"density",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"borderRadius",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"strokeWidth",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"designUnit",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"baseFontSize",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"baseLineHeight",void 0),(0,Uh.__decorate)([u.observable],em.prototype,"preserveOptions",void 0),em=(0,Uh.__decorate)([(0,u.customElement)({name:"design-system-editor",template:Yh,styles:Vh})],em);const am=(0,w.createLogger)("documentation-components"),rm=e=>{const a=(e=>{const a=(0,xe.parseColorHexRGB)(e);return a?m.SwatchRGB.from(a):null})(e);return a?m.PaletteRGB.create(a):null},tm=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},om=(e,a)=>{const r=rm(e.neutralColor);m.neutralPalette.setValueFor(a,r);const t=rm(e.accentColor);m.accentPalette.setValueFor(a,t),m.baseLayerLuminance.setValueFor(a,e.luminance),m.density.setValueFor(a,e.density),m.controlCornerRadius.setValueFor(a,e.borderRadius),m.strokeWidth.setValueFor(a,e.strokeWidth),m.designUnit.setValueFor(a,e.designUnit),m.bodyFont.setValueFor(a,e.bodyFont),m.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),m.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),m.typeRampMinus1FontSize.setValueFor(a,tm(m.typeRampBaseFontSize,Ee.Yd.minusOne,a)),m.typeRampMinus1LineHeight.setValueFor(a,tm(m.typeRampBaseLineHeight,Ee.Yd.minusOne,a)),m.typeRampMinus2FontSize.setValueFor(a,tm(m.typeRampBaseFontSize,Ee.Yd.minusTwo,a)),m.typeRampMinus2LineHeight.setValueFor(a,tm(m.typeRampBaseLineHeight,Ee.Yd.minusTwo,a)),m.typeRampPlus1FontSize.setValueFor(a,tm(m.typeRampBaseFontSize,Ee.Yd.plusOne,a)),m.typeRampPlus1LineHeight.setValueFor(a,tm(m.typeRampBaseLineHeight,Ee.Yd.plusOne,a)),m.typeRampPlus2FontSize.setValueFor(a,tm(m.typeRampBaseFontSize,Ee.Yd.plusTwo,a)),m.typeRampPlus2LineHeight.setValueFor(a,tm(m.typeRampBaseLineHeight,Ee.Yd.plusTwo,a)),m.typeRampPlus3FontSize.setValueFor(a,tm(m.typeRampBaseFontSize,Ee.Yd.plusThree,a)),m.typeRampPlus3LineHeight.setValueFor(a,tm(m.typeRampBaseLineHeight,Ee.Yd.plusThree,a)),m.typeRampPlus4FontSize.setValueFor(a,tm(m.typeRampBaseFontSize,Ee.Yd.plusFour,a)),m.typeRampPlus4LineHeight.setValueFor(a,tm(m.typeRampBaseLineHeight,Ee.Yd.plusFour,a)),m.typeRampPlus5FontSize.setValueFor(a,tm(m.typeRampBaseFontSize,Ee.Yd.plusFive,a)),m.typeRampPlus5LineHeight.setValueFor(a,tm(m.typeRampBaseLineHeight,Ee.Yd.plusFive,a)),m.typeRampPlus6FontSize.setValueFor(a,tm(m.typeRampBaseFontSize,Ee.Yd.plusSix,a)),m.typeRampPlus6LineHeight.setValueFor(a,tm(m.typeRampBaseLineHeight,Ee.Yd.plusSix,a))},im=u.css`
13572
13576
  :host {
13573
13577
  --badge-fill-primary: var(--accent-fill-rest);
13574
13578
  --badge-fill-neutral: var(--neutral-fill-rest);
@@ -13664,7 +13668,7 @@
13664
13668
  display: flex;
13665
13669
  flex-direction: column;
13666
13670
  }
13667
- `,rm=u.html`
13671
+ `,nm=u.html`
13668
13672
  ${e=>(e=>u.html`
13669
13673
  <template>
13670
13674
  <${e}-design-system-provider ${(0,u.ref)("provider")}>
@@ -14076,7 +14080,7 @@
14076
14080
  </${e}-design-system-provider>
14077
14081
  </template>
14078
14082
  `)(e.prefix)}
14079
- `;let tm=class extends u.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=>Zh.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>Zh.debug("DELETE!!!",e)},{name:"Edit",callback:e=>Zh.debug("EDIT!!!",e)},{name:"Wait",callback:e=>Zh.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(jh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(jh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{m.bodyFont.withDefault(Bh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{em(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,Eh.__decorate)([u.observable],tm.prototype,"modal",void 0),(0,Eh.__decorate)([u.attr],tm.prototype,"prefix",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"buttonAppearanceAccent",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"buttonAppearanceNeutral",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"buttonAppearanceOutline",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"buttonAppearanceText",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"badgeAppearanceAccent",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"badgeAppearanceNeutral",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"badgeText",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"cards",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"countries",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"menuActions",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"menuDefinition",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"dropDownMenuItems",void 0),(0,Eh.__decorate)([u.observable],tm.prototype,"provider",void 0),tm=(0,Eh.__decorate)([(0,u.customElement)({name:"preview-components",template:rm,styles:am})],tm);const om=u.css`
14083
+ `;let lm=class extends u.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=>am.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>am.debug("DELETE!!!",e)},{name:"Edit",callback:e=>am.debug("EDIT!!!",e)},{name:"Wait",callback:e=>am.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(Gh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Gh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{m.bodyFont.withDefault(Hh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{om(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,Uh.__decorate)([u.observable],lm.prototype,"modal",void 0),(0,Uh.__decorate)([u.attr],lm.prototype,"prefix",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"buttonAppearanceAccent",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"buttonAppearanceNeutral",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"buttonAppearanceOutline",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"buttonAppearanceText",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"badgeAppearanceAccent",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"badgeAppearanceNeutral",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"badgeText",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"cards",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"countries",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"menuActions",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"menuDefinition",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"dropDownMenuItems",void 0),(0,Uh.__decorate)([u.observable],lm.prototype,"provider",void 0),lm=(0,Uh.__decorate)([(0,u.customElement)({name:"preview-components",template:nm,styles:im})],lm);const gm=u.css`
14080
14084
  .export {
14081
14085
  display: flex;
14082
14086
  justify-content: center;
@@ -14087,7 +14091,7 @@
14087
14091
  display: flex;
14088
14092
  justify-content: space-between;
14089
14093
  }
14090
- `,im=u.html`
14094
+ `,sm=u.html`
14091
14095
  <template>
14092
14096
  <div class="export">
14093
14097
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -14108,7 +14112,7 @@
14108
14112
  </alpha-modal>
14109
14113
  </div>
14110
14114
  </template>
14111
- `;let nm=class extends u.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=>{Zh.log("Tokens saved successfully:",e),this.$emit(jh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{Zh.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(jh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Eh.__decorate)([u.attr],nm.prototype,"value",void 0),(0,Eh.__decorate)([u.attr],nm.prototype,"tokensPath",void 0),nm=(0,Eh.__decorate)([(0,u.customElement)({name:"design-system-export",template:im,styles:om})],nm);const lm=u.css`
14115
+ `;let dm=class extends u.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=>{am.log("Tokens saved successfully:",e),this.$emit(Gh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{am.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Gh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Uh.__decorate)([u.attr],dm.prototype,"value",void 0),(0,Uh.__decorate)([u.attr],dm.prototype,"tokensPath",void 0),dm=(0,Uh.__decorate)([(0,u.customElement)({name:"design-system-export",template:sm,styles:gm})],dm);const cm=u.css`
14112
14116
  .colors {
14113
14117
  display: flex;
14114
14118
  flex-wrap: wrap;
@@ -14121,23 +14125,23 @@
14121
14125
  flex-grow: 1;
14122
14126
  height: 20px;
14123
14127
  }
14124
- `,gm=u.html`
14128
+ `,pm=u.html`
14125
14129
  <ul class="colors">
14126
14130
  ${(0,u.repeat)((e=>e.swatches),u.html`
14127
14131
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
14128
14132
  `)}
14129
14133
  </ul>
14130
- `;let sm=class extends u.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){m[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{const e=Kh(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(jh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Eh.__decorate)([u.observable],sm.prototype,"swatches",void 0),(0,Eh.__decorate)([u.attr],sm.prototype,"type",void 0),sm=(0,Eh.__decorate)([(0,u.customElement)({name:"color-palette",styles:lm,template:gm})],sm);const dm=u.css`
14134
+ `;let um=class extends u.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){m[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{const e=rm(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Gh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Uh.__decorate)([u.observable],um.prototype,"swatches",void 0),(0,Uh.__decorate)([u.attr],um.prototype,"type",void 0),um=(0,Uh.__decorate)([(0,u.customElement)({name:"color-palette",styles:cm,template:pm})],um);const hm=u.css`
14131
14135
  .preview {
14132
14136
  width: 40px;
14133
14137
  height: 40px;
14134
14138
  }
14135
- `,cm=u.html`
14139
+ `,mm=u.html`
14136
14140
  <div
14137
14141
  class="preview"
14138
14142
  style="background-color: ${e=>m[e.tokenName].createCSS()}"
14139
14143
  ></div>
14140
- `;let pm=class extends u.FASTElement{};(0,Eh.__decorate)([u.attr],pm.prototype,"tokenName",void 0),pm=(0,Eh.__decorate)([(0,u.customElement)({name:"color-token",styles:dm,template:cm})],pm);const um=u.css`
14144
+ `;let bm=class extends u.FASTElement{};(0,Uh.__decorate)([u.attr],bm.prototype,"tokenName",void 0),bm=(0,Uh.__decorate)([(0,u.customElement)({name:"color-token",styles:hm,template:mm})],bm);const vm=u.css`
14141
14145
  .container {
14142
14146
  display: flex;
14143
14147
  width: 100%;
@@ -14185,7 +14189,7 @@
14185
14189
  .container > div:not(:last-child) {
14186
14190
  border-right: 1px solid #fafafa;
14187
14191
  }
14188
- `,hm=[{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"}]}]}],mm=u.html`
14192
+ `,fm=[{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"}]}]}],wm=u.html`
14189
14193
  <div class="row">
14190
14194
  <div
14191
14195
  class="preview"
@@ -14197,19 +14201,19 @@
14197
14201
  ${(e,a)=>m[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
14198
14202
  </div>
14199
14203
  </div>
14200
- `,bm=u.html`
14204
+ `,ym=u.html`
14201
14205
  <div class="container" ${(0,u.ref)("provider")}>
14202
- ${(0,u.repeat)((()=>hm),u.html`
14206
+ ${(0,u.repeat)((()=>fm),u.html`
14203
14207
  <div class="column">
14204
14208
  <h3 class="header-title">${e=>e.title}</h3>
14205
14209
  ${(0,u.repeat)((e=>e.subcategories),u.html`
14206
14210
  <h4>${e=>e.title}</h4>
14207
- ${(0,u.repeat)((e=>e.tokens),mm)}
14211
+ ${(0,u.repeat)((e=>e.tokens),wm)}
14208
14212
  `)}
14209
14213
  </div>
14210
14214
  `)}
14211
14215
  </div>
14212
- `;let vm=class extends u.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(jh.STYLES_CHANGED,(e=>{const a=e.detail;em(a,this.provider)}))}};(0,Eh.__decorate)([u.observable],vm.prototype,"provider",void 0),vm=(0,Eh.__decorate)([(0,u.customElement)({name:"color-tokens",template:bm,styles:um})],vm);const fm=u.css`
14216
+ `;let xm=class extends u.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Gh.STYLES_CHANGED,(e=>{const a=e.detail;om(a,this.provider)}))}};(0,Uh.__decorate)([u.observable],xm.prototype,"provider",void 0),xm=(0,Uh.__decorate)([(0,u.customElement)({name:"color-tokens",template:ym,styles:vm})],xm);const km=u.css`
14213
14217
  table {
14214
14218
  background: var(--neutral-fill-rest);
14215
14219
  color: var(--neutral-foreground-rest);
@@ -14218,7 +14222,7 @@
14218
14222
  th {
14219
14223
  text-align: left;
14220
14224
  }
14221
- `,wm=u.html`
14225
+ `,zm=u.html`
14222
14226
  <table ${(0,u.ref)("provider")} style="font-family: ${()=>m.bodyFont.createCSS()}">
14223
14227
  <colgroup>
14224
14228
  <col style="width: 15%;" />
@@ -14446,7 +14450,7 @@
14446
14450
  </tr>
14447
14451
  </tbody>
14448
14452
  </table>
14449
- `;let ym=class extends u.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(jh.STYLES_CHANGED,(e=>{const a=e.detail;em(a,this.provider)}))}};(0,Eh.__decorate)([u.observable],ym.prototype,"provider",void 0),ym=(0,Eh.__decorate)([(0,u.customElement)({name:"typography-tokens",template:wm,styles:fm})],ym);const xm=u.css`
14453
+ `;let Sm=class extends u.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Gh.STYLES_CHANGED,(e=>{const a=e.detail;om(a,this.provider)}))}};(0,Uh.__decorate)([u.observable],Sm.prototype,"provider",void 0),Sm=(0,Uh.__decorate)([(0,u.customElement)({name:"typography-tokens",template:zm,styles:km})],Sm);const Cm=u.css`
14450
14454
  :host {
14451
14455
  background: var(--fill-color);
14452
14456
  color: var(--neutral-foreground-rest);
@@ -14462,7 +14466,7 @@
14462
14466
  margin-top: 24px;
14463
14467
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
14464
14468
  }
14465
- `,km=u.html`
14469
+ `,$m=u.html`
14466
14470
  <template>
14467
14471
  <alpha-tabs>
14468
14472
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -14491,7 +14495,7 @@
14491
14495
  </alpha-tab-panel>
14492
14496
  </alpha-tabs>
14493
14497
  </template>
14494
- `;let zm=class extends u.FASTElement{};zm=(0,Eh.__decorate)([(0,u.customElement)({name:"design-system-preview",template:km,styles:xm})],zm);const Sm={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"}]}]}}]},Cm={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"]}}},$m={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"}]}}}]},Am={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"]}}}},Fm=u.css`
14498
+ `;let Am=class extends u.FASTElement{};Am=(0,Uh.__decorate)([(0,u.customElement)({name:"design-system-preview",template:$m,styles:Cm})],Am);const Fm={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"}]}}}]},Dm={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"]}}}},Rm=u.css`
14495
14499
  :host {
14496
14500
  background: var(--fill-color);
14497
14501
  color: var(--neutral-foreground-rest);
@@ -14522,7 +14526,7 @@
14522
14526
  zero-design-system-provider {
14523
14527
  display: inline;
14524
14528
  }
14525
- `,Om=u.html`
14529
+ `,Nm=u.html`
14526
14530
  ${e=>(e=>u.html`
14527
14531
  <template>
14528
14532
  <${e}-design-system-provider ${(0,u.ref)("provider")}>
@@ -14546,7 +14550,7 @@
14546
14550
  </${e}-design-system-provider>
14547
14551
  </template>
14548
14552
  `)(e.prefix)}
14549
- `;let Tm=class extends u.FASTElement{constructor(){super(...arguments),this.jsonSchema=Cm,this.uischema=Sm,this.jsonSchemaArray=Am,this.uiSchemaArray=$m,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(jh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(jh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{m.bodyFont.withDefault(Bh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{em(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Eh.__decorate)([u.observable],Tm.prototype,"jsonSchema",void 0),(0,Eh.__decorate)([u.observable],Tm.prototype,"uischema",void 0),(0,Eh.__decorate)([u.observable],Tm.prototype,"jsonSchemaArray",void 0),(0,Eh.__decorate)([u.observable],Tm.prototype,"uiSchemaArray",void 0),(0,Eh.__decorate)([u.attr],Tm.prototype,"prefix",void 0),(0,Eh.__decorate)([u.observable],Tm.prototype,"provider",void 0),(0,Eh.__decorate)([u.observable],Tm.prototype,"editedEntity",void 0),(0,Eh.__decorate)([u.observable],Tm.prototype,"editedEntityArray",void 0),Tm=(0,Eh.__decorate)([(0,u.customElement)({name:"preview-form",template:Om,styles:Fm})],Tm);const Dm=u.css`
14553
+ `;let Lm=class extends u.FASTElement{constructor(){super(...arguments),this.jsonSchema=Tm,this.uischema=Fm,this.jsonSchemaArray=Dm,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(Gh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Gh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{m.bodyFont.withDefault(Hh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{om(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Uh.__decorate)([u.observable],Lm.prototype,"jsonSchema",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"uischema",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"jsonSchemaArray",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"uiSchemaArray",void 0),(0,Uh.__decorate)([u.attr],Lm.prototype,"prefix",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"provider",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"editedEntity",void 0),(0,Uh.__decorate)([u.observable],Lm.prototype,"editedEntityArray",void 0),Lm=(0,Uh.__decorate)([(0,u.customElement)({name:"preview-form",template:Nm,styles:Rm})],Lm);const Mm=u.css`
14550
14554
  :host {
14551
14555
  background: var(--fill-color);
14552
14556
  color: var(--neutral-foreground-rest);
@@ -14561,7 +14565,7 @@
14561
14565
  .grid-height {
14562
14566
  height: 450px;
14563
14567
  }
14564
- `,Rm=u.html`
14568
+ `,Im=u.html`
14565
14569
  ${e=>(e=>u.html`
14566
14570
  <template>
14567
14571
  <${e}-design-system-provider ${(0,u.ref)("provider")}>
@@ -14571,5 +14575,5 @@
14571
14575
  </${e}-design-system-provider>
14572
14576
  </template>
14573
14577
  `)(e.prefix)}
14574
- `;let Nm=class extends u.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(jh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(jh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{this.setGridOptions(),m.bodyFont.withDefault(Bh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{em(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,u.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Eh.__decorate)([u.observable],Nm.prototype,"grid",void 0),(0,Eh.__decorate)([u.attr],Nm.prototype,"prefix",void 0),(0,Eh.__decorate)([u.observable],Nm.prototype,"provider",void 0),(0,Eh.__decorate)([u.observable],Nm.prototype,"rowData",void 0),(0,Eh.__decorate)([u.observable],Nm.prototype,"columnDefs",void 0),(0,Eh.__decorate)([u.observable],Nm.prototype,"gridOptions",void 0),Nm=(0,Eh.__decorate)([(0,u.customElement)({name:"preview-grid",template:Rm,styles:Dm})],Nm),((e,a="zero")=>{e&&(0,G.provideTokens)(t,o,e);const r=h.DesignSystem.getOrCreate(e).withPrefix(a);return(0,G.createDesignSystemProxy)(r)})().register($i,Og),(0,l.provideDesignSystem)().register(l.baseComponents,Tg),((e,a="rapid")=>{e&&(0,G.provideTokens)(i,n,e);const r=h.DesignSystem.getOrCreate(e).withPrefix(a);return(0,G.createDesignSystemProxy)(r)})().register(ah,Ih)}}]);
14575
- //# sourceMappingURL=777.d8de4479a8e005b40e65c71471151f27.js.map
14578
+ `;let jm=class extends u.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(Gh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Gh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),u.DOM.queueUpdate((()=>{this.setGridOptions(),m.bodyFont.withDefault(Hh)}))}handleStyleChanges(e){const a=e.detail;a&&u.DOM.queueUpdate((()=>{om(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,u.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Uh.__decorate)([u.observable],jm.prototype,"grid",void 0),(0,Uh.__decorate)([u.attr],jm.prototype,"prefix",void 0),(0,Uh.__decorate)([u.observable],jm.prototype,"provider",void 0),(0,Uh.__decorate)([u.observable],jm.prototype,"rowData",void 0),(0,Uh.__decorate)([u.observable],jm.prototype,"columnDefs",void 0),(0,Uh.__decorate)([u.observable],jm.prototype,"gridOptions",void 0),jm=(0,Uh.__decorate)([(0,u.customElement)({name:"preview-grid",template:Im,styles:Mm})],jm),((e,a="zero")=>{e&&(0,G.provideTokens)(t,o,e);const r=h.DesignSystem.getOrCreate(e).withPrefix(a);return(0,G.createDesignSystemProxy)(r)})().register(Fi,Dg),(0,l.provideDesignSystem)().register(l.baseComponents,Rg),((e,a="rapid")=>{e&&(0,G.provideTokens)(i,n,e);const r=h.DesignSystem.getOrCreate(e).withPrefix(a);return(0,G.createDesignSystemProxy)(r)})().register(ih,Bh)}}]);
14579
+ //# sourceMappingURL=811.ccc487ba3c1057282136f39a98ae9807.js.map