@genesislcap/design-system-configurator 14.162.6 → 14.164.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[577],{1024:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>bm,ColorToken:()=>wm,ColorTokens:()=>Sm,DesignSystemEditor:()=>tm,DesignSystemExport:()=>um,DesignSystemPreview:()=>Tm,EventName:()=>Hh,PreviewComponents:()=>dm,PreviewForm:()=>jm,PreviewGrid:()=>Bm,TypographyTokens:()=>Am,defaultBodyFont:()=>Qh,fontFamilies:()=>Yh});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:()=>Ae,defaultSuccessColor:()=>Te,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Fe,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:()=>De,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:()=>Re,baseLayerLuminanceValue:()=>Le,bodyFontValue:()=>Ve,controlCornerRadiusValue:()=>Ee,densityValue:()=>Pe,designTokens:()=>We,designUnitValue:()=>Be,directionValue:()=>Ie,neutralPaletteValue:()=>Ne,strokeWidthValue:()=>je,typeRampBaseFontSizeValue:()=>Ye,typeRampBaseLineHeightValue:()=>Qe});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:()=>qg,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>Wg,defaultErrorColor:()=>Pg,defaultSellColor:()=>Zg,defaultSuccessColor:()=>_g,defaultWarningColor:()=>Vg,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Bg,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:()=>Kg,strokeWidth:()=>f.strokeWidth,successColor:()=>Ug,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:()=>Yg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>os,accentFillFocusDeltaValue:()=>is,accentFillHoverDeltaValue:()=>ts,accentFillRestDeltaValue:()=>rs,accentForegroundActiveDeltaValue:()=>gs,accentForegroundFocusDeltaValue:()=>ss,accentForegroundHoverDeltaValue:()=>ls,accentForegroundRestDeltaValue:()=>ns,accentPaletteValue:()=>Xg,baseHeightMultiplierValue:()=>js,baseLayerLuminanceValue:()=>as,bodyFontValue:()=>Gs,controlCornerRadiusValue:()=>Es,densityValue:()=>Ps,designTokens:()=>nd,designUnitValue:()=>Bs,directionValue:()=>Ns,disabledOpacityValue:()=>Ls,focusStrokeWidthValue:()=>Is,neutralFillActiveDeltaValue:()=>ps,neutralFillFocusDeltaValue:()=>us,neutralFillHoverDeltaValue:()=>cs,neutralFillInputActiveDeltaValue:()=>bs,neutralFillInputFocusDeltaValue:()=>vs,neutralFillInputHoverDeltaValue:()=>ms,neutralFillInputRestDeltaValue:()=>hs,neutralFillLayerRestDeltaValue:()=>$s,neutralFillRestDeltaValue:()=>ds,neutralFillStealthActiveDeltaValue:()=>ys,neutralFillStealthFocusDeltaValue:()=>xs,neutralFillStealthHoverDeltaValue:()=>ws,neutralFillStealthRestDeltaValue:()=>fs,neutralFillStrongActiveDeltaValue:()=>Ss,neutralFillStrongFocusDeltaValue:()=>Cs,neutralFillStrongHoverDeltaValue:()=>zs,neutralFillStrongRestDeltaValue:()=>ks,neutralPaletteValue:()=>es,neutralStrokeActiveDeltaValue:()=>Os,neutralStrokeDividerRestDeltaValue:()=>Ds,neutralStrokeFocusDeltaValue:()=>Ts,neutralStrokeHoverDeltaValue:()=>Fs,neutralStrokeRestDeltaValue:()=>As,prefix:()=>Rs,strokeWidthValue:()=>Ms,typeRampBaseFontSizeValue:()=>_s,typeRampBaseLineHeightValue:()=>Us,typeRampMinus1FontSizeValue:()=>Hs,typeRampMinus1LineHeightValue:()=>Vs,typeRampMinus2FontSizeValue:()=>Ys,typeRampMinus2LineHeightValue:()=>Qs,typeRampPlus1FontSizeValue:()=>Ws,typeRampPlus1LineHeightValue:()=>qs,typeRampPlus2FontSizeValue:()=>Js,typeRampPlus2LineHeightValue:()=>Zs,typeRampPlus3FontSizeValue:()=>Ks,typeRampPlus3LineHeightValue:()=>Xs,typeRampPlus4FontSizeValue:()=>ed,typeRampPlus4LineHeightValue:()=>ad,typeRampPlus5FontSizeValue:()=>rd,typeRampPlus5LineHeightValue:()=>td,typeRampPlus6FontSizeValue:()=>od,typeRampPlus6LineHeightValue:()=>id});var l=r(89700),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([[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:()=>Os,neutralFillRestDeltaValue:()=>us,neutralFillStealthActiveDeltaValue:()=>zs,neutralFillStealthFocusDeltaValue:()=>Ss,neutralFillStealthHoverDeltaValue:()=>ks,neutralFillStealthRestDeltaValue:()=>xs,neutralFillStrongActiveDeltaValue:()=>As,neutralFillStrongFocusDeltaValue:()=>Fs,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(55453),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`
2
2
  :host {
3
3
  border: calc(${f.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -50,7 +50,7 @@
50
50
  background: ${w.H.Canvas};
51
51
  border-color: ${w.H.CanvasText};
52
52
  }
53
- `)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(99336);const z=(0,k.createLogger)("foundation-form"),S=b.html`
53
+ `)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(16652);const z=(0,k.createLogger)("foundation-form"),S=b.html`
54
54
  <template>
55
55
  ${(0,b.when)((e=>!1),b.html`
56
56
  <zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
@@ -165,9 +165,12 @@
165
165
  id=${e=>e.control.path+"-wrapper"}
166
166
  data-test-id=${e=>e.control.path+"-wrapper"}
167
167
  >
168
- <div for="${e=>e.control.path+"-wrapper"}" class="label">
169
- ${e=>e.computedLabel}
170
- </div>
168
+ ${(0,b.when)((e=>!e.hideLabel),b.html`
169
+ <div for="${e=>e.control.path+"-wrapper"}" class="label">
170
+ ${e=>e.computedLabel}
171
+ </div>
172
+ `)}
173
+
171
174
  <div class="wrapper">
172
175
  <slot></slot>
173
176
  </div>
@@ -181,9 +184,8 @@
181
184
  .wrapperRoot {
182
185
  margin-bottom: calc(var(--design-unit) * 4px);
183
186
  }
184
-
185
187
  .label {
186
- color: rgb(135, 155, 166);
188
+ color: var(--neutral-foreground-hint);
187
189
  margin-bottom: calc(var(--design-unit) * 1px);
188
190
  display: flex;
189
191
  justify-content: space-between;
@@ -200,7 +202,7 @@
200
202
  width: 100%;
201
203
  align-items: center;
202
204
  }
203
- `;let N=class extends b.FASTElement{get showDescription(){return!(0,m.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,m.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([b.observable],N.prototype,"control",void 0),(0,g.__decorate)([b.observable],N.prototype,"touched",void 0),(0,g.__decorate)([b.volatile],N.prototype,"showDescription",null),(0,g.__decorate)([b.volatile],N.prototype,"computedLabel",null),N=(0,g.__decorate)([(0,b.customElement)({name:"control-wrapper",styles:R,template:D})],N);var L=r(80340),M=r.n(L);const I=b.html`
205
+ `;let N=class extends b.FASTElement{constructor(){super(...arguments),this.hideLabel=!1}get showDescription(){return!(0,m.tg6)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,m.lgi)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([b.observable],N.prototype,"control",void 0),(0,g.__decorate)([b.observable],N.prototype,"touched",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean",attribute:"hide-label"})],N.prototype,"hideLabel",void 0),(0,g.__decorate)([b.volatile],N.prototype,"showDescription",null),(0,g.__decorate)([b.volatile],N.prototype,"computedLabel",null),N=(0,g.__decorate)([(0,b.customElement)({name:"control-wrapper",styles:R,template:D})],N);var L=r(80340),M=r.n(L);const I=b.html`
204
206
  <template>${e=>e.determinedRenderer.renderer}</template>
205
207
  `,j=b.css``;let E=class extends b.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,m.Q8v)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,g.__rest)(e,["rootSchema"]);this.renderer=r,this.control=((e,a,r,t,o)=>{var i;const n=Object.assign({},t({jsonforms:a},e)),l=null===(i=o||m.AZl)||void 0===i?void 0:i(r);return Object.assign(Object.assign({},n),l)})(this.props,this.jsonforms,this.dispatch,this.determinedRenderer.mapper,this.determinedRenderer.dispatchMapper)}}jsonformsChanged(){this.createRenderer()}propsChanged(){this.createRenderer()}submittedChanged(){this.touched=!!this.submitted}prefixChanged(){this.createRenderer()}onBlur(){this.touched=!0}get determinedRenderer(){const e=M()(this.renderer.renderers,(e=>e.tester(this.renderer.uischema,this.renderer.schema)));return void 0===e||-1===e.tester(this.renderer.uischema,this.renderer.schema)?(z.error("UnknownRenderer this.renderer.uischema",this.renderer.uischema),{renderer:"UnknownRenderer"}):e}disconnectedCallback(){super.disconnectedCallback(),this.touched=!1,this.submitted=!1}};(0,g.__decorate)([b.observable],E.prototype,"jsonforms",void 0),(0,g.__decorate)([b.observable],E.prototype,"props",void 0),(0,g.__decorate)([b.observable],E.prototype,"touched",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],E.prototype,"submitted",void 0),(0,g.__decorate)([b.observable],E.prototype,"dispatch",void 0),(0,g.__decorate)([b.observable],E.prototype,"control",void 0),(0,g.__decorate)([b.observable],E.prototype,"renderer",void 0),(0,g.__decorate)([b.observable],E.prototype,"prefix",void 0),E=(0,g.__decorate)([(0,b.customElement)({name:"dispatch-renderer",template:I,styles:j})],E);const P=b.css`
206
208
  .tabs-container::part(stepper-panel-container) {
@@ -275,6 +277,7 @@
275
277
  :control=${e=>e.control}
276
278
  :touched=${e=>e.touched}
277
279
  ?submitted=${e=>e.submitted}
280
+ hide-label
278
281
  >
279
282
  <${e}-checkbox
280
283
  ?checked=${e=>e.control.data}
@@ -284,11 +287,11 @@
284
287
  @change=${(e,a)=>{e.control.handleChange(e.control.path,a.event.target.checked),e.onBlur()}}
285
288
  id=${e=>e.control.path}
286
289
  data-test-id=${e=>e.control.path}
287
- ></${e}-checkbox>
290
+ >${e=>e.control.label}</${e}-checkbox>
288
291
  </control-wrapper>
289
292
  </template>
290
293
  `)(e.prefix)}
291
- `,tester:(0,m.yMz)(3,_),mapper:m.xq9};var H=r(27420);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`
294
+ `,tester:(0,m.yMz)(3,_),mapper:m.xq9};var H=r(80856);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`
292
295
  ${e=>((e="zero")=>b.html`
293
296
  <template>
294
297
  <control-wrapper
@@ -397,7 +400,7 @@
397
400
  style="display: none"
398
401
  ></pre>
399
402
  </template>
400
- `,tester:(0,m.yMz)(5,((e,a,r)=>{var t,o;return null!==(o=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.hidden)&&void 0!==o&&o})),mapper:m.xq9},ae=e=>(0,m.ndu)(e,"array")&&e.hasOwnProperty("items")&&"object"==e.items.type,re=(0,m.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some(ae)||ae(e))),te={renderer:b.html`
403
+ `,tester:(0,m.yMz)(5,((e,a,r)=>{var t,o;return null!==(o=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.hidden)&&void 0!==o&&o})),mapper:m.xq9},ae=e=>a=>(0,m.ndu)(a,"array")&&a.hasOwnProperty("items")&&a.items.type===e,re=e=>(0,m.wcO)((a=>a.hasOwnProperty("oneOf")&&a.oneOf.some(ae(e))||ae(e)(a))),te={renderer:b.html`
401
404
  <template>
402
405
  <control-wrapper
403
406
  :control=${e=>e.control}
@@ -407,7 +410,7 @@
407
410
  <array-list-wrapper :form=${e=>e} :control=${e=>e.control}></array-list-wrapper>
408
411
  </control-wrapper>
409
412
  </template>
410
- `,tester:(0,m.yMz)(2,re),mapper:m.OmS,dispatchMapper:m.mpi},oe={renderer:b.html`
413
+ `,tester:(0,m.yMz)(2,re("object")),mapper:m.OmS,dispatchMapper:m.mpi},oe={renderer:b.html`
411
414
  <template>
412
415
  <categorization-wrapper :form=${e=>e} :control=${e=>e.control}></categorization-wrapper>
413
416
  </template>
@@ -436,14 +439,14 @@
436
439
  `)}
437
440
  </div>
438
441
  </template>
439
- `,tester:(0,m.yMz)(2,m.tyy),mapper:m.NFL},ne={renderer:b.html`
442
+ `,tester:(0,m.yMz)(2,m.tyy),mapper:m.NFL},ne=b.html`
443
+ ${(0,b.when)((e=>e.control.label),b.html`
444
+ <div style="color: var(--neutral-foreground-hint);">${e=>e.control.label}</div>
445
+ `)}
446
+ `,le={renderer:b.html`
440
447
  <template>
441
- <div
442
- style="
443
- display: flex;
444
- flex-direction: row;
445
- gap: 10px"
446
- >
448
+ <div>
449
+ ${ne}
447
450
  ${(0,b.repeat)((e=>e.control.uischema.elements),b.html`
448
451
  <dispatch-renderer
449
452
  ?submitted=${(e,a)=>a.parent.submitted}
@@ -455,9 +458,15 @@
455
458
  `)}
456
459
  </div>
457
460
  </template>
458
- `,tester:(0,m.yMz)(2,(e=>"HorizontalLayout"===e.type)),mapper:m.NFL},le={renderer:b.html`
461
+ `,tester:(0,m.yMz)(2,m.Lki),mapper:m.NFL},ge={renderer:b.html`
459
462
  <template>
460
- <div>
463
+ ${ne}
464
+ <div
465
+ style="
466
+ display: flex;
467
+ flex-direction: row;
468
+ gap: 10px"
469
+ >
461
470
  ${(0,b.repeat)((e=>e.control.uischema.elements),b.html`
462
471
  <dispatch-renderer
463
472
  ?submitted=${(e,a)=>a.parent.submitted}
@@ -469,12 +478,13 @@
469
478
  `)}
470
479
  </div>
471
480
  </template>
472
- `,tester:(0,m.yMz)(2,m.Lki),mapper:m.NFL},ge={renderer:b.html`
481
+ `,tester:(0,m.yMz)(2,(e=>"HorizontalLayout"===e.type)),mapper:m.NFL},se={renderer:b.html`
473
482
  <template>
474
483
  <stepper-wrapper :form=${e=>e} :control=${e=>e.control}></stepper-wrapper>
475
484
  </template>
476
- `,tester:(0,m.yMz)(3,(e=>"Stepper"===e.type)),mapper:m.NFL},se={renderer:b.html`
485
+ `,tester:(0,m.yMz)(3,(e=>"Stepper"===e.type)),mapper:m.NFL},de={renderer:b.html`
477
486
  <template>
487
+ ${ne}
478
488
  <div
479
489
  style="
480
490
  display: flex;
@@ -495,7 +505,7 @@
495
505
  `)}
496
506
  </div>
497
507
  </template>
498
- `,tester:(0,m.yMz)(2,(e=>"LayoutVertical2Columns"===e.type)),mapper:m.NFL},de=e=>(0,m.ndu)(e,"number")||(0,m.ndu)(e,"integer"),ce=(0,m.wcO)((e=>de(e)||e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>de(e))))),pe={renderer:b.html`
508
+ `,tester:(0,m.yMz)(2,(e=>"LayoutVertical2Columns"===e.type)),mapper:m.NFL},ce=e=>(0,m.ndu)(e,"number")||(0,m.ndu)(e,"integer"),pe=(0,m.wcO)((e=>ce(e)||e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>ce(e))))),ue={renderer:b.html`
499
509
  ${e=>((e="zero")=>b.html`
500
510
  <template>
501
511
  <control-wrapper
@@ -520,7 +530,29 @@
520
530
  </control-wrapper>
521
531
  </template>
522
532
  `)(e.prefix)}
523
- `,tester:(0,m.yMz)(3,ce),mapper:m.xq9};var ue=r(55509);function he(e,a){const r=a.event.target.value;e.control.handleChange(e.control.path,""===r?null:r)}const me=b.html`
533
+ `,tester:(0,m.yMz)(3,pe),mapper:m.xq9};function he(e,a){const r=a.event.target.value;e.control.handleChange(e.control.path,""===r?null:r.split(",").map((e=>e.trimStart())))}const me={renderer:b.html`
534
+ ${e=>((e="zero")=>b.html`
535
+ <template>
536
+ <control-wrapper
537
+ :control=${e=>e.control}
538
+ :touched=${e=>e.touched}
539
+ ?submitted=${e=>e.submitted}
540
+ >
541
+ <${e}-text-field
542
+ :value=${e=>{var a;return(null===(a=e.control.data)||void 0===a?void 0:a.toString())||""}}
543
+ @change=${he}
544
+ placeholder=${e=>e.control.uischema.placeholder||e.control.label}
545
+ id=${e=>e.control.path}
546
+ data-test-id=${e=>e.control.path}
547
+ ?required=${e=>e.control.required}
548
+ ?disabled=${e=>!e.control.enabled}
549
+ style="width: 100%"
550
+ @blur=${e=>e.onBlur()}
551
+ ></${e}-text-area>
552
+ </control-wrapper>
553
+ </template>
554
+ `)(e.prefix)}
555
+ `,tester:(0,m.yMz)(3,re("string")),mapper:m.xq9};var be=r(55509);function ve(e,a){const r=a.event.target.value;e.control.handleChange(e.control.path,""===r?null:r)}const fe=b.html`
524
556
  ${e=>((e="zero")=>b.html`
525
557
  <template>
526
558
  <control-wrapper
@@ -528,11 +560,11 @@
528
560
  :touched=${e=>e.touched}
529
561
  ?submitted=${e=>e.submitted}
530
562
  >
531
- ${(0,ue.l)((e=>{var a,r;return!(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.textarea)}),b.html`
563
+ ${(0,be.l)((e=>{var a,r;return!(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.textarea)}),b.html`
532
564
  <${e}-text-field
533
565
  type=${e=>{var a,r;return(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.isPassword)?"password":"text"}}
534
566
  :value=${e=>e.control.data||""}
535
- @change=${he}
567
+ @change=${ve}
536
568
  placeholder=${e=>e.control.uischema.placeholder||e.control.label}
537
569
  id=${e=>e.control.path}
538
570
  data-test-id=${e=>e.control.path}
@@ -543,7 +575,7 @@
543
575
  ></${e}-text-field>`,b.html`
544
576
  <${e}-text-area
545
577
  :value=${e=>e.control.data||""}
546
- @change=${he}
578
+ @change=${ve}
547
579
  placeholder=${e=>e.control.uischema.placeholder||e.control.label}
548
580
  id=${e=>e.control.path}
549
581
  data-test-id=${e=>e.control.path}
@@ -556,11 +588,11 @@
556
588
  </control-wrapper>
557
589
  </template>
558
590
  `)(e.prefix)}
559
- `,be={renderer:me,tester:(0,m.yMz)(2,m.Wdb),mapper:m.xq9},ve=[{renderer:me,tester:(0,m.yMz)(1,m.DRl),mapper:m.xq9},be,U,te,oe,ie,ne,se,le,ge,pe,Q,X,W,Z,ee];let fe=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=ve,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(h())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,z.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield b.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(z.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}deepClone(){const e=super.deepClone();try{e.uischema=structuredClone(this.uischema),e.jsonSchema=structuredClone(this.jsonSchema)}catch(e){z.error("Error cloning form",e)}return e}submitPart(e){this.submitted=!0}onChange(e){z.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],fe.prototype,"prefix",void 0),(0,g.__decorate)([b.attr],fe.prototype,"resourceName",void 0),(0,g.__decorate)([b.observable],fe.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],fe.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],fe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],fe.prototype,"connect",void 0),(0,g.__decorate)([b.observable],fe.prototype,"data",void 0),(0,g.__decorate)([b.observable],fe.prototype,"submitting",void 0),(0,g.__decorate)([b.observable],fe.prototype,"submitted",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],fe.prototype,"readonly",void 0),(0,g.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],fe.prototype,"hideSubmit",void 0),(0,g.__decorate)([b.volatile],fe.prototype,"isSubmitHidden",null),fe=(0,g.__decorate)([(0,b.customElement)({name:"foundation-form",template:G,styles:y})],fe);var we,ye,xe,ke,ze,Se=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(we||(we={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ye||(ye={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(xe||(xe={})),function(e){e.grey="#7c909b"}(ke||(ke={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(ze||(ze={}));const{create:Ce}=v.DesignToken,$e=(0,Se.parseColorHexRGB)(we.error),Ae=f.SwatchRGB.create($e.r,$e.g,$e.b),Fe=Ce("error-color").withDefault(Ae),Oe=(0,Se.parseColorHexRGB)(we.success),Te=f.SwatchRGB.create(Oe.r,Oe.g,Oe.b),De=Ce("success-color").withDefault(Te),Re=(0,H.paletteFromHex)(ye.blue),Ne=(0,H.paletteFromHex)(ke.grey),Le=f.StandardLuminance.DarkMode;var Me=r(5598);const Ie=Me.N.ltr,je=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),Ee=4,Pe=f.density.getValueFor(f.density.appliedTo[0]),Be=4;var Ge=r(47823);const _e=()=>{(0,Ge.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},Ue='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',He=(e=Ge.Hd.Normal,a=Ge.U9.Regular)=>(0,Ge.py)(Ue,e,a),Ve=Ue,Ye=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),Qe=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),We={design_tokens:{color:{accent:{$value:Re.source.toColorString(),$type:"color"},neutral:{$value:Ne.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Ve,$type:"fontFamily"}},typography:{baseFontSize:{$value:Ye,$type:"dimension"},baseLineHeight:{$value:Qe,$type:"dimension"}},mode:{luminance:{$value:Le,$type:"number"}},style:{density:{$value:Pe,$type:"number"},borderRadius:{$value:Ee,$type:"number"},strokeWidth:{$value:je,$type:"number"}},space:{designUnit:{$value:Be,$type:"number"}}}};class qe extends H.Accordion{}const Je=qe.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
591
+ `,we={renderer:fe,tester:(0,m.yMz)(2,m.Wdb),mapper:m.xq9},ye=[{renderer:fe,tester:(0,m.yMz)(1,m.DRl),mapper:m.xq9},we,U,me,te,oe,ie,ge,de,le,se,ue,Q,X,W,Z,ee];let xe=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=ye,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(h())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,z.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}_submit(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield b.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(z.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}deepClone(){const e=super.deepClone();try{e.uischema=structuredClone(this.uischema),e.jsonSchema=structuredClone(this.jsonSchema)}catch(e){z.error("Error cloning form",e)}return e}submitPart(e){this.submitted=!0}onChange(e){z.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors)}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,g.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],xe.prototype,"prefix",void 0),(0,g.__decorate)([b.attr],xe.prototype,"resourceName",void 0),(0,g.__decorate)([b.observable],xe.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],xe.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],xe.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.lj],xe.prototype,"connect",void 0),(0,g.__decorate)([b.observable],xe.prototype,"data",void 0),(0,g.__decorate)([b.observable],xe.prototype,"submitting",void 0),(0,g.__decorate)([b.observable],xe.prototype,"submitted",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],xe.prototype,"readonly",void 0),(0,g.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],xe.prototype,"hideSubmit",void 0),(0,g.__decorate)([b.volatile],xe.prototype,"isSubmitHidden",null),xe=(0,g.__decorate)([(0,b.customElement)({name:"foundation-form",template:G,styles:y})],xe);var ke,ze,Se,Ce,$e,Ae=r(43556);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79"}(ke||(ke={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(ze||(ze={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(Se||(Se={})),function(e){e.grey="#7c909b"}(Ce||(Ce={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}($e||($e={}));const{create:Fe}=v.DesignToken,Oe=(0,Ae.parseColorHexRGB)(ke.error),Te=f.SwatchRGB.create(Oe.r,Oe.g,Oe.b),De=Fe("error-color").withDefault(Te),Re=(0,Ae.parseColorHexRGB)(ke.success),Ne=f.SwatchRGB.create(Re.r,Re.g,Re.b),Le=Fe("success-color").withDefault(Ne),Me=(0,H.paletteFromHex)(ze.blue),Ie=(0,H.paletteFromHex)(Ce.grey),je=f.StandardLuminance.DarkMode;var Ee=r(5598);const Pe=Ee.N.ltr,Be=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),Ge=4,_e=f.density.getValueFor(f.density.appliedTo[0]),Ue=4;var He=r(47823);const Ve=()=>{(0,He.sW)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},Ye='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',Qe=(e=He.Hd.Normal,a=He.U9.Regular)=>(0,He.py)(Ye,e,a),We=Ye,qe=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),Je=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),Ze={design_tokens:{color:{accent:{$value:Me.source.toColorString(),$type:"color"},neutral:{$value:Ie.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:We,$type:"fontFamily"}},typography:{baseFontSize:{$value:qe,$type:"dimension"},baseLineHeight:{$value:Je,$type:"dimension"}},mode:{luminance:{$value:je,$type:"number"}},style:{density:{$value:_e,$type:"number"},borderRadius:{$value:Ge,$type:"number"},strokeWidth:{$value:Be,$type:"number"}},space:{designUnit:{$value:Ue,$type:"number"}}}};class Ke extends H.Accordion{}const Xe=Ke.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
560
592
  ${(0,H.foundationAccordionStyles)(e,a)}
561
- `,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class Ze extends H.AccordionItem{}const Ke=Ze.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
593
+ `,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class ea extends H.AccordionItem{}const aa=ea.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
562
594
  ${(0,H.foundationAccordionItemStyles)(e,a)};
563
- `,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class Xe extends H.ActionsMenu{}const ea=Xe.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
595
+ `,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class ra extends H.ActionsMenu{}const ta=ra.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
564
596
  :host {
565
597
  --actions-opener-heigght-multiplier: 0.6px;
566
598
  --menu-item-height-multiplier: 0.5px;
@@ -585,37 +617,37 @@
585
617
  }
586
618
 
587
619
  ${(0,H.actionsMenuBaseStyles)(e,a)}
588
- `,template:H.foundationActionsMenuTemplate}),aa=(e,a=1)=>new Se.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),ra=(0,Se.parseColorHexRGB)(we.white),ta=(e=1)=>aa(ra,e),oa=((0,Se.parseColorHexRGB)(we.black),(0,Se.parseColorHexRGB)("#585858")),ia=(f.SwatchRGB.create(oa.r,oa.g,oa.b),(0,Se.parseColorHexRGB)("#202126")),na=f.SwatchRGB.create(ia.r,ia.g,ia.b),la=(f.PaletteRGB.from(na),(0,Se.parseColorHexRGB)(ye.blue)),ga=(e=1)=>aa(la,e),sa=f.SwatchRGB.create(la.r,la.g,la.b),da=(f.PaletteRGB.from(sa),(0,Se.parseColorHexRGB)(ye.purple)),ca=(e=1)=>aa(da,e),pa=(0,Se.parseColorHexRGB)(xe.orange),ua=(e=1)=>aa(pa,e),ha=(0,Se.parseColorHexRGB)(xe.teal),ma=(e=1)=>aa(ha,e),ba=((0,Se.parseColorHexRGB)(ze.longGreen),(0,Se.parseColorHexRGB)(ze.chartPink),(0,Se.parseColorHexRGB)(ze.warningYellow)),va=(0,Se.parseColorHexRGB)(ze.chartPink),fa=(e=1)=>aa(va,e);function wa(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const ya=.3,xa=.1,ka=.5,za=b.css`
620
+ `,template:H.foundationActionsMenuTemplate}),oa=(e,a=1)=>new Ae.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),ia=(0,Ae.parseColorHexRGB)(ke.white),na=(e=1)=>oa(ia,e),la=((0,Ae.parseColorHexRGB)(ke.black),(0,Ae.parseColorHexRGB)("#585858")),ga=(f.SwatchRGB.create(la.r,la.g,la.b),(0,Ae.parseColorHexRGB)("#202126")),sa=f.SwatchRGB.create(ga.r,ga.g,ga.b),da=(f.PaletteRGB.from(sa),(0,Ae.parseColorHexRGB)(ze.blue)),ca=(e=1)=>oa(da,e),pa=f.SwatchRGB.create(da.r,da.g,da.b),ua=(f.PaletteRGB.from(pa),(0,Ae.parseColorHexRGB)(ze.purple)),ha=(e=1)=>oa(ua,e),ma=(0,Ae.parseColorHexRGB)(Se.orange),ba=(e=1)=>oa(ma,e),va=(0,Ae.parseColorHexRGB)(Se.teal),fa=(e=1)=>oa(va,e),wa=((0,Ae.parseColorHexRGB)($e.longGreen),(0,Ae.parseColorHexRGB)($e.chartPink),(0,Ae.parseColorHexRGB)($e.warningYellow)),ya=(0,Ae.parseColorHexRGB)($e.chartPink),xa=(e=1)=>oa(ya,e);function ka(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const za=.3,Sa=.1,Ca=.5,$a=b.css`
589
621
  :host([appearance='primary-blue']) {
590
- background: ${ga(ya)};
591
- border: 1px solid ${ye.blue};
622
+ background: ${ca(za)};
623
+ border: 1px solid ${ze.blue};
592
624
  }
593
625
 
594
626
  :host([appearance='primary-blue']:hover) {
595
- background: ${ye.blue};
627
+ background: ${ze.blue};
596
628
  }
597
629
 
598
630
  :host([appearance='primary-blue']:active) {
599
- background: ${ga(xa)};
600
- border: 1px solid ${ga(ya)};
601
- color: ${ta(ka)};
631
+ background: ${ca(Sa)};
632
+ border: 1px solid ${ca(za)};
633
+ color: ${na(Ca)};
602
634
  }
603
- `,Sa=b.css`
635
+ `,Aa=b.css`
604
636
  :host([appearance='primary-purple']) {
605
- background: ${ca(ya)};
606
- border: 1px solid ${ye.purple};
637
+ background: ${ha(za)};
638
+ border: 1px solid ${ze.purple};
607
639
  }
608
640
 
609
641
  :host([appearance='primary-purple']:hover) {
610
- background: ${ye.purple};
642
+ background: ${ze.purple};
611
643
  }
612
644
 
613
645
  :host([appearance='primary-purple']:active) {
614
- background: ${ca(xa)};
615
- border: 1px solid ${ca(ya)};
616
- color: ${ta(ka)};
646
+ background: ${ha(Sa)};
647
+ border: 1px solid ${ha(za)};
648
+ color: ${na(Ca)};
617
649
  }
618
- `,Ca=b.css`
650
+ `,Fa=b.css`
619
651
  :host {
620
652
  --primary-gradient-angle: -113.5deg;
621
653
  }
@@ -623,8 +655,8 @@
623
655
  :host([appearance='primary-gradient']) {
624
656
  background-image: linear-gradient(
625
657
  var(--primary-gradient-angle),
626
- ${ye.blue},
627
- ${ye.purple}
658
+ ${ze.blue},
659
+ ${ze.purple}
628
660
  );
629
661
  background-origin: border-box;
630
662
  border: solid 1px transparent;
@@ -634,8 +666,8 @@
634
666
  :host([appearance='primary-gradient']:hover) {
635
667
  background-image: linear-gradient(
636
668
  var(--primary-gradient-angle),
637
- ${ye.blue},
638
- ${ye.purple}
669
+ ${ze.blue},
670
+ ${ze.purple}
639
671
  );
640
672
  background-origin: border-box;
641
673
  border: solid 1px transparent;
@@ -645,45 +677,45 @@
645
677
  :host([appearance='primary-gradient']:active) {
646
678
  background-image: linear-gradient(
647
679
  var(--primary-gradient-angle),
648
- ${ga(ya)},
649
- ${ca(ya)}
680
+ ${ca(za)},
681
+ ${ha(za)}
650
682
  );
651
683
  background-origin: border-box;
652
684
  border: solid 1px transparent;
653
685
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 30%) inset;
654
- color: ${ta(ka)};
686
+ color: ${na(Ca)};
655
687
  }
656
- `,$a=b.css`
688
+ `,Oa=b.css`
657
689
  :host([appearance='secondary-orange']) {
658
- background: ${ua(ya)};
659
- border: 1px solid ${xe.orange};
690
+ background: ${ba(za)};
691
+ border: 1px solid ${Se.orange};
660
692
  }
661
693
 
662
694
  :host([appearance='secondary-orange']:hover) {
663
- background: ${xe.orange};
695
+ background: ${Se.orange};
664
696
  }
665
697
 
666
698
  :host([appearance='secondary-orange']:active) {
667
- background: ${ua(xa)};
668
- border: 1px solid ${ua(ya)};
669
- color: ${ta(ka)};
699
+ background: ${ba(Sa)};
700
+ border: 1px solid ${ba(za)};
701
+ color: ${na(Ca)};
670
702
  }
671
- `,Aa=b.css`
703
+ `,Ta=b.css`
672
704
  :host([appearance='secondary-teal']) {
673
- background: ${ma(ya)};
674
- border: 1px solid ${xe.teal};
705
+ background: ${fa(za)};
706
+ border: 1px solid ${Se.teal};
675
707
  }
676
708
 
677
709
  :host([appearance='secondary-teal']:hover) {
678
- background: ${xe.teal};
710
+ background: ${Se.teal};
679
711
  }
680
712
 
681
713
  :host([appearance='secondary-teal']:active) {
682
- background: ${ma(xa)};
683
- border: 1px solid ${ma(ya)};
684
- color: ${ta(ka)};
714
+ background: ${fa(Sa)};
715
+ border: 1px solid ${fa(za)};
716
+ color: ${na(Ca)};
685
717
  }
686
- `,Fa=b.css`
718
+ `,Da=b.css`
687
719
  :host([appearance='neutral-grey']) {
688
720
  background: ${f.neutralFillRest};
689
721
  border: 1px solid ${f.neutralStrokeRest};
@@ -698,7 +730,7 @@
698
730
  border: 1px solid ${f.neutralStrokeActive};
699
731
  color: ${f.neutralForegroundRest};
700
732
  }
701
- `,Oa=b.css`
733
+ `,Ra=b.css`
702
734
  :host {
703
735
  --primary-gradient-angle: -113.5deg;
704
736
  }
@@ -707,21 +739,21 @@
707
739
  background:
708
740
  linear-gradient(
709
741
  var(--primary-gradient-angle),
710
- ${ye.blue} 0%,
711
- ${ye.purple} 100%
742
+ ${ze.blue} 0%,
743
+ ${ze.purple} 100%
712
744
  )
713
745
  top/100% 1px,
714
746
  linear-gradient(
715
747
  var(--primary-gradient-angle),
716
- ${ye.blue} 0%,
717
- ${ye.purple} 100%
748
+ ${ze.blue} 0%,
749
+ ${ze.purple} 100%
718
750
  )
719
751
  bottom/100% 1px;
720
752
  background-origin: border-box;
721
753
  background-repeat: no-repeat;
722
754
  border: 1px solid transparent;
723
- border-right-color: ${ye.blue};
724
- border-left-color: ${ye.purple};
755
+ border-right-color: ${ze.blue};
756
+ border-left-color: ${ze.purple};
725
757
  }
726
758
 
727
759
  :host([appearance='outline-primary-gradient']:hover) {
@@ -729,8 +761,8 @@
729
761
  background-repeat: unset;
730
762
  background-image: linear-gradient(
731
763
  var(--primary-gradient-angle),
732
- ${ye.blue},
733
- ${ye.purple}
764
+ ${ze.blue},
765
+ ${ze.purple}
734
766
  );
735
767
  background-origin: border-box;
736
768
  box-shadow: 1px 1000px 1px rgb(0 0 0 / 50%) inset;
@@ -741,73 +773,73 @@
741
773
  background:
742
774
  linear-gradient(
743
775
  var(--primary-gradient-angle),
744
- ${ga(ya)} 0%,
745
- ${ca(ya)} 100%
776
+ ${ca(za)} 0%,
777
+ ${ha(za)} 100%
746
778
  )
747
779
  top/100% 1px,
748
780
  linear-gradient(
749
781
  var(--primary-gradient-angle),
750
- ${ga(ya)} 0%,
751
- ${ca(ya)} 100%
782
+ ${ca(za)} 0%,
783
+ ${ha(za)} 100%
752
784
  )
753
785
  bottom/100% 1px;
754
786
  background-origin: border-box;
755
787
  background-repeat: no-repeat;
756
788
  border: 1px solid transparent;
757
- border-right-color: ${ga(ya)};
758
- border-left-color: ${ca(ya)};
759
- color: ${ta(ka)};
789
+ border-right-color: ${ca(za)};
790
+ border-left-color: ${ha(za)};
791
+ color: ${na(Ca)};
760
792
  }
761
- `,Ta=b.css`
793
+ `,Na=b.css`
762
794
  :host([appearance='outline-secondary-orange']) {
763
795
  background: transparent;
764
- border: 1px solid ${xe.orange};
796
+ border: 1px solid ${Se.orange};
765
797
  }
766
798
 
767
799
  :host([appearance='outline-secondary-orange']:hover) {
768
- background: ${ua(ya)};
800
+ background: ${ba(za)};
769
801
  }
770
802
 
771
803
  :host([appearance='outline-secondary-orange']:active) {
772
804
  background: transparent;
773
- border: 1px solid ${ua(ya)};
774
- color: ${ta(ka)};
805
+ border: 1px solid ${ba(za)};
806
+ color: ${na(Ca)};
775
807
  }
776
- `,Da=b.css`
808
+ `,La=b.css`
777
809
  :host([appearance='outline-secondary-teal']) {
778
810
  background: transparent;
779
- border: 1px solid ${xe.teal};
811
+ border: 1px solid ${Se.teal};
780
812
  }
781
813
 
782
814
  :host([appearance='outline-secondary-teal']:hover) {
783
- background: ${ma(ya)};
815
+ background: ${fa(za)};
784
816
  }
785
817
 
786
818
  :host([appearance='outline-secondary-teal']:active) {
787
819
  background: transparent;
788
- border: 1px solid ${ma(ya)};
789
- color: ${ta(ka)};
820
+ border: 1px solid ${fa(za)};
821
+ color: ${na(Ca)};
790
822
  }
791
- `,Ra=(e,a)=>b.css`
823
+ `,Ma=(e,a)=>b.css`
792
824
  ${(0,H.foundationButtonStyles)(e,a)}
793
825
  ${b.css`
794
826
  :host {
795
827
  margin: 5px;
796
828
  }
797
829
  `}
798
- `.withBehaviors(wa("primary-blue",za),wa("primary-purple",Sa),wa("primary-gradient",Ca),wa("secondary-orange",$a),wa("secondary-teal",Aa),wa("neutral-grey",Fa),wa("outline-primary-gradient",Oa),wa("outline-secondary-orange",Ta),wa("outline-secondary-teal",Da));class Na extends H.Anchor{}const La=Na.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
830
+ `.withBehaviors(ka("primary-blue",$a),ka("primary-purple",Aa),ka("primary-gradient",Fa),ka("secondary-orange",Oa),ka("secondary-teal",Ta),ka("neutral-grey",Da),ka("outline-primary-gradient",Ra),ka("outline-secondary-orange",Na),ka("outline-secondary-teal",La));class Ia extends H.Anchor{}const ja=Ia.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
799
831
  ${(0,H.foundationAnchorStyles)(e,a)}
800
- ${Ra(e,a)}
801
- `.withBehaviors(...Ra(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class Ma extends H.AnchoredRegion{}const Ia=Ma.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
832
+ ${Ma(e,a)}
833
+ `.withBehaviors(...Ma(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class Ea extends H.AnchoredRegion{}const Pa=Ea.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
802
834
  ${(0,H.foundationAnchoredRegionStyles)(e,a)}
803
- `,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class ja extends H.Avatar{}const Ea=ja.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
835
+ `,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Ba extends H.Avatar{}const Ga=Ba.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
804
836
  ${(0,H.foundationAvatarStyles)(e,a)}
805
- `,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class Pa extends H.Badge{}const Ba=Pa.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
837
+ `,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class _a extends H.Badge{}const Ua=_a.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
806
838
  ${(0,H.foundationBadgeStyles)(e,a)}
807
839
  :host {
808
- --badge-fill-primary: ${ga()};
809
- --badge-fill-secondary: ${ma()};
810
- --badge-fill-pink: ${fa()};
840
+ --badge-fill-primary: ${ca()};
841
+ --badge-fill-secondary: ${fa()};
842
+ --badge-fill-pink: ${xa()};
811
843
  --badge-fill-transparent: transparent;
812
844
  --badge-color-black: #000;
813
845
  --badge-color-white: #fff;
@@ -816,14 +848,14 @@
816
848
  :host .control {
817
849
  padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
818
850
  }
819
- `,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),Ga=b.css`
851
+ `,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),Ha=b.css`
820
852
  ${H.foundationBannerStyles}
821
853
  .banner {
822
854
  background-color: ${f.neutralLayer1};
823
855
  }
824
- `,_a=H.foundationBannerShadowOptions;class Ua extends H.Banner{}const Ha=Ua.compose({baseName:"banner",shadowOptions:_a,styles:Ga,template:H.foundationBannerTemplate});class Va extends H.Breadcrumb{}const Ya=Va.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
856
+ `,Va=H.foundationBannerShadowOptions;class Ya extends H.Banner{}const Qa=Ya.compose({baseName:"banner",shadowOptions:Va,styles:Ha,template:H.foundationBannerTemplate});class Wa extends H.Breadcrumb{}const qa=Wa.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
825
857
  ${(0,H.foundationBreadcrumbStyles)(e,a)}
826
- `,shadowOptions:undefined},{}));class Qa extends H.BreadcrumbItem{}const Wa=Qa.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
858
+ `,shadowOptions:undefined},{}));class Ja extends H.BreadcrumbItem{}const Za=Ja.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
827
859
  ${(0,H.foundationBreadcrumbItemStyles)(e,a)}
828
860
  :host {
829
861
  --neutral-foreground-rest: #18b2e3;
@@ -834,15 +866,15 @@
834
866
  .separator {
835
867
  color: var(--neutral-stroke-rest);
836
868
  }
837
- `,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class qa extends H.Button{}const Ja=qa.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:Ra,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class Za extends H.Calendar{}const Ka=Za.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
869
+ `,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class Ka extends H.Button{}const Xa=Ka.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:Ma,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class er extends H.Calendar{}const ar=er.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
838
870
  ${(0,H.foundationCalendarStyles)()}
839
- `,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class Xa extends H.Card{}const er=Xa.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
871
+ `,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class rr extends H.Card{}const tr=rr.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
840
872
  ${(0,H.foundationCardStyles)(e,a)}
841
873
  :host {
842
874
  background-color: var(--zero-card-fill-color, var(--neutral-layer-2));
843
875
  color: ${f.neutralForegroundRest};
844
876
  }
845
- `,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),ar=b.css`
877
+ `,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),or=b.css`
846
878
  ${H.categorizedMultiselectStyles}
847
879
 
848
880
  .label {
@@ -856,104 +888,104 @@
856
888
  rapid-checkbox:hover:not([disabled]) {
857
889
  background: var(--neutral-layer-4);
858
890
  }
859
- `,rr=b.html`
891
+ `,ir=b.html`
860
892
  ${(0,H.getPrefixedCategorizedMultiselect)("zero")}
861
- `;class tr extends H.CategorizedMultiselect{}const or=H.defaultCategorizedMultiselectConfig,ir=H.foundationCategorizedMultiselectShadowOptions,nr=tr.compose(Object.assign({baseName:"categorized-multiselect",template:rr,styles:ar,shadowOptions:ir},or));class lr extends H.Checkbox{}const gr=lr.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
893
+ `;class nr extends H.CategorizedMultiselect{}const lr=H.defaultCategorizedMultiselectConfig,gr=H.foundationCategorizedMultiselectShadowOptions,sr=nr.compose(Object.assign({baseName:"categorized-multiselect",template:ir,styles:or,shadowOptions:gr},lr));class dr extends H.Checkbox{}const cr=dr.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
862
894
  ${(0,H.foundationCheckboxStyles)(e,a)}
863
895
  :host {
864
896
  --primary-gradient-angle: -113.5deg;
865
- --foreground-on-accent-rest: ${we.white};
866
- --foreground-on-accent-hover: ${we.white};
867
- --neutral-stroke-hover: ${we.white};
868
- --foreground-on-accent-active: ${we.white};
897
+ --foreground-on-accent-rest: ${ke.white};
898
+ --foreground-on-accent-hover: ${ke.white};
899
+ --neutral-stroke-hover: ${ke.white};
900
+ --foreground-on-accent-active: ${ke.white};
869
901
  }
870
902
 
871
903
  .checked-indicator {
872
904
  background-image: linear-gradient(
873
905
  var(--primary-gradient-angle),
874
- ${ye.blue},
875
- ${ye.purple}
906
+ ${ze.blue},
907
+ ${ze.purple}
876
908
  );
877
909
  background-origin: border-box;
878
910
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
879
911
  border-radius: calc(var(--control-corner-radius) * 1px);
880
912
  }
881
- `,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig)),sr=(0,Se.parseColorHexRGB)("#F1F1F1"),dr=aa(sr,1),cr=(0,Se.parseColorHexRGB)("#879BA6"),pr=aa(cr,.06),ur=(0,Se.parseColorHexRGB)("#879BA6"),hr=aa(ur,1),mr=(0,Se.parseColorHexRGB)("#121212"),br=aa(mr,1),vr=(0,Se.parseColorHexRGB)("#2e3339"),fr=aa(vr,1);var wr;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(wr||(wr={}));Object.values(wr);class yr extends H.Combobox{}const xr=yr.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
913
+ `,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig)),pr=(0,Ae.parseColorHexRGB)("#F1F1F1"),ur=oa(pr,1),hr=(0,Ae.parseColorHexRGB)("#879BA6"),mr=oa(hr,.06),br=(0,Ae.parseColorHexRGB)("#879BA6"),vr=oa(br,1),fr=(0,Ae.parseColorHexRGB)("#121212"),wr=oa(fr,1),yr=(0,Ae.parseColorHexRGB)("#2e3339"),xr=oa(yr,1);var kr;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(kr||(kr={}));Object.values(kr);class zr extends H.Combobox{}const Sr=zr.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
882
914
  ${(0,H.foundationComboboxStyles)(e,a)}
883
915
  :host {
884
916
  --primary-gradient-angle: -113.5deg;
885
917
 
886
918
  border-radius: calc(var(--control-corner-radius) * 1px);
887
- border-color: ${fr};
888
- background: ${pr};
919
+ border-color: ${xr};
920
+ background: ${mr};
889
921
  }
890
922
 
891
923
  :host(:focus-within:not([disabled])) {
892
924
  background:
893
925
  linear-gradient(
894
926
  var(--primary-gradient-angle),
895
- ${ye.blue} 0%,
896
- ${ye.purple} 100%
927
+ ${ze.blue} 0%,
928
+ ${ze.purple} 100%
897
929
  )
898
930
  top/100% 1px,
899
931
  linear-gradient(
900
932
  var(--primary-gradient-angle),
901
- ${ye.blue} 0%,
902
- ${ye.purple} 100%
933
+ ${ze.blue} 0%,
934
+ ${ze.purple} 100%
903
935
  )
904
936
  bottom/100% 1px;
905
937
  background-origin: border-box;
906
938
  background-repeat: no-repeat;
907
939
  border: 1px solid transparent;
908
- border-right-color: ${ye.blue};
909
- border-left-color: ${ye.purple};
940
+ border-right-color: ${ze.blue};
941
+ border-left-color: ${ze.purple};
910
942
  }
911
943
 
912
944
  :host(:hover:not([disabled]):not([open])) {
913
- border-color: ${dr};
914
- background: ${pr};
945
+ border-color: ${ur};
946
+ background: ${mr};
915
947
  }
916
948
 
917
949
  :host([open][position='below']) .listbox {
918
950
  padding: 0;
919
951
  margin-top: calc(${f.designUnit} * 1px);
920
952
  border-radius: 4px;
921
- border: 1px solid ${we.lightGrey};
953
+ border: 1px solid ${ke.lightGrey};
922
954
  }
923
955
 
924
956
  :host([open]) .control {
925
- background: ${br};
957
+ background: ${wr};
926
958
  }
927
959
 
928
960
  :host(:not([disabled])) .control:active {
929
961
  background: none;
930
962
  }
931
- `,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class kr extends H.ConnectionIndicator{}const zr=kr.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:H.foundationConnectionIndicatorStyles});class Sr extends H.DataGridCell{}Sr.compose(Object.assign({baseName:"data-grid-cell",template:v.dataGridCellTemplate,styles:(e,a)=>b.css`
963
+ `,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class Cr extends H.ConnectionIndicator{}const $r=Cr.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:H.foundationConnectionIndicatorStyles});class Ar extends H.DataGridCell{}Ar.compose(Object.assign({baseName:"data-grid-cell",template:v.dataGridCellTemplate,styles:(e,a)=>b.css`
932
964
  ${(0,H.foundationDataGridCellStyles)(e,a)}
933
- `,shadowOptions:H.foundationDataGridCellShadowOptions},H.defaultDataGridCellConfig));class Cr extends H.DataGridRow{}Cr.compose(Object.assign({baseName:"data-grid-row",template:v.dataGridRowTemplate,styles:(e,a)=>b.css`
965
+ `,shadowOptions:H.foundationDataGridCellShadowOptions},H.defaultDataGridCellConfig));class Fr extends H.DataGridRow{}Fr.compose(Object.assign({baseName:"data-grid-row",template:v.dataGridRowTemplate,styles:(e,a)=>b.css`
934
966
  ${(0,H.foundationDataGridRowStyles)(e,a)}
935
- `,shadowOptions:H.foundationDataGridRowShadowOptions},H.defaultDataGridRowConfig));class $r extends H.DataGrid{}const Ar=$r.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,H.foundationDataGridTemplate)(e,a),styles:(e,a)=>b.css`
967
+ `,shadowOptions:H.foundationDataGridRowShadowOptions},H.defaultDataGridRowConfig));class Or extends H.DataGrid{}const Tr=Or.compose(Object.assign({baseName:"data-grid",template:(e,a)=>(0,H.foundationDataGridTemplate)(e,a),styles:(e,a)=>b.css`
936
968
  ${(0,H.foundationDataGridStyles)(e,a)}
937
969
  ::slotted(.sticky-header),
938
970
  ::slotted(.header) {
939
971
  border-bottom-color: var(--neutral-color);
940
972
 
941
- --neutral-foreground-rest: ${hr};
973
+ --neutral-foreground-rest: ${vr};
942
974
  }
943
975
 
944
976
  ::slotted([role='row']) {
945
977
  background-color: #1f2126;
946
978
  }
947
- `,shadowOptions:H.foundationDataGridShadowOptions},H.defaultDataGridConfig)),Fr=b.html`
979
+ `,shadowOptions:H.foundationDataGridShadowOptions},H.defaultDataGridConfig)),Dr=b.html`
948
980
  ${(0,H.getPrefixedDatePicker)("zero")}
949
- `;class Or extends H.DatePicker{}const Tr=Or.compose(Object.assign({baseName:"date-picker",template:Fr,styles:()=>b.css`
981
+ `;class Rr extends H.DatePicker{}const Nr=Rr.compose(Object.assign({baseName:"date-picker",template:Dr,styles:()=>b.css`
950
982
  ${H.foundationDatePickerStyles}
951
983
  :host {
952
984
  --primary-gradient-angle: -113.5deg;
953
985
  }
954
986
 
955
987
  .calendar-dropdown {
956
- background: ${we.mediumGrey};
988
+ background: ${ke.mediumGrey};
957
989
  }
958
990
 
959
991
  .week-days,
@@ -967,7 +999,7 @@
967
999
  }
968
1000
 
969
1001
  .month-day.current {
970
- color: ${we.almostWhite};
1002
+ color: ${ke.almostWhite};
971
1003
  }
972
1004
 
973
1005
  .input-icon-container {
@@ -980,18 +1012,18 @@
980
1012
  }
981
1013
 
982
1014
  .input-icon-container:hover {
983
- background-color: ${we.mediumGrey};
1015
+ background-color: ${ke.mediumGrey};
984
1016
  }
985
1017
 
986
1018
  .date-toggle::part(end) {
987
1019
  margin-inline-end: 4px;
988
1020
  }
989
- `,shadowOptions:undefined},{}));var Dr=r(37068);_e();const Rr=b.css`
1021
+ `,shadowOptions:undefined},{}));var Lr=r(37068);Ve();const Mr=b.css`
990
1022
  ${(0,v.display)("flex")}
991
1023
  :host {
992
1024
  flex: 1;
993
1025
  }
994
- `,Nr=b.css`
1026
+ `,Ir=b.css`
995
1027
  :host {
996
1028
  background-color: ${f.neutralFillStealthActive};
997
1029
  }
@@ -1001,31 +1033,31 @@
1001
1033
  box-shadow: 0 0 0 1px ${w.H.CanvasText};
1002
1034
  color: ${w.H.ButtonText};
1003
1035
  }
1004
- `)),Lr=(e,a,r)=>b.css`
1036
+ `)),jr=(e,a,r)=>b.css`
1005
1037
  ${e.name} ${"h"+a} {
1006
1038
  font-size: var(--type-ramp-plus-${r}-font-size);
1007
1039
  line-height: var(--type-ramp-plus-${r}-line-height);
1008
1040
  margin: 0;
1009
- ${He(Ge.Hd.Normal,Ge.U9.Bold)}
1041
+ ${Qe(He.Hd.Normal,He.U9.Bold)}
1010
1042
  }
1011
- `;class Mr extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(t,o,this)}}(0,Dr.__decorate)([(0,b.attr)({attribute:"card-fill-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralFillStealthRest)],Mr.prototype,"cardFillColor",void 0),(0,Dr.__decorate)([(0,b.attr)({attribute:"card-foreground-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralForegroundRest)],Mr.prototype,"cardForegroundColor",void 0);const Ir=Mr.compose({baseName:"design-system-provider",template:b.html`
1043
+ `;class Er extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(t,o,this)}}(0,Lr.__decorate)([(0,b.attr)({attribute:"card-fill-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralFillStealthRest)],Er.prototype,"cardFillColor",void 0),(0,Lr.__decorate)([(0,b.attr)({attribute:"card-foreground-color",converter:H.swatchConverter}),(0,H.designToken)(f.neutralForegroundRest)],Er.prototype,"cardForegroundColor",void 0);const Pr=Er.compose({baseName:"design-system-provider",template:b.html`
1012
1044
  <slot></slot>
1013
1045
  `,styles:e=>{const a=(e=>b.css`
1014
- ${Lr(e,"1","6")}
1015
- ${Lr(e,"2","5")}
1016
- ${Lr(e,"3","4")}
1017
- ${Lr(e,"4","3")}
1018
- ${Lr(e,"5","2")}
1019
- ${Lr(e,"6","1")}
1046
+ ${jr(e,"1","6")}
1047
+ ${jr(e,"2","5")}
1048
+ ${jr(e,"3","4")}
1049
+ ${jr(e,"4","3")}
1050
+ ${jr(e,"5","2")}
1051
+ ${jr(e,"6","1")}
1020
1052
  `)(e);return a.addStylesTo(document),b.css`
1021
- ${Rr}
1022
- ${Nr}
1053
+ ${Mr}
1054
+ ${Ir}
1023
1055
  ${a}
1024
1056
  :host * {
1025
1057
  color: ${f.neutralForegroundRest};
1026
- ${He()}
1058
+ ${Qe()}
1027
1059
  }
1028
- `}}),jr=(0,Se.parseColorHexRGB)("#121212"),Er=aa(jr,1),Pr=b.css`
1060
+ `}}),Br=(0,Ae.parseColorHexRGB)("#121212"),Gr=oa(Br,1),_r=b.css`
1029
1061
  ${H.foundationDialogStyles}
1030
1062
  :host {
1031
1063
  --dialog-background: ${f.neutralLayer2};
@@ -1037,7 +1069,7 @@
1037
1069
  bottom: 0;
1038
1070
  color: rgb(255 255 255 / 30%);
1039
1071
  border-radius: calc(var(--control-corner-radius) * 1px);
1040
- border: 1px solid ${we.lightGrey};
1072
+ border: 1px solid ${ke.lightGrey};
1041
1073
  text-align: left;
1042
1074
  line-height: normal;
1043
1075
  box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);
@@ -1047,7 +1079,7 @@
1047
1079
  display: flex;
1048
1080
  align-items: center;
1049
1081
  justify-content: space-between;
1050
- color: ${we.almostWhite};
1082
+ color: ${ke.almostWhite};
1051
1083
  margin-bottom: calc(var(--design-unit) * 2px);
1052
1084
  }
1053
1085
 
@@ -1055,7 +1087,7 @@
1055
1087
  display: flex;
1056
1088
  flex-wrap: wrap;
1057
1089
  justify-content: flex-end;
1058
- color: ${we.almostWhite};
1090
+ color: ${ke.almostWhite};
1059
1091
  }
1060
1092
 
1061
1093
  :host slot:first-of-type {
@@ -1080,29 +1112,29 @@
1080
1112
  }
1081
1113
 
1082
1114
  .close-icon:hover svg {
1083
- background-color: ${ta(.05)};
1115
+ background-color: ${na(.05)};
1084
1116
  }
1085
1117
 
1086
1118
  .close-icon:hover svg g path {
1087
- fill: ${ta(1)};
1119
+ fill: ${na(1)};
1088
1120
  }
1089
1121
 
1090
1122
  .close-icon:active svg {
1091
- background-color: ${Er};
1123
+ background-color: ${Gr};
1092
1124
  }
1093
1125
 
1094
1126
  .close-icon:active svg g path {
1095
- fill: ${ta(.33)};
1127
+ fill: ${na(.33)};
1096
1128
  }
1097
- `,Br=H.defaultDialogConfig,Gr=H.foundationDialogTemplate,_r=H.foundationDialogShadowOptions;class Ur extends H.Dialog{}const Hr=Ur.compose(Object.assign({baseName:"dialog",shadowOptions:_r,styles:Pr,template:Gr},Br));class Vr extends H.Disclosure{}const Yr=Vr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
1129
+ `,Ur=H.defaultDialogConfig,Hr=H.foundationDialogTemplate,Vr=H.foundationDialogShadowOptions;class Yr extends H.Dialog{}const Qr=Yr.compose(Object.assign({baseName:"dialog",shadowOptions:Vr,styles:_r,template:Hr},Ur));class Wr extends H.Disclosure{}const qr=Wr.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
1098
1130
  ${(0,H.foundationDisclosureStyles)(e,a)}
1099
- `,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class Qr extends H.Divider{}const Wr=Qr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
1131
+ `,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class Jr extends H.Divider{}const Zr=Jr.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
1100
1132
  ${(0,H.foundationDividerStyles)(e,a)}
1101
- `,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class qr extends H.DropdownMenu{}const Jr=qr.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
1133
+ `,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class Kr extends H.DropdownMenu{}const Xr=Kr.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
1102
1134
  ${(0,H.dropdownMenuBaseStyles)("zero",e,a)}
1103
- `,template:H.foundationDropdownMenuTemplate}),Zr=b.html`
1135
+ `,template:H.foundationDropdownMenuTemplate}),et=b.html`
1104
1136
  ${(0,H.getPrefixedErrorBanner)("zero")}
1105
- `,Kr=H.foundationErrorBannerShadowOptions;class Xr extends H.ErrorBanner{}const et=Xr.compose({baseName:"error-banner",template:Zr,shadowOptions:Kr});class at extends H.ErrorBoundary{}const rt=at.compose({baseName:"error-boundary",template:H.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class tt extends H.ErrorDialog{}const ot=tt.compose({baseName:"error-dialog",styles:H.foundationErrorDialogStyles,template:H.errorDialogTemplate,shadowOptions:H.foundationErrorDialogShadowOptions}),it=b.css`
1137
+ `,at=H.foundationErrorBannerShadowOptions;class rt extends H.ErrorBanner{}const tt=rt.compose({baseName:"error-banner",template:et,shadowOptions:at});class ot extends H.ErrorBoundary{}const it=ot.compose({baseName:"error-boundary",template:H.foundationErrorBoundaryTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class nt extends H.ErrorDialog{}const lt=nt.compose({baseName:"error-dialog",styles:H.foundationErrorDialogStyles,template:H.errorDialogTemplate,shadowOptions:H.foundationErrorDialogShadowOptions}),gt=b.css`
1106
1138
  ${H.foundationFileUploadStyles}
1107
1139
  ::-webkit-scrollbar {
1108
1140
  width: 12px;
@@ -1119,13 +1151,13 @@
1119
1151
  background-color: var(--neutral-color);
1120
1152
  border: 3px solid rgb(31 33 38);
1121
1153
  }
1122
- `,nt=b.html`
1154
+ `,st=b.html`
1123
1155
  ${(0,H.getPrefixedFileUpload)("zero")}
1124
- `,lt=H.defaultFileUploadConfig,gt=H.foundationFileUploadShadowOptions;class st extends H.FileUpload{}const dt=st.compose(Object.assign({baseName:"file-upload",shadowOptions:gt,styles:it,template:nt},lt)),ct=b.html`
1156
+ `,dt=H.defaultFileUploadConfig,ct=H.foundationFileUploadShadowOptions;class pt extends H.FileUpload{}const ut=pt.compose(Object.assign({baseName:"file-upload",shadowOptions:ct,styles:gt,template:st},dt)),ht=b.html`
1125
1157
  ${(0,H.getPrefixedFilterTemplate)("zero")}
1126
- `;class pt extends H.Filter{}const ut=pt.compose({baseName:"filter",template:ct,styles:H.foundationFilterStyles}),ht=b.html`
1158
+ `;class mt extends H.Filter{}const bt=mt.compose({baseName:"filter",template:ht,styles:H.foundationFilterStyles}),vt=b.html`
1127
1159
  ${(0,H.filterBarTemplate)("zero")}
1128
- `;class mt extends H.FilterBar{}const bt=mt.compose({baseName:"filter-bar",template:ht,styles:(e,a)=>b.css`
1160
+ `;class ft extends H.FilterBar{}const wt=ft.compose({baseName:"filter-bar",template:vt,styles:(e,a)=>b.css`
1129
1161
  ${(0,H.foundationFilterBarStyles)(e,a)}
1130
1162
  .toggle,
1131
1163
  .toggle-collapsed {
@@ -1137,31 +1169,31 @@
1137
1169
  .toggle-collapsed:hover {
1138
1170
  color: var(--ag-alpine-active-color, #2196f3);
1139
1171
  }
1140
- `});class vt extends H.FlexLayout{}const ft=vt.compose(Object.assign({baseName:"flex-layout",shadowOptions:H.foundationFlexLayoutShadowOptions,styles:H.foundationFlexLayoutStyles,template:H.foundationFlexLayoutTemplate},H.defaultFlexLayoutConfig));class wt extends H.Flipper{}const yt=wt.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
1172
+ `});class yt extends H.FlexLayout{}const xt=yt.compose(Object.assign({baseName:"flex-layout",shadowOptions:H.foundationFlexLayoutShadowOptions,styles:H.foundationFlexLayoutStyles,template:H.foundationFlexLayoutTemplate},H.defaultFlexLayoutConfig));class kt extends H.Flipper{}const zt=kt.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
1141
1173
  ${(0,H.foundationFlipperStyles)(e,a)}
1142
1174
  :host {
1143
- --foreground-on-accent-rest: ${we.white};
1144
- --foreground-on-accent-hover: ${we.white};
1145
- --foreground-on-accent-active: ${we.white};
1175
+ --foreground-on-accent-rest: ${ke.white};
1176
+ --foreground-on-accent-hover: ${ke.white};
1177
+ --foreground-on-accent-active: ${ke.white};
1146
1178
  --primary-gradient-angle: -113.5deg;
1147
1179
  }
1148
1180
 
1149
1181
  :host::before {
1150
1182
  background: linear-gradient(
1151
1183
  var(--primary-gradient-angle),
1152
- ${ga(.7)},
1153
- ${ca(.7)}
1184
+ ${ca(.7)},
1185
+ ${ha(.7)}
1154
1186
  );
1155
1187
  }
1156
1188
 
1157
1189
  :host(:hover)::before {
1158
1190
  background: linear-gradient(
1159
1191
  var(--primary-gradient-angle),
1160
- ${ye.blue},
1161
- ${ye.purple}
1192
+ ${ze.blue},
1193
+ ${ze.purple}
1162
1194
  );
1163
1195
  }
1164
- `,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),xt=b.css`
1196
+ `,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),St=b.css`
1165
1197
  ${H.foundationFlyoutStyles}
1166
1198
  div.flyout {
1167
1199
  background-color: ${f.neutralLayer2};
@@ -1188,9 +1220,9 @@
1188
1220
  background-color: ${f.neutralFillHover};
1189
1221
  border-radius: 3px;
1190
1222
  }
1191
- `,kt=b.html`
1223
+ `,Ct=b.html`
1192
1224
  ${(0,H.getPrefixedFlyout)("zero")}
1193
- `,zt=H.defaultFlyoutConfig,St=H.foundationFlyoutShadowOptions;class Ct extends H.Flyout{}const $t=Ct.compose(Object.assign({baseName:"flyout",shadowOptions:St,styles:xt,template:kt},zt));class At extends H.GridLayout{}const Ft=At.compose(Object.assign({baseName:"grid-layout",shadowOptions:H.foundationGridLayoutShadowOptions,styles:H.foundationGridLayoutStyles,template:H.foundationGridLayoutTemplate},H.defaultGridLayoutConfig));class Ot extends H.GridLayoutItem{}const Tt=Ot.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:H.foundationGridLayoutItemShadowOptions,template:H.foundationGridLayoutItemTemplate},H.defaultGridLayoutItemConfig));class Dt extends H.HorizontalScroll{}const Rt={nextFlipper:b.html`
1225
+ `,$t=H.defaultFlyoutConfig,At=H.foundationFlyoutShadowOptions;class Ft extends H.Flyout{}const Ot=Ft.compose(Object.assign({baseName:"flyout",shadowOptions:At,styles:St,template:Ct},$t));class Tt extends H.GridLayout{}const Dt=Tt.compose(Object.assign({baseName:"grid-layout",shadowOptions:H.foundationGridLayoutShadowOptions,styles:H.foundationGridLayoutStyles,template:H.foundationGridLayoutTemplate},H.defaultGridLayoutConfig));class Rt extends H.GridLayoutItem{}const Nt=Rt.compose(Object.assign({baseName:"grid-layout-item",shadowOptions:H.foundationGridLayoutItemShadowOptions,template:H.foundationGridLayoutItemTemplate},H.defaultGridLayoutItemConfig));class Lt extends H.HorizontalScroll{}const Mt={nextFlipper:b.html`
1194
1226
  <zero-flipper
1195
1227
  @click="${e=>e.scrollToNext()}"
1196
1228
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -1201,49 +1233,49 @@
1201
1233
  direction="previous"
1202
1234
  aria-hidden="${e=>e.flippersHiddenFromAT}"
1203
1235
  ></zero-flipper>
1204
- `},Nt=Dt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
1236
+ `},It=Lt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
1205
1237
  ${(0,H.foundationHorizontalScrollStyles)(e,a)}
1206
- `,shadowOptions:H.foundationHorizontalScrollShadowOptions},Rt));class Lt extends H.Icon{}const Mt=H.defaultIconConfig,It=H.foundationIconShadowOptions,jt=Lt.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
1238
+ `,shadowOptions:H.foundationHorizontalScrollShadowOptions},Mt));class jt extends H.Icon{}const Et=H.defaultIconConfig,Pt=H.foundationIconShadowOptions,Bt=jt.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
1207
1239
  ${(0,H.foundationIconStyles)(e,a)}
1208
- `,shadowOptions:It},Mt));class Et extends H.Listbox{}const Pt=Et.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
1240
+ `,shadowOptions:Pt},Et));class Gt extends H.Listbox{}const _t=Gt.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
1209
1241
  ${(0,H.foundationListboxStyles)(e,a)}
1210
1242
 
1211
1243
  :host {
1212
1244
  background: #1f2126;
1213
1245
  }
1214
- `,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class Bt extends H.ListboxOption{}const Gt=Bt.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
1246
+ `,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class Ut extends H.ListboxOption{}const Ht=Ut.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
1215
1247
  ${(0,H.foundationListboxOptionStyles)(e,a)}
1216
1248
  :host {
1217
- background-color: ${we.darkGrey};
1249
+ background-color: ${ke.darkGrey};
1218
1250
  margin: 0;
1219
1251
  border-radius: 0;
1220
- border: 1px solid ${we.lightGrey};
1252
+ border: 1px solid ${ke.lightGrey};
1221
1253
  }
1222
1254
 
1223
1255
  :host(:hover:not([disabled])) {
1224
- background-color: ${we.mediumGrey};
1256
+ background-color: ${ke.mediumGrey};
1225
1257
  }
1226
1258
 
1227
1259
  :host(.selected) {
1228
- background-color: ${we.darkerGrey};
1229
- color: ${ye.blue};
1260
+ background-color: ${ke.darkerGrey};
1261
+ color: ${ze.blue};
1230
1262
  }
1231
- `,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig)),_t=H.foundationMenuShadowOptions;class Ut extends H.Menu{}const Ht=Ut.compose({baseName:"menu",template:H.foundationMenuTemplate,styles:(e,a)=>b.css`
1263
+ `,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig)),Vt=H.foundationMenuShadowOptions;class Yt extends H.Menu{}const Qt=Yt.compose({baseName:"menu",template:H.foundationMenuTemplate,styles:(e,a)=>b.css`
1232
1264
  ${(0,H.foundationMenuStyles)(e,a)}
1233
1265
 
1234
1266
  :host {
1235
1267
  padding: 0;
1236
1268
  }
1237
- `,shadowOptions:_t}),Vt=H.foundationMenuItemShadowOptions;class Yt extends H.MenuItem{}const Qt=Yt.compose(Object.assign({baseName:"menu-item",template:H.foundationMenuItemTemplate,styles:(e,a)=>b.css`
1269
+ `,shadowOptions:Vt}),Wt=H.foundationMenuItemShadowOptions;class qt extends H.MenuItem{}const Jt=qt.compose(Object.assign({baseName:"menu-item",template:H.foundationMenuItemTemplate,styles:(e,a)=>b.css`
1238
1270
  ${(0,H.foundationMenuItemStyles)(e,a)}
1239
1271
 
1240
1272
  :host {
1241
1273
  background: none;
1242
1274
  margin: 0;
1243
1275
  }
1244
- `,shadowOptions:Vt},H.defaultMenuItemConfig)),Wt=b.css`
1245
- ${Pr}
1246
- `,qt=H.defaultModalConfig,Jt=H.foundationModalTemplate,Zt=H.foundationModalShadowOptions;class Kt extends H.Modal{}const Xt=Kt.compose(Object.assign({baseName:"modal",shadowOptions:Zt,styles:Wt,template:Jt},qt)),eo=b.css`
1276
+ `,shadowOptions:Wt},H.defaultMenuItemConfig)),Zt=b.css`
1277
+ ${_r}
1278
+ `,Kt=H.defaultModalConfig,Xt=H.foundationModalTemplate,eo=H.foundationModalShadowOptions;class ao extends H.Modal{}const ro=ao.compose(Object.assign({baseName:"modal",shadowOptions:eo,styles:Zt,template:Xt},Kt)),to=b.css`
1247
1279
  ${H.multiselectStyles}
1248
1280
 
1249
1281
  :host {
@@ -1251,7 +1283,7 @@
1251
1283
  }
1252
1284
 
1253
1285
  #display-field {
1254
- background: ${pr};
1286
+ background: ${mr};
1255
1287
  }
1256
1288
 
1257
1289
  #display-field:focus {
@@ -1259,21 +1291,21 @@
1259
1291
  background:
1260
1292
  linear-gradient(
1261
1293
  var(--primary-gradient-angle),
1262
- ${ye.blue} 0%,
1263
- ${ye.purple} 100%
1294
+ ${ze.blue} 0%,
1295
+ ${ze.purple} 100%
1264
1296
  )
1265
1297
  top/100% 1px,
1266
1298
  linear-gradient(
1267
1299
  var(--primary-gradient-angle),
1268
- ${ye.blue} 0%,
1269
- ${ye.purple} 100%
1300
+ ${ze.blue} 0%,
1301
+ ${ze.purple} 100%
1270
1302
  )
1271
1303
  bottom/100% 1px;
1272
1304
  background-origin: border-box;
1273
1305
  background-repeat: no-repeat;
1274
1306
  border: 1px solid transparent;
1275
- border-right-color: ${ye.blue};
1276
- border-left-color: ${ye.purple};
1307
+ border-right-color: ${ze.blue};
1308
+ border-left-color: ${ze.purple};
1277
1309
  }
1278
1310
 
1279
1311
  ::slotted(zero-checkbox),
@@ -1297,11 +1329,11 @@
1297
1329
  }
1298
1330
 
1299
1331
  .label {
1300
- color: ${hr};
1332
+ color: ${vr};
1301
1333
  }
1302
- `,ao=b.html`
1334
+ `,oo=b.html`
1303
1335
  ${(0,H.getPrefixedMultiselect)("zero")}
1304
- `;class ro extends H.Multiselect{}const to=H.defaultMultiselectConfig,oo=H.foundationMultiselectShadowOptions,io=ro.compose(Object.assign({baseName:"multiselect",template:ao,styles:eo,shadowOptions:oo},to));class no extends H.NotificationListener{}const lo=no.compose({baseName:"notification-listener",template:H.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),go=(e,a)=>b.css`
1336
+ `;class io extends H.Multiselect{}const no=H.defaultMultiselectConfig,lo=H.foundationMultiselectShadowOptions,go=io.compose(Object.assign({baseName:"multiselect",template:oo,styles:to,shadowOptions:lo},no));class so extends H.NotificationListener{}const co=so.compose({baseName:"notification-listener",template:H.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),po=(e,a)=>b.css`
1305
1337
  ${(0,H.foundationTextFieldStyles)(e,a)}
1306
1338
  :host {
1307
1339
  --primary-gradient-angle: -113.5deg;
@@ -1313,12 +1345,12 @@
1313
1345
  }
1314
1346
 
1315
1347
  :host .root {
1316
- border: calc(var(--stroke-width) * 1px) solid ${fr};
1317
- background-color: ${pr};
1348
+ border: calc(var(--stroke-width) * 1px) solid ${xr};
1349
+ background-color: ${mr};
1318
1350
  }
1319
1351
 
1320
1352
  :host(:hover:not([disabled])) .root {
1321
- border-color: ${dr};
1353
+ border-color: ${ur};
1322
1354
  background: none;
1323
1355
  }
1324
1356
 
@@ -1326,44 +1358,44 @@
1326
1358
  background:
1327
1359
  linear-gradient(
1328
1360
  var(--primary-gradient-angle),
1329
- ${ye.blue} 0%,
1330
- ${ye.purple} 100%
1361
+ ${ze.blue} 0%,
1362
+ ${ze.purple} 100%
1331
1363
  )
1332
1364
  top/100% 1px,
1333
1365
  linear-gradient(
1334
1366
  var(--primary-gradient-angle),
1335
- ${ye.blue} 0%,
1336
- ${ye.purple} 100%
1367
+ ${ze.blue} 0%,
1368
+ ${ze.purple} 100%
1337
1369
  )
1338
1370
  bottom/100% 1px;
1339
- background-color: ${br};
1371
+ background-color: ${wr};
1340
1372
  background-origin: border-box;
1341
1373
  background-repeat: no-repeat;
1342
1374
  border: 1px solid transparent;
1343
- border-right-color: ${ye.blue};
1344
- border-left-color: ${ye.purple};
1375
+ border-right-color: ${ze.blue};
1376
+ border-left-color: ${ze.purple};
1345
1377
  box-shadow: none;
1346
1378
  }
1347
1379
 
1348
1380
  .label {
1349
- color: ${hr};
1381
+ color: ${vr};
1350
1382
  margin: calc(var(--design-unit) * 2px) 0;
1351
1383
  }
1352
- `;class so extends H.NumberField{}const co=H.defaultNumberFieldConfig,po=H.foundationNumberFieldTemplate,uo=H.foundationNumberFieldShadowOptions,ho=so.compose(Object.assign({baseName:"number-field",template:po,styles:(e,a)=>b.css`
1384
+ `;class uo extends H.NumberField{}const ho=H.defaultNumberFieldConfig,mo=H.foundationNumberFieldTemplate,bo=H.foundationNumberFieldShadowOptions,vo=uo.compose(Object.assign({baseName:"number-field",template:mo,styles:(e,a)=>b.css`
1353
1385
  :host .root {
1354
1386
  --focus-stroke-outer: transparent;
1355
1387
  }
1356
- ${go(e,a)}
1357
- `,shadowOptions:uo},co));class mo extends H.Progress{}const bo=mo.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
1388
+ ${po(e,a)}
1389
+ `,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`
1358
1390
  ${(0,H.foundationProgressStyles)(e,a)}
1359
1391
  :host([appearance="secondary-teal"]) {
1360
- --accent-foreground-rest: ${xe.teal};
1392
+ --accent-foreground-rest: ${Se.teal};
1361
1393
  }
1362
1394
 
1363
1395
  :host([appearance='secondary-orange']) {
1364
- --accent-foreground-rest: ${xe.orange};
1396
+ --accent-foreground-rest: ${Se.orange};
1365
1397
  }
1366
- `,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class vo extends H.ProgressRing{}const fo={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${ye.purple}"/>\n <stop offset="100%" stop-color="${ye.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 `},wo=vo.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>b.html`
1398
+ `,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`
1367
1399
  <template
1368
1400
  role="progressbar"
1369
1401
  aria-valuenow="${e=>e.value}"
@@ -1375,8 +1407,8 @@
1375
1407
  <svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate">
1376
1408
  <defs>
1377
1409
  <linearGradient id="linear">
1378
- <stop offset="0%" stop-color="${ye.purple}" />
1379
- <stop offset="60%" stop-color="${ye.blue}" />
1410
+ <stop offset="0%" stop-color="${ze.purple}" />
1411
+ <stop offset="60%" stop-color="${ze.blue}" />
1380
1412
  </linearGradient>
1381
1413
  </defs>
1382
1414
  <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>
@@ -1401,7 +1433,7 @@
1401
1433
  .indeterminate-indicator-1, .determinate {
1402
1434
  stroke: ${"url(#linear)"};
1403
1435
  }
1404
- `,shadowOptions:H.foundationProgressRingShadowOptions},fo));class yo extends H.Radio{}const xo=yo.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
1436
+ `,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`
1405
1437
  ${(0,H.foundationRadioStyles)(e,a)}
1406
1438
  :host {
1407
1439
  --primary-gradient-angle: -113.5deg;
@@ -1429,62 +1461,62 @@
1429
1461
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
1430
1462
  background: linear-gradient(
1431
1463
  var(--primary-gradient-angle),
1432
- ${ye.blue},
1433
- ${ye.purple}
1464
+ ${ze.blue},
1465
+ ${ze.purple}
1434
1466
  );
1435
1467
  }
1436
- `,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class ko extends H.RadioGroup{}const zo=ko.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
1468
+ `,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`
1437
1469
  ${(0,H.foundationRadioGroupStyles)(e,a)}
1438
1470
  :host([appearance="accent"]) {
1439
1471
  background: green;
1440
1472
  }
1441
- `,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),So=b.css`
1473
+ `,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),Ao=b.css`
1442
1474
  ${H.foundationSearchBarStyles}
1443
- `,Co=b.html`
1475
+ `,Fo=b.html`
1444
1476
  ${(0,H.getPrefixedSearchBar)("zero")}
1445
- `;class $o extends H.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const Ao=$o.compose(Object.assign({baseName:"search-bar",template:Co,styles:So,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class Fo extends H.SearchBarCombobox{}const Oo=Fo.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
1477
+ `;class Oo extends H.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const To=Oo.compose(Object.assign({baseName:"search-bar",template:Fo,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`
1446
1478
  ${(0,H.foundationSearchBarComboboxStyles)(e,a)}
1447
1479
 
1448
1480
  :host {
1449
1481
  --primary-gradient-angle: -113.5deg;
1450
1482
 
1451
1483
  border-radius: calc(var(--control-corner-radius) * 1px);
1452
- border-color: ${fr};
1453
- background: ${pr};
1484
+ border-color: ${xr};
1485
+ background: ${mr};
1454
1486
  }
1455
1487
 
1456
1488
  :host(:focus-within:not([disabled])) {
1457
1489
  background:
1458
1490
  linear-gradient(
1459
1491
  var(--primary-gradient-angle),
1460
- ${ye.blue} 0%,
1461
- ${ye.purple} 100%
1492
+ ${ze.blue} 0%,
1493
+ ${ze.purple} 100%
1462
1494
  )
1463
1495
  top/100% 1px,
1464
1496
  linear-gradient(
1465
1497
  var(--primary-gradient-angle),
1466
- ${ye.blue} 0%,
1467
- ${ye.purple} 100%
1498
+ ${ze.blue} 0%,
1499
+ ${ze.purple} 100%
1468
1500
  )
1469
1501
  bottom/100% 1px;
1470
1502
  background-origin: border-box;
1471
1503
  background-repeat: no-repeat;
1472
1504
  border: 1px solid transparent;
1473
- border-right-color: ${ye.blue};
1474
- border-left-color: ${ye.purple};
1505
+ border-right-color: ${ze.blue};
1506
+ border-left-color: ${ze.purple};
1475
1507
  }
1476
1508
 
1477
1509
  :host(:hover:not([disabled]):not([open])) {
1478
- border-color: ${dr};
1479
- background: ${pr};
1510
+ border-color: ${ur};
1511
+ background: ${mr};
1480
1512
  }
1481
1513
 
1482
1514
  :host([open][position='below']) .listbox {
1483
1515
  padding: 0;
1484
1516
  border-radius: 4px;
1485
- border: 1px solid ${we.lightGrey};
1517
+ border: 1px solid ${ke.lightGrey};
1486
1518
  }
1487
- `,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class To extends H.SegmentedControl{}const Do=To.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
1519
+ `,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`
1488
1520
  ${(0,H.foundationSegmentedControlStyles)(e,a)}
1489
1521
  :host {
1490
1522
  --primary-gradient-angle: -113.5deg;
@@ -1516,14 +1548,14 @@
1516
1548
  :host([appearance='primary']) ::slotted(*[aria-checked='true']) {
1517
1549
  background: linear-gradient(
1518
1550
  var(--primary-gradient-angle),
1519
- ${ye.blue},
1520
- ${ye.purple}
1551
+ ${ze.blue},
1552
+ ${ze.purple}
1521
1553
  );
1522
1554
  background-origin: border-box;
1523
1555
  border-color: transparent;
1524
1556
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1525
1557
  }
1526
- `,shadowOptions:undefined},{}));class Ro extends H.Radio{}const No=Ro.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
1558
+ `,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`
1527
1559
  ${(0,H.foundationSegmentedItemStyles)(e,a)}
1528
1560
  :host {
1529
1561
  color: var(--neutral-stroke-rest);
@@ -1531,61 +1563,61 @@
1531
1563
  }
1532
1564
 
1533
1565
  :host([aria-checked='true']) {
1534
- color: ${we.white};
1566
+ color: ${ke.white};
1535
1567
  }
1536
- `,shadowOptions:undefined},{}));class Lo extends H.Select{}const Mo=Lo.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
1568
+ `,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`
1537
1569
  ${(0,H.foundationSelectStyles)(e,a)}
1538
1570
  :host {
1539
1571
  --primary-gradient-angle: -113.5deg;
1540
1572
 
1541
1573
  border-radius: calc(var(--control-corner-radius) * 1px);
1542
- border-color: ${fr};
1543
- background: ${pr};
1574
+ border-color: ${xr};
1575
+ background: ${mr};
1544
1576
  }
1545
1577
 
1546
1578
  :host(:focus-within:not([disabled])) {
1547
1579
  background:
1548
1580
  linear-gradient(
1549
1581
  var(--primary-gradient-angle),
1550
- ${ye.blue} 0%,
1551
- ${ye.purple} 100%
1582
+ ${ze.blue} 0%,
1583
+ ${ze.purple} 100%
1552
1584
  )
1553
1585
  top/100% 1px,
1554
1586
  linear-gradient(
1555
1587
  var(--primary-gradient-angle),
1556
- ${ye.blue} 0%,
1557
- ${ye.purple} 100%
1588
+ ${ze.blue} 0%,
1589
+ ${ze.purple} 100%
1558
1590
  )
1559
1591
  bottom/100% 1px;
1560
1592
  background-origin: border-box;
1561
1593
  background-repeat: no-repeat;
1562
1594
  border: 1px solid transparent;
1563
- border-right-color: ${ye.blue};
1564
- border-left-color: ${ye.purple};
1595
+ border-right-color: ${ze.blue};
1596
+ border-left-color: ${ze.purple};
1565
1597
  }
1566
1598
 
1567
1599
  :host(:hover:not([disabled]):not(.open)) {
1568
- border-color: ${dr};
1569
- background: ${pr};
1600
+ border-color: ${ur};
1601
+ background: ${mr};
1570
1602
  }
1571
1603
 
1572
1604
  :host([open][position='below']) .listbox {
1573
1605
  padding: 0;
1574
1606
  margin-top: calc(${f.designUnit} * 1px);
1575
1607
  border-radius: 4px;
1576
- border: 1px solid ${we.lightGrey};
1608
+ border: 1px solid ${ke.lightGrey};
1577
1609
  }
1578
1610
 
1579
1611
  :host([open]) .control {
1580
- background: ${br};
1612
+ background: ${wr};
1581
1613
  }
1582
1614
 
1583
1615
  :host(:not([disabled])) .control:active {
1584
1616
  background: none;
1585
1617
  }
1586
- `,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class Io extends H.Skeleton{}const jo=Io.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
1618
+ `,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`
1587
1619
  ${(0,H.foundationSkeletonStyles)(e,a)}
1588
- `,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class Eo extends H.Slider{}const Po=Eo.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
1620
+ `,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`
1589
1621
  ${(0,H.foundationSliderStyles)(e,a)}
1590
1622
  :host {
1591
1623
  --primary-gradient-angle: -113.5deg;
@@ -1594,8 +1626,8 @@
1594
1626
  .thumb-cursor {
1595
1627
  background: linear-gradient(
1596
1628
  var(--primary-gradient-angle),
1597
- ${ye.blue},
1598
- ${ye.purple}
1629
+ ${ze.blue},
1630
+ ${ze.purple}
1599
1631
  );
1600
1632
  border-radius: calc(var(--control-corner-radius) * 2px);
1601
1633
  }
@@ -1604,8 +1636,8 @@
1604
1636
  .thumb-cursor:active {
1605
1637
  background: linear-gradient(
1606
1638
  var(--primary-gradient-angle),
1607
- ${ye.blue},
1608
- ${ye.purple}
1639
+ ${ze.blue},
1640
+ ${ze.purple}
1609
1641
  );
1610
1642
  border-radius: transparent;
1611
1643
  }
@@ -1628,21 +1660,21 @@
1628
1660
  }
1629
1661
 
1630
1662
  .thumb-cursor:hover::after {
1631
- background-color: ${ga(.1)};
1663
+ background-color: ${ca(.1)};
1632
1664
  }
1633
1665
 
1634
1666
  .thumb-cursor:active::after {
1635
- background-color: ${ga(.2)};
1667
+ background-color: ${ca(.2)};
1636
1668
  }
1637
1669
 
1638
1670
  .track {
1639
- background-color: ${we.mediumGrey};
1671
+ background-color: ${ke.mediumGrey};
1640
1672
  }
1641
1673
 
1642
1674
  .track-progress {
1643
1675
  background-color: var(--neutral-stroke-rest);
1644
1676
  }
1645
- `,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class Bo extends H.SliderLabel{}const Go=Bo.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
1677
+ `,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`
1646
1678
  ${(0,H.foundationSliderLabelStyles)(e,a)}
1647
1679
  .label {
1648
1680
  padding: 6px 8px;
@@ -1653,7 +1685,7 @@
1653
1685
  text-align: center;
1654
1686
  font-size: var(--type-ramp-minus-1-font-size, 12px);
1655
1687
  }
1656
- `,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),_o=b.css`
1688
+ `,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),Vo=b.css`
1657
1689
  ${H.foundationSnackbarStyles}
1658
1690
  .snackbar {
1659
1691
  border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer2};
@@ -1661,23 +1693,23 @@
1661
1693
  }
1662
1694
 
1663
1695
  :host([type='error']) .snackbar::after {
1664
- background-color: ${fa(1)};
1696
+ background-color: ${xa(1)};
1665
1697
  }
1666
- `,Uo=b.html`
1698
+ `,Yo=b.html`
1667
1699
  ${(0,H.getPrefixedSnackbar)("zero")}
1668
- `,Ho=H.foundationSnackbarShadowOptions;class Vo extends H.Snackbar{}const Yo=Vo.compose({baseName:"snackbar",shadowOptions:Ho,styles:_o,template:Uo});class Qo extends H.StackingIcons{}const Wo=Qo.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
1700
+ `,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`
1669
1701
  ${(0,H.foundationStackingIconsStyles)(e,a)}
1670
- `}),qo=b.css`
1702
+ `}),Ko=b.css`
1671
1703
  ${H.foundationStepperStyles}
1672
1704
 
1673
1705
  .stepper-tab {
1674
1706
  background-color: var(--neutral-layer-3);
1675
1707
  }
1676
- `,Jo=b.html`
1708
+ `,Xo=b.html`
1677
1709
  ${(0,H.getPrefixedStepper)("zero")}
1678
- `;class Zo extends H.Stepper{}const Ko=Zo.compose(Object.assign({baseName:"stepper",template:Jo,styles:qo,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),Xo=b.html`
1710
+ `;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`
1679
1711
  ${(0,H.getPrefixedStepperTab)("zero")}
1680
- `;class ei extends H.StepperTab{}const ai=ei.compose(Object.assign({baseName:"stepper-tab",template:Xo,styles:(e,a)=>b.css`
1712
+ `;class ti extends H.StepperTab{}const oi=ti.compose(Object.assign({baseName:"stepper-tab",template:ri,styles:(e,a)=>b.css`
1681
1713
  ${(0,H.foundationStepperTabStyles)(e,a)}
1682
1714
 
1683
1715
  zero-tree-item {
@@ -1689,7 +1721,7 @@
1689
1721
 
1690
1722
  border-bottom: 1px solid var(--fill-color);
1691
1723
  }
1692
- `,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class ri extends H.StepperTabPanel{}const ti=ri.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig));class oi extends H.Switch{}const ii=oi.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
1724
+ `,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`
1693
1725
  ${(0,H.foundationSwitchStyles)(e,a)}
1694
1726
  :host {
1695
1727
  --primary-gradient-angle: -113.5deg;
@@ -1705,7 +1737,7 @@
1705
1737
  }
1706
1738
 
1707
1739
  .switch:hover {
1708
- border-color: ${we.white};
1740
+ border-color: ${ke.white};
1709
1741
  background: none;
1710
1742
  }
1711
1743
 
@@ -1716,8 +1748,8 @@
1716
1748
  :host([aria-checked='true']) .checked-indicator {
1717
1749
  background: linear-gradient(
1718
1750
  var(--primary-gradient-angle),
1719
- ${ye.blue},
1720
- ${ye.purple}
1751
+ ${ze.blue},
1752
+ ${ze.purple}
1721
1753
  );
1722
1754
  }
1723
1755
 
@@ -1730,17 +1762,17 @@
1730
1762
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
1731
1763
  background: linear-gradient(
1732
1764
  var(--primary-gradient-angle),
1733
- ${ye.blue},
1734
- ${ye.purple}
1765
+ ${ze.blue},
1766
+ ${ze.purple}
1735
1767
  );
1736
1768
  }
1737
- `,shadowOptions:H.foundationSwitchShadowOptions},H.defaultSwitchConfig));class ni extends H.Tab{}const li=ni.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
1769
+ `,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`
1738
1770
  ${(0,H.foundationTabStyles)(e,a)}
1739
1771
  :host {
1740
1772
  background-color: ${f.neutralLayer2};
1741
1773
  border-radius: calc(var(--control-corner-radius) * 2px) calc(var(--control-corner-radius) * 2px)
1742
1774
  0 0;
1743
- border: calc(var(--stroke-width) * 1px) solid ${we.lightGrey};
1775
+ border: calc(var(--stroke-width) * 1px) solid ${ke.lightGrey};
1744
1776
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
1745
1777
  margin-right: 5px;
1746
1778
  }
@@ -1758,9 +1790,9 @@
1758
1790
  margin-right: 0;
1759
1791
  background-color: var(--zero-card-fill-color);
1760
1792
  }
1761
- `,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class gi extends H.TabPanel{}const si=gi.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
1793
+ `,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`
1762
1794
  ${(0,H.foundationTabPanelStyles)(e,a)}
1763
- `,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class di extends H.Tabs{}const ci=di.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
1795
+ `,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`
1764
1796
  ${(0,H.foundationTabsStyles)(e,a)}
1765
1797
  :host .tablist {
1766
1798
  padding: 0;
@@ -1768,7 +1800,7 @@
1768
1800
  background-color: ${f.neutralLayer3};
1769
1801
  width: 100%;
1770
1802
  height: 42px;
1771
- border-bottom: calc(var(--stroke-width) * 1px) solid ${we.lightGrey};
1803
+ border-bottom: calc(var(--stroke-width) * 1px) solid ${ke.lightGrey};
1772
1804
  }
1773
1805
 
1774
1806
  :host .tabpanel {
@@ -1781,7 +1813,7 @@
1781
1813
  height: calc(100% - 1px);
1782
1814
  display: flex;
1783
1815
  align-items: center;
1784
- border-bottom: calc(var(--stroke-width) * 1px) solid ${we.lightGrey};
1816
+ border-bottom: calc(var(--stroke-width) * 1px) solid ${ke.lightGrey};
1785
1817
  background-color: var(--neutral-layer-3);
1786
1818
  }
1787
1819
 
@@ -1789,8 +1821,8 @@
1789
1821
  display: grid;
1790
1822
  grid-template-columns: repeat(18, max-content);
1791
1823
  background-color: var(--zero-card-fill-color);
1792
- border-left: calc(var(--stroke-width) * 1px) solid ${we.lightGrey};
1793
- border-right: calc(var(--stroke-width) * 1px) solid ${we.lightGrey};
1824
+ border-left: calc(var(--stroke-width) * 1px) solid ${ke.lightGrey};
1825
+ border-right: calc(var(--stroke-width) * 1px) solid ${ke.lightGrey};
1794
1826
  }
1795
1827
 
1796
1828
  /* We don't want to show the active indicator on the tabs */
@@ -1806,7 +1838,7 @@
1806
1838
  height: 2px;
1807
1839
  margin-top: 0;
1808
1840
  }
1809
- `,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class pi extends H.TextArea{}const ui=pi.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
1841
+ `,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`
1810
1842
  ${(0,H.foundationTextAreaStyles)(e,a)}
1811
1843
  :host {
1812
1844
  --primary-gradient-angle: -113.5deg;
@@ -1814,44 +1846,44 @@
1814
1846
 
1815
1847
  :host .control {
1816
1848
  height: 100%;
1817
- background-color: ${pr};
1818
- border: calc(var(--stroke-width) * 1px) solid ${fr};
1849
+ background-color: ${mr};
1850
+ border: calc(var(--stroke-width) * 1px) solid ${xr};
1819
1851
  border-radius: calc(var(--control-corner-radius) * 1px);
1820
1852
  }
1821
1853
 
1822
1854
  :host(:hover:not([disabled])) .control {
1823
- border-color: ${dr};
1824
- background: ${pr};
1855
+ border-color: ${ur};
1856
+ background: ${mr};
1825
1857
  }
1826
1858
 
1827
1859
  :host(:focus-within:not([disabled])) .control {
1828
1860
  background:
1829
1861
  linear-gradient(
1830
1862
  var(--primary-gradient-angle),
1831
- ${ye.blue} 0%,
1832
- ${ye.purple} 100%
1863
+ ${ze.blue} 0%,
1864
+ ${ze.purple} 100%
1833
1865
  )
1834
1866
  top/100% 1px,
1835
1867
  linear-gradient(
1836
1868
  var(--primary-gradient-angle),
1837
- ${ye.blue} 0%,
1838
- ${ye.purple} 100%
1869
+ ${ze.blue} 0%,
1870
+ ${ze.purple} 100%
1839
1871
  )
1840
1872
  bottom/100% 1px;
1841
1873
  background-origin: border-box;
1842
1874
  background-repeat: no-repeat;
1843
1875
  border: 1px solid transparent;
1844
- border-right-color: ${ye.blue};
1845
- border-left-color: ${ye.purple};
1846
- background-color: ${br};
1876
+ border-right-color: ${ze.blue};
1877
+ border-left-color: ${ze.purple};
1878
+ background-color: ${wr};
1847
1879
  box-shadow: none;
1848
1880
  }
1849
1881
 
1850
1882
  .label {
1851
- color: ${hr};
1883
+ color: ${vr};
1852
1884
  margin: calc(var(--design-unit) * 2px) 0;
1853
1885
  }
1854
- `,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class hi extends H.TextField{}const mi=hi.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:go,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),bi=b.css`
1886
+ `,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`
1855
1887
  ${H.foundationToastStyles}
1856
1888
  .toast {
1857
1889
  border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer3};
@@ -1859,29 +1891,29 @@
1859
1891
  }
1860
1892
 
1861
1893
  .toast::after {
1862
- background-color: ${ga(1)};
1894
+ background-color: ${ca(1)};
1863
1895
  }
1864
1896
 
1865
1897
  :host([notify='warning']) .toast::after {
1866
- background-color: ${fa(1)};
1898
+ background-color: ${xa(1)};
1867
1899
  }
1868
1900
 
1869
1901
  :host([notify='success']) .toast::after {
1870
- background-color: ${ma(1)};
1902
+ background-color: ${fa(1)};
1871
1903
  }
1872
1904
 
1873
1905
  :host([notify='critical']) .toast::after {
1874
- background-color: ${((e=1)=>aa(ba,e))(1)};
1906
+ background-color: ${((e=1)=>oa(wa,e))(1)};
1875
1907
  }
1876
1908
 
1877
1909
  :host([notify='serious']) .toast::after {
1878
- background-color: ${ua(1)};
1910
+ background-color: ${ba(1)};
1879
1911
  }
1880
- `,vi=H.defaultToastConfig,fi=H.foundationToastShadowOptions;class wi extends H.Toast{}const yi=wi.compose(Object.assign({baseName:"toast",shadowOptions:fi,styles:bi,template:H.foundationToastTemplate},vi));class xi extends H.Toolbar{}const ki=xi.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
1912
+ `,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`
1881
1913
  ${(0,H.foundationToolbarStyles)(e,a)}
1882
- `,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class zi extends H.Tooltip{}const Si=zi.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
1914
+ `,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`
1883
1915
  ${(0,H.foundationTooltipStyles)(e,a)}
1884
- `,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class Ci extends H.TreeItem{}const $i=Ci.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
1916
+ `,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class Fi extends H.TreeItem{}const Oi=Fi.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
1885
1917
  ${(0,H.foundationTreeItemStyles)(e,a)}
1886
1918
  :host {
1887
1919
  --primary-gradient-angle: -113.5deg;
@@ -1895,51 +1927,51 @@
1895
1927
  background:
1896
1928
  linear-gradient(
1897
1929
  var(--primary-gradient-angle),
1898
- ${ye.blue} 10%,
1899
- ${ye.purple} 100%
1930
+ ${ze.blue} 10%,
1931
+ ${ze.purple} 100%
1900
1932
  )
1901
1933
  top/100% 1px,
1902
1934
  linear-gradient(
1903
1935
  var(--primary-gradient-angle),
1904
- ${ye.blue} 10%,
1905
- ${ye.purple} 100%
1936
+ ${ze.blue} 10%,
1937
+ ${ze.purple} 100%
1906
1938
  )
1907
1939
  bottom/100% 1px;
1908
1940
  background-origin: border-box;
1909
1941
  background-size: cover;
1910
1942
  background-repeat: no-repeat;
1911
1943
  }
1912
- `,shadowOptions:H.foundationTreeItemShadowOptions},H.defaultTreeItemConfig));class Ai extends H.TreeView{}const Fi=Ai.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
1944
+ `,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`
1913
1945
  ${(0,H.foundationTreeViewStyles)(e,a)}
1914
- `,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),Oi=b.html`
1946
+ `,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),Ri=b.html`
1915
1947
  ${(0,H.getPrefixedUrlInput)("zero")}
1916
- `;class Ti extends H.UrlInput{}const Di={zeroAccordion:Je,zeroAccordionItem:Ke,zeroActionsMenu:ea,zeroAnchor:La,zeroAnchoredRegion:Ia,zeroAvatar:Ea,zeroBadge:Ba,zeroBanner:Ha,zeroBreadcrumbItem:Wa,zeroBreadcrumb:Ya,zeroButton:Ja,zeroCalendar:Ka,zeroCard:er,zeroCategorizedMultiselect:nr,zeroCheckbox:gr,zeroCombobox:xr,zeroConnectionIndicator:zr,zeroDataGrid:Ar,zeroDesignSystemProvider:Ir,zeroDialog:Hr,zeroDatePicker:Tr,zeroDisclosure:Yr,zeroDivider:Wr,zeroDropdownMenu:Jr,zeroErrorBoundary:rt,zeroNotificationListener:lo,zeroErrorBanner:et,zeroErrorDialog:ot,zeroFileUpload:dt,zeroFilter:ut,zeroFilterBar:bt,zeroFlexLayout:ft,zeroFlipper:yt,zeroFlyout:$t,zeroGridLayout:Ft,zeroGridLayoutItem:Tt,zeroHorizontalScroll:Nt,zeroIcon:jt,zeroListbox:Pt,zeroListboxOption:Gt,zeroMenu:Ht,zeroMenuItem:Qt,zeroModal:Xt,zeroMultiselect:io,zeroNumberField:ho,zeroProgress:bo,zeroProgressRing:wo,zeroRadio:xo,zeroRadioGroup:zo,zeroSearchBar:Ao,zeroSearchBarCombobox:Oo,zeroSegmentedControl:Do,zeroSegmentedItem:No,zeroSelect:Mo,zeroSkeleton:jo,zeroSlider:Po,zeroSliderLabel:Go,zeroSnackbar:Yo,zeroStackingIcons:Wo,zeroStepper:Ko,zeroStepperTab:ai,zeroStepperTabPanel:ti,zeroSwitch:ii,zeroTab:li,zeroTabPanel:si,zeroTabs:ci,zeroTextArea:ui,zeroTextField:mi,zeroToast:yi,zeroToolbar:ki,zeroTooltip:Si,zeroTreeItem:$i,zeroTreeView:Fi,zeroUrlInput:Ti.compose(Object.assign({baseName:"url-input",template:Oi,styles:(e,a)=>b.css`
1948
+ `;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:Ot,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:Oi,zeroTreeView:Di,zeroUrlInput:Ni.compose(Object.assign({baseName:"url-input",template:Ri,styles:(e,a)=>b.css`
1917
1949
  ${(0,H.foundationUrlInputStyles)(e,a)}
1918
1950
  a {
1919
- color: ${ye.blue};
1951
+ color: ${ze.blue};
1920
1952
  opacity: 65%;
1921
1953
  }
1922
1954
 
1923
1955
  a:hover {
1924
1956
  opacity: 100%;
1925
1957
  }
1926
- `,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ri,Ni,Li=r(80249),Mi=r(87530),Ii=r.n(Mi),ji=r(79014),Ei=r.n(ji);!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"}(Ri||(Ri={})),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"}(Ni||(Ni={}));const Pi=e=>`${e}-token-map`,Bi=(e,a)=>b.css`
1927
- .${Pi(e)} {
1958
+ `,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`
1959
+ .${_i(e)} {
1928
1960
  ${new H.CSSVarsTokenMapper(a)}
1929
1961
  }
1930
- `;var Gi;!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"}(Gi||(Gi={}));const _i="__editedColumn",Ui="__errorColumn",Hi={},Vi=v.DI.createInterface((e=>e.instance(Hi)));var Yi;!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"}(Yi||(Yi={})),Ii().extend(Ei());class Qi 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[_i]}}(0,Li.__decorate)([b.observable],Qi.prototype,"value",void 0),(0,Li.__decorate)([b.observable],Qi.prototype,"actualWidth",void 0);const Wi=b.css`
1962
+ `;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`
1931
1963
  :host {
1932
1964
  display: flex;
1933
1965
  }
1934
- `,qi=(e="foundation")=>b.html`
1966
+ `,Ki=(e="foundation")=>b.html`
1935
1967
  <${e}-text-field
1936
1968
  ${(0,b.ref)("input")}
1937
- :value=${e=>void 0===e.value||null===e.value?"":Ii().utc(e.value).format(e.dateFormat)}
1969
+ :value=${e=>void 0===e.value||null===e.value?"":Pi().utc(e.value).format(e.dateFormat)}
1938
1970
  type=${e=>e.inputType}
1939
1971
  @input=${(e,a)=>e.changeHandler(a.event)}
1940
1972
  style="width: ${e=>e.actualWidth}px"
1941
1973
  ></${e}-text-field>
1942
- `,Ji=Qi.compose({baseName:"date-editor",styles:Wi,template:qi()});class Zi extends Qi{}const Ki=Zi.compose({baseName:"date-editor",styles:Wi,template:qi("zero")});class Xi 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[_i]}}(0,Li.__decorate)([b.observable],Xi.prototype,"params",void 0),(0,Li.__decorate)([b.observable],Xi.prototype,"selectedOptions",void 0);const en=b.css``,an=(e="foundation")=>b.html`
1974
+ `,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`
1943
1975
  <${e}-multiselect
1944
1976
  style="width: 100%"
1945
1977
  ?async=${e=>e.params.async}
@@ -1953,7 +1985,7 @@
1953
1985
  :datasourceConfig=${e=>e.params.datasourceOptions}
1954
1986
  ></multiselect-datasource>
1955
1987
  </${e}-multiselect>
1956
- `,rn=Xi.compose({baseName:"multiselect-editor",styles:en,template:an()});class tn extends Xi{}const on=tn.compose({baseName:"multiselect-editor",styles:en,template:an("zero")});class nn 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[_i]}}(0,Li.__decorate)([b.observable],nn.prototype,"params",void 0),(0,Li.__decorate)([b.observable],nn.prototype,"value",void 0),(0,Li.__decorate)([b.observable],nn.prototype,"actualWidth",void 0);const ln=b.css``,gn=(e="foundation")=>b.html`
1988
+ `,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`
1957
1989
  <${e}-combobox
1958
1990
  style="width: ${e=>e.actualWidth}px"
1959
1991
  ${(0,b.ref)("combobox")}
@@ -1970,11 +2002,11 @@
1970
2002
  :initialSelectedValue=${e=>e.params.value}
1971
2003
  ></options-datasource>
1972
2004
  </${e}-combobox>
1973
- `,sn=nn.compose({baseName:"select-editor",styles:ln,template:gn()});class dn extends nn{}const cn=dn.compose({baseName:"select-editor",styles:ln,template:gn("zero")});class pn 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[_i]}}(0,Li.__decorate)([b.observable],pn.prototype,"params",void 0),(0,Li.__decorate)([b.observable],pn.prototype,"value",void 0),(0,Li.__decorate)([b.observable],pn.prototype,"actualWidth",void 0);const un=b.css`
2005
+ `,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`
1974
2006
  :host {
1975
2007
  display: flex;
1976
2008
  }
1977
- `,hn=(e="foundation")=>b.html`
2009
+ `,vn=(e="foundation")=>b.html`
1978
2010
  <${e}-number-field
1979
2011
  ${(0,b.ref)("input")}
1980
2012
  withFormatting=${e=>e.params.withFormatting}
@@ -1986,11 +2018,11 @@
1986
2018
  hideStep
1987
2019
  style="width: ${e=>e.actualWidth}px"
1988
2020
  ></${e}-number-field>
1989
- `,mn=pn.compose({baseName:"number-editor",styles:un,template:hn()});class bn extends pn{}const vn=bn.compose({baseName:"number-editor",styles:un,template:hn("zero")});class fn 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[_i]}}(0,Li.__decorate)([b.observable],fn.prototype,"params",void 0),(0,Li.__decorate)([b.observable],fn.prototype,"value",void 0),(0,Li.__decorate)([b.observable],fn.prototype,"actualWidth",void 0);const wn=b.css`
2021
+ `,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`
1990
2022
  :host {
1991
2023
  display: flex;
1992
2024
  }
1993
- `,yn=(e="foundation")=>b.html`
2025
+ `,zn=(e="foundation")=>b.html`
1994
2026
  <${e}-text-field
1995
2027
  ${(0,b.ref)("input")}
1996
2028
  :value=${e=>void 0===e.value?"":e.value}
@@ -1999,16 +2031,16 @@
1999
2031
  style="width: ${e=>e.actualWidth}px"
2000
2032
  >
2001
2033
  </${e}-text-field>
2002
- `,xn=fn.compose({baseName:"string-editor",styles:wn,template:yn()});class kn extends fn{}const zn=kn.compose({baseName:"string-editor",styles:wn,template:yn("zero")});class Sn 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,Li.__decorate)([b.observable],Sn.prototype,"valueFormatted",void 0);const Cn=b.css`
2034
+ `,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 Fn=b.css`
2003
2035
  :host {
2004
2036
  display: flex;
2005
2037
  justify-content: space-between;
2006
2038
  align-items: center;
2007
2039
  }
2008
- `,$n=(e="foundation")=>b.html`
2040
+ `,On=(e="foundation")=>b.html`
2009
2041
  <span>${e=>e.valueFormatted}</span>
2010
2042
  <${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
2011
- `,An=Sn.compose({baseName:"editable-renderer",styles:Cn,template:$n()});class Fn extends Sn{}const On=Fn.compose({baseName:"editable-renderer",styles:Cn,template:$n("zero")});var Tn=r(59783);const Dn=(0,k.createLogger)("grid-pro");class Rn extends v.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Tn.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){Dn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,Li.__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,Li.__decorate)([b.observable],Rn.prototype,"params",void 0),(0,Li.__decorate)([b.observable],Rn.prototype,"pendingAction",void 0);const{create:Nn}=v.DesignToken,Ln=(Nn("action-height-multiplier").withDefault("0.6px"),b.css`
2043
+ `,Tn=An.compose({baseName:"editable-renderer",styles:Fn,template:On()});class Dn extends An{}const Rn=Dn.compose({baseName:"editable-renderer",styles:Fn,template:On("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`
2012
2044
  .action-container {
2013
2045
  align-items: center;
2014
2046
  display: flex;
@@ -2023,8 +2055,8 @@
2023
2055
  var(--action-height-multiplier)
2024
2056
  );
2025
2057
  }
2026
- `),Mn=Rn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2027
- ${Ln}
2058
+ `),En=Mn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2059
+ ${jn}
2028
2060
  `,template:b.html`
2029
2061
  <div class="action-container" part="action-container">
2030
2062
  <foundation-button
@@ -2034,8 +2066,8 @@
2034
2066
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
2035
2067
  appearance="${e=>e.params.appearance}"
2036
2068
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
2037
- </div>`});class In extends Rn{}const jn=In.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2038
- ${Ln}
2069
+ </div>`});class Pn extends Mn{}const Bn=Pn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2070
+ ${jn}
2039
2071
  `,template:b.html`
2040
2072
  <div class="action-container" part="action-container">
2041
2073
  <zero-button
@@ -2052,29 +2084,29 @@
2052
2084
  `:e.params.actionName}
2053
2085
  </zero-button>
2054
2086
  </div>
2055
- `});class En extends v.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,Li.__decorate)([b.observable],En.prototype,"params",void 0);const Pn=En.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2087
+ `});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`
2056
2088
  <foundation-actions-menu
2057
2089
  name="${e=>e.params.headerName}"
2058
2090
  :definition=${e=>e.params}
2059
2091
  ></foundation-actions-menu>
2060
- `});class Bn extends En{}const Gn=Bn.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2092
+ `});class Un extends Gn{}const Hn=Un.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2061
2093
  <zero-actions-menu
2062
2094
  name="${e=>e.params.headerName}"
2063
2095
  :definition=${e=>e.params}
2064
2096
  ></zero-actions-menu>
2065
- `});class _n 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:Tn.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:Tn.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[_i]}}(0,Li.__decorate)([b.observable],_n.prototype,"params",void 0),(0,Li.__decorate)([b.observable],_n.prototype,"selected",void 0);const Un=b.css`
2097
+ `});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`
2066
2098
  :host {
2067
2099
  align-center: center;
2068
2100
  display: flex;
2069
2101
  height: 100%;
2070
2102
  }
2071
- `,Hn=(e="foundation")=>{const a=`${e}-checkbox`;return b.html`
2103
+ `,Qn=(e="foundation")=>{const a=`${e}-checkbox`;return b.html`
2072
2104
  <${a}
2073
2105
  @change=${(e,a)=>e.changeHandler(a.event)}
2074
2106
  :checked=${e=>e.selected}
2075
2107
  ?disabled=${e=>!e.params.colDef.editable}
2076
2108
  ></${a}>
2077
- `},Vn=_n.compose({baseName:"boolean-renderer",styles:Un,template:Hn()});class Yn extends _n{}const Qn=Yn.compose({baseName:"boolean-renderer",styles:Un,template:Hn("zero")});var Wn=r(18471);const qn=(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 Jn 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?qn(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,Li.__decorate)([b.observable],Jn.prototype,"textValue",void 0),(0,Li.__decorate)([b.observable],Jn.prototype,"params",void 0);const Zn=b.css`
2109
+ `},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`
2078
2110
  :host {
2079
2111
  display: flex;
2080
2112
  width: 100%;
@@ -2084,15 +2116,15 @@
2084
2116
  .text-renderer {
2085
2117
  width: 100%;
2086
2118
  }
2087
- `,Kn=(e="foundation")=>{const a=`${e}-text-field`;return b.html`
2119
+ `,al=(e="foundation")=>{const a=`${e}-text-field`;return b.html`
2088
2120
  <${a}
2089
2121
  ${(0,b.ref)("textField")}
2090
2122
  type="text"
2091
2123
  class="text-renderer"
2092
- :value="${(0,Wn.Z)((e=>e.textValue))}"
2124
+ :value="${(0,Zn.Z)((e=>e.textValue))}"
2093
2125
  @change="${(e,a)=>e.textChanged(a.event)}"
2094
2126
  ></${a}>
2095
- `},Xn=Jn.compose({baseName:"grid-pro-text-renderer",styles:Zn,template:Kn()});class el extends Jn{}const al=Zn,rl=Kn,tl=el.compose({baseName:"grid-text-renderer",styles:al,template:rl()});const ol=class extends el{}.compose({baseName:"grid-text-renderer",styles:al,template:rl("zero")});class il 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=qn(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}getGui(){return this}destroy(){}refresh(e){return!0}}(0,Li.__decorate)([b.observable],il.prototype,"params",void 0),(0,Li.__decorate)([b.observable],il.prototype,"value",void 0);const nl=b.css`
2127
+ `},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`
2096
2128
  :host,
2097
2129
  .select-renderer,
2098
2130
  zero-option,
@@ -2101,7 +2133,7 @@
2101
2133
  max-width: var(--select-renderer-max-width);
2102
2134
  min-width: 100%;
2103
2135
  }
2104
- `,ll=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
2136
+ `,dl=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
2105
2137
  <${a}
2106
2138
  class="select-renderer"
2107
2139
  @change=${(e,a)=>e.selectionChanged(a.event)}
@@ -2117,15 +2149,15 @@
2117
2149
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
2118
2150
  `)}
2119
2151
  </${a}>
2120
- `},gl=il.compose({baseName:"select-renderer",styles:nl,template:ll()});const sl=class extends il{}.compose({baseName:"select-renderer",styles:nl,template:ll("zero")});var dl=r(89861),cl=r(86534);var pl=r(75951),ul=r(9770),hl=r(97025),ml=r(40001),bl=r.n(ml);const vl=b.html`
2152
+ `},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`
2121
2153
  <template>
2122
2154
  <slot ${(0,b.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2123
2155
  </template>
2124
- `;let fl=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,Li.__decorate)([b.observable],fl.prototype,"renderer",void 0),(0,Li.__decorate)([b.observable],fl.prototype,"rendererParams",void 0),(0,Li.__decorate)([b.observable],fl.prototype,"slottedRenderer",void 0),fl=(0,Li.__decorate)([(0,b.customElement)({name:"grid-pro-cell",template:vl})],fl);const wl=b.html`
2156
+ `;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`
2125
2157
  <template>
2126
2158
  <slot ${(0,b.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2127
2159
  </template>
2128
- `;let yl=class extends v.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(0,Li.__decorate)([b.observable],yl.prototype,"slottedAgCell",void 0),(0,Li.__decorate)([b.observable],yl.prototype,"definition",void 0),yl=(0,Li.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:wl})],yl);var xl=r(82940),kl=r(32449),zl=r(9162),Sl=r(5127),Cl=r(35991),$l=r(6852),Al=r(26714),Fl=r(2480),Ol=r(71452),Tl=r(99449),Dl=r(30526),Rl=r(61080),Nl=r(83123),Ll=r(22296),Ml=r(21607);function Il(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 jl(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function El({value:e}){return(0,Ml.D_)(e)}function Pl({value:e}){return(0,Ml.Lx)(e)}class Bl extends v.FoundationElement{constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=xl.WJ.MAX_ROWS_250,this.maxView=xl.WJ.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?xl.WJ.REQUEST_SERVER_ROW_ID:xl.WJ.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===xl.WJ.REQUEST_SERVER_ROW_ID||this.rowIdAttr===xl.WJ.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?xl.WJ.REQUEST_SERVER_ROW_ID:xl.WJ.DATASERVER_ROW_ID}get agGrid(){return this.parentElement}}var Gl;(0,Li.__decorate)([s.lj],Bl.prototype,"connect",void 0),(0,Li.__decorate)([b.observable],Bl.prototype,"deferredGridOptions",void 0),(0,Li.__decorate)([b.observable],Bl.prototype,"deferredColumnStates",void 0),(0,Li.__decorate)([b.observable],Bl.prototype,"rowDataMapper",void 0),(0,Li.__decorate)([b.attr],Bl.prototype,"criteria",void 0),(0,Li.__decorate)([b.attr],Bl.prototype,"fields",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],Bl.prototype,"isSnapshot",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"max-rows"})],Bl.prototype,"maxRows",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"max-view"})],Bl.prototype,"maxView",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],Bl.prototype,"movingView",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"order-by"})],Bl.prototype,"orderBy",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"resource-name"})],Bl.prototype,"resourceName",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean"})],Bl.prototype,"reverse",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"row-id"})],Bl.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(Gl||(Gl={}));class _l extends Bl{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 Nl.r.STRING:t.cellEditor=Gi.stringEditor;break;case Nl.r.NUMBER:t.cellEditor=Gi.numberEditor;break;case Nl.r.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=Gi.boolean,t.cellEditor=Gi.boolean);break;case Nl.r.DATE:t.valueFormatter=El,t.cellEditor=Gi.dateEditor;break;case Nl.r.DATETIME:t.valueFormatter=Pl,t.cellEditor=Gi.dateEditor,t.cellEditorParams={withTime:!0};break;case Nl.r.ENUM:e.enumOptions?(t.cellEditor=Gi.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):Ll.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:jl(e.type),filter:Il(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},Gl.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},Gl.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},Gl.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(Gl)){if(!this.rowDataMapper)return e;const r={};return a.includes(Gl.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(Gl.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(Gl.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class Ul{constructor(){this.rowData=new Map}}function Hl(e){switch(e){case Nl.r.DATE:case Nl.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 Vl=class extends(c(_l)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=xl.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 Al.X(new Map)}criteriaChanged(e,a){const r=e!==(0,kl.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=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}init(e,a){return(0,Li.__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 Dn.warn(e),void this.handleErrors({ERROR:e})}this.isRequestServer=r.TYPE===xl._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,Li.__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,Ol.T)(1),(0,Tl.b)(o),(0,Dl.b)((e=>Dn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else Dn.warn("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.dataLogoff(),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,this.update=new Al.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,Li.__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,Li.__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,Li.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Dn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.isSnapshot)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 Dn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Rl.K)((e=>(this.handleErrors(e.receivedMessage),Fl.E)))).subscribe((e=>{this.handleErrors(e),this.sourceRef=e.SOURCE_REF;const a=e.MESSAGE_TYPE;if(a&&a===zl.Cs.LOGOFF_ACK)this.dataSubWasLoggedOff=!0;else if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Sl.$)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Sl.$)(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 Dn.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,Li.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,Hl);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,kl.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,Li.__decorate)([Cl.g],Vl.prototype,"auth",void 0),(0,Li.__decorate)([$l.Yh],Vl.prototype,"datasource",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"polling-interval"})],Vl.prototype,"pollingInterval",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],Vl.prototype,"disablePolling",void 0),(0,Li.__decorate)([b.observable],Vl.prototype,"request",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],Vl.prototype,"restartOnReconnection",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],Vl.prototype,"keepColDefsOnClearRowData",void 0),Vl=(0,Li.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],Vl);let Yl=class extends Vl{};Yl=(0,Li.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],Yl);var Ql=r(66306),Wl=r(52078);function ql(e){switch(e){case Nl.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 Nl.r.DATE:case Nl.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 Nl.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 Jl extends Ul{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,Li.__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 Dn.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/"),Dn.debug("Available indexes:",a),Dn.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,Wl.q)(1)).subscribe((a=>{var r;const t=a.MESSAGE_TYPE;if(t&&(t===zl.Cs.LOGOFF_ACK||t===zl.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,Sl.$)(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,Li.__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,Li.__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=>Dn.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,Li.__decorate)([Cl.g],Jl.prototype,"auth",void 0),(0,Li.__decorate)([s.lj],Jl.prototype,"connect",void 0);let Zl=class extends(c(_l)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,kl.p)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,Li.__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,Li.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Dn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,Ql.C)(e);const a=(0,Ql.i)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r);const t=yield this.createDataserverStream();this.ssrmDatasource=new Jl({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});Dn.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));Dn.warn("Specified [orderBy] index is not valid and will not be used. See https://learn.genesis.global/docs/database/data-types/index-entities/ - Available indexes:",e)}return Dn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,Li.__awaiter)(this,void 0,void 0,(function*(){return this.connect.stream(this.resourceName,(e=>(0,Li.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===zl.Cs.QUERY_UPDATE&&e.ROW){const r=(0,Sl.$)(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=>Dn.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,Li.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,ql);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,Li.__decorate)([(0,b.attr)({mode:"boolean"})],Zl.prototype,"pagination",void 0),Zl=(0,Li.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],Zl);const Kl='\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+YnEKJNWojAGE6V6Ek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j0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Xl='\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/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm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xAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',eg={[Ni.alpine]:Kl,[Ni.alpineDark]:Kl,[Ni.balham]:Xl,[Ni.balhamDark]:Xl,[Ni.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uww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DTRwOxmqQkSDiU2nYslVDeiYiJ5Hy6isjNAuIMrBajAztCPqTpoGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/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'},ag=Kl,rg=b.css`
2160
+ `;let zl=class extends v.FoundationElement{constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}};(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),Fl=r(35991),Ol=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=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}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)([Fl.g],Wl.prototype,"auth",void 0),(0,ji.__decorate)([Ol.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)([Fl.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,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpR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IWiQNZwmbqYJINUTeTgODi30+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/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtGrcjBKQJJ/bgK00N1IOvjTXAhgXLh8BxyNDB37JRYL9LhiV1QrwwR50h0fNZo4upSKP1G3fY5KMN9MMe3sN4OhhLiIUWJ7xbpSRFM2wEx2lLKwiysi6oyClzCg99Ec8TxilXY4ea+YgngzqZGPlo74Ign50j7RGuKl8qDZ8x4lCYLQkLtAgHOb6bcEcrG9Rqe+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeT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v+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',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/RtjIFWUFny28Ky25Mrtu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oGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/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'},og=ag,ig=b.css`
2129
2161
  .ag-icon {
2130
2162
  font-family: var(--ag-icon-font-family);
2131
2163
  font-size: var(--ag-icon-size);
@@ -9302,7 +9334,7 @@
9302
9334
  input[class^='ag-'][type='range']:disabled {
9303
9335
  opacity: 0.5;
9304
9336
  }
9305
- `,tg=b.css`
9337
+ `,ng=b.css`
9306
9338
  .ag-dnd-ghost {
9307
9339
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9308
9340
  border: solid 1px;
@@ -9319,7 +9351,7 @@
9319
9351
  overflow: hidden;
9320
9352
  text-overflow: ellipsis;
9321
9353
  }
9322
- `,og=b.css`
9354
+ `,lg=b.css`
9323
9355
  .ag-theme-alpine,
9324
9356
  .ag-theme-alpine-dark {
9325
9357
  --ag-alpine-active-color: #2196f3;
@@ -9769,7 +9801,7 @@
9769
9801
  .ag-theme-alpine-dark {
9770
9802
  color-scheme: dark;
9771
9803
  }
9772
- `,ig=b.css`
9804
+ `,gg=b.css`
9773
9805
  .ag-theme-balham,
9774
9806
  .ag-theme-balham-dark {
9775
9807
  --ag-balham-active-color: #0091ea;
@@ -10039,7 +10071,7 @@
10039
10071
  .ag-theme-balham-dark {
10040
10072
  color-scheme: dark;
10041
10073
  }
10042
- `,ng=b.css`
10074
+ `,sg=b.css`
10043
10075
  .ag-theme-material {
10044
10076
  --ag-material-primary-color: #3f51b5;
10045
10077
  --ag-material-accent-color: #ff4081;
@@ -10304,14 +10336,14 @@
10304
10336
  .ag-theme-material .ag-picker-field-wrapper:focus {
10305
10337
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10306
10338
  }
10307
- `,lg=b.css`
10308
- ${rg}
10309
- ${tg}
10310
- ${og}
10339
+ `,dg=b.css`
10311
10340
  ${ig}
10312
10341
  ${ng}
10313
- `,gg=b.css`
10314
10342
  ${lg}
10343
+ ${gg}
10344
+ ${sg}
10345
+ `,cg=b.css`
10346
+ ${dg}
10315
10347
  :host {
10316
10348
  width: 100%;
10317
10349
  height: 100%;
@@ -10338,14 +10370,14 @@
10338
10370
  .ag-cell-inline-editing {
10339
10371
  height: inherit !important;
10340
10372
  }
10341
- `,sg=b.html`
10373
+ `,pg=b.html`
10342
10374
  <template>
10343
10375
  <span part="grid" class="${e=>e.classNames}">
10344
10376
  <slot name="grid" ${(0,b.ref)("gridSlot")}></slot>
10345
10377
  <slot></slot>
10346
10378
  </span>
10347
10379
  </template>
10348
- `;var dg=r(75527);class cg{getColumnState(e){return(0,Li.__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,Li.__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,Li.__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,Li.__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,Li.__decorate)([dg.z],cg.prototype,"session",void 0);const pg=v.DI.createInterface((e=>e.singleton(cg)));class ug{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 hg=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();function mg(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}Tn.O3h.registerModules([cl.jM,dl.I]);class bg extends(c(v.FoundationElement)){themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,ul.A)(Pi(a),a),this.insertFontFace(a)}getfilterModel(){return(0,Li.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,Li.__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=ag,this.columnComponentName="grid-pro-column",this.theme=Ni.alpine,this.rehydrationAttempted=!1,this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Tn.plv.ALL_PROPERTIES.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[hg(a)]=a,e)),{})}addEventListener(e,a,r){super.addEventListener(e,a,r),Tn.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&&Tn.plv.ALL_PROPERTIES.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(hg(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={[Gi.action]:Rn,[Gi.actionsMenu]:En,[Gi.boolean]:_n,[Gi.editable]:Sn,[Gi.selectEditor]:nn,[Gi.numberEditor]:pn,[Gi.multiselectEditor]:Xi,[Gi.dateEditor]:Qi,[Gi.stringEditor]:fn};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,Li.__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,Li.__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,Li.__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,Li.__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=bl()(this.saveColumnState.bind(this),400),r=bl()(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,Li.__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),Tn.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 Tn.rjZ(this.gridSlot,this.agGridOptions,r),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Dn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,Li.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=hl[this.headerCaseType];a?e.headerName=a(e.field):Dn.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[_i]===e.field)return{component:Gi.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=ug,e.tooltipValueGetter=a=>{const r=a.data[Ui];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[Ui])||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 mg(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return mg(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Tn.plv.ALL_PROPERTIES.map((e=>e.toLowerCase())),a=Tn.plv.ALL_PROPERTIES.map((e=>hg(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},Tn.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=eg[e]||this.gridFontFace;this.destroyFontFace();const r=(0,pl.L)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,Li.__decorate)([b.observable],bg.prototype,"columnApi",void 0),(0,Li.__decorate)([b.observable],bg.prototype,"gridApi",void 0),(0,Li.__decorate)([pg],bg.prototype,"statePersistence",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],bg.prototype,"autoCellRendererByType",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],bg.prototype,"onlyTemplateColDefs",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],bg.prototype,"gridAutosizingEnabled",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"add-index"})],bg.prototype,"addIndex",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],bg.prototype,"asyncAdd",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],bg.prototype,"asyncRemove",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],bg.prototype,"asyncUpdate",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],bg.prototype,"enableCellFlashing",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],bg.prototype,"enabledRowFlashing",void 0),(0,Li.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],bg.prototype,"enableRowFlashing",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],bg.prototype,"persistColumnStateKey",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],bg.prototype,"persistFilterModelKey",void 0),(0,Li.__decorate)([(0,b.attr)({attribute:"header-case-type"})],bg.prototype,"headerCaseType",void 0),(0,Li.__decorate)([b.observable],bg.prototype,"gridFontFace",void 0),(0,Li.__decorate)([b.attr],bg.prototype,"columnComponentName",void 0),(0,Li.__decorate)([b.observable],bg.prototype,"eventsAndCallbacks",void 0),(0,Li.__decorate)([b.attr],bg.prototype,"headerHeight",void 0),(0,Li.__decorate)([b.attr],bg.prototype,"rowHeight",void 0),(0,Li.__decorate)([b.attr],bg.prototype,"theme",void 0),(0,Li.__decorate)([b.observable],bg.prototype,"classNames",void 0),(0,Li.__decorate)([b.observable],bg.prototype,"agGrid",void 0),(0,Li.__decorate)([b.observable],bg.prototype,"gridSlot",void 0),(0,Li.__decorate)([b.observable],bg.prototype,"gridComponents",void 0),(0,Li.__decorate)([Vi],bg.prototype,"gridOptionsConfig",void 0);const vg=void 0,fg={shadowOptions:void 0},wg=bg.compose(Object.assign({baseName:"grid-pro",styles:gg,template:sg,shadowOptions:vg},fg)),yg={foregroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#2b2e34"))},xg={foregroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#2196f3"))},{create:kg}=v.DesignToken,zg={backgroundColor:kg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?xg.backgroundSwatch:yg.backgroundSwatch)),borderColor:kg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?xg.borderSwatch:yg.borderSwatch)),foregroundColor:kg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?xg.foregroundSwatch:yg.foregroundSwatch)),headerForegroundColor:kg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?xg.headerForegroundSwatch:yg.headerForegroundSwatch)),rowHoverColor:kg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?xg.rowHoverSwatch:yg.rowHoverSwatch))},Sg=b.css`
10380
+ `;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`
10349
10381
  .ag-theme-genesis-rapid,
10350
10382
  .ag-theme-genesis-rapid-dark {
10351
10383
  --ag-alpine-active-color: #2196f3;
@@ -10805,56 +10837,56 @@
10805
10837
  .ag-theme-genesis-rapid-dark {
10806
10838
  color-scheme: dark;
10807
10839
  }
10808
- `,Cg={[Ri.backgroundColor]:zg.backgroundColor,[Ri.foregroundColor]:zg.foregroundColor,[Ri.oddRowBackgroundColor]:zg.backgroundColor,[Ri.headerBackgroundColor]:zg.backgroundColor,[Ri.headerForegroundColor]:zg.headerForegroundColor,[Ri.selectedRowBackgroundColor]:zg.rowHoverColor,[Ri.rowHoverColor]:zg.rowHoverColor,[Ri.borderColor]:zg.borderColor,[Ri.rowBorderColor]:zg.rowHoverColor,[Ri.modalOverlayBackgroundColor]:zg.backgroundColor,[Ri.inputFocusBoxShadow]:zg.headerForegroundColor,[Ri.inputFocusBorderColor]:zg.headerForegroundColor,[Ri.headerColumnResizeHandleColor]:zg.headerForegroundColor},$g="ag-theme-genesis-rapid",Ag=b.css`
10809
- ${Sg}
10810
- ${Bi($g,Cg)}
10840
+ `,Fg={[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},Og="ag-theme-genesis-rapid",Tg=b.css`
10841
+ ${Ag}
10842
+ ${Ui(Og,Fg)}
10811
10843
 
10812
- .${$g} {
10813
- ${He()}
10844
+ .${Og} {
10845
+ ${Qe()}
10814
10846
  }
10815
10847
 
10816
- .${$g} .ag-header {
10848
+ .${Og} .ag-header {
10817
10849
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10818
10850
  font-weight: bold;
10819
10851
  }
10820
10852
 
10821
- .${$g} .ag-root-wrapper {
10853
+ .${Og} .ag-root-wrapper {
10822
10854
  border-radius: calc(var(--control-corner-radius) * 1px);
10823
10855
  }
10824
- `,Fg="ag-theme-genesis-rapid-dark",Og=b.css`
10825
- ${Sg}
10826
- ${Bi(Fg,Cg)}
10856
+ `,Dg="ag-theme-genesis-rapid-dark",Rg=b.css`
10857
+ ${Ag}
10858
+ ${Ui(Dg,Fg)}
10827
10859
 
10828
- .${Fg} {
10829
- ${He()}
10860
+ .${Dg} {
10861
+ ${Qe()}
10830
10862
  }
10831
10863
 
10832
- .${Fg} .ag-header {
10864
+ .${Dg} .ag-header {
10833
10865
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10834
10866
  font-weight: bold;
10835
10867
  }
10836
10868
 
10837
- .${Fg} .ag-cell {
10869
+ .${Dg} .ag-cell {
10838
10870
  line-height: var(--ag-line-height, 32px);
10839
10871
  }
10840
10872
 
10841
- .${Fg} .ag-root-wrapper {
10873
+ .${Dg} .ag-root-wrapper {
10842
10874
  border-radius: calc(var(--control-corner-radius) * 1px);
10843
10875
  }
10844
- `,Tg=b.css`
10876
+ `,Ng=b.css`
10845
10877
  /* All the AG themes */
10846
- ${gg}
10878
+ ${cg}
10847
10879
 
10848
10880
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
10849
- ${Ag}
10850
- ${Og}
10881
+ ${Tg}
10882
+ ${Rg}
10851
10883
 
10852
10884
  .error {
10853
- border-color: ${ze.shortPink} !important;
10885
+ border-color: ${$e.shortPink} !important;
10854
10886
  }
10855
- `,Dg=sg,Rg="ag-theme-genesis-rapid-dark";const Ng=fg,Lg={zeroAgEditableRenderer:On,zeroAgActionRenderer:jn,zeroAgActionsMenuRenderer:Gn,zeroAgBooleanRenderer:Qn,zeroAgTextRenderer:ol,zeroAgSelectRenderer:sl,zeroAgDateEditor:Ki,zeroAgMultiselectEditor:on,zeroAgSelectEditor:cn,zeroAgNumberEditor:vn,zeroAgStringEditor:zn,zeroGridPro:class extends bg{constructor(){super(...arguments),this.theme=Rg}themeChanged(e,a){(e||a===Rg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Gi.action]:In,[Gi.actionsMenu]:Bn,[Gi.boolean]:Yn,[Gi.editable]:Fn,[Gi.selectEditor]:dn,[Gi.numberEditor]:bn,[Gi.multiselectEditor]:tn,[Gi.dateEditor]:Zi,[Gi.stringEditor]:kn};(this.theme===$g||this.theme===Fg)&&(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:Dg,styles:Tg,shadowOptions:undefined},Ng)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},Mg={foundationGridProActionRenderer:Mn,foundationGridProActionsMenuRenderer:Pn,foundationAgBooleanRenderer:Vn,foundationAgTextRenderer:tl,foundationAgTextFieldRenderer:Xn,foundationAgEditableRenderer:An,foundationAgSelectRenderer:gl,foundationGridPro:wg,foundationSelectEditor:sn,foundationNumberEditor:mn,foundationDateEditor:Ji,foundationMultiselectEditor:rn,foundationStringEditor:xn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ig;!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"}(Ig||(Ig={}));const{create:jg}=v.DesignToken,Eg=(0,Se.parseColorHexRGB)(Ig.error),Pg=f.SwatchRGB.create(Eg.r,Eg.g,Eg.b),Bg=jg("error-color").withDefault(Pg),Gg=(0,Se.parseColorHexRGB)(Ig.success),_g=f.SwatchRGB.create(Gg.r,Gg.g,Gg.b),Ug=jg("success-color").withDefault(_g),Hg=(0,Se.parseColorHexRGB)(Ig.warning),Vg=f.SwatchRGB.create(Hg.r,Hg.g,Hg.b),Yg=jg("warning-color").withDefault(Vg),Qg=(0,Se.parseColorHexRGB)(Ig.buy),Wg=f.SwatchRGB.create(Qg.r,Qg.g,Qg.b),qg=jg("buy-color").withDefault(Wg),Jg=(0,Se.parseColorHexRGB)(Ig.sell),Zg=f.SwatchRGB.create(Jg.r,Jg.g,Jg.b),Kg=jg("sell-color").withDefault(Zg),Xg=(0,H.paletteFromHex)(Ig.primary),es=(0,H.paletteFromHex)(Ig.neutral),as=f.StandardLuminance.DarkMode,rs=0,ts=4,os=-5,is=0,ns=0,ls=6,gs=-4,ss=0,ds=7,cs=10,ps=5,us=0,hs=0,ms=0,bs=0,vs=0,fs=0,ws=5,ys=3,xs=0,ks=0,zs=8,Ss=-5,Cs=0,$s=3,As=25,Fs=40,Os=16,Ts=25,Ds=8,Rs="rapid",Ns=Me.N.ltr,Ls=.3,Ms=1,Is=2,js=10,Es=4,Ps=0,Bs=4,Gs='"Segoe UI", Arial, Helvetica, sans-serif',_s="14px",Us="20px",Hs="13px",Vs="19px",Ys="12px",Qs="18px",Ws="15px",qs="21px",Js="16px",Zs="22px",Ks="17px",Xs="23px",ed="18x",ad="24px",rd="19px",td="25px",od="20px",id="26px",nd={design_tokens:{color:{accent:{$value:Xg.source.toColorString(),$type:"color"},neutral:{$value:es.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:Gs,$type:"fontFamily"}},typography:{baseFontSize:{$value:_s,$type:"dimension"},baseLineHeight:{$value:Us,$type:"dimension"}},mode:{luminance:{$value:as,$type:"number"}},style:{density:{$value:Ps,$type:"number"},borderRadius:{$value:Es,$type:"number"},strokeWidth:{$value:Ms,$type:"number"}},space:{designUnit:{$value:Bs,$type:"number"}}}};class ld extends f.DesignSystemProvider{constructor(){super(),(0,H.provideTokens)(i,n,this)}}const gd=ld.compose({baseName:"design-system-provider",template:b.html`
10887
+ `,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===Og||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,Fs=0,Os=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`
10856
10888
  <slot></slot>
10857
- `});class sd extends H.Accordion{}const dd=sd.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,H.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
10889
+ `});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`
10858
10890
  ${(0,H.foundationAccordionStyles)(e,a)}
10859
10891
 
10860
10892
  :host {
@@ -10865,7 +10897,7 @@
10865
10897
  .heading {
10866
10898
  height: calc(var(--base-height-multiplier) * 4px);
10867
10899
  }
10868
- `,shadowOptions:H.foundationAccordionShadowOptions},H.defaultAccordionConfig));class cd extends H.AccordionItem{}const pd=cd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,H.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
10900
+ `,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`
10869
10901
  ${(0,H.foundationAccordionItemStyles)(e,a)}
10870
10902
 
10871
10903
  :host {
@@ -10928,7 +10960,7 @@
10928
10960
  grid-template-columns: auto 1fr auto;
10929
10961
  align-items: center;
10930
10962
  }
10931
- `,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class ud extends H.ActionsMenu{}const hd=ud.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
10963
+ `,shadowOptions:H.foundationAccordionItemShadowOptions},H.defaultAccordionItemConfig));class bd extends H.ActionsMenu{}const vd=bd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
10932
10964
  :host {
10933
10965
  --actions-opener-height-multiplier: 0.6px;
10934
10966
  --menu-item-height-multiplier: 0.5px;
@@ -10966,7 +10998,7 @@
10966
10998
  .actions-vertical .menu-item:focus {
10967
10999
  border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
10968
11000
  }
10969
- `,template:H.foundationActionsMenuTemplate});function md(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const bd=b.css`
11001
+ `,template:H.foundationActionsMenuTemplate});function fd(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const wd=b.css`
10970
11002
  :host([appearance='primary']) {
10971
11003
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
10972
11004
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -10989,7 +11021,7 @@
10989
11021
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
10990
11022
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
10991
11023
  }
10992
- `,vd=b.css`
11024
+ `,yd=b.css`
10993
11025
  :host([appearance='primary-outline']) {
10994
11026
  background: none;
10995
11027
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -11007,7 +11039,7 @@
11007
11039
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11008
11040
  opacity: 100%;
11009
11041
  }
11010
- `,fd=b.css`
11042
+ `,xd=b.css`
11011
11043
  :host([appearance='neutral-outline']) {
11012
11044
  background: none;
11013
11045
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
@@ -11025,7 +11057,7 @@
11025
11057
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11026
11058
  opacity: 100%;
11027
11059
  }
11028
- `,wd=b.css`
11060
+ `,kd=b.css`
11029
11061
  :host([appearance='link']) {
11030
11062
  background: none;
11031
11063
  border: none;
@@ -11048,7 +11080,7 @@
11048
11080
  color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
11049
11081
  opacity: 100%;
11050
11082
  }
11051
- `,yd=(e,a)=>b.css`
11083
+ `,zd=(e,a)=>b.css`
11052
11084
  ${(0,H.foundationButtonStyles)(e,a)}
11053
11085
  ${b.css`
11054
11086
  :host {
@@ -11102,14 +11134,14 @@
11102
11134
  opacity: 100%;
11103
11135
  }
11104
11136
  `}
11105
- `.withBehaviors(md("primary",bd),md("primary-outline",vd),md("neutral-outline",fd),md("link",wd));class xd extends H.Anchor{}const kd=xd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,H.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
11137
+ `.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`
11106
11138
  ${(0,H.foundationAnchorStyles)(e,a)}
11107
- ${yd(e,a)}
11108
- `.withBehaviors(...yd(e,a).behaviors),shadowOptions:H.foundationAnchorShadowOptions},H.defaultAnchorConfig));class zd extends H.AnchoredRegion{}const Sd=zd.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,H.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
11139
+ ${zd(e,a)}
11140
+ `.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`
11109
11141
  ${(0,H.foundationAnchoredRegionStyles)(e,a)}
11110
- `,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Cd extends H.Avatar{}const $d=Cd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
11142
+ `,shadowOptions:H.foundationAnchoredRegionShadowOptions},H.defaultAnchoredRegionConfig));class Fd extends H.Avatar{}const Od=Fd.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,H.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
11111
11143
  ${(0,H.foundationAvatarStyles)(e,a)}
11112
- `,shadowOptions:H.foundationAvatarShadowOptions},H.defaultAvatarConfig));class Ad extends H.Badge{}const Fd=Ad.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,H.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
11144
+ `,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`
11113
11145
  ${(0,H.foundationBadgeStyles)(e,a)}
11114
11146
  :host {
11115
11147
  --badge-fill-primary: var(--accent-fill-rest);
@@ -11129,7 +11161,7 @@
11129
11161
  padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
11130
11162
  border: none;
11131
11163
  }
11132
- `,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),Od=b.css`
11164
+ `,shadowOptions:H.foundationBadgeShadowOptions},H.defaultBadgeConfig)),Rd=b.css`
11133
11165
  ${H.foundationBannerStyles}
11134
11166
  :host {
11135
11167
  --banner-height: calc(
@@ -11149,9 +11181,9 @@
11149
11181
  font-family: var(--body-font);
11150
11182
  line-height: var(--type-ramp-base-line-height);
11151
11183
  }
11152
- `,Td=H.foundationBannerShadowOptions;class Dd extends H.Banner{}const Rd=Dd.compose({baseName:"banner",shadowOptions:Td,styles:Od,template:H.foundationBannerTemplate});class Nd extends H.Breadcrumb{}const Ld=Nd.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,H.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
11184
+ `,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`
11153
11185
  ${(0,H.foundationBreadcrumbStyles)(e,a)}
11154
- `,shadowOptions:undefined},{}));class Md extends H.BreadcrumbItem{}const Id=Md.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,H.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
11186
+ `,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`
11155
11187
  ${(0,H.foundationBreadcrumbItemStyles)(e,a)}
11156
11188
  .listitem {
11157
11189
  color: var(--accent-foreground-rest);
@@ -11187,9 +11219,9 @@
11187
11219
  .control:hover .start {
11188
11220
  background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
11189
11221
  }
11190
- `,shadowOptions:H.foundationBreadcrumbItemShadowOptions},H.defaultBreadcrumbItemConfig));class jd extends H.Button{}const Ed=jd.compose(Object.assign({baseName:"button",template:(e,a)=>(0,H.foundationButtonTemplate)(e,a),styles:yd,shadowOptions:H.foundationButtonShadowOptions},H.defaultButtonConfig));class Pd extends H.Calendar{}const Bd=Pd.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,H.foundationCalendarTemplate)(e,a),styles:()=>b.css`
11222
+ `,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`
11191
11223
  ${(0,H.foundationCalendarStyles)()}
11192
- `,shadowOptions:H.foundationCalendarShadowOptions},H.defaultCalendarConfig));class Gd extends H.Card{}const _d=Gd.compose(Object.assign({baseName:"card",template:(e,a)=>(0,H.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
11224
+ `,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`
11193
11225
  ${(0,H.foundationCardStyles)(e,a)}
11194
11226
  :host {
11195
11227
  background: var(--neutral-layer-card-container);
@@ -11203,7 +11235,7 @@
11203
11235
  ::slotted(rapid-card) {
11204
11236
  background: var(--neutral-layer-3);
11205
11237
  }
11206
- `,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),Ud=b.css`
11238
+ `,shadowOptions:H.foundationCardShadowOptions},H.defaultCardConfig)),Yd=b.css`
11207
11239
  ${H.categorizedMultiselectStyles}
11208
11240
 
11209
11241
  .label {
@@ -11217,9 +11249,9 @@
11217
11249
  rapid-checkbox:hover:not([disabled]) {
11218
11250
  background: var(--neutral-layer-4);
11219
11251
  }
11220
- `,Hd=b.html`
11252
+ `,Qd=b.html`
11221
11253
  ${(0,H.getPrefixedCategorizedMultiselect)("rapid")}
11222
- `;class Vd extends H.CategorizedMultiselect{}const Yd=H.defaultCategorizedMultiselectConfig,Qd=H.foundationCategorizedMultiselectShadowOptions,Wd=Vd.compose(Object.assign({baseName:"categorized-multiselect",template:Hd,styles:Ud,shadowOptions:Qd},Yd));class qd extends H.Checkbox{}const Jd=qd.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,H.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
11254
+ `;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`
11223
11255
  ${(0,H.foundationCheckboxStyles)(e,a)}
11224
11256
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11225
11257
  fill: var(--neutral-foreground-rest);
@@ -11234,7 +11266,7 @@
11234
11266
  .label {
11235
11267
  padding-inline-start: calc(var(--design-unit) * 2px);
11236
11268
  }
11237
- `,shadowOptions:H.foundationCheckboxShadowOptions},H.defaultCheckboxConfig));class Zd extends H.Combobox{}const Kd=Zd.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,H.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
11269
+ `,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`
11238
11270
  ${(0,H.foundationComboboxStyles)(e,a)}
11239
11271
  :host {
11240
11272
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11307,7 +11339,7 @@
11307
11339
  ::slotted([role='option']) {
11308
11340
  margin: 0;
11309
11341
  }
11310
- `,shadowOptions:H.foundationComboboxShadowOptions},H.defaultComboboxConfig));class Xd extends H.ConnectionIndicator{}const ec=Xd.compose({baseName:"connection-indicator",template:H.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
11342
+ `,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`
11311
11343
  ${(0,H.foundationConnectionIndicatorStyles)(e,a)}
11312
11344
  :host {
11313
11345
  --light-size: calc(var(--design-unit) * 3px);
@@ -11330,9 +11362,9 @@
11330
11362
  font-size: var(--type-ramp-base-font-size);
11331
11363
  color: var(--neutral-stroke-rest);
11332
11364
  }
11333
- `}),ac=["baseClass","baseName","shadowOptions","styles","template"],rc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=ac)=>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:tc,shadowOptions:oc,styles:ic,template:nc}=rc(H.foundationDataGrid),{defaultConfig:lc,shadowOptions:gc,styles:sc,template:dc}=rc(H.foundationDataGridCell),{defaultConfig:cc,shadowOptions:pc,styles:uc,template:hc}=rc(H.foundationDataGridRow),mc=b.html`
11365
+ `}),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`
11334
11366
  ${(0,H.getPrefixedDatePicker)("rapid")}
11335
- `;class bc extends H.DatePicker{}const vc=bc.compose(Object.assign({baseName:"date-picker",template:mc,styles:()=>b.css`
11367
+ `;class wc extends H.DatePicker{}const yc=wc.compose(Object.assign({baseName:"date-picker",template:fc,styles:()=>b.css`
11336
11368
  ${H.foundationDatePickerStyles}
11337
11369
 
11338
11370
  :host {
@@ -11415,7 +11447,7 @@
11415
11447
  .week-days span {
11416
11448
  font-size: var(--type-ramp-minus-2-font-size);
11417
11449
  }
11418
- `,shadowOptions:undefined},{})),fc=b.css`
11450
+ `,shadowOptions:undefined},{})),xc=b.css`
11419
11451
  ${H.foundationDialogStyles}
11420
11452
  :host {
11421
11453
  --dialog-background: ${f.neutralLayer2};
@@ -11492,7 +11524,7 @@
11492
11524
  .close-icon:active svg g path {
11493
11525
  fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
11494
11526
  }
11495
- `,wc=H.defaultDialogConfig,yc=H.foundationDialogTemplate,xc=H.foundationDialogShadowOptions;class kc extends H.Dialog{}const zc=kc.compose(Object.assign({baseName:"dialog",shadowOptions:xc,styles:fc,template:yc},wc));class Sc extends H.Disclosure{}const Cc=Sc.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
11527
+ `,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 Fc=Ac.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,H.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
11496
11528
  ${(0,H.foundationDisclosureStyles)(e,a)}
11497
11529
  :host {
11498
11530
  font-size: var(--type-ramp-base-font-size);
@@ -11509,9 +11541,9 @@
11509
11541
  padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
11510
11542
  text-align: center;
11511
11543
  }
11512
- `,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class $c extends H.Divider{}const Ac=$c.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
11544
+ `,shadowOptions:H.foundationDialogShadowOptions},H.defaultDisclosureConfig));class Oc extends H.Divider{}const Tc=Oc.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,H.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
11513
11545
  ${(0,H.foundationDividerStyles)(e,a)}
11514
- `,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class Fc extends H.DropdownMenu{}const Oc=Fc.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
11546
+ `,shadowOptions:H.foundationDividerShadowOptions},H.defaultDividerConfig));class Dc extends H.DropdownMenu{}const Rc=Dc.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
11515
11547
  ${(0,H.dropdownMenuBaseStyles)("rapid",e,a)}
11516
11548
 
11517
11549
  .actions-menu {
@@ -11526,7 +11558,7 @@
11526
11558
  border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
11527
11559
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
11528
11560
  }
11529
- `,template:H.foundationDropdownMenuTemplate}),{defaultConfig:Tc,shadowOptions:Dc,styles:Rc,template:Nc}=rc(H.foundationErrorBoundary),Lc=b.css`
11561
+ `,template:H.foundationDropdownMenuTemplate}),{defaultConfig:Nc,shadowOptions:Lc,styles:Mc,template:Ic}=ic(H.foundationErrorBoundary),jc=b.css`
11530
11562
  ${H.foundationFileUploadStyles}
11531
11563
  ::-webkit-scrollbar {
11532
11564
  width: calc(var(--design-unit) * 3px);
@@ -11548,11 +11580,11 @@
11548
11580
  :host::part(upload-file-button) {
11549
11581
  margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
11550
11582
  }
11551
- `,Mc=b.html`
11583
+ `,Ec=b.html`
11552
11584
  ${(0,H.getPrefixedFileUpload)("rapid")}
11553
- `,Ic=H.defaultFileUploadConfig,jc=H.foundationFileUploadShadowOptions;class Ec extends H.FileUpload{}const Pc=Ec.compose(Object.assign({baseName:"file-upload",shadowOptions:jc,styles:Lc,template:Mc},Ic)),Bc=b.html`
11585
+ `,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`
11554
11586
  ${(0,H.getPrefixedFilterTemplate)("rapid")}
11555
- `;class Gc extends H.Filter{}const _c=Gc.compose({baseName:"filter",template:Bc,styles:(e,a)=>b.css`
11587
+ `;class Hc extends H.Filter{}const Vc=Hc.compose({baseName:"filter",template:Uc,styles:(e,a)=>b.css`
11556
11588
  ${H.foundationFilterStyles}
11557
11589
  .filter-wrapper {
11558
11590
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11579,9 +11611,9 @@
11579
11611
  .flex-row rapid-select {
11580
11612
  flex: 1;
11581
11613
  }
11582
- `}),Uc=b.html`
11614
+ `}),Yc=b.html`
11583
11615
  ${(0,H.filterBarTemplate)("rapid")}
11584
- `;class Hc extends H.FilterBar{}const Vc=Hc.compose({baseName:"filter-bar",template:Uc,styles:(e,a)=>b.css`
11616
+ `;class Qc extends H.FilterBar{}const Wc=Qc.compose({baseName:"filter-bar",template:Yc,styles:(e,a)=>b.css`
11585
11617
  ${(0,H.foundationFilterBarStyles)(e,a)}
11586
11618
  .toggle,
11587
11619
  .toggle-collapsed {
@@ -11601,7 +11633,7 @@
11601
11633
  .filter-bar {
11602
11634
  background: var(--neutral-layer-3);
11603
11635
  }
11604
- `}),{defaultConfig:Yc,shadowOptions:Qc,styles:Wc,template:qc}=rc(H.foundationFlexLayout);class Jc extends H.Flipper{}const Zc=Jc.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,H.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
11636
+ `}),{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`
11605
11637
  ${(0,H.foundationFlipperStyles)(e,a)}
11606
11638
  :host {
11607
11639
  color: var(--neutral-foreground-rest);
@@ -11621,7 +11653,7 @@
11621
11653
  background: var(--accent-fill-rest);
11622
11654
  color: var(--neutral-foreground-rest);
11623
11655
  }
11624
- `,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),Kc=b.css`
11656
+ `,shadowOptions:H.foundationFlipperShadowOptions},H.defaultFlipperConfig)),ap=b.css`
11625
11657
  ${H.foundationFlyoutStyles}
11626
11658
  div.flyout {
11627
11659
  background-color: var(--neutral-layer-2);
@@ -11669,9 +11701,9 @@
11669
11701
  background-color: var(--neutral-fill-hover);
11670
11702
  border-radius: calc(var(--stroke-width) * 3px);
11671
11703
  }
11672
- `,Xc=b.html`
11704
+ `,rp=b.html`
11673
11705
  ${(0,H.getPrefixedFlyout)("rapid")}
11674
- `,ep=H.defaultFlyoutConfig,ap=H.foundationFlyoutShadowOptions;class rp extends H.Flyout{}const tp=rp.compose(Object.assign({baseName:"flyout",shadowOptions:ap,styles:Kc,template:Xc},ep)),{defaultConfig:op,shadowOptions:ip,styles:np,template:lp}=rc(H.foundationGridLayout),{defaultConfig:gp,shadowOptions:sp,styles:dp,template:cp}=rc(H.foundationGridLayoutItem);class pp extends H.HorizontalScroll{}const up={nextFlipper:b.html`
11706
+ `,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`
11675
11707
  <rapid-flipper
11676
11708
  @click="${e=>e.scrollToNext()}"
11677
11709
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -11682,11 +11714,11 @@
11682
11714
  direction="previous"
11683
11715
  aria-hidden="${e=>e.flippersHiddenFromAT}"
11684
11716
  ></rapid-flipper>
11685
- `},hp=pp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
11717
+ `},vp=mp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,H.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
11686
11718
  ${(0,H.foundationHorizontalScrollStyles)(e,a)}
11687
- `,shadowOptions:H.foundationHorizontalScrollShadowOptions},up));class mp extends H.Icon{}const bp=H.defaultIconConfig,vp=H.foundationIconShadowOptions,fp=mp.compose(Object.assign({baseName:"icon",template:H.foundationIconTemplate,styles:(e,a)=>b.css`
11719
+ `,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`
11688
11720
  ${(0,H.foundationIconStyles)(e,a)}
11689
- `,shadowOptions:vp},bp));class wp extends H.Listbox{}const yp=wp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,H.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
11721
+ `,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`
11690
11722
  ${(0,H.foundationListboxStyles)(e,a)}
11691
11723
 
11692
11724
  :host {
@@ -11697,7 +11729,7 @@
11697
11729
  ::slotted(*:last-child) {
11698
11730
  border-bottom: none;
11699
11731
  }
11700
- `,shadowOptions:H.foundationListboxShadowOptions},H.defaultListboxConfig));class xp extends H.ListboxOption{}const kp=xp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,H.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
11732
+ `,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`
11701
11733
  ${(0,H.foundationListboxOptionStyles)(e,a)}
11702
11734
  :host {
11703
11735
  border-radius: 0;
@@ -11714,14 +11746,14 @@
11714
11746
  background: var(--neutral-layer-4);
11715
11747
  color: var(--accent-fill-rest);
11716
11748
  }
11717
- `,shadowOptions:H.foundationListboxOptionShadowOptions},H.defaultListboxOptionConfig));class zp extends H.Menu{}const Sp=zp.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,H.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
11749
+ `,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`
11718
11750
  ${(0,H.foundationMenuStyles)(e,a)}
11719
11751
  :host {
11720
11752
  border: calc(var(--focus-stroke-width) * 1px) solid
11721
11753
  color-mix(in srgb, ${f.neutralFillStealthHover}, transparent 15%);
11722
11754
  padding: 0;
11723
11755
  }
11724
- `,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),Cp=H.foundationMenuItemShadowOptions;class $p extends H.MenuItem{}const Ap=$p.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,H.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
11756
+ `,shadowOptions:H.foundationMenuShadowOptions},H.defaultMenuConfig)),Fp=H.foundationMenuItemShadowOptions;class Op extends H.MenuItem{}const Tp=Op.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,H.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
11725
11757
  ${(0,H.foundationMenuItemStyles)(e,a)}
11726
11758
  :host {
11727
11759
  margin: 0;
@@ -11757,9 +11789,9 @@
11757
11789
  background: ${f.neutralFillStealthHover}
11758
11790
  color: ${f.neutralForegroundRest}
11759
11791
  */
11760
- `,shadowOptions:Cp},H.defaultMenuItemConfig)),Fp=b.css`
11761
- ${fc}
11762
- `,Op=H.defaultModalConfig,Tp=H.foundationModalTemplate,Dp=H.foundationModalShadowOptions;class Rp extends H.Modal{}const Np=Rp.compose(Object.assign({baseName:"modal",shadowOptions:Dp,styles:Fp,template:Tp},Op)),Lp=b.css`
11792
+ `,shadowOptions:Fp},H.defaultMenuItemConfig)),Dp=b.css`
11793
+ ${xc}
11794
+ `,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`
11763
11795
  ${H.multiselectStyles}
11764
11796
 
11765
11797
  #display-field {
@@ -11835,9 +11867,9 @@
11835
11867
  rapid-checkbox[disabled] {
11836
11868
  cursor: not-allowed;
11837
11869
  }
11838
- `,Mp=b.html`
11870
+ `,Ep=b.html`
11839
11871
  ${(0,H.getPrefixedMultiselect)("rapid")}
11840
- `;class Ip extends H.Multiselect{}const jp=H.defaultMultiselectConfig,Ep=H.foundationMultiselectShadowOptions,Pp=Ip.compose(Object.assign({baseName:"multiselect",template:Mp,styles:Lp,shadowOptions:Ep},jp));class Bp extends H.NumberField{}const Gp=H.defaultNumberFieldConfig,_p=H.foundationNumberFieldTemplate,Up=H.foundationNumberFieldShadowOptions,Hp=Bp.compose(Object.assign({baseName:"number-field",template:_p,styles:(e,a)=>b.css`
11872
+ `;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`
11841
11873
  :host {
11842
11874
  margin-bottom: calc(var(--design-unit) * 2px);
11843
11875
  }
@@ -11922,11 +11954,11 @@
11922
11954
  .control:focus-visible {
11923
11955
  outline: none;
11924
11956
  }
11925
- `,shadowOptions:Up},Gp));class Vp extends H.Progress{}const Yp=Vp.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,H.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
11957
+ `,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`
11926
11958
  ${(0,H.foundationProgressStyles)(e,a)}
11927
- `,shadowOptions:H.foundationProgressShadowOptions},H.defaultProgressConfig));class Qp extends H.ProgressRing{}const Wp=Qp.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,H.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
11959
+ `,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`
11928
11960
  ${(0,H.foundationProgressRingStyles)(e,a)}
11929
- `,shadowOptions:H.foundationProgressRingShadowOptions},H.defaultProgressRingConfig));class qp extends H.Radio{}const Jp=qp.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,H.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
11961
+ `,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`
11930
11962
  ${(0,H.foundationRadioStyles)(e,a)}
11931
11963
  :host {
11932
11964
  margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
@@ -11958,13 +11990,13 @@
11958
11990
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11959
11991
  background: var(--accent-fill-rest);
11960
11992
  }
11961
- `,shadowOptions:H.foundationRadioShadowOptions},H.defaultRadioConfig));class Zp extends H.RadioGroup{}const Kp=Zp.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,H.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
11993
+ `,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`
11962
11994
  ${(0,H.foundationRadioGroupStyles)(e,a)}
11963
- `,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),Xp=b.css`
11995
+ `,shadowOptions:H.foundationRadioGroupShadowOptions},H.defaultRadioGroupConfig)),ru=b.css`
11964
11996
  ${H.foundationSearchBarStyles}
11965
- `,eu=b.html`
11997
+ `,tu=b.html`
11966
11998
  ${(0,H.getPrefixedSearchBar)("rapid")}
11967
- `;class au extends H.SearchBar{}const ru=au.compose(Object.assign({baseName:"search-bar",template:eu,styles:Xp,shadowOptions:H.foundationSearchBarShadowOptions},H.defaultSearchBarConfig));class tu extends H.SearchBarCombobox{}const ou=tu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,H.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
11999
+ `;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`
11968
12000
  ${(0,H.foundationSearchBarComboboxStyles)(e,a)}
11969
12001
 
11970
12002
  :host {
@@ -11995,7 +12027,7 @@
11995
12027
  :host .listbox ::slotted(*:last-child) {
11996
12028
  border-bottom: none;
11997
12029
  }
11998
- `,shadowOptions:H.foundationSearchBarComboboxShadowOptions},H.defaultSearchBarComboboxConfig));class iu extends H.SegmentedControl{}const nu=iu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,H.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
12030
+ `,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`
11999
12031
  ${(0,H.foundationSegmentedControlStyles)(e,a)}
12000
12032
  :host {
12001
12033
  font-family: var(--body-font);
@@ -12031,7 +12063,7 @@
12031
12063
  border-color: transparent;
12032
12064
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
12033
12065
  }
12034
- `,shadowOptions:undefined},{}));class lu extends H.Radio{}const gu=lu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,H.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
12066
+ `,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`
12035
12067
  ${(0,H.foundationSegmentedItemStyles)(e,a)}
12036
12068
  :host {
12037
12069
  color: var(--neutral-fill-strong-rest);
@@ -12043,7 +12075,7 @@
12043
12075
  :host([aria-checked='true']) {
12044
12076
  color: color-mix(in srgb, white, transparent 10%);
12045
12077
  }
12046
- `,shadowOptions:undefined},{}));class su extends H.Select{}const du=su.compose(Object.assign({baseName:"select",template:(e,a)=>(0,H.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
12078
+ `,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`
12047
12079
  ${(0,H.foundationSelectStyles)(e,a)}
12048
12080
  :host {
12049
12081
  border-radius: calc(var(--control-corner-radius) * 1px);
@@ -12115,14 +12147,14 @@
12115
12147
  ::slotted([role='option']) {
12116
12148
  margin: 0;
12117
12149
  }
12118
- `,shadowOptions:H.foundationSelectShadowOptions},H.defaultSelectConfig));class cu extends H.Skeleton{}const pu=cu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,H.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
12150
+ `,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`
12119
12151
  ${(0,H.foundationSkeletonStyles)(e,a)}
12120
12152
  :host {
12121
12153
  --skeleton-fill: var(
12122
12154
  --neutral-fill-stealth-rest
12123
12155
  ); /** value in ux doc rgba(242 242 242 / 0.1) */
12124
12156
  }
12125
- `,shadowOptions:H.foundationSkeletonShadowOptions},H.defaultSkeletonConfig));class uu extends H.Slider{}const hu=uu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,H.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
12157
+ `,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`
12126
12158
  ${(0,H.foundationSliderStyles)(e,a)}
12127
12159
 
12128
12160
  .thumb-cursor {
@@ -12180,7 +12212,7 @@
12180
12212
  background-color: var(--neutral-stroke-rest);
12181
12213
  width: calc((var(--track-width) + 2) * 1px) !important;
12182
12214
  }
12183
- `,shadowOptions:H.foundationSliderShadowOptions},H.defaultSliderConfig));class mu extends H.SliderLabel{}const bu=mu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,H.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
12215
+ `,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`
12184
12216
  ${(0,H.foundationSliderLabelStyles)(e,a)}
12185
12217
  .label {
12186
12218
  padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
@@ -12191,7 +12223,7 @@
12191
12223
  text-align: center;
12192
12224
  font-size: var(--type-ramp-minus-1-font-size, 12px);
12193
12225
  }
12194
- `,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),vu=b.css`
12226
+ `,shadowOptions:H.foundationSliderLabelShadowOptions},H.defaultSliderLabelConfig)),yu=b.css`
12195
12227
  ${H.foundationSnackbarStyles}
12196
12228
  .snackbar {
12197
12229
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
@@ -12212,11 +12244,11 @@
12212
12244
  .action {
12213
12245
  gap: calc(var(--design-unit) * 2px);
12214
12246
  }
12215
- `,fu=b.html`
12247
+ `,xu=b.html`
12216
12248
  ${(0,H.getPrefixedSnackbar)("rapid")}
12217
- `,wu=H.foundationSnackbarShadowOptions;class yu extends H.Snackbar{}const xu=yu.compose({baseName:"snackbar",shadowOptions:wu,styles:vu,template:fu});class ku extends H.StackingIcons{}const zu=ku.compose({baseName:"stacking-icons",template:H.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
12249
+ `,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`
12218
12250
  ${(0,H.foundationStackingIconsStyles)(e,a)}
12219
- `}),Su=b.css`
12251
+ `}),Au=b.css`
12220
12252
  ${H.foundationStepperStyles}
12221
12253
 
12222
12254
  :host {
@@ -12263,11 +12295,11 @@
12263
12295
  padding: 0 calc(var(--design-unit) * 2px);
12264
12296
  color: var(--neutral-foreground-hint);
12265
12297
  }
12266
- `,Cu=b.html`
12298
+ `,Fu=b.html`
12267
12299
  ${(0,H.getPrefixedStepper)("rapid")}
12268
- `;class $u extends H.Stepper{}const Au=$u.compose(Object.assign({baseName:"stepper",template:Cu,styles:Su,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),Fu=b.html`
12300
+ `;class Ou extends H.Stepper{}const Tu=Ou.compose(Object.assign({baseName:"stepper",template:Fu,styles:Au,shadowOptions:H.foundationStepperShadowOptions},H.defaultStepperConfig)),Du=b.html`
12269
12301
  ${(0,H.getPrefixedStepperTab)("rapid")}
12270
- `;class Ou extends H.StepperTab{}const Tu=Ou.compose(Object.assign({baseName:"stepper-tab",template:Fu,styles:(e,a)=>b.css`
12302
+ `;class Ru extends H.StepperTab{}const Nu=Ru.compose(Object.assign({baseName:"stepper-tab",template:Du,styles:(e,a)=>b.css`
12271
12303
  ${(0,H.foundationStepperTabStyles)(e,a)}
12272
12304
 
12273
12305
  rapid-tree-item {
@@ -12327,7 +12359,7 @@
12327
12359
  :host([error]) .step-title {
12328
12360
  color: var(--error-color);
12329
12361
  }
12330
- `,shadowOptions:H.foundationStepperTabShadowOptions},H.defaultStepperTabConfig));class Du extends H.StepperTabPanel{}const Ru=Du.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,H.foundationStepperTabPanelTemplate)(e,a),shadowOptions:H.foundationStepperTabPanelShadowOptions},H.defaultStepperTabPanelConfig)),Nu={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class Lu extends H.Switch{}const Mu=Lu.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,H.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
12362
+ `,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`
12331
12363
  ${(0,H.foundationSwitchStyles)(e,a)}
12332
12364
  :host {
12333
12365
  --primary-gradient-angle: -113.5deg;
@@ -12364,7 +12396,7 @@
12364
12396
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
12365
12397
  background: var(--accent-fill-rest);
12366
12398
  }
12367
- `,shadowOptions:H.foundationSwitchShadowOptions},Nu));class Iu extends H.Tab{}const ju=Iu.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,H.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
12399
+ `,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`
12368
12400
  ${(0,H.foundationTabStyles)(e,a)}
12369
12401
  :host {
12370
12402
  background-color: ${f.neutralLayer2};
@@ -12377,12 +12409,12 @@
12377
12409
  :host([aria-selected='true']:hover) {
12378
12410
  background-color: ${f.neutralLayer4};
12379
12411
  }
12380
- `,shadowOptions:H.foundationTabShadowOptions},H.defaultTabConfig));class Eu extends H.TabPanel{}const Pu=Eu.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,H.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
12412
+ `,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`
12381
12413
  ${(0,H.foundationTabPanelStyles)(e,a)}
12382
12414
  :host {
12383
12415
  padding: 0;
12384
12416
  }
12385
- `,shadowOptions:H.foundationTabPanelShadowOptions},H.defaultTabPanelConfig));class Bu extends H.Tabs{}const Gu=Bu.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,H.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
12417
+ `,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`
12386
12418
  ${(0,H.foundationTabsStyles)(e,a)}
12387
12419
  :host {
12388
12420
  --base-height-multiplier: 9;
@@ -12457,7 +12489,7 @@
12457
12489
  :host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
12458
12490
  padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
12459
12491
  }
12460
- `,shadowOptions:H.foundationTabsShadowOptions},H.defaultTabsConfig));class _u extends H.TextArea{}const Uu=_u.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,H.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
12492
+ `,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`
12461
12493
  ${(0,H.foundationTextAreaStyles)(e,a)}
12462
12494
 
12463
12495
  :host .control {
@@ -12483,7 +12515,7 @@
12483
12515
  font-weight: 700;
12484
12516
  margin: calc(var(--design-unit) * 2px) 0;
12485
12517
  }
12486
- `,shadowOptions:H.foundationTextAreaShadowOptions},H.defaultTextAreaConfig));class Hu extends H.TextField{}const Vu=Hu.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,H.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
12518
+ `,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`
12487
12519
  ${(0,H.foundationTextFieldStyles)(e,a)}
12488
12520
 
12489
12521
  :host {
@@ -12520,7 +12552,7 @@
12520
12552
  font-weight: 700;
12521
12553
  margin: calc(var(--design-unit) * 2px) 0;
12522
12554
  }
12523
- `,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),Yu=b.css`
12555
+ `,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),qu=b.css`
12524
12556
  ${H.foundationToastStyles}
12525
12557
  .toast {
12526
12558
  background-color: ${f.neutralLayer1};
@@ -12575,7 +12607,7 @@
12575
12607
  :host([notify='serious']) .toast::after {
12576
12608
  background-color: var(--error-color);
12577
12609
  }
12578
- `,Qu=H.defaultToastConfig,Wu=H.foundationToastShadowOptions;class qu extends H.Toast{}const Ju=qu.compose(Object.assign({baseName:"toast",shadowOptions:Wu,styles:Yu,template:H.foundationToastTemplate},Qu));class Zu extends H.Toolbar{}const Ku=Zu.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,H.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
12610
+ `,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`
12579
12611
  ${(0,H.foundationToolbarStyles)(e,a)}
12580
12612
  :host {
12581
12613
  align-items: center;
@@ -12585,7 +12617,7 @@
12585
12617
  .positioning-region {
12586
12618
  align-items: center;
12587
12619
  }
12588
- `,shadowOptions:H.foundationToolbarShadowOptions},H.defaultToolbarConfig));class Xu extends H.Tooltip{}const eh=Xu.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,H.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
12620
+ `,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`
12589
12621
  ${(0,H.foundationTooltipStyles)(e,a)}
12590
12622
 
12591
12623
  :host {
@@ -12608,7 +12640,7 @@
12608
12640
  alpha-anchored-region.bottom.right .tooltip {
12609
12641
  margin-left: 0;
12610
12642
  }
12611
- `,shadowOptions:H.foundationTooltipShadowOptions},H.defaultTooltipConfig));class ah extends H.TreeItem{}const rh={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>'},th=ah.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,H.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
12643
+ `,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`
12612
12644
  ${(0,H.foundationTreeItemStyles)(e,a)}
12613
12645
  :host {
12614
12646
  font-size: var(--type-ramp-base-font-size);
@@ -12647,11 +12679,11 @@
12647
12679
  width: calc(var(--design-unit) * 3px);
12648
12680
  height: calc(var(--design-unit) * 3px);
12649
12681
  }
12650
- `,shadowOptions:H.foundationTreeItemShadowOptions},rh));class oh extends H.TreeView{}const ih=oh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,H.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
12682
+ `,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`
12651
12683
  ${(0,H.foundationTreeViewStyles)(e,a)}
12652
- `,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),nh=b.html`
12684
+ `,shadowOptions:H.foundationTreeViewShadowOptions},H.defaultTreeViewConfig)),sh=b.html`
12653
12685
  ${(0,H.getPrefixedUrlInput)("rapid")}
12654
- `;class lh extends H.UrlInput{}const gh={designSystemProvider:gd,rapidAccordion:dd,rapidAccordionItem:pd,rapidActionsMenu:hd,rapidAnchor:kd,rapidAnchoredRegion:Sd,rapidAvatar:$d,rapidBadge:Fd,rapidBanner:Rd,rapidBreadcrumb:Ld,rapidBreadcrumbItem:Id,rapidButton:Ed,rapidCalendar:Bd,rapidCard:_d,rapidCategorizedMultiselect:Wd,rapidCheckbox:Jd,rapidCombobox:Kd,rapidConnectionIndicator:ec,rapidDataGrid:()=>(0,H.foundationDataGrid)(),rapidDataGridCell:()=>(0,H.foundationDataGridCell)(),rapidDataGridRow:()=>(0,H.foundationDataGridRow)(),rapidDatePicker:vc,rapidDialog:zc,rapidDisclosure:Cc,rapidDivider:Ac,rapidDropdownMenu:Oc,rapidErrorBoundary:()=>(0,H.foundationErrorBoundary)(),rapidFileUpload:Pc,rapidFilter:_c,rapidFilterBar:Vc,rapidFlexLayout:()=>(0,H.foundationFlexLayout)(),rapidFlipper:Zc,rapidFlyout:tp,rapidGridLayout:()=>(0,H.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,H.foundationGridLayoutItem)(),rapidHorizontalScroll:hp,rapidIcon:fp,rapidListbox:yp,rapidListboxOption:kp,rapidMenu:Sp,rapidMenuItem:Ap,rapidModal:Np,rapidMultiselect:Pp,rapidNumberField:Hp,rapidProgress:Yp,rapidProgressRing:Wp,rapidRadio:Jp,rapidRadioGroup:Kp,rapidSearchBar:ru,rapidSearchBarCombobox:ou,rapidSegmentedControl:nu,rapidSegmentedItem:gu,rapidSelect:du,rapidSkeleton:pu,rapidSlider:hu,rapidSliderLabel:bu,rapidSnackbar:xu,rapidStackingIcons:zu,rapidStepper:Au,rapidStepperTab:Tu,rapidStepperTabPanel:Ru,rapidSwitch:Mu,rapidTab:ju,rapidTabPanel:Pu,rapidTabs:Gu,rapidTextArea:Uu,rapidTextField:Vu,rapidToast:Ju,rapidToolbar:Ku,rapidTooltip:eh,rapidTreeItem:th,rapidTreeView:ih,rapidUrlInput:lh.compose(Object.assign({baseName:"url-input",template:nh,styles:(e,a)=>b.css`
12686
+ `;class dh extends H.UrlInput{}const ch={designSystemProvider:cd,rapidAccordion:ud,rapidAccordionItem:md,rapidActionsMenu:vd,rapidAnchor:Cd,rapidAnchoredRegion:Ad,rapidAvatar:Od,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:Fc,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`
12655
12687
  ${(0,H.foundationUrlInputStyles)(e,a)}
12656
12688
  a {
12657
12689
  color: var(--accent-fill-rest);
@@ -12667,8 +12699,8 @@
12667
12699
  font-size: var(--type-ramp-base-font-size);
12668
12700
  top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
12669
12701
  }
12670
- `,shadowOptions:H.foundationUrlInputShadowOptions},H.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class sh extends Qi{}const dh=sh.compose({baseName:"date-editor",styles:Wi,template:qi("rapid")});class ch extends Xi{}const ph=ch.compose({baseName:"multiselect-editor",styles:en,template:an("rapid")});class uh extends nn{}const hh=uh.compose({baseName:"select-editor",styles:ln,template:gn("rapid")});class mh extends pn{}const bh=mh.compose({baseName:"number-editor",styles:un,template:hn("rapid")});class vh extends fn{}const fh=vh.compose({baseName:"string-editor",styles:wn,template:yn("rapid")});class wh extends Sn{}const yh=wh.compose({baseName:"editable-renderer",styles:Cn,template:$n("rapid")});class xh extends Rn{}const kh=xh.compose({baseName:"grid-pro-action-renderer",styles:b.css`
12671
- ${Ln}
12702
+ `,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:Fn,template:On("rapid")});class Sh extends Mn{}const Ch=Sh.compose({baseName:"grid-pro-action-renderer",styles:b.css`
12703
+ ${jn}
12672
12704
  `,template:b.html`
12673
12705
  <div class="action-container" part="action-container">
12674
12706
  <rapid-button
@@ -12685,12 +12717,12 @@
12685
12717
  `:e.params.actionName}
12686
12718
  </rapid-button>
12687
12719
  </div>
12688
- `});class zh extends En{}const Sh=zh.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
12720
+ `});class $h extends Gn{}const Ah=$h.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
12689
12721
  <rapid-actions-menu
12690
12722
  name="${e=>e.params.headerName}"
12691
12723
  :definition=${e=>e.params}
12692
12724
  ></rapid-actions-menu>
12693
- `});class Ch extends _n{}const $h=Ch.compose({baseName:"boolean-renderer",styles:Un,template:Hn("rapid")});const Ah=class extends el{}.compose({baseName:"grid-text-renderer",styles:al,template:rl("rapid")});const Fh=class extends il{}.compose({baseName:"select-renderer",styles:nl,template:ll("rapid")}),Oh={foregroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#2b2e34"))},Th={foregroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Se.parseColorHexRGB)("#2196f3"))},{create:Dh}=v.DesignToken,Rh={backgroundColor:Dh("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Th.backgroundSwatch:Oh.backgroundSwatch)),borderColor:Dh("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Th.borderSwatch:Oh.borderSwatch)),foregroundColor:Dh("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Th.foregroundSwatch:Oh.foregroundSwatch)),headerForegroundColor:Dh("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Th.headerForegroundSwatch:Oh.headerForegroundSwatch)),rowHoverColor:Dh("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Th.rowHoverSwatch:Oh.rowHoverSwatch))},Nh=b.css`
12725
+ `});class Fh extends Vn{}const Oh=Fh.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`
12694
12726
  .ag-theme-genesis-rapid,
12695
12727
  .ag-theme-genesis-rapid-dark {
12696
12728
  --ag-alpine-active-color: #2196f3;
@@ -13151,76 +13183,76 @@
13151
13183
  .ag-theme-genesis-rapid-dark {
13152
13184
  color-scheme: dark;
13153
13185
  }
13154
- `,Lh={[Ri.backgroundColor]:Rh.backgroundColor,[Ri.foregroundColor]:Rh.foregroundColor,[Ri.oddRowBackgroundColor]:Rh.backgroundColor,[Ri.headerBackgroundColor]:Rh.backgroundColor,[Ri.headerForegroundColor]:Rh.headerForegroundColor,[Ri.selectedRowBackgroundColor]:Rh.rowHoverColor,[Ri.rowHoverColor]:Rh.rowHoverColor,[Ri.borderColor]:Rh.borderColor,[Ri.rowBorderColor]:Rh.rowHoverColor,[Ri.modalOverlayBackgroundColor]:Rh.backgroundColor,[Ri.inputFocusBoxShadow]:Rh.headerForegroundColor,[Ri.inputFocusBorderColor]:Rh.headerForegroundColor,[Ri.headerColumnResizeHandleColor]:Rh.headerForegroundColor},Mh="ag-theme-genesis-rapid",Ih=b.css`
13155
- ${Nh}
13156
- ${Bi(Mh,Lh)}
13186
+ `,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`
13187
+ ${Ih}
13188
+ ${Ui(Eh,jh)}
13157
13189
 
13158
- .${Mh} {
13159
- ${He()}
13190
+ .${Eh} {
13191
+ ${Qe()}
13160
13192
  font-family: var(--body-font);
13161
13193
  }
13162
13194
 
13163
- .${Mh} .ag-body .ag-body-viewport,
13164
- .${Mh} .ag-header,
13165
- .${Mh} .ag-row {
13195
+ .${Eh} .ag-body .ag-body-viewport,
13196
+ .${Eh} .ag-header,
13197
+ .${Eh} .ag-row {
13166
13198
  background-color: var(--neutral-layer-4);
13167
13199
  }
13168
13200
 
13169
- .${Mh} .ag-header {
13201
+ .${Eh} .ag-header {
13170
13202
  border-bottom-color: var(--neutral-stroke-rest);
13171
13203
  font-weight: bold;
13172
13204
  font-size: var(--type-ramp-base-font-size);
13173
13205
  }
13174
13206
 
13175
- .${Mh} .ag-root-wrapper {
13207
+ .${Eh} .ag-root-wrapper {
13176
13208
  border-radius: calc(var(--ag-border-radius) * 1px);
13177
13209
  border: 1px solid var(--rapid-ag-border-color);
13178
13210
  }
13179
13211
 
13180
- .${Mh} .ag-cell {
13212
+ .${Eh} .ag-cell {
13181
13213
  font-size: var(--type-ramp-minus-1-font-size);
13182
13214
  }
13183
- `,jh="ag-theme-genesis-rapid-dark",Eh=b.css`
13184
- ${Nh}
13185
- ${Bi(Mh,Lh)}
13215
+ `,Bh="ag-theme-genesis-rapid-dark",Gh=b.css`
13216
+ ${Ih}
13217
+ ${Ui(Eh,jh)}
13186
13218
 
13187
- .${jh} {
13188
- ${He()}
13219
+ .${Bh} {
13220
+ ${Qe()}
13189
13221
  font-family: var(--body-font);
13190
13222
  }
13191
13223
 
13192
- .${jh} .ag-body .ag-body-viewport,
13193
- .${jh} .ag-header,
13194
- .${jh} .ag-row {
13224
+ .${Bh} .ag-body .ag-body-viewport,
13225
+ .${Bh} .ag-header,
13226
+ .${Bh} .ag-row {
13195
13227
  background-color: var(--neutral-layer-4);
13196
13228
  }
13197
13229
 
13198
- .${jh} .ag-header {
13230
+ .${Bh} .ag-header {
13199
13231
  border-bottom-color: var(--neutral-stroke-rest);
13200
13232
  font-weight: bold;
13201
13233
  font-size: var(--type-ramp-base-font-size);
13202
13234
  }
13203
13235
 
13204
- .${jh} .ag-root-wrapper {
13236
+ .${Bh} .ag-root-wrapper {
13205
13237
  border-radius: calc(var(--ag-border-radius) * 1px);
13206
13238
  border: 1px solid var(--rapid-ag-border-color);
13207
13239
  }
13208
13240
 
13209
- .${jh} .ag-cell {
13241
+ .${Bh} .ag-cell {
13210
13242
  font-size: var(--type-ramp-minus-1-font-size);
13211
13243
  }
13212
- `,Ph=b.css`
13244
+ `,_h=b.css`
13213
13245
  /* All the AG themes */
13214
- ${gg}
13246
+ ${cg}
13215
13247
 
13216
13248
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
13217
- ${Ih}
13218
- ${Eh}
13249
+ ${Ph}
13250
+ ${Gh}
13219
13251
 
13220
13252
  .error {
13221
- border-color: ${ze.shortPink} !important;
13253
+ border-color: ${$e.shortPink} !important;
13222
13254
  }
13223
- `,Bh=sg,Gh="ag-theme-genesis-rapid-dark";const _h=fg,Uh={rapidAgEditableRenderer:yh,rapidAgActionRenderer:kh,rapidAgActionsMenuRenderer:Sh,rapidAgBooleanRenderer:$h,rapidAgTextRenderer:Ah,rapidAgSelectRenderer:Fh,rapidAgDateEditor:dh,rapidAgMultiselectEditor:ph,rapidAgSelectEditor:hh,rapidAgNumberEditor:bh,rapidAgStringEditor:fh,rapidGridPro:class extends bg{constructor(){super(...arguments),this.theme=Gh}themeChanged(e,a){(e||a===Gh)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[Gi.action]:xh,[Gi.actionsMenu]:zh,[Gi.boolean]:Ch,[Gi.editable]:wh,[Gi.selectEditor]:uh,[Gi.numberEditor]:mh,[Gi.multiselectEditor]:ch,[Gi.dateEditor]:sh,[Gi.stringEditor]:vh};(this.theme===Mh||this.theme===jh)&&(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:Bh,styles:Ph,shadowOptions:undefined},_h)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Hh,Vh=r(11223);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Hh||(Hh={}));const Yh={Roboto:Ue,"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'},Qh=Yh["Segoe UI"],Wh=b.css`
13255
+ `,Uh=pg,Hh="ag-theme-genesis-rapid-dark";const Vh=xg,Yh={rapidAgEditableRenderer:zh,rapidAgActionRenderer:Ch,rapidAgActionsMenuRenderer:Ah,rapidAgBooleanRenderer:Oh,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]:Fh,[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`
13224
13256
  ${(0,v.display)("block")} :host {
13225
13257
  width: 100%;
13226
13258
  display: inline-flex;
@@ -13352,7 +13384,7 @@
13352
13384
  alpha-button {
13353
13385
  margin: 0;
13354
13386
  }
13355
- `,qh=b.html`
13387
+ `,Kh=b.html`
13356
13388
  <template>
13357
13389
  <div class="configuration">
13358
13390
  ${(0,b.when)((e=>!e.customDesignMode),b.html`
@@ -13560,7 +13592,7 @@
13560
13592
  </div>
13561
13593
  </div>
13562
13594
  ${(0,b.when)((e=>!e.customDesignMode),b.html`
13563
- <alpha-checkbox :checked="${(0,Wn.Z)((e=>e.preserveOptions),"boolean")}">
13595
+ <alpha-checkbox :checked="${(0,Zn.Z)((e=>e.preserveOptions),"boolean")}">
13564
13596
  Preserve selected options when changing design systems
13565
13597
  </alpha-checkbox>
13566
13598
  `)}
@@ -13575,7 +13607,7 @@
13575
13607
  <slot></slot>
13576
13608
  </div>
13577
13609
  </template>
13578
- `,Jh=({design_tokens:e})=>({accentColor:e.color.accent.$value,neutralColor:e.color.neutral.$value,luminance:e.mode.luminance.$value,density:e.style.density.$value,designUnit:e.space.designUnit.$value,borderRadius:e.style.borderRadius.$value,strokeWidth:e.style.strokeWidth.$value,bodyFont:Object.keys(Yh).find((a=>Yh[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Zh=Jh(We),Kh={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Xh={accent:"primary",neutral:"secondary",font:"white"},em=Jh(l.designTokens),am=Jh(nd),rm={zero:{prefix:"zero",tokenDefaults:Zh,buttons:Kh,badge:Xh},alpha:{prefix:"alpha",tokenDefaults:em,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:am,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Kh,badge:Xh}};let tm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Zh.luminance===f.StandardLuminance.DarkMode,this.luminance=Zh.luminance,this.neutralColor=Zh.neutralColor,this.accentColor=Zh.accentColor,this.bodyFont=Zh.bodyFont,this.density=Zh.density,this.borderRadius=Zh.borderRadius,this.strokeWidth=Zh.strokeWidth,this.designUnit=Zh.designUnit,this.baseFontSize=Zh.baseFontSize,this.baseLineHeight=Zh.baseLineHeight,this.preserveOptions=!0,this.tokenUpdateInProgress=!1,this.changeHandler=e=>{if(e.target instanceof 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=Jh(a);rm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Vh.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(rm[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Vh.__awaiter)(this,void 0,void 0,(function*(){const e=[{name:"Zero",value:"zero"},{name:"Foundation UI",value:"alpha"},{name:"Rapid",value:"rapid"}];if(this.customDesignMode){const e={name:(yield this.getAppName())||"Custom Design",value:"custom"};this.designSystems=[e],this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:rm[this.ds].prefix,buttonAppearanceAccent:rm[this.ds].buttons.accent,buttonAppearanceNeutral:rm[this.ds].buttons.neutral,buttonAppearanceOutline:rm[this.ds].buttons.outline,buttonAppearanceText:rm[this.ds].buttons.text,badgeAppearanceAccent:rm[this.ds].badge.accent,badgeAppearanceNeutral:rm[this.ds].badge.neutral,badgeText:rm[this.ds].badge.font};this.$emit(Hh.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(rm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Yh[this.bodyFont],luminance:this.luminance,density:this.density,designUnit:this.designUnit,borderRadius:this.borderRadius,strokeWidth:this.strokeWidth,baseFontSize:this.baseFontSize,baseLineHeight:this.baseLineHeight};this.$emit(Hh.STYLES_CHANGED,e)}setTokensFromDs(e){this.tokenUpdateInProgress=!0,Object.keys(e).forEach((a=>{this.preserveOptions&&void 0!==this.userSelections[a]?this[a]=this.userSelections[a]:this[a]=e[a]})),this.darkMode=this.luminance===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={},_e(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Hh.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Vh.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],tm.prototype,"customDesignMode",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"designSystems",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"ds",void 0),(0,Vh.__decorate)([b.attr],tm.prototype,"darkMode",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"neutralColor",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"accentColor",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"bodyFont",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"density",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"borderRadius",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"strokeWidth",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"designUnit",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"baseFontSize",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"baseLineHeight",void 0),(0,Vh.__decorate)([b.observable],tm.prototype,"preserveOptions",void 0),tm=(0,Vh.__decorate)([(0,b.customElement)({name:"design-system-editor",template:qh,styles:Wh})],tm);const om=(0,k.createLogger)("documentation-components"),im=e=>{const a=(e=>{const a=(0,Se.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},nm=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},lm=(e,a)=>{const r=im(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=im(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,nm(f.typeRampBaseFontSize,Ge.Yd.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,nm(f.typeRampBaseLineHeight,Ge.Yd.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,nm(f.typeRampBaseFontSize,Ge.Yd.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,nm(f.typeRampBaseLineHeight,Ge.Yd.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,nm(f.typeRampBaseFontSize,Ge.Yd.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,nm(f.typeRampBaseLineHeight,Ge.Yd.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,nm(f.typeRampBaseFontSize,Ge.Yd.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,nm(f.typeRampBaseLineHeight,Ge.Yd.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,nm(f.typeRampBaseFontSize,Ge.Yd.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,nm(f.typeRampBaseLineHeight,Ge.Yd.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,nm(f.typeRampBaseFontSize,Ge.Yd.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,nm(f.typeRampBaseLineHeight,Ge.Yd.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,nm(f.typeRampBaseFontSize,Ge.Yd.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,nm(f.typeRampBaseLineHeight,Ge.Yd.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,nm(f.typeRampBaseFontSize,Ge.Yd.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,nm(f.typeRampBaseLineHeight,Ge.Yd.plusSix,a))},gm=b.css`
13610
+ `,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`
13579
13611
  :host {
13580
13612
  --badge-fill-primary: var(--accent-fill-rest);
13581
13613
  --badge-fill-neutral: var(--neutral-fill-rest);
@@ -13671,7 +13703,7 @@
13671
13703
  display: flex;
13672
13704
  flex-direction: column;
13673
13705
  }
13674
- `,sm=b.html`
13706
+ `,pm=b.html`
13675
13707
  ${e=>(e=>b.html`
13676
13708
  <template>
13677
13709
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14083,7 +14115,7 @@
14083
14115
  </${e}-design-system-provider>
14084
14116
  </template>
14085
14117
  `)(e.prefix)}
14086
- `;let dm=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=>om.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>om.debug("DELETE!!!",e)},{name:"Edit",callback:e=>om.debug("EDIT!!!",e)},{name:"Wait",callback:e=>om.debug("WAIT???",e)}],this.menuDefinition={actions:this.menuActions,buttonAppearance:"stealth",data:{name:"test"}},this.dropDownMenuItems=[{name:"Menu item 1",callback:()=>alert("Menu item 1 clicked"),icon:{name:"glasses"}},{name:"Menu item 2",callback:()=>alert("Menu item 2 clicked")},{name:"Menu item 3",callback:()=>alert("Menu item 3 clicked"),submenu:[{name:"Menu item 5",callback:()=>alert("Menu item 5 clicked"),icon:{name:"address-card"}},{name:"Menu item 6",callback:()=>alert("Menu item 6 clicked"),submenu:[{name:"Menu item 7",callback:()=>alert("Menu item 7 clicked"),color:"red",icon:{name:"address-card"}},{name:"Menu item 8",callback:()=>alert("Menu item 8 clicked"),isDisabled:()=>!0}]}]}]}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Qh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{lm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,this.buttonAppearanceAccent=e.detail.buttonAppearanceAccent,this.buttonAppearanceNeutral=e.detail.buttonAppearanceNeutral,this.buttonAppearanceOutline=e.detail.buttonAppearanceOutline,this.buttonAppearanceText=e.detail.buttonAppearanceText,this.badgeAppearanceAccent=e.detail.badgeAppearanceAccent,this.badgeAppearanceNeutral=e.detail.badgeAppearanceNeutral,this.badgeText=e.detail.badgeText}showDialog(e){this[e].show()}closeDialog(e){this[e].close()}dismissBanner(){this.banner.dismiss()}};(0,Vh.__decorate)([b.observable],dm.prototype,"modal",void 0),(0,Vh.__decorate)([b.attr],dm.prototype,"prefix",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"buttonAppearanceAccent",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"buttonAppearanceNeutral",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"buttonAppearanceOutline",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"buttonAppearanceText",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"badgeAppearanceAccent",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"badgeAppearanceNeutral",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"badgeText",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"cards",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"countries",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"menuActions",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"menuDefinition",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"dropDownMenuItems",void 0),(0,Vh.__decorate)([b.observable],dm.prototype,"provider",void 0),dm=(0,Vh.__decorate)([(0,b.customElement)({name:"preview-components",template:sm,styles:gm})],dm);const cm=b.css`
14118
+ `;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`
14087
14119
  .export {
14088
14120
  display: flex;
14089
14121
  justify-content: center;
@@ -14094,7 +14126,7 @@
14094
14126
  display: flex;
14095
14127
  justify-content: space-between;
14096
14128
  }
14097
- `,pm=b.html`
14129
+ `,mm=b.html`
14098
14130
  <template>
14099
14131
  <div class="export">
14100
14132
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -14115,7 +14147,7 @@
14115
14147
  </alpha-modal>
14116
14148
  </div>
14117
14149
  </template>
14118
- `;let um=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=>{om.log("Tokens saved successfully:",e),this.$emit(Hh.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{om.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Hh.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Vh.__decorate)([b.attr],um.prototype,"value",void 0),(0,Vh.__decorate)([b.attr],um.prototype,"tokensPath",void 0),um=(0,Vh.__decorate)([(0,b.customElement)({name:"design-system-export",template:pm,styles:cm})],um);const hm=b.css`
14150
+ `;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`
14119
14151
  .colors {
14120
14152
  display: flex;
14121
14153
  flex-wrap: wrap;
@@ -14128,23 +14160,23 @@
14128
14160
  flex-grow: 1;
14129
14161
  height: 20px;
14130
14162
  }
14131
- `,mm=b.html`
14163
+ `,fm=b.html`
14132
14164
  <ul class="colors">
14133
14165
  ${(0,b.repeat)((e=>e.swatches),b.html`
14134
14166
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
14135
14167
  `)}
14136
14168
  </ul>
14137
- `;let bm=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=im(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Vh.__decorate)([b.observable],bm.prototype,"swatches",void 0),(0,Vh.__decorate)([b.attr],bm.prototype,"type",void 0),bm=(0,Vh.__decorate)([(0,b.customElement)({name:"color-palette",styles:hm,template:mm})],bm);const vm=b.css`
14169
+ `;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`
14138
14170
  .preview {
14139
14171
  width: 40px;
14140
14172
  height: 40px;
14141
14173
  }
14142
- `,fm=b.html`
14174
+ `,xm=b.html`
14143
14175
  <div
14144
14176
  class="preview"
14145
14177
  style="background-color: ${e=>f[e.tokenName].createCSS()}"
14146
14178
  ></div>
14147
- `;let wm=class extends b.FASTElement{};(0,Vh.__decorate)([b.attr],wm.prototype,"tokenName",void 0),wm=(0,Vh.__decorate)([(0,b.customElement)({name:"color-token",styles:vm,template:fm})],wm);const ym=b.css`
14179
+ `;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`
14148
14180
  .container {
14149
14181
  display: flex;
14150
14182
  width: 100%;
@@ -14192,7 +14224,7 @@
14192
14224
  .container > div:not(:last-child) {
14193
14225
  border-right: 1px solid #fafafa;
14194
14226
  }
14195
- `,xm=[{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"}]}]}],km=b.html`
14227
+ `,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`
14196
14228
  <div class="row">
14197
14229
  <div
14198
14230
  class="preview"
@@ -14204,19 +14236,19 @@
14204
14236
  ${(e,a)=>f[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
14205
14237
  </div>
14206
14238
  </div>
14207
- `,zm=b.html`
14239
+ `,$m=b.html`
14208
14240
  <div class="container" ${(0,b.ref)("provider")}>
14209
- ${(0,b.repeat)((()=>xm),b.html`
14241
+ ${(0,b.repeat)((()=>Sm),b.html`
14210
14242
  <div class="column">
14211
14243
  <h3 class="header-title">${e=>e.title}</h3>
14212
14244
  ${(0,b.repeat)((e=>e.subcategories),b.html`
14213
14245
  <h4>${e=>e.title}</h4>
14214
- ${(0,b.repeat)((e=>e.tokens),km)}
14246
+ ${(0,b.repeat)((e=>e.tokens),Cm)}
14215
14247
  `)}
14216
14248
  </div>
14217
14249
  `)}
14218
14250
  </div>
14219
- `;let Sm=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Hh.STYLES_CHANGED,(e=>{const a=e.detail;lm(a,this.provider)}))}};(0,Vh.__decorate)([b.observable],Sm.prototype,"provider",void 0),Sm=(0,Vh.__decorate)([(0,b.customElement)({name:"color-tokens",template:zm,styles:ym})],Sm);const Cm=b.css`
14251
+ `;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 Fm=b.css`
14220
14252
  table {
14221
14253
  background: var(--neutral-fill-rest);
14222
14254
  color: var(--neutral-foreground-rest);
@@ -14225,7 +14257,7 @@
14225
14257
  th {
14226
14258
  text-align: left;
14227
14259
  }
14228
- `,$m=b.html`
14260
+ `,Om=b.html`
14229
14261
  <table ${(0,b.ref)("provider")} style="font-family: ${()=>f.bodyFont.createCSS()}">
14230
14262
  <colgroup>
14231
14263
  <col style="width: 15%;" />
@@ -14453,7 +14485,7 @@
14453
14485
  </tr>
14454
14486
  </tbody>
14455
14487
  </table>
14456
- `;let Am=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Hh.STYLES_CHANGED,(e=>{const a=e.detail;lm(a,this.provider)}))}};(0,Vh.__decorate)([b.observable],Am.prototype,"provider",void 0),Am=(0,Vh.__decorate)([(0,b.customElement)({name:"typography-tokens",template:$m,styles:Cm})],Am);const Fm=b.css`
14488
+ `;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:Om,styles:Fm})],Tm);const Dm=b.css`
14457
14489
  :host {
14458
14490
  background: var(--fill-color);
14459
14491
  color: var(--neutral-foreground-rest);
@@ -14469,7 +14501,7 @@
14469
14501
  margin-top: 24px;
14470
14502
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
14471
14503
  }
14472
- `,Om=b.html`
14504
+ `,Rm=b.html`
14473
14505
  <template>
14474
14506
  <alpha-tabs>
14475
14507
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -14498,7 +14530,7 @@
14498
14530
  </alpha-tab-panel>
14499
14531
  </alpha-tabs>
14500
14532
  </template>
14501
- `;let Tm=class extends b.FASTElement{};Tm=(0,Vh.__decorate)([(0,b.customElement)({name:"design-system-preview",template:Om,styles:Fm})],Tm);const Dm={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"}]}]}}]},Rm={type:"object",properties:{group1:{type:"object",properties:{NAME:{type:"string"}}},group2:{type:"object",properties:{QUANTITY:{type:"number"},PRICE:{type:"number"},COUNTERPARTY_ID:{type:"string"},INSTRUMENT_ID:{type:"string"},SIDE:{type:"string",enum:["BUY","SELL"]},TRADE_DATE:{type:"number",format:"date",description:"org.joda.time.DateTime"},ACTIVE:{type:"boolean"}},required:["QUANTITY","PRICE"]}}},Nm={type:"VerticalLayout",elements:[{type:"Control",scope:"#/properties/users",options:{childUiSchema:{type:"HorizontalLayout",elements:[{type:"Control",scope:"#/properties/firstname",label:"First Name"},{type:"Control",scope:"#/properties/lastname",label:"Last Name"},{type:"Control",scope:"#/properties/email",label:"Email"}]}}}]},Lm={type:"object",properties:{users:{type:"array",items:{type:"object",title:"Users",properties:{firstname:{type:"string"},lastname:{type:"string"},email:{type:"string",format:"email"}},required:["firstname"]}}}},Mm=b.css`
14533
+ `;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`
14502
14534
  :host {
14503
14535
  background: var(--fill-color);
14504
14536
  color: var(--neutral-foreground-rest);
@@ -14529,7 +14561,7 @@
14529
14561
  zero-design-system-provider {
14530
14562
  display: inline;
14531
14563
  }
14532
- `,Im=b.html`
14564
+ `,Pm=b.html`
14533
14565
  ${e=>(e=>b.html`
14534
14566
  <template>
14535
14567
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14553,7 +14585,7 @@
14553
14585
  </${e}-design-system-provider>
14554
14586
  </template>
14555
14587
  `)(e.prefix)}
14556
- `;let jm=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=Rm,this.uischema=Dm,this.jsonSchemaArray=Lm,this.uiSchemaArray=Nm,this.prefix="zero",this.editedEntity={group1:{NAME:"Test Name"},group2:{COUNTERPARTY_ID:"GENESIS",INSTRUMENT_ID:"BOND"}},this.editedEntityArray={users:[{firstname:"Max",lastname:"Mustermann",age:25,email:"max@mustermann.com"},{firstname:"John",lastname:"Doe",age:35,email:"john@doe.com"}]}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Qh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{lm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Vh.__decorate)([b.observable],jm.prototype,"jsonSchema",void 0),(0,Vh.__decorate)([b.observable],jm.prototype,"uischema",void 0),(0,Vh.__decorate)([b.observable],jm.prototype,"jsonSchemaArray",void 0),(0,Vh.__decorate)([b.observable],jm.prototype,"uiSchemaArray",void 0),(0,Vh.__decorate)([b.attr],jm.prototype,"prefix",void 0),(0,Vh.__decorate)([b.observable],jm.prototype,"provider",void 0),(0,Vh.__decorate)([b.observable],jm.prototype,"editedEntity",void 0),(0,Vh.__decorate)([b.observable],jm.prototype,"editedEntityArray",void 0),jm=(0,Vh.__decorate)([(0,b.customElement)({name:"preview-form",template:Im,styles:Mm})],jm);const Em=b.css`
14588
+ `;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`
14557
14589
  :host {
14558
14590
  background: var(--fill-color);
14559
14591
  color: var(--neutral-foreground-rest);
@@ -14568,7 +14600,7 @@
14568
14600
  .grid-height {
14569
14601
  height: 450px;
14570
14602
  }
14571
- `,Pm=b.html`
14603
+ `,_m=b.html`
14572
14604
  ${e=>(e=>b.html`
14573
14605
  <template>
14574
14606
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14578,5 +14610,5 @@
14578
14610
  </${e}-design-system-provider>
14579
14611
  </template>
14580
14612
  `)(e.prefix)}
14581
- `;let Bm=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(Hh.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Hh.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(Qh)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{lm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Vh.__decorate)([b.observable],Bm.prototype,"grid",void 0),(0,Vh.__decorate)([b.attr],Bm.prototype,"prefix",void 0),(0,Vh.__decorate)([b.observable],Bm.prototype,"provider",void 0),(0,Vh.__decorate)([b.observable],Bm.prototype,"rowData",void 0),(0,Vh.__decorate)([b.observable],Bm.prototype,"columnDefs",void 0),(0,Vh.__decorate)([b.observable],Bm.prototype,"gridOptions",void 0),Bm=(0,Vh.__decorate)([(0,b.customElement)({name:"preview-grid",template:Pm,styles:Em})],Bm),((e,a="zero")=>{e&&(0,H.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(Di,Lg),(0,l.provideDesignSystem)().register(l.baseComponents,Mg),((e,a="rapid")=>{e&&(0,H.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(gh,Uh)}}]);
14582
- //# sourceMappingURL=577.c32fcfd8ba42cbef6b9b72a02d626015.js.map
14613
+ `;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)}}]);
14614
+ //# sourceMappingURL=849.88c593659baae2065231f72beae6547b.js.map