@genesislcap/design-system-configurator 14.151.1 → 14.152.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 (31) hide show
  1. package/dist/{200.200.fa7d31eaa004bc88b7fd.js → 200.200.501de7750bb5788bf98d.js} +1 -1
  2. package/dist/374.249ab8f81d0d35301b57bb444e936db4.js.map +1 -0
  3. package/dist/{859.859.4bce0b5f71bbf53dbc27.js → 374.374.a68953aa993a645b49d5.js} +176 -176
  4. package/dist/{394.394.14dc33e6f5859431b5f6.js → 394.394.f3763778645ef9baa298.js} +1 -1
  5. package/dist/614.614.00f40dcb6436dda7b655.js +3 -0
  6. package/dist/614.ab2243ef12594b651aabfda555ad6136.js.map +1 -0
  7. package/dist/{460.460.80c95e86a09065a234b7.js → 752.752.05a20dfc920b2cab88c9.js} +266 -266
  8. package/dist/752.811e806b2b5f2d1cc09e556119b156bf.js.map +1 -0
  9. package/dist/755.755.dd6eb221b053916a2cd1.js +2 -0
  10. package/dist/{755.a3cac47cc4cd6e213d2b372c956c558b.js.map → 755.9a7aecd6f809d3501c72cb59e24e35af.js.map} +1 -1
  11. package/dist/{8.8.0dc5d63951f9b088d545.js → 8.8.4a3ca68fe47ef21eed08.js} +1 -1
  12. package/dist/962.851c748777f449b1391192f1dc5df2a8.js.map +1 -0
  13. package/dist/962.962.374fd45cd8c8388d9a1c.js +2 -0
  14. package/dist/designSystemConfigurator.c2772da1979d22fc3aea0dab7727f07b.js.map +1 -0
  15. package/dist/index.html +1 -1
  16. package/dist/main.5e39102adfc4bec0d83b05d833c8351e.js.map +1 -0
  17. package/dist/main.7f25dd2e859c3d6937cf.js +2 -0
  18. package/dist/remoteEntry.js +2 -2
  19. package/package.json +12 -12
  20. package/dist/460.900b13449ef6bb091b57f436ba91653b.js.map +0 -1
  21. package/dist/618.44834f0d0360b9eb5f59427872e2510c.js.map +0 -1
  22. package/dist/618.618.356fe1ef7a9bf86eff53.js +0 -3
  23. package/dist/644.2201d52f8ea6cd0639210ea0710cd219.js.map +0 -1
  24. package/dist/644.644.33957a4e7e2ace0acd79.js +0 -3
  25. package/dist/644.644.33957a4e7e2ace0acd79.js.LICENSE.txt +0 -1
  26. package/dist/755.755.3c8ad4f4c68a6b10b6d5.js +0 -2
  27. package/dist/859.436cfee9c26ff04b9e11e3778d6a9b91.js.map +0 -1
  28. package/dist/designSystemConfigurator.67f697c68fb44ec1e7d0b186d7e7f08d.js.map +0 -1
  29. package/dist/main.b70de8236779767ae64d.js +0 -2
  30. package/dist/main.bc9cf5ca84b0fcd9c1bafcd6c16ac505.js.map +0 -1
  31. /package/dist/{618.618.356fe1ef7a9bf86eff53.js.LICENSE.txt → 614.614.00f40dcb6436dda7b655.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([[859],{39935:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Hh,ColorToken:()=>Yh,ColorTokens:()=>Zh,DesignSystemEditor:()=>Dh,DesignSystemExport:()=>Bh,DesignSystemPreview:()=>tm,EventName:()=>fh,PreviewComponents:()=>jh,PreviewForm:()=>dm,PreviewGrid:()=>um,TypographyTokens:()=>em,defaultBodyFont:()=>xh,fontFamilies:()=>yh});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,defaultErrorColor:()=>xe,defaultSuccessColor:()=>Se,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>ke,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,successColor:()=>Ce,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>$e,baseLayerLuminanceValue:()=>Fe,bodyFontValue:()=>Pe,controlCornerRadiusValue:()=>Re,densityValue:()=>Ne,designTokens:()=>Ue,designUnitValue:()=>Le,directionValue:()=>Oe,neutralPaletteValue:()=>Ae,strokeWidthValue:()=>De,typeRampBaseFontSizeValue:()=>Be,typeRampBaseLineHeightValue:()=>Ge});var i={};r.r(i),r.d(i,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,buyColor:()=>Dg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>Og,defaultErrorColor:()=>xg,defaultSellColor:()=>Ng,defaultSuccessColor:()=>Sg,defaultWarningColor:()=>Ag,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>kg,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,sellColor:()=>Lg,strokeWidth:()=>u.strokeWidth,successColor:()=>Cg,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight,warningColor:()=>Fg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Bg,accentFillFocusDeltaValue:()=>Gg,accentFillHoverDeltaValue:()=>Pg,accentFillRestDeltaValue:()=>Eg,accentForegroundActiveDeltaValue:()=>_g,accentForegroundFocusDeltaValue:()=>Vg,accentForegroundHoverDeltaValue:()=>Hg,accentForegroundRestDeltaValue:()=>Ug,accentPaletteValue:()=>Mg,baseHeightMultiplierValue:()=>ws,baseLayerLuminanceValue:()=>jg,bodyFontValue:()=>zs,controlCornerRadiusValue:()=>ys,densityValue:()=>xs,designTokens:()=>Us,designUnitValue:()=>ks,directionValue:()=>ms,disabledOpacityValue:()=>bs,focusStrokeWidthValue:()=>fs,neutralFillActiveDeltaValue:()=>Wg,neutralFillFocusDeltaValue:()=>qg,neutralFillHoverDeltaValue:()=>Qg,neutralFillInputActiveDeltaValue:()=>Kg,neutralFillInputFocusDeltaValue:()=>Xg,neutralFillInputHoverDeltaValue:()=>Zg,neutralFillInputRestDeltaValue:()=>Jg,neutralFillLayerRestDeltaValue:()=>gs,neutralFillRestDeltaValue:()=>Yg,neutralFillStealthActiveDeltaValue:()=>rs,neutralFillStealthFocusDeltaValue:()=>ts,neutralFillStealthHoverDeltaValue:()=>as,neutralFillStealthRestDeltaValue:()=>es,neutralFillStrongActiveDeltaValue:()=>ns,neutralFillStrongFocusDeltaValue:()=>ls,neutralFillStrongHoverDeltaValue:()=>is,neutralFillStrongRestDeltaValue:()=>os,neutralPaletteValue:()=>Ig,neutralStrokeActiveDeltaValue:()=>cs,neutralStrokeDividerRestDeltaValue:()=>us,neutralStrokeFocusDeltaValue:()=>ps,neutralStrokeHoverDeltaValue:()=>ds,neutralStrokeRestDeltaValue:()=>ss,prefix:()=>hs,strokeWidthValue:()=>vs,typeRampBaseFontSizeValue:()=>Ss,typeRampBaseLineHeightValue:()=>Cs,typeRampMinus1FontSizeValue:()=>$s,typeRampMinus1LineHeightValue:()=>As,typeRampMinus2FontSizeValue:()=>Fs,typeRampMinus2LineHeightValue:()=>Ts,typeRampPlus1FontSizeValue:()=>Os,typeRampPlus1LineHeightValue:()=>Ds,typeRampPlus2FontSizeValue:()=>Rs,typeRampPlus2LineHeightValue:()=>Ns,typeRampPlus3FontSizeValue:()=>Ls,typeRampPlus3LineHeightValue:()=>Ms,typeRampPlus4FontSizeValue:()=>Is,typeRampPlus4LineHeightValue:()=>js,typeRampPlus5FontSizeValue:()=>Es,typeRampPlus5LineHeightValue:()=>Ps,typeRampPlus6FontSizeValue:()=>Bs,typeRampPlus6LineHeightValue:()=>Gs});var l=r(42084),g=r(92592),s=r(66526),d=r(60724),c=r(79292),p=r(99667),u=r(41663),h=r(67973);const m=c.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[374],{28185:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Qh,ColorToken:()=>Jh,ColorTokens:()=>am,DesignSystemEditor:()=>Mh,DesignSystemExport:()=>Hh,DesignSystemPreview:()=>lm,EventName:()=>kh,PreviewComponents:()=>Gh,PreviewForm:()=>hm,PreviewGrid:()=>vm,TypographyTokens:()=>om,defaultBodyFont:()=>Ch,fontFamilies:()=>Sh});var t={};r.r(t),r.d(t,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,controlCornerRadius:()=>u.controlCornerRadius,defaultErrorColor:()=>xe,defaultSuccessColor:()=>Se,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>ke,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,strokeWidth:()=>u.strokeWidth,successColor:()=>Ce,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>$e,baseLayerLuminanceValue:()=>Fe,bodyFontValue:()=>Pe,controlCornerRadiusValue:()=>Re,densityValue:()=>Ne,designTokens:()=>Ue,designUnitValue:()=>Le,directionValue:()=>Oe,neutralPaletteValue:()=>Ae,strokeWidthValue:()=>De,typeRampBaseFontSizeValue:()=>Be,typeRampBaseLineHeightValue:()=>Ge});var i={};r.r(i),r.d(i,{accentFillActive:()=>u.accentFillActive,accentFillActiveDelta:()=>u.accentFillActiveDelta,accentFillFocus:()=>u.accentFillFocus,accentFillFocusDelta:()=>u.accentFillFocusDelta,accentFillHover:()=>u.accentFillHover,accentFillHoverDelta:()=>u.accentFillHoverDelta,accentFillRest:()=>u.accentFillRest,accentFillRestDelta:()=>u.accentFillRestDelta,accentForegroundActive:()=>u.accentForegroundActive,accentForegroundActiveDelta:()=>u.accentForegroundActiveDelta,accentForegroundFocus:()=>u.accentForegroundFocus,accentForegroundFocusDelta:()=>u.accentForegroundFocusDelta,accentForegroundHover:()=>u.accentForegroundHover,accentForegroundHoverDelta:()=>u.accentForegroundHoverDelta,accentForegroundRest:()=>u.accentForegroundRest,accentForegroundRestDelta:()=>u.accentForegroundRestDelta,accentPalette:()=>u.accentPalette,baseHeightMultiplier:()=>u.baseHeightMultiplier,baseLayerLuminance:()=>u.baseLayerLuminance,bodyFont:()=>u.bodyFont,buyColor:()=>Mg,controlCornerRadius:()=>u.controlCornerRadius,defaultBuyColor:()=>Lg,defaultErrorColor:()=>Cg,defaultSellColor:()=>jg,defaultSuccessColor:()=>Fg,defaultWarningColor:()=>Dg,density:()=>u.density,designUnit:()=>u.designUnit,direction:()=>u.direction,disabledOpacity:()=>u.disabledOpacity,errorColor:()=>$g,fillColor:()=>u.fillColor,focusStrokeInner:()=>u.focusStrokeInner,focusStrokeOuter:()=>u.focusStrokeOuter,focusStrokeWidth:()=>u.focusStrokeWidth,foregroundOnAccentActive:()=>u.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>u.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>u.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>u.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>u.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>u.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>u.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>u.foregroundOnAccentRestLarge,neutralFillActive:()=>u.neutralFillActive,neutralFillActiveDelta:()=>u.neutralFillActiveDelta,neutralFillFocus:()=>u.neutralFillFocus,neutralFillFocusDelta:()=>u.neutralFillFocusDelta,neutralFillHover:()=>u.neutralFillHover,neutralFillHoverDelta:()=>u.neutralFillHoverDelta,neutralFillInputActive:()=>u.neutralFillInputActive,neutralFillInputActiveDelta:()=>u.neutralFillInputActiveDelta,neutralFillInputFocus:()=>u.neutralFillInputFocus,neutralFillInputFocusDelta:()=>u.neutralFillInputFocusDelta,neutralFillInputHover:()=>u.neutralFillInputHover,neutralFillInputHoverDelta:()=>u.neutralFillInputHoverDelta,neutralFillInputRest:()=>u.neutralFillInputRest,neutralFillInputRestDelta:()=>u.neutralFillInputRestDelta,neutralFillLayerRest:()=>u.neutralFillLayerRest,neutralFillLayerRestDelta:()=>u.neutralFillLayerRestDelta,neutralFillRest:()=>u.neutralFillRest,neutralFillRestDelta:()=>u.neutralFillRestDelta,neutralFillStealthActive:()=>u.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>u.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>u.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>u.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>u.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>u.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>u.neutralFillStealthRest,neutralFillStealthRestDelta:()=>u.neutralFillStealthRestDelta,neutralFillStrongActive:()=>u.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>u.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>u.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>u.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>u.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>u.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>u.neutralFillStrongRest,neutralFillStrongRestDelta:()=>u.neutralFillStrongRestDelta,neutralForegroundHint:()=>u.neutralForegroundHint,neutralForegroundRest:()=>u.neutralForegroundRest,neutralLayer1:()=>u.neutralLayer1,neutralLayer2:()=>u.neutralLayer2,neutralLayer3:()=>u.neutralLayer3,neutralLayer4:()=>u.neutralLayer4,neutralLayerCardContainer:()=>u.neutralLayerCardContainer,neutralLayerFloating:()=>u.neutralLayerFloating,neutralPalette:()=>u.neutralPalette,neutralStrokeActive:()=>u.neutralStrokeActive,neutralStrokeActiveDelta:()=>u.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>u.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>u.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>u.neutralStrokeFocus,neutralStrokeFocusDelta:()=>u.neutralStrokeFocusDelta,neutralStrokeHover:()=>u.neutralStrokeHover,neutralStrokeHoverDelta:()=>u.neutralStrokeHoverDelta,neutralStrokeRest:()=>u.neutralStrokeRest,neutralStrokeRestDelta:()=>u.neutralStrokeRestDelta,sellColor:()=>Eg,strokeWidth:()=>u.strokeWidth,successColor:()=>Tg,typeRampBaseFontSize:()=>u.typeRampBaseFontSize,typeRampBaseLineHeight:()=>u.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>u.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>u.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>u.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>u.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>u.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>u.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>u.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>u.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>u.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>u.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>u.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>u.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>u.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>u.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>u.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>u.typeRampPlus6LineHeight,warningColor:()=>Rg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Hg,accentFillFocusDeltaValue:()=>Vg,accentFillHoverDeltaValue:()=>_g,accentFillRestDeltaValue:()=>Ug,accentForegroundActiveDeltaValue:()=>Wg,accentForegroundFocusDeltaValue:()=>qg,accentForegroundHoverDeltaValue:()=>Qg,accentForegroundRestDeltaValue:()=>Yg,accentPaletteValue:()=>Pg,baseHeightMultiplierValue:()=>zs,baseLayerLuminanceValue:()=>Gg,bodyFontValue:()=>As,controlCornerRadiusValue:()=>Ss,densityValue:()=>Cs,designTokens:()=>Ys,designUnitValue:()=>$s,directionValue:()=>ws,disabledOpacityValue:()=>ys,focusStrokeWidthValue:()=>ks,neutralFillActiveDeltaValue:()=>Kg,neutralFillFocusDeltaValue:()=>Xg,neutralFillHoverDeltaValue:()=>Zg,neutralFillInputActiveDeltaValue:()=>rs,neutralFillInputFocusDeltaValue:()=>ts,neutralFillInputHoverDeltaValue:()=>as,neutralFillInputRestDeltaValue:()=>es,neutralFillLayerRestDeltaValue:()=>ps,neutralFillRestDeltaValue:()=>Jg,neutralFillStealthActiveDeltaValue:()=>ns,neutralFillStealthFocusDeltaValue:()=>ls,neutralFillStealthHoverDeltaValue:()=>is,neutralFillStealthRestDeltaValue:()=>os,neutralFillStrongActiveDeltaValue:()=>ds,neutralFillStrongFocusDeltaValue:()=>cs,neutralFillStrongHoverDeltaValue:()=>ss,neutralFillStrongRestDeltaValue:()=>gs,neutralPaletteValue:()=>Bg,neutralStrokeActiveDeltaValue:()=>ms,neutralStrokeDividerRestDeltaValue:()=>vs,neutralStrokeFocusDeltaValue:()=>bs,neutralStrokeHoverDeltaValue:()=>hs,neutralStrokeRestDeltaValue:()=>us,prefix:()=>fs,strokeWidthValue:()=>xs,typeRampBaseFontSizeValue:()=>Fs,typeRampBaseLineHeightValue:()=>Ts,typeRampMinus1FontSizeValue:()=>Os,typeRampMinus1LineHeightValue:()=>Ds,typeRampMinus2FontSizeValue:()=>Rs,typeRampMinus2LineHeightValue:()=>Ns,typeRampPlus1FontSizeValue:()=>Ls,typeRampPlus1LineHeightValue:()=>Ms,typeRampPlus2FontSizeValue:()=>Is,typeRampPlus2LineHeightValue:()=>js,typeRampPlus3FontSizeValue:()=>Es,typeRampPlus3LineHeightValue:()=>Ps,typeRampPlus4FontSizeValue:()=>Bs,typeRampPlus4LineHeightValue:()=>Gs,typeRampPlus5FontSizeValue:()=>Us,typeRampPlus5LineHeightValue:()=>_s,typeRampPlus6FontSizeValue:()=>Hs,typeRampPlus6LineHeightValue:()=>Vs});var l=r(32047),g=r(92592),s=r(66526),d=r(60724),c=r(79292),p=r(99667),u=r(41663),h=r(67973);const m=c.css`
2
2
  :host {
3
3
  border: calc(${u.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -50,7 +50,7 @@
50
50
  background: ${h.H.Canvas};
51
51
  border-color: ${h.H.CanvasText};
52
52
  }
53
- `));var b=r(45171);const v=(0,b.createLogger)("foundation-form"),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},w=c.html`
53
+ `));var b=r(49969);const v=(0,b.createLogger)("foundation-form"),f={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},w=c.html`
54
54
  <template>
55
55
  ${(0,c.when)((e=>!1),c.html`
56
56
  <zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
@@ -284,7 +284,7 @@
284
284
  </control-wrapper>
285
285
  </template>
286
286
  `)(e.prefix)}
287
- `,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(43052);const B=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},G=(0,d.xDy)(B("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));P.MultiselectDatasource;const U={renderer:c.html`
287
+ `,tester:(0,d.yMz)(3,j),mapper:d.xq9};var P=r(89014);const B=e=>a=>{if(!a||!(0,d.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},G=(0,d.xDy)(B("allOptionsResourceName"),(0,d.or)((0,d.wcO)((e=>(0,d.ndu)(e,"array"))),(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,d.ndu)(e,"array")))))));P.MultiselectDatasource;const U={renderer:c.html`
288
288
  ${e=>((e="zero")=>c.html`
289
289
  <template>
290
290
  <control-wrapper
@@ -310,7 +310,7 @@
310
310
  </control-wrapper>
311
311
  </template>
312
312
  `)(e.prefix)}
313
- `,tester:(0,d.yMz)(4,G),mapper:d.xq9};P.OptionsDatasource;const H={renderer:c.html`
313
+ `,tester:(0,d.yMz)(4,G),mapper:d.xq9};P.OptionsDatasource;const _={renderer:c.html`
314
314
  ${e=>((e="zero")=>c.html`
315
315
  <template>
316
316
  <control-wrapper
@@ -340,7 +340,7 @@
340
340
  </control-wrapper>
341
341
  </template>
342
342
  `)(e.prefix)}
343
- `,tester:(0,d.yMz)(4,(0,d.or)(B("allOptionsResourceName"),B("data"))),mapper:d.xq9},_=(0,d.wcO)((e=>"org.joda.time.DateTime"===e.description)),V=(0,d.or)(_,(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>"org.joda.time.DateTime"===e.description))))),Y={renderer:c.html`
343
+ `,tester:(0,d.yMz)(4,(0,d.or)(B("allOptionsResourceName"),B("data"))),mapper:d.xq9},H=(0,d.wcO)((e=>"org.joda.time.DateTime"===e.description)),V=(0,d.or)(H,(0,d.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>"org.joda.time.DateTime"===e.description))))),Y={renderer:c.html`
344
344
  ${e=>((e="zero")=>c.html`
345
345
  <template>
346
346
  <control-wrapper
@@ -546,7 +546,7 @@
546
546
  </control-wrapper>
547
547
  </template>
548
548
  `)(e.prefix)}
549
- `,de={renderer:se,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},ce=[{renderer:se,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},de,E,Z,K,X,ee,te,ae,re,ne,U,W,H,Y,q];let pe=class extends p.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=ce,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,v.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield c.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(v.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){v.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,c.attr)({attribute:"design-system-prefix"})],pe.prototype,"prefix",void 0),(0,g.__decorate)([c.attr],pe.prototype,"resourceName",void 0),(0,g.__decorate)([c.observable],pe.prototype,"uischema",void 0),(0,g.__decorate)([c.observable],pe.prototype,"renderers",void 0),(0,g.__decorate)([c.observable],pe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],pe.prototype,"connect",void 0),(0,g.__decorate)([c.observable],pe.prototype,"data",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitting",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitted",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],pe.prototype,"readonly",void 0),(0,g.__decorate)([(0,c.attr)({attribute:"hide-submit-button",mode:"boolean"})],pe.prototype,"hideSubmit",void 0),(0,g.__decorate)([c.volatile],pe.prototype,"isSubmitHidden",null),pe=(0,g.__decorate)([(0,c.customElement)({name:"foundation-form",template:I,styles:m})],pe);var ue,he,me,be,ve,fe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(ue||(ue={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(he||(he={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(me||(me={})),function(e){e.grey="#7c909b"}(be||(be={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ve||(ve={}));const{create:we}=p.DesignToken,ye=(0,fe.parseColorHexRGB)(ue.error),xe=u.SwatchRGB.create(ye.r,ye.g,ye.b),ke=we("error-color").withDefault(xe),ze=(0,fe.parseColorHexRGB)(ue.success),Se=u.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=we("success-color").withDefault(Se),$e=(0,P.paletteFromHex)(he.blue),Ae=(0,P.paletteFromHex)(be.grey),Fe=u.StandardLuminance.DarkMode;var Te=r(5598);const Oe=Te.N.ltr,De=u.strokeWidth.getValueFor(u.strokeWidth.appliedTo[0]),Re=4,Ne=u.density.getValueFor(u.density.appliedTo[0]),Le=4;var Me=r(47823);const Ie=()=>{(0,Me.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},je='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ee=(e=Me.Hd.Normal,a=Me.U9.Regular)=>(0,Me.py)(je,e,a),Pe=je,Be=u.typeRampBaseFontSize.getValueFor(u.typeRampBaseFontSize.appliedTo[0]),Ge=u.typeRampBaseLineHeight.getValueFor(u.typeRampBaseLineHeight.appliedTo[0]),Ue={design_tokens:{color:{accent:{$value:$e.source.toColorString(),$type:"color"},neutral:{$value:Ae.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Pe,$type:"fontFamily"}},typography:{baseFontSize:{$value:Be,$type:"dimension"},baseLineHeight:{$value:Ge,$type:"dimension"}},mode:{luminance:{$value:Fe,$type:"number"}},style:{density:{$value:Ne,$type:"number"},borderRadius:{$value:Re,$type:"number"},strokeWidth:{$value:De,$type:"number"}},space:{designUnit:{$value:Le,$type:"number"}}}};class He extends P.Accordion{}const _e=He.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
549
+ `,de={renderer:se,tester:(0,d.yMz)(2,d.Wdb),mapper:d.xq9},ce=[{renderer:se,tester:(0,d.yMz)(1,d.DRl),mapper:d.xq9},de,E,Z,K,X,ee,te,ae,re,ne,U,W,_,Y,q];let pe=class extends p.FoundationElement{constructor(){super(...arguments),this.prefix="zero",this.renderers=ce,this.errors=[],this.data={}}resourceNameChanged(){var e,a;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const r=yield this.connect.getJSONSchema(this.resourceName);this.jsonSchema=null===(a=null===(e=null==r?void 0:r.INBOUND)||void 0===e?void 0:e.properties)||void 0===a?void 0:a.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,v.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield c.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(v.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}submitPart(e){this.submitted=!0}onChange(e){v.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,c.attr)({attribute:"design-system-prefix"})],pe.prototype,"prefix",void 0),(0,g.__decorate)([c.attr],pe.prototype,"resourceName",void 0),(0,g.__decorate)([c.observable],pe.prototype,"uischema",void 0),(0,g.__decorate)([c.observable],pe.prototype,"renderers",void 0),(0,g.__decorate)([c.observable],pe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],pe.prototype,"connect",void 0),(0,g.__decorate)([c.observable],pe.prototype,"data",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitting",void 0),(0,g.__decorate)([c.observable],pe.prototype,"submitted",void 0),(0,g.__decorate)([(0,c.attr)({mode:"boolean"})],pe.prototype,"readonly",void 0),(0,g.__decorate)([(0,c.attr)({attribute:"hide-submit-button",mode:"boolean"})],pe.prototype,"hideSubmit",void 0),(0,g.__decorate)([c.volatile],pe.prototype,"isSubmitHidden",null),pe=(0,g.__decorate)([(0,c.customElement)({name:"foundation-form",template:I,styles:m})],pe);var ue,he,me,be,ve,fe=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(ue||(ue={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(he||(he={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(me||(me={})),function(e){e.grey="#7c909b"}(be||(be={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ve||(ve={}));const{create:we}=p.DesignToken,ye=(0,fe.parseColorHexRGB)(ue.error),xe=u.SwatchRGB.create(ye.r,ye.g,ye.b),ke=we("error-color").withDefault(xe),ze=(0,fe.parseColorHexRGB)(ue.success),Se=u.SwatchRGB.create(ze.r,ze.g,ze.b),Ce=we("success-color").withDefault(Se),$e=(0,P.paletteFromHex)(he.blue),Ae=(0,P.paletteFromHex)(be.grey),Fe=u.StandardLuminance.DarkMode;var Te=r(5598);const Oe=Te.N.ltr,De=u.strokeWidth.getValueFor(u.strokeWidth.appliedTo[0]),Re=4,Ne=u.density.getValueFor(u.density.appliedTo[0]),Le=4;var Me=r(47823);const Ie=()=>{(0,Me.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},je='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Ee=(e=Me.Hd.Normal,a=Me.U9.Regular)=>(0,Me.py)(je,e,a),Pe=je,Be=u.typeRampBaseFontSize.getValueFor(u.typeRampBaseFontSize.appliedTo[0]),Ge=u.typeRampBaseLineHeight.getValueFor(u.typeRampBaseLineHeight.appliedTo[0]),Ue={design_tokens:{color:{accent:{$value:$e.source.toColorString(),$type:"color"},neutral:{$value:Ae.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Pe,$type:"fontFamily"}},typography:{baseFontSize:{$value:Be,$type:"dimension"},baseLineHeight:{$value:Ge,$type:"dimension"}},mode:{luminance:{$value:Fe,$type:"number"}},style:{density:{$value:Ne,$type:"number"},borderRadius:{$value:Re,$type:"number"},strokeWidth:{$value:De,$type:"number"}},space:{designUnit:{$value:Le,$type:"number"}}}};class _e extends P.Accordion{}const He=_e.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
550
550
  ${(0,P.foundationAccordionStyles)(e,a)}
551
551
  `,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Ve extends P.AccordionItem{}const Ye=Ve.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
552
552
  ${(0,P.foundationAccordionItemStyles)(e,a)};
@@ -824,7 +824,7 @@
824
824
  .separator {
825
825
  color: var(--neutral-stroke-rest);
826
826
  }
827
- `,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class Ha extends P.Button{}const _a=Ha.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:$a,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class Va extends P.Calendar{}const Ya=Va.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
827
+ `,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class _a extends P.Button{}const Ha=_a.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:$a,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class Va extends P.Calendar{}const Ya=Va.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
828
828
  ${(0,P.foundationCalendarStyles)()}
829
829
  `,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class Qa extends P.Card{}const Wa=Qa.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
830
830
  ${(0,P.foundationCardStyles)(e,a)}
@@ -1076,7 +1076,7 @@
1076
1076
  ${(0,P.dropdownMenuBaseStyles)("zero",e,a)}
1077
1077
  `,template:P.foundationDropdownMenuTemplate}),Pr=c.html`
1078
1078
  ${(0,P.getPrefixedErrorBanner)("zero")}
1079
- `,Br=P.foundationErrorBannerShadowOptions;class Gr extends P.ErrorBanner{}const Ur=Gr.compose({baseName:"error-banner",template:Pr,shadowOptions:Br});class Hr extends P.ErrorBoundary{}const _r=Hr.compose({baseName:"error-boundary",template:P.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Vr extends P.ErrorDialog{}const Yr=Vr.compose({baseName:"error-dialog",styles:P.foundationErrorDialogStyles,template:P.errorDialogTemplate,shadowOptions:P.foundationErrorDialogShadowOptions}),Qr=c.css`
1079
+ `,Br=P.foundationErrorBannerShadowOptions;class Gr extends P.ErrorBanner{}const Ur=Gr.compose({baseName:"error-banner",template:Pr,shadowOptions:Br});class _r extends P.ErrorBoundary{}const Hr=_r.compose({baseName:"error-boundary",template:P.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class Vr extends P.ErrorDialog{}const Yr=Vr.compose({baseName:"error-dialog",styles:P.foundationErrorDialogStyles,template:P.errorDialogTemplate,shadowOptions:P.foundationErrorDialogShadowOptions}),Qr=c.css`
1080
1080
  ${P.foundationFileUploadStyles}
1081
1081
  ::-webkit-scrollbar {
1082
1082
  width: 12px;
@@ -1273,9 +1273,9 @@
1273
1273
  .label {
1274
1274
  color: ${rr};
1275
1275
  }
1276
- `,Ht=c.html`
1276
+ `,_t=c.html`
1277
1277
  ${(0,P.getPrefixedMultiselect)("zero")}
1278
- `;class _t extends P.Multiselect{}const Vt=P.defaultMultiselectConfig,Yt=P.foundationMultiselectShadowOptions,Qt=_t.compose(Object.assign({baseName:"multiselect",template:Ht,styles:Ut,shadowOptions:Yt},Vt));class Wt extends P.NotificationListener{}const qt=Wt.compose({baseName:"notification-listener",template:P.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Jt=(e,a)=>c.css`
1278
+ `;class Ht extends P.Multiselect{}const Vt=P.defaultMultiselectConfig,Yt=P.foundationMultiselectShadowOptions,Qt=Ht.compose(Object.assign({baseName:"multiselect",template:_t,styles:Ut,shadowOptions:Yt},Vt));class Wt extends P.NotificationListener{}const qt=Wt.compose({baseName:"notification-listener",template:P.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Jt=(e,a)=>c.css`
1279
1279
  ${(0,P.foundationTextFieldStyles)(e,a)}
1280
1280
  :host {
1281
1281
  --primary-gradient-angle: -113.5deg;
@@ -1661,7 +1661,7 @@
1661
1661
 
1662
1662
  border-bottom: 1px solid var(--fill-color);
1663
1663
  }
1664
- `,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class Uo extends P.StepperTabPanel{}const Ho=Uo.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig));class _o extends P.Switch{}const Vo=_o.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
1664
+ `,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class Uo extends P.StepperTabPanel{}const _o=Uo.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig));class Ho extends P.Switch{}const Vo=Ho.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
1665
1665
  ${(0,P.foundationSwitchStyles)(e,a)}
1666
1666
  :host {
1667
1667
  --primary-gradient-angle: -113.5deg;
@@ -1888,7 +1888,7 @@
1888
1888
  ${(0,P.foundationTreeViewStyles)(e,a)}
1889
1889
  `,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),mi=c.html`
1890
1890
  ${(0,P.getPrefixedUrlInput)("zero")}
1891
- `;class bi extends P.UrlInput{}const vi={zeroAccordion:_e,zeroAccordionItem:Ye,zeroActionsMenu:We,zeroAnchor:Fa,zeroAnchoredRegion:Oa,zeroAvatar:Ra,zeroBadge:La,zeroBanner:Ea,zeroBreadcrumbItem:Ua,zeroBreadcrumb:Ba,zeroButton:_a,zeroCalendar:Ya,zeroCard:Wa,zeroCheckbox:Ja,zeroCombobox:sr,zeroConnectionIndicator:cr,zeroDataGrid:mr,zeroDesignSystemProvider:Sr,zeroDialog:Rr,zeroDatePicker:fr,zeroDisclosure:Lr,zeroDivider:Ir,zeroDropdownMenu:Er,zeroErrorBoundary:_r,zeroNotificationListener:qt,zeroErrorBanner:Ur,zeroErrorDialog:Yr,zeroFileUpload:Kr,zeroFilter:at,zeroFilterBar:ot,zeroFlexLayout:nt,zeroFlipper:gt,zeroFlyout:ht,zeroGridLayout:bt,zeroGridLayoutItem:ft,zeroHorizontalScroll:xt,zeroIcon:Ct,zeroListbox:At,zeroListboxOption:Tt,zeroMenu:Rt,zeroMenuItem:Mt,zeroModal:Gt,zeroMultiselect:Qt,zeroNumberField:ao,zeroProgress:to,zeroProgressRing:no,zeroRadio:go,zeroRadioGroup:co,zeroSearchBar:mo,zeroSearchBarCombobox:vo,zeroSegmentedControl:wo,zeroSegmentedItem:xo,zeroSelect:zo,zeroSkeleton:Co,zeroSlider:Ao,zeroSliderLabel:To,zeroSnackbar:Lo,zeroStepper:Eo,zeroStepperTab:Go,zeroStepperTabPanel:Ho,zeroSwitch:Vo,zeroTab:Qo,zeroTabPanel:qo,zeroTabs:Zo,zeroTextArea:Xo,zeroTextField:ai,zeroToast:ni,zeroToolbar:gi,zeroTooltip:di,zeroTreeItem:pi,zeroTreeView:hi,zeroUrlInput:bi.compose(Object.assign({baseName:"url-input",template:mi,styles:(e,a)=>c.css`
1891
+ `;class bi extends P.UrlInput{}const vi={zeroAccordion:He,zeroAccordionItem:Ye,zeroActionsMenu:We,zeroAnchor:Fa,zeroAnchoredRegion:Oa,zeroAvatar:Ra,zeroBadge:La,zeroBanner:Ea,zeroBreadcrumbItem:Ua,zeroBreadcrumb:Ba,zeroButton:Ha,zeroCalendar:Ya,zeroCard:Wa,zeroCheckbox:Ja,zeroCombobox:sr,zeroConnectionIndicator:cr,zeroDataGrid:mr,zeroDesignSystemProvider:Sr,zeroDialog:Rr,zeroDatePicker:fr,zeroDisclosure:Lr,zeroDivider:Ir,zeroDropdownMenu:Er,zeroErrorBoundary:Hr,zeroNotificationListener:qt,zeroErrorBanner:Ur,zeroErrorDialog:Yr,zeroFileUpload:Kr,zeroFilter:at,zeroFilterBar:ot,zeroFlexLayout:nt,zeroFlipper:gt,zeroFlyout:ht,zeroGridLayout:bt,zeroGridLayoutItem:ft,zeroHorizontalScroll:xt,zeroIcon:Ct,zeroListbox:At,zeroListboxOption:Tt,zeroMenu:Rt,zeroMenuItem:Mt,zeroModal:Gt,zeroMultiselect:Qt,zeroNumberField:ao,zeroProgress:to,zeroProgressRing:no,zeroRadio:go,zeroRadioGroup:co,zeroSearchBar:mo,zeroSearchBarCombobox:vo,zeroSegmentedControl:wo,zeroSegmentedItem:xo,zeroSelect:zo,zeroSkeleton:Co,zeroSlider:Ao,zeroSliderLabel:To,zeroSnackbar:Lo,zeroStepper:Eo,zeroStepperTab:Go,zeroStepperTabPanel:_o,zeroSwitch:Vo,zeroTab:Qo,zeroTabPanel:qo,zeroTabs:Zo,zeroTextArea:Xo,zeroTextField:ai,zeroToast:ni,zeroToolbar:gi,zeroTooltip:di,zeroTreeItem:pi,zeroTreeView:hi,zeroUrlInput:bi.compose(Object.assign({baseName:"url-input",template:mi,styles:(e,a)=>c.css`
1892
1892
  ${(0,P.foundationUrlInputStyles)(e,a)}
1893
1893
  a {
1894
1894
  color: ${he.blue};
@@ -1928,7 +1928,7 @@
1928
1928
  :datasourceConfig=${e=>e.params.datasourceOptions}
1929
1929
  ></multiselect-datasource>
1930
1930
  </${e}-multiselect>
1931
- `,Ui=Pi.compose({baseName:"multiselect-editor",styles:Bi,template:Gi()});class Hi extends Pi{}const _i=Hi.compose({baseName:"multiselect-editor",styles:Bi,template:Gi("zero")});class Vi extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.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[Fi]}}(0,yi.__decorate)([c.observable],Vi.prototype,"params",void 0),(0,yi.__decorate)([c.observable],Vi.prototype,"value",void 0),(0,yi.__decorate)([c.observable],Vi.prototype,"actualWidth",void 0);const Yi=c.css``,Qi=(e="foundation")=>c.html`
1931
+ `,Ui=Pi.compose({baseName:"multiselect-editor",styles:Bi,template:Gi()});class _i extends Pi{}const Hi=_i.compose({baseName:"multiselect-editor",styles:Bi,template:Gi("zero")});class Vi extends p.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.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[Fi]}}(0,yi.__decorate)([c.observable],Vi.prototype,"params",void 0),(0,yi.__decorate)([c.observable],Vi.prototype,"value",void 0),(0,yi.__decorate)([c.observable],Vi.prototype,"actualWidth",void 0);const Yi=c.css``,Qi=(e="foundation")=>c.html`
1932
1932
  <${e}-combobox
1933
1933
  style="width: ${e=>e.actualWidth}px"
1934
1934
  ${(0,c.ref)("combobox")}
@@ -2067,7 +2067,7 @@
2067
2067
  :value="${(0,Ln.Z)((e=>e.textValue))}"
2068
2068
  @change="${(e,a)=>e.textChanged(a.event)}"
2069
2069
  ></${a}>
2070
- `},Pn=In.compose({baseName:"grid-pro-text-renderer",styles:jn,template:En()});class Bn extends In{}const Gn=jn,Un=En,Hn=Bn.compose({baseName:"grid-text-renderer",styles:Gn,template:Un()});const _n=class extends Bn{}.compose({baseName:"grid-text-renderer",styles:Gn,template:Un("zero")});class Vn extends p.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Mn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,yi.__decorate)([c.observable],Vn.prototype,"params",void 0),(0,yi.__decorate)([c.observable],Vn.prototype,"value",void 0);const Yn=c.css`
2070
+ `},Pn=In.compose({baseName:"grid-pro-text-renderer",styles:jn,template:En()});class Bn extends In{}const Gn=jn,Un=En,_n=Bn.compose({baseName:"grid-text-renderer",styles:Gn,template:Un()});const Hn=class extends Bn{}.compose({baseName:"grid-text-renderer",styles:Gn,template:Un("zero")});class Vn extends p.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=Mn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,yi.__decorate)([c.observable],Vn.prototype,"params",void 0),(0,yi.__decorate)([c.observable],Vn.prototype,"value",void 0);const Yn=c.css`
2071
2071
  :host,
2072
2072
  .select-renderer,
2073
2073
  zero-option,
@@ -2092,15 +2092,15 @@
2092
2092
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
2093
2093
  `)}
2094
2094
  </${a}>
2095
- `},Wn=Vn.compose({baseName:"select-renderer",styles:Yn,template:Qn()});const qn=class extends Vn{}.compose({baseName:"select-renderer",styles:Yn,template:Qn("zero")});var Jn=r(89861),Zn=r(86534),Kn=r(75527),Xn=r(9492);const el=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,Xn.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Xn.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Xn.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Xn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Xn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Xn.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Xn.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Xn.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Xn.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Xn.__classPrivateFieldGet)(this,o,"f")&&((0,Xn.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Xn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Xn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Xn.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Xn.__classPrivateFieldGet)(this,r,"f")._key&&(0,Xn.__classPrivateFieldSet)(this,r,(0,Xn.__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,Xn.__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,Xn.__classPrivateFieldGet)(this,t,"f")!==(0,Xn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Xn.__classPrivateFieldSet)(this,t,null!==(a=(0,Xn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Xn.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Xn.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Xn.__classPrivateFieldSet)(this,t,null!==(o=(0,Xn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Xn.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[al])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,Xn.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},al=Symbol("layout-cache-document");var rl=r(75951),tl=r(9770),ol=r(97025);const il=c.html`
2095
+ `},Wn=Vn.compose({baseName:"select-renderer",styles:Yn,template:Qn()});const qn=class extends Vn{}.compose({baseName:"select-renderer",styles:Yn,template:Qn("zero")});var Jn=r(89861),Zn=r(86534),Kn=r(9492);const Xn=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,Kn.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,Kn.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,Kn.__classPrivateFieldGet)(this,r,"f")._key&&!((0,Kn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Kn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Kn.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,Kn.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,Kn.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,Kn.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,Kn.__classPrivateFieldGet)(this,o,"f")&&((0,Kn.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,Kn.__classPrivateFieldGet)(this,r,"f").dragging||!(0,Kn.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,Kn.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,Kn.__classPrivateFieldGet)(this,r,"f")._key&&(0,Kn.__classPrivateFieldSet)(this,r,(0,Kn.__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,Kn.__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,Kn.__classPrivateFieldGet)(this,t,"f")!==(0,Kn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,Kn.__classPrivateFieldSet)(this,t,null!==(a=(0,Kn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,Kn.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,Kn.__classPrivateFieldSet)(this,n,!0,"f"),this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,Kn.__classPrivateFieldSet)(this,t,null!==(o=(0,Kn.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,Kn.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[el])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,Kn.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},el=Symbol("layout-cache-document");var al=r(75951),rl=r(9770),tl=r(97025),ol=r(40001),il=r.n(ol);const nl=c.html`
2096
2096
  <template>
2097
2097
  <slot ${(0,c.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2098
2098
  </template>
2099
- `;let nl=class extends p.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,yi.__decorate)([c.observable],nl.prototype,"renderer",void 0),(0,yi.__decorate)([c.observable],nl.prototype,"rendererParams",void 0),(0,yi.__decorate)([c.observable],nl.prototype,"slottedRenderer",void 0),nl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-cell",template:il})],nl);const ll=c.html`
2099
+ `;let ll=class extends p.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,yi.__decorate)([c.observable],ll.prototype,"renderer",void 0),(0,yi.__decorate)([c.observable],ll.prototype,"rendererParams",void 0),(0,yi.__decorate)([c.observable],ll.prototype,"slottedRenderer",void 0),ll=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-cell",template:nl})],ll);const gl=c.html`
2100
2100
  <template>
2101
2101
  <slot ${(0,c.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2102
2102
  </template>
2103
- `;let gl=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,yi.__decorate)([c.observable],gl.prototype,"slottedAgCell",void 0),(0,yi.__decorate)([c.observable],gl.prototype,"definition",void 0),gl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:ll})],gl);var sl,dl=r(82940),cl=r(32449),pl=r(9162),ul=r(5127),hl=r(83123),ml=r(35991),bl=r(6852),vl=r(26714),fl=r(2480),wl=r(71452),yl=r(99449),xl=r(30526),kl=r(61080);class zl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=dl.WJ.MAX_ROWS_250,this.maxView=dl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?dl.WJ.REQUEST_SERVER_ROW_ID:dl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===dl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===dl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?dl.WJ.REQUEST_SERVER_ROW_ID:dl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,yi.__decorate)([s.lj],zl.prototype,"connect",void 0),(0,yi.__decorate)([c.observable],zl.prototype,"deferredGridOptions",void 0),(0,yi.__decorate)([c.observable],zl.prototype,"deferredColumnStates",void 0),(0,yi.__decorate)([c.observable],zl.prototype,"rowDataMapper",void 0),(0,yi.__decorate)([c.attr],zl.prototype,"criteria",void 0),(0,yi.__decorate)([c.attr],zl.prototype,"fields",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],zl.prototype,"isSnapshot",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-rows"})],zl.prototype,"maxRows",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-view"})],zl.prototype,"maxView",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],zl.prototype,"movingView",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"order-by"})],zl.prototype,"orderBy",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"resource-name"})],zl.prototype,"resourceName",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],zl.prototype,"reverse",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],zl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(sl||(sl={}));class Sl extends zl{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},sl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},sl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},sl.Update,this.agGrid.asyncUpdate)}flashAddedCells(e){this.agGrid.enableRowFlashing&&(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(sl)){if(!this.rowDataMapper)return e;const r={};return a.includes(sl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(sl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(sl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Cl{constructor(){this.rowData=new Map}}var $l=r(21607);function Al({value:e}){return(0,$l.D_)(e)}function Fl({value:e}){return(0,$l.Lx)(e)}let Tl=class extends(el(Sl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=dl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new vl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,cl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}init(){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);if(!e){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return vn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===dl._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,yi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,wl.T)(1),(0,yl.b)(r),(0,xl.b)((e=>vn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else vn.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 vl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){this.deinit(),this.init()}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}dataLogoff(){this.sourceRef&&!this.isRequestServer&&!this.isSnapshot&&this.auth.isLoggedIn&&this.connect.dataLogoff(this.sourceRef),this.sourceRef=void 0}clearRowData(e=!0){var a,r,t,o;this.rowData=new Map,this.agTransaction=void 0,e&&(null===(r=null===(a=this.agGrid)||void 0===a?void 0:a.gridApi)||void 0===r||r.setColumnDefs([])),null===(o=null===(t=this.agGrid)||void 0===t?void 0:t.gridApi)||void 0===o||o.setRowData([])}setRowData(e){var a;const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=this.getAgColumnDefs(this.datasource.fieldMetadata);e&&this.agGrid.gridApi.setColumnDefs(e)}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(t),this.requiresFullRowDataAndColDefs=!1}reloadResourceData(){var e,a;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return vn.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 vn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,kl.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===pl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,ul.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,ul.$)(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 vn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==r||r.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):r;return void this.setRowData(e)}const t=[],o=Array.from(this.rowData.values()).filter((e=>{const a=r.find((a=>a[this.rowId]===e[this.rowId]));return!a||(t.push(a),!1)})),i=r.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(i),this.handleStreamDeletes(o),this.handleStreamUpdates(t),this.applyAllAgTransactions()}applyDataserverData(e){var a;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const r=Array.from(this.rowData.values());this.setRowData(r)}else this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions()}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case hl.r.DATE:case hl.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 hl.r.STRING:r.cellEditor=Ai.stringEditor;break;case hl.r.NUMBER:r.cellEditor=Ai.numberEditor,r.filter="agNumberColumnFilter";break;case hl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case hl.r.DATE:r.valueFormatter=Al,r.cellEditor=Ai.dateEditor,r.filter="agDateColumnFilter";break;case hl.r.DATETIME:r.valueFormatter=Fl,r.filter="agDateColumnFilter",r.cellEditor=Ai.dateEditor,r.cellEditorParams={withTime:!0};break;case hl.r.ENUM:e.enumOptions?(r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):vn.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values()));return(0,cl.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,yi.__decorate)([ml.g],Tl.prototype,"auth",void 0),(0,yi.__decorate)([bl.Yh],Tl.prototype,"datasource",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],Tl.prototype,"pollingInterval",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],Tl.prototype,"disablePolling",void 0),(0,yi.__decorate)([c.observable],Tl.prototype,"request",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Tl.prototype,"restartOnReconnection",void 0),Tl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],Tl);let Ol=class extends Tl{};Ol=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],Ol);var Dl=r(66306),Rl=r(52078);function Nl(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 Ll(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 Ml extends Cl{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,yi.__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 vn.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/"),vn.debug("Available indexes:",a),vn.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,Rl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===pl.Cs.LOGOFF_ACK||t===pl.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,ul.$)(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,yi.__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,yi.__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=>vn.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,yi.__decorate)([ml.g],Ml.prototype,"auth",void 0),(0,yi.__decorate)([s.lj],Ml.prototype,"connect",void 0);let Il=class extends(el(Sl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,cl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,yi.__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;c.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}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,yi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>vn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Dl.C)(e);const a=(0,Dl.i)(this.originalFieldDef),r=this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Ml({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});vn.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));vn.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 vn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,yi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===pl.Cs.QUERY_UPDATE&&e.ROW){const r=(0,ul.$)(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=>vn.error(e)),null!=e?e:this.params)}))}handleStreamDeletesTemp(e){e&&e.forEach((e=>{const a=this.agGrid.gridApi.getRowNode(e.ROW_REF);a&&a.setData(Object.assign(Object.assign({},a.data),{ROW_REF:e.ROW_REF+"_deleted"}))}))}getAgColumnDefs(e){const a=null==e?void 0:e.flatMap((e=>{var a;const r={};switch(r.filterParams=function(e){switch(e){case hl.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 hl.r.DATE:case hl.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 hl.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 hl.r.NUMBER:r.cellEditor=Ai.numberEditor;break;case hl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case hl.r.DATE:r.valueFormatter=Al;break;case hl.r.DATETIME:r.valueFormatter=Fl;break;case hl.r.ENUM:r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Ll(e.type),filter:Nl(e.type),sortable:[].concat(...this.indexes.values()).includes(e.name)},r),t)}));return this.agGrid.mergeAllColumnDefsAndStates(a,!0)}applyTransaction(e){return this.agGrid.gridApi.applyServerSideTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyServerSideTransactionAsync(e,a)}};(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],Il.prototype,"pagination",void 0),Il=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],Il);const jl='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiS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nU/2o8lgXVDNY1oD9p6TyUb0YWZhdYyCKXNkXqpiKbholwui05d6ymOvr4rvfbvnEuD/2Lt6UJO/LtcDLUAjLO7+6TfmdLsqQ1oX9N1GBdZaqb1U6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',El='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQ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cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Pl={[wi.alpine]:jl,[wi.alpineDark]:jl,[wi.balham]:El,[wi.balhamDark]:El,[wi.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+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5Y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VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Bl=jl,Gl=c.css`
2103
+ `;let sl=class extends p.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,yi.__decorate)([c.observable],sl.prototype,"slottedAgCell",void 0),(0,yi.__decorate)([c.observable],sl.prototype,"definition",void 0),sl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-column",template:gl})],sl);var dl,cl=r(82940),pl=r(32449),ul=r(9162),hl=r(5127),ml=r(83123),bl=r(35991),vl=r(6852),fl=r(26714),wl=r(2480),yl=r(71452),xl=r(99449),kl=r(30526),zl=r(61080);class Sl extends p.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=cl.WJ.MAX_ROWS_250,this.maxView=cl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?cl.WJ.REQUEST_SERVER_ROW_ID:cl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===cl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===cl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?cl.WJ.REQUEST_SERVER_ROW_ID:cl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}(0,yi.__decorate)([s.lj],Sl.prototype,"connect",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"deferredGridOptions",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"deferredColumnStates",void 0),(0,yi.__decorate)([c.observable],Sl.prototype,"rowDataMapper",void 0),(0,yi.__decorate)([c.attr],Sl.prototype,"criteria",void 0),(0,yi.__decorate)([c.attr],Sl.prototype,"fields",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"is-snapshot"})],Sl.prototype,"isSnapshot",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-rows"})],Sl.prototype,"maxRows",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"max-view"})],Sl.prototype,"maxView",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"moving-view"})],Sl.prototype,"movingView",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"order-by"})],Sl.prototype,"orderBy",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"resource-name"})],Sl.prototype,"resourceName",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean"})],Sl.prototype,"reverse",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"row-id"})],Sl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(dl||(dl={}));class Cl extends Sl{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},dl.Add,this.agGrid.asyncAdd),this.agTransaction.remove.length>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},dl.Remove,this.agGrid.asyncRemove),this.agTransaction.update.length>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},dl.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(dl)){if(!this.rowDataMapper)return e;const r={};return a.includes(dl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(dl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(dl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class $l{constructor(){this.rowData=new Map}}var Al=r(21607);function Fl({value:e}){return(0,Al.D_)(e)}function Tl({value:e}){return(0,Al.Lx)(e)}let Ol=class extends(Xn(Cl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=cl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new fl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,pl.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;c.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}init(){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const e=yield this.connect.getMetadata(this.resourceName);if(!e){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return vn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=e.TYPE===cl._g.REQUEST_SERVER;const a=Object.assign({getRowId:e=>e.data[this.rowId]},this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},a),this.agGrid.addEventListener("onGridReady",(()=>(0,yi.__awaiter)(this,void 0,void 0,(function*(){yield this.loadResourceData()}))),{once:!0});const r=600;this.updateSub=this.update.pipe((0,yl.T)(1),(0,xl.b)(r),(0,kl.b)((e=>vn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else vn.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 fl.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,yi.__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&&this.agGrid.gridApi.setColumnDefs(e)}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.gridApi.setRowData(t),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.dataLogoff(),this.clearRowData(null),null===(a=null===(e=this.agGrid)||void 0===e?void 0:e.gridApi)||void 0===a||a.showLoadingOverlay(),this.agGrid.removeAttribute("ds-disconnected"),this.loadResourceData(null)}))}loadResourceData(e=!0){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return vn.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 vn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,zl.K)((e=>(this.handleErrors(e.receivedMessage),wl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===ul.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,hl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,hl.$)(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 vn.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,yi.__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 ml.r.DATE:case ml.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 ml.r.STRING:r.cellEditor=Ai.stringEditor;break;case ml.r.NUMBER:r.cellEditor=Ai.numberEditor,r.filter="agNumberColumnFilter";break;case ml.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case ml.r.DATE:r.valueFormatter=Fl,r.cellEditor=Ai.dateEditor,r.filter="agDateColumnFilter";break;case ml.r.DATETIME:r.valueFormatter=Tl,r.filter="agDateColumnFilter",r.cellEditor=Ai.dateEditor,r.cellEditorParams={withTime:!0};break;case ml.r.ENUM:e.enumOptions?(r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):vn.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,pl.p)(a.join(" && "),";")}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}applyTransaction(e){return this.agGrid.gridApi.applyTransaction(e)}applyTransactionAsync(e,a){this.agGrid.gridApi.applyTransactionAsync(e,a)}};(0,yi.__decorate)([bl.g],Ol.prototype,"auth",void 0),(0,yi.__decorate)([vl.Yh],Ol.prototype,"datasource",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"polling-interval"})],Ol.prototype,"pollingInterval",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"disable-polling"})],Ol.prototype,"disablePolling",void 0),(0,yi.__decorate)([c.observable],Ol.prototype,"request",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Ol.prototype,"restartOnReconnection",void 0),Ol=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-genesis-datasource"})],Ol);let Dl=class extends Ol{};Dl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-client-side-datasource"})],Dl);var Rl=r(66306),Nl=r(52078);function Ll(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 Ml(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 Il extends $l{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,yi.__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 vn.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/"),vn.debug("Available indexes:",a),vn.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,Nl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===ul.Cs.LOGOFF_ACK||t===ul.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,hl.$)(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,yi.__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,yi.__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=>vn.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,yi.__decorate)([bl.g],Il.prototype,"auth",void 0),(0,yi.__decorate)([s.lj],Il.prototype,"connect",void 0);let jl=class extends(Xn(Cl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,pl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,yi.__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;c.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;c.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}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,yi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>vn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Rl.C)(e);const a=(0,Rl.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Il({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});vn.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));vn.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 vn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,yi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,yi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===ul.Cs.QUERY_UPDATE&&e.ROW){const r=(0,hl.$)(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=>vn.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,yi.__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 ml.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 ml.r.DATE:case ml.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 ml.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 ml.r.NUMBER:r.cellEditor=Ai.numberEditor;break;case ml.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(r.cellRenderer=Ai.boolean,r.cellEditor=Ai.boolean);break;case ml.r.DATE:r.valueFormatter=Fl;break;case ml.r.DATETIME:r.valueFormatter=Tl;break;case ml.r.ENUM:r.cellEditor=Ai.selectEditor,r.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}}const t=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Ml(e.type),filter:Ll(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,yi.__decorate)([(0,c.attr)({mode:"boolean"})],jl.prototype,"pagination",void 0),jl=(0,yi.__decorate)([(0,c.customElement)({name:"grid-pro-server-side-datasource"})],jl);const El='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2VzEdYip117wlE4pFNoTH6pLaKlnSP3jkqCOWFb04+eok58yIR6Fpbc7h7VYskIzvBi/sbie0gREpS0BX75I92Tzz1WaffwH8gR5tNGv6Ou1SeWdaN1SV9UZTp7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3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Pl='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlD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IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Bl={[wi.alpine]:El,[wi.alpineDark]:El,[wi.balham]:Pl,[wi.balhamDark]:Pl,[wi.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+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypS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oWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Gl=El,Ul=c.css`
2104
2104
  .ag-icon {
2105
2105
  font-family: var(--ag-icon-font-family);
2106
2106
  font-size: var(--ag-icon-size);
@@ -9277,7 +9277,7 @@
9277
9277
  input[class^='ag-'][type='range']:disabled {
9278
9278
  opacity: 0.5;
9279
9279
  }
9280
- `,Ul=c.css`
9280
+ `,_l=c.css`
9281
9281
  .ag-dnd-ghost {
9282
9282
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9283
9283
  border: solid 1px;
@@ -9744,7 +9744,7 @@
9744
9744
  .ag-theme-alpine-dark {
9745
9745
  color-scheme: dark;
9746
9746
  }
9747
- `,_l=c.css`
9747
+ `,Vl=c.css`
9748
9748
  .ag-theme-balham,
9749
9749
  .ag-theme-balham-dark {
9750
9750
  --ag-balham-active-color: #0091ea;
@@ -10014,7 +10014,7 @@
10014
10014
  .ag-theme-balham-dark {
10015
10015
  color-scheme: dark;
10016
10016
  }
10017
- `,Vl=c.css`
10017
+ `,Yl=c.css`
10018
10018
  .ag-theme-material {
10019
10019
  --ag-material-primary-color: #3f51b5;
10020
10020
  --ag-material-accent-color: #ff4081;
@@ -10279,14 +10279,14 @@
10279
10279
  .ag-theme-material .ag-picker-field-wrapper:focus {
10280
10280
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10281
10281
  }
10282
- `,Yl=c.css`
10283
- ${Gl}
10282
+ `,Ql=c.css`
10284
10283
  ${Ul}
10285
- ${Hl}
10286
10284
  ${_l}
10285
+ ${Hl}
10287
10286
  ${Vl}
10288
- `,Ql=c.css`
10289
10287
  ${Yl}
10288
+ `,Wl=c.css`
10289
+ ${Ql}
10290
10290
  :host {
10291
10291
  width: 100%;
10292
10292
  height: 100%;
@@ -10313,14 +10313,14 @@
10313
10313
  .ag-cell-inline-editing {
10314
10314
  height: inherit !important;
10315
10315
  }
10316
- `,Wl=c.html`
10316
+ `,ql=c.html`
10317
10317
  <template>
10318
10318
  <span part="grid" class="${e=>e.classNames}">
10319
10319
  <slot name="grid" ${(0,c.ref)("gridSlot")}></slot>
10320
10320
  <slot></slot>
10321
10321
  </span>
10322
10322
  </template>
10323
- `;class ql{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}const Jl=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function Zl(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}bn.O3h.registerModules([Zn.jM,Jn.I]);class Kl extends(el(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,tl.A)(Ci(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=Bl,this.columnComponentName="grid-pro-column",this.theme=wi.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=bn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[Jl(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),bn.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&&bn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(Jl(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ai.action]:fn,[Ai.actionsMenu]:Sn,[Ai.boolean]:Fn,[Ai.editable]:dn,[Ai.selectEditor]:Vi,[Ai.numberEditor]:Zi,[Ai.multiselectEditor]:Pi,[Ai.dateEditor]:Ni,[Ai.stringEditor]:tn};return Object.assign(Object.assign(Object.assign({},a),e),this.gridComponents)}statePersistanceEnabled(){return!(!this.persistColumnStateKey||0===this.persistColumnStateKey.length)}debouncedColumnAutosize(){this.gridAutosizingEnabled&&(this.debounced&&(clearTimeout(this.debounced),this.debounced=null),this.debounced=setTimeout((()=>{var e;null===(e=this.gridApi)||void 0===e||e.sizeColumnsToFit()}),5))}removeConfigWidthsToAutosize(e){return e.map((e=>Object.assign(Object.assign({},e),{width:null})))}saveColumnState(){if(this.rehydrationAttempted&&this.statePersistanceEnabled()){const e=JSON.parse(this.session.getLocalStorageItem("gridOptions")||"{}");let a=this.columnApi.getColumnState();if(a=this.gridAutosizingEnabled?this.removeConfigWidthsToAutosize(a):a,0===a.length)return;e[this.persistColumnStateKey]=JSON.stringify(a),this.session.setLocalStorageItem("gridOptions",JSON.stringify(e))}}getSavedColumnState(){const e=this.session.getLocalStorageItem("gridOptions");if(this.statePersistanceEnabled()&&e){const a=JSON.parse(e);if(this.persistColumnStateKey in a)return JSON.parse(a[this.persistColumnStateKey])}return[]}restoreColumnState(){var e;this.rehydrationAttempted=!0;const a=this.getSavedColumnState();a&&a.length>0&&(null===(e=this.columnApi)||void 0===e||e.applyColumnState({state:a,applyOrder:!0}))}cacheFilterConfig(){var e;this.filterConfig=(null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0}restoreCachedFilterConfig(){var e,a;void 0!==this.filterConfig&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(this.filterConfig),null===(a=this.gridApi)||void 0===a||a.onFilterChanged())}get gridOptions(){return this.agGridOptions}get gridProDatasource(){return this.querySelector("grid-pro-genesis-datasource")||this.querySelector("grid-pro-client-side-datasource")||this.querySelector("grid-pro-server-side-datasource")}set gridOptions(e){const a=this.globalEventListener.bind(this),r=()=>{this.saveColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:t,components:o,defaultColDef:i,onGridReady:n,onFirstDataRendered:l}=e,g=(0,yi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFirstDataRendered"]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},i),components:this.combineAllGridComponents(o),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),n&&n(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onFirstDataRendered:e=>{this.restoreCachedFilterConfig.bind(this)(),l&&l(e)},onColumnPinned:r,onColumnResized:r,onColumnMoved:r,onDisplayedColumnsChanged:r,onFilterChanged:r,onGridSizeChanged:r,onSortChanged:r}),g);this.gridProDatasource?s.columnDefs=t:s.columnDefs=this.mergeAllColumnDefsAndStates(t),this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),bn.plv.copyAttributesToGridOptions(s,this.agAttributes));const d={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new bn.rjZ(this.gridSlot,this.agGridOptions,d),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return vn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=ol[this.headerCaseType];a?e.headerName=a(e.field):vn.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[Fi]===e.field)return{component:Ai.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=ql,e.tooltipValueGetter=a=>{const r=a.data[Ti];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Ti])||void 0===a?void 0:a.column)===e.colDef.field}}));const a=t.find((a=>e.field===a.field));return Object.assign(Object.assign({},a),e)})),i=o.map((e=>e.field)),n=[...o,...this.onlyTemplateColDefs?[]:t.filter((e=>!i.includes(e.field)))];if(this.gridProDatasource&&a){const e=this.getSavedColumnState();if((null==e?void 0:e.length)>0)return Zl(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Zl(n,this.gridProDatasource.deferredColumnStates)}return n}get observedAttributes(){const e=bn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=bn.plv.ALL_PROPERTIES.map((e=>Jl(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},bn.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=Pl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,rl.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,yi.__decorate)([c.observable],Kl.prototype,"columnApi",void 0),(0,yi.__decorate)([c.observable],Kl.prototype,"gridApi",void 0),(0,yi.__decorate)([Kn.z],Kl.prototype,"session",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Kl.prototype,"autoCellRendererByType",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Kl.prototype,"onlyTemplateColDefs",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],Kl.prototype,"gridAutosizingEnabled",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"add-index"})],Kl.prototype,"addIndex",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],Kl.prototype,"asyncAdd",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],Kl.prototype,"asyncRemove",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],Kl.prototype,"asyncUpdate",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Kl.prototype,"enableCellFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Kl.prototype,"enabledRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Kl.prototype,"enableRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],Kl.prototype,"persistColumnStateKey",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"header-case-type"})],Kl.prototype,"headerCaseType",void 0),(0,yi.__decorate)([c.observable],Kl.prototype,"gridFontFace",void 0),(0,yi.__decorate)([c.attr],Kl.prototype,"columnComponentName",void 0),(0,yi.__decorate)([c.observable],Kl.prototype,"eventsAndCallbacks",void 0),(0,yi.__decorate)([c.attr],Kl.prototype,"headerHeight",void 0),(0,yi.__decorate)([c.attr],Kl.prototype,"rowHeight",void 0),(0,yi.__decorate)([c.attr],Kl.prototype,"theme",void 0),(0,yi.__decorate)([c.observable],Kl.prototype,"classNames",void 0),(0,yi.__decorate)([c.observable],Kl.prototype,"agGrid",void 0),(0,yi.__decorate)([c.observable],Kl.prototype,"gridSlot",void 0),(0,yi.__decorate)([c.observable],Kl.prototype,"gridComponents",void 0),(0,yi.__decorate)([Di],Kl.prototype,"gridOptionsConfig",void 0);const Xl=void 0,eg={shadowOptions:void 0},ag=Kl.compose(Object.assign({baseName:"grid-pro",styles:Ql,template:Wl,shadowOptions:Xl},eg)),rg={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},tg={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:og}=p.DesignToken,ig={backgroundColor:og("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?tg.backgroundSwatch:rg.backgroundSwatch)),borderColor:og("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?tg.borderSwatch:rg.borderSwatch)),foregroundColor:og("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?tg.foregroundSwatch:rg.foregroundSwatch)),headerForegroundColor:og("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?tg.headerForegroundSwatch:rg.headerForegroundSwatch)),rowHoverColor:og("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?tg.rowHoverSwatch:rg.rowHoverSwatch))},ng=c.css`
10323
+ `;var Jl=r(75527);class Zl{getColumnState(e){return(0,yi.__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,yi.__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,yi.__decorate)([Jl.z],Zl.prototype,"session",void 0);const Kl=p.DI.createInterface((e=>e.singleton(Zl)));class Xl{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 eg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function ag(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}bn.O3h.registerModules([Zn.jM,Jn.I]);class rg extends(Xn(p.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,rl.A)(Ci(a),a),this.insertFontFace(a)}constructor(){super(),this.autoCellRendererByType=!1,this.onlyTemplateColDefs=!1,this.gridAutosizingEnabled=!1,this.addIndex=0,this.asyncAdd=!1,this.asyncRemove=!1,this.asyncUpdate=!0,this.enableCellFlashing=!1,this.enabledRowFlashing=!1,this.enableRowFlashing=!1,this.gridFontFace=Gl,this.columnComponentName="grid-pro-column",this.theme=wi.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this.filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=bn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[eg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),bn.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&&bn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(eg(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){var e;this.cacheFilterConfig(),super.disconnectedCallback(),this.rehydrationAttempted=!1,this.shouldRunDisconnect&&(this.initialised=!1,null===(e=this.gridApi)||void 0===e||e.destroy())}combineAllGridComponents(e){const a={[Ai.action]:fn,[Ai.actionsMenu]:Sn,[Ai.boolean]:Fn,[Ai.editable]:dn,[Ai.selectEditor]:Vi,[Ai.numberEditor]:Zi,[Ai.multiselectEditor]:Pi,[Ai.dateEditor]:Ni,[Ai.stringEditor]:tn};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,yi.__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,yi.__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,yi.__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=il()(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,yi.__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),bn.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};c.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new bn.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return vn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,yi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=tl[this.headerCaseType];a?e.headerName=a(e.field):vn.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[Fi]===e.field)return{component:Ai.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Xl,e.tooltipValueGetter=a=>{const r=a.data[Ti];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Ti])||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 ag(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return ag(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=bn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=bn.plv.ALL_PROPERTIES.map((e=>eg(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},bn.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=Bl[e]||this.gridFontFace;this.destroyFontFace();const r=(0,al.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,yi.__decorate)([c.observable],rg.prototype,"columnApi",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"gridApi",void 0),(0,yi.__decorate)([Kl],rg.prototype,"statePersistence",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],rg.prototype,"autoCellRendererByType",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"only-template-col-defs",mode:"boolean"})],rg.prototype,"onlyTemplateColDefs",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"grid-autosizing"})],rg.prototype,"gridAutosizingEnabled",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"add-index"})],rg.prototype,"addIndex",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-add"})],rg.prototype,"asyncAdd",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-remove"})],rg.prototype,"asyncRemove",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"async-update"})],rg.prototype,"asyncUpdate",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],rg.prototype,"enableCellFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],rg.prototype,"enabledRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({mode:"boolean",attribute:"enable-row-flashing"})],rg.prototype,"enableRowFlashing",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"persist-column-state-key"})],rg.prototype,"persistColumnStateKey",void 0),(0,yi.__decorate)([(0,c.attr)({attribute:"header-case-type"})],rg.prototype,"headerCaseType",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"gridFontFace",void 0),(0,yi.__decorate)([c.attr],rg.prototype,"columnComponentName",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"eventsAndCallbacks",void 0),(0,yi.__decorate)([c.attr],rg.prototype,"headerHeight",void 0),(0,yi.__decorate)([c.attr],rg.prototype,"rowHeight",void 0),(0,yi.__decorate)([c.attr],rg.prototype,"theme",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"classNames",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"agGrid",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"gridSlot",void 0),(0,yi.__decorate)([c.observable],rg.prototype,"gridComponents",void 0),(0,yi.__decorate)([Di],rg.prototype,"gridOptionsConfig",void 0);const tg=void 0,og={shadowOptions:void 0},ig=rg.compose(Object.assign({baseName:"grid-pro",styles:Wl,template:ql,shadowOptions:tg},og)),ng={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},lg={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:gg}=p.DesignToken,sg={backgroundColor:gg("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.backgroundSwatch:ng.backgroundSwatch)),borderColor:gg("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.borderSwatch:ng.borderSwatch)),foregroundColor:gg("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.foregroundSwatch:ng.foregroundSwatch)),headerForegroundColor:gg("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.headerForegroundSwatch:ng.headerForegroundSwatch)),rowHoverColor:gg("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?lg.rowHoverSwatch:ng.rowHoverSwatch))},dg=c.css`
10324
10324
  .ag-theme-genesis-rapid,
10325
10325
  .ag-theme-genesis-rapid-dark {
10326
10326
  --ag-alpine-active-color: #2196f3;
@@ -10780,56 +10780,56 @@
10780
10780
  .ag-theme-genesis-rapid-dark {
10781
10781
  color-scheme: dark;
10782
10782
  }
10783
- `,lg={[fi.backgroundColor]:ig.backgroundColor,[fi.foregroundColor]:ig.foregroundColor,[fi.oddRowBackgroundColor]:ig.backgroundColor,[fi.headerBackgroundColor]:ig.backgroundColor,[fi.headerForegroundColor]:ig.headerForegroundColor,[fi.selectedRowBackgroundColor]:ig.rowHoverColor,[fi.rowHoverColor]:ig.rowHoverColor,[fi.borderColor]:ig.borderColor,[fi.rowBorderColor]:ig.rowHoverColor,[fi.modalOverlayBackgroundColor]:ig.backgroundColor,[fi.inputFocusBoxShadow]:ig.headerForegroundColor,[fi.inputFocusBorderColor]:ig.headerForegroundColor,[fi.headerColumnResizeHandleColor]:ig.headerForegroundColor},gg="ag-theme-genesis-rapid",sg=c.css`
10784
- ${ng}
10785
- ${$i(gg,lg)}
10783
+ `,cg={[fi.backgroundColor]:sg.backgroundColor,[fi.foregroundColor]:sg.foregroundColor,[fi.oddRowBackgroundColor]:sg.backgroundColor,[fi.headerBackgroundColor]:sg.backgroundColor,[fi.headerForegroundColor]:sg.headerForegroundColor,[fi.selectedRowBackgroundColor]:sg.rowHoverColor,[fi.rowHoverColor]:sg.rowHoverColor,[fi.borderColor]:sg.borderColor,[fi.rowBorderColor]:sg.rowHoverColor,[fi.modalOverlayBackgroundColor]:sg.backgroundColor,[fi.inputFocusBoxShadow]:sg.headerForegroundColor,[fi.inputFocusBorderColor]:sg.headerForegroundColor,[fi.headerColumnResizeHandleColor]:sg.headerForegroundColor},pg="ag-theme-genesis-rapid",ug=c.css`
10784
+ ${dg}
10785
+ ${$i(pg,cg)}
10786
10786
 
10787
- .${gg} {
10787
+ .${pg} {
10788
10788
  ${Ee()}
10789
10789
  }
10790
10790
 
10791
- .${gg} .ag-header {
10791
+ .${pg} .ag-header {
10792
10792
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10793
10793
  font-weight: bold;
10794
10794
  }
10795
10795
 
10796
- .${gg} .ag-root-wrapper {
10796
+ .${pg} .ag-root-wrapper {
10797
10797
  border-radius: calc(var(--control-corner-radius) * 1px);
10798
10798
  }
10799
- `,dg="ag-theme-genesis-rapid-dark",cg=c.css`
10800
- ${ng}
10801
- ${$i(dg,lg)}
10799
+ `,hg="ag-theme-genesis-rapid-dark",mg=c.css`
10800
+ ${dg}
10801
+ ${$i(hg,cg)}
10802
10802
 
10803
- .${dg} {
10803
+ .${hg} {
10804
10804
  ${Ee()}
10805
10805
  }
10806
10806
 
10807
- .${dg} .ag-header {
10807
+ .${hg} .ag-header {
10808
10808
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10809
10809
  font-weight: bold;
10810
10810
  }
10811
10811
 
10812
- .${dg} .ag-cell {
10812
+ .${hg} .ag-cell {
10813
10813
  line-height: var(--ag-line-height, 32px);
10814
10814
  }
10815
10815
 
10816
- .${dg} .ag-root-wrapper {
10816
+ .${hg} .ag-root-wrapper {
10817
10817
  border-radius: calc(var(--control-corner-radius) * 1px);
10818
10818
  }
10819
- `,pg=c.css`
10819
+ `,bg=c.css`
10820
10820
  /* All the AG themes */
10821
- ${Ql}
10821
+ ${Wl}
10822
10822
 
10823
10823
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10824
- ${sg}
10825
- ${cg}
10824
+ ${ug}
10825
+ ${mg}
10826
10826
 
10827
10827
  .error {
10828
10828
  border-color: ${ve.shortPink} !important;
10829
10829
  }
10830
- `,ug=Wl,hg="ag-theme-genesis-rapid-dark";const mg=eg,bg={zeroAgEditableRenderer:mn,zeroAgActionRenderer:zn,zeroAgActionsMenuRenderer:An,zeroAgBooleanRenderer:Nn,zeroAgTextRenderer:_n,zeroAgSelectRenderer:qn,zeroAgDateEditor:Ei,zeroAgMultiselectEditor:_i,zeroAgSelectEditor:Ji,zeroAgNumberEditor:rn,zeroAgStringEditor:sn,zeroGridPro:class extends Kl{constructor(){super(...arguments),this.theme=hg}themeChanged(e,a){(e||a===hg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:kn,[Ai.actionsMenu]:$n,[Ai.boolean]:Rn,[Ai.editable]:hn,[Ai.selectEditor]:qi,[Ai.numberEditor]:an,[Ai.multiselectEditor]:Hi,[Ai.dateEditor]:ji,[Ai.stringEditor]:gn};(this.theme===gg||this.theme===dg)&&(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:ug,styles:pg,shadowOptions:undefined},mg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},vg={foundationGridProActionRenderer:xn,foundationGridProActionsMenuRenderer:Cn,foundationAgBooleanRenderer:Dn,foundationAgTextRenderer:Hn,foundationAgTextFieldRenderer:Pn,foundationAgEditableRenderer:un,foundationAgSelectRenderer:Wn,foundationGridPro:ag,foundationSelectEditor:Wi,foundationNumberEditor:en,foundationDateEditor:Ii,foundationMultiselectEditor:Ui,foundationStringEditor:ln,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var fg;!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"}(fg||(fg={}));const{create:wg}=p.DesignToken,yg=(0,fe.parseColorHexRGB)(fg.error),xg=u.SwatchRGB.create(yg.r,yg.g,yg.b),kg=wg("error-color").withDefault(xg),zg=(0,fe.parseColorHexRGB)(fg.success),Sg=u.SwatchRGB.create(zg.r,zg.g,zg.b),Cg=wg("success-color").withDefault(Sg),$g=(0,fe.parseColorHexRGB)(fg.warning),Ag=u.SwatchRGB.create($g.r,$g.g,$g.b),Fg=wg("warning-color").withDefault(Ag),Tg=(0,fe.parseColorHexRGB)(fg.buy),Og=u.SwatchRGB.create(Tg.r,Tg.g,Tg.b),Dg=wg("buy-color").withDefault(Og),Rg=(0,fe.parseColorHexRGB)(fg.sell),Ng=u.SwatchRGB.create(Rg.r,Rg.g,Rg.b),Lg=wg("sell-color").withDefault(Ng),Mg=(0,P.paletteFromHex)(fg.primary),Ig=(0,P.paletteFromHex)(fg.neutral),jg=u.StandardLuminance.DarkMode,Eg=0,Pg=4,Bg=-5,Gg=0,Ug=0,Hg=6,_g=-4,Vg=0,Yg=7,Qg=10,Wg=5,qg=0,Jg=0,Zg=0,Kg=0,Xg=0,es=0,as=5,rs=3,ts=0,os=0,is=8,ns=-5,ls=0,gs=3,ss=25,ds=40,cs=16,ps=25,us=8,hs="rapid",ms=Te.N.ltr,bs=.3,vs=1,fs=2,ws=10,ys=4,xs=0,ks=4,zs='"Segoe UI", Arial, Helvetica, sans-serif',Ss="14px",Cs="20px",$s="12px",As="16px",Fs="10px",Ts="16px",Os="16px",Ds="24px",Rs="20px",Ns="28px",Ls="28px",Ms="36px",Is="34px",js="44px",Es="46px",Ps="56px",Bs="60px",Gs="72px",Us={design_tokens:{color:{accent:{$value:Mg.source.toColorString(),$type:"color"},neutral:{$value:Ig.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:zs,$type:"fontFamily"}},typography:{baseFontSize:{$value:Ss,$type:"dimension"},baseLineHeight:{$value:Cs,$type:"dimension"}},mode:{luminance:{$value:jg,$type:"number"}},style:{density:{$value:xs,$type:"number"},borderRadius:{$value:ys,$type:"number"},strokeWidth:{$value:vs,$type:"number"}},space:{designUnit:{$value:ks,$type:"number"}}}};class Hs extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(i,n,this)}}const _s=Hs.compose({baseName:"design-system-provider",template:c.html`
10830
+ `,vg=ql,fg="ag-theme-genesis-rapid-dark";const wg=og,yg={zeroAgEditableRenderer:mn,zeroAgActionRenderer:zn,zeroAgActionsMenuRenderer:An,zeroAgBooleanRenderer:Nn,zeroAgTextRenderer:Hn,zeroAgSelectRenderer:qn,zeroAgDateEditor:Ei,zeroAgMultiselectEditor:Hi,zeroAgSelectEditor:Ji,zeroAgNumberEditor:rn,zeroAgStringEditor:sn,zeroGridPro:class extends rg{constructor(){super(...arguments),this.theme=fg}themeChanged(e,a){(e||a===fg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:kn,[Ai.actionsMenu]:$n,[Ai.boolean]:Rn,[Ai.editable]:hn,[Ai.selectEditor]:qi,[Ai.numberEditor]:an,[Ai.multiselectEditor]:_i,[Ai.dateEditor]:ji,[Ai.stringEditor]:gn};(this.theme===pg||this.theme===hg)&&(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:vg,styles:bg,shadowOptions:undefined},wg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},xg={foundationGridProActionRenderer:xn,foundationGridProActionsMenuRenderer:Cn,foundationAgBooleanRenderer:Dn,foundationAgTextRenderer:_n,foundationAgTextFieldRenderer:Pn,foundationAgEditableRenderer:un,foundationAgSelectRenderer:Wn,foundationGridPro:ig,foundationSelectEditor:Wi,foundationNumberEditor:en,foundationDateEditor:Ii,foundationMultiselectEditor:Ui,foundationStringEditor:ln,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var kg;!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"}(kg||(kg={}));const{create:zg}=p.DesignToken,Sg=(0,fe.parseColorHexRGB)(kg.error),Cg=u.SwatchRGB.create(Sg.r,Sg.g,Sg.b),$g=zg("error-color").withDefault(Cg),Ag=(0,fe.parseColorHexRGB)(kg.success),Fg=u.SwatchRGB.create(Ag.r,Ag.g,Ag.b),Tg=zg("success-color").withDefault(Fg),Og=(0,fe.parseColorHexRGB)(kg.warning),Dg=u.SwatchRGB.create(Og.r,Og.g,Og.b),Rg=zg("warning-color").withDefault(Dg),Ng=(0,fe.parseColorHexRGB)(kg.buy),Lg=u.SwatchRGB.create(Ng.r,Ng.g,Ng.b),Mg=zg("buy-color").withDefault(Lg),Ig=(0,fe.parseColorHexRGB)(kg.sell),jg=u.SwatchRGB.create(Ig.r,Ig.g,Ig.b),Eg=zg("sell-color").withDefault(jg),Pg=(0,P.paletteFromHex)(kg.primary),Bg=(0,P.paletteFromHex)(kg.neutral),Gg=u.StandardLuminance.DarkMode,Ug=0,_g=4,Hg=-5,Vg=0,Yg=0,Qg=6,Wg=-4,qg=0,Jg=7,Zg=10,Kg=5,Xg=0,es=0,as=0,rs=0,ts=0,os=0,is=5,ns=3,ls=0,gs=0,ss=8,ds=-5,cs=0,ps=3,us=25,hs=40,ms=16,bs=25,vs=8,fs="rapid",ws=Te.N.ltr,ys=.3,xs=1,ks=2,zs=10,Ss=4,Cs=0,$s=4,As='"Segoe UI", Arial, Helvetica, sans-serif',Fs="14px",Ts="20px",Os="12px",Ds="16px",Rs="10px",Ns="16px",Ls="16px",Ms="24px",Is="20px",js="28px",Es="28px",Ps="36px",Bs="34px",Gs="44px",Us="46px",_s="56px",Hs="60px",Vs="72px",Ys={design_tokens:{color:{accent:{$value:Pg.source.toColorString(),$type:"color"},neutral:{$value:Bg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:As,$type:"fontFamily"}},typography:{baseFontSize:{$value:Fs,$type:"dimension"},baseLineHeight:{$value:Ts,$type:"dimension"}},mode:{luminance:{$value:Gg,$type:"number"}},style:{density:{$value:Cs,$type:"number"},borderRadius:{$value:Ss,$type:"number"},strokeWidth:{$value:xs,$type:"number"}},space:{designUnit:{$value:$s,$type:"number"}}}};class Qs extends u.DesignSystemProvider{constructor(){super(),(0,P.provideTokens)(i,n,this)}}const Ws=Qs.compose({baseName:"design-system-provider",template:c.html`
10831
10831
  <slot></slot>
10832
- `});class Vs extends P.Accordion{}const Ys=Vs.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
10832
+ `});class qs extends P.Accordion{}const Js=qs.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,P.foundationAccordionTemplate)(e,a),styles:(e,a)=>c.css`
10833
10833
  ${(0,P.foundationAccordionStyles)(e,a)}
10834
10834
 
10835
10835
  :host {
@@ -10840,7 +10840,7 @@
10840
10840
  .heading {
10841
10841
  height: calc(var(--base-height-multiplier) * 4px);
10842
10842
  }
10843
- `,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Qs extends P.AccordionItem{}const Ws=Qs.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
10843
+ `,shadowOptions:P.foundationAccordionShadowOptions},P.defaultAccordionConfig));class Zs extends P.AccordionItem{}const Ks=Zs.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,P.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>c.css`
10844
10844
  ${(0,P.foundationAccordionItemStyles)(e,a)}
10845
10845
 
10846
10846
  :host {
@@ -10903,7 +10903,7 @@
10903
10903
  grid-template-columns: auto 1fr auto;
10904
10904
  align-items: center;
10905
10905
  }
10906
- `,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class qs extends P.ActionsMenu{}const Js=qs.compose({baseName:"actions-menu",styles:(e,a)=>c.css`
10906
+ `,shadowOptions:P.foundationAccordionItemShadowOptions},P.defaultAccordionItemConfig));class Xs extends P.ActionsMenu{}const ed=Xs.compose({baseName:"actions-menu",styles:(e,a)=>c.css`
10907
10907
  :host {
10908
10908
  --actions-opener-height-multiplier: 0.6px;
10909
10909
  --menu-item-height-multiplier: 0.5px;
@@ -10941,7 +10941,7 @@
10941
10941
  .actions-vertical .menu-item:focus {
10942
10942
  border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
10943
10943
  }
10944
- `,template:P.foundationActionsMenuTemplate});function Zs(e,a){return new p.PropertyStyleSheetBehavior("appearance",e,a)}const Ks=c.css`
10944
+ `,template:P.foundationActionsMenuTemplate});function ad(e,a){return new p.PropertyStyleSheetBehavior("appearance",e,a)}const rd=c.css`
10945
10945
  :host([appearance='primary']) {
10946
10946
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
10947
10947
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -10964,7 +10964,7 @@
10964
10964
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
10965
10965
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
10966
10966
  }
10967
- `,Xs=c.css`
10967
+ `,td=c.css`
10968
10968
  :host([appearance='primary-outline']) {
10969
10969
  background: none;
10970
10970
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -10982,7 +10982,7 @@
10982
10982
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
10983
10983
  opacity: 100%;
10984
10984
  }
10985
- `,ed=c.css`
10985
+ `,od=c.css`
10986
10986
  :host([appearance='neutral-outline']) {
10987
10987
  background: none;
10988
10988
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
@@ -11000,7 +11000,7 @@
11000
11000
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11001
11001
  opacity: 100%;
11002
11002
  }
11003
- `,ad=c.css`
11003
+ `,id=c.css`
11004
11004
  :host([appearance='link']) {
11005
11005
  background: none;
11006
11006
  border: none;
@@ -11023,7 +11023,7 @@
11023
11023
  color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
11024
11024
  opacity: 100%;
11025
11025
  }
11026
- `,rd=(e,a)=>c.css`
11026
+ `,nd=(e,a)=>c.css`
11027
11027
  ${(0,P.foundationButtonStyles)(e,a)}
11028
11028
  ${c.css`
11029
11029
  :host {
@@ -11077,14 +11077,14 @@
11077
11077
  opacity: 100%;
11078
11078
  }
11079
11079
  `}
11080
- `.withBehaviors(Zs("primary",Ks),Zs("primary-outline",Xs),Zs("neutral-outline",ed),Zs("link",ad));class td extends P.Anchor{}const od=td.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
11080
+ `.withBehaviors(ad("primary",rd),ad("primary-outline",td),ad("neutral-outline",od),ad("link",id));class ld extends P.Anchor{}const gd=ld.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,P.foundationAnchorTemplate)(e,a),styles:(e,a)=>c.css`
11081
11081
  ${(0,P.foundationAnchorStyles)(e,a)}
11082
- ${rd(e,a)}
11083
- `.withBehaviors(...rd(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class id extends P.AnchoredRegion{}const nd=id.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
11082
+ ${nd(e,a)}
11083
+ `.withBehaviors(...nd(e,a).behaviors),shadowOptions:P.foundationAnchorShadowOptions},P.defaultAnchorConfig));class sd extends P.AnchoredRegion{}const dd=sd.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,P.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>c.css`
11084
11084
  ${(0,P.foundationAnchoredRegionStyles)(e,a)}
11085
- `,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class ld extends P.Avatar{}const gd=ld.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,P.foundationAvatarTemplate)(e,a),styles:(e,a)=>c.css`
11085
+ `,shadowOptions:P.foundationAnchoredRegionShadowOptions},P.defaultAnchoredRegionConfig));class cd extends P.Avatar{}const pd=cd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,P.foundationAvatarTemplate)(e,a),styles:(e,a)=>c.css`
11086
11086
  ${(0,P.foundationAvatarStyles)(e,a)}
11087
- `,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class sd extends P.Badge{}const dd=sd.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,P.foundationBadgeTemplate)(e,a),styles:(e,a)=>c.css`
11087
+ `,shadowOptions:P.foundationAvatarShadowOptions},P.defaultAvatarConfig));class ud extends P.Badge{}const hd=ud.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,P.foundationBadgeTemplate)(e,a),styles:(e,a)=>c.css`
11088
11088
  ${(0,P.foundationBadgeStyles)(e,a)}
11089
11089
  :host {
11090
11090
  --badge-fill-primary: var(--accent-fill-rest);
@@ -11098,7 +11098,7 @@
11098
11098
  padding: calc(${u.designUnit} * 1px) calc(${u.designUnit} * 2px);
11099
11099
  border: none;
11100
11100
  }
11101
- `,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),cd=c.css`
11101
+ `,shadowOptions:P.foundationBadgeShadowOptions},P.defaultBadgeConfig)),md=c.css`
11102
11102
  ${P.foundationBannerStyles}
11103
11103
  :host {
11104
11104
  --banner-height: calc(
@@ -11118,9 +11118,9 @@
11118
11118
  font-family: var(--body-font);
11119
11119
  line-height: var(--type-ramp-base-line-height);
11120
11120
  }
11121
- `,pd=P.foundationBannerShadowOptions;class ud extends P.Banner{}const hd=ud.compose({baseName:"banner",shadowOptions:pd,styles:cd,template:P.foundationBannerTemplate});class md extends P.Breadcrumb{}const bd=md.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,P.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>c.css`
11121
+ `,bd=P.foundationBannerShadowOptions;class vd extends P.Banner{}const fd=vd.compose({baseName:"banner",shadowOptions:bd,styles:md,template:P.foundationBannerTemplate});class wd extends P.Breadcrumb{}const yd=wd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,P.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>c.css`
11122
11122
  ${(0,P.foundationBreadcrumbStyles)(e,a)}
11123
- `,shadowOptions:undefined},{}));class vd extends P.BreadcrumbItem{}const fd=vd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
11123
+ `,shadowOptions:undefined},{}));class xd extends P.BreadcrumbItem{}const kd=xd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,P.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>c.css`
11124
11124
  ${(0,P.foundationBreadcrumbItemStyles)(e,a)}
11125
11125
  .listitem {
11126
11126
  color: var(--accent-foreground-rest);
@@ -11156,9 +11156,9 @@
11156
11156
  .control:hover .start {
11157
11157
  background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
11158
11158
  }
11159
- `,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class wd extends P.Button{}const yd=wd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:rd,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class xd extends P.Calendar{}const kd=xd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
11159
+ `,shadowOptions:P.foundationBreadcrumbItemShadowOptions},P.defaultBreadcrumbItemConfig));class zd extends P.Button{}const Sd=zd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,P.foundationButtonTemplate)(e,a),styles:nd,shadowOptions:P.foundationButtonShadowOptions},P.defaultButtonConfig));class Cd extends P.Calendar{}const $d=Cd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,P.foundationCalendarTemplate)(e,a),styles:()=>c.css`
11160
11160
  ${(0,P.foundationCalendarStyles)()}
11161
- `,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class zd extends P.Card{}const Sd=zd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
11161
+ `,shadowOptions:P.foundationCalendarShadowOptions},P.defaultCalendarConfig));class Ad extends P.Card{}const Fd=Ad.compose(Object.assign({baseName:"card",template:(e,a)=>(0,P.foundationCardTemplate)(e,a),styles:(e,a)=>c.css`
11162
11162
  ${(0,P.foundationCardStyles)(e,a)}
11163
11163
  :host {
11164
11164
  background: var(--neutral-layer-card-container);
@@ -11172,7 +11172,7 @@
11172
11172
  ::slotted(rapid-card) {
11173
11173
  background: var(--neutral-layer-3);
11174
11174
  }
11175
- `,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class Cd extends P.Checkbox{}const $d=Cd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,P.foundationCheckboxTemplate)(e,a),styles:(e,a)=>c.css`
11175
+ `,shadowOptions:P.foundationCardShadowOptions},P.defaultCardConfig));class Td extends P.Checkbox{}const Od=Td.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,P.foundationCheckboxTemplate)(e,a),styles:(e,a)=>c.css`
11176
11176
  ${(0,P.foundationCheckboxStyles)(e,a)}
11177
11177
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11178
11178
  fill: var(--neutral-foreground-rest);
@@ -11187,7 +11187,7 @@
11187
11187
  .label {
11188
11188
  padding-inline-start: calc(var(--design-unit) * 2px);
11189
11189
  }
11190
- `,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig));class Ad extends P.Combobox{}const Fd=Ad.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,P.foundationComboboxTemplate)(e,a),styles:(e,a)=>c.css`
11190
+ `,shadowOptions:P.foundationCheckboxShadowOptions},P.defaultCheckboxConfig));class Dd extends P.Combobox{}const Rd=Dd.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,P.foundationComboboxTemplate)(e,a),styles:(e,a)=>c.css`
11191
11191
  ${(0,P.foundationComboboxStyles)(e,a)}
11192
11192
  :host {
11193
11193
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11260,7 +11260,7 @@
11260
11260
  ::slotted([role='option']) {
11261
11261
  margin: 0;
11262
11262
  }
11263
- `,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class Td extends P.ConnectionIndicator{}const Od=Td.compose({baseName:"connection-indicator",template:P.foundationConnectionIndicatorTemplate,styles:(e,a)=>c.css`
11263
+ `,shadowOptions:P.foundationComboboxShadowOptions},P.defaultComboboxConfig));class Nd extends P.ConnectionIndicator{}const Ld=Nd.compose({baseName:"connection-indicator",template:P.foundationConnectionIndicatorTemplate,styles:(e,a)=>c.css`
11264
11264
  ${(0,P.foundationConnectionIndicatorStyles)(e,a)}
11265
11265
  :host {
11266
11266
  --light-size: calc(var(--design-unit) * 3px);
@@ -11283,9 +11283,9 @@
11283
11283
  font-size: var(--type-ramp-base-font-size);
11284
11284
  color: var(--neutral-stroke-rest);
11285
11285
  }
11286
- `}),Dd=["baseClass","baseName","shadowOptions","styles","template"],Rd=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Dd)=>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:Nd,shadowOptions:Ld,styles:Md,template:Id}=Rd(P.foundationDataGrid),{defaultConfig:jd,shadowOptions:Ed,styles:Pd,template:Bd}=Rd(P.foundationDataGridCell),{defaultConfig:Gd,shadowOptions:Ud,styles:Hd,template:_d}=Rd(P.foundationDataGridRow),Vd=c.html`
11286
+ `}),Md=["baseClass","baseName","shadowOptions","styles","template"],Id=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Md)=>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:jd,shadowOptions:Ed,styles:Pd,template:Bd}=Id(P.foundationDataGrid),{defaultConfig:Gd,shadowOptions:Ud,styles:_d,template:Hd}=Id(P.foundationDataGridCell),{defaultConfig:Vd,shadowOptions:Yd,styles:Qd,template:Wd}=Id(P.foundationDataGridRow),qd=c.html`
11287
11287
  ${(0,P.getPrefixedDatePicker)("rapid")}
11288
- `;class Yd extends P.DatePicker{}const Qd=Yd.compose(Object.assign({baseName:"date-picker",template:Vd,styles:()=>c.css`
11288
+ `;class Jd extends P.DatePicker{}const Zd=Jd.compose(Object.assign({baseName:"date-picker",template:qd,styles:()=>c.css`
11289
11289
  ${P.foundationDatePickerStyles}
11290
11290
 
11291
11291
  :host {
@@ -11368,7 +11368,7 @@
11368
11368
  .week-days span {
11369
11369
  font-size: var(--type-ramp-minus-2-font-size);
11370
11370
  }
11371
- `,shadowOptions:undefined},{})),Wd=c.css`
11371
+ `,shadowOptions:undefined},{})),Kd=c.css`
11372
11372
  ${P.foundationDialogStyles}
11373
11373
  :host {
11374
11374
  --dialog-background: ${u.neutralLayer2};
@@ -11445,7 +11445,7 @@
11445
11445
  .close-icon:active svg g path {
11446
11446
  fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
11447
11447
  }
11448
- `,qd=P.defaultDialogConfig,Jd=P.foundationDialogTemplate,Zd=P.foundationDialogShadowOptions;class Kd extends P.Dialog{}const Xd=Kd.compose(Object.assign({baseName:"dialog",shadowOptions:Zd,styles:Wd,template:Jd},qd));class ec extends P.Disclosure{}const ac=ec.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
11448
+ `,Xd=P.defaultDialogConfig,ec=P.foundationDialogTemplate,ac=P.foundationDialogShadowOptions;class rc extends P.Dialog{}const tc=rc.compose(Object.assign({baseName:"dialog",shadowOptions:ac,styles:Kd,template:ec},Xd));class oc extends P.Disclosure{}const ic=oc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,P.foundationDisclosureTemplate)(e,a),styles:(e,a)=>c.css`
11449
11449
  ${(0,P.foundationDisclosureStyles)(e,a)}
11450
11450
  :host {
11451
11451
  font-size: var(--type-ramp-base-font-size);
@@ -11462,9 +11462,9 @@
11462
11462
  padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
11463
11463
  text-align: center;
11464
11464
  }
11465
- `,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class rc extends P.Divider{}const tc=rc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,P.foundationDividerTemplate)(e,a),styles:(e,a)=>c.css`
11465
+ `,shadowOptions:P.foundationDialogShadowOptions},P.defaultDisclosureConfig));class nc extends P.Divider{}const lc=nc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,P.foundationDividerTemplate)(e,a),styles:(e,a)=>c.css`
11466
11466
  ${(0,P.foundationDividerStyles)(e,a)}
11467
- `,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class oc extends P.DropdownMenu{}const ic=oc.compose({baseName:"dropdown-menu",styles:(e,a)=>c.css`
11467
+ `,shadowOptions:P.foundationDividerShadowOptions},P.defaultDividerConfig));class gc extends P.DropdownMenu{}const sc=gc.compose({baseName:"dropdown-menu",styles:(e,a)=>c.css`
11468
11468
  ${(0,P.dropdownMenuBaseStyles)("rapid",e,a)}
11469
11469
 
11470
11470
  .actions-menu {
@@ -11479,7 +11479,7 @@
11479
11479
  border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
11480
11480
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
11481
11481
  }
11482
- `,template:P.foundationDropdownMenuTemplate}),{defaultConfig:nc,shadowOptions:lc,styles:gc,template:sc}=Rd(P.foundationErrorBoundary),dc=c.css`
11482
+ `,template:P.foundationDropdownMenuTemplate}),{defaultConfig:dc,shadowOptions:cc,styles:pc,template:uc}=Id(P.foundationErrorBoundary),hc=c.css`
11483
11483
  ${P.foundationFileUploadStyles}
11484
11484
  ::-webkit-scrollbar {
11485
11485
  width: calc(var(--design-unit) * 3px);
@@ -11501,11 +11501,11 @@
11501
11501
  :host::part(upload-file-button) {
11502
11502
  margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
11503
11503
  }
11504
- `,cc=c.html`
11504
+ `,mc=c.html`
11505
11505
  ${(0,P.getPrefixedFileUpload)("rapid")}
11506
- `,pc=P.defaultFileUploadConfig,uc=P.foundationFileUploadShadowOptions;class hc extends P.FileUpload{}const mc=hc.compose(Object.assign({baseName:"file-upload",shadowOptions:uc,styles:dc,template:cc},pc)),bc=c.html`
11506
+ `,bc=P.defaultFileUploadConfig,vc=P.foundationFileUploadShadowOptions;class fc extends P.FileUpload{}const wc=fc.compose(Object.assign({baseName:"file-upload",shadowOptions:vc,styles:hc,template:mc},bc)),yc=c.html`
11507
11507
  ${(0,P.getPrefixedFilterTemplate)("rapid")}
11508
- `;class vc extends P.Filter{}const fc=vc.compose({baseName:"filter",template:bc,styles:(e,a)=>c.css`
11508
+ `;class xc extends P.Filter{}const kc=xc.compose({baseName:"filter",template:yc,styles:(e,a)=>c.css`
11509
11509
  ${P.foundationFilterStyles}
11510
11510
  .filter-wrapper {
11511
11511
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11532,9 +11532,9 @@
11532
11532
  .flex-row rapid-select {
11533
11533
  flex: 1;
11534
11534
  }
11535
- `}),wc=c.html`
11535
+ `}),zc=c.html`
11536
11536
  ${(0,P.filterBarTemplate)("rapid")}
11537
- `;class yc extends P.FilterBar{}const xc=yc.compose({baseName:"filter-bar",template:wc,styles:(e,a)=>c.css`
11537
+ `;class Sc extends P.FilterBar{}const Cc=Sc.compose({baseName:"filter-bar",template:zc,styles:(e,a)=>c.css`
11538
11538
  ${(0,P.foundationFilterBarStyles)(e,a)}
11539
11539
  .toggle,
11540
11540
  .toggle-collapsed {
@@ -11554,7 +11554,7 @@
11554
11554
  .filter-bar {
11555
11555
  background: var(--neutral-layer-3);
11556
11556
  }
11557
- `}),{defaultConfig:kc,shadowOptions:zc,styles:Sc,template:Cc}=Rd(P.foundationFlexLayout);class $c extends P.Flipper{}const Ac=$c.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,P.foundationFlipperTemplate)(e,a),styles:(e,a)=>c.css`
11557
+ `}),{defaultConfig:$c,shadowOptions:Ac,styles:Fc,template:Tc}=Id(P.foundationFlexLayout);class Oc extends P.Flipper{}const Dc=Oc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,P.foundationFlipperTemplate)(e,a),styles:(e,a)=>c.css`
11558
11558
  ${(0,P.foundationFlipperStyles)(e,a)}
11559
11559
  :host {
11560
11560
  color: var(--neutral-foreground-rest);
@@ -11574,7 +11574,7 @@
11574
11574
  background: var(--accent-fill-rest);
11575
11575
  color: var(--neutral-foreground-rest);
11576
11576
  }
11577
- `,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),Fc=c.css`
11577
+ `,shadowOptions:P.foundationFlipperShadowOptions},P.defaultFlipperConfig)),Rc=c.css`
11578
11578
  ${P.foundationFlyoutStyles}
11579
11579
  div.flyout {
11580
11580
  background-color: var(--neutral-layer-2);
@@ -11622,9 +11622,9 @@
11622
11622
  background-color: var(--neutral-fill-hover);
11623
11623
  border-radius: calc(var(--stroke-width) * 3px);
11624
11624
  }
11625
- `,Tc=c.html`
11625
+ `,Nc=c.html`
11626
11626
  ${(0,P.getPrefixedFlyout)("rapid")}
11627
- `,Oc=P.defaultFlyoutConfig,Dc=P.foundationFlyoutShadowOptions;class Rc extends P.Flyout{}const Nc=Rc.compose(Object.assign({baseName:"flyout",shadowOptions:Dc,styles:Fc,template:Tc},Oc)),{defaultConfig:Lc,shadowOptions:Mc,styles:Ic,template:jc}=Rd(P.foundationGridLayout),{defaultConfig:Ec,shadowOptions:Pc,styles:Bc,template:Gc}=Rd(P.foundationGridLayoutItem);class Uc extends P.HorizontalScroll{}const Hc={nextFlipper:c.html`
11627
+ `,Lc=P.defaultFlyoutConfig,Mc=P.foundationFlyoutShadowOptions;class Ic extends P.Flyout{}const jc=Ic.compose(Object.assign({baseName:"flyout",shadowOptions:Mc,styles:Rc,template:Nc},Lc)),{defaultConfig:Ec,shadowOptions:Pc,styles:Bc,template:Gc}=Id(P.foundationGridLayout),{defaultConfig:Uc,shadowOptions:_c,styles:Hc,template:Vc}=Id(P.foundationGridLayoutItem);class Yc extends P.HorizontalScroll{}const Qc={nextFlipper:c.html`
11628
11628
  <rapid-flipper
11629
11629
  @click="${e=>e.scrollToNext()}"
11630
11630
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -11635,11 +11635,11 @@
11635
11635
  direction="previous"
11636
11636
  aria-hidden="${e=>e.flippersHiddenFromAT}"
11637
11637
  ></rapid-flipper>
11638
- `},_c=Uc.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,P.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>c.css`
11638
+ `},Wc=Yc.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,P.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>c.css`
11639
11639
  ${(0,P.foundationHorizontalScrollStyles)(e,a)}
11640
- `,shadowOptions:P.foundationHorizontalScrollShadowOptions},Hc));class Vc extends P.Icon{}const Yc=P.defaultIconConfig,Qc=P.foundationIconShadowOptions,Wc=Vc.compose(Object.assign({baseName:"icon",template:P.foundationIconTemplate,styles:(e,a)=>c.css`
11640
+ `,shadowOptions:P.foundationHorizontalScrollShadowOptions},Qc));class qc extends P.Icon{}const Jc=P.defaultIconConfig,Zc=P.foundationIconShadowOptions,Kc=qc.compose(Object.assign({baseName:"icon",template:P.foundationIconTemplate,styles:(e,a)=>c.css`
11641
11641
  ${(0,P.foundationIconStyles)(e,a)}
11642
- `,shadowOptions:Qc},Yc));class qc extends P.Listbox{}const Jc=qc.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
11642
+ `,shadowOptions:Zc},Jc));class Xc extends P.Listbox{}const ep=Xc.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,P.foundationListboxTemplate)(e,a),styles:(e,a)=>c.css`
11643
11643
  ${(0,P.foundationListboxStyles)(e,a)}
11644
11644
 
11645
11645
  :host {
@@ -11650,7 +11650,7 @@
11650
11650
  ::slotted(*:last-child) {
11651
11651
  border-bottom: none;
11652
11652
  }
11653
- `,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class Zc extends P.ListboxOption{}const Kc=Zc.compose(Object.assign({baseName:"option",template:(e,a)=>(0,P.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>c.css`
11653
+ `,shadowOptions:P.foundationListboxShadowOptions},P.defaultListboxConfig));class ap extends P.ListboxOption{}const rp=ap.compose(Object.assign({baseName:"option",template:(e,a)=>(0,P.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>c.css`
11654
11654
  ${(0,P.foundationListboxOptionStyles)(e,a)}
11655
11655
  :host {
11656
11656
  border-radius: 0;
@@ -11667,14 +11667,14 @@
11667
11667
  background: var(--neutral-layer-4);
11668
11668
  color: var(--accent-fill-rest);
11669
11669
  }
11670
- `,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class Xc extends P.Menu{}const ep=Xc.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,P.foundationMenuTemplate)(e,a),styles:(e,a)=>c.css`
11670
+ `,shadowOptions:P.foundationListboxOptionShadowOptions},P.defaultListboxOptionConfig));class tp extends P.Menu{}const op=tp.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,P.foundationMenuTemplate)(e,a),styles:(e,a)=>c.css`
11671
11671
  ${(0,P.foundationMenuStyles)(e,a)}
11672
11672
  :host {
11673
11673
  border: calc(var(--focus-stroke-width) * 1px) solid
11674
11674
  color-mix(in srgb, ${u.neutralFillStealthHover}, transparent 15%);
11675
11675
  padding: 0;
11676
11676
  }
11677
- `,shadowOptions:P.foundationMenuShadowOptions},P.defaultMenuConfig)),ap=P.foundationMenuItemShadowOptions;class rp extends P.MenuItem{}const tp=rp.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,P.foundationMenuItemTemplate)(e,a),styles:(e,a)=>c.css`
11677
+ `,shadowOptions:P.foundationMenuShadowOptions},P.defaultMenuConfig)),ip=P.foundationMenuItemShadowOptions;class np extends P.MenuItem{}const lp=np.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,P.foundationMenuItemTemplate)(e,a),styles:(e,a)=>c.css`
11678
11678
  ${(0,P.foundationMenuItemStyles)(e,a)}
11679
11679
  :host {
11680
11680
  margin: 0;
@@ -11710,9 +11710,9 @@
11710
11710
  background: ${u.neutralFillStealthHover}
11711
11711
  color: ${u.neutralForegroundRest}
11712
11712
  */
11713
- `,shadowOptions:ap},P.defaultMenuItemConfig)),op=c.css`
11714
- ${Wd}
11715
- `,ip=P.defaultModalConfig,np=P.foundationModalTemplate,lp=P.foundationModalShadowOptions;class gp extends P.Modal{}const sp=gp.compose(Object.assign({baseName:"modal",shadowOptions:lp,styles:op,template:np},ip)),dp=c.css`
11713
+ `,shadowOptions:ip},P.defaultMenuItemConfig)),gp=c.css`
11714
+ ${Kd}
11715
+ `,sp=P.defaultModalConfig,dp=P.foundationModalTemplate,cp=P.foundationModalShadowOptions;class pp extends P.Modal{}const up=pp.compose(Object.assign({baseName:"modal",shadowOptions:cp,styles:gp,template:dp},sp)),hp=c.css`
11716
11716
  ${P.multiselectStyles}
11717
11717
 
11718
11718
  #display-field {
@@ -11788,9 +11788,9 @@
11788
11788
  rapid-checkbox[disabled] {
11789
11789
  cursor: not-allowed;
11790
11790
  }
11791
- `,cp=c.html`
11791
+ `,mp=c.html`
11792
11792
  ${(0,P.getPrefixedMultiselect)("rapid")}
11793
- `;class pp extends P.Multiselect{}const up=P.defaultMultiselectConfig,hp=P.foundationMultiselectShadowOptions,mp=pp.compose(Object.assign({baseName:"multiselect",template:cp,styles:dp,shadowOptions:hp},up));class bp extends P.NumberField{}const vp=P.defaultNumberFieldConfig,fp=P.foundationNumberFieldTemplate,wp=P.foundationNumberFieldShadowOptions,yp=bp.compose(Object.assign({baseName:"number-field",template:fp,styles:(e,a)=>c.css`
11793
+ `;class bp extends P.Multiselect{}const vp=P.defaultMultiselectConfig,fp=P.foundationMultiselectShadowOptions,wp=bp.compose(Object.assign({baseName:"multiselect",template:mp,styles:hp,shadowOptions:fp},vp));class yp extends P.NumberField{}const xp=P.defaultNumberFieldConfig,kp=P.foundationNumberFieldTemplate,zp=P.foundationNumberFieldShadowOptions,Sp=yp.compose(Object.assign({baseName:"number-field",template:kp,styles:(e,a)=>c.css`
11794
11794
  :host {
11795
11795
  margin-bottom: calc(var(--design-unit) * 2px);
11796
11796
  }
@@ -11875,11 +11875,11 @@
11875
11875
  .control:focus-visible {
11876
11876
  outline: none;
11877
11877
  }
11878
- `,shadowOptions:wp},vp));class xp extends P.Progress{}const kp=xp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,P.foundationProgressTemplate)(e,a),styles:(e,a)=>c.css`
11878
+ `,shadowOptions:zp},xp));class Cp extends P.Progress{}const $p=Cp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,P.foundationProgressTemplate)(e,a),styles:(e,a)=>c.css`
11879
11879
  ${(0,P.foundationProgressStyles)(e,a)}
11880
- `,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class zp extends P.ProgressRing{}const Sp=zp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,P.foundationProgressRingTemplate)(e,a),styles:(e,a)=>c.css`
11880
+ `,shadowOptions:P.foundationProgressShadowOptions},P.defaultProgressConfig));class Ap extends P.ProgressRing{}const Fp=Ap.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,P.foundationProgressRingTemplate)(e,a),styles:(e,a)=>c.css`
11881
11881
  ${(0,P.foundationProgressRingStyles)(e,a)}
11882
- `,shadowOptions:P.foundationProgressRingShadowOptions},P.defaultProgressRingConfig));class Cp extends P.Radio{}const $p=Cp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,P.foundationRadioTemplate)(e,a),styles:(e,a)=>c.css`
11882
+ `,shadowOptions:P.foundationProgressRingShadowOptions},P.defaultProgressRingConfig));class Tp extends P.Radio{}const Op=Tp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,P.foundationRadioTemplate)(e,a),styles:(e,a)=>c.css`
11883
11883
  ${(0,P.foundationRadioStyles)(e,a)}
11884
11884
  :host {
11885
11885
  margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
@@ -11911,13 +11911,13 @@
11911
11911
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11912
11912
  background: var(--accent-fill-rest);
11913
11913
  }
11914
- `,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class Ap extends P.RadioGroup{}const Fp=Ap.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,P.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>c.css`
11914
+ `,shadowOptions:P.foundationRadioShadowOptions},P.defaultRadioConfig));class Dp extends P.RadioGroup{}const Rp=Dp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,P.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>c.css`
11915
11915
  ${(0,P.foundationRadioGroupStyles)(e,a)}
11916
- `,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig)),Tp=c.css`
11916
+ `,shadowOptions:P.foundationRadioGroupShadowOptions},P.defaultRadioGroupConfig)),Np=c.css`
11917
11917
  ${P.foundationSearchBarStyles}
11918
- `,Op=c.html`
11918
+ `,Lp=c.html`
11919
11919
  ${(0,P.getPrefixedSearchBar)("rapid")}
11920
- `;class Dp extends P.SearchBar{}const Rp=Dp.compose(Object.assign({baseName:"search-bar",template:Op,styles:Tp,shadowOptions:P.foundationSearchBarShadowOptions},P.defaultSearchBarConfig));class Np extends P.SearchBarCombobox{}const Lp=Np.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,P.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>c.css`
11920
+ `;class Mp extends P.SearchBar{}const Ip=Mp.compose(Object.assign({baseName:"search-bar",template:Lp,styles:Np,shadowOptions:P.foundationSearchBarShadowOptions},P.defaultSearchBarConfig));class jp extends P.SearchBarCombobox{}const Ep=jp.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,P.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>c.css`
11921
11921
  ${(0,P.foundationSearchBarComboboxStyles)(e,a)}
11922
11922
 
11923
11923
  :host {
@@ -11948,7 +11948,7 @@
11948
11948
  :host .listbox ::slotted(*:last-child) {
11949
11949
  border-bottom: none;
11950
11950
  }
11951
- `,shadowOptions:P.foundationSearchBarComboboxShadowOptions},P.defaultSearchBarComboboxConfig));class Mp extends P.SegmentedControl{}const Ip=Mp.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,P.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>c.css`
11951
+ `,shadowOptions:P.foundationSearchBarComboboxShadowOptions},P.defaultSearchBarComboboxConfig));class Pp extends P.SegmentedControl{}const Bp=Pp.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,P.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>c.css`
11952
11952
  ${(0,P.foundationSegmentedControlStyles)(e,a)}
11953
11953
  :host {
11954
11954
  font-family: var(--body-font);
@@ -11984,7 +11984,7 @@
11984
11984
  border-color: transparent;
11985
11985
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
11986
11986
  }
11987
- `,shadowOptions:undefined},{}));class jp extends P.Radio{}const Ep=jp.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,P.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>c.css`
11987
+ `,shadowOptions:undefined},{}));class Gp extends P.Radio{}const Up=Gp.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,P.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>c.css`
11988
11988
  ${(0,P.foundationSegmentedItemStyles)(e,a)}
11989
11989
  :host {
11990
11990
  color: var(--neutral-fill-strong-rest);
@@ -11996,7 +11996,7 @@
11996
11996
  :host([aria-checked='true']) {
11997
11997
  color: color-mix(in srgb, white, transparent 10%);
11998
11998
  }
11999
- `,shadowOptions:undefined},{}));class Pp extends P.Select{}const Bp=Pp.compose(Object.assign({baseName:"select",template:(e,a)=>(0,P.foundationSelectTemplate)(e,a),styles:(e,a)=>c.css`
11999
+ `,shadowOptions:undefined},{}));class _p extends P.Select{}const Hp=_p.compose(Object.assign({baseName:"select",template:(e,a)=>(0,P.foundationSelectTemplate)(e,a),styles:(e,a)=>c.css`
12000
12000
  ${(0,P.foundationSelectStyles)(e,a)}
12001
12001
  :host {
12002
12002
  border-radius: calc(var(--control-corner-radius) * 1px);
@@ -12068,14 +12068,14 @@
12068
12068
  ::slotted([role='option']) {
12069
12069
  margin: 0;
12070
12070
  }
12071
- `,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class Gp extends P.Skeleton{}const Up=Gp.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,P.foundationSkeletonTemplate)(e,a),styles:(e,a)=>c.css`
12071
+ `,shadowOptions:P.foundationSelectShadowOptions},P.defaultSelectConfig));class Vp extends P.Skeleton{}const Yp=Vp.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,P.foundationSkeletonTemplate)(e,a),styles:(e,a)=>c.css`
12072
12072
  ${(0,P.foundationSkeletonStyles)(e,a)}
12073
12073
  :host {
12074
12074
  --skeleton-fill: var(
12075
12075
  --neutral-fill-stealth-rest
12076
12076
  ); /** value in ux doc rgba(242 242 242 / 0.1) */
12077
12077
  }
12078
- `,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class Hp extends P.Slider{}const _p=Hp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
12078
+ `,shadowOptions:P.foundationSkeletonShadowOptions},P.defaultSkeletonConfig));class Qp extends P.Slider{}const Wp=Qp.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,P.foundationSliderTemplate)(e,a),styles:(e,a)=>c.css`
12079
12079
  ${(0,P.foundationSliderStyles)(e,a)}
12080
12080
 
12081
12081
  .thumb-cursor {
@@ -12133,7 +12133,7 @@
12133
12133
  background-color: var(--neutral-stroke-rest);
12134
12134
  width: calc((var(--track-width) + 2) * 1px) !important;
12135
12135
  }
12136
- `,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class Vp extends P.SliderLabel{}const Yp=Vp.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
12136
+ `,shadowOptions:P.foundationSliderShadowOptions},P.defaultSliderConfig));class qp extends P.SliderLabel{}const Jp=qp.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,P.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>c.css`
12137
12137
  ${(0,P.foundationSliderLabelStyles)(e,a)}
12138
12138
  .label {
12139
12139
  padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
@@ -12144,7 +12144,7 @@
12144
12144
  text-align: center;
12145
12145
  font-size: var(--type-ramp-minus-1-font-size, 12px);
12146
12146
  }
12147
- `,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),Qp=c.css`
12147
+ `,shadowOptions:P.foundationSliderLabelShadowOptions},P.defaultSliderLabelConfig)),Zp=c.css`
12148
12148
  ${P.foundationSnackbarStyles}
12149
12149
  .snackbar {
12150
12150
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
@@ -12165,9 +12165,9 @@
12165
12165
  .action {
12166
12166
  gap: calc(var(--design-unit) * 2px);
12167
12167
  }
12168
- `,Wp=c.html`
12168
+ `,Kp=c.html`
12169
12169
  ${(0,P.getPrefixedSnackbar)("rapid")}
12170
- `,qp=P.foundationSnackbarShadowOptions;class Jp extends P.Snackbar{}const Zp=Jp.compose({baseName:"snackbar",shadowOptions:qp,styles:Qp,template:Wp}),Kp=c.css`
12170
+ `,Xp=P.foundationSnackbarShadowOptions;class eu extends P.Snackbar{}const au=eu.compose({baseName:"snackbar",shadowOptions:Xp,styles:Zp,template:Kp}),ru=c.css`
12171
12171
  ${P.foundationStepperStyles}
12172
12172
 
12173
12173
  :host {
@@ -12214,11 +12214,11 @@
12214
12214
  padding: 0 calc(var(--design-unit) * 2px);
12215
12215
  color: var(--neutral-foreground-hint);
12216
12216
  }
12217
- `,Xp=c.html`
12217
+ `,tu=c.html`
12218
12218
  ${(0,P.getPrefixedStepper)("rapid")}
12219
- `;class eu extends P.Stepper{}const au=eu.compose(Object.assign({baseName:"stepper",template:Xp,styles:Kp,shadowOptions:P.foundationStepperShadowOptions},P.defaultStepperConfig)),ru=c.html`
12219
+ `;class ou extends P.Stepper{}const iu=ou.compose(Object.assign({baseName:"stepper",template:tu,styles:ru,shadowOptions:P.foundationStepperShadowOptions},P.defaultStepperConfig)),nu=c.html`
12220
12220
  ${(0,P.getPrefixedStepperTab)("rapid")}
12221
- `;class tu extends P.StepperTab{}const ou=tu.compose(Object.assign({baseName:"stepper-tab",template:ru,styles:(e,a)=>c.css`
12221
+ `;class lu extends P.StepperTab{}const gu=lu.compose(Object.assign({baseName:"stepper-tab",template:nu,styles:(e,a)=>c.css`
12222
12222
  ${(0,P.foundationStepperTabStyles)(e,a)}
12223
12223
 
12224
12224
  rapid-tree-item {
@@ -12278,7 +12278,7 @@
12278
12278
  :host([error]) .step-title {
12279
12279
  color: var(--error-color);
12280
12280
  }
12281
- `,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class iu extends P.StepperTabPanel{}const nu=iu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig)),lu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class gu extends P.Switch{}const su=gu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
12281
+ `,shadowOptions:P.foundationStepperTabShadowOptions},P.defaultStepperTabConfig));class su extends P.StepperTabPanel{}const du=su.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,P.foundationStepperTabPanelTemplate)(e,a),shadowOptions:P.foundationStepperTabPanelShadowOptions},P.defaultStepperTabPanelConfig)),cu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class pu extends P.Switch{}const uu=pu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,P.foundationSwitchTemplate)(e,a),styles:(e,a)=>c.css`
12282
12282
  ${(0,P.foundationSwitchStyles)(e,a)}
12283
12283
  :host {
12284
12284
  --primary-gradient-angle: -113.5deg;
@@ -12315,7 +12315,7 @@
12315
12315
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
12316
12316
  background: var(--accent-fill-rest);
12317
12317
  }
12318
- `,shadowOptions:P.foundationSwitchShadowOptions},lu));class du extends P.Tab{}const cu=du.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
12318
+ `,shadowOptions:P.foundationSwitchShadowOptions},cu));class hu extends P.Tab{}const mu=hu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,P.foundationTabTemplate)(e,a),styles:(e,a)=>c.css`
12319
12319
  ${(0,P.foundationTabStyles)(e,a)}
12320
12320
  :host {
12321
12321
  background-color: ${u.neutralLayer2};
@@ -12328,12 +12328,12 @@
12328
12328
  :host([aria-selected='true']:hover) {
12329
12329
  background-color: ${u.neutralLayer4};
12330
12330
  }
12331
- `,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class pu extends P.TabPanel{}const uu=pu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
12331
+ `,shadowOptions:P.foundationTabShadowOptions},P.defaultTabConfig));class bu extends P.TabPanel{}const vu=bu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,P.foundationTabPanelTemplate)(e,a),styles:(e,a)=>c.css`
12332
12332
  ${(0,P.foundationTabPanelStyles)(e,a)}
12333
12333
  :host {
12334
12334
  padding: 0;
12335
12335
  }
12336
- `,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class hu extends P.Tabs{}const mu=hu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,P.foundationTabsTemplate)(e,a),styles:(e,a)=>c.css`
12336
+ `,shadowOptions:P.foundationTabPanelShadowOptions},P.defaultTabPanelConfig));class fu extends P.Tabs{}const wu=fu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,P.foundationTabsTemplate)(e,a),styles:(e,a)=>c.css`
12337
12337
  ${(0,P.foundationTabsStyles)(e,a)}
12338
12338
  :host {
12339
12339
  --base-height-multiplier: 9;
@@ -12408,7 +12408,7 @@
12408
12408
  :host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
12409
12409
  padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
12410
12410
  }
12411
- `,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class bu extends P.TextArea{}const vu=bu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,P.foundationTextAreaTemplate)(e,a),styles:(e,a)=>c.css`
12411
+ `,shadowOptions:P.foundationTabsShadowOptions},P.defaultTabsConfig));class yu extends P.TextArea{}const xu=yu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,P.foundationTextAreaTemplate)(e,a),styles:(e,a)=>c.css`
12412
12412
  ${(0,P.foundationTextAreaStyles)(e,a)}
12413
12413
 
12414
12414
  :host .control {
@@ -12434,7 +12434,7 @@
12434
12434
  font-weight: 700;
12435
12435
  margin: calc(var(--design-unit) * 2px) 0;
12436
12436
  }
12437
- `,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class fu extends P.TextField{}const wu=fu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,P.foundationTextFieldTemplate)(e,a),styles:(e,a)=>c.css`
12437
+ `,shadowOptions:P.foundationTextAreaShadowOptions},P.defaultTextAreaConfig));class ku extends P.TextField{}const zu=ku.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,P.foundationTextFieldTemplate)(e,a),styles:(e,a)=>c.css`
12438
12438
  ${(0,P.foundationTextFieldStyles)(e,a)}
12439
12439
 
12440
12440
  :host {
@@ -12471,7 +12471,7 @@
12471
12471
  font-weight: 700;
12472
12472
  margin: calc(var(--design-unit) * 2px) 0;
12473
12473
  }
12474
- `,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),yu=c.css`
12474
+ `,shadowOptions:P.foundationTextFieldShadowOptions},P.defaultTextFieldConfig)),Su=c.css`
12475
12475
  ${P.foundationToastStyles}
12476
12476
  .toast {
12477
12477
  background-color: ${u.neutralLayer1};
@@ -12526,7 +12526,7 @@
12526
12526
  :host([notify='serious']) .toast::after {
12527
12527
  background-color: var(--error-color);
12528
12528
  }
12529
- `,xu=P.defaultToastConfig,ku=P.foundationToastShadowOptions;class zu extends P.Toast{}const Su=zu.compose(Object.assign({baseName:"toast",shadowOptions:ku,styles:yu,template:P.foundationToastTemplate},xu));class Cu extends P.Toolbar{}const $u=Cu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,P.foundationToolbarTemplate)(e,a),styles:(e,a)=>c.css`
12529
+ `,Cu=P.defaultToastConfig,$u=P.foundationToastShadowOptions;class Au extends P.Toast{}const Fu=Au.compose(Object.assign({baseName:"toast",shadowOptions:$u,styles:Su,template:P.foundationToastTemplate},Cu));class Tu extends P.Toolbar{}const Ou=Tu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,P.foundationToolbarTemplate)(e,a),styles:(e,a)=>c.css`
12530
12530
  ${(0,P.foundationToolbarStyles)(e,a)}
12531
12531
  :host {
12532
12532
  align-items: center;
@@ -12536,7 +12536,7 @@
12536
12536
  .positioning-region {
12537
12537
  align-items: center;
12538
12538
  }
12539
- `,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class Au extends P.Tooltip{}const Fu=Au.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,P.foundationTooltipTemplate)(e,a),styles:(e,a)=>c.css`
12539
+ `,shadowOptions:P.foundationToolbarShadowOptions},P.defaultToolbarConfig));class Du extends P.Tooltip{}const Ru=Du.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,P.foundationTooltipTemplate)(e,a),styles:(e,a)=>c.css`
12540
12540
  ${(0,P.foundationTooltipStyles)(e,a)}
12541
12541
 
12542
12542
  :host {
@@ -12559,7 +12559,7 @@
12559
12559
  alpha-anchored-region.bottom.right .tooltip {
12560
12560
  margin-left: 0;
12561
12561
  }
12562
- `,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class Tu extends P.TreeItem{}const Ou={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>'},Du=Tu.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,P.foundationTreeItemTemplate)(e,a),styles:(e,a)=>c.css`
12562
+ `,shadowOptions:P.foundationTooltipShadowOptions},P.defaultTooltipConfig));class Nu extends P.TreeItem{}const Lu={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>'},Mu=Nu.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,P.foundationTreeItemTemplate)(e,a),styles:(e,a)=>c.css`
12563
12563
  ${(0,P.foundationTreeItemStyles)(e,a)}
12564
12564
  :host {
12565
12565
  font-size: var(--type-ramp-base-font-size);
@@ -12598,11 +12598,11 @@
12598
12598
  width: calc(var(--design-unit) * 3px);
12599
12599
  height: calc(var(--design-unit) * 3px);
12600
12600
  }
12601
- `,shadowOptions:P.foundationTreeItemShadowOptions},Ou));class Ru extends P.TreeView{}const Nu=Ru.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,P.foundationTreeViewTemplate)(e,a),styles:(e,a)=>c.css`
12601
+ `,shadowOptions:P.foundationTreeItemShadowOptions},Lu));class Iu extends P.TreeView{}const ju=Iu.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,P.foundationTreeViewTemplate)(e,a),styles:(e,a)=>c.css`
12602
12602
  ${(0,P.foundationTreeViewStyles)(e,a)}
12603
- `,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),Lu=c.html`
12603
+ `,shadowOptions:P.foundationTreeViewShadowOptions},P.defaultTreeViewConfig)),Eu=c.html`
12604
12604
  ${(0,P.getPrefixedUrlInput)("rapid")}
12605
- `;class Mu extends P.UrlInput{}const Iu={designSystemProvider:_s,rapidAccordion:Ys,rapidAccordionItem:Ws,rapidActionsMenu:Js,rapidAnchor:od,rapidAnchoredRegion:nd,rapidAvatar:gd,rapidBadge:dd,rapidBanner:hd,rapidBreadcrumb:bd,rapidBreadcrumbItem:fd,rapidButton:yd,rapidCalendar:kd,rapidCard:Sd,rapidCheckbox:$d,rapidCombobox:Fd,rapidConnectionIndicator:Od,rapidDataGrid:()=>(0,P.foundationDataGrid)(),rapidDataGridCell:()=>(0,P.foundationDataGridCell)(),rapidDataGridRow:()=>(0,P.foundationDataGridRow)(),rapidDatePicker:Qd,rapidDialog:Xd,rapidDisclosure:ac,rapidDivider:tc,rapidDropdownMenu:ic,rapidErrorBoundary:()=>(0,P.foundationErrorBoundary)(),rapidFileUpload:mc,rapidFilter:fc,rapidFilterBar:xc,rapidFlexLayout:()=>(0,P.foundationFlexLayout)(),rapidFlipper:Ac,rapidFlyout:Nc,rapidGridLayout:()=>(0,P.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,P.foundationGridLayoutItem)(),rapidHorizontalScroll:_c,rapidIcon:Wc,rapidListbox:Jc,rapidListboxOption:Kc,rapidMenu:ep,rapidMenuItem:tp,rapidModal:sp,rapidMultiselect:mp,rapidNumberField:yp,rapidProgress:kp,rapidProgressRing:Sp,rapidRadio:$p,rapidRadioGroup:Fp,rapidSearchBar:Rp,rapidSearchBarCombobox:Lp,rapidSegmentedControl:Ip,rapidSegmentedItem:Ep,rapidSelect:Bp,rapidSkeleton:Up,rapidSlider:_p,rapidSliderLabel:Yp,rapidSnackbar:Zp,rapidStepper:au,rapidStepperTab:ou,rapidStepperTabPanel:nu,rapidSwitch:su,rapidTab:cu,rapidTabPanel:uu,rapidTabs:mu,rapidTextArea:vu,rapidTextField:wu,rapidToast:Su,rapidToolbar:$u,rapidTooltip:Fu,rapidTreeItem:Du,rapidTreeView:Nu,rapidUrlInput:Mu.compose(Object.assign({baseName:"url-input",template:Lu,styles:(e,a)=>c.css`
12605
+ `;class Pu extends P.UrlInput{}const Bu={designSystemProvider:Ws,rapidAccordion:Js,rapidAccordionItem:Ks,rapidActionsMenu:ed,rapidAnchor:gd,rapidAnchoredRegion:dd,rapidAvatar:pd,rapidBadge:hd,rapidBanner:fd,rapidBreadcrumb:yd,rapidBreadcrumbItem:kd,rapidButton:Sd,rapidCalendar:$d,rapidCard:Fd,rapidCheckbox:Od,rapidCombobox:Rd,rapidConnectionIndicator:Ld,rapidDataGrid:()=>(0,P.foundationDataGrid)(),rapidDataGridCell:()=>(0,P.foundationDataGridCell)(),rapidDataGridRow:()=>(0,P.foundationDataGridRow)(),rapidDatePicker:Zd,rapidDialog:tc,rapidDisclosure:ic,rapidDivider:lc,rapidDropdownMenu:sc,rapidErrorBoundary:()=>(0,P.foundationErrorBoundary)(),rapidFileUpload:wc,rapidFilter:kc,rapidFilterBar:Cc,rapidFlexLayout:()=>(0,P.foundationFlexLayout)(),rapidFlipper:Dc,rapidFlyout:jc,rapidGridLayout:()=>(0,P.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,P.foundationGridLayoutItem)(),rapidHorizontalScroll:Wc,rapidIcon:Kc,rapidListbox:ep,rapidListboxOption:rp,rapidMenu:op,rapidMenuItem:lp,rapidModal:up,rapidMultiselect:wp,rapidNumberField:Sp,rapidProgress:$p,rapidProgressRing:Fp,rapidRadio:Op,rapidRadioGroup:Rp,rapidSearchBar:Ip,rapidSearchBarCombobox:Ep,rapidSegmentedControl:Bp,rapidSegmentedItem:Up,rapidSelect:Hp,rapidSkeleton:Yp,rapidSlider:Wp,rapidSliderLabel:Jp,rapidSnackbar:au,rapidStepper:iu,rapidStepperTab:gu,rapidStepperTabPanel:du,rapidSwitch:uu,rapidTab:mu,rapidTabPanel:vu,rapidTabs:wu,rapidTextArea:xu,rapidTextField:zu,rapidToast:Fu,rapidToolbar:Ou,rapidTooltip:Ru,rapidTreeItem:Mu,rapidTreeView:ju,rapidUrlInput:Pu.compose(Object.assign({baseName:"url-input",template:Eu,styles:(e,a)=>c.css`
12606
12606
  ${(0,P.foundationUrlInputStyles)(e,a)}
12607
12607
  a {
12608
12608
  color: var(--accent-fill-rest);
@@ -12618,7 +12618,7 @@
12618
12618
  font-size: var(--type-ramp-base-font-size);
12619
12619
  top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
12620
12620
  }
12621
- `,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class ju extends Ni{}const Eu=ju.compose({baseName:"date-editor",styles:Li,template:Mi("rapid")});class Pu extends Pi{}const Bu=Pu.compose({baseName:"multiselect-editor",styles:Bi,template:Gi("rapid")});class Gu extends Vi{}const Uu=Gu.compose({baseName:"select-editor",styles:Yi,template:Qi("rapid")});class Hu extends Zi{}const _u=Hu.compose({baseName:"number-editor",styles:Ki,template:Xi("rapid")});class Vu extends tn{}const Yu=Vu.compose({baseName:"string-editor",styles:on,template:nn("rapid")});class Qu extends dn{}const Wu=Qu.compose({baseName:"editable-renderer",styles:cn,template:pn("rapid")});class qu extends fn{}const Ju=qu.compose({baseName:"grid-pro-action-renderer",styles:c.css`
12621
+ `,shadowOptions:P.foundationUrlInputShadowOptions},P.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Gu extends Ni{}const Uu=Gu.compose({baseName:"date-editor",styles:Li,template:Mi("rapid")});class _u extends Pi{}const Hu=_u.compose({baseName:"multiselect-editor",styles:Bi,template:Gi("rapid")});class Vu extends Vi{}const Yu=Vu.compose({baseName:"select-editor",styles:Yi,template:Qi("rapid")});class Qu extends Zi{}const Wu=Qu.compose({baseName:"number-editor",styles:Ki,template:Xi("rapid")});class qu extends tn{}const Ju=qu.compose({baseName:"string-editor",styles:on,template:nn("rapid")});class Zu extends dn{}const Ku=Zu.compose({baseName:"editable-renderer",styles:cn,template:pn("rapid")});class Xu extends fn{}const eh=Xu.compose({baseName:"grid-pro-action-renderer",styles:c.css`
12622
12622
  ${yn}
12623
12623
  `,template:c.html`
12624
12624
  <div class="action-container" part="action-container">
@@ -12636,12 +12636,12 @@
12636
12636
  `:e.params.actionName}
12637
12637
  </rapid-button>
12638
12638
  </div>
12639
- `});class Zu extends Sn{}const Ku=Zu.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
12639
+ `});class ah extends Sn{}const rh=ah.compose({baseName:"grid-pro-actions-menu-renderer",template:c.html`
12640
12640
  <rapid-actions-menu
12641
12641
  name="${e=>e.params.headerName}"
12642
12642
  :definition=${e=>e.params}
12643
12643
  ></rapid-actions-menu>
12644
- `});class Xu extends Fn{}const eh=Xu.compose({baseName:"boolean-renderer",styles:Tn,template:On("rapid")});const ah=class extends Bn{}.compose({baseName:"grid-text-renderer",styles:Gn,template:Un("rapid")});const rh=class extends Vn{}.compose({baseName:"select-renderer",styles:Yn,template:Qn("rapid")}),th={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},oh={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:ih}=p.DesignToken,nh={backgroundColor:ih("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?oh.backgroundSwatch:th.backgroundSwatch)),borderColor:ih("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?oh.borderSwatch:th.borderSwatch)),foregroundColor:ih("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?oh.foregroundSwatch:th.foregroundSwatch)),headerForegroundColor:ih("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?oh.headerForegroundSwatch:th.headerForegroundSwatch)),rowHoverColor:ih("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?oh.rowHoverSwatch:th.rowHoverSwatch))},lh=c.css`
12644
+ `});class th extends Fn{}const oh=th.compose({baseName:"boolean-renderer",styles:Tn,template:On("rapid")});const ih=class extends Bn{}.compose({baseName:"grid-text-renderer",styles:Gn,template:Un("rapid")});const nh=class extends Vn{}.compose({baseName:"select-renderer",styles:Yn,template:Qn("rapid")}),lh={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#879ba6")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#1f2126")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2e3339")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2b2e34"))},gh={foregroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#000000")),headerForegroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#181d1f")),backgroundSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#FFFFFF")),borderSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#babfc7")),rowHoverSwatch:u.SwatchRGB.from((0,fe.parseColorHexRGB)("#2196f3"))},{create:sh}=p.DesignToken,dh={backgroundColor:sh("rapid-ag-background-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?gh.backgroundSwatch:lh.backgroundSwatch)),borderColor:sh("rapid-ag-border-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?gh.borderSwatch:lh.borderSwatch)),foregroundColor:sh("rapid-ag-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?gh.foregroundSwatch:lh.foregroundSwatch)),headerForegroundColor:sh("rapid-ag-header-foreground-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?gh.headerForegroundSwatch:lh.headerForegroundSwatch)),rowHoverColor:sh("rapid-ag-row-hover-color").withDefault((e=>u.baseLayerLuminance.getValueFor(e)===u.StandardLuminance.LightMode?gh.rowHoverSwatch:lh.rowHoverSwatch))},ch=c.css`
12645
12645
  .ag-theme-genesis-rapid,
12646
12646
  .ag-theme-genesis-rapid-dark {
12647
12647
  --ag-alpine-active-color: #2196f3;
@@ -13101,76 +13101,76 @@
13101
13101
  .ag-theme-genesis-rapid-dark {
13102
13102
  color-scheme: dark;
13103
13103
  }
13104
- `,gh={[fi.backgroundColor]:nh.backgroundColor,[fi.foregroundColor]:nh.foregroundColor,[fi.oddRowBackgroundColor]:nh.backgroundColor,[fi.headerBackgroundColor]:nh.backgroundColor,[fi.headerForegroundColor]:nh.headerForegroundColor,[fi.selectedRowBackgroundColor]:nh.rowHoverColor,[fi.rowHoverColor]:nh.rowHoverColor,[fi.borderColor]:nh.borderColor,[fi.rowBorderColor]:nh.rowHoverColor,[fi.modalOverlayBackgroundColor]:nh.backgroundColor,[fi.inputFocusBoxShadow]:nh.headerForegroundColor,[fi.inputFocusBorderColor]:nh.headerForegroundColor,[fi.headerColumnResizeHandleColor]:nh.headerForegroundColor},sh="ag-theme-genesis-rapid",dh=c.css`
13105
- ${lh}
13106
- ${$i(sh,gh)}
13104
+ `,ph={[fi.backgroundColor]:dh.backgroundColor,[fi.foregroundColor]:dh.foregroundColor,[fi.oddRowBackgroundColor]:dh.backgroundColor,[fi.headerBackgroundColor]:dh.backgroundColor,[fi.headerForegroundColor]:dh.headerForegroundColor,[fi.selectedRowBackgroundColor]:dh.rowHoverColor,[fi.rowHoverColor]:dh.rowHoverColor,[fi.borderColor]:dh.borderColor,[fi.rowBorderColor]:dh.rowHoverColor,[fi.modalOverlayBackgroundColor]:dh.backgroundColor,[fi.inputFocusBoxShadow]:dh.headerForegroundColor,[fi.inputFocusBorderColor]:dh.headerForegroundColor,[fi.headerColumnResizeHandleColor]:dh.headerForegroundColor},uh="ag-theme-genesis-rapid",hh=c.css`
13105
+ ${ch}
13106
+ ${$i(uh,ph)}
13107
13107
 
13108
- .${sh} {
13108
+ .${uh} {
13109
13109
  ${Ee()}
13110
13110
  font-family: var(--body-font);
13111
13111
  }
13112
13112
 
13113
- .${sh} .ag-body .ag-body-viewport,
13114
- .${sh} .ag-header,
13115
- .${sh} .ag-row {
13113
+ .${uh} .ag-body .ag-body-viewport,
13114
+ .${uh} .ag-header,
13115
+ .${uh} .ag-row {
13116
13116
  background-color: var(--neutral-layer-3);
13117
13117
  }
13118
13118
 
13119
- .${sh} .ag-header {
13119
+ .${uh} .ag-header {
13120
13120
  border-bottom-color: var(--rapid-ag-border-color);
13121
13121
  font-weight: bold;
13122
13122
  font-size: var(--type-ramp-base-font-size);
13123
13123
  }
13124
13124
 
13125
- .${sh} .ag-root-wrapper {
13125
+ .${uh} .ag-root-wrapper {
13126
13126
  border-radius: calc(var(--ag-border-radius) * 1px);
13127
13127
  border: 1px solid var(--rapid-ag-border-color);
13128
13128
  }
13129
13129
 
13130
- .${sh} .ag-cell {
13130
+ .${uh} .ag-cell {
13131
13131
  font-size: var(--type-ramp-minus-1-font-size);
13132
13132
  }
13133
- `,ch="ag-theme-genesis-rapid-dark",ph=c.css`
13134
- ${lh}
13135
- ${$i(sh,gh)}
13133
+ `,mh="ag-theme-genesis-rapid-dark",bh=c.css`
13134
+ ${ch}
13135
+ ${$i(uh,ph)}
13136
13136
 
13137
- .${ch} {
13137
+ .${mh} {
13138
13138
  ${Ee()}
13139
13139
  font-family: var(--body-font);
13140
13140
  }
13141
13141
 
13142
- .${ch} .ag-body .ag-body-viewport,
13143
- .${ch} .ag-header,
13144
- .${ch} .ag-row {
13142
+ .${mh} .ag-body .ag-body-viewport,
13143
+ .${mh} .ag-header,
13144
+ .${mh} .ag-row {
13145
13145
  background-color: var(--neutral-layer-3);
13146
13146
  }
13147
13147
 
13148
- .${ch} .ag-header {
13148
+ .${mh} .ag-header {
13149
13149
  border-bottom-color: var(--rapid-ag-border-color);
13150
13150
  font-weight: bold;
13151
13151
  font-size: var(--type-ramp-base-font-size);
13152
13152
  }
13153
13153
 
13154
- .${ch} .ag-root-wrapper {
13154
+ .${mh} .ag-root-wrapper {
13155
13155
  border-radius: calc(var(--ag-border-radius) * 1px);
13156
13156
  border: 1px solid var(--rapid-ag-border-color);
13157
13157
  }
13158
13158
 
13159
- .${ch} .ag-cell {
13159
+ .${mh} .ag-cell {
13160
13160
  font-size: var(--type-ramp-minus-1-font-size);
13161
13161
  }
13162
- `,uh=c.css`
13162
+ `,vh=c.css`
13163
13163
  /* All the AG themes */
13164
- ${Ql}
13164
+ ${Wl}
13165
13165
 
13166
13166
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
13167
- ${dh}
13168
- ${ph}
13167
+ ${hh}
13168
+ ${bh}
13169
13169
 
13170
13170
  .error {
13171
13171
  border-color: ${ve.shortPink} !important;
13172
13172
  }
13173
- `,hh=Wl,mh="ag-theme-genesis-rapid-dark";const bh=eg,vh={rapidAgEditableRenderer:Wu,rapidAgActionRenderer:Ju,rapidAgActionsMenuRenderer:Ku,rapidAgBooleanRenderer:eh,rapidAgTextRenderer:ah,rapidAgSelectRenderer:rh,rapidAgDateEditor:Eu,rapidAgMultiselectEditor:Bu,rapidAgSelectEditor:Uu,rapidAgNumberEditor:_u,rapidAgStringEditor:Yu,rapidGridPro:class extends Kl{constructor(){super(...arguments),this.theme=mh}themeChanged(e,a){console.log("teste"),(e||a===mh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:qu,[Ai.actionsMenu]:Zu,[Ai.boolean]:Xu,[Ai.editable]:Qu,[Ai.selectEditor]:Gu,[Ai.numberEditor]:Hu,[Ai.multiselectEditor]:Pu,[Ai.dateEditor]:ju,[Ai.stringEditor]:Vu};(this.theme===sh||this.theme===ch)&&(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:hh,styles:uh,shadowOptions:undefined},bh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var fh,wh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(fh||(fh={}));const yh={Roboto:je,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},xh=yh["Segoe UI"],kh=c.css`
13173
+ `,fh=ql,wh="ag-theme-genesis-rapid-dark";const yh=og,xh={rapidAgEditableRenderer:Ku,rapidAgActionRenderer:eh,rapidAgActionsMenuRenderer:rh,rapidAgBooleanRenderer:oh,rapidAgTextRenderer:ih,rapidAgSelectRenderer:nh,rapidAgDateEditor:Uu,rapidAgMultiselectEditor:Hu,rapidAgSelectEditor:Yu,rapidAgNumberEditor:Wu,rapidAgStringEditor:Ju,rapidGridPro:class extends rg{constructor(){super(...arguments),this.theme=wh}themeChanged(e,a){console.log("teste"),(e||a===wh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Ai.action]:Xu,[Ai.actionsMenu]:ah,[Ai.boolean]:th,[Ai.editable]:Zu,[Ai.selectEditor]:Vu,[Ai.numberEditor]:Qu,[Ai.multiselectEditor]:_u,[Ai.dateEditor]:Gu,[Ai.stringEditor]:qu};(this.theme===uh||this.theme===mh)&&(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:fh,styles:vh,shadowOptions:undefined},yh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var kh,zh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(kh||(kh={}));const Sh={Roboto:je,"Segoe UI":'"Segoe UI", Arial, Helvetica, sans-serif',Monospace:'Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',"Times New Roman":'Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif',Garamond:'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif',Georgia:'Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif',Helvetica:'Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif',Verdana:'Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif'},Ch=Sh["Segoe UI"],$h=c.css`
13174
13174
  ${(0,p.display)("block")} :host {
13175
13175
  width: 100%;
13176
13176
  display: inline-flex;
@@ -13302,7 +13302,7 @@
13302
13302
  alpha-button {
13303
13303
  margin: 0;
13304
13304
  }
13305
- `,zh=c.html`
13305
+ `,Ah=c.html`
13306
13306
  <template>
13307
13307
  <div class="configuration">
13308
13308
  ${(0,c.when)((e=>!e.customDesignMode),c.html`
@@ -13525,7 +13525,7 @@
13525
13525
  <slot></slot>
13526
13526
  </div>
13527
13527
  </template>
13528
- `,Sh=({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(yh).find((a=>yh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Ch=Sh(Ue),$h={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Ah={accent:"primary",neutral:"secondary",font:"white"},Fh=Sh(l.designTokens),Th=Sh(Us),Oh={zero:{prefix:"zero",tokenDefaults:Ch,buttons:$h,badge:Ah},alpha:{prefix:"alpha",tokenDefaults:Fh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Th,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:$h,badge:Ah}};let Dh=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Ch.luminance===u.StandardLuminance.DarkMode,this.luminance=Ch.luminance,this.neutralColor=Ch.neutralColor,this.accentColor=Ch.accentColor,this.bodyFont=Ch.bodyFont,this.density=Ch.density,this.borderRadius=Ch.borderRadius,this.strokeWidth=Ch.strokeWidth,this.designUnit=Ch.designUnit,this.baseFontSize=Ch.baseFontSize,this.baseLineHeight=Ch.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof p.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof u.Combobox||e.target instanceof u.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof p.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?u.StandardLuminance.DarkMode:u.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Sh(a);Oh.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,wh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Oh[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,wh.__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:Oh[this.ds].prefix,buttonAppearanceAccent:Oh[this.ds].buttons.accent,buttonAppearanceNeutral:Oh[this.ds].buttons.neutral,buttonAppearanceOutline:Oh[this.ds].buttons.outline,buttonAppearanceText:Oh[this.ds].buttons.text,badgeAppearanceAccent:Oh[this.ds].badge.accent,badgeAppearanceNeutral:Oh[this.ds].badge.neutral,badgeText:Oh[this.ds].badge.font};this.$emit(fh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Oh[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:yh[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(fh.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===u.StandardLuminance.DarkMode,c.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ie(),c.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(fh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,wh.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Dh.prototype,"customDesignMode",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"designSystems",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"ds",void 0),(0,wh.__decorate)([c.attr],Dh.prototype,"darkMode",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"neutralColor",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"accentColor",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"bodyFont",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"density",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"borderRadius",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"strokeWidth",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"designUnit",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"baseFontSize",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"baseLineHeight",void 0),(0,wh.__decorate)([c.observable],Dh.prototype,"preserveOptions",void 0),Dh=(0,wh.__decorate)([(0,c.customElement)({name:"design-system-editor",template:zh,styles:kh})],Dh);const Rh=e=>{const a=(e=>{const a=(0,fe.parseColorHexRGB)(e);return a?u.SwatchRGB.from(a):null})(e);return a?u.PaletteRGB.create(a):null},Nh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Lh=(e,a)=>{const r=Rh(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=Rh(e.accentColor);u.accentPalette.setValueFor(a,t),u.baseLayerLuminance.setValueFor(a,e.luminance),u.density.setValueFor(a,e.density),u.controlCornerRadius.setValueFor(a,e.borderRadius),u.strokeWidth.setValueFor(a,e.strokeWidth),u.designUnit.setValueFor(a,e.designUnit),u.bodyFont.setValueFor(a,e.bodyFont),u.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),u.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),u.typeRampMinus1FontSize.setValueFor(a,Nh(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,Nh(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,Nh(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,Nh(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,Nh(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,Nh(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,Nh(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,Nh(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,Nh(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,Nh(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,Nh(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,Nh(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,Nh(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,Nh(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,Nh(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,Nh(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},Mh=c.css`
13528
+ `,Fh=({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(Sh).find((a=>Sh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Th=Fh(Ue),Oh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Dh={accent:"primary",neutral:"secondary",font:"white"},Rh=Fh(l.designTokens),Nh=Fh(Ys),Lh={zero:{prefix:"zero",tokenDefaults:Th,buttons:Oh,badge:Dh},alpha:{prefix:"alpha",tokenDefaults:Rh,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Nh,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Oh,badge:Dh}};let Mh=class extends c.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Th.luminance===u.StandardLuminance.DarkMode,this.luminance=Th.luminance,this.neutralColor=Th.neutralColor,this.accentColor=Th.accentColor,this.bodyFont=Th.bodyFont,this.density=Th.density,this.borderRadius=Th.borderRadius,this.strokeWidth=Th.strokeWidth,this.designUnit=Th.designUnit,this.baseFontSize=Th.baseFontSize,this.baseLineHeight=Th.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof p.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof u.Combobox||e.target instanceof u.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof p.Slider){const a=parseInt(e.target.value),r=e.target.name;r&&Number.isInteger(a)&&(this[r]=a,this.updateUserSelections(r,a),this.styleUpdate())}},this.updateUserSelections=(e,a)=>{"ds"===e||this.tokenUpdateInProgress||(this.userSelections[e]=a)},this.modeChangeHandler=e=>{this.darkMode=e.target.checked,this.luminance=this.darkMode?u.StandardLuminance.DarkMode:u.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Fh(a);Lh.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,zh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Lh[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,zh.__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:Lh[this.ds].prefix,buttonAppearanceAccent:Lh[this.ds].buttons.accent,buttonAppearanceNeutral:Lh[this.ds].buttons.neutral,buttonAppearanceOutline:Lh[this.ds].buttons.outline,buttonAppearanceText:Lh[this.ds].buttons.text,badgeAppearanceAccent:Lh[this.ds].badge.accent,badgeAppearanceNeutral:Lh[this.ds].badge.neutral,badgeText:Lh[this.ds].badge.font};this.$emit(kh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Lh[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Sh[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(kh.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===u.StandardLuminance.DarkMode,c.DOM.queueUpdate((()=>{this.tokenUpdateInProgress=!1}))}getAppName(){return fetch("/api/name").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},Ie(),c.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(kh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,zh.__decorate)([(0,c.attr)({mode:"boolean",attribute:"custom-design-mode"})],Mh.prototype,"customDesignMode",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"designSystems",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"ds",void 0),(0,zh.__decorate)([c.attr],Mh.prototype,"darkMode",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"neutralColor",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"accentColor",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"bodyFont",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"density",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"borderRadius",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"strokeWidth",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"designUnit",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"baseFontSize",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"baseLineHeight",void 0),(0,zh.__decorate)([c.observable],Mh.prototype,"preserveOptions",void 0),Mh=(0,zh.__decorate)([(0,c.customElement)({name:"design-system-editor",template:Ah,styles:$h})],Mh);const Ih=e=>{const a=(e=>{const a=(0,fe.parseColorHexRGB)(e);return a?u.SwatchRGB.from(a):null})(e);return a?u.PaletteRGB.create(a):null},jh=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Eh=(e,a)=>{const r=Ih(e.neutralColor);u.neutralPalette.setValueFor(a,r);const t=Ih(e.accentColor);u.accentPalette.setValueFor(a,t),u.baseLayerLuminance.setValueFor(a,e.luminance),u.density.setValueFor(a,e.density),u.controlCornerRadius.setValueFor(a,e.borderRadius),u.strokeWidth.setValueFor(a,e.strokeWidth),u.designUnit.setValueFor(a,e.designUnit),u.bodyFont.setValueFor(a,e.bodyFont),u.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),u.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),u.typeRampMinus1FontSize.setValueFor(a,jh(u.typeRampBaseFontSize,Me.Yd.minusOne,a)),u.typeRampMinus1LineHeight.setValueFor(a,jh(u.typeRampBaseLineHeight,Me.Yd.minusOne,a)),u.typeRampMinus2FontSize.setValueFor(a,jh(u.typeRampBaseFontSize,Me.Yd.minusTwo,a)),u.typeRampMinus2LineHeight.setValueFor(a,jh(u.typeRampBaseLineHeight,Me.Yd.minusTwo,a)),u.typeRampPlus1FontSize.setValueFor(a,jh(u.typeRampBaseFontSize,Me.Yd.plusOne,a)),u.typeRampPlus1LineHeight.setValueFor(a,jh(u.typeRampBaseLineHeight,Me.Yd.plusOne,a)),u.typeRampPlus2FontSize.setValueFor(a,jh(u.typeRampBaseFontSize,Me.Yd.plusTwo,a)),u.typeRampPlus2LineHeight.setValueFor(a,jh(u.typeRampBaseLineHeight,Me.Yd.plusTwo,a)),u.typeRampPlus3FontSize.setValueFor(a,jh(u.typeRampBaseFontSize,Me.Yd.plusThree,a)),u.typeRampPlus3LineHeight.setValueFor(a,jh(u.typeRampBaseLineHeight,Me.Yd.plusThree,a)),u.typeRampPlus4FontSize.setValueFor(a,jh(u.typeRampBaseFontSize,Me.Yd.plusFour,a)),u.typeRampPlus4LineHeight.setValueFor(a,jh(u.typeRampBaseLineHeight,Me.Yd.plusFour,a)),u.typeRampPlus5FontSize.setValueFor(a,jh(u.typeRampBaseFontSize,Me.Yd.plusFive,a)),u.typeRampPlus5LineHeight.setValueFor(a,jh(u.typeRampBaseLineHeight,Me.Yd.plusFive,a)),u.typeRampPlus6FontSize.setValueFor(a,jh(u.typeRampBaseFontSize,Me.Yd.plusSix,a)),u.typeRampPlus6LineHeight.setValueFor(a,jh(u.typeRampBaseLineHeight,Me.Yd.plusSix,a))},Ph=c.css`
13529
13529
  :host {
13530
13530
  --badge-fill-primary: var(--accent-fill-rest);
13531
13531
  --badge-fill-neutral: var(--neutral-fill-rest);
@@ -13621,7 +13621,7 @@
13621
13621
  display: flex;
13622
13622
  flex-direction: column;
13623
13623
  }
13624
- `,Ih=c.html`
13624
+ `,Bh=c.html`
13625
13625
  ${e=>(e=>c.html`
13626
13626
  <template>
13627
13627
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -14033,7 +14033,7 @@
14033
14033
  </${e}-design-system-provider>
14034
14034
  </template>
14035
14035
  `)(e.prefix)}
14036
- `;let jh=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",this.buttonAppearanceText="lightweight",this.badgeAppearanceAccent="primary",this.badgeAppearanceNeutral="secondary",this.badgeText="white",this.cards=Array.from({length:8},((e,a)=>a+1)),this.countries=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Cambodia","Cameroon","Canada"],this.menuActions=[{name:"View",callback:e=>console.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>console.debug("DELETE!!!",e)},{name:"Edit",callback:e=>console.debug("EDIT!!!",e)},{name:"Wait",callback:e=>console.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(fh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(fh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(xh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Lh(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,wh.__decorate)([c.observable],jh.prototype,"modal",void 0),(0,wh.__decorate)([c.attr],jh.prototype,"prefix",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"buttonAppearanceAccent",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"buttonAppearanceNeutral",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"buttonAppearanceOutline",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"buttonAppearanceText",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"badgeAppearanceAccent",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"badgeAppearanceNeutral",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"badgeText",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"cards",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"countries",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"menuActions",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"menuDefinition",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"dropDownMenuItems",void 0),(0,wh.__decorate)([c.observable],jh.prototype,"provider",void 0),jh=(0,wh.__decorate)([(0,c.customElement)({name:"preview-components",template:Ih,styles:Mh})],jh);const Eh=c.css`
14036
+ `;let Gh=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.buttonAppearanceAccent="primary-blue",this.buttonAppearanceNeutral="primary-grey",this.buttonAppearanceOutline="primary-gradient",this.buttonAppearanceText="lightweight",this.badgeAppearanceAccent="primary",this.badgeAppearanceNeutral="secondary",this.badgeText="white",this.cards=Array.from({length:8},((e,a)=>a+1)),this.countries=["Afghanistan","Aland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Cambodia","Cameroon","Canada"],this.menuActions=[{name:"View",callback:e=>console.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>console.debug("DELETE!!!",e)},{name:"Edit",callback:e=>console.debug("EDIT!!!",e)},{name:"Wait",callback:e=>console.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(kh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(Ch)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Eh(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,zh.__decorate)([c.observable],Gh.prototype,"modal",void 0),(0,zh.__decorate)([c.attr],Gh.prototype,"prefix",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"buttonAppearanceAccent",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"buttonAppearanceNeutral",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"buttonAppearanceOutline",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"buttonAppearanceText",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"badgeAppearanceAccent",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"badgeAppearanceNeutral",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"badgeText",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"cards",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"countries",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"menuActions",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"menuDefinition",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"dropDownMenuItems",void 0),(0,zh.__decorate)([c.observable],Gh.prototype,"provider",void 0),Gh=(0,zh.__decorate)([(0,c.customElement)({name:"preview-components",template:Bh,styles:Ph})],Gh);const Uh=c.css`
14037
14037
  .export {
14038
14038
  display: flex;
14039
14039
  justify-content: center;
@@ -14044,7 +14044,7 @@
14044
14044
  display: flex;
14045
14045
  justify-content: space-between;
14046
14046
  }
14047
- `,Ph=c.html`
14047
+ `,_h=c.html`
14048
14048
  <template>
14049
14049
  <div class="export">
14050
14050
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -14065,7 +14065,7 @@
14065
14065
  </alpha-modal>
14066
14066
  </div>
14067
14067
  </template>
14068
- `;let Bh=class extends c.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{console.log("Tokens saved successfully:",e),this.$emit(fh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(fh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,wh.__decorate)([c.attr],Bh.prototype,"value",void 0),(0,wh.__decorate)([c.attr],Bh.prototype,"tokensPath",void 0),Bh=(0,wh.__decorate)([(0,c.customElement)({name:"design-system-export",template:Ph,styles:Eh})],Bh);const Gh=c.css`
14068
+ `;let Hh=class extends c.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{console.log("Tokens saved successfully:",e),this.$emit(kh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{console.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,zh.__decorate)([c.attr],Hh.prototype,"value",void 0),(0,zh.__decorate)([c.attr],Hh.prototype,"tokensPath",void 0),Hh=(0,zh.__decorate)([(0,c.customElement)({name:"design-system-export",template:_h,styles:Uh})],Hh);const Vh=c.css`
14069
14069
  .colors {
14070
14070
  display: flex;
14071
14071
  flex-wrap: wrap;
@@ -14078,23 +14078,23 @@
14078
14078
  flex-grow: 1;
14079
14079
  height: 20px;
14080
14080
  }
14081
- `,Uh=c.html`
14081
+ `,Yh=c.html`
14082
14082
  <ul class="colors">
14083
14083
  ${(0,c.repeat)((e=>e.swatches),c.html`
14084
14084
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
14085
14085
  `)}
14086
14086
  </ul>
14087
- `;let Hh=class extends c.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){u[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Rh(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(fh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,wh.__decorate)([c.observable],Hh.prototype,"swatches",void 0),(0,wh.__decorate)([c.attr],Hh.prototype,"type",void 0),Hh=(0,wh.__decorate)([(0,c.customElement)({name:"color-palette",styles:Gh,template:Uh})],Hh);const _h=c.css`
14087
+ `;let Qh=class extends c.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){u[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{const e=Ih(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,zh.__decorate)([c.observable],Qh.prototype,"swatches",void 0),(0,zh.__decorate)([c.attr],Qh.prototype,"type",void 0),Qh=(0,zh.__decorate)([(0,c.customElement)({name:"color-palette",styles:Vh,template:Yh})],Qh);const Wh=c.css`
14088
14088
  .preview {
14089
14089
  width: 40px;
14090
14090
  height: 40px;
14091
14091
  }
14092
- `,Vh=c.html`
14092
+ `,qh=c.html`
14093
14093
  <div
14094
14094
  class="preview"
14095
14095
  style="background-color: ${e=>u[e.tokenName].createCSS()}"
14096
14096
  ></div>
14097
- `;let Yh=class extends c.FASTElement{};(0,wh.__decorate)([c.attr],Yh.prototype,"tokenName",void 0),Yh=(0,wh.__decorate)([(0,c.customElement)({name:"color-token",styles:_h,template:Vh})],Yh);const Qh=c.css`
14097
+ `;let Jh=class extends c.FASTElement{};(0,zh.__decorate)([c.attr],Jh.prototype,"tokenName",void 0),Jh=(0,zh.__decorate)([(0,c.customElement)({name:"color-token",styles:Wh,template:qh})],Jh);const Zh=c.css`
14098
14098
  .container {
14099
14099
  display: flex;
14100
14100
  width: 100%;
@@ -14142,7 +14142,7 @@
14142
14142
  .container > div:not(:last-child) {
14143
14143
  border-right: 1px solid #fafafa;
14144
14144
  }
14145
- `,Wh=[{title:"Fill",subcategories:[{title:"Fill Colour",tokens:[{name:"fillColor",cssProperty:"--fill-color"}]},{title:"Accent Fill",tokens:[{name:"accentFillRest",cssProperty:"--accent-fill-rest"},{name:"accentFillHover",cssProperty:"--accent-fill-hover"},{name:"accentFillActive",cssProperty:"--accent-fill-active"},{name:"accentFillFocus",cssProperty:"--accent-fill-focus"}]},{title:"Neutral Fill",tokens:[{name:"neutralFillRest",cssProperty:"--neutral-fill-rest"},{name:"neutralFillHover",cssProperty:"--neutral-fill-hover"},{name:"neutralFillActive",cssProperty:"--neutral-fill-active"},{name:"neutralFillFocus",cssProperty:"--neutral-fill-focus"}]},{title:"Neutral Fill Input",tokens:[{name:"neutralFillInputRest",cssProperty:"--neutral-fill-input-rest"},{name:"neutralFillInputHover",cssProperty:"--neutral-fill-input-hover"},{name:"neutralFillInputActive",cssProperty:"--neutral-fill-input-active"},{name:"neutralFillInputFocus",cssProperty:"--neutral-fill-input-focus"}]},{title:"Neutral Fill Stealth",tokens:[{name:"neutralFillStealthRest",cssProperty:"--neutral-fill-stealth-rest"},{name:"neutralFillStealthHover",cssProperty:"--neutral-fill-stealth-hover"},{name:"neutralFillStealthActive",cssProperty:"--neutral-fill-stealth-active"},{name:"neutralFillStealthFocus",cssProperty:"--neutral-fill-stealth-focus"}]},{title:"Neutral Fill Strong",tokens:[{name:"neutralFillStrongRest",cssProperty:"--neutral-fill-strong-rest"},{name:"neutralFillStrongHover",cssProperty:"--neutral-fill-strong-hover"},{name:"neutralFillStrongActive",cssProperty:"--neutral-fill-strong-active"},{name:"neutralFillStrongFocus",cssProperty:"--neutral-fill-strong-focus"}]}]},{title:"Foreground",subcategories:[{title:"Neutral Foreground",tokens:[{name:"neutralForegroundRest",cssProperty:"--neutral-foreground-rest"},{name:"neutralForegroundHint",cssProperty:"--neutral-foreground-hint"}]},{title:"Accent Foreground",tokens:[{name:"accentForegroundRest",cssProperty:"--accent-foreground-rest"},{name:"accentForegroundHover",cssProperty:"--accent-foreground-hover"},{name:"accentForegroundActive",cssProperty:"--accent-foreground-active"},{name:"accentForegroundFocus",cssProperty:"--accent-foreground-focus"}]},{title:"Foreground on Accent",tokens:[{name:"foregroundOnAccentRest",cssProperty:"--foreground-on-accent-rest"},{name:"foregroundOnAccentHover",cssProperty:"--foreground-on-accent-hover"},{name:"foregroundOnAccentActive",cssProperty:"--foreground-on-accent-active"},{name:"foregroundOnAccentFocus",cssProperty:"--foreground-on-accent-focus"}]},{title:"Foreground on accent large",tokens:[{name:"foregroundOnAccentRestLarge",cssProperty:"--foreground-on-accent-rest-large"},{name:"foregroundOnAccentHoverLarge",cssProperty:"--foreground-on-accent-hover-large"},{name:"foregroundOnAccentActiveLarge",cssProperty:"--foreground-on-accent-active-large"},{name:"foregroundOnAccentFocusLarge",cssProperty:"--foreground-on-accent-focus-large"}]}]},{title:"Stroke",subcategories:[{title:"Focus Stroke",tokens:[{name:"focusStrokeOuter",cssProperty:"--focus-stroke-outer"},{name:"focusStrokeInner",cssProperty:"--focus-stroke-inner"}]},{title:"Neutral Stroke",tokens:[{name:"neutralStrokeRest",cssProperty:"---neutral-stroke-rest"},{name:"neutralStrokeHover",cssProperty:"--neutral-stroke-hover"},{name:"neutralStrokeActive",cssProperty:"--neutral-stroke-active"},{name:"neutralStrokeFocus",cssProperty:"--neutral-stroke-focus"}]},{title:"Neutral stroke divider",tokens:[{name:"neutralStrokeDividerRest",cssProperty:"--neutral-stroke-divider-rest"}]}]},{title:"Layer",subcategories:[{title:"Neutral Layers",tokens:[{name:"neutralLayer1",cssProperty:"--neutral-layer-1"},{name:"neutralLayer2",cssProperty:"--neutral-layer-2"},{name:"neutralLayer3",cssProperty:"--neutral-layer-3"},{name:"neutralLayer4",cssProperty:"--neutral-layer-4"}]},{title:"Neutral Layer Card Container",tokens:[{name:"neutralLayerCardContainer",cssProperty:"--neutral-layer-card-container"}]},{title:"Neutral Fill Layer",tokens:[{name:"neutralFillLayerRest",cssProperty:"--neutral-fill-layer-rest"}]},{title:"Neutral Layer Floating",tokens:[{name:"neutralLayerFloating",cssProperty:"--neutral-layer-floating"}]}]}],qh=c.html`
14145
+ `,Kh=[{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"}]}]}],Xh=c.html`
14146
14146
  <div class="row">
14147
14147
  <div
14148
14148
  class="preview"
@@ -14154,19 +14154,19 @@
14154
14154
  ${(e,a)=>u[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
14155
14155
  </div>
14156
14156
  </div>
14157
- `,Jh=c.html`
14157
+ `,em=c.html`
14158
14158
  <div class="container" ${(0,c.ref)("provider")}>
14159
- ${(0,c.repeat)((()=>Wh),c.html`
14159
+ ${(0,c.repeat)((()=>Kh),c.html`
14160
14160
  <div class="column">
14161
14161
  <h3 class="header-title">${e=>e.title}</h3>
14162
14162
  ${(0,c.repeat)((e=>e.subcategories),c.html`
14163
14163
  <h4>${e=>e.title}</h4>
14164
- ${(0,c.repeat)((e=>e.tokens),qh)}
14164
+ ${(0,c.repeat)((e=>e.tokens),Xh)}
14165
14165
  `)}
14166
14166
  </div>
14167
14167
  `)}
14168
14168
  </div>
14169
- `;let Zh=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(fh.STYLES_CHANGED,(e=>{const a=e.detail;Lh(a,this.provider)}))}};(0,wh.__decorate)([c.observable],Zh.prototype,"provider",void 0),Zh=(0,wh.__decorate)([(0,c.customElement)({name:"color-tokens",template:Jh,styles:Qh})],Zh);const Kh=c.css`
14169
+ `;let am=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{const a=e.detail;Eh(a,this.provider)}))}};(0,zh.__decorate)([c.observable],am.prototype,"provider",void 0),am=(0,zh.__decorate)([(0,c.customElement)({name:"color-tokens",template:em,styles:Zh})],am);const rm=c.css`
14170
14170
  table {
14171
14171
  background: var(--neutral-fill-rest);
14172
14172
  color: var(--neutral-foreground-rest);
@@ -14175,7 +14175,7 @@
14175
14175
  th {
14176
14176
  text-align: left;
14177
14177
  }
14178
- `,Xh=c.html`
14178
+ `,tm=c.html`
14179
14179
  <table ${(0,c.ref)("provider")} style="font-family: ${()=>u.bodyFont.createCSS()}">
14180
14180
  <colgroup>
14181
14181
  <col style="width: 15%;" />
@@ -14403,7 +14403,7 @@
14403
14403
  </tr>
14404
14404
  </tbody>
14405
14405
  </table>
14406
- `;let em=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(fh.STYLES_CHANGED,(e=>{const a=e.detail;Lh(a,this.provider)}))}};(0,wh.__decorate)([c.observable],em.prototype,"provider",void 0),em=(0,wh.__decorate)([(0,c.customElement)({name:"typography-tokens",template:Xh,styles:Kh})],em);const am=c.css`
14406
+ `;let om=class extends c.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{const a=e.detail;Eh(a,this.provider)}))}};(0,zh.__decorate)([c.observable],om.prototype,"provider",void 0),om=(0,zh.__decorate)([(0,c.customElement)({name:"typography-tokens",template:tm,styles:rm})],om);const im=c.css`
14407
14407
  :host {
14408
14408
  background: var(--fill-color);
14409
14409
  color: var(--neutral-foreground-rest);
@@ -14419,7 +14419,7 @@
14419
14419
  margin-top: 24px;
14420
14420
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
14421
14421
  }
14422
- `,rm=c.html`
14422
+ `,nm=c.html`
14423
14423
  <template>
14424
14424
  <alpha-tabs>
14425
14425
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -14448,7 +14448,7 @@
14448
14448
  </alpha-tab-panel>
14449
14449
  </alpha-tabs>
14450
14450
  </template>
14451
- `;let tm=class extends c.FASTElement{};tm=(0,wh.__decorate)([(0,c.customElement)({name:"design-system-preview",template:rm,styles:am})],tm);const om={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"}]}]}}]},im={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"]}}},nm={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"}]}}}]},lm={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"]}}}},gm=c.css`
14451
+ `;let lm=class extends c.FASTElement{};lm=(0,zh.__decorate)([(0,c.customElement)({name:"design-system-preview",template:nm,styles:im})],lm);const gm={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"}]}]}}]},sm={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"]}}},dm={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"}]}}}]},cm={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"]}}}},pm=c.css`
14452
14452
  :host {
14453
14453
  background: var(--fill-color);
14454
14454
  color: var(--neutral-foreground-rest);
@@ -14479,7 +14479,7 @@
14479
14479
  zero-design-system-provider {
14480
14480
  display: inline;
14481
14481
  }
14482
- `,sm=c.html`
14482
+ `,um=c.html`
14483
14483
  ${e=>(e=>c.html`
14484
14484
  <template>
14485
14485
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -14503,7 +14503,7 @@
14503
14503
  </${e}-design-system-provider>
14504
14504
  </template>
14505
14505
  `)(e.prefix)}
14506
- `;let dm=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=im,this.uischema=om,this.jsonSchemaArray=lm,this.uiSchemaArray=nm,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(fh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(fh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(xh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Lh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,wh.__decorate)([c.observable],dm.prototype,"jsonSchema",void 0),(0,wh.__decorate)([c.observable],dm.prototype,"uischema",void 0),(0,wh.__decorate)([c.observable],dm.prototype,"jsonSchemaArray",void 0),(0,wh.__decorate)([c.observable],dm.prototype,"uiSchemaArray",void 0),(0,wh.__decorate)([c.attr],dm.prototype,"prefix",void 0),(0,wh.__decorate)([c.observable],dm.prototype,"provider",void 0),(0,wh.__decorate)([c.observable],dm.prototype,"editedEntity",void 0),(0,wh.__decorate)([c.observable],dm.prototype,"editedEntityArray",void 0),dm=(0,wh.__decorate)([(0,c.customElement)({name:"preview-form",template:sm,styles:gm})],dm);const cm=c.css`
14506
+ `;let hm=class extends c.FASTElement{constructor(){super(...arguments),this.jsonSchema=sm,this.uischema=gm,this.jsonSchemaArray=cm,this.uiSchemaArray=dm,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(kh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(kh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{u.bodyFont.withDefault(Ch)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Eh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,zh.__decorate)([c.observable],hm.prototype,"jsonSchema",void 0),(0,zh.__decorate)([c.observable],hm.prototype,"uischema",void 0),(0,zh.__decorate)([c.observable],hm.prototype,"jsonSchemaArray",void 0),(0,zh.__decorate)([c.observable],hm.prototype,"uiSchemaArray",void 0),(0,zh.__decorate)([c.attr],hm.prototype,"prefix",void 0),(0,zh.__decorate)([c.observable],hm.prototype,"provider",void 0),(0,zh.__decorate)([c.observable],hm.prototype,"editedEntity",void 0),(0,zh.__decorate)([c.observable],hm.prototype,"editedEntityArray",void 0),hm=(0,zh.__decorate)([(0,c.customElement)({name:"preview-form",template:um,styles:pm})],hm);const mm=c.css`
14507
14507
  :host {
14508
14508
  background: var(--fill-color);
14509
14509
  color: var(--neutral-foreground-rest);
@@ -14518,7 +14518,7 @@
14518
14518
  .grid-height {
14519
14519
  height: 450px;
14520
14520
  }
14521
- `,pm=c.html`
14521
+ `,bm=c.html`
14522
14522
  ${e=>(e=>c.html`
14523
14523
  <template>
14524
14524
  <${e}-design-system-provider ${(0,c.ref)("provider")}>
@@ -14528,5 +14528,5 @@
14528
14528
  </${e}-design-system-provider>
14529
14529
  </template>
14530
14530
  `)(e.prefix)}
14531
- `;let um=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(fh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(fh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(xh)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Lh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,wh.__decorate)([c.observable],um.prototype,"grid",void 0),(0,wh.__decorate)([c.attr],um.prototype,"prefix",void 0),(0,wh.__decorate)([c.observable],um.prototype,"provider",void 0),(0,wh.__decorate)([c.observable],um.prototype,"rowData",void 0),(0,wh.__decorate)([c.observable],um.prototype,"columnDefs",void 0),(0,wh.__decorate)([c.observable],um.prototype,"gridOptions",void 0),um=(0,wh.__decorate)([(0,c.customElement)({name:"preview-grid",template:pm,styles:cm})],um),((e,a="zero")=>{e&&(0,P.provideTokens)(t,o,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(vi,bg),(0,l.provideDesignSystem)().register(l.baseComponents,vg),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(Iu,vh)}}]);
14532
- //# sourceMappingURL=859.436cfee9c26ff04b9e11e3778d6a9b91.js.map
14531
+ `;let vm=class extends c.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(kh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(kh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),c.DOM.queueUpdate((()=>{this.setGridOptions(),u.bodyFont.withDefault(Ch)}))}handleStyleChanges(e){const a=e.detail;a&&c.DOM.queueUpdate((()=>{Eh(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,c.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,zh.__decorate)([c.observable],vm.prototype,"grid",void 0),(0,zh.__decorate)([c.attr],vm.prototype,"prefix",void 0),(0,zh.__decorate)([c.observable],vm.prototype,"provider",void 0),(0,zh.__decorate)([c.observable],vm.prototype,"rowData",void 0),(0,zh.__decorate)([c.observable],vm.prototype,"columnDefs",void 0),(0,zh.__decorate)([c.observable],vm.prototype,"gridOptions",void 0),vm=(0,zh.__decorate)([(0,c.customElement)({name:"preview-grid",template:bm,styles:mm})],vm),((e,a="zero")=>{e&&(0,P.provideTokens)(t,o,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(vi,yg),(0,l.provideDesignSystem)().register(l.baseComponents,xg),((e,a="rapid")=>{e&&(0,P.provideTokens)(i,n,e);const r=p.DesignSystem.getOrCreate(e).withPrefix(a);return(0,P.createDesignSystemProxy)(r)})().register(Bu,xh)}}]);
14532
+ //# sourceMappingURL=374.249ab8f81d0d35301b57bb444e936db4.js.map