@genesislcap/design-system-configurator 14.210.1 → 14.210.2

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([[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(81322),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(43931),s=r(24636),g=r(43543),d=r(17914);const c=e=>{var a,r,t,o,i,n,l,s,g;return g=class extends e{constructor(...e){super(e),a.add(this),r.set(this,{_key:"dom"}),t.set(this,""),o.set(this,!1),i.set(this,void 0),n.set(this,!1)}cloneNode(e){const a=this.deepClone();return e&&Array.from(this.childNodes).forEach((e=>{a.appendChild(e.cloneNode(!0))})),a}deepClone(){const e=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((a=>e.setAttribute(a,this.getAttribute(a)))),e}get shouldRunDisconnect(){return!!(0,d.__classPrivateFieldGet)(this,n,"f")||("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key||"foundation-layout-cache"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,"disconnect")))}get shouldRunConnect(){if((0,d.__classPrivateFieldGet)(this,n,"f"))return!0;if("dom"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!0;if("foundation-layout-cache"===(0,d.__classPrivateFieldGet)(this,r,"f")._key)return!1;let e="reconnect";return!1===(0,d.__classPrivateFieldGet)(this,o,"f")&&((0,d.__classPrivateFieldSet)(this,o,!0,"f"),e="connect"),!((0,d.__classPrivateFieldGet)(this,r,"f").dragging||!(0,d.__classPrivateFieldGet)(this,r,"f").hasFirstLoaded||(0,d.__classPrivateFieldGet)(this,a,"m",l).call(this,e))}connectedCallback(){super.connectedCallback(),"foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key&&(0,d.__classPrivateFieldSet)(this,r,(0,d.__classPrivateFieldGet)(this,a,"m",s).call(this,this),"f")}},r=new WeakMap,t=new WeakMap,o=new WeakMap,i=new WeakMap,n=new WeakMap,a=new WeakSet,l=function(e){var a,o;if("foundation-layout"!==(0,d.__classPrivateFieldGet)(this,r,"f")._key)throw new Error("LifecycleMixin: should not be checking a token change if container not in the layout");const l=(0,d.__classPrivateFieldGet)(this,t,"f")!==(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken;let s=!1;return"connect"===e?(0,d.__classPrivateFieldSet)(this,t,null!==(a=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==a?a:"","f"):"disconnect"===e?(s=l,(0,d.__classPrivateFieldSet)(this,i,setTimeout((()=>{(0,d.__classPrivateFieldSet)(this,n,s,"f"),(0,d.__classPrivateFieldGet)(this,n,"f")&&this.disconnectedCallback()}),1e4),"f")):"reconnect"===e&&(s=l,(0,d.__classPrivateFieldSet)(this,t,null!==(o=(0,d.__classPrivateFieldGet)(this,r,"f").lifecycleUpdateToken)&&void 0!==o?o:"","f"),clearTimeout((0,d.__classPrivateFieldGet)(this,i,"f"))),s},s=function e(r){var t;if(!0===r.getRootNode()[p])return{_key:"foundation-layout-cache"};if(r.getRootNode()instanceof Document||!(null===(t=r.getRootNode())||void 0===t?void 0:t.host))return{_key:"dom"};const o=r.getRootNode().host;if("FoundationLayoutMain"===o.class){const e=o;return e._key="foundation-layout",e}return(0,d.__classPrivateFieldGet)(this,a,"m",e).call(this,o)},g},p=Symbol("layout-cache-document");var u=r(83453),h=r.n(u),m=r(60496),b=r(57418),v=r(34387),f=r(44405),w=r(85090);const y=b.css`
2
2
  :host {
3
3
  border: calc(${f.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -56,7 +56,7 @@
56
56
  background: ${w.A.Canvas};
57
57
  border-color: ${w.A.CanvasText};
58
58
  }
59
- `)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(10016);const z=(0,k.createLogger)("foundation-form"),S=b.html`
59
+ `)),x={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"};var k=r(29769);const z=(0,k.createLogger)("foundation-form"),S=b.html`
60
60
  <template>
61
61
  ${(0,b.when)((e=>!1),b.html`
62
62
  <rapid-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
@@ -328,7 +328,7 @@
328
328
  </control-wrapper>
329
329
  </template>
330
330
  `)(e.prefix)}
331
- `,tester:(0,m.Hc7)(3,U),mapper:m.kOB};var V=r(41552);const Y=e=>a=>{if(!a||!(0,m.c0N)(a))return!1;const r=a.options;return!(!r||!r[e])},Q=(0,m.Uo6)(Y("allOptionsResourceName"),(0,m.or)((0,m.f4S)((e=>(0,m.dfR)(e,"array"))),(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.dfR)(e,"array")))))));V.MultiselectDatasource;const W={renderer:b.html`
331
+ `,tester:(0,m.Hc7)(3,U),mapper:m.kOB};var V=r(68329);const Y=e=>a=>{if(!a||!(0,m.c0N)(a))return!1;const r=a.options;return!(!r||!r[e])},Q=(0,m.Uo6)(Y("allOptionsResourceName"),(0,m.or)((0,m.f4S)((e=>(0,m.dfR)(e,"array"))),(0,m.f4S)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,m.dfR)(e,"array")))))));V.MultiselectDatasource;const W={renderer:b.html`
332
332
  ${e=>((e="zero")=>b.html`
333
333
  <template>
334
334
  <control-wrapper
@@ -651,7 +651,7 @@
651
651
  </control-wrapper>
652
652
  </template>
653
653
  `)(e.prefix)}
654
- `,Se={renderer:ze,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},Ce=[{renderer:ze,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},Se,H,ye,se,ge,de,ue,me,pe,he,fe,W,oe,q,ee,ie];let $e=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=Ce,this.additionalRenderers=[],this.mergedRenderers=Ce,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,s.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(h())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,z.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}renderersChanged(){this.updateMergedRenderers()}additionalRenderersChanged(){this.updateMergedRenderers()}updateMergedRenderers(){const{renderers:e=[],additionalRenderers:a=[]}=this;this.mergedRenderers=[...e,...a]}_submit(){return(0,s.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield b.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(z.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}deepClone(){const e=super.deepClone();try{e.uischema=structuredClone(this.uischema),e.jsonSchema=structuredClone(this.jsonSchema)}catch(e){z.error("Error cloning form",e)}return e}submitPart(e){this.submitted=!0}onChange(e){z.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors,e.detail.additionalErrors.length&&(this.errors=[...this.errors,...e.detail.additionalErrors]))}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,s.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],$e.prototype,"prefix",void 0),(0,s.__decorate)([b.attr],$e.prototype,"resourceName",void 0),(0,s.__decorate)([b.observable],$e.prototype,"uischema",void 0),(0,s.__decorate)([b.observable],$e.prototype,"renderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"additionalRenderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"mergedRenderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"jsonSchema",void 0),(0,s.__decorate)([g.dm],$e.prototype,"connect",void 0),(0,s.__decorate)([b.observable],$e.prototype,"data",void 0),(0,s.__decorate)([b.observable],$e.prototype,"submitting",void 0),(0,s.__decorate)([b.observable],$e.prototype,"submitted",void 0),(0,s.__decorate)([(0,b.attr)({mode:"boolean"})],$e.prototype,"readonly",void 0),(0,s.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],$e.prototype,"hideSubmit",void 0),(0,s.__decorate)([b.volatile],$e.prototype,"isSubmitHidden",null),$e=(0,s.__decorate)([(0,b.customElement)({name:"foundation-form",template:_,styles:y})],$e);var Ae,De,Te,Oe,Fe,Re=r(4273);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79",e.warning="#FFB660",e.buy="#7ACC79",e.sell="#F14376"}(Ae||(Ae={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(De||(De={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(Te||(Te={})),function(e){e.grey="#7c909b"}(Oe||(Oe={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(Fe||(Fe={}));const{create:Ne}=v.DesignToken,Me=(0,Re.parseColorHexRGB)(Ae.error),Le=f.SwatchRGB.create(Me.r,Me.g,Me.b),Ie=Ne("error-color").withDefault(Le),Ee=(0,Re.parseColorHexRGB)(Ae.success),je=f.SwatchRGB.create(Ee.r,Ee.g,Ee.b),Pe=Ne("success-color").withDefault(je),Be=(0,Re.parseColorHexRGB)(Ae.warning),Ge=f.SwatchRGB.create(Be.r,Be.g,Be.b),_e=Ne("warning-color").withDefault(Ge),Ue=(0,Re.parseColorHexRGB)(Ae.buy),He=f.SwatchRGB.create(Ue.r,Ue.g,Ue.b),Ve=Ne("buy-color").withDefault(He),Ye=(0,Re.parseColorHexRGB)(Ae.sell),Qe=f.SwatchRGB.create(Ye.r,Ye.g,Ye.b),We=Ne("sell-color").withDefault(Qe),qe=(0,V.paletteFromHex)(De.blue),Je=(0,V.paletteFromHex)(Oe.grey),Ze=f.StandardLuminance.DarkMode;var Ke=r(85109);const Xe=Ke.O.ltr,ea=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),aa=4,ra=f.density.getValueFor(f.density.appliedTo[0]),ta=4;var oa=r(80273);const ia=()=>{(0,oa.WP)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},na='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',la=(e=oa.zz.Normal,a=oa.IT.Regular)=>(0,oa.f4)(na,e,a),sa=na,ga=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),da=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),ca={design_tokens:{color:{accent:{$value:qe.source.toColorString(),$type:"color"},neutral:{$value:Je.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:sa,$type:"fontFamily"}},typography:{baseFontSize:{$value:ga,$type:"dimension"},baseLineHeight:{$value:da,$type:"dimension"}},mode:{luminance:{$value:Ze,$type:"number"}},style:{density:{$value:ra,$type:"number"},borderRadius:{$value:aa,$type:"number"},strokeWidth:{$value:ea,$type:"number"}},space:{designUnit:{$value:ta,$type:"number"}}}};class pa extends V.Accordion{}const ua=pa.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,V.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
654
+ `,Se={renderer:ze,tester:(0,m.Hc7)(2,m.Nyt),mapper:m.kOB},Ce=[{renderer:ze,tester:(0,m.Hc7)(1,m.c0N),mapper:m.kOB},Se,H,ye,se,ge,de,ue,me,pe,he,fe,W,oe,q,ee,ie];let $e=class extends(c(v.FoundationElement)){constructor(){super(...arguments),this.prefix="zero",this.renderers=Ce,this.additionalRenderers=[],this.mergedRenderers=Ce,this.errors=[],this.data={}}resourceNameChanged(){var e;return(0,s.__awaiter)(this,void 0,void 0,(function*(){if(this.jsonSchema=void 0,this.resourceName){const a=yield this.connect.getJSONSchema(this.resourceName);if(!a)return;const r=new(h())(a.INBOUND);this.jsonSchema=null===(e=(yield r.resolve()).properties)||void 0===e?void 0:e.DETAILS}}))}removeDataProperties(){if(!this.jsonSchema||!this.data)return;const e=Object.keys(this.jsonSchema.properties);let a=0;return Object.keys(this.data).forEach((r=>{e.includes(r)||(delete this.data[r],a+=1,z.debug("Removing key ",r,"from provided data because it is not part of the payload"))})),a>0&&(this.data=Object.assign({},this.data)),a>0}renderersChanged(){this.updateMergedRenderers()}additionalRenderersChanged(){this.updateMergedRenderers()}updateMergedRenderers(){const{renderers:e=[],additionalRenderers:a=[]}=this;this.mergedRenderers=[...e,...a]}_submit(){return(0,s.__awaiter)(this,void 0,void 0,(function*(){if(this.submitting)return;this.removeDataProperties()&&(yield b.DOM.nextUpdate()),this.submitted=!0;const e=Object.assign({},this.data);if(z.debug({payload:e,errors:this.errors}),this.$emit("submit",{payload:e,errors:this.errors}),0!==Object.entries(e).length&&!this.errors.length&&this.resourceName){this.submitting=!0;const a=yield this.connect.commitEvent(this.resourceName,{DETAILS:e});this.submitting=!1,a.ERROR?this.$emit("submit-failure",{payload:e,errors:a.ERROR}):this.$emit("submit-success",{payload:e})}}))}get isSubmitHidden(){return!this.readonly&&!this.hideSubmit}deepClone(){const e=super.deepClone();try{e.uischema=structuredClone(this.uischema),e.jsonSchema=structuredClone(this.jsonSchema)}catch(e){z.error("Error cloning form",e)}return e}submitPart(e){this.submitted=!0}onChange(e){z.debug({event:e}),e.detail&&(this.data=e.detail.data,this.errors=e.detail.errors,e.detail.additionalErrors.length&&(this.errors=[...this.errors,...e.detail.additionalErrors]))}disconnectedCallback(){super.disconnectedCallback(),this.reset()}reset(e=!0){this.submitted=!1,e&&(this.data={})}};(0,s.__decorate)([(0,b.attr)({attribute:"design-system-prefix"})],$e.prototype,"prefix",void 0),(0,s.__decorate)([b.attr],$e.prototype,"resourceName",void 0),(0,s.__decorate)([b.observable],$e.prototype,"uischema",void 0),(0,s.__decorate)([b.observable],$e.prototype,"renderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"additionalRenderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"mergedRenderers",void 0),(0,s.__decorate)([b.observable],$e.prototype,"jsonSchema",void 0),(0,s.__decorate)([g.dm],$e.prototype,"connect",void 0),(0,s.__decorate)([b.observable],$e.prototype,"data",void 0),(0,s.__decorate)([b.observable],$e.prototype,"submitting",void 0),(0,s.__decorate)([b.observable],$e.prototype,"submitted",void 0),(0,s.__decorate)([(0,b.attr)({mode:"boolean"})],$e.prototype,"readonly",void 0),(0,s.__decorate)([(0,b.attr)({attribute:"hide-submit-button",mode:"boolean"})],$e.prototype,"hideSubmit",void 0),(0,s.__decorate)([b.volatile],$e.prototype,"isSubmitHidden",null),$e=(0,s.__decorate)([(0,b.customElement)({name:"foundation-form",template:_,styles:y})],$e);var Ae,De,Te,Oe,Fe,Re=r(4273);!function(e){e.black="#000000",e.white="#FFFFFF",e.almostWhite="#F1F1F1",e.lightGrey="#2E3339",e.mediumGrey="#2C2F33",e.darkGrey="#1F2126",e.darkerGrey="#141519",e.error="#F9644D",e.success="#7ACC79",e.warning="#FFB660",e.buy="#7ACC79",e.sell="#F14376"}(Ae||(Ae={})),function(e){e.blue="#0eafe2",e.purple="#654df9"}(De||(De={})),function(e){e.orange="#ff6d52",e.teal="#08c3a5"}(Te||(Te={})),function(e){e.grey="#7c909b"}(Oe||(Oe={})),function(e){e.chartPink="#fb8176",e.longGreen="#7acc79",e.shortPink="#f14376",e.warningYellow="#fcb35f",e.green="#44c14c",e.lightGreen="#69cd70",e.red="#ef4d28",e.lightRed="#ee6588",e.dodgerBlue="#33a9ff",e.lightDodgerBlue="#5cbaff",e.violet="#9b1e74",e.lightViolet="#b528af",e.white="#f9f9f9",e.silver="#c1c1c1",e.salomie="#ffdf94",e.lightSalomie="#ccb276",e.melon="#ffbbb2",e.lightMelon="#cc968e",e.portage="#8a99f5",e.lightPortage="#adb8f8",e.ice="#97f4eb",e.lightIce="#6befe2"}(Fe||(Fe={}));const{create:Ne}=v.DesignToken,Me=(0,Re.parseColorHexRGB)(Ae.error),Le=f.SwatchRGB.create(Me.r,Me.g,Me.b),Ie=Ne("error-color").withDefault(Le),Ee=(0,Re.parseColorHexRGB)(Ae.success),je=f.SwatchRGB.create(Ee.r,Ee.g,Ee.b),Pe=Ne("success-color").withDefault(je),Be=(0,Re.parseColorHexRGB)(Ae.warning),Ge=f.SwatchRGB.create(Be.r,Be.g,Be.b),_e=Ne("warning-color").withDefault(Ge),Ue=(0,Re.parseColorHexRGB)(Ae.buy),He=f.SwatchRGB.create(Ue.r,Ue.g,Ue.b),Ve=Ne("buy-color").withDefault(He),Ye=(0,Re.parseColorHexRGB)(Ae.sell),Qe=f.SwatchRGB.create(Ye.r,Ye.g,Ye.b),We=Ne("sell-color").withDefault(Qe),qe=(0,V.paletteFromHex)(De.blue),Je=(0,V.paletteFromHex)(Oe.grey),Ze=f.StandardLuminance.DarkMode;var Ke=r(85109);const Xe=Ke.O.ltr,ea=f.strokeWidth.getValueFor(f.strokeWidth.appliedTo[0]),aa=4,ra=f.density.getValueFor(f.density.appliedTo[0]),ta=4;var oa=r(80273);const ia=()=>{(0,oa.WP)("\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n","roboto-font-faces")},na='Roboto, "Segoe UI", Arial, Helvetica, sans-serif',la=(e=oa.zz.Normal,a=oa.IT.Regular)=>(0,oa.f4)(na,e,a),sa=na,ga=f.typeRampBaseFontSize.getValueFor(f.typeRampBaseFontSize.appliedTo[0]),da=f.typeRampBaseLineHeight.getValueFor(f.typeRampBaseLineHeight.appliedTo[0]),ca={design_tokens:{color:{accent:{$value:qe.source.toColorString(),$type:"color"},neutral:{$value:Je.source.toColorString(),$type:"color"}},fontFamily:{bodyFont:{$value:sa,$type:"fontFamily"}},typography:{baseFontSize:{$value:ga,$type:"dimension"},baseLineHeight:{$value:da,$type:"dimension"}},mode:{luminance:{$value:Ze,$type:"number"}},style:{density:{$value:ra,$type:"number"},borderRadius:{$value:aa,$type:"number"},strokeWidth:{$value:ea,$type:"number"}},space:{designUnit:{$value:ta,$type:"number"}}}};class pa extends V.Accordion{}const ua=pa.compose(Object.assign({baseName:"accordion",template:(e,a)=>(0,V.foundationAccordionTemplate)(e,a),styles:(e,a)=>b.css`
655
655
  ${(0,V.foundationAccordionStyles)(e,a)}
656
656
  `,shadowOptions:V.foundationAccordionShadowOptions},V.defaultAccordionConfig));class ha extends V.AccordionItem{}const ma=ha.compose(Object.assign({baseName:"accordion-item",template:(e,a)=>(0,V.foundationAccordionItemTemplate)(e,a),styles:(e,a)=>b.css`
657
657
  ${(0,V.foundationAccordionItemStyles)(e,a)};
@@ -14841,4 +14841,4 @@
14841
14841
  </template>
14842
14842
  `)(e.prefix)}
14843
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
14844
+ //# sourceMappingURL=264.e94421082a59da89224dbad1546ea0bf.js.map