@genesislcap/design-system-configurator 14.167.2 → 14.167.3-alpha-b40d1e5.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 (36) hide show
  1. package/dist/200.200.859d068083a9cc9cd714.js +2 -0
  2. package/dist/200.67dcf7955800040a70abbc9a38bd72b2.js.map +1 -0
  3. package/dist/{806.806.df6304a6e1227a622b6e.js → 334.334.f675f475e0c2c6b7b8c6.js} +640 -183
  4. package/dist/334.ee10f8b663bc349d646eca0fb1c76dd1.js.map +1 -0
  5. package/dist/{849.849.c0960cfc38f4b6b1ed8d.js → 359.359.5d447bf8b0f5b5850973.js} +231 -231
  6. package/dist/359.b4620b1a2ca374618a8ee7e785697416.js.map +1 -0
  7. package/dist/{746.746.3d0b78f0bda7fbc60e1b.js → 746.746.5606b16b89a3de377685.js} +1 -1
  8. package/dist/755.755.b3ad0552e67af5814e32.js +2 -0
  9. package/dist/{755.9a7aecd6f809d3501c72cb59e24e35af.js.map → 755.a3cac47cc4cd6e213d2b372c956c558b.js.map} +1 -1
  10. package/dist/{8.8.cabffc3a0348840d5b01.js → 8.8.9a20b281e1115abe2f3c.js} +2 -2
  11. package/dist/{8.a53ad2394b2581a3c855ecd3bf2ca07f.js.map → 8.ef07388c4d4757fa729f386420e619db.js.map} +1 -1
  12. package/dist/designSystemConfigurator.208ae175785725f27d674a4a81a1457d.js.map +1 -0
  13. package/dist/index.html +1 -1
  14. package/dist/main.ac767adce7809721356e.js +2 -0
  15. package/dist/main.cb37db2217a550f3b0dd467073e0bb51.js.map +1 -0
  16. package/dist/npm.bowser.182.250262eaf3aaf0276da8.js +2 -0
  17. package/dist/npm.bowser.46f4d7a16a0005163663683563c4705e.js.map +1 -0
  18. package/dist/npm.http-status-codes.998.00c54119a49ada1a4dc5.js +2 -0
  19. package/dist/npm.http-status-codes.d432e2d15251825dd23629755de93778.js.map +1 -0
  20. package/dist/{npm.microsoft.127.fb65bada17a525386c80.js → npm.microsoft.127.da24134a36edff825162.js} +147 -147
  21. package/dist/npm.microsoft.ac462c010931eb8a47c3c6043ba81fa4.js.map +1 -0
  22. package/dist/npm.rxjs.271.6c76c9650885801e0ba7.js +2 -0
  23. package/dist/npm.rxjs.76b2e7e0eee0175592e06a61c80186f9.js.map +1 -0
  24. package/dist/remoteEntry.js +2 -2
  25. package/package.json +12 -12
  26. package/dist/200.200.c3035a0394a0f0154665.js +0 -2
  27. package/dist/200.b969aa21c130d00f304fd17d1f5d7083.js.map +0 -1
  28. package/dist/755.755.e65d16e701302cc19617.js +0 -2
  29. package/dist/806.c79e1a261b79702c2079dd3e21c52362.js.map +0 -1
  30. package/dist/849.08a5ccbc241f730a7a50ef70b1f414e3.js.map +0 -1
  31. package/dist/designSystemConfigurator.d065b6cabe69e87dbe55e1b47a7154a8.js.map +0 -1
  32. package/dist/main.213f99ff1fd6c68d8276c4e369b4c185.js.map +0 -1
  33. package/dist/main.7df0a875506a38195fe4.js +0 -2
  34. package/dist/npm.microsoft.195d71c3cb4b532ac5f722f5b46f412b.js.map +0 -1
  35. package/dist/npm.rxjs.271.97c4a50d790b7f988ef3.js +0 -2
  36. package/dist/npm.rxjs.af0fdd7c6eef2b80c50efc049a01cda7.js.map +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[849],{6303:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>wm,ColorToken:()=>km,ColorTokens:()=>Am,DesignSystemEditor:()=>nm,DesignSystemExport:()=>bm,DesignSystemPreview:()=>Nm,EventName:()=>Qh,PreviewComponents:()=>um,PreviewForm:()=>Bm,PreviewGrid:()=>Um,TypographyTokens:()=>Tm,defaultBodyFont:()=>Jh,fontFamilies:()=>qh});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,controlCornerRadius:()=>f.controlCornerRadius,defaultErrorColor:()=>Te,defaultSuccessColor:()=>Ne,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>De,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,strokeWidth:()=>f.strokeWidth,successColor:()=>Le,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Me,baseLayerLuminanceValue:()=>je,bodyFontValue:()=>We,controlCornerRadiusValue:()=>Ge,densityValue:()=>_e,designTokens:()=>Ze,designUnitValue:()=>Ue,directionValue:()=>Pe,neutralPaletteValue:()=>Ie,strokeWidthValue:()=>Be,typeRampBaseFontSizeValue:()=>qe,typeRampBaseLineHeightValue:()=>Je});var i={};r.r(i),r.d(i,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>Kg,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>Zg,defaultErrorColor:()=>_g,defaultSellColor:()=>es,defaultSuccessColor:()=>Vg,defaultWarningColor:()=>Wg,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Ug,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,sellColor:()=>as,strokeWidth:()=>f.strokeWidth,successColor:()=>Yg,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight,warningColor:()=>qg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>ls,accentFillFocusDeltaValue:()=>gs,accentFillHoverDeltaValue:()=>ns,accentFillRestDeltaValue:()=>is,accentForegroundActiveDeltaValue:()=>cs,accentForegroundFocusDeltaValue:()=>ps,accentForegroundHoverDeltaValue:()=>ds,accentForegroundRestDeltaValue:()=>ss,accentPaletteValue:()=>rs,baseHeightMultiplierValue:()=>Bs,baseLayerLuminanceValue:()=>os,bodyFontValue:()=>Hs,controlCornerRadiusValue:()=>Gs,densityValue:()=>_s,designTokens:()=>sd,designUnitValue:()=>Us,directionValue:()=>Is,disabledOpacityValue:()=>js,focusStrokeWidthValue:()=>Ps,neutralFillActiveDeltaValue:()=>ms,neutralFillFocusDeltaValue:()=>bs,neutralFillHoverDeltaValue:()=>hs,neutralFillInputActiveDeltaValue:()=>ws,neutralFillInputFocusDeltaValue:()=>ys,neutralFillInputHoverDeltaValue:()=>fs,neutralFillInputRestDeltaValue:()=>vs,neutralFillLayerRestDeltaValue:()=>Fs,neutralFillRestDeltaValue:()=>us,neutralFillStealthActiveDeltaValue:()=>zs,neutralFillStealthFocusDeltaValue:()=>Ss,neutralFillStealthHoverDeltaValue:()=>ks,neutralFillStealthRestDeltaValue:()=>xs,neutralFillStrongActiveDeltaValue:()=>As,neutralFillStrongFocusDeltaValue:()=>Os,neutralFillStrongHoverDeltaValue:()=>$s,neutralFillStrongRestDeltaValue:()=>Cs,neutralPaletteValue:()=>ts,neutralStrokeActiveDeltaValue:()=>Rs,neutralStrokeDividerRestDeltaValue:()=>Ls,neutralStrokeFocusDeltaValue:()=>Ns,neutralStrokeHoverDeltaValue:()=>Ds,neutralStrokeRestDeltaValue:()=>Ts,prefix:()=>Ms,strokeWidthValue:()=>Es,typeRampBaseFontSizeValue:()=>Vs,typeRampBaseLineHeightValue:()=>Ys,typeRampMinus1FontSizeValue:()=>Qs,typeRampMinus1LineHeightValue:()=>Ws,typeRampMinus2FontSizeValue:()=>qs,typeRampMinus2LineHeightValue:()=>Js,typeRampPlus1FontSizeValue:()=>Zs,typeRampPlus1LineHeightValue:()=>Ks,typeRampPlus2FontSizeValue:()=>Xs,typeRampPlus2LineHeightValue:()=>ed,typeRampPlus3FontSizeValue:()=>ad,typeRampPlus3LineHeightValue:()=>rd,typeRampPlus4FontSizeValue:()=>td,typeRampPlus4LineHeightValue:()=>od,typeRampPlus5FontSizeValue:()=>id,typeRampPlus5LineHeightValue:()=>nd,typeRampPlus6FontSizeValue:()=>ld,typeRampPlus6LineHeightValue:()=>gd});var l=r(33947),g=r(92592),s=r(66526),d=r(9492);const c=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,d.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,d.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,d.__classPrivateFieldGet)(this,o,"f")&&((0,d.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&(0,d.__classPrivateFieldSet)(this,r,(0,d.__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,d.__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,d.__classPrivateFieldGet)(this,t,"f")!==(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,d.__classPrivateFieldSet)(this,t,null!==(a=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,g,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,d.__classPrivateFieldSet)(this,t,null!==(o=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,d.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[p])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,d.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},p=Symbol("layout-cache-document");var u=r(86776),h=r.n(u),m=r(60724),b=r(79292),v=r(99667),f=r(41663),w=r(67973);const y=b.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[359],{906:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>km,ColorToken:()=>Cm,ColorTokens:()=>Tm,DesignSystemEditor:()=>sm,DesignSystemExport:()=>wm,DesignSystemPreview:()=>Im,EventName:()=>Jh,PreviewComponents:()=>bm,PreviewForm:()=>Um,PreviewGrid:()=>Ym,TypographyTokens:()=>Nm,defaultBodyFont:()=>Xh,fontFamilies:()=>Kh});var t={};r.r(t),r.d(t,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,controlCornerRadius:()=>f.controlCornerRadius,defaultErrorColor:()=>Te,defaultSuccessColor:()=>Ne,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>De,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,strokeWidth:()=>f.strokeWidth,successColor:()=>Le,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>Me,baseLayerLuminanceValue:()=>je,bodyFontValue:()=>We,controlCornerRadiusValue:()=>Ge,densityValue:()=>_e,designTokens:()=>Ze,designUnitValue:()=>Ue,directionValue:()=>Pe,neutralPaletteValue:()=>Ie,strokeWidthValue:()=>Be,typeRampBaseFontSizeValue:()=>qe,typeRampBaseLineHeightValue:()=>Je});var i={};r.r(i),r.d(i,{accentFillActive:()=>f.accentFillActive,accentFillActiveDelta:()=>f.accentFillActiveDelta,accentFillFocus:()=>f.accentFillFocus,accentFillFocusDelta:()=>f.accentFillFocusDelta,accentFillHover:()=>f.accentFillHover,accentFillHoverDelta:()=>f.accentFillHoverDelta,accentFillRest:()=>f.accentFillRest,accentFillRestDelta:()=>f.accentFillRestDelta,accentForegroundActive:()=>f.accentForegroundActive,accentForegroundActiveDelta:()=>f.accentForegroundActiveDelta,accentForegroundFocus:()=>f.accentForegroundFocus,accentForegroundFocusDelta:()=>f.accentForegroundFocusDelta,accentForegroundHover:()=>f.accentForegroundHover,accentForegroundHoverDelta:()=>f.accentForegroundHoverDelta,accentForegroundRest:()=>f.accentForegroundRest,accentForegroundRestDelta:()=>f.accentForegroundRestDelta,accentPalette:()=>f.accentPalette,baseHeightMultiplier:()=>f.baseHeightMultiplier,baseLayerLuminance:()=>f.baseLayerLuminance,bodyFont:()=>f.bodyFont,buyColor:()=>as,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>es,defaultErrorColor:()=>Vg,defaultSellColor:()=>ts,defaultSuccessColor:()=>Wg,defaultWarningColor:()=>Zg,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Yg,fillColor:()=>f.fillColor,focusStrokeInner:()=>f.focusStrokeInner,focusStrokeOuter:()=>f.focusStrokeOuter,focusStrokeWidth:()=>f.focusStrokeWidth,foregroundOnAccentActive:()=>f.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>f.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>f.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>f.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>f.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>f.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>f.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>f.foregroundOnAccentRestLarge,neutralFillActive:()=>f.neutralFillActive,neutralFillActiveDelta:()=>f.neutralFillActiveDelta,neutralFillFocus:()=>f.neutralFillFocus,neutralFillFocusDelta:()=>f.neutralFillFocusDelta,neutralFillHover:()=>f.neutralFillHover,neutralFillHoverDelta:()=>f.neutralFillHoverDelta,neutralFillInputActive:()=>f.neutralFillInputActive,neutralFillInputActiveDelta:()=>f.neutralFillInputActiveDelta,neutralFillInputFocus:()=>f.neutralFillInputFocus,neutralFillInputFocusDelta:()=>f.neutralFillInputFocusDelta,neutralFillInputHover:()=>f.neutralFillInputHover,neutralFillInputHoverDelta:()=>f.neutralFillInputHoverDelta,neutralFillInputRest:()=>f.neutralFillInputRest,neutralFillInputRestDelta:()=>f.neutralFillInputRestDelta,neutralFillLayerRest:()=>f.neutralFillLayerRest,neutralFillLayerRestDelta:()=>f.neutralFillLayerRestDelta,neutralFillRest:()=>f.neutralFillRest,neutralFillRestDelta:()=>f.neutralFillRestDelta,neutralFillStealthActive:()=>f.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>f.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>f.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>f.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>f.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>f.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>f.neutralFillStealthRest,neutralFillStealthRestDelta:()=>f.neutralFillStealthRestDelta,neutralFillStrongActive:()=>f.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>f.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>f.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>f.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>f.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>f.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>f.neutralFillStrongRest,neutralFillStrongRestDelta:()=>f.neutralFillStrongRestDelta,neutralForegroundHint:()=>f.neutralForegroundHint,neutralForegroundRest:()=>f.neutralForegroundRest,neutralLayer1:()=>f.neutralLayer1,neutralLayer2:()=>f.neutralLayer2,neutralLayer3:()=>f.neutralLayer3,neutralLayer4:()=>f.neutralLayer4,neutralLayerCardContainer:()=>f.neutralLayerCardContainer,neutralLayerFloating:()=>f.neutralLayerFloating,neutralPalette:()=>f.neutralPalette,neutralStrokeActive:()=>f.neutralStrokeActive,neutralStrokeActiveDelta:()=>f.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>f.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>f.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>f.neutralStrokeFocus,neutralStrokeFocusDelta:()=>f.neutralStrokeFocusDelta,neutralStrokeHover:()=>f.neutralStrokeHover,neutralStrokeHoverDelta:()=>f.neutralStrokeHoverDelta,neutralStrokeRest:()=>f.neutralStrokeRest,neutralStrokeRestDelta:()=>f.neutralStrokeRestDelta,sellColor:()=>os,strokeWidth:()=>f.strokeWidth,successColor:()=>qg,typeRampBaseFontSize:()=>f.typeRampBaseFontSize,typeRampBaseLineHeight:()=>f.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>f.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>f.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>f.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>f.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>f.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>f.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>f.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>f.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>f.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>f.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>f.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>f.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>f.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>f.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>f.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>f.typeRampPlus6LineHeight,warningColor:()=>Kg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>ds,accentFillFocusDeltaValue:()=>cs,accentFillHoverDeltaValue:()=>ss,accentFillRestDeltaValue:()=>gs,accentForegroundActiveDeltaValue:()=>hs,accentForegroundFocusDeltaValue:()=>ms,accentForegroundHoverDeltaValue:()=>us,accentForegroundRestDeltaValue:()=>ps,accentPaletteValue:()=>is,baseHeightMultiplierValue:()=>Us,baseLayerLuminanceValue:()=>ls,bodyFontValue:()=>Qs,controlCornerRadiusValue:()=>Hs,densityValue:()=>Vs,designTokens:()=>pd,designUnitValue:()=>Ys,directionValue:()=>Ps,disabledOpacityValue:()=>Bs,focusStrokeWidthValue:()=>_s,neutralFillActiveDeltaValue:()=>fs,neutralFillFocusDeltaValue:()=>ws,neutralFillHoverDeltaValue:()=>vs,neutralFillInputActiveDeltaValue:()=>ks,neutralFillInputFocusDeltaValue:()=>zs,neutralFillInputHoverDeltaValue:()=>xs,neutralFillInputRestDeltaValue:()=>ys,neutralFillLayerRestDeltaValue:()=>Rs,neutralFillRestDeltaValue:()=>bs,neutralFillStealthActiveDeltaValue:()=>$s,neutralFillStealthFocusDeltaValue:()=>As,neutralFillStealthHoverDeltaValue:()=>Cs,neutralFillStealthRestDeltaValue:()=>Ss,neutralFillStrongActiveDeltaValue:()=>Ts,neutralFillStrongFocusDeltaValue:()=>Ds,neutralFillStrongHoverDeltaValue:()=>Fs,neutralFillStrongRestDeltaValue:()=>Os,neutralPaletteValue:()=>ns,neutralStrokeActiveDeltaValue:()=>Ms,neutralStrokeDividerRestDeltaValue:()=>js,neutralStrokeFocusDeltaValue:()=>Is,neutralStrokeHoverDeltaValue:()=>Ls,neutralStrokeRestDeltaValue:()=>Ns,prefix:()=>Es,strokeWidthValue:()=>Gs,typeRampBaseFontSizeValue:()=>Ws,typeRampBaseLineHeightValue:()=>qs,typeRampMinus1FontSizeValue:()=>Js,typeRampMinus1LineHeightValue:()=>Zs,typeRampMinus2FontSizeValue:()=>Ks,typeRampMinus2LineHeightValue:()=>Xs,typeRampPlus1FontSizeValue:()=>ed,typeRampPlus1LineHeightValue:()=>ad,typeRampPlus2FontSizeValue:()=>rd,typeRampPlus2LineHeightValue:()=>td,typeRampPlus3FontSizeValue:()=>od,typeRampPlus3LineHeightValue:()=>id,typeRampPlus4FontSizeValue:()=>nd,typeRampPlus4LineHeightValue:()=>ld,typeRampPlus5FontSizeValue:()=>gd,typeRampPlus5LineHeightValue:()=>sd,typeRampPlus6FontSizeValue:()=>dd,typeRampPlus6LineHeightValue:()=>cd});var l=r(1094),g=r(92592),s=r(86255),d=r(9492);const c=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,d.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,d.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,d.__classPrivateFieldGet)(this,o,"f")&&((0,d.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&(0,d.__classPrivateFieldSet)(this,r,(0,d.__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,d.__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,d.__classPrivateFieldGet)(this,t,"f")!==(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let g=!1;return"connect"===e?(0,d.__classPrivateFieldSet)(this,t,null!==(a=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(g=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,g,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(g=l,(0,d.__classPrivateFieldSet)(this,t,null!==(o=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,d.__classPrivateFieldGet)(this,i,"f"))),g},g=function e(r){var t;if(!0===r.getRootNode()[p])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,d.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},s},p=Symbol("layout-cache-document");var u=r(86776),h=r.n(u),m=r(60724),b=r(79292),v=r(99667),f=r(41663),w=r(67973);const y=b.css`
2
2
  :host {
3
3
  border: calc(${f.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -54,7 +54,7 @@
54
54
  background: ${w.H.Canvas};
55
55
  border-color: ${w.H.CanvasText};
56
56
  }
57
- `)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(355);const z=(0,k.createLogger)("foundation-form"),S=b.html`
57
+ `)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(8434);const z=(0,k.createLogger)("foundation-form"),S=b.html`
58
58
  <template>
59
59
  ${(0,b.when)((e=>!1),b.html`
60
60
  <zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
@@ -295,7 +295,7 @@
295
295
  </control-wrapper>
296
296
  </template>
297
297
  `)(e.prefix)}
298
- `,tester:(0,m.yMz)(3,_),mapper:m.xq9};var H=r(74700);const V=e=>a=>{if(!a||!(0,m.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},Y=(0,m.xDy)(V("allOptionsResourceName"),(0,m.or)((0,m.wcO)((e=>(0,m.ndu)(e,"array"))),(0,m.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.ndu)(e,"array")))))));H.MultiselectDatasource;const Q={renderer:b.html`
298
+ `,tester:(0,m.yMz)(3,_),mapper:m.xq9};var H=r(52874);const V=e=>a=>{if(!a||!(0,m.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},Y=(0,m.xDy)(V("allOptionsResourceName"),(0,m.or)((0,m.wcO)((e=>(0,m.ndu)(e,"array"))),(0,m.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.ndu)(e,"array")))))));H.MultiselectDatasource;const Q={renderer:b.html`
299
299
  ${e=>((e="zero")=>b.html`
300
300
  <template>
301
301
  <control-wrapper
@@ -1398,7 +1398,7 @@
1398
1398
  --focus-stroke-outer: transparent;
1399
1399
  }
1400
1400
  ${po(e,a)}
1401
- `,shadowOptions:bo},ho));class fo extends H.Progress{}const wo=fo.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
1401
+ `,shadowOptions:bo},ho));class fo extends H.SystemHealthOverlay{}const wo=fo.compose(Object.assign({baseName:"system-health-overlay",template:H.foundationSystemHealthOverlayTemplate,styles:H.foundationSystemHealthOverlayStyles,shadowOptions:H.foundationSystemHealthOverlayShadowOptions},H.defaultSystemHealthOverlayConfig));class yo extends H.Progress{}const xo=yo.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
1402
1402
  ${(0,H.foundationProgressStyles)(e,a)}
1403
1403
  :host([appearance="secondary-teal"]) {
1404
1404
  --accent-foreground-rest: ${Se.teal};
@@ -1407,7 +1407,7 @@
1407
1407
  :host([appearance='secondary-orange']) {
1408
1408
  --accent-foreground-rest: ${Se.orange};
1409
1409
  }
1410
- `,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class yo extends H.ProgressRing{}const xo={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${ze.purple}"/>\n <stop offset="100%" stop-color="${ze.blue}"/>\n </linearGradient>\n </defs>\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n `},ko=yo.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>b.html`
1410
+ `,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class ko extends H.ProgressRing{}const zo={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${ze.purple}"/>\n <stop offset="100%" stop-color="${ze.blue}"/>\n </linearGradient>\n </defs>\n <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>\n <circle class="indeterminate-indicator-1" part="indeterminate-indicator-1" cx="8px" cy="8px" r="7px"></circle>\n </svg>\n `},So=ko.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>b.html`
1411
1411
  <template
1412
1412
  role="progressbar"
1413
1413
  aria-valuenow="${e=>e.value}"
@@ -1445,7 +1445,7 @@
1445
1445
  .indeterminate-indicator-1, .determinate {
1446
1446
  stroke: ${"url(#linear)"};
1447
1447
  }
1448
- `,shadowOptions:H.foundationProgressRingShadowOptions},xo));class zo extends H.Radio{}const So=zo.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
1448
+ `,shadowOptions:H.foundationProgressRingShadowOptions},zo));class Co extends H.Radio{}const $o=Co.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
1449
1449
  ${(0,H.foundationRadioStyles)(e,a)}
1450
1450
  :host {
1451
1451
  --primary-gradient-angle: -113.5deg;
@@ -1477,16 +1477,16 @@
1477
1477
  ${ze.purple}
1478
1478
  );
1479
1479
  }
1480
- `,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class Co extends H.RadioGroup{}const $o=Co.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
1480
+ `,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class Ao extends H.RadioGroup{}const Oo=Ao.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
1481
1481
  ${(0,H.foundationRadioGroupStyles)(e,a)}
1482
1482
  :host([appearance="accent"]) {
1483
1483
  background: green;
1484
1484
  }
1485
- `,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),Ao=b.css`
1485
+ `,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),Fo=b.css`
1486
1486
  ${H.foundationSearchBarStyles}
1487
- `,Oo=b.html`
1487
+ `,To=b.html`
1488
1488
  ${(0,H.getPrefixedSearchBar)("zero")}
1489
- `;class Fo extends H.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const To=Fo.compose(Object.assign({baseName:"search-bar",template:Oo,styles:Ao,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class Do extends H.SearchBarCombobox{}const Ro=Do.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
1489
+ `;class Do extends H.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const Ro=Do.compose(Object.assign({baseName:"search-bar",template:To,styles:Fo,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class No extends H.SearchBarCombobox{}const Lo=No.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
1490
1490
  ${(0,H.foundationSearchBarComboboxStyles)(e,a)}
1491
1491
 
1492
1492
  :host {
@@ -1528,7 +1528,7 @@
1528
1528
  border-radius: 4px;
1529
1529
  border: 1px solid ${ke.lightGrey};
1530
1530
  }
1531
- `,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class No extends H.SegmentedControl{}const Lo=No.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
1531
+ `,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class Mo extends H.SegmentedControl{}const Io=Mo.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
1532
1532
  ${(0,H.foundationSegmentedControlStyles)(e,a)}
1533
1533
  :host {
1534
1534
  --primary-gradient-angle: -113.5deg;
@@ -1567,7 +1567,7 @@
1567
1567
  border-color: transparent;
1568
1568
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1569
1569
  }
1570
- `,shadowOptions:undefined},{}));class Mo extends H.Radio{}const Io=Mo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
1570
+ `,shadowOptions:undefined},{}));class jo extends H.Radio{}const Eo=jo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
1571
1571
  ${(0,H.foundationSegmentedItemStyles)(e,a)}
1572
1572
  :host {
1573
1573
  color: var(--neutral-stroke-rest);
@@ -1577,7 +1577,7 @@
1577
1577
  :host([aria-checked='true']) {
1578
1578
  color: ${ke.white};
1579
1579
  }
1580
- `,shadowOptions:undefined},{}));class jo extends H.Select{}const Eo=jo.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
1580
+ `,shadowOptions:undefined},{}));class Po extends H.Select{}const Bo=Po.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
1581
1581
  ${(0,H.foundationSelectStyles)(e,a)}
1582
1582
  :host {
1583
1583
  --primary-gradient-angle: -113.5deg;
@@ -1627,9 +1627,9 @@
1627
1627
  :host(:not([disabled])) .control:active {
1628
1628
  background: none;
1629
1629
  }
1630
- `,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class Po extends H.Skeleton{}const Bo=Po.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
1630
+ `,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class Go extends H.Skeleton{}const _o=Go.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
1631
1631
  ${(0,H.foundationSkeletonStyles)(e,a)}
1632
- `,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class Go extends H.Slider{}const _o=Go.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
1632
+ `,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class Uo extends H.Slider{}const Ho=Uo.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
1633
1633
  ${(0,H.foundationSliderStyles)(e,a)}
1634
1634
  :host {
1635
1635
  --primary-gradient-angle: -113.5deg;
@@ -1686,7 +1686,7 @@
1686
1686
  .track-progress {
1687
1687
  background-color: var(--neutral-stroke-rest);
1688
1688
  }
1689
- `,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class Uo extends H.SliderLabel{}const Ho=Uo.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
1689
+ `,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class Vo extends H.SliderLabel{}const Yo=Vo.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
1690
1690
  ${(0,H.foundationSliderLabelStyles)(e,a)}
1691
1691
  .label {
1692
1692
  padding: 6px 8px;
@@ -1697,7 +1697,7 @@
1697
1697
  text-align: center;
1698
1698
  font-size: var(--type-ramp-minus-1-font-size, 12px);
1699
1699
  }
1700
- `,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),Vo=b.css`
1700
+ `,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),Qo=b.css`
1701
1701
  ${H.foundationSnackbarStyles}
1702
1702
  .snackbar {
1703
1703
  border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer2};
@@ -1707,21 +1707,21 @@
1707
1707
  :host([type='error']) .snackbar::after {
1708
1708
  background-color: ${xa(1)};
1709
1709
  }
1710
- `,Yo=b.html`
1710
+ `,Wo=b.html`
1711
1711
  ${(0,H.getPrefixedSnackbar)("zero")}
1712
- `,Qo=H.foundationSnackbarShadowOptions;class Wo extends H.Snackbar{}const qo=Wo.compose({baseName:"snackbar",shadowOptions:Qo,styles:Vo,template:Yo});class Jo extends H.StackingIcons{}const Zo=Jo.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
1712
+ `,qo=H.foundationSnackbarShadowOptions;class Jo extends H.Snackbar{}const Zo=Jo.compose({baseName:"snackbar",shadowOptions:qo,styles:Qo,template:Wo});class Ko extends H.StackingIcons{}const Xo=Ko.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
1713
1713
  ${(0,H.foundationStackingIconsStyles)(e,a)}
1714
- `}),Ko=b.css`
1714
+ `}),ei=b.css`
1715
1715
  ${H.foundationStepperStyles}
1716
1716
 
1717
1717
  .stepper-tab {
1718
1718
  background-color: var(--neutral-layer-3);
1719
1719
  }
1720
- `,Xo=b.html`
1720
+ `,ai=b.html`
1721
1721
  ${(0,H.getPrefixedStepper)("zero")}
1722
- `;class ei extends H.Stepper{}const ai=ei.compose(Object.assign({baseName:"stepper",template:Xo,styles:Ko,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),ri=b.html`
1722
+ `;class ri extends H.Stepper{}const ti=ri.compose(Object.assign({baseName:"stepper",template:ai,styles:ei,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),oi=b.html`
1723
1723
  ${(0,H.getPrefixedStepperTab)("zero")}
1724
- `;class ti extends H.StepperTab{}const oi=ti.compose(Object.assign({baseName:"stepper-tab",template:ri,styles:(e,a)=>b.css`
1724
+ `;class ii extends H.StepperTab{}const ni=ii.compose(Object.assign({baseName:"stepper-tab",template:oi,styles:(e,a)=>b.css`
1725
1725
  ${(0,H.foundationStepperTabStyles)(e,a)}
1726
1726
 
1727
1727
  zero-tree-item {
@@ -1733,7 +1733,7 @@
1733
1733
 
1734
1734
  border-bottom: 1px solid var(--fill-color);
1735
1735
  }
1736
- `,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class ii extends H.StepperTabPanel{}const ni=ii.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig));class li extends H.Switch{}const gi=li.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
1736
+ `,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class li extends H.StepperTabPanel{}const gi=li.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig));class si extends H.Switch{}const di=si.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
1737
1737
  ${(0,H.foundationSwitchStyles)(e,a)}
1738
1738
  :host {
1739
1739
  --primary-gradient-angle: -113.5deg;
@@ -1778,7 +1778,7 @@
1778
1778
  ${ze.purple}
1779
1779
  );
1780
1780
  }
1781
- `,shadowOptions:H.foundationSwitchShadowOptions},H.defaultSwitchConfig));class si extends H.Tab{}const di=si.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
1781
+ `,shadowOptions:H.foundationSwitchShadowOptions},H.defaultSwitchConfig));class ci extends H.Tab{}const pi=ci.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
1782
1782
  ${(0,H.foundationTabStyles)(e,a)}
1783
1783
  :host {
1784
1784
  background-color: ${f.neutralLayer2};
@@ -1802,9 +1802,9 @@
1802
1802
  margin-right: 0;
1803
1803
  background-color: var(--zero-card-fill-color);
1804
1804
  }
1805
- `,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class ci extends H.TabPanel{}const pi=ci.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
1805
+ `,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class ui extends H.TabPanel{}const hi=ui.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
1806
1806
  ${(0,H.foundationTabPanelStyles)(e,a)}
1807
- `,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class ui extends H.Tabs{}const hi=ui.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
1807
+ `,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class mi extends H.Tabs{}const bi=mi.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
1808
1808
  ${(0,H.foundationTabsStyles)(e,a)}
1809
1809
  :host .tablist {
1810
1810
  padding: 0;
@@ -1850,7 +1850,7 @@
1850
1850
  height: 2px;
1851
1851
  margin-top: 0;
1852
1852
  }
1853
- `,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class mi extends H.TextArea{}const bi=mi.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
1853
+ `,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class vi extends H.TextArea{}const fi=vi.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
1854
1854
  ${(0,H.foundationTextAreaStyles)(e,a)}
1855
1855
  :host {
1856
1856
  --primary-gradient-angle: -113.5deg;
@@ -1895,7 +1895,7 @@
1895
1895
  color: ${vr};
1896
1896
  margin: calc(var(--design-unit) * 2px) 0;
1897
1897
  }
1898
- `,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class vi extends H.TextField{}const fi=vi.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:po,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),wi=b.css`
1898
+ `,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class wi extends H.TextField{}const yi=wi.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:po,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),xi=b.css`
1899
1899
  ${H.foundationToastStyles}
1900
1900
  .toast {
1901
1901
  border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer3};
@@ -1921,11 +1921,11 @@
1921
1921
  :host([notify='serious']) .toast::after {
1922
1922
  background-color: ${ba(1)};
1923
1923
  }
1924
- `,yi=H.defaultToastConfig,xi=H.foundationToastShadowOptions;class ki extends H.Toast{}const zi=ki.compose(Object.assign({baseName:"toast",shadowOptions:xi,styles:wi,template:H.foundationToastTemplate},yi));class Si extends H.Toolbar{}const Ci=Si.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
1924
+ `,ki=H.defaultToastConfig,zi=H.foundationToastShadowOptions;class Si extends H.Toast{}const Ci=Si.compose(Object.assign({baseName:"toast",shadowOptions:zi,styles:xi,template:H.foundationToastTemplate},ki));class $i extends H.Toolbar{}const Ai=$i.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
1925
1925
  ${(0,H.foundationToolbarStyles)(e,a)}
1926
- `,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class $i extends H.Tooltip{}const Ai=$i.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
1926
+ `,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class Oi extends H.Tooltip{}const Fi=Oi.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
1927
1927
  ${(0,H.foundationTooltipStyles)(e,a)}
1928
- `,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class Oi extends H.TreeItem{}const Fi=Oi.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
1928
+ `,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class Ti extends H.TreeItem{}const Di=Ti.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
1929
1929
  ${(0,H.foundationTreeItemStyles)(e,a)}
1930
1930
  :host {
1931
1931
  --primary-gradient-angle: -113.5deg;
@@ -1953,11 +1953,11 @@
1953
1953
  background-size: cover;
1954
1954
  background-repeat: no-repeat;
1955
1955
  }
1956
- `,shadowOptions:H.foundationTreeItemShadowOptions},H.defaultTreeItemConfig));class Ti extends H.TreeView{}const Di=Ti.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
1956
+ `,shadowOptions:H.foundationTreeItemShadowOptions},H.defaultTreeItemConfig));class Ri extends H.TreeView{}const Ni=Ri.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
1957
1957
  ${(0,H.foundationTreeViewStyles)(e,a)}
1958
- `,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),Ri=b.html`
1958
+ `,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),Li=b.html`
1959
1959
  ${(0,H.getPrefixedUrlInput)("zero")}
1960
- `;class Ni extends H.UrlInput{}const Li={zeroAccordion:Xe,zeroAccordionItem:aa,zeroActionsMenu:ta,zeroAnchor:ja,zeroAnchoredRegion:Pa,zeroAvatar:Ga,zeroBadge:Ua,zeroBanner:Qa,zeroBreadcrumbItem:Za,zeroBreadcrumb:qa,zeroButton:Xa,zeroCalendar:ar,zeroCard:tr,zeroCategorizedMultiselect:sr,zeroCheckbox:cr,zeroCombobox:Sr,zeroConnectionIndicator:$r,zeroDataGrid:Tr,zeroDesignSystemProvider:Pr,zeroDialog:Qr,zeroDatePicker:Nr,zeroDisclosure:qr,zeroDivider:Zr,zeroDropdownMenu:Xr,zeroErrorBoundary:it,zeroNotificationListener:co,zeroErrorBanner:tt,zeroErrorDialog:lt,zeroFileUpload:ut,zeroFilter:bt,zeroFilterBar:wt,zeroFlexLayout:xt,zeroFlipper:zt,zeroFlyout:Ft,zeroGridLayout:Dt,zeroGridLayoutItem:Nt,zeroHorizontalScroll:It,zeroIcon:Bt,zeroListbox:_t,zeroListboxOption:Ht,zeroMenu:Qt,zeroMenuItem:Jt,zeroModal:ro,zeroMultiselect:go,zeroNumberField:vo,zeroProgress:wo,zeroProgressRing:ko,zeroRadio:So,zeroRadioGroup:$o,zeroSearchBar:To,zeroSearchBarCombobox:Ro,zeroSegmentedControl:Lo,zeroSegmentedItem:Io,zeroSelect:Eo,zeroSkeleton:Bo,zeroSlider:_o,zeroSliderLabel:Ho,zeroSnackbar:qo,zeroStackingIcons:Zo,zeroStepper:ai,zeroStepperTab:oi,zeroStepperTabPanel:ni,zeroSwitch:gi,zeroTab:di,zeroTabPanel:pi,zeroTabs:hi,zeroTextArea:bi,zeroTextField:fi,zeroToast:zi,zeroToolbar:Ci,zeroTooltip:Ai,zeroTreeItem:Fi,zeroTreeView:Di,zeroUrlInput:Ni.compose(Object.assign({baseName:"url-input",template:Ri,styles:(e,a)=>b.css`
1960
+ `;class Mi extends H.UrlInput{}const Ii={zeroAccordion:Xe,zeroAccordionItem:aa,zeroActionsMenu:ta,zeroAnchor:ja,zeroAnchoredRegion:Pa,zeroAvatar:Ga,zeroBadge:Ua,zeroBanner:Qa,zeroBreadcrumbItem:Za,zeroBreadcrumb:qa,zeroButton:Xa,zeroCalendar:ar,zeroCard:tr,zeroCategorizedMultiselect:sr,zeroCheckbox:cr,zeroCombobox:Sr,zeroConnectionIndicator:$r,zeroDataGrid:Tr,zeroDesignSystemProvider:Pr,zeroDialog:Qr,zeroDatePicker:Nr,zeroDisclosure:qr,zeroDivider:Zr,zeroDropdownMenu:Xr,zeroErrorBoundary:it,zeroNotificationListener:co,zeroErrorBanner:tt,zeroErrorDialog:lt,zeroFileUpload:ut,zeroFilter:bt,zeroFilterBar:wt,zeroFlexLayout:xt,zeroFlipper:zt,zeroFlyout:Ft,zeroGridLayout:Dt,zeroGridLayoutItem:Nt,zeroHorizontalScroll:It,zeroIcon:Bt,zeroListbox:_t,zeroListboxOption:Ht,zeroMenu:Qt,zeroMenuItem:Jt,zeroModal:ro,zeroMultiselect:go,zeroNumberField:vo,zeroProgress:xo,zeroProgressRing:So,zeroRadio:$o,zeroRadioGroup:Oo,zeroSearchBar:Ro,zeroSearchBarCombobox:Lo,zeroSegmentedControl:Io,zeroSegmentedItem:Eo,zeroSelect:Bo,zeroSkeleton:_o,zeroSlider:Ho,zeroSliderLabel:Yo,zeroSnackbar:Zo,zeroStackingIcons:Xo,zeroStepper:ti,zeroStepperTab:ni,zeroStepperTabPanel:gi,zeroSwitch:di,zeroSystemHealthOverlay:wo,zeroTab:pi,zeroTabPanel:hi,zeroTabs:bi,zeroTextArea:fi,zeroTextField:yi,zeroToast:Ci,zeroToolbar:Ai,zeroTooltip:Fi,zeroTreeItem:Di,zeroTreeView:Ni,zeroUrlInput:Mi.compose(Object.assign({baseName:"url-input",template:Li,styles:(e,a)=>b.css`
1961
1961
  ${(0,H.foundationUrlInputStyles)(e,a)}
1962
1962
  a {
1963
1963
  color: ${ze.blue};
@@ -1967,23 +1967,23 @@
1967
1967
  a:hover {
1968
1968
  opacity: 100%;
1969
1969
  }
1970
- `,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Mi,Ii,ji=r(80249),Ei=r(87530),Pi=r.n(Ei),Bi=r(79014),Gi=r.n(Bi);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(Mi||(Mi={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(Ii||(Ii={}));const _i=e=>`${e}-token-map`,Ui=(e,a)=>b.css`
1971
- .${_i(e)} {
1970
+ `,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var ji,Ei,Pi=r(80249),Bi=r(87530),Gi=r.n(Bi),_i=r(79014),Ui=r.n(_i);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(ji||(ji={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(Ei||(Ei={}));const Hi=e=>`${e}-token-map`,Vi=(e,a)=>b.css`
1971
+ .${Hi(e)} {
1972
1972
  ${new H.CSSVarsTokenMapper(a)}
1973
1973
  }
1974
- `;var Hi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(Hi||(Hi={}));const Vi="__editedColumn",Yi="__errorColumn",Qi={},Wi=v.DI.createInterface((e=>e.instance(Qi)));var qi;!function(e){e.camelCase="camelCase",e.capitalCase="capitalCase",e.dotCase="dotCase",e.headerCase="headerCase",e.noCase="noCase",e.paramCase="paramCase",e.pascalCase="pascalCase",e.pathCase="pathCase",e.sentenceCase="sentenceCase",e.snakeCase="snakeCase"}(qi||(qi={})),Pi().extend(Gi());class Ji extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[Vi]}}(0,ji.__decorate)([b.observable],Ji.prototype,"value",void 0),(0,ji.__decorate)([b.observable],Ji.prototype,"actualWidth",void 0);const Zi=b.css`
1974
+ `;var Yi;!function(e){e.action="action",e.actionsMenu="actionsMenu",e.boolean="boolean",e.editable="editable",e.text="text",e.select="select",e.dateEditor="dateEditor",e.selectEditor="selectEditor",e.numberEditor="numberEditor",e.stringEditor="stringEditor",e.multiselectEditor="multiselectEditor"}(Yi||(Yi={}));const Qi="__editedColumn",Wi="__errorColumn",qi={},Ji=v.DI.createInterface((e=>e.instance(qi)));var Zi;!function(e){e.camelCase="camelCase",e.capitalCase="capitalCase",e.dotCase="dotCase",e.headerCase="headerCase",e.noCase="noCase",e.paramCase="paramCase",e.pascalCase="pascalCase",e.pathCase="pathCase",e.sentenceCase="sentenceCase",e.snakeCase="snakeCase"}(Zi||(Zi={})),Gi().extend(Ui());class Ki extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.dateFormat=e.withTime?"YYYY-MM-DDTHH:mm":"YYYY-MM-DD",this.inputType=e.withTime?"datetime-local":"date",this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}changeHandler(e){const a=e.target.control.valueAsNumber;this.value=isNaN(a)?void 0:a}afterGuiAttached(){this.input.focus()}isCancelBeforeStart(){return!!this.params.data[Qi]}}(0,Pi.__decorate)([b.observable],Ki.prototype,"value",void 0),(0,Pi.__decorate)([b.observable],Ki.prototype,"actualWidth",void 0);const Xi=b.css`
1975
1975
  :host {
1976
1976
  display: flex;
1977
1977
  }
1978
- `,Ki=(e="foundation")=>b.html`
1978
+ `,en=(e="foundation")=>b.html`
1979
1979
  <${e}-text-field
1980
1980
  ${(0,b.ref)("input")}
1981
- :value=${e=>void 0===e.value||null===e.value?"":Pi().utc(e.value).format(e.dateFormat)}
1981
+ :value=${e=>void 0===e.value||null===e.value?"":Gi().utc(e.value).format(e.dateFormat)}
1982
1982
  type=${e=>e.inputType}
1983
1983
  @input=${(e,a)=>e.changeHandler(a.event)}
1984
1984
  style="width: ${e=>e.actualWidth}px"
1985
1985
  ></${e}-text-field>
1986
- `,Xi=Ji.compose({baseName:"date-editor",styles:Zi,template:Ki()});class en extends Ji{}const an=en.compose({baseName:"date-editor",styles:Zi,template:Ki("zero")});class rn extends v.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[Vi]}}(0,ji.__decorate)([b.observable],rn.prototype,"params",void 0),(0,ji.__decorate)([b.observable],rn.prototype,"selectedOptions",void 0);const tn=b.css``,on=(e="foundation")=>b.html`
1986
+ `,an=Ki.compose({baseName:"date-editor",styles:Xi,template:en()});class rn extends Ki{}const tn=rn.compose({baseName:"date-editor",styles:Xi,template:en("zero")});class on extends v.FoundationElement{init(e){e&&(this.params=e,this.selectedOptions=e.value,this.params.selectedOptionsCallback&&this.params.selectedOptionsCallback(this.params.data).then((e=>{this.selectedOptions=e})),"string"==typeof e.value&&(this.selectedOptions=e.value.split(",")))}getGui(){return this}destroy(){}refresh(e){return!0}getValue(){return this.selectedOptions}isPopup(){return!0}changeHandler(e){this.selectedOptions=e.detail}isCancelBeforeStart(){return!!this.params.data[Qi]}}(0,Pi.__decorate)([b.observable],on.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],on.prototype,"selectedOptions",void 0);const nn=b.css``,ln=(e="foundation")=>b.html`
1987
1987
  <${e}-multiselect
1988
1988
  style="width: 100%"
1989
1989
  ?async=${e=>e.params.async}
@@ -1997,7 +1997,7 @@
1997
1997
  :datasourceConfig=${e=>e.params.datasourceOptions}
1998
1998
  ></multiselect-datasource>
1999
1999
  </${e}-multiselect>
2000
- `,nn=rn.compose({baseName:"multiselect-editor",styles:tn,template:on()});class ln extends rn{}const gn=ln.compose({baseName:"multiselect-editor",styles:tn,template:on("zero")});class sn extends v.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[Vi]}}(0,ji.__decorate)([b.observable],sn.prototype,"params",void 0),(0,ji.__decorate)([b.observable],sn.prototype,"value",void 0),(0,ji.__decorate)([b.observable],sn.prototype,"actualWidth",void 0);const dn=b.css``,cn=(e="foundation")=>b.html`
2000
+ `,gn=on.compose({baseName:"multiselect-editor",styles:nn,template:ln()});class sn extends on{}const dn=sn.compose({baseName:"multiselect-editor",styles:nn,template:ln("zero")});class cn extends v.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[Qi]}}(0,Pi.__decorate)([b.observable],cn.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],cn.prototype,"value",void 0),(0,Pi.__decorate)([b.observable],cn.prototype,"actualWidth",void 0);const pn=b.css``,un=(e="foundation")=>b.html`
2001
2001
  <${e}-combobox
2002
2002
  style="width: ${e=>e.actualWidth}px"
2003
2003
  ${(0,b.ref)("combobox")}
@@ -2014,11 +2014,11 @@
2014
2014
  :initialSelectedValue=${e=>e.params.value}
2015
2015
  ></options-datasource>
2016
2016
  </${e}-combobox>
2017
- `,pn=sn.compose({baseName:"select-editor",styles:dn,template:cn()});class un extends sn{}const hn=un.compose({baseName:"select-editor",styles:dn,template:cn("zero")});class mn extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[Vi]}}(0,ji.__decorate)([b.observable],mn.prototype,"params",void 0),(0,ji.__decorate)([b.observable],mn.prototype,"value",void 0),(0,ji.__decorate)([b.observable],mn.prototype,"actualWidth",void 0);const bn=b.css`
2017
+ `,hn=cn.compose({baseName:"select-editor",styles:pn,template:un()});class mn extends cn{}const bn=mn.compose({baseName:"select-editor",styles:pn,template:un("zero")});class vn extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[Qi]}}(0,Pi.__decorate)([b.observable],vn.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],vn.prototype,"value",void 0),(0,Pi.__decorate)([b.observable],vn.prototype,"actualWidth",void 0);const fn=b.css`
2018
2018
  :host {
2019
2019
  display: flex;
2020
2020
  }
2021
- `,vn=(e="foundation")=>b.html`
2021
+ `,wn=(e="foundation")=>b.html`
2022
2022
  <${e}-number-field
2023
2023
  ${(0,b.ref)("input")}
2024
2024
  withFormatting=${e=>e.params.withFormatting}
@@ -2030,11 +2030,11 @@
2030
2030
  hideStep
2031
2031
  style="width: ${e=>e.actualWidth}px"
2032
2032
  ></${e}-number-field>
2033
- `,fn=mn.compose({baseName:"number-editor",styles:bn,template:vn()});class wn extends mn{}const yn=wn.compose({baseName:"number-editor",styles:bn,template:vn("zero")});class xn extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[Vi]}}(0,ji.__decorate)([b.observable],xn.prototype,"params",void 0),(0,ji.__decorate)([b.observable],xn.prototype,"value",void 0),(0,ji.__decorate)([b.observable],xn.prototype,"actualWidth",void 0);const kn=b.css`
2033
+ `,yn=vn.compose({baseName:"number-editor",styles:fn,template:wn()});class xn extends vn{}const kn=xn.compose({baseName:"number-editor",styles:fn,template:wn("zero")});class zn extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[Qi]}}(0,Pi.__decorate)([b.observable],zn.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],zn.prototype,"value",void 0),(0,Pi.__decorate)([b.observable],zn.prototype,"actualWidth",void 0);const Sn=b.css`
2034
2034
  :host {
2035
2035
  display: flex;
2036
2036
  }
2037
- `,zn=(e="foundation")=>b.html`
2037
+ `,Cn=(e="foundation")=>b.html`
2038
2038
  <${e}-text-field
2039
2039
  ${(0,b.ref)("input")}
2040
2040
  :value=${e=>void 0===e.value?"":e.value}
@@ -2043,16 +2043,16 @@
2043
2043
  style="width: ${e=>e.actualWidth}px"
2044
2044
  >
2045
2045
  </${e}-text-field>
2046
- `,Sn=xn.compose({baseName:"string-editor",styles:kn,template:zn()});class Cn extends xn{}const $n=Cn.compose({baseName:"string-editor",styles:kn,template:zn("zero")});class An extends v.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,ji.__decorate)([b.observable],An.prototype,"valueFormatted",void 0);const On=b.css`
2046
+ `,$n=zn.compose({baseName:"string-editor",styles:Sn,template:Cn()});class An extends zn{}const On=An.compose({baseName:"string-editor",styles:Sn,template:Cn("zero")});class Fn extends v.FoundationElement{init(e){e&&(this.valueFormatted=e.formatValue(e.value))}getGui(){return this}refresh(e){return this.valueFormatted=e.formatValue(e.value),!0}}(0,Pi.__decorate)([b.observable],Fn.prototype,"valueFormatted",void 0);const Tn=b.css`
2047
2047
  :host {
2048
2048
  display: flex;
2049
2049
  justify-content: space-between;
2050
2050
  align-items: center;
2051
2051
  }
2052
- `,Fn=(e="foundation")=>b.html`
2052
+ `,Dn=(e="foundation")=>b.html`
2053
2053
  <span>${e=>e.valueFormatted}</span>
2054
2054
  <${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
2055
- `,Tn=An.compose({baseName:"editable-renderer",styles:On,template:Fn()});class Dn extends An{}const Rn=Dn.compose({baseName:"editable-renderer",styles:On,template:Fn("zero")});var Nn=r(59783);const Ln=(0,k.createLogger)("grid-pro");class Mn extends v.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Nn.VDZ.ENTER&&this.clickHandler()})))}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Ln.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,ji.__decorate)([b.observable],Mn.prototype,"params",void 0),(0,ji.__decorate)([b.observable],Mn.prototype,"pendingAction",void 0);const{create:In}=v.DesignToken,jn=(In("action-height-multiplier").withDefault("0.6px"),b.css`
2055
+ `,Rn=Fn.compose({baseName:"editable-renderer",styles:Tn,template:Dn()});class Nn extends Fn{}const Ln=Nn.compose({baseName:"editable-renderer",styles:Tn,template:Dn("zero")});var Mn=r(59783);const In=(0,k.createLogger)("grid-pro");class jn extends v.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Mn.VDZ.ENTER&&this.clickHandler()})))}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){In.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,Pi.__decorate)([b.observable],jn.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],jn.prototype,"pendingAction",void 0);const{create:En}=v.DesignToken,Pn=(En("action-height-multiplier").withDefault("0.6px"),b.css`
2056
2056
  .action-container {
2057
2057
  align-items: center;
2058
2058
  display: flex;
@@ -2067,8 +2067,8 @@
2067
2067
  var(--action-height-multiplier)
2068
2068
  );
2069
2069
  }
2070
- `),En=Mn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2071
- ${jn}
2070
+ `),Bn=jn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2071
+ ${Pn}
2072
2072
  `,template:b.html`
2073
2073
  <div class="action-container" part="action-container">
2074
2074
  <foundation-button
@@ -2078,8 +2078,8 @@
2078
2078
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
2079
2079
  appearance="${e=>e.params.appearance}"
2080
2080
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
2081
- </div>`});class Pn extends Mn{}const Bn=Pn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2082
- ${jn}
2081
+ </div>`});class Gn extends jn{}const _n=Gn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2082
+ ${Pn}
2083
2083
  `,template:b.html`
2084
2084
  <div class="action-container" part="action-container">
2085
2085
  <zero-button
@@ -2096,29 +2096,29 @@
2096
2096
  `:e.params.actionName}
2097
2097
  </zero-button>
2098
2098
  </div>
2099
- `});class Gn extends v.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,ji.__decorate)([b.observable],Gn.prototype,"params",void 0);const _n=Gn.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2099
+ `});class Un extends v.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Pi.__decorate)([b.observable],Un.prototype,"params",void 0);const Hn=Un.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2100
2100
  <foundation-actions-menu
2101
2101
  name="${e=>e.params.headerName}"
2102
2102
  :definition=${e=>e.params}
2103
2103
  ></foundation-actions-menu>
2104
- `});class Un extends Gn{}const Hn=Un.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2104
+ `});class Vn extends Un{}const Yn=Vn.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2105
2105
  <zero-actions-menu
2106
2106
  name="${e=>e.params.headerName}"
2107
2107
  :definition=${e=>e.params}
2108
2108
  ></zero-actions-menu>
2109
- `});class Vn extends v.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:Nn.zW2.EVENT_CELL_EDITING_STARTED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t};this.params.api.dispatchEvent(o);const i=this.params.node.setDataValue(this.params.column,this.selected,"edit"),n={type:Nn.zW2.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[Vi]}}(0,ji.__decorate)([b.observable],Vn.prototype,"params",void 0),(0,ji.__decorate)([b.observable],Vn.prototype,"selected",void 0);const Yn=b.css`
2109
+ `});class Qn extends v.FoundationElement{init(e){e&&(this.params=e,this.selected=e.value)}changeHandler(e){this.selected=e.target.checked;if(!!!this.params.api.getEditingCells().find((e=>e.rowIndex===this.params.rowIndex&&e.column.getInstanceId()===this.params.column.getInstanceId()))){const{column:e,node:a,rowIndex:r,value:t}=this.params,o={type:Mn.zW2.EVENT_CELL_EDITING_STARTED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t};this.params.api.dispatchEvent(o);const i=this.params.node.setDataValue(this.params.column,this.selected,"edit"),n={type:Mn.zW2.EVENT_CELL_EDITING_STOPPED,column:e,colDef:null==e?void 0:e.getColDef(),data:a.data,node:a,rowIndex:r,rowPinned:a.rowPinned,value:t,oldValue:t,newValue:this.selected,valueChanged:i};this.params.api.dispatchEvent(n)}}getGui(){return this}destroy(){}refresh(e){return this.selected=e.value,!0}getValue(){return this.selected}isCancelBeforeStart(){return!!this.params.data[Qi]}}(0,Pi.__decorate)([b.observable],Qn.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],Qn.prototype,"selected",void 0);const Wn=b.css`
2110
2110
  :host {
2111
2111
  align-center: center;
2112
2112
  display: flex;
2113
2113
  height: 100%;
2114
2114
  }
2115
- `,Qn=(e="foundation")=>{const a=`${e}-checkbox`;return b.html`
2115
+ `,qn=(e="foundation")=>{const a=`${e}-checkbox`;return b.html`
2116
2116
  <${a}
2117
2117
  @change=${(e,a)=>e.changeHandler(a.event)}
2118
2118
  :checked=${e=>e.selected}
2119
2119
  ?disabled=${e=>!e.params.colDef.editable}
2120
2120
  ></${a}>
2121
- `},Wn=Vn.compose({baseName:"boolean-renderer",styles:Yn,template:Qn()});class qn extends Vn{}const Jn=qn.compose({baseName:"boolean-renderer",styles:Yn,template:Qn("zero")});var Zn=r(18471);const Kn=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class Xn extends v.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?Kn(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,ji.__decorate)([b.observable],Xn.prototype,"textValue",void 0),(0,ji.__decorate)([b.observable],Xn.prototype,"params",void 0);const el=b.css`
2121
+ `},Jn=Qn.compose({baseName:"boolean-renderer",styles:Wn,template:qn()});class Zn extends Qn{}const Kn=Zn.compose({baseName:"boolean-renderer",styles:Wn,template:qn("zero")});var Xn=r(18471);const el=(e,a)=>{if(a.indexOf(".")<0)return e[a];{const r=a.split(".");let t=e;for(;r.length>0&&t;){const e=r.shift();if(0===r.length)return t[e];t=t[e]}}};class al extends v.FoundationElement{constructor(){super(...arguments),this.textValue="",this.textChanged=e=>{this.textValue=e.target.value,this.params.onChange(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.textValue=""===this.textValue?el(null===(a=null==e?void 0:e.node)||void 0===a?void 0:a.data,e.accessor):this.textValue)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Pi.__decorate)([b.observable],al.prototype,"textValue",void 0),(0,Pi.__decorate)([b.observable],al.prototype,"params",void 0);const rl=b.css`
2122
2122
  :host {
2123
2123
  display: flex;
2124
2124
  width: 100%;
@@ -2128,15 +2128,15 @@
2128
2128
  .text-renderer {
2129
2129
  width: 100%;
2130
2130
  }
2131
- `,al=(e="foundation")=>{const a=`${e}-text-field`;return b.html`
2131
+ `,tl=(e="foundation")=>{const a=`${e}-text-field`;return b.html`
2132
2132
  <${a}
2133
2133
  ${(0,b.ref)("textField")}
2134
2134
  type="text"
2135
2135
  class="text-renderer"
2136
- :value="${(0,Zn.Z)((e=>e.textValue))}"
2136
+ :value="${(0,Xn.Z)((e=>e.textValue))}"
2137
2137
  @change="${(e,a)=>e.textChanged(a.event)}"
2138
2138
  ></${a}>
2139
- `},rl=Xn.compose({baseName:"grid-pro-text-renderer",styles:el,template:al()});class tl extends Xn{}const ol=el,il=al,nl=tl.compose({baseName:"grid-text-renderer",styles:ol,template:il()});const ll=class extends tl{}.compose({baseName:"grid-text-renderer",styles:ol,template:il("zero")});class gl extends v.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=Kn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,ji.__decorate)([b.observable],gl.prototype,"params",void 0),(0,ji.__decorate)([b.observable],gl.prototype,"value",void 0);const sl=b.css`
2139
+ `},ol=al.compose({baseName:"grid-pro-text-renderer",styles:rl,template:tl()});class il extends al{}const nl=rl,ll=tl,gl=il.compose({baseName:"grid-text-renderer",styles:nl,template:ll()});const sl=class extends il{}.compose({baseName:"grid-text-renderer",styles:nl,template:ll("zero")});class dl extends v.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=el(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Pi.__decorate)([b.observable],dl.prototype,"params",void 0),(0,Pi.__decorate)([b.observable],dl.prototype,"value",void 0);const cl=b.css`
2140
2140
  :host,
2141
2141
  .select-renderer,
2142
2142
  zero-option,
@@ -2145,7 +2145,7 @@
2145
2145
  max-width: var(--select-renderer-max-width);
2146
2146
  min-width: 100%;
2147
2147
  }
2148
- `,dl=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
2148
+ `,pl=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
2149
2149
  <${a}
2150
2150
  class="select-renderer"
2151
2151
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -2161,15 +2161,15 @@
2161
2161
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
2162
2162
  `)}
2163
2163
  </${a}>
2164
- `},cl=gl.compose({baseName:"select-renderer",styles:sl,template:dl()});const pl=class extends gl{}.compose({baseName:"select-renderer",styles:sl,template:dl("zero")});var ul=r(89861),hl=r(86534);var ml=r(75951),bl=r(9770),vl=r(97025),fl=r(40001),wl=r.n(fl);const yl=b.html`
2164
+ `},ul=dl.compose({baseName:"select-renderer",styles:cl,template:pl()});const hl=class extends dl{}.compose({baseName:"select-renderer",styles:cl,template:pl("zero")});var ml=r(89861),bl=r(86534),vl=r(68479),fl=r(75951),wl=r(9770),yl=r(97025),xl=r(40001),kl=r.n(xl);const zl=b.html`
2165
2165
  <template>
2166
2166
  <slot ${(0,b.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2167
2167
  </template>
2168
- `;let xl=class extends v.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,ji.__decorate)([b.observable],xl.prototype,"renderer",void 0),(0,ji.__decorate)([b.observable],xl.prototype,"rendererParams",void 0),(0,ji.__decorate)([b.observable],xl.prototype,"slottedRenderer",void 0),xl=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-cell",template:yl})],xl);const kl=b.html`
2168
+ `;let Sl=class extends v.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,Pi.__decorate)([b.observable],Sl.prototype,"renderer",void 0),(0,Pi.__decorate)([b.observable],Sl.prototype,"rendererParams",void 0),(0,Pi.__decorate)([b.observable],Sl.prototype,"slottedRenderer",void 0),Sl=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-cell",template:zl})],Sl);const Cl=b.html`
2169
2169
  <template>
2170
2170
  <slot ${(0,b.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2171
2171
  </template>
2172
- `;let zl=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,ji.__decorate)([b.observable],zl.prototype,"slottedAgCell",void 0),(0,ji.__decorate)([b.observable],zl.prototype,"definition",void 0),zl=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:kl})],zl);var Sl=r(82940),Cl=r(32449),$l=r(9162),Al=r(5127),Ol=r(35991),Fl=r(6852),Tl=r(26714),Dl=r(2480),Rl=r(71452),Nl=r(99449),Ll=r(30526),Ml=r(61080),Il=r(83123),jl=r(22296),El=r(21607);function Pl(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 Bl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Gl({value:e}){return(0,El.D_)(e)}function _l({value:e}){return(0,El.Lx)(e)}class Ul extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Sl.WJ.MAX_ROWS_250,this.maxView=Sl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Sl.WJ.REQUEST_SERVER_ROW_ID:Sl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Sl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Sl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Sl.WJ.REQUEST_SERVER_ROW_ID:Sl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var Hl;(0,ji.__decorate)([s.lj],Ul.prototype,"connect",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"deferredGridOptions",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"deferredColumnStates",void 0),(0,ji.__decorate)([b.observable],Ul.prototype,"rowDataMapper",void 0),(0,ji.__decorate)([b.attr],Ul.prototype,"criteria",void 0),(0,ji.__decorate)([b.attr],Ul.prototype,"fields",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],Ul.prototype,"isSnapshot",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"max-rows"})],Ul.prototype,"maxRows",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"max-view"})],Ul.prototype,"maxView",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],Ul.prototype,"movingView",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"order-by"})],Ul.prototype,"orderBy",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"resource-name"})],Ul.prototype,"resourceName",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean"})],Ul.prototype,"reverse",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"row-id"})],Ul.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Hl||(Hl={}));class Vl extends Ul{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}generateColumnDefsFromMetadata(e,a){return null==e?void 0:e.flatMap((e=>{var r;const t={};switch(t.filterParams=a(e.type),e.type){case Il.r.STRING:t.cellEditor=Hi.stringEditor;break;case Il.r.NUMBER:t.cellEditor=Hi.numberEditor;break;case Il.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Hi.boolean,t.cellEditor=Hi.boolean);break;case Il.r.DATE:t.valueFormatter=Gl,t.cellEditor=Hi.dateEditor;break;case Il.r.DATETIME:t.valueFormatter=_l,t.cellEditor=Hi.dateEditor,t.cellEditorParams={withTime:!0};break;case Il.r.ENUM:e.enumOptions?(t.cellEditor=Hi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):jl.k.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const o=null===(r=this.agGrid.gridApi)||void 0===r?void 0:r.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Bl(e.type),filter:Pl(e.type)},t),o)}))}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(){var e,a,r;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());(null===(e=this.agTransaction.add)||void 0===e?void 0:e.length)>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},Hl.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Hl.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Hl.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(Hl)){if(!this.rowDataMapper)return e;const r={};return a.includes(Hl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(Hl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(Hl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Yl{constructor(){this.rowData=new Map}}function Ql(e){switch(e){case Il.r.DATE:case Il.r.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}let Wl=class extends(c(Vl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Sl.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Tl.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;b.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;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const r=yield this.connect.getMetadata(this.resourceName);if(!r){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return Ln.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===Sl._g.REQUEST_SERVER;const t=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},t),this.agGrid.addEventListener("onGridReady",(()=>(0,ji.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const o=600;this.updateSub=this.update.pipe((0,Rl.T)(1),(0,Nl.b)(o),(0,Ll.b)((e=>Ln.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Ln.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Tl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}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&&!this.keepColDefsOnClearRowData&&(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,ji.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,ji.__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,ji.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Ln.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 Ln.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Ml.K)((e=>(this.handleErrors(e.receivedMessage),Dl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===$l.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Al.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Al.$)(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 Ln.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,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Ql);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,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,ji.__decorate)([Ol.g],Wl.prototype,"auth",void 0),(0,ji.__decorate)([Fl.Yh],Wl.prototype,"datasource",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"polling-interval"})],Wl.prototype,"pollingInterval",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],Wl.prototype,"disablePolling",void 0),(0,ji.__decorate)([b.observable],Wl.prototype,"request",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Wl.prototype,"restartOnReconnection",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],Wl.prototype,"keepColDefsOnClearRowData",void 0),Wl=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],Wl);let ql=class extends Wl{};ql=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],ql);var Jl=r(66306),Zl=r(52078);function Kl(e){switch(e){case Il.r.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Il.r.DATE:case Il.r.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Il.r.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}class Xl extends Yl{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,ji.__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 Ln.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/"),Ln.debug("Available indexes:",a),Ln.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,Zl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===$l.Cs.LOGOFF_ACK||t===$l.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,Al.$)(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,ji.__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,ji.__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=>Ln.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,ji.__decorate)([Ol.g],Xl.prototype,"auth",void 0),(0,ji.__decorate)([s.lj],Xl.prototype,"connect",void 0);let eg=class extends(c(Vl)){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,ji.__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;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.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,ji.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Ln.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Jl.C)(e);const a=(0,Jl.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Xl({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});Ln.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));Ln.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 Ln.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,ji.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===$l.Cs.QUERY_UPDATE&&e.ROW){const r=(0,Al.$)(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=>Ln.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,ji.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Kl);a.map((e=>({sortable:[].concat(...this.indexes.values()).includes(e.field)})));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,ji.__decorate)([(0,b.attr)({mode:"boolean"})],eg.prototype,"pagination",void 0),eg=(0,ji.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],eg);const ag='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAA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hsVcU2yXhBHu+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',rg='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a5qUUJ3i2yOTKBKGtAEZjDQ/79r5Z9JJgO0QJTwIt61qrKvDlDoCuP7P/w2/773RBsEC9gwEHQ884EFwsNiYDQqizIKCyNh1ayqcJH+M1lE4yJZuf0JLTfgdHNvseRobBRAwGBuVQKzJwnlrC2j0h1WndeaR8acU+fTftMv+IgvtuJeOZP9qfnXXNJ/nz0sdsqYLX3/bccgSgISTwjfXQjUrV14PoMQ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-style: normal;\n }\n',tg={[Ii.alpine]:ag,[Ii.alpineDark]:ag,[Ii.balham]:rg,[Ii.balhamDark]:rg,[Ii.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU8jcamQigXK1UFkBoXGOSirP22bKJBeriEyKFKLF7ApHF2cslXcTZUOdQ9GypSIYfXSKoUsTiLtq2oYVCg9waGz9Gb0IKKzj0gNMtwgGptnTXVZcdTUqUJ9nII9zZYrIIqAaglVkSlOzY65X7msQ1WsjqE9ZeXZaQERzutqaDhP33SSojDkSuy0tGhJK4TKK3QzI7m73upywg2//HcOv8HYgNuxzN9yny6wS+Oij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Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},og=ag,ig=b.css`
2172
+ `;let $l=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,Pi.__decorate)([b.observable],$l.prototype,"slottedAgCell",void 0),(0,Pi.__decorate)([b.observable],$l.prototype,"definition",void 0),$l=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Cl})],$l);var Al=r(82940),Ol=r(32449),Fl=r(9162),Tl=r(5127),Dl=r(42780),Rl=r(6852),Nl=r(26714),Ll=r(2480),Ml=r(71452),Il=r(99449),jl=r(30526),El=r(61080),Pl=r(83123),Bl=r(22296),Gl=r(21607);function _l(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"agNumberColumnFilter";case"date":case"datetime":return"agDateColumnFilter";default:return"agTextColumnFilter"}}function Ul(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function Hl({value:e}){return(0,Gl.D_)(e)}function Vl({value:e}){return(0,Gl.Lx)(e)}class Yl extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Al.WJ.MAX_ROWS_250,this.maxView=Al.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Al.WJ.REQUEST_SERVER_ROW_ID:Al.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Al.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Al.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Al.WJ.REQUEST_SERVER_ROW_ID:Al.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var Ql;(0,Pi.__decorate)([s.lj],Yl.prototype,"connect",void 0),(0,Pi.__decorate)([b.observable],Yl.prototype,"deferredGridOptions",void 0),(0,Pi.__decorate)([b.observable],Yl.prototype,"deferredColumnStates",void 0),(0,Pi.__decorate)([b.observable],Yl.prototype,"rowDataMapper",void 0),(0,Pi.__decorate)([b.attr],Yl.prototype,"criteria",void 0),(0,Pi.__decorate)([b.attr],Yl.prototype,"fields",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],Yl.prototype,"isSnapshot",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-rows"})],Yl.prototype,"maxRows",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"max-view"})],Yl.prototype,"maxView",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],Yl.prototype,"movingView",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"order-by"})],Yl.prototype,"orderBy",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"resource-name"})],Yl.prototype,"resourceName",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],Yl.prototype,"reverse",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"row-id"})],Yl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Ql||(Ql={}));class Wl extends Yl{constructor(){super(...arguments),this.dataSubWasLoggedOff=!1,this.rowData=new Map,this.agTransaction={add:[],remove:[],update:[]}}generateColumnDefsFromMetadata(e,a){return null==e?void 0:e.flatMap((e=>{var r;const t={};switch(t.filterParams=a(e.type),e.type){case Pl.r.STRING:t.cellEditor=Yi.stringEditor;break;case Pl.r.NUMBER:t.cellEditor=Yi.numberEditor;break;case Pl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Yi.boolean,t.cellEditor=Yi.boolean);break;case Pl.r.DATE:t.valueFormatter=Hl,t.cellEditor=Yi.dateEditor;break;case Pl.r.DATETIME:t.valueFormatter=Vl,t.cellEditor=Yi.dateEditor,t.cellEditorParams={withTime:!0};break;case Pl.r.ENUM:e.enumOptions?(t.cellEditor=Yi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Bl.k.warn(`No enumOptions found for field ${e.name}. Default cell editor applied.`)}const o=null===(r=this.agGrid.gridApi)||void 0===r?void 0:r.getColumnDef(e.name);return this.fields&&!this.fields.includes(e.name)?[]:Object.assign(Object.assign({field:e.name,type:Ul(e.type),filter:_l(e.type)},t),o)}))}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(){var e,a,r;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());(null===(e=this.agTransaction.add)||void 0===e?void 0:e.length)>0&&this.applyMappedAgTransaction({add:this.agTransaction.add,addIndex:this.agGrid.addIndex},Ql.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Ql.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Ql.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(Ql)){if(!this.rowDataMapper)return e;const r={};return a.includes(Ql.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(Ql.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(Ql.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class ql{constructor(){this.rowData=new Map}}function Jl(e){switch(e){case Pl.r.DATE:case Pl.r.DATETIME:return{comparator:function(e,a){if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0}}}let Zl=class extends(c(Wl)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=Al.WJ.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Nl.X(new Map)}criteriaChanged(e,a){const r=e!==(0,Ol.p)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.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;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)&&this.connect.isConnected){const r=yield this.connect.getMetadata(this.resourceName);if(!r){const e=`No metadata found for ${this.resourceName}, datasource will not work. Falling back to local columnDefs/rowData.`;return In.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===Al._g.REQUEST_SERVER;const t=Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},t),this.agGrid.addEventListener("onGridReady",(()=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const o=600;this.updateSub=this.update.pipe((0,Ml.T)(1),(0,Il.b)(o),(0,jl.b)((e=>In.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else In.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){var e;In.debug("GridProGenesisDatasource.reset()",this.resourceName),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,null===(e=this.update)||void 0===e||e.unsubscribe(),this.update=new Nl.X(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.deinit()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.deinit(),this.init(e,a)}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&&!this.keepColDefsOnClearRowData&&(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,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=null===(a=this.agGrid.gridApi)||void 0===a?void 0:a.getColumnDefs();if(!r||0===r.length){const e=yield this.getAgColumnDefs(this.datasource.fieldMetadata);e&&(e.forEach((e=>{e.rowGroup||(e.rowGroup=null),e.pivot||(e.pivot=null)})),this.agGrid.gridApi.setColumnDefs(e))}const t=this.rowDataMapper?this.rowDataMapper(e):e;this.agGrid.restoreCachedFilterConfig(),this.agTransaction={add:[...t],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){In.debug("GridProGenesisDatasource.reloadResourceData()",this.resourceName),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,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return In.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 In.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,El.K)((e=>(this.handleErrors(e.receivedMessage),Ll.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===Fl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Tl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Tl.$)(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 In.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,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Jl);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,Ol.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,Pi.__decorate)([Dl.g],Zl.prototype,"auth",void 0),(0,Pi.__decorate)([Rl.Yh],Zl.prototype,"datasource",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"polling-interval"})],Zl.prototype,"pollingInterval",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],Zl.prototype,"disablePolling",void 0),(0,Pi.__decorate)([b.observable],Zl.prototype,"request",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Zl.prototype,"restartOnReconnection",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],Zl.prototype,"keepColDefsOnClearRowData",void 0),Zl=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],Zl);let Kl=class extends Zl{};Kl=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],Kl);var Xl=r(66306),eg=r(52078);function ag(e){switch(e){case Pl.r.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains",{displayKey:"true",displayName:"True",predicate:(e,a)=>"true"===a||!0===a,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,a)=>"false"===a||!1===a,numberOfInputs:0},{displayKey:"true-false",displayName:"True/False",predicate:(e,a)=>"true"===a||!0===a||"false"===a||!1===a,numberOfInputs:0}]};case Pl.r.DATE:case Pl.r.DATETIME:return{comparator:(e,a)=>{if(!a)return-1;const r=new Date(a).setHours(0,0,0,0),t=e.getTime();return r===t?0:r<t?-1:r>t?1:void 0},buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan"]};case Pl.r.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["equals","lessThan","greaterThan"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,suppressAndOrCondition:!0,filterOptions:["contains","equals"]}}}class rg extends ql{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,Pi.__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 In.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/"),In.debug("Available indexes:",a),In.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,eg.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===Fl.Cs.LOGOFF_ACK||t===Fl.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,Tl.$)(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,Pi.__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,Pi.__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=>In.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,Pi.__decorate)([Dl.g],rg.prototype,"auth",void 0),(0,Pi.__decorate)([s.lj],rg.prototype,"connect",void 0);let tg=class extends(c(Wl)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Ol.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Pi.__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;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.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,Pi.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>In.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Xl.C)(e);const a=(0,Xl.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new rg({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});In.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));In.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 In.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Pi.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Fl.Cs.QUERY_UPDATE&&e.ROW){const r=(0,Tl.$)(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=>In.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,Pi.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,ag);a.map((e=>({sortable:[].concat(...this.indexes.values()).includes(e.field)})));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,Pi.__decorate)([(0,b.attr)({mode:"boolean"})],tg.prototype,"pagination",void 0),tg=(0,Pi.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],tg);const og='\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+FSETZ0xCmh8diIJRcgUKg1LI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hc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',ng={[Ei.alpine]:og,[Ei.alpineDark]:og,[Ei.balham]:ig,[Ei.balhamDark]:ig,[Ei.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/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6F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vwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},lg=og,gg=b.css`
2173
2173
  .ag-icon {
2174
2174
  font-family: var(--ag-icon-font-family);
2175
2175
  font-size: var(--ag-icon-size);
@@ -9346,7 +9346,7 @@
9346
9346
  input[class^='ag-'][type='range']:disabled {
9347
9347
  opacity: 0.5;
9348
9348
  }
9349
- `,ng=b.css`
9349
+ `,sg=b.css`
9350
9350
  .ag-dnd-ghost {
9351
9351
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9352
9352
  border: solid 1px;
@@ -9363,7 +9363,7 @@
9363
9363
  overflow: hidden;
9364
9364
  text-overflow: ellipsis;
9365
9365
  }
9366
- `,lg=b.css`
9366
+ `,dg=b.css`
9367
9367
  .ag-theme-alpine,
9368
9368
  .ag-theme-alpine-dark {
9369
9369
  --ag-alpine-active-color: #2196f3;
@@ -9813,7 +9813,7 @@
9813
9813
  .ag-theme-alpine-dark {
9814
9814
  color-scheme: dark;
9815
9815
  }
9816
- `,gg=b.css`
9816
+ `,cg=b.css`
9817
9817
  .ag-theme-balham,
9818
9818
  .ag-theme-balham-dark {
9819
9819
  --ag-balham-active-color: #0091ea;
@@ -10083,7 +10083,7 @@
10083
10083
  .ag-theme-balham-dark {
10084
10084
  color-scheme: dark;
10085
10085
  }
10086
- `,sg=b.css`
10086
+ `,pg=b.css`
10087
10087
  .ag-theme-material {
10088
10088
  --ag-material-primary-color: #3f51b5;
10089
10089
  --ag-material-accent-color: #ff4081;
@@ -10348,14 +10348,14 @@
10348
10348
  .ag-theme-material .ag-picker-field-wrapper:focus {
10349
10349
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10350
10350
  }
10351
- `,dg=b.css`
10352
- ${ig}
10353
- ${ng}
10354
- ${lg}
10351
+ `,ug=b.css`
10355
10352
  ${gg}
10356
10353
  ${sg}
10357
- `,cg=b.css`
10358
10354
  ${dg}
10355
+ ${cg}
10356
+ ${pg}
10357
+ `,hg=b.css`
10358
+ ${ug}
10359
10359
  :host {
10360
10360
  width: 100%;
10361
10361
  height: 100%;
@@ -10382,14 +10382,14 @@
10382
10382
  .ag-cell-inline-editing {
10383
10383
  height: inherit !important;
10384
10384
  }
10385
- `,pg=b.html`
10385
+ `,mg=b.html`
10386
10386
  <template>
10387
10387
  <span part="grid" class="${e=>e.classNames}">
10388
10388
  <slot name="grid" ${(0,b.ref)("gridSlot")}></slot>
10389
10389
  <slot></slot>
10390
10390
  </span>
10391
10391
  </template>
10392
- `;var ug=r(75527);class hg{getColumnState(e){return(0,ji.__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,ji.__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))}))}getFilterModel(e){return(0,ji.__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{}}))}saveFilterModel(e,a){return(0,ji.__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,ji.__decorate)([ug.z],hg.prototype,"session",void 0);const mg=v.DI.createInterface((e=>e.singleton(hg)));class bg{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 vg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function fg(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}Nn.O3h.registerModules([hl.jM,ul.I]);class wg extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,bl.A)(_i(a),a),this.insertFontFace(a)}getfilterModel(){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,ji.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}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=og,this.columnComponentName="grid-pro-column",this.theme=Ii.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Nn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[vg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),Nn.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.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.rehydrationAttempted=!1,this.shouldRunConnect&&Nn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(vg(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){super.disconnectedCallback(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[Hi.action]:Mn,[Hi.actionsMenu]:Gn,[Hi.boolean]:Vn,[Hi.editable]:An,[Hi.selectEditor]:sn,[Hi.numberEditor]:mn,[Hi.multiselectEditor]:rn,[Hi.dateEditor]:Ji,[Hi.stringEditor]:xn};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,ji.__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,ji.__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,ji.__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.setFilterModel((null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0)}restoreCachedFilterConfig(){var e,a;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getfilterModel();void 0!==r&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(r),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=wl()(this.saveColumnState.bind(this),400),r=wl()(this.cacheFilterConfig.bind(this),400),t=this.globalEventListener.bind(this),o=()=>{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:i,components:n,defaultColDef:l,onGridReady:g,onFilterChanged:s}=e,d=(0,ji.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFilterChanged"]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},l),components:this.combineAllGridComponents(n),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)})),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:o,onColumnResized:o,onColumnMoved:o,onDisplayedColumnsChanged:o,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:o,onSortChanged:o}),d);this.gridProDatasource?(c.columnDefs=i,this.initGridOptions(c,t)):this.mergeAllColumnDefsAndStates(i).then((e=>{c.columnDefs=e,this.initGridOptions(c,t)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Nn.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Nn.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Ln.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,ji.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=vl[this.headerCaseType];a?e.headerName=a(e.field):Ln.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[Vi]===e.field)return{component:Hi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=bg,e.tooltipValueGetter=a=>{const r=a.data[Yi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Yi])||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 fg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return fg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Nn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Nn.plv.ALL_PROPERTIES.map((e=>vg(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},Nn.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=tg[e]||this.gridFontFace;this.destroyFontFace();const r=(0,ml.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,ji.__decorate)([b.observable],wg.prototype,"columnApi",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridApi",void 0),(0,ji.__decorate)([mg],wg.prototype,"statePersistence",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],wg.prototype,"autoCellRendererByType",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],wg.prototype,"onlyTemplateColDefs",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],wg.prototype,"gridAutosizingEnabled",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"add-index"})],wg.prototype,"addIndex",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],wg.prototype,"asyncAdd",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],wg.prototype,"asyncRemove",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],wg.prototype,"asyncUpdate",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],wg.prototype,"enableCellFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],wg.prototype,"enabledRowFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],wg.prototype,"enableRowFlashing",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],wg.prototype,"persistColumnStateKey",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],wg.prototype,"persistFilterModelKey",void 0),(0,ji.__decorate)([(0,b.attr)({attribute:"header-case-type"})],wg.prototype,"headerCaseType",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridFontFace",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"columnComponentName",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"eventsAndCallbacks",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"headerHeight",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"rowHeight",void 0),(0,ji.__decorate)([b.attr],wg.prototype,"theme",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"classNames",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"agGrid",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridSlot",void 0),(0,ji.__decorate)([b.observable],wg.prototype,"gridComponents",void 0),(0,ji.__decorate)([Wi],wg.prototype,"gridOptionsConfig",void 0);const yg=void 0,xg={shadowOptions:void 0},kg=wg.compose(Object.assign({baseName:"grid-pro",styles:cg,template:pg,shadowOptions:yg},xg)),zg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Sg={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Cg}=v.DesignToken,$g={backgroundColor:Cg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.backgroundSwatch:zg.backgroundSwatch)),borderColor:Cg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.borderSwatch:zg.borderSwatch)),foregroundColor:Cg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.foregroundSwatch:zg.foregroundSwatch)),headerForegroundColor:Cg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.headerForegroundSwatch:zg.headerForegroundSwatch)),rowHoverColor:Cg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Sg.rowHoverSwatch:zg.rowHoverSwatch))},Ag=b.css`
10392
+ `;var bg=r(75527);class vg{getColumnState(e){return(0,Pi.__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,Pi.__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))}))}getFilterModel(e){return(0,Pi.__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{}}))}saveFilterModel(e,a){return(0,Pi.__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,Pi.__decorate)([bg.z],vg.prototype,"session",void 0);const fg=v.DI.createInterface((e=>e.singleton(vg)));class wg{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 yg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function xg(e,a){const r={},t=[],o="field",i="colId";return a.forEach((a=>{const n=e.find((e=>e[o]===a[i]||e[i]&&e[i]===a[i]));if(n){const e=Object.assign(Object.assign({},n),a);r[n[o]]=e,t.push(e)}})),e.forEach((e=>{if(!r.hasOwnProperty(e[o])){const a=Object.assign({},e);r[e[o]]=a,t.push(a)}})),t}Mn.O3h.registerModules([bl.jM,ml.I]);class kg extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,wl.A)(Hi(a),a),this.insertFontFace(a)}getfilterModel(){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}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=lg,this.columnComponentName="grid-pro-column",this.theme=Ei.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Mn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[yg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),Mn.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.gridAutosizingEnabled&&(0,vl.W)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&Mn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(yg(e),void 0,a)},enumerable:!0,configurable:!0})}))}disconnectedCallback(){super.disconnectedCallback(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[Yi.action]:jn,[Yi.actionsMenu]:Un,[Yi.boolean]:Qn,[Yi.editable]:Fn,[Yi.selectEditor]:cn,[Yi.numberEditor]:vn,[Yi.multiselectEditor]:on,[Yi.dateEditor]:Ki,[Yi.stringEditor]:zn};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,Pi.__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,Pi.__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,Pi.__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.setFilterModel((null===(e=this.gridApi)||void 0===e?void 0:e.getFilterModel())||void 0)}restoreCachedFilterConfig(){var e,a;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const r=yield this.getfilterModel();void 0!==r&&(null===(e=this.gridApi)||void 0===e||e.setFilterModel(r),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=kl()(this.saveColumnState.bind(this),400),r=kl()(this.cacheFilterConfig.bind(this),400),t=this.globalEventListener.bind(this),o=()=>{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:i,components:n,defaultColDef:l,onGridReady:g,onFilterChanged:s}=e,d=(0,Pi.__rest)(e,["columnDefs","components","defaultColDef","onGridReady","onFilterChanged"]),c=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.gridOptionsConfig),{defaultColDef:Object.assign({enableCellChangeFlash:this.enableCellFlashing,filter:!0,resizable:!0,sortable:!0},l),components:this.combineAllGridComponents(n),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)})),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:o,onColumnResized:o,onColumnMoved:o,onDisplayedColumnsChanged:o,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:o,onSortChanged:o}),d);this.gridProDatasource?(c.columnDefs=i,this.initGridOptions(c,t)):this.mergeAllColumnDefsAndStates(i).then((e=>{c.columnDefs=e,this.initGridOptions(c,t)}))}initGridOptions(e,a){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Mn.plv.copyAttributesToGridOptions(e,this.agAttributes));const r={globalEventListener:a};b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Mn.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return In.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Pi.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=yl[this.headerCaseType];a?e.headerName=a(e.field):In.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[Qi]===e.field)return{component:Yi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=wg,e.tooltipValueGetter=a=>{const r=a.data[Wi];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Wi])||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 xg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return xg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Mn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Mn.plv.ALL_PROPERTIES.map((e=>yg(e)));return e.concat(a)}agAttributeChangedCallback(e,a,r){if(a===r)return;const t=this.agPropertiesMap[e];if(t&&(this.agAttributes[t]=r,this.initialised)){const e={};e[t]={currentValue:r},Mn.plv.processOnChange(e,this.gridApi)}}globalEventListener(e,a){const r=e.toLowerCase(),t=new Event(r);t.agGridDetails=a,this.dispatchEvent(t);const o="on"+r;"function"==typeof this[o]&&this[o](t)}insertFontFace(e){const a=ng[e]||this.gridFontFace;this.destroyFontFace();const r=(0,fl.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Pi.__decorate)([b.observable],kg.prototype,"columnApi",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"gridApi",void 0),(0,Pi.__decorate)([fg],kg.prototype,"statePersistence",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],kg.prototype,"autoCellRendererByType",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],kg.prototype,"onlyTemplateColDefs",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],kg.prototype,"gridAutosizingEnabled",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"add-index"})],kg.prototype,"addIndex",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],kg.prototype,"asyncAdd",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],kg.prototype,"asyncRemove",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],kg.prototype,"asyncUpdate",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],kg.prototype,"enableCellFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],kg.prototype,"enabledRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],kg.prototype,"enableRowFlashing",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],kg.prototype,"persistColumnStateKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],kg.prototype,"persistFilterModelKey",void 0),(0,Pi.__decorate)([(0,b.attr)({attribute:"header-case-type"})],kg.prototype,"headerCaseType",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"gridFontFace",void 0),(0,Pi.__decorate)([b.attr],kg.prototype,"columnComponentName",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"eventsAndCallbacks",void 0),(0,Pi.__decorate)([b.attr],kg.prototype,"headerHeight",void 0),(0,Pi.__decorate)([b.attr],kg.prototype,"rowHeight",void 0),(0,Pi.__decorate)([b.attr],kg.prototype,"theme",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"classNames",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"agGrid",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"gridSlot",void 0),(0,Pi.__decorate)([b.observable],kg.prototype,"gridComponents",void 0),(0,Pi.__decorate)([Ji],kg.prototype,"gridOptionsConfig",void 0);const zg=void 0,Sg={shadowOptions:void 0},Cg=kg.compose(Object.assign({baseName:"grid-pro",styles:hg,template:mg,shadowOptions:zg},Sg)),$g={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Ag={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Og}=v.DesignToken,Fg={backgroundColor:Og("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.backgroundSwatch:$g.backgroundSwatch)),borderColor:Og("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.borderSwatch:$g.borderSwatch)),foregroundColor:Og("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.foregroundSwatch:$g.foregroundSwatch)),headerForegroundColor:Og("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.headerForegroundSwatch:$g.headerForegroundSwatch)),rowHoverColor:Og("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ag.rowHoverSwatch:$g.rowHoverSwatch))},Tg=b.css`
10393
10393
  .ag-theme-genesis-rapid,
10394
10394
  .ag-theme-genesis-rapid-dark {
10395
10395
  --ag-alpine-active-color: #2196f3;
@@ -10849,56 +10849,56 @@
10849
10849
  .ag-theme-genesis-rapid-dark {
10850
10850
  color-scheme: dark;
10851
10851
  }
10852
- `,Og={[Mi.backgroundColor]:$g.backgroundColor,[Mi.foregroundColor]:$g.foregroundColor,[Mi.oddRowBackgroundColor]:$g.backgroundColor,[Mi.headerBackgroundColor]:$g.backgroundColor,[Mi.headerForegroundColor]:$g.headerForegroundColor,[Mi.selectedRowBackgroundColor]:$g.rowHoverColor,[Mi.rowHoverColor]:$g.rowHoverColor,[Mi.borderColor]:$g.borderColor,[Mi.rowBorderColor]:$g.rowHoverColor,[Mi.modalOverlayBackgroundColor]:$g.backgroundColor,[Mi.inputFocusBoxShadow]:$g.headerForegroundColor,[Mi.inputFocusBorderColor]:$g.headerForegroundColor,[Mi.headerColumnResizeHandleColor]:$g.headerForegroundColor},Fg="ag-theme-genesis-rapid",Tg=b.css`
10853
- ${Ag}
10854
- ${Ui(Fg,Og)}
10852
+ `,Dg={[ji.backgroundColor]:Fg.backgroundColor,[ji.foregroundColor]:Fg.foregroundColor,[ji.oddRowBackgroundColor]:Fg.backgroundColor,[ji.headerBackgroundColor]:Fg.backgroundColor,[ji.headerForegroundColor]:Fg.headerForegroundColor,[ji.selectedRowBackgroundColor]:Fg.rowHoverColor,[ji.rowHoverColor]:Fg.rowHoverColor,[ji.borderColor]:Fg.borderColor,[ji.rowBorderColor]:Fg.rowHoverColor,[ji.modalOverlayBackgroundColor]:Fg.backgroundColor,[ji.inputFocusBoxShadow]:Fg.headerForegroundColor,[ji.inputFocusBorderColor]:Fg.headerForegroundColor,[ji.headerColumnResizeHandleColor]:Fg.headerForegroundColor},Rg="ag-theme-genesis-rapid",Ng=b.css`
10853
+ ${Tg}
10854
+ ${Vi(Rg,Dg)}
10855
10855
 
10856
- .${Fg} {
10856
+ .${Rg} {
10857
10857
  ${Qe()}
10858
10858
  }
10859
10859
 
10860
- .${Fg} .ag-header {
10860
+ .${Rg} .ag-header {
10861
10861
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10862
10862
  font-weight: bold;
10863
10863
  }
10864
10864
 
10865
- .${Fg} .ag-root-wrapper {
10865
+ .${Rg} .ag-root-wrapper {
10866
10866
  border-radius: calc(var(--control-corner-radius) * 1px);
10867
10867
  }
10868
- `,Dg="ag-theme-genesis-rapid-dark",Rg=b.css`
10869
- ${Ag}
10870
- ${Ui(Dg,Og)}
10868
+ `,Lg="ag-theme-genesis-rapid-dark",Mg=b.css`
10869
+ ${Tg}
10870
+ ${Vi(Lg,Dg)}
10871
10871
 
10872
- .${Dg} {
10872
+ .${Lg} {
10873
10873
  ${Qe()}
10874
10874
  }
10875
10875
 
10876
- .${Dg} .ag-header {
10876
+ .${Lg} .ag-header {
10877
10877
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10878
10878
  font-weight: bold;
10879
10879
  }
10880
10880
 
10881
- .${Dg} .ag-cell {
10881
+ .${Lg} .ag-cell {
10882
10882
  line-height: var(--ag-line-height, 32px);
10883
10883
  }
10884
10884
 
10885
- .${Dg} .ag-root-wrapper {
10885
+ .${Lg} .ag-root-wrapper {
10886
10886
  border-radius: calc(var(--control-corner-radius) * 1px);
10887
10887
  }
10888
- `,Ng=b.css`
10888
+ `,Ig=b.css`
10889
10889
  /* All the AG themes */
10890
- ${cg}
10890
+ ${hg}
10891
10891
 
10892
10892
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10893
- ${Tg}
10894
- ${Rg}
10893
+ ${Ng}
10894
+ ${Mg}
10895
10895
 
10896
10896
  .error {
10897
10897
  border-color: ${$e.shortPink} !important;
10898
10898
  }
10899
- `,Lg=pg,Mg="ag-theme-genesis-rapid-dark";const Ig=xg,jg={zeroAgEditableRenderer:Rn,zeroAgActionRenderer:Bn,zeroAgActionsMenuRenderer:Hn,zeroAgBooleanRenderer:Jn,zeroAgTextRenderer:ll,zeroAgSelectRenderer:pl,zeroAgDateEditor:an,zeroAgMultiselectEditor:gn,zeroAgSelectEditor:hn,zeroAgNumberEditor:yn,zeroAgStringEditor:$n,zeroGridPro:class extends wg{constructor(){super(...arguments),this.theme=Mg}themeChanged(e,a){(e||a===Mg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Hi.action]:Pn,[Hi.actionsMenu]:Un,[Hi.boolean]:qn,[Hi.editable]:Dn,[Hi.selectEditor]:un,[Hi.numberEditor]:wn,[Hi.multiselectEditor]:ln,[Hi.dateEditor]:en,[Hi.stringEditor]:Cn};(this.theme===Fg||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:Lg,styles:Ng,shadowOptions:undefined},Ig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Eg={foundationGridProActionRenderer:En,foundationGridProActionsMenuRenderer:_n,foundationAgBooleanRenderer:Wn,foundationAgTextRenderer:nl,foundationAgTextFieldRenderer:rl,foundationAgEditableRenderer:Tn,foundationAgSelectRenderer:cl,foundationGridPro:kg,foundationSelectEditor:pn,foundationNumberEditor:fn,foundationDateEditor:Xi,foundationMultiselectEditor:nn,foundationStringEditor:Sn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Pg;!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"}(Pg||(Pg={}));const{create:Bg}=v.DesignToken,Gg=(0,Ae.parseColorHexRGB)(Pg.error),_g=f.SwatchRGB.create(Gg.r,Gg.g,Gg.b),Ug=Bg("error-color").withDefault(_g),Hg=(0,Ae.parseColorHexRGB)(Pg.success),Vg=f.SwatchRGB.create(Hg.r,Hg.g,Hg.b),Yg=Bg("success-color").withDefault(Vg),Qg=(0,Ae.parseColorHexRGB)(Pg.warning),Wg=f.SwatchRGB.create(Qg.r,Qg.g,Qg.b),qg=Bg("warning-color").withDefault(Wg),Jg=(0,Ae.parseColorHexRGB)(Pg.buy),Zg=f.SwatchRGB.create(Jg.r,Jg.g,Jg.b),Kg=Bg("buy-color").withDefault(Zg),Xg=(0,Ae.parseColorHexRGB)(Pg.sell),es=f.SwatchRGB.create(Xg.r,Xg.g,Xg.b),as=Bg("sell-color").withDefault(es),rs=(0,H.paletteFromHex)(Pg.primary),ts=(0,H.paletteFromHex)(Pg.neutral),os=f.StandardLuminance.DarkMode,is=0,ns=4,ls=-5,gs=0,ss=0,ds=6,cs=-4,ps=0,us=7,hs=10,ms=5,bs=0,vs=0,fs=0,ws=0,ys=0,xs=0,ks=5,zs=3,Ss=0,Cs=0,$s=8,As=-5,Os=0,Fs=3,Ts=25,Ds=40,Rs=16,Ns=25,Ls=8,Ms="rapid",Is=Ee.N.ltr,js=.3,Es=1,Ps=2,Bs=10,Gs=4,_s=0,Us=4,Hs='"Segoe UI", Arial, Helvetica, sans-serif',Vs="14px",Ys="20px",Qs="13px",Ws="19px",qs="12px",Js="18px",Zs="15px",Ks="21px",Xs="16px",ed="22px",ad="17px",rd="23px",td="18x",od="24px",id="19px",nd="25px",ld="20px",gd="26px",sd={design_tokens:{color:{accent:{$value:rs.source.toColorString(),$type:"color"},neutral:{$value:ts.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Hs,$type:"fontFamily"}},typography:{baseFontSize:{$value:Vs,$type:"dimension"},baseLineHeight:{$value:Ys,$type:"dimension"}},mode:{luminance:{$value:os,$type:"number"}},style:{density:{$value:_s,$type:"number"},borderRadius:{$value:Gs,$type:"number"},strokeWidth:{$value:Es,$type:"number"}},space:{designUnit:{$value:Us,$type:"number"}}}};class dd extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(i,n,this)}}const cd=dd.compose({baseName:"design-system-provider",template:b.html`
10899
+ `,jg=mg,Eg="ag-theme-genesis-rapid-dark";const Pg=Sg,Bg={zeroAgEditableRenderer:Ln,zeroAgActionRenderer:_n,zeroAgActionsMenuRenderer:Yn,zeroAgBooleanRenderer:Kn,zeroAgTextRenderer:sl,zeroAgSelectRenderer:hl,zeroAgDateEditor:tn,zeroAgMultiselectEditor:dn,zeroAgSelectEditor:bn,zeroAgNumberEditor:kn,zeroAgStringEditor:On,zeroGridPro:class extends kg{constructor(){super(...arguments),this.theme=Eg}themeChanged(e,a){(e||a===Eg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Yi.action]:Gn,[Yi.actionsMenu]:Vn,[Yi.boolean]:Zn,[Yi.editable]:Nn,[Yi.selectEditor]:mn,[Yi.numberEditor]:xn,[Yi.multiselectEditor]:sn,[Yi.dateEditor]:rn,[Yi.stringEditor]:An};(this.theme===Rg||this.theme===Lg)&&(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:jg,styles:Ig,shadowOptions:undefined},Pg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Gg={foundationGridProActionRenderer:Bn,foundationGridProActionsMenuRenderer:Hn,foundationAgBooleanRenderer:Jn,foundationAgTextRenderer:gl,foundationAgTextFieldRenderer:ol,foundationAgEditableRenderer:Rn,foundationAgSelectRenderer:ul,foundationGridPro:Cg,foundationSelectEditor:hn,foundationNumberEditor:yn,foundationDateEditor:an,foundationMultiselectEditor:gn,foundationStringEditor:$n,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var _g;!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"}(_g||(_g={}));const{create:Ug}=v.DesignToken,Hg=(0,Ae.parseColorHexRGB)(_g.error),Vg=f.SwatchRGB.create(Hg.r,Hg.g,Hg.b),Yg=Ug("error-color").withDefault(Vg),Qg=(0,Ae.parseColorHexRGB)(_g.success),Wg=f.SwatchRGB.create(Qg.r,Qg.g,Qg.b),qg=Ug("success-color").withDefault(Wg),Jg=(0,Ae.parseColorHexRGB)(_g.warning),Zg=f.SwatchRGB.create(Jg.r,Jg.g,Jg.b),Kg=Ug("warning-color").withDefault(Zg),Xg=(0,Ae.parseColorHexRGB)(_g.buy),es=f.SwatchRGB.create(Xg.r,Xg.g,Xg.b),as=Ug("buy-color").withDefault(es),rs=(0,Ae.parseColorHexRGB)(_g.sell),ts=f.SwatchRGB.create(rs.r,rs.g,rs.b),os=Ug("sell-color").withDefault(ts),is=(0,H.paletteFromHex)(_g.primary),ns=(0,H.paletteFromHex)(_g.neutral),ls=f.StandardLuminance.DarkMode,gs=0,ss=4,ds=-5,cs=0,ps=0,us=6,hs=-4,ms=0,bs=7,vs=10,fs=5,ws=0,ys=0,xs=0,ks=0,zs=0,Ss=0,Cs=5,$s=3,As=0,Os=0,Fs=8,Ts=-5,Ds=0,Rs=3,Ns=25,Ls=40,Ms=16,Is=25,js=8,Es="rapid",Ps=Ee.N.ltr,Bs=.3,Gs=1,_s=2,Us=10,Hs=4,Vs=0,Ys=4,Qs='"Segoe UI", Arial, Helvetica, sans-serif',Ws="14px",qs="20px",Js="13px",Zs="19px",Ks="12px",Xs="18px",ed="15px",ad="21px",rd="16px",td="22px",od="17px",id="23px",nd="18x",ld="24px",gd="19px",sd="25px",dd="20px",cd="26px",pd={design_tokens:{color:{accent:{$value:is.source.toColorString(),$type:"color"},neutral:{$value:ns.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Qs,$type:"fontFamily"}},typography:{baseFontSize:{$value:Ws,$type:"dimension"},baseLineHeight:{$value:qs,$type:"dimension"}},mode:{luminance:{$value:ls,$type:"number"}},style:{density:{$value:Vs,$type:"number"},borderRadius:{$value:Hs,$type:"number"},strokeWidth:{$value:Gs,$type:"number"}},space:{designUnit:{$value:Ys,$type:"number"}}}};class ud extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(i,n,this)}}const hd=ud.compose({baseName:"design-system-provider",template:b.html`
10900
10900
  <slot></slot>
10901
- `});class pd extends H.Accordion{}const ud=pd.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
10901
+ `});class md extends H.Accordion{}const bd=md.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
10902
10902
  ${(0,H.foundationAccordionStyles)(e,a)}
10903
10903
 
10904
10904
  :host {
@@ -10909,7 +10909,7 @@
10909
10909
  .heading {
10910
10910
  height: calc(var(--base-height-multiplier) * 4px);
10911
10911
  }
10912
- `,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class hd extends H.AccordionItem{}const md=hd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
10912
+ `,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class vd extends H.AccordionItem{}const fd=vd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
10913
10913
  ${(0,H.foundationAccordionItemStyles)(e,a)}
10914
10914
 
10915
10915
  :host {
@@ -10972,7 +10972,7 @@
10972
10972
  grid-template-columns: auto 1fr auto;
10973
10973
  align-items: center;
10974
10974
  }
10975
- `,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class bd extends H.ActionsMenu{}const vd=bd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
10975
+ `,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class wd extends H.ActionsMenu{}const yd=wd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
10976
10976
  :host {
10977
10977
  --actions-opener-height-multiplier: 0.6px;
10978
10978
  --menu-item-height-multiplier: 0.5px;
@@ -11010,7 +11010,7 @@
11010
11010
  .actions-vertical .menu-item:focus {
11011
11011
  border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
11012
11012
  }
11013
- `,template:H.foundationActionsMenuTemplate});function fd(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const wd=b.css`
11013
+ `,template:H.foundationActionsMenuTemplate});function xd(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const kd=b.css`
11014
11014
  :host([appearance='primary']) {
11015
11015
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
11016
11016
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -11033,7 +11033,7 @@
11033
11033
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
11034
11034
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
11035
11035
  }
11036
- `,yd=b.css`
11036
+ `,zd=b.css`
11037
11037
  :host([appearance='primary-outline']) {
11038
11038
  background: none;
11039
11039
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -11051,7 +11051,7 @@
11051
11051
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11052
11052
  opacity: 100%;
11053
11053
  }
11054
- `,xd=b.css`
11054
+ `,Sd=b.css`
11055
11055
  :host([appearance='neutral-outline']) {
11056
11056
  background: none;
11057
11057
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
@@ -11069,7 +11069,7 @@
11069
11069
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11070
11070
  opacity: 100%;
11071
11071
  }
11072
- `,kd=b.css`
11072
+ `,Cd=b.css`
11073
11073
  :host([appearance='link']) {
11074
11074
  background: none;
11075
11075
  border: none;
@@ -11092,7 +11092,7 @@
11092
11092
  color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
11093
11093
  opacity: 100%;
11094
11094
  }
11095
- `,zd=(e,a)=>b.css`
11095
+ `,$d=(e,a)=>b.css`
11096
11096
  ${(0,H.foundationButtonStyles)(e,a)}
11097
11097
  ${b.css`
11098
11098
  :host {
@@ -11146,14 +11146,14 @@
11146
11146
  opacity: 100%;
11147
11147
  }
11148
11148
  `}
11149
- `.withBehaviors(fd("primary",wd),fd("primary-outline",yd),fd("neutral-outline",xd),fd("link",kd));class Sd extends H.Anchor{}const Cd=Sd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
11149
+ `.withBehaviors(xd("primary",kd),xd("primary-outline",zd),xd("neutral-outline",Sd),xd("link",Cd));class Ad extends H.Anchor{}const Od=Ad.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
11150
11150
  ${(0,H.foundationAnchorStyles)(e,a)}
11151
- ${zd(e,a)}
11152
- `.withBehaviors(...zd(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class $d extends H.AnchoredRegion{}const Ad=$d.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
11151
+ ${$d(e,a)}
11152
+ `.withBehaviors(...$d(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class Fd extends H.AnchoredRegion{}const Td=Fd.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
11153
11153
  ${(0,H.foundationAnchoredRegionStyles)(e,a)}
11154
- `,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Od extends H.Avatar{}const Fd=Od.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
11154
+ `,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Dd extends H.Avatar{}const Rd=Dd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
11155
11155
  ${(0,H.foundationAvatarStyles)(e,a)}
11156
- `,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class Td extends H.Badge{}const Dd=Td.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
11156
+ `,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class Nd extends H.Badge{}const Ld=Nd.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
11157
11157
  ${(0,H.foundationBadgeStyles)(e,a)}
11158
11158
  :host {
11159
11159
  --badge-fill-primary: var(--accent-fill-rest);
@@ -11172,7 +11172,7 @@
11172
11172
  padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
11173
11173
  border: none;
11174
11174
  }
11175
- `,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),Rd=b.css`
11175
+ `,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),Md=b.css`
11176
11176
  ${H.foundationBannerStyles}
11177
11177
  :host {
11178
11178
  --banner-height: calc(
@@ -11192,9 +11192,9 @@
11192
11192
  font-family: var(--body-font);
11193
11193
  line-height: var(--type-ramp-base-line-height);
11194
11194
  }
11195
- `,Nd=H.foundationBannerShadowOptions;class Ld extends H.Banner{}const Md=Ld.compose({baseName:"banner",shadowOptions:Nd,styles:Rd,template:H.foundationBannerTemplate});class Id extends H.Breadcrumb{}const jd=Id.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
11195
+ `,Id=H.foundationBannerShadowOptions;class jd extends H.Banner{}const Ed=jd.compose({baseName:"banner",shadowOptions:Id,styles:Md,template:H.foundationBannerTemplate});class Pd extends H.Breadcrumb{}const Bd=Pd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
11196
11196
  ${(0,H.foundationBreadcrumbStyles)(e,a)}
11197
- `,shadowOptions:undefined},{}));class Ed extends H.BreadcrumbItem{}const Pd=Ed.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
11197
+ `,shadowOptions:undefined},{}));class Gd extends H.BreadcrumbItem{}const _d=Gd.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
11198
11198
  ${(0,H.foundationBreadcrumbItemStyles)(e,a)}
11199
11199
  .listitem {
11200
11200
  color: var(--accent-foreground-rest);
@@ -11230,9 +11230,9 @@
11230
11230
  .control:hover .start {
11231
11231
  background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
11232
11232
  }
11233
- `,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class Bd extends H.Button{}const Gd=Bd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:zd,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class _d extends H.Calendar{}const Ud=_d.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
11233
+ `,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class Ud extends H.Button{}const Hd=Ud.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:$d,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class Vd extends H.Calendar{}const Yd=Vd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
11234
11234
  ${(0,H.foundationCalendarStyles)()}
11235
- `,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class Hd extends H.Card{}const Vd=Hd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
11235
+ `,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class Qd extends H.Card{}const Wd=Qd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
11236
11236
  ${(0,H.foundationCardStyles)(e,a)}
11237
11237
  :host {
11238
11238
  background: var(--neutral-layer-card-container);
@@ -11246,7 +11246,7 @@
11246
11246
  ::slotted(rapid-card) {
11247
11247
  background: var(--neutral-layer-3);
11248
11248
  }
11249
- `,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),Yd=b.css`
11249
+ `,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),qd=b.css`
11250
11250
  ${H.categorizedMultiselectStyles}
11251
11251
 
11252
11252
  .label {
@@ -11260,9 +11260,9 @@
11260
11260
  rapid-checkbox:hover:not([disabled]) {
11261
11261
  background: var(--neutral-layer-4);
11262
11262
  }
11263
- `,Qd=b.html`
11263
+ `,Jd=b.html`
11264
11264
  ${(0,H.getPrefixedCategorizedMultiselect)("rapid")}
11265
- `;class Wd extends H.CategorizedMultiselect{}const qd=H.defaultCategorizedMultiselectConfig,Jd=H.foundationCategorizedMultiselectShadowOptions,Zd=Wd.compose(Object.assign({baseName:"categorized-multiselect",template:Qd,styles:Yd,shadowOptions:Jd},qd));class Kd extends H.Checkbox{}const Xd=Kd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
11265
+ `;class Zd extends H.CategorizedMultiselect{}const Kd=H.defaultCategorizedMultiselectConfig,Xd=H.foundationCategorizedMultiselectShadowOptions,ec=Zd.compose(Object.assign({baseName:"categorized-multiselect",template:Jd,styles:qd,shadowOptions:Xd},Kd));class ac extends H.Checkbox{}const rc=ac.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
11266
11266
  ${(0,H.foundationCheckboxStyles)(e,a)}
11267
11267
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11268
11268
  fill: var(--neutral-foreground-rest);
@@ -11277,7 +11277,7 @@
11277
11277
  .label {
11278
11278
  padding-inline-start: calc(var(--design-unit) * 2px);
11279
11279
  }
11280
- `,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig));class ec extends H.Combobox{}const ac=ec.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
11280
+ `,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig));class tc extends H.Combobox{}const oc=tc.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
11281
11281
  ${(0,H.foundationComboboxStyles)(e,a)}
11282
11282
  :host {
11283
11283
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11350,7 +11350,7 @@
11350
11350
  ::slotted([role='option']) {
11351
11351
  margin: 0;
11352
11352
  }
11353
- `,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class rc extends H.ConnectionIndicator{}const tc=rc.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
11353
+ `,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class ic extends H.ConnectionIndicator{}const nc=ic.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
11354
11354
  ${(0,H.foundationConnectionIndicatorStyles)(e,a)}
11355
11355
  :host {
11356
11356
  --light-size: calc(var(--design-unit) * 3px);
@@ -11373,9 +11373,9 @@
11373
11373
  font-size: var(--type-ramp-base-font-size);
11374
11374
  color: var(--neutral-stroke-rest);
11375
11375
  }
11376
- `}),oc=["baseClass","baseName","shadowOptions","styles","template"],ic=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=oc)=>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:nc,shadowOptions:lc,styles:gc,template:sc}=ic(H.foundationDataGrid),{defaultConfig:dc,shadowOptions:cc,styles:pc,template:uc}=ic(H.foundationDataGridCell),{defaultConfig:hc,shadowOptions:mc,styles:bc,template:vc}=ic(H.foundationDataGridRow),fc=b.html`
11376
+ `}),lc=["baseClass","baseName","shadowOptions","styles","template"],gc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=lc)=>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:sc,shadowOptions:dc,styles:cc,template:pc}=gc(H.foundationDataGrid),{defaultConfig:uc,shadowOptions:hc,styles:mc,template:bc}=gc(H.foundationDataGridCell),{defaultConfig:vc,shadowOptions:fc,styles:wc,template:yc}=gc(H.foundationDataGridRow),xc=b.html`
11377
11377
  ${(0,H.getPrefixedDatePicker)("rapid")}
11378
- `;class wc extends H.DatePicker{}const yc=wc.compose(Object.assign({baseName:"date-picker",template:fc,styles:()=>b.css`
11378
+ `;class kc extends H.DatePicker{}const zc=kc.compose(Object.assign({baseName:"date-picker",template:xc,styles:()=>b.css`
11379
11379
  ${H.foundationDatePickerStyles}
11380
11380
 
11381
11381
  :host {
@@ -11458,7 +11458,7 @@
11458
11458
  .week-days span {
11459
11459
  font-size: var(--type-ramp-minus-2-font-size);
11460
11460
  }
11461
- `,shadowOptions:undefined},{})),xc=b.css`
11461
+ `,shadowOptions:undefined},{})),Sc=b.css`
11462
11462
  ${H.foundationDialogStyles}
11463
11463
  :host {
11464
11464
  --dialog-background: ${f.neutralLayer2};
@@ -11535,7 +11535,7 @@
11535
11535
  .close-icon:active svg g path {
11536
11536
  fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
11537
11537
  }
11538
- `,kc=H.defaultDialogConfig,zc=H.foundationDialogTemplate,Sc=H.foundationDialogShadowOptions;class Cc extends H.Dialog{}const $c=Cc.compose(Object.assign({baseName:"dialog",shadowOptions:Sc,styles:xc,template:zc},kc));class Ac extends H.Disclosure{}const Oc=Ac.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
11538
+ `,Cc=H.defaultDialogConfig,$c=H.foundationDialogTemplate,Ac=H.foundationDialogShadowOptions;class Oc extends H.Dialog{}const Fc=Oc.compose(Object.assign({baseName:"dialog",shadowOptions:Ac,styles:Sc,template:$c},Cc));class Tc extends H.Disclosure{}const Dc=Tc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
11539
11539
  ${(0,H.foundationDisclosureStyles)(e,a)}
11540
11540
  :host {
11541
11541
  font-size: var(--type-ramp-base-font-size);
@@ -11552,9 +11552,9 @@
11552
11552
  padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
11553
11553
  text-align: center;
11554
11554
  }
11555
- `,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class Fc extends H.Divider{}const Tc=Fc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
11555
+ `,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class Rc extends H.Divider{}const Nc=Rc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
11556
11556
  ${(0,H.foundationDividerStyles)(e,a)}
11557
- `,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class Dc extends H.DropdownMenu{}const Rc=Dc.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
11557
+ `,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class Lc extends H.DropdownMenu{}const Mc=Lc.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
11558
11558
  ${(0,H.dropdownMenuBaseStyles)("rapid",e,a)}
11559
11559
 
11560
11560
  .actions-menu {
@@ -11569,7 +11569,7 @@
11569
11569
  border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
11570
11570
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
11571
11571
  }
11572
- `,template:H.foundationDropdownMenuTemplate}),{defaultConfig:Nc,shadowOptions:Lc,styles:Mc,template:Ic}=ic(H.foundationErrorBoundary),jc=b.css`
11572
+ `,template:H.foundationDropdownMenuTemplate}),{defaultConfig:Ic,shadowOptions:jc,styles:Ec,template:Pc}=gc(H.foundationErrorBoundary),Bc=b.css`
11573
11573
  ${H.foundationFileUploadStyles}
11574
11574
  ::-webkit-scrollbar {
11575
11575
  width: calc(var(--design-unit) * 3px);
@@ -11591,11 +11591,11 @@
11591
11591
  :host::part(upload-file-button) {
11592
11592
  margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
11593
11593
  }
11594
- `,Ec=b.html`
11594
+ `,Gc=b.html`
11595
11595
  ${(0,H.getPrefixedFileUpload)("rapid")}
11596
- `,Pc=H.defaultFileUploadConfig,Bc=H.foundationFileUploadShadowOptions;class Gc extends H.FileUpload{}const _c=Gc.compose(Object.assign({baseName:"file-upload",shadowOptions:Bc,styles:jc,template:Ec},Pc)),Uc=b.html`
11596
+ `,_c=H.defaultFileUploadConfig,Uc=H.foundationFileUploadShadowOptions;class Hc extends H.FileUpload{}const Vc=Hc.compose(Object.assign({baseName:"file-upload",shadowOptions:Uc,styles:Bc,template:Gc},_c)),Yc=b.html`
11597
11597
  ${(0,H.getPrefixedFilterTemplate)("rapid")}
11598
- `;class Hc extends H.Filter{}const Vc=Hc.compose({baseName:"filter",template:Uc,styles:(e,a)=>b.css`
11598
+ `;class Qc extends H.Filter{}const Wc=Qc.compose({baseName:"filter",template:Yc,styles:(e,a)=>b.css`
11599
11599
  ${H.foundationFilterStyles}
11600
11600
  .filter-wrapper {
11601
11601
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11622,9 +11622,9 @@
11622
11622
  .flex-row rapid-select {
11623
11623
  flex: 1;
11624
11624
  }
11625
- `}),Yc=b.html`
11625
+ `}),qc=b.html`
11626
11626
  ${(0,H.filterBarTemplate)("rapid")}
11627
- `;class Qc extends H.FilterBar{}const Wc=Qc.compose({baseName:"filter-bar",template:Yc,styles:(e,a)=>b.css`
11627
+ `;class Jc extends H.FilterBar{}const Zc=Jc.compose({baseName:"filter-bar",template:qc,styles:(e,a)=>b.css`
11628
11628
  ${(0,H.foundationFilterBarStyles)(e,a)}
11629
11629
  .toggle,
11630
11630
  .toggle-collapsed {
@@ -11644,7 +11644,7 @@
11644
11644
  .filter-bar {
11645
11645
  background: var(--neutral-layer-3);
11646
11646
  }
11647
- `}),{defaultConfig:qc,shadowOptions:Jc,styles:Zc,template:Kc}=ic(H.foundationFlexLayout);class Xc extends H.Flipper{}const ep=Xc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
11647
+ `}),{defaultConfig:Kc,shadowOptions:Xc,styles:ep,template:ap}=gc(H.foundationFlexLayout);class rp extends H.Flipper{}const tp=rp.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
11648
11648
  ${(0,H.foundationFlipperStyles)(e,a)}
11649
11649
  :host {
11650
11650
  color: var(--neutral-foreground-rest);
@@ -11664,7 +11664,7 @@
11664
11664
  background: var(--accent-fill-rest);
11665
11665
  color: var(--neutral-foreground-rest);
11666
11666
  }
11667
- `,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),ap=b.css`
11667
+ `,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),op=b.css`
11668
11668
  ${H.foundationFlyoutStyles}
11669
11669
  div.flyout {
11670
11670
  background-color: var(--neutral-layer-2);
@@ -11712,9 +11712,9 @@
11712
11712
  background-color: var(--neutral-fill-hover);
11713
11713
  border-radius: calc(var(--stroke-width) * 3px);
11714
11714
  }
11715
- `,rp=b.html`
11715
+ `,ip=b.html`
11716
11716
  ${(0,H.getPrefixedFlyout)("rapid")}
11717
- `,tp=H.defaultFlyoutConfig,op=H.foundationFlyoutShadowOptions;class ip extends H.Flyout{}const np=ip.compose(Object.assign({baseName:"flyout",shadowOptions:op,styles:ap,template:rp},tp)),{defaultConfig:lp,shadowOptions:gp,styles:sp,template:dp}=ic(H.foundationGridLayout),{defaultConfig:cp,shadowOptions:pp,styles:up,template:hp}=ic(H.foundationGridLayoutItem);class mp extends H.HorizontalScroll{}const bp={nextFlipper:b.html`
11717
+ `,np=H.defaultFlyoutConfig,lp=H.foundationFlyoutShadowOptions;class gp extends H.Flyout{}const sp=gp.compose(Object.assign({baseName:"flyout",shadowOptions:lp,styles:op,template:ip},np)),{defaultConfig:dp,shadowOptions:cp,styles:pp,template:up}=gc(H.foundationGridLayout),{defaultConfig:hp,shadowOptions:mp,styles:bp,template:vp}=gc(H.foundationGridLayoutItem);class fp extends H.HorizontalScroll{}const wp={nextFlipper:b.html`
11718
11718
  <rapid-flipper
11719
11719
  @click="${e=>e.scrollToNext()}"
11720
11720
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -11725,11 +11725,11 @@
11725
11725
  direction="previous"
11726
11726
  aria-hidden="${e=>e.flippersHiddenFromAT}"
11727
11727
  ></rapid-flipper>
11728
- `},vp=mp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
11728
+ `},yp=fp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
11729
11729
  ${(0,H.foundationHorizontalScrollStyles)(e,a)}
11730
- `,shadowOptions:H.foundationHorizontalScrollShadowOptions},bp));class fp extends H.Icon{}const wp=H.defaultIconConfig,yp=H.foundationIconShadowOptions,xp=fp.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
11730
+ `,shadowOptions:H.foundationHorizontalScrollShadowOptions},wp));class xp extends H.Icon{}const kp=H.defaultIconConfig,zp=H.foundationIconShadowOptions,Sp=xp.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
11731
11731
  ${(0,H.foundationIconStyles)(e,a)}
11732
- `,shadowOptions:yp},wp));class kp extends H.Listbox{}const zp=kp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
11732
+ `,shadowOptions:zp},kp));class Cp extends H.Listbox{}const $p=Cp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
11733
11733
  ${(0,H.foundationListboxStyles)(e,a)}
11734
11734
 
11735
11735
  :host {
@@ -11740,7 +11740,7 @@
11740
11740
  ::slotted(*:last-child) {
11741
11741
  border-bottom: none;
11742
11742
  }
11743
- `,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class Sp extends H.ListboxOption{}const Cp=Sp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
11743
+ `,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class Ap extends H.ListboxOption{}const Op=Ap.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
11744
11744
  ${(0,H.foundationListboxOptionStyles)(e,a)}
11745
11745
  :host {
11746
11746
  border-radius: 0;
@@ -11757,14 +11757,14 @@
11757
11757
  background: var(--neutral-layer-4);
11758
11758
  color: var(--accent-fill-rest);
11759
11759
  }
11760
- `,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig));class $p extends H.Menu{}const Ap=$p.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,H.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
11760
+ `,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig));class Fp extends H.Menu{}const Tp=Fp.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,H.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
11761
11761
  ${(0,H.foundationMenuStyles)(e,a)}
11762
11762
  :host {
11763
11763
  border: calc(var(--focus-stroke-width) * 1px) solid
11764
11764
  color-mix(in srgb, ${f.neutralFillStealthHover}, transparent 15%);
11765
11765
  padding: 0;
11766
11766
  }
11767
- `,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),Op=H.foundationMenuItemShadowOptions;class Fp extends H.MenuItem{}const Tp=Fp.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,H.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
11767
+ `,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),Dp=H.foundationMenuItemShadowOptions;class Rp extends H.MenuItem{}const Np=Rp.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,H.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
11768
11768
  ${(0,H.foundationMenuItemStyles)(e,a)}
11769
11769
  :host {
11770
11770
  margin: 0;
@@ -11800,9 +11800,9 @@
11800
11800
  background: ${f.neutralFillStealthHover}
11801
11801
  color: ${f.neutralForegroundRest}
11802
11802
  */
11803
- `,shadowOptions:Op},H.defaultMenuItemConfig)),Dp=b.css`
11804
- ${xc}
11805
- `,Rp=H.defaultModalConfig,Np=H.foundationModalTemplate,Lp=H.foundationModalShadowOptions;class Mp extends H.Modal{}const Ip=Mp.compose(Object.assign({baseName:"modal",shadowOptions:Lp,styles:Dp,template:Np},Rp)),jp=b.css`
11803
+ `,shadowOptions:Dp},H.defaultMenuItemConfig)),Lp=b.css`
11804
+ ${Sc}
11805
+ `,Mp=H.defaultModalConfig,Ip=H.foundationModalTemplate,jp=H.foundationModalShadowOptions;class Ep extends H.Modal{}const Pp=Ep.compose(Object.assign({baseName:"modal",shadowOptions:jp,styles:Lp,template:Ip},Mp)),Bp=b.css`
11806
11806
  ${H.multiselectStyles}
11807
11807
 
11808
11808
  #display-field {
@@ -11878,9 +11878,9 @@
11878
11878
  rapid-checkbox[disabled] {
11879
11879
  cursor: not-allowed;
11880
11880
  }
11881
- `,Ep=b.html`
11881
+ `,Gp=b.html`
11882
11882
  ${(0,H.getPrefixedMultiselect)("rapid")}
11883
- `;class Pp extends H.Multiselect{}const Bp=H.defaultMultiselectConfig,Gp=H.foundationMultiselectShadowOptions,_p=Pp.compose(Object.assign({baseName:"multiselect",template:Ep,styles:jp,shadowOptions:Gp},Bp));class Up extends H.NumberField{}const Hp=H.defaultNumberFieldConfig,Vp=H.foundationNumberFieldTemplate,Yp=H.foundationNumberFieldShadowOptions,Qp=Up.compose(Object.assign({baseName:"number-field",template:Vp,styles:(e,a)=>b.css`
11883
+ `;class _p extends H.Multiselect{}const Up=H.defaultMultiselectConfig,Hp=H.foundationMultiselectShadowOptions,Vp=_p.compose(Object.assign({baseName:"multiselect",template:Gp,styles:Bp,shadowOptions:Hp},Up));class Yp extends H.NumberField{}const Qp=H.defaultNumberFieldConfig,Wp=H.foundationNumberFieldTemplate,qp=H.foundationNumberFieldShadowOptions,Jp=Yp.compose(Object.assign({baseName:"number-field",template:Wp,styles:(e,a)=>b.css`
11884
11884
  :host {
11885
11885
  margin-bottom: calc(var(--design-unit) * 2px);
11886
11886
  }
@@ -11965,11 +11965,11 @@
11965
11965
  .control:focus-visible {
11966
11966
  outline: none;
11967
11967
  }
11968
- `,shadowOptions:Yp},Hp));class Wp extends H.Progress{}const qp=Wp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
11968
+ `,shadowOptions:qp},Qp));class Zp extends H.Progress{}const Kp=Zp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
11969
11969
  ${(0,H.foundationProgressStyles)(e,a)}
11970
- `,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class Jp extends H.ProgressRing{}const Zp=Jp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,H.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
11970
+ `,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class Xp extends H.ProgressRing{}const eu=Xp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,H.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
11971
11971
  ${(0,H.foundationProgressRingStyles)(e,a)}
11972
- `,shadowOptions:H.foundationProgressRingShadowOptions},H.defaultProgressRingConfig));class Kp extends H.Radio{}const Xp=Kp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
11972
+ `,shadowOptions:H.foundationProgressRingShadowOptions},H.defaultProgressRingConfig));class au extends H.Radio{}const ru=au.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
11973
11973
  ${(0,H.foundationRadioStyles)(e,a)}
11974
11974
  :host {
11975
11975
  margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
@@ -12001,13 +12001,13 @@
12001
12001
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
12002
12002
  background: var(--accent-fill-rest);
12003
12003
  }
12004
- `,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class eu extends H.RadioGroup{}const au=eu.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
12004
+ `,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class tu extends H.RadioGroup{}const ou=tu.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
12005
12005
  ${(0,H.foundationRadioGroupStyles)(e,a)}
12006
- `,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),ru=b.css`
12006
+ `,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),iu=b.css`
12007
12007
  ${H.foundationSearchBarStyles}
12008
- `,tu=b.html`
12008
+ `,nu=b.html`
12009
12009
  ${(0,H.getPrefixedSearchBar)("rapid")}
12010
- `;class ou extends H.SearchBar{}const iu=ou.compose(Object.assign({baseName:"search-bar",template:tu,styles:ru,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class nu extends H.SearchBarCombobox{}const lu=nu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
12010
+ `;class lu extends H.SearchBar{}const gu=lu.compose(Object.assign({baseName:"search-bar",template:nu,styles:iu,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class su extends H.SearchBarCombobox{}const du=su.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
12011
12011
  ${(0,H.foundationSearchBarComboboxStyles)(e,a)}
12012
12012
 
12013
12013
  :host {
@@ -12038,7 +12038,7 @@
12038
12038
  :host .listbox ::slotted(*:last-child) {
12039
12039
  border-bottom: none;
12040
12040
  }
12041
- `,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class gu extends H.SegmentedControl{}const su=gu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
12041
+ `,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class cu extends H.SegmentedControl{}const pu=cu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
12042
12042
  ${(0,H.foundationSegmentedControlStyles)(e,a)}
12043
12043
  :host {
12044
12044
  font-family: var(--body-font);
@@ -12074,7 +12074,7 @@
12074
12074
  border-color: transparent;
12075
12075
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
12076
12076
  }
12077
- `,shadowOptions:undefined},{}));class du extends H.Radio{}const cu=du.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
12077
+ `,shadowOptions:undefined},{}));class uu extends H.Radio{}const hu=uu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
12078
12078
  ${(0,H.foundationSegmentedItemStyles)(e,a)}
12079
12079
  :host {
12080
12080
  color: var(--neutral-fill-strong-rest);
@@ -12086,7 +12086,7 @@
12086
12086
  :host([aria-checked='true']) {
12087
12087
  color: color-mix(in srgb, white, transparent 10%);
12088
12088
  }
12089
- `,shadowOptions:undefined},{}));class pu extends H.Select{}const uu=pu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
12089
+ `,shadowOptions:undefined},{}));class mu extends H.Select{}const bu=mu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
12090
12090
  ${(0,H.foundationSelectStyles)(e,a)}
12091
12091
  :host {
12092
12092
  border-radius: calc(var(--control-corner-radius) * 1px);
@@ -12158,14 +12158,14 @@
12158
12158
  ::slotted([role='option']) {
12159
12159
  margin: 0;
12160
12160
  }
12161
- `,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class hu extends H.Skeleton{}const mu=hu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
12161
+ `,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class vu extends H.Skeleton{}const fu=vu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
12162
12162
  ${(0,H.foundationSkeletonStyles)(e,a)}
12163
12163
  :host {
12164
12164
  --skeleton-fill: var(
12165
12165
  --neutral-fill-stealth-rest
12166
12166
  ); /** value in ux doc rgba(242 242 242 / 0.1) */
12167
12167
  }
12168
- `,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class bu extends H.Slider{}const vu=bu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
12168
+ `,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class wu extends H.Slider{}const yu=wu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
12169
12169
  ${(0,H.foundationSliderStyles)(e,a)}
12170
12170
 
12171
12171
  .thumb-cursor {
@@ -12223,7 +12223,7 @@
12223
12223
  background-color: var(--neutral-stroke-rest);
12224
12224
  width: calc((var(--track-width) + 2) * 1px) !important;
12225
12225
  }
12226
- `,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class fu extends H.SliderLabel{}const wu=fu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
12226
+ `,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class xu extends H.SliderLabel{}const ku=xu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
12227
12227
  ${(0,H.foundationSliderLabelStyles)(e,a)}
12228
12228
  .label {
12229
12229
  padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
@@ -12234,7 +12234,7 @@
12234
12234
  text-align: center;
12235
12235
  font-size: var(--type-ramp-minus-1-font-size, 12px);
12236
12236
  }
12237
- `,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),yu=b.css`
12237
+ `,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),zu=b.css`
12238
12238
  ${H.foundationSnackbarStyles}
12239
12239
  .snackbar {
12240
12240
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
@@ -12255,11 +12255,11 @@
12255
12255
  .action {
12256
12256
  gap: calc(var(--design-unit) * 2px);
12257
12257
  }
12258
- `,xu=b.html`
12258
+ `,Su=b.html`
12259
12259
  ${(0,H.getPrefixedSnackbar)("rapid")}
12260
- `,ku=H.foundationSnackbarShadowOptions;class zu extends H.Snackbar{}const Su=zu.compose({baseName:"snackbar",shadowOptions:ku,styles:yu,template:xu});class Cu extends H.StackingIcons{}const $u=Cu.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
12260
+ `,Cu=H.foundationSnackbarShadowOptions;class $u extends H.Snackbar{}const Au=$u.compose({baseName:"snackbar",shadowOptions:Cu,styles:zu,template:Su});class Ou extends H.StackingIcons{}const Fu=Ou.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
12261
12261
  ${(0,H.foundationStackingIconsStyles)(e,a)}
12262
- `}),Au=b.css`
12262
+ `}),Tu=b.css`
12263
12263
  ${H.foundationStepperStyles}
12264
12264
 
12265
12265
  :host {
@@ -12306,11 +12306,11 @@
12306
12306
  padding: 0 calc(var(--design-unit) * 2px);
12307
12307
  color: var(--neutral-foreground-hint);
12308
12308
  }
12309
- `,Ou=b.html`
12309
+ `,Du=b.html`
12310
12310
  ${(0,H.getPrefixedStepper)("rapid")}
12311
- `;class Fu extends H.Stepper{}const Tu=Fu.compose(Object.assign({baseName:"stepper",template:Ou,styles:Au,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),Du=b.html`
12311
+ `;class Ru extends H.Stepper{}const Nu=Ru.compose(Object.assign({baseName:"stepper",template:Du,styles:Tu,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),Lu=b.html`
12312
12312
  ${(0,H.getPrefixedStepperTab)("rapid")}
12313
- `;class Ru extends H.StepperTab{}const Nu=Ru.compose(Object.assign({baseName:"stepper-tab",template:Du,styles:(e,a)=>b.css`
12313
+ `;class Mu extends H.StepperTab{}const Iu=Mu.compose(Object.assign({baseName:"stepper-tab",template:Lu,styles:(e,a)=>b.css`
12314
12314
  ${(0,H.foundationStepperTabStyles)(e,a)}
12315
12315
 
12316
12316
  rapid-tree-item {
@@ -12370,7 +12370,7 @@
12370
12370
  :host([error]) .step-title {
12371
12371
  color: var(--error-color);
12372
12372
  }
12373
- `,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class Lu extends H.StepperTabPanel{}const Mu=Lu.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig)),Iu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class ju extends H.Switch{}const Eu=ju.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
12373
+ `,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class ju extends H.StepperTabPanel{}const Eu=ju.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig)),Pu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class Bu extends H.Switch{}const Gu=Bu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
12374
12374
  ${(0,H.foundationSwitchStyles)(e,a)}
12375
12375
  :host {
12376
12376
  --primary-gradient-angle: -113.5deg;
@@ -12407,7 +12407,7 @@
12407
12407
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
12408
12408
  background: var(--accent-fill-rest);
12409
12409
  }
12410
- `,shadowOptions:H.foundationSwitchShadowOptions},Iu));class Pu extends H.Tab{}const Bu=Pu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
12410
+ `,shadowOptions:H.foundationSwitchShadowOptions},Pu));class _u extends H.Tab{}const Uu=_u.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
12411
12411
  ${(0,H.foundationTabStyles)(e,a)}
12412
12412
  :host {
12413
12413
  background-color: ${f.neutralLayer2};
@@ -12420,12 +12420,12 @@
12420
12420
  :host([aria-selected='true']:hover) {
12421
12421
  background-color: ${f.neutralLayer4};
12422
12422
  }
12423
- `,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class Gu extends H.TabPanel{}const _u=Gu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
12423
+ `,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class Hu extends H.TabPanel{}const Vu=Hu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
12424
12424
  ${(0,H.foundationTabPanelStyles)(e,a)}
12425
12425
  :host {
12426
12426
  padding: 0;
12427
12427
  }
12428
- `,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class Uu extends H.Tabs{}const Hu=Uu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
12428
+ `,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class Yu extends H.Tabs{}const Qu=Yu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
12429
12429
  ${(0,H.foundationTabsStyles)(e,a)}
12430
12430
  :host {
12431
12431
  --base-height-multiplier: 9;
@@ -12500,7 +12500,7 @@
12500
12500
  :host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
12501
12501
  padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
12502
12502
  }
12503
- `,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class Vu extends H.TextArea{}const Yu=Vu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
12503
+ `,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class Wu extends H.TextArea{}const qu=Wu.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
12504
12504
  ${(0,H.foundationTextAreaStyles)(e,a)}
12505
12505
 
12506
12506
  :host .control {
@@ -12526,7 +12526,7 @@
12526
12526
  font-weight: 700;
12527
12527
  margin: calc(var(--design-unit) * 2px) 0;
12528
12528
  }
12529
- `,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class Qu extends H.TextField{}const Wu=Qu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
12529
+ `,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class Ju extends H.TextField{}const Zu=Ju.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
12530
12530
  ${(0,H.foundationTextFieldStyles)(e,a)}
12531
12531
 
12532
12532
  :host {
@@ -12563,7 +12563,7 @@
12563
12563
  font-weight: 700;
12564
12564
  margin: calc(var(--design-unit) * 2px) 0;
12565
12565
  }
12566
- `,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),qu=b.css`
12566
+ `,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),Ku=b.css`
12567
12567
  ${H.foundationToastStyles}
12568
12568
  .toast {
12569
12569
  background-color: ${f.neutralLayer1};
@@ -12618,7 +12618,7 @@
12618
12618
  :host([notify='serious']) .toast::after {
12619
12619
  background-color: var(--error-color);
12620
12620
  }
12621
- `,Ju=H.defaultToastConfig,Zu=H.foundationToastShadowOptions;class Ku extends H.Toast{}const Xu=Ku.compose(Object.assign({baseName:"toast",shadowOptions:Zu,styles:qu,template:H.foundationToastTemplate},Ju));class eh extends H.Toolbar{}const ah=eh.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
12621
+ `,Xu=H.defaultToastConfig,eh=H.foundationToastShadowOptions;class ah extends H.Toast{}const rh=ah.compose(Object.assign({baseName:"toast",shadowOptions:eh,styles:Ku,template:H.foundationToastTemplate},Xu));class th extends H.Toolbar{}const oh=th.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
12622
12622
  ${(0,H.foundationToolbarStyles)(e,a)}
12623
12623
  :host {
12624
12624
  align-items: center;
@@ -12628,7 +12628,7 @@
12628
12628
  .positioning-region {
12629
12629
  align-items: center;
12630
12630
  }
12631
- `,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class rh extends H.Tooltip{}const th=rh.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
12631
+ `,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class ih extends H.Tooltip{}const nh=ih.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
12632
12632
  ${(0,H.foundationTooltipStyles)(e,a)}
12633
12633
 
12634
12634
  :host {
@@ -12651,7 +12651,7 @@
12651
12651
  alpha-anchored-region.bottom.right .tooltip {
12652
12652
  margin-left: 0;
12653
12653
  }
12654
- `,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class oh extends H.TreeItem{}const ih={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>'},nh=oh.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
12654
+ `,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class lh extends H.TreeItem{}const gh={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>'},sh=lh.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
12655
12655
  ${(0,H.foundationTreeItemStyles)(e,a)}
12656
12656
  :host {
12657
12657
  font-size: var(--type-ramp-base-font-size);
@@ -12690,11 +12690,11 @@
12690
12690
  width: calc(var(--design-unit) * 3px);
12691
12691
  height: calc(var(--design-unit) * 3px);
12692
12692
  }
12693
- `,shadowOptions:H.foundationTreeItemShadowOptions},ih));class lh extends H.TreeView{}const gh=lh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
12693
+ `,shadowOptions:H.foundationTreeItemShadowOptions},gh));class dh extends H.TreeView{}const ch=dh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
12694
12694
  ${(0,H.foundationTreeViewStyles)(e,a)}
12695
- `,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),sh=b.html`
12695
+ `,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),ph=b.html`
12696
12696
  ${(0,H.getPrefixedUrlInput)("rapid")}
12697
- `;class dh extends H.UrlInput{}const ch={designSystemProvider:cd,rapidAccordion:ud,rapidAccordionItem:md,rapidActionsMenu:vd,rapidAnchor:Cd,rapidAnchoredRegion:Ad,rapidAvatar:Fd,rapidBadge:Dd,rapidBanner:Md,rapidBreadcrumb:jd,rapidBreadcrumbItem:Pd,rapidButton:Gd,rapidCalendar:Ud,rapidCard:Vd,rapidCategorizedMultiselect:Zd,rapidCheckbox:Xd,rapidCombobox:ac,rapidConnectionIndicator:tc,rapidDataGrid:()=>(0,H.foundationDataGrid)(),rapidDataGridCell:()=>(0,H.foundationDataGridCell)(),rapidDataGridRow:()=>(0,H.foundationDataGridRow)(),rapidDatePicker:yc,rapidDialog:$c,rapidDisclosure:Oc,rapidDivider:Tc,rapidDropdownMenu:Rc,rapidErrorBoundary:()=>(0,H.foundationErrorBoundary)(),rapidFileUpload:_c,rapidFilter:Vc,rapidFilterBar:Wc,rapidFlexLayout:()=>(0,H.foundationFlexLayout)(),rapidFlipper:ep,rapidFlyout:np,rapidGridLayout:()=>(0,H.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,H.foundationGridLayoutItem)(),rapidHorizontalScroll:vp,rapidIcon:xp,rapidListbox:zp,rapidListboxOption:Cp,rapidMenu:Ap,rapidMenuItem:Tp,rapidModal:Ip,rapidMultiselect:_p,rapidNumberField:Qp,rapidProgress:qp,rapidProgressRing:Zp,rapidRadio:Xp,rapidRadioGroup:au,rapidSearchBar:iu,rapidSearchBarCombobox:lu,rapidSegmentedControl:su,rapidSegmentedItem:cu,rapidSelect:uu,rapidSkeleton:mu,rapidSlider:vu,rapidSliderLabel:wu,rapidSnackbar:Su,rapidStackingIcons:$u,rapidStepper:Tu,rapidStepperTab:Nu,rapidStepperTabPanel:Mu,rapidSwitch:Eu,rapidTab:Bu,rapidTabPanel:_u,rapidTabs:Hu,rapidTextArea:Yu,rapidTextField:Wu,rapidToast:Xu,rapidToolbar:ah,rapidTooltip:th,rapidTreeItem:nh,rapidTreeView:gh,rapidUrlInput:dh.compose(Object.assign({baseName:"url-input",template:sh,styles:(e,a)=>b.css`
12697
+ `;class uh extends H.UrlInput{}const hh={designSystemProvider:hd,rapidAccordion:bd,rapidAccordionItem:fd,rapidActionsMenu:yd,rapidAnchor:Od,rapidAnchoredRegion:Td,rapidAvatar:Rd,rapidBadge:Ld,rapidBanner:Ed,rapidBreadcrumb:Bd,rapidBreadcrumbItem:_d,rapidButton:Hd,rapidCalendar:Yd,rapidCard:Wd,rapidCategorizedMultiselect:ec,rapidCheckbox:rc,rapidCombobox:oc,rapidConnectionIndicator:nc,rapidDataGrid:()=>(0,H.foundationDataGrid)(),rapidDataGridCell:()=>(0,H.foundationDataGridCell)(),rapidDataGridRow:()=>(0,H.foundationDataGridRow)(),rapidDatePicker:zc,rapidDialog:Fc,rapidDisclosure:Dc,rapidDivider:Nc,rapidDropdownMenu:Mc,rapidErrorBoundary:()=>(0,H.foundationErrorBoundary)(),rapidFileUpload:Vc,rapidFilter:Wc,rapidFilterBar:Zc,rapidFlexLayout:()=>(0,H.foundationFlexLayout)(),rapidFlipper:tp,rapidFlyout:sp,rapidGridLayout:()=>(0,H.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,H.foundationGridLayoutItem)(),rapidHorizontalScroll:yp,rapidIcon:Sp,rapidListbox:$p,rapidListboxOption:Op,rapidMenu:Tp,rapidMenuItem:Np,rapidModal:Pp,rapidMultiselect:Vp,rapidNumberField:Jp,rapidProgress:Kp,rapidProgressRing:eu,rapidRadio:ru,rapidRadioGroup:ou,rapidSearchBar:gu,rapidSearchBarCombobox:du,rapidSegmentedControl:pu,rapidSegmentedItem:hu,rapidSelect:bu,rapidSkeleton:fu,rapidSlider:yu,rapidSliderLabel:ku,rapidSnackbar:Au,rapidStackingIcons:Fu,rapidStepper:Nu,rapidStepperTab:Iu,rapidStepperTabPanel:Eu,rapidSwitch:Gu,rapidTab:Uu,rapidTabPanel:Vu,rapidTabs:Qu,rapidTextArea:qu,rapidTextField:Zu,rapidToast:rh,rapidToolbar:oh,rapidTooltip:nh,rapidTreeItem:sh,rapidTreeView:ch,rapidUrlInput:uh.compose(Object.assign({baseName:"url-input",template:ph,styles:(e,a)=>b.css`
12698
12698
  ${(0,H.foundationUrlInputStyles)(e,a)}
12699
12699
  a {
12700
12700
  color: var(--accent-fill-rest);
@@ -12710,8 +12710,8 @@
12710
12710
  font-size: var(--type-ramp-base-font-size);
12711
12711
  top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
12712
12712
  }
12713
- `,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class ph extends Ji{}const uh=ph.compose({baseName:"date-editor",styles:Zi,template:Ki("rapid")});class hh extends rn{}const mh=hh.compose({baseName:"multiselect-editor",styles:tn,template:on("rapid")});class bh extends sn{}const vh=bh.compose({baseName:"select-editor",styles:dn,template:cn("rapid")});class fh extends mn{}const wh=fh.compose({baseName:"number-editor",styles:bn,template:vn("rapid")});class yh extends xn{}const xh=yh.compose({baseName:"string-editor",styles:kn,template:zn("rapid")});class kh extends An{}const zh=kh.compose({baseName:"editable-renderer",styles:On,template:Fn("rapid")});class Sh extends Mn{}const Ch=Sh.compose({baseName:"grid-pro-action-renderer",styles:b.css`
12714
- ${jn}
12713
+ `,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class mh extends Ki{}const bh=mh.compose({baseName:"date-editor",styles:Xi,template:en("rapid")});class vh extends on{}const fh=vh.compose({baseName:"multiselect-editor",styles:nn,template:ln("rapid")});class wh extends cn{}const yh=wh.compose({baseName:"select-editor",styles:pn,template:un("rapid")});class xh extends vn{}const kh=xh.compose({baseName:"number-editor",styles:fn,template:wn("rapid")});class zh extends zn{}const Sh=zh.compose({baseName:"string-editor",styles:Sn,template:Cn("rapid")});class Ch extends Fn{}const $h=Ch.compose({baseName:"editable-renderer",styles:Tn,template:Dn("rapid")});class Ah extends jn{}const Oh=Ah.compose({baseName:"grid-pro-action-renderer",styles:b.css`
12714
+ ${Pn}
12715
12715
  `,template:b.html`
12716
12716
  <div class="action-container" part="action-container">
12717
12717
  <rapid-button
@@ -12728,12 +12728,12 @@
12728
12728
  `:e.params.actionName}
12729
12729
  </rapid-button>
12730
12730
  </div>
12731
- `});class $h extends Gn{}const Ah=$h.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
12731
+ `});class Fh extends Un{}const Th=Fh.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
12732
12732
  <rapid-actions-menu
12733
12733
  name="${e=>e.params.headerName}"
12734
12734
  :definition=${e=>e.params}
12735
12735
  ></rapid-actions-menu>
12736
- `});class Oh extends Vn{}const Fh=Oh.compose({baseName:"boolean-renderer",styles:Yn,template:Qn("rapid")});const Th=class extends tl{}.compose({baseName:"grid-text-renderer",styles:ol,template:il("rapid")});const Dh=class extends gl{}.compose({baseName:"select-renderer",styles:sl,template:dl("rapid")}),Rh={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Nh={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:Lh}=v.DesignToken,Mh={backgroundColor:Lh("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Nh.backgroundSwatch:Rh.backgroundSwatch)),borderColor:Lh("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Nh.borderSwatch:Rh.borderSwatch)),foregroundColor:Lh("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Nh.foregroundSwatch:Rh.foregroundSwatch)),headerForegroundColor:Lh("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Nh.headerForegroundSwatch:Rh.headerForegroundSwatch)),rowHoverColor:Lh("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Nh.rowHoverSwatch:Rh.rowHoverSwatch))},Ih=b.css`
12736
+ `});class Dh extends Qn{}const Rh=Dh.compose({baseName:"boolean-renderer",styles:Wn,template:qn("rapid")});const Nh=class extends il{}.compose({baseName:"grid-text-renderer",styles:nl,template:ll("rapid")});const Lh=class extends dl{}.compose({baseName:"select-renderer",styles:cl,template:pl("rapid")}),Mh={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2b2e34"))},Ih={foregroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Ae.parseColorHexRGB)("#2196f3"))},{create:jh}=v.DesignToken,Eh={backgroundColor:jh("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ih.backgroundSwatch:Mh.backgroundSwatch)),borderColor:jh("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ih.borderSwatch:Mh.borderSwatch)),foregroundColor:jh("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ih.foregroundSwatch:Mh.foregroundSwatch)),headerForegroundColor:jh("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ih.headerForegroundSwatch:Mh.headerForegroundSwatch)),rowHoverColor:jh("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ih.rowHoverSwatch:Mh.rowHoverSwatch))},Ph=b.css`
12737
12737
  .ag-theme-genesis-rapid,
12738
12738
  .ag-theme-genesis-rapid-dark {
12739
12739
  --ag-alpine-active-color: #2196f3;
@@ -13194,76 +13194,76 @@
13194
13194
  .ag-theme-genesis-rapid-dark {
13195
13195
  color-scheme: dark;
13196
13196
  }
13197
- `,jh={[Mi.backgroundColor]:Mh.backgroundColor,[Mi.foregroundColor]:Mh.foregroundColor,[Mi.oddRowBackgroundColor]:Mh.backgroundColor,[Mi.headerBackgroundColor]:Mh.backgroundColor,[Mi.headerForegroundColor]:Mh.headerForegroundColor,[Mi.selectedRowBackgroundColor]:Mh.rowHoverColor,[Mi.rowHoverColor]:Mh.rowHoverColor,[Mi.borderColor]:Mh.borderColor,[Mi.rowBorderColor]:Mh.rowHoverColor,[Mi.modalOverlayBackgroundColor]:Mh.backgroundColor,[Mi.inputFocusBoxShadow]:Mh.headerForegroundColor,[Mi.inputFocusBorderColor]:Mh.headerForegroundColor,[Mi.headerColumnResizeHandleColor]:Mh.headerForegroundColor},Eh="ag-theme-genesis-rapid",Ph=b.css`
13198
- ${Ih}
13199
- ${Ui(Eh,jh)}
13197
+ `,Bh={[ji.backgroundColor]:Eh.backgroundColor,[ji.foregroundColor]:Eh.foregroundColor,[ji.oddRowBackgroundColor]:Eh.backgroundColor,[ji.headerBackgroundColor]:Eh.backgroundColor,[ji.headerForegroundColor]:Eh.headerForegroundColor,[ji.selectedRowBackgroundColor]:Eh.rowHoverColor,[ji.rowHoverColor]:Eh.rowHoverColor,[ji.borderColor]:Eh.borderColor,[ji.rowBorderColor]:Eh.rowHoverColor,[ji.modalOverlayBackgroundColor]:Eh.backgroundColor,[ji.inputFocusBoxShadow]:Eh.headerForegroundColor,[ji.inputFocusBorderColor]:Eh.headerForegroundColor,[ji.headerColumnResizeHandleColor]:Eh.headerForegroundColor},Gh="ag-theme-genesis-rapid",_h=b.css`
13198
+ ${Ph}
13199
+ ${Vi(Gh,Bh)}
13200
13200
 
13201
- .${Eh} {
13201
+ .${Gh} {
13202
13202
  ${Qe()}
13203
13203
  font-family: var(--body-font);
13204
13204
  }
13205
13205
 
13206
- .${Eh} .ag-body .ag-body-viewport,
13207
- .${Eh} .ag-header,
13208
- .${Eh} .ag-row {
13206
+ .${Gh} .ag-body .ag-body-viewport,
13207
+ .${Gh} .ag-header,
13208
+ .${Gh} .ag-row {
13209
13209
  background-color: var(--neutral-layer-4);
13210
13210
  }
13211
13211
 
13212
- .${Eh} .ag-header {
13212
+ .${Gh} .ag-header {
13213
13213
  border-bottom-color: var(--neutral-stroke-rest);
13214
13214
  font-weight: bold;
13215
13215
  font-size: var(--type-ramp-base-font-size);
13216
13216
  }
13217
13217
 
13218
- .${Eh} .ag-root-wrapper {
13218
+ .${Gh} .ag-root-wrapper {
13219
13219
  border-radius: calc(var(--ag-border-radius) * 1px);
13220
13220
  border: 1px solid var(--rapid-ag-border-color);
13221
13221
  }
13222
13222
 
13223
- .${Eh} .ag-cell {
13223
+ .${Gh} .ag-cell {
13224
13224
  font-size: var(--type-ramp-minus-1-font-size);
13225
13225
  }
13226
- `,Bh="ag-theme-genesis-rapid-dark",Gh=b.css`
13227
- ${Ih}
13228
- ${Ui(Eh,jh)}
13226
+ `,Uh="ag-theme-genesis-rapid-dark",Hh=b.css`
13227
+ ${Ph}
13228
+ ${Vi(Gh,Bh)}
13229
13229
 
13230
- .${Bh} {
13230
+ .${Uh} {
13231
13231
  ${Qe()}
13232
13232
  font-family: var(--body-font);
13233
13233
  }
13234
13234
 
13235
- .${Bh} .ag-body .ag-body-viewport,
13236
- .${Bh} .ag-header,
13237
- .${Bh} .ag-row {
13235
+ .${Uh} .ag-body .ag-body-viewport,
13236
+ .${Uh} .ag-header,
13237
+ .${Uh} .ag-row {
13238
13238
  background-color: var(--neutral-layer-4);
13239
13239
  }
13240
13240
 
13241
- .${Bh} .ag-header {
13241
+ .${Uh} .ag-header {
13242
13242
  border-bottom-color: var(--neutral-stroke-rest);
13243
13243
  font-weight: bold;
13244
13244
  font-size: var(--type-ramp-base-font-size);
13245
13245
  }
13246
13246
 
13247
- .${Bh} .ag-root-wrapper {
13247
+ .${Uh} .ag-root-wrapper {
13248
13248
  border-radius: calc(var(--ag-border-radius) * 1px);
13249
13249
  border: 1px solid var(--rapid-ag-border-color);
13250
13250
  }
13251
13251
 
13252
- .${Bh} .ag-cell {
13252
+ .${Uh} .ag-cell {
13253
13253
  font-size: var(--type-ramp-minus-1-font-size);
13254
13254
  }
13255
- `,_h=b.css`
13255
+ `,Vh=b.css`
13256
13256
  /* All the AG themes */
13257
- ${cg}
13257
+ ${hg}
13258
13258
 
13259
13259
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
13260
- ${Ph}
13261
- ${Gh}
13260
+ ${_h}
13261
+ ${Hh}
13262
13262
 
13263
13263
  .error {
13264
13264
  border-color: ${$e.shortPink} !important;
13265
13265
  }
13266
- `,Uh=pg,Hh="ag-theme-genesis-rapid-dark";const Vh=xg,Yh={rapidAgEditableRenderer:zh,rapidAgActionRenderer:Ch,rapidAgActionsMenuRenderer:Ah,rapidAgBooleanRenderer:Fh,rapidAgTextRenderer:Th,rapidAgSelectRenderer:Dh,rapidAgDateEditor:uh,rapidAgMultiselectEditor:mh,rapidAgSelectEditor:vh,rapidAgNumberEditor:wh,rapidAgStringEditor:xh,rapidGridPro:class extends wg{constructor(){super(...arguments),this.theme=Hh}themeChanged(e,a){(e||a===Hh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Hi.action]:Sh,[Hi.actionsMenu]:$h,[Hi.boolean]:Oh,[Hi.editable]:kh,[Hi.selectEditor]:bh,[Hi.numberEditor]:fh,[Hi.multiselectEditor]:hh,[Hi.dateEditor]:ph,[Hi.stringEditor]:yh};(this.theme===Eh||this.theme===Bh)&&(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:Uh,styles:_h,shadowOptions:undefined},Vh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Qh,Wh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Qh||(Qh={}));const qh={Roboto:Ye,"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'},Jh=qh["Segoe UI"],Zh=b.css`
13266
+ `,Yh=mg,Qh="ag-theme-genesis-rapid-dark";const Wh=Sg,qh={rapidAgEditableRenderer:$h,rapidAgActionRenderer:Oh,rapidAgActionsMenuRenderer:Th,rapidAgBooleanRenderer:Rh,rapidAgTextRenderer:Nh,rapidAgSelectRenderer:Lh,rapidAgDateEditor:bh,rapidAgMultiselectEditor:fh,rapidAgSelectEditor:yh,rapidAgNumberEditor:kh,rapidAgStringEditor:Sh,rapidGridPro:class extends kg{constructor(){super(...arguments),this.theme=Qh}themeChanged(e,a){(e||a===Qh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Yi.action]:Ah,[Yi.actionsMenu]:Fh,[Yi.boolean]:Dh,[Yi.editable]:Ch,[Yi.selectEditor]:wh,[Yi.numberEditor]:xh,[Yi.multiselectEditor]:vh,[Yi.dateEditor]:mh,[Yi.stringEditor]:zh};(this.theme===Gh||this.theme===Uh)&&(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:Yh,styles:Vh,shadowOptions:undefined},Wh)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Jh,Zh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Jh||(Jh={}));const Kh={Roboto:Ye,"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=Kh["Segoe UI"],em=b.css`
13267
13267
  ${(0,v.display)("block")} :host {
13268
13268
  width: 100%;
13269
13269
  display: inline-flex;
@@ -13395,7 +13395,7 @@
13395
13395
  alpha-button {
13396
13396
  margin: 0;
13397
13397
  }
13398
- `,Kh=b.html`
13398
+ `,am=b.html`
13399
13399
  <template>
13400
13400
  <div class="configuration">
13401
13401
  ${(0,b.when)((e=>!e.customDesignMode),b.html`
@@ -13603,7 +13603,7 @@
13603
13603
  </div>
13604
13604
  </div>
13605
13605
  ${(0,b.when)((e=>!e.customDesignMode),b.html`
13606
- <alpha-checkbox :checked="${(0,Zn.Z)((e=>e.preserveOptions),"boolean")}">
13606
+ <alpha-checkbox :checked="${(0,Xn.Z)((e=>e.preserveOptions),"boolean")}">
13607
13607
  Preserve selected options when changing design systems
13608
13608
  </alpha-checkbox>
13609
13609
  `)}
@@ -13618,7 +13618,7 @@
13618
13618
  <slot></slot>
13619
13619
  </div>
13620
13620
  </template>
13621
- `,Xh=({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(qh).find((a=>qh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),em=Xh(Ze),am={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},rm={accent:"primary",neutral:"secondary",font:"white"},tm=Xh(l.designTokens),om=Xh(sd),im={zero:{prefix:"zero",tokenDefaults:em,buttons:am,badge:rm},alpha:{prefix:"alpha",tokenDefaults:tm,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:om,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:am,badge:rm}};let nm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=em.luminance===f.StandardLuminance.DarkMode,this.luminance=em.luminance,this.neutralColor=em.neutralColor,this.accentColor=em.accentColor,this.bodyFont=em.bodyFont,this.density=em.density,this.borderRadius=em.borderRadius,this.strokeWidth=em.strokeWidth,this.designUnit=em.designUnit,this.baseFontSize=em.baseFontSize,this.baseLineHeight=em.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof v.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof f.Combobox||e.target instanceof f.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof v.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?f.StandardLuminance.DarkMode:f.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=Xh(a);im.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Wh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(im[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:im[this.ds].prefix,buttonAppearanceAccent:im[this.ds].buttons.accent,buttonAppearanceNeutral:im[this.ds].buttons.neutral,buttonAppearanceOutline:im[this.ds].buttons.outline,buttonAppearanceText:im[this.ds].buttons.text,badgeAppearanceAccent:im[this.ds].badge.accent,badgeAppearanceNeutral:im[this.ds].badge.neutral,badgeText:im[this.ds].badge.font};this.$emit(Qh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(im[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:qh[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(Qh.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===f.StandardLuminance.DarkMode,b.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={},Ve(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Qh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Wh.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],nm.prototype,"customDesignMode",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"designSystems",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"ds",void 0),(0,Wh.__decorate)([b.attr],nm.prototype,"darkMode",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"neutralColor",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"accentColor",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"bodyFont",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"density",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"borderRadius",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"strokeWidth",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"designUnit",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"baseFontSize",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"baseLineHeight",void 0),(0,Wh.__decorate)([b.observable],nm.prototype,"preserveOptions",void 0),nm=(0,Wh.__decorate)([(0,b.customElement)({name:"design-system-editor",template:Kh,styles:Zh})],nm);const lm=(0,k.createLogger)("documentation-components"),gm=e=>{const a=(e=>{const a=(0,Ae.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},sm=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},dm=(e,a)=>{const r=gm(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=gm(e.accentColor);f.accentPalette.setValueFor(a,t),f.baseLayerLuminance.setValueFor(a,e.luminance),f.density.setValueFor(a,e.density),f.controlCornerRadius.setValueFor(a,e.borderRadius),f.strokeWidth.setValueFor(a,e.strokeWidth),f.designUnit.setValueFor(a,e.designUnit),f.bodyFont.setValueFor(a,e.bodyFont),f.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),f.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),f.typeRampMinus1FontSize.setValueFor(a,sm(f.typeRampBaseFontSize,He.Yd.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,sm(f.typeRampBaseLineHeight,He.Yd.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,sm(f.typeRampBaseFontSize,He.Yd.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,sm(f.typeRampBaseLineHeight,He.Yd.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,sm(f.typeRampBaseFontSize,He.Yd.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,sm(f.typeRampBaseLineHeight,He.Yd.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,sm(f.typeRampBaseFontSize,He.Yd.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,sm(f.typeRampBaseLineHeight,He.Yd.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,sm(f.typeRampBaseFontSize,He.Yd.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,sm(f.typeRampBaseLineHeight,He.Yd.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,sm(f.typeRampBaseFontSize,He.Yd.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,sm(f.typeRampBaseLineHeight,He.Yd.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,sm(f.typeRampBaseFontSize,He.Yd.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,sm(f.typeRampBaseLineHeight,He.Yd.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,sm(f.typeRampBaseFontSize,He.Yd.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,sm(f.typeRampBaseLineHeight,He.Yd.plusSix,a))},cm=b.css`
13621
+ `,rm=({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(Kh).find((a=>Kh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),tm=rm(Ze),om={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},im={accent:"primary",neutral:"secondary",font:"white"},nm=rm(l.designTokens),lm=rm(pd),gm={zero:{prefix:"zero",tokenDefaults:tm,buttons:om,badge:im},alpha:{prefix:"alpha",tokenDefaults:nm,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:lm,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:om,badge:im}};let sm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=tm.luminance===f.StandardLuminance.DarkMode,this.luminance=tm.luminance,this.neutralColor=tm.neutralColor,this.accentColor=tm.accentColor,this.bodyFont=tm.bodyFont,this.density=tm.density,this.borderRadius=tm.borderRadius,this.strokeWidth=tm.strokeWidth,this.designUnit=tm.designUnit,this.baseFontSize=tm.baseFontSize,this.baseLineHeight=tm.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof v.RadioGroup||e.target instanceof HTMLInputElement||e.target instanceof f.Combobox||e.target instanceof f.Select){const{name:a,value:r}=e.target;a&&r&&(this[a]=r,this.updateUserSelections(a,r),this.styleUpdate())}else if(e.target instanceof v.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?f.StandardLuminance.DarkMode:f.StandardLuminance.LightMode,this.updateUserSelections("luminance",this.luminance),this.styleUpdate()},this.applyCustomDSTokens=e=>{const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=rm(a);gm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Zh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(gm[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:gm[this.ds].prefix,buttonAppearanceAccent:gm[this.ds].buttons.accent,buttonAppearanceNeutral:gm[this.ds].buttons.neutral,buttonAppearanceOutline:gm[this.ds].buttons.outline,buttonAppearanceText:gm[this.ds].buttons.text,badgeAppearanceAccent:gm[this.ds].badge.accent,badgeAppearanceNeutral:gm[this.ds].badge.neutral,badgeText:gm[this.ds].badge.font};this.$emit(Jh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(gm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Kh[this.bodyFont],luminance:this.luminance,density:this.density,designUnit:this.designUnit,borderRadius:this.borderRadius,strokeWidth:this.strokeWidth,baseFontSize:this.baseFontSize,baseLineHeight:this.baseLineHeight};this.$emit(Jh.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===f.StandardLuminance.DarkMode,b.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={},Ve(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Jh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Zh.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],sm.prototype,"customDesignMode",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"designSystems",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"ds",void 0),(0,Zh.__decorate)([b.attr],sm.prototype,"darkMode",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"neutralColor",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"accentColor",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"bodyFont",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"density",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"borderRadius",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"strokeWidth",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"designUnit",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"baseFontSize",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"baseLineHeight",void 0),(0,Zh.__decorate)([b.observable],sm.prototype,"preserveOptions",void 0),sm=(0,Zh.__decorate)([(0,b.customElement)({name:"design-system-editor",template:am,styles:em})],sm);const dm=(0,k.createLogger)("documentation-components"),cm=e=>{const a=(e=>{const a=(0,Ae.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},pm=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},um=(e,a)=>{const r=cm(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=cm(e.accentColor);f.accentPalette.setValueFor(a,t),f.baseLayerLuminance.setValueFor(a,e.luminance),f.density.setValueFor(a,e.density),f.controlCornerRadius.setValueFor(a,e.borderRadius),f.strokeWidth.setValueFor(a,e.strokeWidth),f.designUnit.setValueFor(a,e.designUnit),f.bodyFont.setValueFor(a,e.bodyFont),f.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),f.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),f.typeRampMinus1FontSize.setValueFor(a,pm(f.typeRampBaseFontSize,He.Yd.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,pm(f.typeRampBaseLineHeight,He.Yd.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,pm(f.typeRampBaseFontSize,He.Yd.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,pm(f.typeRampBaseLineHeight,He.Yd.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,pm(f.typeRampBaseFontSize,He.Yd.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,pm(f.typeRampBaseLineHeight,He.Yd.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,pm(f.typeRampBaseFontSize,He.Yd.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,pm(f.typeRampBaseLineHeight,He.Yd.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,pm(f.typeRampBaseFontSize,He.Yd.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,pm(f.typeRampBaseLineHeight,He.Yd.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,pm(f.typeRampBaseFontSize,He.Yd.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,pm(f.typeRampBaseLineHeight,He.Yd.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,pm(f.typeRampBaseFontSize,He.Yd.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,pm(f.typeRampBaseLineHeight,He.Yd.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,pm(f.typeRampBaseFontSize,He.Yd.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,pm(f.typeRampBaseLineHeight,He.Yd.plusSix,a))},hm=b.css`
13622
13622
  :host {
13623
13623
  --badge-fill-primary: var(--accent-fill-rest);
13624
13624
  --badge-fill-neutral: var(--neutral-fill-rest);
@@ -13714,7 +13714,7 @@
13714
13714
  display: flex;
13715
13715
  flex-direction: column;
13716
13716
  }
13717
- `,pm=b.html`
13717
+ `,mm=b.html`
13718
13718
  ${e=>(e=>b.html`
13719
13719
  <template>
13720
13720
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14126,7 +14126,7 @@
14126
14126
  </${e}-design-system-provider>
14127
14127
  </template>
14128
14128
  `)(e.prefix)}
14129
- `;let um=class extends b.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=>lm.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>lm.debug("DELETE!!!",e)},{name:"Edit",callback:e=>lm.debug("EDIT!!!",e)},{name:"Wait",callback:e=>lm.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(Qh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Qh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Jh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{dm(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)([b.observable],um.prototype,"modal",void 0),(0,Wh.__decorate)([b.attr],um.prototype,"prefix",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"buttonAppearanceAccent",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"buttonAppearanceNeutral",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"buttonAppearanceOutline",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"buttonAppearanceText",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"badgeAppearanceAccent",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"badgeAppearanceNeutral",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"badgeText",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"cards",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"countries",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"menuActions",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"menuDefinition",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"dropDownMenuItems",void 0),(0,Wh.__decorate)([b.observable],um.prototype,"provider",void 0),um=(0,Wh.__decorate)([(0,b.customElement)({name:"preview-components",template:pm,styles:cm})],um);const hm=b.css`
14129
+ `;let bm=class extends b.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=>dm.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>dm.debug("DELETE!!!",e)},{name:"Edit",callback:e=>dm.debug("EDIT!!!",e)},{name:"Wait",callback:e=>dm.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Jh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Jh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Xh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{um(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)([b.observable],bm.prototype,"modal",void 0),(0,Zh.__decorate)([b.attr],bm.prototype,"prefix",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"buttonAppearanceAccent",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"buttonAppearanceNeutral",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"buttonAppearanceOutline",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"buttonAppearanceText",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"badgeAppearanceAccent",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"badgeAppearanceNeutral",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"badgeText",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"cards",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"countries",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"menuActions",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"menuDefinition",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"dropDownMenuItems",void 0),(0,Zh.__decorate)([b.observable],bm.prototype,"provider",void 0),bm=(0,Zh.__decorate)([(0,b.customElement)({name:"preview-components",template:mm,styles:hm})],bm);const vm=b.css`
14130
14130
  .export {
14131
14131
  display: flex;
14132
14132
  justify-content: center;
@@ -14137,7 +14137,7 @@
14137
14137
  display: flex;
14138
14138
  justify-content: space-between;
14139
14139
  }
14140
- `,mm=b.html`
14140
+ `,fm=b.html`
14141
14141
  <template>
14142
14142
  <div class="export">
14143
14143
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -14158,7 +14158,7 @@
14158
14158
  </alpha-modal>
14159
14159
  </div>
14160
14160
  </template>
14161
- `;let bm=class extends b.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=>{lm.log("Tokens saved successfully:",e),this.$emit(Qh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{lm.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Qh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Wh.__decorate)([b.attr],bm.prototype,"value",void 0),(0,Wh.__decorate)([b.attr],bm.prototype,"tokensPath",void 0),bm=(0,Wh.__decorate)([(0,b.customElement)({name:"design-system-export",template:mm,styles:hm})],bm);const vm=b.css`
14161
+ `;let wm=class extends b.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=>{dm.log("Tokens saved successfully:",e),this.$emit(Jh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{dm.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Jh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Zh.__decorate)([b.attr],wm.prototype,"value",void 0),(0,Zh.__decorate)([b.attr],wm.prototype,"tokensPath",void 0),wm=(0,Zh.__decorate)([(0,b.customElement)({name:"design-system-export",template:fm,styles:vm})],wm);const ym=b.css`
14162
14162
  .colors {
14163
14163
  display: flex;
14164
14164
  flex-wrap: wrap;
@@ -14171,23 +14171,23 @@
14171
14171
  flex-grow: 1;
14172
14172
  height: 20px;
14173
14173
  }
14174
- `,fm=b.html`
14174
+ `,xm=b.html`
14175
14175
  <ul class="colors">
14176
14176
  ${(0,b.repeat)((e=>e.swatches),b.html`
14177
14177
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
14178
14178
  `)}
14179
14179
  </ul>
14180
- `;let wm=class extends b.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){f[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=gm(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Qh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Wh.__decorate)([b.observable],wm.prototype,"swatches",void 0),(0,Wh.__decorate)([b.attr],wm.prototype,"type",void 0),wm=(0,Wh.__decorate)([(0,b.customElement)({name:"color-palette",styles:vm,template:fm})],wm);const ym=b.css`
14180
+ `;let km=class extends b.FASTElement{constructor(){super(...arguments),this.swatches=[]}typeChanged(){if(this.type){f[this.type+"Palette"].subscribe({handleChange:e=>{const a=e.token.getValueFor(this);this.swatches=[...a.swatches]}},this)}}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{const e=cm(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Jh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Zh.__decorate)([b.observable],km.prototype,"swatches",void 0),(0,Zh.__decorate)([b.attr],km.prototype,"type",void 0),km=(0,Zh.__decorate)([(0,b.customElement)({name:"color-palette",styles:ym,template:xm})],km);const zm=b.css`
14181
14181
  .preview {
14182
14182
  width: 40px;
14183
14183
  height: 40px;
14184
14184
  }
14185
- `,xm=b.html`
14185
+ `,Sm=b.html`
14186
14186
  <div
14187
14187
  class="preview"
14188
14188
  style="background-color: ${e=>f[e.tokenName].createCSS()}"
14189
14189
  ></div>
14190
- `;let km=class extends b.FASTElement{};(0,Wh.__decorate)([b.attr],km.prototype,"tokenName",void 0),km=(0,Wh.__decorate)([(0,b.customElement)({name:"color-token",styles:ym,template:xm})],km);const zm=b.css`
14190
+ `;let Cm=class extends b.FASTElement{};(0,Zh.__decorate)([b.attr],Cm.prototype,"tokenName",void 0),Cm=(0,Zh.__decorate)([(0,b.customElement)({name:"color-token",styles:zm,template:Sm})],Cm);const $m=b.css`
14191
14191
  .container {
14192
14192
  display: flex;
14193
14193
  width: 100%;
@@ -14235,7 +14235,7 @@
14235
14235
  .container > div:not(:last-child) {
14236
14236
  border-right: 1px solid #fafafa;
14237
14237
  }
14238
- `,Sm=[{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"}]}]}],Cm=b.html`
14238
+ `,Am=[{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"}]}]}],Om=b.html`
14239
14239
  <div class="row">
14240
14240
  <div
14241
14241
  class="preview"
@@ -14247,19 +14247,19 @@
14247
14247
  ${(e,a)=>f[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
14248
14248
  </div>
14249
14249
  </div>
14250
- `,$m=b.html`
14250
+ `,Fm=b.html`
14251
14251
  <div class="container" ${(0,b.ref)("provider")}>
14252
- ${(0,b.repeat)((()=>Sm),b.html`
14252
+ ${(0,b.repeat)((()=>Am),b.html`
14253
14253
  <div class="column">
14254
14254
  <h3 class="header-title">${e=>e.title}</h3>
14255
14255
  ${(0,b.repeat)((e=>e.subcategories),b.html`
14256
14256
  <h4>${e=>e.title}</h4>
14257
- ${(0,b.repeat)((e=>e.tokens),Cm)}
14257
+ ${(0,b.repeat)((e=>e.tokens),Om)}
14258
14258
  `)}
14259
14259
  </div>
14260
14260
  `)}
14261
14261
  </div>
14262
- `;let Am=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Qh.STYLES_CHANGED,(e=>{const a=e.detail;dm(a,this.provider)}))}};(0,Wh.__decorate)([b.observable],Am.prototype,"provider",void 0),Am=(0,Wh.__decorate)([(0,b.customElement)({name:"color-tokens",template:$m,styles:zm})],Am);const Om=b.css`
14262
+ `;let Tm=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Jh.STYLES_CHANGED,(e=>{const a=e.detail;um(a,this.provider)}))}};(0,Zh.__decorate)([b.observable],Tm.prototype,"provider",void 0),Tm=(0,Zh.__decorate)([(0,b.customElement)({name:"color-tokens",template:Fm,styles:$m})],Tm);const Dm=b.css`
14263
14263
  table {
14264
14264
  background: var(--neutral-fill-rest);
14265
14265
  color: var(--neutral-foreground-rest);
@@ -14268,7 +14268,7 @@
14268
14268
  th {
14269
14269
  text-align: left;
14270
14270
  }
14271
- `,Fm=b.html`
14271
+ `,Rm=b.html`
14272
14272
  <table ${(0,b.ref)("provider")} style="font-family: ${()=>f.bodyFont.createCSS()}">
14273
14273
  <colgroup>
14274
14274
  <col style="width: 15%;" />
@@ -14496,7 +14496,7 @@
14496
14496
  </tr>
14497
14497
  </tbody>
14498
14498
  </table>
14499
- `;let Tm=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Qh.STYLES_CHANGED,(e=>{const a=e.detail;dm(a,this.provider)}))}};(0,Wh.__decorate)([b.observable],Tm.prototype,"provider",void 0),Tm=(0,Wh.__decorate)([(0,b.customElement)({name:"typography-tokens",template:Fm,styles:Om})],Tm);const Dm=b.css`
14499
+ `;let Nm=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Jh.STYLES_CHANGED,(e=>{const a=e.detail;um(a,this.provider)}))}};(0,Zh.__decorate)([b.observable],Nm.prototype,"provider",void 0),Nm=(0,Zh.__decorate)([(0,b.customElement)({name:"typography-tokens",template:Rm,styles:Dm})],Nm);const Lm=b.css`
14500
14500
  :host {
14501
14501
  background: var(--fill-color);
14502
14502
  color: var(--neutral-foreground-rest);
@@ -14512,7 +14512,7 @@
14512
14512
  margin-top: 24px;
14513
14513
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
14514
14514
  }
14515
- `,Rm=b.html`
14515
+ `,Mm=b.html`
14516
14516
  <template>
14517
14517
  <alpha-tabs>
14518
14518
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -14541,7 +14541,7 @@
14541
14541
  </alpha-tab-panel>
14542
14542
  </alpha-tabs>
14543
14543
  </template>
14544
- `;let Nm=class extends b.FASTElement{};Nm=(0,Wh.__decorate)([(0,b.customElement)({name:"design-system-preview",template:Rm,styles:Dm})],Nm);const Lm={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"}]}]}}]},Mm={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"]}}},Im={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"}]}}}]},jm={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"]}}}},Em=b.css`
14544
+ `;let Im=class extends b.FASTElement{};Im=(0,Zh.__decorate)([(0,b.customElement)({name:"design-system-preview",template:Mm,styles:Lm})],Im);const jm={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"}]}]}}]},Em={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"]}}},Pm={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"}]}}}]},Bm={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=b.css`
14545
14545
  :host {
14546
14546
  background: var(--fill-color);
14547
14547
  color: var(--neutral-foreground-rest);
@@ -14572,7 +14572,7 @@
14572
14572
  zero-design-system-provider {
14573
14573
  display: inline;
14574
14574
  }
14575
- `,Pm=b.html`
14575
+ `,_m=b.html`
14576
14576
  ${e=>(e=>b.html`
14577
14577
  <template>
14578
14578
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14596,7 +14596,7 @@
14596
14596
  </${e}-design-system-provider>
14597
14597
  </template>
14598
14598
  `)(e.prefix)}
14599
- `;let Bm=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=Mm,this.uischema=Lm,this.jsonSchemaArray=jm,this.uiSchemaArray=Im,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(Qh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Qh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Jh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{dm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Wh.__decorate)([b.observable],Bm.prototype,"jsonSchema",void 0),(0,Wh.__decorate)([b.observable],Bm.prototype,"uischema",void 0),(0,Wh.__decorate)([b.observable],Bm.prototype,"jsonSchemaArray",void 0),(0,Wh.__decorate)([b.observable],Bm.prototype,"uiSchemaArray",void 0),(0,Wh.__decorate)([b.attr],Bm.prototype,"prefix",void 0),(0,Wh.__decorate)([b.observable],Bm.prototype,"provider",void 0),(0,Wh.__decorate)([b.observable],Bm.prototype,"editedEntity",void 0),(0,Wh.__decorate)([b.observable],Bm.prototype,"editedEntityArray",void 0),Bm=(0,Wh.__decorate)([(0,b.customElement)({name:"preview-form",template:Pm,styles:Em})],Bm);const Gm=b.css`
14599
+ `;let Um=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=Em,this.uischema=jm,this.jsonSchemaArray=Bm,this.uiSchemaArray=Pm,this.prefix="zero",this.editedEntity={group1:{NAME:"Test Name"},group2:{COUNTERPARTY_ID:"GENESIS",INSTRUMENT_ID:"BOND"}},this.editedEntityArray={users:[{firstname:"Max",lastname:"Mustermann",age:25,email:"max@mustermann.com"},{firstname:"John",lastname:"Doe",age:35,email:"john@doe.com"}]}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Jh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Jh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Xh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{um(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Zh.__decorate)([b.observable],Um.prototype,"jsonSchema",void 0),(0,Zh.__decorate)([b.observable],Um.prototype,"uischema",void 0),(0,Zh.__decorate)([b.observable],Um.prototype,"jsonSchemaArray",void 0),(0,Zh.__decorate)([b.observable],Um.prototype,"uiSchemaArray",void 0),(0,Zh.__decorate)([b.attr],Um.prototype,"prefix",void 0),(0,Zh.__decorate)([b.observable],Um.prototype,"provider",void 0),(0,Zh.__decorate)([b.observable],Um.prototype,"editedEntity",void 0),(0,Zh.__decorate)([b.observable],Um.prototype,"editedEntityArray",void 0),Um=(0,Zh.__decorate)([(0,b.customElement)({name:"preview-form",template:_m,styles:Gm})],Um);const Hm=b.css`
14600
14600
  :host {
14601
14601
  background: var(--fill-color);
14602
14602
  color: var(--neutral-foreground-rest);
@@ -14611,7 +14611,7 @@
14611
14611
  .grid-height {
14612
14612
  height: 450px;
14613
14613
  }
14614
- `,_m=b.html`
14614
+ `,Vm=b.html`
14615
14615
  ${e=>(e=>b.html`
14616
14616
  <template>
14617
14617
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14621,5 +14621,5 @@
14621
14621
  </${e}-design-system-provider>
14622
14622
  </template>
14623
14623
  `)(e.prefix)}
14624
- `;let Um=class extends b.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(Qh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Qh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(Jh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{dm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Wh.__decorate)([b.observable],Um.prototype,"grid",void 0),(0,Wh.__decorate)([b.attr],Um.prototype,"prefix",void 0),(0,Wh.__decorate)([b.observable],Um.prototype,"provider",void 0),(0,Wh.__decorate)([b.observable],Um.prototype,"rowData",void 0),(0,Wh.__decorate)([b.observable],Um.prototype,"columnDefs",void 0),(0,Wh.__decorate)([b.observable],Um.prototype,"gridOptions",void 0),Um=(0,Wh.__decorate)([(0,b.customElement)({name:"preview-grid",template:_m,styles:Gm})],Um),((e,a="zero")=>{e&&(0,H.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(Li,jg),(0,l.provideDesignSystem)().register(l.baseComponents,Eg),((e,a="rapid")=>{e&&(0,H.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(ch,Yh)}}]);
14625
- //# sourceMappingURL=849.08a5ccbc241f730a7a50ef70b1f414e3.js.map
14624
+ `;let Ym=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Jh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Jh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(Xh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{um(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Zh.__decorate)([b.observable],Ym.prototype,"grid",void 0),(0,Zh.__decorate)([b.attr],Ym.prototype,"prefix",void 0),(0,Zh.__decorate)([b.observable],Ym.prototype,"provider",void 0),(0,Zh.__decorate)([b.observable],Ym.prototype,"rowData",void 0),(0,Zh.__decorate)([b.observable],Ym.prototype,"columnDefs",void 0),(0,Zh.__decorate)([b.observable],Ym.prototype,"gridOptions",void 0),Ym=(0,Zh.__decorate)([(0,b.customElement)({name:"preview-grid",template:Vm,styles:Hm})],Ym),((e,a="zero")=>{e&&(0,H.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(Ii,Bg),(0,l.provideDesignSystem)().register(l.baseComponents,Gg),((e,a="rapid")=>{e&&(0,H.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(hh,qh)}}]);
14625
+ //# sourceMappingURL=359.b4620b1a2ca374618a8ee7e785697416.js.map