@genesislcap/design-system-configurator 14.201.0 → 14.202.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([[206],{79621:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>qm,ColorToken:()=>Km,ColorTokens:()=>tb,DesignSystemEditor:()=>Im,DesignSystemExport:()=>Ym,DesignSystemPreview:()=>sb,EventName:()=>zm,PreviewComponents:()=>Um,PreviewForm:()=>bb,PreviewGrid:()=>yb,TypographyTokens:()=>nb,defaultBodyFont:()=>$m,fontFamilies:()=>Cm});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,buyColor:()=>Ve,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>He,defaultErrorColor:()=>Me,defaultSellColor:()=>Qe,defaultSuccessColor:()=>Ee,defaultWarningColor:()=>Ge,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Ie,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:()=>We,strokeWidth:()=>f.strokeWidth,successColor:()=>Pe,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:()=>_e});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>qe,baseLayerLuminanceValue:()=>Ze,bodyFontValue:()=>ga,controlCornerRadiusValue:()=>aa,densityValue:()=>ra,designTokens:()=>ca,designUnitValue:()=>ta,directionValue:()=>Xe,neutralPaletteValue:()=>Je,strokeWidthValue:()=>ea,typeRampBaseFontSizeValue:()=>sa,typeRampBaseLineHeightValue:()=>da});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:()=>Ss,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>zs,defaultErrorColor:()=>hs,defaultSellColor:()=>$s,defaultSuccessColor:()=>vs,defaultWarningColor:()=>ys,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>ms,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:()=>fs,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:()=>xs});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Ns,accentFillFocusDeltaValue:()=>Ls,accentFillHoverDeltaValue:()=>Rs,accentFillRestDeltaValue:()=>Ts,accentForegroundActiveDeltaValue:()=>js,accentForegroundFocusDeltaValue:()=>Es,accentForegroundHoverDeltaValue:()=>Is,accentForegroundRestDeltaValue:()=>Ms,accentPaletteValue:()=>Os,baseHeightMultiplierValue:()=>pd,baseLayerLuminanceValue:()=>Fs,bodyFontValue:()=>bd,controlCornerRadiusValue:()=>ud,densityValue:()=>hd,designTokens:()=>Md,designUnitValue:()=>md,directionValue:()=>gd,disabledOpacityValue:()=>sd,focusStrokeWidthValue:()=>cd,neutralFillActiveDeltaValue:()=>Gs,neutralFillFocusDeltaValue:()=>_s,neutralFillHoverDeltaValue:()=>Bs,neutralFillInputActiveDeltaValue:()=>Vs,neutralFillInputFocusDeltaValue:()=>Ys,neutralFillInputHoverDeltaValue:()=>Hs,neutralFillInputRestDeltaValue:()=>Us,neutralFillLayerRestDeltaValue:()=>ad,neutralFillRestDeltaValue:()=>Ps,neutralFillStealthActiveDeltaValue:()=>qs,neutralFillStealthFocusDeltaValue:()=>Js,neutralFillStealthHoverDeltaValue:()=>Ws,neutralFillStealthRestDeltaValue:()=>Qs,neutralFillStrongActiveDeltaValue:()=>Xs,neutralFillStrongFocusDeltaValue:()=>ed,neutralFillStrongHoverDeltaValue:()=>Ks,neutralFillStrongRestDeltaValue:()=>Zs,neutralPaletteValue:()=>Ds,neutralStrokeActiveDeltaValue:()=>od,neutralStrokeDividerRestDeltaValue:()=>nd,neutralStrokeFocusDeltaValue:()=>id,neutralStrokeHoverDeltaValue:()=>td,neutralStrokeRestDeltaValue:()=>rd,prefix:()=>ld,strokeWidthValue:()=>dd,typeRampBaseFontSizeValue:()=>vd,typeRampBaseLineHeightValue:()=>fd,typeRampMinus1FontSizeValue:()=>wd,typeRampMinus1LineHeightValue:()=>yd,typeRampMinus2FontSizeValue:()=>xd,typeRampMinus2LineHeightValue:()=>kd,typeRampPlus1FontSizeValue:()=>zd,typeRampPlus1LineHeightValue:()=>Sd,typeRampPlus2FontSizeValue:()=>Cd,typeRampPlus2LineHeightValue:()=>$d,typeRampPlus3FontSizeValue:()=>Ad,typeRampPlus3LineHeightValue:()=>Od,typeRampPlus4FontSizeValue:()=>Dd,typeRampPlus4LineHeightValue:()=>Fd,typeRampPlus5FontSizeValue:()=>Td,typeRampPlus5LineHeightValue:()=>Rd,typeRampPlus6FontSizeValue:()=>Nd,typeRampPlus6LineHeightValue:()=>Ld});var l=r(57213),g=r(24636),s=r(43543),d=r(17914);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(83453),h=r.n(u),m=r(60496),b=r(57418),v=r(34387),f=r(44405),w=r(85090);const y=b.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[427],{7526:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Zm,ColorToken:()=>eb,ColorTokens:()=>ib,DesignSystemEditor:()=>jm,DesignSystemExport:()=>Wm,DesignSystemPreview:()=>cb,EventName:()=>Cm,PreviewComponents:()=>Vm,PreviewForm:()=>fb,PreviewGrid:()=>kb,TypographyTokens:()=>sb,defaultBodyFont:()=>Dm,fontFamilies:()=>Am});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,buyColor:()=>Ve,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>He,defaultErrorColor:()=>Le,defaultSellColor:()=>Qe,defaultSuccessColor:()=>je,defaultWarningColor:()=>Ge,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>Ie,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:()=>We,strokeWidth:()=>f.strokeWidth,successColor:()=>Pe,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:()=>_e});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>qe,baseLayerLuminanceValue:()=>Ze,bodyFontValue:()=>sa,controlCornerRadiusValue:()=>aa,densityValue:()=>ra,designTokens:()=>ca,designUnitValue:()=>ta,directionValue:()=>Xe,neutralPaletteValue:()=>Je,strokeWidthValue:()=>ea,typeRampBaseFontSizeValue:()=>ga,typeRampBaseLineHeightValue:()=>da});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:()=>$g,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>Cg,defaultErrorColor:()=>bg,defaultSellColor:()=>Dg,defaultSuccessColor:()=>wg,defaultWarningColor:()=>kg,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>vg,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:()=>Tg,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:()=>zg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Lg,accentFillFocusDeltaValue:()=>Ig,accentFillHoverDeltaValue:()=>Mg,accentFillRestDeltaValue:()=>Ng,accentForegroundActiveDeltaValue:()=>Pg,accentForegroundFocusDeltaValue:()=>Bg,accentForegroundHoverDeltaValue:()=>jg,accentForegroundRestDeltaValue:()=>Eg,accentPaletteValue:()=>Fg,baseHeightMultiplierValue:()=>hd,baseLayerLuminanceValue:()=>Rg,bodyFontValue:()=>fd,controlCornerRadiusValue:()=>md,densityValue:()=>bd,designTokens:()=>Ed,designUnitValue:()=>vd,directionValue:()=>dd,disabledOpacityValue:()=>cd,focusStrokeWidthValue:()=>ud,neutralFillActiveDeltaValue:()=>Ug,neutralFillFocusDeltaValue:()=>Hg,neutralFillHoverDeltaValue:()=>_g,neutralFillInputActiveDeltaValue:()=>Qg,neutralFillInputFocusDeltaValue:()=>Wg,neutralFillInputHoverDeltaValue:()=>Yg,neutralFillInputRestDeltaValue:()=>Vg,neutralFillLayerRestDeltaValue:()=>td,neutralFillRestDeltaValue:()=>Gg,neutralFillStealthActiveDeltaValue:()=>Zg,neutralFillStealthFocusDeltaValue:()=>Kg,neutralFillStealthHoverDeltaValue:()=>Jg,neutralFillStealthRestDeltaValue:()=>qg,neutralFillStrongActiveDeltaValue:()=>ad,neutralFillStrongFocusDeltaValue:()=>rd,neutralFillStrongHoverDeltaValue:()=>ed,neutralFillStrongRestDeltaValue:()=>Xg,neutralPaletteValue:()=>Og,neutralStrokeActiveDeltaValue:()=>nd,neutralStrokeDividerRestDeltaValue:()=>sd,neutralStrokeFocusDeltaValue:()=>ld,neutralStrokeHoverDeltaValue:()=>id,neutralStrokeRestDeltaValue:()=>od,prefix:()=>gd,strokeWidthValue:()=>pd,typeRampBaseFontSizeValue:()=>wd,typeRampBaseLineHeightValue:()=>yd,typeRampMinus1FontSizeValue:()=>xd,typeRampMinus1LineHeightValue:()=>kd,typeRampMinus2FontSizeValue:()=>zd,typeRampMinus2LineHeightValue:()=>Sd,typeRampPlus1FontSizeValue:()=>Cd,typeRampPlus1LineHeightValue:()=>$d,typeRampPlus2FontSizeValue:()=>Ad,typeRampPlus2LineHeightValue:()=>Dd,typeRampPlus3FontSizeValue:()=>Td,typeRampPlus3LineHeightValue:()=>Fd,typeRampPlus4FontSizeValue:()=>Od,typeRampPlus4LineHeightValue:()=>Rd,typeRampPlus5FontSizeValue:()=>Nd,typeRampPlus5LineHeightValue:()=>Md,typeRampPlus6FontSizeValue:()=>Ld,typeRampPlus6LineHeightValue:()=>Id});var l=r(22064),s=r(24636),g=r(43543),d=r(17914);const c=e=>{var a,r,t,o,i,n,l,s,g;return g=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",s).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 s=!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?(s=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,s,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(s=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"))),s},s=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)},g},p=Symbol("layout-cache-document");var u=r(83453),h=r.n(u),m=r(60496),b=r(57418),v=r(34387),f=r(44405),w=r(85090);const y=b.css`
2
2
  :host {
3
3
  border: calc(${f.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -56,7 +56,7 @@
56
56
  background: ${w.A.Canvas};
57
57
  border-color: ${w.A.CanvasText};
58
58
  }
59
- `)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(20651);const z=(0,k.createLogger)("foundation-form"),S=b.html`
59
+ `)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(65278);const z=(0,k.createLogger)("foundation-form"),S=b.html`
60
60
  <template>
61
61
  ${(0,b.when)((e=>!1),b.html`
62
62
  <rapid-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
@@ -73,7 +73,7 @@
73
73
  />
74
74
  `)}
75
75
  </template>
76
- `,C=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=x[e.params.pattern])&&void 0!==t?t:"Invalid pattern.":(0,m.mXY)(e,a,r)})(e,a,r)};let $=class extends b.FASTElement{constructor(){super(...arguments),this.ajv=(0,m.grE)({useDefaults:!0}),this.dispatch=e=>{this.jsonforms=Object.assign(Object.assign({},this.jsonforms),{core:(0,m.kkC)(this.jsonforms.core,e)}),this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})},this.validate=e=>{var a,r,t;const o=null===(r=null===(a=this.jsonforms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.data;if(!o)return[];const i=[];return null===(t=null==e?void 0:e.elements)||void 0===t||t.forEach((e=>{var a,r,t,n;const l=null===(a=null==e?void 0:e.options)||void 0===a?void 0:a.validateFn;if("function"!=typeof l)return;const g=null===(t=null===(r=null==e?void 0:e.scope)||void 0===r?void 0:r.split("/"))||void 0===t?void 0:t.pop(),s=null==e?void 0:e.label;let d=null!==(n=l(o,g,s))&&void 0!==n?n:[];Array.isArray(d)||(d=[d]),i.push(...d)})),i}}prefixChanged(){this.schemaChanged()}schemaChanged(){var e,a,r,t;if(!this.schema)return;this.uichemaToUse=null!==(e=this.uischema)&&void 0!==e?e:m.wyb.uiSchema(this.schema),this.uischema||z.debug("UI schema not provided. Auto generated schema:",this.uichemaToUse);const o=this.validate(this.uichemaToUse);this.jsonforms={core:(()=>{const e={data:this.data,schema:this.schema,uischema:this.uichemaToUse};return(0,m.kkC)(e,m.En0.init(this.data,this.schema,this.uichemaToUse,{validationMode:this.validationMode||"ValidateAndShow",ajv:this.ajv,additionalErrors:o}))})(),config:(0,m.tWo)(void 0,m.En0.setConfig(this.config)),i18n:(0,m.Fxm)(this.i18n,m.En0.updateI18n(null===(a=this.i18n)||void 0===a?void 0:a.locale,null===(r=this.i18n)||void 0===r?void 0:r.translate,(null===(t=this.i18n)||void 0===t?void 0:t.translateError)||C)),renderers:this.renderers,readonly:this.readonly},this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})}uischemaChanged(){this.schemaChanged()}dataChanged(){this.schemaChanged()}renderersChanged(){this.schemaChanged()}validationModeChanged(){this.schemaChanged()}ajvChanged(){this.schemaChanged()}readonlyChanged(){this.schemaChanged()}configChanged(){this.schemaChanged()}get props(){var e;if(!this.schema&&!this.uischema)return;const a=null!==(e=this.uischema)&&void 0!==e?e:m.wyb.uiSchema(this.schema);return{uischema:Object.assign(Object.assign({},a),{elements:a.elements.map((e=>"#/properties/TIMESTAMP"===e.scope?Object.assign(Object.assign({},e),{options:{hidden:!0}}):e))}),schema:this.schema,path:"",enabled:!0,visible:!0}}copyUISchemaToClipboard(){return(0,g.__awaiter)(this,void 0,void 0,(function*(){try{yield navigator.clipboard.writeText(JSON.stringify(this.uichemaToUse)),z.debug("Autogenerated UI schema copied to clipboard")}catch(e){z.error("Failed to copy autogenerated UI schema: ",e)}}))}};(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],$.prototype,"submitted",void 0),(0,g.__decorate)([b.observable],$.prototype,"prefix",void 0),(0,g.__decorate)([b.observable],$.prototype,"jsonforms",void 0),(0,g.__decorate)([b.observable],$.prototype,"i18n",void 0),(0,g.__decorate)([b.observable],$.prototype,"uichemaToUse",void 0),(0,g.__decorate)([b.observable],$.prototype,"schema",void 0),(0,g.__decorate)([b.observable],$.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],$.prototype,"data",void 0),(0,g.__decorate)([b.observable],$.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],$.prototype,"validationMode",void 0),(0,g.__decorate)([b.observable],$.prototype,"ajv",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],$.prototype,"readonly",void 0),(0,g.__decorate)([b.observable],$.prototype,"config",void 0),$=(0,g.__decorate)([(0,b.customElement)({name:"json-forms",template:S,styles:b.css`
76
+ `,C=(e,a,r)=>{var t,o,i,n;return null!==(n=null===(i=null===(o=null===(t=null==r?void 0:r.options)||void 0===t?void 0:t.i18n)||void 0===o?void 0:o.error)||void 0===i?void 0:i[e.keyword])&&void 0!==n?n:((e,a,r)=>{var t;return"pattern"===(null==e?void 0:e.keyword)?null!==(t=x[e.params.pattern])&&void 0!==t?t:"Invalid pattern.":(0,m.mXY)(e,a,r)})(e,a,r)};let $=class extends b.FASTElement{constructor(){super(...arguments),this.ajv=(0,m.grE)({useDefaults:!0}),this.dispatch=e=>{this.jsonforms=Object.assign(Object.assign({},this.jsonforms),{core:(0,m.kkC)(this.jsonforms.core,e)}),this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})},this.validate=e=>{var a,r,t;const o=null===(r=null===(a=this.jsonforms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.data;if(!o)return[];const i=[];return null===(t=null==e?void 0:e.elements)||void 0===t||t.forEach((e=>{var a,r,t,n;const l=null===(a=null==e?void 0:e.options)||void 0===a?void 0:a.validateFn;if("function"!=typeof l)return;const s=null===(t=null===(r=null==e?void 0:e.scope)||void 0===r?void 0:r.split("/"))||void 0===t?void 0:t.pop(),g=null==e?void 0:e.label;let d=null!==(n=l(o,s,g))&&void 0!==n?n:[];Array.isArray(d)||(d=[d]),i.push(...d)})),i}}prefixChanged(){this.schemaChanged()}schemaChanged(){var e,a,r,t;if(!this.schema)return;this.uichemaToUse=null!==(e=this.uischema)&&void 0!==e?e:m.wyb.uiSchema(this.schema),this.uischema||z.debug("UI schema not provided. Auto generated schema:",this.uichemaToUse);const o=this.validate(this.uichemaToUse);this.jsonforms={core:(()=>{const e={data:this.data,schema:this.schema,uischema:this.uichemaToUse};return(0,m.kkC)(e,m.En0.init(this.data,this.schema,this.uichemaToUse,{validationMode:this.validationMode||"ValidateAndShow",ajv:this.ajv,additionalErrors:o}))})(),config:(0,m.tWo)(void 0,m.En0.setConfig(this.config)),i18n:(0,m.Fxm)(this.i18n,m.En0.updateI18n(null===(a=this.i18n)||void 0===a?void 0:a.locale,null===(r=this.i18n)||void 0===r?void 0:r.translate,(null===(t=this.i18n)||void 0===t?void 0:t.translateError)||C)),renderers:this.renderers,readonly:this.readonly},this.$emit("data-change",{data:this.jsonforms.core.data,errors:this.jsonforms.core.errors})}uischemaChanged(){this.schemaChanged()}dataChanged(){this.schemaChanged()}renderersChanged(){this.schemaChanged()}validationModeChanged(){this.schemaChanged()}ajvChanged(){this.schemaChanged()}readonlyChanged(){this.schemaChanged()}configChanged(){this.schemaChanged()}get props(){var e;if(!this.schema&&!this.uischema)return;const a=null!==(e=this.uischema)&&void 0!==e?e:m.wyb.uiSchema(this.schema);return{uischema:Object.assign(Object.assign({},a),{elements:a.elements.map((e=>"#/properties/TIMESTAMP"===e.scope?Object.assign(Object.assign({},e),{options:{hidden:!0}}):e))}),schema:this.schema,path:"",enabled:!0,visible:!0}}copyUISchemaToClipboard(){return(0,s.__awaiter)(this,void 0,void 0,(function*(){try{yield navigator.clipboard.writeText(JSON.stringify(this.uichemaToUse)),z.debug("Autogenerated UI schema copied to clipboard")}catch(e){z.error("Failed to copy autogenerated UI schema: ",e)}}))}};(0,s.__decorate)([(0,b.attr)({mode:"boolean"})],$.prototype,"submitted",void 0),(0,s.__decorate)([b.observable],$.prototype,"prefix",void 0),(0,s.__decorate)([b.observable],$.prototype,"jsonforms",void 0),(0,s.__decorate)([b.observable],$.prototype,"i18n",void 0),(0,s.__decorate)([b.observable],$.prototype,"uichemaToUse",void 0),(0,s.__decorate)([b.observable],$.prototype,"schema",void 0),(0,s.__decorate)([b.observable],$.prototype,"uischema",void 0),(0,s.__decorate)([b.observable],$.prototype,"data",void 0),(0,s.__decorate)([b.observable],$.prototype,"renderers",void 0),(0,s.__decorate)([b.observable],$.prototype,"validationMode",void 0),(0,s.__decorate)([b.observable],$.prototype,"ajv",void 0),(0,s.__decorate)([(0,b.attr)({mode:"boolean"})],$.prototype,"readonly",void 0),(0,s.__decorate)([b.observable],$.prototype,"config",void 0),$=(0,s.__decorate)([(0,b.customElement)({name:"json-forms",template:S,styles:b.css`
77
77
  .clipboard-button {
78
78
  display: flex;
79
79
  }
@@ -94,7 +94,7 @@
94
94
  .item-control-btn:hover {
95
95
  color: var(--accent-foreground-hover);
96
96
  }
97
- `;let O=class extends b.FASTElement{controlChanged(){if(this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema;const e=m.wyb.uiSchema(this.schema);this.uiSchema=Object.assign(Object.assign({},e),{type:"HorizontalLayout"}),z.debug("Auto generated uiSchema for layout array:",this.uiSchema)}addItem(){this.control.addItem(this.control.path,(0,m.DmA)(this.control.schema,this.control.rootSchema))()}deleteItem(e){this.control.removeItems(this.control.path,[e])()}};(0,g.__decorate)([b.observable],O.prototype,"form",void 0),(0,g.__decorate)([b.observable],O.prototype,"control",void 0),(0,g.__decorate)([b.observable],O.prototype,"schema",void 0),(0,g.__decorate)([b.observable],O.prototype,"uiSchema",void 0),O=(0,g.__decorate)([(0,b.customElement)({name:"array-list-wrapper",styles:A,template:b.html`
97
+ `;let D=class extends b.FASTElement{controlChanged(){if(this.control.uischema.options)return void(this.uiSchema=this.control.uischema.options.childUiSchema);this.schema=this.control.schema;const e=m.wyb.uiSchema(this.schema);this.uiSchema=Object.assign(Object.assign({},e),{type:"HorizontalLayout"}),z.debug("Auto generated uiSchema for layout array:",this.uiSchema)}addItem(){this.control.addItem(this.control.path,(0,m.DmA)(this.control.schema,this.control.rootSchema))()}deleteItem(e){this.control.removeItems(this.control.path,[e])()}};(0,s.__decorate)([b.observable],D.prototype,"form",void 0),(0,s.__decorate)([b.observable],D.prototype,"control",void 0),(0,s.__decorate)([b.observable],D.prototype,"schema",void 0),(0,s.__decorate)([b.observable],D.prototype,"uiSchema",void 0),D=(0,s.__decorate)([(0,b.customElement)({name:"array-list-wrapper",styles:A,template:b.html`
98
98
  ${e=>((e="zero")=>b.html`
99
99
  <template>
100
100
  ${(0,b.repeat)((e=>Array(e.control.data)),b.html`
@@ -127,7 +127,7 @@
127
127
  </${e}-button>
128
128
  </template>
129
129
  `)(e.form.prefix)}
130
- `})],O);const D=b.css`
130
+ `})],D);const T=b.css`
131
131
  .tabs-container::part(tablist) {
132
132
  background-color: transparent;
133
133
  border-bottom: none;
@@ -140,7 +140,7 @@
140
140
  .tab-panel-control {
141
141
  margin-top: 10px;
142
142
  }
143
- `;let F=class extends b.FASTElement{};(0,g.__decorate)([b.observable],F.prototype,"form",void 0),(0,g.__decorate)([b.observable],F.prototype,"control",void 0),F=(0,g.__decorate)([(0,b.customElement)({name:"categorization-wrapper",styles:D,template:b.html`
143
+ `;let F=class extends b.FASTElement{};(0,s.__decorate)([b.observable],F.prototype,"form",void 0),(0,s.__decorate)([b.observable],F.prototype,"control",void 0),F=(0,s.__decorate)([(0,b.customElement)({name:"categorization-wrapper",styles:T,template:b.html`
144
144
  ${e=>((e="zero")=>b.html`
145
145
  <template>
146
146
  <${e}-tabs class="tabs-container">
@@ -163,11 +163,11 @@
163
163
  </${e}-tabs>
164
164
  </template>
165
165
  `)(e.form.prefix)}
166
- `})],F);var T=r(31679);const R=b.html`
166
+ `})],F);var O=r(31679);const R=b.html`
167
167
  <template>
168
168
  ${(0,b.when)((e=>{var a;return null===(a=e.control)||void 0===a?void 0:a.visible}),b.html`
169
169
  <div
170
- class=${e=>{var a,r,t,o;return(0,T.x)(["wrapperRoot",!0],["labelLeft","left"===(null===(o=null===(t=null===(r=null===(a=e.jsonForms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.uischema)||void 0===t?void 0:t.options)||void 0===o?void 0:o.labelPlacement)])}}
170
+ class=${e=>{var a,r,t,o;return(0,O.x)(["wrapperRoot",!0],["labelLeft","left"===(null===(o=null===(t=null===(r=null===(a=e.jsonForms)||void 0===a?void 0:a.core)||void 0===r?void 0:r.uischema)||void 0===t?void 0:t.options)||void 0===o?void 0:o.labelPlacement)])}}
171
171
  id=${e=>e.control.path+"-wrapper"}
172
172
  data-test-id=${e=>e.control.path+"-wrapper"}
173
173
  >
@@ -220,15 +220,15 @@
220
220
  width: 100%;
221
221
  align-items: center;
222
222
  }
223
- `;let L=class extends b.FASTElement{constructor(){super(...arguments),this.hideLabel=!1}get showDescription(){return!(0,m.Pfe)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,m.m25)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,g.__decorate)([b.observable],L.prototype,"control",void 0),(0,g.__decorate)([b.observable],L.prototype,"jsonForms",void 0),(0,g.__decorate)([b.observable],L.prototype,"touched",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean",attribute:"hide-label"})],L.prototype,"hideLabel",void 0),(0,g.__decorate)([b.volatile],L.prototype,"showDescription",null),(0,g.__decorate)([b.volatile],L.prototype,"computedLabel",null),L=(0,g.__decorate)([(0,b.customElement)({name:"control-wrapper",styles:N,template:R})],L);var M=r(20469),I=r.n(M);const j=b.html`
223
+ `;let M=class extends b.FASTElement{constructor(){super(...arguments),this.hideLabel=!1}get showDescription(){return!(0,m.Pfe)(this.control.visible,this.control.description,this.control.isFocused,!!this.control.config.showUnfocusedDescription)}get computedLabel(){return(0,m.m25)(this.control.label,this.control.required,!!this.control.config.hideRequiredAsterisk)}};(0,s.__decorate)([b.observable],M.prototype,"control",void 0),(0,s.__decorate)([b.observable],M.prototype,"jsonForms",void 0),(0,s.__decorate)([b.observable],M.prototype,"touched",void 0),(0,s.__decorate)([(0,b.attr)({mode:"boolean",attribute:"hide-label"})],M.prototype,"hideLabel",void 0),(0,s.__decorate)([b.volatile],M.prototype,"showDescription",null),(0,s.__decorate)([b.volatile],M.prototype,"computedLabel",null),M=(0,s.__decorate)([(0,b.customElement)({name:"control-wrapper",styles:N,template:R})],M);var L=r(20469),I=r.n(L);const E=b.html`
224
224
  <template>${e=>e.determinedRenderer.renderer}</template>
225
- `,E=b.css``;let P=class extends b.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,m.DWl)({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.XGy)||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=I()(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],P.prototype,"jsonforms",void 0),(0,g.__decorate)([b.observable],P.prototype,"props",void 0),(0,g.__decorate)([b.observable],P.prototype,"touched",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],P.prototype,"submitted",void 0),(0,g.__decorate)([b.observable],P.prototype,"dispatch",void 0),(0,g.__decorate)([b.observable],P.prototype,"control",void 0),(0,g.__decorate)([b.observable],P.prototype,"renderer",void 0),(0,g.__decorate)([b.observable],P.prototype,"prefix",void 0),P=(0,g.__decorate)([(0,b.customElement)({name:"dispatch-renderer",template:j,styles:E})],P);const B=b.css`
225
+ `,j=b.css``;let P=class extends b.FASTElement{constructor(){super(...arguments),this.createRenderer=()=>{if(!this.jsonforms||!this.dispatch||!this.props)return;const e=(0,m.DWl)({jsonforms:this.jsonforms},this.props),{rootSchema:a}=e,r=(0,s.__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.XGy)||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=I()(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,s.__decorate)([b.observable],P.prototype,"jsonforms",void 0),(0,s.__decorate)([b.observable],P.prototype,"props",void 0),(0,s.__decorate)([b.observable],P.prototype,"touched",void 0),(0,s.__decorate)([(0,b.attr)({mode:"boolean"})],P.prototype,"submitted",void 0),(0,s.__decorate)([b.observable],P.prototype,"dispatch",void 0),(0,s.__decorate)([b.observable],P.prototype,"control",void 0),(0,s.__decorate)([b.observable],P.prototype,"renderer",void 0),(0,s.__decorate)([b.observable],P.prototype,"prefix",void 0),P=(0,s.__decorate)([(0,b.customElement)({name:"dispatch-renderer",template:E,styles:j})],P);const B=b.css`
226
226
  .tabs-container::part(stepper-panel-container) {
227
227
  display: flex;
228
228
  justify-content: flex-start;
229
229
  align-items: flex-start;
230
230
  }
231
- `;let G=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),this.propertyNames=this.control.uischema.elements.map((e=>e.scope.split("/").pop())),this.validation=this.propertyNames.map(((e,a)=>({isValid:()=>0===(0,m.L3M)(e,this.control.schema)(this.form).length&&Object.keys(this.control.data)[a]===e})))}submit(){this.$emit("submit-button-clicked")}nextStep(){this.$emit("submit-part");const e=this.propertyNames[this.stepper.activeTabIndex];this.control.data[e]||this.$emit("data-change",{data:Object.assign(Object.assign({},this.control.data),{[e]:{}})})}resetValidation(){this.$emit("reset-form")}};(0,g.__decorate)([b.observable],G.prototype,"form",void 0),(0,g.__decorate)([b.observable],G.prototype,"control",void 0),(0,g.__decorate)([b.observable],G.prototype,"validation",void 0),(0,g.__decorate)([b.observable],G.prototype,"stepper",void 0),(0,g.__decorate)([b.observable],G.prototype,"propertyNames",void 0),G=(0,g.__decorate)([(0,b.customElement)({name:"stepper-wrapper",styles:B,template:b.html`
231
+ `;let G=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),this.propertyNames=this.control.uischema.elements.map((e=>e.scope.split("/").pop())),this.validation=this.propertyNames.map(((e,a)=>({isValid:()=>0===(0,m.L3M)(e,this.control.schema)(this.form).length&&Object.keys(this.control.data)[a]===e})))}submit(){this.$emit("submit-button-clicked")}nextStep(){this.$emit("submit-part");const e=this.propertyNames[this.stepper.activeTabIndex];this.control.data[e]||this.$emit("data-change",{data:Object.assign(Object.assign({},this.control.data),{[e]:{}})})}resetValidation(){this.$emit("reset-form")}};(0,s.__decorate)([b.observable],G.prototype,"form",void 0),(0,s.__decorate)([b.observable],G.prototype,"control",void 0),(0,s.__decorate)([b.observable],G.prototype,"validation",void 0),(0,s.__decorate)([b.observable],G.prototype,"stepper",void 0),(0,s.__decorate)([b.observable],G.prototype,"propertyNames",void 0),G=(0,s.__decorate)([(0,b.customElement)({name:"stepper-wrapper",styles:B,template:b.html`
232
232
  ${e=>((e="zero")=>b.html`
233
233
  <template>
234
234
  <${e}-stepper
@@ -310,7 +310,7 @@
310
310
  </control-wrapper>
311
311
  </template>
312
312
  `)(e.prefix)}
313
- `,tester:(0,m.Hc7)(3,U),mapper:m.kOB};var V=r(86467);const Y=e=>a=>{if(!a||!(0,m.c0N)(a))return!1;const r=a.options;return!(!r||!r[e])},Q=(0,m.Uo6)(Y("allOptionsResourceName"),(0,m.or)((0,m.f4S)((e=>(0,m.dfR)(e,"array"))),(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.dfR)(e,"array")))))));V.MultiselectDatasource;const W={renderer:b.html`
313
+ `,tester:(0,m.Hc7)(3,U),mapper:m.kOB};var V=r(42910);const Y=e=>a=>{if(!a||!(0,m.c0N)(a))return!1;const r=a.options;return!(!r||!r[e])},Q=(0,m.Uo6)(Y("allOptionsResourceName"),(0,m.or)((0,m.f4S)((e=>(0,m.dfR)(e,"array"))),(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.dfR)(e,"array")))))));V.MultiselectDatasource;const W={renderer:b.html`
314
314
  ${e=>((e="zero")=>b.html`
315
315
  <template>
316
316
  <control-wrapper
@@ -378,7 +378,7 @@
378
378
  ?submitted=${e=>e.submitted}
379
379
  >
380
380
  <${e}-text-field
381
- :value=${e=>{if(!e.control.data)return"";const a=X(e.control),r=new Date(e.control.data),t=e=>e.toString().padStart(2,"0"),o=r.getUTCFullYear(),i=t(r.getUTCMonth()+1),n=t(r.getUTCDate()),l=t(r.getUTCHours()),g=t(r.getUTCMinutes());return`${o}-${i}-${n}`+("datetime-local"===a?` ${l}:${g}`:"")}}
381
+ :value=${e=>{if(!e.control.data)return"";const a=X(e.control),r=new Date(e.control.data),t=e=>e.toString().padStart(2,"0"),o=r.getUTCFullYear(),i=t(r.getUTCMonth()+1),n=t(r.getUTCDate()),l=t(r.getUTCHours()),s=t(r.getUTCMinutes());return`${o}-${i}-${n}`+("datetime-local"===a?` ${l}:${s}`:"")}}
382
382
  id=${e=>e.control.path}
383
383
  type="${e=>X(e.control)}"
384
384
  data-test-id=${e=>e.control.path}
@@ -423,7 +423,7 @@
423
423
  style="display: none"
424
424
  ></pre>
425
425
  </template>
426
- `,tester:(0,m.Hc7)(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.kOB},ne=e=>a=>(0,m.dfR)(a,"array")&&a.hasOwnProperty("items")&&a.items.type===e,le=e=>(0,m.f4S)((a=>a.hasOwnProperty("oneOf")&&a.oneOf.some(ne(e))||ne(e)(a))),ge={renderer:b.html`
426
+ `,tester:(0,m.Hc7)(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.kOB},ne=e=>a=>(0,m.dfR)(a,"array")&&a.hasOwnProperty("items")&&a.items.type===e,le=e=>(0,m.f4S)((a=>a.hasOwnProperty("oneOf")&&a.oneOf.some(ne(e))||ne(e)(a))),se={renderer:b.html`
427
427
  <template>
428
428
  <control-wrapper
429
429
  :control=${e=>e.control}
@@ -434,7 +434,7 @@
434
434
  <array-list-wrapper :form=${e=>e} :control=${e=>e.control}></array-list-wrapper>
435
435
  </control-wrapper>
436
436
  </template>
437
- `,tester:(0,m.Hc7)(2,le("object")),mapper:m.i8T,dispatchMapper:m.oid},se={renderer:b.html`
437
+ `,tester:(0,m.Hc7)(2,le("object")),mapper:m.i8T,dispatchMapper:m.oid},ge={renderer:b.html`
438
438
  <template>
439
439
  <categorization-wrapper :form=${e=>e} :control=${e=>e.control}></categorization-wrapper>
440
440
  </template>
@@ -466,7 +466,7 @@
466
466
  </div>
467
467
  </layout-wrapper>
468
468
  </template>
469
- `,tester:(0,m.Hc7)(2,m.IZG),mapper:m.n93};let ce=class extends b.FASTElement{constructor(){super(...arguments),this.hideLabel=!1}};(0,g.__decorate)([b.observable],ce.prototype,"control",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean",attribute:"hide-label"})],ce.prototype,"hideLabel",void 0),ce=(0,g.__decorate)([(0,b.customElement)({name:"layout-wrapper",template:b.html`
469
+ `,tester:(0,m.Hc7)(2,m.IZG),mapper:m.n93};let ce=class extends b.FASTElement{constructor(){super(...arguments),this.hideLabel=!1}};(0,s.__decorate)([b.observable],ce.prototype,"control",void 0),(0,s.__decorate)([(0,b.attr)({mode:"boolean",attribute:"hide-label"})],ce.prototype,"hideLabel",void 0),ce=(0,s.__decorate)([(0,b.customElement)({name:"layout-wrapper",template:b.html`
470
470
  ${(0,b.when)((e=>e.control.label&&!e.hideLabel),b.html`
471
471
  <div style="color: var(--neutral-foreground-hint);">${e=>e.control.label}</div>
472
472
  `)}
@@ -624,7 +624,7 @@
624
624
  </control-wrapper>
625
625
  </template>
626
626
  `)(e.prefix)}
627
- `,Se={renderer:ze,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},Ce=[{renderer:ze,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},Se,H,ye,ge,se,de,ue,me,pe,he,fe,W,oe,q,ee,ie];let $e=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=Ce,this.additionalRenderers=[],this.mergedRenderers=Ce,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}renderersChanged(){this.updateMergedRenderers()}additionalRenderersChanged(){this.updateMergedRenderers()}updateMergedRenderers(){const{renderers:e=[],additionalRenderers:a=[]}=this;this.mergedRenderers=[...e,...a]}_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"})],$e.prototype,"prefix",void 0),(0,g.__decorate)([b.attr],$e.prototype,"resourceName",void 0),(0,g.__decorate)([b.observable],$e.prototype,"uischema",void 0),(0,g.__decorate)([b.observable],$e.prototype,"renderers",void 0),(0,g.__decorate)([b.observable],$e.prototype,"additionalRenderers",void 0),(0,g.__decorate)([b.observable],$e.prototype,"mergedRenderers",void 0),(0,g.__decorate)([b.observable],$e.prototype,"jsonSchema",void 0),(0,g.__decorate)([s.dm],$e.prototype,"connect",void 0),(0,g.__decorate)([b.observable],$e.prototype,"data",void 0),(0,g.__decorate)([b.observable],$e.prototype,"submitting",void 0),(0,g.__decorate)([b.observable],$e.prototype,"submitted",void 0),(0,g.__decorate)([(0,b.attr)({mode:"boolean"})],$e.prototype,"readonly",void 0),(0,g.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],$e.prototype,"hideSubmit",void 0),(0,g.__decorate)([b.volatile],$e.prototype,"isSubmitHidden",null),$e=(0,g.__decorate)([(0,b.customElement)({name:"foundation-form",template:_,styles:y})],$e);var Ae,Oe,De,Fe,Te,Re=r(4273);!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",e.warning="#FFB660",e.buy="#7ACC79",e.sell="#F14376"}(Ae||(Ae={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(Oe||(Oe={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(De||(De={})),function(e){e.grey="#7c909b"}(Fe||(Fe={})),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"}(Te||(Te={}));const{create:Ne}=v.DesignToken,Le=(0,Re.parseColorHexRGB)(Ae.error),Me=f.SwatchRGB.create(Le.r,Le.g,Le.b),Ie=Ne("error-color").withDefault(Me),je=(0,Re.parseColorHexRGB)(Ae.success),Ee=f.SwatchRGB.create(je.r,je.g,je.b),Pe=Ne("success-color").withDefault(Ee),Be=(0,Re.parseColorHexRGB)(Ae.warning),Ge=f.SwatchRGB.create(Be.r,Be.g,Be.b),_e=Ne("warning-color").withDefault(Ge),Ue=(0,Re.parseColorHexRGB)(Ae.buy),He=f.SwatchRGB.create(Ue.r,Ue.g,Ue.b),Ve=Ne("buy-color").withDefault(He),Ye=(0,Re.parseColorHexRGB)(Ae.sell),Qe=f.SwatchRGB.create(Ye.r,Ye.g,Ye.b),We=Ne("sell-color").withDefault(Qe),qe=(0,V.paletteFromHex)(Oe.blue),Je=(0,V.paletteFromHex)(Fe.grey),Ze=f.StandardLuminance.DarkMode;var Ke=r(85109);const Xe=Ke.O.ltr,ea=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),aa=4,ra=f.density.getValueFor(f.density.appliedTo[0]),ta=4;var oa=r(80273);const ia=()=>{(0,oa.WP)("\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")},na='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',la=(e=oa.zz.Normal,a=oa.IT.Regular)=>(0,oa.f4)(na,e,a),ga=na,sa=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),da=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),ca={design_tokens:{color:{accent:{$value:qe.source.toColorString(),$type:"color"},neutral:{$value:Je.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:ga,$type:"fontFamily"}},typography:{baseFontSize:{$value:sa,$type:"dimension"},baseLineHeight:{$value:da,$type:"dimension"}},mode:{luminance:{$value:Ze,$type:"number"}},style:{density:{$value:ra,$type:"number"},borderRadius:{$value:aa,$type:"number"},strokeWidth:{$value:ea,$type:"number"}},space:{designUnit:{$value:ta,$type:"number"}}}};class pa extends V.Accordion{}const ua=pa.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,V.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
627
+ `,Se={renderer:ze,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},Ce=[{renderer:ze,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},Se,H,ye,se,ge,de,ue,me,pe,he,fe,W,oe,q,ee,ie];let $e=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=Ce,this.additionalRenderers=[],this.mergedRenderers=Ce,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,s.__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}renderersChanged(){this.updateMergedRenderers()}additionalRenderersChanged(){this.updateMergedRenderers()}updateMergedRenderers(){const{renderers:e=[],additionalRenderers:a=[]}=this;this.mergedRenderers=[...e,...a]}_submit(){return(0,s.__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,s.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],$e.prototype,"prefix",void 0),(0,s.__decorate)([b.attr],$e.prototype,"resourceName",void 0),(0,s.__decorate)([b.observable],$e.prototype,"uischema",void 0),(0,s.__decorate)([b.observable],$e.prototype,"renderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"additionalRenderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"mergedRenderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"jsonSchema",void 0),(0,s.__decorate)([g.dm],$e.prototype,"connect",void 0),(0,s.__decorate)([b.observable],$e.prototype,"data",void 0),(0,s.__decorate)([b.observable],$e.prototype,"submitting",void 0),(0,s.__decorate)([b.observable],$e.prototype,"submitted",void 0),(0,s.__decorate)([(0,b.attr)({mode:"boolean"})],$e.prototype,"readonly",void 0),(0,s.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],$e.prototype,"hideSubmit",void 0),(0,s.__decorate)([b.volatile],$e.prototype,"isSubmitHidden",null),$e=(0,s.__decorate)([(0,b.customElement)({name:"foundation-form",template:_,styles:y})],$e);var Ae,De,Te,Fe,Oe,Re=r(4273);!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",e.warning="#FFB660",e.buy="#7ACC79",e.sell="#F14376"}(Ae||(Ae={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(De||(De={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(Te||(Te={})),function(e){e.grey="#7c909b"}(Fe||(Fe={})),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"}(Oe||(Oe={}));const{create:Ne}=v.DesignToken,Me=(0,Re.parseColorHexRGB)(Ae.error),Le=f.SwatchRGB.create(Me.r,Me.g,Me.b),Ie=Ne("error-color").withDefault(Le),Ee=(0,Re.parseColorHexRGB)(Ae.success),je=f.SwatchRGB.create(Ee.r,Ee.g,Ee.b),Pe=Ne("success-color").withDefault(je),Be=(0,Re.parseColorHexRGB)(Ae.warning),Ge=f.SwatchRGB.create(Be.r,Be.g,Be.b),_e=Ne("warning-color").withDefault(Ge),Ue=(0,Re.parseColorHexRGB)(Ae.buy),He=f.SwatchRGB.create(Ue.r,Ue.g,Ue.b),Ve=Ne("buy-color").withDefault(He),Ye=(0,Re.parseColorHexRGB)(Ae.sell),Qe=f.SwatchRGB.create(Ye.r,Ye.g,Ye.b),We=Ne("sell-color").withDefault(Qe),qe=(0,V.paletteFromHex)(De.blue),Je=(0,V.paletteFromHex)(Fe.grey),Ze=f.StandardLuminance.DarkMode;var Ke=r(85109);const Xe=Ke.O.ltr,ea=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),aa=4,ra=f.density.getValueFor(f.density.appliedTo[0]),ta=4;var oa=r(80273);const ia=()=>{(0,oa.WP)("\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")},na='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',la=(e=oa.zz.Normal,a=oa.IT.Regular)=>(0,oa.f4)(na,e,a),sa=na,ga=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),da=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),ca={design_tokens:{color:{accent:{$value:qe.source.toColorString(),$type:"color"},neutral:{$value:Je.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:sa,$type:"fontFamily"}},typography:{baseFontSize:{$value:ga,$type:"dimension"},baseLineHeight:{$value:da,$type:"dimension"}},mode:{luminance:{$value:Ze,$type:"number"}},style:{density:{$value:ra,$type:"number"},borderRadius:{$value:aa,$type:"number"},strokeWidth:{$value:ea,$type:"number"}},space:{designUnit:{$value:ta,$type:"number"}}}};class pa extends V.Accordion{}const ua=pa.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,V.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
628
628
  ${(0,V.foundationAccordionStyles)(e,a)}
629
629
  `,shadowOptions:V.foundationAccordionShadowOptions},V.defaultAccordionConfig));class ha extends V.AccordionItem{}const ma=ha.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,V.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
630
630
  ${(0,V.foundationAccordionItemStyles)(e,a)};
@@ -653,34 +653,34 @@
653
653
  }
654
654
 
655
655
  ${(0,V.actionsMenuBaseStyles)(e,a)}
656
- `,template:V.foundationActionsMenuTemplate}),fa=(e,a=1)=>new Re.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),wa=(0,Re.parseColorHexRGB)(Ae.white),ya=(e=1)=>fa(wa,e),xa=((0,Re.parseColorHexRGB)(Ae.black),(0,Re.parseColorHexRGB)("#585858")),ka=(f.SwatchRGB.create(xa.r,xa.g,xa.b),(0,Re.parseColorHexRGB)("#202126")),za=f.SwatchRGB.create(ka.r,ka.g,ka.b),Sa=(f.PaletteRGB.from(za),(0,Re.parseColorHexRGB)(Oe.blue)),Ca=(e=1)=>fa(Sa,e),$a=f.SwatchRGB.create(Sa.r,Sa.g,Sa.b),Aa=(f.PaletteRGB.from($a),(0,Re.parseColorHexRGB)(Oe.purple)),Oa=(e=1)=>fa(Aa,e),Da=(0,Re.parseColorHexRGB)(De.orange),Fa=(e=1)=>fa(Da,e),Ta=(0,Re.parseColorHexRGB)(De.teal),Ra=(e=1)=>fa(Ta,e),Na=((0,Re.parseColorHexRGB)(Te.longGreen),(0,Re.parseColorHexRGB)(Te.chartPink),(0,Re.parseColorHexRGB)(Te.warningYellow)),La=(0,Re.parseColorHexRGB)(Te.chartPink),Ma=(e=1)=>fa(La,e);function Ia(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const ja=.3,Ea=.1,Pa=.5,Ba=b.css`
656
+ `,template:V.foundationActionsMenuTemplate}),fa=(e,a=1)=>new Re.ColorRGBA64(e.r,e.g,e.b,a).toStringWebRGBA(),wa=(0,Re.parseColorHexRGB)(Ae.white),ya=(e=1)=>fa(wa,e),xa=((0,Re.parseColorHexRGB)(Ae.black),(0,Re.parseColorHexRGB)("#585858")),ka=(f.SwatchRGB.create(xa.r,xa.g,xa.b),(0,Re.parseColorHexRGB)("#202126")),za=f.SwatchRGB.create(ka.r,ka.g,ka.b),Sa=(f.PaletteRGB.from(za),(0,Re.parseColorHexRGB)(De.blue)),Ca=(e=1)=>fa(Sa,e),$a=f.SwatchRGB.create(Sa.r,Sa.g,Sa.b),Aa=(f.PaletteRGB.from($a),(0,Re.parseColorHexRGB)(De.purple)),Da=(e=1)=>fa(Aa,e),Ta=(0,Re.parseColorHexRGB)(Te.orange),Fa=(e=1)=>fa(Ta,e),Oa=(0,Re.parseColorHexRGB)(Te.teal),Ra=(e=1)=>fa(Oa,e),Na=((0,Re.parseColorHexRGB)(Oe.longGreen),(0,Re.parseColorHexRGB)(Oe.chartPink),(0,Re.parseColorHexRGB)(Oe.warningYellow)),Ma=(0,Re.parseColorHexRGB)(Oe.chartPink),La=(e=1)=>fa(Ma,e);function Ia(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Ea=.3,ja=.1,Pa=.5,Ba=b.css`
657
657
  :host([appearance='primary-blue']) {
658
- background: ${Ca(ja)};
659
- border: 1px solid ${Oe.blue};
658
+ background: ${Ca(Ea)};
659
+ border: 1px solid ${De.blue};
660
660
  }
661
661
 
662
662
  :host([appearance='primary-blue']:hover) {
663
- background: ${Oe.blue};
663
+ background: ${De.blue};
664
664
  }
665
665
 
666
666
  :host([appearance='primary-blue']:active) {
667
- background: ${Ca(Ea)};
668
- border: 1px solid ${Ca(ja)};
667
+ background: ${Ca(ja)};
668
+ border: 1px solid ${Ca(Ea)};
669
669
  color: ${ya(Pa)};
670
670
  }
671
671
  `,Ga=b.css`
672
672
  :host([appearance='primary-purple']) {
673
- background: ${Oa(ja)};
674
- border: 1px solid ${Oe.purple};
673
+ background: ${Da(Ea)};
674
+ border: 1px solid ${De.purple};
675
675
  }
676
676
 
677
677
  :host([appearance='primary-purple']:hover) {
678
- background: ${Oe.purple};
678
+ background: ${De.purple};
679
679
  }
680
680
 
681
681
  :host([appearance='primary-purple']:active) {
682
- background: ${Oa(Ea)};
683
- border: 1px solid ${Oa(ja)};
682
+ background: ${Da(ja)};
683
+ border: 1px solid ${Da(Ea)};
684
684
  color: ${ya(Pa)};
685
685
  }
686
686
  `,_a=b.css`
@@ -691,8 +691,8 @@
691
691
  :host([appearance='primary-gradient']) {
692
692
  background-image: linear-gradient(
693
693
  var(--primary-gradient-angle),
694
- ${Oe.blue},
695
- ${Oe.purple}
694
+ ${De.blue},
695
+ ${De.purple}
696
696
  );
697
697
  background-origin: border-box;
698
698
  border: solid 1px transparent;
@@ -702,8 +702,8 @@
702
702
  :host([appearance='primary-gradient']:hover) {
703
703
  background-image: linear-gradient(
704
704
  var(--primary-gradient-angle),
705
- ${Oe.blue},
706
- ${Oe.purple}
705
+ ${De.blue},
706
+ ${De.purple}
707
707
  );
708
708
  background-origin: border-box;
709
709
  border: solid 1px transparent;
@@ -713,8 +713,8 @@
713
713
  :host([appearance='primary-gradient']:active) {
714
714
  background-image: linear-gradient(
715
715
  var(--primary-gradient-angle),
716
- ${Ca(ja)},
717
- ${Oa(ja)}
716
+ ${Ca(Ea)},
717
+ ${Da(Ea)}
718
718
  );
719
719
  background-origin: border-box;
720
720
  border: solid 1px transparent;
@@ -723,17 +723,17 @@
723
723
  }
724
724
  `,Ua=b.css`
725
725
  :host([appearance='secondary-orange']) {
726
- background: ${Fa(ja)};
727
- border: 1px solid ${De.orange};
726
+ background: ${Fa(Ea)};
727
+ border: 1px solid ${Te.orange};
728
728
  }
729
729
 
730
730
  :host([appearance='secondary-orange']:hover) {
731
- background: ${De.orange};
731
+ background: ${Te.orange};
732
732
  }
733
733
 
734
734
  :host([appearance='secondary-orange']:active) {
735
- background: ${Fa(Ea)};
736
- border: 1px solid ${Fa(ja)};
735
+ background: ${Fa(ja)};
736
+ border: 1px solid ${Fa(Ea)};
737
737
  color: ${ya(Pa)};
738
738
  }
739
739
  `,Ha=b.css`
@@ -761,17 +761,17 @@
761
761
  }
762
762
  `,Va=b.css`
763
763
  :host([appearance='secondary-teal']) {
764
- background: ${Ra(ja)};
765
- border: 1px solid ${De.teal};
764
+ background: ${Ra(Ea)};
765
+ border: 1px solid ${Te.teal};
766
766
  }
767
767
 
768
768
  :host([appearance='secondary-teal']:hover) {
769
- background: ${De.teal};
769
+ background: ${Te.teal};
770
770
  }
771
771
 
772
772
  :host([appearance='secondary-teal']:active) {
773
- background: ${Ra(Ea)};
774
- border: 1px solid ${Ra(ja)};
773
+ background: ${Ra(ja)};
774
+ border: 1px solid ${Ra(Ea)};
775
775
  color: ${ya(Pa)};
776
776
  }
777
777
  `,Ya=b.css`
@@ -798,21 +798,21 @@
798
798
  background:
799
799
  linear-gradient(
800
800
  var(--primary-gradient-angle),
801
- ${Oe.blue} 0%,
802
- ${Oe.purple} 100%
801
+ ${De.blue} 0%,
802
+ ${De.purple} 100%
803
803
  )
804
804
  top/100% 1px,
805
805
  linear-gradient(
806
806
  var(--primary-gradient-angle),
807
- ${Oe.blue} 0%,
808
- ${Oe.purple} 100%
807
+ ${De.blue} 0%,
808
+ ${De.purple} 100%
809
809
  )
810
810
  bottom/100% 1px;
811
811
  background-origin: border-box;
812
812
  background-repeat: no-repeat;
813
813
  border: 1px solid transparent;
814
- border-right-color: ${Oe.blue};
815
- border-left-color: ${Oe.purple};
814
+ border-right-color: ${De.blue};
815
+ border-left-color: ${De.purple};
816
816
  }
817
817
 
818
818
  :host([appearance='outline-primary-gradient']:hover) {
@@ -820,8 +820,8 @@
820
820
  background-repeat: unset;
821
821
  background-image: linear-gradient(
822
822
  var(--primary-gradient-angle),
823
- ${Oe.blue},
824
- ${Oe.purple}
823
+ ${De.blue},
824
+ ${De.purple}
825
825
  );
826
826
  background-origin: border-box;
827
827
  box-shadow: 1px 1000px 1px rgb(0 0 0 / 50%) inset;
@@ -832,51 +832,51 @@
832
832
  background:
833
833
  linear-gradient(
834
834
  var(--primary-gradient-angle),
835
- ${Ca(ja)} 0%,
836
- ${Oa(ja)} 100%
835
+ ${Ca(Ea)} 0%,
836
+ ${Da(Ea)} 100%
837
837
  )
838
838
  top/100% 1px,
839
839
  linear-gradient(
840
840
  var(--primary-gradient-angle),
841
- ${Ca(ja)} 0%,
842
- ${Oa(ja)} 100%
841
+ ${Ca(Ea)} 0%,
842
+ ${Da(Ea)} 100%
843
843
  )
844
844
  bottom/100% 1px;
845
845
  background-origin: border-box;
846
846
  background-repeat: no-repeat;
847
847
  border: 1px solid transparent;
848
- border-right-color: ${Ca(ja)};
849
- border-left-color: ${Oa(ja)};
848
+ border-right-color: ${Ca(Ea)};
849
+ border-left-color: ${Da(Ea)};
850
850
  color: ${ya(Pa)};
851
851
  }
852
852
  `,Wa=b.css`
853
853
  :host([appearance='outline-secondary-orange']) {
854
854
  background: transparent;
855
- border: 1px solid ${De.orange};
855
+ border: 1px solid ${Te.orange};
856
856
  }
857
857
 
858
858
  :host([appearance='outline-secondary-orange']:hover) {
859
- background: ${Fa(ja)};
859
+ background: ${Fa(Ea)};
860
860
  }
861
861
 
862
862
  :host([appearance='outline-secondary-orange']:active) {
863
863
  background: transparent;
864
- border: 1px solid ${Fa(ja)};
864
+ border: 1px solid ${Fa(Ea)};
865
865
  color: ${ya(Pa)};
866
866
  }
867
867
  `,qa=b.css`
868
868
  :host([appearance='outline-secondary-teal']) {
869
869
  background: transparent;
870
- border: 1px solid ${De.teal};
870
+ border: 1px solid ${Te.teal};
871
871
  }
872
872
 
873
873
  :host([appearance='outline-secondary-teal']:hover) {
874
- background: ${Ra(ja)};
874
+ background: ${Ra(Ea)};
875
875
  }
876
876
 
877
877
  :host([appearance='outline-secondary-teal']:active) {
878
878
  background: transparent;
879
- border: 1px solid ${Ra(ja)};
879
+ border: 1px solid ${Ra(Ea)};
880
880
  color: ${ya(Pa)};
881
881
  }
882
882
  `,Ja=(e,a)=>b.css`
@@ -898,7 +898,7 @@
898
898
  :host {
899
899
  --badge-fill-primary: ${Ca()};
900
900
  --badge-fill-secondary: ${Ra()};
901
- --badge-fill-pink: ${Ma()};
901
+ --badge-fill-pink: ${La()};
902
902
  --badge-fill-transparent: transparent;
903
903
  --badge-color-black: #000;
904
904
  --badge-color-white: #fff;
@@ -912,7 +912,7 @@
912
912
  .banner {
913
913
  background-color: ${f.neutralLayer1};
914
914
  }
915
- `,nr=V.foundationBannerShadowOptions;class lr extends V.Banner{}const gr=lr.compose({baseName:"banner",shadowOptions:nr,styles:ir,template:V.foundationBannerTemplate});class sr extends V.Breadcrumb{}const dr=sr.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,V.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
915
+ `,nr=V.foundationBannerShadowOptions;class lr extends V.Banner{}const sr=lr.compose({baseName:"banner",shadowOptions:nr,styles:ir,template:V.foundationBannerTemplate});class gr extends V.Breadcrumb{}const dr=gr.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,V.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
916
916
  ${(0,V.foundationBreadcrumbStyles)(e,a)}
917
917
  `,shadowOptions:undefined},{}));class cr extends V.BreadcrumbItem{}const pr=cr.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,V.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
918
918
  ${(0,V.foundationBreadcrumbItemStyles)(e,a)}
@@ -962,14 +962,14 @@
962
962
  .checked-indicator {
963
963
  background-image: linear-gradient(
964
964
  var(--primary-gradient-angle),
965
- ${Oe.blue},
966
- ${Oe.purple}
965
+ ${De.blue},
966
+ ${De.purple}
967
967
  );
968
968
  background-origin: border-box;
969
969
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 20%) inset;
970
970
  border-radius: calc(var(--control-corner-radius) * 1px);
971
971
  }
972
- `,shadowOptions:V.foundationCheckboxShadowOptions},V.defaultCheckboxConfig)),Ar=(0,Re.parseColorHexRGB)("#F1F1F1"),Or=fa(Ar,1),Dr=(0,Re.parseColorHexRGB)("#879BA6"),Fr=fa(Dr,.06),Tr=(0,Re.parseColorHexRGB)("#879BA6"),Rr=fa(Tr,1),Nr=(0,Re.parseColorHexRGB)("#121212"),Lr=fa(Nr,1),Mr=(0,Re.parseColorHexRGB)("#2e3339"),Ir=fa(Mr,1);var jr;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.Danger="danger",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(jr||(jr={}));Object.values(jr);class Er extends V.Combobox{}const Pr=Er.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,V.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
972
+ `,shadowOptions:V.foundationCheckboxShadowOptions},V.defaultCheckboxConfig)),Ar=(0,Re.parseColorHexRGB)("#F1F1F1"),Dr=fa(Ar,1),Tr=(0,Re.parseColorHexRGB)("#879BA6"),Fr=fa(Tr,.06),Or=(0,Re.parseColorHexRGB)("#879BA6"),Rr=fa(Or,1),Nr=(0,Re.parseColorHexRGB)("#121212"),Mr=fa(Nr,1),Lr=(0,Re.parseColorHexRGB)("#2e3339"),Ir=fa(Lr,1);var Er;!function(e){e.PrimaryBlue="primary-blue",e.PrimaryPurple="primary-purple",e.PrimaryGradient="primary-gradient",e.SecondaryOrange="secondary-orange",e.Danger="danger",e.SecondaryTeal="secondary-teal",e.NeutralGrey="neutral-grey",e.OutlinePrimaryGradient="outline-primary-gradient",e.OutlineSecondaryOrange="outline-secondary-orange",e.OutlineSecondaryTeal="outline-secondary-teal"}(Er||(Er={}));Object.values(Er);class jr extends V.Combobox{}const Pr=jr.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,V.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
973
973
  ${(0,V.foundationComboboxStyles)(e,a)}
974
974
  :host {
975
975
  --primary-gradient-angle: -113.5deg;
@@ -983,25 +983,25 @@
983
983
  background:
984
984
  linear-gradient(
985
985
  var(--primary-gradient-angle),
986
- ${Oe.blue} 0%,
987
- ${Oe.purple} 100%
986
+ ${De.blue} 0%,
987
+ ${De.purple} 100%
988
988
  )
989
989
  top/100% 1px,
990
990
  linear-gradient(
991
991
  var(--primary-gradient-angle),
992
- ${Oe.blue} 0%,
993
- ${Oe.purple} 100%
992
+ ${De.blue} 0%,
993
+ ${De.purple} 100%
994
994
  )
995
995
  bottom/100% 1px;
996
996
  background-origin: border-box;
997
997
  background-repeat: no-repeat;
998
998
  border: 1px solid transparent;
999
- border-right-color: ${Oe.blue};
1000
- border-left-color: ${Oe.purple};
999
+ border-right-color: ${De.blue};
1000
+ border-left-color: ${De.purple};
1001
1001
  }
1002
1002
 
1003
1003
  :host(:hover:not([disabled]):not([open])) {
1004
- border-color: ${Or};
1004
+ border-color: ${Dr};
1005
1005
  background: ${Fr};
1006
1006
  }
1007
1007
 
@@ -1013,7 +1013,7 @@
1013
1013
  }
1014
1014
 
1015
1015
  :host([open]) .control {
1016
- background: ${Lr};
1016
+ background: ${Mr};
1017
1017
  }
1018
1018
 
1019
1019
  :host(:not([disabled])) .control:active {
@@ -1190,7 +1190,7 @@
1190
1190
  .close-icon:active svg g path {
1191
1191
  fill: ${ya(.33)};
1192
1192
  }
1193
- `,ot=V.defaultDialogConfig,it=V.foundationDialogTemplate,nt=V.foundationDialogShadowOptions;class lt extends V.Dialog{}const gt=lt.compose(Object.assign({baseName:"dialog",shadowOptions:nt,styles:tt,template:it},ot));class st extends V.Disclosure{}const dt=st.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,V.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
1193
+ `,ot=V.defaultDialogConfig,it=V.foundationDialogTemplate,nt=V.foundationDialogShadowOptions;class lt extends V.Dialog{}const st=lt.compose(Object.assign({baseName:"dialog",shadowOptions:nt,styles:tt,template:it},ot));class gt extends V.Disclosure{}const dt=gt.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,V.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
1194
1194
  ${(0,V.foundationDisclosureStyles)(e,a)}
1195
1195
  `,shadowOptions:V.foundationDialogShadowOptions},V.defaultDisclosureConfig));class ct extends V.Divider{}const pt=ct.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,V.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
1196
1196
  ${(0,V.foundationDividerStyles)(e,a)}
@@ -1217,11 +1217,11 @@
1217
1217
  }
1218
1218
  `,St=b.html`
1219
1219
  ${(0,V.getPrefixedFileUpload)("zero")}
1220
- `,Ct=V.defaultFileUploadConfig,$t=V.foundationFileUploadShadowOptions;class At extends V.FileUpload{}const Ot=At.compose(Object.assign({baseName:"file-upload",shadowOptions:$t,styles:zt,template:St},Ct)),Dt=b.html`
1220
+ `,Ct=V.defaultFileUploadConfig,$t=V.foundationFileUploadShadowOptions;class At extends V.FileUpload{}const Dt=At.compose(Object.assign({baseName:"file-upload",shadowOptions:$t,styles:zt,template:St},Ct)),Tt=b.html`
1221
1221
  ${(0,V.getPrefixedFilterTemplate)("zero")}
1222
- `;class Ft extends V.Filter{}const Tt=Ft.compose({baseName:"filter",template:Dt,styles:V.foundationFilterStyles}),Rt=b.html`
1222
+ `;class Ft extends V.Filter{}const Ot=Ft.compose({baseName:"filter",template:Tt,styles:V.foundationFilterStyles}),Rt=b.html`
1223
1223
  ${(0,V.filterBarTemplate)("zero")}
1224
- `;class Nt extends V.FilterBar{}const Lt=Nt.compose({baseName:"filter-bar",template:Rt,styles:(e,a)=>b.css`
1224
+ `;class Nt extends V.FilterBar{}const Mt=Nt.compose({baseName:"filter-bar",template:Rt,styles:(e,a)=>b.css`
1225
1225
  ${(0,V.foundationFilterBarStyles)(e,a)}
1226
1226
  .toggle,
1227
1227
  .toggle-collapsed {
@@ -1233,7 +1233,7 @@
1233
1233
  .toggle-collapsed:hover {
1234
1234
  color: var(--ag-alpine-active-color, #2196f3);
1235
1235
  }
1236
- `});class Mt extends V.FlexLayout{}const It=Mt.compose(Object.assign({baseName:"flex-layout",shadowOptions:V.foundationFlexLayoutShadowOptions,styles:V.foundationFlexLayoutStyles,template:V.foundationFlexLayoutTemplate},V.defaultFlexLayoutConfig));class jt extends V.Flipper{}const Et=jt.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,V.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
1236
+ `});class Lt extends V.FlexLayout{}const It=Lt.compose(Object.assign({baseName:"flex-layout",shadowOptions:V.foundationFlexLayoutShadowOptions,styles:V.foundationFlexLayoutStyles,template:V.foundationFlexLayoutTemplate},V.defaultFlexLayoutConfig));class Et extends V.Flipper{}const jt=Et.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,V.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
1237
1237
  ${(0,V.foundationFlipperStyles)(e,a)}
1238
1238
  :host {
1239
1239
  --foreground-on-accent-rest: ${Ae.white};
@@ -1246,15 +1246,15 @@
1246
1246
  background: linear-gradient(
1247
1247
  var(--primary-gradient-angle),
1248
1248
  ${Ca(.7)},
1249
- ${Oa(.7)}
1249
+ ${Da(.7)}
1250
1250
  );
1251
1251
  }
1252
1252
 
1253
1253
  :host(:hover)::before {
1254
1254
  background: linear-gradient(
1255
1255
  var(--primary-gradient-angle),
1256
- ${Oe.blue},
1257
- ${Oe.purple}
1256
+ ${De.blue},
1257
+ ${De.purple}
1258
1258
  );
1259
1259
  }
1260
1260
  `,shadowOptions:V.foundationFlipperShadowOptions},V.defaultFlipperConfig)),Pt=b.css`
@@ -1322,22 +1322,22 @@
1322
1322
 
1323
1323
  :host(.selected) {
1324
1324
  background-color: ${Ae.darkerGrey};
1325
- color: ${Oe.blue};
1325
+ color: ${De.blue};
1326
1326
  }
1327
- `,shadowOptions:V.foundationListboxOptionShadowOptions},V.defaultListboxOptionConfig)),no=V.foundationMenuShadowOptions;class lo extends V.Menu{}const go=lo.compose({baseName:"menu",template:V.foundationMenuTemplate,styles:(e,a)=>b.css`
1327
+ `,shadowOptions:V.foundationListboxOptionShadowOptions},V.defaultListboxOptionConfig)),no=V.foundationMenuShadowOptions;class lo extends V.Menu{}const so=lo.compose({baseName:"menu",template:V.foundationMenuTemplate,styles:(e,a)=>b.css`
1328
1328
  ${(0,V.foundationMenuStyles)(e,a)}
1329
1329
 
1330
1330
  :host {
1331
1331
  padding: 0;
1332
1332
  }
1333
- `,shadowOptions:no}),so=V.foundationMenuItemShadowOptions;class co extends V.MenuItem{}const po=co.compose(Object.assign({baseName:"menu-item",template:V.foundationMenuItemTemplate,styles:(e,a)=>b.css`
1333
+ `,shadowOptions:no}),go=V.foundationMenuItemShadowOptions;class co extends V.MenuItem{}const po=co.compose(Object.assign({baseName:"menu-item",template:V.foundationMenuItemTemplate,styles:(e,a)=>b.css`
1334
1334
  ${(0,V.foundationMenuItemStyles)(e,a)}
1335
1335
 
1336
1336
  :host {
1337
1337
  background: none;
1338
1338
  margin: 0;
1339
1339
  }
1340
- `,shadowOptions:so},V.defaultMenuItemConfig)),uo=b.css`
1340
+ `,shadowOptions:go},V.defaultMenuItemConfig)),uo=b.css`
1341
1341
  ${tt}
1342
1342
  `,ho=V.defaultModalConfig,mo=V.foundationModalTemplate,bo=V.foundationModalShadowOptions;class vo extends V.Modal{}const fo=vo.compose(Object.assign({baseName:"modal",shadowOptions:bo,styles:uo,template:mo},ho)),wo=b.css`
1343
1343
  ${V.multiselectStyles}
@@ -1355,21 +1355,21 @@
1355
1355
  background:
1356
1356
  linear-gradient(
1357
1357
  var(--primary-gradient-angle),
1358
- ${Oe.blue} 0%,
1359
- ${Oe.purple} 100%
1358
+ ${De.blue} 0%,
1359
+ ${De.purple} 100%
1360
1360
  )
1361
1361
  top/100% 1px,
1362
1362
  linear-gradient(
1363
1363
  var(--primary-gradient-angle),
1364
- ${Oe.blue} 0%,
1365
- ${Oe.purple} 100%
1364
+ ${De.blue} 0%,
1365
+ ${De.purple} 100%
1366
1366
  )
1367
1367
  bottom/100% 1px;
1368
1368
  background-origin: border-box;
1369
1369
  background-repeat: no-repeat;
1370
1370
  border: 1px solid transparent;
1371
- border-right-color: ${Oe.blue};
1372
- border-left-color: ${Oe.purple};
1371
+ border-right-color: ${De.blue};
1372
+ border-left-color: ${De.purple};
1373
1373
  }
1374
1374
 
1375
1375
  ::slotted(zero-checkbox),
@@ -1414,7 +1414,7 @@
1414
1414
  }
1415
1415
 
1416
1416
  :host(:hover:not([disabled])) .root {
1417
- border-color: ${Or};
1417
+ border-color: ${Dr};
1418
1418
  background: none;
1419
1419
  }
1420
1420
 
@@ -1422,22 +1422,22 @@
1422
1422
  background:
1423
1423
  linear-gradient(
1424
1424
  var(--primary-gradient-angle),
1425
- ${Oe.blue} 0%,
1426
- ${Oe.purple} 100%
1425
+ ${De.blue} 0%,
1426
+ ${De.purple} 100%
1427
1427
  )
1428
1428
  top/100% 1px,
1429
1429
  linear-gradient(
1430
1430
  var(--primary-gradient-angle),
1431
- ${Oe.blue} 0%,
1432
- ${Oe.purple} 100%
1431
+ ${De.blue} 0%,
1432
+ ${De.purple} 100%
1433
1433
  )
1434
1434
  bottom/100% 1px;
1435
- background-color: ${Lr};
1435
+ background-color: ${Mr};
1436
1436
  background-origin: border-box;
1437
1437
  background-repeat: no-repeat;
1438
1438
  border: 1px solid transparent;
1439
- border-right-color: ${Oe.blue};
1440
- border-left-color: ${Oe.purple};
1439
+ border-right-color: ${De.blue};
1440
+ border-left-color: ${De.purple};
1441
1441
  box-shadow: none;
1442
1442
  }
1443
1443
 
@@ -1449,21 +1449,21 @@
1449
1449
  .label-hidden {
1450
1450
  margin: 0;
1451
1451
  }
1452
- `;class Oo extends V.NumberField{}const Do=V.defaultNumberFieldConfig,Fo=V.foundationNumberFieldTemplate,To=V.foundationNumberFieldShadowOptions,Ro=Oo.compose(Object.assign({baseName:"number-field",template:Fo,styles:(e,a)=>b.css`
1452
+ `;class Do extends V.NumberField{}const To=V.defaultNumberFieldConfig,Fo=V.foundationNumberFieldTemplate,Oo=V.foundationNumberFieldShadowOptions,Ro=Do.compose(Object.assign({baseName:"number-field",template:Fo,styles:(e,a)=>b.css`
1453
1453
  :host .root {
1454
1454
  --focus-stroke-outer: transparent;
1455
1455
  }
1456
1456
  ${Ao(e,a)}
1457
- `,shadowOptions:To},Do));class No extends V.SystemHealthOverlay{}const Lo=No.compose(Object.assign({baseName:"system-health-overlay",template:V.foundationSystemHealthOverlayTemplate,styles:V.foundationSystemHealthOverlayStyles,shadowOptions:V.foundationSystemHealthOverlayShadowOptions},V.defaultSystemHealthOverlayConfig));class Mo extends V.Progress{}const Io=Mo.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,V.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
1457
+ `,shadowOptions:Oo},To));class No extends V.SystemHealthOverlay{}const Mo=No.compose(Object.assign({baseName:"system-health-overlay",template:V.foundationSystemHealthOverlayTemplate,styles:V.foundationSystemHealthOverlayStyles,shadowOptions:V.foundationSystemHealthOverlayShadowOptions},V.defaultSystemHealthOverlayConfig));class Lo extends V.Progress{}const Io=Lo.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,V.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
1458
1458
  ${(0,V.foundationProgressStyles)(e,a)}
1459
1459
  :host([appearance="secondary-teal"]) {
1460
- --accent-foreground-rest: ${De.teal};
1460
+ --accent-foreground-rest: ${Te.teal};
1461
1461
  }
1462
1462
 
1463
1463
  :host([appearance='secondary-orange']) {
1464
- --accent-foreground-rest: ${De.orange};
1464
+ --accent-foreground-rest: ${Te.orange};
1465
1465
  }
1466
- `,shadowOptions:V.foundationProgressShadowOptions},V.defaultProgressConfig));class jo extends V.ProgressRing{}const Eo={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${Oe.purple}"/>\n <stop offset="100%" stop-color="${Oe.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 `},Po=jo.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>b.html`
1466
+ `,shadowOptions:V.foundationProgressShadowOptions},V.defaultProgressConfig));class Eo extends V.ProgressRing{}const jo={indeterminateIndicator:`\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <defs>\n <linearGradient id="linear">\n <stop offset="0%" stop-color="${De.purple}"/>\n <stop offset="100%" stop-color="${De.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 `},Po=Eo.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>b.html`
1467
1467
  <template
1468
1468
  role="progressbar"
1469
1469
  aria-valuenow="${e=>e.value}"
@@ -1475,8 +1475,8 @@
1475
1475
  <svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate">
1476
1476
  <defs>
1477
1477
  <linearGradient id="linear">
1478
- <stop offset="0%" stop-color="${Oe.purple}" />
1479
- <stop offset="60%" stop-color="${Oe.blue}" />
1478
+ <stop offset="0%" stop-color="${De.purple}" />
1479
+ <stop offset="60%" stop-color="${De.blue}" />
1480
1480
  </linearGradient>
1481
1481
  </defs>
1482
1482
  <circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle>
@@ -1501,7 +1501,7 @@
1501
1501
  .indeterminate-indicator-1, .determinate {
1502
1502
  stroke: ${"url(#linear)"};
1503
1503
  }
1504
- `,shadowOptions:V.foundationProgressRingShadowOptions},Eo));class Bo extends V.Radio{}const Go=Bo.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,V.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
1504
+ `,shadowOptions:V.foundationProgressRingShadowOptions},jo));class Bo extends V.Radio{}const Go=Bo.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,V.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
1505
1505
  ${(0,V.foundationRadioStyles)(e,a)}
1506
1506
  :host {
1507
1507
  --primary-gradient-angle: -113.5deg;
@@ -1529,8 +1529,8 @@
1529
1529
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
1530
1530
  background: linear-gradient(
1531
1531
  var(--primary-gradient-angle),
1532
- ${Oe.blue},
1533
- ${Oe.purple}
1532
+ ${De.blue},
1533
+ ${De.purple}
1534
1534
  );
1535
1535
  }
1536
1536
  `,shadowOptions:V.foundationRadioShadowOptions},V.defaultRadioConfig));class _o extends V.RadioGroup{}const Uo=_o.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,V.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
@@ -1557,25 +1557,25 @@
1557
1557
  background:
1558
1558
  linear-gradient(
1559
1559
  var(--primary-gradient-angle),
1560
- ${Oe.blue} 0%,
1561
- ${Oe.purple} 100%
1560
+ ${De.blue} 0%,
1561
+ ${De.purple} 100%
1562
1562
  )
1563
1563
  top/100% 1px,
1564
1564
  linear-gradient(
1565
1565
  var(--primary-gradient-angle),
1566
- ${Oe.blue} 0%,
1567
- ${Oe.purple} 100%
1566
+ ${De.blue} 0%,
1567
+ ${De.purple} 100%
1568
1568
  )
1569
1569
  bottom/100% 1px;
1570
1570
  background-origin: border-box;
1571
1571
  background-repeat: no-repeat;
1572
1572
  border: 1px solid transparent;
1573
- border-right-color: ${Oe.blue};
1574
- border-left-color: ${Oe.purple};
1573
+ border-right-color: ${De.blue};
1574
+ border-left-color: ${De.purple};
1575
1575
  }
1576
1576
 
1577
1577
  :host(:hover:not([disabled]):not([open])) {
1578
- border-color: ${Or};
1578
+ border-color: ${Dr};
1579
1579
  background: ${Fr};
1580
1580
  }
1581
1581
 
@@ -1616,8 +1616,8 @@
1616
1616
  :host([appearance='primary']) ::slotted(*[aria-checked='true']) {
1617
1617
  background: linear-gradient(
1618
1618
  var(--primary-gradient-angle),
1619
- ${Oe.blue},
1620
- ${Oe.purple}
1619
+ ${De.blue},
1620
+ ${De.purple}
1621
1621
  );
1622
1622
  background-origin: border-box;
1623
1623
  border-color: transparent;
@@ -1647,25 +1647,25 @@
1647
1647
  background:
1648
1648
  linear-gradient(
1649
1649
  var(--primary-gradient-angle),
1650
- ${Oe.blue} 0%,
1651
- ${Oe.purple} 100%
1650
+ ${De.blue} 0%,
1651
+ ${De.purple} 100%
1652
1652
  )
1653
1653
  top/100% 1px,
1654
1654
  linear-gradient(
1655
1655
  var(--primary-gradient-angle),
1656
- ${Oe.blue} 0%,
1657
- ${Oe.purple} 100%
1656
+ ${De.blue} 0%,
1657
+ ${De.purple} 100%
1658
1658
  )
1659
1659
  bottom/100% 1px;
1660
1660
  background-origin: border-box;
1661
1661
  background-repeat: no-repeat;
1662
1662
  border: 1px solid transparent;
1663
- border-right-color: ${Oe.blue};
1664
- border-left-color: ${Oe.purple};
1663
+ border-right-color: ${De.blue};
1664
+ border-left-color: ${De.purple};
1665
1665
  }
1666
1666
 
1667
1667
  :host(:hover:not([disabled]):not(.open)) {
1668
- border-color: ${Or};
1668
+ border-color: ${Dr};
1669
1669
  background: ${Fr};
1670
1670
  }
1671
1671
 
@@ -1677,7 +1677,7 @@
1677
1677
  }
1678
1678
 
1679
1679
  :host([open]) .control {
1680
- background: ${Lr};
1680
+ background: ${Mr};
1681
1681
  }
1682
1682
 
1683
1683
  :host(:not([disabled])) .control:active {
@@ -1694,8 +1694,8 @@
1694
1694
  .thumb-cursor {
1695
1695
  background: linear-gradient(
1696
1696
  var(--primary-gradient-angle),
1697
- ${Oe.blue},
1698
- ${Oe.purple}
1697
+ ${De.blue},
1698
+ ${De.purple}
1699
1699
  );
1700
1700
  border-radius: calc(var(--control-corner-radius) * 2px);
1701
1701
  }
@@ -1704,8 +1704,8 @@
1704
1704
  .thumb-cursor:active {
1705
1705
  background: linear-gradient(
1706
1706
  var(--primary-gradient-angle),
1707
- ${Oe.blue},
1708
- ${Oe.purple}
1707
+ ${De.blue},
1708
+ ${De.purple}
1709
1709
  );
1710
1710
  border-radius: transparent;
1711
1711
  }
@@ -1753,7 +1753,7 @@
1753
1753
  text-align: center;
1754
1754
  font-size: var(--type-ramp-minus-1-font-size, 12px);
1755
1755
  }
1756
- `,shadowOptions:V.foundationSliderLabelShadowOptions},V.defaultSliderLabelConfig)),gi=b.css`
1756
+ `,shadowOptions:V.foundationSliderLabelShadowOptions},V.defaultSliderLabelConfig)),si=b.css`
1757
1757
  ${V.foundationSnackbarStyles}
1758
1758
  .snackbar {
1759
1759
  border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer2};
@@ -1761,11 +1761,11 @@
1761
1761
  }
1762
1762
 
1763
1763
  :host([type='error']) .snackbar::after {
1764
- background-color: ${Ma(1)};
1764
+ background-color: ${La(1)};
1765
1765
  }
1766
- `,si=b.html`
1766
+ `,gi=b.html`
1767
1767
  ${(0,V.getPrefixedSnackbar)("zero")}
1768
- `,di=V.foundationSnackbarShadowOptions;class ci extends V.Snackbar{}const pi=ci.compose({baseName:"snackbar",shadowOptions:di,styles:gi,template:si});class ui extends V.StackingIcons{}const hi=ui.compose({baseName:"stacking-icons",template:V.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
1768
+ `,di=V.foundationSnackbarShadowOptions;class ci extends V.Snackbar{}const pi=ci.compose({baseName:"snackbar",shadowOptions:di,styles:si,template:gi});class ui extends V.StackingIcons{}const hi=ui.compose({baseName:"stacking-icons",template:V.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
1769
1769
  ${(0,V.foundationStackingIconsStyles)(e,a)}
1770
1770
  `}),mi=b.css`
1771
1771
  ${V.foundationStepperStyles}
@@ -1816,8 +1816,8 @@
1816
1816
  :host([aria-checked='true']) .checked-indicator {
1817
1817
  background: linear-gradient(
1818
1818
  var(--primary-gradient-angle),
1819
- ${Oe.blue},
1820
- ${Oe.purple}
1819
+ ${De.blue},
1820
+ ${De.purple}
1821
1821
  );
1822
1822
  }
1823
1823
 
@@ -1830,8 +1830,8 @@
1830
1830
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
1831
1831
  background: linear-gradient(
1832
1832
  var(--primary-gradient-angle),
1833
- ${Oe.blue},
1834
- ${Oe.purple}
1833
+ ${De.blue},
1834
+ ${De.purple}
1835
1835
  );
1836
1836
  }
1837
1837
  `,shadowOptions:V.foundationSwitchShadowOptions},V.defaultSwitchConfig));class $i extends V.Tab{}const Ai=$i.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,V.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
@@ -1857,9 +1857,9 @@
1857
1857
  margin-right: 0;
1858
1858
  background-color: var(--zero-card-fill-color);
1859
1859
  }
1860
- `,shadowOptions:V.foundationTabShadowOptions},V.defaultTabConfig));class Oi extends V.TabPanel{}const Di=Oi.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,V.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
1860
+ `,shadowOptions:V.foundationTabShadowOptions},V.defaultTabConfig));class Di extends V.TabPanel{}const Ti=Di.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,V.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
1861
1861
  ${(0,V.foundationTabPanelStyles)(e,a)}
1862
- `,shadowOptions:V.foundationTabPanelShadowOptions},V.defaultTabPanelConfig));class Fi extends V.Tabs{}const Ti=Fi.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,V.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
1862
+ `,shadowOptions:V.foundationTabPanelShadowOptions},V.defaultTabPanelConfig));class Fi extends V.Tabs{}const Oi=Fi.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,V.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
1863
1863
  ${(0,V.foundationTabsStyles)(e,a)}
1864
1864
  :host .tablist {
1865
1865
  padding: 0;
@@ -1919,7 +1919,7 @@
1919
1919
  }
1920
1920
 
1921
1921
  :host(:hover:not([disabled])) .control {
1922
- border-color: ${Or};
1922
+ border-color: ${Dr};
1923
1923
  background: ${Fr};
1924
1924
  }
1925
1925
 
@@ -1927,22 +1927,22 @@
1927
1927
  background:
1928
1928
  linear-gradient(
1929
1929
  var(--primary-gradient-angle),
1930
- ${Oe.blue} 0%,
1931
- ${Oe.purple} 100%
1930
+ ${De.blue} 0%,
1931
+ ${De.purple} 100%
1932
1932
  )
1933
1933
  top/100% 1px,
1934
1934
  linear-gradient(
1935
1935
  var(--primary-gradient-angle),
1936
- ${Oe.blue} 0%,
1937
- ${Oe.purple} 100%
1936
+ ${De.blue} 0%,
1937
+ ${De.purple} 100%
1938
1938
  )
1939
1939
  bottom/100% 1px;
1940
1940
  background-origin: border-box;
1941
1941
  background-repeat: no-repeat;
1942
1942
  border: 1px solid transparent;
1943
- border-right-color: ${Oe.blue};
1944
- border-left-color: ${Oe.purple};
1945
- background-color: ${Lr};
1943
+ border-right-color: ${De.blue};
1944
+ border-left-color: ${De.purple};
1945
+ background-color: ${Mr};
1946
1946
  box-shadow: none;
1947
1947
  }
1948
1948
 
@@ -1950,7 +1950,7 @@
1950
1950
  color: ${Rr};
1951
1951
  margin: calc(var(--design-unit) * 2px) 0;
1952
1952
  }
1953
- `,shadowOptions:V.foundationTextAreaShadowOptions},V.defaultTextAreaConfig));class Li extends V.TextField{}const Mi=Li.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,V.foundationTextFieldTemplate)(e,a),styles:Ao,shadowOptions:V.foundationTextFieldShadowOptions},V.defaultTextFieldConfig)),Ii=b.css`
1953
+ `,shadowOptions:V.foundationTextAreaShadowOptions},V.defaultTextAreaConfig));class Mi extends V.TextField{}const Li=Mi.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,V.foundationTextFieldTemplate)(e,a),styles:Ao,shadowOptions:V.foundationTextFieldShadowOptions},V.defaultTextFieldConfig)),Ii=b.css`
1954
1954
  ${V.foundationToastStyles}
1955
1955
  .toast {
1956
1956
  border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer3};
@@ -1962,7 +1962,7 @@
1962
1962
  }
1963
1963
 
1964
1964
  :host([notify='warning']) .toast::after {
1965
- background-color: ${Ma(1)};
1965
+ background-color: ${La(1)};
1966
1966
  }
1967
1967
 
1968
1968
  :host([notify='success']) .toast::after {
@@ -1976,7 +1976,7 @@
1976
1976
  :host([notify='serious']) .toast::after {
1977
1977
  background-color: ${Fa(1)};
1978
1978
  }
1979
- `,ji=V.defaultToastConfig,Ei=V.foundationToastShadowOptions;class Pi extends V.Toast{}const Bi=Pi.compose(Object.assign({baseName:"toast",shadowOptions:Ei,styles:Ii,template:V.foundationToastTemplate},ji));class Gi extends V.Toolbar{}const _i=Gi.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,V.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
1979
+ `,Ei=V.defaultToastConfig,ji=V.foundationToastShadowOptions;class Pi extends V.Toast{}const Bi=Pi.compose(Object.assign({baseName:"toast",shadowOptions:ji,styles:Ii,template:V.foundationToastTemplate},Ei));class Gi extends V.Toolbar{}const _i=Gi.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,V.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
1980
1980
  ${(0,V.foundationToolbarStyles)(e,a)}
1981
1981
  `,shadowOptions:V.foundationToolbarShadowOptions},V.defaultToolbarConfig));class Ui extends V.Tooltip{}const Hi=Ui.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,V.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
1982
1982
  ${(0,V.foundationTooltipStyles)(e,a)}
@@ -1994,14 +1994,14 @@
1994
1994
  background:
1995
1995
  linear-gradient(
1996
1996
  var(--primary-gradient-angle),
1997
- ${Oe.blue} 10%,
1998
- ${Oe.purple} 100%
1997
+ ${De.blue} 10%,
1998
+ ${De.purple} 100%
1999
1999
  )
2000
2000
  top/100% 1px,
2001
2001
  linear-gradient(
2002
2002
  var(--primary-gradient-angle),
2003
- ${Oe.blue} 10%,
2004
- ${Oe.purple} 100%
2003
+ ${De.blue} 10%,
2004
+ ${De.purple} 100%
2005
2005
  )
2006
2006
  bottom/100% 1px;
2007
2007
  background-origin: border-box;
@@ -2012,10 +2012,10 @@
2012
2012
  ${(0,V.foundationTreeViewStyles)(e,a)}
2013
2013
  `,shadowOptions:V.foundationTreeViewShadowOptions},V.defaultTreeViewConfig)),qi=b.html`
2014
2014
  ${(0,V.getPrefixedUrlInput)("zero")}
2015
- `;class Ji extends V.UrlInput{}const Zi={zeroAccordion:ua,zeroAccordionItem:ma,zeroActionsMenu:va,zeroAnchor:Ka,zeroAnchoredRegion:er,zeroAvatar:rr,zeroBadge:or,zeroBanner:gr,zeroBreadcrumbItem:pr,zeroBreadcrumb:dr,zeroButton:hr,zeroCalendar:br,zeroCard:fr,zeroCategorizedMultiselect:Sr,zeroCheckbox:$r,zeroCombobox:Pr,zeroConnectionIndicator:Gr,zeroDataGrid:Vr,zeroDesignSystemProvider:et,zeroDialog:gt,zeroDatePicker:Wr,zeroDisclosure:dt,zeroDivider:pt,zeroDropdownMenu:ht,zeroErrorBoundary:yt,zeroNotificationListener:$o,zeroErrorBanner:ft,zeroErrorDialog:kt,zeroFileUpload:Ot,zeroFilter:Tt,zeroFilterBar:Lt,zeroFlexLayout:It,zeroFlipper:Et,zeroFlyout:Ht,zeroGridLayout:Yt,zeroGridLayoutItem:Wt,zeroHorizontalScroll:Zt,zeroIcon:ao,zeroListbox:to,zeroListboxOption:io,zeroMenu:go,zeroMenuItem:po,zeroModal:fo,zeroMultiselect:So,zeroNumberField:Ro,zeroProgress:Io,zeroProgressRing:Po,zeroRadio:Go,zeroRadioGroup:Uo,zeroSearchBar:Qo,zeroSearchBarCombobox:qo,zeroSegmentedControl:Zo,zeroSegmentedItem:Xo,zeroSelect:ai,zeroSkeleton:ti,zeroSlider:ii,zeroSliderLabel:li,zeroSnackbar:pi,zeroStackingIcons:hi,zeroStepper:fi,zeroStepperTab:xi,zeroStepperTabPanel:zi,zeroSwitch:Ci,zeroSystemHealthOverlay:Lo,zeroTab:Ai,zeroTabPanel:Di,zeroTabs:Ti,zeroTextArea:Ni,zeroTextField:Mi,zeroToast:Bi,zeroToolbar:_i,zeroTooltip:Hi,zeroTreeItem:Yi,zeroTreeView:Wi,zeroUrlInput:Ji.compose(Object.assign({baseName:"url-input",template:qi,styles:(e,a)=>b.css`
2015
+ `;class Ji extends V.UrlInput{}const Zi={zeroAccordion:ua,zeroAccordionItem:ma,zeroActionsMenu:va,zeroAnchor:Ka,zeroAnchoredRegion:er,zeroAvatar:rr,zeroBadge:or,zeroBanner:sr,zeroBreadcrumbItem:pr,zeroBreadcrumb:dr,zeroButton:hr,zeroCalendar:br,zeroCard:fr,zeroCategorizedMultiselect:Sr,zeroCheckbox:$r,zeroCombobox:Pr,zeroConnectionIndicator:Gr,zeroDataGrid:Vr,zeroDesignSystemProvider:et,zeroDialog:st,zeroDatePicker:Wr,zeroDisclosure:dt,zeroDivider:pt,zeroDropdownMenu:ht,zeroErrorBoundary:yt,zeroNotificationListener:$o,zeroErrorBanner:ft,zeroErrorDialog:kt,zeroFileUpload:Dt,zeroFilter:Ot,zeroFilterBar:Mt,zeroFlexLayout:It,zeroFlipper:jt,zeroFlyout:Ht,zeroGridLayout:Yt,zeroGridLayoutItem:Wt,zeroHorizontalScroll:Zt,zeroIcon:ao,zeroListbox:to,zeroListboxOption:io,zeroMenu:so,zeroMenuItem:po,zeroModal:fo,zeroMultiselect:So,zeroNumberField:Ro,zeroProgress:Io,zeroProgressRing:Po,zeroRadio:Go,zeroRadioGroup:Uo,zeroSearchBar:Qo,zeroSearchBarCombobox:qo,zeroSegmentedControl:Zo,zeroSegmentedItem:Xo,zeroSelect:ai,zeroSkeleton:ti,zeroSlider:ii,zeroSliderLabel:li,zeroSnackbar:pi,zeroStackingIcons:hi,zeroStepper:fi,zeroStepperTab:xi,zeroStepperTabPanel:zi,zeroSwitch:Ci,zeroSystemHealthOverlay:Mo,zeroTab:Ai,zeroTabPanel:Ti,zeroTabs:Oi,zeroTextArea:Ni,zeroTextField:Li,zeroToast:Bi,zeroToolbar:_i,zeroTooltip:Hi,zeroTreeItem:Yi,zeroTreeView:Wi,zeroUrlInput:Ji.compose(Object.assign({baseName:"url-input",template:qi,styles:(e,a)=>b.css`
2016
2016
  ${(0,V.foundationUrlInputStyles)(e,a)}
2017
2017
  a {
2018
- color: ${Oe.blue};
2018
+ color: ${De.blue};
2019
2019
  opacity: 65%;
2020
2020
  }
2021
2021
 
@@ -2026,7 +2026,7 @@
2026
2026
  .${nn(e)} {
2027
2027
  ${new V.CSSVarsTokenMapper(a)}
2028
2028
  }
2029
- `;var gn;!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"}(gn||(gn={}));const sn="__editedColumn",dn="__errorColumn",cn={},pn=v.DI.createInterface((e=>e.instance(cn)));var un;!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"}(un||(un={})),rn().extend(on());class hn 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[sn]}}(0,en.__decorate)([b.observable],hn.prototype,"value",void 0),(0,en.__decorate)([b.observable],hn.prototype,"actualWidth",void 0);const mn=b.css`
2029
+ `;var sn;!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"}(sn||(sn={}));const gn="__editedColumn",dn="__errorColumn",cn={},pn=v.DI.createInterface((e=>e.instance(cn)));var un;!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"}(un||(un={})),rn().extend(on());class hn 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[gn]}}(0,en.__decorate)([b.observable],hn.prototype,"value",void 0),(0,en.__decorate)([b.observable],hn.prototype,"actualWidth",void 0);const mn=b.css`
2030
2030
  :host {
2031
2031
  display: flex;
2032
2032
  }
@@ -2038,7 +2038,7 @@
2038
2038
  @input=${(e,a)=>e.changeHandler(a.event)}
2039
2039
  style="width: ${e=>e.actualWidth}px"
2040
2040
  ></${e}-text-field>
2041
- `,vn=hn.compose({baseName:"date-editor",styles:mn,template:bn()});class fn extends hn{}const wn=fn.compose({baseName:"date-editor",styles:mn,template:bn("zero")});class yn 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[sn]}}(0,en.__decorate)([b.observable],yn.prototype,"params",void 0),(0,en.__decorate)([b.observable],yn.prototype,"selectedOptions",void 0);const xn=b.css``,kn=(e="foundation")=>b.html`
2041
+ `,vn=hn.compose({baseName:"date-editor",styles:mn,template:bn()});class fn extends hn{}const wn=fn.compose({baseName:"date-editor",styles:mn,template:bn("zero")});class yn 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[gn]}}(0,en.__decorate)([b.observable],yn.prototype,"params",void 0),(0,en.__decorate)([b.observable],yn.prototype,"selectedOptions",void 0);const xn=b.css``,kn=(e="foundation")=>b.html`
2042
2042
  <${e}-multiselect
2043
2043
  style="width: 100%"
2044
2044
  ?async=${e=>e.params.async}
@@ -2052,7 +2052,7 @@
2052
2052
  :datasourceConfig=${e=>e.params.datasourceOptions}
2053
2053
  ></multiselect-datasource>
2054
2054
  </${e}-multiselect>
2055
- `,zn=yn.compose({baseName:"multiselect-editor",styles:xn,template:kn()});class Sn extends yn{}const Cn=Sn.compose({baseName:"multiselect-editor",styles:xn,template:kn("zero")});class $n 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[sn]}}(0,en.__decorate)([b.observable],$n.prototype,"params",void 0),(0,en.__decorate)([b.observable],$n.prototype,"value",void 0),(0,en.__decorate)([b.observable],$n.prototype,"actualWidth",void 0);const An=b.css``,On=(e="foundation")=>b.html`
2055
+ `,zn=yn.compose({baseName:"multiselect-editor",styles:xn,template:kn()});class Sn extends yn{}const Cn=Sn.compose({baseName:"multiselect-editor",styles:xn,template:kn("zero")});class $n 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[gn]}}(0,en.__decorate)([b.observable],$n.prototype,"params",void 0),(0,en.__decorate)([b.observable],$n.prototype,"value",void 0),(0,en.__decorate)([b.observable],$n.prototype,"actualWidth",void 0);const An=b.css``,Dn=(e="foundation")=>b.html`
2056
2056
  <${e}-combobox
2057
2057
  style="width: ${e=>e.actualWidth}px"
2058
2058
  ${(0,b.ref)("combobox")}
@@ -2069,11 +2069,11 @@
2069
2069
  :initialSelectedValue=${e=>e.params.value}
2070
2070
  ></options-datasource>
2071
2071
  </${e}-combobox>
2072
- `,Dn=$n.compose({baseName:"select-editor",styles:An,template:On()});class Fn extends $n{}const Tn=Fn.compose({baseName:"select-editor",styles:An,template:On("zero")});class Rn 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[sn]}}(0,en.__decorate)([b.observable],Rn.prototype,"params",void 0),(0,en.__decorate)([b.observable],Rn.prototype,"value",void 0),(0,en.__decorate)([b.observable],Rn.prototype,"actualWidth",void 0);const Nn=b.css`
2072
+ `,Tn=$n.compose({baseName:"select-editor",styles:An,template:Dn()});class Fn extends $n{}const On=Fn.compose({baseName:"select-editor",styles:An,template:Dn("zero")});class Rn 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[gn]}}(0,en.__decorate)([b.observable],Rn.prototype,"params",void 0),(0,en.__decorate)([b.observable],Rn.prototype,"value",void 0),(0,en.__decorate)([b.observable],Rn.prototype,"actualWidth",void 0);const Nn=b.css`
2073
2073
  :host {
2074
2074
  display: flex;
2075
2075
  }
2076
- `,Ln=(e="foundation")=>b.html`
2076
+ `,Mn=(e="foundation")=>b.html`
2077
2077
  <${e}-number-field
2078
2078
  ${(0,b.ref)("input")}
2079
2079
  withFormatting=${e=>e.params.withFormatting}
@@ -2085,7 +2085,7 @@
2085
2085
  hideStep
2086
2086
  style="width: ${e=>e.actualWidth}px"
2087
2087
  ></${e}-number-field>
2088
- `,Mn=Rn.compose({baseName:"number-editor",styles:Nn,template:Ln()});class In extends Rn{}const jn=In.compose({baseName:"number-editor",styles:Nn,template:Ln("zero")});class En 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[sn]}}(0,en.__decorate)([b.observable],En.prototype,"params",void 0),(0,en.__decorate)([b.observable],En.prototype,"value",void 0),(0,en.__decorate)([b.observable],En.prototype,"actualWidth",void 0);const Pn=b.css`
2088
+ `,Ln=Rn.compose({baseName:"number-editor",styles:Nn,template:Mn()});class In extends Rn{}const En=In.compose({baseName:"number-editor",styles:Nn,template:Mn("zero")});class jn 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[gn]}}(0,en.__decorate)([b.observable],jn.prototype,"params",void 0),(0,en.__decorate)([b.observable],jn.prototype,"value",void 0),(0,en.__decorate)([b.observable],jn.prototype,"actualWidth",void 0);const Pn=b.css`
2089
2089
  :host {
2090
2090
  display: flex;
2091
2091
  }
@@ -2098,7 +2098,7 @@
2098
2098
  style="width: ${e=>e.actualWidth}px"
2099
2099
  >
2100
2100
  </${e}-text-field>
2101
- `,Gn=En.compose({baseName:"string-editor",styles:Pn,template:Bn()});class _n extends En{}const Un=_n.compose({baseName:"string-editor",styles:Pn,template:Bn("zero")});class Hn 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,en.__decorate)([b.observable],Hn.prototype,"valueFormatted",void 0);const Vn=b.css`
2101
+ `,Gn=jn.compose({baseName:"string-editor",styles:Pn,template:Bn()});class _n extends jn{}const Un=_n.compose({baseName:"string-editor",styles:Pn,template:Bn("zero")});class Hn 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,en.__decorate)([b.observable],Hn.prototype,"valueFormatted",void 0);const Vn=b.css`
2102
2102
  :host {
2103
2103
  display: flex;
2104
2104
  justify-content: space-between;
@@ -2156,12 +2156,12 @@
2156
2156
  name="${e=>e.params.headerName}"
2157
2157
  :definition=${e=>e.params}
2158
2158
  ></foundation-actions-menu>
2159
- `});class ll extends il{}const gl=ll.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2159
+ `});class ll extends il{}const sl=ll.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2160
2160
  <zero-actions-menu
2161
2161
  name="${e=>e.params.headerName}"
2162
2162
  :definition=${e=>e.params}
2163
2163
  ></zero-actions-menu>
2164
- `});class sl extends v.FoundationElement{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){Zn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!this.params.colDef.editable}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:Jn.sVA.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:Jn.sVA.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[sn]}}(0,en.__decorate)([b.observable],sl.prototype,"params",void 0),(0,en.__decorate)([b.observable],sl.prototype,"selected",void 0);const dl=b.css`
2164
+ `});class gl extends v.FoundationElement{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){Zn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!this.params.colDef.editable}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:Jn.sVA.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:Jn.sVA.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[gn]}}(0,en.__decorate)([b.observable],gl.prototype,"params",void 0),(0,en.__decorate)([b.observable],gl.prototype,"selected",void 0);const dl=b.css`
2165
2165
  :host {
2166
2166
  align-center: center;
2167
2167
  display: flex;
@@ -2173,7 +2173,7 @@
2173
2173
  :checked=${e=>e.selected}
2174
2174
  ?disabled=${e=>{var a;return e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
2175
2175
  ></${a}>
2176
- `},pl=sl.compose({baseName:"boolean-renderer",styles:dl,template:cl()});class ul extends sl{}const hl=ul.compose({baseName:"boolean-renderer",styles:dl,template:cl("zero")});var ml=r(40729);const bl=(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 vl 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?bl(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}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){Zn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}}(0,en.__decorate)([b.observable],vl.prototype,"textValue",void 0),(0,en.__decorate)([b.observable],vl.prototype,"params",void 0);const fl=b.css`
2176
+ `},pl=gl.compose({baseName:"boolean-renderer",styles:dl,template:cl()});class ul extends gl{}const hl=ul.compose({baseName:"boolean-renderer",styles:dl,template:cl("zero")});var ml=r(40729);const bl=(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 vl 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?bl(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}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){Zn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}}(0,en.__decorate)([b.observable],vl.prototype,"textValue",void 0),(0,en.__decorate)([b.observable],vl.prototype,"params",void 0);const fl=b.css`
2177
2177
  :host {
2178
2178
  display: flex;
2179
2179
  width: 100%;
@@ -2202,7 +2202,7 @@
2202
2202
  max-width: var(--select-renderer-max-width);
2203
2203
  min-width: 100%;
2204
2204
  }
2205
- `,Ol=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
2205
+ `,Dl=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
2206
2206
  <${a}
2207
2207
  class="select-renderer"
2208
2208
  ?disabled=${e=>{var a;return e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
@@ -2219,15 +2219,15 @@
2219
2219
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
2220
2220
  `)}
2221
2221
  </${a}>
2222
- `},Dl=$l.compose({baseName:"select-renderer",styles:Al,template:Ol()});const Fl=class extends $l{}.compose({baseName:"select-renderer",styles:Al,template:Ol("zero")});var Tl=r(29310),Rl=r(84646),Nl=r(17190),Ll=r(21530),Ml=r(89882),Il=r(62051),jl=r.n(Il);const El=b.html`
2222
+ `},Tl=$l.compose({baseName:"select-renderer",styles:Al,template:Dl()});const Fl=class extends $l{}.compose({baseName:"select-renderer",styles:Al,template:Dl("zero")});var Ol=r(29310),Rl=r(84646),Nl=r(17190),Ml=r(21530),Ll=r(89882),Il=r(62051),El=r.n(Il);const jl=b.html`
2223
2223
  <template>
2224
2224
  <slot ${(0,b.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2225
2225
  </template>
2226
- `;let Pl=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,en.__decorate)([b.observable],Pl.prototype,"renderer",void 0),(0,en.__decorate)([b.observable],Pl.prototype,"rendererParams",void 0),(0,en.__decorate)([b.observable],Pl.prototype,"slottedRenderer",void 0),Pl=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-cell",template:El})],Pl);const Bl=b.html`
2226
+ `;let Pl=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,en.__decorate)([b.observable],Pl.prototype,"renderer",void 0),(0,en.__decorate)([b.observable],Pl.prototype,"rendererParams",void 0),(0,en.__decorate)([b.observable],Pl.prototype,"slottedRenderer",void 0),Pl=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-cell",template:jl})],Pl);const Bl=b.html`
2227
2227
  <template>
2228
2228
  <slot ${(0,b.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2229
2229
  </template>
2230
- `;let Gl=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,en.__decorate)([b.observable],Gl.prototype,"slottedAgCell",void 0),(0,en.__decorate)([b.observable],Gl.prototype,"definition",void 0),Gl=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Bl})],Gl);var _l=r(6884),Ul=r(96730),Hl=r(21281),Vl=r(34193),Yl=r(40113),Ql=r(9033),Wl=r(97156),ql=r(56607),Jl=r(10629),Zl=r(41392),Kl=r(92453),Xl=r(2773),eg=r(40370),ag=r(39087),rg=r(41119),tg=r(17465),og=r(12066);function ig(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 ng(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function lg({value:e}){return(0,og.CL)(e)}function gg({value:e}){return(0,og.zT)(e)}const sg="datasource-error-close",dg="datasource";class cg extends((0,eg.C)(v.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=_l.OD.MAX_ROWS_250,this.maxView=_l.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.isRequestServer=!1}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?_l.OD.REQUEST_SERVER_ROW_ID:_l.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===_l.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===_l.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?_l.OD.REQUEST_SERVER_ROW_ID:_l.OD.DATASERVER_ROW_ID}datasourceStatusChanged(e,a){this.isRequestServer=a.type===ag.v.REQUEST_SERVER}get agGrid(){return this.parentElement}}var pg;(0,en.__decorate)([s.dm],cg.prototype,"connect",void 0),(0,en.__decorate)([b.observable],cg.prototype,"deferredGridOptions",void 0),(0,en.__decorate)([b.observable],cg.prototype,"deferredColumnStates",void 0),(0,en.__decorate)([b.observable],cg.prototype,"rowDataMapper",void 0),(0,en.__decorate)([b.attr],cg.prototype,"criteria",void 0),(0,en.__decorate)([b.attr],cg.prototype,"fields",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],cg.prototype,"isSnapshot",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"max-rows"})],cg.prototype,"maxRows",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"max-view"})],cg.prototype,"maxView",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],cg.prototype,"movingView",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"order-by"})],cg.prototype,"orderBy",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"resource-name"})],cg.prototype,"resourceName",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean"})],cg.prototype,"reverse",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"row-id"})],cg.prototype,"rowIdAttr",void 0),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(pg||(pg={}));class ug extends cg{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 rg.w.STRING:t.cellEditor=gn.stringEditor;break;case rg.w.NUMBER:t.cellEditor=gn.numberEditor;break;case rg.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=gn.boolean,t.cellEditor=gn.boolean);break;case rg.w.DATE:t.valueFormatter=lg,t.cellEditor=gn.dateEditor;break;case rg.w.DATETIME:t.valueFormatter=gg,t.cellEditor=gn.dateEditor,t.cellEditorParams={withTime:!0};break;case rg.w.ENUM:e.enumOptions?(t.cellEditor=gn.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):tg.v.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:ng(e.type),filter:ig(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},pg.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},pg.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},pg.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(pg)){if(!this.rowDataMapper)return e;const r={};return a.includes(pg.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(pg.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(pg.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}class hg{constructor(){this.rowData=new Map}}function mg(e){switch(e){case rg.w.DATE:case rg.w.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}}}const bg="datasource-error",vg="datasource-init",fg="datasource-size-changed";let wg=class extends(c(ug)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.pollingInterval=_l.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0,this.criteriaFromFilters=new Map,this.update=new Wl.t(new Map)}criteriaChanged(e,a){const r=e!==(0,Ul.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}requestChanged(e,a){const r=e!==a;this.datasource.initialized&&r&&this.reloadResourceData()}resourceNameChanged(e,a){e&&e!==a&&this.restart()}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()})),this.connectionSub=this.connect.isConnected$.subscribe((e=>{var a;e&&(null===(a=this.agGrid)||void 0===a?void 0:a.attributes["ds-disconnected"])&&(this.agGrid.removeAttribute("ds-disconnected"),this.restartOnReconnection&&this.reloadResourceData()),e||this.agGrid.setAttribute("ds-disconnected","ds-disconnected")}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>{e&&this.deinit()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid&&this.datasource.validResourceName(this.resourceName)){const r=Object.assign(Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.agGrid.agGridOptions),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},r),this.agGrid.initGrid(),this.agGrid.addEventListener("onGridReady",(()=>(0,en.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const t=600;this.updateSub=this.update.pipe((0,Jl.i)(1),(0,Zl.B)(t),(0,Kl.M)((e=>Zn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else this.handleErrors("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}deinit(){this.reset()}reset(){var e;Zn.debug("GridProGenesisDatasource.reset()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.clearRowData(),this.isRequestServer=!1,this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,null===(e=this.update)||void 0===e||e.unsubscribe(),this.update=new Wl.t(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()))}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,en.__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,en.__awaiter)(this,void 0,void 0,(function*(){Zn.debug("GridProGenesisDatasource.reloadResourceData()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),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,en.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;try{if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Zn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.$emit(vg),this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}return}Zn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Xl.W)((e=>{var a;return this.handleErrors(null===(a=null==e?void 0:e.receivedMessage)||void 0===a?void 0:a.ERROR.join(", ")),ql.w}))).subscribe((e=>{(null==e?void 0:e.ERROR)&&this.handleErrors(e.ERROR.join(", "));const a=e.MESSAGE_TYPE;if(a&&a===Hl.Go.LOGOFF_ACK)return this.handleErrors(`Genesis datasource for ${this.resourceName} disconnected.`),void(this.dataSubWasLoggedOff=!0);if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Vl.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}catch(e){let{message:a}=e;e.receivedMessage&&(a=e.receivedMessage.ERROR),Zn.error(a),this.handleErrors(a)}}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Vl.d)(e).inserts:e.inserts}handleErrors(e){this.agGrid&&this.agGrid.setAttribute("ds-disconnected","ds-disconnected"),e&&(Zn.warn(e),this.$emit(bg,{message:e}))}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=this.rowData.size,t=e.REPLY;if(!Array.isArray(t)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Zn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){null==t||t.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const e=this.rowData.size>0?Array.from(this.rowData.values()):t;return this.handleSizeChanged(r,this.rowData.size),void this.setRowData(e)}const o=[],i=Array.from(this.rowData.values()).filter((e=>{const a=t.find((a=>a[this.rowId]===e[this.rowId]));return!a||(o.push(a),!1)})),n=t.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(n),this.handleStreamDeletes(i),this.handleStreamUpdates(o),this.applyAllAgTransactions(),this.handleSizeChanged(r,this.rowData.size)}applyDataserverData(e){var a;const r=this.rowData.size;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const t=Array.from(this.rowData.values());return this.setRowData(t),void this.handleSizeChanged(r,this.rowData.size)}this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions(),this.handleSizeChanged(r,this.rowData.size)}getAgColumnDefs(e){return(0,en.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,mg);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,Ul.Q)(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)}handleSizeChanged(e,a){e!==a&&this.$emit(fg,{value:a,oldValue:e})}};(0,en.__decorate)([Yl.N],wg.prototype,"auth",void 0),(0,en.__decorate)([Ql.yW],wg.prototype,"datasource",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"polling-interval"})],wg.prototype,"pollingInterval",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],wg.prototype,"disablePolling",void 0),(0,en.__decorate)([b.observable],wg.prototype,"request",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],wg.prototype,"restartOnReconnection",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],wg.prototype,"keepColDefsOnClearRowData",void 0),wg=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],wg);let yg=class extends wg{};yg=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],yg);var xg=r(48707);function kg(e){switch(e){case rg.w.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 rg.w.DATE:case rg.w.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 rg.w.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 zg extends hg{constructor(e){super(),this.server_ROWS_COUNT=0,this.client_ROWS_COUNT=0,this.moreRows=!1,this.calculatedRowsCount=0,this.lastSequenceId=0,this.createDataserverStreamFunc=e.createDataserverStreamFunc,this.resourceName=e.resourceName,this.resourceParams=e.resourceParams,this.originalCriteriaMatch=e.resourceParams.CRITERIA_MATCH,this.resourceIndexes=e.resourceIndexes,this.resourceColDefs=e.resourceColDefs,this.maxRows=e.maxRows,this.maxView=e.maxView,this.rowId=e.rowId,this.pagination=e.pagination}getRows(e){var a;return(0,en.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel,t=Object.keys(r).length>0,o=0===Object.keys(r).length,i=JSON.stringify(r)!==JSON.stringify(this.currentFilterModel);if(i||t){if(o&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.refreshDatasource(e));if(i&&t)return this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.refreshDatasource(e))}const n=e.request.sortModel;if((null===(a=this.currentSortModel)||void 0===a?void 0:a.length)!==n.length||n.length>0){if(0===n.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.refreshDatasource(e));if(n.length>0){this.currentSortModel=n;const a=n[0].colId,r=n[0].sort,t=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!t){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),r=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 Zn.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/"),Zn.debug("Available indexes:",a),Zn.debug("Columns that can be sorted with the available indexes:",r),void e.fail()}if(JSON.stringify(n)!==JSON.stringify(this.currentSortModel))return this.resourceParams.ORDER_BY=t.orderBy,this.resourceParams.REVERSE="desc"===r,void(yield this.refreshDatasource(e))}}this.moreRows&&e.request.startRow>=Number(this.maxRows)&&this.connect.getMoreRows(this.streamSourceRef),this.dataserverStream||(this.dataserverStream=yield this.createDataserverStreamFunc(this.resourceParams));let l=!0;this.dataserverStreamSubscription=this.dataserverStream.subscribe((a=>{l&&(this.applyServerSideData(e,a),l=!1)}))}))}applyServerSideData(e,a){var r;const t=a.MESSAGE_TYPE;if(t&&(t===Hl.Go.LOGOFF_ACK||t===Hl.Go.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,Vl.d)(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)}deinit(){var e;return(0,en.__awaiter)(this,void 0,void 0,(function*(){this.rowData=new Map,this.client_ROWS_COUNT=0,this.calculatedRowsCount=0,this.server_ROWS_COUNT=0,this.dataserverStream=void 0,null===(e=this.dataserverStreamSubscription)||void 0===e||e.unsubscribe(),this.dataserverStreamSubscription=void 0,this.streamSourceRef=void 0}))}refreshDatasource(e){var a;return(0,en.__awaiter)(this,void 0,void 0,(function*(){yield this.deinit(),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,en.__decorate)([Yl.N],zg.prototype,"auth",void 0),(0,en.__decorate)([s.dm],zg.prototype,"connect",void 0);let Sg=class extends(c(ug)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1}criteriaChanged(e,a){const r=e!==(0,Ul.Q)(a,";");this.ssrmDatasource&&r&&this.reloadResourceData()}reloadResourceData(){var e,a,r;return(0,en.__awaiter)(this,void 0,void 0,(function*(){this.clearRowData(null),this.ssrmDatasource.streamSourceRef=void 0,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.deinit(),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(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:!1},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{}},this.agGrid.agGridOptions),this.deferredGridOptions),this.agGrid.initGrid(),void this.agGrid.addEventListener("onGridReady",(()=>(0,en.__awaiter)(this,void 0,void 0,(function*(){const e=yield this.connect.getMetadata(this.resourceName).catch((e=>Zn.error(e)));if(!e)return!1;this.indexes=this.getResourceIndexes(e.INDEXES),this.originalFieldDef=(0,xg.a)(e);const a=(0,xg.X)(this.originalFieldDef),r=yield this.getAgColumnDefs(a);this.agGrid.gridApi.setColumnDefs(r),this.ssrmDatasource=new zg({createDataserverStreamFunc:this.createDataserverStream.bind(this),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});Zn.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));Zn.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 Zn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createDataserverStream(e=null){return(0,en.__awaiter)(this,void 0,void 0,(function*(){const a=e=>(0,en.__awaiter)(this,void 0,void 0,(function*(){var a;if(e.MESSAGE_TYPE===Hl.Go.QUERY_UPDATE&&e.ROW){if(!this.ssrmDatasource)return;const r=(0,Vl.d)(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()}}));return this.connect.stream(this.resourceName,(e=>{a(e)}),(e=>Zn.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,en.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,kg);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,en.__decorate)([(0,b.attr)({mode:"boolean"})],Sg.prototype,"pagination",void 0),Sg=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],Sg);const Cg='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44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font-weight: normal;\n font-style: normal;\n }\n',$g='\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+gsz8FVCONktVNlOA7WhI08pMz03cK7oYJ29TlhKPWBJYE7i5Juc0OhwsBrG9rKbO6EX3Rm7SqcMYMpaztrilmkMrImHVEbzcilHcJDqJDa8BAVMXJkYOeTwgaNs7o82pMPXpmMUyRPppY3sk/PuiE8EKa81aEu4gXCqPuAbqTipcosW5xw2UMWVvgHdkq2K9b9Td/TDnZZsSenqFwS1wU7LpwQGYUJSCt8EW2ZKu7oar+BBS4UMLDEUesGK04CruqhLuSMF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IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ag={[Xi.alpine]:Cg,[Xi.alpineDark]:Cg,[Xi.balham]:$g,[Xi.balhamDark]:$g,[Xi.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN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6PouYTIBxsxfJrEa7vGPWqb3X7VC73+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=Cg,Dg=b.css`
2230
+ `;let Gl=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,en.__decorate)([b.observable],Gl.prototype,"slottedAgCell",void 0),(0,en.__decorate)([b.observable],Gl.prototype,"definition",void 0),Gl=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Bl})],Gl);var _l=r(96730),Ul=r(21281),Hl=r(34193),Vl=r(97156),Yl=r(56607),Ql=r(10629),Wl=r(41392),ql=r(92453),Jl=r(2773),Zl=r(40370),Kl=r(6884),Xl=r(39087),es=r(9033),as=r(41119),rs=r(17465),ts=r(12066);function os(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 is(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function ns({value:e}){return(0,ts.CL)(e)}function ls({value:e}){return(0,ts.zT)(e)}const ss="datasource-error-close",gs="datasource";class ds extends((0,Zl.C)(v.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Kl.OD.MAX_ROWS_250,this.maxView=Kl.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.pollingInterval=Kl.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.requestAutoSetup=!0,this.criteriaFromFilters=new Map,this.update=new Vl.t(new Map)}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Kl.OD.REQUEST_SERVER_ROW_ID:Kl.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Kl.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Kl.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Kl.OD.REQUEST_SERVER_ROW_ID:Kl.OD.DATASERVER_ROW_ID}datasourceOptions(){return{resourceName:this.resourceName,isSnapshot:this.isSnapshot,criteria:this.buildCriteria(),maxRows:+this.maxRows,viewNumber:this.viewNumber,fields:this.fields,maxView:+this.maxView,movingView:this.movingView,orderBy:this.orderBy,reverse:this.reverse,disablePolling:this.disablePolling,pollingInterval:this.pollingInterval,request:this.request,requestAutoSetup:this.requestAutoSetup}}buildCriteria(){var e;const a=((null===(e=this.criteria)||void 0===e?void 0:e.split(";"))||[]).concat(Array.from(this.criteriaFromFilters.values())),r=(0,_l.Q)(a.join(" && "),";");return r||void 0}setFilter(e,a){this.criteriaFromFilters.set(e,a),this.update.next(this.criteriaFromFilters)}removeFilter(e){this.criteriaFromFilters.delete(e),this.update.next(this.criteriaFromFilters)}get isRequestServer(){var e;return(null===(e=this.datasource.status)||void 0===e?void 0:e.type)===Xl.v.REQUEST_SERVER}datasourceStatusChanged(e,a){}get agGrid(){return this.parentElement}}var cs;(0,en.__decorate)([g.dm],ds.prototype,"connect",void 0),(0,en.__decorate)([es.yW],ds.prototype,"datasource",void 0),(0,en.__decorate)([b.observable],ds.prototype,"deferredGridOptions",void 0),(0,en.__decorate)([b.observable],ds.prototype,"deferredColumnStates",void 0),(0,en.__decorate)([b.observable],ds.prototype,"rowDataMapper",void 0),(0,en.__decorate)([b.attr],ds.prototype,"criteria",void 0),(0,en.__decorate)([b.attr],ds.prototype,"fields",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],ds.prototype,"isSnapshot",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"max-rows"})],ds.prototype,"maxRows",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"max-view"})],ds.prototype,"maxView",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],ds.prototype,"movingView",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"order-by"})],ds.prototype,"orderBy",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"resource-name"})],ds.prototype,"resourceName",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean"})],ds.prototype,"reverse",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"view-number"})],ds.prototype,"viewNumber",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"polling-interval"})],ds.prototype,"pollingInterval",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],ds.prototype,"disablePolling",void 0),(0,en.__decorate)([b.observable],ds.prototype,"request",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"request-auto-setup"})],ds.prototype,"requestAutoSetup",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"row-id"})],ds.prototype,"rowIdAttr",void 0),(0,en.__decorate)([b.volatile],ds.prototype,"isRequestServer",null),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(cs||(cs={}));class ps extends ds{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 as.w.STRING:t.cellEditor=sn.stringEditor;break;case as.w.NUMBER:t.cellEditor=sn.numberEditor;break;case as.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=sn.boolean,t.cellEditor=sn.boolean);break;case as.w.DATE:t.valueFormatter=ns,t.cellEditor=sn.dateEditor;break;case as.w.DATETIME:t.valueFormatter=ls,t.cellEditor=sn.dateEditor,t.cellEditorParams={withTime:!0};break;case as.w.ENUM:e.enumOptions?(t.cellEditor=sn.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):rs.v.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:is(e.type),filter:os(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},cs.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},cs.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},cs.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(cs)){if(!this.rowDataMapper)return e;const r={};return a.includes(cs.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(cs.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(cs.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}function us(e){switch(e){case as.w.DATE:case as.w.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,maxNumConditions:1,browserDatePicker:!0}}}const hs="datasource-error",ms="datasource-init",bs="datasource-size-changed";let vs=class extends(c(ps)){constructor(){super(...arguments),this.applyFuncName="applyTransaction",this.applyAsyncFuncName="applyTransactionAsync",this.restartOnReconnection=!1,this.keepColDefsOnClearRowData=!1,this.requiresFullRowDataAndColDefs=!0}criteriaChanged(e,a){const r=e!==(0,_l.Q)(a,";");this.datasource.initialized&&r&&this.reloadResourceData()}requestChanged(e,a){const r=e!==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.destroy()}))}deepClone(){const e=super.deepClone();return e.deferredGridOptions={},this.deferredGridOptions&&Object.keys(this.deferredGridOptions).forEach((a=>{"function"==typeof this.deferredGridOptions[a]?e.deferredGridOptions[a]=this.deferredGridOptions[a].bind(e):"columnDefs"===a&&this.deferredGridOptions[a].length?e.deferredGridOptions[a]=this.colDefsDeepClone(a,e):e.deferredGridOptions[a]=structuredClone(this.deferredGridOptions[a])})),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e.request=structuredClone(this.request),e}colDefsDeepClone(e,a){return this.deferredGridOptions[e].map((e=>{const r={};return Object.keys(e).forEach((t=>{"function"==typeof e[t]?r[t]=e[t].bind(a):r[t]=structuredClone(e[t])})),r}))}init(e,a){return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid){const r=Object.assign(Object.assign(Object.assign({getRowId:e=>e.data[this.rowId]},e&&{columnDefs:e}),this.agGrid.agGridOptions),this.deferredGridOptions);this.agGrid.gridOptions=Object.assign({},r),this.agGrid.initGrid(),this.agGrid.addEventListener(Jn.sVA.EVENT_GRID_READY,(()=>(0,en.__awaiter)(this,void 0,void 0,(function*(){a&&this.agGrid.columnApi.applyColumnState({state:a}),yield this.loadResourceData()}))),{once:!0});const t=600;this.updateSub=this.update.pipe((0,Ql.i)(1),(0,Wl.B)(t),(0,ql.M)((e=>Zn.debug("filters (debounced): ",e)))).subscribe((e=>{this.reloadResourceData()}))}else this.handleErrors("Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.")}))}destroy(){this.reset()}deinit(){this.reset()}reset(){var e;Zn.debug("GridProGenesisDatasource.reset()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),this.updateSub&&(this.updateSub.unsubscribe(),this.updateSub=void 0),this.connectionSub&&(this.connectionSub.unsubscribe(),this.connectionSub=void 0),this.clearRowData(),this.requiresFullRowDataAndColDefs=!0,this.dataSubWasLoggedOff=!1,this.criteriaFromFilters=new Map,null===(e=this.update)||void 0===e||e.unsubscribe(),this.update=new Vl.t(new Map),this.agGrid.removeAttribute("ds-disconnected"),this.datasource.destroy()}restart(){let e,a;this.keepColDefsOnClearRowData&&(e=this.agGrid.gridApi.getColumnDefs(),a=this.agGrid.columnApi.getColumnState()),this.destroy(),this.init(e,a)}refreshRows(){this.setRowData(Array.from(this.rowData.values()))}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,en.__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?[...t]:[],remove:[],update:[],addIndex:0},this.applyAllAgTransactions(),this.requiresFullRowDataAndColDefs=!1}))}reloadResourceData(){var e,a;return(0,en.__awaiter)(this,void 0,void 0,(function*(){Zn.debug("GridProGenesisDatasource.reloadResourceData()",this.resourceName),this.dataSub&&(this.dataSub.unsubscribe(),this.dataSub=void 0),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,en.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;try{if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Zn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.$emit(ms),this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}return}Zn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Jl.W)((e=>{var a;return this.handleErrors(null===(a=null==e?void 0:e.receivedMessage)||void 0===a?void 0:a.ERROR),Yl.w}))).subscribe((e=>{(null==e?void 0:e.ERROR)&&this.handleErrors(e.ERROR);const a=e.MESSAGE_TYPE;if(a&&a===Ul.Go.LOGOFF_ACK)return this.handleErrors(`Genesis datasource for ${this.resourceName} disconnected.`),void(this.dataSubWasLoggedOff=!0);if(this.dataSubWasLoggedOff=!1,e.ROW){const a=(0,Hl.d)(e);this.handleStreamResult(a)}else this.handleStreamResult(e)}))}catch(e){let{message:a}=e;e.receivedMessage&&(a=e.receivedMessage.ERROR),Zn.error(a),this.handleErrors(a)}}))}handleSnapshot(e){return Array.isArray(e)?e:e.REPLY?e.REPLY:e.ROW?(0,Hl.d)(e).inserts:e.inserts}handleErrors(e){let a;if(Array.isArray(e)){a=e.map((e=>{if("string"==typeof e)return e;if("object"==typeof e&&null!==e&&"TEXT"in e)return e.TEXT;throw new Error("Array contains invalid elements")})).join(", ")}this.agGrid&&this.agGrid.setAttribute("ds-disconnected","ds-disconnected"),a&&(Zn.error(a),this.$emit(hs,{message:a}))}handleStreamResult(e){e&&(this.isRequestServer?this.applyRequestServerData(e):this.applyDataserverData(e))}applyRequestServerData(e){var a;const r=this.rowData.size,t=e.REPLY;if(!Array.isArray(t)||!(null===(a=e.MESSAGE_TYPE)||void 0===a?void 0:a.startsWith("REP_")))return void Zn.error("received invalid RequestServerResult",e);if(this.requiresFullRowDataAndColDefs){let e=!1;for(const a of t||[]){const r=a[this.rowId];if(!r){if(!e){const a=`The specified rowId (${this.rowId}) is not present in the data. Since this is not a snapshot (isSnapshot=false), the data will not be loaded. Please provide a valid 'row-id' attribute.`;Zn.error(a),e=!0}break}this.rowData.set(r,a)}if(e)return void this.destroy();const a=this.rowData.size>0?Array.from(this.rowData.values()):t;return this.handleSizeChanged(r,this.rowData.size),void this.setRowData(a)}const o=[],i=Array.from(this.rowData.values()).filter((e=>{const a=t.find((a=>a[this.rowId]===e[this.rowId]));return!a||(o.push(a),!1)})),n=t.filter((e=>!this.rowData.has(e[this.rowId])));this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(n),this.handleStreamDeletes(i),this.handleStreamUpdates(o),this.applyAllAgTransactions(),this.handleSizeChanged(r,this.rowData.size)}applyDataserverData(e){var a;const r=this.rowData.size;if(this.requiresFullRowDataAndColDefs){null===(a=e.inserts)||void 0===a||a.forEach((e=>{this.rowData.set(e[this.rowId],e)}));const t=Array.from(this.rowData.values());return this.setRowData(t),void this.handleSizeChanged(r,this.rowData.size)}this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(e.inserts),this.handleStreamDeletes(e.deletes),this.handleStreamUpdates(e.updates),this.applyAllAgTransactions(),this.handleSizeChanged(r,this.rowData.size)}getAgColumnDefs(e){return(0,en.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,us);return yield this.agGrid.mergeAllColumnDefsAndStates(a,!0)}))}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)}handleSizeChanged(e,a){e!==a&&this.$emit(bs,{value:a,oldValue:e})}};(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],vs.prototype,"restartOnReconnection",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],vs.prototype,"keepColDefsOnClearRowData",void 0),vs=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],vs);let fs=class extends vs{};fs=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],fs);var ws=r(48707);function ys(e){switch(e){case as.w.BOOLEAN:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,maxNumConditions:1,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 as.w.DATE:case as.w.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,maxNumConditions:1,browserDatePicker:!0,filterOptions:["equals","lessThan","greaterThan","inRange",{displayKey:"isToday",displayName:"Is today",numberOfInputs:0,predicate:()=>!0},"blank","notBlank"]};case as.w.NUMBER:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,maxNumConditions:1,filterOptions:["equals","notEqual","greaterThan","greaterThanOrEqual","lessThan","lessThanOrEqual","inRange","blank","notBlank"]};default:return{buttons:["reset","apply"],closeOnApply:!0,closeOnClear:!0,maxNumConditions:1,filterOptions:["contains","equals","notEqual",{displayKey:"wordStartsWith",displayName:"Word starts with",numberOfInputs:1,predicate:()=>!0},"blank","notBlank"]}}}var xs=r(40113),ks=r(32808);class zs{constructor(e){this.rowData=new Map,this.serverRowsCount=0,this.clientRowsCount=0,this.moreRows=!1,this.calculatedRowsCount=0,this.currentSequenceId=null,this.reloadResourceDataFunc=e.reloadResourceDataFunc,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,this.zeroBasedViewNumber=e.zeroBasedViewNumber}getRows(e){throw new Error("Method not implemented.")}setupFilteringAndSorting(e){var a;return(0,en.__awaiter)(this,void 0,void 0,(function*(){const r=e.request.filterModel,t=Object.keys(r).length>0,o=0===Object.keys(r).length,i=JSON.stringify(r)!==JSON.stringify(this.currentFilterModel);if(i||t){if(o&&this.currentFilterModel)return this.currentFilterModel=null,this.resourceParams.CRITERIA_MATCH=this.originalCriteriaMatch,void(yield this.refreshDatasource(e));if(i&&t)return this.currentFilterModel=r,this.resourceParams.CRITERIA_MATCH=this.buildCriteriaMatchFromFilters(),void(yield this.refreshDatasource(e))}const n=e.request.sortModel;if((null===(a=this.currentSortModel)||void 0===a?void 0:a.length)!==n.length||n.length>0){if(0===n.length&&this.currentSortModel)return this.calculatedRowsCount=0,this.currentSortModel=null,this.resourceParams.ORDER_BY=null,this.resourceParams.REVERSE=null,void(yield this.refreshDatasource(e));if(n.length>0){this.currentSortModel=n;const a=n[0].colId,r=n[0].sort,t=this.getOrderByAndToBeSortedColIds(this.resourceIndexes,a);if(!t){this.calculatedRowsCount=0;const a=function(e){const a=[];for(const[r]of e)r&&a.push(r);return a}(this.resourceIndexes),r=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 rs.v.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/"),rs.v.debug("Available indexes:",a),rs.v.debug("Columns that can be sorted with the available indexes:",r),void e.fail()}if(JSON.stringify(n)!==JSON.stringify(this.currentSortModel))return this.resourceParams.ORDER_BY=t.orderBy,this.resourceParams.REVERSE="desc"===r,void(yield this.refreshDatasource(e))}}}))}destroy(){this.rowData=new Map,this.clientRowsCount=0,this.calculatedRowsCount=0,this.serverRowsCount=0,this.currentSequenceId=0,this.moreRows=!1,this.sourceRef=void 0,this.lastSuccessRowData=void 0}refreshDatasource(e){return(0,en.__awaiter)(this,void 0,void 0,(function*(){yield this.destroy(),yield this.reloadResourceDataFunc({criteria:this.resourceParams.CRITERIA_MATCH,orderBy:this.resourceParams.ORDER_BY,reverse:this.resourceParams.REVERSE})}))}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)}}}}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"blank":e.push(`${a} == ''`);break;case"contains":e.push(`Expr.containsIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`);break;case"equals":e.push(`${a} == '${this.currentFilterModel[a].filter}'`);break;case"notBlank":e.push(`${a} != ''`);break;case"notEqual":e.push(`${a} != '${this.currentFilterModel[a].filter}'`);break;case"wordStartsWith":e.push(`Expr.containsWordsStartingWithIgnoreCase(${a}, '${this.currentFilterModel[a].filter}')`)}else e.push(`${a} == ${this.currentFilterModel[a].type}`)})),this.getFiltersByType("number").forEach((a=>{const r=this.currentFilterModel[a].filter,t=this.currentFilterModel[a].filterTo;switch(this.currentFilterModel[a].type){case"equals":!isNaN(r)&&e.push(`${a} == ${r}`);break;case"notEqual":!isNaN(r)&&e.push(`${a} != ${r}`);break;case"greaterThan":!isNaN(r)&&e.push(`${a} > ${r}`);break;case"greaterThanOrEqual":!isNaN(r)&&e.push(`${a} >= ${r}`);break;case"lessThan":!isNaN(r)&&e.push(`${a} < ${r}`);break;case"lessThanOrEqual":!isNaN(r)&&e.push(`${a} <= ${r}`);break;case"inRange":!isNaN(r)&&!isNaN(t)&&e.push(`${a} >= ${r} && ${a} <= ${t}`);break;case"blank":e.push(`${a} == 0`);break;case"notBlank":e.push(`${a} != 0`)}})),this.getFiltersByType("date").forEach((a=>{var r,t;const o=null===(r=this.currentFilterModel[a].dateFrom)||void 0===r?void 0:r.replace(/-/g,"").replace("T","-").split(" ")[0],i=null===(t=this.currentFilterModel[a].dateTo)||void 0===t?void 0:t.replace(/-/g,"").replace("T","-").split(" ")[0];switch(this.currentFilterModel[a].type){case"equals":e.push(`Expr.dateIsEqual(${a}, '${o}')`);break;case"lessThan":e.push(`Expr.dateIsBefore(${a}, '${o}')`);break;case"greaterThan":e.push(`Expr.dateIsAfter(${a}, '${o}')`);break;case"inRange":e.push(`Expr.dateIsAfter(${a}, '${o}') && Expr.dateIsBefore(${a}, '${i}')`);break;case"isToday":const r=new Date,t=`${r.getFullYear()}-${(r.getMonth()+1).toString().padStart(2,"0")}-${r.getDate().toString().padStart(2,"0")} 00:00:00`;e.push(`Expr.dateIsEqual(${a}, '${t}')`);break;case"blank":e.push(`${a} == null`);break;case"notBlank":e.push(`${a} != null`)}})),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))}getPageNumber(e,a,r,t=!0){e>r&&(e=Math.floor((r-1)/a)*a+1);const o=Math.ceil(e/a);return t?o:o+1}getCorrectRowCount(e){const a=e.request.endRow;this.calculatedRowsCount=this.clientRowsCount||a;const r=Math.min(this.serverRowsCount,this.maxView);let t;return this.pagination?(t=this.resourceParams.CRITERIA_MATCH?void 0:Math.min(this.serverRowsCount,this.maxView),this.resourceParams.CRITERIA_MATCH&&(t=r),t):(a===this.serverRowsCount?t=this.serverRowsCount:a>this.maxView||a>this.calculatedRowsCount?t=Math.min(r,this.calculatedRowsCount):!this.moreRows&&this.serverRowsCount>this.calculatedRowsCount&&(t=this.calculatedRowsCount),t)}get isNotFirstViewNumber(){return this.zeroBasedViewNumber?this.currentSequenceId>0:this.currentSequenceId>1}}(0,en.__decorate)([xs.N],zs.prototype,"auth",void 0),(0,en.__decorate)([g.dm],zs.prototype,"connect",void 0),(0,en.__decorate)([ks.k],zs.prototype,"uuid",void 0);class Ss extends zs{constructor(e){super(e),this.createDataserverStreamFunc=e.createDataserverStreamFunc}refreshDatasource(e){const a=Object.create(null,{refreshDatasource:{get:()=>super.refreshDatasource}});return(0,en.__awaiter)(this,void 0,void 0,(function*(){this.dataserverStreamSubscription.unsubscribe(),this.dataserverStreamSubscription=void 0,yield a.refreshDatasource.call(this,e)}))}getRows(e){return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(yield this.setupFilteringAndSorting(e),this.pagination&&!this.isNewPageSize&&this.currentSequenceId>0)return void e.success(this.lastSuccessRowData);this.dataserverStream||(this.dataserverStream=yield this.createDataserverStreamFunc(this.resourceParams)),this.currentSequenceId>=1&&(this.moreRows||e.request.startRow>=Number(this.maxRows)||0===e.request.startRow)&&(this.pagination&&(this.resourceParams.VIEW_NUMBER=this.getPageNumber(e.request.startRow,this.maxRows,this.maxView,this.zeroBasedViewNumber)),this.connect.getMoreRows(this.sourceRef,this.resourceParams.VIEW_NUMBER));let a=!0;this.dataserverStreamSubscription=this.dataserverStream.subscribe((r=>{a&&b.DOM.queueUpdate((()=>(0,en.__awaiter)(this,void 0,void 0,(function*(){if(this.resourceParams.CRITERIA_MATCH){const e=yield this.connect.snapshot(this.resourceName,{MAX_ROWS:this.maxView,MAX_VIEW:this.maxView,CRITERIA_MATCH:this.resourceParams.CRITERIA_MATCH});e.ROW||e.ROWS_COUNT?this.serverRowsCount=this.resourceParams.CRITERIA_MATCH?e.ROW.length:e.ROWS_COUNT:(rs.v.warn("No data returned when criteria is applied."),this.serverRowsCount=0,this.clientRowsCount=0)}this.applyServerSideData(e,r),a=!1}))))}))}))}applyServerSideData(e,a){var r;const t=a.MESSAGE_TYPE;if(t&&(t===Ul.Go.LOGOFF_ACK||t===Ul.Go.MSG_NACK))return void e.fail();if(this.moreRows=a.MORE_ROWS,!a.ROW){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}{const e=(0,Hl.d)(a);this.handleCurrentStreamLoad(e)}this.currentSequenceId=a.SEQUENCE_ID,1===this.currentSequenceId&&(this.sourceRef=a.SOURCE_REF,0===this.serverRowsCount&&(this.serverRowsCount=null!==(r=a.ROWS_COUNT)&&void 0!==r?r:this.rowData.size));const o={rowData:Array.from(this.rowData.values())};o.rowCount=this.getCorrectRowCount(e),this.lastSuccessRowData=o,e.success(o)}destroy(){const e=Object.create(null,{destroy:{get:()=>super.destroy}});var a;return(0,en.__awaiter)(this,void 0,void 0,(function*(){this.dataserverStream=void 0,null===(a=this.dataserverStreamSubscription)||void 0===a||a.unsubscribe(),this.dataserverStreamSubscription=void 0,yield e.destroy.call(this)}))}handleCurrentStreamLoad(e){var a,r;if(!e)return;const t=new Map;null===(a=e.inserts)||void 0===a||a.forEach((e=>{t.set(e[this.rowId],e)})),this.clientRowsCount+=null!==(r=e.inserts.length)&&void 0!==r?r:0,this.rowData=t}}class Cs extends zs{constructor(e){var a;super(e),this.createReqRepRequestFunc=e.createReqRepRequestFunc,(null===(a=e.resourceParams)||void 0===a?void 0:a.VIEW_NUMBER)||(this.resourceParams.VIEW_NUMBER=this.zeroBasedViewNumber?0:1)}getRows(e){return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(yield this.setupFilteringAndSorting(e),this.pagination&&!this.isNewPageSize&&this.currentSequenceId>0)return void e.success(this.lastSuccessRowData);null!==this.currentSequenceId&&this.currentSequenceId>=0&&this.moreRows&&(this.pagination?this.resourceParams.VIEW_NUMBER=this.getPageNumber(e.request.startRow,this.maxRows,this.maxView):this.resourceParams.VIEW_NUMBER+=1);const a={DETAILS:{CRITERIA_MATCH:this.resourceParams.CRITERIA_MATCH,MAX_ROWS:this.resourceParams.MAX_ROWS,VIEW_NUMBER:this.resourceParams.VIEW_NUMBER}},r=yield this.createReqRepRequestFunc(a);let t=!1;if(-1!==r.NEXT_VIEW){const e=Object.assign(Object.assign({},a),{DETAILS:Object.assign(Object.assign({},a.DETAILS),{VIEW_NUMBER:r.NEXT_VIEW})});t=-1===(yield this.createReqRepRequestFunc(e)).NEXT_VIEW}let o=!0;o&&(this.applyServerSideData(e,r,t),o=!1)}))}applyServerSideData(e,a,r){var t;const o=a.MESSAGE_TYPE;if(o&&(o===Ul.Go.LOGOFF_ACK||o===Ul.Go.MSG_NACK))return void e.fail();if(this.moreRows=!r&&-1!==a.NEXT_VIEW&&a.NEXT_VIEW>this.resourceParams.VIEW_NUMBER,!a.REPLY){this.rowData=new Map;const a={rowData:[],rowCount:0};return void e.success(a)}this.handleCurrentStreamLoad(a.REPLY),this.currentSequenceId=this.resourceParams.VIEW_NUMBER,this.sourceRef=a.SOURCE_REF,this.serverRowsCount+=null!==(t=a.ROWS_COUNT)&&void 0!==t?t:this.rowData.size;const i={rowData:Array.from(this.rowData.values())};i.rowCount=this.getCorrectRowCount(e),this.lastSuccessRowData=i,e.success(i)}getCorrectRowCount(e){const a=this.moreRows?-1:e.request.startRow+this.serverRowsCount,r=e.request.endRow;this.calculatedRowsCount=this.serverRowsCount||r;const t=Math.min(a,this.maxView);let o;return this.pagination?(o=this.resourceParams.CRITERIA_MATCH?void 0:Math.min(a,this.maxView),this.resourceParams.CRITERIA_MATCH&&(o=t),!this.moreRows&&a>this.calculatedRowsCount&&(o=this.calculatedRowsCount),o):(r===a?o=a:r>this.maxView||r>this.calculatedRowsCount?o=Math.min(t,this.calculatedRowsCount):!this.moreRows&&a>this.calculatedRowsCount&&(o=this.calculatedRowsCount),o)}handleCurrentStreamLoad(e){if(!e||0==e.length)return;const a=new Map;e.forEach((e=>{const r=e[this.rowId];if(r)return void a.set(r,e);const t=`The specified rowId (${this.rowId}) is not present in the data. Since this is a snapshot (isSnapshot=true), an auto-generated UUID will be used. For custom identifiers, use the 'row-id' attribute.`;Zn.error(t);const o=this.uuid.createId();e[this.rowId]=o,a.set(o,e)})),this.rowData=a}}let $s=class extends(c(ps)){constructor(){super(...arguments),this.applyFuncName="applyServerSideTransaction",this.applyAsyncFuncName="applyServerSideTransactionAsync",this.pagination=!1,this.zeroBasedViewNumber=!1,this.liveUpdates=!1,this.request={}}resourceNameChanged(e,a){e&&e!==a&&b.DOM.queueUpdate((()=>(0,en.__awaiter)(this,void 0,void 0,(function*(){yield this.restart()}))))}criteriaChanged(e,a){const r=e!==(0,_l.Q)(a,";");this.ssrmDatasource&&r&&b.DOM.queueUpdate((()=>(0,en.__awaiter)(this,void 0,void 0,(function*(){yield this.reloadResourceData()}))))}connectedCallback(){super.connectedCallback();const e=this.shouldRunConnect;b.DOM.queueUpdate((()=>{e&&this.init()}))}disconnectedCallback(){super.disconnectedCallback();const e=this.shouldRunDisconnect;b.DOM.queueUpdate((()=>(0,en.__awaiter)(this,void 0,void 0,(function*(){e&&(yield this.destroy())}))))}deepClone(){const e=super.deepClone();return e.deferredGridOptions=structuredClone(this.deferredGridOptions),e.deferredColumnStates=structuredClone(this.deferredColumnStates),e}reloadResourceData(e){var a,r,t,o,i,n;return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(this.datasource.destroy(),null===(a=this.liveUpdatesStream)||void 0===a||a.unsubscribe(),this.liveUpdatesStream=void 0,this.clearRowData(null),e){const a=Object.assign(Object.assign({},this.datasourceOptions()),e);(yield this.datasource.init(a,!0,!1))||(null===(r=this.agGrid.gridApi)||void 0===r||r.setServerSideDatasource(null),Zn.error("Genesis Datasource re-init failed on filtering/sorting."))}else this.ssrmDatasource&&(yield this.ssrmDatasource.destroy(),this.ssrmDatasource=void 0),null===(t=this.agGrid.gridApi)||void 0===t||t.setServerSideDatasource(null),null===(o=this.agGrid.gridApi)||void 0===o||o.refreshServerSide({purge:!0}),null===(n=null===(i=this.agGrid)||void 0===i?void 0:i.gridApi)||void 0===n||n.showLoadingOverlay(),yield this.init()}))}init(){return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(this.agGrid)return this.agGrid.gridOptions=Object.assign(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:!1},pagination:this.pagination,paginationPageSize:this.maxRows,rowBuffer:0,rowModelType:"serverSide",suppressServerSideInfiniteScroll:!1,suppressMultiSort:!0,onFilterChanged:e=>{},onSortChanged:e=>{},onPaginationChanged:e=>this.onPaginationChanged(e)},this.agGrid.agGridOptions),this.deferredGridOptions),this.agGrid.initGrid(),void this.agGrid.addEventListener(Jn.sVA.EVENT_GRID_READY,(()=>(0,en.__awaiter)(this,void 0,void 0,(function*(){if(!(yield this.datasource.init(this.datasourceOptions(),!0,!1)))return Zn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();this.$emit(ms),this.indexes=this.getResourceIndexes(this.datasource.availableIndexes);const e=(0,ws.X)(this.datasource.originalFieldDef),a=yield this.getAgColumnDefs(e);this.agGrid.gridApi.setColumnDefs(a),this.isRequestServer?this.ssrmDatasource=new Cs({createReqRepRequestFunc:this.createReqRepRequest.bind(this),reloadResourceDataFunc:this.reloadResourceData.bind(this),resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.datasource.originalFieldDef,maxRows:+this.maxRows,maxView:+this.maxView,rowId:this.rowId,pagination:this.pagination,zeroBasedViewNumber:this.zeroBasedViewNumber}):this.ssrmDatasource=new Ss({createDataserverStreamFunc:this.createDataserverStream.bind(this),reloadResourceDataFunc:this.reloadResourceData.bind(this),resourceName:this.resourceName,resourceParams:this.params,resourceIndexes:this.indexes,resourceColDefs:this.datasource.originalFieldDef,maxRows:+this.maxRows,maxView:+this.maxView,rowId:this.rowId,pagination:this.pagination,zeroBasedViewNumber:this.zeroBasedViewNumber}),this.agGrid.gridApi.setServerSideDatasource(this.ssrmDatasource)}))),{once:!0});Zn.warn("Application not connected, falling back to local columnDefs/rowData")}))}onPaginationChanged(e){var a;this.agGrid.gridApi&&this.ssrmDatasource&&(this.ssrmDatasource.isNewPageSize=null!==(a=e.newPage)&&void 0!==a&&a)}destroy(){var e,a,r;return(0,en.__awaiter)(this,void 0,void 0,(function*(){this.datasource.destroy(),null===(e=this.liveUpdatesStream)||void 0===e||e.unsubscribe(),this.liveUpdatesStream=void 0,this.clearRowData(),this.ssrmDatasource&&(yield this.ssrmDatasource.destroy(),this.ssrmDatasource=void 0),null===(a=this.agGrid.gridApi)||void 0===a||a.setServerSideDatasource(null),null===(r=this.agGrid.gridApi)||void 0===r||r.refreshServerSide({purge:!0})}))}restart(){return(0,en.__awaiter)(this,void 0,void 0,(function*(){yield this.destroy(),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));Zn.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 Zn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createReqRepRequest(e=null){return(0,en.__awaiter)(this,void 0,void 0,(function*(){return yield this.datasource.snapshot(e)}))}createDataserverStream(e=null){return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(this.liveUpdates){const a=e=>(0,en.__awaiter)(this,void 0,void 0,(function*(){var a,r;if(e.MESSAGE_TYPE===Ul.Go.QUERY_UPDATE&&e.ROW){if(!this.ssrmDatasource)return;const t=(0,Hl.d)(e);this.agTransaction={add:[],remove:[],update:[]},this.handleStreamInserts(t.inserts),this.handleStreamUpdates(t.updates),this.handleStreamDeletes(t.deletes),e.SEQUENCE_ID>1&&(this.ssrmDatasource.clientRowsCount+=null!==(a=t.inserts.length)&&void 0!==a?a:0,this.ssrmDatasource.serverRowsCount+=null!==(r=t.inserts.length)&&void 0!==r?r:0),this.pagination?this.applyAllAgTransactions():setTimeout((()=>{this.applyAllAgTransactions()}),500)}})),r=e=>Zn.error(e);this.liveUpdatesStream=this.connect.stream(this.resourceName,(()=>{}),r,null!=e?e:this.params).subscribe((e=>a(e)))}return yield this.datasource.startStream(),this.datasource.stream}))}getAgColumnDefs(e){return(0,en.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,ys);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,en.__decorate)([(0,b.attr)({mode:"boolean"})],$s.prototype,"pagination",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"zero-based-view-number"})],$s.prototype,"zeroBasedViewNumber",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"live-updates"})],$s.prototype,"liveUpdates",void 0),(0,en.__decorate)([b.observable],$s.prototype,"request",void 0),$s=(0,en.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],$s);const As='\n @font-face {\n font-family: "agGridAlpine";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABGYAAsAAAAAJUAAABFHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKpXCfGwE2AiQDgiwLgRgABCAFhEYHhRYbjiBFIbBxQJhBP8IiqifF7P9DAp1DWLRF/YtGkJpOTafDolO66hq923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LC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ds='\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/bccgSgISTwjfXQjUrV14PoMQtmKBCWgyDBHwf3OlveyxK4GiKYHQ9exMZjK7zfz5ubvsYS5HlOOUECygAtoUiNcVVGUdsCPbVyXJVdq6VlVYXag55WB04UExdSgEyFx64PjfUGqRahgfQwg7jwHtG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i5oJwD9i9Vg702P6wdUszdjktjwNxUZEt27XAj6sav9i+rXY/0MHfoMaTL9f/w6kVcMrknc1sXmjMda7CqsA0MfB2wR8AI2WBEFne8bZ0xzW2VXY1V/6706+BWjIkbQpN/tnTALgAc7vDgx1qfjJv5u2LAzD6BbU37mdkSLdSf0dxr/7wGZfCIRm4QAk+T/hPz4obRlcNVfMDRbivHnAf0dKvvBBU9agR+tgN2OI0gMN5QV7SP3X4k4KtnOEIWYAiOBM19wg2rAALFxAASYMHZFUKDCEoE9R28SNkSfIBTwhNvCluj3xBFsY3cfDWv+JdwbB/OoolfpN7gaFafH857nP3AJhMNtaHje9b0BAisBM8zHoSzuTsQOlikNr4R2RTHSkJneQcvkRfL9dVipf8GTprRSnDcsMB4pkX9RsX6DnVVFb9ZYYZJ86z/YisKrRtDg1uRGUXmTqNy+IoCxZse9VSzP1h0JLWuIHEZSIl+NMkURQ0FPMhc774D27YnXsLP7/6iYkVW1J9oIX6KSU000uMDhG4PRZLZYbXaHH/61X+r8mc5sLl8olsqVaq3eaLbanW6vPxiOxpPpbL6gjAuptFmu1pvtbn84ns4XDx49efbi1Vs5W70cg1MSCFvVmfZlqz7d6kANsdG3YvlyBgb9MdNhPOSC+ZU6R0ADApwCKoFveakVlYY/1xmJxxxO4rkLU01YTnWisNICZqczHxvdqZSt/padqUU38Ner98fMyrAw32INB2OJqvhtkt/aFmvTmxmWi+xcD7nZ+VTz7k1dcFcrbWzY6IV2MZUJ6PoUh5DCJ+xSxdp3kgvHwUQ4w5RRxUh7zCaXToItSdi0s5B84bIvhsa5ihCOZO1V6kTYcHNediUWOC2PgUFGQ3vsP9PWCBnuBr4JA4xQVl/f1j2SteIwIAKC9got8j7MDsYfkio7WlifZQUAAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ts={[Xi.alpine]:As,[Xi.alpineDark]:As,[Xi.balham]:Ds,[Xi.balhamDark]:Ds,[Xi.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;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3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Fs=As,Os=b.css`
2231
2231
  .ag-icon {
2232
2232
  font-family: var(--ag-icon-font-family);
2233
2233
  font-size: var(--ag-icon-size);
@@ -9404,7 +9404,7 @@
9404
9404
  input[class^='ag-'][type='range']:disabled {
9405
9405
  opacity: 0.5;
9406
9406
  }
9407
- `,Fg=b.css`
9407
+ `,Rs=b.css`
9408
9408
  .ag-dnd-ghost {
9409
9409
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9410
9410
  border: solid 1px;
@@ -9421,7 +9421,7 @@
9421
9421
  overflow: hidden;
9422
9422
  text-overflow: ellipsis;
9423
9423
  }
9424
- `,Tg=b.css`
9424
+ `,Ns=b.css`
9425
9425
  .ag-theme-alpine,
9426
9426
  .ag-theme-alpine-dark {
9427
9427
  --ag-alpine-active-color: #2196f3;
@@ -9871,7 +9871,7 @@
9871
9871
  .ag-theme-alpine-dark {
9872
9872
  color-scheme: dark;
9873
9873
  }
9874
- `,Rg=b.css`
9874
+ `,Ms=b.css`
9875
9875
  .ag-theme-balham,
9876
9876
  .ag-theme-balham-dark {
9877
9877
  --ag-balham-active-color: #0091ea;
@@ -10141,7 +10141,7 @@
10141
10141
  .ag-theme-balham-dark {
10142
10142
  color-scheme: dark;
10143
10143
  }
10144
- `,Ng=b.css`
10144
+ `,Ls=b.css`
10145
10145
  .ag-theme-material {
10146
10146
  --ag-material-primary-color: #3f51b5;
10147
10147
  --ag-material-accent-color: #ff4081;
@@ -10406,14 +10406,14 @@
10406
10406
  .ag-theme-material .ag-picker-field-wrapper:focus {
10407
10407
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10408
10408
  }
10409
- `,Lg=b.css`
10410
- ${Dg}
10411
- ${Fg}
10412
- ${Tg}
10413
- ${Rg}
10414
- ${Ng}
10415
- `,Mg=b.css`
10416
- ${Lg}
10409
+ `,Is=b.css`
10410
+ ${Os}
10411
+ ${Rs}
10412
+ ${Ns}
10413
+ ${Ms}
10414
+ ${Ls}
10415
+ `,Es=b.css`
10416
+ ${Is}
10417
10417
  :host {
10418
10418
  --datasource-error-background-color: var(--neutral-layer-4);
10419
10419
  --datasource-error-background-opacity: 0.5;
@@ -10470,7 +10470,7 @@
10470
10470
  opacity: var(--datasource-error-background-opacity);
10471
10471
  z-index: 1;
10472
10472
  }
10473
- `,Ig=(e="foundation")=>b.html`
10473
+ `,js=(e="foundation")=>b.html`
10474
10474
  <template>
10475
10475
  <span part="grid" class="${e=>e.classNames}">
10476
10476
  <slot name="grid" ${(0,b.ref)("gridSlot")}></slot>
@@ -10479,7 +10479,7 @@
10479
10479
  <slot
10480
10480
  name="grid-datasource-error"
10481
10481
  part="grid-datasource-error"
10482
- class="${e=>e.gridErrorItems.filter((({type:e})=>e===dg)).length>0?"":"hidden"}"
10482
+ class="${e=>e.gridErrorItems.filter((({type:e})=>e===gs)).length>0?"":"hidden"}"
10483
10483
  >
10484
10484
  <${e}-dialog
10485
10485
  class="grid-datasource-error-dialog"
@@ -10504,7 +10504,7 @@
10504
10504
  </${e}-dialog>
10505
10505
  </slot>
10506
10506
  </template>
10507
- `,jg=Ig();var Eg=r(98316);class Pg{getColumnState(e){return(0,en.__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,en.__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,en.__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,en.__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,en.__decorate)([Eg.N],Pg.prototype,"session",void 0);const Bg=v.DI.createInterface((e=>e.singleton(Pg)));class Gg{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function _g(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}Jn.syG.registerModules([Rl.n7,Tl.Q]);const Ug=Jn.kNx.ALL_PROPERTIES.filter((e=>"rowData"!==e));class Hg extends(c(v.FoundationElement)){rowDataChanged(e,a){this.initialised&&this.gridApi.setRowData(a)}themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,T.x)(nn(a),a),this.insertFontFace(a)}getfilterModel(){return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,en.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}constructor(){super(),this.gridErrorItems=[],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=Xi.alpine,this.rehydrationAttempted=!1,this.rootEventsListeners=[],this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Ug.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[ol(a)]=a,e)),{});const e=this.hideDatasourceError.bind(this);this.rootEventsListeners.push({key:vg,action:e},{key:sg,action:e},{key:bg,action:this.handleError.bind(this,dg)})}addEventListener(e,a,r){super.addEventListener(e,a,r),Jn.kNx.PUBLIC_EVENTS.includes(e)&&(this.gridApi?this.addGridEventListener(e):this.gridEventsQueue.push(e))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}handleError(e,a){this.gridErrorItems=[...this.gridErrorItems,{detail:a.detail,type:e}]}hideDatasourceError(){this.gridErrorItems=this.gridErrorItems.filter((e=>e.type!==dg))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,Nl.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&(Ug.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(ol(e),void 0,a)},enumerable:!0,configurable:!0})})),this.rootEventsListeners.forEach((({key:e,action:a})=>{this.addEventListener(e,a)})))}disconnectedCallback(){super.disconnectedCallback(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;this.rootEventsListeners.forEach((({key:e,action:a})=>{this.removeEventListener(e,a)})),b.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[gn.action]:Kn,[gn.actionsMenu]:il,[gn.boolean]:sl,[gn.editable]:Hn,[gn.selectEditor]:$n,[gn.numberEditor]:Rn,[gn.multiselectEditor]:yn,[gn.dateEditor]:hn,[gn.stringEditor]:En};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,en.__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,en.__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,en.__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,en.__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 gridParams(){return{globalEventListener:this.globalEventListener.bind(this)}}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=jl()(this.saveColumnState.bind(this),400),r=jl()(this.cacheFilterConfig.bind(this),400),t=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,defaultColDef:n,getRowId:l,onGridReady:g,onFilterChanged:s}=e,d=(0,en.__rest)(e,["columnDefs","components","defaultColDef","getRowId","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},n),components:this.combineAllGridComponents(i),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),this.rowData&&this.gridApi.setRowData(this.rowData),g&&g(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:t,onColumnResized:t,onColumnMoved:t,onDisplayedColumnsChanged:t,onFilterChanged:e=>{r(),s&&s(e)},onGridSizeChanged:t,onSortChanged:t}),d);this.gridProDatasource?(c.columnDefs=o,c.getRowId=l,this.setLocalGridOptions(c)):this.mergeAllColumnDefsAndStates(o).then((e=>{c.columnDefs=e,c.getRowId=l,this.setLocalGridOptions(c),this.initGrid()}))}setLocalGridOptions(e){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Jn.kNx.copyAttributesToGridOptions(e,this.agAttributes))}initGrid(){b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Jn.xA9(this.gridSlot,this.agGridOptions,this.gridParams),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Zn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,en.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=Ml[this.headerCaseType];a?e.headerName=a(e.field):Zn.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[sn]===e.field)return{component:gn.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Gg,e.tooltipValueGetter=a=>{const r=a.data[dn];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[dn])||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 _g(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return _g(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Ug.map((e=>e.toLowerCase())),a=Ug.map((e=>ol(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},Jn.kNx.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=Ag[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Ll.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,en.__decorate)([b.observable],Hg.prototype,"columnApi",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"gridApi",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"gridErrorItems",void 0),(0,en.__decorate)([Bg],Hg.prototype,"statePersistence",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Hg.prototype,"autoCellRendererByType",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Hg.prototype,"onlyTemplateColDefs",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],Hg.prototype,"gridAutosizingEnabled",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"add-index"})],Hg.prototype,"addIndex",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],Hg.prototype,"asyncAdd",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],Hg.prototype,"asyncRemove",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],Hg.prototype,"asyncUpdate",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Hg.prototype,"enableCellFlashing",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Hg.prototype,"enabledRowFlashing",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Hg.prototype,"enableRowFlashing",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],Hg.prototype,"persistColumnStateKey",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],Hg.prototype,"persistFilterModelKey",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"header-case-type"})],Hg.prototype,"headerCaseType",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"rowData",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"gridFontFace",void 0),(0,en.__decorate)([b.attr],Hg.prototype,"columnComponentName",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"eventsAndCallbacks",void 0),(0,en.__decorate)([b.attr],Hg.prototype,"headerHeight",void 0),(0,en.__decorate)([b.attr],Hg.prototype,"rowHeight",void 0),(0,en.__decorate)([b.attr],Hg.prototype,"theme",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"classNames",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"agGrid",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"gridSlot",void 0),(0,en.__decorate)([b.observable],Hg.prototype,"gridComponents",void 0),(0,en.__decorate)([pn],Hg.prototype,"gridOptionsConfig",void 0);const Vg=void 0,Yg={shadowOptions:void 0},Qg=Hg.compose(Object.assign({baseName:"grid-pro",styles:Mg,template:jg,shadowOptions:Vg},Yg)),Wg={foregroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2b2e34"))},qg={foregroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2196f3"))},{create:Jg}=v.DesignToken,Zg={backgroundColor:Jg("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?qg.backgroundSwatch:Wg.backgroundSwatch)),borderColor:Jg("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?qg.borderSwatch:Wg.borderSwatch)),foregroundColor:Jg("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?qg.foregroundSwatch:Wg.foregroundSwatch)),headerForegroundColor:Jg("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?qg.headerForegroundSwatch:Wg.headerForegroundSwatch)),rowHoverColor:Jg("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?qg.rowHoverSwatch:Wg.rowHoverSwatch))},Kg=b.css`
10507
+ `,Ps=js();var Bs=r(98316);class Gs{getColumnState(e){return(0,en.__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,en.__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,en.__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,en.__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,en.__decorate)([Bs.N],Gs.prototype,"session",void 0);const _s=v.DI.createInterface((e=>e.singleton(Gs)));class Us{init(e){const a=this.eGui=document.createElement("div"),r=e.value;a.classList.add("custom-tooltip"),a.style["background-color"]="#f14376",a.style.border="1px inside",a.style["border-color"]="#2e3339",a.style["border-radius"]="4px",a.style.padding="5px",a.style["box-shadow"]="0px 4px 10px 0px rgba(0, 0, 0, 0.25);",a.innerHTML=`<span style='color: #000000; font-size: 10px'>${r}</span>`}getGui(){return this.eGui}}function Hs(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}Jn.syG.registerModules([Rl.n7,Ol.Q]);const Vs=Jn.kNx.ALL_PROPERTIES.filter((e=>"rowData"!==e));class Ys extends(c(v.FoundationElement)){rowDataChanged(e,a){this.initialised&&this.gridApi.setRowData(a)}themeChanged(e,a){if(!a)return this.classNames="",void this.destroyFontFace();this.classNames=(0,O.x)(nn(a),a),this.insertFontFace(a)}getfilterModel(){return(0,en.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,en.__awaiter)(this,void 0,void 0,(function*(){this.persistFilterModelKey?yield this.statePersistence.saveFilterModel(this.persistFilterModelKey,e):this._filterConfig=e}))}constructor(){super(),this.gridErrorItems=[],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=Fs,this.columnComponentName="grid-pro-column",this.theme=Xi.alpine,this.rehydrationAttempted=!1,this.rootEventsListeners=[],this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Vs.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[ol(a)]=a,e)),{});const e=this.hideDatasourceError.bind(this);this.rootEventsListeners.push({key:ms,action:e},{key:ss,action:e},{key:hs,action:this.handleError.bind(this,gs)})}addEventListener(e,a,r){const t=e.startsWith("on")?e:`on${e.charAt(0).toUpperCase()+e.slice(1)}`;super.addEventListener(t,a,r),Jn.kNx.PUBLIC_EVENTS.includes(t)&&(this.gridApi?this.addGridEventListener(t):this.gridEventsQueue.push(t))}addGridEventListener(e){this.gridApi.addEventListener(e,(a=>{this.$emit(e,a)}))}handleError(e,a){this.gridErrorItems=[...this.gridErrorItems,{detail:a.detail,type:e}]}hideDatasourceError(){this.gridErrorItems=this.gridErrorItems.filter((e=>e.type!==gs))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,Nl.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&(Vs.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(ol(e),void 0,a)},enumerable:!0,configurable:!0})})),this.rootEventsListeners.forEach((({key:e,action:a})=>{this.addEventListener(e,a)})))}disconnectedCallback(){super.disconnectedCallback(),this.rehydrationAttempted=!1;const e=this.shouldRunDisconnect;this.rootEventsListeners.forEach((({key:e,action:a})=>{this.removeEventListener(e,a)})),b.DOM.queueUpdate((()=>{var a;e&&(this.initialised=!1,null===(a=this.gridApi)||void 0===a||a.destroy())}))}combineAllGridComponents(e){const a={[sn.action]:Kn,[sn.actionsMenu]:il,[sn.boolean]:gl,[sn.editable]:Hn,[sn.selectEditor]:$n,[sn.numberEditor]:Rn,[sn.multiselectEditor]:yn,[sn.dateEditor]:hn,[sn.stringEditor]:jn};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,en.__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,en.__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,en.__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,en.__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 gridParams(){return{globalEventListener:this.globalEventListener.bind(this)}}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=El()(this.saveColumnState.bind(this),400),r=El()(this.cacheFilterConfig.bind(this),400),t=()=>{a(),this.debouncedColumnAutosize.bind(this)()};Array.from(this.attributes).forEach((e=>{const a=this.agPropertiesMap[e.name];a&&(this.agAttributes[a]=e.value)}));const{columnDefs:o,components:i,defaultColDef:n,getRowId:l,onGridReady:s,onFilterChanged:g}=e,d=(0,en.__rest)(e,["columnDefs","components","defaultColDef","getRowId","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},n),components:this.combineAllGridComponents(i),suppressDragLeaveHidesColumns:!0}),this.eventsAndCallbacks),{onGridReady:a=>{var r,t;this.gridApi=null!==(r=e.api)&&void 0!==r?r:a.api,this.columnApi=null!==(t=e.columnApi)&&void 0!==t?t:a.columnApi,this.gridEventsQueue.length&&this.gridEventsQueue.forEach((e=>{this.addGridEventListener(e)})),this.rowData&&this.gridApi.setRowData(this.rowData),s&&s(a),this.$emit("onGridReady",{event:a,gridId:this.id}),this.restoreColumnState.bind(this)(),this.debouncedColumnAutosize.bind(this)()},onColumnPinned:t,onColumnResized:t,onColumnMoved:t,onDisplayedColumnsChanged:t,onFilterChanged:e=>{r(),g&&g(e)},onGridSizeChanged:t,onSortChanged:t}),d);this.gridProDatasource?(c.columnDefs=o,c.getRowId=l,this.setLocalGridOptions(c)):this.mergeAllColumnDefsAndStates(o).then((e=>{c.columnDefs=e,c.getRowId=l,this.setLocalGridOptions(c),this.initGrid()}))}setLocalGridOptions(e){this.agGridOptions=Object.assign(Object.assign({},this.agGridOptions),Jn.kNx.copyAttributesToGridOptions(e,this.agAttributes))}initGrid(){b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Jn.xA9(this.gridSlot,this.agGridOptions,this.gridParams),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Zn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,en.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=Ll[this.headerCaseType];a?e.headerName=a(e.field):Zn.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[gn]===e.field)return{component:sn.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Us,e.tooltipValueGetter=a=>{const r=a.data[dn];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[dn])||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 Hs(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Hs(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Vs.map((e=>e.toLowerCase())),a=Vs.map((e=>ol(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},Jn.kNx.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=Ts[e]||this.gridFontFace;this.destroyFontFace();const r=(0,Ml.O)(a,`${e}-fonts`);r&&(this.fontFaceDestroy=r)}destroyFontFace(){this.fontFaceDestroy&&(this.fontFaceDestroy(),this.fontFaceDestroy=null)}}(0,en.__decorate)([b.observable],Ys.prototype,"columnApi",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"gridApi",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"gridErrorItems",void 0),(0,en.__decorate)([_s],Ys.prototype,"statePersistence",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Ys.prototype,"autoCellRendererByType",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Ys.prototype,"onlyTemplateColDefs",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],Ys.prototype,"gridAutosizingEnabled",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"add-index"})],Ys.prototype,"addIndex",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],Ys.prototype,"asyncAdd",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],Ys.prototype,"asyncRemove",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],Ys.prototype,"asyncUpdate",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Ys.prototype,"enableCellFlashing",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Ys.prototype,"enabledRowFlashing",void 0),(0,en.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Ys.prototype,"enableRowFlashing",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],Ys.prototype,"persistColumnStateKey",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],Ys.prototype,"persistFilterModelKey",void 0),(0,en.__decorate)([(0,b.attr)({attribute:"header-case-type"})],Ys.prototype,"headerCaseType",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"rowData",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"gridFontFace",void 0),(0,en.__decorate)([b.attr],Ys.prototype,"columnComponentName",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"eventsAndCallbacks",void 0),(0,en.__decorate)([b.attr],Ys.prototype,"headerHeight",void 0),(0,en.__decorate)([b.attr],Ys.prototype,"rowHeight",void 0),(0,en.__decorate)([b.attr],Ys.prototype,"theme",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"classNames",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"agGrid",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"gridSlot",void 0),(0,en.__decorate)([b.observable],Ys.prototype,"gridComponents",void 0),(0,en.__decorate)([pn],Ys.prototype,"gridOptionsConfig",void 0);const Qs=void 0,Ws={shadowOptions:void 0},qs=Ys.compose(Object.assign({baseName:"grid-pro",styles:Es,template:Ps,shadowOptions:Qs},Ws)),Js={foregroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2b2e34"))},Zs={foregroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2196f3"))},{create:Ks}=v.DesignToken,Xs={backgroundColor:Ks("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Zs.backgroundSwatch:Js.backgroundSwatch)),borderColor:Ks("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Zs.borderSwatch:Js.borderSwatch)),foregroundColor:Ks("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Zs.foregroundSwatch:Js.foregroundSwatch)),headerForegroundColor:Ks("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Zs.headerForegroundSwatch:Js.headerForegroundSwatch)),rowHoverColor:Ks("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Zs.rowHoverSwatch:Js.rowHoverSwatch))},eg=b.css`
10508
10508
  .ag-theme-genesis-rapid,
10509
10509
  .ag-theme-genesis-rapid-dark {
10510
10510
  --ag-alpine-active-color: #2196f3;
@@ -10964,56 +10964,56 @@
10964
10964
  .ag-theme-genesis-rapid-dark {
10965
10965
  color-scheme: dark;
10966
10966
  }
10967
- `,Xg={[Ki.backgroundColor]:Zg.backgroundColor,[Ki.foregroundColor]:Zg.foregroundColor,[Ki.oddRowBackgroundColor]:Zg.backgroundColor,[Ki.headerBackgroundColor]:Zg.backgroundColor,[Ki.headerForegroundColor]:Zg.headerForegroundColor,[Ki.selectedRowBackgroundColor]:Zg.rowHoverColor,[Ki.rowHoverColor]:Zg.rowHoverColor,[Ki.borderColor]:Zg.borderColor,[Ki.rowBorderColor]:Zg.rowHoverColor,[Ki.modalOverlayBackgroundColor]:Zg.backgroundColor,[Ki.inputFocusBoxShadow]:Zg.headerForegroundColor,[Ki.inputFocusBorderColor]:Zg.headerForegroundColor,[Ki.headerColumnResizeHandleColor]:Zg.headerForegroundColor},es="ag-theme-genesis-rapid",as=b.css`
10968
- ${Kg}
10969
- ${ln(es,Xg)}
10967
+ `,ag={[Ki.backgroundColor]:Xs.backgroundColor,[Ki.foregroundColor]:Xs.foregroundColor,[Ki.oddRowBackgroundColor]:Xs.backgroundColor,[Ki.headerBackgroundColor]:Xs.backgroundColor,[Ki.headerForegroundColor]:Xs.headerForegroundColor,[Ki.selectedRowBackgroundColor]:Xs.rowHoverColor,[Ki.rowHoverColor]:Xs.rowHoverColor,[Ki.borderColor]:Xs.borderColor,[Ki.rowBorderColor]:Xs.rowHoverColor,[Ki.modalOverlayBackgroundColor]:Xs.backgroundColor,[Ki.inputFocusBoxShadow]:Xs.headerForegroundColor,[Ki.inputFocusBorderColor]:Xs.headerForegroundColor,[Ki.headerColumnResizeHandleColor]:Xs.headerForegroundColor},rg="ag-theme-genesis-rapid",tg=b.css`
10968
+ ${eg}
10969
+ ${ln(rg,ag)}
10970
10970
 
10971
- .${es} {
10971
+ .${rg} {
10972
10972
  ${la()}
10973
10973
  }
10974
10974
 
10975
- .${es} .ag-header {
10975
+ .${rg} .ag-header {
10976
10976
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10977
10977
  font-weight: bold;
10978
10978
  }
10979
10979
 
10980
- .${es} .ag-root-wrapper {
10980
+ .${rg} .ag-root-wrapper {
10981
10981
  border-radius: calc(var(--control-corner-radius) * 1px);
10982
10982
  }
10983
- `,rs="ag-theme-genesis-rapid-dark",ts=b.css`
10984
- ${Kg}
10985
- ${ln(rs,Xg)}
10983
+ `,og="ag-theme-genesis-rapid-dark",ig=b.css`
10984
+ ${eg}
10985
+ ${ln(og,ag)}
10986
10986
 
10987
- .${rs} {
10987
+ .${og} {
10988
10988
  ${la()}
10989
10989
  }
10990
10990
 
10991
- .${rs} .ag-header {
10991
+ .${og} .ag-header {
10992
10992
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10993
10993
  font-weight: bold;
10994
10994
  }
10995
10995
 
10996
- .${rs} .ag-cell {
10996
+ .${og} .ag-cell {
10997
10997
  line-height: var(--ag-line-height, 32px);
10998
10998
  }
10999
10999
 
11000
- .${rs} .ag-root-wrapper {
11000
+ .${og} .ag-root-wrapper {
11001
11001
  border-radius: calc(var(--control-corner-radius) * 1px);
11002
11002
  }
11003
- `,os=b.css`
11003
+ `,ng=b.css`
11004
11004
  /* All the AG themes */
11005
- ${Mg}
11005
+ ${Es}
11006
11006
 
11007
11007
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
11008
- ${as}
11009
- ${ts}
11008
+ ${tg}
11009
+ ${ig}
11010
11010
 
11011
11011
  .error {
11012
- border-color: ${Te.shortPink} !important;
11012
+ border-color: ${Oe.shortPink} !important;
11013
11013
  }
11014
- `,is=Ig("zero"),ns="ag-theme-genesis-rapid-dark";const ls=Vg,gs=Yg,ss={zeroAgEditableRenderer:qn,zeroAgActionRenderer:tl,zeroAgActionsMenuRenderer:gl,zeroAgBooleanRenderer:hl,zeroAgTextRenderer:Cl,zeroAgSelectRenderer:Fl,zeroAgDateEditor:wn,zeroAgMultiselectEditor:Cn,zeroAgSelectEditor:Tn,zeroAgNumberEditor:jn,zeroAgStringEditor:Un,zeroGridPro:class extends Hg{constructor(){super(...arguments),this.theme=ns}themeChanged(e,a){(e||a===ns)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[gn.action]:rl,[gn.actionsMenu]:ll,[gn.boolean]:ul,[gn.editable]:Wn,[gn.selectEditor]:Fn,[gn.numberEditor]:In,[gn.multiselectEditor]:Sn,[gn.dateEditor]:fn,[gn.stringEditor]:_n};(this.theme===es||this.theme===rs)&&(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:is,styles:os,shadowOptions:ls},gs)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},ds={foundationGridProActionRenderer:al,foundationGridProActionsMenuRenderer:nl,foundationAgBooleanRenderer:pl,foundationAgTextRenderer:Sl,foundationAgTextFieldRenderer:yl,foundationAgEditableRenderer:Qn,foundationAgSelectRenderer:Dl,foundationGridPro:Qg,foundationSelectEditor:Dn,foundationNumberEditor:Mn,foundationDateEditor:vn,foundationMultiselectEditor:zn,foundationStringEditor:Gn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var cs;!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"}(cs||(cs={}));const{create:ps}=v.DesignToken,us=(0,Re.parseColorHexRGB)(cs.error),hs=f.SwatchRGB.create(us.r,us.g,us.b),ms=ps("error-color").withDefault(hs),bs=(0,Re.parseColorHexRGB)(cs.success),vs=f.SwatchRGB.create(bs.r,bs.g,bs.b),fs=ps("success-color").withDefault(vs),ws=(0,Re.parseColorHexRGB)(cs.warning),ys=f.SwatchRGB.create(ws.r,ws.g,ws.b),xs=ps("warning-color").withDefault(ys),ks=(0,Re.parseColorHexRGB)(cs.buy),zs=f.SwatchRGB.create(ks.r,ks.g,ks.b),Ss=ps("buy-color").withDefault(zs),Cs=(0,Re.parseColorHexRGB)(cs.sell),$s=f.SwatchRGB.create(Cs.r,Cs.g,Cs.b),As=ps("sell-color").withDefault($s),Os=(0,V.paletteFromHex)(cs.primary),Ds=(0,V.paletteFromHex)(cs.neutral),Fs=f.StandardLuminance.DarkMode,Ts=0,Rs=4,Ns=-5,Ls=0,Ms=0,Is=6,js=-4,Es=0,Ps=7,Bs=10,Gs=5,_s=0,Us=0,Hs=0,Vs=0,Ys=0,Qs=0,Ws=5,qs=3,Js=0,Zs=0,Ks=8,Xs=-5,ed=0,ad=3,rd=25,td=40,od=16,id=25,nd=8,ld="rapid",gd=Ke.O.ltr,sd=.3,dd=1,cd=2,pd=10,ud=4,hd=0,md=4,bd='"Segoe UI", Arial, Helvetica, sans-serif',vd="14px",fd="20px",wd="13px",yd="19px",xd="12px",kd="18px",zd="15px",Sd="21px",Cd="16px",$d="22px",Ad="17px",Od="23px",Dd="18px",Fd="24px",Td="19px",Rd="25px",Nd="20px",Ld="26px",Md={design_tokens:{color:{accent:{$value:Os.source.toColorString(),$type:"color"},neutral:{$value:Ds.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:bd,$type:"fontFamily"}},typography:{baseFontSize:{$value:vd,$type:"dimension"},baseLineHeight:{$value:fd,$type:"dimension"}},mode:{luminance:{$value:Fs,$type:"number"}},style:{density:{$value:hd,$type:"number"},borderRadius:{$value:ud,$type:"number"},strokeWidth:{$value:dd,$type:"number"}},space:{designUnit:{$value:md,$type:"number"}}}};class Id extends f.DesignSystemProvider{constructor(){super(),(0,V.provideTokens)(i,n,this)}}const jd=Id.compose({baseName:"design-system-provider",template:b.html`
11014
+ `,lg=js("zero"),sg="ag-theme-genesis-rapid-dark";const gg=Qs,dg=Ws,cg={zeroAgEditableRenderer:qn,zeroAgActionRenderer:tl,zeroAgActionsMenuRenderer:sl,zeroAgBooleanRenderer:hl,zeroAgTextRenderer:Cl,zeroAgSelectRenderer:Fl,zeroAgDateEditor:wn,zeroAgMultiselectEditor:Cn,zeroAgSelectEditor:On,zeroAgNumberEditor:En,zeroAgStringEditor:Un,zeroGridPro:class extends Ys{constructor(){super(...arguments),this.theme=sg}themeChanged(e,a){(e||a===sg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[sn.action]:rl,[sn.actionsMenu]:ll,[sn.boolean]:ul,[sn.editable]:Wn,[sn.selectEditor]:Fn,[sn.numberEditor]:In,[sn.multiselectEditor]:Sn,[sn.dateEditor]:fn,[sn.stringEditor]:_n};(this.theme===rg||this.theme===og)&&(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:gg},dg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},pg={foundationGridProActionRenderer:al,foundationGridProActionsMenuRenderer:nl,foundationAgBooleanRenderer:pl,foundationAgTextRenderer:Sl,foundationAgTextFieldRenderer:yl,foundationAgEditableRenderer:Qn,foundationAgSelectRenderer:Tl,foundationGridPro:qs,foundationSelectEditor:Tn,foundationNumberEditor:Ln,foundationDateEditor:vn,foundationMultiselectEditor:zn,foundationStringEditor:Gn,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var ug;!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"}(ug||(ug={}));const{create:hg}=v.DesignToken,mg=(0,Re.parseColorHexRGB)(ug.error),bg=f.SwatchRGB.create(mg.r,mg.g,mg.b),vg=hg("error-color").withDefault(bg),fg=(0,Re.parseColorHexRGB)(ug.success),wg=f.SwatchRGB.create(fg.r,fg.g,fg.b),yg=hg("success-color").withDefault(wg),xg=(0,Re.parseColorHexRGB)(ug.warning),kg=f.SwatchRGB.create(xg.r,xg.g,xg.b),zg=hg("warning-color").withDefault(kg),Sg=(0,Re.parseColorHexRGB)(ug.buy),Cg=f.SwatchRGB.create(Sg.r,Sg.g,Sg.b),$g=hg("buy-color").withDefault(Cg),Ag=(0,Re.parseColorHexRGB)(ug.sell),Dg=f.SwatchRGB.create(Ag.r,Ag.g,Ag.b),Tg=hg("sell-color").withDefault(Dg),Fg=(0,V.paletteFromHex)(ug.primary),Og=(0,V.paletteFromHex)(ug.neutral),Rg=f.StandardLuminance.DarkMode,Ng=0,Mg=4,Lg=-5,Ig=0,Eg=0,jg=6,Pg=-4,Bg=0,Gg=7,_g=10,Ug=5,Hg=0,Vg=0,Yg=0,Qg=0,Wg=0,qg=0,Jg=5,Zg=3,Kg=0,Xg=0,ed=8,ad=-5,rd=0,td=3,od=25,id=40,nd=16,ld=25,sd=8,gd="rapid",dd=Ke.O.ltr,cd=.3,pd=1,ud=2,hd=10,md=4,bd=0,vd=4,fd='"Segoe UI", Arial, Helvetica, sans-serif',wd="14px",yd="20px",xd="13px",kd="19px",zd="12px",Sd="18px",Cd="15px",$d="21px",Ad="16px",Dd="22px",Td="17px",Fd="23px",Od="18px",Rd="24px",Nd="19px",Md="25px",Ld="20px",Id="26px",Ed={design_tokens:{color:{accent:{$value:Fg.source.toColorString(),$type:"color"},neutral:{$value:Og.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:fd,$type:"fontFamily"}},typography:{baseFontSize:{$value:wd,$type:"dimension"},baseLineHeight:{$value:yd,$type:"dimension"}},mode:{luminance:{$value:Rg,$type:"number"}},style:{density:{$value:bd,$type:"number"},borderRadius:{$value:md,$type:"number"},strokeWidth:{$value:pd,$type:"number"}},space:{designUnit:{$value:vd,$type:"number"}}}};class jd extends f.DesignSystemProvider{constructor(){super(),(0,V.provideTokens)(i,n,this)}}const Pd=jd.compose({baseName:"design-system-provider",template:b.html`
11015
11015
  <slot></slot>
11016
- `});class Ed extends V.Accordion{}const Pd=Ed.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,V.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
11016
+ `});class Bd extends V.Accordion{}const Gd=Bd.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,V.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
11017
11017
  ${(0,V.foundationAccordionStyles)(e,a)}
11018
11018
 
11019
11019
  :host {
@@ -11024,7 +11024,7 @@
11024
11024
  .heading {
11025
11025
  height: calc(var(--base-height-multiplier) * 4px);
11026
11026
  }
11027
- `,shadowOptions:V.foundationAccordionShadowOptions},V.defaultAccordionConfig));class Bd extends V.AccordionItem{}const Gd=Bd.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,V.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
11027
+ `,shadowOptions:V.foundationAccordionShadowOptions},V.defaultAccordionConfig));class _d extends V.AccordionItem{}const Ud=_d.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,V.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
11028
11028
  ${(0,V.foundationAccordionItemStyles)(e,a)}
11029
11029
 
11030
11030
  :host {
@@ -11087,7 +11087,7 @@
11087
11087
  grid-template-columns: auto 1fr auto;
11088
11088
  align-items: center;
11089
11089
  }
11090
- `,shadowOptions:V.foundationAccordionItemShadowOptions},V.defaultAccordionItemConfig));class _d extends V.ActionsMenu{}const Ud=_d.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
11090
+ `,shadowOptions:V.foundationAccordionItemShadowOptions},V.defaultAccordionItemConfig));class Hd extends V.ActionsMenu{}const Vd=Hd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
11091
11091
  :host {
11092
11092
  --actions-opener-height-multiplier: 0.6px;
11093
11093
  --menu-item-height-multiplier: 0.5px;
@@ -11125,7 +11125,7 @@
11125
11125
  .actions-vertical .menu-item:focus {
11126
11126
  border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
11127
11127
  }
11128
- `,template:V.foundationActionsMenuTemplate});function Hd(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Vd=b.css`
11128
+ `,template:V.foundationActionsMenuTemplate});function Yd(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Qd=b.css`
11129
11129
  :host([appearance='primary']) {
11130
11130
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
11131
11131
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -11148,7 +11148,7 @@
11148
11148
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
11149
11149
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
11150
11150
  }
11151
- `,Yd=b.css`
11151
+ `,Wd=b.css`
11152
11152
  :host([appearance='danger']) {
11153
11153
  background: color-mix(in srgb, var(--error-color), transparent 50%);
11154
11154
  border: calc(var(--stroke-width) * 1px) solid var(--error-color);
@@ -11171,7 +11171,7 @@
11171
11171
  background: color-mix(in srgb, var(--error-color), transparent 70%);
11172
11172
  border: calc(var(--stroke-width) * 1px) solid var(--error-color);
11173
11173
  }
11174
- `,Qd=b.css`
11174
+ `,qd=b.css`
11175
11175
  :host([appearance='primary-outline']) {
11176
11176
  background: none;
11177
11177
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -11189,7 +11189,7 @@
11189
11189
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11190
11190
  opacity: 100%;
11191
11191
  }
11192
- `,Wd=b.css`
11192
+ `,Jd=b.css`
11193
11193
  :host([appearance='neutral-outline']) {
11194
11194
  background: none;
11195
11195
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
@@ -11207,7 +11207,7 @@
11207
11207
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11208
11208
  opacity: 100%;
11209
11209
  }
11210
- `,qd=b.css`
11210
+ `,Zd=b.css`
11211
11211
  :host([appearance='link']) {
11212
11212
  background: none;
11213
11213
  border: none;
@@ -11230,7 +11230,7 @@
11230
11230
  color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
11231
11231
  opacity: 100%;
11232
11232
  }
11233
- `,Jd=(e,a)=>b.css`
11233
+ `,Kd=(e,a)=>b.css`
11234
11234
  ${(0,V.foundationButtonStyles)(e,a)}
11235
11235
  ${b.css`
11236
11236
  :host {
@@ -11284,14 +11284,14 @@
11284
11284
  opacity: 100%;
11285
11285
  }
11286
11286
  `}
11287
- `.withBehaviors(Hd("primary",Vd),Hd("danger",Yd),Hd("primary-outline",Qd),Hd("neutral-outline",Wd),Hd("link",qd));class Zd extends V.Anchor{}const Kd=Zd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,V.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
11287
+ `.withBehaviors(Yd("primary",Qd),Yd("danger",Wd),Yd("primary-outline",qd),Yd("neutral-outline",Jd),Yd("link",Zd));class Xd extends V.Anchor{}const ec=Xd.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,V.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
11288
11288
  ${(0,V.foundationAnchorStyles)(e,a)}
11289
- ${Jd(e,a)}
11290
- `.withBehaviors(...Jd(e,a).behaviors),shadowOptions:V.foundationAnchorShadowOptions},V.defaultAnchorConfig));class Xd extends V.AnchoredRegion{}const ec=Xd.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,V.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
11289
+ ${Kd(e,a)}
11290
+ `.withBehaviors(...Kd(e,a).behaviors),shadowOptions:V.foundationAnchorShadowOptions},V.defaultAnchorConfig));class ac extends V.AnchoredRegion{}const rc=ac.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,V.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
11291
11291
  ${(0,V.foundationAnchoredRegionStyles)(e,a)}
11292
- `,shadowOptions:V.foundationAnchoredRegionShadowOptions},V.defaultAnchoredRegionConfig));class ac extends V.Avatar{}const rc=ac.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,V.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
11292
+ `,shadowOptions:V.foundationAnchoredRegionShadowOptions},V.defaultAnchoredRegionConfig));class tc extends V.Avatar{}const oc=tc.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,V.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
11293
11293
  ${(0,V.foundationAvatarStyles)(e,a)}
11294
- `,shadowOptions:V.foundationAvatarShadowOptions},V.defaultAvatarConfig));class tc extends V.Badge{}const oc=tc.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,V.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
11294
+ `,shadowOptions:V.foundationAvatarShadowOptions},V.defaultAvatarConfig));class ic extends V.Badge{}const nc=ic.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,V.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
11295
11295
  ${(0,V.foundationBadgeStyles)(e,a)}
11296
11296
  :host {
11297
11297
  --badge-fill-primary: var(--accent-fill-rest);
@@ -11310,7 +11310,7 @@
11310
11310
  padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
11311
11311
  border: none;
11312
11312
  }
11313
- `,shadowOptions:V.foundationBadgeShadowOptions},V.defaultBadgeConfig)),ic=b.css`
11313
+ `,shadowOptions:V.foundationBadgeShadowOptions},V.defaultBadgeConfig)),lc=b.css`
11314
11314
  ${V.foundationBannerStyles}
11315
11315
  :host {
11316
11316
  --banner-height: calc(
@@ -11330,9 +11330,9 @@
11330
11330
  font-family: var(--body-font);
11331
11331
  line-height: var(--type-ramp-base-line-height);
11332
11332
  }
11333
- `,nc=V.foundationBannerShadowOptions;class lc extends V.Banner{}const gc=lc.compose({baseName:"banner",shadowOptions:nc,styles:ic,template:V.foundationBannerTemplate});class sc extends V.Breadcrumb{}const dc=sc.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,V.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
11333
+ `,sc=V.foundationBannerShadowOptions;class gc extends V.Banner{}const dc=gc.compose({baseName:"banner",shadowOptions:sc,styles:lc,template:V.foundationBannerTemplate});class cc extends V.Breadcrumb{}const pc=cc.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,V.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
11334
11334
  ${(0,V.foundationBreadcrumbStyles)(e,a)}
11335
- `,shadowOptions:undefined},{}));class cc extends V.BreadcrumbItem{}const pc=cc.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,V.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
11335
+ `,shadowOptions:undefined},{}));class uc extends V.BreadcrumbItem{}const hc=uc.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,V.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
11336
11336
  ${(0,V.foundationBreadcrumbItemStyles)(e,a)}
11337
11337
  .listitem {
11338
11338
  color: var(--accent-foreground-rest);
@@ -11368,9 +11368,9 @@
11368
11368
  .control:hover .start {
11369
11369
  background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
11370
11370
  }
11371
- `,shadowOptions:V.foundationBreadcrumbItemShadowOptions},V.defaultBreadcrumbItemConfig));class uc extends V.Button{}const hc=uc.compose(Object.assign({baseName:"button",template:(e,a)=>(0,V.foundationButtonTemplate)(e,a),styles:Jd,shadowOptions:V.foundationButtonShadowOptions},V.defaultButtonConfig));class mc extends V.Calendar{}const bc=mc.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,V.foundationCalendarTemplate)(e,a),styles:()=>b.css`
11371
+ `,shadowOptions:V.foundationBreadcrumbItemShadowOptions},V.defaultBreadcrumbItemConfig));class mc extends V.Button{}const bc=mc.compose(Object.assign({baseName:"button",template:(e,a)=>(0,V.foundationButtonTemplate)(e,a),styles:Kd,shadowOptions:V.foundationButtonShadowOptions},V.defaultButtonConfig));class vc extends V.Calendar{}const fc=vc.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,V.foundationCalendarTemplate)(e,a),styles:()=>b.css`
11372
11372
  ${(0,V.foundationCalendarStyles)()}
11373
- `,shadowOptions:V.foundationCalendarShadowOptions},V.defaultCalendarConfig));class vc extends V.Card{}const fc=vc.compose(Object.assign({baseName:"card",template:(e,a)=>(0,V.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
11373
+ `,shadowOptions:V.foundationCalendarShadowOptions},V.defaultCalendarConfig));class wc extends V.Card{}const yc=wc.compose(Object.assign({baseName:"card",template:(e,a)=>(0,V.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
11374
11374
  ${(0,V.foundationCardStyles)(e,a)}
11375
11375
  :host {
11376
11376
  background: var(--neutral-layer-card-container);
@@ -11384,7 +11384,7 @@
11384
11384
  ::slotted(rapid-card) {
11385
11385
  background: var(--neutral-layer-3);
11386
11386
  }
11387
- `,shadowOptions:V.foundationCardShadowOptions},V.defaultCardConfig)),wc=b.css`
11387
+ `,shadowOptions:V.foundationCardShadowOptions},V.defaultCardConfig)),xc=b.css`
11388
11388
  ${V.categorizedMultiselectStyles}
11389
11389
 
11390
11390
  .label {
@@ -11398,9 +11398,9 @@
11398
11398
  rapid-checkbox:hover:not([disabled]) {
11399
11399
  background: var(--neutral-layer-4);
11400
11400
  }
11401
- `,yc=b.html`
11401
+ `,kc=b.html`
11402
11402
  ${(0,V.getPrefixedCategorizedMultiselect)("rapid")}
11403
- `;class xc extends V.CategorizedMultiselect{}const kc=V.defaultCategorizedMultiselectConfig,zc=V.foundationCategorizedMultiselectShadowOptions,Sc=xc.compose(Object.assign({baseName:"categorized-multiselect",template:yc,styles:wc,shadowOptions:zc},kc));class Cc extends V.Checkbox{}const $c=Cc.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,V.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
11403
+ `;class zc extends V.CategorizedMultiselect{}const Sc=V.defaultCategorizedMultiselectConfig,Cc=V.foundationCategorizedMultiselectShadowOptions,$c=zc.compose(Object.assign({baseName:"categorized-multiselect",template:kc,styles:xc,shadowOptions:Cc},Sc));class Ac extends V.Checkbox{}const Dc=Ac.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,V.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
11404
11404
  ${(0,V.foundationCheckboxStyles)(e,a)}
11405
11405
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11406
11406
  fill: var(--neutral-foreground-rest);
@@ -11415,7 +11415,7 @@
11415
11415
  .label {
11416
11416
  padding-inline-start: calc(var(--design-unit) * 2px);
11417
11417
  }
11418
- `,shadowOptions:V.foundationCheckboxShadowOptions},V.defaultCheckboxConfig));class Ac extends V.Combobox{}const Oc=Ac.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,V.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
11418
+ `,shadowOptions:V.foundationCheckboxShadowOptions},V.defaultCheckboxConfig));class Tc extends V.Combobox{}const Fc=Tc.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,V.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
11419
11419
  ${(0,V.foundationComboboxStyles)(e,a)}
11420
11420
  :host {
11421
11421
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11489,7 +11489,7 @@
11489
11489
  ::slotted([role='option']) {
11490
11490
  margin: 0;
11491
11491
  }
11492
- `,shadowOptions:V.foundationComboboxShadowOptions},V.defaultComboboxConfig));class Dc extends V.ConnectionIndicator{}const Fc=Dc.compose({baseName:"connection-indicator",template:V.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
11492
+ `,shadowOptions:V.foundationComboboxShadowOptions},V.defaultComboboxConfig));class Oc extends V.ConnectionIndicator{}const Rc=Oc.compose({baseName:"connection-indicator",template:V.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
11493
11493
  ${(0,V.foundationConnectionIndicatorStyles)(e,a)}
11494
11494
  :host {
11495
11495
  --light-size: calc(var(--design-unit) * 3px);
@@ -11512,9 +11512,9 @@
11512
11512
  font-size: var(--type-ramp-base-font-size);
11513
11513
  color: var(--neutral-stroke-rest);
11514
11514
  }
11515
- `}),Tc=["baseClass","baseName","shadowOptions","styles","template"],Rc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Tc)=>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:Mc,template:Ic}=Rc(V.foundationDataGrid),{defaultConfig:jc,shadowOptions:Ec,styles:Pc,template:Bc}=Rc(V.foundationDataGridCell),{defaultConfig:Gc,shadowOptions:_c,styles:Uc,template:Hc}=Rc(V.foundationDataGridRow),Vc=b.html`
11515
+ `}),Nc=["baseClass","baseName","shadowOptions","styles","template"],Mc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Nc)=>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:Lc,shadowOptions:Ic,styles:Ec,template:jc}=Mc(V.foundationDataGrid),{defaultConfig:Pc,shadowOptions:Bc,styles:Gc,template:_c}=Mc(V.foundationDataGridCell),{defaultConfig:Uc,shadowOptions:Hc,styles:Vc,template:Yc}=Mc(V.foundationDataGridRow),Qc=b.html`
11516
11516
  ${(0,V.getPrefixedDatePicker)("rapid")}
11517
- `;class Yc extends V.DatePicker{}const Qc=Yc.compose(Object.assign({baseName:"date-picker",template:Vc,styles:()=>b.css`
11517
+ `;class Wc extends V.DatePicker{}const qc=Wc.compose(Object.assign({baseName:"date-picker",template:Qc,styles:()=>b.css`
11518
11518
  ${V.foundationDatePickerStyles}
11519
11519
 
11520
11520
  :host {
@@ -11597,7 +11597,7 @@
11597
11597
  .week-days span {
11598
11598
  font-size: var(--type-ramp-minus-2-font-size);
11599
11599
  }
11600
- `,shadowOptions:undefined},{})),Wc=b.css`
11600
+ `,shadowOptions:undefined},{})),Jc=b.css`
11601
11601
  ${V.foundationDialogStyles}
11602
11602
  :host {
11603
11603
  --color-error: var(--error-color);
@@ -11677,7 +11677,7 @@
11677
11677
  .close-icon:active svg g path {
11678
11678
  fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
11679
11679
  }
11680
- `,qc=V.defaultDialogConfig,Jc=V.foundationDialogTemplate,Zc=V.foundationDialogShadowOptions;class Kc extends V.Dialog{}const Xc=Kc.compose(Object.assign({baseName:"dialog",shadowOptions:Zc,styles:Wc,template:Jc},qc));class ep extends V.Disclosure{}const ap=ep.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,V.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
11680
+ `,Zc=V.defaultDialogConfig,Kc=V.foundationDialogTemplate,Xc=V.foundationDialogShadowOptions;class ep extends V.Dialog{}const ap=ep.compose(Object.assign({baseName:"dialog",shadowOptions:Xc,styles:Jc,template:Kc},Zc));class rp extends V.Disclosure{}const tp=rp.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,V.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
11681
11681
  ${(0,V.foundationDisclosureStyles)(e,a)}
11682
11682
  :host {
11683
11683
  font-size: var(--type-ramp-base-font-size);
@@ -11694,9 +11694,9 @@
11694
11694
  padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
11695
11695
  text-align: center;
11696
11696
  }
11697
- `,shadowOptions:V.foundationDialogShadowOptions},V.defaultDisclosureConfig));class rp extends V.Divider{}const tp=rp.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,V.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
11697
+ `,shadowOptions:V.foundationDialogShadowOptions},V.defaultDisclosureConfig));class op extends V.Divider{}const ip=op.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,V.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
11698
11698
  ${(0,V.foundationDividerStyles)(e,a)}
11699
- `,shadowOptions:V.foundationDividerShadowOptions},V.defaultDividerConfig));class op extends V.DropdownMenu{}const ip=op.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
11699
+ `,shadowOptions:V.foundationDividerShadowOptions},V.defaultDividerConfig));class np extends V.DropdownMenu{}const lp=np.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
11700
11700
  ${(0,V.dropdownMenuBaseStyles)("rapid",e,a)}
11701
11701
 
11702
11702
  .actions-menu {
@@ -11711,7 +11711,7 @@
11711
11711
  border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
11712
11712
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
11713
11713
  }
11714
- `,template:V.foundationDropdownMenuTemplate}),{defaultConfig:np,shadowOptions:lp,styles:gp,template:sp}=Rc(V.foundationErrorBoundary),dp=b.css`
11714
+ `,template:V.foundationDropdownMenuTemplate}),{defaultConfig:sp,shadowOptions:gp,styles:dp,template:cp}=Mc(V.foundationErrorBoundary),pp=b.css`
11715
11715
  ${V.foundationFileUploadStyles}
11716
11716
  ::-webkit-scrollbar {
11717
11717
  width: calc(var(--design-unit) * 3px);
@@ -11733,11 +11733,11 @@
11733
11733
  :host::part(upload-file-button) {
11734
11734
  margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
11735
11735
  }
11736
- `,cp=b.html`
11736
+ `,up=b.html`
11737
11737
  ${(0,V.getPrefixedFileUpload)("rapid")}
11738
- `,pp=V.defaultFileUploadConfig,up=V.foundationFileUploadShadowOptions;class hp extends V.FileUpload{}const mp=hp.compose(Object.assign({baseName:"file-upload",shadowOptions:up,styles:dp,template:cp},pp)),bp=b.html`
11738
+ `,hp=V.defaultFileUploadConfig,mp=V.foundationFileUploadShadowOptions;class bp extends V.FileUpload{}const vp=bp.compose(Object.assign({baseName:"file-upload",shadowOptions:mp,styles:pp,template:up},hp)),fp=b.html`
11739
11739
  ${(0,V.getPrefixedFilterTemplate)("rapid")}
11740
- `;class vp extends V.Filter{}const fp=vp.compose({baseName:"filter",template:bp,styles:(e,a)=>b.css`
11740
+ `;class wp extends V.Filter{}const yp=wp.compose({baseName:"filter",template:fp,styles:(e,a)=>b.css`
11741
11741
  ${V.foundationFilterStyles}
11742
11742
  .filter-wrapper {
11743
11743
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11764,9 +11764,9 @@
11764
11764
  .flex-row rapid-select {
11765
11765
  flex: 1;
11766
11766
  }
11767
- `}),wp=b.html`
11767
+ `}),xp=b.html`
11768
11768
  ${(0,V.filterBarTemplate)("rapid")}
11769
- `;class yp extends V.FilterBar{}const xp=yp.compose({baseName:"filter-bar",template:wp,styles:(e,a)=>b.css`
11769
+ `;class kp extends V.FilterBar{}const zp=kp.compose({baseName:"filter-bar",template:xp,styles:(e,a)=>b.css`
11770
11770
  ${(0,V.foundationFilterBarStyles)(e,a)}
11771
11771
  .toggle,
11772
11772
  .toggle-collapsed {
@@ -11786,7 +11786,7 @@
11786
11786
  .filter-bar {
11787
11787
  background: var(--neutral-layer-3);
11788
11788
  }
11789
- `}),{defaultConfig:kp,shadowOptions:zp,styles:Sp,template:Cp}=Rc(V.foundationFlexLayout);class $p extends V.Flipper{}const Ap=$p.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,V.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
11789
+ `}),{defaultConfig:Sp,shadowOptions:Cp,styles:$p,template:Ap}=Mc(V.foundationFlexLayout);class Dp extends V.Flipper{}const Tp=Dp.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,V.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
11790
11790
  ${(0,V.foundationFlipperStyles)(e,a)}
11791
11791
  :host {
11792
11792
  color: var(--neutral-foreground-rest);
@@ -11806,7 +11806,7 @@
11806
11806
  background: var(--accent-fill-rest);
11807
11807
  color: var(--neutral-foreground-rest);
11808
11808
  }
11809
- `,shadowOptions:V.foundationFlipperShadowOptions},V.defaultFlipperConfig)),Op=b.css`
11809
+ `,shadowOptions:V.foundationFlipperShadowOptions},V.defaultFlipperConfig)),Fp=b.css`
11810
11810
  ${V.foundationFlyoutStyles}
11811
11811
  div.flyout {
11812
11812
  background-color: var(--neutral-layer-2);
@@ -11854,9 +11854,9 @@
11854
11854
  background-color: var(--neutral-fill-hover);
11855
11855
  border-radius: calc(var(--stroke-width) * 3px);
11856
11856
  }
11857
- `,Dp=b.html`
11857
+ `,Op=b.html`
11858
11858
  ${(0,V.getPrefixedFlyout)("rapid")}
11859
- `,Fp=V.defaultFlyoutConfig,Tp=V.foundationFlyoutShadowOptions;class Rp extends V.Flyout{}const Np=Rp.compose(Object.assign({baseName:"flyout",shadowOptions:Tp,styles:Op,template:Dp},Fp)),{defaultConfig:Lp,shadowOptions:Mp,styles:Ip,template:jp}=Rc(V.foundationGridLayout),{defaultConfig:Ep,shadowOptions:Pp,styles:Bp,template:Gp}=Rc(V.foundationGridLayoutItem);class _p extends V.HorizontalScroll{}const Up={nextFlipper:b.html`
11859
+ `,Rp=V.defaultFlyoutConfig,Np=V.foundationFlyoutShadowOptions;class Mp extends V.Flyout{}const Lp=Mp.compose(Object.assign({baseName:"flyout",shadowOptions:Np,styles:Fp,template:Op},Rp)),{defaultConfig:Ip,shadowOptions:Ep,styles:jp,template:Pp}=Mc(V.foundationGridLayout),{defaultConfig:Bp,shadowOptions:Gp,styles:_p,template:Up}=Mc(V.foundationGridLayoutItem);class Hp extends V.HorizontalScroll{}const Vp={nextFlipper:b.html`
11860
11860
  <rapid-flipper
11861
11861
  @click="${e=>e.scrollToNext()}"
11862
11862
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -11867,11 +11867,11 @@
11867
11867
  direction="previous"
11868
11868
  aria-hidden="${e=>e.flippersHiddenFromAT}"
11869
11869
  ></rapid-flipper>
11870
- `},Hp=_p.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,V.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
11870
+ `},Yp=Hp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,V.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
11871
11871
  ${(0,V.foundationHorizontalScrollStyles)(e,a)}
11872
- `,shadowOptions:V.foundationHorizontalScrollShadowOptions},Up));class Vp extends V.Icon{}const Yp=V.defaultIconConfig,Qp=V.foundationIconShadowOptions,Wp=Vp.compose(Object.assign({baseName:"icon",template:V.foundationIconTemplate,styles:(e,a)=>b.css`
11872
+ `,shadowOptions:V.foundationHorizontalScrollShadowOptions},Vp));class Qp extends V.Icon{}const Wp=V.defaultIconConfig,qp=V.foundationIconShadowOptions,Jp=Qp.compose(Object.assign({baseName:"icon",template:V.foundationIconTemplate,styles:(e,a)=>b.css`
11873
11873
  ${(0,V.foundationIconStyles)(e,a)}
11874
- `,shadowOptions:Qp},Yp));class qp extends V.Listbox{}const Jp=qp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,V.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
11874
+ `,shadowOptions:qp},Wp));class Zp extends V.Listbox{}const Kp=Zp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,V.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
11875
11875
  ${(0,V.foundationListboxStyles)(e,a)}
11876
11876
 
11877
11877
  :host {
@@ -11882,7 +11882,7 @@
11882
11882
  ::slotted(*:last-child) {
11883
11883
  border-bottom: none;
11884
11884
  }
11885
- `,shadowOptions:V.foundationListboxShadowOptions},V.defaultListboxConfig));class Zp extends V.ListboxOption{}const Kp=Zp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,V.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
11885
+ `,shadowOptions:V.foundationListboxShadowOptions},V.defaultListboxConfig));class Xp extends V.ListboxOption{}const eu=Xp.compose(Object.assign({baseName:"option",template:(e,a)=>(0,V.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
11886
11886
  ${(0,V.foundationListboxOptionStyles)(e,a)}
11887
11887
  :host {
11888
11888
  border-radius: 0;
@@ -11899,14 +11899,14 @@
11899
11899
  background: var(--neutral-layer-4);
11900
11900
  color: var(--accent-fill-rest);
11901
11901
  }
11902
- `,shadowOptions:V.foundationListboxOptionShadowOptions},V.defaultListboxOptionConfig));class Xp extends V.Menu{}const eu=Xp.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,V.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
11902
+ `,shadowOptions:V.foundationListboxOptionShadowOptions},V.defaultListboxOptionConfig));class au extends V.Menu{}const ru=au.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,V.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
11903
11903
  ${(0,V.foundationMenuStyles)(e,a)}
11904
11904
  :host {
11905
11905
  border: calc(var(--focus-stroke-width) * 1px) solid
11906
11906
  color-mix(in srgb, ${f.neutralFillStealthHover}, transparent 15%);
11907
11907
  padding: 0;
11908
11908
  }
11909
- `,shadowOptions:V.foundationMenuShadowOptions},V.defaultMenuConfig)),au=V.foundationMenuItemShadowOptions;class ru extends V.MenuItem{}const tu=ru.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,V.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
11909
+ `,shadowOptions:V.foundationMenuShadowOptions},V.defaultMenuConfig)),tu=V.foundationMenuItemShadowOptions;class ou extends V.MenuItem{}const iu=ou.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,V.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
11910
11910
  ${(0,V.foundationMenuItemStyles)(e,a)}
11911
11911
  :host {
11912
11912
  margin: 0;
@@ -11942,9 +11942,9 @@
11942
11942
  background: ${f.neutralFillStealthHover}
11943
11943
  color: ${f.neutralForegroundRest}
11944
11944
  */
11945
- `,shadowOptions:au},V.defaultMenuItemConfig)),ou=b.css`
11946
- ${Wc}
11947
- `,iu=V.defaultModalConfig,nu=V.foundationModalTemplate,lu=V.foundationModalShadowOptions;class gu extends V.Modal{}const su=gu.compose(Object.assign({baseName:"modal",shadowOptions:lu,styles:ou,template:nu},iu)),du=b.css`
11945
+ `,shadowOptions:tu},V.defaultMenuItemConfig)),nu=b.css`
11946
+ ${Jc}
11947
+ `,lu=V.defaultModalConfig,su=V.foundationModalTemplate,gu=V.foundationModalShadowOptions;class du extends V.Modal{}const cu=du.compose(Object.assign({baseName:"modal",shadowOptions:gu,styles:nu,template:su},lu)),pu=b.css`
11948
11948
  ${V.multiselectStyles}
11949
11949
 
11950
11950
  #display-field {
@@ -12020,9 +12020,9 @@
12020
12020
  rapid-checkbox[disabled] {
12021
12021
  cursor: not-allowed;
12022
12022
  }
12023
- `,cu=b.html`
12023
+ `,uu=b.html`
12024
12024
  ${(0,V.getPrefixedMultiselect)("rapid")}
12025
- `;class pu extends V.Multiselect{}const uu=V.defaultMultiselectConfig,hu=V.foundationMultiselectShadowOptions,mu=pu.compose(Object.assign({baseName:"multiselect",template:cu,styles:du,shadowOptions:hu},uu));class bu extends V.NotificationListener{}const vu=bu.compose({baseName:"notification-listener",template:V.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class fu extends V.NumberField{}const wu=V.defaultNumberFieldConfig,yu=V.foundationNumberFieldTemplate,xu=V.foundationNumberFieldShadowOptions,ku=fu.compose(Object.assign({baseName:"number-field",template:yu,styles:(e,a)=>b.css`
12025
+ `;class hu extends V.Multiselect{}const mu=V.defaultMultiselectConfig,bu=V.foundationMultiselectShadowOptions,vu=hu.compose(Object.assign({baseName:"multiselect",template:uu,styles:pu,shadowOptions:bu},mu));class fu extends V.NotificationListener{}const wu=fu.compose({baseName:"notification-listener",template:V.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class yu extends V.NumberField{}const xu=V.defaultNumberFieldConfig,ku=V.foundationNumberFieldTemplate,zu=V.foundationNumberFieldShadowOptions,Su=yu.compose(Object.assign({baseName:"number-field",template:ku,styles:(e,a)=>b.css`
12026
12026
  :host {
12027
12027
  margin-bottom: calc(var(--design-unit) * 2px);
12028
12028
  flex: 1 1 auto;
@@ -12113,11 +12113,11 @@
12113
12113
  .control:focus-visible {
12114
12114
  outline: none;
12115
12115
  }
12116
- `,shadowOptions:xu},wu));class zu extends V.Progress{}const Su=zu.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,V.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
12116
+ `,shadowOptions:zu},xu));class Cu extends V.Progress{}const $u=Cu.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,V.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
12117
12117
  ${(0,V.foundationProgressStyles)(e,a)}
12118
- `,shadowOptions:V.foundationProgressShadowOptions},V.defaultProgressConfig));class Cu extends V.ProgressRing{}const $u=Cu.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,V.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
12118
+ `,shadowOptions:V.foundationProgressShadowOptions},V.defaultProgressConfig));class Au extends V.ProgressRing{}const Du=Au.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,V.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
12119
12119
  ${(0,V.foundationProgressRingStyles)(e,a)}
12120
- `,shadowOptions:V.foundationProgressRingShadowOptions},V.defaultProgressRingConfig));class Au extends V.Radio{}const Ou=Au.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,V.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
12120
+ `,shadowOptions:V.foundationProgressRingShadowOptions},V.defaultProgressRingConfig));class Tu extends V.Radio{}const Fu=Tu.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,V.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
12121
12121
  ${(0,V.foundationRadioStyles)(e,a)}
12122
12122
  :host {
12123
12123
  margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
@@ -12149,13 +12149,13 @@
12149
12149
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
12150
12150
  background: var(--accent-fill-rest);
12151
12151
  }
12152
- `,shadowOptions:V.foundationRadioShadowOptions},V.defaultRadioConfig));class Du extends V.RadioGroup{}const Fu=Du.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,V.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
12152
+ `,shadowOptions:V.foundationRadioShadowOptions},V.defaultRadioConfig));class Ou extends V.RadioGroup{}const Ru=Ou.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,V.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
12153
12153
  ${(0,V.foundationRadioGroupStyles)(e,a)}
12154
- `,shadowOptions:V.foundationRadioGroupShadowOptions},V.defaultRadioGroupConfig)),Tu=b.css`
12154
+ `,shadowOptions:V.foundationRadioGroupShadowOptions},V.defaultRadioGroupConfig)),Nu=b.css`
12155
12155
  ${V.foundationSearchBarStyles}
12156
- `,Ru=b.html`
12156
+ `,Mu=b.html`
12157
12157
  ${(0,V.getPrefixedSearchBar)("rapid")}
12158
- `;class Nu extends V.SearchBar{}const Lu=Nu.compose(Object.assign({baseName:"search-bar",template:Ru,styles:Tu,shadowOptions:V.foundationSearchBarShadowOptions},V.defaultSearchBarConfig));class Mu extends V.SearchBarCombobox{}const Iu=Mu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,V.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
12158
+ `;class Lu extends V.SearchBar{}const Iu=Lu.compose(Object.assign({baseName:"search-bar",template:Mu,styles:Nu,shadowOptions:V.foundationSearchBarShadowOptions},V.defaultSearchBarConfig));class Eu extends V.SearchBarCombobox{}const ju=Eu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,V.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
12159
12159
  ${(0,V.foundationSearchBarComboboxStyles)(e,a)}
12160
12160
 
12161
12161
  :host {
@@ -12186,7 +12186,7 @@
12186
12186
  :host .listbox ::slotted(*:last-child) {
12187
12187
  border-bottom: none;
12188
12188
  }
12189
- `,shadowOptions:V.foundationSearchBarComboboxShadowOptions},V.defaultSearchBarComboboxConfig));class ju extends V.SegmentedControl{}const Eu=ju.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,V.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
12189
+ `,shadowOptions:V.foundationSearchBarComboboxShadowOptions},V.defaultSearchBarComboboxConfig));class Pu extends V.SegmentedControl{}const Bu=Pu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,V.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
12190
12190
  ${(0,V.foundationSegmentedControlStyles)(e,a)}
12191
12191
  :host {
12192
12192
  font-family: var(--body-font);
@@ -12222,7 +12222,7 @@
12222
12222
  border-color: transparent;
12223
12223
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
12224
12224
  }
12225
- `,shadowOptions:undefined},{}));class Pu extends V.Radio{}const Bu=Pu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,V.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
12225
+ `,shadowOptions:undefined},{}));class Gu extends V.Radio{}const _u=Gu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,V.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
12226
12226
  ${(0,V.foundationSegmentedItemStyles)(e,a)}
12227
12227
  :host {
12228
12228
  color: var(--neutral-fill-strong-rest);
@@ -12234,7 +12234,7 @@
12234
12234
  :host([aria-checked='true']) {
12235
12235
  color: color-mix(in srgb, white, transparent 10%);
12236
12236
  }
12237
- `,shadowOptions:undefined},{}));class Gu extends V.Select{}const _u=Gu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,V.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
12237
+ `,shadowOptions:undefined},{}));class Uu extends V.Select{}const Hu=Uu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,V.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
12238
12238
  ${(0,V.foundationSelectStyles)(e,a)}
12239
12239
  :host {
12240
12240
  border-radius: calc(var(--control-corner-radius) * 1px);
@@ -12306,14 +12306,14 @@
12306
12306
  ::slotted([role='option']) {
12307
12307
  margin: 0;
12308
12308
  }
12309
- `,shadowOptions:V.foundationSelectShadowOptions},V.defaultSelectConfig));class Uu extends V.Skeleton{}const Hu=Uu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,V.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
12309
+ `,shadowOptions:V.foundationSelectShadowOptions},V.defaultSelectConfig));class Vu extends V.Skeleton{}const Yu=Vu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,V.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
12310
12310
  ${(0,V.foundationSkeletonStyles)(e,a)}
12311
12311
  :host {
12312
12312
  --skeleton-fill: var(
12313
12313
  --neutral-fill-stealth-rest
12314
12314
  ); /** value in ux doc rgba(242 242 242 / 0.1) */
12315
12315
  }
12316
- `,shadowOptions:V.foundationSkeletonShadowOptions},V.defaultSkeletonConfig));class Vu extends V.Slider{}const Yu=Vu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,V.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
12316
+ `,shadowOptions:V.foundationSkeletonShadowOptions},V.defaultSkeletonConfig));class Qu extends V.Slider{}const Wu=Qu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,V.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
12317
12317
  ${(0,V.foundationSliderStyles)(e,a)}
12318
12318
 
12319
12319
  .thumb-cursor {
@@ -12371,7 +12371,7 @@
12371
12371
  background-color: var(--neutral-stroke-rest);
12372
12372
  width: calc((var(--track-width) + 2) * 1px) !important;
12373
12373
  }
12374
- `,shadowOptions:V.foundationSliderShadowOptions},V.defaultSliderConfig));class Qu extends V.SliderLabel{}const Wu=Qu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,V.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
12374
+ `,shadowOptions:V.foundationSliderShadowOptions},V.defaultSliderConfig));class qu extends V.SliderLabel{}const Ju=qu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,V.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
12375
12375
  ${(0,V.foundationSliderLabelStyles)(e,a)}
12376
12376
  .label {
12377
12377
  padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
@@ -12382,7 +12382,7 @@
12382
12382
  text-align: center;
12383
12383
  font-size: var(--type-ramp-minus-1-font-size, 12px);
12384
12384
  }
12385
- `,shadowOptions:V.foundationSliderLabelShadowOptions},V.defaultSliderLabelConfig)),qu=b.css`
12385
+ `,shadowOptions:V.foundationSliderLabelShadowOptions},V.defaultSliderLabelConfig)),Zu=b.css`
12386
12386
  ${V.foundationSnackbarStyles}
12387
12387
  .snackbar {
12388
12388
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
@@ -12403,11 +12403,11 @@
12403
12403
  .action {
12404
12404
  gap: calc(var(--design-unit) * 2px);
12405
12405
  }
12406
- `,Ju=b.html`
12406
+ `,Ku=b.html`
12407
12407
  ${(0,V.getPrefixedSnackbar)("rapid")}
12408
- `,Zu=V.foundationSnackbarShadowOptions;class Ku extends V.Snackbar{}const Xu=Ku.compose({baseName:"snackbar",shadowOptions:Zu,styles:qu,template:Ju});class eh extends V.StackingIcons{}const ah=eh.compose({baseName:"stacking-icons",template:V.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
12408
+ `,Xu=V.foundationSnackbarShadowOptions;class eh extends V.Snackbar{}const ah=eh.compose({baseName:"snackbar",shadowOptions:Xu,styles:Zu,template:Ku});class rh extends V.StackingIcons{}const th=rh.compose({baseName:"stacking-icons",template:V.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
12409
12409
  ${(0,V.foundationStackingIconsStyles)(e,a)}
12410
- `}),rh=b.css`
12410
+ `}),oh=b.css`
12411
12411
  ${V.foundationStepperStyles}
12412
12412
 
12413
12413
  :host {
@@ -12454,11 +12454,11 @@
12454
12454
  padding: 0 calc(var(--design-unit) * 2px);
12455
12455
  color: var(--neutral-foreground-hint);
12456
12456
  }
12457
- `,th=b.html`
12457
+ `,ih=b.html`
12458
12458
  ${(0,V.getPrefixedStepper)("rapid")}
12459
- `;class oh extends V.Stepper{}const ih=oh.compose(Object.assign({baseName:"stepper",template:th,styles:rh,shadowOptions:V.foundationStepperShadowOptions},V.defaultStepperConfig)),nh=b.html`
12459
+ `;class nh extends V.Stepper{}const lh=nh.compose(Object.assign({baseName:"stepper",template:ih,styles:oh,shadowOptions:V.foundationStepperShadowOptions},V.defaultStepperConfig)),sh=b.html`
12460
12460
  ${(0,V.getPrefixedStepperTab)("rapid")}
12461
- `;class lh extends V.StepperTab{}const gh=lh.compose(Object.assign({baseName:"stepper-tab",template:nh,styles:(e,a)=>b.css`
12461
+ `;class gh extends V.StepperTab{}const dh=gh.compose(Object.assign({baseName:"stepper-tab",template:sh,styles:(e,a)=>b.css`
12462
12462
  ${(0,V.foundationStepperTabStyles)(e,a)}
12463
12463
 
12464
12464
  rapid-tree-item {
@@ -12518,7 +12518,7 @@
12518
12518
  :host([error]) .step-title {
12519
12519
  color: var(--error-color);
12520
12520
  }
12521
- `,shadowOptions:V.foundationStepperTabShadowOptions},V.defaultStepperTabConfig));class sh extends V.StepperTabPanel{}const dh=sh.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,V.foundationStepperTabPanelTemplate)(e,a),shadowOptions:V.foundationStepperTabPanelShadowOptions},V.defaultStepperTabPanelConfig)),ch={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class ph extends V.Switch{}const uh=ph.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,V.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
12521
+ `,shadowOptions:V.foundationStepperTabShadowOptions},V.defaultStepperTabConfig));class ch extends V.StepperTabPanel{}const ph=ch.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,V.foundationStepperTabPanelTemplate)(e,a),shadowOptions:V.foundationStepperTabPanelShadowOptions},V.defaultStepperTabPanelConfig)),uh={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class hh extends V.Switch{}const mh=hh.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,V.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
12522
12522
  ${(0,V.foundationSwitchStyles)(e,a)}
12523
12523
  :host {
12524
12524
  --primary-gradient-angle: -113.5deg;
@@ -12555,7 +12555,7 @@
12555
12555
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
12556
12556
  background: var(--accent-fill-rest);
12557
12557
  }
12558
- `,shadowOptions:V.foundationSwitchShadowOptions},ch));class hh extends V.Tab{}const mh=hh.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,V.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
12558
+ `,shadowOptions:V.foundationSwitchShadowOptions},uh));class bh extends V.Tab{}const vh=bh.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,V.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
12559
12559
  ${(0,V.foundationTabStyles)(e,a)}
12560
12560
  :host {
12561
12561
  background-color: var(--neutral-layer-2);
@@ -12568,13 +12568,13 @@
12568
12568
  :host([aria-selected='true']:hover) {
12569
12569
  background-color: var(--neutral-layer-4);
12570
12570
  }
12571
- `,shadowOptions:V.foundationTabShadowOptions},V.defaultTabConfig));class bh extends V.TabPanel{}const vh=bh.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,V.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
12571
+ `,shadowOptions:V.foundationTabShadowOptions},V.defaultTabConfig));class fh extends V.TabPanel{}const wh=fh.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,V.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
12572
12572
  ${(0,V.foundationTabPanelStyles)(e,a)}
12573
12573
  :host {
12574
12574
  padding: 0;
12575
12575
  background-color: var(--neutral-layer-4);
12576
12576
  }
12577
- `,shadowOptions:V.foundationTabPanelShadowOptions},V.defaultTabPanelConfig));class fh extends V.Tabs{}const wh=fh.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,V.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
12577
+ `,shadowOptions:V.foundationTabPanelShadowOptions},V.defaultTabPanelConfig));class yh extends V.Tabs{}const xh=yh.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,V.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
12578
12578
  ${(0,V.foundationTabsStyles)(e,a)}
12579
12579
  :host {
12580
12580
  --base-height-multiplier: 9;
@@ -12649,7 +12649,7 @@
12649
12649
  :host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
12650
12650
  padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
12651
12651
  }
12652
- `,shadowOptions:V.foundationTabsShadowOptions},V.defaultTabsConfig));class yh extends V.TextArea{}const xh=yh.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,V.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
12652
+ `,shadowOptions:V.foundationTabsShadowOptions},V.defaultTabsConfig));class kh extends V.TextArea{}const zh=kh.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,V.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
12653
12653
  ${(0,V.foundationTextAreaStyles)(e,a)}
12654
12654
 
12655
12655
  :host {
@@ -12681,7 +12681,7 @@
12681
12681
  font-weight: 700;
12682
12682
  margin: calc(var(--design-unit) * 2px) 0;
12683
12683
  }
12684
- `,shadowOptions:V.foundationTextAreaShadowOptions},V.defaultTextAreaConfig));class kh extends V.TextField{}const zh=kh.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,V.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
12684
+ `,shadowOptions:V.foundationTextAreaShadowOptions},V.defaultTextAreaConfig));class Sh extends V.TextField{}const Ch=Sh.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,V.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
12685
12685
  ${(0,V.foundationTextFieldStyles)(e,a)}
12686
12686
 
12687
12687
  :host {
@@ -12725,7 +12725,7 @@
12725
12725
  .label-hidden {
12726
12726
  margin: 0;
12727
12727
  }
12728
- `,shadowOptions:V.foundationTextFieldShadowOptions},V.defaultTextFieldConfig)),Sh=b.css`
12728
+ `,shadowOptions:V.foundationTextFieldShadowOptions},V.defaultTextFieldConfig)),$h=b.css`
12729
12729
  ${V.foundationToastStyles}
12730
12730
  .toast {
12731
12731
  background-color: ${f.neutralLayer1};
@@ -12780,7 +12780,7 @@
12780
12780
  :host([notify='serious']) .toast::after {
12781
12781
  background-color: var(--error-color);
12782
12782
  }
12783
- `,Ch=V.defaultToastConfig,$h=V.foundationToastShadowOptions;class Ah extends V.Toast{}const Oh=Ah.compose(Object.assign({baseName:"toast",shadowOptions:$h,styles:Sh,template:V.foundationToastTemplate},Ch));class Dh extends V.Toolbar{}const Fh=Dh.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,V.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
12783
+ `,Ah=V.defaultToastConfig,Dh=V.foundationToastShadowOptions;class Th extends V.Toast{}const Fh=Th.compose(Object.assign({baseName:"toast",shadowOptions:Dh,styles:$h,template:V.foundationToastTemplate},Ah));class Oh extends V.Toolbar{}const Rh=Oh.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,V.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
12784
12784
  ${(0,V.foundationToolbarStyles)(e,a)}
12785
12785
  :host {
12786
12786
  align-items: center;
@@ -12790,7 +12790,7 @@
12790
12790
  .positioning-region {
12791
12791
  align-items: center;
12792
12792
  }
12793
- `,shadowOptions:V.foundationToolbarShadowOptions},V.defaultToolbarConfig));class Th extends V.Tooltip{}const Rh=Th.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,V.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
12793
+ `,shadowOptions:V.foundationToolbarShadowOptions},V.defaultToolbarConfig));class Nh extends V.Tooltip{}const Mh=Nh.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,V.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
12794
12794
  ${(0,V.foundationTooltipStyles)(e,a)}
12795
12795
 
12796
12796
  :host {
@@ -12813,7 +12813,7 @@
12813
12813
  alpha-anchored-region.bottom.right .tooltip {
12814
12814
  margin-left: 0;
12815
12815
  }
12816
- `,shadowOptions:V.foundationTooltipShadowOptions},V.defaultTooltipConfig));class Nh extends V.TreeItem{}const Lh={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>'},Mh=Nh.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,V.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
12816
+ `,shadowOptions:V.foundationTooltipShadowOptions},V.defaultTooltipConfig));class Lh extends V.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>'},Eh=Lh.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,V.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
12817
12817
  ${(0,V.foundationTreeItemStyles)(e,a)}
12818
12818
  :host {
12819
12819
  font-size: var(--type-ramp-base-font-size);
@@ -12852,11 +12852,11 @@
12852
12852
  width: calc(var(--design-unit) * 3px);
12853
12853
  height: calc(var(--design-unit) * 3px);
12854
12854
  }
12855
- `,shadowOptions:V.foundationTreeItemShadowOptions},Lh));class Ih extends V.TreeView{}const jh=Ih.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,V.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
12855
+ `,shadowOptions:V.foundationTreeItemShadowOptions},Ih));class jh extends V.TreeView{}const Ph=jh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,V.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
12856
12856
  ${(0,V.foundationTreeViewStyles)(e,a)}
12857
- `,shadowOptions:V.foundationTreeViewShadowOptions},V.defaultTreeViewConfig)),Eh=b.html`
12857
+ `,shadowOptions:V.foundationTreeViewShadowOptions},V.defaultTreeViewConfig)),Bh=b.html`
12858
12858
  ${(0,V.getPrefixedUrlInput)("rapid")}
12859
- `;class Ph extends V.UrlInput{}const Bh={designSystemProvider:jd,rapidAccordion:Pd,rapidAccordionItem:Gd,rapidActionsMenu:Ud,rapidAnchor:Kd,rapidAnchoredRegion:ec,rapidAvatar:rc,rapidBadge:oc,rapidBanner:gc,rapidBreadcrumb:dc,rapidBreadcrumbItem:pc,rapidButton:hc,rapidCalendar:bc,rapidCard:fc,rapidCategorizedMultiselect:Sc,rapidCheckbox:$c,rapidCombobox:Oc,rapidConnectionIndicator:Fc,rapidDataGrid:()=>(0,V.foundationDataGrid)(),rapidDataGridCell:()=>(0,V.foundationDataGridCell)(),rapidDataGridRow:()=>(0,V.foundationDataGridRow)(),rapidDatePicker:Qc,rapidDialog:Xc,rapidDisclosure:ap,rapidDivider:tp,rapidDropdownMenu:ip,rapidErrorBoundary:()=>(0,V.foundationErrorBoundary)(),rapidFileUpload:mp,rapidFilter:fp,rapidFilterBar:xp,rapidFlexLayout:()=>(0,V.foundationFlexLayout)(),rapidFlipper:Ap,rapidFlyout:Np,rapidGridLayout:()=>(0,V.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,V.foundationGridLayoutItem)(),rapidHorizontalScroll:Hp,rapidIcon:Wp,rapidListbox:Jp,rapidListboxOption:Kp,rapidMenu:eu,rapidMenuItem:tu,rapidModal:su,rapidMultiselect:mu,rapidNotificationListener:vu,rapidNumberField:ku,rapidProgress:Su,rapidProgressRing:$u,rapidRadio:Ou,rapidRadioGroup:Fu,rapidSearchBar:Lu,rapidSearchBarCombobox:Iu,rapidSegmentedControl:Eu,rapidSegmentedItem:Bu,rapidSelect:_u,rapidSkeleton:Hu,rapidSlider:Yu,rapidSliderLabel:Wu,rapidSnackbar:Xu,rapidStackingIcons:ah,rapidStepper:ih,rapidStepperTab:gh,rapidStepperTabPanel:dh,rapidSwitch:uh,rapidTab:mh,rapidTabPanel:vh,rapidTabs:wh,rapidTextArea:xh,rapidTextField:zh,rapidToast:Oh,rapidToolbar:Fh,rapidTooltip:Rh,rapidTreeItem:Mh,rapidTreeView:jh,rapidUrlInput:Ph.compose(Object.assign({baseName:"url-input",template:Eh,styles:(e,a)=>b.css`
12859
+ `;class Gh extends V.UrlInput{}const _h={designSystemProvider:Pd,rapidAccordion:Gd,rapidAccordionItem:Ud,rapidActionsMenu:Vd,rapidAnchor:ec,rapidAnchoredRegion:rc,rapidAvatar:oc,rapidBadge:nc,rapidBanner:dc,rapidBreadcrumb:pc,rapidBreadcrumbItem:hc,rapidButton:bc,rapidCalendar:fc,rapidCard:yc,rapidCategorizedMultiselect:$c,rapidCheckbox:Dc,rapidCombobox:Fc,rapidConnectionIndicator:Rc,rapidDataGrid:()=>(0,V.foundationDataGrid)(),rapidDataGridCell:()=>(0,V.foundationDataGridCell)(),rapidDataGridRow:()=>(0,V.foundationDataGridRow)(),rapidDatePicker:qc,rapidDialog:ap,rapidDisclosure:tp,rapidDivider:ip,rapidDropdownMenu:lp,rapidErrorBoundary:()=>(0,V.foundationErrorBoundary)(),rapidFileUpload:vp,rapidFilter:yp,rapidFilterBar:zp,rapidFlexLayout:()=>(0,V.foundationFlexLayout)(),rapidFlipper:Tp,rapidFlyout:Lp,rapidGridLayout:()=>(0,V.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,V.foundationGridLayoutItem)(),rapidHorizontalScroll:Yp,rapidIcon:Jp,rapidListbox:Kp,rapidListboxOption:eu,rapidMenu:ru,rapidMenuItem:iu,rapidModal:cu,rapidMultiselect:vu,rapidNotificationListener:wu,rapidNumberField:Su,rapidProgress:$u,rapidProgressRing:Du,rapidRadio:Fu,rapidRadioGroup:Ru,rapidSearchBar:Iu,rapidSearchBarCombobox:ju,rapidSegmentedControl:Bu,rapidSegmentedItem:_u,rapidSelect:Hu,rapidSkeleton:Yu,rapidSlider:Wu,rapidSliderLabel:Ju,rapidSnackbar:ah,rapidStackingIcons:th,rapidStepper:lh,rapidStepperTab:dh,rapidStepperTabPanel:ph,rapidSwitch:mh,rapidTab:vh,rapidTabPanel:wh,rapidTabs:xh,rapidTextArea:zh,rapidTextField:Ch,rapidToast:Fh,rapidToolbar:Rh,rapidTooltip:Mh,rapidTreeItem:Eh,rapidTreeView:Ph,rapidUrlInput:Gh.compose(Object.assign({baseName:"url-input",template:Bh,styles:(e,a)=>b.css`
12860
12860
  ${(0,V.foundationUrlInputStyles)(e,a)}
12861
12861
  a {
12862
12862
  color: var(--accent-fill-rest);
@@ -12872,7 +12872,7 @@
12872
12872
  font-size: var(--type-ramp-base-font-size);
12873
12873
  top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
12874
12874
  }
12875
- `,shadowOptions:V.foundationUrlInputShadowOptions},V.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Gh extends hn{}const _h=Gh.compose({baseName:"date-editor",styles:mn,template:bn("rapid")});class Uh extends yn{}const Hh=Uh.compose({baseName:"multiselect-editor",styles:xn,template:kn("rapid")});class Vh extends $n{}const Yh=Vh.compose({baseName:"select-editor",styles:An,template:On("rapid")});class Qh extends Rn{}const Wh=Qh.compose({baseName:"number-editor",styles:Nn,template:Ln("rapid")});class qh extends En{}const Jh=qh.compose({baseName:"string-editor",styles:Pn,template:Bn("rapid")});class Zh extends Hn{}const Kh=Zh.compose({baseName:"editable-renderer",styles:Vn,template:Yn("rapid")});class Xh extends Kn{}const em=Xh.compose({baseName:"grid-pro-action-renderer",styles:b.css`
12875
+ `,shadowOptions:V.foundationUrlInputShadowOptions},V.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Uh extends hn{}const Hh=Uh.compose({baseName:"date-editor",styles:mn,template:bn("rapid")});class Vh extends yn{}const Yh=Vh.compose({baseName:"multiselect-editor",styles:xn,template:kn("rapid")});class Qh extends $n{}const Wh=Qh.compose({baseName:"select-editor",styles:An,template:Dn("rapid")});class qh extends Rn{}const Jh=qh.compose({baseName:"number-editor",styles:Nn,template:Mn("rapid")});class Zh extends jn{}const Kh=Zh.compose({baseName:"string-editor",styles:Pn,template:Bn("rapid")});class Xh extends Hn{}const em=Xh.compose({baseName:"editable-renderer",styles:Vn,template:Yn("rapid")});class am extends Kn{}const rm=am.compose({baseName:"grid-pro-action-renderer",styles:b.css`
12876
12876
  ${el}
12877
12877
  .button-padding {
12878
12878
  justify-content: center;
@@ -12894,12 +12894,12 @@
12894
12894
  `:e.params.actionName}
12895
12895
  </rapid-button>
12896
12896
  </div>
12897
- `});class am extends il{}const rm=am.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
12897
+ `});class tm extends il{}const om=tm.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
12898
12898
  <rapid-actions-menu
12899
12899
  name="${e=>e.params.headerName}"
12900
12900
  :definition=${e=>e.params}
12901
12901
  ></rapid-actions-menu>
12902
- `});class tm extends sl{}const om=tm.compose({baseName:"boolean-renderer",styles:dl,template:cl("rapid")});const im=class extends xl{}.compose({baseName:"grid-text-renderer",styles:kl,template:zl("rapid")});const nm=class extends $l{}.compose({baseName:"select-renderer",styles:Al,template:Ol("rapid")}),lm={foregroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2b2e34"))},gm={foregroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2196f3"))},{create:sm}=v.DesignToken,dm={backgroundColor:sm("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?gm.backgroundSwatch:lm.backgroundSwatch)),borderColor:sm("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?gm.borderSwatch:lm.borderSwatch)),foregroundColor:sm("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?gm.foregroundSwatch:lm.foregroundSwatch)),headerForegroundColor:sm("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?gm.headerForegroundSwatch:lm.headerForegroundSwatch)),rowHoverColor:sm("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?gm.rowHoverSwatch:lm.rowHoverSwatch))},cm=b.css`
12902
+ `});class im extends gl{}const nm=im.compose({baseName:"boolean-renderer",styles:dl,template:cl("rapid")});const lm=class extends xl{}.compose({baseName:"grid-text-renderer",styles:kl,template:zl("rapid")});const sm=class extends $l{}.compose({baseName:"select-renderer",styles:Al,template:Dl("rapid")}),gm={foregroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#cccccc")),headerForegroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#879ba6")),backgroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#1f2126")),borderSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2e3339")),rowHoverSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2b2e34"))},dm={foregroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#000000")),headerForegroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#181d1f")),backgroundSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#FFFFFF")),borderSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#babfc7")),rowHoverSwatch:f.SwatchRGB.from((0,Re.parseColorHexRGB)("#2196f3"))},{create:cm}=v.DesignToken,pm={backgroundColor:cm("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?dm.backgroundSwatch:gm.backgroundSwatch)),borderColor:cm("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?dm.borderSwatch:gm.borderSwatch)),foregroundColor:cm("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?dm.foregroundSwatch:gm.foregroundSwatch)),headerForegroundColor:cm("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?dm.headerForegroundSwatch:gm.headerForegroundSwatch)),rowHoverColor:cm("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?dm.rowHoverSwatch:gm.rowHoverSwatch))},um=b.css`
12903
12903
  .ag-theme-genesis-rapid,
12904
12904
  .ag-theme-genesis-rapid-dark {
12905
12905
  --ag-alpine-active-color: #2196f3;
@@ -13360,76 +13360,76 @@
13360
13360
  .ag-theme-genesis-rapid-dark {
13361
13361
  color-scheme: dark;
13362
13362
  }
13363
- `,pm={[Ki.backgroundColor]:dm.backgroundColor,[Ki.foregroundColor]:dm.foregroundColor,[Ki.oddRowBackgroundColor]:dm.backgroundColor,[Ki.headerBackgroundColor]:dm.backgroundColor,[Ki.headerForegroundColor]:dm.headerForegroundColor,[Ki.selectedRowBackgroundColor]:dm.rowHoverColor,[Ki.rowHoverColor]:dm.rowHoverColor,[Ki.borderColor]:dm.borderColor,[Ki.rowBorderColor]:dm.rowHoverColor,[Ki.modalOverlayBackgroundColor]:dm.backgroundColor,[Ki.inputFocusBoxShadow]:dm.headerForegroundColor,[Ki.inputFocusBorderColor]:dm.headerForegroundColor,[Ki.headerColumnResizeHandleColor]:dm.headerForegroundColor},um="ag-theme-genesis-rapid",hm=b.css`
13364
- ${cm}
13365
- ${ln(um,pm)}
13363
+ `,hm={[Ki.backgroundColor]:pm.backgroundColor,[Ki.foregroundColor]:pm.foregroundColor,[Ki.oddRowBackgroundColor]:pm.backgroundColor,[Ki.headerBackgroundColor]:pm.backgroundColor,[Ki.headerForegroundColor]:pm.headerForegroundColor,[Ki.selectedRowBackgroundColor]:pm.rowHoverColor,[Ki.rowHoverColor]:pm.rowHoverColor,[Ki.borderColor]:pm.borderColor,[Ki.rowBorderColor]:pm.rowHoverColor,[Ki.modalOverlayBackgroundColor]:pm.backgroundColor,[Ki.inputFocusBoxShadow]:pm.headerForegroundColor,[Ki.inputFocusBorderColor]:pm.headerForegroundColor,[Ki.headerColumnResizeHandleColor]:pm.headerForegroundColor},mm="ag-theme-genesis-rapid",bm=b.css`
13364
+ ${um}
13365
+ ${ln(mm,hm)}
13366
13366
 
13367
- .${um} {
13367
+ .${mm} {
13368
13368
  ${la()}
13369
13369
  font-family: var(--body-font);
13370
13370
  }
13371
13371
 
13372
- .${um} .ag-body .ag-body-viewport,
13373
- .${um} .ag-header,
13374
- .${um} .ag-row {
13372
+ .${mm} .ag-body .ag-body-viewport,
13373
+ .${mm} .ag-header,
13374
+ .${mm} .ag-row {
13375
13375
  background-color: var(--neutral-layer-4);
13376
13376
  }
13377
13377
 
13378
- .${um} .ag-header {
13378
+ .${mm} .ag-header {
13379
13379
  border-bottom-color: var(--neutral-stroke-rest);
13380
13380
  font-weight: bold;
13381
13381
  font-size: var(--type-ramp-base-font-size);
13382
13382
  }
13383
13383
 
13384
- .${um} .ag-root-wrapper {
13384
+ .${mm} .ag-root-wrapper {
13385
13385
  border-radius: calc(var(--ag-border-radius) * 1px);
13386
13386
  border: 1px solid var(--rapid-ag-border-color);
13387
13387
  }
13388
13388
 
13389
- .${um} .ag-cell {
13389
+ .${mm} .ag-cell {
13390
13390
  font-size: var(--type-ramp-minus-1-font-size);
13391
13391
  }
13392
- `,mm="ag-theme-genesis-rapid-dark",bm=b.css`
13393
- ${cm}
13394
- ${ln(um,pm)}
13392
+ `,vm="ag-theme-genesis-rapid-dark",fm=b.css`
13393
+ ${um}
13394
+ ${ln(mm,hm)}
13395
13395
 
13396
- .${mm} {
13396
+ .${vm} {
13397
13397
  ${la()}
13398
13398
  font-family: var(--body-font);
13399
13399
  }
13400
13400
 
13401
- .${mm} .ag-body .ag-body-viewport,
13402
- .${mm} .ag-header,
13403
- .${mm} .ag-row {
13401
+ .${vm} .ag-body .ag-body-viewport,
13402
+ .${vm} .ag-header,
13403
+ .${vm} .ag-row {
13404
13404
  background-color: var(--neutral-layer-4);
13405
13405
  }
13406
13406
 
13407
- .${mm} .ag-header {
13407
+ .${vm} .ag-header {
13408
13408
  border-bottom-color: var(--neutral-stroke-rest);
13409
13409
  font-weight: bold;
13410
13410
  font-size: var(--type-ramp-base-font-size);
13411
13411
  }
13412
13412
 
13413
- .${mm} .ag-root-wrapper {
13413
+ .${vm} .ag-root-wrapper {
13414
13414
  border-radius: calc(var(--ag-border-radius) * 1px);
13415
13415
  border: 1px solid var(--rapid-ag-border-color);
13416
13416
  }
13417
13417
 
13418
- .${mm} .ag-cell {
13418
+ .${vm} .ag-cell {
13419
13419
  font-size: var(--type-ramp-minus-1-font-size);
13420
13420
  }
13421
- `,vm=b.css`
13421
+ `,wm=b.css`
13422
13422
  /* All the AG themes */
13423
- ${Mg}
13423
+ ${Es}
13424
13424
 
13425
13425
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
13426
- ${hm}
13427
13426
  ${bm}
13427
+ ${fm}
13428
13428
 
13429
13429
  .error {
13430
- border-color: ${Te.shortPink} !important;
13430
+ border-color: ${Oe.shortPink} !important;
13431
13431
  }
13432
- `,fm=Ig("rapid"),wm="ag-theme-genesis-rapid-dark";const ym=Vg,xm=Yg,km={rapidAgEditableRenderer:Kh,rapidAgActionRenderer:em,rapidAgActionsMenuRenderer:rm,rapidAgBooleanRenderer:om,rapidAgTextRenderer:im,rapidAgSelectRenderer:nm,rapidAgDateEditor:_h,rapidAgMultiselectEditor:Hh,rapidAgSelectEditor:Yh,rapidAgNumberEditor:Wh,rapidAgStringEditor:Jh,rapidGridPro:class extends Hg{constructor(){super(...arguments),this.theme=wm}themeChanged(e,a){(e||a===wm)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[gn.action]:Xh,[gn.actionsMenu]:am,[gn.boolean]:tm,[gn.editable]:Zh,[gn.selectEditor]:Vh,[gn.numberEditor]:Qh,[gn.multiselectEditor]:Uh,[gn.dateEditor]:Gh,[gn.stringEditor]:qh};(this.theme===um||this.theme===mm)&&(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:fm,styles:vm,shadowOptions:ym},xm)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var zm,Sm=r(91510);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(zm||(zm={}));const Cm={Roboto:na,"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'},$m=Cm["Segoe UI"],Am=b.css`
13432
+ `,ym=js("rapid"),xm="ag-theme-genesis-rapid-dark";const km=Qs,zm=Ws,Sm={rapidAgEditableRenderer:em,rapidAgActionRenderer:rm,rapidAgActionsMenuRenderer:om,rapidAgBooleanRenderer:nm,rapidAgTextRenderer:lm,rapidAgSelectRenderer:sm,rapidAgDateEditor:Hh,rapidAgMultiselectEditor:Yh,rapidAgSelectEditor:Wh,rapidAgNumberEditor:Jh,rapidAgStringEditor:Kh,rapidGridPro:class extends Ys{constructor(){super(...arguments),this.theme=xm}themeChanged(e,a){(e||a===xm)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[sn.action]:am,[sn.actionsMenu]:tm,[sn.boolean]:im,[sn.editable]:Xh,[sn.selectEditor]:Qh,[sn.numberEditor]:qh,[sn.multiselectEditor]:Vh,[sn.dateEditor]:Uh,[sn.stringEditor]:Zh};(this.theme===mm||this.theme===vm)&&(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:ym,styles:wm,shadowOptions:km},zm)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Cm,$m=r(91510);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Cm||(Cm={}));const Am={Roboto:na,"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'},Dm=Am["Segoe UI"],Tm=b.css`
13433
13433
  ${(0,v.display)("block")} :host {
13434
13434
  width: 100%;
13435
13435
  display: inline-flex;
@@ -13561,7 +13561,7 @@
13561
13561
  alpha-button {
13562
13562
  margin: 0;
13563
13563
  }
13564
- `,Om=b.html`
13564
+ `,Fm=b.html`
13565
13565
  <template>
13566
13566
  <div class="configuration">
13567
13567
  ${(0,b.when)((e=>!e.customDesignMode),b.html`
@@ -13784,7 +13784,7 @@
13784
13784
  <slot></slot>
13785
13785
  </div>
13786
13786
  </template>
13787
- `,Dm=({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(Cm).find((a=>Cm[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Fm=Dm(ca),Tm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Rm={accent:"primary",neutral:"secondary",font:"white"},Nm=Dm(l.designTokens),Lm=Dm(Md),Mm={zero:{prefix:"zero",tokenDefaults:Fm,buttons:Tm,badge:Rm},alpha:{prefix:"alpha",tokenDefaults:Nm,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Lm,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Tm,badge:Rm}};let Im=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Fm.luminance===f.StandardLuminance.DarkMode,this.luminance=Fm.luminance,this.neutralColor=Fm.neutralColor,this.accentColor=Fm.accentColor,this.bodyFont=Fm.bodyFont,this.density=Fm.density,this.borderRadius=Fm.borderRadius,this.strokeWidth=Fm.strokeWidth,this.designUnit=Fm.designUnit,this.baseFontSize=Fm.baseFontSize,this.baseLineHeight=Fm.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=Dm(a);Mm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Sm.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Mm[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Sm.__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{appName:e="Custom Design",dsPrefix:a="custom"}=yield this.getAppDetails(),r={name:e,value:a};this.designSystems=[r],Mm.custom.prefix=a,Mm.custom.buttons=Mm[a].buttons,Mm.custom.badge=Mm[a].badge,this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Mm[this.ds].prefix,buttonAppearanceAccent:Mm[this.ds].buttons.accent,buttonAppearanceNeutral:Mm[this.ds].buttons.neutral,buttonAppearanceOutline:Mm[this.ds].buttons.outline,buttonAppearanceText:Mm[this.ds].buttons.text,badgeAppearanceAccent:Mm[this.ds].badge.accent,badgeAppearanceNeutral:Mm[this.ds].badge.neutral,badgeText:Mm[this.ds].badge.font};this.$emit(zm.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Mm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Cm[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(zm.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}))}getAppDetails(){return fetch("/api/details").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},ia(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(zm.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Sm.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],Im.prototype,"customDesignMode",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"designSystems",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"ds",void 0),(0,Sm.__decorate)([b.attr],Im.prototype,"darkMode",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"neutralColor",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"accentColor",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"bodyFont",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"density",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"borderRadius",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"strokeWidth",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"designUnit",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"baseFontSize",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"baseLineHeight",void 0),(0,Sm.__decorate)([b.observable],Im.prototype,"preserveOptions",void 0),Im=(0,Sm.__decorate)([(0,b.customElement)({name:"design-system-editor",template:Om,styles:Am})],Im);const jm=(0,k.createLogger)("documentation-components"),Em=e=>{const a=(e=>{const a=(0,Re.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},Pm=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Bm=(e,a)=>{const r=Em(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=Em(e.accentColor);f.accentPalette.setValueFor(a,t),f.baseLayerLuminance.setValueFor(a,e.luminance),f.density.setValueFor(a,e.density),f.controlCornerRadius.setValueFor(a,e.borderRadius),f.strokeWidth.setValueFor(a,e.strokeWidth),f.designUnit.setValueFor(a,e.designUnit),f.bodyFont.setValueFor(a,e.bodyFont),f.typeRampBaseFontSize.setValueFor(a,e.baseFontSize),f.typeRampBaseLineHeight.setValueFor(a,e.baseLineHeight),f.typeRampMinus1FontSize.setValueFor(a,Pm(f.typeRampBaseFontSize,oa.Du.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,Pm(f.typeRampBaseLineHeight,oa.Du.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,Pm(f.typeRampBaseFontSize,oa.Du.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,Pm(f.typeRampBaseLineHeight,oa.Du.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,Pm(f.typeRampBaseFontSize,oa.Du.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,Pm(f.typeRampBaseLineHeight,oa.Du.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,Pm(f.typeRampBaseFontSize,oa.Du.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,Pm(f.typeRampBaseLineHeight,oa.Du.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,Pm(f.typeRampBaseFontSize,oa.Du.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,Pm(f.typeRampBaseLineHeight,oa.Du.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,Pm(f.typeRampBaseFontSize,oa.Du.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,Pm(f.typeRampBaseLineHeight,oa.Du.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,Pm(f.typeRampBaseFontSize,oa.Du.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,Pm(f.typeRampBaseLineHeight,oa.Du.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,Pm(f.typeRampBaseFontSize,oa.Du.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,Pm(f.typeRampBaseLineHeight,oa.Du.plusSix,a))},Gm=b.css`
13787
+ `,Om=({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(Am).find((a=>Am[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Rm=Om(ca),Nm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Mm={accent:"primary",neutral:"secondary",font:"white"},Lm=Om(l.designTokens),Im=Om(Ed),Em={zero:{prefix:"zero",tokenDefaults:Rm,buttons:Nm,badge:Mm},alpha:{prefix:"alpha",tokenDefaults:Lm,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:Im,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Nm,badge:Mm}};let jm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Rm.luminance===f.StandardLuminance.DarkMode,this.luminance=Rm.luminance,this.neutralColor=Rm.neutralColor,this.accentColor=Rm.accentColor,this.bodyFont=Rm.bodyFont,this.density=Rm.density,this.borderRadius=Rm.borderRadius,this.strokeWidth=Rm.strokeWidth,this.designUnit=Rm.designUnit,this.baseFontSize=Rm.baseFontSize,this.baseLineHeight=Rm.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=Om(a);Em.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,$m.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Em[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,$m.__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{appName:e="Custom Design",dsPrefix:a="custom"}=yield this.getAppDetails(),r={name:e,value:a};this.designSystems=[r],Em.custom.prefix=a,Em.custom.buttons=Em[a].buttons,Em.custom.badge=Em[a].badge,this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Em[this.ds].prefix,buttonAppearanceAccent:Em[this.ds].buttons.accent,buttonAppearanceNeutral:Em[this.ds].buttons.neutral,buttonAppearanceOutline:Em[this.ds].buttons.outline,buttonAppearanceText:Em[this.ds].buttons.text,badgeAppearanceAccent:Em[this.ds].badge.accent,badgeAppearanceNeutral:Em[this.ds].badge.neutral,badgeText:Em[this.ds].badge.font};this.$emit(Cm.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Em[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Am[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(Cm.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}))}getAppDetails(){return fetch("/api/details").then((e=>e.ok&&e.json())).then((e=>e)).catch((e=>{console.error("Error fetching tokens:",e)}))}connectedCallback(){super.connectedCallback(),this.userSelections={},ia(),b.DOM.queueUpdate((()=>{this.styleUpdate()})),document.body.addEventListener(Cm.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,$m.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],jm.prototype,"customDesignMode",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"designSystems",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"ds",void 0),(0,$m.__decorate)([b.attr],jm.prototype,"darkMode",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"neutralColor",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"accentColor",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"bodyFont",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"density",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"borderRadius",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"strokeWidth",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"designUnit",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"baseFontSize",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"baseLineHeight",void 0),(0,$m.__decorate)([b.observable],jm.prototype,"preserveOptions",void 0),jm=(0,$m.__decorate)([(0,b.customElement)({name:"design-system-editor",template:Fm,styles:Tm})],jm);const Pm=(0,k.createLogger)("documentation-components"),Bm=e=>{const a=(e=>{const a=(0,Re.parseColorHexRGB)(e);return a?f.SwatchRGB.from(a):null})(e);return a?f.PaletteRGB.create(a):null},Gm=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},_m=(e,a)=>{const r=Bm(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=Bm(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,Gm(f.typeRampBaseFontSize,oa.Du.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,Gm(f.typeRampBaseLineHeight,oa.Du.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,Gm(f.typeRampBaseFontSize,oa.Du.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,Gm(f.typeRampBaseLineHeight,oa.Du.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,Gm(f.typeRampBaseFontSize,oa.Du.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,Gm(f.typeRampBaseLineHeight,oa.Du.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,Gm(f.typeRampBaseFontSize,oa.Du.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,Gm(f.typeRampBaseLineHeight,oa.Du.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,Gm(f.typeRampBaseFontSize,oa.Du.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,Gm(f.typeRampBaseLineHeight,oa.Du.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,Gm(f.typeRampBaseFontSize,oa.Du.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,Gm(f.typeRampBaseLineHeight,oa.Du.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,Gm(f.typeRampBaseFontSize,oa.Du.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,Gm(f.typeRampBaseLineHeight,oa.Du.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,Gm(f.typeRampBaseFontSize,oa.Du.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,Gm(f.typeRampBaseLineHeight,oa.Du.plusSix,a))},Um=b.css`
13788
13788
  :host {
13789
13789
  --badge-fill-primary: var(--accent-fill-rest);
13790
13790
  --badge-fill-neutral: var(--neutral-fill-rest);
@@ -13880,7 +13880,7 @@
13880
13880
  display: flex;
13881
13881
  flex-direction: column;
13882
13882
  }
13883
- `,_m=b.html`
13883
+ `,Hm=b.html`
13884
13884
  ${e=>(e=>b.html`
13885
13885
  <template>
13886
13886
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14295,7 +14295,7 @@
14295
14295
  </${e}-design-system-provider>
14296
14296
  </template>
14297
14297
  `)(e.prefix)}
14298
- `;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=>jm.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>jm.debug("DELETE!!!",e)},{name:"Edit",callback:e=>jm.debug("EDIT!!!",e)},{name:"Wait",callback:e=>jm.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(zm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(zm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault($m)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{Bm(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,Sm.__decorate)([b.observable],Um.prototype,"modal",void 0),(0,Sm.__decorate)([b.attr],Um.prototype,"prefix",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"buttonAppearanceAccent",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"buttonAppearanceNeutral",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"buttonAppearanceOutline",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"buttonAppearanceText",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"badgeAppearanceAccent",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"badgeAppearanceNeutral",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"badgeText",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"cards",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"countries",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"menuActions",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"menuDefinition",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"dropDownMenuItems",void 0),(0,Sm.__decorate)([b.observable],Um.prototype,"provider",void 0),Um=(0,Sm.__decorate)([(0,b.customElement)({name:"preview-components",template:_m,styles:Gm})],Um);const Hm=b.css`
14298
+ `;let Vm=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=>Pm.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>Pm.debug("DELETE!!!",e)},{name:"Edit",callback:e=>Pm.debug("EDIT!!!",e)},{name:"Wait",callback:e=>Pm.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(Cm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Cm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Dm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{_m(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,$m.__decorate)([b.observable],Vm.prototype,"modal",void 0),(0,$m.__decorate)([b.attr],Vm.prototype,"prefix",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"buttonAppearanceAccent",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"buttonAppearanceNeutral",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"buttonAppearanceOutline",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"buttonAppearanceText",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"badgeAppearanceAccent",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"badgeAppearanceNeutral",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"badgeText",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"cards",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"countries",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"menuActions",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"menuDefinition",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"dropDownMenuItems",void 0),(0,$m.__decorate)([b.observable],Vm.prototype,"provider",void 0),Vm=(0,$m.__decorate)([(0,b.customElement)({name:"preview-components",template:Hm,styles:Um})],Vm);const Ym=b.css`
14299
14299
  .export {
14300
14300
  display: flex;
14301
14301
  justify-content: center;
@@ -14306,7 +14306,7 @@
14306
14306
  display: flex;
14307
14307
  justify-content: space-between;
14308
14308
  }
14309
- `,Vm=b.html`
14309
+ `,Qm=b.html`
14310
14310
  <template>
14311
14311
  <div class="export">
14312
14312
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -14327,7 +14327,7 @@
14327
14327
  </alpha-modal>
14328
14328
  </div>
14329
14329
  </template>
14330
- `;let Ym=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=>{jm.log("Tokens saved successfully:",e),this.$emit(zm.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{jm.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(zm.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Sm.__decorate)([b.attr],Ym.prototype,"value",void 0),(0,Sm.__decorate)([b.attr],Ym.prototype,"tokensPath",void 0),Ym=(0,Sm.__decorate)([(0,b.customElement)({name:"design-system-export",template:Vm,styles:Hm})],Ym);const Qm=b.css`
14330
+ `;let Wm=class extends b.FASTElement{constructor(){super(...arguments),this.formatValues=e=>{const a={design_tokens:{color:{accent:{$value:e.accentColor,$type:"color"},neutral:{$value:e.neutralColor,$type:"color"}},fontFamily:{bodyFont:{$value:e.bodyFont,$type:"fontFamily"}},typography:{baseFontSize:{$value:e.baseFontSize,$type:"dimension"},baseLineHeight:{$value:e.baseLineHeight,$type:"dimension"}},mode:{luminance:{$value:e.luminance,$type:"number"}},style:{density:{$value:e.density,$type:"number"},borderRadius:{$value:e.borderRadius,$type:"number"},strokeWidth:{$value:e.strokeWidth,$type:"number"}},space:{designUnit:{$value:e.designUnit,$type:"number"}}}};return JSON.stringify(a,null,3)},this.showModal=()=>this.modal.show(),this.closeModal=()=>this.modal.close(),this.updateTokens=()=>{fetch(`http://localhost:${location.port}/api/tokens`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tokens:this.value})}).then((e=>{if(!e.ok)throw new Error(`API request failed with status ${e.status}`);return e.json()})).then((e=>{Pm.log("Tokens saved successfully:",e),this.$emit(Cm.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{Pm.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Cm.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,$m.__decorate)([b.attr],Wm.prototype,"value",void 0),(0,$m.__decorate)([b.attr],Wm.prototype,"tokensPath",void 0),Wm=(0,$m.__decorate)([(0,b.customElement)({name:"design-system-export",template:Qm,styles:Ym})],Wm);const qm=b.css`
14331
14331
  .colors {
14332
14332
  display: flex;
14333
14333
  flex-wrap: wrap;
@@ -14340,23 +14340,23 @@
14340
14340
  flex-grow: 1;
14341
14341
  height: 20px;
14342
14342
  }
14343
- `,Wm=b.html`
14343
+ `,Jm=b.html`
14344
14344
  <ul class="colors">
14345
14345
  ${(0,b.repeat)((e=>e.swatches),b.html`
14346
14346
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
14347
14347
  `)}
14348
14348
  </ul>
14349
- `;let qm=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=Em(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(zm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Sm.__decorate)([b.observable],qm.prototype,"swatches",void 0),(0,Sm.__decorate)([b.attr],qm.prototype,"type",void 0),qm=(0,Sm.__decorate)([(0,b.customElement)({name:"color-palette",styles:Qm,template:Wm})],qm);const Jm=b.css`
14349
+ `;let Zm=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=Bm(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Cm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,$m.__decorate)([b.observable],Zm.prototype,"swatches",void 0),(0,$m.__decorate)([b.attr],Zm.prototype,"type",void 0),Zm=(0,$m.__decorate)([(0,b.customElement)({name:"color-palette",styles:qm,template:Jm})],Zm);const Km=b.css`
14350
14350
  .preview {
14351
14351
  width: 40px;
14352
14352
  height: 40px;
14353
14353
  }
14354
- `,Zm=b.html`
14354
+ `,Xm=b.html`
14355
14355
  <div
14356
14356
  class="preview"
14357
14357
  style="background-color: ${e=>f[e.tokenName].createCSS()}"
14358
14358
  ></div>
14359
- `;let Km=class extends b.FASTElement{};(0,Sm.__decorate)([b.attr],Km.prototype,"tokenName",void 0),Km=(0,Sm.__decorate)([(0,b.customElement)({name:"color-token",styles:Jm,template:Zm})],Km);const Xm=b.css`
14359
+ `;let eb=class extends b.FASTElement{};(0,$m.__decorate)([b.attr],eb.prototype,"tokenName",void 0),eb=(0,$m.__decorate)([(0,b.customElement)({name:"color-token",styles:Km,template:Xm})],eb);const ab=b.css`
14360
14360
  .container {
14361
14361
  display: flex;
14362
14362
  width: 100%;
@@ -14404,7 +14404,7 @@
14404
14404
  .container > div:not(:last-child) {
14405
14405
  border-right: 1px solid #fafafa;
14406
14406
  }
14407
- `,eb=[{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"}]}]}],ab=b.html`
14407
+ `,rb=[{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"}]}]}],tb=b.html`
14408
14408
  <div class="row">
14409
14409
  <div
14410
14410
  class="preview"
@@ -14416,19 +14416,19 @@
14416
14416
  ${(e,a)=>f[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
14417
14417
  </div>
14418
14418
  </div>
14419
- `,rb=b.html`
14419
+ `,ob=b.html`
14420
14420
  <div class="container" ${(0,b.ref)("provider")}>
14421
- ${(0,b.repeat)((()=>eb),b.html`
14421
+ ${(0,b.repeat)((()=>rb),b.html`
14422
14422
  <div class="column">
14423
14423
  <h3 class="header-title">${e=>e.title}</h3>
14424
14424
  ${(0,b.repeat)((e=>e.subcategories),b.html`
14425
14425
  <h4>${e=>e.title}</h4>
14426
- ${(0,b.repeat)((e=>e.tokens),ab)}
14426
+ ${(0,b.repeat)((e=>e.tokens),tb)}
14427
14427
  `)}
14428
14428
  </div>
14429
14429
  `)}
14430
14430
  </div>
14431
- `;let tb=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(zm.STYLES_CHANGED,(e=>{const a=e.detail;Bm(a,this.provider)}))}};(0,Sm.__decorate)([b.observable],tb.prototype,"provider",void 0),tb=(0,Sm.__decorate)([(0,b.customElement)({name:"color-tokens",template:rb,styles:Xm})],tb);const ob=b.css`
14431
+ `;let ib=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Cm.STYLES_CHANGED,(e=>{const a=e.detail;_m(a,this.provider)}))}};(0,$m.__decorate)([b.observable],ib.prototype,"provider",void 0),ib=(0,$m.__decorate)([(0,b.customElement)({name:"color-tokens",template:ob,styles:ab})],ib);const nb=b.css`
14432
14432
  table {
14433
14433
  background: var(--neutral-fill-rest);
14434
14434
  color: var(--neutral-foreground-rest);
@@ -14437,7 +14437,7 @@
14437
14437
  th {
14438
14438
  text-align: left;
14439
14439
  }
14440
- `,ib=b.html`
14440
+ `,lb=b.html`
14441
14441
  <table ${(0,b.ref)("provider")} style="font-family: ${()=>f.bodyFont.createCSS()}">
14442
14442
  <colgroup>
14443
14443
  <col style="width: 15%;" />
@@ -14665,7 +14665,7 @@
14665
14665
  </tr>
14666
14666
  </tbody>
14667
14667
  </table>
14668
- `;let nb=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(zm.STYLES_CHANGED,(e=>{const a=e.detail;Bm(a,this.provider)}))}};(0,Sm.__decorate)([b.observable],nb.prototype,"provider",void 0),nb=(0,Sm.__decorate)([(0,b.customElement)({name:"typography-tokens",template:ib,styles:ob})],nb);const lb=b.css`
14668
+ `;let sb=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Cm.STYLES_CHANGED,(e=>{const a=e.detail;_m(a,this.provider)}))}};(0,$m.__decorate)([b.observable],sb.prototype,"provider",void 0),sb=(0,$m.__decorate)([(0,b.customElement)({name:"typography-tokens",template:lb,styles:nb})],sb);const gb=b.css`
14669
14669
  :host {
14670
14670
  background: var(--fill-color);
14671
14671
  color: var(--neutral-foreground-rest);
@@ -14681,7 +14681,7 @@
14681
14681
  margin-top: 24px;
14682
14682
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
14683
14683
  }
14684
- `,gb=b.html`
14684
+ `,db=b.html`
14685
14685
  <template>
14686
14686
  <alpha-tabs>
14687
14687
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -14710,7 +14710,7 @@
14710
14710
  </alpha-tab-panel>
14711
14711
  </alpha-tabs>
14712
14712
  </template>
14713
- `;let sb=class extends b.FASTElement{};sb=(0,Sm.__decorate)([(0,b.customElement)({name:"design-system-preview",template:gb,styles:lb})],sb);const db={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"}]}]}}]},cb={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"]}}},pb={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"}]}}}]},ub={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"]}}}},hb=b.css`
14713
+ `;let cb=class extends b.FASTElement{};cb=(0,$m.__decorate)([(0,b.customElement)({name:"design-system-preview",template:db,styles:gb})],cb);const pb={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"}]}]}}]},ub={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"]}}},hb={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"}]}}}]},mb={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"]}}}},bb=b.css`
14714
14714
  :host {
14715
14715
  background: var(--fill-color);
14716
14716
  color: var(--neutral-foreground-rest);
@@ -14741,7 +14741,7 @@
14741
14741
  zero-design-system-provider {
14742
14742
  display: inline;
14743
14743
  }
14744
- `,mb=b.html`
14744
+ `,vb=b.html`
14745
14745
  ${e=>(e=>b.html`
14746
14746
  <template>
14747
14747
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14765,7 +14765,7 @@
14765
14765
  </${e}-design-system-provider>
14766
14766
  </template>
14767
14767
  `)(e.prefix)}
14768
- `;let bb=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=cb,this.uischema=db,this.jsonSchemaArray=ub,this.uiSchemaArray=pb,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(zm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(zm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault($m)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{Bm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Sm.__decorate)([b.observable],bb.prototype,"jsonSchema",void 0),(0,Sm.__decorate)([b.observable],bb.prototype,"uischema",void 0),(0,Sm.__decorate)([b.observable],bb.prototype,"jsonSchemaArray",void 0),(0,Sm.__decorate)([b.observable],bb.prototype,"uiSchemaArray",void 0),(0,Sm.__decorate)([b.attr],bb.prototype,"prefix",void 0),(0,Sm.__decorate)([b.observable],bb.prototype,"provider",void 0),(0,Sm.__decorate)([b.observable],bb.prototype,"editedEntity",void 0),(0,Sm.__decorate)([b.observable],bb.prototype,"editedEntityArray",void 0),bb=(0,Sm.__decorate)([(0,b.customElement)({name:"preview-form",template:mb,styles:hb})],bb);const vb=[{athlete:"Michael Phelps",age:23,country:"United States",year:2008,date:"24/08/2008",sport:"Swimming",gold:8,silver:0,bronze:0,total:8,isActionDisabled:!0},{athlete:"Michael Phelps",age:19,country:"United States",year:2004,date:"29/08/2004",sport:"Swimming",gold:6,silver:0,bronze:2,total:8},{athlete:"Michael Phelps",age:27,country:"United States",year:2012,date:"12/08/2012",sport:"Swimming",gold:4,silver:2,bronze:0,total:6},{athlete:"Natalie Coughlin",age:25,country:"United States",year:2008,date:"24/08/2008",sport:"Swimming",gold:1,silver:2,bronze:3,total:6,isActionDisabled:!0},{athlete:"Aleksey Nemov",age:24,country:"Russia",year:2e3,date:"01/10/2000",sport:"Gymnastics",gold:2,silver:1,bronze:3,total:6},{athlete:"Alicia Coutts",age:24,country:"Australia",year:2012,date:"12/08/2012",sport:"Swimming",gold:1,silver:3,bronze:1,total:5,isActionDisabled:!0},{athlete:"Missy Franklin",age:17,country:"United States",year:2012,date:"12/08/2012",sport:"Swimming",gold:4,silver:0,bronze:1,total:5},{athlete:"Ryan Lochte",age:27,country:"United States",year:2012,date:"12/08/2012",sport:"Swimming",gold:2,silver:2,bronze:1,total:5},{athlete:"Allison Schmitt",age:22,country:"United States",year:2012,date:"12/08/2012",sport:"Swimming",gold:3,silver:1,bronze:1,total:5},{athlete:"Natalie Coughlin",age:21,country:"United States",year:2004,date:"29/08/2004",sport:"Swimming",gold:2,silver:2,bronze:1,total:5},{athlete:"Ian Thorpe",age:17,country:"Australia",year:2e3,date:"01/10/2000",sport:"Swimming",gold:3,silver:2,bronze:0,total:5},{athlete:"Dara Torres",age:33,country:"United States",year:2e3,date:"01/10/2000",sport:"Swimming",gold:2,silver:0,bronze:3,total:5},{athlete:"Cindy Klassen",age:26,country:"Canada",year:2006,date:"26/02/2006",sport:"Speed Skating",gold:1,silver:2,bronze:2,total:5},{athlete:"Nastia Liukin",age:18,country:"United States",year:2008,date:"24/08/2008",sport:"Gymnastics",gold:1,silver:3,bronze:1,total:5},{athlete:"Marit Bjørgen",age:29,country:"Norway",year:2010,date:"28/02/2010",sport:"Cross Country Skiing",gold:3,silver:1,bronze:1,total:5},{athlete:"Sun Yang",age:20,country:"China",year:2012,date:"12/08/2012",sport:"Swimming",gold:2,silver:1,bronze:1,total:4},{athlete:"Kirsty Coventry",age:24,country:"Zimbabwe",year:2008,date:"24/08/2008",sport:"Swimming",gold:1,silver:3,bronze:0,total:4},{athlete:"Libby Lenton-Trickett",age:23,country:"Australia",year:2008,date:"24/08/2008",sport:"Swimming",gold:2,silver:1,bronze:1,total:4},{athlete:"Ryan Lochte",age:24,country:"United States",year:2008,date:"24/08/2008",sport:"Swimming",gold:2,silver:0,bronze:2,total:4},{athlete:"Inge de Bruijn",age:30,country:"Netherlands",year:2004,date:"29/08/2004",sport:"Swimming",gold:1,silver:1,bronze:2,total:4},{athlete:"Petria Thomas",age:28,country:"Australia",year:2004,date:"29/08/2004",sport:"Swimming",gold:3,silver:1,bronze:0,total:4},{athlete:"Ian Thorpe",age:21,country:"Australia",year:2004,date:"29/08/2004",sport:"Swimming",gold:2,silver:1,bronze:1,total:4},{athlete:"Inge de Bruijn",age:27,country:"Netherlands",year:2e3,date:"01/10/2000",sport:"Swimming",gold:3,silver:1,bronze:0,total:4},{athlete:"Gary Hall Jr.",age:25,country:"United States",year:2e3,date:"01/10/2000",sport:"Swimming",gold:2,silver:1,bronze:1,total:4},{athlete:"Michael Klim",age:23,country:"Australia",year:2e3,date:"01/10/2000",sport:"Swimming",gold:2,silver:2,bronze:0,total:4},{athlete:"Susie O'Neill",age:27,country:"Australia",year:2e3,date:"01/10/2000",sport:"Swimming",gold:1,silver:3,bronze:0,total:4},{athlete:"Jenny Thompson",age:27,country:"United States",year:2e3,date:"01/10/2000",sport:"Swimming",gold:3,silver:0,bronze:1,total:4},{athlete:"Pieter van den Hoogenband",age:22,country:"Netherlands",year:2e3,date:"01/10/2000",sport:"Swimming",gold:2,silver:0,bronze:2,total:4},{athlete:"An Hyeon-Su",age:20,country:"South Korea",year:2006,date:"26/02/2006",sport:"Short-Track Speed Skating",gold:3,silver:0,bronze:1,total:4},{athlete:"Aliya Mustafina",age:17,country:"Russia",year:2012,date:"12/08/2012",sport:"Gymnastics",gold:1,silver:1,bronze:2,total:4},{athlete:"Shawn Johnson",age:16,country:"United States",year:2008,date:"24/08/2008",sport:"Gymnastics",gold:1,silver:3,bronze:0,total:4}],fb=b.css`
14768
+ `;let fb=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=ub,this.uischema=pb,this.jsonSchemaArray=mb,this.uiSchemaArray=hb,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(Cm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Cm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Dm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{_m(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,$m.__decorate)([b.observable],fb.prototype,"jsonSchema",void 0),(0,$m.__decorate)([b.observable],fb.prototype,"uischema",void 0),(0,$m.__decorate)([b.observable],fb.prototype,"jsonSchemaArray",void 0),(0,$m.__decorate)([b.observable],fb.prototype,"uiSchemaArray",void 0),(0,$m.__decorate)([b.attr],fb.prototype,"prefix",void 0),(0,$m.__decorate)([b.observable],fb.prototype,"provider",void 0),(0,$m.__decorate)([b.observable],fb.prototype,"editedEntity",void 0),(0,$m.__decorate)([b.observable],fb.prototype,"editedEntityArray",void 0),fb=(0,$m.__decorate)([(0,b.customElement)({name:"preview-form",template:vb,styles:bb})],fb);const wb=[{athlete:"Michael Phelps",age:23,country:"United States",year:2008,date:"24/08/2008",sport:"Swimming",gold:8,silver:0,bronze:0,total:8,isActionDisabled:!0},{athlete:"Michael Phelps",age:19,country:"United States",year:2004,date:"29/08/2004",sport:"Swimming",gold:6,silver:0,bronze:2,total:8},{athlete:"Michael Phelps",age:27,country:"United States",year:2012,date:"12/08/2012",sport:"Swimming",gold:4,silver:2,bronze:0,total:6},{athlete:"Natalie Coughlin",age:25,country:"United States",year:2008,date:"24/08/2008",sport:"Swimming",gold:1,silver:2,bronze:3,total:6,isActionDisabled:!0},{athlete:"Aleksey Nemov",age:24,country:"Russia",year:2e3,date:"01/10/2000",sport:"Gymnastics",gold:2,silver:1,bronze:3,total:6},{athlete:"Alicia Coutts",age:24,country:"Australia",year:2012,date:"12/08/2012",sport:"Swimming",gold:1,silver:3,bronze:1,total:5,isActionDisabled:!0},{athlete:"Missy Franklin",age:17,country:"United States",year:2012,date:"12/08/2012",sport:"Swimming",gold:4,silver:0,bronze:1,total:5},{athlete:"Ryan Lochte",age:27,country:"United States",year:2012,date:"12/08/2012",sport:"Swimming",gold:2,silver:2,bronze:1,total:5},{athlete:"Allison Schmitt",age:22,country:"United States",year:2012,date:"12/08/2012",sport:"Swimming",gold:3,silver:1,bronze:1,total:5},{athlete:"Natalie Coughlin",age:21,country:"United States",year:2004,date:"29/08/2004",sport:"Swimming",gold:2,silver:2,bronze:1,total:5},{athlete:"Ian Thorpe",age:17,country:"Australia",year:2e3,date:"01/10/2000",sport:"Swimming",gold:3,silver:2,bronze:0,total:5},{athlete:"Dara Torres",age:33,country:"United States",year:2e3,date:"01/10/2000",sport:"Swimming",gold:2,silver:0,bronze:3,total:5},{athlete:"Cindy Klassen",age:26,country:"Canada",year:2006,date:"26/02/2006",sport:"Speed Skating",gold:1,silver:2,bronze:2,total:5},{athlete:"Nastia Liukin",age:18,country:"United States",year:2008,date:"24/08/2008",sport:"Gymnastics",gold:1,silver:3,bronze:1,total:5},{athlete:"Marit Bjørgen",age:29,country:"Norway",year:2010,date:"28/02/2010",sport:"Cross Country Skiing",gold:3,silver:1,bronze:1,total:5},{athlete:"Sun Yang",age:20,country:"China",year:2012,date:"12/08/2012",sport:"Swimming",gold:2,silver:1,bronze:1,total:4},{athlete:"Kirsty Coventry",age:24,country:"Zimbabwe",year:2008,date:"24/08/2008",sport:"Swimming",gold:1,silver:3,bronze:0,total:4},{athlete:"Libby Lenton-Trickett",age:23,country:"Australia",year:2008,date:"24/08/2008",sport:"Swimming",gold:2,silver:1,bronze:1,total:4},{athlete:"Ryan Lochte",age:24,country:"United States",year:2008,date:"24/08/2008",sport:"Swimming",gold:2,silver:0,bronze:2,total:4},{athlete:"Inge de Bruijn",age:30,country:"Netherlands",year:2004,date:"29/08/2004",sport:"Swimming",gold:1,silver:1,bronze:2,total:4},{athlete:"Petria Thomas",age:28,country:"Australia",year:2004,date:"29/08/2004",sport:"Swimming",gold:3,silver:1,bronze:0,total:4},{athlete:"Ian Thorpe",age:21,country:"Australia",year:2004,date:"29/08/2004",sport:"Swimming",gold:2,silver:1,bronze:1,total:4},{athlete:"Inge de Bruijn",age:27,country:"Netherlands",year:2e3,date:"01/10/2000",sport:"Swimming",gold:3,silver:1,bronze:0,total:4},{athlete:"Gary Hall Jr.",age:25,country:"United States",year:2e3,date:"01/10/2000",sport:"Swimming",gold:2,silver:1,bronze:1,total:4},{athlete:"Michael Klim",age:23,country:"Australia",year:2e3,date:"01/10/2000",sport:"Swimming",gold:2,silver:2,bronze:0,total:4},{athlete:"Susie O'Neill",age:27,country:"Australia",year:2e3,date:"01/10/2000",sport:"Swimming",gold:1,silver:3,bronze:0,total:4},{athlete:"Jenny Thompson",age:27,country:"United States",year:2e3,date:"01/10/2000",sport:"Swimming",gold:3,silver:0,bronze:1,total:4},{athlete:"Pieter van den Hoogenband",age:22,country:"Netherlands",year:2e3,date:"01/10/2000",sport:"Swimming",gold:2,silver:0,bronze:2,total:4},{athlete:"An Hyeon-Su",age:20,country:"South Korea",year:2006,date:"26/02/2006",sport:"Short-Track Speed Skating",gold:3,silver:0,bronze:1,total:4},{athlete:"Aliya Mustafina",age:17,country:"Russia",year:2012,date:"12/08/2012",sport:"Gymnastics",gold:1,silver:1,bronze:2,total:4},{athlete:"Shawn Johnson",age:16,country:"United States",year:2008,date:"24/08/2008",sport:"Gymnastics",gold:1,silver:3,bronze:0,total:4}],yb=b.css`
14769
14769
  :host {
14770
14770
  background: var(--fill-color);
14771
14771
  color: var(--neutral-foreground-rest);
@@ -14780,7 +14780,7 @@
14780
14780
  .grid-height {
14781
14781
  height: 100%;
14782
14782
  }
14783
- `,wb=b.html`
14783
+ `,xb=b.html`
14784
14784
  ${e=>(e=>b.html`
14785
14785
  <template>
14786
14786
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14809,5 +14809,5 @@
14809
14809
  </${e}-design-system-provider>
14810
14810
  </template>
14811
14811
  `)(e.prefix)}
14812
- `;let yb=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[...vb],this.columnDefs=[{headerName:"#",colId:"rowNum",valueGetter:"node.id",width:80,pinned:"left"},{headerName:"Athlete",field:"athlete",width:150,pinned:"left"},{headerName:"Age",field:"age",width:90,pinned:"left"},{headerName:"Country",field:"country",width:150},{headerName:"Year",field:"year",width:90},{headerName:"Date",field:"date",width:110,filter:"agDateColumnFilter",filterParams:{buttons:["apply","reset"],browserDatePicker:!0,comparator:(e,a)=>{if(null==a)return-1;const r=a.split("/"),t=new Date(Number(r[2]),Number(r[1])-1,Number(r[0]));return e.getTime()===t.getTime()?0:t<e?-1:t>e?1:0}}},{headerName:"Sport",field:"sport",width:150,editable:!0},{headerName:"Gold",field:"gold",width:100},{headerName:"Silver",field:"silver",width:100},{headerName:"Bronze",field:"bronze",width:100},{headerName:"Total",field:"total",width:100,pinned:"right"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData},this.myCustomCheckboxRenderer=e=>2012===e.value?`<div><span style="color: var(--warning-color); font-weight: bold;">${e.value}</span></div>`:e.value,this.multipleCustomFoundationColumnConfigs=[{headerName:"Country",field:"country",cellRenderer:gn.boolean},{headerName:"Year",field:"year",cellRenderer:this.myCustomCheckboxRenderer}],this.multipleActions=[{name:"View",callback:e=>console.log("VIEWW!!!",e)},{name:"Delete",callback:e=>console.log("DELETE!!!",e)},{name:"Edit",callback:e=>console.log("EDIT!!!",e)},{name:"Wait",callback:e=>console.log("WHAT???",e)}],this.multipleActionsMenuSlottedConfig=((e,a={},r="⋮",t=!1,o)=>{const i={cellRenderer:gn.actionsMenu,cellRendererParams:{actions:e,buttonAppearance:o,isVertical:t,buttonText:r},cellStyle:{border:"none",overflow:"visible"},field:`${ol(a.headerName)||"actions-menu"}`,headerName:"Actions",width:150};return Object.assign(Object.assign({},i),a)})(this.multipleActions,{headerName:"Multiple Actions",width:140},"⋮",!0,"stealth"),this.singleActionSlottedConfig={headerName:"Single Action",width:200,cellRenderer:gn.action,cellRendererParams:{actionClick:e=>console.log("CLICKED ON SINGLE ACTION!!!!",e),actionName:"Single Action",appearance:"accent",isDisabled:e=>!!e.isActionDisabled,dataTestId:"singleActionTestId#",uniqueFieldName:"UNIQUE_ID"}}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(zm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(zm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault($m)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{Bm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Sm.__decorate)([b.observable],yb.prototype,"grid",void 0),(0,Sm.__decorate)([b.attr],yb.prototype,"prefix",void 0),(0,Sm.__decorate)([b.observable],yb.prototype,"provider",void 0),(0,Sm.__decorate)([b.observable],yb.prototype,"rowData",void 0),(0,Sm.__decorate)([b.observable],yb.prototype,"columnDefs",void 0),(0,Sm.__decorate)([b.observable],yb.prototype,"gridOptions",void 0),yb=(0,Sm.__decorate)([(0,b.customElement)({name:"preview-grid",template:wb,styles:fb})],yb),((e,a="zero")=>{e&&(0,V.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,V.createDesignSystemProxy)(r)})().register(Zi,ss),(0,l.provideDesignSystem)().register(l.baseComponents,ds),((e,a="rapid")=>{e&&(0,V.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,V.createDesignSystemProxy)(r)})().register(Bh,km)}}]);
14813
- //# sourceMappingURL=206.8c192e5deb94dcac2f9856997d811ba0.js.map
14812
+ `;let kb=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[...wb],this.columnDefs=[{headerName:"#",colId:"rowNum",valueGetter:"node.id",width:80,pinned:"left"},{headerName:"Athlete",field:"athlete",width:150,pinned:"left"},{headerName:"Age",field:"age",width:90,pinned:"left"},{headerName:"Country",field:"country",width:150},{headerName:"Year",field:"year",width:90},{headerName:"Date",field:"date",width:110,filter:"agDateColumnFilter",filterParams:{buttons:["apply","reset"],browserDatePicker:!0,comparator:(e,a)=>{if(null==a)return-1;const r=a.split("/"),t=new Date(Number(r[2]),Number(r[1])-1,Number(r[0]));return e.getTime()===t.getTime()?0:t<e?-1:t>e?1:0}}},{headerName:"Sport",field:"sport",width:150,editable:!0},{headerName:"Gold",field:"gold",width:100},{headerName:"Silver",field:"silver",width:100},{headerName:"Bronze",field:"bronze",width:100},{headerName:"Total",field:"total",width:100,pinned:"right"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData},this.myCustomCheckboxRenderer=e=>2012===e.value?`<div><span style="color: var(--warning-color); font-weight: bold;">${e.value}</span></div>`:e.value,this.multipleCustomFoundationColumnConfigs=[{headerName:"Country",field:"country",cellRenderer:sn.boolean},{headerName:"Year",field:"year",cellRenderer:this.myCustomCheckboxRenderer}],this.multipleActions=[{name:"View",callback:e=>console.log("VIEWW!!!",e)},{name:"Delete",callback:e=>console.log("DELETE!!!",e)},{name:"Edit",callback:e=>console.log("EDIT!!!",e)},{name:"Wait",callback:e=>console.log("WHAT???",e)}],this.multipleActionsMenuSlottedConfig=((e,a={},r="⋮",t=!1,o)=>{const i={cellRenderer:sn.actionsMenu,cellRendererParams:{actions:e,buttonAppearance:o,isVertical:t,buttonText:r},cellStyle:{border:"none",overflow:"visible"},field:`${ol(a.headerName)||"actions-menu"}`,headerName:"Actions",width:150};return Object.assign(Object.assign({},i),a)})(this.multipleActions,{headerName:"Multiple Actions",width:140},"⋮",!0,"stealth"),this.singleActionSlottedConfig={headerName:"Single Action",width:200,cellRenderer:sn.action,cellRendererParams:{actionClick:e=>console.log("CLICKED ON SINGLE ACTION!!!!",e),actionName:"Single Action",appearance:"accent",isDisabled:e=>!!e.isActionDisabled,dataTestId:"singleActionTestId#",uniqueFieldName:"UNIQUE_ID"}}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Cm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Cm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(Dm)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{_m(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,$m.__decorate)([b.observable],kb.prototype,"grid",void 0),(0,$m.__decorate)([b.attr],kb.prototype,"prefix",void 0),(0,$m.__decorate)([b.observable],kb.prototype,"provider",void 0),(0,$m.__decorate)([b.observable],kb.prototype,"rowData",void 0),(0,$m.__decorate)([b.observable],kb.prototype,"columnDefs",void 0),(0,$m.__decorate)([b.observable],kb.prototype,"gridOptions",void 0),kb=(0,$m.__decorate)([(0,b.customElement)({name:"preview-grid",template:xb,styles:yb})],kb),((e,a="zero")=>{e&&(0,V.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,V.createDesignSystemProxy)(r)})().register(Zi,cg),(0,l.provideDesignSystem)().register(l.baseComponents,pg),((e,a="rapid")=>{e&&(0,V.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,V.createDesignSystemProxy)(r)})().register(_h,Sm)}}]);
14813
+ //# sourceMappingURL=427.b66101664726205a9f8fe6fff60233e1.js.map