@genesislcap/design-system-configurator 14.209.3-alpha-afba6ee.0 → 14.210.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([[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:()=>Og,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:()=>Fg,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:()=>Od,typeRampPlus4FontSizeValue:()=>Fd,typeRampPlus4LineHeightValue:()=>Rd,typeRampPlus5FontSizeValue:()=>Nd,typeRampPlus5LineHeightValue:()=>Md,typeRampPlus6FontSizeValue:()=>Ld,typeRampPlus6LineHeightValue:()=>Id});var l=r(94466),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`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[264],{51175:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>Xm,ColorToken:()=>rb,ColorTokens:()=>lb,DesignSystemEditor:()=>Bm,DesignSystemExport:()=>Jm,DesignSystemPreview:()=>ub,EventName:()=>Am,PreviewComponents:()=>Qm,PreviewForm:()=>yb,PreviewGrid:()=>Sb,TypographyTokens:()=>db,defaultBodyFont:()=>Om,fontFamilies:()=>Tm});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:()=>Ag,controlCornerRadius:()=>f.controlCornerRadius,defaultBuyColor:()=>$g,defaultErrorColor:()=>vg,defaultSellColor:()=>Tg,defaultSuccessColor:()=>yg,defaultWarningColor:()=>zg,density:()=>f.density,designUnit:()=>f.designUnit,direction:()=>f.direction,disabledOpacity:()=>f.disabledOpacity,errorColor:()=>fg,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:()=>Og,strokeWidth:()=>f.strokeWidth,successColor:()=>xg,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:()=>Sg});var n={};r.r(n),r.d(n,{accentFillActiveDeltaValue:()=>Ig,accentFillFocusDeltaValue:()=>Eg,accentFillHoverDeltaValue:()=>Lg,accentFillRestDeltaValue:()=>Mg,accentForegroundActiveDeltaValue:()=>Bg,accentForegroundFocusDeltaValue:()=>Gg,accentForegroundHoverDeltaValue:()=>Pg,accentForegroundRestDeltaValue:()=>jg,accentPaletteValue:()=>Fg,baseHeightMultiplierValue:()=>md,baseLayerLuminanceValue:()=>Ng,bodyFontValue:()=>wd,controlCornerRadiusValue:()=>bd,densityValue:()=>vd,designTokens:()=>jd,designUnitValue:()=>fd,directionValue:()=>cd,disabledOpacityValue:()=>pd,focusStrokeWidthValue:()=>hd,neutralFillActiveDeltaValue:()=>Hg,neutralFillFocusDeltaValue:()=>Vg,neutralFillHoverDeltaValue:()=>Ug,neutralFillInputActiveDeltaValue:()=>Wg,neutralFillInputFocusDeltaValue:()=>qg,neutralFillInputHoverDeltaValue:()=>Qg,neutralFillInputRestDeltaValue:()=>Yg,neutralFillLayerRestDeltaValue:()=>od,neutralFillRestDeltaValue:()=>_g,neutralFillStealthActiveDeltaValue:()=>Kg,neutralFillStealthFocusDeltaValue:()=>Xg,neutralFillStealthHoverDeltaValue:()=>Zg,neutralFillStealthRestDeltaValue:()=>Jg,neutralFillStrongActiveDeltaValue:()=>rd,neutralFillStrongFocusDeltaValue:()=>td,neutralFillStrongHoverDeltaValue:()=>ad,neutralFillStrongRestDeltaValue:()=>ed,neutralPaletteValue:()=>Rg,neutralStrokeActiveDeltaValue:()=>ld,neutralStrokeDividerRestDeltaValue:()=>gd,neutralStrokeFocusDeltaValue:()=>sd,neutralStrokeHoverDeltaValue:()=>nd,neutralStrokeRestDeltaValue:()=>id,prefix:()=>dd,strokeWidthValue:()=>ud,typeRampBaseFontSizeValue:()=>yd,typeRampBaseLineHeightValue:()=>xd,typeRampMinus1FontSizeValue:()=>kd,typeRampMinus1LineHeightValue:()=>zd,typeRampMinus2FontSizeValue:()=>Sd,typeRampMinus2LineHeightValue:()=>Cd,typeRampPlus1FontSizeValue:()=>$d,typeRampPlus1LineHeightValue:()=>Ad,typeRampPlus2FontSizeValue:()=>Dd,typeRampPlus2LineHeightValue:()=>Td,typeRampPlus3FontSizeValue:()=>Od,typeRampPlus3LineHeightValue:()=>Fd,typeRampPlus4FontSizeValue:()=>Rd,typeRampPlus4LineHeightValue:()=>Nd,typeRampPlus5FontSizeValue:()=>Md,typeRampPlus5LineHeightValue:()=>Ld,typeRampPlus6FontSizeValue:()=>Id,typeRampPlus6LineHeightValue:()=>Ed});var l=r(94466),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;
@@ -173,7 +173,9 @@
173
173
  >
174
174
  ${(0,b.when)((e=>!e.hideLabel),b.html`
175
175
  <div for="${e=>e.control.path+"-wrapper"}" class="label">
176
- ${e=>e.computedLabel}
176
+ <span>
177
+ ${e=>e.computedLabel}${(0,b.when)((e=>{var a,r;return null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.tooltip}),(e=>e.getPrefixedTooltip))}
178
+ </span>
177
179
  </div>
178
180
  `)}
179
181
 
@@ -235,7 +237,8 @@
235
237
  width: 100%;
236
238
  align-items: center;
237
239
  }
238
- `;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`
240
+ `;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)}get getPrefixedTooltip(){var e,a;return b.html`
241
+ <${this.prefix}-icon tooltip="${null===(a=null===(e=this.control.uischema)||void 0===e?void 0:e.options)||void 0===a?void 0:a.tooltip}" tooltip-id="${this.control.path+"-tooltip"}"></${this.prefix}-icon>`}};(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.attr],M.prototype,"prefix",void 0),(0,s.__decorate)([b.volatile],M.prototype,"showDescription",null),(0,s.__decorate)([b.volatile],M.prototype,"computedLabel",null),(0,s.__decorate)([b.volatile],M.prototype,"getPrefixedTooltip",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`
239
242
  <template>${e=>e.determinedRenderer.renderer}</template>
240
243
  `,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`
241
244
  .tabs-container::part(stepper-panel-container) {
@@ -333,6 +336,7 @@
333
336
  :jsonForms=${e=>e.jsonforms}
334
337
  :touched=${e=>e.touched}
335
338
  ?submitted=${e=>e.submitted}
339
+ prefix="${e}"
336
340
  >
337
341
  <${e}-multiselect
338
342
  style="width: 100%"
@@ -360,6 +364,7 @@
360
364
  :jsonForms=${e=>e.jsonforms}
361
365
  :touched=${e=>e.touched}
362
366
  ?submitted=${e=>e.submitted}
367
+ prefix="${e}"
363
368
  >
364
369
  <${e}-combobox
365
370
  style="width: 100%"
@@ -392,6 +397,7 @@
392
397
  :jsonForms=${e=>e.jsonforms}
393
398
  :touched=${e=>e.touched}
394
399
  ?submitted=${e=>e.submitted}
400
+ prefix="${e}"
395
401
  >
396
402
  <${e}-text-field
397
403
  :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}`:"")}}
@@ -413,6 +419,7 @@
413
419
  :jsonForms=${e=>e.jsonforms}
414
420
  :touched=${e=>e.touched}
415
421
  ?submitted=${e=>e.submitted}
422
+ prefix="${e}"
416
423
  >
417
424
  <${e}-combobox
418
425
  style="width: 100%"
@@ -563,6 +570,7 @@
563
570
  :jsonForms=${e=>e.jsonforms}
564
571
  :touched=${e=>e.touched}
565
572
  ?submitted=${e=>e.submitted}
573
+ prefix="${e}"
566
574
  >
567
575
  <${e}-number-field
568
576
  withFormatting=${e=>{var a;return!(null===(a=e.control.uischema.options)||void 0===a?void 0:a.withoutFormatting)}}
@@ -589,6 +597,7 @@
589
597
  :jsonForms=${e=>e.jsonforms}
590
598
  :touched=${e=>e.touched}
591
599
  ?submitted=${e=>e.submitted}
600
+ prefix="${e}"
592
601
  >
593
602
  <${e}-text-field
594
603
  :value=${e=>{var a;return(null===(a=e.control.data)||void 0===a?void 0:a.toString())||""}}
@@ -612,6 +621,7 @@
612
621
  :jsonForms=${e=>e.jsonforms}
613
622
  :touched=${e=>e.touched}
614
623
  ?submitted=${e=>e.submitted}
624
+ prefix="${e}"
615
625
  >
616
626
  ${(0,xe.q)((e=>{var a,r;return!(null===(r=null===(a=e.control.uischema)||void 0===a?void 0:a.options)||void 0===r?void 0:r.textarea)}),b.html`
617
627
  <${e}-text-field
@@ -1316,15 +1326,17 @@
1316
1326
  ></zero-flipper>
1317
1327
  `},Zt=qt.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,V.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
1318
1328
  ${(0,V.foundationHorizontalScrollStyles)(e,a)}
1319
- `,shadowOptions:V.foundationHorizontalScrollShadowOptions},Jt));class Kt extends V.Icon{}const Xt=V.defaultIconConfig,eo=V.foundationIconShadowOptions,ao=Kt.compose(Object.assign({baseName:"icon",template:V.foundationIconTemplate,styles:(e,a)=>b.css`
1329
+ `,shadowOptions:V.foundationHorizontalScrollShadowOptions},Jt)),Kt=b.html`
1330
+ ${(0,V.getPrefixedIcon)("zero")}
1331
+ `;class Xt extends V.Icon{}const eo=V.defaultIconConfig,ao=V.foundationIconShadowOptions,ro=Xt.compose(Object.assign({baseName:"icon",template:Kt,styles:(e,a)=>b.css`
1320
1332
  ${(0,V.foundationIconStyles)(e,a)}
1321
- `,shadowOptions:eo},Xt));class ro extends V.Listbox{}const to=ro.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,V.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
1333
+ `,shadowOptions:ao},eo));class to extends V.Listbox{}const oo=to.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,V.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
1322
1334
  ${(0,V.foundationListboxStyles)(e,a)}
1323
1335
 
1324
1336
  :host {
1325
1337
  background: #1f2126;
1326
1338
  }
1327
- `,shadowOptions:V.foundationListboxShadowOptions},V.defaultListboxConfig));class oo extends V.ListboxOption{}const io=oo.compose(Object.assign({baseName:"option",template:(e,a)=>(0,V.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
1339
+ `,shadowOptions:V.foundationListboxShadowOptions},V.defaultListboxConfig));class io extends V.ListboxOption{}const no=io.compose(Object.assign({baseName:"option",template:(e,a)=>(0,V.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
1328
1340
  ${(0,V.foundationListboxOptionStyles)(e,a)}
1329
1341
  :host {
1330
1342
  background-color: ${Ae.darkGrey};
@@ -1341,22 +1353,22 @@
1341
1353
  background-color: ${Ae.darkerGrey};
1342
1354
  color: ${De.blue};
1343
1355
  }
1344
- `,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`
1356
+ `,shadowOptions:V.foundationListboxOptionShadowOptions},V.defaultListboxOptionConfig)),lo=V.foundationMenuShadowOptions;class so extends V.Menu{}const go=so.compose({baseName:"menu",template:V.foundationMenuTemplate,styles:(e,a)=>b.css`
1345
1357
  ${(0,V.foundationMenuStyles)(e,a)}
1346
1358
 
1347
1359
  :host {
1348
1360
  padding: 0;
1349
1361
  }
1350
- `,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`
1362
+ `,shadowOptions:lo}),co=V.foundationMenuItemShadowOptions;class po extends V.MenuItem{}const uo=po.compose(Object.assign({baseName:"menu-item",template:V.foundationMenuItemTemplate,styles:(e,a)=>b.css`
1351
1363
  ${(0,V.foundationMenuItemStyles)(e,a)}
1352
1364
 
1353
1365
  :host {
1354
1366
  background: none;
1355
1367
  margin: 0;
1356
1368
  }
1357
- `,shadowOptions:go},V.defaultMenuItemConfig)),uo=b.css`
1369
+ `,shadowOptions:co},V.defaultMenuItemConfig)),ho=b.css`
1358
1370
  ${tt}
1359
- `,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`
1371
+ `,mo=V.defaultModalConfig,bo=V.foundationModalTemplate,vo=V.foundationModalShadowOptions;class fo extends V.Modal{}const wo=fo.compose(Object.assign({baseName:"modal",shadowOptions:vo,styles:ho,template:bo},mo)),yo=b.css`
1360
1372
  ${V.multiselectStyles}
1361
1373
 
1362
1374
  :host {
@@ -1412,9 +1424,9 @@
1412
1424
  .label {
1413
1425
  color: ${Rr};
1414
1426
  }
1415
- `,yo=b.html`
1427
+ `,xo=b.html`
1416
1428
  ${(0,V.getPrefixedMultiselect)("zero")}
1417
- `;class xo extends V.Multiselect{}const ko=V.defaultMultiselectConfig,zo=V.foundationMultiselectShadowOptions,So=xo.compose(Object.assign({baseName:"multiselect",template:yo,styles:wo,shadowOptions:zo},ko));class Co extends V.NotificationListener{}const $o=Co.compose({baseName:"notification-listener",template:V.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Ao=(e,a)=>b.css`
1429
+ `;class ko extends V.Multiselect{}const zo=V.defaultMultiselectConfig,So=V.foundationMultiselectShadowOptions,Co=ko.compose(Object.assign({baseName:"multiselect",template:xo,styles:yo,shadowOptions:So},zo));class $o extends V.NotificationListener{}const Ao=$o.compose({baseName:"notification-listener",template:V.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}}),Do=(e,a)=>b.css`
1418
1430
  ${(0,V.foundationTextFieldStyles)(e,a)}
1419
1431
  :host {
1420
1432
  --primary-gradient-angle: -113.5deg;
@@ -1466,12 +1478,12 @@
1466
1478
  .label-hidden {
1467
1479
  margin: 0;
1468
1480
  }
1469
- `;class Do extends V.NumberField{}const To=V.defaultNumberFieldConfig,Oo=V.foundationNumberFieldTemplate,Fo=V.foundationNumberFieldShadowOptions,Ro=Do.compose(Object.assign({baseName:"number-field",template:Oo,styles:(e,a)=>b.css`
1481
+ `;class To extends V.NumberField{}const Oo=V.defaultNumberFieldConfig,Fo=V.foundationNumberFieldTemplate,Ro=V.foundationNumberFieldShadowOptions,No=To.compose(Object.assign({baseName:"number-field",template:Fo,styles:(e,a)=>b.css`
1470
1482
  :host .root {
1471
1483
  --focus-stroke-outer: transparent;
1472
1484
  }
1473
- ${Ao(e,a)}
1474
- `,shadowOptions:Fo},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`
1485
+ ${Do(e,a)}
1486
+ `,shadowOptions:Ro},Oo));class Mo extends V.SystemHealthOverlay{}const Lo=Mo.compose(Object.assign({baseName:"system-health-overlay",template:V.foundationSystemHealthOverlayTemplate,styles:V.foundationSystemHealthOverlayStyles,shadowOptions:V.foundationSystemHealthOverlayShadowOptions},V.defaultSystemHealthOverlayConfig));class Io extends V.Progress{}const Eo=Io.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,V.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
1475
1487
  ${(0,V.foundationProgressStyles)(e,a)}
1476
1488
  :host([appearance="secondary-teal"]) {
1477
1489
  --accent-foreground-rest: ${Te.teal};
@@ -1480,7 +1492,7 @@
1480
1492
  :host([appearance='secondary-orange']) {
1481
1493
  --accent-foreground-rest: ${Te.orange};
1482
1494
  }
1483
- `,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`
1495
+ `,shadowOptions:V.foundationProgressShadowOptions},V.defaultProgressConfig));class jo extends V.ProgressRing{}const Po={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 `},Bo=jo.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>b.html`
1484
1496
  <template
1485
1497
  role="progressbar"
1486
1498
  aria-valuenow="${e=>e.value}"
@@ -1518,7 +1530,7 @@
1518
1530
  .indeterminate-indicator-1, .determinate {
1519
1531
  stroke: ${"url(#linear)"};
1520
1532
  }
1521
- `,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`
1533
+ `,shadowOptions:V.foundationProgressRingShadowOptions},Po));class Go extends V.Radio{}const _o=Go.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,V.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
1522
1534
  ${(0,V.foundationRadioStyles)(e,a)}
1523
1535
  :host {
1524
1536
  --primary-gradient-angle: -113.5deg;
@@ -1550,16 +1562,16 @@
1550
1562
  ${De.purple}
1551
1563
  );
1552
1564
  }
1553
- `,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`
1565
+ `,shadowOptions:V.foundationRadioShadowOptions},V.defaultRadioConfig));class Uo extends V.RadioGroup{}const Ho=Uo.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,V.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
1554
1566
  ${(0,V.foundationRadioGroupStyles)(e,a)}
1555
1567
  :host([appearance="accent"]) {
1556
1568
  background: green;
1557
1569
  }
1558
- `,shadowOptions:V.foundationRadioGroupShadowOptions},V.defaultRadioGroupConfig)),Ho=b.css`
1570
+ `,shadowOptions:V.foundationRadioGroupShadowOptions},V.defaultRadioGroupConfig)),Vo=b.css`
1559
1571
  ${V.foundationSearchBarStyles}
1560
- `,Vo=b.html`
1572
+ `,Yo=b.html`
1561
1573
  ${(0,V.getPrefixedSearchBar)("zero")}
1562
- `;class Yo extends V.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const Qo=Yo.compose(Object.assign({baseName:"search-bar",template:Vo,styles:Ho,shadowOptions:V.foundationSearchBarShadowOptions},V.defaultSearchBarConfig));class Wo extends V.SearchBarCombobox{}const qo=Wo.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,V.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
1574
+ `;class Qo extends V.SearchBar{constructor(){super(...arguments),this.appearance="neutral-grey"}}const Wo=Qo.compose(Object.assign({baseName:"search-bar",template:Yo,styles:Vo,shadowOptions:V.foundationSearchBarShadowOptions},V.defaultSearchBarConfig));class qo extends V.SearchBarCombobox{}const Jo=qo.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,V.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
1563
1575
  ${(0,V.foundationSearchBarComboboxStyles)(e,a)}
1564
1576
 
1565
1577
  :host {
@@ -1601,7 +1613,7 @@
1601
1613
  border-radius: 4px;
1602
1614
  border: 1px solid ${Ae.lightGrey};
1603
1615
  }
1604
- `,shadowOptions:V.foundationSearchBarComboboxShadowOptions},V.defaultSearchBarComboboxConfig));class Jo extends V.SegmentedControl{}const Zo=Jo.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,V.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
1616
+ `,shadowOptions:V.foundationSearchBarComboboxShadowOptions},V.defaultSearchBarComboboxConfig));class Zo extends V.SegmentedControl{}const Ko=Zo.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,V.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
1605
1617
  ${(0,V.foundationSegmentedControlStyles)(e,a)}
1606
1618
  :host {
1607
1619
  --primary-gradient-angle: -113.5deg;
@@ -1640,7 +1652,7 @@
1640
1652
  border-color: transparent;
1641
1653
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
1642
1654
  }
1643
- `,shadowOptions:undefined},{}));class Ko extends V.Radio{}const Xo=Ko.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,V.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
1655
+ `,shadowOptions:undefined},{}));class Xo extends V.Radio{}const ei=Xo.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,V.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
1644
1656
  ${(0,V.foundationSegmentedItemStyles)(e,a)}
1645
1657
  :host {
1646
1658
  color: var(--neutral-stroke-rest);
@@ -1650,7 +1662,7 @@
1650
1662
  :host([aria-checked='true']) {
1651
1663
  color: ${Ae.white};
1652
1664
  }
1653
- `,shadowOptions:undefined},{}));class ei extends V.Select{}const ai=ei.compose(Object.assign({baseName:"select",template:(e,a)=>(0,V.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
1665
+ `,shadowOptions:undefined},{}));class ai extends V.Select{}const ri=ai.compose(Object.assign({baseName:"select",template:(e,a)=>(0,V.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
1654
1666
  ${(0,V.foundationSelectStyles)(e,a)}
1655
1667
  :host {
1656
1668
  --primary-gradient-angle: -113.5deg;
@@ -1700,9 +1712,9 @@
1700
1712
  :host(:not([disabled])) .control:active {
1701
1713
  background: none;
1702
1714
  }
1703
- `,shadowOptions:V.foundationSelectShadowOptions},V.defaultSelectConfig));class ri extends V.Skeleton{}const ti=ri.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,V.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
1715
+ `,shadowOptions:V.foundationSelectShadowOptions},V.defaultSelectConfig));class ti extends V.Skeleton{}const oi=ti.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,V.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
1704
1716
  ${(0,V.foundationSkeletonStyles)(e,a)}
1705
- `,shadowOptions:V.foundationSkeletonShadowOptions},V.defaultSkeletonConfig));class oi extends V.Slider{}const ii=oi.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,V.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
1717
+ `,shadowOptions:V.foundationSkeletonShadowOptions},V.defaultSkeletonConfig));class ii extends V.Slider{}const ni=ii.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,V.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
1706
1718
  ${(0,V.foundationSliderStyles)(e,a)}
1707
1719
  :host {
1708
1720
  --primary-gradient-angle: -113.5deg;
@@ -1759,7 +1771,7 @@
1759
1771
  .track-progress {
1760
1772
  background-color: var(--neutral-stroke-rest);
1761
1773
  }
1762
- `,shadowOptions:V.foundationSliderShadowOptions},V.defaultSliderConfig));class ni extends V.SliderLabel{}const li=ni.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,V.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
1774
+ `,shadowOptions:V.foundationSliderShadowOptions},V.defaultSliderConfig));class li extends V.SliderLabel{}const si=li.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,V.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
1763
1775
  ${(0,V.foundationSliderLabelStyles)(e,a)}
1764
1776
  .label {
1765
1777
  padding: 6px 8px;
@@ -1770,7 +1782,7 @@
1770
1782
  text-align: center;
1771
1783
  font-size: var(--type-ramp-minus-1-font-size, 12px);
1772
1784
  }
1773
- `,shadowOptions:V.foundationSliderLabelShadowOptions},V.defaultSliderLabelConfig)),si=b.css`
1785
+ `,shadowOptions:V.foundationSliderLabelShadowOptions},V.defaultSliderLabelConfig)),gi=b.css`
1774
1786
  ${V.foundationSnackbarStyles}
1775
1787
  .snackbar {
1776
1788
  border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer2};
@@ -1780,21 +1792,21 @@
1780
1792
  :host([type='error']) .snackbar::after {
1781
1793
  background-color: ${La(1)};
1782
1794
  }
1783
- `,gi=b.html`
1795
+ `,di=b.html`
1784
1796
  ${(0,V.getPrefixedSnackbar)("zero")}
1785
- `,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`
1797
+ `,ci=V.foundationSnackbarShadowOptions;class pi extends V.Snackbar{}const ui=pi.compose({baseName:"snackbar",shadowOptions:ci,styles:gi,template:di});class hi extends V.StackingIcons{}const mi=hi.compose({baseName:"stacking-icons",template:V.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
1786
1798
  ${(0,V.foundationStackingIconsStyles)(e,a)}
1787
- `}),mi=b.css`
1799
+ `}),bi=b.css`
1788
1800
  ${V.foundationStepperStyles}
1789
1801
 
1790
1802
  .stepper-tab {
1791
1803
  background-color: var(--neutral-layer-3);
1792
1804
  }
1793
- `,bi=b.html`
1805
+ `,vi=b.html`
1794
1806
  ${(0,V.getPrefixedStepper)("zero")}
1795
- `;class vi extends V.Stepper{}const fi=vi.compose(Object.assign({baseName:"stepper",template:bi,styles:mi,shadowOptions:V.foundationStepperShadowOptions},V.defaultStepperConfig)),wi=b.html`
1807
+ `;class fi extends V.Stepper{}const wi=fi.compose(Object.assign({baseName:"stepper",template:vi,styles:bi,shadowOptions:V.foundationStepperShadowOptions},V.defaultStepperConfig)),yi=b.html`
1796
1808
  ${(0,V.getPrefixedStepperTab)("zero")}
1797
- `;class yi extends V.StepperTab{}const xi=yi.compose(Object.assign({baseName:"stepper-tab",template:wi,styles:(e,a)=>b.css`
1809
+ `;class xi extends V.StepperTab{}const ki=xi.compose(Object.assign({baseName:"stepper-tab",template:yi,styles:(e,a)=>b.css`
1798
1810
  ${(0,V.foundationStepperTabStyles)(e,a)}
1799
1811
 
1800
1812
  zero-tree-item {
@@ -1806,7 +1818,7 @@
1806
1818
 
1807
1819
  border-bottom: 1px solid var(--fill-color);
1808
1820
  }
1809
- `,shadowOptions:V.foundationStepperTabShadowOptions},V.defaultStepperTabConfig));class ki extends V.StepperTabPanel{}const zi=ki.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,V.foundationStepperTabPanelTemplate)(e,a),shadowOptions:V.foundationStepperTabPanelShadowOptions},V.defaultStepperTabPanelConfig));class Si extends V.Switch{}const Ci=Si.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,V.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
1821
+ `,shadowOptions:V.foundationStepperTabShadowOptions},V.defaultStepperTabConfig));class zi extends V.StepperTabPanel{}const Si=zi.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,V.foundationStepperTabPanelTemplate)(e,a),shadowOptions:V.foundationStepperTabPanelShadowOptions},V.defaultStepperTabPanelConfig));class Ci extends V.Switch{}const $i=Ci.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,V.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
1810
1822
  ${(0,V.foundationSwitchStyles)(e,a)}
1811
1823
  :host {
1812
1824
  --primary-gradient-angle: -113.5deg;
@@ -1851,7 +1863,7 @@
1851
1863
  ${De.purple}
1852
1864
  );
1853
1865
  }
1854
- `,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`
1866
+ `,shadowOptions:V.foundationSwitchShadowOptions},V.defaultSwitchConfig));class Ai extends V.Tab{}const Di=Ai.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,V.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
1855
1867
  ${(0,V.foundationTabStyles)(e,a)}
1856
1868
  :host {
1857
1869
  background-color: ${f.neutralLayer2};
@@ -1874,9 +1886,9 @@
1874
1886
  margin-right: 0;
1875
1887
  background-color: var(--zero-card-fill-color);
1876
1888
  }
1877
- `,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`
1889
+ `,shadowOptions:V.foundationTabShadowOptions},V.defaultTabConfig));class Ti extends V.TabPanel{}const Oi=Ti.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,V.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
1878
1890
  ${(0,V.foundationTabPanelStyles)(e,a)}
1879
- `,shadowOptions:V.foundationTabPanelShadowOptions},V.defaultTabPanelConfig));class Oi extends V.Tabs{}const Fi=Oi.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,V.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
1891
+ `,shadowOptions:V.foundationTabPanelShadowOptions},V.defaultTabPanelConfig));class Fi extends V.Tabs{}const Ri=Fi.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,V.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
1880
1892
  ${(0,V.foundationTabsStyles)(e,a)}
1881
1893
  :host .tablist {
1882
1894
  padding: 0;
@@ -1922,7 +1934,7 @@
1922
1934
  height: 2px;
1923
1935
  margin-top: 0;
1924
1936
  }
1925
- `,shadowOptions:V.foundationTabsShadowOptions},V.defaultTabsConfig));class Ri extends V.TextArea{}const Ni=Ri.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,V.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
1937
+ `,shadowOptions:V.foundationTabsShadowOptions},V.defaultTabsConfig));class Ni extends V.TextArea{}const Mi=Ni.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,V.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
1926
1938
  ${(0,V.foundationTextAreaStyles)(e,a)}
1927
1939
  :host {
1928
1940
  --primary-gradient-angle: -113.5deg;
@@ -1967,7 +1979,7 @@
1967
1979
  color: ${Rr};
1968
1980
  margin: calc(var(--design-unit) * 2px) 0;
1969
1981
  }
1970
- `,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`
1982
+ `,shadowOptions:V.foundationTextAreaShadowOptions},V.defaultTextAreaConfig));class Li extends V.TextField{}const Ii=Li.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,V.foundationTextFieldTemplate)(e,a),styles:Do,shadowOptions:V.foundationTextFieldShadowOptions},V.defaultTextFieldConfig)),Ei=b.css`
1971
1983
  ${V.foundationToastStyles}
1972
1984
  .toast {
1973
1985
  border: calc(var(--stroke-width) * 1px) solid ${f.neutralLayer3};
@@ -1993,11 +2005,11 @@
1993
2005
  :host([notify='serious']) .toast::after {
1994
2006
  background-color: ${Oa(1)};
1995
2007
  }
1996
- `,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`
2008
+ `,ji=V.defaultToastConfig,Pi=V.foundationToastShadowOptions;class Bi extends V.Toast{}const Gi=Bi.compose(Object.assign({baseName:"toast",shadowOptions:Pi,styles:Ei,template:V.foundationToastTemplate},ji));class _i extends V.Toolbar{}const Ui=_i.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,V.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
1997
2009
  ${(0,V.foundationToolbarStyles)(e,a)}
1998
- `,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`
2010
+ `,shadowOptions:V.foundationToolbarShadowOptions},V.defaultToolbarConfig));class Hi extends V.Tooltip{}const Vi=Hi.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,V.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
1999
2011
  ${(0,V.foundationTooltipStyles)(e,a)}
2000
- `,shadowOptions:V.foundationTooltipShadowOptions},V.defaultTooltipConfig));class Vi extends V.TreeItem{}const Yi=Vi.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,V.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
2012
+ `,shadowOptions:V.foundationTooltipShadowOptions},V.defaultTooltipConfig));class Yi extends V.TreeItem{}const Qi=Yi.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,V.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
2001
2013
  ${(0,V.foundationTreeItemStyles)(e,a)}
2002
2014
  :host {
2003
2015
  --primary-gradient-angle: -113.5deg;
@@ -2025,11 +2037,11 @@
2025
2037
  background-size: cover;
2026
2038
  background-repeat: no-repeat;
2027
2039
  }
2028
- `,shadowOptions:V.foundationTreeItemShadowOptions},V.defaultTreeItemConfig));class Qi extends V.TreeView{}const Wi=Qi.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,V.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
2040
+ `,shadowOptions:V.foundationTreeItemShadowOptions},V.defaultTreeItemConfig));class Wi extends V.TreeView{}const qi=Wi.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,V.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
2029
2041
  ${(0,V.foundationTreeViewStyles)(e,a)}
2030
- `,shadowOptions:V.foundationTreeViewShadowOptions},V.defaultTreeViewConfig)),qi=b.html`
2042
+ `,shadowOptions:V.foundationTreeViewShadowOptions},V.defaultTreeViewConfig)),Ji=b.html`
2031
2043
  ${(0,V.getPrefixedUrlInput)("zero")}
2032
- `;class Ji extends V.UrlInput{}const Zi={zeroAccordion:ua,zeroAccordionItem:ma,zeroActionsMenu:va,zeroAnchor:Ka,zeroAnchoredRegion:er,zeroAvatar:rr,zeroBadge:or,zeroBanner:sr,zeroBreadcrumb:dr,zeroBreadcrumbItem:pr,zeroButton:hr,zeroCalendar:br,zeroCard:fr,zeroCategorizedMultiselect:Sr,zeroCheckbox:$r,zeroCombobox:Pr,zeroConnectionIndicator:Gr,zeroDataGrid:Vr,zeroDatePicker:Wr,zeroDesignSystemProvider:et,zeroDialog:st,zeroDisclosure:dt,zeroDivider:pt,zeroDropdownMenu:ht,zeroErrorBanner:ft,zeroErrorBoundary:yt,zeroErrorDialog:kt,zeroFileUpload:Dt,zeroFilter:Ft,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,zeroNotificationListener:$o,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:Fi,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`
2044
+ `;class Zi extends V.UrlInput{}const Ki={zeroAccordion:ua,zeroAccordionItem:ma,zeroActionsMenu:va,zeroAnchor:Ka,zeroAnchoredRegion:er,zeroAvatar:rr,zeroBadge:or,zeroBanner:sr,zeroBreadcrumb:dr,zeroBreadcrumbItem:pr,zeroButton:hr,zeroCalendar:br,zeroCard:fr,zeroCategorizedMultiselect:Sr,zeroCheckbox:$r,zeroCombobox:Pr,zeroConnectionIndicator:Gr,zeroDataGrid:Vr,zeroDatePicker:Wr,zeroDesignSystemProvider:et,zeroDialog:st,zeroDisclosure:dt,zeroDivider:pt,zeroDropdownMenu:ht,zeroErrorBanner:ft,zeroErrorBoundary:yt,zeroErrorDialog:kt,zeroFileUpload:Dt,zeroFilter:Ft,zeroFilterBar:Mt,zeroFlexLayout:It,zeroFlipper:jt,zeroFlyout:Ht,zeroGridLayout:Yt,zeroGridLayoutItem:Wt,zeroHorizontalScroll:Zt,zeroIcon:ro,zeroListbox:oo,zeroListboxOption:no,zeroMenu:go,zeroMenuItem:uo,zeroModal:wo,zeroMultiselect:Co,zeroNotificationListener:Ao,zeroNumberField:No,zeroProgress:Eo,zeroProgressRing:Bo,zeroRadio:_o,zeroRadioGroup:Ho,zeroSearchBar:Wo,zeroSearchBarCombobox:Jo,zeroSegmentedControl:Ko,zeroSegmentedItem:ei,zeroSelect:ri,zeroSkeleton:oi,zeroSlider:ni,zeroSliderLabel:si,zeroSnackbar:ui,zeroStackingIcons:mi,zeroStepper:wi,zeroStepperTab:ki,zeroStepperTabPanel:Si,zeroSwitch:$i,zeroSystemHealthOverlay:Lo,zeroTab:Di,zeroTabPanel:Oi,zeroTabs:Ri,zeroTextArea:Mi,zeroTextField:Ii,zeroToast:Gi,zeroToolbar:Ui,zeroTooltip:Vi,zeroTreeItem:Qi,zeroTreeView:qi,zeroUrlInput:Zi.compose(Object.assign({baseName:"url-input",template:Ji,styles:(e,a)=>b.css`
2033
2045
  ${(0,V.foundationUrlInputStyles)(e,a)}
2034
2046
  a {
2035
2047
  color: ${De.blue};
@@ -2039,23 +2051,23 @@
2039
2051
  a:hover {
2040
2052
  opacity: 100%;
2041
2053
  }
2042
- `,shadowOptions:V.foundationUrlInputShadowOptions},V.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Ki,Xi,en=r(33011),an=r(94343),rn=r.n(an),tn=r(41492),on=r.n(tn);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(Ki||(Ki={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(Xi||(Xi={}));const nn=e=>`${e}-token-map`,ln=(e,a)=>b.css`
2043
- .${nn(e)} {
2054
+ `,shadowOptions:V.foundationUrlInputShadowOptions},V.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Xi,en,an=r(33011),rn=r(94343),tn=r.n(rn),on=r(41492),nn=r.n(on);!function(e){e.foregroundColor="--ag-foreground-color",e.dataColor="--ag-data-color",e.secondaryForegroundColor="--ag-secondary-foreground-color",e.headerForegroundColor="--ag-header-foreground-color",e.disabledForegroundColor="--ag-disabled-foreground-color",e.backgroundColor="--ag-background-color",e.headerBackgroundColor="--ag-header-background-color",e.subheaderBackgroundColor="--ag-subheader-background-color",e.subheaderToolbarBackgroundColor="--ag-subheader-toolbar-background-color",e.controlPanelBackgroundColor="--ag-control-panel-background-color",e.selectedRowBackgroundColor="--ag-selected-row-background-color",e.oddRowBackgroundColor="--ag-odd-row-background-color",e.rowHoverColor="--ag-row-hover-color",e.rangeSelectionBorderColor="--ag-range-selection-border-color",e.rangeSelectionBackgroundColor="--ag-range-selection-background-color",e.selectedTabUnderlineColor="--ag-selected-tab-underline-color",e.rangeSelectionChartCategoryBackgroundColor="--ag-range-selection-chart-category-background-color",e.rangeSelectionChartBackgroundColor="--ag-range-selection-chart-background-color",e.headerCellHoverBackgroundColor="--ag-header-cell-hover-background-color",e.headerCellMovingBackgroundColor="--ag-header-cell-moving-background-color",e.chipBackgroundColor="--ag-chip-background-color",e.borderColor="--ag-border-color",e.secondaryBorderColor="--ag-secondary-border-color",e.rowBorderColor="--ag-row-border-color",e.headerColumnSeparatorColor="--ag-header-column-separator-color",e.headerColumnResizeHandleColor="--ag-header-column-resize-handle-color",e.inputBorderColor="--ag-input-border-color",e.inputDisabledBorderColor="--ag-input-disabled-border-color",e.inputDisabledBackgroundColor="--ag-input-disabled-background-color",e.checkboxBackgroundColor="--ag-checkbox-background-color",e.checkboxCheckedColor="--ag-checkbox-checked-color",e.checkboxUncheckedColor="--ag-checkbox-unchecked-color",e.checkboxIndeterminateColor="--ag-checkbox-indeterminate-color",e.toggleButtonOffBorderColor="--ag-toggle-button-off-border-color",e.toggleButtonOffBackgroundColor="--ag-toggle-button-off-background-color",e.toggleButtonOnBorderColor="--ag-toggle-button-on-border-color",e.toggleButtonOnBackgroundColor="--ag-toggle-button-on-background-color",e.toggleButtonSwitchBackgroundColor="--ag-toggle-button-switch-background-color",e.toggleButtonSwitchBorderColor="--ag-toggle-button-switch-border-color",e.minichartSelectedChartColor="--ag-minichart-selected-chart-color",e.minichartSelectedPageColor="--ag-minichart-selected-page-color",e.modalOverlayBackgroundColor="--ag-modal-overlay-background-color",e.inputFocusBoxShadow="--ag-input-focus-box-shadow",e.inputFocusBorderColor="--ag-input-focus-border-color"}(Xi||(Xi={})),function(e){e.alpine="ag-theme-alpine",e.alpineDark="ag-theme-alpine-dark",e.balham="ag-theme-balham",e.balhamDark="ag-theme-balham-dark",e.material="ag-theme-material"}(en||(en={}));const ln=e=>`${e}-token-map`,sn=(e,a)=>b.css`
2055
+ .${ln(e)} {
2044
2056
  ${new V.CSSVarsTokenMapper(a)}
2045
2057
  }
2046
- `;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`
2058
+ `;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 dn="__editedColumn",cn="__errorColumn",pn={},un=v.DI.createInterface((e=>e.instance(pn)));var hn;!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"}(hn||(hn={})),tn().extend(nn());class mn 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[dn]}}(0,an.__decorate)([b.observable],mn.prototype,"value",void 0),(0,an.__decorate)([b.observable],mn.prototype,"actualWidth",void 0);const bn=b.css`
2047
2059
  :host {
2048
2060
  display: flex;
2049
2061
  }
2050
- `,bn=(e="foundation")=>b.html`
2062
+ `,vn=(e="foundation")=>b.html`
2051
2063
  <${e}-text-field
2052
2064
  ${(0,b.ref)("input")}
2053
- :value=${e=>void 0===e.value||null===e.value?"":rn().utc(e.value).format(e.dateFormat)}
2065
+ :value=${e=>void 0===e.value||null===e.value?"":tn().utc(e.value).format(e.dateFormat)}
2054
2066
  type=${e=>e.inputType}
2055
2067
  @input=${(e,a)=>e.changeHandler(a.event)}
2056
2068
  style="width: ${e=>e.actualWidth}px"
2057
2069
  ></${e}-text-field>
2058
- `,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`
2070
+ `,fn=mn.compose({baseName:"date-editor",styles:bn,template:vn()});class wn extends mn{}const yn=wn.compose({baseName:"date-editor",styles:bn,template:vn("zero")});class xn 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[dn]}}(0,an.__decorate)([b.observable],xn.prototype,"params",void 0),(0,an.__decorate)([b.observable],xn.prototype,"selectedOptions",void 0);const kn=b.css``,zn=(e="foundation")=>b.html`
2059
2071
  <${e}-multiselect
2060
2072
  style="width: 100%"
2061
2073
  ?async=${e=>e.params.async}
@@ -2069,7 +2081,7 @@
2069
2081
  :datasourceConfig=${e=>e.params.datasourceOptions}
2070
2082
  ></multiselect-datasource>
2071
2083
  </${e}-multiselect>
2072
- `,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`
2084
+ `,Sn=xn.compose({baseName:"multiselect-editor",styles:kn,template:zn()});class Cn extends xn{}const $n=Cn.compose({baseName:"multiselect-editor",styles:kn,template:zn("zero")});class An 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[dn]}}(0,an.__decorate)([b.observable],An.prototype,"params",void 0),(0,an.__decorate)([b.observable],An.prototype,"value",void 0),(0,an.__decorate)([b.observable],An.prototype,"actualWidth",void 0);const Dn=b.css``,Tn=(e="foundation")=>b.html`
2073
2085
  <${e}-combobox
2074
2086
  style="width: ${e=>e.actualWidth}px"
2075
2087
  ${(0,b.ref)("combobox")}
@@ -2086,11 +2098,11 @@
2086
2098
  :initialSelectedValue=${e=>e.params.value}
2087
2099
  ></options-datasource>
2088
2100
  </${e}-combobox>
2089
- `,Tn=$n.compose({baseName:"select-editor",styles:An,template:Dn()});class On extends $n{}const Fn=On.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`
2101
+ `,On=An.compose({baseName:"select-editor",styles:Dn,template:Tn()});class Fn extends An{}const Rn=Fn.compose({baseName:"select-editor",styles:Dn,template:Tn("zero")});class Nn extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){const a=parseFloat(e.target.value);this.value=isNaN(a)?void 0:a}isCancelBeforeStart(){return!!this.params.data[dn]}}(0,an.__decorate)([b.observable],Nn.prototype,"params",void 0),(0,an.__decorate)([b.observable],Nn.prototype,"value",void 0),(0,an.__decorate)([b.observable],Nn.prototype,"actualWidth",void 0);const Mn=b.css`
2090
2102
  :host {
2091
2103
  display: flex;
2092
2104
  }
2093
- `,Mn=(e="foundation")=>b.html`
2105
+ `,Ln=(e="foundation")=>b.html`
2094
2106
  <${e}-number-field
2095
2107
  ${(0,b.ref)("input")}
2096
2108
  withFormatting=${e=>e.params.withFormatting}
@@ -2102,11 +2114,11 @@
2102
2114
  hideStep
2103
2115
  style="width: ${e=>e.actualWidth}px"
2104
2116
  ></${e}-number-field>
2105
- `,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`
2117
+ `,In=Nn.compose({baseName:"number-editor",styles:Mn,template:Ln()});class En extends Nn{}const jn=En.compose({baseName:"number-editor",styles:Mn,template:Ln("zero")});class Pn extends v.FoundationElement{init(e){e&&(this.params=e,this.value=e.value,this.actualWidth=e.column.getActualWidth())}getGui(){return this}refresh(e){return!0}getValue(){return this.value}isPopup(){return!0}afterGuiAttached(){this.input.focus()}changeHandler(e){this.value=e.target.value}isCancelBeforeStart(){return!!this.params.data[dn]}}(0,an.__decorate)([b.observable],Pn.prototype,"params",void 0),(0,an.__decorate)([b.observable],Pn.prototype,"value",void 0),(0,an.__decorate)([b.observable],Pn.prototype,"actualWidth",void 0);const Bn=b.css`
2106
2118
  :host {
2107
2119
  display: flex;
2108
2120
  }
2109
- `,Bn=(e="foundation")=>b.html`
2121
+ `,Gn=(e="foundation")=>b.html`
2110
2122
  <${e}-text-field
2111
2123
  ${(0,b.ref)("input")}
2112
2124
  :value=${e=>void 0===e.value?"":e.value}
@@ -2115,16 +2127,16 @@
2115
2127
  style="width: ${e=>e.actualWidth}px"
2116
2128
  >
2117
2129
  </${e}-text-field>
2118
- `,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`
2130
+ `,_n=Pn.compose({baseName:"string-editor",styles:Bn,template:Gn()});class Un extends Pn{}const Hn=Un.compose({baseName:"string-editor",styles:Bn,template:Gn("zero")});class Vn 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,an.__decorate)([b.observable],Vn.prototype,"valueFormatted",void 0);const Yn=b.css`
2119
2131
  :host {
2120
2132
  display: flex;
2121
2133
  justify-content: space-between;
2122
2134
  align-items: center;
2123
2135
  }
2124
- `,Yn=(e="foundation")=>b.html`
2136
+ `,Qn=(e="foundation")=>b.html`
2125
2137
  <span>${e=>e.valueFormatted}</span>
2126
2138
  <${e}-progress-ring style="margin: 0; width: 20px; height: 20px"></${e}-progress-ring>
2127
- `,Qn=Hn.compose({baseName:"editable-renderer",styles:Vn,template:Yn()});class Wn extends Hn{}const qn=Wn.compose({baseName:"editable-renderer",styles:Vn,template:Yn("zero")});var Jn=r(44210);const Zn=(0,k.createLogger)("grid-pro");class Kn extends v.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Jn.DDm.ENTER&&this.clickHandler()})))}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Zn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,en.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,en.__decorate)([b.observable],Kn.prototype,"params",void 0),(0,en.__decorate)([b.observable],Kn.prototype,"pendingAction",void 0);const{create:Xn}=v.DesignToken,el=(Xn("action-height-multiplier").withDefault("0.6px"),b.css`
2139
+ `,Wn=Vn.compose({baseName:"editable-renderer",styles:Yn,template:Qn()});class qn extends Vn{}const Jn=qn.compose({baseName:"editable-renderer",styles:Yn,template:Qn("zero")});var Zn=r(44210);const Kn=(0,k.createLogger)("grid-pro");class Xn extends v.FoundationElement{init(e){e&&(this.params=e,e.eGridCell.addEventListener("keydown",(e=>{e.key===Zn.DDm.ENTER&&this.clickHandler()})))}getGui(){return this}refresh(e){return this.params=e,!0}isDisabled(e){var a;if("function"==typeof(null===(a=this.params)||void 0===a?void 0:a.isDisabled))try{return this.params.isDisabled(e)}catch(e){Kn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}clickHandler(){return(0,an.__awaiter)(this,void 0,void 0,(function*(){this.pendingAction=!0,yield this.params.actionClick(this.params.data),this.pendingAction=!1}))}get dataTestId(){var e;if(this.params.dataTestId)return this.params.dataTestId+(null!==(e=this.params.data[this.params.uniqueFieldName])&&void 0!==e?e:"")}}(0,an.__decorate)([b.observable],Xn.prototype,"params",void 0),(0,an.__decorate)([b.observable],Xn.prototype,"pendingAction",void 0);const{create:el}=v.DesignToken,al=(el("action-height-multiplier").withDefault("0.6px"),b.css`
2128
2140
  .action-container {
2129
2141
  align-items: center;
2130
2142
  display: flex;
@@ -2139,8 +2151,8 @@
2139
2151
  var(--action-height-multiplier)
2140
2152
  );
2141
2153
  }
2142
- `),al=Kn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2143
- ${el}
2154
+ `),rl=Xn.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2155
+ ${al}
2144
2156
  `,template:b.html`
2145
2157
  <div class="action-container" part="action-container">
2146
2158
  <foundation-button
@@ -2150,8 +2162,8 @@
2150
2162
  ?disabled=${e=>{var a;return e.pendingAction||e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
2151
2163
  appearance="${e=>e.params.appearance}"
2152
2164
  @click=${e=>e.clickHandler()}">${e=>e.params.actionName}</foundation-button>
2153
- </div>`});class rl extends Kn{}const tl=rl.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2154
- ${el}
2165
+ </div>`});class tl extends Xn{}const ol=tl.compose({baseName:"grid-pro-action-renderer",styles:b.css`
2166
+ ${al}
2155
2167
  `,template:b.html`
2156
2168
  <div class="action-container" part="action-container">
2157
2169
  <zero-button
@@ -2168,29 +2180,29 @@
2168
2180
  `:e.params.actionName}
2169
2181
  </zero-button>
2170
2182
  </div>
2171
- `}),ol=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class il extends v.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,en.__decorate)([b.observable],il.prototype,"params",void 0);const nl=il.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2183
+ `}),il=e=>e.replace(/([a-z])([A-Z])|\s+/g,"$1-$2").toLowerCase();class nl extends v.FoundationElement{init(e){e&&(this.params=e)}getGui(){return this}refresh(e){return!1}}(0,an.__decorate)([b.observable],nl.prototype,"params",void 0);const ll=nl.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2172
2184
  <foundation-actions-menu
2173
2185
  name="${e=>e.params.headerName}"
2174
2186
  :definition=${e=>e.params}
2175
2187
  ></foundation-actions-menu>
2176
- `});class ll extends il{}const sl=ll.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2188
+ `});class sl extends nl{}const gl=sl.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
2177
2189
  <zero-actions-menu
2178
2190
  name="${e=>e.params.headerName}"
2179
2191
  :definition=${e=>e.params}
2180
2192
  ></zero-actions-menu>
2181
- `});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`
2193
+ `});class dl 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){Kn.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:Zn.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:Zn.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[dn]}}(0,an.__decorate)([b.observable],dl.prototype,"params",void 0),(0,an.__decorate)([b.observable],dl.prototype,"selected",void 0);const cl=b.css`
2182
2194
  :host {
2183
2195
  align-center: center;
2184
2196
  display: flex;
2185
2197
  height: 100%;
2186
2198
  }
2187
- `,cl=(e="foundation")=>{const a=`${e}-checkbox`;return b.html`
2199
+ `,pl=(e="foundation")=>{const a=`${e}-checkbox`;return b.html`
2188
2200
  <${a}
2189
2201
  @change=${(e,a)=>e.changeHandler(a.event)}
2190
2202
  :checked=${e=>e.selected}
2191
2203
  ?disabled=${e=>{var a;return e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
2192
2204
  ></${a}>
2193
- `},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`
2205
+ `},ul=dl.compose({baseName:"boolean-renderer",styles:cl,template:pl()});class hl extends dl{}const ml=hl.compose({baseName:"boolean-renderer",styles:cl,template:pl("zero")});var bl=r(40729);const vl=(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 fl 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?vl(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){Kn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}}(0,an.__decorate)([b.observable],fl.prototype,"textValue",void 0),(0,an.__decorate)([b.observable],fl.prototype,"params",void 0);const wl=b.css`
2194
2206
  :host {
2195
2207
  display: flex;
2196
2208
  width: 100%;
@@ -2200,17 +2212,17 @@
2200
2212
  .text-renderer {
2201
2213
  width: 100%;
2202
2214
  }
2203
- `,wl=(e="foundation")=>{const a=`${e}-text-field`;return b.html`
2215
+ `,yl=(e="foundation")=>{const a=`${e}-text-field`;return b.html`
2204
2216
  <${a}
2205
2217
  ${(0,b.ref)("textField")}
2206
2218
  type="text"
2207
2219
  class="text-renderer"
2208
2220
  :maxlength="${e=>e.params.maxLength}"
2209
2221
  ?disabled=${e=>{var a;return e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
2210
- :value="${(0,ml.O)((e=>e.textValue))}"
2222
+ :value="${(0,bl.O)((e=>e.textValue))}"
2211
2223
  @change="${(e,a)=>e.textChanged(a.event)}"
2212
2224
  ></${a}>
2213
- `},yl=vl.compose({baseName:"grid-pro-text-renderer",styles:fl,template:wl()});class xl extends vl{}const kl=fl,zl=wl,Sl=xl.compose({baseName:"grid-text-renderer",styles:kl,template:zl()});const Cl=class extends xl{}.compose({baseName:"grid-text-renderer",styles:kl,template:zl("zero")});class $l extends v.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=bl(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}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],$l.prototype,"params",void 0),(0,en.__decorate)([b.observable],$l.prototype,"value",void 0);const Al=b.css`
2225
+ `},xl=fl.compose({baseName:"grid-pro-text-renderer",styles:wl,template:yl()});class kl extends fl{}const zl=wl,Sl=yl,Cl=kl.compose({baseName:"grid-text-renderer",styles:zl,template:Sl()});const $l=class extends kl{}.compose({baseName:"grid-text-renderer",styles:zl,template:Sl("zero")});class Al extends v.FoundationElement{constructor(){super(...arguments),this.selectionChanged=e=>{this.value=e.target.value,this.params.onSelect(e.target.value,this.params)}}init(e){var a;e&&(this.params=e,this.value=vl(null===(a=e.node)||void 0===a?void 0:a.data,e.accessor)||void 0)}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){Kn.error("Error executing grid action cell renderer isDisabled callback:",e)}return!1}}(0,an.__decorate)([b.observable],Al.prototype,"params",void 0),(0,an.__decorate)([b.observable],Al.prototype,"value",void 0);const Dl=b.css`
2214
2226
  :host,
2215
2227
  .select-renderer,
2216
2228
  zero-option,
@@ -2219,7 +2231,7 @@
2219
2231
  max-width: var(--select-renderer-max-width);
2220
2232
  min-width: 100%;
2221
2233
  }
2222
- `,Dl=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
2234
+ `,Tl=(e="foundation")=>{const a=`${e}-select`,r=`${e}-option`;return b.html`
2223
2235
  <${a}
2224
2236
  class="select-renderer"
2225
2237
  ?disabled=${e=>{var a;return e.isDisabled(null===(a=e.params)||void 0===a?void 0:a.data)}}
@@ -2236,15 +2248,15 @@
2236
2248
  <${r} value=${e=>e.name}>${e=>e.displayName}</${r}>
2237
2249
  `)}
2238
2250
  </${a}>
2239
- `},Tl=$l.compose({baseName:"select-renderer",styles:Al,template:Dl()});const Ol=class extends $l{}.compose({baseName:"select-renderer",styles:Al,template:Dl("zero")});var Fl=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`
2251
+ `},Ol=Al.compose({baseName:"select-renderer",styles:Dl,template:Tl()});const Fl=class extends Al{}.compose({baseName:"select-renderer",styles:Dl,template:Tl("zero")});var Rl=r(29310),Nl=r(84646),Ml=r(17190),Ll=r(21530),Il=r(89882),El=r(62051),jl=r.n(El);const Pl=b.html`
2240
2252
  <template>
2241
2253
  <slot ${(0,b.slotted)("slottedRenderer")} @slotchange="${e=>e.slottedAgRendererChanged()}"></slot>
2242
2254
  </template>
2243
- `;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`
2255
+ `;let Bl=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,an.__decorate)([b.observable],Bl.prototype,"renderer",void 0),(0,an.__decorate)([b.observable],Bl.prototype,"rendererParams",void 0),(0,an.__decorate)([b.observable],Bl.prototype,"slottedRenderer",void 0),Bl=(0,an.__decorate)([(0,b.customElement)({name:"grid-pro-cell",template:Pl})],Bl);const Gl=b.html`
2244
2256
  <template>
2245
2257
  <slot ${(0,b.slotted)("slottedAgCell")} @slotchange="${e=>e.slottedAgCellChanged()}"></slot>
2246
2258
  </template>
2247
- `;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){var a;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.zeroBasedViewNumber):this.resourceParams.VIEW_NUMBER+=1);const r={DETAILS:{CRITERIA_MATCH:this.resourceParams.CRITERIA_MATCH,MAX_ROWS:this.resourceParams.MAX_ROWS,VIEW_NUMBER:this.resourceParams.VIEW_NUMBER}},t=yield this.createReqRepRequestFunc(r);let o=!1;if(-1!==t.NEXT_VIEW){const e=Object.assign(Object.assign({},r),{DETAILS:Object.assign(Object.assign({},r.DETAILS),{VIEW_NUMBER:t.NEXT_VIEW})}),i=yield this.createReqRepRequestFunc(e);o=-1===i.NEXT_VIEW&&0===(null===(a=i.REPLY)||void 0===a?void 0:a.length)}let i=!0;i&&(this.applyServerSideData(e,t,o),i=!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/YtGkJpOTafDolO66hq923HLpBjtKhEisuawXiIEoOjQaGO9OOdNmM/k7y5DCZMHau317e0FCManAAiSyCaunoRkkLFl1/9/c+VPMsnNEtBMGFedLLAjUjWiUlf3+d7r9jXZ9QR298S0qL4ULfAzmTVNTp0mtPCuUzXkB9rmv+OwOMJMsBBtenrY+GctjprYgZGc8X+zSHSRfcvw1zpZ98C2kVXG2W5VN1e6FQaG8JwEf+HchRXcb/Z2hfQ8dNS65LeVddel9vIEBkLLAG+YnEKJNWojAGE6V6EkgmyIn4SZ/+fnUtsboqwa/IGs0PNzOvCvzXv/pcBZSpRymlLWAZIFgrumAmgArDY7BSznJvyER6Hm7NyE1oMAmTOP2W4ovkxHhBjDKOYx0rGd6gY9HsC1iTrjjQhAvisbO3rs5NnKm1fs3qoPidYOoKweNm9YtwIO46CaAQG+y6kDZXNP/PIvsNmO0J44x/o4N66Ot+LG+FSETZ0xCmh8diIJRcgUKg1LIC5GV+kMnGkwBUV1HbzQOxJrQ0SKWJvX3t1aFRHoqOtzRWTyveVTZfGGblRq755mi6egbDIkb+zKVJeTkPgMFsIIrr8G88QITUASqOJ5TBJLAyetqNuvUi9cwsEiSVfknTKJKFwXJEifKEg4TRaVoTf9KidqWxWTaM4Qhckx5sC9WV2VzEdYip117wlE4pFNoTH6pLaKlnSP3jkqCOWFb04+eok58yIR6Fpbc7h7VYskIzvBi/sb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6z/q75SrwQ8/Q0nP38sYCya/8Olal7o7hJgPz+nTjjmCEjw0ihgE3KAue6Ez7v6sQAMBCBRVzH0QE+m7QFOUA8oIHQ7QMAd+l1GAzbMBJSuy4FO132so8Klf1DS9T/b9TcUX2zPj/AL+0JO3/nkAvwE23tJm1M5r/MXKLsYquvmateVvUAAkgy6aucqD/aG2VSGIlbPMayL8j5WieIXKG465nS7Whn3qhsVcU2yXhBHu+MlTgB+gvDA9TyJJGbIMf6CADLvWhRUrjWuJH0vSqp0AYxdq7Tmf+5sYN3g2DCqxCIR5uJZqyIJPoZ4J5LY+gKUazY6BSu5tYrnZWTNhtLC560Aq5pu1Hxm2ADhCAgVDfnVHfDFWv3a/K+boiQrqqYbpmU7rucHYRQnaZYXZVU3bdcP4zQv67Yf53U/r/fn6869B4+ePHvx6s27D59rb8W2BFayi6GUQ3HMm/KqUkVQ4IU6kvi4naC+2zjVWTroy40OXNDAQOiCZDjdldAHKfe+ah+pTq7Sk7buUo8h76oOTFIx6EJ1moWamPOmukOhMysBX7vadsckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ds='\n @font-face {\n font-family: "agGridBalham";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABQsAAsAAAAAKcgAABPaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKr0ynOAE2AiQDghgLgQ4ABCAFhEYHhF0bXiRFpNekVVHJ/j8kcGOoVAN7L8rdRUEn6ZRdEY4cPSsWsYa1Wb2Sgi2cP95lTgmTT/ndiPe/iFyfMpSSB+B++a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Aw32INB2OJqvhtkt/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;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEpR8wJTYnXnVSMtFyNChezin1NlBr5GXihygP/477uwwhpzmQRmQv4h7xQ1ukb+qbAuHWw7/RtjIFWUFny28Ky25Mrtuy4tSU/Wc7/vwwfQIfAIXD7Tt+s5E8pTn5vAnqvAPcKcIYlde3bwySmDu1CBfgAWXCyv/537t/bNk2bB4wpAJyvJiygJTWLWk3INSABhcEIIFK3nVCyYoEK+KQzcN/aq94CoAZSukZXyN27/bAzE4LLJqw2fOFLyqTCsgoAg9cUEIwBlHm1VR6FqrN1Fdq2W2BBkEa6OUOPR0hZbsED+7l62hratnMRkZGRktL4unUngADAoQ+SAeVlCEiwaKia2gTOYABBQwR8VUQa6iVVYDKIgywZhkDpQzYwg2pogEKYClcQC2Qq0oXaYs5YPlaLUdgQ9tVNJaKVB0aVFF6cTCGhVBqdgYXJnWl1JgunLbYgr2OIF7acWFIHkWlSbS1dvGjSQkU6aoZmJIaoMxMaUYTNbdaUPjzDAU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nYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Os=As,Fs=b.css`
2259
+ `;let _l=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.definition={}}slottedAgCellChanged(){}deepClone(){const e=super.deepClone();return e.definition={},this.definition&&Object.keys(this.definition).forEach((a=>{"function"==typeof this.definition[a]?e.definition[a]=this.definition[a].bind(e):e.definition[a]=structuredClone(this.definition[a])})),e}};(0,an.__decorate)([b.observable],_l.prototype,"slottedAgCell",void 0),(0,an.__decorate)([b.observable],_l.prototype,"definition",void 0),_l=(0,an.__decorate)([(0,b.customElement)({name:"grid-pro-column",template:Gl})],_l);var Ul=r(96730),Hl=r(21281),Vl=r(34193),Yl=r(97156),Ql=r(56607),Wl=r(10629),ql=r(41392),Jl=r(92453),Zl=r(2773),Kl=r(40370),Xl=r(6884),es=r(39087),as=r(9033),rs=r(41119),ts=r(17465),os=r(12066);function is(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 ns(e){switch(null==e?void 0:e.toLowerCase()){case"int":case"long":case"double":case"bigdecimal":case"number":return"numericColumn"}}function ls({value:e}){return(0,os.CL)(e)}function ss({value:e}){return(0,os.zT)(e)}const gs="datasource-error-close",ds="datasource";class cs extends((0,Kl.C)(v.FoundationElement)){constructor(){super(...arguments),this.isSnapshot=!1,this.maxRows=Xl.OD.MAX_ROWS_250,this.maxView=Xl.OD.MAX_VIEW_1000,this.movingView=!1,this.reverse=!1,this.pollingInterval=Xl.OD.REQ_REP_POLLING_INTERVAL_MS,this.disablePolling=!1,this.requestAutoSetup=!0,this.criteriaFromFilters=new Map,this.update=new Yl.t(new Map)}get rowId(){return this.rowIdAttr?this.rowIdAttr:this.isRequestServer?Xl.OD.REQUEST_SERVER_ROW_ID:Xl.OD.DATASERVER_ROW_ID}get hasDefaultRowId(){return!this.rowIdAttr||this.rowIdAttr===Xl.OD.REQUEST_SERVER_ROW_ID||this.rowIdAttr===Xl.OD.DATASERVER_ROW_ID}get defaultRowIdByResourceType(){return this.isRequestServer?Xl.OD.REQUEST_SERVER_ROW_ID:Xl.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,Ul.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)===es.v.REQUEST_SERVER}datasourceStatusChanged(e,a){}get agGrid(){return this.parentElement}}var ps;(0,an.__decorate)([g.dm],cs.prototype,"connect",void 0),(0,an.__decorate)([as.yW],cs.prototype,"datasource",void 0),(0,an.__decorate)([b.observable],cs.prototype,"deferredGridOptions",void 0),(0,an.__decorate)([b.observable],cs.prototype,"deferredColumnStates",void 0),(0,an.__decorate)([b.observable],cs.prototype,"rowDataMapper",void 0),(0,an.__decorate)([b.attr],cs.prototype,"criteria",void 0),(0,an.__decorate)([b.attr],cs.prototype,"fields",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"is-snapshot"})],cs.prototype,"isSnapshot",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"max-rows"})],cs.prototype,"maxRows",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"max-view"})],cs.prototype,"maxView",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"moving-view"})],cs.prototype,"movingView",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"order-by"})],cs.prototype,"orderBy",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"resource-name"})],cs.prototype,"resourceName",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean"})],cs.prototype,"reverse",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"view-number"})],cs.prototype,"viewNumber",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"polling-interval"})],cs.prototype,"pollingInterval",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"disable-polling"})],cs.prototype,"disablePolling",void 0),(0,an.__decorate)([b.observable],cs.prototype,"request",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"request-auto-setup"})],cs.prototype,"requestAutoSetup",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"row-id"})],cs.prototype,"rowIdAttr",void 0),(0,an.__decorate)([b.volatile],cs.prototype,"isRequestServer",null),function(e){e.Add="add",e.Update="update",e.Remove="remove"}(ps||(ps={}));class us extends cs{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 rs.w.STRING:t.cellEditor=gn.stringEditor;break;case rs.w.NUMBER:t.cellEditor=gn.numberEditor;break;case rs.w.BOOLEAN:this.agGrid.autoCellRendererByType&&(t.cellRenderer=gn.boolean,t.cellEditor=gn.boolean);break;case rs.w.DATE:t.valueFormatter=ls,t.cellEditor=gn.dateEditor;break;case rs.w.DATETIME:t.valueFormatter=ss,t.cellEditor=gn.dateEditor,t.cellEditorParams={withTime:!0};break;case rs.w.ENUM:e.enumOptions?(t.cellEditor=gn.selectEditor,t.cellEditorParams={values:e.enumOptions.map((e=>({value:e,label:e}))),valueField:"value",labelField:"label"}):ts.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:ns(e.type),filter:is(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},ps.Add,this.agGrid.asyncAdd),(null===(a=this.agTransaction.remove)||void 0===a?void 0:a.length)>0&&this.applyMappedAgTransaction({remove:this.agTransaction.remove},ps.Remove,this.agGrid.asyncRemove),(null===(r=this.agTransaction.update)||void 0===r?void 0:r.length)>0&&this.applyMappedAgTransaction({update:this.agTransaction.update},ps.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(ps)){if(!this.rowDataMapper)return e;const r={};return a.includes(ps.Add)&&(r.add=this.rowDataMapper(e.add,this.rowData)),a.includes(ps.Remove)&&(r.remove=this.rowDataMapper(e.remove,this.rowData)),a.includes(ps.Update)&&(r.update=this.rowDataMapper(e.update,this.rowData)),r}}function hs(e){switch(e){case rs.w.DATE:case rs.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 ms="datasource-error",bs="datasource-init",vs="datasource-size-changed";let fs=class extends(c(us)){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,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.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,an.__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(Zn.sVA.EVENT_GRID_READY,(()=>(0,an.__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,Wl.i)(1),(0,ql.B)(t),(0,Jl.M)((e=>Kn.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;Kn.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 Yl.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,an.__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,an.__awaiter)(this,void 0,void 0,(function*(){Kn.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,an.__awaiter)(this,void 0,void 0,(function*(){const a=e||!this.datasource.initialized;try{if(!(yield this.datasource.init(this.datasourceOptions(),a)))return Kn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();if(this.$emit(bs),this.isSnapshot){const e=yield this.datasource.snapshot();if(e){const a=this.handleSnapshot(e);this.setRowData(a)}return}Kn.debug(`requesting stream for ${this.resourceName}`),this.dataSub=this.datasource.stream.pipe((0,Zl.W)((e=>{var a;return this.handleErrors(null===(a=null==e?void 0:e.receivedMessage)||void 0===a?void 0:a.ERROR),Ql.w}))).subscribe((e=>{(null==e?void 0:e.ERROR)&&this.handleErrors(e.ERROR);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),Kn.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){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&&(Kn.error(a),this.$emit(ms,{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 Kn.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.`;Kn.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,an.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,hs);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(vs,{value:a,oldValue:e})}};(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"restart-on-reconnection"})],fs.prototype,"restartOnReconnection",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"keep-col-defs-on-clear-row-data"})],fs.prototype,"keepColDefsOnClearRowData",void 0),fs=(0,an.__decorate)([(0,b.customElement)({name:"grid-pro-genesis-datasource"})],fs);let ws=class extends fs{};ws=(0,an.__decorate)([(0,b.customElement)({name:"grid-pro-client-side-datasource"})],ws);var ys=r(48707);function xs(e){switch(e){case rs.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 rs.w.DATE:case rs.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 rs.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 ks=r(40113),zs=r(32808);class Ss{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,an.__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 ts.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/"),ts.v.debug("Available indexes:",a),ts.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,an.__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,an.__decorate)([ks.N],Ss.prototype,"auth",void 0),(0,an.__decorate)([g.dm],Ss.prototype,"connect",void 0),(0,an.__decorate)([zs.k],Ss.prototype,"uuid",void 0);class Cs extends Ss{constructor(e){super(e),this.createDataserverStreamFunc=e.createDataserverStreamFunc}refreshDatasource(e){const a=Object.create(null,{refreshDatasource:{get:()=>super.refreshDatasource}});return(0,an.__awaiter)(this,void 0,void 0,(function*(){this.dataserverStreamSubscription.unsubscribe(),this.dataserverStreamSubscription=void 0,yield a.refreshDatasource.call(this,e)}))}getRows(e){return(0,an.__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,an.__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:(ts.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===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.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,an.__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 $s extends Ss{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){var a;return(0,an.__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.zeroBasedViewNumber):this.resourceParams.VIEW_NUMBER+=1);const r={DETAILS:{CRITERIA_MATCH:this.resourceParams.CRITERIA_MATCH,MAX_ROWS:this.resourceParams.MAX_ROWS,VIEW_NUMBER:this.resourceParams.VIEW_NUMBER}},t=yield this.createReqRepRequestFunc(r);let o=!1;if(-1!==t.NEXT_VIEW){const e=Object.assign(Object.assign({},r),{DETAILS:Object.assign(Object.assign({},r.DETAILS),{VIEW_NUMBER:t.NEXT_VIEW})}),i=yield this.createReqRepRequestFunc(e);o=-1===i.NEXT_VIEW&&0===(null===(a=i.REPLY)||void 0===a?void 0:a.length)}let i=!0;i&&(this.applyServerSideData(e,t,o),i=!1)}))}applyServerSideData(e,a,r){var t;const o=a.MESSAGE_TYPE;if(o&&(o===Hl.Go.LOGOFF_ACK||o===Hl.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.`;Kn.error(t);const o=this.uuid.createId();e[this.rowId]=o,a.set(o,e)})),this.rowData=a}}let As=class extends(c(us)){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,an.__awaiter)(this,void 0,void 0,(function*(){yield this.restart()}))))}criteriaChanged(e,a){const r=e!==(0,Ul.Q)(a,";");this.ssrmDatasource&&r&&b.DOM.queueUpdate((()=>(0,an.__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,an.__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,an.__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),Kn.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,an.__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(Zn.sVA.EVENT_GRID_READY,(()=>(0,an.__awaiter)(this,void 0,void 0,(function*(){if(!(yield this.datasource.init(this.datasourceOptions(),!0,!1)))return Kn.debug(`Genesis Datasource init failed for ${this.resourceName}`),void this.clearRowData();this.$emit(bs),this.indexes=this.getResourceIndexes(this.datasource.availableIndexes);const e=(0,ys.X)(this.datasource.originalFieldDef),a=yield this.getAgColumnDefs(e);this.agGrid.gridApi.setColumnDefs(a),this.isRequestServer?this.ssrmDatasource=new $s({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 Cs({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});Kn.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,an.__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,an.__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));Kn.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 Kn.debug("Getting configured params:",e),e}get rowModel(){return this.agGrid.gridApi.getModel()}createReqRepRequest(e=null){return(0,an.__awaiter)(this,void 0,void 0,(function*(){return yield this.datasource.snapshot(e)}))}createDataserverStream(e=null){return(0,an.__awaiter)(this,void 0,void 0,(function*(){if(this.liveUpdates){const a=e=>(0,an.__awaiter)(this,void 0,void 0,(function*(){var a,r;if(e.MESSAGE_TYPE===Hl.Go.QUERY_UPDATE&&e.ROW){if(!this.ssrmDatasource)return;const t=(0,Vl.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=>Kn.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,an.__awaiter)(this,void 0,void 0,(function*(){const a=this.generateColumnDefsFromMetadata(e,xs);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,an.__decorate)([(0,b.attr)({mode:"boolean"})],As.prototype,"pagination",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"zero-based-view-number"})],As.prototype,"zeroBasedViewNumber",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"live-updates"})],As.prototype,"liveUpdates",void 0),(0,an.__decorate)([b.observable],As.prototype,"request",void 0),As=(0,an.__decorate)([(0,b.customElement)({name:"grid-pro-server-side-datasource"})],As);const Ds='\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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ckqTmo3oEf6uxl7jbzzNKUb00TU5syF3ZcEjsz9qnYqzHsabj0FTo92y3fUrtgtzEmh26BAjP024Pka2cbcuIidIC90FxL7+MIWiQNZwmbqYJINUTeTgODi30+piO9mVi3PXMMdTTmaKOpIKhsx0WOAXbzc19S6ziGQukT7aE2oe1becDAJ2Ubp0wARhQ7m5VjgrDdv2N5JuuSRQBzomCUKV7nW2tS/6FeMhsYy1oDAA==);\n font-weight: normal;\n font-style: normal;\n }\n',Ts='\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+gsz8FVCONktVNlOA7WhI08pMz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agR+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',Os={[en.alpine]:Ds,[en.alpineDark]:Ds,[en.balham]:Ts,[en.balhamDark]:Ts,[en.material]:'\n @font-face {\n font-family: "agGridMaterial";\n src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABAIAAsAAAAAItAAAA+4AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIh2BmAAixwKoQibUgE2AiQDgiQLgRQABCAFhF4HhQQbwx4zozZKkzKjKAuTKdl/nWDK2JwGzwo8TIbdeYNAtGkxGg6xYzGz3JUMFWCLQoUjcyveKfPZ/H3KUMoL2rS9u+gRJeZcVAgRJ5CkLZEp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SiBPQ/2Ugu2tpIOYYTNGkgep5wLxqTcmEdDTRwOxmqQkSDiU2nYslVDeiYiJ5Hy6isjNAuIMrBajAztCPqTpoGXVdGhPRfgO5R+pfnnArLxH9MGJgaACk2fXtioS/s0VOdhi3FfruLh0Rws4hf8ALfEC3Jb3n184cYrKS/MPVNBMq9DYCjp9X6Z9e0oKFsiISE7KsURfRhufcWi/6lkahiUW93Urmrl7NX6PouYTIBxsxfJrEa7vGPWqb3X7VC73+TVp35H17D4ACTtvwO51/ftuvwpfwbCfYTKEqA+B19jTBcROJd/EYpgam57W5yzRsklOnTtE0/b8ro71Rd44RT85pJMUZusvADGu0G1Xw/mbjxRXSG0wLw3hCB9ckfqdCA6LvneDVqPhClJRbjb18VPnRGGrc6N8rsDVJSitxWozffuIuRdzcdrpzbESxF+FqzpahiqHiKWWweIOPrzlDAZPcm4aqcqu4YLfI13gjKBV2vhyVIoQd9GMAQRjD+IUBnYL/D/csm7U631x8MR+PJdDZfLFfrzXa3PxxP58v1dn88qSQrqqYbpmU7rucHoWeee+GlV15746133q/tS5cX9KCBaQ1GeFqW4Zg1U2QwrpobRA+mNJrHnmftPgPtWeo8gSwqSgoEikd5CZWUvDsmkaXNIdZf1h9STVS2TEgFjKJdMcnzVTNcyrI544rdxazid93wxsRk0HxSu4k/tiVCGZajrDXX8WrhVftJ0RU/Ia/64ZpXjoa13dvpWmwq9WLXY8AG8hupZiGFJ1xJm+qGkTLRCYVwm6ItxMhTxKzms6NxGWFaV4+sB3Luu+G2r6pMLTu3n/KjVWk/6EqpEbfKo6GgtTylg3UTtI19Cm1MhIlK62ETRyqIdsPNdFnOSBv1Nf6VLAJPIBUwMlUY0eBRb6Z9J6myuZHztBYA);\n font-weight: normal;\n font-style: normal;\n }\n'},Fs=Ds,Rs=b.css`
2248
2260
  .ag-icon {
2249
2261
  font-family: var(--ag-icon-font-family);
2250
2262
  font-size: var(--ag-icon-size);
@@ -9421,7 +9433,7 @@
9421
9433
  input[class^='ag-'][type='range']:disabled {
9422
9434
  opacity: 0.5;
9423
9435
  }
9424
- `,Rs=b.css`
9436
+ `,Ns=b.css`
9425
9437
  .ag-dnd-ghost {
9426
9438
  background: var(--ag-header-background-color, var(--ag-background-color, #1f2126));
9427
9439
  border: solid 1px;
@@ -9438,7 +9450,7 @@
9438
9450
  overflow: hidden;
9439
9451
  text-overflow: ellipsis;
9440
9452
  }
9441
- `,Ns=b.css`
9453
+ `,Ms=b.css`
9442
9454
  .ag-theme-alpine,
9443
9455
  .ag-theme-alpine-dark {
9444
9456
  --ag-alpine-active-color: #2196f3;
@@ -9888,7 +9900,7 @@
9888
9900
  .ag-theme-alpine-dark {
9889
9901
  color-scheme: dark;
9890
9902
  }
9891
- `,Ms=b.css`
9903
+ `,Ls=b.css`
9892
9904
  .ag-theme-balham,
9893
9905
  .ag-theme-balham-dark {
9894
9906
  --ag-balham-active-color: #0091ea;
@@ -10158,7 +10170,7 @@
10158
10170
  .ag-theme-balham-dark {
10159
10171
  color-scheme: dark;
10160
10172
  }
10161
- `,Ls=b.css`
10173
+ `,Is=b.css`
10162
10174
  .ag-theme-material {
10163
10175
  --ag-material-primary-color: #3f51b5;
10164
10176
  --ag-material-accent-color: #ff4081;
@@ -10423,14 +10435,14 @@
10423
10435
  .ag-theme-material .ag-picker-field-wrapper:focus {
10424
10436
  box-shadow: 0 0 0 1px var(--ag-material-primary-color);
10425
10437
  }
10426
- `,Is=b.css`
10427
- ${Fs}
10438
+ `,Es=b.css`
10428
10439
  ${Rs}
10429
10440
  ${Ns}
10430
10441
  ${Ms}
10431
10442
  ${Ls}
10432
- `,Es=b.css`
10433
10443
  ${Is}
10444
+ `,js=b.css`
10445
+ ${Es}
10434
10446
  :host {
10435
10447
  --datasource-error-background-color: var(--neutral-layer-4);
10436
10448
  --datasource-error-background-opacity: 0.5;
@@ -10487,7 +10499,7 @@
10487
10499
  opacity: var(--datasource-error-background-opacity);
10488
10500
  z-index: 1;
10489
10501
  }
10490
- `,js=(e="foundation")=>b.html`
10502
+ `,Ps=(e="foundation")=>b.html`
10491
10503
  <template>
10492
10504
  <span part="grid" class="${e=>e.classNames}">
10493
10505
  <slot name="grid" ${(0,b.ref)("gridSlot")}></slot>
@@ -10496,7 +10508,7 @@
10496
10508
  <slot
10497
10509
  name="grid-datasource-error"
10498
10510
  part="grid-datasource-error"
10499
- class="${e=>e.gridErrorItems.filter((({type:e})=>e===gs)).length>0?"":"hidden"}"
10511
+ class="${e=>e.gridErrorItems.filter((({type:e})=>e===ds)).length>0?"":"hidden"}"
10500
10512
  >
10501
10513
  <${e}-dialog
10502
10514
  class="grid-datasource-error-dialog"
@@ -10521,7 +10533,7 @@
10521
10533
  </${e}-dialog>
10522
10534
  </slot>
10523
10535
  </template>
10524
- `,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,Fl.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,F.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=Os,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){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!==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(Jn.sVA.EVENT_GRID_READY,{event:a,gridId:this.id}),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`
10536
+ `,Bs=Ps();var Gs=r(98316);class _s{getColumnState(e){return(0,an.__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,an.__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,an.__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,an.__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,an.__decorate)([Gs.N],_s.prototype,"session",void 0);const Us=v.DI.createInterface((e=>e.singleton(_s)));class Hs{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 Vs(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}Zn.syG.registerModules([Nl.n7,Rl.Q]);const Ys=Zn.kNx.ALL_PROPERTIES.filter((e=>"rowData"!==e));class Qs 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,F.x)(ln(a),a),this.insertFontFace(a)}getfilterModel(){return(0,an.__awaiter)(this,void 0,void 0,(function*(){if(!this.persistFilterModelKey)return this._filterConfig;return yield this.statePersistence.getFilterModel(this.persistFilterModelKey)}))}setFilterModel(e){return(0,an.__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=en.alpine,this.rehydrationAttempted=!1,this.rootEventsListeners=[],this.gridEventsQueue=[],this._filterConfig=void 0,this.agAttributes={},this.agPropertiesMap=Ys.reduce(((e,a)=>(e[a.toLowerCase()]=a,e[il(a)]=a,e)),{});const e=this.hideDatasourceError.bind(this);this.rootEventsListeners.push({key:bs,action:e},{key:gs,action:e},{key:ms,action:this.handleError.bind(this,ds)})}addEventListener(e,a,r){super.addEventListener(e,a,r),Zn.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!==ds))}connectedCallback(){super.connectedCallback(),this.gridAutosizingEnabled&&(0,Ml.j)(this,(e=>{e&&this.debouncedColumnAutosize.bind(this)()})),this.rehydrationAttempted=!1,this.shouldRunConnect&&(Ys.forEach((e=>{Object.defineProperty(this,e,{set:a=>{this.agAttributeChangedCallback(il(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]:Xn,[gn.actionsMenu]:nl,[gn.boolean]:dl,[gn.editable]:Vn,[gn.selectEditor]:An,[gn.numberEditor]:Nn,[gn.multiselectEditor]:xn,[gn.dateEditor]:mn,[gn.stringEditor]:Pn};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,an.__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,an.__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,an.__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,an.__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:s,onFilterChanged:g}=e,d=(0,an.__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(Zn.sVA.EVENT_GRID_READY,{event:a,gridId:this.id}),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),Zn.kNx.copyAttributesToGridOptions(e,this.agAttributes))}initGrid(){b.DOM.queueUpdate((()=>{this.initialised&&this.gridSlot.firstChild&&this.gridSlot.removeChild(this.gridSlot.firstChild),this.agGrid=new Zn.xA9(this.gridSlot,this.agGridOptions,this.gridParams),this.initialised=!0}))}applyTemplateDefinitions(e,a=!1){return Kn.deprecated("applyTemplateDefinitions","Use `mergeAllColumnDefsAndStates` instead."),this.mergeAllColumnDefsAndStates(e,a)}mergeAllColumnDefsAndStates(e,a=!1){var r;return(0,an.__awaiter)(this,void 0,void 0,(function*(){const t=e||[];t.forEach((e=>{if(this.headerCaseType&&e.field&&!e.headerName){const a=Il[this.headerCaseType];a?e.headerName=a(e.field):Kn.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[dn]===e.field)return{component:gn.editable}}),e.tooltipComponent||e.tooltipValueGetter||(e.tooltipComponent=Hs,e.tooltipValueGetter=a=>{const r=a.data[cn];if(r&&r.column===e.field)return r.message}),e.cellClassRules||(e.cellClassRules={error:e=>{var a;return(null===(a=e.data[cn])||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 Vs(n,e);if((null===(r=this.gridProDatasource.deferredColumnStates)||void 0===r?void 0:r.length)>0)return Vs(n,this.gridProDatasource.deferredColumnStates)}return n}))}get observedAttributes(){const e=Ys.map((e=>e.toLowerCase())),a=Ys.map((e=>il(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},Zn.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=Os[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,an.__decorate)([b.observable],Qs.prototype,"columnApi",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"gridApi",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"gridErrorItems",void 0),(0,an.__decorate)([Us],Qs.prototype,"statePersistence",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"auto-cell-renderer-by-type",mode:"boolean"})],Qs.prototype,"autoCellRendererByType",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"only-template-col-defs",mode:"boolean"})],Qs.prototype,"onlyTemplateColDefs",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"grid-autosizing"})],Qs.prototype,"gridAutosizingEnabled",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"add-index"})],Qs.prototype,"addIndex",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-add"})],Qs.prototype,"asyncAdd",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-remove"})],Qs.prototype,"asyncRemove",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"async-update"})],Qs.prototype,"asyncUpdate",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-cell-flashing"})],Qs.prototype,"enableCellFlashing",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enabled-row-flashing"})],Qs.prototype,"enabledRowFlashing",void 0),(0,an.__decorate)([(0,b.attr)({mode:"boolean",attribute:"enable-row-flashing"})],Qs.prototype,"enableRowFlashing",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"persist-column-state-key"})],Qs.prototype,"persistColumnStateKey",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"persist-filter-model-key"})],Qs.prototype,"persistFilterModelKey",void 0),(0,an.__decorate)([(0,b.attr)({attribute:"header-case-type"})],Qs.prototype,"headerCaseType",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"rowData",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"gridFontFace",void 0),(0,an.__decorate)([b.attr],Qs.prototype,"columnComponentName",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"eventsAndCallbacks",void 0),(0,an.__decorate)([b.attr],Qs.prototype,"headerHeight",void 0),(0,an.__decorate)([b.attr],Qs.prototype,"rowHeight",void 0),(0,an.__decorate)([b.attr],Qs.prototype,"theme",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"classNames",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"agGrid",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"gridSlot",void 0),(0,an.__decorate)([b.observable],Qs.prototype,"gridComponents",void 0),(0,an.__decorate)([un],Qs.prototype,"gridOptionsConfig",void 0);const Ws=void 0,qs={shadowOptions:void 0},Js=Qs.compose(Object.assign({baseName:"grid-pro",styles:js,template:Bs,shadowOptions:Ws},qs)),Zs={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"))},Ks={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:Xs}=v.DesignToken,eg={backgroundColor:Xs("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ks.backgroundSwatch:Zs.backgroundSwatch)),borderColor:Xs("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ks.borderSwatch:Zs.borderSwatch)),foregroundColor:Xs("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ks.foregroundSwatch:Zs.foregroundSwatch)),headerForegroundColor:Xs("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ks.headerForegroundSwatch:Zs.headerForegroundSwatch)),rowHoverColor:Xs("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?Ks.rowHoverSwatch:Zs.rowHoverSwatch))},ag=b.css`
10525
10537
  .ag-theme-genesis-rapid,
10526
10538
  .ag-theme-genesis-rapid-dark {
10527
10539
  --ag-alpine-active-color: #2196f3;
@@ -10981,56 +10993,56 @@
10981
10993
  .ag-theme-genesis-rapid-dark {
10982
10994
  color-scheme: dark;
10983
10995
  }
10984
- `,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`
10985
- ${eg}
10986
- ${ln(rg,ag)}
10996
+ `,rg={[Xi.backgroundColor]:eg.backgroundColor,[Xi.foregroundColor]:eg.foregroundColor,[Xi.oddRowBackgroundColor]:eg.backgroundColor,[Xi.headerBackgroundColor]:eg.backgroundColor,[Xi.headerForegroundColor]:eg.headerForegroundColor,[Xi.selectedRowBackgroundColor]:eg.rowHoverColor,[Xi.rowHoverColor]:eg.rowHoverColor,[Xi.borderColor]:eg.borderColor,[Xi.rowBorderColor]:eg.rowHoverColor,[Xi.modalOverlayBackgroundColor]:eg.backgroundColor,[Xi.inputFocusBoxShadow]:eg.headerForegroundColor,[Xi.inputFocusBorderColor]:eg.headerForegroundColor,[Xi.headerColumnResizeHandleColor]:eg.headerForegroundColor},tg="ag-theme-genesis-rapid",og=b.css`
10997
+ ${ag}
10998
+ ${sn(tg,rg)}
10987
10999
 
10988
- .${rg} {
11000
+ .${tg} {
10989
11001
  ${la()}
10990
11002
  }
10991
11003
 
10992
- .${rg} .ag-header {
11004
+ .${tg} .ag-header {
10993
11005
  border-bottom-color: var(--rapid-ag-header-foreground-color);
10994
11006
  font-weight: bold;
10995
11007
  }
10996
11008
 
10997
- .${rg} .ag-root-wrapper {
11009
+ .${tg} .ag-root-wrapper {
10998
11010
  border-radius: calc(var(--control-corner-radius) * 1px);
10999
11011
  }
11000
- `,og="ag-theme-genesis-rapid-dark",ig=b.css`
11001
- ${eg}
11002
- ${ln(og,ag)}
11012
+ `,ig="ag-theme-genesis-rapid-dark",ng=b.css`
11013
+ ${ag}
11014
+ ${sn(ig,rg)}
11003
11015
 
11004
- .${og} {
11016
+ .${ig} {
11005
11017
  ${la()}
11006
11018
  }
11007
11019
 
11008
- .${og} .ag-header {
11020
+ .${ig} .ag-header {
11009
11021
  border-bottom-color: var(--rapid-ag-header-foreground-color);
11010
11022
  font-weight: bold;
11011
11023
  }
11012
11024
 
11013
- .${og} .ag-cell {
11025
+ .${ig} .ag-cell {
11014
11026
  line-height: var(--ag-line-height, 32px);
11015
11027
  }
11016
11028
 
11017
- .${og} .ag-root-wrapper {
11029
+ .${ig} .ag-root-wrapper {
11018
11030
  border-radius: calc(var(--control-corner-radius) * 1px);
11019
11031
  }
11020
- `,ng=b.css`
11032
+ `,lg=b.css`
11021
11033
  /* All the AG themes */
11022
- ${Es}
11034
+ ${js}
11023
11035
 
11024
11036
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
11025
- ${tg}
11026
- ${ig}
11037
+ ${og}
11038
+ ${ng}
11027
11039
 
11028
11040
  .error {
11029
11041
  border-color: ${Fe.shortPink} !important;
11030
11042
  }
11031
- `,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:Ol,zeroAgDateEditor:wn,zeroAgMultiselectEditor:Cn,zeroAgSelectEditor:Fn,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]:On,[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),Og=(0,V.paletteFromHex)(ug.primary),Fg=(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",Od="23px",Fd="18px",Rd="24px",Nd="19px",Md="25px",Ld="20px",Id="26px",Ed={design_tokens:{color:{accent:{$value:Og.source.toColorString(),$type:"color"},neutral:{$value:Fg.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`
11043
+ `,sg=Ps("zero"),gg="ag-theme-genesis-rapid-dark";const dg=Ws,cg=qs,pg={zeroAgEditableRenderer:Jn,zeroAgActionRenderer:ol,zeroAgActionsMenuRenderer:gl,zeroAgBooleanRenderer:ml,zeroAgTextRenderer:$l,zeroAgSelectRenderer:Fl,zeroAgDateEditor:yn,zeroAgMultiselectEditor:$n,zeroAgSelectEditor:Rn,zeroAgNumberEditor:jn,zeroAgStringEditor:Hn,zeroGridPro:class extends Qs{constructor(){super(...arguments),this.theme=gg}themeChanged(e,a){(e||a===gg)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[gn.action]:tl,[gn.actionsMenu]:sl,[gn.boolean]:hl,[gn.editable]:qn,[gn.selectEditor]:Fn,[gn.numberEditor]:En,[gn.multiselectEditor]:Cn,[gn.dateEditor]:wn,[gn.stringEditor]:Un};(this.theme===tg||this.theme===ig)&&(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:sg,styles:lg,shadowOptions:dg},cg)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}},ug={foundationGridProActionRenderer:rl,foundationGridProActionsMenuRenderer:ll,foundationAgBooleanRenderer:ul,foundationAgTextRenderer:Cl,foundationAgTextFieldRenderer:xl,foundationAgEditableRenderer:Wn,foundationAgSelectRenderer:Ol,foundationGridPro:Js,foundationSelectEditor:On,foundationNumberEditor:In,foundationDateEditor:fn,foundationMultiselectEditor:Sn,foundationStringEditor:_n,register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var hg;!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"}(hg||(hg={}));const{create:mg}=v.DesignToken,bg=(0,Re.parseColorHexRGB)(hg.error),vg=f.SwatchRGB.create(bg.r,bg.g,bg.b),fg=mg("error-color").withDefault(vg),wg=(0,Re.parseColorHexRGB)(hg.success),yg=f.SwatchRGB.create(wg.r,wg.g,wg.b),xg=mg("success-color").withDefault(yg),kg=(0,Re.parseColorHexRGB)(hg.warning),zg=f.SwatchRGB.create(kg.r,kg.g,kg.b),Sg=mg("warning-color").withDefault(zg),Cg=(0,Re.parseColorHexRGB)(hg.buy),$g=f.SwatchRGB.create(Cg.r,Cg.g,Cg.b),Ag=mg("buy-color").withDefault($g),Dg=(0,Re.parseColorHexRGB)(hg.sell),Tg=f.SwatchRGB.create(Dg.r,Dg.g,Dg.b),Og=mg("sell-color").withDefault(Tg),Fg=(0,V.paletteFromHex)(hg.primary),Rg=(0,V.paletteFromHex)(hg.neutral),Ng=f.StandardLuminance.DarkMode,Mg=0,Lg=4,Ig=-5,Eg=0,jg=0,Pg=6,Bg=-4,Gg=0,_g=7,Ug=10,Hg=5,Vg=0,Yg=0,Qg=0,Wg=0,qg=0,Jg=0,Zg=5,Kg=3,Xg=0,ed=0,ad=8,rd=-5,td=0,od=3,id=25,nd=40,ld=16,sd=25,gd=8,dd="rapid",cd=Ke.O.ltr,pd=.3,ud=1,hd=2,md=10,bd=4,vd=0,fd=4,wd='"Segoe UI", Arial, Helvetica, sans-serif',yd="14px",xd="20px",kd="13px",zd="19px",Sd="12px",Cd="18px",$d="15px",Ad="21px",Dd="16px",Td="22px",Od="17px",Fd="23px",Rd="18px",Nd="24px",Md="19px",Ld="25px",Id="20px",Ed="26px",jd={design_tokens:{color:{accent:{$value:Fg.source.toColorString(),$type:"color"},neutral:{$value:Rg.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:wd,$type:"fontFamily"}},typography:{baseFontSize:{$value:yd,$type:"dimension"},baseLineHeight:{$value:xd,$type:"dimension"}},mode:{luminance:{$value:Ng,$type:"number"}},style:{density:{$value:vd,$type:"number"},borderRadius:{$value:bd,$type:"number"},strokeWidth:{$value:ud,$type:"number"}},space:{designUnit:{$value:fd,$type:"number"}}}};class Pd extends f.DesignSystemProvider{constructor(){super(),(0,V.provideTokens)(i,n,this)}}const Bd=Pd.compose({baseName:"design-system-provider",template:b.html`
11032
11044
  <slot></slot>
11033
- `});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`
11045
+ `});class Gd extends V.Accordion{}const _d=Gd.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,V.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
11034
11046
  ${(0,V.foundationAccordionStyles)(e,a)}
11035
11047
 
11036
11048
  :host {
@@ -11041,7 +11053,7 @@
11041
11053
  .heading {
11042
11054
  height: calc(var(--base-height-multiplier) * 4px);
11043
11055
  }
11044
- `,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`
11056
+ `,shadowOptions:V.foundationAccordionShadowOptions},V.defaultAccordionConfig));class Ud extends V.AccordionItem{}const Hd=Ud.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,V.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
11045
11057
  ${(0,V.foundationAccordionItemStyles)(e,a)}
11046
11058
 
11047
11059
  :host {
@@ -11104,7 +11116,7 @@
11104
11116
  grid-template-columns: auto 1fr auto;
11105
11117
  align-items: center;
11106
11118
  }
11107
- `,shadowOptions:V.foundationAccordionItemShadowOptions},V.defaultAccordionItemConfig));class Hd extends V.ActionsMenu{}const Vd=Hd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
11119
+ `,shadowOptions:V.foundationAccordionItemShadowOptions},V.defaultAccordionItemConfig));class Vd extends V.ActionsMenu{}const Yd=Vd.compose({baseName:"actions-menu",styles:(e,a)=>b.css`
11108
11120
  :host {
11109
11121
  --actions-opener-height-multiplier: 0.6px;
11110
11122
  --menu-item-height-multiplier: 0.5px;
@@ -11142,7 +11154,7 @@
11142
11154
  .actions-vertical .menu-item:focus {
11143
11155
  border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
11144
11156
  }
11145
- `,template:V.foundationActionsMenuTemplate});function Yd(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Qd=b.css`
11157
+ `,template:V.foundationActionsMenuTemplate});function Qd(e,a){return new v.PropertyStyleSheetBehavior("appearance",e,a)}const Wd=b.css`
11146
11158
  :host([appearance='primary']) {
11147
11159
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 50%);
11148
11160
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -11165,7 +11177,7 @@
11165
11177
  background: color-mix(in srgb, var(--accent-fill-rest), transparent 70%);
11166
11178
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
11167
11179
  }
11168
- `,Wd=b.css`
11180
+ `,qd=b.css`
11169
11181
  :host([appearance='danger']) {
11170
11182
  background: color-mix(in srgb, var(--error-color), transparent 50%);
11171
11183
  border: calc(var(--stroke-width) * 1px) solid var(--error-color);
@@ -11188,7 +11200,7 @@
11188
11200
  background: color-mix(in srgb, var(--error-color), transparent 70%);
11189
11201
  border: calc(var(--stroke-width) * 1px) solid var(--error-color);
11190
11202
  }
11191
- `,qd=b.css`
11203
+ `,Jd=b.css`
11192
11204
  :host([appearance='primary-outline']) {
11193
11205
  background: none;
11194
11206
  border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);
@@ -11206,7 +11218,7 @@
11206
11218
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11207
11219
  opacity: 100%;
11208
11220
  }
11209
- `,Jd=b.css`
11221
+ `,Zd=b.css`
11210
11222
  :host([appearance='neutral-outline']) {
11211
11223
  background: none;
11212
11224
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);
@@ -11224,7 +11236,7 @@
11224
11236
  color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);
11225
11237
  opacity: 100%;
11226
11238
  }
11227
- `,Zd=b.css`
11239
+ `,Kd=b.css`
11228
11240
  :host([appearance='link']) {
11229
11241
  background: none;
11230
11242
  border: none;
@@ -11247,7 +11259,7 @@
11247
11259
  color: color-mix(in srgb, var(--accent-fill-rest), transparent 35%);
11248
11260
  opacity: 100%;
11249
11261
  }
11250
- `,Kd=(e,a)=>b.css`
11262
+ `,Xd=(e,a)=>b.css`
11251
11263
  ${(0,V.foundationButtonStyles)(e,a)}
11252
11264
  ${b.css`
11253
11265
  :host {
@@ -11301,14 +11313,14 @@
11301
11313
  opacity: 100%;
11302
11314
  }
11303
11315
  `}
11304
- `.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`
11316
+ `.withBehaviors(Qd("primary",Wd),Qd("danger",qd),Qd("primary-outline",Jd),Qd("neutral-outline",Zd),Qd("link",Kd));class ec extends V.Anchor{}const ac=ec.compose(Object.assign({baseName:"anchor",template:(e,a)=>(0,V.foundationAnchorTemplate)(e,a),styles:(e,a)=>b.css`
11305
11317
  ${(0,V.foundationAnchorStyles)(e,a)}
11306
- ${Kd(e,a)}
11307
- `.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`
11318
+ ${Xd(e,a)}
11319
+ `.withBehaviors(...Xd(e,a).behaviors),shadowOptions:V.foundationAnchorShadowOptions},V.defaultAnchorConfig));class rc extends V.AnchoredRegion{}const tc=rc.compose(Object.assign({baseName:"anchored-region",template:(e,a)=>(0,V.foundationAnchoredRegionTemplate)(e,a),styles:(e,a)=>b.css`
11308
11320
  ${(0,V.foundationAnchoredRegionStyles)(e,a)}
11309
- `,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`
11321
+ `,shadowOptions:V.foundationAnchoredRegionShadowOptions},V.defaultAnchoredRegionConfig));class oc extends V.Avatar{}const ic=oc.compose(Object.assign({baseName:"avatar",template:(e,a)=>(0,V.foundationAvatarTemplate)(e,a),styles:(e,a)=>b.css`
11310
11322
  ${(0,V.foundationAvatarStyles)(e,a)}
11311
- `,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`
11323
+ `,shadowOptions:V.foundationAvatarShadowOptions},V.defaultAvatarConfig));class nc extends V.Badge{}const lc=nc.compose(Object.assign({baseName:"badge",template:(e,a)=>(0,V.foundationBadgeTemplate)(e,a),styles:(e,a)=>b.css`
11312
11324
  ${(0,V.foundationBadgeStyles)(e,a)}
11313
11325
  :host {
11314
11326
  --badge-fill-primary: var(--accent-fill-rest);
@@ -11327,7 +11339,7 @@
11327
11339
  padding: calc(${f.designUnit} * 1px) calc(${f.designUnit} * 2px);
11328
11340
  border: none;
11329
11341
  }
11330
- `,shadowOptions:V.foundationBadgeShadowOptions},V.defaultBadgeConfig)),lc=b.css`
11342
+ `,shadowOptions:V.foundationBadgeShadowOptions},V.defaultBadgeConfig)),sc=b.css`
11331
11343
  ${V.foundationBannerStyles}
11332
11344
  :host {
11333
11345
  --banner-height: calc(
@@ -11347,9 +11359,9 @@
11347
11359
  font-family: var(--body-font);
11348
11360
  line-height: var(--type-ramp-base-line-height);
11349
11361
  }
11350
- `,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`
11362
+ `,gc=V.foundationBannerShadowOptions;class dc extends V.Banner{}const cc=dc.compose({baseName:"banner",shadowOptions:gc,styles:sc,template:V.foundationBannerTemplate});class pc extends V.Breadcrumb{}const uc=pc.compose(Object.assign({baseName:"breadcrumb",template:(e,a)=>(0,V.foundationBreadcrumbTemplate)(e,a),styles:(e,a)=>b.css`
11351
11363
  ${(0,V.foundationBreadcrumbStyles)(e,a)}
11352
- `,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`
11364
+ `,shadowOptions:undefined},{}));class hc extends V.BreadcrumbItem{}const mc=hc.compose(Object.assign({baseName:"breadcrumb-item",template:(e,a)=>(0,V.foundationBreadcrumbItemTemplate)(e,a),styles:(e,a)=>b.css`
11353
11365
  ${(0,V.foundationBreadcrumbItemStyles)(e,a)}
11354
11366
  .listitem {
11355
11367
  color: var(--accent-foreground-rest);
@@ -11385,9 +11397,9 @@
11385
11397
  .control:hover .start {
11386
11398
  background: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);
11387
11399
  }
11388
- `,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`
11400
+ `,shadowOptions:V.foundationBreadcrumbItemShadowOptions},V.defaultBreadcrumbItemConfig));class bc extends V.Button{}const vc=bc.compose(Object.assign({baseName:"button",template:(e,a)=>(0,V.foundationButtonTemplate)(e,a),styles:Xd,shadowOptions:V.foundationButtonShadowOptions},V.defaultButtonConfig));class fc extends V.Calendar{}const wc=fc.compose(Object.assign({baseName:"calendar",template:(e,a)=>(0,V.foundationCalendarTemplate)(e,a),styles:()=>b.css`
11389
11401
  ${(0,V.foundationCalendarStyles)()}
11390
- `,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`
11402
+ `,shadowOptions:V.foundationCalendarShadowOptions},V.defaultCalendarConfig));class yc extends V.Card{}const xc=yc.compose(Object.assign({baseName:"card",template:(e,a)=>(0,V.foundationCardTemplate)(e,a),styles:(e,a)=>b.css`
11391
11403
  ${(0,V.foundationCardStyles)(e,a)}
11392
11404
  :host {
11393
11405
  background: var(--neutral-layer-card-container);
@@ -11401,7 +11413,7 @@
11401
11413
  ::slotted(rapid-card) {
11402
11414
  background: var(--neutral-layer-3);
11403
11415
  }
11404
- `,shadowOptions:V.foundationCardShadowOptions},V.defaultCardConfig)),xc=b.css`
11416
+ `,shadowOptions:V.foundationCardShadowOptions},V.defaultCardConfig)),kc=b.css`
11405
11417
  ${V.categorizedMultiselectStyles}
11406
11418
 
11407
11419
  .label {
@@ -11415,9 +11427,9 @@
11415
11427
  rapid-checkbox:hover:not([disabled]) {
11416
11428
  background: var(--neutral-layer-4);
11417
11429
  }
11418
- `,kc=b.html`
11430
+ `,zc=b.html`
11419
11431
  ${(0,V.getPrefixedCategorizedMultiselect)("rapid")}
11420
- `;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`
11432
+ `;class Sc extends V.CategorizedMultiselect{}const Cc=V.defaultCategorizedMultiselectConfig,$c=V.foundationCategorizedMultiselectShadowOptions,Ac=Sc.compose(Object.assign({baseName:"categorized-multiselect",template:zc,styles:kc,shadowOptions:$c},Cc));class Dc extends V.Checkbox{}const Tc=Dc.compose(Object.assign({baseName:"checkbox",template:(e,a)=>(0,V.foundationCheckboxTemplate)(e,a),styles:(e,a)=>b.css`
11421
11433
  ${(0,V.foundationCheckboxStyles)(e,a)}
11422
11434
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
11423
11435
  fill: var(--neutral-foreground-rest);
@@ -11432,7 +11444,7 @@
11432
11444
  .label {
11433
11445
  padding-inline-start: calc(var(--design-unit) * 2px);
11434
11446
  }
11435
- `,shadowOptions:V.foundationCheckboxShadowOptions},V.defaultCheckboxConfig));class Tc extends V.Combobox{}const Oc=Tc.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,V.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
11447
+ `,shadowOptions:V.foundationCheckboxShadowOptions},V.defaultCheckboxConfig));class Oc extends V.Combobox{}const Fc=Oc.compose(Object.assign({baseName:"combobox",template:(e,a)=>(0,V.foundationComboboxTemplate)(e,a),styles:(e,a)=>b.css`
11436
11448
  ${(0,V.foundationComboboxStyles)(e,a)}
11437
11449
  :host {
11438
11450
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11506,7 +11518,7 @@
11506
11518
  ::slotted([role='option']) {
11507
11519
  margin: 0;
11508
11520
  }
11509
- `,shadowOptions:V.foundationComboboxShadowOptions},V.defaultComboboxConfig));class Fc extends V.ConnectionIndicator{}const Rc=Fc.compose({baseName:"connection-indicator",template:V.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
11521
+ `,shadowOptions:V.foundationComboboxShadowOptions},V.defaultComboboxConfig));class Rc extends V.ConnectionIndicator{}const Nc=Rc.compose({baseName:"connection-indicator",template:V.foundationConnectionIndicatorTemplate,styles:(e,a)=>b.css`
11510
11522
  ${(0,V.foundationConnectionIndicatorStyles)(e,a)}
11511
11523
  :host {
11512
11524
  --light-size: calc(var(--design-unit) * 3px);
@@ -11529,9 +11541,9 @@
11529
11541
  font-size: var(--type-ramp-base-font-size);
11530
11542
  color: var(--neutral-stroke-rest);
11531
11543
  }
11532
- `}),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`
11544
+ `}),Mc=["baseClass","baseName","shadowOptions","styles","template"],Lc=e=>{const{definition:a}=e(),{shadowOptions:r,styles:t,template:o}=a,i=((e,a=Mc)=>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:Ic,shadowOptions:Ec,styles:jc,template:Pc}=Lc(V.foundationDataGrid),{defaultConfig:Bc,shadowOptions:Gc,styles:_c,template:Uc}=Lc(V.foundationDataGridCell),{defaultConfig:Hc,shadowOptions:Vc,styles:Yc,template:Qc}=Lc(V.foundationDataGridRow),Wc=b.html`
11533
11545
  ${(0,V.getPrefixedDatePicker)("rapid")}
11534
- `;class Wc extends V.DatePicker{}const qc=Wc.compose(Object.assign({baseName:"date-picker",template:Qc,styles:()=>b.css`
11546
+ `;class qc extends V.DatePicker{}const Jc=qc.compose(Object.assign({baseName:"date-picker",template:Wc,styles:()=>b.css`
11535
11547
  ${V.foundationDatePickerStyles}
11536
11548
 
11537
11549
  :host {
@@ -11614,7 +11626,7 @@
11614
11626
  .week-days span {
11615
11627
  font-size: var(--type-ramp-minus-2-font-size);
11616
11628
  }
11617
- `,shadowOptions:undefined},{})),Jc=b.css`
11629
+ `,shadowOptions:undefined},{})),Zc=b.css`
11618
11630
  ${V.foundationDialogStyles}
11619
11631
  :host {
11620
11632
  --color-error: var(--error-color);
@@ -11694,7 +11706,7 @@
11694
11706
  .close-icon:active svg g path {
11695
11707
  fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);
11696
11708
  }
11697
- `,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`
11709
+ `,Kc=V.defaultDialogConfig,Xc=V.foundationDialogTemplate,ep=V.foundationDialogShadowOptions;class ap extends V.Dialog{}const rp=ap.compose(Object.assign({baseName:"dialog",shadowOptions:ep,styles:Zc,template:Xc},Kc));class tp extends V.Disclosure{}const op=tp.compose(Object.assign({baseName:"disclosure",template:(e,a)=>(0,V.foundationDisclosureTemplate)(e,a),styles:(e,a)=>b.css`
11698
11710
  ${(0,V.foundationDisclosureStyles)(e,a)}
11699
11711
  :host {
11700
11712
  font-size: var(--type-ramp-base-font-size);
@@ -11711,9 +11723,9 @@
11711
11723
  padding: 0 calc(var(--design-unit) * 4px) calc(var(--design-unit) * 4px);
11712
11724
  text-align: center;
11713
11725
  }
11714
- `,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`
11726
+ `,shadowOptions:V.foundationDialogShadowOptions},V.defaultDisclosureConfig));class ip extends V.Divider{}const np=ip.compose(Object.assign({baseName:"divider",template:(e,a)=>(0,V.foundationDividerTemplate)(e,a),styles:(e,a)=>b.css`
11715
11727
  ${(0,V.foundationDividerStyles)(e,a)}
11716
- `,shadowOptions:V.foundationDividerShadowOptions},V.defaultDividerConfig));class np extends V.DropdownMenu{}const lp=np.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
11728
+ `,shadowOptions:V.foundationDividerShadowOptions},V.defaultDividerConfig));class lp extends V.DropdownMenu{}const sp=lp.compose({baseName:"dropdown-menu",styles:(e,a)=>b.css`
11717
11729
  ${(0,V.dropdownMenuBaseStyles)("rapid",e,a)}
11718
11730
 
11719
11731
  .actions-menu {
@@ -11728,7 +11740,7 @@
11728
11740
  border-radius: calc(var(--control-corner-radius) * 1px) calc(var(--control-corner-radius) * 1px);
11729
11741
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
11730
11742
  }
11731
- `,template:V.foundationDropdownMenuTemplate}),{defaultConfig:sp,shadowOptions:gp,styles:dp,template:cp}=Mc(V.foundationErrorBoundary),pp=b.css`
11743
+ `,template:V.foundationDropdownMenuTemplate}),{defaultConfig:gp,shadowOptions:dp,styles:cp,template:pp}=Lc(V.foundationErrorBoundary),up=b.css`
11732
11744
  ${V.foundationFileUploadStyles}
11733
11745
  ::-webkit-scrollbar {
11734
11746
  width: calc(var(--design-unit) * 3px);
@@ -11750,11 +11762,11 @@
11750
11762
  :host::part(upload-file-button) {
11751
11763
  margin: 0 0 calc(var(--design-unit) * 2px) calc(var(--design-unit) * 2px);
11752
11764
  }
11753
- `,up=b.html`
11765
+ `,hp=b.html`
11754
11766
  ${(0,V.getPrefixedFileUpload)("rapid")}
11755
- `,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`
11767
+ `,mp=V.defaultFileUploadConfig,bp=V.foundationFileUploadShadowOptions;class vp extends V.FileUpload{}const fp=vp.compose(Object.assign({baseName:"file-upload",shadowOptions:bp,styles:up,template:hp},mp)),wp=b.html`
11756
11768
  ${(0,V.getPrefixedFilterTemplate)("rapid")}
11757
- `;class wp extends V.Filter{}const yp=wp.compose({baseName:"filter",template:fp,styles:(e,a)=>b.css`
11769
+ `;class yp extends V.Filter{}const xp=yp.compose({baseName:"filter",template:wp,styles:(e,a)=>b.css`
11758
11770
  ${V.foundationFilterStyles}
11759
11771
  .filter-wrapper {
11760
11772
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);
@@ -11781,9 +11793,9 @@
11781
11793
  .flex-row rapid-select {
11782
11794
  flex: 1;
11783
11795
  }
11784
- `}),xp=b.html`
11796
+ `}),kp=b.html`
11785
11797
  ${(0,V.filterBarTemplate)("rapid")}
11786
- `;class kp extends V.FilterBar{}const zp=kp.compose({baseName:"filter-bar",template:xp,styles:(e,a)=>b.css`
11798
+ `;class zp extends V.FilterBar{}const Sp=zp.compose({baseName:"filter-bar",template:kp,styles:(e,a)=>b.css`
11787
11799
  ${(0,V.foundationFilterBarStyles)(e,a)}
11788
11800
  .toggle,
11789
11801
  .toggle-collapsed {
@@ -11803,7 +11815,7 @@
11803
11815
  .filter-bar {
11804
11816
  background: var(--neutral-layer-3);
11805
11817
  }
11806
- `}),{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`
11818
+ `}),{defaultConfig:Cp,shadowOptions:$p,styles:Ap,template:Dp}=Lc(V.foundationFlexLayout);class Tp extends V.Flipper{}const Op=Tp.compose(Object.assign({baseName:"flipper",template:(e,a)=>(0,V.foundationFlipperTemplate)(e,a),styles:(e,a)=>b.css`
11807
11819
  ${(0,V.foundationFlipperStyles)(e,a)}
11808
11820
  :host {
11809
11821
  color: var(--neutral-foreground-rest);
@@ -11823,7 +11835,7 @@
11823
11835
  background: var(--accent-fill-rest);
11824
11836
  color: var(--neutral-foreground-rest);
11825
11837
  }
11826
- `,shadowOptions:V.foundationFlipperShadowOptions},V.defaultFlipperConfig)),Op=b.css`
11838
+ `,shadowOptions:V.foundationFlipperShadowOptions},V.defaultFlipperConfig)),Fp=b.css`
11827
11839
  ${V.foundationFlyoutStyles}
11828
11840
  div.flyout {
11829
11841
  background-color: var(--neutral-layer-2);
@@ -11871,9 +11883,9 @@
11871
11883
  background-color: var(--neutral-fill-hover);
11872
11884
  border-radius: calc(var(--stroke-width) * 3px);
11873
11885
  }
11874
- `,Fp=b.html`
11886
+ `,Rp=b.html`
11875
11887
  ${(0,V.getPrefixedFlyout)("rapid")}
11876
- `,Rp=V.defaultFlyoutConfig,Np=V.foundationFlyoutShadowOptions;class Mp extends V.Flyout{}const Lp=Mp.compose(Object.assign({baseName:"flyout",shadowOptions:Np,styles:Op,template:Fp},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`
11888
+ `,Np=V.defaultFlyoutConfig,Mp=V.foundationFlyoutShadowOptions;class Lp extends V.Flyout{}const Ip=Lp.compose(Object.assign({baseName:"flyout",shadowOptions:Mp,styles:Fp,template:Rp},Np)),{defaultConfig:Ep,shadowOptions:jp,styles:Pp,template:Bp}=Lc(V.foundationGridLayout),{defaultConfig:Gp,shadowOptions:_p,styles:Up,template:Hp}=Lc(V.foundationGridLayoutItem);class Vp extends V.HorizontalScroll{}const Yp={nextFlipper:b.html`
11877
11889
  <rapid-flipper
11878
11890
  @click="${e=>e.scrollToNext()}"
11879
11891
  aria-hidden="${e=>e.flippersHiddenFromAT}"
@@ -11884,11 +11896,13 @@
11884
11896
  direction="previous"
11885
11897
  aria-hidden="${e=>e.flippersHiddenFromAT}"
11886
11898
  ></rapid-flipper>
11887
- `},Yp=Hp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,V.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
11899
+ `},Qp=Vp.compose(Object.assign({baseName:"horizontal-scroll",template:(e,a)=>(0,V.foundationHorizontalScrollTemplate)(e,a),styles:(e,a)=>b.css`
11888
11900
  ${(0,V.foundationHorizontalScrollStyles)(e,a)}
11889
- `,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`
11901
+ `,shadowOptions:V.foundationHorizontalScrollShadowOptions},Yp)),Wp=b.html`
11902
+ ${(0,V.getPrefixedIcon)("rapid")}
11903
+ `;class qp extends V.Icon{}const Jp=V.defaultIconConfig,Zp=V.foundationIconShadowOptions,Kp=qp.compose(Object.assign({baseName:"icon",template:Wp,styles:(e,a)=>b.css`
11890
11904
  ${(0,V.foundationIconStyles)(e,a)}
11891
- `,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`
11905
+ `,shadowOptions:Zp},Jp));class Xp extends V.Listbox{}const eu=Xp.compose(Object.assign({baseName:"listbox",template:(e,a)=>(0,V.foundationListboxTemplate)(e,a),styles:(e,a)=>b.css`
11892
11906
  ${(0,V.foundationListboxStyles)(e,a)}
11893
11907
 
11894
11908
  :host {
@@ -11899,7 +11913,7 @@
11899
11913
  ::slotted(*:last-child) {
11900
11914
  border-bottom: none;
11901
11915
  }
11902
- `,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`
11916
+ `,shadowOptions:V.foundationListboxShadowOptions},V.defaultListboxConfig));class au extends V.ListboxOption{}const ru=au.compose(Object.assign({baseName:"option",template:(e,a)=>(0,V.foundationListboxOptionTemplate)(e,a),styles:(e,a)=>b.css`
11903
11917
  ${(0,V.foundationListboxOptionStyles)(e,a)}
11904
11918
  :host {
11905
11919
  border-radius: 0;
@@ -11916,14 +11930,14 @@
11916
11930
  background: var(--neutral-layer-4);
11917
11931
  color: var(--accent-fill-rest);
11918
11932
  }
11919
- `,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`
11933
+ `,shadowOptions:V.foundationListboxOptionShadowOptions},V.defaultListboxOptionConfig));class tu extends V.Menu{}const ou=tu.compose(Object.assign({baseName:"menu",template:(e,a)=>(0,V.foundationMenuTemplate)(e,a),styles:(e,a)=>b.css`
11920
11934
  ${(0,V.foundationMenuStyles)(e,a)}
11921
11935
  :host {
11922
11936
  border: calc(var(--focus-stroke-width) * 1px) solid
11923
11937
  color-mix(in srgb, ${f.neutralFillStealthHover}, transparent 15%);
11924
11938
  padding: 0;
11925
11939
  }
11926
- `,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`
11940
+ `,shadowOptions:V.foundationMenuShadowOptions},V.defaultMenuConfig)),iu=V.foundationMenuItemShadowOptions;class nu extends V.MenuItem{}const lu=nu.compose(Object.assign({baseName:"menu-item",template:(e,a)=>(0,V.foundationMenuItemTemplate)(e,a),styles:(e,a)=>b.css`
11927
11941
  ${(0,V.foundationMenuItemStyles)(e,a)}
11928
11942
  :host {
11929
11943
  margin: 0;
@@ -11959,9 +11973,9 @@
11959
11973
  background: ${f.neutralFillStealthHover}
11960
11974
  color: ${f.neutralForegroundRest}
11961
11975
  */
11962
- `,shadowOptions:tu},V.defaultMenuItemConfig)),nu=b.css`
11963
- ${Jc}
11964
- `,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`
11976
+ `,shadowOptions:iu},V.defaultMenuItemConfig)),su=b.css`
11977
+ ${Zc}
11978
+ `,gu=V.defaultModalConfig,du=V.foundationModalTemplate,cu=V.foundationModalShadowOptions;class pu extends V.Modal{}const uu=pu.compose(Object.assign({baseName:"modal",shadowOptions:cu,styles:su,template:du},gu)),hu=b.css`
11965
11979
  ${V.multiselectStyles}
11966
11980
 
11967
11981
  #display-field {
@@ -12037,9 +12051,9 @@
12037
12051
  rapid-checkbox[disabled] {
12038
12052
  cursor: not-allowed;
12039
12053
  }
12040
- `,uu=b.html`
12054
+ `,mu=b.html`
12041
12055
  ${(0,V.getPrefixedMultiselect)("rapid")}
12042
- `;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`
12056
+ `;class bu extends V.Multiselect{}const vu=V.defaultMultiselectConfig,fu=V.foundationMultiselectShadowOptions,wu=bu.compose(Object.assign({baseName:"multiselect",template:mu,styles:hu,shadowOptions:fu},vu));class yu extends V.NotificationListener{}const xu=yu.compose({baseName:"notification-listener",template:V.foundationNotificationListenerTemplate,shadowOptions:{mode:"open",delegatesFocus:!0}});class ku extends V.NumberField{}const zu=V.defaultNumberFieldConfig,Su=V.foundationNumberFieldTemplate,Cu=V.foundationNumberFieldShadowOptions,$u=ku.compose(Object.assign({baseName:"number-field",template:Su,styles:(e,a)=>b.css`
12043
12057
  :host {
12044
12058
  margin-bottom: calc(var(--design-unit) * 2px);
12045
12059
  flex: 1 1 auto;
@@ -12130,11 +12144,11 @@
12130
12144
  .control:focus-visible {
12131
12145
  outline: none;
12132
12146
  }
12133
- `,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`
12147
+ `,shadowOptions:Cu},zu));class Au extends V.Progress{}const Du=Au.compose(Object.assign({baseName:"progress",template:(e,a)=>(0,V.foundationProgressTemplate)(e,a),styles:(e,a)=>b.css`
12134
12148
  ${(0,V.foundationProgressStyles)(e,a)}
12135
- `,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`
12149
+ `,shadowOptions:V.foundationProgressShadowOptions},V.defaultProgressConfig));class Tu extends V.ProgressRing{}const Ou=Tu.compose(Object.assign({baseName:"progress-ring",template:(e,a)=>(0,V.foundationProgressRingTemplate)(e,a),styles:(e,a)=>b.css`
12136
12150
  ${(0,V.foundationProgressRingStyles)(e,a)}
12137
- `,shadowOptions:V.foundationProgressRingShadowOptions},V.defaultProgressRingConfig));class Tu extends V.Radio{}const Ou=Tu.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,V.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
12151
+ `,shadowOptions:V.foundationProgressRingShadowOptions},V.defaultProgressRingConfig));class Fu extends V.Radio{}const Ru=Fu.compose(Object.assign({baseName:"radio",template:(e,a)=>(0,V.foundationRadioTemplate)(e,a),styles:(e,a)=>b.css`
12138
12152
  ${(0,V.foundationRadioStyles)(e,a)}
12139
12153
  :host {
12140
12154
  margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
@@ -12166,13 +12180,13 @@
12166
12180
  :host([aria-checked='true']:not([disabled])) .control:hover .checked-indicator {
12167
12181
  background: var(--accent-fill-rest);
12168
12182
  }
12169
- `,shadowOptions:V.foundationRadioShadowOptions},V.defaultRadioConfig));class Fu extends V.RadioGroup{}const Ru=Fu.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,V.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
12183
+ `,shadowOptions:V.foundationRadioShadowOptions},V.defaultRadioConfig));class Nu extends V.RadioGroup{}const Mu=Nu.compose(Object.assign({baseName:"radio-group",template:(e,a)=>(0,V.foundationRadioGroupTemplate)(e,a),styles:(e,a)=>b.css`
12170
12184
  ${(0,V.foundationRadioGroupStyles)(e,a)}
12171
- `,shadowOptions:V.foundationRadioGroupShadowOptions},V.defaultRadioGroupConfig)),Nu=b.css`
12185
+ `,shadowOptions:V.foundationRadioGroupShadowOptions},V.defaultRadioGroupConfig)),Lu=b.css`
12172
12186
  ${V.foundationSearchBarStyles}
12173
- `,Mu=b.html`
12187
+ `,Iu=b.html`
12174
12188
  ${(0,V.getPrefixedSearchBar)("rapid")}
12175
- `;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`
12189
+ `;class Eu extends V.SearchBar{}const ju=Eu.compose(Object.assign({baseName:"search-bar",template:Iu,styles:Lu,shadowOptions:V.foundationSearchBarShadowOptions},V.defaultSearchBarConfig));class Pu extends V.SearchBarCombobox{}const Bu=Pu.compose(Object.assign({baseName:"search-bar-combobox",template:(e,a)=>(0,V.foundationSearchBarComboboxTemplate)(e,a),styles:(e,a)=>b.css`
12176
12190
  ${(0,V.foundationSearchBarComboboxStyles)(e,a)}
12177
12191
 
12178
12192
  :host {
@@ -12203,7 +12217,7 @@
12203
12217
  :host .listbox ::slotted(*:last-child) {
12204
12218
  border-bottom: none;
12205
12219
  }
12206
- `,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`
12220
+ `,shadowOptions:V.foundationSearchBarComboboxShadowOptions},V.defaultSearchBarComboboxConfig));class Gu extends V.SegmentedControl{}const _u=Gu.compose(Object.assign({baseName:"segmented-control",template:(e,a)=>(0,V.foundationSegmentedControlTemplate)(e,a),styles:(e,a)=>b.css`
12207
12221
  ${(0,V.foundationSegmentedControlStyles)(e,a)}
12208
12222
  :host {
12209
12223
  font-family: var(--body-font);
@@ -12239,7 +12253,7 @@
12239
12253
  border-color: transparent;
12240
12254
  box-shadow: 2px 1000px 1px rgb(0 0 0 / 50%) inset;
12241
12255
  }
12242
- `,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`
12256
+ `,shadowOptions:undefined},{}));class Uu extends V.Radio{}const Hu=Uu.compose(Object.assign({baseName:"segmented-item",template:(e,a)=>(0,V.foundationSegmentedItemTemplate)(e,a),styles:(e,a)=>b.css`
12243
12257
  ${(0,V.foundationSegmentedItemStyles)(e,a)}
12244
12258
  :host {
12245
12259
  color: var(--neutral-fill-strong-rest);
@@ -12251,7 +12265,7 @@
12251
12265
  :host([aria-checked='true']) {
12252
12266
  color: color-mix(in srgb, white, transparent 10%);
12253
12267
  }
12254
- `,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`
12268
+ `,shadowOptions:undefined},{}));class Vu extends V.Select{}const Yu=Vu.compose(Object.assign({baseName:"select",template:(e,a)=>(0,V.foundationSelectTemplate)(e,a),styles:(e,a)=>b.css`
12255
12269
  ${(0,V.foundationSelectStyles)(e,a)}
12256
12270
  :host {
12257
12271
  border-radius: calc(var(--control-corner-radius) * 1px);
@@ -12323,14 +12337,14 @@
12323
12337
  ::slotted([role='option']) {
12324
12338
  margin: 0;
12325
12339
  }
12326
- `,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`
12340
+ `,shadowOptions:V.foundationSelectShadowOptions},V.defaultSelectConfig));class Qu extends V.Skeleton{}const Wu=Qu.compose(Object.assign({baseName:"skeleton",template:(e,a)=>(0,V.foundationSkeletonTemplate)(e,a),styles:(e,a)=>b.css`
12327
12341
  ${(0,V.foundationSkeletonStyles)(e,a)}
12328
12342
  :host {
12329
12343
  --skeleton-fill: var(
12330
12344
  --neutral-fill-stealth-rest
12331
12345
  ); /** value in ux doc rgba(242 242 242 / 0.1) */
12332
12346
  }
12333
- `,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`
12347
+ `,shadowOptions:V.foundationSkeletonShadowOptions},V.defaultSkeletonConfig));class qu extends V.Slider{}const Ju=qu.compose(Object.assign({baseName:"slider",template:(e,a)=>(0,V.foundationSliderTemplate)(e,a),styles:(e,a)=>b.css`
12334
12348
  ${(0,V.foundationSliderStyles)(e,a)}
12335
12349
 
12336
12350
  .thumb-cursor {
@@ -12388,7 +12402,7 @@
12388
12402
  background-color: var(--neutral-stroke-rest);
12389
12403
  width: calc((var(--track-width) + 2) * 1px) !important;
12390
12404
  }
12391
- `,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`
12405
+ `,shadowOptions:V.foundationSliderShadowOptions},V.defaultSliderConfig));class Zu extends V.SliderLabel{}const Ku=Zu.compose(Object.assign({baseName:"slider-label",template:(e,a)=>(0,V.foundationSliderLabelTemplate)(e,a),styles:(e,a)=>b.css`
12392
12406
  ${(0,V.foundationSliderLabelStyles)(e,a)}
12393
12407
  .label {
12394
12408
  padding: calc((var(--design-unit) - 1) * 2px) calc(var(--design-unit) * 2px);
@@ -12399,7 +12413,7 @@
12399
12413
  text-align: center;
12400
12414
  font-size: var(--type-ramp-minus-1-font-size, 12px);
12401
12415
  }
12402
- `,shadowOptions:V.foundationSliderLabelShadowOptions},V.defaultSliderLabelConfig)),Zu=b.css`
12416
+ `,shadowOptions:V.foundationSliderLabelShadowOptions},V.defaultSliderLabelConfig)),Xu=b.css`
12403
12417
  ${V.foundationSnackbarStyles}
12404
12418
  .snackbar {
12405
12419
  border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);
@@ -12420,11 +12434,11 @@
12420
12434
  .action {
12421
12435
  gap: calc(var(--design-unit) * 2px);
12422
12436
  }
12423
- `,Ku=b.html`
12437
+ `,eh=b.html`
12424
12438
  ${(0,V.getPrefixedSnackbar)("rapid")}
12425
- `,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`
12439
+ `,ah=V.foundationSnackbarShadowOptions;class rh extends V.Snackbar{}const th=rh.compose({baseName:"snackbar",shadowOptions:ah,styles:Xu,template:eh});class oh extends V.StackingIcons{}const ih=oh.compose({baseName:"stacking-icons",template:V.foundationStackingIconsTemplate,styles:(e,a)=>b.css`
12426
12440
  ${(0,V.foundationStackingIconsStyles)(e,a)}
12427
- `}),oh=b.css`
12441
+ `}),nh=b.css`
12428
12442
  ${V.foundationStepperStyles}
12429
12443
 
12430
12444
  :host {
@@ -12471,11 +12485,11 @@
12471
12485
  padding: 0 calc(var(--design-unit) * 2px);
12472
12486
  color: var(--neutral-foreground-hint);
12473
12487
  }
12474
- `,ih=b.html`
12488
+ `,lh=b.html`
12475
12489
  ${(0,V.getPrefixedStepper)("rapid")}
12476
- `;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`
12490
+ `;class sh extends V.Stepper{}const gh=sh.compose(Object.assign({baseName:"stepper",template:lh,styles:nh,shadowOptions:V.foundationStepperShadowOptions},V.defaultStepperConfig)),dh=b.html`
12477
12491
  ${(0,V.getPrefixedStepperTab)("rapid")}
12478
- `;class gh extends V.StepperTab{}const dh=gh.compose(Object.assign({baseName:"stepper-tab",template:sh,styles:(e,a)=>b.css`
12492
+ `;class ch extends V.StepperTab{}const ph=ch.compose(Object.assign({baseName:"stepper-tab",template:dh,styles:(e,a)=>b.css`
12479
12493
  ${(0,V.foundationStepperTabStyles)(e,a)}
12480
12494
 
12481
12495
  rapid-tree-item {
@@ -12535,7 +12549,7 @@
12535
12549
  :host([error]) .step-title {
12536
12550
  color: var(--error-color);
12537
12551
  }
12538
- `,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`
12552
+ `,shadowOptions:V.foundationStepperTabShadowOptions},V.defaultStepperTabConfig));class uh extends V.StepperTabPanel{}const hh=uh.compose(Object.assign({baseName:"stepper-tab-panel",template:(e,a)=>(0,V.foundationStepperTabPanelTemplate)(e,a),shadowOptions:V.foundationStepperTabPanelShadowOptions},V.defaultStepperTabPanelConfig)),mh={switch:'<div class="checked-indicator" part="checked-indicator"></div>'};class bh extends V.Switch{}const vh=bh.compose(Object.assign({baseName:"switch",template:(e,a)=>(0,V.foundationSwitchTemplate)(e,a),styles:(e,a)=>b.css`
12539
12553
  ${(0,V.foundationSwitchStyles)(e,a)}
12540
12554
  :host {
12541
12555
  --primary-gradient-angle: -113.5deg;
@@ -12572,7 +12586,7 @@
12572
12586
  :host([aria-checked='true']:not([disabled])) .switch:active .checked-indicator {
12573
12587
  background: var(--accent-fill-rest);
12574
12588
  }
12575
- `,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`
12589
+ `,shadowOptions:V.foundationSwitchShadowOptions},mh));class fh extends V.Tab{}const wh=fh.compose(Object.assign({baseName:"tab",template:(e,a)=>(0,V.foundationTabTemplate)(e,a),styles:(e,a)=>b.css`
12576
12590
  ${(0,V.foundationTabStyles)(e,a)}
12577
12591
  :host {
12578
12592
  background-color: var(--neutral-layer-2);
@@ -12585,13 +12599,13 @@
12585
12599
  :host([aria-selected='true']:hover) {
12586
12600
  background-color: var(--neutral-layer-4);
12587
12601
  }
12588
- `,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`
12602
+ `,shadowOptions:V.foundationTabShadowOptions},V.defaultTabConfig));class yh extends V.TabPanel{}const xh=yh.compose(Object.assign({baseName:"tab-panel",template:(e,a)=>(0,V.foundationTabPanelTemplate)(e,a),styles:(e,a)=>b.css`
12589
12603
  ${(0,V.foundationTabPanelStyles)(e,a)}
12590
12604
  :host {
12591
12605
  padding: 0;
12592
12606
  background-color: var(--neutral-layer-4);
12593
12607
  }
12594
- `,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`
12608
+ `,shadowOptions:V.foundationTabPanelShadowOptions},V.defaultTabPanelConfig));class kh extends V.Tabs{}const zh=kh.compose(Object.assign({baseName:"tabs",template:(e,a)=>(0,V.foundationTabsTemplate)(e,a),styles:(e,a)=>b.css`
12595
12609
  ${(0,V.foundationTabsStyles)(e,a)}
12596
12610
  :host {
12597
12611
  --base-height-multiplier: 9;
@@ -12666,7 +12680,7 @@
12666
12680
  :host([orientation='horizontal']) ::slotted([role='tabpanel'][slot='tabpanel']) {
12667
12681
  padding: 0 calc((3 + (var(--design-unit) * 2 * var(--density))) * 1px);
12668
12682
  }
12669
- `,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`
12683
+ `,shadowOptions:V.foundationTabsShadowOptions},V.defaultTabsConfig));class Sh extends V.TextArea{}const Ch=Sh.compose(Object.assign({baseName:"text-area",template:(e,a)=>(0,V.foundationTextAreaTemplate)(e,a),styles:(e,a)=>b.css`
12670
12684
  ${(0,V.foundationTextAreaStyles)(e,a)}
12671
12685
 
12672
12686
  :host {
@@ -12698,7 +12712,7 @@
12698
12712
  font-weight: 700;
12699
12713
  margin: calc(var(--design-unit) * 2px) 0;
12700
12714
  }
12701
- `,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`
12715
+ `,shadowOptions:V.foundationTextAreaShadowOptions},V.defaultTextAreaConfig));class $h extends V.TextField{}const Ah=$h.compose(Object.assign({baseName:"text-field",template:(e,a)=>(0,V.foundationTextFieldTemplate)(e,a),styles:(e,a)=>b.css`
12702
12716
  ${(0,V.foundationTextFieldStyles)(e,a)}
12703
12717
 
12704
12718
  :host {
@@ -12742,7 +12756,7 @@
12742
12756
  .label-hidden {
12743
12757
  margin: 0;
12744
12758
  }
12745
- `,shadowOptions:V.foundationTextFieldShadowOptions},V.defaultTextFieldConfig)),$h=b.css`
12759
+ `,shadowOptions:V.foundationTextFieldShadowOptions},V.defaultTextFieldConfig)),Dh=b.css`
12746
12760
  ${V.foundationToastStyles}
12747
12761
  .toast {
12748
12762
  background-color: ${f.neutralLayer1};
@@ -12797,7 +12811,7 @@
12797
12811
  :host([notify='serious']) .toast::after {
12798
12812
  background-color: var(--error-color);
12799
12813
  }
12800
- `,Ah=V.defaultToastConfig,Dh=V.foundationToastShadowOptions;class Th extends V.Toast{}const Oh=Th.compose(Object.assign({baseName:"toast",shadowOptions:Dh,styles:$h,template:V.foundationToastTemplate},Ah));class Fh extends V.Toolbar{}const Rh=Fh.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,V.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
12814
+ `,Th=V.defaultToastConfig,Oh=V.foundationToastShadowOptions;class Fh extends V.Toast{}const Rh=Fh.compose(Object.assign({baseName:"toast",shadowOptions:Oh,styles:Dh,template:V.foundationToastTemplate},Th));class Nh extends V.Toolbar{}const Mh=Nh.compose(Object.assign({baseName:"toolbar",template:(e,a)=>(0,V.foundationToolbarTemplate)(e,a),styles:(e,a)=>b.css`
12801
12815
  ${(0,V.foundationToolbarStyles)(e,a)}
12802
12816
  :host {
12803
12817
  align-items: center;
@@ -12807,7 +12821,7 @@
12807
12821
  .positioning-region {
12808
12822
  align-items: center;
12809
12823
  }
12810
- `,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`
12824
+ `,shadowOptions:V.foundationToolbarShadowOptions},V.defaultToolbarConfig));class Lh extends V.Tooltip{}const Ih=Lh.compose(Object.assign({baseName:"tooltip",template:(e,a)=>(0,V.foundationTooltipTemplate)(e,a),styles:(e,a)=>b.css`
12811
12825
  ${(0,V.foundationTooltipStyles)(e,a)}
12812
12826
 
12813
12827
  :host {
@@ -12830,7 +12844,7 @@
12830
12844
  alpha-anchored-region.bottom.right .tooltip {
12831
12845
  margin-left: 0;
12832
12846
  }
12833
- `,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`
12847
+ `,shadowOptions:V.foundationTooltipShadowOptions},V.defaultTooltipConfig));class Eh extends V.TreeItem{}const jh={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>'},Ph=Eh.compose(Object.assign({baseName:"tree-item",template:(e,a)=>(0,V.foundationTreeItemTemplate)(e,a),styles:(e,a)=>b.css`
12834
12848
  ${(0,V.foundationTreeItemStyles)(e,a)}
12835
12849
  :host {
12836
12850
  font-size: var(--type-ramp-base-font-size);
@@ -12869,11 +12883,11 @@
12869
12883
  width: calc(var(--design-unit) * 3px);
12870
12884
  height: calc(var(--design-unit) * 3px);
12871
12885
  }
12872
- `,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`
12886
+ `,shadowOptions:V.foundationTreeItemShadowOptions},jh));class Bh extends V.TreeView{}const Gh=Bh.compose(Object.assign({baseName:"tree-view",template:(e,a)=>(0,V.foundationTreeViewTemplate)(e,a),styles:(e,a)=>b.css`
12873
12887
  ${(0,V.foundationTreeViewStyles)(e,a)}
12874
- `,shadowOptions:V.foundationTreeViewShadowOptions},V.defaultTreeViewConfig)),Bh=b.html`
12888
+ `,shadowOptions:V.foundationTreeViewShadowOptions},V.defaultTreeViewConfig)),_h=b.html`
12875
12889
  ${(0,V.getPrefixedUrlInput)("rapid")}
12876
- `;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:Oc,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:Ou,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:Oh,rapidToolbar:Rh,rapidTooltip:Mh,rapidTreeItem:Eh,rapidTreeView:Ph,rapidUrlInput:Gh.compose(Object.assign({baseName:"url-input",template:Bh,styles:(e,a)=>b.css`
12890
+ `;class Uh extends V.UrlInput{}const Hh={designSystemProvider:Bd,rapidAccordion:_d,rapidAccordionItem:Hd,rapidActionsMenu:Yd,rapidAnchor:ac,rapidAnchoredRegion:tc,rapidAvatar:ic,rapidBadge:lc,rapidBanner:cc,rapidBreadcrumb:uc,rapidBreadcrumbItem:mc,rapidButton:vc,rapidCalendar:wc,rapidCard:xc,rapidCategorizedMultiselect:Ac,rapidCheckbox:Tc,rapidCombobox:Fc,rapidConnectionIndicator:Nc,rapidDataGrid:()=>(0,V.foundationDataGrid)(),rapidDataGridCell:()=>(0,V.foundationDataGridCell)(),rapidDataGridRow:()=>(0,V.foundationDataGridRow)(),rapidDatePicker:Jc,rapidDialog:rp,rapidDisclosure:op,rapidDivider:np,rapidDropdownMenu:sp,rapidErrorBoundary:()=>(0,V.foundationErrorBoundary)(),rapidFileUpload:fp,rapidFilter:xp,rapidFilterBar:Sp,rapidFlexLayout:()=>(0,V.foundationFlexLayout)(),rapidFlipper:Op,rapidFlyout:Ip,rapidGridLayout:()=>(0,V.foundationGridLayout)(),rapidGridLayoutItem:()=>(0,V.foundationGridLayoutItem)(),rapidHorizontalScroll:Qp,rapidIcon:Kp,rapidListbox:eu,rapidListboxOption:ru,rapidMenu:ou,rapidMenuItem:lu,rapidModal:uu,rapidMultiselect:wu,rapidNotificationListener:xu,rapidNumberField:$u,rapidProgress:Du,rapidProgressRing:Ou,rapidRadio:Ru,rapidRadioGroup:Mu,rapidSearchBar:ju,rapidSearchBarCombobox:Bu,rapidSegmentedControl:_u,rapidSegmentedItem:Hu,rapidSelect:Yu,rapidSkeleton:Wu,rapidSlider:Ju,rapidSliderLabel:Ku,rapidSnackbar:th,rapidStackingIcons:ih,rapidStepper:gh,rapidStepperTab:ph,rapidStepperTabPanel:hh,rapidSwitch:vh,rapidTab:wh,rapidTabPanel:xh,rapidTabs:zh,rapidTextArea:Ch,rapidTextField:Ah,rapidToast:Rh,rapidToolbar:Mh,rapidTooltip:Ih,rapidTreeItem:Ph,rapidTreeView:Gh,rapidUrlInput:Uh.compose(Object.assign({baseName:"url-input",template:_h,styles:(e,a)=>b.css`
12877
12891
  ${(0,V.foundationUrlInputStyles)(e,a)}
12878
12892
  a {
12879
12893
  color: var(--accent-fill-rest);
@@ -12889,8 +12903,8 @@
12889
12903
  font-size: var(--type-ramp-base-font-size);
12890
12904
  top: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) / 2 * 1px);
12891
12905
  }
12892
- `,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`
12893
- ${el}
12906
+ `,shadowOptions:V.foundationUrlInputShadowOptions},V.defaultUrlInputConfig)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};class Vh extends mn{}const Yh=Vh.compose({baseName:"date-editor",styles:bn,template:vn("rapid")});class Qh extends xn{}const Wh=Qh.compose({baseName:"multiselect-editor",styles:kn,template:zn("rapid")});class qh extends An{}const Jh=qh.compose({baseName:"select-editor",styles:Dn,template:Tn("rapid")});class Zh extends Nn{}const Kh=Zh.compose({baseName:"number-editor",styles:Mn,template:Ln("rapid")});class Xh extends Pn{}const em=Xh.compose({baseName:"string-editor",styles:Bn,template:Gn("rapid")});class am extends Vn{}const rm=am.compose({baseName:"editable-renderer",styles:Yn,template:Qn("rapid")});class tm extends Xn{}const om=tm.compose({baseName:"grid-pro-action-renderer",styles:b.css`
12907
+ ${al}
12894
12908
  .button-padding {
12895
12909
  justify-content: center;
12896
12910
  margin: calc(var(--design-unit) * 1px);
@@ -12911,12 +12925,12 @@
12911
12925
  `:e.params.actionName}
12912
12926
  </rapid-button>
12913
12927
  </div>
12914
- `});class tm extends il{}const om=tm.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
12928
+ `});class im extends nl{}const nm=im.compose({baseName:"grid-pro-actions-menu-renderer",template:b.html`
12915
12929
  <rapid-actions-menu
12916
12930
  name="${e=>e.params.headerName}"
12917
12931
  :definition=${e=>e.params}
12918
12932
  ></rapid-actions-menu>
12919
- `});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`
12933
+ `});class lm extends dl{}const sm=lm.compose({baseName:"boolean-renderer",styles:cl,template:pl("rapid")});const gm=class extends kl{}.compose({baseName:"grid-text-renderer",styles:zl,template:Sl("rapid")});const dm=class extends Al{}.compose({baseName:"select-renderer",styles:Dl,template:Tl("rapid")}),cm={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"))},pm={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:um}=v.DesignToken,hm={backgroundColor:um("rapid-ag-background-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?pm.backgroundSwatch:cm.backgroundSwatch)),borderColor:um("rapid-ag-border-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?pm.borderSwatch:cm.borderSwatch)),foregroundColor:um("rapid-ag-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?pm.foregroundSwatch:cm.foregroundSwatch)),headerForegroundColor:um("rapid-ag-header-foreground-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?pm.headerForegroundSwatch:cm.headerForegroundSwatch)),rowHoverColor:um("rapid-ag-row-hover-color").withDefault((e=>f.baseLayerLuminance.getValueFor(e)===f.StandardLuminance.LightMode?pm.rowHoverSwatch:cm.rowHoverSwatch))},mm=b.css`
12920
12934
  .ag-theme-genesis-rapid,
12921
12935
  .ag-theme-genesis-rapid-dark {
12922
12936
  --ag-alpine-active-color: #2196f3;
@@ -13377,76 +13391,76 @@
13377
13391
  .ag-theme-genesis-rapid-dark {
13378
13392
  color-scheme: dark;
13379
13393
  }
13380
- `,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`
13381
- ${um}
13382
- ${ln(mm,hm)}
13394
+ `,bm={[Xi.backgroundColor]:hm.backgroundColor,[Xi.foregroundColor]:hm.foregroundColor,[Xi.oddRowBackgroundColor]:hm.backgroundColor,[Xi.headerBackgroundColor]:hm.backgroundColor,[Xi.headerForegroundColor]:hm.headerForegroundColor,[Xi.selectedRowBackgroundColor]:hm.rowHoverColor,[Xi.rowHoverColor]:hm.rowHoverColor,[Xi.borderColor]:hm.borderColor,[Xi.rowBorderColor]:hm.rowHoverColor,[Xi.modalOverlayBackgroundColor]:hm.backgroundColor,[Xi.inputFocusBoxShadow]:hm.headerForegroundColor,[Xi.inputFocusBorderColor]:hm.headerForegroundColor,[Xi.headerColumnResizeHandleColor]:hm.headerForegroundColor},vm="ag-theme-genesis-rapid",fm=b.css`
13395
+ ${mm}
13396
+ ${sn(vm,bm)}
13383
13397
 
13384
- .${mm} {
13398
+ .${vm} {
13385
13399
  ${la()}
13386
13400
  font-family: var(--body-font);
13387
13401
  }
13388
13402
 
13389
- .${mm} .ag-body .ag-body-viewport,
13390
- .${mm} .ag-header,
13391
- .${mm} .ag-row {
13403
+ .${vm} .ag-body .ag-body-viewport,
13404
+ .${vm} .ag-header,
13405
+ .${vm} .ag-row {
13392
13406
  background-color: var(--neutral-layer-4);
13393
13407
  }
13394
13408
 
13395
- .${mm} .ag-header {
13409
+ .${vm} .ag-header {
13396
13410
  border-bottom-color: var(--neutral-stroke-rest);
13397
13411
  font-weight: bold;
13398
13412
  font-size: var(--type-ramp-base-font-size);
13399
13413
  }
13400
13414
 
13401
- .${mm} .ag-root-wrapper {
13415
+ .${vm} .ag-root-wrapper {
13402
13416
  border-radius: calc(var(--ag-border-radius) * 1px);
13403
13417
  border: 1px solid var(--rapid-ag-border-color);
13404
13418
  }
13405
13419
 
13406
- .${mm} .ag-cell {
13420
+ .${vm} .ag-cell {
13407
13421
  font-size: var(--type-ramp-minus-1-font-size);
13408
13422
  }
13409
- `,vm="ag-theme-genesis-rapid-dark",fm=b.css`
13410
- ${um}
13411
- ${ln(mm,hm)}
13423
+ `,wm="ag-theme-genesis-rapid-dark",ym=b.css`
13424
+ ${mm}
13425
+ ${sn(vm,bm)}
13412
13426
 
13413
- .${vm} {
13427
+ .${wm} {
13414
13428
  ${la()}
13415
13429
  font-family: var(--body-font);
13416
13430
  }
13417
13431
 
13418
- .${vm} .ag-body .ag-body-viewport,
13419
- .${vm} .ag-header,
13420
- .${vm} .ag-row {
13432
+ .${wm} .ag-body .ag-body-viewport,
13433
+ .${wm} .ag-header,
13434
+ .${wm} .ag-row {
13421
13435
  background-color: var(--neutral-layer-4);
13422
13436
  }
13423
13437
 
13424
- .${vm} .ag-header {
13438
+ .${wm} .ag-header {
13425
13439
  border-bottom-color: var(--neutral-stroke-rest);
13426
13440
  font-weight: bold;
13427
13441
  font-size: var(--type-ramp-base-font-size);
13428
13442
  }
13429
13443
 
13430
- .${vm} .ag-root-wrapper {
13444
+ .${wm} .ag-root-wrapper {
13431
13445
  border-radius: calc(var(--ag-border-radius) * 1px);
13432
13446
  border: 1px solid var(--rapid-ag-border-color);
13433
13447
  }
13434
13448
 
13435
- .${vm} .ag-cell {
13449
+ .${wm} .ag-cell {
13436
13450
  font-size: var(--type-ramp-minus-1-font-size);
13437
13451
  }
13438
- `,wm=b.css`
13452
+ `,xm=b.css`
13439
13453
  /* All the AG themes */
13440
- ${Es}
13454
+ ${js}
13441
13455
 
13442
13456
  /* 100% custom, CSS based, our own name: ag-theme-genesis-rapid */
13443
- ${bm}
13444
13457
  ${fm}
13458
+ ${ym}
13445
13459
 
13446
13460
  .error {
13447
13461
  border-color: ${Fe.shortPink} !important;
13448
13462
  }
13449
- `,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`
13463
+ `,km=Ps("rapid"),zm="ag-theme-genesis-rapid-dark";const Sm=Ws,Cm=qs,$m={rapidAgEditableRenderer:rm,rapidAgActionRenderer:om,rapidAgActionsMenuRenderer:nm,rapidAgBooleanRenderer:sm,rapidAgTextRenderer:gm,rapidAgSelectRenderer:dm,rapidAgDateEditor:Yh,rapidAgMultiselectEditor:Wh,rapidAgSelectEditor:Jh,rapidAgNumberEditor:Kh,rapidAgStringEditor:em,rapidGridPro:class extends Qs{constructor(){super(...arguments),this.theme=zm}themeChanged(e,a){(e||a===zm)&&super.themeChanged(e,a)}set gridOptions(e){var a,r;e.components={[gn.action]:tm,[gn.actionsMenu]:im,[gn.boolean]:lm,[gn.editable]:am,[gn.selectEditor]:qh,[gn.numberEditor]:Zh,[gn.multiselectEditor]:Qh,[gn.dateEditor]:Vh,[gn.stringEditor]:Xh};(this.theme===vm||this.theme===wm)&&(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:km,styles:xm,shadowOptions:Sm},Cm)),register(e,...a){if(e)for(const r in this)"register"!==r&&this[r]().register(e,...a)}};var Am,Dm=r(91510);!function(e){e.STYLES_CHANGED="styles-changed",e.DS_CHANGED="design-system-changed",e.APPLY_CUSTOM_DESIGN="apply-custom-design"}(Am||(Am={}));const Tm={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'},Om=Tm["Segoe UI"],Fm=b.css`
13450
13464
  ${(0,v.display)("block")} :host {
13451
13465
  width: 100%;
13452
13466
  display: inline-flex;
@@ -13578,7 +13592,7 @@
13578
13592
  alpha-button {
13579
13593
  margin: 0;
13580
13594
  }
13581
- `,Om=b.html`
13595
+ `,Rm=b.html`
13582
13596
  <template>
13583
13597
  <div class="configuration">
13584
13598
  ${(0,b.when)((e=>!e.customDesignMode),b.html`
@@ -13786,7 +13800,7 @@
13786
13800
  </div>
13787
13801
  </div>
13788
13802
  ${(0,b.when)((e=>!e.customDesignMode),b.html`
13789
- <alpha-checkbox :checked="${(0,ml.O)((e=>e.preserveOptions),"boolean")}">
13803
+ <alpha-checkbox :checked="${(0,bl.O)((e=>e.preserveOptions),"boolean")}">
13790
13804
  Preserve selected options when changing design systems
13791
13805
  </alpha-checkbox>
13792
13806
  `)}
@@ -13801,7 +13815,7 @@
13801
13815
  <slot></slot>
13802
13816
  </div>
13803
13817
  </template>
13804
- `,Fm=({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=Fm(ca),Nm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Mm={accent:"primary",neutral:"secondary",font:"white"},Lm=Fm(l.designTokens),Im=Fm(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=Fm(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:Om,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`
13818
+ `,Nm=({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(Tm).find((a=>Tm[a]===e.fontFamily.bodyFont.$value)),baseFontSize:e.typography.baseFontSize.$value,baseLineHeight:e.typography.baseLineHeight.$value}),Mm=Nm(ca),Lm={accent:"primary-blue",neutral:"neutral-grey",outline:"primary-gradient",text:"lightweight"},Im={accent:"primary",neutral:"secondary",font:"white"},Em=Nm(l.designTokens),jm=Nm(jd),Pm={zero:{prefix:"zero",tokenDefaults:Mm,buttons:Lm,badge:Im},alpha:{prefix:"alpha",tokenDefaults:Em,buttons:{accent:"accent",neutral:"neutral",outline:"outline",text:"lightweight"},badge:{accent:"primary",neutral:"neutral",font:"white"}},rapid:{prefix:"rapid",tokenDefaults:jm,buttons:{accent:"primary",neutral:"neutral",outline:"primary-outline",text:"link"},badge:{accent:"primary",neutral:"neutral",font:"text"}},custom:{prefix:"zero",tokenDefaults:null,buttons:Lm,badge:Im}};let Bm=class extends b.FASTElement{constructor(){super(...arguments),this.customDesignMode=!1,this.userSelections={},this.ds="zero",this.darkMode=Mm.luminance===f.StandardLuminance.DarkMode,this.luminance=Mm.luminance,this.neutralColor=Mm.neutralColor,this.accentColor=Mm.accentColor,this.bodyFont=Mm.bodyFont,this.density=Mm.density,this.borderRadius=Mm.borderRadius,this.strokeWidth=Mm.strokeWidth,this.designUnit=Mm.designUnit,this.baseFontSize=Mm.baseFontSize,this.baseLineHeight=Mm.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=Nm(a);Pm.custom.tokenDefaults=e,this.setTokensFromDs(e),this.styleUpdate()}))},this.resetChanges=()=>(0,Dm.__awaiter)(this,void 0,void 0,(function*(){this.userSelections={},this.setTokensFromDs(Pm[this.ds].tokenDefaults),this.styleUpdate()}))}customDesignModeChanged(e,a){return(0,Dm.__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],Pm.custom.prefix=a,Pm.custom.buttons=Pm[a].buttons,Pm.custom.badge=Pm[a].badge,this.ds="custom"}else this.designSystems=e}))}dsChanged(e,a){const r={prefix:Pm[this.ds].prefix,buttonAppearanceAccent:Pm[this.ds].buttons.accent,buttonAppearanceNeutral:Pm[this.ds].buttons.neutral,buttonAppearanceOutline:Pm[this.ds].buttons.outline,buttonAppearanceText:Pm[this.ds].buttons.text,badgeAppearanceAccent:Pm[this.ds].badge.accent,badgeAppearanceNeutral:Pm[this.ds].badge.neutral,badgeText:Pm[this.ds].badge.font};this.$emit(Am.DS_CHANGED,r),this.preserveOptions||(this.userSelections={}),this.setTokensFromDs(Pm[this.ds].tokenDefaults),this.styleUpdate()}styleUpdate(){const e={accentColor:this.accentColor,neutralColor:this.neutralColor,bodyFont:Tm[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(Am.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(Am.APPLY_CUSTOM_DESIGN,(e=>{this.applyCustomDSTokens(e)}))}};(0,Dm.__decorate)([(0,b.attr)({mode:"boolean",attribute:"custom-design-mode"})],Bm.prototype,"customDesignMode",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"designSystems",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"ds",void 0),(0,Dm.__decorate)([b.attr],Bm.prototype,"darkMode",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"neutralColor",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"accentColor",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"bodyFont",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"density",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"borderRadius",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"strokeWidth",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"designUnit",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"baseFontSize",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"baseLineHeight",void 0),(0,Dm.__decorate)([b.observable],Bm.prototype,"preserveOptions",void 0),Bm=(0,Dm.__decorate)([(0,b.customElement)({name:"design-system-editor",template:Rm,styles:Fm})],Bm);const Gm=(0,k.createLogger)("documentation-components"),_m=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},Um=(e,a,r)=>{const t=e.getValueFor(r).match(/^(\d+)([a-z]+)/i),o=t[1],i=t[2];return Number(o)+a+i},Hm=(e,a)=>{const r=_m(e.neutralColor);f.neutralPalette.setValueFor(a,r);const t=_m(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,Um(f.typeRampBaseFontSize,oa.Du.minusOne,a)),f.typeRampMinus1LineHeight.setValueFor(a,Um(f.typeRampBaseLineHeight,oa.Du.minusOne,a)),f.typeRampMinus2FontSize.setValueFor(a,Um(f.typeRampBaseFontSize,oa.Du.minusTwo,a)),f.typeRampMinus2LineHeight.setValueFor(a,Um(f.typeRampBaseLineHeight,oa.Du.minusTwo,a)),f.typeRampPlus1FontSize.setValueFor(a,Um(f.typeRampBaseFontSize,oa.Du.plusOne,a)),f.typeRampPlus1LineHeight.setValueFor(a,Um(f.typeRampBaseLineHeight,oa.Du.plusOne,a)),f.typeRampPlus2FontSize.setValueFor(a,Um(f.typeRampBaseFontSize,oa.Du.plusTwo,a)),f.typeRampPlus2LineHeight.setValueFor(a,Um(f.typeRampBaseLineHeight,oa.Du.plusTwo,a)),f.typeRampPlus3FontSize.setValueFor(a,Um(f.typeRampBaseFontSize,oa.Du.plusThree,a)),f.typeRampPlus3LineHeight.setValueFor(a,Um(f.typeRampBaseLineHeight,oa.Du.plusThree,a)),f.typeRampPlus4FontSize.setValueFor(a,Um(f.typeRampBaseFontSize,oa.Du.plusFour,a)),f.typeRampPlus4LineHeight.setValueFor(a,Um(f.typeRampBaseLineHeight,oa.Du.plusFour,a)),f.typeRampPlus5FontSize.setValueFor(a,Um(f.typeRampBaseFontSize,oa.Du.plusFive,a)),f.typeRampPlus5LineHeight.setValueFor(a,Um(f.typeRampBaseLineHeight,oa.Du.plusFive,a)),f.typeRampPlus6FontSize.setValueFor(a,Um(f.typeRampBaseFontSize,oa.Du.plusSix,a)),f.typeRampPlus6LineHeight.setValueFor(a,Um(f.typeRampBaseLineHeight,oa.Du.plusSix,a))},Vm=b.css`
13805
13819
  :host {
13806
13820
  --badge-fill-primary: var(--accent-fill-rest);
13807
13821
  --badge-fill-neutral: var(--neutral-fill-rest);
@@ -13897,7 +13911,7 @@
13897
13911
  display: flex;
13898
13912
  flex-direction: column;
13899
13913
  }
13900
- `,Hm=b.html`
13914
+ `,Ym=b.html`
13901
13915
  ${e=>(e=>b.html`
13902
13916
  <template>
13903
13917
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14312,7 +14326,7 @@
14312
14326
  </${e}-design-system-provider>
14313
14327
  </template>
14314
14328
  `)(e.prefix)}
14315
- `;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`
14329
+ `;let Qm=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=>Gm.debug("VIEWW!!!",e)},{name:"Delete",callback:e=>Gm.debug("DELETE!!!",e)},{name:"Edit",callback:e=>Gm.debug("EDIT!!!",e)},{name:"Wait",callback:e=>Gm.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(Am.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Am.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Om)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{Hm(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,Dm.__decorate)([b.observable],Qm.prototype,"modal",void 0),(0,Dm.__decorate)([b.attr],Qm.prototype,"prefix",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"buttonAppearanceAccent",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"buttonAppearanceNeutral",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"buttonAppearanceOutline",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"buttonAppearanceText",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"badgeAppearanceAccent",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"badgeAppearanceNeutral",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"badgeText",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"cards",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"countries",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"menuActions",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"menuDefinition",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"dropDownMenuItems",void 0),(0,Dm.__decorate)([b.observable],Qm.prototype,"provider",void 0),Qm=(0,Dm.__decorate)([(0,b.customElement)({name:"preview-components",template:Ym,styles:Vm})],Qm);const Wm=b.css`
14316
14330
  .export {
14317
14331
  display: flex;
14318
14332
  justify-content: center;
@@ -14323,7 +14337,7 @@
14323
14337
  display: flex;
14324
14338
  justify-content: space-between;
14325
14339
  }
14326
- `,Qm=b.html`
14340
+ `,qm=b.html`
14327
14341
  <template>
14328
14342
  <div class="export">
14329
14343
  <alpha-button appearance="accent" @click="${e=>e.showModal()}">Save Changes</alpha-button>
@@ -14344,7 +14358,7 @@
14344
14358
  </alpha-modal>
14345
14359
  </div>
14346
14360
  </template>
14347
- `;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`
14361
+ `;let Jm=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=>{Gm.log("Tokens saved successfully:",e),this.$emit(Am.APPLY_CUSTOM_DESIGN,e.message)})).catch((e=>{Gm.error("Error saving tokens:",e)})),this.closeModal()}}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Am.STYLES_CHANGED,(e=>{const a=e;this.value=this.formatValues(a.detail)}))}};(0,Dm.__decorate)([b.attr],Jm.prototype,"value",void 0),(0,Dm.__decorate)([b.attr],Jm.prototype,"tokensPath",void 0),Jm=(0,Dm.__decorate)([(0,b.customElement)({name:"design-system-export",template:qm,styles:Wm})],Jm);const Zm=b.css`
14348
14362
  .colors {
14349
14363
  display: flex;
14350
14364
  flex-wrap: wrap;
@@ -14357,23 +14371,23 @@
14357
14371
  flex-grow: 1;
14358
14372
  height: 20px;
14359
14373
  }
14360
- `,Jm=b.html`
14374
+ `,Km=b.html`
14361
14375
  <ul class="colors">
14362
14376
  ${(0,b.repeat)((e=>e.swatches),b.html`
14363
14377
  <li class="color" style="background-color: ${e=>e.toColorString()}"></li>
14364
14378
  `)}
14365
14379
  </ul>
14366
- `;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`
14380
+ `;let Xm=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=_m(a[`${this.type}Color`]);this.swatches=[...e.swatches]}))}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Am.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)}))}};(0,Dm.__decorate)([b.observable],Xm.prototype,"swatches",void 0),(0,Dm.__decorate)([b.attr],Xm.prototype,"type",void 0),Xm=(0,Dm.__decorate)([(0,b.customElement)({name:"color-palette",styles:Zm,template:Km})],Xm);const eb=b.css`
14367
14381
  .preview {
14368
14382
  width: 40px;
14369
14383
  height: 40px;
14370
14384
  }
14371
- `,Xm=b.html`
14385
+ `,ab=b.html`
14372
14386
  <div
14373
14387
  class="preview"
14374
14388
  style="background-color: ${e=>f[e.tokenName].createCSS()}"
14375
14389
  ></div>
14376
- `;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`
14390
+ `;let rb=class extends b.FASTElement{};(0,Dm.__decorate)([b.attr],rb.prototype,"tokenName",void 0),rb=(0,Dm.__decorate)([(0,b.customElement)({name:"color-token",styles:eb,template:ab})],rb);const tb=b.css`
14377
14391
  .container {
14378
14392
  display: flex;
14379
14393
  width: 100%;
@@ -14421,7 +14435,7 @@
14421
14435
  .container > div:not(:last-child) {
14422
14436
  border-right: 1px solid #fafafa;
14423
14437
  }
14424
- `,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`
14438
+ `,ob=[{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"}]}]}],ib=b.html`
14425
14439
  <div class="row">
14426
14440
  <div
14427
14441
  class="preview"
@@ -14433,19 +14447,19 @@
14433
14447
  ${(e,a)=>f[e.name].getValueFor(a.parentContext.parentContext.parent.provider).toColorString().toUpperCase()}
14434
14448
  </div>
14435
14449
  </div>
14436
- `,ob=b.html`
14450
+ `,nb=b.html`
14437
14451
  <div class="container" ${(0,b.ref)("provider")}>
14438
- ${(0,b.repeat)((()=>rb),b.html`
14452
+ ${(0,b.repeat)((()=>ob),b.html`
14439
14453
  <div class="column">
14440
14454
  <h3 class="header-title">${e=>e.title}</h3>
14441
14455
  ${(0,b.repeat)((e=>e.subcategories),b.html`
14442
14456
  <h4>${e=>e.title}</h4>
14443
- ${(0,b.repeat)((e=>e.tokens),tb)}
14457
+ ${(0,b.repeat)((e=>e.tokens),ib)}
14444
14458
  `)}
14445
14459
  </div>
14446
14460
  `)}
14447
14461
  </div>
14448
- `;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`
14462
+ `;let lb=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Am.STYLES_CHANGED,(e=>{const a=e.detail;Hm(a,this.provider)}))}};(0,Dm.__decorate)([b.observable],lb.prototype,"provider",void 0),lb=(0,Dm.__decorate)([(0,b.customElement)({name:"color-tokens",template:nb,styles:tb})],lb);const sb=b.css`
14449
14463
  table {
14450
14464
  background: var(--neutral-fill-rest);
14451
14465
  color: var(--neutral-foreground-rest);
@@ -14454,7 +14468,7 @@
14454
14468
  th {
14455
14469
  text-align: left;
14456
14470
  }
14457
- `,lb=b.html`
14471
+ `,gb=b.html`
14458
14472
  <table ${(0,b.ref)("provider")} style="font-family: ${()=>f.bodyFont.createCSS()}">
14459
14473
  <colgroup>
14460
14474
  <col style="width: 15%;" />
@@ -14682,7 +14696,7 @@
14682
14696
  </tr>
14683
14697
  </tbody>
14684
14698
  </table>
14685
- `;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`
14699
+ `;let db=class extends b.FASTElement{connectedCallback(){super.connectedCallback(),document.body.addEventListener(Am.STYLES_CHANGED,(e=>{const a=e.detail;Hm(a,this.provider)}))}};(0,Dm.__decorate)([b.observable],db.prototype,"provider",void 0),db=(0,Dm.__decorate)([(0,b.customElement)({name:"typography-tokens",template:gb,styles:sb})],db);const cb=b.css`
14686
14700
  :host {
14687
14701
  background: var(--fill-color);
14688
14702
  color: var(--neutral-foreground-rest);
@@ -14698,7 +14712,7 @@
14698
14712
  margin-top: 24px;
14699
14713
  padding: 0 calc((6 + (var(--design-unit) * 2 * var(--density))) * 1px);
14700
14714
  }
14701
- `,db=b.html`
14715
+ `,pb=b.html`
14702
14716
  <template>
14703
14717
  <alpha-tabs>
14704
14718
  <alpha-tab slot="tab">Components</alpha-tab>
@@ -14727,7 +14741,7 @@
14727
14741
  </alpha-tab-panel>
14728
14742
  </alpha-tabs>
14729
14743
  </template>
14730
- `;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`
14744
+ `;let ub=class extends b.FASTElement{};ub=(0,Dm.__decorate)([(0,b.customElement)({name:"design-system-preview",template:pb,styles:cb})],ub);const hb={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"}]}]}}]},mb={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"]}}},bb={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"}]}}}]},vb={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"]}}}},fb=b.css`
14731
14745
  :host {
14732
14746
  background: var(--fill-color);
14733
14747
  color: var(--neutral-foreground-rest);
@@ -14758,7 +14772,7 @@
14758
14772
  zero-design-system-provider {
14759
14773
  display: inline;
14760
14774
  }
14761
- `,vb=b.html`
14775
+ `,wb=b.html`
14762
14776
  ${e=>(e=>b.html`
14763
14777
  <template>
14764
14778
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14782,7 +14796,7 @@
14782
14796
  </${e}-design-system-provider>
14783
14797
  </template>
14784
14798
  `)(e.prefix)}
14785
- `;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`
14799
+ `;let yb=class extends b.FASTElement{constructor(){super(...arguments),this.jsonSchema=mb,this.uischema=hb,this.jsonSchemaArray=vb,this.uiSchemaArray=bb,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(Am.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Am.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{f.bodyFont.withDefault(Om)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{Hm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix}};(0,Dm.__decorate)([b.observable],yb.prototype,"jsonSchema",void 0),(0,Dm.__decorate)([b.observable],yb.prototype,"uischema",void 0),(0,Dm.__decorate)([b.observable],yb.prototype,"jsonSchemaArray",void 0),(0,Dm.__decorate)([b.observable],yb.prototype,"uiSchemaArray",void 0),(0,Dm.__decorate)([b.attr],yb.prototype,"prefix",void 0),(0,Dm.__decorate)([b.observable],yb.prototype,"provider",void 0),(0,Dm.__decorate)([b.observable],yb.prototype,"editedEntity",void 0),(0,Dm.__decorate)([b.observable],yb.prototype,"editedEntityArray",void 0),yb=(0,Dm.__decorate)([(0,b.customElement)({name:"preview-form",template:wb,styles:fb})],yb);const xb=[{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}],kb=b.css`
14786
14800
  :host {
14787
14801
  background: var(--fill-color);
14788
14802
  color: var(--neutral-foreground-rest);
@@ -14797,7 +14811,7 @@
14797
14811
  .grid-height {
14798
14812
  height: 100%;
14799
14813
  }
14800
- `,xb=b.html`
14814
+ `,zb=b.html`
14801
14815
  ${e=>(e=>b.html`
14802
14816
  <template>
14803
14817
  <${e}-design-system-provider ${(0,b.ref)("provider")}>
@@ -14826,5 +14840,5 @@
14826
14840
  </${e}-design-system-provider>
14827
14841
  </template>
14828
14842
  `)(e.prefix)}
14829
- `;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)}}]);
14830
- //# sourceMappingURL=427.99d8ef6978744e5767171733d5d3cd12.js.map
14843
+ `;let Sb=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[...xb],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:`${il(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(Am.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Am.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault(Om)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{Hm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Dm.__decorate)([b.observable],Sb.prototype,"grid",void 0),(0,Dm.__decorate)([b.attr],Sb.prototype,"prefix",void 0),(0,Dm.__decorate)([b.observable],Sb.prototype,"provider",void 0),(0,Dm.__decorate)([b.observable],Sb.prototype,"rowData",void 0),(0,Dm.__decorate)([b.observable],Sb.prototype,"columnDefs",void 0),(0,Dm.__decorate)([b.observable],Sb.prototype,"gridOptions",void 0),Sb=(0,Dm.__decorate)([(0,b.customElement)({name:"preview-grid",template:zb,styles:kb})],Sb),((e,a="zero")=>{e&&(0,V.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,V.createDesignSystemProxy)(r)})().register(Ki,pg),(0,l.provideDesignSystem)().register(l.baseComponents,ug),((e,a="rapid")=>{e&&(0,V.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,V.createDesignSystemProxy)(r)})().register(Hh,$m)}}]);
14844
+ //# sourceMappingURL=264.53768274c8b159ccf8c685e8e8d88c10.js.map